(self.webpackJsonp=self.webpackJsonp||[]).push([[2],{10:function(e,t,n){"use strict";var r,o,i,a,u,s,c,f;n.d(t,"g",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"j",function(){return c}),n.d(t,"f",function(){return h}),n.d(t,"b",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"a",function(){return v}),n.d(t,"h",function(){return T}),n.d(t,"i",function(){return M}),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return j.defined(t)&&j.number(t.line)&&j.number(t.character)}}(r||(r={})),function(e){e.create=function(e,t,n,o){if(j.number(e)&&j.number(t)&&j.number(n)&&j.number(o))return{start:r.create(e,t),end:r.create(n,o)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+o+"]")},e.is=function(e){var t=e;return j.defined(t)&&r.is(t.start)&&r.is(t.end)}}(o||(o={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return j.defined(t)&&o.is(t.range)&&(j.string(t.uri)||j.undefined(t.uri))}}(i||(i={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(a||(a={})),function(e){e.create=function(e,t,n,r,o){var i={range:e,message:t};return j.defined(n)&&(i.severity=n),j.defined(r)&&(i.code=r),j.defined(o)&&(i.source=o),i},e.is=function(e){var t=e;return j.defined(t)&&o.is(t.range)&&j.string(t.message)&&(j.number(t.severity)||j.undefined(t.severity))&&(j.number(t.code)||j.string(t.code)||j.undefined(t.code))&&(j.string(t.source)||j.undefined(t.source))}}(u||(u={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(o.arguments=n),o},e.is=function(e){var t=e;return j.defined(t)&&j.string(t.title)&&j.string(t.title)}}(s||(s={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}}}(c||(c={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return j.defined(t)&&d.is(t.textDocument)&&Array.isArray(t.edits)}}(f||(f={}));var l,d,g,h,p,m,v,b,k,_,y,C,w,T,E,S,x,A,I=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(c.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(c.replace(e,t))},e.prototype.delete=function(e){this.edits.push(c.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach(function(e){var n=new I(e.edits);t._textEditChanges[e.textDocument.uri]=n}):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new I(e.changes[n]);t._textEditChanges[n]=r}))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(d.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for versioned document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),r=new I(o),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,r=new I(o),this._textEditChanges[e]=r}return r}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return j.defined(t)&&j.string(t.uri)}}(l||(l={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return j.defined(t)&&j.string(t.uri)&&j.number(t.version)}}(d||(d={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return j.defined(t)&&j.string(t.uri)&&j.string(t.languageId)&&j.number(t.version)&&j.string(t.text)}}(g||(g={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(h||(h={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(p||(p={})),function(e){e.PlainText=1,e.Snippet=2}(m||(m={})),function(e){e.create=function(e){return{label:e}}}(v||(v={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(b||(b={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}}(k||(k={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(_||(_={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;i--){var a=r[i],u=e.offsetAt(a.range.start),s=e.offsetAt(a.range.end);if(!(s<=o))throw new Error("Ovelapping edit");n=n.substring(0,u)+a.newText+n.substring(s,n.length),o=u}return n}}(M||(M={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(P||(P={}));var j,D=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,o=t.length;if(0===o)return r.create(0,e);for(;ne?o=i:n=i+1}var a=n-1;return r.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+112e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t,n,o,i,a=this,u=[],s=0;s0,u){case 1:case 2:d=E,f=!1;break;case 3:case 4:d=S,f=!1;break;case 6:d=x,f=!0;break;case 5:d=A,f=!1;break;case 8:case 9:d=I,f=!1;break;case 7:d=O,f=!1;break;case 10:d=f?M:j,f=!1;break;case 11:d=P,f=!1}if(e)switch(u){case 12:d=F;break;case 13:d=D}s.endState=new W(n.getStateData(),c.getTokenError(),f),s.tokens.push({startIndex:l,scopes:d})}return s}(e,t,n,r)}}}var E="delimiter.bracket.json",S="delimiter.array.json",x="delimiter.colon.json",A="delimiter.comma.json",I="keyword.json",O="keyword.json",M="string.value.json",P="number.json",j="string.key.json",D="comment.block.json",F="comment.line.json",W=function(){function e(e,t,n){this._state=e,this.scanError=t,this.lastWasColon=n}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&(this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon)},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}();function L(e){var t=[],n=new o(e);t.push(n);var r=function(){for(var e=[],t=0;t=48&&a<=57)i=16*i+a-48;else if(a>=65&&a<=70)i=16*i+a-65+10;else{if(!(a>=97&&a<=102))break;i=16*i+a-97+10}n++,o++}return o=r)return s=r,c=17;var t=e.charCodeAt(n);if(o(t)){do{n++,u+=String.fromCharCode(t),t=e.charCodeAt(n)}while(o(t));return c=15}if(i(t))return n++,u+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,u+="\n"),c=14;switch(t){case 123:return n++,c=1;case 125:return n++,c=2;case 91:return n++,c=3;case 93:return n++,c=4;case 58:return n++,c=6;case 44:return n++,c=5;case 34:return n++,u=function(){for(var t="",o=n;;){if(n>=r){t+=e.substring(o,n),f=2;break}var a=e.charCodeAt(n);if(34===a){t+=e.substring(o,n),n++;break}if(92!==a){if(a>=0&&a<=31){if(i(a)){t+=e.substring(o,n),f=2;break}f=6}n++}else{if(t+=e.substring(o,n),++n>=r){f=2;break}switch(a=e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var u=l(4,!0);u>=0?t+=String.fromCharCode(u):f=4;break;default:f=5}o=n}}return t}(),c=10;case 47:var d=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n=12&&e<=15);return e}:d,getToken:function(){return c},getTokenValue:function(){return u},getTokenOffset:function(){return s},getTokenLength:function(){return n-s},getTokenError:function(){return f}}}function o(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function i(e){return 10===e||13===e||8232===e||8233===e}function a(e){return e>=48&&e<=57}function u(e,t,n){var o,i,a,u,f;if(t){for(u=t.offset,f=u+t.length,a=u;a>0&&!c(e,a-1);)a--;for(var l=f;lu&&e.substring(n,r)!==t&&_.push({offset:n,length:r-n,content:t})}var C=k();if(17!==C){var w=m.getTokenOffset()+a;y(s(d,o),a,w)}for(;17!==C;){for(var T=m.getTokenOffset()+m.getTokenLength()+a,E=k(),S="";!h&&(12===E||13===E);){y(" ",T,m.getTokenOffset()+a),T=m.getTokenOffset()+m.getTokenLength()+a,S=12===E?b():"",E=k()}if(2===E)1!==C&&(p--,S=b());else if(4===E)3!==C&&(p--,S=b());else{switch(C){case 3:case 1:p++,S=b();break;case 5:case 12:S=b();break;case 13:S=h?b():" ";break;case 6:S=" ";break;case 10:if(6===E){S="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===E||13===E?S=" ":5!==E&&17!==E&&(v=!0);break;case 16:v=!0}!h||12!==E&&13!==E||(S=b())}y(S,T,m.getTokenOffset()+a),C=E}return _}function s(e,t){for(var n="",r=0;r0)for(var r=o.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function _(e){var t=o.getTokenValue();return e?d(t):s(t),b(),!0}function y(){switch(o.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||k(4,[],[]),g(","),b(),4===o.getToken()&&v)break}else e&&k(6,[],[]);y()||k(4,[],[4,5]),e=!0}return l(),4!==o.getToken()?k(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==o.getToken()&&17!==o.getToken();){if(5===o.getToken()){if(e||k(4,[],[]),g(","),b(),2===o.getToken()&&v)break}else e&&k(6,[],[]);(10!==o.getToken()?(k(3,[],[2,5]),0):(_(!1),6===o.getToken()?(g(":"),b(),y()||k(4,[],[2,5])):k(5,[],[2,5]),1))||k(4,[],[2,5]),e=!0}return c(),2!==o.getToken()?k(7,[2],[]):b(),!0}();case 10:return _(!0);default:return function(){switch(o.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(k(2),e=0)}catch(e){k(2)}d(e);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return!1}return b(),!0}()}}return b(),17===o.getToken()||(y()?(17!==o.getToken()&&k(9,[],[]),!0):(k(4,[],[]),!1))}n.d(t,"a",function(){return l}),n.d(t,"c",function(){return d}),n.d(t,"b",function(){return g});var l=r,d=function(e,t,n){void 0===t&&(t=[]);var r=null,o=[],i=[];function a(e){Array.isArray(o)?o.push(e):r&&(o[r]=e)}return f(e,{onObjectBegin:function(){var e={};a(e),i.push(o),o=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){o=i.pop()},onArrayBegin:function(){var e=[];a(e),i.push(o),o=e,r=null},onArrayEnd:function(){o=i.pop()},onLiteralValue:a,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),o[0]};function g(e,t,n){return u(e,t,n)}}}]);