@arcgis/coding-components 4.33.0-next.61 → 4.33.0-next.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/{DGMVS5MD.js → 24PO7O2H.js} +2 -2
- package/dist/arcgis-coding-components/4GOQ5WDQ.js +4 -0
- package/dist/arcgis-coding-components/{3WKEDART.js → 5HV3YWO4.js} +2 -2
- package/dist/arcgis-coding-components/{3S5WBJAT.js.LEGAL.txt → 5HV3YWO4.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{IELON4BY.js → 6LWEF5ON.js} +2 -2
- package/dist/arcgis-coding-components/{IELON4BY.js.LEGAL.txt → 6LWEF5ON.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{4TGC2YVW.js → 6RYJFJCH.js} +3 -3
- package/dist/arcgis-coding-components/{3WKEDART.js.LEGAL.txt → 6RYJFJCH.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{JVFJG37N.js → BDI4K5OU.js} +2 -2
- package/dist/arcgis-coding-components/{4TGC2YVW.js.LEGAL.txt → BDI4K5OU.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{Y72WSZSA.js → FK446SI3.js} +2 -2
- package/dist/arcgis-coding-components/FKGZZBZN.js +4 -0
- package/dist/arcgis-coding-components/HO2MLFRE.js +8 -0
- package/dist/arcgis-coding-components/{6WN6FYS5.js → I4QK3BNI.js} +3 -3
- package/dist/arcgis-coding-components/{6WN6FYS5.js.LEGAL.txt → I4QK3BNI.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{M4WQDAJ4.js → II3NX22L.js} +2 -2
- package/dist/arcgis-coding-components/{3JRHGVLD.js.LEGAL.txt → II3NX22L.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{EEI5WQHE.js → JMI2SZKG.js} +2 -2
- package/dist/arcgis-coding-components/{7AOFGUCK.js → JZRXQKNT.js} +2 -2
- package/dist/arcgis-coding-components/JZRXQKNT.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/K4RG7IMN.js +10 -0
- package/dist/arcgis-coding-components/K4RG7IMN.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/L3Y2VPFI.js +6 -0
- package/dist/arcgis-coding-components/{BHN3J3CN.js.LEGAL.txt → L3Y2VPFI.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{AZZE5WAU.js → NFETV2U4.js} +2 -2
- package/dist/arcgis-coding-components/NFETV2U4.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{NKFHDEY5.js → NGJ4OHYK.js} +2 -2
- package/dist/arcgis-coding-components/{FO5TRG54.js → NPVP5YXZ.js} +1 -1
- package/dist/arcgis-coding-components/{TA65MBO3.js → NZS4MTGO.js} +2 -2
- package/dist/arcgis-coding-components/{HTHWX3VZ.js → OUQ2NVUX.js} +2 -2
- package/dist/arcgis-coding-components/PYP3YCHO.js +18 -0
- package/dist/arcgis-coding-components/PYP3YCHO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{WXUPTZIP.js → Q44MLGZB.js} +2 -2
- package/dist/arcgis-coding-components/Q44MLGZB.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{UKWHC4IA.js → QFJ3UQIH.js} +2 -2
- package/dist/arcgis-coding-components/QFJ3UQIH.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3JRHGVLD.js → QRNSOZNL.js} +2 -2
- package/dist/arcgis-coding-components/QRNSOZNL.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{3S5WBJAT.js → QXIJGDRX.js} +2 -2
- package/dist/arcgis-coding-components/QXIJGDRX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{34V6L6JE.js → RFX7T5QK.js} +2 -2
- package/dist/arcgis-coding-components/{SLARHYAZ.js → SJ42AIPN.js} +2 -2
- package/dist/arcgis-coding-components/SJ42AIPN.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{EZPV4AUT.js → UJASTP6T.js} +2 -2
- package/dist/arcgis-coding-components/{CEUAKWWU.js → UJFAEJXK.js} +2 -2
- package/dist/arcgis-coding-components/{SU7M4SIO.js → WUUISORM.js} +2 -2
- package/dist/arcgis-coding-components/{WSDK5TR3.js → XAZ5PCQX.js} +2 -2
- package/dist/arcgis-coding-components/XAZ5PCQX.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{ARSKLAIP.js → YAEI5OMS.js} +1 -1
- package/dist/arcgis-coding-components/YAEI5OMS.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{J4QGWKJC.js → Z3SS3ULS.js} +2 -2
- package/dist/arcgis-coding-components/Z3SS3ULS.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{Y56BC6BZ.js → ZBKF56TP.js} +2 -2
- package/dist/arcgis-coding-components/{EP7BMCAK.js → ZIFDWI7D.js} +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +30 -30
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +30 -30
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +10 -10
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +26 -26
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +28 -28
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +33 -33
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +103 -103
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +4 -4
- package/dist/docs/docs.json +4 -4
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +7 -7
- package/dist/arcgis-coding-components/4KGTS7M4.js +0 -4
- package/dist/arcgis-coding-components/7AOFGUCK.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/ARSKLAIP.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/AZZE5WAU.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/BHN3J3CN.js +0 -6
- package/dist/arcgis-coding-components/CQHJQDGZ.js +0 -6
- package/dist/arcgis-coding-components/DSU4ZSRW.js +0 -4
- package/dist/arcgis-coding-components/J4QGWKJC.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/JVFJG37N.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/M4WQDAJ4.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/PMZUS43V.js +0 -18
- package/dist/arcgis-coding-components/PMZUS43V.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/SLARHYAZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/TGD72ELN.js +0 -12
- package/dist/arcgis-coding-components/TGD72ELN.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/UKWHC4IA.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/WSDK5TR3.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/WXUPTZIP.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{DGMVS5MD.js.LEGAL.txt → 24PO7O2H.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{4KGTS7M4.js.LEGAL.txt → 4GOQ5WDQ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{Y72WSZSA.js.LEGAL.txt → FK446SI3.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CQHJQDGZ.js.LEGAL.txt → FKGZZBZN.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{DSU4ZSRW.js.LEGAL.txt → HO2MLFRE.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{EEI5WQHE.js.LEGAL.txt → JMI2SZKG.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{NKFHDEY5.js.LEGAL.txt → NGJ4OHYK.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{EZPV4AUT.js.LEGAL.txt → NPVP5YXZ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{TA65MBO3.js.LEGAL.txt → NZS4MTGO.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{HTHWX3VZ.js.LEGAL.txt → OUQ2NVUX.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{34V6L6JE.js.LEGAL.txt → RFX7T5QK.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{FO5TRG54.js.LEGAL.txt → UJASTP6T.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{CEUAKWWU.js.LEGAL.txt → UJFAEJXK.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{SU7M4SIO.js.LEGAL.txt → WUUISORM.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{Y56BC6BZ.js.LEGAL.txt → ZBKF56TP.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{EP7BMCAK.js.LEGAL.txt → ZIFDWI7D.js.LEGAL.txt} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var Hr=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ii=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?St.isErrorNoTelemetry(t)?new St(t.message+`
|
|
2
2
|
|
|
3
3
|
`+t.stack):new Error(t.message+`
|
|
4
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)}},uu=new Li;function De(e){cu(e)||uu.onUnexpectedError(e)}function Ei(e){if(e instanceof Error){let{name:t,message:n}=e,i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:i,noTelemetry:Ht.isErrorNoTelemetry(e)}}return e}var Ci="Canceled";function cu(e){return e instanceof wn?!0:e instanceof Error&&e.name===Ci&&e.message===Ci}var wn=class extends Error{constructor(){super(Ci),this.name=this.message}};var Ht=class e extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof e)return t;let n=new e;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}},re=class e extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,e.prototype)}};function Ri(e,t){let n=this,i=!1,r;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}var mt;(function(e){function t(E){return E&&typeof E=="object"&&typeof E[Symbol.iterator]=="function"}e.is=t;let n=Object.freeze([]);function i(){return n}e.empty=i;function*r(E){yield E}e.single=r;function s(E){return t(E)?E:r(E)}e.wrap=s;function o(E){return E||n}e.from=o;function*l(E){for(let D=E.length-1;D>=0;D--)yield E[D]}e.reverse=l;function a(E){return!E||E[Symbol.iterator]().next().done===!0}e.isEmpty=a;function u(E){return E[Symbol.iterator]().next().value}e.first=u;function c(E,D){let N=0;for(let b of E)if(D(b,N++))return!0;return!1}e.some=c;function d(E,D){for(let N of E)if(D(N))return N}e.find=d;function*f(E,D){for(let N of E)D(N)&&(yield N)}e.filter=f;function*p(E,D){let N=0;for(let b of E)yield D(b,N++)}e.map=p;function*_(E,D){let N=0;for(let b of E)yield*D(b,N++)}e.flatMap=_;function*m(...E){for(let D of E)yield*D}e.concat=m;function k(E,D,N){let b=N;for(let g of E)b=D(b,g);return b}e.reduce=k;function*x(E,D,N=E.length){for(D<0&&(D+=E.length),N<0?N+=E.length:N>E.length&&(N=E.length);D<N;D++)yield E[D]}e.slice=x;function w(E,D=Number.POSITIVE_INFINITY){let N=[];if(D===0)return[N,E];let b=E[Symbol.iterator]();for(let g=0;g<D;g++){let y=b.next();if(y.done)return[N,e.empty()];N.push(y.value)}return[N,{[Symbol.iterator](){return b}}]}e.consume=w;async function A(E){let D=[];for await(let N of E)D.push(N);return Promise.resolve(D)}e.asyncToArray=A})(mt||(mt={}));var du=!1,pt=null;function fu(e){pt=e}if(du){let e="__is_disposable_tracked__";fu(new class{trackDisposable(t){let n=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||console.log(n)},3e3)}setParent(t,n){if(t&&t!==we.None)try{t[e]=!0}catch{}}markAsDisposed(t){if(t&&t!==we.None)try{t[e]=!0}catch{}}markAsSingleton(t){}})}function Ni(e){return pt?.trackDisposable(e),e}function Di(e){pt?.markAsDisposed(e)}function Mi(e,t){pt?.setParent(e,t)}function mu(e,t){if(pt)for(let n of e)pt.setParent(n,t)}function Ii(e){if(mt.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(i){t.push(i)}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 cs(...e){let t=Be(()=>Ii(e));return mu(e,t),t}function Be(e){let t=Ni({dispose:Ri(()=>{Di(t),e()})});return t}var vn=class vn{constructor(){this._toDispose=new Set,this._isDisposed=!1,Ni(this)}dispose(){this._isDisposed||(Di(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Ii(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 Mi(t,this),this._isDisposed?vn.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),Mi(t,null))}};vn.DISABLE_DISPOSED_WARNING=!1;var nt=vn,zi=class zi{constructor(){this._store=new nt,Ni(this),Mi(this._store,this)}dispose(){Di(this),this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};zi.None=Object.freeze({dispose(){}});var we=zi;var gt=class gt{constructor(t){this.element=t,this.next=gt.Undefined,this.prev=gt.Undefined}};gt.Undefined=new gt(void 0);var ee=gt,Pt=class{constructor(){this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ee.Undefined}clear(){let t=this._first;for(;t!==ee.Undefined;){let n=t.next;t.prev=ee.Undefined,t.next=ee.Undefined,t=n}this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){let i=new ee(t);if(this._first===ee.Undefined)this._first=i,this._last=i;else if(n){let s=this._last;this._last=i,i.prev=s,s.next=i}else{let s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==ee.Undefined){let t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==ee.Undefined){let t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==ee.Undefined&&t.next!==ee.Undefined){let n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===ee.Undefined&&t.next===ee.Undefined?(this._first=ee.Undefined,this._last=ee.Undefined):t.next===ee.Undefined?(this._last=this._last.prev,this._last.next=ee.Undefined):t.prev===ee.Undefined&&(this._first=this._first.next,this._first.prev=ee.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==ee.Undefined;)yield t.element,t=t.next}};var pu=globalThis.performance&&typeof globalThis.performance.now=="function",bt=class e{static create(t){return new e(t)}constructor(t){this._now=pu&&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 gu=!1,hs=!1,bu=!1,vt;(function(e){e.None=()=>we.None;function t(v){if(bu){let{onDidAddListener:T}=v,R=Wt.create(),M=0;v.onDidAddListener=()=>{++M===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),R.print()),T?.()}}}function n(v,T){return p(v,()=>{},0,void 0,!0,void 0,T)}e.defer=n;function i(v){return(T,R=null,M)=>{let P=!1,F;return F=v(U=>{if(!P)return F?F.dispose():P=!0,T.call(R,U)},null,M),P&&F.dispose(),F}}e.once=i;function r(v,T){return e.once(e.filter(v,T))}e.onceIf=r;function s(v,T,R){return d((M,P=null,F)=>v(U=>M.call(P,T(U)),null,F),R)}e.map=s;function o(v,T,R){return d((M,P=null,F)=>v(U=>{T(U),M.call(P,U)},null,F),R)}e.forEach=o;function l(v,T,R){return d((M,P=null,F)=>v(U=>T(U)&&M.call(P,U),null,F),R)}e.filter=l;function a(v){return v}e.signal=a;function u(...v){return(T,R=null,M)=>{let P=cs(...v.map(F=>F(U=>T.call(R,U))));return f(P,M)}}e.any=u;function c(v,T,R,M){let P=R;return s(v,F=>(P=T(P,F),P),M)}e.reduce=c;function d(v,T){let R,M={onWillAddFirstListener(){R=v(P.fire,P)},onDidRemoveLastListener(){R?.dispose()}};T||t(M);let P=new se(M);return T?.add(P),P.event}function f(v,T){return T instanceof Array?T.push(v):T&&T.add(v),v}function p(v,T,R=100,M=!1,P=!1,F,U){let O,j,ie,xe=0,tt,ls={leakWarningThreshold:F,onWillAddFirstListener(){O=v(su=>{xe++,j=T(j,su),M&&!ie&&(_n.fire(j),j=void 0),tt=()=>{let au=j;j=void 0,ie=void 0,(!M||xe>1)&&_n.fire(au),xe=0},typeof R=="number"?(clearTimeout(ie),ie=setTimeout(tt,R)):ie===void 0&&(ie=0,queueMicrotask(tt))})},onWillRemoveListener(){P&&xe>0&&tt?.()},onDidRemoveLastListener(){tt=void 0,O.dispose()}};U||t(ls);let _n=new se(ls);return U?.add(_n),_n.event}e.debounce=p;function _(v,T=0,R){return e.debounce(v,(M,P)=>M?(M.push(P),M):[P],T,void 0,!0,void 0,R)}e.accumulate=_;function m(v,T=(M,P)=>M===P,R){let M=!0,P;return l(v,F=>{let U=M||!T(F,P);return M=!1,P=F,U},R)}e.latch=m;function k(v,T,R){return[e.filter(v,T,R),e.filter(v,M=>!T(M),R)]}e.split=k;function x(v,T=!1,R=[],M){let P=R.slice(),F=v(j=>{P?P.push(j):O.fire(j)});M&&M.add(F);let U=()=>{P?.forEach(j=>O.fire(j)),P=null},O=new se({onWillAddFirstListener(){F||(F=v(j=>O.fire(j)),M&&M.add(F))},onDidAddFirstListener(){P&&(T?setTimeout(U):U())},onDidRemoveLastListener(){F&&F.dispose(),F=null}});return M&&M.add(O),O.event}e.buffer=x;function w(v,T){return(M,P,F)=>{let U=T(new E);return v(function(O){let j=U.evaluate(O);j!==A&&M.call(P,j)},void 0,F)}}e.chain=w;let A=Symbol("HaltChainable");class E{constructor(){this.steps=[]}map(T){return this.steps.push(T),this}forEach(T){return this.steps.push(R=>(T(R),R)),this}filter(T){return this.steps.push(R=>T(R)?R:A),this}reduce(T,R){let M=R;return this.steps.push(P=>(M=T(M,P),M)),this}latch(T=(R,M)=>R===M){let R=!0,M;return this.steps.push(P=>{let F=R||!T(P,M);return R=!1,M=P,F?P:A}),this}evaluate(T){for(let R of this.steps)if(T=R(T),T===A)break;return T}}function D(v,T,R=M=>M){let M=(...O)=>U.fire(R(...O)),P=()=>v.on(T,M),F=()=>v.removeListener(T,M),U=new se({onWillAddFirstListener:P,onDidRemoveLastListener:F});return U.event}e.fromNodeEventEmitter=D;function N(v,T,R=M=>M){let M=(...O)=>U.fire(R(...O)),P=()=>v.addEventListener(T,M),F=()=>v.removeEventListener(T,M),U=new se({onWillAddFirstListener:P,onDidRemoveLastListener:F});return U.event}e.fromDOMEventEmitter=N;function b(v){return new Promise(T=>i(v)(T))}e.toPromise=b;function g(v){let T=new se;return v.then(R=>{T.fire(R)},()=>{T.fire(void 0)}).finally(()=>{T.dispose()}),T.event}e.fromPromise=g;function y(v,T){return v(R=>T.fire(R))}e.forward=y;function H(v,T,R){return T(R),v(M=>T(M))}e.runAndSubscribe=H;class L{constructor(T,R){this._observable=T,this._counter=0,this._hasChanged=!1;let M={onWillAddFirstListener:()=>{T.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{T.removeObserver(this)}};R||t(M),this.emitter=new se(M),R&&R.add(this.emitter)}beginUpdate(T){this._counter++}handlePossibleChange(T){}handleChange(T,R){this._hasChanged=!0}endUpdate(T){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function S(v,T){return new L(v,T).emitter.event}e.fromObservable=S;function I(v){return(T,R,M)=>{let P=0,F=!1,U={beginUpdate(){P++},endUpdate(){P--,P===0&&(v.reportChanges(),F&&(F=!1,T.call(R)))},handlePossibleChange(){},handleChange(){F=!0}};v.addObserver(U),v.reportChanges();let O={dispose(){v.removeObserver(U)}};return M instanceof nt?M.add(O):Array.isArray(M)&&M.push(O),O}}e.fromObservableLight=I})(vt||(vt={}));var _t=class _t{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${_t._idPool++}`,_t.all.add(this)}start(t){this._stopWatch=new bt,this.listenerCount=t}stop(){if(this._stopWatch){let t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}};_t.all=new Set,_t._idPool=0;var Fi=_t,ds=-1,yn=class yn{constructor(t,n,i=(yn._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(t,n){let i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);let r=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;let[s,o]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${o}):`;console.warn(l),console.warn(s);let a=new Hi(l,s);this._errorHandler(a)}return()=>{let s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(let[i,r]of this._stacks)(!t||n<r)&&(t=[i,r],n=r);return t}};yn._idPool=1;var Ui=yn,Wt=class e{static create(){let t=new Error;return new e(t.stack??"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
|
|
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)}},Fl=new ii;function Ee(e){Ul(e)||Fl.onUnexpectedError(e)}function si(e){if(e instanceof Error){let{name:t,message:n}=e,i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:i,noTelemetry:St.isErrorNoTelemetry(e)}}return e}var ri="Canceled";function Ul(e){return e instanceof tn?!0:e instanceof Error&&e.name===ri&&e.message===ri}var tn=class extends Error{constructor(){super(ri),this.name=this.message}};var St=class e extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof e)return t;let n=new e;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}},ie=class e extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,e.prototype)}};function ai(e,t){let n=this,i=!1,r;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}var st;(function(e){function t(E){return E&&typeof E=="object"&&typeof E[Symbol.iterator]=="function"}e.is=t;let n=Object.freeze([]);function i(){return n}e.empty=i;function*r(E){yield E}e.single=r;function s(E){return t(E)?E:r(E)}e.wrap=s;function o(E){return E||n}e.from=o;function*l(E){for(let D=E.length-1;D>=0;D--)yield E[D]}e.reverse=l;function a(E){return!E||E[Symbol.iterator]().next().done===!0}e.isEmpty=a;function u(E){return E[Symbol.iterator]().next().value}e.first=u;function c(E,D){let N=0;for(let b of E)if(D(b,N++))return!0;return!1}e.some=c;function d(E,D){for(let N of E)if(D(N))return N}e.find=d;function*f(E,D){for(let N of E)D(N)&&(yield N)}e.filter=f;function*p(E,D){let N=0;for(let b of E)yield D(b,N++)}e.map=p;function*_(E,D){let N=0;for(let b of E)yield*D(b,N++)}e.flatMap=_;function*m(...E){for(let D of E)yield*D}e.concat=m;function k(E,D,N){let b=N;for(let g of E)b=D(b,g);return b}e.reduce=k;function*x(E,D,N=E.length){for(D<0&&(D+=E.length),N<0?N+=E.length:N>E.length&&(N=E.length);D<N;D++)yield E[D]}e.slice=x;function w(E,D=Number.POSITIVE_INFINITY){let N=[];if(D===0)return[N,E];let b=E[Symbol.iterator]();for(let g=0;g<D;g++){let y=b.next();if(y.done)return[N,e.empty()];N.push(y.value)}return[N,{[Symbol.iterator](){return b}}]}e.consume=w;async function A(E){let D=[];for await(let N of E)D.push(N);return Promise.resolve(D)}e.asyncToArray=A})(st||(st={}));var Pl=!1,at=null;function Wl(e){at=e}if(Pl){let e="__is_disposable_tracked__";Wl(new class{trackDisposable(t){let n=new Error("Potentially leaked disposable").stack;setTimeout(()=>{t[e]||console.log(n)},3e3)}setParent(t,n){if(t&&t!==be.None)try{t[e]=!0}catch{}}markAsDisposed(t){if(t&&t!==be.None)try{t[e]=!0}catch{}}markAsSingleton(t){}})}function li(e){return at?.trackDisposable(e),e}function ui(e){at?.markAsDisposed(e)}function oi(e,t){at?.setParent(e,t)}function Bl(e,t){if(at)for(let n of e)at.setParent(n,t)}function ci(e){if(st.is(e)){let t=[];for(let n of e)if(n)try{n.dispose()}catch(i){t.push(i)}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 Pr(...e){let t=Fe(()=>ci(e));return Bl(e,t),t}function Fe(e){let t=li({dispose:ai(()=>{ui(t),e()})});return t}var Je=class e{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1,li(this)}dispose(){this._isDisposed||(ui(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{ci(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 oi(t,this),this._isDisposed?e.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),oi(t,null))}},be=class{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new Je,li(this),oi(this._store,this)}dispose(){ui(this),this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}};var K=class e{static{this.Undefined=new e(void 0)}constructor(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}},kt=class{constructor(){this._first=K.Undefined,this._last=K.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===K.Undefined}clear(){let t=this._first;for(;t!==K.Undefined;){let n=t.next;t.prev=K.Undefined,t.next=K.Undefined,t=n}this._first=K.Undefined,this._last=K.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){let i=new K(t);if(this._first===K.Undefined)this._first=i,this._last=i;else if(n){let s=this._last;this._last=i,i.prev=s,s.next=i}else{let s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==K.Undefined){let t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==K.Undefined){let t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==K.Undefined&&t.next!==K.Undefined){let n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===K.Undefined&&t.next===K.Undefined?(this._first=K.Undefined,this._last=K.Undefined):t.next===K.Undefined?(this._last=this._last.prev,this._last.next=K.Undefined):t.prev===K.Undefined&&(this._first=this._first.next,this._first.prev=K.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==K.Undefined;)yield t.element,t=t.next}};var Ol=globalThis.performance&&typeof globalThis.performance.now=="function",ot=class e{static create(t){return new e(t)}constructor(t){this._now=Ol&&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 ql=!1,Wr=!1,Vl=!1,ut;(function(e){e.None=()=>be.None;function t(v){if(Vl){let{onDidAddListener:S}=v,R=At.create(),M=0;v.onDidAddListener=()=>{++M===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),R.print()),S?.()}}}function n(v,S){return p(v,()=>{},0,void 0,!0,void 0,S)}e.defer=n;function i(v){return(S,R=null,M)=>{let P=!1,F;return F=v(U=>{if(!P)return F?F.dispose():P=!0,S.call(R,U)},null,M),P&&F.dispose(),F}}e.once=i;function r(v,S){return e.once(e.filter(v,S))}e.onceIf=r;function s(v,S,R){return d((M,P=null,F)=>v(U=>M.call(P,S(U)),null,F),R)}e.map=s;function o(v,S,R){return d((M,P=null,F)=>v(U=>{S(U),M.call(P,U)},null,F),R)}e.forEach=o;function l(v,S,R){return d((M,P=null,F)=>v(U=>S(U)&&M.call(P,U),null,F),R)}e.filter=l;function a(v){return v}e.signal=a;function u(...v){return(S,R=null,M)=>{let P=Pr(...v.map(F=>F(U=>S.call(R,U))));return f(P,M)}}e.any=u;function c(v,S,R,M){let P=R;return s(v,F=>(P=S(P,F),P),M)}e.reduce=c;function d(v,S){let R,M={onWillAddFirstListener(){R=v(P.fire,P)},onDidRemoveLastListener(){R?.dispose()}};S||t(M);let P=new re(M);return S?.add(P),P.event}function f(v,S){return S instanceof Array?S.push(v):S&&S.add(v),v}function p(v,S,R=100,M=!1,P=!1,F,U){let O,j,ne,_e=0,Ye,Ur={leakWarningThreshold:F,onWillAddFirstListener(){O=v(Il=>{_e++,j=S(j,Il),M&&!ne&&(en.fire(j),j=void 0),Ye=()=>{let zl=j;j=void 0,ne=void 0,(!M||_e>1)&&en.fire(zl),_e=0},typeof R=="number"?(clearTimeout(ne),ne=setTimeout(Ye,R)):ne===void 0&&(ne=0,queueMicrotask(Ye))})},onWillRemoveListener(){P&&_e>0&&Ye?.()},onDidRemoveLastListener(){Ye=void 0,O.dispose()}};U||t(Ur);let en=new re(Ur);return U?.add(en),en.event}e.debounce=p;function _(v,S=0,R){return e.debounce(v,(M,P)=>M?(M.push(P),M):[P],S,void 0,!0,void 0,R)}e.accumulate=_;function m(v,S=(M,P)=>M===P,R){let M=!0,P;return l(v,F=>{let U=M||!S(F,P);return M=!1,P=F,U},R)}e.latch=m;function k(v,S,R){return[e.filter(v,S,R),e.filter(v,M=>!S(M),R)]}e.split=k;function x(v,S=!1,R=[],M){let P=R.slice(),F=v(j=>{P?P.push(j):O.fire(j)});M&&M.add(F);let U=()=>{P?.forEach(j=>O.fire(j)),P=null},O=new re({onWillAddFirstListener(){F||(F=v(j=>O.fire(j)),M&&M.add(F))},onDidAddFirstListener(){P&&(S?setTimeout(U):U())},onDidRemoveLastListener(){F&&F.dispose(),F=null}});return M&&M.add(O),O.event}e.buffer=x;function w(v,S){return(M,P,F)=>{let U=S(new E);return v(function(O){let j=U.evaluate(O);j!==A&&M.call(P,j)},void 0,F)}}e.chain=w;let A=Symbol("HaltChainable");class E{constructor(){this.steps=[]}map(S){return this.steps.push(S),this}forEach(S){return this.steps.push(R=>(S(R),R)),this}filter(S){return this.steps.push(R=>S(R)?R:A),this}reduce(S,R){let M=R;return this.steps.push(P=>(M=S(M,P),M)),this}latch(S=(R,M)=>R===M){let R=!0,M;return this.steps.push(P=>{let F=R||!S(P,M);return R=!1,M=P,F?P:A}),this}evaluate(S){for(let R of this.steps)if(S=R(S),S===A)break;return S}}function D(v,S,R=M=>M){let M=(...O)=>U.fire(R(...O)),P=()=>v.on(S,M),F=()=>v.removeListener(S,M),U=new re({onWillAddFirstListener:P,onDidRemoveLastListener:F});return U.event}e.fromNodeEventEmitter=D;function N(v,S,R=M=>M){let M=(...O)=>U.fire(R(...O)),P=()=>v.addEventListener(S,M),F=()=>v.removeEventListener(S,M),U=new re({onWillAddFirstListener:P,onDidRemoveLastListener:F});return U.event}e.fromDOMEventEmitter=N;function b(v){return new Promise(S=>i(v)(S))}e.toPromise=b;function g(v){let S=new re;return v.then(R=>{S.fire(R)},()=>{S.fire(void 0)}).finally(()=>{S.dispose()}),S.event}e.fromPromise=g;function y(v,S){return v(R=>S.fire(R))}e.forward=y;function H(v,S,R){return S(R),v(M=>S(M))}e.runAndSubscribe=H;class L{constructor(S,R){this._observable=S,this._counter=0,this._hasChanged=!1;let M={onWillAddFirstListener:()=>{S.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{S.removeObserver(this)}};R||t(M),this.emitter=new re(M),R&&R.add(this.emitter)}beginUpdate(S){this._counter++}handlePossibleChange(S){}handleChange(S,R){this._hasChanged=!0}endUpdate(S){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function T(v,S){return new L(v,S).emitter.event}e.fromObservable=T;function z(v){return(S,R,M)=>{let P=0,F=!1,U={beginUpdate(){P++},endUpdate(){P--,P===0&&(v.reportChanges(),F&&(F=!1,S.call(R)))},handlePossibleChange(){},handleChange(){F=!0}};v.addObserver(U),v.reportChanges();let O={dispose(){v.removeObserver(U)}};return M instanceof Je?M.add(O):Array.isArray(M)&&M.push(O),O}}e.fromObservableLight=z})(ut||(ut={}));var hi=class e{static{this.all=new Set}static{this._idPool=0}constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${e._idPool++}`,e.all.add(this)}start(t){this._stopWatch=new ot,this.listenerCount=t}stop(){if(this._stopWatch){let t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}},Br=-1,di=class e{static{this._idPool=1}constructor(t,n,i=(e._idPool++).toString(16).padStart(3,"0")){this._errorHandler=t,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(t,n){let i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);let r=this._stacks.get(t.value)||0;if(this._stacks.set(t.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;let[s,o]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${o}):`;console.warn(l),console.warn(s);let a=new fi(l,s);this._errorHandler(a)}return()=>{let s=this._stacks.get(t.value)||0;this._stacks.set(t.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let t,n=0;for(let[i,r]of this._stacks)(!t||n<r)&&(t=[i,r],n=r);return t}},At=class e{static create(){let t=new Error;return new e(t.stack??"")}constructor(t){this.value=t}print(){console.warn(this.value.split(`
|
|
6
6
|
`).slice(2).join(`
|
|
7
|
-
`))}},
|
|
8
|
-
`)),e.length=0)},3e3),
|
|
7
|
+
`))}},fi=class extends Error{constructor(t,n){super(t),this.name="ListenerLeakError",this.stack=n}},mi=class extends Error{constructor(t,n){super(t),this.name="ListenerRefusalError",this.stack=n}},lt=class{constructor(t){this.value=t}},jl=2,Gl=(e,t)=>{if(e instanceof lt)t(e);else for(let n=0;n<e.length;n++){let i=e[n];i&&t(i)}},nn;if(ql){let e=[];setInterval(()=>{e.length!==0&&(console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"),console.warn(e.join(`
|
|
8
|
+
`)),e.length=0)},3e3),nn=new FinalizationRegistry(t=>{typeof t=="string"&&e.push(t)})}var re=class{constructor(t){this._size=0,this._options=t,this._leakageMon=Br>0||this._options?.leakWarningThreshold?new di(t?.onListenerError??Ee,this._options?.leakWarningThreshold??Br):void 0,this._perfMon=this._options?._profName?new hi(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){if(!this._disposed){if(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners){if(Wr){let t=this._listeners;queueMicrotask(()=>{Gl(t,n=>n.stack?.print())})}this._listeners=void 0,this._size=0}this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose()}}get event(){return this._event??=(t,n,i)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let a=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(a);let u=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],c=new mi(`${a}. HINT: Stack shows most frequent listener (${u[1]}-times)`,u[0]);return(this._options?.onListenerError||Ee)(c),be.None}if(this._disposed)return be.None;n&&(t=t.bind(n));let r=new lt(t),s,o;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=At.create(),s=this._leakageMon.check(r.stack,this._size+1)),Wr&&(r.stack=o??At.create()),this._listeners?this._listeners instanceof lt?(this._deliveryQueue??=new pi,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._size++;let l=Fe(()=>{nn?.unregister(l),s?.(),this._removeListener(r)});if(i instanceof Je?i.add(l):Array.isArray(i)&&i.push(l),nn){let a=new Error().stack.split(`
|
|
9
9
|
`).slice(2,3).join(`
|
|
10
|
-
`).trim(),u=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(a);xn.register(l,u?.[2]??a,l)}return l}),this._event}_removeListener(t){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}let n=this._listeners,i=n.indexOf(t);if(i===-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[i]=void 0;let r=this._deliveryQueue.current===this;if(this._size*_u<=n.length){let s=0;for(let o=0;o<n.length;o++)n[o]?n[s++]=n[o]:r&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(t,n){if(!t)return;let i=this._options?.onListenerError||De;if(!i){t.value(n);return}try{t.value(n)}catch(r){i(r)}}_deliverQueue(t){let n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof wt)this._deliver(this._listeners,t);else{let n=this._deliveryQueue;n.enqueue(this,t,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}};var Wi=class{constructor(){this.i=-1,this.end=0}enqueue(t,n,i){this.i=0,this.end=i,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}};function Bi(){return globalThis._VSCODE_NLS_MESSAGES}function Bt(){return globalThis._VSCODE_NLS_LANGUAGE}var vu=Bt()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function fs(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(i,r)=>{let s=r[0],o=t[s],l=i;return typeof o=="string"?l=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(l=String(o)),l}),vu&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function Q(e,t,...n){return fs(typeof e=="number"?xu(e,t):t,n)}function xu(e,t){let n=Bi()?.[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}var xt="en",kn=!1,An=!1,Sn=!1,Tu=!1,ps=!1,Vi=!1,Su=!1,ku=!1,Au=!1,Lu=!1,Tn,Oi=xt,ms=xt,Cu,Ie,ze=globalThis,ge;typeof ze.vscode<"u"&&typeof ze.vscode.process<"u"?ge=ze.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(ge=process);var gs=typeof ge?.versions?.electron=="string",Eu=gs&&ge?.type==="renderer";if(typeof ge=="object"){kn=ge.platform==="win32",An=ge.platform==="darwin",Sn=ge.platform==="linux",Tu=Sn&&!!ge.env.SNAP&&!!ge.env.SNAP_REVISION,Su=gs,Au=!!ge.env.CI||!!ge.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Tn=xt,Oi=xt;let e=ge.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);Tn=t.userLocale,ms=t.osLocale,Oi=t.resolvedLanguage||xt,Cu=t.languagePack?.translationsConfigFile}catch{}ps=!0}else typeof navigator=="object"&&!Eu?(Ie=navigator.userAgent,kn=Ie.indexOf("Windows")>=0,An=Ie.indexOf("Macintosh")>=0,ku=(Ie.indexOf("Macintosh")>=0||Ie.indexOf("iPad")>=0||Ie.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Sn=Ie.indexOf("Linux")>=0,Lu=Ie?.indexOf("Mobi")>=0,Vi=!0,Oi=Bt()||xt,Tn=navigator.language.toLowerCase(),ms=Tn):console.error("Unable to resolve platform.");var qi=0;An?qi=1:kn?qi=3:Sn&&(qi=2);var it=kn,bs=An;var _s=ps,ji=Vi,Ru=Vi&&typeof ze.importScripts=="function",ws=Ru?ze.origin:void 0;var Ae=Ie;var Mu=typeof ze.postMessage=="function"&&!ze.importScripts,vs=(()=>{if(Mu){let e=[];ze.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=e.length;i<r;i++){let s=e[i];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(i,1),s.callback();return}}});let t=0;return n=>{let i=++t;e.push({id:i,callback:n}),ze.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();var Nu=!!(Ae&&Ae.indexOf("Chrome")>=0),yd=!!(Ae&&Ae.indexOf("Firefox")>=0),Td=!!(!Nu&&Ae&&Ae.indexOf("Safari")>=0),Sd=!!(Ae&&Ae.indexOf("Edg/")>=0),kd=!!(Ae&&Ae.indexOf("Android")>=0);function Iu(e){return e}var Ln=class{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=Iu):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){let n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}};var Ot=class{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 ys(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ts(e){return e.split(/\r\n|\r|\n/)}function Ss(e){for(let t=0,n=e.length;t<n;t++){let i=e.charCodeAt(t);if(i!==32&&i!==9)return t}return-1}function ks(e,t=e.length-1){for(let n=t;n>=0;n--){let i=e.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function Gi(e){return e>=65&&e<=90}function kt(e){return 55296<=e&&e<=56319}function Cn(e){return 56320<=e&&e<=57343}function $i(e,t){return(e-55296<<10)+(t-56320)+65536}function As(e,t,n){let i=e.charCodeAt(n);if(kt(i)&&n+1<t){let r=e.charCodeAt(n+1);if(Cn(r))return $i(i,r)}return i}var zu=/^[\t\n\r\x20-\x7E]*$/;function Ls(e){return zu.test(e)}var rt=class rt{static getInstance(){return rt._INSTANCE||(rt._INSTANCE=new rt),rt._INSTANCE}constructor(){this._data=Fu()}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;let n=this._data,i=n.length/3,r=1;for(;r<=i;)if(t<n[3*r])r=2*r;else if(t>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};rt._INSTANCE=null;var xs=rt;function Fu(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}var Le=class Le{static getInstance(t){return Le.cache.get(Array.from(t))}static getLocales(){return Le._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())}};Le.ambiguousCharacterData=new Ot(()=>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]}')),Le.cache=new Ln({getCacheKey:JSON.stringify},t=>{function n(c){let d=new Map;for(let f=0;f<c.length;f+=2)d.set(c[f],c[f+1]);return d}function i(c,d){let f=new Map(c);for(let[p,_]of d)f.set(p,_);return f}function r(c,d){if(!c)return d;let f=new Map;for(let[p,_]of c)d.has(p)&&f.set(p,_);return f}let s=Le.ambiguousCharacterData.value,o=t.filter(c=>!c.startsWith("_")&&c in s);o.length===0&&(o=["_default"]);let l;for(let c of o){let d=n(s[c]);l=r(l,d)}let a=n(s._common),u=i(a,l);return new Le(u)}),Le._locales=new Ot(()=>Object.keys(Le.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")));var Tt=Le,yt=class yt{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(yt.getRawData())),this._data}static isInvisibleCharacter(t){return yt.getData().has(t)}static get codePoints(){return yt.getData()}};yt._data=void 0;var St=yt;var At,Xi=globalThis.vscode;if(typeof Xi<"u"&&typeof Xi.process<"u"){let e=Xi.process;At={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?At={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:At={get platform(){return it?"win32":bs?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};var Vt=At.cwd,Cs=At.env,Es=At.platform;var Hu=65,Pu=97,Wu=90,Bu=122,Ve=46,oe=47,fe=92,Oe=58,Ou=63,En=class extends Error{constructor(t,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";let s=t.indexOf(".")!==-1?"property":"argument",o=`The "${t}" ${s} ${r} of type ${n}`;o+=`. Received type ${typeof i}`,super(o),this.code="ERR_INVALID_ARG_TYPE"}};function qu(e,t){if(e===null||typeof e!="object")throw new En(t,"Object",e)}function te(e,t){if(typeof e!="string")throw new En(t,"string",e)}var Fe=Es==="win32";function V(e){return e===oe||e===fe}function Yi(e){return e===oe}function qe(e){return e>=Hu&&e<=Wu||e>=Pu&&e<=Bu}function Rn(e,t,n,i){let r="",s=0,o=-1,l=0,a=0;for(let u=0;u<=e.length;++u){if(u<e.length)a=e.charCodeAt(u);else{if(i(a))break;a=oe}if(i(a)){if(!(o===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==Ve||r.charCodeAt(r.length-2)!==Ve){if(r.length>2){let c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),o=u,l=0;continue}else if(r.length!==0){r="",s=0,o=u,l=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,l=0}else a===Ve&&l!==-1?++l:l=-1}return r}function Vu(e){return e?`${e[0]==="."?"":"."}${e}`:""}function Rs(e,t){qu(t,"pathObject");let n=t.dir||t.root,i=t.base||`${t.name||""}${Vu(t.ext)}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}var ce={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],te(s,`paths[${r}]`),s.length===0)continue}else t.length===0?s=Vt():(s=Cs[`=${t}`]||Vt(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===fe)&&(s=`${t}\\`));let o=s.length,l=0,a="",u=!1,c=s.charCodeAt(0);if(o===1)V(c)&&(l=1,u=!0);else if(V(c))if(u=!0,V(s.charCodeAt(1))){let d=2,f=d;for(;d<o&&!V(s.charCodeAt(d));)d++;if(d<o&&d!==f){let p=s.slice(f,d);for(f=d;d<o&&V(s.charCodeAt(d));)d++;if(d<o&&d!==f){for(f=d;d<o&&!V(s.charCodeAt(d));)d++;(d===o||d!==f)&&(a=`\\\\${p}\\${s.slice(f,d)}`,l=d)}}}else l=1;else qe(c)&&s.charCodeAt(1)===Oe&&(a=s.slice(0,2),l=2,o>2&&V(s.charCodeAt(2))&&(u=!0,l=3));if(a.length>0)if(t.length>0){if(a.toLowerCase()!==t.toLowerCase())continue}else t=a;if(i){if(t.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&t.length>0)break}return n=Rn(n,!i,"\\",V),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){te(e,"path");let t=e.length;if(t===0)return".";let n=0,i,r=!1,s=e.charCodeAt(0);if(t===1)return Yi(s)?"\\":e;if(V(s))if(r=!0,V(e.charCodeAt(1))){let l=2,a=l;for(;l<t&&!V(e.charCodeAt(l));)l++;if(l<t&&l!==a){let u=e.slice(a,l);for(a=l;l<t&&V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&!V(e.charCodeAt(l));)l++;if(l===t)return`\\\\${u}\\${e.slice(a)}\\`;l!==a&&(i=`\\\\${u}\\${e.slice(a,l)}`,n=l)}}}else n=1;else qe(s)&&e.charCodeAt(1)===Oe&&(i=e.slice(0,2),n=2,t>2&&V(e.charCodeAt(2))&&(r=!0,n=3));let o=n<t?Rn(e.slice(n),!r,"\\",V):"";return o.length===0&&!r&&(o="."),o.length>0&&V(e.charCodeAt(t-1))&&(o+="\\"),i===void 0?r?`\\${o}`:o:r?`${i}\\${o}`:`${i}${o}`},isAbsolute(e){te(e,"path");let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0);return V(n)||t>2&&qe(n)&&e.charCodeAt(1)===Oe&&V(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){let o=e[s];te(o,"path"),o.length>0&&(t===void 0?t=n=o:t+=`\\${o}`)}if(t===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&V(n.charCodeAt(0))){++r;let s=n.length;s>1&&V(n.charCodeAt(1))&&(++r,s>2&&(V(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&V(t.charCodeAt(r));)r++;r>=2&&(t=`\\${t.slice(r)}`)}return ce.normalize(t)},relative(e,t){if(te(e,"from"),te(t,"to"),e===t)return"";let n=ce.resolve(e),i=ce.resolve(t);if(n===i||(e=n.toLowerCase(),t=i.toLowerCase(),e===t))return"";let r=0;for(;r<e.length&&e.charCodeAt(r)===fe;)r++;let s=e.length;for(;s-1>r&&e.charCodeAt(s-1)===fe;)s--;let o=s-r,l=0;for(;l<t.length&&t.charCodeAt(l)===fe;)l++;let a=t.length;for(;a-1>l&&t.charCodeAt(a-1)===fe;)a--;let u=a-l,c=o<u?o:u,d=-1,f=0;for(;f<c;f++){let _=e.charCodeAt(r+f);if(_!==t.charCodeAt(l+f))break;_===fe&&(d=f)}if(f!==c){if(d===-1)return i}else{if(u>c){if(t.charCodeAt(l+f)===fe)return i.slice(l+f+1);if(f===2)return i.slice(l+f)}o>c&&(e.charCodeAt(r+f)===fe?d=f:f===2&&(d=3)),d===-1&&(d=0)}let p="";for(f=r+d+1;f<=s;++f)(f===s||e.charCodeAt(f)===fe)&&(p+=p.length===0?"..":"\\..");return l+=d,p.length>0?`${p}${i.slice(l,a)}`:(i.charCodeAt(l)===fe&&++l,i.slice(l,a))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;let t=ce.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===fe){if(t.charCodeAt(1)===fe){let n=t.charCodeAt(2);if(n!==Ou&&n!==Ve)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(qe(t.charCodeAt(0))&&t.charCodeAt(1)===Oe&&t.charCodeAt(2)===fe)return`\\\\?\\${t}`;return e},dirname(e){te(e,"path");let t=e.length;if(t===0)return".";let n=-1,i=0,r=e.charCodeAt(0);if(t===1)return V(r)?e:".";if(V(r)){if(n=i=1,V(e.charCodeAt(1))){let l=2,a=l;for(;l<t&&!V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&!V(e.charCodeAt(l));)l++;if(l===t)return e;l!==a&&(n=i=l+1)}}}}else qe(r)&&e.charCodeAt(1)===Oe&&(n=t>2&&V(e.charCodeAt(2))?3:2,i=n);let s=-1,o=!0;for(let l=t-1;l>=i;--l)if(V(e.charCodeAt(l))){if(!o){s=l;break}}else o=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&te(t,"suffix"),te(e,"path");let n=0,i=-1,r=!0,s;if(e.length>=2&&qe(e.charCodeAt(0))&&e.charCodeAt(1)===Oe&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(s=e.length-1;s>=n;--s){let a=e.charCodeAt(s);if(V(a)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(i=s):(o=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=n;--s)if(V(e.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){te(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===Oe&&qe(e.charCodeAt(0))&&(t=i=2);for(let l=e.length-1;l>=t;--l){let a=e.charCodeAt(l);if(V(a)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),a===Ve?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||r===-1||o===0||o===1&&n===r-1&&n===i+1?"":e.slice(n,r)},format:Rs.bind(null,"\\"),parse(e){te(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=e.length,i=0,r=e.charCodeAt(0);if(n===1)return V(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(V(r)){if(i=1,V(e.charCodeAt(1))){let d=2,f=d;for(;d<n&&!V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&!V(e.charCodeAt(d));)d++;d===n?i=d:d!==f&&(i=d+1)}}}}else if(qe(r)&&e.charCodeAt(1)===Oe){if(n<=2)return t.root=t.dir=e,t;if(i=2,V(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,o=i,l=-1,a=!0,u=e.length-1,c=0;for(;u>=i;--u){if(r=e.charCodeAt(u),V(r)){if(!a){o=u+1;break}continue}l===-1&&(a=!1,l=u+1),r===Ve?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===o+1?t.base=t.name=e.slice(o,l):(t.name=e.slice(o,s),t.base=e.slice(o,l),t.ext=e.slice(s,l))),o>0&&o!==i?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},ju=(()=>{if(Fe){let e=/\\/g;return()=>{let t=Vt().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Vt()})(),le={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){let r=i>=0?e[i]:ju();te(r,`paths[${i}]`),r.length!==0&&(t=`${r}/${t}`,n=r.charCodeAt(0)===oe)}return t=Rn(t,!n,"/",Yi),n?`/${t}`:t.length>0?t:"."},normalize(e){if(te(e,"path"),e.length===0)return".";let t=e.charCodeAt(0)===oe,n=e.charCodeAt(e.length-1)===oe;return e=Rn(e,!t,"/",Yi),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return te(e,"path"),e.length>0&&e.charCodeAt(0)===oe},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){let i=e[n];te(i,"path"),i.length>0&&(t===void 0?t=i:t+=`/${i}`)}return t===void 0?".":le.normalize(t)},relative(e,t){if(te(e,"from"),te(t,"to"),e===t||(e=le.resolve(e),t=le.resolve(t),e===t))return"";let n=1,i=e.length,r=i-n,s=1,o=t.length-s,l=r<o?r:o,a=-1,u=0;for(;u<l;u++){let d=e.charCodeAt(n+u);if(d!==t.charCodeAt(s+u))break;d===oe&&(a=u)}if(u===l)if(o>l){if(t.charCodeAt(s+u)===oe)return t.slice(s+u+1);if(u===0)return t.slice(s+u)}else r>l&&(e.charCodeAt(n+u)===oe?a=u:u===0&&(a=0));let c="";for(u=n+a+1;u<=i;++u)(u===i||e.charCodeAt(u)===oe)&&(c+=c.length===0?"..":"/..");return`${c}${t.slice(s+a)}`},toNamespacedPath(e){return e},dirname(e){if(te(e,"path"),e.length===0)return".";let t=e.charCodeAt(0)===oe,n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===oe){if(!i){n=r;break}}else i=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&te(t,"ext"),te(e,"path");let n=0,i=-1,r=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(s=e.length-1;s>=0;--s){let a=e.charCodeAt(s);if(a===oe){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(i=s):(o=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===oe){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){te(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let l=e.charCodeAt(o);if(l===oe){if(!r){n=o+1;break}continue}i===-1&&(r=!1,i=o+1),l===Ve?t===-1?t=o:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||i===-1||s===0||s===1&&t===i-1&&t===n+1?"":e.slice(t,i)},format:Rs.bind(null,"/"),parse(e){te(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=e.charCodeAt(0)===oe,i;n?(t.root="/",i=1):i=0;let r=-1,s=0,o=-1,l=!0,a=e.length-1,u=0;for(;a>=i;--a){let c=e.charCodeAt(a);if(c===oe){if(!l){s=a+1;break}continue}o===-1&&(l=!1,o=a+1),c===Ve?r===-1?r=a:u!==1&&(u=1):r!==-1&&(u=-1)}if(o!==-1){let c=s===0&&n?1:s;r===-1||u===0||u===1&&r===o-1&&r===s+1?t.base=t.name=e.slice(c,o):(t.name=e.slice(c,r),t.base=e.slice(c,o),t.ext=e.slice(r,o))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};le.win32=ce.win32=ce;le.posix=ce.posix=le;var Md=Fe?ce.normalize:le.normalize,Ms=Fe?ce.join:le.join,Nd=Fe?ce.resolve:le.resolve,Dd=Fe?ce.relative:le.relative,Id=Fe?ce.dirname:le.dirname,zd=Fe?ce.basename:le.basename,Fd=Fe?ce.extname:le.extname,Ud=Fe?ce.sep:le.sep;var Gu=/^\w[\w\d+.-]*$/,$u=/^\//,Xu=/^\/\//;function Yu(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&&!Gu.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!$u.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(Xu.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 Ju(e,t){return!e&&!t?"file":e}function Qu(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ye&&(t=ye+t):t=ye;break}return t}var Z="",ye="/",Zu=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,he=class e{static isUri(t){return t instanceof e?!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,i,r,s,o=!1){typeof t=="object"?(this.scheme=t.scheme||Z,this.authority=t.authority||Z,this.path=t.path||Z,this.query=t.query||Z,this.fragment=t.fragment||Z):(this.scheme=Ju(t,o),this.authority=n||Z,this.path=Qu(this.scheme,i||Z),this.query=r||Z,this.fragment=s||Z,Yu(this,o))}get fsPath(){return Ji(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:i,path:r,query:s,fragment:o}=t;return n===void 0?n=this.scheme:n===null&&(n=Z),i===void 0?i=this.authority:i===null&&(i=Z),r===void 0?r=this.path:r===null&&(r=Z),s===void 0?s=this.query:s===null&&(s=Z),o===void 0?o=this.fragment:o===null&&(o=Z),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&o===this.fragment?this:new je(n,i,r,s,o)}static parse(t,n=!1){let i=Zu.exec(t);return i?new je(i[2]||Z,Mn(i[4]||Z),Mn(i[5]||Z),Mn(i[7]||Z),Mn(i[9]||Z),n):new je(Z,Z,Z,Z,Z)}static file(t){let n=Z;if(it&&(t=t.replace(/\\/g,ye)),t[0]===ye&&t[1]===ye){let i=t.indexOf(ye,2);i===-1?(n=t.substring(2),t=ye):(n=t.substring(2,i),t=t.substring(i)||ye)}return new je("file",n,t,Z,Z)}static from(t,n){return new je(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 i;return it&&t.scheme==="file"?i=e.file(ce.join(Ji(t,!0),...n)).path:i=le.join(t.path,...n),t.with({path:i})}toString(t=!1){return Qi(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof e)return t;{let n=new je(t);return n._formatted=t.external??null,n._fsPath=t._sep===zs?t.fsPath??null:null,n}}else return t}},zs=it?1:void 0,je=class extends he{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Ji(this,!1)),this._fsPath}toString(t=!1){return t?Qi(this,!0):(this._formatted||(this._formatted=Qi(this,!1)),this._formatted)}toJSON(){let t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=zs),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}},Fs={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 Ds(e,t,n){let i,r=-1;for(let s=0;s<e.length;s++){let o=e.charCodeAt(s);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||t&&o===47||n&&o===91||n&&o===93||n&&o===58)r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i!==void 0&&(i+=e.charAt(s));else{i===void 0&&(i=e.substr(0,s));let l=Fs[o];l!==void 0?(r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(e.substring(r))),i!==void 0?i:e}function Ku(e){let t;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);i===35||i===63?(t===void 0&&(t=e.substr(0,n)),t+=Fs[i]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function Ji(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,it&&(n=n.replace(/\//g,"\\")),n}function Qi(e,t){let n=t?Ku:Ds,i="",{scheme:r,authority:s,path:o,query:l,fragment:a}=e;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=ye,i+=ye),s){let u=s.indexOf("@");if(u!==-1){let c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){let u=o.charCodeAt(1);u>=65&&u<=90&&(o=`/${String.fromCharCode(u+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){let u=o.charCodeAt(0);u>=65&&u<=90&&(o=`${String.fromCharCode(u+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),a&&(i+="#",i+=t?a:Ds(a,!1,!1)),i}function Us(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Us(e.substr(3)):e}}var Is=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Mn(e){return e.match(Is)?e.replace(Is,t=>Us(t)):e}var Ge;(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"})(Ge||(Ge={}));var ec="tkn",Zi=class{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 le.join(this._serverRootPath,Ge.vscodeRemoteResource)}rewrite(t){if(this._delegate)try{return this._delegate(t)}catch(l){return De(l),t}let n=t.authority,i=this._hosts[n];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);let r=this._ports[n],s=this._connectionTokens[n],o=`path=${encodeURIComponent(t.path)}`;return typeof s=="string"&&(o+=`&${ec}=${encodeURIComponent(s)}`),he.from({scheme:ji?this._preferredWebSchema:Ge.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:o})}},tc=new Zi,nc="vscode-app",jt=class jt{asBrowserUri(t){let n=this.toUri(t);return this.uriToBrowserUri(n)}uriToBrowserUri(t){return t.scheme===Ge.vscodeRemote?tc.rewrite(t):t.scheme===Ge.file&&(_s||ws===`${Ge.vscodeFileResource}://${jt.FALLBACK_AUTHORITY}`)?t.with({scheme:Ge.vscodeFileResource,authority:t.authority||jt.FALLBACK_AUTHORITY,query:null,fragment:null}):t}toUri(t,n){if(he.isUri(t))return t;if(globalThis._VSCODE_FILE_ROOT){let i=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(i))return he.joinPath(he.parse(i,!0),t);let r=Ms(i,t);return he.file(r)}return he.parse(n.toUrl(t))}};jt.FALLBACK_AUTHORITY=nc;var Ki=jt,Nn=new Ki,Hs;(function(e){let 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"));let n="vscode-coi";function i(s){let o;typeof s=="string"?o=new URL(s).searchParams:s instanceof URL?o=s.searchParams:he.isUri(s)&&(o=new URL(s.toString(!0)).searchParams);let l=o?.get(n);if(l)return t.get(l)}e.getHeadersFromQuery=i;function r(s,o,l){if(!globalThis.crossOriginIsolated)return;let a=o&&l?"3":l?"2":"1";s instanceof URLSearchParams?s.set(n,a):s[n]=a}e.addSearchParam=r})(Hs||(Hs={}));var ic=!0,er="default",rc="$initialize";var tr=class{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}},Dn=class{constructor(t,n,i,r){this.vsWorker=t,this.seq=n,this.res=i,this.err=r,this.type=1}},nr=class{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}},ir=class{constructor(t,n,i){this.vsWorker=t,this.req=n,this.event=i,this.type=3}},rr=class{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}},sr=class{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,i){let r=String(++this._lastSentReq);return new Promise((s,o)=>{this._pendingReplies[r]={resolve:s,reject:o},this._send(new tr(this._workerId,r,t,n,i))})}listen(t,n,i){let r=null,s=new se({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new nr(this._workerId,r,t,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new rr(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){let i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(Ws(s)?r[s]=o=>this.listen(t,s,o):Ps(s)?r[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...o)=>(await n?.(),this.sendMessage(t,s,o)))),r[s])};return new Proxy(Object.create(null),i)}_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}let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let i=t.err;t.err.$isError&&(i=new Error,i.name=t.err.name,i.message=t.err.message,i.stack=t.err.stack),n.reject(i);return}n.resolve(t.res)}_handleRequestMessage(t){let n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(r=>{this._send(new Dn(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=Ei(r.detail)),this._send(new Dn(this._workerId,n,void 0,Ei(r)))})}_handleSubscribeEventMessage(t){let n=t.req,i=this._handler.handleEvent(t.channel,t.eventName,t.arg)(r=>{this._send(new ir(this._workerId,n,r))});this._pendingEvents.set(n,i)}_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){let n=[];if(t.type===0)for(let i=0;i<t.args.length;i++)t.args[i]instanceof ArrayBuffer&&n.push(t.args[i]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}};function Ps(e){return e[0]==="o"&&e[1]==="n"&&Gi(e.charCodeAt(2))}function Ws(e){return/^onDynamic/.test(e)&&Gi(e.charCodeAt(9))}var In=class{constructor(t,n){this._localChannels=new Map,this._remoteChannels=new Map,this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new sr({sendMessage:(i,r)=>{t(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,i){if(t===er&&n===rc)return this.initialize(i[0],i[1],i[2]);let r=t===er?this._requestHandler:this._localChannels.get(t);if(!r)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(r[n].apply(r,i))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,i){let r=t===er?this._requestHandler:this._localChannels.get(t);if(!r)throw new Error(`Missing channel ${t} on worker thread`);if(Ws(n)){let s=r[n].call(r,i);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(Ps(n)){let s=r[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)){let n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t,n,i){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)),ic?import(`${Nn.asBrowserUri(`${i}.js`).toString(!0)}`).then(s=>{if(this._requestHandler=s.create(this),!this._requestHandler)throw new Error("No RequestHandler!")}):new Promise((r,s)=>{let o=globalThis.require;o([i],l=>{if(this._requestHandler=l.create(this),!this._requestHandler){s(new Error("No RequestHandler!"));return}r()},s)})}};var Te=class{constructor(t,n,i,r){this.originalStart=t,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}};function Bs(e,t){return(t<<5)-t+e|0}function Vs(e,t){t=Bs(149417,t);for(let n=0,i=e.length;n<i;n++)t=Bs(e.charCodeAt(n),t);return t}function ar(e,t,n=32){let i=n-t,r=~((1<<i)-1);return(e<<t|(r&e)>>>i)>>>0}function Os(e,t=0,n=e.byteLength,i=0){for(let r=0;r<n;r++)e[t+r]=i}function sc(e,t,n="0"){for(;e.length<t;)e=n+e;return e}function Gt(e,t=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map(n=>n.toString(16).padStart(2,"0")).join(""):sc((e>>>0).toString(16),t/4)}var zn=class zn{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){let n=t.length;if(n===0)return;let i=this._buff,r=this._buffLen,s=this._leftoverHighSurrogate,o,l;for(s!==0?(o=s,l=-1,s=0):(o=t.charCodeAt(0),l=0);;){let a=o;if(kt(o))if(l+1<n){let u=t.charCodeAt(l+1);Cn(u)?(l++,a=$i(o,u)):a=65533}else{s=o;break}else Cn(o)&&(a=65533);if(r=this._push(i,r,a),l++,l<n)o=t.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(t,n,i){return i<128?t[n++]=i:i<2048?(t[n++]=192|(i&1984)>>>6,t[n++]=128|(i&63)>>>0):i<65536?(t[n++]=224|(i&61440)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0):(t[n++]=240|(i&1835008)>>>18,t[n++]=128|(i&258048)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&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()),Gt(this._h0)+Gt(this._h1)+Gt(this._h2)+Gt(this._h3)+Gt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Os(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Os(this._buff));let t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){let t=zn._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)t.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)t.setUint32(d,ar(t.getUint32(d-12,!1)^t.getUint32(d-32,!1)^t.getUint32(d-56,!1)^t.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,o=this._h3,l=this._h4,a,u,c;for(let d=0;d<80;d++)d<20?(a=r&s|~r&o,u=1518500249):d<40?(a=r^s^o,u=1859775393):d<60?(a=r&s|r&o|s&o,u=2400959708):(a=r^s^o,u=3395469782),c=ar(i,5)+a+l+u+t.getUint32(d*4,!1)&4294967295,l=o,o=s,s=ar(r,30),r=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+l&4294967295}};zn._bigBlock32=new DataView(new ArrayBuffer(320));var qs=zn;var Fn=class{constructor(t){this.source=t}getElements(){let t=this.source,n=new Int32Array(t.length);for(let i=0,r=t.length;i<r;i++)n[i]=t.charCodeAt(i);return n}};function js(e,t,n){return new $t(new Fn(e),new Fn(t)).ComputeDiff(n).changes}var $e=class{static Assert(t,n){if(!t)throw new Error(n)}},Xe=class{static Copy(t,n,i,r,s){for(let o=0;o<s;o++)i[r+o]=t[n+o]}static Copy2(t,n,i,r,s){for(let o=0;o<s;o++)i[r+o]=t[n+o]}},Un=class{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 Te(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}},$t=class e{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;let[r,s,o]=e._getElements(t),[l,a,u]=e._getElements(n);this._hasStrings=o&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){let n=t.getElements();if(e._isStringArray(n)){let i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=Vs(n[r],0);return[n,i,!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;let i=e._getStrictElement(this._originalSequence,t),r=e._getStrictElement(this._modifiedSequence,n);return i===r}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,i,r,s){let o=[!1],l=this.ComputeDiffRecursive(t,n,i,r,o);return s&&(l=this.PrettifyChanges(l)),{quitEarly:o[0],changes:l}}ComputeDiffRecursive(t,n,i,r,s){for(s[0]=!1;t<=n&&i<=r&&this.ElementsAreEqual(t,i);)t++,i++;for(;n>=t&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(t>n||i>r){let d;return i<=r?($e.Assert(t===n+1,"originalStart should only be one more than originalEnd"),d=[new Te(t,0,i,r-i+1)]):t<=n?($e.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new Te(t,n-t+1,i,0)]):($e.Assert(t===n+1,"originalStart should only be one more than originalEnd"),$e.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}let o=[0],l=[0],a=this.ComputeRecursionPoint(t,n,i,r,o,l,s),u=o[0],c=l[0];if(a!==null)return a;if(!s[0]){let d=this.ComputeDiffRecursive(t,u,i,c,s),f=[];return s[0]?f=[new Te(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:f=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,f)}return[new Te(t,n-t+1,i,r-i+1)]}WALKTRACE(t,n,i,r,s,o,l,a,u,c,d,f,p,_,m,k,x,w){let A=null,E=null,D=new Un,N=n,b=i,g=p[0]-k[0]-r,y=-1073741824,H=this.m_forwardHistory.length-1;do{let L=g+t;L===N||L<b&&u[L-1]<u[L+1]?(d=u[L+1],_=d-g-r,d<y&&D.MarkNextChange(),y=d,D.AddModifiedElement(d+1,_),g=L+1-t):(d=u[L-1]+1,_=d-g-r,d<y&&D.MarkNextChange(),y=d-1,D.AddOriginalElement(d,_+1),g=L-1-t),H>=0&&(u=this.m_forwardHistory[H],t=u[0],N=1,b=u.length-1)}while(--H>=-1);if(A=D.getReverseChanges(),w[0]){let L=p[0]+1,S=k[0]+1;if(A!==null&&A.length>0){let I=A[A.length-1];L=Math.max(L,I.getOriginalEnd()),S=Math.max(S,I.getModifiedEnd())}E=[new Te(L,f-L+1,S,m-S+1)]}else{D=new Un,N=o,b=l,g=p[0]-k[0]-a,y=1073741824,H=x?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let L=g+s;L===N||L<b&&c[L-1]>=c[L+1]?(d=c[L+1]-1,_=d-g-a,d>y&&D.MarkNextChange(),y=d+1,D.AddOriginalElement(d+1,_+1),g=L+1-s):(d=c[L-1],_=d-g-a,d>y&&D.MarkNextChange(),y=d,D.AddModifiedElement(d+1,_+1),g=L-1-s),H>=0&&(c=this.m_reverseHistory[H],s=c[0],N=1,b=c.length-1)}while(--H>=-1);E=D.getChanges()}return this.ConcatenateChanges(A,E)}ComputeRecursionPoint(t,n,i,r,s,o,l){let a=0,u=0,c=0,d=0,f=0,p=0;t--,i--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let _=n-t+(r-i),m=_+1,k=new Int32Array(m),x=new Int32Array(m),w=r-i,A=n-t,E=t-i,D=n-r,b=(A-w)%2===0;k[w]=t,x[A]=n,l[0]=!1;for(let g=1;g<=_/2+1;g++){let y=0,H=0;c=this.ClipDiagonalBound(w-g,g,w,m),d=this.ClipDiagonalBound(w+g,g,w,m);for(let S=c;S<=d;S+=2){S===c||S<d&&k[S-1]<k[S+1]?a=k[S+1]:a=k[S-1]+1,u=a-(S-w)-E;let I=a;for(;a<n&&u<r&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(k[S]=a,a+u>y+H&&(y=a,H=u),!b&&Math.abs(S-A)<=g-1&&a>=x[S])return s[0]=a,o[0]=u,I<=x[S]&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):null}let L=(y-t+(H-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(y,L))return l[0]=!0,s[0]=y,o[0]=H,L>0&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):(t++,i++,[new Te(t,n-t+1,i,r-i+1)]);f=this.ClipDiagonalBound(A-g,g,A,m),p=this.ClipDiagonalBound(A+g,g,A,m);for(let S=f;S<=p;S+=2){S===f||S<p&&x[S-1]>=x[S+1]?a=x[S+1]-1:a=x[S-1],u=a-(S-A)-D;let I=a;for(;a>t&&u>i&&this.ElementsAreEqual(a,u);)a--,u--;if(x[S]=a,b&&Math.abs(S-w)<=g&&a<=k[S])return s[0]=a,o[0]=u,I>=k[S]&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):null}if(g<=1447){let S=new Int32Array(d-c+2);S[0]=w-c+1,Xe.Copy2(k,c,S,1,d-c+1),this.m_forwardHistory.push(S),S=new Int32Array(p-f+2),S[0]=A-f+1,Xe.Copy2(x,f,S,1,p-f+1),this.m_reverseHistory.push(S)}}return this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l)}PrettifyChanges(t){for(let n=0;n<t.length;n++){let i=t[n],r=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,o=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){let u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}let a=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],a)){t[n]=a[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){let i=t[n],r=0,s=0;if(n>0){let d=t[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}let o=i.originalLength>0,l=i.modifiedLength>0,a=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){let f=i.originalStart-d,p=i.modifiedStart-d;if(f<r||p<s||o&&!this.OriginalElementsAreEqual(f,f+i.originalLength)||l&&!this.ModifiedElementsAreEqual(p,p+i.modifiedLength))break;let m=(f===r&&p===s?5:0)+this._boundaryScore(f,i.originalLength,p,i.modifiedLength);m>u&&(u=m,a=d)}i.originalStart-=a,i.modifiedStart-=a;let c=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],c)){t[n-1]=c[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n<i;n++){let r=t[n-1],s=t[n],o=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,a=s.originalStart+s.originalLength,u=a-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,f=d-c;if(o<5&&u<20&&f<20){let p=this._findBetterContiguousSequence(l,u,c,f,o);if(p){let[_,m]=p;(_!==r.originalStart+r.originalLength||m!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=_-r.originalStart,r.modifiedLength=m-r.modifiedStart,s.originalStart=_+o,s.modifiedStart=m+o,s.originalLength=a-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,i,r,s){if(n<s||r<s)return null;let o=t+n-s+1,l=i+r-s+1,a=0,u=0,c=0;for(let d=t;d<o;d++)for(let f=i;f<l;f++){let p=this._contiguousSequenceScore(d,f,s);p>0&&p>a&&(a=p,u=d,c=f)}return a>0?[u,c]:null}_contiguousSequenceScore(t,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;r+=this._originalStringElements[t+s].length}return r}_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){let i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))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){let i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,r){let s=this._OriginalRegionIsBoundary(t,n)?1:0,o=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+o}ConcatenateChanges(t,n){let i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){let r=new Array(t.length+n.length-1);return Xe.Copy(t,0,r,0,t.length-1),r[t.length-1]=i[0],Xe.Copy(n,1,r,t.length,n.length-1),r}else{let r=new Array(t.length+n.length);return Xe.Copy(t,0,r,0,t.length),Xe.Copy(n,0,r,t.length,n.length),r}}ChangesOverlap(t,n,i){if($e.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),$e.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){let r=t.originalStart,s=t.originalLength,o=t.modifiedStart,l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new Te(r,s,o,l),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,r){if(t>=0&&t<r)return t;let s=i,o=r-i-1,l=n%2===0;if(t<0){let a=s%2===0;return l===a?0:1}else{let a=o%2===0;return l===a?r-1:r-2}}};var Y=class e{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 e(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return e.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return e.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 e.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){let i=t.lineNumber|0,r=n.lineNumber|0;if(i===r){let s=t.column|0,o=n.column|0;return s-o}return i-r}clone(){return new e(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new e(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}}};var B=class e{constructor(t,n,i,r){t>i||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return e.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return e.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 e.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 e.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 e.plusRange(this,t)}static plusRange(t,n){let i,r,s,o;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,r=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,o=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,o=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,o=t.endColumn),new e(i,r,s,o)}intersectRanges(t){return e.intersectRanges(this,t)}static intersectRanges(t,n){let i=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,o=t.endColumn,l=n.startLineNumber,a=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=a):i===l&&(r=Math.max(r,a)),s>u?(s=u,o=c):s===u&&(o=Math.min(o,c)),i>s||i===s&&r>o?null:new e(i,r,s,o)}equalsRange(t){return e.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 e.getEndPosition(this)}static getEndPosition(t){return new Y(t.endLineNumber,t.endColumn)}getStartPosition(){return e.getStartPosition(this)}static getStartPosition(t){return new Y(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new e(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new e(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return e.collapseToStart(this)}static collapseToStart(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return e.collapseToEnd(this)}static collapseToEnd(t){return new e(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new e(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new e(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new e(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){let s=t.startLineNumber|0,o=n.startLineNumber|0;if(s===o){let l=t.startColumn|0,a=n.startColumn|0;if(l===a){let u=t.endLineNumber|0,c=n.endLineNumber|0;if(u===c){let d=t.endColumn|0,f=n.endColumn|0;return d-f}return u-c}return l-a}return s-o}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 or(e){return e<0?0:e>255?255:e|0}function st(e){return e<0?0:e>4294967295?4294967295:e|0}var Xt=class e{constructor(t){let n=or(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){let n=new Uint8Array(256);return n.fill(t),n}set(t,n){let i=or(n);t>=0&&t<256?this._asciiMap[t]=i:this._map.set(t,i)}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()}};var ur=class{constructor(t,n,i){let r=new Uint8Array(t*n);for(let s=0,o=t*n;s<o;s++)r[s]=i;this._data=r,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,i){this._data[t*this.cols+n]=i}},cr=class{constructor(t){let n=0,i=0;for(let s=0,o=t.length;s<o;s++){let[l,a,u]=t[s];a>n&&(n=a),l>i&&(i=l),u>i&&(i=u)}n++,i++;let r=new ur(i,n,0);for(let s=0,o=t.length;s<o;s++){let[l,a,u]=t[s];r.set(l,a,u)}this._states=r,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}},lr=null;function ac(){return lr===null&&(lr=new cr([[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]])),lr}var Yt=null;function oc(){if(Yt===null){Yt=new Xt(0);let e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let n=0;n<e.length;n++)Yt.set(e.charCodeAt(n),1);let t=".,;:";for(let n=0;n<t.length;n++)Yt.set(t.charCodeAt(n),2)}return Yt}var hr=class e{static _createLink(t,n,i,r,s){let o=s-1;do{let l=n.charCodeAt(o);if(t.get(l)!==2)break;o--}while(o>r);if(r>0){let l=n.charCodeAt(r-1),a=n.charCodeAt(o);(l===40&&a===41||l===91&&a===93||l===123&&a===125)&&o--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:o+2},url:n.substring(r,o+1)}}static computeLinks(t,n=ac()){let i=oc(),r=[];for(let s=1,o=t.getLineCount();s<=o;s++){let l=t.getLineContent(s),a=l.length,u=0,c=0,d=0,f=1,p=!1,_=!1,m=!1,k=!1;for(;u<a;){let x=!1,w=l.charCodeAt(u);if(f===13){let A;switch(w){case 40:p=!0,A=0;break;case 41:A=p?0:1;break;case 91:m=!0,_=!0,A=0;break;case 93:m=!1,A=_?0:1;break;case 123:k=!0,A=0;break;case 125:A=k?0:1;break;case 39:case 34:case 96:d===w?A=1:d===39||d===34||d===96?A=0:A=1;break;case 42:A=d===42?1:0;break;case 124:A=d===124?1:0;break;case 32:A=m?0:1;break;default:A=i.get(w)}A===1&&(r.push(e._createLink(i,l,s,c,u)),x=!0)}else if(f===12){let A;w===91?(_=!0,A=0):A=i.get(w),A===1?x=!0:f=13}else f=n.nextState(f,w),f===0&&(x=!0);x&&(f=1,p=!1,_=!1,k=!1,c=u+1,d=w),u++}f===13&&r.push(e._createLink(i,l,s,c,a))}return r}};function Gs(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:hr.computeLinks(e)}var Pn=class Pn{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(t,n,i,r,s){if(t&&n){let o=this.doNavigateValueSet(n,s);if(o)return{range:t,value:o}}if(i&&r){let o=this.doNavigateValueSet(r,s);if(o)return{range:i,value:o}}return null}doNavigateValueSet(t,n){let i=this.numberReplace(t,n);return i!==null?i:this.textReplace(t,n)}numberReplace(t,n){let i=Math.pow(10,t.length-(t.lastIndexOf(".")+1)),r=Number(t),s=parseFloat(t);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,i){let r=null;for(let s=0,o=t.length;r===null&&s<o;s++)r=this.valueSetReplace(t[s],n,i);return r}valueSetReplace(t,n,i){let r=t.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=t.length-1:r%=t.length,t[r]):null}};Pn.INSTANCE=new Pn;var Hn=Pn;var $s=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}),Wn;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof Lt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:vt.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:$s})})(Wn||(Wn={}));var Lt=class{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?$s:(this._emitter||(this._emitter=new se),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},Jt=class{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 Lt),this._token}cancel(){this._token?this._token instanceof Lt&&this._token.cancel():this._token=Wn.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof Lt&&this._token.dispose():this._token=Wn.None}};var Qt=class{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}},Bn=new Qt,dr=new Qt,fr=new Qt,lc=new Array(230),uc={},cc=[],hc=Object.create(null),dc=Object.create(null),Ys=[],mr=[];for(let e=0;e<=193;e++)Ys[e]=-1;for(let e=0;e<=132;e++)mr[e]=-1;(function(){let 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=[],i=[];for(let r of t){let[s,o,l,a,u,c,d,f,p]=r;if(i[o]||(i[o]=!0,cc[o]=l,hc[l]=o,dc[l.toLowerCase()]=o,s&&(Ys[o]=a,a!==0&&a!==3&&a!==5&&a!==4&&a!==6&&a!==57&&(mr[a]=o))),!n[a]){if(n[a]=!0,!u)throw new Error(`String representation missing for key code ${a} around scan code ${l}`);Bn.define(a,u),dr.define(a,f||u),fr.define(a,p||f||u)}c&&(lc[c]=a),d&&(uc[d]=a)}mr[3]=46})();var Xs;(function(e){function t(l){return Bn.keyCodeToStr(l)}e.toString=t;function n(l){return Bn.strToKeyCode(l)}e.fromString=n;function i(l){return dr.keyCodeToStr(l)}e.toUserSettingsUS=i;function r(l){return fr.keyCodeToStr(l)}e.toUserSettingsGeneral=r;function s(l){return dr.strToKeyCode(l)||fr.strToKeyCode(l)}e.fromUserSettings=s;function o(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Bn.keyCodeToStr(l)}e.toElectronAccelerator=o})(Xs||(Xs={}));function Js(e,t){let n=(t&65535)<<16>>>0;return(e|n)>>>0}var On=class e extends B{constructor(t,n,i,r){super(t,n,i,r),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return e.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 e(this.startLineNumber,this.startColumn,t,n):new e(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new e(t,n,this.endLineNumber,this.endColumn):new e(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new e(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new e(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new e(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 i=0,r=t.length;i<r;i++)if(!this.selectionsEqual(t[i],n[i]))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,i,r,s){return s===0?new e(t,n,i,r):new e(i,r,t,n)}};function Qs(e){return typeof e=="string"}var Zs=Object.create(null);function h(e,t){if(Qs(t)){let n=Zs[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return Zs[e]=t,{id:e}}var Ks={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),fileText:h("file-text",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468)};var fc={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},W={...Ks,...fc};var Zt=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new se,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]),Be(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){this._factories.get(t)?.dispose();let i=new pr(this,t,n);return this._factories.set(t,i),Be(()=>{let r=this._factories.get(t);!r||r!==i||(this._factories.delete(t),r.dispose())})}async getOrCreate(t){let n=this.get(t);if(n)return n;let i=this._factories.get(t);return!i||i.isResolved?null:(await i.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;let i=this._factories.get(t);return!!(!i||i.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}},pr=class extends we{get isResolved(){return this._isResolved}constructor(t,n,i){super(),this._registry=t,this._languageId=n,this._factory=i,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(){let t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}};var qn=class{constructor(t,n,i){this.offset=t,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var ea;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(ea||(ea={}));var ta;(function(e){let t=new Map;t.set(0,W.symbolMethod),t.set(1,W.symbolFunction),t.set(2,W.symbolConstructor),t.set(3,W.symbolField),t.set(4,W.symbolVariable),t.set(5,W.symbolClass),t.set(6,W.symbolStruct),t.set(7,W.symbolInterface),t.set(8,W.symbolModule),t.set(9,W.symbolProperty),t.set(10,W.symbolEvent),t.set(11,W.symbolOperator),t.set(12,W.symbolUnit),t.set(13,W.symbolValue),t.set(15,W.symbolEnum),t.set(14,W.symbolConstant),t.set(15,W.symbolEnum),t.set(16,W.symbolEnumMember),t.set(17,W.symbolKeyword),t.set(27,W.symbolSnippet),t.set(18,W.symbolText),t.set(19,W.symbolColor),t.set(20,W.symbolFile),t.set(21,W.symbolReference),t.set(22,W.symbolCustomColor),t.set(23,W.symbolFolder),t.set(24,W.symbolTypeParameter),t.set(25,W.account),t.set(26,W.issues);function n(s){let o=t.get(s);return o||(console.info("No codicon found for CompletionItemKind "+s),o=W.symbolProperty),o}e.toIcon=n;let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26);function r(s,o){let l=i.get(s);return typeof l>"u"&&!o&&(l=9),l}e.fromString=r})(ta||(ta={}));var na;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(na||(na={}));var ia;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(ia||(ia={}));var ra;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(ra||(ra={}));var sa;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(sa||(sa={}));var D1={17:Q("Array","array"),16:Q("Boolean","boolean"),4:Q("Class","class"),13:Q("Constant","constant"),8:Q("Constructor","constructor"),9:Q("Enum","enumeration"),21:Q("EnumMember","enumeration member"),23:Q("Event","event"),7:Q("Field","field"),0:Q("File","file"),11:Q("Function","function"),10:Q("Interface","interface"),19:Q("Key","key"),5:Q("Method","method"),1:Q("Module","module"),2:Q("Namespace","namespace"),20:Q("Null","null"),15:Q("Number","number"),18:Q("Object","object"),24:Q("Operator","operator"),3:Q("Package","package"),6:Q("Property","property"),14:Q("String","string"),22:Q("Struct","struct"),25:Q("TypeParameter","type parameter"),12:Q("Variable","variable")};var aa;(function(e){let t=new Map;t.set(0,W.symbolFile),t.set(1,W.symbolModule),t.set(2,W.symbolNamespace),t.set(3,W.symbolPackage),t.set(4,W.symbolClass),t.set(5,W.symbolMethod),t.set(6,W.symbolProperty),t.set(7,W.symbolField),t.set(8,W.symbolConstructor),t.set(9,W.symbolEnum),t.set(10,W.symbolInterface),t.set(11,W.symbolFunction),t.set(12,W.symbolVariable),t.set(13,W.symbolConstant),t.set(14,W.symbolString),t.set(15,W.symbolNumber),t.set(16,W.symbolBoolean),t.set(17,W.symbolArray),t.set(18,W.symbolObject),t.set(19,W.symbolKey),t.set(20,W.symbolNull),t.set(21,W.symbolEnumMember),t.set(22,W.symbolStruct),t.set(23,W.symbolEvent),t.set(24,W.symbolOperator),t.set(25,W.symbolTypeParameter);function n(i){let r=t.get(i);return r||(console.info("No codicon found for SymbolKind "+i),r=W.symbolProperty),r}e.toIcon=n})(aa||(aa={}));var ve=class ve{static fromValue(t){switch(t){case"comment":return ve.Comment;case"imports":return ve.Imports;case"region":return ve.Region}return new ve(t)}constructor(t){this.value=t}};ve.Comment=new ve("comment"),ve.Imports=new ve("imports"),ve.Region=new ve("region");var oa=ve,la;(function(e){e[e.AIGenerated=1]="AIGenerated"})(la||(la={}));var ua;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(ua||(ua={}));var ca;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(ca||(ca={}));var ha;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(ha||(ha={}));var I1=new Zt,z1=new Zt,da;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(da||(da={}));var fa;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(fa||(fa={}));var ma;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(ma||(ma={}));var pa;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(pa||(pa={}));var ga;(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"})(ga||(ga={}));var ba;(function(e){e[e.Deprecated=1]="Deprecated"})(ba||(ba={}));var _a;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(_a||(_a={}));var wa;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(wa||(wa={}));var va;(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"})(va||(va={}));var xa;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(xa||(xa={}));var ya;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(ya||(ya={}));var Ta;(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"})(Ta||(Ta={}));var Sa;(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"})(Sa||(Sa={}));var ka;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(ka||(ka={}));var Aa;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Aa||(Aa={}));var La;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(La||(La={}));var Ca;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Ca||(Ca={}));var Ea;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(Ea||(Ea={}));var Ra;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Ra||(Ra={}));var Ma;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Ma||(Ma={}));var Na;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Na||(Na={}));var Da;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Da||(Da={}));var Vn;(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"})(Vn||(Vn={}));var jn;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(jn||(jn={}));var Gn;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(Gn||(Gn={}));var Ia;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Ia||(Ia={}));var za;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(za||(za={}));var Fa;(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"})(Fa||(Fa={}));var Ua;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Ua||(Ua={}));var Ha;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Ha||(Ha={}));var Pa;(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"})(Pa||(Pa={}));var Wa;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Wa||(Wa={}));var Ba;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(Ba||(Ba={}));var Oa;(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"})(Oa||(Oa={}));var qa;(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"})(qa||(qa={}));var Va;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(Va||(Va={}));var ja;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(ja||(ja={}));var Ga;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(Ga||(Ga={}));var $n;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})($n||($n={}));var $a;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})($a||($a={}));var Xa;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Xa||(Xa={}));var Ya;(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"})(Ya||(Ya={}));var Ja;(function(e){e[e.Deprecated=1]="Deprecated"})(Ja||(Ja={}));var Qa;(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"})(Qa||(Qa={}));var Za;(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"})(Za||(Za={}));var Ka;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Ka||(Ka={}));var eo;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(eo||(eo={}));var Ct=class Ct{static chord(t,n){return Js(t,n)}};Ct.CtrlCmd=2048,Ct.Shift=1024,Ct.Alt=512,Ct.WinCtrl=256;var gr=Ct;function to(){return{editor:void 0,languages:void 0,CancellationTokenSource:Jt,Emitter:se,KeyCode:Vn,KeyMod:gr,Position:Y,Range:B,Selection:On,SelectionDirection:$n,MarkerSeverity:jn,MarkerTag:Gn,Uri:he,Token:qn}}var Kt=class Kt{static getChannel(t){return t.getChannel(Kt.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(Kt.CHANNEL_NAME,n)}};Kt.CHANNEL_NAME="editorWorkerHost";var en=Kt;var no,io,br=class{constructor(t,n){this.uri=t,this.value=n}};function pc(e){return Array.isArray(e)}var at=class at{constructor(t,n){if(this[no]="ResourceMap",t instanceof at)this.map=new Map(t.map),this.toKey=n??at.defaultToKey;else if(pc(t)){this.map=new Map,this.toKey=n??at.defaultToKey;for(let[i,r]of t)this.set(i,r)}else this.map=new Map,this.toKey=t??at.defaultToKey}set(t,n){return this.map.set(this.toKey(t),new br(t,n)),this}get(t){return this.map.get(this.toKey(t))?.value}has(t){return this.map.has(this.toKey(t))}get size(){return this.map.size}clear(){this.map.clear()}delete(t){return this.map.delete(this.toKey(t))}forEach(t,n){typeof n<"u"&&(t=t.bind(n));for(let[i,r]of this.map)t(r.value,r.uri,this)}*values(){for(let t of this.map.values())yield t.value}*keys(){for(let t of this.map.values())yield t.uri}*entries(){for(let t of this.map.values())yield[t.uri,t.value]}*[(no=Symbol.toStringTag,Symbol.iterator)](){for(let[,t]of this.map)yield[t.uri,t.value]}};at.defaultToKey=t=>t.toString();var ro=at,_r=class{constructor(){this[io]="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(){return this._head?.value}get last(){return this._tail?.value}has(t){return this._map.has(t)}get(t,n=0){let i=this._map.get(t);if(i)return n!==0&&this.touch(i,n),i.value}set(t,n,i=0){let r=this._map.get(t);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:t,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(t,r),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){let 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");let t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){let i=this._state,r=this._head;for(;r;){if(n?t.bind(n)(r.value,r.key,this):t(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(io=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,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{let n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.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;let i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),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;let i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){let t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(let[n,i]of t)this.set(n,i)}},wr=class extends _r{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))}},Xn=class extends wr{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}};var Yn=class{constructor(){this.map=new Map}add(t,n){let i=this.map.get(t);i||(i=new Set,this.map.set(t,i)),i.add(n)}delete(t,n){let i=this.map.get(t);i&&(i.delete(n),i.size===0&&this.map.delete(t))}forEach(t,n){let i=this.map.get(t);i&&i.forEach(n)}get(t){let n=this.map.get(t);return n||new Set}};var J1=new Xn(10);function gc(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function vr(e){let t=[];for(let n of gc(e))typeof e[n]=="function"&&t.push(n);return t}function so(e,t){let n=r=>function(){let s=Array.prototype.slice.call(arguments,0);return t(r,s)},i={};for(let r of e)i[r]=n(r);return i}var ao;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(ao||(ao={}));var oo;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(oo||(oo={}));var lo;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(lo||(lo={}));function bc(e,t,n,i,r){if(i===0)return!0;let s=t.charCodeAt(i-1);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){let o=t.charCodeAt(i);if(e.get(o)!==0)return!0}return!1}function _c(e,t,n,i,r){if(i+r===n)return!0;let s=t.charCodeAt(i+r);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){let o=t.charCodeAt(i+r-1);if(e.get(o)!==0)return!0}return!1}function wc(e,t,n,i,r){return bc(e,t,n,i,r)&&_c(e,t,n,i,r)}var Jn=class{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){let n=t.length,i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(t),!i))return null;let r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){As(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||wc(this._wordSeparators,t,n,r,s))return i}while(i);return null}};function uo(e,t="Unreachable"){throw new Error(t)}function ot(e){if(!e()){debugger;e(),De(new re("Assertion Failed"))}}function tn(e,t){let n=0;for(;n<e.length-1;){let i=e[n],r=e[n+1];if(!t(i,r))return!1;n++}return!0}var vc="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function xc(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let n of vc)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}var xr=xc();function yr(e){let t=xr;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}var co=new Pt;co.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function nn(e,t,n,i,r){if(t=yr(t),r||(r=mt.first(co)),n.length>r.maxLen){let u=e-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,e+r.maxLen/2),nn(e,t,n,i,r)}let s=Date.now(),o=e-1-i,l=-1,a=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){let c=o-r.windowSize*u;t.lastIndex=Math.max(0,c);let d=yc(t,n,o,l);if(!d&&a||(a=d,c<=0))break;l=c}if(a){let u={word:a[0],startColumn:i+1+a.index,endColumn:i+1+a.index+a[0].length};return t.lastIndex=0,u}return null}function yc(e,t,n,i){let r;for(;r=e.exec(t);){let s=r.index||0;if(s<=n&&e.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}var Qn=class{static computeUnicodeHighlights(t,n,i){let r=i?i.startLineNumber:1,s=i?i.endLineNumber:t.getLineCount(),o=new Zn(n),l=o.getCandidateCodePoints(),a;l==="allNonBasicAscii"?a=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):a=new RegExp(`${Tc(Array.from(l))}`,"g");let u=new Jn(null,a),c=[],d=!1,f,p=0,_=0,m=0;e:for(let k=r,x=s;k<=x;k++){let w=t.getLineContent(k),A=w.length;u.reset(0);do if(f=u.next(w),f){let E=f.index,D=f.index+f[0].length;if(E>0){let y=w.charCodeAt(E-1);kt(y)&&E--}if(D+1<A){let y=w.charCodeAt(D-1);kt(y)&&D++}let N=w.substring(E,D),b=nn(E+1,xr,w,0);b&&b.endColumn<=E+1&&(b=null);let g=o.shouldHighlightNonBasicASCII(N,b?b.word:null);if(g!==0){if(g===3?p++:g===2?_++:g===1?m++:uo(g),c.length>=1e3){d=!0;break e}c.push(new B(k,E+1,k,D+1))}}while(f)}return{ranges:c,hasMore:d,ambiguousCharacterCount:p,invisibleCharacterCount:_,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(t,n){let i=new Zn(n);switch(i.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{let s=t.codePointAt(0),o=i.ambiguousCharacters.getPrimaryConfusable(s),l=Tt.getLocales().filter(a=>!Tt.getInstance(new Set([...n.allowedLocales,a])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}};function Tc(e,t){return`[${ys(e.map(i=>String.fromCodePoint(i)).join(""))}]`}var Zn=class{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=Tt.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let t=new Set;if(this.options.invisibleCharacters)for(let n of St.codePoints)ho(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(let n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(let n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){let i=t.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(let o of n){let l=o.codePointAt(0),a=Ls(o);r=r||a,!a&&!this.ambiguousCharacters.isAmbiguous(l)&&!St.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!ho(t)&&St.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}};function ho(e){return e===" "||e===`
|
|
11
|
-
`||e===" "}var
|
|
12
|
-
`?(n++,i=0):i++;return new Je(n,i)}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 B(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new B(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(t){return this.lineCount===0?new Y(t.lineNumber,t.column+this.columnCount):new Y(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};Je.zero=new Je(0,0);var ni=Je;var ii=class{constructor(t,n){this.range=t,this.text=n}toSingleEditOperation(){return{range:this.range,text:this.text}}};var Ce=class e{static inverse(t,n,i){let r=[],s=1,o=1;for(let a of t){let u=new e(new G(s,a.original.startLineNumber),new G(o,a.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=a.original.endLineNumberExclusive,o=a.modified.endLineNumberExclusive}let l=new e(new G(s,n+1),new G(o,i+1));return l.modified.isEmpty||r.push(l),r}static clip(t,n,i){let r=[];for(let s of t){let o=s.original.intersect(n),l=s.modified.intersect(i);o&&!o.isEmpty&&l&&!l.isEmpty&&r.push(new e(o,l))}return r}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new e(this.modified,this.original)}join(t){return new e(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){let t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new me(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new re("not a valid diff");return new me(new B(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new B(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new me(new B(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new B(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(mo(this.original.endLineNumberExclusive,t)&&mo(this.modified.endLineNumberExclusive,n))return new me(new B(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new B(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new me(B.fromPositions(new Y(this.original.startLineNumber,1),Et(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),B.fromPositions(new Y(this.modified.startLineNumber,1),Et(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new me(B.fromPositions(Et(new Y(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),Et(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),B.fromPositions(Et(new Y(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),Et(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new re}};function Et(e,t){if(e.lineNumber<1)return new Y(1,1);if(e.lineNumber>t.length)return new Y(t.length,t[t.length-1].length+1);let n=t[e.lineNumber-1];return e.column>n.length+1?new Y(e.lineNumber,n.length+1):e}function mo(e,t){return e>=1&&e<=t.length}var He=class e extends Ce{static fromRangeMappings(t){let n=G.join(t.map(r=>G.fromRangeInclusive(r.originalRange))),i=G.join(t.map(r=>G.fromRangeInclusive(r.modifiedRange)));return new e(n,i,t)}constructor(t,n,i){super(t,n),this.innerChanges=i}flip(){return new e(this.modified,this.original,this.innerChanges?.map(t=>t.flip()))}withInnerChangesFromLineRanges(){return new e(this.original,this.modified,[this.toRangeMapping()])}},me=class e{static assertSorted(t){for(let n=1;n<t.length;n++){let i=t[n-1],r=t[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new re("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 e(this.modifiedRange,this.originalRange)}toTextEdit(t){let n=t.getValueOfRange(this.modifiedRange);return new ii(this.originalRange,n)}};var Sc=3,ri=class{computeDiff(t,n,i){let s=new Sr(t,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[],l=null;for(let a of s.changes){let u;a.originalEndLineNumber===0?u=new G(a.originalStartLineNumber+1,a.originalStartLineNumber+1):u=new G(a.originalStartLineNumber,a.originalEndLineNumber+1);let c;a.modifiedEndLineNumber===0?c=new G(a.modifiedStartLineNumber+1,a.modifiedStartLineNumber+1):c=new G(a.modifiedStartLineNumber,a.modifiedEndLineNumber+1);let d=new He(u,c,a.charChanges?.map(f=>new me(new B(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn),new B(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===d.modified.startLineNumber||l.original.endLineNumberExclusive===d.original.startLineNumber)&&(d=new He(l.original.join(d.original),l.modified.join(d.modified),l.innerChanges&&d.innerChanges?l.innerChanges.concat(d.innerChanges):void 0),o.pop()),o.push(d),l=d}return ot(()=>tn(o,(a,u)=>u.original.startLineNumber-a.original.endLineNumberExclusive===u.modified.startLineNumber-a.modified.endLineNumberExclusive&&a.original.endLineNumberExclusive<u.original.startLineNumber&&a.modified.endLineNumberExclusive<u.modified.startLineNumber)),new Ye(o,[],s.quitEarly)}};function go(e,t,n,i){return new $t(e,t,n).ComputeDiff(i)}var si=class{constructor(t){let n=[],i=[];for(let r=0,s=t.length;r<s;r++)n[r]=kr(t[r],1),i[r]=Ar(t[r],1);this.lines=t,this._startColumns=n,this._endColumns=i}getElements(){let t=[];for(let n=0,i=this.lines.length;n<i;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,i){let r=[],s=[],o=[],l=0;for(let a=n;a<=i;a++){let u=this.lines[a],c=t?this._startColumns[a]:1,d=t?this._endColumns[a]:u.length+1;for(let f=c;f<d;f++)r[l]=u.charCodeAt(f-1),s[l]=a+1,o[l]=f,l++;!t&&a<i&&(r[l]=10,s[l]=a+1,o[l]=u.length+1,l++)}return new Tr(r,s,o)}},Tr=class{constructor(t,n,i){this._charCodes=t,this._lineNumbers=n,this._columns=i}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)}},Rt=class e{constructor(t,n,i,r,s,o,l,a){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=a}static createFromDiffChange(t,n,i){let r=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),o=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1),a=i.getStartLineNumber(t.modifiedStart),u=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new e(r,s,o,l,a,u,c,d)}};function kc(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let i=1,r=e.length;i<r;i++){let s=e[i],o=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,l)<Sc?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}var sn=class e{constructor(t,n,i,r,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(t,n,i,r,s,o,l){let a,u,c,d,f;if(n.originalLength===0?(a=i.getStartLineNumber(n.originalStart)-1,u=0):(a=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(c=r.getStartLineNumber(n.modifiedStart)-1,d=0):(c=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),o&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){let p=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),_=r.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(p.getElements().length>0&&_.getElements().length>0){let m=go(p,_,s,!0).changes;l&&(m=kc(m)),f=[];for(let k=0,x=m.length;k<x;k++)f.push(Rt.createFromDiffChange(m[k],p,_))}}return new e(a,u,c,d,f)}},Sr=class{constructor(t,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new si(t),this.modified=new si(n),this.continueLineDiff=po(i.maxComputationTime),this.continueCharDiff=po(i.maxComputationTime===0?0:Math.min(i.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}]};let t=go(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,i=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){let l=[];for(let a=0,u=n.length;a<u;a++)l.push(sn.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[a],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}let r=[],s=0,o=0;for(let l=-1,a=n.length;l<a;l++){let u=l+1<a?n[l+1]:null,c=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&o<d;){let f=this.originalLines[s],p=this.modifiedLines[o];if(f!==p){{let _=kr(f,1),m=kr(p,1);for(;_>1&&m>1;){let k=f.charCodeAt(_-2),x=p.charCodeAt(m-2);if(k!==x)break;_--,m--}(_>1||m>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,_,o+1,1,m)}{let _=Ar(f,1),m=Ar(p,1),k=f.length+1,x=p.length+1;for(;_<k&&m<x;){let w=f.charCodeAt(_-1),A=f.charCodeAt(m-1);if(w!==A)break;_++,m++}(_<k||m<x)&&this._pushTrimWhitespaceCharChange(r,s+1,_,k,o+1,m,x)}}s++,o++}u&&(r.push(sn.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,o+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(t,n,i,r,s,o,l){if(this._mergeTrimWhitespaceCharChange(t,n,i,r,s,o,l))return;let a;this.shouldComputeCharChanges&&(a=[new Rt(n,i,n,r,s,o,s,l)]),t.push(new sn(n,n,s,s,a))}_mergeTrimWhitespaceCharChange(t,n,i,r,s,o,l){let a=t.length;if(a===0)return!1;let u=t[a-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Rt(n,i,n,r,s,o,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Rt(n,i,n,r,s,o,s,l)),!0):!1}};function kr(e,t){let n=Ss(e);return n===-1?t:n+1}function Ar(e,t){let n=ks(e);return n===-1?t:n+2}function po(e){if(e===0)return()=>!0;let t=Date.now();return()=>Date.now()-t<e}function _o(e,t,n=(i,r)=>i===r){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function*wo(e,t){let n,i;for(let r of e)i!==void 0&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function vo(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 xo(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 yo(e,t){for(let n of t)e.push(n)}var Lr;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function i(s){return s>0}e.isGreaterThan=i;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(Lr||(Lr={}));function an(e,t){return(n,i)=>t(e(n),e(i))}var on=(e,t)=>e-t;function To(e){return(t,n)=>-e(t,n)}var Mt=class Mt{constructor(t){this.iterate=t}toArray(){let t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new Mt(n=>this.iterate(i=>t(i)?n(i):!0))}map(t){return new Mt(n=>this.iterate(i=>n(t(i))))}findLast(t){let n;return this.iterate(i=>(t(i)&&(n=i),!0)),n}findLastMaxBy(t){let n,i=!0;return this.iterate(r=>((i||Lr.isGreaterThan(t(r,n)))&&(i=!1,n=r),!0)),n}};Mt.empty=new Mt(t=>{});var bo=Mt;var Re=class e{static trivial(t,n){return new e([new K($.ofLength(t.length),$.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new e([new K($.ofLength(t.length),$.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}},K=class e{static invert(t,n){let i=[];return vo(t,(r,s)=>{i.push(e.fromOffsetPairs(r?r.getEndExclusives():Ee.zero,s?s.getStarts():new Ee(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(t,n){return new e(new $(t.offset1,n.offset1),new $(t.offset2,n.offset2))}static assertSorted(t){let n;for(let i of t){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new re("Sequence diffs must be sorted");n=i}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new e(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new e(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new e(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new e(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new e(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){let n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(!(!n||!i))return new e(n,i)}getStarts(){return new Ee(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Ee(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}},ct=class ct{constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new ct(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}};ct.zero=new ct(0,0),ct.max=new ct(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);var Ee=ct,oi=class oi{isValid(){return!0}};oi.instance=new oi;var Qe=oi,ai=class{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new re("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}};var Nt=class{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,i){this.array[t+n*this.width]=i}};function cn(e){return e===32||e===9}var ln=class ln{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,i){this.range=t,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){let o=n[s];for(let a=0;a<o.length;a++){r++;let u=o[a],c=ln.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}r++;let l=ln.getKey(`
|
|
13
|
-
`);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(t){let n=0,i=Math.max(this.histogram.length,t.histogram.length);for(let r=0;r<i;r++)n+=Math.abs((this.histogram[r]??0)-(t.histogram[r]??0));return 1-n/(this.totalCount+t.totalCount)}};
|
|
14
|
-
`).length>=15&&Lc(d,p=>p.length>=2)>=2}),o=Mc(e,o),o}function Lc(e,t){let n=0;for(let i of e)t(i)&&n++;return n}function Cc(e,t,n,i){let r=[],s=e.filter(a=>a.modified.isEmpty&&a.original.length>=3).map(a=>new un(a.original,t,a)),o=new Set(e.filter(a=>a.original.isEmpty&&a.modified.length>=3).map(a=>new un(a.modified,n,a))),l=new Set;for(let a of s){let u=-1,c;for(let d of o){let f=a.computeSimilarity(d);f>u&&(u=f,c=d)}if(u>.9&&c&&(o.delete(c),r.push(new Ce(a.range,c.range)),l.add(a.source),l.add(c.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function Ec(e,t,n,i,r,s){let o=[],l=new Yn;for(let f of e)for(let p=f.original.startLineNumber;p<f.original.endLineNumberExclusive-2;p++){let _=`${t[p-1]}:${t[p+1-1]}:${t[p+2-1]}`;l.add(_,{range:new G(p,p+3)})}let a=[];e.sort(an(f=>f.modified.startLineNumber,on));for(let f of e){let p=[];for(let _=f.modified.startLineNumber;_<f.modified.endLineNumberExclusive-2;_++){let m=`${n[_-1]}:${n[_+1-1]}:${n[_+2-1]}`,k=new G(_,_+3),x=[];l.forEach(m,({range:w})=>{for(let E of p)if(E.originalLineRange.endLineNumberExclusive+1===w.endLineNumberExclusive&&E.modifiedLineRange.endLineNumberExclusive+1===k.endLineNumberExclusive){E.originalLineRange=new G(E.originalLineRange.startLineNumber,w.endLineNumberExclusive),E.modifiedLineRange=new G(E.modifiedLineRange.startLineNumber,k.endLineNumberExclusive),x.push(E);return}let A={modifiedLineRange:k,originalLineRange:w};a.push(A),x.push(A)}),p=x}if(!s.isValid())return[]}a.sort(To(an(f=>f.modifiedLineRange.length,on)));let u=new ut,c=new ut;for(let f of a){let p=f.modifiedLineRange.startLineNumber-f.originalLineRange.startLineNumber,_=u.subtractFrom(f.modifiedLineRange),m=c.subtractFrom(f.originalLineRange).getWithDelta(p),k=_.getIntersection(m);for(let x of k.ranges){if(x.length<3)continue;let w=x,A=x.delta(-p);o.push(new Ce(A,w)),u.addRange(w),c.addRange(A)}}o.sort(an(f=>f.original.startLineNumber,on));let d=new rn(e);for(let f=0;f<o.length;f++){let p=o[f],_=d.findLastMonotonous(N=>N.original.startLineNumber<=p.original.startLineNumber),m=Ue(e,N=>N.modified.startLineNumber<=p.modified.startLineNumber),k=Math.max(p.original.startLineNumber-_.original.startLineNumber,p.modified.startLineNumber-m.modified.startLineNumber),x=d.findLastMonotonous(N=>N.original.startLineNumber<p.original.endLineNumberExclusive),w=Ue(e,N=>N.modified.startLineNumber<p.modified.endLineNumberExclusive),A=Math.max(x.original.endLineNumberExclusive-p.original.endLineNumberExclusive,w.modified.endLineNumberExclusive-p.modified.endLineNumberExclusive),E;for(E=0;E<k;E++){let N=p.original.startLineNumber-E-1,b=p.modified.startLineNumber-E-1;if(N>i.length||b>r.length||u.contains(b)||c.contains(N)||!Ao(i[N-1],r[b-1],s))break}E>0&&(c.addRange(new G(p.original.startLineNumber-E,p.original.startLineNumber)),u.addRange(new G(p.modified.startLineNumber-E,p.modified.startLineNumber)));let D;for(D=0;D<A;D++){let N=p.original.endLineNumberExclusive+D,b=p.modified.endLineNumberExclusive+D;if(N>i.length||b>r.length||u.contains(b)||c.contains(N)||!Ao(i[N-1],r[b-1],s))break}D>0&&(c.addRange(new G(p.original.endLineNumberExclusive,p.original.endLineNumberExclusive+D)),u.addRange(new G(p.modified.endLineNumberExclusive,p.modified.endLineNumberExclusive+D))),(E>0||D>0)&&(o[f]=new Ce(new G(p.original.startLineNumber-E,p.original.endLineNumberExclusive+D),new G(p.modified.startLineNumber-E,p.modified.endLineNumberExclusive+D)))}return o}function Ao(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let r=new Dt().compute(new Ze([e],new B(1,1,1,e.length),!1),new Ze([t],new B(1,1,1,t.length),!1),n),s=0,o=K.invert(r.diffs,e.length);for(let c of o)c.seq1Range.forEach(d=>{cn(e.charCodeAt(d))||s++});function l(c){let d=0;for(let f=0;f<e.length;f++)cn(c.charCodeAt(f))||d++;return d}let a=l(e.length>t.length?e:t);return s/a>.6&&a>10}function Rc(e){if(e.length===0)return e;e.sort(an(n=>n.original.startLineNumber,on));let t=[e[0]];for(let n=1;n<e.length;n++){let i=t[t.length-1],r=e[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,o=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&o>=0&&s+o<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}function Mc(e,t){let n=new rn(e);return t=t.filter(i=>{let r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new Ce(new G(1,1),new G(1,1)),s=Ue(e,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),t}function Mr(e,t,n){let i=n;return i=Co(e,t,i),i=Co(e,t,i),i=Nc(e,t,i),i}function Co(e,t,n){if(n.length===0)return n;let i=[];i.push(n[0]);for(let s=1;s<n.length;s++){let o=i[i.length-1],l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let a=l.seq1Range.start-o.seq1Range.endExclusive,u;for(u=1;u<=a&&!(e.getElement(l.seq1Range.start-u)!==e.getElement(l.seq1Range.endExclusive-u)||t.getElement(l.seq2Range.start-u)!==t.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===a){i[i.length-1]=new K(new $(o.seq1Range.start,l.seq1Range.endExclusive-a),new $(o.seq2Range.start,l.seq2Range.endExclusive-a));continue}l=l.delta(-u)}i.push(l)}let r=[];for(let s=0;s<i.length-1;s++){let o=i[s+1],l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let a=o.seq1Range.start-l.seq1Range.endExclusive,u;for(u=0;u<a&&!(!e.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!t.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===a){i[s+1]=new K(new $(l.seq1Range.start+a,o.seq1Range.endExclusive),new $(l.seq2Range.start+a,o.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function Nc(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i<n.length;i++){let r=i>0?n[i-1]:void 0,s=n[i],o=i+1<n.length?n[i+1]:void 0,l=new $(r?r.seq1Range.endExclusive+1:0,o?o.seq1Range.start-1:e.length),a=new $(r?r.seq2Range.endExclusive+1:0,o?o.seq2Range.start-1:t.length);s.seq1Range.isEmpty?n[i]=Eo(s,e,t,l,a):s.seq2Range.isEmpty&&(n[i]=Eo(s.swap(),t,e,a,l).swap())}return n}function Eo(e,t,n,i,r){let o=1;for(;e.seq1Range.start-o>=i.start&&e.seq2Range.start-o>=r.start&&n.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let l=0;for(;e.seq1Range.start+l<i.endExclusive&&e.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(e.seq2Range.start+l,e.seq2Range.endExclusive+l)&&l<100;)l++;if(o===0&&l===0)return e;let a=0,u=-1;for(let c=-o;c<=l;c++){let d=e.seq2Range.start+c,f=e.seq2Range.endExclusive+c,p=e.seq1Range.start+c,_=t.getBoundaryScore(p)+n.getBoundaryScore(d)+n.getBoundaryScore(f);_>u&&(u=_,a=c)}return e.delta(a)}function Ro(e,t,n){let i=[];for(let r of n){let s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new K(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function Mo(e,t,n){let i=K.invert(n,e.length),r=[],s=new Ee(0,0);function o(a,u){if(a.offset1<s.offset1||a.offset2<s.offset2)return;let c=e.findWordContaining(a.offset1),d=t.findWordContaining(a.offset2);if(!c||!d)return;let f=new K(c,d),p=f.intersect(u),_=p.seq1Range.length,m=p.seq2Range.length;for(;i.length>0;){let k=i[0];if(!(k.seq1Range.intersects(f.seq1Range)||k.seq2Range.intersects(f.seq2Range)))break;let w=e.findWordContaining(k.seq1Range.start),A=t.findWordContaining(k.seq2Range.start),E=new K(w,A),D=E.intersect(k);if(_+=D.seq1Range.length,m+=D.seq2Range.length,f=f.join(E),f.seq1Range.endExclusive>=k.seq1Range.endExclusive)i.shift();else break}_+m<(f.seq1Range.length+f.seq2Range.length)*2/3&&r.push(f),s=f.getEndExclusives()}for(;i.length>0;){let a=i.shift();a.seq1Range.isEmpty||(o(a.getStarts(),a),o(a.getEndExclusives().delta(-1),a))}return Dc(n,r)}function Dc(e,t){let n=[];for(;e.length>0||t.length>0;){let i=e[0],r=t[0],s;i&&(!r||i.seq1Range.start<r.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 No(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let o=[i[0]];for(let l=1;l<i.length;l++){let c=function(f,p){let _=new $(u.seq1Range.endExclusive,a.seq1Range.start);return e.getText(_).replace(/\s/g,"").length<=4&&(f.seq1Range.length+f.seq2Range.length>5||p.seq1Range.length+p.seq2Range.length>5)},a=i[l],u=o[o.length-1];c(u,a)?(s=!0,o[o.length-1]=o[o.length-1].join(a)):o.push(a)}i=o}while(r++<10&&s);return i}function Do(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let l=[i[0]];for(let a=1;a<i.length;a++){let d=function(p,_){let m=new $(c.seq1Range.endExclusive,u.seq1Range.start);if(e.countLinesIn(m)>5||m.length>500)return!1;let x=e.getText(m).trim();if(x.length>20||x.split(/\r\n|\r|\n/).length>1)return!1;let w=e.countLinesIn(p.seq1Range),A=p.seq1Range.length,E=t.countLinesIn(p.seq2Range),D=p.seq2Range.length,N=e.countLinesIn(_.seq1Range),b=_.seq1Range.length,g=t.countLinesIn(_.seq2Range),y=_.seq2Range.length,H=2*40+50;function L(S){return Math.min(S,H)}return Math.pow(Math.pow(L(w*40+A),1.5)+Math.pow(L(E*40+D),1.5),1.5)+Math.pow(Math.pow(L(N*40+b),1.5)+Math.pow(L(g*40+y),1.5),1.5)>(H**1.5)**1.5*1.3},u=i[a],c=l[l.length-1];d(c,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);let o=[];return xo(i,(l,a,u)=>{let c=a;function d(x){return x.length>0&&x.trim().length<=3&&a.seq1Range.length+a.seq2Range.length>100}let f=e.extendToFullLines(a.seq1Range),p=e.getText(new $(f.start,a.seq1Range.start));d(p)&&(c=c.deltaStart(-p.length));let _=e.getText(new $(a.seq1Range.endExclusive,f.endExclusive));d(_)&&(c=c.deltaEnd(_.length));let m=K.fromOffsetPairs(l?l.getEndExclusives():Ee.zero,u?u.getStarts():Ee.max),k=c.intersect(m);o.length>0&&k.getStarts().equals(o[o.length-1].getEndExclusives())?o[o.length-1]=o[o.length-1].join(k):o.push(k)}),o}var hn=class{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){let n=t===0?0:Io(this.lines[t-1]),i=t===this.lines.length?0:Io(this.lines[t]);return 1e3-(n+i)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
|
|
15
|
-
`)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}};function Io(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}var ci=class{constructor(){this.dynamicProgrammingDiffing=new li,this.myersDiffingAlgorithm=new Dt}computeDiff(t,n,i){if(t.length<=1&&_o(t,n,(D,N)=>D===N))return new Ye([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new Ye([new He(new G(1,t.length+1),new G(1,n.length+1),[new me(new B(1,1,t.length,t[t.length-1].length+1),new B(1,1,n.length,n[n.length-1].length+1))])],[],!1);let r=i.maxComputationTimeMs===0?Qe.instance:new ai(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,o=new Map;function l(D){let N=o.get(D);return N===void 0&&(N=o.size,o.set(D,N)),N}let a=t.map(D=>l(D.trim())),u=n.map(D=>l(D.trim())),c=new hn(a,t),d=new hn(u,n),f=c.length+d.length<1700?this.dynamicProgrammingDiffing.compute(c,d,r,(D,N)=>t[D]===n[N]?n[N].length===0?.1:1+Math.log(1+n[N].length):.99):this.myersDiffingAlgorithm.compute(c,d,r),p=f.diffs,_=f.hitTimeout;p=Mr(c,d,p),p=No(c,d,p);let m=[],k=D=>{if(s)for(let N=0;N<D;N++){let b=x+N,g=w+N;if(t[b]!==n[g]){let y=this.refineDiff(t,n,new K(new $(b,b+1),new $(g,g+1)),r,s);for(let H of y.mappings)m.push(H);y.hitTimeout&&(_=!0)}}},x=0,w=0;for(let D of p){ot(()=>D.seq1Range.start-x===D.seq2Range.start-w);let N=D.seq1Range.start-x;k(N),x=D.seq1Range.endExclusive,w=D.seq2Range.endExclusive;let b=this.refineDiff(t,n,D,r,s);b.hitTimeout&&(_=!0);for(let g of b.mappings)m.push(g)}k(t.length-x);let A=zo(m,t,n),E=[];return i.computeMoves&&(E=this.computeMoves(A,t,n,a,u,r,s)),ot(()=>{function D(b,g){if(b.lineNumber<1||b.lineNumber>g.length)return!1;let y=g[b.lineNumber-1];return!(b.column<1||b.column>y.length+1)}function N(b,g){return!(b.startLineNumber<1||b.startLineNumber>g.length+1||b.endLineNumberExclusive<1||b.endLineNumberExclusive>g.length+1)}for(let b of A){if(!b.innerChanges)return!1;for(let g of b.innerChanges)if(!(D(g.modifiedRange.getStartPosition(),n)&&D(g.modifiedRange.getEndPosition(),n)&&D(g.originalRange.getStartPosition(),t)&&D(g.originalRange.getEndPosition(),t)))return!1;if(!N(b.modified,n)||!N(b.original,t))return!1}return!0}),new Ye(A,E,_)}computeMoves(t,n,i,r,s,o,l){return Lo(t,n,i,r,s,o).map(c=>{let d=this.refineDiff(n,i,new K(c.original.toOffsetRange(),c.modified.toOffsetRange()),o,l),f=zo(d.mappings,n,i,!0);return new Kn(c,f)})}refineDiff(t,n,i,r,s){let l=zc(i).toRangeMapping2(t,n),a=new Ze(t,l.originalRange,s),u=new Ze(n,l.modifiedRange,s),c=a.length+u.length<500?this.dynamicProgrammingDiffing.compute(a,u,r):this.myersDiffingAlgorithm.compute(a,u,r),d=!1,f=c.diffs;d&&K.assertSorted(f),f=Mr(a,u,f),d&&K.assertSorted(f),f=Mo(a,u,f),d&&K.assertSorted(f),f=Ro(a,u,f),d&&K.assertSorted(f),f=Do(a,u,f),d&&K.assertSorted(f);let p=f.map(_=>new me(a.translateRange(_.seq1Range),u.translateRange(_.seq2Range)));return d&&me.assertSorted(p),{mappings:p,hitTimeout:c.hitTimeout}}};function zo(e,t,n,i=!1){let r=[];for(let s of wo(e.map(o=>Ic(o,t,n)),(o,l)=>o.original.overlapOrTouch(l.original)||o.modified.overlapOrTouch(l.modified))){let o=s[0],l=s[s.length-1];r.push(new He(o.original.join(l.original),o.modified.join(l.modified),s.map(a=>a.innerChanges[0])))}return ot(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length-r[r.length-1].modified.endLineNumberExclusive!==t.length-r[r.length-1].original.endLineNumberExclusive)?!1:tn(r,(s,o)=>o.original.startLineNumber-s.original.endLineNumberExclusive===o.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<o.original.startLineNumber&&s.modified.endLineNumberExclusive<o.modified.startLineNumber)),r}function Ic(e,t,n){let i=0,r=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-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+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);let s=new G(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),o=new G(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new He(s,o,[e])}function zc(e){return new Ce(new G(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new G(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}var Nr={getLegacy:()=>new ri,getDefault:()=>new ci};function Ke(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}var ne=class{constructor(t,n,i,r=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,i))|0,this.a=Ke(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}},Me=class e{constructor(t,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Ke(Math.max(Math.min(1,n),0),3),this.l=Ke(Math.max(Math.min(1,i),0),3),this.a=Ke(Math.max(Math.min(1,r),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){let n=t.r/255,i=t.g/255,r=t.b/255,s=t.a,o=Math.max(n,i,r),l=Math.min(n,i,r),a=0,u=0,c=(l+o)/2,d=o-l;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case n:a=(i-r)/d+(i<r?6:0);break;case i:a=(r-n)/d+2;break;case r:a=(n-i)/d+4;break}a*=60,a=Math.round(a)}return new e(a,u,c,s)}static _hue2rgb(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}static toRGBA(t){let n=t.h/360,{s:i,l:r,a:s}=t,o,l,a;if(i===0)o=l=a=r;else{let u=r<.5?r*(1+i):r+i-r*i,c=2*r-u;o=e._hue2rgb(c,u,n+1/3),l=e._hue2rgb(c,u,n),a=e._hue2rgb(c,u,n-1/3)}return new ne(Math.round(o*255),Math.round(l*255),Math.round(a*255),s)}},It=class e{constructor(t,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=Ke(Math.max(Math.min(1,n),0),3),this.v=Ke(Math.max(Math.min(1,i),0),3),this.a=Ke(Math.max(Math.min(1,r),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){let n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),o=Math.min(n,i,r),l=s-o,a=s===0?0:l/s,u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new e(Math.round(u*60),a,s,t.a)}static toRGBA(t){let{h:n,s:i,v:r,a:s}=t,o=r*i,l=o*(1-Math.abs(n/60%2-1)),a=r-o,[u,c,d]=[0,0,0];return n<60?(u=o,c=l):n<120?(u=l,c=o):n<180?(c=o,d=l):n<240?(c=l,d=o):n<300?(u=l,d=o):n<=360&&(u=o,d=l),u=Math.round((u+a)*255),c=Math.round((c+a)*255),d=Math.round((d+a)*255),new ne(u,c,d,s)}},J=class J{static fromHex(t){return J.Format.CSS.parseHex(t)||J.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Me.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:It.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof ne)this.rgba=t;else if(t instanceof Me)this._hsla=t,this.rgba=Me.toRGBA(t);else if(t instanceof It)this._hsva=t,this.rgba=It.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&ne.equals(this.rgba,t.rgba)&&Me.equals(this.hsla,t.hsla)&&It.equals(this.hsva,t.hsva)}getRelativeLuminance(){let t=J._relativeLuminanceForComponent(this.rgba.r),n=J._relativeLuminanceForComponent(this.rgba.g),i=J._relativeLuminanceForComponent(this.rgba.b),r=.2126*t+.7152*n+.0722*i;return Ke(r,4)}static _relativeLuminanceForComponent(t){let 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){let n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n>i}isDarkerThan(t){let n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n<i}lighten(t){return new J(new Me(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new J(new Me(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){let{r:n,g:i,b:r,a:s}=this.rgba;return new J(new ne(n,i,r,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new J(new ne(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;let{r:n,g:i,b:r,a:s}=this.rgba;return new J(new ne(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-i),t.rgba.b-s*(t.rgba.b-r),1))}toString(){return this._toString||(this._toString=J.Format.CSS.format(this)),this._toString}static getLighterColor(t,n,i){if(t.isLighterThan(n))return t;i=i||.5;let r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,t.lighten(i)}static getDarkerColor(t,n,i){if(t.isDarkerThan(n))return t;i=i||.5;let r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,t.darken(i)}};J.white=new J(new ne(255,255,255,1)),J.black=new J(new ne(0,0,0,1)),J.red=new J(new ne(255,0,0,1)),J.blue=new J(new ne(0,0,255,1)),J.green=new J(new ne(0,255,0,1)),J.cyan=new J(new ne(0,255,255,1)),J.lightgrey=new J(new ne(211,211,211,1)),J.transparent=new J(new ne(0,0,0,0));var ht=J;(function(e){let t;(function(n){let i;(function(r){function s(m){return m.rgba.a===1?`rgb(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b})`:e.Format.CSS.formatRGBA(m)}r.formatRGB=s;function o(m){return`rgba(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b}, ${+m.rgba.a.toFixed(2)})`}r.formatRGBA=o;function l(m){return m.hsla.a===1?`hsl(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(m)}r.formatHSL=l;function a(m){return`hsla(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%, ${m.hsla.a.toFixed(2)})`}r.formatHSLA=a;function u(m){let k=m.toString(16);return k.length!==2?"0"+k:k}function c(m){return`#${u(m.rgba.r)}${u(m.rgba.g)}${u(m.rgba.b)}`}r.formatHex=c;function d(m,k=!1){return k&&m.rgba.a===1?e.Format.CSS.formatHex(m):`#${u(m.rgba.r)}${u(m.rgba.g)}${u(m.rgba.b)}${u(Math.round(m.rgba.a*255))}`}r.formatHexA=d;function f(m){return m.isOpaque()?e.Format.CSS.formatHex(m):e.Format.CSS.formatRGBA(m)}r.format=f;function p(m){let k=m.length;if(k===0||m.charCodeAt(0)!==35)return null;if(k===7){let x=16*_(m.charCodeAt(1))+_(m.charCodeAt(2)),w=16*_(m.charCodeAt(3))+_(m.charCodeAt(4)),A=16*_(m.charCodeAt(5))+_(m.charCodeAt(6));return new e(new ne(x,w,A,1))}if(k===9){let x=16*_(m.charCodeAt(1))+_(m.charCodeAt(2)),w=16*_(m.charCodeAt(3))+_(m.charCodeAt(4)),A=16*_(m.charCodeAt(5))+_(m.charCodeAt(6)),E=16*_(m.charCodeAt(7))+_(m.charCodeAt(8));return new e(new ne(x,w,A,E/255))}if(k===4){let x=_(m.charCodeAt(1)),w=_(m.charCodeAt(2)),A=_(m.charCodeAt(3));return new e(new ne(16*x+x,16*w+w,16*A+A))}if(k===5){let x=_(m.charCodeAt(1)),w=_(m.charCodeAt(2)),A=_(m.charCodeAt(3)),E=_(m.charCodeAt(4));return new e(new ne(16*x+x,16*w+w,16*A+A,(16*E+E)/255))}return null}r.parseHex=p;function _(m){switch(m){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}})(i=n.CSS||(n.CSS={}))})(t=e.Format||(e.Format={}))})(ht||(ht={}));function Ho(e){let t=[];for(let n of e){let i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&t.push(i)}return t}function Dr(e,t,n,i){return{red:e/255,blue:n/255,green:t/255,alpha:i}}function dn(e,t){let n=t.index,i=t[0].length;if(!n)return;let r=e.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function Fc(e,t){if(!e)return;let n=ht.Format.CSS.parseHex(t);if(n)return{range:e,color:Dr(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Fo(e,t,n){if(!e||t.length!==1)return;let r=t[0].values(),s=Ho(r);return{range:e,color:Dr(s[0],s[1],s[2],n?s[3]:1)}}function Uo(e,t,n){if(!e||t.length!==1)return;let r=t[0].values(),s=Ho(r),o=new ht(new Me(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:Dr(o.rgba.r,o.rgba.g,o.rgba.b,o.rgba.a)}}function fn(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function Uc(e){let t=[],i=fn(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(i.length>0)for(let r of i){let s=r.filter(u=>u!==void 0),o=s[1],l=s[2];if(!l)continue;let a;if(o==="rgb"){let u=/^\(\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;a=Fo(dn(e,r),fn(l,u),!1)}else if(o==="rgba"){let u=/^\(\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;a=Fo(dn(e,r),fn(l,u),!0)}else if(o==="hsl"){let u=/^\(\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;a=Uo(dn(e,r),fn(l,u),!1)}else if(o==="hsla"){let u=/^\(\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;a=Uo(dn(e,r),fn(l,u),!0)}else o==="#"&&(a=Fc(dn(e,r),o+l));a&&t.push(a)}return t}function Po(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:Uc(e)}var Wo=new RegExp("\\bMARK:\\s*(.*)$","d"),Hc=/^-+|-+$/g;function Bo(e,t){let n=[];if(t.findRegionSectionHeaders&&t.foldingRules?.markers){let i=Pc(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let i=Wc(e);n=n.concat(i)}return n}function Pc(e,t){let n=[],i=e.getLineCount();for(let r=1;r<=i;r++){let s=e.getLineContent(r),o=s.match(t.foldingRules.markers.start);if(o){let l={startLineNumber:r,startColumn:o[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){let a={range:l,...Oo(s.substring(o[0].length)),shouldBeInComments:!1};(a.text||a.hasSeparatorLine)&&n.push(a)}}}return n}function Wc(e){let t=[],n=e.getLineCount();for(let i=1;i<=n;i++){let r=e.getLineContent(i);Bc(r,i,t)}return t}function Bc(e,t,n){Wo.lastIndex=0;let i=Wo.exec(e);if(i){let r=i.indices[1][0]+1,s=i.indices[1][1]+1,o={startLineNumber:t,startColumn:r,endLineNumber:t,endColumn:s};if(o.endColumn>o.startColumn){let l={range:o,...Oo(i[1]),shouldBeInComments:!0};(l.text||l.hasSeparatorLine)&&n.push(l)}}}function Oo(e){e=e.trim();let t=e.startsWith("-");return e=e.replace(Hc,""),{text:e,hasSeparatorLine:t}}var Oc=Symbol("MicrotaskDelay");var qc,Ir;(function(){typeof globalThis.requestIdleCallback!="function"||typeof globalThis.cancelIdleCallback!="function"?Ir=(e,t)=>{vs(()=>{if(n)return;let i=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,i-Date.now())}}))});let n=!1;return{dispose(){n||(n=!0)}}}:Ir=(e,t,n)=>{let i=e.requestIdleCallback(t,typeof n=="number"?{timeout:n}:void 0),r=!1;return{dispose(){r||(r=!0,e.cancelIdleCallback(i))}}},qc=e=>Ir(globalThis,e)})();var qo;(function(e){async function t(i){let r,s=await Promise.all(i.map(o=>o.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}e.settled=t;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(o){s(o)}})}e.withAsyncBody=n})(qo||(qo={}));var de=class de{static fromArray(t){return new de(n=>{n.emitMany(t)})}static fromPromise(t){return new de(async n=>{n.emitMany(await t)})}static fromPromises(t){return new de(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new de(async n=>{await Promise.all(t.map(async i=>{for await(let r of i)n.emitOne(r)}))})}constructor(t,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new se,queueMicrotask(async()=>{let i={emitOne:r=>this.emitOne(r),emitMany:r=>this.emitMany(r),reject:r=>this.reject(r)};try{await Promise.resolve(t(i)),this.resolve()}catch(r){this.reject(r)}finally{i.emitOne=void 0,i.emitMany=void 0,i.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 vt.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>(this._onReturn?.(),{done:!0,value:void 0})}}static map(t,n){return new de(async i=>{for await(let r of t)i.emitOne(n(r))})}map(t){return de.map(this,t)}static filter(t,n){return new de(async i=>{for await(let r of t)n(r)&&i.emitOne(r)})}filter(t){return de.filter(this,t)}static coalesce(t){return de.filter(t,n=>!!n)}coalesce(){return de.coalesce(this)}static async toPromise(t){let n=[];for await(let i of t)n.push(i);return n}toPromise(){return de.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())}};de.EMPTY=de.fromArray([]);var Vo=de;var hi=class{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=st(t);let i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,t),0),this.values.set(i.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(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=st(t),n=st(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=st(t),n=st(n);let i=this.values,r=this.prefixSum;if(t>=i.length)return!1;let s=i.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,t),0),this.values.set(i.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(r.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=st(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 i=n;i<=t;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,o=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],o=s-this.values[r],t<o)i=r-1;else if(t>=s)n=r+1;else break;return new zr(r,t-o)}};var zr=class{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}};var di=class{constructor(t,n,i,r){this._uri=t,this._lines=n,this._eol=i,this._versionId=r,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);let n=t.changes;for(let i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new Y(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let t=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+t;this._lineStarts=new hi(i)}}_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;let i=Ts(n);if(i.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}i[i.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)+i[0]);let r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(t.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,r)}};var zp=60*1e3;var fi=class{constructor(){this._models=Object.create(null)}getModel(t){return this._models[t]}getModels(){let t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new Fr(he.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]}},Fr=class extends di{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){let n=[];for(let i=0;i<this._lines.length;i++){let r=this._lines[i],s=this.offsetAt(new Y(i+1,1)),o=r.matchAll(t);for(let l of o)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){let i=nn(t.column,yr(n),this._lines[t.lineNumber-1],0);return i?new B(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):null}words(t){let n=this._lines,i=this._wordenize.bind(this),r=0,s="",o=0,l=[];return{*[Symbol.iterator](){for(;;)if(o<l.length){let a=s.substring(l[o].start,l[o].end);o+=1,yield a}else if(r<n.length)s=n[r],l=i(s,t),o=0,r+=1;else break}}}getLineWords(t,n){let i=this._lines[t-1],r=this._wordenize(i,n),s=[];for(let o of r)s.push({word:i.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return s}_wordenize(t,n){let i=[],r;for(n.lastIndex=0;(r=n.exec(t))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);let n=this._eol,i=t.startLineNumber-1,r=t.endLineNumber-1,s=[];s.push(this._lines[i].substring(t.startColumn-1));for(let o=i+1;o<r;o++)s.push(this._lines[o]);return s.push(this._lines[r].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();let n=this._lineStarts.getIndexOf(t),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(t){let n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),i=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||i.lineNumber!==t.endLineNumber||i.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:t}_validatePosition(t){if(!Y.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:i}=t,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{let s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:t}};var Vc=!0,mi=class mi{constructor(){this._workerTextModelSyncServer=new fi}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,i){let r=this._getModel(t);return r?Qn.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){let i=this._getModel(t);return i?Bo(i,n):[]}async $computeDiff(t,n,i,r){let s=this._getModel(t),o=this._getModel(n);return!s||!o?null:dt.computeDiff(s,o,i,r)}static computeDiff(t,n,i,r){let s=r==="advanced"?Nr.getDefault():Nr.getLegacy(),o=t.getLinesContent(),l=n.getLinesContent(),a=s.computeDiff(o,l,i),u=a.changes.length>0?!1:this._modelsAreIdentical(t,n);function c(d){return d.map(f=>[f.original.startLineNumber,f.original.endLineNumberExclusive,f.modified.startLineNumber,f.modified.endLineNumberExclusive,f.innerChanges?.map(p=>[p.originalRange.startLineNumber,p.originalRange.startColumn,p.originalRange.endLineNumber,p.originalRange.endColumn,p.modifiedRange.startLineNumber,p.modifiedRange.startColumn,p.modifiedRange.endLineNumber,p.modifiedRange.endColumn])])}return{identical:u,quitEarly:a.hitTimeout,changes:c(a.changes),moves:a.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,c(d.changes)])}}static _modelsAreIdentical(t,n){let i=t.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){let o=t.getLineContent(s),l=n.getLineContent(s);if(o!==l)return!1}return!0}async $computeMoreMinimalEdits(t,n,i){let r=this._getModel(t);if(!r)return n;let s=[],o;n=n.slice(0).sort((a,u)=>{if(a.range&&u.range)return B.compareRangesUsingStarts(a.range,u.range);let c=a.range?0:1,d=u.range?0:1;return c-d});let l=0;for(let a=1;a<n.length;a++)B.getEndPosition(n[l].range).equals(B.getStartPosition(n[a].range))?(n[l].range=B.fromPositions(B.getStartPosition(n[l].range),B.getEndPosition(n[a].range)),n[l].text+=n[a].text):(l++,n[l]=n[a]);n.length=l+1;for(let{range:a,text:u,eol:c}of n){if(typeof c=="number"&&(o=c),B.isEmpty(a)&&!u)continue;let d=r.getValueInRange(a);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>dt._diffLimit){s.push({range:a,text:u});continue}let f=js(d,u,i),p=r.offsetAt(B.lift(a).getStartPosition());for(let _ of f){let m=r.positionAt(p+_.originalStart),k=r.positionAt(p+_.originalStart+_.originalLength),x={text:u.substr(_.modifiedStart,_.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:k.lineNumber,endColumn:k.column}};r.getValueInRange(x.range)!==x.text&&s.push(x)}}return typeof o=="number"&&s.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){let n=this._getModel(t);return n?Gs(n):null}async $computeDefaultDocumentColors(t){let n=this._getModel(t);return n?Po(n):null}async $textualSuggest(t,n,i,r){let s=new bt,o=new RegExp(i,r),l=new Set;e:for(let a of t){let u=this._getModel(a);if(u){for(let c of u.words(o))if(!(c===n||!isNaN(Number(c)))&&(l.add(c),l.size>dt._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(t,n,i,r){let s=this._getModel(t);if(!s)return Object.create(null);let o=new RegExp(i,r),l=Object.create(null);for(let a=n.startLineNumber;a<n.endLineNumber;a++){let u=s.getLineWords(a,o);for(let c of u){if(!isNaN(Number(c.word)))continue;let d=l[c.word];d||(d=[],l[c.word]=d),d.push({startLineNumber:a,startColumn:c.startColumn,endLineNumber:a,endColumn:c.endColumn})}}return l}async $navigateValueSet(t,n,i,r,s){let o=this._getModel(t);if(!o)return null;let l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let a=o.getValueInRange(n),u=o.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;let c=o.getValueInRange(u);return Hn.INSTANCE.navigateValueSet(n,a,u,c,i)}};mi._diffLimit=1e5,mi._suggestionsLimit=1e4;var Ur=mi,dt=class extends Ur{constructor(t,n){super(),this._host=t,this._foreignModuleFactory=n,this._foreignModule=null}async $ping(){return"pong"}$loadForeignModule(t,n,i){let o={host:so(i,(l,a)=>this._host.$fhr(l,a)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,n),Promise.resolve(vr(this._foreignModule))):new Promise((l,a)=>{let u=c=>{this._foreignModule=c.create(o,n),l(vr(this._foreignModule))};Vc?import(`${Nn.asBrowserUri(`${t}.js`).toString(!0)}`).then(u).catch(a):us([`${t}`],u,a)})}$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(i){return Promise.reject(i)}}};typeof importScripts=="function"&&(globalThis.monaco=to());var Hr=!1;function Pr(e){if(Hr)return;Hr=!0;let t=new In(n=>{globalThis.postMessage(n)},n=>new dt(en.getChannel(n),e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{Hr||Pr(null)};var Gc;function ke(...e){let t=e[0],n,i,r;if(typeof t=="string")n=t,i=t,e.splice(0,1),r=!e||typeof e[0]!="object"?e:e[0];else if(t instanceof Array){let o=e.slice(1);if(t.length!==o.length+1)throw new Error("expected a string as the first argument to l10n.t");let l=t[0];for(let a=1;a<t.length;a++)l+=`{${a-1}}`+t[a];return ke(l,...o)}else i=t.message,n=i,t.comment&&t.comment.length>0&&(n+=`/${Array.isArray(t.comment)?t.comment.join(""):t.comment}`),r=t.args??{};let s=Gc?.[n];return s?typeof s=="string"?pi(s,r):s.comment?pi(s.message,r):pi(i,r):pi(i,r)}var $c=/{([^}]+)}/g;function pi(e,t){return Object.keys(t).length===0?e:e.replace($c,(n,i)=>t[i]??n)}var jo;(function(e){function t(n){return typeof n=="string"}e.is=t})(jo||(jo={}));var Or;(function(e){function t(n){return typeof n=="string"}e.is=t})(Or||(Or={}));var Go;(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})(Go||(Go={}));var bi;(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})(bi||(bi={}));var ae;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=bi.MAX_VALUE),r===Number.MAX_VALUE&&(r=bi.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.uinteger(r.line)&&C.uinteger(r.character)}e.is=n})(ae||(ae={}));var X;(function(e){function t(i,r,s,o){if(C.uinteger(i)&&C.uinteger(r)&&C.uinteger(s)&&C.uinteger(o))return{start:ae.create(i,r),end:ae.create(s,o)};if(ae.is(i)&&ae.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${o}]`)}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&ae.is(r.start)&&ae.is(r.end)}e.is=n})(X||(X={}));var _i;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&(C.string(r.uri)||C.undefined(r.uri))}e.is=n})(_i||(_i={}));var $o;(function(e){function t(i,r,s,o){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:o}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.targetRange)&&C.string(r.targetUri)&&X.is(r.targetSelectionRange)&&(X.is(r.originSelectionRange)||C.undefined(r.originSelectionRange))}e.is=n})($o||($o={}));var qr;(function(e){function t(i,r,s,o){return{red:i,green:r,blue:s,alpha:o}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.numberRange(r.red,0,1)&&C.numberRange(r.green,0,1)&&C.numberRange(r.blue,0,1)&&C.numberRange(r.alpha,0,1)}e.is=n})(qr||(qr={}));var Xo;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&qr.is(r.color)}e.is=n})(Xo||(Xo={}));var Yo;(function(e){function t(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.string(r.label)&&(C.undefined(r.textEdit)||ue.is(r))&&(C.undefined(r.additionalTextEdits)||C.typedArray(r.additionalTextEdits,ue.is))}e.is=n})(Yo||(Yo={}));var wi;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(wi||(wi={}));var Jo;(function(e){function t(i,r,s,o,l,a){let u={startLine:i,endLine:r};return C.defined(s)&&(u.startCharacter=s),C.defined(o)&&(u.endCharacter=o),C.defined(l)&&(u.kind=l),C.defined(a)&&(u.collapsedText=a),u}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.uinteger(r.startLine)&&C.uinteger(r.startLine)&&(C.undefined(r.startCharacter)||C.uinteger(r.startCharacter))&&(C.undefined(r.endCharacter)||C.uinteger(r.endCharacter))&&(C.undefined(r.kind)||C.string(r.kind))}e.is=n})(Jo||(Jo={}));var Vr;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&_i.is(r.location)&&C.string(r.message)}e.is=n})(Vr||(Vr={}));var Qo;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Qo||(Qo={}));var Zo;(function(e){e.Unnecessary=1,e.Deprecated=2})(Zo||(Zo={}));var Ko;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&C.string(i.href)}e.is=t})(Ko||(Ko={}));var vi;(function(e){function t(i,r,s,o,l,a){let u={range:i,message:r};return C.defined(s)&&(u.severity=s),C.defined(o)&&(u.code=o),C.defined(l)&&(u.source=l),C.defined(a)&&(u.relatedInformation=a),u}e.create=t;function n(i){var r;let s=i;return C.defined(s)&&X.is(s.range)&&C.string(s.message)&&(C.number(s.severity)||C.undefined(s.severity))&&(C.integer(s.code)||C.string(s.code)||C.undefined(s.code))&&(C.undefined(s.codeDescription)||C.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(C.string(s.source)||C.undefined(s.source))&&(C.undefined(s.relatedInformation)||C.typedArray(s.relatedInformation,Vr.is))}e.is=n})(vi||(vi={}));var Ft;(function(e){function t(i,r,...s){let o={title:i,command:r};return C.defined(s)&&s.length>0&&(o.arguments=s),o}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.title)&&C.string(r.command)}e.is=n})(Ft||(Ft={}));var ue;(function(e){function t(s,o){return{range:s,newText:o}}e.replace=t;function n(s,o){return{range:{start:s,end:s},newText:o}}e.insert=n;function i(s){return{range:s,newText:""}}e.del=i;function r(s){let o=s;return C.objectLiteral(o)&&C.string(o.newText)&&X.is(o.range)}e.is=r})(ue||(ue={}));var jr;(function(e){function t(i,r,s){let o={label:i};return r!==void 0&&(o.needsConfirmation=r),s!==void 0&&(o.description=s),o}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.string(r.label)&&(C.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(C.string(r.description)||r.description===void 0)}e.is=n})(jr||(jr={}));var Ut;(function(e){function t(n){let i=n;return C.string(i)}e.is=t})(Ut||(Ut={}));var el;(function(e){function t(s,o,l){return{range:s,newText:o,annotationId:l}}e.replace=t;function n(s,o,l){return{range:{start:s,end:s},newText:o,annotationId:l}}e.insert=n;function i(s,o){return{range:s,newText:"",annotationId:o}}e.del=i;function r(s){let o=s;return ue.is(o)&&(jr.is(o.annotationId)||Ut.is(o.annotationId))}e.is=r})(el||(el={}));var Gr;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&Qr.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(Gr||(Gr={}));var $r;(function(e){function t(i,r,s){let o={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(o.options=r),s!==void 0&&(o.annotationId=s),o}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&C.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||C.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||C.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Ut.is(r.annotationId))}e.is=n})($r||($r={}));var Xr;(function(e){function t(i,r,s,o){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),o!==void 0&&(l.annotationId=o),l}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&C.string(r.oldUri)&&C.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||C.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||C.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Ut.is(r.annotationId))}e.is=n})(Xr||(Xr={}));var Yr;(function(e){function t(i,r,s){let o={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(o.options=r),s!==void 0&&(o.annotationId=s),o}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&C.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||C.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||C.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||Ut.is(r.annotationId))}e.is=n})(Yr||(Yr={}));var Jr;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>C.string(r.kind)?$r.is(r)||Xr.is(r)||Yr.is(r):Gr.is(r)))}e.is=t})(Jr||(Jr={}));var tl;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)}e.is=n})(tl||(tl={}));var nl;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&C.integer(r.version)}e.is=n})(nl||(nl={}));var Qr;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&(r.version===null||C.integer(r.version))}e.is=n})(Qr||(Qr={}));var il;(function(e){function t(i,r,s,o){return{uri:i,languageId:r,version:s,text:o}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&C.string(r.languageId)&&C.integer(r.version)&&C.string(r.text)}e.is=n})(il||(il={}));var Pe;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){let i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(Pe||(Pe={}));var bn;(function(e){function t(n){let i=n;return C.objectLiteral(n)&&Pe.is(i.kind)&&C.string(i.value)}e.is=t})(bn||(bn={}));var pe;(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})(pe||(pe={}));var Se;(function(e){e.PlainText=1,e.Snippet=2})(Se||(Se={}));var rl;(function(e){e.Deprecated=1})(rl||(rl={}));var sl;(function(e){function t(i,r,s){return{newText:i,insert:r,replace:s}}e.create=t;function n(i){let r=i;return r&&C.string(r.newText)&&X.is(r.insert)&&X.is(r.replace)}e.is=n})(sl||(sl={}));var al;(function(e){e.asIs=1,e.adjustIndentation=2})(al||(al={}));var ol;(function(e){function t(n){let i=n;return i&&(C.string(i.detail)||i.detail===void 0)&&(C.string(i.description)||i.description===void 0)}e.is=t})(ol||(ol={}));var ll;(function(e){function t(n){return{label:n}}e.create=t})(ll||(ll={}));var ul;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(ul||(ul={}));var xi;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){let r=i;return C.string(r)||C.objectLiteral(r)&&C.string(r.language)&&C.string(r.value)}e.is=n})(xi||(xi={}));var cl;(function(e){function t(n){let i=n;return!!i&&C.objectLiteral(i)&&(bn.is(i.contents)||xi.is(i.contents)||C.typedArray(i.contents,xi.is))&&(n.range===void 0||X.is(n.range))}e.is=t})(cl||(cl={}));var hl;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(hl||(hl={}));var dl;(function(e){function t(n,i,...r){let s={label:n};return C.defined(i)&&(s.documentation=i),C.defined(r)?s.parameters=r:s.parameters=[],s}e.create=t})(dl||(dl={}));var yi;(function(e){e.Text=1,e.Read=2,e.Write=3})(yi||(yi={}));var fl;(function(e){function t(n,i){let r={range:n};return C.number(i)&&(r.kind=i),r}e.create=t})(fl||(fl={}));var Zr;(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})(Zr||(Zr={}));var ml;(function(e){e.Deprecated=1})(ml||(ml={}));var Kr;(function(e){function t(n,i,r,s,o){let l={name:n,kind:i,location:{uri:s,range:r}};return o&&(l.containerName=o),l}e.create=t})(Kr||(Kr={}));var pl;(function(e){function t(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(pl||(pl={}));var es;(function(e){function t(i,r,s,o,l,a){let u={name:i,detail:r,kind:s,range:o,selectionRange:l};return a!==void 0&&(u.children=a),u}e.create=t;function n(i){let r=i;return r&&C.string(r.name)&&C.number(r.kind)&&X.is(r.range)&&X.is(r.selectionRange)&&(r.detail===void 0||C.string(r.detail))&&(r.deprecated===void 0||C.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(es||(es={}));var gl;(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"})(gl||(gl={}));var Ti;(function(e){e.Invoked=1,e.Automatic=2})(Ti||(Ti={}));var bl;(function(e){function t(i,r,s){let o={diagnostics:i};return r!=null&&(o.only=r),s!=null&&(o.triggerKind=s),o}e.create=t;function n(i){let r=i;return C.defined(r)&&C.typedArray(r.diagnostics,vi.is)&&(r.only===void 0||C.typedArray(r.only,C.string))&&(r.triggerKind===void 0||r.triggerKind===Ti.Invoked||r.triggerKind===Ti.Automatic)}e.is=n})(bl||(bl={}));var _l;(function(e){function t(i,r,s){let o={title:i},l=!0;return typeof r=="string"?(l=!1,o.kind=r):Ft.is(r)?o.command=r:o.edit=r,l&&s!==void 0&&(o.kind=s),o}e.create=t;function n(i){let r=i;return r&&C.string(r.title)&&(r.diagnostics===void 0||C.typedArray(r.diagnostics,vi.is))&&(r.kind===void 0||C.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||Ft.is(r.command))&&(r.isPreferred===void 0||C.boolean(r.isPreferred))&&(r.edit===void 0||Jr.is(r.edit))}e.is=n})(_l||(_l={}));var wl;(function(e){function t(i,r){let s={range:i};return C.defined(r)&&(s.data=r),s}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(r.range)&&(C.undefined(r.command)||Ft.is(r.command))}e.is=n})(wl||(wl={}));var vl;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.uinteger(r.tabSize)&&C.boolean(r.insertSpaces)}e.is=n})(vl||(vl={}));var xl;(function(e){function t(i,r,s){return{range:i,target:r,data:s}}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(r.range)&&(C.undefined(r.target)||C.string(r.target))}e.is=n})(xl||(xl={}));var Si;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(Si||(Si={}));var yl;(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"})(yl||(yl={}));var Tl;(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"})(Tl||(Tl={}));var Sl;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(Sl||(Sl={}));var kl;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&C.string(r.text)}e.is=n})(kl||(kl={}));var Al;(function(e){function t(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&C.boolean(r.caseSensitiveLookup)&&(C.string(r.variableName)||r.variableName===void 0)}e.is=n})(Al||(Al={}));var Ll;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&(C.string(r.expression)||r.expression===void 0)}e.is=n})(Ll||(Ll={}));var Cl;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(i.stoppedLocation)}e.is=n})(Cl||(Cl={}));var ts;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(ts||(ts={}));var ns;(function(e){function t(i){return{value:i}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&(r.tooltip===void 0||C.string(r.tooltip)||bn.is(r.tooltip))&&(r.location===void 0||_i.is(r.location))&&(r.command===void 0||Ft.is(r.command))}e.is=n})(ns||(ns={}));var El;(function(e){function t(i,r,s){let o={position:i,label:r};return s!==void 0&&(o.kind=s),o}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&ae.is(r.position)&&(C.string(r.label)||C.typedArray(r.label,ns.is))&&(r.kind===void 0||ts.is(r.kind))&&r.textEdits===void 0||C.typedArray(r.textEdits,ue.is)&&(r.tooltip===void 0||C.string(r.tooltip)||bn.is(r.tooltip))&&(r.paddingLeft===void 0||C.boolean(r.paddingLeft))&&(r.paddingRight===void 0||C.boolean(r.paddingRight))}e.is=n})(El||(El={}));var Rl;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Rl||(Rl={}));var Ml;(function(e){function t(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}e.create=t})(Ml||(Ml={}));var Nl;(function(e){function t(n){return{items:n}}e.create=t})(Nl||(Nl={}));var Dl;(function(e){e.Invoked=0,e.Automatic=1})(Dl||(Dl={}));var Il;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(Il||(Il={}));var zl;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(zl||(zl={}));var Fl;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&Or.is(i.uri)&&C.string(i.name)}e.is=t})(Fl||(Fl={}));var Ul;(function(e){function t(s,o,l,a){return new Xc(s,o,l,a)}e.create=t;function n(s){let o=s;return!!(C.defined(o)&&C.string(o.uri)&&(C.undefined(o.languageId)||C.string(o.languageId))&&C.uinteger(o.lineCount)&&C.func(o.getText)&&C.func(o.positionAt)&&C.func(o.offsetAt))}e.is=n;function i(s,o){let l=s.getText(),a=r(o,(c,d)=>{let f=c.range.start.line-d.range.start.line;return f===0?c.range.start.character-d.range.start.character:f}),u=l.length;for(let c=a.length-1;c>=0;c--){let d=a[c],f=s.offsetAt(d.range.start),p=s.offsetAt(d.range.end);if(p<=u)l=l.substring(0,f)+d.newText+l.substring(p,l.length);else throw new Error("Overlapping edit");u=f}return l}e.applyEdits=i;function r(s,o){if(s.length<=1)return s;let l=s.length/2|0,a=s.slice(0,l),u=s.slice(l);r(a,o),r(u,o);let c=0,d=0,f=0;for(;c<a.length&&d<u.length;)o(a[c],u[d])<=0?s[f++]=a[c++]:s[f++]=u[d++];for(;c<a.length;)s[f++]=a[c++];for(;d<u.length;)s[f++]=u[d++];return s}})(Ul||(Ul={}));var Xc=class{constructor(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],t=this._content,n=!0;for(let i=0;i<t.length;i++){n&&(e.push(i),n=!1);let r=t.charAt(i);n=r==="\r"||r===`
|
|
10
|
+
`).trim(),u=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(a);nn.register(l,u?.[2]??a,l)}return l},this._event}_removeListener(t){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}let n=this._listeners,i=n.indexOf(t);if(i===-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[i]=void 0;let r=this._deliveryQueue.current===this;if(this._size*jl<=n.length){let s=0;for(let o=0;o<n.length;o++)n[o]?n[s++]=n[o]:r&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(t,n){if(!t)return;let i=this._options?.onListenerError||Ee;if(!i){t.value(n);return}try{t.value(n)}catch(r){i(r)}}_deliverQueue(t){let n=t.current._listeners;for(;t.i<t.end;)this._deliver(n[t.i++],t.value);t.reset()}fire(t){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof lt)this._deliver(this._listeners,t);else{let n=this._deliveryQueue;n.enqueue(this,t,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}};var pi=class{constructor(){this.i=-1,this.end=0}enqueue(t,n,i){this.i=0,this.end=i,this.current=t,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}};function gi(){return globalThis._VSCODE_NLS_MESSAGES}function Lt(){return globalThis._VSCODE_NLS_LANGUAGE}var $l=Lt()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function Or(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(i,r)=>{let s=r[0],o=t[s],l=i;return typeof o=="string"?l=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(l=String(o)),l}),$l&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function J(e,t,...n){return Or(typeof e=="number"?Xl(e,t):t,n)}function Xl(e,t){let n=gi()?.[e];if(typeof n!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return n}var ct="en",an=!1,on=!1,sn=!1,Jl=!1,Vr=!1,wi=!1,Ql=!1,Zl=!1,Kl=!1,eu=!1,rn,bi=ct,qr=ct,tu,Re,Me=globalThis,me;typeof Me.vscode<"u"&&typeof Me.vscode.process<"u"?me=Me.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(me=process);var jr=typeof me?.versions?.electron=="string",nu=jr&&me?.type==="renderer";if(typeof me=="object"){an=me.platform==="win32",on=me.platform==="darwin",sn=me.platform==="linux",Jl=sn&&!!me.env.SNAP&&!!me.env.SNAP_REVISION,Ql=jr,Kl=!!me.env.CI||!!me.env.BUILD_ARTIFACTSTAGINGDIRECTORY,rn=ct,bi=ct;let e=me.env.VSCODE_NLS_CONFIG;if(e)try{let t=JSON.parse(e);rn=t.userLocale,qr=t.osLocale,bi=t.resolvedLanguage||ct,tu=t.languagePack?.translationsConfigFile}catch{}Vr=!0}else typeof navigator=="object"&&!nu?(Re=navigator.userAgent,an=Re.indexOf("Windows")>=0,on=Re.indexOf("Macintosh")>=0,Zl=(Re.indexOf("Macintosh")>=0||Re.indexOf("iPad")>=0||Re.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,sn=Re.indexOf("Linux")>=0,eu=Re?.indexOf("Mobi")>=0,wi=!0,bi=Lt()||ct,rn=navigator.language.toLowerCase(),qr=rn):console.error("Unable to resolve platform.");var _i=0;on?_i=1:an?_i=3:sn&&(_i=2);var Qe=an,Gr=on;var $r=Vr,vi=wi,iu=wi&&typeof Me.importScripts=="function",Xr=iu?Me.origin:void 0;var Te=Re;var ru=typeof Me.postMessage=="function"&&!Me.importScripts,Yr=(()=>{if(ru){let e=[];Me.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=e.length;i<r;i++){let s=e[i];if(s.id===n.data.vscodeScheduleAsyncWork){e.splice(i,1),s.callback();return}}});let t=0;return n=>{let i=++t;e.push({id:i,callback:n}),Me.postMessage({vscodeScheduleAsyncWork:i},"*")}}return e=>setTimeout(e)})();var su=!!(Te&&Te.indexOf("Chrome")>=0),Yh=!!(Te&&Te.indexOf("Firefox")>=0),Jh=!!(!su&&Te&&Te.indexOf("Safari")>=0),Qh=!!(Te&&Te.indexOf("Edg/")>=0),Zh=!!(Te&&Te.indexOf("Android")>=0);function ou(e){return e}var ln=class{constructor(t,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof t=="function"?(this._fn=t,this._computeKey=ou):(this._fn=n,this._computeKey=t.getCacheKey)}get(t){let n=this._computeKey(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(t)),this.lastCache}};var Ct=class{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 Qr(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Zr(e){return e.split(/\r\n|\r|\n/)}function Kr(e){for(let t=0,n=e.length;t<n;t++){let i=e.charCodeAt(t);if(i!==32&&i!==9)return t}return-1}function es(e,t=e.length-1){for(let n=t;n>=0;n--){let i=e.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function xi(e){return e>=65&&e<=90}function ft(e){return 55296<=e&&e<=56319}function un(e){return 56320<=e&&e<=57343}function yi(e,t){return(e-55296<<10)+(t-56320)+65536}function ts(e,t,n){let i=e.charCodeAt(n);if(ft(i)&&n+1<t){let r=e.charCodeAt(n+1);if(un(r))return yi(i,r)}return i}var lu=/^[\t\n\r\x20-\x7E]*$/;function ns(e){return lu.test(e)}var Jr=class e{static{this._INSTANCE=null}static getInstance(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE}constructor(){this._data=uu()}getGraphemeBreakType(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;let n=this._data,i=n.length/3,r=1;for(;r<=i;)if(t<n[3*r])r=2*r;else if(t>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};function uu(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}var ht=class e{static{this.ambiguousCharacterData=new Ct(()=>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]}'))}static{this.cache=new ln({getCacheKey:JSON.stringify},t=>{function n(c){let d=new Map;for(let f=0;f<c.length;f+=2)d.set(c[f],c[f+1]);return d}function i(c,d){let f=new Map(c);for(let[p,_]of d)f.set(p,_);return f}function r(c,d){if(!c)return d;let f=new Map;for(let[p,_]of c)d.has(p)&&f.set(p,_);return f}let s=this.ambiguousCharacterData.value,o=t.filter(c=>!c.startsWith("_")&&c in s);o.length===0&&(o=["_default"]);let l;for(let c of o){let d=n(s[c]);l=r(l,d)}let a=n(s._common),u=i(a,l);return new e(u)})}static getInstance(t){return e.cache.get(Array.from(t))}static{this._locales=new Ct(()=>Object.keys(e.ambiguousCharacterData.value).filter(t=>!t.startsWith("_")))}static getLocales(){return e._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())}},dt=class e{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{this._data=void 0}static getData(){return this._data||(this._data=new Set(e.getRawData())),this._data}static isInvisibleCharacter(t){return e.getData().has(t)}static get codePoints(){return e.getData()}};var mt,Ti=globalThis.vscode;if(typeof Ti<"u"&&typeof Ti.process<"u"){let e=Ti.process;mt={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?mt={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:mt={get platform(){return Qe?"win32":Gr?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};var Rt=mt.cwd,is=mt.env,rs=mt.platform;var hu=65,du=97,fu=90,mu=122,Pe=46,ae=47,he=92,Ue=58,pu=63,cn=class extends Error{constructor(t,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";let s=t.indexOf(".")!==-1?"property":"argument",o=`The "${t}" ${s} ${r} of type ${n}`;o+=`. Received type ${typeof i}`,super(o),this.code="ERR_INVALID_ARG_TYPE"}};function gu(e,t){if(e===null||typeof e!="object")throw new cn(t,"Object",e)}function ee(e,t){if(typeof e!="string")throw new cn(t,"string",e)}var Ne=rs==="win32";function V(e){return e===ae||e===he}function Si(e){return e===ae}function He(e){return e>=hu&&e<=fu||e>=du&&e<=mu}function hn(e,t,n,i){let r="",s=0,o=-1,l=0,a=0;for(let u=0;u<=e.length;++u){if(u<e.length)a=e.charCodeAt(u);else{if(i(a))break;a=ae}if(i(a)){if(!(o===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==Pe||r.charCodeAt(r.length-2)!==Pe){if(r.length>2){let c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),o=u,l=0;continue}else if(r.length!==0){r="",s=0,o=u,l=0;continue}}t&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${e.slice(o+1,u)}`:r=e.slice(o+1,u),s=u-o-1;o=u,l=0}else a===Pe&&l!==-1?++l:l=-1}return r}function bu(e){return e?`${e[0]==="."?"":"."}${e}`:""}function ss(e,t){gu(t,"pathObject");let n=t.dir||t.root,i=t.base||`${t.name||""}${bu(t.ext)}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}var ue={resolve(...e){let t="",n="",i=!1;for(let r=e.length-1;r>=-1;r--){let s;if(r>=0){if(s=e[r],ee(s,`paths[${r}]`),s.length===0)continue}else t.length===0?s=Rt():(s=is[`=${t}`]||Rt(),(s===void 0||s.slice(0,2).toLowerCase()!==t.toLowerCase()&&s.charCodeAt(2)===he)&&(s=`${t}\\`));let o=s.length,l=0,a="",u=!1,c=s.charCodeAt(0);if(o===1)V(c)&&(l=1,u=!0);else if(V(c))if(u=!0,V(s.charCodeAt(1))){let d=2,f=d;for(;d<o&&!V(s.charCodeAt(d));)d++;if(d<o&&d!==f){let p=s.slice(f,d);for(f=d;d<o&&V(s.charCodeAt(d));)d++;if(d<o&&d!==f){for(f=d;d<o&&!V(s.charCodeAt(d));)d++;(d===o||d!==f)&&(a=`\\\\${p}\\${s.slice(f,d)}`,l=d)}}}else l=1;else He(c)&&s.charCodeAt(1)===Ue&&(a=s.slice(0,2),l=2,o>2&&V(s.charCodeAt(2))&&(u=!0,l=3));if(a.length>0)if(t.length>0){if(a.toLowerCase()!==t.toLowerCase())continue}else t=a;if(i){if(t.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&t.length>0)break}return n=hn(n,!i,"\\",V),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){ee(e,"path");let t=e.length;if(t===0)return".";let n=0,i,r=!1,s=e.charCodeAt(0);if(t===1)return Si(s)?"\\":e;if(V(s))if(r=!0,V(e.charCodeAt(1))){let l=2,a=l;for(;l<t&&!V(e.charCodeAt(l));)l++;if(l<t&&l!==a){let u=e.slice(a,l);for(a=l;l<t&&V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&!V(e.charCodeAt(l));)l++;if(l===t)return`\\\\${u}\\${e.slice(a)}\\`;l!==a&&(i=`\\\\${u}\\${e.slice(a,l)}`,n=l)}}}else n=1;else He(s)&&e.charCodeAt(1)===Ue&&(i=e.slice(0,2),n=2,t>2&&V(e.charCodeAt(2))&&(r=!0,n=3));let o=n<t?hn(e.slice(n),!r,"\\",V):"";return o.length===0&&!r&&(o="."),o.length>0&&V(e.charCodeAt(t-1))&&(o+="\\"),i===void 0?r?`\\${o}`:o:r?`${i}\\${o}`:`${i}${o}`},isAbsolute(e){ee(e,"path");let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0);return V(n)||t>2&&He(n)&&e.charCodeAt(1)===Ue&&V(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let s=0;s<e.length;++s){let o=e[s];ee(o,"path"),o.length>0&&(t===void 0?t=n=o:t+=`\\${o}`)}if(t===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&V(n.charCodeAt(0))){++r;let s=n.length;s>1&&V(n.charCodeAt(1))&&(++r,s>2&&(V(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<t.length&&V(t.charCodeAt(r));)r++;r>=2&&(t=`\\${t.slice(r)}`)}return ue.normalize(t)},relative(e,t){if(ee(e,"from"),ee(t,"to"),e===t)return"";let n=ue.resolve(e),i=ue.resolve(t);if(n===i||(e=n.toLowerCase(),t=i.toLowerCase(),e===t))return"";let r=0;for(;r<e.length&&e.charCodeAt(r)===he;)r++;let s=e.length;for(;s-1>r&&e.charCodeAt(s-1)===he;)s--;let o=s-r,l=0;for(;l<t.length&&t.charCodeAt(l)===he;)l++;let a=t.length;for(;a-1>l&&t.charCodeAt(a-1)===he;)a--;let u=a-l,c=o<u?o:u,d=-1,f=0;for(;f<c;f++){let _=e.charCodeAt(r+f);if(_!==t.charCodeAt(l+f))break;_===he&&(d=f)}if(f!==c){if(d===-1)return i}else{if(u>c){if(t.charCodeAt(l+f)===he)return i.slice(l+f+1);if(f===2)return i.slice(l+f)}o>c&&(e.charCodeAt(r+f)===he?d=f:f===2&&(d=3)),d===-1&&(d=0)}let p="";for(f=r+d+1;f<=s;++f)(f===s||e.charCodeAt(f)===he)&&(p+=p.length===0?"..":"\\..");return l+=d,p.length>0?`${p}${i.slice(l,a)}`:(i.charCodeAt(l)===he&&++l,i.slice(l,a))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;let t=ue.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===he){if(t.charCodeAt(1)===he){let n=t.charCodeAt(2);if(n!==pu&&n!==Pe)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(He(t.charCodeAt(0))&&t.charCodeAt(1)===Ue&&t.charCodeAt(2)===he)return`\\\\?\\${t}`;return e},dirname(e){ee(e,"path");let t=e.length;if(t===0)return".";let n=-1,i=0,r=e.charCodeAt(0);if(t===1)return V(r)?e:".";if(V(r)){if(n=i=1,V(e.charCodeAt(1))){let l=2,a=l;for(;l<t&&!V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&V(e.charCodeAt(l));)l++;if(l<t&&l!==a){for(a=l;l<t&&!V(e.charCodeAt(l));)l++;if(l===t)return e;l!==a&&(n=i=l+1)}}}}else He(r)&&e.charCodeAt(1)===Ue&&(n=t>2&&V(e.charCodeAt(2))?3:2,i=n);let s=-1,o=!0;for(let l=t-1;l>=i;--l)if(V(e.charCodeAt(l))){if(!o){s=l;break}}else o=!1;if(s===-1){if(n===-1)return".";s=n}return e.slice(0,s)},basename(e,t){t!==void 0&&ee(t,"suffix"),ee(e,"path");let n=0,i=-1,r=!0,s;if(e.length>=2&&He(e.charCodeAt(0))&&e.charCodeAt(1)===Ue&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(s=e.length-1;s>=n;--s){let a=e.charCodeAt(s);if(V(a)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(i=s):(o=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=n;--s)if(V(e.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ee(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,o=0;e.length>=2&&e.charCodeAt(1)===Ue&&He(e.charCodeAt(0))&&(t=i=2);for(let l=e.length-1;l>=t;--l){let a=e.charCodeAt(l);if(V(a)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),a===Pe?n===-1?n=l:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||r===-1||o===0||o===1&&n===r-1&&n===i+1?"":e.slice(n,r)},format:ss.bind(null,"\\"),parse(e){ee(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=e.length,i=0,r=e.charCodeAt(0);if(n===1)return V(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(V(r)){if(i=1,V(e.charCodeAt(1))){let d=2,f=d;for(;d<n&&!V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&V(e.charCodeAt(d));)d++;if(d<n&&d!==f){for(f=d;d<n&&!V(e.charCodeAt(d));)d++;d===n?i=d:d!==f&&(i=d+1)}}}}else if(He(r)&&e.charCodeAt(1)===Ue){if(n<=2)return t.root=t.dir=e,t;if(i=2,V(e.charCodeAt(2))){if(n===3)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let s=-1,o=i,l=-1,a=!0,u=e.length-1,c=0;for(;u>=i;--u){if(r=e.charCodeAt(u),V(r)){if(!a){o=u+1;break}continue}l===-1&&(a=!1,l=u+1),r===Pe?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===o+1?t.base=t.name=e.slice(o,l):(t.name=e.slice(o,s),t.base=e.slice(o,l),t.ext=e.slice(s,l))),o>0&&o!==i?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},_u=(()=>{if(Ne){let e=/\\/g;return()=>{let t=Rt().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Rt()})(),oe={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){let r=i>=0?e[i]:_u();ee(r,`paths[${i}]`),r.length!==0&&(t=`${r}/${t}`,n=r.charCodeAt(0)===ae)}return t=hn(t,!n,"/",Si),n?`/${t}`:t.length>0?t:"."},normalize(e){if(ee(e,"path"),e.length===0)return".";let t=e.charCodeAt(0)===ae,n=e.charCodeAt(e.length-1)===ae;return e=hn(e,!t,"/",Si),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return ee(e,"path"),e.length>0&&e.charCodeAt(0)===ae},join(...e){if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){let i=e[n];ee(i,"path"),i.length>0&&(t===void 0?t=i:t+=`/${i}`)}return t===void 0?".":oe.normalize(t)},relative(e,t){if(ee(e,"from"),ee(t,"to"),e===t||(e=oe.resolve(e),t=oe.resolve(t),e===t))return"";let n=1,i=e.length,r=i-n,s=1,o=t.length-s,l=r<o?r:o,a=-1,u=0;for(;u<l;u++){let d=e.charCodeAt(n+u);if(d!==t.charCodeAt(s+u))break;d===ae&&(a=u)}if(u===l)if(o>l){if(t.charCodeAt(s+u)===ae)return t.slice(s+u+1);if(u===0)return t.slice(s+u)}else r>l&&(e.charCodeAt(n+u)===ae?a=u:u===0&&(a=0));let c="";for(u=n+a+1;u<=i;++u)(u===i||e.charCodeAt(u)===ae)&&(c+=c.length===0?"..":"/..");return`${c}${t.slice(s+a)}`},toNamespacedPath(e){return e},dirname(e){if(ee(e,"path"),e.length===0)return".";let t=e.charCodeAt(0)===ae,n=-1,i=!0;for(let r=e.length-1;r>=1;--r)if(e.charCodeAt(r)===ae){if(!i){n=r;break}}else i=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&ee(t,"ext"),ee(e,"path");let n=0,i=-1,r=!0,s;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,l=-1;for(s=e.length-1;s>=0;--s){let a=e.charCodeAt(s);if(a===ae){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),o>=0&&(a===t.charCodeAt(o)?--o===-1&&(i=s):(o=-1,i=l))}return n===i?i=l:i===-1&&(i=e.length),e.slice(n,i)}for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===ae){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":e.slice(n,i)},extname(e){ee(e,"path");let t=-1,n=0,i=-1,r=!0,s=0;for(let o=e.length-1;o>=0;--o){let l=e.charCodeAt(o);if(l===ae){if(!r){n=o+1;break}continue}i===-1&&(r=!1,i=o+1),l===Pe?t===-1?t=o:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||i===-1||s===0||s===1&&t===i-1&&t===n+1?"":e.slice(t,i)},format:ss.bind(null,"/"),parse(e){ee(e,"path");let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let n=e.charCodeAt(0)===ae,i;n?(t.root="/",i=1):i=0;let r=-1,s=0,o=-1,l=!0,a=e.length-1,u=0;for(;a>=i;--a){let c=e.charCodeAt(a);if(c===ae){if(!l){s=a+1;break}continue}o===-1&&(l=!1,o=a+1),c===Pe?r===-1?r=a:u!==1&&(u=1):r!==-1&&(u=-1)}if(o!==-1){let c=s===0&&n?1:s;r===-1||u===0||u===1&&r===o-1&&r===s+1?t.base=t.name=e.slice(c,o):(t.name=e.slice(c,r),t.base=e.slice(c,o),t.ext=e.slice(r,o))}return s>0?t.dir=e.slice(0,s-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};oe.win32=ue.win32=ue;oe.posix=ue.posix=oe;var rd=Ne?ue.normalize:oe.normalize,as=Ne?ue.join:oe.join,sd=Ne?ue.resolve:oe.resolve,ad=Ne?ue.relative:oe.relative,od=Ne?ue.dirname:oe.dirname,ld=Ne?ue.basename:oe.basename,ud=Ne?ue.extname:oe.extname,cd=Ne?ue.sep:oe.sep;var wu=/^\w[\w\d+.-]*$/,vu=/^\//,xu=/^\/\//;function yu(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&&!wu.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!vu.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(xu.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 Tu(e,t){return!e&&!t?"file":e}function Su(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==we&&(t=we+t):t=we;break}return t}var Q="",we="/",ku=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,ce=class e{static isUri(t){return t instanceof e?!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,i,r,s,o=!1){typeof t=="object"?(this.scheme=t.scheme||Q,this.authority=t.authority||Q,this.path=t.path||Q,this.query=t.query||Q,this.fragment=t.fragment||Q):(this.scheme=Tu(t,o),this.authority=n||Q,this.path=Su(this.scheme,i||Q),this.query=r||Q,this.fragment=s||Q,yu(this,o))}get fsPath(){return ki(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:i,path:r,query:s,fragment:o}=t;return n===void 0?n=this.scheme:n===null&&(n=Q),i===void 0?i=this.authority:i===null&&(i=Q),r===void 0?r=this.path:r===null&&(r=Q),s===void 0?s=this.query:s===null&&(s=Q),o===void 0?o=this.fragment:o===null&&(o=Q),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&o===this.fragment?this:new We(n,i,r,s,o)}static parse(t,n=!1){let i=ku.exec(t);return i?new We(i[2]||Q,dn(i[4]||Q),dn(i[5]||Q),dn(i[7]||Q),dn(i[9]||Q),n):new We(Q,Q,Q,Q,Q)}static file(t){let n=Q;if(Qe&&(t=t.replace(/\\/g,we)),t[0]===we&&t[1]===we){let i=t.indexOf(we,2);i===-1?(n=t.substring(2),t=we):(n=t.substring(2,i),t=t.substring(i)||we)}return new We("file",n,t,Q,Q)}static from(t,n){return new We(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 i;return Qe&&t.scheme==="file"?i=e.file(ue.join(ki(t,!0),...n)).path:i=oe.join(t.path,...n),t.with({path:i})}toString(t=!1){return Ai(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof e)return t;{let n=new We(t);return n._formatted=t.external??null,n._fsPath=t._sep===cs?t.fsPath??null:null,n}}else return t}},cs=Qe?1:void 0,We=class extends ce{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=ki(this,!1)),this._fsPath}toString(t=!1){return t?Ai(this,!0):(this._formatted||(this._formatted=Ai(this,!1)),this._formatted)}toJSON(){let t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=cs),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}},hs={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 ls(e,t,n){let i,r=-1;for(let s=0;s<e.length;s++){let o=e.charCodeAt(s);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||t&&o===47||n&&o===91||n&&o===93||n&&o===58)r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i!==void 0&&(i+=e.charAt(s));else{i===void 0&&(i=e.substr(0,s));let l=hs[o];l!==void 0?(r!==-1&&(i+=encodeURIComponent(e.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(e.substring(r))),i!==void 0?i:e}function Au(e){let t;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);i===35||i===63?(t===void 0&&(t=e.substr(0,n)),t+=hs[i]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function ki(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,Qe&&(n=n.replace(/\//g,"\\")),n}function Ai(e,t){let n=t?Au:ls,i="",{scheme:r,authority:s,path:o,query:l,fragment:a}=e;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=we,i+=we),s){let u=s.indexOf("@");if(u!==-1){let c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){let u=o.charCodeAt(1);u>=65&&u<=90&&(o=`/${String.fromCharCode(u+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){let u=o.charCodeAt(0);u>=65&&u<=90&&(o=`${String.fromCharCode(u+32)}:${o.substr(2)}`)}i+=n(o,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),a&&(i+="#",i+=t?a:ls(a,!1,!1)),i}function ds(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+ds(e.substr(3)):e}}var us=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function dn(e){return e.match(us)?e.replace(us,t=>ds(t)):e}var Be;(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"})(Be||(Be={}));var Lu="tkn",Li=class{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 oe.join(this._serverRootPath,Be.vscodeRemoteResource)}rewrite(t){if(this._delegate)try{return this._delegate(t)}catch(l){return Ee(l),t}let n=t.authority,i=this._hosts[n];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);let r=this._ports[n],s=this._connectionTokens[n],o=`path=${encodeURIComponent(t.path)}`;return typeof s=="string"&&(o+=`&${Lu}=${encodeURIComponent(s)}`),ce.from({scheme:vi?this._preferredWebSchema:Be.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:o})}},Cu=new Li,Eu="vscode-app",Ci=class e{static{this.FALLBACK_AUTHORITY=Eu}asBrowserUri(t){let n=this.toUri(t);return this.uriToBrowserUri(n)}uriToBrowserUri(t){return t.scheme===Be.vscodeRemote?Cu.rewrite(t):t.scheme===Be.file&&($r||Xr===`${Be.vscodeFileResource}://${e.FALLBACK_AUTHORITY}`)?t.with({scheme:Be.vscodeFileResource,authority:t.authority||e.FALLBACK_AUTHORITY,query:null,fragment:null}):t}toUri(t,n){if(ce.isUri(t))return t;if(globalThis._VSCODE_FILE_ROOT){let i=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(i))return ce.joinPath(ce.parse(i,!0),t);let r=as(i,t);return ce.file(r)}return ce.parse(n.toUrl(t))}},fn=new Ci,fs;(function(e){let 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"));let n="vscode-coi";function i(s){let o;typeof s=="string"?o=new URL(s).searchParams:s instanceof URL?o=s.searchParams:ce.isUri(s)&&(o=new URL(s.toString(!0)).searchParams);let l=o?.get(n);if(l)return t.get(l)}e.getHeadersFromQuery=i;function r(s,o,l){if(!globalThis.crossOriginIsolated)return;let a=o&&l?"3":l?"2":"1";s instanceof URLSearchParams?s.set(n,a):s[n]=a}e.addSearchParam=r})(fs||(fs={}));var Ru=!0,Ei="default",Mu="$initialize";var Ri=class{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}},mn=class{constructor(t,n,i,r){this.vsWorker=t,this.seq=n,this.res=i,this.err=r,this.type=1}},Mi=class{constructor(t,n,i,r,s){this.vsWorker=t,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}},Ni=class{constructor(t,n,i){this.vsWorker=t,this.req=n,this.event=i,this.type=3}},Di=class{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}},Ii=class{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,i){let r=String(++this._lastSentReq);return new Promise((s,o)=>{this._pendingReplies[r]={resolve:s,reject:o},this._send(new Ri(this._workerId,r,t,n,i))})}listen(t,n,i){let r=null,s=new re({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new Mi(this._workerId,r,t,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Di(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}createProxyToRemoteChannel(t,n){let i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(ps(s)?r[s]=o=>this.listen(t,s,o):ms(s)?r[s]=this.listen(t,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...o)=>(await n?.(),this.sendMessage(t,s,o)))),r[s])};return new Proxy(Object.create(null),i)}_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}let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let i=t.err;t.err.$isError&&(i=new Error,i.name=t.err.name,i.message=t.err.message,i.stack=t.err.stack),n.reject(i);return}n.resolve(t.res)}_handleRequestMessage(t){let n=t.req;this._handler.handleMessage(t.channel,t.method,t.args).then(r=>{this._send(new mn(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=si(r.detail)),this._send(new mn(this._workerId,n,void 0,si(r)))})}_handleSubscribeEventMessage(t){let n=t.req,i=this._handler.handleEvent(t.channel,t.eventName,t.arg)(r=>{this._send(new Ni(this._workerId,n,r))});this._pendingEvents.set(n,i)}_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){let n=[];if(t.type===0)for(let i=0;i<t.args.length;i++)t.args[i]instanceof ArrayBuffer&&n.push(t.args[i]);else t.type===1&&t.res instanceof ArrayBuffer&&n.push(t.res);this._handler.sendMessage(t,n)}};function ms(e){return e[0]==="o"&&e[1]==="n"&&xi(e.charCodeAt(2))}function ps(e){return/^onDynamic/.test(e)&&xi(e.charCodeAt(9))}var pn=class{constructor(t,n){this._localChannels=new Map,this._remoteChannels=new Map,this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Ii({sendMessage:(i,r)=>{t(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n,i){if(t===Ei&&n===Mu)return this.initialize(i[0],i[1],i[2]);let r=t===Ei?this._requestHandler:this._localChannels.get(t);if(!r)return Promise.reject(new Error(`Missing channel ${t} on worker thread`));if(typeof r[n]!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${t}`));try{return Promise.resolve(r[n].apply(r,i))}catch(s){return Promise.reject(s)}}_handleEvent(t,n,i){let r=t===Ei?this._requestHandler:this._localChannels.get(t);if(!r)throw new Error(`Missing channel ${t} on worker thread`);if(ps(n)){let s=r[n].call(r,i);if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return s}if(ms(n)){let s=r[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)){let n=this._protocol.createProxyToRemoteChannel(t);this._remoteChannels.set(t,n)}return this._remoteChannels.get(t)}async initialize(t,n,i){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)),Ru?import(`${fn.asBrowserUri(`${i}.js`).toString(!0)}`).then(s=>{if(this._requestHandler=s.create(this),!this._requestHandler)throw new Error("No RequestHandler!")}):new Promise((r,s)=>{let o=globalThis.require;o([i],l=>{if(this._requestHandler=l.create(this),!this._requestHandler){s(new Error("No RequestHandler!"));return}r()},s)})}};var ve=class{constructor(t,n,i,r){this.originalStart=t,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}};function gs(e,t){return(t<<5)-t+e|0}function ws(e,t){t=gs(149417,t);for(let n=0,i=e.length;n<i;n++)t=gs(e.charCodeAt(n),t);return t}function zi(e,t,n=32){let i=n-t,r=~((1<<i)-1);return(e<<t|(r&e)>>>i)>>>0}function bs(e,t=0,n=e.byteLength,i=0){for(let r=0;r<n;r++)e[t+r]=i}function Nu(e,t,n="0"){for(;e.length<t;)e=n+e;return e}function Mt(e,t=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map(n=>n.toString(16).padStart(2,"0")).join(""):Nu((e>>>0).toString(16),t/4)}var _s=class e{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}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){let n=t.length;if(n===0)return;let i=this._buff,r=this._buffLen,s=this._leftoverHighSurrogate,o,l;for(s!==0?(o=s,l=-1,s=0):(o=t.charCodeAt(0),l=0);;){let a=o;if(ft(o))if(l+1<n){let u=t.charCodeAt(l+1);un(u)?(l++,a=yi(o,u)):a=65533}else{s=o;break}else un(o)&&(a=65533);if(r=this._push(i,r,a),l++,l<n)o=t.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(t,n,i){return i<128?t[n++]=i:i<2048?(t[n++]=192|(i&1984)>>>6,t[n++]=128|(i&63)>>>0):i<65536?(t[n++]=224|(i&61440)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&63)>>>0):(t[n++]=240|(i&1835008)>>>18,t[n++]=128|(i&258048)>>>12,t[n++]=128|(i&4032)>>>6,t[n++]=128|(i&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()),Mt(this._h0)+Mt(this._h1)+Mt(this._h2)+Mt(this._h3)+Mt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,bs(this._buff,this._buffLen),this._buffLen>56&&(this._step(),bs(this._buff));let t=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(t/4294967296),!1),this._buffDV.setUint32(60,t%4294967296,!1),this._step()}_step(){let t=e._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)t.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)t.setUint32(d,zi(t.getUint32(d-12,!1)^t.getUint32(d-32,!1)^t.getUint32(d-56,!1)^t.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,o=this._h3,l=this._h4,a,u,c;for(let d=0;d<80;d++)d<20?(a=r&s|~r&o,u=1518500249):d<40?(a=r^s^o,u=1859775393):d<60?(a=r&s|r&o|s&o,u=2400959708):(a=r^s^o,u=3395469782),c=zi(i,5)+a+l+u+t.getUint32(d*4,!1)&4294967295,l=o,o=s,s=zi(r,30),r=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+l&4294967295}};var gn=class{constructor(t){this.source=t}getElements(){let t=this.source,n=new Int32Array(t.length);for(let i=0,r=t.length;i<r;i++)n[i]=t.charCodeAt(i);return n}};function vs(e,t,n){return new Nt(new gn(e),new gn(t)).ComputeDiff(n).changes}var Oe=class{static Assert(t,n){if(!t)throw new Error(n)}},qe=class{static Copy(t,n,i,r,s){for(let o=0;o<s;o++)i[r+o]=t[n+o]}static Copy2(t,n,i,r,s){for(let o=0;o<s;o++)i[r+o]=t[n+o]}},bn=class{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 ve(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}},Nt=class e{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;let[r,s,o]=e._getElements(t),[l,a,u]=e._getElements(n);this._hasStrings=o&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){let n=t.getElements();if(e._isStringArray(n)){let i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=ws(n[r],0);return[n,i,!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;let i=e._getStrictElement(this._originalSequence,t),r=e._getStrictElement(this._modifiedSequence,n);return i===r}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,i,r,s){let o=[!1],l=this.ComputeDiffRecursive(t,n,i,r,o);return s&&(l=this.PrettifyChanges(l)),{quitEarly:o[0],changes:l}}ComputeDiffRecursive(t,n,i,r,s){for(s[0]=!1;t<=n&&i<=r&&this.ElementsAreEqual(t,i);)t++,i++;for(;n>=t&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(t>n||i>r){let d;return i<=r?(Oe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),d=[new ve(t,0,i,r-i+1)]):t<=n?(Oe.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new ve(t,n-t+1,i,0)]):(Oe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),Oe.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}let o=[0],l=[0],a=this.ComputeRecursionPoint(t,n,i,r,o,l,s),u=o[0],c=l[0];if(a!==null)return a;if(!s[0]){let d=this.ComputeDiffRecursive(t,u,i,c,s),f=[];return s[0]?f=[new ve(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:f=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,f)}return[new ve(t,n-t+1,i,r-i+1)]}WALKTRACE(t,n,i,r,s,o,l,a,u,c,d,f,p,_,m,k,x,w){let A=null,E=null,D=new bn,N=n,b=i,g=p[0]-k[0]-r,y=-1073741824,H=this.m_forwardHistory.length-1;do{let L=g+t;L===N||L<b&&u[L-1]<u[L+1]?(d=u[L+1],_=d-g-r,d<y&&D.MarkNextChange(),y=d,D.AddModifiedElement(d+1,_),g=L+1-t):(d=u[L-1]+1,_=d-g-r,d<y&&D.MarkNextChange(),y=d-1,D.AddOriginalElement(d,_+1),g=L-1-t),H>=0&&(u=this.m_forwardHistory[H],t=u[0],N=1,b=u.length-1)}while(--H>=-1);if(A=D.getReverseChanges(),w[0]){let L=p[0]+1,T=k[0]+1;if(A!==null&&A.length>0){let z=A[A.length-1];L=Math.max(L,z.getOriginalEnd()),T=Math.max(T,z.getModifiedEnd())}E=[new ve(L,f-L+1,T,m-T+1)]}else{D=new bn,N=o,b=l,g=p[0]-k[0]-a,y=1073741824,H=x?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let L=g+s;L===N||L<b&&c[L-1]>=c[L+1]?(d=c[L+1]-1,_=d-g-a,d>y&&D.MarkNextChange(),y=d+1,D.AddOriginalElement(d+1,_+1),g=L+1-s):(d=c[L-1],_=d-g-a,d>y&&D.MarkNextChange(),y=d,D.AddModifiedElement(d+1,_+1),g=L-1-s),H>=0&&(c=this.m_reverseHistory[H],s=c[0],N=1,b=c.length-1)}while(--H>=-1);E=D.getChanges()}return this.ConcatenateChanges(A,E)}ComputeRecursionPoint(t,n,i,r,s,o,l){let a=0,u=0,c=0,d=0,f=0,p=0;t--,i--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let _=n-t+(r-i),m=_+1,k=new Int32Array(m),x=new Int32Array(m),w=r-i,A=n-t,E=t-i,D=n-r,b=(A-w)%2===0;k[w]=t,x[A]=n,l[0]=!1;for(let g=1;g<=_/2+1;g++){let y=0,H=0;c=this.ClipDiagonalBound(w-g,g,w,m),d=this.ClipDiagonalBound(w+g,g,w,m);for(let T=c;T<=d;T+=2){T===c||T<d&&k[T-1]<k[T+1]?a=k[T+1]:a=k[T-1]+1,u=a-(T-w)-E;let z=a;for(;a<n&&u<r&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(k[T]=a,a+u>y+H&&(y=a,H=u),!b&&Math.abs(T-A)<=g-1&&a>=x[T])return s[0]=a,o[0]=u,z<=x[T]&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):null}let L=(y-t+(H-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(y,L))return l[0]=!0,s[0]=y,o[0]=H,L>0&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):(t++,i++,[new ve(t,n-t+1,i,r-i+1)]);f=this.ClipDiagonalBound(A-g,g,A,m),p=this.ClipDiagonalBound(A+g,g,A,m);for(let T=f;T<=p;T+=2){T===f||T<p&&x[T-1]>=x[T+1]?a=x[T+1]-1:a=x[T-1],u=a-(T-A)-D;let z=a;for(;a>t&&u>i&&this.ElementsAreEqual(a,u);)a--,u--;if(x[T]=a,b&&Math.abs(T-w)<=g&&a<=k[T])return s[0]=a,o[0]=u,z>=k[T]&&g<=1448?this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l):null}if(g<=1447){let T=new Int32Array(d-c+2);T[0]=w-c+1,qe.Copy2(k,c,T,1,d-c+1),this.m_forwardHistory.push(T),T=new Int32Array(p-f+2),T[0]=A-f+1,qe.Copy2(x,f,T,1,p-f+1),this.m_reverseHistory.push(T)}}return this.WALKTRACE(w,c,d,E,A,f,p,D,k,x,a,n,s,u,r,o,b,l)}PrettifyChanges(t){for(let n=0;n<t.length;n++){let i=t[n],r=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,s=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,o=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){let u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}let a=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],a)){t[n]=a[0],t.splice(n+1,1),n--;continue}}for(let n=t.length-1;n>=0;n--){let i=t[n],r=0,s=0;if(n>0){let d=t[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}let o=i.originalLength>0,l=i.modifiedLength>0,a=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){let f=i.originalStart-d,p=i.modifiedStart-d;if(f<r||p<s||o&&!this.OriginalElementsAreEqual(f,f+i.originalLength)||l&&!this.ModifiedElementsAreEqual(p,p+i.modifiedLength))break;let m=(f===r&&p===s?5:0)+this._boundaryScore(f,i.originalLength,p,i.modifiedLength);m>u&&(u=m,a=d)}i.originalStart-=a,i.modifiedStart-=a;let c=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],c)){t[n-1]=c[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n<i;n++){let r=t[n-1],s=t[n],o=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,a=s.originalStart+s.originalLength,u=a-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,f=d-c;if(o<5&&u<20&&f<20){let p=this._findBetterContiguousSequence(l,u,c,f,o);if(p){let[_,m]=p;(_!==r.originalStart+r.originalLength||m!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=_-r.originalStart,r.modifiedLength=m-r.modifiedStart,s.originalStart=_+o,s.modifiedStart=m+o,s.originalLength=a-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return t}_findBetterContiguousSequence(t,n,i,r,s){if(n<s||r<s)return null;let o=t+n-s+1,l=i+r-s+1,a=0,u=0,c=0;for(let d=t;d<o;d++)for(let f=i;f<l;f++){let p=this._contiguousSequenceScore(d,f,s);p>0&&p>a&&(a=p,u=d,c=f)}return a>0?[u,c]:null}_contiguousSequenceScore(t,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(t+s,n+s))return 0;r+=this._originalStringElements[t+s].length}return r}_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){let i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))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){let i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,r){let s=this._OriginalRegionIsBoundary(t,n)?1:0,o=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+o}ConcatenateChanges(t,n){let i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){let r=new Array(t.length+n.length-1);return qe.Copy(t,0,r,0,t.length-1),r[t.length-1]=i[0],qe.Copy(n,1,r,t.length,n.length-1),r}else{let r=new Array(t.length+n.length);return qe.Copy(t,0,r,0,t.length),qe.Copy(n,0,r,t.length,n.length),r}}ChangesOverlap(t,n,i){if(Oe.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),Oe.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){let r=t.originalStart,s=t.originalLength,o=t.modifiedStart,l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new ve(r,s,o,l),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,r){if(t>=0&&t<r)return t;let s=i,o=r-i-1,l=n%2===0;if(t<0){let a=s%2===0;return l===a?0:1}else{let a=o%2===0;return l===a?r-1:r-2}}};var Y=class e{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 e(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return e.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return e.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 e.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){let i=t.lineNumber|0,r=n.lineNumber|0;if(i===r){let s=t.column|0,o=n.column|0;return s-o}return i-r}clone(){return new e(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(t){return new e(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}}};var B=class e{constructor(t,n,i,r){t>i||t===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return e.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return e.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 e.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 e.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 e.plusRange(this,t)}static plusRange(t,n){let i,r,s,o;return n.startLineNumber<t.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===t.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,t.startColumn)):(i=t.startLineNumber,r=t.startColumn),n.endLineNumber>t.endLineNumber?(s=n.endLineNumber,o=n.endColumn):n.endLineNumber===t.endLineNumber?(s=n.endLineNumber,o=Math.max(n.endColumn,t.endColumn)):(s=t.endLineNumber,o=t.endColumn),new e(i,r,s,o)}intersectRanges(t){return e.intersectRanges(this,t)}static intersectRanges(t,n){let i=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,o=t.endColumn,l=n.startLineNumber,a=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=a):i===l&&(r=Math.max(r,a)),s>u?(s=u,o=c):s===u&&(o=Math.min(o,c)),i>s||i===s&&r>o?null:new e(i,r,s,o)}equalsRange(t){return e.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 e.getEndPosition(this)}static getEndPosition(t){return new Y(t.endLineNumber,t.endColumn)}getStartPosition(){return e.getStartPosition(this)}static getStartPosition(t){return new Y(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new e(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new e(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return e.collapseToStart(this)}static collapseToStart(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return e.collapseToEnd(this)}static collapseToEnd(t){return new e(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new e(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new e(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new e(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){let s=t.startLineNumber|0,o=n.startLineNumber|0;if(s===o){let l=t.startColumn|0,a=n.startColumn|0;if(l===a){let u=t.endLineNumber|0,c=n.endLineNumber|0;if(u===c){let d=t.endColumn|0,f=n.endColumn|0;return d-f}return u-c}return l-a}return s-o}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 Fi(e){return e<0?0:e>255?255:e|0}function Ze(e){return e<0?0:e>4294967295?4294967295:e|0}var Dt=class e{constructor(t){let n=Fi(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){let n=new Uint8Array(256);return n.fill(t),n}set(t,n){let i=Fi(n);t>=0&&t<256?this._asciiMap[t]=i:this._map.set(t,i)}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()}};var Hi=class{constructor(t,n,i){let r=new Uint8Array(t*n);for(let s=0,o=t*n;s<o;s++)r[s]=i;this._data=r,this.rows=t,this.cols=n}get(t,n){return this._data[t*this.cols+n]}set(t,n,i){this._data[t*this.cols+n]=i}},Pi=class{constructor(t){let n=0,i=0;for(let s=0,o=t.length;s<o;s++){let[l,a,u]=t[s];a>n&&(n=a),l>i&&(i=l),u>i&&(i=u)}n++,i++;let r=new Hi(i,n,0);for(let s=0,o=t.length;s<o;s++){let[l,a,u]=t[s];r.set(l,a,u)}this._states=r,this._maxCharCode=n}nextState(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)}},Ui=null;function Du(){return Ui===null&&(Ui=new Pi([[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]])),Ui}var It=null;function Iu(){if(It===null){It=new Dt(0);let e=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let n=0;n<e.length;n++)It.set(e.charCodeAt(n),1);let t=".,;:";for(let n=0;n<t.length;n++)It.set(t.charCodeAt(n),2)}return It}var Wi=class e{static _createLink(t,n,i,r,s){let o=s-1;do{let l=n.charCodeAt(o);if(t.get(l)!==2)break;o--}while(o>r);if(r>0){let l=n.charCodeAt(r-1),a=n.charCodeAt(o);(l===40&&a===41||l===91&&a===93||l===123&&a===125)&&o--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:o+2},url:n.substring(r,o+1)}}static computeLinks(t,n=Du()){let i=Iu(),r=[];for(let s=1,o=t.getLineCount();s<=o;s++){let l=t.getLineContent(s),a=l.length,u=0,c=0,d=0,f=1,p=!1,_=!1,m=!1,k=!1;for(;u<a;){let x=!1,w=l.charCodeAt(u);if(f===13){let A;switch(w){case 40:p=!0,A=0;break;case 41:A=p?0:1;break;case 91:m=!0,_=!0,A=0;break;case 93:m=!1,A=_?0:1;break;case 123:k=!0,A=0;break;case 125:A=k?0:1;break;case 39:case 34:case 96:d===w?A=1:d===39||d===34||d===96?A=0:A=1;break;case 42:A=d===42?1:0;break;case 124:A=d===124?1:0;break;case 32:A=m?0:1;break;default:A=i.get(w)}A===1&&(r.push(e._createLink(i,l,s,c,u)),x=!0)}else if(f===12){let A;w===91?(_=!0,A=0):A=i.get(w),A===1?x=!0:f=13}else f=n.nextState(f,w),f===0&&(x=!0);x&&(f=1,p=!1,_=!1,k=!1,c=u+1,d=w),u++}f===13&&r.push(e._createLink(i,l,s,c,a))}return r}};function xs(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:Wi.computeLinks(e)}var _n=class e{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}static{this.INSTANCE=new e}navigateValueSet(t,n,i,r,s){if(t&&n){let o=this.doNavigateValueSet(n,s);if(o)return{range:t,value:o}}if(i&&r){let o=this.doNavigateValueSet(r,s);if(o)return{range:i,value:o}}return null}doNavigateValueSet(t,n){let i=this.numberReplace(t,n);return i!==null?i:this.textReplace(t,n)}numberReplace(t,n){let i=Math.pow(10,t.length-(t.lastIndexOf(".")+1)),r=Number(t),s=parseFloat(t);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)}valueSetsReplace(t,n,i){let r=null;for(let s=0,o=t.length;r===null&&s<o;s++)r=this.valueSetReplace(t[s],n,i);return r}valueSetReplace(t,n,i){let r=t.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=t.length-1:r%=t.length,t[r]):null}};var ys=Object.freeze(function(e,t){let n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}),wn;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof pt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ut.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:ys})})(wn||(wn={}));var pt=class{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?ys:(this._emitter||(this._emitter=new re),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},zt=class{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 pt),this._token}cancel(){this._token?this._token instanceof pt&&this._token.cancel():this._token=wn.Cancelled}dispose(t=!1){t&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof pt&&this._token.dispose():this._token=wn.None}};var Ft=class{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}},vn=new Ft,Bi=new Ft,Oi=new Ft,zu=new Array(230),Fu={},Uu=[],Hu=Object.create(null),Pu=Object.create(null),Ss=[],qi=[];for(let e=0;e<=193;e++)Ss[e]=-1;for(let e=0;e<=132;e++)qi[e]=-1;(function(){let 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=[],i=[];for(let r of t){let[s,o,l,a,u,c,d,f,p]=r;if(i[o]||(i[o]=!0,Uu[o]=l,Hu[l]=o,Pu[l.toLowerCase()]=o,s&&(Ss[o]=a,a!==0&&a!==3&&a!==5&&a!==4&&a!==6&&a!==57&&(qi[a]=o))),!n[a]){if(n[a]=!0,!u)throw new Error(`String representation missing for key code ${a} around scan code ${l}`);vn.define(a,u),Bi.define(a,f||u),Oi.define(a,p||f||u)}c&&(zu[c]=a),d&&(Fu[d]=a)}qi[3]=46})();var Ts;(function(e){function t(l){return vn.keyCodeToStr(l)}e.toString=t;function n(l){return vn.strToKeyCode(l)}e.fromString=n;function i(l){return Bi.keyCodeToStr(l)}e.toUserSettingsUS=i;function r(l){return Oi.keyCodeToStr(l)}e.toUserSettingsGeneral=r;function s(l){return Bi.strToKeyCode(l)||Oi.strToKeyCode(l)}e.fromUserSettings=s;function o(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return vn.keyCodeToStr(l)}e.toElectronAccelerator=o})(Ts||(Ts={}));function ks(e,t){let n=(t&65535)<<16>>>0;return(e|n)>>>0}var xn=class e extends B{constructor(t,n,i,r){super(t,n,i,r),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return e.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 e(this.startLineNumber,this.startColumn,t,n):new e(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new Y(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Y(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new e(t,n,this.endLineNumber,this.endColumn):new e(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new e(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new e(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new e(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 i=0,r=t.length;i<r;i++)if(!this.selectionsEqual(t[i],n[i]))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,i,r,s){return s===0?new e(t,n,i,r):new e(i,r,t,n)}};function As(e){return typeof e=="string"}var Ls=Object.create(null);function h(e,t){if(As(t)){let n=Ls[t];if(n===void 0)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return Ls[e]=t,{id:e}}var Cs={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),gitBranch:h("git-branch",60008),gitBranchCreate:h("git-branch-create",60008),gitBranchDelete:h("git-branch-delete",60008),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),fileText:h("file-text",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468)};var Wu={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},W={...Cs,...Wu};var Ut=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new re,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]),Fe(()=>{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){this._factories.get(t)?.dispose();let i=new Vi(this,t,n);return this._factories.set(t,i),Fe(()=>{let r=this._factories.get(t);!r||r!==i||(this._factories.delete(t),r.dispose())})}async getOrCreate(t){let n=this.get(t);if(n)return n;let i=this._factories.get(t);return!i||i.isResolved?null:(await i.resolve(),this.get(t))}isResolved(t){if(this.get(t))return!0;let i=this._factories.get(t);return!!(!i||i.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}},Vi=class extends be{get isResolved(){return this._isResolved}constructor(t,n,i){super(),this._registry=t,this._languageId=n,this._factory=i,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(){let t=await this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))}};var yn=class{constructor(t,n,i){this.offset=t,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var Es;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(Es||(Es={}));var Rs;(function(e){let t=new Map;t.set(0,W.symbolMethod),t.set(1,W.symbolFunction),t.set(2,W.symbolConstructor),t.set(3,W.symbolField),t.set(4,W.symbolVariable),t.set(5,W.symbolClass),t.set(6,W.symbolStruct),t.set(7,W.symbolInterface),t.set(8,W.symbolModule),t.set(9,W.symbolProperty),t.set(10,W.symbolEvent),t.set(11,W.symbolOperator),t.set(12,W.symbolUnit),t.set(13,W.symbolValue),t.set(15,W.symbolEnum),t.set(14,W.symbolConstant),t.set(15,W.symbolEnum),t.set(16,W.symbolEnumMember),t.set(17,W.symbolKeyword),t.set(27,W.symbolSnippet),t.set(18,W.symbolText),t.set(19,W.symbolColor),t.set(20,W.symbolFile),t.set(21,W.symbolReference),t.set(22,W.symbolCustomColor),t.set(23,W.symbolFolder),t.set(24,W.symbolTypeParameter),t.set(25,W.account),t.set(26,W.issues);function n(s){let o=t.get(s);return o||(console.info("No codicon found for CompletionItemKind "+s),o=W.symbolProperty),o}e.toIcon=n;let i=new Map;i.set("method",0),i.set("function",1),i.set("constructor",2),i.set("field",3),i.set("variable",4),i.set("class",5),i.set("struct",6),i.set("interface",7),i.set("module",8),i.set("property",9),i.set("event",10),i.set("operator",11),i.set("unit",12),i.set("value",13),i.set("constant",14),i.set("enum",15),i.set("enum-member",16),i.set("enumMember",16),i.set("keyword",17),i.set("snippet",27),i.set("text",18),i.set("color",19),i.set("file",20),i.set("reference",21),i.set("customcolor",22),i.set("folder",23),i.set("type-parameter",24),i.set("typeParameter",24),i.set("account",25),i.set("issue",26);function r(s,o){let l=i.get(s);return typeof l>"u"&&!o&&(l=9),l}e.fromString=r})(Rs||(Rs={}));var Ms;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Ms||(Ms={}));var Ns;(function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"})(Ns||(Ns={}));var Ds;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Ds||(Ds={}));var Is;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Is||(Is={}));var a1={17:J("Array","array"),16:J("Boolean","boolean"),4:J("Class","class"),13:J("Constant","constant"),8:J("Constructor","constructor"),9:J("Enum","enumeration"),21:J("EnumMember","enumeration member"),23:J("Event","event"),7:J("Field","field"),0:J("File","file"),11:J("Function","function"),10:J("Interface","interface"),19:J("Key","key"),5:J("Method","method"),1:J("Module","module"),2:J("Namespace","namespace"),20:J("Null","null"),15:J("Number","number"),18:J("Object","object"),24:J("Operator","operator"),3:J("Package","package"),6:J("Property","property"),14:J("String","string"),22:J("Struct","struct"),25:J("TypeParameter","type parameter"),12:J("Variable","variable")};var zs;(function(e){let t=new Map;t.set(0,W.symbolFile),t.set(1,W.symbolModule),t.set(2,W.symbolNamespace),t.set(3,W.symbolPackage),t.set(4,W.symbolClass),t.set(5,W.symbolMethod),t.set(6,W.symbolProperty),t.set(7,W.symbolField),t.set(8,W.symbolConstructor),t.set(9,W.symbolEnum),t.set(10,W.symbolInterface),t.set(11,W.symbolFunction),t.set(12,W.symbolVariable),t.set(13,W.symbolConstant),t.set(14,W.symbolString),t.set(15,W.symbolNumber),t.set(16,W.symbolBoolean),t.set(17,W.symbolArray),t.set(18,W.symbolObject),t.set(19,W.symbolKey),t.set(20,W.symbolNull),t.set(21,W.symbolEnumMember),t.set(22,W.symbolStruct),t.set(23,W.symbolEvent),t.set(24,W.symbolOperator),t.set(25,W.symbolTypeParameter);function n(i){let r=t.get(i);return r||(console.info("No codicon found for SymbolKind "+i),r=W.symbolProperty),r}e.toIcon=n})(zs||(zs={}));var Fs=class e{static{this.Comment=new e("comment")}static{this.Imports=new e("imports")}static{this.Region=new e("region")}static fromValue(t){switch(t){case"comment":return e.Comment;case"imports":return e.Imports;case"region":return e.Region}return new e(t)}constructor(t){this.value=t}},Us;(function(e){e[e.AIGenerated=1]="AIGenerated"})(Us||(Us={}));var Hs;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Hs||(Hs={}));var Ps;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(Ps||(Ps={}));var Ws;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Ws||(Ws={}));var o1=new Ut,l1=new Ut,Bs;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(Bs||(Bs={}));var Os;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Os||(Os={}));var qs;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(qs||(qs={}));var Vs;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Vs||(Vs={}));var js;(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"})(js||(js={}));var Gs;(function(e){e[e.Deprecated=1]="Deprecated"})(Gs||(Gs={}));var $s;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})($s||($s={}));var Xs;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Xs||(Xs={}));var Ys;(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"})(Ys||(Ys={}));var Js;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Js||(Js={}));var Qs;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(Qs||(Qs={}));var Zs;(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"})(Zs||(Zs={}));var Ks;(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"})(Ks||(Ks={}));var ea;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(ea||(ea={}));var ta;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(ta||(ta={}));var na;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(na||(na={}));var ia;(function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"})(ia||(ia={}));var ra;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(ra||(ra={}));var sa;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(sa||(sa={}));var aa;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(aa||(aa={}));var oa;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(oa||(oa={}));var la;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(la||(la={}));var Tn;(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"})(Tn||(Tn={}));var Sn;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(Sn||(Sn={}));var kn;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(kn||(kn={}));var ua;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(ua||(ua={}));var ca;(function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"})(ca||(ca={}));var ha;(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"})(ha||(ha={}));var da;(function(e){e[e.AIGenerated=1]="AIGenerated"})(da||(da={}));var fa;(function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"})(fa||(fa={}));var ma;(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"})(ma||(ma={}));var pa;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(pa||(pa={}));var ga;(function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"})(ga||(ga={}));var ba;(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"})(ba||(ba={}));var _a;(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"})(_a||(_a={}));var wa;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(wa||(wa={}));var va;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(va||(va={}));var xa;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(xa||(xa={}));var An;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(An||(An={}));var ya;(function(e){e.Off="off",e.OnCode="onCode",e.On="on"})(ya||(ya={}));var Ta;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Ta||(Ta={}));var Sa;(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"})(Sa||(Sa={}));var ka;(function(e){e[e.Deprecated=1]="Deprecated"})(ka||(ka={}));var Aa;(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"})(Aa||(Aa={}));var La;(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"})(La||(La={}));var Ca;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Ca||(Ca={}));var Ea;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Ea||(Ea={}));var ji=class{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(t,n){return ks(t,n)}};function Ra(){return{editor:void 0,languages:void 0,CancellationTokenSource:zt,Emitter:re,KeyCode:Tn,KeyMod:ji,Position:Y,Range:B,Selection:xn,SelectionDirection:An,MarkerSeverity:Sn,MarkerTag:kn,Uri:ce,Token:yn}}var Ht=class e{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(t){return t.getChannel(e.CHANNEL_NAME)}static setChannel(t,n){t.setChannel(e.CHANNEL_NAME,n)}};var Ma,Na,Gi=class{constructor(t,n){this.uri=t,this.value=n}};function Ou(e){return Array.isArray(e)}var Da=class e{static{this.defaultToKey=t=>t.toString()}constructor(t,n){if(this[Ma]="ResourceMap",t instanceof e)this.map=new Map(t.map),this.toKey=n??e.defaultToKey;else if(Ou(t)){this.map=new Map,this.toKey=n??e.defaultToKey;for(let[i,r]of t)this.set(i,r)}else this.map=new Map,this.toKey=t??e.defaultToKey}set(t,n){return this.map.set(this.toKey(t),new Gi(t,n)),this}get(t){return this.map.get(this.toKey(t))?.value}has(t){return this.map.has(this.toKey(t))}get size(){return this.map.size}clear(){this.map.clear()}delete(t){return this.map.delete(this.toKey(t))}forEach(t,n){typeof n<"u"&&(t=t.bind(n));for(let[i,r]of this.map)t(r.value,r.uri,this)}*values(){for(let t of this.map.values())yield t.value}*keys(){for(let t of this.map.values())yield t.uri}*entries(){for(let t of this.map.values())yield[t.uri,t.value]}*[(Ma=Symbol.toStringTag,Symbol.iterator)](){for(let[,t]of this.map)yield[t.uri,t.value]}},$i=class{constructor(){this[Na]="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(){return this._head?.value}get last(){return this._tail?.value}has(t){return this._map.has(t)}get(t,n=0){let i=this._map.get(t);if(i)return n!==0&&this.touch(i,n),i.value}set(t,n,i=0){let r=this._map.get(t);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:t,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(t,r),this._size++}return this}delete(t){return!!this.remove(t)}remove(t){let 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");let t=this._head;return this._map.delete(t.key),this.removeItem(t),this._size--,t.value}forEach(t,n){let i=this._state,r=this._head;for(;r;){if(n?t.bind(n)(r.value,r.key,this):t(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){let t=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(t._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(Na=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(t){if(t>=this.size)return;if(t===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>t;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,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{let n=t.next,i=t.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.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;let i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),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;let i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t,this._state++}}}toJSON(){let t=[];return this.forEach((n,i)=>{t.push([i,n])}),t}fromJSON(t){this.clear();for(let[n,i]of t)this.set(n,i)}},Xi=class extends $i{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))}},Ln=class extends Xi{constructor(t,n=1){super(t,n)}trim(t){this.trimOld(t)}set(t,n){return super.set(t,n),this.checkTrim(),this}};var Cn=class{constructor(){this.map=new Map}add(t,n){let i=this.map.get(t);i||(i=new Set,this.map.set(t,i)),i.add(n)}delete(t,n){let i=this.map.get(t);i&&(i.delete(n),i.size===0&&this.map.delete(t))}forEach(t,n){let i=this.map.get(t);i&&i.forEach(n)}get(t){let n=this.map.get(t);return n||new Set}};var T1=new Ln(10);function qu(e){let t=[];for(;Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function Yi(e){let t=[];for(let n of qu(e))typeof e[n]=="function"&&t.push(n);return t}function Ia(e,t){let n=r=>function(){let s=Array.prototype.slice.call(arguments,0);return t(r,s)},i={};for(let r of e)i[r]=n(r);return i}var za;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(za||(za={}));var Fa;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"})(Fa||(Fa={}));var Ua;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Ua||(Ua={}));function Vu(e,t,n,i,r){if(i===0)return!0;let s=t.charCodeAt(i-1);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){let o=t.charCodeAt(i);if(e.get(o)!==0)return!0}return!1}function ju(e,t,n,i,r){if(i+r===n)return!0;let s=t.charCodeAt(i+r);if(e.get(s)!==0||s===13||s===10)return!0;if(r>0){let o=t.charCodeAt(i+r-1);if(e.get(o)!==0)return!0}return!1}function Gu(e,t,n,i,r){return Vu(e,t,n,i,r)&&ju(e,t,n,i,r)}var En=class{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){let n=t.length,i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(t),!i))return null;let r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ts(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||Gu(this._wordSeparators,t,n,r,s))return i}while(i);return null}};function Ha(e,t="Unreachable"){throw new Error(t)}function Ke(e){if(!e()){debugger;e(),Ee(new ie("Assertion Failed"))}}function Pt(e,t){let n=0;for(;n<e.length-1;){let i=e[n],r=e[n+1];if(!t(i,r))return!1;n++}return!0}var $u="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Xu(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(let n of $u)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}var Ji=Xu();function Qi(e){let t=Ji;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}var Pa=new kt;Pa.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Wt(e,t,n,i,r){if(t=Qi(t),r||(r=st.first(Pa)),n.length>r.maxLen){let u=e-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,e+r.maxLen/2),Wt(e,t,n,i,r)}let s=Date.now(),o=e-1-i,l=-1,a=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){let c=o-r.windowSize*u;t.lastIndex=Math.max(0,c);let d=Yu(t,n,o,l);if(!d&&a||(a=d,c<=0))break;l=c}if(a){let u={word:a[0],startColumn:i+1+a.index,endColumn:i+1+a.index+a[0].length};return t.lastIndex=0,u}return null}function Yu(e,t,n,i){let r;for(;r=e.exec(t);){let s=r.index||0;if(s<=n&&e.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}var Rn=class{static computeUnicodeHighlights(t,n,i){let r=i?i.startLineNumber:1,s=i?i.endLineNumber:t.getLineCount(),o=new Mn(n),l=o.getCandidateCodePoints(),a;l==="allNonBasicAscii"?a=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):a=new RegExp(`${Ju(Array.from(l))}`,"g");let u=new En(null,a),c=[],d=!1,f,p=0,_=0,m=0;e:for(let k=r,x=s;k<=x;k++){let w=t.getLineContent(k),A=w.length;u.reset(0);do if(f=u.next(w),f){let E=f.index,D=f.index+f[0].length;if(E>0){let y=w.charCodeAt(E-1);ft(y)&&E--}if(D+1<A){let y=w.charCodeAt(D-1);ft(y)&&D++}let N=w.substring(E,D),b=Wt(E+1,Ji,w,0);b&&b.endColumn<=E+1&&(b=null);let g=o.shouldHighlightNonBasicASCII(N,b?b.word:null);if(g!==0){if(g===3?p++:g===2?_++:g===1?m++:Ha(g),c.length>=1e3){d=!0;break e}c.push(new B(k,E+1,k,D+1))}}while(f)}return{ranges:c,hasMore:d,ambiguousCharacterCount:p,invisibleCharacterCount:_,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(t,n){let i=new Mn(n);switch(i.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{let s=t.codePointAt(0),o=i.ambiguousCharacters.getPrimaryConfusable(s),l=ht.getLocales().filter(a=>!ht.getInstance(new Set([...n.allowedLocales,a])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:l}}case 1:return{kind:2}}}};function Ju(e,t){return`[${Qr(e.map(i=>String.fromCodePoint(i)).join(""))}]`}var Mn=class{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=ht.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let t=new Set;if(this.options.invisibleCharacters)for(let n of dt.codePoints)Wa(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(let n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(let n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){let i=t.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(let o of n){let l=o.codePointAt(0),a=ns(o);r=r||a,!a&&!this.ambiguousCharacters.isAmbiguous(l)&&!dt.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!Wa(t)&&dt.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}};function Wa(e){return e===" "||e===`
|
|
11
|
+
`||e===" "}var Ve=class{constructor(t,n,i){this.changes=t,this.moves=n,this.hitTimeout=i}},Nn=class{constructor(t,n){this.lineRangeMapping=t,this.changes=n}};var $=class e{static addRange(t,n){let i=0;for(;i<n.length&&n[i].endExclusive<t.start;)i++;let r=i;for(;r<n.length&&n[r].start<=t.endExclusive;)r++;if(i===r)n.splice(i,0,t);else{let s=Math.min(t.start,n[i].start),o=Math.max(t.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new e(s,o))}}static tryCreate(t,n){if(!(t>n))return new e(t,n)}static ofLength(t){return new e(0,t)}static ofStartAndLength(t,n){return new e(t,t+n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ie(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new e(this.start+t,this.endExclusive+t)}deltaStart(t){return new e(this.start+t,this.endExclusive)}deltaEnd(t){return new e(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 e(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){let n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);if(n<=i)return new e(n,i)}intersects(t){let n=Math.max(this.start,t.start),i=Math.min(this.endExclusive,t.endExclusive);return n<i}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 ie(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,t))}clipCyclic(t){if(this.isEmpty)throw new ie(`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 De(e,t){let n=et(e,t);return n===-1?void 0:e[n]}function et(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){let o=Math.floor((r+s)/2);t(e[o])?r=o+1:s=o}return r-1}function Ba(e,t){let n=Dn(e,t);return n===e.length?void 0:e[n]}function Dn(e,t,n=0,i=e.length){let r=n,s=i;for(;r<s;){let o=Math.floor((r+s)/2);t(e[o])?s=o:r=o+1}return r}var Bt=class e{static{this.assertInvariants=!1}constructor(t){this._array=t,this._findLastMonotonousLastIdx=0}findLastMonotonous(t){if(e.assertInvariants){if(this._prevFindLastPredicate){for(let i of this._array)if(this._prevFindLastPredicate(i)&&!t(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=t}let n=et(this._array,t,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};var G=class e{static fromRangeInclusive(t){return new e(t.startLineNumber,t.endLineNumber+1)}static joinMany(t){if(t.length===0)return[];let n=new tt(t[0].slice());for(let i=1;i<t.length;i++)n=n.getUnion(new tt(t[i].slice()));return n.ranges}static join(t){if(t.length===0)throw new ie("lineRanges cannot be empty");let n=t[0].startLineNumber,i=t[0].endLineNumberExclusive;for(let r=1;r<t.length;r++)n=Math.min(n,t[r].startLineNumber),i=Math.max(i,t[r].endLineNumberExclusive);return new e(n,i)}static ofLength(t,n){return new e(t,t+n)}static deserialize(t){return new e(t[0],t[1])}constructor(t,n){if(t>n)throw new ie(`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 e(this.startLineNumber+t,this.endLineNumberExclusive+t)}deltaLength(t){return new e(this.startLineNumber,this.endLineNumberExclusive+t)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(t){return new e(Math.min(this.startLineNumber,t.startLineNumber),Math.max(this.endLineNumberExclusive,t.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(t){let n=Math.max(this.startLineNumber,t.startLineNumber),i=Math.min(this.endLineNumberExclusive,t.endLineNumberExclusive);if(n<=i)return new e(n,i)}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 B(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new B(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(t){let n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(t(i));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 $(this.startLineNumber-1,this.endLineNumberExclusive-1)}},tt=class e{constructor(t=[]){this._normalizedRanges=t}get ranges(){return this._normalizedRanges}addRange(t){if(t.length===0)return;let n=Dn(this._normalizedRanges,r=>r.endLineNumberExclusive>=t.startLineNumber),i=et(this._normalizedRanges,r=>r.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,t);else if(n===i-1){let r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(t)}else{let r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(t);this._normalizedRanges.splice(n,i-n,r)}}contains(t){let n=De(this._normalizedRanges,i=>i.startLineNumber<=t);return!!n&&n.endLineNumberExclusive>t}intersects(t){let n=De(this._normalizedRanges,i=>i.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;let n=[],i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<t._normalizedRanges.length;){let o=null;if(i<this._normalizedRanges.length&&r<t._normalizedRanges.length){let l=this._normalizedRanges[i],a=t._normalizedRanges[r];l.startLineNumber<a.startLineNumber?(o=l,i++):(o=a,r++)}else i<this._normalizedRanges.length?(o=this._normalizedRanges[i],i++):(o=t._normalizedRanges[r],r++);s===null?s=o:s.endLineNumberExclusive>=o.startLineNumber?s=new G(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(n.push(s),s=o)}return s!==null&&n.push(s),new e(n)}subtractFrom(t){let n=Dn(this._normalizedRanges,o=>o.endLineNumberExclusive>=t.startLineNumber),i=et(this._normalizedRanges,o=>o.startLineNumber<=t.endLineNumberExclusive)+1;if(n===i)return new e([t]);let r=[],s=t.startLineNumber;for(let o=n;o<i;o++){let l=this._normalizedRanges[o];l.startLineNumber>s&&r.push(new G(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<t.endLineNumberExclusive&&r.push(new G(s,t.endLineNumberExclusive)),new e(r)}toString(){return this._normalizedRanges.map(t=>t.toString()).join(", ")}getIntersection(t){let n=[],i=0,r=0;for(;i<this._normalizedRanges.length&&r<t._normalizedRanges.length;){let s=this._normalizedRanges[i],o=t._normalizedRanges[r],l=s.intersect(o);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<o.endLineNumberExclusive?i++:r++}return new e(n)}getWithDelta(t){return new e(this._normalizedRanges.map(n=>n.delta(t)))}};var In=class e{static{this.zero=new e(0,0)}static betweenPositions(t,n){return t.lineNumber===n.lineNumber?new e(0,n.column-t.column):new e(n.lineNumber-t.lineNumber,n.column-1)}static ofRange(t){return e.betweenPositions(t.getStartPosition(),t.getEndPosition())}static ofText(t){let n=0,i=0;for(let r of t)r===`
|
|
12
|
+
`?(n++,i=0):i++;return new e(n,i)}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 B(t.lineNumber,t.column,t.lineNumber,t.column+this.columnCount):new B(t.lineNumber,t.column,t.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(t){return this.lineCount===0?new Y(t.lineNumber,t.column+this.columnCount):new Y(t.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};var zn=class{constructor(t,n){this.range=t,this.text=n}toSingleEditOperation(){return{range:this.range,text:this.text}}};var Se=class e{static inverse(t,n,i){let r=[],s=1,o=1;for(let a of t){let u=new e(new G(s,a.original.startLineNumber),new G(o,a.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=a.original.endLineNumberExclusive,o=a.modified.endLineNumberExclusive}let l=new e(new G(s,n+1),new G(o,i+1));return l.modified.isEmpty||r.push(l),r}static clip(t,n,i){let r=[];for(let s of t){let o=s.original.intersect(n),l=s.modified.intersect(i);o&&!o.isEmpty&&l&&!l.isEmpty&&r.push(new e(o,l))}return r}constructor(t,n){this.original=t,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new e(this.modified,this.original)}join(t){return new e(this.original.join(t.original),this.modified.join(t.modified))}toRangeMapping(){let t=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(t&&n)return new de(t,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new ie("not a valid diff");return new de(new B(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new B(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new de(new B(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new B(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(t,n){if(Oa(this.original.endLineNumberExclusive,t)&&Oa(this.modified.endLineNumberExclusive,n))return new de(new B(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new B(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new de(B.fromPositions(new Y(this.original.startLineNumber,1),gt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),B.fromPositions(new Y(this.modified.startLineNumber,1),gt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new de(B.fromPositions(gt(new Y(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),gt(new Y(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)),B.fromPositions(gt(new Y(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),gt(new Y(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new ie}};function gt(e,t){if(e.lineNumber<1)return new Y(1,1);if(e.lineNumber>t.length)return new Y(t.length,t[t.length-1].length+1);let n=t[e.lineNumber-1];return e.column>n.length+1?new Y(e.lineNumber,n.length+1):e}function Oa(e,t){return e>=1&&e<=t.length}var Ie=class e extends Se{static fromRangeMappings(t){let n=G.join(t.map(r=>G.fromRangeInclusive(r.originalRange))),i=G.join(t.map(r=>G.fromRangeInclusive(r.modifiedRange)));return new e(n,i,t)}constructor(t,n,i){super(t,n),this.innerChanges=i}flip(){return new e(this.modified,this.original,this.innerChanges?.map(t=>t.flip()))}withInnerChangesFromLineRanges(){return new e(this.original,this.modified,[this.toRangeMapping()])}},de=class e{static assertSorted(t){for(let n=1;n<t.length;n++){let i=t[n-1],r=t[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new ie("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 e(this.modifiedRange,this.originalRange)}toTextEdit(t){let n=t.getValueOfRange(this.modifiedRange);return new zn(this.originalRange,n)}};var Qu=3,Fn=class{computeDiff(t,n,i){let s=new Ki(t,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[],l=null;for(let a of s.changes){let u;a.originalEndLineNumber===0?u=new G(a.originalStartLineNumber+1,a.originalStartLineNumber+1):u=new G(a.originalStartLineNumber,a.originalEndLineNumber+1);let c;a.modifiedEndLineNumber===0?c=new G(a.modifiedStartLineNumber+1,a.modifiedStartLineNumber+1):c=new G(a.modifiedStartLineNumber,a.modifiedEndLineNumber+1);let d=new Ie(u,c,a.charChanges?.map(f=>new de(new B(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn),new B(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===d.modified.startLineNumber||l.original.endLineNumberExclusive===d.original.startLineNumber)&&(d=new Ie(l.original.join(d.original),l.modified.join(d.modified),l.innerChanges&&d.innerChanges?l.innerChanges.concat(d.innerChanges):void 0),o.pop()),o.push(d),l=d}return Ke(()=>Pt(o,(a,u)=>u.original.startLineNumber-a.original.endLineNumberExclusive===u.modified.startLineNumber-a.modified.endLineNumberExclusive&&a.original.endLineNumberExclusive<u.original.startLineNumber&&a.modified.endLineNumberExclusive<u.modified.startLineNumber)),new Ve(o,[],s.quitEarly)}};function Va(e,t,n,i){return new Nt(e,t,n).ComputeDiff(i)}var Un=class{constructor(t){let n=[],i=[];for(let r=0,s=t.length;r<s;r++)n[r]=er(t[r],1),i[r]=tr(t[r],1);this.lines=t,this._startColumns=n,this._endColumns=i}getElements(){let t=[];for(let n=0,i=this.lines.length;n<i;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,i){let r=[],s=[],o=[],l=0;for(let a=n;a<=i;a++){let u=this.lines[a],c=t?this._startColumns[a]:1,d=t?this._endColumns[a]:u.length+1;for(let f=c;f<d;f++)r[l]=u.charCodeAt(f-1),s[l]=a+1,o[l]=f,l++;!t&&a<i&&(r[l]=10,s[l]=a+1,o[l]=u.length+1,l++)}return new Zi(r,s,o)}},Zi=class{constructor(t,n,i){this._charCodes=t,this._lineNumbers=n,this._columns=i}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)}},bt=class e{constructor(t,n,i,r,s,o,l,a){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=l,this.modifiedEndColumn=a}static createFromDiffChange(t,n,i){let r=n.getStartLineNumber(t.originalStart),s=n.getStartColumn(t.originalStart),o=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1),a=i.getStartLineNumber(t.modifiedStart),u=i.getStartColumn(t.modifiedStart),c=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=i.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new e(r,s,o,l,a,u,c,d)}};function Zu(e){if(e.length<=1)return e;let t=[e[0]],n=t[0];for(let i=1,r=e.length;i<r;i++){let s=e[i],o=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,l)<Qu?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(t.push(s),n=s)}return t}var Ot=class e{constructor(t,n,i,r,s){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(t,n,i,r,s,o,l){let a,u,c,d,f;if(n.originalLength===0?(a=i.getStartLineNumber(n.originalStart)-1,u=0):(a=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(c=r.getStartLineNumber(n.modifiedStart)-1,d=0):(c=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),o&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){let p=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),_=r.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(p.getElements().length>0&&_.getElements().length>0){let m=Va(p,_,s,!0).changes;l&&(m=Zu(m)),f=[];for(let k=0,x=m.length;k<x;k++)f.push(bt.createFromDiffChange(m[k],p,_))}}return new e(a,u,c,d,f)}},Ki=class{constructor(t,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new Un(t),this.modified=new Un(n),this.continueLineDiff=qa(i.maxComputationTime),this.continueCharDiff=qa(i.maxComputationTime===0?0:Math.min(i.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}]};let t=Va(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,i=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){let l=[];for(let a=0,u=n.length;a<u;a++)l.push(Ot.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[a],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}let r=[],s=0,o=0;for(let l=-1,a=n.length;l<a;l++){let u=l+1<a?n[l+1]:null,c=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&o<d;){let f=this.originalLines[s],p=this.modifiedLines[o];if(f!==p){{let _=er(f,1),m=er(p,1);for(;_>1&&m>1;){let k=f.charCodeAt(_-2),x=p.charCodeAt(m-2);if(k!==x)break;_--,m--}(_>1||m>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,_,o+1,1,m)}{let _=tr(f,1),m=tr(p,1),k=f.length+1,x=p.length+1;for(;_<k&&m<x;){let w=f.charCodeAt(_-1),A=f.charCodeAt(m-1);if(w!==A)break;_++,m++}(_<k||m<x)&&this._pushTrimWhitespaceCharChange(r,s+1,_,k,o+1,m,x)}}s++,o++}u&&(r.push(Ot.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,o+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(t,n,i,r,s,o,l){if(this._mergeTrimWhitespaceCharChange(t,n,i,r,s,o,l))return;let a;this.shouldComputeCharChanges&&(a=[new bt(n,i,n,r,s,o,s,l)]),t.push(new Ot(n,n,s,s,a))}_mergeTrimWhitespaceCharChange(t,n,i,r,s,o,l){let a=t.length;if(a===0)return!1;let u=t[a-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new bt(n,i,n,r,s,o,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new bt(n,i,n,r,s,o,s,l)),!0):!1}};function er(e,t){let n=Kr(e);return n===-1?t:n+1}function tr(e,t){let n=es(e);return n===-1?t:n+2}function qa(e){if(e===0)return()=>!0;let t=Date.now();return()=>Date.now()-t<e}function Ga(e,t,n=(i,r)=>i===r){if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function*$a(e,t){let n,i;for(let r of e)i!==void 0&&t(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function Xa(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 Ya(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 Ja(e,t){for(let n of t)e.push(n)}var nr;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s<=0}e.isLessThanOrEqual=n;function i(s){return s>0}e.isGreaterThan=i;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(nr||(nr={}));function qt(e,t){return(n,i)=>t(e(n),e(i))}var Vt=(e,t)=>e-t;function Qa(e){return(t,n)=>-e(t,n)}var ja=class e{static{this.empty=new e(t=>{})}constructor(t){this.iterate=t}toArray(){let t=[];return this.iterate(n=>(t.push(n),!0)),t}filter(t){return new e(n=>this.iterate(i=>t(i)?n(i):!0))}map(t){return new e(n=>this.iterate(i=>n(t(i))))}findLast(t){let n;return this.iterate(i=>(t(i)&&(n=i),!0)),n}findLastMaxBy(t){let n,i=!0;return this.iterate(r=>((i||nr.isGreaterThan(t(r,n)))&&(i=!1,n=r),!0)),n}};var Ae=class e{static trivial(t,n){return new e([new Z($.ofLength(t.length),$.ofLength(n.length))],!1)}static trivialTimedOut(t,n){return new e([new Z($.ofLength(t.length),$.ofLength(n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}},Z=class e{static invert(t,n){let i=[];return Xa(t,(r,s)=>{i.push(e.fromOffsetPairs(r?r.getEndExclusives():ke.zero,s?s.getStarts():new ke(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(t,n){return new e(new $(t.offset1,n.offset1),new $(t.offset2,n.offset2))}static assertSorted(t){let n;for(let i of t){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new ie("Sequence diffs must be sorted");n=i}}constructor(t,n){this.seq1Range=t,this.seq2Range=n}swap(){return new e(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new e(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}delta(t){return t===0?this:new e(this.seq1Range.delta(t),this.seq2Range.delta(t))}deltaStart(t){return t===0?this:new e(this.seq1Range.deltaStart(t),this.seq2Range.deltaStart(t))}deltaEnd(t){return t===0?this:new e(this.seq1Range.deltaEnd(t),this.seq2Range.deltaEnd(t))}intersect(t){let n=this.seq1Range.intersect(t.seq1Range),i=this.seq2Range.intersect(t.seq2Range);if(!(!n||!i))return new e(n,i)}getStarts(){return new ke(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new ke(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}},ke=class e{static{this.zero=new e(0,0)}static{this.max=new e(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}constructor(t,n){this.offset1=t,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(t){return t===0?this:new e(this.offset1+t,this.offset2+t)}equals(t){return this.offset1===t.offset1&&this.offset2===t.offset2}},je=class e{static{this.instance=new e}isValid(){return!0}},Hn=class{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ie("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}};var _t=class{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,i){this.array[t+n*this.width]=i}};function Gt(e){return e===32||e===9}var jt=class e{static{this.chrKeys=new Map}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,i){this.range=t,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=t.startLineNumber-1;s<t.endLineNumberExclusive-1;s++){let o=n[s];for(let a=0;a<o.length;a++){r++;let u=o[a],c=e.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}r++;let l=e.getKey(`
|
|
13
|
+
`);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(t){let n=0,i=Math.max(this.histogram.length,t.histogram.length);for(let r=0;r<i;r++)n+=Math.abs((this.histogram[r]??0)-(t.histogram[r]??0));return 1-n/(this.totalCount+t.totalCount)}};var Pn=class{compute(t,n,i=je.instance,r){if(t.length===0||n.length===0)return Ae.trivial(t,n);let s=new _t(t.length,n.length),o=new _t(t.length,n.length),l=new _t(t.length,n.length);for(let _=0;_<t.length;_++)for(let m=0;m<n.length;m++){if(!i.isValid())return Ae.trivialTimedOut(t,n);let k=_===0?0:s.get(_-1,m),x=m===0?0:s.get(_,m-1),w;t.getElement(_)===n.getElement(m)?(_===0||m===0?w=0:w=s.get(_-1,m-1),_>0&&m>0&&o.get(_-1,m-1)===3&&(w+=l.get(_-1,m-1)),w+=r?r(_,m):1):w=-1;let A=Math.max(k,x,w);if(A===w){let E=_>0&&m>0?l.get(_-1,m-1):0;l.set(_,m,E+1),o.set(_,m,3)}else A===k?(l.set(_,m,0),o.set(_,m,1)):A===x&&(l.set(_,m,0),o.set(_,m,2));s.set(_,m,A)}let a=[],u=t.length,c=n.length;function d(_,m){(_+1!==u||m+1!==c)&&a.push(new Z(new $(_+1,u),new $(m+1,c))),u=_,c=m}let f=t.length-1,p=n.length-1;for(;f>=0&&p>=0;)o.get(f,p)===3?(d(f,p),f--,p--):o.get(f,p)===1?f--:p--;return d(-1,-1),a.reverse(),new Ae(a,!1)}};var wt=class{compute(t,n,i=je.instance){if(t.length===0||n.length===0)return Ae.trivial(t,n);let r=t,s=n;function o(m,k){for(;m<r.length&&k<s.length&&r.getElement(m)===s.getElement(k);)m++,k++;return m}let l=0,a=new ir;a.set(0,o(0,0));let u=new rr;u.set(0,a.get(0)===0?null:new Wn(null,0,0,a.get(0)));let c=0;e:for(;;){if(l++,!i.isValid())return Ae.trivialTimedOut(r,s);let m=-Math.min(l,s.length+l%2),k=Math.min(l,r.length+l%2);for(c=m;c<=k;c+=2){let x=0,w=c===k?-1:a.get(c+1),A=c===m?-1:a.get(c-1)+1;x++;let E=Math.min(Math.max(w,A),r.length),D=E-c;if(x++,E>r.length||D>s.length)continue;let N=o(E,D);a.set(c,N);let b=E===w?u.get(c+1):u.get(c-1);if(u.set(c,N!==E?new Wn(b,E,D,N-E):b),a.get(c)===r.length&&a.get(c)-c===s.length)break e}}let d=u.get(c),f=[],p=r.length,_=s.length;for(;;){let m=d?d.x+d.length:0,k=d?d.y+d.length:0;if((m!==p||k!==_)&&f.push(new Z(new $(m,p),new $(k,_))),!d)break;p=d.x,_=d.y,d=d.prev}return f.reverse(),new Ae(f,!1)}},Wn=class{constructor(t,n,i,r){this.prev=t,this.x=n,this.y=i,this.length=r}},ir=class{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){let i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){let i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[t]=n}}},rr=class{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}};var Ge=class{constructor(t,n,i){this.lines=t,this.range=n,this.considerWhitespaceChanges=i,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let s=t[r-1],o=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(o=this.range.startColumn-1,s=s.substring(o)),this.lineStartOffsets.push(o);let l=0;if(!i){let u=s.trimStart();l=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(l);let a=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-o-l,s.length):s.length;for(let u=0;u<a;u++)this.elements.push(s.charCodeAt(u));r<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new $(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){let n=Ka(t>0?this.elements[t-1]:-1),i=Ka(t<this.elements.length?this.elements[t]:-1);if(n===7&&i===8)return 0;if(n===8)return 150;let r=0;return n!==i&&(r+=10,n===0&&i===1&&(r+=1)),r+=Za(n),r+=Za(i),r}translateOffset(t,n="right"){let i=et(this.firstElementOffsetByLineIdx,s=>s<=t),r=t-this.firstElementOffsetByLineIdx[i];return new Y(this.range.startLineNumber+i,1+this.lineStartOffsets[i]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[i]))}translateRange(t){let n=this.translateOffset(t.start,"right"),i=this.translateOffset(t.endExclusive,"left");return i.isBefore(n)?B.fromPositions(i,i):B.fromPositions(n,i)}findWordContaining(t){if(t<0||t>=this.elements.length||!sr(this.elements[t]))return;let n=t;for(;n>0&&sr(this.elements[n-1]);)n--;let i=t;for(;i<this.elements.length&&sr(this.elements[i]);)i++;return new $(n,i)}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){let n=De(this.firstElementOffsetByLineIdx,r=>r<=t.start)??0,i=Ba(this.firstElementOffsetByLineIdx,r=>t.endExclusive<=r)??this.elements.length;return new $(n,i)}};function sr(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}var Ku={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function Za(e){return Ku[e]}function Ka(e){return e===10?8:e===13?7:Gt(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 to(e,t,n,i,r,s){let{moves:o,excludedChanges:l}=tc(e,t,n,s);if(!s.isValid())return[];let a=e.filter(c=>!l.has(c)),u=nc(a,i,r,t,n,s);return Ja(o,u),o=ic(o),o=o.filter(c=>{let d=c.original.toOffsetRange().slice(t).map(p=>p.trim());return d.join(`
|
|
14
|
+
`).length>=15&&ec(d,p=>p.length>=2)>=2}),o=rc(e,o),o}function ec(e,t){let n=0;for(let i of e)t(i)&&n++;return n}function tc(e,t,n,i){let r=[],s=e.filter(a=>a.modified.isEmpty&&a.original.length>=3).map(a=>new jt(a.original,t,a)),o=new Set(e.filter(a=>a.original.isEmpty&&a.modified.length>=3).map(a=>new jt(a.modified,n,a))),l=new Set;for(let a of s){let u=-1,c;for(let d of o){let f=a.computeSimilarity(d);f>u&&(u=f,c=d)}if(u>.9&&c&&(o.delete(c),r.push(new Se(a.range,c.range)),l.add(a.source),l.add(c.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function nc(e,t,n,i,r,s){let o=[],l=new Cn;for(let f of e)for(let p=f.original.startLineNumber;p<f.original.endLineNumberExclusive-2;p++){let _=`${t[p-1]}:${t[p+1-1]}:${t[p+2-1]}`;l.add(_,{range:new G(p,p+3)})}let a=[];e.sort(qt(f=>f.modified.startLineNumber,Vt));for(let f of e){let p=[];for(let _=f.modified.startLineNumber;_<f.modified.endLineNumberExclusive-2;_++){let m=`${n[_-1]}:${n[_+1-1]}:${n[_+2-1]}`,k=new G(_,_+3),x=[];l.forEach(m,({range:w})=>{for(let E of p)if(E.originalLineRange.endLineNumberExclusive+1===w.endLineNumberExclusive&&E.modifiedLineRange.endLineNumberExclusive+1===k.endLineNumberExclusive){E.originalLineRange=new G(E.originalLineRange.startLineNumber,w.endLineNumberExclusive),E.modifiedLineRange=new G(E.modifiedLineRange.startLineNumber,k.endLineNumberExclusive),x.push(E);return}let A={modifiedLineRange:k,originalLineRange:w};a.push(A),x.push(A)}),p=x}if(!s.isValid())return[]}a.sort(Qa(qt(f=>f.modifiedLineRange.length,Vt)));let u=new tt,c=new tt;for(let f of a){let p=f.modifiedLineRange.startLineNumber-f.originalLineRange.startLineNumber,_=u.subtractFrom(f.modifiedLineRange),m=c.subtractFrom(f.originalLineRange).getWithDelta(p),k=_.getIntersection(m);for(let x of k.ranges){if(x.length<3)continue;let w=x,A=x.delta(-p);o.push(new Se(A,w)),u.addRange(w),c.addRange(A)}}o.sort(qt(f=>f.original.startLineNumber,Vt));let d=new Bt(e);for(let f=0;f<o.length;f++){let p=o[f],_=d.findLastMonotonous(N=>N.original.startLineNumber<=p.original.startLineNumber),m=De(e,N=>N.modified.startLineNumber<=p.modified.startLineNumber),k=Math.max(p.original.startLineNumber-_.original.startLineNumber,p.modified.startLineNumber-m.modified.startLineNumber),x=d.findLastMonotonous(N=>N.original.startLineNumber<p.original.endLineNumberExclusive),w=De(e,N=>N.modified.startLineNumber<p.modified.endLineNumberExclusive),A=Math.max(x.original.endLineNumberExclusive-p.original.endLineNumberExclusive,w.modified.endLineNumberExclusive-p.modified.endLineNumberExclusive),E;for(E=0;E<k;E++){let N=p.original.startLineNumber-E-1,b=p.modified.startLineNumber-E-1;if(N>i.length||b>r.length||u.contains(b)||c.contains(N)||!eo(i[N-1],r[b-1],s))break}E>0&&(c.addRange(new G(p.original.startLineNumber-E,p.original.startLineNumber)),u.addRange(new G(p.modified.startLineNumber-E,p.modified.startLineNumber)));let D;for(D=0;D<A;D++){let N=p.original.endLineNumberExclusive+D,b=p.modified.endLineNumberExclusive+D;if(N>i.length||b>r.length||u.contains(b)||c.contains(N)||!eo(i[N-1],r[b-1],s))break}D>0&&(c.addRange(new G(p.original.endLineNumberExclusive,p.original.endLineNumberExclusive+D)),u.addRange(new G(p.modified.endLineNumberExclusive,p.modified.endLineNumberExclusive+D))),(E>0||D>0)&&(o[f]=new Se(new G(p.original.startLineNumber-E,p.original.endLineNumberExclusive+D),new G(p.modified.startLineNumber-E,p.modified.endLineNumberExclusive+D)))}return o}function eo(e,t,n){if(e.trim()===t.trim())return!0;if(e.length>300&&t.length>300)return!1;let r=new wt().compute(new Ge([e],new B(1,1,1,e.length),!1),new Ge([t],new B(1,1,1,t.length),!1),n),s=0,o=Z.invert(r.diffs,e.length);for(let c of o)c.seq1Range.forEach(d=>{Gt(e.charCodeAt(d))||s++});function l(c){let d=0;for(let f=0;f<e.length;f++)Gt(c.charCodeAt(f))||d++;return d}let a=l(e.length>t.length?e:t);return s/a>.6&&a>10}function ic(e){if(e.length===0)return e;e.sort(qt(n=>n.original.startLineNumber,Vt));let t=[e[0]];for(let n=1;n<e.length;n++){let i=t[t.length-1],r=e[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,o=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&o>=0&&s+o<=2){t[t.length-1]=i.join(r);continue}t.push(r)}return t}function rc(e,t){let n=new Bt(e);return t=t.filter(i=>{let r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new Se(new G(1,1),new G(1,1)),s=De(e,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),t}function ar(e,t,n){let i=n;return i=no(e,t,i),i=no(e,t,i),i=sc(e,t,i),i}function no(e,t,n){if(n.length===0)return n;let i=[];i.push(n[0]);for(let s=1;s<n.length;s++){let o=i[i.length-1],l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let a=l.seq1Range.start-o.seq1Range.endExclusive,u;for(u=1;u<=a&&!(e.getElement(l.seq1Range.start-u)!==e.getElement(l.seq1Range.endExclusive-u)||t.getElement(l.seq2Range.start-u)!==t.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===a){i[i.length-1]=new Z(new $(o.seq1Range.start,l.seq1Range.endExclusive-a),new $(o.seq2Range.start,l.seq2Range.endExclusive-a));continue}l=l.delta(-u)}i.push(l)}let r=[];for(let s=0;s<i.length-1;s++){let o=i[s+1],l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let a=o.seq1Range.start-l.seq1Range.endExclusive,u;for(u=0;u<a&&!(!e.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!t.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===a){i[s+1]=new Z(new $(l.seq1Range.start+a,o.seq1Range.endExclusive),new $(l.seq2Range.start+a,o.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function sc(e,t,n){if(!e.getBoundaryScore||!t.getBoundaryScore)return n;for(let i=0;i<n.length;i++){let r=i>0?n[i-1]:void 0,s=n[i],o=i+1<n.length?n[i+1]:void 0,l=new $(r?r.seq1Range.endExclusive+1:0,o?o.seq1Range.start-1:e.length),a=new $(r?r.seq2Range.endExclusive+1:0,o?o.seq2Range.start-1:t.length);s.seq1Range.isEmpty?n[i]=io(s,e,t,l,a):s.seq2Range.isEmpty&&(n[i]=io(s.swap(),t,e,a,l).swap())}return n}function io(e,t,n,i,r){let o=1;for(;e.seq1Range.start-o>=i.start&&e.seq2Range.start-o>=r.start&&n.isStronglyEqual(e.seq2Range.start-o,e.seq2Range.endExclusive-o)&&o<100;)o++;o--;let l=0;for(;e.seq1Range.start+l<i.endExclusive&&e.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(e.seq2Range.start+l,e.seq2Range.endExclusive+l)&&l<100;)l++;if(o===0&&l===0)return e;let a=0,u=-1;for(let c=-o;c<=l;c++){let d=e.seq2Range.start+c,f=e.seq2Range.endExclusive+c,p=e.seq1Range.start+c,_=t.getBoundaryScore(p)+n.getBoundaryScore(d)+n.getBoundaryScore(f);_>u&&(u=_,a=c)}return e.delta(a)}function ro(e,t,n){let i=[];for(let r of n){let s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new Z(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function so(e,t,n){let i=Z.invert(n,e.length),r=[],s=new ke(0,0);function o(a,u){if(a.offset1<s.offset1||a.offset2<s.offset2)return;let c=e.findWordContaining(a.offset1),d=t.findWordContaining(a.offset2);if(!c||!d)return;let f=new Z(c,d),p=f.intersect(u),_=p.seq1Range.length,m=p.seq2Range.length;for(;i.length>0;){let k=i[0];if(!(k.seq1Range.intersects(f.seq1Range)||k.seq2Range.intersects(f.seq2Range)))break;let w=e.findWordContaining(k.seq1Range.start),A=t.findWordContaining(k.seq2Range.start),E=new Z(w,A),D=E.intersect(k);if(_+=D.seq1Range.length,m+=D.seq2Range.length,f=f.join(E),f.seq1Range.endExclusive>=k.seq1Range.endExclusive)i.shift();else break}_+m<(f.seq1Range.length+f.seq2Range.length)*2/3&&r.push(f),s=f.getEndExclusives()}for(;i.length>0;){let a=i.shift();a.seq1Range.isEmpty||(o(a.getStarts(),a),o(a.getEndExclusives().delta(-1),a))}return ac(n,r)}function ac(e,t){let n=[];for(;e.length>0||t.length>0;){let i=e[0],r=t[0],s;i&&(!r||i.seq1Range.start<r.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 ao(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let o=[i[0]];for(let l=1;l<i.length;l++){let c=function(f,p){let _=new $(u.seq1Range.endExclusive,a.seq1Range.start);return e.getText(_).replace(/\s/g,"").length<=4&&(f.seq1Range.length+f.seq2Range.length>5||p.seq1Range.length+p.seq2Range.length>5)},a=i[l],u=o[o.length-1];c(u,a)?(s=!0,o[o.length-1]=o[o.length-1].join(a)):o.push(a)}i=o}while(r++<10&&s);return i}function oo(e,t,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let l=[i[0]];for(let a=1;a<i.length;a++){let d=function(p,_){let m=new $(c.seq1Range.endExclusive,u.seq1Range.start);if(e.countLinesIn(m)>5||m.length>500)return!1;let x=e.getText(m).trim();if(x.length>20||x.split(/\r\n|\r|\n/).length>1)return!1;let w=e.countLinesIn(p.seq1Range),A=p.seq1Range.length,E=t.countLinesIn(p.seq2Range),D=p.seq2Range.length,N=e.countLinesIn(_.seq1Range),b=_.seq1Range.length,g=t.countLinesIn(_.seq2Range),y=_.seq2Range.length,H=2*40+50;function L(T){return Math.min(T,H)}return Math.pow(Math.pow(L(w*40+A),1.5)+Math.pow(L(E*40+D),1.5),1.5)+Math.pow(Math.pow(L(N*40+b),1.5)+Math.pow(L(g*40+y),1.5),1.5)>(H**1.5)**1.5*1.3},u=i[a],c=l[l.length-1];d(c,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);let o=[];return Ya(i,(l,a,u)=>{let c=a;function d(x){return x.length>0&&x.trim().length<=3&&a.seq1Range.length+a.seq2Range.length>100}let f=e.extendToFullLines(a.seq1Range),p=e.getText(new $(f.start,a.seq1Range.start));d(p)&&(c=c.deltaStart(-p.length));let _=e.getText(new $(a.seq1Range.endExclusive,f.endExclusive));d(_)&&(c=c.deltaEnd(_.length));let m=Z.fromOffsetPairs(l?l.getEndExclusives():ke.zero,u?u.getStarts():ke.max),k=c.intersect(m);o.length>0&&k.getStarts().equals(o[o.length-1].getEndExclusives())?o[o.length-1]=o[o.length-1].join(k):o.push(k)}),o}var $t=class{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){let n=t===0?0:lo(this.lines[t-1]),i=t===this.lines.length?0:lo(this.lines[t]);return 1e3-(n+i)}getText(t){return this.lines.slice(t.start,t.endExclusive).join(`
|
|
15
|
+
`)}isStronglyEqual(t,n){return this.lines[t]===this.lines[n]}};function lo(e){let t=0;for(;t<e.length&&(e.charCodeAt(t)===32||e.charCodeAt(t)===9);)t++;return t}var Bn=class{constructor(){this.dynamicProgrammingDiffing=new Pn,this.myersDiffingAlgorithm=new wt}computeDiff(t,n,i){if(t.length<=1&&Ga(t,n,(D,N)=>D===N))return new Ve([],[],!1);if(t.length===1&&t[0].length===0||n.length===1&&n[0].length===0)return new Ve([new Ie(new G(1,t.length+1),new G(1,n.length+1),[new de(new B(1,1,t.length,t[t.length-1].length+1),new B(1,1,n.length,n[n.length-1].length+1))])],[],!1);let r=i.maxComputationTimeMs===0?je.instance:new Hn(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,o=new Map;function l(D){let N=o.get(D);return N===void 0&&(N=o.size,o.set(D,N)),N}let a=t.map(D=>l(D.trim())),u=n.map(D=>l(D.trim())),c=new $t(a,t),d=new $t(u,n),f=c.length+d.length<1700?this.dynamicProgrammingDiffing.compute(c,d,r,(D,N)=>t[D]===n[N]?n[N].length===0?.1:1+Math.log(1+n[N].length):.99):this.myersDiffingAlgorithm.compute(c,d,r),p=f.diffs,_=f.hitTimeout;p=ar(c,d,p),p=ao(c,d,p);let m=[],k=D=>{if(s)for(let N=0;N<D;N++){let b=x+N,g=w+N;if(t[b]!==n[g]){let y=this.refineDiff(t,n,new Z(new $(b,b+1),new $(g,g+1)),r,s);for(let H of y.mappings)m.push(H);y.hitTimeout&&(_=!0)}}},x=0,w=0;for(let D of p){Ke(()=>D.seq1Range.start-x===D.seq2Range.start-w);let N=D.seq1Range.start-x;k(N),x=D.seq1Range.endExclusive,w=D.seq2Range.endExclusive;let b=this.refineDiff(t,n,D,r,s);b.hitTimeout&&(_=!0);for(let g of b.mappings)m.push(g)}k(t.length-x);let A=uo(m,t,n),E=[];return i.computeMoves&&(E=this.computeMoves(A,t,n,a,u,r,s)),Ke(()=>{function D(b,g){if(b.lineNumber<1||b.lineNumber>g.length)return!1;let y=g[b.lineNumber-1];return!(b.column<1||b.column>y.length+1)}function N(b,g){return!(b.startLineNumber<1||b.startLineNumber>g.length+1||b.endLineNumberExclusive<1||b.endLineNumberExclusive>g.length+1)}for(let b of A){if(!b.innerChanges)return!1;for(let g of b.innerChanges)if(!(D(g.modifiedRange.getStartPosition(),n)&&D(g.modifiedRange.getEndPosition(),n)&&D(g.originalRange.getStartPosition(),t)&&D(g.originalRange.getEndPosition(),t)))return!1;if(!N(b.modified,n)||!N(b.original,t))return!1}return!0}),new Ve(A,E,_)}computeMoves(t,n,i,r,s,o,l){return to(t,n,i,r,s,o).map(c=>{let d=this.refineDiff(n,i,new Z(c.original.toOffsetRange(),c.modified.toOffsetRange()),o,l),f=uo(d.mappings,n,i,!0);return new Nn(c,f)})}refineDiff(t,n,i,r,s){let l=lc(i).toRangeMapping2(t,n),a=new Ge(t,l.originalRange,s),u=new Ge(n,l.modifiedRange,s),c=a.length+u.length<500?this.dynamicProgrammingDiffing.compute(a,u,r):this.myersDiffingAlgorithm.compute(a,u,r),d=!1,f=c.diffs;d&&Z.assertSorted(f),f=ar(a,u,f),d&&Z.assertSorted(f),f=so(a,u,f),d&&Z.assertSorted(f),f=ro(a,u,f),d&&Z.assertSorted(f),f=oo(a,u,f),d&&Z.assertSorted(f);let p=f.map(_=>new de(a.translateRange(_.seq1Range),u.translateRange(_.seq2Range)));return d&&de.assertSorted(p),{mappings:p,hitTimeout:c.hitTimeout}}};function uo(e,t,n,i=!1){let r=[];for(let s of $a(e.map(o=>oc(o,t,n)),(o,l)=>o.original.overlapOrTouch(l.original)||o.modified.overlapOrTouch(l.modified))){let o=s[0],l=s[s.length-1];r.push(new Ie(o.original.join(l.original),o.modified.join(l.modified),s.map(a=>a.innerChanges[0])))}return Ke(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length-r[r.length-1].modified.endLineNumberExclusive!==t.length-r[r.length-1].original.endLineNumberExclusive)?!1:Pt(r,(s,o)=>o.original.startLineNumber-s.original.endLineNumberExclusive===o.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<o.original.startLineNumber&&s.modified.endLineNumberExclusive<o.modified.startLineNumber)),r}function oc(e,t,n){let i=0,r=0;e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+i<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+i<=e.modifiedRange.endLineNumber&&(r=-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+r&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+r&&(i=1);let s=new G(e.originalRange.startLineNumber+i,e.originalRange.endLineNumber+1+r),o=new G(e.modifiedRange.startLineNumber+i,e.modifiedRange.endLineNumber+1+r);return new Ie(s,o,[e])}function lc(e){return new Se(new G(e.seq1Range.start+1,e.seq1Range.endExclusive+1),new G(e.seq2Range.start+1,e.seq2Range.endExclusive+1))}var or={getLegacy:()=>new Fn,getDefault:()=>new Bn};function $e(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}var te=class{constructor(t,n,i,r=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,i))|0,this.a=$e(Math.max(Math.min(1,r),0),3)}static equals(t,n){return t.r===n.r&&t.g===n.g&&t.b===n.b&&t.a===n.a}},Le=class e{constructor(t,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=$e(Math.max(Math.min(1,n),0),3),this.l=$e(Math.max(Math.min(1,i),0),3),this.a=$e(Math.max(Math.min(1,r),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){let n=t.r/255,i=t.g/255,r=t.b/255,s=t.a,o=Math.max(n,i,r),l=Math.min(n,i,r),a=0,u=0,c=(l+o)/2,d=o-l;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case n:a=(i-r)/d+(i<r?6:0);break;case i:a=(r-n)/d+2;break;case r:a=(n-i)/d+4;break}a*=60,a=Math.round(a)}return new e(a,u,c,s)}static _hue2rgb(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}static toRGBA(t){let n=t.h/360,{s:i,l:r,a:s}=t,o,l,a;if(i===0)o=l=a=r;else{let u=r<.5?r*(1+i):r+i-r*i,c=2*r-u;o=e._hue2rgb(c,u,n+1/3),l=e._hue2rgb(c,u,n),a=e._hue2rgb(c,u,n-1/3)}return new te(Math.round(o*255),Math.round(l*255),Math.round(a*255),s)}},vt=class e{constructor(t,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,t),0)|0,this.s=$e(Math.max(Math.min(1,n),0),3),this.v=$e(Math.max(Math.min(1,i),0),3),this.a=$e(Math.max(Math.min(1,r),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){let n=t.r/255,i=t.g/255,r=t.b/255,s=Math.max(n,i,r),o=Math.min(n,i,r),l=s-o,a=s===0?0:l/s,u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new e(Math.round(u*60),a,s,t.a)}static toRGBA(t){let{h:n,s:i,v:r,a:s}=t,o=r*i,l=o*(1-Math.abs(n/60%2-1)),a=r-o,[u,c,d]=[0,0,0];return n<60?(u=o,c=l):n<120?(u=l,c=o):n<180?(c=o,d=l):n<240?(c=l,d=o):n<300?(u=l,d=o):n<=360&&(u=o,d=l),u=Math.round((u+a)*255),c=Math.round((c+a)*255),d=Math.round((d+a)*255),new te(u,c,d,s)}},nt=class e{static fromHex(t){return e.Format.CSS.parseHex(t)||e.red}static equals(t,n){return!t&&!n?!0:!t||!n?!1:t.equals(n)}get hsla(){return this._hsla?this._hsla:Le.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:vt.fromRGBA(this.rgba)}constructor(t){if(t)if(t instanceof te)this.rgba=t;else if(t instanceof Le)this._hsla=t,this.rgba=Le.toRGBA(t);else if(t instanceof vt)this._hsva=t,this.rgba=vt.toRGBA(t);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(t){return!!t&&te.equals(this.rgba,t.rgba)&&Le.equals(this.hsla,t.hsla)&&vt.equals(this.hsva,t.hsva)}getRelativeLuminance(){let t=e._relativeLuminanceForComponent(this.rgba.r),n=e._relativeLuminanceForComponent(this.rgba.g),i=e._relativeLuminanceForComponent(this.rgba.b),r=.2126*t+.7152*n+.0722*i;return $e(r,4)}static _relativeLuminanceForComponent(t){let 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){let n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n>i}isDarkerThan(t){let n=this.getRelativeLuminance(),i=t.getRelativeLuminance();return n<i}lighten(t){return new e(new Le(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))}darken(t){return new e(new Le(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))}transparent(t){let{r:n,g:i,b:r,a:s}=this.rgba;return new e(new te(n,i,r,s*t))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new e(new te(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;let{r:n,g:i,b:r,a:s}=this.rgba;return new e(new te(t.rgba.r-s*(t.rgba.r-n),t.rgba.g-s*(t.rgba.g-i),t.rgba.b-s*(t.rgba.b-r),1))}toString(){return this._toString||(this._toString=e.Format.CSS.format(this)),this._toString}static getLighterColor(t,n,i){if(t.isLighterThan(n))return t;i=i||.5;let r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,t.lighten(i)}static getDarkerColor(t,n,i){if(t.isDarkerThan(n))return t;i=i||.5;let r=t.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,t.darken(i)}static{this.white=new e(new te(255,255,255,1))}static{this.black=new e(new te(0,0,0,1))}static{this.red=new e(new te(255,0,0,1))}static{this.blue=new e(new te(0,0,255,1))}static{this.green=new e(new te(0,255,0,1))}static{this.cyan=new e(new te(0,255,255,1))}static{this.lightgrey=new e(new te(211,211,211,1))}static{this.transparent=new e(new te(0,0,0,0))}};(function(e){let t;(function(n){let i;(function(r){function s(m){return m.rgba.a===1?`rgb(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b})`:e.Format.CSS.formatRGBA(m)}r.formatRGB=s;function o(m){return`rgba(${m.rgba.r}, ${m.rgba.g}, ${m.rgba.b}, ${+m.rgba.a.toFixed(2)})`}r.formatRGBA=o;function l(m){return m.hsla.a===1?`hsl(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%)`:e.Format.CSS.formatHSLA(m)}r.formatHSL=l;function a(m){return`hsla(${m.hsla.h}, ${(m.hsla.s*100).toFixed(2)}%, ${(m.hsla.l*100).toFixed(2)}%, ${m.hsla.a.toFixed(2)})`}r.formatHSLA=a;function u(m){let k=m.toString(16);return k.length!==2?"0"+k:k}function c(m){return`#${u(m.rgba.r)}${u(m.rgba.g)}${u(m.rgba.b)}`}r.formatHex=c;function d(m,k=!1){return k&&m.rgba.a===1?e.Format.CSS.formatHex(m):`#${u(m.rgba.r)}${u(m.rgba.g)}${u(m.rgba.b)}${u(Math.round(m.rgba.a*255))}`}r.formatHexA=d;function f(m){return m.isOpaque()?e.Format.CSS.formatHex(m):e.Format.CSS.formatRGBA(m)}r.format=f;function p(m){let k=m.length;if(k===0||m.charCodeAt(0)!==35)return null;if(k===7){let x=16*_(m.charCodeAt(1))+_(m.charCodeAt(2)),w=16*_(m.charCodeAt(3))+_(m.charCodeAt(4)),A=16*_(m.charCodeAt(5))+_(m.charCodeAt(6));return new e(new te(x,w,A,1))}if(k===9){let x=16*_(m.charCodeAt(1))+_(m.charCodeAt(2)),w=16*_(m.charCodeAt(3))+_(m.charCodeAt(4)),A=16*_(m.charCodeAt(5))+_(m.charCodeAt(6)),E=16*_(m.charCodeAt(7))+_(m.charCodeAt(8));return new e(new te(x,w,A,E/255))}if(k===4){let x=_(m.charCodeAt(1)),w=_(m.charCodeAt(2)),A=_(m.charCodeAt(3));return new e(new te(16*x+x,16*w+w,16*A+A))}if(k===5){let x=_(m.charCodeAt(1)),w=_(m.charCodeAt(2)),A=_(m.charCodeAt(3)),E=_(m.charCodeAt(4));return new e(new te(16*x+x,16*w+w,16*A+A,(16*E+E)/255))}return null}r.parseHex=p;function _(m){switch(m){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}})(i=n.CSS||(n.CSS={}))})(t=e.Format||(e.Format={}))})(nt||(nt={}));function fo(e){let t=[];for(let n of e){let i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&t.push(i)}return t}function lr(e,t,n,i){return{red:e/255,blue:n/255,green:t/255,alpha:i}}function Xt(e,t){let n=t.index,i=t[0].length;if(!n)return;let r=e.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function uc(e,t){if(!e)return;let n=nt.Format.CSS.parseHex(t);if(n)return{range:e,color:lr(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function co(e,t,n){if(!e||t.length!==1)return;let r=t[0].values(),s=fo(r);return{range:e,color:lr(s[0],s[1],s[2],n?s[3]:1)}}function ho(e,t,n){if(!e||t.length!==1)return;let r=t[0].values(),s=fo(r),o=new nt(new Le(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:e,color:lr(o.rgba.r,o.rgba.g,o.rgba.b,o.rgba.a)}}function Yt(e,t){return typeof e=="string"?[...e.matchAll(t)]:e.findMatches(t)}function cc(e){let t=[],i=Yt(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(i.length>0)for(let r of i){let s=r.filter(u=>u!==void 0),o=s[1],l=s[2];if(!l)continue;let a;if(o==="rgb"){let u=/^\(\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;a=co(Xt(e,r),Yt(l,u),!1)}else if(o==="rgba"){let u=/^\(\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;a=co(Xt(e,r),Yt(l,u),!0)}else if(o==="hsl"){let u=/^\(\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;a=ho(Xt(e,r),Yt(l,u),!1)}else if(o==="hsla"){let u=/^\(\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;a=ho(Xt(e,r),Yt(l,u),!0)}else o==="#"&&(a=uc(Xt(e,r),o+l));a&&t.push(a)}return t}function mo(e){return!e||typeof e.getValue!="function"||typeof e.positionAt!="function"?[]:cc(e)}var po=new RegExp("\\bMARK:\\s*(.*)$","d"),hc=/^-+|-+$/g;function go(e,t){let n=[];if(t.findRegionSectionHeaders&&t.foldingRules?.markers){let i=dc(e,t);n=n.concat(i)}if(t.findMarkSectionHeaders){let i=fc(e);n=n.concat(i)}return n}function dc(e,t){let n=[],i=e.getLineCount();for(let r=1;r<=i;r++){let s=e.getLineContent(r),o=s.match(t.foldingRules.markers.start);if(o){let l={startLineNumber:r,startColumn:o[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){let a={range:l,...bo(s.substring(o[0].length)),shouldBeInComments:!1};(a.text||a.hasSeparatorLine)&&n.push(a)}}}return n}function fc(e){let t=[],n=e.getLineCount();for(let i=1;i<=n;i++){let r=e.getLineContent(i);mc(r,i,t)}return t}function mc(e,t,n){po.lastIndex=0;let i=po.exec(e);if(i){let r=i.indices[1][0]+1,s=i.indices[1][1]+1,o={startLineNumber:t,startColumn:r,endLineNumber:t,endColumn:s};if(o.endColumn>o.startColumn){let l={range:o,...bo(i[1]),shouldBeInComments:!0};(l.text||l.hasSeparatorLine)&&n.push(l)}}}function bo(e){e=e.trim();let t=e.startsWith("-");return e=e.replace(hc,""),{text:e,hasSeparatorLine:t}}var pc=Symbol("MicrotaskDelay");var gc,ur;(function(){typeof globalThis.requestIdleCallback!="function"||typeof globalThis.cancelIdleCallback!="function"?ur=(e,t)=>{Yr(()=>{if(n)return;let i=Date.now()+15;t(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,i-Date.now())}}))});let n=!1;return{dispose(){n||(n=!0)}}}:ur=(e,t,n)=>{let i=e.requestIdleCallback(t,typeof n=="number"?{timeout:n}:void 0),r=!1;return{dispose(){r||(r=!0,e.cancelIdleCallback(i))}}},gc=e=>ur(globalThis,e)})();var _o;(function(e){async function t(i){let r,s=await Promise.all(i.map(o=>o.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}e.settled=t;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(o){s(o)}})}e.withAsyncBody=n})(_o||(_o={}));var wo=class e{static fromArray(t){return new e(n=>{n.emitMany(t)})}static fromPromise(t){return new e(async n=>{n.emitMany(await t)})}static fromPromises(t){return new e(async n=>{await Promise.all(t.map(async i=>n.emitOne(await i)))})}static merge(t){return new e(async n=>{await Promise.all(t.map(async i=>{for await(let r of i)n.emitOne(r)}))})}static{this.EMPTY=e.fromArray([])}constructor(t,n){this._state=0,this._results=[],this._error=null,this._onReturn=n,this._onStateChanged=new re,queueMicrotask(async()=>{let i={emitOne:r=>this.emitOne(r),emitMany:r=>this.emitMany(r),reject:r=>this.reject(r)};try{await Promise.resolve(t(i)),this.resolve()}catch(r){this.reject(r)}finally{i.emitOne=void 0,i.emitMany=void 0,i.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 ut.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>(this._onReturn?.(),{done:!0,value:void 0})}}static map(t,n){return new e(async i=>{for await(let r of t)i.emitOne(n(r))})}map(t){return e.map(this,t)}static filter(t,n){return new e(async i=>{for await(let r of t)n(r)&&i.emitOne(r)})}filter(t){return e.filter(this,t)}static coalesce(t){return e.filter(t,n=>!!n)}coalesce(){return e.coalesce(this)}static async toPromise(t){let n=[];for await(let i of t)n.push(i);return n}toPromise(){return e.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())}};var On=class{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Ze(t);let i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,t),0),this.values.set(i.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(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Ze(t),n=Ze(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=Ze(t),n=Ze(n);let i=this.values,r=this.prefixSum;if(t>=i.length)return!1;let s=i.length-t;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,t),0),this.values.set(i.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(r.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=Ze(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 i=n;i<=t;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,o=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],o=s-this.values[r],t<o)i=r-1;else if(t>=s)n=r+1;else break;return new cr(r,t-o)}};var cr=class{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}};var qn=class{constructor(t,n,i,r){this._uri=t,this._lines=n,this._eol=i,this._versionId=r,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);let n=t.changes;for(let i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new Y(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let t=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+t;this._lineStarts=new On(i)}}_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;let i=Zr(n);if(i.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+i[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}i[i.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)+i[0]);let r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(t.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,r)}};var lp=60*1e3;var Vn=class{constructor(){this._models=Object.create(null)}getModel(t){return this._models[t]}getModels(){let t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}$acceptNewModel(t){this._models[t.url]=new hr(ce.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]}},hr=class extends qn{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(t){let n=[];for(let i=0;i<this._lines.length;i++){let r=this._lines[i],s=this.offsetAt(new Y(i+1,1)),o=r.matchAll(t);for(let l of o)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){let i=Wt(t.column,Qi(n),this._lines[t.lineNumber-1],0);return i?new B(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):null}words(t){let n=this._lines,i=this._wordenize.bind(this),r=0,s="",o=0,l=[];return{*[Symbol.iterator](){for(;;)if(o<l.length){let a=s.substring(l[o].start,l[o].end);o+=1,yield a}else if(r<n.length)s=n[r],l=i(s,t),o=0,r+=1;else break}}}getLineWords(t,n){let i=this._lines[t-1],r=this._wordenize(i,n),s=[];for(let o of r)s.push({word:i.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return s}_wordenize(t,n){let i=[],r;for(n.lastIndex=0;(r=n.exec(t))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(t){if(t=this._validateRange(t),t.startLineNumber===t.endLineNumber)return this._lines[t.startLineNumber-1].substring(t.startColumn-1,t.endColumn-1);let n=this._eol,i=t.startLineNumber-1,r=t.endLineNumber-1,s=[];s.push(this._lines[i].substring(t.startColumn-1));for(let o=i+1;o<r;o++)s.push(this._lines[o]);return s.push(this._lines[r].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();let n=this._lineStarts.getIndexOf(t),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(t){let n=this._validatePosition({lineNumber:t.startLineNumber,column:t.startColumn}),i=this._validatePosition({lineNumber:t.endLineNumber,column:t.endColumn});return n.lineNumber!==t.startLineNumber||n.column!==t.startColumn||i.lineNumber!==t.endLineNumber||i.column!==t.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:t}_validatePosition(t){if(!Y.isIPosition(t))throw new Error("bad position");let{lineNumber:n,column:i}=t,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{let s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:t}};var bc=!0,dr=class{constructor(){this._workerTextModelSyncServer=new Vn}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,i){let r=this._getModel(t);return r?Rn.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(t,n){let i=this._getModel(t);return i?go(i,n):[]}async $computeDiff(t,n,i,r){let s=this._getModel(t),o=this._getModel(n);return!s||!o?null:it.computeDiff(s,o,i,r)}static computeDiff(t,n,i,r){let s=r==="advanced"?or.getDefault():or.getLegacy(),o=t.getLinesContent(),l=n.getLinesContent(),a=s.computeDiff(o,l,i),u=a.changes.length>0?!1:this._modelsAreIdentical(t,n);function c(d){return d.map(f=>[f.original.startLineNumber,f.original.endLineNumberExclusive,f.modified.startLineNumber,f.modified.endLineNumberExclusive,f.innerChanges?.map(p=>[p.originalRange.startLineNumber,p.originalRange.startColumn,p.originalRange.endLineNumber,p.originalRange.endColumn,p.modifiedRange.startLineNumber,p.modifiedRange.startColumn,p.modifiedRange.endLineNumber,p.modifiedRange.endColumn])])}return{identical:u,quitEarly:a.hitTimeout,changes:c(a.changes),moves:a.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,c(d.changes)])}}static _modelsAreIdentical(t,n){let i=t.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){let o=t.getLineContent(s),l=n.getLineContent(s);if(o!==l)return!1}return!0}static{this._diffLimit=1e5}async $computeMoreMinimalEdits(t,n,i){let r=this._getModel(t);if(!r)return n;let s=[],o;n=n.slice(0).sort((a,u)=>{if(a.range&&u.range)return B.compareRangesUsingStarts(a.range,u.range);let c=a.range?0:1,d=u.range?0:1;return c-d});let l=0;for(let a=1;a<n.length;a++)B.getEndPosition(n[l].range).equals(B.getStartPosition(n[a].range))?(n[l].range=B.fromPositions(B.getStartPosition(n[l].range),B.getEndPosition(n[a].range)),n[l].text+=n[a].text):(l++,n[l]=n[a]);n.length=l+1;for(let{range:a,text:u,eol:c}of n){if(typeof c=="number"&&(o=c),B.isEmpty(a)&&!u)continue;let d=r.getValueInRange(a);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>it._diffLimit){s.push({range:a,text:u});continue}let f=vs(d,u,i),p=r.offsetAt(B.lift(a).getStartPosition());for(let _ of f){let m=r.positionAt(p+_.originalStart),k=r.positionAt(p+_.originalStart+_.originalLength),x={text:u.substr(_.modifiedStart,_.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:k.lineNumber,endColumn:k.column}};r.getValueInRange(x.range)!==x.text&&s.push(x)}}return typeof o=="number"&&s.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(t){let n=this._getModel(t);return n?xs(n):null}async $computeDefaultDocumentColors(t){let n=this._getModel(t);return n?mo(n):null}static{this._suggestionsLimit=1e4}async $textualSuggest(t,n,i,r){let s=new ot,o=new RegExp(i,r),l=new Set;e:for(let a of t){let u=this._getModel(a);if(u){for(let c of u.words(o))if(!(c===n||!isNaN(Number(c)))&&(l.add(c),l.size>it._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(t,n,i,r){let s=this._getModel(t);if(!s)return Object.create(null);let o=new RegExp(i,r),l=Object.create(null);for(let a=n.startLineNumber;a<n.endLineNumber;a++){let u=s.getLineWords(a,o);for(let c of u){if(!isNaN(Number(c.word)))continue;let d=l[c.word];d||(d=[],l[c.word]=d),d.push({startLineNumber:a,startColumn:c.startColumn,endLineNumber:a,endColumn:c.endColumn})}}return l}async $navigateValueSet(t,n,i,r,s){let o=this._getModel(t);if(!o)return null;let l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let a=o.getValueInRange(n),u=o.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;let c=o.getValueInRange(u);return _n.INSTANCE.navigateValueSet(n,a,u,c,i)}},it=class extends dr{constructor(t,n){super(),this._host=t,this._foreignModuleFactory=n,this._foreignModule=null}async $ping(){return"pong"}$loadForeignModule(t,n,i){let o={host:Ia(i,(l,a)=>this._host.$fhr(l,a)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,n),Promise.resolve(Yi(this._foreignModule))):new Promise((l,a)=>{let u=c=>{this._foreignModule=c.create(o,n),l(Yi(this._foreignModule))};bc?import(`${fn.asBrowserUri(`${t}.js`).toString(!0)}`).then(u).catch(a):Hr([`${t}`],u,a)})}$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(i){return Promise.reject(i)}}};typeof importScripts=="function"&&(globalThis.monaco=Ra());var fr=!1;function mr(e){if(fr)return;fr=!0;let t=new pn(n=>{globalThis.postMessage(n)},n=>new it(Ht.getChannel(n),e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{fr||mr(null)};var wc;function ye(...e){let t=e[0],n,i,r;if(typeof t=="string")n=t,i=t,e.splice(0,1),r=!e||typeof e[0]!="object"?e:e[0];else if(t instanceof Array){let o=e.slice(1);if(t.length!==o.length+1)throw new Error("expected a string as the first argument to l10n.t");let l=t[0];for(let a=1;a<t.length;a++)l+=`{${a-1}}`+t[a];return ye(l,...o)}else i=t.message,n=i,t.comment&&t.comment.length>0&&(n+=`/${Array.isArray(t.comment)?t.comment.join(""):t.comment}`),r=t.args??{};let s=wc?.[n];return s?typeof s=="string"?jn(s,r):s.comment?jn(s.message,r):jn(i,r):jn(i,r)}var vc=/{([^}]+)}/g;function jn(e,t){return Object.keys(t).length===0?e:e.replace(vc,(n,i)=>t[i]??n)}var vo;(function(e){function t(n){return typeof n=="string"}e.is=t})(vo||(vo={}));var br;(function(e){function t(n){return typeof n=="string"}e.is=t})(br||(br={}));var xo;(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})(xo||(xo={}));var $n;(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})($n||($n={}));var se;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=$n.MAX_VALUE),r===Number.MAX_VALUE&&(r=$n.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.uinteger(r.line)&&C.uinteger(r.character)}e.is=n})(se||(se={}));var X;(function(e){function t(i,r,s,o){if(C.uinteger(i)&&C.uinteger(r)&&C.uinteger(s)&&C.uinteger(o))return{start:se.create(i,r),end:se.create(s,o)};if(se.is(i)&&se.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${o}]`)}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&se.is(r.start)&&se.is(r.end)}e.is=n})(X||(X={}));var Xn;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&(C.string(r.uri)||C.undefined(r.uri))}e.is=n})(Xn||(Xn={}));var yo;(function(e){function t(i,r,s,o){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:o}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.targetRange)&&C.string(r.targetUri)&&X.is(r.targetSelectionRange)&&(X.is(r.originSelectionRange)||C.undefined(r.originSelectionRange))}e.is=n})(yo||(yo={}));var _r;(function(e){function t(i,r,s,o){return{red:i,green:r,blue:s,alpha:o}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.numberRange(r.red,0,1)&&C.numberRange(r.green,0,1)&&C.numberRange(r.blue,0,1)&&C.numberRange(r.alpha,0,1)}e.is=n})(_r||(_r={}));var To;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&_r.is(r.color)}e.is=n})(To||(To={}));var So;(function(e){function t(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.string(r.label)&&(C.undefined(r.textEdit)||le.is(r))&&(C.undefined(r.additionalTextEdits)||C.typedArray(r.additionalTextEdits,le.is))}e.is=n})(So||(So={}));var Yn;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Yn||(Yn={}));var ko;(function(e){function t(i,r,s,o,l,a){let u={startLine:i,endLine:r};return C.defined(s)&&(u.startCharacter=s),C.defined(o)&&(u.endCharacter=o),C.defined(l)&&(u.kind=l),C.defined(a)&&(u.collapsedText=a),u}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.uinteger(r.startLine)&&C.uinteger(r.startLine)&&(C.undefined(r.startCharacter)||C.uinteger(r.startCharacter))&&(C.undefined(r.endCharacter)||C.uinteger(r.endCharacter))&&(C.undefined(r.kind)||C.string(r.kind))}e.is=n})(ko||(ko={}));var wr;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&Xn.is(r.location)&&C.string(r.message)}e.is=n})(wr||(wr={}));var Ao;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Ao||(Ao={}));var Lo;(function(e){e.Unnecessary=1,e.Deprecated=2})(Lo||(Lo={}));var Co;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&C.string(i.href)}e.is=t})(Co||(Co={}));var Jn;(function(e){function t(i,r,s,o,l,a){let u={range:i,message:r};return C.defined(s)&&(u.severity=s),C.defined(o)&&(u.code=o),C.defined(l)&&(u.source=l),C.defined(a)&&(u.relatedInformation=a),u}e.create=t;function n(i){var r;let s=i;return C.defined(s)&&X.is(s.range)&&C.string(s.message)&&(C.number(s.severity)||C.undefined(s.severity))&&(C.integer(s.code)||C.string(s.code)||C.undefined(s.code))&&(C.undefined(s.codeDescription)||C.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(C.string(s.source)||C.undefined(s.source))&&(C.undefined(s.relatedInformation)||C.typedArray(s.relatedInformation,wr.is))}e.is=n})(Jn||(Jn={}));var yt;(function(e){function t(i,r,...s){let o={title:i,command:r};return C.defined(s)&&s.length>0&&(o.arguments=s),o}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.title)&&C.string(r.command)}e.is=n})(yt||(yt={}));var le;(function(e){function t(s,o){return{range:s,newText:o}}e.replace=t;function n(s,o){return{range:{start:s,end:s},newText:o}}e.insert=n;function i(s){return{range:s,newText:""}}e.del=i;function r(s){let o=s;return C.objectLiteral(o)&&C.string(o.newText)&&X.is(o.range)}e.is=r})(le||(le={}));var vr;(function(e){function t(i,r,s){let o={label:i};return r!==void 0&&(o.needsConfirmation=r),s!==void 0&&(o.description=s),o}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&C.string(r.label)&&(C.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(C.string(r.description)||r.description===void 0)}e.is=n})(vr||(vr={}));var Tt;(function(e){function t(n){let i=n;return C.string(i)}e.is=t})(Tt||(Tt={}));var Eo;(function(e){function t(s,o,l){return{range:s,newText:o,annotationId:l}}e.replace=t;function n(s,o,l){return{range:{start:s,end:s},newText:o,annotationId:l}}e.insert=n;function i(s,o){return{range:s,newText:"",annotationId:o}}e.del=i;function r(s){let o=s;return le.is(o)&&(vr.is(o.annotationId)||Tt.is(o.annotationId))}e.is=r})(Eo||(Eo={}));var xr;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&Ar.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(xr||(xr={}));var yr;(function(e){function t(i,r,s){let o={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(o.options=r),s!==void 0&&(o.annotationId=s),o}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&C.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||C.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||C.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Tt.is(r.annotationId))}e.is=n})(yr||(yr={}));var Tr;(function(e){function t(i,r,s,o){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),o!==void 0&&(l.annotationId=o),l}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&C.string(r.oldUri)&&C.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||C.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||C.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Tt.is(r.annotationId))}e.is=n})(Tr||(Tr={}));var Sr;(function(e){function t(i,r,s){let o={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(o.options=r),s!==void 0&&(o.annotationId=s),o}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&C.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||C.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||C.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||Tt.is(r.annotationId))}e.is=n})(Sr||(Sr={}));var kr;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>C.string(r.kind)?yr.is(r)||Tr.is(r)||Sr.is(r):xr.is(r)))}e.is=t})(kr||(kr={}));var Ro;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)}e.is=n})(Ro||(Ro={}));var Mo;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&C.integer(r.version)}e.is=n})(Mo||(Mo={}));var Ar;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&(r.version===null||C.integer(r.version))}e.is=n})(Ar||(Ar={}));var No;(function(e){function t(i,r,s,o){return{uri:i,languageId:r,version:s,text:o}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.string(r.uri)&&C.string(r.languageId)&&C.integer(r.version)&&C.string(r.text)}e.is=n})(No||(No={}));var ze;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){let i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(ze||(ze={}));var Kt;(function(e){function t(n){let i=n;return C.objectLiteral(n)&&ze.is(i.kind)&&C.string(i.value)}e.is=t})(Kt||(Kt={}));var fe;(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})(fe||(fe={}));var xe;(function(e){e.PlainText=1,e.Snippet=2})(xe||(xe={}));var Do;(function(e){e.Deprecated=1})(Do||(Do={}));var Io;(function(e){function t(i,r,s){return{newText:i,insert:r,replace:s}}e.create=t;function n(i){let r=i;return r&&C.string(r.newText)&&X.is(r.insert)&&X.is(r.replace)}e.is=n})(Io||(Io={}));var zo;(function(e){e.asIs=1,e.adjustIndentation=2})(zo||(zo={}));var Fo;(function(e){function t(n){let i=n;return i&&(C.string(i.detail)||i.detail===void 0)&&(C.string(i.description)||i.description===void 0)}e.is=t})(Fo||(Fo={}));var Uo;(function(e){function t(n){return{label:n}}e.create=t})(Uo||(Uo={}));var Ho;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(Ho||(Ho={}));var Qn;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){let r=i;return C.string(r)||C.objectLiteral(r)&&C.string(r.language)&&C.string(r.value)}e.is=n})(Qn||(Qn={}));var Po;(function(e){function t(n){let i=n;return!!i&&C.objectLiteral(i)&&(Kt.is(i.contents)||Qn.is(i.contents)||C.typedArray(i.contents,Qn.is))&&(n.range===void 0||X.is(n.range))}e.is=t})(Po||(Po={}));var Wo;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(Wo||(Wo={}));var Bo;(function(e){function t(n,i,...r){let s={label:n};return C.defined(i)&&(s.documentation=i),C.defined(r)?s.parameters=r:s.parameters=[],s}e.create=t})(Bo||(Bo={}));var Zn;(function(e){e.Text=1,e.Read=2,e.Write=3})(Zn||(Zn={}));var Oo;(function(e){function t(n,i){let r={range:n};return C.number(i)&&(r.kind=i),r}e.create=t})(Oo||(Oo={}));var Lr;(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})(Lr||(Lr={}));var qo;(function(e){e.Deprecated=1})(qo||(qo={}));var Cr;(function(e){function t(n,i,r,s,o){let l={name:n,kind:i,location:{uri:s,range:r}};return o&&(l.containerName=o),l}e.create=t})(Cr||(Cr={}));var Vo;(function(e){function t(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(Vo||(Vo={}));var Er;(function(e){function t(i,r,s,o,l,a){let u={name:i,detail:r,kind:s,range:o,selectionRange:l};return a!==void 0&&(u.children=a),u}e.create=t;function n(i){let r=i;return r&&C.string(r.name)&&C.number(r.kind)&&X.is(r.range)&&X.is(r.selectionRange)&&(r.detail===void 0||C.string(r.detail))&&(r.deprecated===void 0||C.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(Er||(Er={}));var jo;(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"})(jo||(jo={}));var Kn;(function(e){e.Invoked=1,e.Automatic=2})(Kn||(Kn={}));var Go;(function(e){function t(i,r,s){let o={diagnostics:i};return r!=null&&(o.only=r),s!=null&&(o.triggerKind=s),o}e.create=t;function n(i){let r=i;return C.defined(r)&&C.typedArray(r.diagnostics,Jn.is)&&(r.only===void 0||C.typedArray(r.only,C.string))&&(r.triggerKind===void 0||r.triggerKind===Kn.Invoked||r.triggerKind===Kn.Automatic)}e.is=n})(Go||(Go={}));var $o;(function(e){function t(i,r,s){let o={title:i},l=!0;return typeof r=="string"?(l=!1,o.kind=r):yt.is(r)?o.command=r:o.edit=r,l&&s!==void 0&&(o.kind=s),o}e.create=t;function n(i){let r=i;return r&&C.string(r.title)&&(r.diagnostics===void 0||C.typedArray(r.diagnostics,Jn.is))&&(r.kind===void 0||C.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||yt.is(r.command))&&(r.isPreferred===void 0||C.boolean(r.isPreferred))&&(r.edit===void 0||kr.is(r.edit))}e.is=n})($o||($o={}));var Xo;(function(e){function t(i,r){let s={range:i};return C.defined(r)&&(s.data=r),s}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(r.range)&&(C.undefined(r.command)||yt.is(r.command))}e.is=n})(Xo||(Xo={}));var Yo;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&C.uinteger(r.tabSize)&&C.boolean(r.insertSpaces)}e.is=n})(Yo||(Yo={}));var Jo;(function(e){function t(i,r,s){return{range:i,target:r,data:s}}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(r.range)&&(C.undefined(r.target)||C.string(r.target))}e.is=n})(Jo||(Jo={}));var ei;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&X.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(ei||(ei={}));var Qo;(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"})(Qo||(Qo={}));var Zo;(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"})(Zo||(Zo={}));var Ko;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(Ko||(Ko={}));var el;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&C.string(r.text)}e.is=n})(el||(el={}));var tl;(function(e){function t(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&C.boolean(r.caseSensitiveLookup)&&(C.string(r.variableName)||r.variableName===void 0)}e.is=n})(tl||(tl={}));var nl;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){let r=i;return r!=null&&X.is(r.range)&&(C.string(r.expression)||r.expression===void 0)}e.is=n})(nl||(nl={}));var il;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){let r=i;return C.defined(r)&&X.is(i.stoppedLocation)}e.is=n})(il||(il={}));var Rr;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Rr||(Rr={}));var Mr;(function(e){function t(i){return{value:i}}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&(r.tooltip===void 0||C.string(r.tooltip)||Kt.is(r.tooltip))&&(r.location===void 0||Xn.is(r.location))&&(r.command===void 0||yt.is(r.command))}e.is=n})(Mr||(Mr={}));var rl;(function(e){function t(i,r,s){let o={position:i,label:r};return s!==void 0&&(o.kind=s),o}e.create=t;function n(i){let r=i;return C.objectLiteral(r)&&se.is(r.position)&&(C.string(r.label)||C.typedArray(r.label,Mr.is))&&(r.kind===void 0||Rr.is(r.kind))&&r.textEdits===void 0||C.typedArray(r.textEdits,le.is)&&(r.tooltip===void 0||C.string(r.tooltip)||Kt.is(r.tooltip))&&(r.paddingLeft===void 0||C.boolean(r.paddingLeft))&&(r.paddingRight===void 0||C.boolean(r.paddingRight))}e.is=n})(rl||(rl={}));var sl;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(sl||(sl={}));var al;(function(e){function t(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}e.create=t})(al||(al={}));var ol;(function(e){function t(n){return{items:n}}e.create=t})(ol||(ol={}));var ll;(function(e){e.Invoked=0,e.Automatic=1})(ll||(ll={}));var ul;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(ul||(ul={}));var cl;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(cl||(cl={}));var hl;(function(e){function t(n){let i=n;return C.objectLiteral(i)&&br.is(i.uri)&&C.string(i.name)}e.is=t})(hl||(hl={}));var dl;(function(e){function t(s,o,l,a){return new xc(s,o,l,a)}e.create=t;function n(s){let o=s;return!!(C.defined(o)&&C.string(o.uri)&&(C.undefined(o.languageId)||C.string(o.languageId))&&C.uinteger(o.lineCount)&&C.func(o.getText)&&C.func(o.positionAt)&&C.func(o.offsetAt))}e.is=n;function i(s,o){let l=s.getText(),a=r(o,(c,d)=>{let f=c.range.start.line-d.range.start.line;return f===0?c.range.start.character-d.range.start.character:f}),u=l.length;for(let c=a.length-1;c>=0;c--){let d=a[c],f=s.offsetAt(d.range.start),p=s.offsetAt(d.range.end);if(p<=u)l=l.substring(0,f)+d.newText+l.substring(p,l.length);else throw new Error("Overlapping edit");u=f}return l}e.applyEdits=i;function r(s,o){if(s.length<=1)return s;let l=s.length/2|0,a=s.slice(0,l),u=s.slice(l);r(a,o),r(u,o);let c=0,d=0,f=0;for(;c<a.length&&d<u.length;)o(a[c],u[d])<=0?s[f++]=a[c++]:s[f++]=u[d++];for(;c<a.length;)s[f++]=a[c++];for(;d<u.length;)s[f++]=u[d++];return s}})(dl||(dl={}));var xc=class{constructor(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],t=this._content,n=!0;for(let i=0;i<t.length;i++){n&&(e.push(i),n=!1);let r=t.charAt(i);n=r==="\r"||r===`
|
|
16
16
|
`,r==="\r"&&i+1<t.length&&t.charAt(i+1)===`
|
|
17
|
-
`&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,i=t.length;if(i===0)return ae.create(0,e);for(;n<i;){let s=Math.floor((n+i)/2);t[s]>e?i=s:n=s+1}let r=n-1;return ae.create(r,e-t[r])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)}get lineCount(){return this.getLineOffsets().length}},C;(function(e){let t=Object.prototype.toString;function n(p){return typeof p<"u"}e.defined=n;function i(p){return typeof p>"u"}e.undefined=i;function r(p){return p===!0||p===!1}e.boolean=r;function s(p){return t.call(p)==="[object String]"}e.string=s;function o(p){return t.call(p)==="[object Number]"}e.number=o;function l(p,_,m){return t.call(p)==="[object Number]"&&_<=p&&p<=m}e.numberRange=l;function a(p){return t.call(p)==="[object Number]"&&-2147483648<=p&&p<=2147483647}e.integer=a;function u(p){return t.call(p)==="[object Number]"&&0<=p&&p<=2147483647}e.uinteger=u;function c(p){return t.call(p)==="[object Function]"}e.func=c;function d(p){return p!==null&&typeof p=="object"}e.objectLiteral=d;function f(p,_){return Array.isArray(p)&&p.every(_)}e.typedArray=f})(C||(C={}));var Hl=class is{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,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),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){for(let i of t)if(is.isIncremental(i)){let r=Zl(i.range),s=this.offsetAt(r.start),o=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(o,this._content.length);let l=Math.max(r.start.line,0),a=Math.max(r.end.line,0),u=this._lineOffsets,c=Pl(i.text,!1,s);if(a-l===c.length)for(let f=0,p=c.length;f<p;f++)u[f+l+1]=c[f];else c.length<1e4?u.splice(l+1,a-l,...c):this._lineOffsets=u=u.slice(0,l+1).concat(c,u.slice(a+1));let d=i.text.length-(o-s);if(d!==0)for(let f=l+1+c.length,p=u.length;f<p;f++)u[f]=u[f]+d}else if(is.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=Pl(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:t};for(;i<r;){let o=Math.floor((i+r)/2);n[o]>t?r=o:i=o+1}let s=i-1;return{line:s,character: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 i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},rs;(function(e){function t(r,s,o,l){return new Hl(r,s,o,l)}e.create=t;function n(r,s,o){if(r instanceof Hl)return r.update(s,o),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function i(r,s){let o=r.getText(),l=ss(s.map(Yc),(c,d)=>{let f=c.range.start.line-d.range.start.line;return f===0?c.range.start.character-d.range.start.character:f}),a=0,u=[];for(let c of l){let d=r.offsetAt(c.range.start);if(d<a)throw new Error("Overlapping edit");d>a&&u.push(o.substring(a,d)),c.newText.length&&u.push(c.newText),a=r.offsetAt(c.range.end)}return u.push(o.substr(a)),u.join("")}e.applyEdits=i})(rs||(rs={}));function ss(e,t){if(e.length<=1)return e;let n=e.length/2|0,i=e.slice(0,n),r=e.slice(n);ss(i,t),ss(r,t);let s=0,o=0,l=0;for(;s<i.length&&o<r.length;)t(i[s],r[o])<=0?e[l++]=i[s++]:e[l++]=r[o++];for(;s<i.length;)e[l++]=i[s++];for(;o<r.length;)e[l++]=r[o++];return e}function Pl(e,t,n=0){let i=t?[n]:[];for(let r=0;r<e.length;r++){let s=e.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<e.length&&e.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function Zl(e){let 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 Yc(e){let t=Zl(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var z;(function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"})(z||(z={}));var q;(function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"})(q||(q={}));var Wl;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Pe.Markdown,Pe.PlainText]}},hover:{contentFormat:[Pe.Markdown,Pe.PlainText]}}}})(Wl||(Wl={}));var as;(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(as||(as={}));var Jc=class{constructor(e,t){this.source=e,this.len=e.length,this.position=t}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){let t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0}advanceIfRegExp(e){let n=this.source.substr(this.position).match(e);return n?(this.position=this.position+n.index+n[0].length,n[0]):""}advanceUntilRegExp(e){let n=this.source.substr(this.position).match(e);return n?(this.position=this.position+n.index,n[0]):(this.goToEnd(),"")}advanceUntilChar(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1}advanceUntilChars(e){for(;this.position+e.length<=this.source.length;){let t=0;for(;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(t=>t===ih||t===rh||t===eh||t===nh||t===th)>0}advanceWhileChar(e){let t=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t}},Bl=33,zt=45,gi=60,Ne=62,Wr=47,Qc=61,Zc=34,Kc=39,eh=10,th=13,nh=12,ih=32,rh=9,sh={"text/x-handlebars-template":!0,"text/html":!0};function _e(e,t=0,n=q.WithinContent,i=!1){let r=new Jc(e,t),s=n,o=0,l=z.Unknown,a,u,c,d,f;function p(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function _(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function m(w,A,E){return l=A,o=w,a=E,A}function k(){let w=r.pos(),A=s,E=x();return E!==z.EOS&&w===r.pos()&&!(i&&(E===z.StartTagClose||E===z.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+w+", state before: "+A+" after: "+s),r.advance(1),m(w,z.Unknown)):E}function x(){let w=r.pos();if(r.eos())return m(w,z.EOS);let A;switch(s){case q.WithinComment:return r.advanceIfChars([zt,zt,Ne])?(s=q.WithinContent,m(w,z.EndCommentTag)):(r.advanceUntilChars([zt,zt,Ne]),m(w,z.Comment));case q.WithinDoctype:return r.advanceIfChar(Ne)?(s=q.WithinContent,m(w,z.EndDoctypeTag)):(r.advanceUntilChar(Ne),m(w,z.Doctype));case q.WithinContent:if(r.advanceIfChar(gi)){if(!r.eos()&&r.peekChar()===Bl){if(r.advanceIfChars([Bl,zt,zt]))return s=q.WithinComment,m(w,z.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=q.WithinDoctype,m(w,z.StartDoctypeTag)}return r.advanceIfChar(Wr)?(s=q.AfterOpeningEndTag,m(w,z.EndTagOpen)):(s=q.AfterOpeningStartTag,m(w,z.StartTagOpen))}return r.advanceUntilChar(gi),m(w,z.Content);case q.AfterOpeningEndTag:return p().length>0?(s=q.WithinEndTag,m(w,z.EndTag)):r.skipWhitespace()?m(w,z.Whitespace,ke("Tag name must directly follow the open bracket.")):(s=q.WithinEndTag,r.advanceUntilChar(Ne),w<r.pos()?m(w,z.Unknown,ke("End tag name expected.")):x());case q.WithinEndTag:if(r.skipWhitespace())return m(w,z.Whitespace);if(r.advanceIfChar(Ne))return s=q.WithinContent,m(w,z.EndTagClose);if(i&&r.peekChar()===gi)return s=q.WithinContent,m(w,z.EndTagClose,ke("Closing bracket missing."));A=ke("Closing bracket expected.");break;case q.AfterOpeningStartTag:return c=p(),f=void 0,d=void 0,c.length>0?(u=!1,s=q.WithinTag,m(w,z.StartTag)):r.skipWhitespace()?m(w,z.Whitespace,ke("Tag name must directly follow the open bracket.")):(s=q.WithinTag,r.advanceUntilChar(Ne),w<r.pos()?m(w,z.Unknown,ke("Start tag name expected.")):x());case q.WithinTag:return r.skipWhitespace()?(u=!0,m(w,z.Whitespace)):u&&(d=_(),d.length>0)?(s=q.AfterAttributeName,u=!1,m(w,z.AttributeName)):r.advanceIfChars([Wr,Ne])?(s=q.WithinContent,m(w,z.StartTagSelfClose)):r.advanceIfChar(Ne)?(c==="script"?f&&sh[f]?s=q.WithinContent:s=q.WithinScriptContent:c==="style"?s=q.WithinStyleContent:s=q.WithinContent,m(w,z.StartTagClose)):i&&r.peekChar()===gi?(s=q.WithinContent,m(w,z.StartTagClose,ke("Closing bracket missing."))):(r.advance(1),m(w,z.Unknown,ke("Unexpected character in tag.")));case q.AfterAttributeName:return r.skipWhitespace()?(u=!0,m(w,z.Whitespace)):r.advanceIfChar(Qc)?(s=q.BeforeAttributeValue,m(w,z.DelimiterAssign)):(s=q.WithinTag,x());case q.BeforeAttributeValue:if(r.skipWhitespace())return m(w,z.Whitespace);let D=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(D.length>0&&(r.peekChar()===Ne&&r.peekChar(-1)===Wr&&(r.goBack(1),D=D.substring(0,D.length-1)),d==="type"&&(f=D),D.length>0))return s=q.WithinTag,u=!1,m(w,z.AttributeValue);let N=r.peekChar();return N===Kc||N===Zc?(r.advance(1),r.advanceUntilChar(N)&&r.advance(1),d==="type"&&(f=r.getSource().substring(w+1,r.pos()-1)),s=q.WithinTag,u=!1,m(w,z.AttributeValue)):(s=q.WithinTag,u=!1,x());case q.WithinScriptContent:let b=1;for(;!r.eos();){let g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),m(w,z.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=q.WithinContent,w<r.pos()?m(w,z.Script):x();case q.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=q.WithinContent,w<r.pos()?m(w,z.Styles):x()}return r.advance(1),s=q.WithinContent,m(w,z.Unknown,A)}return{scan:k,getTokenType:()=>l,getTokenOffset:()=>o,getTokenLength:()=>r.pos()-o,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(o,r.pos()),getScannerState:()=>s,getTokenError:()=>a}}function Ol(e,t){let n=0,i=e.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function ah(e,t,n){let i=0,r=e.length-1;for(;i<=r;){let s=(i+r)/2|0,o=n(e[s],t);if(o<0)i=s+1;else if(o>0)r=s-1;else return s}return-(i+1)}var ql=class{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}isSameTag(e){return this.tag===void 0?e===void 0:e!==void 0&&this.tag.length===e.length&&this.tag.toLowerCase()===e}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(e){let t=Ol(this.children,n=>e<=n.start)-1;if(t>=0){let n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);let i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this}findNodeAt(e){let t=Ol(this.children,n=>e<=n.start)-1;if(t>=0){let n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this}},oh=class{constructor(e){this.dataManager=e}parseDocument(e){return this.parse(e.getText(),this.dataManager.getVoidElements(e.languageId))}parse(e,t){let n=_e(e,void 0,void 0,!0),i=new ql(0,e.length,[],void 0),r=i,s=-1,o,l=null,a=n.scan();for(;a!==z.EOS;){switch(a){case z.StartTagOpen:let u=new ql(n.getTokenOffset(),e.length,[],r);r.children.push(u),r=u;break;case z.StartTag:r.tag=n.getTokenText();break;case z.StartTagClose:r.parent&&(r.end=n.getTokenEnd(),n.getTokenLength()?(r.startTagEnd=n.getTokenEnd(),r.tag&&this.dataManager.isVoidElement(r.tag,t)&&(r.closed=!0,r=r.parent)):r=r.parent);break;case z.StartTagSelfClose:r.parent&&(r.closed=!0,r.end=n.getTokenEnd(),r.startTagEnd=n.getTokenEnd(),r=r.parent);break;case z.EndTagOpen:s=n.getTokenOffset(),o=void 0;break;case z.EndTag:o=n.getTokenText().toLowerCase();break;case z.EndTagClose:let c=r;for(;!c.isSameTag(o)&&c.parent;)c=c.parent;if(c.parent){for(;r!==c;)r.end=s,r.closed=!1,r=r.parent;r.closed=!0,r.endTagStart=s,r.end=n.getTokenEnd(),r=r.parent}break;case z.AttributeName:{l=n.getTokenText();let d=r.attributes;d||(r.attributes=d={}),d[l]=null;break}case z.AttributeValue:{let d=n.getTokenText(),f=r.attributes;f&&l&&(f[l]=d,l=null);break}}a=n.scan()}for(;r.parent;)r.end=e.length,r.closed=!1,r=r.parent;return{roots:i.children,findNodeBefore:i.findNodeBefore.bind(i),findNodeAt:i.findNodeAt.bind(i)}}},pn={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
|
|
18
|
-
`,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function et(e,t){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function lh(e,t){let n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function Vl(e,t){let n="";for(;t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}var uh=97,ch=122,hh=65,dh=90,fh=48,mh=57;function mn(e,t){let n=e.charCodeAt(t);return uh<=n&&n<=ch||hh<=n&&n<=dh||fh<=n&&n<=mh}function ki(e){return typeof e<"u"}function ph(e){if(e)return typeof e=="string"?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}var Kl=class{isApplicable(){return!0}constructor(e,t){this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach(n=>{this._tagMap[n.name.toLowerCase()]=n}),t.valueSets&&t.valueSets.forEach(n=>{this._valueSetMap[n.name]=n.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(e){let t=[],n=r=>{t.push(r)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t}provideValues(e,t){let n=[];t=t.toLowerCase();let i=s=>{s.forEach(o=>{o.name.toLowerCase()===t&&(o.values&&o.values.forEach(l=>{n.push(l)}),o.valueSet&&this._valueSetMap[o.valueSet]&&this._valueSetMap[o.valueSet].forEach(l=>{n.push(l)}))})},r=this._tagMap[e.toLowerCase()];return r&&i(r.attributes),i(this._globalAttributes),n}};function ft(e,t={},n){let i={kind:n?"markdown":"plaintext",value:""};if(e.description&&t.documentation!==!1){let r=ph(e.description);r&&(i.value+=r.value)}if(e.references&&e.references.length>0&&t.references!==!1&&(i.value.length&&(i.value+=`
|
|
17
|
+
`&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,i=t.length;if(i===0)return se.create(0,e);for(;n<i;){let s=Math.floor((n+i)/2);t[s]>e?i=s:n=s+1}let r=n-1;return se.create(r,e-t[r])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)}get lineCount(){return this.getLineOffsets().length}},C;(function(e){let t=Object.prototype.toString;function n(p){return typeof p<"u"}e.defined=n;function i(p){return typeof p>"u"}e.undefined=i;function r(p){return p===!0||p===!1}e.boolean=r;function s(p){return t.call(p)==="[object String]"}e.string=s;function o(p){return t.call(p)==="[object Number]"}e.number=o;function l(p,_,m){return t.call(p)==="[object Number]"&&_<=p&&p<=m}e.numberRange=l;function a(p){return t.call(p)==="[object Number]"&&-2147483648<=p&&p<=2147483647}e.integer=a;function u(p){return t.call(p)==="[object Number]"&&0<=p&&p<=2147483647}e.uinteger=u;function c(p){return t.call(p)==="[object Function]"}e.func=c;function d(p){return p!==null&&typeof p=="object"}e.objectLiteral=d;function f(p,_){return Array.isArray(p)&&p.every(_)}e.typedArray=f})(C||(C={}));var fl=class Nr{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,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),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){for(let i of t)if(Nr.isIncremental(i)){let r=Ll(i.range),s=this.offsetAt(r.start),o=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(o,this._content.length);let l=Math.max(r.start.line,0),a=Math.max(r.end.line,0),u=this._lineOffsets,c=ml(i.text,!1,s);if(a-l===c.length)for(let f=0,p=c.length;f<p;f++)u[f+l+1]=c[f];else c.length<1e4?u.splice(l+1,a-l,...c):this._lineOffsets=u=u.slice(0,l+1).concat(c,u.slice(a+1));let d=i.text.length-(o-s);if(d!==0)for(let f=l+1+c.length,p=u.length;f<p;f++)u[f]=u[f]+d}else if(Nr.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=ml(this._content,!0)),this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:t};for(;i<r;){let o=Math.floor((i+r)/2);n[o]>t?r=o:i=o+1}let s=i-1;return{line:s,character: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 i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(t){let n=t;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},Dr;(function(e){function t(r,s,o,l){return new fl(r,s,o,l)}e.create=t;function n(r,s,o){if(r instanceof fl)return r.update(s,o),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}e.update=n;function i(r,s){let o=r.getText(),l=Ir(s.map(yc),(c,d)=>{let f=c.range.start.line-d.range.start.line;return f===0?c.range.start.character-d.range.start.character:f}),a=0,u=[];for(let c of l){let d=r.offsetAt(c.range.start);if(d<a)throw new Error("Overlapping edit");d>a&&u.push(o.substring(a,d)),c.newText.length&&u.push(c.newText),a=r.offsetAt(c.range.end)}return u.push(o.substr(a)),u.join("")}e.applyEdits=i})(Dr||(Dr={}));function Ir(e,t){if(e.length<=1)return e;let n=e.length/2|0,i=e.slice(0,n),r=e.slice(n);Ir(i,t),Ir(r,t);let s=0,o=0,l=0;for(;s<i.length&&o<r.length;)t(i[s],r[o])<=0?e[l++]=i[s++]:e[l++]=r[o++];for(;s<i.length;)e[l++]=i[s++];for(;o<r.length;)e[l++]=r[o++];return e}function ml(e,t,n=0){let i=t?[n]:[];for(let r=0;r<e.length;r++){let s=e.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<e.length&&e.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function Ll(e){let 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 yc(e){let t=Ll(e.range);return t!==e.range?{newText:e.newText,range:t}:e}var I;(function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"})(I||(I={}));var q;(function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"})(q||(q={}));var pl;(function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[ze.Markdown,ze.PlainText]}},hover:{contentFormat:[ze.Markdown,ze.PlainText]}}}})(pl||(pl={}));var zr;(function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"})(zr||(zr={}));var Tc=class{constructor(e,t){this.source=e,this.len=e.length,this.position=t}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){let t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0}advanceIfRegExp(e){let n=this.source.substr(this.position).match(e);return n?(this.position=this.position+n.index+n[0].length,n[0]):""}advanceUntilRegExp(e){let n=this.source.substr(this.position).match(e);return n?(this.position=this.position+n.index,n[0]):(this.goToEnd(),"")}advanceUntilChar(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1}advanceUntilChars(e){for(;this.position+e.length<=this.source.length;){let t=0;for(;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(t=>t===Rc||t===Mc||t===Lc||t===Ec||t===Cc)>0}advanceWhileChar(e){let t=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t}},gl=33,xt=45,Gn=60,Ce=62,pr=47,Sc=61,kc=34,Ac=39,Lc=10,Cc=13,Ec=12,Rc=32,Mc=9,Nc={"text/x-handlebars-template":!0,"text/html":!0};function ge(e,t=0,n=q.WithinContent,i=!1){let r=new Tc(e,t),s=n,o=0,l=I.Unknown,a,u,c,d,f;function p(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function _(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function m(w,A,E){return l=A,o=w,a=E,A}function k(){let w=r.pos(),A=s,E=x();return E!==I.EOS&&w===r.pos()&&!(i&&(E===I.StartTagClose||E===I.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+w+", state before: "+A+" after: "+s),r.advance(1),m(w,I.Unknown)):E}function x(){let w=r.pos();if(r.eos())return m(w,I.EOS);let A;switch(s){case q.WithinComment:return r.advanceIfChars([xt,xt,Ce])?(s=q.WithinContent,m(w,I.EndCommentTag)):(r.advanceUntilChars([xt,xt,Ce]),m(w,I.Comment));case q.WithinDoctype:return r.advanceIfChar(Ce)?(s=q.WithinContent,m(w,I.EndDoctypeTag)):(r.advanceUntilChar(Ce),m(w,I.Doctype));case q.WithinContent:if(r.advanceIfChar(Gn)){if(!r.eos()&&r.peekChar()===gl){if(r.advanceIfChars([gl,xt,xt]))return s=q.WithinComment,m(w,I.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=q.WithinDoctype,m(w,I.StartDoctypeTag)}return r.advanceIfChar(pr)?(s=q.AfterOpeningEndTag,m(w,I.EndTagOpen)):(s=q.AfterOpeningStartTag,m(w,I.StartTagOpen))}return r.advanceUntilChar(Gn),m(w,I.Content);case q.AfterOpeningEndTag:return p().length>0?(s=q.WithinEndTag,m(w,I.EndTag)):r.skipWhitespace()?m(w,I.Whitespace,ye("Tag name must directly follow the open bracket.")):(s=q.WithinEndTag,r.advanceUntilChar(Ce),w<r.pos()?m(w,I.Unknown,ye("End tag name expected.")):x());case q.WithinEndTag:if(r.skipWhitespace())return m(w,I.Whitespace);if(r.advanceIfChar(Ce))return s=q.WithinContent,m(w,I.EndTagClose);if(i&&r.peekChar()===Gn)return s=q.WithinContent,m(w,I.EndTagClose,ye("Closing bracket missing."));A=ye("Closing bracket expected.");break;case q.AfterOpeningStartTag:return c=p(),f=void 0,d=void 0,c.length>0?(u=!1,s=q.WithinTag,m(w,I.StartTag)):r.skipWhitespace()?m(w,I.Whitespace,ye("Tag name must directly follow the open bracket.")):(s=q.WithinTag,r.advanceUntilChar(Ce),w<r.pos()?m(w,I.Unknown,ye("Start tag name expected.")):x());case q.WithinTag:return r.skipWhitespace()?(u=!0,m(w,I.Whitespace)):u&&(d=_(),d.length>0)?(s=q.AfterAttributeName,u=!1,m(w,I.AttributeName)):r.advanceIfChars([pr,Ce])?(s=q.WithinContent,m(w,I.StartTagSelfClose)):r.advanceIfChar(Ce)?(c==="script"?f&&Nc[f]?s=q.WithinContent:s=q.WithinScriptContent:c==="style"?s=q.WithinStyleContent:s=q.WithinContent,m(w,I.StartTagClose)):i&&r.peekChar()===Gn?(s=q.WithinContent,m(w,I.StartTagClose,ye("Closing bracket missing."))):(r.advance(1),m(w,I.Unknown,ye("Unexpected character in tag.")));case q.AfterAttributeName:return r.skipWhitespace()?(u=!0,m(w,I.Whitespace)):r.advanceIfChar(Sc)?(s=q.BeforeAttributeValue,m(w,I.DelimiterAssign)):(s=q.WithinTag,x());case q.BeforeAttributeValue:if(r.skipWhitespace())return m(w,I.Whitespace);let D=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(D.length>0&&(r.peekChar()===Ce&&r.peekChar(-1)===pr&&(r.goBack(1),D=D.substring(0,D.length-1)),d==="type"&&(f=D),D.length>0))return s=q.WithinTag,u=!1,m(w,I.AttributeValue);let N=r.peekChar();return N===Ac||N===kc?(r.advance(1),r.advanceUntilChar(N)&&r.advance(1),d==="type"&&(f=r.getSource().substring(w+1,r.pos()-1)),s=q.WithinTag,u=!1,m(w,I.AttributeValue)):(s=q.WithinTag,u=!1,x());case q.WithinScriptContent:let b=1;for(;!r.eos();){let g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),m(w,I.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=q.WithinContent,w<r.pos()?m(w,I.Script):x();case q.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=q.WithinContent,w<r.pos()?m(w,I.Styles):x()}return r.advance(1),s=q.WithinContent,m(w,I.Unknown,A)}return{scan:k,getTokenType:()=>l,getTokenOffset:()=>o,getTokenLength:()=>r.pos()-o,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(o,r.pos()),getScannerState:()=>s,getTokenError:()=>a}}function bl(e,t){let n=0,i=e.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}function Dc(e,t,n){let i=0,r=e.length-1;for(;i<=r;){let s=(i+r)/2|0,o=n(e[s],t);if(o<0)i=s+1;else if(o>0)r=s-1;else return s}return-(i+1)}var _l=class{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}isSameTag(e){return this.tag===void 0?e===void 0:e!==void 0&&this.tag.length===e.length&&this.tag.toLowerCase()===e}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(e){let t=bl(this.children,n=>e<=n.start)-1;if(t>=0){let n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);let i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this}findNodeAt(e){let t=bl(this.children,n=>e<=n.start)-1;if(t>=0){let n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this}},Ic=class{constructor(e){this.dataManager=e}parseDocument(e){return this.parse(e.getText(),this.dataManager.getVoidElements(e.languageId))}parse(e,t){let n=ge(e,void 0,void 0,!0),i=new _l(0,e.length,[],void 0),r=i,s=-1,o,l=null,a=n.scan();for(;a!==I.EOS;){switch(a){case I.StartTagOpen:let u=new _l(n.getTokenOffset(),e.length,[],r);r.children.push(u),r=u;break;case I.StartTag:r.tag=n.getTokenText();break;case I.StartTagClose:r.parent&&(r.end=n.getTokenEnd(),n.getTokenLength()?(r.startTagEnd=n.getTokenEnd(),r.tag&&this.dataManager.isVoidElement(r.tag,t)&&(r.closed=!0,r=r.parent)):r=r.parent);break;case I.StartTagSelfClose:r.parent&&(r.closed=!0,r.end=n.getTokenEnd(),r.startTagEnd=n.getTokenEnd(),r=r.parent);break;case I.EndTagOpen:s=n.getTokenOffset(),o=void 0;break;case I.EndTag:o=n.getTokenText().toLowerCase();break;case I.EndTagClose:let c=r;for(;!c.isSameTag(o)&&c.parent;)c=c.parent;if(c.parent){for(;r!==c;)r.end=s,r.closed=!1,r=r.parent;r.closed=!0,r.endTagStart=s,r.end=n.getTokenEnd(),r=r.parent}break;case I.AttributeName:{l=n.getTokenText();let d=r.attributes;d||(r.attributes=d={}),d[l]=null;break}case I.AttributeValue:{let d=n.getTokenText(),f=r.attributes;f&&l&&(f[l]=d,l=null);break}}a=n.scan()}for(;r.parent;)r.end=e.length,r.closed=!1,r=r.parent;return{roots:i.children,findNodeBefore:i.findNodeBefore.bind(i),findNodeAt:i.findNodeAt.bind(i)}}},Qt={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
|
|
18
|
+
`,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Xe(e,t){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function zc(e,t){let n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:n===0?e===t:!1}function wl(e,t){let n="";for(;t>0;)(t&1)===1&&(n+=e),e+=e,t=t>>>1;return n}var Fc=97,Uc=122,Hc=65,Pc=90,Wc=48,Bc=57;function Jt(e,t){let n=e.charCodeAt(t);return Fc<=n&&n<=Uc||Hc<=n&&n<=Pc||Wc<=n&&n<=Bc}function ti(e){return typeof e<"u"}function Oc(e){if(e)return typeof e=="string"?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}var Cl=class{isApplicable(){return!0}constructor(e,t){this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach(n=>{this._tagMap[n.name.toLowerCase()]=n}),t.valueSets&&t.valueSets.forEach(n=>{this._valueSetMap[n.name]=n.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(e){let t=[],n=r=>{t.push(r)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t}provideValues(e,t){let n=[];t=t.toLowerCase();let i=s=>{s.forEach(o=>{o.name.toLowerCase()===t&&(o.values&&o.values.forEach(l=>{n.push(l)}),o.valueSet&&this._valueSetMap[o.valueSet]&&this._valueSetMap[o.valueSet].forEach(l=>{n.push(l)}))})},r=this._tagMap[e.toLowerCase()];return r&&i(r.attributes),i(this._globalAttributes),n}};function rt(e,t={},n){let i={kind:n?"markdown":"plaintext",value:""};if(e.description&&t.documentation!==!1){let r=Oc(e.description);r&&(i.value+=r.value)}if(e.references&&e.references.length>0&&t.references!==!1&&(i.value.length&&(i.value+=`
|
|
19
19
|
|
|
20
20
|
`),n?i.value+=e.references.map(r=>`[${r.name}](${r.url})`).join(" | "):i.value+=e.references.map(r=>`${r.name}: ${r.url}`).join(`
|
|
21
|
-
`)),i.value!=="")return i}var
|
|
22
|
-
\r`.indexOf(R)>=0)return u.substring(T,v);if(!Ai(R))return null;T--}return u.substring(0,v)}function w(v,T,R=c){let M=m(v,R),P=jl(u,R,q.WithinEndTag,z.EndTagClose)?"":">",F=d;for(T&&(F=F.parent);F;){let U=F.tag;if(U&&(!F.closed||F.endTagStart&&F.endTagStart>c)){let O={label:"/"+U,kind:pe.Property,filterText:"/"+U,textEdit:ue.replace(M,"/"+U+P),insertTextFormat:Se.PlainText},j=x(F.start),ie=x(v-1);if(j!==null&&ie!==null&&j!==ie){let xe=j+"</"+U+P;O.textEdit=ue.replace(m(v-1-ie.length),xe),O.filterText=ie+"</"+U}return r.items.push(O),r}F=F.parent}return T||o.forEach(U=>{U.provideTags().forEach(O=>{r.items.push({label:"/"+O.name,kind:pe.Property,documentation:ft(O,void 0,a),filterText:"/"+O.name+P,textEdit:ue.replace(M,"/"+O.name+P),insertTextFormat:Se.PlainText})})}),r}let A=(v,T)=>{if(i&&i.hideAutoCompleteProposals)return r;if(!this.dataManager.isVoidElement(T,l)){let R=e.positionAt(v);r.items.push({label:"</"+T+">",kind:pe.Property,filterText:"</"+T+">",textEdit:ue.insert(R,"$0</"+T+">"),insertTextFormat:Se.Snippet})}return r};function E(v,T){return k(v,T),w(v,!0,T),r}function D(){let v=Object.create(null);return d.attributeNames.forEach(T=>{v[T]=!0}),v}function N(v,T=c){let R=c;for(;R<T&&u[R]!=="<";)R++;let M=u.substring(v,T),P=m(v,R),F="";if(!jl(u,T,q.AfterAttributeName,z.DelimiterAssign)){let O=i?.attributeDefaultValue??"doublequotes";O==="empty"?F="=$1":O==="singlequotes"?F="='$1'":F='="$1"'}let U=D();return U[M]=!1,o.forEach(O=>{O.provideAttributes(p).forEach(j=>{if(U[j.name])return;U[j.name]=!0;let ie=j.name,xe;j.valueSet!=="v"&&F.length&&(ie=ie+F,(j.valueSet||j.name==="style")&&(xe={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:j.name,kind:j.valueSet==="handler"?pe.Function:pe.Value,documentation:ft(j,void 0,a),textEdit:ue.replace(P,ie),insertTextFormat:Se.Snippet,command:xe})})}),b(P,U),r}function b(v,T){let R="data-",M={};M[R]=`${R}$1="$2"`;function P(F){F.attributeNames.forEach(U=>{et(U,R)&&!M[U]&&!T[U]&&(M[U]=U+'="$1"')}),F.children.forEach(U=>P(U))}n&&n.roots.forEach(F=>P(F)),Object.keys(M).forEach(F=>r.items.push({label:F,kind:pe.Value,textEdit:ue.replace(v,M[F]),insertTextFormat:Se.Snippet}))}function g(v,T=c){let R,M,P;if(c>v&&c<=T&&Sh(u[v])){let F=v+1,U=T;T>v&&u[T-1]===u[v]&&U--;let O=kh(u,c,F),j=Ah(u,c,U);R=m(O,j),P=c>=F&&c<=U?u.substring(F,c):"",M=!1}else R=m(v,T),P=u.substring(v,c),M=!0;if(s.length>0){let F=p.toLowerCase(),U=_.toLowerCase(),O=m(v,T);for(let j of s)j.onHtmlAttributeValue&&j.onHtmlAttributeValue({document:e,position:t,tag:F,attribute:U,value:P,range:O})}return o.forEach(F=>{F.provideValues(p,_).forEach(U=>{let O=M?'"'+U.name+'"':U.name;r.items.push({label:U.name,filterText:O,kind:pe.Unit,documentation:ft(U,void 0,a),textEdit:ue.replace(R,O),insertTextFormat:Se.PlainText})})}),L(),r}function y(v){return c===f.getTokenEnd()&&(I=f.scan(),I===v&&f.getTokenOffset()===c)?f.getTokenEnd():c}function H(){for(let v of s)v.onHtmlContent&&v.onHtmlContent({document:e,position:t});return L()}function L(){let v=c-1,T=t.character;for(;v>=0&&mn(u,v);)v--,T--;if(v>=0&&u[v]==="&"){let R=X.create(ae.create(t.line,T-1),t);for(let M in pn)if(lh(M,";")){let P="&"+M;r.items.push({label:P,kind:pe.Keyword,documentation:ke("Character entity representing '{0}'",pn[M]),textEdit:ue.replace(R,P),insertTextFormat:Se.PlainText})}}return r}function S(v,T){let R=m(v,T);r.items.push({label:"!DOCTYPE",kind:pe.Property,documentation:"A preamble for an HTML document.",textEdit:ue.replace(R,"!DOCTYPE html>"),insertTextFormat:Se.PlainText})}let I=f.scan();for(;I!==z.EOS&&f.getTokenOffset()<=c;){switch(I){case z.StartTagOpen:if(f.getTokenEnd()===c){let v=y(z.StartTag);return t.line===0&&S(c,v),E(c,v)}break;case z.StartTag:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return k(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case z.AttributeName:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return N(f.getTokenOffset(),f.getTokenEnd());_=f.getTokenText();break;case z.DelimiterAssign:if(f.getTokenEnd()===c){let v=y(z.AttributeValue);return g(c,v)}break;case z.AttributeValue:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return g(f.getTokenOffset(),f.getTokenEnd());break;case z.Whitespace:if(c<=f.getTokenEnd())switch(f.getScannerState()){case q.AfterOpeningStartTag:let v=f.getTokenOffset(),T=y(z.StartTag);return E(v,T);case q.WithinTag:case q.AfterAttributeName:return N(f.getTokenEnd());case q.BeforeAttributeValue:return g(f.getTokenEnd());case q.AfterOpeningEndTag:return w(f.getTokenOffset()-1,!1);case q.WithinContent:return H()}break;case z.EndTagOpen:if(c<=f.getTokenEnd()){let v=f.getTokenOffset()+1,T=y(z.EndTag);return w(v,!1,T)}break;case z.EndTag:if(c<=f.getTokenEnd()){let v=f.getTokenOffset()-1;for(;v>=0;){let T=u.charAt(v);if(T==="/")return w(v,!1,f.getTokenEnd());if(!Ai(T))break;v--}}break;case z.StartTagClose:if(c<=f.getTokenEnd()&&p)return A(f.getTokenEnd(),p);break;case z.Content:if(c<=f.getTokenEnd())return H();break;default:if(c<=f.getTokenEnd())return r;break}I=f.scan()}return r}doQuoteComplete(e,t,n,i){let r=e.offsetAt(t);if(r<=0)return null;let s=i?.attributeDefaultValue??"doublequotes";if(s==="empty"||e.getText().charAt(r-1)!=="=")return null;let l=s==="doublequotes"?'"$1"':"'$1'",a=n.findNodeBefore(r);if(a&&a.attributes&&a.start<r&&(!a.endTagStart||a.endTagStart>r)){let u=_e(e.getText(),a.start),c=u.scan();for(;c!==z.EOS&&u.getTokenEnd()<=r;){if(c===z.AttributeName&&u.getTokenEnd()===r-1)return c=u.scan(),c!==z.DelimiterAssign||(c=u.scan(),c===z.Unknown||c===z.AttributeValue)?null:l;c=u.scan()}}return null}doTagComplete(e,t,n){let i=e.offsetAt(t);if(i<=0)return null;let r=e.getText().charAt(i-1);if(r===">"){let s=this.dataManager.getVoidElements(e.languageId),o=n.findNodeBefore(i);if(o&&o.tag&&!this.dataManager.isVoidElement(o.tag,s)&&o.start<i&&(!o.endTagStart||o.endTagStart>i)){let l=_e(e.getText(),o.start),a=l.scan();for(;a!==z.EOS&&l.getTokenEnd()<=i;){if(a===z.StartTagClose&&l.getTokenEnd()===i)return`$0</${o.tag}>`;a=l.scan()}}}else if(r==="/"){let s=n.findNodeBefore(i);for(;s&&s.closed&&!(s.endTagStart&&s.endTagStart>i);)s=s.parent;if(s&&s.tag){let o=_e(e.getText(),s.start),l=o.scan();for(;l!==z.EOS&&o.getTokenEnd()<=i;){if(l===z.EndTagOpen&&o.getTokenEnd()===i)return e.getText().charAt(i)!==">"?`${s.tag}>`:s.tag;l=o.scan()}}}return null}convertCompletionList(e){return this.doesSupportMarkdown()||e.items.forEach(t=>{t.documentation&&typeof t.documentation!="string"&&(t.documentation={kind:"plaintext",value:t.documentation.value})}),e}doesSupportMarkdown(){if(!ki(this.supportsMarkdown)){if(!ki(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities.textDocument?.completion?.completionItem?.documentationFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(Pe.Markdown)!==-1}return this.supportsMarkdown}};function Sh(e){return/^["']*$/.test(e)}function Ai(e){return/^\s*$/.test(e)}function jl(e,t,n,i){let r=_e(e,t,n),s=r.scan();for(;s===z.Whitespace;)s=r.scan();return s===i}function kh(e,t,n){for(;t>n&&!Ai(e[t-1]);)t--;return t}function Ah(e,t,n){for(;t<n&&!Ai(e[t]);)t++;return t}var Lh=class{constructor(e,t){this.lsOptions=e,this.dataManager=t}doHover(e,t,n,i){let r=this.convertContents.bind(this),s=this.doesSupportMarkdown(),o=e.offsetAt(t),l=n.findNodeAt(o),a=e.getText();if(!l||!l.tag)return null;let u=this.dataManager.getDataProviders().filter(N=>N.isApplicable(e.languageId));function c(N,b,g){for(let y of u){let H=null;if(y.provideTags().forEach(L=>{if(L.name.toLowerCase()===N.toLowerCase()){let S=ft(L,i,s);S||(S={kind:s?"markdown":"plaintext",value:""}),H={contents:S,range:b}}}),H)return H.contents=r(H.contents),H}return null}function d(N,b,g){for(let y of u){let H=null;if(y.provideAttributes(N).forEach(L=>{if(b===L.name&&L.description){let S=ft(L,i,s);S?H={contents:S,range:g}:H=null}}),H)return H.contents=r(H.contents),H}return null}function f(N,b,g,y){for(let H of u){let L=null;if(H.provideValues(N,b).forEach(S=>{if(g===S.name&&S.description){let I=ft(S,i,s);I?L={contents:I,range:y}:L=null}}),L)return L.contents=r(L.contents),L}return null}function p(N,b){let g=k(N);for(let y in pn){let H=null,L="&"+y;if(g===L){let S=pn[y].charCodeAt(0).toString(16).toUpperCase(),I="U+";if(S.length<4){let T=4-S.length,R=0;for(;R<T;)I+="0",R+=1}I+=S;let v=ke("Character entity representing '{0}', unicode equivalent '{1}'",pn[y],I);v?H={contents:v,range:b}:H=null}if(H)return H.contents=r(H.contents),H}return null}function _(N,b){let g=_e(e.getText(),b),y=g.scan();for(;y!==z.EOS&&(g.getTokenEnd()<o||g.getTokenEnd()===o&&y!==N);)y=g.scan();return y===N&&o<=g.getTokenEnd()?{start:e.positionAt(g.getTokenOffset()),end:e.positionAt(g.getTokenEnd())}:null}function m(){let N=o-1,b=t.character;for(;N>=0&&mn(a,N);)N--,b--;let g=N+1,y=b;for(;mn(a,g);)g++,y++;if(N>=0&&a[N]==="&"){let H=null;return a[g]===";"?H=X.create(ae.create(t.line,b),ae.create(t.line,y+1)):H=X.create(ae.create(t.line,b),ae.create(t.line,y)),H}return null}function k(N){let b=o-1,g="&";for(;b>=0&&mn(N,b);)b--;for(b=b+1;mn(N,b);)g+=N[b],b+=1;return g+=";",g}if(l.endTagStart&&o>=l.endTagStart){let N=_(z.EndTag,l.endTagStart);return N?c(l.tag,N,!1):null}let x=_(z.StartTag,l.start);if(x)return c(l.tag,x,!0);let w=_(z.AttributeName,l.start);if(w){let N=l.tag,b=e.getText(w);return d(N,b,w)}let A=m();if(A)return p(a,A);function E(N,b){let g=_e(e.getText(),N),y=g.scan(),H;for(;y!==z.EOS&&g.getTokenEnd()<=b;)y=g.scan(),y===z.AttributeName&&(H=g.getTokenText());return H}let D=_(z.AttributeValue,l.start);if(D){let N=l.tag,b=Ch(e.getText(D)),g=E(l.start,e.offsetAt(D.start));if(g)return f(N,g,b,D)}return null}convertContents(e){if(!this.doesSupportMarkdown()){if(typeof e=="string")return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(Array.isArray(e))e.map(t=>typeof t=="string"?t:t.value);else return e.value}return e}doesSupportMarkdown(){if(!ki(this.supportsMarkdown)){if(!ki(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities?.textDocument?.hover?.contentFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(Pe.Markdown)!==-1}return this.supportsMarkdown}};function Ch(e){return e.length<=1?e.replace(/['"]/,""):((e[0]==="'"||e[0]==='"')&&(e=e.slice(1)),(e[e.length-1]==="'"||e[e.length-1]==='"')&&(e=e.slice(0,-1)),e)}function Eh(e,t){return e}var eu;(function(){"use strict";var e=[,,function(r){function s(a){this.__parent=a,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var a=new s(this.__parent);return a.set_indent(this.__indent_count,this.__alignment_count),a},s.prototype.item=function(a){return a<0?this.__items[this.__items.length+a]:this.__items[a]},s.prototype.has_match=function(a){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(a))return!0;return!1},s.prototype.set_indent=function(a,u){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(a){this.__items.push(a);var u=a.lastIndexOf(`
|
|
21
|
+
`)),i.value!=="")return i}var qc=class{constructor(e,t){this.dataManager=e,this.readDirectory=t,this.atributeCompletions=[]}onHtmlAttributeValue(e){this.dataManager.isPathAttribute(e.tag,e.attribute)&&this.atributeCompletions.push(e)}async computeCompletions(e,t){let n={items:[],isIncomplete:!1};for(let i of this.atributeCompletions){let r=jc(e.getText(i.range));if(Gc(r))if(r==="."||r==="..")n.isIncomplete=!0;else{let s=$c(i.value,r,i.range),o=await this.providePathSuggestions(i.value,s,e,t);for(let l of o)n.items.push(l)}}return n}async providePathSuggestions(e,t,n,i){let r=e.substring(0,e.lastIndexOf("/")+1),s=i.resolveReference(r||".",n.uri);if(s)try{let o=[],l=await this.readDirectory(s);for(let[a,u]of l)a.charCodeAt(0)!==Vc&&o.push(Xc(a,u===zr.Directory,t));return o}catch{}return[]}},Vc=46;function jc(e){return Xe(e,"'")||Xe(e,'"')?e.slice(1,-1):e}function Gc(e){return!(Xe(e,"http")||Xe(e,"https")||Xe(e,"//"))}function $c(e,t,n){let i,r=e.lastIndexOf("/");if(r===-1)i=Yc(n,1,-1);else{let s=t.slice(r+1),o=Zt(n.end,-1-s.length),l=s.indexOf(" "),a;l!==-1?a=Zt(o,l):a=Zt(n.end,-1),i=X.create(o,a)}return i}function Xc(e,t,n){return t?(e=e+"/",{label:e,kind:fe.Folder,textEdit:le.replace(n,e),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}):{label:e,kind:fe.File,textEdit:le.replace(n,e)}}function Zt(e,t){return se.create(e.line,e.character+t)}function Yc(e,t,n){let i=Zt(e.start,t),r=Zt(e.end,n);return X.create(i,r)}var Jc=class{constructor(e,t){this.lsOptions=e,this.dataManager=t,this.completionParticipants=[]}setCompletionParticipants(e){this.completionParticipants=e||[]}async doComplete2(e,t,n,i,r){if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return this.doComplete(e,t,n,r);let s=new qc(this.dataManager,this.lsOptions.fileSystemProvider.readDirectory),o=this.completionParticipants;this.completionParticipants=[s].concat(o);let l=this.doComplete(e,t,n,r);try{let a=await s.computeCompletions(e,i);return{isIncomplete:l.isIncomplete||a.isIncomplete,items:a.items.concat(l.items)}}finally{this.completionParticipants=o}}doComplete(e,t,n,i){let r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)}_doComplete(e,t,n,i){let r={isIncomplete:!1,items:[]},s=this.completionParticipants,o=this.dataManager.getDataProviders().filter(v=>v.isApplicable(e.languageId)&&(!i||i[v.getId()]!==!1)),l=this.dataManager.getVoidElements(o),a=this.doesSupportMarkdown(),u=e.getText(),c=e.offsetAt(t),d=n.findNodeBefore(c);if(!d)return r;let f=ge(u,d.start),p="",_;function m(v,S=c){return v>c&&(v=c),{start:e.positionAt(v),end:e.positionAt(S)}}function k(v,S){let R=m(v,S);return o.forEach(M=>{M.provideTags().forEach(P=>{r.items.push({label:P.name,kind:fe.Property,documentation:rt(P,void 0,a),textEdit:le.replace(R,P.name),insertTextFormat:xe.PlainText})})}),r}function x(v){let S=v;for(;S>0;){let R=u.charAt(S-1);if(`
|
|
22
|
+
\r`.indexOf(R)>=0)return u.substring(S,v);if(!ni(R))return null;S--}return u.substring(0,v)}function w(v,S,R=c){let M=m(v,R),P=vl(u,R,q.WithinEndTag,I.EndTagClose)?"":">",F=d;for(S&&(F=F.parent);F;){let U=F.tag;if(U&&(!F.closed||F.endTagStart&&F.endTagStart>c)){let O={label:"/"+U,kind:fe.Property,filterText:"/"+U,textEdit:le.replace(M,"/"+U+P),insertTextFormat:xe.PlainText},j=x(F.start),ne=x(v-1);if(j!==null&&ne!==null&&j!==ne){let _e=j+"</"+U+P;O.textEdit=le.replace(m(v-1-ne.length),_e),O.filterText=ne+"</"+U}return r.items.push(O),r}F=F.parent}return S||o.forEach(U=>{U.provideTags().forEach(O=>{r.items.push({label:"/"+O.name,kind:fe.Property,documentation:rt(O,void 0,a),filterText:"/"+O.name+P,textEdit:le.replace(M,"/"+O.name+P),insertTextFormat:xe.PlainText})})}),r}let A=(v,S)=>{if(i&&i.hideAutoCompleteProposals)return r;if(!this.dataManager.isVoidElement(S,l)){let R=e.positionAt(v);r.items.push({label:"</"+S+">",kind:fe.Property,filterText:"</"+S+">",textEdit:le.insert(R,"$0</"+S+">"),insertTextFormat:xe.Snippet})}return r};function E(v,S){return k(v,S),w(v,!0,S),r}function D(){let v=Object.create(null);return d.attributeNames.forEach(S=>{v[S]=!0}),v}function N(v,S=c){let R=c;for(;R<S&&u[R]!=="<";)R++;let M=u.substring(v,S),P=m(v,R),F="";if(!vl(u,S,q.AfterAttributeName,I.DelimiterAssign)){let O=i?.attributeDefaultValue??"doublequotes";O==="empty"?F="=$1":O==="singlequotes"?F="='$1'":F='="$1"'}let U=D();return U[M]=!1,o.forEach(O=>{O.provideAttributes(p).forEach(j=>{if(U[j.name])return;U[j.name]=!0;let ne=j.name,_e;j.valueSet!=="v"&&F.length&&(ne=ne+F,(j.valueSet||j.name==="style")&&(_e={title:"Suggest",command:"editor.action.triggerSuggest"})),r.items.push({label:j.name,kind:j.valueSet==="handler"?fe.Function:fe.Value,documentation:rt(j,void 0,a),textEdit:le.replace(P,ne),insertTextFormat:xe.Snippet,command:_e})})}),b(P,U),r}function b(v,S){let R="data-",M={};M[R]=`${R}$1="$2"`;function P(F){F.attributeNames.forEach(U=>{Xe(U,R)&&!M[U]&&!S[U]&&(M[U]=U+'="$1"')}),F.children.forEach(U=>P(U))}n&&n.roots.forEach(F=>P(F)),Object.keys(M).forEach(F=>r.items.push({label:F,kind:fe.Value,textEdit:le.replace(v,M[F]),insertTextFormat:xe.Snippet}))}function g(v,S=c){let R,M,P;if(c>v&&c<=S&&Qc(u[v])){let F=v+1,U=S;S>v&&u[S-1]===u[v]&&U--;let O=Zc(u,c,F),j=Kc(u,c,U);R=m(O,j),P=c>=F&&c<=U?u.substring(F,c):"",M=!1}else R=m(v,S),P=u.substring(v,c),M=!0;if(s.length>0){let F=p.toLowerCase(),U=_.toLowerCase(),O=m(v,S);for(let j of s)j.onHtmlAttributeValue&&j.onHtmlAttributeValue({document:e,position:t,tag:F,attribute:U,value:P,range:O})}return o.forEach(F=>{F.provideValues(p,_).forEach(U=>{let O=M?'"'+U.name+'"':U.name;r.items.push({label:U.name,filterText:O,kind:fe.Unit,documentation:rt(U,void 0,a),textEdit:le.replace(R,O),insertTextFormat:xe.PlainText})})}),L(),r}function y(v){return c===f.getTokenEnd()&&(z=f.scan(),z===v&&f.getTokenOffset()===c)?f.getTokenEnd():c}function H(){for(let v of s)v.onHtmlContent&&v.onHtmlContent({document:e,position:t});return L()}function L(){let v=c-1,S=t.character;for(;v>=0&&Jt(u,v);)v--,S--;if(v>=0&&u[v]==="&"){let R=X.create(se.create(t.line,S-1),t);for(let M in Qt)if(zc(M,";")){let P="&"+M;r.items.push({label:P,kind:fe.Keyword,documentation:ye("Character entity representing '{0}'",Qt[M]),textEdit:le.replace(R,P),insertTextFormat:xe.PlainText})}}return r}function T(v,S){let R=m(v,S);r.items.push({label:"!DOCTYPE",kind:fe.Property,documentation:"A preamble for an HTML document.",textEdit:le.replace(R,"!DOCTYPE html>"),insertTextFormat:xe.PlainText})}let z=f.scan();for(;z!==I.EOS&&f.getTokenOffset()<=c;){switch(z){case I.StartTagOpen:if(f.getTokenEnd()===c){let v=y(I.StartTag);return t.line===0&&T(c,v),E(c,v)}break;case I.StartTag:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return k(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case I.AttributeName:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return N(f.getTokenOffset(),f.getTokenEnd());_=f.getTokenText();break;case I.DelimiterAssign:if(f.getTokenEnd()===c){let v=y(I.AttributeValue);return g(c,v)}break;case I.AttributeValue:if(f.getTokenOffset()<=c&&c<=f.getTokenEnd())return g(f.getTokenOffset(),f.getTokenEnd());break;case I.Whitespace:if(c<=f.getTokenEnd())switch(f.getScannerState()){case q.AfterOpeningStartTag:let v=f.getTokenOffset(),S=y(I.StartTag);return E(v,S);case q.WithinTag:case q.AfterAttributeName:return N(f.getTokenEnd());case q.BeforeAttributeValue:return g(f.getTokenEnd());case q.AfterOpeningEndTag:return w(f.getTokenOffset()-1,!1);case q.WithinContent:return H()}break;case I.EndTagOpen:if(c<=f.getTokenEnd()){let v=f.getTokenOffset()+1,S=y(I.EndTag);return w(v,!1,S)}break;case I.EndTag:if(c<=f.getTokenEnd()){let v=f.getTokenOffset()-1;for(;v>=0;){let S=u.charAt(v);if(S==="/")return w(v,!1,f.getTokenEnd());if(!ni(S))break;v--}}break;case I.StartTagClose:if(c<=f.getTokenEnd()&&p)return A(f.getTokenEnd(),p);break;case I.Content:if(c<=f.getTokenEnd())return H();break;default:if(c<=f.getTokenEnd())return r;break}z=f.scan()}return r}doQuoteComplete(e,t,n,i){let r=e.offsetAt(t);if(r<=0)return null;let s=i?.attributeDefaultValue??"doublequotes";if(s==="empty"||e.getText().charAt(r-1)!=="=")return null;let l=s==="doublequotes"?'"$1"':"'$1'",a=n.findNodeBefore(r);if(a&&a.attributes&&a.start<r&&(!a.endTagStart||a.endTagStart>r)){let u=ge(e.getText(),a.start),c=u.scan();for(;c!==I.EOS&&u.getTokenEnd()<=r;){if(c===I.AttributeName&&u.getTokenEnd()===r-1)return c=u.scan(),c!==I.DelimiterAssign||(c=u.scan(),c===I.Unknown||c===I.AttributeValue)?null:l;c=u.scan()}}return null}doTagComplete(e,t,n){let i=e.offsetAt(t);if(i<=0)return null;let r=e.getText().charAt(i-1);if(r===">"){let s=this.dataManager.getVoidElements(e.languageId),o=n.findNodeBefore(i);if(o&&o.tag&&!this.dataManager.isVoidElement(o.tag,s)&&o.start<i&&(!o.endTagStart||o.endTagStart>i)){let l=ge(e.getText(),o.start),a=l.scan();for(;a!==I.EOS&&l.getTokenEnd()<=i;){if(a===I.StartTagClose&&l.getTokenEnd()===i)return`$0</${o.tag}>`;a=l.scan()}}}else if(r==="/"){let s=n.findNodeBefore(i);for(;s&&s.closed&&!(s.endTagStart&&s.endTagStart>i);)s=s.parent;if(s&&s.tag){let o=ge(e.getText(),s.start),l=o.scan();for(;l!==I.EOS&&o.getTokenEnd()<=i;){if(l===I.EndTagOpen&&o.getTokenEnd()===i)return e.getText().charAt(i)!==">"?`${s.tag}>`:s.tag;l=o.scan()}}}return null}convertCompletionList(e){return this.doesSupportMarkdown()||e.items.forEach(t=>{t.documentation&&typeof t.documentation!="string"&&(t.documentation={kind:"plaintext",value:t.documentation.value})}),e}doesSupportMarkdown(){if(!ti(this.supportsMarkdown)){if(!ti(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities.textDocument?.completion?.completionItem?.documentationFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(ze.Markdown)!==-1}return this.supportsMarkdown}};function Qc(e){return/^["']*$/.test(e)}function ni(e){return/^\s*$/.test(e)}function vl(e,t,n,i){let r=ge(e,t,n),s=r.scan();for(;s===I.Whitespace;)s=r.scan();return s===i}function Zc(e,t,n){for(;t>n&&!ni(e[t-1]);)t--;return t}function Kc(e,t,n){for(;t<n&&!ni(e[t]);)t++;return t}var eh=class{constructor(e,t){this.lsOptions=e,this.dataManager=t}doHover(e,t,n,i){let r=this.convertContents.bind(this),s=this.doesSupportMarkdown(),o=e.offsetAt(t),l=n.findNodeAt(o),a=e.getText();if(!l||!l.tag)return null;let u=this.dataManager.getDataProviders().filter(N=>N.isApplicable(e.languageId));function c(N,b,g){for(let y of u){let H=null;if(y.provideTags().forEach(L=>{if(L.name.toLowerCase()===N.toLowerCase()){let T=rt(L,i,s);T||(T={kind:s?"markdown":"plaintext",value:""}),H={contents:T,range:b}}}),H)return H.contents=r(H.contents),H}return null}function d(N,b,g){for(let y of u){let H=null;if(y.provideAttributes(N).forEach(L=>{if(b===L.name&&L.description){let T=rt(L,i,s);T?H={contents:T,range:g}:H=null}}),H)return H.contents=r(H.contents),H}return null}function f(N,b,g,y){for(let H of u){let L=null;if(H.provideValues(N,b).forEach(T=>{if(g===T.name&&T.description){let z=rt(T,i,s);z?L={contents:z,range:y}:L=null}}),L)return L.contents=r(L.contents),L}return null}function p(N,b){let g=k(N);for(let y in Qt){let H=null,L="&"+y;if(g===L){let T=Qt[y].charCodeAt(0).toString(16).toUpperCase(),z="U+";if(T.length<4){let S=4-T.length,R=0;for(;R<S;)z+="0",R+=1}z+=T;let v=ye("Character entity representing '{0}', unicode equivalent '{1}'",Qt[y],z);v?H={contents:v,range:b}:H=null}if(H)return H.contents=r(H.contents),H}return null}function _(N,b){let g=ge(e.getText(),b),y=g.scan();for(;y!==I.EOS&&(g.getTokenEnd()<o||g.getTokenEnd()===o&&y!==N);)y=g.scan();return y===N&&o<=g.getTokenEnd()?{start:e.positionAt(g.getTokenOffset()),end:e.positionAt(g.getTokenEnd())}:null}function m(){let N=o-1,b=t.character;for(;N>=0&&Jt(a,N);)N--,b--;let g=N+1,y=b;for(;Jt(a,g);)g++,y++;if(N>=0&&a[N]==="&"){let H=null;return a[g]===";"?H=X.create(se.create(t.line,b),se.create(t.line,y+1)):H=X.create(se.create(t.line,b),se.create(t.line,y)),H}return null}function k(N){let b=o-1,g="&";for(;b>=0&&Jt(N,b);)b--;for(b=b+1;Jt(N,b);)g+=N[b],b+=1;return g+=";",g}if(l.endTagStart&&o>=l.endTagStart){let N=_(I.EndTag,l.endTagStart);return N?c(l.tag,N,!1):null}let x=_(I.StartTag,l.start);if(x)return c(l.tag,x,!0);let w=_(I.AttributeName,l.start);if(w){let N=l.tag,b=e.getText(w);return d(N,b,w)}let A=m();if(A)return p(a,A);function E(N,b){let g=ge(e.getText(),N),y=g.scan(),H;for(;y!==I.EOS&&g.getTokenEnd()<=b;)y=g.scan(),y===I.AttributeName&&(H=g.getTokenText());return H}let D=_(I.AttributeValue,l.start);if(D){let N=l.tag,b=th(e.getText(D)),g=E(l.start,e.offsetAt(D.start));if(g)return f(N,g,b,D)}return null}convertContents(e){if(!this.doesSupportMarkdown()){if(typeof e=="string")return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(Array.isArray(e))e.map(t=>typeof t=="string"?t:t.value);else return e.value}return e}doesSupportMarkdown(){if(!ti(this.supportsMarkdown)){if(!ti(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities?.textDocument?.hover?.contentFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(ze.Markdown)!==-1}return this.supportsMarkdown}};function th(e){return e.length<=1?e.replace(/['"]/,""):((e[0]==="'"||e[0]==='"')&&(e=e.slice(1)),(e[e.length-1]==="'"||e[e.length-1]==='"')&&(e=e.slice(0,-1)),e)}function nh(e,t){return e}var El;(function(){"use strict";var e=[,,function(r){function s(a){this.__parent=a,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var a=new s(this.__parent);return a.set_indent(this.__indent_count,this.__alignment_count),a},s.prototype.item=function(a){return a<0?this.__items[this.__items.length+a]:this.__items[a]},s.prototype.has_match=function(a){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(a))return!0;return!1},s.prototype.set_indent=function(a,u){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(a){this.__items.push(a);var u=a.lastIndexOf(`
|
|
23
23
|
`);u!==-1?this.__character_count=a.length-u:this.__character_count+=a.length},s.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function o(a,u){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),u=u||"",a.indent_level>0&&(u=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}o.prototype.get_indent_size=function(a,u){var c=this.__base_string_length;return u=u||0,a<0&&(c=0),c+=a*this.__indent_size,c+=u,c},o.prototype.get_indent_string=function(a,u){var c=this.__base_string;return u=u||0,a<0&&(a=0,c=""),u+=a*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},o.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var a=this.__cache.length,u=0,c="";this.__indent_size&&a>=this.__indent_size&&(u=Math.floor(a/this.__indent_size),a-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),a&&(c+=new Array(a+1).join(" ")),this.__cache.push(c)};function l(a,u){this.__indent_cache=new o(a,u),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(a,u){return this.__indent_cache.get_indent_string(a,u)},l.prototype.get_indent_size=function(a,u){return this.__indent_cache.get_indent_size(a,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(a){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
24
24
|
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
25
25
|
`);return a!==`
|
|
@@ -32,8 +32,8 @@ You passed in: '`+this.raw_options[a]+"'");return d},s.prototype._is_valid_selec
|
|
|
32
32
|
`)break;this._ch=this._input.next()}return E},w.prototype.eatWhitespace=function(A){for(var E=_.test(this._input.peek()),D=0;_.test(this._input.peek());)this._ch=this._input.next(),A&&this._ch===`
|
|
33
33
|
`&&(D===0||D<this._options.max_preserve_newlines)&&(D++,this._output.add_new_line(!0));return E},w.prototype.foundNestedPseudoClass=function(){for(var A=0,E=1,D=this._input.peek(E);D;){if(D==="{")return!0;if(D==="(")A+=1;else if(D===")"){if(A===0)return!1;A-=1}else if(D===";"||D==="}")return!1;E++,D=this._input.peek(E)}return!1},w.prototype.print_string=function(A){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(A)},w.prototype.preserveSingleSpace=function(A){A&&(this._output.space_before_token=!0)},w.prototype.indent=function(){this._indentLevel++},w.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var A=this._source_text,E=this._options.eol;E==="auto"&&(E=`
|
|
34
34
|
`,A&&f.test(A||"")&&(E=A.match(f)[0])),A=A.replace(p,`
|
|
35
|
-
`);var D=A.match(/^[\t ]*/)[0];this._output=new a(this._options,D),this._input=new u(A),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var N=0,b=!1,g=!1,y=!1,H=!1,L=!1,
|
|
36
|
-
`&&
|
|
35
|
+
`);var D=A.match(/^[\t ]*/)[0];this._output=new a(this._options,D),this._input=new u(A),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var N=0,b=!1,g=!1,y=!1,H=!1,L=!1,T=this._ch,z=!1,v,S,R;v=this._input.read(m),S=v!=="",R=T,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),T=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(k),P=d.get_directives(M);P&&P.ignore==="start"&&(M+=d.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(x)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(S),this.print_string(this._ch);var F=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);F.match(/[ :]$/)&&(F=this.eatString(": ").replace(/\s+$/,""),this.print_string(F),this._output.space_before_token=!0),N===0&&F.indexOf(":")!==-1&&(g=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(S),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var U=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);U.match(/[ :]$/)&&(U=this.eatString(": ").replace(/\s+$/,""),this.print_string(U),this._output.space_before_token=!0),N===0&&U.indexOf(":")!==-1?(g=!0,this.indent()):U in this.NESTED_AT_RULE?(this._nestedLevel+=1,U in this.CONDITIONAL_GROUP_RULE&&(y=!0)):N===0&&!g&&(H=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(S),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")g&&(g=!1,this.outdent()),H=!1,y?(y=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(R==="("?this._output.space_before_token=!1:R!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),R==="{"&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var O=0;O<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;O++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[O])){z=!0;break}(b||y)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!H&&N===0?(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var j=R==='"'||R==="'";this.preserveSingleSpace(j||S),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")z=!1,N===0?(g&&(this.outdent(),g=!1),H=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),N++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),N&&(N--,this.outdent()));else{var ne=!1;this._input.lookBack("with")&&(ne=!0),this.preserveSingleSpace(S||ne),this.print_string(this._ch),g&&R==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),L=!0):(this.eatWhitespace(),N++,this.indent())}else if(this._ch===")")N&&(N--,this.outdent()),L&&this._input.peek()===";"&&this._options.selector_separator_newline&&(L=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!g||L)&&N===0&&!H?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!g&&N===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&_.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(S),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),_.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var _e=R==='"'||R==="'";this.preserveSingleSpace(_e||S),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
36
|
+
`&&z&&this._output.add_new_line()}var Ye=this._output.get_code(E);return Ye},r.exports.Beautifier=w},function(r,s,o){var l=o(6).Options;function a(u){l.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var c=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||c;var d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var f=0;f<d.length;f++)d[f]!=="expand"?this.brace_style="collapse":this.brace_style=d[f]}a.prototype=new l,r.exports.Options=a}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}var i=n(15);El=i})();var ih=El,Rl;(function(){"use strict";var e=[,,function(r){function s(a){this.__parent=a,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var a=new s(this.__parent);return a.set_indent(this.__indent_count,this.__alignment_count),a},s.prototype.item=function(a){return a<0?this.__items[this.__items.length+a]:this.__items[a]},s.prototype.has_match=function(a){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(a))return!0;return!1},s.prototype.set_indent=function(a,u){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(a){this.__items.push(a);var u=a.lastIndexOf(`
|
|
37
37
|
`);u!==-1?this.__character_count=a.length-u:this.__character_count+=a.length},s.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function o(a,u){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),u=u||"",a.indent_level>0&&(u=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}o.prototype.get_indent_size=function(a,u){var c=this.__base_string_length;return u=u||0,a<0&&(c=0),c+=a*this.__indent_size,c+=u,c},o.prototype.get_indent_string=function(a,u){var c=this.__base_string;return u=u||0,a<0&&(a=0,c=""),u+=a*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},o.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var a=this.__cache.length,u=0,c="";this.__indent_size&&a>=this.__indent_size&&(u=Math.floor(a/this.__indent_size),a-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),a&&(c+=new Array(a+1).join(" ")),this.__cache.push(c)};function l(a,u){this.__indent_cache=new o(a,u),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(a,u){return this.__indent_cache.get_indent_string(a,u)},l.prototype.get_indent_size=function(a,u){return this.__indent_cache.get_indent_size(a,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(a){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
38
38
|
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
39
39
|
`);return a!==`
|
|
@@ -44,19 +44,19 @@ You passed in: '`+this.raw_options[a]+"'");return d[0]},s.prototype._get_selecti
|
|
|
44
44
|
`+u+`
|
|
45
45
|
You passed in: '`+this.raw_options[a]+"'");return d},s.prototype._is_valid_selection=function(a,u){return a.length&&u.length&&!a.some(function(c){return u.indexOf(c)===-1})};function o(a,u){var c={};a=l(a);var d;for(d in a)d!==u&&(c[d]=a[d]);if(u&&a[u])for(d in a[u])c[d]=a[u][d];return c}function l(a){var u={},c;for(c in a){var d=c.replace(/-/g,"_");u[d]=a[c]}return u}r.exports.Options=s,r.exports.normalizeOpts=l,r.exports.mergeOpts=o},,function(r){var s=RegExp.prototype.hasOwnProperty("sticky");function o(l){this.__input=l||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position<this.__input_length},o.prototype.next=function(){var l=null;return this.hasNext()&&(l=this.__input.charAt(this.__position),this.__position+=1),l},o.prototype.peek=function(l){var a=null;return l=l||0,l+=this.__position,l>=0&&l<this.__input_length&&(a=this.__input.charAt(l)),a},o.prototype.__match=function(l,a){l.lastIndex=a;var u=l.exec(this.__input);return u&&!(s&&l.sticky)&&u.index!==a&&(u=null),u},o.prototype.test=function(l,a){return a=a||0,a+=this.__position,a>=0&&a<this.__input_length?!!this.__match(l,a):!1},o.prototype.testChar=function(l,a){var u=this.peek(a);return l.lastIndex=0,u!==null&&l.test(u)},o.prototype.match=function(l){var a=this.__match(l,this.__position);return a?this.__position+=a[0].length:a=null,a},o.prototype.read=function(l,a,u){var c="",d;return l&&(d=this.match(l),d&&(c+=d[0])),a&&(d||!l)&&(c+=this.readUntil(a,u)),c},o.prototype.readUntil=function(l,a){var u="",c=this.__position;l.lastIndex=this.__position;var d=l.exec(this.__input);return d?(c=d.index,a&&(c+=d[0].length)):c=this.__input_length,u=this.__input.substring(this.__position,c),this.__position=c,u},o.prototype.readUntilAfter=function(l){return this.readUntil(l,!0)},o.prototype.get_regexp=function(l,a){var u=null,c="g";return a&&s&&(c="y"),typeof l=="string"&&l!==""?u=new RegExp(l,c):l&&(u=new RegExp(l.source,c)),u},o.prototype.get_literal_regexp=function(l){return RegExp(l.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},o.prototype.peekUntilAfter=function(l){var a=this.__position,u=this.readUntilAfter(l);return this.__position=a,u},o.prototype.lookBack=function(l){var a=this.__position-1;return a>=l.length&&this.__input.substring(a-l.length,a).toLowerCase()===l},r.exports.InputScanner=o},function(r,s,o){var l=o(8).InputScanner,a=o(3).Token,u=o(10).TokenStream,c=o(11).WhitespacePattern,d={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},f=function(p,_){this._input=new l(p),this._options=_||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new c(this._input)};f.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var p,_=new a(d.START,""),m=null,k=[],x=new u;_.type!==d.EOF;){for(p=this._get_next_token(_,m);this._is_comment(p);)x.add(p),p=this._get_next_token(_,m);x.isEmpty()||(p.comments_before=x,x=new u),p.parent=m,this._is_opening(p)?(k.push(m),m=p):m&&this._is_closing(p,m)&&(p.opened=m,m.closed=p,m=k.pop(),p.parent=m),p.previous=_,_.next=p,this.__tokens.add(p),_=p}return this.__tokens},f.prototype._is_first_token=function(){return this.__tokens.isEmpty()},f.prototype._reset=function(){},f.prototype._get_next_token=function(p,_){this._readWhitespace();var m=this._input.read(/.+/g);return m?this._create_token(d.RAW,m):this._create_token(d.EOF,"")},f.prototype._is_comment=function(p){return!1},f.prototype._is_opening=function(p){return!1},f.prototype._is_closing=function(p,_){return!1},f.prototype._create_token=function(p,_){var m=new a(p,_,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return m},f.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},r.exports.Tokenizer=f,r.exports.TOKEN=d},function(r){function s(o){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=o}s.prototype.restart=function(){this.__position=0},s.prototype.isEmpty=function(){return this.__tokens_length===0},s.prototype.hasNext=function(){return this.__position<this.__tokens_length},s.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__tokens[this.__position],this.__position+=1),o},s.prototype.peek=function(o){var l=null;return o=o||0,o+=this.__position,o>=0&&o<this.__tokens_length&&(l=this.__tokens[o]),l},s.prototype.add=function(o){this.__parent_token&&(o.parent=this.__parent_token),this.__tokens.push(o),this.__tokens_length+=1},r.exports.TokenStream=s},function(r,s,o){var l=o(12).Pattern;function a(u,c){l.call(this,u,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}a.prototype=new l,a.prototype.__set_whitespace_patterns=function(u,c){u+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var c=this.__split(this._newline_regexp,u);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return u},a.prototype.matching=function(u,c){var d=this._create();return d.__set_whitespace_patterns(u,c),d._update(),d},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(u,c){u.lastIndex=0;for(var d=0,f=[],p=u.exec(c);p;)f.push(c.substring(d,p.index)),d=p.index+p[0].length,p=u.exec(c);return d<c.length?f.push(c.substring(d,c.length)):f.push(""),f},r.exports.WhitespacePattern=a},function(r){function s(o,l){this._input=o,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,l&&(this._starting_pattern=this._input.get_regexp(l._starting_pattern,!0),this._match_pattern=this._input.get_regexp(l._match_pattern,!0),this._until_pattern=this._input.get_regexp(l._until_pattern),this._until_after=l._until_after)}s.prototype.read=function(){var o=this._input.read(this._starting_pattern);return(!this._starting_pattern||o)&&(o+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),o},s.prototype.read_match=function(){return this._input.match(this._match_pattern)},s.prototype.until_after=function(o){var l=this._create();return l._until_after=!0,l._until_pattern=this._input.get_regexp(o),l._update(),l},s.prototype.until=function(o){var l=this._create();return l._until_after=!1,l._until_pattern=this._input.get_regexp(o),l._update(),l},s.prototype.starting_with=function(o){var l=this._create();return l._starting_pattern=this._input.get_regexp(o,!0),l._update(),l},s.prototype.matching=function(o){var l=this._create();return l._match_pattern=this._input.get_regexp(o,!0),l._update(),l},s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){},r.exports.Pattern=s},function(r){function s(o,l){o=typeof o=="string"?o:o.source,l=typeof l=="string"?l:l.source,this.__directives_block_pattern=new RegExp(o+/ beautify( \w+[:]\w+)+ /.source+l,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(o+/\sbeautify\signore:end\s/.source+l,"g")}s.prototype.get_directives=function(o){if(!o.match(this.__directives_block_pattern))return null;var l={};this.__directive_pattern.lastIndex=0;for(var a=this.__directive_pattern.exec(o);a;)l[a[1]]=a[2],a=this.__directive_pattern.exec(o);return l},s.prototype.readIgnored=function(o){return o.readUntilAfter(this.__directives_end_ignore_pattern)},r.exports.Directives=s},function(r,s,o){var l=o(12).Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(c,d){l.call(this,c,d),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),d&&(this.__template_pattern=this._input.get_regexp(d.__template_pattern),this._excluded=Object.assign(this._excluded,d._excluded),this._disabled=Object.assign(this._disabled,d._disabled));var f=new l(c);this.__patterns={handlebars_comment:f.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:f.starting_with(/{{{/).until_after(/}}}/),handlebars:f.starting_with(/{{/).until_after(/}}/),php:f.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:f.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:f.starting_with(/{%/).until_after(/%}/),django_value:f.starting_with(/{{/).until_after(/}}/),django_comment:f.starting_with(/{#/).until_after(/#}/),smarty:f.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:f.starting_with(/{\*/).until_after(/\*}/),smarty_literal:f.starting_with(/{literal}/).until_after(/{\/literal}/)}}u.prototype=new l,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(c){var d=this._create();return d._disabled[c]=!0,d._update(),d},u.prototype.read_options=function(c){var d=this._create();for(var f in a)d._disabled[f]=c.templating.indexOf(f)===-1;return d._update(),d},u.prototype.exclude=function(c){var d=this._create();return d._excluded[c]=!0,d._update(),d},u.prototype.read=function(){var c="";this._match_pattern?c=this._input.read(this._starting_pattern):c=this._input.read(this._starting_pattern,this.__template_pattern);for(var d=this._read_template();d;)this._match_pattern?d+=this._input.read(this._match_pattern):d+=this._input.readUntil(this.__template_pattern),c+=d,d=this._read_template();return this._until_after&&(c+=this._input.readUntilAfter(this._until_pattern)),c},u.prototype.__set_templated_pattern=function(){var c=[];this._disabled.php||c.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||c.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||c.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(c.push(this.__patterns.django._starting_pattern.source),c.push(this.__patterns.django_value._starting_pattern.source),c.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||c.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&c.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+c.join("|")+")")},u.prototype._read_template=function(){var c="",d=this._input.peek();if(d==="<"){var f=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&f==="?"&&(c=c||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&f==="%"&&(c=c||this.__patterns.erb.read())}else d==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(c=c||this.__patterns.handlebars_comment.read(),c=c||this.__patterns.handlebars_unescaped.read(),c=c||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(c=c||this.__patterns.django_value.read()),this._excluded.django||(c=c||this.__patterns.django_comment.read(),c=c||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(c=c||this.__patterns.smarty_comment.read(),c=c||this.__patterns.smarty_literal.read(),c=c||this.__patterns.smarty.read()));return c},r.exports.TemplatablePattern=u},,,,function(r,s,o){var l=o(19).Beautifier,a=o(20).Options;function u(c,d,f,p){var _=new l(c,d,f,p);return _.beautify()}r.exports=u,r.exports.defaultOptions=function(){return new a}},function(r,s,o){var l=o(20).Options,a=o(2).Output,u=o(21).Tokenizer,c=o(21).TOKEN,d=/\r\n|[\r\n]/,f=/\r\n|[\r\n]/g,p=function(b,g){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new a(b,g)};p.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},p.prototype.set_space_before_token=function(b,g){this._output.space_before_token=b,this._output.non_breaking_space=g},p.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},p.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},p.prototype.print_preserved_newlines=function(b){var g=0;b.type!==c.TEXT&&b.previous.type!==c.TEXT&&(g=b.newlines?1:0),this.preserve_newlines&&(g=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var y=0;y<g;y++)this.print_newline(y>0);return g!==0},p.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},p.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},p.prototype.print_newline=function(b){this._output.add_new_line(b)},p.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},p.prototype.indent=function(){this.indent_level++},p.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},p.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var _=function(b){for(var g=null,y=b.next;y.type!==c.EOF&&b.closed!==y;){if(y.type===c.ATTRIBUTE&&y.text==="type"){y.next&&y.next.type===c.EQUALS&&y.next.next&&y.next.next.type===c.VALUE&&(g=y.next.next.text);break}y=y.next}return g},m=function(b,g){var y=null,H=null;return g.closed?(b==="script"?y="text/javascript":b==="style"&&(y="text/css"),y=_(g)||y,y.search("text/css")>-1?H="css":y.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?H="javascript":y.search(/(text|application|dojo)\/(x-)?(html)/)>-1?H="html":y.search(/test\/null/)>-1&&(H="null"),H):null};function k(b,g){return g.indexOf(b)!==-1}function x(b,g,y){this.parent=b||null,this.tag=g?g.tag_name:"",this.indent_level=y||0,this.parser_token=g||null}function w(b){this._printer=b,this._current_frame=null}w.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},w.prototype.record_tag=function(b){var g=new x(this._current_frame,b,this._printer.indent_level);this._current_frame=g},w.prototype._try_pop_frame=function(b){var g=null;return b&&(g=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),g},w.prototype._get_frame=function(b,g){for(var y=this._current_frame;y&&b.indexOf(y.tag)===-1;){if(g&&g.indexOf(y.tag)!==-1){y=null;break}y=y.parent}return y},w.prototype.try_pop=function(b,g){var y=this._get_frame([b],g);return this._try_pop_frame(y)},w.prototype.indent_to_tag=function(b){var g=this._get_frame(b);g&&(this._printer.indent_level=g.indent_level)};function A(b,g,y,H){this._source_text=b||"",g=g||{},this._js_beautify=y,this._css_beautify=H,this._tag_stack=null;var L=new l(g,"html");this._options=L,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}A.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,g=this._options.eol;this._options.eol==="auto"&&(g=`
|
|
46
46
|
`,b&&d.test(b)&&(g=b.match(d)[0])),b=b.replace(f,`
|
|
47
|
-
`);var y=b.match(/^[\t ]*/)[0],H={text:"",type:""},L=new E,
|
|
48
|
-
`,L=M[4],M[5]&&(
|
|
49
|
-
`)!==-1)&&(M=M[3].match(/[ \t]+$/),M&&(g.whitespace_before=M[0]))}if(L)if(
|
|
50
|
-
`};P.prototype=this._options.raw_options;var F=new P;L=
|
|
47
|
+
`);var y=b.match(/^[\t ]*/)[0],H={text:"",type:""},L=new E,T=new p(this._options,y),z=new u(b,this._options).tokenize();this._tag_stack=new w(T);for(var v=null,S=z.next();S.type!==c.EOF;)S.type===c.TAG_OPEN||S.type===c.COMMENT?(v=this._handle_tag_open(T,S,L,H,z),L=v):S.type===c.ATTRIBUTE||S.type===c.EQUALS||S.type===c.VALUE||S.type===c.TEXT&&!L.tag_complete?v=this._handle_inside_tag(T,S,L,H):S.type===c.TAG_CLOSE?v=this._handle_tag_close(T,S,L):S.type===c.TEXT?v=this._handle_text(T,S,L):S.type===c.CONTROL_FLOW_OPEN?v=this._handle_control_flow_open(T,S):S.type===c.CONTROL_FLOW_CLOSE?v=this._handle_control_flow_close(T,S):T.add_raw_token(S),H=v,S=z.next();var R=T._output.get_code(g);return R},A.prototype._handle_control_flow_open=function(b,g){var y={text:g.text,type:g.type};return b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),g.newlines?b.print_preserved_newlines(g):b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),b.print_token(g),b.indent(),y},A.prototype._handle_control_flow_close=function(b,g){var y={text:g.text,type:g.type};return b.deindent(),g.newlines?b.print_preserved_newlines(g):b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),b.print_token(g),y},A.prototype._handle_tag_close=function(b,g,y){var H={text:g.text,type:g.type};return b.alignment_size=0,y.tag_complete=!0,b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(g):(y.tag_start_char==="<"&&(b.set_space_before_token(g.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&y.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(g)),y.indent_content&&!(y.is_unformatted||y.is_content_unformatted)&&(b.indent(),y.indent_content=!1),!y.is_inline_element&&!(y.is_unformatted||y.is_content_unformatted)&&b.set_wrap_point(),H},A.prototype._handle_inside_tag=function(b,g,y,H){var L=y.has_wrapped_attrs,T={text:g.text,type:g.type};return b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(g):y.tag_start_char==="{"&&g.type===c.TEXT?b.print_preserved_newlines(g)?(g.newlines=0,b.add_raw_token(g)):b.print_token(g):(g.type===c.ATTRIBUTE?b.set_space_before_token(!0):(g.type===c.EQUALS||g.type===c.VALUE&&g.previous.type===c.EQUALS)&&b.set_space_before_token(!1),g.type===c.ATTRIBUTE&&y.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(g),L=L||g.newlines!==0),this._is_wrap_attributes_force&&y.attr_count>=this._options.wrap_attributes_min_attrs&&(H.type!==c.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),L=!0)),b.print_token(g),L=L||b.previous_token_wrapped(),y.has_wrapped_attrs=L),T},A.prototype._handle_text=function(b,g,y){var H={text:g.text,type:"TK_CONTENT"};return y.custom_beautifier_name?this._print_custom_beatifier_text(b,g,y):y.is_unformatted||y.is_content_unformatted?b.add_raw_token(g):(b.traverse_whitespace(g),b.print_token(g)),H},A.prototype._print_custom_beatifier_text=function(b,g,y){var H=this;if(g.text!==""){var L=g.text,T,z=1,v="",S="";y.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?T=this._js_beautify:y.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?T=this._css_beautify:y.custom_beautifier_name==="html"&&(T=function(O,j){var ne=new A(O,j,H._js_beautify,H._css_beautify);return ne.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-b.indent_level);var R=b.get_full_indent(z);if(L=L.replace(/\n[ \t]*$/,""),y.custom_beautifier_name!=="html"&&L[0]==="<"&&L.match(/^(<!--|<!\[CDATA\[)/)){var M=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(L);if(!M){b.add_raw_token(g);return}v=R+M[1]+`
|
|
48
|
+
`,L=M[4],M[5]&&(S=R+M[5]),L=L.replace(/\n[ \t]*$/,""),(M[2]||M[3].indexOf(`
|
|
49
|
+
`)!==-1)&&(M=M[3].match(/[ \t]+$/),M&&(g.whitespace_before=M[0]))}if(L)if(T){var P=function(){this.eol=`
|
|
50
|
+
`};P.prototype=this._options.raw_options;var F=new P;L=T(R+L,F)}else{var U=g.whitespace_before;U&&(L=L.replace(new RegExp(`
|
|
51
51
|
(`+U+")?","g"),`
|
|
52
52
|
`)),L=R+L.replace(/\n/g,`
|
|
53
53
|
`+R)}v&&(L?L=v+L+`
|
|
54
|
-
`+
|
|
55
|
-
`)===-1||(y.is_inline_element||y.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,y))}else if(y.is_end_tag){var I=!1;I=y.start_tag_token&&y.start_tag_token.multiline_content,I=I||!y.is_inline_element&&!(H.is_inline_element||H.is_unformatted)&&!(L.type===c.TAG_CLOSE&&y.start_tag_token===H)&&L.type!=="TK_CONTENT",(y.is_content_unformatted||y.is_unformatted)&&(I=!1),I&&b.print_newline(!1)}else y.indent_content=!y.custom_beautifier_name,y.tag_start_char==="<"&&(y.tag_name==="html"?y.indent_content=this._options.indent_inner_html:y.tag_name==="head"?y.indent_content=this._options.indent_head_inner_html:y.tag_name==="body"&&(y.indent_content=this._options.indent_body_inner_html)),!(y.is_inline_element||y.is_unformatted)&&(L.type!=="TK_CONTENT"||y.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,y)},A.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var D=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],N=["a","audio","del","ins","map","noscript","video"];A.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&D.indexOf(b.tag_name)!==-1){var y=b.parent.parent;(!y||N.indexOf(y.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=A},function(r,s,o){var l=o(6).Options;function a(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}a.prototype=new l,r.exports.Options=a},function(r,s,o){var l=o(9).Tokenizer,a=o(9).TOKEN,u=o(13).Directives,c=o(14).TemplatablePattern,d=o(12).Pattern,f={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},p=new u(/<\!--/,/-->/),_=function(m,k){l.call(this,m,k),this._current_tag_name="";var x=new c(this._input).read_options(this._options),w=new d(this._input);if(this.__patterns={word:x.until(/[\n\r\t <]/),word_control_flow_close_excluded:x.until(/[\n\r\t <}]/),single_quote:x.until_after(/'/),double_quote:x.until_after(/"/),attribute:x.until(/[\n\r\t =>]|\/>/),element_name:x.until(/[\n\r\t >\/]/),angular_control_flow_start:w.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:w.starting_with(/{{!--/).until_after(/--}}/),handlebars:w.starting_with(/{{/).until_after(/}}/),handlebars_open:w.until(/[\n\r\t }]/),handlebars_raw_close:w.until(/}}/),comment:w.starting_with(/<!--/).until_after(/-->/),cdata:w.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:w.starting_with(/<!\[/).until_after(/]>/),processing:w.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var A=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=w.matching(A).until_after(A)}};_.prototype=new l,_.prototype._is_comment=function(m){return!1},_.prototype._is_opening=function(m){return m.type===f.TAG_OPEN||m.type===f.CONTROL_FLOW_OPEN},_.prototype._is_closing=function(m,k){return m.type===f.TAG_CLOSE&&k&&((m.text===">"||m.text==="/>")&&k.text[0]==="<"||m.text==="}}"&&k.text[0]==="{"&&k.text[1]==="{")||m.type===f.CONTROL_FLOW_CLOSE&&m.text==="}"&&k.text.endsWith("{")},_.prototype._reset=function(){this._current_tag_name=""},_.prototype._get_next_token=function(m,k){var x=null;this._readWhitespace();var w=this._input.peek();return w===null?this._create_token(f.EOF,""):(x=x||this._read_open_handlebars(w,k),x=x||this._read_attribute(w,m,k),x=x||this._read_close(w,k),x=x||this._read_control_flows(w,k),x=x||this._read_raw_content(w,m,k),x=x||this._read_content_word(w,k),x=x||this._read_comment_or_cdata(w),x=x||this._read_processing(w),x=x||this._read_open(w,k),x=x||this._create_token(f.UNKNOWN,this._input.next()),x)},_.prototype._read_comment_or_cdata=function(m){var k=null,x=null,w=null;if(m==="<"){var A=this._input.peek(1);A==="!"&&(x=this.__patterns.comment.read(),x?(w=p.get_directives(x),w&&w.ignore==="start"&&(x+=p.readIgnored(this._input))):x=this.__patterns.cdata.read()),x&&(k=this._create_token(f.COMMENT,x),k.directives=w)}return k},_.prototype._read_processing=function(m){var k=null,x=null,w=null;if(m==="<"){var A=this._input.peek(1);(A==="!"||A==="?")&&(x=this.__patterns.conditional_comment.read(),x=x||this.__patterns.processing.read()),x&&(k=this._create_token(f.COMMENT,x),k.directives=w)}return k},_.prototype._read_open=function(m,k){var x=null,w=null;return(!k||k.type===f.CONTROL_FLOW_OPEN)&&m==="<"&&(x=this._input.next(),this._input.peek()==="/"&&(x+=this._input.next()),x+=this.__patterns.element_name.read(),w=this._create_token(f.TAG_OPEN,x)),w},_.prototype._read_open_handlebars=function(m,k){var x=null,w=null;return(!k||k.type===f.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&m==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(x=this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars.read(),w=this._create_token(f.COMMENT,x)):(x=this.__patterns.handlebars_open.read(),w=this._create_token(f.TAG_OPEN,x))),w},_.prototype._read_control_flows=function(m,k){var x="",w=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return w;if(m==="@"){if(x=this.__patterns.angular_control_flow_start.read(),x==="")return w;for(var A=x.endsWith("(")?1:0,E=0;!(x.endsWith("{")&&A===E);){var D=this._input.next();if(D===null)break;D==="("?A++:D===")"&&E++,x+=D}w=this._create_token(f.CONTROL_FLOW_OPEN,x)}else m==="}"&&k&&k.type===f.CONTROL_FLOW_OPEN&&(x=this._input.next(),w=this._create_token(f.CONTROL_FLOW_CLOSE,x));return w},_.prototype._read_close=function(m,k){var x=null,w=null;return k&&k.type===f.TAG_OPEN&&(k.text[0]==="<"&&(m===">"||m==="/"&&this._input.peek(1)===">")?(x=this._input.next(),m==="/"&&(x+=this._input.next()),w=this._create_token(f.TAG_CLOSE,x)):k.text[0]==="{"&&m==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),w=this._create_token(f.TAG_CLOSE,"}}"))),w},_.prototype._read_attribute=function(m,k,x){var w=null,A="";if(x&&x.text[0]==="<")if(m==="=")w=this._create_token(f.EQUALS,this._input.next());else if(m==='"'||m==="'"){var E=this._input.next();m==='"'?E+=this.__patterns.double_quote.read():E+=this.__patterns.single_quote.read(),w=this._create_token(f.VALUE,E)}else A=this.__patterns.attribute.read(),A&&(k.type===f.EQUALS?w=this._create_token(f.VALUE,A):w=this._create_token(f.ATTRIBUTE,A));return w},_.prototype._is_content_unformatted=function(m){return this._options.void_elements.indexOf(m)===-1&&(this._options.content_unformatted.indexOf(m)!==-1||this._options.unformatted.indexOf(m)!==-1)},_.prototype._read_raw_content=function(m,k,x){var w="";if(x&&x.text[0]==="{")w=this.__patterns.handlebars_raw_close.read();else if(k.type===f.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var A=k.opened.text.substr(1).toLowerCase();if(A==="script"||A==="style"){var E=this._read_comment_or_cdata(m);if(E)return E.type=f.TEXT,E;w=this._input.readUntil(new RegExp("</"+A+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(A)&&(w=this._input.readUntil(new RegExp("</"+A+"[\\n\\r\\t ]*?>","ig")))}return w?this._create_token(f.TEXT,w):null},_.prototype._read_content_word=function(m,k){var x="";if(this._options.unformatted_content_delimiter&&m===this._options.unformatted_content_delimiter[0]&&(x=this.__patterns.unformatted_content_delimiter.read()),x||(x=k&&k.type===f.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),x)return this._create_token(f.TEXT,x)},r.exports.Tokenizer=_,r.exports.TOKEN=f}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}var i=n(18);tu=i})();function Mh(e,t){return tu(e,t,Eh,Rh)}function Nh(e,t,n){let i=e.getText(),r=!0,s=0,o=n.tabSize||4;if(t){let u=e.offsetAt(t.start),c=u;for(;c>0&&$l(i,c-1);)c--;c===0||Gl(i,c-1)?u=c:c<u&&(u=c+1);let d=e.offsetAt(t.end),f=d;for(;f<i.length&&$l(i,f);)f++;(f===i.length||Gl(i,f))&&(d=f),t=X.create(e.positionAt(u),e.positionAt(d));let p=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(p))return i=i.substring(u,d),[{range:t,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){let _=e.offsetAt(ae.create(t.start.line,0));s=zh(e.getText(),_,n)}}else t=X.create(ae.create(0,0),e.positionAt(i.length));let l={indent_size:o,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:be(n,"indentEmptyLines",!1),wrap_line_length:be(n,"wrapLineLength",120),unformatted:Br(n,"unformatted",void 0),content_unformatted:Br(n,"contentUnformatted",void 0),indent_inner_html:be(n,"indentInnerHtml",!1),preserve_newlines:be(n,"preserveNewLines",!0),max_preserve_newlines:be(n,"maxPreserveNewLines",32786),indent_handlebars:be(n,"indentHandlebars",!1),end_with_newline:r&&be(n,"endWithNewline",!1),extra_liners:Br(n,"extraLiners",void 0),wrap_attributes:be(n,"wrapAttributes","auto"),wrap_attributes_indent_size:be(n,"wrapAttributesIndentSize",void 0),eol:`
|
|
56
|
-
`,indent_scripts:
|
|
54
|
+
`+S:L=v+S),b.print_newline(!1),L&&(g.text=L,g.whitespace_before="",g.newlines=0,b.add_raw_token(g),b.print_newline(!0))}},A.prototype._handle_tag_open=function(b,g,y,H,L){var T=this._get_tag_open_token(g);if((y.is_unformatted||y.is_content_unformatted)&&!y.is_empty_element&&g.type===c.TAG_OPEN&&!T.is_start_tag?(b.add_raw_token(g),T.start_tag_token=this._tag_stack.try_pop(T.tag_name)):(b.traverse_whitespace(g),this._set_tag_position(b,g,T,y,H),T.is_inline_element||b.set_wrap_point(),b.print_token(g)),T.is_start_tag&&this._is_wrap_attributes_force){var z=0,v;do v=L.peek(z),v.type===c.ATTRIBUTE&&(T.attr_count+=1),z+=1;while(v.type!==c.EOF&&v.type!==c.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(T.alignment_size=g.text.length+1),!T.tag_complete&&!T.is_unformatted&&(b.alignment_size=T.alignment_size),T};var E=function(b,g){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!g)this.tag_complete=!0;else{var y;this.tag_start_char=g.text[0],this.text=g.text,this.tag_start_char==="<"?(y=g.text.match(/^<([^\s>]*)/),this.tag_check=y?y[1]:""):(y=g.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=y?y[1]:"",(g.text.startsWith("{{#>")||g.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&g.next!==null?this.tag_check=g.next.text.split(" ")[0]:this.tag_check=g.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),g.type===c.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||g.closed&&g.closed.text==="/>";var H=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(H=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(H)))}};A.prototype._get_tag_open_token=function(b){var g=new E(this._tag_stack.get_parser_token(),b);return g.alignment_size=this._options.wrap_attributes_indent_size,g.is_end_tag=g.is_end_tag||k(g.tag_check,this._options.void_elements),g.is_empty_element=g.tag_complete||g.is_start_tag&&g.is_end_tag,g.is_unformatted=!g.tag_complete&&k(g.tag_check,this._options.unformatted),g.is_content_unformatted=!g.is_empty_element&&k(g.tag_check,this._options.content_unformatted),g.is_inline_element=k(g.tag_name,this._options.inline)||this._options.inline_custom_elements&&g.tag_name.includes("-")||g.tag_start_char==="{",g},A.prototype._set_tag_position=function(b,g,y,H,L){if(y.is_empty_element||(y.is_end_tag?y.start_tag_token=this._tag_stack.try_pop(y.tag_name):(this._do_optional_end_element(y)&&(y.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(y),(y.tag_name==="script"||y.tag_name==="style")&&!(y.is_unformatted||y.is_content_unformatted)&&(y.custom_beautifier_name=m(y.tag_check,g)))),k(y.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),y.is_empty_element){if(y.tag_start_char==="{"&&y.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),y.indent_content=!0;var T=b.current_line_has_match(/{{#if/);T||b.print_newline(!1)}y.tag_name==="!--"&&L.type===c.TAG_CLOSE&&H.is_end_tag&&y.text.indexOf(`
|
|
55
|
+
`)===-1||(y.is_inline_element||y.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,y))}else if(y.is_end_tag){var z=!1;z=y.start_tag_token&&y.start_tag_token.multiline_content,z=z||!y.is_inline_element&&!(H.is_inline_element||H.is_unformatted)&&!(L.type===c.TAG_CLOSE&&y.start_tag_token===H)&&L.type!=="TK_CONTENT",(y.is_content_unformatted||y.is_unformatted)&&(z=!1),z&&b.print_newline(!1)}else y.indent_content=!y.custom_beautifier_name,y.tag_start_char==="<"&&(y.tag_name==="html"?y.indent_content=this._options.indent_inner_html:y.tag_name==="head"?y.indent_content=this._options.indent_head_inner_html:y.tag_name==="body"&&(y.indent_content=this._options.indent_body_inner_html)),!(y.is_inline_element||y.is_unformatted)&&(L.type!=="TK_CONTENT"||y.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,y)},A.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var D=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],N=["a","audio","del","ins","map","noscript","video"];A.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&D.indexOf(b.tag_name)!==-1){var y=b.parent.parent;(!y||N.indexOf(y.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=A},function(r,s,o){var l=o(6).Options;function a(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}a.prototype=new l,r.exports.Options=a},function(r,s,o){var l=o(9).Tokenizer,a=o(9).TOKEN,u=o(13).Directives,c=o(14).TemplatablePattern,d=o(12).Pattern,f={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},p=new u(/<\!--/,/-->/),_=function(m,k){l.call(this,m,k),this._current_tag_name="";var x=new c(this._input).read_options(this._options),w=new d(this._input);if(this.__patterns={word:x.until(/[\n\r\t <]/),word_control_flow_close_excluded:x.until(/[\n\r\t <}]/),single_quote:x.until_after(/'/),double_quote:x.until_after(/"/),attribute:x.until(/[\n\r\t =>]|\/>/),element_name:x.until(/[\n\r\t >\/]/),angular_control_flow_start:w.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:w.starting_with(/{{!--/).until_after(/--}}/),handlebars:w.starting_with(/{{/).until_after(/}}/),handlebars_open:w.until(/[\n\r\t }]/),handlebars_raw_close:w.until(/}}/),comment:w.starting_with(/<!--/).until_after(/-->/),cdata:w.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:w.starting_with(/<!\[/).until_after(/]>/),processing:w.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var A=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=w.matching(A).until_after(A)}};_.prototype=new l,_.prototype._is_comment=function(m){return!1},_.prototype._is_opening=function(m){return m.type===f.TAG_OPEN||m.type===f.CONTROL_FLOW_OPEN},_.prototype._is_closing=function(m,k){return m.type===f.TAG_CLOSE&&k&&((m.text===">"||m.text==="/>")&&k.text[0]==="<"||m.text==="}}"&&k.text[0]==="{"&&k.text[1]==="{")||m.type===f.CONTROL_FLOW_CLOSE&&m.text==="}"&&k.text.endsWith("{")},_.prototype._reset=function(){this._current_tag_name=""},_.prototype._get_next_token=function(m,k){var x=null;this._readWhitespace();var w=this._input.peek();return w===null?this._create_token(f.EOF,""):(x=x||this._read_open_handlebars(w,k),x=x||this._read_attribute(w,m,k),x=x||this._read_close(w,k),x=x||this._read_control_flows(w,k),x=x||this._read_raw_content(w,m,k),x=x||this._read_content_word(w,k),x=x||this._read_comment_or_cdata(w),x=x||this._read_processing(w),x=x||this._read_open(w,k),x=x||this._create_token(f.UNKNOWN,this._input.next()),x)},_.prototype._read_comment_or_cdata=function(m){var k=null,x=null,w=null;if(m==="<"){var A=this._input.peek(1);A==="!"&&(x=this.__patterns.comment.read(),x?(w=p.get_directives(x),w&&w.ignore==="start"&&(x+=p.readIgnored(this._input))):x=this.__patterns.cdata.read()),x&&(k=this._create_token(f.COMMENT,x),k.directives=w)}return k},_.prototype._read_processing=function(m){var k=null,x=null,w=null;if(m==="<"){var A=this._input.peek(1);(A==="!"||A==="?")&&(x=this.__patterns.conditional_comment.read(),x=x||this.__patterns.processing.read()),x&&(k=this._create_token(f.COMMENT,x),k.directives=w)}return k},_.prototype._read_open=function(m,k){var x=null,w=null;return(!k||k.type===f.CONTROL_FLOW_OPEN)&&m==="<"&&(x=this._input.next(),this._input.peek()==="/"&&(x+=this._input.next()),x+=this.__patterns.element_name.read(),w=this._create_token(f.TAG_OPEN,x)),w},_.prototype._read_open_handlebars=function(m,k){var x=null,w=null;return(!k||k.type===f.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&m==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(x=this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars.read(),w=this._create_token(f.COMMENT,x)):(x=this.__patterns.handlebars_open.read(),w=this._create_token(f.TAG_OPEN,x))),w},_.prototype._read_control_flows=function(m,k){var x="",w=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return w;if(m==="@"){if(x=this.__patterns.angular_control_flow_start.read(),x==="")return w;for(var A=x.endsWith("(")?1:0,E=0;!(x.endsWith("{")&&A===E);){var D=this._input.next();if(D===null)break;D==="("?A++:D===")"&&E++,x+=D}w=this._create_token(f.CONTROL_FLOW_OPEN,x)}else m==="}"&&k&&k.type===f.CONTROL_FLOW_OPEN&&(x=this._input.next(),w=this._create_token(f.CONTROL_FLOW_CLOSE,x));return w},_.prototype._read_close=function(m,k){var x=null,w=null;return k&&k.type===f.TAG_OPEN&&(k.text[0]==="<"&&(m===">"||m==="/"&&this._input.peek(1)===">")?(x=this._input.next(),m==="/"&&(x+=this._input.next()),w=this._create_token(f.TAG_CLOSE,x)):k.text[0]==="{"&&m==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),w=this._create_token(f.TAG_CLOSE,"}}"))),w},_.prototype._read_attribute=function(m,k,x){var w=null,A="";if(x&&x.text[0]==="<")if(m==="=")w=this._create_token(f.EQUALS,this._input.next());else if(m==='"'||m==="'"){var E=this._input.next();m==='"'?E+=this.__patterns.double_quote.read():E+=this.__patterns.single_quote.read(),w=this._create_token(f.VALUE,E)}else A=this.__patterns.attribute.read(),A&&(k.type===f.EQUALS?w=this._create_token(f.VALUE,A):w=this._create_token(f.ATTRIBUTE,A));return w},_.prototype._is_content_unformatted=function(m){return this._options.void_elements.indexOf(m)===-1&&(this._options.content_unformatted.indexOf(m)!==-1||this._options.unformatted.indexOf(m)!==-1)},_.prototype._read_raw_content=function(m,k,x){var w="";if(x&&x.text[0]==="{")w=this.__patterns.handlebars_raw_close.read();else if(k.type===f.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var A=k.opened.text.substr(1).toLowerCase();if(A==="script"||A==="style"){var E=this._read_comment_or_cdata(m);if(E)return E.type=f.TEXT,E;w=this._input.readUntil(new RegExp("</"+A+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(A)&&(w=this._input.readUntil(new RegExp("</"+A+"[\\n\\r\\t ]*?>","ig")))}return w?this._create_token(f.TEXT,w):null},_.prototype._read_content_word=function(m,k){var x="";if(this._options.unformatted_content_delimiter&&m===this._options.unformatted_content_delimiter[0]&&(x=this.__patterns.unformatted_content_delimiter.read()),x||(x=k&&k.type===f.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),x)return this._create_token(f.TEXT,x)},r.exports.Tokenizer=_,r.exports.TOKEN=f}],t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}var i=n(18);Rl=i})();function rh(e,t){return Rl(e,t,nh,ih)}function sh(e,t,n){let i=e.getText(),r=!0,s=0,o=n.tabSize||4;if(t){let u=e.offsetAt(t.start),c=u;for(;c>0&&yl(i,c-1);)c--;c===0||xl(i,c-1)?u=c:c<u&&(u=c+1);let d=e.offsetAt(t.end),f=d;for(;f<i.length&&yl(i,f);)f++;(f===i.length||xl(i,f))&&(d=f),t=X.create(e.positionAt(u),e.positionAt(d));let p=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(p))return i=i.substring(u,d),[{range:t,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){let _=e.offsetAt(se.create(t.start.line,0));s=lh(e.getText(),_,n)}}else t=X.create(se.create(0,0),e.positionAt(i.length));let l={indent_size:o,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:pe(n,"indentEmptyLines",!1),wrap_line_length:pe(n,"wrapLineLength",120),unformatted:gr(n,"unformatted",void 0),content_unformatted:gr(n,"contentUnformatted",void 0),indent_inner_html:pe(n,"indentInnerHtml",!1),preserve_newlines:pe(n,"preserveNewLines",!0),max_preserve_newlines:pe(n,"maxPreserveNewLines",32786),indent_handlebars:pe(n,"indentHandlebars",!1),end_with_newline:r&&pe(n,"endWithNewline",!1),extra_liners:gr(n,"extraLiners",void 0),wrap_attributes:pe(n,"wrapAttributes","auto"),wrap_attributes_indent_size:pe(n,"wrapAttributesIndentSize",void 0),eol:`
|
|
56
|
+
`,indent_scripts:pe(n,"indentScripts","normal"),templating:oh(n,"all"),unformatted_content_delimiter:pe(n,"unformattedContentDelimiter","")},a=rh(ah(i),l);if(s>0){let u=n.insertSpaces?wl(" ",o*s):wl(" ",s);a=a.split(`
|
|
57
57
|
`).join(`
|
|
58
|
-
`+u),t.start.character===0&&(a=u+a)}return[{range:t,newText:a}]}function
|
|
59
|
-
`.indexOf(e.charAt(t))!==-1}function $l(e,t){return" ".indexOf(e.charAt(t))!==-1}var nu;(()=>{"use strict";var e={470:r=>{function s(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}function o(a,u){for(var c,d="",f=0,p=-1,_=0,m=0;m<=a.length;++m){if(m<a.length)c=a.charCodeAt(m);else{if(c===47)break;c=47}if(c===47){if(!(p===m-1||_===1))if(p!==m-1&&_===2){if(d.length<2||f!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var k=d.lastIndexOf("/");if(k!==d.length-1){k===-1?(d="",f=0):f=(d=d.slice(0,k)).length-1-d.lastIndexOf("/"),p=m,_=0;continue}}else if(d.length===2||d.length===1){d="",f=0,p=m,_=0;continue}}u&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+a.slice(p+1,m):d=a.slice(p+1,m),f=m-p-1;p=m,_=0}else c===46&&_!==-1?++_:_=-1}return d}var l={resolve:function(){for(var a,u="",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var f;d>=0?f=arguments[d]:(a===void 0&&(a=process.cwd()),f=a),s(f),f.length!==0&&(u=f+"/"+u,c=f.charCodeAt(0)===47)}return u=o(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(a){if(s(a),a.length===0)return".";var u=a.charCodeAt(0)===47,c=a.charCodeAt(a.length-1)===47;return(a=o(a,!u)).length!==0||u||(a="."),a.length>0&&c&&(a+="/"),u?"/"+a:a},isAbsolute:function(a){return s(a),a.length>0&&a.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var a,u=0;u<arguments.length;++u){var c=arguments[u];s(c),c.length>0&&(a===void 0?a=c:a+="/"+c)}return a===void 0?".":l.normalize(a)},relative:function(a,u){if(s(a),s(u),a===u||(a=l.resolve(a))===(u=l.resolve(u)))return"";for(var c=1;c<a.length&&a.charCodeAt(c)===47;++c);for(var d=a.length,f=d-c,p=1;p<u.length&&u.charCodeAt(p)===47;++p);for(var _=u.length-p,m=f<_?f:_,k=-1,x=0;x<=m;++x){if(x===m){if(_>m){if(u.charCodeAt(p+x)===47)return u.slice(p+x+1);if(x===0)return u.slice(p+x)}else f>m&&(a.charCodeAt(c+x)===47?k=x:x===0&&(k=0));break}var w=a.charCodeAt(c+x);if(w!==u.charCodeAt(p+x))break;w===47&&(k=x)}var A="";for(x=c+k+1;x<=d;++x)x!==d&&a.charCodeAt(x)!==47||(A.length===0?A+="..":A+="/..");return A.length>0?A+u.slice(p+k):(p+=k,u.charCodeAt(p)===47&&++p,u.slice(p))},_makeLong:function(a){return a},dirname:function(a){if(s(a),a.length===0)return".";for(var u=a.charCodeAt(0),c=u===47,d=-1,f=!0,p=a.length-1;p>=1;--p)if((u=a.charCodeAt(p))===47){if(!f){d=p;break}}else f=!1;return d===-1?c?"/":".":c&&d===1?"//":a.slice(0,d)},basename:function(a,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(a);var c,d=0,f=-1,p=!0;if(u!==void 0&&u.length>0&&u.length<=a.length){if(u.length===a.length&&u===a)return"";var _=u.length-1,m=-1;for(c=a.length-1;c>=0;--c){var k=a.charCodeAt(c);if(k===47){if(!p){d=c+1;break}}else m===-1&&(p=!1,m=c+1),_>=0&&(k===u.charCodeAt(_)?--_==-1&&(f=c):(_=-1,f=m))}return d===f?f=m:f===-1&&(f=a.length),a.slice(d,f)}for(c=a.length-1;c>=0;--c)if(a.charCodeAt(c)===47){if(!p){d=c+1;break}}else f===-1&&(p=!1,f=c+1);return f===-1?"":a.slice(d,f)},extname:function(a){s(a);for(var u=-1,c=0,d=-1,f=!0,p=0,_=a.length-1;_>=0;--_){var m=a.charCodeAt(_);if(m!==47)d===-1&&(f=!1,d=_+1),m===46?u===-1?u=_:p!==1&&(p=1):u!==-1&&(p=-1);else if(!f){c=_+1;break}}return u===-1||d===-1||p===0||p===1&&u===d-1&&u===c+1?"":a.slice(u,d)},format:function(a){if(a===null||typeof a!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof a);return function(u,c){var d=c.dir||c.root,f=c.base||(c.name||"")+(c.ext||"");return d?d===c.root?d+f:d+"/"+f:f}(0,a)},parse:function(a){s(a);var u={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return u;var c,d=a.charCodeAt(0),f=d===47;f?(u.root="/",c=1):c=0;for(var p=-1,_=0,m=-1,k=!0,x=a.length-1,w=0;x>=c;--x)if((d=a.charCodeAt(x))!==47)m===-1&&(k=!1,m=x+1),d===46?p===-1?p=x:w!==1&&(w=1):p!==-1&&(w=-1);else if(!k){_=x+1;break}return p===-1||m===-1||w===0||w===1&&p===m-1&&p===_+1?m!==-1&&(u.base=u.name=_===0&&f?a.slice(1,m):a.slice(_,m)):(_===0&&f?(u.name=a.slice(1,p),u.base=a.slice(1,m)):(u.name=a.slice(_,p),u.base=a.slice(_,m)),u.ext=a.slice(p,m)),_>0?u.dir=a.slice(0,_-1):f&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(r,s)=>{for(var o in s)n.o(s,o)&&!n.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:s[o]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>f,Utils:()=>H}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);let s=/^\w[\w\d+.-]*$/,o=/^\//,l=/^\/\//;function a(L,S){if(!L.scheme&&S)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${L.authority}", path: "${L.path}", query: "${L.query}", fragment: "${L.fragment}"}`);if(L.scheme&&!s.test(L.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(L.path){if(L.authority){if(!o.test(L.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(l.test(L.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(S,I,v,T,R,M=!1){We(this,"scheme");We(this,"authority");We(this,"path");We(this,"query");We(this,"fragment");typeof S=="object"?(this.scheme=S.scheme||u,this.authority=S.authority||u,this.path=S.path||u,this.query=S.query||u,this.fragment=S.fragment||u):(this.scheme=function(P,F){return P||F?P:"file"}(S,M),this.authority=I||u,this.path=function(P,F){switch(P){case"https":case"http":case"file":F?F[0]!==c&&(F=c+F):F=c}return F}(this.scheme,v||u),this.query=T||u,this.fragment=R||u,a(this,M))}static isUri(S){return S instanceof f||!!S&&typeof S.authority=="string"&&typeof S.fragment=="string"&&typeof S.path=="string"&&typeof S.query=="string"&&typeof S.scheme=="string"&&typeof S.fsPath=="string"&&typeof S.with=="function"&&typeof S.toString=="function"}get fsPath(){return w(this,!1)}with(S){if(!S)return this;let{scheme:I,authority:v,path:T,query:R,fragment:M}=S;return I===void 0?I=this.scheme:I===null&&(I=u),v===void 0?v=this.authority:v===null&&(v=u),T===void 0?T=this.path:T===null&&(T=u),R===void 0?R=this.query:R===null&&(R=u),M===void 0?M=this.fragment:M===null&&(M=u),I===this.scheme&&v===this.authority&&T===this.path&&R===this.query&&M===this.fragment?this:new _(I,v,T,R,M)}static parse(S,I=!1){let v=d.exec(S);return v?new _(v[2]||u,N(v[4]||u),N(v[5]||u),N(v[7]||u),N(v[9]||u),I):new _(u,u,u,u,u)}static file(S){let I=u;if(r&&(S=S.replace(/\\/g,c)),S[0]===c&&S[1]===c){let v=S.indexOf(c,2);v===-1?(I=S.substring(2),S=c):(I=S.substring(2,v),S=S.substring(v)||c)}return new _("file",I,S,u,u)}static from(S){let I=new _(S.scheme,S.authority,S.path,S.query,S.fragment);return a(I,!0),I}toString(S=!1){return A(this,S)}toJSON(){return this}static revive(S){if(S){if(S instanceof f)return S;{let I=new _(S);return I._formatted=S.external,I._fsPath=S._sep===p?S.fsPath:null,I}}return S}}let p=r?1:void 0;class _ extends f{constructor(){super(...arguments);We(this,"_formatted",null);We(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath}toString(I=!1){return I?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)}toJSON(){let I={$mid:1};return this._fsPath&&(I.fsPath=this._fsPath,I._sep=p),this._formatted&&(I.external=this._formatted),this.path&&(I.path=this.path),this.scheme&&(I.scheme=this.scheme),this.authority&&(I.authority=this.authority),this.query&&(I.query=this.query),this.fragment&&(I.fragment=this.fragment),I}}let m={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 k(L,S,I){let v,T=-1;for(let R=0;R<L.length;R++){let M=L.charCodeAt(R);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||S&&M===47||I&&M===91||I&&M===93||I&&M===58)T!==-1&&(v+=encodeURIComponent(L.substring(T,R)),T=-1),v!==void 0&&(v+=L.charAt(R));else{v===void 0&&(v=L.substr(0,R));let P=m[M];P!==void 0?(T!==-1&&(v+=encodeURIComponent(L.substring(T,R)),T=-1),v+=P):T===-1&&(T=R)}}return T!==-1&&(v+=encodeURIComponent(L.substring(T))),v!==void 0?v:L}function x(L){let S;for(let I=0;I<L.length;I++){let v=L.charCodeAt(I);v===35||v===63?(S===void 0&&(S=L.substr(0,I)),S+=m[v]):S!==void 0&&(S+=L[I])}return S!==void 0?S:L}function w(L,S){let I;return I=L.authority&&L.path.length>1&&L.scheme==="file"?`//${L.authority}${L.path}`:L.path.charCodeAt(0)===47&&(L.path.charCodeAt(1)>=65&&L.path.charCodeAt(1)<=90||L.path.charCodeAt(1)>=97&&L.path.charCodeAt(1)<=122)&&L.path.charCodeAt(2)===58?S?L.path.substr(1):L.path[1].toLowerCase()+L.path.substr(2):L.path,r&&(I=I.replace(/\//g,"\\")),I}function A(L,S){let I=S?x:k,v="",{scheme:T,authority:R,path:M,query:P,fragment:F}=L;if(T&&(v+=T,v+=":"),(R||T==="file")&&(v+=c,v+=c),R){let U=R.indexOf("@");if(U!==-1){let O=R.substr(0,U);R=R.substr(U+1),U=O.lastIndexOf(":"),U===-1?v+=I(O,!1,!1):(v+=I(O.substr(0,U),!1,!1),v+=":",v+=I(O.substr(U+1),!1,!0)),v+="@"}R=R.toLowerCase(),U=R.lastIndexOf(":"),U===-1?v+=I(R,!1,!0):(v+=I(R.substr(0,U),!1,!0),v+=R.substr(U))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){let U=M.charCodeAt(1);U>=65&&U<=90&&(M=`/${String.fromCharCode(U+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){let U=M.charCodeAt(0);U>=65&&U<=90&&(M=`${String.fromCharCode(U+32)}:${M.substr(2)}`)}v+=I(M,!0,!1)}return P&&(v+="?",v+=I(P,!1,!1)),F&&(v+="#",v+=S?F:k(F,!1,!1)),v}function E(L){try{return decodeURIComponent(L)}catch{return L.length>3?L.substr(0,3)+E(L.substr(3)):L}}let D=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function N(L){return L.match(D)?L.replace(D,S=>E(S)):L}var b=n(470);let g=b.posix||b,y="/";var H;(function(L){L.joinPath=function(S,...I){return S.with({path:g.join(S.path,...I)})},L.resolvePath=function(S,...I){let v=S.path,T=!1;v[0]!==y&&(v=y+v,T=!0);let R=g.resolve(v,...I);return T&&R[0]===y&&!S.authority&&(R=R.substring(1)),S.with({path:R})},L.dirname=function(S){if(S.path.length===0||S.path===y)return S;let I=g.dirname(S.path);return I.length===1&&I.charCodeAt(0)===46&&(I=""),S.with({path:I})},L.basename=function(S){return g.basename(S.path)},L.extname=function(S){return g.extname(S.path)}})(H||(H={}))})(),nu=i})();var{URI:Fh,Utils:ng}=nu;function os(e){let t=e[0],n=e[e.length-1];return t===n&&(t==="'"||t==='"')&&(e=e.substring(1,e.length-1)),e}function Uh(e,t){return!e.length||t==="handlebars"&&/{{|}}/.test(e)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(e)}function Hh(e,t,n,i){if(/^\s*javascript\:/i.test(t)||/[\n\r]/.test(t))return;t=t.replace(/^\s*/g,"");let r=t.match(/^(\w[\w\d+.-]*):/);if(r){let s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?t:void 0}return/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(et(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}function Ph(e,t,n,i,r,s){let o=os(n);if(!Uh(o,e.languageId))return;o.length<n.length&&(i++,r--);let l=Hh(e.uri,o,t,s);if(!l)return;let a=Bh(l,e);return{range:X.create(e.positionAt(i),e.positionAt(r)),target:a}}var Wh=35;function Bh(e,t){try{let n=Fh.parse(e);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),e=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(e.startsWith(t.uri)&&e.charCodeAt(t.uri.length)===Wh)?n.with({fragment:null}).toString(!0):e}catch{return}}var Oh=class{constructor(e){this.dataManager=e}findDocumentLinks(e,t){let n=[],i=_e(e.getText(),0),r=i.scan(),s,o,l=!1,a,u={};for(;r!==z.EOS;){switch(r){case z.StartTag:o=i.getTokenText().toLowerCase(),a||(l=o==="base");break;case z.AttributeName:s=i.getTokenText().toLowerCase();break;case z.AttributeValue:if(o&&s&&this.dataManager.isPathAttribute(o,s)){let c=i.getTokenText();if(!l){let d=Ph(e,t,c,i.getTokenOffset(),i.getTokenEnd(),a);d&&n.push(d)}l&&typeof a>"u"&&(a=os(c),a&&t&&(a=t.resolveReference(a,e.uri))),l=!1,s=void 0}else if(s==="id"){let c=os(i.getTokenText());u[c]=i.getTokenOffset()}break}r=i.scan()}for(let c of n){let d=e.uri+"#";if(c.target&&et(c.target,d)){let f=c.target.substring(d.length),p=u[f];if(p!==void 0){let _=e.positionAt(p);c.target=`${d}${_.line+1},${_.character+1}`}else c.target=e.uri}}return n}};function qh(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];let s=[],o=Jl(z.StartTag,e,r.start),l=typeof r.endTagStart=="number"&&Jl(z.EndTag,e,r.endTagStart);return(o&&Yl(o,t)||l&&Yl(l,t))&&(o&&s.push({kind:yi.Read,range:o}),l&&s.push({kind:yi.Read,range:l})),s}function Xl(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function Yl(e,t){return Xl(e.start,t)&&Xl(t,e.end)}function Jl(e,t,n){let i=_e(t.getText(),n),r=i.scan();for(;r!==z.EOS&&r!==e;)r=i.scan();return r!==z.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function Vh(e,t){let n=[],i=iu(e,t);for(let s of i)r(s,void 0);return n;function r(s,o){let l=Kr.create(s.name,s.kind,s.range,e.uri,o?.name);if(l.containerName??(l.containerName=""),n.push(l),s.children)for(let a of s.children)r(a,s)}}function iu(e,t){let n=[];return t.roots.forEach(i=>{ru(e,i,n)}),n}function ru(e,t,n){let i=jh(t),r=X.create(e.positionAt(t.start),e.positionAt(t.end)),s=es.create(i,void 0,Zr.Field,r,r);n.push(s),t.children.forEach(o=>{s.children??(s.children=[]),ru(e,o,s.children)})}function jh(e){let t=e.tag;if(e.attributes){let n=e.attributes.id,i=e.attributes.class;n&&(t+=`#${n.replace(/[\"\']/g,"")}`),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return t||"?"}function Gh(e,t,n,i){let r=e.offsetAt(t),s=i.findNodeAt(r);if(!s.tag||!$h(s,r,s.tag))return null;let o=[],l={start:e.positionAt(s.start+1),end:e.positionAt(s.start+1+s.tag.length)};if(o.push({range:l,newText:n}),s.endTagStart){let u={start:e.positionAt(s.endTagStart+2),end:e.positionAt(s.endTagStart+2+s.tag.length)};o.push({range:u,newText:n})}return{changes:{[e.uri.toString()]:o}}}function $h(e,t,n){return e.endTagStart&&e.endTagStart+2<=t&&t<=e.endTagStart+2+n.length?!0:e.start+1<=t&&t<=e.start+1+n.length}function Xh(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){let s=i-1-r.start+r.endTagStart+2;return e.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){let s=i-2-r.endTagStart+r.start+1;return e.positionAt(s)}return null}function Ql(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[X.create(e.positionAt(r.start+1),e.positionAt(r.start+1+s)),X.create(e.positionAt(r.endTagStart+2),e.positionAt(r.endTagStart+2+s))]:null}var Yh=class{constructor(e){this.dataManager=e}limitRanges(e,t){e=e.sort((c,d)=>{let f=c.startLine-d.startLine;return f===0&&(f=c.endLine-d.endLine),f});let n,i=[],r=[],s=[],o=(c,d)=>{r[c]=d,d<30&&(s[d]=(s[d]||0)+1)};for(let c=0;c<e.length;c++){let d=e[c];if(!n)n=d,o(c,0);else if(d.startLine>n.startLine){if(d.endLine<=n.endLine)i.push(n),n=d,o(c,i.length);else if(d.startLine>n.endLine){do n=i.pop();while(n&&d.startLine>n.endLine);n&&i.push(n),n=d,o(c,i.length)}}}let l=0,a=0;for(let c=0;c<s.length;c++){let d=s[c];if(d){if(d+l>t){a=c;break}l+=d}}let u=[];for(let c=0;c<e.length;c++){let d=r[c];typeof d=="number"&&(d<a||d===a&&l++<t)&&u.push(e[c])}return u}getFoldingRanges(e,t){let n=this.dataManager.getVoidElements(e.languageId),i=_e(e.getText()),r=i.scan(),s=[],o=[],l=null,a=-1;function u(d){s.push(d),a=d.startLine}for(;r!==z.EOS;){switch(r){case z.StartTag:{let d=i.getTokenText(),f=e.positionAt(i.getTokenOffset()).line;o.push({startLine:f,tagName:d}),l=d;break}case z.EndTag:{l=i.getTokenText();break}case z.StartTagClose:if(!l||!this.dataManager.isVoidElement(l,n))break;case z.EndTagClose:case z.StartTagSelfClose:{let d=o.length-1;for(;d>=0&&o[d].tagName!==l;)d--;if(d>=0){let f=o[d];o.length=d;let p=e.positionAt(i.getTokenOffset()).line,_=f.startLine,m=p-1;m>_&&a!==_&&u({startLine:_,endLine:m})}break}case z.Comment:{let d=e.positionAt(i.getTokenOffset()).line,p=i.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(p)if(p[1])o.push({startLine:d,tagName:""});else{let _=o.length-1;for(;_>=0&&o[_].tagName.length;)_--;if(_>=0){let m=o[_];o.length=_;let k=d;d=m.startLine,k>d&&a!==d&&u({startLine:d,endLine:k,kind:wi.Region})}}else{let _=e.positionAt(i.getTokenOffset()+i.getTokenLength()).line;d<_&&u({startLine:d,endLine:_,kind:wi.Comment})}break}}r=i.scan()}let c=t&&t.rangeLimit||Number.MAX_VALUE;return s.length>c?this.limitRanges(s,c):s}},Jh=class{constructor(e){this.htmlParser=e}getSelectionRanges(e,t){let n=this.htmlParser.parseDocument(e);return t.map(i=>this.getSelectionRange(i,e,n))}getSelectionRange(e,t,n){let i=this.getApplicableRanges(t,e,n),r,s;for(let o=i.length-1;o>=0;o--){let l=i[o];(!r||l[0]!==r[0]||l[1]!==r[1])&&(s=Si.create(X.create(t.positionAt(i[o][0]),t.positionAt(i[o][1])),s)),r=l}return s||(s=Si.create(X.create(e,e))),s}getApplicableRanges(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i),s=this.getAllParentTagRanges(r);if(r.startTagEnd&&!r.endTagStart){if(r.startTagEnd!==r.end)return[[r.start,r.end]];let o=X.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));return e.getText(o)==="/>"?s.unshift([r.start+1,r.startTagEnd-2]):s.unshift([r.start+1,r.startTagEnd-1]),s=this.getAttributeLevelRanges(e,r,i).concat(s),s}return!r.startTagEnd||!r.endTagStart?s:(s.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd?(s.unshift([r.start+1,r.startTagEnd-1]),s=this.getAttributeLevelRanges(e,r,i).concat(s),s):r.startTagEnd<=i&&i<=r.endTagStart?(s.unshift([r.startTagEnd,r.endTagStart]),s):(i>=r.endTagStart+2&&s.unshift([r.endTagStart+2,r.end-1]),s))}getAllParentTagRanges(e){let t=e,n=[];for(;t.parent;)t=t.parent,this.getNodeRanges(t).forEach(i=>n.push(i));return n}getNodeRanges(e){return e.startTagEnd&&e.endTagStart&&e.startTagEnd<e.endTagStart?[[e.startTagEnd,e.endTagStart],[e.start,e.end]]:[[e.start,e.end]]}getAttributeLevelRanges(e,t,n){let i=X.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),s=n-t.start,o=_e(r),l=o.scan(),a=t.start,u=[],c=!1,d=-1;for(;l!==z.EOS;){switch(l){case z.AttributeName:{if(s<o.getTokenOffset()){c=!1;break}s<=o.getTokenEnd()&&u.unshift([o.getTokenOffset(),o.getTokenEnd()]),c=!0,d=o.getTokenOffset();break}case z.AttributeValue:{if(!c)break;let f=o.getTokenText();if(s<o.getTokenOffset()){u.push([d,o.getTokenEnd()]);break}s>=o.getTokenOffset()&&s<=o.getTokenEnd()&&(u.unshift([o.getTokenOffset(),o.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&s>=o.getTokenOffset()+1&&s<=o.getTokenEnd()-1&&u.unshift([o.getTokenOffset()+1,o.getTokenEnd()-1]),u.push([d,o.getTokenEnd()]));break}}l=o.scan()}return u.map(f=>[f[0]+a,f[1]+a])}},Qh={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
|
|
58
|
+
`+u),t.start.character===0&&(a=u+a)}return[{range:t,newText:a}]}function ah(e){return e.replace(/^\s+/,"")}function pe(e,t,n){if(e&&e.hasOwnProperty(t)){let i=e[t];if(i!==null)return i}return n}function gr(e,t,n){let i=pe(e,t,null);return typeof i=="string"?i.length>0?i.split(",").map(r=>r.trim().toLowerCase()):[]:n}function oh(e,t){let n=pe(e,"templating",t);return n===!0?["auto"]:n===!1||n===t||Array.isArray(n)===!1?["none"]:n}function lh(e,t,n){let i=t,r=0,s=n.tabSize||4;for(;i<e.length;){let o=e.charAt(i);if(o===" ")r++;else if(o===" ")r+=s;else break;i++}return Math.floor(r/s)}function xl(e,t){return`\r
|
|
59
|
+
`.indexOf(e.charAt(t))!==-1}function yl(e,t){return" ".indexOf(e.charAt(t))!==-1}var Ml;(()=>{"use strict";var e={470:r=>{function s(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}function o(a,u){for(var c,d="",f=0,p=-1,_=0,m=0;m<=a.length;++m){if(m<a.length)c=a.charCodeAt(m);else{if(c===47)break;c=47}if(c===47){if(!(p===m-1||_===1))if(p!==m-1&&_===2){if(d.length<2||f!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var k=d.lastIndexOf("/");if(k!==d.length-1){k===-1?(d="",f=0):f=(d=d.slice(0,k)).length-1-d.lastIndexOf("/"),p=m,_=0;continue}}else if(d.length===2||d.length===1){d="",f=0,p=m,_=0;continue}}u&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+a.slice(p+1,m):d=a.slice(p+1,m),f=m-p-1;p=m,_=0}else c===46&&_!==-1?++_:_=-1}return d}var l={resolve:function(){for(var a,u="",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var f;d>=0?f=arguments[d]:(a===void 0&&(a=process.cwd()),f=a),s(f),f.length!==0&&(u=f+"/"+u,c=f.charCodeAt(0)===47)}return u=o(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(a){if(s(a),a.length===0)return".";var u=a.charCodeAt(0)===47,c=a.charCodeAt(a.length-1)===47;return(a=o(a,!u)).length!==0||u||(a="."),a.length>0&&c&&(a+="/"),u?"/"+a:a},isAbsolute:function(a){return s(a),a.length>0&&a.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var a,u=0;u<arguments.length;++u){var c=arguments[u];s(c),c.length>0&&(a===void 0?a=c:a+="/"+c)}return a===void 0?".":l.normalize(a)},relative:function(a,u){if(s(a),s(u),a===u||(a=l.resolve(a))===(u=l.resolve(u)))return"";for(var c=1;c<a.length&&a.charCodeAt(c)===47;++c);for(var d=a.length,f=d-c,p=1;p<u.length&&u.charCodeAt(p)===47;++p);for(var _=u.length-p,m=f<_?f:_,k=-1,x=0;x<=m;++x){if(x===m){if(_>m){if(u.charCodeAt(p+x)===47)return u.slice(p+x+1);if(x===0)return u.slice(p+x)}else f>m&&(a.charCodeAt(c+x)===47?k=x:x===0&&(k=0));break}var w=a.charCodeAt(c+x);if(w!==u.charCodeAt(p+x))break;w===47&&(k=x)}var A="";for(x=c+k+1;x<=d;++x)x!==d&&a.charCodeAt(x)!==47||(A.length===0?A+="..":A+="/..");return A.length>0?A+u.slice(p+k):(p+=k,u.charCodeAt(p)===47&&++p,u.slice(p))},_makeLong:function(a){return a},dirname:function(a){if(s(a),a.length===0)return".";for(var u=a.charCodeAt(0),c=u===47,d=-1,f=!0,p=a.length-1;p>=1;--p)if((u=a.charCodeAt(p))===47){if(!f){d=p;break}}else f=!1;return d===-1?c?"/":".":c&&d===1?"//":a.slice(0,d)},basename:function(a,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(a);var c,d=0,f=-1,p=!0;if(u!==void 0&&u.length>0&&u.length<=a.length){if(u.length===a.length&&u===a)return"";var _=u.length-1,m=-1;for(c=a.length-1;c>=0;--c){var k=a.charCodeAt(c);if(k===47){if(!p){d=c+1;break}}else m===-1&&(p=!1,m=c+1),_>=0&&(k===u.charCodeAt(_)?--_==-1&&(f=c):(_=-1,f=m))}return d===f?f=m:f===-1&&(f=a.length),a.slice(d,f)}for(c=a.length-1;c>=0;--c)if(a.charCodeAt(c)===47){if(!p){d=c+1;break}}else f===-1&&(p=!1,f=c+1);return f===-1?"":a.slice(d,f)},extname:function(a){s(a);for(var u=-1,c=0,d=-1,f=!0,p=0,_=a.length-1;_>=0;--_){var m=a.charCodeAt(_);if(m!==47)d===-1&&(f=!1,d=_+1),m===46?u===-1?u=_:p!==1&&(p=1):u!==-1&&(p=-1);else if(!f){c=_+1;break}}return u===-1||d===-1||p===0||p===1&&u===d-1&&u===c+1?"":a.slice(u,d)},format:function(a){if(a===null||typeof a!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof a);return function(u,c){var d=c.dir||c.root,f=c.base||(c.name||"")+(c.ext||"");return d?d===c.root?d+f:d+"/"+f:f}(0,a)},parse:function(a){s(a);var u={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return u;var c,d=a.charCodeAt(0),f=d===47;f?(u.root="/",c=1):c=0;for(var p=-1,_=0,m=-1,k=!0,x=a.length-1,w=0;x>=c;--x)if((d=a.charCodeAt(x))!==47)m===-1&&(k=!1,m=x+1),d===46?p===-1?p=x:w!==1&&(w=1):p!==-1&&(w=-1);else if(!k){_=x+1;break}return p===-1||m===-1||w===0||w===1&&p===m-1&&p===_+1?m!==-1&&(u.base=u.name=_===0&&f?a.slice(1,m):a.slice(_,m)):(_===0&&f?(u.name=a.slice(1,p),u.base=a.slice(1,m)):(u.name=a.slice(_,p),u.base=a.slice(_,m)),u.ext=a.slice(p,m)),_>0?u.dir=a.slice(0,_-1):f&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(r,s)=>{for(var o in s)n.o(s,o)&&!n.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:s[o]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>f,Utils:()=>H}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);let s=/^\w[\w\d+.-]*$/,o=/^\//,l=/^\/\//;function a(L,T){if(!L.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${L.authority}", path: "${L.path}", query: "${L.query}", fragment: "${L.fragment}"}`);if(L.scheme&&!s.test(L.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(L.path){if(L.authority){if(!o.test(L.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(l.test(L.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{static isUri(T){return T instanceof f||!!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"}scheme;authority;path;query;fragment;constructor(T,z,v,S,R,M=!1){typeof T=="object"?(this.scheme=T.scheme||u,this.authority=T.authority||u,this.path=T.path||u,this.query=T.query||u,this.fragment=T.fragment||u):(this.scheme=function(P,F){return P||F?P:"file"}(T,M),this.authority=z||u,this.path=function(P,F){switch(P){case"https":case"http":case"file":F?F[0]!==c&&(F=c+F):F=c}return F}(this.scheme,v||u),this.query=S||u,this.fragment=R||u,a(this,M))}get fsPath(){return w(this,!1)}with(T){if(!T)return this;let{scheme:z,authority:v,path:S,query:R,fragment:M}=T;return z===void 0?z=this.scheme:z===null&&(z=u),v===void 0?v=this.authority:v===null&&(v=u),S===void 0?S=this.path:S===null&&(S=u),R===void 0?R=this.query:R===null&&(R=u),M===void 0?M=this.fragment:M===null&&(M=u),z===this.scheme&&v===this.authority&&S===this.path&&R===this.query&&M===this.fragment?this:new _(z,v,S,R,M)}static parse(T,z=!1){let v=d.exec(T);return v?new _(v[2]||u,N(v[4]||u),N(v[5]||u),N(v[7]||u),N(v[9]||u),z):new _(u,u,u,u,u)}static file(T){let z=u;if(r&&(T=T.replace(/\\/g,c)),T[0]===c&&T[1]===c){let v=T.indexOf(c,2);v===-1?(z=T.substring(2),T=c):(z=T.substring(2,v),T=T.substring(v)||c)}return new _("file",z,T,u,u)}static from(T){let z=new _(T.scheme,T.authority,T.path,T.query,T.fragment);return a(z,!0),z}toString(T=!1){return A(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{let z=new _(T);return z._formatted=T.external,z._fsPath=T._sep===p?T.fsPath:null,z}}return T}}let p=r?1:void 0;class _ extends f{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath}toString(T=!1){return T?A(this,!0):(this._formatted||(this._formatted=A(this,!1)),this._formatted)}toJSON(){let T={$mid:1};return this._fsPath&&(T.fsPath=this._fsPath,T._sep=p),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}}let m={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 k(L,T,z){let v,S=-1;for(let R=0;R<L.length;R++){let M=L.charCodeAt(R);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||T&&M===47||z&&M===91||z&&M===93||z&&M===58)S!==-1&&(v+=encodeURIComponent(L.substring(S,R)),S=-1),v!==void 0&&(v+=L.charAt(R));else{v===void 0&&(v=L.substr(0,R));let P=m[M];P!==void 0?(S!==-1&&(v+=encodeURIComponent(L.substring(S,R)),S=-1),v+=P):S===-1&&(S=R)}}return S!==-1&&(v+=encodeURIComponent(L.substring(S))),v!==void 0?v:L}function x(L){let T;for(let z=0;z<L.length;z++){let v=L.charCodeAt(z);v===35||v===63?(T===void 0&&(T=L.substr(0,z)),T+=m[v]):T!==void 0&&(T+=L[z])}return T!==void 0?T:L}function w(L,T){let z;return z=L.authority&&L.path.length>1&&L.scheme==="file"?`//${L.authority}${L.path}`:L.path.charCodeAt(0)===47&&(L.path.charCodeAt(1)>=65&&L.path.charCodeAt(1)<=90||L.path.charCodeAt(1)>=97&&L.path.charCodeAt(1)<=122)&&L.path.charCodeAt(2)===58?T?L.path.substr(1):L.path[1].toLowerCase()+L.path.substr(2):L.path,r&&(z=z.replace(/\//g,"\\")),z}function A(L,T){let z=T?x:k,v="",{scheme:S,authority:R,path:M,query:P,fragment:F}=L;if(S&&(v+=S,v+=":"),(R||S==="file")&&(v+=c,v+=c),R){let U=R.indexOf("@");if(U!==-1){let O=R.substr(0,U);R=R.substr(U+1),U=O.lastIndexOf(":"),U===-1?v+=z(O,!1,!1):(v+=z(O.substr(0,U),!1,!1),v+=":",v+=z(O.substr(U+1),!1,!0)),v+="@"}R=R.toLowerCase(),U=R.lastIndexOf(":"),U===-1?v+=z(R,!1,!0):(v+=z(R.substr(0,U),!1,!0),v+=R.substr(U))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){let U=M.charCodeAt(1);U>=65&&U<=90&&(M=`/${String.fromCharCode(U+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){let U=M.charCodeAt(0);U>=65&&U<=90&&(M=`${String.fromCharCode(U+32)}:${M.substr(2)}`)}v+=z(M,!0,!1)}return P&&(v+="?",v+=z(P,!1,!1)),F&&(v+="#",v+=T?F:k(F,!1,!1)),v}function E(L){try{return decodeURIComponent(L)}catch{return L.length>3?L.substr(0,3)+E(L.substr(3)):L}}let D=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function N(L){return L.match(D)?L.replace(D,T=>E(T)):L}var b=n(470);let g=b.posix||b,y="/";var H;(function(L){L.joinPath=function(T,...z){return T.with({path:g.join(T.path,...z)})},L.resolvePath=function(T,...z){let v=T.path,S=!1;v[0]!==y&&(v=y+v,S=!0);let R=g.resolve(v,...z);return S&&R[0]===y&&!T.authority&&(R=R.substring(1)),T.with({path:R})},L.dirname=function(T){if(T.path.length===0||T.path===y)return T;let z=g.dirname(T.path);return z.length===1&&z.charCodeAt(0)===46&&(z=""),T.with({path:z})},L.basename=function(T){return g.basename(T.path)},L.extname=function(T){return g.extname(T.path)}})(H||(H={}))})(),Ml=i})();var{URI:uh,Utils:Ep}=Ml;function Fr(e){let t=e[0],n=e[e.length-1];return t===n&&(t==="'"||t==='"')&&(e=e.substring(1,e.length-1)),e}function ch(e,t){return!e.length||t==="handlebars"&&/{{|}}/.test(e)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(e)}function hh(e,t,n,i){if(/^\s*javascript\:/i.test(t)||/[\n\r]/.test(t))return;t=t.replace(/^\s*/g,"");let r=t.match(/^(\w[\w\d+.-]*):/);if(r){let s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?t:void 0}return/^\#/i.test(t)?e+t:/^\/\//i.test(t)?(Xe(e,"https://")?"https":"http")+":"+t.replace(/^\s*/g,""):n?n.resolveReference(t,i||e):t}function dh(e,t,n,i,r,s){let o=Fr(n);if(!ch(o,e.languageId))return;o.length<n.length&&(i++,r--);let l=hh(e.uri,o,t,s);if(!l)return;let a=mh(l,e);return{range:X.create(e.positionAt(i),e.positionAt(r)),target:a}}var fh=35;function mh(e,t){try{let n=uh.parse(e);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),e=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(e.startsWith(t.uri)&&e.charCodeAt(t.uri.length)===fh)?n.with({fragment:null}).toString(!0):e}catch{return}}var ph=class{constructor(e){this.dataManager=e}findDocumentLinks(e,t){let n=[],i=ge(e.getText(),0),r=i.scan(),s,o,l=!1,a,u={};for(;r!==I.EOS;){switch(r){case I.StartTag:o=i.getTokenText().toLowerCase(),a||(l=o==="base");break;case I.AttributeName:s=i.getTokenText().toLowerCase();break;case I.AttributeValue:if(o&&s&&this.dataManager.isPathAttribute(o,s)){let c=i.getTokenText();if(!l){let d=dh(e,t,c,i.getTokenOffset(),i.getTokenEnd(),a);d&&n.push(d)}l&&typeof a>"u"&&(a=Fr(c),a&&t&&(a=t.resolveReference(a,e.uri))),l=!1,s=void 0}else if(s==="id"){let c=Fr(i.getTokenText());u[c]=i.getTokenOffset()}break}r=i.scan()}for(let c of n){let d=e.uri+"#";if(c.target&&Xe(c.target,d)){let f=c.target.substring(d.length),p=u[f];if(p!==void 0){let _=e.positionAt(p);c.target=`${d}${_.line+1},${_.character+1}`}else c.target=e.uri}}return n}};function gh(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag)return[];let s=[],o=kl(I.StartTag,e,r.start),l=typeof r.endTagStart=="number"&&kl(I.EndTag,e,r.endTagStart);return(o&&Sl(o,t)||l&&Sl(l,t))&&(o&&s.push({kind:Zn.Read,range:o}),l&&s.push({kind:Zn.Read,range:l})),s}function Tl(e,t){return e.line<t.line||e.line===t.line&&e.character<=t.character}function Sl(e,t){return Tl(e.start,t)&&Tl(t,e.end)}function kl(e,t,n){let i=ge(t.getText(),n),r=i.scan();for(;r!==I.EOS&&r!==e;)r=i.scan();return r!==I.EOS?{start:t.positionAt(i.getTokenOffset()),end:t.positionAt(i.getTokenEnd())}:null}function bh(e,t){let n=[],i=Nl(e,t);for(let s of i)r(s,void 0);return n;function r(s,o){let l=Cr.create(s.name,s.kind,s.range,e.uri,o?.name);if(l.containerName??(l.containerName=""),n.push(l),s.children)for(let a of s.children)r(a,s)}}function Nl(e,t){let n=[];return t.roots.forEach(i=>{Dl(e,i,n)}),n}function Dl(e,t,n){let i=_h(t),r=X.create(e.positionAt(t.start),e.positionAt(t.end)),s=Er.create(i,void 0,Lr.Field,r,r);n.push(s),t.children.forEach(o=>{s.children??(s.children=[]),Dl(e,o,s.children)})}function _h(e){let t=e.tag;if(e.attributes){let n=e.attributes.id,i=e.attributes.class;n&&(t+=`#${n.replace(/[\"\']/g,"")}`),i&&(t+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return t||"?"}function wh(e,t,n,i){let r=e.offsetAt(t),s=i.findNodeAt(r);if(!s.tag||!vh(s,r,s.tag))return null;let o=[],l={start:e.positionAt(s.start+1),end:e.positionAt(s.start+1+s.tag.length)};if(o.push({range:l,newText:n}),s.endTagStart){let u={start:e.positionAt(s.endTagStart+2),end:e.positionAt(s.endTagStart+2+s.tag.length)};o.push({range:u,newText:n})}return{changes:{[e.uri.toString()]:o}}}function vh(e,t,n){return e.endTagStart&&e.endTagStart+2<=t&&t<=e.endTagStart+2+n.length?!0:e.start+1<=t&&t<=e.start+1+n.length}function xh(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){let s=i-1-r.start+r.endTagStart+2;return e.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){let s=i-2-r.endTagStart+r.start+1;return e.positionAt(s)}return null}function Al(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[X.create(e.positionAt(r.start+1),e.positionAt(r.start+1+s)),X.create(e.positionAt(r.endTagStart+2),e.positionAt(r.endTagStart+2+s))]:null}var yh=class{constructor(e){this.dataManager=e}limitRanges(e,t){e=e.sort((c,d)=>{let f=c.startLine-d.startLine;return f===0&&(f=c.endLine-d.endLine),f});let n,i=[],r=[],s=[],o=(c,d)=>{r[c]=d,d<30&&(s[d]=(s[d]||0)+1)};for(let c=0;c<e.length;c++){let d=e[c];if(!n)n=d,o(c,0);else if(d.startLine>n.startLine){if(d.endLine<=n.endLine)i.push(n),n=d,o(c,i.length);else if(d.startLine>n.endLine){do n=i.pop();while(n&&d.startLine>n.endLine);n&&i.push(n),n=d,o(c,i.length)}}}let l=0,a=0;for(let c=0;c<s.length;c++){let d=s[c];if(d){if(d+l>t){a=c;break}l+=d}}let u=[];for(let c=0;c<e.length;c++){let d=r[c];typeof d=="number"&&(d<a||d===a&&l++<t)&&u.push(e[c])}return u}getFoldingRanges(e,t){let n=this.dataManager.getVoidElements(e.languageId),i=ge(e.getText()),r=i.scan(),s=[],o=[],l=null,a=-1;function u(d){s.push(d),a=d.startLine}for(;r!==I.EOS;){switch(r){case I.StartTag:{let d=i.getTokenText(),f=e.positionAt(i.getTokenOffset()).line;o.push({startLine:f,tagName:d}),l=d;break}case I.EndTag:{l=i.getTokenText();break}case I.StartTagClose:if(!l||!this.dataManager.isVoidElement(l,n))break;case I.EndTagClose:case I.StartTagSelfClose:{let d=o.length-1;for(;d>=0&&o[d].tagName!==l;)d--;if(d>=0){let f=o[d];o.length=d;let p=e.positionAt(i.getTokenOffset()).line,_=f.startLine,m=p-1;m>_&&a!==_&&u({startLine:_,endLine:m})}break}case I.Comment:{let d=e.positionAt(i.getTokenOffset()).line,p=i.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(p)if(p[1])o.push({startLine:d,tagName:""});else{let _=o.length-1;for(;_>=0&&o[_].tagName.length;)_--;if(_>=0){let m=o[_];o.length=_;let k=d;d=m.startLine,k>d&&a!==d&&u({startLine:d,endLine:k,kind:Yn.Region})}}else{let _=e.positionAt(i.getTokenOffset()+i.getTokenLength()).line;d<_&&u({startLine:d,endLine:_,kind:Yn.Comment})}break}}r=i.scan()}let c=t&&t.rangeLimit||Number.MAX_VALUE;return s.length>c?this.limitRanges(s,c):s}},Th=class{constructor(e){this.htmlParser=e}getSelectionRanges(e,t){let n=this.htmlParser.parseDocument(e);return t.map(i=>this.getSelectionRange(i,e,n))}getSelectionRange(e,t,n){let i=this.getApplicableRanges(t,e,n),r,s;for(let o=i.length-1;o>=0;o--){let l=i[o];(!r||l[0]!==r[0]||l[1]!==r[1])&&(s=ei.create(X.create(t.positionAt(i[o][0]),t.positionAt(i[o][1])),s)),r=l}return s||(s=ei.create(X.create(e,e))),s}getApplicableRanges(e,t,n){let i=e.offsetAt(t),r=n.findNodeAt(i),s=this.getAllParentTagRanges(r);if(r.startTagEnd&&!r.endTagStart){if(r.startTagEnd!==r.end)return[[r.start,r.end]];let o=X.create(e.positionAt(r.startTagEnd-2),e.positionAt(r.startTagEnd));return e.getText(o)==="/>"?s.unshift([r.start+1,r.startTagEnd-2]):s.unshift([r.start+1,r.startTagEnd-1]),s=this.getAttributeLevelRanges(e,r,i).concat(s),s}return!r.startTagEnd||!r.endTagStart?s:(s.unshift([r.start,r.end]),r.start<i&&i<r.startTagEnd?(s.unshift([r.start+1,r.startTagEnd-1]),s=this.getAttributeLevelRanges(e,r,i).concat(s),s):r.startTagEnd<=i&&i<=r.endTagStart?(s.unshift([r.startTagEnd,r.endTagStart]),s):(i>=r.endTagStart+2&&s.unshift([r.endTagStart+2,r.end-1]),s))}getAllParentTagRanges(e){let t=e,n=[];for(;t.parent;)t=t.parent,this.getNodeRanges(t).forEach(i=>n.push(i));return n}getNodeRanges(e){return e.startTagEnd&&e.endTagStart&&e.startTagEnd<e.endTagStart?[[e.startTagEnd,e.endTagStart],[e.start,e.end]]:[[e.start,e.end]]}getAttributeLevelRanges(e,t,n){let i=X.create(e.positionAt(t.start),e.positionAt(t.end)),r=e.getText(i),s=n-t.start,o=ge(r),l=o.scan(),a=t.start,u=[],c=!1,d=-1;for(;l!==I.EOS;){switch(l){case I.AttributeName:{if(s<o.getTokenOffset()){c=!1;break}s<=o.getTokenEnd()&&u.unshift([o.getTokenOffset(),o.getTokenEnd()]),c=!0,d=o.getTokenOffset();break}case I.AttributeValue:{if(!c)break;let f=o.getTokenText();if(s<o.getTokenOffset()){u.push([d,o.getTokenEnd()]);break}s>=o.getTokenOffset()&&s<=o.getTokenEnd()&&(u.unshift([o.getTokenOffset(),o.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&s>=o.getTokenOffset()+1&&s<=o.getTokenEnd()-1&&u.unshift([o.getTokenOffset()+1,o.getTokenEnd()-1]),u.push([d,o.getTokenEnd()]));break}}l=o.scan()}return u.map(f=>[f[0]+a,f[1]+a])}},Sh={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
|
|
60
60
|
|
|
61
61
|
This metadata name is associated with the value contained by the [\`content\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:
|
|
62
62
|
|
|
@@ -456,7 +456,7 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
|
|
|
456
456
|
|
|
457
457
|
* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
|
|
458
458
|
* \`0\` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
|
|
459
|
-
* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]},Zh=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,t){this.dataProviders=[],e&&this.dataProviders.push(new Kl("html5",Qh)),this.dataProviders.push(...t)}getDataProviders(){return this.dataProviders}isVoidElement(e,t){return!!e&&ah(t,e.toLowerCase(),(n,i)=>n.localeCompare(i))>=0}getVoidElements(e){let t=Array.isArray(e)?e:this.getDataProviders().filter(i=>i.isApplicable(e)),n=[];return t.forEach(i=>{i.provideTags().filter(r=>r.void).forEach(r=>n.push(r.name))}),n.sort()}isPathAttribute(e,t){if(t==="src"||t==="href")return!0;let n=Kh[e];return n?typeof n=="string"?n===t:n.indexOf(t)!==-1:!1}},Kh={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},ed={};function td(e=ed){let t=new Zh(e),n=new Lh(e,t),i=new Th(e,t),r=new oh(t),s=new Jh(r),o=new Yh(t),l=new Oh(t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:_e,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:Nh,findDocumentHighlights:qh,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:Vh,findDocumentSymbols2:iu,getFoldingRanges:o.getFoldingRanges.bind(o),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:Gh,findMatchingTagPosition:Xh,findOnTypeRenameRanges:Ql,findLinkedEditingRanges:Ql}}function nd(e,t){return new Kl(e,t)}var id=class{constructor(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId;let n=this._languageSettings.data,i=n?.useDefaultDataProvider,r=[];if(n?.dataProviders)for(let s in n.dataProviders)r.push(nd(s,n.dataProviders[s]));this._languageService=td({useDefaultDataProvider:i,customDataProviders:r})}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let i=this._languageService.parseHTMLDocument(n);return Promise.resolve(this._languageService.doComplete(n,t,i,this._languageSettings&&this._languageSettings.suggest))}async format(e,t,n){let i=this._getTextDocument(e);if(!i)return[];let r={...this._languageSettings.format,...n},s=this._languageService.format(i,t,r);return Promise.resolve(s)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let i=this._languageService.parseHTMLDocument(n),r=this._languageService.doHover(n,t,i);return Promise.resolve(r)}async findDocumentHighlights(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentHighlights(n,t,i);return Promise.resolve(r)}async findDocumentLinks(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.findDocumentLinks(t,null);return Promise.resolve(n)}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseHTMLDocument(t),i=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(i)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.getFoldingRanges(n,t);return Promise.resolve(i)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.getSelectionRanges(n,t);return Promise.resolve(i)}async doRename(e,t,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doRename(i,t,n,r);return Promise.resolve(s)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return rs.create(e,this._languageId,n.version,n.getValue());return null}};self.onmessage=()=>{Pr((e,t)=>new id(e,t))};})();
|
|
459
|
+
* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]},kh=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,t){this.dataProviders=[],e&&this.dataProviders.push(new Cl("html5",Sh)),this.dataProviders.push(...t)}getDataProviders(){return this.dataProviders}isVoidElement(e,t){return!!e&&Dc(t,e.toLowerCase(),(n,i)=>n.localeCompare(i))>=0}getVoidElements(e){let t=Array.isArray(e)?e:this.getDataProviders().filter(i=>i.isApplicable(e)),n=[];return t.forEach(i=>{i.provideTags().filter(r=>r.void).forEach(r=>n.push(r.name))}),n.sort()}isPathAttribute(e,t){if(t==="src"||t==="href")return!0;let n=Ah[e];return n?typeof n=="string"?n===t:n.indexOf(t)!==-1:!1}},Ah={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]},Lh={};function Ch(e=Lh){let t=new kh(e),n=new eh(e,t),i=new Jc(e,t),r=new Ic(t),s=new Th(r),o=new yh(t),l=new ph(t);return{setDataProviders:t.setDataProviders.bind(t),createScanner:ge,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:sh,findDocumentHighlights:gh,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:bh,findDocumentSymbols2:Nl,getFoldingRanges:o.getFoldingRanges.bind(o),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:wh,findMatchingTagPosition:xh,findOnTypeRenameRanges:Al,findLinkedEditingRanges:Al}}function Eh(e,t){return new Cl(e,t)}var Rh=class{constructor(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId;let n=this._languageSettings.data,i=n?.useDefaultDataProvider,r=[];if(n?.dataProviders)for(let s in n.dataProviders)r.push(Eh(s,n.dataProviders[s]));this._languageService=Ch({useDefaultDataProvider:i,customDataProviders:r})}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let i=this._languageService.parseHTMLDocument(n);return Promise.resolve(this._languageService.doComplete(n,t,i,this._languageSettings&&this._languageSettings.suggest))}async format(e,t,n){let i=this._getTextDocument(e);if(!i)return[];let r={...this._languageSettings.format,...n},s=this._languageService.format(i,t,r);return Promise.resolve(s)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let i=this._languageService.parseHTMLDocument(n),r=this._languageService.doHover(n,t,i);return Promise.resolve(r)}async findDocumentHighlights(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentHighlights(n,t,i);return Promise.resolve(r)}async findDocumentLinks(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.findDocumentLinks(t,null);return Promise.resolve(n)}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseHTMLDocument(t),i=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(i)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.getFoldingRanges(n,t);return Promise.resolve(i)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.getSelectionRanges(n,t);return Promise.resolve(i)}async doRename(e,t,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doRename(i,t,n,r);return Promise.resolve(s)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return Dr.create(e,this._languageId,n.version,n.getValue());return null}};self.onmessage=()=>{mr((e,t)=>new Rh(e,t))};})();
|
|
460
460
|
/*! Bundled license information:
|
|
461
461
|
|
|
462
462
|
monaco-editor/esm/vs/language/html/html.worker.js:
|