You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
122 KiB
2 lines
122 KiB
/*! For license information please see editor.worker.js.LICENSE.txt */
|
|
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/h5educoderbuild/",n(n.s=6)}([function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return f}));var i=!1,o=!1,s=void 0,u=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||u){if("object"==typeof e){i="win32"===e.platform,"darwin"===e.platform,"linux"===e.platform;var a=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).VSCODE_NLS_CONFIG;if(a)try{var l=JSON.parse(a);l.availableLanguages["*"],l.locale,l._translationsConfigFile}catch(r){}}}else i=0<=(s=navigator.userAgent).indexOf("Windows"),0<=s.indexOf("Macintosh"),s.indexOf("Macintosh"),0<=s.indexOf("Linux"),o=!0;var h=i,c=o,f="object"==typeof self?self:"object"==typeof r?r:{};!function(){if(f.setImmediate)return f.setImmediate.bind(f);if("function"!=typeof f.postMessage||f.importScripts){if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);Promise.resolve()}else{var t=[];f.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void i.callback()}}))}}()}).call(this,n(2),n(1))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],h=!1,c=-1;function f(){h&&a&&(h=!1,a.length?l=a.concat(l):c=-1,l.length&&d())}function d(){if(!h){var e=u(f);h=!0;for(var t=l.length;t;){for(a=l,l=[];++c<t;)a&&a[c].run();c=-1,t=l.length}a=null,h=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new m(e,t)),1!==l.length||h||u(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(function(e,t){!function(){"use strict";function n(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}var r=setTimeout;function i(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(n){return void a(t.promise,n)}u(t.promise,r)}else(1===e._state?u:a)(t.promise,e._value)}))):e._deferreds.push(t)}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void l(e);if("function"===typeof n)return void c(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,l(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function h(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,u(t,e))}),(function(e){n||(n=!0,a(t,e))}))}catch(e){if(n)return;n=!0,a(t,e)}}o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new h(e,t,n)),n},o.prototype.finally=n,o.all=function(e){return new o((function(t,n){if(!e||"undefined"===typeof e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var i=r.length;function o(e,s){try{if(s&&("object"===typeof s||"function"===typeof s)){var u=s.then;if("function"===typeof u)return void u.call(s,(function(t){o(e,t)}),n)}r[e]=s,0===--i&&t(r)}catch(s){n(s)}}for(var s=0;s<r.length;s++)o(s,r[s])}))},o.resolve=function(e){return e&&"object"===typeof e&&e.constructor===o?e:new o((function(t){t(e)}))},o.reject=function(e){return new o((function(t,n){n(e)}))},o.race=function(e){return new o((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},o._immediateFn="function"===typeof e&&function(t){e(t)}||function(e){r(e,0)},o._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var f=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof t)return t;throw new Error("unable to locate global object")}();"Promise"in f?f.Promise.prototype.finally||(f.Promise.prototype.finally=n):f.Promise=o}()}).call(this,n(4).setImmediate,n(1))},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(5),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(1))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,s,u=1,a={},l=!1,h=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,r="[object process]"==={}.toString.call(e.process)?function(e){t.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",m,!1):e.attachEvent("onmessage",m),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){o.port2.postMessage(e)}):h&&"onreadystatechange"in h.createElement("script")?(i=h.documentElement,function(e){var t=h.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(d,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return a[u]=i,r(u),u++},c.clearImmediate=f}function f(e){delete a[e]}function d(e){if(l)setTimeout(d,0,e);else{var t=a[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),l=!1}}}}function m(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&d(+t.data.slice(s.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(1),n(2))},function(e,t,n){"use strict";function r(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}n.r(t);var i=new(r.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},r.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},r.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},r);function o(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}var s="Canceled";function u(e){return e instanceof Error&&e.name===s&&e.message===s}function a(e){0}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(a),{dispose:function(){return t=e,Array.isArray(t)?(t.forEach((function(e){e&&(a(),e.dispose())})),[]):t?(a(),t.dispose(),t):void 0;var t}}}var h=(c.prototype.dispose=function(){this._isDisposed||(a(),this._isDisposed=!0,this.clear())},c.prototype.clear=function(){this._toDispose.forEach((function(e){return e.dispose()})),this._toDispose.clear()},c.prototype.add=function(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return a(),this._isDisposed||this._toDispose.add(e),e},c);function c(){this._toDispose=new Set,this._isDisposed=!1}var f=(d.prototype.dispose=function(){a(),this._store.dispose()},d.prototype._register=function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)},d.None=Object.freeze({dispose:function(){}}),d);function d(){this._store=new h}function m(){this._isDisposed=!1}Object.defineProperty(m.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),e&&a(),this._value=e)},enumerable:!0,configurable:!0}),m.prototype.clear=function(){this.value=void 0},m.prototype.dispose=function(){this._isDisposed=!0,a(),this._value&&this._value.dispose(),this._value=void 0};var p=n(0);function g(e){for(var t=[],n=0,r=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);n<r.length;n++){var i=r[n];"function"==typeof e[i]&&t.push(i)}return t}function _(e,t){for(var n=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},r={},i=0,o=e;i<o.length;i++){var s=o[i];r[s]=n(s)}return r}Object.prototype.hasOwnProperty;var v,y="$initialize";v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var C,b=(L.prototype.setWorkerId=function(e){this._workerId=e},L.prototype.sendMessage=function(e,t){var n=this,r=String(++this._lastSentReq);return new Promise((function(i,o){n._pendingReplies[r]={resolve:i,reject:o},n._send({vsWorker:n._workerId,req:r,method:e,args:t})}))},L.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},L.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return;var r=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var i=n.err;return n.err.$isError&&((i=new Error).name=n.err.name,i.message=n.err.message,i.stack=n.err.stack),void r.reject(i)}r.resolve(n.res)}else{var s=e.req;this._handler.handleMessage(e.method,e.args).then((function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=o(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:o(e)})}))}},L.prototype._send=function(e){var t=[];if(e.req)for(var n=e,r=0;r<n.args.length;r++)n.args[r]instanceof ArrayBuffer&&t.push(n.args[r]);else(n=e).res instanceof ArrayBuffer&&t.push(n.res);this._handler.sendMessage(e,t)},L);function L(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}function E(e,t,n){var r=C.call(this)||this,i=null;r._worker=r._register(e.create("vs/base/common/worker/simpleWorker",(function(e){r._protocol.handleMessage(e)}),(function(e){i&&i(e)}))),r._protocol=new b({sendMessage:function(e,t){r._worker.postMessage(e,t)},handleMessage:function(e,t){if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),r._protocol.setWorkerId(r._worker.getId());var o=null;void 0!==self.require&&"function"==typeof self.require.getConfig?o=self.require.getConfig():void 0!==self.requirejs&&(o=self.requirejs.s.contexts._.config);var s=g(n);function u(e,t){return r._request(e,t)}return r._onModuleLoaded=r._protocol.sendMessage(y,[r._worker.getId(),JSON.parse(JSON.stringify(o)),t,s]),r._lazyProxy=new Promise((function(e,n){i=n,r._onModuleLoaded.then((function(t){e(_(t,u))}),(function(e){n(e),r._onError("Worker failed to load "+t,e)}))})),r}(function(e,t){function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(E,C=f),E.prototype.getProxyObject=function(){return this._lazyProxy},E.prototype._request=function(e,t){var n=this;return new Promise((function(r,i){n._onModuleLoaded.then((function(){n._protocol.sendMessage(e,t).then(r,i)}),i)}))},E.prototype._onError=function(e,t){};var N=(S.prototype.onmessage=function(e){this._protocol.handleMessage(e)},S.prototype._handleMessage=function(e,t){if(e===y)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(e){return Promise.reject(e)}},S.prototype.initialize=function(e,t,n,r){var i=this;this._protocol.setWorkerId(e);var o=_(r,(function(e,t){return i._protocol.sendMessage(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(g(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,t.catchError=!0,self.require.config(t)),new Promise((function(e,t){self.require([n],(function(n){i._requestHandler=n.create(o),i._requestHandler?e(g(i._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))},S);function S(e,t){var n=this;this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new b({sendMessage:function(t,n){e(t,n)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}var w=(A.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},A.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},A);function A(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}function O(e,t){return(t<<5)-t+e|0}function T(e,t){t=O(149417,t);for(var n=0,r=e.length;n<r;n++)t=O(e.charCodeAt(n),t);return t}var M=(I.prototype.getElements=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},I);function I(e){this.source=e}var P=(x.Assert=function(e,t){if(!e)throw new Error(t)},x);function x(){}var R=(k.Copy=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},k.Copy2=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},k);function k(){}var U=(D.prototype.MarkNextChange=function(){(0<this.m_originalCount||0<this.m_modifiedCount)&&this.m_changes.push(new w(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},D.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},D.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},D.prototype.getChanges=function(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes},D.prototype.getReverseChanges=function(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},D);function D(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}var F=(K._isStringArray=function(e){return 0<e.length&&"string"==typeof e[0]},K._getElements=function(e){var t=e.getElements();if(K._isStringArray(t)){for(var n=new Int32Array(t.length),r=0,i=t.length;r<i;r++)n[r]=T(t[r],0);return[t,n,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]},K.prototype.ElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])},K.prototype.OriginalElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])},K.prototype.ModifiedElementsAreEqual=function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])},K.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)},K.prototype._ComputeDiff=function(e,t,n,r,i){var o=[!1],s=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(s=this.PrettifyChanges(s)),{quitEarly:o[0],changes:s}},K.prototype.ComputeDiffRecursive=function(e,t,n,r,i){for(i[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;e<=t&&n<=r&&this.ElementsAreEqual(t,r);)t--,r--;if(t<e||r<n)return n<=r?(P.Assert(e===t+1,"originalStart should only be one more than originalEnd"),[new w(e,0,n,r-n+1)]):e<=t?(P.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),[new w(e,t-e+1,n,0)]):(P.Assert(e===t+1,"originalStart should only be one more than originalEnd"),P.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),[]);var o=[0],s=[0],u=this.ComputeRecursionPoint(e,t,n,r,o,s,i),a=o[0],l=s[0];if(null!==u)return u;if(i[0])return[new w(e,t-e+1,n,r-n+1)];var h,c=this.ComputeDiffRecursive(e,a,n,l,i);return h=i[0]?[new w(a+1,t-(a+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(a+1,t,l+1,r,i),this.ConcatenateChanges(c,h)},K.prototype.WALKTRACE=function(e,t,n,r,i,o,s,u,a,l,h,c,f,d,m,p,g,_){for(var v,y=null,C=new U,b=t,L=n,E=f[0]-p[0]-r,N=-1073741824,S=this.m_forwardHistory.length-1;E=(M=E+e)===b||M<L&&a[M-1]<a[M+1]?(d=(h=a[M+1])-E-r,h<N&&C.MarkNextChange(),N=h,C.AddModifiedElement(h+1,d),M+1-e):(d=(h=a[M-1]+1)-E-r,h<N&&C.MarkNextChange(),N=h-1,C.AddOriginalElement(h,d+1),M-1-e),0<=S&&(e=(a=this.m_forwardHistory[S])[0],b=1,L=a.length-1),-1<=--S;);if(v=C.getReverseChanges(),_[0]){var A=f[0]+1,O=p[0]+1;if(null!==v&&0<v.length){var T=v[v.length-1];A=Math.max(A,T.getOriginalEnd()),O=Math.max(O,T.getModifiedEnd())}y=[new w(A,c-A+1,O,m-O+1)]}else{C=new U,b=o,L=s,E=f[0]-p[0]-u,N=1073741824,S=g?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var M;E=(M=E+i)===b||M<L&&l[M-1]>=l[M+1]?(d=(h=l[M+1]-1)-E-u,N<h&&C.MarkNextChange(),N=h+1,C.AddOriginalElement(h+1,d+1),M+1-i):(d=(h=l[M-1])-E-u,N<h&&C.MarkNextChange(),N=h,C.AddModifiedElement(h+1,d+1),M-1-i),0<=S&&(i=(l=this.m_reverseHistory[S])[0],b=1,L=l.length-1)}while(-1<=--S);y=C.getChanges()}return this.ConcatenateChanges(v,y)},K.prototype.ComputeRecursionPoint=function(e,t,n,r,i,o,s){var u=0,a=0,l=0,h=0,c=0,f=0;e--,n--,o[i[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var d=t-e+(r-n),m=1+d,p=new Int32Array(m),g=new Int32Array(m),_=r-n,v=t-e,y=e-n,C=t-r,b=(v-_)%2==0;p[_]=e,g[v]=t,s[0]=!1;for(var L=1;L<=d/2+1;L++){var E=0,N=0;l=this.ClipDiagonalBound(_-L,L,_,m),h=this.ClipDiagonalBound(_+L,L,_,m);for(var S=l;S<=h;S+=2){a=(u=S===l||S<h&&p[S-1]<p[S+1]?p[S+1]:p[S-1]+1)-(S-_)-y;for(var A=u;u<t&&a<r&&this.ElementsAreEqual(u+1,a+1);)u++,a++;if(E+N<(p[S]=u)+a&&(E=u,N=a),!b&&Math.abs(S-v)<=L-1&&u>=g[S])return i[0]=u,o[0]=a,A<=g[S]&&L<=1448?this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s):null}var O=(E-e+(N-n)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(E,O))return s[0]=!0,i[0]=E,o[0]=N,0<O&&L<=1448?this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s):[new w(++e,t-e+1,++n,r-n+1)];for(c=this.ClipDiagonalBound(v-L,L,v,m),f=this.ClipDiagonalBound(v+L,L,v,m),S=c;S<=f;S+=2){for(a=(u=S===c||S<f&&g[S-1]>=g[S+1]?g[S+1]-1:g[S-1])-(S-v)-C,A=u;e<u&&n<a&&this.ElementsAreEqual(u,a);)u--,a--;if(g[S]=u,b&&Math.abs(S-_)<=L&&u<=p[S])return i[0]=u,o[0]=a,A>=p[S]&&L<=1448?this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s):null}if(L<=1447){var T=new Int32Array(h-l+2);T[0]=_-l+1,R.Copy2(p,l,T,1,h-l+1),this.m_forwardHistory.push(T),(T=new Int32Array(f-c+2))[0]=v-c+1,R.Copy2(g,c,T,1,f-c+1),this.m_reverseHistory.push(T)}}return this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s)},K.prototype.PrettifyChanges=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,o=0<n.originalLength,s=0<n.modifiedLength;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)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(t=e.length-1;0<=t;t--){if(n=e[t],(i=r=0)<t){var a=e[t-1];0<a.originalLength&&(r=a.originalStart+a.originalLength),0<a.modifiedLength&&(i=a.modifiedStart+a.modifiedLength)}o=0<n.originalLength,s=0<n.modifiedLength;for(var l=0,h=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),c=1;;c++){var f=n.originalStart-c,d=n.modifiedStart-c;if(f<r||d<i)break;if(o&&!this.OriginalElementsAreEqual(f,f+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(d,d+n.modifiedLength))break;var m=this._boundaryScore(f,n.originalLength,d,n.modifiedLength);h<m&&(h=m,l=c)}n.originalStart-=l,n.modifiedStart-=l}return e},K.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},K.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(0<t){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},K.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},K.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(0<t){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},K.prototype._boundaryScore=function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)},K.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return 0<t.length?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return R.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],R.Copy(t,1,r,e.length,t.length-1),r}return r=new Array(e.length+t.length),R.Copy(e,0,r,0,e.length),R.Copy(t,0,r,e.length,t.length),r},K.prototype.ChangesOverlap=function(e,t,n){if(P.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),P.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,o=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new w(r,i,o,s),!0}return n[0]=null,!1},K.prototype.ClipDiagonalBound=function(e,t,n,r){if(0<=e&&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},K);function K(e,t,n){void 0===n&&(n=null),this.ContinueProcessingPredicate=n;var r=K._getElements(e),i=r[0],o=r[1],s=r[2],u=K._getElements(t),a=u[0],l=u[1],h=u[2];this._hasStrings=s&&h,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=a,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}var q,W,B,H,j=(q=function(e,t){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Y={done:!0,value:void 0};B=W=W||{},H={next:function(){return Y}},B.empty=function(){return H},B.single=function(e){var t=!1;return{next:function(){return t?Y:{done:!(t=!0),value:e}}}},B.fromArray=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return n<=t?Y:{done:!1,value:e[t++]}}}},B.fromNativeIterator=function(e){return{next:function(){var t=e.next();return t.done?Y:{done:!1,value:t.value}}}},B.from=function(e){return e?Array.isArray(e)?B.fromArray(e):e:B.empty()},B.map=function(e,t){return{next:function(){var n=e.next();return n.done?Y:{done:!1,value:t(n.value)}}}},B.filter=function(e,t){return{next:function(){for(;;){var n=e.next();if(n.done)return Y;if(t(n.value))return{done:!1,value:n.value}}}}},B.forEach=function(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)},B.collect=function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var n=[];if(0===t)return n;for(var r=0,i=e.next();!i.done&&(n.push(i.value),!(++r>=t));i=e.next());return n},B.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=0;return{next:function(){if(n>=e.length)return Y;var t=e[n].next();return t.done?(n++,this.next()):t}}},B.chain=function(e){return new V(e)};var V=(G.prototype.next=function(){return this.it.next()},G);function G(e){this.it=e}var z,Q=(X.prototype.first=function(){return this.index=this.start,this.current()},X.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},X.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},X);function X(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}function Z(e,t,n,r){return void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),z.call(this,e,t,n,r)||this}j(Z,z=Q),Z.prototype.current=function(){return z.prototype.current.call(this)},Z.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},Z.prototype.first=function(){return this.index=this.start,this.current()},Z.prototype.last=function(){return this.index=this.end-1,this.current()},Z.prototype.parent=function(){return null};var $,J,ee=($=function(e,t){return($=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}$(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),te=/^\w[\w\d+.-]*$/,ne=/^\//,re=/^\/\//,ie="/",oe=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,se=(ue.isUri=function(e){return e instanceof ue||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString},Object.defineProperty(ue.prototype,"fsPath",{get:function(){return pe(this)},enumerable:!0,configurable:!0}),ue.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new he(t,n,r,i,o)},ue.parse=function(e,t){void 0===t&&(t=!1);var n=oe.exec(e);return n?new he(n[2]||"",ve(n[4]||""),ve(n[5]||""),ve(n[7]||""),ve(n[9]||""),t):new he("","","","","")},ue.file=function(e){var t="";if(p.c&&(e=e.replace(/\\/g,ie)),e[0]===ie&&e[1]===ie){var n=e.indexOf(ie,2);e=-1===n?(t=e.substring(2),ie):(t=e.substring(2,n),e.substring(n)||ie)}return new he("file",t,e,"","")},ue.from=function(e){return new he(e.scheme,e.authority,e.path,e.query,e.fragment)},ue.prototype.toString=function(e){return void 0===e&&(e=!1),ge(this,e)},ue.prototype.toJSON=function(){return this},ue.revive=function(e){if(e){if(e instanceof ue)return e;var t=new he(e);return t._formatted=e.external,t._fsPath=e._sep===le?e.fsPath:null,t}return e},ue);function ue(e,t,n,r,i,o){var s;void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(s=e)||o?s:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ie&&(t=ie+t):t=ie}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!te.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ne.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(re.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 ("//")')}(this,o))}var ae,le=p.c?1:void 0,he=(ee(ce,ae=se),Object.defineProperty(ce.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=pe(this)),this._fsPath},enumerable:!0,configurable:!0}),ce.prototype.toString=function(e){return void 0===e&&(e=!1),e?ge(this,!0):(this._formatted||(this._formatted=ge(this,!1)),this._formatted)},ce.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=le),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},ce);function ce(){var e=null!==ae&&ae.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}var fe=((J={})[58]="%3A",J[47]="%2F",J[63]="%3F",J[35]="%23",J[91]="%5B",J[93]="%5D",J[64]="%40",J[33]="%21",J[36]="%24",J[38]="%26",J[39]="%27",J[40]="%28",J[41]="%29",J[42]="%2A",J[43]="%2B",J[44]="%2C",J[59]="%3B",J[61]="%3D",J[32]="%20",J);function de(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(97<=o&&o<=122||65<=o&&o<=90||48<=o&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var s=fe[o];void 0!==s?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function me(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+=fe[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function pe(e){var t;return t=e.authority&&1<e.path.length&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(65<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=90||97<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,p.c&&(t=t.replace(/\//g,"\\")),t}function ge(e,t){var n=t?me:de,r="",i=e.scheme,o=e.authority,s=e.path,u=e.query,a=e.fragment;if(i&&(r+=i,r+=":"),!o&&"file"!==i||(r+=ie,r+=ie),o){var l=o.indexOf("@");if(-1!==l){var h=o.substr(0,l);o=o.substr(l+1),-1===(l=h.indexOf(":"))?r+=n(h,!1):(r+=n(h.substr(0,l),!1),r+=":",r+=n(h.substr(l+1),!1)),r+="@"}-1===(l=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,l),!1),r+=o.substr(l))}if(s){if(3<=s.length&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))65<=(c=s.charCodeAt(1))&&c<=90&&(s="/"+String.fromCharCode(c+32)+":"+s.substr(3));else if(2<=s.length&&58===s.charCodeAt(1)){var c;65<=(c=s.charCodeAt(0))&&c<=90&&(s=String.fromCharCode(c+32)+":"+s.substr(2))}r+=n(s,!0)}return u&&(r+="?",r+=n(u,!1)),a&&(r+="#",r+=t?a:de(a,!1)),r}var _e=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ve(e){return e.match(_e)?e.replace(_e,(function(e){return function t(n){try{return decodeURIComponent(n)}catch(e){return 3<n.length?n.substr(0,3)+t(n.substr(3)):n}}(e)})):e}var ye=(Ce.prototype.with=function(e,t){return void 0===e&&(e=this.lineNumber),void 0===t&&(t=this.column),e===this.lineNumber&&t===this.column?this:new Ce(e,t)},Ce.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},Ce.prototype.equals=function(e){return Ce.equals(this,e)},Ce.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},Ce.prototype.isBefore=function(e){return Ce.isBefore(this,e)},Ce.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},Ce.prototype.isBeforeOrEqual=function(e){return Ce.isBeforeOrEqual(this,e)},Ce.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},Ce.compare=function(e,t){var n=0|e.lineNumber,r=0|t.lineNumber;return n!=r?n-r:(0|e.column)-(0|t.column)},Ce.prototype.clone=function(){return new Ce(this.lineNumber,this.column)},Ce.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},Ce.lift=function(e){return new Ce(e.lineNumber,e.column)},Ce.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},Ce);function Ce(e,t){this.lineNumber=e,this.column=t}var be=(Le.prototype.isEmpty=function(){return Le.isEmpty(this)},Le.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},Le.prototype.containsPosition=function(e){return Le.containsPosition(this,e)},Le.containsPosition=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)},Le.prototype.containsRange=function(e){return Le.containsRange(this,e)},Le.containsRange=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)},Le.prototype.strictContainsRange=function(e){return Le.strictContainsRange(this,e)},Le.strictContainsRange=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)},Le.prototype.plusRange=function(e){return Le.plusRange(this,e)},Le.plusRange=function(e,t){var n,r,i,o;return r=t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,e.startColumn),o=t.endLineNumber>e.endLineNumber?(i=t.endLineNumber,t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,e.endColumn),new Le(n,r,i,o)},Le.prototype.intersectRanges=function(e){return Le.intersectRanges(this,e)},Le.intersectRanges=function(e,t){var n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,s=t.startLineNumber,u=t.startColumn,a=t.endLineNumber,l=t.endColumn;return n<s?(n=s,r=u):n===s&&(r=Math.max(r,u)),a<i?(i=a,o=l):i===a&&(o=Math.min(o,l)),i<n||n===i&&o<r?null:new Le(n,r,i,o)},Le.prototype.equalsRange=function(e){return Le.equalsRange(this,e)},Le.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},Le.prototype.getEndPosition=function(){return new ye(this.endLineNumber,this.endColumn)},Le.prototype.getStartPosition=function(){return new ye(this.startLineNumber,this.startColumn)},Le.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},Le.prototype.setEndPosition=function(e,t){return new Le(this.startLineNumber,this.startColumn,e,t)},Le.prototype.setStartPosition=function(e,t){return new Le(e,t,this.endLineNumber,this.endColumn)},Le.prototype.collapseToStart=function(){return Le.collapseToStart(this)},Le.collapseToStart=function(e){return new Le(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)},Le.fromPositions=function(e,t){return void 0===t&&(t=e),new Le(e.lineNumber,e.column,t.lineNumber,t.column)},Le.lift=function(e){return e?new Le(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null},Le.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},Le.areIntersectingOrTouching=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)},Le.areIntersecting=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)},Le.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,r=0|t.startLineNumber;if(n!=r)return n-r;var i=0|e.startColumn,o=0|t.startColumn;if(i!=o)return i-o;var s=0|e.endLineNumber,u=0|t.endLineNumber;return s!=u?s-u:(0|e.endColumn)-(0|t.endColumn)}return(e?1:0)-(t?1:0)},Le.compareRangesUsingEnds=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},Le.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},Le);function Le(e,t,n,r){n<e||e===n&&r<t?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}function Ee(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,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,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,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,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,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,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,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,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,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,2259,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,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,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,6848,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,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,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,9776,9783,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,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,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,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,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function Ne(e,t,n,r){return new F(e,t,n).ComputeDiff(r)}String.fromCharCode(65279),Ee.getInstance=function(){return Ee._INSTANCE||(Ee._INSTANCE=new Ee),Ee._INSTANCE},Ee.prototype.getGraphemeBreakType=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},Ee._INSTANCE=null;var Se=(we.prototype.getElements=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},we.prototype.getStartLineNumber=function(e){return e+1},we.prototype.getEndLineNumber=function(e){return e+1},we.prototype.createCharSequence=function(e,t,n){for(var r=[],i=[],o=[],s=0,u=t;u<=n;u++)for(var a=this.lines[u],l=e?this._startColumns[u]:1,h=e?this._endColumns[u]:a.length+1,c=l;c<h;c++)r[s]=a.charCodeAt(c-1),i[s]=u+1,o[s]=c,s++;return new Ae(r,i,o)},we);function we(e){for(var t=[],n=[],r=0,i=e.length;r<i;r++)t[r]=ke(e[r],1),n[r]=Ue(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}var Ae=(Oe.prototype.getElements=function(){return this._charCodes},Oe.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},Oe.prototype.getStartColumn=function(e){return this._columns[e]},Oe.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},Oe.prototype.getEndColumn=function(e){return this._columns[e]+1},Oe);function Oe(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}var Te=(Me.createFromDiffChange=function(e,t,n){var r,i,o,s,u,a,l,h;return s=0===e.originalLength?o=i=r=0:(r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),t.getEndColumn(e.originalStart+e.originalLength-1)),h=0===e.modifiedLength?l=a=u=0:(u=n.getStartLineNumber(e.modifiedStart),a=n.getStartColumn(e.modifiedStart),l=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new Me(r,i,o,s,u,a,l,h)},Me);function Me(e,t,n,r,i,o,s,u){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=s,this.modifiedEndColumn=u}var Ie=(Pe.createFromDiffResult=function(e,t,n,r,i,o,s){var u,a,l,h,c=void 0;if(a=0===t.originalLength?(u=n.getStartLineNumber(t.originalStart)-1,0):(u=n.getStartLineNumber(t.originalStart),n.getEndLineNumber(t.originalStart+t.originalLength-1)),h=0===t.modifiedLength?(l=r.getStartLineNumber(t.modifiedStart)-1,0):(l=r.getStartLineNumber(t.modifiedStart),r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&0<t.originalLength&&t.originalLength<20&&0<t.modifiedLength&&t.modifiedLength<20&&i()){var f=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),d=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1),m=Ne(f,d,i,!0).changes;s&&(m=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 o=e[r],s=o.originalStart-(n.originalStart+n.originalLength),u=o.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(s,u)<3?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}(m)),c=[];for(var p=0,g=m.length;p<g;p++)c.push(Te.createFromDiffChange(m[p],f,d))}return new Pe(u,a,l,h,c)},Pe);function Pe(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}var xe=(Re.prototype.computeDiff=function(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{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=Ne(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var r=[],i=0,o=t.length;i<o;i++)r.push(Ie.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[i],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:r}}for(var s=[],u=0,a=0,l=(i=-1,t.length);i<l;i++){for(var h=i+1<l?t[i+1]:null,c=h?h.originalStart:this.originalLines.length,f=h?h.modifiedStart:this.modifiedLines.length;u<c&&a<f;){var d=this.originalLines[u],m=this.modifiedLines[a];if(d!==m){for(var p=ke(d,1),g=ke(m,1);1<p&&1<g&&d.charCodeAt(p-2)===m.charCodeAt(g-2);)p--,g--;(1<p||1<g)&&this._pushTrimWhitespaceCharChange(s,u+1,1,p,a+1,1,g);for(var _=Ue(d,1),v=Ue(m,1),y=d.length+1,C=m.length+1;_<y&&v<C&&d.charCodeAt(_-1)===d.charCodeAt(v-1);)_++,v++;(_<y||v<C)&&this._pushTrimWhitespaceCharChange(s,u+1,_,y,a+1,v,C)}u++,a++}h&&(s.push(Ie.createFromDiffResult(this.shouldIgnoreTrimWhitespace,h,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),u+=h.originalLength,a+=h.modifiedLength)}return{quitEarly:n,changes:s}},Re.prototype._pushTrimWhitespaceCharChange=function(e,t,n,r,i,o,s){if(!this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,s)){var u=void 0;this.shouldComputeCharChanges&&(u=[new Te(t,n,t,r,i,o,i,s)]),e.push(new Ie(t,t,i,i,u))}},Re.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,r,i,o,s){var u=e.length;if(0===u)return!1;var a=e[u-1];return 0!==a.originalEndLineNumber&&0!==a.modifiedEndLineNumber&&a.originalEndLineNumber+1===t&&a.modifiedEndLineNumber+1===i&&(a.originalEndLineNumber=t,a.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&a.charChanges&&a.charChanges.push(new Te(t,n,t,r,i,o,i,s)),!0)},Re);function Re(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new Se(e),this.modified=new Se(t),this.continueLineDiff=De(n.maxComputationTime),this.continueCharDiff=De(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}function ke(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 Ue(e,t){var n=function(e,t){void 0===t&&(t=e.length-1);for(var n=t;0<=n;n--){var r=e.charCodeAt(n);if(32!==r&&9!==r)return n}return-1}(e);return-1===n?t:n+2}function De(e){if(0===e)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}function Fe(e){return e<0?0:255<e?255:0|e}function Ke(e){return e<0?0:4294967295<e?4294967295:0|e}var qe=function(e,t){this.index=e,this.remainder=t},We=(Be.prototype.insertValues=function(e,t){e=Ke(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),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},Be.prototype.changeValue=function(e,t){return e=Ke(e),t=Ke(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},Be.prototype.removeValues=function(e,t){e=Ke(e),t=Ke(t);var n=this.values,r=this.prefixSum;if(e>=n.length)return!1;var i=n.length-e;return i<=t&&(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),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},Be.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},Be.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Ke(e),this._getAccumulatedValue(e))},Be.prototype._getAccumulatedValue=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]},Be.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,r=0,i=0,o=0;t<=n;)if(r=t+(n-t)/2|0,e<(o=(i=this.prefixSum[r])-this.values[r]))n=r-1;else{if(!(i<=e))break;t=r+1}return new qe(r,e-o)},Be);function Be(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}var He=(je.prototype.dispose=function(){this._lines.length=0},je.prototype.getText=function(){return this._lines.join(this._eol)},je.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t<n.length;t++){var r=n[t];this._acceptDeleteRange(r.range),this._acceptInsertText(new ye(r.range.startLineNumber,r.range.startColumn),r.text)}this._versionId=e.versionId},je.prototype._ensureLineStarts=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 We(n)}},je.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},je.prototype._acceptDeleteRange=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))}},je.prototype._acceptInsertText=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))}},je);function je(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null}var Ye=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";n<r.length;n++){var i=r[n];0<=e.indexOf(i)||(t+="\\"+i)}return t+="\\s]+)",new RegExp(t,"g")}();var Ve=(Ge._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},Ge.prototype.set=function(e,t){var n=Fe(t);0<=e&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},Ge.prototype.get=function(e){return 0<=e&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},Ge);function Ge(e){var t=Fe(e);this._defaultValue=t,this._asciiMap=Ge._createAsciiMap(t),this._map=new Map}function ze(){this._actual=new Ve(0)}ze.prototype.add=function(e){this._actual.set(e,1)},ze.prototype.has=function(e){return 1===this._actual.get(e)};var Qe=(Xe.prototype.get=function(e,t){return this._data[e*this.cols+t]},Xe.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},Xe);function Xe(e,t,n){for(var r=new Uint8Array(e*t),i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}var Ze=($e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},$e);function $e(e){for(var t=0,n=0,r=0,i=e.length;r<i;r++){var o=e[r],s=o[0];t<(l=o[1])&&(t=l),n<s&&(n=s),n<(h=o[2])&&(n=h)}var u=new Qe(++n,++t,0);for(r=0,i=e.length;r<i;r++){var a=e[r],l=(s=a[0],a[1]),h=a[2];u.set(s,l,h)}this._states=u,this._maxCharCode=t}var Je=null,et=null,tt=(nt._createLink=function(e,t,n,r,i){var o=i-1;do{var s=t.charCodeAt(o);if(2!==e.get(s))break;o--}while(r<o);if(0<r){var u=t.charCodeAt(r-1),a=t.charCodeAt(o);(40===u&&41===a||91===u&&93===a||123===u&&125===a)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}},nt.computeLinks=function(e,t){void 0===t&&(null===Je&&(Je=new Ze([[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]])),t=Je);for(var n=function(){if(null===et){et=new Ve(0);for(var e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026",t=0;t<e.length;t++)et.set(e.charCodeAt(t),1);for(t=0;t<".,;".length;t++)et.set(".,;".charCodeAt(t),2)}return et}(),r=[],i=1,o=e.getLineCount();i<=o;i++){for(var s=e.getLineContent(i),u=s.length,a=0,l=0,h=0,c=1,f=!1,d=!1,m=!1;a<u;){var p=!1,g=s.charCodeAt(a);if(13===c){var _=void 0;switch(g){case 40:f=!0,_=0;break;case 41:_=f?0:1;break;case 91:d=!0,_=0;break;case 93:_=d?0:1;break;case 123:m=!0,_=0;break;case 125:_=m?0:1;break;case 39:_=34===h||96===h?0:1;break;case 34:_=39===h||96===h?0:1;break;case 96:_=39===h||34===h?0:1;break;case 42:_=42===h?1:0;break;case 124:_=124===h?1:0;break;default:_=n.get(g)}1===_&&(r.push(nt._createLink(n,s,i,l,a)),p=!0)}else 12===c?(_=void 0,1===(_=91===g?(d=!0,0):n.get(g))?p=!0:c=13):0===(c=t.nextState(c,g))&&(p=!0);p&&(m=d=f=!(c=1),l=a+1,h=g),a++}13===c&&r.push(nt._createLink(n,s,i,l,u))}return r},nt);function nt(){}var rt=(it.prototype.navigateValueSet=function(e,t,n,r,i){var o;return e&&t&&(o=this.doNavigateValueSet(t,i))?{range:e,value:o}:n&&r&&(o=this.doNavigateValueSet(r,i))?{range:n,value:o}:null},it.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},it.prototype.numberReplace=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||0===r&&!t?null:(r=Math.floor(r*n),r+=t?n:-n,String(r/n))},it.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},it.prototype.valueSetsReplace=function(e,t,n){for(var r=null,i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r},it.prototype.valueSetReplace=function(e,t,n){var r=e.indexOf(t);return 0<=r?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null},it.INSTANCE=new it,it);function it(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}n(3);var ot=(st.Undefined=new st(void 0),st);function st(e){this.element=e,this.next=st.Undefined,this.prev=st.Undefined}var ut=(Object.defineProperty(at.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),at.prototype.isEmpty=function(){return this._first===ot.Undefined},at.prototype.clear=function(){this._first=ot.Undefined,this._last=ot.Undefined,this._size=0},at.prototype.unshift=function(e){return this._insert(e,!1)},at.prototype.push=function(e){return this._insert(e,!0)},at.prototype._insert=function(e,t){var n=this,r=new ot(e);if(this._first===ot.Undefined)this._first=r,this._last=r;else if(t){var i=this._last;((this._last=r).prev=i).next=r}else{var o=this._first;((this._first=r).next=o).prev=r}this._size+=1;var s=!1;return function(){s||(s=!0,n._remove(r))}},at.prototype.shift=function(){if(this._first!==ot.Undefined){var e=this._first.element;return this._remove(this._first),e}},at.prototype.pop=function(){if(this._last!==ot.Undefined){var e=this._last.element;return this._remove(this._last),e}},at.prototype._remove=function(e){if(e.prev!==ot.Undefined&&e.next!==ot.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===ot.Undefined&&e.next===ot.Undefined?(this._first=ot.Undefined,this._last=ot.Undefined):e.next===ot.Undefined?(this._last=this._last.prev,this._last.next=ot.Undefined):e.prev===ot.Undefined&&(this._first=this._first.next,this._first.prev=ot.Undefined);--this._size},at.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===ot.Undefined?Y:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},at.prototype.toArray=function(){for(var e=[],t=this._first;t!==ot.Undefined;t=t.next)e.push(t.element);return e},at);function at(){this._first=ot.Undefined,this._last=ot.Undefined,this._size=0}var lt,ht,ct=(lt=function(e,t){return(lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}lt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function ft(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}!function(e){function t(e){return function(t,n,r){void 0===n&&(n=null);var i,o=!1;return i=e((function(e){if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function n(e,t){return s((function(n,r,i){return void 0===r&&(r=null),e((function(e){return n.call(r,t(e))}),null,i)}))}function r(e,t){return s((function(n,r,i){return void 0===r&&(r=null),e((function(e){t(e),n.call(r,e)}),null,i)}))}function i(e,t){return s((function(n,r,i){return void 0===r&&(r=null),e((function(e){return t(e)&&n.call(r,e)}),null,i)}))}function o(e,t,r){var i=r;return n(e,(function(e){return i=t(i,e)}))}function s(e){var t,n=new mt({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function u(e,t,n,r,i){var o;void 0===n&&(n=100),void 0===r&&(r=!1);var s=void 0,u=void 0,a=0,l=new mt({leakWarningThreshold:i,onFirstListenerAdd:function(){o=e((function(e){a++,s=t(s,e),r&&!u&&(l.fire(s),s=void 0),clearTimeout(u),u=setTimeout((function(){var e=s;u=s=void 0,(!r||1<a)&&l.fire(e),a=0}),n)}))},onLastListenerRemove:function(){o.dispose()}});return l.event}function a(e){var t,n=!0;return i(e,(function(e){var r=n||e!==t;return n=!1,t=e,r}))}e.None=function(){return f.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=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,r){return void 0===n&&(n=null),l.apply(void 0,e.map((function(e){return e((function(e){return t.call(n,e)}),null,r)})))}},e.reduce=o,e.snapshot=s,e.debounce=u,e.stopwatch=function(e){var r=(new Date).getTime();return n(t(e),(function(e){return(new Date).getTime()-r}))},e.latch=a,e.buffer=function(e,t,n){function r(){i&&i.forEach((function(e){return s.fire(e)})),i=null}void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),o=e((function(e){i?i.push(e):s.fire(e)})),s=new mt({onFirstListenerAdd:function(){o=o||e((function(e){return s.fire(e)}))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(r):r())},onLastListenerRemove:function(){o&&o.dispose(),o=null}});return s.event};var h=(c.prototype.map=function(e){return new c(n(this.event,e))},c.prototype.forEach=function(e){return new c(r(this.event,e))},c.prototype.filter=function(e){return new c(i(this.event,e))},c.prototype.reduce=function(e,t){return new c(o(this.event,e,t))},c.prototype.latch=function(){return new c(a(this.event))},c.prototype.debounce=function(e,t,n,r){return void 0===t&&(t=100),void 0===n&&(n=!1),new c(u(this.event,e,t,n,r))},c.prototype.on=function(e,t,n){return this.event(e,t,n)},c.prototype.once=function(e,n,r){return t(this.event)(e,n,r)},c);function c(e){this.event=e}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.fire(n.apply(void 0,e))}void 0===n&&(n=function(e){return e});var i=new mt({onFirstListenerAdd:function(){return e.on(t,r)},onLastListenerRemove:function(){return e.removeListener(t,r)}});return i.event},e.fromDOMEventEmitter=function(e,t,n){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.fire(n.apply(void 0,e))}void 0===n&&(n=function(e){return e});var i=new mt({onFirstListenerAdd:function(){return e.addEventListener(t,r)},onLastListenerRemove:function(){return e.removeEventListener(t,r)}});return i.event},e.fromPromise=function(e){var t=new mt,n=!1;return e.then(void 0,(function(){return null})).then((function(){n?t.fire(void 0):setTimeout((function(){return t.fire(void 0)}),0)})),n=!0,t.event},e.toPromise=function(e){return new Promise((function(n){return t(e)(n)}))}}(ht=ht||{}),ft.prototype.dispose=function(){this._stacks&&this._stacks.clear()},ft.prototype.check=function(e){var t=this,n=-1;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var r=(new Error).stack.split("\n").slice(3).join("\n"),i=this._stacks.get(r)||0;if(this._stacks.set(r,i+1),--this._warnCountdown,this._warnCountdown<=0){var o;this._warnCountdown=.5*n;var s=0;this._stacks.forEach((function(e,t){(!o||s<e)&&(o=t,s=e)}))}return function(){var e=t._stacks.get(r)||0;t._stacks.set(r,e-1)}}};var dt,mt=(Object.defineProperty(pt.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t,n,r){e._listeners||(e._listeners=new ut);var i=e._listeners.isEmpty();i&&e._options&&e._options.onFirstListenerAdd&&e._options.onFirstListenerAdd(e);var o,s,u=e._listeners.push(n?[t,n]:t);return i&&e._options&&e._options.onFirstListenerDidAdd&&e._options.onFirstListenerDidAdd(e),e._options&&e._options.onListenerDidAdd&&e._options.onListenerDidAdd(e,t,n),e._leakageMon&&(o=e._leakageMon.check(e._listeners.size)),s={dispose:function(){o&&o(),s.dispose=pt._noop,e._disposed||(u(),e._options&&e._options.onLastListenerRemove&&(e._listeners&&!e._listeners.isEmpty()||e._options.onLastListenerRemove(e)))}},r instanceof h?r.add(s):Array.isArray(r)&&r.push(s),s}),this._event},enumerable:!0,configurable:!0}),pt.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ut);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;0<this._deliveryQueue.size;){var r=this._deliveryQueue.shift(),o=r[0],s=r[1];try{"function"==typeof o?o.call(void 0,s):o[0].call(o[1],s)}catch(n){u(a=n)||i.onUnexpectedError(a)}}}var a},pt.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},pt._noop=function(){},pt);function pt(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}function gt(e){var t=dt.call(this,e)||this;return t._isPaused=0,t._eventQueue=new ut,t._mergeFn=e&&e.merge,t}function _t(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new mt({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}function vt(){this.buffers=[]}function yt(){var e=this;this.listening=!1,this.inputEvent=ht.None,this.inputEventListener=f.None,this.emitter=new mt({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}ct(gt,dt=mt),gt.prototype.pause=function(){this._isPaused++},gt.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var e=this._eventQueue.toArray();this._eventQueue.clear(),dt.prototype.fire.call(this,this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)dt.prototype.fire.call(this,this._eventQueue.shift())},gt.prototype.fire=function(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):dt.prototype.fire.call(this,e))},Object.defineProperty(_t.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),_t.prototype.add=function(e){var t,n=this,r={event:e,listener:null};return this.events.push(r),this.hasListeners&&this.hook(r),t=function(e){var t,n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}((function(){n.hasListeners&&n.unhook(r);var e=n.events.indexOf(r);n.events.splice(e,1)})),{dispose:function(){a(),t()}}},_t.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},_t.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},_t.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},_t.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},_t.prototype.dispose=function(){this.emitter.dispose()},vt.prototype.wrapEvent=function(e){var t=this;return function(n,r,i){return e((function(e){var i=t.buffers[t.buffers.length-1];i?i.push((function(){return n.call(r,e)})):n.call(r,e)}),void 0,i)}},vt.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n},Object.defineProperty(yt.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),yt.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()};var Ct,bt,Lt=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));(bt=Ct=Ct||{}).isCancellationToken=function(e){return e===bt.None||e===bt.Cancelled||e instanceof Et||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},bt.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ht.None}),bt.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Lt});var Et=(Nt.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(Nt.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(Nt.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?Lt:(this._emitter||(this._emitter=new mt),this._emitter.event)},enumerable:!0,configurable:!0}),Nt.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},Nt);function Nt(){this._isCancelled=!1,this._emitter=null}var St=(Object.defineProperty(wt.prototype,"token",{get:function(){return this._token||(this._token=new Et),this._token},enumerable:!0,configurable:!0}),wt.prototype.cancel=function(){this._token?this._token instanceof Et&&this._token.cancel():this._token=Ct.Cancelled},wt.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Et&&this._token.dispose():this._token=Ct.None},wt);function wt(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}var At=(Ot.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},Ot.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},Ot.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},Ot);function Ot(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}var Tt,Mt,It=new At,Pt=new At,xt=new At;function Rt(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),It.define(e,t),Pt.define(e,n),xt.define(e,r)}function kt(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}Rt(0,"unknown"),Rt(1,"Backspace"),Rt(2,"Tab"),Rt(3,"Enter"),Rt(4,"Shift"),Rt(5,"Ctrl"),Rt(6,"Alt"),Rt(7,"PauseBreak"),Rt(8,"CapsLock"),Rt(9,"Escape"),Rt(10,"Space"),Rt(11,"PageUp"),Rt(12,"PageDown"),Rt(13,"End"),Rt(14,"Home"),Rt(15,"LeftArrow","Left"),Rt(16,"UpArrow","Up"),Rt(17,"RightArrow","Right"),Rt(18,"DownArrow","Down"),Rt(19,"Insert"),Rt(20,"Delete"),Rt(21,"0"),Rt(22,"1"),Rt(23,"2"),Rt(24,"3"),Rt(25,"4"),Rt(26,"5"),Rt(27,"6"),Rt(28,"7"),Rt(29,"8"),Rt(30,"9"),Rt(31,"A"),Rt(32,"B"),Rt(33,"C"),Rt(34,"D"),Rt(35,"E"),Rt(36,"F"),Rt(37,"G"),Rt(38,"H"),Rt(39,"I"),Rt(40,"J"),Rt(41,"K"),Rt(42,"L"),Rt(43,"M"),Rt(44,"N"),Rt(45,"O"),Rt(46,"P"),Rt(47,"Q"),Rt(48,"R"),Rt(49,"S"),Rt(50,"T"),Rt(51,"U"),Rt(52,"V"),Rt(53,"W"),Rt(54,"X"),Rt(55,"Y"),Rt(56,"Z"),Rt(57,"Meta"),Rt(58,"ContextMenu"),Rt(59,"F1"),Rt(60,"F2"),Rt(61,"F3"),Rt(62,"F4"),Rt(63,"F5"),Rt(64,"F6"),Rt(65,"F7"),Rt(66,"F8"),Rt(67,"F9"),Rt(68,"F10"),Rt(69,"F11"),Rt(70,"F12"),Rt(71,"F13"),Rt(72,"F14"),Rt(73,"F15"),Rt(74,"F16"),Rt(75,"F17"),Rt(76,"F18"),Rt(77,"F19"),Rt(78,"NumLock"),Rt(79,"ScrollLock"),Rt(80,";",";","OEM_1"),Rt(81,"=","=","OEM_PLUS"),Rt(82,",",",","OEM_COMMA"),Rt(83,"-","-","OEM_MINUS"),Rt(84,".",".","OEM_PERIOD"),Rt(85,"/","/","OEM_2"),Rt(86,"`","`","OEM_3"),Rt(110,"ABNT_C1"),Rt(111,"ABNT_C2"),Rt(87,"[","[","OEM_4"),Rt(88,"\\","\\","OEM_5"),Rt(89,"]","]","OEM_6"),Rt(90,"'","'","OEM_7"),Rt(91,"OEM_8"),Rt(92,"OEM_102"),Rt(93,"NumPad0"),Rt(94,"NumPad1"),Rt(95,"NumPad2"),Rt(96,"NumPad3"),Rt(97,"NumPad4"),Rt(98,"NumPad5"),Rt(99,"NumPad6"),Rt(100,"NumPad7"),Rt(101,"NumPad8"),Rt(102,"NumPad9"),Rt(103,"NumPad_Multiply"),Rt(104,"NumPad_Add"),Rt(105,"NumPad_Separator"),Rt(106,"NumPad_Subtract"),Rt(107,"NumPad_Decimal"),Rt(108,"NumPad_Divide"),(Mt=Tt=Tt||{}).toString=function(e){return It.keyCodeToStr(e)},Mt.fromString=function(e){return It.strToKeyCode(e)},Mt.toUserSettingsUS=function(e){return Pt.keyCodeToStr(e)},Mt.toUserSettingsGeneral=function(e){return xt.keyCodeToStr(e)},Mt.fromUserSettings=function(e){return Pt.strToKeyCode(e)||xt.strToKeyCode(e)},kt.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},kt.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},kt.prototype.toChord=function(){return new Ut([this])},kt.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode};var Ut=(Dt.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},Dt);function Dt(e){if(0===e.length)throw"parts"?new Error("Illegal argument: parts"):new Error("Illegal argument");this.parts=e}var Ft,Kt,qt=((Ft=function(e,t){return(Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Ft(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(Wt,Kt=be),Wt.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},Wt.prototype.equalsSelection=function(e){return Wt.selectionsEqual(this,e)},Wt.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},Wt.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},Wt.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new Wt(this.startLineNumber,this.startColumn,e,t):new Wt(e,t,this.startLineNumber,this.startColumn)},Wt.prototype.getPosition=function(){return new ye(this.positionLineNumber,this.positionColumn)},Wt.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new Wt(e,t,this.endLineNumber,this.endColumn):new Wt(this.endLineNumber,this.endColumn,e,t)},Wt.fromPositions=function(e,t){return void 0===t&&(t=e),new Wt(e.lineNumber,e.column,t.lineNumber,t.column)},Wt.liftSelection=function(e){return new Wt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},Wt.selectionsArrEqual=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},Wt.isISelection=function(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn},Wt.createWithDirection=function(e,t,n,r,i){return 0===i?new Wt(e,t,n,r):new Wt(n,r,e,t)},Wt);function Wt(e,t,n,r){var i=Kt.call(this,e,t,n,r)||this;return i.selectionStartLineNumber=e,i.selectionStartColumn=t,i.positionLineNumber=n,i.positionColumn=r,i}var Bt,Ht,jt,Yt,Vt,Gt,zt,Qt,Xt,Zt,$t,Jt,en,tn,nn,rn,on,sn,un,an,ln,hn,cn,fn,dn,mn,pn,gn,_n,vn,yn,Cn,bn,Ln,En,Nn,Sn,wn,An,On,Tn,Mn,In,Pn,xn,Rn,kn,Un,Dn,Fn,Kn,qn,Wn,Bn,Hn,jn,Yn,Vn,Gn,zn,Qn,Xn,Zn,$n,Jn,er,tr=(nr.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},nr);function nr(e,t,n){this.offset=0|e,this.type=t,this.language=n}(Ht=Bt=Bt||{})[Ht.Unknown=0]="Unknown",Ht[Ht.Disabled=1]="Disabled",Ht[Ht.Enabled=2]="Enabled",(Yt=jt=jt||{})[Yt.KeepWhitespace=1]="KeepWhitespace",Yt[Yt.InsertAsSnippet=4]="InsertAsSnippet",(Gt=Vt=Vt||{})[Gt.Method=0]="Method",Gt[Gt.Function=1]="Function",Gt[Gt.Constructor=2]="Constructor",Gt[Gt.Field=3]="Field",Gt[Gt.Variable=4]="Variable",Gt[Gt.Class=5]="Class",Gt[Gt.Struct=6]="Struct",Gt[Gt.Interface=7]="Interface",Gt[Gt.Module=8]="Module",Gt[Gt.Property=9]="Property",Gt[Gt.Event=10]="Event",Gt[Gt.Operator=11]="Operator",Gt[Gt.Unit=12]="Unit",Gt[Gt.Value=13]="Value",Gt[Gt.Constant=14]="Constant",Gt[Gt.Enum=15]="Enum",Gt[Gt.EnumMember=16]="EnumMember",Gt[Gt.Keyword=17]="Keyword",Gt[Gt.Text=18]="Text",Gt[Gt.Color=19]="Color",Gt[Gt.File=20]="File",Gt[Gt.Reference=21]="Reference",Gt[Gt.Customcolor=22]="Customcolor",Gt[Gt.Folder=23]="Folder",Gt[Gt.TypeParameter=24]="TypeParameter",Gt[Gt.Snippet=25]="Snippet",(Qt=zt=zt||{})[Qt.Deprecated=1]="Deprecated",(Zt=Xt=Xt||{})[Zt.Invoke=0]="Invoke",Zt[Zt.TriggerCharacter=1]="TriggerCharacter",Zt[Zt.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(Jt=$t=$t||{})[Jt.EXACT=0]="EXACT",Jt[Jt.ABOVE=1]="ABOVE",Jt[Jt.BELOW=2]="BELOW",(tn=en=en||{})[tn.NotSet=0]="NotSet",tn[tn.ContentFlush=1]="ContentFlush",tn[tn.RecoverFromMarkers=2]="RecoverFromMarkers",tn[tn.Explicit=3]="Explicit",tn[tn.Paste=4]="Paste",tn[tn.Undo=5]="Undo",tn[tn.Redo=6]="Redo",(rn=nn=nn||{})[rn.LF=1]="LF",rn[rn.CRLF=2]="CRLF",(sn=on=on||{})[sn.Text=0]="Text",sn[sn.Read=1]="Read",sn[sn.Write=2]="Write",(an=un=un||{})[an.None=0]="None",an[an.Keep=1]="Keep",an[an.Brackets=2]="Brackets",an[an.Advanced=3]="Advanced",an[an.Full=4]="Full",(hn=ln=ln||{})[hn.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",hn[hn.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",hn[hn.accessibilitySupport=2]="accessibilitySupport",hn[hn.accessibilityPageSize=3]="accessibilityPageSize",hn[hn.ariaLabel=4]="ariaLabel",hn[hn.autoClosingBrackets=5]="autoClosingBrackets",hn[hn.autoClosingOvertype=6]="autoClosingOvertype",hn[hn.autoClosingQuotes=7]="autoClosingQuotes",hn[hn.autoIndent=8]="autoIndent",hn[hn.automaticLayout=9]="automaticLayout",hn[hn.autoSurround=10]="autoSurround",hn[hn.codeLens=11]="codeLens",hn[hn.colorDecorators=12]="colorDecorators",hn[hn.comments=13]="comments",hn[hn.contextmenu=14]="contextmenu",hn[hn.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",hn[hn.cursorBlinking=16]="cursorBlinking",hn[hn.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",hn[hn.cursorStyle=18]="cursorStyle",hn[hn.cursorSurroundingLines=19]="cursorSurroundingLines",hn[hn.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",hn[hn.cursorWidth=21]="cursorWidth",hn[hn.disableLayerHinting=22]="disableLayerHinting",hn[hn.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",hn[hn.dragAndDrop=24]="dragAndDrop",hn[hn.emptySelectionClipboard=25]="emptySelectionClipboard",hn[hn.extraEditorClassName=26]="extraEditorClassName",hn[hn.fastScrollSensitivity=27]="fastScrollSensitivity",hn[hn.find=28]="find",hn[hn.fixedOverflowWidgets=29]="fixedOverflowWidgets",hn[hn.folding=30]="folding",hn[hn.foldingStrategy=31]="foldingStrategy",hn[hn.foldingHighlight=32]="foldingHighlight",hn[hn.fontFamily=33]="fontFamily",hn[hn.fontInfo=34]="fontInfo",hn[hn.fontLigatures=35]="fontLigatures",hn[hn.fontSize=36]="fontSize",hn[hn.fontWeight=37]="fontWeight",hn[hn.formatOnPaste=38]="formatOnPaste",hn[hn.formatOnType=39]="formatOnType",hn[hn.glyphMargin=40]="glyphMargin",hn[hn.gotoLocation=41]="gotoLocation",hn[hn.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",hn[hn.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",hn[hn.hover=44]="hover",hn[hn.inDiffEditor=45]="inDiffEditor",hn[hn.letterSpacing=46]="letterSpacing",hn[hn.lightbulb=47]="lightbulb",hn[hn.lineDecorationsWidth=48]="lineDecorationsWidth",hn[hn.lineHeight=49]="lineHeight",hn[hn.lineNumbers=50]="lineNumbers",hn[hn.lineNumbersMinChars=51]="lineNumbersMinChars",hn[hn.links=52]="links",hn[hn.matchBrackets=53]="matchBrackets",hn[hn.minimap=54]="minimap",hn[hn.mouseStyle=55]="mouseStyle",hn[hn.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",hn[hn.mouseWheelZoom=57]="mouseWheelZoom",hn[hn.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",hn[hn.multiCursorModifier=59]="multiCursorModifier",hn[hn.multiCursorPaste=60]="multiCursorPaste",hn[hn.occurrencesHighlight=61]="occurrencesHighlight",hn[hn.overviewRulerBorder=62]="overviewRulerBorder",hn[hn.overviewRulerLanes=63]="overviewRulerLanes",hn[hn.parameterHints=64]="parameterHints",hn[hn.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",hn[hn.quickSuggestions=66]="quickSuggestions",hn[hn.quickSuggestionsDelay=67]="quickSuggestionsDelay",hn[hn.readOnly=68]="readOnly",hn[hn.renderControlCharacters=69]="renderControlCharacters",hn[hn.renderIndentGuides=70]="renderIndentGuides",hn[hn.renderFinalNewline=71]="renderFinalNewline",hn[hn.renderLineHighlight=72]="renderLineHighlight",hn[hn.renderValidationDecorations=73]="renderValidationDecorations",hn[hn.renderWhitespace=74]="renderWhitespace",hn[hn.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",hn[hn.roundedSelection=76]="roundedSelection",hn[hn.rulers=77]="rulers",hn[hn.scrollbar=78]="scrollbar",hn[hn.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",hn[hn.scrollBeyondLastLine=80]="scrollBeyondLastLine",hn[hn.selectionClipboard=81]="selectionClipboard",hn[hn.selectionHighlight=82]="selectionHighlight",hn[hn.selectOnLineNumbers=83]="selectOnLineNumbers",hn[hn.showFoldingControls=84]="showFoldingControls",hn[hn.showUnused=85]="showUnused",hn[hn.snippetSuggestions=86]="snippetSuggestions",hn[hn.smoothScrolling=87]="smoothScrolling",hn[hn.stopRenderingLineAfter=88]="stopRenderingLineAfter",hn[hn.suggest=89]="suggest",hn[hn.suggestFontSize=90]="suggestFontSize",hn[hn.suggestLineHeight=91]="suggestLineHeight",hn[hn.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",hn[hn.suggestSelection=93]="suggestSelection",hn[hn.tabCompletion=94]="tabCompletion",hn[hn.useTabStops=95]="useTabStops",hn[hn.wordSeparators=96]="wordSeparators",hn[hn.wordWrap=97]="wordWrap",hn[hn.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",hn[hn.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",hn[hn.wordWrapColumn=100]="wordWrapColumn",hn[hn.wordWrapMinified=101]="wordWrapMinified",hn[hn.wrappingIndent=102]="wrappingIndent",hn[hn.wrappingStrategy=103]="wrappingStrategy",hn[hn.editorClassName=104]="editorClassName",hn[hn.pixelRatio=105]="pixelRatio",hn[hn.tabFocusMode=106]="tabFocusMode",hn[hn.layoutInfo=107]="layoutInfo",hn[hn.wrappingInfo=108]="wrappingInfo",(fn=cn=cn||{})[fn.TextDefined=0]="TextDefined",fn[fn.LF=1]="LF",fn[fn.CRLF=2]="CRLF",(mn=dn=dn||{})[mn.LF=0]="LF",mn[mn.CRLF=1]="CRLF",(gn=pn=pn||{})[gn.None=0]="None",gn[gn.Indent=1]="Indent",gn[gn.IndentOutdent=2]="IndentOutdent",gn[gn.Outdent=3]="Outdent",(vn=_n=_n||{})[vn.Unknown=0]="Unknown",vn[vn.Backspace=1]="Backspace",vn[vn.Tab=2]="Tab",vn[vn.Enter=3]="Enter",vn[vn.Shift=4]="Shift",vn[vn.Ctrl=5]="Ctrl",vn[vn.Alt=6]="Alt",vn[vn.PauseBreak=7]="PauseBreak",vn[vn.CapsLock=8]="CapsLock",vn[vn.Escape=9]="Escape",vn[vn.Space=10]="Space",vn[vn.PageUp=11]="PageUp",vn[vn.PageDown=12]="PageDown",vn[vn.End=13]="End",vn[vn.Home=14]="Home",vn[vn.LeftArrow=15]="LeftArrow",vn[vn.UpArrow=16]="UpArrow",vn[vn.RightArrow=17]="RightArrow",vn[vn.DownArrow=18]="DownArrow",vn[vn.Insert=19]="Insert",vn[vn.Delete=20]="Delete",vn[vn.KEY_0=21]="KEY_0",vn[vn.KEY_1=22]="KEY_1",vn[vn.KEY_2=23]="KEY_2",vn[vn.KEY_3=24]="KEY_3",vn[vn.KEY_4=25]="KEY_4",vn[vn.KEY_5=26]="KEY_5",vn[vn.KEY_6=27]="KEY_6",vn[vn.KEY_7=28]="KEY_7",vn[vn.KEY_8=29]="KEY_8",vn[vn.KEY_9=30]="KEY_9",vn[vn.KEY_A=31]="KEY_A",vn[vn.KEY_B=32]="KEY_B",vn[vn.KEY_C=33]="KEY_C",vn[vn.KEY_D=34]="KEY_D",vn[vn.KEY_E=35]="KEY_E",vn[vn.KEY_F=36]="KEY_F",vn[vn.KEY_G=37]="KEY_G",vn[vn.KEY_H=38]="KEY_H",vn[vn.KEY_I=39]="KEY_I",vn[vn.KEY_J=40]="KEY_J",vn[vn.KEY_K=41]="KEY_K",vn[vn.KEY_L=42]="KEY_L",vn[vn.KEY_M=43]="KEY_M",vn[vn.KEY_N=44]="KEY_N",vn[vn.KEY_O=45]="KEY_O",vn[vn.KEY_P=46]="KEY_P",vn[vn.KEY_Q=47]="KEY_Q",vn[vn.KEY_R=48]="KEY_R",vn[vn.KEY_S=49]="KEY_S",vn[vn.KEY_T=50]="KEY_T",vn[vn.KEY_U=51]="KEY_U",vn[vn.KEY_V=52]="KEY_V",vn[vn.KEY_W=53]="KEY_W",vn[vn.KEY_X=54]="KEY_X",vn[vn.KEY_Y=55]="KEY_Y",vn[vn.KEY_Z=56]="KEY_Z",vn[vn.Meta=57]="Meta",vn[vn.ContextMenu=58]="ContextMenu",vn[vn.F1=59]="F1",vn[vn.F2=60]="F2",vn[vn.F3=61]="F3",vn[vn.F4=62]="F4",vn[vn.F5=63]="F5",vn[vn.F6=64]="F6",vn[vn.F7=65]="F7",vn[vn.F8=66]="F8",vn[vn.F9=67]="F9",vn[vn.F10=68]="F10",vn[vn.F11=69]="F11",vn[vn.F12=70]="F12",vn[vn.F13=71]="F13",vn[vn.F14=72]="F14",vn[vn.F15=73]="F15",vn[vn.F16=74]="F16",vn[vn.F17=75]="F17",vn[vn.F18=76]="F18",vn[vn.F19=77]="F19",vn[vn.NumLock=78]="NumLock",vn[vn.ScrollLock=79]="ScrollLock",vn[vn.US_SEMICOLON=80]="US_SEMICOLON",vn[vn.US_EQUAL=81]="US_EQUAL",vn[vn.US_COMMA=82]="US_COMMA",vn[vn.US_MINUS=83]="US_MINUS",vn[vn.US_DOT=84]="US_DOT",vn[vn.US_SLASH=85]="US_SLASH",vn[vn.US_BACKTICK=86]="US_BACKTICK",vn[vn.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",vn[vn.US_BACKSLASH=88]="US_BACKSLASH",vn[vn.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",vn[vn.US_QUOTE=90]="US_QUOTE",vn[vn.OEM_8=91]="OEM_8",vn[vn.OEM_102=92]="OEM_102",vn[vn.NUMPAD_0=93]="NUMPAD_0",vn[vn.NUMPAD_1=94]="NUMPAD_1",vn[vn.NUMPAD_2=95]="NUMPAD_2",vn[vn.NUMPAD_3=96]="NUMPAD_3",vn[vn.NUMPAD_4=97]="NUMPAD_4",vn[vn.NUMPAD_5=98]="NUMPAD_5",vn[vn.NUMPAD_6=99]="NUMPAD_6",vn[vn.NUMPAD_7=100]="NUMPAD_7",vn[vn.NUMPAD_8=101]="NUMPAD_8",vn[vn.NUMPAD_9=102]="NUMPAD_9",vn[vn.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",vn[vn.NUMPAD_ADD=104]="NUMPAD_ADD",vn[vn.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",vn[vn.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",vn[vn.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",vn[vn.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",vn[vn.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",vn[vn.ABNT_C1=110]="ABNT_C1",vn[vn.ABNT_C2=111]="ABNT_C2",vn[vn.MAX_VALUE=112]="MAX_VALUE",(Cn=yn=yn||{})[Cn.Hint=1]="Hint",Cn[Cn.Info=2]="Info",Cn[Cn.Warning=4]="Warning",Cn[Cn.Error=8]="Error",(Ln=bn=bn||{})[Ln.Unnecessary=1]="Unnecessary",Ln[Ln.Deprecated=2]="Deprecated",(Nn=En=En||{})[Nn.Inline=1]="Inline",Nn[Nn.Gutter=2]="Gutter",(wn=Sn=Sn||{})[wn.UNKNOWN=0]="UNKNOWN",wn[wn.TEXTAREA=1]="TEXTAREA",wn[wn.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",wn[wn.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",wn[wn.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",wn[wn.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",wn[wn.CONTENT_TEXT=6]="CONTENT_TEXT",wn[wn.CONTENT_EMPTY=7]="CONTENT_EMPTY",wn[wn.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",wn[wn.CONTENT_WIDGET=9]="CONTENT_WIDGET",wn[wn.OVERVIEW_RULER=10]="OVERVIEW_RULER",wn[wn.SCROLLBAR=11]="SCROLLBAR",wn[wn.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",wn[wn.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(On=An=An||{})[On.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",On[On.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",On[On.TOP_CENTER=2]="TOP_CENTER",(Mn=Tn=Tn||{})[Mn.Left=1]="Left",Mn[Mn.Center=2]="Center",Mn[Mn.Right=4]="Right",Mn[Mn.Full=7]="Full",(Pn=In=In||{})[Pn.Off=0]="Off",Pn[Pn.On=1]="On",Pn[Pn.Relative=2]="Relative",Pn[Pn.Interval=3]="Interval",Pn[Pn.Custom=4]="Custom",(Rn=xn=xn||{})[Rn.None=0]="None",Rn[Rn.Text=1]="Text",Rn[Rn.Blocks=2]="Blocks",(Un=kn=kn||{})[Un.Smooth=0]="Smooth",Un[Un.Immediate=1]="Immediate",(Fn=Dn=Dn||{})[Fn.Auto=1]="Auto",Fn[Fn.Hidden=2]="Hidden",Fn[Fn.Visible=3]="Visible",(qn=Kn=Kn||{})[qn.LTR=0]="LTR",qn[qn.RTL=1]="RTL",(Bn=Wn=Wn||{})[Bn.Invoke=1]="Invoke",Bn[Bn.TriggerCharacter=2]="TriggerCharacter",Bn[Bn.ContentChange=3]="ContentChange",(jn=Hn=Hn||{})[jn.File=0]="File",jn[jn.Module=1]="Module",jn[jn.Namespace=2]="Namespace",jn[jn.Package=3]="Package",jn[jn.Class=4]="Class",jn[jn.Method=5]="Method",jn[jn.Property=6]="Property",jn[jn.Field=7]="Field",jn[jn.Constructor=8]="Constructor",jn[jn.Enum=9]="Enum",jn[jn.Interface=10]="Interface",jn[jn.Function=11]="Function",jn[jn.Variable=12]="Variable",jn[jn.Constant=13]="Constant",jn[jn.String=14]="String",jn[jn.Number=15]="Number",jn[jn.Boolean=16]="Boolean",jn[jn.Array=17]="Array",jn[jn.Object=18]="Object",jn[jn.Key=19]="Key",jn[jn.Null=20]="Null",jn[jn.EnumMember=21]="EnumMember",jn[jn.Struct=22]="Struct",jn[jn.Event=23]="Event",jn[jn.Operator=24]="Operator",jn[jn.TypeParameter=25]="TypeParameter",(Vn=Yn=Yn||{})[Vn.Deprecated=1]="Deprecated",(zn=Gn=Gn||{})[zn.Hidden=0]="Hidden",zn[zn.Blink=1]="Blink",zn[zn.Smooth=2]="Smooth",zn[zn.Phase=3]="Phase",zn[zn.Expand=4]="Expand",zn[zn.Solid=5]="Solid",(Xn=Qn=Qn||{})[Xn.Line=1]="Line",Xn[Xn.Block=2]="Block",Xn[Xn.Underline=3]="Underline",Xn[Xn.LineThin=4]="LineThin",Xn[Xn.BlockOutline=5]="BlockOutline",Xn[Xn.UnderlineThin=6]="UnderlineThin",($n=Zn=Zn||{})[$n.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",$n[$n.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",$n[$n.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",$n[$n.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(er=Jn=Jn||{})[er.None=0]="None",er[er.Same=1]="Same",er[er.Indent=2]="Indent",er[er.DeepIndent=3]="DeepIndent";var rr=(ir.chord=function(e,t){return(e|(65535&t)<<16>>>0)>>>0},ir.CtrlCmd=2048,ir.Shift=1024,ir.Alt=512,ir.WinCtrl=256,ir);function ir(){}var or,sr,ur=(or=function(e,t){return(or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}or(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ar=function(e,t,n,r){return new(n=n||Promise)((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))},lr=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=0<(i=s.trys).length&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}},hr=(ur(cr,sr=He),Object.defineProperty(cr.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(cr.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(cr.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),cr.prototype.getValue=function(){return this.getText()},cr.prototype.getLinesContent=function(){return this._lines.slice(0)},cr.prototype.getLineCount=function(){return this._lines.length},cr.prototype.getLineContent=function(e){return this._lines[e-1]},cr.prototype.getWordAtPosition=function(e,t){var n=function(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=(0<=i[0].indexOf(" ")?function(e,t,n,r){var i,o=e-1-r;for(t.lastIndex=0;i=t.exec(n);){var s=i.index||0;if(o<s)return null;if(t.lastIndex>=o)return{word:i[0],startColumn:r+1+s,endColumn:r+1+t.lastIndex}}return null}:function(e,t,n,r){var i,o=e-1-r,s=n.lastIndexOf(" ",o-1)+1;for(t.lastIndex=s;i=t.exec(n);){var u=i.index||0;if(u<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+u,endColumn:r+1+t.lastIndex}}return null})(e,t,n,r);return t.lastIndex=0,o}(e.column,function(e){var t=Ye;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 be(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},cr.prototype.createWordIterator=function(e){var t,n,r=this,i=0,o=0,s=[];return{next:function u(){if(o<s.length){var a=n.substring(s[o].start,s[o].end);return o+=1,t?t.value=a:t={done:!1,value:a},t}return i>=r._lines.length?Y:(n=r._lines[i],s=r._wordenize(n,e),o=0,i+=1,u())}}},cr.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],r=[],i=0,o=this._wordenize(n,t);i<o.length;i++){var s=o[i];r.push({word:n.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1})}return r},cr.prototype._wordenize=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},cr.prototype.getValueInRange=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 o=1+n;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)},cr.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},cr.prototype.positionAt=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)}},cr.prototype._validateRange=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},cr.prototype._validatePosition=function(e){if(!ye.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,r=!1;if(t<1)n=t=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):i<n&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e},cr);function cr(){return null!==sr&&sr.apply(this,arguments)||this}var fr=(dr.prototype.dispose=function(){this._models=Object.create(null)},dr.prototype._getModel=function(e){return this._models[e]},dr.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},dr.prototype.acceptNewModel=function(e){this._models[e.url]=new hr(se.parse(e.url),e.lines,e.EOL,e.versionId)},dr.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},dr.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},dr.prototype.computeDiff=function(e,t,n,r){return ar(this,void 0,void 0,(function(){var i,o,s,u,a,l,h;return lr(this,(function(c){return i=this._getModel(e),o=this._getModel(t),i&&o?(s=i.getLinesContent(),u=o.getLinesContent(),a=new xe(s,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}),l=a.computeDiff(),h=!(0<l.changes.length)&&this._modelsAreIdentical(i,o),[2,{quitEarly:l.quitEarly,identical:h,changes:l.changes}]):[2,null]}))}))},dr.prototype._modelsAreIdentical=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},dr.prototype.computeMoreMinimalEdits=function(e,t){return ar(this,void 0,void 0,(function(){var n,r,i,o,s,u,a,l,h,c,f,d,m,p,g,_,v,y;return lr(this,(function(C){if(!(n=this._getModel(e)))return[2,t];for(r=[],i=void 0,t=function(e,t){return function e(t,n,r,i,o){if(!(i<=r)){var s=r+(i-r)/2|0;e(t,n,r,s,o),e(t,n,1+s,i,o),n(t[s],t[1+s])<=0||function(e,t,n,r,i,o){for(var s=n,u=r+1,a=n;a<=i;a++)o[a]=e[a];for(a=n;a<=i;a++)r<s||!(i<u)&&t(o[u],o[s])<0?e[a]=o[u++]:e[a]=o[s++]}(t,n,r,s,i,o)}}(e,t,0,e.length-1,[]),e}(t,(function(e,t){return e.range&&t.range?be.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),o=0,s=t;o<s.length;o++)if(u=s[o],a=u.range,l=u.text,"number"==typeof(h=u.eol)&&(i=h),(!be.isEmpty(a)||l)&&(c=n.getValueInRange(a),l=l.replace(/\r\n|\n|\r/g,n.eol),c!==l))if(Math.max(l.length,c.length)>dr._diffLimit)r.push({range:a,text:l});else for(b=l,!1,f=new F(new M(c),new M(b)).ComputeDiff(!1).changes,d=n.offsetAt(be.lift(a).getStartPosition()),m=0,p=f;m<p.length;m++)g=p[m],_=n.positionAt(d+g.originalStart),v=n.positionAt(d+g.originalStart+g.originalLength),y={text:l.substr(g.modifiedStart,g.modifiedLength),range:{startLineNumber:_.lineNumber,startColumn:_.column,endLineNumber:v.lineNumber,endColumn:v.column}},n.getValueInRange(y.range)!==y.text&&r.push(y);var b;return"number"==typeof i&&r.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,r]}))}))},dr.prototype.computeLinks=function(e){return ar(this,void 0,void 0,(function(){var t;return lr(this,(function(n){return(t=this._getModel(e))?[2,(r=t)&&"function"==typeof r.getLineCount&&"function"==typeof r.getLineContent?tt.computeLinks(r):[]]:[2,null];var r}))}))},dr.prototype.textualSuggest=function(e,t,n,r){return ar(this,void 0,void 0,(function(){var i,o,s,u,a,l,h,c;return lr(this,(function(f){if(!(i=this._getModel(e)))return[2,null];for(o=[],s=new Set,u=new RegExp(n,r),(a=i.getWordAtPosition(t,u))&&s.add(i.getValueInRange(a)),l=i.createWordIterator(u),h=l.next();!h.done&&s.size<=dr._suggestionsLimit;h=l.next())c=h.value,s.has(c)||(s.add(c),isNaN(Number(c))&&o.push(c));return[2,o]}))}))},dr.prototype.computeWordRanges=function(e,t,n,r){return ar(this,void 0,void 0,(function(){var i,o,s,u,a,l,h,c,f;return lr(this,(function(d){if(!(i=this._getModel(e)))return[2,Object.create(null)];for(o=new RegExp(n,r),s=Object.create(null),u=t.startLineNumber;u<t.endLineNumber;u++)for(a=i.getLineWords(u,o),l=0,h=a;l<h.length;l++)c=h[l],isNaN(Number(c.word))&&((f=s[c.word])||(f=[],s[c.word]=f),f.push({startLineNumber:u,startColumn:c.startColumn,endLineNumber:u,endColumn:c.endColumn}));return[2,s]}))}))},dr.prototype.navigateValueSet=function(e,t,n,r,i){return ar(this,void 0,void 0,(function(){var o,s,u,a,l;return lr(this,(function(h){return(o=this._getModel(e))?(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),(a=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s))?(l=o.getValueInRange(a),[2,rt.INSTANCE.navigateValueSet(t,u,a,l,n)]):[2,null]):[2,null]}))}))},dr.prototype.loadForeignModule=function(e,t,n){var r=this,i={host:_(n,(function(e,t){return r._host.fhr(e,t)})),getMirrorModels:function(){return r._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve(g(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},dr.prototype.fmr=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(e){return Promise.reject(e)}},dr._diffLimit=1e5,dr._suggestionsLimit=1e4,dr);function dr(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}"function"==typeof importScripts&&(p.a.monaco={editor:void 0,languages:void 0,CancellationTokenSource:St,Emitter:mt,KeyCode:_n,KeyMod:rr,Position:ye,Range:be,Selection:qt,SelectionDirection:Kn,MarkerSeverity:yn,MarkerTag:bn,Uri:se,Token:tr}),n.d(t,"initialize",(function(){return pr}));var mr=!1;function pr(e){if(!mr){mr=!0;var t=new N((function(e){self.postMessage(e)}),(function(t){return new fr(t,e)}));self.onmessage=function(e){t.onmessage(e.data)}}}self.onmessage=function(e){mr||pr(null)}}]); |