You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vite-vue3-lowcode/assets/json.worker.997795ea.js

8 lines
291 KiB

var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n);!function(){"use strict";const e=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function t(t){(function(e){if(e instanceof i)return!0;return e instanceof Error&&e.name===r&&e.message===r})(t)||e.onUnexpectedError(t)}function n(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}const r="Canceled";class i extends Error{constructor(){super(r),this.name=this.message}}function o(e){const t=this;let n,r=!1;return function(){return r||(r=!0,n=e.apply(t,arguments)),n}}var a,s;!function(e){e.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};const t=Object.freeze([]);e.empty=function(){return t},e.single=function*(e){yield e},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){for(const n of e)if(t(n))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.concat=function*(...e){for(const t of e)for(const e of t)yield e},e.concatNested=function*(e){for(const t of e)for(const e of t)yield e},e.reduce=function(e,t,n){let r=n;for(const i of e)r=t(r,i);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t<n;t++)yield e[t]},e.consume=function(t,n=Number.POSITIVE_INFINITY){const r=[];if(0===n)return[r,t];const i=t[Symbol.iterator]();for(let o=0;o<n;o++){const t=i.next();if(t.done)return[r,e.empty()];r.push(t.value)}return[r,{[Symbol.iterator]:()=>i}]},e.equals=function(e,t,n=((e,t)=>e===t)){const r=e[Symbol.iterator](),i=t[Symbol.iterator]();for(;;){const e=r.next(),t=i.next();if(e.done!==t.done)return!1;if(e.done)return!0;if(!n(e.value,t.value))return!1}}}(a||(a={}));class c extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function l(e){if(a.is(e)){let n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new c(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function u(e){return{dispose:o((()=>{e()}))}}class h{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{l(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?h.DISABLE_DISPOSED_WARNING:this._toDispose.add(e),e}}h.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new h,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class d{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0)},this}}class m{constructor(e){this.element=e,this.next=m.Undefined,this.prev=m.Undefined}}m.Undefined=new m(void 0);class g{constructor(){this._first=m.Undefined,this._last=m.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===m.Undefined}clear(){let e=this._first;for(;e!==m.Undefined;){const t=e.next;e.prev=m.Undefined,e.next=m.Undefined,e=t}this._first=m.Undefined,this._last=m.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new m(e);if(this._first===m.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==m.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==m.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==m.Undefined&&e.next!==m.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===m.Undefined&&e.next===m.Undefined?(this._first=m.Undefined,this._last=m.Undefined):e.next===m.Undefined?(this._last=this._last.prev,this._last.next=m.Undefined):e.prev===m.Undefined&&(this._first=this._first.next,this._first.prev=m.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==m.Undefined;)yield e.element,e=e.next}}const p="en";let b,v,y,C=!1,w=!1,_=!1,S=!1,A=p;const E="object"==typeof self?self:"object"==typeof global?global:{};let x;void 0!==E.vscode&&void 0!==E.vscode.process?x=E.vscode.process:"undefined"!=typeof process&&(x=process);const N="string"==typeof(null===(s=null==x?void 0:x.versions)||void 0===s?void 0:s.electron)&&"renderer"===(null==x?void 0:x.type);if("object"!=typeof navigator||N){if("object"==typeof x){C="win32"===x.platform,w="darwin"===x.platform,_="linux"===x.platform,_&&x.env.SNAP&&x.env.SNAP_REVISION,x.env.CI||x.env.BUILD_ARTIFACTSTAGINGDIRECTORY,b=p,A=p;const e=x.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];b=t.locale,A=n||p,v=t._translationsConfigFile}catch(Cs){}}}else y=navigator.userAgent,C=y.indexOf("Windows")>=0,w=y.indexOf("Macintosh")>=0,(y.indexOf("Macintosh")>=0||y.indexOf("iPad")>=0||y.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints,_=y.indexOf("Linux")>=0,S=!0,b=navigator.language,A=b;const k=C,L=w;S&&E.importScripts;const T=y;(()=>{if("function"==typeof E.postMessage&&!E.importScripts){let e=[];E.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void r.callback()}}));let t=0;return n=>{const r=++t;e.push({id:r,callback:n}),E.postMessage({vscodeScheduleAsyncWork:r},"*")}}})();const O=!!(T&&T.indexOf("Chrome")>=0);T&&T.indexOf("Firefox"),!O&&T&&T.indexOf("Safari"),T&&T.indexOf("Edg/"),T&&T.indexOf("Android");const M=E.performance&&"function"==typeof E.performance.now;class I{constructor(e){this._highResolution=M&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new I(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?E.performance.now():Date.now()}}var P,R;!function(e){function t(e){return(t,n=null,r)=>{let i,o=!1;return i=e((e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function n(e,t,n){return a(((n,r=null,i)=>e((e=>n.call(r,t(e))),null,i)),n)}function r(e,t,n){return a(((n,r=null,i)=>e((e=>{t(e),n.call(r,e)}),null,i)),n)}function i(e,t,n){return a(((n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)),n)}function o(e,t,r,i){let o=r;return n(e,(e=>(o=t(o,e),o)),i)}function a(e,t){let n;const r=new K({onFirstListenerAdd(){n=e(r.fire,r)},onLastListenerRemove(){n.dispose()}});return t&&t.add(r),r.event}function s(e,t,n=100,r=!1,i,o){let a,s,c,l=0;const u=new K({leakWarningThreshold:i,onFirstListenerAdd(){a=e((e=>{l++,s=t(s,e),r&&!c&&(u.fire(s),s=void 0),clearTimeout(c),c=setTimeout((()=>{const e=s;s=void 0,c=void 0,(!r||l>1)&&u.fire(e),l=0}),n)}))},onLastListenerRemove(){a.dispose()}});return o&&o.add(u),u.event}function c(e,t=((e,t)=>e===t),n){let r,o=!0;return i(e,(e=>{const n=o||!t(e,r);return o=!1,r=e,n}),n)}e.None=()=>f.None,e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>function(...e){return u((()=>l(e)))}(...e.map((e=>e((e=>t.call(n,e)),null,r))))},e.reduce=o,e.debounce=s,e.latch=c,e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,(e=>!n(e)),r)]},e.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e((e=>{r?r.push(e):a.fire(e)}));const o=()=>{r&&r.forEach((e=>a.fire(e))),r=null},a=new K({onFirstListenerAdd(){i||(i=e((e=>a.fire(e))))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return a.event};class d{constructor(e){this.event=e}map(e){return new d(n(this.event,e))}forEach(e){return new d(r(this.event,e))}filter(e){return new d(i(this.event,e))}reduce(e,t){return new d(o(this.event,e,t))}latch(){return new d(c(this.event))}debounce(e,t=100,n=!1,r){return new d(s(this.event,e,t,n,r))}on(e,t,n){return this.event(e,t,n)}once(e,n,r){return t(this.event)(e,n,r)}}e.chain=function(e){return new d(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new K({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const r=(...e)=>i.fire(n(...e)),i=new K({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise((n=>t(e)(n)))},e.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))},e.runAndSubscribeWithStore=function(e,t){let n=null;function r(e){null==n||n.dispose(),n=new h,t(e,n)}r(void 0);const i=e((e=>r(e)));return u((()=>{i.dispose(),null==n||n.dispose()}))}}(P||(P={}));class V{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${V._idPool++}`}start(e){this._stopWatch=new I(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0}}}V._idPool=0;class F{constructor(e){this.value=e}static create(){var e;return new F(null!==(e=(new Error).stack)&&void 0!==e?e:"")}print(){}}class D{constructor(e,t,n){this.callback=e,this.callbackThis=t,this.stack=n,this.subscription=new d}invoke(e){this.callback.call(this.callbackThis,e)}}class K{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new V(this._options._profName):void 0}dispose(){var e,t,n,r;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),null===(e=this._deliveryQueue)||void 0===e||e.clear(),null===(n=null===(t=this._options)||void 0===t?void 0:t.onLastListenerRemove)||void 0===n||n.call(t),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){return this._event||(this._event=(e,t,n)=>{var r,i,o;this._listeners||(this._listeners=new g);const a=this._listeners.isEmpty();let s,c;a&&(null===(r=this._options)||void 0===r?void 0:r.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this),this._leakageMon&&this._listeners.size>=30&&(c=F.create(),s=this._leakageMon.check(c,this._listeners.size+1));const l=new D(e,t,c),u=this._listeners.push(l);a&&(null===(i=this._options)||void 0===i?void 0:i.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),(null===(o=this._options)||void 0===o?void 0:o.onListenerDidAdd)&&this._options.onListenerDidAdd(this,e,t);const f=l.subscription.set((()=>{if(s&&s(),!this._disposed&&(u(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}));return n instanceof h?n.add(f):Array.isArray(n)&&n.push(f),f}),this._event}fire(e){var n,r;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new g);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(null===(n=this._perfMon)||void 0===n||n.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[e,n]=this._deliveryQueue.shift();try{e.invoke(n)}catch(Cs){t(Cs)}}null===(r=this._perfMon)||void 0===r||r.stop()}}}function j(e){const t=[];for(const n of function(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e))"function"==typeof e[n]&&t.push(n);return t}function U(e,t="Unreachable"){throw new Error(t)}class B{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function q(e){return e>=65&&e<=90}function $(e){return 55296<=e&&e<=56319}function W(e,t,n){const r=e.charCodeAt(n);if($(r)&&n+1<t){const t=e.charCodeAt(n+1);if(function(e){return 56320<=e&&e<=57343}(t))return t-56320+(r-55296<<10)+65536}return r}const H=/^[\t\n\r\x20-\x7E]*$/;class z{constructor(e){this.confusableDictionary=e}static getInstance(e){return z.cache.get(Array.from(e))}static getLocales(){return z._locales.getValue()}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}R=z,z.ambiguousCharacterData=new B((()=>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],"_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]}'))),z.cache=new class{constructor(e){this.computeFn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.computeFn(e)),this.lastCache}}((e=>{function t(e){const t=new Map;for(let n=0;n<e.length;n+=2)t.set(e[n],e[n+1]);return t}function n(e,t){if(!e)return t;const n=new Map;for(const[r,i]of e)t.has(r)&&n.set(r,i);return n}const r=R.ambiguousCharacterData.getValue();let i,o=e.filter((e=>!e.startsWith("_")&&e in r));0===o.length&&(o=["_default"]);for(const s of o){i=n(i,t(r[s]))}const a=function(e,t){const n=new Map(e);for(const[r,i]of t)n.set(r,i);return n}(t(r._common),i);return new z(a)})),z._locales=new B((()=>Object.keys(z.ambiguousCharacterData.getValue()).filter((e=>!e.startsWith("_")))));class G{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(G.getRawData())),this._data}static isInvisibleCharacter(e){return G.getData().has(e)}static get codePoints(){return G.getData()}}G._data=void 0;class J{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class X{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class Z{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class Y{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Q{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class ee{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise(((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send(new J(this._workerId,n,e,t))}))}listen(e,t){let n=null;const r=new K({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new Z(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new Q(this._workerId,n)),n=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return;let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new X(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=n(e.detail)),this._send(new X(this._workerId,t,void 0,n(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new Y(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)&&this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)&&(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req))}_send(e){let t=[];if(0===e.type)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else 1===e.type&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}function te(e){return"o"===e[0]&&"n"===e[1]&&q(e.charCodeAt(2))}function ne(e){return/^onDynamic/.test(e)&&q(e.charCodeAt(9))}class re{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new ee({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t),handleEvent:(e,t)=>this._handleEvent(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if("$initialize"===e)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(Cs){return Promise.reject(Cs)}}_handleEvent(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(ne(e)){const n=this._requestHandler[e].call(this._requestHandler,t);if("function"!=typeof n)throw new Error(`Missing dynamic event ${e} on request handler.`);return n}if(te(e)){const t=this._requestHandler[e];if("function"!=typeof t)throw new Error(`Missing event ${e} on request handler.`);return t}throw new Error(`Malformed event name ${e}`)}initialize(e,t,n,r){this._protocol.setWorkerId(e);const i=function(e,t,n){const r=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},i=e=>function(t){return n(e,t)};let o={};for(const a of e)ne(a)?o[a]=i(a):te(a)?o[a]=n(a,void 0):o[a]=r(a);return o}(r,((e,t)=>this._protocol.sendMessage(e,t)),((e,t)=>this._protocol.listen(e,t)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(j(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,E.require.config(t)),new Promise(((e,t)=>{(0,E.require)([n],(n=>{this._requestHandler=n.create(i),this._requestHandler?e(j(this._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}class ie{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function oe(e,t){return(t<<5)-t+e|0}function ae(e,t){t=oe(149417,t);for(let n=0,r=e.length;n<r;n++)t=oe(e.charCodeAt(n),t);return t}class se{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function ce(e,t,n){return new fe(new se(e),new se(t)).ComputeDiff(n).changes}class le{static Assert(e,t){if(!e)throw new Error(t)}}class ue{static Copy(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,i){for(let o=0;o<i;o++)n[r+o]=e[t+o]}}class he{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 ie(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(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class fe{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,o]=fe._getElements(e),[a,s,c]=fe._getElements(t);this._hasStrings=o&&c,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(fe._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n<r;n++)e[n]=ae(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}ElementsAreStrictEqual(e,t){if(!this.ElementsAreEqual(e,t))return!1;return fe._getStrictElement(this._originalSequence,e)===fe._getStrictElement(this._modifiedSequence,t)}static _getStrictElement(e,t){return"function"==typeof e.getStrictElement?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,i){const o=[!1];let a=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}ComputeDiffRecursive(e,t,n,r,i){for(i[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let i;return n<=r?(le.Assert(e===t+1,"originalStart should only be one more than originalEnd"),i=[new ie(e,0,n,r-n+1)]):e<=t?(le.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new ie(e,t-e+1,n,0)]):(le.Assert(e===t+1,"originalStart should only be one more than originalEnd"),le.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const o=[0],a=[0],s=this.ComputeRecursionPoint(e,t,n,r,o,a,i),c=o[0],l=a[0];if(null!==s)return s;if(!i[0]){const o=this.ComputeDiffRecursive(e,c,n,l,i);let a=[];return a=i[0]?[new ie(c+1,t-(c+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(c+1,t,l+1,r,i),this.ConcatenateChanges(o,a)}return[new ie(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,i,o,a,s,c,l,u,h,f,d,m,g,p,b){let v=null,y=null,C=new he,w=t,_=n,S=f[0]-g[0]-r,A=-1073741824,E=this.m_forwardHistory.length-1;do{const t=S+e;t===w||t<_&&c[t-1]<c[t+1]?(d=(u=c[t+1])-S-r,u<A&&C.MarkNextChange(),A=u,C.AddModifiedElement(u+1,d),S=t+1-e):(d=(u=c[t-1]+1)-S-r,u<A&&C.MarkNextChange(),A=u-1,C.AddOriginalElement(u,d+1),S=t-1-e),E>=0&&(e=(c=this.m_forwardHistory[E])[0],w=1,_=c.length-1)}while(--E>=-1);if(v=C.getReverseChanges(),b[0]){let e=f[0]+1,t=g[0]+1;if(null!==v&&v.length>0){const n=v[v.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new ie(e,h-e+1,t,m-t+1)]}else{C=new he,w=o,_=a,S=f[0]-g[0]-s,A=1073741824,E=p?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=S+i;e===w||e<_&&l[e-1]>=l[e+1]?(d=(u=l[e+1]-1)-S-s,u>A&&C.MarkNextChange(),A=u+1,C.AddOriginalElement(u+1,d+1),S=e+1-i):(d=(u=l[e-1])-S-s,u>A&&C.MarkNextChange(),A=u,C.AddModifiedElement(u+1,d+1),S=e-1-i),E>=0&&(i=(l=this.m_reverseHistory[E])[0],w=1,_=l.length-1)}while(--E>=-1);y=C.getChanges()}return this.ConcatenateChanges(v,y)}ComputeRecursionPoint(e,t,n,r,i,o,a){let s=0,c=0,l=0,u=0,h=0,f=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const d=t-e+(r-n),m=d+1,g=new Int32Array(m),p=new Int32Array(m),b=r-n,v=t-e,y=e-n,C=t-r,w=(v-b)%2==0;g[b]=e,p[v]=t,a[0]=!1;for(let _=1;_<=d/2+1;_++){let d=0,S=0;l=this.ClipDiagonalBound(b-_,_,b,m),u=this.ClipDiagonalBound(b+_,_,b,m);for(let e=l;e<=u;e+=2){s=e===l||e<u&&g[e-1]<g[e+1]?g[e+1]:g[e-1]+1,c=s-(e-b)-y;const n=s;for(;s<t&&c<r&&this.ElementsAreEqual(s+1,c+1);)s++,c++;if(g[e]=s,s+c>d+S&&(d=s,S=c),!w&&Math.abs(e-v)<=_-1&&s>=p[e])return i[0]=s,o[0]=c,n<=p[e]&&_<=1448?this.WALKTRACE(b,l,u,y,v,h,f,C,g,p,s,t,i,c,r,o,w,a):null}const A=(d-e+(S-n)-_)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(d,A))return a[0]=!0,i[0]=d,o[0]=S,A>0&&_<=1448?this.WALKTRACE(b,l,u,y,v,h,f,C,g,p,s,t,i,c,r,o,w,a):(e++,n++,[new ie(e,t-e+1,n,r-n+1)]);h=this.ClipDiagonalBound(v-_,_,v,m),f=this.ClipDiagonalBound(v+_,_,v,m);for(let m=h;m<=f;m+=2){s=m===h||m<f&&p[m-1]>=p[m+1]?p[m+1]-1:p[m-1],c=s-(m-v)-C;const d=s;for(;s>e&&c>n&&this.ElementsAreEqual(s,c);)s--,c--;if(p[m]=s,w&&Math.abs(m-b)<=_&&s<=g[m])return i[0]=s,o[0]=c,d>=g[m]&&_<=1448?this.WALKTRACE(b,l,u,y,v,h,f,C,g,p,s,t,i,c,r,o,w,a):null}if(_<=1447){let e=new Int32Array(u-l+2);e[0]=b-l+1,ue.Copy2(g,l,e,1,u-l+1),this.m_forwardHistory.push(e),e=new Int32Array(f-h+2),e[0]=v-h+1,ue.Copy2(p,h,e,1,f-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,l,u,y,v,h,f,C,g,p,s,t,i,c,r,o,w,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const e=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!e)break;n.originalStart++,n.modifiedStart++}let s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const o=n.originalLength>0,a=n.modifiedLength>0;let s=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,l=n.modifiedStart-e;if(t<r||l<i)break;if(o&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(l,l+n.modifiedLength))break;const u=(t===r&&l===i?5:0)+this._boundaryScore(t,n.originalLength,l,n.modifiedLength);u>c&&(c=u,s=e)}n.originalStart-=s,n.modifiedStart-=s;const l=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],l)&&(e[t-1]=l[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t<n;t++){const n=e[t-1],r=e[t],i=r.originalStart-n.originalStart-n.originalLength,o=n.originalStart,a=r.originalStart+r.originalLength,s=a-o,c=n.modifiedStart,l=r.modifiedStart+r.modifiedLength,u=l-c;if(i<5&&s<20&&u<20){const e=this._findBetterContiguousSequence(o,s,c,u,i);if(e){const[t,o]=e;t===n.originalStart+n.originalLength&&o===n.modifiedStart+n.modifiedLength||(n.originalLength=t-n.originalStart,n.modifiedLength=o-n.modifiedStart,r.originalStart=t+i,r.modifiedStart=o+i,r.originalLength=a-r.originalStart,r.modifiedLength=l-r.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,n,r,i){if(t<i||r<i)return null;const o=e+t-i+1,a=n+r-i+1;let s=0,c=0,l=0;for(let u=e;u<o;u++)for(let e=n;e<a;e++){const t=this._contiguousSequenceScore(u,e,i);t>0&&t>s&&(s=t,c=u,l=e)}return s>0?[c,l]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i<n;i++){if(!this.ElementsAreEqual(e+i,t+i))return 0;r+=this._originalStringElements[e+i].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return ue.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],ue.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return ue.Copy(e,0,n,0,e.length),ue.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(le.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),le.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let i=e.originalLength;const o=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new ie(r,i,o,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const i=t%2==0;if(e<0){return i===(n%2==0)?0:1}return i===((r-n-1)%2==0)?r-1:r-2}}let de;if(void 0!==E.vscode&&void 0!==E.vscode.process){const e=E.vscode.process;de={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else de="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return k?"win32":L?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const me=de.cwd,ge=de.env,pe=de.platform,be=46,ve=47,ye=92,Ce=58;class we extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let o=`The "${e}" ${i} ${r} of type ${t}`;o+=". Received type "+typeof n,super(o),this.code="ERR_INVALID_ARG_TYPE"}}function _e(e,t){if("string"!=typeof e)throw new we(t,"string",e)}function Se(e){return e===ve||e===ye}function Ae(e){return e===ve}function Ee(e){return e>=65&&e<=90||e>=97&&e<=122}function xe(e,t,n,r){let i="",o=0,a=-1,s=0,c=0;for(let l=0;l<=e.length;++l){if(l<e.length)c=e.charCodeAt(l);else{if(r(c))break;c=ve}if(r(c)){if(a===l-1||1===s);else if(2===s){if(i.length<2||2!==o||i.charCodeAt(i.length-1)!==be||i.charCodeAt(i.length-2)!==be){if(i.length>2){const e=i.lastIndexOf(n);-1===e?(i="",o=0):(i=i.slice(0,e),o=i.length-1-i.lastIndexOf(n)),a=l,s=0;continue}if(0!==i.length){i="",o=0,a=l,s=0;continue}}t&&(i+=i.length>0?`${n}..`:"..",o=2)}else i.length>0?i+=`${n}${e.slice(a+1,l)}`:i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else c===be&&-1!==s?++s:s=-1}return i}function Ne(e,t){if(null===t||"object"!=typeof t)throw new we("pathObject","Object",t);const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const ke={resolve(...e){let t="",n="",r=!1;for(let i=e.length-1;i>=-1;i--){let o;if(i>=0){if(o=e[i],_e(o,"path"),0===o.length)continue}else 0===t.length?o=me():(o=ge[`=${t}`]||me(),(void 0===o||o.slice(0,2).toLowerCase()!==t.toLowerCase()&&o.charCodeAt(2)===ye)&&(o=`${t}\\`));const a=o.length;let s=0,c="",l=!1;const u=o.charCodeAt(0);if(1===a)Se(u)&&(s=1,l=!0);else if(Se(u))if(l=!0,Se(o.charCodeAt(1))){let e=2,t=e;for(;e<a&&!Se(o.charCodeAt(e));)e++;if(e<a&&e!==t){const n=o.slice(t,e);for(t=e;e<a&&Se(o.charCodeAt(e));)e++;if(e<a&&e!==t){for(t=e;e<a&&!Se(o.charCodeAt(e));)e++;e!==a&&e===t||(c=`\\\\${n}\\${o.slice(t,e)}`,s=e)}}}else s=1;else Ee(u)&&o.charCodeAt(1)===Ce&&(c=o.slice(0,2),s=2,a>2&&Se(o.charCodeAt(2))&&(l=!0,s=3));if(c.length>0)if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c;if(r){if(t.length>0)break}else if(n=`${o.slice(s)}\\${n}`,r=l,l&&t.length>0)break}return n=xe(n,!r,"\\",Se),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){_e(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const o=e.charCodeAt(0);if(1===t)return Ae(o)?"\\":e;if(Se(o))if(i=!0,Se(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!Se(e.charCodeAt(i));)i++;if(i<t&&i!==o){const a=e.slice(o,i);for(o=i;i<t&&Se(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!Se(e.charCodeAt(i));)i++;if(i===t)return`\\\\${a}\\${e.slice(o)}\\`;i!==o&&(n=`\\\\${a}\\${e.slice(o,i)}`,r=i)}}}else r=1;else Ee(o)&&e.charCodeAt(1)===Ce&&(n=e.slice(0,2),r=2,t>2&&Se(e.charCodeAt(2))&&(i=!0,r=3));let a=r<t?xe(e.slice(r),!i,"\\",Se):"";return 0!==a.length||i||(a="."),a.length>0&&Se(e.charCodeAt(t-1))&&(a+="\\"),void 0===n?i?`\\${a}`:a:i?`${n}\\${a}`:`${n}${a}`},isAbsolute(e){_e(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return Se(n)||t>2&&Ee(n)&&e.charCodeAt(1)===Ce&&Se(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let o=0;o<e.length;++o){const r=e[o];_e(r,"path"),r.length>0&&(void 0===t?t=n=r:t+=`\\${r}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&Se(n.charCodeAt(0))){++i;const e=n.length;e>1&&Se(n.charCodeAt(1))&&(++i,e>2&&(Se(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i<t.length&&Se(t.charCodeAt(i));)i++;i>=2&&(t=`\\${t.slice(i)}`)}return ke.normalize(t)},relative(e,t){if(_e(e,"from"),_e(t,"to"),e===t)return"";const n=ke.resolve(e),r=ke.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===ye;)i++;let o=e.length;for(;o-1>i&&e.charCodeAt(o-1)===ye;)o--;const a=o-i;let s=0;for(;s<t.length&&t.charCodeAt(s)===ye;)s++;let c=t.length;for(;c-1>s&&t.charCodeAt(c-1)===ye;)c--;const l=c-s,u=a<l?a:l;let h=-1,f=0;for(;f<u;f++){const n=e.charCodeAt(i+f);if(n!==t.charCodeAt(s+f))break;n===ye&&(h=f)}if(f!==u){if(-1===h)return r}else{if(l>u){if(t.charCodeAt(s+f)===ye)return r.slice(s+f+1);if(2===f)return r.slice(s+f)}a>u&&(e.charCodeAt(i+f)===ye?h=f:2===f&&(h=3)),-1===h&&(h=0)}let d="";for(f=i+h+1;f<=o;++f)f!==o&&e.charCodeAt(f)!==ye||(d+=0===d.length?"..":"\\..");return s+=h,d.length>0?`${d}${r.slice(s,c)}`:(r.charCodeAt(s)===ye&&++s,r.slice(s,c))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=ke.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===ye){if(t.charCodeAt(1)===ye){const e=t.charCodeAt(2);if(63!==e&&e!==be)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(Ee(t.charCodeAt(0))&&t.charCodeAt(1)===Ce&&t.charCodeAt(2)===ye)return`\\\\?\\${t}`;return e},dirname(e){_e(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return Se(i)?e:".";if(Se(i)){if(n=r=1,Se(e.charCodeAt(1))){let i=2,o=i;for(;i<t&&!Se(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&Se(e.charCodeAt(i));)i++;if(i<t&&i!==o){for(o=i;i<t&&!Se(e.charCodeAt(i));)i++;if(i===t)return e;i!==o&&(n=r=i+1)}}}}else Ee(i)&&e.charCodeAt(1)===Ce&&(n=t>2&&Se(e.charCodeAt(2))?3:2,r=n);let o=-1,a=!0;for(let s=t-1;s>=r;--s)if(Se(e.charCodeAt(s))){if(!a){o=s;break}}else a=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename(e,t){void 0!==t&&_e(t,"ext"),_e(e,"path");let n,r=0,i=-1,o=!0;if(e.length>=2&&Ee(e.charCodeAt(0))&&e.charCodeAt(1)===Ce&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=r;--n){const c=e.charCodeAt(n);if(Se(c)){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(Se(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){_e(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===Ce&&Ee(e.charCodeAt(0))&&(t=r=2);for(let s=e.length-1;s>=t;--s){const t=e.charCodeAt(s);if(Se(t)){if(!o){r=s+1;break}}else-1===i&&(o=!1,i=s+1),t===be?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:Ne.bind(null,"\\"),parse(e){_e(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,i=e.charCodeAt(0);if(1===n)return Se(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Se(i)){if(r=1,Se(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!Se(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&Se(e.charCodeAt(t));)t++;if(t<n&&t!==i){for(i=t;t<n&&!Se(e.charCodeAt(t));)t++;t===n?r=t:t!==i&&(r=t+1)}}}}else if(Ee(i)&&e.charCodeAt(1)===Ce){if(n<=2)return t.root=t.dir=e,t;if(r=2,Se(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));let o=-1,a=r,s=-1,c=!0,l=e.length-1,u=0;for(;l>=r;--l)if(i=e.charCodeAt(l),Se(i)){if(!c){a=l+1;break}}else-1===s&&(c=!1,s=l+1),i===be?-1===o?o=l:1!==u&&(u=1):-1!==o&&(u=-1);return-1!==s&&(-1===o||0===u||1===u&&o===s-1&&o===a+1?t.base=t.name=e.slice(a,s):(t.name=e.slice(a,o),t.base=e.slice(a,s),t.ext=e.slice(o,s))),t.dir=a>0&&a!==r?e.slice(0,a-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Le={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:me();_e(i,"path"),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===ve)}return t=xe(t,!n,"/",Ae),n?`/${t}`:t.length>0?t:"."},normalize(e){if(_e(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===ve,n=e.charCodeAt(e.length-1)===ve;return 0===(e=xe(e,!t,"/",Ae)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(_e(e,"path"),e.length>0&&e.charCodeAt(0)===ve),join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const r=e[n];_e(r,"path"),r.length>0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":Le.normalize(t)},relative(e,t){if(_e(e,"from"),_e(t,"to"),e===t)return"";if((e=Le.resolve(e))===(t=Le.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,o=r<i?r:i;let a=-1,s=0;for(;s<o;s++){const n=e.charCodeAt(1+s);if(n!==t.charCodeAt(1+s))break;n===ve&&(a=s)}if(s===o)if(i>o){if(t.charCodeAt(1+s)===ve)return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else r>o&&(e.charCodeAt(1+s)===ve?a=s:0===s&&(a=0));let c="";for(s=1+a+1;s<=n;++s)s!==n&&e.charCodeAt(s)!==ve||(c+=0===c.length?"..":"/..");return`${c}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(_e(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===ve;let n=-1,r=!0;for(let i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===ve){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&_e(t,"ext"),_e(e,"path");let n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){const c=e.charCodeAt(n);if(c===ve){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===ve){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){_e(e,"path");let t=-1,n=0,r=-1,i=!0,o=0;for(let a=e.length-1;a>=0;--a){const s=e.charCodeAt(a);if(s!==ve)-1===r&&(i=!1,r=a+1),s===be?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:Ne.bind(null,"/"),parse(e){_e(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===ve;let r;n?(t.root="/",r=1):r=0;let i=-1,o=0,a=-1,s=!0,c=e.length-1,l=0;for(;c>=r;--c){const t=e.charCodeAt(c);if(t!==ve)-1===a&&(s=!1,a=c+1),t===be?-1===i?i=c:1!==l&&(l=1):-1!==i&&(l=-1);else if(!s){o=c+1;break}}if(-1!==a){const r=0===o&&n?1:o;-1===i||0===l||1===l&&i===a-1&&i===o+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,i),t.base=e.slice(r,a),t.ext=e.slice(i,a))}return o>0?t.dir=e.slice(0,o-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Le.win32=ke.win32=ke,Le.posix=ke.posix=Le,"win32"===pe?ke.normalize:Le.normalize,"win32"===pe?ke.resolve:Le.resolve,"win32"===pe?ke.relative:Le.relative,"win32"===pe?ke.dirname:Le.dirname,"win32"===pe?ke.basename:Le.basename,"win32"===pe?ke.extname:Le.extname,"win32"===pe?ke.sep:Le.sep;const Te=/^\w[\w\d+.-]*$/,Oe=/^\//,Me=/^\/\//;function Ie(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&&!Te.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!Oe.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(Me.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 ("//")')}const Pe="",Re="/",Ve=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Fe{constructor(e,t,n,r,i,o=!1){"object"==typeof e?(this.scheme=e.scheme||Pe,this.authority=e.authority||Pe,this.path=e.path||Pe,this.query=e.query||Pe,this.fragment=e.fragment||Pe):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||Pe,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Re&&(t=Re+t):t=Re}return t}(this.scheme,n||Pe),this.query=r||Pe,this.fragment=i||Pe,Ie(this,o))}static isUri(e){return e instanceof Fe||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return qe(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=Pe),void 0===n?n=this.authority:null===n&&(n=Pe),void 0===r?r=this.path:null===r&&(r=Pe),void 0===i?i=this.query:null===i&&(i=Pe),void 0===o?o=this.fragment:null===o&&(o=Pe),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new Ke(t,n,r,i,o)}static parse(e,t=!1){const n=Ve.exec(e);return n?new Ke(n[2]||Pe,ze(n[4]||Pe),ze(n[5]||Pe),ze(n[7]||Pe),ze(n[9]||Pe),t):new Ke(Pe,Pe,Pe,Pe,Pe)}static file(e){let t=Pe;if(k&&(e=e.replace(/\\/g,Re)),e[0]===Re&&e[1]===Re){const n=e.indexOf(Re,2);-1===n?(t=e.substring(2),e=Re):(t=e.substring(2,n),e=e.substring(n)||Re)}return new Ke("file",t,e,Pe,Pe)}static from(e){const t=new Ke(e.scheme,e.authority,e.path,e.query,e.fragment);return Ie(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=k&&"file"===e.scheme?Fe.file(ke.join(qe(e,!0),...t)).path:Le.join(e.path,...t),e.with({path:n})}toString(e=!1){return $e(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof Fe)return e;{const t=new Ke(e);return t._formatted=e.external,t._fsPath=e._sep===De?e.fsPath:null,t}}return e}}const De=k?1:void 0;class Ke extends Fe{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=qe(this,!1)),this._fsPath}toString(e=!1){return e?$e(this,!0):(this._formatted||(this._formatted=$e(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=De),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const je={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 Ue(e,t){let n,r=-1;for(let i=0;i<e.length;i++){const o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=je[o];void 0!==t?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=t):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function Be(e){let t;for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=je[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function qe(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,k&&(n=n.replace(/\//g,"\\")),n}function $e(e,t){const n=t?Be:Ue;let r="",{scheme:i,authority:o,path:a,query:s,fragment:c}=e;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=Re,r+=Re),o){let e=o.indexOf("@");if(-1!==e){const t=o.substr(0,e);o=o.substr(e+1),e=t.indexOf(":"),-1===e?r+=n(t,!1):(r+=n(t.substr(0,e),!1),r+=":",r+=n(t.substr(e+1),!1)),r+="@"}o=o.toLowerCase(),e=o.indexOf(":"),-1===e?r+=n(o,!1):(r+=n(o.substr(0,e),!1),r+=o.substr(e))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){const e=a.charCodeAt(1);e>=65&&e<=90&&(a=`/${String.fromCharCode(e+32)}:${a.substr(3)}`)}else if(a.length>=2&&58===a.charCodeAt(1)){const e=a.charCodeAt(0);e>=65&&e<=90&&(a=`${String.fromCharCode(e+32)}:${a.substr(2)}`)}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),c&&(r+="#",r+=t?c:Ue(c,!1)),r}function We(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+We(e.substr(3)):e}}const He=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ze(e){return e.match(He)?e.replace(He,(e=>We(e))):e}class Ge{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new Ge(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return Ge.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return Ge.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return Ge.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){const n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){return(0|e.column)-(0|t.column)}return n-r}clone(){return new Ge(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new Ge(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}class Je{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return Je.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return Je.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return Je.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return Je.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return Je.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new Je(n,r,i,o)}intersectRanges(e){return Je.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,a=t.startLineNumber,s=t.startColumn,c=t.endLineNumber,l=t.endColumn;return n<a?(n=a,r=s):n===a&&(r=Math.max(r,s)),i>c?(i=c,o=l):i===c&&(o=Math.min(o,l)),n>i||n===i&&r>o?null:new Je(n,r,i,o)}equalsRange(e){return Je.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return Je.getEndPosition(this)}static getEndPosition(e){return new Ge(e.endLineNumber,e.endColumn)}getStartPosition(){return Je.getStartPosition(this)}static getStartPosition(e){return new Ge(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new Je(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new Je(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return Je.collapseToStart(this)}static collapseToStart(e){return new Je(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new Je(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new Je(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){const n=0|e.startColumn,r=0|t.startColumn;if(n===r){const n=0|e.endLineNumber,r=0|t.endLineNumber;if(n===r){return(0|e.endColumn)-(0|t.endColumn)}return n-r}return n-r}return n-r}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}}function Xe(e,t,n,r){return new fe(e,t,n).ComputeDiff(r)}class Ze{constructor(e){const t=[],n=[];for(let r=0,i=e.length;r<i;r++)t[r]=nt(e[r],1),n[r]=rt(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],i=[],o=[];let a=0;for(let s=t;s<=n;s++){const t=this.lines[s],n=e?this._startColumns[s]:1,c=e?this._endColumns[s]:t.length+1;for(let e=n;e<c;e++)r[a]=t.charCodeAt(e-1),i[a]=s+1,o[a]=e,a++}return new Ye(r,i,o)}}class Ye{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class Qe{constructor(e,t,n,r,i,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}static createFromDiffChange(e,t,n){let r,i,o,a,s,c,l,u;return 0===e.originalLength?(r=0,i=0,o=0,a=0):(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(s=0,c=0,l=0,u=0):(s=n.getStartLineNumber(e.modifiedStart),c=n.getStartColumn(e.modifiedStart),l=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),u=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new Qe(r,i,o,a,s,c,l,u)}}class et{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,o,a){let s,c,l,u,h;if(0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,c=0):(s=n.getStartLineNumber(t.originalStart),c=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(l=r.getStartLineNumber(t.modifiedStart)-1,u=0):(l=r.getStartLineNumber(t.modifiedStart),u=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const o=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),s=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let c=Xe(o,s,i,!0).changes;a&&(c=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],o=i.originalStart-(n.originalStart+n.originalLength),a=i.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,a)<3?(n.originalLength=i.originalStart+i.originalLength-n.originalStart,n.modifiedLength=i.modifiedStart+i.modifiedLength-n.modifiedStart):(t.push(i),n=i)}return t}(c)),h=[];for(let e=0,t=c.length;e<t;e++)h.push(Qe.createFromDiffChange(c[e],o,s))}return new et(s,c,l,u,h)}}class tt{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new Ze(e),this.modified=new Ze(t),this.continueLineDiff=it(n.maxComputationTime),this.continueCharDiff=it(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return 1===this.modified.lines.length&&0===this.modified.lines[0].length?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=Xe(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,r=t.length;n<r;n++)e.push(et.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const r=[];let i=0,o=0;for(let a=-1,s=t.length;a<s;a++){const e=a+1<s?t[a+1]:null,n=e?e.originalStart:this.originalLines.length,c=e?e.modifiedStart:this.modifiedLines.length;for(;i<n&&o<c;){const e=this.originalLines[i],t=this.modifiedLines[o];if(e!==t){{let n=nt(e,1),a=nt(t,1);for(;n>1&&a>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(a-2))break;n--,a--}(n>1||a>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,o+1,1,a)}{let n=rt(e,1),a=rt(t,1);const s=e.length+1,c=t.length+1;for(;n<s&&a<c;){if(e.charCodeAt(n-1)!==e.charCodeAt(a-1))break;n++,a++}(n<s||a<c)&&this._pushTrimWhitespaceCharChange(r,i+1,n,s,o+1,a,c)}}i++,o++}e&&(r.push(et.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=e.originalLength,o+=e.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,i,o,a){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,a))return;let s;this.shouldComputeCharChanges&&(s=[new Qe(t,n,t,r,i,o,i,a)]),e.push(new et(t,t,i,i,s))}_mergeTrimWhitespaceCharChange(e,t,n,r,i,o,a){const s=e.length;if(0===s)return!1;const c=e[s-1];return 0!==c.originalEndLineNumber&&0!==c.modifiedEndLineNumber&&(c.originalEndLineNumber+1===t&&c.modifiedEndLineNumber+1===i&&(c.originalEndLineNumber=t,c.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new Qe(t,n,t,r,i,o,i,a)),!0))}}function nt(e,t){const n=function(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===n?t:n+1}function rt(e,t){const n=function(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}(e);return-1===n?t:n+2}function it(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function ot(e){return e<0?0:e>255?255:0|e}function at(e){return e<0?0:e>4294967295?4294967295:0|e}class st{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=at(e);const n=this.values,r=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=at(e),t=at(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=at(e),t=at(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;const i=n.length-e;return t>=i&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=at(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;for(;t<=n;)if(r=t+(n-t)/2|0,i=this.prefixSum[r],o=i-this.values[r],e<o)n=r-1;else{if(!(e>=i))break;t=r+1}return new ct(r,e-o)}}class ct{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}const lt=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();const ut={maxLen:1e3,windowSize:15,timeBudget:150};function ht(e,t,n,r,i=ut){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,ht(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}const o=Date.now(),a=e-1-r;let s=-1,c=null;for(let l=1;!(Date.now()-o>=i.timeBudget);l++){const e=a-i.windowSize*l;t.lastIndex=Math.max(0,e);const r=ft(t,n,a,s);if(!r&&c)break;if(c=r,e<=0)break;s=e}if(c){const e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,e}return null}function ft(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}class dt{constructor(e){const t=ot(e);this._defaultValue=t,this._asciiMap=dt._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){const n=ot(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class mt{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class gt{constructor(e){let t=0,n=0;for(let i=0,o=e.length;i<o;i++){const[r,o,a]=e[i];o>t&&(t=o),r>n&&(n=r),a>n&&(n=a)}t++,n++;const r=new mt(n,t,0);for(let i=0,o=e.length;i<o;i++){const[t,n,o]=e[i];r.set(t,n,o)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let pt=null;let bt=null;class vt{static _createLink(e,t,n,r,i){let o=i-1;do{const n=t.charCodeAt(o);if(2!==e.get(n))break;o--}while(o>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(o);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=function(){return null===pt&&(pt=new gt([[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]])),pt}()){const n=function(){if(null===bt){bt=new dt(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;n<e.length;n++)bt.set(e.charCodeAt(n),1);const t=".,;";for(let n=0;n<t.length;n++)bt.set(t.charCodeAt(n),2)}return bt}(),r=[];for(let i=1,o=e.getLineCount();i<=o;i++){const o=e.getLineContent(i),a=o.length;let s=0,c=0,l=0,u=1,h=!1,f=!1,d=!1,m=!1;for(;s<a;){let e=!1;const a=o.charCodeAt(s);if(13===u){let t;switch(a){case 40:h=!0,t=0;break;case 41:t=h?0:1;break;case 91:d=!0,f=!0,t=0;break;case 93:d=!1,t=f?0:1;break;case 123:m=!0,t=0;break;case 125:t=m?0:1;break;case 39:t=34===l||96===l?0:1;break;case 34:t=39===l||96===l?0:1;break;case 96:t=39===l||34===l?0:1;break;case 42:t=42===l?1:0;break;case 124:t=124===l?1:0;break;case 32:t=d?0:1;break;default:t=n.get(a)}1===t&&(r.push(vt._createLink(n,o,i,c,s)),e=!0)}else if(12===u){let t;91===a?(f=!0,t=0):t=n.get(a),1===t?e=!0:u=13}else u=t.nextState(u,a),0===u&&(e=!0);e&&(u=1,h=!1,f=!1,m=!1,c=s+1,l=a),s++}13===u&&r.push(vt._createLink(n,o,i,c,a))}return r}}class yt{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,i){if(e&&t){const n=this.doNavigateValueSet(t,i);if(n)return{range:e,value:n}}if(n&&r){const e=this.doNavigateValueSet(r,i);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){const n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){const n=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}yt.INSTANCE=new yt;const Ct=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var wt,_t;(_t=wt||(wt={})).isCancellationToken=function(e){return e===_t.None||e===_t.Cancelled||e instanceof St||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},_t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:P.None}),_t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ct});class St{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?Ct:(this._emitter||(this._emitter=new K),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class At{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new St),this._token}cancel(){this._token?this._token instanceof St&&this._token.cancel():this._token=wt.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof St&&this._token.dispose():this._token=wt.None}}class Et{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const xt=new Et,Nt=new Et,kt=new Et,Lt=new Array(230),Tt={},Ot=[],Mt=Object.create(null),It=Object.create(null),Pt=[],Rt=[];for(let ws=0;ws<=193;ws++)Pt[ws]=-1;for(let ws=0;ws<=127;ws++)Rt[ws]=-1;var Vt,Ft;!function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",0,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]];let n=[],r=[];for(const i of t){const[e,t,o,a,s,c,l,u,h,f]=i;if(r[o]||(r[o]=!0,Ot[o]=a,Mt[a]=o,It[a.toLowerCase()]=o,t&&(Pt[o]=s,0!==s&&3!==s&&5!==s&&4!==s&&6!==s&&57!==s&&(Rt[s]=o))),!n[s]){if(n[s]=!0,!c)throw new Error(`String representation missing for key code ${s} around scan code ${a}`);xt.define(s,c),Nt.define(s,h||c),kt.define(s,f||h||c)}l&&(Lt[l]=s),u&&(Tt[u]=s)}Rt[3]=46}(),(Ft=Vt||(Vt={})).toString=function(e){return xt.keyCodeToStr(e)},Ft.fromString=function(e){return xt.strToKeyCode(e)},Ft.toUserSettingsUS=function(e){return Nt.keyCodeToStr(e)},Ft.toUserSettingsGeneral=function(e){return kt.keyCodeToStr(e)},Ft.fromUserSettings=function(e){return Nt.strToKeyCode(e)||kt.strToKeyCode(e)},Ft.toElectronAccelerator=function(e){if(e>=93&&e<=108)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return xt.keyCodeToStr(e)};class Dt extends Je{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return Dt.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new Dt(this.startLineNumber,this.startColumn,e,t):new Dt(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new Ge(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Ge(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new Dt(e,t,this.endLineNumber,this.endColumn):new Dt(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new Dt(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new Dt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new Dt(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new Dt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn}static createWithDirection(e,t,n,r,i){return 0===i?new Dt(e,t,n,r):new Dt(n,r,e,t)}}var Kt,jt,Ut,Bt,qt,$t,Wt,Ht,zt,Gt,Jt,Xt,Zt,Yt,Qt,en,tn,nn,rn,on,an,sn,cn,ln,un,hn,fn,dn,mn,gn,pn,bn,vn,yn,Cn,wn,_n,Sn,An,En,xn,Nn,kn,Ln,Tn,On,Mn,In,Pn,Rn,Vn,Fn,Dn,Kn,jn,Un,Bn,qn,$n,Wn,Hn,zn,Gn,Jn,Xn,Zn,Yn,Qn,er,tr,nr,rr,ir,or,ar,sr,cr,lr,ur,hr,fr,dr,mr,gr,pr,br=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(Cs){o(Cs)}}function s(e){try{c(r.throw(e))}catch(Cs){o(Cs)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};class vr extends f{constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return br(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return br(this,void 0,void 0,(function*(){const e=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}class yr{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,yr._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return yr._allCodicons}}yr._allCodicons=[],yr.add=new yr("add",{fontCharacter:"\\ea60"}),yr.plus=new yr("plus",yr.add.definition),yr.gistNew=new yr("gist-new",yr.add.definition),yr.repoCreate=new yr("repo-create",yr.add.definition),yr.lightbulb=new yr("lightbulb",{fontCharacter:"\\ea61"}),yr.lightBulb=new yr("light-bulb",{fontCharacter:"\\ea61"}),yr.repo=new yr("repo",{fontCharacter:"\\ea62"}),yr.repoDelete=new yr("repo-delete",{fontCharacter:"\\ea62"}),yr.gistFork=new yr("gist-fork",{fontCharacter:"\\ea63"}),yr.repoForked=new yr("repo-forked",{fontCharacter:"\\ea63"}),yr.gitPullRequest=new yr("git-pull-request",{fontCharacter:"\\ea64"}),yr.gitPullRequestAbandoned=new yr("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),yr.recordKeys=new yr("record-keys",{fontCharacter:"\\ea65"}),yr.keyboard=new yr("keyboard",{fontCharacter:"\\ea65"}),yr.tag=new yr("tag",{fontCharacter:"\\ea66"}),yr.tagAdd=new yr("tag-add",{fontCharacter:"\\ea66"}),yr.tagRemove=new yr("tag-remove",{fontCharacter:"\\ea66"}),yr.person=new yr("person",{fontCharacter:"\\ea67"}),yr.personFollow=new yr("person-follow",{fontCharacter:"\\ea67"}),yr.personOutline=new yr("person-outline",{fontCharacter:"\\ea67"}),yr.personFilled=new yr("person-filled",{fontCharacter:"\\ea67"}),yr.gitBranch=new yr("git-branch",{fontCharacter:"\\ea68"}),yr.gitBranchCreate=new yr("git-branch-create",{fontCharacter:"\\ea68"}),yr.gitBranchDelete=new yr("git-branch-delete",{fontCharacter:"\\ea68"}),yr.sourceControl=new yr("source-control",{fontCharacter:"\\ea68"}),yr.mirror=new yr("mirror",{fontCharacter:"\\ea69"}),yr.mirrorPublic=new yr("mirror-public",{fontCharacter:"\\ea69"}),yr.star=new yr("star",{fontCharacter:"\\ea6a"}),yr.starAdd=new yr("star-add",{fontCharacter:"\\ea6a"}),yr.starDelete=new yr("star-delete",{fontCharacter:"\\ea6a"}),yr.starEmpty=new yr("star-empty",{fontCharacter:"\\ea6a"}),yr.comment=new yr("comment",{fontCharacter:"\\ea6b"}),yr.commentAdd=new yr("comment-add",{fontCharacter:"\\ea6b"}),yr.alert=new yr("alert",{fontCharacter:"\\ea6c"}),yr.warning=new yr("warning",{fontCharacter:"\\ea6c"}),yr.search=new yr("search",{fontCharacter:"\\ea6d"}),yr.searchSave=new yr("search-save",{fontCharacter:"\\ea6d"}),yr.logOut=new yr("log-out",{fontCharacter:"\\ea6e"}),yr.signOut=new yr("sign-out",{fontCharacter:"\\ea6e"}),yr.logIn=new yr("log-in",{fontCharacter:"\\ea6f"}),yr.signIn=new yr("sign-in",{fontCharacter:"\\ea6f"}),yr.eye=new yr("eye",{fontCharacter:"\\ea70"}),yr.eyeUnwatch=new yr("eye-unwatch",{fontCharacter:"\\ea70"}),yr.eyeWatch=new yr("eye-watch",{fontCharacter:"\\ea70"}),yr.circleFilled=new yr("circle-filled",{fontCharacter:"\\ea71"}),yr.primitiveDot=new yr("primitive-dot",{fontCharacter:"\\ea71"}),yr.closeDirty=new yr("close-dirty",{fontCharacter:"\\ea71"}),yr.debugBreakpoint=new yr("debug-breakpoint",{fontCharacter:"\\ea71"}),yr.debugBreakpointDisabled=new yr("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),yr.debugHint=new yr("debug-hint",{fontCharacter:"\\ea71"}),yr.primitiveSquare=new yr("primitive-square",{fontCharacter:"\\ea72"}),yr.edit=new yr("edit",{fontCharacter:"\\ea73"}),yr.pencil=new yr("pencil",{fontCharacter:"\\ea73"}),yr.info=new yr("info",{fontCharacter:"\\ea74"}),yr.issueOpened=new yr("issue-opened",{fontCharacter:"\\ea74"}),yr.gistPrivate=new yr("gist-private",{fontCharacter:"\\ea75"}),yr.gitForkPrivate=new yr("git-fork-private",{fontCharacter:"\\ea75"}),yr.lock=new yr("lock",{fontCharacter:"\\ea75"}),yr.mirrorPrivate=new yr("mirror-private",{fontCharacter:"\\ea75"}),yr.close=new yr("close",{fontCharacter:"\\ea76"}),yr.removeClose=new yr("remove-close",{fontCharacter:"\\ea76"}),yr.x=new yr("x",{fontCharacter:"\\ea76"}),yr.repoSync=new yr("repo-sync",{fontCharacter:"\\ea77"}),yr.sync=new yr("sync",{fontCharacter:"\\ea77"}),yr.clone=new yr("clone",{fontCharacter:"\\ea78"}),yr.desktopDownload=new yr("desktop-download",{fontCharacter:"\\ea78"}),yr.beaker=new yr("beaker",{fontCharacter:"\\ea79"}),yr.microscope=new yr("microscope",{fontCharacter:"\\ea79"}),yr.vm=new yr("vm",{fontCharacter:"\\ea7a"}),yr.deviceDesktop=new yr("device-desktop",{fontCharacter:"\\ea7a"}),yr.file=new yr("file",{fontCharacter:"\\ea7b"}),yr.fileText=new yr("file-text",{fontCharacter:"\\ea7b"}),yr.more=new yr("more",{fontCharacter:"\\ea7c"}),yr.ellipsis=new yr("ellipsis",{fontCharacter:"\\ea7c"}),yr.kebabHorizontal=new yr("kebab-horizontal",{fontCharacter:"\\ea7c"}),yr.mailReply=new yr("mail-reply",{fontCharacter:"\\ea7d"}),yr.reply=new yr("reply",{fontCharacter:"\\ea7d"}),yr.organization=new yr("organization",{fontCharacter:"\\ea7e"}),yr.organizationFilled=new yr("organization-filled",{fontCharacter:"\\ea7e"}),yr.organizationOutline=new yr("organization-outline",{fontCharacter:"\\ea7e"}),yr.newFile=new yr("new-file",{fontCharacter:"\\ea7f"}),yr.fileAdd=new yr("file-add",{fontCharacter:"\\ea7f"}),yr.newFolder=new yr("new-folder",{fontCharacter:"\\ea80"}),yr.fileDirectoryCreate=new yr("file-directory-create",{fontCharacter:"\\ea80"}),yr.trash=new yr("trash",{fontCharacter:"\\ea81"}),yr.trashcan=new yr("trashcan",{fontCharacter:"\\ea81"}),yr.history=new yr("history",{fontCharacter:"\\ea82"}),yr.clock=new yr("clock",{fontCharacter:"\\ea82"}),yr.folder=new yr("folder",{fontCharacter:"\\ea83"}),yr.fileDirectory=new yr("file-directory",{fontCharacter:"\\ea83"}),yr.symbolFolder=new yr("symbol-folder",{fontCharacter:"\\ea83"}),yr.logoGithub=new yr("logo-github",{fontCharacter:"\\ea84"}),yr.markGithub=new yr("mark-github",{fontCharacter:"\\ea84"}),yr.github=new yr("github",{fontCharacter:"\\ea84"}),yr.terminal=new yr("terminal",{fontCharacter:"\\ea85"}),yr.console=new yr("console",{fontCharacter:"\\ea85"}),yr.repl=new yr("repl",{fontCharacter:"\\ea85"}),yr.zap=new yr("zap",{fontCharacter:"\\ea86"}),yr.symbolEvent=new yr("symbol-event",{fontCharacter:"\\ea86"}),yr.error=new yr("error",{fontCharacter:"\\ea87"}),yr.stop=new yr("stop",{fontCharacter:"\\ea87"}),yr.variable=new yr("variable",{fontCharacter:"\\ea88"}),yr.symbolVariable=new yr("symbol-variable",{fontCharacter:"\\ea88"}),yr.array=new yr("array",{fontCharacter:"\\ea8a"}),yr.symbolArray=new yr("symbol-array",{fontCharacter:"\\ea8a"}),yr.symbolModule=new yr("symbol-module",{fontCharacter:"\\ea8b"}),yr.symbolPackage=new yr("symbol-package",{fontCharacter:"\\ea8b"}),yr.symbolNamespace=new yr("symbol-namespace",{fontCharacter:"\\ea8b"}),yr.symbolObject=new yr("symbol-object",{fontCharacter:"\\ea8b"}),yr.symbolMethod=new yr("symbol-method",{fontCharacter:"\\ea8c"}),yr.symbolFunction=new yr("symbol-function",{fontCharacter:"\\ea8c"}),yr.symbolConstructor=new yr("symbol-constructor",{fontCharacter:"\\ea8c"}),yr.symbolBoolean=new yr("symbol-boolean",{fontCharacter:"\\ea8f"}),yr.symbolNull=new yr("symbol-null",{fontCharacter:"\\ea8f"}),yr.symbolNumeric=new yr("symbol-numeric",{fontCharacter:"\\ea90"}),yr.symbolNumber=new yr("symbol-number",{fontCharacter:"\\ea90"}),yr.symbolStructure=new yr("symbol-structure",{fontCharacter:"\\ea91"}),yr.symbolStruct=new yr("symbol-struct",{fontCharacter:"\\ea91"}),yr.symbolParameter=new yr("symbol-parameter",{fontCharacter:"\\ea92"}),yr.symbolTypeParameter=new yr("symbol-type-parameter",{fontCharacter:"\\ea92"}),yr.symbolKey=new yr("symbol-key",{fontCharacter:"\\ea93"}),yr.symbolText=new yr("symbol-text",{fontCharacter:"\\ea93"}),yr.symbolReference=new yr("symbol-reference",{fontCharacter:"\\ea94"}),yr.goToFile=new yr("go-to-file",{fontCharacter:"\\ea94"}),yr.symbolEnum=new yr("symbol-enum",{fontCharacter:"\\ea95"}),yr.symbolValue=new yr("symbol-value",{fontCharacter:"\\ea95"}),yr.symbolRuler=new yr("symbol-ruler",{fontCharacter:"\\ea96"}),yr.symbolUnit=new yr("symbol-unit",{fontCharacter:"\\ea96"}),yr.activateBreakpoints=new yr("activate-breakpoints",{fontCharacter:"\\ea97"}),yr.archive=new yr("archive",{fontCharacter:"\\ea98"}),yr.arrowBoth=new yr("arrow-both",{fontCharacter:"\\ea99"}),yr.arrowDown=new yr("arrow-down",{fontCharacter:"\\ea9a"}),yr.arrowLeft=new yr("arrow-left",{fontCharacter:"\\ea9b"}),yr.arrowRight=new yr("arrow-right",{fontCharacter:"\\ea9c"}),yr.arrowSmallDown=new yr("arrow-small-down",{fontCharacter:"\\ea9d"}),yr.arrowSmallLeft=new yr("arrow-small-left",{fontCharacter:"\\ea9e"}),yr.arrowSmallRight=new yr("arrow-small-right",{fontCharacter:"\\ea9f"}),yr.arrowSmallUp=new yr("arrow-small-up",{fontCharacter:"\\eaa0"}),yr.arrowUp=new yr("arrow-up",{fontCharacter:"\\eaa1"}),yr.bell=new yr("bell",{fontCharacter:"\\eaa2"}),yr.bold=new yr("bold",{fontCharacter:"\\eaa3"}),yr.book=new yr("book",{fontCharacter:"\\eaa4"}),yr.bookmark=new yr("bookmark",{fontCharacter:"\\eaa5"}),yr.debugBreakpointConditionalUnverified=new yr("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),yr.debugBreakpointConditional=new yr("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),yr.debugBreakpointConditionalDisabled=new yr("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),yr.debugBreakpointDataUnverified=new yr("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),yr.debugBreakpointData=new yr("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),yr.debugBreakpointDataDisabled=new yr("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),yr.debugBreakpointLogUnverified=new yr("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),yr.debugBreakpointLog=new yr("debug-breakpoint-log",{fontCharacter:"\\eaab"}),yr.debugBreakpointLogDisabled=new yr("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),yr.briefcase=new yr("briefcase",{fontCharacter:"\\eaac"}),yr.broadcast=new yr("broadcast",{fontCharacter:"\\eaad"}),yr.browser=new yr("browser",{fontCharacter:"\\eaae"}),yr.bug=new yr("bug",{fontCharacter:"\\eaaf"}),yr.calendar=new yr("calendar",{fontCharacter:"\\eab0"}),yr.caseSensitive=new yr("case-sensitive",{fontCharacter:"\\eab1"}),yr.check=new yr("check",{fontCharacter:"\\eab2"}),yr.checklist=new yr("checklist",{fontCharacter:"\\eab3"}),yr.chevronDown=new yr("chevron-down",{fontCharacter:"\\eab4"}),yr.dropDownButton=new yr("drop-down-button",yr.chevronDown.definition),yr.chevronLeft=new yr("chevron-left",{fontCharacter:"\\eab5"}),yr.chevronRight=new yr("chevron-right",{fontCharacter:"\\eab6"}),yr.chevronUp=new yr("chevron-up",{fontCharacter:"\\eab7"}),yr.chromeClose=new yr("chrome-close",{fontCharacter:"\\eab8"}),yr.chromeMaximize=new yr("chrome-maximize",{fontCharacter:"\\eab9"}),yr.chromeMinimize=new yr("chrome-minimize",{fontCharacter:"\\eaba"}),yr.chromeRestore=new yr("chrome-restore",{fontCharacter:"\\eabb"}),yr.circleOutline=new yr("circle-outline",{fontCharacter:"\\eabc"}),yr.debugBreakpointUnverified=new yr("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),yr.circleSlash=new yr("circle-slash",{fontCharacter:"\\eabd"}),yr.circuitBoard=new yr("circuit-board",{fontCharacter:"\\eabe"}),yr.clearAll=new yr("clear-all",{fontCharacter:"\\eabf"}),yr.clippy=new yr("clippy",{fontCharacter:"\\eac0"}),yr.closeAll=new yr("close-all",{fontCharacter:"\\eac1"}),yr.cloudDownload=new yr("cloud-download",{fontCharacter:"\\eac2"}),yr.cloudUpload=new yr("cloud-upload",{fontCharacter:"\\eac3"}),yr.code=new yr("code",{fontCharacter:"\\eac4"}),yr.collapseAll=new yr("collapse-all",{fontCharacter:"\\eac5"}),yr.colorMode=new yr("color-mode",{fontCharacter:"\\eac6"}),yr.commentDiscussion=new yr("comment-discussion",{fontCharacter:"\\eac7"}),yr.compareChanges=new yr("compare-changes",{fontCharacter:"\\eafd"}),yr.creditCard=new yr("credit-card",{fontCharacter:"\\eac9"}),yr.dash=new yr("dash",{fontCharacter:"\\eacc"}),yr.dashboard=new yr("dashboard",{fontCharacter:"\\eacd"}),yr.database=new yr("database",{fontCharacter:"\\eace"}),yr.debugContinue=new yr("debug-continue",{fontCharacter:"\\eacf"}),yr.debugDisconnect=new yr("debug-disconnect",{fontCharacter:"\\ead0"}),yr.debugPause=new yr("debug-pause",{fontCharacter:"\\ead1"}),yr.debugRestart=new yr("debug-restart",{fontCharacter:"\\ead2"}),yr.debugStart=new yr("debug-start",{fontCharacter:"\\ead3"}),yr.debugStepInto=new yr("debug-step-into",{fontCharacter:"\\ead4"}),yr.debugStepOut=new yr("debug-step-out",{fontCharacter:"\\ead5"}),yr.debugStepOver=new yr("debug-step-over",{fontCharacter:"\\ead6"}),yr.debugStop=new yr("debug-stop",{fontCharacter:"\\ead7"}),yr.debug=new yr("debug",{fontCharacter:"\\ead8"}),yr.deviceCameraVideo=new yr("device-camera-video",{fontCharacter:"\\ead9"}),yr.deviceCamera=new yr("device-camera",{fontCharacter:"\\eada"}),yr.deviceMobile=new yr("device-mobile",{fontCharacter:"\\eadb"}),yr.diffAdded=new yr("diff-added",{fontCharacter:"\\eadc"}),yr.diffIgnored=new yr("diff-ignored",{fontCharacter:"\\eadd"}),yr.diffModified=new yr("diff-modified",{fontCharacter:"\\eade"}),yr.diffRemoved=new yr("diff-removed",{fontCharacter:"\\eadf"}),yr.diffRenamed=new yr("diff-renamed",{fontCharacter:"\\eae0"}),yr.diff=new yr("diff",{fontCharacter:"\\eae1"}),yr.discard=new yr("discard",{fontCharacter:"\\eae2"}),yr.editorLayout=new yr("editor-layout",{fontCharacter:"\\eae3"}),yr.emptyWindow=new yr("empty-window",{fontCharacter:"\\eae4"}),yr.exclude=new yr("exclude",{fontCharacter:"\\eae5"}),yr.extensions=new yr("extensions",{fontCharacter:"\\eae6"}),yr.eyeClosed=new yr("eye-closed",{fontCharacter:"\\eae7"}),yr.fileBinary=new yr("file-binary",{fontCharacter:"\\eae8"}),yr.fileCode=new yr("file-code",{fontCharacter:"\\eae9"}),yr.fileMedia=new yr("file-media",{fontCharacter:"\\eaea"}),yr.filePdf=new yr("file-pdf",{fontCharacter:"\\eaeb"}),yr.fileSubmodule=new yr("file-submodule",{fontCharacter:"\\eaec"}),yr.fileSymlinkDirectory=new yr("file-symlink-directory",{fontCharacter:"\\eaed"}),yr.fileSymlinkFile=new yr("file-symlink-file",{fontCharacter:"\\eaee"}),yr.fileZip=new yr("file-zip",{fontCharacter:"\\eaef"}),yr.files=new yr("files",{fontCharacter:"\\eaf0"}),yr.filter=new yr("filter",{fontCharacter:"\\eaf1"}),yr.flame=new yr("flame",{fontCharacter:"\\eaf2"}),yr.foldDown=new yr("fold-down",{fontCharacter:"\\eaf3"}),yr.foldUp=new yr("fold-up",{fontCharacter:"\\eaf4"}),yr.fold=new yr("fold",{fontCharacter:"\\eaf5"}),yr.folderActive=new yr("folder-active",{fontCharacter:"\\eaf6"}),yr.folderOpened=new yr("folder-opened",{fontCharacter:"\\eaf7"}),yr.gear=new yr("gear",{fontCharacter:"\\eaf8"}),yr.gift=new yr("gift",{fontCharacter:"\\eaf9"}),yr.gistSecret=new yr("gist-secret",{fontCharacter:"\\eafa"}),yr.gist=new yr("gist",{fontCharacter:"\\eafb"}),yr.gitCommit=new yr("git-commit",{fontCharacter:"\\eafc"}),yr.gitCompare=new yr("git-compare",{fontCharacter:"\\eafd"}),yr.gitMerge=new yr("git-merge",{fontCharacter:"\\eafe"}),yr.githubAction=new yr("github-action",{fontCharacter:"\\eaff"}),yr.githubAlt=new yr("github-alt",{fontCharacter:"\\eb00"}),yr.globe=new yr("globe",{fontCharacter:"\\eb01"}),yr.grabber=new yr("grabber",{fontCharacter:"\\eb02"}),yr.graph=new yr("graph",{fontCharacter:"\\eb03"}),yr.gripper=new yr("gripper",{fontCharacter:"\\eb04"}),yr.heart=new yr("heart",{fontCharacter:"\\eb05"}),yr.home=new yr("home",{fontCharacter:"\\eb06"}),yr.horizontalRule=new yr("horizontal-rule",{fontCharacter:"\\eb07"}),yr.hubot=new yr("hubot",{fontCharacter:"\\eb08"}),yr.inbox=new yr("inbox",{fontCharacter:"\\eb09"}),yr.issueClosed=new yr("issue-closed",{fontCharacter:"\\eba4"}),yr.issueReopened=new yr("issue-reopened",{fontCharacter:"\\eb0b"}),yr.issues=new yr("issues",{fontCharacter:"\\eb0c"}),yr.italic=new yr("italic",{fontCharacter:"\\eb0d"}),yr.jersey=new yr("jersey",{fontCharacter:"\\eb0e"}),yr.json=new yr("json",{fontCharacter:"\\eb0f"}),yr.kebabVertical=new yr("kebab-vertical",{fontCharacter:"\\eb10"}),yr.key=new yr("key",{fontCharacter:"\\eb11"}),yr.law=new yr("law",{fontCharacter:"\\eb12"}),yr.lightbulbAutofix=new yr("lightbulb-autofix",{fontCharacter:"\\eb13"}),yr.linkExternal=new yr("link-external",{fontCharacter:"\\eb14"}),yr.link=new yr("link",{fontCharacter:"\\eb15"}),yr.listOrdered=new yr("list-ordered",{fontCharacter:"\\eb16"}),yr.listUnordered=new yr("list-unordered",{fontCharacter:"\\eb17"}),yr.liveShare=new yr("live-share",{fontCharacter:"\\eb18"}),yr.loading=new yr("loading",{fontCharacter:"\\eb19"}),yr.location=new yr("location",{fontCharacter:"\\eb1a"}),yr.mailRead=new yr("mail-read",{fontCharacter:"\\eb1b"}),yr.mail=new yr("mail",{fontCharacter:"\\eb1c"}),yr.markdown=new yr("markdown",{fontCharacter:"\\eb1d"}),yr.megaphone=new yr("megaphone",{fontCharacter:"\\eb1e"}),yr.mention=new yr("mention",{fontCharacter:"\\eb1f"}),yr.milestone=new yr("milestone",{fontCharacter:"\\eb20"}),yr.mortarBoard=new yr("mortar-board",{fontCharacter:"\\eb21"}),yr.move=new yr("move",{fontCharacter:"\\eb22"}),yr.multipleWindows=new yr("multiple-windows",{fontCharacter:"\\eb23"}),yr.mute=new yr("mute",{fontCharacter:"\\eb24"}),yr.noNewline=new yr("no-newline",{fontCharacter:"\\eb25"}),yr.note=new yr("note",{fontCharacter:"\\eb26"}),yr.octoface=new yr("octoface",{fontCharacter:"\\eb27"}),yr.openPreview=new yr("open-preview",{fontCharacter:"\\eb28"}),yr.package_=new yr("package",{fontCharacter:"\\eb29"}),yr.paintcan=new yr("paintcan",{fontCharacter:"\\eb2a"}),yr.pin=new yr("pin",{fontCharacter:"\\eb2b"}),yr.play=new yr("play",{fontCharacter:"\\eb2c"}),yr.run=new yr("run",{fontCharacter:"\\eb2c"}),yr.plug=new yr("plug",{fontCharacter:"\\eb2d"}),yr.preserveCase=new yr("preserve-case",{fontCharacter:"\\eb2e"}),yr.preview=new yr("preview",{fontCharacter:"\\eb2f"}),yr.project=new yr("project",{fontCharacter:"\\eb30"}),yr.pulse=new yr("pulse",{fontCharacter:"\\eb31"}),yr.question=new yr("question",{fontCharacter:"\\eb32"}),yr.quote=new yr("quote",{fontCharacter:"\\eb33"}),yr.radioTower=new yr("radio-tower",{fontCharacter:"\\eb34"}),yr.reactions=new yr("reactions",{fontCharacter:"\\eb35"}),yr.references=new yr("references",{fontCharacter:"\\eb36"}),yr.refresh=new yr("refresh",{fontCharacter:"\\eb37"}),yr.regex=new yr("regex",{fontCharacter:"\\eb38"}),yr.remoteExplorer=new yr("remote-explorer",{fontCharacter:"\\eb39"}),yr.remote=new yr("remote",{fontCharacter:"\\eb3a"}),yr.remove=new yr("remove",{fontCharacter:"\\eb3b"}),yr.replaceAll=new yr("replace-all",{fontCharacter:"\\eb3c"}),yr.replace=new yr("replace",{fontCharacter:"\\eb3d"}),yr.repoClone=new yr("repo-clone",{fontCharacter:"\\eb3e"}),yr.repoForcePush=new yr("repo-force-push",{fontCharacter:"\\eb3f"}),yr.repoPull=new yr("repo-pull",{fontCharacter:"\\eb40"}),yr.repoPush=new yr("repo-push",{fontCharacter:"\\eb41"}),yr.report=new yr("report",{fontCharacter:"\\eb42"}),yr.requestChanges=new yr("request-changes",{fontCharacter:"\\eb43"}),yr.rocket=new yr("rocket",{fontCharacter:"\\eb44"}),yr.rootFolderOpened=new yr("root-folder-opened",{fontCharacter:"\\eb45"}),yr.rootFolder=new yr("root-folder",{fontCharacter:"\\eb46"}),yr.rss=new yr("rss",{fontCharacter:"\\eb47"}),yr.ruby=new yr("ruby",{fontCharacter:"\\eb48"}),yr.saveAll=new yr("save-all",{fontCharacter:"\\eb49"}),yr.saveAs=new yr("save-as",{fontCharacter:"\\eb4a"}),yr.save=new yr("save",{fontCharacter:"\\eb4b"}),yr.screenFull=new yr("screen-full",{fontCharacter:"\\eb4c"}),yr.screenNormal=new yr("screen-normal",{fontCharacter:"\\eb4d"}),yr.searchStop=new yr("search-stop",{fontCharacter:"\\eb4e"}),yr.server=new yr("server",{fontCharacter:"\\eb50"}),yr.settingsGear=new yr("settings-gear",{fontCharacter:"\\eb51"}),yr.settings=new yr("settings",{fontCharacter:"\\eb52"}),yr.shield=new yr("shield",{fontCharacter:"\\eb53"}),yr.smiley=new yr("smiley",{fontCharacter:"\\eb54"}),yr.sortPrecedence=new yr("sort-precedence",{fontCharacter:"\\eb55"}),yr.splitHorizontal=new yr("split-horizontal",{fontCharacter:"\\eb56"}),yr.splitVertical=new yr("split-vertical",{fontCharacter:"\\eb57"}),yr.squirrel=new yr("squirrel",{fontCharacter:"\\eb58"}),yr.starFull=new yr("star-full",{fontCharacter:"\\eb59"}),yr.starHalf=new yr("star-half",{fontCharacter:"\\eb5a"}),yr.symbolClass=new yr("symbol-class",{fontCharacter:"\\eb5b"}),yr.symbolColor=new yr("symbol-color",{fontCharacter:"\\eb5c"}),yr.symbolCustomColor=new yr("symbol-customcolor",{fontCharacter:"\\eb5c"}),yr.symbolConstant=new yr("symbol-constant",{fontCharacter:"\\eb5d"}),yr.symbolEnumMember=new yr("symbol-enum-member",{fontCharacter:"\\eb5e"}),yr.symbolField=new yr("symbol-field",{fontCharacter:"\\eb5f"}),yr.symbolFile=new yr("symbol-file",{fontCharacter:"\\eb60"}),yr.symbolInterface=new yr("symbol-interface",{fontCharacter:"\\eb61"}),yr.symbolKeyword=new yr("symbol-keyword",{fontCharacter:"\\eb62"}),yr.symbolMisc=new yr("symbol-misc",{fontCharacter:"\\eb63"}),yr.symbolOperator=new yr("symbol-operator",{fontCharacter:"\\eb64"}),yr.symbolProperty=new yr("symbol-property",{fontCharacter:"\\eb65"}),yr.wrench=new yr("wrench",{fontCharacter:"\\eb65"}),yr.wrenchSubaction=new yr("wrench-subaction",{fontCharacter:"\\eb65"}),yr.symbolSnippet=new yr("symbol-snippet",{fontCharacter:"\\eb66"}),yr.tasklist=new yr("tasklist",{fontCharacter:"\\eb67"}),yr.telescope=new yr("telescope",{fontCharacter:"\\eb68"}),yr.textSize=new yr("text-size",{fontCharacter:"\\eb69"}),yr.threeBars=new yr("three-bars",{fontCharacter:"\\eb6a"}),yr.thumbsdown=new yr("thumbsdown",{fontCharacter:"\\eb6b"}),yr.thumbsup=new yr("thumbsup",{fontCharacter:"\\eb6c"}),yr.tools=new yr("tools",{fontCharacter:"\\eb6d"}),yr.triangleDown=new yr("triangle-down",{fontCharacter:"\\eb6e"}),yr.triangleLeft=new yr("triangle-left",{fontCharacter:"\\eb6f"}),yr.triangleRight=new yr("triangle-right",{fontCharacter:"\\eb70"}),yr.triangleUp=new yr("triangle-up",{fontCharacter:"\\eb71"}),yr.twitter=new yr("twitter",{fontCharacter:"\\eb72"}),yr.unfold=new yr("unfold",{fontCharacter:"\\eb73"}),yr.unlock=new yr("unlock",{fontCharacter:"\\eb74"}),yr.unmute=new yr("unmute",{fontCharacter:"\\eb75"}),yr.unverified=new yr("unverified",{fontCharacter:"\\eb76"}),yr.verified=new yr("verified",{fontCharacter:"\\eb77"}),yr.versions=new yr("versions",{fontCharacter:"\\eb78"}),yr.vmActive=new yr("vm-active",{fontCharacter:"\\eb79"}),yr.vmOutline=new yr("vm-outline",{fontCharacter:"\\eb7a"}),yr.vmRunning=new yr("vm-running",{fontCharacter:"\\eb7b"}),yr.watch=new yr("watch",{fontCharacter:"\\eb7c"}),yr.whitespace=new yr("whitespace",{fontCharacter:"\\eb7d"}),yr.wholeWord=new yr("whole-word",{fontCharacter:"\\eb7e"}),yr.window=new yr("window",{fontCharacter:"\\eb7f"}),yr.wordWrap=new yr("word-wrap",{fontCharacter:"\\eb80"}),yr.zoomIn=new yr("zoom-in",{fontCharacter:"\\eb81"}),yr.zoomOut=new yr("zoom-out",{fontCharacter:"\\eb82"}),yr.listFilter=new yr("list-filter",{fontCharacter:"\\eb83"}),yr.listFlat=new yr("list-flat",{fontCharacter:"\\eb84"}),yr.listSelection=new yr("list-selection",{fontCharacter:"\\eb85"}),yr.selection=new yr("selection",{fontCharacter:"\\eb85"}),yr.listTree=new yr("list-tree",{fontCharacter:"\\eb86"}),yr.debugBreakpointFunctionUnverified=new yr("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),yr.debugBreakpointFunction=new yr("debug-breakpoint-function",{fontCharacter:"\\eb88"}),yr.debugBreakpointFunctionDisabled=new yr("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),yr.debugStackframeActive=new yr("debug-stackframe-active",{fontCharacter:"\\eb89"}),yr.debugStackframeDot=new yr("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),yr.debugStackframe=new yr("debug-stackframe",{fontCharacter:"\\eb8b"}),yr.debugStackframeFocused=new yr("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),yr.debugBreakpointUnsupported=new yr("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),yr.symbolString=new yr("symbol-string",{fontCharacter:"\\eb8d"}),yr.debugReverseContinue=new yr("debug-reverse-continue",{fontCharacter:"\\eb8e"}),yr.debugStepBack=new yr("debug-step-back",{fontCharacter:"\\eb8f"}),yr.debugRestartFrame=new yr("debug-restart-frame",{fontCharacter:"\\eb90"}),yr.callIncoming=new yr("call-incoming",{fontCharacter:"\\eb92"}),yr.callOutgoing=new yr("call-outgoing",{fontCharacter:"\\eb93"}),yr.menu=new yr("menu",{fontCharacter:"\\eb94"}),yr.expandAll=new yr("expand-all",{fontCharacter:"\\eb95"}),yr.feedback=new yr("feedback",{fontCharacter:"\\eb96"}),yr.groupByRefType=new yr("group-by-ref-type",{fontCharacter:"\\eb97"}),yr.ungroupByRefType=new yr("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),yr.account=new yr("account",{fontCharacter:"\\eb99"}),yr.bellDot=new yr("bell-dot",{fontCharacter:"\\eb9a"}),yr.debugConsole=new yr("debug-console",{fontCharacter:"\\eb9b"}),yr.library=new yr("library",{fontCharacter:"\\eb9c"}),yr.output=new yr("output",{fontCharacter:"\\eb9d"}),yr.runAll=new yr("run-all",{fontCharacter:"\\eb9e"}),yr.syncIgnored=new yr("sync-ignored",{fontCharacter:"\\eb9f"}),yr.pinned=new yr("pinned",{fontCharacter:"\\eba0"}),yr.githubInverted=new yr("github-inverted",{fontCharacter:"\\eba1"}),yr.debugAlt=new yr("debug-alt",{fontCharacter:"\\eb91"}),yr.serverProcess=new yr("server-process",{fontCharacter:"\\eba2"}),yr.serverEnvironment=new yr("server-environment",{fontCharacter:"\\eba3"}),yr.pass=new yr("pass",{fontCharacter:"\\eba4"}),yr.stopCircle=new yr("stop-circle",{fontCharacter:"\\eba5"}),yr.playCircle=new yr("play-circle",{fontCharacter:"\\eba6"}),yr.record=new yr("record",{fontCharacter:"\\eba7"}),yr.debugAltSmall=new yr("debug-alt-small",{fontCharacter:"\\eba8"}),yr.vmConnect=new yr("vm-connect",{fontCharacter:"\\eba9"}),yr.cloud=new yr("cloud",{fontCharacter:"\\ebaa"}),yr.merge=new yr("merge",{fontCharacter:"\\ebab"}),yr.exportIcon=new yr("export",{fontCharacter:"\\ebac"}),yr.graphLeft=new yr("graph-left",{fontCharacter:"\\ebad"}),yr.magnet=new yr("magnet",{fontCharacter:"\\ebae"}),yr.notebook=new yr("notebook",{fontCharacter:"\\ebaf"}),yr.redo=new yr("redo",{fontCharacter:"\\ebb0"}),yr.checkAll=new yr("check-all",{fontCharacter:"\\ebb1"}),yr.pinnedDirty=new yr("pinned-dirty",{fontCharacter:"\\ebb2"}),yr.passFilled=new yr("pass-filled",{fontCharacter:"\\ebb3"}),yr.circleLargeFilled=new yr("circle-large-filled",{fontCharacter:"\\ebb4"}),yr.circleLargeOutline=new yr("circle-large-outline",{fontCharacter:"\\ebb5"}),yr.combine=new yr("combine",{fontCharacter:"\\ebb6"}),yr.gather=new yr("gather",{fontCharacter:"\\ebb6"}),yr.table=new yr("table",{fontCharacter:"\\ebb7"}),yr.variableGroup=new yr("variable-group",{fontCharacter:"\\ebb8"}),yr.typeHierarchy=new yr("type-hierarchy",{fontCharacter:"\\ebb9"}),yr.typeHierarchySub=new yr("type-hierarchy-sub",{fontCharacter:"\\ebba"}),yr.typeHierarchySuper=new yr("type-hierarchy-super",{fontCharacter:"\\ebbb"}),yr.gitPullRequestCreate=new yr("git-pull-request-create",{fontCharacter:"\\ebbc"}),yr.runAbove=new yr("run-above",{fontCharacter:"\\ebbd"}),yr.runBelow=new yr("run-below",{fontCharacter:"\\ebbe"}),yr.notebookTemplate=new yr("notebook-template",{fontCharacter:"\\ebbf"}),yr.debugRerun=new yr("debug-rerun",{fontCharacter:"\\ebc0"}),yr.workspaceTrusted=new yr("workspace-trusted",{fontCharacter:"\\ebc1"}),yr.workspaceUntrusted=new yr("workspace-untrusted",{fontCharacter:"\\ebc2"}),yr.workspaceUnspecified=new yr("workspace-unspecified",{fontCharacter:"\\ebc3"}),yr.terminalCmd=new yr("terminal-cmd",{fontCharacter:"\\ebc4"}),yr.terminalDebian=new yr("terminal-debian",{fontCharacter:"\\ebc5"}),yr.terminalLinux=new yr("terminal-linux",{fontCharacter:"\\ebc6"}),yr.terminalPowershell=new yr("terminal-powershell",{fontCharacter:"\\ebc7"}),yr.terminalTmux=new yr("terminal-tmux",{fontCharacter:"\\ebc8"}),yr.terminalUbuntu=new yr("terminal-ubuntu",{fontCharacter:"\\ebc9"}),yr.terminalBash=new yr("terminal-bash",{fontCharacter:"\\ebca"}),yr.arrowSwap=new yr("arrow-swap",{fontCharacter:"\\ebcb"}),yr.copy=new yr("copy",{fontCharacter:"\\ebcc"}),yr.personAdd=new yr("person-add",{fontCharacter:"\\ebcd"}),yr.filterFilled=new yr("filter-filled",{fontCharacter:"\\ebce"}),yr.wand=new yr("wand",{fontCharacter:"\\ebcf"}),yr.debugLineByLine=new yr("debug-line-by-line",{fontCharacter:"\\ebd0"}),yr.inspect=new yr("inspect",{fontCharacter:"\\ebd1"}),yr.layers=new yr("layers",{fontCharacter:"\\ebd2"}),yr.layersDot=new yr("layers-dot",{fontCharacter:"\\ebd3"}),yr.layersActive=new yr("layers-active",{fontCharacter:"\\ebd4"}),yr.compass=new yr("compass",{fontCharacter:"\\ebd5"}),yr.compassDot=new yr("compass-dot",{fontCharacter:"\\ebd6"}),yr.compassActive=new yr("compass-active",{fontCharacter:"\\ebd7"}),yr.azure=new yr("azure",{fontCharacter:"\\ebd8"}),yr.issueDraft=new yr("issue-draft",{fontCharacter:"\\ebd9"}),yr.gitPullRequestClosed=new yr("git-pull-request-closed",{fontCharacter:"\\ebda"}),yr.gitPullRequestDraft=new yr("git-pull-request-draft",{fontCharacter:"\\ebdb"}),yr.debugAll=new yr("debug-all",{fontCharacter:"\\ebdc"}),yr.debugCoverage=new yr("debug-coverage",{fontCharacter:"\\ebdd"}),yr.runErrors=new yr("run-errors",{fontCharacter:"\\ebde"}),yr.folderLibrary=new yr("folder-library",{fontCharacter:"\\ebdf"}),yr.debugContinueSmall=new yr("debug-continue-small",{fontCharacter:"\\ebe0"}),yr.beakerStop=new yr("beaker-stop",{fontCharacter:"\\ebe1"}),yr.graphLine=new yr("graph-line",{fontCharacter:"\\ebe2"}),yr.graphScatter=new yr("graph-scatter",{fontCharacter:"\\ebe3"}),yr.pieChart=new yr("pie-chart",{fontCharacter:"\\ebe4"}),yr.bracket=new yr("bracket",yr.json.definition),yr.bracketDot=new yr("bracket-dot",{fontCharacter:"\\ebe5"}),yr.bracketError=new yr("bracket-error",{fontCharacter:"\\ebe6"}),yr.lockSmall=new yr("lock-small",{fontCharacter:"\\ebe7"}),yr.azureDevops=new yr("azure-devops",{fontCharacter:"\\ebe8"}),yr.verifiedFilled=new yr("verified-filled",{fontCharacter:"\\ebe9"}),yr.newLine=new yr("newline",{fontCharacter:"\\ebea"}),yr.layout=new yr("layout",{fontCharacter:"\\ebeb"}),yr.layoutActivitybarLeft=new yr("layout-activitybar-left",{fontCharacter:"\\ebec"}),yr.layoutActivitybarRight=new yr("layout-activitybar-right",{fontCharacter:"\\ebed"}),yr.layoutPanelLeft=new yr("layout-panel-left",{fontCharacter:"\\ebee"}),yr.layoutPanelCenter=new yr("layout-panel-center",{fontCharacter:"\\ebef"}),yr.layoutPanelJustify=new yr("layout-panel-justify",{fontCharacter:"\\ebf0"}),yr.layoutPanelRight=new yr("layout-panel-right",{fontCharacter:"\\ebf1"}),yr.layoutPanel=new yr("layout-panel",{fontCharacter:"\\ebf2"}),yr.layoutSidebarLeft=new yr("layout-sidebar-left",{fontCharacter:"\\ebf3"}),yr.layoutSidebarRight=new yr("layout-sidebar-right",{fontCharacter:"\\ebf4"}),yr.layoutStatusbar=new yr("layout-statusbar",{fontCharacter:"\\ebf5"}),yr.layoutMenubar=new yr("layout-menubar",{fontCharacter:"\\ebf6"}),yr.layoutCentered=new yr("layout-centered",{fontCharacter:"\\ebf7"}),yr.target=new yr("target",{fontCharacter:"\\ebf8"}),yr.indent=new yr("indent",{fontCharacter:"\\ebf9"}),yr.recordSmall=new yr("record-small",{fontCharacter:"\\ebfa"}),yr.errorSmall=new yr("error-small",{fontCharacter:"\\ebfb"}),yr.arrowCircleDown=new yr("arrow-circle-down",{fontCharacter:"\\ebfc"}),yr.arrowCircleLeft=new yr("arrow-circle-left",{fontCharacter:"\\ebfd"}),yr.arrowCircleRight=new yr("arrow-circle-right",{fontCharacter:"\\ebfe"}),yr.arrowCircleUp=new yr("arrow-circle-up",{fontCharacter:"\\ebff"}),yr.dialogError=new yr("dialog-error",yr.error.definition),yr.dialogWarning=new yr("dialog-warning",yr.warning.definition),yr.dialogInfo=new yr("dialog-info",yr.info.definition),yr.dialogClose=new yr("dialog-close",yr.close.definition),yr.treeItemExpanded=new yr("tree-item-expanded",yr.chevronDown.definition),yr.treeFilterOnTypeOn=new yr("tree-filter-on-type-on",yr.listFilter.definition),yr.treeFilterOnTypeOff=new yr("tree-filter-on-type-off",yr.listSelection.definition),yr.treeFilterClear=new yr("tree-filter-clear",yr.close.definition),yr.treeItemLoading=new yr("tree-item-loading",yr.loading.definition),yr.menuSelection=new yr("menu-selection",yr.check.definition),yr.menuSubmenu=new yr("menu-submenu",yr.chevronRight.definition),yr.menuBarMore=new yr("menubar-more",yr.more.definition),yr.scrollbarButtonLeft=new yr("scrollbar-button-left",yr.triangleLeft.definition),yr.scrollbarButtonRight=new yr("scrollbar-button-right",yr.triangleRight.definition),yr.scrollbarButtonUp=new yr("scrollbar-button-up",yr.triangleUp.definition),yr.scrollbarButtonDown=new yr("scrollbar-button-down",yr.triangleDown.definition),yr.toolBarMore=new yr("toolbar-more",yr.more.definition),yr.quickInputBack=new yr("quick-input-back",yr.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){if(e instanceof yr)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(yr.error);let[,i,o]=r;const a=["codicon","codicon-"+i];return o&&a.push("codicon-modifier-"+o.substr(1)),a}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(Kt||(Kt={}));class Cr{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}!function(e){const t=new Map;t.set(0,yr.symbolMethod),t.set(1,yr.symbolFunction),t.set(2,yr.symbolConstructor),t.set(3,yr.symbolField),t.set(4,yr.symbolVariable),t.set(5,yr.symbolClass),t.set(6,yr.symbolStruct),t.set(7,yr.symbolInterface),t.set(8,yr.symbolModule),t.set(9,yr.symbolProperty),t.set(10,yr.symbolEvent),t.set(11,yr.symbolOperator),t.set(12,yr.symbolUnit),t.set(13,yr.symbolValue),t.set(15,yr.symbolEnum),t.set(14,yr.symbolConstant),t.set(15,yr.symbolEnum),t.set(16,yr.symbolEnumMember),t.set(17,yr.symbolKeyword),t.set(27,yr.symbolSnippet),t.set(18,yr.symbolText),t.set(19,yr.symbolColor),t.set(20,yr.symbolFile),t.set(21,yr.symbolReference),t.set(22,yr.symbolCustomColor),t.set(23,yr.symbolFolder),t.set(24,yr.symbolTypeParameter),t.set(25,yr.account),t.set(26,yr.issues),e.toIcon=function(e){let n=t.get(e);return n||(n=yr.symbolProperty),n};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let r=n.get(e);return void 0!==r||t||(r=9),r}}(jt||(jt={})),(Bt=Ut||(Ut={}))[Bt.Automatic=0]="Automatic",Bt[Bt.Explicit=1]="Explicit",($t=qt||(qt={}))[$t.Invoke=1]="Invoke",$t[$t.TriggerCharacter=2]="TriggerCharacter",$t[$t.ContentChange=3]="ContentChange",(Ht=Wt||(Wt={}))[Ht.Text=0]="Text",Ht[Ht.Read=1]="Read",Ht[Ht.Write=2]="Write",function(e){const t=new Map;t.set(0,yr.symbolFile),t.set(1,yr.symbolModule),t.set(2,yr.symbolNamespace),t.set(3,yr.symbolPackage),t.set(4,yr.symbolClass),t.set(5,yr.symbolMethod),t.set(6,yr.symbolProperty),t.set(7,yr.symbolField),t.set(8,yr.symbolConstructor),t.set(9,yr.symbolEnum),t.set(10,yr.symbolInterface),t.set(11,yr.symbolFunction),t.set(12,yr.symbolVariable),t.set(13,yr.symbolConstant),t.set(14,yr.symbolString),t.set(15,yr.symbolNumber),t.set(16,yr.symbolBoolean),t.set(17,yr.symbolArray),t.set(18,yr.symbolObject),t.set(19,yr.symbolKey),t.set(20,yr.symbolNull),t.set(21,yr.symbolEnumMember),t.set(22,yr.symbolStruct),t.set(23,yr.symbolEvent),t.set(24,yr.symbolOperator),t.set(25,yr.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(n=yr.symbolProperty),n}}(zt||(zt={})),(Gt||(Gt={})).is=function(e){return!(!e||"object"!=typeof e)&&"string"==typeof e.id&&"string"==typeof e.title},(Xt=Jt||(Jt={}))[Xt.Type=1]="Type",Xt[Xt.Parameter=2]="Parameter",new class{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new K,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),u((()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))}))}registerFactory(e,t){var n;null===(n=this._factories.get(e))||void 0===n||n.dispose();const r=new vr(this,e,t);return this._factories.set(e,r),u((()=>{const t=this._factories.get(e);t&&t===r&&(this._factories.delete(e),t.dispose())}))}getOrCreate(e){return br(this,void 0,void 0,(function*(){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))}))}get(e){return this._map.get(e)||null}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},(Yt=Zt||(Zt={}))[Yt.Unknown=0]="Unknown",Yt[Yt.Disabled=1]="Disabled",Yt[Yt.Enabled=2]="Enabled",(en=Qt||(Qt={}))[en.KeepWhitespace=1]="KeepWhitespace",en[en.InsertAsSnippet=4]="InsertAsSnippet",(nn=tn||(tn={}))[nn.Method=0]="Method",nn[nn.Function=1]="Function",nn[nn.Constructor=2]="Constructor",nn[nn.Field=3]="Field",nn[nn.Variable=4]="Variable",nn[nn.Class=5]="Class",nn[nn.Struct=6]="Struct",nn[nn.Interface=7]="Interface",nn[nn.Module=8]="Module",nn[nn.Property=9]="Property",nn[nn.Event=10]="Event",nn[nn.Operator=11]="Operator",nn[nn.Unit=12]="Unit",nn[nn.Value=13]="Value",nn[nn.Constant=14]="Constant",nn[nn.Enum=15]="Enum",nn[nn.EnumMember=16]="EnumMember",nn[nn.Keyword=17]="Keyword",nn[nn.Text=18]="Text",nn[nn.Color=19]="Color",nn[nn.File=20]="File",nn[nn.Reference=21]="Reference",nn[nn.Customcolor=22]="Customcolor",nn[nn.Folder=23]="Folder",nn[nn.TypeParameter=24]="TypeParameter",nn[nn.User=25]="User",nn[nn.Issue=26]="Issue",nn[nn.Snippet=27]="Snippet",(on=rn||(rn={}))[on.Deprecated=1]="Deprecated",(sn=an||(an={}))[sn.Invoke=0]="Invoke",sn[sn.TriggerCharacter=1]="TriggerCharacter",sn[sn.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(ln=cn||(cn={}))[ln.EXACT=0]="EXACT",ln[ln.ABOVE=1]="ABOVE",ln[ln.BELOW=2]="BELOW",(hn=un||(un={}))[hn.NotSet=0]="NotSet",hn[hn.ContentFlush=1]="ContentFlush",hn[hn.RecoverFromMarkers=2]="RecoverFromMarkers",hn[hn.Explicit=3]="Explicit",hn[hn.Paste=4]="Paste",hn[hn.Undo=5]="Undo",hn[hn.Redo=6]="Redo",(dn=fn||(fn={}))[dn.LF=1]="LF",dn[dn.CRLF=2]="CRLF",function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(mn||(mn={})),(pn=gn||(gn={}))[pn.None=0]="None",pn[pn.Keep=1]="Keep",pn[pn.Brackets=2]="Brackets",pn[pn.Advanced=3]="Advanced",pn[pn.Full=4]="Full",(vn=bn||(bn={}))[vn.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",vn[vn.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",vn[vn.accessibilitySupport=2]="accessibilitySupport",vn[vn.accessibilityPageSize=3]="accessibilityPageSize",vn[vn.ariaLabel=4]="ariaLabel",vn[vn.autoClosingBrackets=5]="autoClosingBrackets",vn[vn.autoClosingDelete=6]="autoClosingDelete",vn[vn.autoClosingOvertype=7]="autoClosingOvertype",vn[vn.autoClosingQuotes=8]="autoClosingQuotes",vn[vn.autoIndent=9]="autoIndent",vn[vn.automaticLayout=10]="automaticLayout",vn[vn.autoSurround=11]="autoSurround",vn[vn.bracketPairColorization=12]="bracketPairColorization",vn[vn.guides=13]="guides",vn[vn.codeLens=14]="codeLens",vn[vn.codeLensFontFamily=15]="codeLensFontFamily",vn[vn.codeLensFontSize=16]="codeLensFontSize",vn[vn.colorDecorators=17]="colorDecorators",vn[vn.columnSelection=18]="columnSelection",vn[vn.comments=19]="comments",vn[vn.contextmenu=20]="contextmenu",vn[vn.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",vn[vn.cursorBlinking=22]="cursorBlinking",vn[vn.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",vn[vn.cursorStyle=24]="cursorStyle",vn[vn.cursorSurroundingLines=25]="cursorSurroundingLines",vn[vn.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",vn[vn.cursorWidth=27]="cursorWidth",vn[vn.disableLayerHinting=28]="disableLayerHinting",vn[vn.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",vn[vn.domReadOnly=30]="domReadOnly",vn[vn.dragAndDrop=31]="dragAndDrop",vn[vn.emptySelectionClipboard=32]="emptySelectionClipboard",vn[vn.extraEditorClassName=33]="extraEditorClassName",vn[vn.fastScrollSensitivity=34]="fastScrollSensitivity",vn[vn.find=35]="find",vn[vn.fixedOverflowWidgets=36]="fixedOverflowWidgets",vn[vn.folding=37]="folding",vn[vn.foldingStrategy=38]="foldingStrategy",vn[vn.foldingHighlight=39]="foldingHighlight",vn[vn.foldingImportsByDefault=40]="foldingImportsByDefault",vn[vn.foldingMaximumRegions=41]="foldingMaximumRegions",vn[vn.unfoldOnClickAfterEndOfLine=42]="unfoldOnClickAfterEndOfLine",vn[vn.fontFamily=43]="fontFamily",vn[vn.fontInfo=44]="fontInfo",vn[vn.fontLigatures=45]="fontLigatures",vn[vn.fontSize=46]="fontSize",vn[vn.fontWeight=47]="fontWeight",vn[vn.formatOnPaste=48]="formatOnPaste",vn[vn.formatOnType=49]="formatOnType",vn[vn.glyphMargin=50]="glyphMargin",vn[vn.gotoLocation=51]="gotoLocation",vn[vn.hideCursorInOverviewRuler=52]="hideCursorInOverviewRuler",vn[vn.hover=53]="hover",vn[vn.inDiffEditor=54]="inDiffEditor",vn[vn.inlineSuggest=55]="inlineSuggest",vn[vn.letterSpacing=56]="letterSpacing",vn[vn.lightbulb=57]="lightbulb",vn[vn.lineDecorationsWidth=58]="lineDecorationsWidth",vn[vn.lineHeight=59]="lineHeight",vn[vn.lineNumbers=60]="lineNumbers",vn[vn.lineNumbersMinChars=61]="lineNumbersMinChars",vn[vn.linkedEditing=62]="linkedEditing",vn[vn.links=63]="links",vn[vn.matchBrackets=64]="matchBrackets",vn[vn.minimap=65]="minimap",vn[vn.mouseStyle=66]="mouseStyle",vn[vn.mouseWheelScrollSensitivity=67]="mouseWheelScrollSensitivity",vn[vn.mouseWheelZoom=68]="mouseWheelZoom",vn[vn.multiCursorMergeOverlapping=69]="multiCursorMergeOverlapping",vn[vn.multiCursorModifier=70]="multiCursorModifier",vn[vn.multiCursorPaste=71]="multiCursorPaste",vn[vn.occurrencesHighlight=72]="occurrencesHighlight",vn[vn.overviewRulerBorder=73]="overviewRulerBorder",vn[vn.overviewRulerLanes=74]="overviewRulerLanes",vn[vn.padding=75]="padding",vn[vn.parameterHints=76]="parameterHints",vn[vn.peekWidgetDefaultFocus=77]="peekWidgetDefaultFocus",vn[vn.definitionLinkOpensInPeek=78]="definitionLinkOpensInPeek",vn[vn.quickSuggestions=79]="quickSuggestions",vn[vn.quickSuggestionsDelay=80]="quickSuggestionsDelay",vn[vn.readOnly=81]="readOnly",vn[vn.renameOnType=82]="renameOnType",vn[vn.renderControlCharacters=83]="renderControlCharacters",vn[vn.renderFinalNewline=84]="renderFinalNewline",vn[vn.renderLineHighlight=85]="renderLineHighlight",vn[vn.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",vn[vn.renderValidationDecorations=87]="renderValidationDecorations",vn[vn.renderWhitespace=88]="renderWhitespace",vn[vn.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",vn[vn.roundedSelection=90]="roundedSelection",vn[vn.rulers=91]="rulers",vn[vn.scrollbar=92]="scrollbar",vn[vn.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",vn[vn.scrollBeyondLastLine=94]="scrollBeyondLastLine",vn[vn.scrollPredominantAxis=95]="scrollPredominantAxis",vn[vn.selectionClipboard=96]="selectionClipboard",vn[vn.selectionHighlight=97]="selectionHighlight",vn[vn.selectOnLineNumbers=98]="selectOnLineNumbers",vn[vn.showFoldingControls=99]="showFoldingControls",vn[vn.showUnused=100]="showUnused",vn[vn.snippetSuggestions=101]="snippetSuggestions",vn[vn.smartSelect=102]="smartSelect",vn[vn.smoothScrolling=103]="smoothScrolling",vn[vn.stickyTabStops=104]="stickyTabStops",vn[vn.stopRenderingLineAfter=105]="stopRenderingLineAfter",vn[vn.suggest=106]="suggest",vn[vn.suggestFontSize=107]="suggestFontSize",vn[vn.suggestLineHeight=108]="suggestLineHeight",vn[vn.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",vn[vn.suggestSelection=110]="suggestSelection",vn[vn.tabCompletion=111]="tabCompletion",vn[vn.tabIndex=112]="tabIndex",vn[vn.unicodeHighlighting=113]="unicodeHighlighting",vn[vn.unusualLineTerminators=114]="unusualLineTerminators",vn[vn.useShadowDOM=115]="useShadowDOM",vn[vn.useTabStops=116]="useTabStops",vn[vn.wordSeparators=117]="wordSeparators",vn[vn.wordWrap=118]="wordWrap",vn[vn.wordWrapBreakAfterCharacters=119]="wordWrapBreakAfterCharacters",vn[vn.wordWrapBreakBeforeCharacters=120]="wordWrapBreakBeforeCharacters",vn[vn.wordWrapColumn=121]="wordWrapColumn",vn[vn.wordWrapOverride1=122]="wordWrapOverride1",vn[vn.wordWrapOverride2=123]="wordWrapOverride2",vn[vn.wrappingIndent=124]="wrappingIndent",vn[vn.wrappingStrategy=125]="wrappingStrategy",vn[vn.showDeprecated=126]="showDeprecated",vn[vn.inlayHints=127]="inlayHints",vn[vn.editorClassName=128]="editorClassName",vn[vn.pixelRatio=129]="pixelRatio",vn[vn.tabFocusMode=130]="tabFocusMode",vn[vn.layoutInfo=131]="layoutInfo",vn[vn.wrappingInfo=132]="wrappingInfo",(Cn=yn||(yn={}))[Cn.TextDefined=0]="TextDefined",Cn[Cn.LF=1]="LF",Cn[Cn.CRLF=2]="CRLF",(_n=wn||(wn={}))[_n.LF=0]="LF",_n[_n.CRLF=1]="CRLF",(An=Sn||(Sn={}))[An.None=0]="None",An[An.Indent=1]="Indent",An[An.IndentOutdent=2]="IndentOutdent",An[An.Outdent=3]="Outdent",(xn=En||(En={}))[xn.Both=0]="Both",xn[xn.Right=1]="Right",xn[xn.Left=2]="Left",xn[xn.None=3]="None",function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Nn||(Nn={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(kn||(kn={})),(Tn=Ln||(Ln={}))[Tn.DependsOnKbLayout=-1]="DependsOnKbLayout",Tn[Tn.Unknown=0]="Unknown",Tn[Tn.Backspace=1]="Backspace",Tn[Tn.Tab=2]="Tab",Tn[Tn.Enter=3]="Enter",Tn[Tn.Shift=4]="Shift",Tn[Tn.Ctrl=5]="Ctrl",Tn[Tn.Alt=6]="Alt",Tn[Tn.PauseBreak=7]="PauseBreak",Tn[Tn.CapsLock=8]="CapsLock",Tn[Tn.Escape=9]="Escape",Tn[Tn.Space=10]="Space",Tn[Tn.PageUp=11]="PageUp",Tn[Tn.PageDown=12]="PageDown",Tn[Tn.End=13]="End",Tn[Tn.Home=14]="Home",Tn[Tn.LeftArrow=15]="LeftArrow",Tn[Tn.UpArrow=16]="UpArrow",Tn[Tn.RightArrow=17]="RightArrow",Tn[Tn.DownArrow=18]="DownArrow",Tn[Tn.Insert=19]="Insert",Tn[Tn.Delete=20]="Delete",Tn[Tn.Digit0=21]="Digit0",Tn[Tn.Digit1=22]="Digit1",Tn[Tn.Digit2=23]="Digit2",Tn[Tn.Digit3=24]="Digit3",Tn[Tn.Digit4=25]="Digit4",Tn[Tn.Digit5=26]="Digit5",Tn[Tn.Digit6=27]="Digit6",Tn[Tn.Digit7=28]="Digit7",Tn[Tn.Digit8=29]="Digit8",Tn[Tn.Digit9=30]="Digit9",Tn[Tn.KeyA=31]="KeyA",Tn[Tn.KeyB=32]="KeyB",Tn[Tn.KeyC=33]="KeyC",Tn[Tn.KeyD=34]="KeyD",Tn[Tn.KeyE=35]="KeyE",Tn[Tn.KeyF=36]="KeyF",Tn[Tn.KeyG=37]="KeyG",Tn[Tn.KeyH=38]="KeyH",Tn[Tn.KeyI=39]="KeyI",Tn[Tn.KeyJ=40]="KeyJ",Tn[Tn.KeyK=41]="KeyK",Tn[Tn.KeyL=42]="KeyL",Tn[Tn.KeyM=43]="KeyM",Tn[Tn.KeyN=44]="KeyN",Tn[Tn.KeyO=45]="KeyO",Tn[Tn.KeyP=46]="KeyP",Tn[Tn.KeyQ=47]="KeyQ",Tn[Tn.KeyR=48]="KeyR",Tn[Tn.KeyS=49]="KeyS",Tn[Tn.KeyT=50]="KeyT",Tn[Tn.KeyU=51]="KeyU",Tn[Tn.KeyV=52]="KeyV",Tn[Tn.KeyW=53]="KeyW",Tn[Tn.KeyX=54]="KeyX",Tn[Tn.KeyY=55]="KeyY",Tn[Tn.KeyZ=56]="KeyZ",Tn[Tn.Meta=57]="Meta",Tn[Tn.ContextMenu=58]="ContextMenu",Tn[Tn.F1=59]="F1",Tn[Tn.F2=60]="F2",Tn[Tn.F3=61]="F3",Tn[Tn.F4=62]="F4",Tn[Tn.F5=63]="F5",Tn[Tn.F6=64]="F6",Tn[Tn.F7=65]="F7",Tn[Tn.F8=66]="F8",Tn[Tn.F9=67]="F9",Tn[Tn.F10=68]="F10",Tn[Tn.F11=69]="F11",Tn[Tn.F12=70]="F12",Tn[Tn.F13=71]="F13",Tn[Tn.F14=72]="F14",Tn[Tn.F15=73]="F15",Tn[Tn.F16=74]="F16",Tn[Tn.F17=75]="F17",Tn[Tn.F18=76]="F18",Tn[Tn.F19=77]="F19",Tn[Tn.NumLock=78]="NumLock",Tn[Tn.ScrollLock=79]="ScrollLock",Tn[Tn.Semicolon=80]="Semicolon",Tn[Tn.Equal=81]="Equal",Tn[Tn.Comma=82]="Comma",Tn[Tn.Minus=83]="Minus",Tn[Tn.Period=84]="Period",Tn[Tn.Slash=85]="Slash",Tn[Tn.Backquote=86]="Backquote",Tn[Tn.BracketLeft=87]="BracketLeft",Tn[Tn.Backslash=88]="Backslash",Tn[Tn.BracketRight=89]="BracketRight",Tn[Tn.Quote=90]="Quote",Tn[Tn.OEM_8=91]="OEM_8",Tn[Tn.IntlBackslash=92]="IntlBackslash",Tn[Tn.Numpad0=93]="Numpad0",Tn[Tn.Numpad1=94]="Numpad1",Tn[Tn.Numpad2=95]="Numpad2",Tn[Tn.Numpad3=96]="Numpad3",Tn[Tn.Numpad4=97]="Numpad4",Tn[Tn.Numpad5=98]="Numpad5",Tn[Tn.Numpad6=99]="Numpad6",Tn[Tn.Numpad7=100]="Numpad7",Tn[Tn.Numpad8=101]="Numpad8",Tn[Tn.Numpad9=102]="Numpad9",Tn[Tn.NumpadMultiply=103]="NumpadMultiply",Tn[Tn.NumpadAdd=104]="NumpadAdd",Tn[Tn.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",Tn[Tn.NumpadSubtract=106]="NumpadSubtract",Tn[Tn.NumpadDecimal=107]="NumpadDecimal",Tn[Tn.NumpadDivide=108]="NumpadDivide",Tn[Tn.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",Tn[Tn.ABNT_C1=110]="ABNT_C1",Tn[Tn.ABNT_C2=111]="ABNT_C2",Tn[Tn.AudioVolumeMute=112]="AudioVolumeMute",Tn[Tn.AudioVolumeUp=113]="AudioVolumeUp",Tn[Tn.AudioVolumeDown=114]="AudioVolumeDown",Tn[Tn.BrowserSearch=115]="BrowserSearch",Tn[Tn.BrowserHome=116]="BrowserHome",Tn[Tn.BrowserBack=117]="BrowserBack",Tn[Tn.BrowserForward=118]="BrowserForward",Tn[Tn.MediaTrackNext=119]="MediaTrackNext",Tn[Tn.MediaTrackPrevious=120]="MediaTrackPrevious",Tn[Tn.MediaStop=121]="MediaStop",Tn[Tn.MediaPlayPause=122]="MediaPlayPause",Tn[Tn.LaunchMediaPlayer=123]="LaunchMediaPlayer",Tn[Tn.LaunchMail=124]="LaunchMail",Tn[Tn.LaunchApp2=125]="LaunchApp2",Tn[Tn.Clear=126]="Clear",Tn[Tn.MAX_VALUE=127]="MAX_VALUE",(Mn=On||(On={}))[Mn.Hint=1]="Hint",Mn[Mn.Info=2]="Info",Mn[Mn.Warning=4]="Warning",Mn[Mn.Error=8]="Error",(Pn=In||(In={}))[Pn.Unnecessary=1]="Unnecessary",Pn[Pn.Deprecated=2]="Deprecated",(Vn=Rn||(Rn={}))[Vn.Inline=1]="Inline",Vn[Vn.Gutter=2]="Gutter",(Dn=Fn||(Fn={}))[Dn.UNKNOWN=0]="UNKNOWN",Dn[Dn.TEXTAREA=1]="TEXTAREA",Dn[Dn.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",Dn[Dn.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",Dn[Dn.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",Dn[Dn.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",Dn[Dn.CONTENT_TEXT=6]="CONTENT_TEXT",Dn[Dn.CONTENT_EMPTY=7]="CONTENT_EMPTY",Dn[Dn.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",Dn[Dn.CONTENT_WIDGET=9]="CONTENT_WIDGET",Dn[Dn.OVERVIEW_RULER=10]="OVERVIEW_RULER",Dn[Dn.SCROLLBAR=11]="SCROLLBAR",Dn[Dn.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",Dn[Dn.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(jn=Kn||(Kn={}))[jn.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",jn[jn.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",jn[jn.TOP_CENTER=2]="TOP_CENTER",(Bn=Un||(Un={}))[Bn.Left=1]="Left",Bn[Bn.Center=2]="Center",Bn[Bn.Right=4]="Right",Bn[Bn.Full=7]="Full",($n=qn||(qn={}))[$n.Left=0]="Left",$n[$n.Right=1]="Right",$n[$n.None=2]="None",(Hn=Wn||(Wn={}))[Hn.Off=0]="Off",Hn[Hn.On=1]="On",Hn[Hn.Relative=2]="Relative",Hn[Hn.Interval=3]="Interval",Hn[Hn.Custom=4]="Custom",(Gn=zn||(zn={}))[Gn.None=0]="None",Gn[Gn.Text=1]="Text",Gn[Gn.Blocks=2]="Blocks",(Xn=Jn||(Jn={}))[Xn.Smooth=0]="Smooth",Xn[Xn.Immediate=1]="Immediate",(Yn=Zn||(Zn={}))[Yn.Auto=1]="Auto",Yn[Yn.Hidden=2]="Hidden",Yn[Yn.Visible=3]="Visible",(er=Qn||(Qn={}))[er.LTR=0]="LTR",er[er.RTL=1]="RTL",function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(tr||(tr={})),(rr=nr||(nr={}))[rr.File=0]="File",rr[rr.Module=1]="Module",rr[rr.Namespace=2]="Namespace",rr[rr.Package=3]="Package",rr[rr.Class=4]="Class",rr[rr.Method=5]="Method",rr[rr.Property=6]="Property",rr[rr.Field=7]="Field",rr[rr.Constructor=8]="Constructor",rr[rr.Enum=9]="Enum",rr[rr.Interface=10]="Interface",rr[rr.Function=11]="Function",rr[rr.Variable=12]="Variable",rr[rr.Constant=13]="Constant",rr[rr.String=14]="String",rr[rr.Number=15]="Number",rr[rr.Boolean=16]="Boolean",rr[rr.Array=17]="Array",rr[rr.Object=18]="Object",rr[rr.Key=19]="Key",rr[rr.Null=20]="Null",rr[rr.EnumMember=21]="EnumMember",rr[rr.Struct=22]="Struct",rr[rr.Event=23]="Event",rr[rr.Operator=24]="Operator",rr[rr.TypeParameter=25]="TypeParameter",(or=ir||(ir={}))[or.Deprecated=1]="Deprecated",(sr=ar||(ar={}))[sr.Hidden=0]="Hidden",sr[sr.Blink=1]="Blink",sr[sr.Smooth=2]="Smooth",sr[sr.Phase=3]="Phase",sr[sr.Expand=4]="Expand",sr[sr.Solid=5]="Solid",(lr=cr||(cr={}))[lr.Line=1]="Line",lr[lr.Block=2]="Block",lr[lr.Underline=3]="Underline",lr[lr.LineThin=4]="LineThin",lr[lr.BlockOutline=5]="BlockOutline",lr[lr.UnderlineThin=6]="UnderlineThin",(hr=ur||(ur={}))[hr.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",hr[hr.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",hr[hr.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",hr[hr.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(dr=fr||(fr={}))[dr.None=0]="None",dr[dr.Same=1]="Same",dr[dr.Indent=2]="Indent",dr[dr.DeepIndent=3]="DeepIndent";class wr{static chord(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}function _r(e,t,n,r,i){return function(e,t,n,r,i){if(0===r)return!0;const o=t.charCodeAt(r-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(e,t,0,r,i)&&function(e,t,n,r,i){if(r+i===n)return!0;const o=t.charCodeAt(r+i);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(e,t,n,r,i)}wr.CtrlCmd=2048,wr.Shift=1024,wr.Alt=512,wr.WinCtrl=256,function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(mr||(mr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(gr||(gr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(pr||(pr={}));class Sr{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const r=n.index,i=n[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){W(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||_r(this._wordSeparators,e,t,r,i))return n}while(n);return null}}class Ar{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=z.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of G.codePoints)Er(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(let a of t){const e=a.codePointAt(0),t=(o=a,H.test(o));r=r||t,t||this.ambiguousCharacters.isAmbiguous(e)||G.isInvisibleCharacter(e)||(i=!0)}var o;return!r&&i?0:this.options.invisibleCharacters&&!Er(e)&&G.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Er(e){return" "===e||"\n"===e||"\t"===e}var xr=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(Cs){o(Cs)}}function s(e){try{c(r.throw(e))}catch(Cs){o(Cs)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};class Nr extends class{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new Ge(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new st(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;const n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);const r=new Uint32Array(n.length-1);for(let i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),r[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=ht(e.column,function(e){let t=lt;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}(t),this._lines[e.lineNumber-1],0);return n?new Je(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let r=0,i="",o=0,a=[];return{*[Symbol.iterator](){for(;;)if(o<a.length){const e=i.substring(a[o].start,a[o].end);o+=1,yield e}else{if(!(r<t.length))break;i=t[r],a=n(i,e),o=0,r+=1}}}}getLineWords(e,t){const n=this._lines[e-1],r=this._wordenize(n,t),i=[];for(const o of r)i.push({word:n.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return i}_wordenize(e,t){const n=[];let r;for(t.lastIndex=0;(r=t.exec(e))&&0!==r[0].length;)n.push({start:r.index,end:r.index+r[0].length});return n}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(let o=n+1;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();const t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!Ge.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}class kr{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}acceptNewModel(e){this._models[e.url]=new Nr(Fe.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return xr(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?class{static computeUnicodeHighlights(e,t,n){const r=n?n.startLineNumber:1,i=n?n.endLineNumber:e.getLineCount(),o=new Ar(t),a=o.getCandidateCodePoints();let s;var c;s="allNonBasicAscii"===a?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(`[${c=Array.from(a).map((e=>String.fromCodePoint(e))).join(""),c.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`,"g");const l=new Sr(null,s),u=[];let h,f=!1,d=0,m=0,g=0;e:for(let p=r,b=i;p<=b;p++){const t=e.getLineContent(p),n=t.length;l.reset(0);do{if(h=l.next(t),h){let e=h.index,r=h.index+h[0].length;e>0&&$(t.charCodeAt(e-1))&&e--,r+1<n&&$(t.charCodeAt(r-1))&&r++;const i=t.substring(e,r),a=ht(e+1,lt,t,0),s=o.shouldHighlightNonBasicASCII(i,a?a.word:null);if(0!==s){3===s?d++:2===s?m++:1===s?g++:U();const t=1e3;if(u.length>=t){f=!0;break e}u.push(new Je(p,e+1,p,r+1))}}}while(h)}return{ranges:u,hasMore:f,ambiguousCharacterCount:d,invisibleCharacterCount:m,nonBasicAsciiCharacterCount:g}}static computeUnicodeHighlightReason(e,t){const n=new Ar(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=z.getLocales().filter((e=>!z.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,r){return xr(this,void 0,void 0,(function*(){const i=this._getModel(e),o=this._getModel(t);if(!i||!o)return null;const a=i.getLinesContent(),s=o.getLinesContent(),c=new tt(a,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff(),l=!(c.changes.length>0)&&this._modelsAreIdentical(i,o);return{quitEarly:c.quitEarly,identical:l,changes:c.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}computeMoreMinimalEdits(e,t){return xr(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const r=[];let i;t=t.slice(0).sort(((e,t)=>{if(e.range&&t.range)return Je.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)}));for(let{range:e,text:o,eol:a}of t){if("number"==typeof a&&(i=a),Je.isEmpty(e)&&!o)continue;const t=n.getValueInRange(e);if(o=o.replace(/\r\n|\n|\r/g,n.eol),t===o)continue;if(Math.max(o.length,t.length)>kr._diffLimit){r.push({range:e,text:o});continue}const s=ce(t,o,!1),c=n.offsetAt(Je.lift(e).getStartPosition());for(const e of s){const t=n.positionAt(c+e.originalStart),i=n.positionAt(c+e.originalStart+e.originalLength),a={text:o.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};n.getValueInRange(a.range)!==a.text&&r.push(a)}}return"number"==typeof i&&r.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r}))}computeLinks(e){return xr(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?vt.computeLinks(e):[]}(t):null}))}textualSuggest(e,t,n,r){return xr(this,void 0,void 0,(function*(){const i=new I(!0),o=new RegExp(n,r),a=new Set;e:for(let n of e){const e=this._getModel(n);if(e)for(let n of e.words(o))if(n!==t&&isNaN(Number(n))&&(a.add(n),a.size>kr._suggestionsLimit))break e}return{words:Array.from(a),duration:i.elapsed()}}))}computeWordRanges(e,t,n,r){return xr(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return Object.create(null);const o=new RegExp(n,r),a=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){const t=i.getLineWords(e,o);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=a[n.word];t||(t=[],a[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return a}))}navigateValueSet(e,t,n,r,i){return xr(this,void 0,void 0,(function*(){const o=this._getModel(e);if(!o)return null;const a=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const s=o.getValueInRange(t),c=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!c)return null;const l=o.getValueInRange(c);return yt.INSTANCE.navigateValueSet(t,s,c,l,n)}))}loadForeignModule(e,t,n){const r=function(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let r={};for(const i of e)r[i]=n(i);return r}(n,((e,t)=>this._host.fhr(e,t))),i={host:r,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(j(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(Cs){return Promise.reject(Cs)}}}kr._diffLimit=1e5,kr._suggestionsLimit=1e4,"function"==typeof importScripts&&(E.monaco={editor:void 0,languages:void 0,CancellationTokenSource:At,Emitter:K,KeyCode:Ln,KeyMod:wr,Position:Ge,Range:Je,Selection:Dt,SelectionDirection:Qn,MarkerSeverity:On,MarkerTag:In,Uri:Fe,Token:Cr});let Lr=!1;function Tr(e){if(Lr)return;Lr=!0;const t=new re((e=>{self.postMessage(e)}),(t=>new kr(t,e)));self.onmessage=e=>{t.onmessage(e.data)}}
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
function Or(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",o=0,a=16,s=0,c=0,l=0,u=0,h=0;function f(t,n){for(var i=0,o=0;i<t||!n;){var a=e.charCodeAt(r);if(a>=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else{if(!(a>=97&&a<=102))break;o=16*o+a-97+10}r++,i++}return i<t&&(o=-1),o}function d(){if(i="",h=0,o=r,c=s,u=l,r>=n)return o=n,a=17;var t=e.charCodeAt(r);if(Mr(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Mr(t));return a=15}if(Ir(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,l=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),h=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92!==o){if(o>=0&&o<=31){if(Ir(o)){t+=e.substring(i,r),h=2;break}h=6}r++}else{if(t+=e.substring(i,r),++r>=n){h=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=f(4,!0);a>=0?t+=String.fromCharCode(a):h=4;break;default:h=5}i=r}}return t}(),a=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!Ir(e.charCodeAt(r));)r++;return i=e.substring(d,r),a=12}if(42===e.charCodeAt(r+1)){r+=2;for(var g=n-1,p=!1;r<g;){var b=e.charCodeAt(r);if(42===b&&47===e.charCodeAt(r+1)){r+=2,p=!0;break}r++,Ir(b)&&(13===b&&10===e.charCodeAt(r)&&r++,s++,l=r)}return p||(r++,h=1),i=e.substring(d,r),a=13}return i+=String.fromCharCode(t),r++,a=16;case 45:if(i+=String.fromCharCode(t),++r===n||!Pr(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&Pr(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&Pr(e.charCodeAt(r))))return h=3,e.substring(t,r);for(r++;r<e.length&&Pr(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&Pr(e.charCodeAt(r))){for(r++;r<e.length&&Pr(e.charCodeAt(r));)r++;n=r}else h=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&m(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(i=e.substring(o,r)){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(t),r++,a=16}}function m(e){if(Mr(e)||Ir(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,i="",o=0,a=16,h=0},getPosition:function(){return r},scan:t?function(){var e;do{e=d()}while(e>=12&&e<=15);return e}:d,getToken:function(){return a},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return c},getTokenStartCharacter:function(){return o-u},getTokenError:function(){return h}}}function Mr(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function Ir(e){return 10===e||13===e||8232===e||8233===e}function Pr(e){return e>=48&&e<=57}function Rr(e,t,n){var r,i,o,a,s;if(t){for(a=t.offset,s=a+t.length,o=a;o>0&&!Fr(e,o-1);)o--;for(var c=s;c<e.length&&!Fr(e,c);)c++;i=e.substring(o,c),r=function(e,t){var n=0,r=0,i=t.tabSize||4;for(;n<e.length;){var o=e.charAt(n);if(" "===o)r++;else{if("\t"!==o)break;r+=i}n++}return Math.floor(r/i)}(i,n)}else i=e,r=0,o=0,a=0,s=e.length;var l,u=function(e,t){for(var n=0;n<t.length;n++){var r=t.charAt(n);if("\r"===r)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===r)return"\n"}return e&&e.eol||"\n"}(n,e),h=!1,f=0;l=n.insertSpaces?Vr(" ",n.tabSize||4):"\t";var d=Or(i,!1),m=!1;function g(){return u+Vr(l,r+f)}function p(){var e=d.scan();for(h=!1;15===e||14===e;)h=h||14===e,e=d.scan();return m=16===e||0!==d.getTokenError(),e}var b=[];function v(n,r,i){m||t&&!(r<s&&i>a)||e.substring(r,i)===n||b.push({offset:r,length:i-r,content:n})}var y=p();if(17!==y){var C=d.getTokenOffset()+o;v(Vr(l,r),o,C)}for(;17!==y;){for(var w=d.getTokenOffset()+d.getTokenLength()+o,_=p(),S="",A=!1;!h&&(12===_||13===_);){v(" ",w,d.getTokenOffset()+o),w=d.getTokenOffset()+d.getTokenLength()+o,S=(A=12===_)?g():"",_=p()}if(2===_)1!==y&&(f--,S=g());else if(4===_)3!==y&&(f--,S=g());else{switch(y){case 3:case 1:f++,S=g();break;case 5:case 12:S=g();break;case 13:h?S=g():A||(S=" ");break;case 6:A||(S=" ");break;case 10:if(6===_){A||(S="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===_||13===_?A||(S=" "):5!==_&&17!==_&&(m=!0);break;case 16:m=!0}!h||12!==_&&13!==_||(S=g())}17===_&&(S=n.insertFinalNewline?u:""),v(S,w,d.getTokenOffset()+o),y=_}return b}function Vr(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function Fr(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var Dr;self.onmessage=e=>{Lr||Tr(null)},(Dr||(Dr={})).DEFAULT={allowTrailingComma:!1};var Kr,jr,Ur,Br,qr,$r,Wr,Hr,zr,Gr,Jr,Xr,Zr,Yr,Qr,ei,ti,ni,ri,ii,oi,ai,si,ci,li,ui,hi,fi,di,mi,gi,pi,bi,vi,yi,Ci,wi,_i,Si,Ai,Ei,xi,Ni,ki,Li,Ti,Oi,Mi,Ii=Or,Pi=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=Dr.DEFAULT);var r=null,i=[],o=[];function a(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return function(e,t,n){void 0===n&&(n=Dr.DEFAULT);var r=Or(e,!1);function i(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function o(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var a=i(t.onObjectBegin),s=o(t.onObjectProperty),c=i(t.onObjectEnd),l=i(t.onArrayBegin),u=i(t.onArrayEnd),h=o(t.onLiteralValue),f=o(t.onSeparator),d=i(t.onComment),m=o(t.onError),g=n&&n.disallowComments,p=n&&n.allowTrailingComma;function b(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:v(14);break;case 5:v(15);break;case 3:v(13);break;case 1:g||v(11);break;case 2:v(12);break;case 6:v(16)}switch(e){case 12:case 13:g?v(10):d();break;case 16:v(1);break;case 15:case 14:break;default:return e}}}function v(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),m(e),t.length+n.length>0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){b();break}if(-1!==n.indexOf(i))break;i=b()}}function y(e){var t=r.getTokenValue();return e?h(t):s(t),b(),!0}function C(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(v(2),t=0),h(t);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return b(),!0}function w(){return 10!==r.getToken()?(v(3,[],[2,5]),!1):(y(!1),6===r.getToken()?(f(":"),b(),A()||v(4,[],[2,5])):v(5,[],[2,5]),!0)}function _(){a(),b();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||v(4,[],[]),f(","),b(),2===r.getToken()&&p)break}else e&&v(6,[],[]);w()||v(4,[],[2,5]),e=!0}return c(),2!==r.getToken()?v(7,[2],[]):b(),!0}function S(){l(),b();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||v(4,[],[]),f(","),b(),4===r.getToken()&&p)break}else e&&v(6,[],[]);A()||v(4,[],[4,5]),e=!0}return u(),4!==r.getToken()?v(8,[4],[]):b(),!0}function A(){switch(r.getToken()){case 3:return S();case 1:return _();case 10:return y(!0);default:return C()}}if(b(),17===r.getToken())return!!n.allowEmptyContent||(v(4,[],[]),!1);if(!A())return v(4,[],[]),!1;17!==r.getToken()&&v(9,[],[])}(e,{onObjectBegin:function(){var e={};a(e),o.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=o.pop()},onArrayBegin:function(){var e=[];a(e),o.push(i),i=e,r=null},onArrayEnd:function(){i=o.pop()},onLiteralValue:a,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},Ri=function e(t,n,r){if(void 0===r&&(r=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=n;o++){var a=e(i[o],n,r);if(a)return a}return t}},Vi=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&n.push(i)}return n},Fi=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),r=0,i=t.children;r<i.length;r++){var o=i[r],a=o.children[1];a&&(n[o.children[0].value]=e(a))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function Di(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Di(e[n],t[n]))return!1}else{var i=[];for(r in e)i.push(r);i.sort();var o=[];for(r in t)o.push(r);if(o.sort(),!Di(i,o))return!1;for(n=0;n<i.length;n++)if(!Di(e[i[n]],t[i[n]]))return!1}return!0}function Ki(e){return"number"==typeof e}function ji(e){return void 0!==e}function Ui(e){return"boolean"==typeof e}function Bi(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function qi(e){var t="";(function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0})(e,"(?i)")&&(e=e.substring(4),t="i");try{return new RegExp(e,t+"u")}catch(Cs){try{return new RegExp(e,t)}catch(n){return}}}(jr=Kr||(Kr={})).MIN_VALUE=-2147483648,jr.MAX_VALUE=2147483647,(Br=Ur||(Ur={})).MIN_VALUE=0,Br.MAX_VALUE=2147483647,($r=qr||(qr={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=Ur.MAX_VALUE),t===Number.MAX_VALUE&&(t=Ur.MAX_VALUE),{line:e,character:t}},$r.is=function(e){var t=e;return Uo.objectLiteral(t)&&Uo.uinteger(t.line)&&Uo.uinteger(t.character)},(Hr=Wr||(Wr={})).create=function(e,t,n,r){if(Uo.uinteger(e)&&Uo.uinteger(t)&&Uo.uinteger(n)&&Uo.uinteger(r))return{start:qr.create(e,t),end:qr.create(n,r)};if(qr.is(e)&&qr.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},Hr.is=function(e){var t=e;return Uo.objectLiteral(t)&&qr.is(t.start)&&qr.is(t.end)},(Gr=zr||(zr={})).create=function(e,t){return{uri:e,range:t}},Gr.is=function(e){var t=e;return Uo.defined(t)&&Wr.is(t.range)&&(Uo.string(t.uri)||Uo.undefined(t.uri))},(Xr=Jr||(Jr={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},Xr.is=function(e){var t=e;return Uo.defined(t)&&Wr.is(t.targetRange)&&Uo.string(t.targetUri)&&(Wr.is(t.targetSelectionRange)||Uo.undefined(t.targetSelectionRange))&&(Wr.is(t.originSelectionRange)||Uo.undefined(t.originSelectionRange))},(Yr=Zr||(Zr={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},Yr.is=function(e){var t=e;return Uo.numberRange(t.red,0,1)&&Uo.numberRange(t.green,0,1)&&Uo.numberRange(t.blue,0,1)&&Uo.numberRange(t.alpha,0,1)},(ei=Qr||(Qr={})).create=function(e,t){return{range:e,color:t}},ei.is=function(e){var t=e;return Wr.is(t.range)&&Zr.is(t.color)},(ni=ti||(ti={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},ni.is=function(e){var t=e;return Uo.string(t.label)&&(Uo.undefined(t.textEdit)||bi.is(t))&&(Uo.undefined(t.additionalTextEdits)||Uo.typedArray(t.additionalTextEdits,bi.is))},(ii=ri||(ri={})).Comment="comment",ii.Imports="imports",ii.Region="region",(ai=oi||(oi={})).create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return Uo.defined(n)&&(o.startCharacter=n),Uo.defined(r)&&(o.endCharacter=r),Uo.defined(i)&&(o.kind=i),o},ai.is=function(e){var t=e;return Uo.uinteger(t.startLine)&&Uo.uinteger(t.startLine)&&(Uo.undefined(t.startCharacter)||Uo.uinteger(t.startCharacter))&&(Uo.undefined(t.endCharacter)||Uo.uinteger(t.endCharacter))&&(Uo.undefined(t.kind)||Uo.string(t.kind))},(ci=si||(si={})).create=function(e,t){return{location:e,message:t}},ci.is=function(e){var t=e;return Uo.defined(t)&&zr.is(t.location)&&Uo.string(t.message)},(ui=li||(li={})).Error=1,ui.Warning=2,ui.Information=3,ui.Hint=4,(fi=hi||(hi={})).Unnecessary=1,fi.Deprecated=2,(di||(di={})).is=function(e){var t=e;return null!=t&&Uo.string(t.href)},(gi=mi||(mi={})).create=function(e,t,n,r,i,o){var a={range:e,message:t};return Uo.defined(n)&&(a.severity=n),Uo.defined(r)&&(a.code=r),Uo.defined(i)&&(a.source=i),Uo.defined(o)&&(a.relatedInformation=o),a},gi.is=function(e){var t,n=e;return Uo.defined(n)&&Wr.is(n.range)&&Uo.string(n.message)&&(Uo.number(n.severity)||Uo.undefined(n.severity))&&(Uo.integer(n.code)||Uo.string(n.code)||Uo.undefined(n.code))&&(Uo.undefined(n.codeDescription)||Uo.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(Uo.string(n.source)||Uo.undefined(n.source))&&(Uo.undefined(n.relatedInformation)||Uo.typedArray(n.relatedInformation,si.is))},function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return Uo.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return Uo.defined(t)&&Uo.string(t.title)&&Uo.string(t.command)}}(pi||(pi={})),(vi=bi||(bi={})).replace=function(e,t){return{range:e,newText:t}},vi.insert=function(e,t){return{range:{start:e,end:e},newText:t}},vi.del=function(e){return{range:e,newText:""}},vi.is=function(e){var t=e;return Uo.objectLiteral(t)&&Uo.string(t.newText)&&Wr.is(t.range)},(Ci=yi||(yi={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},Ci.is=function(e){var t=e;return void 0!==t&&Uo.objectLiteral(t)&&Uo.string(t.label)&&(Uo.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(Uo.string(t.description)||void 0===t.description)},(wi||(wi={})).is=function(e){return"string"==typeof e},(Si=_i||(_i={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},Si.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},Si.del=function(e,t){return{range:e,newText:"",annotationId:t}},Si.is=function(e){var t=e;return bi.is(t)&&(yi.is(t.annotationId)||wi.is(t.annotationId))},(Ei=Ai||(Ai={})).create=function(e,t){return{textDocument:e,edits:t}},Ei.is=function(e){var t=e;return Uo.defined(t)&&Gi.is(t.textDocument)&&Array.isArray(t.edits)},(Ni=xi||(xi={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},Ni.is=function(e){var t=e;return t&&"create"===t.kind&&Uo.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||Uo.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Uo.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||wi.is(t.annotationId))},(Li=ki||(ki={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},Li.is=function(e){var t=e;return t&&"rename"===t.kind&&Uo.string(t.oldUri)&&Uo.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||Uo.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||Uo.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||wi.is(t.annotationId))},(Oi=Ti||(Ti={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},Oi.is=function(e){var t=e;return t&&"delete"===t.kind&&Uo.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||Uo.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||Uo.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||wi.is(t.annotationId))},(Mi||(Mi={})).is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return Uo.string(e.kind)?xi.is(e)||ki.is(e)||Ti.is(e):Ai.is(e)})))};var $i,Wi,Hi,zi,Gi,Ji,Xi,Zi,Yi,Qi,eo,to,no,ro,io,oo,ao,so,co,lo,uo,ho,fo,mo,go,po,bo,vo,yo,Co,wo,_o,So,Ao,Eo,xo,No,ko,Lo,To,Oo,Mo,Io,Po,Ro,Vo,Fo,Do,Ko=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=bi.insert(e,t):wi.is(n)?(i=n,r=_i.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_i.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=bi.replace(e,t):wi.is(n)?(i=n,r=_i.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_i.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=bi.del(e):wi.is(t)?(r=t,n=_i.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=_i.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),jo=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(wi.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new jo(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(Ai.is(e)){var n=new Ko(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Ko(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Gi.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new Ko(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new Ko(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new jo,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(yi.is(t)||wi.is(t)?r=t:n=t,void 0===r?i=xi.create(e,n):(o=wi.is(r)?r:this._changeAnnotations.manage(r),i=xi.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,a;if(yi.is(n)||wi.is(n)?i=n:r=n,void 0===i?o=ki.create(e,t,r):(a=wi.is(i)?i:this._changeAnnotations.manage(i),o=ki.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(yi.is(t)||wi.is(t)?r=t:n=t,void 0===r?i=Ti.create(e,n):(o=wi.is(r)?r:this._changeAnnotations.manage(r),i=Ti.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}(),(Wi=$i||($i={})).create=function(e){return{uri:e}},Wi.is=function(e){var t=e;return Uo.defined(t)&&Uo.string(t.uri)},(zi=Hi||(Hi={})).create=function(e,t){return{uri:e,version:t}},zi.is=function(e){var t=e;return Uo.defined(t)&&Uo.string(t.uri)&&Uo.integer(t.version)},(Ji=Gi||(Gi={})).create=function(e,t){return{uri:e,version:t}},Ji.is=function(e){var t=e;return Uo.defined(t)&&Uo.string(t.uri)&&(null===t.version||Uo.integer(t.version))},(Zi=Xi||(Xi={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},Zi.is=function(e){var t=e;return Uo.defined(t)&&Uo.string(t.uri)&&Uo.string(t.languageId)&&Uo.integer(t.version)&&Uo.string(t.text)},(Qi=Yi||(Yi={})).PlainText="plaintext",Qi.Markdown="markdown",function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(Yi||(Yi={})),(eo||(eo={})).is=function(e){var t=e;return Uo.objectLiteral(e)&&Yi.is(t.kind)&&Uo.string(t.value)},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}(to||(to={})),(ro=no||(no={})).PlainText=1,ro.Snippet=2,function(e){e.Deprecated=1}(io||(io={})),(ao=oo||(oo={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},ao.is=function(e){var t=e;return t&&Uo.string(t.newText)&&Wr.is(t.insert)&&Wr.is(t.replace)},(co=so||(so={})).asIs=1,co.adjustIndentation=2,(lo||(lo={})).create=function(e){return{label:e}},(uo||(uo={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(fo=ho||(ho={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},fo.is=function(e){var t=e;return Uo.string(t)||Uo.objectLiteral(t)&&Uo.string(t.language)&&Uo.string(t.value)},(mo||(mo={})).is=function(e){var t=e;return!!t&&Uo.objectLiteral(t)&&(eo.is(t.contents)||ho.is(t.contents)||Uo.typedArray(t.contents,ho.is))&&(void 0===e.range||Wr.is(e.range))},(go||(go={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(po||(po={})).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return Uo.defined(t)&&(i.documentation=t),Uo.defined(n)?i.parameters=n:i.parameters=[],i},function(e){e.Text=1,e.Read=2,e.Write=3}(bo||(bo={})),(vo||(vo={})).create=function(e,t){var n={range:e};return Uo.number(t)&&(n.kind=t),n},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}(yo||(yo={})),function(e){e.Deprecated=1}(Co||(Co={})),(wo||(wo={})).create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(So=_o||(_o={})).create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},So.is=function(e){var t=e;return t&&Uo.string(t.name)&&Uo.number(t.kind)&&Wr.is(t.range)&&Wr.is(t.selectionRange)&&(void 0===t.detail||Uo.string(t.detail))&&(void 0===t.deprecated||Uo.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},(Eo=Ao||(Ao={})).Empty="",Eo.QuickFix="quickfix",Eo.Refactor="refactor",Eo.RefactorExtract="refactor.extract",Eo.RefactorInline="refactor.inline",Eo.RefactorRewrite="refactor.rewrite",Eo.Source="source",Eo.SourceOrganizeImports="source.organizeImports",Eo.SourceFixAll="source.fixAll",(No=xo||(xo={})).create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},No.is=function(e){var t=e;return Uo.defined(t)&&Uo.typedArray(t.diagnostics,mi.is)&&(void 0===t.only||Uo.typedArray(t.only,Uo.string))},(Lo=ko||(ko={})).create=function(e,t,n){var r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):pi.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Lo.is=function(e){var t=e;return t&&Uo.string(t.title)&&(void 0===t.diagnostics||Uo.typedArray(t.diagnostics,mi.is))&&(void 0===t.kind||Uo.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||pi.is(t.command))&&(void 0===t.isPreferred||Uo.boolean(t.isPreferred))&&(void 0===t.edit||Mi.is(t.edit))},(Oo=To||(To={})).create=function(e,t){var n={range:e};return Uo.defined(t)&&(n.data=t),n},Oo.is=function(e){var t=e;return Uo.defined(t)&&Wr.is(t.range)&&(Uo.undefined(t.command)||pi.is(t.command))},(Io=Mo||(Mo={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},Io.is=function(e){var t=e;return Uo.defined(t)&&Uo.uinteger(t.tabSize)&&Uo.boolean(t.insertSpaces)},(Ro=Po||(Po={})).create=function(e,t,n){return{range:e,target:t,data:n}},Ro.is=function(e){var t=e;return Uo.defined(t)&&Wr.is(t.range)&&(Uo.undefined(t.target)||Uo.string(t.target))},(Fo=Vo||(Vo={})).create=function(e,t){return{range:e,parent:t}},Fo.is=function(e){var t=e;return void 0!==t&&Wr.is(t.range)&&(void 0===t.parent||Fo.is(t.parent))},function(e){function t(e,n){if(e.length<=1)return e;var r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);for(var a=0,s=0,c=0;a<i.length&&s<o.length;){var l=n(i[a],o[s]);e[c++]=l<=0?i[a++]:o[s++]}for(;a<i.length;)e[c++]=i[a++];for(;s<o.length;)e[c++]=o[s++];return e}e.create=function(e,t,n,r){return new $o(e,t,n,r)},e.is=function(e){var t=e;return!!(Uo.defined(t)&&Uo.string(t.uri)&&(Uo.undefined(t.languageId)||Uo.string(t.languageId))&&Uo.uinteger(t.lineCount)&&Uo.func(t.getText)&&Uo.func(t.positionAt)&&Uo.func(t.offsetAt))},e.applyEdits=function(e,n){for(var r=e.getText(),i=t(n,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=r.length,a=i.length-1;a>=0;a--){var s=i[a],c=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=o))throw new Error("Overlapping edit");r=r.substring(0,c)+s.newText+r.substring(l,r.length),o=c}return r}}(Do||(Do={}));var Uo,Bo,qo,$o=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return qr.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return qr.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();Bo=Uo||(Uo={}),qo=Object.prototype.toString,Bo.defined=function(e){return void 0!==e},Bo.undefined=function(e){return void 0===e},Bo.boolean=function(e){return!0===e||!1===e},Bo.string=function(e){return"[object String]"===qo.call(e)},Bo.number=function(e){return"[object Number]"===qo.call(e)},Bo.numberRange=function(e,t,n){return"[object Number]"===qo.call(e)&&t<=e&&e<=n},Bo.integer=function(e){return"[object Number]"===qo.call(e)&&-2147483648<=e&&e<=2147483647},Bo.uinteger=function(e){return"[object Number]"===qo.call(e)&&0<=e&&e<=2147483647},Bo.func=function(e){return"[object Function]"===qo.call(e)},Bo.objectLiteral=function(e){return null!==e&&"object"==typeof e},Bo.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)};var Wo,Ho,zo,Go,Jo,Xo=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){for(let n of e)if(Xo.isIncremental(n)){const e=Qo(n.range),t=this.offsetAt(e.start),r=this.offsetAt(e.end);this._content=this._content.substring(0,t)+n.text+this._content.substring(r,this._content.length);const i=Math.max(e.start.line,0),o=Math.max(e.end.line,0);let a=this._lineOffsets;const s=Yo(n.text,!1,t);if(o-i===s.length)for(let n=0,l=s.length;n<l;n++)a[n+i+1]=s[n];else s.length<1e4?a.splice(i+1,o-i,...s):this._lineOffsets=a=a.slice(0,i+1).concat(s,a.slice(o+1));const c=n.text.length-(r-t);if(0!==c)for(let n=i+1+s.length,l=a.length;n<l;n++)a[n]=a[n]+c}else{if(!Xo.isFull(n))throw new Error("Unknown change event received");this._content=n.text,this._lineOffsets=void 0}this._version=t}getLineOffsets(){return void 0===this._lineOffsets&&(this._lineOffsets=Yo(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){let i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}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],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)}static isFull(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength}};function Zo(e,t){if(e.length<=1)return e;const n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);Zo(r,t),Zo(i,t);let o=0,a=0,s=0;for(;o<r.length&&a<i.length;){let n=t(r[o],i[a]);e[s++]=n<=0?r[o++]:i[a++]}for(;o<r.length;)e[s++]=r[o++];for(;a<i.length;)e[s++]=i[a++];return e}function Yo(e,t,n=0){const r=t?[n]:[];for(let i=0;i<e.length;i++){let t=e.charCodeAt(i);13!==t&&10!==t||(13===t&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function Qo(e){const t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function ea(e){const t=Qo(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function ta(e,t,...n){return function(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{let r=n[0];return void 0!==t[r]?t[r]:e})),n}(t,n)}function na(e){return ta}(Ho=Wo||(Wo={})).create=function(e,t,n,r){return new Xo(e,t,n,r)},Ho.update=function(e,t,n){if(e instanceof Xo)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},Ho.applyEdits=function(e,t){let n=e.getText(),r=Zo(t.map(ea),((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=0;const o=[];for(const a of r){let t=e.offsetAt(a.range.start);if(t<i)throw new Error("Overlapping edit");t>i&&o.push(n.substring(i,t)),a.newText.length&&o.push(a.newText),i=e.offsetAt(a.range.end)}return o.push(n.substr(i)),o.join("")},(Go=zo||(zo={}))[Go.Undefined=0]="Undefined",Go[Go.EnumValueMismatch=1]="EnumValueMismatch",Go[Go.Deprecated=2]="Deprecated",Go[Go.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",Go[Go.UnexpectedEndOfString=258]="UnexpectedEndOfString",Go[Go.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",Go[Go.InvalidUnicode=260]="InvalidUnicode",Go[Go.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",Go[Go.InvalidCharacter=262]="InvalidCharacter",Go[Go.PropertyExpected=513]="PropertyExpected",Go[Go.CommaExpected=514]="CommaExpected",Go[Go.ColonExpected=515]="ColonExpected",Go[Go.ValueExpected=516]="ValueExpected",Go[Go.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",Go[Go.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",Go[Go.TrailingComma=519]="TrailingComma",Go[Go.DuplicateKey=520]="DuplicateKey",Go[Go.CommentNotPermitted=521]="CommentNotPermitted",Go[Go.SchemaResolveError=768]="SchemaResolveError",(Jo||(Jo={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Yi.Markdown,Yi.PlainText],commitCharactersSupport:!0}}}};var ra,ia,oa,aa=(ra=function(e,t){return(ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ra(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),sa=na(),ca={"color-hex":{errorMessage:sa("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:sa("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:sa("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:sa("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:sa("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/},hostname:{errorMessage:sa("hostnameFormatWarning","String is not a hostname."),pattern:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i},ipv4:{errorMessage:sa("ipv4FormatWarning","String is not an IPv4 address."),pattern:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/},ipv6:{errorMessage:sa("ipv6FormatWarning","String is not an IPv6 address."),pattern:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i}},la=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),ua=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return aa(t,e),t}(la),ha=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return aa(t,e),t}(la),fa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return aa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(la),da=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return aa(t,e),t}(la),ma=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return aa(t,e),t}(la),ga=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.type="property",i.colonOffset=-1,i.keyNode=r,i}return aa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(la),pa=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return aa(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(la);function ba(e){return Ui(e)?e?{}:{not:{}}:e}(oa=ia||(ia={}))[oa.Key=0]="Key",oa[oa.Enum=1]="Enum";var va=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||Sa(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),ya=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Ca=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.merge(r)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var r=n[t];r.code===zo.EnumValueMismatch&&(r.message=sa("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function wa(e){return Fi(e)}function _a(e){return Vi(e)}function Sa(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var Aa=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return Ri(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var r=e(n),i=n.children;if(Array.isArray(i))for(var o=0;o<i.length&&r;o++)r=t(i[o]);return r};t(this.root)}},e.prototype.validate=function(e,t,n){if(void 0===n&&(n=li.Warning),this.root&&t){var r=new Ca;return Ea(this.root,t,r,ya.instance),r.problems.map((function(t){var r,i=Wr.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return mi.create(i,t.message,null!==(r=t.severity)&&void 0!==r?r:n,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var r=new va(t,n);return this.root&&e&&Ea(this.root,e,new Ca,r),r.schemas},e}();function Ea(e,t,n,r){if(e&&r.include(e)){var i=e;switch(i.type){case"object":!function(e,t,n,r){for(var i=Object.create(null),o=[],a=0,s=e.properties;a<s.length;a++){i[K=(p=s[a]).keyNode.value]=p.valueNode,o.push(K)}if(Array.isArray(t.required))for(var c=0,l=t.required;c<l.length;c++){if(!i[S=l[c]]){var u=e.parent&&"property"===e.parent.type&&e.parent.keyNode,h=u?{offset:u.offset,length:u.length}:{offset:e.offset,length:1};n.problems.push({location:h,message:sa("MissingRequiredPropWarning",'Missing property "{0}".',S)})}}var f=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var d=0,m=Object.keys(t.properties);d<m.length;d++){f(S=m[d]);var g=t.properties[S];if(L=i[S])if(Ui(g))if(g)n.propertiesMatches++,n.propertiesValueMatches++;else{var p=L.parent;n.problems.push({location:{offset:p.keyNode.offset,length:p.keyNode.length},message:t.errorMessage||sa("DisallowedExtraPropWarning","Property {0} is not allowed.",S)})}else Ea(L,g,x=new Ca,r),n.mergePropertyMatch(x)}if(t.patternProperties)for(var b=0,v=Object.keys(t.patternProperties);b<v.length;b++)for(var y=v[b],C=qi(y),w=0,_=o.slice(0);w<_.length;w++){var S=_[w];if(null==C?void 0:C.test(S))if(f(S),L=i[S])if(Ui(g=t.patternProperties[y]))if(g)n.propertiesMatches++,n.propertiesValueMatches++;else{p=L.parent;n.problems.push({location:{offset:p.keyNode.offset,length:p.keyNode.length},message:t.errorMessage||sa("DisallowedExtraPropWarning","Property {0} is not allowed.",S)})}else Ea(L,g,x=new Ca,r),n.mergePropertyMatch(x)}if("object"==typeof t.additionalProperties)for(var A=0,E=o;A<E.length;A++){if(L=i[S=E[A]]){var x=new Ca;Ea(L,t.additionalProperties,x,r),n.mergePropertyMatch(x)}}else if(!1===t.additionalProperties&&o.length>0)for(var N=0,k=o;N<k.length;N++){var L;if(L=i[S=k[N]]){p=L.parent;n.problems.push({location:{offset:p.keyNode.offset,length:p.keyNode.length},message:t.errorMessage||sa("DisallowedExtraPropWarning","Property {0} is not allowed.",S)})}}Ki(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});Ki(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var T=0,O=Object.keys(t.dependencies);T<O.length;T++){if(i[K=O[T]]){var M=t.dependencies[K];if(Array.isArray(M))for(var I=0,P=M;I<P.length;I++){var R=P[I];i[R]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},message:sa("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",R,K)})}else if(g=ba(M))Ea(e,g,x=new Ca,r),n.mergePropertyMatch(x)}}var V=ba(t.propertyNames);if(V)for(var F=0,D=e.properties;F<D.length;F++){var K;(K=D[F].keyNode)&&Ea(K,V,n,ya.instance)}}(i,t,n,r);break;case"array":!function(e,t,n,r){if(Array.isArray(t.items)){for(var i=t.items,o=0;o<i.length;o++){var a=ba(i[o]),s=new Ca;(f=e.items[o])?(Ea(f,a,s,r),n.mergePropertyMatch(s)):e.items.length>=i.length&&n.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var c=i.length;c<e.items.length;c++){s=new Ca;Ea(e.items[c],t.additionalItems,s,r),n.mergePropertyMatch(s)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var l=ba(t.items);if(l)for(var u=0,h=e.items;u<h.length;u++){var f;Ea(f=h[u],l,s=new Ca,r),n.mergePropertyMatch(s)}}var d=ba(t.contains);if(d){e.items.some((function(e){var t=new Ca;return Ea(e,d,t,ya.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||sa("requiredItemMissingWarning","Array does not contain required item.")})}Ki(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});Ki(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var m=wa(e);m.some((function(e,t){return t!==m.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("uniqueItemsWarning","Array has duplicate items.")})}}(i,t,n,r);break;case"string":!function(e,t,n,r){Ki(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});Ki(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(o=t.pattern,"string"==typeof o){var i=qi(t.pattern);(null==i?void 0:i.test(e.value))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||sa("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var o;if(t.format)switch(t.format){case"uri":case"uri-reference":var a=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(a=sa("uriSchemeMissing","URI with a scheme is expected.")):a=sa("uriMissing","URI is expected.")}else a=sa("uriEmpty","URI expected.");a&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||sa("uriFormatWarning","String is not a URI: {0}",a)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var c=ca[t.format];e.value&&c.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||c.errorMessage})}}(i,t,n);break;case"number":!function(e,t,n,r){var i=e.value;function o(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(Ki(t.multipleOf)){var a=-1;if(Number.isInteger(t.multipleOf))a=i%t.multipleOf;else{var s=o(t.multipleOf),c=o(i);if(s&&c){var l=Math.pow(10,Math.abs(c.multiplier-s.multiplier));c.multiplier<s.multiplier?c.value*=l:s.value*=l,a=c.value%s.value}}0!==a&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function u(e,t){return Ki(t)?t:Ui(t)&&t?e:void 0}function h(e,t){if(!Ui(t)||!t)return e}var f=u(t.minimum,t.exclusiveMinimum);Ki(f)&&i<=f&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",f)});var d=u(t.maximum,t.exclusiveMaximum);Ki(d)&&i>=d&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",d)});var m=h(t.minimum,t.exclusiveMinimum);Ki(m)&&i<m&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("minimumWarning","Value is below the minimum of {0}.",m)});var g=h(t.maximum,t.exclusiveMaximum);Ki(g)&&i>g&&n.problems.push({location:{offset:e.offset,length:e.length},message:sa("maximumWarning","Value is above the maximum of {0}.",g)})}(i,t,n);break;case"property":return Ea(i.valueNode,t,n,r)}!function(){function e(e){return i.type===e||"integer"===e&&"number"===i.type&&i.isInteger}Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||sa("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:i.offset,length:i.length},message:t.errorMessage||sa("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,a=t.allOf;o<a.length;o++){var s=a[o];Ea(i,ba(s),n,r)}var c=ba(t.not);if(c){var l=new Ca,u=r.newSub();Ea(i,c,l,u),l.hasProblems()||n.problems.push({location:{offset:i.offset,length:i.length},message:sa("notSchemaWarning","Matches a schema that is not allowed.")});for(var h=0,f=u.schemas;h<f.length;h++){var d=f[h];d.inverted=!d.inverted,r.add(d)}}var m=function(e,t){for(var o=[],a=void 0,s=0,c=e;s<c.length;s++){var l=ba(c[s]),u=new Ca,h=r.newSub();if(Ea(i,l,u,h),u.hasProblems()||o.push(l),a)if(t||u.hasProblems()||a.validationResult.hasProblems()){var f=u.compare(a.validationResult);f>0?a={schema:l,validationResult:u,matchingSchemas:h}:0===f&&(a.matchingSchemas.merge(h),a.validationResult.mergeEnumValues(u))}else a.matchingSchemas.merge(h),a.validationResult.propertiesMatches+=u.propertiesMatches,a.validationResult.propertiesValueMatches+=u.propertiesValueMatches;else a={schema:l,validationResult:u,matchingSchemas:h}}return o.length>1&&t&&n.problems.push({location:{offset:i.offset,length:1},message:sa("oneOfWarning","Matches multiple schemas when only one must validate.")}),a&&(n.merge(a.validationResult),n.propertiesMatches+=a.validationResult.propertiesMatches,n.propertiesValueMatches+=a.validationResult.propertiesValueMatches,r.merge(a.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&m(t.anyOf,!1);Array.isArray(t.oneOf)&&m(t.oneOf,!0);var g=function(e){var t=new Ca,o=r.newSub();Ea(i,ba(e),t,o),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,r.merge(o)},p=ba(t.if);p&&(b=p,v=ba(t.then),y=ba(t.else),C=ba(b),w=new Ca,_=r.newSub(),Ea(i,C,w,_),r.merge(_),w.hasProblems()?y&&g(y):v&&g(v));var b,v,y,C,w,_;if(Array.isArray(t.enum)){for(var S=wa(i),A=!1,E=0,x=t.enum;E<x.length;E++){var N=x[E];if(Di(S,N)){A=!0;break}}n.enumValues=t.enum,n.enumValueMatch=A,A||n.problems.push({location:{offset:i.offset,length:i.length},code:zo.EnumValueMismatch,message:t.errorMessage||sa("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(ji(t.const)){Di(S=wa(i),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:i.offset,length:i.length},code:zo.EnumValueMismatch,message:t.errorMessage||sa("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&i.parent&&n.problems.push({location:{offset:i.parent.offset,length:i.parent.length},severity:li.Warning,message:t.deprecationMessage,code:zo.Deprecated})}(),r.add({node:i,schema:t})}}function xa(e,t){var n=[],r=-1,i=e.getText(),o=Ii(i,!1),a=t&&t.collectComments?[]:void 0;function s(){for(;;){var t=o.scan();switch(u(),t){case 12:case 13:Array.isArray(a)&&a.push(Wr.create(e.positionAt(o.getTokenOffset()),e.positionAt(o.getTokenOffset()+o.getTokenLength())));break;case 15:case 14:break;default:return t}}}function c(t,i,o,a,s){if(void 0===s&&(s=li.Error),0===n.length||o!==r){var c=Wr.create(e.positionAt(o),e.positionAt(a));n.push(mi.create(c,t,s,i,e.languageId)),r=o}}function l(e,t,n,r,a){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===a&&(a=[]);var l=o.getTokenOffset(),u=o.getTokenOffset()+o.getTokenLength();if(l===u&&l>0){for(l--;l>0&&/\s/.test(i.charAt(l));)l--;u=l+1}if(c(e,t,l,u),n&&h(n,!1),r.length+a.length>0)for(var f=o.getToken();17!==f;){if(-1!==r.indexOf(f)){s();break}if(-1!==a.indexOf(f))break;f=s()}return n}function u(){switch(o.getTokenError()){case 4:return l(sa("InvalidUnicode","Invalid unicode sequence in string."),zo.InvalidUnicode),!0;case 5:return l(sa("InvalidEscapeCharacter","Invalid escape character in string."),zo.InvalidEscapeCharacter),!0;case 3:return l(sa("UnexpectedEndOfNumber","Unexpected end of number."),zo.UnexpectedEndOfNumber),!0;case 1:return l(sa("UnexpectedEndOfComment","Unexpected end of comment."),zo.UnexpectedEndOfComment),!0;case 2:return l(sa("UnexpectedEndOfString","Unexpected end of string."),zo.UnexpectedEndOfString),!0;case 6:return l(sa("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),zo.InvalidCharacter),!0}return!1}function h(e,t){return e.length=o.getTokenOffset()+o.getTokenLength()-e.offset,t&&s(),e}var f=new ma(void 0,0,0);function d(t,n){var r=new ga(t,o.getTokenOffset(),f),i=m(r);if(!i){if(16!==o.getToken())return;l(sa("DoubleQuotesExpected","Property keys must be doublequoted"),zo.Undefined);var a=new ma(r,o.getTokenOffset(),o.getTokenLength());a.value=o.getTokenValue(),i=a,s()}r.keyNode=i;var u=n[i.value];if(u?(c(sa("DuplicateKeyWarning","Duplicate object key"),zo.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,li.Warning),"object"==typeof u&&c(sa("DuplicateKeyWarning","Duplicate object key"),zo.DuplicateKey,u.keyNode.offset,u.keyNode.offset+u.keyNode.length,li.Warning),n[i.value]=!0):n[i.value]=r,6===o.getToken())r.colonOffset=o.getTokenOffset(),s();else if(l(sa("ColonExpected","Colon expected"),zo.ColonExpected),10===o.getToken()&&e.positionAt(i.offset+i.length).line<e.positionAt(o.getTokenOffset()).line)return r.length=i.length,r;var h=g(r);return h?(r.valueNode=h,r.length=h.offset+h.length-r.offset,r):l(sa("ValueExpected","Value expected"),zo.ValueExpected,r,[],[2,5])}function m(e){if(10===o.getToken()){var t=new ma(e,o.getTokenOffset());return t.value=o.getTokenValue(),h(t,!0)}}function g(e){return function(e){if(3===o.getToken()){var t=new fa(e,o.getTokenOffset());s();for(var n=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){n||l(sa("ValueExpected","Value expected"),zo.ValueExpected);var r=o.getTokenOffset();if(s(),4===o.getToken()){n&&c(sa("TrailingComma","Trailing comma"),zo.TrailingComma,r,r+1);continue}}else n&&l(sa("ExpectedComma","Expected comma"),zo.CommaExpected);var i=g(t);i?t.items.push(i):l(sa("PropertyExpected","Value expected"),zo.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==o.getToken()?l(sa("ExpectedCloseBracket","Expected comma or closing bracket"),zo.CommaOrCloseBacketExpected,t):h(t,!0)}}(e)||function(e){if(1===o.getToken()){var t=new pa(e,o.getTokenOffset()),n=Object.create(null);s();for(var r=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){r||l(sa("PropertyExpected","Property expected"),zo.PropertyExpected);var i=o.getTokenOffset();if(s(),2===o.getToken()){r&&c(sa("TrailingComma","Trailing comma"),zo.TrailingComma,i,i+1);continue}}else r&&l(sa("ExpectedComma","Expected comma"),zo.CommaExpected);var a=d(t,n);a?t.properties.push(a):l(sa("PropertyExpected","Property expected"),zo.PropertyExpected,void 0,[],[2,5]),r=!0}return 2!==o.getToken()?l(sa("ExpectedCloseBrace","Expected comma or closing brace"),zo.CommaOrCloseBraceExpected,t):h(t,!0)}}(e)||m(e)||function(e){if(11===o.getToken()){var t=new da(e,o.getTokenOffset());if(0===o.getTokenError()){var n=o.getTokenValue();try{var r=JSON.parse(n);if(!Ki(r))return l(sa("InvalidNumberFormat","Invalid number format."),zo.Undefined,t);t.value=r}catch(Cs){return l(sa("InvalidNumberFormat","Invalid number format."),zo.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return h(t,!0)}}(e)||function(e){switch(o.getToken()){case 7:return h(new ua(e,o.getTokenOffset()),!0);case 8:return h(new ha(e,!0,o.getTokenOffset()),!0);case 9:return h(new ha(e,!1,o.getTokenOffset()),!0);default:return}}(e)}var p=void 0;return 17!==s()&&((p=g(p))?17!==o.getToken()&&l(sa("End of file expected","End of file expected."),zo.Undefined):l(sa("Invalid symbol","Expected a JSON object, array or literal."),zo.Undefined)),new Aa(p,n,a)}function Na(e,t,n){if(null!==e&&"object"==typeof e){var r=t+"\t";if(Array.isArray(e)){if(0===e.length)return"[]";for(var i="[\n",o=0;o<e.length;o++)i+=r+Na(e[o],r,n),o<e.length-1&&(i+=","),i+="\n";return i+=t+"]"}var a=Object.keys(e);if(0===a.length)return"{}";for(i="{\n",o=0;o<a.length;o++){var s=a[o];i+=r+JSON.stringify(s)+": "+Na(e[s],r,n),o<a.length-1&&(i+=","),i+="\n"}return i+=t+"}"}return n(e)}var ka=na(),La=function(){function e(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===r&&(r={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=r}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var r=n(e);if(r)return r}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var r=this,i={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),s=n.getNodeFromOffset(a,!0);if(this.isInComment(e,s?s.offset:0,a))return Promise.resolve(i);if(s&&a===s.offset+s.length&&a>0){var c=o[a-1];("object"===s.type&&"}"===c||"array"===s.type&&"]"===c)&&(s=s.parent)}var l,u=this.getCurrentWord(e,a);if(!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type){var h=a-u.length;h>0&&'"'===o[h-1]&&h--,l=Wr.create(e.positionAt(h),t)}else l=Wr.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length));var f={},d={add:function(e){var t=e.label,n=f[t];if(n)n.documentation||(n.documentation=e.documentation),n.detail||(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var r=t.substr(0,57).trim()+"...";f[r]||(t=r)}l&&void 0!==e.insertText&&(e.textEdit=bi.replace(l,e.insertText)),e.label=t,f[t]=e,i.items.push(e)}},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){},log:function(e){},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var c=[],h=!0,m="",g=void 0;if(s&&"string"===s.type){var p=s.parent;p&&"property"===p.type&&p.keyNode===s&&(h=!p.valueNode,g=p,m=o.substr(s.offset+1,s.length-2),p&&(s=p.parent))}if(s&&"object"===s.type){if(s.offset===a)return i;s.properties.forEach((function(e){g&&g===e||(f[e.keyNode.value]=lo.create("__"))}));var b="";h&&(b=r.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?r.getPropertyCompletions(t,n,s,h,b,d):r.getSchemaLessPropertyCompletions(n,s,m,d);var v=_a(s);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,v,u,h,""===b,d);n&&c.push(n)})),!t&&u.length>0&&'"'!==o.charAt(a-u.length-1)&&(d.add({kind:to.Property,label:r.getLabelForValue(u),insertText:r.getInsertTextForProperty(u,void 0,!1,b),insertTextFormat:no.Snippet,documentation:""}),d.setAsIncomplete())}var y={};return t?r.getValueCompletions(t,n,s,a,e,d,y):r.getSchemaLessValueCompletions(n,s,a,e,d),r.contributions.length>0&&r.getContributedValueCompletions(n,s,a,e,d,c),r.promiseConstructor.all(c).then((function(){if(0===d.getNumberOfProposals()){var t=a;!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type||(t=s.offset+s.length);var n=r.evaluateSeparatorAfter(e,t);r.addFillerValueCompletions(y,n,d)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var a=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var s={kind:to.Property,label:e,insertText:a.getInsertTextForProperty(e,n,r,i),insertTextFormat:no.Snippet,filterText:a.getFilterTextForValue(e),documentation:a.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(s.sortText=n.suggestSortText),s.insertText&&Bi(s.insertText,"$1".concat(i))&&(s.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(s)}}));var s=e.schema.propertyNames;if("object"==typeof s&&!s.deprecationMessage&&!s.doNotSuggest){var c=function(e,t){void 0===t&&(t=void 0);var n={kind:to.Property,label:e,insertText:a.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:no.Snippet,filterText:a.getFilterTextForValue(e),documentation:t||a.fromMarkup(s.markdownDescription)||s.description||""};void 0!==s.suggestSortText&&(n.sortText=s.suggestSortText),n.insertText&&Bi(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(n)};if(s.enum)for(var l=0;l<s.enum.length;l++){var u=void 0;s.markdownEnumDescriptions&&l<s.markdownEnumDescriptions.length?u=a.fromMarkup(s.markdownEnumDescriptions[l]):s.enumDescriptions&&l<s.enumDescriptions.length&&(u=s.enumDescriptions[l]),c(s.enum[l],u)}s.const&&c(s.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;r.add({kind:to.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:no.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var a=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===a&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&r.add({kind:to.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:no.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,r,i){var o=this,a=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(a=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:no.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:no.Snippet,documentation:""});var s=this.evaluateSeparatorAfter(r,a),c=function(e){e.parent&&!Sa(e.parent,n,!0)&&i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,r),insertText:o.getInsertTextForMatchingNode(e,r,s),insertTextFormat:no.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,s,i)};if("property"===t.type&&n>(t.colonOffset||0)){var l=t.valueNode;if(l&&(n>l.offset+l.length||"object"===l.type||"array"===l.type))return;var u=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===u&&e.valueNode&&c(e.valueNode),!0})),"$schema"===u&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(s,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(c),!0}))}else t.items.forEach(c)},e.prototype.getValueCompletions=function(e,t,n,r,i,o,a){var s=r,c=void 0,l=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(s=n.offset+n.length,l=n,n=n.parent),n){if("property"===n.type&&r>(n.colonOffset||0)){var u=n.valueNode;if(u&&r>u.offset+u.length)return;c=n.keyNode.value,n=n.parent}if(n&&(void 0!==c||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(i,s),f=0,d=t.getMatchingSchemas(e.schema,n.offset,l);f<d.length;f++){var m=d[f];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var g=this.findItemAtOffset(n,i,r);g<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[g],h,o,a)}else this.addSchemaValueCompletions(m.schema.items,h,o,a);if(void 0!==c){var p=!1;if(m.schema.properties)(w=m.schema.properties[c])&&(p=!0,this.addSchemaValueCompletions(w,h,o,a));if(m.schema.patternProperties&&!p)for(var b=0,v=Object.keys(m.schema.patternProperties);b<v.length;b++){var y=v[b],C=qi(y);if(null==C?void 0:C.test(c)){p=!0;var w=m.schema.patternProperties[y];this.addSchemaValueCompletions(w,h,o,a)}}if(m.schema.additionalProperties&&!p){w=m.schema.additionalProperties;this.addSchemaValueCompletions(w,h,o,a)}}}}"$schema"!==c||n.parent||this.addDollarSchemaCompletions(h,o),a.boolean&&(this.addBooleanValueCompletion(!0,h,o),this.addBooleanValueCompletion(!1,h,o)),a.null&&this.addNullValueCompletion(h,o)}}else this.addSchemaValueCompletions(e.schema,"",o,a)},e.prototype.getContributedValueCompletions=function(e,t,n,r,i,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var a=t.keyNode.value,s=t.valueNode;if((!s||n<=s.offset+s.length)&&t.parent){var c=_a(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,c,a,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,n,r)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(ji(e.default)){for(var a=e.type,s=e.default,c=r;c>0;c--)s=[s],a="array";n.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(s),insertText:this.getInsertTextForValue(s,t),insertTextFormat:no.Snippet,detail:ka("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(a){for(var s=e.type,c=a,l=r;l>0;l--)c=[c],s="array";n.add({kind:i.getSuggestionKind(s),label:i.getLabelForValue(c),insertText:i.getInsertTextForValue(c,t),insertTextFormat:no.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(a){var s,c,l=e.type,u=a.body,h=a.label;if(ji(u)){e.type;for(var f=r;f>0;f--)u=[u];s=i.getInsertTextForSnippetValue(u,t),c=i.getFilterTextForSnippetValue(u),h=h||i.getLabelForSnippetValue(u)}else{if("string"!=typeof a.bodyText)return;var d="",m="",g="";for(f=r;f>0;f--)d=d+g+"[\n",m=m+"\n"+g+"]",g+="\t",l="array";s=d+g+a.bodyText.split("\n").join("\n"+g)+m+t,h=h||s,c=s.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(l),label:h,documentation:i.fromMarkup(a.markdownDescription)||a.description,insertText:s,insertTextFormat:no.Snippet,filterText:c}),o=!0})),!o&&"object"==typeof e.items&&!Array.isArray(e.items)&&r<5&&this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(ji(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:no.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r<i;r++){var o=e.enum[r],a=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&r<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?a=this.fromMarkup(e.markdownEnumDescriptions[r]):e.enumDescriptions&&r<e.enumDescriptions.length&&(a=e.enumDescriptions[r]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:no.Snippet,documentation:a})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!ji(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:no.Snippet,detail:ka("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:no.Snippet,detail:ka("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:no.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:no.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(r){return t.add({kind:to.Module,label:n.getLabelForValue(r),filterText:n.getFilterTextForValue(r),insertText:n.getInsertTextForValue(r,e),insertTextFormat:no.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return Na(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return to.Value;switch(e){case"string":default:return to.Value;case"object":return to.Module;case"property":return to.Property}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var o,a=i+": ",s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var c=t.defaultSnippets[0].body;ji(c)&&(o=this.getInsertTextForSnippetValue(c,""))}s+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),ji(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),s++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),s+=t.examples.length),0===s){var l=Array.isArray(t.type)?t.type[0]:t.type;switch(l||(t.properties?l="object":t.items&&(l="array")),l){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||s>1)&&(o="$1"),a+o+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=Ii(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=Ii(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var a=i[o];if(n>a.offset+a.length)return r.setPosition(a.offset+a.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?o+1:o;if(n>=a.offset)return o}return 0},e.prototype.isInComment=function(e,t,n){var r=Ii(e.getText(),!1);r.setPosition(t);for(var i=r.scan();17!==i&&r.getTokenOffset()+r.getTokenLength()<n;)i=r.scan();return(12===i||13===i)&&r.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:Yi.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!ji(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(Yi.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!ji(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),Ta=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var r=e.offsetAt(t),i=n.getNodeFromOffset(r);if(!i||("object"===i.type||"array"===i.type)&&r>i.offset+1&&r<i.offset+i.length-1)return this.promise.resolve(null);var o=i;if("string"===i.type){var a=i.parent;if(a&&"property"===a.type&&a.keyNode===i&&!(i=a.valueNode))return this.promise.resolve(null)}for(var s=Wr.create(e.positionAt(o.offset),e.positionAt(o.offset+o.length)),c=function(e){return{contents:e,range:s}},l=_a(i),u=this.contributions.length-1;u>=0;u--){var h=this.contributions[u].getInfoContribution(e.uri,l);if(h)return h.then((function(e){return c(e)}))}return this.schemaService.getSchemaForResource(e.uri,n).then((function(e){if(e&&i){var t=n.getMatchingSchemas(e.schema,i.offset),r=void 0,o=void 0,a=void 0,s=void 0;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,o=o||e.schema.markdownDescription||Oa(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(wa(i));e.schema.markdownEnumDescriptions?a=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(a=Oa(e.schema.enumDescriptions[t])),a&&"string"!=typeof(s=e.schema.enum[t])&&(s=JSON.stringify(s))}return!0}));var l="";return r&&(l=Oa(r)),o&&(l.length>0&&(l+="\n\n"),l+=o),a&&(l.length>0&&(l+="\n\n"),l+="`".concat(function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(s),"`: ").concat(a)),c([l])}return null}))},e}();function Oa(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var Ma=na(),Ia=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:li.Error)},e.prototype.doValidation=function(e,t,n,r){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],a={},s=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,o.push(e))},c=function(r){var a=(null==n?void 0:n.trailingCommas)?Fa(n.trailingCommas):li.Error,c=(null==n?void 0:n.comments)?Fa(n.comments):i.commentSeverity,l=(null==n?void 0:n.schemaValidation)?Fa(n.schemaValidation):li.Warning,u=(null==n?void 0:n.schemaRequest)?Fa(n.schemaRequest):li.Warning;if(r){if(r.errors.length&&t.root&&u){var h=t.root,f="object"===h.type?h.properties[0]:void 0;if(f&&"$schema"===f.keyNode.value){var d=f.valueNode||f,m=Wr.create(e.positionAt(d.offset),e.positionAt(d.offset+d.length));s(mi.create(m,r.errors[0],u,zo.SchemaResolveError))}else{m=Wr.create(e.positionAt(h.offset),e.positionAt(h.offset+1));s(mi.create(m,r.errors[0],u,zo.SchemaResolveError))}}else if(l){var g=t.validate(e,r.schema,l);g&&g.forEach(s)}Ra(r.schema)&&(c=void 0),Va(r.schema)&&(a=void 0)}for(var p=0,b=t.syntaxErrors;p<b.length;p++){var v=b[p];if(v.code===zo.TrailingComma){if("number"!=typeof a)continue;v.severity=a}s(v)}if("number"==typeof c){var y=Ma("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){s(mi.create(e,y,c,zo.CommentNotPermitted))}))}return o};if(r){var l=r.id||"schemaservice://untitled/"+Pa++;return this.jsonSchemaService.registerExternalSchema(l,[],r).getResolvedSchema().then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))},e.prototype.getLanguageStatus=function(e,t){return{schemas:this.jsonSchemaService.getSchemaURIsForResource(e.uri,t)}},e}(),Pa=0;function Ra(e){if(e&&"object"==typeof e){if(Ui(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=Ra(n[t]);if(Ui(r))return r}}}function Va(e){if(e&&"object"==typeof e){if(Ui(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(Ui(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=Va(r[n]);if(Ui(i))return i}}}function Fa(e){switch(e){case"error":return li.Error;case"warning":return li.Warning;case"ignore":return}}function Da(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Ka(e){if("#"===e[0])switch(e.length){case 4:return{red:17*Da(e.charCodeAt(1))/255,green:17*Da(e.charCodeAt(2))/255,blue:17*Da(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Da(e.charCodeAt(1))/255,green:17*Da(e.charCodeAt(2))/255,blue:17*Da(e.charCodeAt(3))/255,alpha:17*Da(e.charCodeAt(4))/255};case 7:return{red:(16*Da(e.charCodeAt(1))+Da(e.charCodeAt(2)))/255,green:(16*Da(e.charCodeAt(3))+Da(e.charCodeAt(4)))/255,blue:(16*Da(e.charCodeAt(5))+Da(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Da(e.charCodeAt(1))+Da(e.charCodeAt(2)))/255,green:(16*Da(e.charCodeAt(3))+Da(e.charCodeAt(4)))/255,blue:(16*Da(e.charCodeAt(5))+Da(e.charCodeAt(6)))/255,alpha:(16*Da(e.charCodeAt(7))+Da(e.charCodeAt(8)))/255}}}var ja=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var o=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||Bi(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],c=0,l=i.items;c<l.length;c++){var u=l[c];if("object"===u.type)for(var h=0,f=u.properties;h<f.length;h++){var d=f[h];if("key"===d.keyNode.value&&d.valueNode){var m=zr.create(e.uri,Ua(e,u));if(s.push({name:wa(d.valueNode),kind:yo.Function,location:m}),--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),s}}}return s}for(var g=[{node:i,containerName:""}],p=0,b=!1,v=[],y=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&g.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=zr.create(e.uri,Ua(e,t)),s=n?n+"."+t.keyNode.value:t.keyNode.value;v.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:a,containerName:n}),g.push({node:i,containerName:s})}else b=!0}))};p<g.length;){var C=g[p++];y(C.node,C.containerName)}return b&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),v},e.prototype.findDocumentSymbols2=function(e,t,n){var r=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return[];var o=n.resultLimit||Number.MAX_VALUE,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||Bi(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],c=0,l=i.items;c<l.length;c++){var u=l[c];if("object"===u.type)for(var h=0,f=u.properties;h<f.length;h++){var d=f[h];if("key"===d.keyNode.value&&d.valueNode){var m=Ua(e,u),g=Ua(e,d.keyNode);if(s.push({name:wa(d.valueNode),kind:yo.Function,range:m,selectionRange:g}),--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),s}}}return s}for(var p=[],b=[{node:i,result:p}],v=0,y=!1,C=function(t,n){"array"===t.type?t.items.forEach((function(t,i){if(t)if(o>0){o--;var a=Ua(e,t),s=a,c={name:String(i),kind:r.getSymbolKind(t.type),range:a,selectionRange:s,children:[]};n.push(c),b.push({result:c.children,node:t})}else y=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=Ua(e,t),s=Ua(e,t.keyNode),c=[],l={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:a,selectionRange:s,children:c,detail:r.getDetail(i)};n.push(l),b.push({result:c,node:i})}else y=!0}))};v<b.length;){var w=b[v++];C(w.node,w.result)}return y&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(a),p},e.prototype.getSymbolKind=function(e){switch(e){case"object":return yo.Module;case"string":return yo.String;case"number":return yo.Number;case"array":return yo.Array;case"boolean":return yo.Boolean;default:return yo.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'.concat(t,'"')},e.prototype.getDetail=function(e){if(e)return"boolean"===e.type||"number"===e.type||"null"===e.type||"string"===e.type?String(e.value):"array"===e.type?e.children.length?void 0:"[]":"object"===e.type?e.children.length?void 0:"{}":void 0},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(r){var i=[];if(r)for(var o=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,a={},s=0,c=t.getMatchingSchemas(r.schema);s<c.length;s++){var l=c[s];if(!l.inverted&&l.schema&&("color"===l.schema.format||"color-hex"===l.schema.format)&&l.node&&"string"===l.node.type){var u=String(l.node.offset);if(!a[u]){var h=Ka(wa(l.node));if(h){var f=Ua(e,l.node);i.push({color:h,range:f})}if(a[u]=!0,--o<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],a=Math.round(255*n.red),s=Math.round(255*n.green),c=Math.round(255*n.blue);function l(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===n.alpha?"#".concat(l(a)).concat(l(s)).concat(l(c)):"#".concat(l(a)).concat(l(s)).concat(l(c)).concat(l(Math.round(255*n.alpha))),o.push({label:i,textEdit:bi.replace(r,JSON.stringify(i))}),o},e}();function Ua(e,t){return Wr.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var Ba,qa,$a,Wa,Ha,za,Ga=na(),Ja={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},Xa={id:Ga("schema.json.id","A unique identifier for the schema."),$schema:Ga("schema.json.$schema","The schema to verify this document against."),title:Ga("schema.json.title","A descriptive title of the element."),description:Ga("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Ga("schema.json.default","A default value. Used by suggestions."),multipleOf:Ga("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Ga("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Ga("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Ga("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Ga("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Ga("schema.json.maxLength","The maximum length of a string."),minLength:Ga("schema.json.minLength","The minimum length of a string."),pattern:Ga("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Ga("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:Ga("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:Ga("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Ga("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Ga("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Ga("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Ga("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Ga("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Ga("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:Ga("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Ga("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Ga("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Ga("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:Ga("schema.json.enum","The set of literal values that are valid."),type:Ga("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:Ga("schema.json.format","Describes the format expected for the value."),allOf:Ga("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Ga("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Ga("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Ga("schema.json.not","A schema which must not match."),$id:Ga("schema.json.$id","A unique identifier for the schema."),$ref:Ga("schema.json.$ref","Reference a definition hosted on any location."),$comment:Ga("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Ga("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Ga("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Ga("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Ga("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:Ga("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Ga("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Ga("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Ga("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Ga("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Ga("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(Ha in Ja.schemas)for(Wa in(Ba=Ja.schemas[Ha]).properties)"boolean"==typeof(qa=Ba.properties[Wa])&&(qa=Ba.properties[Wa]={}),($a=Xa[Wa])&&(qa.description=$a);za=(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var c=n.length-s,l=a<c?a:c,u=-1,h=0;h<=l;++h){if(h===l){if(c>l){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else a>l&&(47===e.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var f=e.charCodeAt(i+h);if(f!==n.charCodeAt(s+h))break;47===f&&(u=h)}var d="";for(h=i+u+1;h<=o;++h)h!==o&&47!==e.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!a){i=r+1;break}}else-1===c&&(a=!1,c=r+1),s>=0&&(l===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=c))}return i===o?o=c:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===i&&(o=!1,i=s+1),46===c?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return n=(t=e).dir||t.root,r=t.base||(t.name||"")+(t.ext||""),n?n===t.root?n+r:n+"/"+r:r;var t,n,r},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,c=-1,l=!0,u=e.length-1,h=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===i?-1===a?a=u:1!==h&&(h=1):-1!==a&&(h=-1);else if(!l){s=u+1;break}return-1===a||-1===c||0===h||1===h&&a===c-1&&a===s+1?-1!==c&&(n.base=n.name=0===s&&o?e.slice(1,c):e.slice(s,c)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,c)):(n.name=e.slice(s,a),n.base=e.slice(s,c)),n.ext=e.slice(a,c)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{var r;if(n.r(t),n.d(t,{URI:()=>g,Utils:()=>x}),"object"==typeof process)r="win32"===process.platform;else if("object"==typeof navigator){var i=navigator.userAgent;r=i.indexOf("Windows")>=0}var o,a,s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=/^\w[\w\d+.-]*$/,l=/^\//,u=/^\/\//;function h(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(e.authority,'", path: "').concat(e.path,'", query: "').concat(e.query,'", fragment: "').concat(e.fragment,'"}'));if(e.scheme&&!c.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!l.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(u.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 ("//")')}var f="",d="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,g=function(){function e(e,t,n,r,i,o){var a,s;void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||f,this.authority=e.authority||f,this.path=e.path||f,this.query=e.query||f,this.fragment=e.fragment||f):(this.scheme=(s=o,(a=e)||s?a:"file"),this.authority=t||f,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||f),this.query=r||f,this.fragment=i||f,h(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"string"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=f),void 0===n?n=this.authority:null===n&&(n=f),void 0===r?r=this.path:null===r&&(r=f),void 0===i?i=this.query:null===i&&(i=f),void 0===o?o=this.fragment:null===o&&(o=f),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new b(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=m.exec(e);return n?new b(n[2]||f,E(n[4]||f),E(n[5]||f),E(n[7]||f),E(n[9]||f),t):new b(f,f,f,f,f)},e.file=function(e){var t=f;if(r&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){var n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new b("file",t,e,f,f)},e.from=function(e){var t=new b(e.scheme,e.authority,e.path,e.query,e.fragment);return h(t,!0),t},e.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new b(t);return n._formatted=t.external,n._fsPath=t._sep===p?t.fsPath:null,n}return t},e}(),p=r?1:void 0,b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=p),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(g),v=((a={})[58]="%3A",a[47]="%2F",a[63]="%3F",a[35]="%23",a[91]="%5B",a[93]="%5D",a[64]="%40",a[33]="%21",a[36]="%24",a[38]="%26",a[39]="%27",a[40]="%28",a[41]="%29",a[42]="%2A",a[43]="%2B",a[44]="%2C",a[59]="%3B",a[61]="%3D",a[32]="%20",a);function y(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var a=v[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function C(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=v[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//".concat(e.authority).concat(e.path):47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function _(e,t){var n=t?C:y,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,c=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=d,r+=d),o){var l=o.indexOf("@");if(-1!==l){var u=o.substr(0,l);o=o.substr(l+1),-1===(l=u.indexOf(":"))?r+=n(u,!1):(r+=n(u.substr(0,l),!1),r+=":",r+=n(u.substr(l+1),!1)),r+="@"}-1===(l=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,l),!1),r+=o.substr(l))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/".concat(String.fromCharCode(h+32),":").concat(a.substr(3)));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a="".concat(String.fromCharCode(h+32),":").concat(a.substr(2)))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),c&&(r+="#",r+=t?c:y(c,!1)),r}function S(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+S(e.substr(3)):e}}var A=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function E(e){return e.match(A)?e.replace(A,(function(e){return S(e)})):e}var x,N,k=n(470),L=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},T=k.posix||k;(N=x||(x={})).joinPath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.with({path:T.join.apply(T,L([e.path],t,!1))})},N.resolvePath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e.path||"/";return e.with({path:T.resolve.apply(T,L([r],t,!1))})},N.dirname=function(e){var t=T.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)?e:e.with({path:t})},N.basename=function(e){return T.basename(e.path)},N.extname=function(e){return T.extname(e.path)}}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();var{URI:Za,Utils:Ya}=za;function Qa(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var n,r=String(e),i="",o=!!t&&!!t.extended,a=!!t&&!!t.globstar,s=!1,c=t&&"string"==typeof t.flags?t.flags:"",l=0,u=r.length;l<u;l++)switch(n=r[l]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":i+="\\"+n;break;case"?":if(o){i+=".";break}case"[":case"]":if(o){i+=n;break}case"{":if(o){s=!0,i+="(";break}case"}":if(o){s=!1,i+=")";break}case",":if(s){i+="|";break}i+="\\"+n;break;case"*":for(var h=r[l-1],f=1;"*"===r[l+1];)f++,l++;var d=r[l+1];if(a)f>1&&("/"===h||void 0===h||"{"===h||","===h)&&("/"===d||void 0===d||","===d||"}"===d)?("/"===d?l++:"/"===h&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)";else i+=".*";break;default:i+=n}return c&&~c.indexOf("g")||(i="^"+i+"$"),new RegExp(i,c)}var es,ts=na(),ns=function(){function e(e,t){this.globWrappers=[];try{for(var n=0,r=e;n<r.length;n++){var i=r[n],o="!"!==i[0];o||(i=i.substring(1)),i.length>0&&("/"===i[0]&&(i=i.substring(1)),this.globWrappers.push({regexp:Qa("**/"+i,{extended:!0,globstar:!0}),include:o}))}this.uris=t}catch(Cs){this.globWrappers.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n<r.length;n++){var i=r[n],o=i.regexp,a=i.include;o.test(e)&&(t=a)}return t},e.prototype.getURIs=function(){return this.uris},e}(),rs=function(){function e(e,t,n){this.service=e,this.uri=t,this.dependencies=new Set,this.anchors=void 0,n&&(this.unresolvedSchema=this.service.promise.resolve(new is(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.uri)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e)}))),this.resolvedSchema},e.prototype.clearSchema=function(){var e=!!this.unresolvedSchema;return this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies.clear(),this.anchors=void 0,e},e}(),is=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},os=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return ba(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var r=0,i=Object.keys(t.patternProperties);r<i.length;r++){var o=i[r],a=qi(o);if(null==a?void 0:a.test(n))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),as=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=Za.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){var t=this;this.cachedSchemaForResource=void 0;for(var n=!1,r=[e=cs(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var o=r.pop(),a=0;a<i.length;a++){var s=i[a];s&&(s.uri===o||s.dependencies.has(o))&&(s.uri!==o&&r.push(s.uri),s.clearSchema()&&(n=!0),i[a]=void 0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var r=cs(n);this.contributionSchemas[r]=this.addSchemaHandle(r,t[n])}}if(Array.isArray(e.schemaAssociations))for(var i=0,o=e.schemaAssociations;i<o.length;i++){var a=o[i],s=a.uris.map(cs),c=this.addFilePatternAssociation(a.pattern,s);this.contributionAssociations.push(c)}},e.prototype.addSchemaHandle=function(e,t){var n=new rs(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new ns(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var r=cs(e);return this.registeredSchemasIds[r]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[r]),n?this.addSchemaHandle(r,n):this.getOrAddSchemaHandle(r)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var r=n[t];this.filePatternAssociations.push(r)}},e.prototype.getResolvedSchema=function(e){var t=cs(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=ts("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",ls(e));return this.promise.resolve(new is({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=ts("json.schema.nocontent","Unable to load schema from '{0}': No content.",ls(e));return new is({},[n])}var r,i=[];r=Pi(t,i);var o=i.length?[ts("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",ls(e),i[0].offset)]:[];return new is(r,o)}),(function(t){var n=t.toString(),r=t.toString().split("Error: ");return r.length>1&&(n=r[1]),Bi(n,".")&&(n=n.substr(0,n.length-1)),new is({},[ts("json.schema.nocontent","Unable to load schema from '{0}': {1}.",ls(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var o=cs(i.$schema);if("http://json-schema.org/draft-03/schema"===o)return this.promise.resolve(new os({},[ts("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===o?r.push(ts("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===o&&r.push(ts("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var a=this.contextService,s=function(e,t,n,i){var o,a,s,c;void 0===i||0===i.length?o=t:"/"===i.charAt(0)?o=function(e,t){t=decodeURIComponent(t);var n=e;return"/"===t[0]&&(t=t.substring(1)),t.split("/").some((function(e){return e=e.replace(/~1/g,"/").replace(/~0/g,"~"),!(n=n[e])})),n}(t,i):(a=t,c=i,(s=n).anchors||(s.anchors=u(a)),o=s.anchors.get(c)),o?function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])}(e,o):r.push(ts("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},c=function(e,t,i,o){a&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,o.uri)),t=cs(t);var c=n.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(n){if(o.dependencies.add(t),n.errors.length){var a=i?t+"#"+i:t;r.push(ts("json.schema.problemloadingref","Problems loading reference '{0}': {1}",a,n.errors[0]))}return s(e,n.schema,c,i),l(e,n.schema,c)}))},l=function(e,t,r){var i=[];return n.traverseNodes(e,(function(e){for(var n=new Set;e.$ref;){var o=e.$ref,a=o.split("#",2);if(delete e.$ref,a[0].length>0)return void i.push(c(e,a[0],a[1],r));if(!n.has(o)){var l=a[1];s(e,t,r,l),n.add(o)}}})),n.promise.all(i)},u=function(e){var t=new Map;return n.traverseNodes(e,(function(e){var n=e.$id||e.id;if("string"==typeof n&&"#"===n.charAt(0)){var i=n.substring(1);t.has(i)?r.push(ts("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}})),t};return l(i,i,t).then((function(e){return new os(i,r)}))},e.prototype.traverseNodes=function(e,t){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var n=new Set,r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];"object"==typeof i&&a.push(i)}},i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if("object"==typeof i)for(var o in i){var s=o,c=i[s];"object"==typeof c&&a.push(c)}}},o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(Array.isArray(i))for(var o=0,s=i;o<s.length;o++){var c=s[o];"object"==typeof c&&a.push(c)}}},a=[e],s=a.pop();s;)n.has(s)||(n.add(s),t(s),r(s.items,s.additionalItems,s.additionalProperties,s.not,s.contains,s.propertyNames,s.if,s.then,s.else),i(s.definitions,s.properties,s.patternProperties,s.dependencies),o(s.anyOf,s.allOf,s.oneOf,s.items)),s=a.pop()},e.prototype.getSchemaFromProperty=function(e,t){var n,r;if("object"===(null===(n=t.root)||void 0===n?void 0:n.type))for(var i=0,o=t.root.properties;i<o.length;i++){var a=o[i];if("$schema"===a.keyNode.value&&"string"===(null===(r=a.valueNode)||void 0===r?void 0:r.type)){var s=a.valueNode.value;return this.contextService&&!/^\w[\w\d+.-]*:/.test(s)&&(s=this.contextService.resolveRelativePath(s,e)),s}}},e.prototype.getAssociatedSchemas=function(e){for(var t=Object.create(null),n=[],r=function(e){try{return Za.parse(e).with({fragment:null,query:null}).toString()}catch(Cs){return e}}(e),i=0,o=this.filePatternAssociations;i<o.length;i++){var a=o[i];if(a.matchesPattern(r))for(var s=0,c=a.getURIs();s<c.length;s++){var l=c[s];t[l]||(n.push(l),t[l]=!0)}}return n},e.prototype.getSchemaURIsForResource=function(e,t){var n=t&&this.getSchemaFromProperty(e,t);return n?[n]:this.getAssociatedSchemas(e)},e.prototype.getSchemaForResource=function(e,t){if(t){var n=this.getSchemaFromProperty(e,t);if(n){var r=cs(n);return this.getOrAddSchemaHandle(r).getResolvedSchema()}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;var i=this.getAssociatedSchemas(e),o=i.length>0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:o},o},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,r)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var r=n.id||"schemaservice://untitled/matchingSchemas/"+ss++;return this.addSchemaHandle(r,n).getResolvedSchema().then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))},e}(),ss=0;function cs(e){try{return Za.parse(e).toString()}catch(Cs){return e}}function ls(e){try{var t=Za.parse(e);if("file"===t.scheme)return t.fsPath}catch(Cs){}return e}function us(e,t){var n=[],r=[],i=[],o=-1,a=Ii(e.getText(),!1),s=a.scan();function c(e){n.push(e),r.push(i.length)}for(;17!==s;){switch(s){case 1:case 3:var l={startLine:f=e.positionAt(a.getTokenOffset()).line,endLine:f,kind:1===s?"object":"array"};i.push(l);break;case 2:case 4:var u=2===s?"object":"array";if(i.length>0&&i[i.length-1].kind===u){l=i.pop();var h=e.positionAt(a.getTokenOffset()).line;l&&h>l.startLine+1&&o!==l.startLine&&(l.endLine=h-1,c(l),o=l.startLine)}break;case 13:var f=e.positionAt(a.getTokenOffset()).line,d=e.positionAt(a.getTokenOffset()+a.getTokenLength()).line;1===a.getTokenError()&&f+1<e.lineCount?a.setPosition(e.offsetAt(qr.create(f+1,0))):f<d&&(c({startLine:f,endLine:d,kind:ri.Comment}),o=f);break;case 12:var m=e.getText().substr(a.getTokenOffset(),a.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(m){h=e.positionAt(a.getTokenOffset()).line;if(m[1]){l={startLine:h,endLine:h,kind:ri.Region};i.push(l)}else{for(var g=i.length-1;g>=0&&i[g].kind!==ri.Region;)g--;if(g>=0){l=i[g];i.length=g,h>l.startLine&&o!==l.startLine&&(l.endLine=h,c(l),o=l.startLine)}}}}s=a.scan()}var p=t&&t.rangeLimit;if("number"!=typeof p||n.length<=p)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var b=[],v=0,y=r;v<y.length;v++){(A=y[v])<30&&(b[A]=(b[A]||0)+1)}var C=0,w=0;for(g=0;g<b.length;g++){var _=b[g];if(_){if(_+C>p){w=g;break}C+=_}}var S=[];for(g=0;g<n.length;g++){var A;"number"==typeof(A=r[g])&&(A<w||A===w&&C++<p)&&S.push(n[g])}return S}function hs(e,t,n){function r(t,n){return Wr.create(e.positionAt(t),e.positionAt(n))}var i=Ii(e.getText(),!0);function o(e,t){return i.setPosition(e),i.scan()===t?i.getTokenOffset()+i.getTokenLength():-1}return t.map((function(t){for(var i=e.offsetAt(t),a=n.getNodeFromOffset(i,!0),s=[];a;){switch(a.type){case"string":case"object":case"array":var c=a.offset+1,l=a.offset+a.length-1;c<l&&i>=c&&i<=l&&s.push(r(c,l)),s.push(r(a.offset,a.offset+a.length));break;case"number":case"boolean":case"null":case"property":s.push(r(a.offset,a.offset+a.length))}if("property"===a.type||a.parent&&"array"===a.parent.type){var u=o(a.offset+a.length,5);-1!==u&&s.push(r(a.offset,u))}a=a.parent}for(var h=void 0,f=s.length-1;f>=0;f--)h=Vo.create(s[f],h);return h||(h=Vo.create(Wr.create(t,t))),h}))}function fs(e,t){var n=[];return t.visit((function(r){var i;if("property"===r.type&&"$ref"===r.keyNode.value&&"string"===(null===(i=r.valueNode)||void 0===i?void 0:i.type)){var o=r.valueNode.value,a=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(gs)}(t);if(!n)return null;return ms(n,e.root)}(t,o);if(a){var s=e.positionAt(a.offset);n.push({target:"".concat(e.uri,"#").concat(s.line+1,",").concat(s.character+1),range:ds(e,r.valueNode)})}}return!0})),Promise.resolve(n)}function ds(e,t){return Wr.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function ms(e,t){if(!t)return null;if(0===e.length)return t;var n=e.shift();if(t&&"object"===t.type){var r=t.properties.find((function(e){return e.keyNode.value===n}));return r?ms(e,r.valueNode):null}if(t&&"array"===t.type&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),o=t.items[i];return o?ms(e,o):null}return null}function gs(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function ps(e){var t=e.promiseConstructor||Promise,n=new as(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(Ja);var r=new La(n,e.contributions,t,e.clientCapabilities),i=new Ta(n,e.contributions,t),o=new ja(n),a=new Ia(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),a.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:a.doValidation.bind(a),getLanguageStatus:a.getLanguageStatus.bind(a),parseJSONDocument:function(e){return xa(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new Aa(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:o.findDocumentSymbols.bind(o),findDocumentSymbols2:o.findDocumentSymbols2.bind(o),findDocumentColors:o.findDocumentColors.bind(o),getColorPresentations:o.getColorPresentations.bind(o),doHover:i.doHover.bind(i),getFoldingRanges:us,getSelectionRanges:hs,findDefinition:function(){return Promise.resolve([])},findLinks:fs,format:function(e,t,n){var r=void 0;if(t){var i=e.offsetAt(t.start);r={offset:i,length:e.offsetAt(t.end)-i}}var o={tabSize:n?n.tabSize:4,insertSpaces:!0===(null==n?void 0:n.insertSpaces),insertFinalNewline:!0===(null==n?void 0:n.insertFinalNewline),eol:"\n"};return function(e,t,n){return Rr(e,t,n)}(e.getText(),r,o).map((function(t){return bi.replace(Wr.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}"undefined"!=typeof fetch&&(es=function(e){return fetch(e).then((e=>e.text()))});var bs="/".charCodeAt(0),vs=".".charCodeAt(0);function ys(e){const t=[];for(const r of e)0===r.length||1===r.length&&r.charCodeAt(0)===vs||(2===r.length&&r.charCodeAt(0)===vs&&r.charCodeAt(1)===vs?t.pop():t.push(r));e.length>1&&0===e[e.length-1].length&&t.push("");let n=t.join("/");return 0===e[0].length&&(n="/"+n),n}self.onmessage=()=>{Tr(((e,t)=>new class{constructor(e,t){__publicField(this,"_ctx"),__publicField(this,"_languageService"),__publicField(this,"_languageSettings"),__publicField(this,"_languageId"),this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=ps({workspaceContext:{resolveRelativePath:(e,t)=>function(e,t){if(function(e){return e.charCodeAt(0)===bs}(t)){const n=Za.parse(e),r=t.split("/");return n.with({path:ys(r)}).toString()}return function(e,...t){const n=Za.parse(e),r=n.path.split("/");for(let i of t)r.push(...i.split("/"));return n.with({path:ys(r)}).toString()}(e,t)}(t.substr(0,t.lastIndexOf("/")+1),e)},schemaRequestService:t.enableSchemaRequest?es:void 0}),this._languageService.configure(this._languageSettings)}async doValidation(e){let t=this._getTextDocument(e);if(t){let e=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,e,this._languageSettings)}return Promise.resolve([])}async doComplete(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)}async doResolve(e){return this._languageService.doResolve(e)}async doHover(e,t){let n=this._getTextDocument(e);if(!n)return null;let r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)}async format(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.format(r,t,n);return Promise.resolve(i)}async resetSchema(e){return Promise.resolve(this._languageService.resetSchema(e))}async findDocumentSymbols(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n);return Promise.resolve(r)}async findDocumentColors(e){let t=this._getTextDocument(e);if(!t)return[];let n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n);return Promise.resolve(r)}async getColorPresentations(e,t,n){let r=this._getTextDocument(e);if(!r)return[];let i=this._languageService.parseJSONDocument(r),o=this._languageService.getColorPresentations(r,i,t,n);return Promise.resolve(o)}async getFoldingRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.getFoldingRanges(n,t);return Promise.resolve(r)}async getSelectionRanges(e,t){let n=this._getTextDocument(e);if(!n)return[];let r=this._languageService.parseJSONDocument(n),i=this._languageService.getSelectionRanges(n,t,r);return Promise.resolve(i)}_getTextDocument(e){let t=this._ctx.getMirrorModels();for(let n of t)if(n.uri.toString()===e)return Wo.create(e,this._languageId,n.version,n.getValue());return null}}(e,t)))}}();