ruru
Version:
Grafast-flavoured GraphiQL distribution
2 lines • 21.3 kB
JavaScript
export const __webpack_esm_id__=8813;export const __webpack_esm_ids__=[5555,7619,8813,9740];export const __webpack_esm_modules__={35420(e,t,r){function i(e,t){const r=[],i=[];for(const i of e)t.has(i)||r.push(i);for(const r of t)e.has(r)||i.push(r);return{removed:r,added:i}}function n(e,t){const r=new Set;for(const i of t)e.has(i)&&r.add(i);return r}r.r(t),r.d(t,{diffSets:()=>i,intersection:()=>n})},68175(e,t,r){function i(e,t,r){return Math.min(Math.max(e,t),r)}r.r(t),r.d(t,{MovingAverage:()=>n,SlidingWindowAverage:()=>o,clamp:()=>i});class n{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}class o{constructor(e){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(e),this._values.fill(0,0,e)}update(e){const t=this._values[this._index];return this._values[this._index]=e,this._index=(this._index+1)%this._values.length,this._sum-=t,this._sum+=e,this._n<this._values.length&&(this._n+=1),this._val=this._sum/this._n,this._val}get value(){return this._val}}},55730(e,t,r){r.r(t),r.d(t,{default:()=>o});var i,n=r(60891);!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(i||(i={})),function(e){const t="error",r="warning",i="info";e.fromValue=function(o){return o?n.equalsIgnoreCase(t,o)?e.Error:n.equalsIgnoreCase(r,o)||n.equalsIgnoreCase("warn",o)?e.Warning:n.equalsIgnoreCase(i,o)?e.Info:e.Ignore:e.Ignore},e.toString=function(n){switch(n){case e.Error:return t;case e.Warning:return r;case e.Info:return i;default:return"ignore"}}}(i||(i={}));const o=i},94850(e,t,r){r.r(t),r.d(t,{ThemeColor:()=>i,ThemeIcon:()=>n});var i,n,o=r(36972);!function(e){e.isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id}}(i||(i={})),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function r(e){const i=t.exec(e.id);if(!i)return r(o.Codicon.error);const[,n,s]=i,a=["codicon","codicon-"+n];return s&&a.push("codicon-modifier-"+s.substring(1)),a}e.asClassNameArray=r,e.asClassName=function(e){return r(e).join(" ")},e.asCSSSelector=function(e){return"."+r(e).join(".")},e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||i.isThemeColor(e.color))};const n=new RegExp(`^\\$\\((${e.iconNameExpression}(?:${e.iconModifierExpression})?)\\)$`);e.fromString=function(e){const t=n.exec(e);if(!t)return;const[,r]=t;return{id:r}},e.fromId=function(e){return{id:e}},e.modify=function(e,t){let r=e.id;const i=r.lastIndexOf("~");return-1!==i&&(r=r.substring(0,i)),t&&(r=`${r}~${t}`),{id:r}},e.getModifier=function(e){const t=e.id.lastIndexOf("~");if(-1!==t)return e.id.substring(t+1)},e.isEqual=function(e,t){return e.id===t.id&&e.color?.id===t.color?.id}}(n||(n={}))},84838(e,t,r){r.r(t),r.d(t,{score:()=>o});var i=r(16611),n=r(60942);function o(e,t,r,s,a,c){if(Array.isArray(e)){let i=0;for(const n of e){const e=o(n,t,r,s,a,c);if(10===e)return e;e>i&&(i=e)}return i}if("string"==typeof e)return s?"*"===e?5:e===r?10:0:0;if(e){const{language:o,pattern:h,scheme:u,hasAccessToAllModels:d,notebookType:l}=e;if(!s&&!d)return 0;l&&a&&(t=a);let g=0;if(u)if(u===t.scheme)g=10;else{if("*"!==u)return 0;g=5}if(o)if(o===r)g=10;else{if("*"!==o)return 0;g=Math.max(g,5)}if(l)if(l===c)g=10;else{if("*"!==l||void 0===c)return 0;g=Math.max(g,5)}if(h){let e;if(e="string"==typeof h?h:{...h,base:(0,n.normalize)(h.base)},e!==t.fsPath&&!(0,i.match)(e,t.fsPath))return 0;g=10}return g}return 0}},22143(e,t,r){r.r(t),r.d(t,{IEditorWorkerService:()=>i});const i=(0,r(35184).createDecorator)("editorWorkerService")},45555(e,t,r){r.r(t),r.d(t,{getIconClasses:()=>u});var i=r(54835),n=r(1268),o=r(5839),s=r(85838),a=r(62592),c=r(94850);const h=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function u(e,t,r,u,l){if(c.ThemeIcon.isThemeIcon(l))return[`codicon-${l.id}`,"predefined-file-icon"];if(o.URI.isUri(l))return[];const g=u===a.FileKind.ROOT_FOLDER?["rootfolder-icon"]:u===a.FileKind.FOLDER?["folder-icon"]:["file-icon"];if(r){let o;if(r.scheme===i.Schemas.data)o=n.DataUri.parseMetaData(r).get(n.DataUri.META_DATA_LABEL);else{const e=r.path.match(h);e?(o=d(e[2].toLowerCase()),e[1]&&g.push(`${d(e[1].toLowerCase())}-name-dir-icon`)):o=d(r.authority.toLowerCase())}if(u===a.FileKind.ROOT_FOLDER)g.push(`${o}-root-name-folder-icon`);else if(u===a.FileKind.FOLDER)g.push(`${o}-name-folder-icon`);else{if(o){if(g.push(`${o}-name-file-icon`),g.push("name-file-icon"),o.length<=255){const e=o.split(".");for(let t=1;t<e.length;t++)g.push(`${e.slice(t).join(".")}-ext-file-icon`)}g.push("ext-file-icon")}const a=function(e,t,r){if(!r)return null;let o=null;if(r.scheme===i.Schemas.data){const e=n.DataUri.parseMetaData(r).get(n.DataUri.META_DATA_MIME);e&&(o=t.getLanguageIdByMimeType(e))}else{const t=e.getModel(r);t&&(o=t.getLanguageId())}return o&&o!==s.PLAINTEXT_LANGUAGE_ID?o:t.guessLanguageIdByFilepathOrFirstLine(r)}(e,t,r);a&&g.push(`${d(a)}-lang-file-icon`)}}return g}function d(e){return e.replace(/[\s]/g,"/")}},26973(e,t,r){r.r(t),r.d(t,{ILanguageFeatureDebounceService:()=>l,LanguageFeatureDebounceService:()=>m});var i=r(58053),n=r(27735),o=r(68175),s=r(63056),a=r(17531),c=r(35184),h=r(69570),u=r(54835),d=function(e,t){return function(r,i){t(r,i,e)}};const l=(0,c.createDecorator)("ILanguageFeatureDebounceService");var g;!function(e){const t=new WeakMap;let r=0;e.of=function(e){let i=t.get(e);return void 0===i&&(i=++r,t.set(e,i)),i}}(g||(g={}));class f{constructor(e){this._default=e}get(e){return this._default}update(e,t){return this._default}default(){return this._default}}class _{constructor(e,t,r,i,o,s){this._logService=e,this._name=t,this._registry=r,this._default=i,this._min=o,this._max=s,this._cache=new n.LRUCache(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>(0,i.doHash)(g.of(t),e),0)}get(e){const t=this._key(e),r=this._cache.get(t);return r?(0,o.clamp)(r.value,this._min,this._max):this.default()}update(e,t){const r=this._key(e);let i=this._cache.get(r);i||(i=new o.SlidingWindowAverage(6),this._cache.set(r,i));const n=(0,o.clamp)(i.update(t),this._min,this._max);return(0,u.matchesScheme)(e.uri,"output")||this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${n}ms`),n}_overall(){const e=new o.MovingAverage;for(const[,t]of this._cache)e.update(t.value);return e.value}default(){const e=0|this._overall()||this._default;return(0,o.clamp)(e,this._min,this._max)}}let m=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,r){const i=r?.min??50,n=r?.max??i**2,o=r?.key??void 0,s=`${g.of(e)},${i}${o?","+o:""}`;let a=this._data.get(s);return a||(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),a=new f(1.5*i)):a=new _(this._logService,t,e,0|this._overallAverage()||1.5*i,i,n),this._data.set(s,a)),a}_overallAverage(){const e=new o.MovingAverage;for(const t of this._data.values())e.update(t.default());return e.value}};m=function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}([d(0,h.ILogService),d(1,s.IEnvironmentService)],m),(0,a.registerSingleton)(l,m,1)},33653(e,t,r){r.r(t),r.d(t,{ILanguageFeaturesService:()=>i});const i=(0,r(35184).createDecorator)("ILanguageFeaturesService")},50022(e,t,r){r.d(t,{LanguageFeaturesService:()=>g}),r.r(t);var i=r(22573),n=r(32293),o=r(92692),s=r(84838);function a(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(a):!!e.exclusive)}class c{constructor(e,t,r,i,n){this.uri=e,this.languageId=t,this.notebookUri=r,this.notebookType=i,this.recursive=n}equals(e){return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&this.notebookUri?.toString()===e.notebookUri?.toString()&&this.recursive===e.recursive}}class h{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event}register(e,t){let r={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(r),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,n.toDisposable)(()=>{if(r){const e=this._entries.indexOf(r);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),r=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e,!1);const t=[];for(const e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e,t=!1){const r=[];return this._orderedForEach(e,t,e=>r.push(e.provider)),r}orderedGroups(e){const t=[];let r,i;return this._orderedForEach(e,!1,e=>{r&&i===e._score?r.push(e.provider):(i=e._score,r=[e.provider],t.push(r))}),t}_orderedForEach(e,t,r){this._updateScores(e,t);for(const e of this._entries)e._score>0&&r(e)}_updateScores(e,t){const r=this._notebookInfoResolver?.(e.uri),i=r?new c(e.uri,e.getLanguageId(),r.uri,r.type,t):new c(e.uri,e.getLanguageId(),void 0,void 0,t);if(!this._lastCandidate?.equals(i)){this._lastCandidate=i;for(const r of this._entries)if(r._score=(0,s.score)(r.selector,i.uri,i.languageId,(0,o.shouldSynchronizeModel)(e),i.notebookUri,i.notebookType),a(r.selector)&&r._score>0){if(!t){for(const e of this._entries)e._score=0;r._score=1e3;break}r._score=0}this._entries.sort(h._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:u(e.selector)&&!u(t.selector)?1:!u(e.selector)&&u(t.selector)?-1:e._time<t._time?1:e._time>t._time?-1:0}}function u(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(u):Boolean(e.isBuiltin))}var d=r(33653),l=r(17531);class g{constructor(){this.referenceProvider=new h(this._score.bind(this)),this.renameProvider=new h(this._score.bind(this)),this.newSymbolNamesProvider=new h(this._score.bind(this)),this.codeActionProvider=new h(this._score.bind(this)),this.definitionProvider=new h(this._score.bind(this)),this.typeDefinitionProvider=new h(this._score.bind(this)),this.declarationProvider=new h(this._score.bind(this)),this.implementationProvider=new h(this._score.bind(this)),this.documentSymbolProvider=new h(this._score.bind(this)),this.inlayHintsProvider=new h(this._score.bind(this)),this.colorProvider=new h(this._score.bind(this)),this.codeLensProvider=new h(this._score.bind(this)),this.documentFormattingEditProvider=new h(this._score.bind(this)),this.documentRangeFormattingEditProvider=new h(this._score.bind(this)),this.onTypeFormattingEditProvider=new h(this._score.bind(this)),this.signatureHelpProvider=new h(this._score.bind(this)),this.hoverProvider=new h(this._score.bind(this)),this.documentHighlightProvider=new h(this._score.bind(this)),this.multiDocumentHighlightProvider=new h(this._score.bind(this)),this.selectionRangeProvider=new h(this._score.bind(this)),this.foldingRangeProvider=new h(this._score.bind(this)),this.linkProvider=new h(this._score.bind(this)),this.inlineCompletionsProvider=new h(this._score.bind(this)),this.inlineEditProvider=new h(this._score.bind(this)),this.completionProvider=new h(this._score.bind(this)),this.linkedEditingRangeProvider=new h(this._score.bind(this)),this.documentRangeSemanticTokensProvider=new h(this._score.bind(this)),this.documentSemanticTokensProvider=new h(this._score.bind(this)),this.documentDropEditProvider=new h(this._score.bind(this)),this.documentPasteEditProvider=new h(this._score.bind(this))}_score(e){return this._notebookTypeResolver?.(e)}}(0,l.registerSingleton)(d.ILanguageFeaturesService,g,1)},86259(e,t,r){r.r(t),r.d(t,{IMarkerDecorationsService:()=>i});const i=(0,r(35184).createDecorator)("markerDecorationsService")},72524(e,t,r){r.r(t),r.d(t,{MarkerDecorationsService:()=>m});var i=r(20808),n=r(32293),o=r(92692),s=r(19729),a=r(41422),c=r(16911),h=r(81304),u=r(54835),d=r(22573),l=r(53698),g=r(27735),f=r(35420),_=function(e,t){return function(r,i){t(r,i,e)}};let m=class extends n.Disposable{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new d.Emitter),this._markerDecorations=new g.ResourceMap,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const r=this._markerDecorations.get(e);return r&&r.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{const t=this._markerDecorations.get(e);t&&this._updateDecorations(t)})}_onModelAdded(e){const t=new v(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),e.uri.scheme!==u.Schemas.inMemory&&e.uri.scheme!==u.Schemas.internal&&e.uri.scheme!==u.Schemas.vscode||this._markerService?.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});e.update(t)&&this._onDidChangeMarker.fire(e.model)}};m=function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}([_(0,c.IModelService),_(1,i.IMarkerService)],m);class v extends n.Disposable{constructor(e){super(),this.model=e,this._map=new g.BidirectionalMap,this._register((0,n.toDisposable)(()=>{this.model.deltaDecorations([...this._map.values()],[]),this._map.clear()}))}update(e){const{added:t,removed:r}=(0,f.diffSets)(new Set(this._map.keys()),new Set(e));if(0===t.length&&0===r.length)return!1;const i=r.map(e=>this._map.get(e)),n=t.map(e=>({range:this._createDecorationRange(this.model,e),options:this._createDecorationOption(e)})),o=this.model.deltaDecorations(i,n);for(const e of r)this._map.delete(e);for(let e=0;e<o.length;e++)this._map.set(t[e],o[e]);return!0}getMarker(e){return this._map.getKey(e.id)}_createDecorationRange(e,t){let r=h.Range.lift(t);if(t.severity!==i.MarkerSeverity.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(r=r.setEndPosition(r.startLineNumber,r.startColumn+2)),r=e.validateRange(r),r.isEmpty()){const t=e.getLineLastNonWhitespaceColumn(r.startLineNumber)||e.getLineMaxColumn(r.startLineNumber);if(1===t||r.endColumn>=t)return r;const i=e.getWordAtPosition(r.getStartPosition());i&&(r=new h.Range(r.startLineNumber,i.startColumn,r.endLineNumber,i.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&r.startLineNumber===r.endLineNumber){const i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<r.endColumn&&(r=new h.Range(r.startLineNumber,i,r.endLineNumber,r.endColumn),t.startColumn=i)}return r}_createDecorationOption(e){let t,r,n,c,h;switch(e.severity){case i.MarkerSeverity.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case i.MarkerSeverity.Info:t="squiggly-info",r=(0,s.themeColorFromId)(a.overviewRulerInfo),n=10,h={color:(0,s.themeColorFromId)(l.minimapInfo),position:1};break;case i.MarkerSeverity.Warning:t="squiggly-warning",r=(0,s.themeColorFromId)(a.overviewRulerWarning),n=20,h={color:(0,s.themeColorFromId)(l.minimapWarning),position:1};break;case i.MarkerSeverity.Error:default:t="squiggly-error",r=(0,s.themeColorFromId)(a.overviewRulerError),n=30,h={color:(0,s.themeColorFromId)(l.minimapError),position:1}}return e.tags&&(-1!==e.tags.indexOf(1)&&(c="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(c="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:r,position:o.OverviewRulerLane.Right},minimap:h,zIndex:n,inlineClassName:c}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}}},16911(e,t,r){r.r(t),r.d(t,{IModelService:()=>i});const i=(0,r(35184).createDecorator)("modelService")},55387(e,t,r){r.r(t),r.d(t,{ITextModelService:()=>i});const i=(0,r(35184).createDecorator)("textModelService")},7029(e,t,r){r.r(t),r.d(t,{encodeSemanticTokensDto:()=>o});var i=r(19031),n=r(69958);function o(e){const t=new Uint32Array(function(e){let t=0;if(t+=2,"full"===e.type)t+=1+e.data.length;else{t+=1,t+=3*e.deltas.length;for(const r of e.deltas)r.data&&(t+=r.data.length)}return t}(e));let r=0;if(t[r++]=e.id,"full"===e.type)t[r++]=1,t[r++]=e.data.length,t.set(e.data,r),r+=e.data.length;else{t[r++]=2,t[r++]=e.deltas.length;for(const i of e.deltas)t[r++]=i.start,t[r++]=i.deleteCount,i.data?(t[r++]=i.data.length,t.set(i.data,r),r+=i.data.length):t[r++]=0}return function(e){const t=new Uint8Array(e.buffer,e.byteOffset,4*e.length);return n.isLittleEndian()||function(e){for(let t=0,r=e.length;t<r;t+=4){const r=e[t+0],i=e[t+1],n=e[t+2],o=e[t+3];e[t+0]=o,e[t+1]=n,e[t+2]=i,e[t+3]=r}}(t),i.VSBuffer.wrap(t)}(t)}},74566(e,t,r){r.r(t),r.d(t,{ISemanticTokensStylingService:()=>i});const i=(0,r(35184).createDecorator)("semanticTokensStylingService")},28843(e,t,r){r.r(t),r.d(t,{SemanticTokensStylingService:()=>d});var i=r(32293),n=r(49471),o=r(19729),s=r(69570),a=r(4399),c=r(74566),h=r(17531),u=function(e,t){return function(r,i){t(r,i,e)}};let d=class extends i.Disposable{constructor(e,t,r){super(),this._themeService=e,this._logService=t,this._languageService=r,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new a.SemanticTokensProviderStyling(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};d=function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}([u(0,o.IThemeService),u(1,s.ILogService),u(2,n.ILanguageService)],d),(0,h.registerSingleton)(c.ISemanticTokensStylingService,d,1)},37619(e,t,r){r.r(t)},29740(e,t,r){r.r(t),r.d(t,{DraggedTreeItemsIdentifier:()=>n,TreeViewsDnDService:()=>i});class i{constructor(){this._dragOperations=new Map}removeDragOperationTransfer(e){if(e&&this._dragOperations.has(e)){const t=this._dragOperations.get(e);return this._dragOperations.delete(e),t}}}class n{constructor(e){this.identifier=e}}},95621(e,t,r){r.r(t),r.d(t,{ITreeViewsDnDService:()=>s});var i=r(17531),n=r(35184),o=r(29740);const s=(0,n.createDecorator)("treeViewsDndService");(0,i.registerSingleton)(s,o.TreeViewsDnDService,1)},63056(e,t,r){r.r(t),r.d(t,{IEnvironmentService:()=>i});const i=(0,r(35184).createDecorator)("environmentService")},62592(e,t,r){var i;r.r(t),r.d(t,{FileKind:()=>i}),function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(i||(i={}))},20808(e,t,r){r.r(t),r.d(t,{IMarkerData:()=>n,IMarkerService:()=>c,MarkerSeverity:()=>i});var i,n,o=r(55730),s=r(12003),a=r(35184);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(i||(i={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=(0,s.localize)("sev.error","Error"),t[e.Warning]=(0,s.localize)("sev.warning","Warning"),t[e.Info]=(0,s.localize)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case o.default.Error:return e.Error;case o.default.Warning:return e.Warning;case o.default.Info:return e.Info;case o.default.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return o.default.Error;case e.Warning:return o.default.Warning;case e.Info:return o.default.Info;case e.Hint:return o.default.Ignore}}}(i||(i={})),function(e){const t="";function r(e,r){const n=[t];return e.source?n.push(e.source.replace("¦","\\¦")):n.push(t),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","\\¦")):n.push(e.code.value.replace("¦","\\¦")):n.push(t),void 0!==e.severity&&null!==e.severity?n.push(i.toString(e.severity)):n.push(t),e.message&&r?n.push(e.message.replace("¦","\\¦")):n.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(t),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(t),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(t),n.push(t),n.join("¦")}e.makeKey=function(e){return r(e,!0)},e.makeKeyOptionalMessage=r}(n||(n={}));const c=(0,a.createDecorator)("markerService")}};
//# sourceMappingURL=8813.js.map