You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
71 KiB
1 lines
71 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-e13e4362"],{"47b9":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return qt}));var r,i=n("0ab8"),o=(a.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},a.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},a.prototype._checkIfIdle=function(){this._worker&&12e4<Date.now()-this._lastUsedTime&&this._stopWorker()},a.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},a.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},a);function a(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}function s(e,t){var n=e.length,r=0,i="",o=0,a=16,s=0,f=0,l=0,d=0,p=0;function m(){for(var t="",i=r;;){if(n<=r){t+=e.substring(i,r),p=2;break}var o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),n<=++r){p=2;break}switch(e.charCodeAt(r++)){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 a=function(t,n){for(var i=0,o=0;i<t||!n;){var a=e.charCodeAt(r);if(48<=a&&a<=57)o=16*o+a-48;else if(65<=a&&a<=70)o=16*o+a-65+10;else{if(!(97<=a&&a<=102))break;o=16*o+a-97+10}r++,i++}return i<t?-1:o}(4,!0);0<=a?t+=String.fromCharCode(a):p=4;break;default:p=5}i=r}else{if(0<=o&&o<=31){if(u(o)){t+=e.substring(i,r),p=2;break}p=6}r++}}return t}function g(){if(i="",p=0,f=s,d=l,n<=(o=r))return o=n,a=17;var t=e.charCodeAt(r);if(c(t)){for(;r++,i+=String.fromCharCode(t),c(t=e.charCodeAt(r)););return a=15}if(u(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,l=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=m(),a=10;case 47:var g=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!u(e.charCodeAt(r));)r++;return i=e.substring(g,r),a=12}if(42!==e.charCodeAt(r+1))return i+=String.fromCharCode(t),r++,a=16;r+=2;for(var v=n-1,y=!1;r<v;){var b=e.charCodeAt(r);if(42===b&&47===e.charCodeAt(r+1)){r+=2,y=!0;break}r++,u(b)&&(13===b&&10===e.charCodeAt(r)&&r++,s++,l=r)}return y||(r++,p=1),i=e.substring(g,r),a=13;case 45:if(i+=String.fromCharCode(t),++r===n||!h(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&h(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&h(e.charCodeAt(r))))return p=3,e.substring(t,r);for(r++;r<e.length&&h(e.charCodeAt(r));)r++}var n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&h(e.charCodeAt(r))){for(r++;r<e.length&&h(e.charCodeAt(r));)r++;n=r}else p=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&function(e){if(!c(e)&&!u(e)){switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return}return 1}}(t);)r++,t=e.charCodeAt(r);if(o!==r)switch(i=e.substring(o,r)){case"true":return a=8;case"false":return a=9;case"null":return a=7}else i+=String.fromCharCode(t),r++;return a=16}}return{setPosition:function(e){r=e,i="",a=16,p=o=0},getPosition:function(){return r},scan:(t=void 0!==t&&t)?function(){for(var e;12<=(e=g())&&e<=15;);return e}:g,getToken:function(){return a},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return r-o},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return o-d},getTokenError:function(){return p}}}function c(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||8192<=e&&e<=8203||8239===e||8287===e||12288===e||65279===e}function u(e){return 10===e||13===e||8232===e||8233===e}function h(e){return 48<=e&&e<=57}function f(e,t,n){void 0===n&&(n=r.DEFAULT);var i=s(e,!1);function o(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}var c=o(t.onObjectBegin),u=a(t.onObjectProperty),h=o(t.onObjectEnd),f=o(t.onArrayBegin),l=o(t.onArrayEnd),d=a(t.onLiteralValue),p=a(t.onSeparator),m=o(t.onComment),g=a(t.onError),v=n&&n.disallowComments,y=n&&n.allowTrailingComma;function b(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:C(14);break;case 5:C(15);break;case 3:C(13);break;case 1:v||C(11);break;case 2:C(12);break;case 6:C(16)}switch(e){case 12:case 13:v?C(10):m();break;case 16:C(1);break;case 15:case 14:break;default:return e}}}function C(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),g(e),0<t.length+n.length)for(var r=i.getToken();17!==r;){if(-1!==t.indexOf(r)){b();break}if(-1!==n.indexOf(r))break;r=b()}}function w(e){var t=i.getTokenValue();return(e?d:u)(t),b(),!0}function k(){c(),b();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),p(","),b(),2===i.getToken()&&y)break}else e&&C(6,[],[]);!function(){if(10===i.getToken())return w(!1),6===i.getToken()?(p(":"),b(),_()||C(4,[],[2,5])):C(5,[],[2,5]),1;C(3,[],[2,5])}()&&C(4,[],[2,5]),e=!0}return h(),2!==i.getToken()?C(7,[2],[]):b(),!0}function _(){switch(i.getToken()){case 3:f(),b();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||C(4,[],[]),p(","),b(),4===i.getToken()&&y)break}else e&&C(6,[],[]);_()||C(4,[],[4,5]),e=!0}return l(),4!==i.getToken()?C(8,[4],[]):b(),1;case 1:return k();case 10:return w(!0);default:switch(i.getToken()){case 11:var t=i.getTokenValue();t=Number(t);isNaN(t)&&(C(2),t=0),d(t);break;case 7:d(null);break;case 8:d(!0);break;case 9:d(!1);break;default:return}return b(),1}}return b(),17===i.getToken()?!!n.allowEmptyContent||(C(4,[],[]),!1):_()?(17!==i.getToken()&&C(9,[],[]),!0):(C(4,[],[]),!1)}(r=r||{}).DEFAULT={allowTrailingComma:!1};var l,d,p,m,g,v,y,b,C,w,k,_,A,x,S,I,j=s,O=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=r.DEFAULT);var i=null,o=[],a=[];function s(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}return f(e,{onObjectBegin:function(){var e={};s(e),a.push(o),o=e,i=null},onObjectProperty:function(e){i=e},onObjectEnd:function(){o=a.pop()},onArrayBegin:function(){var e=[];s(e),a.push(o),o=e,i=null},onArrayEnd:function(){o=a.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),o[0]},E=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var n=Object.create(null),r=0,i=t.children;r<i.length;r++){var o=i[r],a=o.children[1];a&&(n[o.children[0].value]=e(a))}return n;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function P(e){return"boolean"==typeof e}function T(e,t){if(!(e.length<t.length)){for(var n=0;n<t.length;n++)if(e[n]!==t[n])return;return 1}}function R(e,t){var n=e.length-t.length;return 0<n?e.lastIndexOf(t)===n:0==n&&e===t}function $(e){return T(e,"(?i)")?new RegExp(e.substring(4),"i"):new RegExp(e)}(t=l=l||{}).MIN_VALUE=0,t.MAX_VALUE=2147483647,(t=d=d||{}).create=function(e,t){return{line:e=e===Number.MAX_VALUE?l.MAX_VALUE:e,character:t=t===Number.MAX_VALUE?l.MAX_VALUE:t}},t.is=function(e){return ee.objectLiteral(e)&&ee.uinteger(e.line)&&ee.uinteger(e.character)},(t=p=p||{}).create=function(e,t,n,r){if(ee.uinteger(e)&&ee.uinteger(t)&&ee.uinteger(n)&&ee.uinteger(r))return{start:d.create(e,t),end:d.create(n,r)};if(d.is(e)&&d.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},t.is=function(e){return ee.objectLiteral(e)&&d.is(e.start)&&d.is(e.end)},(t=m=m||{}).create=function(e,t){return{uri:e,range:t}},t.is=function(e){return ee.defined(e)&&p.is(e.range)&&(ee.string(e.uri)||ee.undefined(e.uri))},(t=X=X||{}).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},t.is=function(e){return ee.numberRange(e.red,0,1)&&ee.numberRange(e.green,0,1)&&ee.numberRange(e.blue,0,1)&&ee.numberRange(e.alpha,0,1)},(X=g=g||{}).Comment="comment",X.Imports="imports",X.Region="region",(t=v=v||{}).create=function(e,t){return{location:e,message:t}},t.is=function(e){return ee.defined(e)&&m.is(e.location)&&ee.string(e.message)},(X=y=y||{}).Error=1,X.Warning=2,X.Information=3,X.Hint=4,(te||{}).is=function(e){return null!=e&&ee.string(e.href)},(t=b=b||{}).create=function(e,t,n,r,i,o){return e={range:e,message:t},ee.defined(n)&&(e.severity=n),ee.defined(r)&&(e.code=r),ee.defined(i)&&(e.source=i),ee.defined(o)&&(e.relatedInformation=o),e},t.is=function(e){var t;return ee.defined(e)&&p.is(e.range)&&ee.string(e.message)&&(ee.number(e.severity)||ee.undefined(e.severity))&&(ee.integer(e.code)||ee.string(e.code)||ee.undefined(e.code))&&(ee.undefined(e.codeDescription)||ee.string(null==(t=e.codeDescription)?void 0:t.href))&&(ee.string(e.source)||ee.undefined(e.source))&&(ee.undefined(e.relatedInformation)||ee.typedArray(e.relatedInformation,v.is))},(X=Ce=Ce||{}).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return e={title:e,command:t},ee.defined(n)&&0<n.length&&(e.arguments=n),e},X.is=function(e){return ee.defined(e)&&ee.string(e.title)&&ee.string(e.command)},(te=C=C||{}).replace=function(e,t){return{range:e,newText:t}},te.insert=function(e,t){return{range:{start:e,end:e},newText:t}},te.del=function(e){return{range:e,newText:""}},te.is=function(e){return ee.objectLiteral(e)&&ee.string(e.newText)&&p.is(e.range)},(t=w=w||{}).create=function(e,t,n){return e={label:e},void 0!==t&&(e.needsConfirmation=t),void 0!==n&&(e.description=n),e},t.is=function(e){return void 0!==e&&ee.objectLiteral(e)&&ee.string(e.label)&&(ee.boolean(e.needsConfirmation)||void 0===e.needsConfirmation)&&(ee.string(e.description)||void 0===e.description)},(k||(k={})).is=function(e){return"string"==typeof e},(Ce=_=_||{}).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},Ce.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},Ce.del=function(e,t){return{range:e,newText:"",annotationId:t}},Ce.is=function(e){return C.is(e)&&(w.is(e.annotationId)||k.is(e.annotationId))},(X=A=A||{}).create=function(e,t){return{textDocument:e,edits:t}},X.is=function(e){return ee.defined(e)&&F.is(e.textDocument)&&Array.isArray(e.edits)},(te=x=x||{}).create=function(e,t,n){return e={kind:"create",uri:e},void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(e.options=t),void 0!==n&&(e.annotationId=n),e},te.is=function(e){return e&&"create"===e.kind&&ee.string(e.uri)&&(void 0===e.options||(void 0===e.options.overwrite||ee.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ee.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||k.is(e.annotationId))},(t=S=S||{}).create=function(e,t,n,r){return e={kind:"rename",oldUri:e,newUri:t},void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(e.options=n),void 0!==r&&(e.annotationId=r),e},t.is=function(e){return e&&"rename"===e.kind&&ee.string(e.oldUri)&&ee.string(e.newUri)&&(void 0===e.options||(void 0===e.options.overwrite||ee.boolean(e.options.overwrite))&&(void 0===e.options.ignoreIfExists||ee.boolean(e.options.ignoreIfExists)))&&(void 0===e.annotationId||k.is(e.annotationId))},(Ce=I=I||{}).create=function(e,t,n){return e={kind:"delete",uri:e},void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(e.options=t),void 0!==n&&(e.annotationId=n),e},Ce.is=function(e){return e&&"delete"===e.kind&&ee.string(e.uri)&&(void 0===e.options||(void 0===e.options.recursive||ee.boolean(e.options.recursive))&&(void 0===e.options.ignoreIfNotExists||ee.boolean(e.options.ignoreIfNotExists)))&&(void 0===e.annotationId||k.is(e.annotationId))},(Je||(Je={})).is=function(e){return e&&(void 0!==e.changes||void 0!==e.documentChanges)&&(void 0===e.documentChanges||e.documentChanges.every((function(e){return ee.string(e.kind)?x.is(e)||S.is(e)||I.is(e):A.is(e)})))},N.prototype.insert=function(e,t,n){var r;n=void 0===n?C.insert(e,t):k.is(n)?_.insert(e,t,r=n):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(n),_.insert(e,t,r));if(this.edits.push(n),void 0!==r)return r},N.prototype.replace=function(e,t,n){var r;n=void 0===n?C.replace(e,t):k.is(n)?_.replace(e,t,r=n):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(n),_.replace(e,t,r));if(this.edits.push(n),void 0!==r)return r},N.prototype.delete=function(e,t){var n;t=void 0===t?C.del(e):k.is(t)?_.del(e,n=t):(this.assertChangeAnnotations(this.changeAnnotations),n=this.changeAnnotations.manage(t),_.del(e,n));if(this.edits.push(t),void 0!==n)return n},N.prototype.add=function(e){this.edits.push(e)},N.prototype.all=function(){return this.edits},N.prototype.clear=function(){this.edits.splice(0,this.edits.length)},N.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")};var M=N;function N(e,t){this.edits=e,this.changeAnnotations=t}oe.prototype.all=function(){return this._annotations},Object.defineProperty(oe.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),oe.prototype.manage=function(e,t){var n;if(k.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},oe.prototype.nextId=function(){return this._counter++,this._counter.toString()};var F,D,L,U,q,W,B,V,H,z,K,J,G,X,Z,Q,Y,ee,te,ne,re,ie=oe;function oe(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}function ae(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e).documentChanges?(this._changeAnnotations=new ie(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){var n;A.is(e)&&(n=new M(e.edits,t._changeAnnotations),t._textEditChanges[e.textDocument.uri]=n)}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new M(e.changes[n]);t._textEditChanges[n]=r})):this._workspaceEdit={}}function se(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}function ce(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}function ue(e,t,n){void 0===n&&(n=0);for(var r=t?[n]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,r.push(n+i+1))}return r}function he(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function fe(e,t){for(var n,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return t=t,0===(n=r).length?t:t.replace(/\{(\d+)\}/g,(function(e,t){return t=t[0],void 0!==n[t]?n[t]:e}))}Object.defineProperty(ae.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),ae.prototype.getTextEditChange=function(e){if(F.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};(n=this._textEditChanges[t.uri])||(this._workspaceEdit.documentChanges.push({textDocument:t,edits:r=[]}),n=new M(r,this._changeAnnotations),this._textEditChanges[t.uri]=n)}else{if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n,r;(n=this._textEditChanges[e])||(this._workspaceEdit.changes[e]=r=[],n=new M(r),this._textEditChanges[e]=n)}return n},ae.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ie,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},ae.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},ae.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i;if(w.is(t)||k.is(t)?r=t:n=t,t=void 0===r?x.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),x.create(e,n,i)),this._workspaceEdit.documentChanges.push(t),void 0!==i)return i},ae.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o;if(w.is(n)||k.is(n)?i=n:r=n,n=void 0===i?S.create(e,t,r):(o=k.is(i)?i:this._changeAnnotations.manage(i),S.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(n),void 0!==o)return o},ae.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i;if(w.is(t)||k.is(t)?r=t:n=t,t=void 0===r?I.create(e,n):(i=k.is(r)?r:this._changeAnnotations.manage(r),I.create(e,n,i)),this._workspaceEdit.documentChanges.push(t),void 0!==i)return i},(X=F=F||{}).create=function(e,t){return{uri:e,version:t}},X.is=function(e){return ee.defined(e)&&ee.string(e.uri)&&(null===e.version||ee.integer(e.version))},(te=D=D||{}).PlainText="plaintext",te.Markdown="markdown",(L=D=D||{}).is=function(e){return e===L.PlainText||e===L.Markdown},(U||(U={})).is=function(e){var t=e;return ee.objectLiteral(e)&&D.is(t.kind)&&ee.string(t.value)},(t=q=q||{}).Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25,(Ce=W=W||{}).PlainText=1,Ce.Snippet=2,(B||(B={})).create=function(e){return{label:e}},(ke||{}).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(Je=V=V||{}).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},Je.is=function(e){return ee.string(e)||ee.objectLiteral(e)&&ee.string(e.language)&&ee.string(e.value)},(H||{}).is=function(e){var t=e;return!!t&&ee.objectLiteral(t)&&(U.is(t.contents)||V.is(t.contents)||ee.typedArray(t.contents,V.is))&&(void 0===e.range||p.is(e.range))},(z||{}).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(K||{}).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return e={label:e},ee.defined(t)&&(e.documentation=t),ee.defined(n)?e.parameters=n:e.parameters=[],e},(J||{}).create=function(e,t){return e={range:e},ee.number(t)&&(e.kind=t),e},(X=G=G||{}).File=1,X.Module=2,X.Namespace=3,X.Package=4,X.Class=5,X.Method=6,X.Property=7,X.Field=8,X.Constructor=9,X.Enum=10,X.Interface=11,X.Function=12,X.Variable=13,X.Constant=14,X.String=15,X.Number=16,X.Boolean=17,X.Array=18,X.Object=19,X.Key=20,X.Null=21,X.EnumMember=22,X.Struct=23,X.Event=24,X.Operator=25,X.TypeParameter=26,(Z||{}).create=function(e,t,n,r,i){return e={name:e,kind:t,location:{uri:r,range:n}},i&&(e.containerName=i),e},(Y=Q=Q||{}).create=function(e,t){return{range:e,parent:t}},Y.is=function(e){return void 0!==e&&p.is(e.range)&&(void 0===e.parent||Y.is(e.parent))},Object.defineProperty(se.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),se.prototype.getText=function(e){var t;return e?(t=this.offsetAt(e.start),e=this.offsetAt(e.end),this._content.substring(t,e)):this._content},se.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},se.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i;"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&0<t.length&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},se.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return d.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return d.create(o,e-t[o])},se.prototype.offsetAt=function(e){var t,n=this.getLineOffsets();return e.line>=n.length?this._content.length:e.line<0?0:(t=n[e.line],n=e.line+1<n.length?n[e.line+1]:this._content.length,Math.max(Math.min(t+e.character,n),t))},Object.defineProperty(se.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),te=ee=ee||{},ne=Object.prototype.toString,te.defined=function(e){return void 0!==e},te.undefined=function(e){return void 0===e},te.boolean=function(e){return!0===e||!1===e},te.string=function(e){return"[object String]"===ne.call(e)},te.number=function(e){return"[object Number]"===ne.call(e)},te.numberRange=function(e,t,n){return"[object Number]"===ne.call(e)&&t<=e&&e<=n},te.integer=function(e){return"[object Number]"===ne.call(e)&&-2147483648<=e&&e<=2147483647},te.uinteger=function(e){return"[object Number]"===ne.call(e)&&0<=e&&e<=2147483647},te.func=function(e){return"[object Function]"===ne.call(e)},te.objectLiteral=function(e){return null!==e&&"object"==typeof e},te.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},Object.defineProperty(ce.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(ce.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(ce.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),ce.prototype.getText=function(e){var t;return e?(t=this.offsetAt(e.start),e=this.offsetAt(e.end),this._content.substring(t,e)):this._content},ce.prototype.update=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(ce.isIncremental(i)){var o=he(i.range),a=this.offsetAt(o.start),s=this.offsetAt(o.end),c=(this._content=this._content.substring(0,a)+i.text+this._content.substring(s,this._content.length),Math.max(o.start.line,0)),u=(o=Math.max(o.end.line,0),this._lineOffsets),h=ue(i.text,!1,a);if(o-c===h.length)for(var f=0,l=h.length;f<l;f++)u[f+c+1]=h[f];else h.length<1e4?u.splice.apply(u,[c+1,o-c].concat(h)):this._lineOffsets=u=u.slice(0,c+1).concat(h,u.slice(o+1));var d=i.text.length-(s-a);if(0!=d)for(f=c+1+h.length,l=u.length;f<l;f++)u[f]=u[f]+d}else{if(!ce.isFull(i))throw new Error("Unknown change event received");this._content=i.text,this._lineOffsets=void 0}}this._version=t},ce.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ue(this._content,!0)),this._lineOffsets},ce.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return{line:0,character:e};for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},ce.prototype.offsetAt=function(e){var t,n=this.getLineOffsets();return e.line>=n.length?this._content.length:e.line<0?0:(t=n[e.line],n=e.line+1<n.length?n[e.line+1]:this._content.length,Math.max(Math.min(t+e.character,n),t))},Object.defineProperty(ce.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),ce.isIncremental=function(e){return null!=e&&"string"==typeof e.text&&void 0!==e.range&&(void 0===e.rangeLength||"number"==typeof e.rangeLength)},ce.isFull=function(e){return null!=e&&"string"==typeof e.text&&void 0===e.range&&void 0===e.rangeLength},(t=re=re||{})[t.Undefined=0]="Undefined",t[t.EnumValueMismatch=1]="EnumValueMismatch",t[t.Deprecated=2]="Deprecated",t[t.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",t[t.UnexpectedEndOfString=258]="UnexpectedEndOfString",t[t.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",t[t.InvalidUnicode=260]="InvalidUnicode",t[t.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",t[t.InvalidCharacter=262]="InvalidCharacter",t[t.PropertyExpected=513]="PropertyExpected",t[t.CommaExpected=514]="CommaExpected",t[t.ColonExpected=515]="ColonExpected",t[t.ValueExpected=516]="ValueExpected",t[t.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",t[t.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",t[t.TrailingComma=519]="TrailingComma",t[t.DuplicateKey=520]="DuplicateKey",t[t.CommentNotPermitted=521]="CommentNotPermitted",t[t.SchemaResolveError=768]="SchemaResolveError",D.Markdown,D.PlainText,le=function(e,t){return(le=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};var le,de,pe,me,ge,ve,ye,be,Ce=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},we=fe,ke=(we("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),we("dateTimeFormatWarning","String is not a RFC3339 date-time."),we("dateFormatWarning","String is not a RFC3339 date."),we("timeFormatWarning","String is not a RFC3339 time."),we("emailFormatWarning","String is not an e-mail address."),Object.defineProperty(_e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),_e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},_e);function _e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}function Ae(e,t){return e=de.call(this,e,t)||this,e.type="null",e.value=null,e}function xe(e,t,n){return e=pe.call(this,e,n)||this,e.type="boolean",e.value=t,e}function Se(e,t){return e=me.call(this,e,t)||this,e.type="array",e.items=[],e}function Ie(e,t){return e=ge.call(this,e,t)||this,e.type="number",e.isInteger=!0,e.value=Number.NaN,e}function je(e,t,n){return e=ve.call(this,e,t,n)||this,e.type="string",e.value="",e}function Oe(e,t,n){return e=ye.call(this,e,t)||this,e.type="property",e.colonOffset=-1,e.keyNode=n,e}function Ee(e,t){return e=be.call(this,e,t)||this,e.type="object",e.properties=[],e}function Pe(e){return P(e)?e?{}:{not:{}}:e}function Te(){}function Re(e){return E(e)}Ce(Ae,de=ke),Ce(xe,pe=ke),Ce(Se,me=ke),Object.defineProperty(Se.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0}),Ce(Ie,ge=ke),Ce(je,ve=ke),Ce(Oe,ye=ke),Object.defineProperty(Oe.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0}),Ce(Ee,be=ke),Object.defineProperty(Ee.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0}),Object.defineProperty(Te.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),Te.prototype.add=function(e){},Te.prototype.merge=function(e){},Te.prototype.include=function(e){return!0},Te.prototype.newSub=function(){return this},Te.instance=new Te;var $e=n("c623"),Me=fe,Ne=(Fe.prototype.matchesPattern=function(e){for(var t=!1,n=0,r=this.globWrappers;n<r.length;n++){var i=r[n],o=i.regexp;i=i.include;o.test(e)&&(t=i)}return t},Fe.prototype.getURIs=function(){return this.uris},Fe);function Fe(e,t){this.globWrappers=[];try{for(var n=0,r=e;n<r.length;n++){var i=r[n],o="!"!==i[0];0<(i=o?i:i.substring(1)).length&&("/"===i[0]&&(i=i.substring(1)),this.globWrappers.push({regexp:function(e,t){if("string"!=typeof e)throw new TypeError("Expected a string");for(var n,r=String(e),i="",o=!!t&&!!t.extended,a=!!t&&!!t.globstar,s=!1,c=(e=t&&"string"==typeof t.flags?t.flags:"",0),u=r.length;c<u;c++)switch(n=r[c]){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":i+="\\"+n;break;case"?":if(o){i+=".";break}case"[":case"]":if(o){i+=n;break}case"{":if(o){s=!0,i+="(";break}case"}":if(o){s=!1,i+=")";break}case",":i+=s?"|":"\\"+n;break;case"*":for(var h=r[c-1],f=1;"*"===r[c+1];)f++,c++;var l=r[c+1];a?!(1<f)||"/"!==h&&void 0!==h&&"{"!==h&&","!==h||"/"!==l&&void 0!==l&&","!==l&&"}"!==l?i+="([^/]*)":("/"===l?c++:"/"===h&&i.endsWith("\\/")&&(i=i.substr(0,i.length-2)),i+="((?:[^/]*(?:/|$))*)"):i+=".*";break;default:i+=n}return e&&~e.indexOf("g")||(i="^"+i+"$"),new RegExp(i,e)}("**/"+i,{extended:!0,globstar:!0}),include:o}))}this.uris=t}catch(e){this.globWrappers.length=0,this.uris=[]}}Le.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},Le.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},Le.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}};var De=Le;function Le(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new Ue(n)))}var Ue=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},qe=(We.prototype.getSection=function(e){if(e=this.getSectionRecursive(e,this.schema),e)return Pe(e)},We.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var r=0,i=Object.keys(t.patternProperties);r<i.length;r++){var o=i[r];if($(o).test(n))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var a=parseInt(n,10);if(!isNaN(a)&&t.items[a])return this.getSectionRecursive(e,t.items[a])}else if(t.items)return this.getSectionRecursive(e,t.items)}},We);function We(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}function Be(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}Be.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){return t=$e.a.parse(t).scheme,"schemaservice"!==t&&(!e||e(t))}))},Object.defineProperty(Be.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),Be.prototype.dispose=function(){for(;0<this.callOnDispose.length;)this.callOnDispose.pop()()},Be.prototype.onResourceChange=function(e){for(var t=this,n=!1,r=[e=He(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));r.length;)for(var o=r.pop(),a=0;a<i.length;a++){var s=i[a];s&&(s.url===o||s.dependencies[o])&&(s.url!==o&&r.push(s.url),s.clearSchema(),n=!(i[a]=void 0))}return n},Be.prototype.setSchemaContributions=function(e){if(e.schemas){var t,n=e.schemas;for(t in n){var r=He(t);this.contributionSchemas[r]=this.addSchemaHandle(r,n[t])}}if(Array.isArray(e.schemaAssociations))for(var i=0,o=e.schemaAssociations;i<o.length;i++){var a=o[i],s=a.uris.map(He);a=this.addFilePatternAssociation(a.pattern,s);this.contributionAssociations.push(a)}},Be.prototype.addSchemaHandle=function(e,t){return t=new De(this,e,t),this.schemasById[e]=t},Be.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},Be.prototype.addFilePatternAssociation=function(e,t){return e=new Ne(e,t),this.filePatternAssociations.push(e),e},Be.prototype.registerExternalSchema=function(e,t,n){var r=He(e);return this.registeredSchemasIds[r]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(r,n):this.getOrAddSchemaHandle(r)},Be.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var r=n[t];this.filePatternAssociations.push(r)}},Be.prototype.getResolvedSchema=function(e){return e=He(e),e=this.schemasById[e],e?e.getResolvedSchema():this.promise.resolve(void 0)},Be.prototype.loadSchema=function(e){var t;return this.requestService?this.requestService(e).then((function(t){var n;return t?(n={},n=O(t,t=[]),t=t.length?[Me("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",ze(e),t[0].offset)]:[],new Ue(n,t)):(n=Me("json.schema.nocontent","Unable to load schema from '{0}': No content.",ze(e)),new Ue({},[n]))}),(function(t){var n=t.toString();t=t.toString().split("Error: ");return R(n=1<t.length?t[1]:n,".")&&(n=n.substr(0,n.length-1)),new Ue({},[Me("json.schema.nocontent","Unable to load schema from '{0}': {1}.",ze(e),n)])})):(t=Me("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",ze(e)),this.promise.resolve(new Ue({},[t])))},Be.prototype.resolveSchemaContent=function(e,t,n){var r=this,i=e.errors.slice(0),o=e.schema;if(o.$schema){if(e=He(o.$schema),"http://json-schema.org/draft-03/schema"===e)return this.promise.resolve(new qe({},[Me("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===e&&i.push(Me("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,s=function(e,t){var n;return t?(n=e,(t="/"===t[0]?t.substr(1):t).split("/").some((function(e){return e=e.replace(/~1/g,"/").replace(/~0/g,"~"),!(n=n[e])})),n):e},c=function(e,t,n,r){r=r?decodeURIComponent(r):void 0;var o=s(t,r);if(o)for(var a in o)o.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=o[a]);else i.push(Me("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",r,n))},u=function(e,t,n,o,s){t=He(t=a&&!/^[A-Za-z][A-Za-z0-9+\-.+]*:\/\/.*/.test(t)?a.resolveRelativePath(t,o):t);var u=r.getOrAddSchemaHandle(t);return u.getUnresolvedSchema().then((function(r){var o;return s[t]=!0,r.errors.length&&(o=n?t+"#"+n:t,i.push(Me("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,r.errors[0]))),c(e,r.schema,t,n),h(e,r.schema,t,u.dependencies)}))},h=function(e,t,n,i){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],a=[],s=[],h=function(e){for(var r=[];e.$ref;){var a=e.$ref,h=a.split("#",2);if(delete e.$ref,0<h[0].length)return void s.push(u(e,h[0],h[1],n,i));-1===r.indexOf(a)&&(c(e,t,n,h[1]),r.push(a))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];"object"==typeof i&&o.push(i)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if("object"==typeof i)for(var a in i)a=i[a],"object"==typeof a&&o.push(a)}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(Array.isArray(i))for(var a=0,s=i;a<s.length;a++){var c=s[a];"object"==typeof c&&o.push(c)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var f=o.pop();0<=a.indexOf(f)||(a.push(f),h(f))}return r.promise.all(s)};return h(o,o,t,n).then((function(e){return new qe(o,i)}))},Be.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type&&(t=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type})),0<t.length&&(t=t[0].valueNode,t&&"string"===t.type))){t=Re(t);if(t=t&&T(t,".")&&this.contextService?this.contextService.resolveRelativePath(t,e):t)return t=He(t),this.getOrAddSchemaHandle(t).getResolvedSchema()}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var n=Object.create(null),r=[],i=function(t){try{return $e.a.parse(t).with({fragment:null,query:null}).toString()}catch(e){return t}}(e),o=0,a=this.filePatternAssociations;o<a.length;o++){var s=a[o];if(s.matchesPattern(i))for(var c=0,u=s.getURIs();c<u.length;c++){var h=u[c];n[h]||(r.push(h),n[h]=!0)}}return t=0<r.length?this.createCombinedSchema(e,r).getResolvedSchema():this.promise.resolve(void 0),this.cachedSchemaForResource={resource:e,resolvedSchema:t},t},Be.prototype.createCombinedSchema=function(e,t){return 1===t.length?this.getOrAddSchemaHandle(t[0]):(e="schemaservice://combinedSchema/"+encodeURIComponent(e),t={allOf:t.map((function(e){return{$ref:e}}))},this.addSchemaHandle(e,t))},Be.prototype.getMatchingSchemas=function(e,t,n){var r;return n?(r=n.id||"schemaservice://untitled/matchingSchemas/"+Ve++,this.resolveSchemaContent(new Ue(n),r,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))):this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))};var Ve=0;function He(e){try{return $e.a.parse(e).toString()}catch(t){return e}}function ze(e){try{var t=$e.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var Ke,Je=fe,Ge={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:Je("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:Je("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},Xe={id:Je("schema.json.id","A unique identifier for the schema."),$schema:Je("schema.json.$schema","The schema to verify this document against."),title:Je("schema.json.title","A descriptive title of the element."),description:Je("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:Je("schema.json.default","A default value. Used by suggestions."),multipleOf:Je("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:Je("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:Je("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:Je("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:Je("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:Je("schema.json.maxLength","The maximum length of a string."),minLength:Je("schema.json.minLength","The minimum length of a string."),pattern:Je("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:Je("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:Je("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:Je("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:Je("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:Je("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:Je("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:Je("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:Je("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:Je("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:Je("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:Je("schema.json.properties","A map of property names to schemas for each property."),patternProperties:Je("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:Je("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:Je("schema.json.enum","The set of literal values that are valid."),type:Je("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:Je("schema.json.format","Describes the format expected for the value."),allOf:Je("schema.json.allOf","An array of schemas, all of which must match."),anyOf:Je("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:Je("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:Je("schema.json.not","A schema which must not match."),$id:Je("schema.json.$id","A unique identifier for the schema."),$ref:Je("schema.json.$ref","Reference a definition hosted on any location."),$comment:Je("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:Je("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:Je("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:Je("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:Je("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:Je("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:Je("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:Je("schema.json.contentEncoding","Describes the content encoding of a string property."),if:Je("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:Je("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:Je("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(Ke in Ge.schemas){var Ze,Qe=Ge.schemas[Ke];for(Ze in Qe.properties){var Ye=Qe.properties[Ze],et=("boolean"==typeof Ye&&(Ye=Qe.properties[Ze]={}),Xe[Ze]);et&&(Ye.description=et)}}nt.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},nt.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},nt.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){n=n.map((function(e){return t="number"==typeof(e=e).code?String(e.code):e.code,{severity:function(e){switch(e){case y.Error:return i.MarkerSeverity.Error;case y.Warning:return i.MarkerSeverity.Warning;case y.Information:return i.MarkerSeverity.Info;case y.Hint:return i.MarkerSeverity.Hint;default:return i.MarkerSeverity.Info}}(e.severity),startLineNumber:e.range.start.line+1,startColumn:e.range.start.character+1,endLineNumber:e.range.end.line+1,endColumn:e.range.end.character+1,message:e.message,code:t,source:e.source};var t}));var r=i.editor.getModel(e);r&&r.getModeId()===t&&i.editor.setModelMarkers(r,t,n)}))})).then(void 0,(function(e){}))};var tt=nt;function nt(e,t,n){function r(e){var t,n=e.getModeId();n===a._languageId&&(a._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return a._doValidate(e.uri,n)}),500)})),a._doValidate(e.uri,n))}function o(e){i.editor.setModelMarkers(e,a._languageId,[]);e=e.uri.toString();var t=a._listener[e];t&&(t.dispose(),delete a._listener[e])}var a=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null),this._disposables.push(i.editor.onDidCreateModel(r)),this._disposables.push(i.editor.onWillDisposeModel((function(e){o(e),a._resetSchema(e.uri)}))),this._disposables.push(i.editor.onDidChangeModelLanguage((function(e){o(e.model),r(e.model),a._resetSchema(e.model.uri)}))),this._disposables.push(n.onDidChange((function(e){i.editor.getModels().forEach((function(e){e.getModeId()===a._languageId&&(o(e),r(e))}))}))),this._disposables.push({dispose:function(){for(var e in i.editor.getModels().forEach(o),a._listener)a._listener[e].dispose()}}),i.editor.getModels().forEach(r)}function rt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function it(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function ot(e){if(e)return new i.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function at(e){if(e)return{range:ot(e.range),text:e.newText}}Object.defineProperty(ct.prototype,"triggerCharacters",{get:function(){return[" ",":",'"']},enumerable:!1,configurable:!0}),ct.prototype.provideCompletionItems=function(e,t,n,r){var o=e.uri;return this._worker(o).then((function(e){return e.doComplete(o.toString(),rt(t))})).then((function(n){var r,o;if(n)return o=e.getWordUntilPosition(t),r=new i.Range(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn),o=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(n=e.command)&&"editor.action.triggerSuggest"===n.command?{id:n.command,title:n.title,arguments:n.arguments}:void 0,range:r,kind:function(e){var t=i.languages.CompletionItemKind;switch(e){case q.Text:return t.Text;case q.Method:return t.Method;case q.Function:return t.Function;case q.Constructor:return t.Constructor;case q.Field:return t.Field;case q.Variable:return t.Variable;case q.Class:return t.Class;case q.Interface:return t.Interface;case q.Module:return t.Module;case q.Property:return t.Property;case q.Unit:return t.Unit;case q.Value:return t.Value;case q.Enum:return t.Enum;case q.Keyword:return t.Keyword;case q.Snippet:return t.Snippet;case q.Color:return t.Color;case q.File:return t.File;case q.Reference:return t.Reference}return t.Property}(e.kind)};return e.textEdit&&(void 0!==(t=e.textEdit).insert&&void 0!==t.replace?n.range={insert:ot(e.textEdit.insert),replace:ot(e.textEdit.replace)}:n.range=ot(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(at)),e.insertTextFormat===W.Snippet&&(n.insertTextRules=i.languages.CompletionItemInsertTextRule.InsertAsSnippet),n})),{isIncomplete:n.isIncomplete,suggestions:o}}))};var st=ct;function ct(e){this._worker=e}function ut(e){var t;return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}ft.prototype.provideHover=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.doHover(r.toString(),rt(t))})).then((function(e){if(e)return{range:ot(e.range),contents:function(e){if(e)return Array.isArray(e)?e.map(ut):[ut(e)]}(e.contents)}}))};var ht=ft;function ft(e){this._worker=e}dt.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:function(e){var t=i.languages.SymbolKind;switch(e){case G.File:return t.Array;case G.Module:return t.Module;case G.Namespace:return t.Namespace;case G.Package:return t.Package;case G.Class:return t.Class;case G.Method:return t.Method;case G.Property:return t.Property;case G.Field:return t.Field;case G.Constructor:return t.Constructor;case G.Enum:return t.Enum;case G.Interface:return t.Interface;case G.Function:return t.Function;case G.Variable:return t.Variable;case G.Constant:return t.Constant;case G.String:return t.String;case G.Number:return t.Number;case G.Boolean:return t.Boolean;case G.Array:return t.Array}return t.Function}(e.kind),range:ot(e.location.range),selectionRange:ot(e.location.range),tags:[]}}))}))};var lt=dt;function dt(e){this._worker=e}function pt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}gt.prototype.provideDocumentFormattingEdits=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.format(r.toString(),null,pt(t)).then((function(e){if(e&&0!==e.length)return e.map(at)}))}))};var mt=gt;function gt(e){this._worker=e}yt.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,r){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),it(t),pt(n)).then((function(e){if(e&&0!==e.length)return e.map(at)}))}))};var vt=yt;function yt(e){this._worker=e}Ct.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:ot(e.range)}}))}))},Ct.prototype.provideColorPresentations=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getColorPresentations(r.toString(),t.color,it(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=at(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(at)),t}))}))};var bt=Ct;function Ct(e){this._worker=e}kt.prototype.provideFoldingRanges=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getFoldingRanges(r.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case g.Comment:return i.languages.FoldingRangeKind.Comment;case g.Imports:return i.languages.FoldingRangeKind.Imports;case g.Region:return i.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))};var wt=kt;function kt(e){this._worker=e}At.prototype.provideSelectionRanges=function(e,t,n){var r=e.uri;return this._worker(r).then((function(e){return e.getSelectionRanges(r.toString(),t.map(rt))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:ot(e.range)}),e=e.parent;return t}))}))};var _t=At;function At(e){this._worker=e}function xt(e){return{getInitialState:function(){return new Lt(null,null,!1,null)},tokenize:function(t,n,r,i){var o=e,a=t,s=n,c=r,u=(void 0===c&&(c=0),0),h=!1;switch(s.scanError){case 2:a='"'+a,u=1;break;case 1:a="/*"+a,u=2}for(var f=j(a),l=s.lastWasColon,d=s.parents,p={tokens:[],endState:s.clone()};;){var m=c+f.getPosition(),g="",v=f.scan();if(17===v)break;if(m===c+f.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+a.substr(f.getPosition(),3));switch(h&&(m-=u),h=0<u,v){case 1:d=Ft.push(d,0),g=St,l=!1;break;case 2:d=Ft.pop(d),g=St,l=!1;break;case 3:d=Ft.push(d,1),g=It,l=!1;break;case 4:d=Ft.pop(d),g=It,l=!1;break;case 6:g=jt,l=!0;break;case 5:g=Ot,l=!1;break;case 8:case 9:g=Et,l=!1;break;case 7:g=Pt,l=!1;break;case 10:var y=1===(d?d.type:0);g=l||y?Tt:$t,l=!1;break;case 11:g=Rt,l=!1}if(o)switch(v){case 12:g=Nt;break;case 13:g=Mt}p.endState=new Lt(s.getStateData(),f.getTokenError(),l,d),p.tokens.push({startIndex:m,scopes:g})}return p}}}var St="delimiter.bracket.json",It="delimiter.array.json",jt="delimiter.colon.json",Ot="delimiter.comma.json",Et="keyword.json",Pt="keyword.json",Tt="string.value.json",Rt="number.json",$t="string.key.json",Mt="comment.block.json",Nt="comment.line.json",Ft=(Dt.pop=function(e){return e?e.parent:null},Dt.push=function(e,t){return new Dt(e,t)},Dt.equals=function(e,t){if(e||t){if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}}return!0},Dt);function Dt(e,t){this.parent=e,this.type=t}Ut.prototype.clone=function(){return new Ut(this._state,this.scanError,this.lastWasColon,this.parents)},Ut.prototype.equals=function(e){return e===this||!!(e&&e instanceof Ut)&&this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&Ft.equals(this.parents,e.parents)},Ut.prototype.getStateData=function(){return this._state},Ut.prototype.setStateData=function(e){this._state=e};var Lt=Ut;function Ut(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}function qt(e){function t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.getLanguageServiceWorker.apply(a,e)}var n=[],r=[],a=new o(e);function s(){var n=e.languageId,o=e.modeConfiguration;Bt(r),o.documentFormattingEdits&&r.push(i.languages.registerDocumentFormattingEditProvider(n,new mt(t))),o.documentRangeFormattingEdits&&r.push(i.languages.registerDocumentRangeFormattingEditProvider(n,new vt(t))),o.completionItems&&r.push(i.languages.registerCompletionItemProvider(n,new st(t))),o.hovers&&r.push(i.languages.registerHoverProvider(n,new ht(t))),o.documentSymbols&&r.push(i.languages.registerDocumentSymbolProvider(n,new lt(t))),o.tokens&&r.push(i.languages.setTokensProvider(n,xt(!0))),o.colors&&r.push(i.languages.registerColorProvider(n,new bt(t))),o.foldingRanges&&r.push(i.languages.registerFoldingRangeProvider(n,new wt(t))),o.diagnostics&&r.push(new tt(n,t,e)),o.selectionRanges&&r.push(i.languages.registerSelectionRangeProvider(n,new _t(t)))}n.push(a),s(),n.push(i.languages.setLanguageConfiguration(e.languageId,Vt));var c=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==c&&(c=e.modeConfiguration,s())})),n.push(Wt(r)),Wt(n)}function Wt(e){return{dispose:function(){return Bt(e)}}}function Bt(e){for(;e.length;)e.pop().dispose()}var Vt={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},c623:function(e,t,n){"use strict";(function(e){var r,i;function o(e){var t;return(i[e]||(t=i[e]={exports:{}},r[e](t,t.exports,o),t)).exports}n.d(t,"a",(function(){return a})),r={470:t=>{function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o!==s-1&&1!==a)if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(2<r.length){var c=r.lastIndexOf("/");if(c!==r.length-1){i=-1===c?(r="",0):(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",o=s,a=i=0;continue}t&&(0<r.length?r+="/..":r="..",i=2)}else 0<r.length?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var i={resolve:function(){for(var t,i="",o=!1,a=arguments.length-1;-1<=a&&!o;a--){var s=0<=a?arguments[a]:t=void 0===t?e.cwd():t;n(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=r(i,!o),o?0<i.length?"/"+i:"/":0<i.length?i:"."},normalize:function(e){var t,i;return n(e),0===e.length?".":(t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1),0<(e=0!==(e=r(e,!t)).length||t?e:".").length&&i&&(e+="/"),t?"/"+e:e)},isAbsolute:function(e){return n(e),0<e.length&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];n(r),0<r.length&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var o=e.length,a=o-r,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var c=t.length-s,u=a<c?a:c,h=-1,f=0;f<=u;++f){if(f===u){if(u<c){if(47===t.charCodeAt(s+f))return t.slice(s+f+1);if(0===f)return t.slice(s+f)}else u<a&&(47===e.charCodeAt(r+f)?h=f:0===f&&(h=0));break}var l=e.charCodeAt(r+f);if(l!==t.charCodeAt(s+f))break;47===l&&(h=f)}var d="";for(f=r+h+1;f<=o;++f)f!==o&&47!==e.charCodeAt(f)||(0===d.length?d+="..":d+="/..");return 0<d.length?d+t.slice(s+h):(47===t.charCodeAt(s+=h)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(n(e),0===e.length)return".";for(var t=47===e.charCodeAt(0),r=-1,i=!0,o=e.length-1;1<=o;--o)if(47===e.charCodeAt(o)){if(!i){r=o;break}}else i=!1;return-1===r?t?"/":".":t&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');n(e);var r=0,i=-1,o=!0;if(void 0!==t&&0<t.length&&t.length<=e.length){if(t.length===e.length&&t===e)return"";for(var a=t.length-1,s=-1,c=e.length-1;0<=c;--c){var u=e.charCodeAt(c);if(47===u){if(!o){r=c+1;break}}else-1===s&&(o=!1,s=c+1),0<=a&&(u===t.charCodeAt(a)?-1==--a&&(i=c):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(c=e.length-1;0<=c;--c)if(47===e.charCodeAt(c)){if(!o){r=c+1;break}}else-1===i&&(o=!1,i=c+1);return-1===i?"":e.slice(r,i)},extname:function(e){n(e);for(var t=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;0<=s;--s){var c=e.charCodeAt(s);if(47!==c)-1===i&&(o=!1,i=s+1),46===c?-1===t?t=s:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){r=s+1;break}}return-1===t||-1===i||0===a||1===a&&t===i-1&&t===r+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n;var t,n},parse:function(e){n(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){for(var r,i=47===e.charCodeAt(0),o=i?(t.root="/",1):0,a=-1,s=0,c=-1,u=!0,h=e.length-1,f=0;o<=h;--h)if(47!==(r=e.charCodeAt(h)))-1===c&&(u=!1,c=h+1),46===r?-1===a?a=h:1!==f&&(f=1):-1!==a&&(f=-1);else if(!u){s=h+1;break}-1===a||-1===c||0===f||1===f&&a===c-1&&a===s+1?-1!==c&&(t.base=t.name=0===s&&i?e.slice(1,c):e.slice(s,c)):(0===s&&i?(t.name=e.slice(1,a),t.base=e.slice(1,c)):(t.name=e.slice(s,a),t.base=e.slice(s,c)),t.ext=e.slice(a,c)),0<s?t.dir=e.slice(0,s-1):i&&(t.dir="/")}return t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i},447:(t,n,r)=>{var i;r.r(n),r.d(n,{URI:()=>d,Utils:()=>I}),"object"==typeof e?i="win32"===e.platform:"object"==typeof navigator&&(i=0<=navigator.userAgent.indexOf("Windows")),o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};var o,a,s,c=/^\w[\w\d+.-]*$/,u=/^\//,h=/^\/\//,f="/",l=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=(b.isUri=function(e){return e instanceof b||!!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(b.prototype,"fsPath",{get:function(){return k(this,!1)},enumerable:!1,configurable:!0}),b.prototype.with=function(e){var t,n,r,i;return e&&(t=e.scheme,n=e.authority,r=e.path,i=e.query,e=e.fragment,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===e?e=this.fragment:null===e&&(e=""),t!==this.scheme||n!==this.authority||r!==this.path||i!==this.query||e!==this.fragment)?new m(t,n,r,i,e):this},b.parse=function(e,t){return void 0===t&&(t=!1),e=l.exec(e),e?new m(e[2]||"",x(e[4]||""),x(e[5]||""),x(e[7]||""),x(e[9]||""),t):new m("","","","","")},b.file=function(e){var t,n="";return(e=i?e.replace(/\\/g,f):e)[0]===f&&e[1]===f&&(e=-1===(t=e.indexOf(f,2))?(n=e.substring(2),f):(n=e.substring(2,t),e.substring(t)||f)),new m("file",n,e,"","")},b.from=function(e){return new m(e.scheme,e.authority,e.path,e.query,e.fragment)},b.prototype.toString=function(e){return _(this,e=void 0!==e&&e)},b.prototype.toJSON=function(){return this},b.revive=function(e){var t;return e&&(e instanceof b?e:((t=new m(e))._formatted=e.external,t._fsPath=e._sep===p?e.fsPath:null,t))},b),p=i?1:void 0,m=(o(s=v,n=a=d),s.prototype=null===n?Object.create(n):(y.prototype=n.prototype,new y),Object.defineProperty(v.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=k(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),v.prototype.toString=function(e){return(e=void 0!==e&&e)?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},v.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=p),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},v),g=((n={})[58]="%3A",n[47]="%2F",n[63]="%3F",n[35]="%23",n[91]="%5B",n[93]="%5D",n[64]="%40",n[33]="%21",n[36]="%24",n[38]="%26",n[39]="%27",n[40]="%28",n[41]="%29",n[42]="%2A",n[43]="%2B",n[44]="%2C",n[59]="%3B",n[61]="%3D",n[32]="%20",n);function v(){var e=null!==a&&a.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}function y(){this.constructor=s}function b(e,t,n,r,i,o){if(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||"";else{if(this.scheme=e||o?e:"file",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,n||""),this.query=r||"",this.fragment=i||"",e=this,t=o,!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&&!c.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!u.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(h.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 C(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);97<=o&&o<=122||65<=o&&o<=90||48<=o&&o<=57||45===o||46===o||95===o||126===o||t&&47===o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i))):(void 0===n&&(n=e.substr(0,i)),void 0!==(o=g[o])?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i))}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function w(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=g[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function k(e,t){return t=e.authority&&1<e.path.length&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(65<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=90||97<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i?t.replace(/\//g,"\\"):t}function _(e,t){var n,r,i=t?w:C,o="",a=e.scheme,s=e.authority,c=e.path,u=e.query;e=e.fragment;return a&&(o=o+a+":"),!s&&"file"!==a||(o=o+f+f),s&&(-1!==(a=s.indexOf("@"))&&(n=s.substr(0,a),s=s.substr(a+1),-1===(a=n.indexOf(":"))?o+=i(n,!1):o=(o=o+i(n.substr(0,a),!1)+":")+i(n.substr(a+1),!1),o+="@"),-1===(a=(s=s.toLowerCase()).indexOf(":"))?o+=i(s,!1):o=(o+=i(s.substr(0,a),!1))+s.substr(a)),c&&(3<=c.length&&47===c.charCodeAt(0)&&58===c.charCodeAt(2)?65<=(r=c.charCodeAt(1))&&r<=90&&(c="/"+String.fromCharCode(r+32)+":"+c.substr(3)):2<=c.length&&58===c.charCodeAt(1)&&65<=(r=c.charCodeAt(0))&&r<=90&&(c=String.fromCharCode(r+32)+":"+c.substr(2)),o+=i(c,!0)),u&&(o=(o+="?")+i(u,!1)),e?(o+="#")+(t?e:C(e,!1)):o}var A=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(e){return e.match(A)?e.replace(A,(function t(n){try{return decodeURIComponent(n)}catch(e){return 3<n.length?n.substr(0,3)+t(n.substr(3)):n}})):e}function S(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}n=r(470);var I,j=n.posix||n;(r=I=I||{}).joinPath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.with({path:j.join.apply(j,S([e.path],t))})},r.resolvePath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e.path||"/";return e.with({path:j.resolve.apply(j,S([r],t))})},r.dirname=function(e){var t=j.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)?e:e.with({path:t})},r.basename=function(e){return j.basename(e.path)},r.extname=function(e){return j.extname(e.path)}}},i={},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const a=o(447)["URI"]}).call(this,n("f28c"))}}]); |