newreactbuild/editor.worker.js

9 lines
135 KiB
JavaScript

(function(oe){var T={};function x(L){if(T[L])return T[L].exports;var P=T[L]={i:L,l:!1,exports:{}};return oe[L].call(P.exports,P,P.exports,x),P.l=!0,P.exports}return x.m=oe,x.c=T,x.d=function(L,P,q){x.o(L,P)||Object.defineProperty(L,P,{enumerable:!0,get:q})},x.r=function(L){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(L,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(L,"__esModule",{value:!0})},x.t=function(L,P){if(P&1&&(L=x(L)),P&8)return L;if(P&4&&typeof L=="object"&&L&&L.__esModule)return L;var q=Object.create(null);if(x.r(q),Object.defineProperty(q,"default",{enumerable:!0,value:L}),P&2&&typeof L!="string")for(var Q in L)x.d(q,Q,function(X){return L[X]}.bind(null,Q));return q},x.n=function(L){var P=L&&L.__esModule?function(){return L.default}:function(){return L};return x.d(P,"a",P),P},x.o=function(L,P){return Object.prototype.hasOwnProperty.call(L,P)},x.p="/react/build/",x(x.s="tMf2")})({"7vYp":function(oe,T,x){T.nextTick=function(P){var q=Array.prototype.slice.call(arguments);q.shift(),setTimeout(function(){P.apply(null,q)},0)},T.platform=T.arch=T.execPath=T.title="browser",T.pid=1,T.browser=!0,T.env={},T.argv=[],T.binding=function(L){throw new Error("No such module. (Possibly not yet loaded)")},function(){var L="/",P;T.cwd=function(){return L},T.chdir=function(q){P||(P=x("YmYf")),L=P.resolve(q,L)}}(),T.exit=T.kill=T.umask=T.dlopen=T.uptime=T.memoryUsage=T.uvCounters=function(){},T.features={}},"S7i+":function(oe,T,x){"use strict";(function(L,P){x.d(T,"c",function(){return de}),x.d(T,"b",function(){return re}),x.d(T,"a",function(){return ie});var q="en",Q=!1,X=!1,c=!1,E=!1,M=!1,D=!1,j=void 0,G=q,J=void 0,O=void 0,d=typeof L!="undefined"&&typeof L.versions!="undefined"&&typeof L.versions.electron!="undefined"&&L.type==="renderer";if(typeof navigator=="object"&&!d)O=navigator.userAgent,Q=O.indexOf("Windows")>=0,X=O.indexOf("Macintosh")>=0,D=O.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=O.indexOf("Linux")>=0,M=!0,j=navigator.language,G=j;else if(typeof L=="object"){Q=L.platform==="win32",X=L.platform==="darwin",c=L.platform==="linux",j=q,G=q;var N=Object({NODE_ENV:"production"}).VSCODE_NLS_CONFIG;if(N)try{var R=JSON.parse(N),B=R.availableLanguages["*"];j=R.locale,G=B||q,J=R._translationsConfigFile}catch(at){}E=!0}var $=0;X?$=1:Q?$=3:c&&($=2);var de=Q,ne=X,Ae=c,fe=E,re=M,K=D,ot=typeof self=="object"?self:typeof P=="object"?P:{},ie=ot,st=function(){if(ie.setImmediate)return ie.setImmediate.bind(ie);if(typeof ie.postMessage=="function"&&!ie.importScripts){var me=[];ie.addEventListener("message",function(se){if(se.data&&se.data.vscodeSetImmediateId)for(var he=0,Ie=me.length;he<Ie;he++){var ke=me[he];if(ke.id===se.data.vscodeSetImmediateId){me.splice(he,1),ke.callback();return}}});var De=0;return function(se){var he=++De;me.push({id:he,callback:se}),ie.postMessage({vscodeSetImmediateId:he},"*")}}if(typeof L!="undefined"&&typeof L.nextTick=="function")return L.nextTick.bind(L);var ut=Promise.resolve();return function(se){return ut.then(se)}}(),vn=X?2:Q?1:3}).call(this,x("7vYp"),x("UywP"))},UywP:function(oe,T){var x;x=function(){return this}();try{x=x||new Function("return this")()}catch(L){typeof window=="object"&&(x=window)}oe.exports=x},YmYf:function(oe,T,x){(function(L){function P(c,E){for(var M=0,D=c.length-1;D>=0;D--){var j=c[D];j==="."?c.splice(D,1):j===".."?(c.splice(D,1),M++):M&&(c.splice(D,1),M--)}if(E)for(;M--;M)c.unshift("..");return c}T.resolve=function(){for(var c="",E=!1,M=arguments.length-1;M>=-1&&!E;M--){var D=M>=0?arguments[M]:L.cwd();if(typeof D!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!D)continue;c=D+"/"+c,E=D.charAt(0)==="/"}return c=P(Q(c.split("/"),function(j){return!!j}),!E).join("/"),(E?"/":"")+c||"."},T.normalize=function(c){var E=T.isAbsolute(c),M=X(c,-1)==="/";return c=P(Q(c.split("/"),function(D){return!!D}),!E).join("/"),!c&&!E&&(c="."),c&&M&&(c+="/"),(E?"/":"")+c},T.isAbsolute=function(c){return c.charAt(0)==="/"},T.join=function(){var c=Array.prototype.slice.call(arguments,0);return T.normalize(Q(c,function(E,M){if(typeof E!="string")throw new TypeError("Arguments to path.join must be strings");return E}).join("/"))},T.relative=function(c,E){c=T.resolve(c).substr(1),E=T.resolve(E).substr(1);function M(N){for(var R=0;R<N.length&&!(N[R]!=="");R++);for(var B=N.length-1;B>=0&&!(N[B]!=="");B--);return R>B?[]:N.slice(R,B-R+1)}for(var D=M(c.split("/")),j=M(E.split("/")),G=Math.min(D.length,j.length),J=G,O=0;O<G;O++)if(D[O]!==j[O]){J=O;break}for(var d=[],O=J;O<D.length;O++)d.push("..");return d=d.concat(j.slice(J)),d.join("/")},T.sep="/",T.delimiter=":",T.dirname=function(c){if(typeof c!="string"&&(c=c+""),c.length===0)return".";for(var E=c.charCodeAt(0),M=E===47,D=-1,j=!0,G=c.length-1;G>=1;--G)if(E=c.charCodeAt(G),E===47){if(!j){D=G;break}}else j=!1;return D===-1?M?"/":".":M&&D===1?"/":c.slice(0,D)};function q(c){typeof c!="string"&&(c=c+"");var E=0,M=-1,D=!0,j;for(j=c.length-1;j>=0;--j)if(c.charCodeAt(j)===47){if(!D){E=j+1;break}}else M===-1&&(D=!1,M=j+1);return M===-1?"":c.slice(E,M)}T.basename=function(c,E){var M=q(c);return E&&M.substr(-1*E.length)===E&&(M=M.substr(0,M.length-E.length)),M},T.extname=function(c){typeof c!="string"&&(c=c+"");for(var E=-1,M=0,D=-1,j=!0,G=0,J=c.length-1;J>=0;--J){var O=c.charCodeAt(J);if(O===47){if(!j){M=J+1;break}continue}D===-1&&(j=!1,D=J+1),O===46?E===-1?E=J:G!==1&&(G=1):E!==-1&&(G=-1)}return E===-1||D===-1||G===0||G===1&&E===D-1&&E===M+1?"":c.slice(E,D)};function Q(c,E){if(c.filter)return c.filter(E);for(var M=[],D=0;D<c.length;D++)E(c[D],D,c)&&M.push(c[D]);return M}var X="ab".substr(-1)==="b"?function(c,E,M){return c.substr(E,M)}:function(c,E,M){return E<0&&(E=c.length+E),c.substr(E,M)}}).call(this,x("7vYp"))},tMf2:function(oe,T,x){"use strict";x.r(T),x.d(T,"initialize",function(){return gn});var L=function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(function(){throw t.stack?new Error(t.message+`
`+t.stack):t},0)}}return e.prototype.emit=function(t){this.listeners.forEach(function(n){n(t)})},e.prototype.onUnexpectedError=function(t){this.unexpectedErrorHandler(t),this.emit(t)},e.prototype.onUnexpectedExternalError=function(t){this.unexpectedErrorHandler(t)},e}(),P=new L;function q(e){E(e)||P.onUnexpectedError(e);return}function Q(e){E(e)||P.onUnexpectedExternalError(e);return}function X(e){if(e instanceof Error){var t=e.name,n=e.message,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e}var c="Canceled";function E(e){return e instanceof Error&&e.name===c&&e.message===c}function M(){var e=new Error(c);return e.name=e.message,e}function D(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function j(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}var G=!1,J="__is_disposable_tracked__";function O(e){if(!G)return;if(e&&e!==ne.None)try{e[J]=!0}catch(t){}}function d(e){if(!G)return e;var t=new Error("Potentially leaked disposable").stack;return setTimeout(function(){e[J]||console.log(t)},3e3),e}function N(e){return typeof e.dispose=="function"&&e.dispose.length===0}function R(e){return Array.isArray(e)?(e.forEach(function(t){t&&(O(t),t.dispose())}),[]):e?(O(e),e.dispose(),e):void 0}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(O),d({dispose:function(){return R(e)}})}function $(e){var t=d({dispose:function(){O(t),e()}});return t}var de=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){if(this._isDisposed)return;O(this),this._isDisposed=!0,this.clear()},e.prototype.clear=function(){this._toDispose.forEach(function(t){return t.dispose()}),this._toDispose.clear()},e.prototype.add=function(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return O(t),this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t},e}(),ne=function(){function e(){this._store=new de,d(this)}return e.prototype.dispose=function(){O(this),this._store.dispose()},e.prototype._register=function(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)},e.None=Object.freeze({dispose:function(){}}),e}(),Ae=function(){function e(){this._isDisposed=!1,d(this)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(n){if(this._isDisposed||n===this._value)return;this._value&&this._value.dispose(),n&&O(n),this._value=n},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,O(this),this._value&&this._value.dispose(),this._value=void 0},e}(),fe=function(){function e(t){this.object=t}return e.prototype.dispose=function(){},e}(),re=x("S7i+"),K={number:"number",string:"string",undefined:"undefined",object:"object",function:"function"};function ot(e){return Array.isArray?Array.isArray(e):!!(e&&typeof e.length===K.number&&e.constructor===Array)}function ie(e){return typeof e===K.string||e instanceof String}function st(e){return typeof e===K.object&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function vn(e){return(typeof e===K.number||e instanceof Number)&&!isNaN(e)}function at(e){return e===!0||e===!1}function me(e){return typeof e===K.undefined}function De(e){return me(e)||e===null}function ut(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var se=Object.prototype.hasOwnProperty;function he(e){if(!st(e))return!1;for(var t in e)if(se.call(e,t))return!1;return!0}function Ie(e){return typeof e===K.function}function ke(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)_n(e[r],t[r])}function _n(e,t){if(ie(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(Ie(t)){try{if(e instanceof t)return}catch(n){}if(!De(e)&&e.constructor===t)return;if(t.length===1&&t.call(void 0,e)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function wn(e){for(var t=[],n=Object.getPrototypeOf(e);Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function Ee(e){for(var t=[],n=0,r=wn(e);n<r.length;n++){var i=r[n];typeof e[i]=="function"&&t.push(i)}return t}function Re(e,t){for(var n=function(u){return function(){var a=Array.prototype.slice.call(arguments,0);return t(u,a)}},r={},i=0,o=e;i<o.length;i++){var s=o[i];r[s]=n(s)}return r}function Ir(e){return e===null?void 0:e}function kr(e){return typeof e=="undefined"?null:e}var bn=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lt="$initialize",ft=!1;function Rr(e){if(!re.b)return;ft||(ft=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message)}var ht=function(){function e(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(t){this._workerId=t},e.prototype.sendMessage=function(t,n){var r=this,i=String(++this._lastSentReq);return new Promise(function(o,s){r._pendingReplies[i]={resolve:o,reject:s},r._send({vsWorker:r._workerId,req:i,method:t,args:n})})},e.prototype.handleMessage=function(t){if(!t||!t.vsWorker)return;if(this._workerId!==-1&&t.vsWorker!==this._workerId)return;this._handleMessage(t)},e.prototype._handleMessage=function(t){var n=this;if(t.seq){var r=t;if(!this._pendingReplies[r.seq]){console.warn("Got reply to unknown seq");return}var i=this._pendingReplies[r.seq];if(delete this._pendingReplies[r.seq],r.err){var o=r.err;r.err.$isError&&(o=new Error,o.name=r.err.name,o.message=r.err.message,o.stack=r.err.stack),i.reject(o);return}i.resolve(r.res);return}var s=t,l=s.req,u=this._handler.handleMessage(s.method,s.args);u.then(function(a){n._send({vsWorker:n._workerId,seq:l,res:a,err:void 0})},function(a){a.detail instanceof Error&&(a.detail=X(a.detail)),n._send({vsWorker:n._workerId,seq:l,res:void 0,err:X(a)})})},e.prototype._send=function(t){var n=[];if(t.req)for(var r=t,i=0;i<r.args.length;i++)r.args[i]instanceof ArrayBuffer&&n.push(r.args[i]);else{var r=t;r.res instanceof ArrayBuffer&&n.push(r.res)}this._handler.sendMessage(t,n)},e}(),xr=function(e){bn(t,e);function t(n,r,i){var o=e.call(this)||this,s=null;o._worker=o._register(n.create("vs/base/common/worker/simpleWorker",function(h){o._protocol.handleMessage(h)},function(h){s&&s(h)})),o._protocol=new ht({sendMessage:function(f,p){o._worker.postMessage(f,p)},handleMessage:function(f,p){if(typeof i[f]!="function")return Promise.reject(new Error("Missing method "+f+" on main thread host."));try{return Promise.resolve(i[f].apply(i,p))}catch(_){return Promise.reject(_)}}}),o._protocol.setWorkerId(o._worker.getId());var l=null;typeof self.require!="undefined"&&typeof self.require.getConfig=="function"?l=self.require.getConfig():typeof self.requirejs!="undefined"&&(l=self.requirejs.s.contexts._.config);var u=Ee(i);o._onModuleLoaded=o._protocol.sendMessage(lt,[o._worker.getId(),JSON.parse(JSON.stringify(l)),r,u]);var a=function(f,p){return o._request(f,p)};return o._lazyProxy=new Promise(function(h,f){s=f,o._onModuleLoaded.then(function(p){h(Re(p,a))},function(p){f(p),o._onError("Worker failed to load "+r,p)})}),o}return t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(n,r){var i=this;return new Promise(function(o,s){i._onModuleLoaded.then(function(){i._protocol.sendMessage(n,r).then(o,s)},s)})},t.prototype._onError=function(n,r){console.error(n),console.info(r)},t}(ne),ct=function(){function e(t,n){var r=this;this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new ht({sendMessage:function(o,s){t(o,s)},handleMessage:function(o,s){return r._handleMessage(o,s)}})}return e.prototype.onmessage=function(t){this._protocol.handleMessage(t)},e.prototype._handleMessage=function(t,n){if(t===lt)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}},e.prototype.initialize=function(t,n,r,i){var o=this;this._protocol.setWorkerId(t);var s=function(a,h){return o._protocol.sendMessage(a,h)},l=Re(i,s);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(l),Promise.resolve(Ee(this._requestHandler))):(n&&(typeof n.baseUrl!="undefined"&&delete n.baseUrl,typeof n.paths!="undefined"&&(typeof n.paths.vs!="undefined"&&delete n.paths.vs),n.catchError=!0,self.require.config(n)),new Promise(function(u,a){self.require([r],function(h){if(o._requestHandler=h.create(l),!o._requestHandler){a(new Error("No RequestHandler!"));return}u(Ee(o._requestHandler))},a)}))},e}();function Ur(e){return new ct(e,null)}function Pr(e,t){return t===void 0&&(t=0),e[e.length-(1+t)]}function Or(e){if(e.length===0)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function Br(e,t,n){if(n===void 0&&(n=function(s,l){return s===l}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function Wr(e,t,n){for(var r=0,i=e.length-1;r<=i;){var o=(r+i)/2|0,s=n(e[o],t);if(s<0)r=o+1;else if(s>0)i=o-1;else return o}return-(r+1)}function jr(e,t){var n=0,r=e.length;if(r===0)return 0;for(;n<r;){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function dt(e,t){return xe(e,t,0,e.length-1,[]),e}function yn(e,t,n,r,i,o){for(var s=n,l=r+1,u=n;u<=i;u++)o[u]=e[u];for(var u=n;u<=i;u++)s>r?e[u]=o[l++]:l>i?e[u]=o[s++]:t(o[l],o[s])<0?e[u]=o[l++]:e[u]=o[s++]}function xe(e,t,n,r,i){if(r<=n)return;var o=n+(r-n)/2|0;if(xe(e,t,n,o,i),xe(e,t,o+1,r,i),t(e[o],e[o+1])<=0)return;yn(e,t,n,o,r,i)}function Hr(e,t){for(var n=[],r=void 0,i=0,o=dt(e.slice(0),t);i<o.length;i++){var s=o[i];!r||t(r[0],s)!==0?(r=[s],n.push(r)):r.push(s)}return n}function qr(e){return e.filter(function(t){return!!t})}function Gr(e){return!Array.isArray(e)||e.length===0}function Yr(e){return Array.isArray(e)&&e.length>0}function Vr(e,t){if(!t)return e.filter(function(r,i){return e.indexOf(r)===i});var n=Object.create(null);return e.filter(function(r){var i=t(r);return n[i]?!1:(n[i]=!0,!0)})}function zr(e){var t=new Set;return e.filter(function(n){return t.has(n)?!1:(t.add(n),!0)})}function Jr(e){var t=[];return e.forEach(function(n){return t.push(n)}),t}function Ln(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return n}return-1}function Qr(e,t,n){n===void 0&&(n=void 0);var r=Ln(e,t);return r<0?n:e[r]}function Xr(e,t){return e.length>0?e[0]:t}function Zr(e){var t;return(t=[]).concat.apply(t,e)}function $r(e,t){var n=typeof t=="number"?e:0;typeof t=="number"?n=e:(n=0,t=e);var r=[];if(n<=t)for(var i=n;i<t;i++)r.push(i);else for(var i=n;i>t;i--)r.push(i);return r}function Kr(e,t,n){var r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function ei(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function ti(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function ni(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}return}function ri(e){return Array.isArray(e)?e:[e]}var ce=function(){function e(t,n,r,i){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=i}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function mt(e,t){t===void 0&&(t=0);switch(typeof e){case"object":return e===null?ae(349,t):Array.isArray(e)?An(e,t):En(e,t);case"string":return Ue(e,t);case"boolean":return Nn(e,t);case"number":return ae(e,t);case"undefined":return ae(0,937);default:return ae(0,617)}}function ae(e,t){return(t<<5)-t+e|0}function Nn(e,t){return ae(e?433:863,t)}function Ue(e,t){t=ae(149417,t);for(var n=0,r=e.length;n<r;n++)t=ae(e.charCodeAt(n),t);return t}function An(e,t){return t=ae(104579,t),e.reduce(function(n,r){return mt(r,n)},t)}function En(e,t){return t=ae(181387,t),Object.keys(e).sort().reduce(function(n,r){return n=Ue(r,n),mt(e[r],n)},t)}var pt=function(){function e(t){this.source=t}return e.prototype.getElements=function(){for(var t=this.source,n=new Int32Array(t.length),r=0,i=t.length;r<i;r++)n[r]=t.charCodeAt(r);return n},e}();function Sn(e,t,n){return new vt(new pt(e),new pt(t)).ComputeDiff(n).changes}var pe=function(){function e(){}return e.Assert=function(t,n){if(!t)throw new Error(n)},e}(),ge=function(){function e(){}return e.Copy=function(t,n,r,i,o){for(var s=0;s<o;s++)r[i+s]=t[n+s]},e.Copy2=function(t,n,r,i,o){for(var s=0;s<o;s++)r[i+s]=t[n+s]},e}(),gt=function(){function e(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new ce(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},e.prototype.AddOriginalElement=function(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++},e.prototype.AddModifiedElement=function(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),vt=function(){function e(t,n,r){r===void 0&&(r=null),this.ContinueProcessingPredicate=r;var i=e._getElements(t),o=i[0],s=i[1],l=i[2],u=e._getElements(n),a=u[0],h=u[1],f=u[2];this._hasStrings=l&&f,this._originalStringElements=o,this._originalElementsOrHash=s,this._modifiedStringElements=a,this._modifiedElementsOrHash=h,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(t){return t.length>0&&typeof t[0]=="string"},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var r=new Int32Array(n.length),i=0,o=n.length;i<o;i++)r[i]=Ue(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]},e.prototype.ElementsAreEqual=function(t,n){return this._originalElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._modifiedStringElements[n]:!0},e.prototype.OriginalElementsAreEqual=function(t,n){return this._originalElementsOrHash[t]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[t]===this._originalStringElements[n]:!0},e.prototype.ModifiedElementsAreEqual=function(t,n){return this._modifiedElementsOrHash[t]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[t]===this._modifiedStringElements[n]:!0},e.prototype.ComputeDiff=function(t){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,t)},e.prototype._ComputeDiff=function(t,n,r,i,o){var s=[!1],l=this.ComputeDiffRecursive(t,n,r,i,s);return o&&(l=this.PrettifyChanges(l)),{quitEarly:s[0],changes:l}},e.prototype.ComputeDiffRecursive=function(t,n,r,i,o){for(o[0]=!1;t<=n&&r<=i&&this.ElementsAreEqual(t,r);)t++,r++;for(;n>=t&&i>=r&&this.ElementsAreEqual(n,i);)n--,i--;if(t>n||r>i){var s=void 0;return r<=i?(pe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),s=[new ce(t,0,r,i-r+1)]):t<=n?(pe.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[new ce(t,n-t+1,r,0)]):(pe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),pe.Assert(r===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var l=[0],u=[0],a=this.ComputeRecursionPoint(t,n,r,i,l,u,o),h=l[0],f=u[0];if(a!==null)return a;if(!o[0]){var p=this.ComputeDiffRecursive(t,h,r,f,o),_=[];return o[0]?_=[new ce(h+1,n-(h+1)+1,f+1,i-(f+1)+1)]:_=this.ComputeDiffRecursive(h+1,n,f+1,i,o),this.ConcatenateChanges(p,_)}return[new ce(t,n-t+1,r,i-r+1)]},e.prototype.WALKTRACE=function(t,n,r,i,o,s,l,u,a,h,f,p,_,b,S,F,k,I){var m=null,g=null,v=new gt,w=n,C=r,A=_[0]-F[0]-i,U=-1073741824,W=this.m_forwardHistory.length-1;do{var y=A+t;y===w||y<C&&a[y-1]<a[y+1]?(f=a[y+1],b=f-A-i,f<U&&v.MarkNextChange(),U=f,v.AddModifiedElement(f+1,b),A=y+1-t):(f=a[y-1]+1,b=f-A-i,f<U&&v.MarkNextChange(),U=f-1,v.AddOriginalElement(f,b+1),A=y-1-t),W>=0&&(a=this.m_forwardHistory[W],t=a[0],w=1,C=a.length-1)}while(--W>=-1);if(m=v.getReverseChanges(),I[0]){var Y=_[0]+1,le=F[0]+1;if(m!==null&&m.length>0){var Z=m[m.length-1];Y=Math.max(Y,Z.getOriginalEnd()),le=Math.max(le,Z.getModifiedEnd())}g=[new ce(Y,p-Y+1,le,S-le+1)]}else{v=new gt,w=s,C=l,A=_[0]-F[0]-u,U=1073741824,W=k?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var y=A+o;y===w||y<C&&h[y-1]>=h[y+1]?(f=h[y+1]-1,b=f-A-u,f>U&&v.MarkNextChange(),U=f+1,v.AddOriginalElement(f+1,b+1),A=y+1-o):(f=h[y-1],b=f-A-u,f>U&&v.MarkNextChange(),U=f,v.AddModifiedElement(f+1,b+1),A=y-1-o),W>=0&&(h=this.m_reverseHistory[W],o=h[0],w=1,C=h.length-1)}while(--W>=-1);g=v.getChanges()}return this.ConcatenateChanges(m,g)},e.prototype.ComputeRecursionPoint=function(t,n,r,i,o,s,l){var u=0,a=0,h=0,f=0,p=0,_=0;t--,r--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var b=n-t+(i-r),S=b+1,F=new Int32Array(S),k=new Int32Array(S),I=i-r,m=n-t,g=t-r,v=n-i,w=m-I,C=w%2===0;F[I]=t,k[m]=n,l[0]=!1;for(var A=1;A<=b/2+1;A++){var U=0,W=0;h=this.ClipDiagonalBound(I-A,A,I,S),f=this.ClipDiagonalBound(I+A,A,I,S);for(var y=h;y<=f;y+=2){y===h||y<f&&F[y-1]<F[y+1]?u=F[y+1]:u=F[y-1]+1,a=u-(y-I)-g;for(var Y=u;u<n&&a<i&&this.ElementsAreEqual(u+1,a+1);)u++,a++;if(F[y]=u,u+a>U+W&&(U=u,W=a),!C&&Math.abs(y-m)<=A-1&&u>=k[y])return o[0]=u,s[0]=a,Y<=k[y]&&1447>0&&A<=1447+1?this.WALKTRACE(I,h,f,g,m,p,_,v,F,k,u,n,o,a,i,s,C,l):null}var le=(U-t+(W-r)-A)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(U,le))return l[0]=!0,o[0]=U,s[0]=W,le>0&&1447>0&&A<=1447+1?this.WALKTRACE(I,h,f,g,m,p,_,v,F,k,u,n,o,a,i,s,C,l):(t++,r++,[new ce(t,n-t+1,r,i-r+1)]);p=this.ClipDiagonalBound(m-A,A,m,S),_=this.ClipDiagonalBound(m+A,A,m,S);for(var y=p;y<=_;y+=2){y===p||y<_&&k[y-1]>=k[y+1]?u=k[y+1]-1:u=k[y-1],a=u-(y-m)-v;for(var Y=u;u>t&&a>r&&this.ElementsAreEqual(u,a);)u--,a--;if(k[y]=u,C&&Math.abs(y-I)<=A&&u<=F[y])return o[0]=u,s[0]=a,Y>=F[y]&&1447>0&&A<=1447+1?this.WALKTRACE(I,h,f,g,m,p,_,v,F,k,u,n,o,a,i,s,C,l):null}if(A<=1447){var Z=new Int32Array(f-h+2);Z[0]=I-h+1,ge.Copy2(F,h,Z,1,f-h+1),this.m_forwardHistory.push(Z),Z=new Int32Array(_-p+2),Z[0]=m-p+1,ge.Copy2(k,p,Z,1,_-p+1),this.m_reverseHistory.push(Z)}}return this.WALKTRACE(I,h,f,g,m,p,_,v,F,k,u,n,o,a,i,s,C,l)},e.prototype.PrettifyChanges=function(t){for(var n=0;n<t.length;n++){for(var r=t[n],i=n<t.length-1?t[n+1].originalStart:this._originalElementsOrHash.length,o=n<t.length-1?t[n+1].modifiedStart:this._modifiedElementsOrHash.length,s=r.originalLength>0,l=r.modifiedLength>0;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<o&&(!s||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!l||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));)r.originalStart++,r.modifiedStart++;var u=[null];if(n<t.length-1&&this.ChangesOverlap(t[n],t[n+1],u)){t[n]=u[0],t.splice(n+1,1),n--;continue}}for(var n=t.length-1;n>=0;n--){var r=t[n],i=0,o=0;if(n>0){var a=t[n-1];a.originalLength>0&&(i=a.originalStart+a.originalLength),a.modifiedLength>0&&(o=a.modifiedStart+a.modifiedLength)}for(var s=r.originalLength>0,l=r.modifiedLength>0,h=0,f=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength),p=1;;p++){var _=r.originalStart-p,b=r.modifiedStart-p;if(_<i||b<o)break;if(s&&!this.OriginalElementsAreEqual(_,_+r.originalLength))break;if(l&&!this.ModifiedElementsAreEqual(b,b+r.modifiedLength))break;var S=this._boundaryScore(_,r.originalLength,b,r.modifiedLength);S>f&&(f=S,h=p)}r.originalStart-=h,r.modifiedStart-=h}return t},e.prototype._OriginalIsBoundary=function(t){return t<=0||t>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])},e.prototype._OriginalRegionIsBoundary=function(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){var r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1},e.prototype._ModifiedIsBoundary=function(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])},e.prototype._ModifiedRegionIsBoundary=function(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){var r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1},e.prototype._boundaryScore=function(t,n,r,i){var o=this._OriginalRegionIsBoundary(t,n)?1:0,s=this._ModifiedRegionIsBoundary(r,i)?1:0;return o+s},e.prototype.ConcatenateChanges=function(t,n){var r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){var i=new Array(t.length+n.length-1);return ge.Copy(t,0,i,0,t.length-1),i[t.length-1]=r[0],ge.Copy(n,1,i,t.length,n.length-1),i}else{var i=new Array(t.length+n.length);return ge.Copy(t,0,i,0,t.length),ge.Copy(n,0,i,t.length,n.length),i}},e.prototype.ChangesOverlap=function(t,n,r){if(pe.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),pe.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){var i=t.originalStart,o=t.originalLength,s=t.modifiedStart,l=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(o=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new ce(i,o,s,l),!0}else return r[0]=null,!1},e.prototype.ClipDiagonalBound=function(t,n,r,i){if(t>=0&&t<i)return t;var o=r,s=i-r-1,l=n%2===0;if(t<0){var u=o%2===0;return l===u?0:1}else{var a=s%2===0;return l===a?i-1:i-2}},e}(),Cn=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue={done:!0,value:void 0},Se;(function(e){var t={next:function(){return ue}};function n(){return t}e.empty=n;function r(_){var b=!1;return{next:function(){return b?ue:(b=!0,{done:!1,value:_})}}}e.single=r;function i(_,b,S){return b===void 0&&(b=0),S===void 0&&(S=_.length),{next:function(){return b>=S?ue:{done:!1,value:_[b++]}}}}e.fromArray=i;function o(_){return{next:function(){var S=_.next();return S.done?ue:{done:!1,value:S.value}}}}e.fromNativeIterator=o;function s(_){return _?Array.isArray(_)?e.fromArray(_):_:e.empty()}e.from=s;function l(_,b){return{next:function(){var F=_.next();return F.done?ue:{done:!1,value:b(F.value)}}}}e.map=l;function u(_,b){return{next:function(){for(;;){var F=_.next();if(F.done)return ue;if(b(F.value))return{done:!1,value:F.value}}}}}e.filter=u;function a(_,b){for(var S=_.next();!S.done;S=_.next())b(S.value)}e.forEach=a;function h(_,b){b===void 0&&(b=Number.POSITIVE_INFINITY);var S=[];if(b===0)return S;for(var F=0,k=_.next();!k.done&&!(S.push(k.value),++F>=b);k=_.next());return S}e.collect=h;function f(){for(var _=[],b=0;b<arguments.length;b++)_[b]=arguments[b];var S=0;return{next:function(){if(S>=_.length)return ue;var k=_[S],I=k.next();return I.done?(S++,this.next()):I}}}e.concat=f;function p(_){return new Tn(_)}e.chain=p})(Se||(Se={}));var Tn=function(){function e(t){this.it=t}return e.prototype.next=function(){return this.it.next()},e}();function ii(e){return Array.isArray(e)?Se.fromArray(e):e||Se.empty()}var Fn=function(){function e(t,n,r,i){n===void 0&&(n=0),r===void 0&&(r=t.length),i===void 0&&(i=n-1),this.items=t,this.start=n,this.end=r,this.index=i}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}(),oi=function(e){Cn(t,e);function t(n,r,i,o){return r===void 0&&(r=0),i===void 0&&(i=n.length),o===void 0&&(o=r-1),e.call(this,n,r,i,o)||this}return t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null},t}(Fn),si=function(){function e(t,n){this.iterator=t,this.fn=n}return e.prototype.next=function(){return this.fn(this.iterator.next())},e}(),Mn=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),V,Dn=/^\w[\w\d+.-]*$/,In=/^\//,kn=/^\/\//;function Rn(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&&!Dn.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!In.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(kn.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function xn(e,t){return!e&&!t?"file":e}function Un(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ee&&(t=ee+t):t=ee;break}return t}var H="",ee="/",Pn=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Pe=function(){function e(t,n,r,i,o,s){s===void 0&&(s=!1),typeof t=="object"?(this.scheme=t.scheme||H,this.authority=t.authority||H,this.path=t.path||H,this.query=t.query||H,this.fragment=t.fragment||H):(this.scheme=xn(t,s),this.authority=n||H,this.path=Un(this.scheme,r||H),this.query=i||H,this.fragment=o||H,Rn(this,s))}return e.isUri=function(t){return t instanceof e?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="function"&&typeof t.with=="function"&&typeof t.toString=="function":!1},Object.defineProperty(e.prototype,"fsPath",{get:function(){return yt(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(t){if(!t)return this;var n=t.scheme,r=t.authority,i=t.path,o=t.query,s=t.fragment;return n===void 0?n=this.scheme:n===null&&(n=H),r===void 0?r=this.authority:r===null&&(r=H),i===void 0?i=this.path:i===null&&(i=H),o===void 0?o=this.query:o===null&&(o=H),s===void 0?s=this.fragment:s===null&&(s=H),n===this.scheme&&r===this.authority&&i===this.path&&o===this.query&&s===this.fragment?this:new ve(n,r,i,o,s)},e.parse=function(t,n){n===void 0&&(n=!1);var r=Pn.exec(t);return r?new ve(r[2]||H,Ce(r[4]||H),Ce(r[5]||H),Ce(r[7]||H),Ce(r[9]||H),n):new ve(H,H,H,H,H)},e.file=function(t){var n=H;if(re.c&&(t=t.replace(/\\/g,ee)),t[0]===ee&&t[1]===ee){var r=t.indexOf(ee,2);r===-1?(n=t.substring(2),t=ee):(n=t.substring(2,r),t=t.substring(r)||ee)}return new ve("file",n,t,H,H)},e.from=function(t){return new ve(t.scheme,t.authority,t.path,t.query,t.fragment)},e.prototype.toString=function(t){return t===void 0&&(t=!1),Oe(this,t)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new ve(t);return n._formatted=t.external,n._fsPath=t._sep===_t?t.fsPath:null,n}else return t},e}(),_t=re.c?1:void 0,ve=function(e){Mn(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._formatted=null,n._fsPath=null,n}return Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=yt(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(n){return n===void 0&&(n=!1),n?Oe(this,!0):(this._formatted||(this._formatted=Oe(this,!1)),this._formatted)},t.prototype.toJSON=function(){var n={$mid:1};return this._fsPath&&(n.fsPath=this._fsPath,n._sep=_t),this._formatted&&(n.external=this._formatted),this.path&&(n.path=this.path),this.scheme&&(n.scheme=this.scheme),this.authority&&(n.authority=this.authority),this.query&&(n.query=this.query),this.fragment&&(n.fragment=this.fragment),n},t}(Pe),wt=(V={},V[58]="%3A",V[47]="%2F",V[63]="%3F",V[35]="%23",V[91]="%5B",V[93]="%5D",V[64]="%40",V[33]="%21",V[36]="%24",V[38]="%26",V[39]="%27",V[40]="%28",V[41]="%29",V[42]="%2A",V[43]="%2B",V[44]="%2C",V[59]="%3B",V[61]="%3D",V[32]="%20",V);function bt(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||t&&o===47)r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n!==void 0&&(n+=e.charAt(i));else{n===void 0&&(n=e.substr(0,i));var s=wt[o];s!==void 0?(r!==-1&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=s):r===-1&&(r=i)}}return r!==-1&&(n+=encodeURIComponent(e.substring(r))),n!==void 0?n:e}function On(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r===35||r===63?(t===void 0&&(t=e.substr(0,n)),t+=wt[r]):t!==void 0&&(t+=e[n])}return t!==void 0?t:e}function yt(e){var t;return e.authority&&e.path.length>1&&e.scheme==="file"?t="//"+e.authority+e.path:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t=e.path[1].toLowerCase()+e.path.substr(2):t=e.path,re.c&&(t=t.replace(/\//g,"\\")),t}function Oe(e,t){var n=t?On:bt,r="",i=e.scheme,o=e.authority,s=e.path,l=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||i==="file")&&(r+=ee,r+=ee),o){var a=o.indexOf("@");if(a!==-1){var h=o.substr(0,a);o=o.substr(a+1),a=h.indexOf(":"),a===-1?r+=n(h,!1):(r+=n(h.substr(0,a),!1),r+=":",r+=n(h.substr(a+1),!1)),r+="@"}o=o.toLowerCase(),a=o.indexOf(":"),a===-1?r+=n(o,!1):(r+=n(o.substr(0,a),!1),r+=o.substr(a))}if(s){if(s.length>=3&&s.charCodeAt(0)===47&&s.charCodeAt(2)===58){var f=s.charCodeAt(1);f>=65&&f<=90&&(s="/"+String.fromCharCode(f+32)+":"+s.substr(3))}else if(s.length>=2&&s.charCodeAt(1)===58){var f=s.charCodeAt(0);f>=65&&f<=90&&(s=String.fromCharCode(f+32)+":"+s.substr(2))}r+=n(s,!0)}return l&&(r+="?",r+=n(l,!1)),u&&(r+="#",r+=t?u:bt(u,!1)),r}function Lt(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+Lt(e.substr(3)):e}}var Nt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ce(e){return e.match(Nt)?e.replace(Nt,function(t){return Lt(t)}):e}var _e=function(){function e(t,n){this.lineNumber=t,this.column=n}return e.prototype.with=function(t,n){return t===void 0&&(t=this.lineNumber),n===void 0&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=0),this.with(this.lineNumber+t,this.column+n)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<n.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(t,n){return t.lineNumber<n.lineNumber?!0:n.lineNumber<t.lineNumber?!1:t.column<=n.column},e.compare=function(t,n){var r=t.lineNumber|0,i=n.lineNumber|0;if(r===i){var o=t.column|0,s=n.column|0;return o-s}return r-i},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(t){return t&&typeof t.lineNumber=="number"&&typeof t.column=="number"},e}(),we=function(){function e(t,n,r,i){t>r||t===r&&n>i?(this.startLineNumber=r,this.startColumn=i,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=i)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(t,n){return n.lineNumber<t.startLineNumber||n.lineNumber>t.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<t.startColumn?!1:!(n.lineNumber===t.endLineNumber&&n.column>t.endColumn)},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(t,n){return n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||(n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<t.startColumn)?!1:!(n.endLineNumber===t.endLineNumber&&n.endColumn>t.endColumn)},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(t,n){return n.startLineNumber<t.startLineNumber||n.endLineNumber<t.startLineNumber||(n.startLineNumber>t.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn)?!1:!(n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var r,i,o,s;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(o=n.endLineNumber,s=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,s=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,s=t.endColumn),new e(r,i,o,s)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,s=t.endColumn,l=n.startLineNumber,u=n.startColumn,a=n.endLineNumber,h=n.endColumn;return r<l?(r=l,i=u):r===l&&(i=Math.max(i,u)),o>a?(o=a,s=h):o===a&&(s=Math.min(s,h)),r>o||r===o&&i>s?null:new e(r,i,o,s)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(t,n){return!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn},e.prototype.getEndPosition=function(){return new _e(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new _e(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return n===void 0&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"},e.areIntersectingOrTouching=function(t,n){return t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<n.startColumn?!1:!(n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<t.startColumn)},e.areIntersecting=function(t,n){return t.endLineNumber<n.startLineNumber||t.endLineNumber===n.startLineNumber&&t.endColumn<=n.startColumn?!1:!(n.endLineNumber<t.startLineNumber||n.endLineNumber===t.startLineNumber&&n.endColumn<=t.startColumn)},e.compareRangesUsingStarts=function(t,n){if(t&&n){var r=t.startLineNumber|0,i=n.startLineNumber|0;if(r===i){var o=t.startColumn|0,s=n.startColumn|0;if(o===s){var l=t.endLineNumber|0,u=n.endLineNumber|0;if(l===u){var a=t.endColumn|0,h=n.endColumn|0;return a-h}return l-u}return o-s}return r-i}var f=t?1:0,p=n?1:0;return f-p},e.compareRangesUsingEnds=function(t,n){return t.endLineNumber===n.endLineNumber?t.endColumn===n.endColumn?t.startLineNumber===n.startLineNumber?t.startColumn-n.startColumn:t.startLineNumber-n.startLineNumber:t.endColumn-n.endColumn:t.endLineNumber-n.endLineNumber},e.spansMultipleLines=function(t){return t.endLineNumber>t.startLineNumber},e}();function ai(e){return!e||typeof e!="string"?!0:e.trim().length===0}function ui(e,t,n){n===void 0&&(n="0");for(var r=""+e,i=[r],o=r.length;o<t;o++)i.push(n);return i.reverse().join("")}var Bn=/{(\d+)}/g;function li(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length===0?e:e.replace(Bn,function(r,i){var o=parseInt(i,10);return isNaN(o)||o<0||o>=t.length?r:t[o]})}function fi(e){return e.replace(/[<>&]/g,function(t){switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return t}})}function Wn(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function hi(e,t){t===void 0&&(t=" ");var n=jn(e,t);return Hn(n,t)}function jn(e,t){if(!e||!t)return e;var n=t.length;if(n===0||e.length===0)return e;for(var r=0;e.indexOf(t,r)===r;)r=r+n;return e.substring(r)}function Hn(e,t){if(!e||!t)return e;var n=t.length,r=e.length;if(n===0||r===0)return e;for(var i=r,o=-1;!(o=e.lastIndexOf(t,i-1),o===-1||o+n!==i);){if(o===0)return"";i=o}return e.substring(0,i)}function ci(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function di(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function mi(e,t){var n=e.length-t.length;return n>0?e.indexOf(t,n)===n:n===0?e===t:!1}function pi(e,t,n){if(n===void 0&&(n={}),!e)throw new Error("Cannot create regex from empty string");t||(e=Wn(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e=e+"\\b"));var r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function gi(e){if(e.source==="^"||e.source==="^$"||e.source==="$"||e.source==="^\\s*$")return!1;var t=e.exec("");return!!(t&&e.lastIndex===0)}function vi(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function qn(e){for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(r!==32&&r!==9)return t}return-1}function _i(e,t,n){t===void 0&&(t=0),n===void 0&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(i!==32&&i!==9)return e.substring(t,r)}return e.substring(t,n)}function Gn(e,t){t===void 0&&(t=e.length-1);for(var n=t;n>=0;n--){var r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Yn(e,t){return e<t?-1:e>t?1:0}function wi(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i===o)continue;We(i)&&(i+=32),We(o)&&(o+=32);var s=i-o;if(s===0)continue;return Be(i)&&Be(o)?s:Yn(e.toLowerCase(),t.toLowerCase())}return e.length<t.length?-1:e.length>t.length?1:0}function Be(e){return e>=97&&e<=122}function We(e){return e>=65&&e<=90}function At(e){return Be(e)||We(e)}function bi(e,t){return e.length===t.length&&Et(e,t)}function Et(e,t,n){n===void 0&&(n=e.length);for(var r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i===o)continue;if(At(i)&&At(o)){var s=Math.abs(i-o);if(s!==0&&s!==32)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}function yi(e,t){var n=t.length;return t.length>e.length?!1:Et(e,t,n)}function Li(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function Ni(e,t){var n,r=Math.min(e.length,t.length),i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function St(e){return 55296<=e&&e<=56319}function Ct(e){return 56320<=e&&e<=57343}function Tt(e,t,n){var r=e.charCodeAt(n);if(St(r)&&n+1<t){var i=e.charCodeAt(n+1);if(Ct(i))return(r-55296<<10)+(i-56320)+65536}return r}function Ft(e,t){var n=e.charCodeAt(t-1);if(Ct(n)&&t>1){var r=e.charCodeAt(t-2);if(St(r))return(r-55296<<10)+(n-56320)+65536}return n}function Ai(e,t){var n=je.getInstance(),r=t,i=e.length,o=Tt(e,i,t);t+=o>=65536?2:1;for(var s=n.getGraphemeBreakType(o);t<i;){var l=Tt(e,i,t),u=n.getGraphemeBreakType(l);if(Mt(s,u))break;t+=l>=65536?2:1,s=u}return t-r}function Ei(e,t){var n=je.getInstance(),r=t,i=Ft(e,t);t-=i>=65536?2:1;for(var o=n.getGraphemeBreakType(i);t>0;){var s=Ft(e,t),l=n.getGraphemeBreakType(s);if(Mt(l,o))break;t-=s>=65536?2:1,o=l}return r-t}var Vn=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function Si(e){return Vn.test(e)}var zn=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function Ci(e){return zn.test(e)}var Jn=/^[\t\n\r\x20-\x7E]*$/;function Ti(e){return Jn.test(e)}function Fi(e){for(var t=0,n=e.length;t<n;t++)if(Qn(e.charCodeAt(t)))return!0;return!1}function Qn(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function Mi(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var Di=String.fromCharCode(65279);function Ii(e){return!!(e&&e.length>0&&e.charCodeAt(0)===65279)}function ki(e){return btoa(encodeURIComponent(e))}function Ri(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function xi(e,t){return t===void 0&&(t=!1),e?(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e):!1}function Ui(e){var t=90-65+1;return e=e%(2*t),e<t?String.fromCharCode(97+e):String.fromCharCode(65+e-t)}function Pi(e){var t=je.getInstance();return t.getGraphemeBreakType(e)}function Mt(e,t){return e===0?t!==5&&t!==7:e===2&&t===3?!1:e===4||e===2||e===3||(t===4||t===2||t===3)?!0:e===8&&(t===8||t===9||t===11||t===12)||((e===11||e===9)&&(t===9||t===10)||((e===12||e===10)&&t===10||(t===5||t===13||(t===7||(e===1||e===13&&t===14)))))?!1:!(e===6&&t===6)}var je=function(){function e(){this._data=Xn()}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(t){if(t<32)return t===10?3:t===13?2:4;if(t<127)return 0;for(var n=this._data,r=n.length/3,i=1;i<=r;)if(t<n[3*i])i=2*i;else if(t>n[3*i+1])i=2*i+1;else return n[3*i+2];return 0},e._INSTANCE=null,e}();function Xn(){return 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]")}var Zn=3;function Dt(e,t,n,r){var i=new vt(e,t,n);return i.ComputeDiff(r)}var It=function(){function e(t){for(var n=[],r=[],i=0,o=t.length;i<o;i++)n[i]=Ge(t[i],1),r[i]=Ye(t[i],1);this.lines=t,this._startColumns=n,this._endColumns=r}return e.prototype.getElements=function(){for(var t=[],n=0,r=this.lines.length;n<r;n++)t[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return t},e.prototype.getStartLineNumber=function(t){return t+1},e.prototype.getEndLineNumber=function(t){return t+1},e.prototype.createCharSequence=function(t,n,r){for(var i=[],o=[],s=[],l=0,u=n;u<=r;u++)for(var a=this.lines[u],h=t?this._startColumns[u]:1,f=t?this._endColumns[u]:a.length+1,p=h;p<f;p++)i[l]=a.charCodeAt(p-1),o[l]=u+1,s[l]=p,l++;return new $n(i,o,s)},e}(),$n=function(){function e(t,n,r){this._charCodes=t,this._lineNumbers=n,this._columns=r}return e.prototype.getElements=function(){return this._charCodes},e.prototype.getStartLineNumber=function(t){return this._lineNumbers[t]},e.prototype.getStartColumn=function(t){return this._columns[t]},e.prototype.getEndLineNumber=function(t){return this._lineNumbers[t]},e.prototype.getEndColumn=function(t){return this._columns[t]+1},e}(),He=function(){function e(t,n,r,i,o,s,l,u){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=s,this.modifiedEndLineNumber=l,this.modifiedEndColumn=u}return e.createFromDiffChange=function(t,n,r){var i,o,s,l,u,a,h,f;return t.originalLength===0?(i=0,o=0,s=0,l=0):(i=n.getStartLineNumber(t.originalStart),o=n.getStartColumn(t.originalStart),s=n.getEndLineNumber(t.originalStart+t.originalLength-1),l=n.getEndColumn(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(u=0,a=0,h=0,f=0):(u=r.getStartLineNumber(t.modifiedStart),a=r.getStartColumn(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),f=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,o,s,l,u,a,h,f)},e}();function Kn(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),l=o.modifiedStart-(n.modifiedStart+n.modifiedLength),u=Math.min(s,l);u<Zn?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}var qe=function(){function e(t,n,r,i,o){this.originalStartLineNumber=t,this.originalEndLineNumber=n,this.modifiedStartLineNumber=r,this.modifiedEndLineNumber=i,this.charChanges=o}return e.createFromDiffResult=function(t,n,r,i,o,s,l){var u,a,h,f,p=void 0;if(n.originalLength===0?(u=r.getStartLineNumber(n.originalStart)-1,a=0):(u=r.getStartLineNumber(n.originalStart),a=r.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(h=i.getStartLineNumber(n.modifiedStart)-1,f=0):(h=i.getStartLineNumber(n.modifiedStart),f=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),s&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&o()){var _=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),b=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),S=Dt(_,b,o,!0).changes;l&&(S=Kn(S)),p=[];for(var F=0,k=S.length;F<k;F++)p.push(He.createFromDiffChange(S[F],_,b))}return new e(u,a,h,f,p)},e}(),er=function(){function e(t,n,r){this.shouldComputeCharChanges=r.shouldComputeCharChanges,this.shouldPostProcessCharChanges=r.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=r.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=r.shouldMakePrettyDiff,this.originalLines=t,this.modifiedLines=n,this.original=new It(t),this.modified=new It(n),this.continueLineDiff=kt(r.maxComputationTime),this.continueCharDiff=kt(r.maxComputationTime===0?0:Math.min(r.maxComputationTime,5e3))}return e.prototype.computeDiff=function(){if(this.original.lines.length===1&&this.original.lines[0].length===0)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(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var t=Dt(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=t.changes,r=t.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var i=[],o=0,s=n.length;o<s;o++)i.push(qe.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:r,changes:i}}for(var l=[],u=0,a=0,o=-1,h=n.length;o<h;o++){for(var f=o+1<h?n[o+1]:null,p=f?f.originalStart:this.originalLines.length,_=f?f.modifiedStart:this.modifiedLines.length;u<p&&a<_;){var b=this.originalLines[u],S=this.modifiedLines[a];if(b!==S){{for(var F=Ge(b,1),k=Ge(S,1);F>1&&k>1;){var I=b.charCodeAt(F-2),m=S.charCodeAt(k-2);if(I!==m)break;F--,k--}(F>1||k>1)&&this._pushTrimWhitespaceCharChange(l,u+1,1,F,a+1,1,k)}{for(var g=Ye(b,1),v=Ye(S,1),w=b.length+1,C=S.length+1;g<w&&v<C;){var I=b.charCodeAt(g-1),m=b.charCodeAt(v-1);if(I!==m)break;g++,v++}(g<w||v<C)&&this._pushTrimWhitespaceCharChange(l,u+1,g,w,a+1,v,C)}}u++,a++}f&&(l.push(qe.createFromDiffResult(this.shouldIgnoreTrimWhitespace,f,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),u+=f.originalLength,a+=f.modifiedLength)}return{quitEarly:r,changes:l}},e.prototype._pushTrimWhitespaceCharChange=function(t,n,r,i,o,s,l){if(this._mergeTrimWhitespaceCharChange(t,n,r,i,o,s,l))return;var u=void 0;this.shouldComputeCharChanges&&(u=[new He(n,r,n,i,o,s,o,l)]),t.push(new qe(n,n,o,o,u))},e.prototype._mergeTrimWhitespaceCharChange=function(t,n,r,i,o,s,l){var u=t.length;if(u===0)return!1;var a=t[u-1];return a.originalEndLineNumber===0||a.modifiedEndLineNumber===0?!1:a.originalEndLineNumber+1===n&&a.modifiedEndLineNumber+1===o?(a.originalEndLineNumber=n,a.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&a.charChanges&&a.charChanges.push(new He(n,r,n,i,o,s,o,l)),!0):!1},e}();function Ge(e,t){var n=qn(e);return n===-1?t:n+1}function Ye(e,t){var n=Gn(e);return n===-1?t:n+2}function kt(e){if(e===0)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}function Rt(e){return e<0?0:e>255?255:e|0}function be(e){return e<0?0:e>4294967295?4294967295:e|0}var tr=function(){function e(t,n){this.index=t,this.remainder=n}return e}(),nr=function(){function e(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(t,n){t=be(t);var r=this.values,i=this.prefixSum,o=n.length;return o===0?!1:(this.values=new Uint32Array(r.length+o),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+o),this.values.set(n,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(t,n){return t=be(t),n=be(n),this.values[t]===n?!1:(this.values[t]=n,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)},e.prototype.removeValues=function(t,n){t=be(t),n=be(n);var r=this.values,i=this.prefixSum;if(t>=r.length)return!1;var o=r.length-t;return n>=o&&(n=o),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return this.values.length===0?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(t){return t<0?0:(t=be(t),this._getAccumulatedValue(t))},e.prototype._getAccumulatedValue=function(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];var n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(var r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]},e.prototype.getIndexOf=function(t){t=Math.floor(t),this.getTotalValue();for(var n=0,r=this.values.length-1,i=0,o=0,s=0;n<=r;)if(i=n+(r-n)/2|0,o=this.prefixSum[i],s=o-this.values[i],t<s)r=i-1;else if(t>=o)n=i+1;else break;return new tr(i,t-s)},e}(),rr=function(){function e(t,n,r,i){this._uri=t,this._lines=n,this._eol=r,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);for(var n=t.changes,r=0,i=n;r<i.length;r++){var o=i[r];this._acceptDeleteRange(o.range),this._acceptInsertText(new _e(o.range.startLineNumber,o.range.startColumn),o.text)}this._versionId=t.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var t=this._eol.length,n=this._lines.length,r=new Uint32Array(n),i=0;i<n;i++)r[i]=this._lines[i].length+t;this._lineStarts=new nr(r)}},e.prototype._setLineText=function(t,n){this._lines[t]=n,this._lineStarts&&this._lineStarts.changeValue(t,this._lines[t].length+this._eol.length)},e.prototype._acceptDeleteRange=function(t){if(t.startLineNumber===t.endLineNumber){if(t.startColumn===t.endColumn)return;this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.startLineNumber-1].substring(t.endColumn-1));return}this._setLineText(t.startLineNumber-1,this._lines[t.startLineNumber-1].substring(0,t.startColumn-1)+this._lines[t.endLineNumber-1].substring(t.endColumn-1)),this._lines.splice(t.startLineNumber,t.endLineNumber-t.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(t.startLineNumber,t.endLineNumber-t.startLineNumber)},e.prototype._acceptInsertText=function(t,n){if(n.length===0)return;var r=n.split(/\r\n|\r|\n/);if(r.length===1){this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]+this._lines[t.lineNumber-1].substring(t.column-1));return}r[r.length-1]+=this._lines[t.lineNumber-1].substring(t.column-1),this._setLineText(t.lineNumber-1,this._lines[t.lineNumber-1].substring(0,t.column-1)+r[0]);for(var i=new Uint32Array(r.length-1),o=1;o<r.length;o++)this._lines.splice(t.lineNumber+o-1,0,r[o]),i[o-1]=r[o].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(t.lineNumber,i)},e}(),ir="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function or(e){e===void 0&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,r=ir;n<r.length;n++){var i=r[n];if(e.indexOf(i)>=0)continue;t+="\\"+i}return t+="\\s]+)",new RegExp(t,"g")}var sr=or();function ar(e){var t=sr;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}function ur(e,t,n,r){var i=e-1-r,o=n.lastIndexOf(" ",i-1)+1;t.lastIndex=o;for(var s;s=t.exec(n);){var l=s.index||0;if(l<=i&&t.lastIndex>=i)return{word:s[0],startColumn:r+1+l,endColumn:r+1+t.lastIndex}}return null}function lr(e,t,n,r){var i=e-1-r;t.lastIndex=0;for(var o;o=t.exec(n);){var s=o.index||0;if(s>i)return null;if(t.lastIndex>=i)return{word:o[0],startColumn:r+1+s,endColumn:r+1+t.lastIndex}}return null}function fr(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=i[0].indexOf(" ")>=0?lr(e,t,n,r):ur(e,t,n,r);return t.lastIndex=0,o}var xt=function(){function e(t){var n=Rt(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(t){for(var n=new Uint8Array(256),r=0;r<256;r++)n[r]=t;return n},e.prototype.set=function(t,n){var r=Rt(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)},e.prototype.get=function(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue},e}(),Oi=function(){function e(){this._actual=new xt(0)}return e.prototype.add=function(t){this._actual.set(t,1)},e.prototype.has=function(t){return this._actual.get(t)===1},e}(),hr=function(){function e(t,n,r){for(var i=new Uint8Array(t*n),o=0,s=t*n;o<s;o++)i[o]=r;this._data=i,this.rows=t,this.cols=n}return e.prototype.get=function(t,n){return this._data[t*this.cols+n]},e.prototype.set=function(t,n,r){this._data[t*this.cols+n]=r},e}(),cr=function(){function e(t){for(var n=0,r=0,i=0,o=t.length;i<o;i++){var s=t[i],l=s[0],u=s[1],a=s[2];u>n&&(n=u),l>r&&(r=l),a>r&&(r=a)}n++,r++;for(var h=new hr(r,n,0),i=0,o=t.length;i<o;i++){var f=t[i],l=f[0],u=f[1],a=f[2];h.set(l,u,a)}this._states=h,this._maxCharCode=n}return e.prototype.nextState=function(t,n){return n<0||n>=this._maxCharCode?0:this._states.get(t,n)},e}(),Ve=null;function dr(){return Ve===null&&(Ve=new cr([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Ve}var Ne=null;function mr(){if(Ne===null){Ne=new xt(0);for(var e=` <>'"\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++)Ne.set(e.charCodeAt(t),1);for(var n=".,;",t=0;t<n.length;t++)Ne.set(n.charCodeAt(t),2)}return Ne}var pr=function(){function e(){}return e._createLink=function(t,n,r,i,o){var s=o-1;do{var l=n.charCodeAt(s),u=t.get(l);if(u!==2)break;s--}while(s>i);if(i>0){var a=n.charCodeAt(i-1),h=n.charCodeAt(s);(a===40&&h===41||a===91&&h===93||a===123&&h===125)&&s--}return{range:{startLineNumber:r,startColumn:i+1,endLineNumber:r,endColumn:s+2},url:n.substring(i,s+1)}},e.computeLinks=function(t,n){n===void 0&&(n=dr());for(var r=mr(),i=[],o=1,s=t.getLineCount();o<=s;o++){for(var l=t.getLineContent(o),u=l.length,a=0,h=0,f=0,p=1,_=!1,b=!1,S=!1;a<u;){var F=!1,k=l.charCodeAt(a);if(p===13){var I=void 0;switch(k){case 40:_=!0,I=0;break;case 41:I=_?0:1;break;case 91:b=!0,I=0;break;case 93:I=b?0:1;break;case 123:S=!0,I=0;break;case 125:I=S?0:1;break;case 39:I=f===34||f===96?0:1;break;case 34:I=f===39||f===96?0:1;break;case 96:I=f===39||f===34?0:1;break;case 42:I=f===42?1:0;break;case 124:I=f===124?1:0;break;default:I=r.get(k)}I===1&&(i.push(e._createLink(r,l,o,h,a)),F=!0)}else if(p===12){var I=void 0;k===91?(b=!0,I=0):I=r.get(k),I===1?F=!0:p=13}else p=n.nextState(p,k),p===0&&(F=!0);F&&(p=1,_=!1,b=!1,S=!1,h=a+1,f=k),a++}p===13&&i.push(e._createLink(r,l,o,h,u))}return i},e}();function gr(e){return!e||typeof e.getLineCount!="function"||typeof e.getLineContent!="function"?[]:pr.computeLinks(e)}var vr=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(t,n,r,i,o){if(t&&n){var s=this.doNavigateValueSet(n,o);if(s)return{range:t,value:s}}if(r&&i){var s=this.doNavigateValueSet(i,o);if(s)return{range:r,value:s}}return null},e.prototype.doNavigateValueSet=function(t,n){var r=this.numberReplace(t,n);return r!==null?r:this.textReplace(t,n)},e.prototype.numberReplace=function(t,n){var r=Math.pow(10,t.length-(t.lastIndexOf(".")+1)),i=Number(t),o=parseFloat(t);return!isNaN(i)&&!isNaN(o)&&i===o?i===0&&!n?null:(i=Math.floor(i*r),i+=n?r:-r,String(i/r)):null},e.prototype.textReplace=function(t,n){return this.valueSetsReplace(this._defaultValueSet,t,n)},e.prototype.valueSetsReplace=function(t,n,r){for(var i=null,o=0,s=t.length;i===null&&o<s;o++)i=this.valueSetReplace(t[o],n,r);return i},e.prototype.valueSetReplace=function(t,n,r){var i=t.indexOf(n);return i>=0?(i+=r?1:-1,i<0?i=t.length-1:i%=t.length,t[i]):null},e.INSTANCE=new e,e}(),Bi=x("zh89");function _r(e){var t=this,n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var z=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),ze=function(){function e(){this._first=z.Undefined,this._last=z.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===z.Undefined},e.prototype.clear=function(){this._first=z.Undefined,this._last=z.Undefined,this._size=0},e.prototype.unshift=function(t){return this._insert(t,!1)},e.prototype.push=function(t){return this._insert(t,!0)},e.prototype._insert=function(t,n){var r=this,i=new z(t);if(this._first===z.Undefined)this._first=i,this._last=i;else if(n){var o=this._last;this._last=i,i.prev=o,o.next=i}else{var s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;var l=!1;return function(){l||(l=!0,r._remove(i))}},e.prototype.shift=function(){if(this._first===z.Undefined)return;var t=this._first.element;return this._remove(this._first),t},e.prototype.pop=function(){if(this._last===z.Undefined)return;var t=this._last.element;return this._remove(this._last),t},e.prototype._remove=function(t){if(t.prev!==z.Undefined&&t.next!==z.Undefined){var n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===z.Undefined&&t.next===z.Undefined?(this._first=z.Undefined,this._last=z.Undefined):t.next===z.Undefined?(this._last=this._last.prev,this._last.next=z.Undefined):t.prev===z.Undefined&&(this._first=this._first.next,this._first.prev=z.Undefined);this._size-=1},e.prototype.iterator=function(){var t,n=this._first;return{next:function(){return n===z.Undefined?ue:(t?t.value=n.element:t={done:!1,value:n.element},n=n.next,t)}}},e.prototype.toArray=function(){for(var t=[],n=this._first;n!==z.Undefined;n=n.next)t.push(n.element);return t},e}(),wr=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Te;(function(e){e.None=function(){return ne.None};function t(m){return function(g,v,w){v===void 0&&(v=null);var C=!1,A;return A=m(function(U){return C?void 0:(A?A.dispose():C=!0,g.call(v,U))},null,w),C&&A.dispose(),A}}e.once=t;function n(m,g){return u(function(v,w,C){return w===void 0&&(w=null),m(function(A){return v.call(w,g(A))},null,C)})}e.map=n;function r(m,g){return u(function(v,w,C){return w===void 0&&(w=null),m(function(A){g(A),v.call(w,A)},null,C)})}e.forEach=r;function i(m,g){return u(function(v,w,C){return w===void 0&&(w=null),m(function(A){return g(A)&&v.call(w,A)},null,C)})}e.filter=i;function o(m){return m}e.signal=o;function s(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];return function(v,w,C){return w===void 0&&(w=null),B.apply(void 0,m.map(function(A){return A(function(U){return v.call(w,U)},null,C)}))}}e.any=s;function l(m,g,v){var w=v;return n(m,function(C){return w=g(w,C),w})}e.reduce=l;function u(m){var g,v=new te({onFirstListenerAdd:function(){g=m(v.fire,v)},onLastListenerRemove:function(){g.dispose()}});return v.event}e.snapshot=u;function a(m,g,v,w,C){v===void 0&&(v=100),w===void 0&&(w=!1);var A,U=void 0,W=void 0,y=0,Y=new te({leakWarningThreshold:C,onFirstListenerAdd:function(){A=m(function(Z){y++,U=g(U,Z),w&&!W&&(Y.fire(U),U=void 0),clearTimeout(W),W=setTimeout(function(){var Dr=U;U=void 0,W=void 0,(!w||y>1)&&Y.fire(Dr),y=0},v)})},onLastListenerRemove:function(){A.dispose()}});return Y.event}e.debounce=a;function h(m){var g=new Date().getTime();return n(t(m),function(v){return new Date().getTime()-g})}e.stopwatch=h;function f(m){var g=!0,v;return i(m,function(w){var C=g||w!==v;return g=!1,v=w,C})}e.latch=f;function p(m,g,v){g===void 0&&(g=!1),v===void 0&&(v=[]);var w=v.slice(),C=m(function(W){w?w.push(W):U.fire(W)}),A=function(){w&&w.forEach(function(y){return U.fire(y)}),w=null},U=new te({onFirstListenerAdd:function(){C||(C=m(function(y){return U.fire(y)}))},onFirstListenerDidAdd:function(){w&&(g?setTimeout(A):A())},onLastListenerRemove:function(){C&&C.dispose(),C=null}});return U.event}e.buffer=p;var _=function(){function m(g){this.event=g}return m.prototype.map=function(g){return new m(n(this.event,g))},m.prototype.forEach=function(g){return new m(r(this.event,g))},m.prototype.filter=function(g){return new m(i(this.event,g))},m.prototype.reduce=function(g,v){return new m(l(this.event,g,v))},m.prototype.latch=function(){return new m(f(this.event))},m.prototype.debounce=function(g,v,w,C){return v===void 0&&(v=100),w===void 0&&(w=!1),new m(a(this.event,g,v,w,C))},m.prototype.on=function(g,v,w){return this.event(g,v,w)},m.prototype.once=function(g,v,w){return t(this.event)(g,v,w)},m}();function b(m){return new _(m)}e.chain=b;function S(m,g,v){v===void 0&&(v=function(y){return y});var w=function(){for(var y=[],Y=0;Y<arguments.length;Y++)y[Y]=arguments[Y];return U.fire(v.apply(void 0,y))},C=function(){return m.on(g,w)},A=function(){return m.removeListener(g,w)},U=new te({onFirstListenerAdd:C,onLastListenerRemove:A});return U.event}e.fromNodeEventEmitter=S;function F(m,g,v){v===void 0&&(v=function(y){return y});var w=function(){for(var y=[],Y=0;Y<arguments.length;Y++)y[Y]=arguments[Y];return U.fire(v.apply(void 0,y))},C=function(){return m.addEventListener(g,w)},A=function(){return m.removeEventListener(g,w)},U=new te({onFirstListenerAdd:C,onLastListenerRemove:A});return U.event}e.fromDOMEventEmitter=F;function k(m){var g=new te,v=!1;return m.then(void 0,function(){return null}).then(function(){v?g.fire(void 0):setTimeout(function(){return g.fire(void 0)},0)}),v=!0,g.event}e.fromPromise=k;function I(m){return new Promise(function(g){return t(m)(g)})}e.toPromise=I})(Te||(Te={}));var Ut=-1,br=function(){function e(t,n){n===void 0&&(n=Math.random().toString(18).slice(2,5)),this.customThreshold=t,this.name=n,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(t){var n=this,r=Ut;if(typeof this.customThreshold=="number"&&(r=this.customThreshold),r<=0||t<r)return;this._stacks||(this._stacks=new Map);var i=new Error().stack.split(`
`).slice(3).join(`
`),o=this._stacks.get(i)||0;if(this._stacks.set(i,o+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=r*.5;var s,l=0;this._stacks.forEach(function(u,a){(!s||l<u)&&(s=a,l=u)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+t+" listeners already. MOST frequent listener ("+l+"):"),console.warn(s)}return function(){var u=n._stacks.get(i)||0;n._stacks.set(i,u-1)}},e}(),te=function(){function e(t){this._disposed=!1,this._options=t,this._leakageMon=Ut>0?new br(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var n=this;return this._event||(this._event=function(r,i,o){n._listeners||(n._listeners=new ze);var s=n._listeners.isEmpty();s&&n._options&&n._options.onFirstListenerAdd&&n._options.onFirstListenerAdd(n);var l=n._listeners.push(i?[r,i]:r);s&&n._options&&n._options.onFirstListenerDidAdd&&n._options.onFirstListenerDidAdd(n),n._options&&n._options.onListenerDidAdd&&n._options.onListenerDidAdd(n,r,i);var u;n._leakageMon&&(u=n._leakageMon.check(n._listeners.size));var a;return a={dispose:function(){if(u&&u(),a.dispose=e._noop,!n._disposed&&(l(),n._options&&n._options.onLastListenerRemove)){var f=n._listeners&&!n._listeners.isEmpty();f||n._options.onLastListenerRemove(n)}}},o instanceof de?o.add(a):Array.isArray(o)&&o.push(a),a}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(t){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ze);for(var n=this._listeners.iterator(),r=n.next();!r.done;r=n.next())this._deliveryQueue.push([r.value,t]);for(;this._deliveryQueue.size>0;){var i=this._deliveryQueue.shift(),o=i[0],s=i[1];try{typeof o=="function"?o.call(void 0,s):o[0].call(o[1],s)}catch(l){q(l)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),Wi=function(e){wr(t,e);function t(n){var r=e.call(this,n)||this;return r._isPaused=0,r._eventQueue=new ze,r._mergeFn=n&&n.merge,r}return t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){var n=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(n))}else for(;!this._isPaused&&this._eventQueue.size!==0;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(n){this._listeners&&(this._isPaused!==0?this._eventQueue.push(n):e.prototype.fire.call(this,n))},t}(te),ji=function(){function e(){var t=this;this.hasListeners=!1,this.events=[],this.emitter=new te({onFirstListenerAdd:function(){return t.onFirstListenerAdd()},onLastListenerRemove:function(){return t.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(t){var n=this,r={event:t,listener:null};this.events.push(r),this.hasListeners&&this.hook(r);var i=function(){n.hasListeners&&n.unhook(r);var s=n.events.indexOf(r);n.events.splice(s,1)};return $(_r(i))},e.prototype.onFirstListenerAdd=function(){var t=this;this.hasListeners=!0,this.events.forEach(function(n){return t.hook(n)})},e.prototype.onLastListenerRemove=function(){var t=this;this.hasListeners=!1,this.events.forEach(function(n){return t.unhook(n)})},e.prototype.hook=function(t){var n=this;t.listener=t.event(function(r){return n.emitter.fire(r)})},e.prototype.unhook=function(t){t.listener&&t.listener.dispose(),t.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}(),Hi=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(t){var n=this;return function(r,i,o){return t(function(s){var l=n.buffers[n.buffers.length-1];l?l.push(function(){return r.call(i,s)}):r.call(i,s)},void 0,o)}},e.prototype.bufferEvents=function(t){var n=[];this.buffers.push(n);var r=t();return this.buffers.pop(),n.forEach(function(i){return i()}),r},e}(),qi=function(){function e(){var t=this;this.listening=!1,this.inputEvent=Te.None,this.inputEventListener=ne.None,this.emitter=new te({onFirstListenerDidAdd:function(){t.listening=!0,t.inputEventListener=t.inputEvent(t.emitter.fire,t.emitter)},onLastListenerRemove:function(){t.listening=!1,t.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(n){this.inputEvent=n,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=n(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}(),Pt=Object.freeze(function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}),Fe;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof Me?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Te.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Pt})})(Fe||(Fe={}));var Me=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?Pt:(this._emitter||(this._emitter=new te),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),yr=function(){function e(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new Me),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof Me&&this._token.cancel():this._token=Fe.Cancelled},e.prototype.dispose=function(t){t===void 0&&(t=!1),t&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Me&&this._token.dispose():this._token=Fe.None},e}(),Je=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t},e.prototype.keyCodeToStr=function(t){return this._keyCodeToStr[t]},e.prototype.strToKeyCode=function(t){return this._strToKeyCode[t.toLowerCase()]||0},e}(),Qe=new Je,Xe=new Je,Ze=new Je;(function(){function e(t,n,r,i){r===void 0&&(r=n),i===void 0&&(i=r),Qe.define(t,n),Xe.define(t,r),Ze.define(t,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})();var Ot;(function(e){function t(s){return Qe.keyCodeToStr(s)}e.toString=t;function n(s){return Qe.strToKeyCode(s)}e.fromString=n;function r(s){return Xe.keyCodeToStr(s)}e.toUserSettingsUS=r;function i(s){return Ze.keyCodeToStr(s)}e.toUserSettingsGeneral=i;function o(s){return Xe.strToKeyCode(s)||Ze.strToKeyCode(s)}e.fromUserSettings=o})(Ot||(Ot={}));function Lr(e,t){var n=(t&65535)<<16>>>0;return(e|n)>>>0}function Gi(e,t){if(e===0)return null;var n=(e&65535)>>>0,r=(e&4294901760)>>>16;return r!==0?new Ke([$e(n,t),$e(r,t)]):new Ke([$e(n,t)])}function $e(e,t){var n=!!(e&2048),r=!!(e&256),i=t===2?r:n,o=!!(e&1024),s=!!(e&512),l=t===2?n:r,u=e&255;return new Nr(i,o,s,l,u)}var Nr=function(){function e(t,n,r,i,o){this.ctrlKey=t,this.shiftKey=n,this.altKey=r,this.metaKey=i,this.keyCode=o}return e.prototype.equals=function(t){return this.ctrlKey===t.ctrlKey&&this.shiftKey===t.shiftKey&&this.altKey===t.altKey&&this.metaKey===t.metaKey&&this.keyCode===t.keyCode},e.prototype.isModifierKey=function(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4},e.prototype.toChord=function(){return new Ke([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57},e}(),Ke=function(){function e(t){if(t.length===0)throw D("parts");this.parts=t}return e.prototype.equals=function(t){if(t===null)return!1;if(this.parts.length!==t.parts.length)return!1;for(var n=0;n<this.parts.length;n++)if(!this.parts[n].equals(t.parts[n]))return!1;return!0},e}(),Yi=function(){function e(t,n,r,i,o,s){this.ctrlKey=t,this.shiftKey=n,this.altKey=r,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=s}return e}(),Vi=function(){function e(){}return e}(),Ar=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Er=function(e){Ar(t,e);function t(n,r,i,o){var s=e.call(this,n,r,i,o)||this;return s.selectionStartLineNumber=n,s.selectionStartColumn=r,s.positionLineNumber=i,s.positionColumn=o,s}return t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(n){return t.selectionsEqual(this,n)},t.selectionsEqual=function(n,r){return n.selectionStartLineNumber===r.selectionStartLineNumber&&n.selectionStartColumn===r.selectionStartColumn&&n.positionLineNumber===r.positionLineNumber&&n.positionColumn===r.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(n,r){return this.getDirection()===0?new t(this.startLineNumber,this.startColumn,n,r):new t(n,r,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new _e(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(n,r){return this.getDirection()===0?new t(n,r,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,n,r)},t.fromPositions=function(n,r){return r===void 0&&(r=n),new t(n.lineNumber,n.column,r.lineNumber,r.column)},t.liftSelection=function(n){return new t(n.selectionStartLineNumber,n.selectionStartColumn,n.positionLineNumber,n.positionColumn)},t.selectionsArrEqual=function(n,r){if(n&&!r||!n&&r)return!1;if(!n&&!r)return!0;if(n.length!==r.length)return!1;for(var i=0,o=n.length;i<o;i++)if(!this.selectionsEqual(n[i],r[i]))return!1;return!0},t.isISelection=function(n){return n&&typeof n.selectionStartLineNumber=="number"&&typeof n.selectionStartColumn=="number"&&typeof n.positionLineNumber=="number"&&typeof n.positionColumn=="number"},t.createWithDirection=function(n,r,i,o,s){return s===0?new t(n,r,i,o):new t(i,o,n,r)},t}(we),Sr=function(){function e(t,n,r){this.offset=t|0,this.type=n,this.language=r}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),zi=function(){function e(t,n){this.tokens=t,this.endState=n}return e}(),Ji=function(){function e(t,n){this.tokens=t,this.endState=n}return e}(),Bt;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(Bt||(Bt={}));var Wt;(function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(Wt||(Wt={}));var jt;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"})(jt||(jt={}));var Ht;(function(e){e[e.Deprecated=1]="Deprecated"})(Ht||(Ht={}));var qt;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(qt||(qt={}));var Gt;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(Gt||(Gt={}));var Yt;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(Yt||(Yt={}));var Vt;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Vt||(Vt={}));var zt;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(zt||(zt={}));var Jt;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(Jt||(Jt={}));var Qt;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.comments=13]="comments",e[e.contextmenu=14]="contextmenu",e[e.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",e[e.cursorBlinking=16]="cursorBlinking",e[e.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",e[e.cursorStyle=18]="cursorStyle",e[e.cursorSurroundingLines=19]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",e[e.cursorWidth=21]="cursorWidth",e[e.disableLayerHinting=22]="disableLayerHinting",e[e.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",e[e.dragAndDrop=24]="dragAndDrop",e[e.emptySelectionClipboard=25]="emptySelectionClipboard",e[e.extraEditorClassName=26]="extraEditorClassName",e[e.fastScrollSensitivity=27]="fastScrollSensitivity",e[e.find=28]="find",e[e.fixedOverflowWidgets=29]="fixedOverflowWidgets",e[e.folding=30]="folding",e[e.foldingStrategy=31]="foldingStrategy",e[e.foldingHighlight=32]="foldingHighlight",e[e.fontFamily=33]="fontFamily",e[e.fontInfo=34]="fontInfo",e[e.fontLigatures=35]="fontLigatures",e[e.fontSize=36]="fontSize",e[e.fontWeight=37]="fontWeight",e[e.formatOnPaste=38]="formatOnPaste",e[e.formatOnType=39]="formatOnType",e[e.glyphMargin=40]="glyphMargin",e[e.gotoLocation=41]="gotoLocation",e[e.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",e[e.hover=44]="hover",e[e.inDiffEditor=45]="inDiffEditor",e[e.letterSpacing=46]="letterSpacing",e[e.lightbulb=47]="lightbulb",e[e.lineDecorationsWidth=48]="lineDecorationsWidth",e[e.lineHeight=49]="lineHeight",e[e.lineNumbers=50]="lineNumbers",e[e.lineNumbersMinChars=51]="lineNumbersMinChars",e[e.links=52]="links",e[e.matchBrackets=53]="matchBrackets",e[e.minimap=54]="minimap",e[e.mouseStyle=55]="mouseStyle",e[e.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=57]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",e[e.multiCursorModifier=59]="multiCursorModifier",e[e.multiCursorPaste=60]="multiCursorPaste",e[e.occurrencesHighlight=61]="occurrencesHighlight",e[e.overviewRulerBorder=62]="overviewRulerBorder",e[e.overviewRulerLanes=63]="overviewRulerLanes",e[e.parameterHints=64]="parameterHints",e[e.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",e[e.quickSuggestions=66]="quickSuggestions",e[e.quickSuggestionsDelay=67]="quickSuggestionsDelay",e[e.readOnly=68]="readOnly",e[e.renderControlCharacters=69]="renderControlCharacters",e[e.renderIndentGuides=70]="renderIndentGuides",e[e.renderFinalNewline=71]="renderFinalNewline",e[e.renderLineHighlight=72]="renderLineHighlight",e[e.renderValidationDecorations=73]="renderValidationDecorations",e[e.renderWhitespace=74]="renderWhitespace",e[e.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",e[e.roundedSelection=76]="roundedSelection",e[e.rulers=77]="rulers",e[e.scrollbar=78]="scrollbar",e[e.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=80]="scrollBeyondLastLine",e[e.selectionClipboard=81]="selectionClipboard",e[e.selectionHighlight=82]="selectionHighlight",e[e.selectOnLineNumbers=83]="selectOnLineNumbers",e[e.showFoldingControls=84]="showFoldingControls",e[e.showUnused=85]="showUnused",e[e.snippetSuggestions=86]="snippetSuggestions",e[e.smoothScrolling=87]="smoothScrolling",e[e.stopRenderingLineAfter=88]="stopRenderingLineAfter",e[e.suggest=89]="suggest",e[e.suggestFontSize=90]="suggestFontSize",e[e.suggestLineHeight=91]="suggestLineHeight",e[e.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",e[e.suggestSelection=93]="suggestSelection",e[e.tabCompletion=94]="tabCompletion",e[e.useTabStops=95]="useTabStops",e[e.wordSeparators=96]="wordSeparators",e[e.wordWrap=97]="wordWrap",e[e.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=100]="wordWrapColumn",e[e.wordWrapMinified=101]="wordWrapMinified",e[e.wrappingIndent=102]="wrappingIndent",e[e.wrappingStrategy=103]="wrappingStrategy",e[e.editorClassName=104]="editorClassName",e[e.pixelRatio=105]="pixelRatio",e[e.tabFocusMode=106]="tabFocusMode",e[e.layoutInfo=107]="layoutInfo",e[e.wrappingInfo=108]="wrappingInfo"})(Qt||(Qt={}));var Xt;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(Xt||(Xt={}));var Zt;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(Zt||(Zt={}));var $t;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})($t||($t={}));var et;(function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"})(et||(et={}));var tt;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(tt||(tt={}));var nt;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(nt||(nt={}));var Kt;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(Kt||(Kt={}));var en;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(en||(en={}));var tn;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(tn||(tn={}));var nn;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(nn||(nn={}));var rn;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(rn||(rn={}));var on;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(on||(on={}));var sn;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(sn||(sn={}));var an;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(an||(an={}));var rt;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(rt||(rt={}));var un;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(un||(un={}));var ln;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(ln||(ln={}));var fn;(function(e){e[e.Deprecated=1]="Deprecated"})(fn||(fn={}));var hn;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(hn||(hn={}));var cn;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(cn||(cn={}));var dn;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(dn||(dn={}));var mn;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(mn||(mn={}));var Cr=function(){function e(){}return e.chord=function(t,n){return Lr(t,n)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function Tr(){return{editor:void 0,languages:void 0,CancellationTokenSource:yr,Emitter:te,KeyCode:et,KeyMod:Cr,Position:_e,Range:we,Selection:Er,SelectionDirection:rt,MarkerSeverity:tt,MarkerTag:nt,Uri:Pe,Token:Sr}}var Fr=function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)o.hasOwnProperty(s)&&(i[s]=o[s])},e(n,r)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(h){try{a(r.next(h))}catch(f){s(f)}}function u(h){try{a(r.throw(h))}catch(f){s(f)}}function a(h){h.done?o(h.value):i(h.value).then(l,u)}a((r=r.apply(e,t||[])).next())})},Le=function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(a){return function(h){return u([a,h])}}function u(a){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=a[0]&2?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;(i=0,o)&&(a=[a[0]&2,o.value]);switch(a[0]){case 0:case 1:o=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,i=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1],o=a;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(a);break}o[2]&&n.ops.pop(),n.trys.pop();continue}a=t.call(e,n)}catch(h){a=[6,h],i=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Mr=function(e){Fr(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(n){return this._lines[n-1]},t.prototype.getWordAtPosition=function(n,r){var i=fr(n.column,ar(r),this._lines[n.lineNumber-1],0);return i?new we(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn):null},t.prototype.createWordIterator=function(n){var r=this,i,o=0,s,l=0,u=[],a=function h(){if(l<u.length){var f=s.substring(u[l].start,u[l].end);return l+=1,i?i.value=f:i={done:!1,value:f},i}else return o>=r._lines.length?ue:(s=r._lines[o],u=r._wordenize(s,n),l=0,o+=1,h())};return{next:a}},t.prototype.getLineWords=function(n,r){for(var i=this._lines[n-1],o=this._wordenize(i,r),s=[],l=0,u=o;l<u.length;l++){var a=u[l];s.push({word:i.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1})}return s},t.prototype._wordenize=function(n,r){var i=[],o;for(r.lastIndex=0;(o=r.exec(n))&&!(o[0].length===0);)i.push({start:o.index,end:o.index+o[0].length});return i},t.prototype.getValueInRange=function(n){if(n=this._validateRange(n),n.startLineNumber===n.endLineNumber)return this._lines[n.startLineNumber-1].substring(n.startColumn-1,n.endColumn-1);var r=this._eol,i=n.startLineNumber-1,o=n.endLineNumber-1,s=[];s.push(this._lines[i].substring(n.startColumn-1));for(var l=i+1;l<o;l++)s.push(this._lines[l]);return s.push(this._lines[o].substring(0,n.endColumn-1)),s.join(r)},t.prototype.offsetAt=function(n){return n=this._validatePosition(n),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(n.lineNumber-2)+(n.column-1)},t.prototype.positionAt=function(n){n=Math.floor(n),n=Math.max(0,n),this._ensureLineStarts();var r=this._lineStarts.getIndexOf(n),i=this._lines[r.index].length;return{lineNumber:1+r.index,column:1+Math.min(r.remainder,i)}},t.prototype._validateRange=function(n){var r=this._validatePosition({lineNumber:n.startLineNumber,column:n.startColumn}),i=this._validatePosition({lineNumber:n.endLineNumber,column:n.endColumn});return r.lineNumber!==n.startLineNumber||r.column!==n.startColumn||i.lineNumber!==n.endLineNumber||i.column!==n.endColumn?{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:i.lineNumber,endColumn:i.column}:n},t.prototype._validatePosition=function(n){if(!_e.isIPosition(n))throw new Error("bad position");var r=n.lineNumber,i=n.column,o=!1;if(r<1)r=1,i=1,o=!0;else if(r>this._lines.length)r=this._lines.length,i=this._lines[r-1].length+1,o=!0;else{var s=this._lines[r-1].length+1;i<1?(i=1,o=!0):i>s&&(i=s,o=!0)}return o?{lineNumber:r,column:i}:n},t}(rr),pn=function(){function e(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(t){return this._models[t]},e.prototype._getModels=function(){var t=this,n=[];return Object.keys(this._models).forEach(function(r){return n.push(t._models[r])}),n},e.prototype.acceptNewModel=function(t){this._models[t.url]=new Mr(Pe.parse(t.url),t.lines,t.EOL,t.versionId)},e.prototype.acceptModelChanged=function(t,n){if(!this._models[t])return;var r=this._models[t];r.onEvents(n)},e.prototype.acceptRemovedModel=function(t){if(!this._models[t])return;delete this._models[t]},e.prototype.computeDiff=function(t,n,r,i){return ye(this,void 0,void 0,function(){var o,s,l,u,a,h,f;return Le(this,function(p){return o=this._getModel(t),s=this._getModel(n),!o||!s?[2,null]:(l=o.getLinesContent(),u=s.getLinesContent(),a=new er(l,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:r,shouldMakePrettyDiff:!0,maxComputationTime:i}),h=a.computeDiff(),f=h.changes.length>0?!1:this._modelsAreIdentical(o,s),[2,{quitEarly:h.quitEarly,identical:f,changes:h.changes}])})})},e.prototype._modelsAreIdentical=function(t,n){var r=t.getLineCount(),i=n.getLineCount();if(r!==i)return!1;for(var o=1;o<=r;o++){var s=t.getLineContent(o),l=n.getLineContent(o);if(s!==l)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return ye(this,void 0,void 0,function(){var r,i,o,s,l,u,a,h,f,p,_,b,S,F,k,I,m,g;return Le(this,function(v){if(r=this._getModel(t),!r)return[2,n];for(i=[],o=void 0,n=dt(n,function(w,C){if(w.range&&C.range)return we.compareRangesUsingStarts(w.range,C.range);var A=w.range?0:1,U=C.range?0:1;return A-U}),s=0,l=n;s<l.length;s++){if(u=l[s],a=u.range,h=u.text,f=u.eol,typeof f=="number"&&(o=f),we.isEmpty(a)&&!h)continue;if(p=r.getValueInRange(a),h=h.replace(/\r\n|\n|\r/g,r.eol),p===h)continue;if(Math.max(h.length,p.length)>e._diffLimit){i.push({range:a,text:h});continue}for(_=Sn(p,h,!1),b=r.offsetAt(we.lift(a).getStartPosition()),S=0,F=_;S<F.length;S++)k=F[S],I=r.positionAt(b+k.originalStart),m=r.positionAt(b+k.originalStart+k.originalLength),g={text:h.substr(k.modifiedStart,k.modifiedLength),range:{startLineNumber:I.lineNumber,startColumn:I.column,endLineNumber:m.lineNumber,endColumn:m.column}},r.getValueInRange(g.range)!==g.text&&i.push(g)}return typeof o=="number"&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,i]})})},e.prototype.computeLinks=function(t){return ye(this,void 0,void 0,function(){var n;return Le(this,function(r){return n=this._getModel(t),n?[2,gr(n)]:[2,null]})})},e.prototype.textualSuggest=function(t,n,r,i){return ye(this,void 0,void 0,function(){var o,s,l,u,a,h,f,p;return Le(this,function(_){if(o=this._getModel(t),!o)return[2,null];for(s=[],l=new Set,u=new RegExp(r,i),a=o.getWordAtPosition(n,u),a&&l.add(o.getValueInRange(a)),h=o.createWordIterator(u),f=h.next();!f.done&&l.size<=e._suggestionsLimit;f=h.next()){if(p=f.value,l.has(p))continue;if(l.add(p),!isNaN(Number(p)))continue;s.push(p)}return[2,s]})})},e.prototype.computeWordRanges=function(t,n,r,i){return ye(this,void 0,void 0,function(){var o,s,l,u,a,h,f,p,_;return Le(this,function(b){if(o=this._getModel(t),!o)return[2,Object.create(null)];for(s=new RegExp(r,i),l=Object.create(null),u=n.startLineNumber;u<n.endLineNumber;u++)for(a=o.getLineWords(u,s),h=0,f=a;h<f.length;h++){if(p=f[h],!isNaN(Number(p.word)))continue;_=l[p.word],_||(_=[],l[p.word]=_),_.push({startLineNumber:u,startColumn:p.startColumn,endLineNumber:u,endColumn:p.endColumn})}return[2,l]})})},e.prototype.navigateValueSet=function(t,n,r,i,o){return ye(this,void 0,void 0,function(){var s,l,u,a,h,f;return Le(this,function(p){return s=this._getModel(t),s?(l=new RegExp(i,o),n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1}),u=s.getValueInRange(n),a=s.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l),a?(h=s.getValueInRange(a),f=vr.INSTANCE.navigateValueSet(n,u,a,h,r),[2,f]):[2,null]):[2,null]})})},e.prototype.loadForeignModule=function(t,n,r){var i=this,o=function(a,h){return i._host.fhr(a,h)},s=Re(r,o),l={host:s,getMirrorModels:function(){return i._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(l,n),Promise.resolve(Ee(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();function Qi(e){return new pn(e,null)}typeof importScripts=="function"&&(re.a.monaco=Tr());var it=!1;function gn(e){if(it)return;it=!0;var t=new ct(function(n){self.postMessage(n)},function(n){return new pn(n,e)});self.onmessage=function(n){t.onmessage(n.data)}}self.onmessage=function(e){it||gn(null)}},zh89:function(oe,T,x){(function(L){/*!
Copyright (c) 2014 Taylor Hakes
Copyright (c) 2014 Forbes Lindesay
*/(function(P,q){q()})(this,function(){"use strict";function P(d){var N=this.constructor;return this.then(function(R){return N.resolve(d()).then(function(){return R})},function(R){return N.resolve(d()).then(function(){return N.reject(R)})})}var q=setTimeout;function Q(){}function X(d,N){return function(){d.apply(N,arguments)}}function c(d){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if(typeof d!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],J(d,this)}function E(d,N){for(;d._state===3;)d=d._value;if(d._state===0){d._deferreds.push(N);return}d._handled=!0,c._immediateFn(function(){var R=d._state===1?N.onFulfilled:N.onRejected;if(R===null){(d._state===1?M:D)(N.promise,d._value);return}var B;try{B=R(d._value)}catch($){D(N.promise,$);return}M(N.promise,B)})}function M(d,N){try{if(N===d)throw new TypeError("A promise cannot be resolved with itself.");if(N&&(typeof N=="object"||typeof N=="function")){var R=N.then;if(N instanceof c){d._state=3,d._value=N,j(d);return}else if(typeof R=="function"){J(X(R,N),d);return}}d._state=1,d._value=N,j(d)}catch(B){D(d,B)}}function D(d,N){d._state=2,d._value=N,j(d)}function j(d){d._state===2&&d._deferreds.length===0&&c._immediateFn(function(){d._handled||c._unhandledRejectionFn(d._value)});for(var N=0,R=d._deferreds.length;N<R;N++)E(d,d._deferreds[N]);d._deferreds=null}function G(d,N,R){this.onFulfilled=typeof d=="function"?d:null,this.onRejected=typeof N=="function"?N:null,this.promise=R}function J(d,N){var R=!1;try{d(function(B){if(R)return;R=!0,M(N,B)},function(B){if(R)return;R=!0,D(N,B)})}catch(B){if(R)return;R=!0,D(N,B)}}c.prototype.catch=function(d){return this.then(null,d)},c.prototype.then=function(d,N){var R=new this.constructor(Q);return E(this,new G(d,N,R)),R},c.prototype.finally=P,c.all=function(d){return new c(function(N,R){if(!d||typeof d.length=="undefined")throw new TypeError("Promise.all accepts an array");var B=Array.prototype.slice.call(d);if(B.length===0)return N([]);var $=B.length;function de(Ae,fe){try{if(fe&&(typeof fe=="object"||typeof fe=="function")){var re=fe.then;if(typeof re=="function"){re.call(fe,function(K){de(Ae,K)},R);return}}B[Ae]=fe,--$===0&&N(B)}catch(K){R(K)}}for(var ne=0;ne<B.length;ne++)de(ne,B[ne])})},c.resolve=function(d){return d&&typeof d=="object"&&d.constructor===c?d:new c(function(N){N(d)})},c.reject=function(d){return new c(function(N,R){R(d)})},c.race=function(d){return new c(function(N,R){for(var B=0,$=d.length;B<$;B++)d[B].then(N,R)})},c._immediateFn=typeof setImmediate=="function"&&function(d){setImmediate(d)}||function(d){q(d,0)},c._unhandledRejectionFn=function(N){typeof console!="undefined"&&console&&console.warn("Possible Unhandled Promise Rejection:",N)};var O=function(){if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof L!="undefined")return L;throw new Error("unable to locate global object")}();"Promise"in O?O.Promise.prototype.finally||(O.Promise.prototype.finally=P):O.Promise=c})}).call(this,x("UywP"))}});