/*!--------------------------------------------------------
 * Copyright (C) Microsoft Corporation. All rights reserved.
 *--------------------------------------------------------*/
(function(){
var e=["require","exports","vs/base/common/platform","vs/base/common/event","vs/base/common/strings","vs/base/common/lifecycle","vs/base/common/path","vs/base/common/errors","vs/base/common/uri","vs/base/common/types","vs/platform/instantiation/common/instantiation","vs/base/common/objects","vs/base/common/async","vs/base/browser/browser","vs/platform/registry/common/platform","vs/base/common/buffer","vs/platform/log/common/log","vs/base/parts/ipc/common/ipc","os","vs/base/common/process","vs/base/common/decorators","vs/nls!vs/code/electron-browser/issue/issueReporterMain","vs/base/common/amd","vs/base/common/map","vs/css!vs/code/electron-browser/issue/issueReporterMain","vs/base/browser/dom","vs/base/common/uuid","vs/base/common/arrays","vs/base/common/extpath","vs/platform/instantiation/common/serviceCollection","vs/base/browser/keyboardEvent","vs/nls","vs/base/common/functional","vs/platform/diagnostics/common/diagnostics","vs/base/common/collections","vs/base/common/network","vs/base/common/iterator","vs/platform/product/common/product","vs/base/common/cancellation","vs/platform/configuration/common/configurationRegistry","vs/platform/configuration/common/configuration","vs/base/common/color","vs/base/node/encoding","vs/base/node/paths","vs/base/node/pfs","vs/base/common/date","vs/base/common/linkedList","vs/base/browser/canIUse","vs/base/parts/ipc/common/ipc.net","vs/base/parts/ipc/node/ipc","vs/base/parts/ipc/node/ipc.electron","vs/base/parts/ipc/electron-browser/ipc.electron-browser","electron","vs/base/parts/ipc/node/ipc.net","vs/code/common/issue/issueReporterUtil","vs/css!vs/base/browser/ui/button/button","vs/base/common/assert","vs/base/browser/ui/button/button","vs/css!vs/base/browser/ui/codiconLabel/codicon/codicon","vs/css!vs/base/browser/ui/codiconLabel/codicon/codicon-animations","vs/base/browser/ui/codiconLabel/codiconLabel","vs/css!vs/code/electron-browser/issue/media/issueReporter","vs/nls!vs/code/electron-browser/issue/issueReporterPage","vs/base/browser/mouseEvent","vs/base/browser/iframe","vs/code/electron-browser/issue/issueReporterPage","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/telemetry/common/telemetryService","vs/base/browser/event","vs/code/electron-browser/issue/issueReporterModel","vs/platform/instantiation/common/descriptors","vs/platform/instantiation/common/graph","vs/base/common/glob","vs/platform/environment/common/environment","vs/base/common/marshalling","vs/platform/instantiation/common/instantiationService","vs/platform/ipc/electron-browser/mainProcessService","vs/base/common/stream","vs/platform/log/common/logIpc","vs/platform/log/node/spdlogService","vs/base/common/keyCodes","vs/platform/environment/node/environmentService","vs/base/browser/touch","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/base/common/normalization","vs/base/common/resources","vs/platform/telemetry/common/telemetryService","vs/platform/telemetry/common/telemetryUtils","vs/platform/telemetry/node/commonProperties","vs/platform/telemetry/node/telemetryIpc","net","child_process","stream","util","vs/code/electron-browser/issue/issueReporterMain","crypto","iconv-lite","fs"],t=function(t){
for(var n=[],s=0,i=t.length;s<i;s++)n[s]=e[t[s]];return n};define(e[64],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=!1,s=null;function i(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,s=e.parent.location;if(t.protocol!==s.protocol||t.hostname!==s.hostname||t.port!==s.port)return n=!0,null}catch(e){return n=!0,null}return e.parent}function r(e,t){let n,s=e.document.getElementsByTagName("iframe");for(let e=0,i=s.length;e<i;e++)if((n=s[e]).contentWindow===t)return n;return null}t.IframeUtils=class{static getSameOriginWindowChain(){if(!s){s=[];let e,t=window;do{(e=i(t))?s.push({window:t,iframeElement:r(e,t)}):s.push({window:t,iframeElement:null}),t=e}while(t)}return s.slice(0)}static hasDifferentOriginAncestor(){return s||this.getSameOriginWindowChain(),n}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,s=0,i=this.getSameOriginWindowChain();for(const e of i){if(e.window===t)break
;if(!e.iframeElement)break;let i=e.iframeElement.getBoundingClientRect();n+=i.top,s+=i.left}return{top:n,left:s}}}})),define(e[56],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ok=function(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}})),define(e[34],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=Object.prototype.hasOwnProperty;t.values=function(e){const t=[];for(let s in e)n.call(e,s)&&t.push(e[s]);return t},t.size=function(e){let t=0;for(let s in e)n.call(e,s)&&(t+=1);return t},t.first=function(e){for(const t in e)if(n.call(e,t))return e[t]},t.forEach=function(e,t){for(let s in e)if(n.call(e,s)){if(!1===t({key:s,value:e[s]},(function(){delete e[s]})))return}},t.groupBy=function(e,t){const n=Object.create(null);for(const s of e){const e=t(s);let i=n[e];i||(i=n[e]=[]),i.push(s)}return n},t.fromMap=function(e){const t=Object.create(null);return e&&e.forEach((e,n)=>{t[n]=e}),t},
t.mapValues=function(e){const t=[];return e.forEach(e=>t.push(e)),t};t.SetMap=class{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}})),define(e[41],t([0,1]),(function(e,t){"use strict";function n(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}Object.defineProperty(t,"__esModule",{value:!0});class s{constructor(e,t,s,i=1){this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,s)),this.a=n(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}t.RGBA=s;class i{constructor(e,t,s,i){this.h=0|Math.max(Math.min(360,e),0),this.s=n(Math.max(Math.min(1,t),0),3),this.l=n(Math.max(Math.min(1,s),0),3),this.a=n(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){
const t=e.r/255,n=e.g/255,s=e.b/255,r=e.a,o=Math.max(t,n,s),a=Math.min(t,n,s);let c=0,l=0;const u=(a+o)/2,h=o-a;if(h>0){switch(l=Math.min(u<=.5?h/(2*u):h/(2-2*u),1),o){case t:c=(n-s)/h+(n<s?6:0);break;case n:c=(s-t)/h+2;break;case s:c=(t-n)/h+4}c*=60,c=Math.round(c)}return new i(c,l,u,r)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:r,a:o}=e;let a,c,l;if(0===n)a=c=l=r;else{const e=r<.5?r*(1+n):r+n-r*n,s=2*r-e;a=i._hue2rgb(s,e,t+1/3),c=i._hue2rgb(s,e,t),l=i._hue2rgb(s,e,t-1/3)}return new s(Math.round(255*a),Math.round(255*c),Math.round(255*l),o)}}t.HSLA=i;class r{constructor(e,t,s,i){this.h=0|Math.max(Math.min(360,e),0),this.s=n(Math.max(Math.min(1,t),0),3),this.v=n(Math.max(Math.min(1,s),0),3),this.a=n(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,s=e.b/255,i=Math.max(t,n,s),o=i-Math.min(t,n,s),a=0===i?0:o/i;let c
;return c=0===o?0:i===t?((n-s)/o%6+6)%6:i===n?(s-t)/o+2:(t-n)/o+4,new r(Math.round(60*c),a,i,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:r}=e,o=i*n,a=o*(1-Math.abs(t/60%2-1)),c=i-o;let[l,u,h]=[0,0,0];return t<60?(l=o,u=a):t<120?(l=a,u=o):t<180?(u=o,h=a):t<240?(u=a,h=o):t<300?(l=a,h=o):t<360&&(l=o,h=a),l=Math.round(255*(l+c)),u=Math.round(255*(u+c)),h=Math.round(255*(h+c)),new s(l,u,h,r)}}t.HSVA=r;class o{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof s)this.rgba=e;else if(e instanceof i)this._hsla=e,this.rgba=i.toRGBA(e);else{if(!(e instanceof r))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=r.toRGBA(e)}}static fromHex(e){return o.Format.CSS.parseHex(e)||o.red}get hsla(){return this._hsla?this._hsla:i.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:r.fromRGBA(this.rgba)}equals(e){return!!e&&s.equals(this.rgba,e.rgba)&&i.equals(this.hsla,e.hsla)&&r.equals(this.hsva,e.hsva)}getRelativeLuminance(){
return n(.2126*o._relativeLuminanceForComponent(this.rgba.r)+.7152*o._relativeLuminanceForComponent(this.rgba.g)+.0722*o._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}getContrastRatio(e){const t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)}isDarker(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3<128}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new o(new i(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new o(new i(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:r}=this.rgba;return new o(new s(t,n,i,r*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){
return 1===this.rgba.a}opposite(){return new o(new s(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}blend(e){const t=e.rgba,n=this.rgba.a,i=t.a,r=n+i*(1-n);if(r<1e-6)return o.transparent;const a=this.rgba.r*n/r+t.r*i*(1-n)/r,c=this.rgba.g*n/r+t.g*i*(1-n)/r,l=this.rgba.b*n/r+t.b*i*(1-n)/r;return new o(new s(a,c,l,r))}makeOpaque(e){if(this.isOpaque()||1!==e.rgba.a)return this;const{r:t,g:n,b:i,a:r}=this.rgba;return new o(new s(e.rgba.r-r*(e.rgba.r-t),e.rgba.g-r*(e.rgba.g-n),e.rgba.b-r*(e.rgba.b-i),1))}flatten(...e){const t=e.reduceRight((e,t)=>o._flatten(t,e));return o._flatten(this,t)}static _flatten(e,t){const n=1-e.rgba.a;return new o(new s(n*t.rgba.r+e.rgba.a*e.rgba.r,n*t.rgba.g+e.rgba.a*e.rgba.g,n*t.rgba.b+e.rgba.a*e.rgba.b))}toString(){return""+o.Format.CSS.format(this)}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const s=e.getRelativeLuminance(),i=t.getRelativeLuminance();return n=n*(i-s)/i,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e
;n=n||.5;const s=e.getRelativeLuminance();return n=n*(s-t.getRelativeLuminance())/s,e.darken(n)}}t.Color=o,o.white=new o(new s(255,255,255,1)),o.black=new o(new s(0,0,0,1)),o.red=new o(new s(255,0,0,1)),o.blue=new o(new s(0,0,255,1)),o.green=new o(new s(0,255,0,1)),o.cyan=new o(new s(0,255,255,1)),o.lightgrey=new o(new s(211,211,211,1)),o.transparent=new o(new s(0,0,0,0)),function(e){let t;!function(t){let n;!function(t){function n(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function i(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}t.formatRGB=function(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)},t.formatRGBA=function(e){
return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},t.formatHSL=function(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)},t.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},t.formatHex=function(e){return`#${n(e.rgba.r)}${n(e.rgba.g)}${n(e.rgba.b)}`},t.formatHexA=function(t,s=!1){return s&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${n(t.rgba.r)}${n(t.rgba.g)}${n(t.rgba.b)}${n(Math.round(255*t.rgba.a))}`},t.format=function(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)},t.parseHex=function(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),o=16*i(t.charCodeAt(5))+i(t.charCodeAt(6));return new e(new s(n,r,o,1))}if(9===n){
const n=16*i(t.charCodeAt(1))+i(t.charCodeAt(2)),r=16*i(t.charCodeAt(3))+i(t.charCodeAt(4)),o=16*i(t.charCodeAt(5))+i(t.charCodeAt(6)),a=16*i(t.charCodeAt(7))+i(t.charCodeAt(8));return new e(new s(n,r,o,a/255))}if(4===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),o=i(t.charCodeAt(3));return new e(new s(16*n+n,16*r+r,16*o+o))}if(5===n){const n=i(t.charCodeAt(1)),r=i(t.charCodeAt(2)),o=i(t.charCodeAt(3)),a=i(t.charCodeAt(4));return new e(new s(16*n+n,16*r+r,16*o+o,(16*a+a)/255))}return null}}(n=t.CSS||(t.CSS={}))}(t=e.Format||(e.Format={}))}(o=t.Color||(t.Color={}))})),define(e[20],t([0,1]),(function(e,t){"use strict";function n(e){return(t,n,s)=>{let i=null,r=null;if("function"==typeof s.value?(i="value",r=s.value):"function"==typeof s.get&&(i="get",r=s.get),!r)throw new Error("not supported");s[i]=e(r,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=n;let s=0;function i(){const e=`$memoize${s++}`;let t=void 0;const n=function(n,s,i){let r=null,o=null
;if("function"==typeof i.value?(r="value",0!==(o=i.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof i.get&&(r="get",o=i.get),!o)throw new Error("not supported");const a=`${e}:${s}`;i[r]=function(...e){return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:o.apply(this,e)}),this[a]}};return n.clear=()=>{void 0!==t&&Object.getOwnPropertyNames(t).forEach(n=>{0===n.indexOf(e)&&delete t[n]})},n}t.createMemoizer=i,t.memoize=function(e,t,n){return i()(e,t,n)},t.debounce=function(e,t,s){return n((n,i)=>{const r=`$debounce$${i}`,o=`$debounce$result$${i}`;return function(...i){this[o]||(this[o]=s?s():void 0),clearTimeout(this[r]),t&&(this[o]=t(this[o],...i),i=[this[o]]),this[r]=setTimeout(()=>{n.apply(this,i),this[o]=s?s():void 0},e)}})}})),define(e[7],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(){this.listeners=[],
this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}addListener(e){return this.listeners.push(e),()=>{this._removeListener(e)}}emit(e){this.listeners.forEach(t=>{t(e)})}_removeListener(e){this.listeners.splice(this.listeners.indexOf(e),1)}setUnexpectedErrorHandler(e){this.unexpectedErrorHandler=e}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}t.ErrorHandler=n,t.errorHandler=new n,t.setUnexpectedErrorHandler=function(e){t.errorHandler.setUnexpectedErrorHandler(e)},t.onUnexpectedError=function(e){i(e)||t.errorHandler.onUnexpectedError(e)},t.onUnexpectedExternalError=function(e){i(e)||t.errorHandler.onUnexpectedExternalError(e)},t.transformErrorForSerialization=function(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}
;const s="Canceled";function i(e){return e instanceof Error&&e.name===s&&e.message===s}t.isPromiseCanceledError=i,t.canceled=function(){const e=new Error(s);return e.name=e.message,e},t.illegalArgument=function(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")},t.illegalState=function(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")},t.readonly=function(e){return e?new Error(`readonly property '${e} cannot be changed'`):new Error("readonly property cannot be changed")},t.disposed=function(e){const t=new Error(`${e} has been disposed`);return t.name="DISPOSED",t},t.getErrorMessage=function(e){return e?e.message?e.message:e.stack?e.stack.split("\n")[0]:String(e):"Error"};class r extends Error{constructor(e){super("NotImplemented"),e&&(this.message=e)}}t.NotImplementedError=r})),define(e[27],t([0,1,7]),(function(e,t,n){"use strict";function s(e,t){let n=0,s=e.length;if(0===s)return 0;for(;n<s;){const i=Math.floor((n+s)/2);t(e[i])?s=i:n=i+1}return n}
function i(e,t){return function e(t,n,s,i,r){if(i<=s)return;const o=s+(i-s)/2|0;e(t,n,s,o,r);e(t,n,o+1,i,r);if(n(t[o],t[o+1])<=0)return;!function(e,t,n,s,i,r){let o=n,a=s+1;for(let t=n;t<=i;t++)r[t]=e[t];for(let c=n;c<=i;c++)o>s?e[c]=r[a++]:a>i?e[c]=r[o++]:t(r[a],r[o])<0?e[c]=r[a++]:e[c]=r[o++]}(t,n,s,o,i,r)}(e,t,0,e.length-1,[]),e}function r(e,t,n){const s=[];function i(e,t,n){if(0===t&&0===n.length)return;const i=s[s.length-1];i&&i.start+i.deleteCount===e?(i.deleteCount+=t,i.toInsert.push(...n)):s.push({start:e,deleteCount:t,toInsert:n})}let r=0,o=0;for(;;){if(r===e.length){i(r,0,t.slice(o));break}if(o===t.length){i(r,e.length-r,[]);break}const s=e[r],a=t[o],c=n(s,a);0===c?(r+=1,o+=1):c<0?(i(r,1,[]),r+=1):c>0&&(i(r,0,[a]),o+=1)}return s}function o(e,t,n,i,r){for(const o=n.length;i<r;i++){const r=e[i];if(t(r,n[o-1])<0){n.pop();const e=s(n,e=>t(r,e)<0);n.splice(e,0,r)}}}function a(e,t){for(let n=0;n<e.length;n++){if(t(e[n]))return n}return-1}Object.defineProperty(t,"__esModule",{value:!0}),
t.tail=function(e,t=0){return e[e.length-(1+t)]},t.tail2=function(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]},t.equals=function(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let s=0,i=e.length;s<i;s++)if(!n(e[s],t[s]))return!1;return!0},t.binarySearch=function(e,t,n){let s=0,i=e.length-1;for(;s<=i;){const r=(s+i)/2|0,o=n(e[r],t);if(o<0)s=r+1;else{if(!(o>0))return r;i=r-1}}return-(s+1)},t.findFirstInSorted=s,t.mergeSort=i,t.groupBy=function(e,t){const n=[];let s=void 0;for(const r of i(e.slice(0),t))s&&0===t(s[0],r)?s.push(r):(s=[r],n.push(s));return n},t.sortedDiff=r,t.delta=function(e,t,n){const s=r(e,t,n),i=[],o=[];for(const t of s)i.push(...e.slice(t.start,t.start+t.deleteCount)),o.push(...t.toInsert);return{removed:i,added:o}},t.top=function(e,t,n){if(0===n)return[];const s=e.slice(0,n).sort(t);return o(e,t,s,n,e.length),s},t.topAsync=function(e,t,s,i,r){
return 0===s?Promise.resolve([]):new Promise((a,c)=>{(async()=>{const a=e.length,c=e.slice(0,s).sort(t);for(let l=s,u=Math.min(s+i,a);l<a;l=u,u=Math.min(u+i,a)){if(l>s&&await new Promise(e=>setTimeout(e)),r&&r.isCancellationRequested)throw n.canceled();o(e,t,c,l,u)}return c})().then(a,c)})},t.coalesce=function(e){return e.filter(e=>!!e)},t.coalesceInPlace=function(e){let t=0;for(let n=0;n<e.length;n++)e[n]&&(e[t]=e[n],t+=1);e.length=t},t.move=function(e,t,n){e.splice(n,0,e.splice(t,1)[0])},t.isFalsyOrEmpty=function(e){return!Array.isArray(e)||0===e.length},t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.distinct=function(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const s=t(e);return!n[s]&&(n[s]=!0,!0)})},t.distinctES6=function(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))},t.fromSet=function(e){const t=[];return e.forEach(e=>t.push(e)),t},t.uniqueFilter=function(e){const t=Object.create(null);return n=>{
const s=e(n);return!t[s]&&(t[s]=!0,!0)}},t.lastIndex=function(e,t){for(let n=e.length-1;n>=0;n--){if(t(e[n]))return n}return-1},t.firstIndex=a,t.first=function(e,t,n){const s=a(e,t);return s<0?n:e[s]},t.firstOrDefault=function(e,t){return e.length>0?e[0]:t},t.commonPrefixLength=function(e,t,n=((e,t)=>e===t)){let s=0;for(let i=0,r=Math.min(e.length,t.length);i<r&&n(e[i],t[i]);i++)s++;return s},t.flatten=function(e){return[].concat(...e)},t.range=function(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const s=[];if(n<=t)for(let e=n;e<t;e++)s.push(e);else for(let e=n;e>t;e--)s.push(e);return s},t.fill=function(e,t,n=[]){for(let s=0;s<e;s++)n[s]=t;return n},t.index=function(e,t,n=(e=>e)){return e.reduce((e,s)=>{const i=t(s);return e[i]=n(s,e[i]),e},Object.create(null))},t.insert=function(e,t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},t.arrayInsert=function(e,t,n){const s=e.slice(0,t),i=e.slice(t);return s.concat(n,i)},t.shuffle=function(e,t){let n;if("number"==typeof t){
let e=t;n=()=>{const t=179426549*Math.sin(e++);return t-Math.floor(t)}}else n=Math.random;for(let t=e.length-1;t>0;t-=1){const s=Math.floor(n()*(t+1)),i=e[t];e[t]=e[s],e[s]=i}},t.pushToStart=function(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))},t.pushToEnd=function(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))},t.find=function(e,t){for(let n=0;n<e.length;n++){const s=e[n];if(t(s,n,e))return s}},t.mapArrayOrNot=function(e,t){return Array.isArray(e)?e.map(t):t(e)},t.asArray=function(e){return Array.isArray(e)?e:[e]}})),define(e[32],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.once=function(e){const t=this;let n,s=!1;return function(){return s?n:(s=!0,n=e.apply(t,arguments))}}})),define(e[36],t([0,1]),(function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FIN={done:!0,value:void 0},function(e){const n={next:()=>t.FIN};e.empty=function(){return n},e.single=function(e){let n=!1;return{next:()=>n?t.FIN:(n=!0,{
done:!1,value:e})}},e.fromArray=function(e,n=0,s=e.length){return{next:()=>n>=s?t.FIN:{done:!1,value:e[n++]}}},e.fromNativeIterator=function(e){return{next(){const n=e.next();return n.done?t.FIN:{done:!1,value:n.value}}}},e.from=function(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()},e.map=function(e,n){return{next(){const s=e.next();return s.done?t.FIN:{done:!1,value:n(s.value)}}}},e.filter=function(e,n){return{next(){for(;;){const s=e.next();if(s.done)return t.FIN;if(n(s.value))return{done:!1,value:s.value}}}}},e.forEach=function(e,t){for(let n=e.next();!n.done;n=e.next())t(n.value)},e.collect=function(e,t=Number.POSITIVE_INFINITY){const n=[];if(0===t)return n;let s=0;for(let i=e.next();!i.done&&(n.push(i.value),!(++s>=t));i=e.next());return n},e.concat=function(...e){let n=0;return{next(){if(n>=e.length)return t.FIN;const s=e[n].next();return s.done?(n++,this.next()):s}}},e.chain=function(e){return new s(e)}}(n=t.Iterator||(t.Iterator={}));class s{constructor(e){this.it=e}next(){
return this.it.next()}map(e){return new s(n.map(this.it,e))}filter(e){return new s(n.filter(this.it,e))}}t.ChainableIterator=s,t.getSequenceIterator=function(e){return Array.isArray(e)?n.fromArray(e):e||n.empty()};class i{constructor(e,t=0,n=e.length,s=t-1){this.items=e,this.start=t,this.end=n,this.index=s}first(){return this.index=this.start,this.current()}next(){return this.index=Math.min(this.index+1,this.end),this.current()}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}}t.ArrayIterator=i;t.ArrayNavigator=class extends i{constructor(e,t=0,n=e.length,s=t-1){super(e,t,n,s)}current(){return super.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}parent(){return null}};class r{constructor(e,t){this.iterator=e,this.fn=t}next(){return this.fn(this.iterator.next())}}t.MappedIterator=r;t.MappedNavigator=class extends r{
constructor(e,t){super(e,t),this.navigator=e}current(){return this.fn(this.navigator.current())}previous(){return this.fn(this.navigator.previous())}parent(){return this.fn(this.navigator.parent())}first(){return this.fn(this.navigator.first())}last(){return this.fn(this.navigator.last())}next(){return this.fn(this.navigator.next())}}})),define(e[80],t([0,1,7]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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"}(t.KeyCode||(t.KeyCode={}));class s{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const i=new s,r=new s,o=new s;var a;function c(e,t){const n=!!(2048&e),s=!!(256&e);return new l(2===t?s:n,!!(1024&e),!!(512&e),2===t?n:s,255&e)}!function(){function e(e,t,n=t,s=n){i.define(e,t),r.define(e,n),o.define(e,s)}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 i.keyCodeToStr(e)},e.fromString=function(e){return i.strToKeyCode(e)},e.toUserSettingsUS=function(e){return r.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return o.keyCodeToStr(e)},e.fromUserSettings=function(e){return r.strToKeyCode(e)||o.strToKeyCode(e)}}(t.KeyCodeUtils||(t.KeyCodeUtils={})),function(e){e[e.CtrlCmd=2048]="CtrlCmd",e[e.Shift=1024]="Shift",e[e.Alt=512]="Alt",e[e.WinCtrl=256]="WinCtrl",e[e.KeyCode=255]="KeyCode"}(a||(a={})),function(e){e[e.CtrlCmd=2048]="CtrlCmd",e[e.Shift=1024]="Shift",e[e.Alt=512]="Alt",e[e.WinCtrl=256]="WinCtrl"}(t.KeyMod||(t.KeyMod={})),t.KeyChord=function(e,t){
return(e|(65535&t)<<16>>>0)>>>0},t.createKeybinding=function(e,t){if(0===e)return null;const n=(65535&e)>>>0,s=(4294901760&e)>>>16;return new u(0!==s?[c(n,t),c(s,t)]:[c(n,t)])},t.createSimpleKeybinding=c;class l{constructor(e,t,n,s,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=s,this.keyCode=i}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}getHashCode(){return`${this.ctrlKey?"1":"0"}${this.shiftKey?"1":"0"}${this.altKey?"1":"0"}${this.metaKey?"1":"0"}${this.keyCode}`}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new u([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}t.SimpleKeybinding=l;class u{constructor(e){if(0===e.length)throw n.illegalArgument("parts");this.parts=e}getHashCode(){let e=""
;for(let t=0,n=this.parts.length;t<n;t++)0!==t&&(e+=";"),e+=this.parts[t].getHashCode();return e}equals(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(let t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0}}t.ChordKeybinding=u;t.ResolvedKeybindingPart=class{constructor(e,t,n,s,i,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=s,this.keyLabel=i,this.keyAriaLabel=r}};t.ResolvedKeybinding=class{}})),define(e[5],t([0,1,32]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=!1,i="__is_disposable_tracked__";function r(e){if(s&&e&&e!==l.None)try{e[i]=!0}catch(e){}}function o(e){if(!s)return e;const t=new Error("Potentially leaked disposable").stack;return setTimeout(()=>{e[i]||console.log(t)},3e3),e}function a(e){return Array.isArray(e)?(e.forEach(e=>{e&&(r(e),e.dispose())}),[]):e?(r(e),e.dispose(),e):void 0}t.isDisposable=function(e){return"function"==typeof e.dispose&&0===e.dispose.length},t.dispose=a,
t.combinedDisposable=function(...e){return e.forEach(r),o({dispose:()=>a(e)})},t.toDisposable=function(e){const t=o({dispose:()=>{r(t),e()}});return t};class c{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(r(this),this._isDisposed=!0,this.clear())}clear(){this._toDispose.forEach(e=>e.dispose()),this._toDispose.clear()}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return r(e),this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}t.DisposableStore=c;class l{constructor(){this._store=new c,o(this)}dispose(){r(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}t.Disposable=l,l.None=Object.freeze({dispose(){}});t.MutableDisposable=class{constructor(){this._isDisposed=!1,o(this)}get value(){
return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),e&&r(e),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,r(this),this._value&&this._value.dispose(),this._value=void 0}};t.ReferenceCollection=class{constructor(){this.references=new Map}acquire(e){let t=this.references.get(e);t||(t={counter:0,object:this.createReferencedObject(e)},this.references.set(e,t));const{object:s}=t,i=n.once(()=>{0==--t.counter&&(this.destroyReferencedObject(e,t.object),this.references.delete(e))});return t.counter++,{object:s,dispose:i}}};t.ImmortalReference=class{constructor(e){this.object=e}dispose(){}}})),define(e[46],t([0,1,36]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class s{constructor(e){this.element=e,this.next=s.Undefined,this.prev=s.Undefined}}s.Undefined=new s(void 0);t.LinkedList=class{constructor(){this._first=s.Undefined,this._last=s.Undefined,this._size=0}get size(){return this._size
}isEmpty(){return this._first===s.Undefined}clear(){this._first=s.Undefined,this._last=s.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new s(e);if(this._first===s.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==s.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==s.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==s.Undefined&&e.next!==s.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===s.Undefined&&e.next===s.Undefined?(this._first=s.Undefined,this._last=s.Undefined):e.next===s.Undefined?(this._last=this._last.prev,this._last.next=s.Undefined):e.prev===s.Undefined&&(this._first=this._first.next,this._first.prev=s.Undefined);this._size-=1}
iterator(){let e,t=this._first;return{next:()=>t===s.Undefined?n.FIN:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}toArray(){const e=[];for(let t=this._first;t!==s.Undefined;t=t.next)e.push(t.element);return e}}})),define(e[3],t([0,1,7,32,5,46]),(function(e,t,n,s,i,r){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e){function t(e){return(t,n=null,s)=>{let i,r=!1;return i=e(e=>{if(!r)return i?i.dispose():r=!0,t.call(n,e)},null,s),r&&i.dispose(),i}}function n(e,t){return a((n,s=null,i)=>e(e=>n.call(s,t(e)),null,i))}function s(e,t){return a((n,s=null,i)=>e(e=>{t(e),n.call(s,e)},null,i))}function r(e,t){return a((n,s=null,i)=>e(e=>t(e)&&n.call(s,e),null,i))}function o(e,t,s){let i=s;return n(e,e=>i=t(i,e))}function a(e){let t;const n=new l({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,s=!1,i){let r,o=void 0,a=void 0,c=0;const u=new l({leakWarningThreshold:i,onFirstListenerAdd(){r=e(e=>{c++,o=t(o,e),
s&&!a&&u.fire(o),clearTimeout(a),a=setTimeout(()=>{const e=o;o=void 0,a=void 0,(!s||c>1)&&u.fire(e),c=0},n)})},onLastListenerRemove(){r.dispose()}});return u.event}function u(e){let t,n=!0;return r(e,e=>{const s=n||e!==t;return n=!1,t=e,s})}e.None=()=>i.Disposable.None,e.once=t,e.map=n,e.forEach=s,e.filter=r,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,s)=>i.combinedDisposable(...e.map(e=>e(e=>t.call(n,e),null,s)))},e.reduce=o,e.snapshot=a,e.debounce=c,e.stopwatch=function(e){const s=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-s)},e.latch=u,e.buffer=function(e,t=!1,n=[]){let s=n.slice(),i=e(e=>{s?s.push(e):o.fire(e)});const r=()=>{s&&s.forEach(e=>o.fire(e)),s=null},o=new l({onFirstListenerAdd(){i||(i=e(e=>o.fire(e)))},onFirstListenerDidAdd(){s&&(t?setTimeout(r):r())},onLastListenerRemove(){i&&i.dispose(),i=null}});return o.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(s(this.event,e))}filter(e){
return new h(r(this.event,e))}reduce(e,t){return new h(o(this.event,e,t))}latch(){return new h(u(this.event))}debounce(e,t=100,n=!1,s){return new h(c(this.event,e,t,n,s))}on(e,t,n){return this.event(e,t,n)}once(e,n,s){return t(this.event)(e,n,s)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const s=(...e)=>i.fire(n(...e)),i=new l({onFirstListenerAdd:()=>e.on(t,s),onLastListenerRemove:()=>e.removeListener(t,s)});return i.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const s=(...e)=>i.fire(n(...e)),i=new l({onFirstListenerAdd:()=>e.addEventListener(t,s),onLastListenerRemove:()=>e.removeEventListener(t,s)});return i.event},e.fromPromise=function(e){const t=new l;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event},e.toPromise=function(e){return new Promise(n=>t(e)(n))}}(o=t.Event||(t.Event={}));let a=-1;t.setGlobalLeakWarningThreshold=function(e){const t=a;return a=e,{dispose(){a=t}}};class c{
constructor(e,t=Math.random().toString(18).slice(2,5)){this.customThreshold=e,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(e){let t=a;if("number"==typeof this.customThreshold&&(t=this.customThreshold),t<=0||e<t)return;this._stacks||(this._stacks=new Map);const n=(new Error).stack.split("\n").slice(3).join("\n"),s=this._stacks.get(n)||0;if(this._stacks.set(n,s+1),this._warnCountdown-=1,this._warnCountdown<=0){let n;this._warnCountdown=.5*t;let s=0;this._stacks.forEach((e,t)=>{(!n||s<e)&&(n=t,s=e)}),console.warn(`[${this.name}] potential listener LEAK detected, having ${e} listeners already. MOST frequent listener (${s}):`),console.warn(n)}return()=>{const e=this._stacks.get(n)||0;this._stacks.set(n,e-1)}}}class l{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=a>0?new c(this._options&&this._options.leakWarningThreshold):void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new r.LinkedList)
;const s=this._listeners.isEmpty();s&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e);let a,c;return s&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(a=this._leakageMon.check(this._listeners.size)),c={dispose:()=>{if(a&&a(),c.dispose=l._noop,!this._disposed&&(o(),this._options&&this._options.onLastListenerRemove)){this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)}}},n instanceof i.DisposableStore?n.add(c):Array.isArray(n)&&n.push(c),c}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new r.LinkedList);for(let t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{
"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){n.onUnexpectedError(e)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}t.Emitter=l,l._noop=function(){};t.PauseableEmitter=class extends l{constructor(e){super(e),this._isPaused=0,this._eventQueue=new r.LinkedList,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}};t.AsyncEmitter=class extends l{async fireAsync(e,t,s){if(this._listeners){this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new r.LinkedList)
;for(let t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._asyncDeliveryQueue.push([n.value,e]);for(;this._asyncDeliveryQueue.size>0&&!t.isCancellationRequested;){const[e,t]=this._asyncDeliveryQueue.shift(),i=[],r=Object.assign(Object.assign({},t),{waitUntil:t=>{if(Object.isFrozen(i))throw new Error("waitUntil can NOT be called asynchronous");s&&(t=s(t,"function"==typeof e?e:e[0])),i.push(t)}});try{"function"==typeof e?e.call(void 0,r):e[0].call(e[1],r)}catch(e){n.onUnexpectedError(e);continue}Object.freeze(i),await Promise.all(i).catch(e=>n.onUnexpectedError(e))}}}};t.EventMultiplexer=class{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new l({onFirstListenerAdd:()=>this.onFirstListenerAdd(),onLastListenerRemove:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){const t={event:e,listener:null};this.events.push(t),this.hasListeners&&this.hook(t);return i.toDisposable(s.once(()=>{this.hasListeners&&this.unhook(t);const e=this.events.indexOf(t)
;this.events.splice(e,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(e=>this.emitter.fire(e))}unhook(e){e.listener&&e.listener.dispose(),e.listener=null}dispose(){this.emitter.dispose()}};t.EventBufferer=class{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,s)=>e(e=>{const s=this.buffers[this.buffers.length-1];s?s.push(()=>t.call(n,e)):t.call(n,e)},void 0,s)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}};t.Relay=class{constructor(){this.listening=!1,this.inputEvent=o.None,this.inputEventListener=i.Disposable.None,this.emitter=new l({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,
this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}})),define(e[13],t([0,1,3]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class s{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new n.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1,this._fullscreen=!1,this._onDidChangeFullscreen=new n.Emitter,this.onDidChangeFullscreen=this._onDidChangeFullscreen.event}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}setZoomLevel(e,t){this._zoomLevel!==e&&(this._zoomLevel=e,this._lastZoomLevelChangeTime=t?0:Date.now(),this._onDidChangeZoomLevel.fire(this._zoomLevel))}getZoomFactor(){return this._zoomFactor}setZoomFactor(e){this._zoomFactor=e}getPixelRatio(){let e=document.createElement("canvas").getContext("2d")
;return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}setFullscreen(e){this._fullscreen!==e&&(this._fullscreen=e,this._onDidChangeFullscreen.fire())}isFullscreen(){return this._fullscreen}}s.INSTANCE=new s,t.setZoomLevel=function(e,t){s.INSTANCE.setZoomLevel(e,t)},t.getZoomLevel=function(){return s.INSTANCE.getZoomLevel()},t.getTimeSinceLastZoomLevelChanged=function(){return s.INSTANCE.getTimeSinceLastZoomLevelChanged()},t.onDidChangeZoomLevel=function(e){return s.INSTANCE.onDidChangeZoomLevel(e)},t.getZoomFactor=function(){return s.INSTANCE.getZoomFactor()},t.setZoomFactor=function(e){s.INSTANCE.setZoomFactor(e)},t.getPixelRatio=function(){return s.INSTANCE.getPixelRatio()},t.setFullscreen=function(e){s.INSTANCE.setFullscreen(e)},t.isFullscreen=function(){return s.INSTANCE.isFullscreen()},t.onDidChangeFullscreen=s.INSTANCE.onDidChangeFullscreen;const i=navigator.userAgent
;t.isIE=i.indexOf("Trident")>=0,t.isEdge=i.indexOf("Edge/")>=0,t.isEdgeOrIE=t.isIE||t.isEdge,t.isOpera=i.indexOf("Opera")>=0,t.isFirefox=i.indexOf("Firefox")>=0,t.isWebKit=i.indexOf("AppleWebKit")>=0,t.isChrome=i.indexOf("Chrome")>=0,t.isSafari=!t.isChrome&&i.indexOf("Safari")>=0,t.isWebkitWebView=!t.isChrome&&!t.isSafari&&t.isWebKit,t.isIPad=i.indexOf("iPad")>=0,t.isEdgeWebView=t.isEdge&&i.indexOf("WebView/")>=0,t.isStandalone=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches})),define(e[68],t([0,1,3]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.domEvent=(e,t,s)=>{const i=e=>r.fire(e),r=new n.Emitter({onFirstListenerAdd:()=>{e.addEventListener(t,i,s)},onLastListenerRemove:()=>{e.removeEventListener(t,i,s)}});return r.event},t.stop=function(e){return n.Event.map(e,e=>(e.preventDefault(),e.stopPropagation(),e))}})),define(e[38],t([0,1,3]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})
;const s=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var i;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof r||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:n.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s})}(i=t.CancellationToken||(t.CancellationToken={}));class r{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?s:(this._emitter||(this._emitter=new n.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}t.CancellationTokenSource=class{constructor(e){
this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new r),this._token}cancel(){this._token?this._token instanceof r&&this._token.cancel():this._token=i.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof r&&this._token.dispose():this._token=i.None}}})),define(e[12],t([0,1,38,7,3,5]),(function(e,t,n,s,i,r){"use strict";function o(e){return e&&"function"==typeof e.then}function a(e){const t=new n.CancellationTokenSource,i=e(t.token),r=new Promise((e,n)=>{t.token.onCancellationRequested(()=>{n(s.canceled())}),Promise.resolve(i).then(n=>{t.dispose(),e(n)},e=>{t.dispose(),n(e)})});return new class{cancel(){t.cancel()}then(e,t){return r.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return r.finally(e)}}}Object.defineProperty(t,"__esModule",{value:!0}),t.isThenable=o,t.createCancelablePromise=a,
t.raceCancellation=function(e,t,n){return Promise.race([e,new Promise(e=>t.onCancellationRequested(()=>e(n)))])},t.asPromise=function(e){return new Promise((t,n)=>{const s=e();o(s)?s.then(t,n):t(s)})};class c{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{this.queuedPromise=null;const e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}}t.Throttler=c;t.Sequencer=class{constructor(){this.current=Promise.resolve(null)}queue(e){return this.current=this.current.then(()=>e())}};class l{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,
this.doResolve=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{this.completionPromise=null,this.doResolve=null;const e=this.task;return this.task=null,e()})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject(s.canceled()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}t.Delayer=l;t.ThrottledDelayer=class{constructor(e){this.delayer=new l(e),this.throttler=new c}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}isTriggered(){return this.delayer.isTriggered()}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose()}};function u(e,t){return t?new Promise((n,i)=>{
const r=setTimeout(n,e);t.onCancellationRequested(()=>{clearTimeout(r),i(s.canceled())})}):a(t=>u(e,t))}t.Barrier=class{constructor(){this._isOpen=!1,this._promise=new Promise((e,t)=>{this._completePromise=e})}isOpen(){return this._isOpen}open(){this._isOpen=!0,this._completePromise(!0)}wait(){return this._promise}},t.timeout=u,t.disposableTimeout=function(e,t=0){const n=setTimeout(e,t);return r.toDisposable(()=>clearTimeout(n))},t.ignoreErrors=function(e){return e.then(void 0,e=>void 0)},t.sequence=function(e){const t=[];let n=0;const s=e.length;return Promise.resolve(null).then((function i(r){null!=r&&t.push(r);const o=n<s?e[n++]():null;return o?o.then(i):Promise.resolve(t)}))},t.first=function(e,t=(e=>!!e),n=null){let s=0;const i=e.length,r=()=>{if(s>=i)return Promise.resolve(n);const o=e[s++];return Promise.resolve(o()).then(e=>t(e)?Promise.resolve(e):r())};return r()};class h{constructor(e){this._size=0,this.maxDegreeOfParalellism=e,this.outstandingPromises=[],this.runningPromises=0,
this._onFinished=new i.Emitter}get onFinished(){return this._onFinished.event}get size(){return this._size}queue(e){return this._size++,new Promise((t,n)=>{this.outstandingPromises.push({factory:e,c:t,e:n}),this.consume()})}consume(){for(;this.outstandingPromises.length&&this.runningPromises<this.maxDegreeOfParalellism;){const e=this.outstandingPromises.shift();this.runningPromises++;const t=e.factory();t.then(e.c,e.e),t.then(()=>this.consumed(),()=>this.consumed())}}consumed(){this._size--,this.runningPromises--,this.outstandingPromises.length>0?this.consume():this._onFinished.fire()}dispose(){this._onFinished.dispose()}}t.Limiter=h;class d extends h{constructor(){super(1)}}t.Queue=d;t.ResourceQueue=class{constructor(){this.queues=new Map}queueFor(e){const t=e.toString();if(!this.queues.has(t)){const e=new d;e.onFinished(()=>{e.dispose(),this.queues.delete(t)}),this.queues.set(t,e)}return this.queues.get(t)}};t.TimeoutTimer=class{constructor(e,t){this._token=-1,
"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}};t.IntervalTimer=class{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}};class f{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}
t.RunOnceScheduler=f;t.RunOnceWorker=class extends f{constructor(e,t){super(e,t),this.units=[]}work(e){this.units.push(e),this.isScheduled()||this.schedule()}doRun(){const e=this.units;this.units=[],this.runner&&this.runner(e)}dispose(){this.units=[],super.dispose()}},function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining:()=>15});t.runWhenIdle=t=>{const n=setTimeout(()=>t(e));let s=!1;return{dispose(){s||(s=!0,clearTimeout(n))}}}}else t.runWhenIdle=(e,t)=>{const n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let s=!1;return{dispose(){s||(s=!0,cancelIdleCallback(n))}}}}();t.IdleValue=class{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=t.runWhenIdle(()=>this._executor())}dispose(){this._handle.dispose()}getValue(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}
},t.retry=async function(e,t,n){let s;for(let i=0;i<n;i++)try{return await e()}catch(e){s=e,await u(t)}throw s}})),define(e[2],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=!1,s=!1,i=!1,r=!1,o=!1,a=!1,c=void 0,l="en",u=void 0,h=void 0;const d="undefined"!=typeof process&&void 0!==process.versions&&void 0!==process.versions.electron&&"renderer"===process.type;if("object"!=typeof navigator||d){if("object"==typeof process){n="win32"===process.platform,s="darwin"===process.platform,i="linux"===process.platform,c="en",l="en";const e=process.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];c=t.locale,l=n||"en",u=t._translationsConfigFile}catch(e){}r=!0}}else h=navigator.userAgent,n=h.indexOf("Windows")>=0,s=h.indexOf("Macintosh")>=0,a=h.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,i=h.indexOf("Linux")>=0,o=!0,l=c=navigator.language;!function(e){e[e.Web=0]="Web",e[e.Mac=1]="Mac",e[e.Linux=2]="Linux",
e[e.Windows=3]="Windows"}(t.Platform||(t.Platform={})),t.PlatformToString=function(e){switch(e){case 0:return"Web";case 1:return"Mac";case 2:return"Linux";case 3:return"Windows"}};let f=0;s?f=1:n?f=3:i&&(f=2),t.isWindows=n,t.isMacintosh=s,t.isLinux=i,t.isNative=r,t.isWeb=o,t.isIOS=a,t.platform=f,t.userAgent=h,t.isRootUser=function(){return r&&!n&&0===process.getuid()},t.language=l,function(e){e.value=function(){return t.language},e.isDefaultVariant=function(){return 2===t.language.length?"en"===t.language:t.language.length>=3&&("e"===t.language[0]&&"n"===t.language[1]&&"-"===t.language[2])},e.isDefault=function(){return"en"===t.language}}(t.Language||(t.Language={})),t.locale=c,t.translationsConfigFile=u;const p="object"==typeof self?self:"object"==typeof global?global:{};t.globals=p,t.setImmediate=function(){if(t.globals.setImmediate)return t.globals.setImmediate.bind(t.globals);if("function"==typeof t.globals.postMessage&&!t.globals.importScripts){let e=[];t.globals.addEventListener("message",t=>{
if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,s=e.length;n<s;n++){const s=e[n];if(s.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void s.callback()}});let n=0;return s=>{const i=++n;e.push({id:i,callback:s}),t.globals.postMessage({vscodeSetImmediateId:i},"*")}}if("undefined"!=typeof process&&"function"==typeof process.nextTick)return process.nextTick.bind(process);const e=Promise.resolve();return t=>e.then(t)}(),function(e){e[e.Windows=1]="Windows",e[e.Macintosh=2]="Macintosh",e[e.Linux=3]="Linux"}(t.OperatingSystem||(t.OperatingSystem={})),t.OS=s?2:n?1:3})),define(e[47],t([0,1,13,2]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Always=0]="Always",e[e.FullScreen=1]="FullScreen",e[e.None=2]="None"}(t.KeyboardSupport||(t.KeyboardSupport={})),t.BrowserFeatures={clipboard:{writeText:s.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),
readText:s.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(n.isIE)return!1;if(n.isEdge){let e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0})()},keyboard:(()=>s.isNative||n.isStandalone?0:navigator.keyboard||n.isSafari?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}})),define(e[30],t([0,1,13,80,2]),(function(e,t,n,s,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=new Array(230),o=new Array(112);!function(){for(let e=0;e<o.length;e++)o[e]=-1;function e(e,t){r[e]=t,o[t]=e}e(3,7),e(8,1),e(9,2),e(13,3),e(16,4),e(17,5),e(18,6),e(19,7),e(20,8),e(27,9),e(32,10),e(33,11),e(34,12),e(35,13),e(36,14),e(37,15),e(38,16),e(39,17),
e(40,18),e(45,19),e(46,20),e(48,21),e(49,22),e(50,23),e(51,24),e(52,25),e(53,26),e(54,27),e(55,28),e(56,29),e(57,30),e(65,31),e(66,32),e(67,33),e(68,34),e(69,35),e(70,36),e(71,37),e(72,38),e(73,39),e(74,40),e(75,41),e(76,42),e(77,43),e(78,44),e(79,45),e(80,46),e(81,47),e(82,48),e(83,49),e(84,50),e(85,51),e(86,52),e(87,53),e(88,54),e(89,55),e(90,56),e(93,58),e(96,93),e(97,94),e(98,95),e(99,96),e(100,97),e(101,98),e(102,99),e(103,100),e(104,101),e(105,102),e(106,103),e(107,104),e(108,105),e(109,106),e(110,107),e(111,108),e(112,59),e(113,60),e(114,61),e(115,62),e(116,63),e(117,64),e(118,65),e(119,66),e(120,67),e(121,68),e(122,69),e(123,70),e(124,71),e(125,72),e(126,73),e(127,74),e(128,75),e(129,76),e(130,77),e(144,78),e(145,79),e(186,80),e(187,81),e(188,82),e(189,83),e(190,84),e(191,85),e(192,86),e(193,110),e(194,111),e(219,87),e(220,88),e(221,89),e(222,90),e(223,91),e(226,92),e(229,109),n.isIE?e(91,57):n.isFirefox?(e(59,80),e(107,81),e(109,83),i.isMacintosh&&e(224,57)):n.isWebKit&&(e(91,57),
i.isMacintosh?e(93,57):e(92,57))}(),t.getCodeForKeyCode=function(e){return o[e]};const a=i.isMacintosh?256:2048,c=512,l=1024,u=i.isMacintosh?2048:256;t.StandardKeyboardEvent=class{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=function(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return s.KeyCodeUtils.fromString(t)}return r[e.keyCode]||0}(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){
this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=a),this.altKey&&(t|=c),this.shiftKey&&(t|=l),this.metaKey&&(t|=u),t|=e}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new s.SimpleKeybinding(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}})),define(e[63],t([0,1,13,64,2]),(function(e,t,n,s,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,
this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=s.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}}t.StandardMouseEvent=r;t.DragMouseEvent=class extends r{constructor(e){super(e),this.dataTransfer=e.dataTransfer}};t.StandardWheelEvent=class{constructor(e,t=0,s=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=s,this.deltaX=t,e){let t=e,s=e;if(void 0!==t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if(void 0!==s.VERTICAL_AXIS&&s.axis===s.VERTICAL_AXIS)this.deltaY=-s.detail/3;else if("wheel"===e.type){
const t=e;t.deltaMode===t.DOM_DELTA_LINE?this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(void 0!==t.wheelDeltaX)n.isSafari&&i.isWindows?this.deltaX=-t.wheelDeltaX/120:this.deltaX=t.wheelDeltaX/120;else if(void 0!==s.HORIZONTAL_AXIS&&s.axis===s.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}}})),define(e[19],t([0,1,2]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s="undefined"==typeof process?{cwd:()=>"/",env:Object.create(null),get platform(){return n.isWindows?"win32":n.isMacintosh?"darwin":"linux"},nextTick:e=>n.setImmediate(e)}:process;t.cwd=s.cwd,t.env=s.env,
t.platform=s.platform,t.nextTick=s.nextTick})),define(e[6],t([0,1,19]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=65,i=97,r=90,o=122,a=46,c=47,l=92;class u extends Error{constructor(e,t,n){let s;"string"==typeof t&&0===t.indexOf("not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be";const i=-1!==e.indexOf(".")?"property":"argument";let r=`The "${e}" ${i} ${s} of type ${t}`;super(r+=`. Received type ${typeof n}`),this.code="ERR_INVALID_ARG_TYPE"}}function h(e,t){if("string"!=typeof e)throw new u(t,"string",e)}function d(e){return e===c||e===l}function f(e){return e===c}function p(e){return e>=s&&e<=r||e>=i&&e<=o}function g(e,t,n,s){let i,r="",o=0,l=-1,u=0;for(let h=0;h<=e.length;++h){if(h<e.length)i=e.charCodeAt(h);else{if(s(i))break;i=c}if(s(i)){if(l===h-1||1===u);else if(l!==h-1&&2===u){if(r.length<2||2!==o||r.charCodeAt(r.length-1)!==a||r.charCodeAt(r.length-2)!==a){if(r.length>2){const e=r.lastIndexOf(n);-1===e?(r="",
o=0):o=(r=r.slice(0,e)).length-1-r.lastIndexOf(n),l=h,u=0;continue}if(2===r.length||1===r.length){r="",o=0,l=h,u=0;continue}}t&&(r.length>0?r+=`${n}..`:r="..",o=2)}else r.length>0?r+=n+e.slice(l+1,h):r=e.slice(l+1,h),o=h-l-1;l=h,u=0}else i===a&&-1!==u?++u:u=-1}return r}function m(e,t){const n=t.dir||t.root,s=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+s:n+e+s:s}t.win32={resolve(...e){let t="",s="",i=!1;for(let r=e.length-1;r>=-1;r--){let o;if(r>=0?o=e[r]:t?void 0!==(o=n.env["="+t]||n.cwd())&&o.slice(0,3).toLowerCase()===t.toLowerCase()+"\\"||(o=t+"\\"):o=n.cwd(),h(o,"path"),0===o.length)continue;const a=o.length;let c=0,l="",u=!1;const f=o.charCodeAt(0);if(a>1)if(d(f))if(u=!0,d(o.charCodeAt(1))){let e=2,t=e;for(;e<a&&!d(o.charCodeAt(e));++e);if(e<a&&e!==t){const n=o.slice(t,e);for(t=e;e<a&&d(o.charCodeAt(e));++e);if(e<a&&e!==t){for(t=e;e<a&&!d(o.charCodeAt(e));++e);e===a?(l="\\\\"+n+"\\"+o.slice(t),c=e):e!==t&&(l="\\\\"+n+"\\"+o.slice(t,e),c=e)}}
}else c=1;else p(f)&&58===o.charCodeAt(1)&&(l=o.slice(0,2),c=2,a>2&&d(o.charCodeAt(2))&&(u=!0,c=3));else d(f)&&(c=1,u=!0);if(!(l.length>0&&t.length>0&&l.toLowerCase()!==t.toLowerCase())&&(0===t.length&&l.length>0&&(t=l),i||(s=o.slice(c)+"\\"+s,i=u),t.length>0&&i))break}return t+(i?"\\":"")+(s=g(s,!i,"\\",d))||"."},normalize(e){h(e,"path");const t=e.length;if(0===t)return".";let n,s=0,i=!1;const r=e.charCodeAt(0);if(t>1)if(d(r))if(i=!0,d(e.charCodeAt(1))){let i=2,r=i;for(;i<t&&!d(e.charCodeAt(i));++i);if(i<t&&i!==r){const o=e.slice(r,i);for(r=i;i<t&&d(e.charCodeAt(i));++i);if(i<t&&i!==r){for(r=i;i<t&&!d(e.charCodeAt(i));++i);if(i===t)return"\\\\"+o+"\\"+e.slice(r)+"\\";i!==r&&(n="\\\\"+o+"\\"+e.slice(r,i),s=i)}}}else s=1;else p(r)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),s=2,t>2&&d(e.charCodeAt(2))&&(i=!0,s=3));else if(d(r))return"\\";let o;return 0!==(o=s<t?g(e.slice(s),!i,"\\",d):"").length||i||(o="."),o.length>0&&d(e.charCodeAt(t-1))&&(o+="\\"),
void 0===n?i?o.length>0?"\\"+o:"\\":o.length>0?o:"":i?o.length>0?n+"\\"+o:n+"\\":o.length>0?n+o:n},isAbsolute(e){h(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return!!d(n)||!!(p(n)&&t>2&&58===e.charCodeAt(1)&&d(e.charCodeAt(2)))},join(...e){if(0===e.length)return".";let n,s;for(let t=0;t<e.length;++t){const i=e[t];h(i,"path"),i.length>0&&(void 0===n?n=s=i:n+="\\"+i)}if(void 0===n)return".";let i=!0,r=0;if("string"==typeof s&&d(s.charCodeAt(0))){++r;const e=s.length;e>1&&d(s.charCodeAt(1))&&(++r,e>2&&(d(s.charCodeAt(2))?++r:i=!1))}if(i){for(;r<n.length&&d(n.charCodeAt(r));++r);r>=2&&(n="\\"+n.slice(r))}return t.win32.normalize(n)},relative(e,n){if(h(e,"from"),h(n,"to"),e===n)return"";const s=t.win32.resolve(e),i=t.win32.resolve(n);if(s===i)return"";if((e=s.toLowerCase())===(n=i.toLowerCase()))return"";let r=0;for(;r<e.length&&e.charCodeAt(r)===l;++r);let o=e.length;for(;o-1>r&&e.charCodeAt(o-1)===l;--o);const a=o-r;let c=0;for(;c<n.length&&n.charCodeAt(c)===l;++c);let u=n.length
;for(;u-1>c&&n.charCodeAt(u-1)===l;--u);const d=u-c,f=a<d?a:d;let p=-1,g=0;for(;g<=f;++g){if(g===f){if(d>f){if(n.charCodeAt(c+g)===l)return i.slice(c+g+1);if(2===g)return i.slice(c+g)}a>f&&(e.charCodeAt(r+g)===l?p=g:2===g&&(p=3));break}const t=e.charCodeAt(r+g);if(t!==n.charCodeAt(c+g))break;t===l&&(p=g)}if(g!==f&&-1===p)return i;let m="";for(-1===p&&(p=0),g=r+p+1;g<=o;++g)g!==o&&e.charCodeAt(g)!==l||(0===m.length?m+="..":m+="\\..");return m.length>0?m+i.slice(c+p,u):(c+=p,i.charCodeAt(c)===l&&++c,i.slice(c,u))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const n=t.win32.resolve(e);if(n.length>=3)if(n.charCodeAt(0)===l){if(n.charCodeAt(1)===l){const e=n.charCodeAt(2);if(63!==e&&e!==a)return"\\\\?\\UNC\\"+n.slice(2)}}else if(p(n.charCodeAt(0))&&58===n.charCodeAt(1)&&n.charCodeAt(2)===l)return"\\\\?\\"+n;return e},dirname(e){h(e,"path");const t=e.length;if(0===t)return".";let n=-1,s=-1,i=!0,r=0;const o=e.charCodeAt(0);if(t>1)if(d(o)){if(n=r=1,d(e.charCodeAt(1))){let s=2,i=s
;for(;s<t&&!d(e.charCodeAt(s));++s);if(s<t&&s!==i){for(i=s;s<t&&d(e.charCodeAt(s));++s);if(s<t&&s!==i){for(i=s;s<t&&!d(e.charCodeAt(s));++s);if(s===t)return e;s!==i&&(n=r=s+1)}}}}else p(o)&&58===e.charCodeAt(1)&&(n=r=2,t>2&&d(e.charCodeAt(2))&&(n=r=3));else if(d(o))return e;for(let n=t-1;n>=r;--n)if(d(e.charCodeAt(n))){if(!i){s=n;break}}else i=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&h(t,"ext"),h(e,"path");let n,s=0,i=-1,r=!0;if(e.length>=2){p(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(s=2)}if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=s;--n){const c=e.charCodeAt(n);if(d(c)){if(!r){s=n+1;break}}else-1===a&&(r=!1,a=n+1),o>=0&&(c===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return s===i?i=a:-1===i&&(i=e.length),e.slice(s,i)}for(n=e.length-1;n>=s;--n)if(d(e.charCodeAt(n))){if(!r){s=n+1;break}}else-1===i&&(r=!1,i=n+1);return-1===i?"":e.slice(s,i)},extname(e){h(e,"path")
;let t=0,n=-1,s=0,i=-1,r=!0,o=0;e.length>=2&&58===e.charCodeAt(1)&&p(e.charCodeAt(0))&&(t=s=2);for(let c=e.length-1;c>=t;--c){const t=e.charCodeAt(c);if(d(t)){if(!r){s=c+1;break}}else-1===i&&(r=!1,i=c+1),t===a?-1===n?n=c:1!==o&&(o=1):-1!==n&&(o=-1)}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===s+1?"":e.slice(n,i)},format(e){if(null===e||"object"!=typeof e)throw new u("pathObject","Object",e);return m("\\",e)},parse(e){h(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let s=0,i=e.charCodeAt(0);if(n>1){if(d(i)){if(s=1,d(e.charCodeAt(1))){let t=2,i=t;for(;t<n&&!d(e.charCodeAt(t));++t);if(t<n&&t!==i){for(i=t;t<n&&d(e.charCodeAt(t));++t);if(t<n&&t!==i){for(i=t;t<n&&!d(e.charCodeAt(t));++t);t===n?s=t:t!==i&&(s=t+1)}}}}else if(p(i)&&58===e.charCodeAt(1)){if(s=2,!(n>2))return t.root=t.dir=e,t;if(d(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;s=3}}}else if(d(i))return t.root=t.dir=e,t;s>0&&(t.root=e.slice(0,s));let r=-1,o=s,c=-1,l=!0,u=e.length-1,f=0
;for(;u>=s;--u)if(d(i=e.charCodeAt(u))){if(!l){o=u+1;break}}else-1===c&&(l=!1,c=u+1),i===a?-1===r?r=u:1!==f&&(f=1):-1!==r&&(f=-1);return-1===r||-1===c||0===f||1===f&&r===c-1&&r===o+1?-1!==c&&(t.base=t.name=e.slice(o,c)):(t.name=e.slice(o,r),t.base=e.slice(o,c),t.ext=e.slice(r,c)),t.dir=o>0&&o!==s?e.slice(0,o-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},t.posix={resolve(...e){let t="",s=!1;for(let i=e.length-1;i>=-1&&!s;i--){let r;h(r=i>=0?e[i]:n.cwd(),"path"),0!==r.length&&(t=r+"/"+t,s=r.charCodeAt(0)===c)}return t=g(t,!s,"/",f),s?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize(e){if(h(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===c,n=e.charCodeAt(e.length-1)===c;return 0!==(e=g(e,!t,"/",f)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:e=>(h(e,"path"),e.length>0&&e.charCodeAt(0)===c),join(...e){if(0===e.length)return".";let n;for(let t=0;t<e.length;++t){const e=arguments[t];h(e,"path"),e.length>0&&(void 0===n?n=e:n+="/"+e)}
return void 0===n?".":t.posix.normalize(n)},relative(e,n){if(h(e,"from"),h(n,"to"),e===n)return"";if((e=t.posix.resolve(e))===(n=t.posix.resolve(n)))return"";let s=1;for(;s<e.length&&e.charCodeAt(s)===c;++s);const i=e.length,r=i-s;let o=1;for(;o<n.length&&n.charCodeAt(o)===c;++o);const a=n.length-o,l=r<a?r:a;let u=-1,d=0;for(;d<=l;++d){if(d===l){if(a>l){if(n.charCodeAt(o+d)===c)return n.slice(o+d+1);if(0===d)return n.slice(o+d)}else r>l&&(e.charCodeAt(s+d)===c?u=d:0===d&&(u=0));break}const t=e.charCodeAt(s+d);if(t!==n.charCodeAt(o+d))break;t===c&&(u=d)}let f="";for(d=s+u+1;d<=i;++d)d!==i&&e.charCodeAt(d)!==c||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(o+u):(o+=u,n.charCodeAt(o)===c&&++o,n.slice(o))},toNamespacedPath:e=>e,dirname(e){if(h(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===c;let n=-1,s=!0;for(let t=e.length-1;t>=1;--t)if(e.charCodeAt(t)===c){if(!s){n=t;break}}else s=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&h(t,"ext"),h(e,"path")
;let n,s=0,i=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===c){if(!r){s=n+1;break}}else-1===a&&(r=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return s===i?i=a:-1===i&&(i=e.length),e.slice(s,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===c){if(!r){s=n+1;break}}else-1===i&&(r=!1,i=n+1);return-1===i?"":e.slice(s,i)},extname(e){h(e,"path");let t=-1,n=0,s=-1,i=!0,r=0;for(let o=e.length-1;o>=0;--o){const l=e.charCodeAt(o);if(l!==c)-1===s&&(i=!1,s=o+1),l===a?-1===t?t=o:1!==r&&(r=1):-1!==t&&(r=-1);else if(!i){n=o+1;break}}return-1===t||-1===s||0===r||1===r&&t===s-1&&t===n+1?"":e.slice(t,s)},format(e){if(null===e||"object"!=typeof e)throw new u("pathObject","Object",e);return m("/",e)},parse(e){h(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===c;let s;n?(t.root="/",s=1):s=0
;let i=-1,r=0,o=-1,l=!0,u=e.length-1,d=0;for(;u>=s;--u){const t=e.charCodeAt(u);if(t!==c)-1===o&&(l=!1,o=u+1),t===a?-1===i?i=u:1!==d&&(d=1):-1!==i&&(d=-1);else if(!l){r=u+1;break}}return-1===i||-1===o||0===d||1===d&&i===o-1&&i===r+1?-1!==o&&(t.base=t.name=0===r&&n?e.slice(1,o):e.slice(r,o)):(0===r&&n?(t.name=e.slice(1,i),t.base=e.slice(1,o)):(t.name=e.slice(r,i),t.base=e.slice(r,o)),t.ext=e.slice(i,o)),r>0?t.dir=e.slice(0,r-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null},t.posix.win32=t.win32.win32=t.win32,t.posix.posix=t.win32.posix=t.posix,t.normalize="win32"===n.platform?t.win32.normalize:t.posix.normalize,t.isAbsolute="win32"===n.platform?t.win32.isAbsolute:t.posix.isAbsolute,t.join="win32"===n.platform?t.win32.join:t.posix.join,t.resolve="win32"===n.platform?t.win32.resolve:t.posix.resolve,t.relative="win32"===n.platform?t.win32.relative:t.posix.relative,t.dirname="win32"===n.platform?t.win32.dirname:t.posix.dirname,t.basename="win32"===n.platform?t.win32.basename:t.posix.basename,
t.extname="win32"===n.platform?t.win32.extname:t.posix.extname,t.format="win32"===n.platform?t.win32.format:t.posix.format,t.parse="win32"===n.platform?t.win32.parse:t.posix.parse,t.toNamespacedPath="win32"===n.platform?t.win32.toNamespacedPath:t.posix.toNamespacedPath,t.sep="win32"===n.platform?t.win32.sep:t.posix.sep,t.delimiter="win32"===n.platform?t.win32.delimiter:t.posix.delimiter})),define(e[77],t([0,1]),(function(e,t){"use strict";function n(e){return new s(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStream=function(e){const t=e;return t&&[t.on,t.pause,t.resume,t.destroy].every(e=>"function"==typeof e)},t.newWriteableStream=n;class s{constructor(e){this.reducer=e,this.state={flowing:!1,ended:!1,destroyed:!1},this.buffer={data:[],error:[]},this.listeners={data:[],error:[],end:[]}}pause(){this.state.destroyed||(this.state.flowing=!1)}resume(){this.state.destroyed||this.state.flowing||(this.state.flowing=!0,this.flowData(),this.flowErrors(),this.flowEnd())}write(e){
this.state.destroyed||(this.state.flowing?this.listeners.data.forEach(t=>t(e)):this.buffer.data.push(e))}error(e){this.state.destroyed||(this.state.flowing?this.listeners.error.forEach(t=>t(e)):this.buffer.error.push(e))}end(e){this.state.destroyed||(e instanceof Error?this.error(e):e&&this.write(e),this.state.flowing?(this.listeners.end.forEach(e=>e()),this.destroy()):this.state.ended=!0)}on(e,t){if(!this.state.destroyed)switch(e){case"data":this.listeners.data.push(t),this.resume();break;case"end":this.listeners.end.push(t),this.state.flowing&&this.flowEnd()&&this.destroy();break;case"error":this.listeners.error.push(t),this.state.flowing&&this.flowErrors()}}flowData(){if(this.buffer.data.length>0){const e=this.reducer(this.buffer.data);this.listeners.data.forEach(t=>t(e)),this.buffer.data.length=0}}flowErrors(){if(this.listeners.error.length>0){for(const e of this.buffer.error)this.listeners.error.forEach(t=>t(e));this.buffer.error.length=0}}flowEnd(){
return!!this.state.ended&&(this.listeners.end.forEach(e=>e()),this.listeners.end.length>0)}destroy(){this.state.destroyed||(this.state.destroyed=!0,this.state.ended=!0,this.buffer.data.length=0,this.buffer.error.length=0,this.listeners.data.length=0,this.listeners.error.length=0,this.listeners.end.length=0)}}t.consumeReadable=function(e,t){const n=[];let s;for(;null!==(s=e.read());)n.push(s);return t(n)},t.consumeReadableWithLimit=function(e,t,n){const s=[];let i=void 0;for(;null!==(i=e.read())&&s.length<n;)s.push(i);return null===i&&s.length>0?t(s):{read:()=>{if(s.length>0)return s.shift();if(void 0!==i){const e=i;return i=void 0,e}return e.read()}}},t.consumeStream=function(e,t){return new Promise((n,s)=>{const i=[];e.on("data",e=>i.push(e)),e.on("error",e=>s(e)),e.on("end",()=>n(t(i)))})},t.consumeStreamWithLimit=function(e,t,s){return new Promise((i,r)=>{const o=[];let a=void 0;e.on("data",e=>{if(!a&&o.length===s){for(a=n(t);o.length;)a.write(o.shift());return a.write(e),i(a)}a?a.write(e):o.push(e)}),
e.on("error",e=>{if(!a)return r(e);a.error(e)}),e.on("end",()=>{if(!a)return i(t(o));for(;o.length;)a.write(o.shift());a.end()})})},t.toStream=function(e,t){const s=n(t);return s.end(e),s},t.toReadable=function(e){let t=!1;return{read:()=>t?null:(t=!0,e)}},t.transform=function(e,t,s){const i=n(s);return e.on("data",e=>i.write(t.data(e))),e.on("end",()=>i.end()),e.on("error",e=>i.error(t.error?t.error(e):e)),i}})),define(e[4],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFalsyOrWhitespace=function(e){return!e||"string"!=typeof e||0===e.trim().length},t.pad=function(e,t,n="0"){const s=""+e,i=[s];for(let e=s.length;e<t;e++)i.push(n);return i.reverse().join("")};const n=/{(\d+)}/g;function s(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function i(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let s=0;for(;e.indexOf(t,s)===s;)s+=n;return e.substring(s)}function r(e,t){if(!e||!t)return e;const n=t.length,s=e.length
;if(0===n||0===s)return e;let i=s,r=-1;for(;-1!==(r=e.lastIndexOf(t,i-1))&&r+n===i;){if(0===r)return"";i=r}return e.substring(0,i)}function o(e,t){return e<t?-1:e>t?1:0}function a(e){return e>=97&&e<=122}function c(e){return e>=65&&e<=90}function l(e){return a(e)||c(e)}function u(e,t,n=e.length){for(let s=0;s<n;s++){const n=e.charCodeAt(s),i=t.charCodeAt(s);if(n!==i)if(l(n)&&l(i)){const e=Math.abs(n-i);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function h(e,t,n,s,i,r){for(;t<n&&i<r;){if(e[t]!==s[i])return!1;t+=1,i+=1}return!0}function d(e){return 55296<=e&&e<=56319}function f(e){return 56320<=e&&e<=57343}function p(e,t,n){const s=e.charCodeAt(n);if(d(s)&&n+1<t){const t=e.charCodeAt(n+1);if(f(t))return t-56320+(s-55296<<10)+65536}return s}function g(e,t){const n=e.charCodeAt(t-1);if(f(n)&&t>1){const s=e.charCodeAt(t-2);if(d(s))return n-56320+(s-55296<<10)+65536}return n}function m(e,t){
const n=x.getInstance(),s=e.length,i=t,r=p(e,s,t),o=n.getGraphemeBreakType(r);t+=r>=65536?2:1;let a=o;for(;t<s;){const i=p(e,s,t),r=n.getGraphemeBreakType(i);if(k(a,r))break;t+=i>=65536?2:1,a=r}const c=t;for(t=i,a=o;t>0;){const s=g(e,t),i=n.getGraphemeBreakType(s);if(k(i,a))break;t-=s>=65536?2:1,a=i}return[t,c]}t.format=function(e,...t){return 0===t.length?e:e.replace(n,(function(e,n){const s=parseInt(n,10);return isNaN(s)||s<0||s>=t.length?e:t[s]}))},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=s,t.trim=function(e,t=" "){return r(i(e,t),t)},t.ltrim=i,t.rtrim=r,t.convertSimple2RegExpPattern=function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")},t.stripWildcards=function(e){return e.replace(/\*/g,"")},t.startsWith=function(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1
;return!0},t.endsWith=function(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t},t.createRegExp=function(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=s(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)},t.regExpLeadsToEndlessLoop=function(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)},t.regExpContainsBackreference=function(e){return!!e.match(/([^\\]|^)(\\\\)*\\\d+/)},t.regExpFlags=function(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")},t.firstNonWhitespaceIndex=function(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1},t.getLeadingWhitespace=function(e,t=0,n=e.length){for(let s=t;s<n;s++){const n=e.charCodeAt(s)
;if(32!==n&&9!==n)return e.substring(t,s)}return e.substring(t,n)},t.lastNonWhitespaceIndex=function(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1},t.compare=o,t.compareIgnoreCase=function(e,t){const n=Math.min(e.length,t.length);for(let s=0;s<n;s++){let n=e.charCodeAt(s),i=t.charCodeAt(s);if(n===i)continue;c(n)&&(n+=32),c(i)&&(i+=32);const r=n-i;if(0!==r)return a(n)&&a(i)?r:o(e.toLowerCase(),t.toLowerCase())}return e.length<t.length?-1:e.length>t.length?1:0},t.isLowerAsciiLetter=a,t.isUpperAsciiLetter=c,t.equalsIgnoreCase=function(e,t){return e.length===t.length&&u(e,t)},t.startsWithIgnoreCase=function(e,t){const n=t.length;return!(t.length>e.length)&&u(e,t,n)},t.commonPrefixLength=function(e,t){let n,s=Math.min(e.length,t.length);for(n=0;n<s;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return s},t.commonSuffixLength=function(e,t){let n,s=Math.min(e.length,t.length);const i=e.length-1,r=t.length-1
;for(n=0;n<s;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(r-n))return n;return s},t.overlap=function(e,t){const n=e.length;let s=t.length,i=n-s;if(0===i)return e===t?n:0;for(i<0&&(s+=i,i=0);i<n&&s>0;){if(h(e,i,n,t,0,s))return s;s-=1,i+=1}return 0},t.isHighSurrogate=d,t.isLowSurrogate=f,t.getNextCodePoint=p,t.nextCharLength=function(e,t){const n=x.getInstance(),s=t,i=e.length,r=p(e,i,t);t+=r>=65536?2:1;let o=n.getGraphemeBreakType(r);for(;t<i;){const s=p(e,i,t),r=n.getGraphemeBreakType(s);if(k(o,r))break;t+=s>=65536?2:1,o=r}return t-s},t.prevCharLength=function(e,t){const n=x.getInstance(),s=t,i=g(e,t);t-=i>=65536?2:1;let r=n.getGraphemeBreakType(i);for(;t>0;){const s=g(e,t),i=n.getGraphemeBreakType(s);if(k(i,r))break;t-=s>=65536?2:1,r=i}return s-t},t.getCharContainingOffset=function(e,t){return t>0&&f(e.charCodeAt(t))?m(e,t-1):m(e,t)},t.encodeUTF8=function(e){const t=e.length;let n=0,s=0;for(;s<t;){const i=p(e,t,s);s+=i>=65536?2:1,n+=i<128?1:i<2048?2:i<65536?3:4}const i=new Uint8Array(n);s=0;let r=0;for(;s<t;){
const n=p(e,t,s);s+=n>=65536?2:1,n<128?i[r++]=n:n<2048?(i[r++]=192|(1984&n)>>>6,i[r++]=128|(63&n)>>>0):n<65536?(i[r++]=224|(61440&n)>>>12,i[r++]=128|(4032&n)>>>6,i[r++]=128|(63&n)>>>0):(i[r++]=240|(1835008&n)>>>18,i[r++]=128|(258048&n)>>>12,i[r++]=128|(4032&n)>>>6,i[r++]=128|(63&n)>>>0)}return i},t.decodeUTF8=function(e){const t=e.byteLength,n=[];let s=0;for(;s<t;){const i=e[s];let r;if((r=i>=240&&s+3<t?(7&e[s++])<<18>>>0|(63&e[s++])<<12>>>0|(63&e[s++])<<6>>>0|(63&e[s++])<<0>>>0:i>=224&&s+2<t?(15&e[s++])<<12>>>0|(63&e[s++])<<6>>>0|(63&e[s++])<<0>>>0:i>=192&&s+1<t?(31&e[s++])<<6>>>0|(63&e[s++])<<0>>>0:e[s++])>=0&&r<=55295||r>=57344&&r<=65535)n.push(String.fromCharCode(r));else if(r>=65536&&r<=1114111){const e=r-65536,t=55296+((1047552&e)>>>10),s=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(s))}else n.push(String.fromCharCode(65533))}return n.join("")}
;const _=/(?:[\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])/;t.containsRTL=function(e){return _.test(e)};const v=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;t.containsEmoji=function(e){return v.test(e)};const b=/^[\t\n\r\x20-\x7E]*$/;function y(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}t.isBasicASCII=function(e){return b.test(e)},t.containsFullWidthCharacter=function(e){
for(let t=0,n=e.length;t<n;t++)if(y(e.charCodeAt(t)))return!0;return!1},t.isFullWidthCharacter=y,t.isEmojiImprecise=function(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685},t.lcut=function(e,t){if(e.length<t)return e;const n=/\b/g;let s=0;for(;n.test(e)&&!(e.length-n.lastIndex<t);)s=n.lastIndex,n.lastIndex+=1;return e.substring(s).replace(/^\s/,"")};const w=/\x1B\x5B[12]?K/g,E=/\x1b\[\d+m/g,C=/\x1b\[0?m/g;function S(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function k(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}t.removeAnsiEscapeCodes=function(e){return e&&(e=(e=(e=e.replace(w,"")).replace(E,"")).replace(C,"")),e},
t.removeAccents=function(){if("function"!=typeof String.prototype.normalize)return function(e){return e};{const e=/[\u0300-\u036f]/g;return function(t){return t.normalize("NFD").replace(e,"")}}}(),t.UTF8_BOM_CHARACTER=String.fromCharCode(65279),t.startsWithUTF8BOM=S,t.stripUTF8BOM=function(e){return S(e)?e.substr(1):e},t.safeBtoa=function(e){return btoa(encodeURIComponent(e))},t.repeat=function(e,t){let n="";for(let s=0;s<t;s++)n+=e;return n},t.fuzzyContains=function(e,t){if(!e||!t)return!1;if(e.length<t.length)return!1;const n=t.length,s=e.toLowerCase();let i=0,r=-1;for(;i<n;){const e=s.indexOf(t[i],r+1);if(e<0)return!1;r=e,i++}return!0},t.containsUppercaseCharacter=function(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)},t.uppercaseFirstLetter=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.getNLines=function(e,t=1){if(0===t)return"";let n=-1;do{n=e.indexOf("\n",n+1),t--}while(t>0&&n>=0);return n>=0?e.substr(0,n):e},t.singleLetterHash=function(e){
return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)},t.getGraphemeBreakType=function(e){return x.getInstance().getGraphemeBreakType(e)},t.breakBetweenGraphemeBreakType=k,function(e){e[e.Other=0]="Other",e[e.Prepend=1]="Prepend",e[e.CR=2]="CR",e[e.LF=3]="LF",e[e.Control=4]="Control",e[e.Extend=5]="Extend",e[e.Regional_Indicator=6]="Regional_Indicator",e[e.SpacingMark=7]="SpacingMark",e[e.L=8]="L",e[e.V=9]="V",e[e.T=10]="T",e[e.LV=11]="LV",e[e.LVT=12]="LVT",e[e.ZWJ=13]="ZWJ",e[e.Extended_Pictographic=14]="Extended_Pictographic"}(t.GraphemeBreakType||(t.GraphemeBreakType={}));class x{constructor(){
this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")
}static getInstance(){return x._INSTANCE||(x._INSTANCE=new x),x._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let s=1;for(;s<=n;)if(e<t[3*s])s*=2;else{if(!(e>t[3*s+1]))return t[3*s+2];s=2*s+1}return 0}}x._INSTANCE=null})),define(e[15],t([0,1,4,77]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i="undefined"!=typeof Buffer,r="undefined"!=typeof TextEncoder,o="undefined"!=typeof TextDecoder;let a,c;class l{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static alloc(e){return new l(i?Buffer.allocUnsafe(e):new Uint8Array(e))}static wrap(e){return i&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new l(e)}static fromString(e){return i?new l(Buffer.from(e)):r?(a||(a=new TextEncoder),new l(a.encode(e))):new l(n.encodeUTF8(e))}static concat(e,t){if(void 0===t){t=0;for(let n=0,s=e.length;n<s;n++)t+=e[n].byteLength}const n=l.alloc(t);let s=0
;for(let t=0,i=e.length;t<i;t++){const i=e[t];n.set(i,s),s+=i.byteLength}return n}toString(){return i?this.buffer.toString():o?(c||(c=new TextDecoder),c.decode(this.buffer)):n.decodeUTF8(this.buffer)}slice(e,t){return new l(this.buffer.subarray(e,t))}set(e,t){this.buffer.set(e.buffer,t)}readUInt32BE(e){return u(this.buffer,e)}writeUInt32BE(e,t){h(this.buffer,e,t)}readUInt8(e){return function(e,t){return e[t]}(this.buffer,e)}writeUInt8(e,t){!function(e,t,n){e[n]=t}(this.buffer,e,t)}}function u(e,t){return e[t]*2**24+65536*e[t+1]+256*e[t+2]+e[t+3]}function h(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}t.VSBuffer=l,t.readUInt32BE=u,t.writeUInt32BE=h,t.readableToBuffer=function(e){return s.consumeReadable(e,e=>l.concat(e))},t.bufferToReadable=function(e){return s.toReadable(e)},t.streamToBuffer=function(e){return s.consumeStream(e,e=>l.concat(e))},t.bufferToStream=function(e){return s.toStream(e,e=>l.concat(e))},t.streamToBufferReadableStream=function(e){return s.transform(e,{
data:e=>"string"==typeof e?l.fromString(e):l.wrap(e)},e=>l.concat(e))},t.newWriteableBufferStream=function(){return s.newWriteableStream(e=>l.concat(e))}})),define(e[45],t([0,1,4]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toLocalISOString=function(e){return e.getFullYear()+"-"+n.pad(e.getMonth()+1,2)+"-"+n.pad(e.getDate(),2)+"T"+n.pad(e.getHours(),2)+":"+n.pad(e.getMinutes(),2)+":"+n.pad(e.getSeconds(),2)+"."+(e.getMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}})),define(e[28],t([0,1,2,4,6]),(function(e,t,n,s,i){"use strict";function r(e){return 47===e||92===e}Object.defineProperty(t,"__esModule",{value:!0}),t.isPathSeparator=r,t.toSlashes=function(e){return e.replace(/[\\/]/g,i.posix.sep)},t.getRoot=function(e,t=i.posix.sep){if(!e)return"";const n=e.length,s=e.charCodeAt(0);if(r(s)){if(r(e.charCodeAt(1))&&!r(e.charCodeAt(2))){let s=3;const i=s;for(;s<n&&!r(e.charCodeAt(s));s++);
if(i!==s&&!r(e.charCodeAt(s+1)))for(s+=1;s<n;s++)if(r(e.charCodeAt(s)))return e.slice(0,s+1).replace(/[\\/]/g,t)}return t}if(l(s)&&58===e.charCodeAt(1))return r(e.charCodeAt(2))?e.slice(0,2)+t:e.slice(0,2);let o=e.indexOf("://");if(-1!==o)for(o+=3;o<n;o++)if(r(e.charCodeAt(o)))return e.slice(0,o+1);return""},t.isUNC=function(e){if(!n.isWindows)return!1;if(!e||e.length<5)return!1;let t=e.charCodeAt(0);if(92!==t)return!1;if(92!==(t=e.charCodeAt(1)))return!1;let s=2;const i=s;for(;s<e.length&&92!==(t=e.charCodeAt(s));s++);return i!==s&&(t=e.charCodeAt(s+1),!isNaN(t)&&92!==t)};const o=/[\\/:\*\?"<>\|]/g,a=/[\\/]/g,c=/^(con|prn|aux|clock\$|nul|lpt[0-9]|com[0-9])$/i;function l(e){return e>=65&&e<=90||e>=97&&e<=122}t.isValidBasename=function(e,t=n.isWindows){const s=t?o:a;return!(!e||0===e.length||/^\s+$/.test(e))&&(s.lastIndex=0,!s.test(e)&&((!t||!c.test(e))&&("."!==e&&".."!==e&&((!t||"."!==e[e.length-1])&&((!t||e.length===e.trim().length)&&!(e.length>255))))))},t.isEqual=function(e,t,n){const i=e===t
;return!n||i?i:!(!e||!t)&&s.equalsIgnoreCase(e,t)},t.isEqualOrParent=function(e,t,n,r=i.sep){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!s.startsWithIgnoreCase(e,t))return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===r&&n--,e.charAt(n)===r}return t.charAt(t.length-1)!==r&&(t+=r),0===e.indexOf(t)},t.isWindowsDriveLetter=l,t.sanitizeFilePath=function(e,t){return n.isWindows&&s.endsWith(e,":")&&(e+=i.sep),i.isAbsolute(e)||(e=i.join(t,e)),e=i.normalize(e),n.isWindows?(e=s.rtrim(e,i.sep),s.endsWith(e,":")&&(e+=i.sep)):(e=s.rtrim(e,i.sep))||(e=i.sep),e},t.isRootOrDriveLetter=function(e){const t=i.normalize(e);return n.isWindows?!(e.length>3)&&(l(t.charCodeAt(0))&&58===t.charCodeAt(1)&&(2===e.length||92===t.charCodeAt(2))):t===i.posix.sep}})),define(e[9],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={number:"number",string:"string",undefined:"undefined",object:"object",function:"function"}
;function s(e){return Array.isArray?Array.isArray(e):!(!e||typeof e.length!==n.number||e.constructor!==Array)}function i(e){return typeof e===n.string||e instanceof String}function r(e){return!(typeof e!==n.object||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function o(e){return typeof e===n.undefined}function a(e){return o(e)||null===e}t.isArray=s,t.isString=i,t.isStringArray=function(e){return s(e)&&e.every(e=>i(e))},t.isObject=r,t.isNumber=function(e){return(typeof e===n.number||e instanceof Number)&&!isNaN(e)},t.isBoolean=function(e){return!0===e||!1===e},t.isUndefined=o,t.isUndefinedOrNull=a,t.assertType=function(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")},t.assertIsDefined=function(e){if(a(e))throw new Error("Assertion Failed: argument is undefined or null");return e},t.assertAllDefined=function(...e){const t=[];for(let n=0;n<e.length;n++){const s=e[n];if(a(s))throw new Error(`Assertion Failed: argument at index ${n} is undefined or null`)
;t.push(s)}return t};const c=Object.prototype.hasOwnProperty;function l(e){return typeof e===n.function}function u(e,t){if(i(t)){if(typeof e!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(l(t)){try{if(e instanceof t)return}catch(e){}if(!a(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function h(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}t.isEmptyObject=function(e){if(!r(e))return!1;for(let t in e)if(c.call(e,t))return!1;return!0},t.isFunction=l,t.areFunctions=function(...e){return e.length>0&&e.every(l)},t.validateConstraints=function(e,t){const n=Math.min(e.length,t.length);for(let s=0;s<n;s++)u(e[s],t[s])},t.validateConstraint=u,t.getAllPropertyNames=h,t.getAllMethodNames=function(e){
const t=[];for(const n of h(e))"function"==typeof e[n]&&t.push(n);return t},t.createProxyObject=function(e,t){const n=e=>(function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)});let s={};for(const t of e)s[t]=n(t);return s},t.withNullAsUndefined=function(e){return null===e?void 0:e},t.withUndefinedAsNull=function(e){return void 0===e?null:e}})),define(e[11],t([0,1,9]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepClone=function e(t){if(!t||"object"!=typeof t)return t;if(t instanceof RegExp)return t;const n=Array.isArray(t)?[]:{};return Object.keys(t).forEach(s=>{t[s]&&"object"==typeof t[s]?n[s]=e(t[s]):n[s]=t[s]}),n},t.deepFreeze=function(e){if(!e||"object"!=typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const n in e)if(s.call(e,n)){const s=e[n];"object"!=typeof s||Object.isFrozen(s)||t.push(s)}}return e};const s=Object.prototype.hasOwnProperty;function i(e,t){if(e===t)return!0;if(null==e||null==t)return!1
;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,s;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!i(e[n],t[n]))return!1}else{const r=[];for(s in e)r.push(s);r.sort();const o=[];for(s in t)o.push(s);if(o.sort(),!i(r,o))return!1;for(n=0;n<r.length;n++)if(!i(e[r[n]],t[r[n]]))return!1}return!0}t.cloneAndChange=function(e,t){return function e(t,i,r){if(n.isUndefinedOrNull(t))return t;const o=i(t);if(void 0!==o)return o;if(n.isArray(t)){const n=[];for(const s of t)n.push(e(s,i,r));return n}if(n.isObject(t)){if(r.has(t))throw new Error("Cannot clone recursive data-structure");r.add(t);const n={};for(let o in t)s.call(t,o)&&(n[o]=e(t[o],i,r));return r.delete(t),n}return t}(e,t,new Set)},t.mixin=function e(t,s,i=!0){return n.isObject(t)?(n.isObject(s)&&Object.keys(s).forEach(r=>{r in t?i&&(n.isObject(t[r])&&n.isObject(s[r])?e(t[r],s[r],i):t[r]=s[r]):t[r]=s[r]}),t):s},t.assign=function(e,...t){
return t.forEach(t=>Object.keys(t).forEach(n=>e[n]=t[n])),e},t.equals=i,t.safeStringify=function(e){const t=[];return JSON.stringify(e,(e,s)=>{if(n.isObject(s)||Array.isArray(s)){if(-1!==t.indexOf(s))return"[Circular]";t.push(s)}return s})},t.getOrDefault=function(e,t,n){const s=t(e);return void 0===s?n:s},t.distinct=function(e,t){const n=Object.create(null);return e&&t?(Object.keys(t).forEach(s=>{const r=e[s],o=t[s];i(r,o)||(n[s]=o)}),n):n}})),define(e[8],t([0,1,2]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=/^\w[\w\d+.-]*$/,i=/^\//,r=/^\/\//;const o="",a="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class l{constructor(e,t,n,c,l,u=!1){"object"==typeof e?(this.scheme=e.scheme||o,this.authority=e.authority||o,this.path=e.path||o,this.query=e.query||o,this.fragment=e.fragment||o):(this.scheme=function(e,t){return e||t?e:"file"}(e,u),this.authority=t||o,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==a&&(t=a+t):t=a}
return t}(this.scheme,n||o),this.query=c||o,this.fragment=l||o,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!i.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(r.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,u))}static isUri(e){return e instanceof l||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}get fsPath(){return g(this)}
with(e){if(!e)return this;let{scheme:t,authority:n,path:s,query:i,fragment:r}=e;return void 0===t?t=this.scheme:null===t&&(t=o),void 0===n?n=this.authority:null===n&&(n=o),void 0===s?s=this.path:null===s&&(s=o),void 0===i?i=this.query:null===i&&(i=o),void 0===r?r=this.fragment:null===r&&(r=o),t===this.scheme&&n===this.authority&&s===this.path&&i===this.query&&r===this.fragment?this:new h(t,n,s,i,r)}static parse(e,t=!1){const n=c.exec(e);return n?new h(n[2]||o,v(n[4]||o),v(n[5]||o),v(n[7]||o),v(n[9]||o),t):new h(o,o,o,o,o)}static file(e){let t=o;if(n.isWindows&&(e=e.replace(/\\/g,a)),e[0]===a&&e[1]===a){const n=e.indexOf(a,2);-1===n?(t=e.substring(2),e=a):(t=e.substring(2,n),e=e.substring(n)||a)}return new h("file",t,e,o,o)}static from(e){return new h(e.scheme,e.authority,e.path,e.query,e.fragment)}toString(e=!1){return m(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof l)return e;{const t=new h(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}t.URI=l
;const u=n.isWindows?1:void 0;class h extends l{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=g(this)),this._fsPath}toString(e=!1){return e?m(this,!0):(this._formatted||(this._formatted=m(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),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}}const d={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function f(e,t){let n=void 0,s=-1;for(let i=0;i<e.length;i++){const r=e.charCodeAt(i);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==s&&(n+=encodeURIComponent(e.substring(s,i)),s=-1),
void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));const t=d[r];void 0!==t?(-1!==s&&(n+=encodeURIComponent(e.substring(s,i)),s=-1),n+=t):-1===s&&(s=i)}}return-1!==s&&(n+=encodeURIComponent(e.substring(s))),void 0!==n?n:e}function p(e){let t=void 0;for(let n=0;n<e.length;n++){const s=e.charCodeAt(n);35===s||63===s?(void 0===t&&(t=e.substr(0,n)),t+=d[s]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function g(e){let 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,n.isWindows&&(t=t.replace(/\//g,"\\")),t}function m(e,t){const n=t?p:f;let s="",{scheme:i,authority:r,path:o,query:c,fragment:l}=e;if(i&&(s+=i,s+=":"),(r||"file"===i)&&(s+=a,s+=a),r){let e=r.indexOf("@");if(-1!==e){const t=r.substr(0,e);r=r.substr(e+1),
-1===(e=t.indexOf(":"))?s+=n(t,!1):(s+=n(t.substr(0,e),!1),s+=":",s+=n(t.substr(e+1),!1)),s+="@"}-1===(e=(r=r.toLowerCase()).indexOf(":"))?s+=n(r,!1):(s+=n(r.substr(0,e),!1),s+=r.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}s+=n(o,!0)}return c&&(s+="?",s+=n(c,!1)),l&&(s+="#",s+=t?l:f(l,!1)),s}const _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function v(e){return e.match(_)?e.replace(_,e=>(function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}})(e)):e}})),define(e[22],t([0,1,8]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPathFromAmdModule=function(e,t){return n.URI.parse(e.toUrl(t)).fsPath},t.registerAndGetAmdImageURL=function(t){return e.toUrl(t)}})),
define(e[23],t([0,1,8,36]),(function(e,t,n,s){"use strict";function i(e){const t=[];return e.forEach(e=>t.push(e)),t}function r(e){const t=[];return e.forEach((e,n)=>t.push(n)),t}Object.defineProperty(t,"__esModule",{value:!0}),t.values=i,t.keys=r,t.getOrSet=function(e,t,n){let s=e.get(t);return void 0===s&&(s=n,e.set(t,s)),s},t.mapToString=function(e){const t=[];return e.forEach((e,n)=>{t.push(`${n} => ${e}`)}),`Map(${e.size}) {${t.join(", ")}}`},t.setToString=function(e){const t=[];return e.forEach(e=>{t.push(e)}),`Set(${e.size}) {${t.join(", ")}}`},t.mapToSerializable=function(e){const t=[];return e.forEach((e,n)=>{t.push([n,e])}),t},t.serializableToMap=function(e){const t=new Map;for(const[n,s]of e)t.set(n,s);return t};class o{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)}value(){return this._value[this._pos]}}
t.StringIterator=o;class a{constructor(e=!0){this._splitOnBackslash=e}reset(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){const t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this}cmp(e){let t=0;const n=e.length;let s=this._from;for(;t<n&&s<this._to;){const n=e.charCodeAt(t)-this._value.charCodeAt(s);if(0!==n)return n;t+=1,s+=1}return n===this._to-this._from?0:t<n?-1:1}value(){return this._value.substring(this._from,this._to)}}t.PathIterator=a;class c{isEmpty(){return!(this.left||this.mid||this.right||this.value)}}class l{constructor(e){this._iter=e}static forPaths(){return new l(new a)}static forStrings(){return new l(new o)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let s;for(this._root||(this._root=new c,this._root.segment=n.value()),s=this._root;;){
const e=n.cmp(s.segment);if(e>0)s.left||(s.left=new c,s.left.segment=n.value()),s=s.left;else if(e<0)s.right||(s.right=new c,s.right.segment=n.value()),s=s.right;else{if(!n.hasNext())break;n.next(),s.mid||(s.mid=new c,s.mid.segment=n.value()),s=s.mid}}const i=s.value;return s.value=t,s.key=e,i}get(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0}delete(e){const t=this._iter.reset(e),n=[];let s=this._root;for(;s;){const e=t.cmp(s.segment);if(e>0)n.push([1,s]),s=s.left;else if(e<0)n.push([-1,s]),s=s.right;else{if(!t.hasNext()){for(s.value=void 0;n.length>0&&s.isEmpty();){let[e,t]=n.pop();switch(e){case 1:t.left=void 0;break;case 0:t.mid=void 0;break;case-1:t.right=void 0}s=t}break}t.next(),n.push([0,s]),s=s.mid}}}findSubstr(e){const t=this._iter.reset(e);let n=this._root,s=void 0;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{
if(!t.hasNext())break;t.next(),s=n.value||s,n=n.mid}}return n&&n.value||s}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())return n.mid?this._nodeIterator(n.mid):void 0;t.next(),n=n.mid}}}_nodeIterator(e){let t,n,i;return{next:()=>(i||(i=[],n=0,this._forEach(e,e=>i.push(e))),n>=i.length?s.FIN:(t?t.value=i[n++]:t={done:!1,value:i[n++]},t))}}forEach(e){this._forEach(this._root,e)}_forEach(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))}}t.TernarySearchTree=l;class u{constructor(){this.map=new Map,this.ignoreCase=!1}set(e,t){this.map.set(this.toKey(e),t)}get(e){return this.map.get(this.toKey(e))}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e){this.map.forEach(e)}values(){return i(this.map)}toKey(e){let t=e.toString()
;return this.ignoreCase&&(t=t.toLowerCase()),t}keys(){return r(this.map).map(e=>n.URI.parse(e))}clone(){const e=new u;return this.map.forEach((t,n)=>e.map.set(n,t)),e}}t.ResourceMap=u,function(e){e[e.None=0]="None",e[e.AsOld=1]="AsOld",e[e.AsNew=2]="AsNew"}(t.Touch||(t.Touch={}));class h{constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let s=this._map.get(e);if(s)s.value=t,0!==n&&this.touch(s,n);else{switch(s={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(s);break;case 1:this.addItemFirst(s);break;case 2:default:this.addItemLast(s)}this._map.set(e,s),this._size++}}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),
this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let n=this._head;for(;n;)t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),n=n.next}values(){const e=[];let t=this._head;for(;t;)e.push(t.value),t=t.next;return e}keys(){const e=[];let t=this._head;for(;t;)e.push(t.key),t=t.next;return e}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0)}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e}removeItem(e){
if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear()
;for(const[t,n]of e)this.set(t,n)}}t.LinkedMap=h;t.LRUCache=class extends h{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e){return super.get(e,2)}peek(e){return super.get(e,0)}set(e,t){super.set(e,t,2),this.checkTrim()}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}})),define(e[72],t([0,1,27,4,28,6,23,12]),(function(e,t,n,s,i,r,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyExpression=function(){return Object.create(null)};const c="**",l="/",u="[/\\\\]",h="[^/\\\\]",d=/\//g;function f(e){switch(e){case 0:return"";case 1:return`${h}*?`;default:return`(?:${u}|${h}+${u}|${u}${h}+)*?`}}function p(e,t){if(!e)return[];const n=[];let s=!1,i=!1,r="";for(const o of e){switch(o){case t:if(!s&&!i){n.push(r),r="";continue}break;case"{":s=!0
;break;case"}":s=!1;break;case"[":i=!0;break;case"]":i=!1}r+=o}return r&&n.push(r),n}t.splitGlobAware=p;const g=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,_=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,v=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,b=/^\*\*((\/[\w\.-]+)+)\/?$/,y=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,w=new o.LRUCache(1e4),E=function(){return!1},C=function(){return null};function S(e,t){if(!e)return C;let i;const r=`${i=(i="string"!=typeof e?e.pattern:e).trim()}_${!!t.trimForExclusions}`;let o,a=w.get(r);if(a)return k(a,e);if(g.test(i)){const e=i.substr(4);a=function(t,n){return"string"==typeof t&&s.endsWith(t,e)?i:null}}else a=(o=m.exec(x(i,t)))?function(e,t){const n=`/${e}`,i=`\\${e}`,r=function(r,o){return"string"!=typeof r?null:o?o===e?t:null:r===e||s.endsWith(r,n)||s.endsWith(r,i)?t:null},o=[e];return r.basenames=o,r.patterns=[t],r.allBasenames=o,r}(o[1],i):(t.trimForExclusions?v:_).test(i)?function(e,t){
const s=T(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==C),e),i=s.length;if(!i)return C;if(1===i)return s[0];const r=function(t,n){for(let i=0,r=s.length;i<r;i++)if(s[i](t,n))return e;return null},o=n.first(s,e=>!!e.allBasenames);o&&(r.allBasenames=o.allBasenames);const a=s.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);a.length&&(r.allPaths=a);return r}(i,t):(o=b.exec(x(i,t)))?L(o[1].substr(1),i,!0):(o=y.exec(x(i,t)))?L(o[1],i,!1):function(e){try{const t=new RegExp(`^${function e(t){if(!t)return"";let n="";const i=p(t,l);if(i.every(e=>e===c))n=".*";else{let t=!1;i.forEach((r,o)=>{if(r===c)return void(t||(n+=f(2),t=!0));let a=!1,d="",g=!1,m="";for(const t of r)if("}"!==t&&a)d+=t;else if(!g||"]"===t&&m)switch(t){case"{":a=!0;continue;case"[":g=!0;continue;case"}":const i=`(?:${p(d,",").map(t=>e(t)).join("|")})`;n+=i,a=!1,d="";break;case"]":n+="["+m+"]",g=!1,m="";break;case"?":n+=h;continue;case"*":n+=f(1);continue;default:n+=s.escapeRegExpCharacters(t)}else{let e
;m+=e="-"===t?t:"^"!==t&&"!"!==t||m?t===l?"":s.escapeRegExpCharacters(t):"^"}o<i.length-1&&(i[o+1]!==c||o+2<i.length)&&(n+=u),t=!1})}return n}(e)}$`);return function(n,s){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return C}}(i);return w.set(r,a),k(a,e)}function k(e,t){return"string"==typeof t?e:function(n,s){return i.isEqualOrParent(n,t.base)?e(r.relative(t.base,n),s):null}}function x(e,t){return t.trimForExclusions&&s.endsWith(e,"/**")?e.substr(0,e.length-2):e}function L(e,t,n){const i=r.sep!==r.posix.sep?e.replace(d,r.sep):e,o=r.sep+i,a=n?function(e,n){return"string"!=typeof e||e!==i&&!s.endsWith(e,o)?null:t}:function(e,n){return"string"==typeof e&&e===i?t:null};return a.allPaths=[(n?"*/":"./")+e],a}function A(e,t={}){if(!e)return E;if("string"==typeof e||I(e)){const n=S(e,t);if(n===C)return E;const s=function(e,t){return!!n(e,t)};return n.allBasenames&&(s.allBasenames=n.allBasenames),n.allPaths&&(s.allPaths=n.allPaths),s}return function(e,t){
const s=T(Object.getOwnPropertyNames(e).map(n=>(function(e,t,n){if(!1===t)return C;const s=S(e,n);if(s===C)return C;if("boolean"==typeof t)return s;if(t){const n=t.when;if("string"==typeof n){const t=(t,i,r,o)=>{if(!o||!s(t,i))return null;const c=o(n.replace("$(basename)",r));return a.isThenable(c)?c.then(t=>t?e:null):c?e:null};return t.requiresSiblings=!0,t}}return s})(n,e[n],t)).filter(e=>e!==C)),i=s.length;if(!i)return C;if(!s.some(e=>!!e.requiresSiblings)){if(1===i)return s[0];const e=function(e,t){for(let n=0,i=s.length;n<i;n++){const i=s[n](e,t);if(i)return i}return null},t=n.first(s,e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);const r=s.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return r.length&&(e.allPaths=r),e}const o=function(e,t,n){let i=void 0;for(let o=0,a=s.length;o<a;o++){const a=s[o];a.requiresSiblings&&n&&(t||(t=r.basename(e)),i||(i=t.substr(0,t.length-r.extname(e).length)));const c=a(e,t,i,n);if(c)return c}return null},c=n.first(s,e=>!!e.allBasenames)
;c&&(o.allBasenames=c.allBasenames);const l=s.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);l.length&&(o.allPaths=l);return o}(e,t)}function P(e){const t={};for(const n of e)t[n]=!0;return t}function I(e){const t=e;return t&&"string"==typeof t.base&&"string"==typeof t.pattern}function T(e,t){const n=e.filter(e=>!!e.basenames);if(n.length<2)return e;const s=n.reduce((e,t)=>{const n=t.basenames;return n?e.concat(n):e},[]);let i;if(t){i=[];for(let e=0,n=s.length;e<n;e++)i.push(t)}else i=n.reduce((e,t)=>{const n=t.patterns;return n?e.concat(n):e},[]);const r=function(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=s.indexOf(t);return-1!==n?i[n]:null};r.basenames=s,r.patterns=i,r.allBasenames=s;const o=e.filter(e=>!e.basenames);return o.push(r),o}t.match=function(e,t,n){return!(!e||"string"!=typeof t)&&A(e)(t,void 0,n)},t.parse=A,t.hasSiblingPromiseFn=function(e){if(!e)return;let t
;return n=>(t||(t=(e()||Promise.resolve([])).then(e=>e?P(e):{})),t.then(e=>!!e[n]))},t.hasSiblingFn=function(e){if(!e)return;let t;return n=>{if(!t){const n=e();t=n?P(n):{}}return!!t[n]}},t.isRelativePattern=I,t.getBasenameTerms=function(e){return e.allBasenames||[]},t.getPathTerms=function(e){return e.allPaths||[]}})),define(e[74],t([0,1,8,4]),(function(e,t,n,s){"use strict";function i(e,t){return t instanceof RegExp?{$mid:2,source:t.source,flags:s.regExpFlags(t)}:t}function r(e,t=0){if(!e||t>200)return e;if("object"==typeof e){switch(e.$mid){case 1:return n.URI.revive(e);case 2:return new RegExp(e.source,e.flags)}for(let n in e)Object.hasOwnProperty.call(e,n)&&(e[n]=r(e[n],t+1))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=function(e){return JSON.stringify(e,i)},t.parse=function(e){let t=JSON.parse(e);return t=r(t)},t.revive=r})),define(e[35],t([0,1,8,2]),(function(e,t,n,s){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.inMemory="inmemory",
e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata"}(i=t.Schemas||(t.Schemas={}));t.RemoteAuthorities=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}setDelegate(e){this._delegate=e}set(e,t,n){this._hosts[e]=t,this._ports[e]=n}setConnectionToken(e,t){this._connectionTokens[e]=t}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let r=this._hosts[t];r&&-1!==r.indexOf(":")&&(r=`[${r}]`);const o=this._ports[t],a=this._connectionTokens[t];let c=`path=${encodeURIComponent(e.path)}`
;return"string"==typeof a&&(c+=`&tkn=${encodeURIComponent(a)}`),n.URI.from({scheme:s.isWeb?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${r}:${o}`,path:"/vscode-remote-resource",query:c})}}})),define(e[25],t([0,1,13,68,30,63,12,7,3,5,2,27,35,47]),(function(e,t,n,s,i,r,o,a,c,l,u,h,d,f){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearNode=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.removeNode=function(e){e.parentNode&&e.parentNode.removeChild(e)},t.isInDOM=function(e){for(;e;){if(e===document.body)return!0;e=e.parentNode||e.host}return!1};const p=new class{constructor(){this._lastStart=-1,this._lastEnd=-1}_findClassName(e,t){let n=e.className;if(!n)return void(this._lastStart=-1);t=t.trim();let s=n.length,i=t.length;if(0===i)return void(this._lastStart=-1);if(s<i)return void(this._lastStart=-1);if(n===t)return this._lastStart=0,void(this._lastEnd=s);let r,o=-1;for(;(o=n.indexOf(t,o+1))>=0;){if(r=o+i,
(0===o||32===n.charCodeAt(o-1))&&32===n.charCodeAt(r))return this._lastStart=o,void(this._lastEnd=r+1);if(o>0&&32===n.charCodeAt(o-1)&&r===s)return this._lastStart=o-1,void(this._lastEnd=r);if(0===o&&r===s)return this._lastStart=0,void(this._lastEnd=r)}this._lastStart=-1}hasClass(e,t){return this._findClassName(e,t),-1!==this._lastStart}addClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.addClass(e,t)))}addClass(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t}removeClass(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))}removeClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.removeClass(e,t)))}toggleClass(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)}},g=new class{hasClass(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)}
addClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.addClass(e,t)))}addClass(e,t){t&&e.classList&&e.classList.add(t)}removeClass(e,t){t&&e.classList&&e.classList.remove(t)}removeClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.removeClass(e,t)))}toggleClass(e,t,n){e.classList&&e.classList.toggle(t,n)}},m=n.isIE?p:g;t.hasClass=m.hasClass.bind(m),t.addClass=m.addClass.bind(m),t.addClasses=m.addClasses.bind(m),t.removeClass=m.removeClass.bind(m),t.removeClasses=m.removeClasses.bind(m),t.toggleClass=m.toggleClass.bind(m);class _{constructor(e,t,n,s){this._node=e,this._type=t,this._handler=n,this._options=s||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function v(e,t,n,s){return new _(e,t,n,s)}function b(e){return function(t){return e(new r.StandardMouseEvent(t))}}function y(e,n,s){
return v(e,u.isIOS&&f.BrowserFeatures.pointerEvents?t.EventType.POINTER_DOWN:t.EventType.MOUSE_DOWN,n,s)}t.addDisposableListener=v,t.addStandardDisposableListener=function(e,t,n,s){let r=n;return"click"===t||"mousedown"===t?r=b(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(r=function(e){return function(t){return e(new i.StandardKeyboardEvent(t))}}(n)),v(e,t,r,s)},t.addStandardDisposableGenericMouseDownListner=function(e,t,n){return y(e,b(t),n)},t.addDisposableGenericMouseDownListner=y,t.addDisposableGenericMouseMoveListner=function(e,n,s){return v(e,u.isIOS&&f.BrowserFeatures.pointerEvents?t.EventType.POINTER_MOVE:t.EventType.MOUSE_MOVE,n,s)},t.addDisposableGenericMouseUpListner=function(e,n,s){return v(e,u.isIOS&&f.BrowserFeatures.pointerEvents?t.EventType.POINTER_UP:t.EventType.MOUSE_UP,n,s)},t.addDisposableNonBubblingMouseOutListener=function(e,t){return v(e,"mouseout",n=>{let s=n.relatedTarget||n.target;for(;s&&s!==e;)s=s.parentNode;s!==e&&t(n)})},
t.addDisposableNonBubblingPointerOutListener=function(e,t){return v(e,"pointerout",n=>{let s=n.relatedTarget||n.target;for(;s&&s!==e;)s=s.parentNode;s!==e&&t(n)})};let w=null;class E{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){a.onUnexpectedError(e)}}static sort(e,t){return t.priority-e.priority}}!function(){let e=[],n=null,s=!1,i=!1,r=()=>{for(s=!1,n=e,e=[],i=!0;n.length>0;){n.sort(E.sort),n.shift().execute()}i=!1};t.scheduleAtNextAnimationFrame=(t,n=0)=>{let i=new E(t,n);return e.push(i),s||(s=!0,function(e){if(!w){const e=e=>setTimeout(()=>e((new Date).getTime()),0);w=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}w.call(self,e)}(r)),i},t.runAtThisOrScheduleAtNextAnimationFrame=(e,s)=>{if(i){let t=new E(e,s);return n.push(t),t}return t.scheduleAtNextAnimationFrame(e,s)}}(),
t.measure=function(e){return t.scheduleAtNextAnimationFrame(e,1e4)},t.modify=function(e){return t.scheduleAtNextAnimationFrame(e,-1e4)};const C=16,S=function(e,t){return t};class k extends l.Disposable{constructor(e,t,n,s=S,i=C){super();let r=null,a=0,c=this._register(new o.TimeoutTimer),l=()=>{a=(new Date).getTime(),n(r),r=null};this._register(v(e,t,e=>{r=s(r,e);let t=(new Date).getTime()-a;t>=i?(c.cancel(),l()):c.setIfNotSet(l,i-t)}))}}function x(e){return document.defaultView.getComputedStyle(e,null)}t.addDisposableThrottledListener=function(e,t,n,s,i){return new k(e,t,n,s,i)},t.getComputedStyle=x,t.getClientArea=function(e){if(e!==document.body)return new A(e.clientWidth,e.clientHeight);if(u.isIOS&&window.visualViewport){const e=window.visualViewport.width,t=window.visualViewport.height-(n.isStandalone?24:0);return new A(e,t)}if(window.innerWidth&&window.innerHeight)return new A(window.innerWidth,window.innerHeight)
;if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new A(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new A(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")};class L{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let s=x(e),i="0";return s&&(i=s.getPropertyValue?s.getPropertyValue(t):s.getAttribute(n)),L.convertToPixels(e,i)}static getBorderLeftWidth(e){return L.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return L.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return L.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return L.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){
return L.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return L.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return L.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return L.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return L.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return L.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return L.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return L.getDimension(e,"margin-bottom","marginBottom")}}class A{constructor(e,t){this.width=e,this.height=t}static equals(e,t){return e===t||!(!e||!t)&&(e.width===t.width&&e.height===t.height)}}function P(e){let t=e.offsetParent,n=e.offsetTop,s=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;let i=x(e);i&&(s-="rtl"!==i.direction?e.scrollLeft:-e.scrollLeft),e===t&&(s+=L.getBorderLeftWidth(e),
n+=L.getBorderTopWidth(e),n+=e.offsetTop,s+=e.offsetLeft,t=e.offsetParent)}return{left:s,top:n}}function I(e){let t=L.getMarginLeft(e)+L.getMarginRight(e);return e.offsetWidth+t}function T(e){let t=L.getMarginLeft(e)+L.getMarginRight(e);return e.scrollWidth+t}function D(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function O(e,n,s){for(;e;){if(t.hasClass(e,n))return e;if(s)if("string"==typeof s){if(t.hasClass(e,s))return null}else if(e===s)return null;e=e.parentNode}return null}function R(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}t.Dimension=A,t.getTopLeftOffset=P,t.size=function(e,t,n){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof n&&(e.style.height=`${n}px`)},t.position=function(e,t,n,s,i,r="absolute"){"number"==typeof t&&(e.style.top=`${t}px`),"number"==typeof n&&(e.style.right=`${n}px`),"number"==typeof s&&(e.style.bottom=`${s}px`),"number"==typeof i&&(e.style.left=`${i}px`),
e.style.position=r},t.getDomNodePagePosition=function(e){let n=e.getBoundingClientRect();return{left:n.left+t.StandardWindow.scrollX,top:n.top+t.StandardWindow.scrollY,width:n.width,height:n.height}},t.StandardWindow=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}},t.getTotalWidth=I,t.getContentWidth=function(e){let t=L.getBorderLeftWidth(e)+L.getBorderRightWidth(e),n=L.getPaddingLeft(e)+L.getPaddingRight(e);return e.offsetWidth-t-n},t.getTotalScrollWidth=T,t.getContentHeight=function(e){let t=L.getBorderTopWidth(e)+L.getBorderBottomWidth(e),n=L.getPaddingTop(e)+L.getPaddingBottom(e);return e.offsetHeight-t-n},t.getTotalHeight=function(e){let t=L.getMarginTop(e)+L.getMarginBottom(e);return e.offsetHeight+t},t.getLargestChildWidth=function(e,t){let n=t.map(t=>Math.max(T(t),I(t))+function(e,t){
if(null===e)return 0;let n=P(e),s=P(t);return n.left-s.left}(t,e)||0);return Math.max(...n)},t.isAncestor=D,t.findParentWithClass=O,t.hasParentWithClass=function(e,t,n){return!!O(e,t,n)},t.createStyleSheet=R,t.createMetaElement=function(e=document.getElementsByTagName("head")[0]){let t=document.createElement("meta");return e.appendChild(t),t};let M=null;function N(){return M||(M=R()),M}t.createCSSRule=function(e,t,n=N()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)},t.removeCSSRulesContainingSelector=function(e,t=N()){if(!t)return;let n=function(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}(t),s=[];for(let t=0;t<n.length;t++){-1!==n[t].selectorText.indexOf(e)&&s.push(t)}for(let e=s.length-1;e>=0;e--)t.sheet.deleteRule(s[e])},t.isHTMLElement=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName},t.EventType={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",
MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:n.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:n.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:n.isWebKit?"webkitAnimationIteration":"animationiteration"},
t.EventHelper={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}},t.saveParentsScrollTop=function(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t},t.restoreParentsScrollTop=function(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode};class U extends l.Disposable{constructor(e){super(),this._onDidFocus=this._register(new c.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Emitter),this.onDidBlur=this._onDidBlur.event;let n=D(document.activeElement,e),i=!1;const r=()=>{i=!1,n||(n=!0,this._onDidFocus.fire())},o=()=>{n&&(i=!0,window.setTimeout(()=>{i&&(i=!1,n=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{D(document.activeElement,e)!==n&&(n?o():r())},this._register(s.domEvent(e,t.EventType.FOCUS,!0)(r)),this._register(s.domEvent(e,t.EventType.BLUR,!0)(o))}refreshState(){
this._refreshStateHandler()}}t.trackFocus=function(e){return new U(e)},t.append=function(e,...t){return t.forEach(t=>e.appendChild(t)),t[t.length-1]},t.prepend=function(e,t){return e.insertBefore(t,e.firstChild),t};const F=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;var B;function $(e,t,n,...s){let i=F.exec(t);if(!i)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let r,o=i[1]||"div";return r=e!==B.HTML?document.createElementNS(e,o):document.createElement(o),i[3]&&(r.id=i[3]),i[4]&&(r.className=i[4].replace(/\./g," ").trim()),Object.keys(n).forEach(e=>{const t=n[e];void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),h.coalesce(s).forEach(e=>{e instanceof Node?r.appendChild(e):r.appendChild(document.createTextNode(e))}),r}function j(e,t,...n){return $(B.HTML,e,t,...n)}function K(e){return e&&d.Schemas.vscodeRemote===e.scheme?d.RemoteAuthorities.rewrite(e):e}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"
}(B=t.Namespace||(t.Namespace={})),t.$=j,j.SVG=function(e,t,...n){return $(B.SVG,e,t,...n)},t.join=function(e,t){const n=[];return e.forEach((e,s)=>{s>0&&(t instanceof Node?n.push(t.cloneNode()):n.push(document.createTextNode(t))),n.push(e)}),n},t.show=function(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")},t.hide=function(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")},t.removeTabIndexAndUpdateFocus=function(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){let t=function(e,t){for(;e;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}},t.getElementsByTagName=function(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)},t.finalHandler=function(e){return t=>{t.preventDefault(),t.stopPropagation(),e(t)}},t.domContentLoaded=function(){return new Promise(e=>{
"complete"===document.readyState||document&&null!==document.body?u.setImmediate(e):window.addEventListener("DOMContentLoaded",e,!1)})},t.computeScreenAwareSize=function(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio},t.windowOpenNoOpener=function(e){if(u.isNative||n.isEdgeWebView)window.open(e);else{let t=window.open();t&&(t.opener=null,t.location.href=e)}},t.animate=function(e){const n=()=>{e(),s=t.scheduleAtNextAnimationFrame(n)};let s=t.scheduleAtNextAnimationFrame(n);return l.toDisposable(()=>s.dispose())},d.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http"),t.asDomUri=K,t.asCSSUrl=function(e){return e?`url('${K(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"},t.triggerDownload=function(e,t){const n=document.createElement("a");document.body.appendChild(n),n.download=t,n.href=e.toString(!0),n.click(),setTimeout(()=>document.body.removeChild(n))}}));var n=this&&this.__decorate||function(e,t,n,s){
var i,r=arguments.length,o=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,s);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(r<3?i(o):r>3?i(t,n,o):i(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};define(e[82],t([0,1,27,5,25,20]),(function(e,t,s,i,r,o){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(a=t.EventType||(t.EventType={}));class c extends i.Disposable{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(r.addDisposableListener(document,"touchstart",e=>this.onTouchStart(e))),this._register(r.addDisposableListener(document,"touchend",e=>this.onTouchEnd(e))),
this._register(r.addDisposableListener(document,"touchmove",e=>this.onTouchMove(e)))}static addTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.targets.push(e),{dispose:()=>{c.INSTANCE.targets=c.INSTANCE.targets.filter(t=>t!==e)}}):i.Disposable.None}static ignoreTarget(e){return c.isTouchDevice()?(c.INSTANCE||(c.INSTANCE=new c),c.INSTANCE.ignoreTargets.push(e),{dispose:()=>{c.INSTANCE.ignoreTargets=c.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):i.Disposable.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,s=e.targetTouches.length;n<s;n++){let s=e.targetTouches.item(n);this.activeTouches[s.identifier]={id:s.identifier,initialTarget:s.target,initialTimeStamp:t,initialPageX:s.pageX,initialPageY:s.pageY,rollingTimestamps:[t],
rollingPageX:[s.pageX],rollingPageY:[s.pageY]};let i=this.newGestureEvent(a.Start,s.target);i.pageX=s.pageX,i.pageY=s.pageY,this.dispatchEvent(i)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let i=0,r=e.changedTouches.length;i<r;i++){let r=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(r.identifier))){console.warn("move of an UNKNOWN touch",r);continue}let o=this.activeTouches[r.identifier],l=Date.now()-o.initialTimeStamp;if(l<c.HOLD_DELAY&&Math.abs(o.initialPageX-s.tail(o.rollingPageX))<30&&Math.abs(o.initialPageY-s.tail(o.rollingPageY))<30){let e=this.newGestureEvent(a.Tap,o.initialTarget);e.pageX=s.tail(o.rollingPageX),e.pageY=s.tail(o.rollingPageY),this.dispatchEvent(e)}else if(l>=c.HOLD_DELAY&&Math.abs(o.initialPageX-s.tail(o.rollingPageX))<30&&Math.abs(o.initialPageY-s.tail(o.rollingPageY))<30){let e=this.newGestureEvent(a.Contextmenu,o.initialTarget)
;e.pageX=s.tail(o.rollingPageX),e.pageY=s.tail(o.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=s.tail(o.rollingPageX),n=s.tail(o.rollingPageY),i=s.tail(o.rollingTimestamps)-o.rollingTimestamps[0],r=e-o.rollingPageX[0],a=n-o.rollingPageY[0];const c=this.targets.filter(e=>o.initialTarget instanceof Node&&e.contains(o.initialTarget));this.inertia(c,t,Math.abs(r)/i,r>0?1:-1,e,Math.abs(a)/i,a>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(a.End,o.initialTarget)),delete this.activeTouches[r.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===a.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>c.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==a.Change&&e.type!==a.Contextmenu||(this._lastSetTapCountTime=0)
;for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach(t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,n,s,i,o,l,u){this.handle=r.scheduleAtNextAnimationFrame(()=>{let r=Date.now(),h=r-t,d=0,f=0,p=!0;n+=c.SCROLL_FRICTION*h,o+=c.SCROLL_FRICTION*h,n>0&&(p=!1,d=s*n*h),o>0&&(p=!1,f=l*o*h);let g=this.newGestureEvent(a.Change);g.translationX=d,g.translationY=f,e.forEach(e=>e.dispatchEvent(g)),p||this.inertia(e,r,n,s,i+d,o,l,u+f)})}onTouchMove(e){let t=Date.now();for(let n=0,i=e.changedTouches.length;n<i;n++){let i=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(i.identifier))){console.warn("end of an UNKNOWN touch",i);continue}let r=this.activeTouches[i.identifier],o=this.newGestureEvent(a.Change,r.initialTarget);o.translationX=i.pageX-s.tail(r.rollingPageX),o.translationY=i.pageY-s.tail(r.rollingPageY),o.pageX=i.pageX,
o.pageY=i.pageY,this.dispatchEvent(o),r.rollingPageX.length>3&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(i.pageX),r.rollingPageY.push(i.pageY),r.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}c.SCROLL_FRICTION=-.005,c.HOLD_DELAY=700,c.CLEAR_TAP_COUNT_TIME=400,n([o.memoize],c,"isTouchDevice",null),t.Gesture=c})),define(e[84],t([0,1,23]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canNormalize="function"==typeof"".normalize;const s=new n.LRUCache(1e4);t.normalizeNFC=function(e){return o(e,"NFC",s)};const i=new n.LRUCache(1e4);t.normalizeNFD=function(e){return o(e,"NFD",i)};const r=/[^\u0000-\u0080]/;function o(e,n,s){if(!t.canNormalize||!e)return e;const i=s.get(e);if(i)return i;let o;return o=r.test(e)?e.normalize(n):e,s.set(e,o),o}})),define(e[85],t([0,1,28,6,8,4,35,2,72,23]),(function(e,t,n,s,i,r,o,a,c,l){"use strict";function u(e){
return!e||e.scheme!==o.Schemas.file||!a.isLinux}function h(e,t,s=u(e)){if(e.scheme===t.scheme){if(e.scheme===o.Schemas.file)return n.isEqualOrParent(p(e),p(t),s);if(d(e.authority,t.authority))return n.isEqualOrParent(e.path,t.path,s,"/")}return!1}function d(e,t){return e===t||r.equalsIgnoreCase(e,t)}function f(e){return s.posix.basename(e.path)}function p(e){let t;const s=e.path;return t=e.authority&&s.length>1&&e.scheme===o.Schemas.file?`//${e.authority}${s}`:a.isWindows&&47===s.charCodeAt(0)&&n.isWindowsDriveLetter(s.charCodeAt(1))&&58===s.charCodeAt(2)?s.substr(1):s,a.isWindows&&(t=t.replace(/\//g,"\\")),t}function g(e,t=s.sep){if(e.scheme===o.Schemas.file){const s=p(e);return s.length>n.getRoot(s).length&&s[s.length-1]===t}{const t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)}}function m(e,t,i=u(e)){if(e.scheme!==t.scheme||!d(e.authority,t.authority))return;if(e.scheme===o.Schemas.file){const i=s.relative(e.path,t.path);return a.isWindows?n.toSlashes(i):i}let r=e.path||"/",c=t.path||"/";if(i){
let e=0;for(const t=Math.min(r.length,c.length);e<t&&(r.charCodeAt(e)===c.charCodeAt(e)||r.charAt(e).toLowerCase()===c.charAt(e).toLowerCase());e++);r=c.substr(0,e)+r.substr(e)}return s.posix.relative(r,c)}Object.defineProperty(t,"__esModule",{value:!0}),t.getComparisonKey=function(e){return u(e)?e.toString().toLowerCase():e.toString()},t.hasToIgnoreCase=u,t.basenameOrAuthority=function(e){return f(e)||e.authority},t.isEqualOrParent=h,t.isEqualAuthority=d,t.isEqual=function(e,t,n=u(e)){if(e===t)return!0;if(!e||!t)return!1;if(e.scheme!==t.scheme||!d(e.authority,t.authority))return!1;const s=e.path||"/",i=t.path||"/";return s===i||n&&r.equalsIgnoreCase(s||"/",i||"/")},t.basename=f,t.extname=function(e){return s.posix.extname(e.path)},t.dirname=function(e){if(0===e.path.length)return e;if(e.scheme===o.Schemas.file)return i.URI.file(s.dirname(p(e)));let t=s.posix.dirname(e.path);return e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/"),
e.with({path:t})},t.joinPath=function(e,...t){let n;return n=e.scheme===o.Schemas.file?i.URI.file(s.join(p(e),...t)).path:s.posix.join(e.path||"/",...t),e.with({path:n})},t.normalizePath=function(e){if(!e.path.length)return e;let t;return t=e.scheme===o.Schemas.file?i.URI.file(s.normalize(p(e))).path:s.posix.normalize(e.path),e.with({path:t})},t.originalFSPath=p,t.isAbsolutePath=function(e){return!!e.path&&"/"===e.path[0]},t.hasTrailingPathSeparator=g,t.removeTrailingPathSeparator=function(e,t=s.sep){return g(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e},t.addTrailingPathSeparator=function(e,t=s.sep){let i=!1;if(e.scheme===o.Schemas.file){const s=p(e);i=void 0!==s&&s.length===n.getRoot(s).length&&s[s.length-1]===t}else{t="/";const n=e.path;i=1===n.length&&47===n.charCodeAt(n.length-1)}return i||g(e,t)?e:e.with({path:e.path+"/"})},t.relativePath=m,t.resolvePath=function(e,t){if(e.scheme===o.Schemas.file){const n=i.URI.file(s.resolve(p(e),t));return e.with({authority:n.authority,path:n.path})}
return-1===t.indexOf("/")&&(t=n.toSlashes(t),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t)),e.with({path:s.posix.resolve(e.path,t)})},t.distinctParents=function(e,t){const n=[];for(let s=0;s<e.length;s++){const i=t(e[s]);e.some((e,n)=>n!==s&&h(i,t(e)))||n.push(e[s])}return n},function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach(e=>{const[t,s]=e.split(":");t&&s&&n.set(t,s)});const s=t.path.substring(0,t.path.indexOf(";"));return s&&n.set(e.META_DATA_MIME,s),n}}(t.DataUri||(t.DataUri={}));t.ResourceGlobMatcher=class{constructor(e,t){this.expressionsByRoot=l.TernarySearchTree.forPaths(),this.globalExpression=c.parse(e);for(const e of t)this.expressionsByRoot.set(e.root.toString(),{root:e.root,expression:c.parse(e.expression)})}matches(e){const t=this.expressionsByRoot.findSubstr(e.toString());if(t){const n=m(t.root,e)
;if(n&&t.expression(n))return!0}return!!this.globalExpression(e.path)}},t.toLocalResource=function(e,t){if(t){let n=e.path;return n&&n[0]!==s.posix.sep&&(n=s.posix.sep+n),e.with({scheme:o.Schemas.vscodeRemote,authority:t,path:n})}return e.with({scheme:o.Schemas.file})}})),define(e[26],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._value=e}asHex(){return this._value}}class s extends n{constructor(){super([s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),"-",s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),"-","4",s._randomHex(),s._randomHex(),s._randomHex(),"-",s._oneOf(s._timeHighBits),s._randomHex(),s._randomHex(),s._randomHex(),"-",s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex(),s._randomHex()].join(""))}static _oneOf(e){
return e[Math.floor(e.length*Math.random())]}static _randomHex(){return s._oneOf(s._chars)}}function i(){return new s}s._chars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],s._timeHighBits=["8","9","a","b"],t.v4=i;const r=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function o(e){return r.test(e)}t.isUUID=o,t.parse=function(e){if(!o(e))throw new Error("invalid uuid");return new n(e)},t.generateUuid=function(){return i().asHex()}})),define(e[42],t([0,1,96,2,91,92]),(function(e,t,n,s,i,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UTF8="utf8",t.UTF8_with_bom="utf8bom",t.UTF16be="utf16be",t.UTF16le="utf16le",t.isUTFEncoding=function(e){return[t.UTF8,t.UTF8_with_bom,t.UTF16be,t.UTF16le].some(t=>t===e)},t.UTF16be_BOM=[254,255],t.UTF16le_BOM=[255,254],t.UTF8_BOM=[239,187,191];const o=512,a=512,c=4096;function l(e){return e===t.UTF8_with_bom||null===e?t.UTF8:e}function u(e,n){if(!e||n<t.UTF16be_BOM.length)return null
;const s=e.readUInt8(0),i=e.readUInt8(1);if(s===t.UTF16be_BOM[0]&&i===t.UTF16be_BOM[1])return t.UTF16be;if(s===t.UTF16le_BOM[0]&&i===t.UTF16le_BOM[1])return t.UTF16le;if(n<t.UTF8_BOM.length)return null;const r=e.readUInt8(2);return s===t.UTF8_BOM[0]&&i===t.UTF8_BOM[1]&&r===t.UTF8_BOM[2]?t.UTF8_with_bom:null}t.toDecodeStream=function(e,t){return t.minBytesRequiredForDetection||(t.minBytesRequiredForDetection=t.guessEncoding?c:a),new Promise((s,i)=>{const o=new class extends r.Writable{constructor(){super(...arguments),this.bufferedChunks=[],this.bytesBuffered=0}_write(e,n,s){if(!Buffer.isBuffer(e))return s(new Error("toDecodeStream(): data must be a buffer"));this.decodeStream?this.decodeStream.write(e,s):(this.bufferedChunks.push(e),this.bytesBuffered+=e.byteLength,this.decodeStreamPromise?this.decodeStreamPromise.then(()=>s(null),e=>s(e)):"number"==typeof t.minBytesRequiredForDetection&&this.bytesBuffered>=t.minBytesRequiredForDetection?this._startDecodeStream(s):s(null))}_startDecodeStream(e){
this.decodeStreamPromise=Promise.resolve(p({buffer:Buffer.concat(this.bufferedChunks),bytesRead:this.bytesBuffered},t.guessEncoding)).then(i=>{i.encoding=t.overwriteEncoding(i.encoding),this.decodeStream=function(e){return n.decodeStream(l(e))}(i.encoding),this.decodeStream.write(Buffer.concat(this.bufferedChunks),e),this.bufferedChunks.length=0,s({detected:i,stream:this.decodeStream})},t=>{this.emit("error",t),e(t)})}_final(e){this.decodeStream?this.decodeStream.end(e):this._startDecodeStream(()=>{this.decodeStream&&this.decodeStream.end(e)})}};e.on("error",i),e.pipe(o)})},t.decode=function(e,t){return n.decode(e,l(t))},t.encode=function(e,t,s){return n.encode(e,l(t),s)},t.encodingExists=function(e){return n.encodingExists(l(e))},t.encodeStream=function(e,t){return n.encodeStream(l(e),t)},t.detectEncodingByBOMFromBuffer=u;const h=["ascii","utf-16","utf-32"];const d={ibm866:"cp866",big5:"cp950"};function f(e){const t=e.replace(/[^a-zA-Z0-9]/g,"").toLowerCase();return d[t]||t}
function p({buffer:n,bytesRead:s},i){let r=u(n,s),a=!1;if(r!==t.UTF16be&&r!==t.UTF16le&&n){let e=!0,i=!0,c=!1;for(let t=0;t<s&&t<o;t++){const s=t%2==1,r=0===n.readInt8(t);if(r&&(c=!0),e&&(s&&!r||!s&&r)&&(e=!1),i&&(s&&r||!s&&!r)&&(i=!1),r&&!e&&!i)break}c&&(e?r=t.UTF16le:i?r=t.UTF16be:a=!0)}return i&&!a&&!r&&n?async function(t){const n=(await new Promise((t,n)=>{e(["jschardet"],t,n)})).detect(t);if(!n||!n.encoding)return null;const s=n.encoding.toLowerCase();return 0<=h.indexOf(s)?null:f(n.encoding)}(n.slice(0,s)).then(e=>({seemsBinary:!1,encoding:e})):{seemsBinary:a,encoding:r}}t.toCanonicalName=function(e){switch(e){case"shiftjis":return"shift-jis";case"utf16le":return"utf-16le";case"utf16be":return"utf-16be";case"big5hkscs":return"big5-hkscs";case"eucjp":return"euc-jp";case"euckr":return"euc-kr";case"koi8r":return"koi8-r";case"koi8u":return"koi8-u";case"macroman":return"x-mac-roman";case"utf8bom":return"utf8";default:const t=e.match(/windows(\d+)/);return t?"windows-"+t[1]:e}},t.detectEncodingFromBuffer=p
;const g={437:"cp437",850:"cp850",852:"cp852",855:"cp855",857:"cp857",860:"cp860",861:"cp861",863:"cp863",865:"cp865",866:"cp866",869:"cp869",936:"cp936",1252:"cp1252"};t.resolveTerminalEncoding=async function(e){let r;const o=process.env.VSCODE_CLI_ENCODING;o?(e&&console.log(`Found VSCODE_CLI_ENCODING variable: ${o}`),r=Promise.resolve(o)):r=s.isLinux||s.isMacintosh?new Promise(t=>{e&&console.log('Running "locale charmap" to detect terminal encoding...'),i.exec("locale charmap",(e,n,s)=>t(n))}):new Promise(t=>{e&&console.log('Running "chcp" to detect terminal encoding...'),i.exec("chcp",(e,n,s)=>{if(n){const e=Object.keys(g);for(const s of e)if(n.indexOf(s)>=0)return t(g[s])}return t(void 0)})});const a=await r;if(e&&console.log(`Detected raw terminal encoding: ${a}`),!a||"utf-8"===a.toLowerCase()||a.toLowerCase()===t.UTF8)return t.UTF8;const c=f(a);return n.encodingExists(c)?c:(e&&console.log("Unsupported terminal encoding, falling back to UTF-8."),t.UTF8)}})),define(e[43],t([0,1,22]),(function(e,t,n){
"use strict";Object.defineProperty(t,"__esModule",{value:!0});const s=n.getPathFromAmdModule(e,"paths"),i=e.__$__nodeRequire(s);t.getAppDataPath=i.getAppDataPath,t.getDefaultUserDataPath=i.getDefaultUserDataPath})),define(e[44],t([0,1,6,12,97,18,2,3,4,93,28,26,84,42]),(function(e,t,n,s,i,r,o,a,c,l,u,h,d,f){"use strict";var p;async function g(e,t=p.UNLINK){if(u.isRootOrDriveLetter(e))throw new Error("rimraf - will refuse to recursively delete root");return t===p.UNLINK?m(e):async function(e){try{const t=n.join(r.tmpdir(),h.generateUuid());try{await C(e,t)}catch(t){return m(e)}m(t)}catch(e){if("ENOENT"!==e.code)throw e}}(e)}async function m(e){try{const t=await E(e);if(!t.isDirectory()||t.isSymbolicLink()){const n=t.mode;return 128&n||await y(e,128|n),S(e)}{const t=await _(e);await Promise.all(t.map(t=>m(n.join(e,t)))),await l.promisify(i.rmdir)(e)}}catch(e){if("ENOENT"!==e.code)throw e}}async function _(e){return b(await l.promisify(i.readdir)(e))}function v(e){return b(i.readdirSync(e))}function b(e){
return o.isMacintosh?e.map(e=>d.normalizeNFC(e)):e}function y(e,t){return l.promisify(i.chmod)(e,t)}function w(e){return l.promisify(i.stat)(e)}function E(e){return l.promisify(i.lstat)(e)}function C(e,t){return l.promisify(i.rename)(e,t)}function S(e){return l.promisify(i.unlink)(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.UNLINK=0]="UNLINK",e[e.MOVE=1]="MOVE"}(p=t.RimRafMode||(t.RimRafMode={})),t.rimraf=g,t.rimrafSync=function e(t){if(u.isRootOrDriveLetter(t))throw new Error("rimraf - will refuse to recursively delete root");try{const s=i.lstatSync(t);if(!s.isDirectory()||s.isSymbolicLink()){const e=s.mode;return 128&e||i.chmodSync(t,128|e),i.unlinkSync(t)}v(t).map(s=>e(n.join(t,s))),i.rmdirSync(t)}catch(e){if("ENOENT"!==e.code)throw e}},t.readdir=_,t.readdirWithFileTypes=async function(e){const t=await l.promisify(i.readdir)(e,{withFileTypes:!0});if(o.isMacintosh)for(const e of t)e.name=d.normalizeNFC(e.name);return t},t.readdirSync=v,t.exists=function(e){
return l.promisify(i.exists)(e)},t.chmod=y,t.stat=w,t.statLink=async function(e){let t,n;try{t=await E(e)}catch(e){n=e}const s=!(!t||!t.isSymbolicLink());if(n||s){return{stat:await w(e),isSymbolicLink:s}}return{stat:t,isSymbolicLink:!1}},t.lstat=E,t.rename=C,t.renameIgnoreError=function(e,t){return new Promise(n=>{i.rename(e,t,()=>n())})},t.unlink=S,t.symlink=function(e,t,n){return l.promisify(i.symlink)(e,t,n)},t.truncate=function(e,t){return l.promisify(i.truncate)(e,t)},t.readFile=function(e,t){return l.promisify(i.readFile)(e,t)};const k=new Map;t.writeFile=function(e,t,n){return function(e){const t=k.get(e);if(t)return t;const n=new s.Queue;return k.set(e,n),a.Event.once(n.onFinished)(()=>{k.delete(e),n.dispose()}),n}(function(e){let t=e;(o.isWindows||o.isMacintosh)&&(t=t.toLowerCase());return t}(e)).queue(()=>(function(e,t,n){const s=L(n);return new Promise((n,r)=>{"string"==typeof t||Buffer.isBuffer(t)||t instanceof Uint8Array?function(e,t,n,s){
n.encoding&&(t=f.encode(t instanceof Uint8Array?Buffer.from(t):t,n.encoding.charset,{addBOM:n.encoding.addBOM}));if(!x)return i.writeFile(e,t,{mode:n.mode,flag:n.flag},s);i.open(e,n.flag,n.mode,(e,n)=>{if(e)return s(e);i.writeFile(n,t,e=>{if(e)return i.close(n,()=>s(e));i.fdatasync(n,e=>(e&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",e),x=!1),i.close(n,e=>s(e))))})})}(e,t,s,e=>e?r(e):n()):function(e,t,n,s){let r=!1;const o=e=>{r||(r=!0,e?l?(a.once("close",()=>s(e)),a.destroy()):s(e):s())},a=i.createWriteStream(e,{mode:n.mode,flags:n.flag,autoClose:!1});let c,l;a.once("open",e=>{c=e,l=!0,n.encoding&&(t=t.pipe(f.encodeStream(n.encoding.charset,{addBOM:n.encoding.addBOM}))),t.pipe(a)}),t.once("error",e=>o(e)),a.once("error",e=>o(e)),a.once("finish",()=>{x&&l?i.fdatasync(c,e=>{e&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",e),x=!1),a.destroy()}):a.destroy()}),a.once("close",()=>o())}(e,t,s,e=>e?r(e):n())})})(e,t,n))}
;let x=!0;function L(e){return e?{mode:"number"==typeof e.mode?e.mode:438,flag:"string"==typeof e.flag?e.flag:"w",encoding:e.encoding}:{mode:438,flag:"w"}}async function A(e){try{return(await w(e)).isDirectory()}catch(e){return!1}}async function P(e,t,s){const r=s||Object.create(null),o=await w(e);if(!o.isDirectory())return async function(e,t,n){return new Promise((s,r)=>{const o=i.createReadStream(e),a=i.createWriteStream(t,{mode:n});let c=!1;const l=e=>{if(!c){if(c=!0,e)return r(e);i.chmod(t,n,e=>e?r(e):s())}};o.once("error",e=>l(e)),a.once("error",e=>l(e)),a.once("close",()=>l()),o.pipe(a)})}(e,t,511&o.mode);if(r[e])return Promise.resolve();r[e]=!0,await I(t,511&o.mode);const a=await _(e);for(let s=0;s<a.length;s++){const i=a[s];await P(n.join(e,i),n.join(t,i),r)}}async function I(e,t){return l.promisify(i.mkdir)(e,{mode:t,recursive:!0})}t.writeFileSync=function(e,t,n){const s=L(n);if(s.encoding&&(t=f.encode(t,s.encoding.charset,{addBOM:s.encoding.addBOM})),!x)return i.writeFileSync(e,t,{mode:s.mode,
flag:s.flag});const r=i.openSync(e,s.flag,s.mode);try{i.writeFileSync(r,t);try{i.fdatasyncSync(r)}catch(e){console.warn("[node.js fs] fdatasyncSync is now disabled for this session because it failed: ",e),x=!1}}finally{i.closeSync(r)}},t.readDirsInDir=async function(e){const t=await _(e),s=[];for(const i of t)await A(n.join(e,i))&&s.push(i);return s},t.dirExists=A,t.fileExists=async function(e){try{return(await w(e)).isFile()}catch(e){return!1}},t.whenDeleted=function(e){return new Promise(t=>{let n=!1;const s=setInterval(()=>{n||(n=!0,i.exists(e,e=>{n=!1,e||(clearInterval(s),t(void 0))}))},1e3)})},t.move=async function(e,t){if(e===t)return Promise.resolve();async function n(e){const t=await E(e);if(t.isDirectory()||t.isSymbolicLink())return Promise.resolve();const n=await l.promisify(i.open)(e,"a");try{await l.promisify(i.futimes)(n,t.atime,new Date)}catch(e){}return l.promisify(i.close)(n)}try{await C(e,t),await n(t)}catch(s){
if(!(e.toLowerCase()!==t.toLowerCase()&&"EXDEV"===s.code||c.endsWith(e,".")))throw s;await P(e,t),await g(e,p.MOVE),await n(t)}},t.copy=P,t.mkdirp=I;t.MAX_FILE_SIZE="ia32"===process.arch?314572800:17179869184,t.MAX_HEAP_SIZE="ia32"===process.arch?734003200:1468006400})),define(e[17],t([0,1,3,5,12,38,7,15]),(function(e,t,n,s,i,r,o,a){"use strict";var c,l;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Promise=100]="Promise",e[e.PromiseCancel=101]="PromiseCancel",e[e.EventListen=102]="EventListen",e[e.EventDispose=103]="EventDispose"}(t.RequestType||(t.RequestType={})),function(e){e[e.Initialize=200]="Initialize",e[e.PromiseSuccess=201]="PromiseSuccess",e[e.PromiseError=202]="PromiseError",e[e.PromiseErrorObj=203]="PromiseErrorObj",e[e.EventFire=204]="EventFire"}(t.ResponseType||(t.ResponseType={})),function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Idle=1]="Idle"}(c||(c={}));class u{constructor(e){this.buffer=e,this.pos=0}read(e){const t=this.buffer.slice(this.pos,this.pos+e)
;return this.pos+=t.byteLength,t}}class h{constructor(){this.buffers=[]}get buffer(){return a.VSBuffer.concat(this.buffers)}write(e){this.buffers.push(e)}}function d(e){const t=a.VSBuffer.alloc(4);return t.writeUInt32BE(e,0),t}function f(e){return e.read(4).readUInt32BE(0)}function p(e){const t=a.VSBuffer.alloc(1);return t.writeUInt8(e,0),t}!function(e){e[e.Undefined=0]="Undefined",e[e.String=1]="String",e[e.Buffer=2]="Buffer",e[e.VSBuffer=3]="VSBuffer",e[e.Array=4]="Array",e[e.Object=5]="Object"}(l||(l={}));const g={Undefined:p(l.Undefined),String:p(l.String),Buffer:p(l.Buffer),VSBuffer:p(l.VSBuffer),Array:p(l.Array),Object:p(l.Object)},m="undefined"!=typeof Buffer;function _(e,t){if(void 0===t)e.write(g.Undefined);else if("string"==typeof t){const n=a.VSBuffer.fromString(t);e.write(g.String),e.write(d(n.byteLength)),e.write(n)}else if(m&&Buffer.isBuffer(t)){const n=a.VSBuffer.wrap(t);e.write(g.Buffer),e.write(d(n.byteLength)),e.write(n)}else if(t instanceof a.VSBuffer)e.write(g.VSBuffer),
e.write(d(t.byteLength)),e.write(t);else if(Array.isArray(t)){e.write(g.Array),e.write(d(t.length));for(const n of t)_(e,n)}else{const n=a.VSBuffer.fromString(JSON.stringify(t));e.write(g.Object),e.write(d(n.byteLength)),e.write(n)}}function v(e){switch(e.read(1).readUInt8(0)){case l.Undefined:return;case l.String:return e.read(f(e)).toString();case l.Buffer:return e.read(f(e)).buffer;case l.VSBuffer:return e.read(f(e));case l.Array:{const t=f(e),n=[];for(let s=0;s<t;s++)n.push(v(e));return n}case l.Object:return JSON.parse(e.read(f(e)).toString())}}class b{constructor(e,t,n=1e3){this.protocol=e,this.ctx=t,this.timeoutDelay=n,this.channels=new Map,this.activeRequests=new Map,this.pendingRequests=new Map,this.protocolListener=this.protocol.onMessage(e=>this.onRawMessage(e)),this.sendResponse({type:200})}registerChannel(e,t){this.channels.set(e,t),setTimeout(()=>this.flushPendingRequests(e),0)}sendResponse(e){switch(e.type){case 200:return this.send([e.type]);case 201:case 202:case 204:case 203:
return this.send([e.type,e.id],e.data)}}send(e,t){const n=new h;_(n,e),_(n,t),this.sendBuffer(n.buffer)}sendBuffer(e){try{this.protocol.send(e)}catch(e){}}onRawMessage(e){const t=new u(e),n=v(t),s=v(t),i=n[0];switch(i){case 100:return this.onPromise({type:i,id:n[1],channelName:n[2],name:n[3],arg:s});case 102:return this.onEventListen({type:i,id:n[1],channelName:n[2],name:n[3],arg:s});case 101:case 103:return this.disposeActiveRequest({type:i,id:n[1]})}}onPromise(e){const t=this.channels.get(e.channelName);if(!t)return void this.collectPendingRequest(e);const n=new r.CancellationTokenSource;let i;try{i=t.call(this.ctx,e.name,e.arg,n.token)}catch(e){i=Promise.reject(e)}const o=e.id;i.then(t=>{this.sendResponse({id:o,data:t,type:201}),this.activeRequests.delete(e.id)},t=>{t instanceof Error?this.sendResponse({id:o,data:{message:t.message,name:t.name,stack:t.stack?t.stack.split?t.stack.split("\n"):t.stack:void 0},type:202}):this.sendResponse({id:o,data:t,type:203}),this.activeRequests.delete(e.id)})
;const a=s.toDisposable(()=>n.cancel());this.activeRequests.set(e.id,a)}onEventListen(e){const t=this.channels.get(e.channelName);if(!t)return void this.collectPendingRequest(e);const n=e.id,s=t.listen(this.ctx,e.name,e.arg)(e=>this.sendResponse({id:n,data:e,type:204}));this.activeRequests.set(e.id,s)}disposeActiveRequest(e){const t=this.activeRequests.get(e.id);t&&(t.dispose(),this.activeRequests.delete(e.id))}collectPendingRequest(e){let t=this.pendingRequests.get(e.channelName);t||(t=[],this.pendingRequests.set(e.channelName,t));const n=setTimeout(()=>{console.error(`Unknown channel: ${e.channelName}`),100===e.type&&this.sendResponse({id:e.id,data:{name:"Unknown channel",message:`Channel name '${e.channelName}' timed out after ${this.timeoutDelay}ms`,stack:void 0},type:202})},this.timeoutDelay);t.push({request:e,timeoutTimer:n})}flushPendingRequests(e){const t=this.pendingRequests.get(e);if(t){for(const e of t)switch(clearTimeout(e.timeoutTimer),e.request.type){case 100:this.onPromise(e.request);break
;case 102:this.onEventListen(e.request)}this.pendingRequests.delete(e)}}dispose(){this.protocolListener&&(this.protocolListener.dispose(),this.protocolListener=null),this.activeRequests.forEach(e=>e.dispose()),this.activeRequests.clear()}}t.ChannelServer=b;class y{constructor(e){this.protocol=e,this.state=c.Uninitialized,this.activeRequests=new Set,this.handlers=new Map,this.lastRequestId=0,this._onDidInitialize=new n.Emitter,this.onDidInitialize=this._onDidInitialize.event,this.protocolListener=this.protocol.onMessage(e=>this.onBuffer(e))}getChannel(e){const t=this;return{call:(n,s,i)=>t.requestPromise(e,n,s,i),listen:(n,s)=>t.requestEvent(e,n,s)}}requestPromise(e,t,n,a=r.CancellationToken.None){const c=this.lastRequestId++,l={id:c,type:100,channelName:e,name:t,arg:n};if(a.isCancellationRequested)return Promise.reject(o.canceled());let u;return new Promise((e,t)=>{if(a.isCancellationRequested)return t(o.canceled());let n=i.createCancelablePromise(e=>this.whenInitialized());n.then(()=>{n=null
;this.handlers.set(c,n=>{switch(n.type){case 201:this.handlers.delete(c),e(n.data);break;case 202:this.handlers.delete(c);const s=new Error(n.data.message);s.stack=n.data.stack,s.name=n.data.name,t(s);break;case 203:this.handlers.delete(c),t(n.data)}}),this.sendRequest(l)});const r=()=>{n?(n.cancel(),n=null):this.sendRequest({id:c,type:101}),t(o.canceled())},h=a.onCancellationRequested(r);u=s.combinedDisposable(s.toDisposable(r),h),this.activeRequests.add(u)}).finally(()=>this.activeRequests.delete(u))}requestEvent(e,t,s){const r=this.lastRequestId++,o={id:r,type:102,channelName:e,name:t,arg:s};let a=null;const c=new n.Emitter({onFirstListenerAdd:()=>{(a=i.createCancelablePromise(e=>this.whenInitialized())).then(()=>{a=null,this.activeRequests.add(c),this.sendRequest(o)})},onLastListenerRemove:()=>{a?(a.cancel(),a=null):(this.activeRequests.delete(c),this.sendRequest({id:r,type:103}))}});return this.handlers.set(r,e=>c.fire(e.data)),c.event}sendRequest(e){switch(e.type){case 100:case 102:
return this.send([e.type,e.id,e.channelName,e.name],e.arg);case 101:case 103:return this.send([e.type,e.id])}}send(e,t){const n=new h;_(n,e),_(n,t),this.sendBuffer(n.buffer)}sendBuffer(e){try{this.protocol.send(e)}catch(e){}}onBuffer(e){const t=new u(e),n=v(t),s=v(t);switch(n[0]){case 200:return this.onResponse({type:n[0]});case 201:case 202:case 204:case 203:return this.onResponse({type:n[0],id:n[1],data:s})}}onResponse(e){if(200===e.type)return this.state=c.Idle,void this._onDidInitialize.fire();const t=this.handlers.get(e.id);t&&t(e)}whenInitialized(){return this.state===c.Idle?Promise.resolve():n.Event.toPromise(this.onDidInitialize)}dispose(){this.protocolListener&&(this.protocolListener.dispose(),this.protocolListener=null),this.activeRequests.forEach(e=>e.dispose()),this.activeRequests.clear()}}t.ChannelClient=y;t.IPCServer=class{constructor(e){this.channels=new Map,this._connections=new Set,this._onDidChangeConnections=new n.Emitter,this.onDidChangeConnections=this._onDidChangeConnections.event,
e(({protocol:e,onDidClientDisconnect:t})=>{n.Event.once(e.onMessage)(n=>{const s=v(new u(n)),i=new b(e,s),r=new y(e);this.channels.forEach((e,t)=>i.registerChannel(t,e));const o={channelServer:i,channelClient:r,ctx:s};this._connections.add(o),this._onDidChangeConnections.fire(o),t(()=>{i.dispose(),r.dispose(),this._connections.delete(o)})})})}get connections(){const e=[];return this._connections.forEach(t=>e.push(t)),e}getChannel(e,t){const n=this;return{call:(s,i,r)=>w(t.routeCall(n,s,i).then(t=>t.channelClient.getChannel(e))).call(s,i,r),listen:(s,i)=>w(t.routeEvent(n,s,i).then(t=>t.channelClient.getChannel(e))).listen(s,i)}}registerChannel(e,t){this.channels.set(e,t),this._connections.forEach(n=>{n.channelServer.registerChannel(e,t)})}dispose(){this.channels.clear(),this._connections.clear(),this._onDidChangeConnections.dispose()}};function w(e){return{call:(t,n,s)=>e.then(e=>e.call(t,n,s)),listen(t,s){const i=new n.Relay;return e.then(e=>i.input=e.listen(t,s)),i.event}}}t.IPCClient=class{constructor(e,t){
const n=new h;_(n,t),e.send(n.buffer),this.channelClient=new y(e),this.channelServer=new b(e,t)}getChannel(e){return this.channelClient.getChannel(e)}registerChannel(e,t){this.channelServer.registerChannel(e,t)}dispose(){this.channelClient.dispose(),this.channelServer.dispose()}},t.getDelayedChannel=w,t.getNextTickChannel=function(e){let t=!1;return{call:(n,s,r)=>t?e.call(n,s,r):i.timeout(0).then(()=>t=!0).then(()=>e.call(n,s,r)),listen(s,r){if(t)return e.listen(s,r);const o=new n.Relay;return i.timeout(0).then(()=>t=!0).then(()=>o.input=e.listen(s,r)),o.event}}};t.StaticRouter=class{constructor(e){this.fn=e}routeCall(e){return this.route(e)}routeEvent(e){return this.route(e)}async route(e){for(const t of e.connections)if(await Promise.resolve(this.fn(t.ctx)))return Promise.resolve(t);return await n.Event.toPromise(e.onDidChangeConnections),await this.route(e)}}})),define(e[48],t([0,1,3,17,5,15,2,19]),(function(e,t,n,s,i,r,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let c=null
;function l(){return c||(c=r.VSBuffer.alloc(0)),c}class u{constructor(){this._chunks=[],this._totalLength=0}get byteLength(){return this._totalLength}acceptChunk(e){this._chunks.push(e),this._totalLength+=e.byteLength}read(e){return this._read(e,!0)}peek(e){return this._read(e,!1)}_read(e,t){if(0===e)return l();if(e>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){const n=this._chunks[0];return t&&(this._chunks.shift(),this._totalLength-=e),n}if(this._chunks[0].byteLength>e){const n=this._chunks[0].slice(0,e);return t&&(this._chunks[0]=this._chunks[0].slice(e),this._totalLength-=e),n}let n=r.VSBuffer.alloc(e),s=0,i=0;for(;e>0;){const r=this._chunks[i];if(r.byteLength>e){const o=r.slice(0,e);n.set(o,s),s+=e,t&&(this._chunks[i]=r.slice(e),this._totalLength-=e),e-=e}else n.set(r,s),s+=r.byteLength,t?(this._chunks.shift(),this._totalLength-=r.byteLength):i++,e-=r.byteLength}return n}}var h;t.ChunkStream=u,function(e){e[e.None=0]="None",e[e.Regular=1]="Regular",
e[e.Control=2]="Control",e[e.Ack=3]="Ack",e[e.KeepAlive=4]="KeepAlive",e[e.Disconnect=5]="Disconnect"}(h||(h={})),function(e){e[e.HeaderLength=13]="HeaderLength",e[e.AcknowledgeTime=2e3]="AcknowledgeTime",e[e.AcknowledgeTimeoutTime=2e4]="AcknowledgeTimeoutTime",e[e.KeepAliveTime=5e3]="KeepAliveTime",e[e.KeepAliveTimeoutTime=2e4]="KeepAliveTimeoutTime",e[e.ReconnectionGraceTime=108e5]="ReconnectionGraceTime",e[e.ReconnectionShortGraceTime=3e5]="ReconnectionShortGraceTime"}(t.ProtocolConstants||(t.ProtocolConstants={}));class d{constructor(e,t,n,s){this.type=e,this.id=t,this.ack=n,this.data=s,this.writtenTime=0}get size(){return this.data.byteLength}}class f extends i.Disposable{constructor(e){super(),this._onMessage=this._register(new n.Emitter),this.onMessage=this._onMessage.event,this._state={readHead:!0,readLen:13,messageType:0,id:0,ack:0},this._socket=e,this._isDisposed=!1,this._incomingData=new u,this._register(this._socket.onData(e=>this.acceptChunk(e))),this.lastReadTime=Date.now()}acceptChunk(e){
if(e&&0!==e.byteLength)for(this.lastReadTime=Date.now(),this._incomingData.acceptChunk(e);this._incomingData.byteLength>=this._state.readLen;){const e=this._incomingData.read(this._state.readLen);if(this._state.readHead)this._state.readHead=!1,this._state.readLen=e.readUInt32BE(9),this._state.messageType=e.readUInt8(0),this._state.id=e.readUInt32BE(1),this._state.ack=e.readUInt32BE(5);else{const t=this._state.messageType,n=this._state.id,s=this._state.ack;if(this._state.readHead=!0,this._state.readLen=13,this._state.messageType=0,this._state.id=0,this._state.ack=0,this._onMessage.fire(new d(t,n,s,e)),this._isDisposed)break}}}readEntireBuffer(){return this._incomingData.read(this._incomingData.byteLength)}dispose(){this._isDisposed=!0,super.dispose()}}class p{constructor(e){this._isDisposed=!1,this._socket=e,this._data=[],this._totalLength=0,this.lastWriteTime=0}dispose(){this.flush(),this._isDisposed=!0}flush(){this._writeNow()}write(e){if(this._isDisposed)return;e.writtenTime=Date.now(),
this.lastWriteTime=Date.now();const t=r.VSBuffer.alloc(13);t.writeUInt8(e.type,0),t.writeUInt32BE(e.id,1),t.writeUInt32BE(e.ack,5),t.writeUInt32BE(e.data.byteLength,9),this._writeSoon(t,e.data)}_bufferAdd(e,t){const n=0===this._totalLength;return this._data.push(e,t),this._totalLength+=e.byteLength+t.byteLength,n}_bufferTake(){const e=r.VSBuffer.concat(this._data,this._totalLength);return this._data.length=0,this._totalLength=0,e}_writeSoon(e,t){this._bufferAdd(e,t)&&o.setImmediate(()=>{this._writeNow()})}_writeNow(){0!==this._totalLength&&this._socket.write(this._bufferTake())}}class g extends i.Disposable{constructor(e){super(),this._onMessage=new n.Emitter,this.onMessage=this._onMessage.event,this._onClose=new n.Emitter,this.onClose=this._onClose.event,this._socket=e,this._socketWriter=this._register(new p(this._socket)),this._socketReader=this._register(new f(this._socket)),this._register(this._socketReader.onMessage(e=>{1===e.type&&this._onMessage.fire(e.data)})),
this._register(this._socket.onClose(()=>this._onClose.fire()))}getSocket(){return this._socket}sendDisconnect(){}send(e){this._socketWriter.write(new d(1,0,0,e))}}t.Protocol=g;class m extends s.IPCClient{constructor(e,t){super(e,t),this.protocol=e}static fromSocket(e,t){return new m(new g(e),t)}get onClose(){return this.protocol.onClose}dispose(){super.dispose();const e=this.protocol.getSocket();this.protocol.sendDisconnect(),this.protocol.dispose(),e.end()}}t.Client=m;class _{constructor(){this._hasListeners=!1,this._isDeliveringMessages=!1,this._bufferedMessages=[],this._emitter=new n.Emitter({onFirstListenerAdd:()=>{this._hasListeners=!0,a.nextTick(()=>this._deliverMessages())},onLastListenerRemove:()=>{this._hasListeners=!1}}),this.event=this._emitter.event}_deliverMessages(){if(!this._isDeliveringMessages){for(this._isDeliveringMessages=!0;this._hasListeners&&this._bufferedMessages.length>0;)this._emitter.fire(this._bufferedMessages.shift());this._isDeliveringMessages=!1}}fire(e){
this._hasListeners?this._bufferedMessages.length>0?this._bufferedMessages.push(e):this._emitter.fire(e):this._bufferedMessages.push(e)}flushBuffer(){this._bufferedMessages=[]}}t.BufferedEmitter=_;class v{constructor(e){this.data=e,this.next=null}}class b{constructor(){this._first=null,this._last=null}peek(){return this._first?this._first.data:null}toArray(){let e=[],t=0,n=this._first;for(;n;)e[t++]=n.data,n=n.next;return e}pop(){if(this._first)return this._first===this._last?(this._first=null,void(this._last=null)):void(this._first=this._first.next)}push(e){const t=new v(e);if(!this._first)return this._first=t,void(this._last=t);this._last.next=t,this._last=t}}t.PersistentProtocol=class{constructor(e,t=null){this._onControlMessage=new _,this.onControlMessage=this._onControlMessage.event,this._onMessage=new _,this.onMessage=this._onMessage.event,this._onClose=new _,this.onClose=this._onClose.event,this._onSocketClose=new _,this.onSocketClose=this._onSocketClose.event,this._onSocketTimeout=new _,
this.onSocketTimeout=this._onSocketTimeout.event,this._isReconnecting=!1,this._outgoingUnackMsg=new b,this._outgoingMsgId=0,this._outgoingAckId=0,this._outgoingAckTimeout=null,this._incomingMsgId=0,this._incomingAckId=0,this._incomingMsgLastTime=0,this._incomingAckTimeout=null,this._outgoingKeepAliveTimeout=null,this._incomingKeepAliveTimeout=null,this._socketDisposables=[],this._socket=e,this._socketWriter=new p(this._socket),this._socketDisposables.push(this._socketWriter),this._socketReader=new f(this._socket),this._socketDisposables.push(this._socketReader),this._socketDisposables.push(this._socketReader.onMessage(e=>this._receiveMessage(e))),this._socketDisposables.push(this._socket.onClose(()=>this._onSocketClose.fire())),t&&this._socketReader.acceptChunk(t),this._sendKeepAliveCheck(),this._recvKeepAliveCheck()}get unacknowledgedCount(){return this._outgoingMsgId-this._outgoingAckId}dispose(){this._outgoingAckTimeout&&(clearTimeout(this._outgoingAckTimeout),this._outgoingAckTimeout=null),
this._incomingAckTimeout&&(clearTimeout(this._incomingAckTimeout),this._incomingAckTimeout=null),this._outgoingKeepAliveTimeout&&(clearTimeout(this._outgoingKeepAliveTimeout),this._outgoingKeepAliveTimeout=null),this._incomingKeepAliveTimeout&&(clearTimeout(this._incomingKeepAliveTimeout),this._incomingKeepAliveTimeout=null),this._socketDisposables=i.dispose(this._socketDisposables)}sendDisconnect(){const e=new d(5,0,0,l());this._socketWriter.write(e),this._socketWriter.flush()}_sendKeepAliveCheck(){if(this._outgoingKeepAliveTimeout)return;const e=Date.now()-this._socketWriter.lastWriteTime;if(e>=5e3){const e=new d(4,0,0,l());return this._socketWriter.write(e),void this._sendKeepAliveCheck()}this._outgoingKeepAliveTimeout=setTimeout(()=>{this._outgoingKeepAliveTimeout=null,this._sendKeepAliveCheck()},5e3-e+5)}_recvKeepAliveCheck(){if(this._incomingKeepAliveTimeout)return;const e=Date.now()-this._socketReader.lastReadTime;e>=2e4?this._onSocketTimeout.fire(void 0):this._incomingKeepAliveTimeout=setTimeout(()=>{
this._incomingKeepAliveTimeout=null,this._recvKeepAliveCheck()},2e4-e+5)}getSocket(){return this._socket}beginAcceptReconnection(e,t){this._isReconnecting=!0,this._socketDisposables=i.dispose(this._socketDisposables),this._onControlMessage.flushBuffer(),this._onSocketClose.flushBuffer(),this._onSocketTimeout.flushBuffer(),this._socket.dispose(),this._socket=e,this._socketWriter=new p(this._socket),this._socketDisposables.push(this._socketWriter),this._socketReader=new f(this._socket),this._socketDisposables.push(this._socketReader),this._socketDisposables.push(this._socketReader.onMessage(e=>this._receiveMessage(e))),this._socketDisposables.push(this._socket.onClose(()=>this._onSocketClose.fire())),this._socketReader.acceptChunk(t)}endAcceptReconnection(){this._isReconnecting=!1;const e=this._outgoingUnackMsg.toArray();for(let t=0,n=e.length;t<n;t++)this._socketWriter.write(e[t]);this._recvAckCheck(),this._sendKeepAliveCheck(),this._recvKeepAliveCheck()}acceptDisconnect(){this._onClose.fire()}
_receiveMessage(e){if(e.ack>this._outgoingAckId)for(this._outgoingAckId=e.ack;;){const t=this._outgoingUnackMsg.peek();if(!(t&&t.id<=e.ack))break;this._outgoingUnackMsg.pop()}1===e.type?e.id>this._incomingMsgId&&(e.id!==this._incomingMsgId+1&&console.error(`PROTOCOL CORRUPTION, LAST SAW MSG ${this._incomingMsgId} AND HAVE NOW RECEIVED MSG ${e.id}`),this._incomingMsgId=e.id,this._incomingMsgLastTime=Date.now(),this._sendAckCheck(),this._onMessage.fire(e.data)):2===e.type?this._onControlMessage.fire(e.data):5===e.type&&this._onClose.fire()}readEntireBuffer(){return this._socketReader.readEntireBuffer()}flush(){this._socketWriter.flush()}send(e){const t=++this._outgoingMsgId;this._incomingAckId=this._incomingMsgId;const n=new d(1,t,this._incomingAckId,e);this._outgoingUnackMsg.push(n),this._isReconnecting||(this._socketWriter.write(n),this._recvAckCheck())}sendControl(e){const t=new d(2,0,0,e);this._socketWriter.write(t)}_sendAckCheck(){if(this._incomingMsgId<=this._incomingAckId)return
;if(this._incomingAckTimeout)return;const e=Date.now()-this._incomingMsgLastTime;e>=2e3?this._sendAck():this._incomingAckTimeout=setTimeout(()=>{this._incomingAckTimeout=null,this._sendAckCheck()},2e3-e+5)}_recvAckCheck(){if(this._outgoingMsgId<=this._outgoingAckId)return;if(this._outgoingAckTimeout)return;const e=this._outgoingUnackMsg.peek(),t=Date.now()-e.writtenTime;t>=2e4?this._onSocketTimeout.fire(void 0):this._outgoingAckTimeout=setTimeout(()=>{this._outgoingAckTimeout=null,this._recvAckCheck()},2e4-t+5)}_sendAck(){if(this._incomingMsgId<=this._incomingAckId)return;this._incomingAckId=this._incomingMsgId;const e=new d(3,0,this._incomingAckId,l());this._socketWriter.write(e)}}})),define(e[49],t([0,1,3,74,9,4]),(function(e,t,n,s,i,r){"use strict";function o(e){return"o"===e[0]&&"n"===e[1]&&r.isUpperAsciiLetter(e.charCodeAt(2))}Object.defineProperty(t,"__esModule",{value:!0}),t.createChannelReceiver=function(e,t){const i=e,r=t&&t.disableMarshalling,a=new Map
;for(const e in i)o(e)&&a.set(e,n.Event.buffer(i[e],!0));return new class{listen(e,t){const n=a.get(t);if(n)return n;throw new Error(`Event not found: ${t}`)}call(e,t,n){const o=i[t];if("function"==typeof o){if(!r&&Array.isArray(n))for(let e=0;e<n.length;e++)n[e]=s.revive(n[e]);return o.apply(i,n)}throw new Error(`Method not found: ${t}`)}}},t.createChannelSender=function(e,t){const n=t&&t.disableMarshalling;return new Proxy({},{get(r,a){if("string"==typeof a)return o(a)?e.listen(a):async function(...r){let o;o=t&&!i.isUndefinedOrNull(t.context)?[t.context,...r]:r;const c=await e.call(a,o);return n?c:s.revive(c)};throw new Error(`Property not found: ${String(a)}`)}})}})),define(e[50],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Protocol=class{constructor(e,t){this.sender=e,this.onMessage=t}send(e){try{this.sender.send("ipc:message",e.buffer)}catch(e){}}dispose(){this.sender.send("ipc:disconnect",null)}}})),define(e[51],t([0,1,3,17,50,52,15]),(function(e,t,n,s,i,r,o){
"use strict";Object.defineProperty(t,"__esModule",{value:!0});class a extends s.IPCClient{constructor(e){const t=a.createProtocol();super(t,e),this.protocol=t}static createProtocol(){const e=n.Event.fromNodeEventEmitter(r.ipcRenderer,"ipc:message",(e,t)=>o.VSBuffer.wrap(t));return r.ipcRenderer.send("ipc:hello"),new i.Protocol(r.ipcRenderer,e)}dispose(){this.protocol.dispose()}}t.Client=a})),define(e[53],t([0,1,90,3,17,6,18,26,5,15,48]),(function(e,t,n,s,i,r,o,a,c,l,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class h{constructor(e){this.socket=e}dispose(){this.socket.destroy()}onData(e){const t=t=>e(l.VSBuffer.wrap(t));return this.socket.on("data",t),{dispose:()=>this.socket.off("data",t)}}onClose(e){return this.socket.on("close",e),{dispose:()=>this.socket.off("close",e)}}onEnd(e){return this.socket.on("end",e),{dispose:()=>this.socket.off("end",e)}}write(e){this.socket.destroyed||this.socket.write(e.buffer)}end(){this.socket.end()}}var d,f;t.NodeSocket=h,function(e){
e[e.MinHeaderByteSize=2]="MinHeaderByteSize"}(d||(d={})),function(e){e[e.PeekHeader=1]="PeekHeader",e[e.ReadHeader=2]="ReadHeader",e[e.ReadBody=3]="ReadBody",e[e.Fin=4]="Fin"}(f||(f={}));class p extends c.Disposable{constructor(e){super(),this._onData=this._register(new s.Emitter),this._state={state:1,readLen:2,mask:0},this.socket=e,this._incomingData=new u.ChunkStream,this._register(this.socket.onData(e=>this._acceptChunk(e)))}dispose(){this.socket.dispose()}onData(e){return this._onData.event(e)}onClose(e){return this.socket.onClose(e)}onEnd(e){return this.socket.onEnd(e)}write(e){let t=2;e.byteLength<126?t+=0:e.byteLength<65536?t+=2:t+=8;const n=l.VSBuffer.alloc(t);if(n.writeUInt8(130,0),e.byteLength<126)n.writeUInt8(e.byteLength,1);else if(e.byteLength<65536){n.writeUInt8(126,1);let t=1;n.writeUInt8(e.byteLength>>>8&255,++t),n.writeUInt8(e.byteLength>>>0&255,++t)}else{n.writeUInt8(127,1);let t=1;n.writeUInt8(0,++t),n.writeUInt8(0,++t),n.writeUInt8(0,++t),n.writeUInt8(0,++t),
n.writeUInt8(e.byteLength>>>24&255,++t),n.writeUInt8(e.byteLength>>>16&255,++t),n.writeUInt8(e.byteLength>>>8&255,++t),n.writeUInt8(e.byteLength>>>0&255,++t)}this.socket.write(l.VSBuffer.concat([n,e]))}end(){this.socket.end()}_acceptChunk(e){if(0!==e.byteLength)for(this._incomingData.acceptChunk(e);this._incomingData.byteLength>=this._state.readLen;)if(1===this._state.state){const e=this._incomingData.peek(this._state.readLen).readUInt8(1),t=(128&e)>>>7,n=127&e;this._state.state=2,this._state.readLen=2+(t?4:0)+(126===n?2:0)+(127===n?8:0),this._state.mask=0}else if(2===this._state.state){const e=this._incomingData.read(this._state.readLen),t=e.readUInt8(1),n=(128&t)>>>7;let s=127&t,i=1;126===s?s=256*e.readUInt8(++i)+e.readUInt8(++i):127===s&&(s=0*e.readUInt8(++i)+0*e.readUInt8(++i)+0*e.readUInt8(++i)+0*e.readUInt8(++i)+e.readUInt8(++i)*2**24+65536*e.readUInt8(++i)+256*e.readUInt8(++i)+e.readUInt8(++i));let r=0;n&&(r=e.readUInt8(++i)*2**24+65536*e.readUInt8(++i)+256*e.readUInt8(++i)+e.readUInt8(++i)),
this._state.state=3,this._state.readLen=s,this._state.mask=r}else if(3===this._state.state){const e=this._incomingData.read(this._state.readLen);g(e,this._state.mask),this._state.state=1,this._state.readLen=2,this._state.mask=0,this._onData.fire(e)}}}function g(e,t){if(0===t)return;let n=e.byteLength>>>2;for(let s=0;s<n;s++){const n=e.readUInt32BE(4*s);e.writeUInt32BE(n^t,4*s)}let s=4*n,i=e.byteLength-s;const r=t>>>24&255,o=t>>>16&255,a=t>>>8&255;i>=1&&e.writeUInt8(e.readUInt8(s)^r,s),i>=2&&e.writeUInt8(e.readUInt8(s+1)^o,s+1),i>=3&&e.writeUInt8(e.readUInt8(s+2)^a,s+2)}t.WebSocketNodeSocket=p,t.generateRandomPipeName=function(){const e=a.generateUuid();return"win32"===process.platform?`\\\\.\\pipe\\vscode-ipc-${e}-sock`:r.join(o.tmpdir(),`vscode-ipc-${e}.sock`)};class m extends i.IPCServer{constructor(e){super(m.toClientConnectionEvent(e)),this.server=e}static toClientConnectionEvent(e){const t=s.Event.fromNodeEventEmitter(e,"connection");return s.Event.map(t,e=>({protocol:new u.Protocol(new h(e)),
onDidClientDisconnect:s.Event.once(s.Event.fromNodeEventEmitter(e,"close"))}))}dispose(){super.dispose(),this.server&&(this.server.close(),this.server=null)}}t.Server=m,t.serve=function(e){return new Promise((t,s)=>{const i=n.createServer();i.on("error",s),i.listen(e,()=>{i.removeListener("error",s),t(new m(i))})})},t.connect=function(e,t){return new Promise((s,i)=>{const r=n.createConnection(e,()=>{r.removeListener("error",i),s(u.Client.fromSocket(new h(r),t))});r.once("error",i)})}})),define(e[54],t([0,1,4]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeGitHubUrl=function(e){return n.endsWith(e,".git")&&(e=e.substr(0,e.length-4)),e=n.rtrim(e,"/"),n.endsWith(e,"/new")&&(e=n.rtrim(e,"/new")),n.endsWith(e,"/issues")&&(e=n.rtrim(e,"/issues")),e}})),define(e[55],t([24]),{}),define(e[57],t([0,1,25,30,41,11,3,5,82,55]),(function(e,t,n,s,i,r,o,a,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const l={buttonBackground:i.Color.fromHex("#0E639C"),
buttonHoverBackground:i.Color.fromHex("#006BB3"),buttonForeground:i.Color.white};class u extends a.Disposable{constructor(e,t){super(),this._onDidClick=this._register(new o.Emitter),this.options=t||Object.create(null),r.mixin(this.options,l,!1),this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonForeground=this.options.buttonForeground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),n.addClass(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(c.Gesture.addTarget(this._element)),[n.EventType.CLICK,c.EventType.Tap].forEach(e=>{this._register(n.addDisposableListener(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):n.EventHelper.stop(e)}))}),this._register(n.addDisposableListener(this._element,n.EventType.KEY_DOWN,e=>{const t=new s.StandardKeyboardEvent(e);let i=!1
;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._element.blur(),i=!0),i&&n.EventHelper.stop(t,!0)})),this._register(n.addDisposableListener(this._element,n.EventType.MOUSE_OVER,e=>{n.hasClass(this._element,"disabled")||this.setHoverBackground()})),this._register(n.addDisposableListener(this._element,n.EventType.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(n.trackFocus(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){const e=this.buttonHoverBackground?this.buttonHoverBackground.toString():null;e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){
if(this._element){const e=this.buttonBackground?this.buttonBackground.toString():"",t=this.buttonForeground?this.buttonForeground.toString():null,n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){n.hasClass(this._element,"monaco-text-button")||n.addClass(this._element,"monaco-text-button"),this._element.textContent=e,this.options.title&&(this._element.title=e)}set icon(e){n.addClass(this._element,e)}set enabled(e){e?(n.removeClass(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(n.addClass(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),n.removeTabIndexAndUpdateFocus(this._element))}get enabled(){return!n.hasClass(this._element,"disabled")}focus(){this._element.focus()}}t.Button=u
;class h extends a.Disposable{constructor(e,t,n){super(),this._buttons=[],this.create(e,t,n)}get buttons(){return this._buttons}create(e,t,i){for(let r=0;r<t;r++){const o=this._register(new u(e,i));this._buttons.push(o),t>1&&this._register(n.addDisposableListener(o.element,n.EventType.KEY_DOWN,e=>{const t=new s.StandardKeyboardEvent(e);let i,o=!0;t.equals(15)?i=r>0?r-1:this._buttons.length-1:t.equals(17)?i=r===this._buttons.length-1?0:r+1:o=!1,o&&"number"==typeof i&&(this._buttons[i].focus(),n.EventHelper.stop(e,!0))}))}}}t.ButtonGroup=h})),define(e[58],t([24]),{}),define(e[59],t([24]),{}),define(e[60],t([0,1,4,58,59]),(function(e,t,n){"use strict";function s(e){return n.escape(e).replace(/\$\((([a-z0-9\-]+?)(~([a-z0-9\-]*?))?)\)/gi,(e,t,n,s,i)=>`<span class="codicon codicon-${n} ${i?`codicon-animation-${i}`:""}"></span>`)}Object.defineProperty(t,"__esModule",{value:!0}),t.renderCodicons=s;t.CodiconLabel=class{constructor(e){this._container=e}set text(e){this._container.innerHTML=s(e||"")}set title(e){
this._container.title=e}}})),define(e[61],t([24]),{}),define(e[62],t([31,21]),(function(e,t){return e.create("vs/code/electron-browser/issue/issueReporterPage",t)})),define(e[65],t([0,1,4,62]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),
t.default=()=>`\n<div id="issue-reporter">\n\t<div id="english" class="input-group hidden">${n.escape(s.localize(0,null))}</div>\n\n\t<div class="section">\n\t\t<div class="input-group">\n\t\t\t<label class="inline-label" for="issue-type">${n.escape(s.localize(1,null))}</label>\n\t\t\t<select id="issue-type" class="inline-form-control">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</select>\n\t\t</div>\n\n\t\t<div class="input-group" id="problem-source">\n\t\t\t<label class="inline-label" for="issue-source">${n.escape(s.localize(2,null))}<span class="required-input">*</span></label>\n\t\t\t<select id="issue-source" class="inline-form-control" required>\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</select>\n\t\t\t<div id="problem-source-help-text" class="instructions hidden">${n.escape(s.localize(3,null)).replace("{0}",`<span tabIndex=0 role="button" id="disableExtensions" class="workbenchCommand">${n.escape(s.localize(4,null))}</span>`)}\n\t\t\t</div>\n\n\t\t\t<div id="extension-selection">\n\t\t\t\t<label class="inline-label" for="extension-selector">${n.escape(s.localize(5,null))} <span class="required-input">*</span></label>\n\t\t\t\t<select id="extension-selector" class="inline-form-control">\n\t\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t\t</select>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="input-group">\n\t\t\t<label class="inline-label" for="issue-title">${n.escape(s.localize(6,null))} <span class="required-input">*</span></label>\n\t\t\t<input id="issue-title" type="text" class="inline-form-control" placeholder="${n.escape(s.localize(7,null))}" required>\n\t\t\t<div id="issue-title-length-validation-error" class="validation-error hidden" role="alert">${n.escape(s.localize(8,null))}</div>\n\t\t\t<small id="similar-issues">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</small>\n\t\t</div>\n\n\t</div>\n\n\t<div class="input-group description-section">\n\t\t<label for="description" id="issue-description-label">\n\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t</label>\n\t\t<div class="instructions" id="issue-description-subtitle">\n\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t</div>\n\t\t<div class="block-info-text">\n\t\t\t<textarea name="description" id="description" placeholder="${n.escape(s.localize(9,null))}" required></textarea>\n\t\t</div>\n\t</div>\n\n\t<div class="system-info" id="block-container">\n\t\t<div class="block block-system">\n\t\t\t<input class="sendData" type="checkbox" id="includeSystemInfo" checked/>\n\t\t\t<label class="caption" for="includeSystemInfo">${n.escape(s.localize(10,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(11,null))}</a>`)}</label>\n\n\n\n\t\t\t<div class="block-info hidden">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="block block-process">\n\t\t\t<input class="sendData" type="checkbox" id="includeProcessInfo" checked/>\n\t\t\t<label class="caption" for="includeProcessInfo">${n.escape(s.localize(12,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(13,null))}</a>`)}</label>\n\n\n\n\t\t\t<pre class="block-info hidden">\n\t\t\t\t<code>\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t\t</code>\n\t\t\t</pre>\n\t\t</div>\n\t\t<div class="block block-workspace">\n\t\t\t<input class="sendData" type="checkbox" id="includeWorkspaceInfo" checked/>\n\t\t\t<label class="caption" for="includeWorkspaceInfo">${n.escape(s.localize(14,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(15,null))}</a>`)}</label>\n\n\n\n\t\t\t<pre id="systemInfo" class="block-info hidden">\n\t\t\t\t<code>\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t\t</code>\n\t\t\t</pre>\n\t\t</div>\n\t\t<div class="block block-extensions">\n\t\t\t<input class="sendData" type="checkbox" id="includeExtensions" checked/>\n\t\t\t<label class="caption" for="includeExtensions">${n.escape(s.localize(16,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(17,null))}</a>`)}</label>\n\n\n\n\t\t\t<div id="systemInfo" class="block-info hidden">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="block block-searchedExtensions">\n\t\t\t<input class="sendData" type="checkbox" id="includeSearchedExtensions" checked/>\n\t\t\t<label class="caption" for="includeSearchedExtensions">${n.escape(s.localize(18,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(19,null))}</a>`)}</label>\n\n\n\n\t\t\t<div class="block-info hidden">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="block block-settingsSearchResults">\n\t\t\t<input class="sendData" type="checkbox" id="includeSettingsSearchDetails" checked/>\n\t\t\t<label class="caption" for="includeSettingsSearchDetails">${n.escape(s.localize(20,null)).replace("{0}",`<a href="#" class="showInfo">${n.escape(s.localize(21,null))}</a>`)}</label>\n\n\n\n\t\t\t<div class="block-info hidden">\n\t\t\t\t\x3c!-- To be dynamically filled --\x3e\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>`
})),define(e[66],t([31,21]),(function(e,t){return e.create("vs/platform/configuration/common/configurationRegistry",t)})),define(e[67],t([31,21]),(function(e,t){return e.create("vs/platform/telemetry/common/telemetryService",t)})),define(e[33],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRemoteDiagnosticError=function(e){return!!e.hostName&&!!e.errorMessage}})),define(e[69],t([0,1,11,33]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.IssueReporterModel=class{constructor(e){const t={issueType:0,includeSystemInfo:!0,includeWorkspaceInfo:!0,includeProcessInfo:!0,includeExtensions:!0,includeSearchedExtensions:!0,includeSettingsSearchDetails:!0,allExtensions:[]};this._data=e?n.assign(t,e):t}getData(){return this._data}update(e){n.assign(this._data,e)}serialize(){
return`\nIssue Type: <b>${this.getIssueTypeTitle()}</b>\n\n${this._data.issueDescription}\n${this.getExtensionVersion()}\nVS Code version: ${this._data.versionInfo&&this._data.versionInfo.vscodeVersion}\nOS version: ${this._data.versionInfo&&this._data.versionInfo.os}\n${this.getRemoteOSes()}\n${this.getInfos()}\n\x3c!-- generated by issue reporter --\x3e`}getRemoteOSes(){return this._data.systemInfo&&this._data.systemInfo.remoteData.length?this._data.systemInfo.remoteData.map(e=>s.isRemoteDiagnosticError(e)?e.errorMessage:`Remote OS version: ${e.machineInfo.os}`).join("\n")+"\n":""}fileOnExtension(){return(0===this._data.issueType||1===this._data.issueType||2===this._data.issueType)&&this._data.fileOnExtension}getExtensionVersion(){return this.fileOnExtension()&&this._data.selectedExtension?`\nExtension version: ${this._data.selectedExtension.version}`:""}getIssueTypeTitle(){
return 0===this._data.issueType?"Bug":1===this._data.issueType?"Performance Issue":3===this._data.issueType?"Settings Search Issue":"Feature Request"}getInfos(){let e="";return 0!==this._data.issueType&&1!==this._data.issueType||this._data.includeSystemInfo&&this._data.systemInfo&&(e+=this.generateSystemInfoMd()),1===this._data.issueType&&(this._data.includeProcessInfo&&(e+=this.generateProcessInfoMd()),this._data.includeWorkspaceInfo&&(e+=this.generateWorkspaceInfoMd())),0!==this._data.issueType&&1!==this._data.issueType||!this._data.fileOnExtension&&this._data.includeExtensions&&(e+=this.generateExtensionsMd()),3===this._data.issueType&&(this._data.includeSearchedExtensions&&(e+=this.generateExtensionsMd()),this._data.includeSettingsSearchDetails&&(e+=this.generateSettingSearchResultsMd(),e+="\n"+this.generateSettingsSearchResultDetailsMd())),e}generateSystemInfoMd(){let e="<details>\n<summary>System Info</summary>\n\n|Item|Value|\n|---|---|\n"
;return this._data.systemInfo&&(e+=`|CPUs|${this._data.systemInfo.cpus}|\n|GPU Status|${Object.keys(this._data.systemInfo.gpuStatus).map(e=>`${e}: ${this._data.systemInfo.gpuStatus[e]}`).join("<br>")}|\n|Load (avg)|${this._data.systemInfo.load}|\n|Memory (System)|${this._data.systemInfo.memory}|\n|Process Argv|${this._data.systemInfo.processArgs}|\n|Screen Reader|${this._data.systemInfo.screenReader}|\n|VM|${this._data.systemInfo.vmHint}|`,this._data.systemInfo.remoteData.forEach(t=>{s.isRemoteDiagnosticError(t)?e+=`\n\n${t.errorMessage}`:e+=`\n\n|Item|Value|\n|---|---|\n|Remote|${t.hostName}|\n|OS|${t.machineInfo.os}|\n|CPUs|${t.machineInfo.cpus}|\n|Memory (System)|${t.machineInfo.memory}|\n|VM|${t.machineInfo.vmHint}|`})),e+="\n</details>"}generateProcessInfoMd(){return`<details>\n<summary>Process Info</summary>\n\n\`\`\`\n${this._data.processInfo}\n\`\`\`\n\n</details>\n`}generateWorkspaceInfoMd(){
return`<details>\n<summary>Workspace Info</summary>\n\n\`\`\`\n${this._data.workspaceInfo};\n\`\`\`\n\n</details>\n`}generateExtensionsMd(){if(this._data.extensionsDisabled)return"Extensions disabled";const e=this._data.numberOfThemeExtesions?`\n(${this._data.numberOfThemeExtesions} theme extensions excluded)`:"";if(!this._data.enabledNonThemeExtesions)return"Extensions: none"+e;const t=this._data.enabledNonThemeExtesions.map(e=>`${e.name}|${e.publisher.substr(0,3)}|${e.version}`).join("\n");return`<details><summary>Extensions (${this._data.enabledNonThemeExtesions.length})</summary>\n\nExtension|Author (truncated)|Version\n---|---|---\n${t}\n${e}\n\n</details>`}generateSettingsSearchResultDetailsMd(){return`\nQuery: ${this._data.query}\nLiteral matches: ${this._data.filterResultCount}`}generateSettingSearchResultsMd(){if(!this._data.actualSearchResults)return"";if(!this._data.actualSearchResults.length)return"No fuzzy results"
;return`<details><summary>Results</summary>\n\nSetting|Extension|Score\n---|---|---\n${this._data.actualSearchResults.map(e=>`${e.key}|${e.extensionId}|${String(e.score).slice(0,5)}`).join("\n")}\n\n</details>`}}})),define(e[70],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}t.SyncDescriptor=n,t.createSyncDescriptor=(e,...t)=>new n(e,t)})),define(e[71],t([0,1,9,34]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Graph=class{constructor(e){this._hashFn=e,this._nodes=Object.create(null)}roots(){const e=[];return s.forEach(this._nodes,t=>{n.isEmptyObject(t.value.outgoing)&&e.push(t.value)}),e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),s=this.lookupOrInsertNode(t);n.outgoing[this._hashFn(t)]=s,s.incoming[this._hashFn(e)]=n}removeNode(e){const t=this._hashFn(e);delete this._nodes[t],s.forEach(this._nodes,e=>{
delete e.value.outgoing[t],delete e.value.incoming[t]})}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes[t];return n||(n=function(e){return{data:e,incoming:Object.create(null),outgoing:Object.create(null)}}(e),this._nodes[t]=n),n}lookup(e){return this._nodes[this._hashFn(e)]}isEmpty(){for(const e in this._nodes)return!1;return!0}toString(){let e=[];return s.forEach(this._nodes,t=>{e.push(`${t.key}, (incoming)[${Object.keys(t.value.incoming).join(", ")}], (outgoing)[${Object.keys(t.value.outgoing).join(",")}]`)}),e.join("\n")}}})),define(e[10],t([0,1]),(function(e,t){"use strict";var n;function s(e,t,s,i){t[n.DI_TARGET]===t?t[n.DI_DEPENDENCIES].push({id:e,index:s,optional:i}):(t[n.DI_DEPENDENCIES]=[{id:e,index:s,optional:i}],t[n.DI_TARGET]=t)}function i(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");s(t,e,i,!1)};return t.toString=()=>e,n.serviceIds.set(e,t),t}
Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(n=t._util||(t._util={})),t.IInstantiationService=i("instantiationService"),t.createDecorator=i,t.optional=function(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");s(e,t,i,!0)}}})),define(e[73],t([0,1,10]),(function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IEnvironmentService=n.createDecorator("environmentService"),t.BACKUPS="Backups"})),define(e[29],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ServiceCollection=class{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}forEach(e){this._entries.forEach((t,n)=>e(n,t))}has(e){return this._entries.has(e)}get(e){
return this._entries.get(e)}}})),define(e[75],t([0,1,7,71,70,10,29,12]),(function(e,t,n,s,i,r,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const c=!1,l="function"==typeof Proxy;class u extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.toString()}}class h{constructor(e=new o.ServiceCollection,t=!1,n){this._services=e,this._strict=t,this._parent=n,this._services.set(r.IInstantiationService,this)}createChild(e){return new h(e,this._strict,this)}invokeFunction(e,...t){let s=f.traceInvocation(e),i=!1;try{const o={get:(e,t)=>{if(i)throw n.illegalState("service accessor is only valid during the invocation of its target method");const o=this._getOrCreateServiceInstance(e,s);if(!o&&t!==r.optional)throw new Error(`[invokeFunction] unknown service '${e}'`);return o}};return e.apply(void 0,[o,...t])}finally{i=!0,s.stop()}}createInstance(e,...t){let n,s;return e instanceof i.SyncDescriptor?(n=f.traceCreation(e.ctor),
s=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=f.traceCreation(e),s=this._createInstance(e,t,n)),n.stop(),s}_createInstance(e,t=[],n){let s=r._util.getServiceDependencies(e).sort((e,t)=>e.index-t.index),i=[];for(const t of s){let s=this._getOrCreateServiceInstance(t.id,n);if(!s&&this._strict&&!t.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);i.push(s)}let o=s.length>0?s[0].index:t.length;if(t.length!==o){console.warn(`[createInstance] First service dependency of ${e.name} at position ${o+1} conflicts with ${t.length} static arguments`);let n=o-t.length;t=n>0?t.concat(new Array(n)):t.slice(0,o)}return new e(...[...t,...i])}_setServiceInstance(e,t){if(this._services.get(e)instanceof i.SyncDescriptor)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e)
;return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof i.SyncDescriptor?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_createAndCacheServiceInstance(e,t,n){const o=new s.Graph(e=>e.id.toString());let a=0;const c=[{id:e,desc:t,_trace:n}];for(;c.length;){const t=c.pop();if(o.lookupOrInsertNode(t),a++>150)throw new u(o);for(let n of r._util.getServiceDependencies(t.desc.ctor)){let s=this._getServiceInstanceOrDescriptor(n.id);if(s||n.optional||console.warn(`[createInstance] ${e} depends on ${n.id} which is NOT registered.`),s instanceof i.SyncDescriptor){const e={id:n.id,desc:s,_trace:t._trace.branch(n.id,!0)};o.insertEdge(t,e),c.push(e)}}}for(;;){const e=o.roots();if(0===e.length){if(!o.isEmpty())throw new u(o);break}for(const{data:t}of e){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace)
;this._setServiceInstance(t.id,e),o.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],s,r){if(this._services.get(e)instanceof i.SyncDescriptor)return this._createServiceInstance(t,n,s,r);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,s,r);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t=[],n,s){if(n&&l){const n=new a.IdleValue(()=>this._createInstance(e,t,s));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let s=n.getValue(),i=s[t];return"function"!=typeof i?i:(i=i.bind(s),e[t]=i,i)},set:(e,t,s)=>(n.getValue()[t]=s,!0)})}return this._createInstance(e,t,s)}}var d;t.InstantiationService=h,function(e){e[e.Creation=0]="Creation",e[e.Invocation=1]="Invocation",e[e.Branch=2]="Branch"}(d||(d={}));class f{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){
return c?new f(1,e.name||e.toString().substring(0,42).replace(/\n/g,"")):f._None}static traceCreation(e){return c?new f(0,e.name):f._None}branch(e,t){let n=new f(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;f._totals+=e;let t=!1;let n=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(n,s){let i=[],r=new Array(n+1).join("\t");for(const[o,a,c]of s._dep)if(a&&c){t=!0,i.push(`${r}CREATES -> ${o}`);let s=e(n+1,c);s&&i.push(s)}else i.push(`${r}uses -> ${o}`);return i.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${f._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(n.join("\n"))}}f._None=new class extends f{constructor(){super(-1,null)}stop(){}branch(){return this}},f._totals=0})),define(e[76],t([0,1,10,51,5]),(function(e,t,n,s,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IMainProcessService=n.createDecorator("mainProcessService");class r extends i.Disposable{constructor(e){super(),
this.mainProcessConnection=this._register(new s.Client(`window:${e}`))}getChannel(e){return this.mainProcessConnection.getChannel(e)}registerChannel(e,t){this.mainProcessConnection.registerChannel(e,t)}}t.MainProcessService=r})),define(e[16],t([0,1,10,5,2,3]),(function(e,t,n,s,i,r){"use strict";function o(){return(new Date).toISOString()}var a;Object.defineProperty(t,"__esModule",{value:!0}),t.ILogService=n.createDecorator("logService"),t.ILoggerService=n.createDecorator("loggerService"),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(a=t.LogLevel||(t.LogLevel={})),t.DEFAULT_LOG_LEVEL=a.Info;class c extends s.Disposable{constructor(){super(...arguments),this.level=t.DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new r.Emitter),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){
return this.level}}t.AbstractLogService=c;t.ConsoleLogMainService=class extends c{constructor(e=t.DEFAULT_LOG_LEVEL){super(),this.setLevel(e),this.useColors=!i.isWindows}trace(e,...t){this.getLevel()<=a.Trace&&(this.useColors?console.log(`[90m[main ${o()}][0m`,e,...t):console.log(`[main ${o()}]`,e,...t))}debug(e,...t){this.getLevel()<=a.Debug&&(this.useColors?console.log(`[90m[main ${o()}][0m`,e,...t):console.log(`[main ${o()}]`,e,...t))}info(e,...t){this.getLevel()<=a.Info&&(this.useColors?console.log(`[90m[main ${o()}][0m`,e,...t):console.log(`[main ${o()}]`,e,...t))}warn(e,...t){this.getLevel()<=a.Warning&&(this.useColors?console.warn(`[93m[main ${o()}][0m`,e,...t):console.warn(`[main ${o()}]`,e,...t))}error(e,...t){this.getLevel()<=a.Error&&(this.useColors?console.error(`[91m[main ${o()}][0m`,e,...t):console.error(`[main ${o()}]`,e,...t))}critical(e,...t){this.getLevel()<=a.Critical&&(this.useColors?console.error(`[90m[main ${o()}][0m`,e,...t):console.error(`[main ${o()}]`,e,...t))}dispose(){}
flush(){}};t.ConsoleLogService=class extends c{constructor(e=t.DEFAULT_LOG_LEVEL){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=a.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}warn(e,...t){this.getLevel()<=a.Warning&&console.log("%c WARN","color: #993",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c  ERR","color: #f33",e,...t)}critical(e,...t){this.getLevel()<=a.Critical&&console.log("%cCRITI","background: #f33; color: white",e,...t)}dispose(){}flush(){}};t.ConsoleLogInMainService=class extends c{constructor(e,n=t.DEFAULT_LOG_LEVEL){super(),this.client=e,this.setLevel(n)}trace(e,...t){this.getLevel()<=a.Trace&&this.client.consoleLog("trace",[e,...t])}debug(e,...t){this.getLevel()<=a.Debug&&this.client.consoleLog("debug",[e,...t])}info(e,...t){
this.getLevel()<=a.Info&&this.client.consoleLog("info",[e,...t])}warn(e,...t){this.getLevel()<=a.Warning&&this.client.consoleLog("warn",[e,...t])}error(e,...t){this.getLevel()<=a.Error&&this.client.consoleLog("error",[e,...t])}critical(e,...t){this.getLevel()<=a.Critical&&this.client.consoleLog("critical",[e,...t])}dispose(){}flush(){}};t.MultiplexLogService=class extends c{constructor(e){super(),this.logServices=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const t of this.logServices)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(const n of this.logServices)n.trace(e,...t)}debug(e,...t){for(const n of this.logServices)n.debug(e,...t)}info(e,...t){for(const n of this.logServices)n.info(e,...t)}warn(e,...t){for(const n of this.logServices)n.warn(e,...t)}error(e,...t){for(const n of this.logServices)n.error(e,...t)}critical(e,...t){for(const n of this.logServices)n.critical(e,...t)}flush(){for(const e of this.logServices)e.flush()}dispose(){for(const e of this.logServices)e.dispose()}}
;class l extends s.Disposable{constructor(e){super(),this.logService=e,this._register(e)}get onDidChangeLogLevel(){return this.logService.onDidChangeLogLevel}setLevel(e){this.logService.setLevel(e)}getLevel(){return this.logService.getLevel()}trace(e,...t){this.logService.trace(e,...t)}debug(e,...t){this.logService.debug(e,...t)}info(e,...t){this.logService.info(e,...t)}warn(e,...t){this.logService.warn(e,...t)}error(e,...t){this.logService.error(e,...t)}critical(e,...t){this.logService.critical(e,...t)}flush(){this.logService.flush()}}t.DelegatedLogService=l;t.NullLogService=class{constructor(){this.onDidChangeLogLevel=(new r.Emitter).event}setLevel(e){}getLevel(){return a.Info}trace(e,...t){}debug(e,...t){}info(e,...t){}warn(e,...t){}error(e,...t){}critical(e,...t){}dispose(){}flush(){}},t.getLogLevel=function(e){if(e.verbose)return a.Trace;if("string"==typeof e.args.log){switch(e.args.log.toLowerCase()){case"trace":return a.Trace;case"debug":return a.Debug;case"info":return a.Info;case"warn":
return a.Warning;case"error":return a.Error;case"critical":return a.Critical;case"off":return a.Off}}return t.DEFAULT_LOG_LEVEL}})),define(e[78],t([0,1,16,3]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LoggerChannel=class{constructor(e){this.service=e,this.onDidChangeLogLevel=s.Event.buffer(e.onDidChangeLogLevel,!0)}listen(e,t){switch(t){case"onDidChangeLogLevel":return this.onDidChangeLogLevel}throw new Error(`Event not found: ${t}`)}call(e,t,n){switch(t){case"setLevel":return this.service.setLevel(n),Promise.resolve();case"consoleLog":return this.consoleLog(n[0],n[1]),Promise.resolve()}throw new Error(`Call not found: ${t}`)}consoleLog(e,t){let n=console.log;switch(e){case"error":n=console.error;break;case"warn":n=console.warn;break;case"info":n=console.info}n.call(console,...t)}};t.LoggerChannelClient=class{constructor(e){this.channel=e}get onDidChangeLogLevel(){return this.channel.listen("onDidChangeLogLevel")}setLevel(e){this.channel.call("setLevel",e)}
consoleLog(e,t){this.channel.call("consoleLog",[e,t])}};class i extends n.DelegatedLogService{constructor(e,t){super(t),this.master=e,this._register(e.onDidChangeLogLevel(e=>t.setLevel(e)))}setLevel(e){this.master.setLevel(e)}}t.FollowerLogService=i})),define(e[79],t([0,1,6,16]),(function(e,t,n,s){"use strict";function i(e,t,n){switch(t){case s.LogLevel.Trace:e.trace(n);break;case s.LogLevel.Debug:e.debug(n);break;case s.LogLevel.Info:e.info(n);break;case s.LogLevel.Warning:e.warn(n);break;case s.LogLevel.Error:e.error(n);break;case s.LogLevel.Critical:e.critical(n);break;default:throw new Error("Invalid log level")}}Object.defineProperty(t,"__esModule",{value:!0}),t.createRotatingLogger=function(t,n,s,i){return e.__$__nodeRequire("spdlog").createRotatingLogger(t,n,s,i)};class r extends s.AbstractLogService{constructor(e,t,n){super(),this.name=e,this.logsFolder=t,this.buffer=[],this._loggerCreationPromise=void 0,this.setLevel(n),this._createSpdLogLogger(),this._register(this.onDidChangeLogLevel(e=>{
this._logger&&this._logger.setLevel(e)}))}_createSpdLogLogger(){return this._loggerCreationPromise||(this._loggerCreationPromise=async function(t,s){try{const i=await new Promise((t,n)=>{e(["spdlog"],t,n)});i.setAsyncMode(8192,500);const r=n.join(s,`${t}.log`);return i.createRotatingLoggerAsync(t,r,5242880,6)}catch(e){console.error(e)}return null}(this.name,this.logsFolder).then(e=>{if(e){this._logger=e,this._logger.setLevel(this.getLevel());for(const{level:e,message:t}of this.buffer)i(this._logger,e,t);this.buffer=[]}})),this._loggerCreationPromise}_log(e,t){this._logger?i(this._logger,e,t):this.getLevel()<=e&&this.buffer.push({level:e,message:t})}trace(e,...t){this.getLevel()<=s.LogLevel.Trace&&this._log(s.LogLevel.Trace,this.format([e,...t]))}debug(e,...t){this.getLevel()<=s.LogLevel.Debug&&this._log(s.LogLevel.Debug,this.format([e,...t]))}info(e,...t){this.getLevel()<=s.LogLevel.Info&&this._log(s.LogLevel.Info,this.format([e,...t]))}warn(e,...t){
this.getLevel()<=s.LogLevel.Warning&&this._log(s.LogLevel.Warning,this.format([e,...t]))}error(e,...t){if(this.getLevel()<=s.LogLevel.Error)if(e instanceof Error){const t=Array.prototype.slice.call(arguments);t[0]=e.stack,this._log(s.LogLevel.Error,this.format(t))}else this._log(s.LogLevel.Error,this.format([e,...t]))}critical(e,...t){this.getLevel()<=s.LogLevel.Critical&&this._log(s.LogLevel.Critical,this.format([e,...t]))}flush(){this._logger?this._logger.flush():this._loggerCreationPromise&&this._loggerCreationPromise.then(()=>this.flush())}dispose(){this._logger?this.disposeLogger():this._loggerCreationPromise&&this._loggerCreationPromise.then(()=>this.disposeLogger()),this._loggerCreationPromise=void 0}disposeLogger(){this._logger&&(this._logger.drop(),this._logger=void 0)}format(e){let t="";for(let n=0;n<e.length;n++){let s=e[n];if("object"==typeof s)try{s=JSON.stringify(s)}catch(e){}t+=(n>0?" ":"")+s}return t}}t.SpdLogService=r})),define(e[37],t([0,1,11,2,6,22,19]),(function(e,t,n,s,i,r,o){"use strict"
;let a;if(Object.defineProperty(t,"__esModule",{value:!0}),s.isWeb)a={},0===Object.keys(a).length&&n.assign(a,{version:"1.41.0-dev",nameLong:"Visual Studio Code Web Dev",nameShort:"VSCode Web Dev",urlProtocol:"code-oss"});else{if(void 0===e||"function"!=typeof e.__$__nodeRequire)throw new Error("Unable to resolve product configuration");{const t=i.dirname(r.getPathFromAmdModule(e,""));a=n.assign({},e.__$__nodeRequire(i.join(t,"product.json")));const s=e.__$__nodeRequire(i.join(t,"package.json"));o.env.VSCODE_DEV&&n.assign(a,{nameShort:`${a.nameShort} Dev`,nameLong:`${a.nameLong} Dev`,dataFolderName:`${a.dataFolderName}-dev`}),n.assign(a,{version:s.version})}}t.default=a})),define(e[81],t([0,1,73,95,43,18,6,85,20,37,45,2,22,8]),(function(e,t,s,i,r,o,a,c,l,u,h,d,f,p){"use strict";function g(e,n){return d.isWindows?function(e,t){return`\\\\.\\pipe\\${i.createHash("md5").update(e).digest("hex")}-${u.default.version}-${t}-sock`}(e,n):function(e,n){const s=process.env.VSCODE_PORTABLE;if(t.xdgRuntimeDir&&!s){
const s=i.createHash("md5").update(e).digest("hex").substr(0,8);return a.join(t.xdgRuntimeDir,`vscode-${s}-${u.default.version}-${n}.sock`)}return a.join(e,`${u.default.version}-${n}.sock`)}(e,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.xdgRuntimeDir=process.env.XDG_RUNTIME_DIR;class m{constructor(e,t){if(this._args=e,this._execPath=t,!process.env.VSCODE_LOGS){const e=h.toLocalISOString(new Date).replace(/-|:|\.\d+Z$/g,"");process.env.VSCODE_LOGS=a.join(this.userDataPath,"logs",e)}this.logsPath=process.env.VSCODE_LOGS}get args(){return this._args}get appRoot(){return a.dirname(f.getPathFromAmdModule(e,""))}get execPath(){return this._execPath}get cliPath(){return e=this.execPath,t=this.appRoot,n=this.isBuilt,d.isWindows?n?a.join(a.dirname(e),"bin",`${u.default.applicationName}.cmd`):a.join(t,"scripts","code-cli.bat"):d.isLinux?"/usr/bin/code":n?a.join(t,"bin","code"):"/usr/bin/code";var e,t,n}get userHome(){return o.homedir()}get userDataPath(){const e=process.env.VSCODE_PORTABLE
;return e?a.join(e,"user-data"):y(this._args,process)}get appSettingsHome(){return p.URI.file(a.join(this.userDataPath,"User"))}get userRoamingDataHome(){return this.appSettingsHome}get settingsResource(){return c.joinPath(this.userRoamingDataHome,"settings.json")}get settingsSyncPreviewResource(){return c.joinPath(this.userRoamingDataHome,".settings.json")}get keybindingsSyncPreviewResource(){return c.joinPath(this.userRoamingDataHome,".keybindings.json")}get userDataSyncLogResource(){return p.URI.file(a.join(this.logsPath,"userDataSync.log"))}get machineSettingsHome(){return p.URI.file(a.join(this.userDataPath,"Machine"))}get machineSettingsResource(){return c.joinPath(this.machineSettingsHome,"settings.json")}get globalStorageHome(){return a.join(this.appSettingsHome.fsPath,"globalStorage")}get workspaceStorageHome(){return a.join(this.appSettingsHome.fsPath,"workspaceStorage")}get keybindingsResource(){return c.joinPath(this.userRoamingDataHome,"keybindings.json")}get keyboardLayoutResource(){
return c.joinPath(this.userRoamingDataHome,"keyboardLayout.json")}get argvResource(){const e=process.env.VSCODE_PORTABLE;return e?p.URI.file(a.join(e,"argv.json")):p.URI.file(a.join(this.userHome,u.default.dataFolderName,"argv.json"))}get isExtensionDevelopment(){return!!this._args.extensionDevelopmentPath}get backupHome(){return p.URI.file(a.join(this.userDataPath,s.BACKUPS))}get backupWorkspacesPath(){return a.join(this.backupHome.fsPath,"workspaces.json")}get untitledWorkspacesHome(){return p.URI.file(a.join(this.userDataPath,"Workspaces"))}get installSourcePath(){return a.join(this.userDataPath,"installSource")}get builtinExtensionsPath(){const t=b(this._args["builtin-extensions-dir"],process);return t||a.normalize(a.join(f.getPathFromAmdModule(e,""),"..","extensions"))}get extensionsPath(){const e=b(this._args["extensions-dir"],process);if(e)return e;const t=process.env.VSCODE_EXTENSIONS;if(t)return t;const n=process.env.VSCODE_PORTABLE
;return n?a.join(n,"extensions"):a.join(this.userHome,u.default.dataFolderName,"extensions")}get extensionDevelopmentLocationURI(){const e=this._args.extensionDevelopmentPath;if(Array.isArray(e))return e.map(e=>/^[^:/?#]+?:\/\//.test(e)?p.URI.parse(e):p.URI.file(a.normalize(e)))}get extensionTestsLocationURI(){const e=this._args.extensionTestsPath;if(e)return/^[^:/?#]+?:\/\//.test(e)?p.URI.parse(e):p.URI.file(a.normalize(e))}get disableExtensions(){if(this._args["disable-extensions"])return!0;const e=this._args["disable-extension"];if(e){if("string"==typeof e)return[e];if(Array.isArray(e)&&e.length>0)return e}return!1}get debugExtensionHost(){return _(this._args,this.isBuilt)}get logExtensionHostCommunication(){return!!this.args.logExtensionHostCommunication}get isBuilt(){return!process.env.VSCODE_DEV}get verbose(){return!!this._args.verbose}get log(){return this._args.log}get wait(){return!!this._args.wait}get status(){return!!this._args.status}get mainIPCHandle(){return g(this.userDataPath,"main")}
get sharedIPCHandle(){return g(this.userDataPath,"shared")}get nodeCachedDataDir(){return process.env.VSCODE_NODE_CACHED_DATA_DIR||void 0}get galleryMachineIdResource(){return c.joinPath(p.URI.file(this.userDataPath),"machineid")}get disableUpdates(){return!!this._args["disable-updates"]}get disableCrashReporter(){return!!this._args["disable-crash-reporter"]}get driverHandle(){return this._args.driver}get driverVerbose(){return!!this._args["driver-verbose"]}}function _(e,t){return v(e["inspect-extensions"],e["inspect-brk-extensions"],5870,t,e.debugId)}function v(e,t,n,s,i){const r=Number(t||e)||(s?null:n);return{port:r,break:!!r&&Boolean(!!t),debugId:i}}function b(e,t){if(!e)return;const n=a.resolve(e);return a.normalize(e)===n?n:a.resolve(t.env.VSCODE_CWD||t.cwd(),e)}function y(e,t){return b(e["user-data-dir"],t)||a.resolve(r.getDefaultUserDataPath(t.platform))}n([l.memoize],m.prototype,"appRoot",null),n([l.memoize],m.prototype,"cliPath",null),n([l.memoize],m.prototype,"userHome",null),
n([l.memoize],m.prototype,"userDataPath",null),n([l.memoize],m.prototype,"appSettingsHome",null),n([l.memoize],m.prototype,"userRoamingDataHome",null),n([l.memoize],m.prototype,"settingsResource",null),n([l.memoize],m.prototype,"settingsSyncPreviewResource",null),n([l.memoize],m.prototype,"keybindingsSyncPreviewResource",null),n([l.memoize],m.prototype,"userDataSyncLogResource",null),n([l.memoize],m.prototype,"machineSettingsHome",null),n([l.memoize],m.prototype,"machineSettingsResource",null),n([l.memoize],m.prototype,"globalStorageHome",null),n([l.memoize],m.prototype,"workspaceStorageHome",null),n([l.memoize],m.prototype,"keybindingsResource",null),n([l.memoize],m.prototype,"keyboardLayoutResource",null),n([l.memoize],m.prototype,"argvResource",null),n([l.memoize],m.prototype,"isExtensionDevelopment",null),n([l.memoize],m.prototype,"backupHome",null),n([l.memoize],m.prototype,"backupWorkspacesPath",null),n([l.memoize],m.prototype,"untitledWorkspacesHome",null),
n([l.memoize],m.prototype,"installSourcePath",null),n([l.memoize],m.prototype,"builtinExtensionsPath",null),n([l.memoize],m.prototype,"extensionsPath",null),n([l.memoize],m.prototype,"extensionDevelopmentLocationURI",null),n([l.memoize],m.prototype,"extensionTestsLocationURI",null),n([l.memoize],m.prototype,"debugExtensionHost",null),n([l.memoize],m.prototype,"logExtensionHostCommunication",null),n([l.memoize],m.prototype,"mainIPCHandle",null),n([l.memoize],m.prototype,"sharedIPCHandle",null),n([l.memoize],m.prototype,"nodeCachedDataDir",null),n([l.memoize],m.prototype,"galleryMachineIdResource",null),t.EnvironmentService=m,t.parseExtensionHostPort=_,t.parseSearchPort=function(e,t){return v(e["inspect-search"],e["inspect-brk-search"],5876,t)},t.parsePathArg=b,t.parseUserDataDir=y})),define(e[14],t([0,1,9,56]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Registry=new class{constructor(){this.data=new Map}add(e,t){s.ok(n.isString(e)),s.ok(n.isObject(t)),
s.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}knows(e){return this.data.has(e)}as(e){return this.data.get(e)||null}}})),define(e[83],t([0,1,14,3]),(function(e,t,n,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extensions={JSONContribution:"base.contributions.json"};const i=new class{constructor(){this._onDidChangeSchema=new s.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.schemasById={}}registerSchema(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}getSchemaContributions(){return{schemas:this.schemasById}}};n.Registry.add(t.Extensions.JSONContribution,i)})),define(e[39],t([0,1,66,3,14,9,4,83]),(function(e,t,n,s,i,r,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Extensions={Configuration:"base.contributions.configuration"},function(e){e[e.APPLICATION=1]="APPLICATION",
e[e.MACHINE=2]="MACHINE",e[e.WINDOW=3]="WINDOW",e[e.RESOURCE=4]="RESOURCE",e[e.MACHINE_OVERRIDABLE=5]="MACHINE_OVERRIDABLE"}(t.ConfigurationScope||(t.ConfigurationScope={})),t.allSettings={properties:{},patternProperties:{}},t.applicationSettings={properties:{},patternProperties:{}},t.machineSettings={properties:{},patternProperties:{}},t.machineOverridableSettings={properties:{},patternProperties:{}},t.windowSettings={properties:{},patternProperties:{}},t.resourceSettings={properties:{},patternProperties:{}},t.editorConfigurationSchemaId="vscode://schemas/settings/editor";const c=i.Registry.as(a.Extensions.JSONContribution);const l="override",u="\\[.*\\]$",h="\\[(${0})\\]$";function d(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}t.OVERRIDE_PROPERTY_PATTERN=new RegExp(u),t.getDefaultValue=d;const f=new class{constructor(){this.overrideIdentifiers=[],
this._onDidSchemaChange=new s.Emitter,this.onDidSchemaChange=this._onDidSchemaChange.event,this._onDidUpdateConfiguration=new s.Emitter,this.onDidUpdateConfiguration=this._onDidUpdateConfiguration.event,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:n.localize(0,null),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.editorConfigurationSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},this.overridePropertyPattern=this.computeOverridePropertyPattern(),c.registerSchema(t.editorConfigurationSchemaId,this.editorConfigurationSchema)}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=[];e.forEach(e=>{n.push(...this.validateAndRegisterProperties(e,t)),this.configurationContributors.push(e),this.registerJSONConfiguration(e),
this.updateSchemaForOverrideSettingsConfiguration(e)}),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}deregisterConfigurations(e){const n=[],s=e=>{if(e.properties)for(const s in e.properties)switch(n.push(s),delete this.configurationProperties[s],delete this.editorConfigurationSchema.properties[s],delete t.allSettings.properties[s],e.properties[s].scope){case 1:delete t.applicationSettings.properties[s];break;case 2:delete t.machineSettings.properties[s];break;case 5:delete t.machineOverridableSettings.properties[s];break;case 3:delete t.windowSettings.properties[s];break;case 4:delete t.resourceSettings.properties[s]}e.allOf&&e.allOf.forEach(e=>s(e))};for(const t of e){s(t);const e=this.configurationContributors.indexOf(t);-1!==e&&this.configurationContributors.splice(e,1)}c.registerSchema(t.editorConfigurationSchemaId,this.editorConfigurationSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}registerDefaultConfigurations(e){const s=[]
;for(const i of e)for(const e in i.defaults){const r=i.defaults[e];if(t.OVERRIDE_PROPERTY_PATTERN.test(e)&&"object"==typeof r){const i={type:"object",default:r,description:n.localize(1,null,e),$ref:t.editorConfigurationSchemaId};t.allSettings.properties[e]=i,this.defaultOverridesConfigurationNode.properties[e]=i,this.configurationProperties[e]=i,s.push(e)}}this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(s)}deregisterDefaultConfigurations(e){const n=[];for(const s of e)for(const e in s.defaults)n.push(e),delete t.allSettings.properties[e],delete this.defaultOverridesConfigurationNode.properties[e],delete this.configurationProperties[e];this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}notifyConfigurationSchemaUpdated(...e){this._onDidSchemaChange.fire()}registerOverrideIdentifiers(e){this.overrideIdentifiers.push(...e),this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,n=!0,s=3,i=!1){s=r.isUndefinedOrNull(e.scope)?s:e.scope,i=e.overridable||i
;let o=[],a=e.properties;if(a)for(let e in a){let c;if(n&&(c=p(e))){console.warn(c),delete a[e];continue}let l=a[e],u=l.default;r.isUndefined(u)&&(l.default=d(l.type)),i&&(l.overridable=!0),t.OVERRIDE_PROPERTY_PATTERN.test(e)?l.scope=void 0:l.scope=r.isUndefinedOrNull(l.scope)?s:l.scope,!a[e].hasOwnProperty("included")||a[e].included?(this.configurationProperties[e]=a[e],o.push(e)):(this.excludedConfigurationProperties[e]=a[e],delete a[e])}let c=e.allOf;if(c)for(let e of c)o.push(...this.validateAndRegisterProperties(e,n,s,i));return o}getConfigurations(){return this.configurationContributors}getConfigurationProperties(){return this.configurationProperties}getExcludedConfigurationProperties(){return this.excludedConfigurationProperties}registerJSONConfiguration(e){!function e(n){let s=n.properties;if(s)for(const e in s)switch(t.allSettings.properties[e]=s[e],s[e].scope){case 1:t.applicationSettings.properties[e]=s[e];break;case 2:t.machineSettings.properties[e]=s[e];break;case 5:
t.machineOverridableSettings.properties[e]=s[e];break;case 3:t.windowSettings.properties[e]=s[e];break;case 4:t.resourceSettings.properties[e]=s[e]}let i=n.allOf;i&&i.forEach(e)}(e)}updateSchemaForOverrideSettingsConfiguration(e){e.id!==l&&(this.update(e),c.registerSchema(t.editorConfigurationSchemaId,this.editorConfigurationSchema))}updateOverridePropertyPatternKey(){let e=t.allSettings.patternProperties[this.overridePropertyPattern];e||(e={type:"object",description:n.localize(2,null),errorMessage:"Unknown Identifier. Use language identifiers",$ref:t.editorConfigurationSchemaId}),delete t.allSettings.patternProperties[this.overridePropertyPattern],delete t.applicationSettings.patternProperties[this.overridePropertyPattern],delete t.machineSettings.patternProperties[this.overridePropertyPattern],delete t.machineOverridableSettings.patternProperties[this.overridePropertyPattern],delete t.windowSettings.patternProperties[this.overridePropertyPattern],
delete t.resourceSettings.patternProperties[this.overridePropertyPattern],this.overridePropertyPattern=this.computeOverridePropertyPattern(),t.allSettings.patternProperties[this.overridePropertyPattern]=e,t.applicationSettings.patternProperties[this.overridePropertyPattern]=e,t.machineSettings.patternProperties[this.overridePropertyPattern]=e,t.machineOverridableSettings.patternProperties[this.overridePropertyPattern]=e,t.windowSettings.patternProperties[this.overridePropertyPattern]=e,t.resourceSettings.patternProperties[this.overridePropertyPattern]=e,this._onDidSchemaChange.fire()}update(e){let t=e.properties;if(t)for(let e in t)t[e].overridable&&(this.editorConfigurationSchema.properties[e]=this.getConfigurationProperties()[e]);let n=e.allOf;n&&n.forEach(e=>this.update(e))}computeOverridePropertyPattern(){return this.overrideIdentifiers.length?h.replace("${0}",this.overrideIdentifiers.map(e=>o.createRegExp(e,!1).source).join("|")):u}};function p(e){
return t.OVERRIDE_PROPERTY_PATTERN.test(e)?n.localize(3,null,e):void 0!==f.getConfigurationProperties()[e]?n.localize(4,null,e):null}i.Registry.add(t.Extensions.Configuration,f),t.validateProperty=p,t.getScopes=function(){const e=[],t=f.getConfigurationProperties();for(const n of Object.keys(t))e.push([n,t[n].scope]);return e.push(["launch",4]),e.push(["task",4]),e}})),define(e[40],t([0,1,11,9,8,14,10,39]),(function(e,t,n,s,i,r,o,a){"use strict";function c(e,t){const n=Object.create(null);for(let s in e)l(n,s,e[s],t);return n}function l(e,t,n,s){const i=t.split("."),r=i.pop();let o=e;for(let e=0;e<i.length;e++){let n=i[e],r=o[n];switch(typeof r){case"undefined":r=o[n]=Object.create(null);break;case"object":break;default:return void s(`Ignoring ${t} as ${i.slice(0,e+1).join(".")} is ${JSON.stringify(r)}`)}o=r}"object"==typeof o?o[r]=n:s(`Ignoring ${t} as ${i.join(".")} is ${JSON.stringify(o)}`)}function u(e,t,n){const s=function(e,t){let n=e;for(const e of t){if("object"!=typeof n||null===n)return;n=n[e]}
return n}(e,t.split("."));return void 0===s?n:s}function h(e){return e.substring(1,e.length-1)}Object.defineProperty(t,"__esModule",{value:!0}),t.IConfigurationService=o.createDecorator("configurationService"),t.isConfigurationOverrides=function(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof i.URI)},function(e){e[e.USER=1]="USER",e[e.USER_LOCAL=2]="USER_LOCAL",e[e.USER_REMOTE=3]="USER_REMOTE",e[e.WORKSPACE=4]="WORKSPACE",e[e.WORKSPACE_FOLDER=5]="WORKSPACE_FOLDER",e[e.DEFAULT=6]="DEFAULT",e[e.MEMORY=7]="MEMORY"}(t.ConfigurationTarget||(t.ConfigurationTarget={})),t.ConfigurationTargetToString=function(e){switch(e){case 1:return"USER";case 2:return"USER_LOCAL";case 3:return"USER_REMOTE";case 4:return"WORKSPACE";case 5:return"WORKSPACE_FOLDER";case 6:return"DEFAULT";case 7:return"MEMORY"}},t.compare=function(e,t){const s=t.keys.filter(t=>-1===e.keys.indexOf(t)),i=e.keys.filter(e=>-1===t.keys.indexOf(e)),r=[]
;for(const s of e.keys){const i=u(e.contents,s),o=u(t.contents,s);n.equals(i,o)||r.push(s)}return{added:s,removed:i,updated:r}},t.toOverrides=function(e,t){const n=[],s=r.Registry.as(a.Extensions.Configuration).getConfigurationProperties();for(const i of Object.keys(e))if(a.OVERRIDE_PROPERTY_PATTERN.test(i)){const r={};for(const t in e[i])s[t]&&s[t].overridable&&(r[t]=e[i][t]);n.push({identifiers:[h(i).trim()],contents:c(r,t)})}return n},t.toValuesTree=c,t.addToValueTree=l,t.removeFromValueTree=function(e,t){!function e(t,n){const s=n.shift();if(0===n.length)return void delete t[s];if(-1!==Object.keys(t).indexOf(s)){const i=t[s];"object"!=typeof i||Array.isArray(i)||(e(i,n),0===Object.keys(i).length&&delete t[s])}}(e,t.split("."))},t.getConfigurationValue=u,t.merge=function e(t,n,i){Object.keys(n).forEach(r=>{r in t?s.isObject(t[r])&&s.isObject(n[r])?e(t[r],n[r],i):i&&(t[r]=n[r]):t[r]=n[r]})},t.getConfigurationKeys=function(){const e=r.Registry.as(a.Extensions.Configuration).getConfigurationProperties()
;return Object.keys(e)},t.getDefaultValues=function(){const e=Object.create(null),t=r.Registry.as(a.Extensions.Configuration).getConfigurationProperties();for(let n in t){l(e,n,t[n].default,e=>console.error(`Conflict in default settings: ${e}`))}return e},t.overrideIdentifierFromKey=h,t.keyFromOverrideIdentifier=function(e){return`[${e}]`},t.getMigratedSettingValue=function(e,t,n){const s=e.inspect(t),i=e.inspect(n);return void 0!==s.user||void 0!==s.workspace||void 0!==s.workspaceFolder?s.value:void 0!==i.user||void 0!==i.workspace||void 0!==i.workspaceFolder?i.value:s.default}}));var s=this&&this.__param||function(e,t){return function(n,s){t(n,s,e)}};define(e[86],t([0,1,67,4,10,40,39,5,11,14]),(function(e,t,i,r,o,a,c,l,u,h){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let d=class{constructor(e,t){this._configurationService=t,this._disposables=new l.DisposableStore,this._cleanupPatterns=[],this._appender=e.appender,this._commonProperties=e.commonProperties||Promise.resolve({}),
this._piiPaths=e.piiPaths||[],this._userOptIn=!0,this._enabled=!0,this._cleanupPatterns=[/file:\/\/\/.*?\/resources\/app\//gi];for(let e of this._piiPaths)this._cleanupPatterns.push(new RegExp(r.escapeRegExpCharacters(e),"gi"));this._configurationService&&(this._updateUserOptIn(),this._configurationService.onDidChangeConfiguration(this._updateUserOptIn,this,this._disposables),this.publicLog2("optInStatus",{optIn:this._userOptIn}),this._commonProperties.then(t=>{const n=/^[a-f0-9]+$/i.test(t["common.machineId"]);this.publicLog2("machineIdFallback",{usingFallbackGuid:!n}),e.trueMachineId&&this.publicLog2("machineIdDisambiguation",{correctedMachineId:e.trueMachineId})}))}setEnabled(e){this._enabled=e}_updateUserOptIn(){const e=this._configurationService.getValue(f);this._userOptIn=e?e.enableTelemetry:this._userOptIn}get isOptedIn(){return this._userOptIn&&this._enabled}async getTelemetryInfo(){const e=await this._commonProperties;return{sessionId:e.sessionID,instanceId:e["common.instanceId"],
machineId:e["common.machineId"],msftInternal:e["common.msftInternal"]}}dispose(){this._disposables.dispose()}publicLog(e,t,n){return this.isOptedIn?this._commonProperties.then(s=>{t=u.mixin(t,s),t=u.cloneAndChange(t,e=>{if("string"==typeof e)return this._cleanupInfo(e,n)}),this._appender.log(e,t)},e=>{console.error(e)}):Promise.resolve(void 0)}publicLog2(e,t,n){return this.publicLog(e,t,n)}_cleanupInfo(e,t){let n=e;if(t){const t=[];for(let n of this._cleanupPatterns)for(;;){const s=n.exec(e);if(!s)break;t.push([s.index,n.lastIndex])}const s=/^[\\\/]?(node_modules|node_modules\.asar)[\\\/]/,i=/(file:\/\/)?([a-zA-Z]:(\\\\|\\|\/)|(\\\\|\\|\/))?([\w-\._]+(\\\\|\\|\/))+[\w-\._]*/g;let r=0;for(n="";;){const o=i.exec(e);if(!o)break;!s.test(o[0])&&t.every(([e,t])=>o.index<e||o.index>=t)&&(n+=e.substring(r,o.index)+"<REDACTED: user-file-path>",r=i.lastIndex)}r<e.length&&(n+=e.substr(r))}for(let e of this._cleanupPatterns)n=n.replace(e,"");return n}};d.IDLE_START_EVENT_NAME="UserIdleStart",
d.IDLE_STOP_EVENT_NAME="UserIdleStop",d=n([s(1,o.optional(a.IConfigurationService))],d),t.TelemetryService=d;const f="telemetry";h.Registry.as(c.Extensions.Configuration).registerConfiguration({id:f,order:110,type:"object",title:i.localize(0,null),properties:{"telemetry.enableTelemetry":{type:"boolean",description:i.localize(1,null),default:!0,tags:["usesOnlineServices"]}}})})),define(e[87],t([0,1,40,16,11,9]),(function(e,t,i,r,o,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NullTelemetryService=new class{constructor(){this.isOptedIn=!0}publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}setEnabled(){}getTelemetryInfo(){return Promise.resolve({instanceId:"someValue.instanceId",sessionId:"someValue.sessionId",machineId:"someValue.machineId"})}},t.combinedAppender=function(...e){return{log:(t,n)=>e.forEach(e=>e.log(t,n)),flush:()=>Promise.all(e.map(e=>e.flush()))}},t.NullAppender={log:()=>null,flush:()=>Promise.resolve(null)};let c=class{constructor(e){
this._logService=e,this.commonPropertiesRegex=/^sessionID$|^version$|^timestamp$|^commitHash$|^common\./}flush(){return Promise.resolve(void 0)}log(e,t){const n={};Object.keys(t).forEach(e=>{this.commonPropertiesRegex.test(e)||(n[e]=t[e])}),this._logService.trace(`telemetry/${e}`,n)}};function l(e){if(!e)return[];const t=[];return function e(t,n,s){s&&"object"==typeof s&&!Array.isArray(s)?Object.keys(s).forEach(i=>e(t,n?`${n}.${i}`:i,s[i])):t.push(n)}(t,"",e),t}c=n([s(0,r.ILogService)],c),t.LogAppender=c,t.configurationTelemetry=function(e,t){return t.onDidChangeConfiguration(t=>{6!==t.source&&e.publicLog2("updateConfiguration",{configurationSource:i.ConfigurationTargetToString(t.source),configurationKeys:l(t.sourceConfig)})})},t.validateTelemetryData=function(e){const t=Object.create(null),n=Object.create(null),s=Object.create(null);!function e(t,n,s=0,i){if(!t)return;for(let r of Object.getOwnPropertyNames(t)){const c=t[r],l=i?i+r:r
;Array.isArray(c)?n[l]=o.safeStringify(c):c instanceof Date?n[l]=c.toISOString():a.isObject(c)?s<2?e(c,n,s+1,l+"."):n[l]=o.safeStringify(c):n[l]=c}}(e,s);for(let e in s){const i=s[e=e.length>150?e.substr(e.length-149):e];"number"==typeof i?n[e]=i:"boolean"==typeof i?n[e]=i?1:0:"string"==typeof i?t[e]=i.substring(0,1023):null!=i&&(t[e]=i)}return{properties:t,measurements:n}},t.cleanRemoteAuthority=function(e){if(!e)return"none";let t="other";return["ssh-remote","dev-container","attached-container","wsl"].forEach(n=>{0===e.indexOf(`${n}+`)&&(t=n)}),t}})),define(e[88],t([0,1,2,18,26,44]),(function(e,t,n,s,i,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveCommonProperties=async function(e,t,o,a,c,l){const u=Object.create(null);u["common.machineId"]=o,u.sessionID=i.generateUuid()+Date.now(),u.commitHash=e,u.version=t,u["common.platformVersion"]=(s.release()||"").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/,"$1$2$3"),u["common.platform"]=n.PlatformToString(n.platform),
u["common.nodePlatform"]=process.platform,u["common.nodeArch"]=process.arch,u["common.product"]=l||"desktop";const h=function(e){if(!process||!process.env||!process.env.USERDNSDOMAIN)return!1;const t=process.env.USERDNSDOMAIN.toLowerCase();return e.some(e=>t===e)}(a||[]);h&&(u["common.msftInternal"]=h);let d=0;const f=Date.now();Object.defineProperties(u,{timestamp:{get:()=>new Date,enumerable:!0},"common.timesincesessionstart":{get:()=>Date.now()-f,enumerable:!0},"common.sequence":{get:()=>d++,enumerable:!0}}),"linux"===process.platform&&process.env.SNAP&&process.env.SNAP_REVISION&&(u["common.snap"]="true");try{const e=await r.readFile(c,"utf8");u["common.source"]=e.slice(0,30)}catch(e){}return u}})),define(e[89],t([0,1]),(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.TelemetryAppenderChannel=class{constructor(e){this.appender=e}listen(e,t){throw new Error(`Event not found: ${t}`)}call(e,t,{eventName:n,data:s}){return this.appender.log(n,s),Promise.resolve(null)}}
;t.TelemetryAppenderClient=class{constructor(e){this.channel=e}log(e,t){return this.channel.call("log",{eventName:e,data:t}).then(void 0,e=>`Failed to log telemetry: ${console.warn(e)}`),Promise.resolve(null)}flush(){return Promise.resolve()}}})),define(e[94],t([0,1,52,21,25,34,13,4,37,18,20,2,5,17,49,53,29,87,86,89,75,88,76,81,69,65,78,16,60,54,57,33,79,61]),(function(e,t,s,i,r,o,a,c,l,u,h,d,f,p,g,m,_,v,b,y,w,E,C,S,k,x,L,A,P,I,T,D,O){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const R=2045;t.startup=function(e){document.body.innerHTML=x.default();const t=new M(e);t.render(),document.body.style.display="block",t.setInitialFocus()};class M extends f.Disposable{constructor(e){super(),this.numberOfSearchResultsDisplayed=0,this.receivedSystemInfo=!1,this.receivedPerformanceInfo=!1,this.shouldQueueSearch=!1,this.hasBeenSubmitted=!1,this.initServices(e);const t="linux"===process.platform&&process.env.SNAP&&process.env.SNAP_REVISION;this.issueReporterModel=new k.IssueReporterModel({
issueType:e.data.issueType||0,versionInfo:{vscodeVersion:`${l.default.nameShort} ${l.default.version} (${l.default.commit||"Commit unknown"}, ${l.default.date||"Date unknown"})`,os:`${u.type()} ${u.arch()} ${u.release()}${t?" snap":""}`},extensionsDisabled:!!this.environmentService.disableExtensions,fileOnExtension:!!e.data.extensionId||void 0,selectedExtension:e.data.extensionId?e.data.enabledExtensions.filter(t=>t.id===e.data.extensionId)[0]:void 0});const n=this.getElementById("issue-reporter");n&&(this.previewButton=new T.Button(n)),s.ipcRenderer.on("vscode:issuePerformanceInfoResponse",(e,t)=>{this.logService.trace("issueReporter: Received performance data"),this.issueReporterModel.update(t),this.receivedPerformanceInfo=!0;const n=this.issueReporterModel.getData();this.updateProcessInfo(n),this.updateWorkspaceInfo(n),this.updatePreviewButtonState()}),s.ipcRenderer.on("vscode:issueSystemInfoResponse",(e,t)=>{this.logService.trace("issueReporter: Received system data"),this.issueReporterModel.update({
systemInfo:t}),this.receivedSystemInfo=!0,this.updateSystemInfo(this.issueReporterModel.getData()),this.updatePreviewButtonState()}),s.ipcRenderer.send("vscode:issueSystemInfoRequest"),1===e.data.issueType&&s.ipcRenderer.send("vscode:issuePerformanceInfoRequest"),this.logService.trace("issueReporter: Sent data requests"),"en"!==window.document.documentElement.lang&&U(this.getElementById("english")),this.setUpTypes(),this.setEventHandlers(),this.applyZoom(e.data.zoomLevel),this.applyStyles(e.data.styles),this.handleExtensionData(e.data.enabledExtensions),3===e.data.issueType&&this.handleSettingsSearchData(e.data)}render(){this.renderBlocks()}setInitialFocus(){const{fileOnExtension:e}=this.issueReporterModel.getData();if(e){const e=document.getElementById("issue-title");e&&e.focus()}else{const e=document.getElementById("issue-type");e&&e.focus()}}applyZoom(e){s.webFrame.setZoomLevel(e),a.setZoomFactor(s.webFrame.getZoomFactor()),a.setZoomLevel(s.webFrame.getZoomLevel(),!1)}applyStyles(e){
const t=document.createElement("style"),n=[];e.inputBackground&&n.push(`input[type="text"], textarea, select, .issues-container > .issue > .issue-state, .block-info { background-color: ${e.inputBackground}; }`),e.inputBorder?n.push(`input[type="text"], textarea, select { border: 1px solid ${e.inputBorder}; }`):n.push('input[type="text"], textarea, select { border: 1px solid transparent; }'),e.inputForeground&&n.push(`input[type="text"], textarea, select, .issues-container > .issue > .issue-state, .block-info { color: ${e.inputForeground}; }`),e.inputErrorBorder&&(n.push(`.invalid-input, .invalid-input:focus { border: 1px solid ${e.inputErrorBorder} !important; }`),n.push(`.validation-error, .required-input { color: ${e.inputErrorBorder}; }`)),e.inputActiveBorder&&n.push(`input[type='text']:focus, textarea:focus, select:focus, summary:focus, button:focus, a:focus, .workbenchCommand:focus  { border: 1px solid ${e.inputActiveBorder}; outline-style: none; }`),
e.textLinkColor&&n.push(`a, .workbenchCommand { color: ${e.textLinkColor}; }`),e.textLinkColor&&n.push(`a { color: ${e.textLinkColor}; }`),e.textLinkActiveForeground&&n.push(`a:hover, .workbenchCommand:hover { color: ${e.textLinkActiveForeground}; }`),e.sliderBackgroundColor&&n.push(`::-webkit-scrollbar-thumb { background-color: ${e.sliderBackgroundColor}; }`),e.sliderActiveColor&&n.push(`::-webkit-scrollbar-thumb:active { background-color: ${e.sliderActiveColor}; }`),e.sliderHoverColor&&n.push(`::--webkit-scrollbar-thumb:hover { background-color: ${e.sliderHoverColor}; }`),e.buttonBackground&&n.push(`.monaco-text-button { background-color: ${e.buttonBackground} !important; }`),e.buttonForeground&&n.push(`.monaco-text-button { color: ${e.buttonForeground} !important; }`),e.buttonHoverBackground&&n.push(`.monaco-text-button:hover, .monaco-text-button:focus { background-color: ${e.buttonHoverBackground} !important; }`),t.innerHTML=n.join("\n"),document.head.appendChild(t),document.body.style.color=e.color||""}
handleExtensionData(e){const{nonThemes:t,themes:n}=o.groupBy(e,e=>e.isTheme?"themes":"nonThemes"),s=n&&n.length;this.issueReporterModel.update({numberOfThemeExtesions:s,enabledNonThemeExtesions:t,allExtensions:e}),this.updateExtensionTable(t,s),(this.environmentService.disableExtensions||0===e.length)&&(this.getElementById("disableExtensions").disabled=!0),this.updateExtensionSelector(e)}handleSettingsSearchData(e){this.issueReporterModel.update({actualSearchResults:e.actualSearchResults,query:e.query,filterResultCount:e.filterResultCount}),this.updateSearchedExtensionTable(e.enabledExtensions),this.updateSettingsSearchDetails(e)}updateSettingsSearchDetails(e){const t=document.querySelector(".block-settingsSearchResults .block-info");if(t){const n=`\n\t\t\t<div class='block-settingsSearchResults-details'>\n\t\t\t\t<div>Query: "${e.query}"</div>\n\t\t\t\t<div>Literal match count: ${e.filterResultCount}</div>\n\t\t\t</div>\n\t\t\t`
;let s="\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Setting</th>\n\t\t\t\t\t<th>Extension</th>\n\t\t\t\t\t<th>Score</th>\n\t\t\t\t</tr>";e.actualSearchResults.forEach(e=>{s+=`\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td>${e.key}</td>\n\t\t\t\t\t\t\t<td>${e.extensionId}</td>\n\t\t\t\t\t\t\t<td>${String(e.score).slice(0,5)}</td>\n\t\t\t\t\t\t</tr>`}),t.innerHTML=`${n}<table>${s}</table>`}}initServices(e){const t=new _.ServiceCollection,n=new C.MainProcessService(e.windowId);t.set(C.IMainProcessService,n),this.environmentService=new S.EnvironmentService(e,e.execPath);const s=new O.SpdLogService(`issuereporter${e.windowId}`,this.environmentService.logsPath,A.getLogLevel(this.environmentService)),i=new L.LoggerChannelClient(n.getChannel("logger"));this.logService=new L.FollowerLogService(i,s);const r=g.createChannelSender(n.getChannel("sharedProcess")).whenSharedProcessReady().then(()=>m.connect(this.environmentService.sharedIPCHandle,`window:${e.windowId}`)),o=new w.InstantiationService(t,!0)
;if(this.environmentService.isExtensionDevelopment||this.environmentService.args["disable-telemetry"]||!l.default.enableTelemetry)this.telemetryService=v.NullTelemetryService;else{const t=p.getDelayedChannel(r.then(e=>e.getChannel("telemetryAppender"))),n={appender:v.combinedAppender(new y.TelemetryAppenderClient(t),new v.LogAppender(s)),commonProperties:E.resolveCommonProperties(l.default.commit||"Commit unknown",l.default.version,e.machineId,l.default.msftInternalDomains,this.environmentService.installSourcePath),piiPaths:this.environmentService.extensionsPath?[this.environmentService.appRoot,this.environmentService.extensionsPath]:[this.environmentService.appRoot]},i=o.createInstance(b.TelemetryService,n);this._register(i),this.telemetryService=i}}setEventHandlers(){this.addEventListener("issue-type","change",e=>{const t=parseInt(e.target.value);this.issueReporterModel.update({issueType:t}),1!==t||this.receivedPerformanceInfo||s.ipcRenderer.send("vscode:issuePerformanceInfoRequest"),
this.updatePreviewButtonState(),this.setSourceOptions(),this.render()}),["includeSystemInfo","includeProcessInfo","includeWorkspaceInfo","includeExtensions","includeSearchedExtensions","includeSettingsSearchDetails"].forEach(e=>{this.addEventListener(e,"click",t=>{t.stopPropagation(),this.issueReporterModel.update({[e]:!this.issueReporterModel.getData()[e]})})});const e=document.getElementsByClassName("showInfo");for(let t=0;t<e.length;t++){e.item(t).addEventListener("click",e=>{e.preventDefault();const t=e.target;if(t){const e=t.parentElement&&t.parentElement.parentElement,n=e&&e.lastElementChild;n&&n.classList.contains("hidden")?(U(n),t.textContent=i.localize(0,null)):(N(n),t.textContent=i.localize(1,null))}})}function t(e){s.ipcRenderer.send("vscode:workbenchCommand",{id:e,from:"issueReporter"})}this.addEventListener("issue-source","change",e=>{const t=e.target.value,n=this.getElementById("problem-source-help-text");if(""===t)return this.issueReporterModel.update({fileOnExtension:void 0}),U(n),
this.clearSearchResults(),void this.render();N(n);const s=JSON.parse(t);this.issueReporterModel.update({fileOnExtension:s}),this.render();const i=this.getElementById("issue-title").value;if(s)this.searchExtensionIssues(i);else{const e=this.issueReporterModel.getData().issueDescription;this.searchVSCodeIssues(i,e)}}),this.addEventListener("description","input",e=>{const t=e.target.value;if(this.issueReporterModel.update({issueDescription:t}),!1===this.issueReporterModel.fileOnExtension()){const e=this.getElementById("issue-title").value;this.searchVSCodeIssues(e,t)}}),this.addEventListener("issue-title","input",e=>{const t=e.target.value,n=this.getElementById("issue-title-length-validation-error");t&&this.getIssueUrlWithTitle(t).length>R?U(n):N(n);const s=this.issueReporterModel.fileOnExtension();if(void 0!==s)if(s)this.searchExtensionIssues(t);else{const e=this.issueReporterModel.getData().issueDescription;this.searchVSCodeIssues(t,e)}}),this.previewButton.onDidClick(()=>this.createIssue()),
this.addEventListener("disableExtensions","click",()=>{t("workbench.action.reloadWindowWithExtensionsDisabled")}),this.addEventListener("disableExtensions","keydown",e=>{e.stopPropagation(),13!==e.keyCode&&32!==e.keyCode||(t("workbench.extensions.action.disableAll"),t("workbench.action.reloadWindow"))}),document.onkeydown=async e=>{const t=d.isMacintosh?e.metaKey:e.ctrlKey;if(t&&13===e.keyCode&&await this.createIssue()&&s.ipcRenderer.send("vscode:closeIssueReporter"),t&&87===e.keyCode){e.stopPropagation(),e.preventDefault();const t=this.getElementById("issue-title").value,{issueDescription:n}=this.issueReporterModel.getData();this.hasBeenSubmitted||!t&&!n?s.ipcRenderer.send("vscode:closeIssueReporter"):s.ipcRenderer.send("vscode:issueReporterConfirmClose")}t&&187===e.keyCode&&this.applyZoom(s.webFrame.getZoomLevel()+1),t&&189===e.keyCode&&this.applyZoom(s.webFrame.getZoomLevel()-1),
d.isMacintosh&&t&&65===e.keyCode&&e.target&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)&&e.target.select()}}updatePreviewButtonState(){this.isPreviewEnabled()?(this.previewButton.label=i.localize(2,null),this.previewButton.enabled=!0):(this.previewButton.enabled=!1,this.previewButton.label=i.localize(3,null))}isPreviewEnabled(){const e=this.issueReporterModel.getData().issueType;return!(0!==e||!this.receivedSystemInfo)||(!(1!==e||!this.receivedSystemInfo||!this.receivedPerformanceInfo)||(2===e||3===e))}getExtensionRepositoryUrl(){const e=this.issueReporterModel.getData().selectedExtension;return e&&e.repositoryUrl}getExtensionBugsUrl(){const e=this.issueReporterModel.getData().selectedExtension;return e&&e.bugsUrl}searchVSCodeIssues(e,t){e?this.searchDuplicates(e,t):this.clearSearchResults()}searchExtensionIssues(e){const t=this.getExtensionGitHubUrl();if(e){const n=/^https?:\/\/github\.com\/(.*)/.exec(t);if(n&&n.length){const t=n[1];return this.searchGitHub(t,e)}
if(this.issueReporterModel.getData().selectedExtension)return this.clearSearchResults(),this.displaySearchResults([])}this.clearSearchResults()}clearSearchResults(){this.getElementById("similar-issues").innerHTML="",this.numberOfSearchResultsDisplayed=0}searchGitHub(e,t){const n=`is:issue+repo:${e}+${t}`,s=this.getElementById("similar-issues");window.fetch(`https://api.github.com/search/issues?q=${n}`).then(n=>{n.json().then(o=>{if(s.innerHTML="",o&&o.items)this.displaySearchResults(o.items);else{const o=r.$("div.list-title");o.textContent=i.localize(4,null),s.appendChild(o);const a=n.headers.get("X-RateLimit-Reset"),c=a?parseInt(a)-Math.floor(Date.now()/1e3):1;this.shouldQueueSearch&&(this.shouldQueueSearch=!1,setTimeout(()=>{this.searchGitHub(e,t),this.shouldQueueSearch=!0},1e3*c))}}).catch(e=>{this.logSearchError(e)})}).catch(e=>{this.logSearchError(e)})}searchDuplicates(e,t){const n={method:"POST",body:JSON.stringify({title:e,body:t}),headers:new Headers({"Content-Type":"application/json"})}
;window.fetch("https://vscode-probot.westus.cloudapp.azure.com:7890/duplicate_candidates",n).then(e=>{e.json().then(e=>{if(this.clearSearchResults(),!e||!e.candidates)throw new Error("Unexpected response, no candidates property");this.displaySearchResults(e.candidates)}).catch(e=>{this.logSearchError(e)})}).catch(e=>{this.logSearchError(e)})}displaySearchResults(e){const t=this.getElementById("similar-issues");if(e.length){const n=r.$("div.issues-container"),s=r.$("div.list-title");s.textContent=i.localize(5,null),this.numberOfSearchResultsDisplayed=e.length<5?e.length:5;for(let t=0;t<this.numberOfSearchResultsDisplayed;t++){const s=e[t],o=r.$("a.issue-link",{href:s.html_url});let a,c;if(o.textContent=s.title,o.title=s.title,o.addEventListener("click",e=>this.openLink(e)),o.addEventListener("auxclick",e=>this.openLink(e)),s.state){a=r.$("span.issue-state");const e=r.$("span.issue-icon");new P.CodiconLabel(e).text="open"===s.state?"$(issue-opened)":"$(issue-closed)";const t=r.$("span.issue-state.label")
;t.textContent="open"===s.state?i.localize(6,null):i.localize(7,null),a.title="open"===s.state?i.localize(8,null):i.localize(9,null),a.appendChild(e),a.appendChild(t),c=r.$("div.issue",{},a,o)}else c=r.$("div.issue",{},o);n.appendChild(c)}t.appendChild(s),t.appendChild(n)}else{const e=r.$("div.list-title");e.textContent=i.localize(10,null),t.appendChild(e)}}logSearchError(e){this.logService.warn("issueReporter#search ",e.message),this.telemetryService.publicLog2("issueReporterSearchError",{message:e.message})}setUpTypes(){const e=(e,t)=>`<option value="${e.valueOf()}">${c.escape(t)}</option>`,t=this.getElementById("issue-type"),{issueType:n}=this.issueReporterModel.getData();3===n?(t.innerHTML=e(3,i.localize(11,null)),t.disabled=!0):t.innerHTML=[e(0,i.localize(12,null)),e(2,i.localize(13,null)),e(1,i.localize(14,null))].join("\n"),t.value=n.toString(),this.setSourceOptions()}makeOption(e,t,n){const s=document.createElement("option");return s.disabled=n,s.value=e,s.textContent=t,s}setSourceOptions(){
const e=this.getElementById("issue-source"),{issueType:t,fileOnExtension:n}=this.issueReporterModel.getData();let s=e.selectedIndex;-1===s&&void 0!==n&&(s=n?2:1),e.innerHTML="",2===t?e.append(this.makeOption("",i.localize(15,null),!0),this.makeOption("false",i.localize(16,null),!1),this.makeOption("true",i.localize(17,null),!1)):e.append(this.makeOption("",i.localize(18,null),!0),this.makeOption("false",i.localize(19,null),!1),this.makeOption("true",i.localize(20,null),!1),this.makeOption("",i.localize(21,null),!1)),-1!==s&&s<e.options.length?e.selectedIndex=s:(e.selectedIndex=0,N(this.getElementById("problem-source-help-text")))}renderBlocks(){
const{issueType:e,fileOnExtension:t}=this.issueReporterModel.getData(),n=this.getElementById("block-container"),s=document.querySelector(".block-system"),r=document.querySelector(".block-process"),o=document.querySelector(".block-workspace"),a=document.querySelector(".block-extensions"),c=document.querySelector(".block-searchedExtensions"),l=document.querySelector(".block-settingsSearchResults"),u=this.getElementById("problem-source"),h=this.getElementById("issue-description-label"),d=this.getElementById("issue-description-subtitle"),f=this.getElementById("extension-selection");N(n),N(s),N(r),N(o),N(a),N(c),N(l),N(u),N(f),0===e?(U(n),U(s),U(u),U(t?f:a),h.innerHTML=`${i.localize(22,null)} <span class="required-input">*</span>`,d.innerHTML=i.localize(23,null)):1===e?(U(n),U(s),U(r),U(o),U(u),U(t?f:a),h.innerHTML=`${i.localize(24,null)} <span class="required-input">*</span>`,d.innerHTML=i.localize(25,null)):2===e?(h.innerHTML=`${i.localize(26,null)} <span class="required-input">*</span>`,
d.innerHTML=i.localize(27,null),U(u),t&&U(f)):3===e&&(U(n),U(c),U(l),h.innerHTML=`${i.localize(28,null)} <span class="required-input">*</span>`,d.innerHTML=i.localize(29,null))}validateInput(e){const t=this.getElementById(e);return t.value?(t.classList.remove("invalid-input"),!0):(t.classList.add("invalid-input"),!1)}validateInputs(){let e=!0;return["issue-title","description","issue-source"].forEach(t=>{e=this.validateInput(t)&&e}),this.issueReporterModel.fileOnExtension()&&(e=this.validateInput("extension-selector")&&e),e}async createIssue(){if(!this.validateInputs()){const e=document.getElementsByClassName("invalid-input");return e.length&&e[0].focus(),this.addEventListener("issue-title","input",e=>{this.validateInput("issue-title")}),this.addEventListener("description","input",e=>{this.validateInput("description")}),this.addEventListener("issue-source","change",e=>{this.validateInput("issue-source")}),this.issueReporterModel.fileOnExtension()&&this.addEventListener("extension-selector","change",e=>{
this.validateInput("extension-selector")}),!1}this.telemetryService.publicLog2("issueReporterSubmit",{issueType:this.issueReporterModel.getData().issueType,numSimilarIssuesDisplayed:this.numberOfSearchResultsDisplayed}),this.hasBeenSubmitted=!0;const e=this.getIssueUrlWithTitle(this.getElementById("issue-title").value),t=this.issueReporterModel.serialize();let n=e+`&body=${encodeURIComponent(t)}`;if(n.length>R)try{n=await this.writeToClipboard(e,t)}catch(e){return!1}return s.ipcRenderer.send("vscode:openExternal",n),!0}async writeToClipboard(e,t){return new Promise((n,r)=>{s.ipcRenderer.once("vscode:issueReporterClipboardResponse",(o,a)=>{a?(s.clipboard.writeText(t),n(e+`&body=${encodeURIComponent(i.localize(30,null))}`)):r()}),s.ipcRenderer.send("vscode:issueReporterClipboard")})}getExtensionGitHubUrl(){let e="";const t=this.getExtensionBugsUrl(),n=this.getExtensionRepositoryUrl()
;return t&&t.match(/^https?:\/\/github\.com\/(.*)/)?e=I.normalizeGitHubUrl(t):n&&n.match(/^https?:\/\/github\.com\/(.*)/)&&(e=I.normalizeGitHubUrl(n)),e}getIssueUrlWithTitle(e){let t=l.default.reportIssueUrl;if(this.issueReporterModel.fileOnExtension()){const e=this.getExtensionGitHubUrl();e&&(t=e+"/issues/new")}return`${t}${l.default.reportIssueUrl&&-1===l.default.reportIssueUrl.indexOf("?")?"?":"&"}title=${encodeURIComponent(e)}`}updateSystemInfo(e){const t=document.querySelector(".block-system .block-info");if(t){const n=e.systemInfo
;let s=`\n\t\t\t<table>\n\t\t\t\t<tr><td>CPUs</td><td>${n.cpus}</td></tr>\n\t\t\t\t<tr><td>GPU Status</td><td>${Object.keys(n.gpuStatus).map(e=>`${e}: ${n.gpuStatus[e]}`).join("<br>")}</td></tr>\n\t\t\t\t<tr><td>Load (avg)</td><td>${n.load}</td></tr>\n\t\t\t\t<tr><td>Memory (System)</td><td>${n.memory}</td></tr>\n\t\t\t\t<tr><td>Process Argv</td><td>${n.processArgs}</td></tr>\n\t\t\t\t<tr><td>Screen Reader</td><td>${n.screenReader}</td></tr>\n\t\t\t\t<tr><td>VM</td><td>${n.vmHint}</td></tr>\n\t\t\t</table>`;n.remoteData.forEach(e=>{
D.isRemoteDiagnosticError(e)?s+=`\n\t\t\t\t\t<hr>\n\t\t\t\t\t<table>\n\t\t\t\t\t\t<tr><td>Remote</td><td>${e.hostName}</td></tr>\n\t\t\t\t\t\t<tr><td></td><td>${e.errorMessage}</td></tr>\n\t\t\t\t\t</table>`:s+=`\n\t\t\t\t\t<hr>\n\t\t\t\t\t<table>\n\t\t\t\t\t\t<tr><td>Remote</td><td>${e.hostName}</td></tr>\n\t\t\t\t\t\t<tr><td>OS</td><td>${e.machineInfo.os}</td></tr>\n\t\t\t\t\t\t<tr><td>CPUs</td><td>${e.machineInfo.cpus}</td></tr>\n\t\t\t\t\t\t<tr><td>Memory (System)</td><td>${e.machineInfo.memory}</td></tr>\n\t\t\t\t\t\t<tr><td>VM</td><td>${e.machineInfo.vmHint}</td></tr>\n\t\t\t\t\t</table>`}),t.innerHTML=s}}updateExtensionSelector(e){const t=e.map(e=>({name:e.displayName||e.name||"",id:e.id}));t.sort((e,t)=>{const n=e.name.toLowerCase(),s=t.name.toLowerCase();return n>s?1:n<s?-1:0});const n=this.getElementById("extension-selector");if(n){const{selectedExtension:e}=this.issueReporterModel.getData();n.innerHTML="<option></option>"+t.map(t=>((e,t)=>{const n=t&&e.id===t.id
;return`<option value="${e.id}" ${n?"selected":""}>${c.escape(e.name)}</option>`})(t,e)).join("\n"),this.addEventListener("extension-selector","change",e=>{const t=e.target.value,n=this.issueReporterModel.getData().allExtensions.filter(e=>e.id===t);if(n.length){this.issueReporterModel.update({selectedExtension:n[0]});const e=this.getElementById("issue-title").value;this.searchExtensionIssues(e)}else this.issueReporterModel.update({selectedExtension:void 0}),this.clearSearchResults()})}}updateProcessInfo(e){const t=document.querySelector(".block-process .block-info");t&&(t.innerHTML=`<code>${e.processInfo}</code>`)}updateWorkspaceInfo(e){document.querySelector(".block-workspace .block-info code").textContent="\n"+e.workspaceInfo}updateExtensionTable(e,t){const n=document.querySelector(".block-extensions .block-info");if(n){if(this.environmentService.disableExtensions)return void(n.innerHTML=i.localize(31,null));const s=t?`\n(${t} theme extensions excluded)`:""
;if(!(e=e||[]).length)return void(n.innerHTML="Extensions: none"+s);const r=this.getExtensionTableHtml(e);n.innerHTML=`<table>${r}</table>${s}`}}updateSearchedExtensionTable(e){const t=document.querySelector(".block-searchedExtensions .block-info");if(t){if(!e.length)return void(t.innerHTML="Extensions: none");const n=this.getExtensionTableHtml(e);t.innerHTML=`<table>${n}</table>`}}getExtensionTableHtml(e){let t="\n\t\t\t<tr>\n\t\t\t\t<th>Extension</th>\n\t\t\t\t<th>Author (truncated)</th>\n\t\t\t\t<th>Version</th>\n\t\t\t</tr>";return t+=e.map(e=>`\n\t\t\t\t<tr>\n\t\t\t\t\t<td>${e.name}</td>\n\t\t\t\t\t<td>${e.publisher.substr(0,3)}</td>\n\t\t\t\t\t<td>${e.version}</td>\n\t\t\t\t</tr>`).join("")}openLink(e){e.preventDefault(),e.stopPropagation(),e.which<3&&(s.shell.openExternal(e.target.href),this.telemetryService.publicLog2("issueReporterViewSimilarIssue"))}getElementById(e){const t=document.getElementById(e);return t||void 0}addEventListener(e,t,n){const s=this.getElementById(e);s&&s.addEventListener(t,n)}
}function N(e){e&&e.classList.add("hidden")}function U(e){e&&e.classList.remove("hidden")}n([h.debounce(300)],M.prototype,"searchGitHub",null),n([h.debounce(300)],M.prototype,"searchDuplicates",null),t.IssueReporter=M}))}).call(this);
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/9579eda04fdb3a9bba2750f15193e5fafe16b959/core/vs/code/electron-browser/issue/issueReporterMain.js.map
