UNPKG

youzanyun-devtool-worker

Version:

57 lines 323 kB
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/react-ui/",n(n.s="./node_modules/monaco-editor/esm/vs/language/json/json.worker.js")}({"./node_modules/monaco-editor/esm/vs/base/common/arrays.js": /*!*****************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/arrays.js ***! \*****************************************************************/ /*! exports provided: tail, tail2, equals, binarySearch, findFirstInSorted, mergeSort, groupBy, coalesce, isFalsyOrEmpty, isNonEmptyArray, distinct, distinctES6, fromSet, firstIndex, first, firstOrDefault, flatten, range, arrayInsert, pushToStart, pushToEnd, find, asArray */function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=0),e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function i(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r++)if(!n(e[r],t[r]))return!1;return!0}function s(e,t,n){for(var r=0,o=e.length-1;r<=o;){var i=(r+o)/2|0,s=n(e[i],t);if(s<0)r=i+1;else{if(!(s>0))return i;o=i-1}}return-(r+1)}function a(e,t){var n=0,r=e.length;if(0===r)return 0;for(;n<r;){var o=Math.floor((n+r)/2);t(e[o])?r=o:n=o+1}return n}function u(e,t){return function e(t,n,r,o,i){if(o<=r)return;var s=r+(o-r)/2|0;e(t,n,r,s,i);e(t,n,s+1,o,i);if(n(t[s],t[s+1])<=0)return;!function(e,t,n,r,o,i){for(var s=n,a=r+1,u=n;u<=o;u++)i[u]=e[u];for(var u=n;u<=o;u++)s>r?e[u]=i[a++]:a>o?e[u]=i[s++]:t(i[a],i[s])<0?e[u]=i[a++]:e[u]=i[s++]}(t,n,r,s,o,i)}(e,t,0,e.length-1,[]),e}function c(e,t){for(var n=[],r=void 0,o=0,i=u(e.slice(0),t);o<i.length;o++){var s=i[o];r&&0===t(r[0],s)?r.push(s):(r=[s],n.push(r))}return n}function l(e){return e.filter(function(e){return!!e})}function f(e){return!Array.isArray(e)||0===e.length}function d(e){return Array.isArray(e)&&e.length>0}function m(e,t){if(!t)return e.filter(function(t,n){return e.indexOf(t)===n});var n=Object.create(null);return e.filter(function(e){var r=t(e);return!n[r]&&(n[r]=!0,!0)})}function h(e){var t=new Set;return e.filter(function(e){return!t.has(e)&&(t.add(e),!0)})}function p(e){var t=[];return e.forEach(function(e){return t.push(e)}),t}function g(e,t){for(var n=0;n<e.length;n++){if(t(e[n]))return n}return-1}function v(e,t,n){void 0===n&&(n=void 0);var r=g(e,t);return r<0?n:e[r]}function y(e,t){return e.length>0?e[0]:t}function b(e){var t;return(t=[]).concat.apply(t,e)}function _(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var r=[];if(n<=t)for(var o=n;o<t;o++)r.push(o);else for(o=n;o>t;o--)r.push(o);return r}function C(e,t,n){var r=e.slice(0,t),o=e.slice(t);return r.concat(n,o)}function S(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function E(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function x(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}}function j(e){return Array.isArray(e)?e:[e]}n.r(t),n.d(t,"tail",function(){return r}),n.d(t,"tail2",function(){return o}),n.d(t,"equals",function(){return i}),n.d(t,"binarySearch",function(){return s}),n.d(t,"findFirstInSorted",function(){return a}),n.d(t,"mergeSort",function(){return u}),n.d(t,"groupBy",function(){return c}),n.d(t,"coalesce",function(){return l}),n.d(t,"isFalsyOrEmpty",function(){return f}),n.d(t,"isNonEmptyArray",function(){return d}),n.d(t,"distinct",function(){return m}),n.d(t,"distinctES6",function(){return h}),n.d(t,"fromSet",function(){return p}),n.d(t,"firstIndex",function(){return g}),n.d(t,"first",function(){return v}),n.d(t,"firstOrDefault",function(){return y}),n.d(t,"flatten",function(){return b}),n.d(t,"range",function(){return _}),n.d(t,"arrayInsert",function(){return C}),n.d(t,"pushToStart",function(){return S}),n.d(t,"pushToEnd",function(){return E}),n.d(t,"find",function(){return x}),n.d(t,"asArray",function(){return j})},"./node_modules/monaco-editor/esm/vs/base/common/cancellation.js": /*!***********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/cancellation.js ***! \***********************************************************************/ /*! exports provided: CancellationToken, CancellationTokenSource */function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationToken",function(){return r}),n.d(t,"CancellationTokenSource",function(){return a});var r,o=n(/*! ./event.js */"./node_modules/monaco-editor/esm/vs/base/common/event.js"),i=Object.freeze(function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}});!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof s||!(!t||"object"!=typeof t)&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(r||(r={}));var s=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?i:(this._emitter||(this._emitter=new o.Emitter),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),a=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new s),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof s&&this._token.cancel():this._token=r.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=r.None},e}()},"./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js": /*!********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/diff/diff.js ***! \********************************************************************/ /*! exports provided: StringDiffSequence, stringDiff, Debug, MyArray, LcsDiff */function(e,t,n){"use strict";n.r(t),n.d(t,"StringDiffSequence",function(){return i}),n.d(t,"stringDiff",function(){return s}),n.d(t,"Debug",function(){return a}),n.d(t,"MyArray",function(){return u}),n.d(t,"LcsDiff",function(){return l});var r=n(/*! ./diffChange.js */"./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js"),o=n(/*! ../hash.js */"./node_modules/monaco-editor/esm/vs/base/common/hash.js"),i=function(){function e(e){this.source=e}return e.prototype.getElements=function(){for(var e=this.source,t=new Int32Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t},e}();function s(e,t,n){return new l(new i(e),new i(t)).ComputeDiff(n).changes}var a=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),u=function(){function e(){}return e.Copy=function(e,t,n,r,o){for(var i=0;i<o;i++)n[r+i]=e[t+i]},e.Copy2=function(e,t,n,r,o){for(var i=0;i<o;i++)n[r+i]=e[t+i]},e}(),c=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 r.DiffChange(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(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},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}(),l=function(){function e(t,n,r){void 0===r&&(r=null),this.ContinueProcessingPredicate=r;var o=e._getElements(t),i=o[0],s=o[1],a=o[2],u=e._getElements(n),c=u[0],l=u[1],f=u[2];this._hasStrings=a&&f,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=c,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var r=new Int32Array(n.length),i=0,s=n.length;i<s;i++)r[i]=Object(o.stringHash)(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]},e.prototype.ElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])},e.prototype.OriginalElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])},e.prototype.ModifiedElementsAreEqual=function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,o){var i=[!1],s=this.ComputeDiffRecursive(e,t,n,r,i);return o&&(s=this.PrettifyChanges(s)),{quitEarly:i[0],changes:s}},e.prototype.ComputeDiffRecursive=function(e,t,n,o,i){for(i[0]=!1;e<=t&&n<=o&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&o>=n&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||n>o){var s=void 0;return n<=o?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new r.DiffChange(e,0,n,o-n+1)]):e<=t?(a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[new r.DiffChange(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var u=[0],c=[0],l=this.ComputeRecursionPoint(e,t,n,o,u,c,i),f=u[0],d=c[0];if(null!==l)return l;if(!i[0]){var m=this.ComputeDiffRecursive(e,f,n,d,i),h=[];return h=i[0]?[new r.DiffChange(f+1,t-(f+1)+1,d+1,o-(d+1)+1)]:this.ComputeDiffRecursive(f+1,t,d+1,o,i),this.ConcatenateChanges(m,h)}return[new r.DiffChange(e,t-e+1,n,o-n+1)]},e.prototype.WALKTRACE=function(e,t,n,o,i,s,a,u,l,f,d,m,h,p,g,v,y,b){var _,C=null,S=new c,E=t,x=n,j=h[0]-v[0]-o,A=-1073741824,N=this.m_forwardHistory.length-1;do{(T=j+e)===E||T<x&&l[T-1]<l[T+1]?(p=(d=l[T+1])-j-o,d<A&&S.MarkNextChange(),A=d,S.AddModifiedElement(d+1,p),j=T+1-e):(p=(d=l[T-1]+1)-j-o,d<A&&S.MarkNextChange(),A=d-1,S.AddOriginalElement(d,p+1),j=T-1-e),N>=0&&(e=(l=this.m_forwardHistory[N])[0],E=1,x=l.length-1)}while(--N>=-1);if(_=S.getReverseChanges(),b[0]){var w=h[0]+1,L=v[0]+1;if(null!==_&&_.length>0){var O=_[_.length-1];w=Math.max(w,O.getOriginalEnd()),L=Math.max(L,O.getModifiedEnd())}C=[new r.DiffChange(w,m-w+1,L,g-L+1)]}else{S=new c,E=s,x=a,j=h[0]-v[0]-u,A=1073741824,N=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var T;(T=j+i)===E||T<x&&f[T-1]>=f[T+1]?(p=(d=f[T+1]-1)-j-u,d>A&&S.MarkNextChange(),A=d+1,S.AddOriginalElement(d+1,p+1),j=T+1-i):(p=(d=f[T-1])-j-u,d>A&&S.MarkNextChange(),A=d,S.AddModifiedElement(d+1,p+1),j=T-1-i),N>=0&&(i=(f=this.m_reverseHistory[N])[0],E=1,x=f.length-1)}while(--N>=-1);C=S.getChanges()}return this.ConcatenateChanges(_,C)},e.prototype.ComputeRecursionPoint=function(e,t,n,o,i,s,a){var c=0,l=0,f=0,d=0,m=0,h=0;e--,n--,i[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var p=t-e+(o-n),g=p+1,v=new Int32Array(g),y=new Int32Array(g),b=o-n,_=t-e,C=e-n,S=t-o,E=(_-b)%2==0;v[b]=e,y[_]=t,a[0]=!1;for(var x=1;x<=p/2+1;x++){var j=0,A=0;f=this.ClipDiagonalBound(b-x,x,b,g),d=this.ClipDiagonalBound(b+x,x,b,g);for(var N=f;N<=d;N+=2){l=(c=N===f||N<d&&v[N-1]<v[N+1]?v[N+1]:v[N-1]+1)-(N-b)-C;for(var w=c;c<t&&l<o&&this.ElementsAreEqual(c+1,l+1);)c++,l++;if(v[N]=c,c+l>j+A&&(j=c,A=l),!E&&Math.abs(N-_)<=x-1&&c>=y[N])return i[0]=c,s[0]=l,w<=y[N]&&x<=1448?this.WALKTRACE(b,f,d,C,_,m,h,S,v,y,c,t,i,l,o,s,E,a):null}var L=(j-e+(A-n)-x)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(j,L))return a[0]=!0,i[0]=j,s[0]=A,L>0&&x<=1448?this.WALKTRACE(b,f,d,C,_,m,h,S,v,y,c,t,i,l,o,s,E,a):(e++,n++,[new r.DiffChange(e,t-e+1,n,o-n+1)]);m=this.ClipDiagonalBound(_-x,x,_,g),h=this.ClipDiagonalBound(_+x,x,_,g);for(N=m;N<=h;N+=2){l=(c=N===m||N<h&&y[N-1]>=y[N+1]?y[N+1]-1:y[N-1])-(N-_)-S;for(w=c;c>e&&l>n&&this.ElementsAreEqual(c,l);)c--,l--;if(y[N]=c,E&&Math.abs(N-b)<=x&&c<=v[N])return i[0]=c,s[0]=l,w>=v[N]&&x<=1448?this.WALKTRACE(b,f,d,C,_,m,h,S,v,y,c,t,i,l,o,s,E,a):null}if(x<=1447){var O=new Int32Array(d-f+2);O[0]=b-f+1,u.Copy2(v,f,O,1,d-f+1),this.m_forwardHistory.push(O),(O=new Int32Array(h-m+2))[0]=_-m+1,u.Copy2(y,m,O,1,h-m+1),this.m_reverseHistory.push(O)}}return this.WALKTRACE(b,f,d,C,_,m,h,S,v,y,c,t,i,l,o,s,E,a)},e.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){for(var n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,i=n.originalLength>0,s=n.modifiedLength>0;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<o&&(!i||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));)n.originalStart++,n.modifiedStart++;var a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(t=e.length-1;t>=0;t--){n=e[t],r=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(r=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}i=n.originalLength>0,s=n.modifiedLength>0;for(var c=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),f=1;;f++){var d=n.originalStart-f,m=n.modifiedStart-f;if(d<r||m<o)break;if(i&&!this.OriginalElementsAreEqual(d,d+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(m,m+n.modifiedLength))break;var h=this._boundaryScore(d,n.originalLength,m,n.modifiedLength);h>l&&(l=h,c=f)}n.originalStart-=c,n.modifiedStart-=c}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return u.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],u.Copy(t,1,r,e.length,t.length-1),r}r=new Array(e.length+t.length);return u.Copy(e,0,r,0,e.length),u.Copy(t,0,r,e.length,t.length),r},e.prototype.ChangesOverlap=function(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart,i=e.originalLength,s=e.modifiedStart,u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r.DiffChange(o,i,s,u),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e<r)return e;var o=t%2==0;return e<0?o===(n%2==0)?0:1:o===((r-n-1)%2==0)?r-1:r-2},e}()},"./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js": /*!**************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js ***! \**************************************************************************/ /*! exports provided: DiffChange */function(e,t,n){"use strict";n.r(t),n.d(t,"DiffChange",function(){return r});var r=function(){function e(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}()},"./node_modules/monaco-editor/esm/vs/base/common/errors.js": /*!*****************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/errors.js ***! \*****************************************************************/ /*! exports provided: ErrorHandler, errorHandler, onUnexpectedError, onUnexpectedExternalError, transformErrorForSerialization, isPromiseCanceledError, canceled, illegalArgument, illegalState */function(e,t,n){"use strict";n.r(t),n.d(t,"ErrorHandler",function(){return r}),n.d(t,"errorHandler",function(){return o}),n.d(t,"onUnexpectedError",function(){return i}),n.d(t,"onUnexpectedExternalError",function(){return s}),n.d(t,"transformErrorForSerialization",function(){return a}),n.d(t,"isPromiseCanceledError",function(){return c}),n.d(t,"canceled",function(){return l}),n.d(t,"illegalArgument",function(){return f}),n.d(t,"illegalState",function(){return d});var r=function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}return e.prototype.emit=function(e){this.listeners.forEach(function(t){t(e)})},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}(),o=new r;function i(e){c(e)||o.onUnexpectedError(e)}function s(e){c(e)||o.onUnexpectedExternalError(e)}function a(e){return e instanceof Error?{$isError:!0,name:e.name,message:e.message,stack:e.stacktrace||e.stack}:e}var u="Canceled";function c(e){return e instanceof Error&&e.name===u&&e.message===u}function l(){var e=new Error(u);return e.name=e.message,e}function f(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function d(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},"./node_modules/monaco-editor/esm/vs/base/common/event.js": /*!****************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/event.js ***! \****************************************************************/ /*! exports provided: Event, Emitter, PauseableEmitter, EventMultiplexer, EventBufferer, Relay */function(e,t,n){"use strict";n.r(t),n.d(t,"Event",function(){return o}),n.d(t,"Emitter",function(){return d}),n.d(t,"PauseableEmitter",function(){return m}),n.d(t,"EventMultiplexer",function(){return h}),n.d(t,"EventBufferer",function(){return p}),n.d(t,"Relay",function(){return g});var r,o,i=n(/*! ./errors.js */"./node_modules/monaco-editor/esm/vs/base/common/errors.js"),s=n(/*! ./functional.js */"./node_modules/monaco-editor/esm/vs/base/common/functional.js"),a=n(/*! ./lifecycle.js */"./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js"),u=n(/*! ./linkedList.js */"./node_modules/monaco-editor/esm/vs/base/common/linkedList.js"),c=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){function t(e){return function(t,n,r){void 0===n&&(n=null);var o,i=!1;return o=e(function(e){if(!i)return o?o.dispose():i=!0,t.call(n,e)},null,r),i&&o.dispose(),o}}function n(e,t){return s(function(n,r,o){return void 0===r&&(r=null),e(function(e){return n.call(r,t(e))},null,o)})}function r(e,t){return s(function(n,r,o){return void 0===r&&(r=null),e(function(e){t(e),n.call(r,e)},null,o)})}function o(e,t){return s(function(n,r,o){return void 0===r&&(r=null),e(function(e){return t(e)&&n.call(r,e)},null,o)})}function i(e,t,r){var o=r;return n(e,function(e){return o=t(o,e)})}function s(e){var t,n=new d({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function u(e,t,n,r,o){var i;void 0===n&&(n=100),void 0===r&&(r=!1);var s=void 0,a=void 0,u=0,c=new d({leakWarningThreshold:o,onFirstListenerAdd:function(){i=e(function(e){u++,s=t(s,e),r&&!a&&(c.fire(s),s=void 0),clearTimeout(a),a=setTimeout(function(){var e=s;s=void 0,a=void 0,(!r||u>1)&&c.fire(e),u=0},n)})},onLastListenerRemove:function(){i.dispose()}});return c.event}function c(e){var t,n=!0;return o(e,function(e){var r=n||e!==t;return n=!1,t=e,r})}e.None=function(){return a.Disposable.None},e.once=t,e.map=n,e.forEach=r,e.filter=o,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,r){return void 0===n&&(n=null),a.combinedDisposable.apply(void 0,e.map(function(e){return e(function(e){return t.call(n,e)},null,r)}))}},e.reduce=i,e.snapshot=s,e.debounce=u,e.stopwatch=function(e){var r=(new Date).getTime();return n(t(e),function(e){return(new Date).getTime()-r})},e.latch=c,e.buffer=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var r=n.slice(),o=e(function(e){r?r.push(e):s.fire(e)}),i=function(){r&&r.forEach(function(e){return s.fire(e)}),r=null},s=new d({onFirstListenerAdd:function(){o||(o=e(function(e){return s.fire(e)}))},onFirstListenerDidAdd:function(){r&&(t?setTimeout(i):i())},onLastListenerRemove:function(){o&&o.dispose(),o=null}});return s.event};var l=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(n(this.event,t))},e.prototype.forEach=function(t){return new e(r(this.event,t))},e.prototype.filter=function(t){return new e(o(this.event,t))},e.prototype.reduce=function(t,n){return new e(i(this.event,t,n))},e.prototype.latch=function(){return new e(c(this.event))},e.prototype.debounce=function(t,n,r,o){return void 0===n&&(n=100),void 0===r&&(r=!1),new e(u(this.event,t,n,r,o))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,n,r){return t(this.event)(e,n,r)},e}();e.chain=function(e){return new l(e)},e.fromNodeEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new d({onFirstListenerAdd:function(){return e.on(t,r)},onLastListenerRemove:function(){return e.removeListener(t,r)}});return o.event},e.fromDOMEventEmitter=function(e,t,n){void 0===n&&(n=function(e){return e});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.fire(n.apply(void 0,e))},o=new d({onFirstListenerAdd:function(){return e.addEventListener(t,r)},onLastListenerRemove:function(){return e.removeEventListener(t,r)}});return o.event},e.fromPromise=function(e){var t=new d,n=!1;return e.then(void 0,function(){return null}).then(function(){n?t.fire(void 0):setTimeout(function(){return t.fire(void 0)},0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(function(n){return t(e)(n)})}}(o||(o={}));var l=-1,f=function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=l;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var r=(new Error).stack.split("\n").slice(3).join("\n"),o=this._stacks.get(r)||0;if(this._stacks.set(r,o+1),this._warnCountdown-=1,this._warnCountdown<=0){var i;this._warnCountdown=.5*n;var s=0;this._stacks.forEach(function(e,t){(!i||s<e)&&(i=t,s=e)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+s+"):"),console.warn(i)}return function(){var e=t._stacks.get(r)||0;t._stacks.set(r,e-1)}}},e}(),d=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=l>0?new f(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,r,o){t._listeners||(t._listeners=new u.LinkedList);var i=t._listeners.isEmpty();i&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var s,c,l=t._listeners.push(r?[n,r]:n);return i&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,r),t._leakageMon&&(s=t._leakageMon.check(t._listeners.size)),c={dispose:function(){(s&&s(),c.dispose=e._noop,t._disposed)||(l(),t._options&&t._options.onLastListenerRemove&&(t._listeners&&!t._listeners.isEmpty()||t._options.onLastListenerRemove(t)))}},o instanceof a.DisposableStore?o.add(c):Array.isArray(o)&&o.push(c),c}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new u.LinkedList);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){var r=this._deliveryQueue.shift(),o=r[0],s=r[1];try{"function"==typeof o?o.call(void 0,s):o[0].call(o[1],s)}catch(n){Object(i.onUnexpectedError)(n)}}}},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}(),m=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new u.LinkedList,n._mergeFn=t&&t.merge,n}return c(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(d),h=function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new d({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return Object(a.toDisposable)(Object(s.once)(function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)}))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach(function(t){return e.hook(t)})},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach(function(t){return e.unhook(t)})},e.prototype.hook=function(e){var t=this;e.listener=e.event(function(e){return t.emitter.fire(e)})},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}(),p=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,r,o){return e(function(e){var o=t.buffers[t.buffers.length-1];o?o.push(function(){return n.call(r,e)}):n.call(r,e)},void 0,o)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach(function(e){return e()}),n},e}(),g=function(){function e(){var e=this;this.listening=!1,this.inputEvent=o.None,this.inputEventListener=a.Disposable.None,this.emitter=new d({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}()},"./node_modules/monaco-editor/esm/vs/base/common/functional.js": /*!*********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/functional.js ***! \*********************************************************************/ /*! exports provided: once */function(e,t,n){"use strict";function r(e){var t,n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}n.r(t),n.d(t,"once",function(){return r})},"./node_modules/monaco-editor/esm/vs/base/common/hash.js": /*!***************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/hash.js ***! \***************************************************************/ /*! exports provided: hash, stringHash */function(e,t,n){"use strict";function r(e,t){switch(void 0===t&&(t=0),typeof e){case"object":return null===e?o(349,t):Array.isArray(e)?(n=e,s=o(104579,s=t),n.reduce(function(e,t){return r(t,e)},s)):function(e,t){return t=o(181387,t),Object.keys(e).sort().reduce(function(t,n){return t=i(n,t),r(e[n],t)},t)}(e,t);case"string":return i(e,t);case"boolean":return function(e,t){return o(e?433:863,t)}(e,t);case"number":return o(e,t);case"undefined":return o(0,937);default:return o(0,617)}var n,s}function o(e,t){return(t<<5)-t+e|0}function i(e,t){t=o(149417,t);for(var n=0,r=e.length;n<r;n++)t=o(e.charCodeAt(n),t);return t}n.r(t),n.d(t,"hash",function(){return r}),n.d(t,"stringHash",function(){return i})},"./node_modules/monaco-editor/esm/vs/base/common/iterator.js": /*!*******************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/iterator.js ***! \*******************************************************************/ /*! exports provided: FIN, Iterator, ChainableIterator, getSequenceIterator, ArrayIterator, ArrayNavigator, MappedIterator */function(e,t,n){"use strict";n.r(t),n.d(t,"FIN",function(){return s}),n.d(t,"Iterator",function(){return o}),n.d(t,"ChainableIterator",function(){return a}),n.d(t,"getSequenceIterator",function(){return u}),n.d(t,"ArrayIterator",function(){return c}),n.d(t,"ArrayNavigator",function(){return l}),n.d(t,"MappedIterator",function(){return f});var r,o,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s={done:!0,value:void 0};!function(e){var t={next:function(){return s}};e.empty=function(){return t},e.single=function(e){var t=!1;return{next:function(){return t?s:(t=!0,{done:!1,value:e})}}},e.fromArray=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return t>=n?s:{done:!1,value:e[t++]}}}},e.fromNativeIterator=function(e){return{next:function(){var t=e.next();return t.done?s:{done:!1,value:t.value}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,t){return{next:function(){var n=e.next();return n.done?s:{done:!1,value:t(n.value)}}}},e.filter=function(e,t){return{next:function(){for(;;){var n=e.next();if(n.done)return s;if(t(n.value))return{done:!1,value:n.value}}}}},e.forEach=function(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)},e.collect=function(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var n=[];if(0===t)return n;for(var r=0,o=e.next();!(o.done||(n.push(o.value),++r>=t));o=e.next());return n},e.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=0;return{next:function(){if(n>=e.length)return s;var t=e[n].next();return t.done?(n++,this.next()):t}}},e.chain=function(e){return new a(e)}}(o||(o={}));var a=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();function u(e){return Array.isArray(e)?o.fromArray(e):e||o.empty()}var c=function(){function e(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}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}(),l=function(e){function t(t,n,r,o){return void 0===n&&(n=0),void 0===r&&(r=t.length),void 0===o&&(o=n-1),e.call(this,t,n,r,o)||this}return i(t,e),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}(c),f=function(){function e(e,t){this.iterator=e,this.fn=t}return e.prototype.next=function(){return this.fn(this.iterator.next())},e}()},"./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js": /*!*******************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js ***! \*******************************************************************/ /*! exports provided: KeyCodeUtils, KeyChord, createKeybinding, createSimpleKeybinding, SimpleKeybinding, ChordKeybinding, ResolvedKeybindingPart, ResolvedKeybinding */function(e,t,n){"use strict";n.r(t),n.d(t,"KeyCodeUtils",function(){return r}),n.d(t,"KeyChord",function(){return c}),n.d(t,"createKeybinding",function(){return l}),n.d(t,"createSimpleKeybinding",function(){return f}),n.d(t,"SimpleKeybinding",function(){return d}),n.d(t,"ChordKeybinding",function(){return m}),n.d(t,"ResolvedKeybindingPart",function(){return h}),n.d(t,"ResolvedKeybinding",function(){return p});var r,o=n(/*! ./errors.js */"./node_modules/monaco-editor/esm/vs/base/common/errors.js"),i=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),s=new i,a=new i,u=new i;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function l(e,t){if(0===e)return null;var n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new m(0!==r?[f(n,t),f(r,t)]:[f(n,t)])}function f(e,t){var n=!!(2048&e),r=!!(256&e);return new d(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),s.define(e,t),a.define(e,n),u.define(e,r)}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")}(),function(e){e.toString=function(e){return s.keyCodeToStr(e)},e.fromString=function(e){return s.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return u.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||u.strToKeyCode(e)}}(r||(r={}));var d=function(){function e(e,t,n,r,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=o}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new m([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),m=function(){function e(e){if(0===e.length)throw Object(o.illegalArgument)("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},e}(),h=function(){return function(e,t,n,r,o,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=o,this.keyAriaLabel=i}}(),p=function(){return function(){}}()},"./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js": /*!********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js ***! \********************************************************************/ /*! exports provided: isDisposable, dispose, combinedDisposable, toDisposable, DisposableStore, Disposable, MutableDisposable, ImmortalReference */function(e,t,n){"use strict";n.r(t),n.d(t,"isDisposable",function(){return a}),n.d(t,"dispose",function(){return u}),n.d(t,"combinedDisposable",function(){return c}),n.d(t,"toDisposable",function(){return l}),n.d(t,"DisposableStore",function(){return f}),n.d(t,"Disposable",function(){return d}),n.d(t,"MutableDisposable",function(){return m}),n.d(t,"ImmortalReference",function(){return h});var r=!1,o="__is_disposable_tracked__";function i(e){if(r&&e&&e!==d.None)try{e[o]=!0}catch(e){}}function s(e){if(!r)return e;var t=new Error("Potentially leaked disposable").stack;return setTimeout(function(){e[o]||console.log(t)},3e3),e}function a(e){return"function"==typeof e.dispose&&0===e.dispose.length}function u(e){return Array.isArray(e)?(e.forEach(function(e){e&&(i(e),e.dispose())}),[]):e?(i(e),e.dispose(),e):void 0}function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(i),s({dispose:function(){return u(e)}})}function l(e){var t=s({dispose:function(){i(t),e()}});return t}var f=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed||(i(this),this._isDisposed=!0,this.clear())},e.prototype.clear=function(){this._toDispose.forEach(function(e){return e.dispose()}),this._toDispose.clear()},e.prototype.add=function(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return i(e),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(e),e},e}(),d=function(){function e(){this._store=new f,s(this)}return e.prototype.dispose=function(){i(this),this._store.dispose()},e.prototype._register=function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)},e.None=Object.freeze({dispose:function(){}}),e}(),m=function(){function e(){this._isDisposed=!1,s(this)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),e&&i(e),this._value=e)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,i(this),this._value&&this._value.dispose(),this._value=void 0},e}(),h=function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}()},"./node_modules/monaco-editor/esm/vs/base/common/linkedList.js": /*!*********************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/linkedList.js ***! \*********************************************************************/ /*! exports provided: LinkedList */function(e,t,n){"use strict";n.r(t),n.d(t,"LinkedList",function(){return i});var r=n(/*! ./iterator.js */"./node_modules/monaco-editor/esm/vs/base/common/iterator.js"),o=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),i=function(){function e(){this._first=o.Undefined,this._last=o.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===o.Undefined},e.prototype.clear=function(){this._first=o.Undefined,this._last=o.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,r=new o(e);if(this._first===o.Undefined)this._first=r,this._last=r;else if(t){var i=this._last;this._last=r,r.prev=i,i.next=r}else{var s=this._first;this._first=r,r.next=s,s.prev=r}this._size+=1;var a=!1;return function(){a||(a=!0,n._remove(r))}},e.prototype.shift=function(){if(this._first!==o.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==o.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==o.Undefined&&e.next!==o.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===o.Undefined&&e.next===o.Undefined?(this._first=o.Undefined,this._last=o.Undefined):e.next===o.Undefined?(this._last=this._last.prev,this._last.next=o.Undefined):e.prev===o.Undefined&&(this._first=this._first.next,this._first.prev=o.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===o.Undefined?r.FIN:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==o.Undefined;t=t.next)e.push(t.element);return e},e}()},"./node_modules/monaco-editor/esm/vs/base/common/platform.js": /*!*******************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/platform.js ***! \*******************************************************************/ /*! exports provided: isWindows, isMacintosh, isLinux, isNative, isWeb, isIOS, globals, setImmediate, OS */function(e,t,n){"use strict";n.r(t),function(e,r){n.d(t,"isWindows",function(){return p}),n.d(t,"isMacintosh",function(){return g}),n.d(t,"isLinux",function(){return v}),n.d(t,"isNative",function(){return y}),n.d(t,"isWeb",function(){return b}),n.d(t,"isIOS",function(){return _}),n.d(t,"globals",function(){return C}),n.d(t,"setImmediate",function(){return S}),n.d(t,"OS",function(){return E});var o=!1,i=!1,s=!1,a=!1,u=!1,c=!1,l=void 0,f=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||f){if("object"==typeof e){o="win32"===e.platform,i="darwin"===e.platform,s="linux"===e.platform,"en","en";var d=e.env.VSCODE_NLS_CONFIG;if(d)try{var m=JSON.parse(d),h=m.availableLanguages["*"];m.locale,h||"en",m._translationsConfigFile}catch(e){}a=!0}}else o=(l=navigator.userAgent).indexOf("Windows")>=0,i=l.indexOf("Macintosh")>=0,c=l.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=l.indexOf("Linux")>=0,u=!0,navigator.language;var p=o,g=i,v=s,y=a,b=u,_=c,C="object"==typeof self?self:"object"==typeof r?r:{},S=function(){if(C.setImmediate)return C.setImmediate.bind(C);if("function"==typeof C.postMessage&&!C.importScripts){var t=[];C.addEventListener("message",function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,r=t.length;n<r;n++){var o=t[n];if(o.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void o.callback()}});var n=0;return function(e){var r=++n;t.push({id:r,callback:e}),C.postMessage({vscodeSetImmediateId:r},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);var r=Promise.resolve();return function(e){return r.then(e)}}(),E=i?2:o?1:3}.call(this,n(/*! ./../../../../../process/browser.js */"./node_modules/process/browser.js"),n(/*! ./../../../../../webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"))},"./node_modules/monaco-editor/esm/vs/base/common/strings.js": /*!******************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/common/strings.js ***! \******************************************************************/ /*! exports provided: isFalsyOrWhitespace, pad, format, escape, escapeRegExpCharacters, trim, ltrim, rtrim, convertSimple2RegExpPattern, startsWith, endsWith, createRegExp, regExpLeadsToEndlessLoop, regExpFlags, firstNonWhitespaceIndex, getLeadingWhitespace, lastNonWhitespaceIndex, compare, compareIgnoreCase, isLowerAsciiLetter, isUpperAsciiLetter, equalsIgnoreCase, startsWithIgnoreCase, commonPrefixLength, commonSuffixLength, isHighSurrogate, isLowSurrogate, getNextCodePoint, nextCharLength, prevCharLength, containsRTL, containsEmoji, isBasicASCII, containsFullWidthCharacter, isFullWidthCharacter, isEmojiImprecise, UTF8_BOM_CHARACTER, startsWithUTF8BOM, safeBtoa, repeat, containsUppercaseCharacter, singleLetterHash, getGraphemeBreakType, breakBetweenGraphemeBreakType */function(e,t,n){"use strict";function r(e){return!e||"string"!=typeof e||0===e.trim().length}function o(e,t,n){void 0===n&&(n="0");for(var r=""+e,o=[r],i=r.length;i<t;i++)o.push(n);return o.reverse().join("")}n.r(t),n.d(t,"isFalsyOrWhitespace",function(){return r}),n.d(t,"pad",function(){return o}),n.d(t,"format",function(){return s}),n.d(t,"escape",function(){return a}),n.d(t,"escapeRegExpCharacters",function(){return u}),n.d(t,"trim",function(){return c}),n.d(t,"ltrim",function(){return l}),n.d(t,"rtrim",function(){return f}),n.d(t,"convertSimple2RegExpPattern",function(){return d}),n.d(t,"startsWith",funct