text: !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,{configurable:!1,enumerable:!0,get: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="",n(n.s=744)}({0:function(e,t,n){"use strict";function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Array.isArray(e)?(e.forEach(function(e){return e&&e.dispose()}),[]):0===t.length?e?(e.dispose(),e):void 0:(r(e),r(t),[])}t.e=function(e){return"function"==typeof e.dispose&&0===e.dispose.length},t.d=r,t.c=function(e){return{dispose:function(){return r(e)}}},t.f=function(e){return{dispose:function(){e()}}},n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var i=function(){function e(){this._toDispose=[]}return Object.defineProperty(e.prototype,"toDispose",{get:function(){return this._toDispose},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._toDispose=r(this._toDispose)},e.prototype._register=function(e){return this._toDispose.push(e),e},e.None=Object.freeze({dispose:function(){}}),e}(),o=function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}()},1:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(4),i=function(){function e(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var r,i,o,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new e(r,i,o,a)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,a=t.endColumn,s=n.startLineNumber,u=n.startColumn,c=n.endLineNumber,l=n.endColumn;return r<s?(r=s,i=u):r===s&&(i=Math.max(i,u)),o>c?(o=c,a=l):o===c&&(a=Math.min(a,l)),r>o?null:r===o&&i>a?null:new e(r,i,o,a)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new r.a(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new r.a(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){var n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){var i=0|e.startColumn,o=0|t.startColumn;if(i===o){var a=0|e.endLineNumber,s=0|t.endLineNumber;return a===s?(0|e.endColumn)-(0|t.endColumn):a-s}return i-o}return n-r},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}()},10:function(e,t,n){"use strict";(function(e,r){n.d(t,"g",function(){return p}),n.d(t,"d",function(){return m}),n.d(t,"c",function(){return g}),n.d(t,"e",function(){return v}),n.d(t,"f",function(){return y}),n.d(t,"b",function(){return b}),t.h=function(t){null===_&&(_=b.setImmediate?b.setImmediate.bind(b):void 0!==e&&"function"==typeof e.nextTick?e.nextTick.bind(e):b.setTimeout.bind(b));return _(t)},n.d(t,"a",function(){return C});var i,o=!1,a=!1,s=!1,u=!1,c=!1;if("object"==typeof e&&"function"==typeof e.nextTick&&"string"==typeof e.platform){o="win32"===e.platform,a="darwin"===e.platform,s="linux"===e.platform,"en","en";var l=e.env.VSCODE_NLS_CONFIG;if(l)try{var f=JSON.parse(l),h=f.availableLanguages["*"];f.locale,h||"en",f._translationsConfigFile}catch(e){}u=!0}else if("object"==typeof navigator){var d=navigator.userAgent;o=d.indexOf("Windows")>=0,a=d.indexOf("Macintosh")>=0,s=d.indexOf("Linux")>=0,c=!0,navigator.language}!function(e){e[e.Web=0]="Web",e[e.Mac=1]="Mac",e[e.Linux=2]="Linux",e[e.Windows=3]="Windows"}(i||(i={}));i.Web;u&&(a?i.Mac:o?i.Windows:s&&i.Linux);var p=o,m=a,g=s,v=u,y=c,b="object"==typeof self?self:"object"==typeof r?r:{},_=null;var C=a?2:o?1:3}).call(t,n(38),n(21))},11:function(e,t,n){"use strict";t.n=function(e){return c(e)?e:o.b.as(e)},t.i=l,t.h=function(e){var t=new a.b;return new o.b(function(n,r,i){var a=e(t.token);a instanceof o.b?a.then(function(e){t.dispose(),n(e)},function(e){t.dispose(),r(e)},i):c(a)?a.then(function(e){t.dispose(),n(e)},function(e){t.dispose(),r(e)}):(t.dispose(),n(a))},function(){t.cancel()})},t.o=function(e,t,n){var r=e.onCancellationRequested(function(){return t.cancel()});n&&(t=t.then(void 0,function(e){if(!i.d(e))return o.b.wrapError(e)}));return p(t,function(){return r.dispose()})},n.d(t,"e",function(){return f}),n.d(t,"a",function(){return h}),n.d(t,"d",function(){return d}),t.m=function(e){return l(function(t){return new Promise(function(n,r){var o=setTimeout(n,e);t.onCancellationRequested(function(e){clearTimeout(o),r(i.a())})})})},t.g=p,t.k=function(e,t,n){void 0===t&&(t=function(e){return!!e});void 0===n&&(n=null);var r=0,i=e.length,o=function(){if(r>=i)return Promise.resolve(n);var a=e[r++],s=a();return s.then(function(e){return t(e)?Promise.resolve(e):o()})};return o()},t.j=function(e,t,n){void 0===t&&(t=function(e){return!!e});void 0===n&&(n=null);var r=0,i=e.length,a=function(){if(r>=i)return o.b.as(n);var s=e[r++],u=s();return u.then(function(e){return t(e)?o.b.as(e):a()})};return a()},t.l=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=setTimeout.apply(void 0,[e,t].concat(n));return{dispose:function(){clearTimeout(i)}}},n.d(t,"f",function(){return m}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return v});var r,i=n(6),o=n(3),a=n(25),s=n(0),u=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function c(e){return e&&"function"==typeof e.then}function l(e){var t=new a.b,n=e(t.token),r=new Promise(function(e,r){t.token.onCancellationRequested(function(){r(i.a())}),Promise.resolve(n).then(function(n){t.dispose(),e(n)},function(e){t.dispose(),r(e)})});return new(function(){function e(){}return e.prototype.cancel=function(){t.cancel()},e.prototype.then=function(e,t){return r.then(e,t)},e.prototype.catch=function(e){return this.then(void 0,e)},e}())}var f=function(){function e(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}return e.prototype.queue=function(e){var t=this;if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){var n=function(){t.queuedPromise=null;var e=t.queue(t.queuedPromiseFactory);return t.queuedPromiseFactory=null,e};this.queuedPromise=new o.b(function(e,r,i){t.activePromise.then(n,n,i).done(e)},function(){t.activePromise.cancel()})}return new o.b(function(e,n,r){t.queuedPromise.then(e,n,r)},function(){})}return this.activePromise=e(),new o.b(function(e,n,r){t.activePromise.done(function(n){t.activePromise=null,e(n)},function(e){t.activePromise=null,n(e)},r)},function(){t.activePromise.cancel()})},e}(),h=function(){function e(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.onSuccess=null,this.task=null}return e.prototype.trigger=function(e,t){var n=this;return void 0===t&&(t=this.defaultDelay),this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new o.b(function(e){n.onSuccess=e},function(){}).then(function(){n.completionPromise=null,n.onSuccess=null;var e=n.task;return n.task=null,e()})),this.timeout=setTimeout(function(){n.timeout=null,n.onSuccess(null)},t),this.completionPromise},e.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.completionPromise.cancel(),this.completionPromise=null)},e.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},e}(),d=function(e){function t(t){var n,r,o,a;return n=e.call(this,function(e,t,n){r=e,o=t,a=n},function(){o(i.a())})||this,t.then(r,o,a),n}return u(t,e),t}(o.b);function p(e,t){return n=e,o.b.is(n)&&"function"==typeof n.done?new o.b(function(n,r,o){e.done(function(e){try{t(e)}catch(e){i.e(e)}n(e)},function(e){try{t(e)}catch(e){i.e(e)}r(e)},function(e){o(e)})},function(){e.cancel()}):(e.then(function(e){return t()},function(e){return t()}),e);var n}var m=function(e){function t(){var t=e.call(this)||this;return t._token=-1,t}return u(t,e),t.prototype.dispose=function(){this.cancel(),e.prototype.dispose.call(this)},t.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},t.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout(function(){n._token=-1,e()},t)},t.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout(function(){n._token=-1,e()},t))},t}(s.a),g=function(e){function t(){var t=e.call(this)||this;return t._token=-1,t}return u(t,e),t.prototype.dispose=function(){this.cancel(),e.prototype.dispose.call(this)},t.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},t.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval(function(){e()},t)},t}(s.a),v=function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}return e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner()},e}()},137:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return l}),t.c=function(e,t,n){return r.a(e,t,n)};var r=n(242),i=(n(303),n(167)),o=n(243),a=i.a,s=(o.c,o.f),u=(o.g,o.a,o.b),c=o.d,l=o.e;o.i,o.h},147:function(e,t,n){"use strict";t.a=E,t.e=function(e,t){void 0===t&&(t=[]);return new O(e,t,[])},t.d=N,t.c=function(e){return o.d(e)},t.b=k,t.f=function(e,t){var n=[],r=-1,i=e.getText(),a=o.a(i,!1),u=t&&t.collectComments?[]:void 0;function c(){for(;;){var t=a.scan();switch(p(),t){case 12:case 13:Array.isArray(u)&&u.push(l.j.create(e.positionAt(a.getTokenOffset()),e.positionAt(a.getTokenOffset()+a.getTokenLength())));break;case 15:case 14:break;default:return t}}}function f(t,i,o,a,s){if(void 0===s&&(s=l.d.Error),0===n.length||o!==r){var u=l.j.create(e.positionAt(o),e.positionAt(a));n.push(l.c.create(u,t,s,i,e.languageId)),r=o}}function d(e,t,n,r,o){void 0===n&&(n=null),void 0===r&&(r=[]),void 0===o&&(o=[]);var s=a.getTokenOffset(),u=a.getTokenOffset()+a.getTokenLength();if(s===u&&s>0){for(s--;s>0&&/\s/.test(i.charAt(s));)s--;u=s+1}if(f(e,t,s,u),n&&m(n,!1),r.length+o.length>0)for(var l=a.getToken();17!==l;){if(-1!==r.indexOf(l)){c();break}if(-1!==o.indexOf(l))break;l=c()}return n}function p(){switch(a.getTokenError()){case 4:return d(h("InvalidUnicode","Invalid unicode sequence in string."),s.a.InvalidUnicode),!0;case 5:return d(h("InvalidEscapeCharacter","Invalid escape character in string."),s.a.InvalidEscapeCharacter),!0;case 3:return d(h("UnexpectedEndOfNumber","Unexpected end of number."),s.a.UnexpectedEndOfNumber),!0;case 1:return d(h("UnexpectedEndOfComment","Unexpected end of comment."),s.a.UnexpectedEndOfComment),!0;case 2:return d(h("UnexpectedEndOfString","Unexpected end of string."),s.a.UnexpectedEndOfString),!0;case 6:return d(h("InvalidCharacter","Invalid characters in string. Control characters must be escaped."),s.a.InvalidCharacter),!0}return!1}function m(e,t){return e.length=a.getTokenOffset()+a.getTokenLength()-e.offset,t&&c(),e}function E(t,n){var r=new C(t,a.getTokenOffset()),i=A(r);if(!i){if(16!==a.getToken())return null;d(h("DoubleQuotesExpected","Property keys must be doublequoted"),s.a.Undefined);var o=new _(r,a.getTokenOffset(),a.getTokenLength());o.value=a.getTokenValue(),i=o,c()}r.keyNode=i;var u=n[i.value];if(u?(f(h("DuplicateKeyWarning","Duplicate object key"),s.a.DuplicateKey,r.keyNode.offset,r.keyNode.offset+r.keyNode.length,l.d.Warning),"object"==typeof u&&f(h("DuplicateKeyWarning","Duplicate object key"),s.a.DuplicateKey,u.keyNode.offset,u.keyNode.offset+u.keyNode.length,l.d.Warning),n[i.value]=!0):n[i.value]=r,6===a.getToken())r.colonOffset=a.getTokenOffset(),c();else if(d(h("ColonExpected","Colon expected"),s.a.ColonExpected),10===a.getToken()&&e.positionAt(i.offset+i.length).line<e.positionAt(a.getTokenOffset()).line)return r.length=i.length,r;var p=x(r,i.value);return p?(r.valueNode=p,r.length=p.offset+p.length-r.offset,r):d(h("ValueExpected","Value expected"),s.a.ValueExpected,r,[],[2,5])}function A(e){if(10!==a.getToken())return null;var t=new _(e,a.getTokenOffset());return t.value=a.getTokenValue(),m(t,!0)}function x(e,t){return function(e){if(3!==a.getToken())return null;var t=new y(e,a.getTokenOffset());c();var n=0,r=!1;for(;4!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){r||d(h("ValueExpected","Value expected"),s.a.ValueExpected);var i=a.getTokenOffset();if(c(),4===a.getToken()){r&&f(h("TrailingComma","Trailing comma"),s.a.TrailingComma,i,i+1);continue}}else r&&d(h("ExpectedComma","Expected comma"),s.a.CommaExpected);var o=x(t,n++);o?t.items.push(o):d(h("PropertyExpected","Value expected"),s.a.ValueExpected,null,[],[4,5]),r=!0}if(4!==a.getToken())return d(h("ExpectedCloseBracket","Expected comma or closing bracket"),s.a.CommaOrCloseBacketExpected,t);return m(t,!0)}(e)||function(e){if(1!==a.getToken())return null;var t=new S(e,a.getTokenOffset()),n=Object.create(null);c();var r=!1;for(;2!==a.getToken()&&17!==a.getToken();){if(5===a.getToken()){r||d(h("PropertyExpected","Property expected"),s.a.PropertyExpected);var i=a.getTokenOffset();if(c(),2===a.getToken()){r&&f(h("TrailingComma","Trailing comma"),s.a.TrailingComma,i,i+1);continue}}else r&&d(h("ExpectedComma","Expected comma"),s.a.CommaExpected);var o=E(t,n);o?t.properties.push(o):d(h("PropertyExpected","Property expected"),s.a.PropertyExpected,null,[],[2,5]),r=!0}if(2!==a.getToken())return d(h("ExpectedCloseBrace","Expected comma or closing brace"),s.a.CommaOrCloseBraceExpected,t);return m(t,!0)}(e)||A(e)||function(e){if(11!==a.getToken())return null;var t=new b(e,a.getTokenOffset());if(0===a.getTokenError()){var n=a.getTokenValue();try{var r=JSON.parse(n);if("number"!=typeof r)return d(h("InvalidNumberFormat","Invalid number format."),s.a.Undefined,t);t.value=r}catch(e){return d(h("InvalidNumberFormat","Invalid number format."),s.a.Undefined,t)}t.isInteger=-1===n.indexOf(".")}return m(t,!0)}(e)||function(e){switch(a.getToken()){case 7:return m(new g(e,a.getTokenOffset()),!0);case 8:return m(new v(e,!0,a.getTokenOffset()),!0);case 9:return m(new v(e,!1,a.getTokenOffset()),!0);default:return null}}(e)}var w=null;17!==c()&&((w=x(null,null))?17!==a.getToken()&&d(h("End of file expected","End of file expected."),s.a.Undefined):d(h("Invalid symbol","Expected a JSON object, array or literal."),s.a.Undefined));return new O(w,n,u)};var r,i,o=n(137),a=n(748),s=n(164),u=n(148),c=n(296),l=n(91),f=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=u.a(),d=/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/,p=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,m=function(){function e(e,t,n){this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}(),g=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="null",r.value=null,r}return f(t,e),t}(m),v=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.type="boolean",i.value=n,i}return f(t,e),t}(m),y=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="array",r.items=[],r}return f(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!0,configurable:!0}),t}(m),b=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="number",r.isInteger=!0,r.value=Number.NaN,r}return f(t,e),t}(m),_=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="string",i.value="",i}return f(t,e),t}(m),C=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="property",r.colonOffset=-1,r}return f(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!0,configurable:!0}),t}(m),S=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.type="object",r.properties=[],r}return f(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!0,configurable:!0}),t}(m);function E(e){return"boolean"==typeof e?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(i||(i={}));var A=function(){function e(e,t){void 0===e&&(e=-1),void 0===t&&(t=null),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){var t;(t=this.schemas).push.apply(t,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||k(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),x=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),w=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=null}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){var t=this;e.forEach(function(e){t.merge(e)})},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var r=n[t];r.code===s.a.EnumValueMismatch&&(r.message=h("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map(function(e){return JSON.stringify(e)}).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function N(e){return o.e(e)}function k(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}var O=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}return e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return o.b(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var r=e(n),i=n.children;if(Array.isArray(i))for(var o=0;o<i.length&&r;o++)r=t(i[o]);return r};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var n=new w;return L(this.root,t,n,x.instance),n.problems.map(function(t){var n=l.j.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return l.c.create(n,t.message,t.severity,t.code)})}return null},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1),void 0===n&&(n=null);var r=new A(t,n);return this.root&&e&&L(this.root,e,new w,r),r.schemas},e}();function L(e,t,n,r){if(e&&r.include(e)){switch(e.type){case"object":!function(e,t,n,r){var i=Object.create(null),o=[];e.properties.forEach(function(e){var t=e.keyNode.value;i[t]=e.valueNode,o.push(t)}),Array.isArray(t.required)&&t.required.forEach(function(t){if(!i[t]){var r=e.parent&&"property"===e.parent.type&&e.parent.keyNode,o=r?{offset:r.offset,length:r.length}:{offset:e.offset,length:1};n.problems.push({location:o,severity:l.d.Warning,message:h("MissingRequiredPropWarning",'Missing property "{0}".',t)})}});var a=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};t.properties&&Object.keys(t.properties).forEach(function(e){a(e);var o=t.properties[e],s=i[e];if(s)if("boolean"==typeof o)if(o)n.propertiesMatches++,n.propertiesValueMatches++;else{var u=s.parent;n.problems.push({location:{offset:u.keyNode.offset,length:u.keyNode.length},severity:l.d.Warning,message:t.errorMessage||h("DisallowedExtraPropWarning","Property {0} is not allowed.",e)})}else{var c=new w;L(s,o,c,r),n.mergePropertyMatch(c)}});t.patternProperties&&Object.keys(t.patternProperties).forEach(function(e){var s=new RegExp(e);o.slice(0).forEach(function(o){if(s.test(o)){a(o);var u=i[o];if(u){var c=t.patternProperties[e];if("boolean"==typeof c)if(c)n.propertiesMatches++,n.propertiesValueMatches++;else{var f=u.parent;n.problems.push({location:{offset:f.keyNode.offset,length:f.keyNode.length},severity:l.d.Warning,message:t.errorMessage||h("DisallowedExtraPropWarning","Property {0} is not allowed.",o)})}else{var d=new w;L(u,c,d,r),n.mergePropertyMatch(d)}}}})});"object"==typeof t.additionalProperties?o.forEach(function(e){var o=i[e];if(o){var a=new w;L(o,t.additionalProperties,a,r),n.mergePropertyMatch(a)}}):!1===t.additionalProperties&&o.length>0&&o.forEach(function(e){var r=i[e];if(r){var o=r.parent;n.problems.push({location:{offset:o.keyNode.offset,length:o.keyNode.length},severity:l.d.Warning,message:t.errorMessage||h("DisallowedExtraPropWarning","Property {0} is not allowed.",e)})}});t.maxProperties&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});t.minProperties&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});t.dependencies&&Object.keys(t.dependencies).forEach(function(o){var a=i[o];if(a){var s=t.dependencies[o];if(Array.isArray(s))s.forEach(function(t){i[t]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",t,o)})});else{var u=E(s);if(u){var c=new w;L(e,u,c,r),n.mergePropertyMatch(c)}}}});var s=E(t.propertyNames);s&&e.properties.forEach(function(e){var t=e.keyNode;t&&L(t,s,n,x.instance)})}(e,t,n,r);break;case"array":!function(e,t,n,r){if(Array.isArray(t.items)){var i=t.items;if(i.forEach(function(t,o){var a=E(t),s=new w,u=e.items[o];u?(L(u,a,s,r),n.mergePropertyMatch(s)):e.items.length>=i.length&&n.propertiesValueMatches++}),e.items.length>i.length)if("object"==typeof t.additionalItems)for(var o=i.length;o<e.items.length;o++){var a=new w;L(e.items[o],t.additionalItems,a,r),n.mergePropertyMatch(a)}else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var s=E(t.items);s&&e.items.forEach(function(e){var t=new w;L(e,s,t,r),n.mergePropertyMatch(t)})}var u=E(t.contains);if(u){var c=e.items.some(function(e){var t=new w;return L(e,u,t,x.instance),!t.hasProblems()});c||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.errorMessage||h("requiredItemMissingWarning","Array does not contain required item.")})}t.minItems&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});t.maxItems&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var f=N(e),d=f.some(function(e,t){return t!==f.lastIndexOf(e)});d&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("uniqueItemsWarning","Array has duplicate items.")})}}(e,t,n,r);break;case"string":!function(e,t,n,r){t.minLength&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});t.maxLength&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(t.pattern){var i=new RegExp(t.pattern);i.test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.patternErrorMessage||t.errorMessage||h("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value)try{var a=c.a.parse(e.value);a.scheme||"uri"!==t.format||(o=h("uriSchemeMissing","URI with a scheme is expected."))}catch(e){o=e.message}else o=h("uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.patternErrorMessage||t.errorMessage||h("uriFormatWarning","String is not a URI: {0}",o)});break;case"email":e.value.match(p)||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.patternErrorMessage||t.errorMessage||h("emailFormatWarning","String is not an e-mail address.")});break;case"color-hex":e.value.match(d)||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.patternErrorMessage||t.errorMessage||h("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.")})}}(e,t,n);break;case"number":!function(e,t,n,r){var i=e.value;"number"==typeof t.multipleOf&&i%t.multipleOf!=0&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)});function o(e,t){return"number"==typeof t?t:"boolean"==typeof t&&t?e:void 0}function a(e,t){if("boolean"!=typeof t||!t)return e}var s=o(t.minimum,t.exclusiveMinimum);"number"==typeof s&&i<=s&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",s)});var u=o(t.maximum,t.exclusiveMaximum);"number"==typeof u&&i>=u&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",u)});var c=a(t.minimum,t.exclusiveMinimum);"number"==typeof c&&i<c&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("minimumWarning","Value is below the minimum of {0}.",c)});var f=a(t.maximum,t.exclusiveMaximum);"number"==typeof f&&i>f&&n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("maximumWarning","Value is above the maximum of {0}.",f)})}(e,t,n);break;case"property":return L(e.valueNode,t,n,r)}!function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}Array.isArray(t.type)?t.type.some(i)||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.errorMessage||h("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(i(t.type)||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:t.errorMessage||h("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));Array.isArray(t.allOf)&&t.allOf.forEach(function(t){L(e,E(t),n,r)});var o=E(t.not);if(o){var u=new w,c=r.newSub();L(e,o,u,c),u.hasProblems()||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,message:h("notSchemaWarning","Matches a schema that is not allowed.")}),c.schemas.forEach(function(e){e.inverted=!e.inverted,r.add(e)})}var f=function(t,i){var o=[],a=null;return t.forEach(function(t){var n=E(t),s=new w,u=r.newSub();if(L(e,n,s,u),s.hasProblems()||o.push(n),a)if(i||s.hasProblems()||a.validationResult.hasProblems()){var c=s.compare(a.validationResult);c>0?a={schema:n,validationResult:s,matchingSchemas:u}:0===c&&(a.matchingSchemas.merge(u),a.validationResult.mergeEnumValues(s))}else a.matchingSchemas.merge(u),a.validationResult.propertiesMatches+=s.propertiesMatches,a.validationResult.propertiesValueMatches+=s.propertiesValueMatches;else a={schema:n,validationResult:s,matchingSchemas:u}}),o.length>1&&i&&n.problems.push({location:{offset:e.offset,length:1},severity:l.d.Warning,message:h("oneOfWarning","Matches multiple schemas when only one must validate.")}),null!==a&&(n.merge(a.validationResult),n.propertiesMatches+=a.validationResult.propertiesMatches,n.propertiesValueMatches+=a.validationResult.propertiesValueMatches,r.merge(a.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&f(t.anyOf,!1);Array.isArray(t.oneOf)&&f(t.oneOf,!0);if(Array.isArray(t.enum)){for(var d=N(e),p=!1,m=0,g=t.enum;m<g.length;m++){var v=g[m];if(a.a(d,v)){p=!0;break}}n.enumValues=t.enum,n.enumValueMatch=p,p||n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,code:s.a.EnumValueMismatch,message:t.errorMessage||h("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map(function(e){return JSON.stringify(e)}).join(", "))})}if(t.const){var d=N(e);a.a(d,t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:e.offset,length:e.length},severity:l.d.Warning,code:s.a.EnumValueMismatch,message:t.errorMessage||h("constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]}t.deprecationMessage&&e.parent&&n.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:l.d.Warning,message:t.deprecationMessage})}(),r.add({node:e,schema:t})}}},148:function(e,t,n){"use strict";function r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,function(e,n){var r=n[0];return void 0!==t[r]?t[r]:e})}(t,n)}function i(e){return r}t.a=i},164:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r,i=n(91);n.d(t,"b",function(){return i.e}),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(r||(r={}))},167:function(e,t,n){"use strict";function r(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 o(e){return e>=48&&e<=57}t.a=function(e,t){void 0===t&&(t=!1);var n=0,a=e.length,s="",u=0,c=16,l=0;function f(t,r){for(var i=0,o=0;i<t||!r;){var a=e.charCodeAt(n);if(a>=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else{if(!(a>=97&&a<=102))break;o=16*o+a-97+10}n++,i++}return i<t&&(o=-1),o}function h(){if(s="",l=0,u=n,n>=a)return u=a,c=17;var t=e.charCodeAt(n);if(r(t)){do{n++,s+=String.fromCharCode(t),t=e.charCodeAt(n)}while(r(t));return c=15}if(i(t))return n++,s+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,s+="\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++,s=function(){var t="",r=n;for(;;){if(n>=a){t+=e.substring(r,n),l=2;break}var o=e.charCodeAt(n);if(34===o){t+=e.substring(r,n),n++;break}if(92!==o){if(o>=0&&o<=31){if(i(o)){t+=e.substring(r,n),l=2;break}l=6}n++}else{if(t+=e.substring(r,n),++n>=a){l=2;break}switch(o=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 s=f(4,!0);s>=0?t+=String.fromCharCode(s):l=4;break;default:l=5}r=n}}return t}(),c=10;case 47:var h=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n<a&&!i(e.charCodeAt(n));)n++;return s=e.substring(h,n),c=12}if(42===e.charCodeAt(n+1)){n+=2;for(var p=!1;n<a;){var m=e.charCodeAt(n);if(42===m&&n+1<a&&47===e.charCodeAt(n+1)){n+=2,p=!0;break}n++}return p||(n++,l=1),s=e.substring(h,n),c=13}return s+=String.fromCharCode(t),n++,c=16;case 45:if(s+=String.fromCharCode(t),++n===a||!o(e.charCodeAt(n)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=function(){var t=n;if(48===e.charCodeAt(n))n++;else for(n++;n<e.length&&o(e.charCodeAt(n));)n++;if(n<e.length&&46===e.charCodeAt(n)){if(!(++n<e.length&&o(e.charCodeAt(n))))return l=3,e.substring(t,n);for(n++;n<e.length&&o(e.charCodeAt(n));)n++}var r=n;if(n<e.length&&(69===e.charCodeAt(n)||101===e.charCodeAt(n)))if((++n<e.length&&43===e.charCodeAt(n)||45===e.charCodeAt(n))&&n++,n<e.length&&o(e.charCodeAt(n))){for(n++;n<e.length&&o(e.charCodeAt(n));)n++;r=n}else l=3;return e.substring(t,r)}(),c=11;default:for(;n<a&&d(t);)n++,t=e.charCodeAt(n);if(u!==n){switch(s=e.substring(u,n)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return s+=String.fromCharCode(t),n++,c=16}}function d(e){if(r(e)||i(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){n=e,s="",u=0,c=16,l=0},getPosition:function(){return n},scan:t?function(){var e;do{e=h()}while(e>=12&&e<=15);return e}:h,getToken:function(){return c},getTokenValue:function(){return s},getTokenOffset:function(){return u},getTokenLength:function(){return n-u},getTokenError:function(){return l}}}},18:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return u});var r,i,o=n(1),a=n(4),s=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(i||(i={}));var u=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.selectionStartLineNumber=t,o.selectionStartColumn=n,o.positionLineNumber=r,o.positionColumn=i,o}return s(t,e),t.prototype.clone=function(){return new t(this.selectionStartLineNumber,this.selectionStartColumn,this.positionLineNumber,this.positionColumn)},t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?i.LTR:i.RTL},t.prototype.setEndPosition=function(e,n){return this.getDirection()===i.LTR?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new a.a(this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return this.getDirection()===i.LTR?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.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<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},t.isISelection=function(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn},t.createWithDirection=function(e,n,r,o,a){return a===i.LTR?new t(e,n,r,o):new t(r,o,e,n)},t}(o.a)},20:function(e,t,n){"use strict";var r,i,o=n(10),a=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=/^\w[\w\d+.-]*$/,u=/^\//,c=/^\/\//;var l="",f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,n,r,i){"object"==typeof e?(this.scheme=e.scheme||l,this.authority=e.authority||l,this.path=e.path||l,this.query=e.query||l,this.fragment=e.fragment||l):(this.scheme=e||l,this.authority=t||l,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||l),this.query=r||l,this.fragment=i||l,function(e){if(e.scheme&&!s.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(c.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))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return y(this)},enumerable:!0,configurable:!0}),e.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=l),void 0===n?n=this.authority:null===n&&(n=l),void 0===r?r=this.path:null===r&&(r=l),void 0===i?i=this.query:null===i&&(i=l),void 0===o?o=this.fragment:null===o&&(o=l),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new p(t,n,r,i,o)},e.parse=function(e){var t=h.exec(e);return t?new p(t[2]||l,decodeURIComponent(t[4]||l),decodeURIComponent(t[5]||l),decodeURIComponent(t[7]||l),decodeURIComponent(t[9]||l)):new p(l,l,l,l,l)},e.file=function(e){var t=l;if(o.g&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var n=e.indexOf(f,2);-1===n?(t=e.substring(2),e=f):(t=e.substring(2,n),e=e.substring(n)||f)}return new p("file",t,e,l,l)},e.from=function(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),b(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new p(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}();t.a=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=y(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),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},t}(d),m=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function g(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||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));else{void 0===n&&(n=e.substr(0,i));var a=m[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function v(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+=m[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function y(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,o.g&&(t=t.replace(/\//g,"\\")),t}function b(e,t){var n=t?v:g,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=f,r+=f),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?r+=n(l,!1):(r+=n(l.substr(0,c),!1),r+=":",r+=n(l.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=t?u:g(u,!1)),r}},21:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},236:function(e,t,n){"use strict";t.c=function(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0},t.b=function(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t},t.a=function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}},242:function(e,t,n){"use strict";t.a=function(e,t,n){var a,s,u,c,l;if(t){for(c=t.offset,l=c+t.length,u=c;u>0&&!o(e,u-1);)u--;for(var f=l;f<e.length&&!o(e,f);)f++;s=e.substring(u,f),a=function(e,t){var n=0,r=0,i=t.tabSize||4;for(;n<e.length;){var o=e.charAt(n);if(" "===o)r++;else{if("\t"!==o)break;r+=i}n++}return Math.floor(r/i)}(s,n)}else s=e,a=0,u=0,c=0,l=e.length;var h,d=function(e,t){for(var n=0;n<t.length;n++){var r=t.charAt(n);if("\r"===r)return n+1<t.length&&"\n"===t.charAt(n+1)?"\r\n":"\r";if("\n"===r)return"\n"}return e&&e.eol||"\n"}(n,e),p=!1,m=0;h=n.insertSpaces?i(" ",n.tabSize||4):"\t";var g=Object(r.a)(s,!1),v=!1;function y(){return d+i(h,a+m)}function b(){var e=g.scan();for(p=!1;15===e||14===e;)p=p||14===e,e=g.scan();return v=16===e||0!==g.getTokenError(),e}var _=[];function C(t,n,r){!v&&n<l&&r>c&&e.substring(n,r)!==t&&_.push({offset:n,length:r-n,content:t})}var S=b();if(17!==S){var E=g.getTokenOffset()+u,A=i(h,a);C(A,u,E)}for(;17!==S;){for(var x=g.getTokenOffset()+g.getTokenLength()+u,w=b(),N="";!p&&(12===w||13===w);){var k=g.getTokenOffset()+u;C(" ",x,k),x=g.getTokenOffset()+g.getTokenLength()+u,N=12===w?y():"",w=b()}if(2===w)1!==S&&(m--,N=y());else if(4===w)3!==S&&(m--,N=y());else{switch(S){case 3:case 1:m++,N=y();break;case 5:case 12:N=y();break;case 13:N=p?y():" ";break;case 6:N=" ";break;case 10:if(6===w){N="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===w||13===w?N=" ":5!==w&&17!==w&&(v=!0);break;case 16:v=!0}!p||12!==w&&13!==w||(N=y())}var O=g.getTokenOffset()+u;C(N,x,O),S=w}return _},t.b=o;var r=n(167);function i(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function o(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}},243:function(e,t,n){"use strict";t.c=function(e,t){var n=[],r=new Object,a=void 0,s={value:{},offset:0,length:0,type:"object",parent:void 0},u=!1;function c(e,t,n,r){s.value=e,s.offset=t,s.length=n,s.type=r,s.colonOffset=void 0,a=s}try{i(e,{onObjectBegin:function(e,i){if(t<=e)throw r;a=void 0,u=t>e,n.push("")},onObjectProperty:function(e,i,o){if(t<i)throw r;if(c(e,i,o,"property"),n[n.length-1]=e,t<=i+o)throw r},onObjectEnd:function(e,i){if(t<=e)throw r;a=void 0,n.pop()},onArrayBegin:function(e,i){if(t<=e)throw r;a=void 0,n.push(0)},onArrayEnd:function(e,i){if(t<=e)throw r;a=void 0,n.pop()},onLiteralValue:function(e,n,i){if(t<n)throw r;if(c(e,n,i,o(e)),t<=n+i)throw r},onSeparator:function(e,i,o){if(t<=i)throw r;if(":"===e&&a&&"property"===a.type)a.colonOffset=i,u=!1,a=void 0;else if(","===e){var s=n[n.length-1];"number"==typeof s?n[n.length-1]=s+1:(u=!0,n[n.length-1]=""),a=void 0}}})}catch(e){if(e!==r)throw e}return{path:n,previousNode:a,isAtPropertyKey:u,matches:function(e){for(var t=0,r=0;t<e.length&&r<n.length;r++)if(e[t]===n[r]||"*"===e[t])t++;else if("**"!==e[t])return!1;return t===e.length}}},t.f=function(e,t,n){void 0===t&&(t=[]);var r=null,o=[],a=[];function s(e){Array.isArray(o)?o.push(e):r&&(o[r]=e)}return i(e,{onObjectBegin:function(){var e={};s(e),a.push(o),o=e,r=null},onObjectProperty:function(e){r=e},onObjectEnd:function(){o=a.pop()},onArrayBegin:function(){var e=[];s(e),a.push(o),o=e,r=null},onArrayEnd:function(){o=a.pop()},onLiteralValue:s,onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n),o[0]},t.g=function(e,t,n){void 0===t&&(t=[]);var r={type:"array",offset:-1,length:-1,children:[],parent:void 0};function a(e){"property"===r.type&&(r.length=e-r.offset,r=r.parent)}function s(e){return r.children.push(e),e}i(e,{onObjectBegin:function(e){r=s({type:"object",offset:e,length:-1,parent:r,children:[]})},onObjectProperty:function(e,t,n){(r=s({type:"property",offset:t,length:-1,parent:r,children:[]})).children.push({type:"string",value:e,offset:t,length:n,parent:r})},onObjectEnd:function(e,t){r.length=e+t-r.offset,r=r.parent,a(e+t)},onArrayBegin:function(e,t){r=s({type:"array",offset:e,length:-1,parent:r,children:[]})},onArrayEnd:function(e,t){r.length=e+t-r.offset,r=r.parent,a(e+t)},onLiteralValue:function(e,t,n){s({type:o(e),offset:t,length:n,parent:r,value:e}),a(t+n)},onSeparator:function(e,t,n){"property"===r.type&&(":"===e?r.colonOffset=t:","===e&&a(t))},onError:function(e,n,r){t.push({error:e,offset:n,length:r})}},n);var u=r.children[0];u&&delete u.parent;return u},t.a=function(e,t){if(!e)return;for(var n=e,r=0,i=t;r<i.length;r++){var o=i[r];if("string"==typeof o){if("object"!==n.type||!Array.isArray(n.children))return;for(var a=!1,s=0,u=n.children;s<u.length;s++){var c=u[s];if(Array.isArray(c.children)&&c.children[0].value===o){n=c.children[1],a=!0;break}}if(!a)return}else{var l=o;if("array"!==n.type||l<0||!Array.isArray(n.children)||l>=n.children.length)return;n=n.children[l]}}return n},t.d=function e(t){if(!t.parent||!t.parent.children)return[];var n=e(t.parent);if("property"===t.parent.type){var r=t.parent.children[0].value;n.push(r)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&n.push(i)}return n},t.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}},t.b=function e(t,n,r){void 0===r&&(r=!1);if(function(e,t,n){void 0===n&&(n=!1);return t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(t,n,r)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=n;o++){var a=e(i[o],n,r);if(a)return a}return t}return},t.i=i,t.h=function(e,t){var n,i,o=Object(r.a)(e),a=[],s=0;do{switch(i=o.getPosition(),n=o.scan()){case 12:case 13:case 17:s!==i&&a.push(e.substring(s,i)),void 0!==t&&a.push(o.getTokenValue().replace(/[^\r\n]/g,t)),s=o.getPosition()}}while(17!==n);return a.join("")};var r=n(167);function i(e,t,n){var i=Object(r.a)(e,!1);function o(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength())}:function(){return!0}}function a(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength())}:function(){return!0}}var s=o(t.onObjectBegin),u=a(t.onObjectProperty),c=o(t.onObjectEnd),l=o(t.onArrayBegin),f=o(t.onArrayEnd),h=a(t.onLiteralValue),d=a(t.onSeparator),p=o(t.onComment),m=a(t.onError),g=n&&n.disallowComments,v=n&&n.allowTrailingComma;function y(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:b(14);break;case 5:b(15);break;case 3:b(13);break;case 1:g||b(11);break;case 2:b(12);break;case 6:b(16)}switch(e){case 12:case 13:g?b(10):p();break;case 16:b(1);break;case 15:case 14:break;default:return e}}}function b(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),m(e),t.length+n.length>0)for(var r=i.getToken();17!==r;){if(-1!==t.indexOf(r)){y();break}if(-1!==n.indexOf(r))break;r=y()}}function _(e){var t=i.getTokenValue();return e?h(t):u(t),y(),!0}function C(){switch(i.getToken()){case 3:return function(){l(),y();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||b(4,[],[]),d(","),y(),4===i.getToken()&&v)break}else e&&b(6,[],[]);C()||b(4,[],[4,5]),e=!0}return f(),4!==i.getToken()?b(8,[4],[]):y(),!0}();case 1:return function(){s(),y();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||b(4,[],[]),d(","),y(),2===i.getToken()&&v)break}else e&&b(6,[],[]);(10!==i.getToken()?(b(3,[],[2,5]),0):(_(!1),6===i.getToken()?(d(":"),y(),C()||b(4,[],[2,5])):b(5,[],[2,5]),1))||b(4,[],[2,5]),e=!0}return c(),2!==i.getToken()?b(7,[2],[]):y(),!0}();case 10:return _(!0);default:return function(){switch(i.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(i.getTokenValue()))&&(b(2),e=0)}catch(e){b(2)}h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return!1}return y(),!0}()}}return y(),17===i.getToken()||(C()?(17!==i.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1))}function o(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}},25:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s});var r,i=n(5),o=Object.freeze(function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}});!function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.b.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})}(r||(r={}));var a=function(){function e(){this._isCancelled=!1}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?o:(this._emitter||(this._emitter=new i.a),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)},e}(),s=function(){function e(){}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new a),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof a&&this._token.cancel():this._token=r.Cancelled},e.prototype.dispose=function(){this._token?this._token instanceof a&&this._token.dispose():this._token=r.None},e}()},296:function(e,t,n){"use strict";(function(e){var n,r,i=this&&this.__extends||(n=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])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});if("object"==typeof e)r="win32"===e.platform;else if("object"==typeof navigator){var o=navigator.userAgent;r=o.indexOf("Windows")>=0}var a=/^\w[\w\d+.-]*$/,s=/^\//,u=/^\/\//;var c="",l="/",f=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,h=function(){function e(e,t,n,r,i){"object"==typeof e?(this.scheme=e.scheme||c,this.authority=e.authority||c,this.path=e.path||c,this.query=e.query||c,this.fragment=e.fragment||c):(this.scheme=e||c,this.authority=t||c,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||c),this.query=r||c,this.fragment=i||c,function(e){if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.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(u.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))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return y(this)},enumerable:!0,configurable:!0}),e.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=c),void 0===n?n=this.authority:null===n&&(n=c),void 0===r?r=this.path:null===r&&(r=c),void 0===i?i=this.query:null===i&&(i=c),void 0===o?o=this.fragment:null===o&&(o=c),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new p(t,n,r,i,o)},e.parse=function(e){var t=f.exec(e);return t?new p(t[2]||c,decodeURIComponent(t[4]||c),decodeURIComponent(t[5]||c),decodeURIComponent(t[7]||c),decodeURIComponent(t[9]||c)):new p(c,c,c,c,c)},e.file=function(e){var t=c;if(r&&(e=e.replace(/\\/g,l)),e[0]===l&&e[1]===l){var n=e.indexOf(l,2);-1===n?(t=e.substring(2),e=l):(t=e.substring(2,n),e=e.substring(n)||l)}return new p("file",t,e,c,c)},e.from=function(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),b(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new p(t);return n._fsPath=t.fsPath,n._formatted=t.external,n}return t},e}();t.a=h;var d,p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return i(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=y(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),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},t}(h),m=((d={})[58]="%3A",d[47]="%2F",d[63]="%3F",d[35]="%23",d[91]="%5B",d[93]="%5D",d[64]="%40",d[33]="%21",d[36]="%24",d[38]="%26",d[39]="%27",d[40]="%28",d[41]="%29",d[42]="%2A",d[43]="%2B",d[44]="%2C",d[59]="%3B",d[61]="%3D",d[32]="%20",d);function g(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||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));else{void 0===n&&(n=e.substr(0,i));var a=m[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function v(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+=m[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function y(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(t=t.replace(/\//g,"\\")),t}function b(e,t){var n=t?v:g,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=l,r+=l),o){var c=o.indexOf("@");if(-1!==c){var f=o.substr(0,c);o=o.substr(c+1),-1===(c=f.indexOf(":"))?r+=n(f,!1):(r+=n(f.substr(0,c),!1),r+=":",r+=n(f.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),u&&(r+="#",r+=n(u,!1)),r}}).call(t,n(38))},3:function(e,t,n){"use strict";(function(e,r){var i;n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),function(){var t=Object.create(null);t["WinJS/Core/_WinJS"]={};var n=function(e,n,r){var i={},o=!1,a=n.map(function(e){return"exports"===e?(o=!0,i):t[e]}),s=r.apply({},a);t[e]=o?i:s};n("WinJS/Core/_Global",[],function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==e?e:{}}),n("WinJS/Core/_BaseCoreUtils",["WinJS/Core/_Global"],function(e){var t=null;return{hasWinRT:!!e.Windows,markSupportedForProcessing:function(e){return e.supportedForProcessing=!0,e},_setImmediate:function(n){null===t&&(t=e.setImmediate?e.setImmediate.bind(e):void 0!==r&&"function"==typeof r.nextTick?r.nextTick.bind(r):e.setTimeout.bind(e)),t(n)}}}),n("WinJS/Core/_WriteProfilerMark",["WinJS/Core/_Global"],function(e){return e.msWriteProfilerMark||function(){}}),n("WinJS/Core/_Base",["WinJS/Core/_WinJS","WinJS/Core/_Global","WinJS/Core/_BaseCoreUtils","WinJS/Core/_WriteProfilerMark"],function(e,t,n,r){function i(e,t,n){var r,i,o,a=Object.keys(t),s=Array.isArray(e);for(i=0,o=a.length;i<o;i++){var u=a[i],c=95!==u.charCodeAt(0),l=t[u];!l||"object"!=typeof l||void 0===l.value&&"function"!=typeof l.get&&"function"!=typeof l.set?c?s?e.forEach(function(e){e[u]=l}):e[u]=l:(r=r||{})[u]={value:l,enumerable:c,configurable:!0,writable:!0}:(void 0===l.enumerable&&(l.enumerable=c),n&&l.setName&&"function"==typeof l.setName&&l.setName(n+"."+u),(r=r||{})[u]=l)}r&&(s?e.forEach(function(e){Object.defineProperties(e,r)}):Object.defineProperties(e,r))}return function(){var n=e;function o(n,r){var i=n||{};if(r){var o=r.split(".");i===t&&"WinJS"===o[0]&&(i=e,o.splice(0,1));for(var a=0,s=o.length;a<s;a++){var u=o[a];i[u]||Object.defineProperty(i,u,{value:{},writable:!1,enumerable:!0,configurable:!0}),i=i[u]}}return i}function a(e,t,n){var r=o(e,t);return n&&i(r,n,t||"<ANONYMOUS>"),r}n.Namespace||(n.Namespace=Object.create(Object.prototype));var s={uninitialized:1,working:2,initialized:3};Object.defineProperties(n.Namespace,{defineWithParent:{value:a,writable:!0,enumerable:!0,configurable:!0},define:{value:function(e,n){return a(t,e,n)},writable:!0,enumerable:!0,configurable:!0},_lazy:{value:function(e){var t,n,i=s.uninitialized;return{setName:function(e){t=e},get:function(){switch(i){case s.initialized:return n;case s.uninitialized:i=s.working;try{r("WinJS.Namespace._lazy:"+t+",StartTM"),n=e()}finally{r("WinJS.Namespace._lazy:"+t+",StopTM"),i=s.uninitialized}return e=null,i=s.initialized,n;case s.working:throw"Illegal: reentrancy on initialization";default:throw"Illegal"}},set:function(e){switch(i){case s.working:throw"Illegal: reentrancy on initialization";default:i=s.initialized,n=e}},enumerable:!0,configurable:!0}},writable:!0,enumerable:!0,configurable:!0},_moduleDefine:{value:function(e,n,r){var a=[e],s=null;return n&&(s=o(t,n),a.push(s)),i(a,r,n||"<ANONYMOUS>"),s},writable:!0,enumerable:!0,configurable:!0}})}(),function(){function t(e,t,r){return e=e||function(){},n.markSupportedForProcessing(e),t&&i(e.prototype,t),r&&i(e,r),e}e.Namespace.define("WinJS.Class",{define:t,derive:function(e,r,o,a){if(e){r=r||function(){};var s=e.prototype;return r.prototype=Object.create(s),n.markSupportedForProcessing(r),Object.defineProperty(r.prototype,"constructor",{value:r,writable:!0,configurable:!0,enumerable:!0}),o&&i(r.prototype,o),a&&i(r,a),r}return t(r,o,a)},mix:function(e){var t,n;for(e=e||function(){},t=1,n=arguments.length;t<n;t++)i(e.prototype,arguments[t]);return e}})}(),{Namespace:e.Namespace,Class:e.Class}}),n("WinJS/Core/_ErrorFromName",["WinJS/Core/_Base"],function(e){var t=e.Class.derive(Error,function(e,t){this.name=e,this.message=t||e},{},{supportedForProcessing:!1});return e.Namespace.define("WinJS",{ErrorFromName:t}),t}),n("WinJS/Core/_Events",["exports","WinJS/Core/_Base"],function(e,t){function n(e){var t="_on"+e+"state";return{get:function(){var e=this[t];return e&&e.userHandler},set:function(n){var r=this[t];n?(r||(r={wrapper:function(e){return r.userHandler(e)},userHandler:n},Object.defineProperty(this,t,{value:r,enumerable:!1,writable:!0,configurable:!0}),this.addEventListener(e,r.wrapper,!1)),r.userHandler=n):r&&(this.removeEventListener(e,r.wrapper,!1),this[t]=null)},enumerable:!0}}var r=t.Class.define(function(e,t,n){this.detail=t,this.target=n,this.timeStamp=Date.now(),this.type=e},{bubbles:{value:!1,writable:!1},cancelable:{value:!1,writable:!1},currentTarget:{get:function(){return this.target}},defaultPrevented:{get:function(){return this._preventDefaultCalled}},trusted:{value:!1,writable:!1},eventPhase:{value:0,writable:!1},target:null,timeStamp:null,type:null,preventDefault:function(){this._preventDefaultCalled=!0},stopImmediatePropagation:function(){this._stopImmediatePropagationCalled=!0},stopPropagation:function(){}},{supportedForProcessing:!1}),i={_listeners:null,addEventListener:function(e,t,n){n=n||!1,this._listeners=this._listeners||{};for(var r=this._listeners[e]=this._listeners[e]||[],i=0,o=r.length;i<o;i++){var a=r[i];if(a.useCapture===n&&a.listener===t)return}r.push({listener:t,useCapture:n})},dispatchEvent:function(e,t){var n=this._listeners&&this._listeners[e];if(n){for(var i=new r(e,t,this),o=0,a=(n=n.slice(0,n.length)).length;o<a&&!i._stopImmediatePropagationCalled;o++)n[o].listener(i);return i.defaultPrevented||!1}return!1},removeEventListener:function(e,t,n){n=n||!1;var r=this._listeners&&this._listeners[e];if(r)for(var i=0,o=r.length;i<o;i++){var a=r[i];if(a.listener===t&&a.useCapture===n){r.splice(i,1),0===r.length&&delete this._listeners[e];break}}}};t.Namespace._moduleDefine(e,"WinJS.Utilities",{_createEventProperty:n,createEventProperties:function(){for(var e={},t=0,r=arguments.length;t<r;t++){var i=arguments[t];e["on"+i]=n(i)}return e},eventMixin:i})}),n("WinJS/Core/_Trace",["WinJS/Core/_Global"],function(e){function t(e){return e}return{_traceAsyncOperationStarting:e.Debug&&e.Debug.msTraceAsyncOperationStarting&&e.Debug.msTraceAsyncOperationStarting.bind(e.Debug)||t,_traceAsyncOperationCompleted:e.Debug&&e.Debug.msTraceAsyncOperationCompleted&&e.Debug.msTraceAsyncOperationCompleted.bind(e.Debug)||t,_traceAsyncCallbackStarting:e.Debug&&e.Debug.msTraceAsyncCallbackStarting&&e.Debug.msTraceAsyncCallbackStarting.bind(e.Debug)||t,_traceAsyncCallbackCompleted:e.Debug&&e.Debug.msTraceAsyncCallbackCompleted&&e.Debug.msTraceAsyncCallbackCompleted.bind(e.Debug)||t}}),n("WinJS/Promise/_StateMachine",["WinJS/Core/_Global","WinJS/Core/_BaseCoreUtils","WinJS/Core/_Base","WinJS/Core/_ErrorFromName","WinJS/Core/_Events","WinJS/Core/_Trace"],function(e,t,n,r,i,o){e.Debug&&(e.Debug.setNonUserCodeExceptions=!0);var a=new(n.Class.mix(n.Class.define(null,{},{supportedForProcessing:!1}),i.eventMixin));a._listeners={};var s="error",u="Canceled",c=!1,l={promise:1,thenPromise:2,errorPromise:4,exceptionPromise:8,completePromise:16};l.all=l.promise|l.thenPromise|l.errorPromise|l.exceptionPromise|l.completePromise;var f,h,d,p,m,g,v,y,b,_,C=1;function S(){}f={name:"created",enter:function(e){e._setState(h)},cancel:S,done:S,then:S,_completed:S,_error:S,_notify:S,_progress:S,_setCompleteValue:S,_setErrorValue:S},h={name:"working",enter:S,cancel:function(e){e._setState(m)},done:L,then:U,_completed:A,_error:P,_notify:S,_progress:j,_setCompleteValue:R,_setErrorValue:V},d={name:"waiting",enter:function(e){var t=e._value;if(t instanceof q&&t._state!==_&&t._state!==y)D(t,{promise:e});else{var n=function(r){t._errorId?e._chainedError(r,t):(M(e,r,w,t,n),e._error(r))};n.handlesOnError=!0,t.then(e._completed.bind(e),n,e._progress.bind(e))}},cancel:function(e){e._setState(p)},done:L,then:U,_completed:A,_error:P,_notify:S,_progress:j,_setCompleteValue:R,_setErrorValue:V},p={name:"waiting_canceled",enter:function(e){e._setState(g);var t=e._value;t.cancel&&t.cancel()},cancel:S,done:L,then:U,_completed:A,_error:P,_notify:S,_progress:j,_setCompleteValue:R,_setErrorValue:V},m={name:"canceled",enter:function(e){e._setState(g),e._cancelAction()},cancel:S,done:L,then:U,_completed:A,_error:P,_notify:S,_progress:j,_setCompleteValue:R,_setErrorValue:V},g={name:"canceling",enter:function(e){var t=new Error(u);t.name=t.message,e._value=t,e._setState(b)},cancel:S,done:S,then:S,_completed:S,_error:S,_notify:S,_progress:S,_setCompleteValue:S,_setErrorValue:S},v={name:"complete_notify",enter:function(e){if(e.done=$.prototype.done,e.then=$.prototype.then,e._listeners)for(var t,n=[e];n.length;)(t=n.shift())._state._notify(t,n);e._setState(y)},cancel:S,done:null,then:null,_completed:S,_error:S,_notify:T,_progress:S,_setCompleteValue:S,_setErrorValue:S},y={name:"success",enter:function(e){e.done=$.prototype.done,e.then=$.prototype.then,e._cleanupAction()},cancel:S,done:null,then:null,_completed:S,_error:S,_notify:T,_progress:S,_setCompleteValue:S,_setErrorValue:S},b={name:"error_notify",enter:function(e){if(e.done=K.prototype.done,e.then=K.prototype.then,e._listeners)for(var t,n=[e];n.length;)(t=n.shift())._state._notify(t,n);e._setState(_)},cancel:S,done:null,then:null,_completed:S,_error:S,_notify:I,_progress:S,_setCompleteValue:S,_setErrorValue:S},_={name:"error",enter:function(e){e.done=K.prototype.done,e.then=K.prototype.then,e._cleanupAction()},cancel:S,done:null,then:null,_completed:S,_error:S,_notify:I,_progress:S,_setCompleteValue:S,_setErrorValue:S};var E=n.Class.define(null,{_listeners:null,_nextState:null,_state:null,_value:null,cancel:function(){this._state.cancel(this),this._run()},done:function(e,t,n){this._state.done(this,e,t,n)},then:function e(t,n,r){if(this.then===e)return this._state.then(this,t,n,r);this.then(t,n,r)},_chainedError:function(e,t){var n=this._state._error(this,e,N,t);return this._run(),n},_completed:function(e){var t=this._state._completed(this,e);return this._run(),t},_error:function(e){var t=this._state._error(this,e,k);return this._run(),t},_progress:function(e){this._state._progress(this,e)},_setState:function(e){this._nextState=e},_setCompleteValue:function(e){this._state._setCompleteValue(this,e),this._run()},_setChainedErrorValue:function(e,t){var n=this._state._setErrorValue(this,e,N,t);return this._run(),n},_setExceptionValue:function(e){var t=this._state._setErrorValue(this,e,O);return this._run(),t},_run:function(){for(;this._nextState;)this._state=this._nextState,this._nextState=null,this._state.enter(this)}},{supportedForProcessing:!1});function A(e,t){var n;n=t&&"object"==typeof t&&"function"==typeof t.then?d:v,e._value=t,e._setState(n)}function x(e,t,n,r,i,o){return{exception:e,error:t,promise:n,handler:o,id:r,parent:i}}function w(e,t,n,r){var i=n._isException,o=n._errorId;return x(i?t:null,i?null:t,e,o,n,r)}function N(e,t,n){var r=n._isException,i=n._errorId;return F(e,i,r),x(r?t:null,r?null:t,e,i,n)}function k(e,t){var n=++C;return F(e,n),x(null,t,e,n)}function O(e,t){var n=++C;return F(e,n,!0),x(t,null,e,n)}function L(e,t,n,r){D(e,{c:t,e:n,p:r,asyncOpID:o._traceAsyncOperationStarting("WinJS.Promise.done")})}function P(e,t,n,r){e._value=t,M(e,t,n,r),e._setState(b)}function T(t,n){var r,i,a=t._value,s=t._listeners;if(s)for(t._listeners=null,r=0,i=Array.isArray(s)?s.length:1;r<i;r++){var u=1===i?s:s[r],c=u.c,l=u.promise;if(o._traceAsyncOperationCompleted(u.asyncOpID,e.Debug&&e.Debug.MS_ASYNC_OP_STATUS_SUCCESS),l){o._traceAsyncCallbackStarting(u.asyncOpID);try{l._setCompleteValue(c?c(a):a)}catch(e){l._setExceptionValue(e)}finally{o._traceAsyncCallbackCompleted()}l._state!==d&&l._listeners&&n.push(l)}else $.prototype.done.call(t,c)}}function I(t,n){var r,i,a=t._value,s=t._listeners;if(s)for(t._listeners=null,r=0,i=Array.isArray(s)?s.length:1;r<i;r++){var c=1===i?s:s[r],l=c.e,f=c.promise,h=e.Debug&&(a&&a.name===u?e.Debug.MS_ASYNC_OP_STATUS_CANCELED:e.Debug.MS_ASYNC_OP_STATUS_ERROR);if(o._traceAsyncOperationCompleted(c.asyncOpID,h),f){var p=!1;try{l?(o._traceAsyncCallbackStarting(c.asyncOpID),p=!0,l.handlesOnError||M(f,a,w,t,l),f._setCompleteValue(l(a))):f._setChainedErrorValue(a,t)}catch(e){f._setExceptionValue(e)}finally{p&&o._traceAsyncCallbackCompleted()}f._state!==d&&f._listeners&&n.push(f)}else K.prototype.done.call(t,null,l)}}function M(e,t,n,r,i){if(a._listeners[s]){if(t instanceof Error&&t.message===u)return;a.dispatchEvent(s,n(e,t,r,i))}}function j(e,t){var n,r,i=e._listeners;if(i)for(n=0,r=Array.isArray(i)?i.length:1;n<r;n++){var o=1===r?i:i[n],a=o.p;if(a)try{a(t)}catch(e){}o.c||o.e||!o.promise||o.promise._progress(t)}}function D(e,t){var n=e._listeners;n?(n=Array.isArray(n)?n:[n]).push(t):n=t,e._listeners=n}function F(e,t,n){e._isException=n||!1,e._errorId=t}function V(e,t,n,r){e._value=t,M(e,t,n,r),e._setState(_)}function R(e,t){var n;n=t&&"object"==typeof t&&"function"==typeof t.then?d:y,e._value=t,e._setState(n)}function U(e,t,n,r){var i=new q(e);return D(e,{promise:i,c:t,e:n,p:r,asyncOpID:o._traceAsyncOperationStarting("WinJS.Promise.then")}),i}var W,q=n.Class.derive(E,function(e){c&&(!0===c||c&l.thenPromise)&&(this._stack=Y._getStack()),this._creator=e,this._setState(f),this._run()},{_creator:null,_cancelAction:function(){this._creator&&this._creator.cancel()},_cleanupAction:function(){this._creator=null}},{supportedForProcessing:!1}),K=n.Class.define(function(e){c&&(!0===c||c&l.errorPromise)&&(this._stack=Y._getStack()),this._value=e,M(this,e,k)},{cancel:function(){},done:function(e,t){var n=this._value;if(t)try{t.handlesOnError||M(null,n,w,this,t);var r=t(n);return void(r&&"object"==typeof r&&"function"==typeof r.done&&r.done())}catch(e){n=e}n instanceof Error&&n.message===u||Y._doneHandler(n)},then:function(e,t){if(!t)return this;var n,r=this._value;try{t.handlesOnError||M(null,r,w,this,t),n=new $(t(r))}catch(e){n=e===r?this:new B(e)}return n}},{supportedForProcessing:!1}),B=n.Class.derive(K,function(e){c&&(!0===c||c&l.exceptionPromise)&&(this._stack=Y._getStack()),this._value=e,M(this,e,O)},{},{supportedForProcessing:!1}),$=n.Class.define(function(e){if(c&&(!0===c||c&l.completePromise)&&(this._stack=Y._getStack()),e&&"object"==typeof e&&"function"==typeof e.then){var t=new q(null);return t._setCompleteValue(e),t}this._value=e},{cancel:function(){},done:function(e){if(e)try{var t=e(this._value);t&&"object"==typeof t&&"function"==typeof t.done&&t.done()}catch(e){Y._doneHandler(e)}},then:function(e){try{var t=e?e(this._value):this._value;return t===this._value?this:new $(t)}catch(e){return new B(e)}}},{supportedForProcessing:!1});var Y=n.Class.derive(E,function(e,t){c&&(!0===c||c&l.promise)&&(this._stack=Y._getStack()),this._oncancel=t,this._setState(f),this._run();try{e(this._completed.bind(this),this._error.bind(this),this._progress.bind(this))}catch(e){this._setExceptionValue(e)}},{_oncancel:null,_cancelAction:function(){try{if(!this._oncancel)throw new Error("Promise did not implement oncancel");this._oncancel()}catch(e){e.message,e.stack;a.dispatchEvent("error",e)}},_cleanupAction:function(){this._oncancel=null}},{addEventListener:function(e,t,n){a.addEventListener(e,t,n)},any:function(e){return new Y(function(t,n){var r=Object.keys(e);0===r.length&&t();var i=0;r.forEach(function(o){Y.as(e[o]).then(function(){t({key:o,value:e[o]})},function(a){a instanceof Error&&a.name===u?++i===r.length&&t(Y.cancel):n({key:o,value:e[o]})})})},function(){Object.keys(e).forEach(function(t){var n=Y.as(e[t]);"function"==typeof n.cancel&&n.cancel()})})},as:function(e){return e&&"object"==typeof e&&"function"==typeof e.then?e:new $(e)},cancel:{get:function(){return W=W||new K(new r(u))}},dispatchEvent:function(e,t){return a.dispatchEvent(e,t)},is:function(e){return e&&"object"==typeof e&&"function"==typeof e.then},join:function(e){return new Y(function(t,n,r){var i=Object.keys(e),o=Array.isArray(e)?[]:{},a=Array.isArray(e)?[]:{},s=0,c=i.length,l=function(e){if(0==--c){var s=Object.keys(o).length;if(0===s)t(a);else{var l=0;i.forEach(function(e){var t=o[e];t instanceof Error&&t.name===u&&l++}),l===s?t(Y.cancel):n(o)}}else r({Key:e,Done:!0})};i.forEach(function(t){var n=e[t];void 0===n?s++:Y.then(n,function(e){a[t]=e,l(t)},function(e){o[t]=e,l(t)})}),0!==(c-=s)||t(a)},function(){Object.keys(e).forEach(function(t){var n=Y.as(e[t]);"function"==typeof n.cancel&&n.cancel()})})},removeEventListener:function(e,t,n){a.removeEventListener(e,t,n)},supportedForProcessing:!1,then:function(e,t,n,r){return Y.as(e).then(t,n,r)},thenEach:function(e,t,n,r){var i=Array.isArray(e)?[]:{};return Object.keys(e).forEach(function(o){i[o]=Y.as(e[o]).then(t,n,r)}),Y.join(i)},timeout:function(n,r){var i,o,a=(i=n,new Y(function(n){i?o=e.setTimeout(n,i):t._setImmediate(n)},function(){o&&e.clearTimeout(o)}));return r?function(e,t){var n=function(){e.cancel()};return e.then(function(){t.cancel()}),t.then(n,n),t}(a,r):a},wrap:function(e){return new $(e)},wrapError:function(e){return new K(e)},_veryExpensiveTagWithStack:{get:function(){return c},set:function(e){c=e}},_veryExpensiveTagWithStack_tag:l,_getStack:function(){if(e.Debug&&e.Debug.debuggerEnabled)try{throw new Error}catch(e){return e.stack}},_cancelBlocker:function(e,t){if(!Y.is(e))return Y.wrap(e);var n,r,i=new Y(function(e,t){n=e,r=t},function(){n=null,r=null,t&&t()});return e.then(function(e){n&&n(e)},function(e){r&&r(e)}),i}});return Object.defineProperties(Y,i.createEventProperties(s)),Y._doneHandler=function(e){t._setImmediate(function(){throw e})},{PromiseStateMachine:E,Promise:Y,state_created:f}}),n("WinJS/Promise",["WinJS/Core/_Base","WinJS/Promise/_StateMachine"],function(e,t){return e.Namespace.define("WinJS",{Promise:t.Promise}),t.Promise}),(i=t["WinJS/Core/_WinJS"]).TPromise=i.Promise,i.PPromise=i.Promise}();var o=i.Promise,a=i.TPromise;i.PPromise}).call(t,n(21),n(38))},30:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.d=function(e){if(e<0)return 0;if(e>255)return 255;return 0|e},t.b=i,t.c=function(e){for(var t=e.length,n=new Uint32Array(t),r=0;r<t;r++)n[r]=i(e[r]);return n};var r=function(){function e(e,t,n){for(var r=new Uint8Array(e*t),i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}return e.prototype.get=function(e,t){return this._data[e*this.cols+t]},e.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},e}();function i(e){return e<0?0:e>4294967295?4294967295:0|e}},303:function(e,t,n){"use strict";t.b=o,t.a=s;var r=n(242),i=n(243);function o(e,t,n,r,o){for(var s,u=Object(i.g)(e,[]),c=void 0,l=void 0;t.length>0&&(l=t.pop(),void 0===(c=Object(i.a)(u,t))&&void 0!==n);)"string"==typeof l?((s={})[l]=n,n=s):n=[n];if(c){if("object"===c.type&&"string"==typeof l&&Array.isArray(c.children)){var f=Object(i.a)(c,[l]);if(void 0!==f){if(void 0===n){if(!f.parent)throw new Error("Malformed AST");var h=c.children.indexOf(f.parent),d=void 0,p=f.parent.offset+f.parent.length;if(h>0)d=(_=c.children[h-1]).offset+_.length;else if(d=c.offset+1,c.children.length>1)p=c.children[1].offset;return a(e,{offset:d,length:p-d,content:""},r)}return a(e,{offset:f.offset,length:f.length,content:JSON.stringify(n)},r)}if(void 0===n)return[];var m=JSON.stringify(l)+": "+JSON.stringify(n),g=o?o(c.children.map(function(e){return e.children[0].value})):c.children.length,v=void 0;return a(e,v=g>0?{offset:(_=c.children[g-1]).offset+_.length,length:0,content:","+m}:0===c.children.length?{offset:c.offset+1,length:0,content:m}:{offset:c.offset+1,length:0,content:m+","},r)}if("array"===c.type&&"number"==typeof l&&Array.isArray(c.children)){if(-1===l){m=""+JSON.stringify(n),v=void 0;if(0===c.children.length)v={offset:c.offset+1,length:0,content:m};else v={offset:(_=c.children[c.children.length-1]).offset+_.length,length:0,content:","+m};return a(e,v,r)}if(void 0===n&&c.children.length>=0){var y=l,b=c.children[y];v=void 0;if(1===c.children.length)v={offset:c.offset+1,length:c.length-2,content:""};else if(c.children.length-1===y){var _,C=(_=c.children[y-1]).offset+_.length;v={offset:C,length:c.offset+c.length-2-C,content:""}}else v={offset:b.offset,length:c.children[y+1].offset-b.offset,content:""};return a(e,v,r)}throw new Error("Array modification not supported yet")}throw new Error("Can not add "+("number"!=typeof l?"index":"property")+" to parent of type "+c.type)}if(void 0===n)throw new Error("Can not delete in empty document");return a(e,{offset:u?u.offset:0,length:u?u.length:0,content:JSON.stringify(n)},r)}function a(e,t,n){var i=s(e,t),o=t.offset,a=t.offset+t.content.length;if(0===t.length||0===t.content.length){for(;o>0&&!Object(r.b)(i,o-1);)o--;for(;a<i.length&&!Object(r.b)(i,a);)a++}for(var u=Object(r.a)(i,{offset:o,length:a-o},n),c=u.length-1;c>=0;c--){var l=u[c];i=s(i,l),o=Math.min(o,l.offset),a=Math.max(a,l.offset+l.length),a+=l.content.length-l.length}return[{offset:o,length:e.length-(i.length-a)-o,content:i.substring(o,a)}]}function s(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}},31:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),t.a=function(e,t){return(e|(65535&t)<<16>>>0)>>>0},t.f=function(e,t){if(0===e)return null;var n=(65535&e)>>>0,r=(4294901760&e)>>>16;if(0!==r)return new l(u(n,t),u(r,t));return u(n,t)},n.d(t,"e",function(){return c}),n.d(t,"d",function(){return f}),n.d(t,"c",function(){return h});var r,i=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),o=new i,a=new i,s=new i;function u(e,t){var n=!!(2048&e),r=!!(256&e);return new c(2===t?r:n,!!(1024&e),!!(512&e),2===t?n:r,255&e)}!function(){function e(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),o.define(e,t),a.define(e,n),s.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return o.keyCodeToStr(e)},e.fromString=function(e){return o.strToKeyCode(e)},e.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return s.keyCodeToStr(e)},e.fromUserSettings=function(e){return a.strToKeyCode(e)||s.strToKeyCode(e)}}(r||(r={}));var c=function(){function e(e,t,n,r,i){this.type=1,this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}return e.prototype.equals=function(e){return 1===e.type&&(this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode)},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),l=function(){return function(e,t){this.type=2,this.firstPart=e,this.chordPart=t}}(),f=function(){return function(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}}(),h=function(){return function(){}}()},38:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},4:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e.compare=function(e,t){var n=0|e.lineNumber,r=0|t.lineNumber;return n===r?(0|e.column)-(0|t.column):n-r},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},e}()},42:function(e,t,n){"use strict";t.b=function(e,t,n){return new u(i(e),i(t)).ComputeDiff(n)},n.d(t,"a",function(){return u});var r=n(80);function i(e){return{getLength:function(){return e.length},getElementAtIndex:function(t){return e.charCodeAt(t)}}}var o=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),a=function(){function e(){}return e.Copy=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},e}(),s=function(){function e(){this.m_changes=[],this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new r.a(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),u=function(){function e(e,t,n){void 0===n&&(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e.prototype.ElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.OriginalElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(t)},e.prototype.ModifiedElementsAreEqual=function(e,t){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,i){var o=this.ComputeDiffRecursive(e,t,n,r,[!1]);return i?this.ShiftChanges(o):o},e.prototype.ComputeDiffRecursive=function(e,t,n,i,a){for(a[0]=!1;e<=t&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){var s=void 0;return n<=i?(o.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new r.a(e,0,n,i-n+1)]):e<=t?(o.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[new r.a(e,t-e+1,n,0)]):(o.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var u=[0],c=[0],l=this.ComputeRecursionPoint(e,t,n,i,u,c,a),f=u[0],h=c[0];if(null!==l)return l;if(!a[0]){var d=this.ComputeDiffRecursive(e,f,n,h,a),p=[];return p=a[0]?[new r.a(f+1,t-(f+1)+1,h+1,i-(h+1)+1)]:this.ComputeDiffRecursive(f+1,t,h+1,i,a),this.ConcatenateChanges(d,p)}return[new r.a(e,t-e+1,n,i-n+1)]},e.prototype.WALKTRACE=function(e,t,n,i,o,a,u,c,l,f,h,d,p,m,g,v,y,b){var _,C,S=null,E=new s,A=t,x=n,w=p[0]-v[0]-i,N=Number.MIN_VALUE,k=this.m_forwardHistory.length-1;do{(C=w+e)===A||C<x&&l[C-1]<l[C+1]?(m=(h=l[C+1])-w-i,h<N&&E.MarkNextChange(),N=h,E.AddModifiedElement(h+1,m),w=C+1-e):(m=(h=l[C-1]+1)-w-i,h<N&&E.MarkNextChange(),N=h-1,E.AddOriginalElement(h,m+1),w=C-1-e),k>=0&&(e=(l=this.m_forwardHistory[k])[0],A=1,x=l.length-1)}while(--k>=-1);if(_=E.getReverseChanges(),b[0]){var O=p[0]+1,L=v[0]+1;if(null!==_&&_.length>0){var P=_[_.length-1];O=Math.max(O,P.getOriginalEnd()),L=Math.max(L,P.getModifiedEnd())}S=[new r.a(O,d-O+1,L,g-L+1)]}else{E=new s,A=a,x=u,w=p[0]-v[0]-c,N=Number.MAX_VALUE,k=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{(C=w+o)===A||C<x&&f[C-1]>=f[C+1]?(m=(h=f[C+1]-1)-w-c,h>N&&E.MarkNextChange(),N=h+1,E.AddOriginalElement(h+1,m+1),w=C+1-o):(m=(h=f[C-1])-w-c,h>N&&E.MarkNextChange(),N=h,E.AddModifiedElement(h+1,m+1),w=C-1-o),k>=0&&(o=(f=this.m_reverseHistory[k])[0],A=1,x=f.length-1)}while(--k>=-1);S=E.getChanges()}return this.ConcatenateChanges(_,S)},e.prototype.ComputeRecursionPoint=function(e,t,n,i,o,s,u){var c,l,f,h=0,d=0,p=0,m=0;e--,n--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var g,v,y=t-e+(i-n),b=y+1,_=new Array(b),C=new Array(b),S=i-n,E=t-e,A=e-n,x=t-i,w=(E-S)%2==0;for(_[S]=e,C[E]=t,u[0]=!1,f=1;f<=y/2+1;f++){var N=0,k=0;for(h=this.ClipDiagonalBound(S-f,f,S,b),d=this.ClipDiagonalBound(S+f,f,S,b),g=h;g<=d;g+=2){for(l=(c=g===h||g<d&&_[g-1]<_[g+1]?_[g+1]:_[g-1]+1)-(g-S)-A,v=c;c<t&&l<i&&this.ElementsAreEqual(c+1,l+1);)c++,l++;if(_[g]=c,c+l>N+k&&(N=c,k=l),!w&&Math.abs(g-E)<=f-1&&c>=C[g])return o[0]=c,s[0]=l,v<=C[g]&&f<=1448?this.WALKTRACE(S,h,d,A,E,p,m,x,_,C,c,t,o,l,i,s,w,u):null}var O=(N-e+(k-n)-f)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(N,this.OriginalSequence,O))return u[0]=!0,o[0]=N,s[0]=k,O>0&&f<=1448?this.WALKTRACE(S,h,d,A,E,p,m,x,_,C,c,t,o,l,i,s,w,u):(e++,n++,[new r.a(e,t-e+1,n,i-n+1)]);for(p=this.ClipDiagonalBound(E-f,f,E,b),m=this.ClipDiagonalBound(E+f,f,E,b),g=p;g<=m;g+=2){for(l=(c=g===p||g<m&&C[g-1]>=C[g+1]?C[g+1]-1:C[g-1])-(g-E)-x,v=c;c>e&&l>n&&this.ElementsAreEqual(c,l);)c--,l--;if(C[g]=c,w&&Math.abs(g-S)<=f&&c<=_[g])return o[0]=c,s[0]=l,v>=_[g]&&f<=1448?this.WALKTRACE(S,h,d,A,E,p,m,x,_,C,c,t,o,l,i,s,w,u):null}if(f<=1447){var L=new Array(d-h+2);L[0]=S-h+1,a.Copy(_,h,L,1,d-h+1),this.m_forwardHistory.push(L),(L=new Array(m-p+2))[0]=E-p+1,a.Copy(C,p,L,1,m-p+1),this.m_reverseHistory.push(L)}}return this.WALKTRACE(S,h,d,A,E,p,m,x,_,C,c,t,o,l,i,s,w,u)},e.prototype.ShiftChanges=function(e){var t;do{t=!1;for(var n=0;n<e.length;n++)for(var r=e[n],i=n<e.length-1?e[n+1].originalStart:this.OriginalSequence.getLength(),o=n<e.length-1?e[n+1].modifiedStart:this.ModifiedSequence.getLength(),a=r.originalLength>0,s=r.modifiedLength>0;r.originalStart+r.originalLength<i&&r.modifiedStart+r.modifiedLength<o&&(!a||this.OriginalElementsAreEqual(r.originalStart,r.originalStart+r.originalLength))&&(!s||this.ModifiedElementsAreEqual(r.modifiedStart,r.modifiedStart+r.modifiedLength));)r.originalStart++,r.modifiedStart++;var u=new Array,c=[null];for(n=0;n<e.length;n++)n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],c)?(t=!0,u.push(c[0]),n++):u.push(e[n]);e=u}while(t);for(n=e.length-1;n>=0;n--){r=e[n],i=0,o=0;if(n>0){var l=e[n-1];l.originalLength>0&&(i=l.originalStart+l.originalLength),l.modifiedLength>0&&(o=l.modifiedStart+l.modifiedLength)}a=r.originalLength>0,s=r.modifiedLength>0;for(var f=0,h=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength),d=1;;d++){var p=r.originalStart-d,m=r.modifiedStart-d;if(p<i||m<o)break;if(a&&!this.OriginalElementsAreEqual(p,p+r.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(m,m+r.modifiedLength))break;var g=this._boundaryScore(p,r.originalLength,m,r.modifiedLength);g>h&&(h=g,f=d)}r.originalStart-=f,r.modifiedStart-=f}return e},e.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var t=this.OriginalSequence.getElementAtIndex(e);return"string"==typeof t&&/^\s*$/.test(t)},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var t=this.ModifiedSequence.getElementAtIndex(e);return"string"==typeof t&&/^\s*$/.test(t)},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[],r=null;return 0===e.length||0===t.length?t.length>0?t:e:this.ChangesOverlap(e[e.length-1],t[0],n)?(r=new Array(e.length+t.length-1),a.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],a.Copy(t,1,r,e.length,t.length-1),r):(r=new Array(e.length+t.length),a.Copy(e,0,r,0,e.length),a.Copy(t,0,r,e.length,t.length),r)},e.prototype.ChangesOverlap=function(e,t,n){if(o.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),o.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var i=e.originalStart,a=e.originalLength,s=e.modifiedStart,u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(a=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r.a(i,a,s,u),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e<r)return e;var i=t%2==0;return e<0?i===(n%2==0)?0:1:i===((r-n-1)%2==0)?r-1:r-2},e}()},48:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n(30),i=function(){function e(t){var n=Object(r.d)(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=Object(r.d)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),o=function(){function e(){this._actual=new i(0)}return e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)},e}()},5:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),t.k=function(e){return function(t,n,r){void 0===n&&(n=null);var i=e(function(e){return i.dispose(),t.call(n,e)},null,r);return i}},t.f=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,r){return void 0===n&&(n=null),Object(a.c)(e.map(function(e){return e(function(e){return t.call(n,e)},null,r)}))}},t.h=function(e,t,n,r){void 0===n&&(n=100);void 0===r&&(r=!1);var i,o=void 0,a=void 0,s=0,c=new u({onFirstListenerAdd:function(){i=e(function(e){s++,o=t(o,e),r&&!a&&c.fire(o),clearTimeout(a),a=setTimeout(function(){var e=o;o=void 0,a=void 0,(!r||s>1)&&c.fire(e),s=0},n)})},onLastListenerRemove:function(){i.dispose()}});return c.event},n.d(t,"c",function(){return l}),t.j=f,t.i=h,t.g=function(e){return new d(e)},n.d(t,"e",function(){return p});var r,i=n(6),o=n(74),a=n(0),s=n(67);!function(e){var t={dispose:function(){}};e.None=function(){return t}}(r||(r={}));var u=function(){function e(e){this._options=e}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,r,i){t._listeners||(t._listeners=new s.a);var o=t._listeners.isEmpty();o&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var a,u=t._listeners.push(r?[n,r]:n);return o&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,r),a={dispose:function(){a.dispose=e._noop,t._disposed||(u(),t._options&&t._options.onLastListenerRemove&&t._listeners.isEmpty()&&t._options.onLastListenerRemove(t))}},Array.isArray(i)&&i.push(a),a}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=[]);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.length>0;){var r=this._deliveryQueue.shift(),o=r[0],a=r[1];try{"function"==typeof o?o.call(void 0,a):o[0].call(o[1],a)}catch(n){Object(i.e)(n)}}}},e.prototype.dispose=function(){this._listeners&&(this._listeners=void 0),this._deliveryQueue&&(this._deliveryQueue.length=0),this._disposed=!0},e._noop=function(){},e}(),c=function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new u({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);return Object(a.f)(Object(o.a)(function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)}))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach(function(t){return e.hook(t)})},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach(function(t){return e.unhook(t)})},e.prototype.hook=function(e){var t=this;e.listener=e.event(function(e){return t.emitter.fire(e)})},e.prototype.unhook=function(e){e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}();var l=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,r,i){return e(function(e){var i=t.buffers[t.buffers.length-1];i?i.push(function(){return n.call(r,e)}):n.call(r,e)},void 0,i)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t),e(),this.buffers.pop(),t.forEach(function(e){return e()})},e}();function f(e,t){return function(n,r,i){return void 0===r&&(r=null),e(function(e){return n.call(r,t(e))},null,i)}}function h(e,t){return function(n,r,i){return void 0===r&&(r=null),e(function(e){return t(e)&&n.call(r,e)},null,i)}}var d=function(){function e(e){this._event=e}return Object.defineProperty(e.prototype,"event",{get:function(){return this._event},enumerable:!0,configurable:!0}),e.prototype.map=function(t){return new e(f(this._event,t))},e.prototype.filter=function(t){return new e(h(this._event,t))},e.prototype.on=function(e,t,n){return this._event(e,t,n)},e}();var p=function(){function e(){this.emitter=new u,this.event=this.emitter.event,this.disposable=a.a.None}return Object.defineProperty(e.prototype,"input",{set:function(e){this.disposable.dispose(),this.disposable=e(this.emitter.fire,this.emitter)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.disposable.dispose(),this.emitter.dispose()},e}()},51:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return o});var r=function(){function e(e,t,n){this.offset=0|e,this.type=t,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),i=function(){return function(e,t){this.tokens=e,this.endState=t}}(),o=function(){return function(e,t){this.tokens=e,this.endState=t}}()},53:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i}),t.c=function(e){var t=i;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),t=new RegExp(e.source,n)}return t.lastIndex=0,t},t.d=function(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=i[0].indexOf(" ")>=0?function(e,t,n,r){var i,o=e-1-r;t.lastIndex=0;for(;i=t.exec(n);){if(i.index>o)return null;if(t.lastIndex>=o)return{word:i[0],startColumn:r+1+i.index,endColumn:r+1+t.lastIndex}}return null}(e,t,n,r):function(e,t,n,r){var i,o=e-1-r,a=n.lastIndexOf(" ",o-1)+1,s=n.indexOf(" ",o);-1===s&&(s=n.length);t.lastIndex=a;for(;i=t.exec(n);)if(i.index<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+i.index,endColumn:r+1+t.lastIndex};return null}(e,t,n,r);return t.lastIndex=0,o};var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var i=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0;n<r.length;n++)e.indexOf(r[n])>=0||(t+="\\"+r[n]);return t+="\\s]+)",new RegExp(t,"g")}()},6:function(e,t,n){"use strict";t.e=o,t.f=function(e){s(e)||i.onUnexpectedExternalError(e);return},t.g=function(e){if(e instanceof Error){var t=e.name,n=e.message,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e},t.d=s,t.a=function(){var e=new Error(a);return e.name=e.message,e},t.b=function(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")},t.c=function(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")};var r={};n(3).b.addEventListener("error",function(e){var t=e.detail,n=t.id;t.parent?t.handler&&r&&delete r[n]:(r[n]=t,1===Object.keys(r).length&&setTimeout(function(){var e=r;r={},Object.keys(e).forEach(function(t){var n=e[t];n.exception?o(n.exception):n.error&&o(n.error),console.log("WARNING: Promise with no error callback:"+n.id),console.log(n),n.exception&&console.log(n.exception.stack)})},0))});var i=new(function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}return e.prototype.emit=function(e){this.listeners.forEach(function(t){t(e)})},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}());function o(e){s(e)||i.onUnexpectedError(e)}var a="Canceled";function s(e){return e instanceof Error&&e.name===a&&e.message===a}},64:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=n(30),i=function(){return function(e,t){this.index=e,this.remainder=t}}(),o=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.getCount=function(){return this.values.length},e.prototype.insertValues=function(e,t){e=Object(r.b)(e);var n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(r.b)(e),t=Object(r.b)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},e.prototype.removeValues=function(e,t){e=Object(r.b)(e),t=Object(r.b)(t);var n=this.values,i=this.prefixSum;if(e>=n.length)return!1;var o=n.length-e;return t>=o&&(t=o),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.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(r.b)(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=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]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t,n,r,o=0,a=this.values.length-1;o<=a;)if(t=o+(a-o)/2|0,e<(r=(n=this.prefixSum[t])-this.values[t]))a=t-1;else{if(!(e>=n))break;o=t+1}return new i(t,e-r)},e}(),a=function(){function e(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new o(e),this._bustCache()}return e.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},e.prototype.insertValues=function(e,t){this._actual.insertValues(e,t)&&this._bustCache()},e.prototype.changeValue=function(e,t){this._actual.changeValue(e,t)&&this._bustCache()},e.prototype.removeValues=function(e,t){this._actual.removeValues(e,t)&&this._bustCache()},e.prototype.getTotalValue=function(){return this._actual.getTotalValue()},e.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},e.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var t=e-this._cacheAccumulatedValueStart;if(t>=0&&t<this._cache.length)return this._cache[t]}return this._actual.getIndexOf(e)},e.prototype.warmUpCache=function(e,t){for(var n=[],r=e;r<=t;r++)n[r-e]=this.getIndexOf(r);this._cache=n,this._cacheAccumulatedValueStart=e},e}()},66:function(e,t,n){"use strict";t.a=function(){return{editor:void 0,languages:void 0,CancellationTokenSource:f.b,Emitter:o.a,KeyCode:p,KeyMod:m,Position:s.a,Range:u.a,Selection:c.a,SelectionDirection:c.b,MarkerSeverity:i,MarkerTag:r,Promise:l.b,Uri:d.a,Token:h.a}};var r,i,o=n(5),a=n(31),s=n(4),u=n(1),c=n(18),l=n(3),f=n(25),h=n(51),d=n(20);!function(e){e[e.Unnecessary=1]="Unnecessary"}(r||(r={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(i||(i={}));var p,m=function(){function e(){}return e.chord=function(e,t){return Object(a.a)(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();!function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(p||(p={}))},67:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=function(){return function(e){this.element=e}}(),i=function(){function e(){}return e.prototype.isEmpty=function(){return!this._first},e.prototype.unshift=function(e){return this.insert(e,!1)},e.prototype.push=function(e){return this.insert(e,!0)},e.prototype.insert=function(e,t){var n=this,i=new r(e);if(this._first)if(t){var o=this._last;this._last=i,i.prev=o,o.next=i}else{var a=this._first;this._first=i,i.next=a,a.prev=i}else this._first=i,this._last=i;return function(){for(var e=n._first;e instanceof r;e=e.next)if(e===i){if(e.prev&&e.next){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev||e.next?e.next?e.prev||(n._first=n._first.next,n._first.prev=void 0):(n._last=n._last.prev,n._last.next=void 0):(n._first=void 0,n._last=void 0);break}}},e.prototype.iterator=function(){var e={done:void 0,value:void 0},t=this._first;return{next:function(){return t?(e.done=!1,e.value=t.element,t=t.next):(e.done=!0,e.value=void 0),e}}},e}()},7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"empty",function(){return r}),t.isFalsyOrWhitespace=function(e){if(!e||"string"!=typeof e)return!0;return 0===e.trim().length},t.pad=function(e,t,n){void 0===n&&(n="0");for(var r=""+e,i=[r],o=r.length;o<t;o++)i.push(n);return i.reverse().join("")},t.format=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(0===t.length)return e;return e.replace(i,function(e,n){var r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]})},t.escape=function(e){return e.replace(/[<|>|&]/g,function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}})},t.escapeRegExpCharacters=o,t.trim=function(e,t){void 0===t&&(t=" ");return s(a(e,t),t)},t.ltrim=a,t.rtrim=s,t.convertSimple2RegExpPattern=function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")},t.startsWith=function(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0},t.endsWith=function(e,t){var n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t},t.createRegExp=function(e,t,n){void 0===n&&(n={});if(!e)throw new Error("Cannot create regex from empty string");t||(e=o(e));n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var r="";n.global&&(r+="g");n.matchCase||(r+="i");n.multiline&&(r+="m");return new RegExp(e,r)},t.regExpLeadsToEndlessLoop=function(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return e.exec("")&&0===e.lastIndex},t.firstNonWhitespaceIndex=function(e){for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1},t.getLeadingWhitespace=function(e,t,n){void 0===t&&(t=0);void 0===n&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(32!==i&&9!==i)return e.substring(t,r)}return e.substring(t,n)},t.lastNonWhitespaceIndex=function(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var r=e.charCodeAt(n);if(32!==r&&9!==r)return n}return-1},t.compare=u,t.compareIgnoreCase=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i!==o){l(i)&&(i+=32),l(o)&&(o+=32);var a=i-o;if(0!==a)return c(i)&&c(o)?a:u(e.toLowerCase(),t.toLowerCase())}}return e.length<t.length?-1:e.length>t.length?1:0},t.isLowerAsciiLetter=c,t.isUpperAsciiLetter=l,t.equalsIgnoreCase=function(e,t){var n=e?e.length:0,r=t?t.length:0;if(n!==r)return!1;return h(e,t)},t.startsWithIgnoreCase=function(e,t){var n=t.length;if(t.length>e.length)return!1;return h(e,t,n)},t.commonPrefixLength=function(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r},t.commonSuffixLength=function(e,t){var n,r=Math.min(e.length,t.length),i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r},t.isHighSurrogate=function(e){return 55296<=e&&e<=56319},t.isLowSurrogate=function(e){return 56320<=e&&e<=57343},t.containsRTL=function(e){return d.test(e)},t.containsEmoji=function(e){return p.test(e)},t.isBasicASCII=function(e){return m.test(e)},t.containsFullWidthCharacter=function(e){for(var t=0,n=e.length;t<n;t++)if(g(e.charCodeAt(t)))return!0;return!1},t.isFullWidthCharacter=g,n.d(t,"UTF8_BOM_CHARACTER",function(){return v}),t.startsWithUTF8BOM=function(e){return e&&e.length>0&&65279===e.charCodeAt(0)},t.safeBtoa=function(e){return btoa(encodeURIComponent(e))},t.repeat=function(e,t){for(var n="",r=0;r<t;r++)n+=e;return n};var r="";var i=/{(\d+)}/g;function o(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\[\]\(\)\#]/g,"\\$&")}function a(e,t){if(!e||!t)return e;var n=t.length;if(0===n||0===e.length)return e;for(var r=0;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function s(e,t){if(!e||!t)return e;var n=t.length,r=e.length;if(0===n||0===r)return e;for(var i=r,o=-1;-1!==(o=e.lastIndexOf(t,i-1))&&o+n===i;){if(0===o)return"";i=o}return e.substring(0,i)}function u(e,t){return e<t?-1:e>t?1:0}function c(e){return e>=97&&e<=122}function l(e){return e>=65&&e<=90}function f(e){return c(e)||l(e)}function h(e,t,n){if(void 0===n&&(n=e.length),"string"!=typeof e||"string"!=typeof t)return!1;for(var r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i!==o)if(f(i)&&f(o)){var a=Math.abs(i-o);if(0!==a&&32!==a)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}var d=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;var p=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEF8]|\uD83E[\uDD00-\uDDE6])/;var m=/^[\t\n\r\x20-\x7E]*$/;function g(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}var v=String.fromCharCode(65279)},71:function(e,t,n){"use strict";t.c=function(e){if(!u.f)return;f||(f=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq"));console.warn(e.message)},n.d(t,"a",function(){return d}),n.d(t,"b",function(){return p});var r,i=n(6),o=n(0),a=n(3),s=n(11),u=n(10),c=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l="$initialize",f=!1;var h=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=String(++this._lastSentReq),r={c:null,e:null},i=new a.b(function(e,t){r.c=e,r.e=t},function(){});return this._pendingReplies[n]=r,this._send({vsWorker:this._workerId,req:n,method:e,args:t}),i},e.prototype.handleMessage=function(e){var t;try{t=JSON.parse(e)}catch(e){}t&&t.vsWorker&&(-1!==this._workerId&&t.vsWorker!==this._workerId||this._handleMessage(t))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var r=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var o=n.err;return n.err.$isError&&((o=new Error).name=n.err.name,o.message=n.err.message,o.stack=n.err.stack),void r.e(o)}r.c(n.res)}else{var a=e,s=a.req;this._handler.handleMessage(a.method,a.args).then(function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})},function(e){e.detail instanceof Error&&(e.detail=Object(i.g)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(i.g)(e)})})}},e.prototype._send=function(e){var t=JSON.stringify(e);this._handler.sendMessage(t)},e}(),d=function(e){function t(t,n){var r=e.call(this)||this,i=null,o=null;r._worker=r._register(t.create("vs/base/common/worker/simpleWorker",function(e){r._protocol.handleMessage(e)},function(e){o(e)})),r._protocol=new h({sendMessage:function(e){r._worker.postMessage(e)},handleMessage:function(e,t){return a.b.as(null)}}),r._protocol.setWorkerId(r._worker.getId());var s=null;void 0!==self.require&&"function"==typeof self.require.getConfig?s=self.require.getConfig():void 0!==self.requirejs&&(s=self.requirejs.s.contexts._.config),r._lazyProxy=new a.b(function(e,t){i=e,o=t},function(){}),r._onModuleLoaded=r._protocol.sendMessage(l,[r._worker.getId(),n,s]),r._onModuleLoaded.then(function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=c(e[n],u);i(t)},function(e){o(e),r._onError("Worker failed to load "+n,e)});var u=function(e,t){return r._request(e,t)},c=function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}};return r}return c(t,e),t.prototype.getProxyObject=function(){return new s.d(this._lazyProxy)},t.prototype._request=function(e,t){var n=this;return new a.b(function(r,i){n._onModuleLoaded.then(function(){n._protocol.sendMessage(e,t).then(r,i)},i)},function(){})},t.prototype._onError=function(e,t){console.error(e),console.info(t)},t}(o.a),p=function(){function e(e,t){var n=this;this._requestHandler=t,this._protocol=new h({sendMessage:function(t){e(t)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}return e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,t){if(e===l)return this.initialize(t[0],t[1],t[2]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return a.b.wrapError(new Error("Missing requestHandler or method: "+e));try{return a.b.as(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return a.b.wrapError(e)}},e.prototype.initialize=function(e,t,n){var r,i,o=this;if(this._protocol.setWorkerId(e),this._requestHandler){var s=[];for(var u in this._requestHandler)"function"==typeof this._requestHandler[u]&&s.push(u);return a.b.as(s)}n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,n.catchError=!0,self.require.config(n));var c=new a.b(function(e,t){r=e,i=t});return self.require([t],function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0];o._requestHandler=n.create();var i=[];for(var a in o._requestHandler)"function"==typeof o._requestHandler[a]&&i.push(a);r(i)},i),c},e}()},74:function(e,t,n){"use strict";t.a=function(e){var t,n=this,r=!1;return function(){return r?t:(r=!0,t=e.apply(n,arguments))}}},744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99),i=n(745);self.onmessage=function(){r.initialize(function(e,t){return new i.a(e,t)})}},745:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(746),i=n(91),o=monaco.Promise,a=function(){function e(e){this.wrapped=new monaco.Promise(e)}return e.prototype.then=function(e,t){return this.wrapped.then(e,t)},e.prototype.getWrapped=function(){return this.wrapped},e.prototype.cancel=function(){this.wrapped.cancel()},e.resolve=function(e){return monaco.Promise.as(e)},e.reject=function(e){return monaco.Promise.wrapError(e)},e.all=function(e){return monaco.Promise.join(e)},e}(),s=function(){function e(e,t){this._ctx=e,this._languageSettings=t.languageSettings,this._languageId=t.languageId,this._languageService=r.a({promiseConstructor:a}),this._languageService.configure(this._languageSettings)}return e.prototype.doValidation=function(e){var t=this._getTextDocument(e);if(t){var n=this._languageService.parseJSONDocument(t);return this._languageService.doValidation(t,n)}return o.as([])},e.prototype.doComplete=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n);return this._languageService.doComplete(n,t,r)},e.prototype.doResolve=function(e){return this._languageService.doResolve(e)},e.prototype.doHover=function(e,t){var n=this._getTextDocument(e),r=this._languageService.parseJSONDocument(n);return this._languageService.doHover(n,t,r)},e.prototype.format=function(e,t,n){var r=this._getTextDocument(e),i=this._languageService.format(r,t,n);return o.as(i)},e.prototype.resetSchema=function(e){return o.as(this._languageService.resetSchema(e))},e.prototype.findDocumentSymbols=function(e){var t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentSymbols(t,n);return o.as(r)},e.prototype.findDocumentColors=function(e){var t=this._getTextDocument(e),n=this._languageService.parseJSONDocument(t),r=this._languageService.findDocumentColors(t,n);return o.as(r)},e.prototype.getColorPresentations=function(e,t,n){var r=this._getTextDocument(e),i=this._languageService.parseJSONDocument(r),a=this._languageService.getColorPresentations(r,i,t,n);return o.as(a)},e.prototype.provideFoldingRanges=function(e,t){var n=this._getTextDocument(e),r=this._languageService.getFoldingRanges(n,t);return o.as(r)},e.prototype._getTextDocument=function(e){for(var t=0,n=this._ctx.getMirrorModels();t<n.length;t++){var r=n[t];if(r.uri.toString()===e)return i.l.create(e,this._languageId,r.version,r.getValue())}return null},e}()},746:function(e,t,n){"use strict";t.a=function(e){var t=e.promiseConstructor||Promise,n=new l.a(e.schemaRequestService,e.workspaceContext,t);n.setSchemaContributions(c.a);var d=new i.a(n,e.contributions,t),p=new o.a(n,e.contributions,t),m=new s.a(n),g=new a.a(n,t);return{configure:function(e){n.clearExternalSchemas(),e.schemas&&e.schemas.forEach(function(e){n.registerExternalSchema(e.uri,e.fileMatch,e.schema)}),g.configure(e)},resetSchema:function(e){return n.onResourceChange(e)},doValidation:g.doValidation.bind(g),parseJSONDocument:function(e){return Object(u.f)(e,{collectComments:!0})},newJSONDocument:function(e,t){return Object(u.e)(e,t)},doResolve:d.doResolve.bind(d),doComplete:d.doComplete.bind(d),findDocumentSymbols:m.findDocumentSymbols.bind(m),findColorSymbols:function(e,t){return m.findDocumentColors(e,t).then(function(e){return e.map(function(e){return e.range})})},findDocumentColors:m.findDocumentColors.bind(m),getColorPresentations:m.getColorPresentations.bind(m),doHover:p.doHover.bind(p),getFoldingRanges:f.a,format:function(e,t,n){var i=void 0;if(t){var o=e.offsetAt(t.start),a=e.offsetAt(t.end)-o;i={offset:o,length:a}}var s={tabSize:n?n.tabSize:4,insertSpaces:!n||n.insertSpaces,eol:"\n"};return Object(h.c)(e.getText(),i,s).map(function(t){return r.m.replace(r.j.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)),t.content)})}}};var r=n(91),i=n(747),o=n(750),a=n(751),s=n(752),u=n(147),c=n(754),l=n(755),f=n(756),h=n(137);n(164)},747:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(147),i=n(137),o=n(749),a=n(236),s=n(91),u=n(148).a(),c=function(){function e(e,t,n){void 0===t&&(t=[]),this.templateVarIdCounter=0,this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--)if(this.contributions[t].resolveCompletion){var n=this.contributions[t].resolveCompletion(e);if(n)return n}return this.promise.resolve(e)},e.prototype.doComplete=function(e,t,n){var i=this,o={items:[],isIncomplete:!1},a=e.offsetAt(t),u=n.getNodeFromOffset(a,!0);if(this.isInComment(e,u?u.offset:0,a))return Promise.resolve(o);var c=this.getCurrentWord(e,a),l=null;if(!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type){var f=a-c.length;f>0&&'"'===e.getText()[f-1]&&f--,l=s.j.create(e.positionAt(f),t)}else l=s.j.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length));var h={},d={add:function(e){var t=h[e.label];t?t.documentation||(t.documentation=e.documentation):(h[e.label]=e,l&&(e.textEdit=s.m.replace(l,e.insertText)),o.items.push(e))},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then(function(t){var f=[],p=!0,m="",g=null;if(u&&"string"===u.type){var v=u.parent;v&&"property"===v.type&&v.keyNode===u&&(p=!v.valueNode,g=v,m=e.getText().substr(u.offset+1,u.length-2),v&&(u=v.parent))}if(u&&"object"===u.type){if(u.offset===a)return o;u.properties.forEach(function(e){g&&g===e||(h[e.keyNode.value]=s.a.create("__"))});var y="";p&&(y=i.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?i.getPropertyCompletions(t,n,u,p,y,d):i.getSchemaLessPropertyCompletions(n,u,m,d);var b=r.c(u);i.contributions.forEach(function(t){var n=t.collectPropertyCompletions(e.uri,b,c,p,""===y,d);n&&f.push(n)}),!t&&c.length>0&&'"'!==e.getText().charAt(a-c.length-1)&&d.add({kind:s.b.Property,label:i.getLabelForValue(c),insertText:i.getInsertTextForProperty(c,null,!1,y),insertTextFormat:s.f.Snippet,documentation:""})}var _={};return t?i.getValueCompletions(t,n,u,a,e,d,_):i.getSchemaLessValueCompletions(n,u,a,e,d),i.contributions.length>0&&i.getContributedValueCompletions(n,u,a,e,d,f),i.promise.all(f).then(function(){if(0===d.getNumberOfProposals()){var t=a;!u||"string"!==u.type&&"number"!==u.type&&"boolean"!==u.type&&"null"!==u.type||(t=u.offset+u.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(_,n,d)}return o})})},e.prototype.getPropertyCompletions=function(e,t,n,r,i,o){var u=this;t.getMatchingSchemas(e.schema,n.offset).forEach(function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach(function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var c={kind:s.b.Property,label:e,insertText:u.getInsertTextForProperty(e,n,r,i),insertTextFormat:s.f.Snippet,filterText:u.getFilterTextForValue(e),documentation:n.description||""};Object(a.b)(c.insertText,"$1"+i)&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(c)}})}})},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,r){var i=this,o=function(e){e.properties.forEach(function(e){var t=e.keyNode.value;r.add({kind:s.b.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:s.f.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})})};if(t.parent)if("property"===t.parent.type){var a=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===a&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0})}else"array"===t.parent.type&&t.parent.items.forEach(function(e){"object"===e.type&&e!==t&&o(e)});else"object"===t.type&&r.add({kind:s.b.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",null,!0,""),insertTextFormat:s.f.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,i,o){var a=this,u=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(u=t.offset+t.length,t=t.parent),!t)return o.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:s.f.Snippet,documentation:""}),void o.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:s.f.Snippet,documentation:""});var c=this.evaluateSeparatorAfter(i,u),l=function(e){r.b(e.parent,n,!0)||o.add({kind:a.getSuggestionKind(e.type),label:a.getLabelTextForMatchingNode(e,i),insertText:a.getInsertTextForMatchingNode(e,i,c),insertTextFormat:s.f.Snippet,documentation:""}),"boolean"===e.type&&a.addBooleanValueCompletion(!e.value,c,o)};if("property"===t.type&&n>t.colonOffset){var f=t.valueNode;if(f&&(n>f.offset+f.length||"object"===f.type||"array"===f.type))return;var h=t.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&l(e.valueNode),!0}),"$schema"===h&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(c,o)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var d=t.parent.keyNode.value;e.visit(function(e){return"property"===e.type&&e.keyNode.value===d&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0})}else t.items.forEach(l)},e.prototype.getValueCompletions=function(e,t,n,r,i,o,a){var s=this,u=r,c=null,l=null;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(u=n.offset+n.length,l=n,n=n.parent),n){if("property"===n.type&&r>n.colonOffset){var f=n.valueNode;if(f&&r>f.offset+f.length)return;c=n.keyNode.value,n=n.parent}if(n&&(null!==c||"array"===n.type)){var h=this.evaluateSeparatorAfter(i,u);t.getMatchingSchemas(e.schema,n.offset,l).forEach(function(e){if(e.node===n&&!e.inverted&&e.schema){if("array"===n.type&&e.schema.items)if(Array.isArray(e.schema.items)){var t=s.findItemAtOffset(n,i,r);t<e.schema.items.length&&s.addSchemaValueCompletions(e.schema.items[t],h,o,a)}else s.addSchemaValueCompletions(e.schema.items,h,o,a);if(e.schema.properties){var u=e.schema.properties[c];u&&s.addSchemaValueCompletions(u,h,o,a)}}}),"$schema"!==c||n.parent||this.addDollarSchemaCompletions(h,o),a.boolean&&(this.addBooleanValueCompletion(!0,h,o),this.addBooleanValueCompletion(!1,h,o)),a.null&&this.addNullValueCompletion(h,o)}}else this.addSchemaValueCompletions(e.schema,"",o,a)},e.prototype.getContributedValueCompletions=function(e,t,n,i,o,a){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),"property"===t.type&&n>t.colonOffset){var s=t.keyNode.value,u=t.valueNode;if(!u||n<=u.offset+u.length){var c=r.c(t.parent);this.contributions.forEach(function(e){var t=e.collectValueCompletions(i.uri,c,s,o);t&&a.push(t)})}}}else this.contributions.forEach(function(e){var t=e.collectDefaultCompletions(i.uri,o);t&&a.push(t)})},e.prototype.addSchemaValueCompletions=function(e,t,n,r){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,r),Array.isArray(e.allOf)&&e.allOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.anyOf)&&e.anyOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}),Array.isArray(e.oneOf)&&e.oneOf.forEach(function(e){return i.addSchemaValueCompletions(e,t,n,r)}))},e.prototype.addDefaultValueCompletions=function(e,t,n,r){var i=this;void 0===r&&(r=0);var o=!1;if(l(e.default)){for(var a=e.type,c=e.default,f=r;f>0;f--)c=[c],a="array";n.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(c),insertText:this.getInsertTextForValue(c,t),insertTextFormat:s.f.Snippet,detail:u("json.suggest.default","Default value")}),o=!0}Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach(function(a){var u,c,f=e.type,h=a.body,d=a.label;if(l(h)){e.type;for(var p=r;p>0;p--)h=[h],"array";u=i.getInsertTextForSnippetValue(h,t),c=i.getFilterTextForSnippetValue(h),d=d||i.getLabelForSnippetValue(h)}else if("string"==typeof a.bodyText){var m="",g="",v="";for(p=r;p>0;p--)m=m+v+"[\n",g=g+"\n"+v+"]",v+="\t",f="array";u=m+v+a.bodyText.split("\n").join("\n"+v)+g+t,d=d||u,c=u.replace(/[\n]/g,"")}n.add({kind:i.getSuggestionKind(f),label:d,documentation:a.description,insertText:u,insertTextFormat:s.f.Snippet,filterText:c}),o=!0}),o||"object"!=typeof e.items||Array.isArray(e.items)||this.addDefaultValueCompletions(e.items,t,n,r+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(l(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:s.f.Snippet,documentation:e.description}),Array.isArray(e.enum))for(var r=0,i=e.enum.length;r<i;r++){var o=e.enum[r],a=e.description;e.enumDescriptions&&r<e.enumDescriptions.length&&(a=e.enumDescriptions[r]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:s.f.Snippet,documentation:a})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!l(e.const)){var n=e.type;Array.isArray(n)?n.forEach(function(e){return t[e]=!0}):t[n]=!0}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:s.f.Snippet,detail:u("defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:s.f.Snippet,detail:u("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:s.f.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:s.f.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds(function(e){return"http"===e||"https"===e}).forEach(function(r){return t.add({kind:s.b.Module,label:n.getLabelForValue(r),filterText:n.getFilterTextForValue(r),insertText:n.getInsertTextForValue(r,e),insertTextFormat:s.f.Snippet,documentation:""})})},e.prototype.getLabelForValue=function(e){var t=JSON.stringify(e);return t.length>57?t.substr(0,57).trim()+"...":t},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){var t=JSON.stringify(e);return(t=t.replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")).length>57?t.substr(0,57).trim()+"...":t},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{\n\t$1\n}"+t:"[]"===n?"[\n\t$1\n]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return Object(o.a)(e,"",function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)})+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:null}if(!e)return s.b.Value;switch(e){case"string":return s.b.Value;case"object":return s.b.Module;case"property":return s.b.Property;default:return s.b.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var r=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(r)}},e.prototype.getInsertTextForProperty=function(e,t,n,r){var i=this.getInsertTextForValue(e,"");if(!n)return i;var o,a=i+": ",s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;l(u)&&(o=this.getInsertTextForSnippetValue(u,""))}s+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),l(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),s++),0===s){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{\n\t$1\n}";break;case"array":o="[\n\t$1\n]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||s>1)&&(o="$1"),a+o+r},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,r=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=i.a(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var r=i.a(t.getText(),!0),o=e.items,a=o.length-1;a>=0;a--){var s=o[a];if(n>s.offset+s.length)return r.setPosition(s.offset+s.length),5===r.scan()&&n>=r.getTokenOffset()+r.getTokenLength()?a+1:a;if(n>=s.offset)return a}return 0},e.prototype.isInComment=function(e,t,n){var r=i.a(e.getText(),!1);r.setPosition(t);for(var o=r.scan();17!==o&&r.getTokenOffset()+r.getTokenLength()<n;)o=r.scan();return(12===o||13===o)&&r.getTokenOffset()<=n},e}();function l(e){return void 0!==e}},748:function(e,t,n){"use strict";t.a=function e(t,n){if(t===n)return!0;if(null===t||void 0===t||null===n||void 0===n)return!1;if(typeof t!=typeof n)return!1;if("object"!=typeof t)return!1;if(Array.isArray(t)!==Array.isArray(n))return!1;var r,i;if(Array.isArray(t)){if(t.length!==n.length)return!1;for(r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else{var o=[];for(i in t)o.push(i);o.sort();var a=[];for(i in n)a.push(i);if(a.sort(),!e(o,a))return!1;for(r=0;r<o.length;r++)if(!e(t[o[r]],n[o[r]]))return!1}return!0}},749:function(e,t,n){"use strict";t.a=function e(t,n,r){if(null!==t&&"object"==typeof t){var i=n+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",a=0;a<t.length;a++)o+=i+e(t[a],i,r),a<t.length-1&&(o+=","),o+="\n";return o+=n+"]"}var s=Object.keys(t);if(0===s.length)return"{}";for(var o="{\n",a=0;a<s.length;a++){var u=s[a];o+=i+JSON.stringify(u)+": "+e(t[u],i,r),a<s.length-1&&(o+=","),o+="\n"}return o+=n+"}"}return r(t)}},750:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(147),i=n(91),o=function(){function e(e,t,n){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=n||Promise}return e.prototype.doHover=function(e,t,n){var o=e.offsetAt(t),s=n.getNodeFromOffset(o);if(!s||("object"===s.type||"array"===s.type)&&o>s.offset+1&&o<s.offset+s.length-1)return this.promise.resolve(null);var u=s;if("string"===s.type){var c=s.parent;if("property"===c.type&&c.keyNode===s&&!(s=c.valueNode))return this.promise.resolve(null)}for(var l=i.j.create(e.positionAt(u.offset),e.positionAt(u.offset+u.length)),f=function(e){return{contents:e,range:l}},h=r.c(s),d=this.contributions.length-1;d>=0;d--){var p=this.contributions[d].getInfoContribution(e.uri,h);if(p)return p.then(function(e){return f(e)})}return this.schemaService.getSchemaForResource(e.uri,n).then(function(e){if(e){var t=null,i=null,o=null,u=null;n.getMatchingSchemas(e.schema,s.offset).every(function(e){if(e.node===s&&!e.inverted&&e.schema&&(t=t||e.schema.title,i=i||e.schema.markdownDescription||a(e.schema.description),e.schema.enum)){var n=e.schema.enum.indexOf(r.d(s));e.schema.markdownEnumDescriptions?o=e.schema.markdownEnumDescriptions[n]:e.schema.enumDescriptions&&(o=a(e.schema.enumDescriptions[n])),o&&"string"!=typeof(u=e.schema.enum[n])&&(u=JSON.stringify(u))}return!0});var c="";return t&&(c=a(t)),i&&(c.length>0&&(c+="\n\n"),c+=i),o&&(c.length>0&&(c+="\n\n"),c+="`"+a(u)+"`: "+o),f([c])}return null})},e}();function a(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}},751:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(91),i=n(164),o=n(148).a(),a=function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}return e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:r.d.Error)},e.prototype.doValidation=function(e,t,n,a){var c=this;if(!this.validationEnabled)return this.promise.resolve([]);var l=[],f={},h=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;f[t]||(f[t]=!0,l.push(e))},d=function(a){var f=n?u(n.trailingCommas):r.d.Error,d=n?u(n.comments):c.commentSeverity;if(a){if(a.errors.length&&t.root){var p=t.root,m="object"===p.type?p.properties[0]:null;if(m&&"$schema"===m.keyNode.value){var g=m.valueNode||m,v=r.j.create(e.positionAt(g.offset),e.positionAt(g.offset+g.length));h(r.c.create(v,a.errors[0],r.d.Warning,i.a.SchemaResolveError))}else{v=r.j.create(e.positionAt(p.offset),e.positionAt(p.offset+1));h(r.c.create(v,a.errors[0],r.d.Warning,i.a.SchemaResolveError))}}else{var y=t.validate(e,a.schema);y&&y.forEach(h)}s(a.schema)&&(f=d=void 0)}if(t.syntaxErrors.forEach(function(e){if(e.code===i.a.TrailingComma){if("number"!=typeof d)return;e.severity=f}h(e)}),"number"==typeof d){var b=o("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach(function(e){h(r.c.create(e,b,d,i.a.CommentNotPermitted))})}return l};return a?this.promise.resolve(d(a)):this.jsonSchemaService.getSchemaForResource(e.uri,t).then(function(e){return d(e)})},e}();function s(e){if(e&&"object"==typeof e){if(e.allowComments)return!0;if(e.allOf)return e.allOf.some(s)}return!1}function u(e){switch(e){case"error":return r.d.Error;case"warning":return r.d.Warning;case"ignore":return}}},752:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(147),i=n(236),o=n(753),a=n(91),s=function(){function e(e){this.schemaService=e}return e.prototype.findDocumentSymbols=function(e,t){var n=this,o=t.root;if(!o)return null;var s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||i.b(s.toLowerCase(),"/user/keybindings.json"))&&"array"===o.type){var u=[];return o.items.forEach(function(t){if("object"===t.type)for(var n=0,i=t.properties;n<i.length;n++){var o=i[n];if("key"===o.keyNode.value){if(o.valueNode){var s=a.g.create(e.uri,a.j.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length)));u.push({name:r.d(o.valueNode),kind:a.k.Function,location:s})}return}}}),u}var c=function(t,r,i){return"array"===r.type?r.items.forEach(function(e){return c(t,e,i)}):"object"===r.type&&r.properties.forEach(function(r){var o=a.g.create(e.uri,a.j.create(e.positionAt(r.offset),e.positionAt(r.offset+r.length))),s=r.valueNode;if(s){var u=i?i+"."+r.keyNode.value:r.keyNode.value;t.push({name:r.keyNode.value,kind:n.getSymbolKind(s.type),location:o,containerName:i}),c(t,s,u)}}),t};return c([],o,void 0)},e.prototype.getSymbolKind=function(e){switch(e){case"object":return a.k.Module;case"string":return a.k.String;case"number":return a.k.Number;case"array":return a.k.Array;case"boolean":return a.k.Boolean;default:return a.k.Variable}},e.prototype.findDocumentColors=function(e,t){return this.schemaService.getSchemaForResource(e.uri,t).then(function(n){var i=[];if(n)for(var s={},u=0,c=t.getMatchingSchemas(n.schema);u<c.length;u++){var l=c[u];if(!l.inverted&&l.schema&&("color"===l.schema.format||"color-hex"===l.schema.format)&&l.node&&"string"===l.node.type){var f=String(l.node.offset);if(!s[f]){var h=Object(o.a)(r.d(l.node));if(h){var d=a.j.create(e.positionAt(l.node.offset),e.positionAt(l.node.offset+l.node.length));i.push({color:h,range:d})}s[f]=!0}}}return i})},e.prototype.getColorPresentations=function(e,t,n,r){var i,o=[],s=Math.round(255*n.red),u=Math.round(255*n.green),c=Math.round(255*n.blue);function l(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===n.alpha?"#"+l(s)+l(u)+l(c):"#"+l(s)+l(u)+l(c)+l(Math.round(255*n.alpha)),o.push({label:i,textEdit:a.m.replace(r,JSON.stringify(i))}),o},e}()},753:function(e,t,n){"use strict";t.a=function(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*u(e.charCodeAt(1))/255,green:17*u(e.charCodeAt(2))/255,blue:17*u(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*u(e.charCodeAt(1))/255,green:17*u(e.charCodeAt(2))/255,blue:17*u(e.charCodeAt(3))/255,alpha:17*u(e.charCodeAt(4))/255};case 7:return{red:(16*u(e.charCodeAt(1))+u(e.charCodeAt(2)))/255,green:(16*u(e.charCodeAt(3))+u(e.charCodeAt(4)))/255,blue:(16*u(e.charCodeAt(5))+u(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*u(e.charCodeAt(1))+u(e.charCodeAt(2)))/255,green:(16*u(e.charCodeAt(3))+u(e.charCodeAt(4)))/255,blue:(16*u(e.charCodeAt(5))+u(e.charCodeAt(6)))/255,alpha:(16*u(e.charCodeAt(7))+u(e.charCodeAt(8)))/255}}return null};var r=48,i=57,o=65,a=97,s=102;function u(e){return e<r?0:e<=i?e-r:(e<a&&(e+=a-o),e>=a&&e<=s?e-a+10:0)}},754:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(148).a(),i={schemaAssociations:{},schemas:{"http://json-schema.org/draft-04/schema#":{title:r("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",description:r("schema.json.id","A unique identifier for the schema.")},$schema:{type:"string",format:"uri",description:r("schema.json.$schema","The schema to verify this document against ")},title:{type:"string",description:r("schema.json.title","A descriptive title of the element")},description:{type:"string",description:r("schema.json.description","A long description of the element. Used in hover menus and suggestions.")},default:{description:r("schema.json.default","A default value. Used by suggestions.")},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0,description:r("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)")},maximum:{type:"number",description:r("schema.json.maximum","The maximum numerical value, inclusive by default.")},exclusiveMaximum:{type:"boolean",default:!1,description:r("schema.json.exclusiveMaximum","Makes the maximum property exclusive.")},minimum:{type:"number",description:r("schema.json.minimum","The minimum numerical value, inclusive by default.")},exclusiveMinimum:{type:"boolean",default:!1,description:r("schema.json.exclusiveMininum","Makes the minimum property exclusive.")},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}],description:r("schema.json.maxLength","The maximum length of a string.")},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}],description:r("schema.json.minLength","The minimum length of a string.")},pattern:{type:"string",format:"regex",description:r("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored.")},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{},description:r("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:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{},description:r("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:{allOf:[{$ref:"#/definitions/positiveInteger"}],description:r("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive.")},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}],description:r("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive.")},uniqueItems:{type:"boolean",default:!1,description:r("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false.")},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}],description:r("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive.")},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}],description:r("schema.json.minProperties","The minimum number of properties an object can have. Inclusive.")},required:{allOf:[{$ref:"#/definitions/stringArray"}],description:r("schema.json.required","An array of strings that lists the names of all properties required on this object.")},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{},description:r("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:{type:"object",additionalProperties:{$ref:"#"},default:{},description:r("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref")},properties:{type:"object",additionalProperties:{$ref:"#"},default:{},description:r("schema.json.properties","A map of property names to schemas for each property.")},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{},description:r("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties.")},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]},description:r("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:{type:"array",minItems:1,uniqueItems:!0,description:r("schema.json.enum","The set of literal values that are valid")},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}],description:r("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:{anyOf:[{type:"string",description:r("schema.json.format","Describes the format expected for the value."),enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}],description:r("schema.json.allOf","An array of schemas, all of which must match.")},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}],description:r("schema.json.anyOf","An array of schemas, where at least one must match.")},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}],description:r("schema.json.oneOf","An array of schemas, exactly one of which must match.")},not:{allOf:[{$ref:"#"}],description:r("schema.json.not","A schema which must not match.")}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}}}}},755:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(137),i=n(296),o=n(236),a=n(147),s=n(148).a(),u=function(){function e(e){try{this.patternRegExp=new RegExp(o.a(e)+"$")}catch(e){this.patternRegExp=null}this.schemas=[]}return e.prototype.addSchema=function(e){this.schemas.push(e)},e.prototype.matchesPattern=function(e){return this.patternRegExp&&this.patternRegExp.test(e)},e.prototype.getSchemas=function(){return this.schemas},e}(),c=function(){function e(e,t,n){this.service=e,this.url=t,n&&(this.unresolvedSchema=this.service.promise.resolve(new l(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then(function(t){return e.service.resolveSchemaContent(t,e.url)})),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=null,this.unresolvedSchema=null},e}(),l=function(){return function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}}(),f=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){return a.a(this.getSectionRecursive(e,this.schema))},e.prototype.getSectionRecursive=function(e,t){var n=this;if(!t||"boolean"==typeof t||0===e.length)return t;var r=e.shift();if(t.properties&&(t.properties[r],1))return this.getSectionRecursive(e,t.properties[r]);if(t.patternProperties)Object.keys(t.patternProperties).forEach(function(i){if(new RegExp(i).test(r))return n.getSectionRecursive(e,t.patternProperties[i])});else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(r.match("[0-9]+"))if(Array.isArray(t.items)){var i=parseInt(r,10);if(!isNaN(i)&&t.items[i])return this.getSectionRecursive(e,t.items[i])}else if(t.items)return this.getSectionRecursive(e,t.items)}return null},e}(),h=function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations={},this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={}}return e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter(function(t){var n=i.a.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))})},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){e=this.normalizeId(e);var t=this.schemasById[e];return!!t&&(t.clearSchema(),!0)},e.prototype.normalizeId=function(e){return i.a.parse(e).toString()},e.prototype.setSchemaContributions=function(e){var t=this;if(e.schemas){var n=e.schemas;for(var r in n){var i=this.normalizeId(r);this.contributionSchemas[i]=this.addSchemaHandle(i,n[r])}}if(e.schemaAssociations){var o=e.schemaAssociations;for(var a in o){var s=o[a];this.contributionAssociations[a]=s;var u=this.getOrAddFilePatternAssociation(a);s.forEach(function(e){var n=t.normalizeId(e);u.addSchema(n)})}}},e.prototype.addSchemaHandle=function(e,t){var n=new c(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.getOrAddFilePatternAssociation=function(e){var t=this.filePatternAssociationById[e];return t||(t=new u(e),this.filePatternAssociationById[e]=t,this.filePatternAssociations.push(t)),t},e.prototype.registerExternalSchema=function(e,t,n){var r=this;void 0===t&&(t=null);var i=this.normalizeId(e);return this.registeredSchemasIds[i]=!0,t&&t.forEach(function(e){r.getOrAddFilePatternAssociation(e).addSchema(i)}),n?this.addSchemaHandle(i,n):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){var e=this;for(var t in this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={},this.contributionSchemas)this.schemasById[t]=this.contributionSchemas[t],this.registeredSchemasIds[t]=!0;for(var n in this.contributionAssociations){var r=this.getOrAddFilePatternAssociation(n);this.contributionAssociations[n].forEach(function(t){var n=e.normalizeId(t);r.addSchema(n)})}},e.prototype.getResolvedSchema=function(e){var t=this.normalizeId(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(null)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=s("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",d(e));return this.promise.resolve(new l({},[t]))}return this.requestService(e).then(function(t){if(!t){var n=s("json.schema.nocontent","Unable to load schema from '{0}': No content.",d(e));return new l({},[n])}var i,o=[];i=r.f(t,o);var a=o.length?[s("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",d(e),o[0].offset)]:[];return new l(i,a)},function(t){var n=s("json.schema.unabletoload","Unable to load schema from '{0}': {1}",d(e),t.toString());return new l({},[n])})},e.prototype.resolveSchemaContent=function(e,t){var n=this,r=e.errors.slice(0),i=e.schema,o=this.contextService,a=function(e,t,n,i){var o=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some(function(e){return!(n=n[e])}),n}(t,i);if(o)for(var a in o)o.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=o[a]);else r.push(s("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",i,n))},u=function(e,t,i,u){return o&&!/^\w+:\/\/.*/.test(t)&&(t=o.resolveRelativePath(t,u)),t=n.normalizeId(t),n.getOrAddSchemaHandle(t).getUnresolvedSchema().then(function(n){if(n.errors.length){var o=i?t+"#"+i:t;r.push(s("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return a(e,n.schema,t,i),c(e,n.schema,t)})},c=function(e,t,r){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var i=[e],o=[],s=[],c=function(e){for(;e.$ref;){var n=e.$ref.split("#",2);if(delete e.$ref,n[0].length>0)return void s.push(u(e,n[0],n[1],r));a(e,t,r,n[1])}!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 o=r[n];"object"==typeof o&&i.push(o)}}(e.items,e.additionalProperties,e.not,e.contains,e.propertyNames),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 o=r[n];if("object"==typeof o)for(var a in o){var s=o[a];"object"==typeof s&&i.push(s)}}}(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 o=r[n];if(Array.isArray(o))for(var a=0,s=o;a<s.length;a++){var u=s[a];"object"==typeof u&&i.push(u)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};i.length;){var l=i.pop();o.indexOf(l)>=0||(o.push(l),c(l))}return n.promise.all(s)};return c(i,i,t).then(function(e){return new f(i,r)})},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter(function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type});if(n.length>0){var r=a.d(n[0].valueNode);if(r&&o.c(r,".")&&this.contextService&&(r=this.contextService.resolveRelativePath(r,e)),r){var i=this.normalizeId(r);return this.getOrAddSchemaHandle(i).getResolvedSchema()}}}for(var s=Object.create(null),u=[],c=0,l=this.filePatternAssociations;c<l.length;c++){var f=l[c];if(f.matchesPattern(e))for(var h=0,d=f.getSchemas();h<d.length;h++){var p=d[h];s[p]||(u.push(p),s[p]=!0)}}return u.length>0?this.createCombinedSchema(e,u).getResolvedSchema():this.promise.resolve(null)},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),r={allOf:t.map(function(e){return{$ref:e}})};return this.addSchemaHandle(n,r)},e}();function d(e){try{var t=i.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}},756:function(e,t,n){"use strict";t.a=function(e,t){var n=[],a=[],s=[],u=-1,c=Object(i.a)(e.getText(),!1),l=c.scan();function f(e){n.push(e),a.push(s.length)}for(;17!==l;){switch(l){case 1:case 3:var h=e.positionAt(c.getTokenOffset()).line,d={startLine:h,endLine:h,kind:1===l?"object":"array"};s.push(d);break;case 2:case 4:var p=2===l?"object":"array";if(s.length>0&&s[s.length-1].kind===p){var d=s.pop(),m=e.positionAt(c.getTokenOffset()).line;d&&m>d.startLine+1&&u!==d.startLine&&(d.endLine=m-1,f(d),u=d.startLine)}break;case 13:var h=e.positionAt(c.getTokenOffset()).line,g=e.positionAt(c.getTokenOffset()+c.getTokenLength()).line;1===c.getTokenError()&&h+1<e.lineCount?c.setPosition(e.offsetAt(r.i.create(h+1,0))):h<g&&(f({startLine:h,endLine:g,kind:o.b.Comment}),u=h);break;case 12:var v=e.getText().substr(c.getTokenOffset(),c.getTokenLength()),y=v.match(/^\/\/\s*#(region\b)|(endregion\b)/);if(y){var m=e.positionAt(c.getTokenOffset()).line;if(y[1]){var d={startLine:m,endLine:m,kind:o.b.Region};s.push(d)}else{for(var b=s.length-1;b>=0&&s[b].kind!==o.b.Region;)b--;if(b>=0){var d=s[b];s.length=b,m>d.startLine&&u!==d.startLine&&(d.endLine=m,f(d),u=d.startLine)}}}}l=c.scan()}var _=t&&t.rangeLimit;if("number"!=typeof _||n.length<=_)return n;for(var C=[],S=0,E=a;S<E.length;S++){var A=E[S];A<30&&(C[A]=(C[A]||0)+1)}for(var x=0,w=0,b=0;b<C.length;b++){var N=C[b];if(N){if(N+x>_){w=b;break}x+=N}}for(var k=[],b=0;b<n.length;b++){var A=a[b];"number"==typeof A&&(A<w||A===w&&x++<_)&&k.push(n[b])}return k};var r=n(91),i=n(137),o=n(164)},78:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var r,i=n(20),o=n(3),a=n(1),s=n(79),u=n(42),c=n(4),l=n(81),f=n(82),h=n(83),d=n(53),p=n(66),m=n(10),g=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=Object(d.d)(e.column,Object(d.c)(t),this._lines[e.lineNumber-1],0);return n?new a.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.getWordUntilPosition=function(e,t){var n=this.getWordAtPosition(e,t);return n?{word:this._lines[e.lineNumber-1].substring(n.startColumn-1,e.column-1),startColumn:n.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.createWordIterator=function(e){var t,n=this,r={done:!1,value:""},i=0,o=0,a=[],s=function(){if(o<a.length)r.done=!1,r.value=t.substring(a[o].start,a[o].end),o+=1;else{if(!(i>=n._lines.length))return t=n._lines[i],a=n._wordenize(t,e),o=0,i+=1,s();r.done=!0,r.value=void 0}return r};return{next:s}},t.prototype._wordenize=function(e,t){var n,r=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)r.push({start:n.index,end:n.index+n[0].length});return r},t.prototype.getValueInRange=function(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(var o=n+1;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!c.a.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._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):n>i&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e},t}(l.a),y=function(e){function t(t){var n=e.call(this,t)||this;return n._models=Object.create(null),n}return g(t,e),t.prototype.dispose=function(){this._models=Object.create(null)},t.prototype._getModel=function(e){return this._models[e]},t.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach(function(n){return t.push(e._models[n])}),t},t.prototype.acceptNewModel=function(e){this._models[e.url]=new v(i.a.parse(e.url),e.lines,e.EOL,e.versionId)},t.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},t.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},t}(function(){function e(e){this._foreignModuleFactory=e,this._foreignModule=null}return e.prototype.computeDiff=function(e,t,n){var r=this._getModel(e),i=this._getModel(t);if(!r||!i)return null;var a=r.getLinesContent(),u=i.getLinesContent(),c=new s.a(a,u,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0});return o.b.as(c.computeDiff())},e.prototype.computeMoreMinimalEdits=function(t,n){var r=this._getModel(t);if(!r)return o.b.as(n);for(var i,s=[],c=0,l=n;c<l.length;c++){var f=l[c],h=f.range,d=f.text,p=f.eol;if("number"==typeof p&&(i=p),h){var m=r.getValueInRange(h);if(m!==(d=d.replace(/\r\n|\n|\r/g,r.eol)))if(Math.max(d.length,m.length)>e._diffLimit)s.push({range:h,text:d});else for(var g=Object(u.b)(m,d,!1),v=r.offsetAt(a.a.lift(h).getStartPosition()),y=0,b=g;y<b.length;y++){var _=b[y],C=r.positionAt(v+_.originalStart),S=r.positionAt(v+_.originalStart+_.originalLength),E={text:d.substr(_.modifiedStart,_.modifiedLength),range:{startLineNumber:C.lineNumber,startColumn:C.column,endLineNumber:S.lineNumber,endColumn:S.column}};r.getValueInRange(E.range)!==E.text&&s.push(E)}}}return"number"==typeof i&&s.push({eol:i,text:void 0,range:void 0}),o.b.as(s)},e.prototype.computeLinks=function(e){var t=this._getModel(e);return t?o.b.as(Object(f.a)(t)):null},e.prototype.textualSuggest=function(t,n,r,i){var a=this._getModel(t);if(a){var s=[],u=new RegExp(r,i),c=a.getWordUntilPosition(n,u).word,l=Object.create(null);l[c]=!0;for(var f=a.createWordIterator(u),h=f.next();!h.done&&s.length<=e._suggestionsLimit;h=f.next()){var d=h.value;l[d]||(l[d]=!0,isNaN(Number(d))&&s.push({type:"text",label:d,insertText:d,noAutoAccept:!0,overwriteBefore:c.length}))}return o.b.as({suggestions:s})}},e.prototype.navigateValueSet=function(e,t,n,r,i){var a=this._getModel(e);if(!a)return null;var s=new RegExp(r,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});var u=a.getValueInRange(t),c=a.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s),l=null;null!==c&&(l=a.getValueInRange(c));var f=h.a.INSTANCE.navigateValueSet(t,u,c,l,n);return o.b.as(f)},e.prototype.loadForeignModule=function(e,t){var n=this,r={getMirrorModels:function(){return n._getModels()}};if(this._foreignModuleFactory){this._foreignModule=this._foreignModuleFactory(r,t);var i=[];for(var a in this._foreignModule)"function"==typeof this._foreignModule[a]&&i.push(a);return o.b.as(i)}return o.b.wrapError(new Error("Unexpected usage"))},e.prototype.fmr=function(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return o.b.wrapError(new Error("Missing requestHandler or method: "+e));try{return o.b.as(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return o.b.wrapError(e)}},e._diffLimit=1e4,e._suggestionsLimit=1e4,e}());"function"==typeof importScripts&&(m.b.monaco=Object(p.a)())},79:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n(42),i=n(7),o=5e3,a=3;function s(e,t,n,i){return new r.a(e,t,n).ComputeDiff(i)}var u=function(){function e(t){for(var n=[],r=[],i=0,o=t.length;i<o;i++)n[i]=e._getFirstNonBlankColumn(t[i],1),r[i]=e._getLastNonBlankColumn(t[i],1);this._lines=t,this._startColumns=n,this._endColumns=r}return e.prototype.getLength=function(){return this._lines.length},e.prototype.getElementAtIndex=function(e){return this._lines[e].substring(this._startColumns[e]-1,this._endColumns[e]-1)},e.prototype.getStartLineNumber=function(e){return e+1},e.prototype.getEndLineNumber=function(e){return e+1},e._getFirstNonBlankColumn=function(e,t){var n=i.firstNonWhitespaceIndex(e);return-1===n?t:n+1},e._getLastNonBlankColumn=function(e,t){var n=i.lastNonWhitespaceIndex(e);return-1===n?t:n+2},e.prototype.getCharSequence=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=t;s<=n;s++)for(var u=this._lines[s],l=e?this._startColumns[s]:1,f=e?this._endColumns[s]:u.length+1,h=l;h<f;h++)r[a]=u.charCodeAt(h-1),i[a]=s+1,o[a]=h,a++;return new c(r,i,o)},e}(),c=function(){function e(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}return e.prototype.getLength=function(){return this._charCodes.length},e.prototype.getElementAtIndex=function(e){return this._charCodes[e]},e.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getStartColumn=function(e){return this._columns[e]},e.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getEndColumn=function(e){return this._columns[e]+1},e}(),l=function(){function e(e,t,n,r,i,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}return e.createFromDiffChange=function(t,n,r){var i,o,a,s,u,c,l,f;return 0===t.originalLength?(i=0,o=0,a=0,s=0):(i=n.getStartLineNumber(t.originalStart),o=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),s=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(u=0,c=0,l=0,f=0):(u=r.getStartLineNumber(t.modifiedStart),c=r.getStartColumn(t.modifiedStart),l=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),f=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,o,a,s,u,c,l,f)},e}();var f=function(){function e(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}return e.createFromDiffResult=function(t,n,r,i,o,u,c){var f,h,d,p,m;if(0===n.originalLength?(f=r.getStartLineNumber(n.originalStart)-1,h=0):(f=r.getStartLineNumber(n.originalStart),h=r.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(d=i.getStartLineNumber(n.modifiedStart)-1,p=0):(d=i.getStartLineNumber(n.modifiedStart),p=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),u&&0!==n.originalLength&&0!==n.modifiedLength&&o()){var g=r.getCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),v=i.getCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),y=s(g,v,o,!0);c&&(y=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],r=1,i=e.length;r<i;r++){var o=e[r],s=o.originalStart-(n.originalStart+n.originalLength),u=o.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(s,u)<a?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}(y)),m=[];for(var b=0,_=y.length;b<_;b++)m.push(l.createFromDiffChange(y[b],g,v))}return new e(f,h,d,p,m)},e}(),h=function(){function e(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.maximumRunTimeMs=o,this.originalLines=e,this.modifiedLines=t,this.original=new u(e),this.modified=new u(t)}return e.prototype.computeDiff=function(){if(1===this.original.getLength()&&0===this.original.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.getLength(),charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];if(1===this.modified.getLength()&&0===this.modified.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:this.original.getLength(),modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];this.computationStartTime=(new Date).getTime();var e=s(this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldMakePrettyDiff);if(this.shouldIgnoreTrimWhitespace){for(var t=[],n=0,r=e.length;n<r;n++)t.push(f.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e[n],this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return t}for(var i=[],o=0,a=0,c=(n=-1,e.length);n<c;n++){for(var l=n+1<c?e[n+1]:null,h=l?l.originalStart:this.originalLines.length,d=l?l.modifiedStart:this.modifiedLines.length;o<h&&a<d;){var p=this.originalLines[o],m=this.modifiedLines[a];if(p!==m){for(var g=u._getFirstNonBlankColumn(p,1),v=u._getFirstNonBlankColumn(m,1);g>1&&v>1;){if(p.charCodeAt(g-2)!==m.charCodeAt(v-2))break;g--,v--}(g>1||v>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,g,a+1,1,v);for(var y=u._getLastNonBlankColumn(p,1),b=u._getLastNonBlankColumn(m,1),_=p.length+1,C=m.length+1;y<_&&b<C;){if(p.charCodeAt(y-1)!==p.charCodeAt(b-1))break;y++,b++}(y<_||b<C)&&this._pushTrimWhitespaceCharChange(i,o+1,y,_,a+1,b,C)}o++,a++}l&&(i.push(f.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=l.originalLength,a+=l.modifiedLength)}return i},e.prototype._pushTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){var s;this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,a)||(this.shouldComputeCharChanges&&(s=[new l(t,n,t,r,i,o,i,a)]),e.push(new f(t,t,i,i,s)))},e.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){var s=e.length;if(0===s)return!1;var u=e[s-1];return 0!==u.originalEndLineNumber&&0!==u.modifiedEndLineNumber&&(u.originalEndLineNumber+1===t&&u.modifiedEndLineNumber+1===i&&(u.originalEndLineNumber=t,u.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&u.charChanges.push(new l(t,n,t,r,i,o,i,a)),!0))},e.prototype._continueProcessingPredicate=function(){return 0===this.maximumRunTimeMs||(new Date).getTime()-this.computationStartTime<this.maximumRunTimeMs},e}()},80:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}()},81:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(64),i=n(4),o=function(){function e(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=e.changes,n=0,r=t.length;n<r;n++){var o=t[n];this._acceptDeleteRange(o.range),this._acceptInsertText(new i.a(o.range.startLineNumber,o.range.startColumn),o.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new r.a(n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var r=new Uint32Array(n.length-1),i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),r[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}else this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1))}},e}()},82:function(e,t,n){"use strict";t.a=function(e){if(!e||"function"!=typeof e.getLineCount||"function"!=typeof e.getLineContent)return[];return u.computeLinks(e)};var r=n(48),i=n(30),o=function(){function e(e){for(var t=0,n=0,r=0,o=e.length;r<o;r++){var a=e[r],s=a[0],u=a[1],c=a[2];u>t&&(t=u),s>n&&(n=s),c>n&&(n=c)}t++,n++;var l=new i.a(n,t,0);for(r=0,o=e.length;r<o;r++){var f=e[r];s=f[0],u=f[1],c=f[2];l.set(s,u,c)}this._states=l,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},e}(),a=null;var s=null;var u=function(){function e(){}return e._createLink=function(e,t,n,r,i){var o=i-1;do{var a=t.charCodeAt(o);if(2!==e.get(a))break;o--}while(o>r);if(r>0){var s=t.charCodeAt(r-1),u=t.charCodeAt(o);(40===s&&41===u||91===s&&93===u||123===s&&125===u)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}},e.computeLinks=function(t){for(var n=(null===a&&(a=new o([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),a),i=function(){if(null===s){s=new r.a(0);for(var e=0;e<" \t<>'\"、。｡､，．：；？！＠＃＄％＆＊‘“〈《「『【〔（［｛｢｣｝］）〕】』」》〉”’｀～…".length;e++)s.set(" \t<>'\"、。｡､，．：；？！＠＃＄％＆＊‘“〈《「『【〔（［｛｢｣｝］）〕】』」》〉”’｀～…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)s.set(".,;".charCodeAt(e),2)}return s}(),u=[],c=1,l=t.getLineCount();c<=l;c++){for(var f=t.getLineContent(c),h=f.length,d=0,p=0,m=0,g=1,v=!1,y=!1,b=!1;d<h;){var _=!1,C=f.charCodeAt(d);if(13===g){var S=void 0;switch(C){case 40:v=!0,S=0;break;case 41:S=v?0:1;break;case 91:y=!0,S=0;break;case 93:S=y?0:1;break;case 123:b=!0,S=0;break;case 125:S=b?0:1;break;case 39:S=34===m||96===m?0:1;break;case 34:S=39===m||96===m?0:1;break;case 96:S=39===m||34===m?0:1;break;default:S=i.get(C)}1===S&&(u.push(e._createLink(i,f,c,p,d)),_=!0)}else if(12===g){1===(S=i.get(C))?_=!0:g=13}else 0===(g=n.nextState(g,C))&&(_=!0);_&&(g=1,v=!1,y=!1,b=!1,p=d+1,m=C),d++}13===g&&u.push(e._createLink(i,f,c,p,h))}return u},e}()},83:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,n,r,i){var o;if(e&&t&&(o=this.doNavigateValueSet(t,i)))return{range:e,value:o};if(n&&r&&(o=this.doNavigateValueSet(r,i)))return{range:n,value:o};return null},e.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,n){for(var r=null,i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r},e.prototype.valueSetReplace=function(e,t,n){var r=e.indexOf(t);return r>=0?((r+=n?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}()},91:function(e,t,n){"use strict";var r,i,o,a,s,u,c,l,f,h,d,p,m,g,v;n.d(t,"i",function(){return r}),n.d(t,"j",function(){return i}),n.d(t,"g",function(){return o}),n.d(t,"e",function(){return c}),n.d(t,"d",function(){return h}),n.d(t,"c",function(){return d}),n.d(t,"m",function(){return m}),n.d(t,"h",function(){return C}),n.d(t,"b",function(){return E}),n.d(t,"f",function(){return A}),n.d(t,"a",function(){return x}),n.d(t,"k",function(){return I}),n.d(t,"l",function(){return K}),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.number(t.line)&&$.number(t.character)}}(r||(r={})),function(e){e.create=function(e,t,n,i){if($.number(e)&&$.number(t)&&$.number(n)&&$.number(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return $.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)}}(i||(i={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return $.defined(t)&&i.is(t.range)&&($.string(t.uri)||$.undefined(t.uri))}}(o||(o={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return $.number(t.red)&&$.number(t.green)&&$.number(t.blue)&&$.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return i.is(t.range)&&a.is(t.color)}}(s||(s={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return $.string(t.label)&&($.undefined(t.textEdit)||m.is(t))&&($.undefined(t.additionalTextEdits)||$.typedArray(t.additionalTextEdits,m.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(c||(c={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return $.defined(n)&&(o.startCharacter=n),$.defined(r)&&(o.endCharacter=r),$.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return $.number(t.startLine)&&$.number(t.startLine)&&($.undefined(t.startCharacter)||$.number(t.startCharacter))&&($.undefined(t.endCharacter)||$.number(t.endCharacter))&&($.undefined(t.kind)||$.string(t.kind))}}(l||(l={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return $.defined(t)&&o.is(t.location)&&$.string(t.message)}}(f||(f={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(h||(h={})),function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return $.defined(n)&&(a.severity=n),$.defined(r)&&(a.code=r),$.defined(i)&&(a.source=i),$.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return $.defined(t)&&i.is(t.range)&&$.string(t.message)&&($.number(t.severity)||$.undefined(t.severity))&&($.number(t.code)||$.string(t.code)||$.undefined(t.code))&&($.string(t.source)||$.undefined(t.source))&&($.undefined(t.relatedInformation)||$.typedArray(t.relatedInformation,f.is))}}(d||(d={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return $.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.title)&&$.string(t.command)}}(p||(p={})),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:""}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.string(t.newText)&&i.is(t.range)}}(m||(m={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return $.defined(t)&&b.is(t.textDocument)&&Array.isArray(t.edits)}}(g||(g={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||$.typedArray(t.documentChanges,g.is))}}(v||(v={}));var y,b,_,C,S,E,A,x,w,N,k,O,L,P,T,I,M,j=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(m.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(m.replace(e,t))},e.prototype.delete=function(e){this.edits.push(m.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 j(e.edits);t._textEditChanges[e.textDocument.uri]=n}):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new j(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(b.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:i=[]};this._workspaceEdit.documentChanges.push(n),r=new j(i),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 i=[];this._workspaceEdit.changes[e]=i,r=new j(i),this._textEditChanges[e]=r}return r}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)}}(y||(y={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&$.number(t.version)}}(b||(b={})),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 $.defined(t)&&$.string(t.uri)&&$.string(t.languageId)&&$.number(t.version)&&$.string(t.text)}}(_||(_={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(C||(C={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(C||(C={})),function(e){e.is=function(e){var t=e;return $.objectLiteral(e)&&C.is(t.kind)&&$.string(t.value)}}(S||(S={})),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}(E||(E={})),function(e){e.PlainText=1,e.Snippet=2}(A||(A={})),function(e){e.create=function(e){return{label:e}}}(x||(x={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(w||(w={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return $.string(t)||$.objectLiteral(t)&&$.string(t.language)&&$.string(t.value)}}(N||(N={})),function(e){e.is=function(e){var t=e;return $.objectLiteral(t)&&(S.is(t.contents)||N.is(t.contents)||$.typedArray(t.contents,N.is))&&(void 0===e.range||i.is(e.range))}}(k||(k={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(O||(O={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return $.defined(t)&&(i.documentation=t),$.defined(n)?i.parameters=n:i.parameters=[],i}}(L||(L={})),function(e){e.Text=1,e.Read=2,e.Write=3}(P||(P={})),function(e){e.create=function(e,t){var n={range:e};return $.number(t)&&(n.kind=t),n}}(T||(T={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(I||(I={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(M||(M={}));var D,F,V,R,U,W=function(){return function(){}}();!function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&$.string(t.name)&&$.string(t.detail)&&$.number(t.kind)&&i.is(t.range)&&i.is(t.selectionRange)&&(void 0===t.deprecated||$.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(W||(W={})),function(e){e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports"}(D||(D={})),function(e){e.create=function(e,t){var n={diagnostics:e};return void 0!==t&&null!==t&&(n.only=t),n},e.is=function(e){var t=e;return $.defined(t)&&$.typedArray(t.diagnostics,d.is)&&(void 0===t.only||$.typedArray(t.only,$.string))}}(F||(F={})),function(e){e.create=function(e,t,n){var r={title:e};return p.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&$.string(t.title)&&(void 0===t.diagnostics||$.typedArray(t.diagnostics,d.is))&&(void 0===t.kind||$.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||p.is(t.command))&&(void 0===t.edit||v.is(t.edit))}}(V||(V={})),function(e){e.create=function(e,t){var n={range:e};return $.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return $.defined(t)&&i.is(t.range)&&($.undefined(t.command)||p.is(t.command))}}(R||(R={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return $.defined(t)&&$.number(t.tabSize)&&$.boolean(t.insertSpaces)}}(U||(U={}));var q=function(){return function(){}}();!function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return $.defined(t)&&i.is(t.range)&&($.undefined(t.target)||$.string(t.target))}}(q||(q={}));var K,B;!function(e){e.create=function(e,t,n,r){return new Y(e,t,n,r)},e.is=function(e){var t=e;return!!($.defined(t)&&$.string(t.uri)&&($.undefined(t.languageId)||$.string(t.languageId))&&$.number(t.lineCount)&&$.func(t.getText)&&$.func(t.positionAt)&&$.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var a=0,s=0,u=0;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[u++]=i[a++];for(;s<o.length;)t[u++]=o[s++];return t}(t,function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Ovelapping edit");n=n.substring(0,s)+a.newText+n.substring(u,n.length),i=s}return n}}(K||(K={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(B||(B={}));var $,Y=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;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&&t.length>0&&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,i=t.length;if(0===i)return r.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+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+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}($||($={}))},99:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initialize=a;var r=n(78),i=n(71),o=!1;function a(e){if(!o){o=!0;var t=new r.a(e),n=new i.b(function(e){self.postMessage(e)},t);self.onmessage=function(e){n.onmessage(e.data)}}}self.onmessage=function(e){o||a(null)}}});