/*! For license information please see editor.worker.js.LICENSE.txt */ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/h5educoderbuild/",n(n.s=6)}([function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return f}));var i=!1,o=!1,s=void 0,u=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||u){if("object"==typeof e){i="win32"===e.platform,"darwin"===e.platform,"linux"===e.platform;var a=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).VSCODE_NLS_CONFIG;if(a)try{var l=JSON.parse(a);l.availableLanguages["*"],l.locale,l._translationsConfigFile}catch(r){}}}else i=0<=(s=navigator.userAgent).indexOf("Windows"),0<=s.indexOf("Macintosh"),s.indexOf("Macintosh"),0<=s.indexOf("Linux"),o=!0;var h=i,c=o,f="object"==typeof self?self:"object"==typeof r?r:{};!function(){if(f.setImmediate)return f.setImmediate.bind(f);if("function"!=typeof f.postMessage||f.importScripts){if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);Promise.resolve()}else{var t=[];f.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,r=t.length;n=l[M+1]?(d=(h=l[M+1]-1)-E-u,N=g[S])return i[0]=u,o[0]=a,A<=g[S]&&L<=1448?this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s):null}var O=(E-e+(N-n)-L)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(E,O))return s[0]=!0,i[0]=E,o[0]=N,0=g[S+1]?g[S+1]-1:g[S-1])-(S-v)-C,A=u;e=p[S]&&L<=1448?this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s):null}if(L<=1447){var T=new Int32Array(h-l+2);T[0]=_-l+1,R.Copy2(p,l,T,1,h-l+1),this.m_forwardHistory.push(T),(T=new Int32Array(f-c+2))[0]=v-c+1,R.Copy2(g,c,T,1,f-c+1),this.m_reverseHistory.push(T)}}return this.WALKTRACE(_,l,h,y,v,c,f,C,p,g,u,t,i,a,r,o,b,s)},K.prototype.PrettifyChanges=function(e){for(var t=0;t=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},K.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(0=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},K.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(0=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var r=e.originalStart,i=e.originalLength,o=e.modifiedStart,s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new w(r,i,o,s),!0}return n[0]=null,!1},K.prototype.ClipDiagonalBound=function(e,t,n,r){if(0<=e&&e=t));i=e.next());return n},B.concat=function(){for(var e=[],t=0;t=e.length)return Y;var t=e[n].next();return t.done?(n++,this.next()):t}}},B.chain=function(e){return new V(e)};var V=(G.prototype.next=function(){return this.it.next()},G);function G(e){this.it=e}var z,Q=(X.prototype.first=function(){return this.index=this.start,this.current()},X.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},X.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},X);function X(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}function Z(e,t,n,r){return void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),z.call(this,e,t,n,r)||this}j(Z,z=Q),Z.prototype.current=function(){return z.prototype.current.call(this)},Z.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},Z.prototype.first=function(){return this.index=this.start,this.current()},Z.prototype.last=function(){return this.index=this.end-1,this.current()},Z.prototype.parent=function(){return null};var $,J,ee=($=function(e,t){return($=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}$(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),te=/^\w[\w\d+.-]*$/,ne=/^\//,re=/^\/\//,ie="/",oe=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,se=(ue.isUri=function(e){return e instanceof ue||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString},Object.defineProperty(ue.prototype,"fsPath",{get:function(){return pe(this)},enumerable:!0,configurable:!0}),ue.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new he(t,n,r,i,o)},ue.parse=function(e,t){void 0===t&&(t=!1);var n=oe.exec(e);return n?new he(n[2]||"",ve(n[4]||""),ve(n[5]||""),ve(n[7]||""),ve(n[9]||""),t):new he("","","","","")},ue.file=function(e){var t="";if(p.c&&(e=e.replace(/\\/g,ie)),e[0]===ie&&e[1]===ie){var n=e.indexOf(ie,2);e=-1===n?(t=e.substring(2),ie):(t=e.substring(2,n),e.substring(n)||ie)}return new he("file",t,e,"","")},ue.from=function(e){return new he(e.scheme,e.authority,e.path,e.query,e.fragment)},ue.prototype.toString=function(e){return void 0===e&&(e=!1),ge(this,e)},ue.prototype.toJSON=function(){return this},ue.revive=function(e){if(e){if(e instanceof ue)return e;var t=new he(e);return t._formatted=e.external,t._fsPath=e._sep===le?e.fsPath:null,t}return e},ue);function ue(e,t,n,r,i,o){var s;void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(s=e)||o?s:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==ie&&(t=ie+t):t=ie}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!te.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!ne.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(re.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}var ae,le=p.c?1:void 0,he=(ee(ce,ae=se),Object.defineProperty(ce.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=pe(this)),this._fsPath},enumerable:!0,configurable:!0}),ce.prototype.toString=function(e){return void 0===e&&(e=!1),e?ge(this,!0):(this._formatted||(this._formatted=ge(this,!1)),this._formatted)},ce.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=le),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},ce);function ce(){var e=null!==ae&&ae.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}var fe=((J={})[58]="%3A",J[47]="%2F",J[63]="%3F",J[35]="%23",J[91]="%5B",J[93]="%5D",J[64]="%40",J[33]="%21",J[36]="%24",J[38]="%26",J[39]="%27",J[40]="%28",J[41]="%29",J[42]="%2A",J[43]="%2B",J[44]="%2C",J[59]="%3B",J[61]="%3D",J[32]="%20",J);function de(e,t){for(var n=void 0,r=-1,i=0;ie.endLineNumber||t.lineNumber===e.startLineNumber&&t.columne.endColumn)},Le.prototype.containsRange=function(e){return Le.containsRange(this,e)},Le.containsRange=function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)},Le.prototype.strictContainsRange=function(e){return Le.strictContainsRange(this,e)},Le.strictContainsRange=function(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)},Le.prototype.plusRange=function(e){return Le.plusRange(this,e)},Le.plusRange=function(e,t){var n,r,i,o;return r=t.startLineNumbere.endLineNumber?(i=t.endLineNumber,t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,e.endColumn),new Le(n,r,i,o)},Le.prototype.intersectRanges=function(e){return Le.intersectRanges(this,e)},Le.intersectRanges=function(e,t){var n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,s=t.startLineNumber,u=t.startColumn,a=t.endLineNumber,l=t.endColumn;return n "+this.endLineNumber+","+this.endColumn+"]"},Le.prototype.setEndPosition=function(e,t){return new Le(this.startLineNumber,this.startColumn,e,t)},Le.prototype.setStartPosition=function(e,t){return new Le(e,t,this.endLineNumber,this.endColumn)},Le.prototype.collapseToStart=function(){return Le.collapseToStart(this)},Le.collapseToStart=function(e){return new Le(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)},Le.fromPositions=function(e,t){return void 0===t&&(t=e),new Le(e.lineNumber,e.column,t.lineNumber,t.column)},Le.lift=function(e){return e?new Le(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null},Le.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},Le.areIntersectingOrTouching=function(e,t){return!(e.endLineNumbere.startLineNumber},Le);function Le(e,t,n,r){nt[3*r+1]))return t[3*r+2];r=2*r+1}return 0},Ee._INSTANCE=null;var Se=(we.prototype.getElements=function(){for(var e=[],t=0,n=this.lines.length;t=n.length)return!1;var i=n.length-e;return i<=t&&(t=i),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},Be.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,r=0,i=0,o=0;t<=n;)if(r=t+(n-t)/2|0,e<(o=(i=this.prefixSum[r])-this.values[r]))n=r-1;else{if(!(i<=e))break;t=r+1}return new qe(r,e-o)},Be);function Be(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}var He=(je.prototype.dispose=function(){this._lines.length=0},je.prototype.getText=function(){return this._lines.join(this._eol)},je.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t/?";n=this._maxCharCode?0:this._states.get(e,t)},$e);function $e(e){for(var t=0,n=0,r=0,i=e.length;r "+this.positionLineNumber+","+this.positionColumn+"]"},Wt.prototype.equalsSelection=function(e){return Wt.selectionsEqual(this,e)},Wt.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},Wt.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},Wt.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new Wt(this.startLineNumber,this.startColumn,e,t):new Wt(e,t,this.startLineNumber,this.startColumn)},Wt.prototype.getPosition=function(){return new ye(this.positionLineNumber,this.positionColumn)},Wt.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new Wt(e,t,this.endLineNumber,this.endColumn):new Wt(this.endLineNumber,this.endColumn,e,t)},Wt.fromPositions=function(e,t){return void 0===t&&(t=e),new Wt(e.lineNumber,e.column,t.lineNumber,t.column)},Wt.liftSelection=function(e){return new Wt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},Wt.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n>>0)>>>0},ir.CtrlCmd=2048,ir.Shift=1024,ir.Alt=512,ir.WinCtrl=256,ir);function ir(){}var or,sr,ur=(or=function(e,t){return(or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}or(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ar=function(e,t,n,r){return new(n=n||Promise)((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))},lr=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=0<(i=s.trys).length&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=o)return{word:i[0],startColumn:r+1+s,endColumn:r+1+t.lastIndex}}return null}:function(e,t,n,r){var i,o=e-1-r,s=n.lastIndexOf(" ",o-1)+1;for(t.lastIndex=s;i=t.exec(n);){var u=i.index||0;if(u<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+u,endColumn:r+1+t.lastIndex}}return null})(e,t,n,r);return t.lastIndex=0,o}(e.column,function(e){var t=Ye;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}(t),this._lines[e.lineNumber-1],0);return n?new be(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},cr.prototype.createWordIterator=function(e){var t,n,r=this,i=0,o=0,s=[];return{next:function u(){if(o=r._lines.length?Y:(n=r._lines[i],s=r._wordenize(n,e),o=0,i+=1,u())}}},cr.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],r=[],i=0,o=this._wordenize(n,t);ithis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{var i=this._lines[t-1].length+1;n<1?(n=1,r=!0):idr._diffLimit)r.push({range:a,text:l});else for(b=l,!1,f=new F(new M(c),new M(b)).ComputeDiff(!1).changes,d=n.offsetAt(be.lift(a).getStartPosition()),m=0,p=f;m