@ansible/ansible-ui-framework 2.4.2576 → 2.4.2577

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,476 @@
1
+ var VC=Object.defineProperty;var qC=($s,ss,ca)=>ss in $s?VC($s,ss,{enumerable:!0,configurable:!0,writable:!0,value:ca}):$s[ss]=ca;var Rs=($s,ss,ca)=>qC($s,typeof ss!="symbol"?ss+"":ss,ca);(function(){"use strict";var Pg,Bg,Mg,Ig,li,lr;function $s(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(e)}class ss{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?fa.isErrorNoTelemetry(t)?new fa(t.message+`
2
+
3
+ `+t.stack):new Error(t.message+`
4
+
5
+ `+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const ca=new ss;function ho(e){A1(e)||ca.onUnexpectedError(e)}function Wp(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:fa.isErrorNoTelemetry(e)}}return e}const Hl="Canceled";function A1(e){return e instanceof C1?!0:e instanceof Error&&e.name===Hl&&e.message===Hl}class C1 extends Error{constructor(){super(Hl),this.name=this.message}}class fa extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof fa)return t;const n=new fa;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class Di extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,Di.prototype)}}function x1(e,t){const n=this;let r=!1,i;return function(){return r||(r=!0,i=e.apply(n,arguments)),i}}var ru;(function(e){function t(Fe){return Fe&&typeof Fe=="object"&&typeof Fe[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*i(Fe){yield Fe}e.single=i;function s(Fe){return t(Fe)?Fe:i(Fe)}e.wrap=s;function a(Fe){return Fe||n}e.from=a;function*o(Fe){for(let oe=Fe.length-1;oe>=0;oe--)yield Fe[oe]}e.reverse=o;function u(Fe){return!Fe||Fe[Symbol.iterator]().next().done===!0}e.isEmpty=u;function l(Fe){return Fe[Symbol.iterator]().next().value}e.first=l;function b(Fe,oe){let ve=0;for(const We of Fe)if(oe(We,ve++))return!0;return!1}e.some=b;function c(Fe,oe){for(const ve of Fe)if(oe(ve))return ve}e.find=c;function*_(Fe,oe){for(const ve of Fe)oe(ve)&&(yield ve)}e.filter=_;function*T(Fe,oe){let ve=0;for(const We of Fe)yield oe(We,ve++)}e.map=T;function*ee(Fe,oe){let ve=0;for(const We of Fe)yield*oe(We,ve++)}e.flatMap=ee;function*X(...Fe){for(const oe of Fe)yield*oe}e.concat=X;function L(Fe,oe,ve){let We=ve;for(const ze of Fe)We=oe(We,ze);return We}e.reduce=L;function*he(Fe,oe,ve=Fe.length){for(oe<0&&(oe+=Fe.length),ve<0?ve+=Fe.length:ve>Fe.length&&(ve=Fe.length);oe<ve;oe++)yield Fe[oe]}e.slice=he;function Te(Fe,oe=Number.POSITIVE_INFINITY){const ve=[];if(oe===0)return[ve,Fe];const We=Fe[Symbol.iterator]();for(let ze=0;ze<oe;ze++){const Ie=We.next();if(Ie.done)return[ve,e.empty()];ve.push(Ie.value)}return[ve,{[Symbol.iterator](){return We}}]}e.consume=Te;async function Pe(Fe){const oe=[];for await(const ve of Fe)oe.push(ve);return Promise.resolve(oe)}e.asyncToArray=Pe})(ru||(ru={}));function UC(e){return e}function WC(e,t){}function Gp(e){if(ru.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(r){t.push(r)}if(t.length===1)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function S1(...e){return iu(()=>Gp(e))}function iu(e){return{dispose:x1(()=>{e()})}}const fl=class fl{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Gp(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?fl.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}deleteAndLeak(t){t&&this._toDispose.has(t)&&this._toDispose.delete(t)}};fl.DISABLE_DISPOSED_WARNING=!1;let mo=fl;const Jf=class Jf{constructor(){this._store=new mo,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};Jf.None=Object.freeze({dispose(){}});let pa=Jf;const Ja=class Ja{constructor(t){this.element=t,this.next=Ja.Undefined,this.prev=Ja.Undefined}};Ja.Undefined=new Ja(void 0);let Fr=Ja;class w1{constructor(){this._first=Fr.Undefined,this._last=Fr.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Fr.Undefined}clear(){let t=this._first;for(;t!==Fr.Undefined;){const n=t.next;t.prev=Fr.Undefined,t.next=Fr.Undefined,t=n}this._first=Fr.Undefined,this._last=Fr.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new Fr(t);if(this._first===Fr.Undefined)this._first=r,this._last=r;else if(n){const s=this._last;this._last=r,r.prev=s,s.next=r}else{const s=this._first;this._first=r,r.next=s,s.prev=r}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(r))}}shift(){if(this._first!==Fr.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==Fr.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==Fr.Undefined&&t.next!==Fr.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===Fr.Undefined&&t.next===Fr.Undefined?(this._first=Fr.Undefined,this._last=Fr.Undefined):t.next===Fr.Undefined?(this._last=this._last.prev,this._last.next=Fr.Undefined):t.prev===Fr.Undefined&&(this._first=this._first.next,this._first.prev=Fr.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==Fr.Undefined;)yield t.element,t=t.next}}const F1=globalThis.performance&&typeof globalThis.performance.now=="function";class su{static create(t){return new su(t)}constructor(t){this._now=F1&&t===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var au;(function(e){e.None=()=>pa.None;function t(ct,Xe){return _(ct,()=>{},0,void 0,!0,void 0,Xe)}e.defer=t;function n(ct){return(Xe,kt=null,Bt)=>{let Gt=!1,hn;return hn=ct(_n=>{if(!Gt)return hn?hn.dispose():Gt=!0,Xe.call(kt,_n)},null,Bt),Gt&&hn.dispose(),hn}}e.once=n;function r(ct,Xe){return e.once(e.filter(ct,Xe))}e.onceIf=r;function i(ct,Xe,kt){return b((Bt,Gt=null,hn)=>ct(_n=>Bt.call(Gt,Xe(_n)),null,hn),kt)}e.map=i;function s(ct,Xe,kt){return b((Bt,Gt=null,hn)=>ct(_n=>{Xe(_n),Bt.call(Gt,_n)},null,hn),kt)}e.forEach=s;function a(ct,Xe,kt){return b((Bt,Gt=null,hn)=>ct(_n=>Xe(_n)&&Bt.call(Gt,_n),null,hn),kt)}e.filter=a;function o(ct){return ct}e.signal=o;function u(...ct){return(Xe,kt=null,Bt)=>{const Gt=S1(...ct.map(hn=>hn(_n=>Xe.call(kt,_n))));return c(Gt,Bt)}}e.any=u;function l(ct,Xe,kt,Bt){let Gt=kt;return i(ct,hn=>(Gt=Xe(Gt,hn),Gt),Bt)}e.reduce=l;function b(ct,Xe){let kt;const Bt={onWillAddFirstListener(){kt=ct(Gt.fire,Gt)},onDidRemoveLastListener(){kt==null||kt.dispose()}},Gt=new Ni(Bt);return Xe==null||Xe.add(Gt),Gt.event}function c(ct,Xe){return Xe instanceof Array?Xe.push(ct):Xe&&Xe.add(ct),ct}function _(ct,Xe,kt=100,Bt=!1,Gt=!1,hn,_n){let jn,Dr,ts,ns=0,Gi;const Qa={leakWarningThreshold:hn,onWillAddFirstListener(){jn=ct(Os=>{ns++,Dr=Xe(Dr,Os),Bt&&!ts&&(gs.fire(Dr),Dr=void 0),Gi=()=>{const Ci=Dr;Dr=void 0,ts=void 0,(!Bt||ns>1)&&gs.fire(Ci),ns=0},typeof kt=="number"?(clearTimeout(ts),ts=setTimeout(Gi,kt)):ts===void 0&&(ts=0,queueMicrotask(Gi))})},onWillRemoveListener(){Gt&&ns>0&&(Gi==null||Gi())},onDidRemoveLastListener(){Gi=void 0,jn.dispose()}},gs=new Ni(Qa);return _n==null||_n.add(gs),gs.event}e.debounce=_;function T(ct,Xe=0,kt){return e.debounce(ct,(Bt,Gt)=>Bt?(Bt.push(Gt),Bt):[Gt],Xe,void 0,!0,void 0,kt)}e.accumulate=T;function ee(ct,Xe=(Bt,Gt)=>Bt===Gt,kt){let Bt=!0,Gt;return a(ct,hn=>{const _n=Bt||!Xe(hn,Gt);return Bt=!1,Gt=hn,_n},kt)}e.latch=ee;function X(ct,Xe,kt){return[e.filter(ct,Xe,kt),e.filter(ct,Bt=>!Xe(Bt),kt)]}e.split=X;function L(ct,Xe=!1,kt=[],Bt){let Gt=kt.slice(),hn=ct(Dr=>{Gt?Gt.push(Dr):jn.fire(Dr)});Bt&&Bt.add(hn);const _n=()=>{Gt==null||Gt.forEach(Dr=>jn.fire(Dr)),Gt=null},jn=new Ni({onWillAddFirstListener(){hn||(hn=ct(Dr=>jn.fire(Dr)),Bt&&Bt.add(hn))},onDidAddFirstListener(){Gt&&(Xe?setTimeout(_n):_n())},onDidRemoveLastListener(){hn&&hn.dispose(),hn=null}});return Bt&&Bt.add(jn),jn.event}e.buffer=L;function he(ct,Xe){return(Bt,Gt,hn)=>{const _n=Xe(new Pe);return ct(function(jn){const Dr=_n.evaluate(jn);Dr!==Te&&Bt.call(Gt,Dr)},void 0,hn)}}e.chain=he;const Te=Symbol("HaltChainable");class Pe{constructor(){this.steps=[]}map(Xe){return this.steps.push(Xe),this}forEach(Xe){return this.steps.push(kt=>(Xe(kt),kt)),this}filter(Xe){return this.steps.push(kt=>Xe(kt)?kt:Te),this}reduce(Xe,kt){let Bt=kt;return this.steps.push(Gt=>(Bt=Xe(Bt,Gt),Bt)),this}latch(Xe=(kt,Bt)=>kt===Bt){let kt=!0,Bt;return this.steps.push(Gt=>{const hn=kt||!Xe(Gt,Bt);return kt=!1,Bt=Gt,hn?Gt:Te}),this}evaluate(Xe){for(const kt of this.steps)if(Xe=kt(Xe),Xe===Te)break;return Xe}}function Fe(ct,Xe,kt=Bt=>Bt){const Bt=(...jn)=>_n.fire(kt(...jn)),Gt=()=>ct.on(Xe,Bt),hn=()=>ct.removeListener(Xe,Bt),_n=new Ni({onWillAddFirstListener:Gt,onDidRemoveLastListener:hn});return _n.event}e.fromNodeEventEmitter=Fe;function oe(ct,Xe,kt=Bt=>Bt){const Bt=(...jn)=>_n.fire(kt(...jn)),Gt=()=>ct.addEventListener(Xe,Bt),hn=()=>ct.removeEventListener(Xe,Bt),_n=new Ni({onWillAddFirstListener:Gt,onDidRemoveLastListener:hn});return _n.event}e.fromDOMEventEmitter=oe;function ve(ct){return new Promise(Xe=>n(ct)(Xe))}e.toPromise=ve;function We(ct){const Xe=new Ni;return ct.then(kt=>{Xe.fire(kt)},()=>{Xe.fire(void 0)}).finally(()=>{Xe.dispose()}),Xe.event}e.fromPromise=We;function ze(ct,Xe){return ct(kt=>Xe.fire(kt))}e.forward=ze;function Ie(ct,Xe,kt){return Xe(kt),ct(Bt=>Xe(Bt))}e.runAndSubscribe=Ie;class Qe{constructor(Xe,kt){this._observable=Xe,this._counter=0,this._hasChanged=!1;const Bt={onWillAddFirstListener:()=>{Xe.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{Xe.removeObserver(this)}};this.emitter=new Ni(Bt),kt&&kt.add(this.emitter)}beginUpdate(Xe){this._counter++}handlePossibleChange(Xe){}handleChange(Xe,kt){this._hasChanged=!0}endUpdate(Xe){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Ke(ct,Xe){return new Qe(ct,Xe).emitter.event}e.fromObservable=Ke;function Ve(ct){return(Xe,kt,Bt)=>{let Gt=0,hn=!1;const _n={beginUpdate(){Gt++},endUpdate(){Gt--,Gt===0&&(ct.reportChanges(),hn&&(hn=!1,Xe.call(kt)))},handlePossibleChange(){},handleChange(){hn=!0}};ct.addObserver(_n),ct.reportChanges();const jn={dispose(){ct.removeObserver(_n)}};return Bt instanceof mo?Bt.add(jn):Array.isArray(Bt)&&Bt.push(jn),jn}}e.fromObservableLight=Ve})(au||(au={}));const Ya=class Ya{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${Ya._idPool++}`,Ya.all.add(this)}start(t){this._stopWatch=new su,this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};Ya.all=new Set,Ya._idPool=0;let zl=Ya,N1=-1;const pl=class pl{constructor(t,n,r=(pl._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=r,this._warnCountdown=0}dispose(){var t;(t=this._stacks)==null||t.clear()}check(t,n){const r=this.threshold;if(r<=0||n<r)return;this._stacks||(this._stacks=new Map);const i=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;const[s,a]=this.getMostFrequentStack(),o=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(o),console.warn(s);const u=new _1(o,s);this._errorHandler(u)}return()=>{const s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(const[r,i]of this._stacks)(!t||n<i)&&(t=[r,i],n=i);return t}};pl._idPool=1;let Xl=pl;class Ql{static create(){const t=new Error;return new Ql(t.stack??"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
6
+ `).slice(2).join(`
7
+ `))}}class _1 extends Error{constructor(t,n){super(t),this.name="ListenerLeakError",this.stack=n}}class T1 extends Error{constructor(t,n){super(t),this.name="ListenerRefusalError",this.stack=n}}class Kl{constructor(t){this.value=t}}const L1=2;class Ni{constructor(t){var n,r,i,s;this._size=0,this._options=t,this._leakageMon=(n=this._options)!=null&&n.leakWarningThreshold?new Xl((t==null?void 0:t.onListenerError)??ho,((r=this._options)==null?void 0:r.leakWarningThreshold)??N1):void 0,this._perfMon=(i=this._options)!=null&&i._profName?new zl(this._options._profName):void 0,this._deliveryQueue=(s=this._options)==null?void 0:s.deliveryQueue}dispose(){var t,n,r,i;this._disposed||(this._disposed=!0,((t=this._deliveryQueue)==null?void 0:t.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(r=(n=this._options)==null?void 0:n.onDidRemoveLastListener)==null||r.call(n),(i=this._leakageMon)==null||i.dispose())}get event(){return this._event??(this._event=(t,n,r)=>{var o,u,l,b,c;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const _=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(_);const T=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],ee=new T1(`${_}. HINT: Stack shows most frequent listener (${T[1]}-times)`,T[0]);return(((o=this._options)==null?void 0:o.onListenerError)||ho)(ee),pa.None}if(this._disposed)return pa.None;n&&(t=t.bind(n));const i=new Kl(t);let s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(i.stack=Ql.create(),s=this._leakageMon.check(i.stack,this._size+1)),this._listeners?this._listeners instanceof Kl?(this._deliveryQueue??(this._deliveryQueue=new k1),this._listeners=[this._listeners,i]):this._listeners.push(i):((l=(u=this._options)==null?void 0:u.onWillAddFirstListener)==null||l.call(u,this),this._listeners=i,(c=(b=this._options)==null?void 0:b.onDidAddFirstListener)==null||c.call(b,this)),this._size++;const a=iu(()=>{s==null||s(),this._removeListener(i)});return r instanceof mo?r.add(a):Array.isArray(r)&&r.push(a),a}),this._event}_removeListener(t){var s,a,o,u;if((a=(s=this._options)==null?void 0:s.onWillRemoveListener)==null||a.call(s,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(u=(o=this._options)==null?void 0:o.onDidRemoveLastListener)==null||u.call(o,this),this._size=0;return}const n=this._listeners,r=n.indexOf(t);if(r===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[r]=void 0;const i=this._deliveryQueue.current===this;if(this._size*L1<=n.length){let l=0;for(let b=0;b<n.length;b++)n[b]?n[l++]=n[b]:i&&(this._deliveryQueue.end--,l<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=l}}_deliver(t,n){var i;if(!t)return;const r=((i=this._options)==null?void 0:i.onListenerError)||ho;if(!r){t.value(n);return}try{t.value(n)}catch(s){r(s)}}_deliverQueue(t){const n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){var n,r,i,s;if((n=this._deliveryQueue)!=null&&n.current&&(this._deliverQueue(this._deliveryQueue),(r=this._perfMon)==null||r.stop()),(i=this._perfMon)==null||i.start(this._size),this._listeners)if(this._listeners instanceof Kl)this._deliver(this._listeners,t);else{const a=this._deliveryQueue;a.enqueue(this,t,this._listeners.length),this._deliverQueue(a)}(s=this._perfMon)==null||s.stop()}hasListeners(){return this._size>0}}class k1{constructor(){this.i=-1,this.end=0}enqueue(t,n,r){this.i=0,this.end=r,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function P1(){return globalThis._VSCODE_NLS_MESSAGES}function Jp(){return globalThis._VSCODE_NLS_LANGUAGE}const B1=Jp()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Yp(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(r,i)=>{const s=i[0],a=t[s];let o=r;return typeof a=="string"?o=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(o=String(a)),o}),B1&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function Cr(e,t,...n){return Yp(typeof e=="number"?M1(e,t):t,n)}function M1(e,t){var r;const n=(r=P1())==null?void 0:r[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}const da="en";let Zl=!1,ec=!1,tc=!1,Hp=!1,nc=!1,ou,rc=da,zp=da,I1,Oi;const as=globalThis;let Qr;typeof as.vscode<"u"&&typeof as.vscode.process<"u"?Qr=as.vscode.process:typeof process<"u"&&typeof((Pg=process==null?void 0:process.versions)==null?void 0:Pg.node)=="string"&&(Qr=process);const O1=typeof((Bg=Qr==null?void 0:Qr.versions)==null?void 0:Bg.electron)=="string"&&(Qr==null?void 0:Qr.type)==="renderer";if(typeof Qr=="object"){Zl=Qr.platform==="win32",ec=Qr.platform==="darwin",tc=Qr.platform==="linux",tc&&Qr.env.SNAP&&Qr.env.SNAP_REVISION,Qr.env.CI||Qr.env.BUILD_ARTIFACTSTAGINGDIRECTORY,ou=da,rc=da;const e=Qr.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);ou=t.userLocale,zp=t.osLocale,rc=t.resolvedLanguage||da,I1=(Mg=t.languagePack)==null?void 0:Mg.translationsConfigFile}catch{}Hp=!0}else typeof navigator=="object"&&!O1?(Oi=navigator.userAgent,Zl=Oi.indexOf("Windows")>=0,ec=Oi.indexOf("Macintosh")>=0,(Oi.indexOf("Macintosh")>=0||Oi.indexOf("iPad")>=0||Oi.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,tc=Oi.indexOf("Linux")>=0,(Oi==null?void 0:Oi.indexOf("Mobi"))>=0,nc=!0,rc=Jp()||da,ou=navigator.language.toLowerCase(),zp=ou):console.error("Unable to resolve platform.");const go=Zl,j1=ec,R1=Hp,$1=nc,V1=nc&&typeof as.importScripts=="function"?as.origin:void 0,Hi=Oi,q1=typeof as.postMessage=="function"&&!as.importScripts;(()=>{if(q1){const e=[];as.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,i=e.length;r<i;r++){const s=e[r];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(r,1),s.callback();return}}});let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),as.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const U1=!!(Hi&&Hi.indexOf("Chrome")>=0);Hi&&Hi.indexOf("Firefox")>=0,!U1&&Hi&&Hi.indexOf("Safari")>=0,Hi&&Hi.indexOf("Edg/")>=0,Hi&&Hi.indexOf("Android")>=0;function W1(e){return e}class G1{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=W1):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){const n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}}class Xp{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function J1(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Y1(e){return e.split(/\r\n|\r|\n/)}function H1(e){for(let t=0,n=e.length;t<n;t++){const r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function z1(e,t=e.length-1){for(let n=t;n>=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Qp(e){return e>=65&&e<=90}function uu(e){return 55296<=e&&e<=56319}function ic(e){return 56320<=e&&e<=57343}function Kp(e,t){return(e-55296<<10)+(t-56320)+65536}function X1(e,t,n){const r=e.charCodeAt(n);if(uu(r)&&n+1<t){const i=e.charCodeAt(n+1);if(ic(i))return Kp(r,i)}return r}const Q1=/^[\t\n\r\x20-\x7E]*$/;function K1(e){return Q1.test(e)}const es=class es{static getInstance(t){return es.cache.get(Array.from(t))}static getLocales(){return es._locales.value}constructor(t){this.confusableDictionary=t}isAmbiguous(t){return this.confusableDictionary.has(t)}getPrimaryConfusable(t){return this.confusableDictionary.get(t)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};es.ambiguousCharacterData=new Xp(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),es.cache=new G1({getCacheKey:JSON.stringify},t=>{function n(b){const c=new Map;for(let _=0;_<b.length;_+=2)c.set(b[_],b[_+1]);return c}function r(b,c){const _=new Map(b);for(const[T,ee]of c)_.set(T,ee);return _}function i(b,c){if(!b)return c;const _=new Map;for(const[T,ee]of b)c.has(T)&&_.set(T,ee);return _}const s=es.ambiguousCharacterData.value;let a=t.filter(b=>!b.startsWith("_")&&b in s);a.length===0&&(a=["_default"]);let o;for(const b of a){const c=n(s[b]);o=i(o,c)}const u=n(s._common),l=r(u,o);return new es(l)}),es._locales=new Xp(()=>Object.keys(es.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")));let yo=es;const Ha=class Ha{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(Ha.getRawData())),this._data}static isInvisibleCharacter(t){return Ha.getData().has(t)}static get codePoints(){return Ha.getData()}};Ha._data=void 0;let Do=Ha,ha;const sc=globalThis.vscode;if(typeof sc<"u"&&typeof sc.process<"u"){const e=sc.process;ha={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof((Ig=process==null?void 0:process.versions)==null?void 0:Ig.node)=="string"?ha={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:ha={get platform(){return go?"win32":j1?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const lu=ha.cwd,Z1=ha.env,ey=ha.platform,ty=65,ny=97,ry=90,iy=122,Cs=46,Yr=47,pi=92,xs=58,sy=63;class Zp extends Error{constructor(t,n,r){let i;typeof n=="string"&&n.indexOf("not ")===0?(i="must not be",n=n.replace(/^not /,"")):i="must be";const s=t.indexOf(".")!==-1?"property":"argument";let a=`The "${t}" ${s} ${i} of type ${n}`;a+=`. Received type ${typeof r}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function ay(e,t){if(e===null||typeof e!="object")throw new Zp(t,"Object",e)}function Pr(e,t){if(typeof e!="string")throw new Zp(t,"string",e)}const os=ey==="win32";function Xn(e){return e===Yr||e===pi}function ac(e){return e===Yr}function Ss(e){return e>=ty&&e<=ry||e>=ny&&e<=iy}function cu(e,t,n,r){let i="",s=0,a=-1,o=0,u=0;for(let l=0;l<=e.length;++l){if(l<e.length)u=e.charCodeAt(l);else{if(r(u))break;u=Yr}if(r(u)){if(!(a===l-1||o===1))if(o===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Cs||i.charCodeAt(i.length-2)!==Cs){if(i.length>2){const b=i.lastIndexOf(n);b===-1?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf(n)),a=l,o=0;continue}else if(i.length!==0){i="",s=0,a=l,o=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",s=2)}else i.length>0?i+=`${n}${e.slice(a+1,l)}`:i=e.slice(a+1,l),s=l-a-1;a=l,o=0}else u===Cs&&o!==-1?++o:o=-1}return i}function oy(e){return e?`${e[0]==="."?"":"."}${e}`:""}function ed(e,t){ay(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${oy(t.ext)}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ti={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let s;if(i>=0){if(s=e[i],Pr(s,`paths[${i}]`),s.length===0)continue}else t.length===0?s=lu():(s=Z1[`=${t}`]||lu(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===pi)&&(s=`${t}\\`));const a=s.length;let o=0,u="",l=!1;const b=s.charCodeAt(0);if(a===1)Xn(b)&&(o=1,l=!0);else if(Xn(b))if(l=!0,Xn(s.charCodeAt(1))){let c=2,_=c;for(;c<a&&!Xn(s.charCodeAt(c));)c++;if(c<a&&c!==_){const T=s.slice(_,c);for(_=c;c<a&&Xn(s.charCodeAt(c));)c++;if(c<a&&c!==_){for(_=c;c<a&&!Xn(s.charCodeAt(c));)c++;(c===a||c!==_)&&(u=`\\\\${T}\\${s.slice(_,c)}`,o=c)}}}else o=1;else Ss(b)&&s.charCodeAt(1)===xs&&(u=s.slice(0,2),o=2,a>2&&Xn(s.charCodeAt(2))&&(l=!0,o=3));if(u.length>0)if(t.length>0){if(u.toLowerCase()!==t.toLowerCase())continue}else t=u;if(r){if(t.length>0)break}else if(n=`${s.slice(o)}\\${n}`,r=l,l&&t.length>0)break}return n=cu(n,!r,"\\",Xn),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Pr(e,"path");const t=e.length;if(t===0)return".";let n=0,r,i=!1;const s=e.charCodeAt(0);if(t===1)return ac(s)?"\\":e;if(Xn(s))if(i=!0,Xn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){const l=e.slice(u,o);for(u=o;o<t&&Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Xn(e.charCodeAt(o));)o++;if(o===t)return`\\\\${l}\\${e.slice(u)}\\`;o!==u&&(r=`\\\\${l}\\${e.slice(u,o)}`,n=o)}}}else n=1;else Ss(s)&&e.charCodeAt(1)===xs&&(r=e.slice(0,2),n=2,t>2&&Xn(e.charCodeAt(2))&&(i=!0,n=3));let a=n<t?cu(e.slice(n),!i,"\\",Xn):"";return a.length===0&&!i&&(a="."),a.length>0&&Xn(e.charCodeAt(t-1))&&(a+="\\"),r===void 0?i?`\\${a}`:a:i?`${r}\\${a}`:`${r}${a}`},isAbsolute(e){Pr(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return Xn(n)||t>2&&Ss(n)&&e.charCodeAt(1)===xs&&Xn(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){const a=e[s];Pr(a,"path"),a.length>0&&(t===void 0?t=n=a:t+=`\\${a}`)}if(t===void 0)return".";let r=!0,i=0;if(typeof n=="string"&&Xn(n.charCodeAt(0))){++i;const s=n.length;s>1&&Xn(n.charCodeAt(1))&&(++i,s>2&&(Xn(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&Xn(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ti.normalize(t)},relative(e,t){if(Pr(e,"from"),Pr(t,"to"),e===t)return"";const n=ti.resolve(e),r=ti.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===pi;)i++;let s=e.length;for(;s-1>i&&e.charCodeAt(s-1)===pi;)s--;const a=s-i;let o=0;for(;o<t.length&&t.charCodeAt(o)===pi;)o++;let u=t.length;for(;u-1>o&&t.charCodeAt(u-1)===pi;)u--;const l=u-o,b=a<l?a:l;let c=-1,_=0;for(;_<b;_++){const ee=e.charCodeAt(i+_);if(ee!==t.charCodeAt(o+_))break;ee===pi&&(c=_)}if(_!==b){if(c===-1)return r}else{if(l>b){if(t.charCodeAt(o+_)===pi)return r.slice(o+_+1);if(_===2)return r.slice(o+_)}a>b&&(e.charCodeAt(i+_)===pi?c=_:_===2&&(c=3)),c===-1&&(c=0)}let T="";for(_=i+c+1;_<=s;++_)(_===s||e.charCodeAt(_)===pi)&&(T+=T.length===0?"..":"\\..");return o+=c,T.length>0?`${T}${r.slice(o,u)}`:(r.charCodeAt(o)===pi&&++o,r.slice(o,u))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=ti.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===pi){if(t.charCodeAt(1)===pi){const n=t.charCodeAt(2);if(n!==sy&&n!==Cs)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Ss(t.charCodeAt(0))&&t.charCodeAt(1)===xs&&t.charCodeAt(2)===pi)return`\\\\?\\${t}`;return e},dirname(e){Pr(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(t===1)return Xn(i)?e:".";if(Xn(i)){if(n=r=1,Xn(e.charCodeAt(1))){let o=2,u=o;for(;o<t&&!Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&Xn(e.charCodeAt(o));)o++;if(o<t&&o!==u){for(u=o;o<t&&!Xn(e.charCodeAt(o));)o++;if(o===t)return e;o!==u&&(n=r=o+1)}}}}else Ss(i)&&e.charCodeAt(1)===xs&&(n=t>2&&Xn(e.charCodeAt(2))?3:2,r=n);let s=-1,a=!0;for(let o=t-1;o>=r;--o)if(Xn(e.charCodeAt(o))){if(!a){s=o;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&Pr(t,"suffix"),Pr(e,"path");let n=0,r=-1,i=!0,s;if(e.length>=2&&Ss(e.charCodeAt(0))&&e.charCodeAt(1)===xs&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=n;--s){const u=e.charCodeAt(s);if(Xn(u)){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=n;--s)if(Xn(e.charCodeAt(s))){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){Pr(e,"path");let t=0,n=-1,r=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===xs&&Ss(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const u=e.charCodeAt(o);if(Xn(u)){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===Cs?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:ed.bind(null,"\\"),parse(e){Pr(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(n===1)return Xn(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Xn(i)){if(r=1,Xn(e.charCodeAt(1))){let c=2,_=c;for(;c<n&&!Xn(e.charCodeAt(c));)c++;if(c<n&&c!==_){for(_=c;c<n&&Xn(e.charCodeAt(c));)c++;if(c<n&&c!==_){for(_=c;c<n&&!Xn(e.charCodeAt(c));)c++;c===n?r=c:c!==_&&(r=c+1)}}}}else if(Ss(i)&&e.charCodeAt(1)===xs){if(n<=2)return t.root=t.dir=e,t;if(r=2,Xn(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let s=-1,a=r,o=-1,u=!0,l=e.length-1,b=0;for(;l>=r;--l){if(i=e.charCodeAt(l),Xn(i)){if(!u){a=l+1;break}continue}o===-1&&(u=!1,o=l+1),i===Cs?s===-1?s=l:b!==1&&(b=1):s!==-1&&(b=-1)}return o!==-1&&(s===-1||b===0||b===1&&s===o-1&&s===a+1?t.base=t.name=e.slice(a,o):(t.name=e.slice(a,s),t.base=e.slice(a,o),t.ext=e.slice(s,o))),a>0&&a!==r?t.dir=e.slice(0,a-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},uy=(()=>{if(os){const e=/\\/g;return()=>{const t=lu().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>lu()})(),ni={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:uy();Pr(i,`paths[${r}]`),i.length!==0&&(t=`${i}/${t}`,n=i.charCodeAt(0)===Yr)}return t=cu(t,!n,"/",ac),n?`/${t}`:t.length>0?t:"."},normalize(e){if(Pr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Yr,n=e.charCodeAt(e.length-1)===Yr;return e=cu(e,!t,"/",ac),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return Pr(e,"path"),e.length>0&&e.charCodeAt(0)===Yr},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];Pr(r,"path"),r.length>0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":ni.normalize(t)},relative(e,t){if(Pr(e,"from"),Pr(t,"to"),e===t||(e=ni.resolve(e),t=ni.resolve(t),e===t))return"";const n=1,r=e.length,i=r-n,s=1,a=t.length-s,o=i<a?i:a;let u=-1,l=0;for(;l<o;l++){const c=e.charCodeAt(n+l);if(c!==t.charCodeAt(s+l))break;c===Yr&&(u=l)}if(l===o)if(a>o){if(t.charCodeAt(s+l)===Yr)return t.slice(s+l+1);if(l===0)return t.slice(s+l)}else i>o&&(e.charCodeAt(n+l)===Yr?u=l:l===0&&(u=0));let b="";for(l=n+u+1;l<=r;++l)(l===r||e.charCodeAt(l)===Yr)&&(b+=b.length===0?"..":"/..");return`${b}${t.slice(s+u)}`},toNamespacedPath(e){return e},dirname(e){if(Pr(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===Yr;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===Yr){if(!r){n=i;break}}else r=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&Pr(t,"ext"),Pr(e,"path");let n=0,r=-1,i=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,o=-1;for(s=e.length-1;s>=0;--s){const u=e.charCodeAt(s);if(u===Yr){if(!i){n=s+1;break}}else o===-1&&(i=!1,o=s+1),a>=0&&(u===t.charCodeAt(a)?--a===-1&&(r=s):(a=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===Yr){if(!i){n=s+1;break}}else r===-1&&(i=!1,r=s+1);return r===-1?"":e.slice(n,r)},extname(e){Pr(e,"path");let t=-1,n=0,r=-1,i=!0,s=0;for(let a=e.length-1;a>=0;--a){const o=e.charCodeAt(a);if(o===Yr){if(!i){n=a+1;break}continue}r===-1&&(i=!1,r=a+1),o===Cs?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||r===-1||s===0||s===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:ed.bind(null,"/"),parse(e){Pr(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===Yr;let r;n?(t.root="/",r=1):r=0;let i=-1,s=0,a=-1,o=!0,u=e.length-1,l=0;for(;u>=r;--u){const b=e.charCodeAt(u);if(b===Yr){if(!o){s=u+1;break}continue}a===-1&&(o=!1,a=u+1),b===Cs?i===-1?i=u:l!==1&&(l=1):i!==-1&&(l=-1)}if(a!==-1){const b=s===0&&n?1:s;i===-1||l===0||l===1&&i===a-1&&i===s+1?t.base=t.name=e.slice(b,a):(t.name=e.slice(b,i),t.base=e.slice(b,a),t.ext=e.slice(i,a))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};ni.win32=ti.win32=ti,ni.posix=ti.posix=ni,os?ti.normalize:ni.normalize;const ly=os?ti.join:ni.join;os?ti.resolve:ni.resolve,os?ti.relative:ni.relative,os?ti.dirname:ni.dirname,os?ti.basename:ni.basename,os?ti.extname:ni.extname,os?ti.sep:ni.sep;const cy=/^\w[\w\d+.-]*$/,fy=/^\//,py=/^\/\//;function dy(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!cy.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!fy.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(py.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function hy(e,t){return!e&&!t?"file":e}function my(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ji&&(t=ji+t):t=ji;break}return t}const Er="",ji="/",gy=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;let zi=class Yl{static isUri(t){return t instanceof Yl?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}constructor(t,n,r,i,s,a=!1){typeof t=="object"?(this.scheme=t.scheme||Er,this.authority=t.authority||Er,this.path=t.path||Er,this.query=t.query||Er,this.fragment=t.fragment||Er):(this.scheme=hy(t,a),this.authority=n||Er,this.path=my(this.scheme,r||Er),this.query=i||Er,this.fragment=s||Er,dy(this,a))}get fsPath(){return oc(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:i,query:s,fragment:a}=t;return n===void 0?n=this.scheme:n===null&&(n=Er),r===void 0?r=this.authority:r===null&&(r=Er),i===void 0?i=this.path:i===null&&(i=Er),s===void 0?s=this.query:s===null&&(s=Er),a===void 0?a=this.fragment:a===null&&(a=Er),n===this.scheme&&r===this.authority&&i===this.path&&s===this.query&&a===this.fragment?this:new ma(n,r,i,s,a)}static parse(t,n=!1){const r=gy.exec(t);return r?new ma(r[2]||Er,fu(r[4]||Er),fu(r[5]||Er),fu(r[7]||Er),fu(r[9]||Er),n):new ma(Er,Er,Er,Er,Er)}static file(t){let n=Er;if(go&&(t=t.replace(/\\/g,ji)),t[0]===ji&&t[1]===ji){const r=t.indexOf(ji,2);r===-1?(n=t.substring(2),t=ji):(n=t.substring(2,r),t=t.substring(r)||ji)}return new ma("file",n,t,Er,Er)}static from(t,n){return new ma(t.scheme,t.authority,t.path,t.query,t.fragment,n)}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return go&&t.scheme==="file"?r=Yl.file(ti.join(oc(t,!0),...n)).path:r=ni.join(t.path,...n),t.with({path:r})}toString(t=!1){return uc(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof Yl)return t;{const n=new ma(t);return n._formatted=t.external??null,n._fsPath=t._sep===td?t.fsPath??null:null,n}}else return t}};const td=go?1:void 0;class ma extends zi{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=oc(this,!1)),this._fsPath}toString(t=!1){return t?uc(this,!0):(this._formatted||(this._formatted=uc(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=td),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const nd={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function rd(e,t,n){let r,i=-1;for(let s=0;s<e.length;s++){const a=e.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||t&&a===47||n&&a===91||n&&a===93||n&&a===58)i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r!==void 0&&(r+=e.charAt(s));else{r===void 0&&(r=e.substr(0,s));const o=nd[a];o!==void 0?(i!==-1&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=o):i===-1&&(i=s)}}return i!==-1&&(r+=encodeURIComponent(e.substring(i))),r!==void 0?r:e}function yy(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=nd[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function oc(e,t){let n;return e.authority&&e.path.length>1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,go&&(n=n.replace(/\//g,"\\")),n}function uc(e,t){const n=t?yy:rd;let r="",{scheme:i,authority:s,path:a,query:o,fragment:u}=e;if(i&&(r+=i,r+=":"),(s||i==="file")&&(r+=ji,r+=ji),s){let l=s.indexOf("@");if(l!==-1){const b=s.substr(0,l);s=s.substr(l+1),l=b.lastIndexOf(":"),l===-1?r+=n(b,!1,!1):(r+=n(b.substr(0,l),!1,!1),r+=":",r+=n(b.substr(l+1),!1,!0)),r+="@"}s=s.toLowerCase(),l=s.lastIndexOf(":"),l===-1?r+=n(s,!1,!0):(r+=n(s.substr(0,l),!1,!0),r+=s.substr(l))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){const l=a.charCodeAt(1);l>=65&&l<=90&&(a=`/${String.fromCharCode(l+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){const l=a.charCodeAt(0);l>=65&&l<=90&&(a=`${String.fromCharCode(l+32)}:${a.substr(2)}`)}r+=n(a,!0,!1)}return o&&(r+="?",r+=n(o,!1,!1)),u&&(r+="#",r+=t?u:rd(u,!1,!1)),r}function id(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+id(e.substr(3)):e}}const sd=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function fu(e){return e.match(sd)?e.replace(sd,t=>id(t)):e}var ws;(function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatSesssion="vscode-chat-editor",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output"})(ws||(ws={}));const Dy="tkn";class by{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(t){this._preferredWebSchema=t}get _remoteResourcesPath(){return ni.join(this._serverRootPath,ws.vscodeRemoteResource)}rewrite(t){if(this._delegate)try{return this._delegate(t)}catch(o){return ho(o),t}const n=t.authority;let r=this._hosts[n];r&&r.indexOf(":")!==-1&&r.indexOf("[")===-1&&(r=`[${r}]`);const i=this._ports[n],s=this._connectionTokens[n];let a=`path=${encodeURIComponent(t.path)}`;return typeof s=="string"&&(a+=`&${Dy}=${encodeURIComponent(s)}`),zi.from({scheme:$1?this._preferredWebSchema:ws.vscodeRemoteResource,authority:`${r}:${i}`,path:this._remoteResourcesPath,query:a})}}const vy=new by,Ey="vscode-app",Wo=class Wo{asBrowserUri(t){const n=this.toUri(t);return this.uriToBrowserUri(n)}uriToBrowserUri(t){return t.scheme===ws.vscodeRemote?vy.rewrite(t):t.scheme===ws.file&&(R1||V1===`${ws.vscodeFileResource}://${Wo.FALLBACK_AUTHORITY}`)?t.with({scheme:ws.vscodeFileResource,authority:t.authority||Wo.FALLBACK_AUTHORITY,query:null,fragment:null}):t}toUri(t,n){if(zi.isUri(t))return t;if(globalThis._VSCODE_FILE_ROOT){const r=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(r))return zi.joinPath(zi.parse(r,!0),t);const i=ly(r,t);return zi.file(i)}return zi.parse(n.toUrl(t))}};Wo.FALLBACK_AUTHORITY=Ey;let lc=Wo;const ad=new lc;var od;(function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const n="vscode-coi";function r(s){let a;typeof s=="string"?a=new URL(s).searchParams:s instanceof URL?a=s.searchParams:zi.isUri(s)&&(a=new URL(s.toString(!0)).searchParams);const o=a==null?void 0:a.get(n);if(o)return t.get(o)}e.getHeadersFromQuery=r;function i(s,a,o){if(!globalThis.crossOriginIsolated)return;const u=a&&o?"3":o?"2":"1";s instanceof URLSearchParams?s.set(n,u):s[n]=u}e.addSearchParam=i})(od||(od={}));const cc="default",Ay="$initialize";class Cy{constructor(t,n,r,i,s){this.vsWorker=t,this.req=n,this.channel=r,this.method=i,this.args=s,this.type=0}}class ud{constructor(t,n,r,i){this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1}}class xy{constructor(t,n,r,i,s){this.vsWorker=t,this.req=n,this.channel=r,this.eventName=i,this.arg=s,this.type=2}}class Sy{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class wy{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Fy{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n,r){const i=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[i]={resolve:s,reject:a},this._send(new Cy(this._workerId,i,t,n,r))})}listen(t,n,r){let i=null;const s=new Ni({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,s),this._send(new xy(this._workerId,i,t,n,r))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new wy(this._workerId,i)),i=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){const r={get:(i,s)=>(typeof s=="string"&&!i[s]&&(cd(s)?i[s]=a=>this.listen(t,s,a):ld(s)?i[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(i[s]=async(...a)=>(await(n==null?void 0:n()),this.sendMessage(t,s,a)))),i[s])};return new Proxy(Object.create(null),r)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(i=>{this._send(new ud(this._workerId,n,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Wp(i.detail)),this._send(new ud(this._workerId,n,void 0,Wp(i)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.channel,t.eventName,t.arg)(i=>{this._send(new Sy(this._workerId,n,i))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let r=0;r<t.args.length;r++)t.args[r]instanceof ArrayBuffer&&n.push(t.args[r]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}}function ld(e){return e[0]==="o"&&e[1]==="n"&&Qp(e.charCodeAt(2))}function cd(e){return/^onDynamic/.test(e)&&Qp(e.charCodeAt(9))}class Ny{constructor(t,n){this._localChannels=new Map,this._remoteChannels=new Map,this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Fy({sendMessage:(r,i)=>{t(r,i)},handleMessage:(r,i,s)=>this._handleMessage(r,i,s),handleEvent:(r,i,s)=>this._handleEvent(r,i,s)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,r){if(t===cc&&n===Ay)return this.initialize(r[0],r[1],r[2]);const i=t===cc?this._requestHandler:this._localChannels.get(t);if(!i)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof i[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(i[n].apply(i,r))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,r){const i=t===cc?this._requestHandler:this._localChannels.get(t);if(!i)throw new Error(`Missing channel ${t} on worker thread`);if(cd(n)){const s=i[n].call(i,r);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(ld(n)){const s=i[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(t){if(!this._remoteChannels.has(t)){const n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t,n,r){if(this._protocol.setWorkerId(t),this._requestHandlerFactory){this._requestHandler=this._requestHandlerFactory(this);return}return n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy<"u"&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),import(`${ad.asBrowserUri(`${r}.js`).toString(!0)}`).then(s=>{if(this._requestHandler=s.create(this),!this._requestHandler)throw new Error("No RequestHandler!")})}}class Fs{constructor(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function fd(e,t){return(t<<5)-t+e|0}function _y(e,t){t=fd(149417,t);for(let n=0,r=e.length;n<r;n++)t=fd(e.charCodeAt(n),t);return t}function fc(e,t,n=32){const r=n-t,i=~((1<<r)-1);return(e<<t|(i&e)>>>r)>>>0}function pd(e,t=0,n=e.byteLength,r=0){for(let i=0;i<n;i++)e[t+i]=r}function Ty(e,t,n="0"){for(;e.length<t;)e=n+e;return e}function bo(e,t=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map(n=>n.toString(16).padStart(2,"0")).join(""):Ty((e>>>0).toString(16),t/4)}const dl=class dl{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(t){const n=t.length;if(n===0)return;const r=this._buff;let i=this._buffLen,s=this._leftoverHighSurrogate,a,o;for(s!==0?(a=s,o=-1,s=0):(a=t.charCodeAt(0),o=0);;){let u=a;if(uu(a))if(o+1<n){const l=t.charCodeAt(o+1);ic(l)?(o++,u=Kp(a,l)):u=65533}else{s=a;break}else ic(a)&&(u=65533);if(i=this._push(r,i,u),o++,o<n)a=t.charCodeAt(o);else break}this._buffLen=i,this._leftoverHighSurrogate=s}_push(t,n,r){return r<128?t[n++]=r:r<2048?(t[n++]=192|(r&1984)>>>6,t[n++]=128|(r&63)>>>0):r<65536?(t[n++]=224|(r&61440)>>>12,t[n++]=128|(r&4032)>>>6,t[n++]=128|(r&63)>>>0):(t[n++]=240|(r&1835008)>>>18,t[n++]=128|(r&258048)>>>12,t[n++]=128|(r&4032)>>>6,t[n++]=128|(r&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,t[0]=t[64],t[1]=t[65],t[2]=t[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),bo(this._h0)+bo(this._h1)+bo(this._h2)+bo(this._h3)+bo(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,pd(this._buff,this._buffLen),this._buffLen>56&&(this._step(),pd(this._buff));const t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){const t=dl._bigBlock32,n=this._buffDV;for(let c=0;c<64;c+=4)t.setUint32(c,n.getUint32(c,!1),!1);for(let c=64;c<320;c+=4)t.setUint32(c,fc(t.getUint32(c-12,!1)^t.getUint32(c-32,!1)^t.getUint32(c-56,!1)^t.getUint32(c-64,!1),1),!1);let r=this._h0,i=this._h1,s=this._h2,a=this._h3,o=this._h4,u,l,b;for(let c=0;c<80;c++)c<20?(u=i&s|~i&a,l=1518500249):c<40?(u=i^s^a,l=1859775393):c<60?(u=i&s|i&a|s&a,l=2400959708):(u=i^s^a,l=3395469782),b=fc(r,5)+u+o+l+t.getUint32(c*4,!1)&4294967295,o=a,a=s,s=fc(i,30),i=r,r=b;this._h0=this._h0+r&4294967295,this._h1=this._h1+i&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+o&4294967295}};dl._bigBlock32=new DataView(new ArrayBuffer(320));let dd=dl;class hd{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n}}function Ly(e,t,n){return new Ns(new hd(e),new hd(t)).ComputeDiff(n).changes}class ga{static Assert(t,n){if(!t)throw new Error(n)}}class ya{static Copy(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}static Copy2(t,n,r,i,s){for(let a=0;a<s;a++)r[i+a]=t[n+a]}}class md{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Fs(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ns{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[i,s,a]=Ns._getElements(t),[o,u,l]=Ns._getElements(n);this._hasStrings=a&&l,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=o,this._modifiedElementsOrHash=u,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(Ns._isStringArray(n)){const r=new Int32Array(n.length);for(let i=0,s=n.length;i<s;i++)r[i]=_y(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(t,n){if(!this.ElementsAreEqual(t,n))return!1;const r=Ns._getStrictElement(this._originalSequence,t),i=Ns._getStrictElement(this._modifiedSequence,n);return r===i}static _getStrictElement(t,n){return typeof t.getStrictElement=="function"?t.getStrictElement(n):null}OriginalElementsAreEqual(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0}ComputeDiff(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)}_ComputeDiff(t,n,r,i,s){const a=[!1];let o=this.ComputeDiffRecursive(t,n,r,i,a);return s&&(o=this.PrettifyChanges(o)),{quitEarly:a[0],changes:o}}ComputeDiffRecursive(t,n,r,i,s){for(s[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){let c;return r<=i?(ga.Assert(t===n+1,"originalStart should only be one more than originalEnd"),c=[new Fs(t,0,r,i-r+1)]):t<=n?(ga.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[new Fs(t,n-t+1,r,0)]):(ga.Assert(t===n+1,"originalStart should only be one more than originalEnd"),ga.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),c=[]),c}const a=[0],o=[0],u=this.ComputeRecursionPoint(t,n,r,i,a,o,s),l=a[0],b=o[0];if(u!==null)return u;if(!s[0]){const c=this.ComputeDiffRecursive(t,l,r,b,s);let _=[];return s[0]?_=[new Fs(l+1,n-(l+1)+1,b+1,i-(b+1)+1)]:_=this.ComputeDiffRecursive(l+1,n,b+1,i,s),this.ConcatenateChanges(c,_)}return[new Fs(t,n-t+1,r,i-r+1)]}WALKTRACE(t,n,r,i,s,a,o,u,l,b,c,_,T,ee,X,L,he,Te){let Pe=null,Fe=null,oe=new md,ve=n,We=r,ze=T[0]-L[0]-i,Ie=-1073741824,Qe=this.m_forwardHistory.length-1;do{const Ke=ze+t;Ke===ve||Ke<We&&l[Ke-1]<l[Ke+1]?(c=l[Ke+1],ee=c-ze-i,c<Ie&&oe.MarkNextChange(),Ie=c,oe.AddModifiedElement(c+1,ee),ze=Ke+1-t):(c=l[Ke-1]+1,ee=c-ze-i,c<Ie&&oe.MarkNextChange(),Ie=c-1,oe.AddOriginalElement(c,ee+1),ze=Ke-1-t),Qe>=0&&(l=this.m_forwardHistory[Qe],t=l[0],ve=1,We=l.length-1)}while(--Qe>=-1);if(Pe=oe.getReverseChanges(),Te[0]){let Ke=T[0]+1,Ve=L[0]+1;if(Pe!==null&&Pe.length>0){const ct=Pe[Pe.length-1];Ke=Math.max(Ke,ct.getOriginalEnd()),Ve=Math.max(Ve,ct.getModifiedEnd())}Fe=[new Fs(Ke,_-Ke+1,Ve,X-Ve+1)]}else{oe=new md,ve=a,We=o,ze=T[0]-L[0]-u,Ie=1073741824,Qe=he?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Ke=ze+s;Ke===ve||Ke<We&&b[Ke-1]>=b[Ke+1]?(c=b[Ke+1]-1,ee=c-ze-u,c>Ie&&oe.MarkNextChange(),Ie=c+1,oe.AddOriginalElement(c+1,ee+1),ze=Ke+1-s):(c=b[Ke-1],ee=c-ze-u,c>Ie&&oe.MarkNextChange(),Ie=c,oe.AddModifiedElement(c+1,ee+1),ze=Ke-1-s),Qe>=0&&(b=this.m_reverseHistory[Qe],s=b[0],ve=1,We=b.length-1)}while(--Qe>=-1);Fe=oe.getChanges()}return this.ConcatenateChanges(Pe,Fe)}ComputeRecursionPoint(t,n,r,i,s,a,o){let u=0,l=0,b=0,c=0,_=0,T=0;t--,r--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const ee=n-t+(i-r),X=ee+1,L=new Int32Array(X),he=new Int32Array(X),Te=i-r,Pe=n-t,Fe=t-r,oe=n-i,We=(Pe-Te)%2===0;L[Te]=t,he[Pe]=n,o[0]=!1;for(let ze=1;ze<=ee/2+1;ze++){let Ie=0,Qe=0;b=this.ClipDiagonalBound(Te-ze,ze,Te,X),c=this.ClipDiagonalBound(Te+ze,ze,Te,X);for(let Ve=b;Ve<=c;Ve+=2){Ve===b||Ve<c&&L[Ve-1]<L[Ve+1]?u=L[Ve+1]:u=L[Ve-1]+1,l=u-(Ve-Te)-Fe;const ct=u;for(;u<n&&l<i&&this.ElementsAreEqual(u+1,l+1);)u++,l++;if(L[Ve]=u,u+l>Ie+Qe&&(Ie=u,Qe=l),!We&&Math.abs(Ve-Pe)<=ze-1&&u>=he[Ve])return s[0]=u,a[0]=l,ct<=he[Ve]&&ze<=1448?this.WALKTRACE(Te,b,c,Fe,Pe,_,T,oe,L,he,u,n,s,l,i,a,We,o):null}const Ke=(Ie-t+(Qe-r)-ze)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Ie,Ke))return o[0]=!0,s[0]=Ie,a[0]=Qe,Ke>0&&ze<=1448?this.WALKTRACE(Te,b,c,Fe,Pe,_,T,oe,L,he,u,n,s,l,i,a,We,o):(t++,r++,[new Fs(t,n-t+1,r,i-r+1)]);_=this.ClipDiagonalBound(Pe-ze,ze,Pe,X),T=this.ClipDiagonalBound(Pe+ze,ze,Pe,X);for(let Ve=_;Ve<=T;Ve+=2){Ve===_||Ve<T&&he[Ve-1]>=he[Ve+1]?u=he[Ve+1]-1:u=he[Ve-1],l=u-(Ve-Pe)-oe;const ct=u;for(;u>t&&l>r&&this.ElementsAreEqual(u,l);)u--,l--;if(he[Ve]=u,We&&Math.abs(Ve-Te)<=ze&&u<=L[Ve])return s[0]=u,a[0]=l,ct>=L[Ve]&&ze<=1448?this.WALKTRACE(Te,b,c,Fe,Pe,_,T,oe,L,he,u,n,s,l,i,a,We,o):null}if(ze<=1447){let Ve=new Int32Array(c-b+2);Ve[0]=Te-b+1,ya.Copy2(L,b,Ve,1,c-b+1),this.m_forwardHistory.push(Ve),Ve=new Int32Array(T-_+2),Ve[0]=Pe-_+1,ya.Copy2(he,_,Ve,1,T-_+1),this.m_reverseHistory.push(Ve)}}return this.WALKTRACE(Te,b,c,Fe,Pe,_,T,oe,L,he,u,n,s,l,i,a,We,o)}PrettifyChanges(t){for(let n=0;n<t.length;n++){const r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=r.originalLength>0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!o||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));){const l=this.ElementsAreStrictEqual(r.originalStart,r.modifiedStart);if(this.ElementsAreStrictEqual(r.originalStart+r.originalLength,r.modifiedStart+r.modifiedLength)&&!l)break;r.originalStart++,r.modifiedStart++}const u=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],u)){t[n]=u[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){const r=t[n];let i=0,s=0;if(n>0){const c=t[n-1];i=c.originalStart+c.originalLength,s=c.modifiedStart+c.modifiedLength}const a=r.originalLength>0,o=r.modifiedLength>0;let u=0,l=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let c=1;;c++){const _=r.originalStart-c,T=r.modifiedStart-c;if(_<i||T<s||a&&!this.OriginalElementsAreEqual(_,_+r.originalLength)||o&&!this.ModifiedElementsAreEqual(T,T+r.modifiedLength))break;const X=(_===i&&T===s?5:0)+this._boundaryScore(_,r.originalLength,T,r.modifiedLength);X>l&&(l=X,u=c)}r.originalStart-=u,r.modifiedStart-=u;const b=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],b)){t[n-1]=b[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n<r;n++){const i=t[n-1],s=t[n],a=s.originalStart-i.originalStart-i.originalLength,o=i.originalStart,u=s.originalStart+s.originalLength,l=u-o,b=i.modifiedStart,c=s.modifiedStart+s.modifiedLength,_=c-b;if(a<5&&l<20&&_<20){const T=this._findBetterContiguousSequence(o,l,b,_,a);if(T){const[ee,X]=T;(ee!==i.originalStart+i.originalLength||X!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=ee-i.originalStart,i.modifiedLength=X-i.modifiedStart,s.originalStart=ee+a,s.modifiedStart=X+a,s.originalLength=u-s.originalStart,s.modifiedLength=c-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,r,i,s){if(n<s||i<s)return null;const a=t+n-s+1,o=r+i-s+1;let u=0,l=0,b=0;for(let c=t;c<a;c++)for(let _=r;_<o;_++){const T=this._contiguousSequenceScore(c,_,s);T>0&&T>u&&(u=T,l=c,b=_)}return u>0?[l,b]:null}_contiguousSequenceScore(t,n,r){let i=0;for(let s=0;s<r;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;i+=this._originalStringElements[t+s].length}return i}_OriginalIsBoundary(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,i){const s=this._OriginalRegionIsBoundary(t,n)?1:0,a=this._ModifiedRegionIsBoundary(r,i)?1:0;return s+a}ConcatenateChanges(t,n){const r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const i=new Array(t.length+n.length-1);return ya.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],ya.Copy(n,1,i,t.length,n.length-1),i}else{const i=new Array(t.length+n.length);return ya.Copy(t,0,i,0,t.length),ya.Copy(n,0,i,t.length,n.length),i}}ChangesOverlap(t,n,r){if(ga.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),ga.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const i=t.originalStart;let s=t.originalLength;const a=t.modifiedStart;let o=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new Fs(i,s,a,o),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,i){if(t>=0&&t<i)return t;const s=r,a=i-r-1,o=n%2===0;if(t<0){const u=s%2===0;return o===u?0:1}else{const u=a%2===0;return o===u?i-1:i-2}}}let Br=class la{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new la(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return la.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return la.isBefore(this,t)}static isBefore(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column}isBeforeOrEqual(t){return la.isBeforeOrEqual(this,t)}static isBeforeOrEqual(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column}static compare(t,n){const r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){const s=t.column|0,a=n.column|0;return s-a}return r-i}clone(){return new la(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new la(t.lineNumber,t.column)}static isIPosition(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}},ir=class Vr{constructor(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}isEmpty(){return Vr.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return Vr.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn||n.lineNumber===t.endLineNumber&&n.column>t.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return Vr.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)}strictContainsRange(t){return Vr.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return Vr.plusRange(this,t)}static plusRange(t,n){let r,i,s,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,a=t.endColumn),new Vr(r,i,s,a)}intersectRanges(t){return Vr.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,i=t.startColumn,s=t.endLineNumber,a=t.endColumn;const o=n.startLineNumber,u=n.startColumn,l=n.endLineNumber,b=n.endColumn;return r<o?(r=o,i=u):r===o&&(i=Math.max(i,u)),s>l?(s=l,a=b):s===l&&(a=Math.min(a,b)),r>s||r===s&&i>a?null:new Vr(r,i,s,a)}equalsRange(t){return Vr.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return Vr.getEndPosition(this)}static getEndPosition(t){return new Br(t.endLineNumber,t.endColumn)}getStartPosition(){return Vr.getStartPosition(this)}static getStartPosition(t){return new Br(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new Vr(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new Vr(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Vr.collapseToStart(this)}static collapseToStart(t){return new Vr(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return Vr.collapseToEnd(this)}static collapseToEnd(t){return new Vr(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new Vr(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new Vr(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new Vr(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)}static areIntersecting(t,n){return!(t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn||n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)}static compareRangesUsingStarts(t,n){if(t&&n){const s=t.startLineNumber|0,a=n.startLineNumber|0;if(s===a){const o=t.startColumn|0,u=n.startColumn|0;if(o===u){const l=t.endLineNumber|0,b=n.endLineNumber|0;if(l===b){const c=t.endColumn|0,_=n.endColumn|0;return c-_}return l-b}return o-u}return s-a}return(t?1:0)-(n?1:0)}static compareRangesUsingEnds(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber}static spansMultipleLines(t){return t.endLineNumber>t.startLineNumber}toJSON(){return this}};function gd(e){return e<0?0:e>255?255:e|0}function Da(e){return e<0?0:e>4294967295?4294967295:e|0}class pc{constructor(t){const n=gd(t);this._defaultValue=n,this._asciiMap=pc._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=gd(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class ky{constructor(t,n,r){const i=new Uint8Array(t*n);for(let s=0,a=t*n;s<a;s++)i[s]=r;this._data=i,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,r){this._data[t*this.cols+n]=r}}class Py{constructor(t){let n=0,r=0;for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];u>n&&(n=u),o>r&&(r=o),l>r&&(r=l)}n++,r++;const i=new ky(r,n,0);for(let s=0,a=t.length;s<a;s++){const[o,u,l]=t[s];i.set(o,u,l)}this._states=i,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}}let dc=null;function By(){return dc===null&&(dc=new Py([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),dc}let vo=null;function My(){if(vo===null){vo=new pc(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;n<e.length;n++)vo.set(e.charCodeAt(n),1);const t=".,;:";for(let n=0;n<t.length;n++)vo.set(t.charCodeAt(n),2)}return vo}class pu{static _createLink(t,n,r,i,s){let a=s-1;do{const o=n.charCodeAt(a);if(t.get(o)!==2)break;a--}while(a>i);if(i>0){const o=n.charCodeAt(i-1),u=n.charCodeAt(a);(o===40&&u===41||o===91&&u===93||o===123&&u===125)&&a--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:a+2},url:n.substring(i,a+1)}}static computeLinks(t,n=By()){const r=My(),i=[];for(let s=1,a=t.getLineCount();s<=a;s++){const o=t.getLineContent(s),u=o.length;let l=0,b=0,c=0,_=1,T=!1,ee=!1,X=!1,L=!1;for(;l<u;){let he=!1;const Te=o.charCodeAt(l);if(_===13){let Pe;switch(Te){case 40:T=!0,Pe=0;break;case 41:Pe=T?0:1;break;case 91:X=!0,ee=!0,Pe=0;break;case 93:X=!1,Pe=ee?0:1;break;case 123:L=!0,Pe=0;break;case 125:Pe=L?0:1;break;case 39:case 34:case 96:c===Te?Pe=1:c===39||c===34||c===96?Pe=0:Pe=1;break;case 42:Pe=c===42?1:0;break;case 124:Pe=c===124?1:0;break;case 32:Pe=X?0:1;break;default:Pe=r.get(Te)}Pe===1&&(i.push(pu._createLink(r,o,s,b,l)),he=!0)}else if(_===12){let Pe;Te===91?(ee=!0,Pe=0):Pe=r.get(Te),Pe===1?he=!0:_=13}else _=n.nextState(_,Te),_===0&&(he=!0);he&&(_=1,T=!1,ee=!1,L=!1,b=l+1,c=Te),l++}_===13&&i.push(pu._createLink(r,o,s,b,u))}return i}}function Iy(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:pu.computeLinks(e)}const hl=class hl{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,r,i,s){if(t&&n){const a=this.doNavigateValueSet(n,s);if(a)return{range:t,value:a}}if(r&&i){const a=this.doNavigateValueSet(i,s);if(a)return{range:r,value:a}}return null}doNavigateValueSet(t,n){const r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)}numberReplace(t,n){const r=Math.pow(10,t.length-(t.lastIndexOf(".")+1));let i=Number(t);const s=parseFloat(t);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,r){let i=null;for(let s=0,a=t.length;i===null&&s<a;s++)i=this.valueSetReplace(t[s],n,r);return i}valueSetReplace(t,n,r){let i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null}};hl.INSTANCE=new hl;let hc=hl;const yd=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var du;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof hu?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:au.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:yd})})(du||(du={}));class hu{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?yd:(this._emitter||(this._emitter=new Ni),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Oy{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new hu),this._token}cancel(){this._token?this._token instanceof hu&&this._token.cancel():this._token=du.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)==null||n.dispose(),this._token?this._token instanceof hu&&this._token.dispose():this._token=du.None}}class mc{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const mu=new mc,gc=new mc,yc=new mc,jy=new Array(230),Ry=Object.create(null),$y=Object.create(null);(function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const i of t){const[s,a,o,u,l,b,c,_,T]=i;if(r[a]||(r[a]=!0,Ry[o]=a,$y[o.toLowerCase()]=a),!n[u]){if(n[u]=!0,!l)throw new Error(`String representation missing for key code ${u} around scan code ${o}`);mu.define(u,l),gc.define(u,_||l),yc.define(u,T||_||l)}b&&(jy[b]=u)}})();var Dd;(function(e){function t(o){return mu.keyCodeToStr(o)}e.toString=t;function n(o){return mu.strToKeyCode(o)}e.fromString=n;function r(o){return gc.keyCodeToStr(o)}e.toUserSettingsUS=r;function i(o){return yc.keyCodeToStr(o)}e.toUserSettingsGeneral=i;function s(o){return gc.strToKeyCode(o)||yc.strToKeyCode(o)}e.fromUserSettings=s;function a(o){if(o>=98&&o<=113)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return mu.keyCodeToStr(o)}e.toElectronAccelerator=a})(Dd||(Dd={}));function Vy(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class bi extends ir{constructor(t,n,r,i){super(t,n,r,i),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return bi.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new bi(this.startLineNumber,this.startColumn,t,n):new bi(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Br(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Br(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new bi(t,n,this.endLineNumber,this.endColumn):new bi(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new bi(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new bi(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new bi(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new bi(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,i=t.length;r<i;r++)if(!this.selectionsEqual(t[r],n[r]))return!1;return!0}static isISelection(t){return t&&typeof t.selectionStartLineNumber=="number"&&typeof t.selectionStartColumn=="number"&&typeof t.positionLineNumber=="number"&&typeof t.positionColumn=="number"}static createWithDirection(t,n,r,i,s){return s===0?new bi(t,n,r,i):new bi(r,i,t,n)}}function qy(e){return typeof e=="string"}const bd=Object.create(null);function x(e,t){if(qy(t)){const n=bd[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return bd[e]=t,{id:e}}const Uy={add:x("add",6e4),plus:x("plus",6e4),gistNew:x("gist-new",6e4),repoCreate:x("repo-create",6e4),lightbulb:x("lightbulb",60001),lightBulb:x("light-bulb",60001),repo:x("repo",60002),repoDelete:x("repo-delete",60002),gistFork:x("gist-fork",60003),repoForked:x("repo-forked",60003),gitPullRequest:x("git-pull-request",60004),gitPullRequestAbandoned:x("git-pull-request-abandoned",60004),recordKeys:x("record-keys",60005),keyboard:x("keyboard",60005),tag:x("tag",60006),gitPullRequestLabel:x("git-pull-request-label",60006),tagAdd:x("tag-add",60006),tagRemove:x("tag-remove",60006),person:x("person",60007),personFollow:x("person-follow",60007),personOutline:x("person-outline",60007),personFilled:x("person-filled",60007),gitBranch:x("git-branch",60008),gitBranchCreate:x("git-branch-create",60008),gitBranchDelete:x("git-branch-delete",60008),sourceControl:x("source-control",60008),mirror:x("mirror",60009),mirrorPublic:x("mirror-public",60009),star:x("star",60010),starAdd:x("star-add",60010),starDelete:x("star-delete",60010),starEmpty:x("star-empty",60010),comment:x("comment",60011),commentAdd:x("comment-add",60011),alert:x("alert",60012),warning:x("warning",60012),search:x("search",60013),searchSave:x("search-save",60013),logOut:x("log-out",60014),signOut:x("sign-out",60014),logIn:x("log-in",60015),signIn:x("sign-in",60015),eye:x("eye",60016),eyeUnwatch:x("eye-unwatch",60016),eyeWatch:x("eye-watch",60016),circleFilled:x("circle-filled",60017),primitiveDot:x("primitive-dot",60017),closeDirty:x("close-dirty",60017),debugBreakpoint:x("debug-breakpoint",60017),debugBreakpointDisabled:x("debug-breakpoint-disabled",60017),debugHint:x("debug-hint",60017),terminalDecorationSuccess:x("terminal-decoration-success",60017),primitiveSquare:x("primitive-square",60018),edit:x("edit",60019),pencil:x("pencil",60019),info:x("info",60020),issueOpened:x("issue-opened",60020),gistPrivate:x("gist-private",60021),gitForkPrivate:x("git-fork-private",60021),lock:x("lock",60021),mirrorPrivate:x("mirror-private",60021),close:x("close",60022),removeClose:x("remove-close",60022),x:x("x",60022),repoSync:x("repo-sync",60023),sync:x("sync",60023),clone:x("clone",60024),desktopDownload:x("desktop-download",60024),beaker:x("beaker",60025),microscope:x("microscope",60025),vm:x("vm",60026),deviceDesktop:x("device-desktop",60026),file:x("file",60027),fileText:x("file-text",60027),more:x("more",60028),ellipsis:x("ellipsis",60028),kebabHorizontal:x("kebab-horizontal",60028),mailReply:x("mail-reply",60029),reply:x("reply",60029),organization:x("organization",60030),organizationFilled:x("organization-filled",60030),organizationOutline:x("organization-outline",60030),newFile:x("new-file",60031),fileAdd:x("file-add",60031),newFolder:x("new-folder",60032),fileDirectoryCreate:x("file-directory-create",60032),trash:x("trash",60033),trashcan:x("trashcan",60033),history:x("history",60034),clock:x("clock",60034),folder:x("folder",60035),fileDirectory:x("file-directory",60035),symbolFolder:x("symbol-folder",60035),logoGithub:x("logo-github",60036),markGithub:x("mark-github",60036),github:x("github",60036),terminal:x("terminal",60037),console:x("console",60037),repl:x("repl",60037),zap:x("zap",60038),symbolEvent:x("symbol-event",60038),error:x("error",60039),stop:x("stop",60039),variable:x("variable",60040),symbolVariable:x("symbol-variable",60040),array:x("array",60042),symbolArray:x("symbol-array",60042),symbolModule:x("symbol-module",60043),symbolPackage:x("symbol-package",60043),symbolNamespace:x("symbol-namespace",60043),symbolObject:x("symbol-object",60043),symbolMethod:x("symbol-method",60044),symbolFunction:x("symbol-function",60044),symbolConstructor:x("symbol-constructor",60044),symbolBoolean:x("symbol-boolean",60047),symbolNull:x("symbol-null",60047),symbolNumeric:x("symbol-numeric",60048),symbolNumber:x("symbol-number",60048),symbolStructure:x("symbol-structure",60049),symbolStruct:x("symbol-struct",60049),symbolParameter:x("symbol-parameter",60050),symbolTypeParameter:x("symbol-type-parameter",60050),symbolKey:x("symbol-key",60051),symbolText:x("symbol-text",60051),symbolReference:x("symbol-reference",60052),goToFile:x("go-to-file",60052),symbolEnum:x("symbol-enum",60053),symbolValue:x("symbol-value",60053),symbolRuler:x("symbol-ruler",60054),symbolUnit:x("symbol-unit",60054),activateBreakpoints:x("activate-breakpoints",60055),archive:x("archive",60056),arrowBoth:x("arrow-both",60057),arrowDown:x("arrow-down",60058),arrowLeft:x("arrow-left",60059),arrowRight:x("arrow-right",60060),arrowSmallDown:x("arrow-small-down",60061),arrowSmallLeft:x("arrow-small-left",60062),arrowSmallRight:x("arrow-small-right",60063),arrowSmallUp:x("arrow-small-up",60064),arrowUp:x("arrow-up",60065),bell:x("bell",60066),bold:x("bold",60067),book:x("book",60068),bookmark:x("bookmark",60069),debugBreakpointConditionalUnverified:x("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:x("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:x("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:x("debug-breakpoint-data-unverified",60072),debugBreakpointData:x("debug-breakpoint-data",60073),debugBreakpointDataDisabled:x("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:x("debug-breakpoint-log-unverified",60074),debugBreakpointLog:x("debug-breakpoint-log",60075),debugBreakpointLogDisabled:x("debug-breakpoint-log-disabled",60075),briefcase:x("briefcase",60076),broadcast:x("broadcast",60077),browser:x("browser",60078),bug:x("bug",60079),calendar:x("calendar",60080),caseSensitive:x("case-sensitive",60081),check:x("check",60082),checklist:x("checklist",60083),chevronDown:x("chevron-down",60084),chevronLeft:x("chevron-left",60085),chevronRight:x("chevron-right",60086),chevronUp:x("chevron-up",60087),chromeClose:x("chrome-close",60088),chromeMaximize:x("chrome-maximize",60089),chromeMinimize:x("chrome-minimize",60090),chromeRestore:x("chrome-restore",60091),circleOutline:x("circle-outline",60092),circle:x("circle",60092),debugBreakpointUnverified:x("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:x("terminal-decoration-incomplete",60092),circleSlash:x("circle-slash",60093),circuitBoard:x("circuit-board",60094),clearAll:x("clear-all",60095),clippy:x("clippy",60096),closeAll:x("close-all",60097),cloudDownload:x("cloud-download",60098),cloudUpload:x("cloud-upload",60099),code:x("code",60100),collapseAll:x("collapse-all",60101),colorMode:x("color-mode",60102),commentDiscussion:x("comment-discussion",60103),creditCard:x("credit-card",60105),dash:x("dash",60108),dashboard:x("dashboard",60109),database:x("database",60110),debugContinue:x("debug-continue",60111),debugDisconnect:x("debug-disconnect",60112),debugPause:x("debug-pause",60113),debugRestart:x("debug-restart",60114),debugStart:x("debug-start",60115),debugStepInto:x("debug-step-into",60116),debugStepOut:x("debug-step-out",60117),debugStepOver:x("debug-step-over",60118),debugStop:x("debug-stop",60119),debug:x("debug",60120),deviceCameraVideo:x("device-camera-video",60121),deviceCamera:x("device-camera",60122),deviceMobile:x("device-mobile",60123),diffAdded:x("diff-added",60124),diffIgnored:x("diff-ignored",60125),diffModified:x("diff-modified",60126),diffRemoved:x("diff-removed",60127),diffRenamed:x("diff-renamed",60128),diff:x("diff",60129),diffSidebyside:x("diff-sidebyside",60129),discard:x("discard",60130),editorLayout:x("editor-layout",60131),emptyWindow:x("empty-window",60132),exclude:x("exclude",60133),extensions:x("extensions",60134),eyeClosed:x("eye-closed",60135),fileBinary:x("file-binary",60136),fileCode:x("file-code",60137),fileMedia:x("file-media",60138),filePdf:x("file-pdf",60139),fileSubmodule:x("file-submodule",60140),fileSymlinkDirectory:x("file-symlink-directory",60141),fileSymlinkFile:x("file-symlink-file",60142),fileZip:x("file-zip",60143),files:x("files",60144),filter:x("filter",60145),flame:x("flame",60146),foldDown:x("fold-down",60147),foldUp:x("fold-up",60148),fold:x("fold",60149),folderActive:x("folder-active",60150),folderOpened:x("folder-opened",60151),gear:x("gear",60152),gift:x("gift",60153),gistSecret:x("gist-secret",60154),gist:x("gist",60155),gitCommit:x("git-commit",60156),gitCompare:x("git-compare",60157),compareChanges:x("compare-changes",60157),gitMerge:x("git-merge",60158),githubAction:x("github-action",60159),githubAlt:x("github-alt",60160),globe:x("globe",60161),grabber:x("grabber",60162),graph:x("graph",60163),gripper:x("gripper",60164),heart:x("heart",60165),home:x("home",60166),horizontalRule:x("horizontal-rule",60167),hubot:x("hubot",60168),inbox:x("inbox",60169),issueReopened:x("issue-reopened",60171),issues:x("issues",60172),italic:x("italic",60173),jersey:x("jersey",60174),json:x("json",60175),kebabVertical:x("kebab-vertical",60176),key:x("key",60177),law:x("law",60178),lightbulbAutofix:x("lightbulb-autofix",60179),linkExternal:x("link-external",60180),link:x("link",60181),listOrdered:x("list-ordered",60182),listUnordered:x("list-unordered",60183),liveShare:x("live-share",60184),loading:x("loading",60185),location:x("location",60186),mailRead:x("mail-read",60187),mail:x("mail",60188),markdown:x("markdown",60189),megaphone:x("megaphone",60190),mention:x("mention",60191),milestone:x("milestone",60192),gitPullRequestMilestone:x("git-pull-request-milestone",60192),mortarBoard:x("mortar-board",60193),move:x("move",60194),multipleWindows:x("multiple-windows",60195),mute:x("mute",60196),noNewline:x("no-newline",60197),note:x("note",60198),octoface:x("octoface",60199),openPreview:x("open-preview",60200),package:x("package",60201),paintcan:x("paintcan",60202),pin:x("pin",60203),play:x("play",60204),run:x("run",60204),plug:x("plug",60205),preserveCase:x("preserve-case",60206),preview:x("preview",60207),project:x("project",60208),pulse:x("pulse",60209),question:x("question",60210),quote:x("quote",60211),radioTower:x("radio-tower",60212),reactions:x("reactions",60213),references:x("references",60214),refresh:x("refresh",60215),regex:x("regex",60216),remoteExplorer:x("remote-explorer",60217),remote:x("remote",60218),remove:x("remove",60219),replaceAll:x("replace-all",60220),replace:x("replace",60221),repoClone:x("repo-clone",60222),repoForcePush:x("repo-force-push",60223),repoPull:x("repo-pull",60224),repoPush:x("repo-push",60225),report:x("report",60226),requestChanges:x("request-changes",60227),rocket:x("rocket",60228),rootFolderOpened:x("root-folder-opened",60229),rootFolder:x("root-folder",60230),rss:x("rss",60231),ruby:x("ruby",60232),saveAll:x("save-all",60233),saveAs:x("save-as",60234),save:x("save",60235),screenFull:x("screen-full",60236),screenNormal:x("screen-normal",60237),searchStop:x("search-stop",60238),server:x("server",60240),settingsGear:x("settings-gear",60241),settings:x("settings",60242),shield:x("shield",60243),smiley:x("smiley",60244),sortPrecedence:x("sort-precedence",60245),splitHorizontal:x("split-horizontal",60246),splitVertical:x("split-vertical",60247),squirrel:x("squirrel",60248),starFull:x("star-full",60249),starHalf:x("star-half",60250),symbolClass:x("symbol-class",60251),symbolColor:x("symbol-color",60252),symbolConstant:x("symbol-constant",60253),symbolEnumMember:x("symbol-enum-member",60254),symbolField:x("symbol-field",60255),symbolFile:x("symbol-file",60256),symbolInterface:x("symbol-interface",60257),symbolKeyword:x("symbol-keyword",60258),symbolMisc:x("symbol-misc",60259),symbolOperator:x("symbol-operator",60260),symbolProperty:x("symbol-property",60261),wrench:x("wrench",60261),wrenchSubaction:x("wrench-subaction",60261),symbolSnippet:x("symbol-snippet",60262),tasklist:x("tasklist",60263),telescope:x("telescope",60264),textSize:x("text-size",60265),threeBars:x("three-bars",60266),thumbsdown:x("thumbsdown",60267),thumbsup:x("thumbsup",60268),tools:x("tools",60269),triangleDown:x("triangle-down",60270),triangleLeft:x("triangle-left",60271),triangleRight:x("triangle-right",60272),triangleUp:x("triangle-up",60273),twitter:x("twitter",60274),unfold:x("unfold",60275),unlock:x("unlock",60276),unmute:x("unmute",60277),unverified:x("unverified",60278),verified:x("verified",60279),versions:x("versions",60280),vmActive:x("vm-active",60281),vmOutline:x("vm-outline",60282),vmRunning:x("vm-running",60283),watch:x("watch",60284),whitespace:x("whitespace",60285),wholeWord:x("whole-word",60286),window:x("window",60287),wordWrap:x("word-wrap",60288),zoomIn:x("zoom-in",60289),zoomOut:x("zoom-out",60290),listFilter:x("list-filter",60291),listFlat:x("list-flat",60292),listSelection:x("list-selection",60293),selection:x("selection",60293),listTree:x("list-tree",60294),debugBreakpointFunctionUnverified:x("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:x("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:x("debug-breakpoint-function-disabled",60296),debugStackframeActive:x("debug-stackframe-active",60297),circleSmallFilled:x("circle-small-filled",60298),debugStackframeDot:x("debug-stackframe-dot",60298),terminalDecorationMark:x("terminal-decoration-mark",60298),debugStackframe:x("debug-stackframe",60299),debugStackframeFocused:x("debug-stackframe-focused",60299),debugBreakpointUnsupported:x("debug-breakpoint-unsupported",60300),symbolString:x("symbol-string",60301),debugReverseContinue:x("debug-reverse-continue",60302),debugStepBack:x("debug-step-back",60303),debugRestartFrame:x("debug-restart-frame",60304),debugAlt:x("debug-alt",60305),callIncoming:x("call-incoming",60306),callOutgoing:x("call-outgoing",60307),menu:x("menu",60308),expandAll:x("expand-all",60309),feedback:x("feedback",60310),gitPullRequestReviewer:x("git-pull-request-reviewer",60310),groupByRefType:x("group-by-ref-type",60311),ungroupByRefType:x("ungroup-by-ref-type",60312),account:x("account",60313),gitPullRequestAssignee:x("git-pull-request-assignee",60313),bellDot:x("bell-dot",60314),debugConsole:x("debug-console",60315),library:x("library",60316),output:x("output",60317),runAll:x("run-all",60318),syncIgnored:x("sync-ignored",60319),pinned:x("pinned",60320),githubInverted:x("github-inverted",60321),serverProcess:x("server-process",60322),serverEnvironment:x("server-environment",60323),pass:x("pass",60324),issueClosed:x("issue-closed",60324),stopCircle:x("stop-circle",60325),playCircle:x("play-circle",60326),record:x("record",60327),debugAltSmall:x("debug-alt-small",60328),vmConnect:x("vm-connect",60329),cloud:x("cloud",60330),merge:x("merge",60331),export:x("export",60332),graphLeft:x("graph-left",60333),magnet:x("magnet",60334),notebook:x("notebook",60335),redo:x("redo",60336),checkAll:x("check-all",60337),pinnedDirty:x("pinned-dirty",60338),passFilled:x("pass-filled",60339),circleLargeFilled:x("circle-large-filled",60340),circleLarge:x("circle-large",60341),circleLargeOutline:x("circle-large-outline",60341),combine:x("combine",60342),gather:x("gather",60342),table:x("table",60343),variableGroup:x("variable-group",60344),typeHierarchy:x("type-hierarchy",60345),typeHierarchySub:x("type-hierarchy-sub",60346),typeHierarchySuper:x("type-hierarchy-super",60347),gitPullRequestCreate:x("git-pull-request-create",60348),runAbove:x("run-above",60349),runBelow:x("run-below",60350),notebookTemplate:x("notebook-template",60351),debugRerun:x("debug-rerun",60352),workspaceTrusted:x("workspace-trusted",60353),workspaceUntrusted:x("workspace-untrusted",60354),workspaceUnknown:x("workspace-unknown",60355),terminalCmd:x("terminal-cmd",60356),terminalDebian:x("terminal-debian",60357),terminalLinux:x("terminal-linux",60358),terminalPowershell:x("terminal-powershell",60359),terminalTmux:x("terminal-tmux",60360),terminalUbuntu:x("terminal-ubuntu",60361),terminalBash:x("terminal-bash",60362),arrowSwap:x("arrow-swap",60363),copy:x("copy",60364),personAdd:x("person-add",60365),filterFilled:x("filter-filled",60366),wand:x("wand",60367),debugLineByLine:x("debug-line-by-line",60368),inspect:x("inspect",60369),layers:x("layers",60370),layersDot:x("layers-dot",60371),layersActive:x("layers-active",60372),compass:x("compass",60373),compassDot:x("compass-dot",60374),compassActive:x("compass-active",60375),azure:x("azure",60376),issueDraft:x("issue-draft",60377),gitPullRequestClosed:x("git-pull-request-closed",60378),gitPullRequestDraft:x("git-pull-request-draft",60379),debugAll:x("debug-all",60380),debugCoverage:x("debug-coverage",60381),runErrors:x("run-errors",60382),folderLibrary:x("folder-library",60383),debugContinueSmall:x("debug-continue-small",60384),beakerStop:x("beaker-stop",60385),graphLine:x("graph-line",60386),graphScatter:x("graph-scatter",60387),pieChart:x("pie-chart",60388),bracket:x("bracket",60175),bracketDot:x("bracket-dot",60389),bracketError:x("bracket-error",60390),lockSmall:x("lock-small",60391),azureDevops:x("azure-devops",60392),verifiedFilled:x("verified-filled",60393),newline:x("newline",60394),layout:x("layout",60395),layoutActivitybarLeft:x("layout-activitybar-left",60396),layoutActivitybarRight:x("layout-activitybar-right",60397),layoutPanelLeft:x("layout-panel-left",60398),layoutPanelCenter:x("layout-panel-center",60399),layoutPanelJustify:x("layout-panel-justify",60400),layoutPanelRight:x("layout-panel-right",60401),layoutPanel:x("layout-panel",60402),layoutSidebarLeft:x("layout-sidebar-left",60403),layoutSidebarRight:x("layout-sidebar-right",60404),layoutStatusbar:x("layout-statusbar",60405),layoutMenubar:x("layout-menubar",60406),layoutCentered:x("layout-centered",60407),target:x("target",60408),indent:x("indent",60409),recordSmall:x("record-small",60410),errorSmall:x("error-small",60411),terminalDecorationError:x("terminal-decoration-error",60411),arrowCircleDown:x("arrow-circle-down",60412),arrowCircleLeft:x("arrow-circle-left",60413),arrowCircleRight:x("arrow-circle-right",60414),arrowCircleUp:x("arrow-circle-up",60415),layoutSidebarRightOff:x("layout-sidebar-right-off",60416),layoutPanelOff:x("layout-panel-off",60417),layoutSidebarLeftOff:x("layout-sidebar-left-off",60418),blank:x("blank",60419),heartFilled:x("heart-filled",60420),map:x("map",60421),mapHorizontal:x("map-horizontal",60421),foldHorizontal:x("fold-horizontal",60421),mapFilled:x("map-filled",60422),mapHorizontalFilled:x("map-horizontal-filled",60422),foldHorizontalFilled:x("fold-horizontal-filled",60422),circleSmall:x("circle-small",60423),bellSlash:x("bell-slash",60424),bellSlashDot:x("bell-slash-dot",60425),commentUnresolved:x("comment-unresolved",60426),gitPullRequestGoToChanges:x("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:x("git-pull-request-new-changes",60428),searchFuzzy:x("search-fuzzy",60429),commentDraft:x("comment-draft",60430),send:x("send",60431),sparkle:x("sparkle",60432),insert:x("insert",60433),mic:x("mic",60434),thumbsdownFilled:x("thumbsdown-filled",60435),thumbsupFilled:x("thumbsup-filled",60436),coffee:x("coffee",60437),snake:x("snake",60438),game:x("game",60439),vr:x("vr",60440),chip:x("chip",60441),piano:x("piano",60442),music:x("music",60443),micFilled:x("mic-filled",60444),repoFetch:x("repo-fetch",60445),copilot:x("copilot",60446),lightbulbSparkle:x("lightbulb-sparkle",60447),robot:x("robot",60448),sparkleFilled:x("sparkle-filled",60449),diffSingle:x("diff-single",60450),diffMultiple:x("diff-multiple",60451),surroundWith:x("surround-with",60452),share:x("share",60453),gitStash:x("git-stash",60454),gitStashApply:x("git-stash-apply",60455),gitStashPop:x("git-stash-pop",60456),vscode:x("vscode",60457),vscodeInsiders:x("vscode-insiders",60458),codeOss:x("code-oss",60459),runCoverage:x("run-coverage",60460),runAllCoverage:x("run-all-coverage",60461),coverage:x("coverage",60462),githubProject:x("github-project",60463),mapVertical:x("map-vertical",60464),foldVertical:x("fold-vertical",60464),mapVerticalFilled:x("map-vertical-filled",60465),foldVerticalFilled:x("fold-vertical-filled",60465),goToSearch:x("go-to-search",60466),percentage:x("percentage",60467),sortPercentage:x("sort-percentage",60467),attach:x("attach",60468)},Wy={dialogError:x("dialog-error","error"),dialogWarning:x("dialog-warning","warning"),dialogInfo:x("dialog-info","info"),dialogClose:x("dialog-close","close"),treeItemExpanded:x("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:x("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:x("tree-filter-on-type-off","list-selection"),treeFilterClear:x("tree-filter-clear","close"),treeItemLoading:x("tree-item-loading","loading"),menuSelection:x("menu-selection","check"),menuSubmenu:x("menu-submenu","chevron-right"),menuBarMore:x("menubar-more","more"),scrollbarButtonLeft:x("scrollbar-button-left","triangle-left"),scrollbarButtonRight:x("scrollbar-button-right","triangle-right"),scrollbarButtonUp:x("scrollbar-button-up","triangle-up"),scrollbarButtonDown:x("scrollbar-button-down","triangle-down"),toolBarMore:x("toolbar-more","more"),quickInputBack:x("quick-input-back","arrow-left"),dropDownButton:x("drop-down-button",60084),symbolCustomColor:x("symbol-customcolor",60252),exportIcon:x("export",60332),workspaceUnspecified:x("workspace-unspecified",60355),newLine:x("newline",60394),thumbsDownFilled:x("thumbsdown-filled",60435),thumbsUpFilled:x("thumbsup-filled",60436),gitFetch:x("git-fetch",60445),lightbulbSparkleAutofix:x("lightbulb-sparkle-autofix",60447),debugBreakpointPending:x("debug-breakpoint-pending",60377)},Nn={...Uy,...Wy};class vd{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new Ni,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(t){this._onDidChange.fire({changedLanguages:t,changedColorMap:!1})}register(t,n){return this._tokenizationSupports.set(t,n),this.handleChange([t]),iu(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var i;(i=this._factories.get(t))==null||i.dispose();const r=new Gy(this,t,n);return this._factories.set(t,r),iu(()=>{const s=this._factories.get(t);!s||s!==r||(this._factories.delete(t),s.dispose())})}async getOrCreate(t){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(await r.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Gy extends pa{get isResolved(){return this._isResolved}constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}}class Jy{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Ed;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Ed||(Ed={}));var Ad;(function(e){const t=new Map;t.set(0,Nn.symbolMethod),t.set(1,Nn.symbolFunction),t.set(2,Nn.symbolConstructor),t.set(3,Nn.symbolField),t.set(4,Nn.symbolVariable),t.set(5,Nn.symbolClass),t.set(6,Nn.symbolStruct),t.set(7,Nn.symbolInterface),t.set(8,Nn.symbolModule),t.set(9,Nn.symbolProperty),t.set(10,Nn.symbolEvent),t.set(11,Nn.symbolOperator),t.set(12,Nn.symbolUnit),t.set(13,Nn.symbolValue),t.set(15,Nn.symbolEnum),t.set(14,Nn.symbolConstant),t.set(15,Nn.symbolEnum),t.set(16,Nn.symbolEnumMember),t.set(17,Nn.symbolKeyword),t.set(27,Nn.symbolSnippet),t.set(18,Nn.symbolText),t.set(19,Nn.symbolColor),t.set(20,Nn.symbolFile),t.set(21,Nn.symbolReference),t.set(22,Nn.symbolCustomColor),t.set(23,Nn.symbolFolder),t.set(24,Nn.symbolTypeParameter),t.set(25,Nn.account),t.set(26,Nn.issues);function n(s){let a=t.get(s);return a||(console.info("No codicon found for CompletionItemKind "+s),a=Nn.symbolProperty),a}e.toIcon=n;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26);function i(s,a){let o=r.get(s);return typeof o>"u"&&!a&&(o=9),o}e.fromString=i})(Ad||(Ad={}));var Cd;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Cd||(Cd={}));var xd;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(xd||(xd={}));var Sd;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Sd||(Sd={}));var wd;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(wd||(wd={})),Cr("Array","array"),Cr("Boolean","boolean"),Cr("Class","class"),Cr("Constant","constant"),Cr("Constructor","constructor"),Cr("Enum","enumeration"),Cr("EnumMember","enumeration member"),Cr("Event","event"),Cr("Field","field"),Cr("File","file"),Cr("Function","function"),Cr("Interface","interface"),Cr("Key","key"),Cr("Method","method"),Cr("Module","module"),Cr("Namespace","namespace"),Cr("Null","null"),Cr("Number","number"),Cr("Object","object"),Cr("Operator","operator"),Cr("Package","package"),Cr("Property","property"),Cr("String","string"),Cr("Struct","struct"),Cr("TypeParameter","type parameter"),Cr("Variable","variable");var Fd;(function(e){const t=new Map;t.set(0,Nn.symbolFile),t.set(1,Nn.symbolModule),t.set(2,Nn.symbolNamespace),t.set(3,Nn.symbolPackage),t.set(4,Nn.symbolClass),t.set(5,Nn.symbolMethod),t.set(6,Nn.symbolProperty),t.set(7,Nn.symbolField),t.set(8,Nn.symbolConstructor),t.set(9,Nn.symbolEnum),t.set(10,Nn.symbolInterface),t.set(11,Nn.symbolFunction),t.set(12,Nn.symbolVariable),t.set(13,Nn.symbolConstant),t.set(14,Nn.symbolString),t.set(15,Nn.symbolNumber),t.set(16,Nn.symbolBoolean),t.set(17,Nn.symbolArray),t.set(18,Nn.symbolObject),t.set(19,Nn.symbolKey),t.set(20,Nn.symbolNull),t.set(21,Nn.symbolEnumMember),t.set(22,Nn.symbolStruct),t.set(23,Nn.symbolEvent),t.set(24,Nn.symbolOperator),t.set(25,Nn.symbolTypeParameter);function n(r){let i=t.get(r);return i||(console.info("No codicon found for SymbolKind "+r),i=Nn.symbolProperty),i}e.toIcon=n})(Fd||(Fd={}));let YC=(li=class{static fromValue(t){switch(t){case"comment":return li.Comment;case"imports":return li.Imports;case"region":return li.Region}return new li(t)}constructor(t){this.value=t}},li.Comment=new li("comment"),li.Imports=new li("imports"),li.Region=new li("region"),li);var Nd;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Nd||(Nd={}));var _d;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(_d||(_d={}));var Td;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Td||(Td={}));var Ld;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Ld||(Ld={})),new vd,new vd;var kd;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(kd||(kd={}));var Pd;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Pd||(Pd={}));var Bd;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(Bd||(Bd={}));var Md;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Md||(Md={}));var Id;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(Id||(Id={}));var Od;(function(e){e[e.Deprecated=1]="Deprecated"})(Od||(Od={}));var jd;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(jd||(jd={}));var Rd;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Rd||(Rd={}));var $d;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})($d||($d={}));var Vd;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Vd||(Vd={}));var qd;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(qd||(qd={}));var Ud;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(Ud||(Ud={}));var Wd;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.inlineEdit=63]="inlineEdit",e[e.letterSpacing=64]="letterSpacing",e[e.lightbulb=65]="lightbulb",e[e.lineDecorationsWidth=66]="lineDecorationsWidth",e[e.lineHeight=67]="lineHeight",e[e.lineNumbers=68]="lineNumbers",e[e.lineNumbersMinChars=69]="lineNumbersMinChars",e[e.linkedEditing=70]="linkedEditing",e[e.links=71]="links",e[e.matchBrackets=72]="matchBrackets",e[e.minimap=73]="minimap",e[e.mouseStyle=74]="mouseStyle",e[e.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=76]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",e[e.multiCursorModifier=78]="multiCursorModifier",e[e.multiCursorPaste=79]="multiCursorPaste",e[e.multiCursorLimit=80]="multiCursorLimit",e[e.occurrencesHighlight=81]="occurrencesHighlight",e[e.overviewRulerBorder=82]="overviewRulerBorder",e[e.overviewRulerLanes=83]="overviewRulerLanes",e[e.padding=84]="padding",e[e.pasteAs=85]="pasteAs",e[e.parameterHints=86]="parameterHints",e[e.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",e[e.placeholder=88]="placeholder",e[e.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",e[e.quickSuggestions=90]="quickSuggestions",e[e.quickSuggestionsDelay=91]="quickSuggestionsDelay",e[e.readOnly=92]="readOnly",e[e.readOnlyMessage=93]="readOnlyMessage",e[e.renameOnType=94]="renameOnType",e[e.renderControlCharacters=95]="renderControlCharacters",e[e.renderFinalNewline=96]="renderFinalNewline",e[e.renderLineHighlight=97]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=99]="renderValidationDecorations",e[e.renderWhitespace=100]="renderWhitespace",e[e.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",e[e.roundedSelection=102]="roundedSelection",e[e.rulers=103]="rulers",e[e.scrollbar=104]="scrollbar",e[e.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=106]="scrollBeyondLastLine",e[e.scrollPredominantAxis=107]="scrollPredominantAxis",e[e.selectionClipboard=108]="selectionClipboard",e[e.selectionHighlight=109]="selectionHighlight",e[e.selectOnLineNumbers=110]="selectOnLineNumbers",e[e.showFoldingControls=111]="showFoldingControls",e[e.showUnused=112]="showUnused",e[e.snippetSuggestions=113]="snippetSuggestions",e[e.smartSelect=114]="smartSelect",e[e.smoothScrolling=115]="smoothScrolling",e[e.stickyScroll=116]="stickyScroll",e[e.stickyTabStops=117]="stickyTabStops",e[e.stopRenderingLineAfter=118]="stopRenderingLineAfter",e[e.suggest=119]="suggest",e[e.suggestFontSize=120]="suggestFontSize",e[e.suggestLineHeight=121]="suggestLineHeight",e[e.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",e[e.suggestSelection=123]="suggestSelection",e[e.tabCompletion=124]="tabCompletion",e[e.tabIndex=125]="tabIndex",e[e.unicodeHighlighting=126]="unicodeHighlighting",e[e.unusualLineTerminators=127]="unusualLineTerminators",e[e.useShadowDOM=128]="useShadowDOM",e[e.useTabStops=129]="useTabStops",e[e.wordBreak=130]="wordBreak",e[e.wordSegmenterLocales=131]="wordSegmenterLocales",e[e.wordSeparators=132]="wordSeparators",e[e.wordWrap=133]="wordWrap",e[e.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=136]="wordWrapColumn",e[e.wordWrapOverride1=137]="wordWrapOverride1",e[e.wordWrapOverride2=138]="wordWrapOverride2",e[e.wrappingIndent=139]="wrappingIndent",e[e.wrappingStrategy=140]="wrappingStrategy",e[e.showDeprecated=141]="showDeprecated",e[e.inlayHints=142]="inlayHints",e[e.editorClassName=143]="editorClassName",e[e.pixelRatio=144]="pixelRatio",e[e.tabFocusMode=145]="tabFocusMode",e[e.layoutInfo=146]="layoutInfo",e[e.wrappingInfo=147]="wrappingInfo",e[e.defaultColorDecorators=148]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"})(Wd||(Wd={}));var Gd;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Gd||(Gd={}));var Jd;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Jd||(Jd={}));var Yd;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Yd||(Yd={}));var Hd;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Hd||(Hd={}));var zd;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(zd||(zd={}));var Xd;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Xd||(Xd={}));var Qd;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Qd||(Qd={}));var Kd;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Kd||(Kd={}));var Zd;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Zd||(Zd={}));var Dc;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"})(Dc||(Dc={}));var bc;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(bc||(bc={}));var vc;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(vc||(vc={}));var eh;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(eh||(eh={}));var th;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(th||(th={}));var nh;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(nh||(nh={}));var rh;(function(e){e[e.AIGenerated=1]="AIGenerated"})(rh||(rh={}));var ih;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(ih||(ih={}));var sh;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(sh||(sh={}));var ah;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(ah||(ah={}));var oh;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(oh||(oh={}));var uh;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(uh||(uh={}));var lh;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(lh||(lh={}));var ch;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(ch||(ch={}));var fh;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(fh||(fh={}));var ph;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(ph||(ph={}));var Ec;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(Ec||(Ec={}));var dh;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(dh||(dh={}));var hh;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(hh||(hh={}));var mh;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(mh||(mh={}));var gh;(function(e){e[e.Deprecated=1]="Deprecated"})(gh||(gh={}));var yh;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(yh||(yh={}));var Dh;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(Dh||(Dh={}));var bh;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(bh||(bh={}));var vh;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(vh||(vh={}));const za=class za{static chord(t,n){return Vy(t,n)}};za.CtrlCmd=2048,za.Shift=1024,za.Alt=512,za.WinCtrl=256;let Ac=za;function Yy(){return{editor:void 0,languages:void 0,CancellationTokenSource:Oy,Emitter:Ni,KeyCode:Dc,KeyMod:Ac,Position:Br,Range:ir,Selection:bi,SelectionDirection:Ec,MarkerSeverity:bc,MarkerTag:vc,Uri:zi,Token:Jy}}const Go=class Go{static getChannel(t){return t.getChannel(Go.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(Go.CHANNEL_NAME,n)}};Go.CHANNEL_NAME="editorWorkerHost";let Cc=Go;var Eh;class Hy{constructor(){this[Eh]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var t;return(t=this._head)==null?void 0:t.value}get last(){var t;return(t=this._tail)==null?void 0:t.value}has(t){return this._map.has(t)}get(t,n=0){const r=this._map.get(t);if(r)return n!==0&&this.touch(r,n),r.value}set(t,n,r=0){let i=this._map.get(t);if(i)i.value=n,r!==0&&this.touch(i,r);else{switch(i={key:t,value:n,next:void 0,previous:void 0},r){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(t,i),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){const n=this._map.get(t);if(n)return this._map.delete(t),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){const r=this._state;let i=this._head;for(;i;){if(n?t.bind(n)(i.value,i.key,this):t(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const t=this,n=this._state;let r=this._head;const i={[Symbol.iterator](){return i},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:r.key,done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return i}values(){const t=this,n=this._state;let r=this._head;const i={[Symbol.iterator](){return i},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:r.value,done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return i}entries(){const t=this,n=this._state;let r=this._head;const i={[Symbol.iterator](){return i},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:[r.key,r.value],done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return i}[(Eh=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,r=this.size;for(;n&&r>t;)this._map.delete(n.key),n=n.next,r--;this._head=n,this._size=r,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,r=this.size;for(;n&&r>t;)this._map.delete(n.key),n=n.previous,r--;this._tail=n,this._size=r,n&&(n.next=void 0),this._state++}addItemFirst(t){if(!this._head&&!this._tail)this._tail=t;else if(this._head)t.next=this._head,this._head.previous=t;else throw new Error("Invalid list");this._head=t,this._state++}addItemLast(t){if(!this._head&&!this._tail)this._head=t;else if(this._tail)t.previous=this._tail,this._tail.next=t;else throw new Error("Invalid list");this._tail=t,this._state++}removeItem(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{const n=t.next,r=t.previous;if(!n||!r)throw new Error("Invalid list");n.previous=r,r.next=n}t.next=void 0,t.previous=void 0,this._state++}touch(t,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(t===this._head)return;const r=t.next,i=t.previous;t===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t,this._state++}else if(n===2){if(t===this._tail)return;const r=t.next,i=t.previous;t===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){const t=[];return this.forEach((n,r)=>{t.push([r,n])}),t}fromJSON(t){this.clear();for(const[n,r]of t)this.set(n,r)}}class zy extends Hy{constructor(t,n=1){super(),this._limit=t,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(t){this._limit=t,this.checkTrim()}get(t,n=2){return super.get(t,n)}peek(t){return super.get(t,0)}set(t,n){return super.set(t,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class Xy extends zy{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}}class Qy{constructor(){this.map=new Map}add(t,n){let r=this.map.get(t);r||(r=new Set,this.map.set(t,r)),r.add(n)}delete(t,n){const r=this.map.get(t);r&&(r.delete(n),r.size===0&&this.map.delete(t))}forEach(t,n){const r=this.map.get(t);r&&r.forEach(n)}get(t){const n=this.map.get(t);return n||new Set}}new Xy(10);function Ky(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Ah(e){const t=[];for(const n of Ky(e))typeof e[n]=="function"&&t.push(n);return t}function Zy(e,t){const n=i=>function(){const s=Array.prototype.slice.call(arguments,0);return t(i,s)},r={};for(const i of e)r[i]=n(i);return r}var Ch;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Ch||(Ch={}));var xh;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(xh||(xh={}));var Sh;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Sh||(Sh={}));function eD(e,t,n,r,i){if(r===0)return!0;const s=t.charCodeAt(r-1);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r);if(e.get(a)!==0)return!0}return!1}function tD(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(e.get(s)!==0||s===13||s===10)return!0;if(i>0){const a=t.charCodeAt(r+i-1);if(e.get(a)!==0)return!0}return!1}function nD(e,t,n,r,i){return eD(e,t,n,r,i)&&tD(e,t,n,r,i)}class rD{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const i=r.index,s=r[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){X1(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||nD(this._wordSeparators,t,n,i,s))return r}while(r);return null}}function iD(e,t="Unreachable"){throw new Error(t)}function gu(e){if(!e()){debugger;e(),ho(new Di("Assertion Failed"))}}function wh(e,t){let n=0;for(;n<e.length-1;){const r=e[n],i=e[n+1];if(!t(r,i))return!1;n++}return!0}const sD="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function aD(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of sD)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Fh=aD();function Nh(e){let t=Fh;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const _h=new w1;_h.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function xc(e,t,n,r,i){if(t=Nh(t),i||(i=ru.first(_h)),n.length>i.maxLen){let l=e-i.maxLen/2;return l<0?l=0:r+=l,n=n.substring(l,e+i.maxLen/2),xc(e,t,n,r,i)}const s=Date.now(),a=e-1-r;let o=-1,u=null;for(let l=1;!(Date.now()-s>=i.timeBudget);l++){const b=a-i.windowSize*l;t.lastIndex=Math.max(0,b);const c=oD(t,n,a,o);if(!c&&u||(u=c,b<=0))break;o=b}if(u){const l={word:u[0],startColumn:r+1+u.index,endColumn:r+1+u.index+u[0].length};return t.lastIndex=0,l}return null}function oD(e,t,n,r){let i;for(;i=e.exec(t);){const s=i.index||0;if(s<=n&&e.lastIndex>=n)return i;if(r>0&&s>r)return null}return null}class uD{static computeUnicodeHighlights(t,n,r){const i=r?r.startLineNumber:1,s=r?r.endLineNumber:t.getLineCount(),a=new Th(n),o=a.getCandidateCodePoints();let u;o==="allNonBasicAscii"?u=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):u=new RegExp(`${lD(Array.from(o))}`,"g");const l=new rD(null,u),b=[];let c=!1,_,T=0,ee=0,X=0;e:for(let L=i,he=s;L<=he;L++){const Te=t.getLineContent(L),Pe=Te.length;l.reset(0);do if(_=l.next(Te),_){let Fe=_.index,oe=_.index+_[0].length;if(Fe>0){const Ie=Te.charCodeAt(Fe-1);uu(Ie)&&Fe--}if(oe+1<Pe){const Ie=Te.charCodeAt(oe-1);uu(Ie)&&oe++}const ve=Te.substring(Fe,oe);let We=xc(Fe+1,Fh,Te,0);We&&We.endColumn<=Fe+1&&(We=null);const ze=a.shouldHighlightNonBasicASCII(ve,We?We.word:null);if(ze!==0){if(ze===3?T++:ze===2?ee++:ze===1?X++:iD(),b.length>=1e3){c=!0;break e}b.push(new ir(L,Fe+1,L,oe+1))}}while(_)}return{ranges:b,hasMore:c,ambiguousCharacterCount:T,invisibleCharacterCount:ee,nonBasicAsciiCharacterCount:X}}static computeUnicodeHighlightReason(t,n){const r=new Th(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const s=t.codePointAt(0),a=r.ambiguousCharacters.getPrimaryConfusable(s),o=yo.getLocales().filter(u=>!yo.getInstance(new Set([...n.allowedLocales,u])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function lD(e,t){return`[${J1(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class Th{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=yo.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of Do.codePoints)Lh(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(n)for(const a of n){const o=a.codePointAt(0),u=K1(a);i=i||u,!u&&!this.ambiguousCharacters.isAmbiguous(o)&&!Do.isInvisibleCharacter(o)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!Lh(t)&&Do.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function Lh(e){return e===" "||e===`
8
+ `||e===" "}class yu{constructor(t,n,r){this.changes=t,this.moves=n,this.hitTimeout=r}}class cD{constructor(t,n){this.lineRangeMapping=t,this.changes=n}}class tr{static addRange(t,n){let r=0;for(;r<n.length&&n[r].endExclusive<t.start;)r++;let i=r;for(;i<n.length&&n[i].start<=t.endExclusive;)i++;if(r===i)n.splice(r,0,t);else{const s=Math.min(t.start,n[r].start),a=Math.max(t.endExclusive,n[i-1].endExclusive);n.splice(r,i-r,new tr(s,a))}}static tryCreate(t,n){if(!(t>n))return new tr(t,n)}static ofLength(t){return new tr(0,t)}static ofStartAndLength(t,n){return new tr(t,t+n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new Di(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new tr(this.start+t,this.endExclusive+t)}deltaStart(t){return new tr(this.start+t,this.endExclusive)}deltaEnd(t){return new tr(this.start,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(t){return this.start<=t&&t<this.endExclusive}join(t){return new tr(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),r=Math.min(this.endExclusive,t.endExclusive);if(n<=r)return new tr(n,r)}intersects(t){const n=Math.max(this.start,t.start),r=Math.min(this.endExclusive,t.endExclusive);return n<r}isBefore(t){return this.endExclusive<=t.start}isAfter(t){return this.start>=t.endExclusive}slice(t){return t.slice(this.start,this.endExclusive)}substring(t){return t.substring(this.start,this.endExclusive)}clip(t){if(this.isEmpty)throw new Di(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new Di(`Invalid clipping range: ${this.toString()}`);return t<this.start?this.endExclusive-(this.start-t)%this.length:t>=this.endExclusive?this.start+(t-this.start)%this.length:t}forEach(t){for(let n=this.start;n<this.endExclusive;n++)t(n)}}function ba(e,t){const n=Eo(e,t);return n===-1?void 0:e[n]}function Eo(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?i=a+1:s=a}return i-1}function fD(e,t){const n=Sc(e,t);return n===e.length?void 0:e[n]}function Sc(e,t,n=0,r=e.length){let i=n,s=r;for(;i<s;){const a=Math.floor((i+s)/2);t(e[a])?s=a:i=a+1}return i}const ml=class ml{constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(ml.assertInvariants){if(this._prevFindLastPredicate){for(const r of this._array)if(this._prevFindLastPredicate(r)&&!t(r))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}const n=Eo(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};ml.assertInvariants=!1;let Du=ml;class Hn{static fromRangeInclusive(t){return new Hn(t.startLineNumber,t.endLineNumber+1)}static joinMany(t){if(t.length===0)return[];let n=new Xi(t[0].slice());for(let r=1;r<t.length;r++)n=n.getUnion(new Xi(t[r].slice()));return n.ranges}static join(t){if(t.length===0)throw new Di("lineRanges cannot be empty");let n=t[0].startLineNumber,r=t[0].endLineNumberExclusive;for(let i=1;i<t.length;i++)n=Math.min(n,t[i].startLineNumber),r=Math.max(r,t[i].endLineNumberExclusive);return new Hn(n,r)}static ofLength(t,n){return new Hn(t,t+n)}static deserialize(t){return new Hn(t[0],t[1])}constructor(t,n){if(t>n)throw new Di(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(t){return new Hn(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new Hn(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new Hn(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){const n=Math.max(this.startLineNumber,t.startLineNumber),r=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=r)return new Hn(n,r)}intersectsStrict(t){return this.startLineNumber<t.endLineNumberExclusive&&t.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(t){return this.startLineNumber<=t.endLineNumberExclusive&&t.startLineNumber<=this.endLineNumberExclusive}equals(t){return this.startLineNumber===t.startLineNumber&&this.endLineNumberExclusive===t.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new ir(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new ir(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){const n=[];for(let r=this.startLineNumber;r<this.endLineNumberExclusive;r++)n.push(t(r));return n}forEach(t){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)t(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(t){return this.startLineNumber<=t&&t<this.endLineNumberExclusive}toOffsetRange(){return new tr(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class Xi{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;const n=Sc(this._normalizedRanges,i=>i.endLineNumberExclusive>=t.startLineNumber),r=Eo(this._normalizedRanges,i=>i.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)this._normalizedRanges.splice(n,0,t);else if(n===r-1){const i=this._normalizedRanges[n];this._normalizedRanges[n]=i.join(t)}else{const i=this._normalizedRanges[n].join(this._normalizedRanges[r-1]).join(t);this._normalizedRanges.splice(n,r-n,i)}}contains(t){const n=ba(this._normalizedRanges,r=>r.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}intersects(t){const n=ba(this._normalizedRanges,r=>r.startLineNumber<t.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>t.startLineNumber}getUnion(t){if(this._normalizedRanges.length===0)return t;if(t._normalizedRanges.length===0)return this;const n=[];let r=0,i=0,s=null;for(;r<this._normalizedRanges.length||i<t._normalizedRanges.length;){let a=null;if(r<this._normalizedRanges.length&&i<t._normalizedRanges.length){const o=this._normalizedRanges[r],u=t._normalizedRanges[i];o.startLineNumber<u.startLineNumber?(a=o,r++):(a=u,i++)}else r<this._normalizedRanges.length?(a=this._normalizedRanges[r],r++):(a=t._normalizedRanges[i],i++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new Hn(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new Xi(n)}subtractFrom(t){const n=Sc(this._normalizedRanges,a=>a.endLineNumberExclusive>=t.startLineNumber),r=Eo(this._normalizedRanges,a=>a.startLineNumber<=t.endLineNumberExclusive)+1;if(n===r)return new Xi([t]);const i=[];let s=t.startLineNumber;for(let a=n;a<r;a++){const o=this._normalizedRanges[a];o.startLineNumber>s&&i.push(new Hn(s,o.startLineNumber)),s=o.endLineNumberExclusive}return s<t.endLineNumberExclusive&&i.push(new Hn(s,t.endLineNumberExclusive)),new Xi(i)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){const n=[];let r=0,i=0;for(;r<this._normalizedRanges.length&&i<t._normalizedRanges.length;){const s=this._normalizedRanges[r],a=t._normalizedRanges[i],o=s.intersect(a);o&&!o.isEmpty&&n.push(o),s.endLineNumberExclusive<a.endLineNumberExclusive?r++:i++}return new Xi(n)}getWithDelta(t){return new Xi(this._normalizedRanges.map(n=>n.delta(t)))}}const Is=class Is{static betweenPositions(t,n){return t.lineNumber===n.lineNumber?new Is(0,n.column-t.column):new Is(n.lineNumber-t.lineNumber,n.column-1)}static ofRange(t){return Is.betweenPositions(t.getStartPosition(),t.getEndPosition())}static ofText(t){let n=0,r=0;for(const i of t)i===`
9
+ `?(n++,r=0):r++;return new Is(n,r)}constructor(t,n){this.lineCount=t,this.columnCount=n}isGreaterThanOrEqualTo(t){return this.lineCount!==t.lineCount?this.lineCount>t.lineCount:this.columnCount>=t.columnCount}createRange(t){return this.lineCount===0?new ir(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new ir(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(t){return this.lineCount===0?new Br(t.lineNumber,t.column+this.columnCount):new Br(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};Is.zero=new Is(0,0);let kh=Is;class pD{constructor(t,n){this.range=t,this.text=n}toSingleEditOperation(){return{range:this.range,text:this.text}}}class _i{static inverse(t,n,r){const i=[];let s=1,a=1;for(const u of t){const l=new _i(new Hn(s,u.original.startLineNumber),new Hn(a,u.modified.startLineNumber));l.modified.isEmpty||i.push(l),s=u.original.endLineNumberExclusive,a=u.modified.endLineNumberExclusive}const o=new _i(new Hn(s,n+1),new Hn(a,r+1));return o.modified.isEmpty||i.push(o),i}static clip(t,n,r){const i=[];for(const s of t){const a=s.original.intersect(n),o=s.modified.intersect(r);a&&!a.isEmpty&&o&&!o.isEmpty&&i.push(new _i(a,o))}return i}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new _i(this.modified,this.original)}join(t){return new _i(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){const t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new Ri(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new Di("not a valid diff");return new Ri(new ir(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ir(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new Ri(new ir(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new ir(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(Ph(this.original.endLineNumberExclusive,t)&&Ph(this.modified.endLineNumberExclusive,n))return new Ri(new ir(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ir(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new Ri(ir.fromPositions(new Br(this.original.startLineNumber,1),va(new Br(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),ir.fromPositions(new Br(this.modified.startLineNumber,1),va(new Br(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new Ri(ir.fromPositions(va(new Br(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),va(new Br(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),ir.fromPositions(va(new Br(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),va(new Br(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new Di}}function va(e,t){if(e.lineNumber<1)return new Br(1,1);if(e.lineNumber>t.length)return new Br(t.length,t[t.length-1].length+1);const n=t[e.lineNumber-1];return e.column>n.length+1?new Br(e.lineNumber,n.length+1):e}function Ph(e,t){return e>=1&&e<=t.length}class us extends _i{static fromRangeMappings(t){const n=Hn.join(t.map(i=>Hn.fromRangeInclusive(i.originalRange))),r=Hn.join(t.map(i=>Hn.fromRangeInclusive(i.modifiedRange)));return new us(n,r,t)}constructor(t,n,r){super(t,n),this.innerChanges=r}flip(){var t;return new us(this.modified,this.original,(t=this.innerChanges)==null?void 0:t.map(n=>n.flip()))}withInnerChangesFromLineRanges(){return new us(this.original,this.modified,[this.toRangeMapping()])}}class Ri{static assertSorted(t){for(let n=1;n<t.length;n++){const r=t[n-1],i=t[n];if(!(r.originalRange.getEndPosition().isBeforeOrEqual(i.originalRange.getStartPosition())&&r.modifiedRange.getEndPosition().isBeforeOrEqual(i.modifiedRange.getStartPosition())))throw new Di("Range mappings must be sorted")}}constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new Ri(this.modifiedRange,this.originalRange)}toTextEdit(t){const n=t.getValueOfRange(this.modifiedRange);return new pD(this.originalRange,n)}}const dD=3;class hD{computeDiff(t,n,r){var u;const s=new yD(t,n,{maxComputationTime:r.maxComputationTimeMs,shouldIgnoreTrimWhitespace:r.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let o=null;for(const l of s.changes){let b;l.originalEndLineNumber===0?b=new Hn(l.originalStartLineNumber+1,l.originalStartLineNumber+1):b=new Hn(l.originalStartLineNumber,l.originalEndLineNumber+1);let c;l.modifiedEndLineNumber===0?c=new Hn(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):c=new Hn(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let _=new us(b,c,(u=l.charChanges)==null?void 0:u.map(T=>new Ri(new ir(T.originalStartLineNumber,T.originalStartColumn,T.originalEndLineNumber,T.originalEndColumn),new ir(T.modifiedStartLineNumber,T.modifiedStartColumn,T.modifiedEndLineNumber,T.modifiedEndColumn))));o&&(o.modified.endLineNumberExclusive===_.modified.startLineNumber||o.original.endLineNumberExclusive===_.original.startLineNumber)&&(_=new us(o.original.join(_.original),o.modified.join(_.modified),o.innerChanges&&_.innerChanges?o.innerChanges.concat(_.innerChanges):void 0),a.pop()),a.push(_),o=_}return gu(()=>wh(a,(l,b)=>b.original.startLineNumber-l.original.endLineNumberExclusive===b.modified.startLineNumber-l.modified.endLineNumberExclusive&&l.original.endLineNumberExclusive<b.original.startLineNumber&&l.modified.endLineNumberExclusive<b.modified.startLineNumber)),new yu(a,[],s.quitEarly)}}function Bh(e,t,n,r){return new Ns(e,t,n).ComputeDiff(r)}let Mh=class{constructor(t){const n=[],r=[];for(let i=0,s=t.length;i<s;i++)n[i]=wc(t[i],1),r[i]=Fc(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}getElements(){const t=[];for(let n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t}getStrictElement(t){return this.lines[t]}getStartLineNumber(t){return t+1}getEndLineNumber(t){return t+1}createCharSequence(t,n,r){const i=[],s=[],a=[];let o=0;for(let u=n;u<=r;u++){const l=this.lines[u],b=t?this._startColumns[u]:1,c=t?this._endColumns[u]:l.length+1;for(let _=b;_<c;_++)i[o]=l.charCodeAt(_-1),s[o]=u+1,a[o]=_,o++;!t&&u<r&&(i[o]=10,s[o]=u+1,a[o]=l.length+1,o++)}return new mD(i,s,a)}};class mD{constructor(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}toString(){return"["+this._charCodes.map((t,n)=>(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class Ea{constructor(t,n,r,i,s,a,o,u){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=u}static createFromDiffChange(t,n,r){const i=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),o=n.getEndColumn(t.originalStart+t.originalLength-1),u=r.getStartLineNumber(t.modifiedStart),l=r.getStartColumn(t.modifiedStart),b=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),c=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new Ea(i,s,a,o,u,l,b,c)}}function gD(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const s=e[r],a=s.originalStart-(n.originalStart+n.originalLength),o=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,o)<dD?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}class Ao{constructor(t,n,r,i,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(t,n,r,i,s,a,o){let u,l,b,c,_;if(n.originalLength===0?(u=r.getStartLineNumber(n.originalStart)-1,l=0):(u=r.getStartLineNumber(n.originalStart),l=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(b=i.getStartLineNumber(n.modifiedStart)-1,c=0):(b=i.getStartLineNumber(n.modifiedStart),c=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){const T=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),ee=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(T.getElements().length>0&&ee.getElements().length>0){let X=Bh(T,ee,s,!0).changes;o&&(X=gD(X)),_=[];for(let L=0,he=X.length;L<he;L++)_.push(Ea.createFromDiffChange(X[L],T,ee))}}return new Ao(u,l,b,c,_)}}class yD{constructor(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Mh(t),this.modified=new Mh(n),this.continueLineDiff=Ih(r.maxComputationTime),this.continueCharDiff=Ih(r.maxComputationTime===0?0:Math.min(r.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const t=Bh(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){const o=[];for(let u=0,l=n.length;u<l;u++)o.push(Ao.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[u],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:o}}const i=[];let s=0,a=0;for(let o=-1,u=n.length;o<u;o++){const l=o+1<u?n[o+1]:null,b=l?l.originalStart:this.originalLines.length,c=l?l.modifiedStart:this.modifiedLines.length;for(;s<b&&a<c;){const _=this.originalLines[s],T=this.modifiedLines[a];if(_!==T){{let ee=wc(_,1),X=wc(T,1);for(;ee>1&&X>1;){const L=_.charCodeAt(ee-2),he=T.charCodeAt(X-2);if(L!==he)break;ee--,X--}(ee>1||X>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,ee,a+1,1,X)}{let ee=Fc(_,1),X=Fc(T,1);const L=_.length+1,he=T.length+1;for(;ee<L&&X<he;){const Te=_.charCodeAt(ee-1),Pe=_.charCodeAt(X-1);if(Te!==Pe)break;ee++,X++}(ee<L||X<he)&&this._pushTrimWhitespaceCharChange(i,s+1,ee,L,a+1,X,he)}}s++,a++}l&&(i.push(Ao.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=l.originalLength,a+=l.modifiedLength)}return{quitEarly:r,changes:i}}_pushTrimWhitespaceCharChange(t,n,r,i,s,a,o){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o))return;let u;this.shouldComputeCharChanges&&(u=[new Ea(n,r,n,i,s,a,s,o)]),t.push(new Ao(n,n,s,s,u))}_mergeTrimWhitespaceCharChange(t,n,r,i,s,a,o){const u=t.length;if(u===0)return!1;const l=t[u-1];return l.originalEndLineNumber===0||l.modifiedEndLineNumber===0?!1:l.originalEndLineNumber===n&&l.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new Ea(n,r,n,i,s,a,s,o)),!0):l.originalEndLineNumber+1===n&&l.modifiedEndLineNumber+1===s?(l.originalEndLineNumber=n,l.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new Ea(n,r,n,i,s,a,s,o)),!0):!1}}function wc(e,t){const n=H1(e);return n===-1?t:n+1}function Fc(e,t){const n=z1(e);return n===-1?t:n+2}function Ih(e){if(e===0)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function DD(e,t,n=(r,i)=>r===i){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function*bD(e,t){let n,r;for(const i of e)r!==void 0&&t(r,i)?n.push(i):(n&&(yield n),n=[i]),r=i;n&&(yield n)}function vD(e,t){for(let n=0;n<=e.length;n++)t(n===0?void 0:e[n-1],n===e.length?void 0:e[n])}function ED(e,t){for(let n=0;n<e.length;n++)t(n===0?void 0:e[n-1],e[n],n+1===e.length?void 0:e[n+1])}function AD(e,t){for(const n of t)e.push(n)}var Nc;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function r(s){return s>0}e.isGreaterThan=r;function i(s){return s===0}e.isNeitherLessOrGreaterThan=i,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(Nc||(Nc={}));function bu(e,t){return(n,r)=>t(e(n),e(r))}const vu=(e,t)=>e-t;function CD(e){return(t,n)=>-e(t,n)}const Xa=class Xa{constructor(t){this.iterate=t}toArray(){const t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new Xa(n=>this.iterate(r=>t(r)?n(r):!0))}map(t){return new Xa(n=>this.iterate(r=>n(t(r))))}findLast(t){let n;return this.iterate(r=>(t(r)&&(n=r),!0)),n}findLastMaxBy(t){let n,r=!0;return this.iterate(i=>((r||Nc.isGreaterThan(t(i,n)))&&(r=!1,n=i),!0)),n}};Xa.empty=new Xa(t=>{});let Oh=Xa;class ls{static trivial(t,n){return new ls([new Tr(tr.ofLength(t.length),tr.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new ls([new Tr(tr.ofLength(t.length),tr.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Tr{static invert(t,n){const r=[];return vD(t,(i,s)=>{r.push(Tr.fromOffsetPairs(i?i.getEndExclusives():cs.zero,s?s.getStarts():new cs(n,(i?i.seq2Range.endExclusive-i.seq1Range.endExclusive:0)+n)))}),r}static fromOffsetPairs(t,n){return new Tr(new tr(t.offset1,n.offset1),new tr(t.offset2,n.offset2))}static assertSorted(t){let n;for(const r of t){if(n&&!(n.seq1Range.endExclusive<=r.seq1Range.start&&n.seq2Range.endExclusive<=r.seq2Range.start))throw new Di("Sequence diffs must be sorted");n=r}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new Tr(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Tr(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new Tr(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new Tr(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new Tr(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){const n=this.seq1Range.intersect(t.seq1Range),r=this.seq2Range.intersect(t.seq2Range);if(!(!n||!r))return new Tr(n,r)}getStarts(){return new cs(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new cs(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const ea=class ea{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new ea(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}};ea.zero=new ea(0,0),ea.max=new ea(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);let cs=ea;const gl=class gl{isValid(){return!0}};gl.instance=new gl;let Co=gl;class xD{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new Di("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}}class _c{constructor(t,n){this.width=t,this.height=n,this.array=[],this.array=new Array(t*n)}get(t,n){return this.array[t+n*this.width]}set(t,n,r){this.array[t+n*this.width]=r}}function Tc(e){return e===32||e===9}const Jo=class Jo{static getKey(t){let n=this.chrKeys.get(t);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(t,n)),n}constructor(t,n,r){this.range=t,this.lines=n,this.source=r,this.histogram=[];let i=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){const a=n[s];for(let u=0;u<a.length;u++){i++;const l=a[u],b=Jo.getKey(l);this.histogram[b]=(this.histogram[b]||0)+1}i++;const o=Jo.getKey(`
10
+ `);this.histogram[o]=(this.histogram[o]||0)+1}this.totalCount=i}computeSimilarity(t){let n=0;const r=Math.max(this.histogram.length,t.histogram.length);for(let i=0;i<r;i++)n+=Math.abs((this.histogram[i]??0)-(t.histogram[i]??0));return 1-n/(this.totalCount+t.totalCount)}};Jo.chrKeys=new Map;let Eu=Jo;class SD{compute(t,n,r=Co.instance,i){if(t.length===0||n.length===0)return ls.trivial(t,n);const s=new _c(t.length,n.length),a=new _c(t.length,n.length),o=new _c(t.length,n.length);for(let ee=0;ee<t.length;ee++)for(let X=0;X<n.length;X++){if(!r.isValid())return ls.trivialTimedOut(t,n);const L=ee===0?0:s.get(ee-1,X),he=X===0?0:s.get(ee,X-1);let Te;t.getElement(ee)===n.getElement(X)?(ee===0||X===0?Te=0:Te=s.get(ee-1,X-1),ee>0&&X>0&&a.get(ee-1,X-1)===3&&(Te+=o.get(ee-1,X-1)),Te+=i?i(ee,X):1):Te=-1;const Pe=Math.max(L,he,Te);if(Pe===Te){const Fe=ee>0&&X>0?o.get(ee-1,X-1):0;o.set(ee,X,Fe+1),a.set(ee,X,3)}else Pe===L?(o.set(ee,X,0),a.set(ee,X,1)):Pe===he&&(o.set(ee,X,0),a.set(ee,X,2));s.set(ee,X,Pe)}const u=[];let l=t.length,b=n.length;function c(ee,X){(ee+1!==l||X+1!==b)&&u.push(new Tr(new tr(ee+1,l),new tr(X+1,b))),l=ee,b=X}let _=t.length-1,T=n.length-1;for(;_>=0&&T>=0;)a.get(_,T)===3?(c(_,T),_--,T--):a.get(_,T)===1?_--:T--;return c(-1,-1),u.reverse(),new ls(u,!1)}}class jh{compute(t,n,r=Co.instance){if(t.length===0||n.length===0)return ls.trivial(t,n);const i=t,s=n;function a(X,L){for(;X<i.length&&L<s.length&&i.getElement(X)===s.getElement(L);)X++,L++;return X}let o=0;const u=new wD;u.set(0,a(0,0));const l=new FD;l.set(0,u.get(0)===0?null:new Rh(null,0,0,u.get(0)));let b=0;e:for(;;){if(o++,!r.isValid())return ls.trivialTimedOut(i,s);const X=-Math.min(o,s.length+o%2),L=Math.min(o,i.length+o%2);for(b=X;b<=L;b+=2){const he=b===L?-1:u.get(b+1),Te=b===X?-1:u.get(b-1)+1,Pe=Math.min(Math.max(he,Te),i.length),Fe=Pe-b;if(Pe>i.length||Fe>s.length)continue;const oe=a(Pe,Fe);u.set(b,oe);const ve=Pe===he?l.get(b+1):l.get(b-1);if(l.set(b,oe!==Pe?new Rh(ve,Pe,Fe,oe-Pe):ve),u.get(b)===i.length&&u.get(b)-b===s.length)break e}}let c=l.get(b);const _=[];let T=i.length,ee=s.length;for(;;){const X=c?c.x+c.length:0,L=c?c.y+c.length:0;if((X!==T||L!==ee)&&_.push(new Tr(new tr(X,T),new tr(L,ee))),!c)break;T=c.x,ee=c.y,c=c.prev}return _.reverse(),new ls(_,!1)}}class Rh{constructor(t,n,r,i){this.prev=t,this.x=n,this.y=r,this.length=i}}class wD{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){if(t<0){if(t=-t-1,t>=this.negativeArr.length){const r=this.negativeArr;this.negativeArr=new Int32Array(r.length*2),this.negativeArr.set(r)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const r=this.positiveArr;this.positiveArr=new Int32Array(r.length*2),this.positiveArr.set(r)}this.positiveArr[t]=n}}}class FD{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class Au{constructor(t,n,r){this.lines=t,this.range=n,this.considerWhitespaceChanges=r,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let i=this.range.startLineNumber;i<=this.range.endLineNumber;i++){let s=t[i-1],a=0;i===this.range.startLineNumber&&this.range.startColumn>1&&(a=this.range.startColumn-1,s=s.substring(a)),this.lineStartOffsets.push(a);let o=0;if(!r){const l=s.trimStart();o=s.length-l.length,s=l.trimEnd()}this.trimmedWsLengthsByLineIdx.push(o);const u=i===this.range.endLineNumber?Math.min(this.range.endColumn-1-a-o,s.length):s.length;for(let l=0;l<u;l++)this.elements.push(s.charCodeAt(l));i<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new tr(0,this.length))}getText(t){return this.elements.slice(t.start,t.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=Vh(t>0?this.elements[t-1]:-1),r=Vh(t<this.elements.length?this.elements[t]:-1);if(n===7&&r===8)return 0;if(n===8)return 150;let i=0;return n!==r&&(i+=10,n===0&&r===1&&(i+=1)),i+=$h(n),i+=$h(r),i}translateOffset(t,n="right"){const r=Eo(this.firstElementOffsetByLineIdx,s=>s<=t),i=t-this.firstElementOffsetByLineIdx[r];return new Br(this.range.startLineNumber+r,1+this.lineStartOffsets[r]+i+(i===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[r]))}translateRange(t){const n=this.translateOffset(t.start,"right"),r=this.translateOffset(t.endExclusive,"left");return r.isBefore(n)?ir.fromPositions(r,r):ir.fromPositions(n,r)}findWordContaining(t){if(t<0||t>=this.elements.length||!Lc(this.elements[t]))return;let n=t;for(;n>0&&Lc(this.elements[n-1]);)n--;let r=t;for(;r<this.elements.length&&Lc(this.elements[r]);)r++;return new tr(n,r)}countLinesIn(t){return this.translateOffset(t.endExclusive).lineNumber-this.translateOffset(t.start).lineNumber}isStronglyEqual(t,n){return this.elements[t]===this.elements[n]}extendToFullLines(t){const n=ba(this.firstElementOffsetByLineIdx,i=>i<=t.start)??0,r=fD(this.firstElementOffsetByLineIdx,i=>t.endExclusive<=i)??this.elements.length;return new tr(n,r)}}function Lc(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const ND={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function $h(e){return ND[e]}function Vh(e){return e===10?8:e===13?7:Tc(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:e===44||e===59?5:4}function _D(e,t,n,r,i,s){let{moves:a,excludedChanges:o}=LD(e,t,n,s);if(!s.isValid())return[];const u=e.filter(b=>!o.has(b)),l=kD(u,r,i,t,n,s);return AD(a,l),a=PD(a),a=a.filter(b=>{const c=b.original.toOffsetRange().slice(t).map(T=>T.trim());return c.join(`
11
+ `).length>=15&&TD(c,T=>T.length>=2)>=2}),a=BD(e,a),a}function TD(e,t){let n=0;for(const r of e)t(r)&&n++;return n}function LD(e,t,n,r){const i=[],s=e.filter(u=>u.modified.isEmpty&&u.original.length>=3).map(u=>new Eu(u.original,t,u)),a=new Set(e.filter(u=>u.original.isEmpty&&u.modified.length>=3).map(u=>new Eu(u.modified,n,u))),o=new Set;for(const u of s){let l=-1,b;for(const c of a){const _=u.computeSimilarity(c);_>l&&(l=_,b=c)}if(l>.9&&b&&(a.delete(b),i.push(new _i(u.range,b.range)),o.add(u.source),o.add(b.source)),!r.isValid())return{moves:i,excludedChanges:o}}return{moves:i,excludedChanges:o}}function kD(e,t,n,r,i,s){const a=[],o=new Qy;for(const _ of e)for(let T=_.original.startLineNumber;T<_.original.endLineNumberExclusive-2;T++){const ee=`${t[T-1]}:${t[T+1-1]}:${t[T+2-1]}`;o.add(ee,{range:new Hn(T,T+3)})}const u=[];e.sort(bu(_=>_.modified.startLineNumber,vu));for(const _ of e){let T=[];for(let ee=_.modified.startLineNumber;ee<_.modified.endLineNumberExclusive-2;ee++){const X=`${n[ee-1]}:${n[ee+1-1]}:${n[ee+2-1]}`,L=new Hn(ee,ee+3),he=[];o.forEach(X,({range:Te})=>{for(const Fe of T)if(Fe.originalLineRange.endLineNumberExclusive+1===Te.endLineNumberExclusive&&Fe.modifiedLineRange.endLineNumberExclusive+1===L.endLineNumberExclusive){Fe.originalLineRange=new Hn(Fe.originalLineRange.startLineNumber,Te.endLineNumberExclusive),Fe.modifiedLineRange=new Hn(Fe.modifiedLineRange.startLineNumber,L.endLineNumberExclusive),he.push(Fe);return}const Pe={modifiedLineRange:L,originalLineRange:Te};u.push(Pe),he.push(Pe)}),T=he}if(!s.isValid())return[]}u.sort(CD(bu(_=>_.modifiedLineRange.length,vu)));const l=new Xi,b=new Xi;for(const _ of u){const T=_.modifiedLineRange.startLineNumber-_.originalLineRange.startLineNumber,ee=l.subtractFrom(_.modifiedLineRange),X=b.subtractFrom(_.originalLineRange).getWithDelta(T),L=ee.getIntersection(X);for(const he of L.ranges){if(he.length<3)continue;const Te=he,Pe=he.delta(-T);a.push(new _i(Pe,Te)),l.addRange(Te),b.addRange(Pe)}}a.sort(bu(_=>_.original.startLineNumber,vu));const c=new Du(e);for(let _=0;_<a.length;_++){const T=a[_],ee=c.findLastMonotonous(ve=>ve.original.startLineNumber<=T.original.startLineNumber),X=ba(e,ve=>ve.modified.startLineNumber<=T.modified.startLineNumber),L=Math.max(T.original.startLineNumber-ee.original.startLineNumber,T.modified.startLineNumber-X.modified.startLineNumber),he=c.findLastMonotonous(ve=>ve.original.startLineNumber<T.original.endLineNumberExclusive),Te=ba(e,ve=>ve.modified.startLineNumber<T.modified.endLineNumberExclusive),Pe=Math.max(he.original.endLineNumberExclusive-T.original.endLineNumberExclusive,Te.modified.endLineNumberExclusive-T.modified.endLineNumberExclusive);let Fe;for(Fe=0;Fe<L;Fe++){const ve=T.original.startLineNumber-Fe-1,We=T.modified.startLineNumber-Fe-1;if(ve>r.length||We>i.length||l.contains(We)||b.contains(ve)||!qh(r[ve-1],i[We-1],s))break}Fe>0&&(b.addRange(new Hn(T.original.startLineNumber-Fe,T.original.startLineNumber)),l.addRange(new Hn(T.modified.startLineNumber-Fe,T.modified.startLineNumber)));let oe;for(oe=0;oe<Pe;oe++){const ve=T.original.endLineNumberExclusive+oe,We=T.modified.endLineNumberExclusive+oe;if(ve>r.length||We>i.length||l.contains(We)||b.contains(ve)||!qh(r[ve-1],i[We-1],s))break}oe>0&&(b.addRange(new Hn(T.original.endLineNumberExclusive,T.original.endLineNumberExclusive+oe)),l.addRange(new Hn(T.modified.endLineNumberExclusive,T.modified.endLineNumberExclusive+oe))),(Fe>0||oe>0)&&(a[_]=new _i(new Hn(T.original.startLineNumber-Fe,T.original.endLineNumberExclusive+oe),new Hn(T.modified.startLineNumber-Fe,T.modified.endLineNumberExclusive+oe)))}return a}function qh(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;const i=new jh().compute(new Au([e],new ir(1,1,1,e.length),!1),new Au([t],new ir(1,1,1,t.length),!1),n);let s=0;const a=Tr.invert(i.diffs,e.length);for(const b of a)b.seq1Range.forEach(c=>{Tc(e.charCodeAt(c))||s++});function o(b){let c=0;for(let _=0;_<e.length;_++)Tc(b.charCodeAt(_))||c++;return c}const u=o(e.length>t.length?e:t);return s/u>.6&&u>10}function PD(e){if(e.length===0)return e;e.sort(bu(n=>n.original.startLineNumber,vu));const t=[e[0]];for(let n=1;n<e.length;n++){const r=t[t.length-1],i=e[n],s=i.original.startLineNumber-r.original.endLineNumberExclusive,a=i.modified.startLineNumber-r.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){t[t.length-1]=r.join(i);continue}t.push(i)}return t}function BD(e,t){const n=new Du(e);return t=t.filter(r=>{const i=n.findLastMonotonous(o=>o.original.startLineNumber<r.original.endLineNumberExclusive)||new _i(new Hn(1,1),new Hn(1,1)),s=ba(e,o=>o.modified.startLineNumber<r.modified.endLineNumberExclusive);return i!==s}),t}function Uh(e,t,n){let r=n;return r=Wh(e,t,r),r=Wh(e,t,r),r=MD(e,t,r),r}function Wh(e,t,n){if(n.length===0)return n;const r=[];r.push(n[0]);for(let s=1;s<n.length;s++){const a=r[r.length-1];let o=n[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=o.seq1Range.start-a.seq1Range.endExclusive;let l;for(l=1;l<=u&&!(e.getElement(o.seq1Range.start-l)!==e.getElement(o.seq1Range.endExclusive-l)||t.getElement(o.seq2Range.start-l)!==t.getElement(o.seq2Range.endExclusive-l));l++);if(l--,l===u){r[r.length-1]=new Tr(new tr(a.seq1Range.start,o.seq1Range.endExclusive-u),new tr(a.seq2Range.start,o.seq2Range.endExclusive-u));continue}o=o.delta(-l)}r.push(o)}const i=[];for(let s=0;s<r.length-1;s++){const a=r[s+1];let o=r[s];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const u=a.seq1Range.start-o.seq1Range.endExclusive;let l;for(l=0;l<u&&!(!e.isStronglyEqual(o.seq1Range.start+l,o.seq1Range.endExclusive+l)||!t.isStronglyEqual(o.seq2Range.start+l,o.seq2Range.endExclusive+l));l++);if(l===u){r[s+1]=new Tr(new tr(o.seq1Range.start+u,a.seq1Range.endExclusive),new tr(o.seq2Range.start+u,a.seq2Range.endExclusive));continue}l>0&&(o=o.delta(l))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}function MD(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let r=0;r<n.length;r++){const i=r>0?n[r-1]:void 0,s=n[r],a=r+1<n.length?n[r+1]:void 0,o=new tr(i?i.seq1Range.endExclusive+1:0,a?a.seq1Range.start-1:e.length),u=new tr(i?i.seq2Range.endExclusive+1:0,a?a.seq2Range.start-1:t.length);s.seq1Range.isEmpty?n[r]=Gh(s,e,t,o,u):s.seq2Range.isEmpty&&(n[r]=Gh(s.swap(),t,e,u,o).swap())}return n}function Gh(e,t,n,r,i){let a=1;for(;e.seq1Range.start-a>=r.start&&e.seq2Range.start-a>=i.start&&n.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let o=0;for(;e.seq1Range.start+o<r.endExclusive&&e.seq2Range.endExclusive+o<i.endExclusive&&n.isStronglyEqual(e.seq2Range.start+o,e.seq2Range.endExclusive+o)&&o<100;)o++;if(a===0&&o===0)return e;let u=0,l=-1;for(let b=-a;b<=o;b++){const c=e.seq2Range.start+b,_=e.seq2Range.endExclusive+b,T=e.seq1Range.start+b,ee=t.getBoundaryScore(T)+n.getBoundaryScore(c)+n.getBoundaryScore(_);ee>l&&(l=ee,u=b)}return e.delta(u)}function ID(e,t,n){const r=[];for(const i of n){const s=r[r.length-1];if(!s){r.push(i);continue}i.seq1Range.start-s.seq1Range.endExclusive<=2||i.seq2Range.start-s.seq2Range.endExclusive<=2?r[r.length-1]=new Tr(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):r.push(i)}return r}function OD(e,t,n){const r=Tr.invert(n,e.length),i=[];let s=new cs(0,0);function a(u,l){if(u.offset1<s.offset1||u.offset2<s.offset2)return;const b=e.findWordContaining(u.offset1),c=t.findWordContaining(u.offset2);if(!b||!c)return;let _=new Tr(b,c);const T=_.intersect(l);let ee=T.seq1Range.length,X=T.seq2Range.length;for(;r.length>0;){const L=r[0];if(!(L.seq1Range.intersects(_.seq1Range)||L.seq2Range.intersects(_.seq2Range)))break;const Te=e.findWordContaining(L.seq1Range.start),Pe=t.findWordContaining(L.seq2Range.start),Fe=new Tr(Te,Pe),oe=Fe.intersect(L);if(ee+=oe.seq1Range.length,X+=oe.seq2Range.length,_=_.join(Fe),_.seq1Range.endExclusive>=L.seq1Range.endExclusive)r.shift();else break}ee+X<(_.seq1Range.length+_.seq2Range.length)*2/3&&i.push(_),s=_.getEndExclusives()}for(;r.length>0;){const u=r.shift();u.seq1Range.isEmpty||(a(u.getStarts(),u),a(u.getEndExclusives().delta(-1),u))}return jD(n,i)}function jD(e,t){const n=[];for(;e.length>0||t.length>0;){const r=e[0],i=t[0];let s;r&&(!i||r.seq1Range.start<i.seq1Range.start)?s=e.shift():s=t.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function RD(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const a=[r[0]];for(let o=1;o<r.length;o++){let b=function(_,T){const ee=new tr(l.seq1Range.endExclusive,u.seq1Range.start);return e.getText(ee).replace(/\s/g,"").length<=4&&(_.seq1Range.length+_.seq2Range.length>5||T.seq1Range.length+T.seq2Range.length>5)};const u=r[o],l=a[a.length-1];b(l,u)?(s=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}r=a}while(i++<10&&s);return r}function $D(e,t,n){let r=n;if(r.length===0)return r;let i=0,s;do{s=!1;const o=[r[0]];for(let u=1;u<r.length;u++){let c=function(T,ee){const X=new tr(b.seq1Range.endExclusive,l.seq1Range.start);if(e.countLinesIn(X)>5||X.length>500)return!1;const he=e.getText(X).trim();if(he.length>20||he.split(/\r\n|\r|\n/).length>1)return!1;const Te=e.countLinesIn(T.seq1Range),Pe=T.seq1Range.length,Fe=t.countLinesIn(T.seq2Range),oe=T.seq2Range.length,ve=e.countLinesIn(ee.seq1Range),We=ee.seq1Range.length,ze=t.countLinesIn(ee.seq2Range),Ie=ee.seq2Range.length,Qe=2*40+50;function Ke(Ve){return Math.min(Ve,Qe)}return Math.pow(Math.pow(Ke(Te*40+Pe),1.5)+Math.pow(Ke(Fe*40+oe),1.5),1.5)+Math.pow(Math.pow(Ke(ve*40+We),1.5)+Math.pow(Ke(ze*40+Ie),1.5),1.5)>(Qe**1.5)**1.5*1.3};const l=r[u],b=o[o.length-1];c(b,l)?(s=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}r=o}while(i++<10&&s);const a=[];return ED(r,(o,u,l)=>{let b=u;function c(he){return he.length>0&&he.trim().length<=3&&u.seq1Range.length+u.seq2Range.length>100}const _=e.extendToFullLines(u.seq1Range),T=e.getText(new tr(_.start,u.seq1Range.start));c(T)&&(b=b.deltaStart(-T.length));const ee=e.getText(new tr(u.seq1Range.endExclusive,_.endExclusive));c(ee)&&(b=b.deltaEnd(ee.length));const X=Tr.fromOffsetPairs(o?o.getEndExclusives():cs.zero,l?l.getStarts():cs.max),L=b.intersect(X);a.length>0&&L.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(L):a.push(L)}),a}class Jh{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:Yh(this.lines[t-1]),r=t===this.lines.length?0:Yh(this.lines[t]);return 1e3-(n+r)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
12
+ `)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}}function Yh(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}class VD{constructor(){this.dynamicProgrammingDiffing=new SD,this.myersDiffingAlgorithm=new jh}computeDiff(t,n,r){if(t.length<=1&&DD(t,n,(oe,ve)=>oe===ve))return new yu([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new yu([new us(new Hn(1,t.length+1),new Hn(1,n.length+1),[new Ri(new ir(1,1,t.length,t[t.length-1].length+1),new ir(1,1,n.length,n[n.length-1].length+1))])],[],!1);const i=r.maxComputationTimeMs===0?Co.instance:new xD(r.maxComputationTimeMs),s=!r.ignoreTrimWhitespace,a=new Map;function o(oe){let ve=a.get(oe);return ve===void 0&&(ve=a.size,a.set(oe,ve)),ve}const u=t.map(oe=>o(oe.trim())),l=n.map(oe=>o(oe.trim())),b=new Jh(u,t),c=new Jh(l,n),_=b.length+c.length<1700?this.dynamicProgrammingDiffing.compute(b,c,i,(oe,ve)=>t[oe]===n[ve]?n[ve].length===0?.1:1+Math.log(1+n[ve].length):.99):this.myersDiffingAlgorithm.compute(b,c,i);let T=_.diffs,ee=_.hitTimeout;T=Uh(b,c,T),T=RD(b,c,T);const X=[],L=oe=>{if(s)for(let ve=0;ve<oe;ve++){const We=he+ve,ze=Te+ve;if(t[We]!==n[ze]){const Ie=this.refineDiff(t,n,new Tr(new tr(We,We+1),new tr(ze,ze+1)),i,s);for(const Qe of Ie.mappings)X.push(Qe);Ie.hitTimeout&&(ee=!0)}}};let he=0,Te=0;for(const oe of T){gu(()=>oe.seq1Range.start-he===oe.seq2Range.start-Te);const ve=oe.seq1Range.start-he;L(ve),he=oe.seq1Range.endExclusive,Te=oe.seq2Range.endExclusive;const We=this.refineDiff(t,n,oe,i,s);We.hitTimeout&&(ee=!0);for(const ze of We.mappings)X.push(ze)}L(t.length-he);const Pe=Hh(X,t,n);let Fe=[];return r.computeMoves&&(Fe=this.computeMoves(Pe,t,n,u,l,i,s)),gu(()=>{function oe(We,ze){if(We.lineNumber<1||We.lineNumber>ze.length)return!1;const Ie=ze[We.lineNumber-1];return!(We.column<1||We.column>Ie.length+1)}function ve(We,ze){return!(We.startLineNumber<1||We.startLineNumber>ze.length+1||We.endLineNumberExclusive<1||We.endLineNumberExclusive>ze.length+1)}for(const We of Pe){if(!We.innerChanges)return!1;for(const ze of We.innerChanges)if(!(oe(ze.modifiedRange.getStartPosition(),n)&&oe(ze.modifiedRange.getEndPosition(),n)&&oe(ze.originalRange.getStartPosition(),t)&&oe(ze.originalRange.getEndPosition(),t)))return!1;if(!ve(We.modified,n)||!ve(We.original,t))return!1}return!0}),new yu(Pe,Fe,ee)}computeMoves(t,n,r,i,s,a,o){return _D(t,n,r,i,s,a).map(b=>{const c=this.refineDiff(n,r,new Tr(b.original.toOffsetRange(),b.modified.toOffsetRange()),a,o),_=Hh(c.mappings,n,r,!0);return new cD(b,_)})}refineDiff(t,n,r,i,s){const o=UD(r).toRangeMapping2(t,n),u=new Au(t,o.originalRange,s),l=new Au(n,o.modifiedRange,s),b=u.length+l.length<500?this.dynamicProgrammingDiffing.compute(u,l,i):this.myersDiffingAlgorithm.compute(u,l,i);let c=b.diffs;return c=Uh(u,l,c),c=OD(u,l,c),c=ID(u,l,c),c=$D(u,l,c),{mappings:c.map(T=>new Ri(u.translateRange(T.seq1Range),l.translateRange(T.seq2Range))),hitTimeout:b.hitTimeout}}}function Hh(e,t,n,r=!1){const i=[];for(const s of bD(e.map(a=>qD(a,t,n)),(a,o)=>a.original.overlapOrTouch(o.original)||a.modified.overlapOrTouch(o.modified))){const a=s[0],o=s[s.length-1];i.push(new us(a.original.join(o.original),a.modified.join(o.modified),s.map(u=>u.innerChanges[0])))}return gu(()=>!r&&i.length>0&&(i[0].modified.startLineNumber!==i[0].original.startLineNumber||n.length-i[i.length-1].modified.endLineNumberExclusive!==t.length-i[i.length-1].original.endLineNumberExclusive)?!1:wh(i,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),i}function qD(e,t,n){let r=0,i=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const s=new Hn(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new Hn(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new us(s,a,[e])}function UD(e){return new _i(new Hn(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new Hn(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}const zh={getLegacy:()=>new hD,getDefault:()=>new VD};function _s(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class Wr{constructor(t,n,r,i=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,t))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,r))|0,this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}}class Ti{constructor(t,n,r,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=_s(Math.max(Math.min(1,n),0),3),this.l=_s(Math.max(Math.min(1,r),0),3),this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.l===n.l&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=t.a,a=Math.max(n,r,i),o=Math.min(n,r,i);let u=0,l=0;const b=(o+a)/2,c=a-o;if(c>0){switch(l=Math.min(b<=.5?c/(2*b):c/(2-2*b),1),a){case n:u=(r-i)/c+(r<i?6:0);break;case r:u=(i-n)/c+2;break;case i:u=(n-r)/c+4;break}u*=60,u=Math.round(u)}return new Ti(u,l,b,s)}static _hue2rgb(t,n,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(n-t)*6*r:r<1/2?n:r<2/3?t+(n-t)*(2/3-r)*6:t}static toRGBA(t){const n=t.h/360,{s:r,l:i,a:s}=t;let a,o,u;if(r===0)a=o=u=i;else{const l=i<.5?i*(1+r):i+r-i*r,b=2*i-l;a=Ti._hue2rgb(b,l,n+1/3),o=Ti._hue2rgb(b,l,n),u=Ti._hue2rgb(b,l,n-1/3)}return new Wr(Math.round(a*255),Math.round(o*255),Math.round(u*255),s)}}class Aa{constructor(t,n,r,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=_s(Math.max(Math.min(1,n),0),3),this.v=_s(Math.max(Math.min(1,r),0),3),this.a=_s(Math.max(Math.min(1,i),0),3)}static equals(t,n){return t.h===n.h&&t.s===n.s&&t.v===n.v&&t.a===n.a}static fromRGBA(t){const n=t.r/255,r=t.g/255,i=t.b/255,s=Math.max(n,r,i),a=Math.min(n,r,i),o=s-a,u=s===0?0:o/s;let l;return o===0?l=0:s===n?l=((r-i)/o%6+6)%6:s===r?l=(i-n)/o+2:l=(n-r)/o+4,new Aa(Math.round(l*60),u,s,t.a)}static toRGBA(t){const{h:n,s:r,v:i,a:s}=t,a=i*r,o=a*(1-Math.abs(n/60%2-1)),u=i-a;let[l,b,c]=[0,0,0];return n<60?(l=a,b=o):n<120?(l=o,b=a):n<180?(b=a,c=o):n<240?(b=o,c=a):n<300?(l=o,c=a):n<=360&&(l=a,c=o),l=Math.round((l+u)*255),b=Math.round((b+u)*255),c=Math.round((c+u)*255),new Wr(l,b,c,s)}}let Cu=(lr=class{static fromHex(t){return lr.Format.CSS.parseHex(t)||lr.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Ti.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Aa.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof Wr)this.rgba=t;else if(t instanceof Ti)this._hsla=t,this.rgba=Ti.toRGBA(t);else if(t instanceof Aa)this._hsva=t,this.rgba=Aa.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&Wr.equals(this.rgba,t.rgba)&&Ti.equals(this.hsla,t.hsla)&&Aa.equals(this.hsva,t.hsva)}getRelativeLuminance(){const t=lr._relativeLuminanceForComponent(this.rgba.r),n=lr._relativeLuminanceForComponent(this.rgba.g),r=lr._relativeLuminanceForComponent(this.rgba.b),i=.2126*t+.7152*n+.0722*r;return _s(i,4)}static _relativeLuminanceForComponent(t){const n=t/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n>r}isDarkerThan(t){const n=this.getRelativeLuminance(),r=t.getRelativeLuminance();return n<r}lighten(t){return new lr(new Ti(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new lr(new Ti(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){const{r:n,g:r,b:i,a:s}=this.rgba;return new lr(new Wr(n,r,i,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new lr(new Wr(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(t){if(this.isOpaque()||t.rgba.a!==1)return this;const{r:n,g:r,b:i,a:s}=this.rgba;return new lr(new Wr(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-r),t.rgba.b-s*(t.rgba.b-i),1))}toString(){return this._toString||(this._toString=lr.Format.CSS.format(this)),this._toString}static getLighterColor(t,n,r){if(t.isLighterThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(s-i)/s,t.lighten(r)}static getDarkerColor(t,n,r){if(t.isDarkerThan(n))return t;r=r||.5;const i=t.getRelativeLuminance(),s=n.getRelativeLuminance();return r=r*(i-s)/i,t.darken(r)}},lr.white=new lr(new Wr(255,255,255,1)),lr.black=new lr(new Wr(0,0,0,1)),lr.red=new lr(new Wr(255,0,0,1)),lr.blue=new lr(new Wr(0,0,255,1)),lr.green=new lr(new Wr(0,255,0,1)),lr.cyan=new lr(new Wr(0,255,255,1)),lr.lightgrey=new lr(new Wr(211,211,211,1)),lr.transparent=new lr(new Wr(0,0,0,0)),lr);(function(e){(function(t){(function(n){function r(T){return T.rgba.a===1?`rgb(${T.rgba.r}, ${T.rgba.g}, ${T.rgba.b})`:e.Format.CSS.formatRGBA(T)}n.formatRGB=r;function i(T){return`rgba(${T.rgba.r}, ${T.rgba.g}, ${T.rgba.b}, ${+T.rgba.a.toFixed(2)})`}n.formatRGBA=i;function s(T){return T.hsla.a===1?`hsl(${T.hsla.h}, ${(T.hsla.s*100).toFixed(2)}%, ${(T.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(T)}n.formatHSL=s;function a(T){return`hsla(${T.hsla.h}, ${(T.hsla.s*100).toFixed(2)}%, ${(T.hsla.l*100).toFixed(2)}%, ${T.hsla.a.toFixed(2)})`}n.formatHSLA=a;function o(T){const ee=T.toString(16);return ee.length!==2?"0"+ee:ee}function u(T){return`#${o(T.rgba.r)}${o(T.rgba.g)}${o(T.rgba.b)}`}n.formatHex=u;function l(T,ee=!1){return ee&&T.rgba.a===1?e.Format.CSS.formatHex(T):`#${o(T.rgba.r)}${o(T.rgba.g)}${o(T.rgba.b)}${o(Math.round(T.rgba.a*255))}`}n.formatHexA=l;function b(T){return T.isOpaque()?e.Format.CSS.formatHex(T):e.Format.CSS.formatRGBA(T)}n.format=b;function c(T){const ee=T.length;if(ee===0||T.charCodeAt(0)!==35)return null;if(ee===7){const X=16*_(T.charCodeAt(1))+_(T.charCodeAt(2)),L=16*_(T.charCodeAt(3))+_(T.charCodeAt(4)),he=16*_(T.charCodeAt(5))+_(T.charCodeAt(6));return new e(new Wr(X,L,he,1))}if(ee===9){const X=16*_(T.charCodeAt(1))+_(T.charCodeAt(2)),L=16*_(T.charCodeAt(3))+_(T.charCodeAt(4)),he=16*_(T.charCodeAt(5))+_(T.charCodeAt(6)),Te=16*_(T.charCodeAt(7))+_(T.charCodeAt(8));return new e(new Wr(X,L,he,Te/255))}if(ee===4){const X=_(T.charCodeAt(1)),L=_(T.charCodeAt(2)),he=_(T.charCodeAt(3));return new e(new Wr(16*X+X,16*L+L,16*he+he))}if(ee===5){const X=_(T.charCodeAt(1)),L=_(T.charCodeAt(2)),he=_(T.charCodeAt(3)),Te=_(T.charCodeAt(4));return new e(new Wr(16*X+X,16*L+L,16*he+he,(16*Te+Te)/255))}return null}n.parseHex=c;function _(T){switch(T){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))})(Cu||(Cu={}));function Xh(e){const t=[];for(const n of e){const r=Number(n);(r||r===0&&n.replace(/\s/g,"")!=="")&&t.push(r)}return t}function kc(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function xo(e,t){const n=t.index,r=t[0].length;if(!n)return;const i=e.positionAt(n);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function WD(e,t){if(!e)return;const n=Cu.Format.CSS.parseHex(t);if(n)return{range:e,color:kc(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Qh(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Xh(i);return{range:e,color:kc(s[0],s[1],s[2],n?s[3]:1)}}function Kh(e,t,n){if(!e||t.length!==1)return;const i=t[0].values(),s=Xh(i),a=new Cu(new Ti(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:kc(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function So(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function GD(e){const t=[],r=So(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(r.length>0)for(const i of r){const s=i.filter(l=>l!==void 0),a=s[1],o=s[2];if(!o)continue;let u;if(a==="rgb"){const l=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;u=Qh(xo(e,i),So(o,l),!1)}else if(a==="rgba"){const l=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=Qh(xo(e,i),So(o,l),!0)}else if(a==="hsl"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;u=Kh(xo(e,i),So(o,l),!1)}else if(a==="hsla"){const l=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;u=Kh(xo(e,i),So(o,l),!0)}else a==="#"&&(u=WD(xo(e,i),a+o));u&&t.push(u)}return t}function JD(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:GD(e)}const Zh=new RegExp("\\bMARK:\\s*(.*)$","d"),YD=/^-+|-+$/g;function HD(e,t){var r;let n=[];if(t.findRegionSectionHeaders&&((r=t.foldingRules)!=null&&r.markers)){const i=zD(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){const i=XD(e);n=n.concat(i)}return n}function zD(e,t){const n=[],r=e.getLineCount();for(let i=1;i<=r;i++){const s=e.getLineContent(i),a=s.match(t.foldingRules.markers.start);if(a){const o={startLineNumber:i,startColumn:a[0].length+1,endLineNumber:i,endColumn:s.length+1};if(o.endColumn>o.startColumn){const u={range:o,...e0(s.substring(a[0].length)),shouldBeInComments:!1};(u.text||u.hasSeparatorLine)&&n.push(u)}}}return n}function XD(e){const t=[],n=e.getLineCount();for(let r=1;r<=n;r++){const i=e.getLineContent(r);QD(i,r,t)}return t}function QD(e,t,n){Zh.lastIndex=0;const r=Zh.exec(e);if(r){const i=r.indices[1][0]+1,s=r.indices[1][1]+1,a={startLineNumber:t,startColumn:i,endLineNumber:t,endColumn:s};if(a.endColumn>a.startColumn){const o={range:a,...e0(r[1]),shouldBeInComments:!0};(o.text||o.hasSeparatorLine)&&n.push(o)}}}function e0(e){e=e.trim();const t=e.startsWith("-");return e=e.replace(YD,""),{text:e,hasSeparatorLine:t}}var t0;(function(e){async function t(r){let i;const s=await Promise.all(r.map(a=>a.then(o=>o,o=>{i||(i=o)})));if(typeof i<"u")throw i;return s}e.settled=t;function n(r){return new Promise(async(i,s)=>{try{await r(i,s)}catch(a){s(a)}})}e.withAsyncBody=n})(t0||(t0={}));const ci=class ci{static fromArray(t){return new ci(n=>{n.emitMany(t)})}static fromPromise(t){return new ci(async n=>{n.emitMany(await t)})}static fromPromises(t){return new ci(async n=>{await Promise.all(t.map(async r=>n.emitOne(await r)))})}static merge(t){return new ci(async n=>{await Promise.all(t.map(async r=>{for await(const i of r)n.emitOne(i)}))})}constructor(t,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new Ni,queueMicrotask(async()=>{const r={emitOne:i=>this.emitOne(i),emitMany:i=>this.emitMany(i),reject:i=>this.reject(i)};try{await Promise.resolve(t(r)),this.resolve()}catch(i){this.reject(i)}finally{r.emitOne=void 0,r.emitMany=void 0,r.reject=void 0}})}[Symbol.asyncIterator](){let t=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(t<this._results.length)return{done:!1,value:this._results[t++]};if(this._state===1)return{done:!0,value:void 0};await au.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>{var n;return(n=this._onReturn)==null||n.call(this),{done:!0,value:void 0}}}}static map(t,n){return new ci(async r=>{for await(const i of t)r.emitOne(n(i))})}map(t){return ci.map(this,t)}static filter(t,n){return new ci(async r=>{for await(const i of t)n(i)&&r.emitOne(i)})}filter(t){return ci.filter(this,t)}static coalesce(t){return ci.filter(t,n=>!!n)}coalesce(){return ci.coalesce(this)}static async toPromise(t){const n=[];for await(const r of t)n.push(r);return n}toPromise(){return ci.toPromise(this)}emitOne(t){this._state===0&&(this._results.push(t),this._onStateChanged.fire())}emitMany(t){this._state===0&&(this._results=this._results.concat(t),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(t){this._state===0&&(this._state=2,this._error=t,this._onStateChanged.fire())}};ci.EMPTY=ci.fromArray([]);let n0=ci;class KD{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Da(t);const r=this.values,i=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(r.length+s),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+s),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Da(t),n=Da(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)}removeValues(t,n){t=Da(t),n=Da(n);const r=this.values,i=this.prefixSum;if(t>=r.length)return!1;const s=r.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=Da(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,i=0,s=0,a=0;for(;n<=r;)if(i=n+(r-n)/2|0,s=this.prefixSum[i],a=s-this.values[i],t<a)r=i-1;else if(t>=s)n=i+1;else break;return new ZD(i,t-a)}}class ZD{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class eb{constructor(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new Br(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new KD(r)}}_setLineText(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.setValue(t,this._lines[t].length+this._eol.length)}_acceptDeleteRange(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)}_acceptInsertText(t,n){if(n.length===0)return;const r=Y1(n);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);const i=new Uint32Array(r.length-1);for(let s=1;s<r.length;s++)this._lines.splice(t.lineNumber+s-1,0,r[s]),i[s-1]=r[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)}}class tb{constructor(){this._models=Object.create(null)}getModel(t){return this._models[t]}getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new nb(zi.parse(t.url),t.lines,t.EOL,t.versionId)}$acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}$acceptRemovedModel(t){this._models[t]&&delete this._models[t]}}class nb extends eb{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){const n=[];for(let r=0;r<this._lines.length;r++){const i=this._lines[r],s=this.offsetAt(new Br(r+1,1)),a=i.matchAll(t);for(const o of a)(o.index||o.index===0)&&(o.index=o.index+s),n.push(o)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=xc(t.column,Nh(n),this._lines[t.lineNumber-1],0);return r?new ir(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let i=0,s="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(a<o.length){const u=s.substring(o[a].start,o[a].end);a+=1,yield u}else if(i<n.length)s=n[i],o=r(s,t),a=0,i+=1;else break}}}getLineWords(t,n){const r=this._lines[t-1],i=this._wordenize(r,n),s=[];for(const a of i)s.push({word:r.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(t,n){const r=[];let i;for(n.lastIndex=0;(i=n.exec(t))&&i[0].length!==0;)r.push({start:i.index,end:i.index+i[0].length});return r}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);const n=this._eol,r=t.startLineNumber-1,i=t.endLineNumber-1,s=[];s.push(this._lines[r].substring(t.startColumn-1));for(let a=r+1;a<i;a++)s.push(this._lines[a]);return s.push(this._lines[i].substring(0,t.endColumn-1)),s.join(n)}offsetAt(t){return t=this._validatePosition(t),this._ensureLineStarts(),this._lineStarts.getPrefixSum(t.lineNumber-2)+(t.column-1)}positionAt(t){t=Math.floor(t),t=Math.max(0,t),this._ensureLineStarts();const n=this._lineStarts.getIndexOf(t),r=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,r)}}_validateRange(t){const n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),r=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||r.lineNumber!==t.endLineNumber||r.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}:t}_validatePosition(t){if(!Br.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:r}=t,i=!1;if(n<1)n=1,r=1,i=!0;else if(n>this._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,i=!0;else{const s=this._lines[n-1].length+1;r<1?(r=1,i=!0):r>s&&(r=s,i=!0)}return i?{lineNumber:n,column:r}:t}}const yl=class yl{constructor(){this._workerTextModelSyncServer=new tb}dispose(){}_getModel(t){return this._workerTextModelSyncServer.getModel(t)}_getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(t){this._workerTextModelSyncServer.$acceptNewModel(t)}$acceptModelChanged(t,n){this._workerTextModelSyncServer.$acceptModelChanged(t,n)}$acceptRemovedModel(t){this._workerTextModelSyncServer.$acceptRemovedModel(t)}async $computeUnicodeHighlights(t,n,r){const i=this._getModel(t);return i?uD.computeUnicodeHighlights(i,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){const r=this._getModel(t);return r?HD(r,n):[]}async $computeDiff(t,n,r,i){const s=this._getModel(t),a=this._getModel(n);return!s||!a?null:xu.computeDiff(s,a,r,i)}static computeDiff(t,n,r,i){const s=i==="advanced"?zh.getDefault():zh.getLegacy(),a=t.getLinesContent(),o=n.getLinesContent(),u=s.computeDiff(a,o,r),l=u.changes.length>0?!1:this._modelsAreIdentical(t,n);function b(c){return c.map(_=>{var T;return[_.original.startLineNumber,_.original.endLineNumberExclusive,_.modified.startLineNumber,_.modified.endLineNumberExclusive,(T=_.innerChanges)==null?void 0:T.map(ee=>[ee.originalRange.startLineNumber,ee.originalRange.startColumn,ee.originalRange.endLineNumber,ee.originalRange.endColumn,ee.modifiedRange.startLineNumber,ee.modifiedRange.startColumn,ee.modifiedRange.endLineNumber,ee.modifiedRange.endColumn])]})}return{identical:l,quitEarly:u.hitTimeout,changes:b(u.changes),moves:u.moves.map(c=>[c.lineRangeMapping.original.startLineNumber,c.lineRangeMapping.original.endLineNumberExclusive,c.lineRangeMapping.modified.startLineNumber,c.lineRangeMapping.modified.endLineNumberExclusive,b(c.changes)])}}static _modelsAreIdentical(t,n){const r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(let s=1;s<=r;s++){const a=t.getLineContent(s),o=n.getLineContent(s);if(a!==o)return!1}return!0}async $computeMoreMinimalEdits(t,n,r){const i=this._getModel(t);if(!i)return n;const s=[];let a;n=n.slice(0).sort((u,l)=>{if(u.range&&l.range)return ir.compareRangesUsingStarts(u.range,l.range);const b=u.range?0:1,c=l.range?0:1;return b-c});let o=0;for(let u=1;u<n.length;u++)ir.getEndPosition(n[o].range).equals(ir.getStartPosition(n[u].range))?(n[o].range=ir.fromPositions(ir.getStartPosition(n[o].range),ir.getEndPosition(n[u].range)),n[o].text+=n[u].text):(o++,n[o]=n[u]);n.length=o+1;for(let{range:u,text:l,eol:b}of n){if(typeof b=="number"&&(a=b),ir.isEmpty(u)&&!l)continue;const c=i.getValueInRange(u);if(l=l.replace(/\r\n|\n|\r/g,i.eol),c===l)continue;if(Math.max(l.length,c.length)>xu._diffLimit){s.push({range:u,text:l});continue}const _=Ly(c,l,r),T=i.offsetAt(ir.lift(u).getStartPosition());for(const ee of _){const X=i.positionAt(T+ee.originalStart),L=i.positionAt(T+ee.originalStart+ee.originalLength),he={text:l.substr(ee.modifiedStart,ee.modifiedLength),range:{startLineNumber:X.lineNumber,startColumn:X.column,endLineNumber:L.lineNumber,endColumn:L.column}};i.getValueInRange(he.range)!==he.text&&s.push(he)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){const n=this._getModel(t);return n?Iy(n):null}async $computeDefaultDocumentColors(t){const n=this._getModel(t);return n?JD(n):null}async $textualSuggest(t,n,r,i){const s=new su,a=new RegExp(r,i),o=new Set;e:for(const u of t){const l=this._getModel(u);if(l){for(const b of l.words(a))if(!(b===n||!isNaN(Number(b)))&&(o.add(b),o.size>xu._suggestionsLimit))break e}}return{words:Array.from(o),duration:s.elapsed()}}async $computeWordRanges(t,n,r,i){const s=this._getModel(t);if(!s)return Object.create(null);const a=new RegExp(r,i),o=Object.create(null);for(let u=n.startLineNumber;u<n.endLineNumber;u++){const l=s.getLineWords(u,a);for(const b of l){if(!isNaN(Number(b.word)))continue;let c=o[b.word];c||(c=[],o[b.word]=c),c.push({startLineNumber:u,startColumn:b.startColumn,endLineNumber:u,endColumn:b.endColumn})}}return o}async $navigateValueSet(t,n,r,i,s){const a=this._getModel(t);if(!a)return null;const o=new RegExp(i,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const u=a.getValueInRange(n),l=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!l)return null;const b=a.getValueInRange(l);return hc.INSTANCE.navigateValueSet(n,u,l,b,r)}};yl._diffLimit=1e5,yl._suggestionsLimit=1e4;let Pc=yl;class xu extends Pc{constructor(t,n){super(),this._host=t,this._foreignModuleFactory=n,this._foreignModule=null}async $ping(){return"pong"}$loadForeignModule(t,n,r){const a={host:Zy(r,(o,u)=>this._host.$fhr(o,u)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,n),Promise.resolve(Ah(this._foreignModule))):new Promise((o,u)=>{const l=b=>{this._foreignModule=b.create(a,n),o(Ah(this._foreignModule))};import(`${ad.asBrowserUri(`${t}.js`).toString(!0)}`).then(l).catch(u)})}$fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}typeof importScripts=="function"&&(globalThis.monaco=Yy());let Bc=!1;function r0(e){if(Bc)return;Bc=!0;const t=new Ny(n=>{globalThis.postMessage(n)},n=>new xu(Cc.getChannel(n),e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{Bc||r0(null)};function rb(e){self.onmessage=()=>{r0((t,n)=>Object.create(e(t,n)))}}let i0=class Up{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){const n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){for(const r of t)if(Up.isIncremental(r)){const i=o0(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),u=Math.max(i.end.line,0);let l=this._lineOffsets;const b=s0(r.text,!1,s);if(u-o===b.length)for(let _=0,T=b.length;_<T;_++)l[_+o+1]=b[_];else b.length<1e4?l.splice(o+1,u-o,...b):this._lineOffsets=l=l.slice(0,o+1).concat(b,l.slice(u+1));const c=r.text.length-(a-s);if(c!==0)for(let _=o+1+b.length,T=l.length;_<T;_++)l[_]=l[_]+c}else if(Up.isFull(r))this._content=r.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=s0(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);const n=this.getLineOffsets();let r=0,i=n.length;if(i===0)return{line:0,character:t};for(;r<i;){const a=Math.floor((r+i)/2);n[a]>t?i=a:r=a+1}const s=r-1;return t=this.ensureBeforeEOL(t,n[s]),{line:s,character:t-n[s]}}offsetAt(t){const n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;const r=n[t.line];if(t.character<=0)return r;const i=t.line+1<n.length?n[t.line+1]:this._content.length,s=Math.min(r+t.character,i);return this.ensureBeforeEOL(s,r)}ensureBeforeEOL(t,n){for(;t>n&&a0(this._content.charCodeAt(t-1));)t--;return t}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){const n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){const n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}};var Mc;(function(e){function t(i,s,a,o){return new i0(i,s,a,o)}e.create=t;function n(i,s,a){if(i instanceof i0)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function r(i,s){const a=i.getText(),o=Ic(s.map(ib),(b,c)=>{const _=b.range.start.line-c.range.start.line;return _===0?b.range.start.character-c.range.start.character:_});let u=0;const l=[];for(const b of o){const c=i.offsetAt(b.range.start);if(c<u)throw new Error("Overlapping edit");c>u&&l.push(a.substring(u,c)),b.newText.length&&l.push(b.newText),u=i.offsetAt(b.range.end)}return l.push(a.substr(u)),l.join("")}e.applyEdits=r})(Mc||(Mc={}));function Ic(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);Ic(r,t),Ic(i,t);let s=0,a=0,o=0;for(;s<r.length&&a<i.length;)t(r[s],i[a])<=0?e[o++]=r[s++]:e[o++]=i[a++];for(;s<r.length;)e[o++]=r[s++];for(;a<i.length;)e[o++]=i[a++];return e}function s0(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){const s=e.charCodeAt(i);a0(s)&&(s===13&&i+1<e.length&&e.charCodeAt(i+1)===10&&i++,r.push(n+i+1))}return r}function a0(e){return e===13||e===10}function o0(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function ib(e){const t=o0(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function sb(e,t=!1){const n=e.length;let r=0,i="",s=0,a=16,o=0,u=0,l=0,b=0,c=0;function _(Pe,Fe){let oe=0,ve=0;for(;oe<Pe||!Fe;){let We=e.charCodeAt(r);if(We>=48&&We<=57)ve=ve*16+We-48;else if(We>=65&&We<=70)ve=ve*16+We-65+10;else if(We>=97&&We<=102)ve=ve*16+We-97+10;else break;r++,oe++}return oe<Pe&&(ve=-1),ve}function T(Pe){r=Pe,i="",s=0,a=16,c=0}function ee(){let Pe=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&Ca(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&Ca(e.charCodeAt(r)))for(r++;r<e.length&&Ca(e.charCodeAt(r));)r++;else return c=3,e.substring(Pe,r);let Fe=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&Ca(e.charCodeAt(r))){for(r++;r<e.length&&Ca(e.charCodeAt(r));)r++;Fe=r}else c=3;return e.substring(Pe,Fe)}function X(){let Pe="",Fe=r;for(;;){if(r>=n){Pe+=e.substring(Fe,r),c=2;break}const oe=e.charCodeAt(r);if(oe===34){Pe+=e.substring(Fe,r),r++;break}if(oe===92){if(Pe+=e.substring(Fe,r),r++,r>=n){c=2;break}switch(e.charCodeAt(r++)){case 34:Pe+='"';break;case 92:Pe+="\\";break;case 47:Pe+="/";break;case 98:Pe+="\b";break;case 102:Pe+="\f";break;case 110:Pe+=`
13
+ `;break;case 114:Pe+="\r";break;case 116:Pe+=" ";break;case 117:const We=_(4,!0);We>=0?Pe+=String.fromCharCode(We):c=4;break;default:c=5}Fe=r;continue}if(oe>=0&&oe<=31)if(wo(oe)){Pe+=e.substring(Fe,r),c=2;break}else c=6;r++}return Pe}function L(){if(i="",c=0,s=r,u=o,b=l,r>=n)return s=n,a=17;let Pe=e.charCodeAt(r);if(Oc(Pe)){do r++,i+=String.fromCharCode(Pe),Pe=e.charCodeAt(r);while(Oc(Pe));return a=15}if(wo(Pe))return r++,i+=String.fromCharCode(Pe),Pe===13&&e.charCodeAt(r)===10&&(r++,i+=`
14
+ `),o++,l=r,a=14;switch(Pe){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=X(),a=10;case 47:const Fe=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!wo(e.charCodeAt(r));)r++;return i=e.substring(Fe,r),a=12}if(e.charCodeAt(r+1)===42){r+=2;const oe=n-1;let ve=!1;for(;r<oe;){const We=e.charCodeAt(r);if(We===42&&e.charCodeAt(r+1)===47){r+=2,ve=!0;break}r++,wo(We)&&(We===13&&e.charCodeAt(r)===10&&r++,o++,l=r)}return ve||(r++,c=1),i=e.substring(Fe,r),a=13}return i+=String.fromCharCode(Pe),r++,a=16;case 45:if(i+=String.fromCharCode(Pe),r++,r===n||!Ca(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=ee(),a=11;default:for(;r<n&&he(Pe);)r++,Pe=e.charCodeAt(r);if(s!==r){switch(i=e.substring(s,r),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(Pe),r++,a=16}}function he(Pe){if(Oc(Pe)||wo(Pe))return!1;switch(Pe){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function Te(){let Pe;do Pe=L();while(Pe>=12&&Pe<=15);return Pe}return{setPosition:T,getPosition:()=>r,scan:t?Te:L,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>s,getTokenLength:()=>r-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-b,getTokenError:()=>c}}function Oc(e){return e===32||e===9}function wo(e){return e===10||e===13}function Ca(e){return e>=48&&e<=57}var u0;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(u0||(u0={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const xa=200;new Array(xa).fill(0).map((e,t)=>`
15
+ `+" ".repeat(t)),new Array(xa).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(xa).fill(0).map((e,t)=>`\r
16
+ `+" ".repeat(t)),new Array(xa).fill(0).map((e,t)=>`
17
+ `+" ".repeat(t)),new Array(xa).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(xa).fill(0).map((e,t)=>`\r
18
+ `+" ".repeat(t));var Su;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Su||(Su={}));function ab(e,t=[],n=Su.DEFAULT){let r=null,i=[];const s=[];function a(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return ob(e,{onObjectBegin:()=>{const u={};a(u),s.push(i),i=u,r=null},onObjectProperty:u=>{r=u},onObjectEnd:()=>{i=s.pop()},onArrayBegin:()=>{const u=[];a(u),s.push(i),i=u,r=null},onArrayEnd:()=>{i=s.pop()},onLiteralValue:a,onError:(u,l,b)=>{t.push({error:u,offset:l,length:b})}},n),i[0]}function jc(e){switch(e.type){case"array":return e.children.map(jc);case"object":const t=Object.create(null);for(let n of e.children){const r=n.children[1];r&&(t[n.children[0].value]=jc(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function ob(e,t,n=Su.DEFAULT){const r=sb(e,!1),i=[];let s=0;function a(Xe){return Xe?()=>s===0&&Xe(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function o(Xe){return Xe?kt=>s===0&&Xe(kt,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(Xe){return Xe?kt=>s===0&&Xe(kt,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(Xe){return Xe?()=>{s>0?s++:Xe(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(s=1)}:()=>!0}function b(Xe){return Xe?()=>{s>0&&s--,s===0&&Xe(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const c=l(t.onObjectBegin),_=u(t.onObjectProperty),T=b(t.onObjectEnd),ee=l(t.onArrayBegin),X=b(t.onArrayEnd),L=u(t.onLiteralValue),he=o(t.onSeparator),Te=a(t.onComment),Pe=o(t.onError),Fe=n&&n.disallowComments,oe=n&&n.allowTrailingComma;function ve(){for(;;){const Xe=r.scan();switch(r.getTokenError()){case 4:We(14);break;case 5:We(15);break;case 3:We(13);break;case 1:Fe||We(11);break;case 2:We(12);break;case 6:We(16);break}switch(Xe){case 12:case 13:Fe?We(10):Te();break;case 16:We(1);break;case 15:case 14:break;default:return Xe}}}function We(Xe,kt=[],Bt=[]){if(Pe(Xe),kt.length+Bt.length>0){let Gt=r.getToken();for(;Gt!==17;){if(kt.indexOf(Gt)!==-1){ve();break}else if(Bt.indexOf(Gt)!==-1)break;Gt=ve()}}}function ze(Xe){const kt=r.getTokenValue();return Xe?L(kt):(_(kt),i.push(kt)),ve(),!0}function Ie(){switch(r.getToken()){case 11:const Xe=r.getTokenValue();let kt=Number(Xe);isNaN(kt)&&(We(2),kt=0),L(kt);break;case 7:L(null);break;case 8:L(!0);break;case 9:L(!1);break;default:return!1}return ve(),!0}function Qe(){return r.getToken()!==10?(We(3,[],[2,5]),!1):(ze(!1),r.getToken()===6?(he(":"),ve(),ct()||We(4,[],[2,5])):We(5,[],[2,5]),i.pop(),!0)}function Ke(){c(),ve();let Xe=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(Xe||We(4,[],[]),he(","),ve(),r.getToken()===2&&oe)break}else Xe&&We(6,[],[]);Qe()||We(4,[],[2,5]),Xe=!0}return T(),r.getToken()!==2?We(7,[2],[]):ve(),!0}function Ve(){ee(),ve();let Xe=!0,kt=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(kt||We(4,[],[]),he(","),ve(),r.getToken()===4&&oe)break}else kt&&We(6,[],[]);Xe?(i.push(0),Xe=!1):i[i.length-1]++,ct()||We(4,[],[4,5]),kt=!0}return X(),Xe||i.pop(),r.getToken()!==4?We(8,[4],[]):ve(),!0}function ct(){switch(r.getToken()){case 3:return Ve();case 1:return Ke();case 10:return ze(!0);default:return Ie()}}return ve(),r.getToken()===17?n.allowEmptyContent?!0:(We(4,[],[]),!1):ct()?(r.getToken()!==17&&We(9,[],[]),!0):(We(4,[],[]),!1)}var l0;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(l0||(l0={}));var c0;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(c0||(c0={}));const ub=ab,lb=jc;var f0;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(f0||(f0={}));var p0;(()=>{var e={470:i=>{function s(u){if(typeof u!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(u))}function a(u,l){for(var b,c="",_=0,T=-1,ee=0,X=0;X<=u.length;++X){if(X<u.length)b=u.charCodeAt(X);else{if(b===47)break;b=47}if(b===47){if(!(T===X-1||ee===1))if(T!==X-1&&ee===2){if(c.length<2||_!==2||c.charCodeAt(c.length-1)!==46||c.charCodeAt(c.length-2)!==46){if(c.length>2){var L=c.lastIndexOf("/");if(L!==c.length-1){L===-1?(c="",_=0):_=(c=c.slice(0,L)).length-1-c.lastIndexOf("/"),T=X,ee=0;continue}}else if(c.length===2||c.length===1){c="",_=0,T=X,ee=0;continue}}l&&(c.length>0?c+="/..":c="..",_=2)}else c.length>0?c+="/"+u.slice(T+1,X):c=u.slice(T+1,X),_=X-T-1;T=X,ee=0}else b===46&&ee!==-1?++ee:ee=-1}return c}var o={resolve:function(){for(var u,l="",b=!1,c=arguments.length-1;c>=-1&&!b;c--){var _;c>=0?_=arguments[c]:(u===void 0&&(u=process.cwd()),_=u),s(_),_.length!==0&&(l=_+"/"+l,b=_.charCodeAt(0)===47)}return l=a(l,!b),b?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(u){if(s(u),u.length===0)return".";var l=u.charCodeAt(0)===47,b=u.charCodeAt(u.length-1)===47;return(u=a(u,!l)).length!==0||l||(u="."),u.length>0&&b&&(u+="/"),l?"/"+u:u},isAbsolute:function(u){return s(u),u.length>0&&u.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var u,l=0;l<arguments.length;++l){var b=arguments[l];s(b),b.length>0&&(u===void 0?u=b:u+="/"+b)}return u===void 0?".":o.normalize(u)},relative:function(u,l){if(s(u),s(l),u===l||(u=o.resolve(u))===(l=o.resolve(l)))return"";for(var b=1;b<u.length&&u.charCodeAt(b)===47;++b);for(var c=u.length,_=c-b,T=1;T<l.length&&l.charCodeAt(T)===47;++T);for(var ee=l.length-T,X=_<ee?_:ee,L=-1,he=0;he<=X;++he){if(he===X){if(ee>X){if(l.charCodeAt(T+he)===47)return l.slice(T+he+1);if(he===0)return l.slice(T+he)}else _>X&&(u.charCodeAt(b+he)===47?L=he:he===0&&(L=0));break}var Te=u.charCodeAt(b+he);if(Te!==l.charCodeAt(T+he))break;Te===47&&(L=he)}var Pe="";for(he=b+L+1;he<=c;++he)he!==c&&u.charCodeAt(he)!==47||(Pe.length===0?Pe+="..":Pe+="/..");return Pe.length>0?Pe+l.slice(T+L):(T+=L,l.charCodeAt(T)===47&&++T,l.slice(T))},_makeLong:function(u){return u},dirname:function(u){if(s(u),u.length===0)return".";for(var l=u.charCodeAt(0),b=l===47,c=-1,_=!0,T=u.length-1;T>=1;--T)if((l=u.charCodeAt(T))===47){if(!_){c=T;break}}else _=!1;return c===-1?b?"/":".":b&&c===1?"//":u.slice(0,c)},basename:function(u,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');s(u);var b,c=0,_=-1,T=!0;if(l!==void 0&&l.length>0&&l.length<=u.length){if(l.length===u.length&&l===u)return"";var ee=l.length-1,X=-1;for(b=u.length-1;b>=0;--b){var L=u.charCodeAt(b);if(L===47){if(!T){c=b+1;break}}else X===-1&&(T=!1,X=b+1),ee>=0&&(L===l.charCodeAt(ee)?--ee==-1&&(_=b):(ee=-1,_=X))}return c===_?_=X:_===-1&&(_=u.length),u.slice(c,_)}for(b=u.length-1;b>=0;--b)if(u.charCodeAt(b)===47){if(!T){c=b+1;break}}else _===-1&&(T=!1,_=b+1);return _===-1?"":u.slice(c,_)},extname:function(u){s(u);for(var l=-1,b=0,c=-1,_=!0,T=0,ee=u.length-1;ee>=0;--ee){var X=u.charCodeAt(ee);if(X!==47)c===-1&&(_=!1,c=ee+1),X===46?l===-1?l=ee:T!==1&&(T=1):l!==-1&&(T=-1);else if(!_){b=ee+1;break}}return l===-1||c===-1||T===0||T===1&&l===c-1&&l===b+1?"":u.slice(l,c)},format:function(u){if(u===null||typeof u!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof u);return function(l,b){var c=b.dir||b.root,_=b.base||(b.name||"")+(b.ext||"");return c?c===b.root?c+_:c+"/"+_:_}(0,u)},parse:function(u){s(u);var l={root:"",dir:"",base:"",ext:"",name:""};if(u.length===0)return l;var b,c=u.charCodeAt(0),_=c===47;_?(l.root="/",b=1):b=0;for(var T=-1,ee=0,X=-1,L=!0,he=u.length-1,Te=0;he>=b;--he)if((c=u.charCodeAt(he))!==47)X===-1&&(L=!1,X=he+1),c===46?T===-1?T=he:Te!==1&&(Te=1):T!==-1&&(Te=-1);else if(!L){ee=he+1;break}return T===-1||X===-1||Te===0||Te===1&&T===X-1&&T===ee+1?X!==-1&&(l.base=l.name=ee===0&&_?u.slice(1,X):u.slice(ee,X)):(ee===0&&_?(l.name=u.slice(1,T),l.base=u.slice(1,X)):(l.name=u.slice(ee,T),l.base=u.slice(ee,X)),l.ext=u.slice(T,X)),ee>0?l.dir=u.slice(0,ee-1):_&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},t={};function n(i){var s=t[i];if(s!==void 0)return s.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,n),a.exports}n.d=(i,s)=>{for(var a in s)n.o(s,a)&&!n.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},n.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),n.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;n.r(r),n.d(r,{URI:()=>_,Utils:()=>Qe}),typeof process=="object"?i=process.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function u(Ke,Ve){if(!Ke.scheme&&Ve)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${Ke.authority}", path: "${Ke.path}", query: "${Ke.query}", fragment: "${Ke.fragment}"}`);if(Ke.scheme&&!s.test(Ke.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(Ke.path){if(Ke.authority){if(!a.test(Ke.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(Ke.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const l="",b="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class _{constructor(Ve,ct,Xe,kt,Bt,Gt=!1){Rs(this,"scheme");Rs(this,"authority");Rs(this,"path");Rs(this,"query");Rs(this,"fragment");typeof Ve=="object"?(this.scheme=Ve.scheme||l,this.authority=Ve.authority||l,this.path=Ve.path||l,this.query=Ve.query||l,this.fragment=Ve.fragment||l):(this.scheme=function(hn,_n){return hn||_n?hn:"file"}(Ve,Gt),this.authority=ct||l,this.path=function(hn,_n){switch(hn){case"https":case"http":case"file":_n?_n[0]!==b&&(_n=b+_n):_n=b}return _n}(this.scheme,Xe||l),this.query=kt||l,this.fragment=Bt||l,u(this,Gt))}static isUri(Ve){return Ve instanceof _||!!Ve&&typeof Ve.authority=="string"&&typeof Ve.fragment=="string"&&typeof Ve.path=="string"&&typeof Ve.query=="string"&&typeof Ve.scheme=="string"&&typeof Ve.fsPath=="string"&&typeof Ve.with=="function"&&typeof Ve.toString=="function"}get fsPath(){return Te(this)}with(Ve){if(!Ve)return this;let{scheme:ct,authority:Xe,path:kt,query:Bt,fragment:Gt}=Ve;return ct===void 0?ct=this.scheme:ct===null&&(ct=l),Xe===void 0?Xe=this.authority:Xe===null&&(Xe=l),kt===void 0?kt=this.path:kt===null&&(kt=l),Bt===void 0?Bt=this.query:Bt===null&&(Bt=l),Gt===void 0?Gt=this.fragment:Gt===null&&(Gt=l),ct===this.scheme&&Xe===this.authority&&kt===this.path&&Bt===this.query&&Gt===this.fragment?this:new ee(ct,Xe,kt,Bt,Gt)}static parse(Ve,ct=!1){const Xe=c.exec(Ve);return Xe?new ee(Xe[2]||l,ve(Xe[4]||l),ve(Xe[5]||l),ve(Xe[7]||l),ve(Xe[9]||l),ct):new ee(l,l,l,l,l)}static file(Ve){let ct=l;if(i&&(Ve=Ve.replace(/\\/g,b)),Ve[0]===b&&Ve[1]===b){const Xe=Ve.indexOf(b,2);Xe===-1?(ct=Ve.substring(2),Ve=b):(ct=Ve.substring(2,Xe),Ve=Ve.substring(Xe)||b)}return new ee("file",ct,Ve,l,l)}static from(Ve){const ct=new ee(Ve.scheme,Ve.authority,Ve.path,Ve.query,Ve.fragment);return u(ct,!0),ct}toString(Ve=!1){return Pe(this,Ve)}toJSON(){return this}static revive(Ve){if(Ve){if(Ve instanceof _)return Ve;{const ct=new ee(Ve);return ct._formatted=Ve.external,ct._fsPath=Ve._sep===T?Ve.fsPath:null,ct}}return Ve}}const T=i?1:void 0;class ee extends _{constructor(){super(...arguments);Rs(this,"_formatted",null);Rs(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=Te(this)),this._fsPath}toString(ct=!1){return ct?Pe(this,!0):(this._formatted||(this._formatted=Pe(this,!1)),this._formatted)}toJSON(){const ct={$mid:1};return this._fsPath&&(ct.fsPath=this._fsPath,ct._sep=T),this._formatted&&(ct.external=this._formatted),this.path&&(ct.path=this.path),this.scheme&&(ct.scheme=this.scheme),this.authority&&(ct.authority=this.authority),this.query&&(ct.query=this.query),this.fragment&&(ct.fragment=this.fragment),ct}}const X={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function L(Ke,Ve,ct){let Xe,kt=-1;for(let Bt=0;Bt<Ke.length;Bt++){const Gt=Ke.charCodeAt(Bt);if(Gt>=97&&Gt<=122||Gt>=65&&Gt<=90||Gt>=48&&Gt<=57||Gt===45||Gt===46||Gt===95||Gt===126||Ve&&Gt===47||ct&&Gt===91||ct&&Gt===93||ct&&Gt===58)kt!==-1&&(Xe+=encodeURIComponent(Ke.substring(kt,Bt)),kt=-1),Xe!==void 0&&(Xe+=Ke.charAt(Bt));else{Xe===void 0&&(Xe=Ke.substr(0,Bt));const hn=X[Gt];hn!==void 0?(kt!==-1&&(Xe+=encodeURIComponent(Ke.substring(kt,Bt)),kt=-1),Xe+=hn):kt===-1&&(kt=Bt)}}return kt!==-1&&(Xe+=encodeURIComponent(Ke.substring(kt))),Xe!==void 0?Xe:Ke}function he(Ke){let Ve;for(let ct=0;ct<Ke.length;ct++){const Xe=Ke.charCodeAt(ct);Xe===35||Xe===63?(Ve===void 0&&(Ve=Ke.substr(0,ct)),Ve+=X[Xe]):Ve!==void 0&&(Ve+=Ke[ct])}return Ve!==void 0?Ve:Ke}function Te(Ke,Ve){let ct;return ct=Ke.authority&&Ke.path.length>1&&Ke.scheme==="file"?`//${Ke.authority}${Ke.path}`:Ke.path.charCodeAt(0)===47&&(Ke.path.charCodeAt(1)>=65&&Ke.path.charCodeAt(1)<=90||Ke.path.charCodeAt(1)>=97&&Ke.path.charCodeAt(1)<=122)&&Ke.path.charCodeAt(2)===58?Ke.path[1].toLowerCase()+Ke.path.substr(2):Ke.path,i&&(ct=ct.replace(/\//g,"\\")),ct}function Pe(Ke,Ve){const ct=Ve?he:L;let Xe="",{scheme:kt,authority:Bt,path:Gt,query:hn,fragment:_n}=Ke;if(kt&&(Xe+=kt,Xe+=":"),(Bt||kt==="file")&&(Xe+=b,Xe+=b),Bt){let jn=Bt.indexOf("@");if(jn!==-1){const Dr=Bt.substr(0,jn);Bt=Bt.substr(jn+1),jn=Dr.lastIndexOf(":"),jn===-1?Xe+=ct(Dr,!1,!1):(Xe+=ct(Dr.substr(0,jn),!1,!1),Xe+=":",Xe+=ct(Dr.substr(jn+1),!1,!0)),Xe+="@"}Bt=Bt.toLowerCase(),jn=Bt.lastIndexOf(":"),jn===-1?Xe+=ct(Bt,!1,!0):(Xe+=ct(Bt.substr(0,jn),!1,!0),Xe+=Bt.substr(jn))}if(Gt){if(Gt.length>=3&&Gt.charCodeAt(0)===47&&Gt.charCodeAt(2)===58){const jn=Gt.charCodeAt(1);jn>=65&&jn<=90&&(Gt=`/${String.fromCharCode(jn+32)}:${Gt.substr(3)}`)}else if(Gt.length>=2&&Gt.charCodeAt(1)===58){const jn=Gt.charCodeAt(0);jn>=65&&jn<=90&&(Gt=`${String.fromCharCode(jn+32)}:${Gt.substr(2)}`)}Xe+=ct(Gt,!0,!1)}return hn&&(Xe+="?",Xe+=ct(hn,!1,!1)),_n&&(Xe+="#",Xe+=Ve?_n:L(_n,!1,!1)),Xe}function Fe(Ke){try{return decodeURIComponent(Ke)}catch{return Ke.length>3?Ke.substr(0,3)+Fe(Ke.substr(3)):Ke}}const oe=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ve(Ke){return Ke.match(oe)?Ke.replace(oe,Ve=>Fe(Ve)):Ke}var We=n(470);const ze=We.posix||We,Ie="/";var Qe;(function(Ke){Ke.joinPath=function(Ve,...ct){return Ve.with({path:ze.join(Ve.path,...ct)})},Ke.resolvePath=function(Ve,...ct){let Xe=Ve.path,kt=!1;Xe[0]!==Ie&&(Xe=Ie+Xe,kt=!0);let Bt=ze.resolve(Xe,...ct);return kt&&Bt[0]===Ie&&!Ve.authority&&(Bt=Bt.substring(1)),Ve.with({path:Bt})},Ke.dirname=function(Ve){if(Ve.path.length===0||Ve.path===Ie)return Ve;let ct=ze.dirname(Ve.path);return ct.length===1&&ct.charCodeAt(0)===46&&(ct=""),Ve.with({path:ct})},Ke.basename=function(Ve){return ze.basename(Ve.path)},Ke.extname=function(Ve){return ze.extname(Ve.path)}})(Qe||(Qe={}))})(),p0=r})();const{URI:vi,Utils:HC}=p0;var d0;(function(e){function t(n){return typeof n=="string"}e.is=t})(d0||(d0={}));var Rc;(function(e){function t(n){return typeof n=="string"}e.is=t})(Rc||(Rc={}));var h0;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(h0||(h0={}));var wu;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(wu||(wu={}));var Hr;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=wu.MAX_VALUE),i===Number.MAX_VALUE&&(i=wu.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&Ft.uinteger(i.line)&&Ft.uinteger(i.character)}e.is=n})(Hr||(Hr={}));var On;(function(e){function t(r,i,s,a){if(Ft.uinteger(r)&&Ft.uinteger(i)&&Ft.uinteger(s)&&Ft.uinteger(a))return{start:Hr.create(r,i),end:Hr.create(s,a)};if(Hr.is(r)&&Hr.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${s}, ${a}]`)}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&Hr.is(i.start)&&Hr.is(i.end)}e.is=n})(On||(On={}));var Sa;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&On.is(i.range)&&(Ft.string(i.uri)||Ft.undefined(i.uri))}e.is=n})(Sa||(Sa={}));var $c;(function(e){function t(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&On.is(i.targetRange)&&Ft.string(i.targetUri)&&On.is(i.targetSelectionRange)&&(On.is(i.originSelectionRange)||Ft.undefined(i.originSelectionRange))}e.is=n})($c||($c={}));var Vc;(function(e){function t(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.numberRange(i.red,0,1)&&Ft.numberRange(i.green,0,1)&&Ft.numberRange(i.blue,0,1)&&Ft.numberRange(i.alpha,0,1)}e.is=n})(Vc||(Vc={}));var m0;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&On.is(i.range)&&Vc.is(i.color)}e.is=n})(m0||(m0={}));var g0;(function(e){function t(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.string(i.label)&&(Ft.undefined(i.textEdit)||Lr.is(i))&&(Ft.undefined(i.additionalTextEdits)||Ft.typedArray(i.additionalTextEdits,Lr.is))}e.is=n})(g0||(g0={}));var y0;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(y0||(y0={}));var qc;(function(e){function t(r,i,s,a,o,u){const l={startLine:r,endLine:i};return Ft.defined(s)&&(l.startCharacter=s),Ft.defined(a)&&(l.endCharacter=a),Ft.defined(o)&&(l.kind=o),Ft.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.uinteger(i.startLine)&&Ft.uinteger(i.startLine)&&(Ft.undefined(i.startCharacter)||Ft.uinteger(i.startCharacter))&&(Ft.undefined(i.endCharacter)||Ft.uinteger(i.endCharacter))&&(Ft.undefined(i.kind)||Ft.string(i.kind))}e.is=n})(qc||(qc={}));var Uc;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Sa.is(i.location)&&Ft.string(i.message)}e.is=n})(Uc||(Uc={}));var zn;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(zn||(zn={}));var Wc;(function(e){e.Unnecessary=1,e.Deprecated=2})(Wc||(Wc={}));var D0;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&Ft.string(r.href)}e.is=t})(D0||(D0={}));var Ei;(function(e){function t(r,i,s,a,o,u){let l={range:r,message:i};return Ft.defined(s)&&(l.severity=s),Ft.defined(a)&&(l.code=a),Ft.defined(o)&&(l.source=o),Ft.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i;let s=r;return Ft.defined(s)&&On.is(s.range)&&Ft.string(s.message)&&(Ft.number(s.severity)||Ft.undefined(s.severity))&&(Ft.integer(s.code)||Ft.string(s.code)||Ft.undefined(s.code))&&(Ft.undefined(s.codeDescription)||Ft.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(Ft.string(s.source)||Ft.undefined(s.source))&&(Ft.undefined(s.relatedInformation)||Ft.typedArray(s.relatedInformation,Uc.is))}e.is=n})(Ei||(Ei={}));var Vs;(function(e){function t(r,i,...s){let a={title:r,command:i};return Ft.defined(s)&&s.length>0&&(a.arguments=s),a}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.title)&&Ft.string(i.command)}e.is=n})(Vs||(Vs={}));var Lr;(function(e){function t(s,a){return{range:s,newText:a}}e.replace=t;function n(s,a){return{range:{start:s,end:s},newText:a}}e.insert=n;function r(s){return{range:s,newText:""}}e.del=r;function i(s){const a=s;return Ft.objectLiteral(a)&&Ft.string(a.newText)&&On.is(a.range)}e.is=i})(Lr||(Lr={}));var Gc;(function(e){function t(r,i,s){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Ft.string(i.label)&&(Ft.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(Ft.string(i.description)||i.description===void 0)}e.is=n})(Gc||(Gc={}));var wa;(function(e){function t(n){const r=n;return Ft.string(r)}e.is=t})(wa||(wa={}));var b0;(function(e){function t(s,a,o){return{range:s,newText:a,annotationId:o}}e.replace=t;function n(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}e.insert=n;function r(s,a){return{range:s,newText:"",annotationId:a}}e.del=r;function i(s){const a=s;return Lr.is(a)&&(Gc.is(a.annotationId)||wa.is(a.annotationId))}e.is=i})(b0||(b0={}));var Jc;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Qc.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(Jc||(Jc={}));var Yc;(function(e){function t(r,i,s){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&Ft.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||Ft.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||Ft.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||wa.is(i.annotationId))}e.is=n})(Yc||(Yc={}));var Hc;(function(e){function t(r,i,s,a){let o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&Ft.string(i.oldUri)&&Ft.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||Ft.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||Ft.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||wa.is(i.annotationId))}e.is=n})(Hc||(Hc={}));var zc;(function(e){function t(r,i,s){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&Ft.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||Ft.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||Ft.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||wa.is(i.annotationId))}e.is=n})(zc||(zc={}));var Xc;(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>Ft.string(i.kind)?Yc.is(i)||Hc.is(i)||zc.is(i):Jc.is(i)))}e.is=t})(Xc||(Xc={}));var v0;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)}e.is=n})(v0||(v0={}));var E0;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&Ft.integer(i.version)}e.is=n})(E0||(E0={}));var Qc;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&(i.version===null||Ft.integer(i.version))}e.is=n})(Qc||(Qc={}));var A0;(function(e){function t(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.string(i.uri)&&Ft.string(i.languageId)&&Ft.integer(i.version)&&Ft.string(i.text)}e.is=n})(A0||(A0={}));var fs;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(fs||(fs={}));var Fo;(function(e){function t(n){const r=n;return Ft.objectLiteral(n)&&fs.is(r.kind)&&Ft.string(r.value)}e.is=t})(Fo||(Fo={}));var Ai;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Ai||(Ai={}));var Kr;(function(e){e.PlainText=1,e.Snippet=2})(Kr||(Kr={}));var C0;(function(e){e.Deprecated=1})(C0||(C0={}));var x0;(function(e){function t(r,i,s){return{newText:r,insert:i,replace:s}}e.create=t;function n(r){const i=r;return i&&Ft.string(i.newText)&&On.is(i.insert)&&On.is(i.replace)}e.is=n})(x0||(x0={}));var Kc;(function(e){e.asIs=1,e.adjustIndentation=2})(Kc||(Kc={}));var S0;(function(e){function t(n){const r=n;return r&&(Ft.string(r.detail)||r.detail===void 0)&&(Ft.string(r.description)||r.description===void 0)}e.is=t})(S0||(S0={}));var Zc;(function(e){function t(n){return{label:n}}e.create=t})(Zc||(Zc={}));var ef;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(ef||(ef={}));var Fu;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return Ft.string(i)||Ft.objectLiteral(i)&&Ft.string(i.language)&&Ft.string(i.value)}e.is=n})(Fu||(Fu={}));var w0;(function(e){function t(n){let r=n;return!!r&&Ft.objectLiteral(r)&&(Fo.is(r.contents)||Fu.is(r.contents)||Ft.typedArray(r.contents,Fu.is))&&(n.range===void 0||On.is(n.range))}e.is=t})(w0||(w0={}));var F0;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(F0||(F0={}));var N0;(function(e){function t(n,r,...i){let s={label:n};return Ft.defined(r)&&(s.documentation=r),Ft.defined(i)?s.parameters=i:s.parameters=[],s}e.create=t})(N0||(N0={}));var _0;(function(e){e.Text=1,e.Read=2,e.Write=3})(_0||(_0={}));var T0;(function(e){function t(n,r){let i={range:n};return Ft.number(r)&&(i.kind=r),i}e.create=t})(T0||(T0={}));var Qi;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(Qi||(Qi={}));var L0;(function(e){e.Deprecated=1})(L0||(L0={}));var k0;(function(e){function t(n,r,i,s,a){let o={name:n,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}e.create=t})(k0||(k0={}));var P0;(function(e){function t(n,r,i,s){return s!==void 0?{name:n,kind:r,location:{uri:i,range:s}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(P0||(P0={}));var B0;(function(e){function t(r,i,s,a,o,u){let l={name:r,detail:i,kind:s,range:a,selectionRange:o};return u!==void 0&&(l.children=u),l}e.create=t;function n(r){let i=r;return i&&Ft.string(i.name)&&Ft.number(i.kind)&&On.is(i.range)&&On.is(i.selectionRange)&&(i.detail===void 0||Ft.string(i.detail))&&(i.deprecated===void 0||Ft.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(B0||(B0={}));var Ts;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(Ts||(Ts={}));var Nu;(function(e){e.Invoked=1,e.Automatic=2})(Nu||(Nu={}));var M0;(function(e){function t(r,i,s){let a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.typedArray(i.diagnostics,Ei.is)&&(i.only===void 0||Ft.typedArray(i.only,Ft.string))&&(i.triggerKind===void 0||i.triggerKind===Nu.Invoked||i.triggerKind===Nu.Automatic)}e.is=n})(M0||(M0={}));var ps;(function(e){function t(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Vs.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}e.create=t;function n(r){let i=r;return i&&Ft.string(i.title)&&(i.diagnostics===void 0||Ft.typedArray(i.diagnostics,Ei.is))&&(i.kind===void 0||Ft.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Vs.is(i.command))&&(i.isPreferred===void 0||Ft.boolean(i.isPreferred))&&(i.edit===void 0||Xc.is(i.edit))}e.is=n})(ps||(ps={}));var tf;(function(e){function t(r,i){let s={range:r};return Ft.defined(i)&&(s.data=i),s}e.create=t;function n(r){let i=r;return Ft.defined(i)&&On.is(i.range)&&(Ft.undefined(i.command)||Vs.is(i.command))}e.is=n})(tf||(tf={}));var I0;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&Ft.uinteger(i.tabSize)&&Ft.boolean(i.insertSpaces)}e.is=n})(I0||(I0={}));var O0;(function(e){function t(r,i,s){return{range:r,target:i,data:s}}e.create=t;function n(r){let i=r;return Ft.defined(i)&&On.is(i.range)&&(Ft.undefined(i.target)||Ft.string(i.target))}e.is=n})(O0||(O0={}));var _u;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return Ft.objectLiteral(i)&&On.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(_u||(_u={}));var j0;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(j0||(j0={}));var R0;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(R0||(R0={}));var $0;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})($0||($0={}));var V0;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){const i=r;return i!=null&&On.is(i.range)&&Ft.string(i.text)}e.is=n})(V0||(V0={}));var q0;(function(e){function t(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}e.create=t;function n(r){const i=r;return i!=null&&On.is(i.range)&&Ft.boolean(i.caseSensitiveLookup)&&(Ft.string(i.variableName)||i.variableName===void 0)}e.is=n})(q0||(q0={}));var U0;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){const i=r;return i!=null&&On.is(i.range)&&(Ft.string(i.expression)||i.expression===void 0)}e.is=n})(U0||(U0={}));var W0;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return Ft.defined(i)&&On.is(r.stoppedLocation)}e.is=n})(W0||(W0={}));var nf;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(nf||(nf={}));var rf;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&(i.tooltip===void 0||Ft.string(i.tooltip)||Fo.is(i.tooltip))&&(i.location===void 0||Sa.is(i.location))&&(i.command===void 0||Vs.is(i.command))}e.is=n})(rf||(rf={}));var G0;(function(e){function t(r,i,s){const a={position:r,label:i};return s!==void 0&&(a.kind=s),a}e.create=t;function n(r){const i=r;return Ft.objectLiteral(i)&&Hr.is(i.position)&&(Ft.string(i.label)||Ft.typedArray(i.label,rf.is))&&(i.kind===void 0||nf.is(i.kind))&&i.textEdits===void 0||Ft.typedArray(i.textEdits,Lr.is)&&(i.tooltip===void 0||Ft.string(i.tooltip)||Fo.is(i.tooltip))&&(i.paddingLeft===void 0||Ft.boolean(i.paddingLeft))&&(i.paddingRight===void 0||Ft.boolean(i.paddingRight))}e.is=n})(G0||(G0={}));var J0;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(J0||(J0={}));var Y0;(function(e){function t(n,r,i,s){return{insertText:n,filterText:r,range:i,command:s}}e.create=t})(Y0||(Y0={}));var H0;(function(e){function t(n){return{items:n}}e.create=t})(H0||(H0={}));var z0;(function(e){e.Invoked=0,e.Automatic=1})(z0||(z0={}));var X0;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(X0||(X0={}));var Q0;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Q0||(Q0={}));var K0;(function(e){function t(n){const r=n;return Ft.objectLiteral(r)&&Rc.is(r.uri)&&Ft.string(r.name)}e.is=t})(K0||(K0={}));var Z0;(function(e){function t(s,a,o,u){return new cb(s,a,o,u)}e.create=t;function n(s){let a=s;return!!(Ft.defined(a)&&Ft.string(a.uri)&&(Ft.undefined(a.languageId)||Ft.string(a.languageId))&&Ft.uinteger(a.lineCount)&&Ft.func(a.getText)&&Ft.func(a.positionAt)&&Ft.func(a.offsetAt))}e.is=n;function r(s,a){let o=s.getText(),u=i(a,(b,c)=>{let _=b.range.start.line-c.range.start.line;return _===0?b.range.start.character-c.range.start.character:_}),l=o.length;for(let b=u.length-1;b>=0;b--){let c=u[b],_=s.offsetAt(c.range.start),T=s.offsetAt(c.range.end);if(T<=l)o=o.substring(0,_)+c.newText+o.substring(T,o.length);else throw new Error("Overlapping edit");l=_}return o}e.applyEdits=r;function i(s,a){if(s.length<=1)return s;const o=s.length/2|0,u=s.slice(0,o),l=s.slice(o);i(u,a),i(l,a);let b=0,c=0,_=0;for(;b<u.length&&c<l.length;)a(u[b],l[c])<=0?s[_++]=u[b++]:s[_++]=l[c++];for(;b<u.length;)s[_++]=u[b++];for(;c<l.length;)s[_++]=l[c++];return s}})(Z0||(Z0={}));class cb{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,r=!0;for(let i=0;i<n.length;i++){r&&(t.push(i),r=!1);let s=n.charAt(i);r=s==="\r"||s===`
19
+ `,s==="\r"&&i+1<n.length&&n.charAt(i+1)===`
20
+ `&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Hr.create(0,t);for(;r<i;){let a=Math.floor((r+i)/2);n[a]>t?i=a:r=a+1}let s=r-1;return Hr.create(s,t-n[s])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)}get lineCount(){return this.getLineOffsets().length}}var Ft;(function(e){const t=Object.prototype.toString;function n(T){return typeof T<"u"}e.defined=n;function r(T){return typeof T>"u"}e.undefined=r;function i(T){return T===!0||T===!1}e.boolean=i;function s(T){return t.call(T)==="[object String]"}e.string=s;function a(T){return t.call(T)==="[object Number]"}e.number=a;function o(T,ee,X){return t.call(T)==="[object Number]"&&ee<=T&&T<=X}e.numberRange=o;function u(T){return t.call(T)==="[object Number]"&&-2147483648<=T&&T<=2147483647}e.integer=u;function l(T){return t.call(T)==="[object Number]"&&0<=T&&T<=2147483647}e.uinteger=l;function b(T){return t.call(T)==="[object Function]"}e.func=b;function c(T){return T!==null&&typeof T=="object"}e.objectLiteral=c;function _(T,ee){return Array.isArray(T)&&T.every(ee)}e.typedArray=_})(Ft||(Ft={}));const sf=Symbol.for("yaml.alias"),af=Symbol.for("yaml.document"),Ls=Symbol.for("yaml.map"),em=Symbol.for("yaml.pair"),ds=Symbol.for("yaml.scalar"),Fa=Symbol.for("yaml.seq"),Li=Symbol.for("yaml.node.type"),Ki=e=>!!e&&typeof e=="object"&&e[Li]===sf,No=e=>!!e&&typeof e=="object"&&e[Li]===af,Ir=e=>!!e&&typeof e=="object"&&e[Li]===Ls,hr=e=>!!e&&typeof e=="object"&&e[Li]===em,Un=e=>!!e&&typeof e=="object"&&e[Li]===ds,Or=e=>!!e&&typeof e=="object"&&e[Li]===Fa;function Mr(e){if(e&&typeof e=="object")switch(e[Li]){case Ls:case Fa:return!0}return!1}function mr(e){if(e&&typeof e=="object")switch(e[Li]){case sf:case Ls:case ds:case Fa:return!0}return!1}const fb=e=>(Un(e)||Mr(e))&&!!e.anchor,qs=Symbol("break visit"),pb=Symbol("skip children"),_o=Symbol("remove node");function Nr(e,t){const n=db(t);No(e)?Na(null,e.contents,n,Object.freeze([e]))===_o&&(e.contents=null):Na(null,e,n,Object.freeze([]))}Nr.BREAK=qs,Nr.SKIP=pb,Nr.REMOVE=_o;function Na(e,t,n,r){const i=hb(e,t,n,r);if(mr(i)||hr(i))return mb(e,r,i),Na(e,i,n,r);if(typeof i!="symbol"){if(Mr(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const a=Na(s,t.items[s],n,r);if(typeof a=="number")s=a-1;else{if(a===qs)return qs;a===_o&&(t.items.splice(s,1),s-=1)}}}else if(hr(t)){r=Object.freeze(r.concat(t));const s=Na("key",t.key,n,r);if(s===qs)return qs;s===_o&&(t.key=null);const a=Na("value",t.value,n,r);if(a===qs)return qs;a===_o&&(t.value=null)}}return i}function db(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function hb(e,t,n,r){var i,s,a,o,u;if(typeof n=="function")return n(e,t,r);if(Ir(t))return(i=n.Map)==null?void 0:i.call(n,e,t,r);if(Or(t))return(s=n.Seq)==null?void 0:s.call(n,e,t,r);if(hr(t))return(a=n.Pair)==null?void 0:a.call(n,e,t,r);if(Un(t))return(o=n.Scalar)==null?void 0:o.call(n,e,t,r);if(Ki(t))return(u=n.Alias)==null?void 0:u.call(n,e,t,r)}function mb(e,t,n){const r=t[t.length-1];if(Mr(r))r.items[e]=n;else if(hr(r))e==="key"?r.key=n:r.value=n;else if(No(r))r.contents=n;else{const i=Ki(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const gb={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},yb=e=>e.replace(/[!,[\]{}]/g,t=>gb[t]);class si{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},si.defaultYaml,t),this.tags=Object.assign({},si.defaultTags,n)}clone(){const t=new si(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new si(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:si.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},si.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:si.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},si.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[s,a]=r;return this.tags[s]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[s]=r;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const a=/^\d+\.\d+$/.test(s);return n(6,`Unsupported YAML version ${s}`,a),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const s=this.tags[r];if(s)try{return s+decodeURIComponent(i)}catch(a){return n(String(a)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+yb(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&mr(t.contents)){const s={};Nr(t.contents,(a,o)=>{mr(o)&&o.tag&&(s[o.tag]=!0)}),i=Object.keys(s)}else i=[];for(const[s,a]of r)s==="!!"&&a==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(a)))&&n.push(`%TAG ${s} ${a}`);return n.join(`
21
+ `)}}si.defaultYaml={explicit:!1,version:"1.2"},si.defaultTags={"!!":"tag:yaml.org,2002:"};function tm(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function nm(e){const t=new Set;return Nr(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function rm(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function Db(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=nm(e));const a=rm(t,i);return i.add(a),a},setAnchors:()=>{for(const s of n){const a=r.get(s);if(typeof a=="object"&&a.anchor&&(Un(a.node)||Mr(a.node)))a.node.anchor=a.anchor;else{const o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=s,o}}},sourceObjects:r}}function _a(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,s=r.length;i<s;++i){const a=r[i],o=_a(e,r,String(i),a);o===void 0?delete r[i]:o!==a&&(r[i]=o)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const s=r.get(i),a=_a(e,r,i,s);a===void 0?r.delete(i):a!==s&&r.set(i,a)}else if(r instanceof Set)for(const i of Array.from(r)){const s=_a(e,r,i,i);s===void 0?r.delete(i):s!==i&&(r.delete(i),r.add(s))}else for(const[i,s]of Object.entries(r)){const a=_a(e,r,i,s);a===void 0?delete r[i]:a!==s&&(r[i]=a)}return e.call(t,n,r)}function ki(e,t,n){if(Array.isArray(e))return e.map((r,i)=>ki(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!fb(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=s=>{r.res=s,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class of{constructor(t){Object.defineProperty(this,Li,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){if(!No(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},o=ki(this,"",a);if(typeof i=="function")for(const{count:u,res:l}of a.anchors.values())i(l,u);return typeof s=="function"?_a(s,{"":o},"",o):o}}class uf extends of{constructor(t){super(sf),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return Nr(t,{Node:(r,i)=>{if(i===this)return Nr.BREAK;i.anchor===this.source&&(n=i)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:s}=n,a=this.resolve(i);if(!a){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let o=r.get(a);if(o||(ki(a,null,n),o=r.get(a)),!o||o.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Tu(i,a,r)),o.count*o.aliasCount>s)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return o.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(tm(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(t.implicitKey)return`${i} `}return i}}function Tu(e,t,n){if(Ki(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(Mr(t)){let r=0;for(const i of t.items){const s=Tu(e,i,n);s>r&&(r=s)}return r}else if(hr(t)){const r=Tu(e,t.key,n),i=Tu(e,t.value,n);return Math.max(r,i)}return 1}const im=e=>!e||typeof e!="function"&&typeof e!="object";class Qn extends of{constructor(t){super(ds),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:ki(this.value,t,n)}toString(){return String(this.value)}}Qn.BLOCK_FOLDED="BLOCK_FOLDED",Qn.BLOCK_LITERAL="BLOCK_LITERAL",Qn.PLAIN="PLAIN",Qn.QUOTE_DOUBLE="QUOTE_DOUBLE",Qn.QUOTE_SINGLE="QUOTE_SINGLE";const bb="tag:yaml.org,2002:";function vb(e,t,n){if(t){const r=n.filter(s=>s.tag===t),i=r.find(s=>!s.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>{var i;return((i=r.identify)==null?void 0:i.call(r,e))&&!r.format})}function To(e,t,n){var c,_,T;if(No(e)&&(e=e.contents),mr(e))return e;if(hr(e)){const ee=(_=(c=n.schema[Ls]).createNode)==null?void 0:_.call(c,n.schema,null,n);return ee.items.push(e),ee}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:s,schema:a,sourceObjects:o}=n;let u;if(r&&e&&typeof e=="object"){if(u=o.get(e),u)return u.anchor||(u.anchor=i(e)),new uf(u.anchor);u={anchor:null,node:null},o.set(e,u)}t!=null&&t.startsWith("!!")&&(t=bb+t.slice(2));let l=vb(e,t,a.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const ee=new Qn(e);return u&&(u.node=ee),ee}l=e instanceof Map?a[Ls]:Symbol.iterator in Object(e)?a[Fa]:a[Ls]}s&&(s(l),delete n.onTagObj);const b=l!=null&&l.createNode?l.createNode(n.schema,e,n):typeof((T=l==null?void 0:l.nodeClass)==null?void 0:T.from)=="function"?l.nodeClass.from(n.schema,e,n):new Qn(e);return t?b.tag=t:l.default||(b.tag=l.tag),u&&(u.node=b),b}function Lu(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const s=t[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const a=[];a[s]=r,r=a}else r=new Map([[s,r]])}return To(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Lo=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class sm extends of{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>mr(r)||hr(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Lo(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(Mr(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,Lu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(Mr(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,s=this.get(r,!0);return i.length===0?!n&&Un(s)?s.value:s:Mr(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!hr(n))return!1;const r=n.value;return r==null||t&&Un(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return Mr(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const s=this.get(r,!0);if(Mr(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,Lu(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}const Eb=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function hs(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Us=(e,t,n)=>e.endsWith(`
22
+ `)?hs(n,t):n.includes(`
23
+ `)?`
24
+ `+hs(n,t):(e.endsWith(" ")?"":" ")+n,am="flow",lf="block",ku="quoted";function Pu(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:a,onOverflow:o}={}){if(!i||i<0)return e;i<s&&(s=0);const u=Math.max(1+s,1+i-t.length);if(e.length<=u)return e;const l=[],b={};let c=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?l.push(0):c=i-r);let _,T,ee=!1,X=-1,L=-1,he=-1;n===lf&&(X=om(e,X,t.length),X!==-1&&(c=X+u));for(let Pe;Pe=e[X+=1];){if(n===ku&&Pe==="\\"){switch(L=X,e[X+1]){case"x":X+=3;break;case"u":X+=5;break;case"U":X+=9;break;default:X+=1}he=X}if(Pe===`
25
+ `)n===lf&&(X=om(e,X,t.length)),c=X+t.length+u,_=void 0;else{if(Pe===" "&&T&&T!==" "&&T!==`
26
+ `&&T!==" "){const Fe=e[X+1];Fe&&Fe!==" "&&Fe!==`
27
+ `&&Fe!==" "&&(_=X)}if(X>=c)if(_)l.push(_),c=_+u,_=void 0;else if(n===ku){for(;T===" "||T===" ";)T=Pe,Pe=e[X+=1],ee=!0;const Fe=X>he+1?X-2:L-1;if(b[Fe])return e;l.push(Fe),b[Fe]=!0,c=Fe+u,_=void 0}else ee=!0}T=Pe}if(ee&&o&&o(),l.length===0)return e;a&&a();let Te=e.slice(0,l[0]);for(let Pe=0;Pe<l.length;++Pe){const Fe=l[Pe],oe=l[Pe+1]||e.length;Fe===0?Te=`
28
+ ${t}${e.slice(0,oe)}`:(n===ku&&b[Fe]&&(Te+=`${e[Fe]}\\`),Te+=`
29
+ ${t}${e.slice(Fe+1,oe)}`)}return Te}function om(e,t,n){let r=t,i=t+1,s=e[i];for(;s===" "||s===" ";)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&s!==`
30
+ `);r=t,i=t+1,s=e[i]}return r}const Bu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Mu=e=>/^(%|---|\.\.\.)/m.test(e);function Ab(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let s=0,a=0;s<i;++s)if(e[s]===`
31
+ `){if(s-a>r)return!0;if(a=s+1,i-a<=r)return!1}return!0}function ko(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(Mu(e)?" ":"");let a="",o=0;for(let u=0,l=n[u];l;l=n[++u])if(l===" "&&n[u+1]==="\\"&&n[u+2]==="n"&&(a+=n.slice(o,u)+"\\ ",u+=1,o=u,l="\\"),l==="\\")switch(n[u+1]){case"u":{a+=n.slice(o,u);const b=n.substr(u+2,4);switch(b){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:b.substr(0,2)==="00"?a+="\\x"+b.substr(2):a+=n.substr(u,6)}u+=5,o=u+1}break;case"n":if(r||n[u+2]==='"'||n.length<i)u+=1;else{for(a+=n.slice(o,u)+`
32
+
33
+ `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)a+=`
34
+ `,u+=2;a+=s,n[u+2]===" "&&(a+="\\"),u+=1,o=u+1}break;default:u+=1}return a=o?a+n.slice(o):n,r?a:Pu(a,s,ku,Bu(t,!1))}function cf(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
35
+ `)||/[ \t]\n|\n[ \t]/.test(e))return ko(e,t);const n=t.indent||(Mu(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
36
+ ${n}`)+"'";return t.implicitKey?r:Pu(r,n,am,Bu(t,!1))}function Ta(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=ko;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=cf:s&&!i?r=ko:r=n?cf:ko}return r(e,t)}let ff;try{ff=new RegExp(`(^|(?<!
37
+ ))
38
+ +(?!
39
+ |$)`,"g")}catch{ff=/\n+(?!\n|$)/g}function Iu({comment:e,type:t,value:n},r,i,s){const{blockQuote:a,commentString:o,lineWidth:u}=r.options;if(!a||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Ta(n,r);const l=r.indent||(r.forceBlockIndent||Mu(n)?" ":""),b=a==="literal"?!0:a==="folded"||t===Qn.BLOCK_FOLDED?!1:t===Qn.BLOCK_LITERAL?!0:!Ab(n,u,l.length);if(!n)return b?`|
40
+ `:`>
41
+ `;let c,_;for(_=n.length;_>0;--_){const ve=n[_-1];if(ve!==`
42
+ `&&ve!==" "&&ve!==" ")break}let T=n.substring(_);const ee=T.indexOf(`
43
+ `);ee===-1?c="-":n===T||ee!==T.length-1?(c="+",s&&s()):c="",T&&(n=n.slice(0,-T.length),T[T.length-1]===`
44
+ `&&(T=T.slice(0,-1)),T=T.replace(ff,`$&${l}`));let X=!1,L,he=-1;for(L=0;L<n.length;++L){const ve=n[L];if(ve===" ")X=!0;else if(ve===`
45
+ `)he=L;else break}let Te=n.substring(0,he<L?he+1:L);Te&&(n=n.substring(Te.length),Te=Te.replace(/\n+/g,`$&${l}`));let Fe=(b?"|":">")+(X?l?"2":"1":"")+c;if(e&&(Fe+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),b)return n=n.replace(/\n+/g,`$&${l}`),`${Fe}
46
+ ${l}${Te}${n}${T}`;n=n.replace(/\n+/g,`
47
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`);const oe=Pu(`${Te}${n}${T}`,l,lf,Bu(r,!0));return`${Fe}
48
+ ${l}${oe}`}function Cb(e,t,n,r){const{type:i,value:s}=e,{actualString:a,implicitKey:o,indent:u,indentStep:l,inFlow:b}=t;if(o&&s.includes(`
49
+ `)||b&&/[[\]{},]/.test(s))return Ta(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return o||b||!s.includes(`
50
+ `)?Ta(s,t):Iu(e,t,n,r);if(!o&&!b&&i!==Qn.PLAIN&&s.includes(`
51
+ `))return Iu(e,t,n,r);if(Mu(s)){if(u==="")return t.forceBlockIndent=!0,Iu(e,t,n,r);if(o&&u===l)return Ta(s,t)}const c=s.replace(/\n+/g,`$&
52
+ ${u}`);if(a){const _=X=>{var L;return X.default&&X.tag!=="tag:yaml.org,2002:str"&&((L=X.test)==null?void 0:L.test(c))},{compat:T,tags:ee}=t.doc.schema;if(ee.some(_)||T!=null&&T.some(_))return Ta(s,t)}return o?c:Pu(c,u,am,Bu(t,!1))}function pf(e,t,n,r){const{implicitKey:i,inFlow:s}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:o}=e;o!==Qn.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=Qn.QUOTE_DOUBLE);const u=b=>{switch(b){case Qn.BLOCK_FOLDED:case Qn.BLOCK_LITERAL:return i||s?Ta(a.value,t):Iu(a,t,n,r);case Qn.QUOTE_DOUBLE:return ko(a.value,t);case Qn.QUOTE_SINGLE:return cf(a.value,t);case Qn.PLAIN:return Cb(a,t,n,r);default:return null}};let l=u(o);if(l===null){const{defaultKeyType:b,defaultStringType:c}=t.options,_=i&&b||c;if(l=u(_),l===null)throw new Error(`Unsupported default string type ${_}`)}return l}function um(e,t){const n=Object.assign({blockQuote:!0,commentString:Eb,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}function xb(e,t){var i;if(t.tag){const s=e.filter(a=>a.tag===t.tag);if(s.length>0)return s.find(a=>a.format===t.format)??s[0]}let n,r;if(Un(t)){r=t.value;const s=e.filter(a=>{var o;return(o=a.identify)==null?void 0:o.call(a,r)});n=s.find(a=>a.format===t.format)??s.find(a=>!a.format)}else r=t,n=e.find(s=>s.nodeClass&&r instanceof s.nodeClass);if(!n){const s=((i=r==null?void 0:r.constructor)==null?void 0:i.name)??typeof r;throw new Error(`Tag not resolved for ${s} value`)}return n}function Sb(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(Un(e)||Mr(e))&&e.anchor;s&&tm(s)&&(n.add(s),i.push(`&${s}`));const a=e.tag?e.tag:t.default?null:t.tag;return a&&i.push(r.directives.tagString(a)),i.join(" ")}function La(e,t,n,r){var u;if(hr(e))return e.toString(t,n,r);if(Ki(e)){if(t.doc.directives)return e.toString(t);if((u=t.resolvedAliases)!=null&&u.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const s=mr(e)?e:t.doc.createNode(e,{onTagObj:l=>i=l});i||(i=xb(t.doc.schema.tags,s));const a=Sb(s,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const o=typeof i.stringify=="function"?i.stringify(s,t,n,r):Un(s)?pf(s,t,n,r):s.toString(t,n,r);return a?Un(s)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
53
+ ${t.indent}${o}`:o}function wb({key:e,value:t},n,r,i){const{allNullValues:s,doc:a,indent:o,indentStep:u,options:{commentString:l,indentSeq:b,simpleKeys:c}}=n;let _=mr(e)&&e.comment||null;if(c){if(_)throw new Error("With simple keys, key nodes cannot have comments");if(Mr(e)||!mr(e)&&typeof e=="object"){const We="With simple keys, collection cannot be used as a key value";throw new Error(We)}}let T=!c&&(!e||_&&t==null&&!n.inFlow||Mr(e)||(Un(e)?e.type===Qn.BLOCK_FOLDED||e.type===Qn.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!T&&(c||!s),indent:o+u});let ee=!1,X=!1,L=La(e,n,()=>ee=!0,()=>X=!0);if(!T&&!n.inFlow&&L.length>1024){if(c)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");T=!0}if(n.inFlow){if(s||t==null)return ee&&r&&r(),L===""?"?":T?`? ${L}`:L}else if(s&&!c||t==null&&T)return L=`? ${L}`,_&&!ee?L+=Us(L,n.indent,l(_)):X&&i&&i(),L;ee&&(_=null),T?(_&&(L+=Us(L,n.indent,l(_))),L=`? ${L}
54
+ ${o}:`):(L=`${L}:`,_&&(L+=Us(L,n.indent,l(_))));let he,Te,Pe;mr(t)?(he=!!t.spaceBefore,Te=t.commentBefore,Pe=t.comment):(he=!1,Te=null,Pe=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!T&&!_&&Un(t)&&(n.indentAtStart=L.length+1),X=!1,!b&&u.length>=2&&!n.inFlow&&!T&&Or(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Fe=!1;const oe=La(t,n,()=>Fe=!0,()=>X=!0);let ve=" ";if(_||he||Te){if(ve=he?`
55
+ `:"",Te){const We=l(Te);ve+=`
56
+ ${hs(We,n.indent)}`}oe===""&&!n.inFlow?ve===`
57
+ `&&(ve=`
58
+
59
+ `):ve+=`
60
+ ${n.indent}`}else if(!T&&Mr(t)){const We=oe[0],ze=oe.indexOf(`
61
+ `),Ie=ze!==-1,Qe=n.inFlow??t.flow??t.items.length===0;if(Ie||!Qe){let Ke=!1;if(Ie&&(We==="&"||We==="!")){let Ve=oe.indexOf(" ");We==="&"&&Ve!==-1&&Ve<ze&&oe[Ve+1]==="!"&&(Ve=oe.indexOf(" ",Ve+1)),(Ve===-1||ze<Ve)&&(Ke=!0)}Ke||(ve=`
62
+ ${n.indent}`)}}else(oe===""||oe[0]===`
63
+ `)&&(ve="");return L+=ve+oe,n.inFlow?Fe&&r&&r():Pe&&!Fe?L+=Us(L,n.indent,l(Pe)):X&&i&&i(),L}function lm(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const cm="<<";function fm(e,t,{key:n,value:r}){if(e!=null&&e.doc.schema.merge&&Fb(n))if(r=Ki(r)?r.resolve(e.doc):r,Or(r))for(const i of r.items)df(e,t,i);else if(Array.isArray(r))for(const i of r)df(e,t,i);else df(e,t,r);else{const i=ki(n,"",e);if(t instanceof Map)t.set(i,ki(r,i,e));else if(t instanceof Set)t.add(i);else{const s=Nb(n,i,e),a=ki(r,s,e);s in t?Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[s]=a}}return t}const Fb=e=>e===cm||Un(e)&&e.value===cm&&(!e.type||e.type===Qn.PLAIN);function df(e,t,n){const r=e&&Ki(n)?n.resolve(e.doc):n;if(!Ir(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[s,a]of i)t instanceof Map?t.has(s)||t.set(s,a):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}function Nb(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(mr(e)&&(n!=null&&n.doc)){const r=um(n.doc,{});r.anchors=new Set;for(const s of n.anchors.keys())r.anchors.add(s.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),lm(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function hf(e,t,n){const r=To(e,void 0,n),i=To(t,void 0,n);return new ai(r,i)}class ai{constructor(t,n=null){Object.defineProperty(this,Li,{value:em}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return mr(n)&&(n=n.clone(t)),mr(r)&&(r=r.clone(t)),new ai(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return fm(n,r,this)}toString(t,n,r){return t!=null&&t.doc?wb(this,t,n,r):JSON.stringify(this)}}function pm(e,t,n){return(t.inFlow??e.flow?Tb:_b)(e,t,n)}function _b({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:a,onComment:o}){const{indent:u,options:{commentString:l}}=n,b=Object.assign({},n,{indent:s,type:null});let c=!1;const _=[];for(let ee=0;ee<t.length;++ee){const X=t[ee];let L=null;if(mr(X))!c&&X.spaceBefore&&_.push(""),Ou(n,_,X.commentBefore,c),X.comment&&(L=X.comment);else if(hr(X)){const Te=mr(X.key)?X.key:null;Te&&(!c&&Te.spaceBefore&&_.push(""),Ou(n,_,Te.commentBefore,c))}c=!1;let he=La(X,b,()=>L=null,()=>c=!0);L&&(he+=Us(he,s,l(L))),c&&L&&(c=!1),_.push(r+he)}let T;if(_.length===0)T=i.start+i.end;else{T=_[0];for(let ee=1;ee<_.length;++ee){const X=_[ee];T+=X?`
64
+ ${u}${X}`:`
65
+ `}}return e?(T+=`
66
+ `+hs(l(e),u),o&&o()):c&&a&&a(),T}function Tb({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:s,flowCollectionPadding:a,options:{commentString:o}}=t;r+=s;const u=Object.assign({},t,{indent:r,inFlow:!0,type:null});let l=!1,b=0;const c=[];for(let ee=0;ee<e.length;++ee){const X=e[ee];let L=null;if(mr(X))X.spaceBefore&&c.push(""),Ou(t,c,X.commentBefore,!1),X.comment&&(L=X.comment);else if(hr(X)){const Te=mr(X.key)?X.key:null;Te&&(Te.spaceBefore&&c.push(""),Ou(t,c,Te.commentBefore,!1),Te.comment&&(l=!0));const Pe=mr(X.value)?X.value:null;Pe?(Pe.comment&&(L=Pe.comment),Pe.commentBefore&&(l=!0)):X.value==null&&(Te!=null&&Te.comment)&&(L=Te.comment)}L&&(l=!0);let he=La(X,u,()=>L=null);ee<e.length-1&&(he+=","),L&&(he+=Us(he,r,o(L))),!l&&(c.length>b||he.includes(`
67
+ `))&&(l=!0),c.push(he),b=c.length}const{start:_,end:T}=n;if(c.length===0)return _+T;if(!l){const ee=c.reduce((X,L)=>X+L.length+2,2);l=t.options.lineWidth>0&&ee>t.options.lineWidth}if(l){let ee=_;for(const X of c)ee+=X?`
68
+ ${s}${i}${X}`:`
69
+ `;return`${ee}
70
+ ${i}${T}`}else return`${_}${a}${c.join(" ")}${a}${T}`}function Ou({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=hs(t(r),e);n.push(s.trimStart())}}function Ws(e,t){const n=Un(t)?t.value:t;for(const r of e)if(hr(r)&&(r.key===t||r.key===n||Un(r.key)&&r.key.value===n))return r}class Pi extends sm{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Ls,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:s}=r,a=new this(t),o=(u,l)=>{if(typeof s=="function")l=s.call(n,u,l);else if(Array.isArray(s)&&!s.includes(u))return;(l!==void 0||i)&&a.items.push(hf(u,l,r))};if(n instanceof Map)for(const[u,l]of n)o(u,l);else if(n&&typeof n=="object")for(const u of Object.keys(n))o(u,n[u]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,n){var a;let r;hr(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ai(t,t==null?void 0:t.value):r=new ai(t.key,t.value);const i=Ws(this.items,r.key),s=(a=this.schema)==null?void 0:a.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);Un(i.value)&&im(r.value)?i.value.value=r.value:i.value=r.value}else if(s){const o=this.items.findIndex(u=>s(r,u)<0);o===-1?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}delete(t){const n=Ws(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=Ws(this.items,t),i=r==null?void 0:r.value;return(!n&&Un(i)?i.value:i)??void 0}has(t){return!!Ws(this.items,t)}set(t,n){this.add(new ai(t,n),!0)}toJSON(t,n,r){const i=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(i);for(const s of this.items)fm(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!hr(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),pm(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const ka={collection:"map",default:!0,nodeClass:Pi,tag:"tag:yaml.org,2002:map",resolve(e,t){return Ir(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Pi.from(e,t,n)};class Gs extends sm{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Fa,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=ju(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=ju(t);if(typeof r!="number")return;const i=this.items[r];return!n&&Un(i)?i.value:i}has(t){const n=ju(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=ju(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];Un(i)&&im(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n!=null&&n.onCreate&&n.onCreate(r);let i=0;for(const s of this.items)r.push(ki(s,String(i++),n));return r}toString(t,n,r){return t?pm(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n)){let a=0;for(let o of n){if(typeof i=="function"){const u=n instanceof Set?o:String(a++);o=i.call(n,u,o)}s.items.push(To(o,void 0,r))}}return s}}function ju(e){let t=Un(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const Pa={collection:"seq",default:!0,nodeClass:Gs,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Or(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Gs.from(e,t,n)},Ru={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),pf(e,t,n,r)}},$u={identify:e=>e==null,createNode:()=>new Qn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Qn(null),stringify:({source:e},t)=>typeof e=="string"&&$u.test.test(e)?e:t.options.nullStr},mf={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Qn(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&mf.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function $i({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let a=s.indexOf(".");a<0&&(a=s.length,s+=".");let o=t-(s.length-a-1);for(;o-- >0;)s+="0"}return s}const dm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$i},hm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$i(e)}},mm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Qn(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:$i},Vu=e=>typeof e=="bigint"||Number.isInteger(e),gf=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function gm(e,t,n){const{value:r}=e;return Vu(r)&&r>=0?n+r.toString(t):$i(e)}const ym={identify:e=>Vu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>gf(e,2,8,n),stringify:e=>gm(e,8,"0o")},Dm={identify:Vu,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>gf(e,0,10,n),stringify:$i},bm={identify:e=>Vu(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>gf(e,2,16,n),stringify:e=>gm(e,16,"0x")},Lb=[ka,Pa,Ru,$u,mf,ym,Dm,bm,dm,hm,mm];function vm(e){return typeof e=="bigint"||Number.isInteger(e)}const qu=({value:e})=>JSON.stringify(e),kb=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qu},{identify:e=>e==null,createNode:()=>new Qn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:qu},{identify:vm,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>vm(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qu}],Pb={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},Bb=[ka,Pa].concat(kb,Pb),yf={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,s){const a=n;let o;if(typeof Buffer=="function")o=a instanceof Buffer?a.toString("base64"):Buffer.from(a.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let l=0;l<a.length;++l)u+=String.fromCharCode(a[l]);o=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=Qn.BLOCK_LITERAL),t!==Qn.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),l=Math.ceil(o.length/u),b=new Array(l);for(let c=0,_=0;c<l;++c,_+=u)b[c]=o.substr(_,u);o=b.join(t===Qn.BLOCK_LITERAL?`
71
+ `:" ")}return pf({comment:e,type:t,value:o},r,i,s)}};function Em(e,t){if(Or(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!hr(r)){if(Ir(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ai(new Qn(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
72
+ ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
73
+ ${s.comment}`:r.comment}r=i}e.items[n]=hr(r)?r:new ai(r)}}else t("Expected a sequence for this tag");return e}function Am(e,t,n){const{replacer:r}=n,i=new Gs(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof r=="function"&&(a=r.call(t,String(s++),a));let o,u;if(Array.isArray(a))if(a.length===2)o=a[0],u=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const l=Object.keys(a);if(l.length===1)o=l[0],u=a[o];else throw new TypeError(`Expected tuple with one key, not ${l.length} keys`)}else o=a;i.items.push(hf(o,u,n))}return i}const Df={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Em,createNode:Am};class Ba extends Gs{constructor(){super(),this.add=Pi.prototype.add.bind(this),this.delete=Pi.prototype.delete.bind(this),this.get=Pi.prototype.get.bind(this),this.has=Pi.prototype.has.bind(this),this.set=Pi.prototype.set.bind(this),this.tag=Ba.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const i of this.items){let s,a;if(hr(i)?(s=ki(i.key,"",n),a=ki(i.value,s,n)):s=ki(i,"",n),r.has(s))throw new Error("Ordered maps must not include duplicate keys");r.set(s,a)}return r}static from(t,n,r){const i=Am(t,n,r),s=new this;return s.items=i.items,s}}Ba.tag="tag:yaml.org,2002:omap";const bf={collection:"seq",identify:e=>e instanceof Map,nodeClass:Ba,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Em(e,t),r=[];for(const{key:i}of n.items)Un(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new Ba,n)},createNode:(e,t,n)=>Ba.from(e,t,n)};function Cm({value:e,source:t},n){return t&&(e?xm:Sm).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const xm={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Qn(!0),stringify:Cm},Sm={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Qn(!1),stringify:Cm},Mb={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$i},Ib={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$i(e)}},Ob={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Qn(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:$i},Po=e=>typeof e=="bigint"||Number.isInteger(e);function Uu(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const a=BigInt(e);return i==="-"?BigInt(-1)*a:a}const s=parseInt(e,n);return i==="-"?-1*s:s}function vf(e,t,n){const{value:r}=e;if(Po(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return $i(e)}const jb={identify:Po,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Uu(e,2,2,n),stringify:e=>vf(e,2,"0b")},Rb={identify:Po,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Uu(e,1,8,n),stringify:e=>vf(e,8,"0")},$b={identify:Po,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Uu(e,0,10,n),stringify:$i},Vb={identify:Po,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Uu(e,2,16,n),stringify:e=>vf(e,16,"0x")};class Ma extends Pi{constructor(t){super(t),this.tag=Ma.tag}add(t){let n;hr(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ai(t.key,null):n=new ai(t,null),Ws(this.items,n.key)||this.items.push(n)}get(t,n){const r=Ws(this.items,t);return!n&&hr(r)?Un(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=Ws(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ai(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n))for(let a of n)typeof i=="function"&&(a=i.call(n,a,a)),s.items.push(hf(a,null,r));return s}}Ma.tag="tag:yaml.org,2002:set";const Ef={collection:"map",identify:e=>e instanceof Set,nodeClass:Ma,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ma.from(e,t,n),resolve(e,t){if(Ir(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ma,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Af(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=a=>t?BigInt(a):Number(a),s=r.replace(/_/g,"").split(":").reduce((a,o)=>a*i(60)+i(o),i(0));return n==="-"?i(-1)*s:s}function wm(e){let{value:t}=e,n=a=>a;if(typeof t=="bigint")n=a=>BigInt(a);else if(isNaN(t)||!isFinite(t))return $i(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Fm={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Af(e,n),stringify:wm},Nm={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Af(e,!1),stringify:wm},Wu={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Wu.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,a,o]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,i,s||0,a||0,o||0,u);const b=t[8];if(b&&b!=="Z"){let c=Af(b,!1);Math.abs(c)<30&&(c*=60),l-=6e4*c}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},_m=[ka,Pa,Ru,$u,xm,Sm,jb,Rb,$b,Vb,Mb,Ib,Ob,yf,bf,Df,Ef,Fm,Nm,Wu],Tm=new Map([["core",Lb],["failsafe",[ka,Pa,Ru]],["json",Bb],["yaml11",_m],["yaml-1.1",_m]]),Lm={binary:yf,bool:mf,float:mm,floatExp:hm,floatNaN:dm,floatTime:Nm,int:Dm,intHex:bm,intOct:ym,intTime:Fm,map:ka,null:$u,omap:bf,pairs:Df,seq:Pa,set:Ef,timestamp:Wu},qb={"tag:yaml.org,2002:binary":yf,"tag:yaml.org,2002:omap":bf,"tag:yaml.org,2002:pairs":Df,"tag:yaml.org,2002:set":Ef,"tag:yaml.org,2002:timestamp":Wu};function Cf(e,t){let n=Tm.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(Tm.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${r} or define customTags array`)}if(Array.isArray(e))for(const r of e)n=n.concat(r);else typeof e=="function"&&(n=e(n.slice()));return n.map(r=>{if(typeof r!="string")return r;const i=Lm[r];if(i)return i;const s=Object.keys(Lm).map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}const Ub=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class xf{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?Cf(t,"compat"):t?Cf(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?qb:{},this.tags=Cf(n,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Ls,{value:ka}),Object.defineProperty(this,ds,{value:Ru}),Object.defineProperty(this,Fa,{value:Pa}),this.sortMapEntries=typeof a=="function"?a:a===!0?Ub:null}clone(){const t=Object.create(xf.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function Wb(e,t){var u;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const l=e.directives.toString(e);l?(n.push(l),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=um(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=s(e.commentBefore);n.unshift(hs(l,""))}let a=!1,o=null;if(e.contents){if(mr(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const c=s(e.contents.commentBefore);n.push(hs(c,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const l=o?void 0:()=>a=!0;let b=La(e.contents,i,()=>o=null,l);o&&(b+=Us(b,"",s(o))),(b[0]==="|"||b[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${b}`:n.push(b)}else n.push(La(e.contents,i));if((u=e.directives)!=null&&u.docEnd)if(e.comment){const l=s(e.comment);l.includes(`
74
+ `)?(n.push("..."),n.push(hs(l,""))):n.push(`... ${l}`)}else n.push("...");else{let l=e.comment;l&&a&&(l=l.replace(/^\n+/,"")),l&&((!a||o)&&n[n.length-1]!==""&&n.push(""),n.push(hs(s(l),"")))}return n.join(`
75
+ `)+`
76
+ `}class Bo{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Li,{value:af});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=s;let{version:a}=s;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new si({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(Bo.prototype,{[Li]:{value:af}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=mr(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Ia(this.contents)&&this.contents.add(t)}addIn(t,n){Ia(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=nm(this);t.anchor=!n||r.has(n)?rm(n||"a",r):n}return new uf(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const L=Te=>typeof Te=="number"||Te instanceof String||Te instanceof Number,he=n.filter(L).map(String);he.length>0&&(n=n.concat(he)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:a,flow:o,keepUndefined:u,onTagObj:l,tag:b}=r??{},{onAnchor:c,setAnchors:_,sourceObjects:T}=Db(this,a||"a"),ee={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:c,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:T},X=To(t,b,ee);return o&&Mr(X)&&(X.flow=!0),_(),X}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new ai(i,s)}delete(t){return Ia(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Lo(t)?this.contents==null?!1:(this.contents=null,!0):Ia(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Mr(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Lo(t)?!n&&Un(this.contents)?this.contents.value:this.contents:Mr(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Mr(this.contents)?this.contents.has(t):!1}hasIn(t){return Lo(t)?this.contents!==void 0:Mr(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Lu(this.schema,[t],n):Ia(this.contents)&&this.contents.set(t,n)}setIn(t,n){Lo(t)?this.contents=n:this.contents==null?this.contents=Lu(this.schema,Array.from(t),n):Ia(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new si({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new si({version:t}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new xf(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:s,reviver:a}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=ki(this.contents,n??"",o);if(typeof s=="function")for(const{count:l,res:b}of o.anchors.values())s(b,l);return typeof a=="function"?_a(a,{"":u},"",u):u}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return Wb(this,t)}}function Ia(e){if(Mr(e))return!0;throw new Error("Expected a YAML collection as document contents")}class km extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class Mo extends km{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class Gb extends km{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const Pm=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(o=>t.linePos(o));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&a.length>80){const o=Math.min(s-39,a.length-79);a="…"+a.substring(o),s-=o-1}if(a.length>80&&(a=a.substring(0,79)+"…"),r>1&&/^ *$/.test(a.substring(0,s))){let o=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);o.length>80&&(o=o.substring(0,79)+`…
77
+ `),a=o+a}if(/[^ ]/.test(a)){let o=1;const u=n.linePos[1];u&&u.line===r&&u.col>i&&(o=Math.max(1,Math.min(u.col-i,80-s)));const l=" ".repeat(s)+"^".repeat(o);n.message+=`:
78
+
79
+ ${a}
80
+ ${l}
81
+ `}};function Oa(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:a,startOnNewline:o}){let u=!1,l=o,b=o,c="",_="",T=!1,ee=!1,X=null,L=null,he=null,Te=null,Pe=null,Fe=null,oe=null;for(const ze of e)switch(ee&&(ze.type!=="space"&&ze.type!=="newline"&&ze.type!=="comma"&&s(ze.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),ee=!1),X&&(l&&ze.type!=="comment"&&ze.type!=="newline"&&s(X,"TAB_AS_INDENT","Tabs are not allowed as indentation"),X=null),ze.type){case"space":!t&&(n!=="doc-start"||(r==null?void 0:r.type)!=="flow-collection")&&ze.source.includes(" ")&&(X=ze),b=!0;break;case"comment":{b||s(ze,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const Ie=ze.source.substring(1)||" ";c?c+=_+Ie:c=Ie,_="",l=!1;break}case"newline":l?c?c+=ze.source:u=!0:_+=ze.source,l=!0,T=!0,(L||he)&&(Te=ze),b=!0;break;case"anchor":L&&s(ze,"MULTIPLE_ANCHORS","A node can have at most one anchor"),ze.source.endsWith(":")&&s(ze.offset+ze.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),L=ze,oe===null&&(oe=ze.offset),l=!1,b=!1,ee=!0;break;case"tag":{he&&s(ze,"MULTIPLE_TAGS","A node can have at most one tag"),he=ze,oe===null&&(oe=ze.offset),l=!1,b=!1,ee=!0;break}case n:(L||he)&&s(ze,"BAD_PROP_ORDER",`Anchors and tags must be after the ${ze.source} indicator`),Fe&&s(ze,"UNEXPECTED_TOKEN",`Unexpected ${ze.source} in ${t??"collection"}`),Fe=ze,l=n==="seq-item-ind"||n==="explicit-key-ind",b=!1;break;case"comma":if(t){Pe&&s(ze,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),Pe=ze,l=!1,b=!1;break}default:s(ze,"UNEXPECTED_TOKEN",`Unexpected ${ze.type} token`),l=!1,b=!1}const ve=e[e.length-1],We=ve?ve.offset+ve.source.length:i;return ee&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),X&&(l&&X.indent<=a||(r==null?void 0:r.type)==="block-map"||(r==null?void 0:r.type)==="block-seq")&&s(X,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:Pe,found:Fe,spaceBefore:u,comment:c,hasNewline:T,anchor:L,tag:he,newlineAfterProp:Te,end:We,start:oe??We}}function Io(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
82
+ `))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Io(t.key)||Io(t.value))return!0}return!1;default:return!0}}function Sf(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&Io(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Bm(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,a)=>s===a||Un(s)&&Un(a)&&s.value===a.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}const Mm="All mapping items must start at the same column";function Jb({composeNode:e,composeEmptyNode:t},n,r,i,s){var b;const a=(s==null?void 0:s.nodeClass)??Pi,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const c of r.items){const{start:_,key:T,sep:ee,value:X}=c,L=Oa(_,{indicator:"explicit-key-ind",next:T??(ee==null?void 0:ee[0]),offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0}),he=!L.found;if(he){if(T&&(T.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in T&&T.indent!==r.indent&&i(u,"BAD_INDENT",Mm)),!L.anchor&&!L.tag&&!ee){l=L.end,L.comment&&(o.comment?o.comment+=`
83
+ `+L.comment:o.comment=L.comment);continue}(L.newlineAfterProp||Io(T))&&i(T??_[_.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((b=L.found)==null?void 0:b.indent)!==r.indent&&i(u,"BAD_INDENT",Mm);const Te=L.end,Pe=T?e(n,T,L,i):t(n,Te,_,null,L,i);n.schema.compat&&Sf(r.indent,T,i),Bm(n,o.items,Pe)&&i(Te,"DUPLICATE_KEY","Map keys must be unique");const Fe=Oa(ee??[],{indicator:"map-value-ind",next:X,offset:Pe.range[2],onError:i,parentIndent:r.indent,startOnNewline:!T||T.type==="block-scalar"});if(u=Fe.end,Fe.found){he&&((X==null?void 0:X.type)==="block-map"&&!Fe.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&L.start<Fe.found.offset-1024&&i(Pe.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const oe=X?e(n,X,Fe,i):t(n,u,ee,null,Fe,i);n.schema.compat&&Sf(r.indent,X,i),u=oe.range[2];const ve=new ai(Pe,oe);n.options.keepSourceTokens&&(ve.srcToken=c),o.items.push(ve)}else{he&&i(Pe.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),Fe.comment&&(Pe.comment?Pe.comment+=`
84
+ `+Fe.comment:Pe.comment=Fe.comment);const oe=new ai(Pe);n.options.keepSourceTokens&&(oe.srcToken=c),o.items.push(oe)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,u,l??u],o}function Yb({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=(s==null?void 0:s.nodeClass)??Gs,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,l=null;for(const{start:b,value:c}of r.items){const _=Oa(b,{indicator:"seq-item-ind",next:c,offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!_.found)if(_.anchor||_.tag||c)c&&c.type==="block-seq"?i(_.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=_.end,_.comment&&(o.comment=_.comment);continue}const T=c?e(n,c,_,i):t(n,_.end,b,null,_,i);n.schema.compat&&Sf(r.indent,c,i),u=T.range[2],o.items.push(T)}return o.range=[r.offset,u,l??u],o}function Oo(e,t,n,r){let i="";if(e){let s=!1,a="";for(const o of e){const{source:u,type:l}=o;switch(l){case"space":s=!0;break;case"comment":{n&&!s&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const b=u.substring(1)||" ";i?i+=a+b:i=b,a="";break}case"newline":i&&(a+=u),s=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=u.length}}return{comment:i,offset:t}}const wf="Block collections are not allowed within flow collections",Ff=e=>e&&(e.type==="block-map"||e.type==="block-seq");function Hb({composeNode:e,composeEmptyNode:t},n,r,i,s){const a=r.start.source==="{",o=a?"flow map":"flow sequence",u=(s==null?void 0:s.nodeClass)??(a?Pi:Gs),l=new u(n.schema);l.flow=!0;const b=n.atRoot;b&&(n.atRoot=!1);let c=r.offset+r.start.source.length;for(let L=0;L<r.items.length;++L){const he=r.items[L],{start:Te,key:Pe,sep:Fe,value:oe}=he,ve=Oa(Te,{flow:o,indicator:"explicit-key-ind",next:Pe??(Fe==null?void 0:Fe[0]),offset:c,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!ve.found){if(!ve.anchor&&!ve.tag&&!Fe&&!oe){L===0&&ve.comma?i(ve.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):L<r.items.length-1&&i(ve.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),ve.comment&&(l.comment?l.comment+=`
85
+ `+ve.comment:l.comment=ve.comment),c=ve.end;continue}!a&&n.options.strict&&Io(Pe)&&i(Pe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(L===0)ve.comma&&i(ve.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(ve.comma||i(ve.start,"MISSING_CHAR",`Missing , between ${o} items`),ve.comment){let We="";e:for(const ze of Te)switch(ze.type){case"comma":case"space":break;case"comment":We=ze.source.substring(1);break e;default:break e}if(We){let ze=l.items[l.items.length-1];hr(ze)&&(ze=ze.value??ze.key),ze.comment?ze.comment+=`
86
+ `+We:ze.comment=We,ve.comment=ve.comment.substring(We.length+1)}}if(!a&&!Fe&&!ve.found){const We=oe?e(n,oe,ve,i):t(n,ve.end,Fe,null,ve,i);l.items.push(We),c=We.range[2],Ff(oe)&&i(We.range,"BLOCK_IN_FLOW",wf)}else{const We=ve.end,ze=Pe?e(n,Pe,ve,i):t(n,We,Te,null,ve,i);Ff(Pe)&&i(ze.range,"BLOCK_IN_FLOW",wf);const Ie=Oa(Fe??[],{flow:o,indicator:"map-value-ind",next:oe,offset:ze.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(Ie.found){if(!a&&!ve.found&&n.options.strict){if(Fe)for(const Ve of Fe){if(Ve===Ie.found)break;if(Ve.type==="newline"){i(Ve,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}ve.start<Ie.found.offset-1024&&i(Ie.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else oe&&("source"in oe&&oe.source&&oe.source[0]===":"?i(oe,"MISSING_CHAR",`Missing space after : in ${o}`):i(Ie.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const Qe=oe?e(n,oe,Ie,i):Ie.found?t(n,Ie.end,Fe,null,Ie,i):null;Qe?Ff(oe)&&i(Qe.range,"BLOCK_IN_FLOW",wf):Ie.comment&&(ze.comment?ze.comment+=`
87
+ `+Ie.comment:ze.comment=Ie.comment);const Ke=new ai(ze,Qe);if(n.options.keepSourceTokens&&(Ke.srcToken=he),a){const Ve=l;Bm(n,Ve.items,ze)&&i(We,"DUPLICATE_KEY","Map keys must be unique"),Ve.items.push(Ke)}else{const Ve=new Pi(n.schema);Ve.flow=!0,Ve.items.push(Ke);const ct=(Qe??ze).range;Ve.range=[ze.range[0],ct[1],ct[2]],l.items.push(Ve)}c=Qe?Qe.range[2]:Ie.end}}const _=a?"}":"]",[T,...ee]=r.end;let X=c;if(T&&T.source===_)X=T.offset+T.source.length;else{const L=o[0].toUpperCase()+o.substring(1),he=b?`${L} must end with a ${_}`:`${L} in block collection must be sufficiently indented and end with a ${_}`;i(c,b?"MISSING_CHAR":"BAD_INDENT",he),T&&T.source.length!==1&&ee.unshift(T)}if(ee.length>0){const L=Oo(ee,X,n.options.strict,i);L.comment&&(l.comment?l.comment+=`
88
+ `+L.comment:l.comment=L.comment),l.range=[r.offset,X,L.offset]}else l.range=[r.offset,X,X];return l}function Nf(e,t,n,r,i,s){const a=n.type==="block-map"?Jb(e,t,n,r,s):n.type==="block-seq"?Yb(e,t,n,r,s):Hb(e,t,n,r,s),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}function zb(e,t,n,r,i){var _;const s=r.tag,a=s?t.directives.tagName(s.source,T=>i(s,"TAG_RESOLVE_FAILED",T)):null;if(n.type==="block-seq"){const{anchor:T,newlineAfterProp:ee}=r,X=T&&s?T.offset>s.offset?T:s:T??s;X&&(!ee||ee.offset<X.offset)&&i(X,"MISSING_CHAR","Missing newline after block sequence props")}const o=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!s||!a||a==="!"||a===Pi.tagName&&o==="map"||a===Gs.tagName&&o==="seq")return Nf(e,t,n,i,a);let u=t.schema.tags.find(T=>T.tag===a&&T.collection===o);if(!u){const T=t.schema.knownTags[a];if(T&&T.collection===o)t.schema.tags.push(Object.assign({},T,{default:!1})),u=T;else return T!=null&&T.collection?i(s,"BAD_COLLECTION_TYPE",`${T.tag} used for ${o} collection, but expects ${T.collection}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),Nf(e,t,n,i,a)}const l=Nf(e,t,n,i,a,u),b=((_=u.resolve)==null?void 0:_.call(u,l,T=>i(s,"TAG_RESOLVE_FAILED",T),t.options))??l,c=mr(b)?b:new Qn(b);return c.range=l.range,c.tag=a,u!=null&&u.format&&(c.format=u.format),c}function Xb(e,t,n){const r=t.offset,i=Qb(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?Qn.BLOCK_FOLDED:Qn.BLOCK_LITERAL,a=t.source?Kb(t.source):[];let o=a.length;for(let X=a.length-1;X>=0;--X){const L=a[X][1];if(L===""||L==="\r")o=X;else break}if(o===0){const X=i.chomp==="+"&&a.length>0?`
89
+ `.repeat(Math.max(1,a.length-1)):"";let L=r+i.length;return t.source&&(L+=t.source.length),{value:X,type:s,comment:i.comment,range:[r,L,L]}}let u=t.indent+i.indent,l=t.offset+i.length,b=0;for(let X=0;X<o;++X){const[L,he]=a[X];if(he===""||he==="\r")i.indent===0&&L.length>u&&(u=L.length);else{L.length<u&&n(l+L.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(u=L.length),b=X,u===0&&!e.atRoot&&n(l,"BAD_INDENT","Block scalar values in collections must be indented");break}l+=L.length+he.length+1}for(let X=a.length-1;X>=o;--X)a[X][0].length>u&&(o=X+1);let c="",_="",T=!1;for(let X=0;X<b;++X)c+=a[X][0].slice(u)+`
90
+ `;for(let X=b;X<o;++X){let[L,he]=a[X];l+=L.length+he.length+1;const Te=he[he.length-1]==="\r";if(Te&&(he=he.slice(0,-1)),he&&L.length<u){const Fe=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(l-he.length-(Te?2:1),"BAD_INDENT",Fe),L=""}s===Qn.BLOCK_LITERAL?(c+=_+L.slice(u)+he,_=`
91
+ `):L.length>u||he[0]===" "?(_===" "?_=`
92
+ `:!T&&_===`
93
+ `&&(_=`
94
+
95
+ `),c+=_+L.slice(u)+he,_=`
96
+ `,T=!0):he===""?_===`
97
+ `?c+=`
98
+ `:_=`
99
+ `:(c+=_+he,_=" ",T=!1)}switch(i.chomp){case"-":break;case"+":for(let X=o;X<a.length;++X)c+=`
100
+ `+a[X][0].slice(u);c[c.length-1]!==`
101
+ `&&(c+=`
102
+ `);break;default:c+=`
103
+ `}const ee=r+i.length+t.source.length;return{value:c,type:s,comment:i.comment,range:[r,ee,ee]}}function Qb({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],s=i[0];let a=0,o="",u=-1;for(let _=1;_<i.length;++_){const T=i[_];if(!o&&(T==="-"||T==="+"))o=T;else{const ee=Number(T);!a&&ee?a=ee:u===-1&&(u=e+_)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,b="",c=i.length;for(let _=1;_<t.length;++_){const T=t[_];switch(T.type){case"space":l=!0;case"newline":c+=T.source.length;break;case"comment":n&&!l&&r(T,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),c+=T.source.length,b=T.source.substring(1);break;case"error":r(T,"UNEXPECTED_TOKEN",T.message),c+=T.source.length;break;default:{const ee=`Unexpected token in block scalar header: ${T.type}`;r(T,"UNEXPECTED_TOKEN",ee);const X=T.source;X&&typeof X=="string"&&(c+=X.length)}}}return{mode:s,indent:a,chomp:o,comment:b,length:c}}function Kb(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),s=[r!=null&&r[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let a=1;a<t.length;a+=2)s.push([t[a],t[a+1]]);return s}function Zb(e,t,n){const{offset:r,type:i,source:s,end:a}=e;let o,u;const l=(_,T,ee)=>n(r+_,T,ee);switch(i){case"scalar":o=Qn.PLAIN,u=ev(s,l);break;case"single-quoted-scalar":o=Qn.QUOTE_SINGLE,u=tv(s,l);break;case"double-quoted-scalar":o=Qn.QUOTE_DOUBLE,u=nv(s,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+s.length,r+s.length]}}const b=r+s.length,c=Oo(a,b,t,n);return{value:u,type:o,comment:c.comment,range:[r,b,c.offset]}}function ev(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Im(e)}function tv(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Im(e.slice(1,-1)).replace(/''/g,"'")}function Im(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
104
+ `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
105
+ `,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",a=t.lastIndex;for(n.lastIndex=a;r=n.exec(e);)r[1]===""?s===`
106
+ `?i+=s:s=`
107
+ `:(i+=s+r[1],s=" "),a=n.lastIndex;const o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+s+((r==null?void 0:r[1])??"")}function nv(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
108
+ `))if(i===`
109
+ `){const{fold:s,offset:a}=rv(e,r);n+=s,r=a}else if(i==="\\"){let s=e[++r];const a=iv[s];if(a)n+=a;else if(s===`
110
+ `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
111
+ `)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const o={x:2,u:4,U:8}[s];n+=sv(e,r+1,o,t),r+=o}else{const o=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}}else if(i===" "||i===" "){const s=r;let a=e[r+1];for(;a===" "||a===" ";)a=e[++r+1];a!==`
112
+ `&&!(a==="\r"&&e[r+2]===`
113
+ `)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function rv(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
114
+ `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
115
+ `);)r===`
116
+ `&&(n+=`
117
+ `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const iv={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
118
+ `,r:"\r",t:" ",v:"\v",N:"…",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function sv(e,t,n,r){const i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(a)}function Om(e,t,n,r){const{value:i,type:s,comment:a,range:o}=t.type==="block-scalar"?Xb(e,t,r):Zb(t,e.options.strict,r),u=n?e.directives.tagName(n.source,c=>r(n,"TAG_RESOLVE_FAILED",c)):null,l=n&&u?av(e.schema,i,u,n,r):t.type==="scalar"?ov(e,i,t,r):e.schema[ds];let b;try{const c=l.resolve(i,_=>r(n??t,"TAG_RESOLVE_FAILED",_),e.options);b=Un(c)?c:new Qn(c)}catch(c){const _=c instanceof Error?c.message:String(c);r(n??t,"TAG_RESOLVE_FAILED",_),b=new Qn(i)}return b.range=o,b.source=i,s&&(b.type=s),u&&(b.tag=u),l.format&&(b.format=l.format),a&&(b.comment=a),b}function av(e,t,n,r,i){var o;if(n==="!")return e[ds];const s=[];for(const u of e.tags)if(!u.collection&&u.tag===n)if(u.default&&u.test)s.push(u);else return u;for(const u of s)if((o=u.test)!=null&&o.test(t))return u;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[ds])}function ov({directives:e,schema:t},n,r,i){const s=t.tags.find(a=>{var o;return a.default&&((o=a.test)==null?void 0:o.test(n))})||t[ds];if(t.compat){const a=t.compat.find(o=>{var u;return o.default&&((u=o.test)==null?void 0:u.test(n))})??t[ds];if(s.tag!==a.tag){const o=e.tagString(s.tag),u=e.tagString(a.tag),l=`Value may be parsed as either ${o} or ${u}`;i(r,"TAG_RESOLVE_FAILED",l,!0)}}return s}function uv(e,t,n){if(t){n===null&&(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];(i==null?void 0:i.type)==="space";)e+=i.source.length,i=t[++r];break}}return e}const lv={composeNode:jm,composeEmptyNode:_f};function jm(e,t,n,r){const{spaceBefore:i,comment:s,anchor:a,tag:o}=n;let u,l=!0;switch(t.type){case"alias":u=cv(e,t,r),(a||o)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Om(e,t,o,r),a&&(u.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=zb(lv,e,t,n,r),a&&(u.anchor=a.source.substring(1));break;default:{const b=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",b),u=_f(e,t.offset,void 0,null,n,r),l=!1}}return a&&u.anchor===""&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(u.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?u.comment=s:u.commentBefore=s),e.options.keepSourceTokens&&l&&(u.srcToken=t),u}function _f(e,t,n,r,{spaceBefore:i,comment:s,anchor:a,tag:o,end:u},l){const b={type:"scalar",offset:uv(t,n,r),indent:-1,source:""},c=Om(e,b,o,l);return a&&(c.anchor=a.source.substring(1),c.anchor===""&&l(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(c.spaceBefore=!0),s&&(c.comment=s,c.range[2]=u),c}function cv({options:e},{offset:t,source:n,end:r},i){const s=new uf(n.substring(1));s.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const a=t+n.length,o=Oo(r,a,e.strict,i);return s.range=[t,a,o.offset],o.comment&&(s.comment=o.comment),s}function fv(e,t,{offset:n,start:r,value:i,end:s},a){const o=Object.assign({_directives:t},e),u=new Bo(void 0,o),l={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},b=Oa(r,{indicator:"doc-start",next:i??(s==null?void 0:s[0]),offset:n,onError:a,parentIndent:0,startOnNewline:!0});b.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!b.hasNewline&&a(b.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?jm(l,i,b,a):_f(l,b.end,r,null,b,a);const c=u.contents.range[2],_=Oo(s,c,!1,a);return _.comment&&(u.comment=_.comment),u.range=[n,c,_.offset],u}function jo(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function Rm(e){var i;let t="",n=!1,r=!1;for(let s=0;s<e.length;++s){const a=e[s];switch(a[0]){case"#":t+=(t===""?"":r?`
119
+
120
+ `:`
121
+ `)+(a.substring(1)||" "),n=!0,r=!1;break;case"%":((i=e[s+1])==null?void 0:i[0])!=="#"&&(s+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class $m{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const a=jo(n);s?this.warnings.push(new Gb(a,r,i)):this.errors.push(new Mo(a,r,i))},this.directives=new si({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Rm(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
122
+ ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(Mr(s)&&!s.flow&&s.items.length>0){let a=s.items[0];hr(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
123
+ ${o}`:r}else{const a=s.commentBefore;s.commentBefore=a?`${r}
124
+ ${a}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Rm(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const s=jo(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=fv(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Mo(jo(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Mo(jo(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Oo(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
125
+ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Mo(jo(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new Bo(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const Vm=e=>"type"in e?Gu(e):Ju(e);function Gu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Gu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Ju(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Ju(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Ju(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Ju({start:e,key:t,sep:n,value:r}){let i="";for(const s of e)i+=s.source;if(t&&(i+=Gu(t)),n)for(const s of n)i+=s.source;return r&&(i+=Gu(r)),i}const Tf=Symbol("break visit"),pv=Symbol("skip children"),qm=Symbol("remove item");function Js(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),Um(Object.freeze([]),e,t)}Js.BREAK=Tf,Js.SKIP=pv,Js.REMOVE=qm,Js.itemAtPath=(e,t)=>{let n=e;for(const[r,i]of t){const s=n==null?void 0:n[r];if(s&&"items"in s)n=s.items[i];else return}return n},Js.parentCollection=(e,t)=>{const n=Js.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n==null?void 0:n[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function Um(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const i of["key","value"]){const s=t[i];if(s&&"items"in s){for(let a=0;a<s.items.length;++a){const o=Um(Object.freeze(e.concat([[i,a]])),s.items[a],n);if(typeof o=="number")a=o-1;else{if(o===Tf)return Tf;o===qm&&(s.items.splice(a,1),a-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const Wm="\uFEFF",Gm="",Jm="",Lf="",dv=e=>!!e&&"items"in e,kf=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function hv(e){switch(e){case Wm:return"byte-order-mark";case Gm:return"doc-mode";case Jm:return"flow-error-end";case Lf:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
126
+ `:case`\r
127
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function Vi(e){switch(e){case void 0:case" ":case`
128
+ `:case"\r":case" ":return!0;default:return!1}}const Ym=new Set("0123456789ABCDEFabcdef"),mv=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Yu=new Set(",[]{}"),gv=new Set(` ,[]{}
129
+ \r `),Pf=e=>!e||gv.has(e);class yv{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
130
+ `?!0:n==="\r"?this.buffer[t+1]===`
131
+ `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
132
+ `||!i&&!this.atEnd)return t+r+1}return n===`
133
+ `||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Vi(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
134
+ `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Wm&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const s=t[r-1];if(s===" "||s===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const s=t[n-1];if(s===" "||s===" ")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Gm,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&Vi(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Vi(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Vi(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Pf),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Vi(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Jm,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Pf),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const a=this.charAt(1);if(this.flowKey||Vi(a)||a===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let s=0;for(;this.buffer[n-1-s]==="\\";)s+=1;if(s%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
135
+ `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
136
+ `,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Vi(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let s=this.pos;r=this.buffer[s];++s)switch(r){case" ":n+=1;break;case`
137
+ `:t=s,n=0;break;case"\r":{const a=this.buffer[s+1];if(!a&&!this.atEnd)return this.setNext("block-scalar");if(a===`
138
+ `)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const s=this.continueScalar(t+1);if(s===-1)break;t=this.buffer.indexOf(`
139
+ `,s)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(r=this.buffer[i];r===" ";)r=this.buffer[++i];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===`
140
+ `;)r=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let s=t-1,a=this.buffer[s];a==="\r"&&(a=this.buffer[--s]);const o=s;for(;a===" ";)a=this.buffer[--s];if(a===`
141
+ `&&s>=this.pos&&s+1+n>o)t=s;else break}while(!0);return yield Lf,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const s=this.buffer[r+1];if(Vi(s)||t&&Yu.has(s))break;n=r}else if(Vi(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
142
+ `?(r+=1,i=`
143
+ `,s=this.buffer[r+1]):n=r),s==="#"||t&&Yu.has(s))break;if(i===`
144
+ `){const a=this.continueScalar(r+1);if(a===-1)break;r=Math.max(r,a-2)}}else{if(t&&Yu.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Lf,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Pf))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Vi(n)||t&&Yu.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Vi(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(mv.has(n))n=this.buffer[++t];else if(n==="%"&&Ym.has(this.buffer[t+1])&&Ym.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
145
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
146
+ `?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Hm{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<t?n=s+1:r=s}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function Ys(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function zm(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function Xm(e){switch(e==null?void 0:e.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Hu(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function ja(e){var n;if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function Qm(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Ys(t.start,"explicit-key-ind")&&!Ys(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Xm(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class Bf{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new yv,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=hv(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Qm(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&zm(i.start)===-1&&(n.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{zm(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Hu(this.peek(2)),r=ja(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
147
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
148
+ `,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const i="end"in n.value?n.value.end:void 0,s=Array.isArray(i)?i[i.length-1]:void 0;(s==null?void 0:s.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],s=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(s)){Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const i=!this.onKeyLine&&this.indent===t.indent,s=i&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let a=[];if(s&&n.sep&&!n.value){const o=[];for(let u=0;u<n.sep.length;++u){const l=n.sep[u];switch(l.type){case"newline":o.push(u);break;case"space":break;case"comment":l.indent>t.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(a=n.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":s||n.value?(a.push(this.sourceToken),t.items.push({start:a}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):s||n.value?(a.push(this.sourceToken),t.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ys(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(Xm(n.key)&&!Ys(n.sep,"newline")){const o=ja(n.start),u=n.key,l=n.sep;l.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:u,sep:l}]})}else a.length>0?n.sep=n.sep.concat(a,this.sourceToken):n.sep.push(this.sourceToken);else if(Ys(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const o=ja(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||s?t.items.push({start:a,key:null,sep:[this.sourceToken]}):Ys(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);s||n.value?(t.items.push({start:a,key:o,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(o):(Object.assign(n,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(t);if(o){i&&o.type!=="block-seq"&&t.items.push({start:a}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const i="end"in n.value?n.value.end:void 0,s=Array.isArray(i)?i[i.length-1]:void 0;(s==null?void 0:s.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],s=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(s)){Array.prototype.push.apply(s,n.start),s.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Ys(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Hu(r),s=ja(i);Qm(t);const a=t.end.splice(1,t.end.length);a.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
149
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
150
+ `,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Hu(t),r=ja(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Hu(t),r=ja(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Dv(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Hm||null,prettyErrors:t}}function bv(e,t={}){const{lineCounter:n,prettyErrors:r}=Dv(t),i=new Bf(n==null?void 0:n.addNewLine),s=new $m(t);let a=null;for(const o of s.compose(i.parse(e),!0,e.length))if(!a)a=o;else if(a.options.logLevel!=="silent"){a.errors.push(new Mo(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(Pm(e,n)),a.warnings.forEach(Pm(e,n))),a}function vv(e,t,n){let r;const i=bv(e,n);if(!i)return null;if(i.warnings.forEach(s=>lm(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Ev(e,t,n){let r=null;if(Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){const{keepUndefined:i}=n??t??{};if(!i)return}return new Bo(e,r,n).toString(n)}var Km=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Av(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Zm(e,t){for(var n="",r=0,i=-1,s=0,a,o=0;o<=e.length;++o){if(o<e.length)a=e.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=o,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s!==-1?++s:s=-1}return n}function Cv(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var Ra={resolve:function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=process.cwd()),s=r),Zi(s),s.length!==0&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Zm(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Zi(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Zm(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},isAbsolute:function(t){return Zi(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];Zi(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":Ra.normalize(t)},relative:function(t,n){if(Zi(t),Zi(n),t===n||(t=Ra.resolve(t),n=Ra.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,a=1;a<n.length&&n.charCodeAt(a)===47;++a);for(var o=n.length,u=o-a,l=s<u?s:u,b=-1,c=0;c<=l;++c){if(c===l){if(u>l){if(n.charCodeAt(a+c)===47)return n.slice(a+c+1);if(c===0)return n.slice(a+c)}else s>l&&(t.charCodeAt(r+c)===47?b=c:c===0&&(b=0));break}var _=t.charCodeAt(r+c),T=n.charCodeAt(a+c);if(_!==T)break;_===47&&(b=c)}var ee="";for(c=r+b+1;c<=i;++c)(c===i||t.charCodeAt(c)===47)&&(ee.length===0?ee+="..":ee+="/..");return ee.length>0?ee+n.slice(a+b):(a+=b,n.charCodeAt(a)===47&&++a,n.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Zi(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!s){i=a;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},basename:function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Zi(t);var r=0,i=-1,s=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var o=n.length-1,u=-1;for(a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(l===47){if(!s){r=a+1;break}}else u===-1&&(s=!1,u=a+1),o>=0&&(l===n.charCodeAt(o)?--o===-1&&(i=a):(o=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!s){r=a+1;break}}else i===-1&&(s=!1,i=a+1);return i===-1?"":t.slice(r,i)}},extname:function(t){Zi(t);for(var n=-1,r=0,i=-1,s=!0,a=0,o=t.length-1;o>=0;--o){var u=t.charCodeAt(o);if(u===47){if(!s){r=o+1;break}continue}i===-1&&(s=!1,i=o+1),u===46?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return Cv("/",t)},parse:function(t){Zi(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var a=-1,o=0,u=-1,l=!0,b=t.length-1,c=0;b>=s;--b){if(r=t.charCodeAt(b),r===47){if(!l){o=b+1;break}continue}u===-1&&(l=!1,u=b+1),r===46?a===-1?a=b:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||u===-1||c===0||c===1&&a===u-1&&a===o+1?u!==-1&&(o===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(o,u)):(o===0&&i?(n.name=t.slice(1,a),n.base=t.slice(1,u)):(n.name=t.slice(o,a),n.base=t.slice(o,u)),n.ext=t.slice(a,u)),o>0?n.dir=t.slice(0,o-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ra.posix=Ra;var Hs=Ra,eg={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(Qt,ut)=>()=>(ut||Qt((ut={exports:{}}).exports,ut),ut.exports),r=n((Qt,ut)=>{var et=function(ft){return ft&&ft.Math==Math&&ft};ut.exports=et(typeof globalThis=="object"&&globalThis)||et(typeof window=="object"&&window)||et(typeof self=="object"&&self)||et(typeof Km=="object"&&Km)||function(){return this}()||Function("return this")()}),i=n((Qt,ut)=>{ut.exports=function(et){try{return!!et()}catch{return!0}}}),s=n((Qt,ut)=>{var et=i();ut.exports=!et(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=n((Qt,ut)=>{var et=i();ut.exports=!et(function(){var ft=(function(){}).bind();return typeof ft!="function"||ft.hasOwnProperty("prototype")})}),o=n((Qt,ut)=>{var et=a(),ft=Function.prototype.call;ut.exports=et?ft.bind(ft):function(){return ft.apply(ft,arguments)}}),u=n(Qt=>{var ut={}.propertyIsEnumerable,et=Object.getOwnPropertyDescriptor,ft=et&&!ut.call({1:2},1);Qt.f=ft?function(at){var wt=et(this,at);return!!wt&&wt.enumerable}:ut}),l=n((Qt,ut)=>{ut.exports=function(et,ft){return{enumerable:!(et&1),configurable:!(et&2),writable:!(et&4),value:ft}}}),b=n((Qt,ut)=>{var et=a(),ft=Function.prototype,at=ft.call,wt=et&&ft.bind.bind(at,at);ut.exports=et?wt:function(Mt){return function(){return at.apply(Mt,arguments)}}}),c=n((Qt,ut)=>{var et=b(),ft=et({}.toString),at=et("".slice);ut.exports=function(wt){return at(ft(wt),8,-1)}}),_=n((Qt,ut)=>{var et=b(),ft=i(),at=c(),wt=Object,Mt=et("".split);ut.exports=ft(function(){return!wt("z").propertyIsEnumerable(0)})?function(Ht){return at(Ht)=="String"?Mt(Ht,""):wt(Ht)}:wt}),T=n((Qt,ut)=>{ut.exports=function(et){return et==null}}),ee=n((Qt,ut)=>{var et=T(),ft=TypeError;ut.exports=function(at){if(et(at))throw ft("Can't call method on "+at);return at}}),X=n((Qt,ut)=>{var et=_(),ft=ee();ut.exports=function(at){return et(ft(at))}}),L=n((Qt,ut)=>{var et=typeof document=="object"&&document.all,ft=typeof et>"u"&&et!==void 0;ut.exports={all:et,IS_HTMLDDA:ft}}),he=n((Qt,ut)=>{var et=L(),ft=et.all;ut.exports=et.IS_HTMLDDA?function(at){return typeof at=="function"||at===ft}:function(at){return typeof at=="function"}}),Te=n((Qt,ut)=>{var et=he(),ft=L(),at=ft.all;ut.exports=ft.IS_HTMLDDA?function(wt){return typeof wt=="object"?wt!==null:et(wt)||wt===at}:function(wt){return typeof wt=="object"?wt!==null:et(wt)}}),Pe=n((Qt,ut)=>{var et=r(),ft=he(),at=function(wt){return ft(wt)?wt:void 0};ut.exports=function(wt,Mt){return arguments.length<2?at(et[wt]):et[wt]&&et[wt][Mt]}}),Fe=n((Qt,ut)=>{var et=b();ut.exports=et({}.isPrototypeOf)}),oe=n((Qt,ut)=>{var et=Pe();ut.exports=et("navigator","userAgent")||""}),ve=n((Qt,ut)=>{var et=r(),ft=oe(),at=et.process,wt=et.Deno,Mt=at&&at.versions||wt&&wt.version,Ht=Mt&&Mt.v8,qt,zt;Ht&&(qt=Ht.split("."),zt=qt[0]>0&&qt[0]<4?1:+(qt[0]+qt[1])),!zt&&ft&&(qt=ft.match(/Edge\/(\d+)/),(!qt||qt[1]>=74)&&(qt=ft.match(/Chrome\/(\d+)/),qt&&(zt=+qt[1]))),ut.exports=zt}),We=n((Qt,ut)=>{var et=ve(),ft=i();ut.exports=!!Object.getOwnPropertySymbols&&!ft(function(){var at=Symbol();return!String(at)||!(Object(at)instanceof Symbol)||!Symbol.sham&&et&&et<41})}),ze=n((Qt,ut)=>{var et=We();ut.exports=et&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ie=n((Qt,ut)=>{var et=Pe(),ft=he(),at=Fe(),wt=ze(),Mt=Object;ut.exports=wt?function(Ht){return typeof Ht=="symbol"}:function(Ht){var qt=et("Symbol");return ft(qt)&&at(qt.prototype,Mt(Ht))}}),Qe=n((Qt,ut)=>{var et=String;ut.exports=function(ft){try{return et(ft)}catch{return"Object"}}}),Ke=n((Qt,ut)=>{var et=he(),ft=Qe(),at=TypeError;ut.exports=function(wt){if(et(wt))return wt;throw at(ft(wt)+" is not a function")}}),Ve=n((Qt,ut)=>{var et=Ke(),ft=T();ut.exports=function(at,wt){var Mt=at[wt];return ft(Mt)?void 0:et(Mt)}}),ct=n((Qt,ut)=>{var et=o(),ft=he(),at=Te(),wt=TypeError;ut.exports=function(Mt,Ht){var qt,zt;if(Ht==="string"&&ft(qt=Mt.toString)&&!at(zt=et(qt,Mt))||ft(qt=Mt.valueOf)&&!at(zt=et(qt,Mt))||Ht!=="string"&&ft(qt=Mt.toString)&&!at(zt=et(qt,Mt)))return zt;throw wt("Can't convert object to primitive value")}}),Xe=n((Qt,ut)=>{ut.exports=!1}),kt=n((Qt,ut)=>{var et=r(),ft=Object.defineProperty;ut.exports=function(at,wt){try{ft(et,at,{value:wt,configurable:!0,writable:!0})}catch{et[at]=wt}return wt}}),Bt=n((Qt,ut)=>{var et=r(),ft=kt(),at="__core-js_shared__",wt=et[at]||ft(at,{});ut.exports=wt}),Gt=n((Qt,ut)=>{var et=Xe(),ft=Bt();(ut.exports=function(at,wt){return ft[at]||(ft[at]=wt!==void 0?wt:{})})("versions",[]).push({version:"3.26.1",mode:et?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),hn=n((Qt,ut)=>{var et=ee(),ft=Object;ut.exports=function(at){return ft(et(at))}}),_n=n((Qt,ut)=>{var et=b(),ft=hn(),at=et({}.hasOwnProperty);ut.exports=Object.hasOwn||function(wt,Mt){return at(ft(wt),Mt)}}),jn=n((Qt,ut)=>{var et=b(),ft=0,at=Math.random(),wt=et(1 .toString);ut.exports=function(Mt){return"Symbol("+(Mt===void 0?"":Mt)+")_"+wt(++ft+at,36)}}),Dr=n((Qt,ut)=>{var et=r(),ft=Gt(),at=_n(),wt=jn(),Mt=We(),Ht=ze(),qt=ft("wks"),zt=et.Symbol,fn=zt&&zt.for,yn=Ht?zt:zt&&zt.withoutSetter||wt;ut.exports=function(vn){if(!at(qt,vn)||!(Mt||typeof qt[vn]=="string")){var pn="Symbol."+vn;Mt&&at(zt,vn)?qt[vn]=zt[vn]:Ht&&fn?qt[vn]=fn(pn):qt[vn]=yn(pn)}return qt[vn]}}),ts=n((Qt,ut)=>{var et=o(),ft=Te(),at=Ie(),wt=Ve(),Mt=ct(),Ht=Dr(),qt=TypeError,zt=Ht("toPrimitive");ut.exports=function(fn,yn){if(!ft(fn)||at(fn))return fn;var vn=wt(fn,zt),pn;if(vn){if(yn===void 0&&(yn="default"),pn=et(vn,fn,yn),!ft(pn)||at(pn))return pn;throw qt("Can't convert object to primitive value")}return yn===void 0&&(yn="number"),Mt(fn,yn)}}),ns=n((Qt,ut)=>{var et=ts(),ft=Ie();ut.exports=function(at){var wt=et(at,"string");return ft(wt)?wt:wt+""}}),Gi=n((Qt,ut)=>{var et=r(),ft=Te(),at=et.document,wt=ft(at)&&ft(at.createElement);ut.exports=function(Mt){return wt?at.createElement(Mt):{}}}),Qa=n((Qt,ut)=>{var et=s(),ft=i(),at=Gi();ut.exports=!et&&!ft(function(){return Object.defineProperty(at("div"),"a",{get:function(){return 7}}).a!=7})}),gs=n(Qt=>{var ut=s(),et=o(),ft=u(),at=l(),wt=X(),Mt=ns(),Ht=_n(),qt=Qa(),zt=Object.getOwnPropertyDescriptor;Qt.f=ut?zt:function(fn,yn){if(fn=wt(fn),yn=Mt(yn),qt)try{return zt(fn,yn)}catch{}if(Ht(fn,yn))return at(!et(ft.f,fn,yn),fn[yn])}}),Os=n((Qt,ut)=>{var et=s(),ft=i();ut.exports=et&&ft(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Ci=n((Qt,ut)=>{var et=Te(),ft=String,at=TypeError;ut.exports=function(wt){if(et(wt))return wt;throw at(ft(wt)+" is not an object")}}),er=n(Qt=>{var ut=s(),et=Qa(),ft=Os(),at=Ci(),wt=ns(),Mt=TypeError,Ht=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,zt="enumerable",fn="configurable",yn="writable";Qt.f=ut?ft?function(vn,pn,we){if(at(vn),pn=wt(pn),at(we),typeof vn=="function"&&pn==="prototype"&&"value"in we&&yn in we&&!we[yn]){var Sn=qt(vn,pn);Sn&&Sn[yn]&&(vn[pn]=we.value,we={configurable:fn in we?we[fn]:Sn[fn],enumerable:zt in we?we[zt]:Sn[zt],writable:!1})}return Ht(vn,pn,we)}:Ht:function(vn,pn,we){if(at(vn),pn=wt(pn),at(we),et)try{return Ht(vn,pn,we)}catch{}if("get"in we||"set"in we)throw Mt("Accessors not supported");return"value"in we&&(vn[pn]=we.value),vn}}),Dl=n((Qt,ut)=>{var et=s(),ft=er(),at=l();ut.exports=et?function(wt,Mt,Ht){return ft.f(wt,Mt,at(1,Ht))}:function(wt,Mt,Ht){return wt[Mt]=Ht,wt}}),Yf=n((Qt,ut)=>{var et=s(),ft=_n(),at=Function.prototype,wt=et&&Object.getOwnPropertyDescriptor,Mt=ft(at,"name"),Ht=Mt&&(function(){}).name==="something",qt=Mt&&(!et||et&&wt(at,"name").configurable);ut.exports={EXISTS:Mt,PROPER:Ht,CONFIGURABLE:qt}}),Ka=n((Qt,ut)=>{var et=b(),ft=he(),at=Bt(),wt=et(Function.toString);ft(at.inspectSource)||(at.inspectSource=function(Mt){return wt(Mt)}),ut.exports=at.inspectSource}),Hf=n((Qt,ut)=>{var et=r(),ft=he(),at=et.WeakMap;ut.exports=ft(at)&&/native code/.test(String(at))}),kr=n((Qt,ut)=>{var et=Gt(),ft=jn(),at=et("keys");ut.exports=function(wt){return at[wt]||(at[wt]=ft(wt))}}),bl=n((Qt,ut)=>{ut.exports={}}),zf=n((Qt,ut)=>{var et=Hf(),ft=r(),at=Te(),wt=Dl(),Mt=_n(),Ht=Bt(),qt=kr(),zt=bl(),fn="Object already initialized",yn=ft.TypeError,vn=ft.WeakMap,pn,we,Sn,Mn=function(Re){return Sn(Re)?we(Re):pn(Re,{})},Kn=function(Re){return function(Zr){var As;if(!at(Zr)||(As=we(Zr)).type!==Re)throw yn("Incompatible receiver, "+Re+" required");return As}};et||Ht.state?(Yn=Ht.state||(Ht.state=new vn),Yn.get=Yn.get,Yn.has=Yn.has,Yn.set=Yn.set,pn=function(Re,Zr){if(Yn.has(Re))throw yn(fn);return Zr.facade=Re,Yn.set(Re,Zr),Zr},we=function(Re){return Yn.get(Re)||{}},Sn=function(Re){return Yn.has(Re)}):(xr=qt("state"),zt[xr]=!0,pn=function(Re,Zr){if(Mt(Re,xr))throw yn(fn);return Zr.facade=Re,wt(Re,xr,Zr),Zr},we=function(Re){return Mt(Re,xr)?Re[xr]:{}},Sn=function(Re){return Mt(Re,xr)});var Yn,xr;ut.exports={set:pn,get:we,has:Sn,enforce:Mn,getterFor:Kn}}),ys=n((Qt,ut)=>{var et=i(),ft=he(),at=_n(),wt=s(),Mt=Yf().CONFIGURABLE,Ht=Ka(),qt=zf(),zt=qt.enforce,fn=qt.get,yn=Object.defineProperty,vn=wt&&!et(function(){return yn(function(){},"length",{value:8}).length!==8}),pn=String(String).split("String"),we=ut.exports=function(Sn,Mn,Kn){String(Mn).slice(0,7)==="Symbol("&&(Mn="["+String(Mn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Kn&&Kn.getter&&(Mn="get "+Mn),Kn&&Kn.setter&&(Mn="set "+Mn),(!at(Sn,"name")||Mt&&Sn.name!==Mn)&&(wt?yn(Sn,"name",{value:Mn,configurable:!0}):Sn.name=Mn),vn&&Kn&&at(Kn,"arity")&&Sn.length!==Kn.arity&&yn(Sn,"length",{value:Kn.arity});try{Kn&&at(Kn,"constructor")&&Kn.constructor?wt&&yn(Sn,"prototype",{writable:!1}):Sn.prototype&&(Sn.prototype=void 0)}catch{}var Yn=zt(Sn);return at(Yn,"source")||(Yn.source=pn.join(typeof Mn=="string"?Mn:"")),Sn};Function.prototype.toString=we(function(){return ft(this)&&fn(this).source||Ht(this)},"toString")}),Za=n((Qt,ut)=>{var et=he(),ft=er(),at=ys(),wt=kt();ut.exports=function(Mt,Ht,qt,zt){zt||(zt={});var fn=zt.enumerable,yn=zt.name!==void 0?zt.name:Ht;if(et(qt)&&at(qt,yn,zt),zt.global)fn?Mt[Ht]=qt:wt(Ht,qt);else{try{zt.unsafe?Mt[Ht]&&(fn=!0):delete Mt[Ht]}catch{}fn?Mt[Ht]=qt:ft.f(Mt,Ht,{value:qt,enumerable:!1,configurable:!zt.nonConfigurable,writable:!zt.nonWritable})}return Mt}}),Ds=n((Qt,ut)=>{var et=Math.ceil,ft=Math.floor;ut.exports=Math.trunc||function(at){var wt=+at;return(wt>0?ft:et)(wt)}}),Yo=n((Qt,ut)=>{var et=Ds();ut.exports=function(ft){var at=+ft;return at!==at||at===0?0:et(at)}}),Xf=n((Qt,ut)=>{var et=Yo(),ft=Math.max,at=Math.min;ut.exports=function(wt,Mt){var Ht=et(wt);return Ht<0?ft(Ht+Mt,0):at(Ht,Mt)}}),Qf=n((Qt,ut)=>{var et=Yo(),ft=Math.min;ut.exports=function(at){return at>0?ft(et(at),9007199254740991):0}}),ta=n((Qt,ut)=>{var et=Qf();ut.exports=function(ft){return et(ft.length)}}),vl=n((Qt,ut)=>{var et=X(),ft=Xf(),at=ta(),wt=function(Mt){return function(Ht,qt,zt){var fn=et(Ht),yn=at(fn),vn=ft(zt,yn),pn;if(Mt&&qt!=qt){for(;yn>vn;)if(pn=fn[vn++],pn!=pn)return!0}else for(;yn>vn;vn++)if((Mt||vn in fn)&&fn[vn]===qt)return Mt||vn||0;return!Mt&&-1}};ut.exports={includes:wt(!0),indexOf:wt(!1)}}),Kf=n((Qt,ut)=>{var et=b(),ft=_n(),at=X(),wt=vl().indexOf,Mt=bl(),Ht=et([].push);ut.exports=function(qt,zt){var fn=at(qt),yn=0,vn=[],pn;for(pn in fn)!ft(Mt,pn)&&ft(fn,pn)&&Ht(vn,pn);for(;zt.length>yn;)ft(fn,pn=zt[yn++])&&(~wt(vn,pn)||Ht(vn,pn));return vn}}),Ho=n((Qt,ut)=>{ut.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Zf=n(Qt=>{var ut=Kf(),et=Ho(),ft=et.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(at){return ut(at,ft)}}),ep=n(Qt=>{Qt.f=Object.getOwnPropertySymbols}),El=n((Qt,ut)=>{var et=Pe(),ft=b(),at=Zf(),wt=ep(),Mt=Ci(),Ht=ft([].concat);ut.exports=et("Reflect","ownKeys")||function(qt){var zt=at.f(Mt(qt)),fn=wt.f;return fn?Ht(zt,fn(qt)):zt}}),Al=n((Qt,ut)=>{var et=_n(),ft=El(),at=gs(),wt=er();ut.exports=function(Mt,Ht,qt){for(var zt=ft(Ht),fn=wt.f,yn=at.f,vn=0;vn<zt.length;vn++){var pn=zt[vn];!et(Mt,pn)&&!(qt&&et(qt,pn))&&fn(Mt,pn,yn(Ht,pn))}}}),tp=n((Qt,ut)=>{var et=i(),ft=he(),at=/#|\.prototype\./,wt=function(fn,yn){var vn=Ht[Mt(fn)];return vn==zt?!0:vn==qt?!1:ft(yn)?et(yn):!!yn},Mt=wt.normalize=function(fn){return String(fn).replace(at,".").toLowerCase()},Ht=wt.data={},qt=wt.NATIVE="N",zt=wt.POLYFILL="P";ut.exports=wt}),eo=n((Qt,ut)=>{var et=r(),ft=gs().f,at=Dl(),wt=Za(),Mt=kt(),Ht=Al(),qt=tp();ut.exports=function(zt,fn){var yn=zt.target,vn=zt.global,pn=zt.stat,we,Sn,Mn,Kn,Yn,xr;if(vn?Sn=et:pn?Sn=et[yn]||Mt(yn,{}):Sn=(et[yn]||{}).prototype,Sn)for(Mn in fn){if(Yn=fn[Mn],zt.dontCallGetSet?(xr=ft(Sn,Mn),Kn=xr&&xr.value):Kn=Sn[Mn],we=qt(vn?Mn:yn+(pn?".":"#")+Mn,zt.forced),!we&&Kn!==void 0){if(typeof Yn==typeof Kn)continue;Ht(Yn,Kn)}(zt.sham||Kn&&Kn.sham)&&at(Yn,"sham",!0),wt(Sn,Mn,Yn,zt)}}}),Cl=n((Qt,ut)=>{var et=c();ut.exports=Array.isArray||function(ft){return et(ft)=="Array"}}),np=n((Qt,ut)=>{var et=TypeError,ft=9007199254740991;ut.exports=function(at){if(at>ft)throw et("Maximum allowed index exceeded");return at}}),rp=n((Qt,ut)=>{var et=c(),ft=b();ut.exports=function(at){if(et(at)==="Function")return ft(at)}}),to=n((Qt,ut)=>{var et=rp(),ft=Ke(),at=a(),wt=et(et.bind);ut.exports=function(Mt,Ht){return ft(Mt),Ht===void 0?Mt:at?wt(Mt,Ht):function(){return Mt.apply(Ht,arguments)}}}),xl=n((Qt,ut)=>{var et=Cl(),ft=ta(),at=np(),wt=to(),Mt=function(Ht,qt,zt,fn,yn,vn,pn,we){for(var Sn=yn,Mn=0,Kn=pn?wt(pn,we):!1,Yn,xr;Mn<fn;)Mn in zt&&(Yn=Kn?Kn(zt[Mn],Mn,qt):zt[Mn],vn>0&&et(Yn)?(xr=ft(Yn),Sn=Mt(Ht,qt,Yn,xr,Sn,vn-1)-1):(at(Sn+1),Ht[Sn]=Yn),Sn++),Mn++;return Sn};ut.exports=Mt}),ip=n((Qt,ut)=>{var et=Dr(),ft=et("toStringTag"),at={};at[ft]="z",ut.exports=String(at)==="[object z]"}),bs=n((Qt,ut)=>{var et=ip(),ft=he(),at=c(),wt=Dr(),Mt=wt("toStringTag"),Ht=Object,qt=at(function(){return arguments}())=="Arguments",zt=function(fn,yn){try{return fn[yn]}catch{}};ut.exports=et?at:function(fn){var yn,vn,pn;return fn===void 0?"Undefined":fn===null?"Null":typeof(vn=zt(yn=Ht(fn),Mt))=="string"?vn:qt?at(yn):(pn=at(yn))=="Object"&&ft(yn.callee)?"Arguments":pn}}),vs=n((Qt,ut)=>{var et=b(),ft=i(),at=he(),wt=bs(),Mt=Pe(),Ht=Ka(),qt=function(){},zt=[],fn=Mt("Reflect","construct"),yn=/^\s*(?:class|function)\b/,vn=et(yn.exec),pn=!yn.exec(qt),we=function(Mn){if(!at(Mn))return!1;try{return fn(qt,zt,Mn),!0}catch{return!1}},Sn=function(Mn){if(!at(Mn))return!1;switch(wt(Mn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return pn||!!vn(yn,Ht(Mn))}catch{return!0}};Sn.sham=!0,ut.exports=!fn||ft(function(){var Mn;return we(we.call)||!we(Object)||!we(function(){Mn=!0})||Mn})?Sn:we}),sp=n((Qt,ut)=>{var et=Cl(),ft=vs(),at=Te(),wt=Dr(),Mt=wt("species"),Ht=Array;ut.exports=function(qt){var zt;return et(qt)&&(zt=qt.constructor,ft(zt)&&(zt===Ht||et(zt.prototype))?zt=void 0:at(zt)&&(zt=zt[Mt],zt===null&&(zt=void 0))),zt===void 0?Ht:zt}}),Es=n((Qt,ut)=>{var et=sp();ut.exports=function(ft,at){return new(et(ft))(at===0?0:at)}}),Sl=n(()=>{var Qt=eo(),ut=xl(),et=Ke(),ft=hn(),at=ta(),wt=Es();Qt({target:"Array",proto:!0},{flatMap:function(Mt){var Ht=ft(this),qt=at(Ht),zt;return et(Mt),zt=wt(Ht,0),zt.length=ut(zt,Ht,Ht,qt,0,1,Mt,arguments.length>1?arguments[1]:void 0),zt}})}),wl=n((Qt,ut)=>{ut.exports={}}),ap=n((Qt,ut)=>{var et=Dr(),ft=wl(),at=et("iterator"),wt=Array.prototype;ut.exports=function(Mt){return Mt!==void 0&&(ft.Array===Mt||wt[at]===Mt)}}),Fl=n((Qt,ut)=>{var et=bs(),ft=Ve(),at=T(),wt=wl(),Mt=Dr(),Ht=Mt("iterator");ut.exports=function(qt){if(!at(qt))return ft(qt,Ht)||ft(qt,"@@iterator")||wt[et(qt)]}}),op=n((Qt,ut)=>{var et=o(),ft=Ke(),at=Ci(),wt=Qe(),Mt=Fl(),Ht=TypeError;ut.exports=function(qt,zt){var fn=arguments.length<2?Mt(qt):zt;if(ft(fn))return at(et(fn,qt));throw Ht(wt(qt)+" is not iterable")}}),Nl=n((Qt,ut)=>{var et=o(),ft=Ci(),at=Ve();ut.exports=function(wt,Mt,Ht){var qt,zt;ft(wt);try{if(qt=at(wt,"return"),!qt){if(Mt==="throw")throw Ht;return Ht}qt=et(qt,wt)}catch(fn){zt=!0,qt=fn}if(Mt==="throw")throw Ht;if(zt)throw qt;return ft(qt),Ht}}),up=n((Qt,ut)=>{var et=to(),ft=o(),at=Ci(),wt=Qe(),Mt=ap(),Ht=ta(),qt=Fe(),zt=op(),fn=Fl(),yn=Nl(),vn=TypeError,pn=function(Sn,Mn){this.stopped=Sn,this.result=Mn},we=pn.prototype;ut.exports=function(Sn,Mn,Kn){var Yn=Kn&&Kn.that,xr=!!(Kn&&Kn.AS_ENTRIES),Re=!!(Kn&&Kn.IS_RECORD),Zr=!!(Kn&&Kn.IS_ITERATOR),As=!!(Kn&&Kn.INTERRUPTED),js=et(Mn,Yn),hi,rs,qr,ro,Gr,io,is,na=function(ri){return hi&&yn(hi,"normal",ri),new pn(!0,ri)},ra=function(ri){return xr?(at(ri),As?js(ri[0],ri[1],na):js(ri[0],ri[1])):As?js(ri,na):js(ri)};if(Re)hi=Sn.iterator;else if(Zr)hi=Sn;else{if(rs=fn(Sn),!rs)throw vn(wt(Sn)+" is not iterable");if(Mt(rs)){for(qr=0,ro=Ht(Sn);ro>qr;qr++)if(Gr=ra(Sn[qr]),Gr&&qt(we,Gr))return Gr;return new pn(!1)}hi=zt(Sn,rs)}for(io=Re?Sn.next:hi.next;!(is=ft(io,hi)).done;){try{Gr=ra(is.value)}catch(ri){yn(hi,"throw",ri)}if(typeof Gr=="object"&&Gr&&qt(we,Gr))return Gr}return new pn(!1)}}),_l=n((Qt,ut)=>{var et=ns(),ft=er(),at=l();ut.exports=function(wt,Mt,Ht){var qt=et(Mt);qt in wt?ft.f(wt,qt,at(0,Ht)):wt[qt]=Ht}}),no=n(()=>{var Qt=eo(),ut=up(),et=_l();Qt({target:"Object",stat:!0},{fromEntries:function(ft){var at={};return ut(ft,function(wt,Mt){et(at,wt,Mt)},{AS_ENTRIES:!0}),at}})}),Tl=n((Qt,ut)=>{var et=ys(),ft=er();ut.exports=function(at,wt,Mt){return Mt.get&&et(Mt.get,wt,{getter:!0}),Mt.set&&et(Mt.set,wt,{setter:!0}),ft.f(at,wt,Mt)}}),Ll=n((Qt,ut)=>{var et=Ci();ut.exports=function(){var ft=et(this),at="";return ft.hasIndices&&(at+="d"),ft.global&&(at+="g"),ft.ignoreCase&&(at+="i"),ft.multiline&&(at+="m"),ft.dotAll&&(at+="s"),ft.unicode&&(at+="u"),ft.unicodeSets&&(at+="v"),ft.sticky&&(at+="y"),at}}),kl=n(()=>{var Qt=r(),ut=s(),et=Tl(),ft=Ll(),at=i(),wt=Qt.RegExp,Mt=wt.prototype,Ht=ut&&at(function(){var qt=!0;try{wt(".","d")}catch{qt=!1}var zt={},fn="",yn=qt?"dgimsy":"gimsy",vn=function(Mn,Kn){Object.defineProperty(zt,Mn,{get:function(){return fn+=Kn,!0}})},pn={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};qt&&(pn.hasIndices="d");for(var we in pn)vn(we,pn[we]);var Sn=Object.getOwnPropertyDescriptor(Mt,"flags").get.call(zt);return Sn!==yn||fn!==yn});Ht&&et(Mt,"flags",{configurable:!0,get:ft})}),lp=n(()=>{var Qt=eo(),ut=r();Qt({global:!0,forced:ut.globalThis!==ut},{globalThis:ut})}),cp=n(()=>{lp()}),zo=n(()=>{var Qt=eo(),ut=xl(),et=hn(),ft=ta(),at=Yo(),wt=Es();Qt({target:"Array",proto:!0},{flat:function(){var Mt=arguments.length?arguments[0]:void 0,Ht=et(this),qt=ft(Ht),zt=wt(Ht,0);return zt.length=ut(zt,Ht,Ht,qt,0,Mt===void 0?1:at(Mt)),zt}})}),fp=n((Qt,ut)=>{var et=["cliName","cliCategory","cliDescription"],ft=["_"],at=["languageId"];function wt(m,A){if(m==null)return{};var p=Mt(m,A),v,D;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(m);for(D=0;D<f.length;D++)v=f[D],!(A.indexOf(v)>=0)&&Object.prototype.propertyIsEnumerable.call(m,v)&&(p[v]=m[v])}return p}function Mt(m,A){if(m==null)return{};var p={},v=Object.keys(m),D,f;for(f=0;f<v.length;f++)D=v[f],!(A.indexOf(D)>=0)&&(p[D]=m[D]);return p}Sl(),no(),kl(),cp(),zo();var Ht=Object.create,qt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,fn=Object.getOwnPropertyNames,yn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty,pn=(m,A)=>function(){return m&&(A=(0,m[fn(m)[0]])(m=0)),A},we=(m,A)=>function(){return A||(0,m[fn(m)[0]])((A={exports:{}}).exports,A),A.exports},Sn=(m,A)=>{for(var p in A)qt(m,p,{get:A[p],enumerable:!0})},Mn=(m,A,p,v)=>{if(A&&typeof A=="object"||typeof A=="function")for(let D of fn(A))!vn.call(m,D)&&D!==p&&qt(m,D,{get:()=>A[D],enumerable:!(v=zt(A,D))||v.enumerable});return m},Kn=(m,A,p)=>(p=m!=null?Ht(yn(m)):{},Mn(!m||!m.__esModule?qt(p,"default",{value:m,enumerable:!0}):p,m)),Yn=m=>Mn(qt({},"__esModule",{value:!0}),m),xr,Re=pn({"<define:process>"(){xr={env:{},argv:[]}}}),Zr=we({"package.json"(m,A){A.exports={version:"2.8.8"}}}),As=we({"node_modules/diff/lib/diff/base.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(D,f){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=d.callback;typeof d=="function"&&(h=d,d={}),this.options=d;var E=this;function S($){return h?(setTimeout(function(){h(void 0,$)},0),!0):$}D=this.castInput(D),f=this.castInput(f),D=this.removeEmpty(this.tokenize(D)),f=this.removeEmpty(this.tokenize(f));var M=f.length,k=D.length,B=1,C=M+k,w=[{newPos:-1,components:[]}],j=this.extractCommon(w[0],f,D,0);if(w[0].newPos+1>=M&&j+1>=k)return S([{value:this.join(f),count:f.length}]);function Q(){for(var $=-1*B;$<=B;$+=2){var K=void 0,G=w[$-1],re=w[$+1],te=(re?re.newPos:0)-$;G&&(w[$-1]=void 0);var De=G&&G.newPos+1<M,N=re&&0<=te&&te<k;if(!De&&!N){w[$]=void 0;continue}if(!De||N&&G.newPos<re.newPos?(K=v(re),E.pushComponent(K.components,void 0,!0)):(K=G,K.newPos++,E.pushComponent(K.components,!0,void 0)),te=E.extractCommon(K,f,D,$),K.newPos+1>=M&&te+1>=k)return S(p(E,K.components,f,D,E.useLongestToken));w[$]=K}B++}if(h)(function $(){setTimeout(function(){if(B>C)return h();Q()||$()},0)})();else for(;B<=C;){var ne=Q();if(ne)return ne}},pushComponent:function(D,f,d){var h=D[D.length-1];h&&h.added===f&&h.removed===d?D[D.length-1]={count:h.count+1,added:f,removed:d}:D.push({count:1,added:f,removed:d})},extractCommon:function(D,f,d,h){for(var E=f.length,S=d.length,M=D.newPos,k=M-h,B=0;M+1<E&&k+1<S&&this.equals(f[M+1],d[k+1]);)M++,k++,B++;return B&&D.components.push({count:B}),D.newPos=M,k},equals:function(D,f){return this.options.comparator?this.options.comparator(D,f):D===f||this.options.ignoreCase&&D.toLowerCase()===f.toLowerCase()},removeEmpty:function(D){for(var f=[],d=0;d<D.length;d++)D[d]&&f.push(D[d]);return f},castInput:function(D){return D},tokenize:function(D){return D.split("")},join:function(D){return D.join("")}};function p(D,f,d,h,E){for(var S=0,M=f.length,k=0,B=0;S<M;S++){var C=f[S];if(C.removed){if(C.value=D.join(h.slice(B,B+C.count)),B+=C.count,S&&f[S-1].added){var w=f[S-1];f[S-1]=f[S],f[S]=w}}else{if(!C.added&&E){var j=d.slice(k,k+C.count);j=j.map(function(ne,$){var K=h[B+$];return K.length>ne.length?K:ne}),C.value=D.join(j)}else C.value=D.join(d.slice(k,k+C.count));k+=C.count,C.added||(B+=C.count)}}var Q=f[M-1];return M>1&&typeof Q.value=="string"&&(Q.added||Q.removed)&&D.equals("",Q.value)&&(f[M-2].value+=Q.value,f.pop()),f}function v(D){return{newPos:D.newPos,components:D.components.slice(0)}}}}),js=we({"node_modules/diff/lib/diff/array.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=D,m.arrayDiff=void 0;var A=p(As());function p(f){return f&&f.__esModule?f:{default:f}}var v=new A.default;m.arrayDiff=v,v.tokenize=function(f){return f.slice()},v.join=v.removeEmpty=function(f){return f};function D(f,d,h){return v.diff(f,d,h)}}}),hi=we({"src/document/doc-builders.js"(m,A){Re();function p(R){return{type:"concat",parts:R}}function v(R){return{type:"indent",contents:R}}function D(R,y){return{type:"align",contents:y,n:R}}function f(R){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:y.id,contents:R,break:!!y.shouldBreak,expandedStates:y.expandedStates}}function d(R){return D(Number.NEGATIVE_INFINITY,R)}function h(R){return D({type:"root"},R)}function E(R){return D(-1,R)}function S(R,y){return f(R[0],Object.assign(Object.assign({},y),{},{expandedStates:R}))}function M(R){return{type:"fill",parts:R}}function k(R,y){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:R,flatContents:y,groupId:P.groupId}}function B(R,y){return{type:"indent-if-break",contents:R,groupId:y.groupId,negate:y.negate}}function C(R){return{type:"line-suffix",contents:R}}var w={type:"line-suffix-boundary"},j={type:"break-parent"},Q={type:"trim"},ne={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},K={type:"line"},G={type:"line",soft:!0},re=p([ne,j]),te=p([$,j]),De={type:"cursor",placeholder:Symbol("cursor")};function N(R,y){let P=[];for(let I=0;I<y.length;I++)I!==0&&P.push(R),P.push(y[I]);return p(P)}function J(R,y,P){let I=R;if(y>0){for(let q=0;q<Math.floor(y/P);++q)I=v(I);I=D(y%P,I),I=D(Number.NEGATIVE_INFINITY,I)}return I}function F(R,y){return{type:"label",label:R,contents:y}}A.exports={concat:p,join:N,line:K,softline:G,hardline:re,literalline:te,group:f,conditionalGroup:S,fill:M,lineSuffix:C,lineSuffixBoundary:w,cursor:De,breakParent:j,ifBreak:k,trim:Q,indent:v,indentIfBreak:B,align:D,addAlignmentToDoc:J,markAsRoot:h,dedentToRoot:d,dedent:E,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:$,label:F}}}),rs=we({"src/common/end-of-line.js"(m,A){Re();function p(d){let h=d.indexOf("\r");return h>=0?d.charAt(h+1)===`
151
+ `?"crlf":"cr":"lf"}function v(d){switch(d){case"cr":return"\r";case"crlf":return`\r
152
+ `;default:return`
153
+ `}}function D(d,h){let E;switch(h){case`
154
+ `:E=/\n/g;break;case"\r":E=/\r/g;break;case`\r
155
+ `:E=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(h)}.`)}let S=d.match(E);return S?S.length:0}function f(d){return d.replace(/\r\n?/g,`
156
+ `)}A.exports={guessEndOfLine:p,convertEndOfLineToChars:v,countEndOfLineChars:D,normalizeEndOfLine:f}}}),qr=we({"src/utils/get-last.js"(m,A){Re();var p=v=>v[v.length-1];A.exports=p}});function ro(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(A,m?void 0:"g")}var Gr=pn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Re()}});function io(m){if(typeof m!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof m}\``);return m.replace(ro(),"")}var is=pn({"node_modules/strip-ansi/index.js"(){Re(),Gr()}});function na(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var ra=pn({"node_modules/is-fullwidth-code-point/index.js"(){Re()}}),ri=we({"node_modules/emoji-regex/index.js"(m,A){Re(),A.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Pl={};Sn(Pl,{default:()=>Bl});function Bl(m){if(typeof m!="string"||m.length===0||(m=io(m),m.length===0))return 0;m=m.replace((0,Ml.default)()," ");let A=0;for(let p=0;p<m.length;p++){let v=m.codePointAt(p);v<=31||v>=127&&v<=159||v>=768&&v<=879||(v>65535&&p++,A+=na(v)?2:1)}return A}var Ml,pp=pn({"node_modules/string-width/index.js"(){Re(),is(),ra(),Ml=Kn(ri())}}),Il=we({"src/utils/get-string-width.js"(m,A){Re();var p=(pp(),Yn(Pl)).default,v=/[^\x20-\x7F]/;function D(f){return f?v.test(f)?p(f):f.length:0}A.exports=D}}),ia=we({"src/document/doc-utils.js"(m,A){Re();var p=qr(),{literalline:v,join:D}=hi(),f=y=>Array.isArray(y)||y&&y.type==="concat",d=y=>{if(Array.isArray(y))return y;if(y.type!=="concat"&&y.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return y.parts},h={};function E(y,P,I,q){let U=[y];for(;U.length>0;){let z=U.pop();if(z===h){I(U.pop());continue}if(I&&U.push(z,h),!P||P(z)!==!1)if(f(z)||z.type==="fill"){let ie=d(z);for(let ce=ie.length,ge=ce-1;ge>=0;--ge)U.push(ie[ge])}else if(z.type==="if-break")z.flatContents&&U.push(z.flatContents),z.breakContents&&U.push(z.breakContents);else if(z.type==="group"&&z.expandedStates)if(q)for(let ie=z.expandedStates.length,ce=ie-1;ce>=0;--ce)U.push(z.expandedStates[ce]);else U.push(z.contents);else z.contents&&U.push(z.contents)}}function S(y,P){let I=new Map;return q(y);function q(z){if(I.has(z))return I.get(z);let ie=U(z);return I.set(z,ie),ie}function U(z){if(Array.isArray(z))return P(z.map(q));if(z.type==="concat"||z.type==="fill"){let ie=z.parts.map(q);return P(Object.assign(Object.assign({},z),{},{parts:ie}))}if(z.type==="if-break"){let ie=z.breakContents&&q(z.breakContents),ce=z.flatContents&&q(z.flatContents);return P(Object.assign(Object.assign({},z),{},{breakContents:ie,flatContents:ce}))}if(z.type==="group"&&z.expandedStates){let ie=z.expandedStates.map(q),ce=ie[0];return P(Object.assign(Object.assign({},z),{},{contents:ce,expandedStates:ie}))}if(z.contents){let ie=q(z.contents);return P(Object.assign(Object.assign({},z),{},{contents:ie}))}return P(z)}}function M(y,P,I){let q=I,U=!1;function z(ie){let ce=P(ie);if(ce!==void 0&&(U=!0,q=ce),U)return!1}return E(y,z),q}function k(y){if(y.type==="group"&&y.break||y.type==="line"&&y.hard||y.type==="break-parent")return!0}function B(y){return M(y,k,!1)}function C(y){if(y.length>0){let P=p(y);!P.expandedStates&&!P.break&&(P.break="propagated")}return null}function w(y){let P=new Set,I=[];function q(z){if(z.type==="break-parent"&&C(I),z.type==="group"){if(I.push(z),P.has(z))return!1;P.add(z)}}function U(z){z.type==="group"&&I.pop().break&&C(I)}E(y,q,U,!0)}function j(y){return y.type==="line"&&!y.hard?y.soft?"":" ":y.type==="if-break"?y.flatContents||"":y}function Q(y){return S(y,j)}var ne=(y,P)=>y&&y.type==="line"&&y.hard&&P&&P.type==="break-parent";function $(y){if(!y)return y;if(f(y)||y.type==="fill"){let P=d(y);for(;P.length>1&&ne(...P.slice(-2));)P.length-=2;if(P.length>0){let I=$(p(P));P[P.length-1]=I}return Array.isArray(y)?P:Object.assign(Object.assign({},y),{},{parts:P})}switch(y.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let P=$(y.contents);return Object.assign(Object.assign({},y),{},{contents:P})}case"if-break":{let P=$(y.breakContents),I=$(y.flatContents);return Object.assign(Object.assign({},y),{},{breakContents:P,flatContents:I})}}return y}function K(y){return $(re(y))}function G(y){switch(y.type){case"fill":if(y.parts.every(I=>I===""))return"";break;case"group":if(!y.contents&&!y.id&&!y.break&&!y.expandedStates)return"";if(y.contents.type==="group"&&y.contents.id===y.id&&y.contents.break===y.break&&y.contents.expandedStates===y.expandedStates)return y.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!y.contents)return"";break;case"if-break":if(!y.flatContents&&!y.breakContents)return"";break}if(!f(y))return y;let P=[];for(let I of d(y)){if(!I)continue;let[q,...U]=f(I)?d(I):[I];typeof q=="string"&&typeof p(P)=="string"?P[P.length-1]+=q:P.push(q),P.push(...U)}return P.length===0?"":P.length===1?P[0]:Array.isArray(y)?P:Object.assign(Object.assign({},y),{},{parts:P})}function re(y){return S(y,P=>G(P))}function te(y){let P=[],I=y.filter(Boolean);for(;I.length>0;){let q=I.shift();if(q){if(f(q)){I.unshift(...d(q));continue}if(P.length>0&&typeof p(P)=="string"&&typeof q=="string"){P[P.length-1]+=q;continue}P.push(q)}}return P}function De(y){return S(y,P=>Array.isArray(P)?te(P):P.parts?Object.assign(Object.assign({},P),{},{parts:te(P.parts)}):P)}function N(y){return S(y,P=>typeof P=="string"&&P.includes(`
157
+ `)?J(P):P)}function J(y){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v;return D(P,y.split(`
158
+ `)).parts}function F(y){if(y.type==="line")return!0}function R(y){return M(y,F,!1)}A.exports={isConcat:f,getDocParts:d,willBreak:B,traverseDoc:E,findInDoc:M,mapDoc:S,propagateBreaks:w,removeLines:Q,stripTrailingHardline:K,normalizeParts:te,normalizeDoc:De,cleanDoc:re,replaceTextEndOfLine:J,replaceEndOfLine:N,canBreak:R}}}),dp=we({"src/document/doc-printer.js"(m,A){Re();var{convertEndOfLineToChars:p}=rs(),v=qr(),D=Il(),{fill:f,cursor:d,indent:h}=hi(),{isConcat:E,getDocParts:S}=ia(),M,k=1,B=2;function C(){return{value:"",length:0,queue:[]}}function w(G,re){return Q(G,{type:"indent"},re)}function j(G,re,te){return re===Number.NEGATIVE_INFINITY?G.root||C():re<0?Q(G,{type:"dedent"},te):re?re.type==="root"?Object.assign(Object.assign({},G),{},{root:G}):Q(G,{type:typeof re=="string"?"stringAlign":"numberAlign",n:re},te):G}function Q(G,re,te){let De=re.type==="dedent"?G.queue.slice(0,-1):[...G.queue,re],N="",J=0,F=0,R=0;for(let ie of De)switch(ie.type){case"indent":I(),te.useTabs?y(1):P(te.tabWidth);break;case"stringAlign":I(),N+=ie.n,J+=ie.n.length;break;case"numberAlign":F+=1,R+=ie.n;break;default:throw new Error(`Unexpected type '${ie.type}'`)}return U(),Object.assign(Object.assign({},G),{},{value:N,length:J,queue:De});function y(ie){N+=" ".repeat(ie),J+=te.tabWidth*ie}function P(ie){N+=" ".repeat(ie),J+=ie}function I(){te.useTabs?q():U()}function q(){F>0&&y(F),z()}function U(){R>0&&P(R),z()}function z(){F=0,R=0}}function ne(G){if(G.length===0)return 0;let re=0;for(;G.length>0&&typeof v(G)=="string"&&/^[\t ]*$/.test(v(G));)re+=G.pop().length;if(G.length>0&&typeof v(G)=="string"){let te=v(G).replace(/[\t ]*$/,"");re+=v(G).length-te.length,G[G.length-1]=te}return re}function $(G,re,te,De,N){let J=re.length,F=[G],R=[];for(;te>=0;){if(F.length===0){if(J===0)return!0;F.push(re[--J]);continue}let{mode:y,doc:P}=F.pop();if(typeof P=="string")R.push(P),te-=D(P);else if(E(P)||P.type==="fill"){let I=S(P);for(let q=I.length-1;q>=0;q--)F.push({mode:y,doc:I[q]})}else switch(P.type){case"indent":case"align":case"indent-if-break":case"label":F.push({mode:y,doc:P.contents});break;case"trim":te+=ne(R);break;case"group":{if(N&&P.break)return!1;let I=P.break?k:y,q=P.expandedStates&&I===k?v(P.expandedStates):P.contents;F.push({mode:I,doc:q});break}case"if-break":{let I=(P.groupId?M[P.groupId]||B:y)===k?P.breakContents:P.flatContents;I&&F.push({mode:y,doc:I});break}case"line":if(y===k||P.hard)return!0;P.soft||(R.push(" "),te--);break;case"line-suffix":De=!0;break;case"line-suffix-boundary":if(De)return!1;break}}return!1}function K(G,re){M={};let te=re.printWidth,De=p(re.endOfLine),N=0,J=[{ind:C(),mode:k,doc:G}],F=[],R=!1,y=[];for(;J.length>0;){let{ind:I,mode:q,doc:U}=J.pop();if(typeof U=="string"){let z=De!==`
159
+ `?U.replace(/\n/g,De):U;F.push(z),N+=D(z)}else if(E(U)){let z=S(U);for(let ie=z.length-1;ie>=0;ie--)J.push({ind:I,mode:q,doc:z[ie]})}else switch(U.type){case"cursor":F.push(d.placeholder);break;case"indent":J.push({ind:w(I,re),mode:q,doc:U.contents});break;case"align":J.push({ind:j(I,U.n,re),mode:q,doc:U.contents});break;case"trim":N-=ne(F);break;case"group":switch(q){case B:if(!R){J.push({ind:I,mode:U.break?k:B,doc:U.contents});break}case k:{R=!1;let z={ind:I,mode:B,doc:U.contents},ie=te-N,ce=y.length>0;if(!U.break&&$(z,J,ie,ce))J.push(z);else if(U.expandedStates){let ge=v(U.expandedStates);if(U.break){J.push({ind:I,mode:k,doc:ge});break}else for(let fe=1;fe<U.expandedStates.length+1;fe++)if(fe>=U.expandedStates.length){J.push({ind:I,mode:k,doc:ge});break}else{let Ne=U.expandedStates[fe],se={ind:I,mode:B,doc:Ne};if($(se,J,ie,ce)){J.push(se);break}}}else J.push({ind:I,mode:k,doc:U.contents});break}}U.id&&(M[U.id]=v(J).mode);break;case"fill":{let z=te-N,{parts:ie}=U;if(ie.length===0)break;let[ce,ge]=ie,fe={ind:I,mode:B,doc:ce},Ne={ind:I,mode:k,doc:ce},se=$(fe,[],z,y.length>0,!0);if(ie.length===1){se?J.push(fe):J.push(Ne);break}let Ue={ind:I,mode:B,doc:ge},me={ind:I,mode:k,doc:ge};if(ie.length===2){se?J.push(Ue,fe):J.push(me,Ne);break}ie.splice(0,2);let ue={ind:I,mode:q,doc:f(ie)},qe=ie[0];$({ind:I,mode:B,doc:[ce,ge,qe]},[],z,y.length>0,!0)?J.push(ue,Ue,fe):se?J.push(ue,me,fe):J.push(ue,me,Ne);break}case"if-break":case"indent-if-break":{let z=U.groupId?M[U.groupId]:q;if(z===k){let ie=U.type==="if-break"?U.breakContents:U.negate?U.contents:h(U.contents);ie&&J.push({ind:I,mode:q,doc:ie})}if(z===B){let ie=U.type==="if-break"?U.flatContents:U.negate?h(U.contents):U.contents;ie&&J.push({ind:I,mode:q,doc:ie})}break}case"line-suffix":y.push({ind:I,mode:q,doc:U.contents});break;case"line-suffix-boundary":y.length>0&&J.push({ind:I,mode:q,doc:{type:"line",hard:!0}});break;case"line":switch(q){case B:if(U.hard)R=!0;else{U.soft||(F.push(" "),N+=1);break}case k:if(y.length>0){J.push({ind:I,mode:q,doc:U},...y.reverse()),y.length=0;break}U.literal?I.root?(F.push(De,I.root.value),N=I.root.length):(F.push(De),N=0):(N-=ne(F),F.push(De+I.value),N=I.length);break}break;case"label":J.push({ind:I,mode:q,doc:U.contents});break}J.length===0&&y.length>0&&(J.push(...y.reverse()),y.length=0)}let P=F.indexOf(d.placeholder);if(P!==-1){let I=F.indexOf(d.placeholder,P+1),q=F.slice(0,P).join(""),U=F.slice(P+1,I).join(""),z=F.slice(I+1).join("");return{formatted:q+U+z,cursorNodeStart:q.length,cursorNodeText:U}}return{formatted:F.join("")}}A.exports={printDocToString:K}}}),hp=we({"src/document/doc-debug.js"(m,A){Re();var{isConcat:p,getDocParts:v}=ia();function D(d){if(!d)return"";if(p(d)){let h=[];for(let E of v(d))if(p(E))h.push(...D(E).parts);else{let S=D(E);S!==""&&h.push(S)}return{type:"concat",parts:h}}return d.type==="if-break"?Object.assign(Object.assign({},d),{},{breakContents:D(d.breakContents),flatContents:D(d.flatContents)}):d.type==="group"?Object.assign(Object.assign({},d),{},{contents:D(d.contents),expandedStates:d.expandedStates&&d.expandedStates.map(D)}):d.type==="fill"?{type:"fill",parts:d.parts.map(D)}:d.contents?Object.assign(Object.assign({},d),{},{contents:D(d.contents)}):d}function f(d){let h=Object.create(null),E=new Set;return S(D(d));function S(k,B,C){if(typeof k=="string")return JSON.stringify(k);if(p(k)){let w=v(k).map(S).filter(Boolean);return w.length===1?w[0]:`[${w.join(", ")}]`}if(k.type==="line"){let w=Array.isArray(C)&&C[B+1]&&C[B+1].type==="break-parent";return k.literal?w?"literalline":"literallineWithoutBreakParent":k.hard?w?"hardline":"hardlineWithoutBreakParent":k.soft?"softline":"line"}if(k.type==="break-parent")return Array.isArray(C)&&C[B-1]&&C[B-1].type==="line"&&C[B-1].hard?void 0:"breakParent";if(k.type==="trim")return"trim";if(k.type==="indent")return"indent("+S(k.contents)+")";if(k.type==="align")return k.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+S(k.contents)+")":k.n<0?"dedent("+S(k.contents)+")":k.n.type==="root"?"markAsRoot("+S(k.contents)+")":"align("+JSON.stringify(k.n)+", "+S(k.contents)+")";if(k.type==="if-break")return"ifBreak("+S(k.breakContents)+(k.flatContents?", "+S(k.flatContents):"")+(k.groupId?(k.flatContents?"":', ""')+`, { groupId: ${M(k.groupId)} }`:"")+")";if(k.type==="indent-if-break"){let w=[];k.negate&&w.push("negate: true"),k.groupId&&w.push(`groupId: ${M(k.groupId)}`);let j=w.length>0?`, { ${w.join(", ")} }`:"";return`indentIfBreak(${S(k.contents)}${j})`}if(k.type==="group"){let w=[];k.break&&k.break!=="propagated"&&w.push("shouldBreak: true"),k.id&&w.push(`id: ${M(k.id)}`);let j=w.length>0?`, { ${w.join(", ")} }`:"";return k.expandedStates?`conditionalGroup([${k.expandedStates.map(Q=>S(Q)).join(",")}]${j})`:`group(${S(k.contents)}${j})`}if(k.type==="fill")return`fill([${k.parts.map(w=>S(w)).join(", ")}])`;if(k.type==="line-suffix")return"lineSuffix("+S(k.contents)+")";if(k.type==="line-suffix-boundary")return"lineSuffixBoundary";if(k.type==="label")return`label(${JSON.stringify(k.label)}, ${S(k.contents)})`;throw new Error("Unknown doc type "+k.type)}function M(k){if(typeof k!="symbol")return JSON.stringify(String(k));if(k in h)return h[k];let B=String(k).slice(7,-1)||"symbol";for(let C=0;;C++){let w=B+(C>0?` #${C}`:"");if(!E.has(w))return E.add(w),h[k]=`Symbol.for(${JSON.stringify(w)})`}}}A.exports={printDocToDebug:f}}}),wn=we({"src/document/index.js"(m,A){Re(),A.exports={builders:hi(),printer:dp(),utils:ia(),debug:hp()}}}),Ol={};Sn(Ol,{default:()=>mp});function mp(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var gp=pn({"node_modules/escape-string-regexp/index.js"(){Re()}}),jl=we({"node_modules/semver/internal/debug.js"(m,A){Re();var p=typeof xr=="object"&&xr.env&&xr.env.NODE_DEBUG&&/\bsemver\b/i.test(xr.env.NODE_DEBUG)?function(){for(var v=arguments.length,D=new Array(v),f=0;f<v;f++)D[f]=arguments[f];return console.error("SEMVER",...D)}:()=>{};A.exports=p}}),Y=we({"node_modules/semver/internal/constants.js"(m,A){Re();var p="2.0.0",v=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,f=16;A.exports={SEMVER_SPEC_VERSION:p,MAX_LENGTH:v,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:f}}}),g=we({"node_modules/semver/internal/re.js"(m,A){Re();var{MAX_SAFE_COMPONENT_LENGTH:p}=Y(),v=jl();m=A.exports={};var D=m.re=[],f=m.src=[],d=m.t={},h=0,E=(S,M,k)=>{let B=h++;v(S,B,M),d[S]=B,f[B]=M,D[B]=new RegExp(M,k?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","[0-9]+"),E("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),E("MAINVERSION",`(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})\\.(${f[d.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})\\.(${f[d.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${f[d.NUMERICIDENTIFIER]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${f[d.NUMERICIDENTIFIERLOOSE]}|${f[d.NONNUMERICIDENTIFIER]})`),E("PRERELEASE",`(?:-(${f[d.PRERELEASEIDENTIFIER]}(?:\\.${f[d.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${f[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${f[d.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER","[0-9A-Za-z-]+"),E("BUILD",`(?:\\+(${f[d.BUILDIDENTIFIER]}(?:\\.${f[d.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${f[d.MAINVERSION]}${f[d.PRERELEASE]}?${f[d.BUILD]}?`),E("FULL",`^${f[d.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${f[d.MAINVERSIONLOOSE]}${f[d.PRERELEASELOOSE]}?${f[d.BUILD]}?`),E("LOOSE",`^${f[d.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${f[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${f[d.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:\\.(${f[d.XRANGEIDENTIFIER]})(?:${f[d.PRERELEASE]})?${f[d.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${f[d.XRANGEIDENTIFIERLOOSE]})(?:${f[d.PRERELEASELOOSE]})?${f[d.BUILD]}?)?)?`),E("XRANGE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${f[d.GTLT]}\\s*${f[d.XRANGEPLAINLOOSE]}$`),E("COERCE",`(^|[^\\d])(\\d{1,${p}})(?:\\.(\\d{1,${p}}))?(?:\\.(\\d{1,${p}}))?(?:$|[^\\d])`),E("COERCERTL",f[d.COERCE],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${f[d.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",E("TILDE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${f[d.LONETILDE]}${f[d.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${f[d.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",E("CARET",`^${f[d.LONECARET]}${f[d.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${f[d.LONECARET]}${f[d.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${f[d.GTLT]}\\s*(${f[d.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${f[d.GTLT]}\\s*(${f[d.LOOSEPLAIN]}|${f[d.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${f[d.XRANGEPLAIN]})\\s+-\\s+(${f[d.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${f[d.XRANGEPLAINLOOSE]})\\s+-\\s+(${f[d.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),W=we({"node_modules/semver/internal/parse-options.js"(m,A){Re();var p=["includePrerelease","loose","rtl"],v=D=>D?typeof D!="object"?{loose:!0}:p.filter(f=>D[f]).reduce((f,d)=>(f[d]=!0,f),{}):{};A.exports=v}}),Ce=we({"node_modules/semver/internal/identifiers.js"(m,A){Re();var p=/^[0-9]+$/,v=(f,d)=>{let h=p.test(f),E=p.test(d);return h&&E&&(f=+f,d=+d),f===d?0:h&&!E?-1:E&&!h?1:f<d?-1:1},D=(f,d)=>v(d,f);A.exports={compareIdentifiers:v,rcompareIdentifiers:D}}}),Le=we({"node_modules/semver/classes/semver.js"(m,A){Re();var p=jl(),{MAX_LENGTH:v,MAX_SAFE_INTEGER:D}=Y(),{re:f,t:d}=g(),h=W(),{compareIdentifiers:E}=Ce(),S=class{constructor(M,k){if(k=h(k),M instanceof S){if(M.loose===!!k.loose&&M.includePrerelease===!!k.includePrerelease)return M;M=M.version}else if(typeof M!="string")throw new TypeError(`Invalid Version: ${M}`);if(M.length>v)throw new TypeError(`version is longer than ${v} characters`);p("SemVer",M,k),this.options=k,this.loose=!!k.loose,this.includePrerelease=!!k.includePrerelease;let B=M.trim().match(k.loose?f[d.LOOSE]:f[d.FULL]);if(!B)throw new TypeError(`Invalid Version: ${M}`);if(this.raw=M,this.major=+B[1],this.minor=+B[2],this.patch=+B[3],this.major>D||this.major<0)throw new TypeError("Invalid major version");if(this.minor>D||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>D||this.patch<0)throw new TypeError("Invalid patch version");B[4]?this.prerelease=B[4].split(".").map(C=>{if(/^[0-9]+$/.test(C)){let w=+C;if(w>=0&&w<D)return w}return C}):this.prerelease=[],this.build=B[5]?B[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(M){if(p("SemVer.compare",this.version,this.options,M),!(M instanceof S)){if(typeof M=="string"&&M===this.version)return 0;M=new S(M,this.options)}return M.version===this.version?0:this.compareMain(M)||this.comparePre(M)}compareMain(M){return M instanceof S||(M=new S(M,this.options)),E(this.major,M.major)||E(this.minor,M.minor)||E(this.patch,M.patch)}comparePre(M){if(M instanceof S||(M=new S(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 k=0;do{let B=this.prerelease[k],C=M.prerelease[k];if(p("prerelease compare",k,B,C),B===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(B===void 0)return-1;if(B!==C)return E(B,C)}while(++k)}compareBuild(M){M instanceof S||(M=new S(M,this.options));let k=0;do{let B=this.build[k],C=M.build[k];if(p("prerelease compare",k,B,C),B===void 0&&C===void 0)return 0;if(C===void 0)return 1;if(B===void 0)return-1;if(B!==C)return E(B,C)}while(++k)}inc(M,k){switch(M){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",k);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",k);break;case"prepatch":this.prerelease.length=0,this.inc("patch",k),this.inc("pre",k);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",k),this.inc("pre",k);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 B=this.prerelease.length;for(;--B>=0;)typeof this.prerelease[B]=="number"&&(this.prerelease[B]++,B=-2);B===-1&&this.prerelease.push(0)}k&&(E(this.prerelease[0],k)===0?isNaN(this.prerelease[1])&&(this.prerelease=[k,0]):this.prerelease=[k,0]);break;default:throw new Error(`invalid increment argument: ${M}`)}return this.format(),this.raw=this.version,this}};A.exports=S}}),ke=we({"node_modules/semver/functions/compare.js"(m,A){Re();var p=Le(),v=(D,f,d)=>new p(D,d).compare(new p(f,d));A.exports=v}}),tt=we({"node_modules/semver/functions/lt.js"(m,A){Re();var p=ke(),v=(D,f,d)=>p(D,f,d)<0;A.exports=v}}),Dt=we({"node_modules/semver/functions/gte.js"(m,A){Re();var p=ke(),v=(D,f,d)=>p(D,f,d)>=0;A.exports=v}}),$t=we({"src/utils/arrayify.js"(m,A){Re(),A.exports=(p,v)=>Object.entries(p).map(D=>{let[f,d]=D;return Object.assign({[v]:f},d)})}}),ot=we({"node_modules/outdent/lib/index.js"(m,A){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function p(){for(var $=[],K=0;K<arguments.length;K++)$[K]=arguments[K]}function v(){return typeof WeakMap<"u"?new WeakMap:D()}function D(){return{add:p,delete:p,get:p,set:p,has:function($){return!1}}}var f=Object.prototype.hasOwnProperty,d=function($,K){return f.call($,K)};function h($,K){for(var G in K)d(K,G)&&($[G]=K[G]);return $}var E=/^[ \t]*(?:\r\n|\r|\n)/,S=/(?:\r\n|\r|\n)[ \t]*$/,M=/^(?:[\r\n]|$)/,k=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,B=/^[ \t]*[\r\n][ \t\r\n]*$/;function C($,K,G){var re=0,te=$[0].match(k);te&&(re=te[1].length);var De="(\\r\\n|\\r|\\n).{0,"+re+"}",N=new RegExp(De,"g");K&&($=$.slice(1));var J=G.newline,F=G.trimLeadingNewline,R=G.trimTrailingNewline,y=typeof J=="string",P=$.length,I=$.map(function(q,U){return q=q.replace(N,"$1"),U===0&&F&&(q=q.replace(E,"")),U===P-1&&R&&(q=q.replace(S,"")),y&&(q=q.replace(/\r\n|\n|\r/g,function(z){return J})),q});return I}function w($,K){for(var G="",re=0,te=$.length;re<te;re++)G+=$[re],re<te-1&&(G+=K[re]);return G}function j($){return d($,"raw")&&d($,"length")}function Q($){var K=v(),G=v();function re(De){for(var N=[],J=1;J<arguments.length;J++)N[J-1]=arguments[J];if(j(De)){var F=De,R=(N[0]===re||N[0]===ne)&&B.test(F[0])&&M.test(F[1]),y=R?G:K,P=y.get(F);if(P||(P=C(F,R,$),y.set(F,P)),N.length===0)return P[0];var I=w(P,R?N.slice(1):N);return I}else return Q(h(h({},$),De||{}))}var te=h(re,{string:function(De){return C([De],!1,$)[0]}});return te}var ne=Q({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ne,m.default=ne,typeof A<"u")try{A.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),vt=we({"src/main/core-options.js"(m,A){Re();var{outdent:p}=ot(),v="Config",D="Editor",f="Format",d="Other",h="Output",E="Global",S="Special",M={cursorOffset:{since:"1.4.0",category:S,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:p`
160
+ Print (to stderr) where a cursor at the given position would move to after formatting.
161
+ This option cannot be used with --range-start and --range-end.
162
+ `,cliCategory:D},endOfLine:{since:"1.15.0",category:E,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:p`
163
+ Maintain existing
164
+ (mixed values within one file are normalised by looking at what's used after the first line)
165
+ `}]},filepath:{since:"1.4.0",category:S,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:d,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:S,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:E,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:k=>typeof k=="string"||typeof k=="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:E,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin",cliCategory:v},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:E,description:p`
166
+ Custom directory that contains prettier plugins in node_modules subdirectory.
167
+ Overrides default behavior when plugins are searched relatively to the location of Prettier.
168
+ Multiple values are accepted.
169
+ `,exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin-search-dir",cliCategory:v},printWidth:{since:"0.0.0",category:E,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:S,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
170
+ Format code ending at a given character offset (exclusive).
171
+ The range will extend forwards to the end of the selected statement.
172
+ This option cannot be used with --cursor-offset.
173
+ `,cliCategory:D},rangeStart:{since:"1.4.0",category:S,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:p`
174
+ Format code starting at a given character offset.
175
+ The range will extend backwards to the start of the first line containing the selected statement.
176
+ This option cannot be used with --cursor-offset.
177
+ `,cliCategory:D},requirePragma:{since:"1.7.0",category:S,type:"boolean",default:!1,description:p`
178
+ Require either '@prettier' or '@format' to be present in the file's first docblock comment
179
+ in order for it to be formatted.
180
+ `,cliCategory:d},tabWidth:{type:"int",category:E,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:E,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:E,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};A.exports={CATEGORY_CONFIG:v,CATEGORY_EDITOR:D,CATEGORY_FORMAT:f,CATEGORY_OTHER:d,CATEGORY_OUTPUT:h,CATEGORY_GLOBAL:E,CATEGORY_SPECIAL:S,options:M}}}),_t=we({"src/main/support.js"(m,A){Re();var p={compare:ke(),lt:tt(),gte:Dt()},v=$t(),D=Zr().version,f=vt().options;function d(){let{plugins:E=[],showUnreleased:S=!1,showDeprecated:M=!1,showInternal:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=D.split("-",1)[0],C=E.flatMap($=>$.languages||[]).filter(j),w=v(Object.assign({},...E.map($=>{let{options:K}=$;return K}),f),"name").filter($=>j($)&&Q($)).sort(($,K)=>$.name===K.name?0:$.name<K.name?-1:1).map(ne).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(j).sort((G,re)=>p.compare(re.since,G.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(G=>j(G)&&Q(G)),$.name==="parser"&&h($,C,E));let K=Object.fromEntries(E.filter(G=>G.defaultOptions&&G.defaultOptions[$.name]!==void 0).map(G=>[G.name,G.defaultOptions[$.name]]));return Object.assign(Object.assign({},$),{},{pluginDefaults:K})});return{languages:C,options:w};function j($){return S||!("since"in $)||$.since&&p.gte(B,$.since)}function Q($){return M||!("deprecated"in $)||$.deprecated&&p.lt(B,$.deprecated)}function ne($){return k?$:wt($,et)}}function h(E,S,M){let k=new Set(E.choices.map(B=>B.value));for(let B of S)if(B.parsers){for(let C of B.parsers)if(!k.has(C)){k.add(C);let w=M.find(Q=>Q.parsers&&Q.parsers[C]),j=B.name;w&&w.name&&(j+=` (plugin: ${w.name})`),E.choices.push({value:C,description:j})}}}A.exports={getSupportInfo:d}}}),jt=we({"src/utils/is-non-empty-array.js"(m,A){Re();function p(v){return Array.isArray(v)&&v.length>0}A.exports=p}}),Lt=we({"src/utils/text/skip.js"(m,A){Re();function p(h){return(E,S,M)=>{let k=M&&M.backwards;if(S===!1)return!1;let{length:B}=E,C=S;for(;C>=0&&C<B;){let w=E.charAt(C);if(h instanceof RegExp){if(!h.test(w))return C}else if(!h.includes(w))return C;k?C--:C++}return C===-1||C===B?C:!1}}var v=p(/\s/),D=p(" "),f=p(",; "),d=p(/[^\n\r]/);A.exports={skipWhitespace:v,skipSpaces:D,skipToLineEnd:f,skipEverythingButNewLine:d}}}),Jt=we({"src/utils/text/skip-inline-comment.js"(m,A){Re();function p(v,D){if(D===!1)return!1;if(v.charAt(D)==="/"&&v.charAt(D+1)==="*"){for(let f=D+2;f<v.length;++f)if(v.charAt(f)==="*"&&v.charAt(f+1)==="/")return f+2}return D}A.exports=p}}),Wt=we({"src/utils/text/skip-trailing-comment.js"(m,A){Re();var{skipEverythingButNewLine:p}=Lt();function v(D,f){return f===!1?!1:D.charAt(f)==="/"&&D.charAt(f+1)==="/"?p(D,f):f}A.exports=v}}),Kt=we({"src/utils/text/skip-newline.js"(m,A){Re();function p(v,D,f){let d=f&&f.backwards;if(D===!1)return!1;let h=v.charAt(D);if(d){if(v.charAt(D-1)==="\r"&&h===`
181
+ `)return D-2;if(h===`
182
+ `||h==="\r"||h==="\u2028"||h==="\u2029")return D-1}else{if(h==="\r"&&v.charAt(D+1)===`
183
+ `)return D+2;if(h===`
184
+ `||h==="\r"||h==="\u2028"||h==="\u2029")return D+1}return D}A.exports=p}}),bn=we({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){Re();var p=Jt(),v=Kt(),D=Wt(),{skipSpaces:f}=Lt();function d(h,E){let S=null,M=E;for(;M!==S;)S=M,M=f(h,M),M=p(h,M),M=D(h,M),M=v(h,M);return M}A.exports=d}}),ye=we({"src/common/util.js"(m,A){Re();var{default:p}=(gp(),Yn(Ol)),v=qr(),{getSupportInfo:D}=_t(),f=jt(),d=Il(),{skipWhitespace:h,skipSpaces:E,skipToLineEnd:S,skipEverythingButNewLine:M}=Lt(),k=Jt(),B=Wt(),C=Kt(),w=bn(),j=me=>me[me.length-2];function Q(me){return(ue,qe,it)=>{let Je=it&&it.backwards;if(qe===!1)return!1;let{length:yt}=ue,be=qe;for(;be>=0&&be<yt;){let Me=ue.charAt(be);if(me instanceof RegExp){if(!me.test(Me))return be}else if(!me.includes(Me))return be;Je?be--:be++}return be===-1||be===yt?be:!1}}function ne(me,ue){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},it=E(me,qe.backwards?ue-1:ue,qe),Je=C(me,it,qe);return it!==Je}function $(me,ue,qe){for(let it=ue;it<qe;++it)if(me.charAt(it)===`
185
+ `)return!0;return!1}function K(me,ue,qe){let it=qe(ue)-1;it=E(me,it,{backwards:!0}),it=C(me,it,{backwards:!0}),it=E(me,it,{backwards:!0});let Je=C(me,it,{backwards:!0});return it!==Je}function G(me,ue){let qe=null,it=ue;for(;it!==qe;)qe=it,it=S(me,it),it=k(me,it),it=E(me,it);return it=B(me,it),it=C(me,it),it!==!1&&ne(me,it)}function re(me,ue,qe){return G(me,qe(ue))}function te(me,ue,qe){return w(me,qe(ue))}function De(me,ue,qe){return me.charAt(te(me,ue,qe))}function N(me,ue){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return E(me,qe.backwards?ue-1:ue,qe)!==ue}function J(me,ue){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,it=0;for(let Je=qe;Je<me.length;++Je)me[Je]===" "?it=it+ue-it%ue:it++;return it}function F(me,ue){let qe=me.lastIndexOf(`
186
+ `);return qe===-1?0:J(me.slice(qe+1).match(/^[\t ]*/)[0],ue)}function R(me,ue){let qe={quote:'"',regex:/"/g,escaped:"&quot;"},it={quote:"'",regex:/'/g,escaped:"&apos;"},Je=ue==="'"?it:qe,yt=Je===it?qe:it,be=Je;if(me.includes(Je.quote)||me.includes(yt.quote)){let Me=(me.match(Je.regex)||[]).length,ht=(me.match(yt.regex)||[]).length;be=Me>ht?yt:Je}return be}function y(me,ue){let qe=me.slice(1,-1),it=ue.parser==="json"||ue.parser==="json5"&&ue.quoteProps==="preserve"&&!ue.singleQuote?'"':ue.__isInHtmlAttribute?"'":R(qe,ue.singleQuote?"'":'"').quote;return P(qe,it,!(ue.parser==="css"||ue.parser==="less"||ue.parser==="scss"||ue.__embeddedInHtml))}function P(me,ue,qe){let it=ue==='"'?"'":'"',Je=/\\(.)|(["'])/gs,yt=me.replace(Je,(be,Me,ht)=>Me===it?Me:ht===ue?"\\"+ht:ht||(qe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Me)?Me:"\\"+Me));return ue+yt+ue}function I(me){return me.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function q(me,ue){let qe=me.match(new RegExp(`(${p(ue)})+`,"g"));return qe===null?0:qe.reduce((it,Je)=>Math.max(it,Je.length/ue.length),0)}function U(me,ue){let qe=me.match(new RegExp(`(${p(ue)})+`,"g"));if(qe===null)return 0;let it=new Map,Je=0;for(let yt of qe){let be=yt.length/ue.length;it.set(be,!0),be>Je&&(Je=be)}for(let yt=1;yt<Je;yt++)if(!it.get(yt))return yt;return Je+1}function z(me,ue){(me.comments||(me.comments=[])).push(ue),ue.printed=!1,ue.nodeDescription=Ue(me)}function ie(me,ue){ue.leading=!0,ue.trailing=!1,z(me,ue)}function ce(me,ue,qe){ue.leading=!1,ue.trailing=!1,qe&&(ue.marker=qe),z(me,ue)}function ge(me,ue){ue.leading=!1,ue.trailing=!0,z(me,ue)}function fe(me,ue){let{languages:qe}=D({plugins:ue.plugins}),it=qe.find(Je=>{let{name:yt}=Je;return yt.toLowerCase()===me})||qe.find(Je=>{let{aliases:yt}=Je;return Array.isArray(yt)&&yt.includes(me)})||qe.find(Je=>{let{extensions:yt}=Je;return Array.isArray(yt)&&yt.includes(`.${me}`)});return it&&it.parsers[0]}function Ne(me){return me&&me.type==="front-matter"}function se(me){let ue=new WeakMap;return function(qe){return ue.has(qe)||ue.set(qe,Symbol(me)),ue.get(qe)}}function Ue(me){let ue=me.type||me.kind||"(unknown type)",qe=String(me.name||me.id&&(typeof me.id=="object"?me.id.name:me.id)||me.key&&(typeof me.key=="object"?me.key.name:me.key)||me.value&&(typeof me.value=="object"?"":String(me.value))||me.operator||"");return qe.length>20&&(qe=qe.slice(0,19)+"…"),ue+(qe?" "+qe:"")}A.exports={inferParserByLanguage:fe,getStringWidth:d,getMaxContinuousCount:q,getMinNotPresentContinuousCount:U,getPenultimate:j,getLast:v,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:w,getNextNonSpaceNonCommentCharacterIndex:te,getNextNonSpaceNonCommentCharacter:De,skip:Q,skipWhitespace:h,skipSpaces:E,skipToLineEnd:S,skipEverythingButNewLine:M,skipInlineComment:k,skipTrailingComment:B,skipNewline:C,isNextLineEmptyAfterIndex:G,isNextLineEmpty:re,isPreviousLineEmpty:K,hasNewline:ne,hasNewlineInRange:$,hasSpaces:N,getAlignmentSize:J,getIndentSize:F,getPreferredQuote:R,printString:y,printNumber:I,makeString:P,addLeadingComment:ie,addDanglingComment:ce,addTrailingComment:ge,isFrontMatterNode:Ne,isNonEmptyArray:f,createGroupIdMapper:se}}}),Z={};Sn(Z,{basename:()=>xt,default:()=>Sr,delimiter:()=>sr,dirname:()=>je,extname:()=>Rt,isAbsolute:()=>Se,join:()=>Be,normalize:()=>le,relative:()=>Ee,resolve:()=>H,sep:()=>Vn});function O(m,A){for(var p=0,v=m.length-1;v>=0;v--){var D=m[v];D==="."?m.splice(v,1):D===".."?(m.splice(v,1),p++):p&&(m.splice(v,1),p--)}if(A)for(;p--;p)m.unshift("..");return m}function H(){for(var m="",A=!1,p=arguments.length-1;p>=-1&&!A;p--){var v=p>=0?arguments[p]:"/";if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");v&&(m=v+"/"+m,A=v.charAt(0)==="/")}return m=O(Xt(m.split("/"),function(D){return!!D}),!A).join("/"),(A?"/":"")+m||"."}function le(m){var A=Se(m),p=mi(m,-1)==="/";return m=O(Xt(m.split("/"),function(v){return!!v}),!A).join("/"),!m&&!A&&(m="."),m&&p&&(m+="/"),(A?"/":"")+m}function Se(m){return m.charAt(0)==="/"}function Be(){var m=Array.prototype.slice.call(arguments,0);return le(Xt(m,function(A,p){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Ee(m,A){m=H(m).substr(1),A=H(A).substr(1);function p(S){for(var M=0;M<S.length&&S[M]==="";M++);for(var k=S.length-1;k>=0&&S[k]==="";k--);return M>k?[]:S.slice(M,k-M+1)}for(var v=p(m.split("/")),D=p(A.split("/")),f=Math.min(v.length,D.length),d=f,h=0;h<f;h++)if(v[h]!==D[h]){d=h;break}for(var E=[],h=d;h<v.length;h++)E.push("..");return E=E.concat(D.slice(d)),E.join("/")}function je(m){var A=on(m),p=A[0],v=A[1];return!p&&!v?".":(v&&(v=v.substr(0,v.length-1)),p+v)}function xt(m,A){var p=on(m)[2];return A&&p.substr(-1*A.length)===A&&(p=p.substr(0,p.length-A.length)),p}function Rt(m){return on(m)[3]}function Xt(m,A){if(m.filter)return m.filter(A);for(var p=[],v=0;v<m.length;v++)A(m[v],v,m)&&p.push(m[v]);return p}var En,on,Vn,sr,Sr,mi,fi=pn({"node-modules-polyfills:path"(){Re(),En=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,on=function(m){return En.exec(m).slice(1)},Vn="/",sr=":",Sr={extname:Rt,basename:xt,dirname:je,sep:Vn,delimiter:sr,relative:Ee,join:Be,isAbsolute:Se,normalize:le,resolve:H},mi="ab".substr(-1)==="b"?function(m,A,p){return m.substr(A,p)}:function(m,A,p){return A<0&&(A=m.length+A),m.substr(A,p)}}}),Et=we({"node-modules-polyfills-commonjs:path"(m,A){Re();var p=(fi(),Yn(Z));if(p&&p.default){A.exports=p.default;for(let v in p)A.exports[v]=p[v]}else p&&(A.exports=p)}}),tn=we({"src/common/errors.js"(m,A){Re();var p=class extends Error{},v=class extends Error{},D=class extends Error{},f=class extends Error{};A.exports={ConfigError:p,DebugError:v,UndefinedParserError:D,ArgExpansionBailout:f}}}),mn={};Sn(mn,{__assign:()=>de,__asyncDelegator:()=>vp,__asyncGenerator:()=>bp,__asyncValues:()=>Ep,__await:()=>gi,__awaiter:()=>Yi,__classPrivateFieldGet:()=>Sp,__classPrivateFieldSet:()=>wp,__createBinding:()=>sa,__decorate:()=>or,__exportStar:()=>so,__extends:()=>Cn,__generator:()=>Ii,__importDefault:()=>xp,__importStar:()=>Cp,__makeTemplateObject:()=>Ap,__metadata:()=>Ji,__param:()=>Mi,__read:()=>Rl,__rest:()=>Wn,__spread:()=>yp,__spreadArrays:()=>Dp,__values:()=>Xo});function Cn(m,A){pe(m,A);function p(){this.constructor=m}m.prototype=A===null?Object.create(A):(p.prototype=A.prototype,new p)}function Wn(m,A){var p={};for(var v in m)Object.prototype.hasOwnProperty.call(m,v)&&A.indexOf(v)<0&&(p[v]=m[v]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,v=Object.getOwnPropertySymbols(m);D<v.length;D++)A.indexOf(v[D])<0&&Object.prototype.propertyIsEnumerable.call(m,v[D])&&(p[v[D]]=m[v[D]]);return p}function or(m,A,p,v){var D=arguments.length,f=D<3?A:v===null?v=Object.getOwnPropertyDescriptor(A,p):v,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(m,A,p,v);else for(var h=m.length-1;h>=0;h--)(d=m[h])&&(f=(D<3?d(f):D>3?d(A,p,f):d(A,p))||f);return D>3&&f&&Object.defineProperty(A,p,f),f}function Mi(m,A){return function(p,v){A(p,v,m)}}function Ji(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Yi(m,A,p,v){function D(f){return f instanceof p?f:new p(function(d){d(f)})}return new(p||(p=Promise))(function(f,d){function h(M){try{S(v.next(M))}catch(k){d(k)}}function E(M){try{S(v.throw(M))}catch(k){d(k)}}function S(M){M.done?f(M.value):D(M.value).then(h,E)}S((v=v.apply(m,A||[])).next())})}function Ii(m,A){var p={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},v,D,f,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(S){return function(M){return E([S,M])}}function E(S){if(v)throw new TypeError("Generator is already executing.");for(;p;)try{if(v=1,D&&(f=S[0]&2?D.return:S[0]?D.throw||((f=D.return)&&f.call(D),0):D.next)&&!(f=f.call(D,S[1])).done)return f;switch(D=0,f&&(S=[S[0]&2,f.value]),S[0]){case 0:case 1:f=S;break;case 4:return p.label++,{value:S[1],done:!1};case 5:p.label++,D=S[1],S=[0];continue;case 7:S=p.ops.pop(),p.trys.pop();continue;default:if(f=p.trys,!(f=f.length>0&&f[f.length-1])&&(S[0]===6||S[0]===2)){p=0;continue}if(S[0]===3&&(!f||S[1]>f[0]&&S[1]<f[3])){p.label=S[1];break}if(S[0]===6&&p.label<f[1]){p.label=f[1],f=S;break}if(f&&p.label<f[2]){p.label=f[2],p.ops.push(S);break}f[2]&&p.ops.pop(),p.trys.pop();continue}S=A.call(m,p)}catch(M){S=[6,M],D=0}finally{v=f=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}}function sa(m,A,p,v){v===void 0&&(v=p),m[v]=A[p]}function so(m,A){for(var p in m)p!=="default"&&!A.hasOwnProperty(p)&&(A[p]=m[p])}function Xo(m){var A=typeof Symbol=="function"&&Symbol.iterator,p=A&&m[A],v=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&v>=m.length&&(m=void 0),{value:m&&m[v++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rl(m,A){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var v=p.call(m),D,f=[],d;try{for(;(A===void 0||A-- >0)&&!(D=v.next()).done;)f.push(D.value)}catch(h){d={error:h}}finally{try{D&&!D.done&&(p=v.return)&&p.call(v)}finally{if(d)throw d.error}}return f}function yp(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(Rl(arguments[A]));return m}function Dp(){for(var m=0,A=0,p=arguments.length;A<p;A++)m+=arguments[A].length;for(var v=Array(m),D=0,A=0;A<p;A++)for(var f=arguments[A],d=0,h=f.length;d<h;d++,D++)v[D]=f[d];return v}function gi(m){return this instanceof gi?(this.v=m,this):new gi(m)}function bp(m,A,p){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var v=p.apply(m,A||[]),D,f=[];return D={},d("next"),d("throw"),d("return"),D[Symbol.asyncIterator]=function(){return this},D;function d(B){v[B]&&(D[B]=function(C){return new Promise(function(w,j){f.push([B,C,w,j])>1||h(B,C)})})}function h(B,C){try{E(v[B](C))}catch(w){k(f[0][3],w)}}function E(B){B.value instanceof gi?Promise.resolve(B.value.v).then(S,M):k(f[0][2],B)}function S(B){h("next",B)}function M(B){h("throw",B)}function k(B,C){B(C),f.shift(),f.length&&h(f[0][0],f[0][1])}}function vp(m){var A,p;return A={},v("next"),v("throw",function(D){throw D}),v("return"),A[Symbol.iterator]=function(){return this},A;function v(D,f){A[D]=m[D]?function(d){return(p=!p)?{value:gi(m[D](d)),done:D==="return"}:f?f(d):d}:f}}function Ep(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],p;return A?A.call(m):(m=typeof Xo=="function"?Xo(m):m[Symbol.iterator](),p={},v("next"),v("throw"),v("return"),p[Symbol.asyncIterator]=function(){return this},p);function v(f){p[f]=m[f]&&function(d){return new Promise(function(h,E){d=m[f](d),D(h,E,d.done,d.value)})}}function D(f,d,h,E){Promise.resolve(E).then(function(S){f({value:S,done:h})},d)}}function Ap(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Cp(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var p in m)Object.hasOwnProperty.call(m,p)&&(A[p]=m[p]);return A.default=m,A}function xp(m){return m&&m.__esModule?m:{default:m}}function Sp(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function wp(m,A,p){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,p),p}var pe,de,Ge=pn({"node_modules/tslib/tslib.es6.js"(){Re(),pe=function(m,A){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var D in v)v.hasOwnProperty(D)&&(p[D]=v[D])},pe(m,A)},de=function(){return de=Object.assign||function(m){for(var A,p=1,v=arguments.length;p<v;p++){A=arguments[p];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(m[D]=A[D])}return m},de.apply(this,arguments)}}}),He=we({"node_modules/vnopts/lib/descriptors/api.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return`[${A.map(v=>m.apiDescriptor.value(v)).join(", ")}]`;let p=Object.keys(A);return p.length===0?"{}":`{ ${p.map(v=>`${m.apiDescriptor.key(v)}: ${m.apiDescriptor.value(A[v])}`).join(", ")} }`},pair:A=>{let{key:p,value:v}=A;return m.apiDescriptor.value({[p]:v})}}}}),nt=we({"node_modules/vnopts/lib/descriptors/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(He(),m)}}),rt=we({"scripts/build/shims/chalk.cjs"(m,A){Re();var p=v=>v;p.grey=p,p.red=p,p.bold=p,p.yellow=p,p.blue=p,p.default=p,A.exports=p}}),St=we({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=rt();m.commonDeprecatedHandler=(p,v,D)=>{let{descriptor:f}=D,d=[`${A.default.yellow(typeof p=="string"?f.key(p):f.pair(p))} is deprecated`];return v&&d.push(`we now treat it as ${A.default.blue(typeof v=="string"?f.key(v):f.pair(v))}`),d.join("; ")+"."}}}),Nt=we({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(St(),m)}}),Zt=we({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=rt();m.commonInvalidHandler=(p,v,D)=>[`Invalid ${A.default.red(D.descriptor.key(p))} value.`,`Expected ${A.default.blue(D.schemas[p].expected(D))},`,`but received ${A.default.red(D.descriptor.value(v))}.`].join(" ")}}),rn=we({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(Zt(),m)}}),dn=we({"node_modules/vnopts/node_modules/leven/index.js"(m,A){Re();var p=[],v=[];A.exports=function(D,f){if(D===f)return 0;var d=D;D.length>f.length&&(D=f,f=d);var h=D.length,E=f.length;if(h===0)return E;if(E===0)return h;for(;h>0&&D.charCodeAt(~-h)===f.charCodeAt(~-E);)h--,E--;if(h===0)return E;for(var S=0;S<h&&D.charCodeAt(S)===f.charCodeAt(S);)S++;if(h-=S,E-=S,h===0)return E;for(var M,k,B,C,w=0,j=0;w<h;)v[S+w]=D.charCodeAt(S+w),p[w]=++w;for(;j<E;)for(M=f.charCodeAt(S+j),B=j++,k=j,w=0;w<h;w++)C=M===v[S+w]?B:B+1,B=p[w],k=p[w]=B>k?C>k?k+1:C:C>B?B+1:C;return k}}}),Pn=we({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=rt(),p=dn();m.levenUnknownHandler=(v,D,f)=>{let{descriptor:d,logger:h,schemas:E}=f,S=[`Ignored unknown option ${A.default.yellow(d.pair({key:v,value:D}))}.`],M=Object.keys(E).sort().find(k=>p(v,k)<3);M&&S.push(`Did you mean ${A.default.blue(d.key(M))}?`),h.warn(S.join(" "))}}}),cr=we({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(Pn(),m)}}),fr=we({"node_modules/vnopts/lib/handlers/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(Nt(),m),A.__exportStar(rn(),m),A.__exportStar(cr(),m)}}),Rn=we({"node_modules/vnopts/lib/schema.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function p(f,d){let h=new f(d),E=Object.create(h);for(let S of A)S in d&&(E[S]=D(d[S],h,v.prototype[S].length));return E}m.createSchema=p;var v=class{constructor(f){this.name=f.name}static create(f){return p(this,f)}default(f){}expected(f){return"nothing"}validate(f,d){return!1}deprecated(f,d){return!1}forward(f,d){}redirect(f,d){}overlap(f,d,h){return f}preprocess(f,d){return f}postprocess(f,d){return f}};m.Schema=v;function D(f,d,h){return typeof f=="function"?function(){for(var E=arguments.length,S=new Array(E),M=0;M<E;M++)S[M]=arguments[M];return f(...S.slice(0,h-1),d,...S.slice(h-1))}:()=>f}}}),rr=we({"node_modules/vnopts/lib/schemas/alias.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=class extends A.Schema{constructor(v){super(v),this._sourceName=v.sourceName}expected(v){return v.schemas[this._sourceName].expected(v)}validate(v,D){return D.schemas[this._sourceName].validate(v,D)}redirect(v,D){return this._sourceName}};m.AliasSchema=p}}),Zn=we({"node_modules/vnopts/lib/schemas/any.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=p}}),Ur=we({"node_modules/vnopts/lib/schemas/array.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn)),p=Rn(),v=class extends p.Schema{constructor(f){var{valueSchema:d,name:h=d.name}=f,E=A.__rest(f,["valueSchema","name"]);super(Object.assign({},E,{name:h})),this._valueSchema=d}expected(f){return`an array of ${this._valueSchema.expected(f)}`}validate(f,d){if(!Array.isArray(f))return!1;let h=[];for(let E of f){let S=d.normalizeValidateResult(this._valueSchema.validate(E,d),E);S!==!0&&h.push(S.value)}return h.length===0?!0:{value:h}}deprecated(f,d){let h=[];for(let E of f){let S=d.normalizeDeprecatedResult(this._valueSchema.deprecated(E,d),E);S!==!1&&h.push(...S.map(M=>{let{value:k}=M;return{value:[k]}}))}return h}forward(f,d){let h=[];for(let E of f){let S=d.normalizeForwardResult(this._valueSchema.forward(E,d),E);h.push(...S.map(D))}return h}redirect(f,d){let h=[],E=[];for(let S of f){let M=d.normalizeRedirectResult(this._valueSchema.redirect(S,d),S);"remain"in M&&h.push(M.remain),E.push(...M.redirect.map(D))}return h.length===0?{redirect:E}:{redirect:E,remain:h}}overlap(f,d){return f.concat(d)}};m.ArraySchema=v;function D(f){let{from:d,to:h}=f;return{from:[d],to:h}}}}),ur=we({"node_modules/vnopts/lib/schemas/boolean.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=class extends A.Schema{expected(){return"true or false"}validate(v){return typeof v=="boolean"}};m.BooleanSchema=p}}),Jr=we({"node_modules/vnopts/lib/utils.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});function A(C,w){let j=Object.create(null);for(let Q of C){let ne=Q[w];if(j[ne])throw new Error(`Duplicate ${w} ${JSON.stringify(ne)}`);j[ne]=Q}return j}m.recordFromArray=A;function p(C,w){let j=new Map;for(let Q of C){let ne=Q[w];if(j.has(ne))throw new Error(`Duplicate ${w} ${JSON.stringify(ne)}`);j.set(ne,Q)}return j}m.mapFromArray=p;function v(){let C=Object.create(null);return w=>{let j=JSON.stringify(w);return C[j]?!0:(C[j]=!0,!1)}}m.createAutoChecklist=v;function D(C,w){let j=[],Q=[];for(let ne of C)w(ne)?j.push(ne):Q.push(ne);return[j,Q]}m.partition=D;function f(C){return C===Math.floor(C)}m.isInt=f;function d(C,w){if(C===w)return 0;let j=typeof C,Q=typeof w,ne=["undefined","object","boolean","number","string"];return j!==Q?ne.indexOf(j)-ne.indexOf(Q):j!=="string"?Number(C)-Number(w):C.localeCompare(w)}m.comparePrimitive=d;function h(C){return C===void 0?{}:C}m.normalizeDefaultResult=h;function E(C,w){return C===!0?!0:C===!1?{value:w}:C}m.normalizeValidateResult=E;function S(C,w){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return C===!1?!1:C===!0?j?!0:[{value:w}]:"value"in C?[C]:C.length===0?!1:C}m.normalizeDeprecatedResult=S;function M(C,w){return typeof C=="string"||"key"in C?{from:w,to:C}:"from"in C?{from:C.from,to:C.to}:{from:w,to:C.to}}m.normalizeTransferResult=M;function k(C,w){return C===void 0?[]:Array.isArray(C)?C.map(j=>M(j,w)):[M(C,w)]}m.normalizeForwardResult=k;function B(C,w){let j=k(typeof C=="object"&&"redirect"in C?C.redirect:C,w);return j.length===0?{remain:w,redirect:j}:typeof C=="object"&&"remain"in C?{remain:C.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=B}}),br=we({"node_modules/vnopts/lib/schemas/choice.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=Jr(),v=class extends A.Schema{constructor(D){super(D),this._choices=p.mapFromArray(D.choices.map(f=>f&&typeof f=="object"?f:{value:f}),"value")}expected(D){let{descriptor:f}=D,d=Array.from(this._choices.keys()).map(S=>this._choices.get(S)).filter(S=>!S.deprecated).map(S=>S.value).sort(p.comparePrimitive).map(f.value),h=d.slice(0,-2),E=d.slice(-2);return h.concat(E.join(" or ")).join(", ")}validate(D){return this._choices.has(D)}deprecated(D){let f=this._choices.get(D);return f&&f.deprecated?{value:D}:!1}forward(D){let f=this._choices.get(D);return f?f.forward:void 0}redirect(D){let f=this._choices.get(D);return f?f.redirect:void 0}};m.ChoiceSchema=v}}),_r=we({"node_modules/vnopts/lib/schemas/number.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=class extends A.Schema{expected(){return"a number"}validate(v,D){return typeof v=="number"}};m.NumberSchema=p}}),ao=we({"node_modules/vnopts/lib/schemas/integer.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Jr(),p=_r(),v=class extends p.NumberSchema{expected(){return"an integer"}validate(D,f){return f.normalizeValidateResult(super.validate(D,f),D)===!0&&A.isInt(D)}};m.IntegerSchema=v}}),yE=we({"node_modules/vnopts/lib/schemas/string.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=Rn(),p=class extends A.Schema{expected(){return"a string"}validate(v){return typeof v=="string"}};m.StringSchema=p}}),DE=we({"node_modules/vnopts/lib/schemas/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(rr(),m),A.__exportStar(Zn(),m),A.__exportStar(Ur(),m),A.__exportStar(ur(),m),A.__exportStar(br(),m),A.__exportStar(ao(),m),A.__exportStar(_r(),m),A.__exportStar(yE(),m)}}),bE=we({"node_modules/vnopts/lib/defaults.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=He(),p=St(),v=rn(),D=Pn();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=D.levenUnknownHandler,m.defaultInvalidHandler=v.commonInvalidHandler,m.defaultDeprecatedHandler=p.commonDeprecatedHandler}}),vE=we({"node_modules/vnopts/lib/normalize.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=bE(),p=Jr();m.normalize=(D,f,d)=>new v(f,d).normalize(D);var v=class{constructor(D,f){let{logger:d=console,descriptor:h=A.defaultDescriptor,unknown:E=A.defaultUnknownHandler,invalid:S=A.defaultInvalidHandler,deprecated:M=A.defaultDeprecatedHandler}=f||{};this._utils={descriptor:h,logger:d||{warn:()=>{}},schemas:p.recordFromArray(D,"name"),normalizeDefaultResult:p.normalizeDefaultResult,normalizeDeprecatedResult:p.normalizeDeprecatedResult,normalizeForwardResult:p.normalizeForwardResult,normalizeRedirectResult:p.normalizeRedirectResult,normalizeValidateResult:p.normalizeValidateResult},this._unknownHandler=E,this._invalidHandler=S,this._deprecatedHandler=M,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=p.createAutoChecklist()}normalize(D){let f={},d=[D],h=()=>{for(;d.length!==0;){let E=d.shift(),S=this._applyNormalization(E,f);d.push(...S)}};h();for(let E of Object.keys(this._utils.schemas)){let S=this._utils.schemas[E];if(!(E in f)){let M=p.normalizeDefaultResult(S.default(this._utils));"value"in M&&d.push({[E]:M.value})}}h();for(let E of Object.keys(this._utils.schemas)){let S=this._utils.schemas[E];E in f&&(f[E]=S.postprocess(f[E],this._utils))}return f}_applyNormalization(D,f){let d=[],[h,E]=p.partition(Object.keys(D),S=>S in this._utils.schemas);for(let S of h){let M=this._utils.schemas[S],k=M.preprocess(D[S],this._utils),B=p.normalizeValidateResult(M.validate(k,this._utils),k);if(B!==!0){let{value:Q}=B,ne=this._invalidHandler(S,Q,this._utils);throw typeof ne=="string"?new Error(ne):ne}let C=Q=>{let{from:ne,to:$}=Q;d.push(typeof $=="string"?{[$]:ne}:{[$.key]:$.value})},w=Q=>{let{value:ne,redirectTo:$}=Q,K=p.normalizeDeprecatedResult(M.deprecated(ne,this._utils),k,!0);if(K!==!1)if(K===!0)this._hasDeprecationWarned(S)||this._utils.logger.warn(this._deprecatedHandler(S,$,this._utils));else for(let{value:G}of K){let re={key:S,value:G};if(!this._hasDeprecationWarned(re)){let te=typeof $=="string"?{key:$,value:G}:$;this._utils.logger.warn(this._deprecatedHandler(re,te,this._utils))}}};p.normalizeForwardResult(M.forward(k,this._utils),k).forEach(C);let j=p.normalizeRedirectResult(M.redirect(k,this._utils),k);if(j.redirect.forEach(C),"remain"in j){let Q=j.remain;f[S]=S in f?M.overlap(f[S],Q,this._utils):Q,w({value:Q})}for(let{from:Q,to:ne}of j.redirect)w({value:Q,redirectTo:ne})}for(let S of E){let M=D[S],k=this._unknownHandler(S,M,this._utils);if(k)for(let B of Object.keys(k)){let C={[B]:k[B]};B in this._utils.schemas?d.push(C):Object.assign(f,C)}}return d}};m.Normalizer=v}}),EE=we({"node_modules/vnopts/lib/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Ge(),Yn(mn));A.__exportStar(nt(),m),A.__exportStar(fr(),m),A.__exportStar(DE(),m),A.__exportStar(vE(),m),A.__exportStar(Rn(),m)}}),AE=we({"src/main/options-normalizer.js"(m,A){Re();var p=EE(),v=qr(),D={key:B=>B.length===1?`-${B}`:`--${B}`,value:B=>p.apiDescriptor.value(B),pair:B=>{let{key:C,value:w}=B;return w===!1?`--no-${C}`:w===!0?D.key(C):w===""?`${D.key(C)} without an argument`:`${D.key(C)}=${w}`}},f=B=>{let{colorsModule:C,levenshteinDistance:w}=B;return class extends p.ChoiceSchema{constructor(j){let{name:Q,flags:ne}=j;super({name:Q,choices:ne}),this._flags=[...ne].sort()}preprocess(j,Q){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ne=this._flags.find($=>w($,j)<3);if(ne)return Q.logger.warn([`Unknown flag ${C.yellow(Q.descriptor.value(j))},`,`did you mean ${C.blue(Q.descriptor.value(ne))}?`].join(" ")),ne}return j}expected(){return"a flag"}}},d;function h(B,C){let{logger:w=!1,isCLI:j=!1,passThrough:Q=!1,colorsModule:ne=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=Q?Array.isArray(Q)?(J,F)=>Q.includes(J)?{[J]:F}:void 0:(J,F)=>({[J]:F}):(J,F,R)=>{let y=R.schemas,P=wt(y,ft);return p.levenUnknownHandler(J,F,Object.assign(Object.assign({},R),{},{schemas:P}))},G=j?D:p.apiDescriptor,re=E(C,{isCLI:j,colorsModule:ne,levenshteinDistance:$}),te=new p.Normalizer(re,{logger:w,unknown:K,descriptor:G}),De=w!==!1;De&&d&&(te._hasDeprecationWarned=d);let N=te.normalize(B);return De&&(d=te._hasDeprecationWarned),j&&N["plugin-search"]===!1&&(N["plugin-search-dir"]=!1),N}function E(B,C){let{isCLI:w,colorsModule:j,levenshteinDistance:Q}=C,ne=[];w&&ne.push(p.AnySchema.create({name:"_"}));for(let $ of B)ne.push(S($,{isCLI:w,optionInfos:B,colorsModule:j,levenshteinDistance:Q})),$.alias&&w&&ne.push(p.AliasSchema.create({name:$.alias,sourceName:$.name}));return ne}function S(B,C){let{isCLI:w,optionInfos:j,colorsModule:Q,levenshteinDistance:ne}=C,{name:$}=B;if($==="plugin-search-dir"||$==="pluginSearchDirs")return p.AnySchema.create({name:$,preprocess(te){return te===!1||(te=Array.isArray(te)?te:[te]),te},validate(te){return te===!1?!0:te.every(De=>typeof De=="string")},expected(){return"false or paths to plugin search dir"}});let K={name:$},G,re={};switch(B.type){case"int":G=p.IntegerSchema,w&&(K.preprocess=Number);break;case"string":G=p.StringSchema;break;case"choice":G=p.ChoiceSchema,K.choices=B.choices.map(te=>typeof te=="object"&&te.redirect?Object.assign(Object.assign({},te),{},{redirect:{to:{key:B.name,value:te.redirect}}}):te);break;case"boolean":G=p.BooleanSchema;break;case"flag":G=f({colorsModule:Q,levenshteinDistance:ne}),K.flags=j.flatMap(te=>[te.alias,te.description&&te.name,te.oppositeDescription&&`no-${te.name}`].filter(Boolean));break;case"path":G=p.StringSchema;break;default:throw new Error(`Unexpected type ${B.type}`)}if(B.exception?K.validate=(te,De,N)=>B.exception(te)||De.validate(te,N):K.validate=(te,De,N)=>te===void 0||De.validate(te,N),B.redirect&&(re.redirect=te=>te?{to:{key:B.redirect.option,value:B.redirect.value}}:void 0),B.deprecated&&(re.deprecated=!0),w&&!B.array){let te=K.preprocess||(De=>De);K.preprocess=(De,N,J)=>N.preprocess(te(Array.isArray(De)?v(De):De),J)}return B.array?p.ArraySchema.create(Object.assign(Object.assign(Object.assign({},w?{preprocess:te=>Array.isArray(te)?te:[te]}:{}),re),{},{valueSchema:G.create(K)})):G.create(Object.assign(Object.assign({},K),re))}function M(B,C,w){return h(B,C,w)}function k(B,C,w){return h(B,C,Object.assign({isCLI:!0},w))}A.exports={normalizeApiOptions:M,normalizeCliOptions:k}}}),ii=we({"src/language-js/loc.js"(m,A){Re();var p=jt();function v(E){var S,M;let k=E.range?E.range[0]:E.start,B=(S=(M=E.declaration)===null||M===void 0?void 0:M.decorators)!==null&&S!==void 0?S:E.decorators;return p(B)?Math.min(v(B[0]),k):k}function D(E){return E.range?E.range[1]:E.end}function f(E,S){let M=v(E);return Number.isInteger(M)&&M===v(S)}function d(E,S){let M=D(E);return Number.isInteger(M)&&M===D(S)}function h(E,S){return f(E,S)&&d(E,S)}A.exports={locStart:v,locEnd:D,hasSameLocStart:f,hasSameLoc:h}}}),CE=we({"src/main/load-parser.js"(m,A){Re(),A.exports=()=>{}}}),xE=we({"scripts/build/shims/babel-highlight.cjs"(m,A){Re();var p=rt(),v={shouldHighlight:()=>!1,getChalk:()=>p};A.exports=v}}),SE=we({"node_modules/@babel/code-frame/lib/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=h;var A=xE(),p=!1;function v(E){return{gutter:E.grey,marker:E.red.bold,message:E.red.bold}}var D=/\r\n|[\n\r\u2028\u2029]/;function f(E,S,M){let k=Object.assign({column:0,line:-1},E.start),B=Object.assign({},k,E.end),{linesAbove:C=2,linesBelow:w=3}=M||{},j=k.line,Q=k.column,ne=B.line,$=B.column,K=Math.max(j-(C+1),0),G=Math.min(S.length,ne+w);j===-1&&(K=0),ne===-1&&(G=S.length);let re=ne-j,te={};if(re)for(let De=0;De<=re;De++){let N=De+j;if(!Q)te[N]=!0;else if(De===0){let J=S[N-1].length;te[N]=[Q,J-Q+1]}else if(De===re)te[N]=[0,$];else{let J=S[N-De].length;te[N]=[0,J]}}else Q===$?Q?te[j]=[Q,0]:te[j]=!0:te[j]=[Q,$-Q];return{start:K,end:G,markerLines:te}}function d(E,S){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=(M.highlightCode||M.forceColor)&&(0,A.shouldHighlight)(M),B=(0,A.getChalk)(M),C=v(B),w=(te,De)=>k?te(De):De,j=E.split(D),{start:Q,end:ne,markerLines:$}=f(S,j,M),K=S.start&&typeof S.start.column=="number",G=String(ne).length,re=(k?(0,A.default)(E,M):E).split(D,ne).slice(Q,ne).map((te,De)=>{let N=Q+1+De,J=` ${` ${N}`.slice(-G)} |`,F=$[N],R=!$[N+1];if(F){let y="";if(Array.isArray(F)){let P=te.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),I=F[1]||1;y=[`
187
+ `,w(C.gutter,J.replace(/\d/g," "))," ",P,w(C.marker,"^").repeat(I)].join(""),R&&M.message&&(y+=" "+w(C.message,M.message))}return[w(C.marker,">"),w(C.gutter,J),te.length>0?` ${te}`:"",y].join("")}else return` ${w(C.gutter,J)}${te.length>0?` ${te}`:""}`}).join(`
188
+ `);return M.message&&!K&&(re=`${" ".repeat(G+1)}${M.message}
189
+ ${re}`),k?B.reset(re):re}function h(E,S,M){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!p){p=!0;let B="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(xr.emitWarning)xr.emitWarning(B,"DeprecationWarning");else{let C=new Error(B);C.name="DeprecationWarning",console.warn(new Error(B))}}return M=Math.max(M,0),d(E,{start:{column:M,line:S}},k)}}}),Fp=we({"src/main/parser.js"(m,A){Re();var{ConfigError:p}=tn(),v=ii();CE();var{locStart:D,locEnd:f}=v,d=Object.getOwnPropertyNames,h=Object.getOwnPropertyDescriptor;function E(k){let B={};for(let C of k.plugins)if(C.parsers)for(let w of d(C.parsers))Object.defineProperty(B,w,h(C.parsers,w));return B}function S(k){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E(k);if(typeof k.parser=="function")return{parse:k.parser,astFormat:"estree",locStart:D,locEnd:f};if(typeof k.parser=="string"){if(Object.prototype.hasOwnProperty.call(B,k.parser))return B[k.parser];throw new p(`Couldn't resolve parser "${k.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function M(k,B){let C=E(B),w=Object.defineProperties({},Object.fromEntries(Object.keys(C).map(Q=>[Q,{enumerable:!0,get(){return C[Q].parse}}]))),j=S(B,C);try{return j.preprocess&&(k=j.preprocess(k,B)),{text:k,ast:j.parse(k,w,B)}}catch(Q){let{loc:ne}=Q;if(ne){let{codeFrameColumns:$}=SE();throw Q.codeFrame=$(k,ne,{highlightCode:!0}),Q.message+=`
190
+ `+Q.codeFrame,Q}throw Q}}A.exports={parse:M,resolveParser:S}}}),Og=we({"src/main/options.js"(m,A){Re();var p=Et(),{UndefinedParserError:v}=tn(),{getSupportInfo:D}=_t(),f=AE(),{resolveParser:d}=Fp(),h={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function E(k){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=Object.assign({},k),w=D({plugins:k.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},h),Object.fromEntries(w.filter(G=>G.default!==void 0).map(G=>[G.name,G.default])));if(!C.parser){if(!C.filepath)(B.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."),C.parser="babel";else if(C.parser=M(C.filepath,C.plugins),!C.parser)throw new v(`No parser could be inferred for file: ${C.filepath}`)}let Q=d(f.normalizeApiOptions(C,[w.find(G=>G.name==="parser")],{passThrough:!0,logger:!1}));C.astFormat=Q.astFormat,C.locEnd=Q.locEnd,C.locStart=Q.locStart;let ne=S(C);C.printer=ne.printers[C.astFormat];let $=Object.fromEntries(w.filter(G=>G.pluginDefaults&&G.pluginDefaults[ne.name]!==void 0).map(G=>[G.name,G.pluginDefaults[ne.name]])),K=Object.assign(Object.assign({},j),$);for(let[G,re]of Object.entries(K))(C[G]===null||C[G]===void 0)&&(C[G]=re);return C.parser==="json"&&(C.trailingComma="none"),f.normalizeApiOptions(C,w,Object.assign({passThrough:Object.keys(h)},B))}function S(k){let{astFormat:B}=k;if(!B)throw new Error("getPlugin() requires astFormat to be set");let C=k.plugins.find(w=>w.printers&&w.printers[B]);if(!C)throw new Error(`Couldn't find plugin for AST format "${B}"`);return C}function M(k,B){let C=p.basename(k).toLowerCase(),w=D({plugins:B}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(Q=>C.endsWith(Q))||j.filenames&&j.filenames.some(Q=>Q.toLowerCase()===C));return w&&w.parsers[0]}A.exports={normalize:E,hiddenDefaults:h,inferParser:M}}}),wE=we({"src/main/massage-ast.js"(m,A){Re();function p(v,D,f){if(Array.isArray(v))return v.map(S=>p(S,D,f)).filter(Boolean);if(!v||typeof v!="object")return v;let d=D.printer.massageAstNode,h;d&&d.ignoredProperties?h=d.ignoredProperties:h=new Set;let E={};for(let[S,M]of Object.entries(v))!h.has(S)&&typeof M!="function"&&(E[S]=p(M,D,v));if(d){let S=d(v,E,f);if(S===null)return;if(S)return S}return E}A.exports=p}}),Qo=we({"scripts/build/shims/assert.cjs"(m,A){Re();var p=()=>{};p.ok=p,p.strictEqual=p,A.exports=p}}),Rr=we({"src/main/comments.js"(m,A){Re();var p=Qo(),{builders:{line:v,hardline:D,breakParent:f,indent:d,lineSuffix:h,join:E,cursor:S}}=wn(),{hasNewline:M,skipNewline:k,skipSpaces:B,isPreviousLineEmpty:C,addLeadingComment:w,addDanglingComment:j,addTrailingComment:Q}=ye(),ne=new WeakMap;function $(ie,ce,ge){if(!ie)return;let{printer:fe,locStart:Ne,locEnd:se}=ce;if(ge){if(fe.canAttachComment&&fe.canAttachComment(ie)){let me;for(me=ge.length-1;me>=0&&!(Ne(ge[me])<=Ne(ie)&&se(ge[me])<=se(ie));--me);ge.splice(me+1,0,ie);return}}else if(ne.has(ie))return ne.get(ie);let Ue=fe.getCommentChildNodes&&fe.getCommentChildNodes(ie,ce)||typeof ie=="object"&&Object.entries(ie).filter(me=>{let[ue]=me;return ue!=="enclosingNode"&&ue!=="precedingNode"&&ue!=="followingNode"&&ue!=="tokens"&&ue!=="comments"&&ue!=="parent"}).map(me=>{let[,ue]=me;return ue});if(Ue){ge||(ge=[],ne.set(ie,ge));for(let me of Ue)$(me,ce,ge);return ge}}function K(ie,ce,ge,fe){let{locStart:Ne,locEnd:se}=ge,Ue=Ne(ce),me=se(ce),ue=$(ie,ge),qe,it,Je=0,yt=ue.length;for(;Je<yt;){let be=Je+yt>>1,Me=ue[be],ht=Ne(Me),mt=se(Me);if(ht<=Ue&&me<=mt)return K(Me,ce,ge,Me);if(mt<=Ue){qe=Me,Je=be+1;continue}if(me<=ht){it=Me,yt=be;continue}throw new Error("Comment location overlaps with node location")}if(fe&&fe.type==="TemplateLiteral"){let{quasis:be}=fe,Me=R(be,ce,ge);qe&&R(be,qe,ge)!==Me&&(qe=null),it&&R(be,it,ge)!==Me&&(it=null)}return{enclosingNode:fe,precedingNode:qe,followingNode:it}}var G=()=>!1;function re(ie,ce,ge,fe){if(!Array.isArray(ie))return;let Ne=[],{locStart:se,locEnd:Ue,printer:{handleComments:me={}}}=fe,{avoidAstMutation:ue,ownLine:qe=G,endOfLine:it=G,remaining:Je=G}=me,yt=ie.map((be,Me)=>Object.assign(Object.assign({},K(ce,be,fe)),{},{comment:be,text:ge,options:fe,ast:ce,isLastComment:ie.length-1===Me}));for(let[be,Me]of yt.entries()){let{comment:ht,precedingNode:mt,enclosingNode:Yt,followingNode:$e,text:xe,options:Ye,ast:Ze,isLastComment:At}=Me;if(Ye.parser==="json"||Ye.parser==="json5"||Ye.parser==="__js_expression"||Ye.parser==="__vue_expression"||Ye.parser==="__vue_ts_expression"){if(se(ht)-se(Ze)<=0){w(Ze,ht);continue}if(Ue(ht)-Ue(Ze)>=0){Q(Ze,ht);continue}}let Tt;if(ue?Tt=[Me]:(ht.enclosingNode=Yt,ht.precedingNode=mt,ht.followingNode=$e,Tt=[ht,xe,Ye,Ze,At]),De(xe,Ye,yt,be))ht.placement="ownLine",qe(...Tt)||($e?w($e,ht):mt?Q(mt,ht):j(Yt||Ze,ht));else if(N(xe,Ye,yt,be))ht.placement="endOfLine",it(...Tt)||(mt?Q(mt,ht):$e?w($e,ht):j(Yt||Ze,ht));else if(ht.placement="remaining",!Je(...Tt))if(mt&&$e){let It=Ne.length;It>0&&Ne[It-1].followingNode!==$e&&J(Ne,xe,Ye),Ne.push(Me)}else mt?Q(mt,ht):$e?w($e,ht):j(Yt||Ze,ht)}if(J(Ne,ge,fe),!ue)for(let be of ie)delete be.precedingNode,delete be.enclosingNode,delete be.followingNode}var te=ie=>!/[\S\n\u2028\u2029]/.test(ie);function De(ie,ce,ge,fe){let{comment:Ne,precedingNode:se}=ge[fe],{locStart:Ue,locEnd:me}=ce,ue=Ue(Ne);if(se)for(let qe=fe-1;qe>=0;qe--){let{comment:it,precedingNode:Je}=ge[qe];if(Je!==se||!te(ie.slice(me(it),ue)))break;ue=Ue(it)}return M(ie,ue,{backwards:!0})}function N(ie,ce,ge,fe){let{comment:Ne,followingNode:se}=ge[fe],{locStart:Ue,locEnd:me}=ce,ue=me(Ne);if(se)for(let qe=fe+1;qe<ge.length;qe++){let{comment:it,followingNode:Je}=ge[qe];if(Je!==se||!te(ie.slice(ue,Ue(it))))break;ue=me(it)}return M(ie,ue)}function J(ie,ce,ge){let fe=ie.length;if(fe===0)return;let{precedingNode:Ne,followingNode:se,enclosingNode:Ue}=ie[0],me=ge.printer.getGapRegex&&ge.printer.getGapRegex(Ue)||/^[\s(]*$/,ue=ge.locStart(se),qe;for(qe=fe;qe>0;--qe){let{comment:it,precedingNode:Je,followingNode:yt}=ie[qe-1];p.strictEqual(Je,Ne),p.strictEqual(yt,se);let be=ce.slice(ge.locEnd(it),ue);if(me.test(be))ue=ge.locStart(it);else break}for(let[it,{comment:Je}]of ie.entries())it<qe?Q(Ne,Je):w(se,Je);for(let it of[Ne,se])it.comments&&it.comments.length>1&&it.comments.sort((Je,yt)=>ge.locStart(Je)-ge.locStart(yt));ie.length=0}function F(ie,ce){let ge=ie.getValue();return ge.printed=!0,ce.printer.printComment(ie,ce)}function R(ie,ce,ge){let fe=ge.locStart(ce)-1;for(let Ne=1;Ne<ie.length;++Ne)if(fe<ge.locStart(ie[Ne]))return Ne-1;return 0}function y(ie,ce){let ge=ie.getValue(),fe=[F(ie,ce)],{printer:Ne,originalText:se,locStart:Ue,locEnd:me}=ce;if(Ne.isBlockComment&&Ne.isBlockComment(ge)){let qe=M(se,me(ge))?M(se,Ue(ge),{backwards:!0})?D:v:" ";fe.push(qe)}else fe.push(D);let ue=k(se,B(se,me(ge)));return ue!==!1&&M(se,ue)&&fe.push(D),fe}function P(ie,ce){let ge=ie.getValue(),fe=F(ie,ce),{printer:Ne,originalText:se,locStart:Ue}=ce,me=Ne.isBlockComment&&Ne.isBlockComment(ge);if(M(se,Ue(ge),{backwards:!0})){let qe=C(se,ge,Ue);return h([D,qe?D:"",fe])}let ue=[" ",fe];return me||(ue=[h(ue),f]),ue}function I(ie,ce,ge,fe){let Ne=[],se=ie.getValue();return!se||!se.comments||(ie.each(()=>{let Ue=ie.getValue();!Ue.leading&&!Ue.trailing&&(!fe||fe(Ue))&&Ne.push(F(ie,ce))},"comments"),Ne.length===0)?"":ge?E(D,Ne):d([D,E(D,Ne)])}function q(ie,ce,ge){let fe=ie.getValue();if(!fe)return{};let Ne=fe.comments||[];ge&&(Ne=Ne.filter(ue=>!ge.has(ue)));let se=fe===ce.cursorNode;if(Ne.length===0){let ue=se?S:"";return{leading:ue,trailing:ue}}let Ue=[],me=[];return ie.each(()=>{let ue=ie.getValue();if(ge&&ge.has(ue))return;let{leading:qe,trailing:it}=ue;qe?Ue.push(y(ie,ce)):it&&me.push(P(ie,ce))},"comments"),se&&(Ue.unshift(S),me.push(S)),{leading:Ue,trailing:me}}function U(ie,ce,ge,fe){let{leading:Ne,trailing:se}=q(ie,ge,fe);return!Ne&&!se?ce:[Ne,ce,se]}function z(ie){if(ie)for(let ce of ie){if(!ce.printed)throw new Error('Comment "'+ce.value.trim()+'" was not printed. Please report this error!');delete ce.printed}}A.exports={attach:re,printComments:U,printCommentsSeparately:q,printDanglingComments:I,getSortedChildNodes:$,ensureAllCommentsPrinted:z}}}),FE=we({"src/common/ast-path.js"(m,A){Re();var p=qr();function v(d,h){let E=D(d.stack,h);return E===-1?null:d.stack[E]}function D(d,h){for(let E=d.length-1;E>=0;E-=2){let S=d[E];if(S&&!Array.isArray(S)&&--h<0)return E}return-1}var f=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:h}=d;return h>1?d[h-2]:null}getValue(){return p(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v(this,d+1)}call(d){let{stack:h}=this,{length:E}=h,S=p(h);for(var M=arguments.length,k=new Array(M>1?M-1:0),B=1;B<M;B++)k[B-1]=arguments[B];for(let w of k)S=S[w],h.push(w,S);let C=d(this);return h.length=E,C}callParent(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=D(this.stack,h+1),S=this.stack.splice(E+1),M=d(this);return this.stack.push(...S),M}each(d){let{stack:h}=this,{length:E}=h,S=p(h);for(var M=arguments.length,k=new Array(M>1?M-1:0),B=1;B<M;B++)k[B-1]=arguments[B];for(let C of k)S=S[C],h.push(C,S);for(let C=0;C<S.length;++C)h.push(C,S[C]),d(this,C,S),h.length-=2;h.length=E}map(d){let h=[];for(var E=arguments.length,S=new Array(E>1?E-1:0),M=1;M<E;M++)S[M-1]=arguments[M];return this.each((k,B,C)=>{h[B]=d(k,B,C)},...S),h}try(d){let{stack:h}=this,E=[...h];try{return d()}finally{h.length=0,h.push(...E)}}match(){let d=this.stack.length-1,h=null,E=this.stack[d--];for(var S=arguments.length,M=new Array(S),k=0;k<S;k++)M[k]=arguments[k];for(let B of M){if(E===void 0)return!1;let C=null;if(typeof h=="number"&&(C=h,h=this.stack[d--],E=this.stack[d--]),B&&!B(E,h,C))return!1;h=this.stack[d--],E=this.stack[d--]}return!0}findAncestor(d){let h=this.stack.length-1,E=null,S=this.stack[h--];for(;S;){let M=null;if(typeof E=="number"&&(M=E,E=this.stack[h--],S=this.stack[h--]),E!==null&&d(S,E,M))return S;E=this.stack[h--],S=this.stack[h--]}}};A.exports=f}}),NE=we({"src/main/multiparser.js"(m,A){Re();var{utils:{stripTrailingHardline:p}}=wn(),{normalize:v}=Og(),D=Rr();function f(h,E,S,M){if(S.printer.embed&&S.embeddedLanguageFormatting==="auto")return S.printer.embed(h,E,(k,B,C)=>d(k,B,S,M,C),S)}function d(h,E,S,M){let{stripTrailingHardline:k=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},B=v(Object.assign(Object.assign(Object.assign({},S),E),{},{parentParser:S.parser,originalText:h}),{passThrough:!0}),C=Fp().parse(h,B),{ast:w}=C;h=C.text;let j=w.comments;delete w.comments,D.attach(j,w,h,B),B[Symbol.for("comments")]=j||[],B[Symbol.for("tokens")]=w.tokens||[];let Q=M(w,B);return D.ensureAllCommentsPrinted(j),k?typeof Q=="string"?Q.replace(/(?:\r?\n)*$/,""):p(Q):Q}A.exports={printSubtree:f}}}),_E=we({"src/main/ast-to-doc.js"(m,A){Re();var p=FE(),{builders:{hardline:v,addAlignmentToDoc:D},utils:{propagateBreaks:f}}=wn(),{printComments:d}=Rr(),h=NE();function E(k,B){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:w}=B;w.preprocess&&(k=w.preprocess(k,B));let j=new Map,Q=new p(k),ne=$();return C>0&&(ne=D([v,ne],C,B.tabWidth)),f(ne),ne;function $(G,re){return G===void 0||G===Q?K(re):Array.isArray(G)?Q.call(()=>K(re),...G):Q.call(()=>K(re),G)}function K(G){let re=Q.getValue(),te=re&&typeof re=="object"&&G===void 0;if(te&&j.has(re))return j.get(re);let De=M(Q,B,$,G);return te&&j.set(re,De),De}}function S(k,B){let{originalText:C,[Symbol.for("comments")]:w,locStart:j,locEnd:Q}=B,ne=j(k),$=Q(k),K=new Set;for(let G of w)j(G)>=ne&&Q(G)<=$&&(G.printed=!0,K.add(G));return{doc:C.slice(ne,$),printedComments:K}}function M(k,B,C,w){let j=k.getValue(),{printer:Q}=B,ne,$;if(Q.hasPrettierIgnore&&Q.hasPrettierIgnore(k))({doc:ne,printedComments:$}=S(j,B));else{if(j)try{ne=h.printSubtree(k,C,B,E)}catch(K){if(globalThis.PRETTIER_DEBUG)throw K}ne||(ne=Q.print(k,B,C,w))}return(!Q.willPrintOwnComments||!Q.willPrintOwnComments(k,B))&&(ne=d(k,ne,B,$)),ne}A.exports=E}}),TE=we({"src/main/range-util.js"(m,A){Re();var p=Qo(),v=Rr(),D=w=>{let{parser:j}=w;return j==="json"||j==="json5"||j==="json-stringify"};function f(w,j){let Q=[w.node,...w.parentNodes],ne=new Set([j.node,...j.parentNodes]);return Q.find($=>M.has($.type)&&ne.has($))}function d(w){let j=w.length-1;for(;;){let Q=w[j];if(Q&&(Q.type==="Program"||Q.type==="File"))j--;else break}return w.slice(0,j+1)}function h(w,j,Q){let{locStart:ne,locEnd:$}=Q,K=w.node,G=j.node;if(K===G)return{startNode:K,endNode:G};let re=ne(w.node);for(let De of d(j.parentNodes))if(ne(De)>=re)G=De;else break;let te=$(j.node);for(let De of d(w.parentNodes)){if($(De)<=te)K=De;else break;if(K===G)break}return{startNode:K,endNode:G}}function E(w,j,Q,ne){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],K=arguments.length>5?arguments[5]:void 0,{locStart:G,locEnd:re}=Q,te=G(w),De=re(w);if(!(j>De||j<te||K==="rangeEnd"&&j===te||K==="rangeStart"&&j===De)){for(let N of v.getSortedChildNodes(w,Q)){let J=E(N,j,Q,ne,[w,...$],K);if(J)return J}if(!ne||ne(w,$[0]))return{node:w,parentNodes:$}}}function S(w,j){return j!=="DeclareExportDeclaration"&&w!=="TypeParameterDeclaration"&&(w==="Directive"||w==="TypeAlias"||w==="TSExportAssignment"||w.startsWith("Declare")||w.startsWith("TSDeclare")||w.endsWith("Statement")||w.endsWith("Declaration"))}var M=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),k=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function B(w,j,Q){if(!j)return!1;switch(w.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return S(j.type,Q&&Q.type);case"json":case"json5":case"json-stringify":return M.has(j.type);case"graphql":return k.has(j.kind);case"vue":return j.tag!=="root"}return!1}function C(w,j,Q){let{rangeStart:ne,rangeEnd:$,locStart:K,locEnd:G}=j;p.ok($>ne);let re=w.slice(ne,$).search(/\S/),te=re===-1;if(!te)for(ne+=re;$>ne&&!/\S/.test(w[$-1]);--$);let De=E(Q,ne,j,(R,y)=>B(j,R,y),[],"rangeStart"),N=te?De:E(Q,$,j,R=>B(j,R),[],"rangeEnd");if(!De||!N)return{rangeStart:0,rangeEnd:0};let J,F;if(D(j)){let R=f(De,N);J=R,F=R}else({startNode:J,endNode:F}=h(De,N,j));return{rangeStart:Math.min(K(J),K(F)),rangeEnd:Math.max(G(J),G(F))}}A.exports={calculateRange:C,findNodeAtOffset:E}}}),LE=we({"src/main/core.js"(m,A){Re();var{diffArrays:p}=js(),{printer:{printDocToString:v},debug:{printDocToDebug:D}}=wn(),{getAlignmentSize:f}=ye(),{guessEndOfLine:d,convertEndOfLineToChars:h,countEndOfLineChars:E,normalizeEndOfLine:S}=rs(),M=Og().normalize,k=wE(),B=Rr(),C=Fp(),w=_E(),j=TE(),Q="\uFEFF",ne=Symbol("cursor");function $(F,R,y){let P=R.comments;return P&&(delete R.comments,B.attach(P,R,F,y)),y[Symbol.for("comments")]=P||[],y[Symbol.for("tokens")]=R.tokens||[],y.originalText=F,P}function K(F,R){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!F||F.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:P,text:I}=C.parse(F,R);if(R.cursorOffset>=0){let ie=j.findNodeAtOffset(P,R.cursorOffset,R);ie&&ie.node&&(R.cursorNode=ie.node)}let q=$(I,P,R),U=w(P,R,y),z=v(U,R);if(B.ensureAllCommentsPrinted(q),y>0){let ie=z.formatted.trim();z.cursorNodeStart!==void 0&&(z.cursorNodeStart-=z.formatted.indexOf(ie)),z.formatted=ie+h(R.endOfLine)}if(R.cursorOffset>=0){let ie,ce,ge,fe,Ne;if(R.cursorNode&&z.cursorNodeText?(ie=R.locStart(R.cursorNode),ce=I.slice(ie,R.locEnd(R.cursorNode)),ge=R.cursorOffset-ie,fe=z.cursorNodeStart,Ne=z.cursorNodeText):(ie=0,ce=I,ge=R.cursorOffset,fe=0,Ne=z.formatted),ce===Ne)return{formatted:z.formatted,cursorOffset:fe+ge,comments:q};let se=[...ce];se.splice(ge,0,ne);let Ue=[...Ne],me=p(se,Ue),ue=fe;for(let qe of me)if(qe.removed){if(qe.value.includes(ne))break}else ue+=qe.count;return{formatted:z.formatted,cursorOffset:ue,comments:q}}return{formatted:z.formatted,cursorOffset:-1,comments:q}}function G(F,R){let{ast:y,text:P}=C.parse(F,R),{rangeStart:I,rangeEnd:q}=j.calculateRange(P,R,y),U=P.slice(I,q),z=Math.min(I,P.lastIndexOf(`
191
+ `,I)+1),ie=P.slice(z,I).match(/^\s*/)[0],ce=f(ie,R.tabWidth),ge=K(U,Object.assign(Object.assign({},R),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:R.cursorOffset>I&&R.cursorOffset<=q?R.cursorOffset-I:-1,endOfLine:"lf"}),ce),fe=ge.formatted.trimEnd(),{cursorOffset:Ne}=R;Ne>q?Ne+=fe.length-U.length:ge.cursorOffset>=0&&(Ne=ge.cursorOffset+I);let se=P.slice(0,I)+fe+P.slice(q);if(R.endOfLine!=="lf"){let Ue=h(R.endOfLine);Ne>=0&&Ue===`\r
192
+ `&&(Ne+=E(se.slice(0,Ne),`
193
+ `)),se=se.replace(/\n/g,Ue)}return{formatted:se,cursorOffset:Ne,comments:ge.comments}}function re(F,R,y){return typeof R!="number"||Number.isNaN(R)||R<0||R>F.length?y:R}function te(F,R){let{cursorOffset:y,rangeStart:P,rangeEnd:I}=R;return y=re(F,y,-1),P=re(F,P,0),I=re(F,I,F.length),Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:P,rangeEnd:I})}function De(F,R){let{cursorOffset:y,rangeStart:P,rangeEnd:I,endOfLine:q}=te(F,R),U=F.charAt(0)===Q;if(U&&(F=F.slice(1),y--,P--,I--),q==="auto"&&(q=d(F)),F.includes("\r")){let z=ie=>E(F.slice(0,Math.max(ie,0)),`\r
194
+ `);y-=z(y),P-=z(P),I-=z(I),F=S(F)}return{hasBOM:U,text:F,options:te(F,Object.assign(Object.assign({},R),{},{cursorOffset:y,rangeStart:P,rangeEnd:I,endOfLine:q}))}}function N(F,R){let y=C.resolveParser(R);return!y.hasPragma||y.hasPragma(F)}function J(F,R){let{hasBOM:y,text:P,options:I}=De(F,M(R));if(I.rangeStart>=I.rangeEnd&&P!==""||I.requirePragma&&!N(P,I))return{formatted:F,cursorOffset:R.cursorOffset,comments:[]};let q;return I.rangeStart>0||I.rangeEnd<P.length?q=G(P,I):(!I.requirePragma&&I.insertPragma&&I.printer.insertPragma&&!N(P,I)&&(P=I.printer.insertPragma(P)),q=K(P,I)),y&&(q.formatted=Q+q.formatted,q.cursorOffset>=0&&q.cursorOffset++),q}A.exports={formatWithCursor:J,parse(F,R,y){let{text:P,options:I}=De(F,M(R)),q=C.parse(P,I);return y&&(q.ast=k(q.ast,I)),q},formatAST(F,R){R=M(R);let y=w(F,R);return v(y,R)},formatDoc(F,R){return J(D(F),Object.assign(Object.assign({},R),{},{parser:"__js_expression"})).formatted},printToDoc(F,R){R=M(R);let{ast:y,text:P}=C.parse(F,R);return $(P,y,R),w(y,R)},printDocToString(F,R){return v(F,M(R))}}}}),kE=we({"src/common/util-shared.js"(m,A){Re();var{getMaxContinuousCount:p,getStringWidth:v,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:S,skipToLineEnd:M,skipEverythingButNewLine:k,skipInlineComment:B,skipTrailingComment:C,hasNewline:w,hasNewlineInRange:j,hasSpaces:Q,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:te,addDanglingComment:De,addTrailingComment:N}=ye();A.exports={getMaxContinuousCount:p,getStringWidth:v,getAlignmentSize:D,getIndentSize:f,skip:d,skipWhitespace:h,skipSpaces:E,skipNewline:S,skipToLineEnd:M,skipEverythingButNewLine:k,skipInlineComment:B,skipTrailingComment:C,hasNewline:w,hasNewlineInRange:j,hasSpaces:Q,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:K,getNextNonSpaceNonCommentCharacterIndex:G,makeString:re,addLeadingComment:te,addDanglingComment:De,addTrailingComment:N}}}),aa=we({"src/utils/create-language.js"(m,A){Re(),A.exports=function(p,v){let{languageId:D}=p,f=wt(p,at);return Object.assign(Object.assign({linguistLanguageId:D},f),v(p))}}}),PE=we({"node_modules/esutils/lib/ast.js"(m,A){Re(),function(){function p(E){if(E==null)return!1;switch(E.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 v(E){if(E==null)return!1;switch(E.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function D(E){if(E==null)return!1;switch(E.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 f(E){return D(E)||E!=null&&E.type==="FunctionDeclaration"}function d(E){switch(E.type){case"IfStatement":return E.alternate!=null?E.alternate:E.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return E.body}return null}function h(E){var S;if(E.type!=="IfStatement"||E.alternate==null)return!1;S=E.consequent;do{if(S.type==="IfStatement"&&S.alternate==null)return!0;S=d(S)}while(S);return!1}A.exports={isExpression:p,isStatement:D,isIterationStatement:v,isSourceElement:f,isProblematicIfStatement:h,trailingStatement:d}}()}}),jg=we({"node_modules/esutils/lib/code.js"(m,A){Re(),function(){var p,v,D,f,d,h;v={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]/},p={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 E($){return 48<=$&&$<=57}function S($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function M($){return $>=48&&$<=55}D=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function k($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&D.indexOf($)>=0}function B($){return $===10||$===13||$===8232||$===8233}function C($){if($<=65535)return String.fromCharCode($);var K=String.fromCharCode(Math.floor(($-65536)/1024)+55296),G=String.fromCharCode(($-65536)%1024+56320);return K+G}for(f=new Array(128),h=0;h<128;++h)f[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(d=new Array(128),h=0;h<128;++h)d[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function w($){return $<128?f[$]:v.NonAsciiIdentifierStart.test(C($))}function j($){return $<128?d[$]:v.NonAsciiIdentifierPart.test(C($))}function Q($){return $<128?f[$]:p.NonAsciiIdentifierStart.test(C($))}function ne($){return $<128?d[$]:p.NonAsciiIdentifierPart.test(C($))}A.exports={isDecimalDigit:E,isHexDigit:S,isOctalDigit:M,isWhiteSpace:k,isLineTerminator:B,isIdentifierStartES5:w,isIdentifierPartES5:j,isIdentifierStartES6:Q,isIdentifierPartES6:ne}}()}}),BE=we({"node_modules/esutils/lib/keyword.js"(m,A){Re(),function(){var p=jg();function v(w){switch(w){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function D(w,j){return!j&&w==="yield"?!1:f(w,j)}function f(w,j){if(j&&v(w))return!0;switch(w.length){case 2:return w==="if"||w==="in"||w==="do";case 3:return w==="var"||w==="for"||w==="new"||w==="try";case 4:return w==="this"||w==="else"||w==="case"||w==="void"||w==="with"||w==="enum";case 5:return w==="while"||w==="break"||w==="catch"||w==="throw"||w==="const"||w==="yield"||w==="class"||w==="super";case 6:return w==="return"||w==="typeof"||w==="delete"||w==="switch"||w==="export"||w==="import";case 7:return w==="default"||w==="finally"||w==="extends";case 8:return w==="function"||w==="continue"||w==="debugger";case 10:return w==="instanceof";default:return!1}}function d(w,j){return w==="null"||w==="true"||w==="false"||D(w,j)}function h(w,j){return w==="null"||w==="true"||w==="false"||f(w,j)}function E(w){return w==="eval"||w==="arguments"}function S(w){var j,Q,ne;if(w.length===0||(ne=w.charCodeAt(0),!p.isIdentifierStartES5(ne)))return!1;for(j=1,Q=w.length;j<Q;++j)if(ne=w.charCodeAt(j),!p.isIdentifierPartES5(ne))return!1;return!0}function M(w,j){return(w-55296)*1024+(j-56320)+65536}function k(w){var j,Q,ne,$,K;if(w.length===0)return!1;for(K=p.isIdentifierStartES6,j=0,Q=w.length;j<Q;++j){if(ne=w.charCodeAt(j),55296<=ne&&ne<=56319){if(++j,j>=Q||($=w.charCodeAt(j),!(56320<=$&&$<=57343)))return!1;ne=M(ne,$)}if(!K(ne))return!1;K=p.isIdentifierPartES6}return!0}function B(w,j){return S(w)&&!d(w,j)}function C(w,j){return k(w)&&!h(w,j)}A.exports={isKeywordES5:D,isKeywordES6:f,isReservedWordES5:d,isReservedWordES6:h,isRestrictedWord:E,isIdentifierNameES5:S,isIdentifierNameES6:k,isIdentifierES5:B,isIdentifierES6:C}}()}}),ME=we({"node_modules/esutils/lib/utils.js"(m){Re(),function(){m.ast=PE(),m.code=jg(),m.keyword=BE()}()}}),oa=we({"src/language-js/utils/is-block-comment.js"(m,A){Re();var p=new Set(["Block","CommentBlock","MultiLine"]),v=D=>p.has(D==null?void 0:D.type);A.exports=v}}),IE=we({"src/language-js/utils/is-node-matches.js"(m,A){Re();function p(D,f){let d=f.split(".");for(let h=d.length-1;h>=0;h--){let E=d[h];if(h===0)return D.type==="Identifier"&&D.name===E;if(D.type!=="MemberExpression"||D.optional||D.computed||D.property.type!=="Identifier"||D.property.name!==E)return!1;D=D.object}}function v(D,f){return f.some(d=>p(D,d))}A.exports=v}}),dr=we({"src/language-js/utils/index.js"(m,A){Re();var p=ME().keyword.isIdentifierNameES5,{getLast:v,hasNewline:D,skipWhitespace:f,isNonEmptyArray:d,isNextLineEmptyAfterIndex:h,getStringWidth:E}=ye(),{locStart:S,locEnd:M,hasSameLocStart:k}=ii(),B=oa(),C=IE(),w="(?:(?=.)\\s)",j=new RegExp(`^${w}*:`),Q=new RegExp(`^${w}*::`);function ne(ae){var Ct,gn;return((Ct=ae.extra)===null||Ct===void 0?void 0:Ct.parenthesized)&&B((gn=ae.trailingComments)===null||gn===void 0?void 0:gn[0])&&j.test(ae.trailingComments[0].value)}function $(ae){let Ct=ae==null?void 0:ae[0];return B(Ct)&&Q.test(Ct.value)}function K(ae,Ct){if(!ae||typeof ae!="object")return!1;if(Array.isArray(ae))return ae.some(Gn=>K(Gn,Ct));let gn=Ct(ae);return typeof gn=="boolean"?gn:Object.values(ae).some(Gn=>K(Gn,Ct))}function G(ae){return ae.type==="AssignmentExpression"||ae.type==="BinaryExpression"||ae.type==="LogicalExpression"||ae.type==="NGPipeExpression"||ae.type==="ConditionalExpression"||ht(ae)||mt(ae)||ae.type==="SequenceExpression"||ae.type==="TaggedTemplateExpression"||ae.type==="BindExpression"||ae.type==="UpdateExpression"&&!ae.prefix||wi(ae)||ae.type==="TSNonNullExpression"}function re(ae){var Ct,gn,Gn,Jn,yi,wr;return ae.expressions?ae.expressions[0]:(Ct=(gn=(Gn=(Jn=(yi=(wr=ae.left)!==null&&wr!==void 0?wr:ae.test)!==null&&yi!==void 0?yi:ae.callee)!==null&&Jn!==void 0?Jn:ae.object)!==null&&Gn!==void 0?Gn:ae.tag)!==null&&gn!==void 0?gn:ae.argument)!==null&&Ct!==void 0?Ct:ae.expression}function te(ae,Ct){if(Ct.expressions)return["expressions",0];if(Ct.left)return["left"];if(Ct.test)return["test"];if(Ct.object)return["object"];if(Ct.callee)return["callee"];if(Ct.tag)return["tag"];if(Ct.argument)return["argument"];if(Ct.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function De(ae){return ae=new Set(ae),Ct=>ae.has(Ct==null?void 0:Ct.type)}var N=De(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),J=De(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function F(ae){let Ct=ae.getParentNode();return ae.getName()==="declaration"&&J(Ct)?Ct:null}var R=De(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function y(ae){return ae.type==="NumericLiteral"||ae.type==="Literal"&&typeof ae.value=="number"}function P(ae){return ae.type==="UnaryExpression"&&(ae.operator==="+"||ae.operator==="-")&&y(ae.argument)}function I(ae){return ae.type==="StringLiteral"||ae.type==="Literal"&&typeof ae.value=="string"}var q=De(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),U=De(["FunctionExpression","ArrowFunctionExpression"]);function z(ae){return ae.type==="FunctionExpression"||ae.type==="ArrowFunctionExpression"&&ae.body.type==="BlockStatement"}function ie(ae){return ht(ae)&&ae.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(ae.callee.name)}var ce=De(["JSXElement","JSXFragment"]);function ge(ae,Ct){if(ae.parentParser!=="markdown"&&ae.parentParser!=="mdx")return!1;let gn=Ct.getNode();if(!gn.expression||!ce(gn.expression))return!1;let Gn=Ct.getParentNode();return Gn.type==="Program"&&Gn.body.length===1}function fe(ae){return ae.kind==="get"||ae.kind==="set"}function Ne(ae){return fe(ae)||k(ae,ae.value)}function se(ae){return(ae.type==="ObjectTypeProperty"||ae.type==="ObjectTypeInternalSlot")&&ae.value.type==="FunctionTypeAnnotation"&&!ae.static&&!Ne(ae)}function Ue(ae){return(ae.type==="TypeAnnotation"||ae.type==="TSTypeAnnotation")&&ae.typeAnnotation.type==="FunctionTypeAnnotation"&&!ae.static&&!k(ae,ae.typeAnnotation)}var me=De(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function ue(ae){return mt(ae)||ae.type==="BindExpression"&&!!ae.object}var qe=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 it(ae){return ae?!!((ae.type==="GenericTypeAnnotation"||ae.type==="TSTypeReference")&&!ae.typeParameters||qe.has(ae.type)):!1}function Je(ae){let Ct=/^(?:before|after)(?:Each|All)$/;return ae.callee.type==="Identifier"&&Ct.test(ae.callee.name)&&ae.arguments.length===1}var yt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function be(ae){return C(ae,yt)}function Me(ae,Ct){if(ae.type!=="CallExpression")return!1;if(ae.arguments.length===1){if(ie(ae)&&Ct&&Me(Ct))return U(ae.arguments[0]);if(Je(ae))return ie(ae.arguments[0])}else if((ae.arguments.length===2||ae.arguments.length===3)&&(ae.arguments[0].type==="TemplateLiteral"||I(ae.arguments[0]))&&be(ae.callee))return ae.arguments[2]&&!y(ae.arguments[2])?!1:(ae.arguments.length===2?U(ae.arguments[1]):z(ae.arguments[1])&&Ot(ae.arguments[1]).length<=1)||ie(ae.arguments[1]);return!1}var ht=De(["CallExpression","OptionalCallExpression"]),mt=De(["MemberExpression","OptionalMemberExpression"]);function Yt(ae){let Ct="expressions";ae.type==="TSTemplateLiteralType"&&(Ct="types");let gn=ae[Ct];return gn.length===0?!1:gn.every(Gn=>{if(xn(Gn))return!1;if(Gn.type==="Identifier"||Gn.type==="ThisExpression")return!0;if(mt(Gn)){let Jn=Gn;for(;mt(Jn);)if(Jn.property.type!=="Identifier"&&Jn.property.type!=="Literal"&&Jn.property.type!=="StringLiteral"&&Jn.property.type!=="NumericLiteral"||(Jn=Jn.object,xn(Jn)))return!1;return Jn.type==="Identifier"||Jn.type==="ThisExpression"}return!1})}function $e(ae,Ct){return ae==="+"||ae==="-"?ae+Ct:Ct}function xe(ae,Ct){let gn=S(Ct),Gn=f(ae,M(Ct));return Gn!==!1&&ae.slice(gn,gn+2)==="/*"&&ae.slice(Gn,Gn+2)==="*/"}function Ye(ae,Ct){return ce(Ct)?kn(Ct):xn(Ct,an.Leading,gn=>D(ae,M(gn)))}function Ze(ae,Ct){return Ct.parser!=="json"&&I(ae.key)&&lt(ae.key).slice(1,-1)===ae.key.value&&(p(ae.key.value)&&!(Ct.parser==="babel-ts"&&ae.type==="ClassProperty"||Ct.parser==="typescript"&&ae.type==="PropertyDefinition")||At(ae.key.value)&&String(Number(ae.key.value))===ae.key.value&&(Ct.parser==="babel"||Ct.parser==="acorn"||Ct.parser==="espree"||Ct.parser==="meriyah"||Ct.parser==="__babel_estree"))}function At(ae){return/^(?:\d+|\d+\.\d+)$/.test(ae)}function Tt(ae,Ct){let gn=/^[fx]?(?:describe|it|test)$/;return Ct.type==="TaggedTemplateExpression"&&Ct.quasi===ae&&Ct.tag.type==="MemberExpression"&&Ct.tag.property.type==="Identifier"&&Ct.tag.property.name==="each"&&(Ct.tag.object.type==="Identifier"&&gn.test(Ct.tag.object.name)||Ct.tag.object.type==="MemberExpression"&&Ct.tag.object.property.type==="Identifier"&&(Ct.tag.object.property.name==="only"||Ct.tag.object.property.name==="skip")&&Ct.tag.object.object.type==="Identifier"&&gn.test(Ct.tag.object.object.name))}function It(ae){return ae.quasis.some(Ct=>Ct.value.raw.includes(`
195
+ `))}function cn(ae,Ct){return(ae.type==="TemplateLiteral"&&It(ae)||ae.type==="TaggedTemplateExpression"&&It(ae.quasi))&&!D(Ct,S(ae),{backwards:!0})}function Bn(ae){if(!xn(ae))return!1;let Ct=v(pt(ae,an.Dangling));return Ct&&!B(Ct)}function Ln(ae){if(ae.length<=1)return!1;let Ct=0;for(let gn of ae)if(U(gn)){if(Ct+=1,Ct>1)return!0}else if(ht(gn)){for(let Gn of gn.arguments)if(U(Gn))return!0}return!1}function ln(ae){let Ct=ae.getValue(),gn=ae.getParentNode();return ht(Ct)&&ht(gn)&&gn.callee===Ct&&Ct.arguments.length>gn.arguments.length&&gn.arguments.length>0}function Dn(ae,Ct){if(Ct>=2)return!1;let gn=wr=>Dn(wr,Ct+1),Gn=ae.type==="Literal"&&"regex"in ae&&ae.regex.pattern||ae.type==="RegExpLiteral"&&ae.pattern;if(Gn&&E(Gn)>5)return!1;if(ae.type==="Literal"||ae.type==="BigIntLiteral"||ae.type==="DecimalLiteral"||ae.type==="BooleanLiteral"||ae.type==="NullLiteral"||ae.type==="NumericLiteral"||ae.type==="RegExpLiteral"||ae.type==="StringLiteral"||ae.type==="Identifier"||ae.type==="ThisExpression"||ae.type==="Super"||ae.type==="PrivateName"||ae.type==="PrivateIdentifier"||ae.type==="ArgumentPlaceholder"||ae.type==="Import")return!0;if(ae.type==="TemplateLiteral")return ae.quasis.every(wr=>!wr.value.raw.includes(`
196
+ `))&&ae.expressions.every(gn);if(ae.type==="ObjectExpression")return ae.properties.every(wr=>!wr.computed&&(wr.shorthand||wr.value&&gn(wr.value)));if(ae.type==="ArrayExpression")return ae.elements.every(wr=>wr===null||gn(wr));if(Xr(ae))return(ae.type==="ImportExpression"||Dn(ae.callee,Ct))&&vr(ae).every(gn);if(mt(ae))return Dn(ae.object,Ct)&&Dn(ae.property,Ct);let Jn={"!":!0,"-":!0,"+":!0,"~":!0};if(ae.type==="UnaryExpression"&&Jn[ae.operator])return Dn(ae.argument,Ct);let yi={"++":!0,"--":!0};return ae.type==="UpdateExpression"&&yi[ae.operator]?Dn(ae.argument,Ct):ae.type==="TSNonNullExpression"?Dn(ae.expression,Ct):!1}function lt(ae){var Ct,gn;return(Ct=(gn=ae.extra)===null||gn===void 0?void 0:gn.raw)!==null&&Ct!==void 0?Ct:ae.raw}function Ae(ae){return ae}function gt(ae){return ae.filepath&&/\.tsx$/i.test(ae.filepath)}function Oe(ae){let Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return ae.trailingComma==="es5"&&Ct==="es5"||ae.trailingComma==="all"&&(Ct==="all"||Ct==="es5")}function dt(ae,Ct){switch(ae.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return dt(ae.left,Ct);case"MemberExpression":case"OptionalMemberExpression":return dt(ae.object,Ct);case"TaggedTemplateExpression":return ae.tag.type==="FunctionExpression"?!1:dt(ae.tag,Ct);case"CallExpression":case"OptionalCallExpression":return ae.callee.type==="FunctionExpression"?!1:dt(ae.callee,Ct);case"ConditionalExpression":return dt(ae.test,Ct);case"UpdateExpression":return!ae.prefix&&dt(ae.argument,Ct);case"BindExpression":return ae.object&&dt(ae.object,Ct);case"SequenceExpression":return dt(ae.expressions[0],Ct);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return dt(ae.expression,Ct);default:return Ct(ae)}}var en={"==":!0,"!=":!0,"===":!0,"!==":!0},Ut={"*":!0,"/":!0,"%":!0},bt={">>":!0,">>>":!0,"<<":!0};function V(ae,Ct){return!(st(Ct)!==st(ae)||ae==="**"||en[ae]&&en[Ct]||Ct==="%"&&Ut[ae]||ae==="%"&&Ut[Ct]||Ct!==ae&&Ut[Ct]&&Ut[ae]||bt[ae]&&bt[Ct])}var _e=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((ae,Ct)=>ae.map(gn=>[gn,Ct])));function st(ae){return _e.get(ae)}function Pt(ae){return!!bt[ae]||ae==="|"||ae==="^"||ae==="&"}function Vt(ae){var Ct;if(ae.rest)return!0;let gn=Ot(ae);return((Ct=v(gn))===null||Ct===void 0?void 0:Ct.type)==="RestElement"}var un=new WeakMap;function Ot(ae){if(un.has(ae))return un.get(ae);let Ct=[];return ae.this&&Ct.push(ae.this),Array.isArray(ae.parameters)?Ct.push(...ae.parameters):Array.isArray(ae.params)&&Ct.push(...ae.params),ae.rest&&Ct.push(ae.rest),un.set(ae,Ct),Ct}function Ar(ae,Ct){let gn=ae.getValue(),Gn=0,Jn=yi=>Ct(yi,Gn++);gn.this&&ae.call(Jn,"this"),Array.isArray(gn.parameters)?ae.each(Jn,"parameters"):Array.isArray(gn.params)&&ae.each(Jn,"params"),gn.rest&&ae.call(Jn,"rest")}var sn=new WeakMap;function vr(ae){if(sn.has(ae))return sn.get(ae);let Ct=ae.arguments;return ae.type==="ImportExpression"&&(Ct=[ae.source],ae.attributes&&Ct.push(ae.attributes)),sn.set(ae,Ct),Ct}function nn(ae,Ct){let gn=ae.getValue();gn.type==="ImportExpression"?(ae.call(Gn=>Ct(Gn,0),"source"),gn.attributes&&ae.call(Gn=>Ct(Gn,1),"attributes")):ae.each(Ct,"arguments")}function An(ae){return ae.value.trim()==="prettier-ignore"&&!ae.unignore}function kn(ae){return ae&&(ae.prettierIgnore||xn(ae,an.PrettierIgnore))}function ar(ae){let Ct=ae.getValue();return kn(Ct)}var an={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Tn=(ae,Ct)=>{if(typeof ae=="function"&&(Ct=ae,ae=0),ae||Ct)return(gn,Gn,Jn)=>!(ae&an.Leading&&!gn.leading||ae&an.Trailing&&!gn.trailing||ae&an.Dangling&&(gn.leading||gn.trailing)||ae&an.Block&&!B(gn)||ae&an.Line&&!N(gn)||ae&an.First&&Gn!==0||ae&an.Last&&Gn!==Jn.length-1||ae&an.PrettierIgnore&&!An(gn)||Ct&&!Ct(gn))};function xn(ae,Ct,gn){if(!d(ae==null?void 0:ae.comments))return!1;let Gn=Tn(Ct,gn);return Gn?ae.comments.some(Gn):!0}function pt(ae,Ct,gn){if(!Array.isArray(ae==null?void 0:ae.comments))return[];let Gn=Tn(Ct,gn);return Gn?ae.comments.filter(Gn):ae.comments}var Si=(ae,Ct)=>{let{originalText:gn}=Ct;return h(gn,M(ae))};function Xr(ae){return ht(ae)||ae.type==="NewExpression"||ae.type==="ImportExpression"}function $n(ae){return ae&&(ae.type==="ObjectProperty"||ae.type==="Property"&&!ae.method&&ae.kind==="init")}function qn(ae){return!!ae.__isUsingHackPipeline}var pr=Symbol("ifWithoutBlockAndSameLineComment");function wi(ae){return ae.type==="TSAsExpression"||ae.type==="TSSatisfiesExpression"}A.exports={getFunctionParameters:Ot,iterateFunctionParametersPath:Ar,getCallArguments:vr,iterateCallArgumentsPath:nn,hasRestParameter:Vt,getLeftSide:re,getLeftSidePathName:te,getParentExportDeclaration:F,getTypeScriptMappedTypeModifier:$e,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:Ye,hasNakedLeftSide:G,hasNode:K,hasIgnoreComment:ar,hasNodeIgnoreComment:kn,identity:Ae,isBinaryish:me,isCallLikeExpression:Xr,isEnabledHackPipeline:qn,isLineComment:N,isPrettierIgnoreComment:An,isCallExpression:ht,isMemberExpression:mt,isExportDeclaration:J,isFlowAnnotationComment:xe,isFunctionCompositionArgs:Ln,isFunctionNotation:Ne,isFunctionOrArrowExpression:U,isGetterOrSetter:fe,isJestEachTemplateLiteral:Tt,isJsxNode:ce,isLiteral:R,isLongCurriedCallExpression:ln,isSimpleCallArgument:Dn,isMemberish:ue,isNumericLiteral:y,isSignedNumericLiteral:P,isObjectProperty:$n,isObjectType:q,isObjectTypePropertyAFunction:se,isSimpleType:it,isSimpleNumber:At,isSimpleTemplateLiteral:Yt,isStringLiteral:I,isStringPropSafeToUnquote:Ze,isTemplateOnItsOwnLine:cn,isTestCall:Me,isTheOnlyJsxElementInMarkdown:ge,isTSXFile:gt,isTypeAnnotationAFunction:Ue,isNextLineEmpty:Si,needsHardlineAfterDanglingComment:Bn,rawText:lt,shouldPrintComma:Oe,isBitwiseOperator:Pt,shouldFlatten:V,startsWithNoLookaheadToken:dt,getPrecedence:st,hasComment:xn,getComments:pt,CommentCheckFlags:an,markerForIfWithoutBlockAndSameLineComment:pr,isTSTypeExpression:wi}}}),oo=we({"src/language-js/print/template-literal.js"(m,A){Re();var p=qr(),{getStringWidth:v,getIndentSize:D}=ye(),{builders:{join:f,hardline:d,softline:h,group:E,indent:S,align:M,lineSuffixBoundary:k,addAlignmentToDoc:B},printer:{printDocToString:C},utils:{mapDoc:w}}=wn(),{isBinaryish:j,isJestEachTemplateLiteral:Q,isSimpleTemplateLiteral:ne,hasComment:$,isMemberExpression:K,isTSTypeExpression:G}=dr();function re(R,y,P){let I=R.getValue();if(I.type==="TemplateLiteral"&&Q(I,R.getParentNode())){let ce=te(R,P,y);if(ce)return ce}let q="expressions";I.type==="TSTemplateLiteralType"&&(q="types");let U=[],z=R.map(y,q),ie=ne(I);return ie&&(z=z.map(ce=>C(ce,Object.assign(Object.assign({},P),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),U.push(k,"`"),R.each(ce=>{let ge=ce.getName();if(U.push(y()),ge<z.length){let{tabWidth:fe}=P,Ne=ce.getValue(),se=D(Ne.value.raw,fe),Ue=z[ge];if(!ie){let ue=I[q][ge];($(ue)||K(ue)||ue.type==="ConditionalExpression"||ue.type==="SequenceExpression"||G(ue)||j(ue))&&(Ue=[S([h,Ue]),h])}let me=se===0&&Ne.value.raw.endsWith(`
197
+ `)?M(Number.NEGATIVE_INFINITY,Ue):B(Ue,se,fe);U.push(E(["${",me,k,"}"]))}},"quasis"),U.push("`"),U}function te(R,y,P){let I=R.getNode(),q=I.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(q.length>1||q.some(U=>U.length>0)){y.__inJestEach=!0;let U=R.map(P,"expressions");y.__inJestEach=!1;let z=[],ie=U.map(se=>"${"+C(se,Object.assign(Object.assign({},y),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),ce=[{hasLineBreak:!1,cells:[]}];for(let se=1;se<I.quasis.length;se++){let Ue=p(ce),me=ie[se-1];Ue.cells.push(me),me.includes(`
198
+ `)&&(Ue.hasLineBreak=!0),I.quasis[se].value.raw.includes(`
199
+ `)&&ce.push({hasLineBreak:!1,cells:[]})}let ge=Math.max(q.length,...ce.map(se=>se.cells.length)),fe=Array.from({length:ge}).fill(0),Ne=[{cells:q},...ce.filter(se=>se.cells.length>0)];for(let{cells:se}of Ne.filter(Ue=>!Ue.hasLineBreak))for(let[Ue,me]of se.entries())fe[Ue]=Math.max(fe[Ue],v(me));return z.push(k,"`",S([d,f(d,Ne.map(se=>f(" | ",se.cells.map((Ue,me)=>se.hasLineBreak?Ue:Ue+" ".repeat(fe[me]-v(Ue))))))]),d,"`"),z}}function De(R,y){let P=R.getValue(),I=y();return $(P)&&(I=E([S([h,I]),h])),["${",I,k,"}"]}function N(R,y){return R.map(P=>De(P,y),"expressions")}function J(R,y){return w(R,P=>typeof P=="string"?y?P.replace(/(\\*)`/g,"$1$1\\`"):F(P):P)}function F(R){return R.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:re,printTemplateExpressions:N,escapeTemplateCharacters:J,uncookTemplateElementValue:F}}}),OE=we({"src/language-js/embed/markdown.js"(m,A){Re();var{builders:{indent:p,softline:v,literalline:D,dedentToRoot:f}}=wn(),{escapeTemplateCharacters:d}=oo();function h(S,M,k){let B=S.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(Q,ne)=>"\\".repeat(ne.length/2)+"`"),C=E(B),w=C!=="";w&&(B=B.replace(new RegExp(`^${C}`,"gm"),""));let j=d(k(B,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",w?p([v,j]):[D,f(j)],v,"`"]}function E(S){let M=S.match(/^([^\S\n]*)\S/m);return M===null?"":M[1]}A.exports=h}}),jE=we({"src/language-js/embed/css.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{indent:v,hardline:D,softline:f},utils:{mapDoc:d,replaceEndOfLine:h,cleanDoc:E}}=wn(),{printTemplateExpressions:S}=oo();function M(C,w,j){let Q=C.getValue(),ne=Q.quasis.map(te=>te.value.raw),$=0,K=ne.reduce((te,De,N)=>N===0?De:te+"@prettier-placeholder-"+$+++"-id"+De,""),G=j(K,{parser:"scss"},{stripTrailingHardline:!0}),re=S(C,w);return k(G,Q,re)}function k(C,w,j){if(w.quasis.length===1&&!w.quasis[0].value.raw.trim())return"``";let Q=B(C,j);if(!Q)throw new Error("Couldn't insert all the expressions");return["`",v([D,Q]),f,"`"]}function B(C,w){if(!p(w))return C;let j=0,Q=d(E(C),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map(($,K)=>K%2===0?h($):(j++,w[$])));return w.length===j?Q:null}A.exports=M}}),RE=we({"src/language-js/embed/graphql.js"(m,A){Re();var{builders:{indent:p,join:v,hardline:D}}=wn(),{escapeTemplateCharacters:f,printTemplateExpressions:d}=oo();function h(S,M,k){let B=S.getValue(),C=B.quasis.length;if(C===1&&B.quasis[0].value.raw.trim()==="")return"``";let w=d(S,M),j=[];for(let Q=0;Q<C;Q++){let ne=B.quasis[Q],$=Q===0,K=Q===C-1,G=ne.value.cooked,re=G.split(`
200
+ `),te=re.length,De=w[Q],N=te>2&&re[0].trim()===""&&re[1].trim()==="",J=te>2&&re[te-1].trim()===""&&re[te-2].trim()==="",F=re.every(y=>/^\s*(?:#[^\n\r]*)?$/.test(y));if(!K&&/#[^\n\r]*$/.test(re[te-1]))return null;let R=null;F?R=E(re):R=k(G,{parser:"graphql"},{stripTrailingHardline:!0}),R?(R=f(R,!1),!$&&N&&j.push(""),j.push(R),!K&&J&&j.push("")):!$&&!K&&N&&j.push(""),De&&j.push(De)}return["`",p([D,v(D,j)]),D,"`"]}function E(S){let M=[],k=!1,B=S.map(C=>C.trim());for(let[C,w]of B.entries())w!==""&&(B[C-1]===""&&k?M.push([D,w]):M.push(w),k=!0);return M.length===0?null:v(D,M)}A.exports=h}}),$E=we({"src/language-js/embed/html.js"(m,A){Re();var{builders:{indent:p,line:v,hardline:D,group:f},utils:{mapDoc:d}}=wn(),{printTemplateExpressions:h,uncookTemplateElementValue:E}=oo(),S=0;function M(k,B,C,w,j){let{parser:Q}=j,ne=k.getValue(),$=S;S=S+1>>>0;let K=P=>`PRETTIER_HTML_PLACEHOLDER_${P}_${$}_IN_JS`,G=ne.quasis.map((P,I,q)=>I===q.length-1?P.value.cooked:P.value.cooked+K(I)).join(""),re=h(k,B);if(re.length===0&&G.trim().length===0)return"``";let te=new RegExp(K("(\\d+)"),"g"),De=0,N=C(G,{parser:Q,__onHtmlRoot(P){De=P.children.length}},{stripTrailingHardline:!0}),J=d(N,P=>{if(typeof P!="string")return P;let I=[],q=P.split(te);for(let U=0;U<q.length;U++){let z=q[U];if(U%2===0){z&&(z=E(z),w.__embeddedInHtml&&(z=z.replace(/<\/(script)\b/gi,"<\\/$1")),I.push(z));continue}let ie=Number(z);I.push(re[ie])}return I}),F=/^\s/.test(G)?" ":"",R=/\s$/.test(G)?" ":"",y=w.htmlWhitespaceSensitivity==="ignore"?D:F&&R?v:null;return f(y?["`",p([y,f(J)]),y,"`"]:["`",F,De>1?p(f(J)):f(J),R,"`"])}A.exports=M}}),VE=we({"src/language-js/embed.js"(m,A){Re();var{hasComment:p,CommentCheckFlags:v,isObjectProperty:D}=dr(),f=OE(),d=jE(),h=RE(),E=$E();function S(N){if(B(N)||Q(N)||ne(N)||C(N))return"css";if(G(N))return"graphql";if(te(N))return"html";if(w(N))return"angular";if(k(N))return"markdown"}function M(N,J,F,R){let y=N.getValue();if(y.type!=="TemplateLiteral"||De(y))return;let P=S(N);if(P){if(P==="markdown")return f(N,J,F);if(P==="css")return d(N,J,F);if(P==="graphql")return h(N,J,F);if(P==="html"||P==="angular")return E(N,J,F,R,{parser:P})}}function k(N){let J=N.getValue(),F=N.getParentNode();return F&&F.type==="TaggedTemplateExpression"&&J.quasis.length===1&&F.tag.type==="Identifier"&&(F.tag.name==="md"||F.tag.name==="markdown")}function B(N){let J=N.getValue(),F=N.getParentNode(),R=N.getParentNode(1);return R&&J.quasis&&F.type==="JSXExpressionContainer"&&R.type==="JSXElement"&&R.openingElement.name.name==="style"&&R.openingElement.attributes.some(y=>y.name.name==="jsx")||F&&F.type==="TaggedTemplateExpression"&&F.tag.type==="Identifier"&&F.tag.name==="css"||F&&F.type==="TaggedTemplateExpression"&&F.tag.type==="MemberExpression"&&F.tag.object.name==="css"&&(F.tag.property.name==="global"||F.tag.property.name==="resolve")}function C(N){return N.match(J=>J.type==="TemplateLiteral",(J,F)=>J.type==="ArrayExpression"&&F==="elements",(J,F)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="styles"&&F==="value",...j)}function w(N){return N.match(J=>J.type==="TemplateLiteral",(J,F)=>D(J)&&J.key.type==="Identifier"&&J.key.name==="template"&&F==="value",...j)}var j=[(N,J)=>N.type==="ObjectExpression"&&J==="properties",(N,J)=>N.type==="CallExpression"&&N.callee.type==="Identifier"&&N.callee.name==="Component"&&J==="arguments",(N,J)=>N.type==="Decorator"&&J==="expression"];function Q(N){let J=N.getParentNode();if(!J||J.type!=="TaggedTemplateExpression")return!1;let F=J.tag.type==="ParenthesizedExpression"?J.tag.expression:J.tag;switch(F.type){case"MemberExpression":return $(F.object)||K(F);case"CallExpression":return $(F.callee)||F.callee.type==="MemberExpression"&&(F.callee.object.type==="MemberExpression"&&($(F.callee.object.object)||K(F.callee.object))||F.callee.object.type==="CallExpression"&&$(F.callee.object.callee));case"Identifier":return F.name==="css";default:return!1}}function ne(N){let J=N.getParentNode(),F=N.getParentNode(1);return F&&J.type==="JSXExpressionContainer"&&F.type==="JSXAttribute"&&F.name.type==="JSXIdentifier"&&F.name.name==="css"}function $(N){return N.type==="Identifier"&&N.name==="styled"}function K(N){return/^[A-Z]/.test(N.object.name)&&N.property.name==="extend"}function G(N){let J=N.getValue(),F=N.getParentNode();return re(J,"GraphQL")||F&&(F.type==="TaggedTemplateExpression"&&(F.tag.type==="MemberExpression"&&F.tag.object.name==="graphql"&&F.tag.property.name==="experimental"||F.tag.type==="Identifier"&&(F.tag.name==="gql"||F.tag.name==="graphql"))||F.type==="CallExpression"&&F.callee.type==="Identifier"&&F.callee.name==="graphql")}function re(N,J){return p(N,v.Block|v.Leading,F=>{let{value:R}=F;return R===` ${J} `})}function te(N){return re(N.getValue(),"HTML")||N.match(J=>J.type==="TemplateLiteral",(J,F)=>J.type==="TaggedTemplateExpression"&&J.tag.type==="Identifier"&&J.tag.name==="html"&&F==="quasi")}function De(N){let{quasis:J}=N;return J.some(F=>{let{value:{cooked:R}}=F;return R===null})}A.exports=M}}),qE=we({"src/language-js/clean.js"(m,A){Re();var p=oa(),v=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),D=d=>{for(let h of d.quasis)delete h.value};function f(d,h,E){if(d.type==="Program"&&delete h.sourceType,(d.type==="BigIntLiteral"||d.type==="BigIntLiteralTypeAnnotation")&&h.value&&(h.value=h.value.toLowerCase()),(d.type==="BigIntLiteral"||d.type==="Literal")&&h.bigint&&(h.bigint=h.bigint.toLowerCase()),d.type==="DecimalLiteral"&&(h.value=Number(h.value)),d.type==="Literal"&&h.decimal&&(h.decimal=Number(h.decimal)),d.type==="EmptyStatement"||d.type==="JSXText"||d.type==="JSXExpressionContainer"&&(d.expression.type==="Literal"||d.expression.type==="StringLiteral")&&d.expression.value===" ")return null;if((d.type==="Property"||d.type==="ObjectProperty"||d.type==="MethodDefinition"||d.type==="ClassProperty"||d.type==="ClassMethod"||d.type==="PropertyDefinition"||d.type==="TSDeclareMethod"||d.type==="TSPropertySignature"||d.type==="ObjectTypeProperty")&&typeof d.key=="object"&&d.key&&(d.key.type==="Literal"||d.key.type==="NumericLiteral"||d.key.type==="StringLiteral"||d.key.type==="Identifier")&&delete h.key,d.type==="JSXElement"&&d.openingElement.name.name==="style"&&d.openingElement.attributes.some(k=>k.name.name==="jsx"))for(let{type:k,expression:B}of h.children)k==="JSXExpressionContainer"&&B.type==="TemplateLiteral"&&D(B);d.type==="JSXAttribute"&&d.name.name==="css"&&d.value.type==="JSXExpressionContainer"&&d.value.expression.type==="TemplateLiteral"&&D(h.value.expression),d.type==="JSXAttribute"&&d.value&&d.value.type==="Literal"&&/["']|&quot;|&apos;/.test(d.value.value)&&(h.value.value=h.value.value.replace(/["']|&quot;|&apos;/g,'"'));let S=d.expression||d.callee;if(d.type==="Decorator"&&S.type==="CallExpression"&&S.callee.name==="Component"&&S.arguments.length===1){let k=d.expression.arguments[0].properties;for(let[B,C]of h.expression.arguments[0].properties.entries())switch(k[B].key.name){case"styles":C.value.type==="ArrayExpression"&&D(C.value.elements[0]);break;case"template":C.value.type==="TemplateLiteral"&&D(C.value);break}}if(d.type==="TaggedTemplateExpression"&&(d.tag.type==="MemberExpression"||d.tag.type==="Identifier"&&(d.tag.name==="gql"||d.tag.name==="graphql"||d.tag.name==="css"||d.tag.name==="md"||d.tag.name==="markdown"||d.tag.name==="html")||d.tag.type==="CallExpression")&&D(h.quasi),d.type==="TemplateLiteral"){var M;(!((M=d.leadingComments)===null||M===void 0)&&M.some(k=>p(k)&&["GraphQL","HTML"].some(B=>k.value===` ${B} `))||E.type==="CallExpression"&&E.callee.name==="graphql"||!d.leadingComments)&&D(h)}if(d.type==="InterpreterDirective"&&(h.value=h.value.trimEnd()),(d.type==="TSIntersectionType"||d.type==="TSUnionType")&&d.types.length===1)return h.types[0]}f.ignoredProperties=v,A.exports=f}}),Rg={};Sn(Rg,{EOL:()=>Tp,arch:()=>UE,cpus:()=>Jg,default:()=>Qg,endianness:()=>$g,freemem:()=>Wg,getNetworkInterfaces:()=>Xg,hostname:()=>Vg,loadavg:()=>qg,networkInterfaces:()=>zg,platform:()=>WE,release:()=>Hg,tmpDir:()=>Np,tmpdir:()=>_p,totalmem:()=>Gg,type:()=>Yg,uptime:()=>Ug});function $g(){if(typeof $l>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),p=new Uint16Array(m);if(A[0]=1,A[1]=2,p[0]===258)$l="BE";else if(p[0]===513)$l="LE";else throw new Error("unable to figure out endianess")}return $l}function Vg(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function qg(){return[]}function Ug(){return 0}function Wg(){return Number.MAX_VALUE}function Gg(){return Number.MAX_VALUE}function Jg(){return[]}function Yg(){return"Browser"}function Hg(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function zg(){}function Xg(){}function UE(){return"javascript"}function WE(){return"browser"}function Np(){return"/tmp"}var $l,_p,Tp,Qg,GE=pn({"node-modules-polyfills:os"(){Re(),_p=Np,Tp=`
201
+ `,Qg={EOL:Tp,tmpdir:_p,tmpDir:Np,networkInterfaces:zg,getNetworkInterfaces:Xg,release:Hg,type:Yg,cpus:Jg,totalmem:Gg,freemem:Wg,uptime:Ug,loadavg:qg,hostname:Vg,endianness:$g}}}),JE=we({"node-modules-polyfills-commonjs:os"(m,A){Re();var p=(GE(),Yn(Rg));if(p&&p.default){A.exports=p.default;for(let v in p)A.exports[v]=p[v]}else p&&(A.exports=p)}}),YE=we({"node_modules/detect-newline/index.js"(m,A){Re();var p=v=>{if(typeof v!="string")throw new TypeError("Expected a string");let D=v.match(/(?:\r?\n)/g)||[];if(D.length===0)return;let f=D.filter(h=>h===`\r
202
+ `).length,d=D.length-f;return f>d?`\r
203
+ `:`
204
+ `};A.exports=p,A.exports.graceful=v=>typeof v=="string"&&p(v)||`
205
+ `}}),HE=we({"node_modules/jest-docblock/build/index.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=C,m.parse=j,m.parseWithComments=Q,m.print=ne,m.strip=w;function A(){let K=JE();return A=function(){return K},K}function p(){let K=v(YE());return p=function(){return K},K}function v(K){return K&&K.__esModule?K:{default:K}}var D=/\*\/$/,f=/^\/\*\*?/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,h=/(^|\s+)\/\/([^\r\n]*)/g,E=/^(\r?\n)+/,S=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,M=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,k=/(\r?\n|^) *\* ?/g,B=[];function C(K){let G=K.match(d);return G?G[0].trimLeft():""}function w(K){let G=K.match(d);return G&&G[0]?K.substring(G[0].length):K}function j(K){return Q(K).pragmas}function Q(K){let G=(0,p().default)(K)||A().EOL;K=K.replace(f,"").replace(D,"").replace(k,"$1");let re="";for(;re!==K;)re=K,K=K.replace(S,`${G}$1 $2${G}`);K=K.replace(E,"").trimRight();let te=Object.create(null),De=K.replace(M,"").replace(E,"").trimRight(),N;for(;N=M.exec(K);){let J=N[2].replace(h,"");typeof te[N[1]]=="string"||Array.isArray(te[N[1]])?te[N[1]]=B.concat(te[N[1]],J):te[N[1]]=J}return{comments:De,pragmas:te}}function ne(K){let{comments:G="",pragmas:re={}}=K,te=(0,p().default)(G)||A().EOL,De="/**",N=" *",J=" */",F=Object.keys(re),R=F.map(P=>$(P,re[P])).reduce((P,I)=>P.concat(I),[]).map(P=>`${N} ${P}${te}`).join("");if(!G){if(F.length===0)return"";if(F.length===1&&!Array.isArray(re[F[0]])){let P=re[F[0]];return`${De} ${$(F[0],P)[0]}${J}`}}let y=G.split(te).map(P=>`${N} ${P}`).join(te)+te;return De+te+(G?y:"")+(G&&F.length?N+te:"")+R+J}function $(K,G){return B.concat(G).map(re=>`@${K} ${re}`.trim())}}}),zE=we({"src/language-js/utils/get-shebang.js"(m,A){Re();function p(v){if(!v.startsWith("#!"))return"";let D=v.indexOf(`
206
+ `);return D===-1?v:v.slice(0,D)}A.exports=p}}),Kg=we({"src/language-js/pragma.js"(m,A){Re();var{parseWithComments:p,strip:v,extract:D,print:f}=HE(),{normalizeEndOfLine:d}=rs(),h=zE();function E(k){let B=h(k);B&&(k=k.slice(B.length+1));let C=D(k),{pragmas:w,comments:j}=p(C);return{shebang:B,text:k,pragmas:w,comments:j}}function S(k){let B=Object.keys(E(k).pragmas);return B.includes("prettier")||B.includes("format")}function M(k){let{shebang:B,text:C,pragmas:w,comments:j}=E(k),Q=v(C),ne=f({pragmas:Object.assign({format:""},w),comments:j.trimStart()});return(B?`${B}
207
+ `:"")+d(ne)+(Q.startsWith(`
208
+ `)?`
209
+ `:`
210
+
211
+ `)+Q}A.exports={hasPragma:S,insertPragma:M}}}),XE=we({"src/language-js/utils/is-type-cast-comment.js"(m,A){Re();var p=oa();function v(D){return p(D)&&D.value[0]==="*"&&/@(?:type|satisfies)\b/.test(D.value)}A.exports=v}}),Zg=we({"src/language-js/comments.js"(m,A){Re();var{getLast:p,hasNewline:v,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacter:f,hasNewlineInRange:d,addLeadingComment:h,addTrailingComment:E,addDanglingComment:S,getNextNonSpaceNonCommentCharacterIndex:M,isNonEmptyArray:k}=ye(),{getFunctionParameters:B,isPrettierIgnoreComment:C,isJsxNode:w,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:Q,hasIgnoreComment:ne,isCallLikeExpression:$,getCallArguments:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:te,isLineComment:De,getComments:N,CommentCheckFlags:J,markerForIfWithoutBlockAndSameLineComment:F}=dr(),{locStart:R,locEnd:y}=ii(),P=oa(),I=XE();function q(bt){return[Ae,Yt,Ue,fe,Ne,se,it,It,Ze,Tt,cn,Bn,yt,$e,xe].some(V=>V(bt))}function U(bt){return[ge,Yt,me,cn,fe,Ne,se,it,$e,Ye,At,Tt,Dn,xe,Oe].some(V=>V(bt))}function z(bt){return[Ae,fe,Ne,ue,mt,yt,Tt,ht,Me,gt,xe,lt].some(V=>V(bt))}function ie(bt,V){let _e=(bt.body||bt.properties).find(st=>{let{type:Pt}=st;return Pt!=="EmptyStatement"});_e?h(_e,V):S(bt,V)}function ce(bt,V){bt.type==="BlockStatement"?ie(bt,V):h(bt,V)}function ge(bt){let{comment:V,followingNode:_e}=bt;return _e&&I(V)?(h(_e,V),!0):!1}function fe(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt,text:Vt}=bt;if((st==null?void 0:st.type)!=="IfStatement"||!Pt)return!1;if(f(Vt,V,y)===")")return E(_e,V),!0;if(_e===st.consequent&&Pt===st.alternate){if(_e.type==="BlockStatement")E(_e,V);else{let un=V.type==="SingleLine"||V.loc.start.line===V.loc.end.line,Ot=V.loc.start.line===_e.loc.start.line;un&&Ot?S(_e,V,F):S(st,V)}return!0}return Pt.type==="BlockStatement"?(ie(Pt,V),!0):Pt.type==="IfStatement"?(ce(Pt.consequent,V),!0):st.consequent===Pt?(h(Pt,V),!0):!1}function Ne(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt,text:Vt}=bt;return(st==null?void 0:st.type)!=="WhileStatement"||!Pt?!1:f(Vt,V,y)===")"?(E(_e,V),!0):Pt.type==="BlockStatement"?(ie(Pt,V),!0):st.body===Pt?(h(Pt,V),!0):!1}function se(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt}=bt;return(st==null?void 0:st.type)!=="TryStatement"&&(st==null?void 0:st.type)!=="CatchClause"||!Pt?!1:st.type==="CatchClause"&&_e?(E(_e,V),!0):Pt.type==="BlockStatement"?(ie(Pt,V),!0):Pt.type==="TryStatement"?(ce(Pt.finalizer,V),!0):Pt.type==="CatchClause"?(ce(Pt.body,V),!0):!1}function Ue(bt){let{comment:V,enclosingNode:_e,followingNode:st}=bt;return re(_e)&&(st==null?void 0:st.type)==="Identifier"?(h(_e,V),!0):!1}function me(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt,text:Vt}=bt,un=_e&&!d(Vt,y(_e),R(V));return(!_e||!un)&&((st==null?void 0:st.type)==="ConditionalExpression"||(st==null?void 0:st.type)==="TSConditionalType")&&Pt?(h(Pt,V),!0):!1}function ue(bt){let{comment:V,precedingNode:_e,enclosingNode:st}=bt;return te(st)&&st.shorthand&&st.key===_e&&st.value.type==="AssignmentPattern"?(E(st.value.left,V),!0):!1}var qe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function it(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt}=bt;if(qe.has(st==null?void 0:st.type)){if(k(st.decorators)&&!(Pt&&Pt.type==="Decorator"))return E(p(st.decorators),V),!0;if(st.body&&Pt===st.body)return ie(st.body,V),!0;if(Pt){if(st.superClass&&Pt===st.superClass&&_e&&(_e===st.id||_e===st.typeParameters))return E(_e,V),!0;for(let Vt of["implements","extends","mixins"])if(st[Vt]&&Pt===st[Vt][0])return _e&&(_e===st.id||_e===st.typeParameters||_e===st.superClass)?E(_e,V):S(st,V,Vt),!0}}return!1}var Je=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function yt(bt){let{comment:V,precedingNode:_e,enclosingNode:st,text:Pt}=bt;return st&&_e&&f(Pt,V,y)==="("&&(st.type==="Property"||st.type==="TSDeclareMethod"||st.type==="TSAbstractMethodDefinition")&&_e.type==="Identifier"&&st.key===_e&&f(Pt,_e,y)!==":"||(_e==null?void 0:_e.type)==="Decorator"&&Je.has(st==null?void 0:st.type)?(E(_e,V),!0):!1}var be=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Me(bt){let{comment:V,precedingNode:_e,enclosingNode:st,text:Pt}=bt;return f(Pt,V,y)!=="("?!1:_e&&be.has(st==null?void 0:st.type)?(E(_e,V),!0):!1}function ht(bt){let{comment:V,enclosingNode:_e,text:st}=bt;if((_e==null?void 0:_e.type)!=="ArrowFunctionExpression")return!1;let Pt=M(st,V,y);return Pt!==!1&&st.slice(Pt,Pt+2)==="=>"?(S(_e,V),!0):!1}function mt(bt){let{comment:V,enclosingNode:_e,text:st}=bt;return f(st,V,y)!==")"?!1:_e&&(dt(_e)&&B(_e).length===0||$(_e)&&K(_e).length===0)?(S(_e,V),!0):((_e==null?void 0:_e.type)==="MethodDefinition"||(_e==null?void 0:_e.type)==="TSAbstractMethodDefinition")&&B(_e.value).length===0?(S(_e.value,V),!0):!1}function Yt(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt,text:Vt}=bt;if((_e==null?void 0:_e.type)==="FunctionTypeParam"&&(st==null?void 0:st.type)==="FunctionTypeAnnotation"&&(Pt==null?void 0:Pt.type)!=="FunctionTypeParam"||((_e==null?void 0:_e.type)==="Identifier"||(_e==null?void 0:_e.type)==="AssignmentPattern")&&st&&dt(st)&&f(Vt,V,y)===")")return E(_e,V),!0;if((st==null?void 0:st.type)==="FunctionDeclaration"&&(Pt==null?void 0:Pt.type)==="BlockStatement"){let un=(()=>{let Ot=B(st);if(Ot.length>0)return D(Vt,y(p(Ot)));let Ar=D(Vt,y(st.id));return Ar!==!1&&D(Vt,Ar+1)})();if(R(V)>un)return ie(Pt,V),!0}return!1}function $e(bt){let{comment:V,enclosingNode:_e}=bt;return(_e==null?void 0:_e.type)==="LabeledStatement"?(h(_e,V),!0):!1}function xe(bt){let{comment:V,enclosingNode:_e}=bt;return((_e==null?void 0:_e.type)==="ContinueStatement"||(_e==null?void 0:_e.type)==="BreakStatement")&&!_e.label?(E(_e,V),!0):!1}function Ye(bt){let{comment:V,precedingNode:_e,enclosingNode:st}=bt;return G(st)&&_e&&st.callee===_e&&st.arguments.length>0?(h(st.arguments[0],V),!0):!1}function Ze(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt}=bt;return(st==null?void 0:st.type)==="UnionTypeAnnotation"||(st==null?void 0:st.type)==="TSUnionType"?(C(V)&&(Pt.prettierIgnore=!0,V.unignore=!0),_e?(E(_e,V),!0):!1):(((Pt==null?void 0:Pt.type)==="UnionTypeAnnotation"||(Pt==null?void 0:Pt.type)==="TSUnionType")&&C(V)&&(Pt.types[0].prettierIgnore=!0,V.unignore=!0),!1)}function At(bt){let{comment:V,enclosingNode:_e}=bt;return te(_e)?(h(_e,V),!0):!1}function Tt(bt){let{comment:V,enclosingNode:_e,followingNode:st,ast:Pt,isLastComment:Vt}=bt;return Pt&&Pt.body&&Pt.body.length===0?(Vt?S(Pt,V):h(Pt,V),!0):(_e==null?void 0:_e.type)==="Program"&&(_e==null?void 0:_e.body.length)===0&&!k(_e.directives)?(Vt?S(_e,V):h(_e,V),!0):(st==null?void 0:st.type)==="Program"&&(st==null?void 0:st.body.length)===0&&(_e==null?void 0:_e.type)==="ModuleExpression"?(S(st,V),!0):!1}function It(bt){let{comment:V,enclosingNode:_e}=bt;return(_e==null?void 0:_e.type)==="ForInStatement"||(_e==null?void 0:_e.type)==="ForOfStatement"?(h(_e,V),!0):!1}function cn(bt){let{comment:V,precedingNode:_e,enclosingNode:st,text:Pt}=bt;if((st==null?void 0:st.type)==="ImportSpecifier"||(st==null?void 0:st.type)==="ExportSpecifier")return h(st,V),!0;let Vt=(_e==null?void 0:_e.type)==="ImportSpecifier"&&(st==null?void 0:st.type)==="ImportDeclaration",un=(_e==null?void 0:_e.type)==="ExportSpecifier"&&(st==null?void 0:st.type)==="ExportNamedDeclaration";return(Vt||un)&&v(Pt,y(V))?(E(_e,V),!0):!1}function Bn(bt){let{comment:V,enclosingNode:_e}=bt;return(_e==null?void 0:_e.type)==="AssignmentPattern"?(h(_e,V),!0):!1}var Ln=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ln=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Dn(bt){let{comment:V,enclosingNode:_e,followingNode:st}=bt;return Ln.has(_e==null?void 0:_e.type)&&st&&(ln.has(st.type)||P(V))?(h(st,V),!0):!1}function lt(bt){let{comment:V,enclosingNode:_e,followingNode:st,text:Pt}=bt;return!st&&((_e==null?void 0:_e.type)==="TSMethodSignature"||(_e==null?void 0:_e.type)==="TSDeclareFunction"||(_e==null?void 0:_e.type)==="TSAbstractMethodDefinition")&&f(Pt,V,y)===";"?(E(_e,V),!0):!1}function Ae(bt){let{comment:V,enclosingNode:_e,followingNode:st}=bt;if(C(V)&&(_e==null?void 0:_e.type)==="TSMappedType"&&(st==null?void 0:st.type)==="TSTypeParameter"&&st.constraint)return _e.prettierIgnore=!0,V.unignore=!0,!0}function gt(bt){let{comment:V,precedingNode:_e,enclosingNode:st,followingNode:Pt}=bt;return(st==null?void 0:st.type)!=="TSMappedType"?!1:(Pt==null?void 0:Pt.type)==="TSTypeParameter"&&Pt.name?(h(Pt.name,V),!0):(_e==null?void 0:_e.type)==="TSTypeParameter"&&_e.constraint?(E(_e.constraint,V),!0):!1}function Oe(bt){let{comment:V,enclosingNode:_e,followingNode:st}=bt;return!_e||_e.type!=="SwitchCase"||_e.test||!st||st!==_e.consequent[0]?!1:(st.type==="BlockStatement"&&De(V)?ie(st,V):S(_e,V),!0)}function dt(bt){return bt.type==="ArrowFunctionExpression"||bt.type==="FunctionExpression"||bt.type==="FunctionDeclaration"||bt.type==="ObjectMethod"||bt.type==="ClassMethod"||bt.type==="TSDeclareFunction"||bt.type==="TSCallSignatureDeclaration"||bt.type==="TSConstructSignatureDeclaration"||bt.type==="TSMethodSignature"||bt.type==="TSConstructorType"||bt.type==="TSFunctionType"||bt.type==="TSDeclareMethod"}function en(bt,V){if((V.parser==="typescript"||V.parser==="flow"||V.parser==="acorn"||V.parser==="espree"||V.parser==="meriyah"||V.parser==="__babel_estree")&&bt.type==="MethodDefinition"&&bt.value&&bt.value.type==="FunctionExpression"&&B(bt.value).length===0&&!bt.value.returnType&&!k(bt.value.typeParameters)&&bt.value.body)return[...bt.decorators||[],bt.key,bt.value.body]}function Ut(bt){let V=bt.getValue(),_e=bt.getParentNode(),st=Pt=>Q(N(Pt,J.Leading))||Q(N(Pt,J.Trailing));return(V&&(w(V)||j(V)||G(_e)&&st(V))||_e&&(_e.type==="JSXSpreadAttribute"||_e.type==="JSXSpreadChild"||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType"||(_e.type==="ClassDeclaration"||_e.type==="ClassExpression")&&_e.superClass===V))&&(!ne(bt)||_e.type==="UnionTypeAnnotation"||_e.type==="TSUnionType")}A.exports={handleOwnLineComment:q,handleEndOfLineComment:U,handleRemainingComment:z,getCommentChildNodes:en,willPrintOwnComments:Ut}}}),uo=we({"src/language-js/needs-parens.js"(m,A){Re();var p=qr(),v=jt(),{getFunctionParameters:D,getLeftSidePathName:f,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:h,hasNode:E,isBitwiseOperator:S,startsWithNoLookaheadToken:M,shouldFlatten:k,getPrecedence:B,isCallExpression:C,isMemberExpression:w,isObjectProperty:j,isTSTypeExpression:Q}=dr();function ne(N,J){let F=N.getParentNode();if(!F)return!1;let R=N.getName(),y=N.getNode();if(J.__isInHtmlInterpolation&&!J.bracketSpacing&&re(y)&&te(N))return!0;if($(y))return!1;if(J.parser!=="flow"&&d(N.getValue()))return!0;if(y.type==="Identifier"){if(y.extra&&y.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(y.name)||R==="left"&&(y.name==="async"&&!F.await||y.name==="let")&&F.type==="ForOfStatement")return!0;if(y.name==="let"){var P;let q=(P=N.findAncestor(U=>U.type==="ForOfStatement"))===null||P===void 0?void 0:P.left;if(q&&M(q,U=>U===y))return!0}if(R==="object"&&y.name==="let"&&F.type==="MemberExpression"&&F.computed&&!F.optional){let q=N.findAncestor(z=>z.type==="ExpressionStatement"||z.type==="ForStatement"||z.type==="ForInStatement"),U=q?q.type==="ExpressionStatement"?q.expression:q.type==="ForStatement"?q.init:q.left:void 0;if(U&&M(U,z=>z===y))return!0}return!1}if(y.type==="ObjectExpression"||y.type==="FunctionExpression"||y.type==="ClassExpression"||y.type==="DoExpression"){var I;let q=(I=N.findAncestor(U=>U.type==="ExpressionStatement"))===null||I===void 0?void 0:I.expression;if(q&&M(q,U=>U===y))return!0}switch(F.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(R==="superClass"&&(y.type==="ArrowFunctionExpression"||y.type==="AssignmentExpression"||y.type==="AwaitExpression"||y.type==="BinaryExpression"||y.type==="ConditionalExpression"||y.type==="LogicalExpression"||y.type==="NewExpression"||y.type==="ObjectExpression"||y.type==="SequenceExpression"||y.type==="TaggedTemplateExpression"||y.type==="UnaryExpression"||y.type==="UpdateExpression"||y.type==="YieldExpression"||y.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return De(N,J)||y.type==="SequenceExpression";case"Decorator":{if(R==="expression"){if(w(y)&&y.computed)return!0;let q=!1,U=!1,z=y;for(;z;)switch(z.type){case"MemberExpression":U=!0,z=z.object;break;case"CallExpression":if(U||q)return J.parser!=="typescript";q=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return J.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(R==="body"&&y.type!=="SequenceExpression"&&M(y,q=>q.type==="ObjectExpression"))return!0;break}}switch(y.type){case"UpdateExpression":if(F.type==="UnaryExpression")return y.prefix&&(y.operator==="++"&&F.operator==="+"||y.operator==="--"&&F.operator==="-");case"UnaryExpression":switch(F.type){case"UnaryExpression":return y.operator===F.operator&&(y.operator==="+"||y.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"BinaryExpression":return R==="left"&&F.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(F.type==="UpdateExpression"||y.operator==="in"&&K(N))return!0;if(y.operator==="|>"&&y.extra&&y.extra.parenthesized){let q=N.getParentNode(1);if(q.type==="BinaryExpression"&&q.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(F.type){case"TSSatisfiesExpression":case"TSAsExpression":return!Q(y);case"ConditionalExpression":return Q(y);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return R==="callee";case"ClassExpression":case"ClassDeclaration":return R==="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 R==="object";case"AssignmentExpression":case"AssignmentPattern":return R==="left"&&(y.type==="TSTypeAssertion"||Q(y));case"LogicalExpression":if(y.type==="LogicalExpression")return F.operator!==y.operator;case"BinaryExpression":{let{operator:q,type:U}=y;if(!q&&U!=="TSTypeAssertion")return!0;let z=B(q),ie=F.operator,ce=B(ie);return ce>z||R==="right"&&ce===z||ce===z&&!k(ie,q)?!0:ce<z&&q==="%"?ie==="+"||ie==="-":!!S(ie)}default:return!1}case"SequenceExpression":switch(F.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return R!=="expression";case"ArrowFunctionExpression":return R!=="body";default:return!0}case"YieldExpression":if(F.type==="UnaryExpression"||F.type==="AwaitExpression"||Q(F)||F.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(F.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"BinaryExpression":return!(!y.argument&&F.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(R==="extendsType"&&F.type==="TSConditionalType"){if(y.type==="TSConditionalType")return!0;let{typeAnnotation:q}=y.returnType||y.typeAnnotation;if(q.type==="TSTypePredicate"&&q.typeAnnotation&&(q=q.typeAnnotation.typeAnnotation),q.type==="TSInferType"&&q.typeParameter.constraint)return!0}if(R==="checkType"&&F.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((F.type==="TSUnionType"||F.type==="TSIntersectionType")&&F.types.length>1&&(!y.types||y.types.length>1))return!0;case"TSInferType":if(y.type==="TSInferType"&&F.type==="TSRestType")return!1;case"TSTypeOperator":return F.type==="TSArrayType"||F.type==="TSOptionalType"||F.type==="TSRestType"||R==="objectType"&&F.type==="TSIndexedAccessType"||F.type==="TSTypeOperator"||F.type==="TSTypeAnnotation"&&N.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return R==="objectType"&&F.type==="TSIndexedAccessType"||R==="elementType"&&F.type==="TSArrayType";case"TypeofTypeAnnotation":return R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType")||R==="elementType"&&F.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return F.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return F.type==="ArrayTypeAnnotation"||F.type==="NullableTypeAnnotation"||F.type==="IntersectionTypeAnnotation"||F.type==="UnionTypeAnnotation"||R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return F.type==="ArrayTypeAnnotation"||R==="objectType"&&(F.type==="IndexedAccessType"||F.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let q=F.type==="NullableTypeAnnotation"?N.getParentNode(1):F;return q.type==="UnionTypeAnnotation"||q.type==="IntersectionTypeAnnotation"||q.type==="ArrayTypeAnnotation"||R==="objectType"&&(q.type==="IndexedAccessType"||q.type==="OptionalIndexedAccessType")||q.type==="NullableTypeAnnotation"||F.type==="FunctionTypeParam"&&F.name===null&&D(y).some(U=>U.typeAnnotation&&U.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return R==="objectType"&&F.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof y.value=="string"&&F.type==="ExpressionStatement"&&!F.directive){let q=N.getParentNode(1);return q.type==="Program"||q.type==="BlockStatement"}return R==="object"&&F.type==="MemberExpression"&&typeof y.value=="number";case"AssignmentExpression":{let q=N.getParentNode(1);return R==="body"&&F.type==="ArrowFunctionExpression"?!0:R==="key"&&(F.type==="ClassProperty"||F.type==="PropertyDefinition")&&F.computed||(R==="init"||R==="update")&&F.type==="ForStatement"?!1:F.type==="ExpressionStatement"?y.left.type==="ObjectPattern":!(R==="key"&&F.type==="TSPropertySignature"||F.type==="AssignmentExpression"||F.type==="SequenceExpression"&&q&&q.type==="ForStatement"&&(q.init===F||q.update===F)||R==="value"&&F.type==="Property"&&q&&q.type==="ObjectPattern"&&q.properties.includes(F)||F.type==="NGChainedExpression")}case"ConditionalExpression":switch(F.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"MemberExpression":case"OptionalMemberExpression":return R==="object";default:return!1}case"FunctionExpression":switch(F.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(F.type){case"BinaryExpression":return F.operator!=="|>"||y.extra&&y.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return R==="test";default:return!1}case"ClassExpression":if(v(y.decorators))return!0;switch(F.type){case"NewExpression":return R==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let q=N.getParentNode(1);if(R==="object"&&F.type==="MemberExpression"||R==="callee"&&(F.type==="CallExpression"||F.type==="NewExpression")||F.type==="TSNonNullExpression"&&q.type==="MemberExpression"&&q.object===F)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(R==="callee"&&(F.type==="BindExpression"||F.type==="NewExpression")){let q=y;for(;q;)switch(q.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":q=q.object;break;case"TaggedTemplateExpression":q=q.tag;break;case"TSNonNullExpression":q=q.expression;break;default:return!1}}return!1;case"BindExpression":return R==="callee"&&(F.type==="BindExpression"||F.type==="NewExpression")||R==="object"&&w(F);case"NGPipeExpression":return!(F.type==="NGRoot"||F.type==="NGMicrosyntaxExpression"||F.type==="ObjectProperty"&&!(y.extra&&y.extra.parenthesized)||F.type==="ArrayExpression"||C(F)&&F.arguments[R]===y||R==="right"&&F.type==="NGPipeExpression"||R==="property"&&F.type==="MemberExpression"||F.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return R==="callee"||R==="left"&&F.type==="BinaryExpression"&&F.operator==="<"||F.type!=="ArrayExpression"&&F.type!=="ArrowFunctionExpression"&&F.type!=="AssignmentExpression"&&F.type!=="AssignmentPattern"&&F.type!=="BinaryExpression"&&F.type!=="NewExpression"&&F.type!=="ConditionalExpression"&&F.type!=="ExpressionStatement"&&F.type!=="JsExpressionRoot"&&F.type!=="JSXAttribute"&&F.type!=="JSXElement"&&F.type!=="JSXExpressionContainer"&&F.type!=="JSXFragment"&&F.type!=="LogicalExpression"&&!C(F)&&!j(F)&&F.type!=="ReturnStatement"&&F.type!=="ThrowStatement"&&F.type!=="TypeCastExpression"&&F.type!=="VariableDeclarator"&&F.type!=="YieldExpression";case"TypeAnnotation":return R==="returnType"&&F.type==="ArrowFunctionExpression"&&G(y)}return!1}function $(N){return N.type==="BlockStatement"||N.type==="BreakStatement"||N.type==="ClassBody"||N.type==="ClassDeclaration"||N.type==="ClassMethod"||N.type==="ClassProperty"||N.type==="PropertyDefinition"||N.type==="ClassPrivateProperty"||N.type==="ContinueStatement"||N.type==="DebuggerStatement"||N.type==="DeclareClass"||N.type==="DeclareExportAllDeclaration"||N.type==="DeclareExportDeclaration"||N.type==="DeclareFunction"||N.type==="DeclareInterface"||N.type==="DeclareModule"||N.type==="DeclareModuleExports"||N.type==="DeclareVariable"||N.type==="DoWhileStatement"||N.type==="EnumDeclaration"||N.type==="ExportAllDeclaration"||N.type==="ExportDefaultDeclaration"||N.type==="ExportNamedDeclaration"||N.type==="ExpressionStatement"||N.type==="ForInStatement"||N.type==="ForOfStatement"||N.type==="ForStatement"||N.type==="FunctionDeclaration"||N.type==="IfStatement"||N.type==="ImportDeclaration"||N.type==="InterfaceDeclaration"||N.type==="LabeledStatement"||N.type==="MethodDefinition"||N.type==="ReturnStatement"||N.type==="SwitchStatement"||N.type==="ThrowStatement"||N.type==="TryStatement"||N.type==="TSDeclareFunction"||N.type==="TSEnumDeclaration"||N.type==="TSImportEqualsDeclaration"||N.type==="TSInterfaceDeclaration"||N.type==="TSModuleDeclaration"||N.type==="TSNamespaceExportDeclaration"||N.type==="TypeAlias"||N.type==="VariableDeclaration"||N.type==="WhileStatement"||N.type==="WithStatement"}function K(N){let J=0,F=N.getValue();for(;F;){let R=N.getParentNode(J++);if(R&&R.type==="ForStatement"&&R.init===F)return!0;F=R}return!1}function G(N){return E(N,J=>J.type==="ObjectTypeAnnotation"&&E(J,F=>F.type==="FunctionTypeAnnotation"||void 0)||void 0)}function re(N){switch(N.type){case"ObjectExpression":return!0;default:return!1}}function te(N){let J=N.getValue(),F=N.getParentNode(),R=N.getName();switch(F.type){case"NGPipeExpression":if(typeof R=="number"&&F.arguments[R]===J&&F.arguments.length-1===R)return N.callParent(te);break;case"ObjectProperty":if(R==="value"){let y=N.getParentNode(1);return p(y.properties)===F}break;case"BinaryExpression":case"LogicalExpression":if(R==="right")return N.callParent(te);break;case"ConditionalExpression":if(R==="alternate")return N.callParent(te);break;case"UnaryExpression":if(F.prefix)return N.callParent(te);break}return!1}function De(N,J){let F=N.getValue(),R=N.getParentNode();return F.type==="FunctionExpression"||F.type==="ClassExpression"?R.type==="ExportDefaultDeclaration"||!ne(N,J):!h(F)||R.type!=="ExportDefaultDeclaration"&&ne(N,J)?!1:N.call(y=>De(y,J),...f(N,F))}A.exports=ne}}),e1=we({"src/language-js/print-preprocess.js"(m,A){Re();function p(v,D){switch(D.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},v),{},{type:D.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:v,comments:[],rootMarker:D.rootMarker});default:return v}}A.exports=p}}),QE=we({"src/language-js/print/html-binding.js"(m,A){Re();var{builders:{join:p,line:v,group:D,softline:f,indent:d}}=wn();function h(S,M,k){let B=S.getValue();if(M.__onHtmlBindingRoot&&S.getName()===null&&M.__onHtmlBindingRoot(B,M),B.type==="File"){if(M.__isVueForBindingLeft)return S.call(C=>{let w=p([",",v],C.map(k,"params")),{params:j}=C.getValue();return j.length===1?w:["(",d([f,D(w)]),f,")"]},"program","body",0);if(M.__isVueBindings)return S.call(C=>p([",",v],C.map(k,"params")),"program","body",0)}}function E(S){switch(S.type){case"MemberExpression":switch(S.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return E(S.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:E,printHtmlBinding:h}}}),Lp=we({"src/language-js/print/binaryish.js"(m,A){Re();var{printComments:p}=Rr(),{getLast:v}=ye(),{builders:{join:D,line:f,softline:d,group:h,indent:E,align:S,indentIfBreak:M},utils:{cleanDoc:k,getDocParts:B,isConcat:C}}=wn(),{hasLeadingOwnLineComment:w,isBinaryish:j,isJsxNode:Q,shouldFlatten:ne,hasComment:$,CommentCheckFlags:K,isCallExpression:G,isMemberExpression:re,isObjectProperty:te,isEnabledHackPipeline:De}=dr(),N=0;function J(y,P,I){let q=y.getValue(),U=y.getParentNode(),z=y.getParentNode(1),ie=q!==U.body&&(U.type==="IfStatement"||U.type==="WhileStatement"||U.type==="SwitchStatement"||U.type==="DoWhileStatement"),ce=De(P)&&q.operator==="|>",ge=F(y,I,P,!1,ie);if(ie)return ge;if(ce)return h(ge);if(G(U)&&U.callee===q||U.type==="UnaryExpression"||re(U)&&!U.computed)return h([E([d,...ge]),d]);let fe=U.type==="ReturnStatement"||U.type==="ThrowStatement"||U.type==="JSXExpressionContainer"&&z.type==="JSXAttribute"||q.operator!=="|"&&U.type==="JsExpressionRoot"||q.type!=="NGPipeExpression"&&(U.type==="NGRoot"&&P.parser==="__ng_binding"||U.type==="NGMicrosyntaxExpression"&&z.type==="NGMicrosyntax"&&z.body.length===1)||q===U.body&&U.type==="ArrowFunctionExpression"||q!==U.body&&U.type==="ForStatement"||U.type==="ConditionalExpression"&&z.type!=="ReturnStatement"&&z.type!=="ThrowStatement"&&!G(z)||U.type==="TemplateLiteral",Ne=U.type==="AssignmentExpression"||U.type==="VariableDeclarator"||U.type==="ClassProperty"||U.type==="PropertyDefinition"||U.type==="TSAbstractPropertyDefinition"||U.type==="ClassPrivateProperty"||te(U),se=j(q.left)&&ne(q.operator,q.left.operator);if(fe||R(q)&&!se||!R(q)&&Ne)return h(ge);if(ge.length===0)return"";let Ue=Q(q.right),me=ge.findIndex(be=>typeof be!="string"&&!Array.isArray(be)&&be.type==="group"),ue=ge.slice(0,me===-1?1:me+1),qe=ge.slice(ue.length,Ue?-1:void 0),it=Symbol("logicalChain-"+ ++N),Je=h([...ue,E(qe)],{id:it});if(!Ue)return Je;let yt=v(ge);return h([Je,M(yt,{groupId:it})])}function F(y,P,I,q,U){let z=y.getValue();if(!j(z))return[h(P())];let ie=[];ne(z.operator,z.left.operator)?ie=y.call(qe=>F(qe,P,I,!0,U),"left"):ie.push(h(P("left")));let ce=R(z),ge=(z.operator==="|>"||z.type==="NGPipeExpression"||z.operator==="|"&&I.parser==="__vue_expression")&&!w(I.originalText,z.right),fe=z.type==="NGPipeExpression"?"|":z.operator,Ne=z.type==="NGPipeExpression"&&z.arguments.length>0?h(E([f,": ",D([f,": "],y.map(P,"arguments").map(qe=>S(2,h(qe))))])):"",se;if(ce)se=[fe," ",P("right"),Ne];else{let qe=De(I)&&fe==="|>"?y.call(it=>F(it,P,I,!0,U),"right"):P("right");se=[ge?f:"",fe,ge?" ":f,qe,Ne]}let Ue=y.getParentNode(),me=$(z.left,K.Trailing|K.Line),ue=me||!(U&&z.type==="LogicalExpression")&&Ue.type!==z.type&&z.left.type!==z.type&&z.right.type!==z.type;if(ie.push(ge?"":" ",ue?h(se,{shouldBreak:me}):se),q&&$(z)){let qe=k(p(y,ie,I));return C(qe)||qe.type==="fill"?B(qe):[qe]}return ie}function R(y){return y.type!=="LogicalExpression"?!1:!!(y.right.type==="ObjectExpression"&&y.right.properties.length>0||y.right.type==="ArrayExpression"&&y.right.elements.length>0||Q(y.right))}A.exports={printBinaryishExpression:J,shouldInlineLogicalExpression:R}}}),KE=we({"src/language-js/print/angular.js"(m,A){Re();var{builders:{join:p,line:v,group:D}}=wn(),{hasNode:f,hasComment:d,getComments:h}=dr(),{printBinaryishExpression:E}=Lp();function S(B,C,w){let j=B.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[w("node"),d(j.node)?" //"+h(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return E(B,C,w);case"NGChainedExpression":return D(p([";",v],B.map(Q=>k(Q)?w():["(",w(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return B.map((Q,ne)=>[ne===0?"":M(Q.getValue(),ne,j)?" ":[";",v],w()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[w("expression"),j.alias===null?"":[" as ",w("alias")]];case"NGMicrosyntaxKeyedExpression":{let Q=B.getName(),ne=B.getParentNode(),$=M(j,Q,ne)||(Q===1&&(j.key.name==="then"||j.key.name==="else")||Q===2&&j.key.name==="else"&&ne.body[Q-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[Q-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[w("key"),$?" ":": ",w("expression")]}case"NGMicrosyntaxLet":return["let ",w("key"),j.value===null?"":[" = ",w("value")]];case"NGMicrosyntaxAs":return[w("key")," as ",w("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(j.type)}.`)}}function M(B,C,w){return B.type==="NGMicrosyntaxKeyedExpression"&&B.key.name==="of"&&C===1&&w.body[0].type==="NGMicrosyntaxLet"&&w.body[0].value===null}function k(B){return f(B.getValue(),C=>{switch(C.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:S}}}),ZE=we({"src/language-js/print/jsx.js"(m,A){Re();var{printComments:p,printDanglingComments:v,printCommentsSeparately:D}=Rr(),{builders:{line:f,hardline:d,softline:h,group:E,indent:S,conditionalGroup:M,fill:k,ifBreak:B,lineSuffixBoundary:C,join:w},utils:{willBreak:j}}=wn(),{getLast:Q,getPreferredQuote:ne}=ye(),{isJsxNode:$,rawText:K,isCallExpression:G,isStringLiteral:re,isBinaryish:te,hasComment:De,CommentCheckFlags:N,hasNodeIgnoreComment:J}=dr(),F=uo(),{willPrintOwnComments:R}=Zg(),y=xe=>xe===""||xe===f||xe===d||xe===h;function P(xe,Ye,Ze){let At=xe.getValue();if(At.type==="JSXElement"&&ht(At))return[Ze("openingElement"),Ze("closingElement")];let Tt=At.type==="JSXElement"?Ze("openingElement"):Ze("openingFragment"),It=At.type==="JSXElement"?Ze("closingElement"):Ze("closingFragment");if(At.children.length===1&&At.children[0].type==="JSXExpressionContainer"&&(At.children[0].expression.type==="TemplateLiteral"||At.children[0].expression.type==="TaggedTemplateExpression"))return[Tt,...xe.map(Ze,"children"),It];At.children=At.children.map(V=>Yt(V)?{type:"JSXText",value:" ",raw:" "}:V);let cn=At.children.some($),Bn=At.children.filter(V=>V.type==="JSXExpressionContainer").length>1,Ln=At.type==="JSXElement"&&At.openingElement.attributes.length>1,ln=j(Tt)||cn||Ln||Bn,Dn=xe.getParentNode().rootMarker==="mdx",lt=Ye.singleQuote?"{' '}":'{" "}',Ae=Dn?" ":B([lt,h]," "),gt=At.openingElement&&At.openingElement.name&&At.openingElement.name.name==="fbt",Oe=I(xe,Ye,Ze,Ae,gt),dt=At.children.some(V=>mt(V));for(let V=Oe.length-2;V>=0;V--){let _e=Oe[V]===""&&Oe[V+1]==="",st=Oe[V]===d&&Oe[V+1]===""&&Oe[V+2]===d,Pt=(Oe[V]===h||Oe[V]===d)&&Oe[V+1]===""&&Oe[V+2]===Ae,Vt=Oe[V]===Ae&&Oe[V+1]===""&&(Oe[V+2]===h||Oe[V+2]===d),un=Oe[V]===Ae&&Oe[V+1]===""&&Oe[V+2]===Ae,Ot=Oe[V]===h&&Oe[V+1]===""&&Oe[V+2]===d||Oe[V]===d&&Oe[V+1]===""&&Oe[V+2]===h;st&&dt||_e||Pt||un||Ot?Oe.splice(V,2):Vt&&Oe.splice(V+1,2)}for(;Oe.length>0&&y(Q(Oe));)Oe.pop();for(;Oe.length>1&&y(Oe[0])&&y(Oe[1]);)Oe.shift(),Oe.shift();let en=[];for(let[V,_e]of Oe.entries()){if(_e===Ae){if(V===1&&Oe[V-1]===""){if(Oe.length===2){en.push(lt);continue}en.push([lt,d]);continue}else if(V===Oe.length-1){en.push(lt);continue}else if(Oe[V-1]===""&&Oe[V-2]===d){en.push(lt);continue}}en.push(_e),j(_e)&&(ln=!0)}let Ut=dt?k(en):E(en,{shouldBreak:!0});if(Dn)return Ut;let bt=E([Tt,S([d,Ut]),d,It]);return ln?bt:M([E([Tt,...Oe,It]),bt])}function I(xe,Ye,Ze,At,Tt){let It=[];return xe.each((cn,Bn,Ln)=>{let ln=cn.getValue();if(ln.type==="JSXText"){let Dn=K(ln);if(mt(ln)){let lt=Dn.split(yt);if(lt[0]===""){if(It.push(""),lt.shift(),/\n/.test(lt[0])){let gt=Ln[Bn+1];It.push(U(Tt,lt[1],ln,gt))}else It.push(At);lt.shift()}let Ae;if(Q(lt)===""&&(lt.pop(),Ae=lt.pop()),lt.length===0)return;for(let[gt,Oe]of lt.entries())gt%2===1?It.push(f):It.push(Oe);if(Ae!==void 0)if(/\n/.test(Ae)){let gt=Ln[Bn+1];It.push(U(Tt,Q(It),ln,gt))}else It.push(At);else{let gt=Ln[Bn+1];It.push(q(Tt,Q(It),ln,gt))}}else/\n/.test(Dn)?Dn.match(/\n/g).length>1&&It.push("",d):It.push("",At)}else{let Dn=Ze();It.push(Dn);let lt=Ln[Bn+1];if(lt&&mt(lt)){let Ae=Me(K(lt)).split(yt)[0];It.push(q(Tt,Ae,ln,lt))}else It.push(d)}},"children"),It}function q(xe,Ye,Ze,At){return xe?"":Ze.type==="JSXElement"&&!Ze.closingElement||At&&At.type==="JSXElement"&&!At.closingElement?Ye.length===1?h:d:h}function U(xe,Ye,Ze,At){return xe?d:Ye.length===1?Ze.type==="JSXElement"&&!Ze.closingElement||At&&At.type==="JSXElement"&&!At.closingElement?d:h:d}function z(xe,Ye,Ze){let At=xe.getParentNode();if(!At||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[At.type])return Ye;let Tt=xe.match(void 0,cn=>cn.type==="ArrowFunctionExpression",G,cn=>cn.type==="JSXExpressionContainer"),It=F(xe,Ze);return E([It?"":B("("),S([h,Ye]),h,It?"":B(")")],{shouldBreak:Tt})}function ie(xe,Ye,Ze){let At=xe.getValue(),Tt=[];if(Tt.push(Ze("name")),At.value){let It;if(re(At.value)){let cn=K(At.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Bn,quote:Ln,regex:ln}=ne(cn,Ye.jsxSingleQuote?"'":'"');cn=cn.replace(ln,Bn);let{leading:Dn,trailing:lt}=xe.call(()=>D(xe,Ye),"value");It=[Dn,Ln,cn,Ln,lt]}else It=Ze("value");Tt.push("=",It)}return Tt}function ce(xe,Ye,Ze){let At=xe.getValue(),Tt=(It,cn)=>It.type==="JSXEmptyExpression"||!De(It)&&(It.type==="ArrayExpression"||It.type==="ObjectExpression"||It.type==="ArrowFunctionExpression"||It.type==="AwaitExpression"&&(Tt(It.argument,It)||It.argument.type==="JSXElement")||G(It)||It.type==="FunctionExpression"||It.type==="TemplateLiteral"||It.type==="TaggedTemplateExpression"||It.type==="DoExpression"||$(cn)&&(It.type==="ConditionalExpression"||te(It)));return Tt(At.expression,xe.getParentNode(0))?E(["{",Ze("expression"),C,"}"]):E(["{",S([h,Ze("expression")]),h,C,"}"])}function ge(xe,Ye,Ze){let At=xe.getValue(),Tt=At.name&&De(At.name)||At.typeParameters&&De(At.typeParameters);if(At.selfClosing&&At.attributes.length===0&&!Tt)return["<",Ze("name"),Ze("typeParameters")," />"];if(At.attributes&&At.attributes.length===1&&At.attributes[0].value&&re(At.attributes[0].value)&&!At.attributes[0].value.value.includes(`
212
+ `)&&!Tt&&!De(At.attributes[0]))return E(["<",Ze("name"),Ze("typeParameters")," ",...xe.map(Ze,"attributes"),At.selfClosing?" />":">"]);let It=At.attributes&&At.attributes.some(Bn=>Bn.value&&re(Bn.value)&&Bn.value.value.includes(`
213
+ `)),cn=Ye.singleAttributePerLine&&At.attributes.length>1?d:f;return E(["<",Ze("name"),Ze("typeParameters"),S(xe.map(()=>[cn,Ze()],"attributes")),...fe(At,Ye,Tt)],{shouldBreak:It})}function fe(xe,Ye,Ze){return xe.selfClosing?[f,"/>"]:Ne(xe,Ye,Ze)?[">"]:[h,">"]}function Ne(xe,Ye,Ze){let At=xe.attributes.length>0&&De(Q(xe.attributes),N.Trailing);return xe.attributes.length===0&&!Ze||(Ye.bracketSameLine||Ye.jsxBracketSameLine)&&(!Ze||xe.attributes.length>0)&&!At}function se(xe,Ye,Ze){let At=xe.getValue(),Tt=[];Tt.push("</");let It=Ze("name");return De(At.name,N.Leading|N.Line)?Tt.push(S([d,It]),d):De(At.name,N.Leading|N.Block)?Tt.push(" ",It):Tt.push(It),Tt.push(">"),Tt}function Ue(xe,Ye){let Ze=xe.getValue(),At=De(Ze),Tt=De(Ze,N.Line),It=Ze.type==="JSXOpeningFragment";return[It?"<":"</",S([Tt?d:At&&!It?" ":"",v(xe,Ye,!0)]),Tt?d:"",">"]}function me(xe,Ye,Ze){let At=p(xe,P(xe,Ye,Ze),Ye);return z(xe,At,Ye)}function ue(xe,Ye){let Ze=xe.getValue(),At=De(Ze,N.Line);return[v(xe,Ye,!At),At?d:""]}function qe(xe,Ye,Ze){let At=xe.getValue();return["{",xe.call(Tt=>{let It=["...",Ze()],cn=Tt.getValue();return!De(cn)||!R(Tt)?It:[S([h,p(Tt,It,Ye)]),h]},At.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function it(xe,Ye,Ze){let At=xe.getValue();if(At.type.startsWith("JSX"))switch(At.type){case"JSXAttribute":return ie(xe,Ye,Ze);case"JSXIdentifier":return String(At.name);case"JSXNamespacedName":return w(":",[Ze("namespace"),Ze("name")]);case"JSXMemberExpression":return w(".",[Ze("object"),Ze("property")]);case"JSXSpreadAttribute":return qe(xe,Ye,Ze);case"JSXSpreadChild":return qe(xe,Ye,Ze);case"JSXExpressionContainer":return ce(xe,Ye,Ze);case"JSXFragment":case"JSXElement":return me(xe,Ye,Ze);case"JSXOpeningElement":return ge(xe,Ye,Ze);case"JSXClosingElement":return se(xe,Ye,Ze);case"JSXOpeningFragment":case"JSXClosingFragment":return Ue(xe,Ye);case"JSXEmptyExpression":return ue(xe,Ye);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(At.type)}.`)}}var Je=`
214
+ \r `,yt=new RegExp("(["+Je+"]+)"),be=new RegExp("[^"+Je+"]"),Me=xe=>xe.replace(new RegExp("(?:^"+yt.source+"|"+yt.source+"$)"),"");function ht(xe){if(xe.children.length===0)return!0;if(xe.children.length>1)return!1;let Ye=xe.children[0];return Ye.type==="JSXText"&&!mt(Ye)}function mt(xe){return xe.type==="JSXText"&&(be.test(K(xe))||!/\n/.test(K(xe)))}function Yt(xe){return xe.type==="JSXExpressionContainer"&&re(xe.expression)&&xe.expression.value===" "&&!De(xe.expression)}function $e(xe){let Ye=xe.getValue(),Ze=xe.getParentNode();if(!Ze||!Ye||!$(Ye)||!$(Ze))return!1;let At=Ze.children.indexOf(Ye),Tt=null;for(let It=At;It>0;It--){let cn=Ze.children[It-1];if(!(cn.type==="JSXText"&&!mt(cn))){Tt=cn;break}}return Tt&&Tt.type==="JSXExpressionContainer"&&Tt.expression.type==="JSXEmptyExpression"&&J(Tt.expression)}A.exports={hasJsxIgnoreComment:$e,printJsx:it}}}),xi=we({"src/language-js/print/misc.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{indent:v,join:D,line:f}}=wn(),{isFlowAnnotationComment:d}=dr();function h(Q){let ne=Q.getValue();return!ne.optional||ne.type==="Identifier"&&ne===Q.getParentNode().key?"":ne.type==="OptionalCallExpression"||ne.type==="OptionalMemberExpression"&&ne.computed?"?.":"?"}function E(Q){return Q.getValue().definite||Q.match(void 0,(ne,$)=>$==="id"&&ne.type==="VariableDeclarator"&&ne.definite)?"!":""}function S(Q,ne,$){let K=Q.getValue();return K.typeArguments?$("typeArguments"):K.typeParameters?$("typeParameters"):""}function M(Q,ne,$){let K=Q.getValue();if(!K.typeAnnotation)return"";let G=Q.getParentNode(),re=G.type==="DeclareFunction"&&G.id===K;return d(ne.originalText,K.typeAnnotation)?[" /*: ",$("typeAnnotation")," */"]:[re?"":": ",$("typeAnnotation")]}function k(Q,ne,$){return["::",$("callee")]}function B(Q,ne,$){let K=Q.getValue();return p(K.modifiers)?[D(" ",Q.map($,"modifiers"))," "]:""}function C(Q,ne,$){return Q.type==="EmptyStatement"?";":Q.type==="BlockStatement"||$?[" ",ne]:v([f,ne])}function w(Q,ne,$){return["...",$("argument"),M(Q,ne,$)]}function j(Q,ne){let $=Q.slice(1,-1);if($.includes('"')||$.includes("'"))return Q;let K=ne.singleQuote?"'":'"';return K+$+K}A.exports={printOptionalToken:h,printDefiniteToken:E,printFunctionTypeParameters:S,printBindExpressionCallee:k,printTypeScriptModifiers:B,printTypeAnnotation:M,printRestSpread:w,adjustClause:C,printDirective:j}}}),Ko=we({"src/language-js/print/array.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{builders:{line:v,softline:D,hardline:f,group:d,indent:h,ifBreak:E,fill:S}}=wn(),{getLast:M,hasNewline:k}=ye(),{shouldPrintComma:B,hasComment:C,CommentCheckFlags:w,isNextLineEmpty:j,isNumericLiteral:Q,isSignedNumericLiteral:ne}=dr(),{locStart:$}=ii(),{printOptionalToken:K,printTypeAnnotation:G}=xi();function re(J,F,R){let y=J.getValue(),P=[],I=y.type==="TupleExpression"?"#[":"[",q="]";if(y.elements.length===0)C(y,w.Dangling)?P.push(d([I,p(J,F),D,q])):P.push(I,q);else{let U=M(y.elements),z=!(U&&U.type==="RestElement"),ie=U===null,ce=Symbol("array"),ge=!F.__inJestEach&&y.elements.length>1&&y.elements.every((se,Ue,me)=>{let ue=se&&se.type;if(ue!=="ArrayExpression"&&ue!=="ObjectExpression")return!1;let qe=me[Ue+1];if(qe&&ue!==qe.type)return!1;let it=ue==="ArrayExpression"?"elements":"properties";return se[it]&&se[it].length>1}),fe=te(y,F),Ne=z?ie?",":B(F)?fe?E(",","",{groupId:ce}):E(","):"":"";P.push(d([I,h([D,fe?N(J,F,R,Ne):[De(J,F,"elements",R),Ne],p(J,F,!0)]),D,q],{shouldBreak:ge,id:ce}))}return P.push(K(J),G(J,F,R)),P}function te(J,F){return J.elements.length>1&&J.elements.every(R=>R&&(Q(R)||ne(R)&&!C(R.argument))&&!C(R,w.Trailing|w.Line,y=>!k(F.originalText,$(y),{backwards:!0})))}function De(J,F,R,y){let P=[],I=[];return J.each(q=>{P.push(I,d(y())),I=[",",v],q.getValue()&&j(q.getValue(),F)&&I.push(D)},R),P}function N(J,F,R,y){let P=[];return J.each((I,q,U)=>{let z=q===U.length-1;P.push([R(),z?y:","]),z||P.push(j(I.getValue(),F)?[f,f]:C(U[q+1],w.Leading|w.Line)?f:v)},"elements"),S(P)}A.exports={printArray:re,printArrayItems:De,isConciselyPrintedArray:te}}}),t1=we({"src/language-js/print/call-arguments.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{getLast:v,getPenultimate:D}=ye(),{getFunctionParameters:f,hasComment:d,CommentCheckFlags:h,isFunctionCompositionArgs:E,isJsxNode:S,isLongCurriedCallExpression:M,shouldPrintComma:k,getCallArguments:B,iterateCallArgumentsPath:C,isNextLineEmpty:w,isCallExpression:j,isStringLiteral:Q,isObjectProperty:ne,isTSTypeExpression:$}=dr(),{builders:{line:K,hardline:G,softline:re,group:te,indent:De,conditionalGroup:N,ifBreak:J,breakParent:F},utils:{willBreak:R}}=wn(),{ArgExpansionBailout:y}=tn(),{isConciselyPrintedArray:P}=Ko();function I(fe,Ne,se){let Ue=fe.getValue(),me=Ue.type==="ImportExpression",ue=B(Ue);if(ue.length===0)return["(",p(fe,Ne,!0),")"];if(ie(ue))return["(",se(["arguments",0]),", ",se(["arguments",1]),")"];let qe=!1,it=!1,Je=ue.length-1,yt=[];C(fe,($e,xe)=>{let Ye=$e.getNode(),Ze=[se()];xe===Je||(w(Ye,Ne)?(xe===0&&(it=!0),qe=!0,Ze.push(",",G,G)):Ze.push(",",K)),yt.push(Ze)});let be=!(me||Ue.callee&&Ue.callee.type==="Import")&&k(Ne,"all")?",":"";function Me(){return te(["(",De([K,...yt]),be,K,")"],{shouldBreak:!0})}if(qe||fe.getParentNode().type!=="Decorator"&&E(ue))return Me();let ht=z(ue),mt=U(ue,Ne);if(ht||mt){if(ht?yt.slice(1).some(R):yt.slice(0,-1).some(R))return Me();let $e=[];try{fe.try(()=>{C(fe,(xe,Ye)=>{ht&&Ye===0&&($e=[[se([],{expandFirstArg:!0}),yt.length>1?",":"",it?G:K,it?G:""],...yt.slice(1)]),mt&&Ye===Je&&($e=[...yt.slice(0,-1),se([],{expandLastArg:!0})])})})}catch(xe){if(xe instanceof y)return Me();throw xe}return[yt.some(R)?F:"",N([["(",...$e,")"],ht?["(",te($e[0],{shouldBreak:!0}),...$e.slice(1),")"]:["(",...yt.slice(0,-1),te(v($e),{shouldBreak:!0}),")"],Me()])]}let Yt=["(",De([re,...yt]),J(be),re,")"];return M(fe)?Yt:te(Yt,{shouldBreak:yt.some(R)||qe})}function q(fe){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return fe.type==="ObjectExpression"&&(fe.properties.length>0||d(fe))||fe.type==="ArrayExpression"&&(fe.elements.length>0||d(fe))||fe.type==="TSTypeAssertion"&&q(fe.expression)||$(fe)&&q(fe.expression)||fe.type==="FunctionExpression"||fe.type==="ArrowFunctionExpression"&&(!fe.returnType||!fe.returnType.typeAnnotation||fe.returnType.typeAnnotation.type!=="TSTypeReference"||ce(fe.body))&&(fe.body.type==="BlockStatement"||fe.body.type==="ArrowFunctionExpression"&&q(fe.body,!0)||fe.body.type==="ObjectExpression"||fe.body.type==="ArrayExpression"||!Ne&&(j(fe.body)||fe.body.type==="ConditionalExpression")||S(fe.body))||fe.type==="DoExpression"||fe.type==="ModuleExpression"}function U(fe,Ne){let se=v(fe),Ue=D(fe);return!d(se,h.Leading)&&!d(se,h.Trailing)&&q(se)&&(!Ue||Ue.type!==se.type)&&(fe.length!==2||Ue.type!=="ArrowFunctionExpression"||se.type!=="ArrayExpression")&&!(fe.length>1&&se.type==="ArrayExpression"&&P(se,Ne))}function z(fe){if(fe.length!==2)return!1;let[Ne,se]=fe;return Ne.type==="ModuleExpression"&&ge(se)?!0:!d(Ne)&&(Ne.type==="FunctionExpression"||Ne.type==="ArrowFunctionExpression"&&Ne.body.type==="BlockStatement")&&se.type!=="FunctionExpression"&&se.type!=="ArrowFunctionExpression"&&se.type!=="ConditionalExpression"&&!q(se)}function ie(fe){return fe.length===2&&fe[0].type==="ArrowFunctionExpression"&&f(fe[0]).length===0&&fe[0].body.type==="BlockStatement"&&fe[1].type==="ArrayExpression"&&!fe.some(Ne=>d(Ne))}function ce(fe){return fe.type==="BlockStatement"&&(fe.body.some(Ne=>Ne.type!=="EmptyStatement")||d(fe,h.Dangling))}function ge(fe){return fe.type==="ObjectExpression"&&fe.properties.length===1&&ne(fe.properties[0])&&fe.properties[0].key.type==="Identifier"&&fe.properties[0].key.name==="type"&&Q(fe.properties[0].value)&&fe.properties[0].value.value==="module"}A.exports=I}}),n1=we({"src/language-js/print/member.js"(m,A){Re();var{builders:{softline:p,group:v,indent:D,label:f}}=wn(),{isNumericLiteral:d,isMemberExpression:h,isCallExpression:E}=dr(),{printOptionalToken:S}=xi();function M(B,C,w){let j=B.getValue(),Q=B.getParentNode(),ne,$=0;do ne=B.getParentNode($),$++;while(ne&&(h(ne)||ne.type==="TSNonNullExpression"));let K=w("object"),G=k(B,C,w),re=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!h(Q)||(Q.type==="AssignmentExpression"||Q.type==="VariableDeclarator")&&(E(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&E(j.object.expression)&&j.object.expression.arguments.length>0||K.label==="member-chain");return f(K.label==="member-chain"?"member-chain":"member",[K,re?G:v(D([p,G]))])}function k(B,C,w){let j=w("property"),Q=B.getValue(),ne=S(B);return Q.computed?!Q.property||d(Q.property)?[ne,"[",j,"]"]:v([ne,"[",D([p,j]),p,"]"]):[ne,".",j]}A.exports={printMemberExpression:M,printMemberLookup:k}}}),eA=we({"src/language-js/print/member-chain.js"(m,A){Re();var{printComments:p}=Rr(),{getLast:v,isNextLineEmptyAfterIndex:D,getNextNonSpaceNonCommentCharacterIndex:f}=ye(),d=uo(),{isCallExpression:h,isMemberExpression:E,isFunctionOrArrowExpression:S,isLongCurriedCallExpression:M,isMemberish:k,isNumericLiteral:B,isSimpleCallArgument:C,hasComment:w,CommentCheckFlags:j,isNextLineEmpty:Q}=dr(),{locEnd:ne}=ii(),{builders:{join:$,hardline:K,group:G,indent:re,conditionalGroup:te,breakParent:De,label:N},utils:{willBreak:J}}=wn(),F=t1(),{printMemberLookup:R}=n1(),{printOptionalToken:y,printFunctionTypeParameters:P,printBindExpressionCallee:I}=xi();function q(U,z,ie){let ce=U.getParentNode(),ge=!ce||ce.type==="ExpressionStatement",fe=[];function Ne(ln){let{originalText:Dn}=z,lt=f(Dn,ln,ne);return Dn.charAt(lt)===")"?lt!==!1&&D(Dn,lt+1):Q(ln,z)}function se(ln){let Dn=ln.getValue();h(Dn)&&(k(Dn.callee)||h(Dn.callee))?(fe.unshift({node:Dn,printed:[p(ln,[y(ln),P(ln,z,ie),F(ln,z,ie)],z),Ne(Dn)?K:""]}),ln.call(lt=>se(lt),"callee")):k(Dn)?(fe.unshift({node:Dn,needsParens:d(ln,z),printed:p(ln,E(Dn)?R(ln,z,ie):I(ln,z,ie),z)}),ln.call(lt=>se(lt),"object")):Dn.type==="TSNonNullExpression"?(fe.unshift({node:Dn,printed:p(ln,"!",z)}),ln.call(lt=>se(lt),"expression")):fe.unshift({node:Dn,printed:ie()})}let Ue=U.getValue();fe.unshift({node:Ue,printed:[y(U),P(U,z,ie),F(U,z,ie)]}),Ue.callee&&U.call(ln=>se(ln),"callee");let me=[],ue=[fe[0]],qe=1;for(;qe<fe.length&&(fe[qe].node.type==="TSNonNullExpression"||h(fe[qe].node)||E(fe[qe].node)&&fe[qe].node.computed&&B(fe[qe].node.property));++qe)ue.push(fe[qe]);if(!h(fe[0].node))for(;qe+1<fe.length&&k(fe[qe].node)&&k(fe[qe+1].node);++qe)ue.push(fe[qe]);me.push(ue),ue=[];let it=!1;for(;qe<fe.length;++qe){if(it&&k(fe[qe].node)){if(fe[qe].node.computed&&B(fe[qe].node.property)){ue.push(fe[qe]);continue}me.push(ue),ue=[],it=!1}(h(fe[qe].node)||fe[qe].node.type==="ImportExpression")&&(it=!0),ue.push(fe[qe]),w(fe[qe].node,j.Trailing)&&(me.push(ue),ue=[],it=!1)}ue.length>0&&me.push(ue);function Je(ln){return/^[A-Z]|^[$_]+$/.test(ln)}function yt(ln){return ln.length<=z.tabWidth}function be(ln){let Dn=ln[1].length>0&&ln[1][0].node.computed;if(ln[0].length===1){let Ae=ln[0][0].node;return Ae.type==="ThisExpression"||Ae.type==="Identifier"&&(Je(Ae.name)||ge&&yt(Ae.name)||Dn)}let lt=v(ln[0]).node;return E(lt)&&lt.property.type==="Identifier"&&(Je(lt.property.name)||Dn)}let Me=me.length>=2&&!w(me[1][0].node)&&be(me);function ht(ln){let Dn=ln.map(lt=>lt.printed);return ln.length>0&&v(ln).needsParens?["(",...Dn,")"]:Dn}function mt(ln){return ln.length===0?"":re(G([K,$(K,ln.map(ht))]))}let Yt=me.map(ht),$e=Yt,xe=Me?3:2,Ye=me.flat(),Ze=Ye.slice(1,-1).some(ln=>w(ln.node,j.Leading))||Ye.slice(0,-1).some(ln=>w(ln.node,j.Trailing))||me[xe]&&w(me[xe][0].node,j.Leading);if(me.length<=xe&&!Ze)return M(U)?$e:G($e);let At=v(me[Me?1:0]).node,Tt=!h(At)&&Ne(At),It=[ht(me[0]),Me?me.slice(1,2).map(ht):"",Tt?K:"",mt(me.slice(Me?2:1))],cn=fe.map(ln=>{let{node:Dn}=ln;return Dn}).filter(h);function Bn(){let ln=v(v(me)).node,Dn=v(Yt);return h(ln)&&J(Dn)&&cn.slice(0,-1).some(lt=>lt.arguments.some(S))}let Ln;return Ze||cn.length>2&&cn.some(ln=>!ln.arguments.every(Dn=>C(Dn,0)))||Yt.slice(0,-1).some(J)||Bn()?Ln=G(It):Ln=[J($e)||Tt?De:"",te([$e,It])],N("member-chain",Ln)}A.exports=q}}),r1=we({"src/language-js/print/call-expression.js"(m,A){Re();var{builders:{join:p,group:v}}=wn(),D=uo(),{getCallArguments:f,hasFlowAnnotationComment:d,isCallExpression:h,isMemberish:E,isStringLiteral:S,isTemplateOnItsOwnLine:M,isTestCall:k,iterateCallArgumentsPath:B}=dr(),C=eA(),w=t1(),{printOptionalToken:j,printFunctionTypeParameters:Q}=xi();function ne(K,G,re){let te=K.getValue(),De=K.getParentNode(),N=te.type==="NewExpression",J=te.type==="ImportExpression",F=j(K),R=f(te);if(R.length>0&&(!J&&!N&&$(te,De)||R.length===1&&M(R[0],G.originalText)||!N&&k(te,De))){let I=[];return B(K,()=>{I.push(re())}),[N?"new ":"",re("callee"),F,Q(K,G,re),"(",p(", ",I),")"]}let y=(G.parser==="babel"||G.parser==="babel-flow")&&te.callee&&te.callee.type==="Identifier"&&d(te.callee.trailingComments);if(y&&(te.callee.trailingComments[0].printed=!0),!J&&!N&&E(te.callee)&&!K.call(I=>D(I,G),"callee"))return C(K,G,re);let P=[N?"new ":"",J?"import":re("callee"),F,y?`/*:: ${te.callee.trailingComments[0].value.slice(2).trim()} */`:"",Q(K,G,re),w(K,G,re)];return J||h(te.callee)?v(P):P}function $(K,G){if(K.callee.type!=="Identifier")return!1;if(K.callee.name==="require")return!0;if(K.callee.name==="define"){let re=f(K);return G.type==="ExpressionStatement"&&(re.length===1||re.length===2&&re[0].type==="ArrayExpression"||re.length===3&&S(re[0])&&re[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:ne}}}),Zo=we({"src/language-js/print/assignment.js"(m,A){Re();var{isNonEmptyArray:p,getStringWidth:v}=ye(),{builders:{line:D,group:f,indent:d,indentIfBreak:h,lineSuffixBoundary:E},utils:{cleanDoc:S,willBreak:M,canBreak:k}}=wn(),{hasLeadingOwnLineComment:B,isBinaryish:C,isStringLiteral:w,isLiteral:j,isNumericLiteral:Q,isCallExpression:ne,isMemberExpression:$,getCallArguments:K,rawText:G,hasComment:re,isSignedNumericLiteral:te,isObjectProperty:De}=dr(),{shouldInlineLogicalExpression:N}=Lp(),{printCallExpression:J}=r1();function F(be,Me,ht,mt,Yt,$e){let xe=P(be,Me,ht,mt,$e),Ye=ht($e,{assignmentLayout:xe});switch(xe){case"break-after-operator":return f([f(mt),Yt,f(d([D,Ye]))]);case"never-break-after-operator":return f([f(mt),Yt," ",Ye]);case"fluid":{let Ze=Symbol("assignment");return f([f(mt),Yt,f(d(D),{id:Ze}),E,h(Ye,{groupId:Ze})])}case"break-lhs":return f([mt,Yt," ",f(Ye)]);case"chain":return[f(mt),Yt,D,Ye];case"chain-tail":return[f(mt),Yt,d([D,Ye])];case"chain-tail-arrow-chain":return[f(mt),Yt,Ye];case"only-left":return mt}}function R(be,Me,ht){let mt=be.getValue();return F(be,Me,ht,ht("left"),[" ",mt.operator],"right")}function y(be,Me,ht){return F(be,Me,ht,ht("id")," =","init")}function P(be,Me,ht,mt,Yt){let $e=be.getValue(),xe=$e[Yt];if(!xe)return"only-left";let Ye=!U(xe);if(be.match(U,z,At=>!Ye||At.type!=="ExpressionStatement"&&At.type!=="VariableDeclaration"))return Ye?xe.type==="ArrowFunctionExpression"&&xe.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Ye&&U(xe.right)||B(Me.originalText,xe))return"break-after-operator";if(xe.type==="CallExpression"&&xe.callee.name==="require"||Me.parser==="json5"||Me.parser==="json")return"never-break-after-operator";if(q($e)||ie($e)||fe($e)||Ne($e)&&k(mt))return"break-lhs";let Ze=it($e,mt,Me);return be.call(()=>I(be,Me,ht,Ze),Yt)?"break-after-operator":Ze||xe.type==="TemplateLiteral"||xe.type==="TaggedTemplateExpression"||xe.type==="BooleanLiteral"||Q(xe)||xe.type==="ClassExpression"?"never-break-after-operator":"fluid"}function I(be,Me,ht,mt){let Yt=be.getValue();if(C(Yt)&&!N(Yt))return!0;switch(Yt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Ye}=Yt;return C(Ye)&&!N(Ye)}case"ClassExpression":return p(Yt.decorators)}if(mt)return!1;let $e=Yt,xe=[];for(;;)if($e.type==="UnaryExpression")$e=$e.argument,xe.push("argument");else if($e.type==="TSNonNullExpression")$e=$e.expression,xe.push("expression");else break;return!!(w($e)||be.call(()=>me(be,Me,ht),...xe))}function q(be){if(z(be)){let Me=be.left||be.id;return Me.type==="ObjectPattern"&&Me.properties.length>2&&Me.properties.some(ht=>De(ht)&&(!ht.shorthand||ht.value&&ht.value.type==="AssignmentPattern"))}return!1}function U(be){return be.type==="AssignmentExpression"}function z(be){return U(be)||be.type==="VariableDeclarator"}function ie(be){let Me=ce(be);if(p(Me)){let ht=be.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Me.length>1&&Me.some(mt=>mt[ht]||mt.default))return!0}return!1}function ce(be){return ge(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function ge(be){return be.type==="TSTypeAliasDeclaration"||be.type==="TypeAlias"}function fe(be){if(be.type!=="VariableDeclarator")return!1;let{typeAnnotation:Me}=be.id;if(!Me||!Me.typeAnnotation)return!1;let ht=se(Me.typeAnnotation);return p(ht)&&ht.length>1&&ht.some(mt=>p(se(mt))||mt.type==="TSConditionalType")}function Ne(be){return be.type==="VariableDeclarator"&&be.init&&be.init.type==="ArrowFunctionExpression"}function se(be){return Ue(be)&&be.typeParameters&&be.typeParameters.params?be.typeParameters.params:null}function Ue(be){return be.type==="TSTypeReference"||be.type==="GenericTypeAnnotation"}function me(be,Me,ht){let mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Yt=be.getValue(),$e=()=>me(be,Me,ht,!0);if(Yt.type==="TSNonNullExpression")return be.call($e,"expression");if(ne(Yt)){if(J(be,Me,ht).label==="member-chain")return!1;let xe=K(Yt);return!(xe.length===0||xe.length===1&&qe(xe[0],Me))||Je(Yt,ht)?!1:be.call($e,"callee")}return $(Yt)?be.call($e,"object"):mt&&(Yt.type==="Identifier"||Yt.type==="ThisExpression")}var ue=.25;function qe(be,Me){let{printWidth:ht}=Me;if(re(be))return!1;let mt=ht*ue;if(be.type==="ThisExpression"||be.type==="Identifier"&&be.name.length<=mt||te(be)&&!re(be.argument))return!0;let Yt=be.type==="Literal"&&"regex"in be&&be.regex.pattern||be.type==="RegExpLiteral"&&be.pattern;return Yt?Yt.length<=mt:w(be)?G(be).length<=mt:be.type==="TemplateLiteral"?be.expressions.length===0&&be.quasis[0].value.raw.length<=mt&&!be.quasis[0].value.raw.includes(`
215
+ `):j(be)}function it(be,Me,ht){return De(be)?(Me=S(Me),typeof Me=="string"&&v(Me)<ht.tabWidth+3):!1}function Je(be,Me){let ht=yt(be);if(p(ht)){if(ht.length>1)return!0;if(ht.length===1){let Yt=ht[0];if(Yt.type==="TSUnionType"||Yt.type==="UnionTypeAnnotation"||Yt.type==="TSIntersectionType"||Yt.type==="IntersectionTypeAnnotation"||Yt.type==="TSTypeLiteral"||Yt.type==="ObjectTypeAnnotation")return!0}let mt=be.typeParameters?"typeParameters":"typeArguments";if(M(Me(mt)))return!0}return!1}function yt(be){return be.typeParameters&&be.typeParameters.params||be.typeArguments&&be.typeArguments.params}A.exports={printVariableDeclarator:y,printAssignmentExpression:R,printAssignment:F,isArrowFunctionVariableDeclarator:Ne}}}),Vl=we({"src/language-js/print/function-parameters.js"(m,A){Re();var{getNextNonSpaceNonCommentCharacter:p}=ye(),{printDanglingComments:v}=Rr(),{builders:{line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:S},utils:{removeLines:M,willBreak:k}}=wn(),{getFunctionParameters:B,iterateFunctionParametersPath:C,isSimpleType:w,isTestCall:j,isTypeAnnotationAFunction:Q,isObjectType:ne,isObjectTypePropertyAFunction:$,hasRestParameter:K,shouldPrintComma:G,hasComment:re,isNextLineEmpty:te}=dr(),{locEnd:De}=ii(),{ArgExpansionBailout:N}=tn(),{printFunctionTypeParameters:J}=xi();function F(I,q,U,z,ie){let ce=I.getValue(),ge=B(ce),fe=ie?J(I,U,q):"";if(ge.length===0)return[fe,"(",v(I,U,!0,qe=>p(U.originalText,qe,De)===")"),")"];let Ne=I.getParentNode(),se=j(Ne),Ue=R(ce),me=[];if(C(I,(qe,it)=>{let Je=it===ge.length-1;Je&&ce.rest&&me.push("..."),me.push(q()),!Je&&(me.push(","),se||Ue?me.push(" "):te(ge[it],U)?me.push(f,f):me.push(D))}),z){if(k(fe)||k(me))throw new N;return h([M(fe),"(",M(me),")"])}let ue=ge.every(qe=>!qe.decorators);return Ue&&ue?[fe,"(",...me,")"]:se?[fe,"(",...me,")"]:($(Ne)||Q(Ne)||Ne.type==="TypeAlias"||Ne.type==="UnionTypeAnnotation"||Ne.type==="TSUnionType"||Ne.type==="IntersectionTypeAnnotation"||Ne.type==="FunctionTypeAnnotation"&&Ne.returnType===ce)&&ge.length===1&&ge[0].name===null&&ce.this!==ge[0]&&ge[0].typeAnnotation&&ce.typeParameters===null&&w(ge[0].typeAnnotation)&&!ce.rest?U.arrowParens==="always"?["(",...me,")"]:me:[fe,"(",E([d,...me]),S(!K(ce)&&G(U,"all")?",":""),d,")"]}function R(I){if(!I)return!1;let q=B(I);if(q.length!==1)return!1;let[U]=q;return!re(U)&&(U.type==="ObjectPattern"||U.type==="ArrayPattern"||U.type==="Identifier"&&U.typeAnnotation&&(U.typeAnnotation.type==="TypeAnnotation"||U.typeAnnotation.type==="TSTypeAnnotation")&&ne(U.typeAnnotation.typeAnnotation)||U.type==="FunctionTypeParam"&&ne(U.typeAnnotation)||U.type==="AssignmentPattern"&&(U.left.type==="ObjectPattern"||U.left.type==="ArrayPattern")&&(U.right.type==="Identifier"||U.right.type==="ObjectExpression"&&U.right.properties.length===0||U.right.type==="ArrayExpression"&&U.right.elements.length===0))}function y(I){let q;return I.returnType?(q=I.returnType,q.typeAnnotation&&(q=q.typeAnnotation)):I.typeAnnotation&&(q=I.typeAnnotation),q}function P(I,q){let U=y(I);if(!U)return!1;let z=I.typeParameters&&I.typeParameters.params;if(z){if(z.length>1)return!1;if(z.length===1){let ie=z[0];if(ie.constraint||ie.default)return!1}}return B(I).length===1&&(ne(U)||k(q))}A.exports={printFunctionParameters:F,shouldHugFunctionParameters:R,shouldGroupFunctionParameters:P}}}),ql=we({"src/language-js/print/type-annotation.js"(m,A){Re();var{printComments:p,printDanglingComments:v}=Rr(),{isNonEmptyArray:D}=ye(),{builders:{group:f,join:d,line:h,softline:E,indent:S,align:M,ifBreak:k}}=wn(),B=uo(),{locStart:C}=ii(),{isSimpleType:w,isObjectType:j,hasLeadingOwnLineComment:Q,isObjectTypePropertyAFunction:ne,shouldPrintComma:$}=dr(),{printAssignment:K}=Zo(),{printFunctionParameters:G,shouldGroupFunctionParameters:re}=Vl(),{printArrayItems:te}=Ko();function De(U){if(w(U)||j(U))return!0;if(U.type==="UnionTypeAnnotation"||U.type==="TSUnionType"){let z=U.types.filter(ce=>ce.type==="VoidTypeAnnotation"||ce.type==="TSVoidKeyword"||ce.type==="NullLiteralTypeAnnotation"||ce.type==="TSNullKeyword").length,ie=U.types.some(ce=>ce.type==="ObjectTypeAnnotation"||ce.type==="TSTypeLiteral"||ce.type==="GenericTypeAnnotation"||ce.type==="TSTypeReference");if(U.types.length-1===z&&ie)return!0}return!1}function N(U,z,ie){let ce=z.semi?";":"",ge=U.getValue(),fe=[];return fe.push("opaque type ",ie("id"),ie("typeParameters")),ge.supertype&&fe.push(": ",ie("supertype")),ge.impltype&&fe.push(" = ",ie("impltype")),fe.push(ce),fe}function J(U,z,ie){let ce=z.semi?";":"",ge=U.getValue(),fe=[];ge.declare&&fe.push("declare "),fe.push("type ",ie("id"),ie("typeParameters"));let Ne=ge.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[K(U,z,ie,fe," =",Ne),ce]}function F(U,z,ie){let ce=U.getValue(),ge=U.map(ie,"types"),fe=[],Ne=!1;for(let se=0;se<ge.length;++se)se===0?fe.push(ge[se]):j(ce.types[se-1])&&j(ce.types[se])?fe.push([" & ",Ne?S(ge[se]):ge[se]]):!j(ce.types[se-1])&&!j(ce.types[se])?fe.push(S([" &",h,ge[se]])):(se>1&&(Ne=!0),fe.push(" & ",se>1?S(ge[se]):ge[se]));return f(fe)}function R(U,z,ie){let ce=U.getValue(),ge=U.getParentNode(),fe=ge.type!=="TypeParameterInstantiation"&&ge.type!=="TSTypeParameterInstantiation"&&ge.type!=="GenericTypeAnnotation"&&ge.type!=="TSTypeReference"&&ge.type!=="TSTypeAssertion"&&ge.type!=="TupleTypeAnnotation"&&ge.type!=="TSTupleType"&&!(ge.type==="FunctionTypeParam"&&!ge.name&&U.getParentNode(1).this!==ge)&&!((ge.type==="TypeAlias"||ge.type==="VariableDeclarator"||ge.type==="TSTypeAliasDeclaration")&&Q(z.originalText,ce)),Ne=De(ce),se=U.map(ue=>{let qe=ie();return Ne||(qe=M(2,qe)),p(ue,qe,z)},"types");if(Ne)return d(" | ",se);let Ue=fe&&!Q(z.originalText,ce),me=[k([Ue?h:"","| "]),d([h,"| "],se)];return B(U,z)?f([S(me),E]):ge.type==="TupleTypeAnnotation"&&ge.types.length>1||ge.type==="TSTupleType"&&ge.elementTypes.length>1?f([S([k(["(",E]),me]),E,k(")")]):f(fe?S(me):me)}function y(U,z,ie){let ce=U.getValue(),ge=[],fe=U.getParentNode(0),Ne=U.getParentNode(1),se=U.getParentNode(2),Ue=ce.type==="TSFunctionType"||!((fe.type==="ObjectTypeProperty"||fe.type==="ObjectTypeInternalSlot")&&!fe.variance&&!fe.optional&&C(fe)===C(ce)||fe.type==="ObjectTypeCallProperty"||se&&se.type==="DeclareFunction"),me=Ue&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation"),ue=me&&Ue&&(fe.type==="TypeAnnotation"||fe.type==="TSTypeAnnotation")&&Ne.type==="ArrowFunctionExpression";ne(fe)&&(Ue=!0,me=!0),ue&&ge.push("(");let qe=G(U,ie,z,!1,!0),it=ce.returnType||ce.predicate||ce.typeAnnotation?[Ue?" => ":": ",ie("returnType"),ie("predicate"),ie("typeAnnotation")]:"",Je=re(ce,it);return ge.push(Je?f(qe):qe),it&&ge.push(it),ue&&ge.push(")"),f(ge)}function P(U,z,ie){let ce=U.getValue(),ge=ce.type==="TSTupleType"?"elementTypes":"types",fe=ce[ge],Ne=D(fe),se=Ne?E:"";return f(["[",S([se,te(U,z,ge,ie)]),k(Ne&&$(z,"all")?",":""),v(U,z,!0),se,"]"])}function I(U,z,ie){let ce=U.getValue(),ge=ce.type==="OptionalIndexedAccessType"&&ce.optional?"?.[":"[";return[ie("objectType"),ge,ie("indexType"),"]"]}function q(U,z,ie){let ce=U.getValue();return[ce.postfix?"":ie,z("typeAnnotation"),ce.postfix?ie:""]}A.exports={printOpaqueType:N,printTypeAlias:J,printIntersectionType:F,printUnionType:R,printFunctionType:y,printTupleType:P,printIndexedAccessType:I,shouldHugType:De,printJSDocType:q}}}),Ul=we({"src/language-js/print/type-parameters.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{builders:{join:v,line:D,hardline:f,softline:d,group:h,indent:E,ifBreak:S}}=wn(),{isTestCall:M,hasComment:k,CommentCheckFlags:B,isTSXFile:C,shouldPrintComma:w,getFunctionParameters:j,isObjectType:Q,getTypeScriptMappedTypeModifier:ne}=dr(),{createGroupIdMapper:$}=ye(),{shouldHugType:K}=ql(),{isArrowFunctionVariableDeclarator:G}=Zo(),re=$("typeParameters");function te(J,F,R,y){let P=J.getValue();if(!P[y])return"";if(!Array.isArray(P[y]))return R(y);let I=J.getNode(2),q=I&&M(I),U=J.match(ie=>!(ie[y].length===1&&Q(ie[y][0])),void 0,(ie,ce)=>ce==="typeAnnotation",ie=>ie.type==="Identifier",G);if(P[y].length===0||!U&&(q||P[y].length===1&&(P[y][0].type==="NullableTypeAnnotation"||K(P[y][0]))))return["<",v(", ",J.map(R,y)),De(J,F),">"];let z=P.type==="TSTypeParameterInstantiation"?"":j(P).length===1&&C(F)&&!P[y][0].constraint&&J.getParentNode().type==="ArrowFunctionExpression"?",":w(F,"all")?S(","):"";return h(["<",E([d,v([",",D],J.map(R,y))]),z,d,">"],{id:re(P)})}function De(J,F){let R=J.getValue();if(!k(R,B.Dangling))return"";let y=!k(R,B.Line),P=p(J,F,y);return y?P:[P,f]}function N(J,F,R){let y=J.getValue(),P=[y.type==="TSTypeParameter"&&y.const?"const ":""],I=J.getParentNode();return I.type==="TSMappedType"?(I.readonly&&P.push(ne(I.readonly,"readonly")," "),P.push("[",R("name")),y.constraint&&P.push(" in ",R("constraint")),I.nameType&&P.push(" as ",J.callParent(()=>R("nameType"))),P.push("]"),P):(y.variance&&P.push(R("variance")),y.in&&P.push("in "),y.out&&P.push("out "),P.push(R("name")),y.bound&&P.push(": ",R("bound")),y.constraint&&P.push(" extends ",R("constraint")),y.default&&P.push(" = ",R("default")),P)}A.exports={printTypeParameter:N,printTypeParameters:te,getTypeParametersGroupId:re}}}),eu=we({"src/language-js/print/property.js"(m,A){Re();var{printComments:p}=Rr(),{printString:v,printNumber:D}=ye(),{isNumericLiteral:f,isSimpleNumber:d,isStringLiteral:h,isStringPropSafeToUnquote:E,rawText:S}=dr(),{printAssignment:M}=Zo(),k=new WeakMap;function B(w,j,Q){let ne=w.getNode();if(ne.computed)return["[",Q("key"),"]"];let $=w.getParentNode(),{key:K}=ne;if(j.quoteProps==="consistent"&&!k.has($)){let G=($.properties||$.body||$.members).some(re=>!re.computed&&re.key&&h(re.key)&&!E(re,j));k.set($,G)}if((K.type==="Identifier"||f(K)&&d(D(S(K)))&&String(K.value)===D(S(K))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&k.get($))){let G=v(JSON.stringify(K.type==="Identifier"?K.name:K.value.toString()),j);return w.call(re=>p(re,G,j),"key")}return E(ne,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!k.get($))?w.call(G=>p(G,/^\d/.test(K.value)?D(K.value):K.value,j),"key"):Q("key")}function C(w,j,Q){return w.getValue().shorthand?Q("value"):M(w,j,Q,B(w,j,Q),":","value")}A.exports={printProperty:C,printPropertyKey:B}}}),Wl=we({"src/language-js/print/function.js"(m,A){Re();var p=Qo(),{printDanglingComments:v,printCommentsSeparately:D}=Rr(),f=qr(),{getNextNonSpaceNonCommentCharacterIndex:d}=ye(),{builders:{line:h,softline:E,group:S,indent:M,ifBreak:k,hardline:B,join:C,indentIfBreak:w},utils:{removeLines:j,willBreak:Q}}=wn(),{ArgExpansionBailout:ne}=tn(),{getFunctionParameters:$,hasLeadingOwnLineComment:K,isFlowAnnotationComment:G,isJsxNode:re,isTemplateOnItsOwnLine:te,shouldPrintComma:De,startsWithNoLookaheadToken:N,isBinaryish:J,isLineComment:F,hasComment:R,getComments:y,CommentCheckFlags:P,isCallLikeExpression:I,isCallExpression:q,getCallArguments:U,hasNakedLeftSide:z,getLeftSide:ie}=dr(),{locEnd:ce}=ii(),{printFunctionParameters:ge,shouldGroupFunctionParameters:fe}=Vl(),{printPropertyKey:Ne}=eu(),{printFunctionTypeParameters:se}=xi();function Ue(xe,Ye,Ze,At){let Tt=xe.getValue(),It=!1;if((Tt.type==="FunctionDeclaration"||Tt.type==="FunctionExpression")&&At&&At.expandLastArg){let Dn=xe.getParentNode();q(Dn)&&U(Dn).length>1&&(It=!0)}let cn=[];Tt.type==="TSDeclareFunction"&&Tt.declare&&cn.push("declare "),Tt.async&&cn.push("async "),Tt.generator?cn.push("function* "):cn.push("function "),Tt.id&&cn.push(Ye("id"));let Bn=ge(xe,Ye,Ze,It),Ln=Me(xe,Ye,Ze),ln=fe(Tt,Ln);return cn.push(se(xe,Ze,Ye),S([ln?S(Bn):Bn,Ln]),Tt.body?" ":"",Ye("body")),Ze.semi&&(Tt.declare||!Tt.body)&&cn.push(";"),cn}function me(xe,Ye,Ze){let At=xe.getNode(),{kind:Tt}=At,It=At.value||At,cn=[];return!Tt||Tt==="init"||Tt==="method"||Tt==="constructor"?It.async&&cn.push("async "):(p.ok(Tt==="get"||Tt==="set"),cn.push(Tt," ")),It.generator&&cn.push("*"),cn.push(Ne(xe,Ye,Ze),At.optional||At.key.optional?"?":""),At===It?cn.push(ue(xe,Ye,Ze)):It.type==="FunctionExpression"?cn.push(xe.call(Bn=>ue(Bn,Ye,Ze),"value")):cn.push(Ze("value")),cn}function ue(xe,Ye,Ze){let At=xe.getNode(),Tt=ge(xe,Ze,Ye),It=Me(xe,Ze,Ye),cn=fe(At,It),Bn=[se(xe,Ye,Ze),S([cn?S(Tt):Tt,It])];return At.body?Bn.push(" ",Ze("body")):Bn.push(Ye.semi?";":""),Bn}function qe(xe,Ye,Ze,At){let Tt=xe.getValue(),It=[];if(Tt.async&&It.push("async "),be(xe,Ye))It.push(Ze(["params",0]));else{let Bn=At&&(At.expandLastArg||At.expandFirstArg),Ln=Me(xe,Ze,Ye);if(Bn){if(Q(Ln))throw new ne;Ln=S(j(Ln))}It.push(S([ge(xe,Ze,Ye,Bn,!0),Ln]))}let cn=v(xe,Ye,!0,Bn=>{let Ln=d(Ye.originalText,Bn,ce);return Ln!==!1&&Ye.originalText.slice(Ln,Ln+2)==="=>"});return cn&&It.push(" ",cn),It}function it(xe,Ye,Ze,At,Tt,It){let cn=xe.getName(),Bn=xe.getParentNode(),Ln=I(Bn)&&cn==="callee",ln=!!(Ye&&Ye.assignmentLayout),Dn=It.body.type!=="BlockStatement"&&It.body.type!=="ObjectExpression"&&It.body.type!=="SequenceExpression",lt=Ln&&Dn||Ye&&Ye.assignmentLayout==="chain-tail-arrow-chain",Ae=Symbol("arrow-chain");return It.body.type==="SequenceExpression"&&(Tt=S(["(",M([E,Tt]),E,")"])),S([S(M([Ln||ln?E:"",S(C([" =>",h],Ze),{shouldBreak:At})]),{id:Ae,shouldBreak:lt})," =>",w(Dn?M([h,Tt]):[" ",Tt],{groupId:Ae}),Ln?k(E,"",{groupId:Ae}):""])}function Je(xe,Ye,Ze,At){let Tt=xe.getValue(),It=[],cn=[],Bn=!1;if(function Ae(){let gt=qe(xe,Ye,Ze,At);if(It.length===0)It.push(gt);else{let{leading:Oe,trailing:dt}=D(xe,Ye);It.push([Oe,gt]),cn.unshift(dt)}Bn=Bn||Tt.returnType&&$(Tt).length>0||Tt.typeParameters||$(Tt).some(Oe=>Oe.type!=="Identifier"),Tt.body.type!=="ArrowFunctionExpression"||At&&At.expandLastArg?cn.unshift(Ze("body",At)):(Tt=Tt.body,xe.call(Ae,"body"))}(),It.length>1)return it(xe,At,It,Bn,cn,Tt);let Ln=It;if(Ln.push(" =>"),!K(Ye.originalText,Tt.body)&&(Tt.body.type==="ArrayExpression"||Tt.body.type==="ObjectExpression"||Tt.body.type==="BlockStatement"||re(Tt.body)||te(Tt.body,Ye.originalText)||Tt.body.type==="ArrowFunctionExpression"||Tt.body.type==="DoExpression"))return S([...Ln," ",cn]);if(Tt.body.type==="SequenceExpression")return S([...Ln,S([" (",M([E,cn]),E,")"])]);let ln=(At&&At.expandLastArg||xe.getParentNode().type==="JSXExpressionContainer")&&!R(Tt),Dn=At&&At.expandLastArg&&De(Ye,"all"),lt=Tt.body.type==="ConditionalExpression"&&!N(Tt.body,Ae=>Ae.type==="ObjectExpression");return S([...Ln,S([M([h,lt?k("","("):"",cn,lt?k("",")"):""]),ln?[k(Dn?",":""),E]:""])])}function yt(xe){let Ye=$(xe);return Ye.length===1&&!xe.typeParameters&&!R(xe,P.Dangling)&&Ye[0].type==="Identifier"&&!Ye[0].typeAnnotation&&!R(Ye[0])&&!Ye[0].optional&&!xe.predicate&&!xe.returnType}function be(xe,Ye){if(Ye.arrowParens==="always")return!1;if(Ye.arrowParens==="avoid"){let Ze=xe.getValue();return yt(Ze)}return!1}function Me(xe,Ye,Ze){let At=xe.getValue(),Tt=Ye("returnType");if(At.returnType&&G(Ze.originalText,At.returnType))return[" /*: ",Tt," */"];let It=[Tt];return At.returnType&&At.returnType.typeAnnotation&&It.unshift(": "),At.predicate&&It.push(At.returnType?" ":": ",Ye("predicate")),It}function ht(xe,Ye,Ze){let At=xe.getValue(),Tt=Ye.semi?";":"",It=[];At.argument&&($e(Ye,At.argument)?It.push([" (",M([B,Ze("argument")]),B,")"]):J(At.argument)||At.argument.type==="SequenceExpression"?It.push(S([k(" ("," "),M([E,Ze("argument")]),E,k(")")])):It.push(" ",Ze("argument")));let cn=y(At),Bn=f(cn),Ln=Bn&&F(Bn);return Ln&&It.push(Tt),R(At,P.Dangling)&&It.push(" ",v(xe,Ye,!0)),Ln||It.push(Tt),It}function mt(xe,Ye,Ze){return["return",ht(xe,Ye,Ze)]}function Yt(xe,Ye,Ze){return["throw",ht(xe,Ye,Ze)]}function $e(xe,Ye){if(K(xe.originalText,Ye))return!0;if(z(Ye)){let Ze=Ye,At;for(;At=ie(Ze);)if(Ze=At,K(xe.originalText,Ze))return!0}return!1}A.exports={printFunction:Ue,printArrowFunction:Je,printMethod:me,printReturnStatement:mt,printThrowStatement:Yt,printMethodInternal:ue,shouldPrintParamsWithoutParens:be}}}),kp=we({"src/language-js/print/decorators.js"(m,A){Re();var{isNonEmptyArray:p,hasNewline:v}=ye(),{builders:{line:D,hardline:f,join:d,breakParent:h,group:E}}=wn(),{locStart:S,locEnd:M}=ii(),{getParentExportDeclaration:k}=dr();function B(ne,$,K){let G=ne.getValue();return E([d(D,ne.map(K,"decorators")),j(G,$)?f:D])}function C(ne,$,K){return[d(f,ne.map(K,"declaration","decorators")),f]}function w(ne,$,K){let G=ne.getValue(),{decorators:re}=G;if(!p(re)||Q(ne.getParentNode()))return;let te=G.type==="ClassExpression"||G.type==="ClassDeclaration"||j(G,$);return[k(ne)?f:te?h:"",d(D,ne.map(K,"decorators")),D]}function j(ne,$){return ne.decorators.some(K=>v($.originalText,M(K)))}function Q(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let $=ne.declaration&&ne.declaration.decorators;return p($)&&S(ne)===S($[0])}A.exports={printDecorators:w,printClassMemberDecorators:B,printDecoratorsBeforeExport:C,hasDecoratorsBeforeExport:Q}}}),tu=we({"src/language-js/print/class.js"(m,A){Re();var{isNonEmptyArray:p,createGroupIdMapper:v}=ye(),{printComments:D,printDanglingComments:f}=Rr(),{builders:{join:d,line:h,hardline:E,softline:S,group:M,indent:k,ifBreak:B}}=wn(),{hasComment:C,CommentCheckFlags:w}=dr(),{getTypeParametersGroupId:j}=Ul(),{printMethod:Q}=Wl(),{printOptionalToken:ne,printTypeAnnotation:$,printDefiniteToken:K}=xi(),{printPropertyKey:G}=eu(),{printAssignment:re}=Zo(),{printClassMemberDecorators:te}=kp();function De(U,z,ie){let ce=U.getValue(),ge=[];ce.declare&&ge.push("declare "),ce.abstract&&ge.push("abstract "),ge.push("class");let fe=ce.id&&C(ce.id,w.Trailing)||ce.typeParameters&&C(ce.typeParameters,w.Trailing)||ce.superClass&&C(ce.superClass)||p(ce.extends)||p(ce.mixins)||p(ce.implements),Ne=[],se=[];if(ce.id&&Ne.push(" ",ie("id")),Ne.push(ie("typeParameters")),ce.superClass){let Ue=[P(U,z,ie),ie("superTypeParameters")],me=U.call(ue=>["extends ",D(ue,Ue,z)],"superClass");fe?se.push(h,M(me)):se.push(" ",me)}else se.push(y(U,z,ie,"extends"));if(se.push(y(U,z,ie,"mixins"),y(U,z,ie,"implements")),fe){let Ue;R(ce)?Ue=[...Ne,k(se)]:Ue=k([...Ne,se]),ge.push(M(Ue,{id:N(ce)}))}else ge.push(...Ne,...se);return ge.push(" ",ie("body")),ge}var N=v("heritageGroup");function J(U){return B(E,"",{groupId:N(U)})}function F(U){return["superClass","extends","mixins","implements"].filter(z=>!!U[z]).length>1}function R(U){return U.typeParameters&&!C(U.typeParameters,w.Trailing|w.Line)&&!F(U)}function y(U,z,ie,ce){let ge=U.getValue();if(!p(ge[ce]))return"";let fe=f(U,z,!0,Ne=>{let{marker:se}=Ne;return se===ce});return[R(ge)?B(" ",h,{groupId:j(ge.typeParameters)}):h,fe,fe&&E,ce,M(k([h,d([",",h],U.map(ie,ce))]))]}function P(U,z,ie){let ce=ie("superClass");return U.getParentNode().type==="AssignmentExpression"?M(B(["(",k([S,ce]),S,")"],ce)):ce}function I(U,z,ie){let ce=U.getValue(),ge=[];return p(ce.decorators)&&ge.push(te(U,z,ie)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.readonly&&ge.push("readonly "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractMethodDefinition"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ge.push(Q(U,z,ie)),ge}function q(U,z,ie){let ce=U.getValue(),ge=[],fe=z.semi?";":"";return p(ce.decorators)&&ge.push(te(U,z,ie)),ce.accessibility&&ge.push(ce.accessibility+" "),ce.declare&&ge.push("declare "),ce.static&&ge.push("static "),(ce.type==="TSAbstractPropertyDefinition"||ce.type==="TSAbstractAccessorProperty"||ce.abstract)&&ge.push("abstract "),ce.override&&ge.push("override "),ce.readonly&&ge.push("readonly "),ce.variance&&ge.push(ie("variance")),(ce.type==="ClassAccessorProperty"||ce.type==="AccessorProperty"||ce.type==="TSAbstractAccessorProperty")&&ge.push("accessor "),ge.push(G(U,z,ie),ne(U),K(U),$(U,z,ie)),[re(U,z,ie,ge," =","value"),fe]}A.exports={printClass:De,printClassMethod:I,printClassProperty:q,printHardlineAfterHeritage:J}}}),i1=we({"src/language-js/print/interface.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{join:v,line:D,group:f,indent:d,ifBreak:h}}=wn(),{hasComment:E,identity:S,CommentCheckFlags:M}=dr(),{getTypeParametersGroupId:k}=Ul(),{printTypeScriptModifiers:B}=xi();function C(w,j,Q){let ne=w.getValue(),$=[];ne.declare&&$.push("declare "),ne.type==="TSInterfaceDeclaration"&&$.push(ne.abstract?"abstract ":"",B(w,j,Q)),$.push("interface");let K=[],G=[];ne.type!=="InterfaceTypeAnnotation"&&K.push(" ",Q("id"),Q("typeParameters"));let re=ne.typeParameters&&!E(ne.typeParameters,M.Trailing|M.Line);return p(ne.extends)&&G.push(re?h(" ",D,{groupId:k(ne.typeParameters)}):D,"extends ",(ne.extends.length===1?S:d)(v([",",D],w.map(Q,"extends")))),ne.id&&E(ne.id,M.Trailing)||p(ne.extends)?re?$.push(f([...K,d(G)])):$.push(f(d([...K,...G]))):$.push(...K,...G),$.push(" ",Q("body")),f($)}A.exports={printInterface:C}}}),s1=we({"src/language-js/print/module.js"(m,A){Re();var{isNonEmptyArray:p}=ye(),{builders:{softline:v,group:D,indent:f,join:d,line:h,ifBreak:E,hardline:S}}=wn(),{printDanglingComments:M}=Rr(),{hasComment:k,CommentCheckFlags:B,shouldPrintComma:C,needsHardlineAfterDanglingComment:w,isStringLiteral:j,rawText:Q}=dr(),{locStart:ne,hasSameLoc:$}=ii(),{hasDecoratorsBeforeExport:K,printDecoratorsBeforeExport:G}=kp();function re(q,U,z){let ie=q.getValue(),ce=U.semi?";":"",ge=[],{importKind:fe}=ie;return ge.push("import"),fe&&fe!=="value"&&ge.push(" ",fe),ge.push(F(q,U,z),J(q,U,z),y(q,U,z),ce),ge}function te(q,U,z){let ie=q.getValue(),ce=[];K(ie)&&ce.push(G(q,U,z));let{type:ge,exportKind:fe,declaration:Ne}=ie;return ce.push("export"),(ie.default||ge==="ExportDefaultDeclaration")&&ce.push(" default"),k(ie,B.Dangling)&&(ce.push(" ",M(q,U,!0)),w(ie)&&ce.push(S)),Ne?ce.push(" ",z("declaration")):ce.push(fe==="type"?" type":"",F(q,U,z),J(q,U,z),y(q,U,z)),N(ie,U)&&ce.push(";"),ce}function De(q,U,z){let ie=q.getValue(),ce=U.semi?";":"",ge=[],{exportKind:fe,exported:Ne}=ie;return ge.push("export"),fe==="type"&&ge.push(" type"),ge.push(" *"),Ne&&ge.push(" as ",z("exported")),ge.push(J(q,U,z),y(q,U,z),ce),ge}function N(q,U){if(!U.semi)return!1;let{type:z,declaration:ie}=q,ce=q.default||z==="ExportDefaultDeclaration";if(!ie)return!0;let{type:ge}=ie;return!!(ce&&ge!=="ClassDeclaration"&&ge!=="FunctionDeclaration"&&ge!=="TSInterfaceDeclaration"&&ge!=="DeclareClass"&&ge!=="DeclareFunction"&&ge!=="TSDeclareFunction"&&ge!=="EnumDeclaration")}function J(q,U,z){let ie=q.getValue();if(!ie.source)return"";let ce=[];return R(ie,U)||ce.push(" from"),ce.push(" ",z("source")),ce}function F(q,U,z){let ie=q.getValue();if(R(ie,U))return"";let ce=[" "];if(p(ie.specifiers)){let ge=[],fe=[];q.each(()=>{let Ne=q.getValue().type;if(Ne==="ExportNamespaceSpecifier"||Ne==="ExportDefaultSpecifier"||Ne==="ImportNamespaceSpecifier"||Ne==="ImportDefaultSpecifier")ge.push(z());else if(Ne==="ExportSpecifier"||Ne==="ImportSpecifier")fe.push(z());else throw new Error(`Unknown specifier type ${JSON.stringify(Ne)}`)},"specifiers"),ce.push(d(", ",ge)),fe.length>0&&(ge.length>0&&ce.push(", "),fe.length>1||ge.length>0||ie.specifiers.some(Ne=>k(Ne))?ce.push(D(["{",f([U.bracketSpacing?h:v,d([",",h],fe)]),E(C(U)?",":""),U.bracketSpacing?h:v,"}"])):ce.push(["{",U.bracketSpacing?" ":"",...fe,U.bracketSpacing?" ":"","}"]))}else ce.push("{}");return ce}function R(q,U){let{type:z,importKind:ie,source:ce,specifiers:ge}=q;return z!=="ImportDeclaration"||p(ge)||ie==="type"?!1:!/{\s*}/.test(U.originalText.slice(ne(q),ne(ce)))}function y(q,U,z){let ie=q.getNode();return p(ie.assertions)?[" assert {",U.bracketSpacing?" ":"",d(", ",q.map(z,"assertions")),U.bracketSpacing?" ":"","}"]:""}function P(q,U,z){let ie=q.getNode(),{type:ce}=ie,ge=[],fe=ce==="ImportSpecifier"?ie.importKind:ie.exportKind;fe&&fe!=="value"&&ge.push(fe," ");let Ne=ce.startsWith("Import"),se=Ne?"imported":"local",Ue=Ne?"local":"exported",me=ie[se],ue=ie[Ue],qe="",it="";return ce==="ExportNamespaceSpecifier"||ce==="ImportNamespaceSpecifier"?qe="*":me&&(qe=z(se)),ue&&!I(ie)&&(it=z(Ue)),ge.push(qe,qe&&it?" as ":"",it),ge}function I(q){if(q.type!=="ImportSpecifier"&&q.type!=="ExportSpecifier")return!1;let{local:U,[q.type==="ImportSpecifier"?"imported":"exported"]:z}=q;if(U.type!==z.type||!$(U,z))return!1;if(j(U))return U.value===z.value&&Q(U)===Q(z);switch(U.type){case"Identifier":return U.name===z.name;default:return!1}}A.exports={printImportDeclaration:re,printExportDeclaration:te,printExportAllDeclaration:De,printModuleSpecifier:P}}}),Pp=we({"src/language-js/print/object.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{builders:{line:v,softline:D,group:f,indent:d,ifBreak:h,hardline:E}}=wn(),{getLast:S,hasNewlineInRange:M,hasNewline:k,isNonEmptyArray:B}=ye(),{shouldPrintComma:C,hasComment:w,getComments:j,CommentCheckFlags:Q,isNextLineEmpty:ne}=dr(),{locStart:$,locEnd:K}=ii(),{printOptionalToken:G,printTypeAnnotation:re}=xi(),{shouldHugFunctionParameters:te}=Vl(),{shouldHugType:De}=ql(),{printHardlineAfterHeritage:N}=tu();function J(F,R,y){let P=R.semi?";":"",I=F.getValue(),q;I.type==="TSTypeLiteral"?q="members":I.type==="TSInterfaceBody"?q="body":q="properties";let U=I.type==="ObjectTypeAnnotation",z=[q];U&&z.push("indexers","callProperties","internalSlots");let ie=z.map(be=>I[be][0]).sort((be,Me)=>$(be)-$(Me))[0],ce=F.getParentNode(0),ge=U&&ce&&(ce.type==="InterfaceDeclaration"||ce.type==="DeclareInterface"||ce.type==="DeclareClass")&&F.getName()==="body",fe=I.type==="TSInterfaceBody"||ge||I.type==="ObjectPattern"&&ce.type!=="FunctionDeclaration"&&ce.type!=="FunctionExpression"&&ce.type!=="ArrowFunctionExpression"&&ce.type!=="ObjectMethod"&&ce.type!=="ClassMethod"&&ce.type!=="ClassPrivateMethod"&&ce.type!=="AssignmentPattern"&&ce.type!=="CatchClause"&&I.properties.some(be=>be.value&&(be.value.type==="ObjectPattern"||be.value.type==="ArrayPattern"))||I.type!=="ObjectPattern"&&ie&&M(R.originalText,$(I),$(ie)),Ne=ge?";":I.type==="TSInterfaceBody"||I.type==="TSTypeLiteral"?h(P,";"):",",se=I.type==="RecordExpression"?"#{":I.exact?"{|":"{",Ue=I.exact?"|}":"}",me=[];for(let be of z)F.each(Me=>{let ht=Me.getValue();me.push({node:ht,printed:y(),loc:$(ht)})},be);z.length>1&&me.sort((be,Me)=>be.loc-Me.loc);let ue=[],qe=me.map(be=>{let Me=[...ue,f(be.printed)];return ue=[Ne,v],(be.node.type==="TSPropertySignature"||be.node.type==="TSMethodSignature"||be.node.type==="TSConstructSignatureDeclaration")&&w(be.node,Q.PrettierIgnore)&&ue.shift(),ne(be.node,R)&&ue.push(E),Me});if(I.inexact){let be;if(w(I,Q.Dangling)){let Me=w(I,Q.Line);be=[p(F,R,!0),Me||k(R.originalText,K(S(j(I))))?E:v,"..."]}else be=["..."];qe.push([...ue,...be])}let it=S(I[q]),Je=!(I.inexact||it&&it.type==="RestElement"||it&&(it.type==="TSPropertySignature"||it.type==="TSCallSignatureDeclaration"||it.type==="TSMethodSignature"||it.type==="TSConstructSignatureDeclaration")&&w(it,Q.PrettierIgnore)),yt;if(qe.length===0){if(!w(I,Q.Dangling))return[se,Ue,re(F,R,y)];yt=f([se,p(F,R),D,Ue,G(F),re(F,R,y)])}else yt=[ge&&B(I.properties)?N(ce):"",se,d([R.bracketSpacing?v:D,...qe]),h(Je&&(Ne!==","||C(R))?Ne:""),R.bracketSpacing?v:D,Ue,G(F),re(F,R,y)];return F.match(be=>be.type==="ObjectPattern"&&!be.decorators,(be,Me,ht)=>te(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ht===0)||F.match(De,(be,Me)=>Me==="typeAnnotation",(be,Me)=>Me==="typeAnnotation",(be,Me,ht)=>te(be)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&ht===0)||!fe&&F.match(be=>be.type==="ObjectPattern",be=>be.type==="AssignmentExpression"||be.type==="VariableDeclarator")?yt:f(yt,{shouldBreak:fe})}A.exports={printObject:J}}}),tA=we({"src/language-js/print/flow.js"(m,A){Re();var p=Qo(),{printDanglingComments:v}=Rr(),{printString:D,printNumber:f}=ye(),{builders:{hardline:d,softline:h,group:E,indent:S}}=wn(),{getParentExportDeclaration:M,isFunctionNotation:k,isGetterOrSetter:B,rawText:C,shouldPrintComma:w}=dr(),{locStart:j,locEnd:Q}=ii(),{replaceTextEndOfLine:ne}=ia(),{printClass:$}=tu(),{printOpaqueType:K,printTypeAlias:G,printIntersectionType:re,printUnionType:te,printFunctionType:De,printTupleType:N,printIndexedAccessType:J}=ql(),{printInterface:F}=i1(),{printTypeParameter:R,printTypeParameters:y}=Ul(),{printExportDeclaration:P,printExportAllDeclaration:I}=s1(),{printArrayItems:q}=Ko(),{printObject:U}=Pp(),{printPropertyKey:z}=eu(),{printOptionalToken:ie,printTypeAnnotation:ce,printRestSpread:ge}=xi();function fe(se,Ue,me){let ue=se.getValue(),qe=Ue.semi?";":"",it=[];switch(ue.type){case"DeclareClass":return Ne(se,$(se,Ue,me));case"DeclareFunction":return Ne(se,["function ",me("id"),ue.predicate?" ":"",me("predicate"),qe]);case"DeclareModule":return Ne(se,["module ",me("id")," ",me("body")]);case"DeclareModuleExports":return Ne(se,["module.exports",": ",me("typeAnnotation"),qe]);case"DeclareVariable":return Ne(se,["var ",me("id"),qe]);case"DeclareOpaqueType":return Ne(se,K(se,Ue,me));case"DeclareInterface":return Ne(se,F(se,Ue,me));case"DeclareTypeAlias":return Ne(se,G(se,Ue,me));case"DeclareExportDeclaration":return Ne(se,P(se,Ue,me));case"DeclareExportAllDeclaration":return Ne(se,I(se,Ue,me));case"OpaqueType":return K(se,Ue,me);case"TypeAlias":return G(se,Ue,me);case"IntersectionTypeAnnotation":return re(se,Ue,me);case"UnionTypeAnnotation":return te(se,Ue,me);case"FunctionTypeAnnotation":return De(se,Ue,me);case"TupleTypeAnnotation":return N(se,Ue,me);case"GenericTypeAnnotation":return[me("id"),y(se,Ue,me,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return J(se,Ue,me);case"TypeAnnotation":return me("typeAnnotation");case"TypeParameter":return R(se,Ue,me);case"TypeofTypeAnnotation":return["typeof ",me("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[me("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(ue.value);case"EnumDeclaration":return["enum ",me("id")," ",me("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(ue.type==="EnumSymbolBody"||ue.explicitType){let Je=null;switch(ue.type){case"EnumBooleanBody":Je="boolean";break;case"EnumNumberBody":Je="number";break;case"EnumStringBody":Je="string";break;case"EnumSymbolBody":Je="symbol";break}it.push("of ",Je," ")}if(ue.members.length===0&&!ue.hasUnknownMembers)it.push(E(["{",v(se,Ue),h,"}"]));else{let Je=ue.members.length>0?[d,q(se,Ue,"members",me),ue.hasUnknownMembers||w(Ue)?",":""]:[];it.push(E(["{",S([...Je,...ue.hasUnknownMembers?[d,"..."]:[]]),v(se,Ue,!0),d,"}"]))}return it}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[me("id")," = ",typeof ue.init=="object"?me("init"):String(ue.init)];case"EnumDefaultedMember":return me("id");case"FunctionTypeParam":{let Je=ue.name?me("name"):se.getParentNode().this===ue?"this":"";return[Je,ie(se),Je?": ":"",me("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return F(se,Ue,me);case"ClassImplements":case"InterfaceExtends":return[me("id"),me("typeParameters")];case"NullableTypeAnnotation":return["?",me("typeAnnotation")];case"Variance":{let{kind:Je}=ue;return p.ok(Je==="plus"||Je==="minus"),Je==="plus"?"+":"-"}case"ObjectTypeCallProperty":return ue.static&&it.push("static "),it.push(me("value")),it;case"ObjectTypeIndexer":return[ue.static?"static ":"",ue.variance?me("variance"):"","[",me("id"),ue.id?": ":"",me("key"),"]: ",me("value")];case"ObjectTypeProperty":{let Je="";return ue.proto?Je="proto ":ue.static&&(Je="static "),[Je,B(ue)?ue.kind+" ":"",ue.variance?me("variance"):"",z(se,Ue,me),ie(se),k(ue)?"":": ",me("value")]}case"ObjectTypeAnnotation":return U(se,Ue,me);case"ObjectTypeInternalSlot":return[ue.static?"static ":"","[[",me("id"),"]]",ie(se),ue.method?"":": ",me("value")];case"ObjectTypeSpreadProperty":return ge(se,Ue,me);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[me("qualification"),".",me("id")];case"StringLiteralTypeAnnotation":return ne(D(C(ue),Ue));case"NumberLiteralTypeAnnotation":p.strictEqual(typeof ue.value,"number");case"BigIntLiteralTypeAnnotation":return ue.extra?f(ue.extra.raw):f(ue.raw);case"TypeCastExpression":return["(",me("expression"),ce(se,Ue,me),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Je=y(se,Ue,me,"params");if(Ue.parser==="flow"){let yt=j(ue),be=Q(ue),Me=Ue.originalText.lastIndexOf("/*",yt),ht=Ue.originalText.indexOf("*/",be);if(Me!==-1&&ht!==-1){let mt=Ue.originalText.slice(Me+2,ht).trim();if(mt.startsWith("::")&&!mt.includes("/*")&&!mt.includes("*/"))return["/*:: ",Je," */"]}}return Je}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",me("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(ue.type))}}function Ne(se,Ue){let me=M(se);return me?(p.strictEqual(me.type,"DeclareExportDeclaration"),Ue):["declare ",Ue]}A.exports={printFlow:fe}}}),nA=we({"src/language-js/utils/is-ts-keyword-type.js"(m,A){Re();function p(v){let{type:D}=v;return D.startsWith("TS")&&D.endsWith("Keyword")}A.exports=p}}),a1=we({"src/language-js/print/ternary.js"(m,A){Re();var{hasNewlineInRange:p}=ye(),{isJsxNode:v,getComments:D,isCallExpression:f,isMemberExpression:d,isTSTypeExpression:h}=dr(),{locStart:E,locEnd:S}=ii(),M=oa(),{builders:{line:k,softline:B,group:C,indent:w,align:j,ifBreak:Q,dedent:ne,breakParent:$}}=wn();function K(N){let J=[N];for(let F=0;F<J.length;F++){let R=J[F];for(let y of["test","consequent","alternate"]){let P=R[y];if(v(P))return!0;P.type==="ConditionalExpression"&&J.push(P)}}return!1}function G(N,J,F){let R=N.getValue(),y=R.type==="ConditionalExpression",P=y?"alternate":"falseType",I=N.getParentNode(),q=y?F("test"):[F("checkType")," ","extends"," ",F("extendsType")];return I.type===R.type&&I[P]===R?j(2,q):q}var re=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function te(N){let J=N.getValue();if(J.type!=="ConditionalExpression")return!1;let F,R=J;for(let y=0;!F;y++){let P=N.getParentNode(y);if(f(P)&&P.callee===R||d(P)&&P.object===R||P.type==="TSNonNullExpression"&&P.expression===R){R=P;continue}P.type==="NewExpression"&&P.callee===R||h(P)&&P.expression===R?(F=N.getParentNode(y+1),R=P):F=P}return R===J?!1:F[re.get(F.type)]===R}function De(N,J,F){let R=N.getValue(),y=R.type==="ConditionalExpression",P=y?"consequent":"trueType",I=y?"alternate":"falseType",q=y?["test"]:["checkType","extendsType"],U=R[P],z=R[I],ie=[],ce=!1,ge=N.getParentNode(),fe=ge.type===R.type&&q.some(ht=>ge[ht]===R),Ne=ge.type===R.type&&!fe,se,Ue,me=0;do Ue=se||R,se=N.getParentNode(me),me++;while(se&&se.type===R.type&&q.every(ht=>se[ht]!==Ue));let ue=se||ge,qe=Ue;if(y&&(v(R[q[0]])||v(U)||v(z)||K(qe))){ce=!0,Ne=!0;let ht=Yt=>[Q("("),w([B,Yt]),B,Q(")")],mt=Yt=>Yt.type==="NullLiteral"||Yt.type==="Literal"&&Yt.value===null||Yt.type==="Identifier"&&Yt.name==="undefined";ie.push(" ? ",mt(U)?F(P):ht(F(P))," : ",z.type===R.type||mt(z)?F(I):ht(F(I)))}else{let ht=[k,"? ",U.type===R.type?Q("","("):"",j(2,F(P)),U.type===R.type?Q("",")"):"",k,": ",z.type===R.type?F(I):j(2,F(I))];ie.push(ge.type!==R.type||ge[I]===R||fe?ht:J.useTabs?ne(w(ht)):j(Math.max(0,J.tabWidth-2),ht))}let it=[...q.map(ht=>D(R[ht])),D(U),D(z)].flat().some(ht=>M(ht)&&p(J.originalText,E(ht),S(ht))),Je=ht=>ge===ue?C(ht,{shouldBreak:it}):it?[ht,$]:ht,yt=!ce&&(d(ge)||ge.type==="NGPipeExpression"&&ge.left===R)&&!ge.computed,be=te(N),Me=Je([G(N,J,F),Ne?ie:w(ie),y&&yt&&!be?B:""]);return fe||be?C([w([B,Me]),B]):Me}A.exports={printTernary:De}}}),o1=we({"src/language-js/print/statement.js"(m,A){Re();var{builders:{hardline:p}}=wn(),v=uo(),{getLeftSidePathName:D,hasNakedLeftSide:f,isJsxNode:d,isTheOnlyJsxElementInMarkdown:h,hasComment:E,CommentCheckFlags:S,isNextLineEmpty:M}=dr(),{shouldPrintParamsWithoutParens:k}=Wl();function B(G,re,te,De){let N=G.getValue(),J=[],F=N.type==="ClassBody",R=C(N[De]);return G.each((y,P,I)=>{let q=y.getValue();if(q.type==="EmptyStatement")return;let U=te();!re.semi&&!F&&!h(re,y)&&w(y,re)?E(q,S.Leading)?J.push(te([],{needsSemi:!0})):J.push(";",U):J.push(U),!re.semi&&F&&$(q)&&K(q,I[P+1])&&J.push(";"),q!==R&&(J.push(p),M(q,re)&&J.push(p))},De),J}function C(G){for(let re=G.length-1;re>=0;re--){let te=G[re];if(te.type!=="EmptyStatement")return te}}function w(G,re){return G.getNode().type!=="ExpressionStatement"?!1:G.call(te=>j(te,re),"expression")}function j(G,re){let te=G.getValue();switch(te.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!k(G,re))return!0;break}case"UnaryExpression":{let{prefix:De,operator:N}=te;if(De&&(N==="+"||N==="-"))return!0;break}case"BindExpression":{if(!te.object)return!0;break}case"Literal":{if(te.regex)return!0;break}default:if(d(te))return!0}return v(G,re)?!0:f(te)?G.call(De=>j(De,re),...D(G,te)):!1}function Q(G,re,te){return B(G,re,te,"body")}function ne(G,re,te){return B(G,re,te,"consequent")}var $=G=>{let{type:re}=G;return re==="ClassProperty"||re==="PropertyDefinition"||re==="ClassPrivateProperty"||re==="ClassAccessorProperty"||re==="AccessorProperty"||re==="TSAbstractPropertyDefinition"||re==="TSAbstractAccessorProperty"};function K(G,re){let{type:te,name:De}=G.key;if(!G.computed&&te==="Identifier"&&(De==="static"||De==="get"||De==="set"||De==="accessor")&&!G.value&&!G.typeAnnotation)return!0;if(!re||re.static||re.accessibility)return!1;if(!re.computed){let N=re.key&&re.key.name;if(N==="in"||N==="instanceof")return!0}if($(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 N=re.value?re.value.generator:re.generator;return!!(re.computed||N)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:Q,printSwitchCaseConsequent:ne}}}),u1=we({"src/language-js/print/block.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{isNonEmptyArray:v}=ye(),{builders:{hardline:D,indent:f}}=wn(),{hasComment:d,CommentCheckFlags:h,isNextLineEmpty:E}=dr(),{printHardlineAfterHeritage:S}=tu(),{printBody:M}=o1();function k(C,w,j){let Q=C.getValue(),ne=[];if(Q.type==="StaticBlock"&&ne.push("static "),Q.type==="ClassBody"&&v(Q.body)){let K=C.getParentNode();ne.push(S(K))}ne.push("{");let $=B(C,w,j);if($)ne.push(f([D,$]),D);else{let K=C.getParentNode(),G=C.getParentNode(1);K.type==="ArrowFunctionExpression"||K.type==="FunctionExpression"||K.type==="FunctionDeclaration"||K.type==="ObjectMethod"||K.type==="ClassMethod"||K.type==="ClassPrivateMethod"||K.type==="ForStatement"||K.type==="WhileStatement"||K.type==="DoWhileStatement"||K.type==="DoExpression"||K.type==="CatchClause"&&!G.finalizer||K.type==="TSModuleDeclaration"||K.type==="TSDeclareFunction"||Q.type==="StaticBlock"||Q.type==="ClassBody"||ne.push(D)}return ne.push("}"),ne}function B(C,w,j){let Q=C.getValue(),ne=v(Q.directives),$=Q.body.some(re=>re.type!=="EmptyStatement"),K=d(Q,h.Dangling);if(!ne&&!$&&!K)return"";let G=[];if(ne&&C.each((re,te,De)=>{G.push(j()),(te<De.length-1||$||K)&&(G.push(D),E(re.getValue(),w)&&G.push(D))},"directives"),$&&G.push(M(C,w,j)),K&&G.push(p(C,w,!0)),Q.type==="Program"){let re=C.getParentNode();(!re||re.type!=="ModuleExpression")&&G.push(D)}return G}A.exports={printBlock:k,printBlockBody:B}}}),rA=we({"src/language-js/print/typescript.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{hasNewlineInRange:v}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:S,conditionalGroup:M,ifBreak:k}}=wn(),{isStringLiteral:B,getTypeScriptMappedTypeModifier:C,shouldPrintComma:w,isCallExpression:j,isMemberExpression:Q}=dr(),ne=nA(),{locStart:$,locEnd:K}=ii(),{printOptionalToken:G,printTypeScriptModifiers:re}=xi(),{printTernary:te}=a1(),{printFunctionParameters:De,shouldGroupFunctionParameters:N}=Vl(),{printTemplateLiteral:J}=oo(),{printArrayItems:F}=Ko(),{printObject:R}=Pp(),{printClassProperty:y,printClassMethod:P}=tu(),{printTypeParameter:I,printTypeParameters:q}=Ul(),{printPropertyKey:U}=eu(),{printFunction:z,printMethodInternal:ie}=Wl(),{printInterface:ce}=i1(),{printBlock:ge}=u1(),{printTypeAlias:fe,printIntersectionType:Ne,printUnionType:se,printFunctionType:Ue,printTupleType:me,printIndexedAccessType:ue,printJSDocType:qe}=ql();function it(Je,yt,be){let Me=Je.getValue();if(!Me.type.startsWith("TS"))return;if(ne(Me))return Me.type.slice(2,-7).toLowerCase();let ht=yt.semi?";":"",mt=[];switch(Me.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Yt=!(Me.expression.type==="ArrayExpression"||Me.expression.type==="ObjectExpression"),$e=E(["<",S([h,be("typeAnnotation")]),h,">"]),xe=[k("("),S([h,be("expression")]),h,k(")")];return Yt?M([[$e,be("expression")],[$e,E(xe,{shouldBreak:!0})],[$e,be("expression")]]):E([$e,be("expression")])}case"TSDeclareFunction":return z(Je,be,yt);case"TSExportAssignment":return["export = ",be("expression"),ht];case"TSModuleBlock":return ge(Je,yt,be);case"TSInterfaceBody":case"TSTypeLiteral":return R(Je,yt,be);case"TSTypeAliasDeclaration":return fe(Je,yt,be);case"TSQualifiedName":return D(".",[be("left"),be("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return P(Je,yt,be);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return y(Je,yt,be);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return mt.push(be("expression")),Me.typeParameters&&mt.push(be("typeParameters")),mt;case"TSTemplateLiteralType":return J(Je,be,yt);case"TSNamedTupleMember":return[be("label"),Me.optional?"?":"",": ",be("elementType")];case"TSRestType":return["...",be("typeAnnotation")];case"TSOptionalType":return[be("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return ce(Je,yt,be);case"TSClassImplements":return[be("expression"),be("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return q(Je,yt,be,"params");case"TSTypeParameter":return I(Je,yt,be);case"TSSatisfiesExpression":case"TSAsExpression":{let Yt=Me.type==="TSAsExpression"?"as":"satisfies";mt.push(be("expression"),` ${Yt} `,be("typeAnnotation"));let $e=Je.getParentNode();return j($e)&&$e.callee===Me||Q($e)&&$e.object===Me?E([S([h,...mt]),h]):mt}case"TSArrayType":return[be("elementType"),"[]"];case"TSPropertySignature":return Me.readonly&&mt.push("readonly "),mt.push(U(Je,yt,be),G(Je)),Me.typeAnnotation&&mt.push(": ",be("typeAnnotation")),Me.initializer&&mt.push(" = ",be("initializer")),mt;case"TSParameterProperty":return Me.accessibility&&mt.push(Me.accessibility+" "),Me.export&&mt.push("export "),Me.static&&mt.push("static "),Me.override&&mt.push("override "),Me.readonly&&mt.push("readonly "),mt.push(be("parameter")),mt;case"TSTypeQuery":return["typeof ",be("exprName"),be("typeParameters")];case"TSIndexSignature":{let Yt=Je.getParentNode(),$e=Me.parameters.length>1?k(w(yt)?",":""):"",xe=E([S([h,D([", ",h],Je.map(be,"parameters"))]),$e,h]);return[Me.export?"export ":"",Me.accessibility?[Me.accessibility," "]:"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.declare?"declare ":"","[",Me.parameters?xe:"",Me.typeAnnotation?"]: ":"]",Me.typeAnnotation?be("typeAnnotation"):"",Yt.type==="ClassBody"?ht:""]}case"TSTypePredicate":return[Me.asserts?"asserts ":"",be("parameterName"),Me.typeAnnotation?[" is ",be("typeAnnotation")]:""];case"TSNonNullExpression":return[be("expression"),"!"];case"TSImportType":return[Me.isTypeOf?"typeof ":"","import(",be(Me.parameter?"parameter":"argument"),")",Me.qualifier?[".",be("qualifier")]:"",q(Je,yt,be,"typeParameters")];case"TSLiteralType":return be("literal");case"TSIndexedAccessType":return ue(Je,yt,be);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Me.type==="TSConstructorType"&&Me.abstract&&mt.push("abstract "),Me.type!=="TSCallSignatureDeclaration"&&mt.push("new "),mt.push(E(De(Je,be,yt,!1,!0))),Me.returnType||Me.typeAnnotation){let Yt=Me.type==="TSConstructorType";mt.push(Yt?" => ":": ",be("returnType"),be("typeAnnotation"))}return mt}case"TSTypeOperator":return[Me.operator," ",be("typeAnnotation")];case"TSMappedType":{let Yt=v(yt.originalText,$(Me),K(Me));return E(["{",S([yt.bracketSpacing?f:h,be("typeParameter"),Me.optional?C(Me.optional,"?"):"",Me.typeAnnotation?": ":"",be("typeAnnotation"),k(ht)]),p(Je,yt,!0),yt.bracketSpacing?f:h,"}"],{shouldBreak:Yt})}case"TSMethodSignature":{let Yt=Me.kind&&Me.kind!=="method"?`${Me.kind} `:"";mt.push(Me.accessibility?[Me.accessibility," "]:"",Yt,Me.export?"export ":"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.abstract?"abstract ":"",Me.declare?"declare ":"",Me.computed?"[":"",be("key"),Me.computed?"]":"",G(Je));let $e=De(Je,be,yt,!1,!0),xe=Me.returnType?"returnType":"typeAnnotation",Ye=Me[xe],Ze=Ye?be(xe):"",At=N(Me,Ze);return mt.push(At?E($e):$e),Ye&&mt.push(": ",E(Ze)),E(mt)}case"TSNamespaceExportDeclaration":return mt.push("export as namespace ",be("id")),yt.semi&&mt.push(";"),E(mt);case"TSEnumDeclaration":return Me.declare&&mt.push("declare "),Me.modifiers&&mt.push(re(Je,yt,be)),Me.const&&mt.push("const "),mt.push("enum ",be("id")," "),Me.members.length===0?mt.push(E(["{",p(Je,yt),h,"}"])):mt.push(E(["{",S([d,F(Je,yt,"members",be),w(yt,"es5")?",":""]),p(Je,yt,!0),d,"}"])),mt;case"TSEnumMember":return Me.computed?mt.push("[",be("id"),"]"):mt.push(be("id")),Me.initializer&&mt.push(" = ",be("initializer")),mt;case"TSImportEqualsDeclaration":return Me.isExport&&mt.push("export "),mt.push("import "),Me.importKind&&Me.importKind!=="value"&&mt.push(Me.importKind," "),mt.push(be("id")," = ",be("moduleReference")),yt.semi&&mt.push(";"),E(mt);case"TSExternalModuleReference":return["require(",be("expression"),")"];case"TSModuleDeclaration":{let Yt=Je.getParentNode(),$e=B(Me.id),xe=Yt.type==="TSModuleDeclaration",Ye=Me.body&&Me.body.type==="TSModuleDeclaration";if(xe)mt.push(".");else{Me.declare&&mt.push("declare "),mt.push(re(Je,yt,be));let Ze=yt.originalText.slice($(Me),$(Me.id));Me.id.type==="Identifier"&&Me.id.name==="global"&&!/namespace|module/.test(Ze)||mt.push($e||/(?:^|\s)module(?:\s|$)/.test(Ze)?"module ":"namespace ")}return mt.push(be("id")),Ye?mt.push(be("body")):Me.body?mt.push(" ",E(be("body"))):mt.push(ht),mt}case"TSConditionalType":return te(Je,yt,be);case"TSInferType":return["infer"," ",be("typeParameter")];case"TSIntersectionType":return Ne(Je,yt,be);case"TSUnionType":return se(Je,yt,be);case"TSFunctionType":return Ue(Je,yt,be);case"TSTupleType":return me(Je,yt,be);case"TSTypeReference":return[be("typeName"),q(Je,yt,be,"typeParameters")];case"TSTypeAnnotation":return be("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ie(Je,yt,be);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return qe(Je,be,"?");case"TSJSDocNonNullableType":return qe(Je,be,"!");case"TSInstantiationExpression":return[be("expression"),be("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Me.type)}.`)}}A.exports={printTypescript:it}}}),iA=we({"src/language-js/print/comment.js"(m,A){Re();var{hasNewline:p}=ye(),{builders:{join:v,hardline:D},utils:{replaceTextEndOfLine:f}}=wn(),{isLineComment:d}=dr(),{locStart:h,locEnd:E}=ii(),S=oa();function M(C,w){let j=C.getValue();if(d(j))return w.originalText.slice(h(j),E(j)).trimEnd();if(S(j)){if(k(j)){let $=B(j);return j.trailing&&!p(w.originalText,h(j),{backwards:!0})?[D,$]:$}let Q=E(j),ne=w.originalText.slice(Q-3,Q)==="*-/";return["/*",f(j.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function k(C){let w=`*${C.value}*`.split(`
216
+ `);return w.length>1&&w.every(j=>j.trim()[0]==="*")}function B(C){let w=C.value.split(`
217
+ `);return["/*",v(D,w.map((j,Q)=>Q===0?j.trimEnd():" "+(Q<w.length-1?j.trim():j.trimStart()))),"*/"]}A.exports={printComment:M}}}),sA=we({"src/language-js/print/literal.js"(m,A){Re();var{printString:p,printNumber:v}=ye(),{replaceTextEndOfLine:D}=ia(),{printDirective:f}=xi();function d(M,k){let B=M.getNode();switch(B.type){case"RegExpLiteral":return S(B);case"BigIntLiteral":return E(B.bigint||B.extra.raw);case"NumericLiteral":return v(B.extra.raw);case"StringLiteral":return D(p(B.extra.raw,k));case"NullLiteral":return"null";case"BooleanLiteral":return String(B.value);case"DecimalLiteral":return v(B.value)+"m";case"Literal":{if(B.regex)return S(B.regex);if(B.bigint)return E(B.raw);if(B.decimal)return v(B.decimal)+"m";let{value:C}=B;return typeof C=="number"?v(B.raw):typeof C=="string"?h(M)?f(B.raw,k):D(p(B.raw,k)):String(C)}}}function h(M){if(M.getName()!=="expression")return;let k=M.getParentNode();return k.type==="ExpressionStatement"&&k.directive}function E(M){return M.toLowerCase()}function S(M){let{pattern:k,flags:B}=M;return B=[...B].sort().join(""),`/${k}/${B}`}A.exports={printLiteral:d}}}),aA=we({"src/language-js/printer-estree.js"(m,A){Re();var{printDanglingComments:p}=Rr(),{hasNewline:v}=ye(),{builders:{join:D,line:f,hardline:d,softline:h,group:E,indent:S},utils:{replaceTextEndOfLine:M}}=wn(),k=VE(),B=qE(),{insertPragma:C}=Kg(),w=Zg(),j=uo(),Q=e1(),{hasFlowShorthandAnnotationComment:ne,hasComment:$,CommentCheckFlags:K,isTheOnlyJsxElementInMarkdown:G,isLineComment:re,isNextLineEmpty:te,needsHardlineAfterDanglingComment:De,hasIgnoreComment:N,isCallExpression:J,isMemberExpression:F,markerForIfWithoutBlockAndSameLineComment:R}=dr(),{locStart:y,locEnd:P}=ii(),I=oa(),{printHtmlBinding:q,isVueEventBindingExpression:U}=QE(),{printAngular:z}=KE(),{printJsx:ie,hasJsxIgnoreComment:ce}=ZE(),{printFlow:ge}=tA(),{printTypescript:fe}=rA(),{printOptionalToken:Ne,printBindExpressionCallee:se,printTypeAnnotation:Ue,adjustClause:me,printRestSpread:ue,printDefiniteToken:qe,printDirective:it}=xi(),{printImportDeclaration:Je,printExportDeclaration:yt,printExportAllDeclaration:be,printModuleSpecifier:Me}=s1(),{printTernary:ht}=a1(),{printTemplateLiteral:mt}=oo(),{printArray:Yt}=Ko(),{printObject:$e}=Pp(),{printClass:xe,printClassMethod:Ye,printClassProperty:Ze}=tu(),{printProperty:At}=eu(),{printFunction:Tt,printArrowFunction:It,printMethod:cn,printReturnStatement:Bn,printThrowStatement:Ln}=Wl(),{printCallExpression:ln}=r1(),{printVariableDeclarator:Dn,printAssignmentExpression:lt}=Zo(),{printBinaryishExpression:Ae}=Lp(),{printSwitchCaseConsequent:gt}=o1(),{printMemberExpression:Oe}=n1(),{printBlock:dt,printBlockBody:en}=u1(),{printComment:Ut}=iA(),{printLiteral:bt}=sA(),{printDecorators:V}=kp();function _e(Vt,un,Ot,Ar){let sn=st(Vt,un,Ot,Ar);if(!sn)return"";let vr=Vt.getValue(),{type:nn}=vr;if(nn==="ClassMethod"||nn==="ClassPrivateMethod"||nn==="ClassProperty"||nn==="ClassAccessorProperty"||nn==="AccessorProperty"||nn==="TSAbstractAccessorProperty"||nn==="PropertyDefinition"||nn==="TSAbstractPropertyDefinition"||nn==="ClassPrivateProperty"||nn==="MethodDefinition"||nn==="TSAbstractMethodDefinition"||nn==="TSDeclareMethod")return sn;let An=[sn],kn=V(Vt,un,Ot),ar=vr.type==="ClassExpression"&&kn;if(kn&&(An=[...kn,sn],!ar))return E(An);if(!j(Vt,un))return Ar&&Ar.needsSemi&&An.unshift(";"),An.length===1&&An[0]===sn?sn:An;if(ar&&(An=[S([f,...An])]),An.unshift("("),Ar&&Ar.needsSemi&&An.unshift(";"),ne(vr)){let[an]=vr.trailingComments;An.push(" /*",an.value.trimStart(),"*/"),an.printed=!0}return ar&&An.push(f),An.push(")"),An}function st(Vt,un,Ot,Ar){let sn=Vt.getValue(),vr=un.semi?";":"";if(!sn)return"";if(typeof sn=="string")return sn;for(let An of[bt,q,z,ie,ge,fe]){let kn=An(Vt,un,Ot);if(typeof kn<"u")return kn}let nn=[];switch(sn.type){case"JsExpressionRoot":return Ot("node");case"JsonRoot":return[Ot("node"),d];case"File":return sn.program&&sn.program.interpreter&&nn.push(Ot(["program","interpreter"])),nn.push(Ot("program")),nn;case"Program":return en(Vt,un,Ot);case"EmptyStatement":return"";case"ExpressionStatement":{if(un.parser==="__vue_event_binding"||un.parser==="__vue_ts_event_binding"){let kn=Vt.getParentNode();if(kn.type==="Program"&&kn.body.length===1&&kn.body[0]===sn)return[Ot("expression"),U(sn.expression)?";":""]}let An=p(Vt,un,!0,kn=>{let{marker:ar}=kn;return ar===R});return[Ot("expression"),G(un,Vt)?"":vr,An?[" ",An]:""]}case"ParenthesizedExpression":return!$(sn.expression)&&(sn.expression.type==="ObjectExpression"||sn.expression.type==="ArrayExpression")?["(",Ot("expression"),")"]:E(["(",S([h,Ot("expression")]),h,")"]);case"AssignmentExpression":return lt(Vt,un,Ot);case"VariableDeclarator":return Dn(Vt,un,Ot);case"BinaryExpression":case"LogicalExpression":return Ae(Vt,un,Ot);case"AssignmentPattern":return[Ot("left")," = ",Ot("right")];case"OptionalMemberExpression":case"MemberExpression":return Oe(Vt,un,Ot);case"MetaProperty":return[Ot("meta"),".",Ot("property")];case"BindExpression":return sn.object&&nn.push(Ot("object")),nn.push(E(S([h,se(Vt,un,Ot)]))),nn;case"Identifier":return[sn.name,Ne(Vt),qe(Vt),Ue(Vt,un,Ot)];case"V8IntrinsicIdentifier":return["%",sn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return ue(Vt,un,Ot);case"FunctionDeclaration":case"FunctionExpression":return Tt(Vt,Ot,un,Ar);case"ArrowFunctionExpression":return It(Vt,un,Ot,Ar);case"YieldExpression":return nn.push("yield"),sn.delegate&&nn.push("*"),sn.argument&&nn.push(" ",Ot("argument")),nn;case"AwaitExpression":{if(nn.push("await"),sn.argument){nn.push(" ",Ot("argument"));let An=Vt.getParentNode();if(J(An)&&An.callee===sn||F(An)&&An.object===sn){nn=[S([h,...nn]),h];let kn=Vt.findAncestor(ar=>ar.type==="AwaitExpression"||ar.type==="BlockStatement");if(!kn||kn.type!=="AwaitExpression")return E(nn)}}return nn}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return yt(Vt,un,Ot);case"ExportAllDeclaration":return be(Vt,un,Ot);case"ImportDeclaration":return Je(Vt,un,Ot);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Me(Vt,un,Ot);case"ImportAttribute":return[Ot("key"),": ",Ot("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return dt(Vt,un,Ot);case"ThrowStatement":return Ln(Vt,un,Ot);case"ReturnStatement":return Bn(Vt,un,Ot);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ln(Vt,un,Ot);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return $e(Vt,un,Ot);case"ObjectProperty":case"Property":return sn.method||sn.kind==="get"||sn.kind==="set"?cn(Vt,un,Ot):At(Vt,un,Ot);case"ObjectMethod":return cn(Vt,un,Ot);case"Decorator":return["@",Ot("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yt(Vt,un,Ot);case"SequenceExpression":{let An=Vt.getParentNode(0);if(An.type==="ExpressionStatement"||An.type==="ForStatement"){let kn=[];return Vt.each((ar,an)=>{an===0?kn.push(Ot()):kn.push(",",S([f,Ot()]))},"expressions"),E(kn)}return E(D([",",f],Vt.map(Ot,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ot("value"),vr];case"DirectiveLiteral":return it(sn.extra.raw,un);case"UnaryExpression":return nn.push(sn.operator),/[a-z]$/.test(sn.operator)&&nn.push(" "),$(sn.argument)?nn.push(E(["(",S([h,Ot("argument")]),h,")"])):nn.push(Ot("argument")),nn;case"UpdateExpression":return nn.push(Ot("argument"),sn.operator),sn.prefix&&nn.reverse(),nn;case"ConditionalExpression":return ht(Vt,un,Ot);case"VariableDeclaration":{let An=Vt.map(Ot,"declarations"),kn=Vt.getParentNode(),ar=kn.type==="ForStatement"||kn.type==="ForInStatement"||kn.type==="ForOfStatement",an=sn.declarations.some(xn=>xn.init),Tn;return An.length===1&&!$(sn.declarations[0])?Tn=An[0]:An.length>0&&(Tn=S(An[0])),nn=[sn.declare?"declare ":"",sn.kind,Tn?[" ",Tn]:"",S(An.slice(1).map(xn=>[",",an&&!ar?d:f,xn]))],ar&&kn.body!==sn||nn.push(vr),E(nn)}case"WithStatement":return E(["with (",Ot("object"),")",me(sn.body,Ot("body"))]);case"IfStatement":{let An=me(sn.consequent,Ot("consequent")),kn=E(["if (",E([S([h,Ot("test")]),h]),")",An]);if(nn.push(kn),sn.alternate){let ar=$(sn.consequent,K.Trailing|K.Line)||De(sn),an=sn.consequent.type==="BlockStatement"&&!ar;nn.push(an?" ":d),$(sn,K.Dangling)&&nn.push(p(Vt,un,!0),ar?d:" "),nn.push("else",E(me(sn.alternate,Ot("alternate"),sn.alternate.type==="IfStatement")))}return nn}case"ForStatement":{let An=me(sn.body,Ot("body")),kn=p(Vt,un,!0),ar=kn?[kn,h]:"";return!sn.init&&!sn.test&&!sn.update?[ar,E(["for (;;)",An])]:[ar,E(["for (",E([S([h,Ot("init"),";",f,Ot("test"),";",f,Ot("update")]),h]),")",An])]}case"WhileStatement":return E(["while (",E([S([h,Ot("test")]),h]),")",me(sn.body,Ot("body"))]);case"ForInStatement":return E(["for (",Ot("left")," in ",Ot("right"),")",me(sn.body,Ot("body"))]);case"ForOfStatement":return E(["for",sn.await?" await":""," (",Ot("left")," of ",Ot("right"),")",me(sn.body,Ot("body"))]);case"DoWhileStatement":{let An=me(sn.body,Ot("body"));return nn=[E(["do",An])],sn.body.type==="BlockStatement"?nn.push(" "):nn.push(d),nn.push("while (",E([S([h,Ot("test")]),h]),")",vr),nn}case"DoExpression":return[sn.async?"async ":"","do ",Ot("body")];case"BreakStatement":return nn.push("break"),sn.label&&nn.push(" ",Ot("label")),nn.push(vr),nn;case"ContinueStatement":return nn.push("continue"),sn.label&&nn.push(" ",Ot("label")),nn.push(vr),nn;case"LabeledStatement":return sn.body.type==="EmptyStatement"?[Ot("label"),":;"]:[Ot("label"),": ",Ot("body")];case"TryStatement":return["try ",Ot("block"),sn.handler?[" ",Ot("handler")]:"",sn.finalizer?[" finally ",Ot("finalizer")]:""];case"CatchClause":if(sn.param){let An=$(sn.param,ar=>!I(ar)||ar.leading&&v(un.originalText,P(ar))||ar.trailing&&v(un.originalText,y(ar),{backwards:!0})),kn=Ot("param");return["catch ",An?["(",S([h,kn]),h,") "]:["(",kn,") "],Ot("body")]}return["catch ",Ot("body")];case"SwitchStatement":return[E(["switch (",S([h,Ot("discriminant")]),h,")"])," {",sn.cases.length>0?S([d,D(d,Vt.map((An,kn,ar)=>{let an=An.getValue();return[Ot(),kn!==ar.length-1&&te(an,un)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{sn.test?nn.push("case ",Ot("test"),":"):nn.push("default:"),$(sn,K.Dangling)&&nn.push(" ",p(Vt,un,!0));let An=sn.consequent.filter(kn=>kn.type!=="EmptyStatement");if(An.length>0){let kn=gt(Vt,un,Ot);nn.push(An.length===1&&An[0].type==="BlockStatement"?[" ",kn]:S([d,kn]))}return nn}case"DebuggerStatement":return["debugger",vr];case"ClassDeclaration":case"ClassExpression":return xe(Vt,un,Ot);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Ye(Vt,un,Ot);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ze(Vt,un,Ot);case"TemplateElement":return M(sn.value.raw);case"TemplateLiteral":return mt(Vt,Ot,un);case"TaggedTemplateExpression":return[Ot("tag"),Ot("typeParameters"),Ot("quasi")];case"PrivateIdentifier":return["#",Ot("name")];case"PrivateName":return["#",Ot("id")];case"InterpreterDirective":return nn.push("#!",sn.value,d),te(sn,un)&&nn.push(d),nn;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{nn.push("module {");let An=Ot("body");return An&&nn.push(S([d,An]),d),nn.push("}"),nn}default:throw new Error("unknown type: "+JSON.stringify(sn.type))}}function Pt(Vt){return Vt.type&&!I(Vt)&&!re(Vt)&&Vt.type!=="EmptyStatement"&&Vt.type!=="TemplateElement"&&Vt.type!=="Import"&&Vt.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:Q,print:_e,embed:k,insertPragma:C,massageAstNode:B,hasPrettierIgnore(Vt){return N(Vt)||ce(Vt)},willPrintOwnComments:w.willPrintOwnComments,canAttachComment:Pt,printComment:Ut,isBlockComment:I,handleComments:{avoidAstMutation:!0,ownLine:w.handleOwnLineComment,endOfLine:w.handleEndOfLineComment,remaining:w.handleRemainingComment},getCommentChildNodes:w.getCommentChildNodes}}}),oA=we({"src/language-js/printer-estree-json.js"(m,A){Re();var{builders:{hardline:p,indent:v,join:D}}=wn(),f=e1();function d(M,k,B){let C=M.getValue();switch(C.type){case"JsonRoot":return[B("node"),p];case"ArrayExpression":{if(C.elements.length===0)return"[]";let w=M.map(()=>M.getValue()===null?"null":B(),"elements");return["[",v([p,D([",",p],w)]),p,"]"]}case"ObjectExpression":return C.properties.length===0?"{}":["{",v([p,D([",",p],M.map(B,"properties"))]),p,"}"];case"ObjectProperty":return[B("key"),": ",B("value")];case"UnaryExpression":return[C.operator==="+"?"":C.operator,B("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return C.value?"true":"false";case"StringLiteral":return JSON.stringify(C.value);case"NumericLiteral":return h(M)?JSON.stringify(String(C.value)):JSON.stringify(C.value);case"Identifier":return h(M)?JSON.stringify(C.name):C.name;case"TemplateLiteral":return B(["quasis",0]);case"TemplateElement":return JSON.stringify(C.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(C.type))}}function h(M){return M.getName()==="key"&&M.getParentNode().type==="ObjectProperty"}var E=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function S(M,k){let{type:B}=M;if(B==="ObjectProperty"){let{key:C}=M;C.type==="Identifier"?k.key={type:"StringLiteral",value:C.name}:C.type==="NumericLiteral"&&(k.key={type:"StringLiteral",value:String(C.value)});return}if(B==="UnaryExpression"&&M.operator==="+")return k.argument;if(B==="ArrayExpression"){for(let[C,w]of M.elements.entries())w===null&&k.elements.splice(C,0,{type:"NullLiteral"});return}if(B==="TemplateLiteral")return{type:"StringLiteral",value:M.quasis[0].value.cooked}}S.ignoredProperties=E,A.exports={preprocess:f,print:d,massageAstNode:S}}}),lo=we({"src/common/common-options.js"(m,A){Re();var p="Common";A.exports={bracketSpacing:{since:"0.0.0",category:p,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:p,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:p,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:p,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:p,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),uA=we({"src/language-js/options.js"(m,A){Re();var p=lo(),v="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:v,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:p.bracketSameLine,bracketSpacing:p.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:v,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:v,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:p.singleQuote,jsxSingleQuote:{since:"1.15.0",category:v,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:v,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:v,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:p.singleAttributePerLine}}}),lA=we({"src/language-js/parse/parsers.js"(){Re()}}),Bp=we({"node_modules/linguist-languages/data/JavaScript.json"(m,A){A.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),cA=we({"node_modules/linguist-languages/data/TypeScript.json"(m,A){A.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),fA=we({"node_modules/linguist-languages/data/TSX.json"(m,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),l1=we({"node_modules/linguist-languages/data/JSON.json"(m,A){A.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),pA=we({"node_modules/linguist-languages/data/JSON with Comments.json"(m,A){A.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),dA=we({"node_modules/linguist-languages/data/JSON5.json"(m,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),hA=we({"src/language-js/index.js"(m,A){Re();var p=aa(),v=aA(),D=oA(),f=uA(),d=lA(),h=[p(Bp(),S=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...S.interpreters,"zx"],extensions:[...S.extensions.filter(M=>M!==".jsx"),".wxs"]})),p(Bp(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),p(Bp(),()=>({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})),p(cA(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),p(fA(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),p(l1(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),p(l1(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:S.extensions.filter(M=>M!==".jsonl")})),p(pA(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...S.filenames,".eslintrc",".swcrc"]})),p(dA(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],E={estree:v,"estree-json":D};A.exports={languages:h,options:f,printers:E,parsers:d}}}),mA=we({"src/language-css/clean.js"(m,A){Re();var{isFrontMatterNode:p}=ye(),v=qr(),D=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function f(h,E,S){if(p(h)&&h.lang==="yaml"&&delete E.value,h.type==="css-comment"&&S.type==="css-root"&&S.nodes.length>0&&((S.nodes[0]===h||p(S.nodes[0])&&S.nodes[1]===h)&&(delete E.text,/^\*\s*@(?:format|prettier)\s*$/.test(h.text))||S.type==="css-root"&&v(S.nodes)===h))return null;if(h.type==="value-root"&&delete E.text,(h.type==="media-query"||h.type==="media-query-list"||h.type==="media-feature-expression")&&delete E.value,h.type==="css-rule"&&delete E.params,h.type==="selector-combinator"&&(E.value=E.value.replace(/\s+/g," ")),h.type==="media-feature"&&(E.value=E.value.replace(/ /g,"")),(h.type==="value-word"&&(h.isColor&&h.isHex||["initial","inherit","unset","revert"].includes(E.value.replace().toLowerCase()))||h.type==="media-feature"||h.type==="selector-root-invalid"||h.type==="selector-pseudo")&&(E.value=E.value.toLowerCase()),h.type==="css-decl"&&(E.prop=E.prop.toLowerCase()),(h.type==="css-atrule"||h.type==="css-import")&&(E.name=E.name.toLowerCase()),h.type==="value-number"&&(E.unit=E.unit.toLowerCase()),(h.type==="media-feature"||h.type==="media-keyword"||h.type==="media-type"||h.type==="media-unknown"||h.type==="media-url"||h.type==="media-value"||h.type==="selector-attribute"||h.type==="selector-string"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="value-string")&&E.value&&(E.value=d(E.value)),h.type==="selector-attribute"&&(E.attribute=E.attribute.trim(),E.namespace&&typeof E.namespace=="string"&&(E.namespace=E.namespace.trim(),E.namespace.length===0&&(E.namespace=!0)),E.value&&(E.value=E.value.trim().replace(/^["']|["']$/g,""),delete E.quoted)),(h.type==="media-value"||h.type==="media-type"||h.type==="value-number"||h.type==="selector-root-invalid"||h.type==="selector-class"||h.type==="selector-combinator"||h.type==="selector-tag")&&E.value&&(E.value=E.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(M,k,B)=>{let C=Number(k);return Number.isNaN(C)?M:C+B.toLowerCase()})),h.type==="selector-tag"){let M=h.value.toLowerCase();["from","to"].includes(M)&&(E.value=M)}if(h.type==="css-atrule"&&h.name.toLowerCase()==="supports"&&delete E.value,h.type==="selector-unknown"&&delete E.value,h.type==="value-comma_group"){let M=h.groups.findIndex(k=>k.type==="value-number"&&k.unit==="...");M!==-1&&(E.groups[M].unit="",E.groups.splice(M+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(h.type==="value-comma_group"&&h.groups.some(M=>M.type==="value-atword"&&M.value.endsWith("[")||M.type==="value-word"&&M.value.startsWith("]")))return{type:"value-atword",value:h.groups.map(M=>M.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}f.ignoredProperties=D;function d(h){return h.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=f}}),Mp=we({"src/utils/front-matter/print.js"(m,A){Re();var{builders:{hardline:p,markAsRoot:v}}=wn();function D(f,d){if(f.lang==="yaml"){let h=f.value.trim(),E=h?d(h,{parser:"yaml"},{stripTrailingHardline:!0}):"";return v([f.startDelimiter,p,E,E?p:"",f.endDelimiter])}}A.exports=D}}),gA=we({"src/language-css/embed.js"(m,A){Re();var{builders:{hardline:p}}=wn(),v=Mp();function D(f,d,h){let E=f.getValue();if(E.type==="front-matter"){let S=v(E,h);return S?[S,p]:""}}A.exports=D}}),c1=we({"src/utils/front-matter/parse.js"(m,A){Re();var p=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function v(D){let f=D.match(p);if(!f)return{content:D};let{startDelimiter:d,language:h,value:E="",endDelimiter:S}=f.groups,M=h.trim()||"yaml";if(d==="+++"&&(M="toml"),M!=="yaml"&&d!==S)return{content:D};let[k]=f;return{frontMatter:{type:"front-matter",lang:M,value:E,startDelimiter:d,endDelimiter:S,raw:k.replace(/\n$/,"")},content:k.replace(/[^\n]/g," ")+D.slice(k.length)}}A.exports=v}}),yA=we({"src/language-css/pragma.js"(m,A){Re();var p=Kg(),v=c1();function D(d){return p.hasPragma(v(d).content)}function f(d){let{frontMatter:h,content:E}=v(d);return(h?h.raw+`
218
+
219
+ `:"")+p.insertPragma(E)}A.exports={hasPragma:D,insertPragma:f}}}),DA=we({"src/language-css/utils/index.js"(m,A){Re();var p=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 v($e,xe){let Ye=Array.isArray(xe)?xe:[xe],Ze=-1,At;for(;At=$e.getParentNode(++Ze);)if(Ye.includes(At.type))return Ze;return-1}function D($e,xe){let Ye=v($e,xe);return Ye===-1?null:$e.getParentNode(Ye)}function f($e){var xe;let Ye=D($e,"css-decl");return Ye==null||(xe=Ye.prop)===null||xe===void 0?void 0:xe.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function h($e){return d.has($e.toLowerCase())}function E($e,xe){let Ye=D($e,"css-atrule");return(Ye==null?void 0:Ye.name)&&Ye.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(xe.toLowerCase())}function S($e){return $e.includes("$")||$e.includes("@")||$e.includes("#")||$e.startsWith("%")||$e.startsWith("--")||$e.startsWith(":--")||$e.includes("(")&&$e.includes(")")?$e:$e.toLowerCase()}function M($e,xe){var Ye;let Ze=D($e,"value-func");return(Ze==null||(Ye=Ze.value)===null||Ye===void 0?void 0:Ye.toLowerCase())===xe}function k($e){var xe;let Ye=D($e,"css-rule"),Ze=Ye==null||(xe=Ye.raws)===null||xe===void 0?void 0:xe.selector;return Ze&&(Ze.startsWith(":import")||Ze.startsWith(":export"))}function B($e,xe){let Ye=Array.isArray(xe)?xe:[xe],Ze=D($e,"css-atrule");return Ze&&Ye.includes(Ze.name.toLowerCase())}function C($e){let xe=$e.getValue(),Ye=D($e,"css-atrule");return(Ye==null?void 0:Ye.name)==="import"&&xe.groups[0].value==="url"&&xe.groups.length===2}function w($e){return $e.type==="value-func"&&$e.value.toLowerCase()==="url"}function j($e,xe){var Ye;let Ze=(Ye=$e.getParentNode())===null||Ye===void 0?void 0:Ye.nodes;return Ze&&Ze.indexOf(xe)===Ze.length-1}function Q($e){let{selector:xe}=$e;return xe?typeof xe=="string"&&/^@.+:.*$/.test(xe)||xe.value&&/^@.+:.*$/.test(xe.value):!1}function ne($e){return $e.type==="value-word"&&["from","through","end"].includes($e.value)}function $($e){return $e.type==="value-word"&&["and","or","not"].includes($e.value)}function K($e){return $e.type==="value-word"&&$e.value==="in"}function G($e){return $e.type==="value-operator"&&$e.value==="*"}function re($e){return $e.type==="value-operator"&&$e.value==="/"}function te($e){return $e.type==="value-operator"&&$e.value==="+"}function De($e){return $e.type==="value-operator"&&$e.value==="-"}function N($e){return $e.type==="value-operator"&&$e.value==="%"}function J($e){return G($e)||re($e)||te($e)||De($e)||N($e)}function F($e){return $e.type==="value-word"&&["==","!="].includes($e.value)}function R($e){return $e.type==="value-word"&&["<",">","<=",">="].includes($e.value)}function y($e){return $e.type==="css-atrule"&&["if","else","for","each","while"].includes($e.name)}function P($e){var xe;return((xe=$e.raws)===null||xe===void 0?void 0:xe.params)&&/^\(\s*\)$/.test($e.raws.params)}function I($e){return $e.name.startsWith("prettier-placeholder")}function q($e){return $e.prop.startsWith("@prettier-placeholder")}function U($e,xe){return $e.value==="$$"&&$e.type==="value-func"&&(xe==null?void 0:xe.type)==="value-word"&&!xe.raws.before}function z($e){var xe,Ye;return((xe=$e.value)===null||xe===void 0?void 0:xe.type)==="value-root"&&((Ye=$e.value.group)===null||Ye===void 0?void 0:Ye.type)==="value-value"&&$e.prop.toLowerCase()==="composes"}function ie($e){var xe,Ye,Ze;return((xe=$e.value)===null||xe===void 0||(Ye=xe.group)===null||Ye===void 0||(Ze=Ye.group)===null||Ze===void 0?void 0:Ze.type)==="value-paren_group"&&$e.value.group.group.open!==null&&$e.value.group.group.close!==null}function ce($e){var xe;return((xe=$e.raws)===null||xe===void 0?void 0:xe.before)===""}function ge($e){var xe,Ye;return $e.type==="value-comma_group"&&((xe=$e.groups)===null||xe===void 0||(Ye=xe[1])===null||Ye===void 0?void 0:Ye.type)==="value-colon"}function fe($e){var xe;return $e.type==="value-paren_group"&&((xe=$e.groups)===null||xe===void 0?void 0:xe[0])&&ge($e.groups[0])}function Ne($e){var xe;let Ye=$e.getValue();if(Ye.groups.length===0)return!1;let Ze=$e.getParentNode(1);if(!fe(Ye)&&!(Ze&&fe(Ze)))return!1;let At=D($e,"css-decl");return!!(At!=null&&(xe=At.prop)!==null&&xe!==void 0&&xe.startsWith("$")||fe(Ze)||Ze.type==="value-func")}function se($e){return $e.type==="value-comment"&&$e.inline}function Ue($e){return $e.type==="value-word"&&$e.value==="#"}function me($e){return $e.type==="value-word"&&$e.value==="{"}function ue($e){return $e.type==="value-word"&&$e.value==="}"}function qe($e){return["value-word","value-atword"].includes($e.type)}function it($e){return($e==null?void 0:$e.type)==="value-colon"}function Je($e,xe){if(!ge(xe))return!1;let{groups:Ye}=xe,Ze=Ye.indexOf($e);return Ze===-1?!1:it(Ye[Ze+1])}function yt($e){return $e.value&&["not","and","or"].includes($e.value.toLowerCase())}function be($e){return $e.type!=="value-func"?!1:p.has($e.value.toLowerCase())}function Me($e){return/\/\//.test($e.split(/[\n\r]/).pop())}function ht($e){return($e==null?void 0:$e.type)==="value-atword"&&$e.value.startsWith("prettier-placeholder-")}function mt($e,xe){var Ye,Ze;if(((Ye=$e.open)===null||Ye===void 0?void 0:Ye.value)!=="("||((Ze=$e.close)===null||Ze===void 0?void 0:Ze.value)!==")"||$e.groups.some(At=>At.type!=="value-comma_group"))return!1;if(xe.type==="value-comma_group"){let At=xe.groups.indexOf($e)-1,Tt=xe.groups[At];if((Tt==null?void 0:Tt.type)==="value-word"&&Tt.value==="with")return!0}return!1}function Yt($e){var xe,Ye;return $e.type==="value-paren_group"&&((xe=$e.open)===null||xe===void 0?void 0:xe.value)==="("&&((Ye=$e.close)===null||Ye===void 0?void 0:Ye.value)===")"}A.exports={getAncestorCounter:v,getAncestorNode:D,getPropOfDeclNode:f,maybeToLowerCase:S,insideValueFunctionNode:M,insideICSSRuleNode:k,insideAtRuleNode:B,insideURLFunctionInImportAtRuleNode:C,isKeyframeAtRuleKeywords:E,isWideKeywords:h,isLastNode:j,isSCSSControlDirectiveNode:y,isDetachedRulesetDeclarationNode:Q,isRelationalOperatorNode:R,isEqualityOperatorNode:F,isMultiplicationNode:G,isDivisionNode:re,isAdditionNode:te,isSubtractionNode:De,isModuloNode:N,isMathOperatorNode:J,isEachKeywordNode:K,isForKeywordNode:ne,isURLFunctionNode:w,isIfElseKeywordNode:$,hasComposesNode:z,hasParensAroundNode:ie,hasEmptyRawBefore:ce,isDetachedRulesetCallNode:P,isTemplatePlaceholderNode:I,isTemplatePropNode:q,isPostcssSimpleVarNode:U,isKeyValuePairNode:ge,isKeyValuePairInParenGroupNode:fe,isKeyInValuePairNode:Je,isSCSSMapItemNode:Ne,isInlineValueCommentNode:se,isHashNode:Ue,isLeftCurlyBraceNode:me,isRightCurlyBraceNode:ue,isWordNode:qe,isColonNode:it,isMediaAndSupportsKeywords:yt,isColorAdjusterFuncNode:be,lastLineHasInlineComment:Me,isAtWordPlaceholderNode:ht,isConfigurationNode:mt,isParenGroupNode:Yt}}}),bA=we({"src/utils/line-column-to-index.js"(m,A){Re(),A.exports=function(p,v){let D=0;for(let f=0;f<p.line-1;++f)D=v.indexOf(`
220
+ `,D)+1;return D+p.column}}}),vA=we({"src/language-css/loc.js"(m,A){Re();var{skipEverythingButNewLine:p}=Lt(),v=qr(),D=bA();function f(C,w){return typeof C.sourceIndex=="number"?C.sourceIndex:C.source?D(C.source.start,w)-1:null}function d(C,w){if(C.type==="css-comment"&&C.inline)return p(w,C.source.startOffset);let j=C.nodes&&v(C.nodes);return j&&C.source&&!C.source.end&&(C=j),C.source&&C.source.end?D(C.source.end,w):null}function h(C,w){C.source&&(C.source.startOffset=f(C,w),C.source.endOffset=d(C,w));for(let j in C){let Q=C[j];j==="source"||!Q||typeof Q!="object"||(Q.type==="value-root"||Q.type==="value-unknown"?E(Q,S(C),Q.text||Q.value):h(Q,w))}}function E(C,w,j){C.source&&(C.source.startOffset=f(C,j)+w,C.source.endOffset=d(C,j)+w);for(let Q in C){let ne=C[Q];Q==="source"||!ne||typeof ne!="object"||E(ne,w,j)}}function S(C){let w=C.source.startOffset;return typeof C.prop=="string"&&(w+=C.prop.length),C.type==="css-atrule"&&typeof C.name=="string"&&(w+=1+C.name.length+C.raws.afterName.match(/^\s*:?\s*/)[0].length),C.type!=="css-atrule"&&C.raws&&typeof C.raws.between=="string"&&(w+=C.raws.between.length),w}function M(C){let w="initial",j="initial",Q,ne=!1,$=[];for(let K=0;K<C.length;K++){let G=C[K];switch(w){case"initial":if(G==="'"){w="single-quotes";continue}if(G==='"'){w="double-quotes";continue}if((G==="u"||G==="U")&&C.slice(K,K+4).toLowerCase()==="url("){w="url",K+=3;continue}if(G==="*"&&C[K-1]==="/"){w="comment-block";continue}if(G==="/"&&C[K-1]==="/"){w="comment-inline",Q=K-1;continue}continue;case"single-quotes":if(G==="'"&&C[K-1]!=="\\"&&(w=j,j="initial"),G===`
221
+ `||G==="\r")return C;continue;case"double-quotes":if(G==='"'&&C[K-1]!=="\\"&&(w=j,j="initial"),G===`
222
+ `||G==="\r")return C;continue;case"url":if(G===")"&&(w="initial"),G===`
223
+ `||G==="\r")return C;if(G==="'"){w="single-quotes",j="url";continue}if(G==='"'){w="double-quotes",j="url";continue}continue;case"comment-block":G==="/"&&C[K-1]==="*"&&(w="initial");continue;case"comment-inline":(G==='"'||G==="'"||G==="*")&&(ne=!0),(G===`
224
+ `||G==="\r")&&(ne&&$.push([Q,K]),w="initial",ne=!1);continue}}for(let[K,G]of $)C=C.slice(0,K)+C.slice(K,G).replace(/["'*]/g," ")+C.slice(G);return C}function k(C){return C.source.startOffset}function B(C){return C.source.endOffset}A.exports={locStart:k,locEnd:B,calculateLoc:h,replaceQuotesInInlineComments:M}}}),EA=we({"src/language-css/utils/is-less-parser.js"(m,A){Re();function p(v){return v.parser==="css"||v.parser==="less"}A.exports=p}}),AA=we({"src/language-css/utils/is-scss.js"(m,A){Re();function p(v,D){return v==="less"||v==="scss"?v==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(D)}A.exports=p}}),CA=we({"src/language-css/utils/css-units.evaluate.js"(m,A){A.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),xA=we({"src/language-css/utils/print-unit.js"(m,A){Re();var p=CA();function v(D){let f=D.toLowerCase();return Object.prototype.hasOwnProperty.call(p,f)?p[f]:D}A.exports=v}}),SA=we({"src/language-css/printer-postcss.js"(m,A){Re();var p=qr(),{printNumber:v,printString:D,hasNewline:f,isFrontMatterNode:d,isNextLineEmpty:h,isNonEmptyArray:E}=ye(),{builders:{join:S,line:M,hardline:k,softline:B,group:C,fill:w,indent:j,dedent:Q,ifBreak:ne,breakParent:$},utils:{removeLines:K,getDocParts:G}}=wn(),re=mA(),te=gA(),{insertPragma:De}=yA(),{getAncestorNode:N,getPropOfDeclNode:J,maybeToLowerCase:F,insideValueFunctionNode:R,insideICSSRuleNode:y,insideAtRuleNode:P,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:q,isWideKeywords:U,isLastNode:z,isSCSSControlDirectiveNode:ie,isDetachedRulesetDeclarationNode:ce,isRelationalOperatorNode:ge,isEqualityOperatorNode:fe,isMultiplicationNode:Ne,isDivisionNode:se,isAdditionNode:Ue,isSubtractionNode:me,isMathOperatorNode:ue,isEachKeywordNode:qe,isForKeywordNode:it,isURLFunctionNode:Je,isIfElseKeywordNode:yt,hasComposesNode:be,hasParensAroundNode:Me,hasEmptyRawBefore:ht,isKeyValuePairNode:mt,isKeyInValuePairNode:Yt,isDetachedRulesetCallNode:$e,isTemplatePlaceholderNode:xe,isTemplatePropNode:Ye,isPostcssSimpleVarNode:Ze,isSCSSMapItemNode:At,isInlineValueCommentNode:Tt,isHashNode:It,isLeftCurlyBraceNode:cn,isRightCurlyBraceNode:Bn,isWordNode:Ln,isColonNode:ln,isMediaAndSupportsKeywords:Dn,isColorAdjusterFuncNode:lt,lastLineHasInlineComment:Ae,isAtWordPlaceholderNode:gt,isConfigurationNode:Oe,isParenGroupNode:dt}=DA(),{locStart:en,locEnd:Ut}=vA(),bt=EA(),V=AA(),_e=xA();function st(an){return an.trailingComma==="es5"||an.trailingComma==="all"}function Pt(an,Tn,xn){let pt=an.getValue();if(!pt)return"";if(typeof pt=="string")return pt;switch(pt.type){case"front-matter":return[pt.raw,k];case"css-root":{let $n=Vt(an,Tn,xn),qn=pt.raws.after.trim();return qn.startsWith(";")&&(qn=qn.slice(1).trim()),[$n,qn?` ${qn}`:"",G($n).length>0?k:""]}case"css-comment":{let $n=pt.inline||pt.raws.inline,qn=Tn.originalText.slice(en(pt),Ut(pt));return $n?qn.trimEnd():qn}case"css-rule":return[xn("selector"),pt.important?" !important":"",pt.nodes?[pt.selector&&pt.selector.type==="selector-unknown"&&Ae(pt.selector.value)?M:" ","{",pt.nodes.length>0?j([k,Vt(an,Tn,xn)]):"",k,"}",ce(pt)?";":""]:";"];case"css-decl":{let $n=an.getParentNode(),{between:qn}=pt.raws,pr=qn.trim(),wi=pr===":",ae=be(pt)?K(xn("value")):xn("value");return!wi&&Ae(pr)&&(ae=j([k,Q(ae)])),[pt.raws.before.replace(/[\s;]/g,""),$n.type==="css-atrule"&&$n.variable||y(an)?pt.prop:F(pt.prop),pr.startsWith("//")?" ":"",pr,pt.extend?"":" ",bt(Tn)&&pt.extend&&pt.selector?["extend(",xn("selector"),")"]:"",ae,pt.raws.important?pt.raws.important.replace(/\s*!\s*important/i," !important"):pt.important?" !important":"",pt.raws.scssDefault?pt.raws.scssDefault.replace(/\s*!default/i," !default"):pt.scssDefault?" !default":"",pt.raws.scssGlobal?pt.raws.scssGlobal.replace(/\s*!global/i," !global"):pt.scssGlobal?" !global":"",pt.nodes?[" {",j([B,Vt(an,Tn,xn)]),B,"}"]:Ye(pt)&&!$n.raws.semicolon&&Tn.originalText[Ut(pt)-1]!==";"?"":Tn.__isHTMLStyleAttribute&&z(an,pt)?ne(";"):";"]}case"css-atrule":{let $n=an.getParentNode(),qn=xe(pt)&&!$n.raws.semicolon&&Tn.originalText[Ut(pt)-1]!==";";if(bt(Tn)){if(pt.mixin)return[xn("selector"),pt.important?" !important":"",qn?"":";"];if(pt.function)return[pt.name,xn("params"),qn?"":";"];if(pt.variable)return["@",pt.name,": ",pt.value?xn("value"):"",pt.raws.between.trim()?pt.raws.between.trim()+" ":"",pt.nodes?["{",j([pt.nodes.length>0?B:"",Vt(an,Tn,xn)]),B,"}"]:"",qn?"":";"]}return["@",$e(pt)||pt.name.endsWith(":")?pt.name:F(pt.name),pt.params?[$e(pt)?"":xe(pt)?pt.raws.afterName===""?"":pt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(pt.raws.afterName)?[k,k]:/^\s*\n/.test(pt.raws.afterName)?k:" ":" ",xn("params")]:"",pt.selector?j([" ",xn("selector")]):"",pt.value?C([" ",xn("value"),ie(pt)?Me(pt)?" ":M:""]):pt.name==="else"?" ":"",pt.nodes?[ie(pt)?"":pt.selector&&!pt.selector.nodes&&typeof pt.selector.value=="string"&&Ae(pt.selector.value)||!pt.selector&&typeof pt.params=="string"&&Ae(pt.params)?M:" ","{",j([pt.nodes.length>0?B:"",Vt(an,Tn,xn)]),B,"}"]:qn?"":";"]}case"media-query-list":{let $n=[];return an.each(qn=>{let pr=qn.getValue();pr.type==="media-query"&&pr.value===""||$n.push(xn())},"nodes"),C(j(S(M,$n)))}case"media-query":return[S(" ",an.map(xn,"nodes")),z(an,pt)?"":","];case"media-type":return kn(nn(pt.value,Tn));case"media-feature-expression":return pt.nodes?["(",...an.map(xn,"nodes"),")"]:pt.value;case"media-feature":return F(nn(pt.value.replace(/ +/g," "),Tn));case"media-colon":return[pt.value," "];case"media-value":return kn(nn(pt.value,Tn));case"media-keyword":return nn(pt.value,Tn);case"media-url":return nn(pt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Tn);case"media-unknown":return pt.value;case"selector-root":return C([P(an,"custom-selector")?[N(an,"css-atrule").customSelector,M]:"",S([",",P(an,["extend","custom-selector","nest"])?M:k],an.map(xn,"nodes"))]);case"selector-selector":return C(j(an.map(xn,"nodes")));case"selector-comment":return pt.value;case"selector-string":return nn(pt.value,Tn);case"selector-tag":{let $n=an.getParentNode(),qn=$n&&$n.nodes.indexOf(pt),pr=qn&&$n.nodes[qn-1];return[pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",pr.type==="selector-nesting"?pt.value:kn(q(an,pt.value)?pt.value.toLowerCase():pt.value)]}case"selector-id":return["#",pt.value];case"selector-class":return[".",kn(nn(pt.value,Tn))];case"selector-attribute":{var Si;return["[",pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",pt.attribute.trim(),(Si=pt.operator)!==null&&Si!==void 0?Si:"",pt.value?An(nn(pt.value.trim(),Tn),Tn):"",pt.insensitive?" i":"","]"]}case"selector-combinator":{if(pt.value==="+"||pt.value===">"||pt.value==="~"||pt.value===">>>"){let pr=an.getParentNode();return[pr.type==="selector-selector"&&pr.nodes[0]===pt?"":M,pt.value,z(an,pt)?"":" "]}let $n=pt.value.trim().startsWith("(")?M:"",qn=kn(nn(pt.value.trim(),Tn))||M;return[$n,qn]}case"selector-universal":return[pt.namespace?[pt.namespace===!0?"":pt.namespace.trim(),"|"]:"",pt.value];case"selector-pseudo":return[F(pt.value),E(pt.nodes)?C(["(",j([B,S([",",M],an.map(xn,"nodes"))]),B,")"]):""];case"selector-nesting":return pt.value;case"selector-unknown":{let $n=N(an,"css-rule");if($n&&$n.isSCSSNesterProperty)return kn(nn(F(pt.value),Tn));let qn=an.getParentNode();if(qn.raws&&qn.raws.selector){let wi=en(qn),ae=wi+qn.raws.selector.length;return Tn.originalText.slice(wi,ae).trim()}let pr=an.getParentNode(1);if(qn.type==="value-paren_group"&&pr&&pr.type==="value-func"&&pr.value==="selector"){let wi=Ut(qn.open)+1,ae=en(qn.close),Ct=Tn.originalText.slice(wi,ae).trim();return Ae(Ct)?[$,Ct]:Ct}return pt.value}case"value-value":case"value-root":return xn("group");case"value-comment":return Tn.originalText.slice(en(pt),Ut(pt));case"value-comma_group":{let $n=an.getParentNode(),qn=an.getParentNode(1),pr=J(an),wi=pr&&$n.type==="value-value"&&(pr==="grid"||pr.startsWith("grid-template")),ae=N(an,"css-atrule"),Ct=ae&&ie(ae),gn=pt.groups.some(Fi=>Tt(Fi)),Gn=an.map(xn,"groups"),Jn=[],yi=R(an,"url"),wr=!1,ei=!1;for(let Fi=0;Fi<pt.groups.length;++Fi){var Xr;Jn.push(Gn[Fi]);let $r=pt.groups[Fi-1],Fn=pt.groups[Fi],In=pt.groups[Fi+1],Jl=pt.groups[Fi+2];if(yi){(In&&Ue(In)||Ue(Fn))&&Jn.push(" ");continue}if(P(an,"forward")&&Fn.type==="value-word"&&Fn.value&&$r!==void 0&&$r.type==="value-word"&&$r.value==="as"&&In.type==="value-operator"&&In.value==="*"||!In||Fn.type==="value-word"&&Fn.value.endsWith("-")&&gt(In))continue;if(Fn.type==="value-string"&&Fn.quoted){let Vp=Fn.value.lastIndexOf("#{"),qp=Fn.value.lastIndexOf("}");Vp!==-1&&qp!==-1?wr=Vp>qp:Vp!==-1?wr=!0:qp!==-1&&(wr=!1)}if(wr||ln(Fn)||ln(In)||Fn.type==="value-atword"&&(Fn.value===""||Fn.value.endsWith("["))||In.type==="value-word"&&In.value.startsWith("]")||Fn.value==="~"||Fn.value&&Fn.value.includes("\\")&&In&&In.type!=="value-comment"||$r&&$r.value&&$r.value.indexOf("\\")===$r.value.length-1&&Fn.type==="value-operator"&&Fn.value==="/"||Fn.value==="\\"||Ze(Fn,In)||It(Fn)||cn(Fn)||Bn(In)||cn(In)&&ht(In)||Bn(Fn)&&ht(In)||Fn.value==="--"&&It(In))continue;let $p=ue(Fn),y1=ue(In);if(($p&&It(In)||y1&&Bn(Fn))&&ht(In)||!$r&&se(Fn)||R(an,"calc")&&(Ue(Fn)||Ue(In)||me(Fn)||me(In))&&ht(In))continue;let $C=(Ue(Fn)||me(Fn))&&Fi===0&&(In.type==="value-number"||In.isHex)&&qn&&lt(qn)&&!ht(In),D1=Jl&&Jl.type==="value-func"||Jl&&Ln(Jl)||Fn.type==="value-func"||Ln(Fn),b1=In.type==="value-func"||Ln(In)||$r&&$r.type==="value-func"||$r&&Ln($r);if(!(!(Ne(In)||Ne(Fn))&&!R(an,"calc")&&!$C&&(se(In)&&!D1||se(Fn)&&!b1||Ue(In)&&!D1||Ue(Fn)&&!b1||me(In)||me(Fn))&&(ht(In)||$p&&(!$r||$r&&ue($r))))&&!((Tn.parser==="scss"||Tn.parser==="less")&&$p&&Fn.value==="-"&&dt(In)&&Ut(Fn)===en(In.open)&&In.open.value==="(")){if(Tt(Fn)){if($n.type==="value-paren_group"){Jn.push(Q(k));continue}Jn.push(k);continue}if(Ct&&(fe(In)||ge(In)||yt(In)||qe(Fn)||it(Fn))){Jn.push(" ");continue}if(ae&&ae.name.toLowerCase()==="namespace"){Jn.push(" ");continue}if(wi){Fn.source&&In.source&&Fn.source.start.line!==In.source.start.line?(Jn.push(k),ei=!0):Jn.push(" ");continue}if(y1){Jn.push(" ");continue}if(!(In&&In.value==="...")&&!(gt(Fn)&&gt(In)&&Ut(Fn)===en(In))){if(gt(Fn)&&dt(In)&&Ut(Fn)===en(In.open)){Jn.push(B);continue}if(Fn.value==="with"&&dt(In)){Jn.push(" ");continue}(Xr=Fn.value)!==null&&Xr!==void 0&&Xr.endsWith("#")&&In.value==="{"&&dt(In.group)||Jn.push(M)}}}return gn&&Jn.push($),ei&&Jn.unshift(k),Ct?C(j(Jn)):I(an)?C(w(Jn)):C(j(w(Jn)))}case"value-paren_group":{let $n=an.getParentNode();if($n&&Je($n)&&(pt.groups.length===1||pt.groups.length>0&&pt.groups[0].type==="value-comma_group"&&pt.groups[0].groups.length>0&&pt.groups[0].groups[0].type==="value-word"&&pt.groups[0].groups[0].value.startsWith("data:")))return[pt.open?xn("open"):"",S(",",an.map(xn,"groups")),pt.close?xn("close"):""];if(!pt.open){let yi=an.map(xn,"groups"),wr=[];for(let ei=0;ei<yi.length;ei++)ei!==0&&wr.push([",",M]),wr.push(yi[ei]);return C(j(w(wr)))}let qn=At(an),pr=p(pt.groups),wi=pr&&pr.type==="value-comment",ae=Yt(pt,$n),Ct=Oe(pt,$n),gn=Ct||qn&&!ae,Gn=Ct||ae,Jn=C([pt.open?xn("open"):"",j([B,S([M],an.map((yi,wr)=>{let ei=yi.getValue(),Fi=wr===pt.groups.length-1,$r=[xn(),Fi?"":","];if(mt(ei)&&ei.type==="value-comma_group"&&ei.groups&&ei.groups[0].type!=="value-paren_group"&&ei.groups[2]&&ei.groups[2].type==="value-paren_group"){let Fn=G($r[0].contents.contents);Fn[1]=C(Fn[1]),$r=[C(Q($r))]}if(!Fi&&ei.type==="value-comma_group"&&E(ei.groups)){let Fn=p(ei.groups);!Fn.source&&Fn.close&&(Fn=Fn.close),Fn.source&&h(Tn.originalText,Fn,Ut)&&$r.push(k)}return $r},"groups"))]),ne(!wi&&V(Tn.parser,Tn.originalText)&&qn&&st(Tn)?",":""),B,pt.close?xn("close"):""],{shouldBreak:gn});return Gn?Q(Jn):Jn}case"value-func":return[pt.value,P(an,"supports")&&Dn(pt)?" ":"",xn("group")];case"value-paren":return pt.value;case"value-number":return[ar(pt.value),_e(pt.unit)];case"value-operator":return pt.value;case"value-word":return pt.isColor&&pt.isHex||U(pt.value)?pt.value.toLowerCase():pt.value;case"value-colon":{let $n=an.getParentNode(),qn=$n&&$n.groups.indexOf(pt),pr=qn&&$n.groups[qn-1];return[pt.value,pr&&typeof pr.value=="string"&&p(pr.value)==="\\"||R(an,"url")?"":M]}case"value-comma":return[pt.value," "];case"value-string":return D(pt.raws.quote+pt.value+pt.raws.quote,Tn);case"value-atword":return["@",pt.value];case"value-unicode-range":return pt.value;case"value-unknown":return pt.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(pt.type)}`)}}function Vt(an,Tn,xn){let pt=[];return an.each((Si,Xr,$n)=>{let qn=$n[Xr-1];if(qn&&qn.type==="css-comment"&&qn.text.trim()==="prettier-ignore"){let pr=Si.getValue();pt.push(Tn.originalText.slice(en(pr),Ut(pr)))}else pt.push(xn());Xr!==$n.length-1&&($n[Xr+1].type==="css-comment"&&!f(Tn.originalText,en($n[Xr+1]),{backwards:!0})&&!d($n[Xr])||$n[Xr+1].type==="css-atrule"&&$n[Xr+1].name==="else"&&$n[Xr].type!=="css-comment"?pt.push(" "):(pt.push(Tn.__isHTMLStyleAttribute?M:k),h(Tn.originalText,Si.getValue(),Ut)&&!d($n[Xr])&&pt.push(k)))},"nodes"),pt}var un=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ot=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Ar=/[A-Za-z]+/g,sn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,vr=new RegExp(un.source+`|(${sn.source})?(${Ot.source})(${Ar.source})?`,"g");function nn(an,Tn){return an.replace(un,xn=>D(xn,Tn))}function An(an,Tn){let xn=Tn.singleQuote?"'":'"';return an.includes('"')||an.includes("'")?an:xn+an+xn}function kn(an){return an.replace(vr,(Tn,xn,pt,Si,Xr)=>!pt&&Si?ar(Si)+F(Xr||""):Tn)}function ar(an){return v(an).replace(/\.0(?=$|e)/,"")}A.exports={print:Pt,embed:te,insertPragma:De,massageAstNode:re}}}),wA=we({"src/language-css/options.js"(m,A){Re();var p=lo();A.exports={singleQuote:p.singleQuote}}}),FA=we({"src/language-css/parsers.js"(){Re()}}),NA=we({"node_modules/linguist-languages/data/CSS.json"(m,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),_A=we({"node_modules/linguist-languages/data/PostCSS.json"(m,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),TA=we({"node_modules/linguist-languages/data/Less.json"(m,A){A.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),LA=we({"node_modules/linguist-languages/data/SCSS.json"(m,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),kA=we({"src/language-css/index.js"(m,A){Re();var p=aa(),v=SA(),D=wA(),f=FA(),d=[p(NA(),E=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...E.extensions,".wxss"]})),p(_A(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),p(TA(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),p(LA(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],h={postcss:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),PA=we({"src/language-handlebars/loc.js"(m,A){Re();function p(D){return D.loc.start.offset}function v(D){return D.loc.end.offset}A.exports={locStart:p,locEnd:v}}}),BA=we({"src/language-handlebars/clean.js"(m,A){Re();function p(v,D){if(v.type==="TextNode"){let f=v.chars.trim();if(!f)return null;D.chars=f.replace(/[\t\n\f\r ]+/g," ")}v.type==="AttrNode"&&v.name.toLowerCase()==="class"&&delete D.value}p.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=p}}),MA=we({"src/language-handlebars/html-void-elements.evaluate.js"(m,A){A.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),IA=we({"src/language-handlebars/utils.js"(m,A){Re();var p=qr(),v=MA();function D(G){let re=G.getValue(),te=G.getParentNode(0);return!!(B(G,["ElementNode"])&&p(te.children)===re||B(G,["Block"])&&p(te.body)===re)}function f(G){return G.toUpperCase()===G}function d(G){return k(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(f(G.tag[0])||G.tag.includes("."))}var h=new Set(v);function E(G){return h.has(G.toLowerCase())&&!f(G[0])}function S(G){return G.selfClosing===!0||E(G.tag)||d(G)&&G.children.every(re=>M(re))}function M(G){return k(G,["TextNode"])&&!/\S/.test(G.chars)}function k(G,re){return G&&re.includes(G.type)}function B(G,re){let te=G.getParentNode(0);return k(te,re)}function C(G,re){let te=Q(G);return k(te,re)}function w(G,re){let te=ne(G);return k(te,re)}function j(G,re){var te,De,N,J;let F=G.getValue(),R=(te=G.getParentNode(0))!==null&&te!==void 0?te:{},y=(De=(N=(J=R.children)!==null&&J!==void 0?J:R.body)!==null&&N!==void 0?N:R.parts)!==null&&De!==void 0?De:[],P=y.indexOf(F);return P!==-1&&y[P+re]}function Q(G){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return j(G,-re)}function ne(G){return j(G,1)}function $(G){return k(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function K(G){let re=G.getValue(),te=Q(G,2);return $(re)||$(te)}A.exports={getNextNode:ne,getPreviousNode:Q,hasPrettierIgnore:K,isLastNodeOfSiblings:D,isNextNodeOfSomeType:w,isNodeOfSomeType:k,isParentOfSomeType:B,isPreviousNodeOfSomeType:C,isVoid:S,isWhitespaceNode:M}}}),OA=we({"src/language-handlebars/printer-glimmer.js"(m,A){Re();var{builders:{dedent:p,fill:v,group:D,hardline:f,ifBreak:d,indent:h,join:E,line:S,softline:M},utils:{getDocParts:k,replaceTextEndOfLine:B}}=wn(),{getPreferredQuote:C,isNonEmptyArray:w}=ye(),{locStart:j,locEnd:Q}=PA(),ne=BA(),{getNextNode:$,getPreviousNode:K,hasPrettierIgnore:G,isLastNodeOfSiblings:re,isNextNodeOfSomeType:te,isNodeOfSomeType:De,isParentOfSomeType:N,isPreviousNodeOfSomeType:J,isVoid:F,isWhitespaceNode:R}=IA(),y=2;function P(Ae,gt,Oe){let dt=Ae.getValue();if(!dt)return"";if(G(Ae))return gt.originalText.slice(j(dt),Q(dt));let en=gt.singleQuote?"'":'"';switch(dt.type){case"Block":case"Program":case"Template":return D(Ae.map(Oe,"body"));case"ElementNode":{let Ut=D(q(Ae,Oe)),bt=gt.htmlWhitespaceSensitivity==="ignore"&&te(Ae,["ElementNode"])?M:"";if(F(dt))return[Ut,bt];let V=["</",dt.tag,">"];return dt.children.length===0?[Ut,h(V),bt]:gt.htmlWhitespaceSensitivity==="ignore"?[Ut,h(U(Ae,gt,Oe)),f,h(V),bt]:[Ut,h(D(U(Ae,gt,Oe))),h(V),bt]}case"BlockStatement":{let Ut=Ae.getParentNode(1);return Ut&&Ut.inverse&&Ut.inverse.body.length===1&&Ut.inverse.body[0]===dt&&Ut.inverse.body[0].path.parts[0]===Ut.path.parts[0]?[it(Ae,Oe,Ut.inverse.body[0].path.parts[0]),ht(Ae,Oe,gt),mt(Ae,Oe,gt)]:[ue(Ae,Oe),D([ht(Ae,Oe,gt),mt(Ae,Oe,gt),Je(Ae,Oe,gt)])]}case"ElementModifierStatement":return D(["{{",Ln(Ae,Oe),"}}"]);case"MustacheStatement":return D([ie(dt),Ln(Ae,Oe),ce(dt)]);case"SubExpression":return D(["(",Bn(Ae,Oe),M,")"]);case"AttrNode":{let Ut=dt.value.type==="TextNode";if(Ut&&dt.value.chars===""&&j(dt.value)===Q(dt.value))return dt.name;let bt=Ut?C(dt.value.chars,en).quote:dt.value.type==="ConcatStatement"?C(dt.value.parts.filter(_e=>_e.type==="TextNode").map(_e=>_e.chars).join(""),en).quote:"",V=Oe("value");return[dt.name,"=",bt,dt.name==="class"&&bt?D(h(V)):V,bt]}case"ConcatStatement":return Ae.map(Oe,"parts");case"Hash":return E(S,Ae.map(Oe,"pairs"));case"HashPair":return[dt.key,"=",Oe("value")];case"TextNode":{let Ut=dt.chars.replace(/{{/g,"\\{{"),bt=xe(Ae);if(bt){if(bt==="class"){let sn=Ut.trim().split(/\s+/).join(" "),vr=!1,nn=!1;return N(Ae,["ConcatStatement"])&&(J(Ae,["MustacheStatement"])&&/^\s/.test(Ut)&&(vr=!0),te(Ae,["MustacheStatement"])&&/\s$/.test(Ut)&&sn!==""&&(nn=!0)),[vr?S:"",sn,nn?S:""]}return B(Ut)}let V=/^[\t\n\f\r ]*$/.test(Ut),_e=!K(Ae),st=!$(Ae);if(gt.htmlWhitespaceSensitivity!=="ignore"){let sn=/^[\t\n\f\r ]*/,vr=/[\t\n\f\r ]*$/,nn=st&&N(Ae,["Template"]),An=_e&&N(Ae,["Template"]);if(V){if(An||nn)return"";let xn=[S],pt=Ye(Ut);return pt&&(xn=Tt(pt)),re(Ae)&&(xn=xn.map(Si=>p(Si))),xn}let[kn]=Ut.match(sn),[ar]=Ut.match(vr),an=[];if(kn){an=[S];let xn=Ye(kn);xn&&(an=Tt(xn)),Ut=Ut.replace(sn,"")}let Tn=[];if(ar){if(!nn){Tn=[S];let xn=Ye(ar);xn&&(Tn=Tt(xn)),re(Ae)&&(Tn=Tn.map(pt=>p(pt)))}Ut=Ut.replace(vr,"")}return[...an,v(Yt(Ut)),...Tn]}let Pt=Ye(Ut),Vt=Ze(Ut),un=At(Ut);if((_e||st)&&V&&N(Ae,["Block","ElementNode","Template"]))return"";V&&Pt?(Vt=Math.min(Pt,y),un=0):(te(Ae,["BlockStatement","ElementNode"])&&(un=Math.max(un,1)),J(Ae,["BlockStatement","ElementNode"])&&(Vt=Math.max(Vt,1)));let Ot="",Ar="";return un===0&&te(Ae,["MustacheStatement"])&&(Ar=" "),Vt===0&&J(Ae,["MustacheStatement"])&&(Ot=" "),_e&&(Vt=0,Ot=""),st&&(un=0,Ar=""),Ut=Ut.replace(/^[\t\n\f\r ]+/g,Ot).replace(/[\t\n\f\r ]+$/,Ar),[...Tt(Vt),v(Yt(Ut)),...Tt(un)]}case"MustacheCommentStatement":{let Ut=j(dt),bt=Q(dt),V=gt.originalText.charAt(Ut+2)==="~",_e=gt.originalText.charAt(bt-3)==="~",st=dt.value.includes("}}")?"--":"";return["{{",V?"~":"","!",st,dt.value,st,_e?"~":"","}}"]}case"PathExpression":return dt.original;case"BooleanLiteral":return String(dt.value);case"CommentStatement":return["<!--",dt.value,"-->"];case"StringLiteral":{if(cn(Ae)){let Ut=gt.singleQuote?'"':"'";return It(dt.value,Ut)}return It(dt.value,en)}case"NumberLiteral":return String(dt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(dt.type))}}function I(Ae,gt){return j(Ae)-j(gt)}function q(Ae,gt){let Oe=Ae.getValue(),dt=["attributes","modifiers","comments"].filter(Ut=>w(Oe[Ut])),en=dt.flatMap(Ut=>Oe[Ut]).sort(I);for(let Ut of dt)Ae.each(bt=>{let V=en.indexOf(bt.getValue());en.splice(V,1,[S,gt()])},Ut);return w(Oe.blockParams)&&en.push(S,lt(Oe)),["<",Oe.tag,h(en),z(Oe)]}function U(Ae,gt,Oe){let dt=Ae.getValue().children.every(en=>R(en));return gt.htmlWhitespaceSensitivity==="ignore"&&dt?"":Ae.map((en,Ut)=>{let bt=Oe();return Ut===0&&gt.htmlWhitespaceSensitivity==="ignore"?[M,bt]:bt},"children")}function z(Ae){return F(Ae)?d([M,"/>"],[" />",M]):d([M,">"],">")}function ie(Ae){let gt=Ae.escaped===!1?"{{{":"{{",Oe=Ae.strip&&Ae.strip.open?"~":"";return[gt,Oe]}function ce(Ae){let gt=Ae.escaped===!1?"}}}":"}}";return[Ae.strip&&Ae.strip.close?"~":"",gt]}function ge(Ae){let gt=ie(Ae),Oe=Ae.openStrip.open?"~":"";return[gt,Oe,"#"]}function fe(Ae){let gt=ce(Ae);return[Ae.openStrip.close?"~":"",gt]}function Ne(Ae){let gt=ie(Ae),Oe=Ae.closeStrip.open?"~":"";return[gt,Oe,"/"]}function se(Ae){let gt=ce(Ae);return[Ae.closeStrip.close?"~":"",gt]}function Ue(Ae){let gt=ie(Ae),Oe=Ae.inverseStrip.open?"~":"";return[gt,Oe]}function me(Ae){let gt=ce(Ae);return[Ae.inverseStrip.close?"~":"",gt]}function ue(Ae,gt){let Oe=Ae.getValue(),dt=[],en=Dn(Ae,gt);return en&&dt.push(D(en)),w(Oe.program.blockParams)&&dt.push(lt(Oe.program)),D([ge(Oe),ln(Ae,gt),dt.length>0?h([S,E(S,dt)]):"",M,fe(Oe)])}function qe(Ae,gt){return[gt.htmlWhitespaceSensitivity==="ignore"?f:"",Ue(Ae),"else",me(Ae)]}function it(Ae,gt,Oe){let dt=Ae.getValue(),en=Ae.getParentNode(1);return D([Ue(en),["else"," ",Oe],h([S,D(Dn(Ae,gt)),...w(dt.program.blockParams)?[S,lt(dt.program)]:[]]),M,me(en)])}function Je(Ae,gt,Oe){let dt=Ae.getValue();return Oe.htmlWhitespaceSensitivity==="ignore"?[yt(dt)?M:f,Ne(dt),gt("path"),se(dt)]:[Ne(dt),gt("path"),se(dt)]}function yt(Ae){return De(Ae,["BlockStatement"])&&Ae.program.body.every(gt=>R(gt))}function be(Ae){return Me(Ae)&&Ae.inverse.body.length===1&&De(Ae.inverse.body[0],["BlockStatement"])&&Ae.inverse.body[0].path.parts[0]===Ae.path.parts[0]}function Me(Ae){return De(Ae,["BlockStatement"])&&Ae.inverse}function ht(Ae,gt,Oe){let dt=Ae.getValue();if(yt(dt))return"";let en=gt("program");return Oe.htmlWhitespaceSensitivity==="ignore"?h([f,en]):h(en)}function mt(Ae,gt,Oe){let dt=Ae.getValue(),en=gt("inverse"),Ut=Oe.htmlWhitespaceSensitivity==="ignore"?[f,en]:en;return be(dt)?Ut:Me(dt)?[qe(dt,Oe),h(Ut)]:""}function Yt(Ae){return k(E(S,$e(Ae)))}function $e(Ae){return Ae.split(/[\t\n\f\r ]+/)}function xe(Ae){for(let gt=0;gt<2;gt++){let Oe=Ae.getParentNode(gt);if(Oe&&Oe.type==="AttrNode")return Oe.name.toLowerCase()}}function Ye(Ae){return Ae=typeof Ae=="string"?Ae:"",Ae.split(`
225
+ `).length-1}function Ze(Ae){Ae=typeof Ae=="string"?Ae:"";let gt=(Ae.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ye(gt)}function At(Ae){Ae=typeof Ae=="string"?Ae:"";let gt=(Ae.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ye(gt)}function Tt(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ae,y)}).fill(f)}function It(Ae,gt){let{quote:Oe,regex:dt}=C(Ae,gt);return[Oe,Ae.replace(dt,`\\${Oe}`),Oe]}function cn(Ae){let gt=0,Oe=Ae.getParentNode(gt);for(;Oe&&De(Oe,["SubExpression"]);)gt++,Oe=Ae.getParentNode(gt);return!!(Oe&&De(Ae.getParentNode(gt+1),["ConcatStatement"])&&De(Ae.getParentNode(gt+2),["AttrNode"]))}function Bn(Ae,gt){let Oe=ln(Ae,gt),dt=Dn(Ae,gt);return dt?h([Oe,S,D(dt)]):Oe}function Ln(Ae,gt){let Oe=ln(Ae,gt),dt=Dn(Ae,gt);return dt?[h([Oe,S,dt]),M]:Oe}function ln(Ae,gt){return gt("path")}function Dn(Ae,gt){let Oe=Ae.getValue(),dt=[];if(Oe.params.length>0){let en=Ae.map(gt,"params");dt.push(...en)}if(Oe.hash&&Oe.hash.pairs.length>0){let en=gt("hash");dt.push(en)}return dt.length===0?"":E(S,dt)}function lt(Ae){return["as |",Ae.blockParams.join(" "),"|"]}A.exports={print:P,massageAstNode:ne}}}),jA=we({"src/language-handlebars/parsers.js"(){Re()}}),RA=we({"node_modules/linguist-languages/data/Handlebars.json"(m,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),$A=we({"src/language-handlebars/index.js"(m,A){Re();var p=aa(),v=OA(),D=jA(),f=[p(RA(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:v};A.exports={languages:f,printers:d,parsers:D}}}),VA=we({"src/language-graphql/pragma.js"(m,A){Re();function p(D){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(D)}function v(D){return`# @format
226
+
227
+ `+D}A.exports={hasPragma:p,insertPragma:v}}}),qA=we({"src/language-graphql/loc.js"(m,A){Re();function p(D){return typeof D.start=="number"?D.start:D.loc&&D.loc.start}function v(D){return typeof D.end=="number"?D.end:D.loc&&D.loc.end}A.exports={locStart:p,locEnd:v}}}),UA=we({"src/language-graphql/printer-graphql.js"(m,A){Re();var{builders:{join:p,hardline:v,line:D,softline:f,group:d,indent:h,ifBreak:E}}=wn(),{isNextLineEmpty:S,isNonEmptyArray:M}=ye(),{insertPragma:k}=VA(),{locStart:B,locEnd:C}=qA();function w(te,De,N){let J=te.getValue();if(!J)return"";if(typeof J=="string")return J;switch(J.kind){case"Document":{let F=[];return te.each((R,y,P)=>{F.push(N()),y!==P.length-1&&(F.push(v),S(De.originalText,R.getValue(),C)&&F.push(v))},"definitions"),[...F,v]}case"OperationDefinition":{let F=De.originalText[B(J)]!=="{",R=!!J.name;return[F?J.operation:"",F&&R?[" ",N("name")]:"",F&&!R&&M(J.variableDefinitions)?" ":"",M(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],te.map(N,"variableDefinitions"))]),f,")"]):"",j(te,N,J),J.selectionSet?!F&&!R?"":" ":"",N("selectionSet")]}case"FragmentDefinition":return["fragment ",N("name"),M(J.variableDefinitions)?d(["(",h([f,p([E("",", "),f],te.map(N,"variableDefinitions"))]),f,")"]):""," on ",N("typeCondition"),j(te,N,J)," ",N("selectionSet")];case"SelectionSet":return["{",h([v,p(v,Q(te,De,N,"selections"))]),v,"}"];case"Field":return d([J.alias?[N("alias"),": "]:"",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],Q(te,De,N,"arguments"))]),f,")"]):"",j(te,N,J),J.selectionSet?" ":"",N("selectionSet")]);case"Name":return J.value;case"StringValue":{if(J.block){let F=J.value.replace(/"""/g,"\\$&").split(`
228
+ `);return F.length===1&&(F[0]=F[0].trim()),F.every(R=>R==="")&&(F.length=0),p(v,['"""',...F,'"""'])}return['"',J.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return J.value;case"BooleanValue":return J.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",N("name")];case"ListValue":return d(["[",h([f,p([E("",", "),f],te.map(N,"values"))]),f,"]"]);case"ObjectValue":return d(["{",De.bracketSpacing&&J.fields.length>0?" ":"",h([f,p([E("",", "),f],te.map(N,"fields"))]),f,E("",De.bracketSpacing&&J.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[N("name"),": ",N("value")];case"Directive":return["@",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],Q(te,De,N,"arguments"))]),f,")"]):""];case"NamedType":return N("name");case"VariableDefinition":return[N("variable"),": ",N("type"),J.defaultValue?[" = ",N("defaultValue")]:"",j(te,N,J)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[N("description"),J.description?v:"",J.kind==="ObjectTypeExtension"?"extend ":"","type ",N("name"),J.interfaces.length>0?[" implements ",...K(te,De,N)]:"",j(te,N,J),J.fields.length>0?[" {",h([v,p(v,Q(te,De,N,"fields"))]),v,"}"]:""];case"FieldDefinition":return[N("description"),J.description?v:"",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],Q(te,De,N,"arguments"))]),f,")"]):"",": ",N("type"),j(te,N,J)];case"DirectiveDefinition":return[N("description"),J.description?v:"","directive ","@",N("name"),J.arguments.length>0?d(["(",h([f,p([E("",", "),f],Q(te,De,N,"arguments"))]),f,")"]):"",J.repeatable?" repeatable":""," on ",p(" | ",te.map(N,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[N("description"),J.description?v:"",J.kind==="EnumTypeExtension"?"extend ":"","enum ",N("name"),j(te,N,J),J.values.length>0?[" {",h([v,p(v,Q(te,De,N,"values"))]),v,"}"]:""];case"EnumValueDefinition":return[N("description"),J.description?v:"",N("name"),j(te,N,J)];case"InputValueDefinition":return[N("description"),J.description?J.description.block?v:D:"",N("name"),": ",N("type"),J.defaultValue?[" = ",N("defaultValue")]:"",j(te,N,J)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[N("description"),J.description?v:"",J.kind==="InputObjectTypeExtension"?"extend ":"","input ",N("name"),j(te,N,J),J.fields.length>0?[" {",h([v,p(v,Q(te,De,N,"fields"))]),v,"}"]:""];case"SchemaExtension":return["extend schema",j(te,N,J),...J.operationTypes.length>0?[" {",h([v,p(v,Q(te,De,N,"operationTypes"))]),v,"}"]:[]];case"SchemaDefinition":return[N("description"),J.description?v:"","schema",j(te,N,J)," {",J.operationTypes.length>0?h([v,p(v,Q(te,De,N,"operationTypes"))]):"",v,"}"];case"OperationTypeDefinition":return[N("operation"),": ",N("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[N("description"),J.description?v:"",J.kind==="InterfaceTypeExtension"?"extend ":"","interface ",N("name"),J.interfaces.length>0?[" implements ",...K(te,De,N)]:"",j(te,N,J),J.fields.length>0?[" {",h([v,p(v,Q(te,De,N,"fields"))]),v,"}"]:""];case"FragmentSpread":return["...",N("name"),j(te,N,J)];case"InlineFragment":return["...",J.typeCondition?[" on ",N("typeCondition")]:"",j(te,N,J)," ",N("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([N("description"),J.description?v:"",d([J.kind==="UnionTypeExtension"?"extend ":"","union ",N("name"),j(te,N,J),J.types.length>0?[" =",E(""," "),h([E([D," "]),p([D,"| "],te.map(N,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[N("description"),J.description?v:"",J.kind==="ScalarTypeExtension"?"extend ":"","scalar ",N("name"),j(te,N,J)];case"NonNullType":return[N("type"),"!"];case"ListType":return["[",N("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(J.kind))}}function j(te,De,N){if(N.directives.length===0)return"";let J=p(D,te.map(De,"directives"));return N.kind==="FragmentDefinition"||N.kind==="OperationDefinition"?d([D,J]):[" ",d(h([f,J]))]}function Q(te,De,N,J){return te.map((F,R,y)=>{let P=N();return R<y.length-1&&S(De.originalText,F.getValue(),C)?[P,v]:P},J)}function ne(te){return te.kind&&te.kind!=="Comment"}function $(te){let De=te.getValue();if(De.kind==="Comment")return"#"+De.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(De))}function K(te,De,N){let J=te.getNode(),F=[],{interfaces:R}=J,y=te.map(P=>N(P),"interfaces");for(let P=0;P<R.length;P++){let I=R[P];F.push(y[P]);let q=R[P+1];if(q){let U=De.originalText.slice(I.loc.end,q.loc.start),z=U.includes("#"),ie=U.replace(/#.*/g,"").trim();F.push(ie===","?",":" &",z?D:" ")}}return F}function G(te,De){te.kind==="StringValue"&&te.block&&!te.value.includes(`
229
+ `)&&(De.value=De.value.trim())}G.ignoredProperties=new Set(["loc","comments"]);function re(te){var De;let N=te.getValue();return N==null||(De=N.comments)===null||De===void 0?void 0:De.some(J=>J.value.trim()==="prettier-ignore")}A.exports={print:w,massageAstNode:G,hasPrettierIgnore:re,insertPragma:k,printComment:$,canAttachComment:ne}}}),WA=we({"src/language-graphql/options.js"(m,A){Re();var p=lo();A.exports={bracketSpacing:p.bracketSpacing}}}),GA=we({"src/language-graphql/parsers.js"(){Re()}}),JA=we({"node_modules/linguist-languages/data/GraphQL.json"(m,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),YA=we({"src/language-graphql/index.js"(m,A){Re();var p=aa(),v=UA(),D=WA(),f=GA(),d=[p(JA(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],h={graphql:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),f1=we({"node_modules/collapse-white-space/index.js"(m,A){Re(),A.exports=p;function p(v){return String(v).replace(/\s+/g," ")}}}),p1=we({"src/language-markdown/loc.js"(m,A){Re();function p(D){return D.position.start.offset}function v(D){return D.position.end.offset}A.exports={locStart:p,locEnd:v}}}),HA=we({"src/language-markdown/constants.evaluate.js"(m,A){A.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ip=we({"src/language-markdown/utils.js"(m,A){Re();var{getLast:p}=ye(),{locStart:v,locEnd:D}=p1(),{cjkPattern:f,kPattern:d,punctuationPattern:h}=HA(),E=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],S=[...E,"tableCell","paragraph","heading"],M=new RegExp(d),k=new RegExp(h);function B($,K){let G="non-cjk",re="cj-letter",te="k-letter",De="cjk-punctuation",N=[],J=(K.proseWrap==="preserve"?$:$.replace(new RegExp(`(${f})
230
+ (${f})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[R,y]of J.entries()){if(R%2===1){N.push({type:"whitespace",value:/\n/.test(y)?`
231
+ `:" "});continue}if((R===0||R===J.length-1)&&y==="")continue;let P=y.split(new RegExp(`(${f})`));for(let[I,q]of P.entries())if(!((I===0||I===P.length-1)&&q==="")){if(I%2===0){q!==""&&F({type:"word",value:q,kind:G,hasLeadingPunctuation:k.test(q[0]),hasTrailingPunctuation:k.test(p(q))});continue}F(k.test(q)?{type:"word",value:q,kind:De,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:q,kind:M.test(q)?te:re,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return N;function F(R){let y=p(N);y&&y.type==="word"&&(y.kind===G&&R.kind===re&&!y.hasTrailingPunctuation||y.kind===re&&R.kind===G&&!R.hasLeadingPunctuation?N.push({type:"whitespace",value:" "}):!P(G,De)&&![y.value,R.value].some(I=>/\u3000/.test(I))&&N.push({type:"whitespace",value:""})),N.push(R);function P(I,q){return y.kind===I&&R.kind===q||y.kind===q&&R.kind===I}}}function C($,K){let[,G,re,te]=K.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:G,marker:re,leadingSpaces:te}}function w($,K){if(!$.ordered||$.children.length<2)return!1;let G=Number(C($.children[0],K.originalText).numberText),re=Number(C($.children[1],K.originalText).numberText);if(G===0&&$.children.length>2){let te=Number(C($.children[2],K.originalText).numberText);return re===1&&te===1}return re===1}function j($,K){let{value:G}=$;return $.position.end.offset===K.length&&G.endsWith(`
232
+ `)&&K.endsWith(`
233
+ `)?G.slice(0,-1):G}function Q($,K){return function G(re,te,De){let N=Object.assign({},K(re,te,De));return N.children&&(N.children=N.children.map((J,F)=>G(J,F,[N,...De]))),N}($,null,[])}function ne($){if(($==null?void 0:$.type)!=="link"||$.children.length!==1)return!1;let[K]=$.children;return v($)===v(K)&&D($)===D(K)}A.exports={mapAst:Q,splitText:B,punctuationPattern:h,getFencedCodeBlockValue:j,getOrderedListItemInfo:C,hasGitDiffFriendlyOrderedList:w,INLINE_NODE_TYPES:E,INLINE_NODE_WRAPPER_TYPES:S,isAutolink:ne}}}),zA=we({"src/language-markdown/embed.js"(m,A){Re();var{inferParserByLanguage:p,getMaxContinuousCount:v}=ye(),{builders:{hardline:D,markAsRoot:f},utils:{replaceEndOfLine:d}}=wn(),h=Mp(),{getFencedCodeBlockValue:E}=Ip();function S(M,k,B,C){let w=M.getValue();if(w.type==="code"&&w.lang!==null){let j=p(w.lang,C);if(j){let Q=C.__inJsTemplate?"~":"`",ne=Q.repeat(Math.max(3,v(w.value,Q)+1)),$={parser:j};w.lang==="tsx"&&($.filepath="dummy.tsx");let K=B(E(w,C.originalText),$,{stripTrailingHardline:!0});return f([ne,w.lang,w.meta?" "+w.meta:"",D,d(K),D,ne])}}switch(w.type){case"front-matter":return h(w,B);case"importExport":return[B(w.value,{parser:"babel"},{stripTrailingHardline:!0}),D];case"jsx":return B(`<$>${w.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=S}}),d1=we({"src/language-markdown/pragma.js"(m,A){Re();var p=c1(),v=["format","prettier"];function D(f){let d=`@(${v.join("|")})`,h=new RegExp([`<!--\\s*${d}\\s*-->`,`{\\s*\\/\\*\\s*${d}\\s*\\*\\/\\s*}`,`<!--.*\r?
234
+ [\\s\\S]*(^|
235
+ )[^\\S
236
+ ]*${d}[^\\S
237
+ ]*($|
238
+ )[\\s\\S]*
239
+ .*-->`].join("|"),"m"),E=f.match(h);return(E==null?void 0:E.index)===0}A.exports={startWithPragma:D,hasPragma:f=>D(p(f).content.trimStart()),insertPragma:f=>{let d=p(f),h=`<!-- @${v[0]} -->`;return d.frontMatter?`${d.frontMatter.raw}
240
+
241
+ ${h}
242
+
243
+ ${d.content}`:`${h}
244
+
245
+ ${d.content}`}}}}),XA=we({"src/language-markdown/print-preprocess.js"(m,A){Re();var p=qr(),{getOrderedListItemInfo:v,mapAst:D,splitText:f}=Ip(),d=/^.$/su;function h(ne,$){return ne=M(ne,$),ne=C(ne),ne=S(ne,$),ne=j(ne,$),ne=Q(ne,$),ne=w(ne,$),ne=E(ne),ne=k(ne),ne}function E(ne){return D(ne,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function S(ne,$){return D(ne,K=>K.type!=="inlineCode"||$.proseWrap==="preserve"?K:Object.assign(Object.assign({},K),{},{value:K.value.replace(/\s+/g," ")}))}function M(ne,$){return D(ne,K=>K.type!=="text"||K.value==="*"||K.value==="_"||!d.test(K.value)||K.position.end.offset-K.position.start.offset===K.value.length?K:Object.assign(Object.assign({},K),{},{value:$.originalText.slice(K.position.start.offset,K.position.end.offset)}))}function k(ne){return B(ne,($,K)=>$.type==="importExport"&&K.type==="importExport",($,K)=>({type:"importExport",value:$.value+`
246
+
247
+ `+K.value,position:{start:$.position.start,end:K.position.end}}))}function B(ne,$,K){return D(ne,G=>{if(!G.children)return G;let re=G.children.reduce((te,De)=>{let N=p(te);return N&&$(N,De)?te.splice(-1,1,K(N,De)):te.push(De),te},[]);return Object.assign(Object.assign({},G),{},{children:re})})}function C(ne){return B(ne,($,K)=>$.type==="text"&&K.type==="text",($,K)=>({type:"text",value:$.value+K.value,position:{start:$.position.start,end:K.position.end}}))}function w(ne,$){return D(ne,(K,G,re)=>{let[te]=re;if(K.type!=="text")return K;let{value:De}=K;return te.type==="paragraph"&&(G===0&&(De=De.trimStart()),G===te.children.length-1&&(De=De.trimEnd())),{type:"sentence",position:K.position,children:f(De,$)}})}function j(ne,$){return D(ne,(K,G,re)=>{if(K.type==="code"){let te=/^\n?(?: {4,}|\t)/.test($.originalText.slice(K.position.start.offset,K.position.end.offset));if(K.isIndented=te,te)for(let De=0;De<re.length;De++){let N=re[De];if(N.hasIndentedCodeblock)break;N.type==="list"&&(N.hasIndentedCodeblock=!0)}}return K})}function Q(ne,$){return D(ne,(re,te,De)=>{if(re.type==="list"&&re.children.length>0){for(let N=0;N<De.length;N++){let J=De[N];if(J.type==="list"&&!J.isAligned)return re.isAligned=!1,re}re.isAligned=G(re)}return re});function K(re){return re.children.length===0?-1:re.children[0].position.start.column-1}function G(re){if(!re.ordered)return!0;let[te,De]=re.children;if(v(te,$.originalText).leadingSpaces.length>1)return!0;let N=K(te);if(N===-1)return!1;if(re.children.length===1)return N%$.tabWidth===0;let J=K(De);return N!==J?!1:N%$.tabWidth===0?!0:v(De,$.originalText).leadingSpaces.length>1}}A.exports=h}}),QA=we({"src/language-markdown/clean.js"(m,A){Re();var p=f1(),{isFrontMatterNode:v}=ye(),{startWithPragma:D}=d1(),f=new Set(["position","raw"]);function d(h,E,S){if((h.type==="front-matter"||h.type==="code"||h.type==="yaml"||h.type==="import"||h.type==="export"||h.type==="jsx")&&delete E.value,h.type==="list"&&delete E.isAligned,(h.type==="list"||h.type==="listItem")&&(delete E.spread,delete E.loose),h.type==="text"||(h.type==="inlineCode"&&(E.value=h.value.replace(/[\t\n ]+/g," ")),h.type==="wikiLink"&&(E.value=h.value.trim().replace(/[\t\n]+/g," ")),(h.type==="definition"||h.type==="linkReference"||h.type==="imageReference")&&(E.label=p(h.label)),(h.type==="definition"||h.type==="link"||h.type==="image")&&h.title&&(E.title=h.title.replace(/\\(["')])/g,"$1")),S&&S.type==="root"&&S.children.length>0&&(S.children[0]===h||v(S.children[0])&&S.children[1]===h)&&h.type==="html"&&D(h.value)))return null}d.ignoredProperties=f,A.exports=d}}),KA=we({"src/language-markdown/printer-markdown.js"(m,A){Re();var p=f1(),{getLast:v,getMinNotPresentContinuousCount:D,getMaxContinuousCount:f,getStringWidth:d,isNonEmptyArray:h}=ye(),{builders:{breakParent:E,join:S,line:M,literalline:k,markAsRoot:B,hardline:C,softline:w,ifBreak:j,fill:Q,align:ne,indent:$,group:K,hardlineWithoutBreakParent:G},utils:{normalizeDoc:re,replaceTextEndOfLine:te},printer:{printDocToString:De}}=wn(),N=zA(),{insertPragma:J}=d1(),{locStart:F,locEnd:R}=p1(),y=XA(),P=QA(),{getFencedCodeBlockValue:I,hasGitDiffFriendlyOrderedList:q,splitText:U,punctuationPattern:z,INLINE_NODE_TYPES:ie,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:ge}=Ip(),fe=new Set(["importExport"]),Ne=["heading","tableCell","link","wikiLink"],se=new Set(["listItem","definition","footnoteDefinition"]);function Ue(lt,Ae,gt){let Oe=lt.getValue();if(Tt(lt))return U(Ae.originalText.slice(Oe.position.start.offset,Oe.position.end.offset),Ae).map(dt=>dt.type==="word"?dt.value:dt.value===""?"":be(lt,dt.value,Ae));switch(Oe.type){case"front-matter":return Ae.originalText.slice(Oe.position.start.offset,Oe.position.end.offset);case"root":return Oe.children.length===0?"":[re(ht(lt,Ae,gt)),fe.has($e(Oe).type)?"":C];case"paragraph":return mt(lt,Ae,gt,{postprocessor:Q});case"sentence":return mt(lt,Ae,gt);case"word":{let dt=Oe.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${z})(_+)`,`(_+)(${z}|$)`].join("|"),"g"),(bt,V,_e,st,Pt)=>(_e?`${V}${_e}`:`${st}${Pt}`).replace(/_/g,"\\_")),en=(bt,V,_e)=>bt.type==="sentence"&&_e===0,Ut=(bt,V,_e)=>ge(bt.children[_e-1]);return dt!==Oe.value&&(lt.match(void 0,en,Ut)||lt.match(void 0,en,(bt,V,_e)=>bt.type==="emphasis"&&_e===0,Ut))&&(dt=dt.replace(/^(\\?[*_])+/,bt=>bt.replace(/\\/g,""))),dt}case"whitespace":{let dt=lt.getParentNode(),en=dt.children.indexOf(Oe),Ut=dt.children[en+1],bt=Ut&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Ut.value)?"never":Ae.proseWrap;return be(lt,Oe.value,{proseWrap:bt})}case"emphasis":{let dt;if(ge(Oe.children[0]))dt=Ae.originalText[Oe.position.start.offset];else{let en=lt.getParentNode(),Ut=en.children.indexOf(Oe),bt=en.children[Ut-1],V=en.children[Ut+1];dt=bt&&bt.type==="sentence"&&bt.children.length>0&&v(bt.children).type==="word"&&!v(bt.children).hasTrailingPunctuation||V&&V.type==="sentence"&&V.children.length>0&&V.children[0].type==="word"&&!V.children[0].hasLeadingPunctuation||yt(lt,"emphasis")?"*":"_"}return[dt,mt(lt,Ae,gt),dt]}case"strong":return["**",mt(lt,Ae,gt),"**"];case"delete":return["~~",mt(lt,Ae,gt),"~~"];case"inlineCode":{let dt=D(Oe.value,"`"),en="`".repeat(dt||1),Ut=dt&&!/^\s/.test(Oe.value)?" ":"";return[en,Ut,Oe.value,Ut,en]}case"wikiLink":{let dt="";return Ae.proseWrap==="preserve"?dt=Oe.value:dt=Oe.value.replace(/[\t\n]+/g," "),["[[",dt,"]]"]}case"link":switch(Ae.originalText[Oe.position.start.offset]){case"<":{let dt="mailto:";return["<",Oe.url.startsWith(dt)&&Ae.originalText.slice(Oe.position.start.offset+1,Oe.position.start.offset+1+dt.length)!==dt?Oe.url.slice(dt.length):Oe.url,">"]}case"[":return["[",mt(lt,Ae,gt),"](",It(Oe.url,")"),cn(Oe.title,Ae),")"];default:return Ae.originalText.slice(Oe.position.start.offset,Oe.position.end.offset)}case"image":return["![",Oe.alt||"","](",It(Oe.url,")"),cn(Oe.title,Ae),")"];case"blockquote":return["> ",ne("> ",mt(lt,Ae,gt))];case"heading":return["#".repeat(Oe.depth)+" ",mt(lt,Ae,gt)];case"code":{if(Oe.isIndented){let Ut=" ".repeat(4);return ne(Ut,[Ut,...te(Oe.value,C)])}let dt=Ae.__inJsTemplate?"~":"`",en=dt.repeat(Math.max(3,f(Oe.value,dt)+1));return[en,Oe.lang||"",Oe.meta?" "+Oe.meta:"",C,...te(I(Oe,Ae.originalText),C),C,en]}case"html":{let dt=lt.getParentNode(),en=dt.type==="root"&&v(dt.children)===Oe?Oe.value.trimEnd():Oe.value,Ut=/^<!--.*-->$/s.test(en);return te(en,Ut?C:B(k))}case"list":{let dt=qe(Oe,lt.getParentNode()),en=q(Oe,Ae);return mt(lt,Ae,gt,{processor:(Ut,bt)=>{let V=st(),_e=Ut.getValue();if(_e.children.length===2&&_e.children[1].type==="html"&&_e.children[0].position.start.column!==_e.children[1].position.start.column)return[V,me(Ut,Ae,gt,V)];return[V,ne(" ".repeat(V.length),me(Ut,Ae,gt,V))];function st(){let Pt=Oe.ordered?(bt===0?Oe.start:en?1:Oe.start+bt)+(dt%2===0?". ":") "):dt%2===0?"- ":"* ";return Oe.isAligned||Oe.hasIndentedCodeblock?ue(Pt,Ae):Pt}}})}case"thematicBreak":{let dt=Je(lt,"list");return dt===-1?"---":qe(lt.getParentNode(dt),lt.getParentNode(dt+1))%2===0?"***":"---"}case"linkReference":return["[",mt(lt,Ae,gt),"]",Oe.referenceType==="full"?ln(Oe):Oe.referenceType==="collapsed"?"[]":""];case"imageReference":switch(Oe.referenceType){case"full":return["![",Oe.alt||"","]",ln(Oe)];default:return["![",Oe.alt,"]",Oe.referenceType==="collapsed"?"[]":""]}case"definition":{let dt=Ae.proseWrap==="always"?M:" ";return K([ln(Oe),":",$([dt,It(Oe.url),Oe.title===null?"":[dt,cn(Oe.title,Ae,!1)]])])}case"footnote":return["[^",mt(lt,Ae,gt),"]"];case"footnoteReference":return Dn(Oe);case"footnoteDefinition":{let dt=lt.getParentNode().children[lt.getName()+1],en=Oe.children.length===1&&Oe.children[0].type==="paragraph"&&(Ae.proseWrap==="never"||Ae.proseWrap==="preserve"&&Oe.children[0].position.start.line===Oe.children[0].position.end.line);return[Dn(Oe),": ",en?mt(lt,Ae,gt):K([ne(" ".repeat(4),mt(lt,Ae,gt,{processor:(Ut,bt)=>bt===0?K([w,gt()]):gt()})),dt&&dt.type==="footnoteDefinition"?w:""])]}case"table":return Me(lt,Ae,gt);case"tableCell":return mt(lt,Ae,gt);case"break":return/\s/.test(Ae.originalText[Oe.position.start.offset])?[" ",B(k)]:["\\",C];case"liquidNode":return te(Oe.value,C);case"importExport":return[Oe.value,C];case"esComment":return["{/* ",Oe.value," */}"];case"jsx":return Oe.value;case"math":return["$$",C,Oe.value?[...te(Oe.value,C),C]:"","$$"];case"inlineMath":return Ae.originalText.slice(F(Oe),R(Oe));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(Oe.type)}`)}}function me(lt,Ae,gt,Oe){let dt=lt.getValue(),en=dt.checked===null?"":dt.checked?"[x] ":"[ ] ";return[en,mt(lt,Ae,gt,{processor:(Ut,bt)=>{if(bt===0&&Ut.getValue().type!=="list")return ne(" ".repeat(en.length),gt());let V=" ".repeat(Bn(Ae.tabWidth-Oe.length,0,3));return[V,ne(V,gt())]}})]}function ue(lt,Ae){let gt=Oe();return lt+" ".repeat(gt>=4?0:gt);function Oe(){let dt=lt.length%Ae.tabWidth;return dt===0?0:Ae.tabWidth-dt}}function qe(lt,Ae){return it(lt,Ae,gt=>gt.ordered===lt.ordered)}function it(lt,Ae,gt){let Oe=-1;for(let dt of Ae.children)if(dt.type===lt.type&&gt(dt)?Oe++:Oe=-1,dt===lt)return Oe}function Je(lt,Ae){let gt=Array.isArray(Ae)?Ae:[Ae],Oe=-1,dt;for(;dt=lt.getParentNode(++Oe);)if(gt.includes(dt.type))return Oe;return-1}function yt(lt,Ae){let gt=Je(lt,Ae);return gt===-1?null:lt.getParentNode(gt)}function be(lt,Ae,gt){if(gt.proseWrap==="preserve"&&Ae===`
248
+ `)return C;let Oe=gt.proseWrap==="always"&&!yt(lt,Ne);return Ae!==""?Oe?M:" ":Oe?w:""}function Me(lt,Ae,gt){let Oe=lt.getValue(),dt=[],en=lt.map(Pt=>Pt.map((Vt,un)=>{let Ot=De(gt(),Ae).formatted,Ar=d(Ot);return dt[un]=Math.max(dt[un]||3,Ar),{text:Ot,width:Ar}},"children"),"children"),Ut=V(!1);if(Ae.proseWrap!=="never")return[E,Ut];let bt=V(!0);return[E,K(j(bt,Ut))];function V(Pt){let Vt=[st(en[0],Pt),_e(Pt)];return en.length>1&&Vt.push(S(G,en.slice(1).map(un=>st(un,Pt)))),S(G,Vt)}function _e(Pt){return`| ${dt.map((Vt,un)=>{let Ot=Oe.align[un],Ar=Ot==="center"||Ot==="left"?":":"-",sn=Ot==="center"||Ot==="right"?":":"-",vr=Pt?"-":"-".repeat(Vt-2);return`${Ar}${vr}${sn}`}).join(" | ")} |`}function st(Pt,Vt){return`| ${Pt.map((un,Ot)=>{let{text:Ar,width:sn}=un;if(Vt)return Ar;let vr=dt[Ot]-sn,nn=Oe.align[Ot],An=0;nn==="right"?An=vr:nn==="center"&&(An=Math.floor(vr/2));let kn=vr-An;return`${" ".repeat(An)}${Ar}${" ".repeat(kn)}`}).join(" | ")} |`}}function ht(lt,Ae,gt){let Oe=[],dt=null,{children:en}=lt.getValue();for(let[Ut,bt]of en.entries())switch(xe(bt)){case"start":dt===null&&(dt={index:Ut,offset:bt.position.end.offset});break;case"end":dt!==null&&(Oe.push({start:dt,end:{index:Ut,offset:bt.position.start.offset}}),dt=null);break}return mt(lt,Ae,gt,{processor:(Ut,bt)=>{if(Oe.length>0){let V=Oe[0];if(bt===V.start.index)return[Yt(en[V.start.index]),Ae.originalText.slice(V.start.offset,V.end.offset),Yt(en[V.end.index])];if(V.start.index<bt&&bt<V.end.index)return!1;if(bt===V.end.index)return Oe.shift(),!1}return gt()}})}function mt(lt,Ae,gt){let Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:dt}=Oe,en=Oe.processor||(()=>gt()),Ut=lt.getValue(),bt=[],V;return lt.each((_e,st)=>{let Pt=_e.getValue(),Vt=en(_e,st);if(Vt!==!1){let un={parts:bt,prevNode:V,parentNode:Ut,options:Ae};Ye(Pt,un)&&(bt.push(C),V&&fe.has(V.type)||(Ze(Pt,un)||At(Pt,un))&&bt.push(C),At(Pt,un)&&bt.push(C)),bt.push(Vt),V=Pt}},"children"),dt?dt(bt):bt}function Yt(lt){if(lt.type==="html")return lt.value;if(lt.type==="paragraph"&&Array.isArray(lt.children)&&lt.children.length===1&&lt.children[0].type==="esComment")return["{/* ",lt.children[0].value," */}"]}function $e(lt){let Ae=lt;for(;h(Ae.children);)Ae=v(Ae.children);return Ae}function xe(lt){let Ae;if(lt.type==="html")Ae=lt.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let gt;lt.type==="esComment"?gt=lt:lt.type==="paragraph"&&lt.children.length===1&&lt.children[0].type==="esComment"&&(gt=lt.children[0]),gt&&(Ae=gt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Ae?Ae[1]||"next":!1}function Ye(lt,Ae){let gt=Ae.parts.length===0,Oe=ie.includes(lt.type),dt=lt.type==="html"&&ce.includes(Ae.parentNode.type);return!gt&&!Oe&&!dt}function Ze(lt,Ae){var gt,Oe,dt;let en=(Ae.prevNode&&Ae.prevNode.type)===lt.type&&se.has(lt.type),Ut=Ae.parentNode.type==="listItem"&&!Ae.parentNode.loose,bt=((gt=Ae.prevNode)===null||gt===void 0?void 0:gt.type)==="listItem"&&Ae.prevNode.loose,V=xe(Ae.prevNode)==="next",_e=lt.type==="html"&&((Oe=Ae.prevNode)===null||Oe===void 0?void 0:Oe.type)==="html"&&Ae.prevNode.position.end.line+1===lt.position.start.line,st=lt.type==="html"&&Ae.parentNode.type==="listItem"&&((dt=Ae.prevNode)===null||dt===void 0?void 0:dt.type)==="paragraph"&&Ae.prevNode.position.end.line+1===lt.position.start.line;return bt||!(en||Ut||V||_e||st)}function At(lt,Ae){let gt=Ae.prevNode&&Ae.prevNode.type==="list",Oe=lt.type==="code"&&lt.isIndented;return gt&&Oe}function Tt(lt){let Ae=yt(lt,["linkReference","imageReference"]);return Ae&&(Ae.type!=="linkReference"||Ae.referenceType!=="full")}function It(lt){let Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],gt=[" ",...Array.isArray(Ae)?Ae:[Ae]];return new RegExp(gt.map(Oe=>`\\${Oe}`).join("|")).test(lt)?`<${lt}>`:lt}function cn(lt,Ae){let gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!lt)return"";if(gt)return" "+cn(lt,Ae,!1);if(lt=lt.replace(/\\(["')])/g,"$1"),lt.includes('"')&&lt.includes("'")&&!lt.includes(")"))return`(${lt})`;let Oe=lt.split("'").length-1,dt=lt.split('"').length-1,en=Oe>dt?'"':dt>Oe||Ae.singleQuote?"'":'"';return lt=lt.replace(/\\/,"\\\\"),lt=lt.replace(new RegExp(`(${en})`,"g"),"\\$1"),`${en}${lt}${en}`}function Bn(lt,Ae,gt){return lt<Ae?Ae:lt>gt?gt:lt}function Ln(lt){let Ae=Number(lt.getName());if(Ae===0)return!1;let gt=lt.getParentNode().children[Ae-1];return xe(gt)==="next"}function ln(lt){return`[${p(lt.label)}]`}function Dn(lt){return`[^${lt.label}]`}A.exports={preprocess:y,print:Ue,embed:N,massageAstNode:P,hasPrettierIgnore:Ln,insertPragma:J}}}),ZA=we({"src/language-markdown/options.js"(m,A){Re();var p=lo();A.exports={proseWrap:p.proseWrap,singleQuote:p.singleQuote}}}),eC=we({"src/language-markdown/parsers.js"(){Re()}}),h1=we({"node_modules/linguist-languages/data/Markdown.json"(m,A){A.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),tC=we({"src/language-markdown/index.js"(m,A){Re();var p=aa(),v=KA(),D=ZA(),f=eC(),d=[p(h1(),E=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...E.filenames,"README"],extensions:E.extensions.filter(S=>S!==".mdx")})),p(h1(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],h={mdast:v};A.exports={languages:d,options:D,printers:h,parsers:f}}}),nC=we({"src/language-html/clean.js"(m,A){Re();var{isFrontMatterNode:p}=ye(),v=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function D(f,d){if(f.type==="text"||f.type==="comment"||p(f)||f.type==="yaml"||f.type==="toml")return null;f.type==="attribute"&&delete d.value,f.type==="docType"&&delete d.value}D.ignoredProperties=v,A.exports=D}}),rC=we({"src/language-html/constants.evaluate.js"(m,A){A.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),iC=we({"src/language-html/utils/is-unknown-namespace.js"(m,A){Re();function p(v){return v.type==="element"&&!v.hasExplicitNamespace&&!["html","svg"].includes(v.namespace)}A.exports=p}}),co=we({"src/language-html/utils/index.js"(m,A){Re();var{inferParserByLanguage:p,isFrontMatterNode:v}=ye(),{builders:{line:D,hardline:f,join:d},utils:{getDocParts:h,replaceTextEndOfLine:E}}=wn(),{CSS_DISPLAY_TAGS:S,CSS_DISPLAY_DEFAULT:M,CSS_WHITE_SPACE_TAGS:k,CSS_WHITE_SPACE_DEFAULT:B}=rC(),C=iC(),w=new Set([" ",`
249
+ `,"\f","\r"," "]),j=V=>V.replace(/^[\t\n\f\r ]+/,""),Q=V=>V.replace(/[\t\n\f\r ]+$/,""),ne=V=>j(Q(V)),$=V=>V.replace(/^[\t\f\r ]*\n/g,""),K=V=>$(Q(V)),G=V=>V.split(/[\t\n\f\r ]+/),re=V=>V.match(/^[\t\n\f\r ]*/)[0],te=V=>{let[,_e,st,Pt]=V.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:_e,trailingWhitespace:Pt,text:st}},De=V=>/[\t\n\f\r ]/.test(V);function N(V,_e){return!!(V.type==="ieConditionalComment"&&V.lastChild&&!V.lastChild.isSelfClosing&&!V.lastChild.endSourceSpan||V.type==="ieConditionalComment"&&!V.complete||Ze(V)&&V.children.some(st=>st.type!=="text"&&st.type!=="interpolation")||Oe(V,_e)&&!y(V)&&V.type!=="interpolation")}function J(V){return V.type==="attribute"||!V.parent||!V.prev?!1:F(V.prev)}function F(V){return V.type==="comment"&&V.value.trim()==="prettier-ignore"}function R(V){return V.type==="text"||V.type==="comment"}function y(V){return V.type==="element"&&(V.fullName==="script"||V.fullName==="style"||V.fullName==="svg:style"||C(V)&&(V.name==="script"||V.name==="style"))}function P(V){return V.children&&!y(V)}function I(V){return y(V)||V.type==="interpolation"||q(V)}function q(V){return cn(V).startsWith("pre")}function U(V,_e){let st=Pt();if(st&&!V.prev&&V.parent&&V.parent.tagDefinition&&V.parent.tagDefinition.ignoreFirstLf)return V.type==="interpolation";return st;function Pt(){return v(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.prev&&(V.prev.type==="text"||V.prev.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Ze(V.parent)?!0:!(!V.prev&&(V.parent.type==="root"||Ze(V)&&V.parent||y(V.parent)||Ae(V.parent,_e)||!mt(V.parent.cssDisplay))||V.prev&&!xe(V.prev.cssDisplay))}}function z(V,_e){return v(V)?!1:(V.type==="text"||V.type==="interpolation")&&V.next&&(V.next.type==="text"||V.next.type==="interpolation")?!0:!V.parent||V.parent.cssDisplay==="none"?!1:Ze(V.parent)?!0:!(!V.next&&(V.parent.type==="root"||Ze(V)&&V.parent||y(V.parent)||Ae(V.parent,_e)||!Yt(V.parent.cssDisplay))||V.next&&!$e(V.next.cssDisplay))}function ie(V){return Ye(V.cssDisplay)&&!y(V)}function ce(V){return v(V)||V.next&&V.sourceSpan.end&&V.sourceSpan.end.line+1<V.next.sourceSpan.start.line}function ge(V){return fe(V)||V.type==="element"&&V.children.length>0&&(["body","script","style"].includes(V.name)||V.children.some(_e=>Je(_e)))||V.firstChild&&V.firstChild===V.lastChild&&V.firstChild.type!=="text"&&me(V.firstChild)&&(!V.lastChild.isTrailingSpaceSensitive||ue(V.lastChild))}function fe(V){return V.type==="element"&&V.children.length>0&&(["html","head","ul","ol","select"].includes(V.name)||V.cssDisplay.startsWith("table")&&V.cssDisplay!=="table-cell")}function Ne(V){return qe(V)||V.prev&&se(V.prev)||Ue(V)}function se(V){return qe(V)||V.type==="element"&&V.fullName==="br"||Ue(V)}function Ue(V){return me(V)&&ue(V)}function me(V){return V.hasLeadingSpaces&&(V.prev?V.prev.sourceSpan.end.line<V.sourceSpan.start.line:V.parent.type==="root"||V.parent.startSourceSpan.end.line<V.sourceSpan.start.line)}function ue(V){return V.hasTrailingSpaces&&(V.next?V.next.sourceSpan.start.line>V.sourceSpan.end.line:V.parent.type==="root"||V.parent.endSourceSpan&&V.parent.endSourceSpan.start.line>V.sourceSpan.end.line)}function qe(V){switch(V.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(V.name)}return!1}function it(V){return V.lastChild?it(V.lastChild):V}function Je(V){return V.children&&V.children.some(_e=>_e.type!=="text")}function yt(V){let{type:_e,lang:st}=V.attrMap;if(_e==="module"||_e==="text/javascript"||_e==="text/babel"||_e==="application/javascript"||st==="jsx")return"babel";if(_e==="application/x-typescript"||st==="ts"||st==="tsx")return"typescript";if(_e==="text/markdown")return"markdown";if(_e==="text/html")return"html";if(_e&&(_e.endsWith("json")||_e.endsWith("importmap"))||_e==="speculationrules")return"json";if(_e==="text/x-handlebars-template")return"glimmer"}function be(V,_e){let{lang:st}=V.attrMap;if(!st||st==="postcss"||st==="css")return"css";if(st==="scss")return"scss";if(st==="less")return"less";if(st==="stylus")return p("stylus",_e)}function Me(V,_e){if(V.name==="script"&&!V.attrMap.src)return!V.attrMap.lang&&!V.attrMap.type?"babel":yt(V);if(V.name==="style")return be(V,_e);if(_e&&Oe(V,_e))return yt(V)||!("src"in V.attrMap)&&p(V.attrMap.lang,_e)}function ht(V){return V==="block"||V==="list-item"||V.startsWith("table")}function mt(V){return!ht(V)&&V!=="inline-block"}function Yt(V){return!ht(V)&&V!=="inline-block"}function $e(V){return!ht(V)}function xe(V){return!ht(V)}function Ye(V){return!ht(V)&&V!=="inline-block"}function Ze(V){return cn(V).startsWith("pre")}function At(V,_e){let st=0;for(let Pt=V.stack.length-1;Pt>=0;Pt--){let Vt=V.stack[Pt];Vt&&typeof Vt=="object"&&!Array.isArray(Vt)&&_e(Vt)&&st++}return st}function Tt(V,_e){let st=V;for(;st;){if(_e(st))return!0;st=st.parent}return!1}function It(V,_e){if(V.prev&&V.prev.type==="comment"){let Pt=V.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(Pt)return Pt[1]}let st=!1;if(V.type==="element"&&V.namespace==="svg")if(Tt(V,Pt=>Pt.fullName==="svg:foreignObject"))st=!0;else return V.name==="svg"?"inline-block":"block";switch(_e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return _e.parser==="vue"&&V.parent&&V.parent.type==="root"?"block":V.type==="element"&&(!V.namespace||st||C(V))&&S[V.name]||M}}function cn(V){return V.type==="element"&&(!V.namespace||C(V))&&k[V.name]||B}function Bn(V){let _e=Number.POSITIVE_INFINITY;for(let st of V.split(`
250
+ `)){if(st.length===0)continue;if(!w.has(st[0]))return 0;let Pt=re(st).length;st.length!==Pt&&Pt<_e&&(_e=Pt)}return _e===Number.POSITIVE_INFINITY?0:_e}function Ln(V){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bn(V);return _e===0?V:V.split(`
251
+ `).map(st=>st.slice(_e)).join(`
252
+ `)}function ln(V,_e){let st=0;for(let Pt=0;Pt<V.length;Pt++)V[Pt]===_e&&st++;return st}function Dn(V){return V.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var lt=new Set(["template","style","script"]);function Ae(V,_e){return gt(V,_e)&&!lt.has(V.fullName)}function gt(V,_e){return _e.parser==="vue"&&V.type==="element"&&V.parent.type==="root"&&V.fullName.toLowerCase()!=="html"}function Oe(V,_e){return gt(V,_e)&&(Ae(V,_e)||V.attrMap.lang&&V.attrMap.lang!=="html")}function dt(V){let _e=V.fullName;return _e.charAt(0)==="#"||_e==="slot-scope"||_e==="v-slot"||_e.startsWith("v-slot:")}function en(V,_e){let st=V.parent;if(!gt(st,_e))return!1;let Pt=st.fullName,Vt=V.fullName;return Pt==="script"&&Vt==="setup"||Pt==="style"&&Vt==="vars"}function Ut(V){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.value;return V.parent.isWhitespaceSensitive?V.parent.isIndentationSensitive?E(_e):E(Ln(K(_e)),f):h(d(D,G(_e)))}function bt(V,_e){return gt(V,_e)&&V.name==="script"}A.exports={htmlTrim:ne,htmlTrimPreserveIndentation:K,hasHtmlWhitespace:De,getLeadingAndTrailingHtmlWhitespace:te,canHaveInterpolation:P,countChars:ln,countParents:At,dedentString:Ln,forceBreakChildren:fe,forceBreakContent:ge,forceNextEmptyLine:ce,getLastDescendant:it,getNodeCssStyleDisplay:It,getNodeCssStyleWhiteSpace:cn,hasPrettierIgnore:J,inferScriptParser:Me,isVueCustomBlock:Ae,isVueNonHtmlBlock:Oe,isVueScriptTag:bt,isVueSlotAttribute:dt,isVueSfcBindingsAttribute:en,isVueSfcBlock:gt,isDanglingSpaceSensitiveNode:ie,isIndentationSensitiveNode:q,isLeadingSpaceSensitiveNode:U,isPreLikeNode:Ze,isScriptLikeTag:y,isTextLikeNode:R,isTrailingSpaceSensitiveNode:z,isWhitespaceSensitiveNode:I,isUnknownNamespace:C,preferHardlineAsLeadingSpaces:Ne,preferHardlineAsTrailingSpaces:se,shouldPreserveContent:N,unescapeQuoteEntities:Dn,getTextValueParts:Ut}}}),sC=we({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function A(h){return h>=m.$TAB&&h<=m.$SPACE||h==m.$NBSP}m.isWhitespace=A;function p(h){return m.$0<=h&&h<=m.$9}m.isDigit=p;function v(h){return h>=m.$a&&h<=m.$z||h>=m.$A&&h<=m.$Z}m.isAsciiLetter=v;function D(h){return h>=m.$a&&h<=m.$f||h>=m.$A&&h<=m.$F||p(h)}m.isAsciiHexDigit=D;function f(h){return h===m.$LF||h===m.$CR}m.isNewLine=f;function d(h){return m.$0<=h&&h<=m.$7}m.isOctalDigit=d}}),aC=we({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(v,D,f){this.filePath=v,this.name=D,this.members=f}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};m.StaticSymbol=A;var p=class{constructor(){this.cache=new Map}get(v,D,f){f=f||[];let d=f.length?`.${f.join(".")}`:"",h=`"${v}".${D}${d}`,E=this.cache.get(h);return E||(E=new A(v,D,f),this.cache.set(h,E)),E}};m.StaticSymbolCache=p}}),oC=we({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function p(y){return y.replace(A,function(){for(var P=arguments.length,I=new Array(P),q=0;q<P;q++)I[q]=arguments[q];return I[1].toUpperCase()})}m.dashCaseToCamelCase=p;function v(y,P){return f(y,":",P)}m.splitAtColon=v;function D(y,P){return f(y,".",P)}m.splitAtPeriod=D;function f(y,P,I){let q=y.indexOf(P);return q==-1?I:[y.slice(0,q).trim(),y.slice(q+1).trim()]}function d(y,P,I){return Array.isArray(y)?P.visitArray(y,I):$(y)?P.visitStringMap(y,I):y==null||typeof y=="string"||typeof y=="number"||typeof y=="boolean"?P.visitPrimitive(y,I):P.visitOther(y,I)}m.visitValue=d;function h(y){return y!=null}m.isDefined=h;function E(y){return y===void 0?null:y}m.noUndefined=E;var S=class{visitArray(y,P){return y.map(I=>d(I,this,P))}visitStringMap(y,P){let I={};return Object.keys(y).forEach(q=>{I[q]=d(y[q],this,P)}),I}visitPrimitive(y,P){return y}visitOther(y,P){return y}};m.ValueTransformer=S,m.SyncAsync={assertSync:y=>{if(te(y))throw new Error("Illegal state: value cannot be a promise");return y},then:(y,P)=>te(y)?y.then(P):P(y),all:y=>y.some(te)?Promise.all(y):y};function M(y){throw new Error(`Internal Error: ${y}`)}m.error=M;function k(y,P){let I=Error(y);return I[B]=!0,P&&(I[C]=P),I}m.syntaxError=k;var B="ngSyntaxError",C="ngParseErrors";function w(y){return y[B]}m.isSyntaxError=w;function j(y){return y[C]||[]}m.getParseErrors=j;function Q(y){return y.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=Q;var ne=Object.getPrototypeOf({});function $(y){return typeof y=="object"&&y!==null&&Object.getPrototypeOf(y)===ne}function K(y){let P="";for(let I=0;I<y.length;I++){let q=y.charCodeAt(I);if(q>=55296&&q<=56319&&y.length>I+1){let U=y.charCodeAt(I+1);U>=56320&&U<=57343&&(I++,q=(q-55296<<10)+U-56320+65536)}q<=127?P+=String.fromCharCode(q):q<=2047?P+=String.fromCharCode(q>>6&31|192,q&63|128):q<=65535?P+=String.fromCharCode(q>>12|224,q>>6&63|128,q&63|128):q<=2097151&&(P+=String.fromCharCode(q>>18&7|240,q>>12&63|128,q>>6&63|128,q&63|128))}return P}m.utf8Encode=K;function G(y){if(typeof y=="string")return y;if(y instanceof Array)return"["+y.map(G).join(", ")+"]";if(y==null)return""+y;if(y.overriddenName)return`${y.overriddenName}`;if(y.name)return`${y.name}`;if(!y.toString)return"object";let P=y.toString();if(P==null)return""+P;let I=P.indexOf(`
253
+ `);return I===-1?P:P.substring(0,I)}m.stringify=G;function re(y){return typeof y=="function"&&y.hasOwnProperty("__forward_ref__")?y():y}m.resolveForwardRef=re;function te(y){return!!y&&typeof y.then=="function"}m.isPromise=te;var De=class{constructor(y){this.full=y;let P=y.split(".");this.major=P[0],this.minor=P[1],this.patch=P.slice(2).join(".")}};m.Version=De;var N=typeof window<"u"&&window,J=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,F=typeof globalThis<"u"&&globalThis,R=F||N||J;m.global=R}}),uC=we({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=aC(),p=oC(),v=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(I){return I.replace(/\W/g,"_")}m.sanitizeIdentifier=D;var f=0;function d(I){if(!I||!I.reference)return null;let q=I.reference;if(q instanceof A.StaticSymbol)return q.name;if(q.__anonymousType)return q.__anonymousType;let U=p.stringify(q);return U.indexOf("(")>=0?(U=`anonymous_${f++}`,q.__anonymousType=U):U=D(U),U}m.identifierName=d;function h(I){let q=I.reference;return q instanceof A.StaticSymbol?q.filePath:`./${p.stringify(q)}`}m.identifierModuleUrl=h;function E(I,q){return`View_${d({reference:I})}_${q}`}m.viewClassName=E;function S(I){return`RenderType_${d({reference:I})}`}m.rendererTypeName=S;function M(I){return`HostView_${d({reference:I})}`}m.hostViewClassName=M;function k(I){return`${d({reference:I})}NgFactory`}m.componentFactoryName=k;var B;(function(I){I[I.Pipe=0]="Pipe",I[I.Directive=1]="Directive",I[I.NgModule=2]="NgModule",I[I.Injectable=3]="Injectable"})(B=m.CompileSummaryKind||(m.CompileSummaryKind={}));function C(I){return I.value!=null?D(I.value):d(I.identifier)}m.tokenName=C;function w(I){return I.identifier!=null?I.identifier.reference:I.value}m.tokenReference=w;var j=class{constructor(){let{moduleUrl:I,styles:q,styleUrls:U}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=I||null,this.styles=te(q),this.styleUrls=te(U)}};m.CompileStylesheetMetadata=j;var Q=class{constructor(I){let{encapsulation:q,template:U,templateUrl:z,htmlAst:ie,styles:ce,styleUrls:ge,externalStylesheets:fe,animations:Ne,ngContentSelectors:se,interpolation:Ue,isInline:me,preserveWhitespaces:ue}=I;if(this.encapsulation=q,this.template=U,this.templateUrl=z,this.htmlAst=ie,this.styles=te(ce),this.styleUrls=te(ge),this.externalStylesheets=te(fe),this.animations=Ne?N(Ne):[],this.ngContentSelectors=se||[],Ue&&Ue.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Ue,this.isInline=me,this.preserveWhitespaces=ue}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=Q;var ne=class{static create(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:ce,changeDetection:ge,inputs:fe,outputs:Ne,host:se,providers:Ue,viewProviders:me,queries:ue,guards:qe,viewQueries:it,entryComponents:Je,template:yt,componentViewType:be,rendererType:Me,componentFactory:ht}=I,mt={},Yt={},$e={};se!=null&&Object.keys(se).forEach(Ze=>{let At=se[Ze],Tt=Ze.match(v);Tt===null?$e[Ze]=At:Tt[1]!=null?Yt[Tt[1]]=At:Tt[2]!=null&&(mt[Tt[2]]=At)});let xe={};fe!=null&&fe.forEach(Ze=>{let At=p.splitAtColon(Ze,[Ze,Ze]);xe[At[0]]=At[1]});let Ye={};return Ne!=null&&Ne.forEach(Ze=>{let At=p.splitAtColon(Ze,[Ze,Ze]);Ye[At[0]]=At[1]}),new ne({isHost:q,type:U,isComponent:!!z,selector:ie,exportAs:ce,changeDetection:ge,inputs:xe,outputs:Ye,hostListeners:mt,hostProperties:Yt,hostAttributes:$e,providers:Ue,viewProviders:me,queries:ue,guards:qe,viewQueries:it,entryComponents:Je,template:yt,componentViewType:be,rendererType:Me,componentFactory:ht})}constructor(I){let{isHost:q,type:U,isComponent:z,selector:ie,exportAs:ce,changeDetection:ge,inputs:fe,outputs:Ne,hostListeners:se,hostProperties:Ue,hostAttributes:me,providers:ue,viewProviders:qe,queries:it,guards:Je,viewQueries:yt,entryComponents:be,template:Me,componentViewType:ht,rendererType:mt,componentFactory:Yt}=I;this.isHost=!!q,this.type=U,this.isComponent=z,this.selector=ie,this.exportAs=ce,this.changeDetection=ge,this.inputs=fe,this.outputs=Ne,this.hostListeners=se,this.hostProperties=Ue,this.hostAttributes=me,this.providers=te(ue),this.viewProviders=te(qe),this.queries=te(it),this.guards=Je,this.viewQueries=te(yt),this.entryComponents=te(be),this.template=Me,this.componentViewType=ht,this.rendererType=mt,this.componentFactory=Yt}toSummary(){return{summaryKind:B.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};m.CompileDirectiveMetadata=ne;var $=class{constructor(I){let{type:q,name:U,pure:z}=I;this.type=q,this.name=U,this.pure=!!z}toSummary(){return{summaryKind:B.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var K=class{};m.CompileShallowModuleMetadata=K;var G=class{constructor(I){let{type:q,providers:U,declaredDirectives:z,exportedDirectives:ie,declaredPipes:ce,exportedPipes:ge,entryComponents:fe,bootstrapComponents:Ne,importedModules:se,exportedModules:Ue,schemas:me,transitiveModule:ue,id:qe}=I;this.type=q||null,this.declaredDirectives=te(z),this.exportedDirectives=te(ie),this.declaredPipes=te(ce),this.exportedPipes=te(ge),this.providers=te(U),this.entryComponents=te(fe),this.bootstrapComponents=te(Ne),this.importedModules=te(se),this.exportedModules=te(Ue),this.schemas=te(me),this.id=qe||null,this.transitiveModule=ue||null}toSummary(){let I=this.transitiveModule;return{summaryKind:B.NgModule,type:this.type,entryComponents:I.entryComponents,providers:I.providers,modules:I.modules,exportedDirectives:I.exportedDirectives,exportedPipes:I.exportedPipes}}};m.CompileNgModuleMetadata=G;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(I,q){this.providers.push({provider:I,module:q})}addDirective(I){this.directivesSet.has(I.reference)||(this.directivesSet.add(I.reference),this.directives.push(I))}addExportedDirective(I){this.exportedDirectivesSet.has(I.reference)||(this.exportedDirectivesSet.add(I.reference),this.exportedDirectives.push(I))}addPipe(I){this.pipesSet.has(I.reference)||(this.pipesSet.add(I.reference),this.pipes.push(I))}addExportedPipe(I){this.exportedPipesSet.has(I.reference)||(this.exportedPipesSet.add(I.reference),this.exportedPipes.push(I))}addModule(I){this.modulesSet.has(I.reference)||(this.modulesSet.add(I.reference),this.modules.push(I))}addEntryComponent(I){this.entryComponentsSet.has(I.componentType)||(this.entryComponentsSet.add(I.componentType),this.entryComponents.push(I))}};m.TransitiveCompileNgModuleMetadata=re;function te(I){return I||[]}var De=class{constructor(I,q){let{useClass:U,useValue:z,useExisting:ie,useFactory:ce,deps:ge,multi:fe}=q;this.token=I,this.useClass=U||null,this.useValue=z,this.useExisting=ie,this.useFactory=ce||null,this.dependencies=ge||null,this.multi=!!fe}};m.ProviderMeta=De;function N(I){return I.reduce((q,U)=>{let z=Array.isArray(U)?N(U):U;return q.concat(z)},[])}m.flatten=N;function J(I){return I.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function F(I,q,U){let z;return U.isInline?q.type.reference instanceof A.StaticSymbol?z=`${q.type.reference.filePath}.${q.type.reference.name}.html`:z=`${d(I)}/${d(q.type)}.html`:z=U.templateUrl,q.type.reference instanceof A.StaticSymbol?z:J(z)}m.templateSourceUrl=F;function R(I,q){let U=I.moduleUrl.split(/\/\\/g),z=U[U.length-1];return J(`css/${q}${z}.ngstyle.js`)}m.sharedStylesheetJitUrl=R;function y(I){return J(`${d(I.type)}/module.ngfactory.js`)}m.ngModuleJitUrl=y;function P(I,q){return J(`${d(I)}/${d(q.type)}.ngfactory.js`)}m.templateJitUrl=P}}),lC=we({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){Re(),Object.defineProperty(m,"__esModule",{value:!0});var A=sC(),p=uC(),v=class{constructor(M,k,B,C){this.file=M,this.offset=k,this.line=B,this.col=C}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(M){let k=this.file.content,B=k.length,C=this.offset,w=this.line,j=this.col;for(;C>0&&M<0;)if(C--,M++,k.charCodeAt(C)==A.$LF){w--;let Q=k.substr(0,C-1).lastIndexOf(String.fromCharCode(A.$LF));j=Q>0?C-Q:C}else j--;for(;C<B&&M>0;){let Q=k.charCodeAt(C);C++,M--,Q==A.$LF?(w++,j=0):j++}return new v(this.file,C,w,j)}getContext(M,k){let B=this.file.content,C=this.offset;if(C!=null){C>B.length-1&&(C=B.length-1);let w=C,j=0,Q=0;for(;j<M&&C>0&&(C--,j++,!(B[C]==`
254
+ `&&++Q==k)););for(j=0,Q=0;j<M&&w<B.length-1&&(w++,j++,!(B[w]==`
255
+ `&&++Q==k)););return{before:B.substring(C,this.offset),after:B.substring(this.offset,w+1)}}return null}};m.ParseLocation=v;var D=class{constructor(M,k){this.content=M,this.url=k}};m.ParseSourceFile=D;var f=class{constructor(M,k){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=M,this.end=k,this.details=B}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=f,m.EMPTY_PARSE_LOCATION=new v(new D("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new f(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(M){M[M.WARNING=0]="WARNING",M[M.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var h=class{constructor(M,k){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=M,this.msg=k,this.level=B}contextualMessage(){let M=this.span.start.getContext(100,3);return M?`${this.msg} ("${M.before}[${d[this.level]} ->]${M.after}")`:this.msg}toString(){let M=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${M}`}};m.ParseError=h;function E(M,k){let B=p.identifierModuleUrl(k),C=B!=null?`in ${M} ${p.identifierName(k)} in ${B}`:`in ${M} ${p.identifierName(k)}`,w=new D("",C);return new f(new v(w,-1,-1,-1),new v(w,-1,-1,-1))}m.typeSourceSpan=E;function S(M,k,B){let C=`in ${M} ${k} in ${B}`,w=new D("",C);return new f(new v(w,-1,-1,-1),new v(w,-1,-1,-1))}m.r3JitTypeSourceSpan=S}}),cC=we({"src/language-html/print-preprocess.js"(m,A){Re();var{ParseSourceSpan:p}=lC(),{htmlTrim:v,getLeadingAndTrailingHtmlWhitespace:D,hasHtmlWhitespace:f,canHaveInterpolation:d,getNodeCssStyleDisplay:h,isDanglingSpaceSensitiveNode:E,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:M,isTrailingSpaceSensitiveNode:k,isWhitespaceSensitiveNode:B,isVueScriptTag:C}=co(),w=[Q,ne,K,re,te,J,De,N,F,G,R];function j(y,P){for(let I of w)I(y,P);return y}function Q(y){y.walk(P=>{if(P.type==="element"&&P.tagDefinition.ignoreFirstLf&&P.children.length>0&&P.children[0].type==="text"&&P.children[0].value[0]===`
256
+ `){let I=P.children[0];I.value.length===1?P.removeChild(I):I.value=I.value.slice(1)}})}function ne(y){let P=I=>I.type==="element"&&I.prev&&I.prev.type==="ieConditionalStartComment"&&I.prev.sourceSpan.end.offset===I.startSourceSpan.start.offset&&I.firstChild&&I.firstChild.type==="ieConditionalEndComment"&&I.firstChild.sourceSpan.start.offset===I.startSourceSpan.end.offset;y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!P(U))continue;let z=U.prev,ie=U.firstChild;I.removeChild(z),q--;let ce=new p(z.sourceSpan.start,ie.sourceSpan.end),ge=new p(ce.start,U.sourceSpan.end);U.condition=z.condition,U.sourceSpan=ge,U.startSourceSpan=ce,U.removeChild(ie)}})}function $(y,P,I){y.walk(q=>{if(q.children)for(let U=0;U<q.children.length;U++){let z=q.children[U];if(z.type!=="text"&&!P(z))continue;z.type!=="text"&&(z.type="text",z.value=I(z));let ie=z.prev;!ie||ie.type!=="text"||(ie.value+=z.value,ie.sourceSpan=new p(ie.sourceSpan.start,z.sourceSpan.end),q.removeChild(z),U--)}})}function K(y){return $(y,P=>P.type==="cdata",P=>`<![CDATA[${P.value}]]>`)}function G(y){let P=I=>I.type==="element"&&I.attrs.length===0&&I.children.length===1&&I.firstChild.type==="text"&&!f(I.children[0].value)&&!I.firstChild.hasLeadingSpaces&&!I.firstChild.hasTrailingSpaces&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces&&I.isTrailingSpaceSensitive&&!I.hasTrailingSpaces&&I.prev&&I.prev.type==="text"&&I.next&&I.next.type==="text";y.walk(I=>{if(I.children)for(let q=0;q<I.children.length;q++){let U=I.children[q];if(!P(U))continue;let z=U.prev,ie=U.next;z.value+=`<${U.rawName}>`+U.firstChild.value+`</${U.rawName}>`+ie.value,z.sourceSpan=new p(z.sourceSpan.start,ie.sourceSpan.end),z.isTrailingSpaceSensitive=ie.isTrailingSpaceSensitive,z.hasTrailingSpaces=ie.hasTrailingSpaces,I.removeChild(U),q--,I.removeChild(ie)}})}function re(y,P){if(P.parser==="html")return;let I=/{{(.+?)}}/s;y.walk(q=>{if(d(q))for(let U of q.children){if(U.type!=="text")continue;let z=U.sourceSpan.start,ie=null,ce=U.value.split(I);for(let ge=0;ge<ce.length;ge++,z=ie){let fe=ce[ge];if(ge%2===0){ie=z.moveBy(fe.length),fe.length>0&&q.insertChildBefore(U,{type:"text",value:fe,sourceSpan:new p(z,ie)});continue}ie=z.moveBy(fe.length+4),q.insertChildBefore(U,{type:"interpolation",sourceSpan:new p(z,ie),children:fe.length===0?[]:[{type:"text",value:fe,sourceSpan:new p(z.moveBy(2),ie.moveBy(-2))}]})}q.removeChild(U)}})}function te(y){y.walk(P=>{if(!P.children)return;if(P.children.length===0||P.children.length===1&&P.children[0].type==="text"&&v(P.children[0].value).length===0){P.hasDanglingSpaces=P.children.length>0,P.children=[];return}let I=B(P),q=S(P);if(!I)for(let U=0;U<P.children.length;U++){let z=P.children[U];if(z.type!=="text")continue;let{leadingWhitespace:ie,text:ce,trailingWhitespace:ge}=D(z.value),fe=z.prev,Ne=z.next;ce?(z.value=ce,z.sourceSpan=new p(z.sourceSpan.start.moveBy(ie.length),z.sourceSpan.end.moveBy(-ge.length)),ie&&(fe&&(fe.hasTrailingSpaces=!0),z.hasLeadingSpaces=!0),ge&&(z.hasTrailingSpaces=!0,Ne&&(Ne.hasLeadingSpaces=!0))):(P.removeChild(z),U--,(ie||ge)&&(fe&&(fe.hasTrailingSpaces=!0),Ne&&(Ne.hasLeadingSpaces=!0)))}P.isWhitespaceSensitive=I,P.isIndentationSensitive=q})}function De(y){y.walk(P=>{P.isSelfClosing=!P.children||P.type==="element"&&(P.tagDefinition.isVoid||P.startSourceSpan===P.endSourceSpan)})}function N(y,P){y.walk(I=>{I.type==="element"&&(I.hasHtmComponentClosingTag=I.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(P.originalText.slice(I.endSourceSpan.start.offset,I.endSourceSpan.end.offset)))})}function J(y,P){y.walk(I=>{I.cssDisplay=h(I,P)})}function F(y,P){y.walk(I=>{let{children:q}=I;if(q){if(q.length===0){I.isDanglingSpaceSensitive=E(I);return}for(let U of q)U.isLeadingSpaceSensitive=M(U,P),U.isTrailingSpaceSensitive=k(U,P);for(let U=0;U<q.length;U++){let z=q[U];z.isLeadingSpaceSensitive=(U===0||z.prev.isTrailingSpaceSensitive)&&z.isLeadingSpaceSensitive,z.isTrailingSpaceSensitive=(U===q.length-1||z.next.isLeadingSpaceSensitive)&&z.isTrailingSpaceSensitive}}})}function R(y,P){if(P.parser==="vue"){let I=y.children.find(U=>C(U,P));if(!I)return;let{lang:q}=I.attrMap;(q==="ts"||q==="typescript")&&(P.__should_parse_vue_template_with_ts=!0)}}A.exports=j}}),fC=we({"src/language-html/pragma.js"(m,A){Re();function p(D){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(D)}function v(D){return`<!-- @format -->
257
+
258
+ `+D.replace(/^\s*\n/,"")}A.exports={hasPragma:p,insertPragma:v}}}),Op=we({"src/language-html/loc.js"(m,A){Re();function p(D){return D.sourceSpan.start.offset}function v(D){return D.sourceSpan.end.offset}A.exports={locStart:p,locEnd:v}}}),nu=we({"src/language-html/print/tag.js"(m,A){Re();var p=Qo(),{isNonEmptyArray:v}=ye(),{builders:{indent:D,join:f,line:d,softline:h,hardline:E},utils:{replaceTextEndOfLine:S}}=wn(),{locStart:M,locEnd:k}=Op(),{isTextLikeNode:B,getLastDescendant:C,isPreLikeNode:w,hasPrettierIgnore:j,shouldPreserveContent:Q,isVueSfcBlock:ne}=co();function $(se,Ue){return[se.isSelfClosing?"":K(se,Ue),G(se,Ue)]}function K(se,Ue){return se.lastChild&&y(se.lastChild)?"":[re(se,Ue),De(se,Ue)]}function G(se,Ue){return(se.next?F(se.next):R(se.parent))?"":[N(se,Ue),te(se,Ue)]}function re(se,Ue){return R(se)?N(se.lastChild,Ue):""}function te(se,Ue){return y(se)?De(se.parent,Ue):P(se)?fe(se.next):""}function De(se,Ue){if(p(!se.isSelfClosing),J(se,Ue))return"";switch(se.type){case"ieConditionalComment":return"<!";case"element":if(se.hasHtmComponentClosingTag)return"<//";default:return`</${se.rawName}`}}function N(se,Ue){if(J(se,Ue))return"";switch(se.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(se.isSelfClosing)return"/>";default:return">"}}function J(se,Ue){return!se.isSelfClosing&&!se.endSourceSpan&&(j(se)||Q(se.parent,Ue))}function F(se){return se.prev&&se.prev.type!=="docType"&&!B(se.prev)&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function R(se){return se.lastChild&&se.lastChild.isTrailingSpaceSensitive&&!se.lastChild.hasTrailingSpaces&&!B(C(se.lastChild))&&!w(se)}function y(se){return!se.next&&!se.hasTrailingSpaces&&se.isTrailingSpaceSensitive&&B(C(se))}function P(se){return se.next&&!B(se.next)&&B(se)&&se.isTrailingSpaceSensitive&&!se.hasTrailingSpaces}function I(se){let Ue=se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Ue?Ue[1]?Ue[1].split(/\s+/):!0:!1}function q(se){return!se.prev&&se.isLeadingSpaceSensitive&&!se.hasLeadingSpaces}function U(se,Ue,me){let ue=se.getValue();if(!v(ue.attrs))return ue.isSelfClosing?" ":"";let qe=ue.prev&&ue.prev.type==="comment"&&I(ue.prev.value),it=typeof qe=="boolean"?()=>qe:Array.isArray(qe)?ht=>qe.includes(ht.rawName):()=>!1,Je=se.map(ht=>{let mt=ht.getValue();return it(mt)?S(Ue.originalText.slice(M(mt),k(mt))):me()},"attrs"),yt=ue.type==="element"&&ue.fullName==="script"&&ue.attrs.length===1&&ue.attrs[0].fullName==="src"&&ue.children.length===0,be=Ue.singleAttributePerLine&&ue.attrs.length>1&&!ne(ue,Ue)?E:d,Me=[D([yt?" ":d,f(be,Je)])];return ue.firstChild&&q(ue.firstChild)||ue.isSelfClosing&&R(ue.parent)||yt?Me.push(ue.isSelfClosing?" ":""):Me.push(Ue.bracketSameLine?ue.isSelfClosing?" ":"":ue.isSelfClosing?d:h),Me}function z(se){return se.firstChild&&q(se.firstChild)?"":Ne(se)}function ie(se,Ue,me){let ue=se.getValue();return[ce(ue,Ue),U(se,Ue,me),ue.isSelfClosing?"":z(ue)]}function ce(se,Ue){return se.prev&&P(se.prev)?"":[ge(se,Ue),fe(se)]}function ge(se,Ue){return q(se)?Ne(se.parent):F(se)?N(se.prev,Ue):""}function fe(se){switch(se.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${se.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(se.condition)return`<!--[if ${se.condition}]><!--><${se.rawName}`;default:return`<${se.rawName}`}}function Ne(se){switch(p(!se.isSelfClosing),se.type){case"ieConditionalComment":return"]>";case"element":if(se.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:K,printClosingTagStartMarker:De,printClosingTagEndMarker:N,printClosingTagSuffix:te,printClosingTagEnd:G,needsToBorrowLastChildClosingTagEndMarker:R,needsToBorrowParentClosingTagStartMarker:y,needsToBorrowPrevClosingTagEndMarker:F,printOpeningTag:ie,printOpeningTagStart:ce,printOpeningTagPrefix:ge,printOpeningTagStartMarker:fe,printOpeningTagEndMarker:Ne,needsToBorrowNextOpeningTagStartMarker:P,needsToBorrowParentOpeningTagEndMarker:q}}}),pC=we({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){Re(),function(p,v){typeof A=="object"&&A.exports?A.exports=v():p.parseSrcset=v()}(m,function(){return function(p,v){var D=v&&v.logger||console;function f(De){return De===" "||De===" "||De===`
259
+ `||De==="\f"||De==="\r"}function d(De){var N,J=De.exec(p.substring(K));if(J)return N=J[0],K+=N.length,N}for(var h=p.length,E=/^[ \t\n\r\u000c]+/,S=/^[, \t\n\r\u000c]+/,M=/^[^ \t\n\r\u000c]+/,k=/[,]+$/,B=/^\d+$/,C=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,w,j,Q,ne,$,K=0,G=[];;){if(d(S),K>=h)return G;w=d(M),j=[],w.slice(-1)===","?(w=w.replace(k,""),te()):re()}function re(){for(d(E),Q="",ne="in descriptor";;){if($=p.charAt(K),ne==="in descriptor")if(f($))Q&&(j.push(Q),Q="",ne="after descriptor");else if($===","){K+=1,Q&&j.push(Q),te();return}else if($==="(")Q=Q+$,ne="in parens";else if($===""){Q&&j.push(Q),te();return}else Q=Q+$;else if(ne==="in parens")if($===")")Q=Q+$,ne="in descriptor";else if($===""){j.push(Q),te();return}else Q=Q+$;else if(ne==="after descriptor"&&!f($))if($===""){te();return}else ne="in descriptor",K-=1;K+=1}}function te(){var De=!1,N,J,F,R,y={},P,I,q,U,z;for(R=0;R<j.length;R++)P=j[R],I=P[P.length-1],q=P.substring(0,P.length-1),U=parseInt(q,10),z=parseFloat(q),B.test(q)&&I==="w"?((N||J)&&(De=!0),U===0?De=!0:N=U):C.test(q)&&I==="x"?((N||J||F)&&(De=!0),z<0?De=!0:J=z):B.test(q)&&I==="h"?((F||J)&&(De=!0),U===0?De=!0:F=U):De=!0;De?D&&D.error&&D.error("Invalid srcset descriptor found in '"+p+"' at '"+P+"'."):(y.url=w,N&&(y.w=N),J&&(y.d=J),F&&(y.h=F),G.push(y))}}})}}),dC=we({"src/language-html/syntax-attribute.js"(m,A){Re();var p=pC(),{builders:{ifBreak:v,join:D,line:f}}=wn();function d(E){let S=p(E,{logger:{error(re){throw new Error(re)}}}),M=S.some(re=>{let{w:te}=re;return te}),k=S.some(re=>{let{h:te}=re;return te}),B=S.some(re=>{let{d:te}=re;return te});if(M+k+B>1)throw new Error("Mixed descriptor in srcset is not supported");let C=M?"w":k?"h":"d",w=M?"w":k?"h":"x",j=re=>Math.max(...re),Q=S.map(re=>re.url),ne=j(Q.map(re=>re.length)),$=S.map(re=>re[C]).map(re=>re?re.toString():""),K=$.map(re=>{let te=re.indexOf(".");return te===-1?re.length:te}),G=j(K);return D([",",f],Q.map((re,te)=>{let De=[re],N=$[te];if(N){let J=ne-re.length+1,F=G-K[te],R=" ".repeat(J+F);De.push(v(R," "),N+w)}return De}))}function h(E){return E.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:h}}}),hC=we({"src/language-html/syntax-vue.js"(m,A){Re();var{builders:{group:p}}=wn();function v(h,E){let{left:S,operator:M,right:k}=D(h);return[p(E(`function _(${S}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",M," ",E(k,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function D(h){let E=/(.*?)\s+(in|of)\s+(.*)/s,S=/,([^,\]}]*)(?:,([^,\]}]*))?$/,M=/^\(|\)$/g,k=h.match(E);if(!k)return;let B={};if(B.for=k[3].trim(),!B.for)return;let C=k[1].trim().replace(M,""),w=C.match(S);w?(B.alias=C.replace(S,""),B.iterator1=w[1].trim(),w[2]&&(B.iterator2=w[2].trim())):B.alias=C;let j=[B.alias,B.iterator1,B.iterator2];if(!j.some((Q,ne)=>!Q&&(ne===0||j.slice(ne+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:k[2],right:B.for}}function f(h,E){return E(`function _(${h}) {}`,{parser:"babel",__isVueBindings:!0})}function d(h){let E=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,S=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,M=h.trim();return E.test(M)||S.test(M)}A.exports={isVueEventBindingExpression:d,printVueFor:v,printVueBindings:f}}}),m1=we({"src/language-html/get-node-content.js"(m,A){Re();var{needsToBorrowParentClosingTagStartMarker:p,printClosingTagStartMarker:v,needsToBorrowLastChildClosingTagEndMarker:D,printClosingTagEndMarker:f,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:h}=nu();function E(S,M){let k=S.startSourceSpan.end.offset;S.firstChild&&d(S.firstChild)&&(k-=h(S).length);let B=S.endSourceSpan.start.offset;return S.lastChild&&p(S.lastChild)?B+=v(S,M).length:D(S)&&(B-=f(S.lastChild,M).length),M.originalText.slice(k,B)}A.exports=E}}),mC=we({"src/language-html/embed.js"(m,A){Re();var{builders:{breakParent:p,group:v,hardline:D,indent:f,line:d,fill:h,softline:E},utils:{mapDoc:S,replaceTextEndOfLine:M}}=wn(),k=Mp(),{printClosingTag:B,printClosingTagSuffix:C,needsToBorrowPrevClosingTagEndMarker:w,printOpeningTagPrefix:j,printOpeningTag:Q}=nu(),{printImgSrcset:ne,printClassNames:$}=dC(),{printVueFor:K,printVueBindings:G,isVueEventBindingExpression:re}=hC(),{isScriptLikeTag:te,isVueNonHtmlBlock:De,inferScriptParser:N,htmlTrimPreserveIndentation:J,dedentString:F,unescapeQuoteEntities:R,isVueSlotAttribute:y,isVueSfcBindingsAttribute:P,getTextValueParts:I}=co(),q=m1();function U(ie,ce,ge){let fe=Je=>new RegExp(Je.join("|")).test(ie.fullName),Ne=()=>R(ie.value),se=!1,Ue=(Je,yt)=>{let be=Je.type==="NGRoot"?Je.node.type==="NGMicrosyntax"&&Je.node.body.length===1&&Je.node.body[0].type==="NGMicrosyntaxExpression"?Je.node.body[0].expression:Je.node:Je.type==="JsExpressionRoot"?Je.node:Je;be&&(be.type==="ObjectExpression"||be.type==="ArrayExpression"||yt.parser==="__vue_expression"&&(be.type==="TemplateLiteral"||be.type==="StringLiteral"))&&(se=!0)},me=Je=>v(Je),ue=function(Je){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return v([f([E,Je]),yt?E:""])},qe=Je=>se?me(Je):ue(Je),it=(Je,yt)=>ce(Je,Object.assign({__onHtmlBindingRoot:Ue,__embeddedInHtml:!0},yt));if(ie.fullName==="srcset"&&(ie.parent.fullName==="img"||ie.parent.fullName==="source"))return ue(ne(Ne()));if(ie.fullName==="class"&&!ge.parentParser){let Je=Ne();if(!Je.includes("{{"))return $(Je)}if(ie.fullName==="style"&&!ge.parentParser){let Je=Ne();if(!Je.includes("{{"))return ue(it(Je,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ge.parser==="vue"){if(ie.fullName==="v-for")return K(Ne(),it);if(y(ie)||P(ie,ge))return G(Ne(),it);let Je=["^@","^v-on:"],yt=["^:","^v-bind:"],be=["^v-"];if(fe(Je)){let Me=Ne(),ht=re(Me)?"__js_expression":ge.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return qe(it(Me,{parser:ht}))}if(fe(yt))return qe(it(Ne(),{parser:"__vue_expression"}));if(fe(be))return qe(it(Ne(),{parser:"__js_expression"}))}if(ge.parser==="angular"){let Je=($e,xe)=>it($e,Object.assign(Object.assign({},xe),{},{trailingComma:"none"})),yt=["^\\*"],be=["^\\(.+\\)$","^on-"],Me=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ht=["^i18n(-.+)?$"];if(fe(be))return qe(Je(Ne(),{parser:"__ng_action"}));if(fe(Me))return qe(Je(Ne(),{parser:"__ng_binding"}));if(fe(ht)){let $e=Ne().trim();return ue(h(I(ie,$e)),!$e.includes("@@"))}if(fe(yt))return qe(Je(Ne(),{parser:"__ng_directive"}));let mt=/{{(.+?)}}/s,Yt=Ne();if(mt.test(Yt)){let $e=[];for(let[xe,Ye]of Yt.split(mt).entries())if(xe%2===0)$e.push(M(Ye));else try{$e.push(v(["{{",f([d,Je(Ye,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{$e.push("{{",M(Ye),"}}")}return v($e)}}return null}function z(ie,ce,ge,fe){let Ne=ie.getValue();switch(Ne.type){case"element":{if(te(Ne)||Ne.type==="interpolation")return;if(!Ne.isSelfClosing&&De(Ne,fe)){let se=N(Ne,fe);if(!se)return;let Ue=q(Ne,fe),me=/^\s*$/.test(Ue),ue="";return me||(ue=ge(J(Ue),{parser:se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),me=ue===""),[j(Ne,fe),v(Q(ie,fe,ce)),me?"":D,ue,me?"":D,B(Ne,fe),C(Ne,fe)]}break}case"text":{if(te(Ne.parent)){let se=N(Ne.parent,fe);if(se){let Ue=se==="markdown"?F(Ne.value.replace(/^[^\S\n]*\n/,"")):Ne.value,me={parser:se,__embeddedInHtml:!0};if(fe.parser==="html"&&se==="babel"){let ue="script",{attrMap:qe}=Ne.parent;qe&&(qe.type==="module"||qe.type==="text/babel"&&qe["data-type"]==="module")&&(ue="module"),me.__babelSourceType=ue}return[p,j(Ne,fe),ge(Ue,me,{stripTrailingHardline:!0}),C(Ne,fe)]}}else if(Ne.parent.type==="interpolation"){let se={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return fe.parser==="angular"?(se.parser="__ng_interpolation",se.trailingComma="none"):fe.parser==="vue"?se.parser=fe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":se.parser="__js_expression",[f([d,ge(Ne.value,se,{stripTrailingHardline:!0})]),Ne.parent.next&&w(Ne.parent.next)?" ":d]}break}case"attribute":{if(!Ne.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(fe.originalText.slice(Ne.valueSpan.start.offset,Ne.valueSpan.end.offset)))return[Ne.rawName,"=",Ne.value];if(fe.parser==="lwc"&&/^{.*}$/s.test(fe.originalText.slice(Ne.valueSpan.start.offset,Ne.valueSpan.end.offset)))return[Ne.rawName,"=",Ne.value];let se=U(Ne,(Ue,me)=>ge(Ue,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},me),{stripTrailingHardline:!0}),fe);if(se)return[Ne.rawName,'="',v(S(se,Ue=>typeof Ue=="string"?Ue.replace(/"/g,"&quot;"):Ue)),'"'];break}case"front-matter":return k(Ne,ge)}}A.exports=z}}),g1=we({"src/language-html/print/children.js"(m,A){Re();var{builders:{breakParent:p,group:v,ifBreak:D,line:f,softline:d,hardline:h},utils:{replaceTextEndOfLine:E}}=wn(),{locStart:S,locEnd:M}=Op(),{forceBreakChildren:k,forceNextEmptyLine:B,isTextLikeNode:C,hasPrettierIgnore:w,preferHardlineAsLeadingSpaces:j}=co(),{printOpeningTagPrefix:Q,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:K,printClosingTagEndMarker:G,printClosingTagSuffix:re,needsToBorrowParentClosingTagStartMarker:te}=nu();function De(F,R,y){let P=F.getValue();return w(P)?[Q(P,R),...E(R.originalText.slice(S(P)+(P.prev&&ne(P.prev)?$(P).length:0),M(P)-(P.next&&K(P.next)?G(P,R).length:0))),re(P,R)]:y()}function N(F,R){return C(F)&&C(R)?F.isTrailingSpaceSensitive?F.hasTrailingSpaces?j(R)?h:f:"":j(R)?h:d:ne(F)&&(w(R)||R.firstChild||R.isSelfClosing||R.type==="element"&&R.attrs.length>0)||F.type==="element"&&F.isSelfClosing&&K(R)?"":!R.isLeadingSpaceSensitive||j(R)||K(R)&&F.lastChild&&te(F.lastChild)&&F.lastChild.lastChild&&te(F.lastChild.lastChild)?h:R.hasLeadingSpaces?f:d}function J(F,R,y){let P=F.getValue();if(k(P))return[p,...F.map(q=>{let U=q.getValue(),z=U.prev?N(U.prev,U):"";return[z?[z,B(U.prev)?h:""]:"",De(q,R,y)]},"children")];let I=P.children.map(()=>Symbol(""));return F.map((q,U)=>{let z=q.getValue();if(C(z)){if(z.prev&&C(z.prev)){let Ue=N(z.prev,z);if(Ue)return B(z.prev)?[h,h,De(q,R,y)]:[Ue,De(q,R,y)]}return De(q,R,y)}let ie=[],ce=[],ge=[],fe=[],Ne=z.prev?N(z.prev,z):"",se=z.next?N(z,z.next):"";return Ne&&(B(z.prev)?ie.push(h,h):Ne===h?ie.push(h):C(z.prev)?ce.push(Ne):ce.push(D("",d,{groupId:I[U-1]}))),se&&(B(z)?C(z.next)&&fe.push(h,h):se===h?C(z.next)&&fe.push(h):ge.push(se)),[...ie,v([...ce,v([De(q,R,y),...ge],{id:I[U]})]),...fe]},"children")}A.exports={printChildren:J}}}),gC=we({"src/language-html/print/element.js"(m,A){Re();var{builders:{breakParent:p,dedentToRoot:v,group:D,ifBreak:f,indentIfBreak:d,indent:h,line:E,softline:S},utils:{replaceTextEndOfLine:M}}=wn(),k=m1(),{shouldPreserveContent:B,isScriptLikeTag:C,isVueCustomBlock:w,countParents:j,forceBreakContent:Q}=co(),{printOpeningTagPrefix:ne,printOpeningTag:$,printClosingTagSuffix:K,printClosingTag:G,needsToBorrowPrevClosingTagEndMarker:re,needsToBorrowLastChildClosingTagEndMarker:te}=nu(),{printChildren:De}=g1();function N(J,F,R){let y=J.getValue();if(B(y,F))return[ne(y,F),D($(J,F,R)),...M(k(y,F)),...G(y,F),K(y,F)];let P=y.children.length===1&&y.firstChild.type==="interpolation"&&y.firstChild.isLeadingSpaceSensitive&&!y.firstChild.hasLeadingSpaces&&y.lastChild.isTrailingSpaceSensitive&&!y.lastChild.hasTrailingSpaces,I=Symbol("element-attr-group-id"),q=ce=>D([D($(J,F,R),{id:I}),ce,G(y,F)]),U=ce=>P?d(ce,{groupId:I}):(C(y)||w(y,F))&&y.parent.type==="root"&&F.parser==="vue"&&!F.vueIndentScriptAndStyle?ce:h(ce),z=()=>P?f(S,"",{groupId:I}):y.firstChild.hasLeadingSpaces&&y.firstChild.isLeadingSpaceSensitive?E:y.firstChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive?v(S):S,ie=()=>(y.next?re(y.next):te(y.parent))?y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?" ":"":P?f(S,"",{groupId:I}):y.lastChild.hasTrailingSpaces&&y.lastChild.isTrailingSpaceSensitive?E:(y.lastChild.type==="comment"||y.lastChild.type==="text"&&y.isWhitespaceSensitive&&y.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${F.tabWidth*j(J,ce=>ce.parent&&ce.parent.type!=="root")}}$`).test(y.lastChild.value)?"":S;return y.children.length===0?q(y.hasDanglingSpaces&&y.isDanglingSpaceSensitive?E:""):q([Q(y)?p:"",U([z(),De(J,F,R)]),ie()])}A.exports={printElement:N}}}),yC=we({"src/language-html/printer-html.js"(m,A){Re();var{builders:{fill:p,group:v,hardline:D,literalline:f},utils:{cleanDoc:d,getDocParts:h,isConcat:E,replaceTextEndOfLine:S}}=wn(),M=nC(),{countChars:k,unescapeQuoteEntities:B,getTextValueParts:C}=co(),w=cC(),{insertPragma:j}=fC(),{locStart:Q,locEnd:ne}=Op(),$=mC(),{printClosingTagSuffix:K,printClosingTagEnd:G,printOpeningTagPrefix:re,printOpeningTagStart:te}=nu(),{printElement:De}=gC(),{printChildren:N}=g1();function J(F,R,y){let P=F.getValue();switch(P.type){case"front-matter":return S(P.raw);case"root":return R.__onHtmlRoot&&R.__onHtmlRoot(P),[v(N(F,R,y)),D];case"element":case"ieConditionalComment":return De(F,R,y);case"ieConditionalStartComment":case"ieConditionalEndComment":return[te(P),G(P)];case"interpolation":return[te(P,R),...F.map(y,"children"),G(P,R)];case"text":{if(P.parent.type==="interpolation"){let q=/\n[^\S\n]*$/,U=q.test(P.value),z=U?P.value.replace(q,""):P.value;return[...S(z),U?D:""]}let I=d([re(P,R),...C(P),K(P,R)]);return E(I)||I.type==="fill"?p(h(I)):I}case"docType":return[v([te(P,R)," ",P.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),G(P,R)];case"comment":return[re(P,R),...S(R.originalText.slice(Q(P),ne(P)),f),K(P,R)];case"attribute":{if(P.value===null)return P.rawName;let I=B(P.value),q=k(I,"'"),U=k(I,'"'),z=q<U?"'":'"';return[P.rawName,"=",z,...S(z==='"'?I.replace(/"/g,"&quot;"):I.replace(/'/g,"&apos;")),z]}default:throw new Error(`Unexpected node type ${P.type}`)}}A.exports={preprocess:w,print:J,insertPragma:j,massageAstNode:M,embed:$}}}),DC=we({"src/language-html/options.js"(m,A){Re();var p=lo(),v="HTML";A.exports={bracketSameLine:p.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:v,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:p.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:v,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),bC=we({"src/language-html/parsers.js"(){Re()}}),jp=we({"node_modules/linguist-languages/data/HTML.json"(m,A){A.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),vC=we({"node_modules/linguist-languages/data/Vue.json"(m,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),EC=we({"src/language-html/index.js"(m,A){Re();var p=aa(),v=yC(),D=DC(),f=bC(),d=[p(jp(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),p(jp(),E=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...E.extensions,".mjml"]})),p(jp(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),p(vC(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],h={html:v};A.exports={languages:d,printers:h,options:D,parsers:f}}}),AC=we({"src/language-yaml/pragma.js"(m,A){Re();function p(f){return/^\s*@(?:prettier|format)\s*$/.test(f)}function v(f){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(f)}function D(f){return`# @format
260
+
261
+ ${f}`}A.exports={isPragma:p,hasPragma:v,insertPragma:D}}}),CC=we({"src/language-yaml/loc.js"(m,A){Re();function p(D){return D.position.start.offset}function v(D){return D.position.end.offset}A.exports={locStart:p,locEnd:v}}}),xC=we({"src/language-yaml/embed.js"(m,A){Re();function p(v,D,f,d){if(v.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(d.filepath))return f(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=p}}),fo=we({"src/language-yaml/utils.js"(m,A){Re();var{getLast:p,isNonEmptyArray:v}=ye();function D(N,J){let F=0,R=N.stack.length-1;for(let y=0;y<R;y++){let P=N.stack[y];f(P)&&J(P)&&F++}return F}function f(N,J){return N&&typeof N.type=="string"&&(!J||J.includes(N.type))}function d(N,J,F){return J("children"in N?Object.assign(Object.assign({},N),{},{children:N.children.map(R=>d(R,J,N))}):N,F)}function h(N,J,F){Object.defineProperty(N,J,{get:F,enumerable:!1})}function E(N,J){let F=0,R=J.length;for(let y=N.position.end.offset-1;y<R;y++){let P=J[y];if(P===`
262
+ `&&F++,F===1&&/\S/.test(P))return!1;if(F===2)return!0}return!1}function S(N){switch(N.getValue().type){case"tag":case"anchor":case"comment":return!1}let J=N.stack.length;for(let F=1;F<J;F++){let R=N.stack[F],y=N.stack[F-1];if(Array.isArray(y)&&typeof R=="number"&&R!==y.length-1)return!1}return!0}function M(N){return v(N.children)?M(p(N.children)):N}function k(N){return N.value.trim()==="prettier-ignore"}function B(N){let J=N.getValue();if(J.type==="documentBody"){let F=N.getParentNode();return K(F.head)&&k(p(F.head.endComments))}return j(J)&&k(p(J.leadingComments))}function C(N){return!v(N.children)&&!w(N)}function w(N){return j(N)||Q(N)||ne(N)||$(N)||K(N)}function j(N){return v(N==null?void 0:N.leadingComments)}function Q(N){return v(N==null?void 0:N.middleComments)}function ne(N){return N==null?void 0:N.indicatorComment}function $(N){return N==null?void 0:N.trailingComment}function K(N){return v(N==null?void 0:N.endComments)}function G(N){let J=[],F;for(let R of N.split(/( +)/))R!==" "?F===" "?J.push(R):J.push((J.pop()||"")+R):F===void 0&&J.unshift(""),F=R;return F===" "&&J.push((J.pop()||"")+" "),J[0]===""&&(J.shift(),J.unshift(" "+(J.shift()||""))),J}function re(N,J,F){let R=J.split(`
263
+ `).map((y,P,I)=>P===0&&P===I.length-1?y:P!==0&&P!==I.length-1?y.trim():P===0?y.trimEnd():y.trimStart());return F.proseWrap==="preserve"?R.map(y=>y.length===0?[]:[y]):R.map(y=>y.length===0?[]:G(y)).reduce((y,P,I)=>I!==0&&R[I-1].length>0&&P.length>0&&!(N==="quoteDouble"&&p(p(y)).endsWith("\\"))?[...y.slice(0,-1),[...p(y),...P]]:[...y,P],[]).map(y=>F.proseWrap==="never"?[y.join(" ")]:y)}function te(N,J){let{parentIndent:F,isLastDescendant:R,options:y}=J,P=N.position.start.line===N.position.end.line?"":y.originalText.slice(N.position.start.offset,N.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],I;if(N.indent===null){let z=P.match(/^(?<leadingSpace> *)[^\n\r ]/m);I=z?z.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else I=N.indent-1+F;let q=P.split(`
264
+ `).map(z=>z.slice(I));if(y.proseWrap==="preserve"||N.type==="blockLiteral")return U(q.map(z=>z.length===0?[]:[z]));return U(q.map(z=>z.length===0?[]:G(z)).reduce((z,ie,ce)=>ce!==0&&q[ce-1].length>0&&ie.length>0&&!/^\s/.test(ie[0])&&!/^\s|\s$/.test(p(z))?[...z.slice(0,-1),[...p(z),...ie]]:[...z,ie],[]).map(z=>z.reduce((ie,ce)=>ie.length>0&&/\s$/.test(p(ie))?[...ie.slice(0,-1),p(ie)+" "+ce]:[...ie,ce],[])).map(z=>y.proseWrap==="never"?[z.join(" ")]:z));function U(z){if(N.chomping==="keep")return p(z).length===0?z.slice(0,-1):z;let ie=0;for(let ce=z.length-1;ce>=0&&z[ce].length===0;ce--)ie++;return ie===0?z:ie>=2&&!R?z.slice(0,-(ie-1)):z.slice(0,-ie)}}function De(N){if(!N)return!0;switch(N.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:p,getAncestorCount:D,isNode:f,isEmptyNode:C,isInlineNode:De,mapNode:d,defineShortcut:h,isNextLineEmpty:E,isLastDescendantNode:S,getBlockValueLineContents:te,getFlowScalarLineContents:re,getLastDescendantNode:M,hasPrettierIgnore:B,hasLeadingComments:j,hasMiddleComments:Q,hasIndicatorComment:ne,hasTrailingComment:$,hasEndComments:K}}}),SC=we({"src/language-yaml/print-preprocess.js"(m,A){Re();var{defineShortcut:p,mapNode:v}=fo();function D(d){return v(d,f)}function f(d){switch(d.type){case"document":p(d,"head",()=>d.children[0]),p(d,"body",()=>d.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":p(d,"content",()=>d.children[0]);break;case"mappingItem":case"flowMappingItem":p(d,"key",()=>d.children[0]),p(d,"value",()=>d.children[1]);break}return d}A.exports=D}}),Gl=we({"src/language-yaml/print/misc.js"(m,A){Re();var{builders:{softline:p,align:v}}=wn(),{hasEndComments:D,isNextLineEmpty:f,isNode:d}=fo(),h=new WeakMap;function E(k,B){let C=k.getValue(),w=k.stack[0],j;return h.has(w)?j=h.get(w):(j=new Set,h.set(w,j)),!j.has(C.position.end.line)&&(j.add(C.position.end.line),f(C,B)&&!S(k.getParentNode()))?p:""}function S(k){return D(k)&&!d(k,["documentHead","documentBody","flowMapping","flowSequence"])}function M(k,B){return v(" ".repeat(k),B)}A.exports={alignWithSpaces:M,shouldPrintEndComments:S,printNextEmptyLine:E}}}),wC=we({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){Re();var{builders:{ifBreak:p,line:v,softline:D,hardline:f,join:d}}=wn(),{isEmptyNode:h,getLast:E,hasEndComments:S}=fo(),{printNextEmptyLine:M,alignWithSpaces:k}=Gl();function B(w,j,Q){let ne=w.getValue(),$=ne.type==="flowMapping",K=$?"{":"[",G=$?"}":"]",re=D;$&&ne.children.length>0&&Q.bracketSpacing&&(re=v);let te=E(ne.children),De=te&&te.type==="flowMappingItem"&&h(te.key)&&h(te.value);return[K,k(Q.tabWidth,[re,C(w,j,Q),Q.trailingComma==="none"?"":p(","),S(ne)?[f,d(f,w.map(j,"endComments"))]:""]),De?"":re,G]}function C(w,j,Q){let ne=w.getValue();return w.map(($,K)=>[j(),K===ne.children.length-1?"":[",",v,ne.children[K].position.start.line!==ne.children[K+1].position.start.line?M($,Q.originalText):""]],"children")}A.exports={printFlowMapping:B,printFlowSequence:B}}}),FC=we({"src/language-yaml/print/mapping-item.js"(m,A){Re();var{builders:{conditionalGroup:p,group:v,hardline:D,ifBreak:f,join:d,line:h}}=wn(),{hasLeadingComments:E,hasMiddleComments:S,hasTrailingComment:M,hasEndComments:k,isNode:B,isEmptyNode:C,isInlineNode:w}=fo(),{alignWithSpaces:j}=Gl();function Q(G,re,te,De,N){let{key:J,value:F}=G,R=C(J),y=C(F);if(R&&y)return": ";let P=De("key"),I=$(G)?" ":"";if(y)return G.type==="flowMappingItem"&&re.type==="flowMapping"?P:G.type==="mappingItem"&&ne(J.content,N)&&!M(J.content)&&(!re.tag||re.tag.value!=="tag:yaml.org,2002:set")?[P,I,":"]:["? ",j(2,P)];let q=De("value");if(R)return[": ",j(2,q)];if(E(F)||!w(J.content))return["? ",j(2,P),D,d("",te.map(De,"value","leadingComments").map(fe=>[fe,D])),": ",j(2,q)];if(K(J.content)&&!E(J.content)&&!S(J.content)&&!M(J.content)&&!k(J)&&!E(F.content)&&!S(F.content)&&!k(F)&&ne(F.content,N))return[P,I,": ",q];let U=Symbol("mappingKey"),z=v([f("? "),v(j(2,P),{id:U})]),ie=[D,": ",j(2,q)],ce=[I,":"];E(F.content)||k(F)&&F.content&&!B(F.content,["mapping","sequence"])||re.type==="mapping"&&M(J.content)&&w(F.content)||B(F.content,["mapping","sequence"])&&F.content.tag===null&&F.content.anchor===null?ce.push(D):F.content&&ce.push(h),ce.push(q);let ge=j(N.tabWidth,ce);return ne(J.content,N)&&!E(J.content)&&!S(J.content)&&!k(J)?p([[P,ge]]):p([[z,f(ie,ge,{groupId:U})]])}function ne(G,re){if(!G)return!0;switch(G.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(re.proseWrap==="preserve")return G.position.start.line===G.position.end.line;if(/\\$/m.test(re.originalText.slice(G.position.start.offset,G.position.end.offset)))return!1;switch(re.proseWrap){case"never":return!G.value.includes(`
265
+ `);case"always":return!/[\n ]/.test(G.value);default:return!1}}function $(G){return G.key.content&&G.key.content.type==="alias"}function K(G){if(!G)return!0;switch(G.type){case"plain":case"quoteDouble":case"quoteSingle":return G.position.start.line===G.position.end.line;case"alias":return!0;default:return!1}}A.exports=Q}}),NC=we({"src/language-yaml/print/block.js"(m,A){Re();var{builders:{dedent:p,dedentToRoot:v,fill:D,hardline:f,join:d,line:h,literalline:E,markAsRoot:S},utils:{getDocParts:M}}=wn(),{getAncestorCount:k,getBlockValueLineContents:B,hasIndicatorComment:C,isLastDescendantNode:w,isNode:j}=fo(),{alignWithSpaces:Q}=Gl();function ne($,K,G){let re=$.getValue(),te=k($,R=>j(R,["sequence","mapping"])),De=w($),N=[re.type==="blockFolded"?">":"|"];re.indent!==null&&N.push(re.indent.toString()),re.chomping!=="clip"&&N.push(re.chomping==="keep"?"+":"-"),C(re)&&N.push(" ",K("indicatorComment"));let J=B(re,{parentIndent:te,isLastDescendant:De,options:G}),F=[];for(let[R,y]of J.entries())R===0&&F.push(f),F.push(D(M(d(h,y)))),R!==J.length-1?F.push(y.length===0?f:S(E)):re.chomping==="keep"&&De&&F.push(v(y.length===0?f:E));return re.indent===null?N.push(p(Q(G.tabWidth,F))):N.push(v(Q(re.indent-1+te,F))),N}A.exports=ne}}),_C=we({"src/language-yaml/printer-yaml.js"(m,A){Re();var{builders:{breakParent:p,fill:v,group:D,hardline:f,join:d,line:h,lineSuffix:E,literalline:S},utils:{getDocParts:M,replaceTextEndOfLine:k}}=wn(),{isPreviousLineEmpty:B}=ye(),{insertPragma:C,isPragma:w}=AC(),{locStart:j}=CC(),Q=xC(),{getFlowScalarLineContents:ne,getLastDescendantNode:$,hasLeadingComments:K,hasMiddleComments:G,hasTrailingComment:re,hasEndComments:te,hasPrettierIgnore:De,isLastDescendantNode:N,isNode:J,isInlineNode:F}=fo(),R=SC(),{alignWithSpaces:y,printNextEmptyLine:P,shouldPrintEndComments:I}=Gl(),{printFlowMapping:q,printFlowSequence:U}=wC(),z=FC(),ie=NC();function ce(ue,qe,it){let Je=ue.getValue(),yt=[];Je.type!=="mappingValue"&&K(Je)&&yt.push([d(f,ue.map(it,"leadingComments")),f]);let{tag:be,anchor:Me}=Je;be&&yt.push(it("tag")),be&&Me&&yt.push(" "),Me&&yt.push(it("anchor"));let ht="";J(Je,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!N(ue)&&(ht=P(ue,qe.originalText)),(be||Me)&&(J(Je,["sequence","mapping"])&&!G(Je)?yt.push(f):yt.push(" ")),G(Je)&&yt.push([Je.middleComments.length===1?"":f,d(f,ue.map(it,"middleComments")),f]);let mt=ue.getParentNode();return De(ue)?yt.push(k(qe.originalText.slice(Je.position.start.offset,Je.position.end.offset).trimEnd(),S)):yt.push(D(ge(Je,mt,ue,qe,it))),re(Je)&&!J(Je,["document","documentHead"])&&yt.push(E([Je.type==="mappingValue"&&!Je.content?"":" ",mt.type==="mappingKey"&&ue.getParentNode(2).type==="mapping"&&F(Je)?"":p,it("trailingComment")])),I(Je)&&yt.push(y(Je.type==="sequenceItem"?2:0,[f,d(f,ue.map(Yt=>[B(qe.originalText,Yt.getValue(),j)?f:"",it()],"endComments"))])),yt.push(ht),yt}function ge(ue,qe,it,Je,yt){switch(ue.type){case"root":{let{children:be}=ue,Me=[];it.each((mt,Yt)=>{let $e=be[Yt],xe=be[Yt+1];Yt!==0&&Me.push(f),Me.push(yt()),Ne($e,xe)?(Me.push(f,"..."),re($e)&&Me.push(" ",yt("trailingComment"))):xe&&!re(xe.head)&&Me.push(f,"---")},"children");let ht=$(ue);return(!J(ht,["blockLiteral","blockFolded"])||ht.chomping!=="keep")&&Me.push(f),Me}case"document":{let be=qe.children[it.getName()+1],Me=[];return se(ue,be,qe,Je)==="head"&&((ue.head.children.length>0||ue.head.endComments.length>0)&&Me.push(yt("head")),re(ue.head)?Me.push(["---"," ",yt(["head","trailingComment"])]):Me.push("---")),fe(ue)&&Me.push(yt("body")),d(f,Me)}case"documentHead":return d(f,[...it.map(yt,"children"),...it.map(yt,"endComments")]);case"documentBody":{let{children:be,endComments:Me}=ue,ht="";if(be.length>0&&Me.length>0){let mt=$(ue);J(mt,["blockFolded","blockLiteral"])?mt.chomping!=="keep"&&(ht=[f,f]):ht=f}return[d(f,it.map(yt,"children")),ht,d(f,it.map(yt,"endComments"))]}case"directive":return["%",d(" ",[ue.name,...ue.parameters])];case"comment":return["#",ue.value];case"alias":return["*",ue.value];case"tag":return Je.originalText.slice(ue.position.start.offset,ue.position.end.offset);case"anchor":return["&",ue.value];case"plain":return Ue(ue.type,Je.originalText.slice(ue.position.start.offset,ue.position.end.offset),Je);case"quoteDouble":case"quoteSingle":{let be="'",Me='"',ht=Je.originalText.slice(ue.position.start.offset+1,ue.position.end.offset-1);if(ue.type==="quoteSingle"&&ht.includes("\\")||ue.type==="quoteDouble"&&/\\[^"]/.test(ht)){let Yt=ue.type==="quoteDouble"?Me:be;return[Yt,Ue(ue.type,ht,Je),Yt]}if(ht.includes(Me))return[be,Ue(ue.type,ue.type==="quoteDouble"?ht.replace(/\\"/g,Me).replace(/'/g,be.repeat(2)):ht,Je),be];if(ht.includes(be))return[Me,Ue(ue.type,ue.type==="quoteSingle"?ht.replace(/''/g,be):ht,Je),Me];let mt=Je.singleQuote?be:Me;return[mt,Ue(ue.type,ht,Je),mt]}case"blockFolded":case"blockLiteral":return ie(it,yt,Je);case"mapping":case"sequence":return d(f,it.map(yt,"children"));case"sequenceItem":return["- ",y(2,ue.content?yt("content"):"")];case"mappingKey":case"mappingValue":return ue.content?yt("content"):"";case"mappingItem":case"flowMappingItem":return z(ue,qe,it,yt,Je);case"flowMapping":return q(it,yt,Je);case"flowSequence":return U(it,yt,Je);case"flowSequenceItem":return yt("content");default:throw new Error(`Unexpected node type ${ue.type}`)}}function fe(ue){return ue.body.children.length>0||te(ue.body)}function Ne(ue,qe){return re(ue)||qe&&(qe.head.children.length>0||te(qe.head))}function se(ue,qe,it,Je){return it.children[0]===ue&&/---(?:\s|$)/.test(Je.originalText.slice(j(ue),j(ue)+4))||ue.head.children.length>0||te(ue.head)||re(ue.head)?"head":Ne(ue,qe)?!1:qe?"root":!1}function Ue(ue,qe,it){let Je=ne(ue,qe,it);return d(f,Je.map(yt=>v(M(d(h,yt)))))}function me(ue,qe){if(J(qe))switch(delete qe.position,qe.type){case"comment":if(w(qe.value))return null;break;case"quoteDouble":case"quoteSingle":qe.type="quote";break}}A.exports={preprocess:R,embed:Q,print:ce,massageAstNode:me,insertPragma:C}}}),TC=we({"src/language-yaml/options.js"(m,A){Re();var p=lo();A.exports={bracketSpacing:p.bracketSpacing,singleQuote:p.singleQuote,proseWrap:p.proseWrap}}}),LC=we({"src/language-yaml/parsers.js"(){Re()}}),kC=we({"node_modules/linguist-languages/data/YAML.json"(m,A){A.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),PC=we({"src/language-yaml/index.js"(m,A){Re();var p=aa(),v=_C(),D=TC(),f=LC(),d=[p(kC(),h=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...h.filenames.filter(E=>E!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];A.exports={languages:d,printers:{yaml:v},options:D,parsers:f}}}),BC=we({"src/languages.js"(m,A){Re(),A.exports=[hA(),kA(),$A(),YA(),tC(),EC(),PC()]}});Re();var{version:MC}=Zr(),po=LE(),{getSupportInfo:IC}=_t(),OC=kE(),jC=BC(),RC=wn();function ua(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var p=arguments.length,v=new Array(p),D=0;D<p;D++)v[D]=arguments[D];let f=v[A]||{},d=f.plugins||[];return v[A]=Object.assign(Object.assign({},f),{},{plugins:[...jC,...Array.isArray(d)?d:Object.values(d)]}),m(...v)}}var Rp=ua(po.formatWithCursor);ut.exports={formatWithCursor:Rp,format(m,A){return Rp(m,A).formatted},check(m,A){let{formatted:p}=Rp(m,A);return p===m},doc:RC,getSupportInfo:ua(IC,0),version:MC,util:OC,__debug:{parse:ua(po.parse),formatAST:ua(po.formatAST),formatDoc:ua(po.formatDoc),printToDoc:ua(po.printToDoc),printDocToString:ua(po.printDocToString)}}});return fp()})})(eg);var xv=eg.exports,tg={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports),r=n((i,s)=>{var a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,b=(Y,g)=>function(){return Y&&(g=(0,Y[u(Y)[0]])(Y=0)),g},c=(Y,g)=>function(){return g||(0,Y[u(Y)[0]])((g={exports:{}}).exports,g),g.exports},_=(Y,g)=>{for(var W in g)a(Y,W,{get:g[W],enumerable:!0})},T=(Y,g,W,Ce)=>{if(g&&typeof g=="object"||typeof g=="function")for(let Le of u(g))!l.call(Y,Le)&&Le!==W&&a(Y,Le,{get:()=>g[Le],enumerable:!(Ce=o(g,Le))||Ce.enumerable});return Y},ee=Y=>T(a({},"__esModule",{value:!0}),Y),X,L=b({"<define:process>"(){X={env:{},argv:[]}}}),he=c({"src/common/parser-create-error.js"(Y,g){L();function W(Ce,Le){let ke=new SyntaxError(Ce+" ("+Le.start.line+":"+Le.start.column+")");return ke.loc=Le,ke}g.exports=W}}),Te=c({"src/language-yaml/pragma.js"(Y,g){L();function W(ke){return/^\s*@(?:prettier|format)\s*$/.test(ke)}function Ce(ke){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(ke)}function Le(ke){return`# @format
266
+
267
+ ${ke}`}g.exports={isPragma:W,hasPragma:Ce,insertPragma:Le}}}),Pe=c({"src/language-yaml/loc.js"(Y,g){L();function W(Le){return Le.position.start.offset}function Ce(Le){return Le.position.end.offset}g.exports={locStart:W,locEnd:Ce}}}),Fe={};_(Fe,{__assign:()=>Ci,__asyncDelegator:()=>jn,__asyncGenerator:()=>_n,__asyncValues:()=>Dr,__await:()=>hn,__awaiter:()=>Qe,__classPrivateFieldGet:()=>Qa,__classPrivateFieldSet:()=>gs,__createBinding:()=>Ve,__decorate:()=>We,__exportStar:()=>ct,__extends:()=>oe,__generator:()=>Ke,__importDefault:()=>Gi,__importStar:()=>ns,__makeTemplateObject:()=>ts,__metadata:()=>Ie,__param:()=>ze,__read:()=>kt,__rest:()=>ve,__spread:()=>Bt,__spreadArrays:()=>Gt,__values:()=>Xe});function oe(Y,g){Os(Y,g);function W(){this.constructor=Y}Y.prototype=g===null?Object.create(g):(W.prototype=g.prototype,new W)}function ve(Y,g){var W={};for(var Ce in Y)Object.prototype.hasOwnProperty.call(Y,Ce)&&g.indexOf(Ce)<0&&(W[Ce]=Y[Ce]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Ce=Object.getOwnPropertySymbols(Y);Le<Ce.length;Le++)g.indexOf(Ce[Le])<0&&Object.prototype.propertyIsEnumerable.call(Y,Ce[Le])&&(W[Ce[Le]]=Y[Ce[Le]]);return W}function We(Y,g,W,Ce){var Le=arguments.length,ke=Le<3?g:Ce===null?Ce=Object.getOwnPropertyDescriptor(g,W):Ce,tt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ke=Reflect.decorate(Y,g,W,Ce);else for(var Dt=Y.length-1;Dt>=0;Dt--)(tt=Y[Dt])&&(ke=(Le<3?tt(ke):Le>3?tt(g,W,ke):tt(g,W))||ke);return Le>3&&ke&&Object.defineProperty(g,W,ke),ke}function ze(Y,g){return function(W,Ce){g(W,Ce,Y)}}function Ie(Y,g){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(Y,g)}function Qe(Y,g,W,Ce){function Le(ke){return ke instanceof W?ke:new W(function(tt){tt(ke)})}return new(W||(W=Promise))(function(ke,tt){function Dt(vt){try{ot(Ce.next(vt))}catch(_t){tt(_t)}}function $t(vt){try{ot(Ce.throw(vt))}catch(_t){tt(_t)}}function ot(vt){vt.done?ke(vt.value):Le(vt.value).then(Dt,$t)}ot((Ce=Ce.apply(Y,g||[])).next())})}function Ke(Y,g){var W={label:0,sent:function(){if(ke[0]&1)throw ke[1];return ke[1]},trys:[],ops:[]},Ce,Le,ke,tt;return tt={next:Dt(0),throw:Dt(1),return:Dt(2)},typeof Symbol=="function"&&(tt[Symbol.iterator]=function(){return this}),tt;function Dt(ot){return function(vt){return $t([ot,vt])}}function $t(ot){if(Ce)throw new TypeError("Generator is already executing.");for(;W;)try{if(Ce=1,Le&&(ke=ot[0]&2?Le.return:ot[0]?Le.throw||((ke=Le.return)&&ke.call(Le),0):Le.next)&&!(ke=ke.call(Le,ot[1])).done)return ke;switch(Le=0,ke&&(ot=[ot[0]&2,ke.value]),ot[0]){case 0:case 1:ke=ot;break;case 4:return W.label++,{value:ot[1],done:!1};case 5:W.label++,Le=ot[1],ot=[0];continue;case 7:ot=W.ops.pop(),W.trys.pop();continue;default:if(ke=W.trys,!(ke=ke.length>0&&ke[ke.length-1])&&(ot[0]===6||ot[0]===2)){W=0;continue}if(ot[0]===3&&(!ke||ot[1]>ke[0]&&ot[1]<ke[3])){W.label=ot[1];break}if(ot[0]===6&&W.label<ke[1]){W.label=ke[1],ke=ot;break}if(ke&&W.label<ke[2]){W.label=ke[2],W.ops.push(ot);break}ke[2]&&W.ops.pop(),W.trys.pop();continue}ot=g.call(Y,W)}catch(vt){ot=[6,vt],Le=0}finally{Ce=ke=0}if(ot[0]&5)throw ot[1];return{value:ot[0]?ot[1]:void 0,done:!0}}}function Ve(Y,g,W,Ce){Ce===void 0&&(Ce=W),Y[Ce]=g[W]}function ct(Y,g){for(var W in Y)W!=="default"&&!g.hasOwnProperty(W)&&(g[W]=Y[W])}function Xe(Y){var g=typeof Symbol=="function"&&Symbol.iterator,W=g&&Y[g],Ce=0;if(W)return W.call(Y);if(Y&&typeof Y.length=="number")return{next:function(){return Y&&Ce>=Y.length&&(Y=void 0),{value:Y&&Y[Ce++],done:!Y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}function kt(Y,g){var W=typeof Symbol=="function"&&Y[Symbol.iterator];if(!W)return Y;var Ce=W.call(Y),Le,ke=[],tt;try{for(;(g===void 0||g-- >0)&&!(Le=Ce.next()).done;)ke.push(Le.value)}catch(Dt){tt={error:Dt}}finally{try{Le&&!Le.done&&(W=Ce.return)&&W.call(Ce)}finally{if(tt)throw tt.error}}return ke}function Bt(){for(var Y=[],g=0;g<arguments.length;g++)Y=Y.concat(kt(arguments[g]));return Y}function Gt(){for(var Y=0,g=0,W=arguments.length;g<W;g++)Y+=arguments[g].length;for(var Ce=Array(Y),Le=0,g=0;g<W;g++)for(var ke=arguments[g],tt=0,Dt=ke.length;tt<Dt;tt++,Le++)Ce[Le]=ke[tt];return Ce}function hn(Y){return this instanceof hn?(this.v=Y,this):new hn(Y)}function _n(Y,g,W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ce=W.apply(Y,g||[]),Le,ke=[];return Le={},tt("next"),tt("throw"),tt("return"),Le[Symbol.asyncIterator]=function(){return this},Le;function tt(jt){Ce[jt]&&(Le[jt]=function(Lt){return new Promise(function(Jt,Wt){ke.push([jt,Lt,Jt,Wt])>1||Dt(jt,Lt)})})}function Dt(jt,Lt){try{$t(Ce[jt](Lt))}catch(Jt){_t(ke[0][3],Jt)}}function $t(jt){jt.value instanceof hn?Promise.resolve(jt.value.v).then(ot,vt):_t(ke[0][2],jt)}function ot(jt){Dt("next",jt)}function vt(jt){Dt("throw",jt)}function _t(jt,Lt){jt(Lt),ke.shift(),ke.length&&Dt(ke[0][0],ke[0][1])}}function jn(Y){var g,W;return g={},Ce("next"),Ce("throw",function(Le){throw Le}),Ce("return"),g[Symbol.iterator]=function(){return this},g;function Ce(Le,ke){g[Le]=Y[Le]?function(tt){return(W=!W)?{value:hn(Y[Le](tt)),done:Le==="return"}:ke?ke(tt):tt}:ke}}function Dr(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var g=Y[Symbol.asyncIterator],W;return g?g.call(Y):(Y=typeof Xe=="function"?Xe(Y):Y[Symbol.iterator](),W={},Ce("next"),Ce("throw"),Ce("return"),W[Symbol.asyncIterator]=function(){return this},W);function Ce(ke){W[ke]=Y[ke]&&function(tt){return new Promise(function(Dt,$t){tt=Y[ke](tt),Le(Dt,$t,tt.done,tt.value)})}}function Le(ke,tt,Dt,$t){Promise.resolve($t).then(function(ot){ke({value:ot,done:Dt})},tt)}}function ts(Y,g){return Object.defineProperty?Object.defineProperty(Y,"raw",{value:g}):Y.raw=g,Y}function ns(Y){if(Y&&Y.__esModule)return Y;var g={};if(Y!=null)for(var W in Y)Object.hasOwnProperty.call(Y,W)&&(g[W]=Y[W]);return g.default=Y,g}function Gi(Y){return Y&&Y.__esModule?Y:{default:Y}}function Qa(Y,g){if(!g.has(Y))throw new TypeError("attempted to get private field on non-instance");return g.get(Y)}function gs(Y,g,W){if(!g.has(Y))throw new TypeError("attempted to set private field on non-instance");return g.set(Y,W),W}var Os,Ci,er=b({"node_modules/tslib/tslib.es6.js"(){L(),Os=function(Y,g){return Os=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Ce){W.__proto__=Ce}||function(W,Ce){for(var Le in Ce)Ce.hasOwnProperty(Le)&&(W[Le]=Ce[Le])},Os(Y,g)},Ci=function(){return Ci=Object.assign||function(Y){for(var g,W=1,Ce=arguments.length;W<Ce;W++){g=arguments[W];for(var Le in g)Object.prototype.hasOwnProperty.call(g,Le)&&(Y[Le]=g[Le])}return Y},Ci.apply(this,arguments)}}}),Dl=c({"node_modules/yaml-unist-parser/node_modules/lines-and-columns/build/index.js"(Y){L(),Y.__esModule=!0,Y.LinesAndColumns=void 0;var g=`
268
+ `,W="\r",Ce=function(){function Le(ke){this.string=ke;for(var tt=[0],Dt=0;Dt<ke.length;)switch(ke[Dt]){case g:Dt+=g.length,tt.push(Dt);break;case W:Dt+=W.length,ke[Dt]===g&&(Dt+=g.length),tt.push(Dt);break;default:Dt++;break}this.offsets=tt}return Le.prototype.locationForIndex=function(ke){if(ke<0||ke>this.string.length)return null;for(var tt=0,Dt=this.offsets;Dt[tt+1]<=ke;)tt++;var $t=ke-Dt[tt];return{line:tt,column:$t}},Le.prototype.indexForLocation=function(ke){var tt=ke.line,Dt=ke.column;return tt<0||tt>=this.offsets.length||Dt<0||Dt>this.lengthOfLine(tt)?null:this.offsets[tt]+Dt},Le.prototype.lengthOfLine=function(ke){var tt=this.offsets[ke],Dt=ke===this.offsets.length-1?this.string.length:this.offsets[ke+1];return Dt-tt},Le}();Y.LinesAndColumns=Ce,Y.default=Ce}}),Yf=c({"node_modules/yaml-unist-parser/lib/utils/define-parents.js"(Y){L(),Y.__esModule=!0;function g(W,Ce){Ce===void 0&&(Ce=null),"children"in W&&W.children.forEach(function(Le){return g(Le,W)}),"anchor"in W&&W.anchor&&g(W.anchor,W),"tag"in W&&W.tag&&g(W.tag,W),"leadingComments"in W&&W.leadingComments.forEach(function(Le){return g(Le,W)}),"middleComments"in W&&W.middleComments.forEach(function(Le){return g(Le,W)}),"indicatorComment"in W&&W.indicatorComment&&g(W.indicatorComment,W),"trailingComment"in W&&W.trailingComment&&g(W.trailingComment,W),"endComments"in W&&W.endComments.forEach(function(Le){return g(Le,W)}),Object.defineProperty(W,"_parent",{value:Ce,enumerable:!1})}Y.defineParents=g}}),Ka=c({"node_modules/yaml-unist-parser/lib/utils/get-point-text.js"(Y){L(),Y.__esModule=!0;function g(W){return W.line+":"+W.column}Y.getPointText=g}}),Hf=c({"node_modules/yaml-unist-parser/lib/attach.js"(Y){L(),Y.__esModule=!0;var g=Yf(),W=Ka();function Ce(ot){g.defineParents(ot);var vt=Le(ot),_t=ot.children.slice();ot.comments.sort(function(jt,Lt){return jt.position.start.offset-Lt.position.end.offset}).filter(function(jt){return!jt._parent}).forEach(function(jt){for(;_t.length>1&&jt.position.start.line>_t[0].position.end.line;)_t.shift();tt(jt,vt,_t[0])})}Y.attachComments=Ce;function Le(ot){for(var vt=Array.from(new Array(ot.position.end.line),function(){return{}}),_t=0,jt=ot.comments;_t<jt.length;_t++){var Lt=jt[_t];vt[Lt.position.start.line-1].comment=Lt}return ke(vt,ot),vt}function ke(ot,vt){if(vt.position.start.offset!==vt.position.end.offset){if("leadingComments"in vt){var _t=vt.position.start,jt=ot[_t.line-1].leadingAttachableNode;(!jt||_t.column<jt.position.start.column)&&(ot[_t.line-1].leadingAttachableNode=vt)}if("trailingComment"in vt&&vt.position.end.column>1&&vt.type!=="document"&&vt.type!=="documentHead"){var Lt=vt.position.end,Jt=ot[Lt.line-1].trailingAttachableNode;(!Jt||Lt.column>=Jt.position.end.column)&&(ot[Lt.line-1].trailingAttachableNode=vt)}if(vt.type!=="root"&&vt.type!=="document"&&vt.type!=="documentHead"&&vt.type!=="documentBody")for(var Wt=vt.position,_t=Wt.start,Lt=Wt.end,Kt=[Lt.line].concat(_t.line===Lt.line?[]:_t.line),bn=0,ye=Kt;bn<ye.length;bn++){var Z=ye[bn],O=ot[Z-1].trailingNode;(!O||Lt.column>=O.position.end.column)&&(ot[Z-1].trailingNode=vt)}"children"in vt&&vt.children.forEach(function(H){ke(ot,H)})}}function tt(ot,vt,_t){var jt=ot.position.start.line,Lt=vt[jt-1].trailingAttachableNode;if(Lt){if(Lt.trailingComment)throw new Error("Unexpected multiple trailing comment at "+W.getPointText(ot.position.start));g.defineParents(ot,Lt),Lt.trailingComment=ot;return}for(var Jt=jt;Jt>=_t.position.start.line;Jt--){var Wt=vt[Jt-1].trailingNode,Kt=void 0;if(Wt)Kt=Wt;else if(Jt!==jt&&vt[Jt-1].comment)Kt=vt[Jt-1].comment._parent;else continue;if((Kt.type==="sequence"||Kt.type==="mapping")&&(Kt=Kt.children[0]),Kt.type==="mappingItem"){var bn=Kt.children,ye=bn[0],Z=bn[1];Kt=$t(ye)?ye:Z}for(;;){if(Dt(Kt,ot)){g.defineParents(ot,Kt),Kt.endComments.push(ot);return}if(!Kt._parent)break;Kt=Kt._parent}break}for(var Jt=jt+1;Jt<=_t.position.end.line;Jt++){var O=vt[Jt-1].leadingAttachableNode;if(O){g.defineParents(ot,O),O.leadingComments.push(ot);return}}var H=_t.children[1];g.defineParents(ot,H),H.endComments.push(ot)}function Dt(ot,vt){if(ot.position.start.offset<vt.position.start.offset&&ot.position.end.offset>vt.position.end.offset)switch(ot.type){case"flowMapping":case"flowSequence":return ot.children.length===0||vt.position.start.line>ot.children[ot.children.length-1].position.end.line}if(vt.position.end.offset<ot.position.end.offset)return!1;switch(ot.type){case"sequenceItem":return vt.position.start.column>ot.position.start.column;case"mappingKey":case"mappingValue":return vt.position.start.column>ot._parent.position.start.column&&(ot.children.length===0||ot.children.length===1&&ot.children[0].type!=="blockFolded"&&ot.children[0].type!=="blockLiteral")&&(ot.type==="mappingValue"||$t(ot));default:return!1}}function $t(ot){return ot.position.start!==ot.position.end&&(ot.children.length===0||ot.position.start.offset!==ot.children[0].position.start.offset)}}}),kr=c({"node_modules/yaml-unist-parser/lib/factories/node.js"(Y){L(),Y.__esModule=!0;function g(W,Ce){return{type:W,position:Ce}}Y.createNode=g}}),bl=c({"node_modules/yaml-unist-parser/lib/factories/root.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr();function Ce(Le,ke,tt){return g.__assign(g.__assign({},W.createNode("root",Le)),{children:ke,comments:tt})}Y.createRoot=Ce}}),zf=c({"node_modules/yaml-unist-parser/lib/preprocess.js"(Y){L(),Y.__esModule=!0;function g(W){switch(W.type){case"DOCUMENT":for(var Ce=W.contents.length-1;Ce>=0;Ce--)W.contents[Ce].type==="BLANK_LINE"?W.contents.splice(Ce,1):g(W.contents[Ce]);for(var Ce=W.directives.length-1;Ce>=0;Ce--)W.directives[Ce].type==="BLANK_LINE"&&W.directives.splice(Ce,1);break;case"FLOW_MAP":case"FLOW_SEQ":case"MAP":case"SEQ":for(var Ce=W.items.length-1;Ce>=0;Ce--){var Le=W.items[Ce];"char"in Le||(Le.type==="BLANK_LINE"?W.items.splice(Ce,1):g(Le))}break;case"MAP_KEY":case"MAP_VALUE":case"SEQ_ITEM":W.node&&g(W.node);break;case"ALIAS":case"BLANK_LINE":case"BLOCK_FOLDED":case"BLOCK_LITERAL":case"COMMENT":case"DIRECTIVE":case"PLAIN":case"QUOTE_DOUBLE":case"QUOTE_SINGLE":break;default:throw new Error("Unexpected node type "+JSON.stringify(W.type))}}Y.removeCstBlankLine=g}}),ys=c({"node_modules/yaml-unist-parser/lib/factories/leading-comment-attachable.js"(Y){L(),Y.__esModule=!0;function g(){return{leadingComments:[]}}Y.createLeadingCommentAttachable=g}}),Za=c({"node_modules/yaml-unist-parser/lib/factories/trailing-comment-attachable.js"(Y){L(),Y.__esModule=!0;function g(W){return W===void 0&&(W=null),{trailingComment:W}}Y.createTrailingCommentAttachable=g}}),Ds=c({"node_modules/yaml-unist-parser/lib/factories/comment-attachable.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ys(),Ce=Za();function Le(){return g.__assign(g.__assign({},W.createLeadingCommentAttachable()),Ce.createTrailingCommentAttachable())}Y.createCommentAttachable=Le}}),Yo=c({"node_modules/yaml-unist-parser/lib/factories/alias.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("alias",ke)),W.createCommentAttachable()),tt),{value:Dt})}Y.createAlias=Le}}),Xf=c({"node_modules/yaml-unist-parser/lib/transforms/alias.js"(Y){L(),Y.__esModule=!0;var g=Yo();function W(Ce,Le){var ke=Ce.cstNode;return g.createAlias(Le.transformRange({origStart:ke.valueRange.origStart-1,origEnd:ke.valueRange.origEnd}),Le.transformContent(Ce),ke.rawValue)}Y.transformAlias=W}}),Qf=c({"node_modules/yaml-unist-parser/lib/factories/block-folded.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockFolded"})}Y.createBlockFolded=W}}),ta=c({"node_modules/yaml-unist-parser/lib/factories/block-value.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ys(),Ce=kr();function Le(ke,tt,Dt,$t,ot,vt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("blockValue",ke)),W.createLeadingCommentAttachable()),tt),{chomping:Dt,indent:$t,value:ot,indicatorComment:vt})}Y.createBlockValue=Le}}),vl=c({"node_modules/yaml-unist-parser/lib/constants.js"(Y){L(),Y.__esModule=!0,function(g){g.Tag="!",g.Anchor="&",g.Comment="#"}(Y.PropLeadingCharacter||(Y.PropLeadingCharacter={}))}}),Kf=c({"node_modules/yaml-unist-parser/lib/factories/anchor.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr();function Ce(Le,ke){return g.__assign(g.__assign({},W.createNode("anchor",Le)),{value:ke})}Y.createAnchor=Ce}}),Ho=c({"node_modules/yaml-unist-parser/lib/factories/comment.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr();function Ce(Le,ke){return g.__assign(g.__assign({},W.createNode("comment",Le)),{value:ke})}Y.createComment=Ce}}),Zf=c({"node_modules/yaml-unist-parser/lib/factories/content.js"(Y){L(),Y.__esModule=!0;function g(W,Ce,Le){return{anchor:Ce,tag:W,middleComments:Le}}Y.createContent=g}}),ep=c({"node_modules/yaml-unist-parser/lib/factories/tag.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr();function Ce(Le,ke){return g.__assign(g.__assign({},W.createNode("tag",Le)),{value:ke})}Y.createTag=Ce}}),El=c({"node_modules/yaml-unist-parser/lib/transforms/content.js"(Y){L(),Y.__esModule=!0;var g=vl(),W=Kf(),Ce=Ho(),Le=Zf(),ke=ep();function tt(Dt,$t,ot){ot===void 0&&(ot=function(){return!1});for(var vt=Dt.cstNode,_t=[],jt=null,Lt=null,Jt=null,Wt=0,Kt=vt.props;Wt<Kt.length;Wt++){var bn=Kt[Wt],ye=$t.text[bn.origStart];switch(ye){case g.PropLeadingCharacter.Tag:jt=jt||bn,Lt=ke.createTag($t.transformRange(bn),Dt.tag);break;case g.PropLeadingCharacter.Anchor:jt=jt||bn,Jt=W.createAnchor($t.transformRange(bn),vt.anchor);break;case g.PropLeadingCharacter.Comment:{var Z=Ce.createComment($t.transformRange(bn),$t.text.slice(bn.origStart+1,bn.origEnd));$t.comments.push(Z),!ot(Z)&&jt&&jt.origEnd<=bn.origStart&&bn.origEnd<=vt.valueRange.origStart&&_t.push(Z);break}default:throw new Error("Unexpected leading character "+JSON.stringify(ye))}}return Le.createContent(Lt,Jt,_t)}Y.transformContent=tt}}),Al=c({"node_modules/yaml-unist-parser/lib/transforms/block-value.js"(Y){L(),Y.__esModule=!0;var g=ta(),W=Ka(),Ce=El(),Le;(function(tt){tt.CLIP="clip",tt.STRIP="strip",tt.KEEP="keep"})(Le||(Le={}));function ke(tt,Dt){var $t=tt.cstNode,ot=1,vt=$t.chomping==="CLIP"?0:1,_t=$t.header.origEnd-$t.header.origStart,jt=_t-ot-vt!==0,Lt=Dt.transformRange({origStart:$t.header.origStart,origEnd:$t.valueRange.origEnd}),Jt=null,Wt=Ce.transformContent(tt,Dt,function(Kt){var bn=Lt.start.offset<Kt.position.start.offset&&Kt.position.end.offset<Lt.end.offset;if(!bn)return!1;if(Jt)throw new Error("Unexpected multiple indicator comments at "+W.getPointText(Kt.position.start));return Jt=Kt,!0});return g.createBlockValue(Lt,Wt,Le[$t.chomping],jt?$t.blockIndent:null,$t.strValue,Jt)}Y.transformAstBlockValue=ke}}),tp=c({"node_modules/yaml-unist-parser/lib/transforms/block-folded.js"(Y){L(),Y.__esModule=!0;var g=Qf(),W=Al();function Ce(Le,ke){return g.createBlockFolded(W.transformAstBlockValue(Le,ke))}Y.transformBlockFolded=Ce}}),eo=c({"node_modules/yaml-unist-parser/lib/factories/block-literal.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"blockLiteral"})}Y.createBlockLiteral=W}}),Cl=c({"node_modules/yaml-unist-parser/lib/transforms/block-literal.js"(Y){L(),Y.__esModule=!0;var g=eo(),W=Al();function Ce(Le,ke){return g.createBlockLiteral(W.transformAstBlockValue(Le,ke))}Y.transformBlockLiteral=Ce}}),np=c({"node_modules/yaml-unist-parser/lib/transforms/comment.js"(Y){L(),Y.__esModule=!0;var g=Ho();function W(Ce,Le){return g.createComment(Le.transformRange(Ce.range),Ce.comment)}Y.transformComment=W}}),rp=c({"node_modules/yaml-unist-parser/lib/factories/directive.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("directive",ke)),W.createCommentAttachable()),{name:tt,parameters:Dt})}Y.createDirective=Le}}),to=c({"node_modules/yaml-unist-parser/lib/utils/extract-prop-comments.js"(Y){L(),Y.__esModule=!0;var g=vl(),W=Ho();function Ce(Le,ke){for(var tt=0,Dt=Le.props;tt<Dt.length;tt++){var $t=Dt[tt],ot=ke.text[$t.origStart];switch(ot){case g.PropLeadingCharacter.Comment:ke.comments.push(W.createComment(ke.transformRange($t),ke.text.slice($t.origStart+1,$t.origEnd)));break;default:throw new Error("Unexpected leading character "+JSON.stringify(ot))}}}Y.extractPropComments=Ce}}),xl=c({"node_modules/yaml-unist-parser/lib/transforms/directive.js"(Y){L(),Y.__esModule=!0;var g=rp(),W=to();function Ce(Le,ke){return W.extractPropComments(Le,ke),g.createDirective(ke.transformRange(Le.range),Le.name,Le.parameters)}Y.transformDirective=Ce}}),ip=c({"node_modules/yaml-unist-parser/lib/factories/document.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr(),Ce=Za();function Le(ke,tt,Dt,$t){return g.__assign(g.__assign(g.__assign({},W.createNode("document",ke)),Ce.createTrailingCommentAttachable($t)),{children:[tt,Dt]})}Y.createDocument=Le}}),bs=c({"node_modules/yaml-unist-parser/lib/factories/position.js"(Y){L(),Y.__esModule=!0;function g(Ce,Le){return{start:Ce,end:Le}}Y.createPosition=g;function W(Ce){return{start:Ce,end:Ce}}Y.createEmptyPosition=W}}),vs=c({"node_modules/yaml-unist-parser/lib/factories/end-comment-attachable.js"(Y){L(),Y.__esModule=!0;function g(W){return W===void 0&&(W=[]),{endComments:W}}Y.createEndCommentAttachable=g}}),sp=c({"node_modules/yaml-unist-parser/lib/factories/document-body.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=vs(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("documentBody",ke)),W.createEndCommentAttachable(Dt)),{children:tt?[tt]:[]})}Y.createDocumentBody=Le}}),Es=c({"node_modules/yaml-unist-parser/lib/utils/get-last.js"(Y){L(),Y.__esModule=!0;function g(W){return W[W.length-1]}Y.getLast=g}}),Sl=c({"node_modules/yaml-unist-parser/lib/utils/get-match-index.js"(Y){L(),Y.__esModule=!0;function g(W,Ce){var Le=W.match(Ce);return Le?Le.index:-1}Y.getMatchIndex=g}}),wl=c({"node_modules/yaml-unist-parser/lib/transforms/document-body.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=sp(),Ce=Es(),Le=Sl(),ke=Ka();function tt(ot,vt,_t){var jt,Lt=ot.cstNode,Jt=Dt(Lt,vt,_t),Wt=Jt.comments,Kt=Jt.endComments,bn=Jt.documentTrailingComment,ye=Jt.documentHeadTrailingComment,Z=vt.transformNode(ot.contents),O=$t(Lt,Z,vt),H=O.position,le=O.documentEndPoint;return(jt=vt.comments).push.apply(jt,g.__spreadArrays(Wt,Kt)),{documentBody:W.createDocumentBody(H,Z,Kt),documentEndPoint:le,documentTrailingComment:bn,documentHeadTrailingComment:ye}}Y.transformDocumentBody=tt;function Dt(ot,vt,_t){for(var jt=[],Lt=[],Jt=[],Wt=[],Kt=!1,bn=ot.contents.length-1;bn>=0;bn--){var ye=ot.contents[bn];if(ye.type==="COMMENT"){var Z=vt.transformNode(ye);_t&&_t.line===Z.position.start.line?Wt.unshift(Z):Kt?jt.unshift(Z):Z.position.start.offset>=ot.valueRange.origEnd?Jt.unshift(Z):jt.unshift(Z)}else Kt=!0}if(Jt.length>1)throw new Error("Unexpected multiple document trailing comments at "+ke.getPointText(Jt[1].position.start));if(Wt.length>1)throw new Error("Unexpected multiple documentHead trailing comments at "+ke.getPointText(Wt[1].position.start));return{comments:jt,endComments:Lt,documentTrailingComment:Ce.getLast(Jt)||null,documentHeadTrailingComment:Ce.getLast(Wt)||null}}function $t(ot,vt,_t){var jt=Le.getMatchIndex(_t.text.slice(ot.valueRange.origEnd),/^\.\.\./),Lt=jt===-1?ot.valueRange.origEnd:Math.max(0,ot.valueRange.origEnd-1);_t.text[Lt-1]==="\r"&&Lt--;var Jt=_t.transformRange({origStart:vt!==null?vt.position.start.offset:Lt,origEnd:Lt}),Wt=jt===-1?Jt.end:_t.transformOffset(ot.valueRange.origEnd+3);return{position:Jt,documentEndPoint:Wt}}}}),ap=c({"node_modules/yaml-unist-parser/lib/factories/document-head.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=vs(),Ce=kr(),Le=Za();function ke(tt,Dt,$t,ot){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("documentHead",tt)),W.createEndCommentAttachable($t)),Le.createTrailingCommentAttachable(ot)),{children:Dt})}Y.createDocumentHead=ke}}),Fl=c({"node_modules/yaml-unist-parser/lib/transforms/document-head.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ap(),Ce=Sl();function Le(Dt,$t){var ot,vt=Dt.cstNode,_t=ke(vt,$t),jt=_t.directives,Lt=_t.comments,Jt=_t.endComments,Wt=tt(vt,jt,$t),Kt=Wt.position,bn=Wt.endMarkerPoint;(ot=$t.comments).push.apply(ot,g.__spreadArrays(Lt,Jt));var ye=function(Z){return Z&&$t.comments.push(Z),W.createDocumentHead(Kt,jt,Jt,Z)};return{createDocumentHeadWithTrailingComment:ye,documentHeadEndMarkerPoint:bn}}Y.transformDocumentHead=Le;function ke(Dt,$t){for(var ot=[],vt=[],_t=[],jt=!1,Lt=Dt.directives.length-1;Lt>=0;Lt--){var Jt=$t.transformNode(Dt.directives[Lt]);Jt.type==="comment"?jt?vt.unshift(Jt):_t.unshift(Jt):(jt=!0,ot.unshift(Jt))}return{directives:ot,comments:vt,endComments:_t}}function tt(Dt,$t,ot){var vt=Ce.getMatchIndex(ot.text.slice(0,Dt.valueRange.origStart),/---\s*$/);vt>0&&!/[\r\n]/.test(ot.text[vt-1])&&(vt=-1);var _t=vt===-1?{origStart:Dt.valueRange.origStart,origEnd:Dt.valueRange.origStart}:{origStart:vt,origEnd:vt+3};return $t.length!==0&&(_t.origStart=$t[0].position.start.offset),{position:ot.transformRange(_t),endMarkerPoint:vt===-1?null:ot.transformOffset(vt)}}}}),op=c({"node_modules/yaml-unist-parser/lib/transforms/document.js"(Y){L(),Y.__esModule=!0;var g=ip(),W=bs(),Ce=wl(),Le=Fl();function ke(tt,Dt){var $t=Le.transformDocumentHead(tt,Dt),ot=$t.createDocumentHeadWithTrailingComment,vt=$t.documentHeadEndMarkerPoint,_t=Ce.transformDocumentBody(tt,Dt,vt),jt=_t.documentBody,Lt=_t.documentEndPoint,Jt=_t.documentTrailingComment,Wt=_t.documentHeadTrailingComment,Kt=ot(Wt);return Jt&&Dt.comments.push(Jt),g.createDocument(W.createPosition(Kt.position.start,Lt),Kt,jt,Jt)}Y.transformDocument=ke}}),Nl=c({"node_modules/yaml-unist-parser/lib/factories/flow-collection.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=vs(),Le=kr();function ke(tt,Dt,$t){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("flowCollection",tt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),Dt),{children:$t})}Y.createFlowCollection=ke}}),up=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Nl();function Ce(Le,ke,tt){return g.__assign(g.__assign({},W.createFlowCollection(Le,ke,tt)),{type:"flowMapping"})}Y.createFlowMapping=Ce}}),_l=c({"node_modules/yaml-unist-parser/lib/factories/flow-mapping-item.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ys(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("flowMappingItem",ke)),W.createLeadingCommentAttachable()),{children:[tt,Dt]})}Y.createFlowMappingItem=Le}}),no=c({"node_modules/yaml-unist-parser/lib/utils/extract-comments.js"(Y){L(),Y.__esModule=!0;function g(W,Ce){for(var Le=[],ke=0,tt=W;ke<tt.length;ke++){var Dt=tt[ke];Dt&&"type"in Dt&&Dt.type==="COMMENT"?Ce.comments.push(Ce.transformNode(Dt)):Le.push(Dt)}return Le}Y.extractComments=g}}),Tl=c({"node_modules/yaml-unist-parser/lib/utils/get-flow-map-item-additional-ranges.js"(Y){L(),Y.__esModule=!0;function g(W){var Ce=["?",":"].map(function(tt){var Dt=W.find(function($t){return"char"in $t&&$t.char===tt});return Dt?{origStart:Dt.origOffset,origEnd:Dt.origOffset+1}:null}),Le=Ce[0],ke=Ce[1];return{additionalKeyRange:Le,additionalValueRange:ke}}Y.getFlowMapItemAdditionalRanges=g}}),Ll=c({"node_modules/yaml-unist-parser/lib/utils/create-slicer.js"(Y){L(),Y.__esModule=!0;function g(W,Ce){var Le=Ce;return function(ke){return W.slice(Le,Le=ke)}}Y.createSlicer=g}}),kl=c({"node_modules/yaml-unist-parser/lib/utils/group-cst-flow-collection-items.js"(Y){L(),Y.__esModule=!0;var g=Ll();function W(Ce){for(var Le=[],ke=g.createSlicer(Ce,1),tt=!1,Dt=1;Dt<Ce.length-1;Dt++){var $t=Ce[Dt];if("char"in $t&&$t.char===","){Le.push(ke(Dt)),ke(Dt+1),tt=!1;continue}tt=!0}return tt&&Le.push(ke(Ce.length-1)),Le}Y.groupCstFlowCollectionItems=W}}),lp=c({"node_modules/yaml-unist-parser/lib/factories/mapping-key.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=vs(),Ce=kr(),Le=Za();function ke(tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingKey",tt)),Le.createTrailingCommentAttachable()),W.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createMappingKey=ke}}),cp=c({"node_modules/yaml-unist-parser/lib/factories/mapping-value.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=vs(),Le=kr();function ke(tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("mappingValue",tt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createMappingValue=ke}}),zo=c({"node_modules/yaml-unist-parser/lib/transforms/pair.js"(Y){L(),Y.__esModule=!0;var g=lp(),W=cp(),Ce=bs();function Le(ke,tt,Dt,$t,ot){var vt=tt.transformNode(ke.key),_t=tt.transformNode(ke.value),jt=vt||$t?g.createMappingKey(tt.transformRange({origStart:$t?$t.origStart:vt.position.start.offset,origEnd:vt?vt.position.end.offset:$t.origStart+1}),vt):null,Lt=_t||ot?W.createMappingValue(tt.transformRange({origStart:ot?ot.origStart:_t.position.start.offset,origEnd:_t?_t.position.end.offset:ot.origStart+1}),_t):null;return Dt(Ce.createPosition(jt?jt.position.start:Lt.position.start,Lt?Lt.position.end:jt.position.end),jt||g.createMappingKey(Ce.createEmptyPosition(Lt.position.start),null),Lt||W.createMappingValue(Ce.createEmptyPosition(jt.position.end),null))}Y.transformAstPair=Le}}),fp=c({"node_modules/yaml-unist-parser/lib/transforms/flow-map.js"(Y){L(),Y.__esModule=!0;var g=up(),W=_l(),Ce=no(),Le=Tl(),ke=Es(),tt=kl(),Dt=zo();function $t(ot,vt){var _t=Ce.extractComments(ot.cstNode.items,vt),jt=tt.groupCstFlowCollectionItems(_t),Lt=ot.items.map(function(Kt,bn){var ye=jt[bn],Z=Le.getFlowMapItemAdditionalRanges(ye),O=Z.additionalKeyRange,H=Z.additionalValueRange;return Dt.transformAstPair(Kt,vt,W.createFlowMappingItem,O,H)}),Jt=_t[0],Wt=ke.getLast(_t);return g.createFlowMapping(vt.transformRange({origStart:Jt.origOffset,origEnd:Wt.origOffset+1}),vt.transformContent(ot),Lt)}Y.transformFlowMap=$t}}),Qt=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Nl();function Ce(Le,ke,tt){return g.__assign(g.__assign({},W.createFlowCollection(Le,ke,tt)),{type:"flowSequence"})}Y.createFlowSequence=Ce}}),ut=c({"node_modules/yaml-unist-parser/lib/factories/flow-sequence-item.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=kr();function Ce(Le,ke){return g.__assign(g.__assign({},W.createNode("flowSequenceItem",Le)),{children:[ke]})}Y.createFlowSequenceItem=Ce}}),et=c({"node_modules/yaml-unist-parser/lib/transforms/flow-seq.js"(Y){L(),Y.__esModule=!0;var g=_l(),W=Qt(),Ce=ut(),Le=bs(),ke=no(),tt=Tl(),Dt=Es(),$t=kl(),ot=zo();function vt(_t,jt){var Lt=ke.extractComments(_t.cstNode.items,jt),Jt=$t.groupCstFlowCollectionItems(Lt),Wt=_t.items.map(function(ye,Z){if(ye.type!=="PAIR"){var O=jt.transformNode(ye);return Ce.createFlowSequenceItem(Le.createPosition(O.position.start,O.position.end),O)}else{var H=Jt[Z],le=tt.getFlowMapItemAdditionalRanges(H),Se=le.additionalKeyRange,Be=le.additionalValueRange;return ot.transformAstPair(ye,jt,g.createFlowMappingItem,Se,Be)}}),Kt=Lt[0],bn=Dt.getLast(Lt);return W.createFlowSequence(jt.transformRange({origStart:Kt.origOffset,origEnd:bn.origOffset+1}),jt.transformContent(_t),Wt)}Y.transformFlowSeq=vt}}),ft=c({"node_modules/yaml-unist-parser/lib/factories/mapping.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ys(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("mapping",ke)),W.createLeadingCommentAttachable()),tt),{children:Dt})}Y.createMapping=Le}}),at=c({"node_modules/yaml-unist-parser/lib/factories/mapping-item.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=ys(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign({},Ce.createNode("mappingItem",ke)),W.createLeadingCommentAttachable()),{children:[tt,Dt]})}Y.createMappingItem=Le}}),wt=c({"node_modules/yaml-unist-parser/lib/transforms/map.js"(Y){L(),Y.__esModule=!0;var g=ft(),W=at(),Ce=bs(),Le=Ll(),ke=no(),tt=to(),Dt=Es(),$t=zo();function ot(_t,jt){var Lt=_t.cstNode;Lt.items.filter(function(bn){return bn.type==="MAP_KEY"||bn.type==="MAP_VALUE"}).forEach(function(bn){return tt.extractPropComments(bn,jt)});var Jt=ke.extractComments(Lt.items,jt),Wt=vt(Jt),Kt=_t.items.map(function(bn,ye){var Z=Wt[ye],O=Z[0].type==="MAP_VALUE"?[null,Z[0].range]:[Z[0].range,Z.length===1?null:Z[1].range],H=O[0],le=O[1];return $t.transformAstPair(bn,jt,W.createMappingItem,H,le)});return g.createMapping(Ce.createPosition(Kt[0].position.start,Dt.getLast(Kt).position.end),jt.transformContent(_t),Kt)}Y.transformMap=ot;function vt(_t){for(var jt=[],Lt=Le.createSlicer(_t,0),Jt=!1,Wt=0;Wt<_t.length;Wt++){var Kt=_t[Wt];if(Kt.type==="MAP_VALUE"){jt.push(Lt(Wt+1)),Jt=!1;continue}Jt&&jt.push(Lt(Wt)),Jt=!0}return Jt&&jt.push(Lt(1/0)),jt}}}),Mt=c({"node_modules/yaml-unist-parser/lib/factories/plain.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("plain",ke)),W.createCommentAttachable()),tt),{value:Dt})}Y.createPlain=Le}}),Ht=c({"node_modules/yaml-unist-parser/lib/utils/find-last-char-index.js"(Y){L(),Y.__esModule=!0;function g(W,Ce,Le){for(var ke=Ce;ke>=0;ke--)if(Le.test(W[ke]))return ke;return-1}Y.findLastCharIndex=g}}),qt=c({"node_modules/yaml-unist-parser/lib/transforms/plain.js"(Y){L(),Y.__esModule=!0;var g=Mt(),W=Ht();function Ce(Le,ke){var tt=Le.cstNode;return g.createPlain(ke.transformRange({origStart:tt.valueRange.origStart,origEnd:W.findLastCharIndex(ke.text,tt.valueRange.origEnd-1,/\S/)+1}),ke.transformContent(Le),tt.strValue)}Y.transformPlain=Ce}}),zt=c({"node_modules/yaml-unist-parser/lib/factories/quote-double.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteDouble"})}Y.createQuoteDouble=W}}),fn=c({"node_modules/yaml-unist-parser/lib/factories/quote-value.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=kr();function Le(ke,tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Ce.createNode("quoteValue",ke)),tt),W.createCommentAttachable()),{value:Dt})}Y.createQuoteValue=Le}}),yn=c({"node_modules/yaml-unist-parser/lib/transforms/quote-value.js"(Y){L(),Y.__esModule=!0;var g=fn();function W(Ce,Le){var ke=Ce.cstNode;return g.createQuoteValue(Le.transformRange(ke.valueRange),Le.transformContent(Ce),ke.strValue)}Y.transformAstQuoteValue=W}}),vn=c({"node_modules/yaml-unist-parser/lib/transforms/quote-double.js"(Y){L(),Y.__esModule=!0;var g=zt(),W=yn();function Ce(Le,ke){return g.createQuoteDouble(W.transformAstQuoteValue(Le,ke))}Y.transformQuoteDouble=Ce}}),pn=c({"node_modules/yaml-unist-parser/lib/factories/quote-single.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe));function W(Ce){return g.__assign(g.__assign({},Ce),{type:"quoteSingle"})}Y.createQuoteSingle=W}}),we=c({"node_modules/yaml-unist-parser/lib/transforms/quote-single.js"(Y){L(),Y.__esModule=!0;var g=pn(),W=yn();function Ce(Le,ke){return g.createQuoteSingle(W.transformAstQuoteValue(Le,ke))}Y.transformQuoteSingle=Ce}}),Sn=c({"node_modules/yaml-unist-parser/lib/factories/sequence.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=vs(),Ce=ys(),Le=kr();function ke(tt,Dt,$t){return g.__assign(g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("sequence",tt)),Ce.createLeadingCommentAttachable()),W.createEndCommentAttachable()),Dt),{children:$t})}Y.createSequence=ke}}),Mn=c({"node_modules/yaml-unist-parser/lib/factories/sequence-item.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe)),W=Ds(),Ce=vs(),Le=kr();function ke(tt,Dt){return g.__assign(g.__assign(g.__assign(g.__assign({},Le.createNode("sequenceItem",tt)),W.createCommentAttachable()),Ce.createEndCommentAttachable()),{children:Dt?[Dt]:[]})}Y.createSequenceItem=ke}}),Kn=c({"node_modules/yaml-unist-parser/lib/transforms/seq.js"(Y){L(),Y.__esModule=!0;var g=bs(),W=Sn(),Ce=Mn(),Le=no(),ke=to(),tt=Es();function Dt($t,ot){var vt=Le.extractComments($t.cstNode.items,ot),_t=vt.map(function(jt,Lt){ke.extractPropComments(jt,ot);var Jt=ot.transformNode($t.items[Lt]);return Ce.createSequenceItem(g.createPosition(ot.transformOffset(jt.valueRange.origStart),Jt===null?ot.transformOffset(jt.valueRange.origStart+1):Jt.position.end),Jt)});return W.createSequence(g.createPosition(_t[0].position.start,tt.getLast(_t).position.end),ot.transformContent($t),_t)}Y.transformSeq=Dt}}),Yn=c({"node_modules/yaml-unist-parser/lib/transform.js"(Y){L(),Y.__esModule=!0;var g=Xf(),W=tp(),Ce=Cl(),Le=np(),ke=xl(),tt=op(),Dt=fp(),$t=et(),ot=wt(),vt=qt(),_t=vn(),jt=we(),Lt=Kn();function Jt(Wt,Kt){if(Wt===null||Wt.type===void 0&&Wt.value===null)return null;switch(Wt.type){case"ALIAS":return g.transformAlias(Wt,Kt);case"BLOCK_FOLDED":return W.transformBlockFolded(Wt,Kt);case"BLOCK_LITERAL":return Ce.transformBlockLiteral(Wt,Kt);case"COMMENT":return Le.transformComment(Wt,Kt);case"DIRECTIVE":return ke.transformDirective(Wt,Kt);case"DOCUMENT":return tt.transformDocument(Wt,Kt);case"FLOW_MAP":return Dt.transformFlowMap(Wt,Kt);case"FLOW_SEQ":return $t.transformFlowSeq(Wt,Kt);case"MAP":return ot.transformMap(Wt,Kt);case"PLAIN":return vt.transformPlain(Wt,Kt);case"QUOTE_DOUBLE":return _t.transformQuoteDouble(Wt,Kt);case"QUOTE_SINGLE":return jt.transformQuoteSingle(Wt,Kt);case"SEQ":return Lt.transformSeq(Wt,Kt);default:throw new Error("Unexpected node type "+Wt.type)}}Y.transformNode=Jt}}),xr=c({"node_modules/yaml-unist-parser/lib/factories/error.js"(Y){L(),Y.__esModule=!0;function g(W,Ce,Le){var ke=new SyntaxError(W);return ke.name="YAMLSyntaxError",ke.source=Ce,ke.position=Le,ke}Y.createError=g}}),Re=c({"node_modules/yaml-unist-parser/lib/transforms/error.js"(Y){L(),Y.__esModule=!0;var g=xr();function W(Ce,Le){var ke=Ce.source.range||Ce.source.valueRange;return g.createError(Ce.message,Le.text,Le.transformRange(ke))}Y.transformError=W}}),Zr=c({"node_modules/yaml-unist-parser/lib/factories/point.js"(Y){L(),Y.__esModule=!0;function g(W,Ce,Le){return{offset:W,line:Ce,column:Le}}Y.createPoint=g}}),As=c({"node_modules/yaml-unist-parser/lib/transforms/offset.js"(Y){L(),Y.__esModule=!0;var g=Zr();function W(Ce,Le){Ce<0?Ce=0:Ce>Le.text.length&&(Ce=Le.text.length);var ke=Le.locator.locationForIndex(Ce);return g.createPoint(Ce,ke.line+1,ke.column+1)}Y.transformOffset=W}}),js=c({"node_modules/yaml-unist-parser/lib/transforms/range.js"(Y){L(),Y.__esModule=!0;var g=bs();function W(Ce,Le){return g.createPosition(Le.transformOffset(Ce.origStart),Le.transformOffset(Ce.origEnd))}Y.transformRange=W}}),hi=c({"node_modules/yaml-unist-parser/lib/utils/add-orig-range.js"(Y){L(),Y.__esModule=!0;var g=!0;function W(tt){if(!tt.setOrigRanges()){var Dt=function($t){if(Le($t))return $t.origStart=$t.start,$t.origEnd=$t.end,g;if(ke($t))return $t.origOffset=$t.offset,g};tt.forEach(function($t){return Ce($t,Dt)})}}Y.addOrigRange=W;function Ce(tt,Dt){if(!(!tt||typeof tt!="object")&&Dt(tt)!==g)for(var $t=0,ot=Object.keys(tt);$t<ot.length;$t++){var vt=ot[$t];if(!(vt==="context"||vt==="error")){var _t=tt[vt];Array.isArray(_t)?_t.forEach(function(jt){return Ce(jt,Dt)}):Ce(_t,Dt)}}}function Le(tt){return typeof tt.start=="number"}function ke(tt){return typeof tt.offset=="number"}}}),rs=c({"node_modules/yaml-unist-parser/lib/utils/remove-fake-nodes.js"(Y){L(),Y.__esModule=!0;function g(W){if("children"in W){if(W.children.length===1){var Ce=W.children[0];if(Ce.type==="plain"&&Ce.tag===null&&Ce.anchor===null&&Ce.value==="")return W.children.splice(0,1),W}W.children.forEach(g)}return W}Y.removeFakeNodes=g}}),qr=c({"node_modules/yaml-unist-parser/lib/utils/create-updater.js"(Y){L(),Y.__esModule=!0;function g(W,Ce,Le,ke){var tt=Ce(W);return function(Dt){ke(tt,Dt)&&Le(W,tt=Dt)}}Y.createUpdater=g}}),ro=c({"node_modules/yaml-unist-parser/lib/utils/update-positions.js"(Y){L(),Y.__esModule=!0;var g=qr(),W=Es();function Ce(vt){if(!(vt===null||!("children"in vt))){var _t=vt.children;if(_t.forEach(Ce),vt.type==="document"){var jt=vt.children,Lt=jt[0],Jt=jt[1];Lt.position.start.offset===Lt.position.end.offset?Lt.position.start=Lt.position.end=Jt.position.start:Jt.position.start.offset===Jt.position.end.offset&&(Jt.position.start=Jt.position.end=Lt.position.end)}var Wt=g.createUpdater(vt.position,Le,ke,$t),Kt=g.createUpdater(vt.position,tt,Dt,ot);"endComments"in vt&&vt.endComments.length!==0&&(Wt(vt.endComments[0].position.start),Kt(W.getLast(vt.endComments).position.end));var bn=_t.filter(function(O){return O!==null});if(bn.length!==0){var ye=bn[0],Z=W.getLast(bn);Wt(ye.position.start),Kt(Z.position.end),"leadingComments"in ye&&ye.leadingComments.length!==0&&Wt(ye.leadingComments[0].position.start),"tag"in ye&&ye.tag&&Wt(ye.tag.position.start),"anchor"in ye&&ye.anchor&&Wt(ye.anchor.position.start),"trailingComment"in Z&&Z.trailingComment&&Kt(Z.trailingComment.position.end)}}}Y.updatePositions=Ce;function Le(vt){return vt.start}function ke(vt,_t){vt.start=_t}function tt(vt){return vt.end}function Dt(vt,_t){vt.end=_t}function $t(vt,_t){return _t.offset<vt.offset}function ot(vt,_t){return _t.offset>vt.offset}}}),Gr=c({"node_modules/yaml/dist/PlainValue-ec8e588e.js"(Y){L();var g={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},W={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},Ce="tag:yaml.org,2002:",Le={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function ke(Z){let O=[0],H=Z.indexOf(`
269
+ `);for(;H!==-1;)H+=1,O.push(H),H=Z.indexOf(`
270
+ `,H);return O}function tt(Z){let O,H;return typeof Z=="string"?(O=ke(Z),H=Z):(Array.isArray(Z)&&(Z=Z[0]),Z&&Z.context&&(Z.lineStarts||(Z.lineStarts=ke(Z.context.src)),O=Z.lineStarts,H=Z.context.src)),{lineStarts:O,src:H}}function Dt(Z,O){if(typeof Z!="number"||Z<0)return null;let{lineStarts:H,src:le}=tt(O);if(!H||!le||Z>le.length)return null;for(let Be=0;Be<H.length;++Be){let Ee=H[Be];if(Z<Ee)return{line:Be,col:Z-H[Be-1]+1};if(Z===Ee)return{line:Be+1,col:1}}let Se=H.length;return{line:Se,col:Z-H[Se-1]+1}}function $t(Z,O){let{lineStarts:H,src:le}=tt(O);if(!H||!(Z>=1)||Z>H.length)return null;let Se=H[Z-1],Be=H[Z];for(;Be&&Be>Se&&le[Be-1]===`
271
+ `;)--Be;return le.slice(Se,Be)}function ot(Z,O){let{start:H,end:le}=Z,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:80,Be=$t(H.line,O);if(!Be)return null;let{col:Ee}=H;if(Be.length>Se)if(Ee<=Se-10)Be=Be.substr(0,Se-1)+"…";else{let En=Math.round(Se/2);Be.length>Ee+En&&(Be=Be.substr(0,Ee+En-1)+"…"),Ee-=Be.length-Se,Be="…"+Be.substr(1-Se)}let je=1,xt="";le&&(le.line===H.line&&Ee+(le.col-H.col)<=Se+1?je=le.col-H.col:(je=Math.min(Be.length+1,Se)-Ee,xt="…"));let Rt=Ee>1?" ".repeat(Ee-1):"",Xt="^".repeat(je);return`${Be}
272
+ ${Rt}${Xt}${xt}`}var vt=class{static copy(Z){return new vt(Z.start,Z.end)}constructor(Z,O){this.start=Z,this.end=O||Z}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(Z,O){let{start:H,end:le}=this;if(Z.length===0||le<=Z[0])return this.origStart=H,this.origEnd=le,O;let Se=O;for(;Se<Z.length&&!(Z[Se]>H);)++Se;this.origStart=H+Se;let Be=Se;for(;Se<Z.length&&!(Z[Se]>=le);)++Se;return this.origEnd=le+Se,Be}},_t=class{static addStringTerminator(Z,O,H){if(H[H.length-1]===`
273
+ `)return H;let le=_t.endOfWhiteSpace(Z,O);return le>=Z.length||Z[le]===`
274
+ `?H+`
275
+ `:H}static atDocumentBoundary(Z,O,H){let le=Z[O];if(!le)return!0;let Se=Z[O-1];if(Se&&Se!==`
276
+ `)return!1;if(H){if(le!==H)return!1}else if(le!==g.DIRECTIVES_END&&le!==g.DOCUMENT_END)return!1;let Be=Z[O+1],Ee=Z[O+2];if(Be!==le||Ee!==le)return!1;let je=Z[O+3];return!je||je===`
277
+ `||je===" "||je===" "}static endOfIdentifier(Z,O){let H=Z[O],le=H==="<",Se=le?[`
278
+ `," "," ",">"]:[`
279
+ `," "," ","[","]","{","}",","];for(;H&&Se.indexOf(H)===-1;)H=Z[O+=1];return le&&H===">"&&(O+=1),O}static endOfIndent(Z,O){let H=Z[O];for(;H===" ";)H=Z[O+=1];return O}static endOfLine(Z,O){let H=Z[O];for(;H&&H!==`
280
+ `;)H=Z[O+=1];return O}static endOfWhiteSpace(Z,O){let H=Z[O];for(;H===" "||H===" ";)H=Z[O+=1];return O}static startOfLine(Z,O){let H=Z[O-1];if(H===`
281
+ `)return O;for(;H&&H!==`
282
+ `;)H=Z[O-=1];return O+1}static endOfBlockIndent(Z,O,H){let le=_t.endOfIndent(Z,H);if(le>H+O)return le;{let Se=_t.endOfWhiteSpace(Z,le),Be=Z[Se];if(!Be||Be===`
283
+ `)return Se}return null}static atBlank(Z,O,H){let le=Z[O];return le===`
284
+ `||le===" "||le===" "||H&&!le}static nextNodeIsIndented(Z,O,H){return!Z||O<0?!1:O>0?!0:H&&Z==="-"}static normalizeOffset(Z,O){let H=Z[O];return H?H!==`
285
+ `&&Z[O-1]===`
286
+ `?O-1:_t.endOfWhiteSpace(Z,O):O}static foldNewline(Z,O,H){let le=0,Se=!1,Be="",Ee=Z[O+1];for(;Ee===" "||Ee===" "||Ee===`
287
+ `;){switch(Ee){case`
288
+ `:le=0,O+=1,Be+=`
289
+ `;break;case" ":le<=H&&(Se=!0),O=_t.endOfWhiteSpace(Z,O+2)-1;break;case" ":le+=1,O+=1;break}Ee=Z[O+1]}return Be||(Be=" "),Ee&&le<=H&&(Se=!0),{fold:Be,offset:O,error:Se}}constructor(Z,O,H){Object.defineProperty(this,"context",{value:H||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=O||[],this.type=Z,this.value=null}getPropValue(Z,O,H){if(!this.context)return null;let{src:le}=this.context,Se=this.props[Z];return Se&&le[Se.start]===O?le.slice(Se.start+(H?1:0),Se.end):null}get anchor(){for(let Z=0;Z<this.props.length;++Z){let O=this.getPropValue(Z,g.ANCHOR,!0);if(O!=null)return O}return null}get comment(){let Z=[];for(let O=0;O<this.props.length;++O){let H=this.getPropValue(O,g.COMMENT,!0);H!=null&&Z.push(H)}return Z.length>0?Z.join(`
290
+ `):null}commentHasRequiredWhitespace(Z){let{src:O}=this.context;if(this.header&&Z===this.header.end||!this.valueRange)return!1;let{end:H}=this.valueRange;return Z!==H||_t.atBlank(O,H-1)}get hasComment(){if(this.context){let{src:Z}=this.context;for(let O=0;O<this.props.length;++O)if(Z[this.props[O].start]===g.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:Z}=this.context;for(let O=0;O<this.props.length;++O)if(Z[this.props[O].start]!==g.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[W.FLOW_MAP,W.FLOW_SEQ,W.QUOTE_DOUBLE,W.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let Z=Dt(this.range.start,this.context.root);if(!Z)return;let O=Dt(this.range.end,this.context.root);return{start:Z,end:O}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:Z,end:O}=this.valueRange;return this.context.src.slice(Z,O)}get tag(){for(let Z=0;Z<this.props.length;++Z){let O=this.getPropValue(Z,g.TAG,!1);if(O!=null){if(O[1]==="<")return{verbatim:O.slice(2,-1)};{let[H,le,Se]=O.match(/^(.*!)([^!]*)$/);return{handle:le,suffix:Se}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:Z,end:O}=this.valueRange,{src:H}=this.context;for(let le=Z;le<O;++le)if(H[le]===`
291
+ `)return!0;return!1}parseComment(Z){let{src:O}=this.context;if(O[Z]===g.COMMENT){let H=_t.endOfLine(O,Z+1),le=new vt(Z,H);return this.props.push(le),H}return Z}setOrigRanges(Z,O){return this.range&&(O=this.range.setOrigRange(Z,O)),this.valueRange&&this.valueRange.setOrigRange(Z,O),this.props.forEach(H=>H.setOrigRange(Z,O)),O}toString(){let{context:{src:Z},range:O,value:H}=this;if(H!=null)return H;let le=Z.slice(O.start,O.end);return _t.addStringTerminator(Z,O.end,le)}},jt=class extends Error{constructor(Z,O,H){if(!H||!(O instanceof _t))throw new Error(`Invalid arguments for new ${Z}`);super(),this.name=Z,this.message=H,this.source=O}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let Z=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new vt(this.offset,this.offset+1);let O=Z&&Dt(this.offset,Z);if(O){let H={line:O.line,col:O.col+1};this.linePos={start:O,end:H}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:O,col:H}=this.linePos.start;this.message+=` at line ${O}, column ${H}`;let le=Z&&ot(this.linePos,Z);le&&(this.message+=`:
292
+
293
+ ${le}
294
+ `)}delete this.source}},Lt=class extends jt{constructor(Z,O){super("YAMLReferenceError",Z,O)}},Jt=class extends jt{constructor(Z,O){super("YAMLSemanticError",Z,O)}},Wt=class extends jt{constructor(Z,O){super("YAMLSyntaxError",Z,O)}},Kt=class extends jt{constructor(Z,O){super("YAMLWarning",Z,O)}};function bn(Z,O,H){return O in Z?Object.defineProperty(Z,O,{value:H,enumerable:!0,configurable:!0,writable:!0}):Z[O]=H,Z}var ye=class extends _t{static endOfLine(Z,O,H){let le=Z[O],Se=O;for(;le&&le!==`
295
+ `&&!(H&&(le==="["||le==="]"||le==="{"||le==="}"||le===","));){let Be=Z[Se+1];if(le===":"&&(!Be||Be===`
296
+ `||Be===" "||Be===" "||H&&Be===",")||(le===" "||le===" ")&&Be==="#")break;Se+=1,le=Be}return Se}get strValue(){if(!this.valueRange||!this.context)return null;let{start:Z,end:O}=this.valueRange,{src:H}=this.context,le=H[O-1];for(;Z<O&&(le===`
297
+ `||le===" "||le===" ");)le=H[--O-1];let Se="";for(let Ee=Z;Ee<O;++Ee){let je=H[Ee];if(je===`
298
+ `){let{fold:xt,offset:Rt}=_t.foldNewline(H,Ee,-1);Se+=xt,Ee=Rt}else if(je===" "||je===" "){let xt=Ee,Rt=H[Ee+1];for(;Ee<O&&(Rt===" "||Rt===" ");)Ee+=1,Rt=H[Ee+1];Rt!==`
299
+ `&&(Se+=Ee>xt?H.slice(xt,Ee+1):je)}else Se+=je}let Be=H[Z];switch(Be){case" ":{let Ee="Plain value cannot start with a tab character";return{errors:[new Jt(this,Ee)],str:Se}}case"@":case"`":{let Ee=`Plain value cannot start with reserved character ${Be}`;return{errors:[new Jt(this,Ee)],str:Se}}default:return Se}}parseBlockValue(Z){let{indent:O,inFlow:H,src:le}=this.context,Se=Z,Be=Z;for(let Ee=le[Se];Ee===`
300
+ `&&!_t.atDocumentBoundary(le,Se+1);Ee=le[Se]){let je=_t.endOfBlockIndent(le,O,Se+1);if(je===null||le[je]==="#")break;le[je]===`
301
+ `?Se=je:(Be=ye.endOfLine(le,je,H),Se=Be)}return this.valueRange.isEmpty()&&(this.valueRange.start=Z),this.valueRange.end=Be,Be}parse(Z,O){this.context=Z;let{inFlow:H,src:le}=Z,Se=O,Be=le[Se];return Be&&Be!=="#"&&Be!==`
302
+ `&&(Se=ye.endOfLine(le,O,H)),this.valueRange=new vt(O,Se),Se=_t.endOfWhiteSpace(le,Se),Se=this.parseComment(Se),(!this.hasComment||this.valueRange.isEmpty())&&(Se=this.parseBlockValue(Se)),Se}};Y.Char=g,Y.Node=_t,Y.PlainValue=ye,Y.Range=vt,Y.Type=W,Y.YAMLError=jt,Y.YAMLReferenceError=Lt,Y.YAMLSemanticError=Jt,Y.YAMLSyntaxError=Wt,Y.YAMLWarning=Kt,Y._defineProperty=bn,Y.defaultTagPrefix=Ce,Y.defaultTags=Le}}),io=c({"node_modules/yaml/dist/parse-cst.js"(Y){L();var g=Gr(),W=class extends g.Node{constructor(){super(g.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(ye,Z){return this.context=ye,this.range=new g.Range(Z,Z+1),Z+1}},Ce=class extends g.Node{constructor(ye,Z){super(ye,Z),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,{atLineStart:le,lineStart:Se}=ye;!le&&this.type===g.Type.SEQ_ITEM&&(this.error=new g.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let Be=le?Z-Se:ye.indent,Ee=g.Node.endOfWhiteSpace(H,Z+1),je=H[Ee],xt=je==="#",Rt=[],Xt=null;for(;je===`
303
+ `||je==="#";){if(je==="#"){let on=g.Node.endOfLine(H,Ee+1);Rt.push(new g.Range(Ee,on)),Ee=on}else{le=!0,Se=Ee+1;let on=g.Node.endOfWhiteSpace(H,Se);H[on]===`
304
+ `&&Rt.length===0&&(Xt=new W,Se=Xt.parse({src:H},Se)),Ee=g.Node.endOfIndent(H,Se)}je=H[Ee]}if(g.Node.nextNodeIsIndented(je,Ee-(Se+Be),this.type!==g.Type.SEQ_ITEM)?this.node=O({atLineStart:le,inCollection:!1,indent:Be,lineStart:Se,parent:this},Ee):je&&Se>Z+1&&(Ee=Se-1),this.node){if(Xt){let on=ye.parent.items||ye.parent.contents;on&&on.push(Xt)}Rt.length&&Array.prototype.push.apply(this.props,Rt),Ee=this.node.range.end}else if(xt){let on=Rt[0];this.props.push(on),Ee=on.end}else Ee=g.Node.endOfLine(H,Z+1);let En=this.node?this.node.valueRange.end:Ee;return this.valueRange=new g.Range(Z,En),Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.node?this.node.setOrigRanges(ye,Z):Z}toString(){let{context:{src:ye},node:Z,range:O,value:H}=this;if(H!=null)return H;let le=Z?ye.slice(O.start,Z.range.start)+String(Z):ye.slice(O.start,O.end);return g.Node.addStringTerminator(ye,O.end,le)}},Le=class extends g.Node{constructor(){super(g.Type.COMMENT)}parse(ye,Z){this.context=ye;let O=this.parseComment(Z);return this.range=new g.Range(Z,O),O}};function ke(ye){let Z=ye;for(;Z instanceof Ce;)Z=Z.node;if(!(Z instanceof tt))return null;let O=Z.items.length,H=-1;for(let Be=O-1;Be>=0;--Be){let Ee=Z.items[Be];if(Ee.type===g.Type.COMMENT){let{indent:je,lineStart:xt}=Ee.context;if(je>0&&Ee.range.start>=xt+je)break;H=Be}else if(Ee.type===g.Type.BLANK_LINE)H=Be;else break}if(H===-1)return null;let le=Z.items.splice(H,O-H),Se=le[0].range.start;for(;Z.range.end=Se,Z.valueRange&&Z.valueRange.end>Se&&(Z.valueRange.end=Se),Z!==ye;)Z=Z.context.parent;return le}var tt=class extends g.Node{static nextContentHasIndent(ye,Z,O){let H=g.Node.endOfLine(ye,Z)+1;Z=g.Node.endOfWhiteSpace(ye,H);let le=ye[Z];return le?Z>=H+O?!0:le!=="#"&&le!==`
305
+ `?!1:tt.nextContentHasIndent(ye,Z,O):!1}constructor(ye){super(ye.type===g.Type.SEQ_ITEM?g.Type.SEQ:g.Type.MAP);for(let O=ye.props.length-1;O>=0;--O)if(ye.props[O].start<ye.context.lineStart){this.props=ye.props.slice(0,O+1),ye.props=ye.props.slice(O+1);let H=ye.props[0]||ye.valueRange;ye.range.start=H.start;break}this.items=[ye];let Z=ke(ye);Z&&Array.prototype.push.apply(this.items,Z)}get includesTrailingLines(){return this.items.length>0}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,le=g.Node.startOfLine(H,Z),Se=this.items[0];Se.context.parent=this,this.valueRange=g.Range.copy(Se.valueRange);let Be=Se.range.start-Se.context.lineStart,Ee=Z;Ee=g.Node.normalizeOffset(H,Ee);let je=H[Ee],xt=g.Node.endOfWhiteSpace(H,le)===Ee,Rt=!1;for(;je;){for(;je===`
306
+ `||je==="#";){if(xt&&je===`
307
+ `&&!Rt){let on=new W;if(Ee=on.parse({src:H},Ee),this.valueRange.end=Ee,Ee>=H.length){je=null;break}this.items.push(on),Ee-=1}else if(je==="#"){if(Ee<le+Be&&!tt.nextContentHasIndent(H,Ee,Be))return Ee;let on=new Le;if(Ee=on.parse({indent:Be,lineStart:le,src:H},Ee),this.items.push(on),this.valueRange.end=Ee,Ee>=H.length){je=null;break}}if(le=Ee+1,Ee=g.Node.endOfIndent(H,le),g.Node.atBlank(H,Ee)){let on=g.Node.endOfWhiteSpace(H,Ee),Vn=H[on];(!Vn||Vn===`
308
+ `||Vn==="#")&&(Ee=on)}je=H[Ee],xt=!0}if(!je)break;if(Ee!==le+Be&&(xt||je!==":")){if(Ee<le+Be){le>Z&&(Ee=le);break}else if(!this.error){let on="All collection items must start at the same column";this.error=new g.YAMLSyntaxError(this,on)}}if(Se.type===g.Type.SEQ_ITEM){if(je!=="-"){le>Z&&(Ee=le);break}}else if(je==="-"&&!this.error){let on=H[Ee+1];if(!on||on===`
309
+ `||on===" "||on===" "){let Vn="A collection cannot be both a mapping and a sequence";this.error=new g.YAMLSyntaxError(this,Vn)}}let Xt=O({atLineStart:xt,inCollection:!0,indent:Be,lineStart:le,parent:this},Ee);if(!Xt)return Ee;if(this.items.push(Xt),this.valueRange.end=Xt.valueRange.end,Ee=g.Node.normalizeOffset(H,Xt.range.end),je=H[Ee],xt=!1,Rt=Xt.includesTrailingLines,je){let on=Ee-1,Vn=H[on];for(;Vn===" "||Vn===" ";)Vn=H[--on];Vn===`
310
+ `&&(le=on+1,xt=!0)}let En=ke(Xt);En&&Array.prototype.push.apply(this.items,En)}return Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.items.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),Z}toString(){let{context:{src:ye},items:Z,range:O,value:H}=this;if(H!=null)return H;let le=ye.slice(O.start,Z[0].range.start)+String(Z[0]);for(let Se=1;Se<Z.length;++Se){let Be=Z[Se],{atLineStart:Ee,indent:je}=Be.context;if(Ee)for(let xt=0;xt<je;++xt)le+=" ";le+=String(Be)}return g.Node.addStringTerminator(ye,O.end,le)}},Dt=class extends g.Node{constructor(){super(g.Type.DIRECTIVE),this.name=null}get parameters(){let ye=this.rawValue;return ye?ye.trim().split(/[ \t]+/):[]}parseName(ye){let{src:Z}=this.context,O=ye,H=Z[O];for(;H&&H!==`
311
+ `&&H!==" "&&H!==" ";)H=Z[O+=1];return this.name=Z.slice(ye,O),O}parseParameters(ye){let{src:Z}=this.context,O=ye,H=Z[O];for(;H&&H!==`
312
+ `&&H!=="#";)H=Z[O+=1];return this.valueRange=new g.Range(ye,O),O}parse(ye,Z){this.context=ye;let O=this.parseName(Z+1);return O=this.parseParameters(O),O=this.parseComment(O),this.range=new g.Range(Z,O),O}},$t=class extends g.Node{static startCommentOrEndBlankLine(ye,Z){let O=g.Node.endOfWhiteSpace(ye,Z),H=ye[O];return H==="#"||H===`
313
+ `?O:Z}constructor(){super(g.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(ye){let{src:Z}=this.context;this.directives=[];let O=!0,H=!1,le=ye;for(;!g.Node.atDocumentBoundary(Z,le,g.Char.DIRECTIVES_END);)switch(le=$t.startCommentOrEndBlankLine(Z,le),Z[le]){case`
314
+ `:if(O){let Se=new W;le=Se.parse({src:Z},le),le<Z.length&&this.directives.push(Se)}else le+=1,O=!0;break;case"#":{let Se=new Le;le=Se.parse({src:Z},le),this.directives.push(Se),O=!1}break;case"%":{let Se=new Dt;le=Se.parse({parent:this,src:Z},le),this.directives.push(Se),H=!0,O=!1}break;default:return H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),le}return Z[le]?(this.directivesEndMarker=new g.Range(le,le+3),le+3):(H?this.error=new g.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),le)}parseContents(ye){let{parseNode:Z,src:O}=this.context;this.contents||(this.contents=[]);let H=ye;for(;O[H-1]==="-";)H-=1;let le=g.Node.endOfWhiteSpace(O,ye),Se=H===ye;for(this.valueRange=new g.Range(le);!g.Node.atDocumentBoundary(O,le,g.Char.DOCUMENT_END);){switch(O[le]){case`
315
+ `:if(Se){let Be=new W;le=Be.parse({src:O},le),le<O.length&&this.contents.push(Be)}else le+=1,Se=!0;H=le;break;case"#":{let Be=new Le;le=Be.parse({src:O},le),this.contents.push(Be),Se=!1}break;default:{let Be=g.Node.endOfIndent(O,le),Ee=Z({atLineStart:Se,indent:-1,inFlow:!1,inCollection:!1,lineStart:H,parent:this},Be);if(!Ee)return this.valueRange.end=Be;this.contents.push(Ee),le=Ee.range.end,Se=!1;let je=ke(Ee);je&&Array.prototype.push.apply(this.contents,je)}}le=$t.startCommentOrEndBlankLine(O,le)}if(this.valueRange.end=le,O[le]&&(this.documentEndMarker=new g.Range(le,le+3),le+=3,O[le])){if(le=g.Node.endOfWhiteSpace(O,le),O[le]==="#"){let Be=new Le;le=Be.parse({src:O},le),this.contents.push(Be)}switch(O[le]){case`
316
+ `:le+=1;break;case void 0:break;default:this.error=new g.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return le}parse(ye,Z){ye.root=this,this.context=ye;let{src:O}=ye,H=O.charCodeAt(Z)===65279?Z+1:Z;return H=this.parseDirectives(H),H=this.parseContents(H),H}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.directives.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),this.directivesEndMarker&&(Z=this.directivesEndMarker.setOrigRange(ye,Z)),this.contents.forEach(O=>{Z=O.setOrigRanges(ye,Z)}),this.documentEndMarker&&(Z=this.documentEndMarker.setOrigRange(ye,Z)),Z}toString(){let{contents:ye,directives:Z,value:O}=this;if(O!=null)return O;let H=Z.join("");return ye.length>0&&((Z.length>0||ye[0].type===g.Type.COMMENT)&&(H+=`---
317
+ `),H+=ye.join("")),H[H.length-1]!==`
318
+ `&&(H+=`
319
+ `),H}},ot=class extends g.Node{parse(ye,Z){this.context=ye;let{src:O}=ye,H=g.Node.endOfIdentifier(O,Z+1);return this.valueRange=new g.Range(Z+1,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},vt={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},_t=class extends g.Node{constructor(ye,Z){super(ye,Z),this.blockIndent=null,this.chomping=vt.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===vt.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:ye,end:Z}=this.valueRange,{indent:O,src:H}=this.context;if(this.valueRange.isEmpty())return"";let le=null,Se=H[Z-1];for(;Se===`
320
+ `||Se===" "||Se===" ";){if(Z-=1,Z<=ye){if(this.chomping===vt.KEEP)break;return""}Se===`
321
+ `&&(le=Z),Se=H[Z-1]}let Be=Z+1;le&&(this.chomping===vt.KEEP?(Be=le,Z=this.valueRange.end):Z=le);let Ee=O+this.blockIndent,je=this.type===g.Type.BLOCK_FOLDED,xt=!0,Rt="",Xt="",En=!1;for(let on=ye;on<Z;++on){for(let sr=0;sr<Ee&&H[on]===" ";++sr)on+=1;let Vn=H[on];if(Vn===`
322
+ `)Xt===`
323
+ `?Rt+=`
324
+ `:Xt=`
325
+ `;else{let sr=g.Node.endOfLine(H,on),Sr=H.slice(on,sr);on=sr,je&&(Vn===" "||Vn===" ")&&on<Be?(Xt===" "?Xt=`
326
+ `:!En&&!xt&&Xt===`
327
+ `&&(Xt=`
328
+
329
+ `),Rt+=Xt+Sr,Xt=sr<Z&&H[sr]||"",En=!0):(Rt+=Xt+Sr,Xt=je&&on<Be?" ":`
330
+ `,En=!1),xt&&Sr!==""&&(xt=!1)}}return this.chomping===vt.STRIP?Rt:Rt+`
331
+ `}parseBlockHeader(ye){let{src:Z}=this.context,O=ye+1,H="";for(;;){let le=Z[O];switch(le){case"-":this.chomping=vt.STRIP;break;case"+":this.chomping=vt.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":H+=le;break;default:return this.blockIndent=Number(H)||null,this.header=new g.Range(ye,O),O}O+=1}}parseBlockValue(ye){let{indent:Z,src:O}=this.context,H=!!this.blockIndent,le=ye,Se=ye,Be=1;for(let Ee=O[le];Ee===`
332
+ `&&(le+=1,!g.Node.atDocumentBoundary(O,le));Ee=O[le]){let je=g.Node.endOfBlockIndent(O,Z,le);if(je===null)break;let xt=O[je],Rt=je-(le+Z);if(this.blockIndent){if(xt&&xt!==`
333
+ `&&Rt<this.blockIndent){if(O[je]==="#")break;if(!this.error){let Xt=`Block scalars must not be less indented than their ${H?"explicit indentation indicator":"first line"}`;this.error=new g.YAMLSemanticError(this,Xt)}}}else if(O[je]!==`
334
+ `){if(Rt<Be){let Xt="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new g.YAMLSemanticError(this,Xt)}this.blockIndent=Rt}else Rt>Be&&(Be=Rt);O[je]===`
335
+ `?le=je:le=Se=g.Node.endOfLine(O,je)}return this.chomping!==vt.KEEP&&(le=O[Se]?Se+1:Se),this.valueRange=new g.Range(ye+1,le),le}parse(ye,Z){this.context=ye;let{src:O}=ye,H=this.parseBlockHeader(Z);return H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H=this.parseBlockValue(H),H}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.header?this.header.setOrigRange(ye,Z):Z}},jt=class extends g.Node{constructor(ye,Z){super(ye,Z),this.items=null}prevNodeIsJsonLike(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.items.length,Z=this.items[ye-1];return!!Z&&(Z.jsonLike||Z.type===g.Type.COMMENT&&this.prevNodeIsJsonLike(ye-1))}parse(ye,Z){this.context=ye;let{parseNode:O,src:H}=ye,{indent:le,lineStart:Se}=ye,Be=H[Z];this.items=[{char:Be,offset:Z}];let Ee=g.Node.endOfWhiteSpace(H,Z+1);for(Be=H[Ee];Be&&Be!=="]"&&Be!=="}";){switch(Be){case`
336
+ `:{Se=Ee+1;let je=g.Node.endOfWhiteSpace(H,Se);if(H[je]===`
337
+ `){let xt=new W;Se=xt.parse({src:H},Se),this.items.push(xt)}if(Ee=g.Node.endOfIndent(H,Se),Ee<=Se+le&&(Be=H[Ee],Ee<Se+le||Be!=="]"&&Be!=="}")){let xt="Insufficient indentation in flow collection";this.error=new g.YAMLSemanticError(this,xt)}}break;case",":this.items.push({char:Be,offset:Ee}),Ee+=1;break;case"#":{let je=new Le;Ee=je.parse({src:H},Ee),this.items.push(je)}break;case"?":case":":{let je=H[Ee+1];if(je===`
338
+ `||je===" "||je===" "||je===","||Be===":"&&this.prevNodeIsJsonLike()){this.items.push({char:Be,offset:Ee}),Ee+=1;break}}default:{let je=O({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:Se,parent:this},Ee);if(!je)return this.valueRange=new g.Range(Z,Ee),Ee;this.items.push(je),Ee=g.Node.normalizeOffset(H,je.range.end)}}Ee=g.Node.endOfWhiteSpace(H,Ee),Be=H[Ee]}return this.valueRange=new g.Range(Z,Ee+1),Be&&(this.items.push({char:Be,offset:Ee}),Ee=g.Node.endOfWhiteSpace(H,Ee+1),Ee=this.parseComment(Ee)),Ee}setOrigRanges(ye,Z){return Z=super.setOrigRanges(ye,Z),this.items.forEach(O=>{if(O instanceof g.Node)Z=O.setOrigRanges(ye,Z);else if(ye.length===0)O.origOffset=O.offset;else{let H=Z;for(;H<ye.length&&!(ye[H]>O.offset);)++H;O.origOffset=O.offset+H,Z=H}}),Z}toString(){let{context:{src:ye},items:Z,range:O,value:H}=this;if(H!=null)return H;let le=Z.filter(Ee=>Ee instanceof g.Node),Se="",Be=O.start;return le.forEach(Ee=>{let je=ye.slice(Be,Ee.range.start);Be=Ee.range.end,Se+=je+String(Ee),Se[Se.length-1]===`
339
+ `&&ye[Be-1]!==`
340
+ `&&ye[Be]===`
341
+ `&&(Be+=1)}),Se+=ye.slice(Be,O.end),g.Node.addStringTerminator(ye,O.end,Se)}},Lt=class extends g.Node{static endOfQuote(ye,Z){let O=ye[Z];for(;O&&O!=='"';)Z+=O==="\\"?2:1,O=ye[Z];return Z+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:Z,end:O}=this.valueRange,{indent:H,src:le}=this.context;le[O-1]!=='"'&&ye.push(new g.YAMLSyntaxError(this,'Missing closing "quote'));let Se="";for(let Be=Z+1;Be<O-1;++Be){let Ee=le[Be];if(Ee===`
342
+ `){g.Node.atDocumentBoundary(le,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:xt,error:Rt}=g.Node.foldNewline(le,Be,H);Se+=je,Be=xt,Rt&&ye.push(new g.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(Ee==="\\")switch(Be+=1,le[Be]){case"0":Se+="\0";break;case"a":Se+="\x07";break;case"b":Se+="\b";break;case"e":Se+="\x1B";break;case"f":Se+="\f";break;case"n":Se+=`
343
+ `;break;case"r":Se+="\r";break;case"t":Se+=" ";break;case"v":Se+="\v";break;case"N":Se+="…";break;case"_":Se+=" ";break;case"L":Se+="\u2028";break;case"P":Se+="\u2029";break;case" ":Se+=" ";break;case'"':Se+='"';break;case"/":Se+="/";break;case"\\":Se+="\\";break;case" ":Se+=" ";break;case"x":Se+=this.parseCharCode(Be+1,2,ye),Be+=2;break;case"u":Se+=this.parseCharCode(Be+1,4,ye),Be+=4;break;case"U":Se+=this.parseCharCode(Be+1,8,ye),Be+=8;break;case`
344
+ `:for(;le[Be+1]===" "||le[Be+1]===" ";)Be+=1;break;default:ye.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${le.substr(Be-1,2)}`)),Se+="\\"+le[Be]}else if(Ee===" "||Ee===" "){let je=Be,xt=le[Be+1];for(;xt===" "||xt===" ";)Be+=1,xt=le[Be+1];xt!==`
345
+ `&&(Se+=Be>je?le.slice(je,Be+1):Ee)}else Se+=Ee}return ye.length>0?{errors:ye,str:Se}:Se}parseCharCode(ye,Z,O){let{src:H}=this.context,le=H.substr(ye,Z),Se=le.length===Z&&/^[0-9a-fA-F]+$/.test(le)?parseInt(le,16):NaN;return isNaN(Se)?(O.push(new g.YAMLSyntaxError(this,`Invalid escape sequence ${H.substr(ye-2,Z+2)}`)),H.substr(ye-2,Z+2)):String.fromCodePoint(Se)}parse(ye,Z){this.context=ye;let{src:O}=ye,H=Lt.endOfQuote(O,Z+1);return this.valueRange=new g.Range(Z,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}},Jt=class extends g.Node{static endOfQuote(ye,Z){let O=ye[Z];for(;O;)if(O==="'"){if(ye[Z+1]!=="'")break;O=ye[Z+=2]}else O=ye[Z+=1];return Z+1}get strValue(){if(!this.valueRange||!this.context)return null;let ye=[],{start:Z,end:O}=this.valueRange,{indent:H,src:le}=this.context;le[O-1]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Missing closing 'quote"));let Se="";for(let Be=Z+1;Be<O-1;++Be){let Ee=le[Be];if(Ee===`
346
+ `){g.Node.atDocumentBoundary(le,Be+1)&&ye.push(new g.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:je,offset:xt,error:Rt}=g.Node.foldNewline(le,Be,H);Se+=je,Be=xt,Rt&&ye.push(new g.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(Ee==="'")Se+=Ee,Be+=1,le[Be]!=="'"&&ye.push(new g.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(Ee===" "||Ee===" "){let je=Be,xt=le[Be+1];for(;xt===" "||xt===" ";)Be+=1,xt=le[Be+1];xt!==`
347
+ `&&(Se+=Be>je?le.slice(je,Be+1):Ee)}else Se+=Ee}return ye.length>0?{errors:ye,str:Se}:Se}parse(ye,Z){this.context=ye;let{src:O}=ye,H=Jt.endOfQuote(O,Z+1);return this.valueRange=new g.Range(Z,H),H=g.Node.endOfWhiteSpace(O,H),H=this.parseComment(H),H}};function Wt(ye,Z){switch(ye){case g.Type.ALIAS:return new ot(ye,Z);case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return new _t(ye,Z);case g.Type.FLOW_MAP:case g.Type.FLOW_SEQ:return new jt(ye,Z);case g.Type.MAP_KEY:case g.Type.MAP_VALUE:case g.Type.SEQ_ITEM:return new Ce(ye,Z);case g.Type.COMMENT:case g.Type.PLAIN:return new g.PlainValue(ye,Z);case g.Type.QUOTE_DOUBLE:return new Lt(ye,Z);case g.Type.QUOTE_SINGLE:return new Jt(ye,Z);default:return null}}var Kt=class{static parseType(ye,Z,O){switch(ye[Z]){case"*":return g.Type.ALIAS;case">":return g.Type.BLOCK_FOLDED;case"|":return g.Type.BLOCK_LITERAL;case"{":return g.Type.FLOW_MAP;case"[":return g.Type.FLOW_SEQ;case"?":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.MAP_KEY:g.Type.PLAIN;case":":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.MAP_VALUE:g.Type.PLAIN;case"-":return!O&&g.Node.atBlank(ye,Z+1,!0)?g.Type.SEQ_ITEM:g.Type.PLAIN;case'"':return g.Type.QUOTE_DOUBLE;case"'":return g.Type.QUOTE_SINGLE;default:return g.Type.PLAIN}}constructor(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{atLineStart:Z,inCollection:O,inFlow:H,indent:le,lineStart:Se,parent:Be}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};g._defineProperty(this,"parseNode",(Ee,je)=>{if(g.Node.atDocumentBoundary(this.src,je))return null;let xt=new Kt(this,Ee),{props:Rt,type:Xt,valueStart:En}=xt.parseProps(je),on=Wt(Xt,Rt),Vn=on.parse(xt,En);if(on.range=new g.Range(je,Vn),Vn<=je&&(on.error=new Error("Node#parse consumed no characters"),on.error.parseEnd=Vn,on.error.source=on,on.range.end=je+1),xt.nodeStartsCollection(on)){!on.error&&!xt.atLineStart&&xt.parent.type===g.Type.DOCUMENT&&(on.error=new g.YAMLSyntaxError(on,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let sr=new tt(on);return Vn=sr.parse(new Kt(xt),Vn),sr.range=new g.Range(je,Vn),sr}return on}),this.atLineStart=Z??(ye.atLineStart||!1),this.inCollection=O??(ye.inCollection||!1),this.inFlow=H??(ye.inFlow||!1),this.indent=le??ye.indent,this.lineStart=Se??ye.lineStart,this.parent=Be??(ye.parent||{}),this.root=ye.root,this.src=ye.src}nodeStartsCollection(ye){let{inCollection:Z,inFlow:O,src:H}=this;if(Z||O)return!1;if(ye instanceof Ce)return!0;let le=ye.range.end;return H[le]===`
348
+ `||H[le-1]===`
349
+ `?!1:(le=g.Node.endOfWhiteSpace(H,le),H[le]===":")}parseProps(ye){let{inFlow:Z,parent:O,src:H}=this,le=[],Se=!1;ye=this.atLineStart?g.Node.endOfIndent(H,ye):g.Node.endOfWhiteSpace(H,ye);let Be=H[ye];for(;Be===g.Char.ANCHOR||Be===g.Char.COMMENT||Be===g.Char.TAG||Be===`
350
+ `;){if(Be===`
351
+ `){let je=ye,xt;do xt=je+1,je=g.Node.endOfIndent(H,xt);while(H[je]===`
352
+ `);let Rt=je-(xt+this.indent),Xt=O.type===g.Type.SEQ_ITEM&&O.context.atLineStart;if(H[je]!=="#"&&!g.Node.nextNodeIsIndented(H[je],Rt,!Xt))break;this.atLineStart=!0,this.lineStart=xt,Se=!1,ye=je}else if(Be===g.Char.COMMENT){let je=g.Node.endOfLine(H,ye+1);le.push(new g.Range(ye,je)),ye=je}else{let je=g.Node.endOfIdentifier(H,ye+1);Be===g.Char.TAG&&H[je]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(H.slice(ye+1,je+13))&&(je=g.Node.endOfIdentifier(H,je+5)),le.push(new g.Range(ye,je)),Se=!0,ye=g.Node.endOfWhiteSpace(H,je)}Be=H[ye]}Se&&Be===":"&&g.Node.atBlank(H,ye+1,!0)&&(ye-=1);let Ee=Kt.parseType(H,ye,Z);return{props:le,type:Ee,valueStart:ye}}};function bn(ye){let Z=[];ye.indexOf("\r")!==-1&&(ye=ye.replace(/\r\n?/g,(le,Se)=>(le.length>1&&Z.push(Se),`
353
+ `)));let O=[],H=0;do{let le=new $t,Se=new Kt({src:ye});H=le.parse(Se,H),O.push(le)}while(H<ye.length);return O.setOrigRanges=()=>{if(Z.length===0)return!1;for(let Se=1;Se<Z.length;++Se)Z[Se]-=Se;let le=0;for(let Se=0;Se<O.length;++Se)le=O[Se].setOrigRanges(Z,le);return Z.splice(0,Z.length),!0},O.toString=()=>O.join(`...
354
+ `),O}Y.parse=bn}}),is=c({"node_modules/yaml/dist/resolveSeq-d03cb037.js"(Y){L();var g=Gr();function W(pe,de,Ge){return Ge?`#${Ge.replace(/[\s\S]^/gm,`$&${de}#`)}
355
+ ${de}${pe}`:pe}function Ce(pe,de,Ge){return Ge?Ge.indexOf(`
356
+ `)===-1?`${pe} #${Ge}`:`${pe}
357
+ `+Ge.replace(/^/gm,`${de||""}#`):pe}var Le=class{};function ke(pe,de,Ge){if(Array.isArray(pe))return pe.map((He,nt)=>ke(He,String(nt),Ge));if(pe&&typeof pe.toJSON=="function"){let He=Ge&&Ge.anchors&&Ge.anchors.get(pe);He&&(Ge.onCreate=rt=>{He.res=rt,delete Ge.onCreate});let nt=pe.toJSON(de,Ge);return He&&Ge.onCreate&&Ge.onCreate(nt),nt}return(!Ge||!Ge.keep)&&typeof pe=="bigint"?Number(pe):pe}var tt=class extends Le{constructor(pe){super(),this.value=pe}toJSON(pe,de){return de&&de.keep?this.value:ke(this.value,pe,de)}toString(){return String(this.value)}};function Dt(pe,de,Ge){let He=Ge;for(let nt=de.length-1;nt>=0;--nt){let rt=de[nt];if(Number.isInteger(rt)&&rt>=0){let St=[];St[rt]=He,He=St}else{let St={};Object.defineProperty(St,rt,{value:He,writable:!0,enumerable:!0,configurable:!0}),He=St}}return pe.createNode(He,!1)}var $t=pe=>pe==null||typeof pe=="object"&&pe[Symbol.iterator]().next().done,ot=class extends Le{constructor(pe){super(),g._defineProperty(this,"items",[]),this.schema=pe}addIn(pe,de){if($t(pe))this.add(de);else{let[Ge,...He]=pe,nt=this.get(Ge,!0);if(nt instanceof ot)nt.addIn(He,de);else if(nt===void 0&&this.schema)this.set(Ge,Dt(this.schema,He,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${He}`)}}deleteIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.delete(de);let He=this.get(de,!0);if(He instanceof ot)return He.deleteIn(Ge);throw new Error(`Expected YAML collection at ${de}. Remaining path: ${Ge}`)}getIn(pe,de){let[Ge,...He]=pe,nt=this.get(Ge,!0);return He.length===0?!de&&nt instanceof tt?nt.value:nt:nt instanceof ot?nt.getIn(He,de):void 0}hasAllNullValues(){return this.items.every(pe=>{if(!pe||pe.type!=="PAIR")return!1;let de=pe.value;return de==null||de instanceof tt&&de.value==null&&!de.commentBefore&&!de.comment&&!de.tag})}hasIn(pe){let[de,...Ge]=pe;if(Ge.length===0)return this.has(de);let He=this.get(de,!0);return He instanceof ot?He.hasIn(Ge):!1}setIn(pe,de){let[Ge,...He]=pe;if(He.length===0)this.set(Ge,de);else{let nt=this.get(Ge,!0);if(nt instanceof ot)nt.setIn(He,de);else if(nt===void 0&&this.schema)this.set(Ge,Dt(this.schema,He,de));else throw new Error(`Expected YAML collection at ${Ge}. Remaining path: ${He}`)}}toJSON(){return null}toString(pe,de,Ge,He){let{blockItem:nt,flowChars:rt,isMap:St,itemIndent:Nt}=de,{indent:Zt,indentStep:rn,stringify:dn}=pe,Pn=this.type===g.Type.FLOW_MAP||this.type===g.Type.FLOW_SEQ||pe.inFlow;Pn&&(Nt+=rn);let cr=St&&this.hasAllNullValues();pe=Object.assign({},pe,{allNullValues:cr,indent:Nt,inFlow:Pn,type:null});let fr=!1,Rn=!1,rr=this.items.reduce((Ur,ur,Jr)=>{let br;ur&&(!fr&&ur.spaceBefore&&Ur.push({type:"comment",str:""}),ur.commentBefore&&ur.commentBefore.match(/^.*$/gm).forEach(ao=>{Ur.push({type:"comment",str:`#${ao}`})}),ur.comment&&(br=ur.comment),Pn&&(!fr&&ur.spaceBefore||ur.commentBefore||ur.comment||ur.key&&(ur.key.commentBefore||ur.key.comment)||ur.value&&(ur.value.commentBefore||ur.value.comment))&&(Rn=!0)),fr=!1;let _r=dn(ur,pe,()=>br=null,()=>fr=!0);return Pn&&!Rn&&_r.includes(`
358
+ `)&&(Rn=!0),Pn&&Jr<this.items.length-1&&(_r+=","),_r=Ce(_r,Nt,br),fr&&(br||Pn)&&(fr=!1),Ur.push({type:"item",str:_r}),Ur},[]),Zn;if(rr.length===0)Zn=rt.start+rt.end;else if(Pn){let{start:Ur,end:ur}=rt,Jr=rr.map(br=>br.str);if(Rn||Jr.reduce((br,_r)=>br+_r.length+2,2)>ot.maxFlowStringSingleLineLength){Zn=Ur;for(let br of Jr)Zn+=br?`
359
+ ${rn}${Zt}${br}`:`
360
+ `;Zn+=`
361
+ ${Zt}${ur}`}else Zn=`${Ur} ${Jr.join(" ")} ${ur}`}else{let Ur=rr.map(nt);Zn=Ur.shift();for(let ur of Ur)Zn+=ur?`
362
+ ${Zt}${ur}`:`
363
+ `}return this.comment?(Zn+=`
364
+ `+this.comment.replace(/^/gm,`${Zt}#`),Ge&&Ge()):fr&&He&&He(),Zn}};g._defineProperty(ot,"maxFlowStringSingleLineLength",60);function vt(pe){let de=pe instanceof tt?pe.value:pe;return de&&typeof de=="string"&&(de=Number(de)),Number.isInteger(de)&&de>=0?de:null}var _t=class extends ot{add(pe){this.items.push(pe)}delete(pe){let de=vt(pe);return typeof de!="number"?!1:this.items.splice(de,1).length>0}get(pe,de){let Ge=vt(pe);if(typeof Ge!="number")return;let He=this.items[Ge];return!de&&He instanceof tt?He.value:He}has(pe){let de=vt(pe);return typeof de=="number"&&de<this.items.length}set(pe,de){let Ge=vt(pe);if(typeof Ge!="number")throw new Error(`Expected a valid index, not ${pe}.`);this.items[Ge]=de}toJSON(pe,de){let Ge=[];de&&de.onCreate&&de.onCreate(Ge);let He=0;for(let nt of this.items)Ge.push(ke(nt,String(He++),de));return Ge}toString(pe,de,Ge){return pe?super.toString(pe,{blockItem:He=>He.type==="comment"?He.str:`- ${He.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(pe.indent||"")+" "},de,Ge):JSON.stringify(this)}},jt=(pe,de,Ge)=>de===null?"":typeof de!="object"?String(de):pe instanceof Le&&Ge&&Ge.doc?pe.toString({anchors:Object.create(null),doc:Ge.doc,indent:"",indentStep:Ge.indentStep,inFlow:!0,inStringifyKey:!0,stringify:Ge.stringify}):JSON.stringify(de),Lt=class extends Le{constructor(pe){let de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(),this.key=pe,this.value=de,this.type=Lt.Type.PAIR}get commentBefore(){return this.key instanceof Le?this.key.commentBefore:void 0}set commentBefore(pe){if(this.key==null&&(this.key=new tt(null)),this.key instanceof Le)this.key.commentBefore=pe;else{let de="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(de)}}addToJSMap(pe,de){let Ge=ke(this.key,"",pe);if(de instanceof Map){let He=ke(this.value,Ge,pe);de.set(Ge,He)}else if(de instanceof Set)de.add(Ge);else{let He=jt(this.key,Ge,pe),nt=ke(this.value,He,pe);He in de?Object.defineProperty(de,He,{value:nt,writable:!0,enumerable:!0,configurable:!0}):de[He]=nt}return de}toJSON(pe,de){let Ge=de&&de.mapAsMap?new Map:{};return this.addToJSMap(de,Ge)}toString(pe,de,Ge){if(!pe||!pe.doc)return JSON.stringify(this);let{indent:He,indentSeq:nt,simpleKeys:rt}=pe.doc.options,{key:St,value:Nt}=this,Zt=St instanceof Le&&St.comment;if(rt){if(Zt)throw new Error("With simple keys, key nodes cannot have comments");if(St instanceof ot){let br="With simple keys, collection cannot be used as a key value";throw new Error(br)}}let rn=!rt&&(!St||Zt||(St instanceof Le?St instanceof ot||St.type===g.Type.BLOCK_FOLDED||St.type===g.Type.BLOCK_LITERAL:typeof St=="object")),{doc:dn,indent:Pn,indentStep:cr,stringify:fr}=pe;pe=Object.assign({},pe,{implicitKey:!rn,indent:Pn+cr});let Rn=!1,rr=fr(St,pe,()=>Zt=null,()=>Rn=!0);if(rr=Ce(rr,pe.indent,Zt),!rn&&rr.length>1024){if(rt)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");rn=!0}if(pe.allNullValues&&!rt)return this.comment?(rr=Ce(rr,pe.indent,this.comment),de&&de()):Rn&&!Zt&&Ge&&Ge(),pe.inFlow&&!rn?rr:`? ${rr}`;rr=rn?`? ${rr}
365
+ ${Pn}:`:`${rr}:`,this.comment&&(rr=Ce(rr,pe.indent,this.comment),de&&de());let Zn="",Ur=null;if(Nt instanceof Le){if(Nt.spaceBefore&&(Zn=`
366
+ `),Nt.commentBefore){let br=Nt.commentBefore.replace(/^/gm,`${pe.indent}#`);Zn+=`
367
+ ${br}`}Ur=Nt.comment}else Nt&&typeof Nt=="object"&&(Nt=dn.schema.createNode(Nt,!0));pe.implicitKey=!1,!rn&&!this.comment&&Nt instanceof tt&&(pe.indentAtStart=rr.length+1),Rn=!1,!nt&&He>=2&&!pe.inFlow&&!rn&&Nt instanceof _t&&Nt.type!==g.Type.FLOW_SEQ&&!Nt.tag&&!dn.anchors.getName(Nt)&&(pe.indent=pe.indent.substr(2));let ur=fr(Nt,pe,()=>Ur=null,()=>Rn=!0),Jr=" ";return Zn||this.comment?Jr=`${Zn}
368
+ ${pe.indent}`:!rn&&Nt instanceof ot?(!(ur[0]==="["||ur[0]==="{")||ur.includes(`
369
+ `))&&(Jr=`
370
+ ${pe.indent}`):ur[0]===`
371
+ `&&(Jr=""),Rn&&!Ur&&Ge&&Ge(),Ce(rr+Jr+ur,pe.indent,Ur)}};g._defineProperty(Lt,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var Jt=(pe,de)=>{if(pe instanceof Wt){let Ge=de.get(pe.source);return Ge.count*Ge.aliasCount}else if(pe instanceof ot){let Ge=0;for(let He of pe.items){let nt=Jt(He,de);nt>Ge&&(Ge=nt)}return Ge}else if(pe instanceof Lt){let Ge=Jt(pe.key,de),He=Jt(pe.value,de);return Math.max(Ge,He)}return 1},Wt=class extends Le{static stringify(pe,de){let{range:Ge,source:He}=pe,{anchors:nt,doc:rt,implicitKey:St,inStringifyKey:Nt}=de,Zt=Object.keys(nt).find(dn=>nt[dn]===He);if(!Zt&&Nt&&(Zt=rt.anchors.getName(He)||rt.anchors.newName()),Zt)return`*${Zt}${St?" ":""}`;let rn=rt.anchors.getName(He)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${rn} [${Ge}]`)}constructor(pe){super(),this.source=pe,this.type=g.Type.ALIAS}set tag(pe){throw new Error("Alias nodes cannot have tags")}toJSON(pe,de){if(!de)return ke(this.source,pe,de);let{anchors:Ge,maxAliasCount:He}=de,nt=Ge.get(this.source);if(!nt||nt.res===void 0){let rt="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,rt):new ReferenceError(rt)}if(He>=0&&(nt.count+=1,nt.aliasCount===0&&(nt.aliasCount=Jt(this.source,Ge)),nt.count*nt.aliasCount>He)){let rt="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new g.YAMLReferenceError(this.cstNode,rt):new ReferenceError(rt)}return nt.res}toString(pe){return Wt.stringify(this,pe)}};g._defineProperty(Wt,"default",!0);function Kt(pe,de){let Ge=de instanceof tt?de.value:de;for(let He of pe)if(He instanceof Lt&&(He.key===de||He.key===Ge||He.key&&He.key.value===Ge))return He}var bn=class extends ot{add(pe,de){pe?pe instanceof Lt||(pe=new Lt(pe.key||pe,pe.value)):pe=new Lt(pe);let Ge=Kt(this.items,pe.key),He=this.schema&&this.schema.sortMapEntries;if(Ge)if(de)Ge.value=pe.value;else throw new Error(`Key ${pe.key} already set`);else if(He){let nt=this.items.findIndex(rt=>He(pe,rt)<0);nt===-1?this.items.push(pe):this.items.splice(nt,0,pe)}else this.items.push(pe)}delete(pe){let de=Kt(this.items,pe);return de?this.items.splice(this.items.indexOf(de),1).length>0:!1}get(pe,de){let Ge=Kt(this.items,pe),He=Ge&&Ge.value;return!de&&He instanceof tt?He.value:He}has(pe){return!!Kt(this.items,pe)}set(pe,de){this.add(new Lt(pe,de),!0)}toJSON(pe,de,Ge){let He=Ge?new Ge:de&&de.mapAsMap?new Map:{};de&&de.onCreate&&de.onCreate(He);for(let nt of this.items)nt.addToJSMap(de,He);return He}toString(pe,de,Ge){if(!pe)return JSON.stringify(this);for(let He of this.items)if(!(He instanceof Lt))throw new Error(`Map items must all be pairs; found ${JSON.stringify(He)} instead`);return super.toString(pe,{blockItem:He=>He.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:pe.indent||""},de,Ge)}},ye="<<",Z=class extends Lt{constructor(pe){if(pe instanceof Lt){let de=pe.value;de instanceof _t||(de=new _t,de.items.push(pe.value),de.range=pe.value.range),super(pe.key,de),this.range=pe.range}else super(new tt(ye),new _t);this.type=Lt.Type.MERGE_PAIR}addToJSMap(pe,de){for(let{source:Ge}of this.value.items){if(!(Ge instanceof bn))throw new Error("Merge sources must be maps");let He=Ge.toJSON(null,pe,Map);for(let[nt,rt]of He)de instanceof Map?de.has(nt)||de.set(nt,rt):de instanceof Set?de.add(nt):Object.prototype.hasOwnProperty.call(de,nt)||Object.defineProperty(de,nt,{value:rt,writable:!0,enumerable:!0,configurable:!0})}return de}toString(pe,de){let Ge=this.value;if(Ge.items.length>1)return super.toString(pe,de);this.value=Ge.items[0];let He=super.toString(pe,de);return this.value=Ge,He}},O={defaultType:g.Type.BLOCK_LITERAL,lineWidth:76},H={trueStr:"true",falseStr:"false"},le={asBigInt:!1},Se={nullStr:"null"},Be={defaultType:g.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function Ee(pe,de,Ge){for(let{format:He,test:nt,resolve:rt}of de)if(nt){let St=pe.match(nt);if(St){let Nt=rt.apply(null,St);return Nt instanceof tt||(Nt=new tt(Nt)),He&&(Nt.format=He),Nt}}return Ge&&(pe=Ge(pe)),new tt(pe)}var je="flow",xt="block",Rt="quoted",Xt=(pe,de)=>{let Ge=pe[de+1];for(;Ge===" "||Ge===" ";){do Ge=pe[de+=1];while(Ge&&Ge!==`
372
+ `);Ge=pe[de+1]}return de};function En(pe,de,Ge,He){let{indentAtStart:nt,lineWidth:rt=80,minContentWidth:St=20,onFold:Nt,onOverflow:Zt}=He;if(!rt||rt<0)return pe;let rn=Math.max(1+St,1+rt-de.length);if(pe.length<=rn)return pe;let dn=[],Pn={},cr=rt-de.length;typeof nt=="number"&&(nt>rt-Math.max(2,St)?dn.push(0):cr=rt-nt);let fr,Rn,rr=!1,Zn=-1,Ur=-1,ur=-1;Ge===xt&&(Zn=Xt(pe,Zn),Zn!==-1&&(cr=Zn+rn));for(let br;br=pe[Zn+=1];){if(Ge===Rt&&br==="\\"){switch(Ur=Zn,pe[Zn+1]){case"x":Zn+=3;break;case"u":Zn+=5;break;case"U":Zn+=9;break;default:Zn+=1}ur=Zn}if(br===`
373
+ `)Ge===xt&&(Zn=Xt(pe,Zn)),cr=Zn+rn,fr=void 0;else{if(br===" "&&Rn&&Rn!==" "&&Rn!==`
374
+ `&&Rn!==" "){let _r=pe[Zn+1];_r&&_r!==" "&&_r!==`
375
+ `&&_r!==" "&&(fr=Zn)}if(Zn>=cr)if(fr)dn.push(fr),cr=fr+rn,fr=void 0;else if(Ge===Rt){for(;Rn===" "||Rn===" ";)Rn=br,br=pe[Zn+=1],rr=!0;let _r=Zn>ur+1?Zn-2:Ur-1;if(Pn[_r])return pe;dn.push(_r),Pn[_r]=!0,cr=_r+rn,fr=void 0}else rr=!0}Rn=br}if(rr&&Zt&&Zt(),dn.length===0)return pe;Nt&&Nt();let Jr=pe.slice(0,dn[0]);for(let br=0;br<dn.length;++br){let _r=dn[br],ao=dn[br+1]||pe.length;_r===0?Jr=`
376
+ ${de}${pe.slice(0,ao)}`:(Ge===Rt&&Pn[_r]&&(Jr+=`${pe[_r]}\\`),Jr+=`
377
+ ${de}${pe.slice(_r+1,ao)}`)}return Jr}var on=pe=>{let{indentAtStart:de}=pe;return de?Object.assign({indentAtStart:de},Be.fold):Be.fold},Vn=pe=>/^(%|---|\.\.\.)/m.test(pe);function sr(pe,de,Ge){if(!de||de<0)return!1;let He=de-Ge,nt=pe.length;if(nt<=He)return!1;for(let rt=0,St=0;rt<nt;++rt)if(pe[rt]===`
378
+ `){if(rt-St>He)return!0;if(St=rt+1,nt-St<=He)return!1}return!0}function Sr(pe,de){let{implicitKey:Ge}=de,{jsonEncoding:He,minMultiLineLength:nt}=Be.doubleQuoted,rt=JSON.stringify(pe);if(He)return rt;let St=de.indent||(Vn(pe)?" ":""),Nt="",Zt=0;for(let rn=0,dn=rt[rn];dn;dn=rt[++rn])if(dn===" "&&rt[rn+1]==="\\"&&rt[rn+2]==="n"&&(Nt+=rt.slice(Zt,rn)+"\\ ",rn+=1,Zt=rn,dn="\\"),dn==="\\")switch(rt[rn+1]){case"u":{Nt+=rt.slice(Zt,rn);let Pn=rt.substr(rn+2,4);switch(Pn){case"0000":Nt+="\\0";break;case"0007":Nt+="\\a";break;case"000b":Nt+="\\v";break;case"001b":Nt+="\\e";break;case"0085":Nt+="\\N";break;case"00a0":Nt+="\\_";break;case"2028":Nt+="\\L";break;case"2029":Nt+="\\P";break;default:Pn.substr(0,2)==="00"?Nt+="\\x"+Pn.substr(2):Nt+=rt.substr(rn,6)}rn+=5,Zt=rn+1}break;case"n":if(Ge||rt[rn+2]==='"'||rt.length<nt)rn+=1;else{for(Nt+=rt.slice(Zt,rn)+`
379
+
380
+ `;rt[rn+2]==="\\"&&rt[rn+3]==="n"&&rt[rn+4]!=='"';)Nt+=`
381
+ `,rn+=2;Nt+=St,rt[rn+2]===" "&&(Nt+="\\"),rn+=1,Zt=rn+1}break;default:rn+=1}return Nt=Zt?Nt+rt.slice(Zt):rt,Ge?Nt:En(Nt,St,Rt,on(de))}function mi(pe,de){if(de.implicitKey){if(/\n/.test(pe))return Sr(pe,de)}else if(/[ \t]\n|\n[ \t]/.test(pe))return Sr(pe,de);let Ge=de.indent||(Vn(pe)?" ":""),He="'"+pe.replace(/'/g,"''").replace(/\n+/g,`$&
382
+ ${Ge}`)+"'";return de.implicitKey?He:En(He,Ge,je,on(de))}function fi(pe,de,Ge,He){let{comment:nt,type:rt,value:St}=pe;if(/\n[\t ]+$/.test(St)||/^\s*$/.test(St))return Sr(St,de);let Nt=de.indent||(de.forceBlockIndent||Vn(St)?" ":""),Zt=Nt?"2":"1",rn=rt===g.Type.BLOCK_FOLDED?!1:rt===g.Type.BLOCK_LITERAL?!0:!sr(St,Be.fold.lineWidth,Nt.length),dn=rn?"|":">";if(!St)return dn+`
383
+ `;let Pn="",cr="";if(St=St.replace(/[\n\t ]*$/,Rn=>{let rr=Rn.indexOf(`
384
+ `);return rr===-1?dn+="-":(St===Rn||rr!==Rn.length-1)&&(dn+="+",He&&He()),cr=Rn.replace(/\n$/,""),""}).replace(/^[\n ]*/,Rn=>{Rn.indexOf(" ")!==-1&&(dn+=Zt);let rr=Rn.match(/ +$/);return rr?(Pn=Rn.slice(0,-rr[0].length),rr[0]):(Pn=Rn,"")}),cr&&(cr=cr.replace(/\n+(?!\n|$)/g,`$&${Nt}`)),Pn&&(Pn=Pn.replace(/\n+/g,`$&${Nt}`)),nt&&(dn+=" #"+nt.replace(/ ?[\r\n]+/g," "),Ge&&Ge()),!St)return`${dn}${Zt}
385
+ ${Nt}${cr}`;if(rn)return St=St.replace(/\n+/g,`$&${Nt}`),`${dn}
386
+ ${Nt}${Pn}${St}${cr}`;St=St.replace(/\n+/g,`
387
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${Nt}`);let fr=En(`${Pn}${St}${cr}`,Nt,xt,Be.fold);return`${dn}
388
+ ${Nt}${fr}`}function Et(pe,de,Ge,He){let{comment:nt,type:rt,value:St}=pe,{actualString:Nt,implicitKey:Zt,indent:rn,inFlow:dn}=de;if(Zt&&/[\n[\]{},]/.test(St)||dn&&/[[\]{},]/.test(St))return Sr(St,de);if(!St||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(St))return Zt||dn||St.indexOf(`
389
+ `)===-1?St.indexOf('"')!==-1&&St.indexOf("'")===-1?mi(St,de):Sr(St,de):fi(pe,de,Ge,He);if(!Zt&&!dn&&rt!==g.Type.PLAIN&&St.indexOf(`
390
+ `)!==-1)return fi(pe,de,Ge,He);if(rn===""&&Vn(St))return de.forceBlockIndent=!0,fi(pe,de,Ge,He);let Pn=St.replace(/\n+/g,`$&
391
+ ${rn}`);if(Nt){let{tags:fr}=de.doc.schema;if(typeof Ee(Pn,fr,fr.scalarFallback).value!="string")return Sr(St,de)}let cr=Zt?Pn:En(Pn,rn,je,on(de));return nt&&!dn&&(cr.indexOf(`
392
+ `)!==-1||nt.indexOf(`
393
+ `)!==-1)?(Ge&&Ge(),W(cr,rn,nt)):cr}function tn(pe,de,Ge,He){let{defaultType:nt}=Be,{implicitKey:rt,inFlow:St}=de,{type:Nt,value:Zt}=pe;typeof Zt!="string"&&(Zt=String(Zt),pe=Object.assign({},pe,{value:Zt}));let rn=Pn=>{switch(Pn){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:return fi(pe,de,Ge,He);case g.Type.QUOTE_DOUBLE:return Sr(Zt,de);case g.Type.QUOTE_SINGLE:return mi(Zt,de);case g.Type.PLAIN:return Et(pe,de,Ge,He);default:return null}};(Nt!==g.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(Zt)||(rt||St)&&(Nt===g.Type.BLOCK_FOLDED||Nt===g.Type.BLOCK_LITERAL))&&(Nt=g.Type.QUOTE_DOUBLE);let dn=rn(Nt);if(dn===null&&(dn=rn(nt),dn===null))throw new Error(`Unsupported default string type ${nt}`);return dn}function mn(pe){let{format:de,minFractionDigits:Ge,tag:He,value:nt}=pe;if(typeof nt=="bigint")return String(nt);if(!isFinite(nt))return isNaN(nt)?".nan":nt<0?"-.inf":".inf";let rt=JSON.stringify(nt);if(!de&&Ge&&(!He||He==="tag:yaml.org,2002:float")&&/^\d/.test(rt)){let St=rt.indexOf(".");St<0&&(St=rt.length,rt+=".");let Nt=Ge-(rt.length-St-1);for(;Nt-- >0;)rt+="0"}return rt}function Cn(pe,de){let Ge,He;switch(de.type){case g.Type.FLOW_MAP:Ge="}",He="flow map";break;case g.Type.FLOW_SEQ:Ge="]",He="flow sequence";break;default:pe.push(new g.YAMLSemanticError(de,"Not a flow collection!?"));return}let nt;for(let rt=de.items.length-1;rt>=0;--rt){let St=de.items[rt];if(!St||St.type!==g.Type.COMMENT){nt=St;break}}if(nt&&nt.char!==Ge){let rt=`Expected ${He} to end with ${Ge}`,St;typeof nt.offset=="number"?(St=new g.YAMLSemanticError(de,rt),St.offset=nt.offset+1):(St=new g.YAMLSemanticError(nt,rt),nt.range&&nt.range.end&&(St.offset=nt.range.end-nt.range.start)),pe.push(St)}}function Wn(pe,de){let Ge=de.context.src[de.range.start-1];if(Ge!==`
394
+ `&&Ge!==" "&&Ge!==" "){let He="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,He))}}function or(pe,de){let Ge=String(de),He=Ge.substr(0,8)+"..."+Ge.substr(-8);return new g.YAMLSemanticError(pe,`The "${He}" key is too long`)}function Mi(pe,de){for(let{afterKey:Ge,before:He,comment:nt}of de){let rt=pe.items[He];rt?(Ge&&rt.value&&(rt=rt.value),nt===void 0?(Ge||!rt.commentBefore)&&(rt.spaceBefore=!0):rt.commentBefore?rt.commentBefore+=`
395
+ `+nt:rt.commentBefore=nt):nt!==void 0&&(pe.comment?pe.comment+=`
396
+ `+nt:pe.comment=nt)}}function Ji(pe,de){let Ge=de.strValue;return Ge?typeof Ge=="string"?Ge:(Ge.errors.forEach(He=>{He.source||(He.source=de),pe.errors.push(He)}),Ge.str):""}function Yi(pe,de){let{handle:Ge,suffix:He}=de.tag,nt=pe.tagPrefixes.find(rt=>rt.handle===Ge);if(!nt){let rt=pe.getDefaults().tagPrefixes;if(rt&&(nt=rt.find(St=>St.handle===Ge)),!nt)throw new g.YAMLSemanticError(de,`The ${Ge} tag handle is non-default and was not declared.`)}if(!He)throw new g.YAMLSemanticError(de,`The ${Ge} tag has no suffix.`);if(Ge==="!"&&(pe.version||pe.options.version)==="1.0"){if(He[0]==="^")return pe.warnings.push(new g.YAMLWarning(de,"YAML 1.0 ^ tag expansion is not supported")),He;if(/[:/]/.test(He)){let rt=He.match(/^([a-z0-9-]+)\/(.*)/i);return rt?`tag:${rt[1]}.yaml.org,2002:${rt[2]}`:`tag:${He}`}}return nt.prefix+decodeURIComponent(He)}function Ii(pe,de){let{tag:Ge,type:He}=de,nt=!1;if(Ge){let{handle:rt,suffix:St,verbatim:Nt}=Ge;if(Nt){if(Nt!=="!"&&Nt!=="!!")return Nt;let Zt=`Verbatim tags aren't resolved, so ${Nt} is invalid.`;pe.errors.push(new g.YAMLSemanticError(de,Zt))}else if(rt==="!"&&!St)nt=!0;else try{return Yi(pe,de)}catch(Zt){pe.errors.push(Zt)}}switch(He){case g.Type.BLOCK_FOLDED:case g.Type.BLOCK_LITERAL:case g.Type.QUOTE_DOUBLE:case g.Type.QUOTE_SINGLE:return g.defaultTags.STR;case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;case g.Type.PLAIN:return nt?g.defaultTags.STR:null;default:return null}}function sa(pe,de,Ge){let{tags:He}=pe.schema,nt=[];for(let St of He)if(St.tag===Ge)if(St.test)nt.push(St);else{let Nt=St.resolve(pe,de);return Nt instanceof ot?Nt:new tt(Nt)}let rt=Ji(pe,de);return typeof rt=="string"&&nt.length>0?Ee(rt,nt,He.scalarFallback):null}function so(pe){let{type:de}=pe;switch(de){case g.Type.FLOW_MAP:case g.Type.MAP:return g.defaultTags.MAP;case g.Type.FLOW_SEQ:case g.Type.SEQ:return g.defaultTags.SEQ;default:return g.defaultTags.STR}}function Xo(pe,de,Ge){try{let He=sa(pe,de,Ge);if(He)return Ge&&de.tag&&(He.tag=Ge),He}catch(He){return He.source||(He.source=de),pe.errors.push(He),null}try{let He=so(de);if(!He)throw new Error(`The tag ${Ge} is unavailable`);let nt=`The tag ${Ge} is unavailable, falling back to ${He}`;pe.warnings.push(new g.YAMLWarning(de,nt));let rt=sa(pe,de,He);return rt.tag=Ge,rt}catch(He){let nt=new g.YAMLReferenceError(de,He.message);return nt.stack=He.stack,pe.errors.push(nt),null}}var Rl=pe=>{if(!pe)return!1;let{type:de}=pe;return de===g.Type.MAP_KEY||de===g.Type.MAP_VALUE||de===g.Type.SEQ_ITEM};function yp(pe,de){let Ge={before:[],after:[]},He=!1,nt=!1,rt=Rl(de.context.parent)?de.context.parent.props.concat(de.props):de.props;for(let{start:St,end:Nt}of rt)switch(de.context.src[St]){case g.Char.COMMENT:{if(!de.commentHasRequiredWhitespace(St)){let dn="Comments must be separated from other tokens by white space characters";pe.push(new g.YAMLSemanticError(de,dn))}let{header:Zt,valueRange:rn}=de;(rn&&(St>rn.start||Zt&&St>Zt.start)?Ge.after:Ge.before).push(de.context.src.slice(St+1,Nt));break}case g.Char.ANCHOR:if(He){let Zt="A node can have at most one anchor";pe.push(new g.YAMLSemanticError(de,Zt))}He=!0;break;case g.Char.TAG:if(nt){let Zt="A node can have at most one tag";pe.push(new g.YAMLSemanticError(de,Zt))}nt=!0;break}return{comments:Ge,hasAnchor:He,hasTag:nt}}function Dp(pe,de){let{anchors:Ge,errors:He,schema:nt}=pe;if(de.type===g.Type.ALIAS){let St=de.rawValue,Nt=Ge.getNode(St);if(!Nt){let rn=`Aliased anchor not found: ${St}`;return He.push(new g.YAMLReferenceError(de,rn)),null}let Zt=new Wt(Nt);return Ge._cstAliases.push(Zt),Zt}let rt=Ii(pe,de);if(rt)return Xo(pe,de,rt);if(de.type!==g.Type.PLAIN){let St=`Failed to resolve ${de.type} node here`;return He.push(new g.YAMLSyntaxError(de,St)),null}try{let St=Ji(pe,de);return Ee(St,nt.tags,nt.tags.scalarFallback)}catch(St){return St.source||(St.source=de),He.push(St),null}}function gi(pe,de){if(!de)return null;de.error&&pe.errors.push(de.error);let{comments:Ge,hasAnchor:He,hasTag:nt}=yp(pe.errors,de);if(He){let{anchors:St}=pe,Nt=de.anchor,Zt=St.getNode(Nt);Zt&&(St.map[St.newName(Nt)]=Zt),St.map[Nt]=de}if(de.type===g.Type.ALIAS&&(He||nt)){let St="An alias node must not specify any properties";pe.errors.push(new g.YAMLSemanticError(de,St))}let rt=Dp(pe,de);if(rt){rt.range=[de.range.start,de.range.end],pe.options.keepCstNodes&&(rt.cstNode=de),pe.options.keepNodeTypes&&(rt.type=de.type);let St=Ge.before.join(`
397
+ `);St&&(rt.commentBefore=rt.commentBefore?`${rt.commentBefore}
398
+ ${St}`:St);let Nt=Ge.after.join(`
399
+ `);Nt&&(rt.comment=rt.comment?`${rt.comment}
400
+ ${Nt}`:Nt)}return de.resolved=rt}function bp(pe,de){if(de.type!==g.Type.MAP&&de.type!==g.Type.FLOW_MAP){let St=`A ${de.type} node cannot be resolved as a mapping`;return pe.errors.push(new g.YAMLSyntaxError(de,St)),null}let{comments:Ge,items:He}=de.type===g.Type.FLOW_MAP?Cp(pe,de):Ap(pe,de),nt=new bn;nt.items=He,Mi(nt,Ge);let rt=!1;for(let St=0;St<He.length;++St){let{key:Nt}=He[St];if(Nt instanceof ot&&(rt=!0),pe.schema.merge&&Nt&&Nt.value===ye){He[St]=new Z(He[St]);let Zt=He[St].value.items,rn=null;Zt.some(dn=>{if(dn instanceof Wt){let{type:Pn}=dn.source;return Pn===g.Type.MAP||Pn===g.Type.FLOW_MAP?!1:rn="Merge nodes aliases can only point to maps"}return rn="Merge nodes can only have Alias nodes as values"}),rn&&pe.errors.push(new g.YAMLSemanticError(de,rn))}else for(let Zt=St+1;Zt<He.length;++Zt){let{key:rn}=He[Zt];if(Nt===rn||Nt&&rn&&Object.prototype.hasOwnProperty.call(Nt,"value")&&Nt.value===rn.value){let dn=`Map keys must be unique; "${Nt}" is repeated`;pe.errors.push(new g.YAMLSemanticError(de,dn));break}}}if(rt&&!pe.options.mapAsMap){let St="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,St))}return de.resolved=nt,nt}var vp=pe=>{let{context:{lineStart:de,node:Ge,src:He},props:nt}=pe;if(nt.length===0)return!1;let{start:rt}=nt[0];if(Ge&&rt>Ge.valueRange.start||He[rt]!==g.Char.COMMENT)return!1;for(let St=de;St<rt;++St)if(He[St]===`
401
+ `)return!1;return!0};function Ep(pe,de){if(!vp(pe))return;let Ge=pe.getPropValue(0,g.Char.COMMENT,!0),He=!1,nt=de.value.commentBefore;if(nt&&nt.startsWith(Ge))de.value.commentBefore=nt.substr(Ge.length+1),He=!0;else{let rt=de.value.comment;!pe.node&&rt&&rt.startsWith(Ge)&&(de.value.comment=rt.substr(Ge.length+1),He=!0)}He&&(de.comment=Ge)}function Ap(pe,de){let Ge=[],He=[],nt,rt=null;for(let St=0;St<de.items.length;++St){let Nt=de.items[St];switch(Nt.type){case g.Type.BLANK_LINE:Ge.push({afterKey:!!nt,before:He.length});break;case g.Type.COMMENT:Ge.push({afterKey:!!nt,before:He.length,comment:Nt.comment});break;case g.Type.MAP_KEY:nt!==void 0&&He.push(new Lt(nt)),Nt.error&&pe.errors.push(Nt.error),nt=gi(pe,Nt.node),rt=null;break;case g.Type.MAP_VALUE:{if(nt===void 0&&(nt=null),Nt.error&&pe.errors.push(Nt.error),!Nt.context.atLineStart&&Nt.node&&Nt.node.type===g.Type.MAP&&!Nt.node.context.atLineStart){let dn="Nested mappings are not allowed in compact mappings";pe.errors.push(new g.YAMLSemanticError(Nt.node,dn))}let Zt=Nt.node;if(!Zt&&Nt.props.length>0){Zt=new g.PlainValue(g.Type.PLAIN,[]),Zt.context={parent:Nt,src:Nt.context.src};let dn=Nt.range.start+1;if(Zt.range={start:dn,end:dn},Zt.valueRange={start:dn,end:dn},typeof Nt.range.origStart=="number"){let Pn=Nt.range.origStart+1;Zt.range.origStart=Zt.range.origEnd=Pn,Zt.valueRange.origStart=Zt.valueRange.origEnd=Pn}}let rn=new Lt(nt,gi(pe,Zt));Ep(Nt,rn),He.push(rn),nt&&typeof rt=="number"&&Nt.range.start>rt+1024&&pe.errors.push(or(de,nt)),nt=void 0,rt=null}break;default:nt!==void 0&&He.push(new Lt(nt)),nt=gi(pe,Nt),rt=Nt.range.start,Nt.error&&pe.errors.push(Nt.error);e:for(let Zt=St+1;;++Zt){let rn=de.items[Zt];switch(rn&&rn.type){case g.Type.BLANK_LINE:case g.Type.COMMENT:continue e;case g.Type.MAP_VALUE:break e;default:{let dn="Implicit map keys need to be followed by map values";pe.errors.push(new g.YAMLSemanticError(Nt,dn));break e}}}if(Nt.valueRangeContainsNewline){let Zt="Implicit map keys need to be on a single line";pe.errors.push(new g.YAMLSemanticError(Nt,Zt))}}}return nt!==void 0&&He.push(new Lt(nt)),{comments:Ge,items:He}}function Cp(pe,de){let Ge=[],He=[],nt,rt=!1,St="{";for(let Nt=0;Nt<de.items.length;++Nt){let Zt=de.items[Nt];if(typeof Zt.char=="string"){let{char:rn,offset:dn}=Zt;if(rn==="?"&&nt===void 0&&!rt){rt=!0,St=":";continue}if(rn===":"){if(nt===void 0&&(nt=null),St===":"){St=",";continue}}else if(rt&&(nt===void 0&&rn!==","&&(nt=null),rt=!1),nt!==void 0&&(He.push(new Lt(nt)),nt=void 0,rn===",")){St=":";continue}if(rn==="}"){if(Nt===de.items.length-1)continue}else if(rn===St){St=":";continue}let Pn=`Flow map contains an unexpected ${rn}`,cr=new g.YAMLSyntaxError(de,Pn);cr.offset=dn,pe.errors.push(cr)}else Zt.type===g.Type.BLANK_LINE?Ge.push({afterKey:!!nt,before:He.length}):Zt.type===g.Type.COMMENT?(Wn(pe.errors,Zt),Ge.push({afterKey:!!nt,before:He.length,comment:Zt.comment})):nt===void 0?(St===","&&pe.errors.push(new g.YAMLSemanticError(Zt,"Separator , missing in flow map")),nt=gi(pe,Zt)):(St!==","&&pe.errors.push(new g.YAMLSemanticError(Zt,"Indicator : missing in flow map entry")),He.push(new Lt(nt,gi(pe,Zt))),nt=void 0,rt=!1)}return Cn(pe.errors,de),nt!==void 0&&He.push(new Lt(nt)),{comments:Ge,items:He}}function xp(pe,de){if(de.type!==g.Type.SEQ&&de.type!==g.Type.FLOW_SEQ){let rt=`A ${de.type} node cannot be resolved as a sequence`;return pe.errors.push(new g.YAMLSyntaxError(de,rt)),null}let{comments:Ge,items:He}=de.type===g.Type.FLOW_SEQ?wp(pe,de):Sp(pe,de),nt=new _t;if(nt.items=He,Mi(nt,Ge),!pe.options.mapAsMap&&He.some(rt=>rt instanceof Lt&&rt.key instanceof ot)){let rt="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";pe.warnings.push(new g.YAMLWarning(de,rt))}return de.resolved=nt,nt}function Sp(pe,de){let Ge=[],He=[];for(let nt=0;nt<de.items.length;++nt){let rt=de.items[nt];switch(rt.type){case g.Type.BLANK_LINE:Ge.push({before:He.length});break;case g.Type.COMMENT:Ge.push({comment:rt.comment,before:He.length});break;case g.Type.SEQ_ITEM:if(rt.error&&pe.errors.push(rt.error),He.push(gi(pe,rt.node)),rt.hasProps){let St="Sequence items cannot have tags or anchors before the - indicator";pe.errors.push(new g.YAMLSemanticError(rt,St))}break;default:rt.error&&pe.errors.push(rt.error),pe.errors.push(new g.YAMLSyntaxError(rt,`Unexpected ${rt.type} node in sequence`))}}return{comments:Ge,items:He}}function wp(pe,de){let Ge=[],He=[],nt=!1,rt,St=null,Nt="[",Zt=null;for(let rn=0;rn<de.items.length;++rn){let dn=de.items[rn];if(typeof dn.char=="string"){let{char:Pn,offset:cr}=dn;if(Pn!==":"&&(nt||rt!==void 0)&&(nt&&rt===void 0&&(rt=Nt?He.pop():null),He.push(new Lt(rt)),nt=!1,rt=void 0,St=null),Pn===Nt)Nt=null;else if(!Nt&&Pn==="?")nt=!0;else if(Nt!=="["&&Pn===":"&&rt===void 0){if(Nt===","){if(rt=He.pop(),rt instanceof Lt){let fr="Chaining flow sequence pairs is invalid",Rn=new g.YAMLSemanticError(de,fr);Rn.offset=cr,pe.errors.push(Rn)}if(!nt&&typeof St=="number"){let fr=dn.range?dn.range.start:dn.offset;fr>St+1024&&pe.errors.push(or(de,rt));let{src:Rn}=Zt.context;for(let rr=St;rr<fr;++rr)if(Rn[rr]===`
402
+ `){let Zn="Implicit keys of flow sequence pairs need to be on a single line";pe.errors.push(new g.YAMLSemanticError(Zt,Zn));break}}}else rt=null;St=null,nt=!1,Nt=null}else if(Nt==="["||Pn!=="]"||rn<de.items.length-1){let fr=`Flow sequence contains an unexpected ${Pn}`,Rn=new g.YAMLSyntaxError(de,fr);Rn.offset=cr,pe.errors.push(Rn)}}else if(dn.type===g.Type.BLANK_LINE)Ge.push({before:He.length});else if(dn.type===g.Type.COMMENT)Wn(pe.errors,dn),Ge.push({comment:dn.comment,before:He.length});else{if(Nt){let cr=`Expected a ${Nt} in flow sequence`;pe.errors.push(new g.YAMLSemanticError(dn,cr))}let Pn=gi(pe,dn);rt===void 0?(He.push(Pn),Zt=dn):(He.push(new Lt(rt,Pn)),rt=void 0),St=dn.range.start,Nt=","}}return Cn(pe.errors,de),rt!==void 0&&He.push(new Lt(rt)),{comments:Ge,items:He}}Y.Alias=Wt,Y.Collection=ot,Y.Merge=Z,Y.Node=Le,Y.Pair=Lt,Y.Scalar=tt,Y.YAMLMap=bn,Y.YAMLSeq=_t,Y.addComment=Ce,Y.binaryOptions=O,Y.boolOptions=H,Y.findPair=Kt,Y.intOptions=le,Y.isEmptyPath=$t,Y.nullOptions=Se,Y.resolveMap=bp,Y.resolveNode=gi,Y.resolveSeq=xp,Y.resolveString=Ji,Y.strOptions=Be,Y.stringifyNumber=mn,Y.stringifyString=tn,Y.toJSON=ke}}),na=c({"node_modules/yaml/dist/warnings-1000a372.js"(Y){L();var g=Gr(),W=is(),Ce={identify:Ee=>Ee instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(Ee,je)=>{let xt=W.resolveString(Ee,je);if(typeof Buffer=="function")return Buffer.from(xt,"base64");if(typeof atob=="function"){let Rt=atob(xt.replace(/[\n\r]/g,"")),Xt=new Uint8Array(Rt.length);for(let En=0;En<Rt.length;++En)Xt[En]=Rt.charCodeAt(En);return Xt}else{let Rt="This environment does not support reading binary tags; either Buffer or atob is required";return Ee.errors.push(new g.YAMLReferenceError(je,Rt)),null}},options:W.binaryOptions,stringify:(Ee,je,xt,Rt)=>{let{comment:Xt,type:En,value:on}=Ee,Vn;if(typeof Buffer=="function")Vn=on instanceof Buffer?on.toString("base64"):Buffer.from(on.buffer).toString("base64");else if(typeof btoa=="function"){let sr="";for(let Sr=0;Sr<on.length;++Sr)sr+=String.fromCharCode(on[Sr]);Vn=btoa(sr)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(En||(En=W.binaryOptions.defaultType),En===g.Type.QUOTE_DOUBLE)on=Vn;else{let{lineWidth:sr}=W.binaryOptions,Sr=Math.ceil(Vn.length/sr),mi=new Array(Sr);for(let fi=0,Et=0;fi<Sr;++fi,Et+=sr)mi[fi]=Vn.substr(Et,sr);on=mi.join(En===g.Type.BLOCK_LITERAL?`
403
+ `:" ")}return W.stringifyString({comment:Xt,type:En,value:on},je,xt,Rt)}};function Le(Ee,je){let xt=W.resolveSeq(Ee,je);for(let Rt=0;Rt<xt.items.length;++Rt){let Xt=xt.items[Rt];if(!(Xt instanceof W.Pair)){if(Xt instanceof W.YAMLMap){if(Xt.items.length>1){let on="Each pair must have its own sequence indicator";throw new g.YAMLSemanticError(je,on)}let En=Xt.items[0]||new W.Pair;Xt.commentBefore&&(En.commentBefore=En.commentBefore?`${Xt.commentBefore}
404
+ ${En.commentBefore}`:Xt.commentBefore),Xt.comment&&(En.comment=En.comment?`${Xt.comment}
405
+ ${En.comment}`:Xt.comment),Xt=En}xt.items[Rt]=Xt instanceof W.Pair?Xt:new W.Pair(Xt)}}return xt}function ke(Ee,je,xt){let Rt=new W.YAMLSeq(Ee);Rt.tag="tag:yaml.org,2002:pairs";for(let Xt of je){let En,on;if(Array.isArray(Xt))if(Xt.length===2)En=Xt[0],on=Xt[1];else throw new TypeError(`Expected [key, value] tuple: ${Xt}`);else if(Xt&&Xt instanceof Object){let sr=Object.keys(Xt);if(sr.length===1)En=sr[0],on=Xt[En];else throw new TypeError(`Expected { key: value } tuple: ${Xt}`)}else En=Xt;let Vn=Ee.createPair(En,on,xt);Rt.items.push(Vn)}return Rt}var tt={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Le,createNode:ke},Dt=class extends W.YAMLSeq{constructor(){super(),g._defineProperty(this,"add",W.YAMLMap.prototype.add.bind(this)),g._defineProperty(this,"delete",W.YAMLMap.prototype.delete.bind(this)),g._defineProperty(this,"get",W.YAMLMap.prototype.get.bind(this)),g._defineProperty(this,"has",W.YAMLMap.prototype.has.bind(this)),g._defineProperty(this,"set",W.YAMLMap.prototype.set.bind(this)),this.tag=Dt.tag}toJSON(Ee,je){let xt=new Map;je&&je.onCreate&&je.onCreate(xt);for(let Rt of this.items){let Xt,En;if(Rt instanceof W.Pair?(Xt=W.toJSON(Rt.key,"",je),En=W.toJSON(Rt.value,Xt,je)):Xt=W.toJSON(Rt,"",je),xt.has(Xt))throw new Error("Ordered maps must not include duplicate keys");xt.set(Xt,En)}return xt}};g._defineProperty(Dt,"tag","tag:yaml.org,2002:omap");function $t(Ee,je){let xt=Le(Ee,je),Rt=[];for(let{key:Xt}of xt.items)if(Xt instanceof W.Scalar)if(Rt.includes(Xt.value)){let En="Ordered maps must not include duplicate keys";throw new g.YAMLSemanticError(je,En)}else Rt.push(Xt.value);return Object.assign(new Dt,xt)}function ot(Ee,je,xt){let Rt=ke(Ee,je,xt),Xt=new Dt;return Xt.items=Rt.items,Xt}var vt={identify:Ee=>Ee instanceof Map,nodeClass:Dt,default:!1,tag:"tag:yaml.org,2002:omap",resolve:$t,createNode:ot},_t=class extends W.YAMLMap{constructor(){super(),this.tag=_t.tag}add(Ee){let je=Ee instanceof W.Pair?Ee:new W.Pair(Ee);W.findPair(this.items,je.key)||this.items.push(je)}get(Ee,je){let xt=W.findPair(this.items,Ee);return!je&&xt instanceof W.Pair?xt.key instanceof W.Scalar?xt.key.value:xt.key:xt}set(Ee,je){if(typeof je!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof je}`);let xt=W.findPair(this.items,Ee);xt&&!je?this.items.splice(this.items.indexOf(xt),1):!xt&&je&&this.items.push(new W.Pair(Ee))}toJSON(Ee,je){return super.toJSON(Ee,je,Set)}toString(Ee,je,xt){if(!Ee)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(Ee,je,xt);throw new Error("Set items must all have null values")}};g._defineProperty(_t,"tag","tag:yaml.org,2002:set");function jt(Ee,je){let xt=W.resolveMap(Ee,je);if(!xt.hasAllNullValues())throw new g.YAMLSemanticError(je,"Set items must all have null values");return Object.assign(new _t,xt)}function Lt(Ee,je,xt){let Rt=new _t;for(let Xt of je)Rt.items.push(Ee.createPair(Xt,null,xt));return Rt}var Jt={identify:Ee=>Ee instanceof Set,nodeClass:_t,default:!1,tag:"tag:yaml.org,2002:set",resolve:jt,createNode:Lt},Wt=(Ee,je)=>{let xt=je.split(":").reduce((Rt,Xt)=>Rt*60+Number(Xt),0);return Ee==="-"?-xt:xt},Kt=Ee=>{let{value:je}=Ee;if(isNaN(je)||!isFinite(je))return W.stringifyNumber(je);let xt="";je<0&&(xt="-",je=Math.abs(je));let Rt=[je%60];return je<60?Rt.unshift(0):(je=Math.round((je-Rt[0])/60),Rt.unshift(je%60),je>=60&&(je=Math.round((je-Rt[0])/60),Rt.unshift(je))),xt+Rt.map(Xt=>Xt<10?"0"+String(Xt):String(Xt)).join(":").replace(/000000\d*$/,"")},bn={identify:Ee=>typeof Ee=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(Ee,je,xt)=>Wt(je,xt.replace(/_/g,"")),stringify:Kt},ye={identify:Ee=>typeof Ee=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(Ee,je,xt)=>Wt(je,xt.replace(/_/g,"")),stringify:Kt},Z={identify:Ee=>Ee instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(Ee,je,xt,Rt,Xt,En,on,Vn,sr)=>{Vn&&(Vn=(Vn+"00").substr(1,3));let Sr=Date.UTC(je,xt-1,Rt,Xt||0,En||0,on||0,Vn||0);if(sr&&sr!=="Z"){let mi=Wt(sr[0],sr.slice(1));Math.abs(mi)<30&&(mi*=60),Sr-=6e4*mi}return new Date(Sr)},stringify:Ee=>{let{value:je}=Ee;return je.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function O(Ee){let je=typeof X<"u"&&X.env||{};return Ee?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!je.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!je.YAML_SILENCE_WARNINGS}function H(Ee,je){if(O(!1)){let xt=typeof X<"u"&&X.emitWarning;xt?xt(Ee,je):console.warn(je?`${je}: ${Ee}`:Ee)}}function le(Ee){if(O(!0)){let je=Ee.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");H(`The endpoint 'yaml/${je}' will be removed in a future release.`,"DeprecationWarning")}}var Se={};function Be(Ee,je){if(!Se[Ee]&&O(!0)){Se[Ee]=!0;let xt=`The option '${Ee}' will be removed in a future release`;xt+=je?`, use '${je}' instead.`:".",H(xt,"DeprecationWarning")}}Y.binary=Ce,Y.floatTime=ye,Y.intTime=bn,Y.omap=vt,Y.pairs=tt,Y.set=Jt,Y.timestamp=Z,Y.warn=H,Y.warnFileDeprecation=le,Y.warnOptionDeprecation=Be}}),ra=c({"node_modules/yaml/dist/Schema-88e323a7.js"(Y){L();var g=Gr(),W=is(),Ce=na();function Le(Et,tn,mn){let Cn=new W.YAMLMap(Et);if(tn instanceof Map)for(let[Wn,or]of tn)Cn.items.push(Et.createPair(Wn,or,mn));else if(tn&&typeof tn=="object")for(let Wn of Object.keys(tn))Cn.items.push(Et.createPair(Wn,tn[Wn],mn));return typeof Et.sortMapEntries=="function"&&Cn.items.sort(Et.sortMapEntries),Cn}var ke={createNode:Le,default:!0,nodeClass:W.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:W.resolveMap};function tt(Et,tn,mn){let Cn=new W.YAMLSeq(Et);if(tn&&tn[Symbol.iterator])for(let Wn of tn){let or=Et.createNode(Wn,mn.wrapScalars,null,mn);Cn.items.push(or)}return Cn}var Dt={createNode:tt,default:!0,nodeClass:W.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:W.resolveSeq},$t={identify:Et=>typeof Et=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify(Et,tn,mn,Cn){return tn=Object.assign({actualString:!0},tn),W.stringifyString(Et,tn,mn,Cn)},options:W.strOptions},ot=[ke,Dt,$t],vt=Et=>typeof Et=="bigint"||Number.isInteger(Et),_t=(Et,tn,mn)=>W.intOptions.asBigInt?BigInt(Et):parseInt(tn,mn);function jt(Et,tn,mn){let{value:Cn}=Et;return vt(Cn)&&Cn>=0?mn+Cn.toString(tn):W.stringifyNumber(Et)}var Lt={identify:Et=>Et==null,createNode:(Et,tn,mn)=>mn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},Jt={identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:Et=>Et[0]==="t"||Et[0]==="T",options:W.boolOptions,stringify:Et=>{let{value:tn}=Et;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr}},Wt={identify:Et=>vt(Et)&&Et>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(Et,tn)=>_t(Et,tn,8),options:W.intOptions,stringify:Et=>jt(Et,8,"0o")},Kt={identify:vt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:Et=>_t(Et,Et,10),options:W.intOptions,stringify:W.stringifyNumber},bn={identify:Et=>vt(Et)&&Et>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(Et,tn)=>_t(Et,tn,16),options:W.intOptions,stringify:Et=>jt(Et,16,"0x")},ye={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Et,tn)=>tn?NaN:Et[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},Z={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:Et=>parseFloat(Et),stringify:Et=>{let{value:tn}=Et;return Number(tn).toExponential()}},O={identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(Et,tn,mn){let Cn=tn||mn,Wn=new W.Scalar(parseFloat(Et));return Cn&&Cn[Cn.length-1]==="0"&&(Wn.minFractionDigits=Cn.length),Wn},stringify:W.stringifyNumber},H=ot.concat([Lt,Jt,Wt,Kt,bn,ye,Z,O]),le=Et=>typeof Et=="bigint"||Number.isInteger(Et),Se=Et=>{let{value:tn}=Et;return JSON.stringify(tn)},Be=[ke,Dt,{identify:Et=>typeof Et=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:W.resolveString,stringify:Se},{identify:Et=>Et==null,createNode:(Et,tn,mn)=>mn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Se},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:Et=>Et==="true",stringify:Se},{identify:le,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:Et=>W.intOptions.asBigInt?BigInt(Et):parseInt(Et,10),stringify:Et=>{let{value:tn}=Et;return le(tn)?tn.toString():JSON.stringify(tn)}},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:Et=>parseFloat(Et),stringify:Se}];Be.scalarFallback=Et=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(Et)}`)};var Ee=Et=>{let{value:tn}=Et;return tn?W.boolOptions.trueStr:W.boolOptions.falseStr},je=Et=>typeof Et=="bigint"||Number.isInteger(Et);function xt(Et,tn,mn){let Cn=tn.replace(/_/g,"");if(W.intOptions.asBigInt){switch(mn){case 2:Cn=`0b${Cn}`;break;case 8:Cn=`0o${Cn}`;break;case 16:Cn=`0x${Cn}`;break}let or=BigInt(Cn);return Et==="-"?BigInt(-1)*or:or}let Wn=parseInt(Cn,mn);return Et==="-"?-1*Wn:Wn}function Rt(Et,tn,mn){let{value:Cn}=Et;if(je(Cn)){let Wn=Cn.toString(tn);return Cn<0?"-"+mn+Wn.substr(1):mn+Wn}return W.stringifyNumber(Et)}var Xt=ot.concat([{identify:Et=>Et==null,createNode:(Et,tn,mn)=>mn.wrapScalars?new W.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:W.nullOptions,stringify:()=>W.nullOptions.nullStr},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:W.boolOptions,stringify:Ee},{identify:Et=>typeof Et=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:W.boolOptions,stringify:Ee},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(Et,tn,mn)=>xt(tn,mn,2),stringify:Et=>Rt(Et,2,"0b")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(Et,tn,mn)=>xt(tn,mn,8),stringify:Et=>Rt(Et,8,"0")},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(Et,tn,mn)=>xt(tn,mn,10),stringify:W.stringifyNumber},{identify:je,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(Et,tn,mn)=>xt(tn,mn,16),stringify:Et=>Rt(Et,16,"0x")},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(Et,tn)=>tn?NaN:Et[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:W.stringifyNumber},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:Et=>parseFloat(Et.replace(/_/g,"")),stringify:Et=>{let{value:tn}=Et;return Number(tn).toExponential()}},{identify:Et=>typeof Et=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(Et,tn){let mn=new W.Scalar(parseFloat(Et.replace(/_/g,"")));if(tn){let Cn=tn.replace(/_/g,"");Cn[Cn.length-1]==="0"&&(mn.minFractionDigits=Cn.length)}return mn},stringify:W.stringifyNumber}],Ce.binary,Ce.omap,Ce.pairs,Ce.set,Ce.intTime,Ce.floatTime,Ce.timestamp),En={core:H,failsafe:ot,json:Be,yaml11:Xt},on={binary:Ce.binary,bool:Jt,float:O,floatExp:Z,floatNaN:ye,floatTime:Ce.floatTime,int:Kt,intHex:bn,intOct:Wt,intTime:Ce.intTime,map:ke,null:Lt,omap:Ce.omap,pairs:Ce.pairs,seq:Dt,set:Ce.set,timestamp:Ce.timestamp};function Vn(Et,tn,mn){if(tn){let Cn=mn.filter(or=>or.tag===tn),Wn=Cn.find(or=>!or.format)||Cn[0];if(!Wn)throw new Error(`Tag ${tn} not found`);return Wn}return mn.find(Cn=>(Cn.identify&&Cn.identify(Et)||Cn.class&&Et instanceof Cn.class)&&!Cn.format)}function sr(Et,tn,mn){if(Et instanceof W.Node)return Et;let{defaultPrefix:Cn,onTagObj:Wn,prevObjects:or,schema:Mi,wrapScalars:Ji}=mn;tn&&tn.startsWith("!!")&&(tn=Cn+tn.slice(2));let Yi=Vn(Et,tn,Mi.tags);if(!Yi){if(typeof Et.toJSON=="function"&&(Et=Et.toJSON()),!Et||typeof Et!="object")return Ji?new W.Scalar(Et):Et;Yi=Et instanceof Map?ke:Et[Symbol.iterator]?Dt:ke}Wn&&(Wn(Yi),delete mn.onTagObj);let Ii={value:void 0,node:void 0};if(Et&&typeof Et=="object"&&or){let sa=or.get(Et);if(sa){let so=new W.Alias(sa);return mn.aliasNodes.push(so),so}Ii.value=Et,or.set(Et,Ii)}return Ii.node=Yi.createNode?Yi.createNode(mn.schema,Et,mn):Ji?new W.Scalar(Et):Et,tn&&Ii.node instanceof W.Node&&(Ii.node.tag=tn),Ii.node}function Sr(Et,tn,mn,Cn){let Wn=Et[Cn.replace(/\W/g,"")];if(!Wn){let or=Object.keys(Et).map(Mi=>JSON.stringify(Mi)).join(", ");throw new Error(`Unknown schema "${Cn}"; use one of ${or}`)}if(Array.isArray(mn))for(let or of mn)Wn=Wn.concat(or);else typeof mn=="function"&&(Wn=mn(Wn.slice()));for(let or=0;or<Wn.length;++or){let Mi=Wn[or];if(typeof Mi=="string"){let Ji=tn[Mi];if(!Ji){let Yi=Object.keys(tn).map(Ii=>JSON.stringify(Ii)).join(", ");throw new Error(`Unknown custom tag "${Mi}"; use one of ${Yi}`)}Wn[or]=Ji}}return Wn}var mi=(Et,tn)=>Et.key<tn.key?-1:Et.key>tn.key?1:0,fi=class{constructor(Et){let{customTags:tn,merge:mn,schema:Cn,sortMapEntries:Wn,tags:or}=Et;this.merge=!!mn,this.name=Cn,this.sortMapEntries=Wn===!0?mi:Wn||null,!tn&&or&&Ce.warnOptionDeprecation("tags","customTags"),this.tags=Sr(En,on,tn||or,Cn)}createNode(Et,tn,mn,Cn){let Wn={defaultPrefix:fi.defaultPrefix,schema:this,wrapScalars:tn},or=Cn?Object.assign(Cn,Wn):Wn;return sr(Et,mn,or)}createPair(Et,tn,mn){mn||(mn={wrapScalars:!0});let Cn=this.createNode(Et,mn.wrapScalars,null,mn),Wn=this.createNode(tn,mn.wrapScalars,null,mn);return new W.Pair(Cn,Wn)}};g._defineProperty(fi,"defaultPrefix",g.defaultTagPrefix),g._defineProperty(fi,"defaultTags",g.defaultTags),Y.Schema=fi}}),ri=c({"node_modules/yaml/dist/Document-9b4560a1.js"(Y){L();var g=Gr(),W=is(),Ce=ra(),Le={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},ke={get binary(){return W.binaryOptions},set binary(O){Object.assign(W.binaryOptions,O)},get bool(){return W.boolOptions},set bool(O){Object.assign(W.boolOptions,O)},get int(){return W.intOptions},set int(O){Object.assign(W.intOptions,O)},get null(){return W.nullOptions},set null(O){Object.assign(W.nullOptions,O)},get str(){return W.strOptions},set str(O){Object.assign(W.strOptions,O)}},tt={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:g.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:g.defaultTagPrefix}]}};function Dt(O,H){if((O.version||O.options.version)==="1.0"){let Be=H.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(Be)return"!"+Be[1];let Ee=H.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return Ee?`!${Ee[1]}/${Ee[2]}`:`!${H.replace(/^tag:/,"")}`}let le=O.tagPrefixes.find(Be=>H.indexOf(Be.prefix)===0);if(!le){let Be=O.getDefaults().tagPrefixes;le=Be&&Be.find(Ee=>H.indexOf(Ee.prefix)===0)}if(!le)return H[0]==="!"?H:`!<${H}>`;let Se=H.substr(le.prefix.length).replace(/[!,[\]{}]/g,Be=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[Be]);return le.handle+Se}function $t(O,H){if(H instanceof W.Alias)return W.Alias;if(H.tag){let Be=O.filter(Ee=>Ee.tag===H.tag);if(Be.length>0)return Be.find(Ee=>Ee.format===H.format)||Be[0]}let le,Se;if(H instanceof W.Scalar){Se=H.value;let Be=O.filter(Ee=>Ee.identify&&Ee.identify(Se)||Ee.class&&Se instanceof Ee.class);le=Be.find(Ee=>Ee.format===H.format)||Be.find(Ee=>!Ee.format)}else Se=H,le=O.find(Be=>Be.nodeClass&&Se instanceof Be.nodeClass);if(!le){let Be=Se&&Se.constructor?Se.constructor.name:typeof Se;throw new Error(`Tag not resolved for ${Be} value`)}return le}function ot(O,H,le){let{anchors:Se,doc:Be}=le,Ee=[],je=Be.anchors.getName(O);return je&&(Se[je]=O,Ee.push(`&${je}`)),O.tag?Ee.push(Dt(Be,O.tag)):H.default||Ee.push(Dt(Be,H.tag)),Ee.join(" ")}function vt(O,H,le,Se){let{anchors:Be,schema:Ee}=H.doc,je;if(!(O instanceof W.Node)){let Xt={aliasNodes:[],onTagObj:En=>je=En,prevObjects:new Map};O=Ee.createNode(O,!0,null,Xt);for(let En of Xt.aliasNodes){En.source=En.source.node;let on=Be.getName(En.source);on||(on=Be.newName(),Be.map[on]=En.source)}}if(O instanceof W.Pair)return O.toString(H,le,Se);je||(je=$t(Ee.tags,O));let xt=ot(O,je,H);xt.length>0&&(H.indentAtStart=(H.indentAtStart||0)+xt.length+1);let Rt=typeof je.stringify=="function"?je.stringify(O,H,le,Se):O instanceof W.Scalar?W.stringifyString(O,H,le,Se):O.toString(H,le,Se);return xt?O instanceof W.Scalar||Rt[0]==="{"||Rt[0]==="["?`${xt} ${Rt}`:`${xt}
406
+ ${H.indent}${Rt}`:Rt}var _t=class{static validAnchorNode(O){return O instanceof W.Scalar||O instanceof W.YAMLSeq||O instanceof W.YAMLMap}constructor(O){g._defineProperty(this,"map",Object.create(null)),this.prefix=O}createAlias(O,H){return this.setAnchor(O,H),new W.Alias(O)}createMergePair(){let O=new W.Merge;for(var H=arguments.length,le=new Array(H),Se=0;Se<H;Se++)le[Se]=arguments[Se];return O.value.items=le.map(Be=>{if(Be instanceof W.Alias){if(Be.source instanceof W.YAMLMap)return Be}else if(Be instanceof W.YAMLMap)return this.createAlias(Be);throw new Error("Merge sources must be Map nodes or their Aliases")}),O}getName(O){let{map:H}=this;return Object.keys(H).find(le=>H[le]===O)}getNames(){return Object.keys(this.map)}getNode(O){return this.map[O]}newName(O){O||(O=this.prefix);let H=Object.keys(this.map);for(let le=1;;++le){let Se=`${O}${le}`;if(!H.includes(Se))return Se}}resolveNodes(){let{map:O,_cstAliases:H}=this;Object.keys(O).forEach(le=>{O[le]=O[le].resolved}),H.forEach(le=>{le.source=le.source.resolved}),delete this._cstAliases}setAnchor(O,H){if(O!=null&&!_t.validAnchorNode(O))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(H&&/[\x00-\x19\s,[\]{}]/.test(H))throw new Error("Anchor names must not contain whitespace or control characters");let{map:le}=this,Se=O&&Object.keys(le).find(Be=>le[Be]===O);if(Se)if(H)Se!==H&&(delete le[Se],le[H]=O);else return Se;else{if(!H){if(!O)return null;H=this.newName()}le[H]=O}return H}},jt=(O,H)=>{if(O&&typeof O=="object"){let{tag:le}=O;O instanceof W.Collection?(le&&(H[le]=!0),O.items.forEach(Se=>jt(Se,H))):O instanceof W.Pair?(jt(O.key,H),jt(O.value,H)):O instanceof W.Scalar&&le&&(H[le]=!0)}return H},Lt=O=>Object.keys(jt(O,{}));function Jt(O,H){let le={before:[],after:[]},Se,Be=!1;for(let Ee of H)if(Ee.valueRange){if(Se!==void 0){let xt="Document contains trailing content not separated by a ... or --- line";O.errors.push(new g.YAMLSyntaxError(Ee,xt));break}let je=W.resolveNode(O,Ee);Be&&(je.spaceBefore=!0,Be=!1),Se=je}else Ee.comment!==null?(Se===void 0?le.before:le.after).push(Ee.comment):Ee.type===g.Type.BLANK_LINE&&(Be=!0,Se===void 0&&le.before.length>0&&!O.commentBefore&&(O.commentBefore=le.before.join(`
407
+ `),le.before=[]));if(O.contents=Se||null,!Se)O.comment=le.before.concat(le.after).join(`
408
+ `)||null;else{let Ee=le.before.join(`
409
+ `);if(Ee){let je=Se instanceof W.Collection&&Se.items[0]?Se.items[0]:Se;je.commentBefore=je.commentBefore?`${Ee}
410
+ ${je.commentBefore}`:Ee}O.comment=le.after.join(`
411
+ `)||null}}function Wt(O,H){let{tagPrefixes:le}=O,[Se,Be]=H.parameters;if(!Se||!Be){let Ee="Insufficient parameters given for %TAG directive";throw new g.YAMLSemanticError(H,Ee)}if(le.some(Ee=>Ee.handle===Se)){let Ee="The %TAG directive must only be given at most once per handle in the same document.";throw new g.YAMLSemanticError(H,Ee)}return{handle:Se,prefix:Be}}function Kt(O,H){let[le]=H.parameters;if(H.name==="YAML:1.0"&&(le="1.0"),!le){let Se="Insufficient parameters given for %YAML directive";throw new g.YAMLSemanticError(H,Se)}if(!tt[le]){let Se=`Document will be parsed as YAML ${O.version||O.options.version} rather than YAML ${le}`;O.warnings.push(new g.YAMLWarning(H,Se))}return le}function bn(O,H,le){let Se=[],Be=!1;for(let Ee of H){let{comment:je,name:xt}=Ee;switch(xt){case"TAG":try{O.tagPrefixes.push(Wt(O,Ee))}catch(Rt){O.errors.push(Rt)}Be=!0;break;case"YAML":case"YAML:1.0":if(O.version){let Rt="The %YAML directive must only be given at most once per document.";O.errors.push(new g.YAMLSemanticError(Ee,Rt))}try{O.version=Kt(O,Ee)}catch(Rt){O.errors.push(Rt)}Be=!0;break;default:if(xt){let Rt=`YAML only supports %TAG and %YAML directives, and not %${xt}`;O.warnings.push(new g.YAMLWarning(Ee,Rt))}}je&&Se.push(je)}if(le&&!Be&&(O.version||le.version||O.options.version)==="1.1"){let Ee=je=>{let{handle:xt,prefix:Rt}=je;return{handle:xt,prefix:Rt}};O.tagPrefixes=le.tagPrefixes.map(Ee),O.version=le.version}O.commentBefore=Se.join(`
412
+ `)||null}function ye(O){if(O instanceof W.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var Z=class{constructor(O){this.anchors=new _t(O.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=O,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(O){return ye(this.contents),this.contents.add(O)}addIn(O,H){ye(this.contents),this.contents.addIn(O,H)}delete(O){return ye(this.contents),this.contents.delete(O)}deleteIn(O){return W.isEmptyPath(O)?this.contents==null?!1:(this.contents=null,!0):(ye(this.contents),this.contents.deleteIn(O))}getDefaults(){return Z.defaults[this.version]||Z.defaults[this.options.version]||{}}get(O,H){return this.contents instanceof W.Collection?this.contents.get(O,H):void 0}getIn(O,H){return W.isEmptyPath(O)?!H&&this.contents instanceof W.Scalar?this.contents.value:this.contents:this.contents instanceof W.Collection?this.contents.getIn(O,H):void 0}has(O){return this.contents instanceof W.Collection?this.contents.has(O):!1}hasIn(O){return W.isEmptyPath(O)?this.contents!==void 0:this.contents instanceof W.Collection?this.contents.hasIn(O):!1}set(O,H){ye(this.contents),this.contents.set(O,H)}setIn(O,H){W.isEmptyPath(O)?this.contents=H:(ye(this.contents),this.contents.setIn(O,H))}setSchema(O,H){if(!O&&!H&&this.schema)return;typeof O=="number"&&(O=O.toFixed(1)),O==="1.0"||O==="1.1"||O==="1.2"?(this.version?this.version=O:this.options.version=O,delete this.options.schema):O&&typeof O=="string"&&(this.options.schema=O),Array.isArray(H)&&(this.options.customTags=H);let le=Object.assign({},this.getDefaults(),this.options);this.schema=new Ce.Schema(le)}parse(O,H){this.options.keepCstNodes&&(this.cstNode=O),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:le=[],contents:Se=[],directivesEndMarker:Be,error:Ee,valueRange:je}=O;if(Ee&&(Ee.source||(Ee.source=this),this.errors.push(Ee)),bn(this,le,H),Be&&(this.directivesEndMarker=!0),this.range=je?[je.start,je.end]:null,this.setSchema(),this.anchors._cstAliases=[],Jt(this,Se),this.anchors.resolveNodes(),this.options.prettyErrors){for(let xt of this.errors)xt instanceof g.YAMLError&&xt.makePretty();for(let xt of this.warnings)xt instanceof g.YAMLError&&xt.makePretty()}return this}listNonDefaultTags(){return Lt(this.contents).filter(O=>O.indexOf(Ce.Schema.defaultPrefix)!==0)}setTagPrefix(O,H){if(O[0]!=="!"||O[O.length-1]!=="!")throw new Error("Handle must start and end with !");if(H){let le=this.tagPrefixes.find(Se=>Se.handle===O);le?le.prefix=H:this.tagPrefixes.push({handle:O,prefix:H})}else this.tagPrefixes=this.tagPrefixes.filter(le=>le.handle!==O)}toJSON(O,H){let{keepBlobsInJSON:le,mapAsMap:Se,maxAliasCount:Be}=this.options,Ee=le&&(typeof O!="string"||!(this.contents instanceof W.Scalar)),je={doc:this,indentStep:" ",keep:Ee,mapAsMap:Ee&&!!Se,maxAliasCount:Be,stringify:vt},xt=Object.keys(this.anchors.map);xt.length>0&&(je.anchors=new Map(xt.map(Xt=>[this.anchors.map[Xt],{alias:[],aliasCount:0,count:1}])));let Rt=W.toJSON(this.contents,O,je);if(typeof H=="function"&&je.anchors)for(let{count:Xt,res:En}of je.anchors.values())H(En,Xt);return Rt}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let O=this.options.indent;if(!Number.isInteger(O)||O<=0){let xt=JSON.stringify(O);throw new Error(`"indent" option must be a positive integer, not ${xt}`)}this.setSchema();let H=[],le=!1;if(this.version){let xt="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?xt="%YAML:1.0":this.version==="1.1"&&(xt="%YAML 1.1")),H.push(xt),le=!0}let Se=this.listNonDefaultTags();this.tagPrefixes.forEach(xt=>{let{handle:Rt,prefix:Xt}=xt;Se.some(En=>En.indexOf(Xt)===0)&&(H.push(`%TAG ${Rt} ${Xt}`),le=!0)}),(le||this.directivesEndMarker)&&H.push("---"),this.commentBefore&&((le||!this.directivesEndMarker)&&H.unshift(""),H.unshift(this.commentBefore.replace(/^/gm,"#")));let Be={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(O),stringify:vt},Ee=!1,je=null;if(this.contents){this.contents instanceof W.Node&&(this.contents.spaceBefore&&(le||this.directivesEndMarker)&&H.push(""),this.contents.commentBefore&&H.push(this.contents.commentBefore.replace(/^/gm,"#")),Be.forceBlockIndent=!!this.comment,je=this.contents.comment);let xt=je?null:()=>Ee=!0,Rt=vt(this.contents,Be,()=>je=null,xt);H.push(W.addComment(Rt,"",je))}else this.contents!==void 0&&H.push(vt(this.contents,Be));return this.comment&&((!Ee||je)&&H[H.length-1]!==""&&H.push(""),H.push(this.comment.replace(/^/gm,"#"))),H.join(`
413
+ `)+`
414
+ `}};g._defineProperty(Z,"defaults",tt),Y.Document=Z,Y.defaultOptions=Le,Y.scalarOptions=ke}}),Pl=c({"node_modules/yaml/dist/index.js"(Y){L();var g=io(),W=ri(),Ce=ra(),Le=Gr(),ke=na();is();function tt(Lt){let Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Wt=arguments.length>2?arguments[2]:void 0;Wt===void 0&&typeof Jt=="string"&&(Wt=Jt,Jt=!0);let Kt=Object.assign({},W.Document.defaults[W.defaultOptions.version],W.defaultOptions);return new Ce.Schema(Kt).createNode(Lt,Jt,Wt)}var Dt=class extends W.Document{constructor(Lt){super(Object.assign({},W.defaultOptions,Lt))}};function $t(Lt,Jt){let Wt=[],Kt;for(let bn of g.parse(Lt)){let ye=new Dt(Jt);ye.parse(bn,Kt),Wt.push(ye),Kt=ye}return Wt}function ot(Lt,Jt){let Wt=g.parse(Lt),Kt=new Dt(Jt).parse(Wt[0]);if(Wt.length>1){let bn="Source contains multiple documents; please use YAML.parseAllDocuments()";Kt.errors.unshift(new Le.YAMLSemanticError(Wt[1],bn))}return Kt}function vt(Lt,Jt){let Wt=ot(Lt,Jt);if(Wt.warnings.forEach(Kt=>ke.warn(Kt)),Wt.errors.length>0)throw Wt.errors[0];return Wt.toJSON()}function _t(Lt,Jt){let Wt=new Dt(Jt);return Wt.contents=Lt,String(Wt)}var jt={createNode:tt,defaultOptions:W.defaultOptions,Document:Dt,parse:vt,parseAllDocuments:$t,parseCST:g.parse,parseDocument:ot,scalarOptions:W.scalarOptions,stringify:_t};Y.YAML=jt}}),Bl=c({"node_modules/yaml/index.js"(Y,g){L(),g.exports=Pl().YAML}}),Ml=c({"node_modules/yaml/dist/util.js"(Y){L();var g=is(),W=Gr();Y.findPair=g.findPair,Y.parseMap=g.resolveMap,Y.parseSeq=g.resolveSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.toJSON=g.toJSON,Y.Type=W.Type,Y.YAMLError=W.YAMLError,Y.YAMLReferenceError=W.YAMLReferenceError,Y.YAMLSemanticError=W.YAMLSemanticError,Y.YAMLSyntaxError=W.YAMLSyntaxError,Y.YAMLWarning=W.YAMLWarning}}),pp=c({"node_modules/yaml/util.js"(Y){L();var g=Ml();Y.findPair=g.findPair,Y.toJSON=g.toJSON,Y.parseMap=g.parseMap,Y.parseSeq=g.parseSeq,Y.stringifyNumber=g.stringifyNumber,Y.stringifyString=g.stringifyString,Y.Type=g.Type,Y.YAMLError=g.YAMLError,Y.YAMLReferenceError=g.YAMLReferenceError,Y.YAMLSemanticError=g.YAMLSemanticError,Y.YAMLSyntaxError=g.YAMLSyntaxError,Y.YAMLWarning=g.YAMLWarning}}),Il=c({"node_modules/yaml-unist-parser/lib/yaml.js"(Y){L(),Y.__esModule=!0;var g=Bl();Y.Document=g.Document;var W=Bl();Y.parseCST=W.parseCST;var Ce=pp();Y.YAMLError=Ce.YAMLError,Y.YAMLSyntaxError=Ce.YAMLSyntaxError,Y.YAMLSemanticError=Ce.YAMLSemanticError}}),ia=c({"node_modules/yaml-unist-parser/lib/parse.js"(Y){L(),Y.__esModule=!0;var g=Dl(),W=Hf(),Ce=bl(),Le=zf(),ke=Yn(),tt=El(),Dt=Re(),$t=As(),ot=js(),vt=hi(),_t=rs(),jt=ro(),Lt=Il();function Jt(Wt){var Kt=Lt.parseCST(Wt);vt.addOrigRange(Kt);for(var bn=Kt.map(function(Rt){return new Lt.Document({merge:!1,keepCstNodes:!0}).parse(Rt)}),ye=new g.default(Wt),Z=[],O={text:Wt,locator:ye,comments:Z,transformOffset:function(Rt){return $t.transformOffset(Rt,O)},transformRange:function(Rt){return ot.transformRange(Rt,O)},transformNode:function(Rt){return ke.transformNode(Rt,O)},transformContent:function(Rt){return tt.transformContent(Rt,O)}},H=0,le=bn;H<le.length;H++)for(var Se=le[H],Be=0,Ee=Se.errors;Be<Ee.length;Be++){var je=Ee[Be];if(!(je instanceof Lt.YAMLSemanticError&&je.message==='Map keys must be unique; "<<" is repeated'))throw Dt.transformError(je,O)}bn.forEach(function(Rt){return Le.removeCstBlankLine(Rt.cstNode)});var xt=Ce.createRoot(O.transformRange({origStart:0,origEnd:O.text.length}),bn.map(O.transformNode),Z);return W.attachComments(xt),jt.updatePositions(xt),_t.removeFakeNodes(xt),xt}Y.parse=Jt}}),dp=c({"node_modules/yaml-unist-parser/lib/index.js"(Y){L(),Y.__esModule=!0;var g=(er(),ee(Fe));g.__exportStar(ia(),Y)}});L();var hp=he(),{hasPragma:wn}=Te(),{locStart:Ol,locEnd:mp}=Pe();function gp(Y){let{parse:g}=dp();try{let W=g(Y);return delete W.comments,W}catch(W){throw W!=null&&W.position?hp(W.message,W.position):W}}var jl={astFormat:"yaml",parse:gp,hasPragma:wn,locStart:Ol,locEnd:mp};s.exports={parsers:{yaml:jl}}});return r()})})(tg);var ng=tg.exports,Sv=Av(ng),wv=$s({__proto__:null,default:Sv},[ng]);function rg(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Mf(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function Fv(e){return rg(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}function $a(e){return typeof e=="boolean"}var qi;(function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.Deprecated=2]="Deprecated",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"})(qi||(qi={}));var ig;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[fs.Markdown,fs.PlainText],commitCharactersSupport:!0}}}}})(ig||(ig={}));var Nv=(e,t,...n)=>n.length===0?t:t.replace(/{(\d+)}/g,(r,[i])=>i in n?String(n[i]):r);function Va(){return Nv}var zs=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ro=Va();Ro("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),Ro("dateTimeFormatWarning","String is not a RFC3339 date-time."),Ro("dateFormatWarning","String is not a RFC3339 date."),Ro("timeFormatWarning","String is not a RFC3339 time."),Ro("emailFormatWarning","String is not an e-mail address.");var Xs=function(){function e(t,n,r){r===void 0&&(r=0),this.offset=n,this.length=r,this.parent=t}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();(function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="null",i.value=null,i}return t})(Xs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,i)||this;return s.type="boolean",s.value=r,s}return t}(Xs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="array",i.items=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Xs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}return t}(Xs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r,i)||this;return s.type="string",s.value="",s}return t}(Xs),function(e){zs(t,e);function t(n,r,i){var s=e.call(this,n,r)||this;return s.type="property",s.colonOffset=-1,s.keyNode=i,s}return Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Xs),function(e){zs(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.type="object",i.properties=[],i}return Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Xs);function _v(e){return $a(e)?e?{}:{not:{}}:e}var sg;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(sg||(sg={})),function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(t){},e.prototype.merge=function(t){},e.prototype.include=function(t){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}();function zu(e){return lb(e)}function Tv(e,t){if(typeof e!="string")throw new TypeError("Expected a string");for(var n=String(e),r="",i=t?!!t.extended:!1,s=t?!!t.globstar:!1,a=!1,o=t&&typeof t.flags=="string"?t.flags:"",u,l=0,b=n.length;l<b;l++)switch(u=n[l],u){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":r+="\\"+u;break;case"?":if(i){r+=".";break}case"[":case"]":if(i){r+=u;break}case"{":if(i){a=!0,r+="(";break}case"}":if(i){a=!1,r+=")";break}case",":if(a){r+="|";break}r+="\\"+u;break;case"*":for(var c=n[l-1],_=1;n[l+1]==="*";)_++,l++;var T=n[l+1];if(!s)r+=".*";else{var ee=_>1&&(c==="/"||c===void 0||c==="{"||c===",")&&(T==="/"||T===void 0||T===","||T==="}");ee?(T==="/"?l++:c==="/"&&r.endsWith("\\/")&&(r=r.substr(0,r.length-2)),r+="((?:[^/]*(?:/|$))*)"):r+="([^/]*)"}break;default:r+=u}return(!o||!~o.indexOf("g"))&&(r="^"+r+"$"),new RegExp(r,o)}var ks=Va(),Lv="!",kv="/",Pv=function(){function e(t,n){this.globWrappers=[];try{for(var r=0,i=t;r<i.length;r++){var s=i[r],a=s[0]!==Lv;a||(s=s.substring(1)),s.length>0&&(s[0]===kv&&(s=s.substring(1)),this.globWrappers.push({regexp:Tv("**/"+s,{extended:!0,globstar:!0}),include:a}))}this.uris=n}catch{this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(t){for(var n=!1,r=0,i=this.globWrappers;r<i.length;r++){var s=i[r],a=s.regexp,o=s.include;a.test(t)&&(n=o)}return n},e.prototype.getURIs=function(){return this.uris},e}(),Bv=function(){function e(t,n,r){this.service=t,this.url=n,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new Ui(r)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var t=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(n){return t.service.resolveSchemaContent(n,t.url,t.dependencies)})),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),Ui=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e}(),$o=function(){function e(t,n){n===void 0&&(n=[]),this.schema=t,this.errors=n}return e.prototype.getSection=function(t){var n=this.getSectionRecursive(t,this.schema);if(n)return _v(n)},e.prototype.getSectionRecursive=function(t,n){if(!n||typeof n=="boolean"||t.length===0)return n;var r=t.shift();if(n.properties&&typeof n.properties[r])return this.getSectionRecursive(t,n.properties[r]);if(n.patternProperties)for(var i=0,s=Object.keys(n.patternProperties);i<s.length;i++){var a=s[i],o=Fv(a);if(o.test(r))return this.getSectionRecursive(t,n.patternProperties[a])}else{if(typeof n.additionalProperties=="object")return this.getSectionRecursive(t,n.additionalProperties);if(r.match("[0-9]+")){if(Array.isArray(n.items)){var u=parseInt(r,10);if(!isNaN(u)&&n.items[u])return this.getSectionRecursive(t,n.items[u])}else if(n.items)return this.getSectionRecursive(t,n.items)}}},e}(),Mv=function(){function e(t,n,r){this.contextService=n,this.requestService=t,this.promiseConstructor=r||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(t){return Object.keys(this.registeredSchemasIds).filter(function(n){var r=vi.parse(n).scheme;return r!=="schemaservice"&&(!t||t(r))})},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(t){var n=this;this.cachedSchemaForResource=void 0;var r=!1;t=Ps(t);for(var i=[t],s=Object.keys(this.schemasById).map(function(l){return n.schemasById[l]});i.length;)for(var a=i.pop(),o=0;o<s.length;o++){var u=s[o];u&&(u.url===a||u.dependencies[a])&&(u.url!==a&&i.push(u.url),u.clearSchema(),s[o]=void 0,r=!0)}return r},e.prototype.setSchemaContributions=function(t){if(t.schemas){var n=t.schemas;for(var r in n){var i=Ps(r);this.contributionSchemas[i]=this.addSchemaHandle(i,n[r])}}if(Array.isArray(t.schemaAssociations))for(var s=t.schemaAssociations,a=0,o=s;a<o.length;a++){var u=o[a],l=u.uris.map(Ps),b=this.addFilePatternAssociation(u.pattern,l);this.contributionAssociations.push(b)}},e.prototype.addSchemaHandle=function(t,n){var r=new Bv(this,t,n);return this.schemasById[t]=r,r},e.prototype.getOrAddSchemaHandle=function(t,n){return this.schemasById[t]||this.addSchemaHandle(t,n)},e.prototype.addFilePatternAssociation=function(t,n){var r=new Pv(t,n);return this.filePatternAssociations.push(r),r},e.prototype.registerExternalSchema=function(t,n,r){var i=Ps(t);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,n&&this.addFilePatternAssociation(n,[t]),r?this.addSchemaHandle(i,r):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0;for(var t in this.contributionSchemas)this.schemasById[t]=this.contributionSchemas[t],this.registeredSchemasIds[t]=!0;for(var n=0,r=this.contributionAssociations;n<r.length;n++){var i=r[n];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(t){var n=Ps(t),r=this.schemasById[n];return r?r.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(t){if(!this.requestService){var n=ks("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Xu(t));return this.promise.resolve(new Ui({},[n]))}return this.requestService(t).then(function(r){if(!r){var i=ks("json.schema.nocontent","Unable to load schema from '{0}': No content.",Xu(t));return new Ui({},[i])}var s={},a=[];s=ub(r,a);var o=a.length?[ks("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Xu(t),a[0].offset)]:[];return new Ui(s,o)},function(r){var i=r.toString(),s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),Mf(i,".")&&(i=i.substr(0,i.length-1)),new Ui({},[ks("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Xu(t),i)])})},e.prototype.resolveSchemaContent=function(t,n,r){var i=this,s=t.errors.slice(0),a=t.schema;if(a.$schema){var o=Ps(a.$schema);if(o==="http://json-schema.org/draft-03/schema")return this.promise.resolve(new $o({},[ks("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));o==="https://json-schema.org/draft/2019-09/schema"&&s.push(ks("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var u=this.contextService,l=function(T,ee){if(!ee)return T;var X=T;return ee[0]==="/"&&(ee=ee.substr(1)),ee.split("/").some(function(L){return L=L.replace(/~1/g,"/").replace(/~0/g,"~"),X=X[L],!X}),X},b=function(T,ee,X,L){var he=L?decodeURIComponent(L):void 0,Te=l(ee,he);if(Te)for(var Pe in Te)Te.hasOwnProperty(Pe)&&!T.hasOwnProperty(Pe)&&(T[Pe]=Te[Pe]);else s.push(ks("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",he,X))},c=function(T,ee,X,L,he){u&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(ee)&&(ee=u.resolveRelativePath(ee,L)),ee=Ps(ee);var Te=i.getOrAddSchemaHandle(ee);return Te.getUnresolvedSchema().then(function(Pe){if(he[ee]=!0,Pe.errors.length){var Fe=X?ee+"#"+X:ee;s.push(ks("json.schema.problemloadingref","Problems loading reference '{0}': {1}",Fe,Pe.errors[0]))}return b(T,Pe.schema,ee,X),_(T,Pe.schema,ee,Te.dependencies)})},_=function(T,ee,X,L){if(!T||typeof T!="object")return Promise.resolve(null);for(var he=[T],Te=[],Pe=[],Fe=function(){for(var Ie=[],Qe=0;Qe<arguments.length;Qe++)Ie[Qe]=arguments[Qe];for(var Ke=0,Ve=Ie;Ke<Ve.length;Ke++){var ct=Ve[Ke];typeof ct=="object"&&he.push(ct)}},oe=function(){for(var Ie=[],Qe=0;Qe<arguments.length;Qe++)Ie[Qe]=arguments[Qe];for(var Ke=0,Ve=Ie;Ke<Ve.length;Ke++){var ct=Ve[Ke];if(typeof ct=="object")for(var Xe in ct){var kt=Xe,Bt=ct[kt];typeof Bt=="object"&&he.push(Bt)}}},ve=function(){for(var Ie=[],Qe=0;Qe<arguments.length;Qe++)Ie[Qe]=arguments[Qe];for(var Ke=0,Ve=Ie;Ke<Ve.length;Ke++){var ct=Ve[Ke];if(Array.isArray(ct))for(var Xe=0,kt=ct;Xe<kt.length;Xe++){var Bt=kt[Xe];typeof Bt=="object"&&he.push(Bt)}}},We=function(Ie){for(var Qe=[];Ie.$ref;){var Ke=Ie.$ref,Ve=Ke.split("#",2);if(delete Ie.$ref,Ve[0].length>0){Pe.push(c(Ie,Ve[0],Ve[1],X,L));return}else Qe.indexOf(Ke)===-1&&(b(Ie,ee,X,Ve[1]),Qe.push(Ke))}Fe(Ie.items,Ie.additionalItems,Ie.additionalProperties,Ie.not,Ie.contains,Ie.propertyNames,Ie.if,Ie.then,Ie.else),oe(Ie.definitions,Ie.properties,Ie.patternProperties,Ie.dependencies),ve(Ie.anyOf,Ie.allOf,Ie.oneOf,Ie.items)};he.length;){var ze=he.pop();Te.indexOf(ze)>=0||(Te.push(ze),We(ze))}return i.promise.all(Pe)};return _(a,a,n,r).then(function(T){return new $o(a,s)})},e.prototype.getSchemaForResource=function(t,n){if(n&&n.root&&n.root.type==="object"){var r=n.root.properties.filter(function(he){return he.keyNode.value==="$schema"&&he.valueNode&&he.valueNode.type==="string"});if(r.length>0){var i=r[0].valueNode;if(i&&i.type==="string"){var s=zu(i);if(s&&rg(s,".")&&this.contextService&&(s=this.contextService.resolveRelativePath(s,t)),s){var a=Ps(s);return this.getOrAddSchemaHandle(a).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===t)return this.cachedSchemaForResource.resolvedSchema;for(var o=Object.create(null),u=[],l=Ov(t),b=0,c=this.filePatternAssociations;b<c.length;b++){var _=c[b];if(_.matchesPattern(l))for(var T=0,ee=_.getURIs();T<ee.length;T++){var X=ee[T];o[X]||(u.push(X),o[X]=!0)}}var L=u.length>0?this.createCombinedSchema(t,u).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:t,resolvedSchema:L},L},e.prototype.createCombinedSchema=function(t,n){if(n.length===1)return this.getOrAddSchemaHandle(n[0]);var r="schemaservice://combinedSchema/"+encodeURIComponent(t),i={allOf:n.map(function(s){return{$ref:s}})};return this.addSchemaHandle(r,i)},e.prototype.getMatchingSchemas=function(t,n,r){if(r){var i=r.id||"schemaservice://untitled/matchingSchemas/"+Iv++;return this.resolveSchemaContent(new Ui(r),i,{}).then(function(s){return n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted})})}return this.getSchemaForResource(t.uri,n).then(function(s){return s?n.getMatchingSchemas(s.schema).filter(function(a){return!a.inverted}):[]})},e}(),Iv=0;function Ps(e){try{return vi.parse(e).toString()}catch{return e}}function Ov(e){try{return vi.parse(e).with({fragment:null,query:null}).toString()}catch{return e}}function Xu(e){try{var t=vi.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}function jv(e){return e.replace(/[-\\{}+?|^$.,[\]()#\s]/g,"\\$&").replace(/[*]/g,".*")}function Rv(e,t){if(e.length<t)return 0;for(let n=0;n<t;n++){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return t}function ag(e){try{return new RegExp(e,"u")}catch{return new RegExp(e)}}function $v(e,t){t++;for(let n=t;n<e.length;n++){const r=e.charAt(n);if(r===" "||r===" ")t++;else return t}return t}function Vo(e,t){if(e===t)return!0;if(e==null||t===null||t===void 0||typeof e!=typeof t||typeof e!="object"||Array.isArray(e)!==Array.isArray(t))return!1;let n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Vo(e[n],t[n]))return!1}else{const i=[];for(r in e)i.push(r);i.sort();const s=[];for(r in t)s.push(r);if(s.sort(),!Vo(i,s))return!1;for(n=0;n<i.length;n++)if(!Vo(e[i[n]],t[i[n]]))return!1}return!0}function Bi(e){return typeof e=="number"}function Qs(e){return typeof e<"u"}function qa(e){return typeof e=="boolean"}function Ua(e){return typeof e=="string"}function Vv(e){return Symbol.iterator in Object(e)}function ms(e){var t;return e?e instanceof Error&&(t=e.stack)!=null?t:e.toString():"null"}function If(e){const t=e.type&&e.closestTitle;return e.title?e.title:e.$id?og(e.$id):e.$ref||e._$ref?og(e.$ref||e._$ref):Array.isArray(e.type)?e.type.join(" | "):t?e.type.concat("(",e.closestTitle,")"):e.type||e.closestTitle}function og(e){const t=e.match(/^(?:.*\/)?(.*?)(?:\.schema\.json)?$/);let n=!!t&&t[1];return n||(n="typeNotFound",console.error(`$ref (${e}) not parsed properly`)),n}function ug(e,t){const n=vi.parse(t);let r=Hs.basename(n.fsPath);return Hs.extname(n.fsPath)||(r+=".json"),Object.getOwnPropertyDescriptor(e,"name")?Object.getOwnPropertyDescriptor(e,"name").value+` (${r})`:e.title?e.description?e.title+" - "+e.description+` (${r})`:e.title+` (${r})`:r}function qv(e){return e.type!=="object"&&!Of(e)}function Of(e){return!!(e.anyOf||e.allOf||e.oneOf)}var Uv=Va(),Wv=function(){function e(t,n){this.jsonSchemaService=t,this.promise=n,this.validationEnabled=!0}return e.prototype.configure=function(t){t&&(this.validationEnabled=t.validate!==!1,this.commentSeverity=t.allowComments?void 0:zn.Error)},e.prototype.doValidation=function(t,n,r,i){var s=this;if(!this.validationEnabled)return this.promise.resolve([]);var a=[],o={},u=function(c){var _=c.range.start.line+" "+c.range.start.character+" "+c.message;o[_]||(o[_]=!0,a.push(c))},l=function(c){var _=r!=null&&r.trailingCommas?Qu(r.trailingCommas):zn.Error,T=r!=null&&r.comments?Qu(r.comments):s.commentSeverity,ee=r!=null&&r.schemaValidation?Qu(r.schemaValidation):zn.Warning,X=r!=null&&r.schemaRequest?Qu(r.schemaRequest):zn.Warning;if(c){if(c.errors.length&&n.root&&X){var L=n.root,he=L.type==="object"?L.properties[0]:void 0;if(he&&he.keyNode.value==="$schema"){var Te=he.valueNode||he,Pe=On.create(t.positionAt(Te.offset),t.positionAt(Te.offset+Te.length));u(Ei.create(Pe,c.errors[0],X,qi.SchemaResolveError))}else{var Pe=On.create(t.positionAt(L.offset),t.positionAt(L.offset+1));u(Ei.create(Pe,c.errors[0],X,qi.SchemaResolveError))}}else if(ee){var Fe=n.validate(t,c.schema,ee);Fe&&Fe.forEach(u)}lg(c.schema)&&(T=void 0),cg(c.schema)&&(_=void 0)}for(var oe=0,ve=n.syntaxErrors;oe<ve.length;oe++){var We=ve[oe];if(We.code===qi.TrailingComma){if(typeof _!="number")continue;We.severity=_}u(We)}if(typeof T=="number"){var ze=Uv("InvalidCommentToken","Comments are not permitted in JSON.");n.comments.forEach(function(Ie){u(Ei.create(Ie,ze,T,qi.CommentNotPermitted))})}return a};if(i){var b=i.id||"schemaservice://untitled/"+Gv++;return this.jsonSchemaService.resolveSchemaContent(new Ui(i),b,{}).then(function(c){return l(c)})}return this.jsonSchemaService.getSchemaForResource(t.uri,n).then(function(c){return l(c)})},e}(),Gv=0;function lg(e){if(e&&typeof e=="object"){if($a(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=n[t],i=lg(r);if($a(i))return i}}}function cg(e){if(e&&typeof e=="object"){if($a(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if($a(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=r[n],s=cg(i);if($a(s))return s}}}function Qu(e){switch(e){case"error":return zn.Error;case"warning":return zn.Warning;case"ignore":return}}var fg=48,Jv=57,Yv=65,Ku=97,Hv=102;function jr(e){return e<fg?0:e<=Jv?e-fg:(e<Ku&&(e+=Ku-Yv),e>=Ku&&e<=Hv?e-Ku+10:0)}function zv(e){if(e[0]==="#")switch(e.length){case 4:return{red:jr(e.charCodeAt(1))*17/255,green:jr(e.charCodeAt(2))*17/255,blue:jr(e.charCodeAt(3))*17/255,alpha:1};case 5:return{red:jr(e.charCodeAt(1))*17/255,green:jr(e.charCodeAt(2))*17/255,blue:jr(e.charCodeAt(3))*17/255,alpha:jr(e.charCodeAt(4))*17/255};case 7:return{red:(jr(e.charCodeAt(1))*16+jr(e.charCodeAt(2)))/255,green:(jr(e.charCodeAt(3))*16+jr(e.charCodeAt(4)))/255,blue:(jr(e.charCodeAt(5))*16+jr(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(jr(e.charCodeAt(1))*16+jr(e.charCodeAt(2)))/255,green:(jr(e.charCodeAt(3))*16+jr(e.charCodeAt(4)))/255,blue:(jr(e.charCodeAt(5))*16+jr(e.charCodeAt(6)))/255,alpha:(jr(e.charCodeAt(7))*16+jr(e.charCodeAt(8)))/255}}}var Xv=function(){function e(t){this.schemaService=t}return e.prototype.findDocumentSymbols=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||Mf(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,b=s.items;l<b.length;l++){var c=b[l];if(c.type==="object")for(var _=0,T=c.properties;_<T.length;_++){var ee=T[_];if(ee.keyNode.value==="key"&&ee.valueNode){var X=Sa.create(t.uri,Bs(t,c));if(u.push({name:zu(ee.valueNode),kind:Qi.Function,location:X}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var L=[{node:s,containerName:""}],he=0,Te=!1,Pe=[],Fe=function(ve,We){ve.type==="array"?ve.items.forEach(function(ze){ze&&L.push({node:ze,containerName:We})}):ve.type==="object"&&ve.properties.forEach(function(ze){var Ie=ze.valueNode;if(Ie)if(a>0){a--;var Qe=Sa.create(t.uri,Bs(t,ze)),Ke=We?We+"."+ze.keyNode.value:ze.keyNode.value;Pe.push({name:i.getKeyLabel(ze),kind:i.getSymbolKind(Ie.type),location:Qe,containerName:We}),L.push({node:Ie,containerName:Ke})}else Te=!0})};he<L.length;){var oe=L[he++];Fe(oe.node,oe.containerName)}return Te&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),Pe},e.prototype.findDocumentSymbols2=function(t,n,r){var i=this;r===void 0&&(r={resultLimit:Number.MAX_VALUE});var s=n.root;if(!s)return[];var a=r.resultLimit||Number.MAX_VALUE,o=t.uri;if((o==="vscode://defaultsettings/keybindings.json"||Mf(o.toLowerCase(),"/user/keybindings.json"))&&s.type==="array"){for(var u=[],l=0,b=s.items;l<b.length;l++){var c=b[l];if(c.type==="object")for(var _=0,T=c.properties;_<T.length;_++){var ee=T[_];if(ee.keyNode.value==="key"&&ee.valueNode){var X=Bs(t,c),L=Bs(t,ee.keyNode);if(u.push({name:zu(ee.valueNode),kind:Qi.Function,range:X,selectionRange:L}),a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),u}}}return u}for(var he=[],Te=[{node:s,result:he}],Pe=0,Fe=!1,oe=function(We,ze){We.type==="array"?We.items.forEach(function(Ie,Qe){if(Ie)if(a>0){a--;var Ke=Bs(t,Ie),Ve=Ke,ct=String(Qe),Xe={name:ct,kind:i.getSymbolKind(Ie.type),range:Ke,selectionRange:Ve,children:[]};ze.push(Xe),Te.push({result:Xe.children,node:Ie})}else Fe=!0}):We.type==="object"&&We.properties.forEach(function(Ie){var Qe=Ie.valueNode;if(Qe)if(a>0){a--;var Ke=Bs(t,Ie),Ve=Bs(t,Ie.keyNode),ct=[],Xe={name:i.getKeyLabel(Ie),kind:i.getSymbolKind(Qe.type),range:Ke,selectionRange:Ve,children:ct,detail:i.getDetail(Qe)};ze.push(Xe),Te.push({result:ct,node:Qe})}else Fe=!0})};Pe<Te.length;){var ve=Te[Pe++];oe(ve.node,ve.result)}return Fe&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(o),he},e.prototype.getSymbolKind=function(t){switch(t){case"object":return Qi.Module;case"string":return Qi.String;case"number":return Qi.Number;case"array":return Qi.Array;case"boolean":return Qi.Boolean;default:return Qi.Variable}},e.prototype.getKeyLabel=function(t){var n=t.keyNode.value;return n&&(n=n.replace(/[\n]/g,"↵")),n&&n.trim()?n:'"'+n+'"'},e.prototype.getDetail=function(t){if(t){if(t.type==="boolean"||t.type==="number"||t.type==="null"||t.type==="string")return String(t.value);if(t.type==="array")return t.children.length?void 0:"[]";if(t.type==="object")return t.children.length?void 0:"{}"}},e.prototype.findDocumentColors=function(t,n,r){return this.schemaService.getSchemaForResource(t.uri,n).then(function(i){var s=[];if(i)for(var a=r&&typeof r.resultLimit=="number"?r.resultLimit:Number.MAX_VALUE,o=n.getMatchingSchemas(i.schema),u={},l=0,b=o;l<b.length;l++){var c=b[l];if(!c.inverted&&c.schema&&(c.schema.format==="color"||c.schema.format==="color-hex")&&c.node&&c.node.type==="string"){var _=String(c.node.offset);if(!u[_]){var T=zv(zu(c.node));if(T){var ee=Bs(t,c.node);s.push({color:T,range:ee})}if(u[_]=!0,a--,a<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(t.uri),s}}}return s})},e.prototype.getColorPresentations=function(t,n,r,i){var s=[],a=Math.round(r.red*255),o=Math.round(r.green*255),u=Math.round(r.blue*255);function l(c){var _=c.toString(16);return _.length!==2?"0"+_:_}var b;return r.alpha===1?b="#"+l(a)+l(o)+l(u):b="#"+l(a)+l(o)+l(u)+l(Math.round(r.alpha*255)),s.push({label:b,textEdit:Lr.replace(i,JSON.stringify(b))}),s},e}();function Bs(e,t){return On.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}function Qv(e,t){var n=[];return t.visit(function(r){var i;if(r.type==="property"&&r.keyNode.value==="$ref"&&((i=r.valueNode)===null||i===void 0?void 0:i.type)==="string"){var s=r.valueNode.value,a=Zv(t,s);if(a){var o=e.positionAt(a.offset);n.push({target:e.uri+"#"+(o.line+1)+","+(o.character+1),range:Kv(e,r.valueNode)})}}return!0}),Promise.resolve(n)}function Kv(e,t){return On.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function Zv(e,t){var n=e2(t);return n?jf(n,e.root):null}function jf(e,t){if(!t)return null;if(e.length===0)return t;var n=e.shift();if(t&&t.type==="object"){var r=t.properties.find(function(a){return a.keyNode.value===n});return r?jf(e,r.valueNode):null}else if(t&&t.type==="array"&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),s=t.items[i];return s?jf(e,s):null}return null}function e2(e){return e==="#"?[]:e[0]!=="#"||e[1]!=="/"?null:e.substring(2).split(/\//).map(t2)}function t2(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Zu(e,t){for(const n of t.documents)if(n.internalDocument&&n.internalDocument.range[0]<=e&&n.internalDocument.range[2]>=e)return n;return t.documents.length===1?t.documents[0]:null}function pg(e){const t=["mapping","scalar","sequence"];return e?e.filter(n=>{if(typeof n=="string"){const r=n.split(" "),i=r[1]&&r[1].toLowerCase()||"scalar";return i==="map"?!1:t.indexOf(i)!==-1}return!1}):[]}function dg(e,t){if(!t||!e||t.length!==e.length)return!1;for(let n=e.length-1;n>=0;n--)if(e[n]!==t[n])return!1;return!0}var nr=Va(),Rf="Property {0} is not allowed.",n2={"color-hex":{errorMessage:nr("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:nr("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:nr("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:nr("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:nr("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},ipv4:{errorMessage:nr("ipv4FormatWarning","String does not match IPv4 format."),pattern:/^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/},ipv6:{errorMessage:nr("ipv6FormatWarning","String does not match IPv6 format."),pattern:/^([0-9a-f]|:){1,4}(:([0-9a-f]{0,4})*){1,7}$/i}},el="YAML",hg="yaml-schema: ",oi;(function(e){e.missingRequiredPropWarning="missingRequiredPropWarning",e.typeMismatchWarning="typeMismatchWarning",e.constWarning="constWarning"})(oi||(oi={}));var r2={[oi.missingRequiredPropWarning]:'Missing property "{0}".',[oi.typeMismatchWarning]:'Incorrect type. Expected "{0}".',[oi.constWarning]:"Value must be {0}."},Ks=class{constructor(e,t,n,r){this.offset=n,this.length=r,this.parent=e,this.internalNode=t}getNodeFromOffsetEndInclusive(e){const t=[],n=a=>{if(e>=a.offset&&e<=a.offset+a.length){const o=a.children;for(let u=0;u<o.length&&o[u].offset<=e;u++){const l=n(o[u]);l&&t.push(l)}return a}return null},r=n(this);let i=Number.MAX_VALUE,s=null;for(const a of t){const o=a.length+a.offset-e+(e-a.offset);o<i&&(s=a,i=o)}return s||r}get children(){return[]}toString(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")}},i2=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="null",this.value=null}},s2=class extends Ks{constructor(e,t,n,r,i){super(e,t,r,i),this.type="boolean",this.value=n}},a2=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="array",this.items=[]}get children(){return this.items}},o2=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="number",this.isInteger=!0,this.value=Number.NaN}},tl=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="string",this.value=""}},u2=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="property",this.colonOffset=-1}get children(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]}},l2=class extends Ks{constructor(e,t,n,r){super(e,t,n,r),this.type="object",this.properties=[]}get children(){return this.properties}};function ui(e){if(e!==void 0)return qa(e)?e?{}:{not:{}}:(typeof e!="object"&&(console.warn(`Wrong schema: ${JSON.stringify(e)}, it MUST be an Object or Boolean`),e={type:e}),e)}var mg;(function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"})(mg||(mg={}));var c2=class v1{constructor(t=-1,n=null){this.focusOffset=t,this.exclude=n,this.schemas=[]}add(t){this.schemas.push(t)}merge(t){this.schemas.push(...t.schemas)}include(t){return(this.focusOffset===-1||gg(t,this.focusOffset))&&t!==this.exclude}newSub(){return new v1(-1,this.exclude)}},qo=class{constructor(){}get schemas(){return[]}add(e){}merge(e){}include(e){return!0}newSub(){return this}};qo.instance=new qo;var di=class{constructor(e){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,e?this.enumValues=[]:this.enumValues=null}hasProblems(){return!!this.problems.length}mergeAll(e){for(const t of e)this.merge(t)}merge(e){this.problems=this.problems.concat(e.problems)}mergeEnumValues(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(const t of this.problems)t.code===qi.EnumValueMismatch&&(t.message=nr("enumWarning","Value is not accepted. Valid values: {0}.",[...new Set(this.enumValues)].map(n=>JSON.stringify(n)).join(", ")))}}mergeWarningGeneric(e,t){var n,r,i;if((n=this.problems)!=null&&n.length)for(const s of t){const a=this.problems.filter(o=>o.problemType===s);for(const o of a){const u=(r=e.problems)==null?void 0:r.find(l=>l.problemType===s&&o.location.offset===l.location.offset&&(s!==oi.missingRequiredPropWarning||dg(l.problemArgs,o.problemArgs)));u&&((i=u.problemArgs)!=null&&i.length&&(u.problemArgs.filter(l=>!o.problemArgs.includes(l)).forEach(l=>o.problemArgs.push(l)),o.message=nl(o.problemType,o.problemArgs)),this.mergeSources(u,o))}}}mergePropertyMatch(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&this.primaryValueMatches++}mergeSources(e,t){const n=e.source.replace(hg,"");t.source.includes(n)||(t.source=t.source+" | "+n),t.schemaUri.includes(e.schemaUri[0])||(t.schemaUri=t.schemaUri.concat(e.schemaUri))}compareGeneric(e){const t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesMatches-e.propertiesMatches}compareKubernetes(e){const t=this.hasProblems();return this.propertiesMatches!==e.propertiesMatches?this.propertiesMatches-e.propertiesMatches:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:t!==e.hasProblems()?t?-1:1:this.propertiesMatches-e.propertiesMatches}};function Uo(e){switch(e.type){case"array":return e.children.map(Uo);case"object":{const t=Object.create(null);for(let n=0,r=e.children;n<r.length;n++){const i=r[n],s=i.children[1];s&&(t[i.children[0].value]=Uo(s))}return t}case"null":case"string":case"number":case"boolean":return e.value;default:return}}function gg(e,t,n=!1){return t>=e.offset&&t<=e.offset+e.length||n&&t===e.offset+e.length}function yg(e,t,n){if(n===void 0&&(n=!1),gg(e,t,n)){const r=e.children;if(Array.isArray(r))for(let i=0;i<r.length&&r[i].offset<=t;i++){const s=yg(r[i],t,n);if(s)return s}return e}}var f2=class{constructor(e,t=[],n=[]){this.root=e,this.syntaxErrors=t,this.comments=n}getNodeFromOffset(e,t=!1){if(this.root)return yg(this.root,e,t)}getNodeFromOffsetEndInclusive(e){return this.root&&this.root.getNodeFromOffsetEndInclusive(e)}visit(e){if(this.root){const t=n=>{let r=e(n);const i=n.children;if(Array.isArray(i))for(let s=0;s<i.length&&r;s++)r=t(i[s]);return r};t(this.root)}}validate(e,t){if(this.root&&t){const n=new di(this.isKubernetes);return zr(this.root,t,t,n,qo.instance,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri}),n.problems.map(r=>{const i=On.create(e.positionAt(r.location.offset),e.positionAt(r.location.offset+r.location.length)),s=Ei.create(i,r.message,r.severity,r.code?r.code:qi.Undefined,r.source);return s.data={schemaUri:r.schemaUri,...r.data},s})}return null}getMatchingSchemas(e,t=-1,n=null,r){const i=new c2(t,n);return this.root&&e&&zr(this.root,e,e,new di(this.isKubernetes),i,{isKubernetes:this.isKubernetes,disableAdditionalProperties:this.disableAdditionalProperties,uri:this.uri,callFromAutoComplete:r}),i.schemas}};function zr(e,t,n,r,i,s){const{isKubernetes:a,callFromAutoComplete:o}=s;if(!e||typeof t!="object")return;switch(t.url||(t.url=n.url),t.closestTitle=t.title||n.closestTitle,e.type){case"object":_(e,t,r,i);break;case"array":c(e,t,r,i);break;case"string":b(e,t,r);break;case"number":l(e,t,r);break;case"property":return zr(e.valueNode,t,t,r,i,s)}u(),i.add({node:e,schema:t});function u(){function X(oe){return e.type===oe||oe==="integer"&&e.type==="number"&&e.isInteger}if(Array.isArray(t.type))t.type.some(X)||r.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,message:t.errorMessage||nr("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", ")),source:gr(t,n),schemaUri:yr(t,n)});else if(t.type&&!X(t.type)){const oe=t.type==="object"?If(t):t.type;r.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,message:t.errorMessage||nl(oi.typeMismatchWarning,[oe]),source:gr(t,n),schemaUri:yr(t,n),problemType:oi.typeMismatchWarning,problemArgs:[oe]})}if(Array.isArray(t.allOf))for(const oe of t.allOf)zr(e,ui(oe),t,r,i,s);const L=ui(t.not);if(L){const oe=new di(a),ve=i.newSub();zr(e,L,t,oe,ve,s),oe.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,message:nr("notSchemaWarning","Matches a schema that is not allowed."),source:gr(t,n),schemaUri:yr(t,n)});for(const We of ve.schemas)We.inverted=!We.inverted,i.add(We)}const he=(oe,ve)=>{var We;const ze=[],Ie=[],Qe=[];let Ke=null;for(const Ve of oe){const ct={...ui(Ve)},Xe=new di(a),kt=i.newSub();zr(e,ct,t,Xe,kt,s),(!Xe.hasProblems()||o)&&(ze.push(ct),Ie.push(ct),Xe.propertiesMatches===0&&Qe.push(ct),ct.format&&Ie.pop()),Ke?a?Ke=T(Xe,Ke,ct,kt):Ke=ee(e,ve,Xe,Ke,ct,kt):Ke={schema:ct,validationResult:Xe,matchingSchemas:kt}}return Ie.length>1&&(Ie.length>1||Qe.length===0)&&ve&&r.problems.push({location:{offset:e.offset,length:1},severity:zn.Warning,message:nr("oneOfWarning","Matches multiple schemas when only one must validate."),source:gr(t,n),schemaUri:yr(t,n)}),Ke!==null&&(r.merge(Ke.validationResult),r.propertiesMatches+=Ke.validationResult.propertiesMatches,r.propertiesValueMatches+=Ke.validationResult.propertiesValueMatches,r.enumValueMatch=r.enumValueMatch||Ke.validationResult.enumValueMatch,(We=Ke.validationResult.enumValues)!=null&&We.length&&(r.enumValues=(r.enumValues||[]).concat(Ke.validationResult.enumValues)),i.merge(Ke.matchingSchemas)),ze.length};Array.isArray(t.anyOf)&&he(t.anyOf,!1),Array.isArray(t.oneOf)&&he(t.oneOf,!0);const Te=(oe,ve)=>{const We=new di(a),ze=i.newSub();zr(e,ui(oe),ve,We,ze,s),r.merge(We),r.propertiesMatches+=We.propertiesMatches,r.propertiesValueMatches+=We.propertiesValueMatches,i.merge(ze)},Pe=(oe,ve,We,ze)=>{const Ie=ui(oe),Qe=new di(a),Ke=i.newSub();zr(e,Ie,ve,Qe,Ke,s),i.merge(Ke);const{filePatternAssociation:Ve}=Ie;Ve&&(new P2(Ve).matchesPattern(s.uri)||Qe.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,message:nr("ifFilePatternAssociation",`filePatternAssociation '${Ve}' does not match with doc uri '${s.uri}'.`),source:gr(t,ve),schemaUri:yr(t,ve)})),Qe.hasProblems()?ze&&Te(ze,ve):We&&Te(We,ve)},Fe=ui(t.if);if(Fe&&Pe(Fe,t,ui(t.then),ui(t.else)),Array.isArray(t.enum)){const oe=Uo(e);let ve=!1;for(const We of t.enum)if(Vo(oe,We)||o&&Ua(oe)&&Ua(We)&&oe&&We.startsWith(oe)){ve=!0;break}r.enumValues=t.enum,r.enumValueMatch=ve,ve||r.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,code:qi.EnumValueMismatch,message:t.errorMessage||nr("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(We=>JSON.stringify(We)).join(", ")),source:gr(t,n),schemaUri:yr(t,n)})}if(Qs(t.const)){const oe=Uo(e);!Vo(oe,t.const)&&!(o&&Ua(oe)&&Ua(t.const)&&t.const.startsWith(oe))?(r.problems.push({location:{offset:e.offset,length:e.length},severity:zn.Warning,code:qi.EnumValueMismatch,problemType:oi.constWarning,message:t.errorMessage||nl(oi.constWarning,[JSON.stringify(t.const)]),source:gr(t,n),schemaUri:yr(t,n),problemArgs:[JSON.stringify(t.const)]}),r.enumValueMatch=!1):r.enumValueMatch=!0,r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:zn.Warning,message:t.deprecationMessage,source:gr(t,n),schemaUri:yr(t,n)})}function l(X,L,he){const Te=X.value;Bi(L.multipleOf)&&Te%L.multipleOf!==0&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("multipleOfWarning","Value is not divisible by {0}.",L.multipleOf),source:gr(L,n),schemaUri:yr(L,n)});function Pe(Ie,Qe){if(Bi(Qe))return Qe;if(qa(Qe)&&Qe)return Ie}function Fe(Ie,Qe){if(!qa(Qe)||!Qe)return Ie}const oe=Pe(L.minimum,L.exclusiveMinimum);Bi(oe)&&Te<=oe&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",oe),source:gr(L,n),schemaUri:yr(L,n)});const ve=Pe(L.maximum,L.exclusiveMaximum);Bi(ve)&&Te>=ve&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",ve),source:gr(L,n),schemaUri:yr(L,n)});const We=Fe(L.minimum,L.exclusiveMinimum);Bi(We)&&Te<We&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("minimumWarning","Value is below the minimum of {0}.",We),source:gr(L,n),schemaUri:yr(L,n)});const ze=Fe(L.maximum,L.exclusiveMaximum);Bi(ze)&&Te>ze&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("maximumWarning","Value is above the maximum of {0}.",ze),source:gr(L,n),schemaUri:yr(L,n)})}function b(X,L,he){if(Bi(L.minLength)&&X.value.length<L.minLength&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("minLengthWarning","String is shorter than the minimum length of {0}.",L.minLength),source:gr(L,n),schemaUri:yr(L,n)}),Bi(L.maxLength)&&X.value.length>L.maxLength&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("maxLengthWarning","String is longer than the maximum length of {0}.",L.maxLength),source:gr(L,n),schemaUri:yr(L,n)}),Ua(L.pattern)&&(ag(L.pattern).test(X.value)||he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:L.patternErrorMessage||L.errorMessage||nr("patternWarning",'String does not match the pattern of "{0}".',L.pattern),source:gr(L,n),schemaUri:yr(L,n)})),L.format)switch(L.format){case"uri":case"uri-reference":{let Te;if(!X.value)Te=nr("uriEmpty","URI expected.");else try{!vi.parse(X.value).scheme&&L.format==="uri"&&(Te=nr("uriSchemeMissing","URI with a scheme is expected."))}catch(Pe){Te=Pe.message}Te&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:L.patternErrorMessage||L.errorMessage||nr("uriFormatWarning","String is not a URI: {0}",Te),source:gr(L,n),schemaUri:yr(L,n)})}break;case"color-hex":case"date-time":case"date":case"time":case"email":case"ipv4":case"ipv6":{const Te=n2[L.format];(!X.value||!Te.pattern.test(X.value))&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:L.patternErrorMessage||L.errorMessage||Te.errorMessage,source:gr(L,n),schemaUri:yr(L,n)})}break}}function c(X,L,he,Te){if(Array.isArray(L.items)){const Fe=L.items;for(let oe=0;oe<Fe.length;oe++){const ve=Fe[oe],We=ui(ve),ze=new di(a),Ie=X.items[oe];Ie?(zr(Ie,We,L,ze,Te,s),he.mergePropertyMatch(ze),he.mergeEnumValues(ze)):X.items.length>=Fe.length&&he.propertiesValueMatches++}if(X.items.length>Fe.length)if(typeof L.additionalItems=="object")for(let oe=Fe.length;oe<X.items.length;oe++){const ve=new di(a);zr(X.items[oe],L.additionalItems,L,ve,Te,s),he.mergePropertyMatch(ve),he.mergeEnumValues(ve)}else L.additionalItems===!1&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",Fe.length),source:gr(L,n),schemaUri:yr(L,n)})}else{const Fe=ui(L.items);if(Fe){const oe=new di(a);X.items.forEach(ve=>{if(Fe.oneOf&&Fe.oneOf.length===1){const We=Fe.oneOf[0],ze={...ui(We)};ze.title=L.title,ze.closestTitle=L.closestTitle,zr(ve,ze,L,oe,Te,s),he.mergePropertyMatch(oe),he.mergeEnumValues(oe)}else zr(ve,Fe,L,oe,Te,s),he.mergePropertyMatch(oe),he.mergeEnumValues(oe)})}}const Pe=ui(L.contains);if(Pe&&(X.items.some(oe=>{const ve=new di(a);return zr(oe,Pe,L,ve,qo.instance,s),!ve.hasProblems()})||he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:L.errorMessage||nr("requiredItemMissingWarning","Array does not contain required item."),source:gr(L,n),schemaUri:yr(L,n)})),Bi(L.minItems)&&X.items.length<L.minItems&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("minItemsWarning","Array has too few items. Expected {0} or more.",L.minItems),source:gr(L,n),schemaUri:yr(L,n)}),Bi(L.maxItems)&&X.items.length>L.maxItems&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("maxItemsWarning","Array has too many items. Expected {0} or fewer.",L.maxItems),source:gr(L,n),schemaUri:yr(L,n)}),L.uniqueItems===!0){const Fe=Uo(X);Fe.some((ve,We)=>We!==Fe.lastIndexOf(ve))&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("uniqueItemsWarning","Array has duplicate items."),source:gr(L,n),schemaUri:yr(L,n)})}}function _(X,L,he,Te){var Pe;const Fe=Object.create(null),oe=[],ve=[...X.properties];for(;ve.length>0;){const Ie=ve.pop(),Qe=Ie.keyNode.value;if(Qe==="<<"&&Ie.valueNode)switch(Ie.valueNode.type){case"object":{ve.push(...Ie.valueNode.properties);break}case"array":{Ie.valueNode.items.forEach(Ke=>{Ke&&Vv(Ke.properties)&&ve.push(...Ke.properties)});break}}else Fe[Qe]=Ie.valueNode,oe.push(Qe)}if(Array.isArray(L.required)){for(const Ie of L.required)if(Fe[Ie]===void 0){const Qe=X.parent&&X.parent.type==="property"&&X.parent.keyNode,Ke=Qe?{offset:Qe.offset,length:Qe.length}:{offset:X.offset,length:1};he.problems.push({location:Ke,severity:zn.Warning,message:nl(oi.missingRequiredPropWarning,[Ie]),source:gr(L,n),schemaUri:yr(L,n),problemArgs:[Ie],problemType:oi.missingRequiredPropWarning})}}const We=Ie=>{let Qe=oe.indexOf(Ie);for(;Qe>=0;)oe.splice(Qe,1),Qe=oe.indexOf(Ie)};if(L.properties)for(const Ie of Object.keys(L.properties)){We(Ie);const Qe=L.properties[Ie],Ke=Fe[Ie];if(Ke)if(qa(Qe))if(Qe)he.propertiesMatches++,he.propertiesValueMatches++;else{const Ve=Ke.parent;he.problems.push({location:{offset:Ve.keyNode.offset,length:Ve.keyNode.length},severity:zn.Warning,message:L.errorMessage||nr("DisallowedExtraPropWarning",Rf,Ie),source:gr(L,n),schemaUri:yr(L,n)})}else{Qe.url=(Pe=L.url)!=null?Pe:n.url;const Ve=new di(a);zr(Ke,Qe,L,Ve,Te,s),he.mergePropertyMatch(Ve),he.mergeEnumValues(Ve)}}if(L.patternProperties)for(const Ie of Object.keys(L.patternProperties)){const Qe=ag(Ie);for(const Ke of oe.slice(0))if(Qe.test(Ke)){We(Ke);const Ve=Fe[Ke];if(Ve){const ct=L.patternProperties[Ie];if(qa(ct))if(ct)he.propertiesMatches++,he.propertiesValueMatches++;else{const Xe=Ve.parent;he.problems.push({location:{offset:Xe.keyNode.offset,length:Xe.keyNode.length},severity:zn.Warning,message:L.errorMessage||nr("DisallowedExtraPropWarning",Rf,Ke),source:gr(L,n),schemaUri:yr(L,n)})}else{const Xe=new di(a);zr(Ve,ct,L,Xe,Te,s),he.mergePropertyMatch(Xe),he.mergeEnumValues(Xe)}}}}if(typeof L.additionalProperties=="object")for(const Ie of oe){const Qe=Fe[Ie];if(Qe){const Ke=new di(a);zr(Qe,L.additionalProperties,L,Ke,Te,s),he.mergePropertyMatch(Ke),he.mergeEnumValues(Ke)}}else if((L.additionalProperties===!1||L.type==="object"&&L.additionalProperties===void 0&&s.disableAdditionalProperties===!0)&&oe.length>0){const Ie=L.properties&&Object.keys(L.properties).filter(Qe=>!Fe[Qe]);for(const Qe of oe){const Ke=Fe[Qe];if(Ke){let Ve=null;Ke.type!=="property"?(Ve=Ke.parent,Ve.type==="object"&&(Ve=Ve.properties[0])):Ve=Ke;const ct={location:{offset:Ve.keyNode.offset,length:Ve.keyNode.length},severity:zn.Warning,message:L.errorMessage||nr("DisallowedExtraPropWarning",Rf,Qe),source:gr(L,n),schemaUri:yr(L,n)};Ie!=null&&Ie.length&&(ct.data={properties:Ie}),he.problems.push(ct)}}}if(Bi(L.maxProperties)&&X.properties.length>L.maxProperties&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("MaxPropWarning","Object has more properties than limit of {0}.",L.maxProperties),source:gr(L,n),schemaUri:yr(L,n)}),Bi(L.minProperties)&&X.properties.length<L.minProperties&&he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("MinPropWarning","Object has fewer properties than the required number of {0}",L.minProperties),source:gr(L,n),schemaUri:yr(L,n)}),L.dependencies){for(const Ie of Object.keys(L.dependencies))if(Fe[Ie]){const Ke=L.dependencies[Ie];if(Array.isArray(Ke))for(const Ve of Ke)Fe[Ve]?he.propertiesValueMatches++:he.problems.push({location:{offset:X.offset,length:X.length},severity:zn.Warning,message:nr("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",Ve,Ie),source:gr(L,n),schemaUri:yr(L,n)});else{const Ve=ui(Ke);if(Ve){const ct=new di(a);zr(X,Ve,L,ct,Te,s),he.mergePropertyMatch(ct),he.mergeEnumValues(ct)}}}}const ze=ui(L.propertyNames);if(ze)for(const Ie of X.properties){const Qe=Ie.keyNode;Qe&&zr(Qe,ze,L,he,qo.instance,s)}}function T(X,L,he,Te){const Pe=X.compareKubernetes(L.validationResult);return Pe>0?L={schema:he,validationResult:X,matchingSchemas:Te}:Pe===0&&(L.matchingSchemas.merge(Te),L.validationResult.mergeEnumValues(X)),L}function ee(X,L,he,Te,Pe,Fe){if(!L&&!he.hasProblems()&&(!Te.validationResult.hasProblems()||o))Te.matchingSchemas.merge(Fe),Te.validationResult.propertiesMatches+=he.propertiesMatches,Te.validationResult.propertiesValueMatches+=he.propertiesValueMatches;else{const oe=he.compareGeneric(Te.validationResult);oe>0||oe===0&&L&&Te.schema.type==="object"&&X.type!=="null"&&X.type!==Te.schema.type?Te={schema:Pe,validationResult:he,matchingSchemas:Fe}:oe===0&&(Te.matchingSchemas.merge(Fe),Te.validationResult.mergeEnumValues(he),Te.validationResult.mergeWarningGeneric(he,[oi.missingRequiredPropWarning,oi.typeMismatchWarning,oi.constWarning]))}return Te}}function gr(e,t){var n;if(e){let r;if(e.title)r=e.title;else if(e.closestTitle)r=e.closestTitle;else if(t.closestTitle)r=t.closestTitle;else{const i=(n=e.url)!=null?n:t.url;if(i){const s=vi.parse(i);s.scheme==="file"&&(r=s.fsPath),r=s.toString()}}if(r)return`${hg}${r}`}return el}function yr(e,t){var n;const r=(n=e.url)!=null?n:t.url;return r?[r]:[]}function nl(e,t){return nr(e,r2[e],t.join(" | "))}var p2=1e3,$f=0,Vf=new Set;function Wa(e,t,n,r){if(e||($f=0),!t)return null;if(Ir(t))return d2(t,e,n,r);if(hr(t))return h2(t,e,n,r);if(Or(t))return m2(t,e,n,r);if(Un(t))return g2(t,e);if(Ki(t)&&!Vf.has(t)&&$f<p2){Vf.add(t);const i=y2(t,e,n,r);return Vf.delete(t),i}else return}function d2(e,t,n,r){let i;e.flow&&!e.range?i=D2(e):i=e.range;const s=new l2(t,e,...Dg(i,r));for(const a of e.items)hr(a)&&s.properties.push(Wa(s,a,n,r));return s}function h2(e,t,n,r){const i=e.key,s=e.value,a=i.range[0];let o=i.range[1],u=i.range[2];s&&(o=s.range[1],u=s.range[2]);const l=new u2(t,e,...Dg([a,o,u],r));if(Ki(i)){const b=new tl(t,i,...Ms(i.range));b.value=i.source,l.keyNode=b}else l.keyNode=Wa(l,i,n,r);return l.valueNode=Wa(l,s,n,r),l}function m2(e,t,n,r){const i=new a2(t,e,...Ms(e.range));for(const s of e.items)if(mr(s)){const a=Wa(i,s,n,r);a&&i.children.push(a)}return i}function g2(e,t){if(e.value===null)return new i2(t,e,...Ms(e.range));switch(typeof e.value){case"string":{const n=new tl(t,e,...Ms(e.range));return n.value=e.value,n}case"boolean":return new s2(t,e,e.value,...Ms(e.range));case"number":{const n=new o2(t,e,...Ms(e.range));return n.value=e.value,n.isInteger=Number.isInteger(n.value),n}default:{const n=new tl(t,e,...Ms(e.range));return n.value=e.source,n}}}function y2(e,t,n,r){$f++;const i=e.resolve(n);if(i)return Wa(t,i,n,r);{const s=new tl(t,e,...Ms(e.range));return s.value=e.source,s}}function Ms(e){return[e[0],e[1]-e[0]]}function Dg(e,t){const n=t.linePos(e[0]),r=t.linePos(e[1]),i=[e[0],e[1]-e[0]];return n.line!==r.line&&(t.lineStarts.length!==r.line||r.col===1)&&i[1]--,i}function D2(e){let t=Number.MAX_SAFE_INTEGER,n=0;for(const r of e.items)hr(r)&&(mr(r.key)&&r.key.range&&r.key.range[0]<=t&&(t=r.key.range[0]),mr(r.value)&&r.value.range&&r.value.range[2]>=n&&(n=r.value.range[2]));return[t,n,n]}function b2(e,t){let n;if(Nr(e,(r,i,s)=>{if(i===t)return n=s[s.length-1],Nr.BREAK}),!No(n))return n}function v2(e){if(e.items.length>1)return!1;const t=e.items[0];return Un(t.key)&&Un(t.value)&&t.key.value===""&&!t.value.value}function E2(e,t){for(const[n,r]of e.items.entries())if(t===r)return n}function A2(e,t){let n=!1;for(const r of e){if(r.type==="document")qf([],r,i=>{var s;if(bg(i)&&((s=i.value)==null?void 0:s.type)==="comment"){if(r.offset<=t&&i.value.source.length+i.value.offset>=t)return n=!0,Nr.BREAK}else if(i.type==="comment"&&i.offset<=t&&i.offset+i.source.length>=t)return n=!0,Nr.BREAK});else if(r.type==="comment"&&r.offset<=t&&r.source.length+r.offset>=t)return!0;if(n)break}return n}function bg(e){return e.start!==void 0}function qf(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const s of["key","value"]){const a=t[s];if(a&&"items"in a){for(let o=0;o<a.items.length;++o){const u=qf(Object.freeze(e.concat([[s,o]])),a.items[o],n);if(typeof u=="number")o=u-1;else{if(u===Nr.BREAK)return Nr.BREAK;u===Nr.REMOVE&&(a.items.splice(o,1),o-=1)}}typeof r=="function"&&s==="key"&&(r=r(t,e))}}const i=t.sep;if(i)for(let s=0;s<i.length;++s){const a=qf(Object.freeze(e),i[s],n);if(typeof a=="number")s=a-1;else{if(a===Nr.BREAK)return Nr.BREAK;a===Nr.REMOVE&&(i.items.splice(s,1),s-=1)}}return typeof r=="function"?r(t,e):r}var vg=class E1 extends f2{constructor(t){super(null,[]),this.lineCounter=t}clone(){const t=new E1(this.lineCounter);return t.isKubernetes=this.isKubernetes,t.disableAdditionalProperties=this.disableAdditionalProperties,t.uri=this.uri,t.currentDocIndex=this.currentDocIndex,t._lineComments=this.lineComments.slice(),t.internalDocument=this._internalDocument.clone(),t}collectLineComments(){this._lineComments=[],this._internalDocument.commentBefore&&this._internalDocument.commentBefore.split(`
415
+ `).forEach(n=>this._lineComments.push(`#${n}`)),Nr(this.internalDocument,(t,n)=>{n!=null&&n.commentBefore&&(n==null?void 0:n.commentBefore.split(`
416
+ `)).forEach(i=>this._lineComments.push(`#${i}`)),n!=null&&n.comment&&this._lineComments.push(`#${n.comment}`)}),this._internalDocument.comment&&this._lineComments.push(`#${this._internalDocument.comment}`)}updateFromInternalDocument(){this.root=Wa(null,this._internalDocument.contents,this._internalDocument,this.lineCounter)}set internalDocument(t){this._internalDocument=t,this.updateFromInternalDocument()}get internalDocument(){return this._internalDocument}get lineComments(){return this._lineComments||this.collectLineComments(),this._lineComments}set lineComments(t){this._lineComments=t}get errors(){return this.internalDocument.errors.map(Ag)}get warnings(){return this.internalDocument.warnings.map(Ag)}getNodeFromPosition(t,n,r){const i=n.getPosition(t),s=n.getLineContent(i.line);if(s.trim().length===0)return[this.findClosestNode(t,n,r),!0];const o=s.substring(i.character).match(/^([ ]+)\n?$/),u=!!o,l=o==null?void 0:o[1].length;let b;return Nr(this.internalDocument,(c,_)=>{if(!_)return;const T=_.range;if(!T)return;const ee=()=>u&&t+l===T[2]&&Un(_)&&_.value===null;if(T[0]<=t&&T[1]>=t||ee())b=_;else return Nr.SKIP}),[b,!1]}findClosestNode(t,n,r){let i=this.internalDocument.range[2],s=this.internalDocument.range[0],a;Nr(this.internalDocument,(b,c)=>{if(!c)return;const _=c.range;if(!_)return;const T=_[1]-t;s<=_[0]&&T<=0&&Math.abs(T)<=i&&(i=Math.abs(T),s=_[0],a=c)});const o=n.getPosition(t),u=n.getLineContent(o.line),l=Rv(u,o.character);return Un(a)&&a.value===null||l===o.character&&(a=this.getProperParentByIndentation(l,a,n,"",r)),a}getProperParentByIndentation(t,n,r,i,s,a){if(!n)return this.internalDocument.contents;if(s=s||2,mr(n)&&n.range){const o=r.getPosition(n.range[0]),u=r.getLineContent(o.line);if(i=i===""?u.trim():i,i.startsWith("-")&&t===s&&i===u.trim()&&(o.character+=t),o.character>t&&o.character>0){const l=this.getParent(n);if(l)return this.getProperParentByIndentation(t,l,r,i,s,a)}else if(o.character<t){const l=this.getParent(n);if(hr(l)&&mr(l.value))return l.value;if(hr(a)&&mr(a.value))return a.value}else return n}else if(hr(n)){a=n;const o=this.getParent(n);return this.getProperParentByIndentation(t,o,r,i,s,a)}return n}getParent(t){return b2(this.internalDocument,t)}},Eg=class{constructor(e,t){this.documents=e,this.tokens=t,this.errors=[],this.warnings=[]}},C2=class{constructor(){this.cache=new Map}getYamlDocument(e,t,n=!1){return this.ensureCache(e,t??rl,n),this.cache.get(e.uri).document}clear(){this.cache.clear()}ensureCache(e,t,n){const r=e.uri;this.cache.has(r)||this.cache.set(r,{version:-1,document:new Eg([],[]),parserOptions:rl});const i=this.cache.get(r);if(i.version!==e.version||t.customTags&&!dg(i.parserOptions.customTags,t.customTags)){let s=e.getText();n&&!/\S/.test(s)&&(s=`{${s}}`);const a=F2(s,t,e);i.document=a,i.version=e.version,i.parserOptions=t}}},Wi=new C2;function Ag(e){return{message:e.message,location:{start:e.pos[0],end:e.pos[1],toLineEnd:!0},severity:1,code:qi.Undefined}}var x2=class{constructor(e,t){this.tag=e,this.type=t}get collection(){if(this.type==="mapping")return"map";if(this.type==="sequence")return"seq"}resolve(e){if(Ir(e)&&this.type==="mapping"||Or(e)&&this.type==="sequence"||typeof e=="string"&&this.type==="scalar")return e}},S2=class{constructor(){this.tag="!include",this.type="scalar"}resolve(e,t){if(e&&e.length>0&&e.trim())return e;t("!include without value")}};function w2(e){const t=[],n=pg(e);for(const r of n){const i=r.split(" "),s=i[0],a=i[1]&&i[1].toLowerCase()||"scalar";t.push(new x2(s,a))}return t.push(new S2),t}var Zs=class{constructor(e){this.doc=e}getLineCount(){return this.doc.lineCount}getLineLength(e){const t=this.doc.getLineOffsets();return e>=t.length?this.doc.getText().length:e<0?0:(e+1<t.length?t[e+1]:this.doc.getText().length)-t[e]}getLineContent(e){const t=this.doc.getLineOffsets();if(e>=t.length)return this.doc.getText();if(e<0)return"";const n=e+1<t.length?t[e+1]:this.doc.getText().length;return this.doc.getText().substring(t[e],n)}getLineCharCode(e,t){return this.doc.getText(On.create(e-1,t,e-1,t+1)).charCodeAt(0)}getText(e){return this.doc.getText(e)}getPosition(e){return this.doc.positionAt(e)}},rl={customTags:[],yamlVersion:"1.2"};function F2(e,t=rl,n){var r;const i={strict:!1,customTags:w2(t.customTags),version:(r=t.yamlVersion)!=null?r:rl.yamlVersion,keepSourceTokens:!0},s=new $m(i),a=new Hm;let o=!1;if(n){const T=new Zs(n),ee=T.getPosition(e.length);o=T.getLineContent(ee.line).trim().length===0}const l=(o?new Bf:new Bf(a.addNewLine)).parse(e),b=Array.from(l),c=s.compose(b,!0,e.length),_=Array.from(c,T=>N2(T,a));return new Eg(_,b)}function N2(e,t){const n=new vg(t);return n.internalDocument=e,n}function _2(e){if(e instanceof vg){const t=e.lineComments.find(n=>Uf(n));if(t!=null){const n=t.match(/\$schema=\S+/g);if(n!==null&&n.length>=1)return n.length>=2&&console.log("Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked."),n[0].substring(8)}}}function Uf(e){const t=e.match(/^#\s+yaml-language-server\s*:/g);return t!==null&&t.length===1}var T2=class{compile(){return()=>!0}},il=Va(),L2=new T2,k2=void 0,Cg=L2.compile(k2),xg;(function(e){e[e.delete=0]="delete",e[e.add=1]="add",e[e.deleteAll=2]="deleteAll"})(xg||(xg={}));var P2=class{constructor(e){try{this.patternRegExp=new RegExp(jv(e)+"$")}catch{this.patternRegExp=null}this.schemas=[]}addSchema(e){this.schemas.push(e)}matchesPattern(e){return this.patternRegExp&&this.patternRegExp.test(e)}getSchemas(){return this.schemas}},B2=class extends Mv{constructor(e,t,n){super(e,t,n),this.schemaUriToNameAndDescription=new Map,this.customSchemaProvider=void 0,this.requestService=e,this.schemaPriorityMapping=new Map}registerCustomSchemaProvider(e){this.customSchemaProvider=e}getAllSchemas(){const e=[],t=new Set;for(const n of this.filePatternAssociations){const r=n.uris[0];if(t.has(r))continue;t.add(r);const i={uri:r,fromStore:!1,usedForCurrentFile:!1};if(this.schemaUriToNameAndDescription.has(r)){const{name:s,description:a,versions:o}=this.schemaUriToNameAndDescription.get(r);i.name=s,i.description=a,i.fromStore=!0,i.versions=o}e.push(i)}return e}async resolveSchemaContent(e,t,n){const r=e.errors.slice(0);let i=e.schema;const s=this.contextService;if(!Cg(i)){const b=[];for(const c of Cg.errors)b.push(`${c.instancePath} : ${c.message}`);r.push(`Schema '${ug(e.schema,t)}' is not valid:
417
+ ${b.join(`
418
+ `)}`)}const a=(b,c)=>{if(!c)return b;let _=b;return c[0]==="/"&&(c=c.substr(1)),c.split("/").some(T=>(_=_[T],!_)),_},o=(b,c,_,T)=>{const ee=a(c,T);if(ee)for(const X in ee)Object.prototype.hasOwnProperty.call(ee,X)&&!Object.prototype.hasOwnProperty.call(b,X)&&(b[X]=ee[X]);else r.push(il("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",T,_))},u=(b,c,_,T,ee)=>{s&&!/^\w+:\/\/.*/.test(c)&&(c=s.resolveRelativePath(c,T)),c=this.normalizeId(c);const X=this.getOrAddSchemaHandle(c);return X.getUnresolvedSchema().then(L=>{if(ee[c]=!0,L.errors.length){const he=_?c+"#"+_:c;r.push(il("json.schema.problemloadingref","Problems loading reference '{0}': {1}",he,L.errors[0]))}return o(b,L.schema,c,_),b.url=c,l(b,L.schema,c,X.dependencies)})},l=async(b,c,_,T)=>{if(!b||typeof b!="object")return null;const ee=[b],X=new Set,L=[],he=(...oe)=>{for(const ve of oe)typeof ve=="object"&&ee.push(ve)},Te=(...oe)=>{for(const ve of oe)if(typeof ve=="object")for(const We in ve){const ze=ve[We];typeof ze=="object"&&ee.push(ze)}},Pe=(...oe)=>{for(const ve of oe)if(Array.isArray(ve))for(const We of ve)typeof We=="object"&&ee.push(We)},Fe=oe=>{const ve=new Set;for(;oe.$ref;){const We=oe.$ref,ze=We.split("#",2);if(oe._$ref=oe.$ref,delete oe.$ref,ze[0].length>0){L.push(u(oe,ze[0],ze[1],_,T));return}else ve.has(We)||(o(oe,c,_,ze[1]),ve.add(We))}he(oe.items,oe.additionalItems,oe.additionalProperties,oe.not,oe.contains,oe.propertyNames,oe.if,oe.then,oe.else),Te(oe.definitions,oe.properties,oe.patternProperties,oe.dependencies),Pe(oe.anyOf,oe.allOf,oe.oneOf,oe.items,oe.schemaSequence)};if(_.indexOf("#")>0){const oe=_.split("#",2);if(oe[0].length>0&&oe[1].length>0){const ve={};await u(ve,oe[0],oe[1],_,T);for(const We in i)We!=="required"&&Object.prototype.hasOwnProperty.call(i,We)&&!Object.prototype.hasOwnProperty.call(ve,We)&&(ve[We]=i[We]);i=ve}}for(;ee.length;){const oe=ee.pop();X.has(oe)||(X.add(oe),Fe(oe))}return Promise.all(L)};return await l(i,i,t,n),new $o(i,r)}getSchemaForResource(e,t){const n=()=>{let a=_2(t);if(a!==void 0){if(!a.startsWith("file:")&&!a.startsWith("http")){let o="";if(a.indexOf("#")>0){const u=a.split("#",2);a=u[0],o=u[1]}if(Hs.isAbsolute(a))a=vi.file(a).toString();else{const u=vi.parse(e);a=vi.file(Hs.resolve(Hs.parse(u.fsPath).dir,a)).toString()}o.length>0&&(a+="#"+o)}return a}},r=a=>{const o=super.createCombinedSchema(e,a);return o.getResolvedSchema().then(u=>(u.schema&&typeof u.schema=="object"&&(u.schema.url=o.url),u.schema&&u.schema.schemaSequence&&u.schema.schemaSequence[t.currentDocIndex]?new $o(u.schema.schemaSequence[t.currentDocIndex]):u))},i=()=>{const a=Object.create(null),o=[];for(const u of this.filePatternAssociations)if(u.matchesPattern(e))for(const l of u.getURIs())a[l]||(o.push(l),a[l]=!0);if(o.length>0){const u=this.highestPrioritySchemas(o);return r(u)}return Promise.resolve(null)},s=n();return s?r([s]):this.customSchemaProvider?this.customSchemaProvider(e).then(a=>Array.isArray(a)?a.length===0?i():Promise.all(a.map(o=>this.resolveCustomSchema(o,t))).then(o=>({errors:[],schema:{allOf:o.map(u=>u.schema)}}),()=>i()):a?this.resolveCustomSchema(a,t):i()).then(a=>a,()=>i()):i()}addSchemaPriority(e,t){let n=this.schemaPriorityMapping.get(e);n?(n=n.add(t),this.schemaPriorityMapping.set(e,n)):this.schemaPriorityMapping.set(e,new Set().add(t))}highestPrioritySchemas(e){let t=0;const n=new Map;return e.forEach(r=>{(this.schemaPriorityMapping.get(r)||[0]).forEach(s=>{s>t&&(t=s);let a=n.get(s);a?(a=a.concat(r),n.set(s,a)):n.set(s,[r])})}),n.get(t)||[]}async resolveCustomSchema(e,t){const n=await this.loadSchema(e),r=await this.resolveSchemaContent(n,e,[]);return r.schema&&typeof r.schema=="object"&&(r.schema.url=e),r.schema&&r.schema.schemaSequence&&r.schema.schemaSequence[t.currentDocIndex]?new $o(r.schema.schemaSequence[t.currentDocIndex],r.errors):r}async saveSchema(e,t){const n=this.normalizeId(e);return this.getOrAddSchemaHandle(n,t),this.schemaPriorityMapping.set(n,new Set().add(Gf.Settings)),Promise.resolve(void 0)}async deleteSchemas(e){return e.schemas.forEach(t=>{this.deleteSchema(t)}),Promise.resolve(void 0)}async deleteSchema(e){const t=this.normalizeId(e);return this.schemasById[t]&&delete this.schemasById[t],this.schemaPriorityMapping.delete(t),Promise.resolve(void 0)}async addContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&(n[e.key]=e.content),await this.saveSchema(e.schema,t.schema)}}async deleteContent(e){const t=await this.getResolvedSchema(e.schema);if(t){const n=this.resolveJSONSchemaToSection(t.schema,e.path);typeof n=="object"&&delete n[e.key],await this.saveSchema(e.schema,t.schema)}}resolveJSONSchemaToSection(e,t){const n=t.split("/");let r=e;for(const i of n)i!==""&&(this.resolveNext(r,i),r=r[i]);return r}resolveNext(e,t){if(Array.isArray(e)&&isNaN(t))throw new Error("Expected a number after the array object");if(typeof e=="object"&&typeof t!="string")throw new Error("Expected a string after the object")}normalizeId(e){try{return vi.parse(e).toString()}catch{return e}}getOrAddSchemaHandle(e,t){return super.getOrAddSchemaHandle(e,t)}loadSchema(e){const t=this.requestService;return super.loadSchema(e).then(n=>{if(n.errors&&n.schema===void 0)return t(e).then(r=>{if(!r){const i=il("json.schema.nocontent","Unable to load schema from '{0}': No content. {1}",Sg(e),n.errors);return new Ui({},[i])}try{const i=vv(r);return new Ui(i,[])}catch(i){const s=il("json.schema.invalidFormat","Unable to parse content from '{0}': {1}.",Sg(e),i);return new Ui({},[s])}},r=>{let i=r.toString();const s=r.toString().split("Error: ");return s.length>1&&(i=s[1]),new Ui({},[i])});if(n.uri=e,this.schemaUriToNameAndDescription.has(e)){const{name:r,description:i,versions:s}=this.schemaUriToNameAndDescription.get(e);n.schema.title=r??n.schema.title,n.schema.description=i??n.schema.description,n.schema.versions=s??n.schema.versions}return n})}registerExternalSchema(e,t,n,r,i,s){return(r||i)&&this.schemaUriToNameAndDescription.set(e,{name:r,description:i,versions:s}),super.registerExternalSchema(e,t,n)}clearExternalSchemas(){super.clearExternalSchemas()}setSchemaContributions(e){super.setSchemaContributions(e)}getRegisteredSchemaIds(e){return super.getRegisteredSchemaIds(e)}getResolvedSchema(e){return super.getResolvedSchema(e)}onResourceChange(e){return super.onResourceChange(e)}};function Sg(e){try{const t=vi.parse(e);if(t.scheme==="file")return t.fsPath}catch{}return e}var M2=class{constructor(e,t){this.telemetry=t,this.jsonDocumentSymbols=new Xv(e),this.jsonDocumentSymbols.getKeyLabel=n=>{const r=n.keyNode.internalNode;let i="";return Ir(r)?i="{}":Or(r)?i="[]":i=r.source,i}}findDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Wi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.documentSymbols.error",{error:ms(i)})}return r}findHierarchicalDocumentSymbols(e,t={resultLimit:Number.MAX_VALUE}){var n;let r=[];try{const i=Wi.getYamlDocument(e);if(!i||i.documents.length===0)return null;for(const s of i.documents)s.root&&(r=r.concat(this.jsonDocumentSymbols.findDocumentSymbols2(e,s,t)))}catch(i){(n=this.telemetry)==null||n.sendError("yaml.hierarchicalDocumentSymbols.error",{error:ms(i)})}return r}};function wg(e,t){for(const n of e)n.isKubernetes=t}var I2=class{constructor(e,t){this.telemetry=t,this.shouldHover=!0,this.schemaService=e}configure(e){e&&(this.shouldHover=e.hover,this.indentation=e.indentation)}doHover(e,t,n=!1){var r;try{if(!this.shouldHover||!e)return Promise.resolve(void 0);const i=Wi.getYamlDocument(e),s=e.offsetAt(t),a=Zu(s,i);if(a===null)return Promise.resolve(void 0);wg(i.documents,n);const o=i.documents.indexOf(a);return a.currentDocIndex=o,this.getHover(e,t,a)}catch(i){(r=this.telemetry)==null||r.sendError("yaml.hover.error",{error:ms(i)})}}getHover(e,t,n){const r=e.offsetAt(t);let i=n.getNodeFromOffset(r);if(!i||(i.type==="object"||i.type==="array")&&r>i.offset+1&&r<i.offset+i.length-1)return Promise.resolve(null);const s=i;if(i.type==="string"){const l=i.parent;if(l&&l.type==="property"&&l.keyNode===i&&(i=l.valueNode,!i))return Promise.resolve(null)}const a=On.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length)),o=l=>({contents:{kind:fs.Markdown,value:l},range:a}),u=l=>l.replace(/\|\|\s*$/,"");return this.schemaService.getSchemaForResource(e.uri,n).then(l=>{if(l&&i&&!l.errors.length){const b=n.getMatchingSchemas(l.schema,i.offset);let c,_,T=[];const ee=[],X=[];b.every(he=>((he.node===i||i.type==="property"&&i.valueNode===he.node)&&!he.inverted&&he.schema&&(c=c||he.schema.title||he.schema.closestTitle,_=_||he.schema.markdownDescription||this.toMarkdown(he.schema.description),he.schema.enum&&(he.schema.markdownEnumDescriptions?T=he.schema.markdownEnumDescriptions:he.schema.enumDescriptions?T=he.schema.enumDescriptions.map(this.toMarkdown,this):T=[],he.schema.enum.forEach((Te,Pe)=>{typeof Te!="string"&&(Te=JSON.stringify(Te)),X.push({value:Te,description:T[Pe]})})),he.schema.anyOf&&j2(i,b,he.schema)&&(c="",_="",he.schema.anyOf.forEach((Te,Pe)=>{c+=Te.title||he.schema.closestTitle||"",_+=Te.markdownDescription||this.toMarkdown(Te.description)||"",Pe!==he.schema.anyOf.length-1&&(c+=" || ",_+=" || ")}),c=u(c),_=u(_)),he.schema.examples&&he.schema.examples.forEach(Te=>{ee.push(Ev(Te,null,2))})),!0));let L="";return c&&(L="#### "+this.toMarkdown(c)),_&&(L=sl(L),L+=_),X.length!==0&&(L=sl(L),L+=`Allowed Values:
419
+
420
+ `,X.forEach(he=>{he.description?L+=`* \`${Fg(he.value)}\`: ${he.description}
421
+ `:L+=`* \`${Fg(he.value)}\`
422
+ `})),ee.length!==0&&ee.forEach(he=>{L=sl(L),L+=`Example:
423
+
424
+ `,L+=`\`\`\`yaml
425
+ ${he}\`\`\`
426
+ `}),L.length>0&&l.schema.url&&(L=sl(L),L+=`Source: [${O2(l.schema)}](${l.schema.url})`),o(L)}return null})}toMarkdown(e){if(e){let t=e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,`$1
427
+
428
+ $3`);if(t=t.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&"),this.indentation!==void 0){const n=new RegExp(` {${this.indentation.length}}`,"g");t=t.replace(n,"&emsp;")}return t}}};function sl(e){return e.length===0?e:(e.endsWith(`
429
+ `)||(e+=`
430
+ `),e+`
431
+ `)}function O2(e){let t="JSON Schema";const n=e.url;if(n){const r=vi.parse(n);t=Hs.basename(r.fsPath)}else e.title&&(t=e.title);return t}function Fg(e){return e.indexOf("`")!==-1?"`` "+e+" ``":e}function j2(e,t,n){let r=0;for(const i of t)e===i.node&&i.schema!==n&&n.anyOf.forEach(s=>{i.schema.title===s.title&&i.schema.description===s.description&&i.schema.properties===s.properties&&r++});return r===n.anyOf.length}var R2=class{validate(e,t){const n=[],r=new Set,i=new Set,s=new Map;Nr(t.internalDocument,(a,o,u)=>{mr(o)&&((Mr(o)||Un(o))&&o.anchor&&(r.add(o),s.set(o,u[u.length-1])),Ki(o)&&i.add(o.resolve(t.internalDocument)))});for(const a of r)if(!i.has(a)){const o=this.getAnchorNode(s.get(a),a);if(o){const u=On.create(e.positionAt(o.offset),e.positionAt(o.offset+o.source.length)),l=Ei.create(u,`Unused anchor "${o.source}"`,zn.Hint,0);l.tags=[Wc.Unnecessary],n.push(l)}}return n}getAnchorNode(e,t){if(e&&e.srcToken){const n=e.srcToken;if(bg(n))return Ng(n);if(dv(n))for(const r of n.items){if(t.srcToken!==r.value)continue;const i=Ng(r);if(i)return i}}}};function Ng(e){for(const t of e.start)if(t.type==="anchor")return t;if(e.sep&&Array.isArray(e.sep)){for(const t of e.sep)if(t.type==="anchor")return t}}var $2=class{constructor(e){this.forbidMapping=e.flowMapping==="forbid",this.forbidSequence=e.flowSequence==="forbid"}validate(e,t){const n=[];return Nr(t.internalDocument,(r,i)=>{var s,a;this.forbidMapping&&Ir(i)&&((s=i.srcToken)==null?void 0:s.type)==="flow-collection"&&n.push(Ei.create(this.getRangeOf(e,i.srcToken),"Flow style mapping is forbidden",zn.Error,"flowMap")),this.forbidSequence&&Or(i)&&((a=i.srcToken)==null?void 0:a.type)==="flow-collection"&&n.push(Ei.create(this.getRangeOf(e,i.srcToken),"Flow style sequence is forbidden",zn.Error,"flowSeq"))}),n}getRangeOf(e,t){return On.create(e.positionAt(t.start.offset),e.positionAt(t.end.pop().offset))}},V2=class{validate(e,t){const n=[];return Nr(t.internalDocument,(r,i)=>{if(Ir(i)){for(let s=1;s<i.items.length;s++)if(U2(i.items[s-1],i.items[s])>0){const a=q2(e,i.items[s-1]);n.push(Ei.create(a,`Wrong ordering of key "${i.items[s-1].key}" in mapping`,zn.Error,"mapKeyOrder"))}}}),n}};function q2(e,t){var n,r,i,s,a,o,u,l,b,c,_;const T=(o=(i=(n=t==null?void 0:t.srcToken.start[0])==null?void 0:n.offset)!=null?i:(r=t==null?void 0:t.srcToken)==null?void 0:r.key.offset)!=null?o:(a=(s=t==null?void 0:t.srcToken)==null?void 0:s.sep[0])==null?void 0:a.offset,ee=((u=t==null?void 0:t.srcToken)==null?void 0:u.value.offset)||((b=(l=t==null?void 0:t.srcToken)==null?void 0:l.sep[0])==null?void 0:b.offset)||((c=t==null?void 0:t.srcToken)==null?void 0:c.key.offset)||((_=t==null?void 0:t.srcToken.start[t.srcToken.start.length-1])==null?void 0:_.offset);return On.create(e.positionAt(T),e.positionAt(ee))}function U2(e,t){const n=String(t.key);return String(e.key).localeCompare(n)}var W2=(e,t)=>{const n=t.positionAt(e.location.start),r={start:n,end:e.location.toLineEnd?Hr.create(n.line,new Zs(t).getLineLength(n.line)):t.positionAt(e.location.end)};return Ei.create(r,e.message,e.severity,e.code,el)},G2=class{constructor(e,t){this.telemetry=t,this.validators=[],this.MATCHES_MULTIPLE="Matches multiple schemas when only one must validate.",this.validationEnabled=!0,this.jsonValidation=new Wv(e,Promise)}configure(e){this.validators=[],e&&(this.validationEnabled=e.validate,this.customTags=e.customTags,this.disableAdditionalProperties=e.disableAdditionalProperties,this.yamlVersion=e.yamlVersion,(e.flowMapping==="forbid"||e.flowSequence==="forbid")&&this.validators.push(new $2(e)),e.keyOrdering&&this.validators.push(new V2)),this.validators.push(new R2)}async doValidation(e,t=!1){var n;if(!this.validationEnabled)return Promise.resolve([]);const r=[];try{const o=Wi.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0);let u=0;for(const l of o.documents){l.isKubernetes=t,l.currentDocIndex=u,l.disableAdditionalProperties=this.disableAdditionalProperties,l.uri=e.uri;const b=await this.jsonValidation.doValidation(e,l),c=l;c.errors.length>0&&r.push(...c.errors),c.warnings.length>0&&r.push(...c.warnings),r.push(...b),r.push(...this.runAdditionalValidators(e,l)),u++}}catch(o){(n=this.telemetry)==null||n.sendError("yaml.validation.error",{error:ms(o)})}let i;const s=new Set,a=[];for(let o of r){if(t&&o.message===this.MATCHES_MULTIPLE)continue;if(Object.prototype.hasOwnProperty.call(o,"location")&&(o=W2(o,e)),o.source||(o.source=el),i&&i.message===o.message&&i.range.end.line===o.range.start.line&&Math.abs(i.range.end.character-o.range.end.character)>=1){i.range.end=o.range.end;continue}else i=o;const u=o.range.start.line+" "+o.range.start.character+" "+o.message;s.has(u)||(a.push(o),s.add(u))}return a}runAdditionalValidators(e,t){const n=[];for(const r of this.validators)n.push(...r.validate(e,t));return n}},J2=class{constructor(){this.formatterEnabled=!0}configure(e){e&&(this.formatterEnabled=e.format)}format(e,t={}){if(!this.formatterEnabled)return[];try{const n=e.getText(),r={parser:"yaml",plugins:[wv],tabWidth:t.tabWidth||t.tabSize,singleQuote:t.singleQuote,bracketSpacing:t.bracketSpacing,proseWrap:t.proseWrap==="always"?"always":t.proseWrap==="never"?"never":"preserve",printWidth:t.printWidth},i=xv.format(n,r);return[Lr.replace(On.create(Hr.create(0,0),e.positionAt(n.length)),i)]}catch{return[]}}},Y2=class{constructor(e){this.telemetry=e}findLinks(e){var t;try{const n=Wi.getYamlDocument(e),r=[];for(const i of n.documents)r.push(Qv(e,i));return Promise.all(r).then(i=>[].concat(...i))}catch(n){(t=this.telemetry)==null||t.sendError("yaml.documentLink.error",{error:ms(n)})}}};function H2(e,t){if(!e)return;const n=[],r=Wi.getYamlDocument(e);for(const s of r.documents)r.documents.length>1&&n.push(al(e,s.root)),s.visit(a=>{var o;if(a.type==="object"&&((o=a.parent)==null?void 0:o.type)==="array"&&n.push(al(e,a)),a.type==="property"&&a.valueNode)switch(a.valueNode.type){case"array":case"object":n.push(al(e,a));break;case"string":{const u=e.positionAt(a.offset),l=e.positionAt(a.valueNode.offset+a.valueNode.length);u.line!==l.line&&n.push(al(e,a));break}default:return!0}return!0});const i=t&&t.rangeLimit;return typeof i!="number"||n.length<=i?n:(t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri),n.slice(0,t.rangeLimit))}function al(e,t){const n=e.positionAt(t.offset);let r=e.positionAt(t.offset+t.length);const i=e.getText(On.create(n,r)),s=i.length-i.trimRight().length;return s>0&&(r=e.positionAt(t.offset+t.length-s)),qc.create(n.line,r.line,n.character,r.character)}var ol;(function(e){e.JUMP_TO_SCHEMA="jumpToSchema"})(ol||(ol={}));var z2=class{constructor(e){this.indentation=e}write(e){if(e.internalNode.srcToken.type!=="flow-collection")return null;const t=e.internalNode.srcToken,n=t.start.type==="flow-map-start"?"block-map":"block-seq",r=e.parent.type,i={type:n,offset:t.offset,indent:t.indent,items:[]};for(const s of t.items)Js(s,({key:a,sep:o,value:u})=>{if(n==="block-map"){const l=[{type:"space",indent:0,offset:a.offset,source:this.indentation}];r==="property"&&l.unshift({type:"newline",indent:0,offset:a.offset,source:`
432
+ `}),i.items.push({start:l,key:a,sep:o,value:u})}else n==="block-seq"&&i.items.push({start:[{type:"newline",indent:0,offset:u.offset,source:`
433
+ `},{type:"space",indent:0,offset:u.offset,source:this.indentation},{type:"seq-item-ind",indent:0,offset:u.offset,source:"-"},{type:"space",indent:0,offset:u.offset,source:" "}],value:u});if(u.type==="flow-collection")return Nr.SKIP});return Vm(i)}},X2=structuredClone,Q2=class{constructor(e){this.clientCapabilities=e,this.indentation=" "}configure(e){this.indentation=e.indentation}getCodeAction(e,t){if(!t.context.diagnostics)return;const n=[];return n.push(...this.getConvertToBooleanActions(t.context.diagnostics,e)),n.push(...this.getJumpToSchemaActions(t.context.diagnostics)),n.push(...this.getTabToSpaceConverting(t.context.diagnostics,e)),n.push(...this.getUnusedAnchorsDelete(t.context.diagnostics,e)),n.push(...this.getConvertToBlockStyleActions(t.context.diagnostics,e)),n.push(...this.getKeyOrderActions(t.context.diagnostics,e)),n}getJumpToSchemaActions(e){var t,n,r,i,s;if(!((i=(r=(n=(t=this.clientCapabilities)==null?void 0:t.window)==null?void 0:n.showDocument)==null?void 0:r.support)!=null?i:!1))return[];const o=new Map;for(const l of e){const b=((s=l.data)==null?void 0:s.schemaUri)||[];for(const c of b)c&&(o.has(c)||o.set(c,[]),o.get(c).push(l))}const u=[];for(const l of o.keys()){const b=ps.create(`Jump to schema location (${Hs.basename(l)})`,Vs.create("JumpToSchema",ol.JUMP_TO_SCHEMA,l));b.diagnostics=o.get(l),u.push(b)}return u}getTabToSpaceConverting(e,t){const n=[],r=new Zs(t),i=[];for(const s of e)if(s.message==="Using tabs can lead to unpredictable results"){if(i.includes(s.range.start.line))continue;const a=r.getLineContent(s.range.start.line);let o=0,u="";for(let b=s.range.start.character;b<=s.range.end.character&&a.charAt(b)===" ";b++)o++,u+=this.indentation;i.push(s.range.start.line);let l=s.range;o!==s.range.end.character-s.range.start.character&&(l=On.create(s.range.start,Hr.create(s.range.end.line,s.range.start.character+o))),n.push(ps.create("Convert Tab to Spaces",Ga(t.uri,[Lr.replace(l,u)]),Ts.QuickFix))}if(n.length!==0){const s=[];for(let a=0;a<=r.getLineCount();a++){const o=r.getLineContent(a);let u=0,l="";for(let b=0;b<o.length;b++){const c=o.charAt(b);if(c!==" "&&c!==" "){u!==0&&(s.push(Lr.replace(On.create(a,b-u,a,b),l)),u=0,l="");break}if(c===" "&&u!==0){s.push(Lr.replace(On.create(a,b-u,a,b),l)),u=0,l="";continue}c===" "&&(l+=this.indentation,u++)}u!==0&&s.push(Lr.replace(On.create(a,0,a,r.getLineLength(a)),l))}s.length>0&&n.push(ps.create("Convert all Tabs to Spaces",Ga(t.uri,s),Ts.QuickFix))}return n}getUnusedAnchorsDelete(e,t){const n=[],r=new Zs(t);for(const i of e)if(i.message.startsWith("Unused anchor")&&i.source===el){const s=On.create(i.range.start,i.range.end),a=r.getText(s),o=r.getLineContent(s.end.line),u=$v(o,s.end.character);s.end.character=u;const l=ps.create(`Delete unused anchor: ${a}`,Ga(t.uri,[Lr.del(s)]),Ts.QuickFix);l.diagnostics=[i],n.push(l)}return n}getConvertToBooleanActions(e,t){const n=[];for(const r of e)if(r.message==='Incorrect type. Expected "boolean".'){const i=t.getText(r.range).toLocaleLowerCase();if(i==='"true"'||i==='"false"'||i==="'true'"||i==="'false'"){const s=i.includes("true")?"true":"false";n.push(ps.create("Convert to boolean",Ga(t.uri,[Lr.replace(r.range,s)]),Ts.QuickFix))}}return n}getConvertToBlockStyleActions(e,t){const n=[];for(const r of e)if(r.code==="flowMap"||r.code==="flowSeq"){const i=_g(t,r);if(Ir(i.internalNode)||Or(i.internalNode)){const s=Ir(i.internalNode)?"map":"sequence",a=new z2(this.indentation);n.push(ps.create(`Convert to block style ${s}`,Ga(t.uri,[Lr.replace(r.range,a.write(i))]),Ts.QuickFix))}}return n}getKeyOrderActions(e,t){var n,r,i,s,a,o,u,l,b,c,_,T,ee,X;const L=[];for(const he of e)if((he==null?void 0:he.code)==="mapKeyOrder"){let Te=_g(t,he);for(;Te&&Te.type!=="object";)Te=Te.parent;if(Te&&Ir(Te.internalNode)){const Pe=X2(Te.internalNode);if((Pe.srcToken.type==="block-map"||Pe.srcToken.type==="flow-collection")&&(Te.internalNode.srcToken.type==="block-map"||Te.internalNode.srcToken.type==="flow-collection")){Pe.srcToken.items.sort((oe,ve)=>{if(oe.key&&ve.key&&kf(oe.key)&&kf(ve.key))return oe.key.source.localeCompare(ve.key.source);if(!oe.key&&ve.key)return-1;if(oe.key&&!ve.key)return 1;if(!oe.key&&!ve.key)return 0});for(let oe=0;oe<Pe.srcToken.items.length;oe++){const ve=Pe.srcToken.items[oe],We=Te.internalNode.srcToken.items[oe];if(ve.start=We.start,((n=ve.value)==null?void 0:n.type)==="alias"||((r=ve.value)==null?void 0:r.type)==="scalar"||((i=ve.value)==null?void 0:i.type)==="single-quoted-scalar"||((s=ve.value)==null?void 0:s.type)==="double-quoted-scalar"){const ze=(u=(o=(a=ve.value)==null?void 0:a.end)==null?void 0:o.findIndex(Qe=>Qe.type==="newline"))!=null?u:-1;let Ie=null;((l=We.value)==null?void 0:l.type)==="block-scalar"?Ie=(c=(b=We.value)==null?void 0:b.props)==null?void 0:c.find(Qe=>Qe.type==="newline"):kf(We.value)&&(Ie=(T=(_=We.value)==null?void 0:_.end)==null?void 0:T.find(Qe=>Qe.type==="newline")),Ie&&ze<0&&(ve.value.end=(ee=ve.value.end)!=null?ee:[],ve.value.end.push(Ie)),!Ie&&ze>-1&&ve.value.end.splice(ze,1)}else((X=ve.value)==null?void 0:X.type)==="block-scalar"&&(ve.value.props.find(Ie=>Ie.type==="newline")||ve.value.props.push({type:"newline",indent:0,offset:ve.value.offset,source:`
434
+ `}))}}const Fe=On.create(t.positionAt(Te.offset),t.positionAt(Te.offset+Te.length));L.push(ps.create("Fix key order for this map",Ga(t.uri,[Lr.replace(Fe,Vm(Pe.srcToken))]),Ts.QuickFix))}}return L}};function _g(e,t){const n=Wi.getYamlDocument(e),r=e.offsetAt(t.range.start);return Zu(r,n).getNodeFromOffset(r)}function Ga(e,t){const n={};return n[e]=t,{changes:n}}function K2(e,t){const{position:n}=t,r=new Zs(e);if(t.ch===`
435
+ `){const i=r.getLineContent(n.line-1);if(i.trimRight().endsWith(":")){const s=r.getLineContent(n.line),a=s.substring(n.character,s.length),o=i.indexOf(" - ")!==-1;if(a.trimRight().length===0){const u=n.character-(i.length-i.trimLeft().length);if(u===t.options.tabSize&&!o)return;const l=[];return s.length>0&&l.push(Lr.del(On.create(n,Hr.create(n.line,s.length-1)))),l.push(Lr.insert(n," ".repeat(t.options.tabSize+(o?2-u:0)))),l}if(o)return[Lr.insert(n," ".repeat(t.options.tabSize))]}if(i.trimRight().endsWith("|"))return[Lr.insert(n," ".repeat(t.options.tabSize))];if(i.includes(" - ")&&!i.includes(": "))return[Lr.insert(n,"- ")];if(i.includes(" - ")&&i.includes(": "))return[Lr.insert(n," ")]}}function Z2(e){const t=new Map;return e&&(e.url?e.url.startsWith("schemaservice://combinedSchema/")?Tg(e,t):t.set(e.url,e):Tg(e,t)),t}function Tg(e,t){e.allOf&&Wf(e.allOf,t),e.anyOf&&Wf(e.anyOf,t),e.oneOf&&Wf(e.oneOf,t)}function Wf(e,t){for(const n of e)!qa(n)&&n.url&&!t.has(n.url)&&t.set(n.url,n)}var eE=class{constructor(e,t){this.schemaService=e,this.telemetry=t}async getCodeLens(e){var t;const n=[];try{const r=Wi.getYamlDocument(e);let i=new Map;for(const s of r.documents){const a=await this.schemaService.getSchemaForResource(e.uri,s);a!=null&&a.schema&&(i=new Map([...Z2(a==null?void 0:a.schema),...i]))}for(const s of i){const a=tf.create(On.create(0,0,0,0));a.command={title:ug(s[1],s[0]),command:ol.JUMP_TO_SCHEMA,arguments:[s[0]]},n.push(a)}}catch(r){(t=this.telemetry)==null||t.sendError("yaml.codeLens.error",{error:ms(r)})}return n}resolveCodeLens(e){return e}},tE=class{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}};function nE(e,t,n,r,i){i.spacesDiff=0,i.looksLikeAlignment=!1;let s;for(s=0;s<t&&s<r;s++){const _=e.charCodeAt(s),T=n.charCodeAt(s);if(_!==T)break}let a=0,o=0;for(let _=s;_<t;_++)e.charCodeAt(_)===32?a++:o++;let u=0,l=0;for(let _=s;_<r;_++)n.charCodeAt(_)===32?u++:l++;if(a>0&&o>0||u>0&&l>0)return;const b=Math.abs(o-l),c=Math.abs(a-u);if(b===0){i.spacesDiff=c,c>0&&0<=u-1&&u-1<e.length&&u<n.length&&n.charCodeAt(u)!==32&&e.charCodeAt(u-1)===32&&e.charCodeAt(e.length-1)===44&&(i.looksLikeAlignment=!0);return}c%b===0&&(i.spacesDiff=c/b)}function rE(e,t,n){const r=Math.min(e.getLineCount(),1e4);let i=0,s=0,a="",o=0;const u=[2,4,6,8,3,5,7],l=8,b=[0,0,0,0,0,0,0,0,0],c=new tE;for(let ee=1;ee<=r;ee++){const X=e.getLineLength(ee),L=e.getLineContent(ee),he=X<=65536;let Te=!1,Pe=0,Fe=0,oe=0;for(let We=0,ze=X;We<ze;We++){const Ie=he?L.charCodeAt(We):e.getLineCharCode(ee,We);if(Ie===9)oe++;else if(Ie===32)Fe++;else{Te=!0,Pe=We;break}}if(!Te||(oe>0?i++:Fe>1&&s++,nE(a,o,L,Pe,c),c.looksLikeAlignment&&t!==c.spacesDiff))continue;const ve=c.spacesDiff;ve<=l&&b[ve]++,a=L,o=Pe}let _=n;i!==s&&(_=i<s);let T=t;if(_){let ee=_?0:.1*r;u.forEach(X=>{const L=b[X];L>ee&&(ee=L,T=X)}),T===4&&b[4]>0&&b[2]>0&&b[2]>=b[4]/2&&(T=2)}return{insertSpaces:_,tabSize:T}}function ul(e,t,n,r,i=0,s=0){if(e!==null&&typeof e=="object"){const a=i===0&&r.shouldIndentWithTab||i>0?t+r.indentation:"";if(Array.isArray(e)){if(s+=1,e.length===0)return"";let o="";for(let u=0;u<e.length;u++){let l=e[u];if(typeof e[u]!="object"){o+=`
436
+ `+a+"- "+n(e[u]);continue}Array.isArray(e[u])||(l=iE(e[u],s)),o+=ul(l,t,n,r,i+=1,s)}return o}else{const o=Object.keys(e);if(o.length===0)return"";let u=i===0&&r.newLineFirst||i>0?`
437
+ `:"",l=!0;for(let b=0;b<o.length;b++){const c=o[b];if(i===0&&r.existingProps.includes(c))continue;const _=typeof e[c]=="object",T=_?":":": ",ee=_&&/^\s|-/.test(c)?r.indentation:"",X=a+ee,L=l?"":`
438
+ `;if(i===0&&l&&!r.indentFirstObject){const he=ul(e[c],X,n,r,i+1,0);u+=L+t+c+T+he}else{const he=ul(e[c],X,n,r,i+1,0);u+=L+a+c+T+he}l=!1}return u}}return n(e)}function iE(e,t){const n={};for(let r=0;r<Object.keys(e).length;r++){const i=Object.keys(e)[r];r===0?n["- ".repeat(t)+i]=e[i]:n[" ".repeat(t)+i]=e[i]}return n}var sE=Va(),Lg=/[\\]+"/g,kg=Ai.Class,ll="__",aE=class{constructor(e,t={},n,r){this.schemaService=e,this.clientCapabilities=t,this.yamlDocument=n,this.telemetry=r,this.completionEnabled=!0,this.arrayPrefixIndentation=""}configure(e){e&&(this.completionEnabled=e.completion),this.customTags=e.customTags,this.yamlVersion=e.yamlVersion,this.configuredIndentation=e.indentation,this.disableDefaultProperties=e.disableDefaultProperties,this.parentSkeletonSelectedFirst=e.parentSkeletonSelectedFirst}async doComplete(e,t,n=!1,r=!0){var i;const s=ef.create([],!1);if(!this.completionEnabled)return s;const a=this.yamlDocument.getYamlDocument(e,{customTags:this.customTags,yamlVersion:this.yamlVersion},!0),o=new Zs(e);if(this.configuredIndentation)this.indentation=this.configuredIndentation;else{const oe=rE(o,2,!0);this.indentation=oe.insertSpaces?" ".repeat(oe.tabSize):" "}wg(a.documents,n);for(const oe of a.documents)oe.uri=e.uri;const u=e.offsetAt(t),l=e.getText();if(l.charAt(u-1)===":")return Promise.resolve(s);let b=Zu(u,a);if(b===null)return Promise.resolve(s);b=b.clone();let[c,_]=b.getNodeFromPosition(u,o,this.indentation.length);const T=this.getCurrentWord(e,u);let ee=o.getLineContent(t.line);const X=ee.substring(t.character),L=/^[ ]+\n?$/.test(X);this.arrayPrefixIndentation="";let he=null;if(L){he=On.create(t,Hr.create(t.line,ee.length));const oe=ee.trim().length===0,ve=ee.match(/^\s*(-)\s*$/);if(c&&Un(c)&&!oe&&!ve){const We=ee.substring(0,t.character),ze=We.match(/^[\s-]*([^:]+)?$/)||We.match(/:[ \t]((?!:[ \t]).*)$/);ze!=null&&ze[1]&&(he=On.create(Hr.create(t.line,t.character-ze[1].length),Hr.create(t.line,ee.length)))}}else if(c&&Un(c)&&c.value==="null"){const oe=e.positionAt(c.range[0]);oe.character+=1;const ve=e.positionAt(c.range[2]);ve.character+=1,he=On.create(oe,ve)}else if(c&&Un(c)&&c.value){const oe=e.positionAt(c.range[0]);he=On.create(oe,e.positionAt(c.range[1]))}else if(c&&Un(c)&&c.value===null&&T==="-")he=On.create(t,t),this.arrayPrefixIndentation=" ";else{let oe=u-T.length;oe>0&&l[oe-1]==='"'&&oe--,he=On.create(e.positionAt(oe),t)}const Te={},Pe={add:(oe,ve)=>{const We=function(Ve){var ct;if(((ct=Te[Ve.label])==null?void 0:ct.label)===ll)return;const kt=Ve.parent.schema,Bt=If(kt),Gt=kt.markdownDescription||kt.description;let hn=s.items.find(_n=>{var jn;return((jn=_n.parent)==null?void 0:jn.schema)===kt&&_n.kind===kg});hn&&hn.parent.insertTexts.includes(Ve.insertText)||(hn?hn.parent.insertTexts.push(Ve.insertText):(hn={...Ve,label:Bt,documentation:Gt,sortText:"_"+Bt,kind:kg},hn.label=hn.label||Ve.label,hn.parent.insertTexts=[Ve.insertText],s.items.push(hn)))},ze=!!oe.parent;let Ie=oe.label;if(!Ie){console.warn(`Ignoring CompletionItem without label: ${JSON.stringify(oe)}`);return}if(Ua(Ie)||(Ie=String(Ie)),Ie=Ie.replace(/[\n]/g,"↵"),Ie.length>60){const Ve=Ie.substr(0,57).trim()+"...";Te[Ve]||(Ie=Ve)}if(oe.insertText.endsWith("$1")&&!ze&&(oe.insertText=oe.insertText.substr(0,oe.insertText.length-2)),he&&he.start.line===he.end.line&&(oe.textEdit=Lr.replace(he,oe.insertText)),oe.label=Ie,ze){We(oe);return}this.arrayPrefixIndentation&&this.updateCompletionText(oe,this.arrayPrefixIndentation+oe.insertText);const Qe=Te[Ie],Ke=(Qe==null?void 0:Qe.label)!==ll&&(Qe==null?void 0:Qe.insertText)!==oe.insertText;if(!Qe)Te[Ie]=oe,s.items.push(oe);else if(Ke){const Ve=this.mergeSimpleInsertTexts(Ie,Qe.insertText,oe.insertText,ve);Ve?this.updateCompletionText(Qe,Ve):(Te[Ie]=oe,s.items.push(oe))}Qe&&!Qe.documentation&&oe.documentation&&(Qe.documentation=oe.documentation)},error:oe=>{var ve;(ve=this.telemetry)==null||ve.sendError("yaml.completion.error",{error:ms(oe)})},log:oe=>{console.log(oe)},getNumberOfProposals:()=>s.items.length,result:s,proposed:Te};this.customTags&&this.customTags.length>0&&this.getCustomTagValueCompletions(Pe),ee.endsWith(`
439
+ `)&&(ee=ee.substr(0,ee.length-1));try{const oe=await this.schemaService.getSchemaForResource(e.uri,b);if((!oe||oe.errors.length)&&t.line===0&&t.character===0&&!Uf(ee)){const Ie={kind:Ai.Text,label:"Inline schema",insertText:"# yaml-language-server: $schema=",insertTextFormat:Kr.PlainText};s.items.push(Ie)}if(Uf(ee)||A2(a.tokens,u)){const Ie=ee.indexOf("$schema=");return Ie!==-1&&Ie+8<=t.character&&this.schemaService.getAllSchemas().forEach(Qe=>{var Ke;const Ve={kind:Ai.Constant,label:(Ke=Qe.name)!=null?Ke:Qe.uri,detail:Qe.description,insertText:Qe.uri,insertTextFormat:Kr.PlainText,insertTextMode:Kc.asIs};s.items.push(Ve)}),s}if(!oe||oe.errors.length)return s;let ve=null;if(!c)if(!b.internalDocument.contents||Un(b.internalDocument.contents)){const Ie=b.internalDocument.createNode({});Ie.range=[u,u+1,u+1],b.internalDocument.contents=Ie,b.updateFromInternalDocument(),c=Ie}else c=b.findClosestNode(u,o),_=!0;const We=c;if(c)if(ee.length===0)c=b.internalDocument.contents;else{const Ie=b.getParent(c);if(Ie){if(Un(c)){if(c.value){if(hr(Ie)){if(Ie.value===c){if(ee.trim().length>0&&ee.indexOf(":")<0){const Qe=this.createTempObjNode(T,c,b),Ke=b.getParent(Ie);if(Or(b.internalDocument.contents)){const Ve=E2(b.internalDocument.contents,Ie);typeof Ve=="number"&&(b.internalDocument.set(Ve,Qe),b.updateFromInternalDocument())}else Ke&&(Ir(Ke)||Or(Ke))?(Ke.set(Ie.key,Qe),b.updateFromInternalDocument()):(b.internalDocument.set(Ie.key,Qe),b.updateFromInternalDocument());ve=Qe.items[0],c=Qe}else if(ee.trim().length===0){const Qe=b.getParent(Ie);Qe&&(c=Qe)}}else if(Ie.key===c){const Qe=b.getParent(Ie);ve=Ie,Qe&&(c=Qe)}}else if(Or(Ie))if(ee.trim().length>0){const Qe=this.createTempObjNode(T,c,b);Ie.delete(c),Ie.add(Qe),b.updateFromInternalDocument(),c=Qe}else c=Ie}else if(c.value===null){if(hr(Ie)){if(Ie.key===c)c=Ie;else if(mr(Ie.key)&&Ie.key.range){const Qe=b.getParent(Ie);if(_&&Qe&&Ir(Qe)&&v2(Qe))c=Qe;else{const Ke=e.positionAt(Ie.key.range[0]);if(t.character>Ke.character&&t.line!==Ke.line){const Ve=this.createTempObjNode(T,c,b);Qe&&(Ir(Qe)||Or(Qe))?(Qe.set(Ie.key,Ve),b.updateFromInternalDocument()):(b.internalDocument.set(Ie.key,Ve),b.updateFromInternalDocument()),ve=Ve.items[0],c=Ve}else Ke.character===t.character&&Qe&&(c=Qe)}}}else if(Or(Ie))if(ee.charAt(t.character-1)!=="-"){const Qe=this.createTempObjNode(T,c,b);Ie.delete(c),Ie.add(Qe),b.updateFromInternalDocument(),c=Qe}else if(ee.charAt(t.character-1)==="-"){const Qe=this.createTempObjNode("",c,b);Ie.delete(c),Ie.add(Qe),b.updateFromInternalDocument(),c=Qe}else c=Ie}}else if(Ir(c)&&!_&&ee.trim().length===0&&Or(Ie)){const Qe=o.getLineContent(t.line+1);(o.getLineCount()===t.line+1||Qe.trim().length===0)&&(c=Ie)}}else if(Un(c)){const Qe=this.createTempObjNode(T,c,b);b.internalDocument.contents=Qe,b.updateFromInternalDocument(),ve=Qe.items[0],c=Qe}else if(Ir(c))for(const Qe of c.items)mr(Qe.value)&&Qe.value.range&&Qe.value.range[0]===u+1&&(c=Qe.value);else if(Or(c)&&ee.charAt(t.character-1)!=="-"){const Qe=this.createTempObjNode(T,c,b);Qe.items=[],b.updateFromInternalDocument();for(const Ke of c.items)Ir(Ke)&&Ke.items.forEach(Ve=>{Qe.items.push(Ve)});c=Qe}}if(c&&Ir(c)){const Ie=c.items;for(const Qe of Ie)(!ve||ve!==Qe)&&Un(Qe.key)&&(Te[Qe.key.value+""]=Zc.create(ll));this.addPropertyCompletions(oe,b,c,We,"",Pe,o,he,r),!oe&&T.length>0&&l.charAt(u-T.length-1)!=='"'&&Pe.add({kind:Ai.Property,label:T,insertText:this.getInsertTextForProperty(T,null,""),insertTextFormat:Kr.Snippet})}const ze={};this.getValueCompletions(oe,b,c,u,e,Pe,ze,r)}catch(oe){(i=this.telemetry)==null||i.sendError("yaml.completion.error",{error:ms(oe)})}this.finalizeParentCompletion(s);const Fe=s.items.filter((oe,ve,We)=>ve===We.findIndex(ze=>ze.label===oe.label&&ze.insertText===oe.insertText&&ze.kind===oe.kind));return(Fe==null?void 0:Fe.length)>0&&(s.items=Fe),s}updateCompletionText(e,t){e.insertText=t,e.textEdit&&(e.textEdit.newText=t)}mergeSimpleInsertTexts(e,t,n,r){const i=b=>b.includes(`
440
+ `),s=b=>b.startsWith(`
441
+ `),a=b=>{const c=b.indexOf(`
442
+ `);return c>0&&b.substring(c,b.length).trim().length===0};if(i(t)||i(n))return r&&a(t)&&!a(n)&&!s(n)?n:void 0;const o=this.getValuesFromInsertText(t),u=this.getValuesFromInsertText(n),l=Array.prototype.concat(o,u);if(l.length)return l.length===1?`${e}: \${1:${l[0]}}`:`${e}: \${1|${l.join(",")}|}`}getValuesFromInsertText(e){const t=e.substring(e.indexOf(":")+1).trim();if(!t)return[];const n=t.match(/^\${1[|:]([^|]*)+\|?}$/);return n?n[1].split(","):[t]}finalizeParentCompletion(e){const t=n=>{let r=0;return n.map(i=>{const s=i.match(/\$([0-9]+)|\${[0-9]+:/g);if(!s)return i;const a=s.map(u=>+u.replace(/\${([0-9]+)[:|]/g,"$1").replace("$","")).reduce((u,l)=>l>u?l:u,0),o=i.replace(/\$([0-9]+)/g,(u,l)=>"$"+(+l+r)).replace(/\${([0-9]+)[:|]/g,(u,l)=>"${"+(+l+r)+":");return r+=a,o})};e.items.forEach(n=>{if(lE(n)){const r=n.parent.indent||"";let s=t(n.parent.insertTexts).join(`
443
+ ${r}`);s.endsWith("$1")&&(s=s.substring(0,s.length-2)),n.insertText=this.arrayPrefixIndentation+s,n.textEdit&&(n.textEdit.newText=n.insertText);const a=s.replace(/\${[0-9]+[:|](.*)}/g,(u,l)=>l).replace(/\$([0-9]+)/g,""),o=n.documentation?[n.documentation,"","----",""]:[];n.documentation={kind:fs.Markdown,value:[...o,"```yaml",r+a,"```"].join(`
444
+ `)},delete n.parent}})}createTempObjNode(e,t,n){const r={};r[e]=null;const i=n.internalDocument.createNode(r);return i.range=t.range,i.items[0].key.range=t.range,i.items[0].value.range=t.range,i}addPropertyCompletions(e,t,n,r,i,s,a,o,u){var l,b,c;const _=t.getMatchingSchemas(e.schema,-1,null,u),T=a.getText(o),ee=a.getLineContent(o.start.line),X=ee.trim().length===0,L=ee.indexOf(":")!==-1,he=ee.trimLeft().indexOf("-")===0,Te=t.getParent(n),Pe=_.find(ve=>ve.node.internalNode===r&&ve.schema.properties),Fe=_.filter(ve=>ve.schema.oneOf).map(ve=>ve.schema.oneOf)[0];let oe=!1;(Fe==null?void 0:Fe.length)<_.length&&(Fe==null||Fe.forEach((ve,We)=>{var ze,Ie;!((ze=_[We])!=null&&ze.schema.oneOf)&&((Ie=_[We])==null?void 0:Ie.schema.properties)===ve.properties&&(oe=!0)}));for(const ve of _){if((ve.node.internalNode===n&&!Pe||ve.node.internalNode===r&&!L||((l=ve.node.parent)==null?void 0:l.internalNode)===r&&!L)&&!ve.inverted){this.collectDefaultSnippets(ve.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:he});const We=ve.schema.properties;if(We){const ze=ve.schema.maxProperties;if(ze===void 0||n.items===void 0||n.items.length<ze||n.items.length===ze&&!X){for(const Ie in We)if(Object.prototype.hasOwnProperty.call(We,Ie)){const Qe=We[Ie];if(typeof Qe=="object"&&!Qe.deprecationMessage&&!Qe.doNotSuggest){let Ke="";if(Te&&Or(Te)&&n.items.length<=1&&!X){const Bt=a.getText(),Gt=Bt.lastIndexOf("-",n.range[0]-1);if(Gt>=0){const hn=o.end.character-o.start.character;Ke=" "+Bt.slice(Gt+1,n.range[1]-hn)}}Ke+=this.arrayPrefixIndentation;let Ve;Qe.type==="array"&&(Ve=n.items.find(Bt=>Un(Bt.key)&&Bt.key.range&&Bt.key.value===Ie&&Un(Bt.value)&&!Bt.value.value&&a.getPosition(Bt.key.range[2]).line===o.end.line-1))&&Ve&&(Array.isArray(Qe.items)?this.addSchemaValueCompletions(Qe.items[0],i,s,{},"property"):typeof Qe.items=="object"&&Qe.items.type==="object"&&this.addArrayItemValueCompletion(Qe.items,i,s));let ct=Ie;(!Ie.startsWith(T)||!L)&&(ct=this.getInsertTextForProperty(Ie,Qe,i,Ke+this.indentation));const Xe=Un(r)&&r.value===null||Ir(r)&&r.items.length===0,kt=((b=ve.schema.required)==null?void 0:b.length)>0;(!this.parentSkeletonSelectedFirst||!Xe||!kt)&&s.add({kind:Ai.Property,label:Ie,insertText:ct,insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(Qe.markdownDescription)||Qe.description||""},oe),(c=ve.schema.required)!=null&&c.includes(Ie)&&s.add({label:Ie,insertText:this.getInsertTextForProperty(Ie,Qe,i,Ke+this.indentation),insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(Qe.markdownDescription)||Qe.description||"",parent:{schema:ve.schema,indent:Ke}})}}}}if(Te&&Or(Te)&&qv(ve.schema)&&this.addSchemaValueCompletions(ve.schema,i,s,{},"property",Array.isArray(Te.items)),ve.schema.propertyNames&&ve.schema.additionalProperties&&ve.schema.type==="object"){const ze=ui(ve.schema.propertyNames),Ie=ze.title||"property";s.add({kind:Ai.Property,label:Ie,insertText:`\${1:${Ie}}: `,insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(ze.markdownDescription)||ze.description||""})}}Te&&ve.node.internalNode===Te&&ve.schema.defaultSnippets&&(n.items.length===1?this.collectDefaultSnippets(ve.schema,i,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!0},1):this.collectDefaultSnippets(ve.schema,i,s,{newLineFirst:!1,indentFirstObject:!0,shouldIndentWithTab:!1},1))}}getValueCompletions(e,t,n,r,i,s,a,o){let u=null;if(n&&Un(n)&&(n=t.getParent(n)),!n){this.addSchemaValueCompletions(e.schema,"",s,a,"value");return}if(hr(n)){const l=n.value;if(l&&l.range&&r>l.range[0]+l.range[2])return;u=Un(n.key)?n.key.value+"":null,n=t.getParent(n)}if(n&&(u!==null||Or(n))){const l="",b=t.getMatchingSchemas(e.schema,-1,null,o);for(const c of b)if(c.node.internalNode===n&&!c.inverted&&c.schema){if(c.schema.items&&(this.collectDefaultSnippets(c.schema,l,s,{newLineFirst:!1,indentFirstObject:!1,shouldIndentWithTab:!1}),Or(n)&&n.items))if(Array.isArray(c.schema.items)){const _=this.findItemAtOffset(n,i,r);_<c.schema.items.length&&this.addSchemaValueCompletions(c.schema.items[_],l,s,a,"value")}else typeof c.schema.items=="object"&&(c.schema.items.type==="object"||Of(c.schema.items))?this.addSchemaValueCompletions(c.schema.items,l,s,a,"value",!0):this.addSchemaValueCompletions(c.schema.items,l,s,a,"value");if(c.schema.properties){const _=c.schema.properties[u];_&&this.addSchemaValueCompletions(_,l,s,a,"value")}c.schema.additionalProperties&&this.addSchemaValueCompletions(c.schema.additionalProperties,l,s,a,"value")}a.boolean&&(this.addBooleanValueCompletion(!0,l,s),this.addBooleanValueCompletion(!1,l,s)),a.null&&this.addNullValueCompletion(l,s)}}addArrayItemValueCompletion(e,t,n,r){const i=If(e),s=`- ${this.getInsertTextForObject(e,t).insertText.trimLeft()}`,a=i?" type `"+i+"`":"",o=e.description?" ("+e.description+")":"",u=this.getDocumentationWithMarkdownText(`Create an item of an array${a}${o}`,s);n.add({kind:this.getSuggestionKind(e.type),label:"- (array item) "+(i||r),documentation:u,insertText:s,insertTextFormat:Kr.Snippet})}getInsertTextForProperty(e,t,n,r=this.indentation){const i=this.getInsertTextForValue(e,"","string"),s=i+":";let a,o=0;if(t){let u=Array.isArray(t.type)?t.type[0]:t.type;if(u||(t.properties?u="object":t.items?u="array":t.anyOf&&(u="anyOf")),Array.isArray(t.defaultSnippets)){if(t.defaultSnippets.length===1){const l=t.defaultSnippets[0].body;Qs(l)&&(a=this.getInsertTextForSnippetValue(l,"",{newLineFirst:!0,indentFirstObject:!1,shouldIndentWithTab:!1},[],1),!a.startsWith(" ")&&!a.startsWith(`
445
+ `)&&(a=" "+a))}o+=t.defaultSnippets.length}if(t.enum&&(!a&&t.enum.length===1&&(a=" "+this.getInsertTextForGuessedValue(t.enum[0],"",u)),o+=t.enum.length),t.const&&(a||(a=this.getInsertTextForGuessedValue(t.const,"",u),a=uE(a),a=" "+a),o++),Qs(t.default)&&(a||(a=" "+this.getInsertTextForGuessedValue(t.default,"",u)),o++),Array.isArray(t.examples)&&t.examples.length&&(a||(a=" "+this.getInsertTextForGuessedValue(t.examples[0],"",u)),o+=t.examples.length),t.properties)return`${s}
446
+ ${this.getInsertTextForObject(t,n,r).insertText}`;if(t.items)return`${s}
447
+ ${r}- ${this.getInsertTextForArray(t.items,n,1,r).insertText}`;if(o===0)switch(u){case"boolean":a=" $1";break;case"string":a=" $1";break;case"object":a=`
448
+ ${r}`;break;case"array":a=`
449
+ ${r}- `;break;case"number":case"integer":a=" ${1:0}";break;case"null":a=" ${1:null}";break;case"anyOf":a=" $1";break;default:return i}}return(!a||o>1)&&(a=" $1"),s+a+n}getInsertTextForObject(e,t,n=this.indentation,r=1){let i="";return e.properties?(Object.keys(e.properties).forEach(s=>{const a=e.properties[s];let o=Array.isArray(a.type)?a.type[0]:a.type;if(o||(a.anyOf&&(o="anyOf"),a.properties&&(o="object"),a.items&&(o="array")),e.required&&e.required.indexOf(s)>-1)switch(o){case"boolean":case"string":case"number":case"integer":case"anyOf":{let u=a.default||a.const;u?(o==="string"&&(u=cl(u)),i+=`${n}${s}: \${${r++}:${u}}
450
+ `):i+=`${n}${s}: $${r++}
451
+ `;break}case"array":{const u=this.getInsertTextForArray(a.items,t,r++,n),l=u.insertText.split(`
452
+ `);let b=u.insertText;if(l.length>1){for(let c=1;c<l.length;c++){const _=l[c];l[c]=` ${_}`}b=l.join(`
453
+ `)}r=u.insertIndex,i+=`${n}${s}:
454
+ ${n}${this.indentation}- ${b}
455
+ `}break;case"object":{const u=this.getInsertTextForObject(a,t,`${n}${this.indentation}`,r++);r=u.insertIndex,i+=`${n}${s}:
456
+ ${u.insertText}
457
+ `}break}else if(!this.disableDefaultProperties&&a.default!==void 0)switch(o){case"boolean":case"number":case"integer":i+=`${n}${s==="null"?this.getInsertTextForValue(s,"","string"):s}: \${${r++}:${a.default}}
458
+ `;break;case"string":i+=`${n}${s}: \${${r++}:${cl(a.default)}}
459
+ `;break}}),i.trim().length===0&&(i=`${n}$${r++}
460
+ `),i=i.trimRight()+t,{insertText:i,insertIndex:r}):(i=`${n}$${r++}
461
+ `,{insertText:i,insertIndex:r})}getInsertTextForArray(e,t,n=1,r=this.indentation){let i="";if(!e)return i=`$${n++}`,{insertText:i,insertIndex:n};let s=Array.isArray(e.type)?e.type[0]:e.type;switch(s||(e.properties&&(s="object"),e.items&&(s="array")),e.type){case"boolean":i=`\${${n++}:false}`;break;case"number":case"integer":i=`\${${n++}:0}`;break;case"string":i=`\${${n++}}`;break;case"object":{const a=this.getInsertTextForObject(e,t,`${r} `,n++);i=a.insertText.trimLeft(),n=a.insertIndex}break}return{insertText:i,insertIndex:n}}getInsertTextForGuessedValue(e,t,n){switch(typeof e){case"object":return e===null?"${1:null}"+t:this.getInsertTextForValue(e,t,n);case"string":{let r=JSON.stringify(e);return r=r.substr(1,r.length-2),r=this.getInsertTextForPlainText(r),n==="string"&&(r=cl(r)),"${1:"+r+"}"+t}case"number":case"boolean":return"${1:"+e+"}"+t}return this.getInsertTextForValue(e,t,n)}getInsertTextForPlainText(e){return e.replace(/[\\$}]/g,"\\$&")}getInsertTextForValue(e,t,n){if(e===null)return"null";switch(typeof e){case"object":{const r=this.indentation;return this.getInsertTemplateForValue(e,r,{index:1},t)}case"number":case"boolean":return this.getInsertTextForPlainText(e+t)}return n=Array.isArray(n)?n[0]:n,n==="string"&&(e=cl(e)),this.getInsertTextForPlainText(e+t)}getInsertTemplateForValue(e,t,n,r){if(Array.isArray(e)){let i=`
462
+ `;for(const s of e)i+=`${t}- \${${n.index++}:${s}}
463
+ `;return i}else if(typeof e=="object"){let i=`
464
+ `;for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const a=e[s];i+=`${t}\${${n.index++}:${s}}:`;let o;typeof a=="object"?o=`${this.getInsertTemplateForValue(a,t+this.indentation,n,r)}`:o=` \${${n.index++}:${this.getInsertTextForPlainText(a+r)}}
465
+ `,i+=`${o}`}return i}return this.getInsertTextForPlainText(e+r)}addSchemaValueCompletions(e,t,n,r,i,s){typeof e=="object"&&(this.addEnumValueCompletions(e,t,n,s),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),s&&i==="value"&&!Of(e)&&this.addArrayItemValueCompletion(e,t,n),Array.isArray(e.allOf)&&e.allOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.anyOf)&&e.anyOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)),Array.isArray(e.oneOf)&&e.oneOf.forEach(a=>this.addSchemaValueCompletions(a,t,n,r,i,s)))}collectTypes(e,t){if(Array.isArray(e.enum)||Qs(e.const))return;const n=e.type;Array.isArray(n)?n.forEach(function(r){return t[r]=!0}):n&&(t[n]=!0)}addDefaultValueCompletions(e,t,n,r=0){let i=!1;if(Qs(e.default)){let s=e.type,a=e.default;for(let u=r;u>0;u--)a=[a],s="array";let o;typeof a=="object"?o="Default value":o=a.toString().replace(Lg,'"'),n.add({kind:this.getSuggestionKind(s),label:o,insertText:this.getInsertTextForValue(a,t,s),insertTextFormat:Kr.Snippet,detail:sE("json.suggest.default","Default value")}),i=!0}Array.isArray(e.examples)&&e.examples.forEach(s=>{let a=e.type,o=s;for(let u=r;u>0;u--)o=[o],a="array";n.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t,a),insertTextFormat:Kr.Snippet}),i=!0}),this.collectDefaultSnippets(e,t,n,{newLineFirst:!0,indentFirstObject:!0,shouldIndentWithTab:!0}),!i&&typeof e.items=="object"&&!Array.isArray(e.items)&&this.addDefaultValueCompletions(e.items,t,n,r+1)}addEnumValueCompletions(e,t,n,r){if(Qs(e.const)&&!r&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t,e.type),insertTextFormat:Kr.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(let i=0,s=e.enum.length;i<s;i++){const a=e.enum[i];let o=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?o=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(o=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t,e.type),insertTextFormat:Kr.Snippet,documentation:o})}}getLabelForValue(e){return e===null?"null":Array.isArray(e)?JSON.stringify(e):""+e}collectDefaultSnippets(e,t,n,r,i=0){if(Array.isArray(e.defaultSnippets))for(const s of e.defaultSnippets){let a=e.type,o=s.body,u=s.label,l,b;if(Qs(o)){const c=s.type||e.type;if(i===0&&c==="array"){const T={};Object.keys(o).forEach((ee,X)=>{X===0&&!ee.startsWith("-")?T[`- ${ee}`]=o[ee]:T[` ${ee}`]=o[ee]}),o=T}const _=Object.keys(n.proposed).filter(T=>n.proposed[T].label===ll);if(l=this.getInsertTextForSnippetValue(o,t,r,_),l===""&&o)continue;u=u||this.getLabelForSnippetValue(o)}else if(typeof s.bodyText=="string"){let c="",_="",T="";for(let ee=i;ee>0;ee--)c=c+T+`[
466
+ `,_=_+`
467
+ `+T+"]",T+=this.indentation,a="array";l=c+T+s.bodyText.split(`
468
+ `).join(`
469
+ `+T)+_+t,u=u||l,b=l.replace(/[\n]/g,"")}n.add({kind:s.suggestionKind||this.getSuggestionKind(a),label:u,sortText:s.sortText||s.label,documentation:this.fromMarkup(s.markdownDescription)||s.description,insertText:l,insertTextFormat:Kr.Snippet,filterText:b})}}getInsertTextForSnippetValue(e,t,n,r,i){return ul(e,"",a=>{if(typeof a=="string"){if(a[0]==="^")return a.substr(1);if(a==="true"||a==="false")return`"${a}"`}return a},{...n,indentation:this.indentation,existingProps:r},i)+t}addBooleanValueCompletion(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t,"boolean"),insertTextFormat:Kr.Snippet,documentation:""})}addNullValueCompletion(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Kr.Snippet,documentation:""})}getLabelForSnippetValue(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")}getCustomTagValueCompletions(e){pg(this.customTags).forEach(n=>{const r=n.split(" ")[0];this.addCustomTagValueCompletion(e," ",r)})}addCustomTagValueCompletion(e,t,n){e.add({kind:this.getSuggestionKind("string"),label:n,insertText:n+t,insertTextFormat:Kr.Snippet,documentation:""})}getDocumentationWithMarkdownText(e,t){let n=e;return this.doesSupportMarkdown()&&(t=t.replace(/\${[0-9]+[:|](.*)}/g,(r,i)=>i).replace(/\$([0-9]+)/g,""),n=this.fromMarkup(`${e}
470
+ \`\`\`
471
+ ${t}
472
+ \`\`\``)),n}getSuggestionKind(e){if(Array.isArray(e)){const t=e;e=t.length>0?t[0]:null}if(!e)return Ai.Value;switch(e){case"string":return Ai.Value;case"object":return Ai.Module;case"property":return Ai.Property;default:return Ai.Value}}getCurrentWord(e,t){let n=t-1;const r=e.getText();for(;n>=0&&`
473
+ \r\v":{[,]}`.indexOf(r.charAt(n))===-1;)n--;return r.substring(n+1,t)}fromMarkup(e){if(e&&this.doesSupportMarkdown())return{kind:fs.Markdown,value:e}}doesSupportMarkdown(){if(this.supportsMarkdown===void 0){const e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&e.completionItem.documentationFormat.indexOf(fs.Markdown)!==-1}return this.supportsMarkdown}findItemAtOffset(e,t,n){for(let r=e.items.length-1;r>=0;r--){const i=e.items[r];if(mr(i)&&i.range){if(n>i.range[1])return r;if(n>=i.range[0])return r}}return 0}},oE=/^\d+$/;function cl(e){let t;if(typeof e=="string"?t=e:t=""+e,t.length===0)return t;if(t==="true"||t==="false"||t==="null"||oE.test(t))return`"${t}"`;t.indexOf('"')!==-1&&(t=t.replace(Lg,'"'));let n=!isNaN(parseInt(t))||t.charAt(0)==="@";if(!n){let r=t.indexOf(":",0);for(;r>0&&r<t.length;r=t.indexOf(":",r+1)){if(r===t.length-1){n=!0;break}const i=t.charAt(r+1);if(i===" "||i===" "){n=!0;break}}}return n&&(t=`"${t}"`),t}function uE(e){return e.replace(/\$\{1:(.*)\}/,"$1")}function lE(e){return"parent"in e}var cE=class{constructor(e){this.telemetry=e}getDefinition(e,t){var n;try{const r=Wi.getYamlDocument(e),i=e.offsetAt(t.position),s=Zu(i,r);if(s){const[a]=s.getNodeFromPosition(i,new Zs(e));if(a&&Ki(a)){const o=a.resolve(s.internalDocument);if(o&&o.range){const u=On.create(e.positionAt(o.range[0]),e.positionAt(o.range[2])),l=On.create(e.positionAt(o.range[0]),e.positionAt(o.range[1]));return[$c.create(e.uri,u,l)]}}}}catch(r){(n=this.telemetry)==null||n.sendError("yaml.definition.error",{error:ms(r)})}}};function fE(e,t){const n=Wi.getYamlDocument(e);return t.map(a=>{const o=r(a);let u;for(const l of o)u=_u.create(l,u);return u??_u.create({start:a,end:a})});function r(a){const o=e.offsetAt(a),u=[];for(const l of n.documents){let b,c;for(l.visit(_=>{const T=_.offset+_.length;if(T<o||s(T-1,T)===`
474
+ `&&T-1<o)return!0;let ee=_.offset;if(ee>o){const X=i(_,a);if(!X||X>o)return!0;ee=X}return(!b||ee>=b.offset)&&(b=_,c=ee),!0});b;){const _=c??b.offset,T=b.offset+b.length,ee={start:e.positionAt(_),end:e.positionAt(T)},X=e.getText(ee),L=pE(X),he=_+L.length;he>=o&&(ee.end=e.positionAt(he));const Te=(Pe,Fe)=>L.startsWith(Pe)&&L.endsWith(Fe||Pe);(b.type==="string"&&(Te("'")||Te('"'))||b.type==="object"&&Te("{","}")||b.type==="array"&&Te("[","]"))&&u.push({start:e.positionAt(_+1),end:e.positionAt(T-1)}),u.push(ee),b=b.parent,c=void 0}if(u.length>0)break}return u.reverse()}function i(a,o){var u;const l=e.positionAt(a.offset);if(l.line===o.line){if(((u=a.parent)==null?void 0:u.type)==="array"&&s(a.offset-2,a.offset)==="- ")return a.offset-2;if(a.type==="array"||a.type==="object"){const b={line:l.line,character:0};if(e.getText({start:b,end:l}).trim().length===0)return e.offsetAt(b)}}}function s(a,o){return e.getText({start:e.positionAt(a),end:e.positionAt(o)})}}function pE(e){return e.endsWith(`\r
475
+ `)?e.substring(0,e.length-2):e.endsWith(`
476
+ `)?e.substring(0,e.length-1):e}var Gf;(function(e){e[e.SchemaStore=1]="SchemaStore",e[e.SchemaAssociation=2]="SchemaAssociation",e[e.Settings=3]="Settings"})(Gf||(Gf={}));function dE(e){const t=new B2(e.schemaRequestService,e.workspaceContext),n=new aE(t,e.clientCapabilities,Wi,e.telemetry),r=new I2(t,e.telemetry),i=new M2(t,e.telemetry),s=new G2(t,e.telemetry),a=new J2,o=new Q2(e.clientCapabilities),u=new eE(t,e.telemetry),l=new Y2(e.telemetry),b=new cE(e.telemetry);return{configure:c=>{t.clearExternalSchemas(),c.schemas&&(t.schemaPriorityMapping=new Map,c.schemas.forEach(_=>{const T=_.priority?_.priority:0;t.addSchemaPriority(_.uri,T),t.registerExternalSchema(_.uri,_.fileMatch,_.schema,_.name,_.description,_.versions)})),s.configure(c),r.configure(c),n.configure(c),a.configure(c),o.configure(c)},registerCustomSchemaProvider:c=>{t.registerCustomSchemaProvider(c)},findLinks:l.findLinks.bind(l),doComplete:n.doComplete.bind(n),doValidation:s.doValidation.bind(s),doHover:r.doHover.bind(r),findDocumentSymbols:i.findDocumentSymbols.bind(i),findDocumentSymbols2:i.findHierarchicalDocumentSymbols.bind(i),doDefinition:b.getDefinition.bind(b),resetSchema:c=>t.onResourceChange(c),doFormat:a.format.bind(a),doDocumentOnTypeFormatting:K2,addSchema:(c,_)=>t.saveSchema(c,_),deleteSchema:c=>t.deleteSchema(c),modifySchemaContent:c=>t.addContent(c),deleteSchemaContent:c=>t.deleteContent(c),deleteSchemasWhole:c=>t.deleteSchemas(c),getFoldingRanges:H2,getSelectionRanges:fE,getCodeAction:(c,_)=>o.getCodeAction(c,_),getCodeLens:c=>u.getCodeLens(c),resolveCodeLens:c=>u.resolveCodeLens(c)}}async function hE(e){const t=await fetch(e);if(t.ok)return t.text();throw new Error(`Schema request failed for ${e}`)}var mE={send(){},sendError(e,t){console.error("monaco-yaml",e,t)},sendTrack(){}},gE={resolveRelativePath(e,t){return String(new URL(e,t))}};rb((e,{enableSchemaRequest:t,...n})=>{const r=dE({schemaRequestService:t?hE:null,telemetry:mE,workspaceContext:gE}),i=s=>(a,...o)=>{const u=e.getMirrorModels();for(const l of u)if(String(l.uri)===a)return s(Mc.create(a,"yaml",l.version,l.getValue()),...o)};return r.configure(n),{doValidation:i(s=>r.doValidation(s,!!n.isKubernetes)),doComplete:i((s,a)=>r.doComplete(s,a,!!n.isKubernetes)),doDefinition:i((s,a)=>r.doDefinition(s,{position:a,textDocument:s})),doDocumentOnTypeFormatting:i((s,a,o,u)=>r.doDocumentOnTypeFormatting(s,{ch:o,options:u,position:a,textDocument:s})),doHover:i(r.doHover),format:i(r.doFormat),resetSchema:r.resetSchema,findDocumentSymbols:i(r.findDocumentSymbols2),findLinks:i(r.findLinks),getCodeAction:i((s,a,o)=>r.getCodeAction(s,{range:a,textDocument:s,context:o})),getFoldingRanges:i(s=>r.getFoldingRanges(s,{lineFoldingOnly:!0})),getSelectionRanges:i(r.getSelectionRanges)}})})();