text: /*! For license information please see json.45f3c3ad.js.LICENSE.txt */
  !function(){var e={162:function(e,t,n){e.exports=n(290)},290:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(O){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),o=new N(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===d)throw new Error("Generator is already running");if(r===m){if("throw"===i)throw a;return T()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?m:h,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=m,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",m="completed",p={};function g(){}function v(){}function y(){}var b={};u(b,a,(function(){return this}));var C=Object.getPrototypeOf,w=C&&C(C(L([])));w&&w!==n&&r.call(w,a)&&(b=w);var _=y.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,a,o,s){var u=l(e[i],e,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,s)}))}s(u.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function A(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,p;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function L(e){if(e){var n=e[a];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=y,u(_,"constructor",y),u(y,"constructor",v),v.displayName=u(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},k(S.prototype),u(S.prototype,o,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new S(c(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),u(_,s,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=L,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(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.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";function e(e,t,n,r,i,a,o){try{var s=e[a](o),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function t(t){return function(){var n=this,r=arguments;return new Promise((function(i,a){var o=t.apply(n,r);function s(t){e(o,i,a,s,u,"next",t)}function u(t){e(o,i,a,s,u,"throw",t)}s(void 0)}))}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var f=n(162),h=n.n(f);function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e,t){if(t&&("object"===v(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){var t=g();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}function C(e,t,n){return C=g()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&d(i,n.prototype),i},C.apply(null,arguments)}function w(e){var t="function"===typeof Map?new Map:void 0;return w=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return C(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)},w(e)}var _=new(function(){function e(){u(this,e),this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return l(e,[{key:"emit",value:function(e){this.listeners.forEach((function(t){t(e)}))}},{key:"onUnexpectedError",value:function(e){this.unexpectedErrorHandler(e),this.emit(e)}},{key:"onUnexpectedExternalError",value:function(e){this.unexpectedErrorHandler(e)}}]),e}());function k(e){E(e)||_.onUnexpectedError(e)}function S(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}var A="Canceled";function E(e){return e instanceof x||e instanceof Error&&e.name===A&&e.message===A}var x=function(e){m(n,e);var t=b(n);function n(){var e;return u(this,n),(e=t.call(this,A)).name=e.message,e}return l(n)}(w(Error));var N;Error;function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(u){s=!0,i=u}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e){var t,n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}!function(e){var t=h().mark(l),n=h().mark(f),i=h().mark(d),a=h().mark(m),o=h().mark(p),u=h().mark(g);e.is=function(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]};var c=Object.freeze([]);function l(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e;case 2:case"end":return t.stop()}}),t)}function f(e,t){var r,i,a;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=s(e),n.prev=1,r.s();case 3:if((i=r.n()).done){n.next=10;break}if(a=i.value,!t(a)){n.next=8;break}return n.next=8,a;case 8:n.next=3;break;case 10:n.next=15;break;case 12:n.prev=12,n.t0=n.catch(1),r.e(n.t0);case 15:return n.prev=15,r.f(),n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[1,12,15,18]])}function d(e,t){var n,r,a,o;return h().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=0,r=s(e),i.prev=2,r.s();case 4:if((a=r.n()).done){i.next=10;break}return o=a.value,i.next=8,t(o,n++);case 8:i.next=4;break;case 10:i.next=15;break;case 12:i.prev=12,i.t0=i.catch(2),r.e(i.t0);case 15:return i.prev=15,r.f(),i.finish(15);case 18:case"end":return i.stop()}}),i,null,[[2,12,15,18]])}function m(){var e,t,n,r,i,o,u,c,l,f=arguments;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:for(e=f.length,t=new Array(e),n=0;n<e;n++)t[n]=f[n];r=0,i=t;case 2:if(!(r<i.length)){a.next=24;break}o=i[r],u=s(o),a.prev=5,u.s();case 7:if((c=u.n()).done){a.next=13;break}return l=c.value,a.next=11,l;case 11:a.next=7;break;case 13:a.next=18;break;case 15:a.prev=15,a.t0=a.catch(5),u.e(a.t0);case 18:return a.prev=18,u.f(),a.finish(18);case 21:r++,a.next=2;break;case 24:case"end":return a.stop()}}),a,null,[[5,15,18,21]])}function p(e){var t,n,r,i,a,u;return h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=s(e),o.prev=1,t.s();case 3:if((n=t.n()).done){o.next=24;break}r=n.value,i=s(r),o.prev=6,i.s();case 8:if((a=i.n()).done){o.next=14;break}return u=a.value,o.next=12,u;case 12:o.next=8;break;case 14:o.next=19;break;case 16:o.prev=16,o.t0=o.catch(6),i.e(o.t0);case 19:return o.prev=19,i.f(),o.finish(19);case 22:o.next=3;break;case 24:o.next=29;break;case 26:o.prev=26,o.t1=o.catch(1),t.e(o.t1);case 29:return o.prev=29,t.f(),o.finish(29);case 32:case"end":return o.stop()}}),o,null,[[1,26,29,32],[6,16,19,22]])}function g(e,t){var n,r=arguments;return h().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:n=r.length>2&&void 0!==r[2]?r[2]:e.length,t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);case 3:if(!(t<n)){i.next=9;break}return i.next=6,e[t];case 6:t++,i.next=3;break;case 9:case"end":return i.stop()}}),u)}e.empty=function(){return c},e.single=l,e.from=function(e){return e||c},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){var n,r=s(e);try{for(r.s();!(n=r.n()).done;){if(t(n.value))return!0}}catch(i){r.e(i)}finally{r.f()}return!1},e.find=function(e,t){var n,r=s(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(t(i))return i}}catch(a){r.e(a)}finally{r.f()}},e.filter=f,e.map=d,e.concat=m,e.concatNested=p,e.reduce=function(e,t,n){var r,i=n,a=s(e);try{for(a.s();!(r=a.n()).done;){i=t(i,r.value)}}catch(o){a.e(o)}finally{a.f()}return i},e.slice=g,e.consume=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,i=[];if(0===n)return[i,t];for(var a=t[Symbol.iterator](),o=0;o<n;o++){var s=a.next();if(s.done)return[i,e.empty()];i.push(s.value)}return[i,r({},Symbol.iterator,(function(){return a}))]},e.equals=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e,t){return e===t},r=e[Symbol.iterator](),i=t[Symbol.iterator]();;){var a=r.next(),o=i.next();if(a.done!==o.done)return!1;if(a.done)return!0;if(!n(a.value,o.value))return!1}}}(N||(N={}));var O=null;function P(e){return null===O||void 0===O||O.trackDisposable(e),e}function I(e){null===O||void 0===O||O.markAsDisposed(e)}function M(e,t){null===O||void 0===O||O.setParent(e,t)}function R(e,t){if(O){var n,r=s(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;O.setParent(i,t)}}catch(a){r.e(a)}finally{r.f()}}}var D=function(e){m(n,e);var t=b(n);function n(e){var r;return u(this,n),(r=t.call(this,"Encountered errors while disposing of store. Errors: [".concat(e.join(", "),"]"))).errors=e,r}return l(n)}(w(Error));function V(e){if(N.is(e)){var t,n=[],r=s(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i)try{i.dispose()}catch(a){n.push(a)}}}catch(o){r.e(o)}finally{r.f()}if(1===n.length)throw n[0];if(n.length>1)throw new D(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function F(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=K((function(){return V(t)}));return R(t,r),r}function K(e){var t=P({dispose:T((function(){I(t),e()}))});return t}var j=function(){function e(){u(this,e),this._toDispose=new Set,this._isDisposed=!1,P(this)}return l(e,[{key:"dispose",value:function(){this._isDisposed||(I(this),this._isDisposed=!0,this.clear())}},{key:"isDisposed",get:function(){return this._isDisposed}},{key:"clear",value:function(){try{V(this._toDispose.values())}finally{this._toDispose.clear()}}},{key:"add",value:function(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return M(t,this),this._isDisposed?e.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}}]),e}();j.DISABLE_DISPOSED_WARNING=!1;var U=function(){function e(){u(this,e),this._store=new j,P(this),M(this._store,this)}return l(e,[{key:"dispose",value:function(){I(this),this._store.dispose()}},{key:"_register",value:function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}]),e}();U.None=Object.freeze({dispose:function(){}});var B=function(){function e(){u(this,e),this.dispose=function(){},this.unset=function(){},this.isset=function(){return!1},P(this)}return l(e,[{key:"set",value:function(e){var t=this,n=e;return this.unset=function(){return n=void 0},this.isset=function(){return void 0!==n},this.dispose=function(){n&&(n(),n=void 0,I(t))},this}}]),e}(),q=l((function e(t){u(this,e),this.element=t,this.next=e.Undefined,this.prev=e.Undefined}));q.Undefined=new q(void 0);var W,H=function(e){function t(){u(this,t),this._first=q.Undefined,this._last=q.Undefined,this._size=0}return l(t,[{key:"size",get:function(){return this._size}},{key:"isEmpty",value:function(){return this._first===q.Undefined}},{key:"clear",value:function(){for(var e=this._first;e!==q.Undefined;){var t=e.next;e.prev=q.Undefined,e.next=q.Undefined,e=t}this._first=q.Undefined,this._last=q.Undefined,this._size=0}},{key:"unshift",value:function(e){return this._insert(e,!1)}},{key:"push",value:function(e){return this._insert(e,!0)}},{key:"_insert",value:function(e,t){var n=this,r=new q(e);if(this._first===q.Undefined)this._first=r,this._last=r;else if(t){var i=this._last;this._last=r,r.prev=i,i.next=r}else{var a=this._first;this._first=r,r.next=a,a.prev=r}this._size+=1;var o=!1;return function(){o||(o=!0,n._remove(r))}}},{key:"shift",value:function(){if(this._first!==q.Undefined){var e=this._first.element;return this._remove(this._first),e}}},{key:"pop",value:function(){if(this._last!==q.Undefined){var e=this._last.element;return this._remove(this._last),e}}},{key:"_remove",value:function(e){if(e.prev!==q.Undefined&&e.next!==q.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===q.Undefined&&e.next===q.Undefined?(this._first=q.Undefined,this._last=q.Undefined):e.next===q.Undefined?(this._last=this._last.prev,this._last.next=q.Undefined):e.prev===q.Undefined&&(this._first=this._first.next,this._first.prev=q.Undefined);this._size-=1}},{key:Symbol.iterator,value:h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this._first;case 1:if(t===q.Undefined){e.next=7;break}return e.next=4,t.element;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))}]),t}(),$="en",z=!1,G=!1,J=!1,Y=!1,X=void 0,Z="object"===typeof self?self:"object"===typeof n.g?n.g:{},Q=void 0;"undefined"!==typeof Z.vscode&&"undefined"!==typeof Z.vscode.process?Q=Z.vscode.process:"undefined"!==typeof process&&(Q=process);var ee="string"===typeof(null===(W=null===Q||void 0===Q?void 0:Q.versions)||void 0===W?void 0:W.electron),te=ee&&"renderer"===(null===Q||void 0===Q?void 0:Q.type);if("object"!==typeof navigator||te)if("object"===typeof Q){z="win32"===Q.platform,G="darwin"===Q.platform,(J="linux"===Q.platform)&&!!Q.env.SNAP&&!!Q.env.SNAP_REVISION,ee,!!Q.env.CI||!!Q.env.BUILD_ARTIFACTSTAGINGDIRECTORY,$,$;var ne=Q.env.VSCODE_NLS_CONFIG;if(ne)try{var re=JSON.parse(ne),ie=re.availableLanguages["*"];re.locale,ie||$,re._translationsConfigFile}catch(qs){}!0}else console.error("Unable to resolve platform.");else z=(X=navigator.userAgent).indexOf("Windows")>=0,G=X.indexOf("Macintosh")>=0,(X.indexOf("Macintosh")>=0||X.indexOf("iPad")>=0||X.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,J=X.indexOf("Linux")>=0,Y=!0,navigator.language;var ae=z,oe=G,se=(Y&&Z.importScripts,X);!function(){if("function"===typeof Z.postMessage&&!Z.importScripts){var e=[];Z.addEventListener("message",(function(t){if(t.data&&t.data.vscodeScheduleAsyncWork)for(var n=0,r=e.length;n<r;n++){var i=e[n];if(i.id===t.data.vscodeScheduleAsyncWork)return e.splice(n,1),void i.callback()}}));var t=0;return function(n){var r=++t;e.push({id:r,callback:n}),Z.postMessage({vscodeScheduleAsyncWork:r},"*")}}}();var ue,ce=!!(se&&se.indexOf("Chrome")>=0),le=(se&&se.indexOf("Firefox"),!ce&&se&&se.indexOf("Safari"),se&&se.indexOf("Edg/"),se&&se.indexOf("Android"),Z.performance&&"function"===typeof Z.performance.now),fe=function(){function e(t){u(this,e),this._highResolution=le&&t,this._startTime=this._now(),this._stopTime=-1}return l(e,[{key:"stop",value:function(){this._stopTime=this._now()}},{key:"elapsed",value:function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}},{key:"_now",value:function(){return this._highResolution?Z.performance.now():Date.now()}}],[{key:"create",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return new e(t)}}]),e}();!function(e){function t(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0,a=!1;return n=e((function(e){if(!a)return n?n.dispose():a=!0,t.call(r,e)}),null,i),a&&n.dispose(),n}}function n(e,t,n){return s((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;return e((function(e){return n.call(r,t(e))}),null,i)}),n)}function r(e,t,n){return s((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;return e((function(e){t(e),n.call(r,e)}),null,i)}),n)}function i(e,t,n){return s((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void 0;return e((function(e){return t(e)&&n.call(r,e)}),null,i)}),n)}function a(e,t,r,i){var a=r;return n(e,(function(e){return a=t(a,e)}),i)}function s(e,t){var n,r={onFirstListenerAdd:function(){n=e(i.fire,i)},onLastListenerRemove:function(){n.dispose()}},i=new pe(r);return t&&t.add(i),i.event}function c(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,s=void 0,u=void 0,c=0,l={leakWarningThreshold:a,onFirstListenerAdd:function(){n=e((function(e){c++,s=t(s,e),i&&!u&&(f.fire(s),s=void 0),clearTimeout(u),u=setTimeout((function(){var e=s;s=void 0,u=void 0,(!i||c>1)&&f.fire(e),c=0}),r)}))},onLastListenerRemove:function(){n.dispose()}},f=new pe(l);return o&&o.add(f),f.event}function f(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return e===t},r=arguments.length>2?arguments[2]:void 0,a=!0;return i(e,(function(e){var r=a||!n(e,t);return a=!1,t=e,r}),r)}e.None=function(){return U.None},e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;return F.apply(void 0,o(t.map((function(t){return t((function(t){return e.call(n,t)}),null,r)}))))}},e.reduce=a,e.debounce=c,e.latch=f,e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,(function(e){return!n(e)}),r)]},e.buffer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=n.slice(),i=e((function(e){r?r.push(e):o.fire(e)})),a=function(){r&&r.forEach((function(e){return o.fire(e)})),r=null},o=new pe({onFirstListenerAdd:function(){i||(i=e((function(e){return o.fire(e)})))},onFirstListenerDidAdd:function(){r&&(t?setTimeout(a):a())},onLastListenerRemove:function(){i&&i.dispose(),i=null}});return o.event};var h=function(){function e(t){u(this,e),this.event=t}return l(e,[{key:"map",value:function(t){return new e(n(this.event,t))}},{key:"forEach",value:function(t){return new e(r(this.event,t))}},{key:"filter",value:function(t){return new e(i(this.event,t))}},{key:"reduce",value:function(t,n){return new e(a(this.event,t,n))}},{key:"latch",value:function(){return new e(f(this.event))}},{key:"debounce",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;return new e(c(this.event,t,n,r,i))}},{key:"on",value:function(e,t,n){return this.event(e,t,n)}},{key:"once",value:function(e,n,r){return t(this.event)(e,n,r)}}]),e}();e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},r=function(){return o.fire(n.apply(void 0,arguments))},i=function(){return e.on(t,r)},a=function(){return e.removeListener(t,r)},o=new pe({onFirstListenerAdd:i,onLastListenerRemove:a});return o.event},e.fromDOMEventEmitter=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},r=function(){return o.fire(n.apply(void 0,arguments))},i=function(){return e.addEventListener(t,r)},a=function(){return e.removeEventListener(t,r)},o=new pe({onFirstListenerAdd:i,onLastListenerRemove:a});return o.event},e.toPromise=function(e){return new Promise((function(n){return t(e)(n)}))},e.runAndSubscribe=function(e,t){return t(void 0),e((function(e){return t(e)}))},e.runAndSubscribeWithStore=function(e,t){var n=null;function r(e){null===n||void 0===n||n.dispose(),n=new j,t(e,n)}r(void 0);var i=e((function(e){return r(e)}));return K((function(){i.dispose(),null===n||void 0===n||n.dispose()}))}}(ue||(ue={}));var he=function(){function e(t){u(this,e),this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name="".concat(t,"_").concat(e._idPool++)}return l(e,[{key:"start",value:function(e){this._stopWatch=new fe(!0),this._listenerCount=e}},{key:"stop",value:function(){if(this._stopWatch){var e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info("did FIRE ".concat(this._name,": elapsed_ms: ").concat(e.toFixed(5),", listener: ").concat(this._listenerCount," (elapsed_overall: ").concat(this._elapsedOverall.toFixed(2),", invocations: ").concat(this._invocationCount,")")),this._stopWatch=void 0}}}]),e}();he._idPool=0;var de=function(){function e(t){u(this,e),this.value=t}return l(e,[{key:"print",value:function(){console.warn(this.value.split("\n").slice(2).join("\n"))}}],[{key:"create",value:function(){var t;return new e(null!==(t=(new Error).stack)&&void 0!==t?t:"")}}]),e}(),me=function(){function e(t,n,r){u(this,e),this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new B}return l(e,[{key:"invoke",value:function(e){this.callback.call(this.callbackThis,e)}}]),e}(),pe=function(){function e(t){var n;u(this,e),this._disposed=!1,this._options=t,this._leakageMon=void 0,this._perfMon=(null===(n=this._options)||void 0===n?void 0:n._profName)?new he(this._options._profName):void 0}return l(e,[{key:"dispose",value:function(){var e,t,n,r;if(!this._disposed){if(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()}}},{key:"event",get:function(){var e=this;return this._event||(this._event=function(t,n,r){var i,a,o;e._listeners||(e._listeners=new H);var s,u,c=e._listeners.isEmpty();c&&(null===(i=e._options)||void 0===i?void 0:i.onFirstListenerAdd)&&e._options.onFirstListenerAdd(e),e._leakageMon&&e._listeners.size>=30&&(u=de.create(),s=e._leakageMon.check(u,e._listeners.size+1));var l=new me(t,n,u),f=e._listeners.push(l);c&&(null===(a=e._options)||void 0===a?void 0:a.onFirstListenerDidAdd)&&e._options.onFirstListenerDidAdd(e),(null===(o=e._options)||void 0===o?void 0:o.onListenerDidAdd)&&e._options.onListenerDidAdd(e,t,n);var h=l.subscription.set((function(){(s&&s(),e._disposed)||(f(),e._options&&e._options.onLastListenerRemove&&(e._listeners&&!e._listeners.isEmpty()||e._options.onLastListenerRemove(e)))}));return r instanceof j?r.add(h):Array.isArray(r)&&r.push(h),h}),this._event}},{key:"fire",value:function(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new H);var r,i=s(this._listeners);try{for(i.s();!(r=i.n()).done;){var a=r.value;this._deliveryQueue.push([a,e])}}catch(l){i.e(l)}finally{i.f()}for(null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){var o=L(this._deliveryQueue.shift(),2),u=o[0],c=o[1];try{u.invoke(c)}catch(qs){k(qs)}}null===(n=this._perfMon)||void 0===n||n.stop()}}}]),e}();function ge(e){var t,n=[],r=s(function(e){for(var t=[],n=Object.getPrototypeOf(e);Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}(e));try{for(r.s();!(t=r.n()).done;){var i=t.value;"function"===typeof e[i]&&n.push(i)}}catch(a){r.e(a)}finally{r.f()}return n}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unreachable";throw new Error(t)}var ye,be=function(){function e(t){u(this,e),this.computeFn=t,this.lastCache=void 0,this.lastArgKey=void 0}return l(e,[{key:"get",value:function(e){var t=JSON.stringify(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this.computeFn(e)),this.lastCache}}]),e}(),Ce=function(){function e(t){u(this,e),this.executor=t,this._didRun=!1}return l(e,[{key:"getValue",value:function(){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}},{key:"rawValue",get:function(){return this._value}}]),e}();function we(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function _e(e){return e>=65&&e<=90}function ke(e){return 55296<=e&&e<=56319}function Se(e){return 56320<=e&&e<=57343}function Ae(e,t){return t-56320+(e-55296<<10)+65536}function Ee(e,t,n){var r=e.charCodeAt(n);if(ke(r)&&n+1<t){var i=e.charCodeAt(n+1);if(Se(i))return Ae(r,i)}return r}var xe=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);var Ne=function(){function e(){u(this,e),this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}return l(e,[{key:"getGraphemeBreakType",value:function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;for(var t=this._data,n=t.length/3,r=1;r<=n;)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}],[{key:"getInstance",value:function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE}}]),e}();Ne._INSTANCE=null;var Le=function(){function e(t){u(this,e),this.confusableDictionary=t}return l(e,[{key:"isAmbiguous",value:function(e){return this.confusableDictionary.has(e)}},{key:"getPrimaryConfusable",value:function(e){return this.confusableDictionary.get(e)}},{key:"getConfusableCodePoints",value:function(){return new Set(this.confusableDictionary.keys())}}],[{key:"getInstance",value:function(t){return e.cache.get(Array.from(t))}},{key:"getLocales",value:function(){return e._locales.getValue()}}]),e}();ye=Le,Le.ambiguousCharacterData=new Ce((function(){return 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]}')})),Le.cache=new be((function(e){function t(e){for(var t=new Map,n=0;n<e.length;n+=2)t.set(e[n],e[n+1]);return t}function n(e,t){if(!e)return t;var n,r=new Map,i=s(e);try{for(i.s();!(n=i.n()).done;){var a=L(n.value,2),o=a[0],u=a[1];t.has(o)&&r.set(o,u)}}catch(c){i.e(c)}finally{i.f()}return r}var r=ye.ambiguousCharacterData.getValue(),i=e.filter((function(e){return!e.startsWith("_")&&e in r}));0===i.length&&(i=["_default"]);var a,o=void 0,u=s(i);try{for(u.s();!(a=u.n()).done;){var c=a.value;o=n(o,t(r[c]))}}catch(f){u.e(f)}finally{u.f()}var l=function(e,t){var n,r=new Map(e),i=s(t);try{for(i.s();!(n=i.n()).done;){var a=L(n.value,2),o=a[0],u=a[1];r.set(o,u)}}catch(f){i.e(f)}finally{i.f()}return r}(t(r._common),o);return new Le(l)})),Le._locales=new Ce((function(){return Object.keys(Le.ambiguousCharacterData.getValue()).filter((function(e){return!e.startsWith("_")}))}));var Te=function(){function e(){u(this,e)}return l(e,null,[{key:"getRawData",value:function(){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]")}},{key:"getData",value:function(){return this._data||(this._data=new Set(e.getRawData())),this._data}},{key:"isInvisibleCharacter",value:function(t){return e.getData().has(t)}},{key:"codePoints",get:function(){return e.getData()}}]),e}();Te._data=void 0;var Oe="$initialize";var Pe=l((function e(t,n,r,i){u(this,e),this.vsWorker=t,this.req=n,this.method=r,this.args=i,this.type=0})),Ie=l((function e(t,n,r,i){u(this,e),this.vsWorker=t,this.seq=n,this.res=r,this.err=i,this.type=1})),Me=l((function e(t,n,r,i){u(this,e),this.vsWorker=t,this.req=n,this.eventName=r,this.arg=i,this.type=2})),Re=l((function e(t,n,r){u(this,e),this.vsWorker=t,this.req=n,this.event=r,this.type=3})),De=l((function e(t,n){u(this,e),this.vsWorker=t,this.req=n,this.type=4})),Ve=function(){function e(t){u(this,e),this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}return l(e,[{key:"setWorkerId",value:function(e){this._workerId=e}},{key:"sendMessage",value:function(e,t){var n=this,r=String(++this._lastSentReq);return new Promise((function(i,a){n._pendingReplies[r]={resolve:i,reject:a},n._send(new Pe(n._workerId,r,e,t))}))}},{key:"listen",value:function(e,t){var n=this,r=null,i=new pe({onFirstListenerAdd:function(){r=String(++n._lastSentReq),n._pendingEmitters.set(r,i),n._send(new Me(n._workerId,r,e,t))},onLastListenerRemove:function(){n._pendingEmitters.delete(r),n._send(new De(n._workerId,r)),r=null}});return i.event}},{key:"handleMessage",value:function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}},{key:"_handleMessage",value:function(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)}}},{key:"_handleReplyMessage",value:function(e){if(this._pendingReplies[e.seq]){var t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){var n=e.err;return e.err.$isError&&((n=new Error).name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}else console.warn("Got reply to unknown seq")}},{key:"_handleRequestMessage",value:function(e){var t=this,n=e.req;this._handler.handleMessage(e.method,e.args).then((function(e){t._send(new Ie(t._workerId,n,e,void 0))}),(function(e){e.detail instanceof Error&&(e.detail=S(e.detail)),t._send(new Ie(t._workerId,n,void 0,S(e)))}))}},{key:"_handleSubscribeEventMessage",value:function(e){var t=this,n=e.req,r=this._handler.handleEvent(e.eventName,e.arg)((function(e){t._send(new Re(t._workerId,n,e))}));this._pendingEvents.set(n,r)}},{key:"_handleEventMessage",value:function(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}},{key:"_handleUnsubscribeEventMessage",value:function(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}},{key:"_send",value:function(e){var t=[];if(0===e.type)for(var 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)}}]),e}();function Fe(e){return"o"===e[0]&&"n"===e[1]&&_e(e.charCodeAt(2))}function Ke(e){return/^onDynamic/.test(e)&&_e(e.charCodeAt(9))}function je(e,t,n){var r,i=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},a=function(e){return function(t){return n(e,t)}},o={},u=s(e);try{for(u.s();!(r=u.n()).done;){var c=r.value;Ke(c)?o[c]=a(c):Fe(c)?o[c]=n(c,void 0):o[c]=i(c)}}catch(l){u.e(l)}finally{u.f()}return o}var Ue=function(){function e(t,n){var r=this;u(this,e),this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Ve({sendMessage:function(e,n){t(e,n)},handleMessage:function(e,t){return r._handleMessage(e,t)},handleEvent:function(e,t){return r._handleEvent(e,t)}})}return l(e,[{key:"onmessage",value:function(e){this._protocol.handleMessage(e)}},{key:"_handleMessage",value:function(e,t){if(e===Oe)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(qs){return Promise.reject(qs)}}},{key:"_handleEvent",value:function(e,t){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Ke(e)){var n=this._requestHandler[e].call(this._requestHandler,t);if("function"!==typeof n)throw new Error("Missing dynamic event ".concat(e," on request handler."));return n}if(Fe(e)){var r=this._requestHandler[e];if("function"!==typeof r)throw new Error("Missing event ".concat(e," on request handler."));return r}throw new Error("Malformed event name ".concat(e))}},{key:"initialize",value:function(e,t,n,r){var i=this;this._protocol.setWorkerId(e);var a=je(r,(function(e,t){return i._protocol.sendMessage(e,t)}),(function(e,t){return i._protocol.listen(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(ge(this._requestHandler))):(t&&("undefined"!==typeof t.baseUrl&&delete t.baseUrl,"undefined"!==typeof t.paths&&"undefined"!==typeof t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,Z.require.config(t)),new Promise((function(e,t){(0,Z.require)([n],(function(n){i._requestHandler=n.create(a),i._requestHandler?e(ge(i._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}]),e}();var Be=function(){function e(t,n,r,i){u(this,e),this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}return l(e,[{key:"getOriginalEnd",value:function(){return this.originalStart+this.originalLength}},{key:"getModifiedEnd",value:function(){return this.modifiedStart+this.modifiedLength}}]),e}();function qe(e,t){return(t<<5)-t+e|0}function We(e,t){t=qe(149417,t);for(var n=0,r=e.length;n<r;n++)t=qe(e.charCodeAt(n),t);return t}function He(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:32,r=n-t,i=~((1<<r)-1);return(e<<t|(i&e)>>>r)>>>0}function $e(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.byteLength,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=0;i<n;i++)e[t+i]=r}function ze(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";e.length<t;)e=n+e;return e}function Ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:32;return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join(""):ze((e>>>0).toString(16),t/4)}var Je=function(){function e(){u(this,e),this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}return l(e,[{key:"update",value:function(e){var t=e.length;if(0!==t){var n,r,i=this._buff,a=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(n=o,r=-1,o=0):(n=e.charCodeAt(0),r=0);;){var s=n;if(ke(n)){if(!(r+1<t)){o=n;break}var u=e.charCodeAt(r+1);Se(u)?(r++,s=Ae(n,u)):s=65533}else Se(n)&&(s=65533);if(a=this._push(i,a,s),!(++r<t))break;n=e.charCodeAt(r)}this._buffLen=a,this._leftoverHighSurrogate=o}}},{key:"_push",value:function(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}},{key:"digest",value:function(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Ge(this._h0)+Ge(this._h1)+Ge(this._h2)+Ge(this._h3)+Ge(this._h4)}},{key:"_wrapUp",value:function(){this._buff[this._buffLen++]=128,$e(this._buff,this._buffLen),this._buffLen>56&&(this._step(),$e(this._buff));var e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}},{key:"_step",value:function(){for(var t=e._bigBlock32,n=this._buffDV,r=0;r<64;r+=4)t.setUint32(r,n.getUint32(r,!1),!1);for(var i=64;i<320;i+=4)t.setUint32(i,He(t.getUint32(i-12,!1)^t.getUint32(i-32,!1)^t.getUint32(i-56,!1)^t.getUint32(i-64,!1),1),!1);for(var a,o,s,u=this._h0,c=this._h1,l=this._h2,f=this._h3,h=this._h4,d=0;d<80;d++)d<20?(a=c&l|~c&f,o=1518500249):d<40?(a=c^l^f,o=1859775393):d<60?(a=c&l|c&f|l&f,o=2400959708):(a=c^l^f,o=3395469782),s=He(u,5)+a+h+o+t.getUint32(4*d,!1)&4294967295,h=f,f=l,l=He(c,30),c=u,u=s;this._h0=this._h0+u&4294967295,this._h1=this._h1+c&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+f&4294967295,this._h4=this._h4+h&4294967295}}]),e}();Je._bigBlock32=new DataView(new ArrayBuffer(320));var Ye=function(){function e(t){u(this,e),this.source=t}return l(e,[{key:"getElements",value:function(){for(var e=this.source,t=new Int32Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}]),e}();function Xe(e,t,n){return new nt(new Ye(e),new Ye(t)).ComputeDiff(n).changes}var Ze,Qe=function(){function e(){u(this,e)}return l(e,null,[{key:"Assert",value:function(e,t){if(!e)throw new Error(t)}}]),e}(),et=function(){function e(){u(this,e)}return l(e,null,[{key:"Copy",value:function(e,t,n,r,i){for(var a=0;a<i;a++)n[r+a]=e[t+a]}},{key:"Copy2",value:function(e,t,n,r,i){for(var a=0;a<i;a++)n[r+a]=e[t+a]}}]),e}(),tt=function(){function e(){u(this,e),this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return l(e,[{key:"MarkNextChange",value:function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Be(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}},{key:"AddOriginalElement",value:function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}},{key:"AddModifiedElement",value:function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}},{key:"getChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}},{key:"getReverseChanges",value:function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}]),e}(),nt=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u(this,e),this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;var i=e._getElements(t),a=L(i,3),o=a[0],s=a[1],c=a[2],l=e._getElements(n),f=L(l,3),h=f[0],d=f[1],m=f[2];this._hasStrings=c&&m,this._originalStringElements=o,this._originalElementsOrHash=s,this._modifiedStringElements=h,this._modifiedElementsOrHash=d,this.m_forwardHistory=[],this.m_reverseHistory=[]}return l(e,[{key:"ElementsAreEqual",value:function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}},{key:"ElementsAreStrictEqual",value:function(t,n){return!!this.ElementsAreEqual(t,n)&&e._getStrictElement(this._originalSequence,t)===e._getStrictElement(this._modifiedSequence,n)}},{key:"OriginalElementsAreEqual",value:function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}},{key:"ModifiedElementsAreEqual",value:function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}},{key:"ComputeDiff",value:function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}},{key:"_ComputeDiff",value:function(e,t,n,r,i){var a=[!1],o=this.ComputeDiffRecursive(e,t,n,r,a);return i&&(o=this.PrettifyChanges(o)),{quitEarly:a[0],changes:o}}},{key:"ComputeDiffRecursive",value:function(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--;var a;if(e>t||n>r)return n<=r?(Qe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a=[new Be(e,0,n,r-n+1)]):e<=t?(Qe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),a=[new Be(e,t-e+1,n,0)]):(Qe.Assert(e===t+1,"originalStart should only be one more than originalEnd"),Qe.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),a=[]),a;var o=[0],s=[0],u=this.ComputeRecursionPoint(e,t,n,r,o,s,i),c=o[0],l=s[0];if(null!==u)return u;if(!i[0]){var f=this.ComputeDiffRecursive(e,c,n,l,i),h=[];return h=i[0]?[new Be(c+1,t-(c+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(c+1,t,l+1,r,i),this.ConcatenateChanges(f,h)}return[new Be(e,t-e+1,n,r-n+1)]}},{key:"WALKTRACE",value:function(e,t,n,r,i,a,o,s,u,c,l,f,h,d,m,p,g,v){var y,b=null,C=new tt,w=t,_=n,k=h[0]-p[0]-r,S=-1073741824,A=this.m_forwardHistory.length-1;do{var E=k+e;E===w||E<_&&u[E-1]<u[E+1]?(d=(l=u[E+1])-k-r,l<S&&C.MarkNextChange(),S=l,C.AddModifiedElement(l+1,d),k=E+1-e):(d=(l=u[E-1]+1)-k-r,l<S&&C.MarkNextChange(),S=l-1,C.AddOriginalElement(l,d+1),k=E-1-e),A>=0&&(e=(u=this.m_forwardHistory[A])[0],w=1,_=u.length-1)}while(--A>=-1);if(y=C.getReverseChanges(),v[0]){var x=h[0]+1,N=p[0]+1;if(null!==y&&y.length>0){var L=y[y.length-1];x=Math.max(x,L.getOriginalEnd()),N=Math.max(N,L.getModifiedEnd())}b=[new Be(x,f-x+1,N,m-N+1)]}else{C=new tt,w=a,_=o,k=h[0]-p[0]-s,S=1073741824,A=g?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var T=k+i;T===w||T<_&&c[T-1]>=c[T+1]?(d=(l=c[T+1]-1)-k-s,l>S&&C.MarkNextChange(),S=l+1,C.AddOriginalElement(l+1,d+1),k=T+1-i):(d=(l=c[T-1])-k-s,l>S&&C.MarkNextChange(),S=l,C.AddModifiedElement(l+1,d+1),k=T-1-i),A>=0&&(i=(c=this.m_reverseHistory[A])[0],w=1,_=c.length-1)}while(--A>=-1);b=C.getChanges()}return this.ConcatenateChanges(y,b)}},{key:"ComputeRecursionPoint",value:function(e,t,n,r,i,a,o){var s=0,u=0,c=0,l=0,f=0,h=0;e--,n--,i[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var d=t-e+(r-n),m=d+1,p=new Int32Array(m),g=new Int32Array(m),v=r-n,y=t-e,b=e-n,C=t-r,w=(y-v)%2===0;p[v]=e,g[y]=t,o[0]=!1;for(var _=1;_<=d/2+1;_++){var k=0,S=0;c=this.ClipDiagonalBound(v-_,_,v,m),l=this.ClipDiagonalBound(v+_,_,v,m);for(var A=c;A<=l;A+=2){u=(s=A===c||A<l&&p[A-1]<p[A+1]?p[A+1]:p[A-1]+1)-(A-v)-b;for(var E=s;s<t&&u<r&&this.ElementsAreEqual(s+1,u+1);)s++,u++;if(p[A]=s,s+u>k+S&&(k=s,S=u),!w&&Math.abs(A-y)<=_-1&&s>=g[A])return i[0]=s,a[0]=u,E<=g[A]&&_<=1448?this.WALKTRACE(v,c,l,b,y,f,h,C,p,g,s,t,i,u,r,a,w,o):null}var x=(k-e+(S-n)-_)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(k,x))return o[0]=!0,i[0]=k,a[0]=S,x>0&&_<=1448?this.WALKTRACE(v,c,l,b,y,f,h,C,p,g,s,t,i,u,r,a,w,o):(e++,n++,[new Be(e,t-e+1,n,r-n+1)]);f=this.ClipDiagonalBound(y-_,_,y,m),h=this.ClipDiagonalBound(y+_,_,y,m);for(var N=f;N<=h;N+=2){u=(s=N===f||N<h&&g[N-1]>=g[N+1]?g[N+1]-1:g[N-1])-(N-y)-C;for(var L=s;s>e&&u>n&&this.ElementsAreEqual(s,u);)s--,u--;if(g[N]=s,w&&Math.abs(N-v)<=_&&s<=p[N])return i[0]=s,a[0]=u,L>=p[N]&&_<=1448?this.WALKTRACE(v,c,l,b,y,f,h,C,p,g,s,t,i,u,r,a,w,o):null}if(_<=1447){var T=new Int32Array(l-c+2);T[0]=v-c+1,et.Copy2(p,c,T,1,l-c+1),this.m_forwardHistory.push(T),(T=new Int32Array(h-f+2))[0]=y-f+1,et.Copy2(g,f,T,1,h-f+1),this.m_reverseHistory.push(T)}}return this.WALKTRACE(v,c,l,b,y,f,h,C,p,g,s,t,i,u,r,a,w,o)}},{key:"PrettifyChanges",value:function(e){for(var t=0;t<e.length;t++){for(var 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,a=n.originalLength>0,o=n.modifiedLength>0;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!a||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!o||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){var s=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!s)break;n.originalStart++,n.modifiedStart++}var u=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],u)&&(e[t]=u[0],e.splice(t+1,1),t--)}for(var c=e.length-1;c>=0;c--){var l=e[c],f=0,h=0;if(c>0){var d=e[c-1];f=d.originalStart+d.originalLength,h=d.modifiedStart+d.modifiedLength}for(var m=l.originalLength>0,p=l.modifiedLength>0,g=0,v=this._boundaryScore(l.originalStart,l.originalLength,l.modifiedStart,l.modifiedLength),y=1;;y++){var b=l.originalStart-y,C=l.modifiedStart-y;if(b<f||C<h)break;if(m&&!this.OriginalElementsAreEqual(b,b+l.originalLength))break;if(p&&!this.ModifiedElementsAreEqual(C,C+l.modifiedLength))break;var w=(b===f&&C===h?5:0)+this._boundaryScore(b,l.originalLength,C,l.modifiedLength);w>v&&(v=w,g=y)}l.originalStart-=g,l.modifiedStart-=g;var _=[null];c>0&&this.ChangesOverlap(e[c-1],e[c],_)&&(e[c-1]=_[0],e.splice(c,1),c++)}if(this._hasStrings)for(var k=1,S=e.length;k<S;k++){var A=e[k-1],E=e[k],x=E.originalStart-A.originalStart-A.originalLength,N=A.originalStart,T=E.originalStart+E.originalLength,O=T-N,P=A.modifiedStart,I=E.modifiedStart+E.modifiedLength,M=I-P;if(x<5&&O<20&&M<20){var R=this._findBetterContiguousSequence(N,O,P,M,x);if(R){var D=L(R,2),V=D[0],F=D[1];V===A.originalStart+A.originalLength&&F===A.modifiedStart+A.modifiedLength||(A.originalLength=V-A.originalStart,A.modifiedLength=F-A.modifiedStart,E.originalStart=V+x,E.modifiedStart=F+x,E.originalLength=T-E.originalStart,E.modifiedLength=I-E.modifiedStart)}}}return e}},{key:"_findBetterContiguousSequence",value:function(e,t,n,r,i){if(t<i||r<i)return null;for(var a=e+t-i+1,o=n+r-i+1,s=0,u=0,c=0,l=e;l<a;l++)for(var f=n;f<o;f++){var h=this._contiguousSequenceScore(l,f,i);h>0&&h>s&&(s=h,u=l,c=f)}return s>0?[u,c]:null}},{key:"_contiguousSequenceScore",value:function(e,t,n){for(var r=0,i=0;i<n;i++){if(!this.ElementsAreEqual(e+i,t+i))return 0;r+=this._originalStringElements[e+i].length}return r}},{key:"_OriginalIsBoundary",value:function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}},{key:"_OriginalRegionIsBoundary",value:function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}},{key:"_ModifiedIsBoundary",value:function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}},{key:"_ModifiedRegionIsBoundary",value:function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}},{key:"_boundaryScore",value:function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}},{key:"ConcatenateChanges",value:function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return et.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],et.Copy(t,1,r,e.length,t.length-1),r}var i=new Array(e.length+t.length);return et.Copy(e,0,i,0,e.length),et.Copy(t,0,i,e.length,t.length),i}},{key:"ChangesOverlap",value:function(e,t,n){if(Qe.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),Qe.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){var r=e.originalStart,i=e.originalLength,a=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(o=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Be(r,i,a,o),!0}return n[0]=null,!1}},{key:"ClipDiagonalBound",value:function(e,t,n,r){if(e>=0&&e<r)return e;var i=t%2===0;return e<0?i===(n%2===0)?0:1:i===((r-n-1)%2===0)?r-1:r-2}}],[{key:"_isStringArray",value:function(e){return e.length>0&&"string"===typeof e[0]}},{key:"_getElements",value:function(t){var n=t.getElements();if(e._isStringArray(n)){for(var r=new Int32Array(n.length),i=0,a=n.length;i<a;i++)r[i]=We(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}},{key:"_getStrictElement",value:function(e,t){return"function"===typeof e.getStrictElement?e.getStrictElement(t):null}}]),e}();if("undefined"!==typeof Z.vscode&&"undefined"!==typeof Z.vscode.process){var rt=Z.vscode.process;Ze={get platform(){return rt.platform},get arch(){return rt.arch},get env(){return rt.env},cwd:function(){return rt.cwd()}}}else Ze="undefined"!==typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BCP_CLIENT_ID:"0910a943-9561-4b7c-8aaa-197c222c076c",REACT_APP_CLOUD:"false",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_IDENTITY_DEVICE_CODE_ENDPOINT:"https://identity.chillicream.com/connect/deviceauthorization",REACT_APP_IDENTITY_TOKEN_ENDPOINT:"https://identity.chillicream.com/connect/token",REACT_APP_IDENTITY_END_SESSION_ENDPOINT:"https://identity.chillicream.com/connect/endsession?id_token_hint",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write"}},cwd:function(){return{NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BCP_CLIENT_ID:"0910a943-9561-4b7c-8aaa-197c222c076c",REACT_APP_CLOUD:"false",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_IDENTITY_DEVICE_CODE_ENDPOINT:"https://identity.chillicream.com/connect/deviceauthorization",REACT_APP_IDENTITY_TOKEN_ENDPOINT:"https://identity.chillicream.com/connect/token",REACT_APP_IDENTITY_END_SESSION_ENDPOINT:"https://identity.chillicream.com/connect/endsession?id_token_hint",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write"}.VSCODE_CWD||process.cwd()}}:{get platform(){return ae?"win32":oe?"darwin":"linux"},get arch(){},get env(){return{}},cwd:function(){return"/"}};var it=Ze.cwd,at=(Ze.env,Ze.platform),ot=46,st=47,ut=92,ct=58,lt=function(e){m(n,e);var t=b(n);function n(e,r,i){var a,o;u(this,n),"string"===typeof r&&0===r.indexOf("not ")?(o="must not be",r=r.replace(/^not /,"")):o="must be";var s=-1!==e.indexOf(".")?"property":"argument",c='The "'.concat(e,'" ').concat(s," ").concat(o," of type ").concat(r);return c+=". Received type ".concat(typeof i),(a=t.call(this,c)).code="ERR_INVALID_ARG_TYPE",a}return l(n)}(w(Error));function ft(e,t){if("string"!==typeof e)throw new lt(t,"string",e)}function ht(e){return e===st||e===ut}function dt(e){return e===st}function mt(e){return e>=65&&e<=90||e>=97&&e<=122}function pt(e,t,n,r){for(var i="",a=0,o=-1,s=0,u=0,c=0;c<=e.length;++c){if(c<e.length)u=e.charCodeAt(c);else{if(r(u))break;u=st}if(r(u)){if(o===c-1||1===s);else if(2===s){if(i.length<2||2!==a||i.charCodeAt(i.length-1)!==ot||i.charCodeAt(i.length-2)!==ot){if(i.length>2){var l=i.lastIndexOf(n);-1===l?(i="",a=0):a=(i=i.slice(0,l)).length-1-i.lastIndexOf(n),o=c,s=0;continue}if(0!==i.length){i="",a=0,o=c,s=0;continue}}t&&(i+=i.length>0?"".concat(n,".."):"..",a=2)}else i.length>0?i+="".concat(n).concat(e.slice(o+1,c)):i=e.slice(o+1,c),a=c-o-1;o=c,s=0}else u===ot&&-1!==s?++s:s=-1}return i}function gt(e,t){if(null===t||"object"!==typeof t)throw new lt("pathObject","Object",t);var n=t.dir||t.root,r=t.base||"".concat(t.name||"").concat(t.ext||"");return n?n===t.root?"".concat(n).concat(r):"".concat(n).concat(e).concat(r):r}var vt={resolve:function(){for(var e="",t="",n=!1,r=arguments.length-1;r>=-1;r--){var i=void 0;if(r>=0){if(ft(i=r<0||arguments.length<=r?void 0:arguments[r],"path"),0===i.length)continue}else 0===e.length?i=it():(void 0===(i={NODE_ENV:"production",PUBLIC_URL:".",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BCP_CLIENT_ID:"0910a943-9561-4b7c-8aaa-197c222c076c",REACT_APP_CLOUD:"false",REACT_APP_TUNNEL_URI:"https://tunnel.bananacakepop.com",REACT_APP_API_ENDPOINT:"https://api.chillicream.com/graphql",REACT_APP_IDENTITY_DEVICE_CODE_ENDPOINT:"https://identity.chillicream.com/connect/deviceauthorization",REACT_APP_IDENTITY_TOKEN_ENDPOINT:"https://identity.chillicream.com/connect/token",REACT_APP_IDENTITY_END_SESSION_ENDPOINT:"https://identity.chillicream.com/connect/endsession?id_token_hint",REACT_APP_IDENTITY_SCOPE:"openid offline_access documents:read documents:write"}["=".concat(e)]||it())||i.slice(0,2).toLowerCase()!==e.toLowerCase()&&i.charCodeAt(2)===ut)&&(i="".concat(e,"\\"));var a=i.length,o=0,s="",u=!1,c=i.charCodeAt(0);if(1===a)ht(c)&&(o=1,u=!0);else if(ht(c))if(u=!0,ht(i.charCodeAt(1))){for(var l=2,f=l;l<a&&!ht(i.charCodeAt(l));)l++;if(l<a&&l!==f){var h=i.slice(f,l);for(f=l;l<a&&ht(i.charCodeAt(l));)l++;if(l<a&&l!==f){for(f=l;l<a&&!ht(i.charCodeAt(l));)l++;l!==a&&l===f||(s="\\\\".concat(h,"\\").concat(i.slice(f,l)),o=l)}}}else o=1;else mt(c)&&i.charCodeAt(1)===ct&&(s=i.slice(0,2),o=2,a>2&&ht(i.charCodeAt(2))&&(u=!0,o=3));if(s.length>0)if(e.length>0){if(s.toLowerCase()!==e.toLowerCase())continue}else e=s;if(n){if(e.length>0)break}else if(t="".concat(i.slice(o),"\\").concat(t),n=u,u&&e.length>0)break}return t=pt(t,!n,"\\",ht),n?"".concat(e,"\\").concat(t):"".concat(e).concat(t)||"."},normalize:function(e){ft(e,"path");var t=e.length;if(0===t)return".";var n,r=0,i=!1,a=e.charCodeAt(0);if(1===t)return dt(a)?"\\":e;if(ht(a))if(i=!0,ht(e.charCodeAt(1))){for(var o=2,s=o;o<t&&!ht(e.charCodeAt(o));)o++;if(o<t&&o!==s){var u=e.slice(s,o);for(s=o;o<t&&ht(e.charCodeAt(o));)o++;if(o<t&&o!==s){for(s=o;o<t&&!ht(e.charCodeAt(o));)o++;if(o===t)return"\\\\".concat(u,"\\").concat(e.slice(s),"\\");o!==s&&(n="\\\\".concat(u,"\\").concat(e.slice(s,o)),r=o)}}}else r=1;else mt(a)&&e.charCodeAt(1)===ct&&(n=e.slice(0,2),r=2,t>2&&ht(e.charCodeAt(2))&&(i=!0,r=3));var c=r<t?pt(e.slice(r),!i,"\\",ht):"";return 0!==c.length||i||(c="."),c.length>0&&ht(e.charCodeAt(t-1))&&(c+="\\"),void 0===n?i?"\\".concat(c):c:i?"".concat(n,"\\").concat(c):"".concat(n).concat(c)},isAbsolute:function(e){ft(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return ht(n)||t>2&&mt(n)&&e.charCodeAt(1)===ct&&ht(e.charCodeAt(2))},join:function(){if(0===arguments.length)return".";for(var e,t,n=0;n<arguments.length;++n){var r=n<0||arguments.length<=n?void 0:arguments[n];ft(r,"path"),r.length>0&&(void 0===e?e=t=r:e+="\\".concat(r))}if(void 0===e)return".";var i=!0,a=0;if("string"===typeof t&&ht(t.charCodeAt(0))){++a;var o=t.length;o>1&&ht(t.charCodeAt(1))&&(++a,o>2&&(ht(t.charCodeAt(2))?++a:i=!1))}if(i){for(;a<e.length&&ht(e.charCodeAt(a));)a++;a>=2&&(e="\\".concat(e.slice(a)))}return vt.normalize(e)},relative:function(e,t){if(ft(e,"from"),ft(t,"to"),e===t)return"";var n=vt.resolve(e),r=vt.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";for(var i=0;i<e.length&&e.charCodeAt(i)===ut;)i++;for(var a=e.length;a-1>i&&e.charCodeAt(a-1)===ut;)a--;for(var o=a-i,s=0;s<t.length&&t.charCodeAt(s)===ut;)s++;for(var u=t.length;u-1>s&&t.charCodeAt(u-1)===ut;)u--;for(var c=u-s,l=o<c?o:c,f=-1,h=0;h<l;h++){var d=e.charCodeAt(i+h);if(d!==t.charCodeAt(s+h))break;d===ut&&(f=h)}if(h!==l){if(-1===f)return r}else{if(c>l){if(t.charCodeAt(s+h)===ut)return r.slice(s+h+1);if(2===h)return r.slice(s+h)}o>l&&(e.charCodeAt(i+h)===ut?f=h:2===h&&(f=3)),-1===f&&(f=0)}var m="";for(h=i+f+1;h<=a;++h)h!==a&&e.charCodeAt(h)!==ut||(m+=0===m.length?"..":"\\..");return s+=f,m.length>0?"".concat(m).concat(r.slice(s,u)):(r.charCodeAt(s)===ut&&++s,r.slice(s,u))},toNamespacedPath:function(e){if("string"!==typeof e)return e;if(0===e.length)return"";var t=vt.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===ut){if(t.charCodeAt(1)===ut){var n=t.charCodeAt(2);if(63!==n&&n!==ot)return"\\\\?\\UNC\\".concat(t.slice(2))}}else if(mt(t.charCodeAt(0))&&t.charCodeAt(1)===ct&&t.charCodeAt(2)===ut)return"\\\\?\\".concat(t);return e},dirname:function(e){ft(e,"path");var t=e.length;if(0===t)return".";var n=-1,r=0,i=e.charCodeAt(0);if(1===t)return ht(i)?e:".";if(ht(i)){if(n=r=1,ht(e.charCodeAt(1))){for(var a=2,o=a;a<t&&!ht(e.charCodeAt(a));)a++;if(a<t&&a!==o){for(o=a;a<t&&ht(e.charCodeAt(a));)a++;if(a<t&&a!==o){for(o=a;a<t&&!ht(e.charCodeAt(a));)a++;if(a===t)return e;a!==o&&(n=r=a+1)}}}}else mt(i)&&e.charCodeAt(1)===ct&&(r=n=t>2&&ht(e.charCodeAt(2))?3:2);for(var s=-1,u=!0,c=t-1;c>=r;--c)if(ht(e.charCodeAt(c))){if(!u){s=c;break}}else u=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename:function(e,t){void 0!==t&&ft(t,"ext"),ft(e,"path");var n,r=0,i=-1,a=!0;if(e.length>=2&&mt(e.charCodeAt(0))&&e.charCodeAt(1)===ct&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";var o=t.length-1,s=-1;for(n=e.length-1;n>=r;--n){var u=e.charCodeAt(n);if(ht(u)){if(!a){r=n+1;break}}else-1===s&&(a=!1,s=n+1),o>=0&&(u===t.charCodeAt(o)?-1===--o&&(i=n):(o=-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(ht(e.charCodeAt(n))){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){ft(e,"path");var t=0,n=-1,r=0,i=-1,a=!0,o=0;e.length>=2&&e.charCodeAt(1)===ct&&mt(e.charCodeAt(0))&&(t=r=2);for(var s=e.length-1;s>=t;--s){var u=e.charCodeAt(s);if(ht(u)){if(!a){r=s+1;break}}else-1===i&&(a=!1,i=s+1),u===ot?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:gt.bind(null,"\\"),parse:function(e){ft(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,r=0,i=e.charCodeAt(0);if(1===n)return ht(i)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(ht(i)){if(r=1,ht(e.charCodeAt(1))){for(var a=2,o=a;a<n&&!ht(e.charCodeAt(a));)a++;if(a<n&&a!==o){for(o=a;a<n&&ht(e.charCodeAt(a));)a++;if(a<n&&a!==o){for(o=a;a<n&&!ht(e.charCodeAt(a));)a++;a===n?r=a:a!==o&&(r=a+1)}}}}else if(mt(i)&&e.charCodeAt(1)===ct){if(n<=2)return t.root=t.dir=e,t;if(r=2,ht(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}r>0&&(t.root=e.slice(0,r));for(var s=-1,u=r,c=-1,l=!0,f=e.length-1,h=0;f>=r;--f)if(ht(i=e.charCodeAt(f))){if(!l){u=f+1;break}}else-1===c&&(l=!1,c=f+1),i===ot?-1===s?s=f:1!==h&&(h=1):-1!==s&&(h=-1);return-1!==c&&(-1===s||0===h||1===h&&s===c-1&&s===u+1?t.base=t.name=e.slice(u,c):(t.name=e.slice(u,s),t.base=e.slice(u,c),t.ext=e.slice(s,c))),t.dir=u>0&&u!==r?e.slice(0,u-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},yt={resolve:function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?n<0||arguments.length<=n?void 0:arguments[n]:it();ft(r,"path"),0!==r.length&&(e="".concat(r,"/").concat(e),t=r.charCodeAt(0)===st)}return e=pt(e,!t,"/",dt),t?"/".concat(e):e.length>0?e:"."},normalize:function(e){if(ft(e,"path"),0===e.length)return".";var t=e.charCodeAt(0)===st,n=e.charCodeAt(e.length-1)===st;return 0===(e=pt(e,!t,"/",dt)).length?t?"/":n?"./":".":(n&&(e+="/"),t?"/".concat(e):e)},isAbsolute:function(e){return ft(e,"path"),e.length>0&&e.charCodeAt(0)===st},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=t<0||arguments.length<=t?void 0:arguments[t];ft(n,"path"),n.length>0&&(void 0===e?e=n:e+="/".concat(n))}return void 0===e?".":yt.normalize(e)},relative:function(e,t){if(ft(e,"from"),ft(t,"to"),e===t)return"";if((e=yt.resolve(e))===(t=yt.resolve(t)))return"";for(var n=e.length,r=n-1,i=t.length-1,a=r<i?r:i,o=-1,s=0;s<a;s++){var u=e.charCodeAt(1+s);if(u!==t.charCodeAt(1+s))break;u===st&&(o=s)}if(s===a)if(i>a){if(t.charCodeAt(1+s)===st)return t.slice(1+s+1);if(0===s)return t.slice(1+s)}else r>a&&(e.charCodeAt(1+s)===st?o=s:0===s&&(o=0));var c="";for(s=1+o+1;s<=n;++s)s!==n&&e.charCodeAt(s)!==st||(c+=0===c.length?"..":"/..");return"".concat(c).concat(t.slice(1+o))},toNamespacedPath:function(e){return e},dirname:function(e){if(ft(e,"path"),0===e.length)return".";for(var t=e.charCodeAt(0)===st,n=-1,r=!0,i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===st){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&ft(t,"ext"),ft(e,"path");var n,r=0,i=-1,a=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";var o=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(u===st){if(!a){r=n+1;break}}else-1===s&&(a=!1,s=n+1),o>=0&&(u===t.charCodeAt(o)?-1===--o&&(i=n):(o=-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)===st){if(!a){r=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){ft(e,"path");for(var t=-1,n=0,r=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(s!==st)-1===r&&(i=!1,r=o+1),s===ot?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){n=o+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:gt.bind(null,"/"),parse:function(e){ft(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0)===st;r?(t.root="/",n=1):n=0;for(var i=-1,a=0,o=-1,s=!0,u=e.length-1,c=0;u>=n;--u){var l=e.charCodeAt(u);if(l!==st)-1===o&&(s=!1,o=u+1),l===ot?-1===i?i=u:1!==c&&(c=1):-1!==i&&(c=-1);else if(!s){a=u+1;break}}if(-1!==o){var f=0===a&&r?1:a;-1===i||0===c||1===c&&i===o-1&&i===a+1?t.base=t.name=e.slice(f,o):(t.name=e.slice(f,i),t.base=e.slice(f,o),t.ext=e.slice(i,o))}return a>0?t.dir=e.slice(0,a-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};yt.win32=vt.win32=vt,yt.posix=vt.posix=yt;"win32"===at?vt.normalize:yt.normalize,"win32"===at?vt.resolve:yt.resolve,"win32"===at?vt.relative:yt.relative,"win32"===at?vt.dirname:yt.dirname,"win32"===at?vt.basename:yt.basename,"win32"===at?vt.extname:yt.extname,"win32"===at?vt.sep:yt.sep;var bt,Ct=/^\w[\w\d+.-]*$/,wt=/^\//,_t=/^\/\//;function kt(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&&!Ct.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!wt.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(_t.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function St(e,t){return e||t?e:"file"}function At(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==xt&&(t=xt+t):t=xt}return t}var Et="",xt="/",Nt=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Lt=function(){function e(t,n,r,i,a){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];u(this,e),"object"===typeof t?(this.scheme=t.scheme||Et,this.authority=t.authority||Et,this.path=t.path||Et,this.query=t.query||Et,this.fragment=t.fragment||Et):(this.scheme=St(t,o),this.authority=n||Et,this.path=At(this.scheme,r||Et),this.query=i||Et,this.fragment=a||Et,kt(this,o))}return l(e,[{key:"fsPath",get:function(){return Rt(this,!1)}},{key:"with",value:function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,a=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=Et),void 0===n?n=this.authority:null===n&&(n=Et),void 0===r?r=this.path:null===r&&(r=Et),void 0===i?i=this.query:null===i&&(i=Et),void 0===a?a=this.fragment:null===a&&(a=Et),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&a===this.fragment?this:new Ot(t,n,r,i,a)}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Dt(this,e)}},{key:"toJSON",value:function(){return this}}],[{key:"isUri",value: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)}},{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Nt.exec(e);return n?new Ot(n[2]||Et,Kt(n[4]||Et),Kt(n[5]||Et),Kt(n[7]||Et),Kt(n[9]||Et),t):new Ot(Et,Et,Et,Et,Et)}},{key:"file",value:function(e){var t=Et;if(ae&&(e=e.replace(/\\/g,xt)),e[0]===xt&&e[1]===xt){var n=e.indexOf(xt,2);-1===n?(t=e.substring(2),e=xt):(t=e.substring(2,n),e=e.substring(n)||xt)}return new Ot("file",t,e,Et,Et)}},{key:"from",value:function(e){var t=new Ot(e.scheme,e.authority,e.path,e.query,e.fragment);return kt(t,!0),t}},{key:"joinPath",value:function(t){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");for(var n,r,i,a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];ae&&"file"===t.scheme?n=e.file((r=vt).join.apply(r,[Rt(t,!0)].concat(o))).path:n=(i=yt).join.apply(i,[t.path].concat(o));return t.with({path:n})}},{key:"revive",value:function(t){if(t){if(t instanceof e)return t;var n=new Ot(t);return n._formatted=t.external,n._fsPath=t._sep===Tt?t.fsPath:null,n}return t}}]),e}(),Tt=ae?1:void 0,Ot=function(e){m(n,e);var t=b(n);function n(){var e;return u(this,n),(e=t.apply(this,arguments))._formatted=null,e._fsPath=null,e}return l(n,[{key:"fsPath",get:function(){return this._fsPath||(this._fsPath=Rt(this,!1)),this._fsPath}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?Dt(this,!0):(this._formatted||(this._formatted=Dt(this,!1)),this._formatted)}},{key:"toJSON",value:function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Tt),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}}]),n}(Lt),Pt=(r(bt={},58,"%3A"),r(bt,47,"%2F"),r(bt,63,"%3F"),r(bt,35,"%23"),r(bt,91,"%5B"),r(bt,93,"%5D"),r(bt,64,"%40"),r(bt,33,"%21"),r(bt,36,"%24"),r(bt,38,"%26"),r(bt,39,"%27"),r(bt,40,"%28"),r(bt,41,"%29"),r(bt,42,"%2A"),r(bt,43,"%2B"),r(bt,44,"%2C"),r(bt,59,"%3B"),r(bt,61,"%3D"),r(bt,32,"%20"),bt);function It(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var a=e.charCodeAt(i);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||45===a||46===a||95===a||126===a||t&&47===a)-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 o=Pt[a];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function Mt(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+=Pt[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function Rt(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,ae&&(n=n.replace(/\//g,"\\")),n}function Dt(e,t){var n=t?Mt:It,r="",i=e.scheme,a=e.authority,o=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(a||"file"===i)&&(r+=xt,r+=xt),a){var c=a.indexOf("@");if(-1!==c){var l=a.substr(0,c);a=a.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(a=a.toLowerCase()).indexOf(":"))?r+=n(a,!1):(r+=n(a.substr(0,c),!1),r+=a.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){var f=o.charCodeAt(1);f>=65&&f<=90&&(o="/".concat(String.fromCharCode(f+32),":").concat(o.substr(3)))}else if(o.length>=2&&58===o.charCodeAt(1)){var h=o.charCodeAt(0);h>=65&&h<=90&&(o="".concat(String.fromCharCode(h+32),":").concat(o.substr(2)))}r+=n(o,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=t?u:It(u,!1)),r}function Vt(e){try{return decodeURIComponent(e)}catch(W){return e.length>3?e.substr(0,3)+Vt(e.substr(3)):e}}var Ft=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Kt(e){return e.match(Ft)?e.replace(Ft,(function(e){return Vt(e)})):e}var jt=function(){function e(t,n){u(this,e),this.lineNumber=t,this.column=n}return l(e,[{key:"with",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lineNumber,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.column;return t===this.lineNumber&&n===this.column?this:new e(t,n)}},{key:"delta",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.with(this.lineNumber+e,this.column+t)}},{key:"equals",value:function(t){return e.equals(this,t)}},{key:"isBefore",value:function(t){return e.isBefore(this,t)}},{key:"isBeforeOrEqual",value:function(t){return e.isBeforeOrEqual(this,t)}},{key:"clone",value:function(){return new e(this.lineNumber,this.column)}},{key:"toString",value:function(){return"("+this.lineNumber+","+this.column+")"}}],[{key:"equals",value:function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}},{key:"isBefore",value:function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}},{key:"isBeforeOrEqual",value:function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}},{key:"compare",value:function(e,t){var n=0|e.lineNumber,r=0|t.lineNumber;return n===r?(0|e.column)-(0|t.column):n-r}},{key:"lift",value:function(t){return new e(t.lineNumber,t.column)}},{key:"isIPosition",value:function(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column}}]),e}(),Ut=function(){function e(t,n,r,i){u(this,e),t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}return l(e,[{key:"isEmpty",value:function(){return e.isEmpty(this)}},{key:"containsPosition",value:function(t){return e.containsPosition(this,t)}},{key:"containsRange",value:function(t){return e.containsRange(this,t)}},{key:"strictContainsRange",value:function(t){return e.strictContainsRange(this,t)}},{key:"plusRange",value:function(t){return e.plusRange(this,t)}},{key:"intersectRanges",value:function(t){return e.intersectRanges(this,t)}},{key:"equalsRange",value:function(t){return e.equalsRange(this,t)}},{key:"getEndPosition",value:function(){return e.getEndPosition(this)}},{key:"getStartPosition",value:function(){return e.getStartPosition(this)}},{key:"toString",value:function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}},{key:"setEndPosition",value:function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)}},{key:"setStartPosition",value:function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)}},{key:"collapseToStart",value:function(){return e.collapseToStart(this)}},{key:"toJSON",value:function(){return this}}],[{key:"isEmpty",value:function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}},{key:"containsPosition",value:function(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))}},{key:"strictContainsPosition",value:function(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))}},{key:"containsRange",value:function(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)))}},{key:"strictContainsRange",value:function(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)))}},{key:"plusRange",value:function(t,n){var r,i,a,o;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(a=n.endLineNumber,o=n.endColumn):n.endLineNumber===t.endLineNumber?(a=n.endLineNumber,o=Math.max(n.endColumn,t.endColumn)):(a=t.endLineNumber,o=t.endColumn),new e(r,i,a,o)}},{key:"intersectRanges",value:function(t,n){var r=t.startLineNumber,i=t.startColumn,a=t.endLineNumber,o=t.endColumn,s=n.startLineNumber,u=n.startColumn,c=n.endLineNumber,l=n.endColumn;return r<s?(r=s,i=u):r===s&&(i=Math.max(i,u)),a>c?(a=c,o=l):a===c&&(o=Math.min(o,l)),r>a||r===a&&i>o?null:new e(r,i,a,o)}},{key:"equalsRange",value:function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}},{key:"getEndPosition",value:function(e){return new jt(e.endLineNumber,e.endColumn)}},{key:"getStartPosition",value:function(e){return new jt(e.startLineNumber,e.startColumn)}},{key:"collapseToStart",value:function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}},{key:"fromPositions",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return new e(t.lineNumber,t.column,n.lineNumber,n.column)}},{key:"lift",value:function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}},{key:"isIRange",value:function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}},{key:"areIntersectingOrTouching",value:function(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)}},{key:"areIntersecting",value:function(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)}},{key:"compareRangesUsingStarts",value:function(e,t){if(e&&t){var n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){var i=0|e.startColumn,a=0|t.startColumn;if(i===a){var o=0|e.endLineNumber,s=0|t.endLineNumber;return o===s?(0|e.endColumn)-(0|t.endColumn):o-s}return i-a}return n-r}return(e?1:0)-(t?1:0)}},{key:"compareRangesUsingEnds",value:function(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}},{key:"spansMultipleLines",value:function(e){return e.endLineNumber>e.startLineNumber}}]),e}();function Bt(e,t,n,r){return new nt(e,t,n).ComputeDiff(r)}var qt=function(){function e(t){u(this,e);for(var n=[],r=[],i=0,a=t.length;i<a;i++)n[i]=Gt(t[i],1),r[i]=Jt(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}return l(e,[{key:"getElements",value:function(){for(var e=[],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}},{key:"getStrictElement",value:function(e){return this.lines[e]}},{key:"getStartLineNumber",value:function(e){return e+1}},{key:"getEndLineNumber",value:function(e){return e+1}},{key:"createCharSequence",value:function(e,t,n){for(var r=[],i=[],a=[],o=0,s=t;s<=n;s++)for(var u=this.lines[s],c=e?this._startColumns[s]:1,l=e?this._endColumns[s]:u.length+1,f=c;f<l;f++)r[o]=u.charCodeAt(f-1),i[o]=s+1,a[o]=f,o++;return new Wt(r,i,a)}}]),e}(),Wt=function(){function e(t,n,r){u(this,e),this._charCodes=t,this._lineNumbers=n,this._columns=r}return l(e,[{key:"getElements",value:function(){return this._charCodes}},{key:"getStartLineNumber",value:function(e){return this._lineNumbers[e]}},{key:"getStartColumn",value:function(e){return this._columns[e]}},{key:"getEndLineNumber",value:function(e){return this._lineNumbers[e]}},{key:"getEndColumn",value:function(e){return this._columns[e]+1}}]),e}(),Ht=function(){function e(t,n,r,i,a,o,s,c){u(this,e),this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=a,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=c}return l(e,null,[{key:"createFromDiffChange",value:function(t,n,r){var i,a,o,s,u,c,l,f;return 0===t.originalLength?(i=0,a=0,o=0,s=0):(i=n.getStartLineNumber(t.originalStart),a=n.getStartColumn(t.originalStart),o=n.getEndLineNumber(t.originalStart+t.originalLength-1),s=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=0,c=0,l=0,f=0):(u=r.getStartLineNumber(t.modifiedStart),c=r.getStartColumn(t.modifiedStart),l=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),f=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,a,o,s,u,c,l,f)}}]),e}();var $t=function(){function e(t,n,r,i,a){u(this,e),this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=a}return l(e,null,[{key:"createFromDiffResult",value:function(t,n,r,i,a,o,s){var u,c,l,f,h=void 0;if(0===n.originalLength?(u=r.getStartLineNumber(n.originalStart)-1,c=0):(u=r.getStartLineNumber(n.originalStart),c=r.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(l=i.getStartLineNumber(n.modifiedStart)-1,f=0):(l=i.getStartLineNumber(n.modifiedStart),f=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),o&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&a()){var d=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),m=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),p=Bt(d,m,a,!0).changes;s&&(p=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],r=1,i=e.length;r<i;r++){var a=e[r],o=a.originalStart-(n.originalStart+n.originalLength),s=a.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(o,s)<3?(n.originalLength=a.originalStart+a.originalLength-n.originalStart,n.modifiedLength=a.modifiedStart+a.modifiedLength-n.modifiedStart):(t.push(a),n=a)}return t}(p)),h=[];for(var g=0,v=p.length;g<v;g++)h.push(Ht.createFromDiffChange(p[g],d,m))}return new e(u,c,l,f,h)}}]),e}(),zt=function(){function e(t,n,r){u(this,e),this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new qt(t),this.modified=new qt(n),this.continueLineDiff=Yt(r.maxComputationTime),this.continueCharDiff=Yt(0===r.maxComputationTime?0:Math.min(r.maxComputationTime,5e3))}return l(e,[{key:"computeDiff",value:function(){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}]}]};var e=Bt(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var r=[],i=0,a=t.length;i<a;i++)r.push($t.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[i],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:r}}for(var o=[],s=0,u=0,c=-1,l=t.length;c<l;c++){for(var f=c+1<l?t[c+1]:null,h=f?f.originalStart:this.originalLines.length,d=f?f.modifiedStart:this.modifiedLines.length;s<h&&u<d;){var m=this.originalLines[s],p=this.modifiedLines[u];if(m!==p){for(var g=Gt(m,1),v=Gt(p,1);g>1&&v>1;){if(m.charCodeAt(g-2)!==p.charCodeAt(v-2))break;g--,v--}(g>1||v>1)&&this._pushTrimWhitespaceCharChange(o,s+1,1,g,u+1,1,v);for(var y=Jt(m,1),b=Jt(p,1),C=m.length+1,w=p.length+1;y<C&&b<w;){if(m.charCodeAt(y-1)!==m.charCodeAt(b-1))break;y++,b++}(y<C||b<w)&&this._pushTrimWhitespaceCharChange(o,s+1,y,C,u+1,b,w)}s++,u++}f&&(o.push($t.createFromDiffResult(this.shouldIgnoreTrimWhitespace,f,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=f.originalLength,u+=f.modifiedLength)}return{quitEarly:n,changes:o}}},{key:"_pushTrimWhitespaceCharChange",value:function(e,t,n,r,i,a,o){if(!this._mergeTrimWhitespaceCharChange(e,t,n,r,i,a,o)){var s=void 0;this.shouldComputeCharChanges&&(s=[new Ht(t,n,t,r,i,a,i,o)]),e.push(new $t(t,t,i,i,s))}}},{key:"_mergeTrimWhitespaceCharChange",value:function(e,t,n,r,i,a,o){var s=e.length;if(0===s)return!1;var u=e[s-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Ht(t,n,t,r,i,a,i,o)),!0))}}]),e}();function Gt(e,t){var n=function(e){for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}(e);return-1===n?t:n+1}function Jt(e,t){var n=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;t>=0;t--){var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===n?t:n+2}function Yt(e){if(0===e)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}function Xt(e){return e<0?0:e>255?255:0|e}function Zt(e){return e<0?0:e>4294967295?4294967295:0|e}var Qt=function(){function e(t){u(this,e),this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return l(e,[{key:"insertValues",value:function(e,t){e=Zt(e);var 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)}},{key:"setValue",value:function(e,t){return e=Zt(e),t=Zt(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}},{key:"removeValues",value:function(e,t){e=Zt(e),t=Zt(t);var n=this.values,r=this.prefixSum;if(e>=n.length)return!1;var 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)}},{key:"getTotalSum",value:function(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}},{key:"getPrefixSum",value:function(e){return e<0?0:(e=Zt(e),this._getPrefixSum(e))}},{key:"_getPrefixSum",value:function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var 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]}},{key:"getIndexOf",value:function(e){e=Math.floor(e),this.getTotalSum();for(var t=0,n=this.values.length-1,r=0,i=0,a=0;t<=n;)if(r=t+(n-t)/2|0,e<(a=(i=this.prefixSum[r])-this.values[r]))n=r-1;else{if(!(e>=i))break;t=r+1}return new en(r,e-a)}}]),e}(),en=l((function e(t,n){u(this,e),this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n})),tn=function(){function e(t,n,r,i){u(this,e),this._uri=t,this._lines=n,this._eol=r,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}return l(e,[{key:"dispose",value:function(){this._lines.length=0}},{key:"version",get:function(){return this._versionId}},{key:"getText",value:function(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}},{key:"onEvents",value:function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);var t,n=s(e.changes);try{for(n.s();!(t=n.n()).done;){var r=t.value;this._acceptDeleteRange(r.range),this._acceptInsertText(new jt(r.range.startLineNumber,r.range.startColumn),r.text)}}catch(i){n.e(i)}finally{n.f()}this._versionId=e.versionId,this._cachedTextValue=null}},{key:"_ensureLineStarts",value:function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new Qt(n)}}},{key:"_setLineText",value:function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}},{key:"_acceptDeleteRange",value:function(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))}}},{key:"_acceptInsertText",value:function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){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]);for(var r=new Uint32Array(n.length-1),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)}else 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))}}}]),e}(),nn="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var rn=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n="(-?\\d*\\.\\d\\w*)|([^",r=s(nn);try{for(r.s();!(e=r.n()).done;){var i=e.value;t.indexOf(i)>=0||(n+="\\"+i)}}catch(a){r.e(a)}finally{r.f()}return n+="\\s]+)",new RegExp(n,"g")}();var an={maxLen:1e3,windowSize:15,timeBudget:150};function on(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:an;if(n.length>i.maxLen){var a=e-i.maxLen/2;return a<0?a=0:r+=a,on(e,t,n=n.substring(a,e+i.maxLen/2),r,i)}for(var o=Date.now(),s=e-1-r,u=-1,c=null,l=1;!(Date.now()-o>=i.timeBudget);l++){var f=s-i.windowSize*l;t.lastIndex=Math.max(0,f);var h=sn(t,n,s,u);if(!h&&c)break;if(c=h,f<=0)break;u=f}if(c){var d={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,d}return null}function sn(e,t,n,r){for(var i;i=e.exec(t);){var a=i.index||0;if(a<=n&&e.lastIndex>=n)return i;if(r>0&&a>r)return null}return null}var un=function(){function e(t){u(this,e);var n=Xt(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return l(e,[{key:"set",value:function(e,t){var n=Xt(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}},{key:"get",value:function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}],[{key:"_createAsciiMap",value:function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t}}]),e}(),cn=function(){function e(t,n,r){u(this,e);for(var i=new Uint8Array(t*n),a=0,o=t*n;a<o;a++)i[a]=r;this._data=i,this.rows=t,this.cols=n}return l(e,[{key:"get",value:function(e,t){return this._data[e*this.cols+t]}},{key:"set",value:function(e,t,n){this._data[e*this.cols+t]=n}}]),e}(),ln=function(){function e(t){u(this,e);for(var n=0,r=0,i=0,a=t.length;i<a;i++){var o=L(t[i],3),s=o[0],c=o[1],l=o[2];c>n&&(n=c),s>r&&(r=s),l>r&&(r=l)}n++,r++;for(var f=new cn(r,n,0),h=0,d=t.length;h<d;h++){var m=L(t[h],3),p=m[0],g=m[1],v=m[2];f.set(p,g,v)}this._states=f,this._maxCharCode=n}return l(e,[{key:"nextState",value:function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}]),e}(),fn=null;function hn(){return null===fn&&(fn=new ln([[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]])),fn}var dn=null;function mn(){if(null===dn){dn=new un(0);for(var e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\u2018\u3008\u300c\u300e\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u300f\u300d\u3009\u2019\uff40\uff5e\u2026",t=0;t<e.length;t++)dn.set(e.charCodeAt(t),1);for(var n=0;n<".,;".length;n++)dn.set(".,;".charCodeAt(n),2)}return dn}var pn=function(){function e(){u(this,e)}return l(e,null,[{key:"_createLink",value:function(e,t,n,r,i){var a=i-1;do{var o=t.charCodeAt(a);if(2!==e.get(o))break;a--}while(a>r);if(r>0){var s=t.charCodeAt(r-1),u=t.charCodeAt(a);(40===s&&41===u||91===s&&93===u||123===s&&125===u)&&a--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:a+2},url:t.substring(r,a+1)}}},{key:"computeLinks",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hn(),r=mn(),i=[],a=1,o=t.getLineCount();a<=o;a++){for(var s=t.getLineContent(a),u=s.length,c=0,l=0,f=0,h=1,d=!1,m=!1,p=!1,g=!1;c<u;){var v=!1,y=s.charCodeAt(c);if(13===h){var b=void 0;switch(y){case 40:d=!0,b=0;break;case 41:b=d?0:1;break;case 91:p=!0,m=!0,b=0;break;case 93:p=!1,b=m?0:1;break;case 123:g=!0,b=0;break;case 125:b=g?0:1;break;case 39:b=34===f||96===f?0:1;break;case 34:b=39===f||96===f?0:1;break;case 96:b=39===f||34===f?0:1;break;case 42:b=42===f?1:0;break;case 124:b=124===f?1:0;break;case 32:b=p?0:1;break;default:b=r.get(y)}1===b&&(i.push(e._createLink(r,s,a,l,c)),v=!0)}else if(12===h){var C=void 0;91===y?(m=!0,C=0):C=r.get(y),1===C?v=!0:h=13}else 0===(h=n.nextState(h,y))&&(v=!0);v&&(h=1,d=!1,m=!1,g=!1,l=c+1,f=y),c++}13===h&&i.push(e._createLink(r,s,a,l,u))}return i}}]),e}();function gn(e){return e&&"function"===typeof e.getLineCount&&"function"===typeof e.getLineContent?pn.computeLinks(e):[]}var vn=function(){function e(){u(this,e),this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return l(e,[{key:"navigateValueSet",value:function(e,t,n,r,i){if(e&&t){var a=this.doNavigateValueSet(t,i);if(a)return{range:e,value:a}}if(n&&r){var o=this.doNavigateValueSet(r,i);if(o)return{range:n,value:o}}return null}},{key:"doNavigateValueSet",value:function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}},{key:"numberReplace",value:function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),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}},{key:"textReplace",value:function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}},{key:"valueSetsReplace",value:function(e,t,n){for(var r=null,i=0,a=e.length;null===r&&i<a;i++)r=this.valueSetReplace(e[i],t,n);return r}},{key:"valueSetReplace",value:function(e,t,n){var r=e.indexOf(t);return r>=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null}}]),e}();vn.INSTANCE=new vn;var yn,bn=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof wn||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ue.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:bn})}(yn||(yn={}));for(var Cn,wn=function(){function e(){u(this,e),this._isCancelled=!1,this._emitter=null}return l(e,[{key:"cancel",value:function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}},{key:"isCancellationRequested",get:function(){return this._isCancelled}},{key:"onCancellationRequested",get:function(){return this._isCancelled?bn:(this._emitter||(this._emitter=new pe),this._emitter.event)}},{key:"dispose",value:function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}]),e}(),_n=function(){function e(t){u(this,e),this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}return l(e,[{key:"token",get:function(){return this._token||(this._token=new wn),this._token}},{key:"cancel",value:function(){this._token?this._token instanceof wn&&this._token.cancel():this._token=yn.Cancelled}},{key:"dispose",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof wn&&this._token.dispose():this._token=yn.None}}]),e}(),kn=function(){function e(){u(this,e),this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return l(e,[{key:"define",value:function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}},{key:"keyCodeToStr",value:function(e){return this._keyCodeToStr[e]}},{key:"strToKeyCode",value:function(e){return this._strToKeyCode[e.toLowerCase()]||0}}]),e}(),Sn=new kn,An=new kn,En=new kn,xn=new Array(230),Nn={},Ln=[],Tn=Object.create(null),On=Object.create(null),Pn=[],In=[],Mn=0;Mn<=193;Mn++)Pn[Mn]=-1;for(var Rn=0;Rn<=127;Rn++)In[Rn]=-1;!function(){for(var e="",t=[],n=[],r=0,i=[[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]];r<i.length;r++){var a=L(i[r],10),o=(a[0],a[1]),s=a[2],u=a[3],c=a[4],l=a[5],f=a[6],h=a[7],d=a[8],m=a[9];if(n[s]||(n[s]=!0,Ln[s]=u,Tn[u]=s,On[u.toLowerCase()]=s,o&&(Pn[s]=c,0!==c&&3!==c&&5!==c&&4!==c&&6!==c&&57!==c&&(In[c]=s))),!t[c]){if(t[c]=!0,!l)throw new Error("String representation missing for key code ".concat(c," around scan code ").concat(u));Sn.define(c,l),An.define(c,d||l),En.define(c,m||d||l)}f&&(xn[f]=c),h&&(Nn[h]=c)}In[3]=46}(),function(e){e.toString=function(e){return Sn.keyCodeToStr(e)},e.fromString=function(e){return Sn.strToKeyCode(e)},e.toUserSettingsUS=function(e){return An.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return En.keyCodeToStr(e)},e.fromUserSettings=function(e){return An.strToKeyCode(e)||En.strToKeyCode(e)},e.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 Sn.keyCodeToStr(e)}}(Cn||(Cn={}));var Dn=function(e){m(n,e);var t=b(n);function n(e,r,i,a){var o;return u(this,n),(o=t.call(this,e,r,i,a)).selectionStartLineNumber=e,o.selectionStartColumn=r,o.positionLineNumber=i,o.positionColumn=a,o}return l(n,[{key:"toString",value:function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}},{key:"equalsSelection",value:function(e){return n.selectionsEqual(this,e)}},{key:"getDirection",value:function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}},{key:"setEndPosition",value:function(e,t){return 0===this.getDirection()?new n(this.startLineNumber,this.startColumn,e,t):new n(e,t,this.startLineNumber,this.startColumn)}},{key:"getPosition",value:function(){return new jt(this.positionLineNumber,this.positionColumn)}},{key:"getSelectionStart",value:function(){return new jt(this.selectionStartLineNumber,this.selectionStartColumn)}},{key:"setStartPosition",value:function(e,t){return 0===this.getDirection()?new n(e,t,this.endLineNumber,this.endColumn):new n(this.endLineNumber,this.endColumn,e,t)}}],[{key:"selectionsEqual",value:function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}},{key:"fromPositions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return new n(e.lineNumber,e.column,t.lineNumber,t.column)}},{key:"fromRange",value:function(e,t){return 0===t?new n(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new n(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}},{key:"liftSelection",value:function(e){return new n(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}},{key:"selectionsArrEqual",value:function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}},{key:"isISelection",value:function(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn}},{key:"createWithDirection",value:function(e,t,r,i,a){return 0===a?new n(e,t,r,i):new n(r,i,e,t)}}]),n}(Ut);function Vn(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function Fn(){return Fn="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=Vn(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Fn.apply(this,arguments)}var Kn=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(qs){a(qs)}}function s(e){try{u(r.throw(e))}catch(qs){a(qs)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},jn=function(){function e(){u(this,e),this._map=new Map,this._factories=new Map,this._onDidChange=new pe,this.onDidChange=this._onDidChange.event,this._colorMap=null}return l(e,[{key:"fire",value:function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}},{key:"register",value:function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),K((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))}},{key:"registerFactory",value:function(e,t){var n,r=this;null===(n=this._factories.get(e))||void 0===n||n.dispose();var i=new Un(this,e,t);return this._factories.set(e,i),K((function(){var t=r._factories.get(e);t&&t===i&&(r._factories.delete(e),t.dispose())}))}},{key:"getOrCreate",value:function(e){return Kn(this,void 0,void 0,h().mark((function t(){var n,r;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=this.get(e))){t.next=3;break}return t.abrupt("return",n);case 3:if((r=this._factories.get(e))&&!r.isResolved){t.next=6;break}return t.abrupt("return",null);case 6:return t.next=8,r.resolve();case 8:return t.abrupt("return",this.get(e));case 9:case"end":return t.stop()}}),t,this)})))}},{key:"get",value:function(e){return this._map.get(e)||null}},{key:"isResolved",value:function(e){if(this.get(e))return!0;var t=this._factories.get(e);return!(t&&!t.isResolved)}},{key:"setColorMap",value:function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}},{key:"getColorMap",value:function(){return this._colorMap}},{key:"getDefaultBackground",value:function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}]),e}(),Un=function(e){m(n,e);var t=b(n);function n(e,r,i){var a;return u(this,n),(a=t.call(this))._registry=e,a._languageId=r,a._factory=i,a._isDisposed=!1,a._resolvePromise=null,a._isResolved=!1,a}return l(n,[{key:"isResolved",get:function(){return this._isResolved}},{key:"dispose",value:function(){this._isDisposed=!0,Fn(p(n.prototype),"dispose",this).call(this)}},{key:"resolve",value:function(){return Kn(this,void 0,void 0,h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._resolvePromise||(this._resolvePromise=this._create()),e.abrupt("return",this._resolvePromise);case 2:case"end":return e.stop()}}),e,this)})))}},{key:"_create",value:function(){return Kn(this,void 0,void 0,h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve(this._factory.createTokenizationSupport());case 2:t=e.sent,this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t));case 5:case"end":return e.stop()}}),e,this)})))}}]),n}(U);var Bn,qn=function(){function e(t,n,r){u(this,e),this.id=t,this.definition=n,this.description=r,e._allCodicons.push(this)}return l(e,[{key:"classNames",get:function(){return"codicon codicon-"+this.id}},{key:"classNamesArray",get:function(){return["codicon","codicon-"+this.id]}},{key:"cssSelector",get:function(){return".codicon.codicon-"+this.id}}],[{key:"getAll",value:function(){return e._allCodicons}}]),e}();qn._allCodicons=[],qn.add=new qn("add",{fontCharacter:"\\ea60"}),qn.plus=new qn("plus",qn.add.definition),qn.gistNew=new qn("gist-new",qn.add.definition),qn.repoCreate=new qn("repo-create",qn.add.definition),qn.lightbulb=new qn("lightbulb",{fontCharacter:"\\ea61"}),qn.lightBulb=new qn("light-bulb",{fontCharacter:"\\ea61"}),qn.repo=new qn("repo",{fontCharacter:"\\ea62"}),qn.repoDelete=new qn("repo-delete",{fontCharacter:"\\ea62"}),qn.gistFork=new qn("gist-fork",{fontCharacter:"\\ea63"}),qn.repoForked=new qn("repo-forked",{fontCharacter:"\\ea63"}),qn.gitPullRequest=new qn("git-pull-request",{fontCharacter:"\\ea64"}),qn.gitPullRequestAbandoned=new qn("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),qn.recordKeys=new qn("record-keys",{fontCharacter:"\\ea65"}),qn.keyboard=new qn("keyboard",{fontCharacter:"\\ea65"}),qn.tag=new qn("tag",{fontCharacter:"\\ea66"}),qn.tagAdd=new qn("tag-add",{fontCharacter:"\\ea66"}),qn.tagRemove=new qn("tag-remove",{fontCharacter:"\\ea66"}),qn.person=new qn("person",{fontCharacter:"\\ea67"}),qn.personFollow=new qn("person-follow",{fontCharacter:"\\ea67"}),qn.personOutline=new qn("person-outline",{fontCharacter:"\\ea67"}),qn.personFilled=new qn("person-filled",{fontCharacter:"\\ea67"}),qn.gitBranch=new qn("git-branch",{fontCharacter:"\\ea68"}),qn.gitBranchCreate=new qn("git-branch-create",{fontCharacter:"\\ea68"}),qn.gitBranchDelete=new qn("git-branch-delete",{fontCharacter:"\\ea68"}),qn.sourceControl=new qn("source-control",{fontCharacter:"\\ea68"}),qn.mirror=new qn("mirror",{fontCharacter:"\\ea69"}),qn.mirrorPublic=new qn("mirror-public",{fontCharacter:"\\ea69"}),qn.star=new qn("star",{fontCharacter:"\\ea6a"}),qn.starAdd=new qn("star-add",{fontCharacter:"\\ea6a"}),qn.starDelete=new qn("star-delete",{fontCharacter:"\\ea6a"}),qn.starEmpty=new qn("star-empty",{fontCharacter:"\\ea6a"}),qn.comment=new qn("comment",{fontCharacter:"\\ea6b"}),qn.commentAdd=new qn("comment-add",{fontCharacter:"\\ea6b"}),qn.alert=new qn("alert",{fontCharacter:"\\ea6c"}),qn.warning=new qn("warning",{fontCharacter:"\\ea6c"}),qn.search=new qn("search",{fontCharacter:"\\ea6d"}),qn.searchSave=new qn("search-save",{fontCharacter:"\\ea6d"}),qn.logOut=new qn("log-out",{fontCharacter:"\\ea6e"}),qn.signOut=new qn("sign-out",{fontCharacter:"\\ea6e"}),qn.logIn=new qn("log-in",{fontCharacter:"\\ea6f"}),qn.signIn=new qn("sign-in",{fontCharacter:"\\ea6f"}),qn.eye=new qn("eye",{fontCharacter:"\\ea70"}),qn.eyeUnwatch=new qn("eye-unwatch",{fontCharacter:"\\ea70"}),qn.eyeWatch=new qn("eye-watch",{fontCharacter:"\\ea70"}),qn.circleFilled=new qn("circle-filled",{fontCharacter:"\\ea71"}),qn.primitiveDot=new qn("primitive-dot",{fontCharacter:"\\ea71"}),qn.closeDirty=new qn("close-dirty",{fontCharacter:"\\ea71"}),qn.debugBreakpoint=new qn("debug-breakpoint",{fontCharacter:"\\ea71"}),qn.debugBreakpointDisabled=new qn("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),qn.debugHint=new qn("debug-hint",{fontCharacter:"\\ea71"}),qn.primitiveSquare=new qn("primitive-square",{fontCharacter:"\\ea72"}),qn.edit=new qn("edit",{fontCharacter:"\\ea73"}),qn.pencil=new qn("pencil",{fontCharacter:"\\ea73"}),qn.info=new qn("info",{fontCharacter:"\\ea74"}),qn.issueOpened=new qn("issue-opened",{fontCharacter:"\\ea74"}),qn.gistPrivate=new qn("gist-private",{fontCharacter:"\\ea75"}),qn.gitForkPrivate=new qn("git-fork-private",{fontCharacter:"\\ea75"}),qn.lock=new qn("lock",{fontCharacter:"\\ea75"}),qn.mirrorPrivate=new qn("mirror-private",{fontCharacter:"\\ea75"}),qn.close=new qn("close",{fontCharacter:"\\ea76"}),qn.removeClose=new qn("remove-close",{fontCharacter:"\\ea76"}),qn.x=new qn("x",{fontCharacter:"\\ea76"}),qn.repoSync=new qn("repo-sync",{fontCharacter:"\\ea77"}),qn.sync=new qn("sync",{fontCharacter:"\\ea77"}),qn.clone=new qn("clone",{fontCharacter:"\\ea78"}),qn.desktopDownload=new qn("desktop-download",{fontCharacter:"\\ea78"}),qn.beaker=new qn("beaker",{fontCharacter:"\\ea79"}),qn.microscope=new qn("microscope",{fontCharacter:"\\ea79"}),qn.vm=new qn("vm",{fontCharacter:"\\ea7a"}),qn.deviceDesktop=new qn("device-desktop",{fontCharacter:"\\ea7a"}),qn.file=new qn("file",{fontCharacter:"\\ea7b"}),qn.fileText=new qn("file-text",{fontCharacter:"\\ea7b"}),qn.more=new qn("more",{fontCharacter:"\\ea7c"}),qn.ellipsis=new qn("ellipsis",{fontCharacter:"\\ea7c"}),qn.kebabHorizontal=new qn("kebab-horizontal",{fontCharacter:"\\ea7c"}),qn.mailReply=new qn("mail-reply",{fontCharacter:"\\ea7d"}),qn.reply=new qn("reply",{fontCharacter:"\\ea7d"}),qn.organization=new qn("organization",{fontCharacter:"\\ea7e"}),qn.organizationFilled=new qn("organization-filled",{fontCharacter:"\\ea7e"}),qn.organizationOutline=new qn("organization-outline",{fontCharacter:"\\ea7e"}),qn.newFile=new qn("new-file",{fontCharacter:"\\ea7f"}),qn.fileAdd=new qn("file-add",{fontCharacter:"\\ea7f"}),qn.newFolder=new qn("new-folder",{fontCharacter:"\\ea80"}),qn.fileDirectoryCreate=new qn("file-directory-create",{fontCharacter:"\\ea80"}),qn.trash=new qn("trash",{fontCharacter:"\\ea81"}),qn.trashcan=new qn("trashcan",{fontCharacter:"\\ea81"}),qn.history=new qn("history",{fontCharacter:"\\ea82"}),qn.clock=new qn("clock",{fontCharacter:"\\ea82"}),qn.folder=new qn("folder",{fontCharacter:"\\ea83"}),qn.fileDirectory=new qn("file-directory",{fontCharacter:"\\ea83"}),qn.symbolFolder=new qn("symbol-folder",{fontCharacter:"\\ea83"}),qn.logoGithub=new qn("logo-github",{fontCharacter:"\\ea84"}),qn.markGithub=new qn("mark-github",{fontCharacter:"\\ea84"}),qn.github=new qn("github",{fontCharacter:"\\ea84"}),qn.terminal=new qn("terminal",{fontCharacter:"\\ea85"}),qn.console=new qn("console",{fontCharacter:"\\ea85"}),qn.repl=new qn("repl",{fontCharacter:"\\ea85"}),qn.zap=new qn("zap",{fontCharacter:"\\ea86"}),qn.symbolEvent=new qn("symbol-event",{fontCharacter:"\\ea86"}),qn.error=new qn("error",{fontCharacter:"\\ea87"}),qn.stop=new qn("stop",{fontCharacter:"\\ea87"}),qn.variable=new qn("variable",{fontCharacter:"\\ea88"}),qn.symbolVariable=new qn("symbol-variable",{fontCharacter:"\\ea88"}),qn.array=new qn("array",{fontCharacter:"\\ea8a"}),qn.symbolArray=new qn("symbol-array",{fontCharacter:"\\ea8a"}),qn.symbolModule=new qn("symbol-module",{fontCharacter:"\\ea8b"}),qn.symbolPackage=new qn("symbol-package",{fontCharacter:"\\ea8b"}),qn.symbolNamespace=new qn("symbol-namespace",{fontCharacter:"\\ea8b"}),qn.symbolObject=new qn("symbol-object",{fontCharacter:"\\ea8b"}),qn.symbolMethod=new qn("symbol-method",{fontCharacter:"\\ea8c"}),qn.symbolFunction=new qn("symbol-function",{fontCharacter:"\\ea8c"}),qn.symbolConstructor=new qn("symbol-constructor",{fontCharacter:"\\ea8c"}),qn.symbolBoolean=new qn("symbol-boolean",{fontCharacter:"\\ea8f"}),qn.symbolNull=new qn("symbol-null",{fontCharacter:"\\ea8f"}),qn.symbolNumeric=new qn("symbol-numeric",{fontCharacter:"\\ea90"}),qn.symbolNumber=new qn("symbol-number",{fontCharacter:"\\ea90"}),qn.symbolStructure=new qn("symbol-structure",{fontCharacter:"\\ea91"}),qn.symbolStruct=new qn("symbol-struct",{fontCharacter:"\\ea91"}),qn.symbolParameter=new qn("symbol-parameter",{fontCharacter:"\\ea92"}),qn.symbolTypeParameter=new qn("symbol-type-parameter",{fontCharacter:"\\ea92"}),qn.symbolKey=new qn("symbol-key",{fontCharacter:"\\ea93"}),qn.symbolText=new qn("symbol-text",{fontCharacter:"\\ea93"}),qn.symbolReference=new qn("symbol-reference",{fontCharacter:"\\ea94"}),qn.goToFile=new qn("go-to-file",{fontCharacter:"\\ea94"}),qn.symbolEnum=new qn("symbol-enum",{fontCharacter:"\\ea95"}),qn.symbolValue=new qn("symbol-value",{fontCharacter:"\\ea95"}),qn.symbolRuler=new qn("symbol-ruler",{fontCharacter:"\\ea96"}),qn.symbolUnit=new qn("symbol-unit",{fontCharacter:"\\ea96"}),qn.activateBreakpoints=new qn("activate-breakpoints",{fontCharacter:"\\ea97"}),qn.archive=new qn("archive",{fontCharacter:"\\ea98"}),qn.arrowBoth=new qn("arrow-both",{fontCharacter:"\\ea99"}),qn.arrowDown=new qn("arrow-down",{fontCharacter:"\\ea9a"}),qn.arrowLeft=new qn("arrow-left",{fontCharacter:"\\ea9b"}),qn.arrowRight=new qn("arrow-right",{fontCharacter:"\\ea9c"}),qn.arrowSmallDown=new qn("arrow-small-down",{fontCharacter:"\\ea9d"}),qn.arrowSmallLeft=new qn("arrow-small-left",{fontCharacter:"\\ea9e"}),qn.arrowSmallRight=new qn("arrow-small-right",{fontCharacter:"\\ea9f"}),qn.arrowSmallUp=new qn("arrow-small-up",{fontCharacter:"\\eaa0"}),qn.arrowUp=new qn("arrow-up",{fontCharacter:"\\eaa1"}),qn.bell=new qn("bell",{fontCharacter:"\\eaa2"}),qn.bold=new qn("bold",{fontCharacter:"\\eaa3"}),qn.book=new qn("book",{fontCharacter:"\\eaa4"}),qn.bookmark=new qn("bookmark",{fontCharacter:"\\eaa5"}),qn.debugBreakpointConditionalUnverified=new qn("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),qn.debugBreakpointConditional=new qn("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),qn.debugBreakpointConditionalDisabled=new qn("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),qn.debugBreakpointDataUnverified=new qn("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),qn.debugBreakpointData=new qn("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),qn.debugBreakpointDataDisabled=new qn("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),qn.debugBreakpointLogUnverified=new qn("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),qn.debugBreakpointLog=new qn("debug-breakpoint-log",{fontCharacter:"\\eaab"}),qn.debugBreakpointLogDisabled=new qn("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),qn.briefcase=new qn("briefcase",{fontCharacter:"\\eaac"}),qn.broadcast=new qn("broadcast",{fontCharacter:"\\eaad"}),qn.browser=new qn("browser",{fontCharacter:"\\eaae"}),qn.bug=new qn("bug",{fontCharacter:"\\eaaf"}),qn.calendar=new qn("calendar",{fontCharacter:"\\eab0"}),qn.caseSensitive=new qn("case-sensitive",{fontCharacter:"\\eab1"}),qn.check=new qn("check",{fontCharacter:"\\eab2"}),qn.checklist=new qn("checklist",{fontCharacter:"\\eab3"}),qn.chevronDown=new qn("chevron-down",{fontCharacter:"\\eab4"}),qn.dropDownButton=new qn("drop-down-button",qn.chevronDown.definition),qn.chevronLeft=new qn("chevron-left",{fontCharacter:"\\eab5"}),qn.chevronRight=new qn("chevron-right",{fontCharacter:"\\eab6"}),qn.chevronUp=new qn("chevron-up",{fontCharacter:"\\eab7"}),qn.chromeClose=new qn("chrome-close",{fontCharacter:"\\eab8"}),qn.chromeMaximize=new qn("chrome-maximize",{fontCharacter:"\\eab9"}),qn.chromeMinimize=new qn("chrome-minimize",{fontCharacter:"\\eaba"}),qn.chromeRestore=new qn("chrome-restore",{fontCharacter:"\\eabb"}),qn.circleOutline=new qn("circle-outline",{fontCharacter:"\\eabc"}),qn.debugBreakpointUnverified=new qn("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),qn.circleSlash=new qn("circle-slash",{fontCharacter:"\\eabd"}),qn.circuitBoard=new qn("circuit-board",{fontCharacter:"\\eabe"}),qn.clearAll=new qn("clear-all",{fontCharacter:"\\eabf"}),qn.clippy=new qn("clippy",{fontCharacter:"\\eac0"}),qn.closeAll=new qn("close-all",{fontCharacter:"\\eac1"}),qn.cloudDownload=new qn("cloud-download",{fontCharacter:"\\eac2"}),qn.cloudUpload=new qn("cloud-upload",{fontCharacter:"\\eac3"}),qn.code=new qn("code",{fontCharacter:"\\eac4"}),qn.collapseAll=new qn("collapse-all",{fontCharacter:"\\eac5"}),qn.colorMode=new qn("color-mode",{fontCharacter:"\\eac6"}),qn.commentDiscussion=new qn("comment-discussion",{fontCharacter:"\\eac7"}),qn.compareChanges=new qn("compare-changes",{fontCharacter:"\\eafd"}),qn.creditCard=new qn("credit-card",{fontCharacter:"\\eac9"}),qn.dash=new qn("dash",{fontCharacter:"\\eacc"}),qn.dashboard=new qn("dashboard",{fontCharacter:"\\eacd"}),qn.database=new qn("database",{fontCharacter:"\\eace"}),qn.debugContinue=new qn("debug-continue",{fontCharacter:"\\eacf"}),qn.debugDisconnect=new qn("debug-disconnect",{fontCharacter:"\\ead0"}),qn.debugPause=new qn("debug-pause",{fontCharacter:"\\ead1"}),qn.debugRestart=new qn("debug-restart",{fontCharacter:"\\ead2"}),qn.debugStart=new qn("debug-start",{fontCharacter:"\\ead3"}),qn.debugStepInto=new qn("debug-step-into",{fontCharacter:"\\ead4"}),qn.debugStepOut=new qn("debug-step-out",{fontCharacter:"\\ead5"}),qn.debugStepOver=new qn("debug-step-over",{fontCharacter:"\\ead6"}),qn.debugStop=new qn("debug-stop",{fontCharacter:"\\ead7"}),qn.debug=new qn("debug",{fontCharacter:"\\ead8"}),qn.deviceCameraVideo=new qn("device-camera-video",{fontCharacter:"\\ead9"}),qn.deviceCamera=new qn("device-camera",{fontCharacter:"\\eada"}),qn.deviceMobile=new qn("device-mobile",{fontCharacter:"\\eadb"}),qn.diffAdded=new qn("diff-added",{fontCharacter:"\\eadc"}),qn.diffIgnored=new qn("diff-ignored",{fontCharacter:"\\eadd"}),qn.diffModified=new qn("diff-modified",{fontCharacter:"\\eade"}),qn.diffRemoved=new qn("diff-removed",{fontCharacter:"\\eadf"}),qn.diffRenamed=new qn("diff-renamed",{fontCharacter:"\\eae0"}),qn.diff=new qn("diff",{fontCharacter:"\\eae1"}),qn.discard=new qn("discard",{fontCharacter:"\\eae2"}),qn.editorLayout=new qn("editor-layout",{fontCharacter:"\\eae3"}),qn.emptyWindow=new qn("empty-window",{fontCharacter:"\\eae4"}),qn.exclude=new qn("exclude",{fontCharacter:"\\eae5"}),qn.extensions=new qn("extensions",{fontCharacter:"\\eae6"}),qn.eyeClosed=new qn("eye-closed",{fontCharacter:"\\eae7"}),qn.fileBinary=new qn("file-binary",{fontCharacter:"\\eae8"}),qn.fileCode=new qn("file-code",{fontCharacter:"\\eae9"}),qn.fileMedia=new qn("file-media",{fontCharacter:"\\eaea"}),qn.filePdf=new qn("file-pdf",{fontCharacter:"\\eaeb"}),qn.fileSubmodule=new qn("file-submodule",{fontCharacter:"\\eaec"}),qn.fileSymlinkDirectory=new qn("file-symlink-directory",{fontCharacter:"\\eaed"}),qn.fileSymlinkFile=new qn("file-symlink-file",{fontCharacter:"\\eaee"}),qn.fileZip=new qn("file-zip",{fontCharacter:"\\eaef"}),qn.files=new qn("files",{fontCharacter:"\\eaf0"}),qn.filter=new qn("filter",{fontCharacter:"\\eaf1"}),qn.flame=new qn("flame",{fontCharacter:"\\eaf2"}),qn.foldDown=new qn("fold-down",{fontCharacter:"\\eaf3"}),qn.foldUp=new qn("fold-up",{fontCharacter:"\\eaf4"}),qn.fold=new qn("fold",{fontCharacter:"\\eaf5"}),qn.folderActive=new qn("folder-active",{fontCharacter:"\\eaf6"}),qn.folderOpened=new qn("folder-opened",{fontCharacter:"\\eaf7"}),qn.gear=new qn("gear",{fontCharacter:"\\eaf8"}),qn.gift=new qn("gift",{fontCharacter:"\\eaf9"}),qn.gistSecret=new qn("gist-secret",{fontCharacter:"\\eafa"}),qn.gist=new qn("gist",{fontCharacter:"\\eafb"}),qn.gitCommit=new qn("git-commit",{fontCharacter:"\\eafc"}),qn.gitCompare=new qn("git-compare",{fontCharacter:"\\eafd"}),qn.gitMerge=new qn("git-merge",{fontCharacter:"\\eafe"}),qn.githubAction=new qn("github-action",{fontCharacter:"\\eaff"}),qn.githubAlt=new qn("github-alt",{fontCharacter:"\\eb00"}),qn.globe=new qn("globe",{fontCharacter:"\\eb01"}),qn.grabber=new qn("grabber",{fontCharacter:"\\eb02"}),qn.graph=new qn("graph",{fontCharacter:"\\eb03"}),qn.gripper=new qn("gripper",{fontCharacter:"\\eb04"}),qn.heart=new qn("heart",{fontCharacter:"\\eb05"}),qn.home=new qn("home",{fontCharacter:"\\eb06"}),qn.horizontalRule=new qn("horizontal-rule",{fontCharacter:"\\eb07"}),qn.hubot=new qn("hubot",{fontCharacter:"\\eb08"}),qn.inbox=new qn("inbox",{fontCharacter:"\\eb09"}),qn.issueClosed=new qn("issue-closed",{fontCharacter:"\\eba4"}),qn.issueReopened=new qn("issue-reopened",{fontCharacter:"\\eb0b"}),qn.issues=new qn("issues",{fontCharacter:"\\eb0c"}),qn.italic=new qn("italic",{fontCharacter:"\\eb0d"}),qn.jersey=new qn("jersey",{fontCharacter:"\\eb0e"}),qn.json=new qn("json",{fontCharacter:"\\eb0f"}),qn.kebabVertical=new qn("kebab-vertical",{fontCharacter:"\\eb10"}),qn.key=new qn("key",{fontCharacter:"\\eb11"}),qn.law=new qn("law",{fontCharacter:"\\eb12"}),qn.lightbulbAutofix=new qn("lightbulb-autofix",{fontCharacter:"\\eb13"}),qn.linkExternal=new qn("link-external",{fontCharacter:"\\eb14"}),qn.link=new qn("link",{fontCharacter:"\\eb15"}),qn.listOrdered=new qn("list-ordered",{fontCharacter:"\\eb16"}),qn.listUnordered=new qn("list-unordered",{fontCharacter:"\\eb17"}),qn.liveShare=new qn("live-share",{fontCharacter:"\\eb18"}),qn.loading=new qn("loading",{fontCharacter:"\\eb19"}),qn.location=new qn("location",{fontCharacter:"\\eb1a"}),qn.mailRead=new qn("mail-read",{fontCharacter:"\\eb1b"}),qn.mail=new qn("mail",{fontCharacter:"\\eb1c"}),qn.markdown=new qn("markdown",{fontCharacter:"\\eb1d"}),qn.megaphone=new qn("megaphone",{fontCharacter:"\\eb1e"}),qn.mention=new qn("mention",{fontCharacter:"\\eb1f"}),qn.milestone=new qn("milestone",{fontCharacter:"\\eb20"}),qn.mortarBoard=new qn("mortar-board",{fontCharacter:"\\eb21"}),qn.move=new qn("move",{fontCharacter:"\\eb22"}),qn.multipleWindows=new qn("multiple-windows",{fontCharacter:"\\eb23"}),qn.mute=new qn("mute",{fontCharacter:"\\eb24"}),qn.noNewline=new qn("no-newline",{fontCharacter:"\\eb25"}),qn.note=new qn("note",{fontCharacter:"\\eb26"}),qn.octoface=new qn("octoface",{fontCharacter:"\\eb27"}),qn.openPreview=new qn("open-preview",{fontCharacter:"\\eb28"}),qn.package_=new qn("package",{fontCharacter:"\\eb29"}),qn.paintcan=new qn("paintcan",{fontCharacter:"\\eb2a"}),qn.pin=new qn("pin",{fontCharacter:"\\eb2b"}),qn.play=new qn("play",{fontCharacter:"\\eb2c"}),qn.run=new qn("run",{fontCharacter:"\\eb2c"}),qn.plug=new qn("plug",{fontCharacter:"\\eb2d"}),qn.preserveCase=new qn("preserve-case",{fontCharacter:"\\eb2e"}),qn.preview=new qn("preview",{fontCharacter:"\\eb2f"}),qn.project=new qn("project",{fontCharacter:"\\eb30"}),qn.pulse=new qn("pulse",{fontCharacter:"\\eb31"}),qn.question=new qn("question",{fontCharacter:"\\eb32"}),qn.quote=new qn("quote",{fontCharacter:"\\eb33"}),qn.radioTower=new qn("radio-tower",{fontCharacter:"\\eb34"}),qn.reactions=new qn("reactions",{fontCharacter:"\\eb35"}),qn.references=new qn("references",{fontCharacter:"\\eb36"}),qn.refresh=new qn("refresh",{fontCharacter:"\\eb37"}),qn.regex=new qn("regex",{fontCharacter:"\\eb38"}),qn.remoteExplorer=new qn("remote-explorer",{fontCharacter:"\\eb39"}),qn.remote=new qn("remote",{fontCharacter:"\\eb3a"}),qn.remove=new qn("remove",{fontCharacter:"\\eb3b"}),qn.replaceAll=new qn("replace-all",{fontCharacter:"\\eb3c"}),qn.replace=new qn("replace",{fontCharacter:"\\eb3d"}),qn.repoClone=new qn("repo-clone",{fontCharacter:"\\eb3e"}),qn.repoForcePush=new qn("repo-force-push",{fontCharacter:"\\eb3f"}),qn.repoPull=new qn("repo-pull",{fontCharacter:"\\eb40"}),qn.repoPush=new qn("repo-push",{fontCharacter:"\\eb41"}),qn.report=new qn("report",{fontCharacter:"\\eb42"}),qn.requestChanges=new qn("request-changes",{fontCharacter:"\\eb43"}),qn.rocket=new qn("rocket",{fontCharacter:"\\eb44"}),qn.rootFolderOpened=new qn("root-folder-opened",{fontCharacter:"\\eb45"}),qn.rootFolder=new qn("root-folder",{fontCharacter:"\\eb46"}),qn.rss=new qn("rss",{fontCharacter:"\\eb47"}),qn.ruby=new qn("ruby",{fontCharacter:"\\eb48"}),qn.saveAll=new qn("save-all",{fontCharacter:"\\eb49"}),qn.saveAs=new qn("save-as",{fontCharacter:"\\eb4a"}),qn.save=new qn("save",{fontCharacter:"\\eb4b"}),qn.screenFull=new qn("screen-full",{fontCharacter:"\\eb4c"}),qn.screenNormal=new qn("screen-normal",{fontCharacter:"\\eb4d"}),qn.searchStop=new qn("search-stop",{fontCharacter:"\\eb4e"}),qn.server=new qn("server",{fontCharacter:"\\eb50"}),qn.settingsGear=new qn("settings-gear",{fontCharacter:"\\eb51"}),qn.settings=new qn("settings",{fontCharacter:"\\eb52"}),qn.shield=new qn("shield",{fontCharacter:"\\eb53"}),qn.smiley=new qn("smiley",{fontCharacter:"\\eb54"}),qn.sortPrecedence=new qn("sort-precedence",{fontCharacter:"\\eb55"}),qn.splitHorizontal=new qn("split-horizontal",{fontCharacter:"\\eb56"}),qn.splitVertical=new qn("split-vertical",{fontCharacter:"\\eb57"}),qn.squirrel=new qn("squirrel",{fontCharacter:"\\eb58"}),qn.starFull=new qn("star-full",{fontCharacter:"\\eb59"}),qn.starHalf=new qn("star-half",{fontCharacter:"\\eb5a"}),qn.symbolClass=new qn("symbol-class",{fontCharacter:"\\eb5b"}),qn.symbolColor=new qn("symbol-color",{fontCharacter:"\\eb5c"}),qn.symbolCustomColor=new qn("symbol-customcolor",{fontCharacter:"\\eb5c"}),qn.symbolConstant=new qn("symbol-constant",{fontCharacter:"\\eb5d"}),qn.symbolEnumMember=new qn("symbol-enum-member",{fontCharacter:"\\eb5e"}),qn.symbolField=new qn("symbol-field",{fontCharacter:"\\eb5f"}),qn.symbolFile=new qn("symbol-file",{fontCharacter:"\\eb60"}),qn.symbolInterface=new qn("symbol-interface",{fontCharacter:"\\eb61"}),qn.symbolKeyword=new qn("symbol-keyword",{fontCharacter:"\\eb62"}),qn.symbolMisc=new qn("symbol-misc",{fontCharacter:"\\eb63"}),qn.symbolOperator=new qn("symbol-operator",{fontCharacter:"\\eb64"}),qn.symbolProperty=new qn("symbol-property",{fontCharacter:"\\eb65"}),qn.wrench=new qn("wrench",{fontCharacter:"\\eb65"}),qn.wrenchSubaction=new qn("wrench-subaction",{fontCharacter:"\\eb65"}),qn.symbolSnippet=new qn("symbol-snippet",{fontCharacter:"\\eb66"}),qn.tasklist=new qn("tasklist",{fontCharacter:"\\eb67"}),qn.telescope=new qn("telescope",{fontCharacter:"\\eb68"}),qn.textSize=new qn("text-size",{fontCharacter:"\\eb69"}),qn.threeBars=new qn("three-bars",{fontCharacter:"\\eb6a"}),qn.thumbsdown=new qn("thumbsdown",{fontCharacter:"\\eb6b"}),qn.thumbsup=new qn("thumbsup",{fontCharacter:"\\eb6c"}),qn.tools=new qn("tools",{fontCharacter:"\\eb6d"}),qn.triangleDown=new qn("triangle-down",{fontCharacter:"\\eb6e"}),qn.triangleLeft=new qn("triangle-left",{fontCharacter:"\\eb6f"}),qn.triangleRight=new qn("triangle-right",{fontCharacter:"\\eb70"}),qn.triangleUp=new qn("triangle-up",{fontCharacter:"\\eb71"}),qn.twitter=new qn("twitter",{fontCharacter:"\\eb72"}),qn.unfold=new qn("unfold",{fontCharacter:"\\eb73"}),qn.unlock=new qn("unlock",{fontCharacter:"\\eb74"}),qn.unmute=new qn("unmute",{fontCharacter:"\\eb75"}),qn.unverified=new qn("unverified",{fontCharacter:"\\eb76"}),qn.verified=new qn("verified",{fontCharacter:"\\eb77"}),qn.versions=new qn("versions",{fontCharacter:"\\eb78"}),qn.vmActive=new qn("vm-active",{fontCharacter:"\\eb79"}),qn.vmOutline=new qn("vm-outline",{fontCharacter:"\\eb7a"}),qn.vmRunning=new qn("vm-running",{fontCharacter:"\\eb7b"}),qn.watch=new qn("watch",{fontCharacter:"\\eb7c"}),qn.whitespace=new qn("whitespace",{fontCharacter:"\\eb7d"}),qn.wholeWord=new qn("whole-word",{fontCharacter:"\\eb7e"}),qn.window=new qn("window",{fontCharacter:"\\eb7f"}),qn.wordWrap=new qn("word-wrap",{fontCharacter:"\\eb80"}),qn.zoomIn=new qn("zoom-in",{fontCharacter:"\\eb81"}),qn.zoomOut=new qn("zoom-out",{fontCharacter:"\\eb82"}),qn.listFilter=new qn("list-filter",{fontCharacter:"\\eb83"}),qn.listFlat=new qn("list-flat",{fontCharacter:"\\eb84"}),qn.listSelection=new qn("list-selection",{fontCharacter:"\\eb85"}),qn.selection=new qn("selection",{fontCharacter:"\\eb85"}),qn.listTree=new qn("list-tree",{fontCharacter:"\\eb86"}),qn.debugBreakpointFunctionUnverified=new qn("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),qn.debugBreakpointFunction=new qn("debug-breakpoint-function",{fontCharacter:"\\eb88"}),qn.debugBreakpointFunctionDisabled=new qn("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),qn.debugStackframeActive=new qn("debug-stackframe-active",{fontCharacter:"\\eb89"}),qn.debugStackframeDot=new qn("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),qn.debugStackframe=new qn("debug-stackframe",{fontCharacter:"\\eb8b"}),qn.debugStackframeFocused=new qn("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),qn.debugBreakpointUnsupported=new qn("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),qn.symbolString=new qn("symbol-string",{fontCharacter:"\\eb8d"}),qn.debugReverseContinue=new qn("debug-reverse-continue",{fontCharacter:"\\eb8e"}),qn.debugStepBack=new qn("debug-step-back",{fontCharacter:"\\eb8f"}),qn.debugRestartFrame=new qn("debug-restart-frame",{fontCharacter:"\\eb90"}),qn.callIncoming=new qn("call-incoming",{fontCharacter:"\\eb92"}),qn.callOutgoing=new qn("call-outgoing",{fontCharacter:"\\eb93"}),qn.menu=new qn("menu",{fontCharacter:"\\eb94"}),qn.expandAll=new qn("expand-all",{fontCharacter:"\\eb95"}),qn.feedback=new qn("feedback",{fontCharacter:"\\eb96"}),qn.groupByRefType=new qn("group-by-ref-type",{fontCharacter:"\\eb97"}),qn.ungroupByRefType=new qn("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),qn.account=new qn("account",{fontCharacter:"\\eb99"}),qn.bellDot=new qn("bell-dot",{fontCharacter:"\\eb9a"}),qn.debugConsole=new qn("debug-console",{fontCharacter:"\\eb9b"}),qn.library=new qn("library",{fontCharacter:"\\eb9c"}),qn.output=new qn("output",{fontCharacter:"\\eb9d"}),qn.runAll=new qn("run-all",{fontCharacter:"\\eb9e"}),qn.syncIgnored=new qn("sync-ignored",{fontCharacter:"\\eb9f"}),qn.pinned=new qn("pinned",{fontCharacter:"\\eba0"}),qn.githubInverted=new qn("github-inverted",{fontCharacter:"\\eba1"}),qn.debugAlt=new qn("debug-alt",{fontCharacter:"\\eb91"}),qn.serverProcess=new qn("server-process",{fontCharacter:"\\eba2"}),qn.serverEnvironment=new qn("server-environment",{fontCharacter:"\\eba3"}),qn.pass=new qn("pass",{fontCharacter:"\\eba4"}),qn.stopCircle=new qn("stop-circle",{fontCharacter:"\\eba5"}),qn.playCircle=new qn("play-circle",{fontCharacter:"\\eba6"}),qn.record=new qn("record",{fontCharacter:"\\eba7"}),qn.debugAltSmall=new qn("debug-alt-small",{fontCharacter:"\\eba8"}),qn.vmConnect=new qn("vm-connect",{fontCharacter:"\\eba9"}),qn.cloud=new qn("cloud",{fontCharacter:"\\ebaa"}),qn.merge=new qn("merge",{fontCharacter:"\\ebab"}),qn.exportIcon=new qn("export",{fontCharacter:"\\ebac"}),qn.graphLeft=new qn("graph-left",{fontCharacter:"\\ebad"}),qn.magnet=new qn("magnet",{fontCharacter:"\\ebae"}),qn.notebook=new qn("notebook",{fontCharacter:"\\ebaf"}),qn.redo=new qn("redo",{fontCharacter:"\\ebb0"}),qn.checkAll=new qn("check-all",{fontCharacter:"\\ebb1"}),qn.pinnedDirty=new qn("pinned-dirty",{fontCharacter:"\\ebb2"}),qn.passFilled=new qn("pass-filled",{fontCharacter:"\\ebb3"}),qn.circleLargeFilled=new qn("circle-large-filled",{fontCharacter:"\\ebb4"}),qn.circleLargeOutline=new qn("circle-large-outline",{fontCharacter:"\\ebb5"}),qn.combine=new qn("combine",{fontCharacter:"\\ebb6"}),qn.gather=new qn("gather",{fontCharacter:"\\ebb6"}),qn.table=new qn("table",{fontCharacter:"\\ebb7"}),qn.variableGroup=new qn("variable-group",{fontCharacter:"\\ebb8"}),qn.typeHierarchy=new qn("type-hierarchy",{fontCharacter:"\\ebb9"}),qn.typeHierarchySub=new qn("type-hierarchy-sub",{fontCharacter:"\\ebba"}),qn.typeHierarchySuper=new qn("type-hierarchy-super",{fontCharacter:"\\ebbb"}),qn.gitPullRequestCreate=new qn("git-pull-request-create",{fontCharacter:"\\ebbc"}),qn.runAbove=new qn("run-above",{fontCharacter:"\\ebbd"}),qn.runBelow=new qn("run-below",{fontCharacter:"\\ebbe"}),qn.notebookTemplate=new qn("notebook-template",{fontCharacter:"\\ebbf"}),qn.debugRerun=new qn("debug-rerun",{fontCharacter:"\\ebc0"}),qn.workspaceTrusted=new qn("workspace-trusted",{fontCharacter:"\\ebc1"}),qn.workspaceUntrusted=new qn("workspace-untrusted",{fontCharacter:"\\ebc2"}),qn.workspaceUnspecified=new qn("workspace-unspecified",{fontCharacter:"\\ebc3"}),qn.terminalCmd=new qn("terminal-cmd",{fontCharacter:"\\ebc4"}),qn.terminalDebian=new qn("terminal-debian",{fontCharacter:"\\ebc5"}),qn.terminalLinux=new qn("terminal-linux",{fontCharacter:"\\ebc6"}),qn.terminalPowershell=new qn("terminal-powershell",{fontCharacter:"\\ebc7"}),qn.terminalTmux=new qn("terminal-tmux",{fontCharacter:"\\ebc8"}),qn.terminalUbuntu=new qn("terminal-ubuntu",{fontCharacter:"\\ebc9"}),qn.terminalBash=new qn("terminal-bash",{fontCharacter:"\\ebca"}),qn.arrowSwap=new qn("arrow-swap",{fontCharacter:"\\ebcb"}),qn.copy=new qn("copy",{fontCharacter:"\\ebcc"}),qn.personAdd=new qn("person-add",{fontCharacter:"\\ebcd"}),qn.filterFilled=new qn("filter-filled",{fontCharacter:"\\ebce"}),qn.wand=new qn("wand",{fontCharacter:"\\ebcf"}),qn.debugLineByLine=new qn("debug-line-by-line",{fontCharacter:"\\ebd0"}),qn.inspect=new qn("inspect",{fontCharacter:"\\ebd1"}),qn.layers=new qn("layers",{fontCharacter:"\\ebd2"}),qn.layersDot=new qn("layers-dot",{fontCharacter:"\\ebd3"}),qn.layersActive=new qn("layers-active",{fontCharacter:"\\ebd4"}),qn.compass=new qn("compass",{fontCharacter:"\\ebd5"}),qn.compassDot=new qn("compass-dot",{fontCharacter:"\\ebd6"}),qn.compassActive=new qn("compass-active",{fontCharacter:"\\ebd7"}),qn.azure=new qn("azure",{fontCharacter:"\\ebd8"}),qn.issueDraft=new qn("issue-draft",{fontCharacter:"\\ebd9"}),qn.gitPullRequestClosed=new qn("git-pull-request-closed",{fontCharacter:"\\ebda"}),qn.gitPullRequestDraft=new qn("git-pull-request-draft",{fontCharacter:"\\ebdb"}),qn.debugAll=new qn("debug-all",{fontCharacter:"\\ebdc"}),qn.debugCoverage=new qn("debug-coverage",{fontCharacter:"\\ebdd"}),qn.runErrors=new qn("run-errors",{fontCharacter:"\\ebde"}),qn.folderLibrary=new qn("folder-library",{fontCharacter:"\\ebdf"}),qn.debugContinueSmall=new qn("debug-continue-small",{fontCharacter:"\\ebe0"}),qn.beakerStop=new qn("beaker-stop",{fontCharacter:"\\ebe1"}),qn.graphLine=new qn("graph-line",{fontCharacter:"\\ebe2"}),qn.graphScatter=new qn("graph-scatter",{fontCharacter:"\\ebe3"}),qn.pieChart=new qn("pie-chart",{fontCharacter:"\\ebe4"}),qn.bracket=new qn("bracket",qn.json.definition),qn.bracketDot=new qn("bracket-dot",{fontCharacter:"\\ebe5"}),qn.bracketError=new qn("bracket-error",{fontCharacter:"\\ebe6"}),qn.lockSmall=new qn("lock-small",{fontCharacter:"\\ebe7"}),qn.azureDevops=new qn("azure-devops",{fontCharacter:"\\ebe8"}),qn.verifiedFilled=new qn("verified-filled",{fontCharacter:"\\ebe9"}),qn.newLine=new qn("newline",{fontCharacter:"\\ebea"}),qn.layout=new qn("layout",{fontCharacter:"\\ebeb"}),qn.layoutActivitybarLeft=new qn("layout-activitybar-left",{fontCharacter:"\\ebec"}),qn.layoutActivitybarRight=new qn("layout-activitybar-right",{fontCharacter:"\\ebed"}),qn.layoutPanelLeft=new qn("layout-panel-left",{fontCharacter:"\\ebee"}),qn.layoutPanelCenter=new qn("layout-panel-center",{fontCharacter:"\\ebef"}),qn.layoutPanelJustify=new qn("layout-panel-justify",{fontCharacter:"\\ebf0"}),qn.layoutPanelRight=new qn("layout-panel-right",{fontCharacter:"\\ebf1"}),qn.layoutPanel=new qn("layout-panel",{fontCharacter:"\\ebf2"}),qn.layoutSidebarLeft=new qn("layout-sidebar-left",{fontCharacter:"\\ebf3"}),qn.layoutSidebarRight=new qn("layout-sidebar-right",{fontCharacter:"\\ebf4"}),qn.layoutStatusbar=new qn("layout-statusbar",{fontCharacter:"\\ebf5"}),qn.layoutMenubar=new qn("layout-menubar",{fontCharacter:"\\ebf6"}),qn.layoutCentered=new qn("layout-centered",{fontCharacter:"\\ebf7"}),qn.target=new qn("target",{fontCharacter:"\\ebf8"}),qn.indent=new qn("indent",{fontCharacter:"\\ebf9"}),qn.recordSmall=new qn("record-small",{fontCharacter:"\\ebfa"}),qn.errorSmall=new qn("error-small",{fontCharacter:"\\ebfb"}),qn.arrowCircleDown=new qn("arrow-circle-down",{fontCharacter:"\\ebfc"}),qn.arrowCircleLeft=new qn("arrow-circle-left",{fontCharacter:"\\ebfd"}),qn.arrowCircleRight=new qn("arrow-circle-right",{fontCharacter:"\\ebfe"}),qn.arrowCircleUp=new qn("arrow-circle-up",{fontCharacter:"\\ebff"}),qn.dialogError=new qn("dialog-error",qn.error.definition),qn.dialogWarning=new qn("dialog-warning",qn.warning.definition),qn.dialogInfo=new qn("dialog-info",qn.info.definition),qn.dialogClose=new qn("dialog-close",qn.close.definition),qn.treeItemExpanded=new qn("tree-item-expanded",qn.chevronDown.definition),qn.treeFilterOnTypeOn=new qn("tree-filter-on-type-on",qn.listFilter.definition),qn.treeFilterOnTypeOff=new qn("tree-filter-on-type-off",qn.listSelection.definition),qn.treeFilterClear=new qn("tree-filter-clear",qn.close.definition),qn.treeItemLoading=new qn("tree-item-loading",qn.loading.definition),qn.menuSelection=new qn("menu-selection",qn.check.definition),qn.menuSubmenu=new qn("menu-submenu",qn.chevronRight.definition),qn.menuBarMore=new qn("menubar-more",qn.more.definition),qn.scrollbarButtonLeft=new qn("scrollbar-button-left",qn.triangleLeft.definition),qn.scrollbarButtonRight=new qn("scrollbar-button-right",qn.triangleRight.definition),qn.scrollbarButtonUp=new qn("scrollbar-button-up",qn.triangleUp.definition),qn.scrollbarButtonDown=new qn("scrollbar-button-down",qn.triangleDown.definition),qn.toolBarMore=new qn("toolbar-more",qn.more.definition),qn.quickInputBack=new qn("quick-input-back",qn.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~-]";var t=new RegExp("^(".concat(e.iconNameExpression,")(").concat(e.iconModifierExpression,")?$"));function n(e){if(e instanceof qn)return["codicon","codicon-"+e.id];var r=t.exec(e.id);if(!r)return n(qn.error);var i=L(r,3),a=i[1],o=i[2],s=["codicon","codicon-"+a];return o&&s.push("codicon-modifier-"+o.substr(1)),s}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(Bn||(Bn={}));var Wn,Hn,$n,zn,Gn,Jn=function(){function e(t,n,r){u(this,e),this._tokenBrand=void 0,this.offset=t,this.type=n,this.language=r}return l(e,[{key:"toString",value:function(){return"("+this.offset+", "+this.type+")"}}]),e}();!function(e){var t=new Map;t.set(0,qn.symbolMethod),t.set(1,qn.symbolFunction),t.set(2,qn.symbolConstructor),t.set(3,qn.symbolField),t.set(4,qn.symbolVariable),t.set(5,qn.symbolClass),t.set(6,qn.symbolStruct),t.set(7,qn.symbolInterface),t.set(8,qn.symbolModule),t.set(9,qn.symbolProperty),t.set(10,qn.symbolEvent),t.set(11,qn.symbolOperator),t.set(12,qn.symbolUnit),t.set(13,qn.symbolValue),t.set(15,qn.symbolEnum),t.set(14,qn.symbolConstant),t.set(15,qn.symbolEnum),t.set(16,qn.symbolEnumMember),t.set(17,qn.symbolKeyword),t.set(27,qn.symbolSnippet),t.set(18,qn.symbolText),t.set(19,qn.symbolColor),t.set(20,qn.symbolFile),t.set(21,qn.symbolReference),t.set(22,qn.symbolCustomColor),t.set(23,qn.symbolFolder),t.set(24,qn.symbolTypeParameter),t.set(25,qn.account),t.set(26,qn.issues),e.toIcon=function(e){var n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=qn.symbolProperty),n};var 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){var r=n.get(e);return"undefined"!==typeof r||t||(r=9),r}}(Wn||(Wn={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Hn||(Hn={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}($n||($n={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(zn||(zn={})),function(e){var t=new Map;t.set(0,qn.symbolFile),t.set(1,qn.symbolModule),t.set(2,qn.symbolNamespace),t.set(3,qn.symbolPackage),t.set(4,qn.symbolClass),t.set(5,qn.symbolMethod),t.set(6,qn.symbolProperty),t.set(7,qn.symbolField),t.set(8,qn.symbolConstructor),t.set(9,qn.symbolEnum),t.set(10,qn.symbolInterface),t.set(11,qn.symbolFunction),t.set(12,qn.symbolVariable),t.set(13,qn.symbolConstant),t.set(14,qn.symbolString),t.set(15,qn.symbolNumber),t.set(16,qn.symbolBoolean),t.set(17,qn.symbolArray),t.set(18,qn.symbolObject),t.set(19,qn.symbolKey),t.set(20,qn.symbolNull),t.set(21,qn.symbolEnumMember),t.set(22,qn.symbolStruct),t.set(23,qn.symbolEvent),t.set(24,qn.symbolOperator),t.set(25,qn.symbolTypeParameter),e.toIcon=function(e){var n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=qn.symbolProperty),n}}(Gn||(Gn={}));var Yn,Xn,Zn=l((function e(t){u(this,e),this.value=t}));Zn.Comment=new Zn("comment"),Zn.Imports=new Zn("imports"),Zn.Region=new Zn("region"),function(e){e.is=function(e){return!(!e||"object"!==typeof e)&&("string"===typeof e.id&&"string"===typeof e.title)}}(Yn||(Yn={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Xn||(Xn={}));var Qn,er,tr,nr,rr,ir,ar,or,sr,ur,cr,lr,fr,hr,dr,mr,pr,gr,vr,yr,br,Cr,wr,_r,kr,Sr,Ar,Er,xr,Nr,Lr,Tr,Or,Pr,Ir,Mr,Rr;new jn;!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(Qn||(Qn={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(er||(er={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(tr||(tr={})),function(e){e[e.Deprecated=1]="Deprecated"}(nr||(nr={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(rr||(rr={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(ir||(ir={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(ar||(ar={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(or||(or={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(sr||(sr={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(ur||(ur={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingDelete=6]="autoClosingDelete",e[e.autoClosingOvertype=7]="autoClosingOvertype",e[e.autoClosingQuotes=8]="autoClosingQuotes",e[e.autoIndent=9]="autoIndent",e[e.automaticLayout=10]="automaticLayout",e[e.autoSurround=11]="autoSurround",e[e.bracketPairColorization=12]="bracketPairColorization",e[e.guides=13]="guides",e[e.codeLens=14]="codeLens",e[e.codeLensFontFamily=15]="codeLensFontFamily",e[e.codeLensFontSize=16]="codeLensFontSize",e[e.colorDecorators=17]="colorDecorators",e[e.columnSelection=18]="columnSelection",e[e.comments=19]="comments",e[e.contextmenu=20]="contextmenu",e[e.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",e[e.cursorBlinking=22]="cursorBlinking",e[e.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",e[e.cursorStyle=24]="cursorStyle",e[e.cursorSurroundingLines=25]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",e[e.cursorWidth=27]="cursorWidth",e[e.disableLayerHinting=28]="disableLayerHinting",e[e.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",e[e.domReadOnly=30]="domReadOnly",e[e.dragAndDrop=31]="dragAndDrop",e[e.emptySelectionClipboard=32]="emptySelectionClipboard",e[e.extraEditorClassName=33]="extraEditorClassName",e[e.fastScrollSensitivity=34]="fastScrollSensitivity",e[e.find=35]="find",e[e.fixedOverflowWidgets=36]="fixedOverflowWidgets",e[e.folding=37]="folding",e[e.foldingStrategy=38]="foldingStrategy",e[e.foldingHighlight=39]="foldingHighlight",e[e.foldingImportsByDefault=40]="foldingImportsByDefault",e[e.foldingMaximumRegions=41]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=42]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=43]="fontFamily",e[e.fontInfo=44]="fontInfo",e[e.fontLigatures=45]="fontLigatures",e[e.fontSize=46]="fontSize",e[e.fontWeight=47]="fontWeight",e[e.formatOnPaste=48]="formatOnPaste",e[e.formatOnType=49]="formatOnType",e[e.glyphMargin=50]="glyphMargin",e[e.gotoLocation=51]="gotoLocation",e[e.hideCursorInOverviewRuler=52]="hideCursorInOverviewRuler",e[e.hover=53]="hover",e[e.inDiffEditor=54]="inDiffEditor",e[e.inlineSuggest=55]="inlineSuggest",e[e.letterSpacing=56]="letterSpacing",e[e.lightbulb=57]="lightbulb",e[e.lineDecorationsWidth=58]="lineDecorationsWidth",e[e.lineHeight=59]="lineHeight",e[e.lineNumbers=60]="lineNumbers",e[e.lineNumbersMinChars=61]="lineNumbersMinChars",e[e.linkedEditing=62]="linkedEditing",e[e.links=63]="links",e[e.matchBrackets=64]="matchBrackets",e[e.minimap=65]="minimap",e[e.mouseStyle=66]="mouseStyle",e[e.mouseWheelScrollSensitivity=67]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=68]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=69]="multiCursorMergeOverlapping",e[e.multiCursorModifier=70]="multiCursorModifier",e[e.multiCursorPaste=71]="multiCursorPaste",e[e.occurrencesHighlight=72]="occurrencesHighlight",e[e.overviewRulerBorder=73]="overviewRulerBorder",e[e.overviewRulerLanes=74]="overviewRulerLanes",e[e.padding=75]="padding",e[e.parameterHints=76]="parameterHints",e[e.peekWidgetDefaultFocus=77]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=78]="definitionLinkOpensInPeek",e[e.quickSuggestions=79]="quickSuggestions",e[e.quickSuggestionsDelay=80]="quickSuggestionsDelay",e[e.readOnly=81]="readOnly",e[e.renameOnType=82]="renameOnType",e[e.renderControlCharacters=83]="renderControlCharacters",e[e.renderFinalNewline=84]="renderFinalNewline",e[e.renderLineHighlight=85]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=87]="renderValidationDecorations",e[e.renderWhitespace=88]="renderWhitespace",e[e.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",e[e.roundedSelection=90]="roundedSelection",e[e.rulers=91]="rulers",e[e.scrollbar=92]="scrollbar",e[e.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=94]="scrollBeyondLastLine",e[e.scrollPredominantAxis=95]="scrollPredominantAxis",e[e.selectionClipboard=96]="selectionClipboard",e[e.selectionHighlight=97]="selectionHighlight",e[e.selectOnLineNumbers=98]="selectOnLineNumbers",e[e.showFoldingControls=99]="showFoldingControls",e[e.showUnused=100]="showUnused",e[e.snippetSuggestions=101]="snippetSuggestions",e[e.smartSelect=102]="smartSelect",e[e.smoothScrolling=103]="smoothScrolling",e[e.stickyTabStops=104]="stickyTabStops",e[e.stopRenderingLineAfter=105]="stopRenderingLineAfter",e[e.suggest=106]="suggest",e[e.suggestFontSize=107]="suggestFontSize",e[e.suggestLineHeight=108]="suggestLineHeight",e[e.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",e[e.suggestSelection=110]="suggestSelection",e[e.tabCompletion=111]="tabCompletion",e[e.tabIndex=112]="tabIndex",e[e.unicodeHighlighting=113]="unicodeHighlighting",e[e.unusualLineTerminators=114]="unusualLineTerminators",e[e.useShadowDOM=115]="useShadowDOM",e[e.useTabStops=116]="useTabStops",e[e.wordSeparators=117]="wordSeparators",e[e.wordWrap=118]="wordWrap",e[e.wordWrapBreakAfterCharacters=119]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=120]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=121]="wordWrapColumn",e[e.wordWrapOverride1=122]="wordWrapOverride1",e[e.wordWrapOverride2=123]="wordWrapOverride2",e[e.wrappingIndent=124]="wrappingIndent",e[e.wrappingStrategy=125]="wrappingStrategy",e[e.showDeprecated=126]="showDeprecated",e[e.inlayHints=127]="inlayHints",e[e.editorClassName=128]="editorClassName",e[e.pixelRatio=129]="pixelRatio",e[e.tabFocusMode=130]="tabFocusMode",e[e.layoutInfo=131]="layoutInfo",e[e.wrappingInfo=132]="wrappingInfo"}(cr||(cr={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(lr||(lr={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(fr||(fr={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(hr||(hr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(dr||(dr={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(mr||(mr={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(pr||(pr={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE"}(gr||(gr={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(vr||(vr={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(yr||(yr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(br||(br={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Cr||(Cr={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(wr||(wr={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(_r||(_r={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None"}(kr||(kr={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(Sr||(Sr={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(Ar||(Ar={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(Er||(Er={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(xr||(xr={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(Nr||(Nr={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(Lr||(Lr={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(Tr||(Tr={})),function(e){e[e.Deprecated=1]="Deprecated"}(Or||(Or={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(Pr||(Pr={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(Ir||(Ir={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(Mr||(Mr={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(Rr||(Rr={}));var Dr=function(){function e(){u(this,e)}return l(e,null,[{key:"chord",value:function(e,t){return function(e,t){return(e|(65535&t)<<16>>>0)>>>0}(e,t)}}]),e}();Dr.CtrlCmd=2048,Dr.Shift=1024,Dr.Alt=512,Dr.WinCtrl=256;var Vr=function(e){m(n,e);var t=b(n);function n(e){var r;u(this,n),r=t.call(this,0);for(var i=0,a=e.length;i<a;i++)r.set(e.charCodeAt(i),2);return r.set(32,1),r.set(9,1),r}return l(n)}(un);!function(e){var t={}}((function(e){return new Vr(e)}));var Fr,Kr,jr;Object.prototype.hasOwnProperty;!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(Fr||(Fr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Kr||(Kr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(jr||(jr={}));function Ur(e,t,n,r,i){return function(e,t,n,r,i){if(0===r)return!0;var a=t.charCodeAt(r-1);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){var o=t.charCodeAt(r);if(0!==e.get(o))return!0}return!1}(e,t,0,r,i)&&function(e,t,n,r,i){if(r+i===n)return!0;var a=t.charCodeAt(r+i);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){var o=t.charCodeAt(r+i-1);if(0!==e.get(o))return!0}return!1}(e,t,n,r,i)}var Br=function(){function e(t,n){u(this,e),this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return l(e,[{key:"reset",value:function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}},{key:"next",value:function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(!(t=this._searchRegex.exec(e)))return null;var r=t.index,i=t[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){Ee(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||Ur(this._wordSeparators,e,n,r,i))return t}while(t);return null}}]),e}(),qr=function(){function e(){u(this,e)}return l(e,null,[{key:"computeUnicodeHighlights",value:function(e,t,n){var r,i=n?n.startLineNumber:1,a=n?n.endLineNumber:e.getLineCount(),o=new Wr(t),s=o.getCandidateCodePoints();r="allNonBasicAscii"===s?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp("".concat(function(e,t){var n="[".concat(we(e.map((function(e){return String.fromCodePoint(e)})).join("")),"]");return n}(Array.from(s))),"g");var u,c=new Br(null,r),l=[],f=!1,h=0,d=0,m=0;e:for(var p=i,g=a;p<=g;p++){var v=e.getLineContent(p),y=v.length;c.reset(0);do{if(u=c.next(v)){var b=u.index,C=u.index+u[0].length;if(b>0)ke(v.charCodeAt(b-1))&&b--;if(C+1<y)ke(v.charCodeAt(C-1))&&C++;var w=v.substring(b,C),_=on(b+1,rn,v,0),k=o.shouldHighlightNonBasicASCII(w,_?_.word:null);if(0!==k){3===k?h++:2===k?d++:1===k?m++:ve(k);if(l.length>=1e3){f=!0;break e}l.push(new Ut(p,b+1,p,C+1))}}}while(u)}return{ranges:l,hasMore:f,ambiguousCharacterCount:h,invisibleCharacterCount:d,nonBasicAsciiCharacterCount:m}}},{key:"computeUnicodeHighlightReason",value:function(e,t){var n=new Wr(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:var r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),a=Le.getLocales().filter((function(e){return!Le.getInstance(new Set([].concat(o(t.allowedLocales),[e]))).isAmbiguous(r)}));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:a};case 1:return{kind:2}}}}]),e}();var Wr=function(){function e(t){u(this,e),this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=Le.getInstance(new Set(t.allowedLocales))}return l(e,[{key:"getCandidateCodePoints",value:function(){if(this.options.nonBasicASCII)return"allNonBasicAscii";var e=new Set;if(this.options.invisibleCharacters){var t,n=s(Te.codePoints);try{for(n.s();!(t=n.n()).done;){var r=t.value;Hr(String.fromCodePoint(r))||e.add(r)}}catch(f){n.e(f)}finally{n.f()}}if(this.options.ambiguousCharacters){var i,a=s(this.ambiguousCharacters.getConfusableCodePoints());try{for(a.s();!(i=a.n()).done;){var o=i.value;e.add(o)}}catch(f){a.e(f)}finally{a.f()}}var u,c=s(this.allowedCodePoints);try{for(c.s();!(u=c.n()).done;){var l=u.value;e.delete(l)}}catch(f){c.e(f)}finally{c.f()}return e}},{key:"shouldHighlightNonBasicASCII",value:function(e,t){var n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;var r,i=!1,a=!1;if(t){var o,u=s(t);try{for(u.s();!(o=u.n()).done;){var c=o.value,l=c.codePointAt(0),f=(r=c,xe.test(r));i=i||f,f||this.ambiguousCharacters.isAmbiguous(l)||Te.isInvisibleCharacter(l)||(a=!0)}}catch(h){u.e(h)}finally{u.f()}}return!i&&a?0:this.options.invisibleCharacters&&!Hr(e)&&Te.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}]),e}();function Hr(e){return" "===e||"\n"===e||"\t"===e}var $r=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(qs){a(qs)}}function s(e){try{u(r.throw(e))}catch(qs){a(qs)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}u((r=r.apply(e,t||[])).next())}))},zr=function(e){m(n,e);var t=b(n);function n(){return u(this,n),t.apply(this,arguments)}return l(n,[{key:"uri",get:function(){return this._uri}},{key:"eol",get:function(){return this._eol}},{key:"getValue",value:function(){return this.getText()}},{key:"getLinesContent",value:function(){return this._lines.slice(0)}},{key:"getLineCount",value:function(){return this._lines.length}},{key:"getLineContent",value:function(e){return this._lines[e-1]}},{key:"getWordAtPosition",value:function(e,t){var n=on(e.column,function(e){var t=rn;if(e&&e instanceof RegExp)if(e.global)t=e;else{var 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 Ut(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}},{key:"words",value:function(e){var t=this._lines,n=this._wordenize.bind(this),i=0,a="",o=0,s=[];return r({},Symbol.iterator,h().mark((function r(){var u;return h().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(o<s.length)){r.next=8;break}return u=a.substring(s[o].start,s[o].end),o+=1,r.next=6,u;case 6:r.next=16;break;case 8:if(!(i<t.length)){r.next=15;break}a=t[i],s=n(a,e),o=0,i+=1,r.next=16;break;case 15:return r.abrupt("break",18);case 16:r.next=0;break;case 18:case"end":return r.stop()}}),r)})))}},{key:"getLineWords",value:function(e,t){var n,r=this._lines[e-1],i=[],a=s(this._wordenize(r,t));try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push({word:r.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1})}}catch(u){a.e(u)}finally{a.f()}return i}},{key:"_wordenize",value:function(e,t){var n,r=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)r.push({start:n.index,end:n.index+n[0].length});return r}},{key:"getValueInRange",value:function(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(var a=n+1;a<r;a++)i.push(this._lines[a]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)}},{key:"offsetAt",value:function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}},{key:"positionAt",value:function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}},{key:"_validateRange",value:function(e){var 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}},{key:"_validatePosition",value:function(e){if(!jt.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,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{var i=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>i&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e}}]),n}(tn),Gr=function(){function e(t,n){u(this,e),this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return l(e,[{key:"dispose",value:function(){this._models=Object.create(null)}},{key:"_getModel",value:function(e){return this._models[e]}},{key:"_getModels",value:function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t}},{key:"acceptNewModel",value:function(e){this._models[e.url]=new zr(Lt.parse(e.url),e.lines,e.EOL,e.versionId)}},{key:"acceptModelChanged",value:function(e,t){this._models[e]&&this._models[e].onEvents(t)}},{key:"acceptRemovedModel",value:function(e){this._models[e]&&delete this._models[e]}},{key:"computeUnicodeHighlights",value:function(e,t,n){return $r(this,void 0,void 0,h().mark((function r(){var i;return h().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=this._getModel(e)){r.next=3;break}return r.abrupt("return",{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0});case 3:return r.abrupt("return",qr.computeUnicodeHighlights(i,t,n));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"computeDiff",value:function(e,t,n,r){return $r(this,void 0,void 0,h().mark((function i(){var a,o,s,u,c,l,f;return h().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a=this._getModel(e),o=this._getModel(t),a&&o){i.next=4;break}return i.abrupt("return",null);case 4:return s=a.getLinesContent(),u=o.getLinesContent(),c=new zt(s,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}),l=c.computeDiff(),f=!(l.changes.length>0)&&this._modelsAreIdentical(a,o),i.abrupt("return",{quitEarly:l.quitEarly,identical:f,changes:l.changes});case 10:case"end":return i.stop()}}),i,this)})))}},{key:"_modelsAreIdentical",value:function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}},{key:"computeMoreMinimalEdits",value:function(t,n){return $r(this,void 0,void 0,h().mark((function r(){var i,a,o,u,c,l,f,d,m,p,g,v,y,b,C,w,_,k;return h().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=this._getModel(t)){r.next=3;break}return r.abrupt("return",n);case 3:a=[],o=void 0,n=n.slice(0).sort((function(e,t){return e.range&&t.range?Ut.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),u=s(n),r.prev=7,u.s();case 9:if((c=u.n()).done){r.next=27;break}if(l=c.value,f=l.range,d=l.text,"number"===typeof(m=l.eol)&&(o=m),!Ut.isEmpty(f)||d){r.next=14;break}return r.abrupt("continue",25);case 14:if(p=i.getValueInRange(f),d=d.replace(/\r\n|\n|\r/g,i.eol),p!==d){r.next=18;break}return r.abrupt("continue",25);case 18:if(!(Math.max(d.length,p.length)>e._diffLimit)){r.next=21;break}return a.push({range:f,text:d}),r.abrupt("continue",25);case 21:g=Xe(p,d,!1),v=i.offsetAt(Ut.lift(f).getStartPosition()),y=s(g);try{for(y.s();!(b=y.n()).done;)C=b.value,w=i.positionAt(v+C.originalStart),_=i.positionAt(v+C.originalStart+C.originalLength),k={text:d.substr(C.modifiedStart,C.modifiedLength),range:{startLineNumber:w.lineNumber,startColumn:w.column,endLineNumber:_.lineNumber,endColumn:_.column}},i.getValueInRange(k.range)!==k.text&&a.push(k)}catch(h){y.e(h)}finally{y.f()}case 25:r.next=9;break;case 27:r.next=32;break;case 29:r.prev=29,r.t0=r.catch(7),u.e(r.t0);case 32:return r.prev=32,u.f(),r.finish(32);case 35:return"number"===typeof o&&a.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),r.abrupt("return",a);case 37:case"end":return r.stop()}}),r,this,[[7,29,32,35]])})))}},{key:"computeLinks",value:function(e){return $r(this,void 0,void 0,h().mark((function t(){var n;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this._getModel(e)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",gn(n));case 4:case"end":return t.stop()}}),t,this)})))}},{key:"textualSuggest",value:function(t,n,r,i){return $r(this,void 0,void 0,h().mark((function a(){var o,u,c,l,f,d,m,p,g,v;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:o=new fe(!0),u=new RegExp(r,i),c=new Set,l=s(t),a.prev=4,l.s();case 6:if((f=l.n()).done){a.next=33;break}if(d=f.value,m=this._getModel(d)){a.next=11;break}return a.abrupt("continue",31);case 11:p=s(m.words(u)),a.prev=12,p.s();case 14:if((g=p.n()).done){a.next=23;break}if((v=g.value)!==n&&isNaN(Number(v))){a.next=18;break}return a.abrupt("continue",21);case 18:if(c.add(v),!(c.size>e._suggestionsLimit)){a.next=21;break}return a.abrupt("break",33);case 21:a.next=14;break;case 23:a.next=28;break;case 25:a.prev=25,a.t0=a.catch(12),p.e(a.t0);case 28:return a.prev=28,p.f(),a.finish(28);case 31:a.next=6;break;case 33:a.next=38;break;case 35:a.prev=35,a.t1=a.catch(4),l.e(a.t1);case 38:return a.prev=38,l.f(),a.finish(38);case 41:return a.abrupt("return",{words:Array.from(c),duration:o.elapsed()});case 42:case"end":return a.stop()}}),a,this,[[4,35,38,41],[12,25,28,31]])})))}},{key:"computeWordRanges",value:function(e,t,n,r){return $r(this,void 0,void 0,h().mark((function i(){var a,o,u,c,l,f,d,m,p;return h().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(a=this._getModel(e)){i.next=3;break}return i.abrupt("return",Object.create(null));case 3:o=new RegExp(n,r),u=Object.create(null),c=t.startLineNumber;case 6:if(!(c<t.endLineNumber)){i.next=31;break}l=a.getLineWords(c,o),f=s(l),i.prev=9,f.s();case 11:if((d=f.n()).done){i.next=20;break}if(m=d.value,isNaN(Number(m.word))){i.next=15;break}return i.abrupt("continue",18);case 15:(p=u[m.word])||(p=[],u[m.word]=p),p.push({startLineNumber:c,startColumn:m.startColumn,endLineNumber:c,endColumn:m.endColumn});case 18:i.next=11;break;case 20:i.next=25;break;case 22:i.prev=22,i.t0=i.catch(9),f.e(i.t0);case 25:return i.prev=25,f.f(),i.finish(25);case 28:c++,i.next=6;break;case 31:return i.abrupt("return",u);case 32:case"end":return i.stop()}}),i,this,[[9,22,25,28]])})))}},{key:"navigateValueSet",value:function(e,t,n,r,i){return $r(this,void 0,void 0,h().mark((function a(){var o,s,u,c,l,f;return h().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(o=this._getModel(e)){a.next=3;break}return a.abrupt("return",null);case 3:if(s=new RegExp(r,i),t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1}),u=o.getValueInRange(t),c=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s)){a.next=9;break}return a.abrupt("return",null);case 9:return l=o.getValueInRange(c),f=vn.INSTANCE.navigateValueSet(t,u,c,l,n),a.abrupt("return",f);case 12:case"end":return a.stop()}}),a,this)})))}},{key:"loadForeignModule",value:function(e,t,n){var r=this,i=function(e,t){var n,r=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},i={},a=s(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i[o]=r(o)}}catch(u){a.e(u)}finally{a.f()}return i}(n,(function(e,t){return r._host.fhr(e,t)})),a={host:i,getMirrorModels:function(){return r._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,t),Promise.resolve(ge(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}},{key:"fmr",value:function(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(qs){return Promise.reject(qs)}}}]),e}();Gr._diffLimit=1e5,Gr._suggestionsLimit=1e4,"function"===typeof importScripts&&(Z.monaco={editor:void 0,languages:void 0,CancellationTokenSource:_n,Emitter:pe,KeyCode:gr,KeyMod:Dr,Position:jt,Range:Ut,Selection:Dn,SelectionDirection:Nr,MarkerSeverity:vr,MarkerTag:yr,Uri:Lt,Token:Jn});var Jr,Yr=!1;function Xr(e){if(!Yr){Yr=!0;var t=new Ue((function(e){self.postMessage(e)}),(function(t){return new Gr(t,e)}));self.onmessage=function(e){t.onmessage(e.data)}}}function Zr(e,t){void 0===t&&(t=!1);var n=e.length,r=0,i="",a=0,o=16,s=0,u=0,c=0,l=0,f=0;function h(t,n){for(var i=0,a=0;i<t||!n;){var o=e.charCodeAt(r);if(o>=48&&o<=57)a=16*a+o-48;else if(o>=65&&o<=70)a=16*a+o-65+10;else{if(!(o>=97&&o<=102))break;a=16*a+o-97+10}r++,i++}return i<t&&(a=-1),a}function d(){if(i="",f=0,a=r,u=s,l=c,r>=n)return a=n,o=17;var t=e.charCodeAt(r);if(Qr(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Qr(t));return o=15}if(ei(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,c=r,o=14;switch(t){case 123:return r++,o=1;case 125:return r++,o=2;case 91:return r++,o=3;case 93:return r++,o=4;case 58:return r++,o=6;case 44:return r++,o=5;case 34:return r++,i=function(){for(var t="",i=r;;){if(r>=n){t+=e.substring(i,r),f=2;break}var a=e.charCodeAt(r);if(34===a){t+=e.substring(i,r),r++;break}if(92!==a){if(a>=0&&a<=31){if(ei(a)){t+=e.substring(i,r),f=2;break}f=6}r++}else{if(t+=e.substring(i,r),++r>=n){f=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 o=h(4,!0);o>=0?t+=String.fromCharCode(o):f=4;break;default:f=5}i=r}}return t}(),o=10;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!ei(e.charCodeAt(r));)r++;return i=e.substring(d,r),o=12}if(42===e.charCodeAt(r+1)){r+=2;for(var p=n-1,g=!1;r<p;){var v=e.charCodeAt(r);if(42===v&&47===e.charCodeAt(r+1)){r+=2,g=!0;break}r++,ei(v)&&(13===v&&10===e.charCodeAt(r)&&r++,s++,c=r)}return g||(r++,f=1),i=e.substring(d,r),o=13}return i+=String.fromCharCode(t),r++,o=16;case 45:if(i+=String.fromCharCode(t),++r===n||!ti(e.charCodeAt(r)))return o=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&&ti(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&ti(e.charCodeAt(r))))return f=3,e.substring(t,r);for(r++;r<e.length&&ti(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&&ti(e.charCodeAt(r))){for(r++;r<e.length&&ti(e.charCodeAt(r));)r++;n=r}else f=3;return e.substring(t,n)}(),o=11;default:for(;r<n&&m(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(i=e.substring(a,r)){case"true":return o=8;case"false":return o=9;case"null":return o=7}return o=16}return i+=String.fromCharCode(t),r++,o=16}}function m(e){if(Qr(e)||ei(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="",a=0,o=16,f=0},getPosition:function(){return r},scan:t?function(){var e;do{e=d()}while(e>=12&&e<=15);return e}:d,getToken:function(){return o},getTokenValue:function(){return i},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenStartLine:function(){return u},getTokenStartCharacter:function(){return a-l},getTokenError:function(){return f}}}function Qr(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 ei(e){return 10===e||13===e||8232===e||8233===e}function ti(e){return e>=48&&e<=57}function ni(e,t,n){var r,i,a,o,s;if(t){for(o=t.offset,s=o+t.length,a=o;a>0&&!ii(e,a-1);)a--;for(var u=s;u<e.length&&!ii(e,u);)u++;i=e.substring(a,u),r=function(e,t){var n=0,r=0,i=t.tabSize||4;for(;n<e.length;){var a=e.charAt(n);if(" "===a)r++;else{if("\t"!==a)break;r+=i}n++}return Math.floor(r/i)}(i,n)}else i=e,r=0,a=0,o=0,s=e.length;var c,l=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),f=!1,h=0;c=n.insertSpaces?ri(" ",n.tabSize||4):"\t";var d=Zr(i,!1),m=!1;function p(){return l+ri(c,r+h)}function g(){var e=d.scan();for(f=!1;15===e||14===e;)f=f||14===e,e=d.scan();return m=16===e||0!==d.getTokenError(),e}var v=[];function y(n,r,i){m||t&&!(r<s&&i>o)||e.substring(r,i)===n||v.push({offset:r,length:i-r,content:n})}var b=g();if(17!==b){var C=d.getTokenOffset()+a;y(ri(c,r),a,C)}for(;17!==b;){for(var w=d.getTokenOffset()+d.getTokenLength()+a,_=g(),k="",S=!1;!f&&(12===_||13===_);){y(" ",w,d.getTokenOffset()+a),w=d.getTokenOffset()+d.getTokenLength()+a,k=(S=12===_)?p():"",_=g()}if(2===_)1!==b&&(h--,k=p());else if(4===_)3!==b&&(h--,k=p());else{switch(b){case 3:case 1:h++,k=p();break;case 5:case 12:k=p();break;case 13:f?k=p():S||(k=" ");break;case 6:S||(k=" ");break;case 10:if(6===_){S||(k="");break}case 7:case 8:case 9:case 11:case 2:case 4:12===_||13===_?S||(k=" "):5!==_&&17!==_&&(m=!0);break;case 16:m=!0}!f||12!==_&&13!==_||(k=p())}17===_&&(k=n.insertFinalNewline?l:""),y(k,w,d.getTokenOffset()+a),b=_}return v}function ri(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function ii(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}self.onmessage=function(e){Yr||Xr(null)},(Jr||(Jr={})).DEFAULT={allowTrailingComma:!1};var ai,oi,si,ui,ci,li,fi,hi,di,mi,pi,gi,vi,yi,bi,Ci,wi,_i,ki,Si,Ai,Ei,xi,Ni,Li,Ti,Oi,Pi,Ii,Mi,Ri,Di,Vi,Fi,Ki,ji,Ui,Bi,qi,Wi,Hi,$i,zi,Gi,Ji,Yi,Xi,Zi,Qi,ea=Zr,ta=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=Jr.DEFAULT);var r=null,i=[],a=[];function o(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return function(e,t,n){void 0===n&&(n=Jr.DEFAULT);var r=Zr(e,!1);function i(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var o=i(t.onObjectBegin),s=a(t.onObjectProperty),u=i(t.onObjectEnd),c=i(t.onArrayBegin),l=i(t.onArrayEnd),f=a(t.onLiteralValue),h=a(t.onSeparator),d=i(t.onComment),m=a(t.onError),p=n&&n.disallowComments,g=n&&n.allowTrailingComma;function v(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:y(14);break;case 5:y(15);break;case 3:y(13);break;case 1:p||y(11);break;case 2:y(12);break;case 6:y(16)}switch(e){case 12:case 13:p?y(10):d();break;case 16:y(1);break;case 15:case 14:break;default:return e}}}function y(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)){v();break}if(-1!==n.indexOf(i))break;i=v()}}function b(e){var t=r.getTokenValue();return e?f(t):s(t),v(),!0}function C(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(y(2),t=0),f(t);break;case 7:f(null);break;case 8:f(!0);break;case 9:f(!1);break;default:return!1}return v(),!0}function w(){return 10!==r.getToken()?(y(3,[],[2,5]),!1):(b(!1),6===r.getToken()?(h(":"),v(),S()||y(4,[],[2,5])):y(5,[],[2,5]),!0)}function _(){o(),v();for(var e=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||y(4,[],[]),h(","),v(),2===r.getToken()&&g)break}else e&&y(6,[],[]);w()||y(4,[],[2,5]),e=!0}return u(),2!==r.getToken()?y(7,[2],[]):v(),!0}function k(){c(),v();for(var e=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(e||y(4,[],[]),h(","),v(),4===r.getToken()&&g)break}else e&&y(6,[],[]);S()||y(4,[],[4,5]),e=!0}return l(),4!==r.getToken()?y(8,[4],[]):v(),!0}function S(){switch(r.getToken()){case 3:return k();case 1:return _();case 10:return b(!0);default:return C()}}if(v(),17===r.getToken())return!!n.allowEmptyContent||(y(4,[],[]),!1);if(!S())return y(4,[],[]),!1;17!==r.getToken()&&y(9,[],[])}(e,{onObjectBegin:function(){var e={};o(e),a.push(i),i=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){i=a.pop()},onArrayBegin:function(){var e=[];o(e),a.push(i),i=e,r=null},onArrayEnd:function(){i=a.pop()},onLiteralValue:o,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),i[0]},na=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 a=0;a<i.length&&i[a].offset<=n;a++){var o=e(i[a],n,r);if(o)return o}return t}},ra=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},ia=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 a=i[r],o=a.children[1];o&&(n[a.children[0].value]=e(o))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function aa(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===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(!aa(e[n],t[n]))return!1}else{var i=[];for(r in e)i.push(r);i.sort();var a=[];for(r in t)a.push(r);if(a.sort(),!aa(i,a))return!1;for(n=0;n<i.length;n++)if(!aa(e[i[n]],t[i[n]]))return!1}return!0}function oa(e){return"number"===typeof e}function sa(e){return"undefined"!==typeof e}function ua(e){return"boolean"===typeof e}function ca(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function la(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(qs){try{return new RegExp(e,t)}catch(n){return}}}(oi=ai||(ai={})).MIN_VALUE=-2147483648,oi.MAX_VALUE=2147483647,(ui=si||(si={})).MIN_VALUE=0,ui.MAX_VALUE=2147483647,(li=ci||(ci={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=si.MAX_VALUE),t===Number.MAX_VALUE&&(t=si.MAX_VALUE),{line:e,character:t}},li.is=function(e){var t=e;return lo.objectLiteral(t)&&lo.uinteger(t.line)&&lo.uinteger(t.character)},(hi=fi||(fi={})).create=function(e,t,n,r){if(lo.uinteger(e)&&lo.uinteger(t)&&lo.uinteger(n)&&lo.uinteger(r))return{start:ci.create(e,t),end:ci.create(n,r)};if(ci.is(e)&&ci.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},hi.is=function(e){var t=e;return lo.objectLiteral(t)&&ci.is(t.start)&&ci.is(t.end)},(mi=di||(di={})).create=function(e,t){return{uri:e,range:t}},mi.is=function(e){var t=e;return lo.defined(t)&&fi.is(t.range)&&(lo.string(t.uri)||lo.undefined(t.uri))},(gi=pi||(pi={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},gi.is=function(e){var t=e;return lo.defined(t)&&fi.is(t.targetRange)&&lo.string(t.targetUri)&&(fi.is(t.targetSelectionRange)||lo.undefined(t.targetSelectionRange))&&(fi.is(t.originSelectionRange)||lo.undefined(t.originSelectionRange))},(yi=vi||(vi={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},yi.is=function(e){var t=e;return lo.numberRange(t.red,0,1)&&lo.numberRange(t.green,0,1)&&lo.numberRange(t.blue,0,1)&&lo.numberRange(t.alpha,0,1)},(Ci=bi||(bi={})).create=function(e,t){return{range:e,color:t}},Ci.is=function(e){var t=e;return fi.is(t.range)&&vi.is(t.color)},(_i=wi||(wi={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},_i.is=function(e){var t=e;return lo.string(t.label)&&(lo.undefined(t.textEdit)||Fi.is(t))&&(lo.undefined(t.additionalTextEdits)||lo.typedArray(t.additionalTextEdits,Fi.is))},(Si=ki||(ki={})).Comment="comment",Si.Imports="imports",Si.Region="region",(Ei=Ai||(Ai={})).create=function(e,t,n,r,i){var a={startLine:e,endLine:t};return lo.defined(n)&&(a.startCharacter=n),lo.defined(r)&&(a.endCharacter=r),lo.defined(i)&&(a.kind=i),a},Ei.is=function(e){var t=e;return lo.uinteger(t.startLine)&&lo.uinteger(t.startLine)&&(lo.undefined(t.startCharacter)||lo.uinteger(t.startCharacter))&&(lo.undefined(t.endCharacter)||lo.uinteger(t.endCharacter))&&(lo.undefined(t.kind)||lo.string(t.kind))},(Ni=xi||(xi={})).create=function(e,t){return{location:e,message:t}},Ni.is=function(e){var t=e;return lo.defined(t)&&di.is(t.location)&&lo.string(t.message)},(Ti=Li||(Li={})).Error=1,Ti.Warning=2,Ti.Information=3,Ti.Hint=4,(Pi=Oi||(Oi={})).Unnecessary=1,Pi.Deprecated=2,(Ii||(Ii={})).is=function(e){var t=e;return void 0!==t&&null!==t&&lo.string(t.href)},(Ri=Mi||(Mi={})).create=function(e,t,n,r,i,a){var o={range:e,message:t};return lo.defined(n)&&(o.severity=n),lo.defined(r)&&(o.code=r),lo.defined(i)&&(o.source=i),lo.defined(a)&&(o.relatedInformation=a),o},Ri.is=function(e){var t,n=e;return lo.defined(n)&&fi.is(n.range)&&lo.string(n.message)&&(lo.number(n.severity)||lo.undefined(n.severity))&&(lo.integer(n.code)||lo.string(n.code)||lo.undefined(n.code))&&(lo.undefined(n.codeDescription)||lo.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(lo.string(n.source)||lo.undefined(n.source))&&(lo.undefined(n.relatedInformation)||lo.typedArray(n.relatedInformation,xi.is))},(Vi=Di||(Di={})).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 lo.defined(n)&&n.length>0&&(i.arguments=n),i},Vi.is=function(e){var t=e;return lo.defined(t)&&lo.string(t.title)&&lo.string(t.command)},(Ki=Fi||(Fi={})).replace=function(e,t){return{range:e,newText:t}},Ki.insert=function(e,t){return{range:{start:e,end:e},newText:t}},Ki.del=function(e){return{range:e,newText:""}},Ki.is=function(e){var t=e;return lo.objectLiteral(t)&&lo.string(t.newText)&&fi.is(t.range)},(Ui=ji||(ji={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},Ui.is=function(e){var t=e;return void 0!==t&&lo.objectLiteral(t)&&lo.string(t.label)&&(lo.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(lo.string(t.description)||void 0===t.description)},(Bi||(Bi={})).is=function(e){return"string"===typeof e},(Wi=qi||(qi={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},Wi.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},Wi.del=function(e,t){return{range:e,newText:"",annotationId:t}},Wi.is=function(e){var t=e;return Fi.is(t)&&(ji.is(t.annotationId)||Bi.is(t.annotationId))},($i=Hi||(Hi={})).create=function(e,t){return{textDocument:e,edits:t}},$i.is=function(e){var t=e;return lo.defined(t)&&pa.is(t.textDocument)&&Array.isArray(t.edits)},(Gi=zi||(zi={})).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},Gi.is=function(e){var t=e;return t&&"create"===t.kind&&lo.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||lo.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||lo.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Bi.is(t.annotationId))},(Yi=Ji||(Ji={})).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},Yi.is=function(e){var t=e;return t&&"rename"===t.kind&&lo.string(t.oldUri)&&lo.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||lo.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||lo.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||Bi.is(t.annotationId))},(Zi=Xi||(Xi={})).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},Zi.is=function(e){var t=e;return t&&"delete"===t.kind&&lo.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||lo.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||lo.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||Bi.is(t.annotationId))},(Qi||(Qi={})).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 lo.string(e.kind)?zi.is(e)||Ji.is(e)||Xi.is(e):Hi.is(e)})))};var fa,ha,da,ma,pa,ga,va,ya,ba,Ca,wa,_a,ka,Sa,Aa,Ea,xa,Na,La,Ta,Oa,Pa,Ia,Ma,Ra,Da,Va,Fa,Ka,ja,Ua,Ba,qa,Wa,Ha,$a,za,Ga,Ja,Ya,Xa,Za,Qa,eo,to,no,ro,io,ao,oo,so,uo=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=Fi.insert(e,t):Bi.is(n)?(i=n,r=qi.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=qi.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=Fi.replace(e,t):Bi.is(n)?(i=n,r=qi.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=qi.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=Fi.del(e):Bi.is(t)?(r=t,n=qi.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=qi.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}(),co=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(Bi.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 co(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(Hi.is(e)){var n=new uo(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new uo(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(pa.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 uo(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 uo(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new co,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,a;if(ji.is(t)||Bi.is(t)?r=t:n=t,void 0===r?i=zi.create(e,n):(a=Bi.is(r)?r:this._changeAnnotations.manage(r),i=zi.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),void 0!==a)return a},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,a,o;if(ji.is(n)||Bi.is(n)?i=n:r=n,void 0===i?a=Ji.create(e,t,r):(o=Bi.is(i)?i:this._changeAnnotations.manage(i),a=Ji.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(a),void 0!==o)return o},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,a;if(ji.is(t)||Bi.is(t)?r=t:n=t,void 0===r?i=Xi.create(e,n):(a=Bi.is(r)?r:this._changeAnnotations.manage(r),i=Xi.create(e,n,a)),this._workspaceEdit.documentChanges.push(i),void 0!==a)return a}}();(ha=fa||(fa={})).create=function(e){return{uri:e}},ha.is=function(e){var t=e;return lo.defined(t)&&lo.string(t.uri)},(ma=da||(da={})).create=function(e,t){return{uri:e,version:t}},ma.is=function(e){var t=e;return lo.defined(t)&&lo.string(t.uri)&&lo.integer(t.version)},(ga=pa||(pa={})).create=function(e,t){return{uri:e,version:t}},ga.is=function(e){var t=e;return lo.defined(t)&&lo.string(t.uri)&&(null===t.version||lo.integer(t.version))},(ya=va||(va={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},ya.is=function(e){var t=e;return lo.defined(t)&&lo.string(t.uri)&&lo.string(t.languageId)&&lo.integer(t.version)&&lo.string(t.text)},(Ca=ba||(ba={})).PlainText="plaintext",Ca.Markdown="markdown",function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(ba||(ba={})),(wa||(wa={})).is=function(e){var t=e;return lo.objectLiteral(e)&&ba.is(t.kind)&&lo.string(t.value)},(ka=_a||(_a={})).Text=1,ka.Method=2,ka.Function=3,ka.Constructor=4,ka.Field=5,ka.Variable=6,ka.Class=7,ka.Interface=8,ka.Module=9,ka.Property=10,ka.Unit=11,ka.Value=12,ka.Enum=13,ka.Keyword=14,ka.Snippet=15,ka.Color=16,ka.File=17,ka.Reference=18,ka.Folder=19,ka.EnumMember=20,ka.Constant=21,ka.Struct=22,ka.Event=23,ka.Operator=24,ka.TypeParameter=25,(Aa=Sa||(Sa={})).PlainText=1,Aa.Snippet=2,(Ea||(Ea={})).Deprecated=1,(Na=xa||(xa={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},Na.is=function(e){var t=e;return t&&lo.string(t.newText)&&fi.is(t.insert)&&fi.is(t.replace)},(Ta=La||(La={})).asIs=1,Ta.adjustIndentation=2,(Oa||(Oa={})).create=function(e){return{label:e}},(Pa||(Pa={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(Ma=Ia||(Ia={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Ma.is=function(e){var t=e;return lo.string(t)||lo.objectLiteral(t)&&lo.string(t.language)&&lo.string(t.value)},(Ra||(Ra={})).is=function(e){var t=e;return!!t&&lo.objectLiteral(t)&&(wa.is(t.contents)||Ia.is(t.contents)||lo.typedArray(t.contents,Ia.is))&&(void 0===e.range||fi.is(e.range))},(Da||(Da={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(Va||(Va={})).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return lo.defined(t)&&(i.documentation=t),lo.defined(n)?i.parameters=n:i.parameters=[],i},(Ka=Fa||(Fa={})).Text=1,Ka.Read=2,Ka.Write=3,(ja||(ja={})).create=function(e,t){var n={range:e};return lo.number(t)&&(n.kind=t),n},(Ba=Ua||(Ua={})).File=1,Ba.Module=2,Ba.Namespace=3,Ba.Package=4,Ba.Class=5,Ba.Method=6,Ba.Property=7,Ba.Field=8,Ba.Constructor=9,Ba.Enum=10,Ba.Interface=11,Ba.Function=12,Ba.Variable=13,Ba.Constant=14,Ba.String=15,Ba.Number=16,Ba.Boolean=17,Ba.Array=18,Ba.Object=19,Ba.Key=20,Ba.Null=21,Ba.EnumMember=22,Ba.Struct=23,Ba.Event=24,Ba.Operator=25,Ba.TypeParameter=26,(qa||(qa={})).Deprecated=1,(Wa||(Wa={})).create=function(e,t,n,r,i){var a={name:e,kind:t,location:{uri:r,range:n}};return i&&(a.containerName=i),a},($a=Ha||(Ha={})).create=function(e,t,n,r,i,a){var o={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==a&&(o.children=a),o},$a.is=function(e){var t=e;return t&&lo.string(t.name)&&lo.number(t.kind)&&fi.is(t.range)&&fi.is(t.selectionRange)&&(void 0===t.detail||lo.string(t.detail))&&(void 0===t.deprecated||lo.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},(Ga=za||(za={})).Empty="",Ga.QuickFix="quickfix",Ga.Refactor="refactor",Ga.RefactorExtract="refactor.extract",Ga.RefactorInline="refactor.inline",Ga.RefactorRewrite="refactor.rewrite",Ga.Source="source",Ga.SourceOrganizeImports="source.organizeImports",Ga.SourceFixAll="source.fixAll",(Ya=Ja||(Ja={})).create=function(e,t){var n={diagnostics:e};return void 0!==t&&null!==t&&(n.only=t),n},Ya.is=function(e){var t=e;return lo.defined(t)&&lo.typedArray(t.diagnostics,Mi.is)&&(void 0===t.only||lo.typedArray(t.only,lo.string))},(Za=Xa||(Xa={})).create=function(e,t,n){var r={title:e},i=!0;return"string"===typeof t?(i=!1,r.kind=t):Di.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Za.is=function(e){var t=e;return t&&lo.string(t.title)&&(void 0===t.diagnostics||lo.typedArray(t.diagnostics,Mi.is))&&(void 0===t.kind||lo.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||Di.is(t.command))&&(void 0===t.isPreferred||lo.boolean(t.isPreferred))&&(void 0===t.edit||Qi.is(t.edit))},(eo=Qa||(Qa={})).create=function(e,t){var n={range:e};return lo.defined(t)&&(n.data=t),n},eo.is=function(e){var t=e;return lo.defined(t)&&fi.is(t.range)&&(lo.undefined(t.command)||Di.is(t.command))},(no=to||(to={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},no.is=function(e){var t=e;return lo.defined(t)&&lo.uinteger(t.tabSize)&&lo.boolean(t.insertSpaces)},(io=ro||(ro={})).create=function(e,t,n){return{range:e,target:t,data:n}},io.is=function(e){var t=e;return lo.defined(t)&&fi.is(t.range)&&(lo.undefined(t.target)||lo.string(t.target))},(oo=ao||(ao={})).create=function(e,t){return{range:e,parent:t}},oo.is=function(e){var t=e;return void 0!==t&&fi.is(t.range)&&(void 0===t.parent||oo.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),a=e.slice(r);t(i,n),t(a,n);for(var o=0,s=0,u=0;o<i.length&&s<a.length;){var c=n(i[o],a[s]);e[u++]=c<=0?i[o++]:a[s++]}for(;o<i.length;)e[u++]=i[o++];for(;s<a.length;)e[u++]=a[s++];return e}e.create=function(e,t,n,r){return new fo(e,t,n,r)},e.is=function(e){var t=e;return!!(lo.defined(t)&&lo.string(t.uri)&&(lo.undefined(t.languageId)||lo.string(t.languageId))&&lo.uinteger(t.lineCount)&&lo.func(t.getText)&&lo.func(t.positionAt)&&lo.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})),a=r.length,o=i.length-1;o>=0;o--){var s=i[o],u=e.offsetAt(s.range.start),c=e.offsetAt(s.range.end);if(!(c<=a))throw new Error("Overlapping edit");r=r.substring(0,u)+s.newText+r.substring(c,r.length),a=u}return r}}(so||(so={}));var lo,fo=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 ci.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var a=n-1;return ci.create(a,e-t[a])},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}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(lo||(lo={}));var ho,mo,po,go,vo,yo=function(){function e(t,n,r,i){u(this,e),this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}return l(e,[{key:"uri",get:function(){return this._uri}},{key:"languageId",get:function(){return this._languageId}},{key:"version",get:function(){return this._version}},{key:"getText",value:function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}},{key:"update",value:function(t,n){var r,i=s(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e.isIncremental(a)){var u=wo(a.range),c=this.offsetAt(u.start),l=this.offsetAt(u.end);this._content=this._content.substring(0,c)+a.text+this._content.substring(l,this._content.length);var f,h=Math.max(u.start.line,0),d=Math.max(u.end.line,0),m=this._lineOffsets,p=Co(a.text,!1,c);if(d-h===p.length)for(var g=0,v=p.length;g<v;g++)m[g+h+1]=p[g];else if(p.length<1e4)(f=m).splice.apply(f,[h+1,d-h].concat(o(p)));else this._lineOffsets=m=m.slice(0,h+1).concat(p,m.slice(d+1));var y=a.text.length-(l-c);if(0!==y)for(var b=h+1+p.length,C=m.length;b<C;b++)m[b]=m[b]+y}else{if(!e.isFull(a))throw new Error("Unknown change event received");this._content=a.text,this._lineOffsets=void 0}}}catch(w){i.e(w)}finally{i.f()}this._version=n}},{key:"getLineOffsets",value:function(){return void 0===this._lineOffsets&&(this._lineOffsets=Co(this._content,!0)),this._lineOffsets}},{key:"positionAt",value: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{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var a=n-1;return{line:a,character:e-t[a]}}},{key:"offsetAt",value: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)}},{key:"lineCount",get:function(){return this.getLineOffsets().length}}],[{key:"isIncremental",value:function(e){var t=e;return void 0!==t&&null!==t&&"string"===typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"===typeof t.rangeLength)}},{key:"isFull",value:function(e){var t=e;return void 0!==t&&null!==t&&"string"===typeof t.text&&void 0===t.range&&void 0===t.rangeLength}}]),e}();function bo(e,t){if(e.length<=1)return e;var n=e.length/2|0,r=e.slice(0,n),i=e.slice(n);bo(r,t),bo(i,t);for(var a=0,o=0,s=0;a<r.length&&o<i.length;){var u=t(r[a],i[o]);e[s++]=u<=0?r[a++]:i[o++]}for(;a<r.length;)e[s++]=r[a++];for(;o<i.length;)e[s++]=i[o++];return e}function Co(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t?[n]:[],i=0;i<e.length;i++){var a=e.charCodeAt(i);13!==a&&10!==a||(13===a&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function wo(e){var 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 _o(e){var t=wo(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function ko(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return"undefined"!==typeof t[r]?t[r]:e}))}function So(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return ko(t,r)}function Ao(e){return So}(mo=ho||(ho={})).create=function(e,t,n,r){return new yo(e,t,n,r)},mo.update=function(e,t,n){if(e instanceof yo)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},mo.applyEdits=function(e,t){var n,r=e.getText(),i=0,a=[],o=s(bo(t.map(_o),(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})));try{for(o.s();!(n=o.n()).done;){var u=n.value,c=e.offsetAt(u.range.start);if(c<i)throw new Error("Overlapping edit");c>i&&a.push(r.substring(i,c)),u.newText.length&&a.push(u.newText),i=e.offsetAt(u.range.end)}}catch(l){o.e(l)}finally{o.f()}return a.push(r.substr(i)),a.join("")},(go=po||(po={}))[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",(vo||(vo={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[ba.Markdown,ba.PlainText],commitCharactersSupport:!0}}}};var Eo,xo,No=function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lo=Ao(),To={"color-hex":{errorMessage:Lo("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:Lo("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:Lo("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:Lo("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:Lo("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:Lo("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:Lo("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:Lo("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}},Oo=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}(),Po=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return No(t,e),t}(Oo),Io=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return No(t,e),t}(Oo),Mo=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return No(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),t}(Oo),Ro=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 No(t,e),t}(Oo),Do=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return No(t,e),t}(Oo),Vo=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 No(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),t}(Oo),Fo=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return No(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),t}(Oo);function Ko(e){return ua(e)?e?{}:{not:{}}:e}(xo=Eo||(Eo={}))[xo.Key=0]="Key",xo[xo.Enum=1]="Enum";var jo=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||Ho(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Uo=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}(),Bo=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===po.EnumValueMismatch&&(r.message=Lo("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 qo(e){return ia(e)}function Wo(e){return ra(e)}function Ho(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var $o=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 na(this.root,e,t)},e.prototype.visit=function(e){if(this.root){!function t(n){var r=e(n),i=n.children;if(Array.isArray(i))for(var a=0;a<i.length&&r;a++)r=t(i[a]);return r}(this.root)}},e.prototype.validate=function(e,t,n){if(void 0===n&&(n=Li.Warning),this.root&&t){var r=new Bo;return zo(this.root,t,r,Uo.instance),r.problems.map((function(t){var r,i=fi.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 jo(t,n);return this.root&&e&&zo(this.root,e,new Bo,r),r.schemas},e}();function zo(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),a=[],o=0,s=e.properties;o<s.length;o++){i[K=(g=s[o]).keyNode.value]=g.valueNode,a.push(K)}if(Array.isArray(t.required))for(var u=0,c=t.required;u<c.length;u++){if(!i[k=c[u]]){var l=e.parent&&"property"===e.parent.type&&e.parent.keyNode,f=l?{offset:l.offset,length:l.length}:{offset:e.offset,length:1};n.problems.push({location:f,message:Lo("MissingRequiredPropWarning",'Missing property "{0}".',k)})}}var h=function(e){for(var t=a.indexOf(e);t>=0;)a.splice(t,1),t=a.indexOf(e)};if(t.properties)for(var d=0,m=Object.keys(t.properties);d<m.length;d++){h(k=m[d]);var p=t.properties[k];if(L=i[k])if(ua(p))if(p)n.propertiesMatches++,n.propertiesValueMatches++;else{var g=L.parent;n.problems.push({location:{offset:g.keyNode.offset,length:g.keyNode.length},message:t.errorMessage||Lo("DisallowedExtraPropWarning","Property {0} is not allowed.",k)})}else zo(L,p,E=new Bo,r),n.mergePropertyMatch(E)}if(t.patternProperties)for(var v=0,y=Object.keys(t.patternProperties);v<y.length;v++)for(var b=y[v],C=la(b),w=0,_=a.slice(0);w<_.length;w++){var k=_[w];if(null===C||void 0===C?void 0:C.test(k))if(h(k),L=i[k])if(ua(p=t.patternProperties[b]))if(p)n.propertiesMatches++,n.propertiesValueMatches++;else{g=L.parent;n.problems.push({location:{offset:g.keyNode.offset,length:g.keyNode.length},message:t.errorMessage||Lo("DisallowedExtraPropWarning","Property {0} is not allowed.",k)})}else zo(L,p,E=new Bo,r),n.mergePropertyMatch(E)}if("object"===typeof t.additionalProperties)for(var S=0,A=a;S<A.length;S++){if(L=i[k=A[S]]){var E=new Bo;zo(L,t.additionalProperties,E,r),n.mergePropertyMatch(E)}}else if(!1===t.additionalProperties&&a.length>0)for(var x=0,N=a;x<N.length;x++){var L;if(L=i[k=N[x]]){g=L.parent;n.problems.push({location:{offset:g.keyNode.offset,length:g.keyNode.length},message:t.errorMessage||Lo("DisallowedExtraPropWarning","Property {0} is not allowed.",k)})}}oa(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});oa(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("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 P=t.dependencies[K];if(Array.isArray(P))for(var I=0,M=P;I<M.length;I++){var R=M[I];i[R]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",R,K)})}else if(p=Ko(P))zo(e,p,E=new Bo,r),n.mergePropertyMatch(E)}}var D=Ko(t.propertyNames);if(D)for(var V=0,F=e.properties;V<F.length;V++){var K;(K=F[V].keyNode)&&zo(K,D,n,Uo.instance)}}(i,t,n,r);break;case"array":!function(e,t,n,r){if(Array.isArray(t.items)){for(var i=t.items,a=0;a<i.length;a++){var o=Ko(i[a]),s=new Bo;(h=e.items[a])?(zo(h,o,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 u=i.length;u<e.items.length;u++){s=new Bo;zo(e.items[u],t.additionalItems,s,r),n.mergePropertyMatch(s)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var c=Ko(t.items);if(c)for(var l=0,f=e.items;l<f.length;l++){var h;zo(h=f[l],c,s=new Bo,r),n.mergePropertyMatch(s)}}var d=Ko(t.contains);if(d){e.items.some((function(e){var t=new Bo;return zo(e,d,t,Uo.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||Lo("requiredItemMissingWarning","Array does not contain required item.")})}oa(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});oa(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var m=qo(e);m.some((function(e,t){return t!==m.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("uniqueItemsWarning","Array has duplicate items.")})}}(i,t,n,r);break;case"string":!function(e,t,n,r){oa(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});oa(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(a=t.pattern,"string"===typeof a){var i=la(t.pattern);(null===i||void 0===i?void 0:i.test(e.value))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||Lo("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var a;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var s=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);s?s[2]||"uri"!==t.format||(o=Lo("uriSchemeMissing","URI with a scheme is expected.")):o=Lo("uriMissing","URI is expected.")}else o=Lo("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||Lo("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":case"hostname":case"ipv4":case"ipv6":var u=To[t.format];e.value&&u.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||u.errorMessage})}}(i,t,n);break;case"number":!function(e,t,n,r){var i=e.value;function a(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(oa(t.multipleOf)){var o=-1;if(Number.isInteger(t.multipleOf))o=i%t.multipleOf;else{var s=a(t.multipleOf),u=a(i);if(s&&u){var c=Math.pow(10,Math.abs(u.multiplier-s.multiplier));u.multiplier<s.multiplier?u.value*=c:s.value*=c,o=u.value%s.value}}0!==o&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function l(e,t){return oa(t)?t:ua(t)&&t?e:void 0}function f(e,t){if(!ua(t)||!t)return e}var h=l(t.minimum,t.exclusiveMinimum);oa(h)&&i<=h&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",h)});var d=l(t.maximum,t.exclusiveMaximum);oa(d)&&i>=d&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",d)});var m=f(t.minimum,t.exclusiveMinimum);oa(m)&&i<m&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("minimumWarning","Value is below the minimum of {0}.",m)});var p=f(t.maximum,t.exclusiveMaximum);oa(p)&&i>p&&n.problems.push({location:{offset:e.offset,length:e.length},message:Lo("maximumWarning","Value is above the maximum of {0}.",p)})}(i,t,n);break;case"property":return zo(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||Lo("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||Lo("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var a=0,o=t.allOf;a<o.length;a++){var s=o[a];zo(i,Ko(s),n,r)}var u=Ko(t.not);if(u){var c=new Bo,l=r.newSub();zo(i,u,c,l),c.hasProblems()||n.problems.push({location:{offset:i.offset,length:i.length},message:Lo("notSchemaWarning","Matches a schema that is not allowed.")});for(var f=0,h=l.schemas;f<h.length;f++){var d=h[f];d.inverted=!d.inverted,r.add(d)}}var m=function(e,t){for(var a=[],o=void 0,s=0,u=e;s<u.length;s++){var c=Ko(u[s]),l=new Bo,f=r.newSub();if(zo(i,c,l,f),l.hasProblems()||a.push(c),o)if(t||l.hasProblems()||o.validationResult.hasProblems()){var h=l.compare(o.validationResult);h>0?o={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(o.matchingSchemas.merge(f),o.validationResult.mergeEnumValues(l))}else o.matchingSchemas.merge(f),o.validationResult.propertiesMatches+=l.propertiesMatches,o.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else o={schema:c,validationResult:l,matchingSchemas:f}}return a.length>1&&t&&n.problems.push({location:{offset:i.offset,length:1},message:Lo("oneOfWarning","Matches multiple schemas when only one must validate.")}),o&&(n.merge(o.validationResult),n.propertiesMatches+=o.validationResult.propertiesMatches,n.propertiesValueMatches+=o.validationResult.propertiesValueMatches,r.merge(o.matchingSchemas)),a.length};Array.isArray(t.anyOf)&&m(t.anyOf,!1);Array.isArray(t.oneOf)&&m(t.oneOf,!0);var p=function(e){var t=new Bo,a=r.newSub();zo(i,Ko(e),t,a),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,r.merge(a)},g=Ko(t.if);g&&function(e,t,n){var a=Ko(e),o=new Bo,s=r.newSub();zo(i,a,o,s),r.merge(s),o.hasProblems()?n&&p(n):t&&p(t)}(g,Ko(t.then),Ko(t.else));if(Array.isArray(t.enum)){for(var v=qo(i),y=!1,b=0,C=t.enum;b<C.length;b++){var w=C[b];if(aa(v,w)){y=!0;break}}n.enumValues=t.enum,n.enumValueMatch=y,y||n.problems.push({location:{offset:i.offset,length:i.length},code:po.EnumValueMismatch,message:t.errorMessage||Lo("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(sa(t.const)){aa(v=qo(i),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:i.offset,length:i.length},code:po.EnumValueMismatch,message:t.errorMessage||Lo("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:po.Deprecated})}(),r.add({node:i,schema:t})}}function Go(e,t){var n=[],r=-1,i=e.getText(),a=ea(i,!1),o=t&&t.collectComments?[]:void 0;function s(){for(;;){var t=a.scan();switch(l(),t){case 12:case 13:Array.isArray(o)&&o.push(fi.create(e.positionAt(a.getTokenOffset()),e.positionAt(a.getTokenOffset()+a.getTokenLength())));break;case 15:case 14:break;default:return t}}}function u(t,i,a,o,s){if(void 0===s&&(s=Li.Error),0===n.length||a!==r){var u=fi.create(e.positionAt(a),e.positionAt(o));n.push(Mi.create(u,t,s,i,e.languageId)),r=a}}function c(e,t,n,r,o){void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[]);var c=a.getTokenOffset(),l=a.getTokenOffset()+a.getTokenLength();if(c===l&&c>0){for(c--;c>0&&/\s/.test(i.charAt(c));)c--;l=c+1}if(u(e,t,c,l),n&&f(n,!1),r.length+o.length>0)for(var h=a.getToken();17!==h;){if(-1!==r.indexOf(h)){s();break}if(-1!==o.indexOf(h))break;h=s()}return n}function l(){switch(a.getTokenError()){case 4:return c(Lo("InvalidUnicode","Invalid unicode sequence in string."),po.InvalidUnicode),!0;case 5:return c(Lo("InvalidEscapeCharacter","Invalid escape character in string."),po.InvalidEscapeCharacter),!0;case 3:return c(Lo("UnexpectedEndOfNumber","Unexpected end of number."),po.UnexpectedEndOfNumber),!0;case 1:return c(Lo("UnexpectedEndOfComment","Unexpected end of comment."),po.UnexpectedEndOfComment),!0;case 2:return c(Lo("UnexpectedEndOfString","Unexpected end of string."),po.UnexpectedEndOfString),!0;case 6:return c(Lo("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),po.InvalidCharacter),!0}return!1}function f(e,t){return e.length=a.getTokenOffset()+a.getTokenLength()-e.offset,t&&s(),e}var h=new Do(void 0,0,0);function d(t,n){var r=new Vo(t,a.getTokenOffset(),h),i=m(r);if(!i){if(16!==a.getToken())return;c(Lo("DoubleQuotesExpected","Property keys must be doublequoted"),po.Undefined);var o=new Do(r,a.getTokenOffset(),a.getTokenLength());o.value=a.getTokenValue(),i=o,s()}r.keyNode=i;var l=n[i.value];if(l?(u(Lo("DuplicateKeyWarning","Duplicate object key"),po.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,Li.Warning),"object"===typeof l&&u(Lo("DuplicateKeyWarning","Duplicate object key"),po.DuplicateKey,l.keyNode.offset,l.keyNode.offset+l.keyNode.length,Li.Warning),n[i.value]=!0):n[i.value]=r,6===a.getToken())r.colonOffset=a.getTokenOffset(),s();else if(c(Lo("ColonExpected","Colon expected"),po.ColonExpected),10===a.getToken()&&e.positionAt(i.offset+i.length).line<e.positionAt(a.getTokenOffset()).line)return r.length=i.length,r;var f=p(r);return f?(r.valueNode=f,r.length=f.offset+f.length-r.offset,r):c(Lo("ValueExpected","Value expected"),po.ValueExpected,r,[],[2,5])}function m(e){if(10===a.getToken()){var t=new Do(e,a.getTokenOffset());return t.value=a.getTokenValue(),f(t,!0)}}function p(e){return function(e){if(3===a.getToken()){var t=new Mo(e,a.getTokenOffset());s();for(var n=!1;4!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){n||c(Lo("ValueExpected","Value expected"),po.ValueExpected);var r=a.getTokenOffset();if(s(),4===a.getToken()){n&&u(Lo("TrailingComma","Trailing comma"),po.TrailingComma,r,r+1);continue}}else n&&c(Lo("ExpectedComma","Expected comma"),po.CommaExpected);var i=p(t);i?t.items.push(i):c(Lo("PropertyExpected","Value expected"),po.ValueExpected,void 0,[],[4,5]),n=!0}return 4!==a.getToken()?c(Lo("ExpectedCloseBracket","Expected comma or closing bracket"),po.CommaOrCloseBacketExpected,t):f(t,!0)}}(e)||function(e){if(1===a.getToken()){var t=new Fo(e,a.getTokenOffset()),n=Object.create(null);s();for(var r=!1;2!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){r||c(Lo("PropertyExpected","Property expected"),po.PropertyExpected);var i=a.getTokenOffset();if(s(),2===a.getToken()){r&&u(Lo("TrailingComma","Trailing comma"),po.TrailingComma,i,i+1);continue}}else r&&c(Lo("ExpectedComma","Expected comma"),po.CommaExpected);var o=d(t,n);o?t.properties.push(o):c(Lo("PropertyExpected","Property expected"),po.PropertyExpected,void 0,[],[2,5]),r=!0}return 2!==a.getToken()?c(Lo("ExpectedCloseBrace","Expected comma or closing brace"),po.CommaOrCloseBraceExpected,t):f(t,!0)}}(e)||m(e)||function(e){if(11===a.getToken()){var t=new Ro(e,a.getTokenOffset());if(0===a.getTokenError()){var n=a.getTokenValue();try{var r=JSON.parse(n);if(!oa(r))return c(Lo("InvalidNumberFormat","Invalid number format."),po.Undefined,t);t.value=r}catch(qs){return c(Lo("InvalidNumberFormat","Invalid number format."),po.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return f(t,!0)}}(e)||function(e){switch(a.getToken()){case 7:return f(new Po(e,a.getTokenOffset()),!0);case 8:return f(new Io(e,!0,a.getTokenOffset()),!0);case 9:return f(new Io(e,!1,a.getTokenOffset()),!0);default:return}}(e)}var g=void 0;return 17!==s()&&((g=p(g))?17!==a.getToken()&&c(Lo("End of file expected","End of file expected."),po.Undefined):c(Lo("Invalid symbol","Expected a JSON object, array or literal."),po.Undefined)),new $o(g,n,o)}function Jo(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",a=0;a<e.length;a++)i+=r+Jo(e[a],r,n),a<e.length-1&&(i+=","),i+="\n";return i+=t+"]"}var o=Object.keys(e);if(0===o.length)return"{}";for(i="{\n",a=0;a<o.length;a++){var s=o[a];i+=r+JSON.stringify(s)+": "+Jo(e[s],r,n),a<o.length-1&&(i+=","),i+="\n"}return i+=t+"}"}return n(e)}var Yo=Ao(),Xo=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},a=e.getText(),o=e.offsetAt(t),s=n.getNodeFromOffset(o,!0);if(this.isInComment(e,s?s.offset:0,o))return Promise.resolve(i);if(s&&o===s.offset+s.length&&o>0){var u=a[o-1];("object"===s.type&&"}"===u||"array"===s.type&&"]"===u)&&(s=s.parent)}var c,l=this.getCurrentWord(e,o);if(!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type){var f=o-l.length;f>0&&'"'===a[f-1]&&f--,c=fi.create(e.positionAt(f),t)}else c=fi.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length));var h={},d={add:function(e){var t=e.label,n=h[t];if(n)n.documentation||(n.documentation=e.documentation),n.detail||(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"\u21b5")).length>60){var r=t.substr(0,57).trim()+"...";h[r]||(t=r)}c&&void 0!==e.insertText&&(e.textEdit=Fi.replace(c,e.insertText)),e.label=t,h[t]=e,i.items.push(e)}},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var u=[],f=!0,m="",p=void 0;if(s&&"string"===s.type){var g=s.parent;g&&"property"===g.type&&g.keyNode===s&&(f=!g.valueNode,p=g,m=a.substr(s.offset+1,s.length-2),g&&(s=g.parent))}if(s&&"object"===s.type){if(s.offset===o)return i;s.properties.forEach((function(e){p&&p===e||(h[e.keyNode.value]=Oa.create("__"))}));var v="";f&&(v=r.evaluateSeparatorAfter(e,e.offsetAt(c.end))),t?r.getPropertyCompletions(t,n,s,f,v,d):r.getSchemaLessPropertyCompletions(n,s,m,d);var y=Wo(s);r.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,y,l,f,""===v,d);n&&u.push(n)})),!t&&l.length>0&&'"'!==a.charAt(o-l.length-1)&&(d.add({kind:_a.Property,label:r.getLabelForValue(l),insertText:r.getInsertTextForProperty(l,void 0,!1,v),insertTextFormat:Sa.Snippet,documentation:""}),d.setAsIncomplete())}var b={};return t?r.getValueCompletions(t,n,s,o,e,d,b):r.getSchemaLessValueCompletions(n,s,o,e,d),r.contributions.length>0&&r.getContributedValueCompletions(n,s,o,e,d,u),r.promiseConstructor.all(u).then((function(){if(0===d.getNumberOfProposals()){var t=o;!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(b,n,d)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,n,r,i,a){var o=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:_a.Property,label:e,insertText:o.getInsertTextForProperty(e,n,r,i),insertTextFormat:Sa.Snippet,filterText:o.getFilterTextForValue(e),documentation:o.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(s.sortText=n.suggestSortText),s.insertText&&ca(s.insertText,"$1".concat(i))&&(s.command={title:"Suggest",command:"editor.action.triggerSuggest"}),a.add(s)}}));var s=e.schema.propertyNames;if("object"===typeof s&&!s.deprecationMessage&&!s.doNotSuggest){var u=function(e,t){void 0===t&&(t=void 0);var n={kind:_a.Property,label:e,insertText:o.getInsertTextForProperty(e,void 0,r,i),insertTextFormat:Sa.Snippet,filterText:o.getFilterTextForValue(e),documentation:t||o.fromMarkup(s.markdownDescription)||s.description||""};void 0!==s.suggestSortText&&(n.sortText=s.suggestSortText),n.insertText&&ca(n.insertText,"$1".concat(i))&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),a.add(n)};if(s.enum)for(var c=0;c<s.enum.length;c++){var l=void 0;s.markdownEnumDescriptions&&c<s.markdownEnumDescriptions.length?l=o.fromMarkup(s.markdownEnumDescriptions[c]):s.enumDescriptions&&c<s.enumDescriptions.length&&(l=s.enumDescriptions[c]),u(s.enum[c],l)}s.const&&u(s.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,a=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;r.add({kind:_a.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:Sa.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var o=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===o&&e.valueNode&&"object"===e.valueNode.type&&a(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&a(e)}));else"object"===t.type&&r.add({kind:_a.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:Sa.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,r,i){var a=this,o=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(o=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:Sa.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:Sa.Snippet,documentation:""});var s=this.evaluateSeparatorAfter(r,o),u=function(e){e.parent&&!Ho(e.parent,n,!0)&&i.add({kind:a.getSuggestionKind(e.type),label:a.getLabelTextForMatchingNode(e,r),insertText:a.getInsertTextForMatchingNode(e,r,s),insertTextFormat:Sa.Snippet,documentation:""}),"boolean"===e.type&&a.addBooleanValueCompletion(!e.value,s,i)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(s,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,n,r,i,a,o){var s=r,u=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(s=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&r>(n.colonOffset||0)){var l=n.valueNode;if(l&&r>l.offset+l.length)return;u=n.keyNode.value,n=n.parent}if(n&&(void 0!==u||"array"===n.type)){for(var f=this.evaluateSeparatorAfter(i,s),h=0,d=t.getMatchingSchemas(e.schema,n.offset,c);h<d.length;h++){var m=d[h];if(m.node===n&&!m.inverted&&m.schema){if("array"===n.type&&m.schema.items)if(Array.isArray(m.schema.items)){var p=this.findItemAtOffset(n,i,r);p<m.schema.items.length&&this.addSchemaValueCompletions(m.schema.items[p],f,a,o)}else this.addSchemaValueCompletions(m.schema.items,f,a,o);if(void 0!==u){var g=!1;if(m.schema.properties)(w=m.schema.properties[u])&&(g=!0,this.addSchemaValueCompletions(w,f,a,o));if(m.schema.patternProperties&&!g)for(var v=0,y=Object.keys(m.schema.patternProperties);v<y.length;v++){var b=y[v],C=la(b);if(null===C||void 0===C?void 0:C.test(u)){g=!0;var w=m.schema.patternProperties[b];this.addSchemaValueCompletions(w,f,a,o)}}if(m.schema.additionalProperties&&!g){w=m.schema.additionalProperties;this.addSchemaValueCompletions(w,f,a,o)}}}}"$schema"!==u||n.parent||this.addDollarSchemaCompletions(f,a),o.boolean&&(this.addBooleanValueCompletion(!0,f,a),this.addBooleanValueCompletion(!1,f,a)),o.null&&this.addNullValueCompletion(f,a)}}else this.addSchemaValueCompletions(e.schema,"",a,o)},e.prototype.getContributedValueCompletions=function(e,t,n,r,i,a){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 o=t.keyNode.value,s=t.valueNode;if((!s||n<=s.offset+s.length)&&t.parent){var u=Wo(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(r.uri,u,o,i);t&&a.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(r.uri,i);t&&a.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 a=!1;if(sa(e.default)){for(var o=e.type,s=e.default,u=r;u>0;u--)s=[s],o="array";n.add({kind:this.getSuggestionKind(o),label:this.getLabelForValue(s),insertText:this.getInsertTextForValue(s,t),insertTextFormat:Sa.Snippet,detail:Yo("json.suggest.default","Default value")}),a=!0}Array.isArray(e.examples)&&e.examples.forEach((function(o){for(var s=e.type,u=o,c=r;c>0;c--)u=[u],s="array";n.add({kind:i.getSuggestionKind(s),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:Sa.Snippet}),a=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(o){var s,u,c=e.type,l=o.body,f=o.label;if(sa(l)){e.type;for(var h=r;h>0;h--)l=[l],"array";s=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else{if("string"!==typeof o.bodyText)return;var d="",m="",p="";for(h=r;h>0;h--)d=d+p+"[\n",m=m+"\n"+p+"]",p+="\t",c="array";s=d+p+o.bodyText.split("\n").join("\n"+p)+m+t,f=f||s,u=s.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(o.markdownDescription)||o.description,insertText:s,insertTextFormat:Sa.Snippet,filterText:u}),a=!0})),!a&&"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(sa(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:Sa.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r<i;r++){var a=e.enum[r],o=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&r<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?o=this.fromMarkup(e.markdownEnumDescriptions[r]):e.enumDescriptions&&r<e.enumDescriptions.length&&(o=e.enumDescriptions[r]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:Sa.Snippet,documentation:o})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!sa(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:Sa.Snippet,detail:Yo("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:Sa.Snippet,detail:Yo("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:Sa.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Sa.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this,r=this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e}));r.forEach((function(r){return t.add({kind:_a.Module,label:n.getLabelForValue(r),filterText:n.getFilterTextForValue(r),insertText:n.getInsertTextForValue(r,e),insertTextFormat:Sa.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 Jo(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 _a.Value;switch(e){case"string":default:return _a.Value;case"object":return _a.Module;case"property":return _a.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 a,o=i+": ",s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;sa(u)&&(a=this.getInsertTextForSnippetValue(u,""))}s+=t.defaultSnippets.length}if(t.enum&&(a||1!==t.enum.length||(a=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),sa(t.default)&&(a||(a=this.getInsertTextForGuessedValue(t.default,"")),s++),Array.isArray(t.examples)&&t.examples.length&&(a||(a=this.getInsertTextForGuessedValue(t.examples[0],"")),s+=t.examples.length),0===s){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":a="$1";break;case"string":a='"$1"';break;case"object":a="{$1}";break;case"array":a="[$1]";break;case"number":case"integer":a="${1:0}";break;case"null":a="${1:null}";break;default:return i}}}return(!a||s>1)&&(a="$1"),o+a+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=ea(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=ea(t.getText(),!0),i=e.items,a=i.length-1;a>=0;a--){var o=i[a];if(n>o.offset+o.length)return r.setPosition(o.offset+o.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?a+1:a;if(n>=o.offset)return a}return 0},e.prototype.isInComment=function(e,t,n){var r=ea(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:ba.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!sa(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(ba.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!sa(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters},e}(),Zo=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 a=i;if("string"===i.type){var o=i.parent;if(o&&"property"===o.type&&o.keyNode===i&&!(i=o.valueNode))return this.promise.resolve(null)}for(var s=fi.create(e.positionAt(a.offset),e.positionAt(a.offset+a.length)),u=function(e){return{contents:e,range:s}},c=Wo(i),l=this.contributions.length-1;l>=0;l--){var f=this.contributions[l].getInfoContribution(e.uri,c);if(f)return f.then((function(e){return u(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,a=void 0,o=void 0,s=void 0;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(r=r||e.schema.title,a=a||e.schema.markdownDescription||Qo(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(qo(i));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(o=Qo(e.schema.enumDescriptions[t])),o&&"string"!==typeof(s=e.schema.enum[t])&&(s=JSON.stringify(s))}return!0}));var c="";return r&&(c=Qo(r)),a&&(c.length>0&&(c+="\n\n"),c+=a),o&&(c.length>0&&(c+="\n\n"),c+="`".concat(function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(s),"`: ").concat(o)),u([c])}return null}))},e}();function Qo(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var es=Ao(),ts=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 a=[],o={},s=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;o[t]||(o[t]=!0,a.push(e))},u=function(r){var o=(null===n||void 0===n?void 0:n.trailingCommas)?as(n.trailingCommas):Li.Error,u=(null===n||void 0===n?void 0:n.comments)?as(n.comments):i.commentSeverity,c=(null===n||void 0===n?void 0:n.schemaValidation)?as(n.schemaValidation):Li.Warning,l=(null===n||void 0===n?void 0:n.schemaRequest)?as(n.schemaRequest):Li.Warning;if(r){if(r.errors.length&&t.root&&l){var f=t.root,h="object"===f.type?f.properties[0]:void 0;if(h&&"$schema"===h.keyNode.value){var d=h.valueNode||h,m=fi.create(e.positionAt(d.offset),e.positionAt(d.offset+d.length));s(Mi.create(m,r.errors[0],l,po.SchemaResolveError))}else{m=fi.create(e.positionAt(f.offset),e.positionAt(f.offset+1));s(Mi.create(m,r.errors[0],l,po.SchemaResolveError))}}else if(c){var p=t.validate(e,r.schema,c);p&&p.forEach(s)}rs(r.schema)&&(u=void 0),is(r.schema)&&(o=void 0)}for(var g=0,v=t.syntaxErrors;g<v.length;g++){var y=v[g];if(y.code===po.TrailingComma){if("number"!==typeof o)continue;y.severity=o}s(y)}if("number"===typeof u){var b=es("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){s(Mi.create(e,b,u,po.CommentNotPermitted))}))}return a};if(r){var c=r.id||"schemaservice://untitled/"+ns++;return this.jsonSchemaService.registerExternalSchema(c,[],r).getResolvedSchema().then((function(e){return u(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return u(e)}))},e.prototype.getLanguageStatus=function(e,t){return{schemas:this.jsonSchemaService.getSchemaURIsForResource(e.uri,t)}},e}(),ns=0;function rs(e){if(e&&"object"===typeof e){if(ua(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var r=rs(n[t]);if(ua(r))return r}}}function is(e){if(e&&"object"===typeof e){if(ua(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(ua(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,r=e.allOf;n<r.length;n++){var i=is(r[n]);if(ua(i))return i}}}function as(e){switch(e){case"error":return Li.Error;case"warning":return Li.Warning;case"ignore":return}}function os(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function ss(e){if("#"===e[0])switch(e.length){case 4:return{red:17*os(e.charCodeAt(1))/255,green:17*os(e.charCodeAt(2))/255,blue:17*os(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*os(e.charCodeAt(1))/255,green:17*os(e.charCodeAt(2))/255,blue:17*os(e.charCodeAt(3))/255,alpha:17*os(e.charCodeAt(4))/255};case 7:return{red:(16*os(e.charCodeAt(1))+os(e.charCodeAt(2)))/255,green:(16*os(e.charCodeAt(3))+os(e.charCodeAt(4)))/255,blue:(16*os(e.charCodeAt(5))+os(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*os(e.charCodeAt(1))+os(e.charCodeAt(2)))/255,green:(16*os(e.charCodeAt(3))+os(e.charCodeAt(4)))/255,blue:(16*os(e.charCodeAt(5))+os(e.charCodeAt(6)))/255,alpha:(16*os(e.charCodeAt(7))+os(e.charCodeAt(8)))/255}}}var us=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 a=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||ca(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var d=h[f];if("key"===d.keyNode.value&&d.valueNode){var m=di.create(e.uri,cs(e,l));if(s.push({name:qo(d.valueNode),kind:Ua.Function,location:m}),--a<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(o),s}}}return s}for(var p=[{node:i,containerName:""}],g=0,v=!1,y=[],b=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&p.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(a>0){a--;var o=di.create(e.uri,cs(e,t)),s=n?n+"."+t.keyNode.value:t.keyNode.value;y.push({name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),location:o,containerName:n}),p.push({node:i,containerName:s})}else v=!0}))};g<p.length;){var C=p[g++];b(C.node,C.containerName)}return v&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(o),y},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 a=n.resultLimit||Number.MAX_VALUE,o=e.uri;if(("vscode://defaultsettings/keybindings.json"===o||ca(o.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var d=h[f];if("key"===d.keyNode.value&&d.valueNode){var m=cs(e,l),p=cs(e,d.keyNode);if(s.push({name:qo(d.valueNode),kind:Ua.Function,range:m,selectionRange:p}),--a<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(o),s}}}return s}for(var g=[],v=[{node:i,result:g}],y=0,b=!1,C=function(t,n){"array"===t.type?t.items.forEach((function(t,i){if(t)if(a>0){a--;var o=cs(e,t),s=o,u={name:String(i),kind:r.getSymbolKind(t.type),range:o,selectionRange:s,children:[]};n.push(u),v.push({result:u.children,node:t})}else b=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(a>0){a--;var o=cs(e,t),s=cs(e,t.keyNode),u=[],c={name:r.getKeyLabel(t),kind:r.getSymbolKind(i.type),range:o,selectionRange:s,children:u,detail:r.getDetail(i)};n.push(c),v.push({result:u,node:i})}else b=!0}))};y<v.length;){var w=v[y++];C(w.node,w.result)}return b&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(o),g},e.prototype.getSymbolKind=function(e){switch(e){case"object":return Ua.Module;case"string":return Ua.String;case"number":return Ua.Number;case"array":return Ua.Array;case"boolean":return Ua.Boolean;default:return Ua.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"\u21b5")),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 a=n&&"number"===typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,o={},s=0,u=t.getMatchingSchemas(r.schema);s<u.length;s++){var c=u[s];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var l=String(c.node.offset);if(!o[l]){var f=ss(qo(c.node));if(f){var h=cs(e,c.node);i.push({color:f,range:h})}if(o[l]=!0,--a<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,n,r){var i,a=[],o=Math.round(255*n.red),s=Math.round(255*n.green),u=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===n.alpha?"#".concat(c(o)).concat(c(s)).concat(c(u)):"#".concat(c(o)).concat(c(s)).concat(c(u)).concat(c(Math.round(255*n.alpha))),a.push({label:i,textEdit:Fi.replace(r,JSON.stringify(i))}),a},e}();function cs(e,t){return fi.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var ls,fs,hs,ds,ms,ps,gs=Ao(),vs={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}}},ys={id:gs("schema.json.id","A unique identifier for the schema."),$schema:gs("schema.json.$schema","The schema to verify this document against."),title:gs("schema.json.title","A descriptive title of the element."),description:gs("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:gs("schema.json.default","A default value. Used by suggestions."),multipleOf:gs("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:gs("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:gs("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:gs("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:gs("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:gs("schema.json.maxLength","The maximum length of a string."),minLength:gs("schema.json.minLength","The minimum length of a string."),pattern:gs("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:gs("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:gs("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:gs("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:gs("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:gs("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:gs("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:gs("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:gs("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:gs("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:gs("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:gs("schema.json.properties","A map of property names to schemas for each property."),patternProperties:gs("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:gs("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:gs("schema.json.enum","The set of literal values that are valid."),type:gs("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:gs("schema.json.format","Describes the format expected for the value."),allOf:gs("schema.json.allOf","An array of schemas, all of which must match."),anyOf:gs("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:gs("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:gs("schema.json.not","A schema which must not match."),$id:gs("schema.json.$id","A unique identifier for the schema."),$ref:gs("schema.json.$ref","Reference a definition hosted on any location."),$comment:gs("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:gs("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:gs("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:gs("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:gs("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:gs("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:gs("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:gs("schema.json.contentEncoding","Describes the content encoding of a string property."),if:gs("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:gs("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:gs("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(ms in vs.schemas)for(ds in(ls=vs.schemas[ms]).properties)"boolean"===typeof(fs=ls.properties[ds])&&(fs=ls.properties[ds]={}),(hs=ys[ds])?fs.description=hs:console.log("".concat(ds,": localize('schema.json.").concat(ds,'\', "")'));ps=function(){var e={470:function(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,a=-1,o=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(a===s-1||1===o);else if(a!==s-1&&2===o){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o;a>=0?o=arguments[a]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.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 a=e.length,o=a-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var u=n.length-s,c=o<u?o:u,l=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(47===n.charCodeAt(s+f))return n.slice(s+f+1);if(0===f)return n.slice(s+f)}else o>c&&(47===e.charCodeAt(i+f)?l=f:0===f&&(l=0));break}var h=e.charCodeAt(i+f);if(h!==n.charCodeAt(s+f))break;47===h&&(l=f)}var d="";for(f=i+l+1;f<=a;++f)f!==a&&47!==e.charCodeAt(f)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(s+l):(s+=l,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,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){i=o;break}}else a=!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,a=-1,o=!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,u=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!o){i=r+1;break}}else-1===u&&(o=!1,u=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=u))}return i===a?a=u:-1===a&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===a&&(o=!1,a=r+1);return-1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(a=!1,i=s+1),46===u?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){r=s+1;break}}return-1===n||-1===i||0===o||1===o&&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 function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),a=47===i;a?(n.root="/",r=1):r=0;for(var o=-1,s=0,u=-1,c=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(i=e.charCodeAt(l)))-1===u&&(c=!1,u=l+1),46===i?-1===o?o=l:1!==f&&(f=1):-1!==o&&(f=-1);else if(!c){s=l+1;break}return-1===o||-1===u||0===f||1===f&&o===u-1&&o===s+1?-1!==u&&(n.base=n.name=0===s&&a?e.slice(1,u):e.slice(s,u)):(0===s&&a?(n.name=e.slice(1,o),n.base=e.slice(1,u)):(n.name=e.slice(s,o),n.base=e.slice(s,u)),n.ext=e.slice(o,u)),s>0?n.dir=e.slice(0,s-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:function(e,t,n){var r;if(n.r(t),n.d(t,{URI:function(){return p},Utils:function(){return E}}),"object"==typeof process)r="win32"===process.platform;else if("object"==typeof navigator){var i=navigator.userAgent;r=i.indexOf("Windows")>=0}var a,o,s=(a=function(e,t){return(a=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}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//;function f(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&&!u.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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(l.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 h="",d="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,r,i,a){var o,s;void 0===a&&(a=!1),"object"==typeof e?(this.scheme=e.scheme||h,this.authority=e.authority||h,this.path=e.path||h,this.query=e.query||h,this.fragment=e.fragment||h):(this.scheme=(s=a,(o=e)||s?o:"file"),this.authority=t||h,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||h),this.query=r||h,this.fragment=i||h,f(this,a))}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,a=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=h),void 0===n?n=this.authority:null===n&&(n=h),void 0===r?r=this.path:null===r&&(r=h),void 0===i?i=this.query:null===i&&(i=h),void 0===a?a=this.fragment:null===a&&(a=h),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&a===this.fragment?this:new v(t,n,r,i,a)},e.parse=function(e,t){void 0===t&&(t=!1);var n=m.exec(e);return n?new v(n[2]||h,A(n[4]||h),A(n[5]||h),A(n[7]||h),A(n[9]||h),t):new v(h,h,h,h,h)},e.file=function(e){var t=h;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 v("file",t,e,h,h)},e.from=function(e){var t=new v(e.scheme,e.authority,e.path,e.query,e.fragment);return f(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 v(t);return n._formatted=t.external,n._fsPath=t._sep===g?t.fsPath:null,n}return t},e}(),g=r?1:void 0,v=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=g),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}(p),y=((o={})[58]="%3A",o[47]="%2F",o[63]="%3F",o[35]="%23",o[91]="%5B",o[93]="%5D",o[64]="%40",o[33]="%21",o[36]="%24",o[38]="%26",o[39]="%27",o[40]="%28",o[41]="%29",o[42]="%2A",o[43]="%2B",o[44]="%2C",o[59]="%3B",o[61]="%3D",o[32]="%20",o);function b(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var a=e.charCodeAt(i);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||45===a||46===a||95===a||126===a||t&&47===a)-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 o=y[a];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-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+=y[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:b,r="",i=e.scheme,a=e.authority,o=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(a||"file"===i)&&(r+=d,r+=d),a){var c=a.indexOf("@");if(-1!==c){var l=a.substr(0,c);a=a.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(a=a.toLowerCase()).indexOf(":"))?r+=n(a,!1):(r+=n(a.substr(0,c),!1),r+=a.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(f=o.charCodeAt(1))>=65&&f<=90&&(o="/".concat(String.fromCharCode(f+32),":").concat(o.substr(3)));else if(o.length>=2&&58===o.charCodeAt(1)){var f;(f=o.charCodeAt(0))>=65&&f<=90&&(o="".concat(String.fromCharCode(f+32),":").concat(o.substr(2)))}r+=n(o,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=t?u:b(u,!1)),r}function k(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+k(e.substr(3)):e}}var S=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function A(e){return e.match(S)?e.replace(S,(function(e){return k(e)})):e}var E,x,N=n(470),L=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;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=N.posix||N;(x=E||(E={})).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))})},x.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))})},x.dirname=function(e){var t=T.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)?e:e.with({path:t})},x.basename=function(e){return T.basename(e.path)},x.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=function(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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)}();var bs=ps,Cs=bs.URI;bs.Utils;function ws(e,t){if("string"!==typeof e)throw new TypeError("Expected a string");for(var n,r=String(e),i="",a=!!t&&!!t.extended,o=!!t&&!!t.globstar,s=!1,u=t&&"string"===typeof t.flags?t.flags:"",c=0,l=r.length;c<l;c++)switch(n=r[c]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":i+="\\"+n;break;case"?":if(a){i+=".";break}case"[":case"]":if(a){i+=n;break}case"{":if(a){s=!0,i+="(";break}case"}":if(a){s=!1,i+=")";break}case",":if(s){i+="|";break}i+="\\"+n;break;case"*":for(var f=r[c-1],h=1;"*"===r[c+1];)h++,c++;var d=r[c+1];if(o)h>1&&("/"===f||void 0===f||"{"===f||","===f)&&("/"===d||void 0===d||","===d||"}"===d)?("/"===d?c++:"/"===f&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+="([^/]*)";else i+=".*";break;default:i+=n}return u&&~u.indexOf("g")||(i="^"+i+"$"),new RegExp(i,u)}var _s,ks=Ao(),Ss=function(){function e(e,t){this.globWrappers=[];try{for(var n=0,r=e;n<r.length;n++){var i=r[n],a="!"!==i[0];a||(i=i.substring(1)),i.length>0&&("/"===i[0]&&(i=i.substring(1)),this.globWrappers.push({regexp:ws("**/"+i,{extended:!0,globstar:!0}),include:a}))}this.uris=t}catch(qs){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],a=i.regexp,o=i.include;a.test(e)&&(t=o)}return t},e.prototype.getURIs=function(){return this.uris},e}(),As=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 Es(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}(),Es=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},xs=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 Ko(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 a=i[r],o=la(a);if(null===o||void 0===o?void 0:o.test(n))return this.getSectionRecursive(e,t.patternProperties[a])}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}(),Ns=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=Cs.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=Ts(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var a=r.pop(),o=0;o<i.length;o++){var s=i[o];s&&(s.uri===a||s.dependencies.has(a))&&(s.uri!==a&&r.push(s.uri),s.clearSchema()&&(n=!0),i[o]=void 0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var r=Ts(n);this.contributionSchemas[r]=this.addSchemaHandle(r,t[n])}}if(Array.isArray(e.schemaAssociations))for(var i=0,a=e.schemaAssociations;i<a.length;i++){var o=a[i],s=o.uris.map(Ts),u=this.addFilePatternAssociation(o.pattern,s);this.contributionAssociations.push(u)}},e.prototype.addSchemaHandle=function(e,t){var n=new As(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 Ss(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var r=Ts(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=Ts(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=ks("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Os(e));return this.promise.resolve(new Es({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=ks("json.schema.nocontent","Unable to load schema from '{0}': No content.",Os(e));return new Es({},[n])}var r,i=[];r=ta(t,i);var a=i.length?[ks("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Os(e),i[0].offset)]:[];return new Es(r,a)}),(function(t){var n=t.toString(),r=t.toString().split("Error: ");return r.length>1&&(n=r[1]),ca(n,".")&&(n=n.substr(0,n.length-1)),new Es({},[ks("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Os(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema;if(i.$schema){var a=Ts(i.$schema);if("http://json-schema.org/draft-03/schema"===a)return this.promise.resolve(new xs({},[ks("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===a?r.push(ks("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported.")):"https://json-schema.org/draft/2020-12/schema"===a&&r.push(ks("json.schema.draft202012.notsupported","Draft 2020-12 schemas are not yet fully supported."))}var o=this.contextService,s=function(e,t,n,i){var a,o,s,u;void 0===i||0===i.length?a=t:"/"===i.charAt(0)?a=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):(o=t,u=i,(s=n).anchors||(s.anchors=l(o)),a=s.anchors.get(u)),a?function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&"id"!==n&&"$id"!==n&&(e[n]=t[n])}(e,a):r.push(ks("json.schema.invalidid","$ref '{0}' in '{1}' can not be resolved.",i,n.uri))},u=function(e,t,i,a){o&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,a.uri)),t=Ts(t);var u=n.getOrAddSchemaHandle(t);return u.getUnresolvedSchema().then((function(n){if(a.dependencies.add(t),n.errors.length){var o=i?t+"#"+i:t;r.push(ks("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return s(e,n.schema,u,i),c(e,n.schema,u)}))},c=function(e,t,r){var i=[];return n.traverseNodes(e,(function(e){for(var n=new Set;e.$ref;){var a=e.$ref,o=a.split("#",2);if(delete e.$ref,o[0].length>0)return void i.push(u(e,o[0],o[1],r));if(!n.has(a)){var c=o[1];s(e,t,r,c),n.add(a)}}})),n.promise.all(i)},l=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(ks("json.schema.duplicateid","Duplicate id declaration: '{0}'",n)):t.set(i,e)}})),t};return c(i,i,t).then((function(e){return new xs(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&&o.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 a in i){var s=a,u=i[s];"object"===typeof u&&o.push(u)}}},a=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 a=0,s=i;a<s.length;a++){var u=s[a];"object"===typeof u&&o.push(u)}}},o=[e],s=o.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),a(s.anyOf,s.allOf,s.oneOf,s.items)),s=o.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,a=t.root.properties;i<a.length;i++){var o=a[i];if("$schema"===o.keyNode.value&&"string"===(null===(r=o.valueNode)||void 0===r?void 0:r.type)){var s=o.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 Cs.parse(e).with({fragment:null,query:null}).toString()}catch(qs){return e}}(e),i=0,a=this.filePatternAssociations;i<a.length;i++){var o=a[i];if(o.matchesPattern(r))for(var s=0,u=o.getURIs();s<u.length;s++){var c=u[s];t[c]||(n.push(c),t[c]=!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=Ts(n);return this.getOrAddSchemaHandle(r).getResolvedSchema()}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;var i=this.getAssociatedSchemas(e),a=i.length>0?this.createCombinedSchema(e,i).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:a},a},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/"+Ls++;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}(),Ls=0;function Ts(e){try{return Cs.parse(e).toString()}catch(qs){return e}}function Os(e){try{var t=Cs.parse(e);if("file"===t.scheme)return t.fsPath}catch(qs){}return e}function Ps(e,t){var n=[],r=[],i=[],a=-1,o=ea(e.getText(),!1),s=o.scan();function u(e){n.push(e),r.push(i.length)}for(;17!==s;){switch(s){case 1:case 3:var c={startLine:h=e.positionAt(o.getTokenOffset()).line,endLine:h,kind:1===s?"object":"array"};i.push(c);break;case 2:case 4:var l=2===s?"object":"array";if(i.length>0&&i[i.length-1].kind===l){c=i.pop();var f=e.positionAt(o.getTokenOffset()).line;c&&f>c.startLine+1&&a!==c.startLine&&(c.endLine=f-1,u(c),a=c.startLine)}break;case 13:var h=e.positionAt(o.getTokenOffset()).line,d=e.positionAt(o.getTokenOffset()+o.getTokenLength()).line;1===o.getTokenError()&&h+1<e.lineCount?o.setPosition(e.offsetAt(ci.create(h+1,0))):h<d&&(u({startLine:h,endLine:d,kind:ki.Comment}),a=h);break;case 12:var m=e.getText().substr(o.getTokenOffset(),o.getTokenLength()).match(/^\/\/\s*#(region\b)|(endregion\b)/);if(m){f=e.positionAt(o.getTokenOffset()).line;if(m[1]){c={startLine:f,endLine:f,kind:ki.Region};i.push(c)}else{for(var p=i.length-1;p>=0&&i[p].kind!==ki.Region;)p--;if(p>=0){c=i[p];i.length=p,f>c.startLine&&a!==c.startLine&&(c.endLine=f,u(c),a=c.startLine)}}}}s=o.scan()}var g=t&&t.rangeLimit;if("number"!==typeof g||n.length<=g)return n;t&&t.onRangeLimitExceeded&&t.onRangeLimitExceeded(e.uri);for(var v=[],y=0,b=r;y<b.length;y++){(S=b[y])<30&&(v[S]=(v[S]||0)+1)}var C=0,w=0;for(p=0;p<v.length;p++){var _=v[p];if(_){if(_+C>g){w=p;break}C+=_}}var k=[];for(p=0;p<n.length;p++){var S;"number"===typeof(S=r[p])&&(S<w||S===w&&C++<g)&&k.push(n[p])}return k}function Is(e,t,n){function r(t,n){return fi.create(e.positionAt(t),e.positionAt(n))}var i=ea(e.getText(),!0);function a(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),o=n.getNodeFromOffset(i,!0),s=[];o;){switch(o.type){case"string":case"object":case"array":var u=o.offset+1,c=o.offset+o.length-1;u<c&&i>=u&&i<=c&&s.push(r(u,c)),s.push(r(o.offset,o.offset+o.length));break;case"number":case"boolean":case"null":case"property":s.push(r(o.offset,o.offset+o.length))}if("property"===o.type||o.parent&&"array"===o.parent.type){var l=a(o.offset+o.length,5);-1!==l&&s.push(r(o.offset,l))}o=o.parent}for(var f=void 0,h=s.length-1;h>=0;h--)f=ao.create(s[h],f);return f||(f=ao.create(fi.create(t,t))),f}))}function Ms(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 a=r.valueNode.value,o=function(e,t){var n=function(e){if("#"===e)return[];if("#"!==e[0]||"/"!==e[1])return null;return e.substring(2).split(/\//).map(Vs)}(t);if(!n)return null;return Ds(n,e.root)}(t,a);if(o){var s=e.positionAt(o.offset);n.push({target:"".concat(e.uri,"#").concat(s.line+1,",").concat(s.character+1),range:Rs(e,r.valueNode)})}}return!0})),Promise.resolve(n)}function Rs(e,t){return fi.create(e.positionAt(t.offset+1),e.positionAt(t.offset+t.length-1))}function Ds(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?Ds(e,r.valueNode):null}if(t&&"array"===t.type&&n.match(/^(0|[1-9][0-9]*)$/)){var i=Number.parseInt(n),a=t.items[i];return a?Ds(e,a):null}return null}function Vs(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Fs(e){var t=e.promiseConstructor||Promise,n=new Ns(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(vs);var r=new Xo(n,e.contributions,t,e.clientCapabilities),i=new Zo(n,e.contributions,t),a=new us(n),o=new ts(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach((function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)})),o.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:o.doValidation.bind(o),getLanguageStatus:o.getLanguageStatus.bind(o),parseJSONDocument:function(e){return Go(e,{collectComments:!0})},newJSONDocument:function(e,t){return function(e,t){return void 0===t&&(t=[]),new $o(e,t,[])}(e,t)},getMatchingSchemas:n.getMatchingSchemas.bind(n),doResolve:r.doResolve.bind(r),doComplete:r.doComplete.bind(r),findDocumentSymbols:a.findDocumentSymbols.bind(a),findDocumentSymbols2:a.findDocumentSymbols2.bind(a),findDocumentColors:a.findDocumentColors.bind(a),getColorPresentations:a.getColorPresentations.bind(a),doHover:i.doHover.bind(i),getFoldingRanges:Ps,getSelectionRanges:Is,findDefinition:function(){return Promise.resolve([])},findLinks:Ms,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 a={tabSize:n?n.tabSize:4,insertSpaces:!0===(null===n||void 0===n?void 0:n.insertSpaces),insertFinalNewline:!0===(null===n||void 0===n?void 0:n.insertFinalNewline),eol:"\n"};return function(e,t,n){return ni(e,t,n)}(e.getText(),r,a).map((function(t){return Fi.replace(fi.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)}))}}}"undefined"!==typeof fetch&&(_s=function(e){return fetch(e).then((function(e){return e.text()}))});var Ks=function(){function e(t,n){u(this,e),r(this,"_ctx",void 0),r(this,"_languageService",void 0),r(this,"_languageSettings",void 0),r(this,"_languageId",void 0),this._ctx=t,this._languageSettings=n.languageSettings,this._languageId=n.languageId,this._languageService=Fs({workspaceContext:{resolveRelativePath:function(e,t){return function(e,t){if(function(e){return e.charCodeAt(0)===js}(t)){var n=Cs.parse(e),r=t.split("/");return n.with({path:Bs(r)}).toString()}return function(e){for(var t=Cs.parse(e),n=t.path.split("/"),r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];for(var s=0,u=i;s<u.length;s++){var c=u[s];n.push.apply(n,o(c.split("/")))}return t.with({path:Bs(n)}).toString()}(e,t)}(t.substr(0,t.lastIndexOf("/")+1),e)}},schemaRequestService:n.enableSchemaRequest?_s:void 0}),this._languageService.configure(this._languageSettings)}return l(e,[{key:"doValidation",value:function(){var e=t(h().mark((function e(t){var n,r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=this._getTextDocument(t))){e.next=4;break}return r=this._languageService.parseJSONDocument(n),e.abrupt("return",this._languageService.doValidation(n,r,this._languageSettings));case 4:return e.abrupt("return",Promise.resolve([]));case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"doComplete",value:function(){var e=t(h().mark((function e(t,n){var r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",null);case 3:return i=this._languageService.parseJSONDocument(r),e.abrupt("return",this._languageService.doComplete(r,n,i));case 5:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"doResolve",value:function(){var e=t(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._languageService.doResolve(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"doHover",value:function(){var e=t(h().mark((function e(t,n){var r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",null);case 3:return i=this._languageService.parseJSONDocument(r),e.abrupt("return",this._languageService.doHover(r,n,i));case 5:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"format",value:function(){var e=t(h().mark((function e(t,n,r){var i,a;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return a=this._languageService.format(i,n,r),e.abrupt("return",Promise.resolve(a));case 5:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"resetSchema",value:function(){var e=t(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve(this._languageService.resetSchema(t)));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"findDocumentSymbols",value:function(){var e=t(h().mark((function e(t){var n,r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return r=this._languageService.parseJSONDocument(n),i=this._languageService.findDocumentSymbols(n,r),e.abrupt("return",Promise.resolve(i));case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"findDocumentColors",value:function(){var e=t(h().mark((function e(t){var n,r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return r=this._languageService.parseJSONDocument(n),i=this._languageService.findDocumentColors(n,r),e.abrupt("return",Promise.resolve(i));case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getColorPresentations",value:function(){var e=t(h().mark((function e(t,n,r){var i,a,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return a=this._languageService.parseJSONDocument(i),o=this._languageService.getColorPresentations(i,a,n,r),e.abrupt("return",Promise.resolve(o));case 6:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"getFoldingRanges",value:function(){var e=t(h().mark((function e(t,n){var r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return i=this._languageService.getFoldingRanges(r,n),e.abrupt("return",Promise.resolve(i));case 5:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"getSelectionRanges",value:function(){var e=t(h().mark((function e(t,n){var r,i,a;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._getTextDocument(t)){e.next=3;break}return e.abrupt("return",[]);case 3:return i=this._languageService.parseJSONDocument(r),a=this._languageService.getSelectionRanges(r,n,i),e.abrupt("return",Promise.resolve(a));case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"_getTextDocument",value:function(e){var t,n=s(this._ctx.getMirrorModels());try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.uri.toString()===e)return ho.create(e,this._languageId,r.version,r.getValue())}}catch(i){n.e(i)}finally{n.f()}return null}}]),e}(),js="/".charCodeAt(0),Us=".".charCodeAt(0);function Bs(e){var t,n=[],r=s(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;0===i.length||1===i.length&&i.charCodeAt(0)===Us||(2===i.length&&i.charCodeAt(0)===Us&&i.charCodeAt(1)===Us?n.pop():n.push(i))}}catch(o){r.e(o)}finally{r.f()}e.length>1&&0===e[e.length-1].length&&n.push("");var a=n.join("/");return 0===e[0].length&&(a="/"+a),a}self.onmessage=function(){Xr((function(e,t){return new Ks(e,t)}))}}()}();