@finos/legend-application-repl-deployment 11.39.0 → 11.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var e,t,n,r={8932:(e,t,n)=>{var r=n(2322),o=n(7029),a=n(2270),i=n(4006),s=n(1112);const c=()=>()=>{};class u extends Error{uuid=(0,a.Z)();constructor(e){super(),this.message=void 0===e||""===e?"(no error message)":e}get detail(){return this.message}}class d extends Error{constructor(e,t,n){if(super(n||(t instanceof Error?t.message:t)),this.name=e,t instanceof Error){const e=(this.message.match(/\n/g)??[]).length+1;this.stack=`${(this.stack??"").split("\n").slice(0,e+1).join("\n")}\nCaused by: ${t.stack}`}else"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack}}class l extends d{constructor(e){super("Illegal State Error [PLEASE NOTIFY DEVELOPER]",e)}}class g extends d{constructor(e,t){super("Unsupported Operation Error",e||t?`${e}${t?`\n${((e,t)=>{const n=(r={printFunctionName:!1,maxDepth:t?.deep?void 0:1},(0,i.Z)(r,(e=>void 0!==e)));var r;return(0,s.WU)(e,n).replace(/.*\s\{/g,"{").replace(/\[.*\]/g,(e=>["[Array]","[Function]"].includes(e)?e:"[Object]"))})(t)}`:""}`:void 0)}}function p(e){if(!(e instanceof Error))throw new l("Expected error to be thrown")}const m=e=>{try{return e()}catch{return}};class f extends d{constructor(e,t){super("Assertion Error",e,t)}}const h=e=>null!=e;function E(e,t=""){if(null==e)throw new f(t||"Value is nullable")}const _=(e,t="")=>(E(e,t),e),b=(e,t,n="")=>(function(e,t,n=""){if(!(e instanceof t))throw new f(n||`Value is expected to be of type '${t.name}'`)}(e,t,n),e);function T(e,t=""){return function(e,t=""){if(""===_(e,t))throw new f(t||"Expected string value to be non-empty")}(e,t),e}function A(e,t=""){if(!e)throw new f(t||"Expected predicate to be truthy")}const y=e=>"string"==typeof e,S=e=>"number"==typeof e&&!isNaN(e),C=e=>"boolean"==typeof e,N=e=>"object"==typeof e&&null!==e,I=(e,t="")=>(function(e,t=""){if(!y(e))throw new f(t||"Value is expected to be a string")}(e,t),e),v=(e,t="")=>(function(e,t=""){if(!S(e))throw new f(t||"Value is expected to be a number")}(e,t),e),k=(e,t="")=>(function(e,t=""){if(!C(e))throw new f(t||"Value is expected to be a boolean")}(e,t),e);var R=n(9391),O=n(3654),F=n(8247),B=n(2659);const L=R.W,w="charset=utf-8";var P,D,M;!function(e){e.CONTENT_TYPE="Content-Type",e.ACCEPT="Accept"}(P||(P={})),function(e){e.APPLICATION_JSON="application/json",e.APPLICATION_XML="application/xml",e.APPLICATION_ZLIB="application/zlib",e.TEXT_PLAIN="text/plain",e.TEXT_CSV="text/csv",e.ALL="*/*"}(D||(D={})),function(e){e.GET="GET",e.PUT="PUT",e.POST="POST",e.DELETE="DELETE"}(M||(M={}));const x={mode:"cors",credentials:"include",redirect:"follow"},j=(e,t)=>{const n={};return e&&Object.entries(e).forEach((([e,t])=>{n[e]=t})),t&&Object.entries(t).forEach((([e,t])=>{n[e]=t})),n};class U extends Error{response;payload;constructor(e,t){super(),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.name="Network Client Error",this.response=e;const{status:n,statusText:r,url:o}=e,a=`Received response with status ${n} (${r}) for ${o}`;this.message=(t?(e=>{if(N(e))return y(e.message)?e.message:JSON.stringify(e);let t;try{t=JSON.parse(e)}catch{}return t&&y(t.message)?t.message:e})(t).substring(0,5e3):"")||a,this.payload=t}}const G=async(e,t,n)=>{if(n?.preprocess?.(e),!e.ok){let t;try{t=await e.text(),t=JSON.parse(t)}catch{}return Promise.reject(new U(e,t))}if(n?.skipProcessing)return Promise.resolve(e);if(e.status===L.NO_CONTENT)return Promise.resolve(void 0);const r=t.headers.Accept;switch(r){case D.APPLICATION_JSON:return e.json();case D.TEXT_PLAIN:return e.text();default:return Promise.reject(new U(e,`Can't process response for request with Content-Type '${r}'`))}},H=(e,t)=>{const n={};return n.Accept=D.APPLICATION_JSON,e!==M.GET&&(n[P.CONTENT_TYPE]=`${D.APPLICATION_JSON};${w}`),j(n,t)};class V{options={};baseUrl;constructor(e){this.baseUrl=e?.baseUrl,this.options={...x,...e?.options??{}}}async get(e,t={},n,r,o,a){return this.request(M.GET,e,void 0,t,n,r,o,a)}async put(e,t={},n={},r,o,a,i){return this.request(M.PUT,e,t,n,r,o,a,i)}async post(e,t={},n={},r,o,a,i){return this.request(M.POST,e,t,n,r,o,a,i)}async delete(e,t={},n={},r,o,a,i){return this.request(M.DELETE,e,t,n,r,o,a,i)}async request(e,t,n,r,o,a,i,s){const c=((e,t,n)=>{if(!e&&!m((()=>new URL(t))))throw new Error(`Can't build URL string: base URL is not specified and the provided URL '${t}' is not absolute`);const r=new URL(t,e);return n instanceof Object&&Object.entries(n).forEach((([e,t])=>{void 0!==t&&(Array.isArray(t)?t.filter(h).forEach((t=>r.searchParams.append(e,t.toString()))):r.searchParams.append(e,t.toString()))})),r.toString()})(this.baseUrl,t,a??{});let u;if((y(n)||N(n))&&i?.enableCompression&&(A(e!==M.GET," GET request should not have any request payload"),n=(e=>new Blob([(0,O.Wt)(N(e)?JSON.stringify(e):e)]))(n),o=j(o,{[P.CONTENT_TYPE]:`${D.APPLICATION_ZLIB};${w}`})),void 0!==n)if(y(n)||n instanceof Blob)u=n;else{if(!N(n))throw new f("Request body can only be either a 'string' or an 'object'");u=JSON.stringify(n)}const d={...this.options,...r,method:e,body:u,headers:H(e,o)};return fetch(c,d).then((e=>0===e.status||e.status===L.UNAUTHORIZED?s?.autoReAuthenticateUrl?(e=>new Promise((t=>{const n="AUTO_AUTHENTICATION_IFRAME",r=document.getElementById(n);r?.remove();const o=document.createElement("iframe");o.id=n,o.src=e,o.style.display="none",o.addEventListener("load",(()=>{o.remove(),t()})),document.body.appendChild(o)})))(s.autoReAuthenticateUrl).then((()=>fetch(c,d))).then((e=>G(e,d,s))):fetch(c,d).then((e=>G(e,d,s))):G(e,d,s))).catch((e=>(e=>e instanceof TypeError&&"Failed to fetch"===e.message)(e)?fetch(c,d).then((e=>G(e,d,s))):Promise.reject(e)))}}const K=(e,t,n)=>{const r=new Blob([t],{type:n}),o=URL.createObjectURL(r),a=document.createElement("a");"string"==typeof a.download?(document.body.appendChild(a),a.download=e,a.href=o,a.click(),document.body.removeChild(a)):location.replace(o)};var Y,W;!function(e){e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(Y||(Y={}));class q{channel;name;timestamp=Date.now();static create(e){const t=new q;return t.name=e,t}}class ${loggers=[];registerPlugins(e){this.loggers=e}debug(e,...t){this.loggers.forEach((n=>n.debug(e,...t)))}info(e,...t){this.loggers.forEach((n=>n.info(e,...t)))}warn(e,...t){this.loggers.forEach((n=>n.warn(e,...t)))}error(e,...t){this.loggers.forEach((n=>n.error(e,...t)))}}!function(e){e.APPLICATION_SETUP__FAILURE="application.setup.failure",e.APPLICATION_LOAD__SUCCESS="application.load.success",e.APPLICATION_LOAD__FAILURE="application.load.failure",e.ILLEGAL_APPLICATION_STATE_OCCURRED="application.error.illegal-state",e.APPLICATION_CONFIGURATION__FAILURE="application.configuration.failure",e.IDENTITY_AUTO_FETCH__FAILURE="application.identity.auto-fetch.failure",e.DOCUMENTATION_FETCH__FAILURE="application.documentation.fetch.failure",e.DOCUMENTATION_LOAD__SKIP="application.documentation.load.skip",e.DOCUMENTATION_REQUIREMENT_CHECK__FAILURE="application.documentation.requirement-check.failure",e.CONTEXTUAL_DOCUMENTATION_LOAD__SKIP="application.virtual-assistant.contextual-documentation-load.skip",e.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS="application.virtual-assistant.documentation-entry.access",e.TERMINAL_COMMAND_CONFIGURATION_CHECK__FAILURE="application.load.terminal-command.configuration-check.failure",e.COLOR_THEME_CONFIGURATION_CHECK__FAILURE="application.layout.color-theme.configuration-check.failure",e.SETTING_CONFIGURATION_CHECK__FAILURE="application.setting.configuration-check.failure",e.SETTING_RETRIVE_FAILURE="application.setting.retrieve.failure",e.USER_DATA_RETRIEVE_FAILURE="application.user-data.retrieve.failure",e.COMMAND_CENTER_REGISTRATION__FAILURE="application.command.registration.failure",e.DEVELOPMENT_ISSUE="development.issue",e.APPLICATION_CONTEXT__ACCESS="application.context.access",e.APPLICATION_USAGE__INTERRUPT="application.usage.interrupt",e.APPLICATION_TELEMETRY_EVENT__FAILURE="application.telemetry-event.failure"}(W||(W={}));var J=n(9013);class X{schema;deserializeNullAsUndefined;constructor(e,t){this.schema=e,this.deserializeNullAsUndefined=Boolean(t?.deserializeNullAsUndefined)}toJson(e){return(0,J.qC)(this.schema,e)}fromJson(e){return(0,J.vB)(this.schema,this.deserializeNullAsUndefined?(t=e,(0,i.Z)(t,(e=>null!==e))):e);var t}}const z=e=>(0,J.PG)((t=>void 0===t?J.AM:(0,J.qC)(e,t)),(t=>(0,J.vB)(e,t))),Q=e=>(0,J.PG)((()=>e),(()=>e)),Z=e=>(0,J.PG)((t=>t?(0,J.qC)(e,t):J.AM),(t=>t?(0,J.vB)(e,t):J.AM));var ee=n(0);class te{key;markdownText;title;text;url;related;static serialization=new X((0,J.yu)(te,{markdownText:(0,J.PG)((e=>e),(e=>e.value?e:void 0)),related:(0,J.jt)((0,J.pb)((0,J.Ru)())),title:(0,J.jt)((0,J.Ru)()),text:(0,J.jt)((0,J.Ru)()),url:(0,J.jt)((0,J.Ru)())}));static create(e,t){const n=te.serialization.fromJson(e);return n.key=t,n}}const ne=e=>Object.entries(e).map((e=>({key:e[0],content:te.create(e[1],e[0])})));class re{url;links;docRegistry=new Map;contextualDocIndex=new Map;constructor(e){this.url=e.config.documentationUrl,this.links=e.config.documentationLinkEntries,e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedDocumentationEntries?.()??[])).forEach((t=>{this.hasDocEntry(t.key)?e.logService.warn(q.create(W.DOCUMENTATION_LOAD__SKIP),t.key):this.docRegistry.set(t.key,t.content)})),e.config.keyedDocumentationEntries.forEach((e=>this.docRegistry.set(e.key,e.content)));const t=e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraContextualDocumentationEntries?.()??[])),n=[];(0,ee.Z)(e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraRequiredDocumentationKeys?.()??[])).concat(t.map((e=>e.documentationKey)))).forEach((e=>{this.docRegistry.has(e)||n.push(e)})),n.length&&e.logService.warn(q.create(W.DOCUMENTATION_REQUIREMENT_CHECK__FAILURE),`Can't find corresponding documentation entry for keys:\n${n.map((e=>`- ${e}`)).join("\n")}`),t.forEach((t=>{if(this.hasContextualDocEntry(t.context))e.logService.warn(q.create(W.CONTEXTUAL_DOCUMENTATION_LOAD__SKIP),t.context);else{const e=this.getDocEntry(t.documentationKey);e&&this.contextualDocIndex.set(t.context,e)}})),e.config.contextualDocEntries.forEach((e=>{const t=this.getDocEntry(e.documentationKey);t&&this.contextualDocIndex.set(e.context,t)}))}getDocEntry(e){return this.docRegistry.get(e)}hasDocEntry(e){return this.docRegistry.has(e)}getContextualDocEntry(e){return this.contextualDocIndex.get(e)}hasContextualDocEntry(e){return this.contextualDocIndex.has(e)}getAllDocEntries(){return Array.from(this.docRegistry.values())}publishDocRegistry(){const e={};return this.docRegistry.forEach(((t,n)=>{e[n]=te.serialization.toJson(t)})),e}publishContextualDocIndex(){const e={};return this.contextualDocIndex.forEach(((t,n)=>{e[n]=t.key})),e}}var oe,ae,ie=n(75);!function(e){e.INITIAL="INITIAL",e.IN_PROGRESS="IN_PROGRESS",e.SUCCEEDED="SUCEEDED",e.FAILED="FAILED"}(oe||(oe={}));class se{state;_message;_messageFormatter;constructor(){this.state=oe.INITIAL}setMessage(e){this._message=e}setMessageFormatter(e){this._messageFormatter=e}reset(){return this.state=oe.INITIAL,this}inProgress(){return this.state=oe.IN_PROGRESS,this}fail(){return this.state=oe.FAILED,this}pass(){return this.state=oe.SUCCEEDED,this}complete(e=!0){return e?this.pass():this.fail(),this}sync(e){const t=e.exportData();this.state=t.state,this._message=t.message}exportData(){return{state:this.state,message:this._message}}get isInInitialState(){return this.state===oe.INITIAL}get isInProgress(){return this.state===oe.IN_PROGRESS}get hasFailed(){return this.state===oe.FAILED}get hasSucceeded(){return this.state===oe.SUCCEEDED}get message(){return this._message?this._messageFormatter?this._messageFormatter(this._message):this._message:void 0}get hasCompleted(){return this.hasFailed||this.hasSucceeded}static create(){return(0,ie.rC)(new se,{state:ie.LO,_message:ie.LO,reset:ie.aD,inProgress:ie.aD,pass:ie.aD,fail:ie.aD,complete:ie.aD,setMessage:ie.aD,sync:ie.aD,isInInitialState:ie.Fl,isInProgress:ie.Fl,hasFailed:ie.Fl,hasSucceeded:ie.Fl,hasCompleted:ie.Fl,message:ie.Fl})}}!function(e){e.USER="user",e.ENV="env",e.RESULT="result",e.ERROR="error",e.HTTP_STATUS="status",e.HTTP_REQUEST_METHOD="method",e.HTTP_REQUEST_URL="url"}(ae||(ae={}));class ce{traceEntries=[];setup(e){this.traceEntries=e}bootstrap(e){this.traceEntries.forEach((t=>{t.plugin.bootstrap(t.clientSpan,e)}))}reportSuccess(){this.traceEntries.forEach((e=>{e.plugin.concludeClientSpan(e.clientSpan,void 0)}))}reportError(e){this.traceEntries.forEach((t=>{t.plugin.concludeClientSpan(t.clientSpan,e)}))}close(){this.traceEntries.forEach((e=>{e.plugin.concludeServerSpan(e.serverSpan)}))}}class ue{plugins=[];registerPlugins(e){this.plugins=e}createTrace(e,t,n,r){const o=new ce;return e&&o.setup(this.plugins.map((o=>{const a=o.createClientSpan(e);return{clientSpan:a,serverSpan:o.createServerSpan(a,t,n,r),plugin:o}}))),o}}var de=n(1931);const le=de.Fuse.default;var ge,pe;de.Fuse,function(e){e.STANDARD="standard",e.INCLUDE="include match",e.EXACT="exact match",e.INVERSE="excludes exact match"}(ge||(ge={}));class me{currentMode=ge.STANDARD;onSearchModeChange;constructor(e){(0,ie.rC)(this,{currentMode:ie.LO,isAdvancedSearchActive:ie.Fl,setCurrentMode:ie.aD}),this.onSearchModeChange=e}get isAdvancedSearchActive(){return this.currentMode!==ge.STANDARD}generateSearchText(e){switch(this.currentMode){case ge.INCLUDE:return`'"${e}"`;case ge.EXACT:return`="${e}"`;case ge.INVERSE:return`!"${e}"`;default:return e}}setCurrentMode(e){this.currentMode=e,this.onSearchModeChange()}}!function(e){e.SEARCH="SEARCH",e.CONTEXTUAL_SUPPORT="CONTEXTUAL_SUPPORT"}(pe||(pe={}));class fe{uuid=(0,a.Z)();documentationKey;title;content;url;isOpen=!1;constructor(e){(0,ie.rC)(this,{isOpen:ie.LO,setIsOpen:ie.aD}),this.documentationKey=e.key,this.title=T(e.title),this.content=e.markdownText??e.text,this.url=e.url}setIsOpen(e){this.isOpen=e}}class he{uuid=(0,a.Z)();context;title;content;url;related;constructor(e,t,n){this.context=e,this.title=t.title,this.content=t.markdownText??t.text,this.url=t.url,this.related=n}}const Ee=e=>Boolean(e.title&&(e.url??e.text??e.markdownText));class _e{applicationStore;panelRenderingKey=(0,a.Z)();isHidden=!0;isOpen=!1;isPanelMaximized=!1;selectedTab=pe.SEARCH;currentDocumentationEntry;searchEngine;searchConfigurationState;searchState=se.create();searchText="";searchResults=[];showSearchConfigurationMenu=!1;isOverSearchLimit=!1;constructor(e){(0,ie.rC)(this,{isHidden:ie.LO,isOpen:ie.LO,isPanelMaximized:ie.LO,panelRenderingKey:ie.LO,isOverSearchLimit:ie.LO,selectedTab:ie.LO,searchText:ie.LO,searchResults:ie.LO,currentDocumentationEntry:ie.LO,showSearchConfigurationMenu:ie.LO,currentContextualDocumentationEntry:ie.Fl,setIsHidden:ie.aD,setIsOpen:ie.aD,setIsPanelMaximized:ie.aD,setSelectedTab:ie.aD,setSearchText:ie.aD,resetSearch:ie.aD,search:ie.aD,openDocumentationEntry:ie.aD,refreshPanelRendering:ie.aD,setShowSearchConfigurationMenu:ie.aD}),this.applicationStore=e,this.searchEngine=new le(this.applicationStore.documentationService.getAllDocEntries().filter(Ee),{includeScore:!0,shouldSort:!0,ignoreLocation:!0,threshold:.2,keys:[{name:"title",weight:4},{name:"text",weight:1},{name:"markdownText.value",weight:1}],useExtendedSearch:!0}),this.searchConfigurationState=new me((()=>{this.search()}))}get currentContextualDocumentationEntry(){if(!this.applicationStore.navigationContextService.currentContext)return;const e=this.applicationStore.navigationContextService.currentContext.key,t=this.applicationStore.documentationService.getContextualDocEntry(e);return t?new he(e,t,(t.related??[]).map((e=>this.applicationStore.documentationService.getDocEntry(e))).filter(h).filter(Ee).map((e=>new fe(e)))):void 0}openDocumentationEntry(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&(this.setIsOpen(!0),this.setIsHidden(!1),this.currentDocumentationEntry=new fe(t),this.currentDocumentationEntry.setIsOpen(!0),this.resetSearch())}openDocumentationEntryLink(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&((e=>Ee(e)&&Boolean(e.text??e.markdownText))(t)?this.openDocumentationEntry(t.key):t.url&&this.applicationStore.navigationService.navigator.visitAddress(t.url))}setIsHidden(e){this.isHidden=e}setIsPanelMaximized(e){this.isPanelMaximized=e}hideAssistant(){this.setIsHidden(!0),this.setIsOpen(!1)}toggleAssistant(){this.isHidden?this.setIsHidden(!1):this.hideAssistant()}setIsOpen(e){this.isOpen=e}setSelectedTab(e){this.selectedTab=e}refreshPanelRendering(){this.panelRenderingKey=(0,a.Z)()}setSearchText(e){this.searchText=e}resetSearch(){this.searchText="",this.searchResults=[],this.searchState.complete()}search(){this.searchText?(this.currentDocumentationEntry=void 0,this.searchState.inProgress(),this.searchResults=Array.from(this.searchEngine.search(this.searchConfigurationState.generateSearchText(this.searchText),{limit:101}).values()).map((e=>new fe(e.item))),this.searchResults.length>100?(this.isOverSearchLimit=!0,this.searchResults=this.searchResults.slice(0,100)):this.isOverSearchLimit=!1,this.searchState.complete()):this.searchResults=[]}setShowSearchConfigurationMenu(e){this.showSearchConfigurationMenu=e}}class be{notifierPlugins=[];registerEventNotifierPlugins(e){this.notifierPlugins=e}notify(e,t){this.notifierPlugins.forEach((n=>n.notify(e,t)))}}class Te{static logEvent_ApplicationInitializationSucceeded(e,t){e.logEvent(W.APPLICATION_LOAD__SUCCESS,{application:{name:t.config.appName,version:t.config.appVersion,env:t.config.env},browser:{userAgent:navigator.userAgent},screen:{height:window.screen.height,width:window.screen.width}})}static logEvent_ApplicationContextAccessed(e,t){e.logEvent(W.APPLICATION_CONTEXT__ACCESS,t)}static logEvent_VirtualAssistantDocumentationEntryAccessed(e,t){e.logEvent(W.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS,t)}static logEvent_ApplicationUsageInterrupted(e){e.logEvent(W.APPLICATION_USAGE__INTERRUPT,{})}}class Ae{applicationStore;contextStack=[];constructor(e){(0,ie.rC)(this,{contextStack:ie.LO,currentContext:ie.Fl,push:ie.aD,pop:ie.aD}),this.applicationStore=e}get currentContext(){return this.contextStack.length?this.contextStack[this.contextStack.length-1]:void 0}push(e){const t=this.contextStack.filter((e=>!e.isTransient));if(t.find((t=>t.key===e.key)))throw new l(`Found multiple context '${e.key}' in application navigation context stack`);t.push(e),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraAccessEventLoggingApplicationContextKeys?.()??[])).includes(e.key)&&Te.logEvent_ApplicationContextAccessed(this.applicationStore.telemetryService,{key:e.key}),this.contextStack=t}pop(e){const t=this.contextStack.find((t=>t.key===e.key));if(!t)return;const n=this.contextStack.indexOf(t);-1!==n&&(this.contextStack=this.contextStack.slice(0,n).filter((e=>!e.isTransient)))}}class ye{applicationStore;commandRegistry=new Map;constructor(e){(0,ie.rC)(this,{commandRegistry:ie.LO,registerCommand:ie.aD,deregisterCommand:ie.aD}),this.applicationStore=e}registerCommand(e){const t=e.key;this.commandRegistry.has(t)?this.applicationStore.logService.warn(q.create(W.COMMAND_CENTER_REGISTRATION__FAILURE),"Can't register command: command is already registered"):this.commandRegistry.set(t,e)}deregisterCommand(e){this.commandRegistry.delete(e)}runCommand(e,t){const n=this.commandRegistry.get(e);return!(!n||n.trigger&&!n.trigger()||(n.action?.(t),0))}}class Se{applicationStore;keyMap=new Map;commandKeyMap=new Map;isHotkeysBlocked=!1;constructor(e){(0,ie.rC)(this,{keyMap:ie.LO,commandKeyMap:ie.LO,isHotkeysBlocked:ie.LO,addHotkey:ie.aD,blockGlobalHotkeys:ie.aD,unblockGlobalHotkeys:ie.aD}),this.applicationStore=e,this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedCommandConfigEntries?.()??[])).forEach((e=>{const t=[e.content.defaultKeyboardShortcut,...e.content.additionalKeyboardShortcuts??[]].filter(h);t.length?t.forEach((t=>this.addHotkey(e.key,t))):this.commandKeyMap.has(e.key)||this.commandKeyMap.set(e.key,[])}))}blockGlobalHotkeys(){this.isHotkeysBlocked=!0}unblockGlobalHotkeys(){this.isHotkeysBlocked=!1}addHotkey(e,t){this.commandKeyMap.set(e,[...this.commandKeyMap.get(e)??[],t]),this.keyMap.set(t,[...(this.keyMap.get(t)??[]).filter((t=>t!==e)),e])}dispatch(e){if(this.isHotkeysBlocked)return;const t=this.keyMap.get(e)??[];for(const e of t)if(this.applicationStore.commandService.runCommand(e))return}}var Ce=n(7289),Ne=n(3678),Ie=n(8440),ve=n(1919),ke=n(5399),Re=n(9358);const Oe="Roboto Mono",Fe="yyyy-MM-dd'T'HH:mm:ss";var Be;!function(e){e.RESET="",e.BOLD="",e.DIM="",e.ITALIC="",e.UNDERLINE="",e.BLINKING="",e.STRIKETHROUGH="",e.BLACK="",e.RED="",e.GREEN="",e.YELLOW="",e.BLUE="",e.MAGENTA="",e.CYAN="",e.WHITE="",e.BRIGHT_BLACK="",e.BRIGHT_RED="",e.BRIGHT_GREEN="",e.BRIGHT_YELLOW="",e.BRIGHT_BLUE="",e.BRIGHT_MAGENTA="",e.BRIGHT_CYAN="",e.BRIGHT_WHITE="",e.DIMMED_BLACK="",e.DIMMED_RED="",e.DIMMED_GREEN="",e.DIMMED_YELLOW="",e.DIMMED_BLUE="",e.DIMMED_MAGENTA="",e.DIMMED_CYAN="",e.DIMMED_WHITE="",e.BLACK_BG="",e.RED_BG="",e.GREEN_BG="",e.YELLOW_BG="",e.BLUE_BG="",e.MAGENTA_BG="",e.CYAN_BG="",e.WHITE_BG="",e.BRIGHT_BLACK_BG="",e.BRIGHT_RED_BG="",e.BRIGHT_GREEN_BG="",e.BRIGHT_YELLOW_BG="",e.BRIGHT_BLUE_BG="",e.BRIGHT_MAGENTA_BG="",e.BRIGHT_CYAN_BG="",e.BRIGHT_WHITE_BG="",e.DIMMED_BLACK_BG="",e.DIMMED_RED_BG="",e.DIMMED_GREEN_BG="",e.DIMMED_YELLOW_BG="",e.DIMMED_BLUE_BG="",e.DIMMED_MAGENTA_BG="",e.DIMMED_CYAN_BG="",e.DIMMED_WHITE_BG=""}(Be||(Be={}));const Le=(e,t)=>`[${e};${t}H`;class we{searchInput;searchText="";useRegex=!1;matchWholeWord=!1;matchCaseSensitive=!1;resultCount;currentResultIndex;constructor(){(0,ie.rC)(this,{searchText:ie.LO,useRegex:ie.LO,matchWholeWord:ie.LO,matchCaseSensitive:ie.LO,resultCount:ie.LO,currentResultIndex:ie.LO})}setSearchInput(e){this.searchInput=e}focus(){this.searchInput?.focus()}}class Pe{applicationStore;searchConfig=new we;constructor(e){(0,ie.rC)(this,{setSearchText:ie.aD,setSearchRegex:ie.aD,setSearchWholeWord:ie.aD,setSearchCaseSensitive:ie.aD,setSearchResultCount:ie.aD,setSearchCurrentResultIndex:ie.aD}),this.applicationStore=e}setSearchText(e){this.searchConfig.searchText=e}setSearchRegex(e){this.searchConfig.useRegex=e}setSearchWholeWord(e){this.searchConfig.matchWholeWord=e}setSearchCaseSensitive(e){this.searchConfig.matchCaseSensitive=e}setSearchResultCount(e){this.searchConfig.resultCount=e}setSearchCurrentResultIndex(e){this.searchConfig.currentResultIndex=e}}class De extends Pe{preserveLog=!1;commandRegistry=new Map;constructor(e){super(e),(0,ie.rC)(this,{preserveLog:ie.LO,setPreserveLog:ie.aD})}setPreserveLog(e){this.preserveLog=e}showHelp(){}showCommonANSIEscapeSequences(){}}var Me=n(1367);n(9207),n(286);const xe=e=>e.length>=1?`${e[0].toUpperCase()}${e.substring(1,e.length)}`:e,je=["a","an","the","but","by","nor","and","or","so","as","yet","for","in","nor","of","on","at","out","to","up"],Ue=e=>(e??"").trim().replace(/\b(?:\w+)\b/gu,(e=>je.includes(e.toLowerCase())?e.toLowerCase():xe(e))).replace(/^(?:\w+)\b/u,(e=>xe(e))).replace(/\b(?:\w+)$/u,(e=>xe(e)));var Ge;function He(e){return e.trim().split(" ").map((e=>{const t=e.split(/\b\+/),n=_(t.pop(),"Can't parse key binding: last part must be a non-modifier key");return{modifiers:t,key:n}}))}!function(e){e.TAB="Tab",e.CAPSLOCK="CapsLock",e.SHIFT="Shift",e.META="Meta",e.ALT="Alt",e.CONTROL="Control",e.SPACE="Space",e.ESC="Escape",e.LEFT="ArrowLeft",e.RIGHT="ArrowRight",e.UP="ArrowUp",e.DOWN="ArrowDown",e.ENTER="Enter",e.DELETE="Delete",e.BACKSPACE="Backspace",e.BACKQUOTE="Backquote"}(Ge||(Ge={}));const Ve=(e,t)=>t.key===e.code&&t.modifiers.every((t=>e.getModifierState(t)))&&![Ge.SHIFT,Ge.META,Ge.ALT,Ge.CONTROL].find((n=>t.key!==n&&e.getModifierState(n)&&!t.modifiers.includes(n))),Ke=(e,t)=>Ve(e,_(He(t)[0]));var Ye=n(4707),We=n(3493),qe=n(6919);const $e=(0,Ye.Z)({transitions:{create:()=>"none"}}),Je=e=>{const{children:t}=e;return(0,r.jsx)(We.Z,{injectFirst:!0,children:(0,r.jsx)(qe.Z,{theme:$e,children:t})})};var Xe=n(3820),ze=n(6242),Qe=n(4309),Ze=n(7311),et=n(8683),tt=n(1934),nt=n(489);const rt=(e,t)=>{const n=e=>{const{children:n,className:o}=e;return(0,r.jsx)("div",{className:(0,nt.W)(t,o),"data-testid":e["data-testid"],children:n})};return n.displayName=e,n},ot=e=>{const{children:t,darkMode:n,className:o}=e;return(0,r.jsx)("div",{className:(0,nt.W)("modal",{"modal--dark":n},o),children:t})},at=e=>{const{title:t,icon:n,className:o}=e;return(0,r.jsxs)("div",{className:(0,nt.W)("modal__title",o),children:[n&&(0,r.jsx)("div",{className:"modal__title__icon",children:n}),(0,r.jsx)("div",{className:"modal__title__label",children:Ue(t)})]})},it=e=>{const{title:t,children:n,className:o}=e;return!n&&t?(0,r.jsx)("div",{className:(0,nt.W)("modal__header",o),children:(0,r.jsx)(at,{title:t})}):(0,r.jsx)("div",{className:(0,nt.W)("modal__header",o),children:n})},st=(rt("ModalHeaderActions","modal__header__actions"),rt("ModalBody","modal__body")),ct=rt("ModalFooter","modal__footer");var ut,dt;rt("ModalFooterStatus","modal__footer__status"),function(e){e.STANDARD="STANDARD",e.CAUTION="CAUTION"}(ut||(ut={})),function(e){e.STANDARD="STANDARD",e.PROCEED_WITH_CAUTION="PROCEED_WITH_CAUTION",e.PROCEED="PROCEED"}(dt||(dt={}));class lt{applicationStore;blockingAlertInfo;actionAlertInfo;constructor(e){(0,ie.rC)(this,{blockingAlertInfo:ie.LO,actionAlertInfo:ie.LO,setBlockingAlert:ie.aD,setActionAlertInfo:ie.aD}),this.applicationStore=e}setBlockingAlert(e){e?this.applicationStore.keyboardShortcutsService.blockGlobalHotkeys():this.applicationStore.keyboardShortcutsService.unblockGlobalHotkeys(),this.blockingAlertInfo=e}setActionAlertInfo(e){this.actionAlertInfo&&e&&this.applicationStore.notificationService.notifyIllegalState("Action alert is stacked: new alert is invoked while another one is being displayed"),e?this.applicationStore.keyboardShortcutsService.blockGlobalHotkeys():this.applicationStore.keyboardShortcutsService.unblockGlobalHotkeys(),this.actionAlertInfo=e}}var gt=n(2784);const pt=(0,gt.createContext)(void 0),mt=()=>_((0,gt.useContext)(pt),"Can't find application store in context"),ft=({children:e,store:t})=>{const n=(0,Qe.fv)((()=>t));return(0,r.jsx)(pt.Provider,{value:n,children:e})},ht=e=>{switch(e){case dt.PROCEED_WITH_CAUTION:return"btn--caution";case dt.PROCEED:case dt.STANDARD:default:return"btn--dark"}},Et=(0,Qe.Pi)((e=>{const{info:t}=e,n=mt(),{title:o,message:a,prompt:i,type:s,onClose:u,onEnter:d,actions:l}=t,g=()=>{u?.(),n.alertService.setActionAlertInfo(void 0)};return(0,r.jsx)(tt.Z,{open:Boolean(n.alertService.actionAlertInfo),onClose:c,TransitionProps:{onEnter:()=>d?.()},children:(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),l.find((e=>e.default))?.handler?.(),g()},className:`modal search-modal modal--dark blocking-alert blocking-alert--${(s??ut.STANDARD).toLowerCase()}`,children:[o&&(0,r.jsx)(it,{title:o}),(0,r.jsxs)(st,{children:[(0,r.jsx)("div",{className:"blocking-alert__summary-text",children:a}),(0,r.jsx)("div",{className:"blocking-alert__prompt-text",children:i})]}),(0,r.jsxs)(ct,{children:[l.map(((e,t)=>(0,r.jsx)("button",{type:e.default?"submit":"button",className:`btn btn--dark ${ht(e.type??dt.STANDARD)}`,onClick:t=>{t.preventDefault(),e.handler?.(),g()},autoFocus:Boolean(e.default),children:e.label},t))),!l.length&&(0,r.jsx)("button",{type:"button",className:"btn btn--dark blocking-alert__action--standard",onClick:g,children:"Cancel"})]})]})})})),_t=(0,Qe.Pi)((()=>{const e=mt().alertService.actionAlertInfo;return e?(0,r.jsx)(Et,{info:e}):null})),bt=e=>{const{isLoading:t,className:n}=e,o=(0,gt.useRef)(null);return(0,gt.useEffect)((()=>{o.current&&(t?o.current.parentElement?.classList.add("panel-loading-indicator__container"):o.current.parentElement?.classList.remove("panel-loading-indicator__container"))}),[t]),(0,r.jsx)("div",{ref:o,className:(0,nt.W)(n,"panel-loading-indicator"+(t?"":"--disabled"))})},Tt=(0,Qe.Pi)((()=>{const e=mt(),t=e.alertService.blockingAlertInfo;return t?(0,r.jsx)(tt.Z,{open:Boolean(t),onClose:c,classes:{root:"blocking-alert__root-container",container:"blocking-alert__container"},children:(0,r.jsxs)(ot,{darkMode:!e.layoutService.TEMPORARY__isLightColorThemeEnabled,className:"blocking-alert",children:[(0,r.jsx)(bt,{isLoading:Boolean(t.showLoading)}),(0,r.jsxs)(st,{children:[(0,r.jsx)("div",{className:"blocking-alert__message",children:t.message}),t.prompt&&(0,r.jsx)("div",{className:"blocking-alert__message__prompt",children:t.prompt})]})]})}):null}));var At=n(5887),yt=n(2129),St=n(5685),Ct=n(2595),Nt=n(4051);const It=At.Ayd,vt=At.ven,kt=yt._4k,Rt=St.aHS,Ot=St.G5m,Ft=St.p4t,Bt=St.u9M,Lt=St.xik,wt=St.MXt,Pt=St.DAO,Dt=St.gmG,Mt=St.U41,xt=St.wbB,jt=St.FJM,Ut=St.gJy,Gt=St.iq7,Ht=St.ALi,Vt=St.GNX,Kt=St.Nh4,Yt=St.wMM,Wt=St.TRe,qt=St.qjb,$t=Ct.$qf,Jt=Ct.N3K,Xt=Nt.RiH,zt=Nt.gbK,Qt=Nt.tOB;var Zt=n(3882),en=n(3083);const tn=6e3;var nn;!function(e){e.ILEGAL_STATE="ILEGAL_STATE",e.ERROR="ERROR",e.WARNING="WARNING",e.SUCCESS="SUCCESS",e.INFO="INFO"}(nn||(nn={}));class rn{severity;message;actions;autoHideDuration;constructor(e,t,n,r){this.severity=e,this.message=t,this.actions=n,this.autoHideDuration=r}}class on{notification;constructor(){(0,ie.rC)(this,{notification:ie.LO,setNotification:ie.aD,notify:ie.aD,notifySuccess:ie.aD,notifyWarning:ie.aD,notifyIllegalState:ie.aD,notifyError:ie.aD})}setNotification(e){this.notification=e}notify(e,t,n){this.setNotification(new rn(nn.INFO,e,t??[],null===n?void 0:n??tn))}notifySuccess(e,t,n){this.setNotification(new rn(nn.SUCCESS,e,t??[],null===n?void 0:n??tn))}notifyWarning(e,t,n){this.setNotification(new rn(nn.WARNING,e instanceof Error?e.message:e,t??[],null===n?void 0:n??tn))}notifyError(e,t){let n;e instanceof u?n=e.detail:e instanceof Error?n=e.message:(A(y(e),"Can't display error"),n=e),n&&this.setNotification(new rn(nn.ERROR,n,t??[],void 0))}notifyIllegalState(e,t,n){this.setNotification(new rn(nn.ILEGAL_STATE,y(e)?`[PLEASE NOTIFY DEVELOPER] ${e}`:e,t??[],null===n?void 0:n??tn))}notifyUnsupportedFeature(e){this.notifyWarning(`Unsupported feature: ${e}`)}notifyAndReturnAlternativeOnError=(e,t)=>{try{return e()}catch(e){return p(e),this.notifyIllegalState(e.message),t}}}const an=(0,Qe.Pi)((()=>{const e=mt(),t=e.notificationService.notification,n=Boolean(t),o=t?.message??"",a=t?.severity??nn.INFO,[i,s]=(0,gt.useState)(!1);let c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--info",children:(0,r.jsx)(Pt,{})});switch(a){case nn.ILEGAL_STATE:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,r.jsx)(Gt,{})});break;case nn.ERROR:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,r.jsx)(Ot,{})});break;case nn.WARNING:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--warning",children:(0,r.jsx)(Ut,{})});break;case nn.SUCCESS:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--success",children:(0,r.jsx)(jt,{})})}const u=()=>{e.notificationService.setNotification(void 0),s(!1)},d=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(o)));return(0,r.jsx)(Zt.Z,{classes:{root:"notification",anchorOriginBottomRight:"notification__position"},anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:t?t.autoHideDuration??null:tn,onClose:(e,t)=>{"timeout"===t&&u()},children:(0,r.jsx)(en.Z,{classes:{root:"notification__content",message:"notification__message",action:"notification__actions"},message:(0,r.jsxs)("div",{className:"notification__message__content",children:[c,(0,r.jsx)("div",{className:(0,nt.W)("notification__message__content__text",{"notification__message__content__text--expanded":i}),onClick:d,title:"Click to Copy",children:o})]}),action:[(0,r.jsx)("button",{className:"notification__action",onClick:()=>s(!i),tabIndex:-1,title:i?"Collapse":"Expand",children:i?(0,r.jsx)(Xt,{}):(0,r.jsx)(zt,{})},"expand"),(0,r.jsx)("button",{className:"notification__action",onClick:u,tabIndex:-1,title:"Dismiss",children:(0,r.jsx)(Rt,{})},"close")]})},"string"==typeof o||"number"==typeof o?o:"")}));var sn=n(7954);const cn=e=>{const{children:t,classes:n,...o}=e;return(0,r.jsx)(sn.Z,{classes:{...n??{},paper:"mui-menu__paper",list:"mui-menu__list"},transitionDuration:0,...o,children:e.children})},un=e=>{const{className:t,children:n,menuProps:o,content:a,disabled:i,onClose:s,onOpen:c}=e,u=(0,gt.useRef)(null),[d,l]=(0,gt.useState)(!1),[g,p]=(0,gt.useState)(),[m,f]=(0,gt.useState)(0),[h,E]=(0,gt.useState)(0),_=()=>{p(void 0),l(!1),E(0),f(0)},b=e=>{e.stopPropagation(),e.preventDefault(),_(),s?.()},T=e=>{if(e.stopPropagation(),e.preventDefault(),!i&&(c?.(),u.current)){const t=u.current.getBoundingClientRect(),n=t.left+(window.scrollX||document.documentElement.scrollLeft),r=t.top+(window.scrollY||document.documentElement.scrollTop),{clientX:o,clientY:a,target:i}=e,c=i;if(g!==c&&!(document.elementsFromPoint(o,a).some((e=>e===c))&&n<=o&&o<=n+t.width&&r<=a&&a<=r+t.height))return _(),void s?.();p(c),l(!0),E(a),f(o)}};return(0,r.jsxs)("div",{ref:u,className:t,onContextMenu:T,children:[n,(0,r.jsx)(cn,{open:d,anchorPosition:{left:m,top:h},onClose:b,anchorReference:"anchorPosition",BackdropProps:{invisible:!0,onContextMenu:T},disableRestoreFocus:!0,transitionDuration:0,onClick:b,...o,children:d&&a},`${m}, ${h}`)]})},dn=(0,gt.forwardRef)((function(e,t){const{className:n,children:o,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,nt.W)("menu",n),...a,children:o})})),ln=e=>{const{className:t,onClick:n,title:o,disabled:a,children:i,...s}=e;return(0,r.jsx)("button",{className:(0,nt.W)("menu__item",t),disabled:Boolean(a),title:o,onClick:n,...s,children:i})};rt("MenuContentDivider","menu__divider"),rt("MenuContentItemIcon","menu__item__icon"),rt("MenuContentItemLabel","menu__item__label");var gn=n(8725),pn=n(2479),mn=n(2801);const fn=e=>((0,gt.useEffect)((()=>{mn.L.initialize({startOnLoad:!0,theme:"dark"}),mn.L.contentLoaded()}),[e.value]),(0,r.jsx)(gn.U,{className:(0,nt.W)("markdown-content",e.className),remarkPlugins:[pn.Z],components:e.components??{code:e=>{const{children:t,className:n,node:o,...a}=e,i=/language-(?<language>\w+)/.exec(n??"");return i?.groups?.language?(0,r.jsx)("code",{...a,className:(0,nt.W)(i.groups.language),children:t}):(0,r.jsx)("code",{...a,className:n,children:t})}},children:e.value.value}));var hn=n(2515);const En=e=>{const{children:t}=e,{ref:n,width:o,height:a}=(0,hn.NB)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}}),[i,s]=(0,gt.useState)(!1),{ref:c,width:u,height:d}=(0,hn.NB)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}});return(0,gt.useEffect)((()=>{s((u??0)>(o??0)+40&&(d??0)>(a??0)+40)}),[u,d,o,a]),(0,r.jsx)("div",{ref:c,className:"panel__content__blank",children:(0,r.jsx)("div",{ref:n,className:(0,nt.W)("panel__content__blank__content",{"panel__content__blank__content--hide":!i}),children:t})})};var _n=n(5688),bn=n(4843),Tn=n(4008);const An=e=>{const{children:t,options:n,size:o,className:a,...i}=e,s=((e,t)=>{const n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n})(n,o);return(0,r.jsxs)("div",{className:(0,nt.W)("mui-radio-group",a),children:[s.map(((e,t)=>(0,r.jsx)("div",{children:(0,r.jsx)(_n.Z,{className:"mui-radio-group__group",...i,children:e.map((e=>(0,r.jsx)(bn.Z,{className:"mui-radio-group__group__column",style:{width:100/o+"%"},value:e,control:(0,r.jsx)(Tn.Z,{className:"mui-radio-group__group__item__radio-btn"}),label:(0,r.jsx)("div",{className:"mui-radio-group__group__item__label",children:e})},e)))})},t))),t]})};var yn=n(948);const Sn=e=>{const{children:t,...n}=e;return(0,r.jsx)(yn.ZP,{classes:{paper:"mui-popover__paper"},transitionDuration:0,...n,children:e.children})};var Cn,Nn=n(1327),In=n(8372),vn=n(6519);!function(e){e.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX="question.how-to-use-advanced-search-syntax"}(Cn||(Cn={}));const kn=(0,Qe.Pi)((e=>{const{entry:t}=e,n=mt(),o=()=>{t.isOpen||Te.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey}),t.setIsOpen(!t.isOpen)},a=n.guardUnhandledError((()=>n.clipboardService.copyTextToClipboard(t.documentationKey)));return(0,r.jsx)(un,{className:"virtual-assistant__doc-entry",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsx)(dn,{children:(0,r.jsx)(ln,{onClick:a,children:"Copy Documentation Key"})}),children:(0,r.jsxs)("div",{className:"virtual-assistant__doc-entry",children:[(0,r.jsxs)("div",{className:"virtual-assistant__doc-entry__header",children:[(0,r.jsx)("button",{className:(0,nt.W)("virtual-assistant__doc-entry__expand-icon",{"virtual-assistant__doc-entry__expand-icon--disabled":!t.content}),disabled:!t.content,tabIndex:-1,onClick:o,children:t.isOpen?(0,r.jsx)(Xt,{}):(0,r.jsx)(Qt,{})}),t.url?(0,r.jsx)("a",{className:"virtual-assistant__doc-entry__title virtual-assistant__doc-entry__title--link",rel:"noopener noreferrer",target:"_blank",href:t.url,onClick:()=>{Te.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey})},title:"Click to see external documentation",children:t.title}):(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__title",onClick:o,children:t.title})]}),t.isOpen&&t.content&&(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__content",children:y(t.content)?(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__content__text",children:t.content}):(0,r.jsx)(fn,{className:"virtual-assistant__doc-entry__content__markdown-text",value:t.content})})]})})})),Rn=(0,Qe.Pi)((()=>{const e=mt(),t=e.assistantService.currentContextualDocumentationEntry,n=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(t?.context??""))),o=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.currentContext?.key??""))),a=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.contextStack.map((e=>e.key)).join(" > "))));return(0,r.jsxs)(un,{className:"virtual-assistant__contextual-support",disabled:!t,menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:n,children:"Copy Context ID"}),(0,r.jsx)(ln,{onClick:o,children:"Copy Current Context ID"}),(0,r.jsx)(ln,{onClick:a,children:"Copy Context Stack"})]}),children:[t&&(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__content",children:[t.title&&(0,r.jsx)("div",{className:"virtual-assistant__contextual-support__title",children:t.title}),t.content&&(0,r.jsx)(r.Fragment,{children:y(t.content)?(0,r.jsx)("div",{className:"virtual-assistant__contextual-support__text",children:t.content}):(0,r.jsx)(fn,{className:"virtual-assistant__contextual-support__markdown-text",value:t.content})}),t.related.length&&(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries",children:[(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries__title",children:["Related entries (",t.related.length,")"]}),t.related.map((e=>(0,r.jsx)(kn,{entry:e},e.uuid)))]})]}),!t&&(0,r.jsx)(En,{children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,r.jsx)(Wt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No contextual documentation found!"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__instruction",children:"Keep using the app. When contextual help is available, we will let you know!"})]})})]})})),On=(0,Qe.Pi)((()=>{const e=mt(),t=(0,gt.useRef)(null),n=e.assistantService,o=n.searchText,a=(0,gt.useMemo)((()=>(0,In.Z)((()=>n.search()),100)),[n]);return(0,gt.useEffect)((()=>{t.current?.focus()}),[]),(0,r.jsxs)("div",{className:"virtual-assistant__search",children:[(0,r.jsxs)("div",{className:"virtual-assistant__search__header",children:[(0,r.jsx)("input",{ref:t,onClick:()=>{document.querySelectorAll('[role="dialog"]').length&&t.current!==document.activeElement&&n.refreshPanelRendering()},className:(0,nt.W)("virtual-assistant__search__input input--dark",{"virtual-assistant__search__input--searching":o}),spellCheck:!1,onChange:e=>{n.setSearchText(e.target.value),a()},value:o,placeholder:"Ask me a question"}),o&&(0,r.jsx)("div",{className:"virtual-assistant__search__input__search__count",children:n.searchResults.length+(n.isOverSearchLimit?"+":"")}),(0,r.jsx)("button",{className:(0,nt.W)("virtual-assistant__search__input__config__trigger",{"virtual-assistant__search__input__config__trigger--toggled":n.showSearchConfigurationMenu,"virtual-assistant__search__input__config__trigger--active":n.searchConfigurationState.isAdvancedSearchActive}),tabIndex:-1,onClick:()=>n.setShowSearchConfigurationMenu(!n.showSearchConfigurationMenu),title:(n.searchConfigurationState.isAdvancedSearchActive?"Advanced search is currently active\n":"")+"Click to toggle search config menu",children:(0,r.jsx)(Ft,{})}),o?(0,r.jsx)("button",{className:"virtual-assistant__search__input__clear-btn",tabIndex:-1,onClick:()=>{n.resetSearch(),n.currentDocumentationEntry=void 0,t.current?.focus()},title:"Clear",children:(0,r.jsx)(Rt,{})}):(0,r.jsx)("div",{className:"virtual-assistant__search__input__search__icon",children:(0,r.jsx)(Mt,{})})]}),(0,r.jsxs)("div",{className:"virtual-assistant__search__content",children:[(0,r.jsx)(bt,{isLoading:n.searchState.isInProgress}),(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__search__input__config__panel",{"virtual-assistant__search__input__config__panel--toggled":n.showSearchConfigurationMenu}),children:(0,r.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel",children:[(0,r.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel__header__label",children:["search config",e.documentationService.hasDocEntry(Cn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX)&&(0,r.jsx)("div",{onClick:()=>n.openDocumentationEntryLink(Cn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX),title:"Click to see documentation",className:"virtual-assistant__search__input__advanced-config__panel__header__label__hint",children:(0,r.jsx)(wt,{})})]}),(0,r.jsx)("div",{children:(0,r.jsx)(An,{value:n.searchConfigurationState.currentMode,onChange:e=>{const t=e.target.value;n.searchConfigurationState.setCurrentMode(t)},row:!1,options:[ge.STANDARD,ge.INCLUDE,ge.EXACT,ge.INVERSE],size:1})})]})}),n.currentDocumentationEntry&&(0,r.jsx)("div",{className:"virtual-assistant__search__results",children:(0,r.jsx)(kn,{entry:n.currentDocumentationEntry},n.currentDocumentationEntry.uuid)}),!n.currentDocumentationEntry&&(0,r.jsxs)(r.Fragment,{children:[Boolean(n.searchResults.length)&&(0,r.jsx)("div",{className:"virtual-assistant__search__results",children:n.searchResults.map((e=>(0,r.jsx)(kn,{entry:e},e.uuid)))}),o&&!n.searchResults.length&&(0,r.jsx)(En,{children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,r.jsx)(qt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No result..."})]})}),!o&&!n.searchResults.length&&(0,r.jsx)(un,{className:"virtual-assistant__character__container",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:()=>{K(`documentation-registry_${(0,vn.Z)(new Date(Date.now()),Fe)}.json`,JSON.stringify(e.documentationService.publishDocRegistry(),void 0,2),D.APPLICATION_JSON)},children:"Download documentation registry"}),(0,r.jsx)(ln,{onClick:()=>{K(`documentation-registry_${(0,vn.Z)(new Date(Date.now()),Fe)}.json`,JSON.stringify(e.documentationService.publishContextualDocIndex(),void 0,2),D.APPLICATION_JSON)},children:"Download contextual documentation mapping"})]}),children:(0,r.jsxs)("div",{className:"virtual-assistant__character",children:[(0,r.jsxs)("div",{className:"virtual-assistant__character__figure",children:[(0,r.jsx)(Yt,{className:"virtual-assistant__character__hat"}),(0,r.jsx)(Jt,{className:"virtual-assistant__character__glasses"}),(0,r.jsx)($t,{className:"virtual-assistant__character__beard"})]}),(0,r.jsx)("div",{className:"virtual-assistant__character__greeting",children:"Bonjour, It's Pierre!"}),(0,r.jsx)("div",{className:"virtual-assistant__character__question",children:"How can I help today?"})]})})]})]})]})})),Fn=(0,Qe.Pi)((e=>{const{triggerElement:t}=e,n=mt(),o=n.assistantService,a=o.currentContextualDocumentationEntry,i=o.selectedTab,s=n.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraVirtualAssistantViewConfigurations?.()??[])),c=s.find((e=>e.key===i));return(0,r.jsx)(Sn,{open:o.isOpen,className:"virtual-assistant__panel__container",anchorEl:t,hideBackdrop:!0,PaperProps:{classes:{root:"virtual-assistant__panel__container__root"}},disableEnforceFocus:!0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"},children:(0,r.jsxs)("div",{className:(0,nt.W)("virtual-assistant__panel",{"virtual-assistant__panel--maximized":o.isPanelMaximized}),tabIndex:0,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[(0,r.jsxs)("div",{className:"virtual-assistant__panel__header",children:[(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__tabs",children:[(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===pe.SEARCH}),onClick:()=>o.setSelectedTab(pe.SEARCH),title:"Search",children:(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:(0,r.jsx)(Mt,{})})}),(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===pe.CONTEXTUAL_SUPPORT}),onClick:()=>o.setSelectedTab(pe.CONTEXTUAL_SUPPORT),title:"Contextual Support",children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__tab__content",children:[(0,r.jsx)(Kt,{}),a&&(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__indicator",title:"Contextual support available"})]})}),s.map((e=>(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===e.key}),onClick:()=>{o.setSelectedTab(e.key),e.autoExpandOnOpen&&o.setIsPanelMaximized(!0)},title:e.title,children:(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:e.icon??(0,r.jsx)(wt,{})})},e.key)))]}),(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__actions",children:[(0,r.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsPanelMaximized(!o.isPanelMaximized),title:o.isPanelMaximized?"Minimize":"Maximize",children:o.isPanelMaximized?(0,r.jsx)(Ht,{}):(0,r.jsx)(Vt,{})}),(0,r.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsOpen(!1),title:"Close",children:(0,r.jsx)(vt,{className:"virtual-assistant__panel__icon__close"})})]})]}),(0,r.jsxs)("div",{className:"virtual-assistant__panel__content",children:[i===pe.SEARCH&&(0,r.jsx)(On,{}),i===pe.CONTEXTUAL_SUPPORT&&(0,r.jsx)(Rn,{}),c?.renderer()]})]})},o.panelRenderingKey)})),Bn=(0,Qe.Pi)((()=>{const[e,t]=(0,gt.useState)(!1),[n,o]=(0,gt.useState)((0,a.Z)()),i=mt(),s=(0,gt.useRef)(null),c=i.assistantService,u=c.currentContextualDocumentationEntry,d=()=>{!c.isOpen&&u&&c.setSelectedTab(pe.CONTEXTUAL_SUPPORT),c.setIsOpen(!c.isOpen)};return(0,gt.useEffect)((()=>{c.isHidden&&o((0,a.Z)())}),[c.isHidden]),(0,r.jsx)(Nn,{bounds:"parent",onStart:()=>t(!0),onStop:()=>t(!1),handle:".virtual-assistant__station__drag-handle",children:(0,r.jsxs)("div",{className:"virtual-assistant",ref:s,children:[(0,r.jsxs)("div",{className:(0,nt.W)("virtual-assistant__station",{"virtual-assistant__station--hidden":c.isHidden,"virtual-assistant__station--active":Boolean(u)}),children:[(0,r.jsx)("button",{className:"virtual-assistant__station__hide-button",title:"Hide assistant",onClick:()=>{i.assistantService.toggleAssistant()},children:(0,r.jsx)(xt,{})}),(0,r.jsx)("button",{className:"virtual-assistant__station__trigger",tabIndex:-1,onClick:d,title:c.isOpen?"Click to close assistant panel":(u?"Contextual support available.\n":"")+"Click to open Assistant...",children:(0,r.jsxs)("div",{className:"virtual-assistant__station__character",children:[(0,r.jsx)(Yt,{className:"virtual-assistant__station__character__hat"}),(0,r.jsx)(Jt,{className:"virtual-assistant__station__character__glasses"}),(0,r.jsx)($t,{className:"virtual-assistant__station__character__beard"})]})}),(0,r.jsx)("div",{className:"virtual-assistant__station__label",onClick:d,children:"Assistant"}),(0,r.jsx)(un,{className:(0,nt.W)("virtual-assistant__station__drag-handle",{"virtual-assistant__station__drag-handle--dragging":e}),menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:()=>{c.setIsOpen(!1),o((0,a.Z)())},children:"Reset Position"}),(0,r.jsx)(ln,{onClick:()=>i.assistantService.hideAssistant(),children:"Hide Assistant"})]}),children:(0,r.jsx)("div",{className:"virtual-assistant__station__drag-handle__content",title:e?void 0:"Grab to drag assistant",children:(0,r.jsx)(kt,{})})})]},u?.uuid??""),!e&&c.isOpen&&!c.isHidden&&s.current&&(0,r.jsx)(Fn,{triggerElement:s.current})]})},n)}));var Ln;!function(e){e.TOP_LEVEL_CONTAINER="application.top-level-container",e.BACKDROP_CONTAINER="application.backdrop-container"}(Ln||(Ln={}));const wn=["Meta+KeyP","Control+KeyP","Meta+KeyS","Control+KeyS","F8","F10","F11","Meta+Shift+KeyP","Control+Backquote","Control+Shift+KeyN","Control+Shift+KeyP","Meta+KeyB","Control+KeyB","F7","Alt+F7","Control+Shift+KeyB","Alt+KeyZ"],Pn=e=>(0,r.jsx)("div",{className:"backdrop__container","data-elementid":e.elementId}),Dn=(0,Qe.Pi)((e=>{const{children:t}=e,n=mt(),o=((e,t)=>{const n={};return e.forEach(((e,r)=>{e.length&&(n[r]={combinations:e,handler:t})})),n.INTERNAL__PLATFORM_NATIVE_KEYBOARD_COMMAND={combinations:wn,handler:(e,t)=>{t.preventDefault()}},n})(n.keyboardShortcutsService.commandKeyMap,((e,t)=>{wn.includes(e)&&t.preventDefault(),n.keyboardShortcutsService.dispatch(e)}));return(0,gt.useEffect)((()=>{const e=function(e){const t=new Map;let n=null;return r=>{r instanceof KeyboardEvent&&((0,Me.Z)(Object.values(e).flatMap((e=>e.combinations.map((t=>({combination:t,handler:e.handler}))))).filter((e=>e.combination.length)),(e=>e.combination)).forEach((e=>{const n=e.combination,o=He(e.combination);if(!o.length)return;const a=t.get(n)??o,i=_(a[0]);Ve(r,i)?a.length>1?t.set(n,a.slice(1)):(t.delete(n),e.handler(n,r)):r.getModifierState(r.key)||t.delete(n)})),n&&clearTimeout(n),n=setTimeout(t.clear.bind(t),1e3))}}(o);return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[o]),(0,gt.useEffect)((()=>{const e=()=>{document.hidden&&(Te.logEvent_ApplicationUsageInterrupted(n.telemetryService),n.timeService.recordUsageInterruption())};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}}),[n]),(0,r.jsxs)(Je,{children:[(0,r.jsx)(Tt,{}),(0,r.jsx)(_t,{}),(0,r.jsx)(an,{}),(0,r.jsx)(Bn,{}),n.layoutService.showBackdrop&&(0,r.jsx)(Xe.h,{container:n.layoutService.getElementByID(n.layoutService.backdropContainerElementID??Ln.BACKDROP_CONTAINER)??null,children:(0,r.jsx)(ze.Z,{className:"backdrop",open:n.layoutService.showBackdrop})}),(0,r.jsx)(Ze.W,{backend:et.PD,children:(0,r.jsxs)("div",{className:"app__container","data-elementid":Ln.TOP_LEVEL_CONTAINER,onContextMenu:e=>{e.stopPropagation(),e.preventDefault()},children:[(0,r.jsx)(Pn,{elementId:Ln.BACKDROP_CONTAINER}),t]})})]})})),Mn={foreground:"#cccccc",background:"#1e1e1e",cursor:"#cccccc",selectionBackground:"#264f78",black:"#000000",red:"#cd3131",green:"#0dbc79",yellow:"#e5e510",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#11a8cd",white:"#e5e5e5",brightBlack:"#666666",brightRed:"#f14c4c",brightGreen:"#23d18b",brightYellow:"#f5f543",brightBlue:"#3b8eea",brightMagenta:"#d670d6",brightCyan:"#29b8db",brightWhite:"#e5e5e5"},xn={matchOverviewRuler:"#d186167e",activeMatchColorOverviewRuler:"#A0A0A0CC",matchBackground:"#62331c",activeMatchBackground:"#515C6A"},jn=`\n${Be.BOLD}${Be.BRIGHT_BLUE}$purist${Be.RESET}\n${Be.BOLD}${Be.MAGENTA}❯${Be.RESET} `,Un="❯ ";class Gn extends De{instance;resizer;renderer;searcher;webLinkProvider;_TEMPORARY__onKeyListener;_TEMPORARY__onDataListener;command="";commandHistory=[];currentCommandSearchString="";commandHistoryNavigationIdx=void 0;isRunningCommand=!1;setupState=se.create();constructor(e){super(e),this.instance=new Ce.Terminal({allowProposedApi:!0,fontSize:12,letterSpacing:2,fontWeight:400,fontWeightBold:700,fontFamily:`"${Oe}", Menlo, Consolas, monospace`,tabStopWidth:2,theme:Mn,overviewRulerWidth:14,scrollback:1e5,convertEol:!0,scrollOnUserInput:!1}),this.resizer=new Ie.FitAddon,this.searcher=new ve.SearchAddon,this.renderer=new Re.WebglAddon}setup(e){if(this.setupState.hasCompleted)throw new l("Terminal is already set up");this.setupState.complete(),this.renderer.onContextLoss((()=>{this.renderer.dispose()})),this.instance.loadAddon(this.resizer),this.instance.loadAddon(this.searcher),this.instance.loadAddon(this.renderer),this.instance.loadAddon(new ke.Unicode11Addon),this.instance.unicode.activeVersion="11",this.instance.attachCustomKeyEventHandler((e=>Ke(e,"Control+KeyF")||Ke(e,"Meta+KeyF")?(e.preventDefault(),e.stopPropagation(),this.searchConfig.focus(),!1):!(Ke(e,"Control+KeyC")&&this.instance.hasSelection()||Ke(e,"Control+KeyV")))),this.webLinkProvider=e?.webLinkProvider?new Ne.WebLinksAddon(e.webLinkProvider.handler,{urlRegex:e.webLinkProvider.regex}):new Ne.WebLinksAddon,this.instance.loadAddon(this.webLinkProvider),(e?.commands??[]).forEach((e=>{[e.command,...e.aliases??[]].forEach((t=>{this.commandRegistry.has(t)?this.applicationStore.logService.warn(q.create(W.TERMINAL_COMMAND_CONFIGURATION_CHECK__FAILURE),`Found multiple duplicated terminal commands '${t}'`):this.commandRegistry.set(t,e)}))})),this.searcher.onDidChangeResults((e=>{this.setSearchResultCount(e.resultCount),this.setSearchCurrentResultIndex(e.resultIndex)})),this._TEMPORARY__onKeyListener=this.instance.onKey((({key:e,domEvent:t})=>{var n,r;if("ArrowUp"!==t.code)if("ArrowDown"!==t.code)if(this.commandHistoryNavigationIdx=void 0,"Enter"===t.code){if(this.command.trim()){const e=this.command,[t,...n]=e.replaceAll(/\s+/g," ").split(" ");if(this.addCommandToHistory(this.command),!t)return;const r=this.commandRegistry.get(t);if(!r)return void this.fail(`command not found: ${t}`);if(this.isRunningCommand)return;this.isRunningCommand=!0,r.handler(n.map((e=>e.trim())),t,e).catch((()=>{})).finally((()=>{this.isRunningCommand=!1,this.isFlushed||this.abort()}))}}else if(Ke(t,"Control+KeyD")||Ke(t,"Control+KeyC")&&!this.instance.hasSelection())this.abort();else if("Backspace"===t.code)this.deleteFromCommand(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!0):-1);else if("Delete"===t.code)this.deleteFromCommand(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!1):1);else if("ArrowLeft"===t.code){const e=this.computeCursorMovement(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!0):-1);this.instance.scrollLines(e.scroll),this.instance.write(e.seq)}else if("ArrowRight"===t.code){const e=this.computeCursorMovement(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!1):1);this.instance.scrollLines(e.scroll),this.instance.write(e.seq)}else e.match(/^[A-Za-z0-9!@#$%^&*()\-_=+"':;,.<>/?[\]{}|\\~` ]$/)?this.writeToCommand(e):(n=t,r=this.applicationStore,r.layoutService.getElementByID(Ln.TOP_LEVEL_CONTAINER)?.dispatchEvent(new KeyboardEvent(n.type,n)));else void 0!==this.commandHistoryNavigationIdx&&this.setCommandFromHistory(0===this.commandHistoryNavigationIdx?void 0:this.commandHistoryNavigationIdx-1);else this.setCommandFromHistory(void 0!==this.commandHistoryNavigationIdx?this.commandHistoryNavigationIdx+1:0)})),this._TEMPORARY__onDataListener=this.instance.onData((e=>{e.length>1&&!e.startsWith("")&&this.writeToCommand(e.replaceAll(/[^A-Za-z0-9!@#$%^&*()\-_=+"':;,.<>/?[\]{}|\\~` ]/g,"").trimEnd())}))}getCommandRange(){const e=this.instance.buffer.active,t=this.instance.cols,n=`${Un}${this.command}`,r=`${Un}${this.command.substring(0,t-2)}${this.command.length<t-2?" ".repeat(t-this.command.length-2):""}`;let o=0,a=0;for(let n=e.baseY+e.cursorY;n>-1;--n){if(_(e.getLine(n)).translateToString()===r){o=n,a+=(n===e.baseY+e.cursorY?e.cursorX:t)-2;break}a+=n===e.baseY+e.cursorY?e.cursorX:t}return{startY:o,startX:2,endY:o+(n.length-n.length%t)/t,endX:n.length%t,cursorIdx:a}}computeCursorJumpMovement(e){const t=this.getCommandRange();let n,r=!1;if(e){for(let e=t.cursorIdx-1;e>-1;--e)if(this.command.charAt(e).match(/\w/))r||(r=!0);else if(r){n=t.cursorIdx-e-1;break}}else for(let e=t.cursorIdx+1;e<this.command.length;++e)if(this.command.charAt(e).match(/\w/))r||(r=!0);else if(r){n=e-t.cursorIdx-1;break}return void 0===n&&(n=e?t.cursorIdx:this.command.length-t.cursorIdx),e?-n:n}computeCursorMovement(e,t=!0){const n=this.instance.buffer.active,r=this.instance.cols,o=this.instance.rows,a=this.getCommandRange(),i=t?e<0?a.cursorIdx:this.command.length-a.cursorIdx:e,s=Math.min(Math.abs(e),i);let c=n.cursorX,u=n.cursorY,d=n.baseY+n.cursorY;e<0?(c=(r+(n.cursorX-s)%r)%r,u=n.cursorY-(s>n.cursorX?Math.ceil(s/r):0),d=u+n.baseY,u=Math.max(u,-1)):e>0&&(c=(n.cursorX+s)%r,u=n.cursorY+(n.cursorX+s>=r?Math.floor((n.cursorX+s)/r):0),d=u+n.baseY,u=Math.min(u,o-1));const l=d>n.viewportY+o?d-(n.viewportY+o):d<n.viewportY?d-n.viewportY:0;return{seq:Le(u+1,c+1),scroll:l}}writeToCommand(e){const t=this.getCommandRange(),n=this.command.slice(0,t.cursorIdx),r=this.command.slice(t.cursorIdx),o=this.computeCursorMovement(e.length,!1);this.instance.scrollLines(o.scroll),this.instance.write(e+r+o.seq),this.setCommand(n+e+r)}deleteFromCommand(e){const t=this.getCommandRange(),n=e<0?t.cursorIdx:this.command.length-t.cursorIdx,r=Math.min(Math.abs(e),n);let o,a,i;if(0===e)return;e<0?(o=this.command.slice(0,t.cursorIdx-r),a=this.command.slice(t.cursorIdx,this.command.length),i=-r):(o=this.command.slice(0,t.cursorIdx),a=this.command.slice(t.cursorIdx+r,this.command.length),i=0);const s=this.computeCursorMovement(i);this.instance.scrollLines(s.scroll),this.instance.write(Le(t.startY+1,t.startX+1)+o+a+" ".repeat(r)+s.seq),this.setCommand(o+a)}get isSetup(){return this.setupState.hasCompleted}isFocused(){return document.activeElement===this.instance.textarea}mount(e){if(!this.setupState.hasCompleted)throw new l("XTerm terminal has not been set up yet");this.instance.open(e)}dispose(){this.searcher.dispose(),this.resizer.dispose(),this.renderer.dispose(),this.webLinkProvider?.dispose(),this._TEMPORARY__onKeyListener?.dispose(),this._TEMPORARY__onDataListener?.dispose(),this.instance.dispose()}autoResize(){this.resizer.fit()}focus(){this.instance.focus()}addCommandToHistory(e){e!==this.commandHistory.at(0)&&this.commandHistory.unshift(e)}setCommandFromHistory(e){const t=void 0===e?this.currentCommandSearchString:this.commandHistory.filter((e=>e.startsWith(this.currentCommandSearchString))).at(e);if(void 0!==t){let n=this.getCommandRange();this.instance.write(Le(n.startY+1,n.startX+1)+t.padEnd(this.command.length)),this.command=t,n=this.getCommandRange(),this.instance.write(Le(n.endY+1,n.endX+1)),this.commandHistoryNavigationIdx=e}}setCommand(e){this.command=e,this.currentCommandSearchString=e,this.commandHistoryNavigationIdx=void 0}newCommand(){this.instance.write(jn),this.setCommand("")}newSystemCommand(e){this.isRunningCommand||(this.command&&(this.abort(),this.newCommand()),this.instance.write(`${Be.DIM}(system: ${e})\n${Be.RESET}`))}flushScreen(){this.instance.write("c"),this.instance.reset()}get isFlushed(){const e=this.instance.buffer.active;let t=!0;for(let n=e.baseY+e.cursorY;n>-1;--n){const r=_(e.getLine(n)).translateToString();if(r.trim()){t=r!==Un;break}}return""===this.command&&t}clear(){this.flushScreen(),this.instance.scrollToTop(),this.newCommand()}resetANSIStyling(){this.instance.write(Be.RESET)}showHelp(){var e;this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write((e=this.commandRegistry,`\n${Be.BRIGHT_BLACK}+-------------------------------------------------------+${Be.RESET}\n${Be.BRIGHT_BLACK}|${Be.RESET} ${Be.BRIGHT_GREEN}[@@]${Be.RESET} "Hi! Welcome to the HELP menu of Pure IDE" ${Be.BRIGHT_BLACK}|${Be.RESET}\n${Be.BRIGHT_BLACK}|${Be.RESET} ${Be.BRIGHT_GREEN}/|__|\\${Be.RESET} ${Be.BRIGHT_BLACK}|${Be.RESET}\n${Be.BRIGHT_BLACK}+--${Be.RESET} ${Be.BRIGHT_GREEN}d b${Be.RESET} ${Be.BRIGHT_BLACK}-----------------------------------------------+${Be.RESET}\n\nFollowing is the list of supported commands:\n\n${(0,Me.Z)(Array.from(e.values()),(e=>e.command)).map((e=>`${Be.BRIGHT_GREEN}${e.command.padEnd(30)}${Be.RESET}${e.description}${e.aliases?.length?`\n${"".padEnd(30)}Aliases: ${e.aliases.join(", ")}`:""}\n${"".padEnd(30)}Usage: ${Be.DIM}${e.usage}${Be.RESET}`)).join("\n")}`)),this.abort()}showCommonANSIEscapeSequences(){this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write(`\nCommon ANSI Escape Sequences for Styling:\n\n${Object.entries(Be).map((([e,t])=>`${t}${(e=>e?e.trim().match(/^[A-Z_]+$/)?Ue(e.trim().replace(/_+/gu," ").toLowerCase()):xe(e.trim()).split(/(?<chunk>[A-Z][a-z]+|[0-9]+)/).map((e=>e.toUpperCase()===e?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).filter(Boolean).join(" ").replace(/_+/gu," ").replace(/\s+/gu," "):"")(e).padEnd(20)}${Be.RESET} ${t.replace("","\\u001b")}`)).join("\n")}`),this.abort()}abort(){this.resetANSIStyling(),this.instance.write("\n"),this.newCommand(),this.instance.scrollToBottom(),this.isRunningCommand=!1}fail(e,t){t?.systemCommand&&this.newSystemCommand(t.systemCommand),this.instance.write(`\n${Be.RED}${e}${Be.RED}`),this.abort()}output(e,t){this.resetANSIStyling(),t?.clear&&!this.preserveLog||!t?.systemCommand||this.newSystemCommand(t.systemCommand),!this.preserveLog&&t?.clear?this.flushScreen():(this.preserveLog||this.isRunningCommand)&&this.instance.write("\n"),this.instance.write(e),this.resetANSIStyling(),this.instance.write("\n"),this.instance.scrollToBottom(),this.newCommand()}search(e){this.searcher.findNext(e,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive,incremental:!0})}clearSearch(){this.searcher.clearDecorations(),this.instance.clearSelection(),this.setSearchText(""),this.setSearchResultCount(void 0),this.setSearchCurrentResultIndex(void 0)}findPrevious(){this.searcher.findPrevious(this.searchConfig.searchText,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}findNext(){this.searcher.findNext(this.searchConfig.searchText,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}getContent(){const e=this.instance.buffer.active,t=[];for(let n=0;n<e.length;++n){const r=_(e.getLine(n));t.push(r.translateToString())}return t.join("\n").trimEnd()}copy(){this.instance.hasSelection()?this.applicationStore.clipboardService.copyTextToClipboard(this.instance.getSelection()).catch(this.applicationStore.alertUnhandledError):this.applicationStore.notificationService.notifyWarning("Ther terminal has no selection to copy")}copyAll(){this.applicationStore.clipboardService.copyTextToClipboard(this.getContent()).catch(this.applicationStore.alertUnhandledError)}}class Hn{applicationStore;terminal;constructor(e){this.applicationStore=e,this.terminal=new Gn(e)}}const Vn="(unknown)";class Kn{applicationStore;currentUser=Vn;constructor(e){(0,ie.rC)(this,{currentUser:ie.LO,setCurrentUser:ie.aD}),this.applicationStore=e}get isAnonymous(){return this.currentUser===Vn}setCurrentUser(e){this.currentUser=e}}var Yn,Wn=n(7279);class qn{get localStorage(){return _(window.localStorage,"'window.localStorage' object is not available in non-web environment")}setItem(e,t){this.localStorage.setItem(e,t)}getItem(e){return this.localStorage.getItem(e)}removeItem(e){this.localStorage.removeItem(e)}clear(){this.localStorage.clear()}hasItem(e){return this.localStorage.hasItem(e)}}class $n{storeIndex;storageService;data;constructor(e,t){this.storageService=e,this.storeIndex=t,this.data=this.storageService.getIndex(this.storeIndex)??{}}getValue(e){return this.data[e]}getNumericValue(e){const t=this.getValue(e);return void 0!==t?v(t):void 0}getStringValue(e){const t=this.getValue(e);return void 0!==t?I(t):void 0}getBooleanValue(e){const t=this.getValue(e);return void 0!==t?k(t):void 0}getObjectValue(e){const t=this.getValue(e);return void 0!==t?((e,t="")=>(function(e,t=""){if(!N(e))throw new f(t||"Value is expected to be a object")}(e,t),e))(t):void 0}hasValue(e){return h(this.data[e])}persistValue(e,t){void 0!==t?this.data[e]=t:delete this.data[e],this.storageService.updateIndex(this.storeIndex,this.data)}}class Jn{applicationStore;storage;data;constructor(e){this.applicationStore=e,this.storage=new qn;const t=this.storage.getItem(e.config.applicationStorageKey);this.data=t?m((()=>JSON.parse(t)))??{}:{}}getIndex(e){return this.data[e]}updateIndex(e,t){(0,Wn.Z)(t)?delete this.data[e]:this.data[e]=t,this.storage.setItem(this.applicationStore.config.applicationStorageKey,JSON.stringify(this.data))}}class Xn{applicationStore;plugins=[];constructor(e){this.applicationStore=e}registerPlugins(e){this.plugins=e}setup(){const e={userId:this.applicationStore.identityService.currentUser,appName:this.applicationStore.config.appName,appEnv:this.applicationStore.config.env,appVersion:this.applicationStore.config.appVersion,appSessionId:this.applicationStore.uuid,appStartTime:this.applicationStore.timeService.timestamp};this.plugins.forEach((t=>t.setup(e)))}logEvent(e,t){this.plugins.forEach((n=>n.logEvent(e,t)))}}class zn{timestamp=Date.now();interruptions=[];recordUsageInterruption(){this.interruptions.push(Date.now())}finalizeTimingsRecord(e,t){const n=e.elapsed,r=e.startTime,o=r+n,a={...t??{},...Object.fromEntries(e.records),total:n};let i=0;for(const e of this.interruptions)if(e>=r&&e<=o)i++;else if(e>o)break;return i>0?{...a,__numberOfInteruptions:i}:a}}!function(e){e.DEFAULT_DARK="default-dark",e.LEGACY_LIGHT="legacy-light",e.HIGH_CONTRAST_LIGHT="hc-light"}(Yn||(Yn={}));const Qn={name:"Default Dark (default)",key:Yn.DEFAULT_DARK,TEMPORARY__globalCSSClassName:"theme__default-dark",colors:{"data-access-overview.chart.access-granted":"#6a9955","data-access-overview.chart.access-approved":"#007acc","data-access-overview.chart.access-requested":"#fbbc05","data-access-overview.chart.access-not-granted":"#ea4646","data-access-overview.chart.unsupported-access":"#2d2d2d"}},Zn={name:"Legacy Light",key:Yn.LEGACY_LIGHT,TEMPORARY__globalCSSClassName:"theme__legacy-light"},er={name:"High-Contrast Light",key:Yn.HIGH_CONTRAST_LIGHT,TEMPORARY__globalCSSClassName:"theme__hc-light",colors:{"data-access-overview.chart.access-granted":"#52a31d","data-access-overview.chart.access-approved":"#3d8df5","data-access-overview.chart.access-requested":"#f5c518","data-access-overview.chart.access-not-granted":"#fa5343","data-access-overview.chart.unsupported-access":"#e1e7ea"}};var tr;!function(e){e.COLOR_THEME="application.layout.colorTheme"}(tr||(tr={}));const nr={[tr.COLOR_THEME]:{defaultValue:Yn.DEFAULT_DARK}};class rr{applicationStore;backdropContainerElementID;showBackdrop=!1;colorThemeRegistry=new Map;currentColorTheme;constructor(e){(0,ie.rC)(this,{currentColorTheme:ie.LO.ref,TEMPORARY__isLightColorThemeEnabled:ie.Fl,backdropContainerElementID:ie.LO,showBackdrop:ie.LO,setBackdropContainerElementID:ie.aD,setShowBackdrop:ie.aD,setColorTheme:ie.aD}),this.applicationStore=e,this.colorThemeRegistry.set(Yn.DEFAULT_DARK,Qn),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraColorThemes?.()??[])).forEach((e=>{this.colorThemeRegistry.has(e.key)?this.applicationStore.logService.warn(q.create(W.COLOR_THEME_CONFIGURATION_CHECK__FAILURE),`Found duplicated color themes with key '${e.key}'`):this.colorThemeRegistry.set(e.key,e)}));const t=this.applicationStore.settingService.getStringValue(tr.COLOR_THEME)??Yn.DEFAULT_DARK;this.currentColorTheme=_(this.colorThemeRegistry.get(t)),this.TEMPORARY__syncGlobalCSSClassName(this.currentColorTheme,void 0)}getElementByID(e){return document.querySelector(`[data-elementid='${e}']`)??void 0}setBackdropContainerElementID(e){this.backdropContainerElementID=e}setShowBackdrop(e){this.showBackdrop=e}get TEMPORARY__isLightColorThemeEnabled(){return this.currentColorTheme.key!==Yn.DEFAULT_DARK}TEMPORARY__syncGlobalCSSClassName(e,t){t&&document.body.classList.remove(t.TEMPORARY__globalCSSClassName),document.body.classList.add(e.TEMPORARY__globalCSSClassName)}setColorTheme(e,t){const n=this.colorThemeRegistry.get(e);if(e===this.currentColorTheme.key||!n)return;const r=this.currentColorTheme;this.currentColorTheme=n,this.TEMPORARY__syncGlobalCSSClassName(n,r),t?.persist&&this.applicationStore.settingService.persistValue(tr.COLOR_THEME,e)}getColor(e){return this.currentColorTheme.colors?.[e]??_(this.colorThemeRegistry.get(Yn.DEFAULT_DARK)).colors?.[e]??"transparent"}}class or{applicationStore;constructor(e){this.applicationStore=e}async copyTextToClipboard(e,t){await navigator.clipboard.writeText(e).catch((e=>{this.applicationStore.notificationService.notifyError(e)})).finally((()=>{t?.notifySuccessMessage&&this.applicationStore.notificationService.notifySuccess(t.notifySuccessMessage)}))}}class ar{navigator;constructor(e){this.navigator=e}}var ir,sr=n(5741);class cr{applicationStore;storage;registry=new Map;constructor(e){this.applicationStore=e,this.storage=new $n(this.applicationStore.storageService,"application-settings-storage"),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraSettingConfigurationEntries?.()??[])).forEach((e=>{this.registry.has(e.key)?this.applicationStore.logService.warn(q.create(W.SETTING_CONFIGURATION_CHECK__FAILURE),`Found duplicated setting with key '${e.key}'`):this.registry.set(e.key,e)}))}getNumericValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(S(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve numeric value for setting '${e}'`)}getStringValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(y(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve string value for setting '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(C(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve boolean value for setting '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(N(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve object value for setting '${e}'`)}persistValue(e,t){const n=this.registry.get(e)?.defaultValue;this.storage.persistValue(e,void 0!==n&&(0,sr.Z)(n,t)?void 0:t)}}class ur{goToLocation(e,t){throw new g("Navigator does not support this operation")}reload(e){throw new g("Navigator does not support this operation")}goToAddress(e,t){throw new g("Navigator does not support this operation")}visitAddress(e){throw new g("Navigator does not support this operation")}generateAddress(e){throw new g("Navigator does not support this operation")}updateCurrentLocation(e){throw new g("Navigator does not support this operation")}updateCurrentZone(e){throw new g("Navigator does not support this operation")}resetZone(){throw new g("Navigator does not support this operation")}getCurrentBaseAddress(e){throw new g("Navigator does not support this operation")}getCurrentAddress(){throw new g("Navigator does not support this operation")}getCurrentLocation(){throw new g("Navigator does not support this operation")}getCurrentLocationParameters(){throw new g("Navigator does not support this operation")}getCurrentLocationParameterValue(e){throw new g("Navigator does not support this operation")}getCurrentZone(){throw new g("Navigator does not support this operation")}blockNavigation(e,t,n){throw new g("Navigator does not support this operation")}unblockNavigation(){throw new g("Navigator does not support this operation")}get isNavigationBlocked(){throw new g("Navigator does not support this operation")}INTERNAL__internalizeTransientParameter(e){throw new g("Navigator does not support this operation")}}class dr{applicationStore;storage;constructor(e){this.applicationStore=e,this.storage=new $n(this.applicationStore.storageService,"application-user-data-storage")}getNumericValue(e){const t=this.storage.getValue(e);if(S(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve numeric value for user data '${e}'`)}getStringValue(e){const t=this.storage.getValue(e);if(y(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve string value for user data '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e);if(C(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve boolean value for user data '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e);if(N(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve object value for user data '${e}'`)}persistValue(e,t){this.storage.persistValue(e,t)}}class lr{uuid=(0,a.Z)();extensionStates=[];config;pluginManager;initState=se.create();platform;timeService;logService;storageService;userDataService;settingService;alertService;notificationService;identityService;commandService;keyboardShortcutsService;layoutService;clipboardService;terminalService;navigationService;navigationContextService;documentationService;assistantService;eventService;telemetryService;tracerService;constructor(e,t){this.config=e,this.pluginManager=t,this.timeService=new zn,this.logService=new $,this.logService.registerPlugins(t.getLoggerPlugins()),this.storageService=new Jn(this),this.settingService=new cr(this),this.userDataService=new dr(this),this.alertService=new lt(this),this.notificationService=new on,this.identityService=new Kn(this),this.layoutService=new rr(this),this.clipboardService=new or(this),this.terminalService=new Hn(this),this.commandService=new ye(this),this.keyboardShortcutsService=new Se(this),this.navigationService=new ar(new ur),this.navigationContextService=new Ae(this),this.documentationService=new re(this),this.assistantService=new _e(this),this.eventService=new be,this.eventService.registerEventNotifierPlugins(t.getEventNotifierPlugins()),this.telemetryService=new Xn(this),this.telemetryService.registerPlugins(t.getTelemetryServicePlugins()),this.telemetryService.setup(),this.tracerService=new ue,this.tracerService.registerPlugins(t.getTracerServicePlugins()),this.extensionStates=this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationExtensionStateBuilders?.()??[])).map((e=>e(this))).filter(h)}async initialize(e){if(this.initState.isInInitialState){this.initState.inProgress();try{if(this.platform)throw new l("Platform is already configured");this.platform=e,this.navigationService=new ar(e.getNavigator()),await e.initialize(),this.initState.pass()}catch(e){p(e),this.notificationService.notifyError(e),this.logService.error(q.create(W.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),this.initState.fail()}}else this.notificationService.notifyIllegalState("Application store is re-initialized")}alertUnhandledError=e=>{this.logService.error(q.create(W.ILLEGAL_APPLICATION_STATE_OCCURRED),"Encountered unhandled error in component tree",e),this.notificationService.notifyIllegalState(e.message)};guardUnhandledError=e=>()=>{e().catch(this.alertUnhandledError)}}!function(e){e.TAG_REQUEST="download-request",e.TAG_RESPONSE="download-response",e.STREAM_CLOSED="#stream-closed",e.STREAM_ABORTED="#stream-aborted"}(ir||(ir={}));class gr{}class pr extends gr{debug(e,...t){console.debug(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}info(e,...t){console.info(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}warn(e,...t){console.warn(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}error(e,...t){console.error(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}}class mr{config;logger;pluginManager;basePresets=[];basePlugins=[];baseAddress;pluginRegister;_isConfigured=!1;downloadHelperServiceWorkerPath;downloadHelper=!1;constructor(e){this.pluginManager=e,this.logger=new pr}setup(e){return this.baseAddress=T(e.baseAddress,"Can't setup application: 'baseAddress' is missing or empty"),this.pluginRegister=e.pluginRegister,this._isConfigured=!0,this}withBasePresets(e){return this.basePresets=e,this.withPresets([])}withBasePlugins(e){return this.basePlugins=e,this.withPlugins([])}withPresets(e){return this.pluginManager.usePresets([...this.basePresets,...e]),this}withPlugins(e){return this.pluginManager.usePlugins([...this.basePlugins,...e]),this}withDownloadHelper(e){return this.downloadHelper=!0,this.downloadHelperServiceWorkerPath=e,this}async fetchApplicationConfiguration(e){const t=new V;let n,r;try{n=await t.get(`${window.location.origin}${e}config.json`)}catch(e){p(e),this.logger.error(q.create(W.APPLICATION_CONFIGURATION__FAILURE),e)}E(n,"Can't fetch Legend application configuration");try{r=await t.get(`${window.location.origin}${e}version.json`)}catch(e){p(e),this.logger.error(q.create(W.APPLICATION_CONFIGURATION__FAILURE),e)}return E(r,"Can't fetch Legend application version"),[await this.configureApplication({configData:n,versionData:r,baseAddress:e}),n.extensions??{}]}async loadDocumentationRegistryData(e){const t={};await Promise.all([...e.documentationRegistryEntries,...this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraDocumentationRegistryEntries?.()??[]))].map((async e=>{try{const n=new V(e.simple?{options:{credentials:"omit"}}:{}),r=await n.get(T(e.url,"Can't load documentation registry: 'url' field is missing or empty"));E(r.entries,"Can't load documentation registry data: 'entries' field is missing");const o=e.includes?.map((e=>new RegExp(`^${e.trim().replace(/[\^$\\.+?()[\]{}|]/g,"\\$&").replace(/\*/g,".*")}$`)));Object.entries(r.entries).forEach((([e,n])=>{o&&!o.some((t=>t.test(e)))||t[e]||(t[e]=n)}))}catch(e){p(e),this.logger.warn(q.create(W.DOCUMENTATION_FETCH__FAILURE),e)}}))),e.keyedDocumentationEntries=[...ne(t),...e.keyedDocumentationEntries]}async start(){E(this._isConfigured,"Legend application has not been configured properly. Make sure to run setup() before start()");try{const[e,t]=await this.fetchApplicationConfiguration(this.baseAddress);this.config=e,this.pluginRegister?.(this.pluginManager,this.config),this.pluginManager.configure(t),this.pluginManager.install(),await Promise.all([this.loadDocumentationRegistryData(e)]);const n=new lr(this.config,this.pluginManager);await Promise.all(this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationSetups?.()??[])).map((e=>e(n)))),await this.loadApplication(n),this.logger.info(q.create(W.APPLICATION_LOAD__SUCCESS),"Legend application loaded"),this.downloadHelper&&function(e){if("serviceWorker"in navigator){const t=e??"/ServiceWorker.js";navigator.serviceWorker.register(t).then((e=>{console.debug(`register service worker success with path: ${t}`,e)})).catch((e=>{console.debug(`register service worker error with path: ${t}`,e)}))}}(this.downloadHelperServiceWorkerPath)}catch(e){throw p(e),this.logger.error(q.create(W.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),e}}}const fr="legend-application-root",hr=JSON.parse('{"i8":"15.0.74","Rw":{"j":"@finos/legend-application-plugin-core"}}');class Er{name;version;signature;uuid}class _r{name;version;uuid=(0,a.Z)();constructor(e,t){this.name=e,this.version=t}getName(){return this.name}getVersion(){return this.version}getSignature(){return`${this.getName()}@${this.getVersion()}`}getUUID(){return this.uuid}getInfo(){const e=new Er;return e.name=this.getName(),e.version=this.getVersion(),e.signature=this.getSignature(),e.uuid=this.getUUID(),e}configure(e){return this}}class br{plugins=[];presets=[];usePlugins(e){return this.plugins=e,this}usePresets(e){return this.presets=e,this}configure(e){Object.keys(e).forEach((t=>{const n=e[t];this.presets.forEach((e=>{e.getName()===t&&e.configure(n)})),this.plugins.forEach((e=>{e.getName()===t&&e.configure(n)}))}))}install(){this.plugins.forEach((e=>e.install(this))),this.presets.forEach((e=>e.install(this)))}getInfo(){return{plugins:this.plugins.filter((e=>!this.getHiddenPluginNames().includes(e.getName()))).map((e=>e.getInfo())).sort(((e,t)=>e.name.localeCompare(t.name))),presets:this.presets.filter((e=>!this.getHiddenPresetNames().includes(e.getName()))).map((e=>e.getInfo())).sort(((e,t)=>e.name.localeCompare(t.name)))}}getHiddenPluginNames(){return[]}getHiddenPresetNames(){return[]}}class Tr extends _r{}class Ar extends Tr{static NAME=hr.Rw.j;constructor(){super(Ar.NAME,hr.i8)}install(e){e.registerApplicationPlugin(this)}getExtraApplicationSetups(){return[async e=>{(0,ie.jQ)({enforceActions:"observed"})}]}getExtraColorThemes(){return[Zn,er]}getExtraSettingConfigurationEntries(){return e=nr,Object.entries(e).map((e=>({key:e[0],...e[1]})));var e}}class yr{appName;baseAddress;env;applicationStorageKey;documentationUrl;documentationLinkEntries=[];documentationRegistryEntries=[];keyedDocumentationEntries=[];contextualDocEntries=[];appVersion;appVersionBuildTime;appVersionCommitId;constructor(e){var t,n;this.baseAddress=e.baseAddress,this.appName=T(e.configData.appName,"Can't configure application: 'appName' field is missing or empty"),this.env=T(e.configData.env,"Can't configure application: 'env' field is missing or empty"),this.applicationStorageKey=e.configData.application?.storageKey??this.getDefaultApplicationStorageKey(),this.documentationUrl=e.configData.documentation?.url,this.documentationLinkEntries=(t=e.configData.documentation?.links??{},Object.entries(t).map((e=>({key:T(e[0],"Documentation link 'key' is missing"),label:T(e[1].label,"Documentation link 'label' is missing"),url:T(e[1].url,"Documentation link 'url' is missing")})))),this.documentationRegistryEntries=e.configData.documentation?.registry??[],this.keyedDocumentationEntries=ne(e.configData.documentation?.entries??{}),this.contextualDocEntries=(n=e.configData.documentation?.contextualEntries??{},Object.entries(n).map((e=>({context:e[0],documentationKey:e[1]})))),this.appVersion=_(e.versionData.version,"Can't collect application version: 'version' field is missing"),this.appVersionBuildTime=_(e.versionData.buildTime,"Can't collect application version: 'buildTime' field is missing"),this.appVersionCommitId=_(e.versionData.commitSHA,"Can't collect application version: 'commitSHA' field is missing")}static resolveAbsoluteUrl(e){return e.trim().startsWith("/")?window.location.origin+e:e}}class Sr extends yr{replUrl;useDynamicREPLServer=!1;constructor(e){super(e),E(e.configData.repl,"Can't configure application: 'repl' field is missing"),this.replUrl=yr.resolveAbsoluteUrl(T(e.configData.repl.url,"Can't configure application: 'repl.url' field is missing or empty")),void 0!==e.configData.repl.dynamic&&(this.useDynamicREPLServer=Boolean(e.configData.repl.dynamic))}getDefaultApplicationStorageKey(){return"legend-repl"}}class Cr extends br{loggerPlugins=[];telemetryServicePlugins=[];tracerServicePlugins=[];eventNotifierPlugins=[];applicationPlugins=[];registerLoggerPlugin(e){this.loggerPlugins.push(e)}registerTelemetryServicePlugin(e){this.telemetryServicePlugins.push(e)}registerTracerServicePlugin(e){this.tracerServicePlugins.push(e)}registerEventNotifierPlugin(e){this.eventNotifierPlugins.push(e)}registerApplicationPlugin(e){this.applicationPlugins.push(e)}getLoggerPlugins(){return[...this.loggerPlugins]}getTelemetryServicePlugins(){return[...this.telemetryServicePlugins]}getTracerServicePlugins(){return[...this.tracerServicePlugins]}getEventNotifierPlugins(){return[...this.eventNotifierPlugins]}getApplicationPlugins(){return[...this.applicationPlugins]}}class Nr extends Cr{pureProtocolProcessorPlugins=[];pureGraphManagerPlugins=[];pureGraphPlugins=[];constructor(){super()}static create(){return new Nr}registerPureProtocolProcessorPlugin(e){this.pureProtocolProcessorPlugins.push(e)}registerPureGraphManagerPlugin(e){this.pureGraphManagerPlugins.push(e)}registerPureGraphPlugin(e){this.pureGraphPlugins.push(e)}getPureGraphManagerPlugins(){return[...this.pureGraphManagerPlugins]}getPureProtocolProcessorPlugins(){return[...this.pureProtocolProcessorPlugins]}getPureGraphPlugins(){return[...this.pureGraphPlugins]}}var Ir,vr=n(979),kr=n(4926);class Rr{historyAPI;_isNavigationBlocked=!1;_forceBypassNavigationBlocking=!1;_blockCheckers=[];_beforeUnloadListener=e=>{this._forceBypassNavigationBlocking||this._blockCheckers.some((e=>e()))&&(e.returnValue="")};onBlock;onNativePlatformNavigationBlock;constructor(e){(0,ie.rC)(this,{_isNavigationBlocked:ie.LO,isNavigationBlocked:ie.Fl,blockNavigation:ie.aD,unblockNavigation:ie.aD}),this.historyAPI=e}get window(){return _(window,"Window object is not available in non-web environment")}goToLocation(e,t){t?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const n=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.href=this.generateAddress(e)};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(n):n()}reload(e){e?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const t=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.reload()};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(t):t()}goToAddress(e,t){t?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const n=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.href=e};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(n):n()}visitAddress(e){this.window.open(e,"_blank")}generateAddress(e){return this.window.location.origin+this.historyAPI.createHref({pathname:e})}updateCurrentLocation(e){this.historyAPI.push(e)}updateCurrentZone(e){this.window.location.hash="#"+e}resetZone(){this.updateCurrentLocation(this.getCurrentLocation())}getCurrentBaseAddress(e){return e?.withAppRoot?this.generateAddress(""):this.window.location.origin}getCurrentAddress(){return this.window.location.href}getCurrentLocation(){return this.historyAPI.location.pathname}getCurrentLocationParameters(){const e={},t=((e,t=!1)=>t?F.Z.parseUrl(e).query:F.Z.parse(e))((n=this.getCurrentAddress(),(0,B.Nm)(n)),!0);var n;return Object.keys(t).forEach((n=>{e[n]=((e,t)=>{const n=t[e];return n?decodeURIComponent(n):void 0})(n,t)})),e}getCurrentLocationParameterValue(e){return this.getCurrentLocationParameters()[e]}getCurrentZone(){return this.window.location.hash.substring(1)}blockNavigation(e,t,n){this._isNavigationBlocked=!0,this.onBlock=t,this.onNativePlatformNavigationBlock=n,this.window.history.pushState(null,"",this.getCurrentAddress()),this.window.onpopstate=()=>{window.history.forward(),this.onNativePlatformNavigationBlock?.()},this._blockCheckers=e,this.window.removeEventListener("beforeunload",this._beforeUnloadListener),this.window.addEventListener("beforeunload",this._beforeUnloadListener)}unblockNavigation(){this._isNavigationBlocked=!1,this.onBlock=void 0,this.window.onpopstate=null,this._blockCheckers=[],this.window.removeEventListener("beforeunload",this._beforeUnloadListener)}get isNavigationBlocked(){return this._isNavigationBlocked}INTERNAL__internalizeTransientParameter(e){const t=this.getCurrentZone(),n=this.getCurrentLocationParameters();var r,o;delete n[e],this.updateCurrentLocation((r=this.getCurrentLocation(),o=(e=>{const t={};return Object.entries(e).forEach((([e,n])=>{n&&(t[e]=n.toString())})),F.Z.stringify(t)})(n),o?`${r}?${o}`:r)),this.updateCurrentZone(t)}}class Or{applicationStore;constructor(e){this.applicationStore=e}async initialize(){}}!function(e){e.INITIAL_COLOR_THEME="initialColorTheme"}(Ir||(Ir={}));class Fr extends Or{navigator;constructor(e,t){super(e),this.navigator=new Rr(t.historyAPI)}getNavigator(){return this.navigator}async initialize(){const e=this.applicationStore.navigationService.navigator.getCurrentLocationParameterValue(Ir.INITIAL_COLOR_THEME);e&&(this.applicationStore.layoutService.setColorTheme(e),this.applicationStore.navigationService.navigator.INTERNAL__internalizeTransientParameter(Ir.INITIAL_COLOR_THEME))}}const Br=(0,gt.createContext)(void 0),Lr=({children:e})=>{const t=mt(),n=(0,vr.k6)(),o=(0,Qe.fv)((()=>new Fr(t,{historyAPI:n})));return(0,r.jsx)(Br.Provider,{value:o,children:e})},wr=({children:e,baseUrl:t})=>(0,r.jsx)(kr.VK,{basename:t,children:(0,r.jsx)(Lr,{children:e})});class Pr{networkClient;constructor(e){this.networkClient=e}get baseUrl(){return _(this.networkClient.baseUrl,"REPL client has not been configured properly")}getREPLGridServerResult=e=>this.networkClient.post(`${this.baseUrl}/gridResult`,e,void 0,void 0);getIntialQueryLambda=()=>this.networkClient.get(`${this.baseUrl}/initialLambda`,void 0,void 0,void 0);executeLambda=(e,t)=>this.networkClient.post(`${this.baseUrl}/executeLambda`,e,void 0,void 0,{isPaginationEnabled:t});getTypeaheadResults=e=>this.networkClient.post(`${this.baseUrl}/typeahead`,e,void 0,void 0);parseQuery=e=>this.networkClient.post(`${this.baseUrl}/parseQuery`,e,void 0,void 0);getInitialREPLGridServerResult=e=>this.networkClient.get(`${this.baseUrl}/gridResult`,void 0,void 0,{isPaginationEnabled:e});getLicenseKey=()=>this.networkClient.get(`${this.baseUrl}/licenseKey`,void 0,void 0,void 0)}class Dr{currentQuery;result;static serialization=new X((0,J.yu)(Dr,{currentQuery:(0,J.Ru)(),result:(0,J.Ru)()}))}var Mr,xr,jr,Ur,Gr,Hr,Vr,Kr,Yr,Wr,qr,$r,Jr,Xr,zr,Qr,Zr;!function(e){e.FETCH_TDS_FAILURE="repl.fetch-tds.failure",e.BUILD_TDS_EQUEST_FAILURE="repl.build-tds-request.failure"}(Mr||(Mr={})),function(e){e.PAGINATION="application.pagination.enabled"}(xr||(xr={})),function(e){e.FILTER="filter",e.SORT="sort",e.SLICE="slice",e.GROUPBY="groupBy",e.NOT="not",e.FROM="from"}(jr||(jr={})),function(e){e.EQUALS="equal",e.NOT_EQUAL="notEqual",e.GREATER_THAN="greaterThan",e.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",e.LESS_THAN="lessThan",e.LESS_THAN_OR_EQUAL="lessThanOrEqual",e.BLANK="isEmpty",e.NOT_BLANK="isNotEmpty",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.STARTS_WITH="startsWith",e.ENDS_WITH="endsWith"}(Ur||(Ur={})),function(e){e.AND="and",e.OR="or"}(Gr||(Gr={})),function(e){e.SUM="sum",e.MIN="min",e.MAX="max",e.COUNT="count",e.AVG="avg",e.FIRST="first",e.LAST="last"}(Hr||(Hr={})),function(e){e.ASCENDING="ascending",e.DESCENDING="descending"}(Vr||(Vr={})),function(e){e.TEXT="text",e.NUMBER="number"}(Kr||(Kr={}));class eo{operation;value;constructor(e,t){this.operation=e,this.value=t}}class to{column;columnType;conditions;groupOperation;constructor(e,t,n,r){this.column=e,this.columnType=t,this.conditions=n,this.groupOperation=r}}class no{column;order;constructor(e,t){this.column=e,this.order=t}}class ro{column;columnType;function;constructor(e,t,n){this.column=e,this.columnType=t,this.function=n}}class oo{columns;groupKeys;aggregations;constructor(e,t,n){this.columns=e,this.groupKeys=t,this.aggregations=n}}class ao{startRow;endRow;columns;filter;sort;groupBy;constructor(e,t,n,r,o,a){this.startRow=o,this.endRow=a,this.columns=e,this.filter=t,this.sort=n,this.groupBy=r}}!function(e){e.CORE="CORE",e.MAIN="ROOT",e.MODEL_GENERATION="MODEL_GENERATION_ROOT",e.SYSTEM="SYSTEM_ROOT",e.PROJECT_DEPENDENCY_ROOT="PROJECT_DEPENDENCY_ROOT"}(Yr||(Yr={})),($r=Wr||(Wr={})).STRING="String",$r.BOOLEAN="Boolean",$r.BINARY="Binary",$r.NUMBER="Number",$r.INTEGER="Integer",$r.FLOAT="Float",$r.DECIMAL="Decimal",$r.DATE="Date",$r.STRICTDATE="StrictDate",$r.DATETIME="DateTime",$r.STRICTTIME="StrictTime",$r.LATESTDATE="LatestDate",$r.BYTE="Byte",function(e){e.Service_Test="serviceTest",e.Mapping_Test="mappingTest",e.Function_Test="functionTest"}(qr||(qr={})),function(e){e.ANY="meta::pure::metamodel::type::Any",e.NIL="meta::pure::metamodel::type::Nil",e.PROFILE_DOC="meta::pure::profiles::doc",e.PROFILE_TEMPORAL="meta::pure::profiles::temporal",e.PROFILE="meta::pure::metamodel::extension::Profile",e.ENUMERATION="meta::pure::metamodel::type::Enumeration",e.MEASURE="meta::pure::metamodel::type::Measure",e.CLASS="meta::pure::metamodel::type::Class",e.ASSOCIATION="meta::pure::metamodel::relationship::Association",e.FUNCTION="meta::pure::metamodel::function::ConcreteFunctionDefinition",e.FLAT_DATA="meta::flatData::metamodel::FlatData",e.DATABASE="meta::relational::metamodel::Database",e.MAPPING="meta::pure::mapping::Mapping",e.SERVICE="meta::legend::service::metamodel::Service",e.CONNECTION="meta::pure::runtime::PackageableConnection",e.RUNTIME="meta::pure::runtime::PackageableRuntime",e.EXECUTION_ENVIRONMENT="meta::legend::service::metamodel::ExecutionEnvironmentInstance",e.FILE_GENERATION="meta::pure::generation::metamodel::GenerationConfiguration",e.GENERATION_SPECIFICATION="meta::pure::generation::metamodel::GenerationSpecification",e.SECTION_INDEX="meta::pure::metamodel::section::SectionIndex",e.DATA_ELEMENT="meta::pure::data::DataElement",e.SNOWFLAKE_APP="meta::external::function::activator::snowflakeApp::SnowflakeApp",e.HOSTED_SERVICE="meta::external::function::activator::hostedService::HostedService"}(Jr||(Jr={})),function(e){e.BUSINESS_TEMPORAL="businesstemporal",e.PROCESSING_TEMPORAL="processingtemporal",e.BITEMPORAL="bitemporal"}(Xr||(Xr={})),function(e){e.ALL_VERSIONS="AllVersions",e.ALL_VERSIONS_IN_RANGE="AllVersionsInRange"}(zr||(zr={})),function(e){e.CLASS="CLASS",e.STORE="STORE",e.MAPPING="MAPPING",e.RUNTIME="RUNTIME",e.FUNCTION="FUNCTION",e.FILE_GENERATION="FILE_GENERATION",e.SERVICE="SERVICE",e.DATA="DATA"}(Qr||(Qr={})),function(e){e.LET="meta::pure::functions::lang::letFunction",e.NEW="meta::pure::functions::meta::new",e.FROM="meta::pure::mapping::from"}(Zr||(Zr={}));const io=e=>{switch(e){case"equals":return Ur.EQUALS;case"notEqual":return Ur.NOT_EQUAL;case"greaterThan":return Ur.GREATER_THAN;case"greaterThanOrEqual":return Ur.GREATER_THAN_OR_EQUAL;case"lessThan":return Ur.LESS_THAN;case"lessThanOrEqual":return Ur.LESS_THAN_OR_EQUAL;case"blank":return Ur.BLANK;case"notBlank":return Ur.NOT_BLANK;case"contains":return Ur.CONTAINS;case"notContains":return Ur.NOT_CONTAINS;case"startsWith":return Ur.STARTS_WITH;case"endsWith":return Ur.ENDS_WITH;default:throw new Error(`Unsupported filter operation ${e}`)}},so=(e,t,n)=>{if(!e)return{};const r=t.builder.columns.find((e=>e.name===n))?.type;switch(r){case Wr.STRING:return{filter:"agTextColumnFilter",allowedAggFuncs:["count"]};case Wr.DATE:case Wr.DATETIME:case Wr.STRICTDATE:return{filter:"agDateColumnFilter",allowedAggFuncs:["count"]};case Wr.DECIMAL:case Wr.INTEGER:case Wr.FLOAT:return{filter:"agNumberColumnFilter",allowedAggFuncs:["count","sum","max","min","avg"]};default:return{allowedAggFuncs:["count"]}}},co=e=>e?{minWidth:50,sortable:!0,flex:1,resizable:!0,enableRowGroup:!0,allowedAggFuncs:["count","sum","max","min","avg"],enableValue:!0,menuTabs:["filterMenuTab","generalMenuTab","columnsMenuTab"]}:{minWidth:50,sortable:!0,flex:1,resizable:!0,menuTabs:["filterMenuTab","generalMenuTab","columnsMenuTab"]},uo=e=>e.rows.map(((t,n)=>{const r={},o=e.columns;return t.values.forEach(((e,t)=>{r[o[t]]=C(e)?String(e):e})),r.rowNumber=n,r}));var lo,go=n(2056);!function(e){e.WHITESPACE="",e.KEYWORD="keyword",e.IDENTIFIER="identifier",e.OPERATOR="operator",e.DELIMITER="delimiter",e.PARSER="parser",e.NUMBER="number",e.DATE="date",e.COLOR="color",e.PACKAGE="package",e.STRING="string",e.COMMENT="comment",e.LANGUAGE_STRUCT="language-struct",e.MULTIPLICITY="multiplicity",e.GENERICS="generics",e.PROPERTY="property",e.PARAMETER="parameter",e.VARIABLE="variable",e.TYPE="type",e.INVALID="invalid"}(lo||(lo={}));const po=(e,t,n,r)=>{const o=(e=>{const t=[];e.tokenColors.forEach((e=>{if(!e.settings)return;let n=[];n=y(e.scope)?e.scope.replace(/^[,]+/,"").replace(/[,]+$/,"").split(",").map((e=>e.trim())):Array.isArray(e.scope)?e.scope:[""];const r={};e.settings.foreground&&y(e.settings.foreground)&&(r.foreground=e.settings.foreground),e.settings.background&&y(e.settings.background)&&(r.background=e.settings.background),e.settings.fontStyle&&y(e.settings.fontStyle)&&(r.fontStyle=e.settings.fontStyle),n.forEach((e=>{if(h(e)||!Object.keys(r).length)return;const n={...r,token:e};t.push(n)}))}));const n={};return Object.entries(e.colors).forEach((([e,t])=>{var r;Array.isArray(t)?t.length&&(n[e]=(A(0<(r=t).length,"Index out of bound: 0"),_(r[0],void 0))):n[e]=t})),{base:"vs-dark",inherit:!0,rules:t,colors:n}})(e);return{...o,base:t,colors:{...o.colors,...n},rules:[...o.rules,...r]}},mo=JSON.parse('{"name":"Solarized (dark)","tokenColors":[{"settings":{"foreground":"#839496"}},{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown"],"settings":{"foreground":"#839496"}},{"name":"Comment","scope":"comment","settings":{"fontStyle":"italic","foreground":"#586E75"}},{"name":"String","scope":"string","settings":{"foreground":"#2AA198"}},{"name":"Regexp","scope":"string.regexp","settings":{"foreground":"#DC322F"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#D33682"}},{"name":"Variable","scope":["variable.language","variable.other"],"settings":{"foreground":"#268BD2"}},{"name":"Keyword","scope":"keyword","settings":{"foreground":"#859900"}},{"name":"Storage","scope":"storage","settings":{"fontStyle":"bold","foreground":"#93A1A1"}},{"name":"Class name","scope":["entity.name.class","entity.name.type","entity.name.namespace","entity.name.scope-resolution"],"settings":{"fontStyle":"","foreground":"#CB4B16"}},{"name":"Function name","scope":"entity.name.function","settings":{"foreground":"#268BD2"}},{"name":"Variable start","scope":"punctuation.definition.variable","settings":{"foreground":"#859900"}},{"name":"Embedded code markers","scope":["punctuation.section.embedded.begin","punctuation.section.embedded.end"],"settings":{"foreground":"#DC322F"}},{"name":"Built-in constant","scope":["constant.language","meta.preprocessor"],"settings":{"foreground":"#B58900"}},{"name":"Support.construct","scope":["support.function.construct","keyword.other.new"],"settings":{"foreground":"#CB4B16"}},{"name":"User-defined constant","scope":["constant.character","constant.other"],"settings":{"foreground":"#CB4B16"}},{"name":"Inherited class","scope":"entity.other.inherited-class","settings":{"foreground":"#6C71C4"}},{"name":"Function argument","scope":"variable.parameter","settings":{}},{"name":"Tag name","scope":"entity.name.tag","settings":{"foreground":"#268BD2"}},{"name":"Tag start/end","scope":"punctuation.definition.tag","settings":{"foreground":"#586E75"}},{"name":"Tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#93A1A1"}},{"name":"Library function","scope":"support.function","settings":{"foreground":"#268BD2"}},{"name":"Continuation","scope":"punctuation.separator.continuation","settings":{"foreground":"#DC322F"}},{"name":"Library constant","scope":["support.constant","support.variable"],"settings":{}},{"name":"Library class/type","scope":["support.type","support.class"],"settings":{"foreground":"#859900"}},{"name":"Library Exception","scope":"support.type.exception","settings":{"foreground":"#CB4B16"}},{"name":"Library variable","scope":"support.other.variable","settings":{}},{"name":"Invalid","scope":"invalid","settings":{"foreground":"#DC322F"}},{"name":"diff: header","scope":["meta.diff","meta.diff.header"],"settings":{"fontStyle":"italic","foreground":"#268BD2"}},{"name":"diff: deleted","scope":"markup.deleted","settings":{"fontStyle":"","foreground":"#DC322F"}},{"name":"diff: changed","scope":"markup.changed","settings":{"fontStyle":"","foreground":"#CB4B16"}},{"name":"diff: inserted","scope":"markup.inserted","settings":{"foreground":"#859900"}},{"name":"Markup Quote","scope":"markup.quote","settings":{"foreground":"#859900"}},{"name":"Markup Lists","scope":"markup.list","settings":{"foreground":"#B58900"}},{"name":"Markup Styling","scope":["markup.bold","markup.italic"],"settings":{"foreground":"#D33682"}},{"name":"Markup: Strong","scope":"markup.bold","settings":{"fontStyle":"bold"}},{"name":"Markup: Emphasis","scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"name":"Markup Inline","scope":"markup.inline.raw","settings":{"fontStyle":"","foreground":"#2AA198"}},{"name":"Markup Headings","scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#268BD2"}},{"name":"Markup Setext Header","scope":"markup.heading.setext","settings":{"fontStyle":"","foreground":"#268BD2"}}],"colors":{"focusBorder":"#2AA19899","selection.background":"#2AA19899","input.background":"#003847","input.foreground":"#93A1A1","input.placeholderForeground":"#93A1A1AA","inputOption.activeBorder":"#2AA19899","inputValidation.infoBorder":"#363b5f","inputValidation.infoBackground":"#052730","inputValidation.warningBackground":"#5d5938","inputValidation.warningBorder":"#9d8a5e","inputValidation.errorBackground":"#571b26","inputValidation.errorBorder":"#a92049","errorForeground":"#ffeaea","badge.background":"#047aa6","progressBar.background":"#047aa6","dropdown.background":"#00212B","dropdown.border":"#2AA19899","button.background":"#2AA19899","list.activeSelectionBackground":"#005A6F","quickInputList.focusBackground":"#005A6F","list.hoverBackground":"#004454AA","list.inactiveSelectionBackground":"#00445488","list.dropBackground":"#00445488","list.highlightForeground":"#1ebcc5","editor.background":"#002B36","editor.foreground":"#839496","editorWidget.background":"#00212B","editorCursor.foreground":"#D30102","editorWhitespace.foreground":"#93A1A180","editor.lineHighlightBackground":"#073642","editorLineNumber.activeForeground":"#949494","editor.selectionBackground":"#274642","minimap.selectionHighlight":"#274642","editorIndentGuide.background":"#93A1A180","editorIndentGuide.activeBackground":"#C3E1E180","editorHoverWidget.background":"#004052","editorMarkerNavigationError.background":"#AB395B","editorMarkerNavigationWarning.background":"#5B7E7A","editor.selectionHighlightBackground":"#005A6FAA","editor.wordHighlightBackground":"#004454AA","editor.wordHighlightStrongBackground":"#005A6FAA","editorBracketHighlight.foreground1":"#cdcdcdff","editorBracketHighlight.foreground2":"#b58900ff","editorBracketHighlight.foreground3":"#d33682ff","peekViewResult.background":"#00212B","peekViewEditor.background":"#10192c","peekViewTitle.background":"#00212B","peekView.border":"#2b2b4a","peekViewEditor.matchHighlightBackground":"#7744AA40","titleBar.activeBackground":"#002C39","editorGroup.border":"#00212B","editorGroup.dropBackground":"#2AA19844","editorGroupHeader.tabsBackground":"#004052","tab.activeForeground":"#d6dbdb","tab.activeBackground":"#002B37","tab.inactiveForeground":"#93A1A1","tab.inactiveBackground":"#004052","tab.border":"#003847","tab.lastPinnedBorder":"#2AA19844","activityBar.background":"#003847","panel.border":"#2b2b4a","sideBar.background":"#00212B","sideBarTitle.foreground":"#93A1A1","statusBar.foreground":"#93A1A1","statusBar.background":"#00212B","statusBar.debuggingBackground":"#00212B","statusBar.noFolderBackground":"#00212B","statusBarItem.remoteBackground":"#2AA19899","ports.iconRunningProcessForeground":"#369432","statusBarItem.prominentBackground":"#003847","statusBarItem.prominentHoverBackground":"#003847","debugToolBar.background":"#00212B","debugExceptionWidget.background":"#00212B","debugExceptionWidget.border":"#AB395B","pickerGroup.foreground":"#2AA19899","pickerGroup.border":"#2AA19899","terminal.ansiBlack":"#073642","terminal.ansiRed":"#dc322f","terminal.ansiGreen":"#859900","terminal.ansiYellow":"#b58900","terminal.ansiBlue":"#268bd2","terminal.ansiMagenta":"#d33682","terminal.ansiCyan":"#2aa198","terminal.ansiWhite":"#eee8d5","terminal.ansiBrightBlack":"#002b36","terminal.ansiBrightRed":"#cb4b16","terminal.ansiBrightGreen":"#586e75","terminal.ansiBrightYellow":"#657b83","terminal.ansiBrightBlue":"#839496","terminal.ansiBrightMagenta":"#6c71c4","terminal.ansiBrightCyan":"#93a1a1","terminal.ansiBrightWhite":"#fdf6e3"},"semanticHighlighting":true}'),fo=JSON.parse('{"name":"GitHub Dark","colors":{"focusBorder":"#005cc5","foreground":"#d1d5da","descriptionForeground":"#959da5","errorForeground":"#f97583","textLink.foreground":"#79b8ff","textLink.activeForeground":"#c8e1ff","textBlockQuote.background":"#24292e","textBlockQuote.border":"#444d56","textCodeBlock.background":"#2f363d","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","button.background":"#176f2c","button.foreground":"#dcffe4","button.hoverBackground":"#22863a","button.secondaryBackground":"#444d56","button.secondaryForeground":"#fff","button.secondaryHoverBackground":"#586069","checkbox.background":"#444d56","checkbox.border":"#1b1f23","dropdown.background":"#2f363d","dropdown.border":"#1b1f23","dropdown.foreground":"#e1e4e8","dropdown.listBackground":"#24292e","input.background":"#2f363d","input.border":"#1b1f23","input.foreground":"#e1e4e8","input.placeholderForeground":"#959da5","badge.foreground":"#c8e1ff","badge.background":"#044289","progressBar.background":"#0366d6","titleBar.activeForeground":"#e1e4e8","titleBar.activeBackground":"#24292e","titleBar.inactiveForeground":"#959da5","titleBar.inactiveBackground":"#1f2428","titleBar.border":"#1b1f23","activityBar.foreground":"#e1e4e8","activityBar.inactiveForeground":"#6a737d","activityBar.background":"#24292e","activityBarBadge.foreground":"#fff","activityBarBadge.background":"#0366d6","activityBar.activeBorder":"#f9826c","activityBar.border":"#1b1f23","sideBar.foreground":"#d1d5da","sideBar.background":"#1f2428","sideBar.border":"#1b1f23","sideBarTitle.foreground":"#e1e4e8","sideBarSectionHeader.foreground":"#e1e4e8","sideBarSectionHeader.background":"#1f2428","sideBarSectionHeader.border":"#1b1f23","list.hoverForeground":"#e1e4e8","list.inactiveSelectionForeground":"#e1e4e8","list.activeSelectionForeground":"#e1e4e8","list.hoverBackground":"#282e34","list.inactiveSelectionBackground":"#282e34","list.activeSelectionBackground":"#39414a","list.inactiveFocusBackground":"#1d2d3e","list.focusBackground":"#044289","tree.indentGuidesStroke":"#2f363d","notificationCenterHeader.foreground":"#959da5","notificationCenterHeader.background":"#24292e","notifications.foreground":"#e1e4e8","notifications.background":"#2f363d","notifications.border":"#1b1f23","notificationsErrorIcon.foreground":"#ea4a5a","notificationsWarningIcon.foreground":"#ffab70","notificationsInfoIcon.foreground":"#79b8ff","pickerGroup.border":"#444d56","pickerGroup.foreground":"#e1e4e8","quickInput.background":"#24292e","quickInput.foreground":"#e1e4e8","statusBar.foreground":"#d1d5da","statusBar.background":"#24292e","statusBar.border":"#1b1f23","statusBar.noFolderBackground":"#24292e","statusBar.debuggingBackground":"#931c06","statusBar.debuggingForeground":"#fff","statusBarItem.prominentBackground":"#282e34","statusBarItem.remoteForeground":"#d1d5da","statusBarItem.remoteBackground":"#24292e","editorGroupHeader.tabsBackground":"#1f2428","editorGroupHeader.tabsBorder":"#1b1f23","editorGroup.border":"#1b1f23","tab.activeForeground":"#e1e4e8","tab.inactiveForeground":"#959da5","tab.inactiveBackground":"#1f2428","tab.activeBackground":"#24292e","tab.hoverBackground":"#24292e","tab.unfocusedHoverBackground":"#24292e","tab.border":"#1b1f23","tab.unfocusedActiveBorderTop":"#1b1f23","tab.activeBorder":"#24292e","tab.unfocusedActiveBorder":"#24292e","tab.activeBorderTop":"#f9826c","breadcrumb.foreground":"#959da5","breadcrumb.focusForeground":"#e1e4e8","breadcrumb.activeSelectionForeground":"#d1d5da","breadcrumbPicker.background":"#2b3036","editor.foreground":"#e1e4e8","editor.background":"#24292e","editorWidget.background":"#1f2428","editor.foldBackground":"#58606915","editor.lineHighlightBackground":"#2b3036","editorLineNumber.foreground":"#444d56","editorLineNumber.activeForeground":"#e1e4e8","editorIndentGuide.background":"#2f363d","editorIndentGuide.activeBackground":"#444d56","editorWhitespace.foreground":"#444d56","editorCursor.foreground":"#c8e1ff","editorError.foreground":"#f97583","editorWarning.foreground":"#ffea7f","editor.findMatchBackground":"#ffd33d44","editor.findMatchHighlightBackground":"#ffd33d22","editor.linkedEditingBackground":"#3392FF22","editor.inactiveSelectionBackground":"#3392FF22","editor.selectionBackground":"#3392FF44","editor.selectionHighlightBackground":"#17E5E633","editor.selectionHighlightBorder":"#17E5E600","editor.wordHighlightBackground":"#17E5E600","editor.wordHighlightStrongBackground":"#17E5E600","editor.wordHighlightBorder":"#17E5E699","editor.wordHighlightStrongBorder":"#17E5E666","editorBracketMatch.background":"#17E5E650","editorBracketMatch.border":"#17E5E600","editorGutter.modifiedBackground":"#2188ff","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#ea4a5a","diffEditor.insertedTextBackground":"#28a74530","diffEditor.removedTextBackground":"#d73a4930","scrollbar.shadow":"#0008","scrollbarSlider.background":"#6a737d33","scrollbarSlider.hoverBackground":"#6a737d44","scrollbarSlider.activeBackground":"#6a737d88","editorOverviewRuler.border":"#1b1f23","panel.background":"#1f2428","panel.border":"#1b1f23","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#e1e4e8","panelTitle.inactiveForeground":"#959da5","panelInput.border":"#2f363d","terminal.foreground":"#d1d5da","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#586069","terminalCursor.foreground":"#79b8ff","terminal.ansiBrightWhite":"#fafbfc","terminal.ansiWhite":"#d1d5da","terminal.ansiBrightBlack":"#959da5","terminal.ansiBlack":"#586069","terminal.ansiBlue":"#2188ff","terminal.ansiBrightBlue":"#79b8ff","terminal.ansiGreen":"#34d058","terminal.ansiBrightGreen":"#85e89d","terminal.ansiCyan":"#39c5cf","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiRed":"#ea4a5a","terminal.ansiBrightRed":"#f97583","terminal.ansiMagenta":"#b392f0","terminal.ansiBrightMagenta":"#b392f0","terminal.ansiYellow":"#ffea7f","terminal.ansiBrightYellow":"#ffea7f","editorBracketHighlight.foreground1":"#79b8ff","editorBracketHighlight.foreground2":"#ffab70","editorBracketHighlight.foreground3":"#b392f0","editorBracketHighlight.foreground4":"#79b8ff","editorBracketHighlight.foreground5":"#ffab70","editorBracketHighlight.foreground6":"#b392f0","gitDecoration.addedResourceForeground":"#34d058","gitDecoration.modifiedResourceForeground":"#79b8ff","gitDecoration.deletedResourceForeground":"#ea4a5a","gitDecoration.untrackedResourceForeground":"#34d058","gitDecoration.ignoredResourceForeground":"#6a737d","gitDecoration.conflictingResourceForeground":"#ffab70","gitDecoration.submoduleResourceForeground":"#6a737d","debugToolBar.background":"#2b3036","editor.stackFrameHighlightBackground":"#C6902625","editor.focusedStackFrameHighlightBackground":"#2b6a3033","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.matchHighlightBackground":"#ffd33d33","peekViewEditor.background":"#1f242888","peekViewResult.background":"#1f2428","settings.headerForeground":"#e1e4e8","settings.modifiedItemIndicator":"#0366d6","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#6a737d"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],"settings":{"foreground":"#79b8ff"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#b392f0"}},{"scope":"variable.parameter.function","settings":{"foreground":"#e1e4e8"}},{"scope":"entity.name.tag","settings":{"foreground":"#85e89d"}},{"scope":"keyword","settings":{"foreground":"#f97583"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#f97583"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#e1e4e8"}},{"scope":["string","punctuation.definition.string","string punctuation.section.embedded source"],"settings":{"foreground":"#9ecbff"}},{"scope":"support","settings":{"foreground":"#79b8ff"}},{"scope":"meta.property-name","settings":{"foreground":"#79b8ff"}},{"scope":"variable","settings":{"foreground":"#ffab70"}},{"scope":"variable.other","settings":{"foreground":"#e1e4e8"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"fontStyle":"italic underline","background":"#f97583","foreground":"#24292e","content":"^M"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#79b8ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#dbedff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#dbedff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#85e89d"}},{"scope":"support.constant","settings":{"foreground":"#79b8ff"}},{"scope":"support.variable","settings":{"foreground":"#79b8ff"}},{"scope":"meta.module-reference","settings":{"foreground":"#79b8ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#ffab70"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"markup.quote","settings":{"foreground":"#85e89d"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#e1e4e8"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#e1e4e8"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#79b8ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"foreground":"#2f363d","background":"#79b8ff"}},{"scope":"meta.diff.range","settings":{"foreground":"#b392f0","fontStyle":"bold"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"foreground":"#dbedff","fontStyle":"underline"}}]}'),ho=JSON.parse('{"name":"GitHub Dark Dimmed","colors":{"focusBorder":"#316dca","foreground":"#adbac7","descriptionForeground":"#768390","errorForeground":"#e5534b","textLink.foreground":"#539bf5","textLink.activeForeground":"#539bf5","textBlockQuote.background":"#1c2128","textBlockQuote.border":"#444c56","textCodeBlock.background":"#636e7b66","textPreformat.foreground":"#768390","textSeparator.foreground":"#373e47","icon.foreground":"#768390","keybindingLabel.foreground":"#adbac7","button.background":"#347d39","button.foreground":"#ffffff","button.hoverBackground":"#46954a","button.secondaryBackground":"#3d444d","button.secondaryForeground":"#adbac7","button.secondaryHoverBackground":"#444c56","checkbox.background":"#2d333b","checkbox.border":"#444c56","dropdown.background":"#2d333b","dropdown.border":"#444c56","dropdown.foreground":"#adbac7","dropdown.listBackground":"#2d333b","input.background":"#22272e","input.border":"#444c56","input.foreground":"#adbac7","input.placeholderForeground":"#636e7b","badge.foreground":"#cdd9e5","badge.background":"#316dca","progressBar.background":"#316dca","titleBar.activeForeground":"#768390","titleBar.activeBackground":"#22272e","titleBar.inactiveForeground":"#768390","titleBar.inactiveBackground":"#1c2128","titleBar.border":"#444c56","activityBar.foreground":"#adbac7","activityBar.inactiveForeground":"#768390","activityBar.background":"#22272e","activityBarBadge.foreground":"#cdd9e5","activityBarBadge.background":"#316dca","activityBar.activeBorder":"#ec775c","activityBar.border":"#444c56","sideBar.foreground":"#adbac7","sideBar.background":"#1c2128","sideBar.border":"#444c56","sideBarTitle.foreground":"#adbac7","sideBarSectionHeader.foreground":"#adbac7","sideBarSectionHeader.background":"#1c2128","sideBarSectionHeader.border":"#444c56","list.hoverForeground":"#adbac7","list.inactiveSelectionForeground":"#adbac7","list.activeSelectionForeground":"#adbac7","list.hoverBackground":"#636e7b1a","list.inactiveSelectionBackground":"#636e7b66","list.activeSelectionBackground":"#636e7b66","list.focusForeground":"#adbac7","list.focusBackground":"#4184e426","list.inactiveFocusBackground":"#4184e426","list.highlightForeground":"#539bf5","tree.indentGuidesStroke":"#373e47","notificationCenterHeader.foreground":"#768390","notificationCenterHeader.background":"#2d333b","notifications.foreground":"#adbac7","notifications.background":"#2d333b","notifications.border":"#444c56","notificationsErrorIcon.foreground":"#e5534b","notificationsWarningIcon.foreground":"#c69026","notificationsInfoIcon.foreground":"#539bf5","pickerGroup.border":"#444c56","pickerGroup.foreground":"#768390","quickInput.background":"#2d333b","quickInput.foreground":"#adbac7","statusBar.foreground":"#768390","statusBar.background":"#22272e","statusBar.border":"#444c56","statusBar.focusBorder":"#316dca80","statusBar.noFolderBackground":"#22272e","statusBar.debuggingForeground":"#cdd9e5","statusBar.debuggingBackground":"#c93c37","statusBarItem.prominentBackground":"#636e7b66","statusBarItem.remoteForeground":"#adbac7","statusBarItem.remoteBackground":"#444c56","statusBarItem.hoverBackground":"#adbac714","statusBarItem.activeBackground":"#adbac71f","statusBarItem.focusBorder":"#316dca","editorGroupHeader.tabsBackground":"#1c2128","editorGroupHeader.tabsBorder":"#444c56","editorGroup.border":"#444c56","tab.activeForeground":"#adbac7","tab.inactiveForeground":"#768390","tab.inactiveBackground":"#1c2128","tab.activeBackground":"#22272e","tab.hoverBackground":"#22272e","tab.unfocusedHoverBackground":"#636e7b1a","tab.border":"#444c56","tab.unfocusedActiveBorderTop":"#444c56","tab.activeBorder":"#22272e","tab.unfocusedActiveBorder":"#22272e","tab.activeBorderTop":"#ec775c","breadcrumb.foreground":"#768390","breadcrumb.focusForeground":"#adbac7","breadcrumb.activeSelectionForeground":"#768390","breadcrumbPicker.background":"#2d333b","editor.foreground":"#adbac7","editor.background":"#22272e","editorWidget.background":"#2d333b","editor.foldBackground":"#636e7b1a","editor.lineHighlightBackground":"#636e7b1a","editorLineNumber.foreground":"#636e7b","editorLineNumber.activeForeground":"#adbac7","editorIndentGuide.background":"#adbac71f","editorIndentGuide.activeBackground":"#adbac73d","editorWhitespace.foreground":"#545d68","editorCursor.foreground":"#539bf5","editor.findMatchBackground":"#966600","editor.findMatchHighlightBackground":"#eac55f80","editor.linkedEditingBackground":"#539bf512","editor.selectionHighlightBackground":"#57ab5a40","editor.wordHighlightBackground":"#636e7b80","editor.wordHighlightBorder":"#636e7b99","editor.wordHighlightStrongBackground":"#636e7b4d","editor.wordHighlightStrongBorder":"#636e7b99","editorBracketMatch.background":"#57ab5a40","editorBracketMatch.border":"#57ab5a99","editorInlayHint.background":"#76839033","editorInlayHint.foreground":"#768390","editorInlayHint.typeBackground":"#76839033","editorInlayHint.typeForeground":"#768390","editorInlayHint.paramBackground":"#76839033","editorInlayHint.paramForeground":"#768390","editorGutter.modifiedBackground":"#ae7c1466","editorGutter.addedBackground":"#46954a66","editorGutter.deletedBackground":"#e5534b66","diffEditor.insertedLineBackground":"#347d3926","diffEditor.insertedTextBackground":"#57ab5a4d","diffEditor.removedLineBackground":"#c93c3726","diffEditor.removedTextBackground":"#f470674d","scrollbar.shadow":"#545d6833","scrollbarSlider.background":"#76839033","scrollbarSlider.hoverBackground":"#7683903d","scrollbarSlider.activeBackground":"#76839047","editorOverviewRuler.border":"#1c2128","minimapSlider.background":"#76839033","minimapSlider.hoverBackground":"#7683903d","minimapSlider.activeBackground":"#76839047","panel.background":"#1c2128","panel.border":"#444c56","panelTitle.activeBorder":"#ec775c","panelTitle.activeForeground":"#adbac7","panelTitle.inactiveForeground":"#768390","panelInput.border":"#444c56","debugIcon.breakpointForeground":"#e5534b","debugConsole.infoForeground":"#768390","debugConsole.warningForeground":"#c69026","debugConsole.errorForeground":"#ff938a","debugConsole.sourceForeground":"#daaa3f","debugConsoleInputIcon.foreground":"#b083f0","debugTokenExpression.name":"#6cb6ff","debugTokenExpression.value":"#96d0ff","debugTokenExpression.string":"#96d0ff","debugTokenExpression.boolean":"#6bc46d","debugTokenExpression.number":"#6bc46d","debugTokenExpression.error":"#ff938a","symbolIcon.arrayForeground":"#e0823d","symbolIcon.booleanForeground":"#539bf5","symbolIcon.classForeground":"#e0823d","symbolIcon.colorForeground":"#6cb6ff","symbolIcon.constructorForeground":"#dcbdfb","symbolIcon.enumeratorForeground":"#e0823d","symbolIcon.enumeratorMemberForeground":"#539bf5","symbolIcon.eventForeground":"#636e7b","symbolIcon.fieldForeground":"#e0823d","symbolIcon.fileForeground":"#c69026","symbolIcon.folderForeground":"#c69026","symbolIcon.functionForeground":"#b083f0","symbolIcon.interfaceForeground":"#e0823d","symbolIcon.keyForeground":"#539bf5","symbolIcon.keywordForeground":"#f47067","symbolIcon.methodForeground":"#b083f0","symbolIcon.moduleForeground":"#f47067","symbolIcon.namespaceForeground":"#f47067","symbolIcon.nullForeground":"#539bf5","symbolIcon.numberForeground":"#57ab5a","symbolIcon.objectForeground":"#e0823d","symbolIcon.operatorForeground":"#6cb6ff","symbolIcon.packageForeground":"#e0823d","symbolIcon.propertyForeground":"#e0823d","symbolIcon.referenceForeground":"#539bf5","symbolIcon.snippetForeground":"#539bf5","symbolIcon.stringForeground":"#6cb6ff","symbolIcon.structForeground":"#e0823d","symbolIcon.textForeground":"#6cb6ff","symbolIcon.typeParameterForeground":"#6cb6ff","symbolIcon.unitForeground":"#539bf5","symbolIcon.variableForeground":"#e0823d","symbolIcon.constantForeground":["#b4f1b4","#8ddb8c","#6bc46d","#57ab5a","#46954a","#347d39","#2b6a30","#245829","#1b4721","#113417"],"terminal.foreground":"#adbac7","terminal.ansiBlack":"#545d68","terminal.ansiRed":"#f47067","terminal.ansiGreen":"#57ab5a","terminal.ansiYellow":"#c69026","terminal.ansiBlue":"#539bf5","terminal.ansiMagenta":"#b083f0","terminal.ansiCyan":"#39c5cf","terminal.ansiWhite":"#909dab","terminal.ansiBrightBlack":"#636e7b","terminal.ansiBrightRed":"#ff938a","terminal.ansiBrightGreen":"#6bc46d","terminal.ansiBrightYellow":"#daaa3f","terminal.ansiBrightBlue":"#6cb6ff","terminal.ansiBrightMagenta":"#dcbdfb","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiBrightWhite":"#cdd9e5","editorBracketHighlight.foreground1":"#6cb6ff","editorBracketHighlight.foreground2":"#6bc46d","editorBracketHighlight.foreground3":"#daaa3f","editorBracketHighlight.foreground4":"#ff938a","editorBracketHighlight.foreground5":"#fc8dc7","editorBracketHighlight.foreground6":"#dcbdfb","editorBracketHighlight.unexpectedBracket.foreground":"#768390","gitDecoration.addedResourceForeground":"#57ab5a","gitDecoration.modifiedResourceForeground":"#c69026","gitDecoration.deletedResourceForeground":"#e5534b","gitDecoration.untrackedResourceForeground":"#57ab5a","gitDecoration.ignoredResourceForeground":"#636e7b","gitDecoration.conflictingResourceForeground":"#cc6b2c","gitDecoration.submoduleResourceForeground":"#768390","debugToolBar.background":"#2d333b","editor.stackFrameHighlightBackground":"#ae7c1466","editor.focusedStackFrameHighlightBackground":"#46954a66","peekViewEditor.matchHighlightBackground":"#ae7c1466","peekViewResult.matchHighlightBackground":"#ae7c1466","peekViewEditor.background":"#636e7b1a","peekViewResult.background":"#22272e","settings.headerForeground":"#adbac7","settings.modifiedItemIndicator":"#ae7c1466","welcomePage.buttonBackground":"#373e47","welcomePage.buttonHoverBackground":"#444c56"},"semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#768390"}},{"scope":["constant.other.placeholder","constant.character"],"settings":{"foreground":"#f47067"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language","entity"],"settings":{"foreground":"#6cb6ff"}},{"scope":["entity.name","meta.export.default","meta.definition.variable"],"settings":{"foreground":"#f69d50"}},{"scope":["variable.parameter.function","meta.jsx.children","meta.block","meta.tag.attributes","entity.name.constant","meta.object.member","meta.embedded.expression"],"settings":{"foreground":"#adbac7"}},{"scope":"entity.name.function","settings":{"foreground":"#dcbdfb"}},{"scope":["entity.name.tag","support.class.component"],"settings":{"foreground":"#8ddb8c"}},{"scope":"keyword","settings":{"foreground":"#f47067"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#f47067"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#adbac7"}},{"scope":["string","string punctuation.section.embedded source"],"settings":{"foreground":"#96d0ff"}},{"scope":"support","settings":{"foreground":"#6cb6ff"}},{"scope":"meta.property-name","settings":{"foreground":"#6cb6ff"}},{"scope":"variable","settings":{"foreground":"#f69d50"}},{"scope":"variable.other","settings":{"foreground":"#adbac7"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"carriage-return","settings":{"fontStyle":"italic underline","background":"#f47067","foreground":"#cdd9e5","content":"^M"}},{"scope":"message.error","settings":{"foreground":"#ff938a"}},{"scope":"string variable","settings":{"foreground":"#6cb6ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#96d0ff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#96d0ff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#8ddb8c"}},{"scope":"support.constant","settings":{"foreground":"#6cb6ff"}},{"scope":"support.variable","settings":{"foreground":"#6cb6ff"}},{"scope":"support.type.property-name.json","settings":{"foreground":"#8ddb8c"}},{"scope":"meta.module-reference","settings":{"foreground":"#6cb6ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#f69d50"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#6cb6ff"}},{"scope":"markup.quote","settings":{"foreground":"#8ddb8c"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#adbac7"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#adbac7"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#6cb6ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#5d0f12","foreground":"#ff938a"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#f47067"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#113417","foreground":"#8ddb8c"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#682d0f","foreground":"#f69d50"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"foreground":"#2d333b","background":"#6cb6ff"}},{"scope":"meta.diff.range","settings":{"foreground":"#dcbdfb","fontStyle":"bold"}},{"scope":"meta.diff.header","settings":{"foreground":"#6cb6ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#6cb6ff"}},{"scope":"meta.output","settings":{"foreground":"#6cb6ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#768390"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#ff938a"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"foreground":"#96d0ff"}}]}'),Eo=JSON.parse('{"name":"Material-Theme-Default","semanticHighlighting":true,"tokenColors":[{"name":"Global settings","settings":{"background":"#263238","foreground":"#EEFFFF"}},{"name":"String","scope":"string","settings":{"foreground":"#C3E88D"}},{"name":"Punctuation","scope":"punctuation, constant.other.symbol","settings":{"foreground":"#89DDFF"}},{"name":"String Escape","scope":"constant.character.escape, text.html constant.character.entity.named","settings":{"foreground":"#EEFFFF"}},{"name":"Boolean","scope":"constant.language.boolean","settings":{"foreground":"#ff9cac"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#F78C6C"}},{"name":"Variable","scope":"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments","settings":{"foreground":"#EEFFFF"}},{"name":"Other Keyword","scope":"keyword.other","settings":{"foreground":"#F78C6C"}},{"name":"Keyword","scope":"keyword, modifier, variable.language.this, support.type.object, constant.language","settings":{"foreground":"#89DDFF"}},{"name":"Function call","scope":"entity.name.function, support.function","settings":{"foreground":"#82AAFF"}},{"name":"Storage","scope":"storage.type, storage.modifier, storage.control","settings":{"foreground":"#C792EA"}},{"name":"Modules","scope":"support.module, support.node","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Type","scope":"support.type, constant.other.key","settings":{"foreground":"#FFCB6B"}},{"name":"Type","scope":"entity.name.type, entity.other.inherited-class, entity.other","settings":{"foreground":"#FFCB6B"}},{"name":"Comment","scope":"comment","settings":{"foreground":"#546E7A","fontStyle":"italic"}},{"name":"Comment","scope":"comment punctuation.definition.comment, string.quoted.docstring","settings":{"foreground":"#546E7A","fontStyle":"italic"}},{"name":"Punctuation","scope":"punctuation","settings":{"foreground":"#89DDFF"}},{"name":"Class","scope":"entity.name, entity.name.type.class, support.type, support.class, meta.use","settings":{"foreground":"#FFCB6B"}},{"name":"Class variable","scope":"variable.object.property, meta.field.declaration entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Class method","scope":"meta.definition.method entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Function definition","scope":"meta.function entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Template expression","scope":"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end","settings":{"foreground":"#89DDFF"}},{"name":"Reset embedded/template expression colors","scope":"meta.embedded, source.groovy.embedded, meta.template.expression","settings":{"foreground":"#EEFFFF"}},{"name":"YAML key","scope":"entity.name.tag.yaml","settings":{"foreground":"#f07178"}},{"name":"JSON key","scope":"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json","settings":{"foreground":"#f07178"}},{"name":"JSON constant","scope":"constant.language.json","settings":{"foreground":"#89DDFF"}},{"name":"CSS class","scope":"entity.other.attribute-name.class","settings":{"foreground":"#FFCB6B"}},{"name":"CSS ID","scope":"entity.other.attribute-name.id","settings":{"foreground":"#F78C6C"}},{"name":"CSS tag","scope":"source.css entity.name.tag","settings":{"foreground":"#FFCB6B"}},{"name":"CSS properties","scope":"support.type.property-name.css","settings":{"foreground":"#B2CCD6"}},{"name":"HTML tag outer","scope":"meta.tag, punctuation.definition.tag","settings":{"foreground":"#89DDFF"}},{"name":"HTML tag inner","scope":"entity.name.tag","settings":{"foreground":"#f07178"}},{"name":"HTML tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#C792EA"}},{"name":"HTML entities","scope":"punctuation.definition.entity.html","settings":{"foreground":"#EEFFFF"}},{"name":"Markdown heading","scope":"markup.heading","settings":{"foreground":"#89DDFF"}},{"name":"Markdown link text","scope":"text.html.markdown meta.link.inline, meta.link.reference","settings":{"foreground":"#f07178"}},{"name":"Markdown list item","scope":"text.html.markdown beginning.punctuation.definition.list","settings":{"foreground":"#89DDFF"}},{"name":"Markdown italic","scope":"markup.italic","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Markdown bold","scope":"markup.bold","settings":{"foreground":"#f07178","fontStyle":"bold"}},{"name":"Markdown bold italic","scope":"markup.bold markup.italic, markup.italic markup.bold","settings":{"foreground":"#f07178","fontStyle":"italic bold"}},{"name":"Markdown code block","scope":"markup.fenced_code.block.markdown punctuation.definition.markdown","settings":{"foreground":"#C3E88D"}},{"name":"Markdown inline code","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#C3E88D"}},{"name":"INI property name","scope":"keyword.other.definition.ini","settings":{"foreground":"#f07178"}},{"name":"INI section title","scope":"entity.name.section.group-title.ini","settings":{"foreground":"#89DDFF"}},{"name":"C# class","scope":"source.cs meta.class.identifier storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# class method","scope":"source.cs meta.method.identifier entity.name.function","settings":{"foreground":"#f07178"}},{"name":"C# function call","scope":"source.cs meta.method-call meta.method, source.cs entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"C# type","scope":"source.cs storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# return type","scope":"source.cs meta.method.return-type","settings":{"foreground":"#FFCB6B"}},{"name":"C# preprocessor","scope":"source.cs meta.preprocessor","settings":{"foreground":"#546E7A"}},{"name":"C# namespace","scope":"source.cs entity.name.type.namespace","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Text","scope":"meta.jsx.children, SXNested","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Components name","scope":"support.class.component","settings":{"foreground":"#FFCB6B"}},{"name":"C-related Block Level Variables","scope":"source.cpp meta.block variable.other","settings":{"foreground":"#EEFFFF"}},{"name":"Member Access Meta","scope":"source.python meta.member.access.python","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"source.python meta.function-call.python, meta.function-call.arguments","settings":{"foreground":"#82AAFF"}},{"name":"Blocks","scope":"meta.block","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"entity.name.function.call","settings":{"foreground":"#82AAFF"}},{"name":"Namespaces","scope":"source.php support.other.namespace, source.php meta.use support.class","settings":{"foreground":"#EEFFFF"}},{"name":"Constant keywords","scope":"constant.keyword","settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Entity name","scope":"entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Global settings","settings":{"background":"#263238","foreground":"#EEFFFF"}},{"name":"Markup Deleted","scope":["markup.deleted"],"settings":{"foreground":"#f07178"}},{"name":"Markup Inserted","scope":["markup.inserted"],"settings":{"foreground":"#C3E88D"}},{"name":"Markup Underline","scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"name":"Keyword Control","scope":["keyword.control"],"settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Parameter","scope":["variable.parameter"],"settings":{"fontStyle":"italic"}},{"name":"Python - Self Parameter","scope":["variable.parameter.function.language.special.self.python"],"settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Python - Format Placeholder","scope":["constant.character.format.placeholder.other.python"],"settings":{"foreground":"#F78C6C"}},{"name":"Markdown - Blockquote","scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#89DDFF"}},{"name":"Markdown - Fenced Language","scope":["markup.fenced_code.block"],"settings":{"foreground":"#EEFFFF90"}},{"name":"Markdown - Blockquote Punctuation","scope":["punctuation.definition.quote"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 0","scope":["meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 1","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#FFCB6B"}},{"name":"JSON Key - Level 2","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#F78C6C"}},{"name":"JSON Key - Level 3","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#f07178"}},{"name":"JSON Key - Level 4","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#916b53"}},{"name":"JSON Key - Level 5","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#82AAFF"}},{"name":"JSON Key - Level 6","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 7","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 8","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C3E88D"}}],"colors":{"focusBorder":"#FFFFFF00","foreground":"#EEFFFF","button.background":"#80CBC420","button.foreground":"#ffffff","dropdown.background":"#263238","input.background":"#303C41","inputOption.activeBorder":"#EEFFFF30","list.activeSelectionBackground":"#263238","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#EEFFFF20","list.focusForeground":"#EEFFFF","list.highlightForeground":"#80CBC4","list.hoverBackground":"#263238","list.inactiveSelectionBackground":"#00000030","activityBar.background":"#263238","activityBar.dropBackground":"#f0717880","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#546E7A","sideBar.background":"#263238","sideBarSectionHeader.background":"#263238","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#263238","tab.border":"#263238","tab.activeBorder":"#80CBC4","tab.inactiveBackground":"#263238","tab.activeModifiedBorder":"#607a86","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","editor.background":"#263238","editor.foreground":"#EEFFFF","editorLineNumber.foreground":"#37474F","editorLineNumber.activeForeground":"#607a86","editorCursor.foreground":"#FFCC00","editor.selectionBackground":"#80CBC420","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editor.findMatchHighlight":"#EEFFFF","editor.findRangeHighlightBackground":"#FFCB6B30","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editorWhitespace.foreground":"#EEFFFF40","editorWidget.background":"#263238","editorHoverWidget.background":"#263238","editorMarkerNavigation.background":"#EEFFFF05","peekView.border":"#00000030","peekViewEditor.background":"#EEFFFF05","peekViewResult.background":"#EEFFFF05","peekViewTitle.background":"#EEFFFF05","panel.background":"#263238","panel.border":"#26323860","panelTitle.activeBorder":"#80CBC4","panelTitle.inactiveForeground":"#EEFFFF","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","statusBar.background":"#263238","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.noFolderBackground":"#263238","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#546E7A20","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","titleBar.activeBackground":"#263238","pickerGroup.border":"#FFFFFF1a","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#546E7A","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","debugToolBar.background":"#263238","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","selection.background":"#00000080","editorRuler.foreground":"#37474F","widget.shadow":"#00000030","scrollbar.shadow":"#00000030","editorLink.activeForeground":"#EEFFFF","progressBar.background":"#80CBC4","pickerGroup.foreground":"#80CBC4","tree.indentGuidesStroke":"#37474F","terminalCursor.foreground":"#FFCB6B","terminalCursor.background":"#000000","inputOption.activeBackground":"#EEFFFF30","textLink.foreground":"#80CBC4","textLink.activeForeground":"#EEFFFF","sideBar.foreground":"#607a86","sideBar.border":"#26323860","sideBarTitle.foreground":"#EEFFFF","sideBarSectionHeader.border":"#26323860","panel.dropBackground":"#EEFFFF","panelTitle.activeForeground":"#FFFFFF","editor.lineHighlightBackground":"#00000050","editor.findMatchBackground":"#000000","editor.findMatchHighlightBackground":"#00000050","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlightBorder":"#ffffff30","editorIndentGuide.background":"#37474F70","editorIndentGuide.activeBackground":"#37474F","editorGroup.border":"#00000030","editorGutter.modifiedBackground":"#82AAFF60","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","activityBar.border":"#26323860","activityBar.foreground":"#EEFFFF","activityBar.activeBorder":"#80CBC4","extensionBadge.remoteForeground":"#EEFFFF","scrollbarSlider.background":"#EEFFFF20","scrollbarSlider.hoverBackground":"#EEFFFF10","scrollbarSlider.activeBackground":"#80CBC4","tab.unfocusedActiveBorder":"#546E7A","tab.activeForeground":"#FFFFFF","tab.inactiveForeground":"#607a86","tab.activeBackground":"#263238","tab.unfocusedActiveForeground":"#EEFFFF","editorWidget.resizeBorder":"#80CBC4","editorWidget.border":"#80CBC4","statusBar.border":"#26323860","statusBar.foreground":"#546E7A","editorBracketMatch.border":"#FFCC0050","editorBracketMatch.background":"#263238","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.border":"#263238","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorInfo.foreground":"#82AAFF70","editorWarning.foreground":"#FFCB6B70","editorError.foreground":"#f0717870","editorHoverWidget.border":"#FFFFFF10","titleBar.activeForeground":"#EEFFFF","titleBar.inactiveBackground":"#263238","titleBar.inactiveForeground":"#607a86","titleBar.border":"#26323860","input.foreground":"#EEFFFF","input.placeholderForeground":"#EEFFFF60","input.border":"#FFFFFF10","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","dropdown.border":"#FFFFFF10","quickInput.background":"#263238","quickInput.foreground":"#607a86","list.hoverForeground":"#FFFFFF","list.inactiveSelectionForeground":"#80CBC4","quickInput.list.focusBackground":"#EEFFFF20","editorSuggestWidget.background":"#263238","editorSuggestWidget.foreground":"#EEFFFF","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorSuggestWidget.border":"#FFFFFF10","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","notifications.background":"#263238","notifications.foreground":"#EEFFFF","notificationLink.foreground":"#80CBC4","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentHoverBackground":"#C3E88D","extensionButton.prominentForeground":"#000000","peekViewEditorGutter.background":"#EEFFFF05","peekViewTitleDescription.foreground":"#EEFFFF60","peekViewResult.matchHighlightBackground":"#80CBC420","peekViewEditor.matchHighlightBackground":"#80CBC420","peekViewResult.selectionBackground":"#607a8670","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","gitDecoration.ignoredResourceForeground":"#607a8690","breadcrumb.background":"#263238","breadcrumb.foreground":"#607a86","breadcrumb.focusForeground":"#EEFFFF","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumbPicker.background":"#263238","menu.background":"#263238","menu.foreground":"#EEFFFF","menu.selectionBackground":"#00000050","menu.selectionForeground":"#80CBC4","menu.selectionBorder":"#00000030","menu.separatorBackground":"#EEFFFF","menubar.selectionBackground":"#00000030","menubar.selectionForeground":"#80CBC4","menubar.selectionBorder":"#00000030","settings.dropdownForeground":"#EEFFFF","settings.dropdownBackground":"#263238","settings.numberInputForeground":"#EEFFFF","settings.numberInputBackground":"#263238","settings.textInputForeground":"#EEFFFF","settings.textInputBackground":"#263238","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.checkboxBackground":"#263238","settings.checkboxForeground":"#EEFFFF","listFilterWidget.background":"#00000030","listFilterWidget.outline":"#00000030","listFilterWidget.noMatchesOutline":"#00000030"}}'),_o=JSON.parse('{"name":"Material-Theme-Darker","semanticHighlighting":true,"tokenColors":[{"name":"Global settings","settings":{"background":"#212121","foreground":"#EEFFFF"}},{"name":"String","scope":"string","settings":{"foreground":"#C3E88D"}},{"name":"Punctuation","scope":"punctuation, constant.other.symbol","settings":{"foreground":"#89DDFF"}},{"name":"String Escape","scope":"constant.character.escape, text.html constant.character.entity.named","settings":{"foreground":"#EEFFFF"}},{"name":"Boolean","scope":"constant.language.boolean","settings":{"foreground":"#ff9cac"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#F78C6C"}},{"name":"Variable","scope":"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments","settings":{"foreground":"#EEFFFF"}},{"name":"Other Keyword","scope":"keyword.other","settings":{"foreground":"#F78C6C"}},{"name":"Keyword","scope":"keyword, modifier, variable.language.this, support.type.object, constant.language","settings":{"foreground":"#89DDFF"}},{"name":"Function call","scope":"entity.name.function, support.function","settings":{"foreground":"#82AAFF"}},{"name":"Storage","scope":"storage.type, storage.modifier, storage.control","settings":{"foreground":"#C792EA"}},{"name":"Modules","scope":"support.module, support.node","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Type","scope":"support.type, constant.other.key","settings":{"foreground":"#FFCB6B"}},{"name":"Type","scope":"entity.name.type, entity.other.inherited-class, entity.other","settings":{"foreground":"#FFCB6B"}},{"name":"Comment","scope":"comment","settings":{"foreground":"#545454","fontStyle":"italic"}},{"name":"Comment","scope":"comment punctuation.definition.comment, string.quoted.docstring","settings":{"foreground":"#545454","fontStyle":"italic"}},{"name":"Punctuation","scope":"punctuation","settings":{"foreground":"#89DDFF"}},{"name":"Class","scope":"entity.name, entity.name.type.class, support.type, support.class, meta.use","settings":{"foreground":"#FFCB6B"}},{"name":"Class variable","scope":"variable.object.property, meta.field.declaration entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Class method","scope":"meta.definition.method entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Function definition","scope":"meta.function entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Template expression","scope":"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end","settings":{"foreground":"#89DDFF"}},{"name":"Reset embedded/template expression colors","scope":"meta.embedded, source.groovy.embedded, meta.template.expression","settings":{"foreground":"#EEFFFF"}},{"name":"YAML key","scope":"entity.name.tag.yaml","settings":{"foreground":"#f07178"}},{"name":"JSON key","scope":"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json","settings":{"foreground":"#f07178"}},{"name":"JSON constant","scope":"constant.language.json","settings":{"foreground":"#89DDFF"}},{"name":"CSS class","scope":"entity.other.attribute-name.class","settings":{"foreground":"#FFCB6B"}},{"name":"CSS ID","scope":"entity.other.attribute-name.id","settings":{"foreground":"#F78C6C"}},{"name":"CSS tag","scope":"source.css entity.name.tag","settings":{"foreground":"#FFCB6B"}},{"name":"CSS properties","scope":"support.type.property-name.css","settings":{"foreground":"#B2CCD6"}},{"name":"HTML tag outer","scope":"meta.tag, punctuation.definition.tag","settings":{"foreground":"#89DDFF"}},{"name":"HTML tag inner","scope":"entity.name.tag","settings":{"foreground":"#f07178"}},{"name":"HTML tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#C792EA"}},{"name":"HTML entities","scope":"punctuation.definition.entity.html","settings":{"foreground":"#EEFFFF"}},{"name":"Markdown heading","scope":"markup.heading","settings":{"foreground":"#89DDFF"}},{"name":"Markdown link text","scope":"text.html.markdown meta.link.inline, meta.link.reference","settings":{"foreground":"#f07178"}},{"name":"Markdown list item","scope":"text.html.markdown beginning.punctuation.definition.list","settings":{"foreground":"#89DDFF"}},{"name":"Markdown italic","scope":"markup.italic","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Markdown bold","scope":"markup.bold","settings":{"foreground":"#f07178","fontStyle":"bold"}},{"name":"Markdown bold italic","scope":"markup.bold markup.italic, markup.italic markup.bold","settings":{"foreground":"#f07178","fontStyle":"italic bold"}},{"name":"Markdown code block","scope":"markup.fenced_code.block.markdown punctuation.definition.markdown","settings":{"foreground":"#C3E88D"}},{"name":"Markdown inline code","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#C3E88D"}},{"name":"INI property name","scope":"keyword.other.definition.ini","settings":{"foreground":"#f07178"}},{"name":"INI section title","scope":"entity.name.section.group-title.ini","settings":{"foreground":"#89DDFF"}},{"name":"C# class","scope":"source.cs meta.class.identifier storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# class method","scope":"source.cs meta.method.identifier entity.name.function","settings":{"foreground":"#f07178"}},{"name":"C# function call","scope":"source.cs meta.method-call meta.method, source.cs entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"C# type","scope":"source.cs storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# return type","scope":"source.cs meta.method.return-type","settings":{"foreground":"#FFCB6B"}},{"name":"C# preprocessor","scope":"source.cs meta.preprocessor","settings":{"foreground":"#545454"}},{"name":"C# namespace","scope":"source.cs entity.name.type.namespace","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Text","scope":"meta.jsx.children, SXNested","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Components name","scope":"support.class.component","settings":{"foreground":"#FFCB6B"}},{"name":"C-related Block Level Variables","scope":"source.cpp meta.block variable.other","settings":{"foreground":"#EEFFFF"}},{"name":"Member Access Meta","scope":"source.python meta.member.access.python","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"source.python meta.function-call.python, meta.function-call.arguments","settings":{"foreground":"#82AAFF"}},{"name":"Blocks","scope":"meta.block","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"entity.name.function.call","settings":{"foreground":"#82AAFF"}},{"name":"Namespaces","scope":"source.php support.other.namespace, source.php meta.use support.class","settings":{"foreground":"#EEFFFF"}},{"name":"Constant keywords","scope":"constant.keyword","settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Entity name","scope":"entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Global settings","settings":{"background":"#212121","foreground":"#EEFFFF"}},{"name":"Markup Deleted","scope":["markup.deleted"],"settings":{"foreground":"#f07178"}},{"name":"Markup Inserted","scope":["markup.inserted"],"settings":{"foreground":"#C3E88D"}},{"name":"Markup Underline","scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"name":"Keyword Control","scope":["keyword.control"],"settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Parameter","scope":["variable.parameter"],"settings":{"fontStyle":"italic"}},{"name":"Python - Self Parameter","scope":["variable.parameter.function.language.special.self.python"],"settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Python - Format Placeholder","scope":["constant.character.format.placeholder.other.python"],"settings":{"foreground":"#F78C6C"}},{"name":"Markdown - Blockquote","scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#89DDFF"}},{"name":"Markdown - Fenced Language","scope":["markup.fenced_code.block"],"settings":{"foreground":"#EEFFFF90"}},{"name":"Markdown - Blockquote Punctuation","scope":["punctuation.definition.quote"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 0","scope":["meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 1","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#FFCB6B"}},{"name":"JSON Key - Level 2","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#F78C6C"}},{"name":"JSON Key - Level 3","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#f07178"}},{"name":"JSON Key - Level 4","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#916b53"}},{"name":"JSON Key - Level 5","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#82AAFF"}},{"name":"JSON Key - Level 6","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 7","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 8","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C3E88D"}}],"colors":{"focusBorder":"#FFFFFF00","foreground":"#EEFFFF","button.background":"#61616150","button.foreground":"#ffffff","dropdown.background":"#212121","input.background":"#2B2B2B","inputOption.activeBorder":"#EEFFFF30","list.activeSelectionBackground":"#212121","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#EEFFFF20","list.focusForeground":"#EEFFFF","list.highlightForeground":"#80CBC4","list.hoverBackground":"#212121","list.inactiveSelectionBackground":"#00000030","activityBar.background":"#212121","activityBar.dropBackground":"#f0717880","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#545454","sideBar.background":"#212121","sideBarSectionHeader.background":"#212121","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#212121","tab.border":"#212121","tab.activeBorder":"#80CBC4","tab.inactiveBackground":"#212121","tab.activeModifiedBorder":"#616161","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","editor.background":"#212121","editor.foreground":"#EEFFFF","editorLineNumber.foreground":"#424242","editorLineNumber.activeForeground":"#616161","editorCursor.foreground":"#FFCC00","editor.selectionBackground":"#61616150","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editor.findMatchHighlight":"#EEFFFF","editor.findRangeHighlightBackground":"#FFCB6B30","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editorWhitespace.foreground":"#EEFFFF40","editorWidget.background":"#212121","editorHoverWidget.background":"#212121","editorMarkerNavigation.background":"#EEFFFF05","peekView.border":"#00000030","peekViewEditor.background":"#EEFFFF05","peekViewResult.background":"#EEFFFF05","peekViewTitle.background":"#EEFFFF05","panel.background":"#212121","panel.border":"#21212160","panelTitle.activeBorder":"#80CBC4","panelTitle.inactiveForeground":"#EEFFFF","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","statusBar.background":"#212121","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.noFolderBackground":"#212121","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#54545420","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","titleBar.activeBackground":"#212121","pickerGroup.border":"#FFFFFF1a","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#545454","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","debugToolBar.background":"#212121","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","selection.background":"#00000080","editorRuler.foreground":"#424242","widget.shadow":"#00000030","scrollbar.shadow":"#00000030","editorLink.activeForeground":"#EEFFFF","progressBar.background":"#80CBC4","pickerGroup.foreground":"#80CBC4","tree.indentGuidesStroke":"#424242","terminalCursor.foreground":"#FFCB6B","terminalCursor.background":"#000000","inputOption.activeBackground":"#EEFFFF30","textLink.foreground":"#80CBC4","textLink.activeForeground":"#EEFFFF","sideBar.foreground":"#616161","sideBar.border":"#21212160","sideBarTitle.foreground":"#EEFFFF","sideBarSectionHeader.border":"#21212160","panel.dropBackground":"#EEFFFF","panelTitle.activeForeground":"#FFFFFF","editor.lineHighlightBackground":"#00000050","editor.findMatchBackground":"#000000","editor.findMatchHighlightBackground":"#00000050","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlightBorder":"#ffffff30","editorIndentGuide.background":"#42424270","editorIndentGuide.activeBackground":"#424242","editorGroup.border":"#00000030","editorGutter.modifiedBackground":"#82AAFF60","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","activityBar.border":"#21212160","activityBar.foreground":"#EEFFFF","activityBar.activeBorder":"#80CBC4","extensionBadge.remoteForeground":"#EEFFFF","scrollbarSlider.background":"#EEFFFF20","scrollbarSlider.hoverBackground":"#EEFFFF10","scrollbarSlider.activeBackground":"#80CBC4","tab.unfocusedActiveBorder":"#545454","tab.activeForeground":"#FFFFFF","tab.inactiveForeground":"#616161","tab.activeBackground":"#212121","tab.unfocusedActiveForeground":"#EEFFFF","editorWidget.resizeBorder":"#80CBC4","editorWidget.border":"#80CBC4","statusBar.border":"#21212160","statusBar.foreground":"#616161","editorBracketMatch.border":"#FFCC0050","editorBracketMatch.background":"#212121","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.border":"#212121","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorInfo.foreground":"#82AAFF70","editorWarning.foreground":"#FFCB6B70","editorError.foreground":"#f0717870","editorHoverWidget.border":"#FFFFFF10","titleBar.activeForeground":"#EEFFFF","titleBar.inactiveBackground":"#212121","titleBar.inactiveForeground":"#616161","titleBar.border":"#21212160","input.foreground":"#EEFFFF","input.placeholderForeground":"#EEFFFF60","input.border":"#FFFFFF10","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","dropdown.border":"#FFFFFF10","quickInput.background":"#212121","quickInput.foreground":"#616161","list.hoverForeground":"#FFFFFF","list.inactiveSelectionForeground":"#80CBC4","quickInput.list.focusBackground":"#EEFFFF20","editorSuggestWidget.background":"#212121","editorSuggestWidget.foreground":"#EEFFFF","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorSuggestWidget.border":"#FFFFFF10","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","notifications.background":"#212121","notifications.foreground":"#EEFFFF","notificationLink.foreground":"#80CBC4","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentHoverBackground":"#C3E88D","extensionButton.prominentForeground":"#000000","peekViewEditorGutter.background":"#EEFFFF05","peekViewTitleDescription.foreground":"#EEFFFF60","peekViewResult.matchHighlightBackground":"#61616150","peekViewEditor.matchHighlightBackground":"#61616150","peekViewResult.selectionBackground":"#61616170","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","gitDecoration.ignoredResourceForeground":"#61616190","breadcrumb.background":"#212121","breadcrumb.foreground":"#616161","breadcrumb.focusForeground":"#EEFFFF","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumbPicker.background":"#212121","menu.background":"#212121","menu.foreground":"#EEFFFF","menu.selectionBackground":"#00000050","menu.selectionForeground":"#80CBC4","menu.selectionBorder":"#00000030","menu.separatorBackground":"#EEFFFF","menubar.selectionBackground":"#00000030","menubar.selectionForeground":"#80CBC4","menubar.selectionBorder":"#00000030","settings.dropdownForeground":"#EEFFFF","settings.dropdownBackground":"#212121","settings.numberInputForeground":"#EEFFFF","settings.numberInputBackground":"#212121","settings.textInputForeground":"#EEFFFF","settings.textInputBackground":"#212121","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.checkboxBackground":"#212121","settings.checkboxForeground":"#EEFFFF","listFilterWidget.background":"#00000030","listFilterWidget.outline":"#00000030","listFilterWidget.noMatchesOutline":"#00000030"}}'),bo=JSON.parse('{"name":"One Dark Pro","type":"dark","semanticHighlighting":true,"semanticTokenColors":{"enumMember":{"foreground":"#56b6c2"},"variable.constant":{"foreground":"#d19a66"},"variable.defaultLibrary":{"foreground":"#e5c07b"},"variable:dart":{"foreground":"#d19a66"},"property:dart":{"foreground":"#d19a66"},"annotation:dart":{"foreground":"#d19a66"},"parameter.label:dart":{"foreground":"#abb2bf"},"macro":{"foreground":"#d19a66"},"tomlArrayKey":{"foreground":"#e5c07b"}},"tokenColors":[{"scope":"meta.embedded","settings":{"foreground":"#abb2bf"}},{"name":"unison punctuation","scope":"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison","settings":{"foreground":"#e06c75"}},{"name":"haskell variable generic-type","scope":"variable.other.generic-type.haskell","settings":{"foreground":"#c678dd"}},{"name":"haskell storage type","scope":"storage.type.haskell","settings":{"foreground":"#d19a66"}},{"name":"support.variable.magic.python","scope":"support.variable.magic.python","settings":{"foreground":"#e06c75"}},{"name":"punctuation.separator.parameters.python","scope":"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python","settings":{"foreground":"#abb2bf"}},{"name":"variable.parameter.function.language.special.self.python","scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"#e5c07b"}},{"name":"variable.parameter.function.language.special.cls.python","scope":"variable.parameter.function.language.special.cls.python","settings":{"foreground":"#e5c07b"}},{"name":"storage.modifier.lifetime.rust","scope":"storage.modifier.lifetime.rust","settings":{"foreground":"#abb2bf"}},{"name":"support.function.std.rust","scope":"support.function.std.rust","settings":{"foreground":"#61afef"}},{"name":"entity.name.lifetime.rust","scope":"entity.name.lifetime.rust","settings":{"foreground":"#e5c07b"}},{"name":"variable.language.rust","scope":"variable.language.rust","settings":{"foreground":"#e06c75"}},{"name":"support.constant.edge","scope":"support.constant.edge","settings":{"foreground":"#c678dd"}},{"name":"regexp constant character-class","scope":"constant.other.character-class.regexp","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":["keyword.operator.word"],"settings":{"foreground":"#c678dd"}},{"name":"regexp operator.quantifier","scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d19a66"}},{"name":"Text","scope":"variable.parameter.function","settings":{"foreground":"#abb2bf"}},{"name":"Comment Markup Link","scope":"comment markup.link","settings":{"foreground":"#5c6370"}},{"name":"markup diff","scope":"markup.changed.diff","settings":{"foreground":"#e5c07b"}},{"name":"diff","scope":"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff","settings":{"foreground":"#61afef"}},{"name":"inserted.diff","scope":"markup.inserted.diff","settings":{"foreground":"#98c379"}},{"name":"deleted.diff","scope":"markup.deleted.diff","settings":{"foreground":"#e06c75"}},{"name":"c++ function","scope":"meta.function.c,meta.function.cpp","settings":{"foreground":"#e06c75"}},{"name":"c++ block","scope":"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c","settings":{"foreground":"#abb2bf"}},{"name":"js/ts punctuation separator key-value","scope":"punctuation.separator.key-value","settings":{"foreground":"#abb2bf"}},{"name":"js/ts import keyword","scope":"keyword.operator.expression.import","settings":{"foreground":"#61afef"}},{"name":"math js/ts","scope":"support.constant.math","settings":{"foreground":"#e5c07b"}},{"name":"math property js/ts","scope":"support.constant.property.math","settings":{"foreground":"#d19a66"}},{"name":"js/ts variable.other.constant","scope":"variable.other.constant","settings":{"foreground":"#e5c07b"}},{"name":"java type","scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"#e5c07b"}},{"name":"java source","scope":"source.java","settings":{"foreground":"#e06c75"}},{"name":"java modifier.import","scope":"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java","settings":{"foreground":"#abb2bf"}},{"name":"java modifier.import","scope":"meta.method.java","settings":{"foreground":"#61afef"}},{"name":"java modifier.import","scope":"storage.modifier.import.java,storage.type.java,storage.type.generic.java","settings":{"foreground":"#e5c07b"}},{"name":"java instanceof","scope":"keyword.operator.instanceof.java","settings":{"foreground":"#c678dd"}},{"name":"java variable.name","scope":"meta.definition.variable.name.java","settings":{"foreground":"#e06c75"}},{"name":"operator logical","scope":"keyword.operator.logical","settings":{"foreground":"#56b6c2"}},{"name":"operator bitwise","scope":"keyword.operator.bitwise","settings":{"foreground":"#56b6c2"}},{"name":"operator channel","scope":"keyword.operator.channel","settings":{"foreground":"#56b6c2"}},{"name":"support.constant.property-value.scss","scope":"support.constant.property-value.scss,support.constant.property-value.css","settings":{"foreground":"#d19a66"}},{"name":"CSS/SCSS/LESS Operators","scope":"keyword.operator.css,keyword.operator.scss,keyword.operator.less","settings":{"foreground":"#56b6c2"}},{"name":"css color standard name","scope":"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss","settings":{"foreground":"#d19a66"}},{"name":"css comma","scope":"punctuation.separator.list.comma.css","settings":{"foreground":"#abb2bf"}},{"name":"css attribute-name.id","scope":"support.constant.color.w3c-standard-color-name.css","settings":{"foreground":"#d19a66"}},{"name":"css property-name","scope":"support.type.vendored.property-name.css","settings":{"foreground":"#56b6c2"}},{"name":"js/ts module","scope":"support.module.node,support.type.object.module,support.module.node","settings":{"foreground":"#e5c07b"}},{"name":"entity.name.type.module","scope":"entity.name.type.module","settings":{"foreground":"#e5c07b"}},{"name":"js variable readwrite","scope":"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node","settings":{"foreground":"#e06c75"}},{"name":"js/ts json","scope":"support.constant.json","settings":{"foreground":"#d19a66"}},{"name":"js/ts Keyword","scope":["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],"settings":{"foreground":"#c678dd"}},{"name":"js/ts console","scope":"support.type.object.console","settings":{"foreground":"#e06c75"}},{"name":"js/ts support.variable.property.process","scope":"support.variable.property.process","settings":{"foreground":"#d19a66"}},{"name":"js console function","scope":"entity.name.function,support.function.console","settings":{"foreground":"#61afef"}},{"name":"keyword.operator.misc.rust","scope":"keyword.operator.misc.rust","settings":{"foreground":"#abb2bf"}},{"name":"keyword.operator.sigil.rust","scope":"keyword.operator.sigil.rust","settings":{"foreground":"#c678dd"}},{"name":"operator","scope":"keyword.operator.delete","settings":{"foreground":"#c678dd"}},{"name":"js dom","scope":"support.type.object.dom","settings":{"foreground":"#56b6c2"}},{"name":"js dom variable","scope":"support.variable.dom,support.variable.property.dom","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational","settings":{"foreground":"#56b6c2"}},{"name":"C operator assignment","scope":"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp","settings":{"foreground":"#c678dd"}},{"name":"Punctuation","scope":"punctuation.separator.delimiter","settings":{"foreground":"#abb2bf"}},{"name":"Other punctuation .c","scope":"punctuation.separator.c,punctuation.separator.cpp","settings":{"foreground":"#c678dd"}},{"name":"C type posix-reserved","scope":"support.type.posix-reserved.c,support.type.posix-reserved.cpp","settings":{"foreground":"#56b6c2"}},{"name":"keyword.operator.sizeof.c","scope":"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp","settings":{"foreground":"#c678dd"}},{"name":"python parameter","scope":"variable.parameter.function.language.python","settings":{"foreground":"#d19a66"}},{"name":"python type","scope":"support.type.python","settings":{"foreground":"#56b6c2"}},{"name":"python logical","scope":"keyword.operator.logical.python","settings":{"foreground":"#c678dd"}},{"name":"pyCs","scope":"variable.parameter.function.python","settings":{"foreground":"#d19a66"}},{"name":"python block","scope":"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python","settings":{"foreground":"#abb2bf"}},{"name":"python function-call.generic","scope":"meta.function-call.generic.python","settings":{"foreground":"#61afef"}},{"name":"python placeholder reset to normal string","scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#d19a66"}},{"name":"Operators","scope":"keyword.operator","settings":{"foreground":"#abb2bf"}},{"name":"Compound Assignment Operators","scope":"keyword.operator.assignment.compound","settings":{"foreground":"#c678dd"}},{"name":"Compound Assignment Operators js/ts","scope":"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts","settings":{"foreground":"#56b6c2"}},{"name":"Keywords","scope":"keyword","settings":{"foreground":"#c678dd"}},{"name":"Namespaces","scope":"entity.name.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Variables","scope":"variable","settings":{"foreground":"#e06c75"}},{"name":"Variables","scope":"variable.c","settings":{"foreground":"#abb2bf"}},{"name":"Language variables","scope":"variable.language","settings":{"foreground":"#e5c07b"}},{"name":"Java Variables","scope":"token.variable.parameter.java","settings":{"foreground":"#abb2bf"}},{"name":"Java Imports","scope":"import.storage.java","settings":{"foreground":"#e5c07b"}},{"name":"Packages","scope":"token.package.keyword","settings":{"foreground":"#c678dd"}},{"name":"Packages","scope":"token.package","settings":{"foreground":"#abb2bf"}},{"name":"Functions","scope":["entity.name.function","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"#61afef"}},{"name":"Classes","scope":"entity.name.type.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Classes","scope":"support.class, entity.name.type.class","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"#e5c07b"}},{"name":"Class name php","scope":"variable.other.class.php","settings":{"foreground":"#e06c75"}},{"name":"Type Name","scope":"entity.name.type","settings":{"foreground":"#e5c07b"}},{"name":"Keyword Control","scope":"keyword.control","settings":{"foreground":"#c678dd"}},{"name":"Control Elements","scope":"control.elements, keyword.operator.less","settings":{"foreground":"#d19a66"}},{"name":"Methods","scope":"keyword.other.special-method","settings":{"foreground":"#61afef"}},{"name":"Storage","scope":"storage","settings":{"foreground":"#c678dd"}},{"name":"Storage JS TS","scope":"token.storage","settings":{"foreground":"#c678dd"}},{"name":"Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void","scope":"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void","settings":{"foreground":"#c678dd"}},{"name":"Java Storage","scope":"token.storage.type.java","settings":{"foreground":"#e5c07b"}},{"name":"Support","scope":"support.function","settings":{"foreground":"#56b6c2"}},{"name":"Support type","scope":"support.type.property-name","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] toml support","scope":"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml","settings":{"foreground":"#e06c75"}},{"name":"Support type","scope":"support.constant.property-value","settings":{"foreground":"#abb2bf"}},{"name":"Support type","scope":"support.constant.font-name","settings":{"foreground":"#d19a66"}},{"name":"Meta tag","scope":"meta.tag","settings":{"foreground":"#abb2bf"}},{"name":"Strings","scope":"string","settings":{"foreground":"#98c379"}},{"name":"Constant other symbol","scope":"constant.other.symbol","settings":{"foreground":"#56b6c2"}},{"name":"Integers","scope":"constant.numeric","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"constant","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"punctuation.definition.constant","settings":{"foreground":"#d19a66"}},{"name":"Tags","scope":"entity.name.tag","settings":{"foreground":"#e06c75"}},{"name":"Attributes","scope":"entity.other.attribute-name","settings":{"foreground":"#d19a66"}},{"name":"Attribute IDs","scope":"entity.other.attribute-name.id","settings":{"foreground":"#61afef"}},{"name":"Attribute class","scope":"entity.other.attribute-name.class.css","settings":{"foreground":"#d19a66"}},{"name":"Selector","scope":"meta.selector","settings":{"foreground":"#c678dd"}},{"name":"Headings","scope":"markup.heading","settings":{"foreground":"#e06c75"}},{"name":"Headings","scope":"markup.heading punctuation.definition.heading, entity.name.section","settings":{"foreground":"#61afef"}},{"name":"Units","scope":"keyword.other.unit","settings":{"foreground":"#e06c75"}},{"name":"Bold","scope":"markup.bold,todo.bold","settings":{"foreground":"#d19a66"}},{"name":"Bold","scope":"punctuation.definition.bold","settings":{"foreground":"#e5c07b"}},{"name":"markup Italic","scope":"markup.italic, punctuation.definition.italic,todo.emphasis","settings":{"foreground":"#c678dd"}},{"name":"emphasis md","scope":"emphasis md","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown headings","scope":"entity.name.section.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown heading Punctuation Definition","scope":"punctuation.definition.heading.markdown","settings":{"foreground":"#e06c75"}},{"name":"punctuation.definition.list.begin.markdown","scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown heading setext","scope":"markup.heading.setext","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Bold","scope":"punctuation.definition.bold.markdown","settings":{"foreground":"#d19a66"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw punctuation","scope":"punctuation.definition.raw.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown List Punctuation Definition","scope":"punctuation.definition.list.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition String","scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"beginning.punctuation.definition.list.markdown","scope":["beginning.punctuation.definition.list.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Link","scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Underline Link/Image","scope":"markup.underline.link.markdown,markup.underline.link.image.markdown","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown Link Title/Description","scope":"string.other.link.title.markdown,string.other.link.description.markdown","settings":{"foreground":"#61afef"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw","scope":"markup.raw.monospace.asciidoc","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition","scope":"punctuation.definition.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc List Punctuation Definition","scope":"markup.list.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc underline link","scope":"markup.link.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Asciidoc link name","scope":"string.unquoted.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#61afef"}},{"name":"Regular Expressions","scope":"string.regexp","settings":{"foreground":"#56b6c2"}},{"name":"Embedded","scope":"punctuation.section.embedded, variable.interpolation","settings":{"foreground":"#e06c75"}},{"name":"Embedded","scope":"punctuation.section.embedded.begin,punctuation.section.embedded.end","settings":{"foreground":"#c678dd"}},{"name":"illegal","scope":"invalid.illegal","settings":{"foreground":"#ffffff"}},{"name":"illegal","scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"#abb2bf"}},{"scope":"invalid.illegal.unrecognized-tag.html","settings":{"foreground":"#e06c75"}},{"name":"Broken","scope":"invalid.broken","settings":{"foreground":"#ffffff"}},{"name":"Deprecated","scope":"invalid.deprecated","settings":{"foreground":"#ffffff"}},{"name":"html Deprecated","scope":"invalid.deprecated.entity.other.attribute-name.html","settings":{"foreground":"#d19a66"}},{"name":"Unimplemented","scope":"invalid.unimplemented","settings":{"foreground":"#ffffff"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json","scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String","scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation","scope":"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation","settings":{"foreground":"#98c379"}},{"name":"Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json","scope":"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json","settings":{"foreground":"#56b6c2"}},{"name":"[VSCODE-CUSTOM] JSON Property Name","scope":"support.type.property-name.json","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] JSON Punctuation for Property Name","scope":"support.type.property-name.json punctuation","settings":{"foreground":"#e06c75"}},{"name":"laravel blade tag","scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"laravel blade @","scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"use statement for other classes","scope":"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php","settings":{"foreground":"#e5c07b"}},{"name":"error suppression","scope":"keyword.operator.error-control.php","settings":{"foreground":"#c678dd"}},{"name":"php instanceof","scope":"keyword.operator.type.php","settings":{"foreground":"#c678dd"}},{"name":"style double quoted array index normal begin","scope":"punctuation.section.array.begin.php","settings":{"foreground":"#abb2bf"}},{"name":"style double quoted array index normal end","scope":"punctuation.section.array.end.php","settings":{"foreground":"#abb2bf"}},{"name":"php illegal.non-null-typehinted","scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"#f44747"}},{"name":"php types","scope":"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php","settings":{"foreground":"#e5c07b"}},{"name":"php call-function","scope":"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php","settings":{"foreground":"#61afef"}},{"name":"php function-resets","scope":"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php","settings":{"foreground":"#abb2bf"}},{"name":"support php constants","scope":"support.constant.core.rust","settings":{"foreground":"#d19a66"}},{"name":"support php constants","scope":"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php","settings":{"foreground":"#d19a66"}},{"name":"php goto","scope":"entity.name.goto-label.php,support.other.php","settings":{"foreground":"#61afef"}},{"name":"php logical/bitwise operator","scope":"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php","settings":{"foreground":"#56b6c2"}},{"name":"php regexp operator","scope":"keyword.operator.regexp.php","settings":{"foreground":"#c678dd"}},{"name":"php comparison","scope":"keyword.operator.comparison.php","settings":{"foreground":"#56b6c2"}},{"name":"php heredoc/nowdoc","scope":"keyword.operator.heredoc.php,keyword.operator.nowdoc.php","settings":{"foreground":"#c678dd"}},{"name":"python function decorator @","scope":"meta.function.decorator.python","settings":{"foreground":"#61afef"}},{"name":"python function support","scope":"support.token.decorator.python,meta.function.decorator.identifier.python","settings":{"foreground":"#56b6c2"}},{"name":"parameter function js/ts","scope":"function.parameter","settings":{"foreground":"#abb2bf"}},{"name":"brace function","scope":"function.brace","settings":{"foreground":"#abb2bf"}},{"name":"parameter function ruby cs","scope":"function.parameter.ruby, function.parameter.cs","settings":{"foreground":"#abb2bf"}},{"name":"constant.language.symbol.ruby","scope":"constant.language.symbol.ruby","settings":{"foreground":"#56b6c2"}},{"name":"constant.language.symbol.hashkey.ruby","scope":"constant.language.symbol.hashkey.ruby","settings":{"foreground":"#56b6c2"}},{"name":"rgb-value","scope":"rgb-value","settings":{"foreground":"#56b6c2"}},{"name":"rgb value","scope":"inline-color-decoration rgb-value","settings":{"foreground":"#d19a66"}},{"name":"rgb value less","scope":"less rgb-value","settings":{"foreground":"#d19a66"}},{"name":"sass selector","scope":"selector.sass","settings":{"foreground":"#e06c75"}},{"name":"ts primitive/builtin types","scope":"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx","settings":{"foreground":"#e5c07b"}},{"name":"block scope","scope":"block.scope.end,block.scope.begin","settings":{"foreground":"#abb2bf"}},{"name":"cs storage type","scope":"storage.type.cs","settings":{"foreground":"#e5c07b"}},{"name":"cs local variable","scope":"entity.name.variable.local.cs","settings":{"foreground":"#e06c75"}},{"scope":"token.info-token","settings":{"foreground":"#61afef"}},{"scope":"token.warn-token","settings":{"foreground":"#d19a66"}},{"scope":"token.error-token","settings":{"foreground":"#f44747"}},{"scope":"token.debug-token","settings":{"foreground":"#c678dd"}},{"name":"String interpolation","scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#c678dd"}},{"name":"Reset JavaScript string interpolation expression","scope":["meta.template.expression"],"settings":{"foreground":"#abb2bf"}},{"name":"Import module JS","scope":["keyword.operator.module"],"settings":{"foreground":"#c678dd"}},{"name":"js Flowtype","scope":["support.type.type.flowtype"],"settings":{"foreground":"#61afef"}},{"name":"js Flow","scope":["support.type.primitive"],"settings":{"foreground":"#e5c07b"}},{"name":"js class prop","scope":["meta.property.object"],"settings":{"foreground":"#e06c75"}},{"name":"js func parameter","scope":["variable.parameter.function.js"],"settings":{"foreground":"#e06c75"}},{"name":"js template literals begin","scope":["keyword.other.template.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals end","scope":["keyword.other.template.end"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces begin","scope":["keyword.other.substitution.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces end","scope":["keyword.other.substitution.end"],"settings":{"foreground":"#98c379"}},{"name":"js operator.assignment","scope":["keyword.operator.assignment"],"settings":{"foreground":"#56b6c2"}},{"name":"go operator","scope":["keyword.operator.assignment.go"],"settings":{"foreground":"#e5c07b"}},{"name":"go operator","scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"#c678dd"}},{"name":"Go package name","scope":["entity.name.package.go"],"settings":{"foreground":"#e5c07b"}},{"name":"elm prelude","scope":["support.type.prelude.elm"],"settings":{"foreground":"#56b6c2"}},{"name":"elm constant","scope":["support.constant.elm"],"settings":{"foreground":"#d19a66"}},{"name":"template literal","scope":["punctuation.quasi.element"],"settings":{"foreground":"#c678dd"}},{"name":"html/pug (jade) escaped characters and entities","scope":["constant.character.entity"],"settings":{"foreground":"#e06c75"}},{"name":"styling css pseudo-elements/classes to be able to differentiate from classes which are the same colour","scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#56b6c2"}},{"name":"Clojure globals","scope":["entity.global.clojure"],"settings":{"foreground":"#e5c07b"}},{"name":"Clojure symbols","scope":["meta.symbol.clojure"],"settings":{"foreground":"#e06c75"}},{"name":"Clojure constants","scope":["constant.keyword.clojure"],"settings":{"foreground":"#56b6c2"}},{"name":"CoffeeScript Function Argument","scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"#e06c75"}},{"name":"Ini Default Text","scope":["source.ini"],"settings":{"foreground":"#98c379"}},{"name":"Makefile prerequisities","scope":["meta.scope.prerequisites.makefile"],"settings":{"foreground":"#e06c75"}},{"name":"Makefile text colour","scope":["source.makefile"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy import names","scope":["storage.modifier.import.groovy"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy Methods","scope":["meta.method.groovy"],"settings":{"foreground":"#61afef"}},{"name":"Groovy Variables","scope":["meta.definition.variable.name.groovy"],"settings":{"foreground":"#e06c75"}},{"name":"Groovy Inheritance","scope":["meta.definition.class.inherited.classes.groovy"],"settings":{"foreground":"#98c379"}},{"name":"HLSL Semantic","scope":["support.variable.semantic.hlsl"],"settings":{"foreground":"#e5c07b"}},{"name":"HLSL Types","scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"#c678dd"}},{"name":"SQL Variables","scope":["text.variable","text.bracketed"],"settings":{"foreground":"#e06c75"}},{"name":"types","scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 1, keyword","scope":["entity.name.function.xi"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 2, callable","scope":["entity.name.class.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 3, property","scope":["constant.character.character-class.regexp.xi"],"settings":{"foreground":"#e06c75"}},{"name":"heading 4, type, class, interface","scope":["constant.regexp.xi"],"settings":{"foreground":"#c678dd"}},{"name":"heading 5, enums, preprocessor, constant, decorator","scope":["keyword.control.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 6, number","scope":["invalid.xi"],"settings":{"foreground":"#abb2bf"}},{"name":"string","scope":["beginning.punctuation.definition.quote.markdown.xi"],"settings":{"foreground":"#98c379"}},{"name":"comments","scope":["beginning.punctuation.definition.list.markdown.xi"],"settings":{"foreground":"#7f848e"}},{"name":"link","scope":["constant.character.xi"],"settings":{"foreground":"#61afef"}},{"name":"accent","scope":["accent.xi"],"settings":{"foreground":"#61afef"}},{"name":"wikiword","scope":["wikiword.xi"],"settings":{"foreground":"#d19a66"}},{"name":"language operators like \'+\', \'-\' etc","scope":["constant.other.color.rgb-value.xi"],"settings":{"foreground":"#ffffff"}},{"name":"elements to dim","scope":["punctuation.definition.tag.xi"],"settings":{"foreground":"#5c6370"}},{"name":"C++/C#","scope":["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"#e5c07b"}},{"name":"Markdown underscore-style headers","scope":["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"meta.brace.square","scope":[" meta.brace.square"],"settings":{"foreground":"#abb2bf"}},{"name":"Comments","scope":"comment, punctuation.definition.comment","settings":{"foreground":"#7f848e","fontStyle":"italic"}},{"name":"[VSCODE-CUSTOM] Markdown Quote","scope":"markup.quote.markdown","settings":{"foreground":"#5c6370"}},{"name":"punctuation.definition.block.sequence.item.yaml","scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"#abb2bf"}},{"scope":["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],"settings":{"foreground":"#56b6c2"}},{"scope":["entity.name.variable.parameter.cs"],"settings":{"foreground":"#e5c07b"}},{"scope":["entity.name.variable.field.cs"],"settings":{"foreground":"#e06c75"}},{"name":"Deleted","scope":"markup.deleted","settings":{"foreground":"#e06c75"}},{"name":"Inserted","scope":"markup.inserted","settings":{"foreground":"#98c379"}},{"name":"Underline","scope":"markup.underline","settings":{"fontStyle":"underline"}},{"name":"punctuation.section.embedded.begin.php","scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#BE5046"}},{"name":"support.other.namespace.php","scope":["support.other.namespace.php"],"settings":{"foreground":"#abb2bf"}},{"name":"variable.other.object","scope":["variable.other.object"],"settings":{"foreground":"#e5c07b"}},{"name":"variable.other.constant.property","scope":["variable.other.constant.property"],"settings":{"foreground":"#e06c75"}},{"name":"entity.other.inherited-class","scope":["entity.other.inherited-class"],"settings":{"foreground":"#e5c07b"}},{"name":"c variable readwrite","scope":"variable.other.readwrite.c","settings":{"foreground":"#e06c75"}},{"name":"php scope","scope":"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php","settings":{"foreground":"#abb2bf"}},{"name":"Assembly","scope":["constant.numeric.decimal.asm.x86_64"],"settings":{"foreground":"#c678dd"}},{"scope":["support.other.parenthesis.regexp"],"settings":{"foreground":"#d19a66"}},{"scope":["constant.character.escape"],"settings":{"foreground":"#56b6c2"}},{"scope":["string.regexp"],"settings":{"foreground":"#e06c75"}},{"name":"js/ts italic","scope":"entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super","settings":{"fontStyle":"italic"}},{"name":"comment","scope":"comment.line.double-slash,comment.block.documentation","settings":{"fontStyle":"italic"}},{"name":"Python Keyword Control","scope":"keyword.control.import.python,keyword.control.flow.python,keyword.operator.logical.python","settings":{"fontStyle":"italic"}},{"name":"markup.italic.markdown","scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}}],"colors":{"activityBar.background":"#282c34","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#282c34","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#21252b","descriptionForeground":"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#21252b","dropdown.border":"#21252b","editor.background":"#282c34","editor.findMatchBackground":"#42557b","editor.findMatchBorder":"#457dff","editor.findMatchHighlightBackground":"#6199ff2f","editor.foreground":"#abb2bf","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorHoverWidget.highlightForeground":"#61afef","editorInlayHint.foreground":"#abb2bf","editorInlayHint.background":"#2c313c","editor.lineHighlightBackground":"#2c313c","editorLineNumber.activeForeground":"#abb2bf","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#21252b","editorHoverWidget.background":"#21252b","editorHoverWidget.border":"#181a1f","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#21252b","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#21252b","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#21252b","focusBorder":"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#21252b","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#282c34","settings.headerForeground":"#fff","sideBar.background":"#21252b","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#282c34","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#21252b","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#21252b","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#282c34","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#21252b","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#282c34","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#282c34","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#21252b","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"}}'),To=JSON.parse('{"name":"One Dark Pro","type":"dark","semanticHighlighting":true,"semanticTokenColors":{"enumMember":{"foreground":"#56b6c2"},"variable.constant":{"foreground":"#d19a66"},"variable.defaultLibrary":{"foreground":"#e5c07b"},"variable:dart":{"foreground":"#d19a66"},"property:dart":{"foreground":"#d19a66"},"annotation:dart":{"foreground":"#d19a66"},"parameter.label:dart":{"foreground":"#abb2bf"},"macro":{"foreground":"#d19a66"},"tomlArrayKey":{"foreground":"#e5c07b"}},"tokenColors":[{"scope":"meta.embedded","settings":{"foreground":"#abb2bf"}},{"name":"unison punctuation","scope":"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison","settings":{"foreground":"#e06c75"}},{"name":"haskell variable generic-type","scope":"variable.other.generic-type.haskell","settings":{"foreground":"#c678dd"}},{"name":"haskell storage type","scope":"storage.type.haskell","settings":{"foreground":"#d19a66"}},{"name":"support.variable.magic.python","scope":"support.variable.magic.python","settings":{"foreground":"#e06c75"}},{"name":"punctuation.separator.parameters.python","scope":"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python","settings":{"foreground":"#abb2bf"}},{"name":"variable.parameter.function.language.special.self.python","scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"#e5c07b"}},{"name":"variable.parameter.function.language.special.cls.python","scope":"variable.parameter.function.language.special.cls.python","settings":{"foreground":"#e5c07b"}},{"name":"storage.modifier.lifetime.rust","scope":"storage.modifier.lifetime.rust","settings":{"foreground":"#abb2bf"}},{"name":"support.function.std.rust","scope":"support.function.std.rust","settings":{"foreground":"#61afef"}},{"name":"entity.name.lifetime.rust","scope":"entity.name.lifetime.rust","settings":{"foreground":"#e5c07b"}},{"name":"variable.language.rust","scope":"variable.language.rust","settings":{"foreground":"#e06c75"}},{"name":"support.constant.edge","scope":"support.constant.edge","settings":{"foreground":"#c678dd"}},{"name":"regexp constant character-class","scope":"constant.other.character-class.regexp","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":["keyword.operator.word"],"settings":{"foreground":"#c678dd"}},{"name":"regexp operator.quantifier","scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d19a66"}},{"name":"Text","scope":"variable.parameter.function","settings":{"foreground":"#abb2bf"}},{"name":"Comment Markup Link","scope":"comment markup.link","settings":{"foreground":"#5c6370"}},{"name":"markup diff","scope":"markup.changed.diff","settings":{"foreground":"#e5c07b"}},{"name":"diff","scope":"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff","settings":{"foreground":"#61afef"}},{"name":"inserted.diff","scope":"markup.inserted.diff","settings":{"foreground":"#98c379"}},{"name":"deleted.diff","scope":"markup.deleted.diff","settings":{"foreground":"#e06c75"}},{"name":"c++ function","scope":"meta.function.c,meta.function.cpp","settings":{"foreground":"#e06c75"}},{"name":"c++ block","scope":"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c","settings":{"foreground":"#abb2bf"}},{"name":"js/ts punctuation separator key-value","scope":"punctuation.separator.key-value","settings":{"foreground":"#abb2bf"}},{"name":"js/ts import keyword","scope":"keyword.operator.expression.import","settings":{"foreground":"#61afef"}},{"name":"math js/ts","scope":"support.constant.math","settings":{"foreground":"#e5c07b"}},{"name":"math property js/ts","scope":"support.constant.property.math","settings":{"foreground":"#d19a66"}},{"name":"js/ts variable.other.constant","scope":"variable.other.constant","settings":{"foreground":"#e5c07b"}},{"name":"java type","scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"#e5c07b"}},{"name":"java source","scope":"source.java","settings":{"foreground":"#e06c75"}},{"name":"java modifier.import","scope":"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java","settings":{"foreground":"#abb2bf"}},{"name":"java modifier.import","scope":"meta.method.java","settings":{"foreground":"#61afef"}},{"name":"java modifier.import","scope":"storage.modifier.import.java,storage.type.java,storage.type.generic.java","settings":{"foreground":"#e5c07b"}},{"name":"java instanceof","scope":"keyword.operator.instanceof.java","settings":{"foreground":"#c678dd"}},{"name":"java variable.name","scope":"meta.definition.variable.name.java","settings":{"foreground":"#e06c75"}},{"name":"operator logical","scope":"keyword.operator.logical","settings":{"foreground":"#56b6c2"}},{"name":"operator bitwise","scope":"keyword.operator.bitwise","settings":{"foreground":"#56b6c2"}},{"name":"operator channel","scope":"keyword.operator.channel","settings":{"foreground":"#56b6c2"}},{"name":"support.constant.property-value.scss","scope":"support.constant.property-value.scss,support.constant.property-value.css","settings":{"foreground":"#d19a66"}},{"name":"CSS/SCSS/LESS Operators","scope":"keyword.operator.css,keyword.operator.scss,keyword.operator.less","settings":{"foreground":"#56b6c2"}},{"name":"css color standard name","scope":"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss","settings":{"foreground":"#d19a66"}},{"name":"css comma","scope":"punctuation.separator.list.comma.css","settings":{"foreground":"#abb2bf"}},{"name":"css attribute-name.id","scope":"support.constant.color.w3c-standard-color-name.css","settings":{"foreground":"#d19a66"}},{"name":"css property-name","scope":"support.type.vendored.property-name.css","settings":{"foreground":"#56b6c2"}},{"name":"js/ts module","scope":"support.module.node,support.type.object.module,support.module.node","settings":{"foreground":"#e5c07b"}},{"name":"entity.name.type.module","scope":"entity.name.type.module","settings":{"foreground":"#e5c07b"}},{"name":"js variable readwrite","scope":"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node","settings":{"foreground":"#e06c75"}},{"name":"js/ts json","scope":"support.constant.json","settings":{"foreground":"#d19a66"}},{"name":"js/ts Keyword","scope":["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],"settings":{"foreground":"#c678dd"}},{"name":"js/ts console","scope":"support.type.object.console","settings":{"foreground":"#e06c75"}},{"name":"js/ts support.variable.property.process","scope":"support.variable.property.process","settings":{"foreground":"#d19a66"}},{"name":"js console function","scope":"entity.name.function,support.function.console","settings":{"foreground":"#61afef"}},{"name":"keyword.operator.misc.rust","scope":"keyword.operator.misc.rust","settings":{"foreground":"#abb2bf"}},{"name":"keyword.operator.sigil.rust","scope":"keyword.operator.sigil.rust","settings":{"foreground":"#c678dd"}},{"name":"operator","scope":"keyword.operator.delete","settings":{"foreground":"#c678dd"}},{"name":"js dom","scope":"support.type.object.dom","settings":{"foreground":"#56b6c2"}},{"name":"js dom variable","scope":"support.variable.dom,support.variable.property.dom","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational","settings":{"foreground":"#56b6c2"}},{"name":"C operator assignment","scope":"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp","settings":{"foreground":"#c678dd"}},{"name":"Punctuation","scope":"punctuation.separator.delimiter","settings":{"foreground":"#abb2bf"}},{"name":"Other punctuation .c","scope":"punctuation.separator.c,punctuation.separator.cpp","settings":{"foreground":"#c678dd"}},{"name":"C type posix-reserved","scope":"support.type.posix-reserved.c,support.type.posix-reserved.cpp","settings":{"foreground":"#56b6c2"}},{"name":"keyword.operator.sizeof.c","scope":"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp","settings":{"foreground":"#c678dd"}},{"name":"python parameter","scope":"variable.parameter.function.language.python","settings":{"foreground":"#d19a66"}},{"name":"python type","scope":"support.type.python","settings":{"foreground":"#56b6c2"}},{"name":"python logical","scope":"keyword.operator.logical.python","settings":{"foreground":"#c678dd"}},{"name":"pyCs","scope":"variable.parameter.function.python","settings":{"foreground":"#d19a66"}},{"name":"python block","scope":"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python","settings":{"foreground":"#abb2bf"}},{"name":"python function-call.generic","scope":"meta.function-call.generic.python","settings":{"foreground":"#61afef"}},{"name":"python placeholder reset to normal string","scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#d19a66"}},{"name":"Operators","scope":"keyword.operator","settings":{"foreground":"#abb2bf"}},{"name":"Compound Assignment Operators","scope":"keyword.operator.assignment.compound","settings":{"foreground":"#c678dd"}},{"name":"Compound Assignment Operators js/ts","scope":"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts","settings":{"foreground":"#56b6c2"}},{"name":"Keywords","scope":"keyword","settings":{"foreground":"#c678dd"}},{"name":"Namespaces","scope":"entity.name.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Variables","scope":"variable","settings":{"foreground":"#e06c75"}},{"name":"Variables","scope":"variable.c","settings":{"foreground":"#abb2bf"}},{"name":"Language variables","scope":"variable.language","settings":{"foreground":"#e5c07b"}},{"name":"Java Variables","scope":"token.variable.parameter.java","settings":{"foreground":"#abb2bf"}},{"name":"Java Imports","scope":"import.storage.java","settings":{"foreground":"#e5c07b"}},{"name":"Packages","scope":"token.package.keyword","settings":{"foreground":"#c678dd"}},{"name":"Packages","scope":"token.package","settings":{"foreground":"#abb2bf"}},{"name":"Functions","scope":["entity.name.function","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"#61afef"}},{"name":"Classes","scope":"entity.name.type.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Classes","scope":"support.class, entity.name.type.class","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"#e5c07b"}},{"name":"Class name php","scope":"variable.other.class.php","settings":{"foreground":"#e06c75"}},{"name":"Type Name","scope":"entity.name.type","settings":{"foreground":"#e5c07b"}},{"name":"Keyword Control","scope":"keyword.control","settings":{"foreground":"#c678dd"}},{"name":"Control Elements","scope":"control.elements, keyword.operator.less","settings":{"foreground":"#d19a66"}},{"name":"Methods","scope":"keyword.other.special-method","settings":{"foreground":"#61afef"}},{"name":"Storage","scope":"storage","settings":{"foreground":"#c678dd"}},{"name":"Storage JS TS","scope":"token.storage","settings":{"foreground":"#c678dd"}},{"name":"Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void","scope":"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void","settings":{"foreground":"#c678dd"}},{"name":"Java Storage","scope":"token.storage.type.java","settings":{"foreground":"#e5c07b"}},{"name":"Support","scope":"support.function","settings":{"foreground":"#56b6c2"}},{"name":"Support type","scope":"support.type.property-name","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] toml support","scope":"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml","settings":{"foreground":"#e06c75"}},{"name":"Support type","scope":"support.constant.property-value","settings":{"foreground":"#abb2bf"}},{"name":"Support type","scope":"support.constant.font-name","settings":{"foreground":"#d19a66"}},{"name":"Meta tag","scope":"meta.tag","settings":{"foreground":"#abb2bf"}},{"name":"Strings","scope":"string","settings":{"foreground":"#98c379"}},{"name":"Constant other symbol","scope":"constant.other.symbol","settings":{"foreground":"#56b6c2"}},{"name":"Integers","scope":"constant.numeric","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"constant","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"punctuation.definition.constant","settings":{"foreground":"#d19a66"}},{"name":"Tags","scope":"entity.name.tag","settings":{"foreground":"#e06c75"}},{"name":"Attributes","scope":"entity.other.attribute-name","settings":{"foreground":"#d19a66"}},{"name":"Attribute IDs","scope":"entity.other.attribute-name.id","settings":{"foreground":"#61afef"}},{"name":"Attribute class","scope":"entity.other.attribute-name.class.css","settings":{"foreground":"#d19a66"}},{"name":"Selector","scope":"meta.selector","settings":{"foreground":"#c678dd"}},{"name":"Headings","scope":"markup.heading","settings":{"foreground":"#e06c75"}},{"name":"Headings","scope":"markup.heading punctuation.definition.heading, entity.name.section","settings":{"foreground":"#61afef"}},{"name":"Units","scope":"keyword.other.unit","settings":{"foreground":"#e06c75"}},{"name":"Bold","scope":"markup.bold,todo.bold","settings":{"foreground":"#d19a66"}},{"name":"Bold","scope":"punctuation.definition.bold","settings":{"foreground":"#e5c07b"}},{"name":"markup Italic","scope":"markup.italic, punctuation.definition.italic,todo.emphasis","settings":{"foreground":"#c678dd"}},{"name":"emphasis md","scope":"emphasis md","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown headings","scope":"entity.name.section.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown heading Punctuation Definition","scope":"punctuation.definition.heading.markdown","settings":{"foreground":"#e06c75"}},{"name":"punctuation.definition.list.begin.markdown","scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown heading setext","scope":"markup.heading.setext","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Bold","scope":"punctuation.definition.bold.markdown","settings":{"foreground":"#d19a66"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw punctuation","scope":"punctuation.definition.raw.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown List Punctuation Definition","scope":"punctuation.definition.list.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition String","scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"beginning.punctuation.definition.list.markdown","scope":["beginning.punctuation.definition.list.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Link","scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Underline Link/Image","scope":"markup.underline.link.markdown,markup.underline.link.image.markdown","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown Link Title/Description","scope":"string.other.link.title.markdown,string.other.link.description.markdown","settings":{"foreground":"#61afef"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw","scope":"markup.raw.monospace.asciidoc","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition","scope":"punctuation.definition.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc List Punctuation Definition","scope":"markup.list.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc underline link","scope":"markup.link.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Asciidoc link name","scope":"string.unquoted.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#61afef"}},{"name":"Regular Expressions","scope":"string.regexp","settings":{"foreground":"#56b6c2"}},{"name":"Embedded","scope":"punctuation.section.embedded, variable.interpolation","settings":{"foreground":"#e06c75"}},{"name":"Embedded","scope":"punctuation.section.embedded.begin,punctuation.section.embedded.end","settings":{"foreground":"#c678dd"}},{"name":"illegal","scope":"invalid.illegal","settings":{"foreground":"#ffffff"}},{"name":"illegal","scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"#abb2bf"}},{"scope":"invalid.illegal.unrecognized-tag.html","settings":{"foreground":"#e06c75"}},{"name":"Broken","scope":"invalid.broken","settings":{"foreground":"#ffffff"}},{"name":"Deprecated","scope":"invalid.deprecated","settings":{"foreground":"#ffffff"}},{"name":"html Deprecated","scope":"invalid.deprecated.entity.other.attribute-name.html","settings":{"foreground":"#d19a66"}},{"name":"Unimplemented","scope":"invalid.unimplemented","settings":{"foreground":"#ffffff"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json","scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String","scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation","scope":"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation","settings":{"foreground":"#98c379"}},{"name":"Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json","scope":"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json","settings":{"foreground":"#56b6c2"}},{"name":"[VSCODE-CUSTOM] JSON Property Name","scope":"support.type.property-name.json","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] JSON Punctuation for Property Name","scope":"support.type.property-name.json punctuation","settings":{"foreground":"#e06c75"}},{"name":"laravel blade tag","scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"laravel blade @","scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"use statement for other classes","scope":"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php","settings":{"foreground":"#e5c07b"}},{"name":"error suppression","scope":"keyword.operator.error-control.php","settings":{"foreground":"#c678dd"}},{"name":"php instanceof","scope":"keyword.operator.type.php","settings":{"foreground":"#c678dd"}},{"name":"style double quoted array index normal begin","scope":"punctuation.section.array.begin.php","settings":{"foreground":"#abb2bf"}},{"name":"style double quoted array index normal end","scope":"punctuation.section.array.end.php","settings":{"foreground":"#abb2bf"}},{"name":"php illegal.non-null-typehinted","scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"#f44747"}},{"name":"php types","scope":"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php","settings":{"foreground":"#e5c07b"}},{"name":"php call-function","scope":"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php","settings":{"foreground":"#61afef"}},{"name":"php function-resets","scope":"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php","settings":{"foreground":"#abb2bf"}},{"name":"support php constants","scope":"support.constant.core.rust","settings":{"foreground":"#d19a66"}},{"name":"support php constants","scope":"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php","settings":{"foreground":"#d19a66"}},{"name":"php goto","scope":"entity.name.goto-label.php,support.other.php","settings":{"foreground":"#61afef"}},{"name":"php logical/bitwise operator","scope":"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php","settings":{"foreground":"#56b6c2"}},{"name":"php regexp operator","scope":"keyword.operator.regexp.php","settings":{"foreground":"#c678dd"}},{"name":"php comparison","scope":"keyword.operator.comparison.php","settings":{"foreground":"#56b6c2"}},{"name":"php heredoc/nowdoc","scope":"keyword.operator.heredoc.php,keyword.operator.nowdoc.php","settings":{"foreground":"#c678dd"}},{"name":"python function decorator @","scope":"meta.function.decorator.python","settings":{"foreground":"#61afef"}},{"name":"python function support","scope":"support.token.decorator.python,meta.function.decorator.identifier.python","settings":{"foreground":"#56b6c2"}},{"name":"parameter function js/ts","scope":"function.parameter","settings":{"foreground":"#abb2bf"}},{"name":"brace function","scope":"function.brace","settings":{"foreground":"#abb2bf"}},{"name":"parameter function ruby cs","scope":"function.parameter.ruby, function.parameter.cs","settings":{"foreground":"#abb2bf"}},{"name":"constant.language.symbol.ruby","scope":"constant.language.symbol.ruby","settings":{"foreground":"#56b6c2"}},{"name":"constant.language.symbol.hashkey.ruby","scope":"constant.language.symbol.hashkey.ruby","settings":{"foreground":"#56b6c2"}},{"name":"rgb-value","scope":"rgb-value","settings":{"foreground":"#56b6c2"}},{"name":"rgb value","scope":"inline-color-decoration rgb-value","settings":{"foreground":"#d19a66"}},{"name":"rgb value less","scope":"less rgb-value","settings":{"foreground":"#d19a66"}},{"name":"sass selector","scope":"selector.sass","settings":{"foreground":"#e06c75"}},{"name":"ts primitive/builtin types","scope":"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx","settings":{"foreground":"#e5c07b"}},{"name":"block scope","scope":"block.scope.end,block.scope.begin","settings":{"foreground":"#abb2bf"}},{"name":"cs storage type","scope":"storage.type.cs","settings":{"foreground":"#e5c07b"}},{"name":"cs local variable","scope":"entity.name.variable.local.cs","settings":{"foreground":"#e06c75"}},{"scope":"token.info-token","settings":{"foreground":"#61afef"}},{"scope":"token.warn-token","settings":{"foreground":"#d19a66"}},{"scope":"token.error-token","settings":{"foreground":"#f44747"}},{"scope":"token.debug-token","settings":{"foreground":"#c678dd"}},{"name":"String interpolation","scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#c678dd"}},{"name":"Reset JavaScript string interpolation expression","scope":["meta.template.expression"],"settings":{"foreground":"#abb2bf"}},{"name":"Import module JS","scope":["keyword.operator.module"],"settings":{"foreground":"#c678dd"}},{"name":"js Flowtype","scope":["support.type.type.flowtype"],"settings":{"foreground":"#61afef"}},{"name":"js Flow","scope":["support.type.primitive"],"settings":{"foreground":"#e5c07b"}},{"name":"js class prop","scope":["meta.property.object"],"settings":{"foreground":"#e06c75"}},{"name":"js func parameter","scope":["variable.parameter.function.js"],"settings":{"foreground":"#e06c75"}},{"name":"js template literals begin","scope":["keyword.other.template.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals end","scope":["keyword.other.template.end"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces begin","scope":["keyword.other.substitution.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces end","scope":["keyword.other.substitution.end"],"settings":{"foreground":"#98c379"}},{"name":"js operator.assignment","scope":["keyword.operator.assignment"],"settings":{"foreground":"#56b6c2"}},{"name":"go operator","scope":["keyword.operator.assignment.go"],"settings":{"foreground":"#e5c07b"}},{"name":"go operator","scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"#c678dd"}},{"name":"Go package name","scope":["entity.name.package.go"],"settings":{"foreground":"#e5c07b"}},{"name":"elm prelude","scope":["support.type.prelude.elm"],"settings":{"foreground":"#56b6c2"}},{"name":"elm constant","scope":["support.constant.elm"],"settings":{"foreground":"#d19a66"}},{"name":"template literal","scope":["punctuation.quasi.element"],"settings":{"foreground":"#c678dd"}},{"name":"html/pug (jade) escaped characters and entities","scope":["constant.character.entity"],"settings":{"foreground":"#e06c75"}},{"name":"styling css pseudo-elements/classes to be able to differentiate from classes which are the same colour","scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#56b6c2"}},{"name":"Clojure globals","scope":["entity.global.clojure"],"settings":{"foreground":"#e5c07b"}},{"name":"Clojure symbols","scope":["meta.symbol.clojure"],"settings":{"foreground":"#e06c75"}},{"name":"Clojure constants","scope":["constant.keyword.clojure"],"settings":{"foreground":"#56b6c2"}},{"name":"CoffeeScript Function Argument","scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"#e06c75"}},{"name":"Ini Default Text","scope":["source.ini"],"settings":{"foreground":"#98c379"}},{"name":"Makefile prerequisities","scope":["meta.scope.prerequisites.makefile"],"settings":{"foreground":"#e06c75"}},{"name":"Makefile text colour","scope":["source.makefile"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy import names","scope":["storage.modifier.import.groovy"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy Methods","scope":["meta.method.groovy"],"settings":{"foreground":"#61afef"}},{"name":"Groovy Variables","scope":["meta.definition.variable.name.groovy"],"settings":{"foreground":"#e06c75"}},{"name":"Groovy Inheritance","scope":["meta.definition.class.inherited.classes.groovy"],"settings":{"foreground":"#98c379"}},{"name":"HLSL Semantic","scope":["support.variable.semantic.hlsl"],"settings":{"foreground":"#e5c07b"}},{"name":"HLSL Types","scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"#c678dd"}},{"name":"SQL Variables","scope":["text.variable","text.bracketed"],"settings":{"foreground":"#e06c75"}},{"name":"types","scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 1, keyword","scope":["entity.name.function.xi"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 2, callable","scope":["entity.name.class.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 3, property","scope":["constant.character.character-class.regexp.xi"],"settings":{"foreground":"#e06c75"}},{"name":"heading 4, type, class, interface","scope":["constant.regexp.xi"],"settings":{"foreground":"#c678dd"}},{"name":"heading 5, enums, preprocessor, constant, decorator","scope":["keyword.control.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 6, number","scope":["invalid.xi"],"settings":{"foreground":"#abb2bf"}},{"name":"string","scope":["beginning.punctuation.definition.quote.markdown.xi"],"settings":{"foreground":"#98c379"}},{"name":"comments","scope":["beginning.punctuation.definition.list.markdown.xi"],"settings":{"foreground":"#7f848e"}},{"name":"link","scope":["constant.character.xi"],"settings":{"foreground":"#61afef"}},{"name":"accent","scope":["accent.xi"],"settings":{"foreground":"#61afef"}},{"name":"wikiword","scope":["wikiword.xi"],"settings":{"foreground":"#d19a66"}},{"name":"language operators like \'+\', \'-\' etc","scope":["constant.other.color.rgb-value.xi"],"settings":{"foreground":"#ffffff"}},{"name":"elements to dim","scope":["punctuation.definition.tag.xi"],"settings":{"foreground":"#5c6370"}},{"name":"C++/C#","scope":["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"#e5c07b"}},{"name":"Markdown underscore-style headers","scope":["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"meta.brace.square","scope":[" meta.brace.square"],"settings":{"foreground":"#abb2bf"}},{"name":"Comments","scope":"comment, punctuation.definition.comment","settings":{"foreground":"#7f848e"}},{"name":"[VSCODE-CUSTOM] Markdown Quote","scope":"markup.quote.markdown","settings":{"foreground":"#5c6370"}},{"name":"punctuation.definition.block.sequence.item.yaml","scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"#abb2bf"}},{"scope":["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],"settings":{"foreground":"#56b6c2"}},{"scope":["entity.name.variable.parameter.cs"],"settings":{"foreground":"#e5c07b"}},{"scope":["entity.name.variable.field.cs"],"settings":{"foreground":"#e06c75"}},{"name":"Deleted","scope":"markup.deleted","settings":{"foreground":"#e06c75"}},{"name":"Inserted","scope":"markup.inserted","settings":{"foreground":"#98c379"}},{"name":"Underline","scope":"markup.underline","settings":{"fontStyle":"underline"}},{"name":"punctuation.section.embedded.begin.php","scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#BE5046"}},{"name":"support.other.namespace.php","scope":["support.other.namespace.php"],"settings":{"foreground":"#abb2bf"}},{"name":"variable.other.object","scope":["variable.other.object"],"settings":{"foreground":"#e5c07b"}},{"name":"variable.other.constant.property","scope":["variable.other.constant.property"],"settings":{"foreground":"#e06c75"}},{"name":"entity.other.inherited-class","scope":["entity.other.inherited-class"],"settings":{"foreground":"#e5c07b"}},{"name":"c variable readwrite","scope":"variable.other.readwrite.c","settings":{"foreground":"#e06c75"}},{"name":"php scope","scope":"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php","settings":{"foreground":"#abb2bf"}},{"name":"Assembly","scope":["constant.numeric.decimal.asm.x86_64"],"settings":{"foreground":"#c678dd"}},{"scope":["support.other.parenthesis.regexp"],"settings":{"foreground":"#d19a66"}},{"scope":["constant.character.escape"],"settings":{"foreground":"#56b6c2"}},{"scope":["string.regexp"],"settings":{"foreground":"#e06c75"}}],"colors":{"activityBar.background":"#23272e","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#23272e","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#1e2227","descriptionForeground":"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#1e2227","dropdown.border":"#1e2227","editor.background":"#23272e","editor.findMatchBackground":"#42557b","editor.findMatchBorder":"#457dff","editor.findMatchHighlightBackground":"#6199ff2f","editor.foreground":"#abb2bf","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorHoverWidget.highlightForeground":"#61afef","editorInlayHint.foreground":"#abb2bf","editorInlayHint.background":"#2c313c","editor.lineHighlightBackground":"#2c313c","editorLineNumber.activeForeground":"#abb2bf","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#1e2227","editorHoverWidget.background":"#1e2227","editorHoverWidget.border":"#181a1f","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#1e2227","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#1e2227","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#1e2227","focusBorder":"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#1e2227","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#23272e","settings.headerForeground":"#fff","sideBar.background":"#1e2227","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#23272e","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#1e2227","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#1e2227","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#23272e","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#1e2227","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#23272e","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#23272e","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#1e2227","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"}}'),Ao=[{token:lo.IDENTIFIER,foreground:"dcdcaa"},{token:lo.NUMBER,foreground:"b5cea8"},{token:lo.DATE,foreground:"b5cea8"},{token:lo.COLOR,foreground:"b5cea8"},{token:lo.PACKAGE,foreground:"808080"},{token:lo.PARSER,foreground:"c586c0"},{token:lo.LANGUAGE_STRUCT,foreground:"c586c0"},{token:lo.MULTIPLICITY,foreground:"2d796b"},{token:lo.GENERICS,foreground:"2d796b"},{token:lo.PROPERTY,foreground:"9cdcfe"},{token:lo.PARAMETER,foreground:"9cdcfe"},{token:lo.VARIABLE,foreground:"4fc1ff"},{token:lo.TYPE,foreground:"3dc9b0"},{token:`${lo.STRING}.escape`,foreground:"d7ba7d"}];var yo;!function(e){e.DEFAULT_DARK="default-dark",e.GITHUB_DARK="github-dark",e.GITHUB_DARK_DIMMED="github-dark-dimmed",e.SOLARIZED_DARK="solarized-dark",e.ONE_DARK_PRO="one-dark-pro",e.ONE_DARK_PRO_DARKER="one-dark-pro-darker",e.MATERIAL_DEFAULT="material-default",e.MATERIAL_DARKER="material-darker",e.BUILT_IN__VSCODE_LIGHT="vs",e.BUILT_IN__VSCODE_DARK="vs-dark",e.BUILT_IN__VSCODE_HC_BLACK="hc-black",e.BUILT_IN__VSCODE_HC_LIGHT="hc-light"}(yo||(yo={}));const So={base:"vs-dark",inherit:!0,colors:{},rules:[...Ao,{token:"string.sql",foreground:"ce9178"},{token:"white.sql",foreground:"d4d4d4"},{token:"identifier.sql",foreground:"d4d4d4"},{token:"operator.sql",foreground:"d4d4d4"}]},Co=po(mo,yo.BUILT_IN__VSCODE_DARK,{},[]),No=po(fo,yo.BUILT_IN__VSCODE_DARK,{},[]),Io=po(ho,yo.BUILT_IN__VSCODE_DARK,{},[]),vo=po(Eo,yo.BUILT_IN__VSCODE_DARK,{},[]),ko=po(_o,yo.BUILT_IN__VSCODE_DARK,{},[]),Ro=po(bo,yo.BUILT_IN__VSCODE_DARK,{},[]),Oo=po(To,yo.BUILT_IN__VSCODE_DARK,{},[]),Fo=e=>{e.dispose(),e.getModel()?.dispose()},Bo=e=>e.getModel()?.getValue(go.editor.EndOfLinePreference.LF)??"",Lo="dummy_problem_marker_owner",wo=(e,t,n)=>{go.editor.setModelMarkers(e,n??Lo,t.map((e=>({startLineNumber:e.startLineNumber,startColumn:e.startColumn,endLineNumber:e.endLineNumber,endColumn:e.endColumn+1,message:""===e.message?"(no error message)":e.message,severity:go.MarkerSeverity.Error}))))},Po=e=>{go.editor.removeAllMarkers(e??Lo)},Do=e=>e.replace(/\r/g,"");var Mo;!function(e){e.TEXT="plaintext",e.PURE="pure",e.JSON="json",e.JAVA="java",e.MARKDOWN="markdown",e.SQL="sql",e.XML="xml",e.YAML="yaml",e.GRAPHQL="graphql"}(Mo||(Mo={}));class xo{sourceId;startLine;startColumn;endLine;endColumn;constructor(e,t,n,r,o){this.sourceId=e,this.startLine=t,this.startColumn=n,this.endLine=r,this.endColumn=o}}class jo{uuid=(0,a.Z)();query;parserError;constructor(e){(0,ie.rC)(this,{query:ie.LO,parserError:ie.LO,setQuery:ie.aD,setParserError:ie.aD}),this.query=e}setQuery(e){this.query=e}setParserError(e){e?.sourceInformation&&(e.sourceInformation=this.processSourceInformation(e.sourceInformation)),this.parserError=e}processSourceInformation(e){const{sourceId:t,startLine:n,startColumn:r,endLine:o,endColumn:a}=e;return new xo(t,n+0,r-0,o+0,a-0)}}const Uo=(0,Qe.Pi)((()=>{const e=Ws(),t=e.applicationStore,n=e.replGridState.queryEditorState,o=(0,gt.useRef)(void 0),a=Do(n.query),i=n.parserError,[s,c]=(0,gt.useState)(),u=(0,gt.useRef)(null),d=(0,gt.useRef)(void 0),l=(0,gt.useMemo)((()=>(0,In.Z)((()=>{(0,ie.fl)(e.parseQuery()).catch(e.applicationStore.alertUnhandledError)}),1e3)),[e]);if(s){o.current?.dispose(),o.current=s.onDidChangeModelContent((()=>{const e=Bo(s);e!==a&&(n.setQuery(e),l.cancel(),l())}));const t=Bo(s),r=s.getModel();if(t!==a&&s.setValue(a),d.current?.dispose(),d.current=go.languages.registerCompletionItemProvider(Mo.PURE,{triggerCharacters:[">",".","$","~"],provideCompletionItems:async(t,n,r)=>({suggestions:await e.getTypeaheadResults(n,t)})}),r){r.updateOptions({tabSize:2});const e=i;e?.sourceInformation?wo(r,[{message:e.message,startLineNumber:e.sourceInformation.startLine,startColumn:e.sourceInformation.startColumn,endLineNumber:e.sourceInformation.endLine,endColumn:e.sourceInformation.endColumn}]):Po()}}return(0,gt.useEffect)((()=>{if(!s&&u.current){const e=u.current,n=go.editor.create(e,{contextmenu:!1,copyWithSyntaxHighlighting:!1,fontSize:14,fontFamily:"Roboto Mono",fontLigatures:!0,fixedOverflowWidgets:!0,detectIndentation:!1,tabSize:2,"bracketPairColorization.enabled":!1,automaticLayout:!0,language:Mo.PURE,theme:t.layoutService.TEMPORARY__isLightColorThemeEnabled?yo.BUILT_IN__VSCODE_LIGHT:yo.DEFAULT_DARK});c(n)}}),[t.layoutService.TEMPORARY__isLightColorThemeEnabled,s]),(0,gt.useEffect)((()=>()=>{s&&(Fo(s),o.current?.dispose())}),[s]),(0,r.jsx)("div",{className:(0,nt.W)("repl__query__content__editor__content"),children:(0,r.jsx)("div",{className:"code-editor__body",ref:u})})}));class Go{initialResult;currentResult;columns;queryEditorState;currentSubQuery;licenseKey;initialQueryLambda;isPaginationEnabled;constructor(e){(0,ie.rC)(this,{initialResult:ie.LO,initialQueryLambda:ie.LO,currentResult:ie.LO,currentSubQuery:ie.LO,licenseKey:ie.LO,columns:ie.LO,isPaginationEnabled:ie.LO,queryEditorState:ie.LO,setInitialResult:ie.aD,setCurrentSubQuery:ie.aD,setColumns:ie.aD,setInitialQueryLambda:ie.aD,setCurrentResult:ie.aD,setLicenseKey:ie.aD,setIsPaginationEnabled:ie.aD,rowData:ie.Fl,columnDefs:ie.Fl}),this.queryEditorState=new jo(""),this.isPaginationEnabled=e}setInitialQueryLambda(e){this.initialQueryLambda=e}setCurrentSubQuery(e){this.currentSubQuery=e}setInitialResult(e){this.initialResult=e}setCurrentResult(e){this.currentResult=e}setColumns(e){this.columns=e}setLicenseKey(e){this.licenseKey=e}setIsPaginationEnabled(e){this.isPaginationEnabled=e}get rowData(){return this.initialResult?uo(this.initialResult.result):[]}get columnDefs(){return this.columns?this.columns.map((e=>({field:e,headerName:e,...so(!!this.licenseKey,_(this.initialResult),e)}))):[]}}var Ho,Vo;(Vo=Ho||(Ho={})).INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT="INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT",Vo.INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR="INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR",Vo.PACKAGE="PACKAGE",Vo.PACKAGEABLE_ELEMENT="PACKAGEABLE_ELEMENT",Vo.PACKAGEABLE_ELEMENT_POINTER="PACKAGEABLE_ELEMENT_POINTER",Vo.PROFILE="PROFILE",Vo.TAG_POINTER="TAG_POINTER",Vo.STEREOTYPE_POINTER="STEREOTYPE_POINTER",Vo.TAGGED_VALUE="TAGGED_VALUE",Vo.ENUMERATION="ENUMERATION",Vo.ENUM_VALUE="ENUM_VALUE",Vo.CLASS="CLASS",Vo.PROPERTY="PROPERTY",Vo.PROPERTY_DEFAULT_VALUE="PROPERTY_DEFAULT_VALUE",Vo.PROPERTY_POINTER="PROPERTY_POINTER",Vo.MULTIPLICITY="MULTIPLICITY",Vo.CONSTRAINT="CONSTRAINT",Vo.DERIVED_PROPERTY="DERIVED_PROPERTY",Vo.ASSOCIATION="ASSOCIATION",Vo.FUNCTION="FUNCTION",Vo.MEASURE="MEASURE",Vo.UNIT="UNIT",Vo.FUNCTION_TEST_SUITE="FUNCTION_TEST_SUITE",Vo.FUNCTION_TEST="FUNCTION_TEST",Vo.FUNCTION_STORE_TEST_DATA="FUNCTION_STORE_TEST_DATA",Vo.FUNCTION_PARAMETER_VALUE="FUNCTION_PARAMETER_VALUE",Vo.ASSERT_FAIL="ASSERT_FAIL",Vo.ASSERT_PASS="ASSERT_PASS",Vo.EQUAL_TO_JSON_ASSERT_FAIL="EQUAL_TO_JSON_ASSERT_FAIL",Vo.EQUAL_TO="EQUAL_TO",Vo.EQUAL_TO_JSON="EQUAL_TO_JSON",Vo.EQUAL_TO_TDS="EQUAL_TO_TDS",Vo.SECTION_INDEX="SECTION_INDEX",Vo.SECTION="SECTION",Vo.IMPORT_AWARE_CODE_SECTION="IMPORT_AWARE_CODE_SECTION",Vo.DEFAULT_CODE_SECTION="DEFAULT_CODE_SECTION",Vo.RAW_LAMBDA="RAW_LAMBDA",Vo.RAW_VARIABLE="RAW_VARIABLE",Vo.RAW_INSTANCE_VALUE="RAW_INSTANCE_VALUE",Vo.BINDING_TRANSFORMER="BINDING_TRANSFORMER",Vo.INTERNAL__UNKNOWN_VALUE_SPECIFICATION="INTERNAL__UNKNOWN_VALUE_SPECIFICATION",Vo.INTERNAL__PROPAGATED_VALUE="INTERNAL__PROPAGATED_VALUE",Vo.VARIABLE_EXPRESSION="VARIABLE_EXPRESSION",Vo.EXPRESSION="EXPRESSION",Vo.FUNCTION_EXPRESSION="FUNCTION_EXPRESSION",Vo.SIMPLE_FUNCTION_EXPRESSION="SIMPLE_FUNCTION_EXPRESSION",Vo.ABSTRACT_PROPERTY_EXPRESSION="ABSTRACT_PROPERTY_EXPRESSION",Vo.INSTANCE_VALUE="INSTANCE_VALUE",Vo.PRIMITIVE_INSTANCE_VALUE="PRIMITIVE_INSTANCE_VALUE",Vo.ENUM_INSTANCE_VALUE="ENUM_INSTANCE_VALUE",Vo.KEY_EXPRESSION_INSTANCE_VALUE="KEY_EXPRESSION_INSTANCE_VALUE",Vo.KEY_EXPRESSION_VALUE="KEY_EXPRESSION_VALUE",Vo.RUNTIME_INSTANCE_VALUE="RUNTIME_INSTANCE_VALUE",Vo.PAIR_INSTANCE_VALUE="PAIR_INSTANCE_VALUE",Vo.MAPPING_INSTANCE_VALUE="MAPPING_INSTANCE_VALUE",Vo.PURE_LIST_INSTANCE_VALUE="PURE_LIST_INSTANCE_VALUE",Vo.COLLECTION_INSTANCE_VALUE="COLLECTION_INSTANCE_VALUE",Vo.LAMBDA_FUNCTION_INSTANCE_VALUE="LAMBDA_FUNCTION_INSTANCE_VALUE",Vo.FUNCTION_TYPE="FUNCTION_TYPE",Vo.LAMBDA_FUNCTION="LAMBDA_FUNCTION",Vo.ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE="ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE",Vo.ALLOY_SERIALIZATION_CONFIG="ALLOY_SERIALIZATION_CONFIG",Vo.ROOT_GRAPH_FETCH_TREE="ROOT_GRAPH_FETCH_TREE",Vo.PROPERTY_GRAPH_FETCH_TREE="PROPERTY_GRAPH_FETCH_TREE",Vo.SUBTYPE_GRAPH_FETCH_TREE="SUBTYPE_GRAPH_FETCH_TREE",Vo.SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE="SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.PROPERTY_GRAPH_FETCH_TREE_INSTANCE_VALUE="PROEPRTY_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE="ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.INTERNAL__UNKNOWN_STORE="INTERNAL__UNKNOWN_STORE",Vo.INTERNAL__UNKNOWN_CONNECTION="INTERNAL__UNKNOWN_CONNECTION",Vo.INTERNAL__UNKNOWN_PROPERTY_MAPPING="INTERNAL__UNKNOWN_PROPERTY_MAPPING",Vo.INTERNAL__UNKNOWN_CLASS_MAPPING="INTERNAL__UNKNOWN_CLASS_MAPPING",Vo.INTERNAL__UNKNOWN_MAPPING_INCLUDE="INTERNAL__UNKNOWN_MAPPING_INCLUDE",Vo.MAPPING="MAPPING",Vo.MAPPING_INCLUDE_MAPPING="MAPPING_INCLUDE_MAPPING",Vo.ASSOCIATION_IMPLEMENTATION="ASSOCIATION_IMPLEMENTATION",Vo.RELATIONAL_ASSOCIATION_IMPLEMENTATION="RELATIONAL_ASSOCIATION_IMPLEMENTATION",Vo.XSTORE_ASSOCIATION_IMPLEMENTATION="XSTORE_ASSOCIATION_IMPLEMENTATION",Vo.ENUMERATION_MAPPING="ENUMERATION_MAPPING",Vo.ENUM_VALUE_MAPPING="ENUM_VALUE_MAPPING",Vo.SET_IMPLEMENTATION="SET_IMPLEMENTATION",Vo.OPERATION_SET_IMPLEMENTATION="OPERATION_SET_IMPLEMENTATION",Vo.PURE_INSTANCE_SET_IMPLEMENTATION="PURE_INSTANCE_SET_IMPLEMENTATION",Vo.PROPERTY_MAPPING="PROPERTY_MAPPING",Vo.LOCAL_MAPPING_PROPERTY="LOCAL_MAPPING_PROPERTY",Vo.PURE_PROPERTY_MAPPING="PURE_PROPERTY_MAPPING",Vo.XSTORE_PROPERTY_MAPPING="XSTORE_PROPERTY_MAPPING",Vo.MAPPING_TEST_LEGACY="MAPPING_TEST_LEGACY",Vo.MAPPING_TEST_SUITE="MAPPING_TEST_SUITE",Vo.MAPPING_TEST="MAPPING_TEST",Vo.STORE_TEST_DATA="STORE_TEST_DATA",Vo.INPUT_DATA="INPUT_DATA",Vo.FLAT_DATA_INPUT_DATA="FLAT_DATA_INPUT_DATA",Vo.RELATIONAL_INPUT_DATA="RELATIONAL_INPUT_DATA",Vo.OBJECT_INPUT_DATA="OBJECT_INPUT_DATA",Vo.MAPPING_TEST_ASSERT="MAPPING_TEST_ASSERT",Vo.EXPECTED_OUTPUT_MAPPING_TEST_ASSERT="EXPECTED_OUTPUT_MAPPING_TEST_ASSERT",Vo.FILTER_MAPPING="FILTER_MAPPING",Vo.COLUMN_MAPPING="COLUMN_MAPPING",Vo.GROUP_BY_MAPPING="GROUP_BY_MAPPING",Vo.RUNTIME="RUNTIME",Vo.PACKAGEABLE_RUNTIME="PACKAGEABLE_RUNTIME",Vo.ENGINE_RUNTIME="ENGINE_RUNTIME",Vo.SINGLE_ENGINE_RUNTIME="SINGLE_ENGINE_RUNTIME",Vo.LEGACY_RUNTIME="LEGACY_RUNTIME",Vo.RUNTIME_POINTER="RUNTIME_POINTER",Vo.STORE_CONNECTIONS="STORE_CONNECTIONS",Vo.IDENTIFIED_CONNECTION="IDENTIFIED_CONNECTION",Vo.PACKAGEABLE_CONNECTION="PACKAGEABLE_CONNECTION",Vo.CONNECTION_POINTER="CONNECTION_POINTER",Vo.XML_MODEL_CONNECTION="XML_MODEL_CONNECTION",Vo.JSON_MODEL_CONNECTION="JSON_MODEL_CONNECTION",Vo.MODEL_CHAIN_CONNECTION="MODEL_CHAIN_CONNECTION",Vo.FLAT_DATA_CONNECTION="FLAT_DATA_CONNECTION",Vo.AGGREGATION_AWARE_MAPPING="AGGREGATION_AWARE_MAPPING",Vo.AGGREGATION_AWARE_SPECIFICATION="AGGREGATION_AWARE_SPECIFICATION",Vo.AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER="AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER",Vo.AGGREGATE_FUNCTION="AGGREGATE_FUNCTION",Vo.GROUP_BY_FUNCTION="GROUP_BY_FUNCTION",Vo.GENERATION_TREE="GENERATION_TREE",Vo.GENERATION_TREE_NODE="GENERATION_TREE_NODE",Vo.FILE_GENERATION="FILE_GENERATION",Vo.CONFIGURATION_PROPERTY="CONFIGURATION_PROPERTY",Vo.INTERNAL__UNKNOWN_EMBEDDED_DATA="INTERNAL__UNKNOWN_EMBEDDED_DATA",Vo.EXTERNAL_FORMAT_DATA="EXTERNAL_FORMAT_DATA",Vo.MODEL_STORE_DATA="MODEL_STORE_DATA",Vo.MODEL_DATA="MODEL_DATA",Vo.MODEL_EMBEDDED_DATA="MODEL_EMBEDDED_DATA",Vo.MODEL_INSTANCE_DATA="MODEL_INSTANCE_DATA",Vo.DATA_ELEMENT_REFERENCE="DATA_ELEMENT_REFERENCE",Vo.DATA_ELEMENT="DATA_ELEMENT",Vo.RELATIONAL_CSV_DATA="RELATIONAL_CSV_DATA",Vo.RELATIONAL_TDS="RELATIONAL_TDS",Vo.RELATIONAL_CSV_DATA_TABLE="RELATIONAL_CSV_DATA_TABLE",Vo.BINDING="BINDING",Vo.SCHEMA_SET="SCHEMA_SET",Vo.SCHEMA="SCHEMA",Vo.MODEL_UNIT="MODEL_UNIT",Vo.URL_STREAM="URL_STREAM",Vo.EXTERNAL_FORMAT_CONNECTION="EXTERNAL_FORMAT_CONNECTION",Vo.SERVICE="SERVICE",Vo.SERVICE_OWNER="SERVICE_OWNER",Vo.SERVICE_PURE_EXECUTION="SERVICE_PURE_EXECUTION",Vo.SERVICE_PURE_SINGLE_EXECUTION="SERVICE_PURE_SINGLE_EXECUTION",Vo.SERVICE_KEYED_EXECUTION_PARAMETER="SERVICE_KEYED_EXECUTION_PARAMETER",Vo.SERVICE_PURE_MULTI_EXECUTION="SERVICE_PURE_MULTI_EXECUTION",Vo.SERVICE_TEST_CONTAINER="SERVICE_TEST_CONTAINER",Vo.SERVICE_LEGACY_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_SINGLE_EXECUTION_TEST",Vo.SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST",Vo.SERVICE_LEGACY_MULTI_EXECUTION_TEST="SERVICE_LEGACY_MULTI_EXECUTION_TEST",Vo.SERVICE_CONNECTION_TEST_DATA="SERVICE_CONNECTION_TEST_DATA",Vo.SERVICE_TEST_DATA="SERVICE_TEST_DATA",Vo.SERVICE_TEST_SUITE="SERVICE_TEST_SUITE",Vo.SERVICE_TEST="SERVICE_TEST",Vo.SERVICE_PARAMETER_VALUE="SERVICE_PARAMETER_VALUE",Vo.SERVICE_POST_VALIDATION="SERVICE_POST_VALIDATION",Vo.SERVICE_POST_VALIDATION_ASSERTION="SERVICE_POST_VALIDATION_ASSERTION",Vo.EXECUTION_ENVIRONMENT_INSTANCE="EXECUTION_ENVIRONMENT_INSTANCE",Vo.SINGLE_EXECUTION_PARAMETER="SINGLE_EXECUTION_PARAMETER",Vo.MULTI_EXECUTION_PARAMETER="MULTI_EXECUTION_PARAMETER",Vo.INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION="INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION",Vo.INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY="INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY",Vo.INTERNAL__UNKNOWN_POST_PROCESSOR="INTERNAL__UNKNOWN_POST_PROCESSOR",Vo.DATABASE="DATABASE",Vo.DATABASE_SCHEMA="DATABASE_SCHEMA",Vo.DATABASE_JOIN="DATABASE_JOIN",Vo.DATABASE_FILTER="DATABASE_FILTER",Vo.DATBASE_VIEW="DATBASE_VIEW",Vo.DATABASE_SCHEMA_TABLE="DATABASE_SCHEMA_TABLE",Vo.DATABASE_TABLE_COLUMN="DATABASE_TABLE_COLUMN",Vo.RELATIONAL="RELATIONAL",Vo.RELATIONAL_OPERATION_DYNA_FUNC="RELATIONAL_OPERATION_DYNA_FUNC",Vo.RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS="RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS",Vo.RELATIONAL_OPERATION_LITERAL="RELATIONAL_OPERATION_LITERAL",Vo.RELATIONAL_OPERATION_LITERAL_LIST="RELATIONAL_OPERATION_LITERAL_LIST",Vo.RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN="RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN",Vo.RELATIONAL_OPERATION_TABLE_POINTER="RELATIONAL_OPERATION_TABLE_POINTER",Vo.RELATIONAL_OPERATION_JOIN_POINTER="RELATIONAL_OPERATION_JOIN_POINTER",Vo.RELATIONAL_DATATYPE_VARCHAR="RELATIONAL_DATATYPE_VARCHAR",Vo.RELATIONAL_DATATYPE_CHAR="RELATIONAL_DATATYPE_CHAR",Vo.RELATIONAL_DATATYPE_VARBINARY="RELATIONAL_DATATYPE_VARBINARY",Vo.RELATIONAL_DATATYPE_BINARY="RELATIONAL_DATATYPE_BINARY",Vo.RELATIONAL_DATATYPE_BIT="RELATIONAL_DATATYPE_BIT",Vo.RELATIONAL_DATATYPE_INTEGER="RELATIONAL_DATATYPE_INTEGER",Vo.RELATIONAL_DATATYPE_BIGINT="RELATIONAL_DATATYPE_BIGINT",Vo.RELATIONAL_DATATYPE_SMALLINT="RELATIONAL_DATATYPE_SMALLINT",Vo.RELATIONAL_DATATYPE_TINYINT="RELATIONAL_DATATYPE_TINYINT",Vo.RELATIONAL_DATATYPE_NUMERIC="RELATIONAL_DATATYPE_NUMERIC",Vo.RELATIONAL_DATATYPE_DECIMAL="RELATIONAL_DATATYPE_DECIMAL",Vo.RELATIONAL_DATATYPE_DOUBLE="RELATIONAL_DATATYPE_DOUBLE",Vo.RELATIONAL_DATATYPE_FLOAT="RELATIONAL_DATATYPE_FLOAT",Vo.RELATIONAL_DATATYPE_REAL="RELATIONAL_DATATYPE_REAL",Vo.RELATIONAL_DATATYPE_DATE="RELATIONAL_DATATYPE_DATE",Vo.RELATIONAL_DATATYPE_TIMESTAMP="RELATIONAL_DATATYPE_TIMESTAMP",Vo.RELATIONAL_DATATYPE_OTHER="RELATIONAL_DATATYPE_OTHER",Vo.RELATIONAL_DATATYPE_SEMISTRUCTURED="RELATIONAL_DATATYPE_SEMISTRUCTURED",Vo.RELATIONAL_DATATYPE_JSON="RELATIONAL_DATATYPE_JSON",Vo.ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION="ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Vo.RELATIONAL_INSTANCE_SET_IMPLEMENTATION="RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Vo.REALTIONAL_PROPERTY_MAPPING="REALTIONAL_PROPERTY_MAPPING",Vo.EMBEDDED_REALTIONAL_PROPERTY_MAPPING="EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.BUSINESS_MILESTONING="BUSINESS_MILESTONING",Vo.BUSINESS_SNAPSHOT_MILESTONING="BUSINESS_SNAPSHOT_MILESTONING",Vo.PROCESSING_MILESTONING="PROCESSING_MILESTONING",Vo.RELATIONAL_DATABASE_CONNECTION="RELATIONAL_DATABASE_CONNECTION",Vo.STATIC_DATASOURCE_SPECIFICATION="STATIC_DATASOURCE_SPECIFICATION",Vo.LOCAL_H2_DATASOURCE_SPECIFICATION="LOCAL_H2_DATASOURCE_SPECIFICATION",Vo.EMBEDDED_H2_DATASOURCE_SPECIFICATION="EMBEDDED_H2_DATASOURCE_SPECIFICATION",Vo.SNOWFLAKE_DATASOURCE_SPECIFICATION="SNOWFLAKE_DATASOURCE_SPECIFICATION",Vo.REDSHIFT_DATASOURCE_SPECIFICATION="REDSHIFT_DATASOURCE_SPECIFICATION",Vo.BIGQUERY_DATASOURCE_SPECIFICATION="BIGQUERY_DATASOURCE_SPECIFICATION",Vo.DATABRICKS_DATASOURCE_SPECIFICATION="DATABRICKS_DATASOURCE_SPECIFICATION",Vo.SPANNER_DATASOURCE_SPECIFICATION="SPANNER_DATASOURCE_SPECIFICATION",Vo.TRINO_DATASOURCE_SPECIFICATION="TRINO_DATASOURCE_SPECIFICATION",Vo.TRINO_SSL_SPECIFICATION="TRINO_SSL_SPECIFICATION",Vo.DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY="DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY",Vo.DEFAULT_H2_AUTHENTICATION_STRATEGY="DEFAULT_H2_AUTHENTICATION_STRATEGY",Vo.SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY="SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY",Vo.API_TOKEN_AUTHENTICATION_STRATEGY="API_TOKEN_AUTHENTICATION_STRATEGY",Vo.GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY="GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY",Vo.USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Vo.OAUTH_AUTHENTICATION_STRATEGY="OAUTH_AUTHENTICATION_STRATEGY",Vo.GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY="GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY",Vo.MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Vo.TRINO_DELEGATED_KERBEROS_AUTHENTICATION_STRATEGY="TRINO_KEREBEROS_AUTHENTICATION_STRATEGY",Vo.MAPPER_POST_PROCESSOR="MAPPER_POST_PROCESSOR",Vo.SCHEMA_MAPPER="SCHEMA_MAPPER",Vo.TABLE_MAPPER="TABLE_MAPPER",Vo.FLAT_DATA="FLAT_DATA",Vo.FLAT_DATA_SECTION="FLAT_DATA_SECTION",Vo.FLAT_DATA_PROPERTY="FLAT_DATA_PROPERTY",Vo.FLAT_DATA_ROOT_RECORD_TYPE="FLAT_DATA_ROOT_RECORD_TYPE",Vo.FLAT_DATA_RECORD_TYPE="FLAT_DATA_RECORD_TYPE",Vo.FLAT_DATA_RECORD_FIELD="FLAT_DATA_RECORD_FIELD",Vo.FLAT_DATA_STRING="FLAT_DATA_STRING",Vo.FLAT_DATA_BOOLEAN="FLAT_DATA_BOOLEAN",Vo.FLAT_DATA_NUMBER="FLAT_DATA_NUMBER",Vo.FLAT_DATA_INTEGER="FLAT_DATA_INTEGER",Vo.FLAT_DATA_FLOAT="FLAT_DATA_FLOAT",Vo.FLAT_DATA_DECIMAL="FLAT_DATA_DECIMAL",Vo.FLAT_DATA_DATE="FLAT_DATA_DATE",Vo.FLAT_DATA_DATE_TIME="FLAT_DATA_DATE_TIME",Vo.FLAT_DATA_STRICT_DATE="FLAT_DATA_STRICT_DATE",Vo.FLAT_DATA_INSTANCE_SET_IMPLEMENTATION="FLAT_DATA_INSTANCE_SET_IMPLEMENTATION",Vo.FLAT_DATA_PROPERTY_MAPPING="FLAT_DATA_PROPERTY_MAPPING",Vo.FLAT_DATA_ASSOCIATION_IMPLEMENTATION="FLAT_DATA_ASSOCIATION_IMPLEMENTATION",Vo.FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING="FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING",Vo.EMBEDDED_FLAT_DATA_PROPERTY_MAPPING="EMBEDDED_FLAT_DATA_PROPERTY_MAPPING",Vo.FLAT_DATA_SECTION_POINTER="FLAT_DATA_SECTION_POINTER",Vo.SNOWFLAKE_APP="SNOWFLAKE_APP",Vo.HOSTED_SERVICE="HOSTED_SERVICE",Vo.HOSTED_SERVICE_OWNER="HOSTED_SERVICE_OWNER";var Ko=n(4485);n(3096);const Yo=e=>Ko.sha1().update(e).digest("hex"),Wo=e=>Yo(e.filter(h).map((e=>"string"==typeof e||"boolean"==typeof e||"number"==typeof e?Yo(e):e.hashCode)).join(","));class qo{lowerBound=0;upperBound;constructor(e,t){this.lowerBound=e,this.upperBound=t}get hashCode(){return Wo([Ho.MULTIPLICITY,this.lowerBound.toString(),this.upperBound?.toString()??""])}static ZERO=new qo(0,0);static ZERO_ONE=new qo(0,1);static ZERO_MANY=new qo(0,void 0);static ONE=new qo(1,1);static ONE_MANY=new qo(1,void 0)}class $o{}class Jo extends $o{multiplicity=qo.ONE}class Xo extends Jo{}class zo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CString(this)}}class Qo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CBoolean(this)}}class Zo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CDecimal(this)}}class ea extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CInteger(this)}}class ta extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CFloat(this)}}class na extends Xo{}class ra extends na{value;accept_ValueSpecificationVisitor(e){return e.visit_CDateTime(this)}}class oa extends na{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictDate(this)}}class aa extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictTime(this)}}class ia extends $o{multiplicity=qo.ONE}class sa extends ia{function;fControl;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedFunction(this)}}class ca extends $o{multiplicity=qo.ONE}class ua extends ca{body=[];parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_Lambda(this)}}class da extends $o{name;multiplicity;class;accept_ValueSpecificationVisitor(e){return e.visit_Variable(this)}}class la extends ia{class;property;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedProperty(this)}}class ga{name;type;function1;function2}class pa extends $o{multiplicity=qo.ONE;type;value;accept_ValueSpecificationVisitor(e){return e.visit_ClassInstance(this)}}class ma{subTrees=[];subTypeTrees=[]}class fa extends ma{class;accept_GraphFetchTreeVisitor(e){return e.visit_RootGraphFetchTree(this)}}class ha{name;startType;path=[]}class Ea extends $o{multiplicity=qo.ONE_MANY;values=[];accept_ValueSpecificationVisitor(e){return e.visit_Collection(this)}}class _a{mapFn;aggregateFn}class ba{first;second}class Ta{runtime}class Aa{executionContext}class ya extends ma{property;parameters=[];alias;subType;accept_GraphFetchTreeVisitor(e){return e.visit_PropertyGraphFetchTree(this)}}class Sa extends ma{subTypeClass;accept_GraphFetchTreeVisitor(e){return e.visit_SubTypeGraphFetchTree(this)}}class Ca{includeType;typeKeyName;includeEnumType;removePropertiesWithNullValues;removePropertiesWithEmptySets;fullyQualifiedTypePath;includeObjectReference}class Na extends ca{add;expression;key;accept_ValueSpecificationVisitor(e){return e.visit_KeyExpression(this)}}class Ia{values=[]}class va{name;pmapFn;aggregateFn}class ka{name;columnFn}class Ra{column;direction}class Oa{function}class Fa{function;columnName}class Ba{package;name;get path(){return`${this.package}::${this.name}`}get hashCode(){return Wo([Ho.PACKAGEABLE_ELEMENT,this.path])}}const La=new X((0,J.yu)(class{sourceId;startLine;startColumn;endLine;endColumn},{sourceId:(0,J.Ru)(),startLine:(0,J.Ru)(),startColumn:(0,J.Ru)(),endLine:(0,J.Ru)(),endColumn:(0,J.Ru)()}));class wa{package;name;sourceInformation;static serialization=new X((0,J.yu)(wa,{package:(0,J.Ru)(),name:(0,J.Ru)(),sourceInformation:Z(La.schema)}))}(0,J.yu)(class{type;path;constructor(e,t){this.type=e,this.path=t}get hashCode(){return Wo([Ho.PACKAGEABLE_ELEMENT_POINTER,this.type??"",this.path])}},{path:(0,J.Ru)(),type:(0,J.jt)((0,J.Ru)())});const Pa=(0,J.yu)(qo,{lowerBound:(0,J.Ru)(),upperBound:(0,J.jt)((0,J.Ru)())});class Da{}class Ma extends Da{property;parameters=[]}class xa{}class ja extends xa{mappings=[];connectionStores=[];connections=[];get hashCode(){return Wo([Ho.ENGINE_RUNTIME,Wo(this.mappings),Wo(this.connectionStores),Wo(this.connections)])}}class Ua extends ja{get hashCode(){return Wo([Ho.SINGLE_ENGINE_RUNTIME,Wo(this.mappings),Wo(this.connectionStores),Wo(this.connections)])}}class Ga extends xa{runtime;get hashCode(){return Wo([Ho.RUNTIME_POINTER,this.runtime])}}var Ha;!function(e){e.RUNTIME_POINTER="runtimePointer",e.LEGACY_RUNTIME="legacyRuntime",e.ENGINE_RUNTIME="engineRuntime",e.SINGLE_ENGINE_RUNTIME="localEngineRuntime"}(Ha||(Ha={}));const Va=(0,J.yu)(Ga,{_type:Q(Ha.RUNTIME_POINTER),runtime:(0,J.Ru)()});(0,J.yu)(class extends Ba{runtimeValue;get hashCode(){return Wo([Ho.PACKAGEABLE_RUNTIME,this.path,this.runtimeValue])}accept_PackageableElementVisitor(e){return e.visit_PackageableRuntime(this)}},{_type:Q("runtime"),name:(0,J.Ru)(),package:(0,J.Ru)(),runtimeValue:(0,J.PG)((e=>{return(t=e)instanceof Ua?(0,J.qC)(Ua,t):(0,J.qC)(ja,t);var t}),(e=>{return(t=e)._type===Ha.SINGLE_ENGINE_RUNTIME?(0,J.vB)(Ua,t):(0,J.vB)(ja,t);var t}))});class Ka{queryTimeOutInSeconds;enableConstraints}class Ya extends Ka{useAnalytics;toFlowSetFunction}class Wa extends Ka{}class qa extends $o{multiplicity=qo.ONE;fullPath;accept_ValueSpecificationVisitor(e){return e.visit_PackageableElementPtr(this)}}class $a extends qa{accept_ValueSpecificationVisitor(e){return e.visit_GenericTypeInstance(this)}}class Ja{colSpecs=[]}class Xa{path=[]}var za,Qa,Za,ei,ti;!function(e){e.BASE_EXECUTION_CONTEXT="BaseExecutionContext",e.ANALYTICS_EXECUTION_CONTEXT="AnalyticsExecutionContext"}(za||(za={})),function(e){e.PROPERTY_PATH_ELEMENT="propertyPath"}(Qa||(Qa={})),function(e){e.PROPERTY_GRAPH_FETCH_TREE="propertyGraphFetchTree"}(Za||(Za={})),function(e){e.ROOT_GRAPH_FETCH_TREE="rootGraphFetchTree",e.SUBTYPE_GRAPH_FETCH_TREE="subTypeGraphFetchTree",e.PATH="path",e.AGGREGATE_VALUE="aggregateValue",e.EXECUTION_CONTEXT_INSTANCE="executionContextInstance",e.PAIR="pair",e.PURE_LIST="listInstance",e.RUNTIME_INSTANCE="runtimeInstance",e.SERIALIZATION_CONFIG="alloySerializationConfig",e.COL_SPEC="colSpec",e.COL_SPEC_ARRAY="colSpecArray",e.RELATION_STORE_ACCESSOR=">",e.TDS_AGGREGATE_VALUE="tdsAggregateValue",e.TDS_COLUMN_INFORMATION="tdsColumnInformation",e.TDS_SORT_INFORMATION="tdsSortInformation",e.TDS_OLAP_RANK="tdsOlapRank",e.TDS_OLAP_AGGREGATION="tdsOlapAggregation"}(ei||(ei={})),function(e){e.VARIABLE="var",e.LAMBDA="lambda",e.KEY_EXPRESSION="keyExpression",e.APPLIED_FUNCTION="func",e.APPLIED_PROPERTY="property",e.PACKAGEABLE_ELEMENT_PTR="packageableElementPtr",e.GENERIC_TYPE_INSTANCE="genericTypeInstance",e.ENUM_VALUE="enumValue",e.COLLECTION="collection",e.CINTEGER="integer",e.CDECIMAL="decimal",e.CSTRING="string",e.CBOOLEAN="boolean",e.CBYTEARRAY="byteArray",e.CFLOAT="float",e.CDATETIME="dateTime",e.CSTRICTDATE="strictDate",e.CSTRICTTIME="strictTime",e.CLATESTDATE="latestDate",e.CLASS_INSTANCE="classInstance",e.HACKED_CLASS="hackedClass",e.HACKED_UNIT="hackedUnit",e.UNIT_TYPE="unitType",e.PRIMITIVE_TYPE="primitiveType",e.CLASS="class",e.ENUM="enum",e.MAPPING_INSTANCE="mappingInstance"}(ti||(ti={}));const ni=(0,J.yu)(da,{_type:Q(ti.VARIABLE),class:(0,J.jt)((0,J.Ru)()),multiplicity:z(Pa),name:(0,J.Ru)()}),ri=e=>(0,J.yu)(ua,{_type:Q(ti.LAMBDA),body:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),parameters:(0,J.pb)(z(ni))}),oi=e=>(0,J.yu)(Na,{_type:Q(ti.KEY_EXPRESSION),add:(0,J.jt)((0,J.Ru)()),expression:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))),key:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))}),ai=e=>(0,J.yu)(sa,{_type:Q(ti.APPLIED_FUNCTION),function:(0,J.Ru)(),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),ii=e=>(0,J.yu)(la,{_type:Q(ti.APPLIED_PROPERTY),class:(0,J.jt)((0,J.Ru)()),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),property:(0,J.Ru)()}),si=(0,J.yu)(qa,{_type:Q(ti.PACKAGEABLE_ELEMENT_PTR),fullPath:(0,J.Ru)()}),ci=(0,J.yu)($a,{_type:Q(ti.GENERIC_TYPE_INSTANCE),fullPath:(0,J.Ru)()}),ui=e=>{const t=new $a;return y(e.unitType)?t.fullPath=e.unitType:t.fullPath=I(e.fullPath,"Can't deserialize hacked unit: either field 'fullPath' or 'unitType' must be a non-empty string"),t},di=e=>{const t=new $a;return t.fullPath=I(e.fullPath,"Can't deserialize hacked class: field 'fullPath' must be a non-empty string"),t},li=e=>(0,J.yu)(Ea,{_type:Q(ti.COLLECTION),multiplicity:z(Pa),values:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),gi=(0,J.yu)(class extends Jo{fullPath;value;accept_ValueSpecificationVisitor(e){return e.visit_EnumValue(this)}},{_type:Q(ti.ENUM_VALUE),fullPath:(0,J.Ru)(),value:(0,J.Ru)()}),pi=(0,J.yu)(Zo,{_type:Q(ti.CDECIMAL),value:(0,J.Ru)()}),mi=(0,J.yu)(ea,{_type:Q(ti.CINTEGER),value:(0,J.Ru)()}),fi=(0,J.yu)(zo,{_type:Q(ti.CSTRING),value:(0,J.Ru)()}),hi=(0,J.yu)(ta,{_type:Q(ti.CFLOAT),value:(0,J.Ru)()}),Ei=(0,J.yu)(ra,{_type:Q(ti.CDATETIME),value:(0,J.Ru)()}),_i=(0,J.yu)(aa,{_type:Q(ti.CSTRICTTIME),value:(0,J.Ru)()}),bi=(0,J.yu)(oa,{_type:Q(ti.CSTRICTDATE),value:(0,J.Ru)()}),Ti=(0,J.yu)(class extends na{accept_ValueSpecificationVisitor(e){return e.visit_CLatestDate(this)}},{_type:Q(ti.CLATESTDATE)}),Ai=(0,J.yu)(Qo,{_type:Q(ti.CBOOLEAN),value:(0,J.Ru)()}),yi=(0,J.yu)(class extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CByteArray(this)}},{_type:Q(ti.CBYTEARRAY),value:(0,J.Ru)()}),Si=(e,t,n)=>{if(Array.isArray(e.values)){if(0===e.values.length){const e=new Ea;return e.multiplicity=qo.ZERO,e}return 1===e.values.length?n({...e,value:e.values[0]}):Ji({...e,_type:ti.COLLECTION},t)}return n(e)},Ci=e=>(0,J.yu)(pa,{_type:Q(ti.CLASS_INSTANCE),multiplicity:z(Pa),type:(0,J.Ru)(),value:(0,J.PG)((t=>function(e,t){if(e instanceof ha)return(0,J.qC)(Ii(t),e);if(e instanceof fa)return(0,J.qC)(vi(t),e);if(e instanceof Aa)return(0,J.qC)(wi(t),e);if(e instanceof _a)return(0,J.qC)(Pi(t),e);if(e instanceof ba)return(0,J.qC)(Di(t),e);if(e instanceof Ia)return(0,J.qC)(xi(t),e);if(e instanceof Ta)return(0,J.qC)(Mi,e);if(e instanceof Ca)return(0,J.qC)(ji,e);if(e instanceof va)return(0,J.qC)(Ui(t),e);if(e instanceof ka)return(0,J.qC)(Gi(t),e);if(e instanceof Fa)return(0,J.qC)(qi(t),e);if(e instanceof Oa)return(0,J.qC)(Wi(t),e);if(e instanceof Ra)return(0,J.qC)(Hi,e);if(e instanceof ga)return(0,J.qC)(Ki(t),e);if(e instanceof Ja)return(0,J.qC)(Yi(t),e);if(e instanceof Xa)return(0,J.qC)(Vi,e);const n=t.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolSerializers?.()??[]));for(const r of n){const n=r(e,t);if(n)return n}throw new g("Can't serialize class instance value: no compatible serializer available from plugins",e)}(t,e)),((t,n)=>function(e,t,n){switch(t){case ei.PATH:return(0,J.vB)(Ii(n),e);case ei.ROOT_GRAPH_FETCH_TREE:return(0,J.vB)(vi(n),e);case ei.AGGREGATE_VALUE:return(0,J.vB)(Pi(n),e);case ei.EXECUTION_CONTEXT_INSTANCE:return(0,J.vB)(wi(n),e);case ei.PAIR:return(0,J.vB)(Di(n),e);case ei.PURE_LIST:return(0,J.vB)(xi(n),e);case ei.RUNTIME_INSTANCE:return(0,J.vB)(Mi,e);case ei.SERIALIZATION_CONFIG:return(0,J.vB)(ji,e);case ei.TDS_AGGREGATE_VALUE:return(0,J.vB)(Ui(n),e);case ei.TDS_COLUMN_INFORMATION:return(0,J.vB)(Gi(n),e);case ei.TDS_OLAP_AGGREGATION:return(0,J.vB)(qi(n),e);case ei.TDS_OLAP_RANK:return(0,J.vB)(Wi(n),e);case ei.TDS_SORT_INFORMATION:return(0,J.vB)(Hi,e);case ei.COL_SPEC:return(0,J.vB)(Ki(n),e);case ei.COL_SPEC_ARRAY:return(0,J.vB)(Yi(n),e);case ei.RELATION_STORE_ACCESSOR:return(0,J.vB)(Vi,e);default:{const r=n.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolDeserializers?.()??[]));for(const o of r){const r=o(e,t,n);if(r)return r}throw new g(`Can't deserialize value specification of type '${e._type}': no compatible deserializer available from plugins`)}}}(t,n.json.type,e)))}),Ni=e=>(0,J.yu)(Ma,{_type:Q(Qa.PROPERTY_PATH_ELEMENT),property:(0,J.Ru)(),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),Ii=e=>(0,J.yu)(ha,{_type:Q(ei.PATH),name:(0,J.Ru)(),startType:(0,J.Ru)(),path:(0,J.pb)((0,J.PG)((t=>function(e,t){return e instanceof Ma?(0,J.qC)(Ni(t),e):J.AM}(t,e)),(t=>function(e,t){return e._type===Qa.PROPERTY_PATH_ELEMENT?(0,J.vB)(Ni(t),e):J.AM}(t,e))))}),vi=e=>(0,J.yu)(fa,{_type:Q(ei.ROOT_GRAPH_FETCH_TREE),class:(0,J.Ru)(),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e))))}),ki=e=>(0,J.yu)(ya,{_type:Q(Za.PROPERTY_GRAPH_FETCH_TREE),alias:(0,J.jt)((0,J.Ru)()),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),property:(0,J.Ru)(),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subType:(0,J.jt)((0,J.Ru)())}),Ri=e=>(0,J.yu)(Sa,{_type:Q(ei.SUBTYPE_GRAPH_FETCH_TREE),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeClass:(0,J.Ru)()});function Oi(e,t){if(e instanceof ya)return(0,J.qC)(ki(t),e);if(e instanceof fa)return(0,J.qC)(vi(t),e);if(e instanceof Sa)return(0,J.qC)(Ri(t),e);throw new g("Can't serialize graph fetch tree",e)}function Fi(e,t){switch(e._type){case Za.PROPERTY_GRAPH_FETCH_TREE:return(0,J.vB)(ki(t),e);case ei.ROOT_GRAPH_FETCH_TREE:return(0,J.vB)(vi(t),e);case ei.SUBTYPE_GRAPH_FETCH_TREE:return(0,J.vB)(Ri(t),e);default:throw new g(`Can't deserialize graph fetch tree node of type '${e._type}'`)}}const Bi=e=>(0,J.yu)(Ya,{_type:Q(za.ANALYTICS_EXECUTION_CONTEXT),enableConstraints:(0,J.jt)((0,J.Ru)()),queryTimeOutInSeconds:(0,J.jt)((0,J.Ru)()),toFlowSetFunction:z(ri(e)),useAnalytics:(0,J.Ru)()}),Li=(0,J.yu)(Wa,{_type:Q(za.BASE_EXECUTION_CONTEXT),enableConstraints:(0,J.jt)((0,J.Ru)()),queryTimeOutInSeconds:(0,J.jt)((0,J.Ru)())}),wi=e=>(0,J.yu)(Aa,{_type:Q(ei.EXECUTION_CONTEXT_INSTANCE),executionContext:(0,J.PG)((t=>function(e,t){return e instanceof Ya?(0,J.qC)(Bi(t),e):e instanceof Wa?(0,J.qC)(Li,e):J.AM}(t,e)),(t=>function(e,t){switch(e._type){case za.ANALYTICS_EXECUTION_CONTEXT:return(0,J.vB)(Bi(t),e);case za.BASE_EXECUTION_CONTEXT:return(0,J.vB)(Li,e);default:return J.AM}}(t,e)))}),Pi=e=>(0,J.yu)(_a,{_type:Q(ei.AGGREGATE_VALUE),mapFn:z(ri(e)),aggregateFn:z(ri(e))}),Di=e=>(0,J.yu)(ba,{_type:Q(ei.PAIR),first:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))),second:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))}),Mi=(0,J.yu)(Ta,{_type:Q(ei.RUNTIME_INSTANCE),runtime:(0,J.PG)((e=>(e=>{if(e instanceof ja)return(0,J.qC)(ja,e);if(e instanceof Ga)return(0,J.qC)(Va,e);throw new g("Can't serialize runtime",e)})(e)),(e=>(0,J.vB)(ja,e)))}),xi=e=>(0,J.yu)(Ia,{_type:Q(ei.PURE_LIST),values:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),ji=(0,J.yu)(Ca,{_type:Q(ei.SERIALIZATION_CONFIG),includeType:(0,J.jt)((0,J.Ru)()),typeKeyName:(0,J.Ru)(),includeEnumTypee:(0,J.jt)((0,J.Ru)()),removePropertiesWithNullValuese:(0,J.jt)((0,J.Ru)()),removePropertiesWithEmptySetse:(0,J.jt)((0,J.Ru)()),fullyQualifiedTypePathe:(0,J.jt)((0,J.Ru)()),includeObjectReferencee:(0,J.jt)((0,J.Ru)())}),Ui=e=>(0,J.yu)(va,{_type:Q(ei.TDS_AGGREGATE_VALUE),name:(0,J.Ru)(),pmapFn:z(ri(e)),aggregateFn:z(ri(e))}),Gi=e=>(0,J.yu)(ka,{_type:Q(ei.TDS_COLUMN_INFORMATION),name:(0,J.Ru)(),columnFn:z(ri(e))}),Hi=(0,J.yu)(Ra,{_type:Q(ei.TDS_SORT_INFORMATION),column:(0,J.Ru)(),direction:(0,J.Ru)()}),Vi=(0,J.yu)(Xa,{path:(0,J.pb)((0,J.Ru)())}),Ki=e=>(0,J.yu)(ga,{function1:(0,J.jt)(z(ri(e))),function2:(0,J.jt)(z(ri(e))),name:(0,J.Ru)(),type:(0,J.jt)((0,J.Ru)())}),Yi=e=>(0,J.yu)(Ja,{colSpecs:(0,J.pb)(z(Ki(e)))}),Wi=e=>(0,J.yu)(Oa,{_type:Q(ei.TDS_OLAP_RANK),function:z(ri(e))}),qi=e=>(0,J.yu)(Fa,{_type:Q(ei.TDS_OLAP_AGGREGATION),function:z(ri(e)),columnName:(0,J.Ru)()});class $i{plugins=[];constructor(e){this.plugins=e}visit_INTERNAL__UnknownValueSpecfication(e){return e.content}visit_Variable(e){return(0,J.qC)(ni,e)}visit_Lambda(e){return(0,J.qC)(ri(this.plugins),e)}visit_KeyExpression(e){return(0,J.qC)(oi(this.plugins),e)}visit_PackageableElementPtr(e){return(0,J.qC)(si,e)}visit_GenericTypeInstance(e){return(0,J.qC)(ci,e)}visit_AppliedFunction(e){return(0,J.qC)(ai(this.plugins),e)}visit_AppliedProperty(e){return(0,J.qC)(ii(this.plugins),e)}visit_Collection(e){return(0,J.qC)(li(this.plugins),e)}visit_EnumValue(e){return(0,J.qC)(gi,e)}visit_CInteger(e){return(0,J.qC)(mi,e)}visit_CDecimal(e){return(0,J.qC)(pi,e)}visit_CString(e){return(0,J.qC)(fi,e)}visit_CBoolean(e){return(0,J.qC)(Ai,e)}visit_CByteArray(e){return(0,J.qC)(yi,e)}visit_CFloat(e){return(0,J.qC)(hi,e)}visit_CDateTime(e){return(0,J.qC)(Ei,e)}visit_CStrictDate(e){return(0,J.qC)(bi,e)}visit_CStrictTime(e){return(0,J.qC)(_i,e)}visit_CLatestDate(e){return(0,J.qC)(Ti,e)}visit_ClassInstance(e){return(0,J.qC)(Ci(this.plugins),e)}}function Ji(e,t){switch(e._type){case ti.APPLIED_FUNCTION:return(0,J.vB)(ai(t),e);case ti.APPLIED_PROPERTY:return(0,J.vB)(ii(t),e);case ti.VARIABLE:return(0,J.vB)(ni,e);case ti.LAMBDA:return(0,J.vB)(ri(t),e);case ti.KEY_EXPRESSION:return(0,J.vB)(oi(t),e);case ti.COLLECTION:return(0,J.vB)(li(t),e);case ti.ENUM_VALUE:return(0,J.vB)(gi,e);case ti.CBOOLEAN:return Si(e,t,(e=>(0,J.vB)(Ai,e)));case ti.CBYTEARRAY:return Si(e,t,(e=>(0,J.vB)(yi,e)));case ti.CDATETIME:return Si(e,t,(e=>(0,J.vB)(Ei,e)));case ti.CSTRICTTIME:return Si(e,t,(e=>(0,J.vB)(_i,e)));case ti.CDECIMAL:return Si(e,t,(e=>(0,J.vB)(pi,e)));case ti.CFLOAT:return Si(e,t,(e=>(0,J.vB)(hi,e)));case ti.CINTEGER:return Si(e,t,(e=>(0,J.vB)(mi,e)));case ti.CLATESTDATE:return Si(e,t,(e=>(0,J.vB)(Ti,e)));case ti.CSTRICTDATE:return Si(e,t,(e=>(0,J.vB)(bi,e)));case ti.CSTRING:if(Array.isArray(e.values)&&!e.values.length&&(n=e.multiplicity,N(n)&&"Object"===n.constructor.name)&&1===e.multiplicity.upperBound){const e=new zo;return e.value="",e}return Si(e,t,(e=>(0,J.vB)(fi,e)));case ti.CLASS_INSTANCE:return(0,J.vB)(Ci(t),e);case ei.PAIR:case ei.AGGREGATE_VALUE:case ei.EXECUTION_CONTEXT_INSTANCE:case ei.PATH:case ei.ROOT_GRAPH_FETCH_TREE:case ei.PURE_LIST:case ei.RUNTIME_INSTANCE:case ei.SERIALIZATION_CONFIG:case ei.TDS_AGGREGATE_VALUE:case ei.TDS_COLUMN_INFORMATION:case ei.TDS_OLAP_AGGREGATION:case ei.TDS_OLAP_RANK:case ei.TDS_SORT_INFORMATION:return(0,J.vB)(Ci(t),{_type:ti.CLASS_INSTANCE,type:e._type,value:e});case ti.HACKED_CLASS:return di(e);case ti.UNIT_TYPE:case ti.HACKED_UNIT:return ui(e);case ti.PRIMITIVE_TYPE:case ti.ENUM:case ti.CLASS:case ti.MAPPING_INSTANCE:case ti.PACKAGEABLE_ELEMENT_PTR:return(0,J.vB)(si,e);case ti.GENERIC_TYPE_INSTANCE:return(0,J.vB)(ci,e);default:throw new g(`Can't deserialize value specification of type '${e._type}'`)}var n}function Xi(e,t){return e.accept_ValueSpecificationVisitor(new $i(t))}const zi=(e,t)=>{switch(e){case Wr.STRING:{const e=new zo;return e.value=I(t),e}case Wr.BOOLEAN:{const e=new Qo;return e.value=k(t),e}case Wr.NUMBER:case Wr.DECIMAL:{const e=new Zo;return e.value=v(t),e}case Wr.INTEGER:{const e=new ea;return e.value=v(t),e}case Wr.FLOAT:{const e=new ta;return e.value=v(t),e}case Wr.DATE:case Wr.DATETIME:{const e=new ra;return e.value=I(t),e}case Wr.STRICTDATE:{const e=new oa;return e.value=I(t),e}case Wr.STRICTTIME:{const e=new aa;return e.value=I(t),e}default:throw new g(`Unsupported tds column type ${e}`)}},Qi=(e,t,n)=>{let r=[_(e[0])];r=r.concat(n);const o=new sa;o.function=t,o.parameters=r,e[0]=o},Zi=(e,t,n,r)=>{const o=new ga,a=new ua,i=new la;i.property=e,i.class=n;const s=new da;s.name="x",i.parameters=[s],a.body.push(i),a.parameters.push(s),o.function1=a;const c=new ua,u=new sa;u.function=t;const d=new da;return d.name="agg",c.body.push(u),u.parameters.push(d),c.parameters.push(d),o.function2=c,o.name=r??e,o};var es,ts,ns;!function(e){e.CLASS_BUILDER="classBuilder",e.TDS_BUILDER="tdsBuilder",e.JSON_BUILDER="json"}(es||(es={})),function(e){e.RELATIONAL="relational",e.RELATIONAL_EXECUTION_ACTIVITY="RelationalExecutionActivity",e.AGGREGATION_AWARE_ACTIVITY="aggregationAware"}(ts||(ts={})),function(e){e.CSV="CSV"}(ns||(ns={}));class rs{_type;constructor(e){this._type=e}}class os{}class as extends os{sql;comment;constructor(e){super(),this.sql=e}}class is extends os{rewrittenQuery}class ss extends os{values;constructor(e){super(),this.values=e}}class cs{builder;activities}class us extends cs{values}class ds extends cs{value;constructor(e){super(),this.value=e}}class ls{name;type;relationalType;doc}class gs extends rs{columns=[];constructor(){super(es.TDS_BUILDER)}}class ps{values=[]}class ms{columns=[];rows=[]}class fs extends cs{_UUID=(0,a.Z)();builder=new gs;result=new ms}class hs extends rs{_type=es.CLASS_BUILDER}class Es extends cs{builder=new hs(es.CLASS_BUILDER);objects}class _s{static builderSerialization=new X((0,J.yu)(_s,{_type:(0,J.Ru)()}))}class bs{}class Ts extends bs{sql;comment;static serialization=new X((0,J.yu)(Ts,{sql:(0,J.Ru)(),comment:(0,J.jt)((0,J.Ru)())}))}class As extends bs{rewrittenQuery;static serialization=new X((0,J.yu)(As,{rewrittenQuery:(0,J.Ru)()}))}class ys{builder;activities}class Ss extends bs{content;constructor(e){super(),this.content=e}}class Cs extends ys{values;static serialization=new X((0,J.yu)(Cs,{_type:(0,J.Ru)(),builder:z(_s.builderSerialization.schema),values:(0,J.LZ)()}))}class Ns{name;doc;type;relationalType;static serialization=new X((0,J.yu)(Ns,{name:(0,J.Ru)(),doc:(0,J.jt)((0,J.Ru)()),type:(0,J.jt)((0,J.Ru)()),relationalType:(0,J.jt)((0,J.Ru)())}))}class Is extends _s{columns=[];static serialization=new X((0,J.yu)(Is,{_type:(0,J.Ru)(),columns:(0,J.pb)(z(Ns.serialization.schema))}))}function vs(e){switch(e._type){case ts.RELATIONAL:case ts.RELATIONAL_EXECUTION_ACTIVITY:return Ts.serialization.fromJson(e);case ts.AGGREGATION_AWARE_ACTIVITY:return As.serialization.fromJson(e);default:return new Ss(e)}}class ks extends ys{result;static serialization=new X((0,J.yu)(ks,{builder:z(Is.serialization.schema),activities:(0,J.pb)((0,J.PG)((()=>J.AM),vs)),result:(0,J.LZ)()}))}class Rs extends ys{objects;static serialization=new X((0,J.yu)(Rs,{builder:z(_s.builderSerialization.schema),activities:(0,J.pb)((0,J.PG)((()=>J.AM),vs)),objects:(0,J.LZ)()}))}class Os extends ys{value;constructor(e){super(),this.value=e}}class Fs extends ys{content}class Bs extends cs{content}const Ls=e=>{if(e instanceof Ts){const t=new as(e.sql);return t.comment=e.comment,t}if(e instanceof As){const t=new is;return t.rewrittenQuery=_(e.rewrittenQuery,"Aggregation aware execution activities 'rewritenQuery' field is missing"),t}if(e instanceof Ss)return new ss(e);throw new g("Can't build execution activities",e)},ws=e=>{const t=new ls;return t.name=_(e.name,"TDS column 'name' field is missing"),t.type=e.type,t.doc=e.doc,t.relationalType=e.relationalType,t},Ps=e=>{if(e instanceof Fs){const t=new Bs;return t.content=e.content,t}if(e instanceof Rs)return(e=>{const t=new Es;return t.objects=_(e.objects,"Class execution result 'objects' field is missing"),t.activities=e.activities?.map(Ls),t})(e);if(e instanceof ks)return(e=>{const t=new fs;return t.builder=(e=>{const t=new gs;return t.columns=e.columns.map(ws),t})(_(e.builder,"TDS execution result 'builder' field is missing")),t.activities=e.activities?.map(Ls),t.result.columns=e.result.columns,t.result.rows=e.result.rows.map((e=>{const t=new ps;return t.values=e.values,t})),t})(e);if(e instanceof Cs)return(e=>{const t=new us;return t.values=_(e.values,"JSON execution result 'values' field is missing"),t})(e);if(e instanceof Os)return new ds(e.value);throw new g("Can't build execution result",e)},Ds=e=>{if(null===e||y(e)||S(e)||C(e))return new Os(e);switch(e.builder?._type){case es.CLASS_BUILDER:return Rs.serialization.fromJson(e);case es.TDS_BUILDER:return ks.serialization.fromJson(e);case es.JSON_BUILDER:return Cs.serialization.fromJson(e);default:{const t=new Fs;return t.content=e,t}}};var Ms;!function(e){e.COMPILATION="COMPILATION",e.PARSER="PARSER"}(Ms||(Ms={}));class xs{message="";errorType;sourceInformation;static serialization=new X((0,J.yu)(xs,{errorType:(0,J.jt)((0,J.Ru)()),message:(0,J.Ru)(),sourceInformation:z(La.schema)}))}class js extends xs{static serialization=new X((0,J.yu)(js,{errorType:(0,J.jt)((0,J.Ru)()),message:(0,J.Ru)(),sourceInformation:z(La.schema)}))}class Us extends u{sourceInformation}class Gs extends Us{}class Hs{display;completion;static serialization=new X((0,J.yu)(Hs,{display:(0,J.Ru)(),completion:(0,J.Ru)()}))}class Vs{applicationStore;client;replGridState;executeAction=se.create();constructor(e){(0,ie.rC)(this,{replGridState:ie.LO,executeAction:ie.LO,getREPLGridServerResult:ie.ls,getInitialQueryLambda:ie.ls,getInitialREPLGridServerResult:ie.ls,getLicenseKey:ie.ls,executeLambda:ie.ls,parseQuery:ie.ls}),this.applicationStore=e,this.client=new Pr(new V({baseUrl:this.applicationStore.config.useDynamicREPLServer?window.location.origin:this.applicationStore.config.replUrl}));const t=e.settingService.getBooleanValue(xr.PAGINATION)??!0;this.replGridState=new Go(t)}*getREPLGridServerResult(e){try{const t=0!==e.groupBy.groupKeys.length,n=((e,t,n)=>{const r=[e];n&&((e,t,n)=>{if(void 0===t||void 0===n)return;const r=new ea;r.value=t;const o=new ea;o.value=n;let a=e[0];for(;a instanceof sa;){if(a.function===jr.FROM){if(a.parameters[0]instanceof sa&&a.parameters[0].function===jr.SLICE){a.parameters[0].parameters=[_(a.parameters[0].parameters[0]),r,o];break}const e=new sa;e.function=jr.SLICE,e.parameters=[_(a.parameters[0]),r,o],a.parameters[0]=e;break}a=a.parameters[0]}})(r,t.startRow,t.endRow);const o=t.groupBy;for(let e=0;e<o.groupKeys.length;e++){const n=new to(_(o.columns.at(e)),Wr.STRING,[new eo(Ur.EQUALS,o.groupKeys.at(e))],Gr.AND);t.filter.push(n)}((e,t)=>{if(0===t.length)return;const n=new ua;t.forEach((e=>{const t=e.conditions,r=e.groupOperation,o=new da;o.name="x";const a=[];if(t.forEach((t=>{const n=new sa,r=new la;switch(r.property=e.column,r.class=e.columnType,r.parameters=[o],t.operation){case Ur.EQUALS:case Ur.GREATER_THAN:case Ur.GREATER_THAN_OR_EQUAL:case Ur.LESS_THAN:case Ur.LESS_THAN_OR_EQUAL:case Ur.CONTAINS:case Ur.ENDS_WITH:case Ur.STARTS_WITH:n.function=t.operation,n.parameters.push(r),n.parameters.push(zi(e.columnType,t.value));break;case Ur.BLANK:n.function=t.operation,n.parameters.push(r);break;case Ur.NOT_EQUAL:{n.function=jr.NOT;const o=new sa;o.function=Ur.EQUALS,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}case Ur.NOT_BLANK:{n.function=jr.NOT;const o=new sa;o.function=Ur.BLANK,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}case Ur.NOT_CONTAINS:{n.function=jr.NOT;const o=new sa;o.function=Ur.CONTAINS,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}default:throw new g(`Unsupported filter operation ${t.operation}`)}a.push(n)})),a.length>1){const e=new sa;e.function=r,e.parameters=a,n.body.push(e)}else n.body=n.body.concat(a);if(n.body.length>1){const e=new sa;e.function=Gr.AND,e.parameters=n.body,n.body=[e]}n.parameters=[o]})),Qi(e,jr.FILTER,[n])})(r,t.filter),((e,t,n)=>{if(!t.columns.length)return;const r=new pa;r.type=ei.COL_SPEC_ARRAY;const o=new Ja,a=new Ja,i=new pa;if(i.type=ei.COL_SPEC_ARRAY,t.groupKeys.length!==t.columns.length){const e=t.groupKeys,n=t.columns[e.length],r=new ga;if(r.name=_(n),o.colSpecs.push(r),0===t.aggregations.length){const e=_(t.columns[0]),n=Zi(e,Hr.COUNT,Wr.STRING,Hr.COUNT);a.colSpecs.push(n)}}if(t.groupKeys.length===t.columns.length&&t.aggregations.length>0){const e=t.aggregations.map((e=>e.column));n.forEach((t=>{if(!e.includes(t)){const e=new ga;e.name=t,o.colSpecs.push(e)}}))}t.aggregations.forEach((e=>{const t=Zi(e.column,e.function,e.columnType);a.colSpecs.push(t)})),r.value=o,i.value=a,0===o.colSpecs.length&&0===a.colSpecs.length||Qi(e,jr.GROUPBY,[r,i])})(r,t.groupBy,t.columns),((e,t,n)=>{if(0===t.length)return;const r=new Ea;t.forEach((e=>{if(n.columns.length===n.groupKeys.length||n.columns.indexOf(e.column)===n.groupKeys.length){const t=new sa;t.function=e.order;const n=new pa;n.type=ei.COL_SPEC;const o=new ga;o.name=e.column,n.value=o,t.parameters.push(n),r.values.push(t)}})),Qi(e,jr.SORT,[r])})(r,t.sort,t.groupBy);const a=new ua;return a.body=r,a})(_(this.replGridState.initialQueryLambda?.body[0]),e,this.replGridState.isPaginationEnabled),r=yield(0,ie.fl)(this.client.getREPLGridServerResult(Xi(n,[]))),o=Dr.serialization.fromJson(r),a=JSON.parse(o.result);this.replGridState.setCurrentResult(b(Ps(Ds(a)),fs)),t?this.replGridState.setCurrentSubQuery(o.currentQuery):(this.replGridState.queryEditorState.setQuery(o.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0))}catch(e){p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}async getTypeaheadResults(e,t){try{const n=t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:e.lineNumber,endColumn:e.column}),r=(await this.client.getTypeaheadResults(n)).map((e=>Hs.serialization.fromJson(e))),o=t.getWordUntilPosition(e);return r.map((t=>({label:t.display,kind:go.languages.CompletionItemKind.Text,range:{startLineNumber:e.lineNumber,startColumn:o.startColumn+1,endLineNumber:e.lineNumber,endColumn:o.endColumn+1},insertText:t.completion})))}catch(e){return[]}}*executeLambda(){try{this.executeAction.inProgress();const e=yield this.client.executeLambda(this.replGridState.queryEditorState.query,this.replGridState.isPaginationEnabled),t=Dr.serialization.fromJson(e),n=JSON.parse(t.result),r=b(Ps(Ds(n)),fs);this.replGridState.setInitialResult(r),this.replGridState.queryEditorState.setQuery(t.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0),this.replGridState.setColumns(r.result.columns),yield(0,ie.fl)(this.getInitialQueryLambda()),this.executeAction.complete()}catch(e){this.executeAction.fail(),p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}*parseQuery(){try{this.replGridState.queryEditorState.setParserError(void 0),yield(0,ie.fl)(this.client.parseQuery(`|${this.replGridState.queryEditorState.query}`))}catch(e){if(p(e),e instanceof U&&e.response.status===L.BAD_REQUEST){const t=js.serialization.fromJson(e.payload),n=new Gs(t.message);t.sourceInformation&&(n.sourceInformation=new xo(t.sourceInformation.sourceId,t.sourceInformation.startLine,t.sourceInformation.startColumn,t.sourceInformation.endLine,t.sourceInformation.endColumn)),this.replGridState.queryEditorState.setParserError(n)}}}*getInitialQueryLambda(){const e=Ji(yield this.client.getIntialQueryLambda(),[]);e instanceof ua&&this.replGridState.setInitialQueryLambda(e)}*getInitialREPLGridServerResult(){try{this.executeAction.inProgress(),this.replGridState.licenseKey||(yield(0,ie.fl)(this.getLicenseKey())),yield(0,ie.fl)(this.getInitialQueryLambda());const e=yield this.client.getInitialREPLGridServerResult(this.replGridState.isPaginationEnabled),t=Dr.serialization.fromJson(e),n=JSON.parse(t.result),r=b(Ps(Ds(n)),fs);this.replGridState.setInitialResult(r),this.replGridState.queryEditorState.setQuery(t.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0),this.replGridState.setColumns(r.result.columns),this.executeAction.complete()}catch(e){this.executeAction.fail(),p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}*getLicenseKey(){const e=yield this.client.getLicenseKey();this.replGridState.setLicenseKey(e)}}const Ks=(0,gt.createContext)(void 0),Ys=({children:e})=>{const t=mt(),n=(0,Qe.fv)((()=>new Vs(t)));return(0,r.jsx)(Ks.Provider,{value:n,children:e})},Ws=()=>_((0,gt.useContext)(Ks),"Can't find editor store in context"),qs=e=>function(){return(0,r.jsx)(Ys,{children:(0,r.jsx)(e,{})})};var $s=n(5002),Js=n(5217),Xs=n(2257),zs=n(6285),Qs=n(5189),Zs=n(4559),ec=n(4233);const tc=[Js.I],nc=[zs.b,Qs.qZ,Zs.$],rc=tc.concat(nc);function oc(e){let t=!1;return e.licenseKey&&(ec.W.setLicenseKey(JSON.stringify(e.licenseKey)),t=!0),(0,r.jsx)($s.s,{rowGroupPanelShow:t?"always":"never",suppressBrowserResizeObserver:!0,suppressScrollOnNewData:!0,alwaysMultiSort:!0,rowModelType:t?"serverSide":"clientSide",...e,defaultColDef:co(t),modules:t?rc:tc})}class ac{executions=0;rowData=[];columns=[];editorStore;constructor(e,t,n){(0,ie.rC)(this,{fetchRows:ie.ls}),this.rowData=e??[],this.columns=t??[],this.editorStore=n}*fetchRows(e){try{if(this.executions>0){if(this.editorStore){const t=this.extractRequest(e);if(t){yield(0,ie.fl)(this.editorStore.getREPLGridServerResult(t));const n=this.editorStore.replGridState.currentResult,r=uo(_(n).result);e.success({rowData:r})}else e.fail()}}else e.success({rowData:this.rowData});this.executions++}catch(e){p(e),this.editorStore?.applicationStore.notificationService.notifyError(e),this.editorStore?.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}getRows(e){this.fetchRows(e)}extractRequest(e){try{const t=e.request,n=t.startRow,r=t.endRow,o=e.columnApi.getColumns()?.map((e=>e.getColId())),a=t.sortModel.map((e=>new no(e.colId,(e=>{switch(e){case"asc":return Vr.ASCENDING;case"desc":return Vr.DESCENDING;default:throw new Error(`Unsupported tds sort order ${e}`)}})(e.sort)))),i=t.valueCols.map((e=>{const t=this.columns.find((t=>t.name===e.field))?.type;return new ro(_(e.field),t,(e=>{switch(e){case"sum":return Hr.SUM;case"min":return Hr.MIN;case"max":return Hr.MAX;case"count":return Hr.COUNT;default:throw new Error(`Unsupported aggregation function ${e}`)}})(_(e.aggFunc)))})),s=new oo(t.rowGroupCols.map((e=>e.id)),t.groupKeys,i),c=[],u=t.filterModel;return u&&Object.keys(u).forEach((e=>{const t=u[e],n=[],r=(e=>{switch(e){case"text":return Wr.STRING;case"number":return Wr.NUMBER;case"boolean":return Wr.BOOLEAN;case"date":return Wr.DATE;default:throw new Error(`Unsupported filter type ${e}`)}})(t.filterType);void 0===t.filter&&t.conditions?t.conditions.forEach((e=>n.push(new eo(io(e.type),e.filter)))):n.push(new eo(io(t.type),t.filter)),c.push(new to(e,r,n,"OR"===t.operator?Gr.OR:Gr.AND))})),new ao(o??[],c,a,s,n,r)}catch(e){return p(e),this.editorStore?.applicationStore.notificationService.notifyError(e),void this.editorStore?.applicationStore.logService.error(q.create(Mr.BUILD_TDS_EQUEST_FAILURE),e)}}}const ic=e=>{const{inputValue:t,updateInput:n,lightTheme:o,language:a,isReadOnly:i,hideMinimap:s,hideGutter:c,hidePadding:u,hideActionBar:d,lineToScroll:l,extraEditorOptions:g,error:p}=e,m=mt(),[f,h]=(0,gt.useState)(),[E,_]=(0,gt.useState)(!1),b=(0,gt.useRef)(void 0),T=Do(t),A=(0,gt.useRef)(null);if((0,gt.useEffect)((()=>{if(!f&&A.current){const e=A.current,t=go.editor.create(e,{contextmenu:!1,copyWithSyntaxHighlighting:!1,fontSize:14,fontFamily:"Roboto Mono",fontLigatures:!0,fixedOverflowWidgets:!0,detectIndentation:!1,tabSize:2,"bracketPairColorization.enabled":!1,automaticLayout:!0,theme:m.layoutService.TEMPORARY__isLightColorThemeEnabled?o??yo.BUILT_IN__VSCODE_LIGHT:yo.DEFAULT_DARK,glyphMargin:!u,padding:u?{top:0,bottom:0}:{top:20,bottom:20},formatOnType:!0,formatOnPaste:!0});h(t)}}),[m,o,u,f]),(0,gt.useEffect)((()=>{if(f){(e=>{const t=e.getValue();e.updateOptions({lineNumbersMinChars:Math.max(Math.floor(Math.log10(t.split(/\r\n|\r|\n/g).length))+3,5)})})(f);const e=f.getModel();e&&go.editor.setModelLanguage(e,a)}}),[f,a]),(0,gt.useEffect)((()=>{f&&void 0!==l&&f.revealLineInCenter(l)}),[f,l]),f){b.current?.dispose(),b.current=f.onDidChangeModelContent((()=>{const e=Bo(f);e!==T&&n?.(e)})),Bo(f)!==T&&f.setValue(T),f.updateOptions({readOnly:Boolean(i),minimap:{enabled:!s},...c?{glyphMargin:!u,folding:!1,lineNumbers:"off",lineDecorationsWidth:0}:{},...g??{}});const e=f.getModel();e?.updateOptions({tabSize:2}),e&&(p?.sourceInformation?wo(e,[{message:p.message,startLineNumber:p.sourceInformation.startLine,startColumn:p.sourceInformation.startColumn,endLineNumber:p.sourceInformation.endLine,endColumn:p.sourceInformation.endColumn}]):Po())}return(0,gt.useEffect)((()=>()=>{f&&(Fo(f),b.current?.dispose())}),[f]),(0,r.jsxs)("div",{className:"code-editor",children:[!d&&(0,r.jsx)("div",{className:"code-editor__header",children:(0,r.jsx)("button",{tabIndex:-1,className:(0,nt.W)("code-editor__header__action",{"code-editor__header__action--active":E}),onClick:()=>{const e=!E;_(e),f?.updateOptions({wordWrap:e?"on":"off"})},title:`[${E?"on":"off"}] Toggle word wrap`,children:(0,r.jsx)(It,{})})}),(0,r.jsx)("div",{className:(0,nt.W)("code-editor__content",{"code-editor__content--padding":!u,"code-editor__content--with__header":!d}),children:(0,r.jsx)("div",{className:"code-editor__body",ref:A})})]})},sc=qs((0,Qe.Pi)((()=>{const e=Ws(),t=e.applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;return(0,gt.useEffect)((()=>{(0,ie.fl)(e.getInitialREPLGridServerResult()).catch(e.applicationStore.alertUnhandledError)}),[e]),(0,r.jsxs)("div",{className:"repl",children:[(0,r.jsx)("div",{className:"repl__header",children:(0,r.jsxs)("div",{className:"repl__header__content",children:[(0,r.jsx)("div",{className:"repl__header__content__title",children:"REPL Grid"}),(0,r.jsxs)("div",{className:"repl__header__actions",children:[(0,r.jsxs)("div",{className:"repl__header__action__pagination",children:[(0,r.jsx)("button",{className:(0,nt.W)("repl__header__action__pagination__toggler__btn",{"repl__header__action__pagination__toggler__btn--toggled":e.replGridState.isPaginationEnabled}),onClick:()=>{e.replGridState.setIsPaginationEnabled(!e.replGridState.isPaginationEnabled),e.applicationStore.settingService.persistValue(xr.PAGINATION,e.replGridState.isPaginationEnabled)},tabIndex:-1,children:e.replGridState.isPaginationEnabled?(0,r.jsx)(Lt,{}):(0,r.jsx)(Bt,{})}),(0,r.jsx)("div",{className:"repl__header__action__pagination__label",children:"Pagination"})]}),(0,r.jsx)("button",{className:t?"repl__header__action":"repl__header__action repl__header__action--toggled",onClick:()=>{e.applicationStore.layoutService.setColorTheme(Yn.DEFAULT_DARK,{persist:!0})},children:"Dark"}),(0,r.jsx)("button",{className:t?"repl__header__action repl__header__action--toggled":"repl__header__action",onClick:()=>{e.applicationStore.layoutService.setColorTheme(Yn.LEGACY_LIGHT,{persist:!0})},children:"Light"})]})]})}),(0,r.jsxs)("div",{className:"repl__content",children:[(0,r.jsxs)("div",{className:"repl__content__query",children:[(0,r.jsx)("div",{className:"repl__query",children:(0,r.jsxs)("div",{className:"repl__query__editor",children:[(0,r.jsxs)("div",{className:"repl__query__header",children:[(0,r.jsx)("div",{className:"repl__query__label",children:"Curent Query"}),(0,r.jsx)("div",{className:"repl__query__execute-btn btn__dropdown-combo btn__dropdown-combo--primary",children:(0,r.jsxs)("button",{className:"btn__dropdown-combo__label",onClick:()=>{(0,ie.fl)(e.executeLambda()).catch(e.applicationStore.alertUnhandledError)},tabIndex:-1,children:[(0,r.jsx)(Dt,{className:"btn__dropdown-combo__label__icon"}),(0,r.jsx)("div",{className:"btn__dropdown-combo__label__title",children:"Run Query"})]})})]}),(0,r.jsx)("div",{className:"repl__query__content",children:(0,r.jsx)(Uo,{})})]})}),void 0!==e.replGridState.currentSubQuery&&(0,r.jsx)("div",{className:"repl__query",children:(0,r.jsxs)("div",{className:"repl__query__editor",children:[(0,r.jsxs)("div",{className:"repl__query__header",children:[(0,r.jsx)("div",{className:"repl__query__label__sub__query",children:"Current Row Group Sub Query"}),(0,r.jsx)("div",{className:"repl__query__label__sub__query__read--only",children:"Read Only"})]}),(0,r.jsx)("div",{className:"repl__query__content",children:(0,r.jsx)(ic,{lightTheme:t?yo.BUILT_IN__VSCODE_HC_LIGHT:yo.BUILT_IN__VSCODE_HC_BLACK,language:Mo.PURE,isReadOnly:!0,inputValue:e.replGridState.currentSubQuery,hideActionBar:!0,hidePadding:!0})})]})})]}),(0,r.jsx)("div",{className:"repl__query__label",children:"Result"}),(0,r.jsx)(bt,{isLoading:e.executeAction.isInProgress}),e.executeAction.hasCompleted&&(0,r.jsx)(oc,{className:e.applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled?"ag-theme-balham":"ag-theme-balham-dark",gridOptions:e.replGridState.initialResult&&e.replGridState.licenseKey?{serverSideDatasource:new ac(uo(e.replGridState.initialResult.result),e.replGridState.initialResult.builder.columns,e)}:{},licenseKey:e.replGridState.licenseKey??"",rowData:e.replGridState.rowData,columnDefs:e.replGridState.columnDefs,suppressServerSideInfiniteScroll:!e.replGridState.isPaginationEnabled})]})]})}))),cc=(0,Qe.Pi)((e=>{const{children:t}=e,n=_((0,gt.useContext)(Br),"Can't find application platform in context"),o=mt();return(0,gt.useEffect)((()=>{o.initialize(n).catch(o.alertUnhandledError)}),[o,n]),o.initState.hasSucceeded?(0,r.jsx)(Dn,{children:t}):(0,r.jsx)(r.Fragment,{})}));class uc{applicationStore;pluginManager;constructor(e){this.applicationStore=e,this.pluginManager=e.pluginManager}}const dc=(0,gt.createContext)(void 0),lc=({children:e})=>{const t=mt(),n=(0,Qe.fv)((()=>new uc(t)));return(0,r.jsx)(dc.Provider,{value:n,children:e})},gc=({children:e})=>(0,r.jsx)(cc,{children:(0,r.jsx)(lc,{children:e})}),pc=Object.freeze({GRID:"/grid"}),mc=qs((0,Qe.Pi)((()=>(0,r.jsx)("div",{className:"app",children:(0,r.jsx)(vr.rs,{children:(0,r.jsx)(vr.AW,{exact:!0,path:[pc.GRID],component:sc})})})))),fc=e=>{const{baseUrl:t}=e;return(0,r.jsx)(wr,{baseUrl:t,children:(0,r.jsx)(gc,{children:(0,r.jsx)(mc,{})})})},hc=JSON.parse('{"i8":"0.0.9","Rw":{"b":"@finos/legend-application-repl-plugin-core"}}');class Ec extends Tr{_$nominalTypeBrand;install(e){e.registerApplicationPlugin(this)}}var _c,bc,Tc;!function(e){e.PROFILE="Profile",e.CLASS="Class",e.ENUMERATION="Enum",e.MEASURE="Measure",e.ASSOCIATION="Association",e.FUNCTION="function",e.MAPPING="Mapping",e.FLAT_DATA="FlatData",e.DATABASE="Database",e.SERVICE="Service",e.RUNTIME="Runtime",e.CONNECTION="Connection",e.FILE_GENERATION="FileGeneration",e.GENERATION_SPECIFICATION="GenerationSpecification",e.DATA_ELEMENT="Data",e.EXECUTION_ENVIRONMENT="ExecutionEnvironment"}(_c||(_c={})),function(e){e.JSON_MODEL_CONNECTION="JsonModelConnection",e.XML_MODEL_CONNECTION="XmlModelConnection",e.MODEL_CHAIN_CONNECTION="ModelChainConnection",e.RELATIONAL_DATABASE_CONNECTION="RelationalDatabaseConnection",e.FLAT_DATA_CONNECTION="FlatDataConnection"}(bc||(bc={})),function(e){e.PURE="Pure",e.CONNECTION="Connection",e.RUNTIME="Runtime",e.MAPPING="Mapping",e.SERVICE="Service",e.FLATDATA="FlatData",e.RELATIONAL="Relational",e.GENERATION_SPECIFICATION="GenerationSpecification",e.FILE_GENERATION_SPECIFICATION="FileGeneration",e.DATA="Data"}(Tc||(Tc={}));const Ac={wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^$&*()\-=+[{\]}\\|;:'",.<>/?\s][^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]*)/,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"},{open:"<<",close:">>"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}};class yc extends Ec{static NAME=hc.Rw.b;constructor(){super(yc.NAME,hc.i8)}getExtraApplicationSetups(){return[async e=>{var t,n;Xs.O3h.registerModules([Js.I,Qs.qZ]),await(async e=>{const t=`Monospaced font '${Oe}' has not been loaded properly, code editor might not display properly`;await Promise.all([400,700].map((e=>document.fonts.load(`${e} 1em ${Oe}`)))).then((()=>{document.fonts.check(`1em ${Oe}`)?go.editor.remeasureFonts():e.logService.error(q.create(W.APPLICATION_SETUP__FAILURE),t)})).catch((()=>e.logService.error(q.create(W.APPLICATION_SETUP__FAILURE),t)));const n="legend.code-editor.override-default-keybinding";go.editor.registerCommand(n,((t,...n)=>{e.keyboardShortcutsService.dispatch(n[0])}));const r=[[go.KeyCode.F1,"F1"],[go.KeyCode.F8,"F8"],[go.KeyCode.F9,"F9"],[go.KeyMod.WinCtrl|go.KeyCode.KeyG,"Control+KeyG"],[go.KeyMod.WinCtrl|go.KeyCode.KeyB,"Control+KeyB"],[go.KeyMod.WinCtrl|go.KeyCode.KeyO,"Control+KeyO"],[go.KeyMod.WinCtrl|go.KeyCode.KeyD,"Control+KeyD"],[go.KeyMod.WinCtrl|go.KeyCode.KeyP,"Control+KeyP"],[go.KeyMod.Shift|go.KeyCode.F10,"Shift+F10"],[go.KeyMod.WinCtrl|go.KeyCode.F2,"Control+F2"],[go.KeyMod.WinCtrl|go.KeyCode.F12,"Control+F12"]];go.editor.addKeybindingRules(r.map((([e,t])=>({keybinding:e,command:n,commandArgs:t})))),go.editor.defineTheme(yo.DEFAULT_DARK,So),go.editor.defineTheme(yo.SOLARIZED_DARK,Co),go.editor.defineTheme(yo.GITHUB_DARK,No),go.editor.defineTheme(yo.GITHUB_DARK_DIMMED,Io),go.editor.defineTheme(yo.MATERIAL_DEFAULT,vo),go.editor.defineTheme(yo.MATERIAL_DARKER,ko),go.editor.defineTheme(yo.ONE_DARK_PRO,Ro),go.editor.defineTheme(yo.ONE_DARK_PRO_DARKER,Oo)})(e),go.languages.register({id:Mo.PURE}),go.languages.setLanguageConfiguration(Mo.PURE,Ac),go.languages.setMonarchTokensProvider(Mo.PURE,(n=t?.extraKeywords??[],{defaultToken:"invalid",tokenPostfix:".pure",keywords:[...n,"Schema","Table","Join","View","primaryKey","groupBy","mainTable","let","extends","true","false","projects",_c.CLASS,_c.ASSOCIATION,_c.ENUMERATION,_c.MEASURE,_c.PROFILE,_c.FUNCTION,_c.MAPPING,_c.RUNTIME,_c.CONNECTION,_c.FILE_GENERATION,_c.GENERATION_SPECIFICATION,_c.DATA_ELEMENT,bc.JSON_MODEL_CONNECTION,bc.MODEL_CHAIN_CONNECTION,bc.XML_MODEL_CONNECTION,"include","EnumerationMapping","Pure","AssociationMapping","XStore","AggregationAware",_c.SERVICE,_c.FLAT_DATA,_c.DATABASE,bc.FLAT_DATA_CONNECTION,bc.RELATIONAL_DATABASE_CONNECTION,"Relational"],operators:["=",">","<","!","~","?",":","==","<=",">=","&&","||","++","--","+","-","*","/","&","|","^","%","->","#{","}#","@","<<",">>"],languageStructs:["import","native"],identifier:/[a-zA-Z_$][\w$]*/,symbols:/[=><!~?:&|+\-*/^%#@]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,multiplicity:/\[(?:[a-zA-Z0-9]+(?:\.\.(?:[a-zA-Z0-9]+|\*|))?|\*)\]/,package:/(?:[\w_]+::)+/,generics:/(?:(?:<\w+>)|(?:<[^:.@^()]+[^-]>))/,date:/%-?\d+(?:-\d+(?:-\d+(?:T(?:\d+(?::\d+(?::\d+(?:.\d+)?)?)?)(?:[+-][0-9]{4})?)))/,time:/%\d+(?::\d+(?::\d+(?:.\d+)?)?)?/,tokenizer:{root:[{include:"@pure"},{include:"@date"},{include:"@color"},[/^\s*###[\w]+/,lo.PARSER],[/(@identifier)/,{cases:{"@languageStructs":lo.LANGUAGE_STRUCT,"@keywords":`${lo.KEYWORD}.$0`,"([a-zA-Z_$][\\w$]*)_((\\w+_(([a-zA-Z0-9]+)|(\\$[a-zA-Z0-9]+_[a-zA-Z0-9]+\\$)))__)*(\\w+_(([a-zA-Z0-9]+)|(\\$[a-zA-Z0-9]+_[a-zA-Z0-9]+\\$)))_":lo.TYPE,"@default":lo.IDENTIFIER}}],{include:"@whitespace"},[/[{}()[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":lo.OPERATOR,"@default":lo.IDENTIFIER}}],{include:"@number"},[/[;,.]/,lo.DELIMITER],[/'([^'\\]|\\.)*$/,`${lo.STRING}.invalid`],[/'/,lo.STRING,"@string"],{include:"@characters"}],pure:[[/(@package\*)/,[lo.PACKAGE]],[/(@package?)(@identifier)(@generics?)(\s*)(@multiplicity)/,[lo.PACKAGE,lo.TYPE,lo.GENERICS,lo.WHITESPACE,lo.MULTIPLICITY]],[/(@package)(@identifier)(@generics?)/,[lo.PACKAGE,lo.TYPE,lo.GENERICS]],[/([@^])(\s*)(@package?)(@identifier)(@generics?)(@multiplicity?)/,[`${lo.TYPE}.operator`,lo.WHITESPACE,lo.PACKAGE,lo.TYPE,lo.GENERICS,lo.MULTIPLICITY]],[/(\.\s*)(@identifier)/,[lo.DELIMITER,lo.PROPERTY]],[/(@identifier)(\s*=)/,[lo.PROPERTY,lo.OPERATOR]],[/(@identifier)(\.)(@identifier)/,[lo.TYPE,lo.OPERATOR,lo.PROPERTY]],[/(@identifier)(\s*:)/,[lo.PARAMETER,lo.OPERATOR]],[/(let)(\s+)(@identifier)(\s*=)/,[lo.KEYWORD,lo.WHITESPACE,lo.VARIABLE,lo.OPERATOR]],[/(\$@identifier)/,[`${lo.VARIABLE}.reference`]]],date:[[/(%latest)/,[`${lo.DATE}.latest`]],[/(@date)/,[lo.DATE]],[/(@time)/,[`${lo.DATE}.time`]]],color:[[/(#[0-9a-fA-F]{6})/,[lo.COLOR]]],number:[[/(@digits)[eE]([-+]?(@digits))?[fFdD]?/,`${lo.NUMBER}.float`],[/(@digits)\.(@digits)([eE][-+]?(@digits))?[fFdD]?/,`${lo.NUMBER}.float`],[/0[xX](@hexdigits)[Ll]?/,`${lo.NUMBER}.hex`],[/0(@octaldigits)[Ll]?/,`${lo.NUMBER}.octal`],[/0[bB](@binarydigits)[Ll]?/,`${lo.NUMBER}.binary`],[/(@digits)[fFdD]/,`${lo.NUMBER}.float`],[/(@digits)[lL]?/,lo.NUMBER]],whitespace:[[/[ \t\r\n]+/,lo.WHITESPACE],[/\/\*\*(?!\/)/,`${lo.COMMENT}.doc`,"@doc"],[/\/\*/,lo.COMMENT,"@comment"],[/\/\/.*$/,lo.COMMENT]],comment:[[/[^/*]+/,lo.COMMENT],[/\*\//,lo.COMMENT,"@pop"],[/[/*]/,lo.COMMENT]],doc:[[/[^/*]+/,`${lo.COMMENT}.doc`],[/\/\*/,`${lo.COMMENT}.doc.invalid`],[/\*\//,`${lo.COMMENT}.doc`,"@pop"],[/[/*]/,`${lo.COMMENT}.doc`]],string:[[/[^\\']+/,lo.STRING],[/@escapes/,`${lo.STRING}.escape`],[/\\./,`${lo.STRING}.escape.invalid`],[/'/,lo.STRING,"@pop"]],characters:[[/'[^\\']'/,lo.STRING],[/(')(@escapes)(')/,[lo.STRING,`${lo.STRING}.escape`,lo.STRING]],[/'/,`${lo.STRING}.invalid`]]}}))}]}}class Sc extends mr{static create(){const e=new Sc(Nr.create());return e.withBasePlugins([new Ar,new yc]),e.withBasePresets([]),e}async configureApplication(e){return new Sr(e)}async loadApplication(e){(0,o.s)((()=>{let e=document.getElementsByTagName(fr).length?document.getElementsByTagName(fr)[0]:void 0;return e||(e=document.createElement(fr),document.body.appendChild(e)),e.setAttribute("style","height: 100%; width: 100%; display: block"),e})()).render((0,r.jsx)(ft,{store:e,children:(0,r.jsx)(fc,{baseUrl:this.baseAddress})}))}}class Cc{static getPresetCollection(){return[]}static getPluginCollection(){return[new yc]}static run(e){Sc.create().setup({baseAddress:e}).withPresets(Cc.getPresetCollection()).withPlugins(Cc.getPluginCollection()).start().catch((e=>{throw e}))}}Cc.run("/repl/")},1931:(e,t,n)=>{const r=n(1659);e.exports={Fuse:r}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=r,a.amdO={},e=[],a.O=(t,n,r,o)=>{if(!n){var i=1/0;for(d=0;d<e.length;d++){for(var[n,r,o]=e[d],s=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(a.O).every((e=>a.O[e](n[c])))?n.splice(c--,1):(s=!1,o<i&&(i=o));if(s){e.splice(d--,1);var u=r();void 0!==u&&(t=u)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.e=()=>Promise.resolve(),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/repl/",(()=>{var e={826:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)var d=c(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(d)},n=globalThis.webpackChunk_finos_legend_application_repl_deployment=globalThis.webpackChunk_finos_legend_application_repl_deployment||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=a.O(void 0,[736],(()=>a(8932)));i=a.O(i)})();
2
- //# sourceMappingURL=index.2ffca38b.js.map
1
+ (()=>{"use strict";var e,t,n,r={8932:(e,t,n)=>{var r=n(2322),o=n(7029),a=n(2270),i=n(4006),s=n(1112);const c=()=>()=>{};class u extends Error{uuid=(0,a.Z)();constructor(e){super(),this.message=void 0===e||""===e?"(no error message)":e}get detail(){return this.message}}class d extends Error{constructor(e,t,n){if(super(n||(t instanceof Error?t.message:t)),this.name=e,t instanceof Error){const e=(this.message.match(/\n/g)??[]).length+1;this.stack=`${(this.stack??"").split("\n").slice(0,e+1).join("\n")}\nCaused by: ${t.stack}`}else"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack}}class l extends d{constructor(e){super("Illegal State Error [PLEASE NOTIFY DEVELOPER]",e)}}class g extends d{constructor(e,t){super("Unsupported Operation Error",e||t?`${e}${t?`\n${((e,t)=>{const n=(r={printFunctionName:!1,maxDepth:t?.deep?void 0:1},(0,i.Z)(r,(e=>void 0!==e)));var r;return(0,s.WU)(e,n).replace(/.*\s\{/g,"{").replace(/\[.*\]/g,(e=>["[Array]","[Function]"].includes(e)?e:"[Object]"))})(t)}`:""}`:void 0)}}function p(e){if(!(e instanceof Error))throw new l("Expected error to be thrown")}const m=e=>{try{return e()}catch{return}};class f extends d{constructor(e,t){super("Assertion Error",e,t)}}const h=e=>null!=e;function E(e,t=""){if(null==e)throw new f(t||"Value is nullable")}const _=(e,t="")=>(E(e,t),e),b=(e,t,n="")=>(function(e,t,n=""){if(!(e instanceof t))throw new f(n||`Value is expected to be of type '${t.name}'`)}(e,t,n),e);function T(e,t=""){return function(e,t=""){if(""===_(e,t))throw new f(t||"Expected string value to be non-empty")}(e,t),e}function A(e,t=""){if(!e)throw new f(t||"Expected predicate to be truthy")}const y=e=>"string"==typeof e,S=e=>"number"==typeof e&&!isNaN(e),C=e=>"boolean"==typeof e,N=e=>"object"==typeof e&&null!==e,I=(e,t="")=>(function(e,t=""){if(!y(e))throw new f(t||"Value is expected to be a string")}(e,t),e),v=(e,t="")=>(function(e,t=""){if(!S(e))throw new f(t||"Value is expected to be a number")}(e,t),e),k=(e,t="")=>(function(e,t=""){if(!C(e))throw new f(t||"Value is expected to be a boolean")}(e,t),e);var R=n(9391),O=n(3654),F=n(8247),B=n(2659);const L=R.W,w="charset=utf-8";var P,D,M;!function(e){e.CONTENT_TYPE="Content-Type",e.ACCEPT="Accept"}(P||(P={})),function(e){e.APPLICATION_JSON="application/json",e.APPLICATION_XML="application/xml",e.APPLICATION_ZLIB="application/zlib",e.TEXT_PLAIN="text/plain",e.TEXT_CSV="text/csv",e.ALL="*/*"}(D||(D={})),function(e){e.GET="GET",e.PUT="PUT",e.POST="POST",e.DELETE="DELETE"}(M||(M={}));const x={mode:"cors",credentials:"include",redirect:"follow"},j=(e,t)=>{const n={};return e&&Object.entries(e).forEach((([e,t])=>{n[e]=t})),t&&Object.entries(t).forEach((([e,t])=>{n[e]=t})),n};class U extends Error{response;payload;constructor(e,t){super(),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.name="Network Client Error",this.response=e;const{status:n,statusText:r,url:o}=e,a=`Received response with status ${n} (${r}) for ${o}`;this.message=(t?(e=>{if(N(e))return y(e.message)?e.message:JSON.stringify(e);let t;try{t=JSON.parse(e)}catch{}return t&&y(t.message)?t.message:e})(t).substring(0,5e3):"")||a,this.payload=t}}const G=async(e,t,n)=>{if(n?.preprocess?.(e),!e.ok){let t;try{t=await e.text(),t=JSON.parse(t)}catch{}return Promise.reject(new U(e,t))}if(n?.skipProcessing)return Promise.resolve(e);if(e.status===L.NO_CONTENT)return Promise.resolve(void 0);const r=t.headers.Accept;switch(r){case D.APPLICATION_JSON:return e.json();case D.TEXT_PLAIN:return e.text();default:return Promise.reject(new U(e,`Can't process response for request with Content-Type '${r}'`))}},H=(e,t)=>{const n={};return n.Accept=D.APPLICATION_JSON,e!==M.GET&&(n[P.CONTENT_TYPE]=`${D.APPLICATION_JSON};${w}`),j(n,t)};class V{options={};baseUrl;constructor(e){this.baseUrl=e?.baseUrl,this.options={...x,...e?.options??{}}}async get(e,t={},n,r,o,a){return this.request(M.GET,e,void 0,t,n,r,o,a)}async put(e,t={},n={},r,o,a,i){return this.request(M.PUT,e,t,n,r,o,a,i)}async post(e,t={},n={},r,o,a,i){return this.request(M.POST,e,t,n,r,o,a,i)}async delete(e,t={},n={},r,o,a,i){return this.request(M.DELETE,e,t,n,r,o,a,i)}async request(e,t,n,r,o,a,i,s){const c=((e,t,n)=>{if(!e&&!m((()=>new URL(t))))throw new Error(`Can't build URL string: base URL is not specified and the provided URL '${t}' is not absolute`);const r=new URL(t,e);return n instanceof Object&&Object.entries(n).forEach((([e,t])=>{void 0!==t&&(Array.isArray(t)?t.filter(h).forEach((t=>r.searchParams.append(e,t.toString()))):r.searchParams.append(e,t.toString()))})),r.toString()})(this.baseUrl,t,a??{});let u;if((y(n)||N(n))&&i?.enableCompression&&(A(e!==M.GET," GET request should not have any request payload"),n=(e=>new Blob([(0,O.Wt)(N(e)?JSON.stringify(e):e)]))(n),o=j(o,{[P.CONTENT_TYPE]:`${D.APPLICATION_ZLIB};${w}`})),void 0!==n)if(y(n)||n instanceof Blob)u=n;else{if(!N(n))throw new f("Request body can only be either a 'string' or an 'object'");u=JSON.stringify(n)}const d={...this.options,...r,method:e,body:u,headers:H(e,o)};return fetch(c,d).then((e=>0===e.status||e.status===L.UNAUTHORIZED?s?.autoReAuthenticateUrl?(e=>new Promise((t=>{const n="AUTO_AUTHENTICATION_IFRAME",r=document.getElementById(n);r?.remove();const o=document.createElement("iframe");o.id=n,o.src=e,o.style.display="none",o.addEventListener("load",(()=>{o.remove(),t()})),document.body.appendChild(o)})))(s.autoReAuthenticateUrl).then((()=>fetch(c,d))).then((e=>G(e,d,s))):fetch(c,d).then((e=>G(e,d,s))):G(e,d,s))).catch((e=>(e=>e instanceof TypeError&&"Failed to fetch"===e.message)(e)?fetch(c,d).then((e=>G(e,d,s))):Promise.reject(e)))}}const K=(e,t,n)=>{const r=new Blob([t],{type:n}),o=URL.createObjectURL(r),a=document.createElement("a");"string"==typeof a.download?(document.body.appendChild(a),a.download=e,a.href=o,a.click(),document.body.removeChild(a)):location.replace(o)};var Y,W;!function(e){e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(Y||(Y={}));class q{channel;name;timestamp=Date.now();static create(e){const t=new q;return t.name=e,t}}class ${loggers=[];registerPlugins(e){this.loggers=e}debug(e,...t){this.loggers.forEach((n=>n.debug(e,...t)))}info(e,...t){this.loggers.forEach((n=>n.info(e,...t)))}warn(e,...t){this.loggers.forEach((n=>n.warn(e,...t)))}error(e,...t){this.loggers.forEach((n=>n.error(e,...t)))}}!function(e){e.APPLICATION_SETUP__FAILURE="application.setup.failure",e.APPLICATION_LOAD__SUCCESS="application.load.success",e.APPLICATION_LOAD__FAILURE="application.load.failure",e.ILLEGAL_APPLICATION_STATE_OCCURRED="application.error.illegal-state",e.APPLICATION_CONFIGURATION__FAILURE="application.configuration.failure",e.IDENTITY_AUTO_FETCH__FAILURE="application.identity.auto-fetch.failure",e.DOCUMENTATION_FETCH__FAILURE="application.documentation.fetch.failure",e.DOCUMENTATION_LOAD__SKIP="application.documentation.load.skip",e.DOCUMENTATION_REQUIREMENT_CHECK__FAILURE="application.documentation.requirement-check.failure",e.CONTEXTUAL_DOCUMENTATION_LOAD__SKIP="application.virtual-assistant.contextual-documentation-load.skip",e.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS="application.virtual-assistant.documentation-entry.access",e.TERMINAL_COMMAND_CONFIGURATION_CHECK__FAILURE="application.load.terminal-command.configuration-check.failure",e.COLOR_THEME_CONFIGURATION_CHECK__FAILURE="application.layout.color-theme.configuration-check.failure",e.SETTING_CONFIGURATION_CHECK__FAILURE="application.setting.configuration-check.failure",e.SETTING_RETRIVE_FAILURE="application.setting.retrieve.failure",e.USER_DATA_RETRIEVE_FAILURE="application.user-data.retrieve.failure",e.COMMAND_CENTER_REGISTRATION__FAILURE="application.command.registration.failure",e.DEVELOPMENT_ISSUE="development.issue",e.APPLICATION_CONTEXT__ACCESS="application.context.access",e.APPLICATION_USAGE__INTERRUPT="application.usage.interrupt",e.APPLICATION_TELEMETRY_EVENT__FAILURE="application.telemetry-event.failure"}(W||(W={}));var J=n(9013);class X{schema;deserializeNullAsUndefined;constructor(e,t){this.schema=e,this.deserializeNullAsUndefined=Boolean(t?.deserializeNullAsUndefined)}toJson(e){return(0,J.qC)(this.schema,e)}fromJson(e){return(0,J.vB)(this.schema,this.deserializeNullAsUndefined?(t=e,(0,i.Z)(t,(e=>null!==e))):e);var t}}const z=e=>(0,J.PG)((t=>void 0===t?J.AM:(0,J.qC)(e,t)),(t=>(0,J.vB)(e,t))),Q=e=>(0,J.PG)((()=>e),(()=>e)),Z=e=>(0,J.PG)((t=>t?(0,J.qC)(e,t):J.AM),(t=>t?(0,J.vB)(e,t):J.AM));var ee=n(0);class te{key;markdownText;title;text;url;related;static serialization=new X((0,J.yu)(te,{markdownText:(0,J.PG)((e=>e),(e=>e.value?e:void 0)),related:(0,J.jt)((0,J.pb)((0,J.Ru)())),title:(0,J.jt)((0,J.Ru)()),text:(0,J.jt)((0,J.Ru)()),url:(0,J.jt)((0,J.Ru)())}));static create(e,t){const n=te.serialization.fromJson(e);return n.key=t,n}}const ne=e=>Object.entries(e).map((e=>({key:e[0],content:te.create(e[1],e[0])})));class re{url;links;docRegistry=new Map;contextualDocIndex=new Map;constructor(e){this.url=e.config.documentationUrl,this.links=e.config.documentationLinkEntries,e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedDocumentationEntries?.()??[])).forEach((t=>{this.hasDocEntry(t.key)?e.logService.warn(q.create(W.DOCUMENTATION_LOAD__SKIP),t.key):this.docRegistry.set(t.key,t.content)})),e.config.keyedDocumentationEntries.forEach((e=>this.docRegistry.set(e.key,e.content)));const t=e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraContextualDocumentationEntries?.()??[])),n=[];(0,ee.Z)(e.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraRequiredDocumentationKeys?.()??[])).concat(t.map((e=>e.documentationKey)))).forEach((e=>{this.docRegistry.has(e)||n.push(e)})),n.length&&e.logService.warn(q.create(W.DOCUMENTATION_REQUIREMENT_CHECK__FAILURE),`Can't find corresponding documentation entry for keys:\n${n.map((e=>`- ${e}`)).join("\n")}`),t.forEach((t=>{if(this.hasContextualDocEntry(t.context))e.logService.warn(q.create(W.CONTEXTUAL_DOCUMENTATION_LOAD__SKIP),t.context);else{const e=this.getDocEntry(t.documentationKey);e&&this.contextualDocIndex.set(t.context,e)}})),e.config.contextualDocEntries.forEach((e=>{const t=this.getDocEntry(e.documentationKey);t&&this.contextualDocIndex.set(e.context,t)}))}getDocEntry(e){return this.docRegistry.get(e)}hasDocEntry(e){return this.docRegistry.has(e)}getContextualDocEntry(e){return this.contextualDocIndex.get(e)}hasContextualDocEntry(e){return this.contextualDocIndex.has(e)}getAllDocEntries(){return Array.from(this.docRegistry.values())}publishDocRegistry(){const e={};return this.docRegistry.forEach(((t,n)=>{e[n]=te.serialization.toJson(t)})),e}publishContextualDocIndex(){const e={};return this.contextualDocIndex.forEach(((t,n)=>{e[n]=t.key})),e}}var oe,ae,ie=n(75);!function(e){e.INITIAL="INITIAL",e.IN_PROGRESS="IN_PROGRESS",e.SUCCEEDED="SUCEEDED",e.FAILED="FAILED"}(oe||(oe={}));class se{state;_message;_messageFormatter;constructor(){this.state=oe.INITIAL}setMessage(e){this._message=e}setMessageFormatter(e){this._messageFormatter=e}reset(){return this.state=oe.INITIAL,this}inProgress(){return this.state=oe.IN_PROGRESS,this}fail(){return this.state=oe.FAILED,this}pass(){return this.state=oe.SUCCEEDED,this}complete(e=!0){return e?this.pass():this.fail(),this}sync(e){const t=e.exportData();this.state=t.state,this._message=t.message}exportData(){return{state:this.state,message:this._message}}get isInInitialState(){return this.state===oe.INITIAL}get isInProgress(){return this.state===oe.IN_PROGRESS}get hasFailed(){return this.state===oe.FAILED}get hasSucceeded(){return this.state===oe.SUCCEEDED}get message(){return this._message?this._messageFormatter?this._messageFormatter(this._message):this._message:void 0}get hasCompleted(){return this.hasFailed||this.hasSucceeded}static create(){return(0,ie.rC)(new se,{state:ie.LO,_message:ie.LO,reset:ie.aD,inProgress:ie.aD,pass:ie.aD,fail:ie.aD,complete:ie.aD,setMessage:ie.aD,sync:ie.aD,isInInitialState:ie.Fl,isInProgress:ie.Fl,hasFailed:ie.Fl,hasSucceeded:ie.Fl,hasCompleted:ie.Fl,message:ie.Fl})}}!function(e){e.USER="user",e.ENV="env",e.RESULT="result",e.ERROR="error",e.HTTP_STATUS="status",e.HTTP_REQUEST_METHOD="method",e.HTTP_REQUEST_URL="url"}(ae||(ae={}));class ce{traceEntries=[];setup(e){this.traceEntries=e}bootstrap(e){this.traceEntries.forEach((t=>{t.plugin.bootstrap(t.clientSpan,e)}))}reportSuccess(){this.traceEntries.forEach((e=>{e.plugin.concludeClientSpan(e.clientSpan,void 0)}))}reportError(e){this.traceEntries.forEach((t=>{t.plugin.concludeClientSpan(t.clientSpan,e)}))}close(){this.traceEntries.forEach((e=>{e.plugin.concludeServerSpan(e.serverSpan)}))}}class ue{plugins=[];registerPlugins(e){this.plugins=e}createTrace(e,t,n,r){const o=new ce;return e&&o.setup(this.plugins.map((o=>{const a=o.createClientSpan(e);return{clientSpan:a,serverSpan:o.createServerSpan(a,t,n,r),plugin:o}}))),o}}var de=n(1931);const le=de.Fuse.default;var ge,pe;de.Fuse,function(e){e.STANDARD="standard",e.INCLUDE="include match",e.EXACT="exact match",e.INVERSE="excludes exact match"}(ge||(ge={}));class me{currentMode=ge.STANDARD;onSearchModeChange;constructor(e){(0,ie.rC)(this,{currentMode:ie.LO,isAdvancedSearchActive:ie.Fl,setCurrentMode:ie.aD}),this.onSearchModeChange=e}get isAdvancedSearchActive(){return this.currentMode!==ge.STANDARD}generateSearchText(e){switch(this.currentMode){case ge.INCLUDE:return`'"${e}"`;case ge.EXACT:return`="${e}"`;case ge.INVERSE:return`!"${e}"`;default:return e}}setCurrentMode(e){this.currentMode=e,this.onSearchModeChange()}}!function(e){e.SEARCH="SEARCH",e.CONTEXTUAL_SUPPORT="CONTEXTUAL_SUPPORT"}(pe||(pe={}));class fe{uuid=(0,a.Z)();documentationKey;title;content;url;isOpen=!1;constructor(e){(0,ie.rC)(this,{isOpen:ie.LO,setIsOpen:ie.aD}),this.documentationKey=e.key,this.title=T(e.title),this.content=e.markdownText??e.text,this.url=e.url}setIsOpen(e){this.isOpen=e}}class he{uuid=(0,a.Z)();context;title;content;url;related;constructor(e,t,n){this.context=e,this.title=t.title,this.content=t.markdownText??t.text,this.url=t.url,this.related=n}}const Ee=e=>Boolean(e.title&&(e.url??e.text??e.markdownText));class _e{applicationStore;panelRenderingKey=(0,a.Z)();isHidden=!0;isOpen=!1;isPanelMaximized=!1;selectedTab=pe.SEARCH;currentDocumentationEntry;searchEngine;searchConfigurationState;searchState=se.create();searchText="";searchResults=[];showSearchConfigurationMenu=!1;isOverSearchLimit=!1;constructor(e){(0,ie.rC)(this,{isHidden:ie.LO,isOpen:ie.LO,isPanelMaximized:ie.LO,panelRenderingKey:ie.LO,isOverSearchLimit:ie.LO,selectedTab:ie.LO,searchText:ie.LO,searchResults:ie.LO,currentDocumentationEntry:ie.LO,showSearchConfigurationMenu:ie.LO,currentContextualDocumentationEntry:ie.Fl,setIsHidden:ie.aD,setIsOpen:ie.aD,setIsPanelMaximized:ie.aD,setSelectedTab:ie.aD,setSearchText:ie.aD,resetSearch:ie.aD,search:ie.aD,openDocumentationEntry:ie.aD,refreshPanelRendering:ie.aD,setShowSearchConfigurationMenu:ie.aD}),this.applicationStore=e,this.searchEngine=new le(this.applicationStore.documentationService.getAllDocEntries().filter(Ee),{includeScore:!0,shouldSort:!0,ignoreLocation:!0,threshold:.2,keys:[{name:"title",weight:4},{name:"text",weight:1},{name:"markdownText.value",weight:1}],useExtendedSearch:!0}),this.searchConfigurationState=new me((()=>{this.search()}))}get currentContextualDocumentationEntry(){if(!this.applicationStore.navigationContextService.currentContext)return;const e=this.applicationStore.navigationContextService.currentContext.key,t=this.applicationStore.documentationService.getContextualDocEntry(e);return t?new he(e,t,(t.related??[]).map((e=>this.applicationStore.documentationService.getDocEntry(e))).filter(h).filter(Ee).map((e=>new fe(e)))):void 0}openDocumentationEntry(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&(this.setIsOpen(!0),this.setIsHidden(!1),this.currentDocumentationEntry=new fe(t),this.currentDocumentationEntry.setIsOpen(!0),this.resetSearch())}openDocumentationEntryLink(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&((e=>Ee(e)&&Boolean(e.text??e.markdownText))(t)?this.openDocumentationEntry(t.key):t.url&&this.applicationStore.navigationService.navigator.visitAddress(t.url))}setIsHidden(e){this.isHidden=e}setIsPanelMaximized(e){this.isPanelMaximized=e}hideAssistant(){this.setIsHidden(!0),this.setIsOpen(!1)}toggleAssistant(){this.isHidden?this.setIsHidden(!1):this.hideAssistant()}setIsOpen(e){this.isOpen=e}setSelectedTab(e){this.selectedTab=e}refreshPanelRendering(){this.panelRenderingKey=(0,a.Z)()}setSearchText(e){this.searchText=e}resetSearch(){this.searchText="",this.searchResults=[],this.searchState.complete()}search(){this.searchText?(this.currentDocumentationEntry=void 0,this.searchState.inProgress(),this.searchResults=Array.from(this.searchEngine.search(this.searchConfigurationState.generateSearchText(this.searchText),{limit:101}).values()).map((e=>new fe(e.item))),this.searchResults.length>100?(this.isOverSearchLimit=!0,this.searchResults=this.searchResults.slice(0,100)):this.isOverSearchLimit=!1,this.searchState.complete()):this.searchResults=[]}setShowSearchConfigurationMenu(e){this.showSearchConfigurationMenu=e}}class be{notifierPlugins=[];registerEventNotifierPlugins(e){this.notifierPlugins=e}notify(e,t){this.notifierPlugins.forEach((n=>n.notify(e,t)))}}class Te{static logEvent_ApplicationInitializationSucceeded(e,t){e.logEvent(W.APPLICATION_LOAD__SUCCESS,{application:{name:t.config.appName,version:t.config.appVersion,env:t.config.env},browser:{userAgent:navigator.userAgent},screen:{height:window.screen.height,width:window.screen.width}})}static logEvent_ApplicationContextAccessed(e,t){e.logEvent(W.APPLICATION_CONTEXT__ACCESS,t)}static logEvent_VirtualAssistantDocumentationEntryAccessed(e,t){e.logEvent(W.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS,t)}static logEvent_ApplicationUsageInterrupted(e){e.logEvent(W.APPLICATION_USAGE__INTERRUPT,{})}}class Ae{applicationStore;contextStack=[];constructor(e){(0,ie.rC)(this,{contextStack:ie.LO,currentContext:ie.Fl,push:ie.aD,pop:ie.aD}),this.applicationStore=e}get currentContext(){return this.contextStack.length?this.contextStack[this.contextStack.length-1]:void 0}push(e){const t=this.contextStack.filter((e=>!e.isTransient));if(t.find((t=>t.key===e.key)))throw new l(`Found multiple context '${e.key}' in application navigation context stack`);t.push(e),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraAccessEventLoggingApplicationContextKeys?.()??[])).includes(e.key)&&Te.logEvent_ApplicationContextAccessed(this.applicationStore.telemetryService,{key:e.key}),this.contextStack=t}pop(e){const t=this.contextStack.find((t=>t.key===e.key));if(!t)return;const n=this.contextStack.indexOf(t);-1!==n&&(this.contextStack=this.contextStack.slice(0,n).filter((e=>!e.isTransient)))}}class ye{applicationStore;commandRegistry=new Map;constructor(e){(0,ie.rC)(this,{commandRegistry:ie.LO,registerCommand:ie.aD,deregisterCommand:ie.aD}),this.applicationStore=e}registerCommand(e){const t=e.key;this.commandRegistry.has(t)?this.applicationStore.logService.warn(q.create(W.COMMAND_CENTER_REGISTRATION__FAILURE),"Can't register command: command is already registered"):this.commandRegistry.set(t,e)}deregisterCommand(e){this.commandRegistry.delete(e)}runCommand(e,t){const n=this.commandRegistry.get(e);return!(!n||n.trigger&&!n.trigger()||(n.action?.(t),0))}}class Se{applicationStore;keyMap=new Map;commandKeyMap=new Map;isHotkeysBlocked=!1;constructor(e){(0,ie.rC)(this,{keyMap:ie.LO,commandKeyMap:ie.LO,isHotkeysBlocked:ie.LO,addHotkey:ie.aD,blockGlobalHotkeys:ie.aD,unblockGlobalHotkeys:ie.aD}),this.applicationStore=e,this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedCommandConfigEntries?.()??[])).forEach((e=>{const t=[e.content.defaultKeyboardShortcut,...e.content.additionalKeyboardShortcuts??[]].filter(h);t.length?t.forEach((t=>this.addHotkey(e.key,t))):this.commandKeyMap.has(e.key)||this.commandKeyMap.set(e.key,[])}))}blockGlobalHotkeys(){this.isHotkeysBlocked=!0}unblockGlobalHotkeys(){this.isHotkeysBlocked=!1}addHotkey(e,t){this.commandKeyMap.set(e,[...this.commandKeyMap.get(e)??[],t]),this.keyMap.set(t,[...(this.keyMap.get(t)??[]).filter((t=>t!==e)),e])}dispatch(e){if(this.isHotkeysBlocked)return;const t=this.keyMap.get(e)??[];for(const e of t)if(this.applicationStore.commandService.runCommand(e))return}}var Ce=n(7289),Ne=n(3678),Ie=n(8440),ve=n(1919),ke=n(5399),Re=n(9358);const Oe="Roboto Mono",Fe="yyyy-MM-dd'T'HH:mm:ss";var Be;!function(e){e.RESET="",e.BOLD="",e.DIM="",e.ITALIC="",e.UNDERLINE="",e.BLINKING="",e.STRIKETHROUGH="",e.BLACK="",e.RED="",e.GREEN="",e.YELLOW="",e.BLUE="",e.MAGENTA="",e.CYAN="",e.WHITE="",e.BRIGHT_BLACK="",e.BRIGHT_RED="",e.BRIGHT_GREEN="",e.BRIGHT_YELLOW="",e.BRIGHT_BLUE="",e.BRIGHT_MAGENTA="",e.BRIGHT_CYAN="",e.BRIGHT_WHITE="",e.DIMMED_BLACK="",e.DIMMED_RED="",e.DIMMED_GREEN="",e.DIMMED_YELLOW="",e.DIMMED_BLUE="",e.DIMMED_MAGENTA="",e.DIMMED_CYAN="",e.DIMMED_WHITE="",e.BLACK_BG="",e.RED_BG="",e.GREEN_BG="",e.YELLOW_BG="",e.BLUE_BG="",e.MAGENTA_BG="",e.CYAN_BG="",e.WHITE_BG="",e.BRIGHT_BLACK_BG="",e.BRIGHT_RED_BG="",e.BRIGHT_GREEN_BG="",e.BRIGHT_YELLOW_BG="",e.BRIGHT_BLUE_BG="",e.BRIGHT_MAGENTA_BG="",e.BRIGHT_CYAN_BG="",e.BRIGHT_WHITE_BG="",e.DIMMED_BLACK_BG="",e.DIMMED_RED_BG="",e.DIMMED_GREEN_BG="",e.DIMMED_YELLOW_BG="",e.DIMMED_BLUE_BG="",e.DIMMED_MAGENTA_BG="",e.DIMMED_CYAN_BG="",e.DIMMED_WHITE_BG=""}(Be||(Be={}));const Le=(e,t)=>`[${e};${t}H`;class we{searchInput;searchText="";useRegex=!1;matchWholeWord=!1;matchCaseSensitive=!1;resultCount;currentResultIndex;constructor(){(0,ie.rC)(this,{searchText:ie.LO,useRegex:ie.LO,matchWholeWord:ie.LO,matchCaseSensitive:ie.LO,resultCount:ie.LO,currentResultIndex:ie.LO})}setSearchInput(e){this.searchInput=e}focus(){this.searchInput?.focus()}}class Pe{applicationStore;searchConfig=new we;constructor(e){(0,ie.rC)(this,{setSearchText:ie.aD,setSearchRegex:ie.aD,setSearchWholeWord:ie.aD,setSearchCaseSensitive:ie.aD,setSearchResultCount:ie.aD,setSearchCurrentResultIndex:ie.aD}),this.applicationStore=e}setSearchText(e){this.searchConfig.searchText=e}setSearchRegex(e){this.searchConfig.useRegex=e}setSearchWholeWord(e){this.searchConfig.matchWholeWord=e}setSearchCaseSensitive(e){this.searchConfig.matchCaseSensitive=e}setSearchResultCount(e){this.searchConfig.resultCount=e}setSearchCurrentResultIndex(e){this.searchConfig.currentResultIndex=e}}class De extends Pe{preserveLog=!1;commandRegistry=new Map;constructor(e){super(e),(0,ie.rC)(this,{preserveLog:ie.LO,setPreserveLog:ie.aD})}setPreserveLog(e){this.preserveLog=e}showHelp(){}showCommonANSIEscapeSequences(){}}var Me=n(1367);n(9207),n(286);const xe=e=>e.length>=1?`${e[0].toUpperCase()}${e.substring(1,e.length)}`:e,je=["a","an","the","but","by","nor","and","or","so","as","yet","for","in","nor","of","on","at","out","to","up"],Ue=e=>(e??"").trim().replace(/\b(?:\w+)\b/gu,(e=>je.includes(e.toLowerCase())?e.toLowerCase():xe(e))).replace(/^(?:\w+)\b/u,(e=>xe(e))).replace(/\b(?:\w+)$/u,(e=>xe(e)));var Ge;function He(e){return e.trim().split(" ").map((e=>{const t=e.split(/\b\+/),n=_(t.pop(),"Can't parse key binding: last part must be a non-modifier key");return{modifiers:t,key:n}}))}!function(e){e.TAB="Tab",e.CAPSLOCK="CapsLock",e.SHIFT="Shift",e.META="Meta",e.ALT="Alt",e.CONTROL="Control",e.SPACE="Space",e.ESC="Escape",e.LEFT="ArrowLeft",e.RIGHT="ArrowRight",e.UP="ArrowUp",e.DOWN="ArrowDown",e.ENTER="Enter",e.DELETE="Delete",e.BACKSPACE="Backspace",e.BACKQUOTE="Backquote"}(Ge||(Ge={}));const Ve=(e,t)=>t.key===e.code&&t.modifiers.every((t=>e.getModifierState(t)))&&![Ge.SHIFT,Ge.META,Ge.ALT,Ge.CONTROL].find((n=>t.key!==n&&e.getModifierState(n)&&!t.modifiers.includes(n))),Ke=(e,t)=>Ve(e,_(He(t)[0]));var Ye=n(4707),We=n(3493),qe=n(6919);const $e=(0,Ye.Z)({transitions:{create:()=>"none"}}),Je=e=>{const{children:t}=e;return(0,r.jsx)(We.Z,{injectFirst:!0,children:(0,r.jsx)(qe.Z,{theme:$e,children:t})})};var Xe=n(3820),ze=n(6242),Qe=n(4309),Ze=n(7311),et=n(8683),tt=n(1934),nt=n(489);const rt=(e,t)=>{const n=e=>{const{children:n,className:o}=e;return(0,r.jsx)("div",{className:(0,nt.W)(t,o),"data-testid":e["data-testid"],children:n})};return n.displayName=e,n},ot=e=>{const{children:t,darkMode:n,className:o}=e;return(0,r.jsx)("div",{className:(0,nt.W)("modal",{"modal--dark":n},o),children:t})},at=e=>{const{title:t,icon:n,className:o}=e;return(0,r.jsxs)("div",{className:(0,nt.W)("modal__title",o),children:[n&&(0,r.jsx)("div",{className:"modal__title__icon",children:n}),(0,r.jsx)("div",{className:"modal__title__label",children:Ue(t)})]})},it=e=>{const{title:t,children:n,className:o}=e;return!n&&t?(0,r.jsx)("div",{className:(0,nt.W)("modal__header",o),children:(0,r.jsx)(at,{title:t})}):(0,r.jsx)("div",{className:(0,nt.W)("modal__header",o),children:n})},st=(rt("ModalHeaderActions","modal__header__actions"),rt("ModalBody","modal__body")),ct=rt("ModalFooter","modal__footer");var ut,dt;rt("ModalFooterStatus","modal__footer__status"),function(e){e.STANDARD="STANDARD",e.CAUTION="CAUTION"}(ut||(ut={})),function(e){e.STANDARD="STANDARD",e.PROCEED_WITH_CAUTION="PROCEED_WITH_CAUTION",e.PROCEED="PROCEED"}(dt||(dt={}));class lt{applicationStore;blockingAlertInfo;actionAlertInfo;constructor(e){(0,ie.rC)(this,{blockingAlertInfo:ie.LO,actionAlertInfo:ie.LO,setBlockingAlert:ie.aD,setActionAlertInfo:ie.aD}),this.applicationStore=e}setBlockingAlert(e){e?this.applicationStore.keyboardShortcutsService.blockGlobalHotkeys():this.applicationStore.keyboardShortcutsService.unblockGlobalHotkeys(),this.blockingAlertInfo=e}setActionAlertInfo(e){this.actionAlertInfo&&e&&this.applicationStore.notificationService.notifyIllegalState("Action alert is stacked: new alert is invoked while another one is being displayed"),e?this.applicationStore.keyboardShortcutsService.blockGlobalHotkeys():this.applicationStore.keyboardShortcutsService.unblockGlobalHotkeys(),this.actionAlertInfo=e}}var gt=n(2784);const pt=(0,gt.createContext)(void 0),mt=()=>_((0,gt.useContext)(pt),"Can't find application store in context"),ft=({children:e,store:t})=>{const n=(0,Qe.fv)((()=>t));return(0,r.jsx)(pt.Provider,{value:n,children:e})},ht=e=>{switch(e){case dt.PROCEED_WITH_CAUTION:return"btn--caution";case dt.PROCEED:case dt.STANDARD:default:return"btn--dark"}},Et=(0,Qe.Pi)((e=>{const{info:t}=e,n=mt(),{title:o,message:a,prompt:i,type:s,onClose:u,onEnter:d,actions:l}=t,g=()=>{u?.(),n.alertService.setActionAlertInfo(void 0)};return(0,r.jsx)(tt.Z,{open:Boolean(n.alertService.actionAlertInfo),onClose:c,TransitionProps:{onEnter:()=>d?.()},children:(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),l.find((e=>e.default))?.handler?.(),g()},className:`modal search-modal modal--dark blocking-alert blocking-alert--${(s??ut.STANDARD).toLowerCase()}`,children:[o&&(0,r.jsx)(it,{title:o}),(0,r.jsxs)(st,{children:[(0,r.jsx)("div",{className:"blocking-alert__summary-text",children:a}),(0,r.jsx)("div",{className:"blocking-alert__prompt-text",children:i})]}),(0,r.jsxs)(ct,{children:[l.map(((e,t)=>(0,r.jsx)("button",{type:e.default?"submit":"button",className:`btn btn--dark ${ht(e.type??dt.STANDARD)}`,onClick:t=>{t.preventDefault(),e.handler?.(),g()},autoFocus:Boolean(e.default),children:e.label},t))),!l.length&&(0,r.jsx)("button",{type:"button",className:"btn btn--dark blocking-alert__action--standard",onClick:g,children:"Cancel"})]})]})})})),_t=(0,Qe.Pi)((()=>{const e=mt().alertService.actionAlertInfo;return e?(0,r.jsx)(Et,{info:e}):null})),bt=e=>{const{isLoading:t,className:n}=e,o=(0,gt.useRef)(null);return(0,gt.useEffect)((()=>{o.current&&(t?o.current.parentElement?.classList.add("panel-loading-indicator__container"):o.current.parentElement?.classList.remove("panel-loading-indicator__container"))}),[t]),(0,r.jsx)("div",{ref:o,className:(0,nt.W)(n,"panel-loading-indicator"+(t?"":"--disabled"))})},Tt=(0,Qe.Pi)((()=>{const e=mt(),t=e.alertService.blockingAlertInfo;return t?(0,r.jsx)(tt.Z,{open:Boolean(t),onClose:c,classes:{root:"blocking-alert__root-container",container:"blocking-alert__container"},children:(0,r.jsxs)(ot,{darkMode:!e.layoutService.TEMPORARY__isLightColorThemeEnabled,className:"blocking-alert",children:[(0,r.jsx)(bt,{isLoading:Boolean(t.showLoading)}),(0,r.jsxs)(st,{children:[(0,r.jsx)("div",{className:"blocking-alert__message",children:t.message}),t.prompt&&(0,r.jsx)("div",{className:"blocking-alert__message__prompt",children:t.prompt})]})]})}):null}));var At=n(5887),yt=n(2129),St=n(5685),Ct=n(2595),Nt=n(4051);const It=At.Ayd,vt=At.ven,kt=yt._4k,Rt=St.aHS,Ot=St.G5m,Ft=St.p4t,Bt=St.u9M,Lt=St.xik,wt=St.MXt,Pt=St.DAO,Dt=St.gmG,Mt=St.U41,xt=St.wbB,jt=St.FJM,Ut=St.gJy,Gt=St.iq7,Ht=St.ALi,Vt=St.GNX,Kt=St.Nh4,Yt=St.wMM,Wt=St.TRe,qt=St.qjb,$t=Ct.$qf,Jt=Ct.N3K,Xt=Nt.RiH,zt=Nt.gbK,Qt=Nt.tOB;var Zt=n(3882),en=n(3083);const tn=6e3;var nn;!function(e){e.ILEGAL_STATE="ILEGAL_STATE",e.ERROR="ERROR",e.WARNING="WARNING",e.SUCCESS="SUCCESS",e.INFO="INFO"}(nn||(nn={}));class rn{severity;message;actions;autoHideDuration;constructor(e,t,n,r){this.severity=e,this.message=t,this.actions=n,this.autoHideDuration=r}}class on{notification;constructor(){(0,ie.rC)(this,{notification:ie.LO,setNotification:ie.aD,notify:ie.aD,notifySuccess:ie.aD,notifyWarning:ie.aD,notifyIllegalState:ie.aD,notifyError:ie.aD})}setNotification(e){this.notification=e}notify(e,t,n){this.setNotification(new rn(nn.INFO,e,t??[],null===n?void 0:n??tn))}notifySuccess(e,t,n){this.setNotification(new rn(nn.SUCCESS,e,t??[],null===n?void 0:n??tn))}notifyWarning(e,t,n){this.setNotification(new rn(nn.WARNING,e instanceof Error?e.message:e,t??[],null===n?void 0:n??tn))}notifyError(e,t){let n;e instanceof u?n=e.detail:e instanceof Error?n=e.message:(A(y(e),"Can't display error"),n=e),n&&this.setNotification(new rn(nn.ERROR,n,t??[],void 0))}notifyIllegalState(e,t,n){this.setNotification(new rn(nn.ILEGAL_STATE,y(e)?`[PLEASE NOTIFY DEVELOPER] ${e}`:e,t??[],null===n?void 0:n??tn))}notifyUnsupportedFeature(e){this.notifyWarning(`Unsupported feature: ${e}`)}notifyAndReturnAlternativeOnError=(e,t)=>{try{return e()}catch(e){return p(e),this.notifyIllegalState(e.message),t}}}const an=(0,Qe.Pi)((()=>{const e=mt(),t=e.notificationService.notification,n=Boolean(t),o=t?.message??"",a=t?.severity??nn.INFO,[i,s]=(0,gt.useState)(!1);let c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--info",children:(0,r.jsx)(Pt,{})});switch(a){case nn.ILEGAL_STATE:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,r.jsx)(Gt,{})});break;case nn.ERROR:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,r.jsx)(Ot,{})});break;case nn.WARNING:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--warning",children:(0,r.jsx)(Ut,{})});break;case nn.SUCCESS:c=(0,r.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--success",children:(0,r.jsx)(jt,{})})}const u=()=>{e.notificationService.setNotification(void 0),s(!1)},d=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(o)));return(0,r.jsx)(Zt.Z,{classes:{root:"notification",anchorOriginBottomRight:"notification__position"},anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:t?t.autoHideDuration??null:tn,onClose:(e,t)=>{"timeout"===t&&u()},children:(0,r.jsx)(en.Z,{classes:{root:"notification__content",message:"notification__message",action:"notification__actions"},message:(0,r.jsxs)("div",{className:"notification__message__content",children:[c,(0,r.jsx)("div",{className:(0,nt.W)("notification__message__content__text",{"notification__message__content__text--expanded":i}),onClick:d,title:"Click to Copy",children:o})]}),action:[(0,r.jsx)("button",{className:"notification__action",onClick:()=>s(!i),tabIndex:-1,title:i?"Collapse":"Expand",children:i?(0,r.jsx)(Xt,{}):(0,r.jsx)(zt,{})},"expand"),(0,r.jsx)("button",{className:"notification__action",onClick:u,tabIndex:-1,title:"Dismiss",children:(0,r.jsx)(Rt,{})},"close")]})},"string"==typeof o||"number"==typeof o?o:"")}));var sn=n(7954);const cn=e=>{const{children:t,classes:n,...o}=e;return(0,r.jsx)(sn.Z,{classes:{...n??{},paper:"mui-menu__paper",list:"mui-menu__list"},transitionDuration:0,...o,children:e.children})},un=e=>{const{className:t,children:n,menuProps:o,content:a,disabled:i,onClose:s,onOpen:c}=e,u=(0,gt.useRef)(null),[d,l]=(0,gt.useState)(!1),[g,p]=(0,gt.useState)(),[m,f]=(0,gt.useState)(0),[h,E]=(0,gt.useState)(0),_=()=>{p(void 0),l(!1),E(0),f(0)},b=e=>{e.stopPropagation(),e.preventDefault(),_(),s?.()},T=e=>{if(e.stopPropagation(),e.preventDefault(),!i&&(c?.(),u.current)){const t=u.current.getBoundingClientRect(),n=t.left+(window.scrollX||document.documentElement.scrollLeft),r=t.top+(window.scrollY||document.documentElement.scrollTop),{clientX:o,clientY:a,target:i}=e,c=i;if(g!==c&&!(document.elementsFromPoint(o,a).some((e=>e===c))&&n<=o&&o<=n+t.width&&r<=a&&a<=r+t.height))return _(),void s?.();p(c),l(!0),E(a),f(o)}};return(0,r.jsxs)("div",{ref:u,className:t,onContextMenu:T,children:[n,(0,r.jsx)(cn,{open:d,anchorPosition:{left:m,top:h},onClose:b,anchorReference:"anchorPosition",BackdropProps:{invisible:!0,onContextMenu:T},disableRestoreFocus:!0,transitionDuration:0,onClick:b,...o,children:d&&a},`${m}, ${h}`)]})},dn=(0,gt.forwardRef)((function(e,t){const{className:n,children:o,...a}=e;return(0,r.jsx)("div",{ref:t,className:(0,nt.W)("menu",n),...a,children:o})})),ln=e=>{const{className:t,onClick:n,title:o,disabled:a,children:i,...s}=e;return(0,r.jsx)("button",{className:(0,nt.W)("menu__item",t),disabled:Boolean(a),title:o,onClick:n,...s,children:i})};rt("MenuContentDivider","menu__divider"),rt("MenuContentItemIcon","menu__item__icon"),rt("MenuContentItemLabel","menu__item__label");var gn=n(8725),pn=n(2479),mn=n(2801);const fn=e=>((0,gt.useEffect)((()=>{mn.L.initialize({startOnLoad:!0,theme:"dark"}),mn.L.contentLoaded()}),[e.value]),(0,r.jsx)(gn.U,{className:(0,nt.W)("markdown-content",e.className),remarkPlugins:[pn.Z],components:e.components??{code:e=>{const{children:t,className:n,node:o,...a}=e,i=/language-(?<language>\w+)/.exec(n??"");return i?.groups?.language?(0,r.jsx)("code",{...a,className:(0,nt.W)(i.groups.language),children:t}):(0,r.jsx)("code",{...a,className:n,children:t})}},children:e.value.value}));var hn=n(2515);const En=e=>{const{children:t}=e,{ref:n,width:o,height:a}=(0,hn.NB)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}}),[i,s]=(0,gt.useState)(!1),{ref:c,width:u,height:d}=(0,hn.NB)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}});return(0,gt.useEffect)((()=>{s((u??0)>(o??0)+40&&(d??0)>(a??0)+40)}),[u,d,o,a]),(0,r.jsx)("div",{ref:c,className:"panel__content__blank",children:(0,r.jsx)("div",{ref:n,className:(0,nt.W)("panel__content__blank__content",{"panel__content__blank__content--hide":!i}),children:t})})};var _n=n(5688),bn=n(4843),Tn=n(4008);const An=e=>{const{children:t,options:n,size:o,className:a,...i}=e,s=((e,t)=>{const n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n})(n,o);return(0,r.jsxs)("div",{className:(0,nt.W)("mui-radio-group",a),children:[s.map(((e,t)=>(0,r.jsx)("div",{children:(0,r.jsx)(_n.Z,{className:"mui-radio-group__group",...i,children:e.map((e=>(0,r.jsx)(bn.Z,{className:"mui-radio-group__group__column",style:{width:100/o+"%"},value:e,control:(0,r.jsx)(Tn.Z,{className:"mui-radio-group__group__item__radio-btn"}),label:(0,r.jsx)("div",{className:"mui-radio-group__group__item__label",children:e})},e)))})},t))),t]})};var yn=n(948);const Sn=e=>{const{children:t,...n}=e;return(0,r.jsx)(yn.ZP,{classes:{paper:"mui-popover__paper"},transitionDuration:0,...n,children:e.children})};var Cn,Nn=n(1327),In=n(8372),vn=n(6519);!function(e){e.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX="question.how-to-use-advanced-search-syntax"}(Cn||(Cn={}));const kn=(0,Qe.Pi)((e=>{const{entry:t}=e,n=mt(),o=()=>{t.isOpen||Te.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey}),t.setIsOpen(!t.isOpen)},a=n.guardUnhandledError((()=>n.clipboardService.copyTextToClipboard(t.documentationKey)));return(0,r.jsx)(un,{className:"virtual-assistant__doc-entry",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsx)(dn,{children:(0,r.jsx)(ln,{onClick:a,children:"Copy Documentation Key"})}),children:(0,r.jsxs)("div",{className:"virtual-assistant__doc-entry",children:[(0,r.jsxs)("div",{className:"virtual-assistant__doc-entry__header",children:[(0,r.jsx)("button",{className:(0,nt.W)("virtual-assistant__doc-entry__expand-icon",{"virtual-assistant__doc-entry__expand-icon--disabled":!t.content}),disabled:!t.content,tabIndex:-1,onClick:o,children:t.isOpen?(0,r.jsx)(Xt,{}):(0,r.jsx)(Qt,{})}),t.url?(0,r.jsx)("a",{className:"virtual-assistant__doc-entry__title virtual-assistant__doc-entry__title--link",rel:"noopener noreferrer",target:"_blank",href:t.url,onClick:()=>{Te.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey})},title:"Click to see external documentation",children:t.title}):(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__title",onClick:o,children:t.title})]}),t.isOpen&&t.content&&(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__content",children:y(t.content)?(0,r.jsx)("div",{className:"virtual-assistant__doc-entry__content__text",children:t.content}):(0,r.jsx)(fn,{className:"virtual-assistant__doc-entry__content__markdown-text",value:t.content})})]})})})),Rn=(0,Qe.Pi)((()=>{const e=mt(),t=e.assistantService.currentContextualDocumentationEntry,n=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(t?.context??""))),o=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.currentContext?.key??""))),a=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.contextStack.map((e=>e.key)).join(" > "))));return(0,r.jsxs)(un,{className:"virtual-assistant__contextual-support",disabled:!t,menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:n,children:"Copy Context ID"}),(0,r.jsx)(ln,{onClick:o,children:"Copy Current Context ID"}),(0,r.jsx)(ln,{onClick:a,children:"Copy Context Stack"})]}),children:[t&&(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__content",children:[t.title&&(0,r.jsx)("div",{className:"virtual-assistant__contextual-support__title",children:t.title}),t.content&&(0,r.jsx)(r.Fragment,{children:y(t.content)?(0,r.jsx)("div",{className:"virtual-assistant__contextual-support__text",children:t.content}):(0,r.jsx)(fn,{className:"virtual-assistant__contextual-support__markdown-text",value:t.content})}),t.related.length&&(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries",children:[(0,r.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries__title",children:["Related entries (",t.related.length,")"]}),t.related.map((e=>(0,r.jsx)(kn,{entry:e},e.uuid)))]})]}),!t&&(0,r.jsx)(En,{children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,r.jsx)(Wt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No contextual documentation found!"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__instruction",children:"Keep using the app. When contextual help is available, we will let you know!"})]})})]})})),On=(0,Qe.Pi)((()=>{const e=mt(),t=(0,gt.useRef)(null),n=e.assistantService,o=n.searchText,a=(0,gt.useMemo)((()=>(0,In.Z)((()=>n.search()),100)),[n]);return(0,gt.useEffect)((()=>{t.current?.focus()}),[]),(0,r.jsxs)("div",{className:"virtual-assistant__search",children:[(0,r.jsxs)("div",{className:"virtual-assistant__search__header",children:[(0,r.jsx)("input",{ref:t,onClick:()=>{document.querySelectorAll('[role="dialog"]').length&&t.current!==document.activeElement&&n.refreshPanelRendering()},className:(0,nt.W)("virtual-assistant__search__input input--dark",{"virtual-assistant__search__input--searching":o}),spellCheck:!1,onChange:e=>{n.setSearchText(e.target.value),a()},value:o,placeholder:"Ask me a question"}),o&&(0,r.jsx)("div",{className:"virtual-assistant__search__input__search__count",children:n.searchResults.length+(n.isOverSearchLimit?"+":"")}),(0,r.jsx)("button",{className:(0,nt.W)("virtual-assistant__search__input__config__trigger",{"virtual-assistant__search__input__config__trigger--toggled":n.showSearchConfigurationMenu,"virtual-assistant__search__input__config__trigger--active":n.searchConfigurationState.isAdvancedSearchActive}),tabIndex:-1,onClick:()=>n.setShowSearchConfigurationMenu(!n.showSearchConfigurationMenu),title:(n.searchConfigurationState.isAdvancedSearchActive?"Advanced search is currently active\n":"")+"Click to toggle search config menu",children:(0,r.jsx)(Ft,{})}),o?(0,r.jsx)("button",{className:"virtual-assistant__search__input__clear-btn",tabIndex:-1,onClick:()=>{n.resetSearch(),n.currentDocumentationEntry=void 0,t.current?.focus()},title:"Clear",children:(0,r.jsx)(Rt,{})}):(0,r.jsx)("div",{className:"virtual-assistant__search__input__search__icon",children:(0,r.jsx)(Mt,{})})]}),(0,r.jsxs)("div",{className:"virtual-assistant__search__content",children:[(0,r.jsx)(bt,{isLoading:n.searchState.isInProgress}),(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__search__input__config__panel",{"virtual-assistant__search__input__config__panel--toggled":n.showSearchConfigurationMenu}),children:(0,r.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel",children:[(0,r.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel__header__label",children:["search config",e.documentationService.hasDocEntry(Cn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX)&&(0,r.jsx)("div",{onClick:()=>n.openDocumentationEntryLink(Cn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX),title:"Click to see documentation",className:"virtual-assistant__search__input__advanced-config__panel__header__label__hint",children:(0,r.jsx)(wt,{})})]}),(0,r.jsx)("div",{children:(0,r.jsx)(An,{value:n.searchConfigurationState.currentMode,onChange:e=>{const t=e.target.value;n.searchConfigurationState.setCurrentMode(t)},row:!1,options:[ge.STANDARD,ge.INCLUDE,ge.EXACT,ge.INVERSE],size:1})})]})}),n.currentDocumentationEntry&&(0,r.jsx)("div",{className:"virtual-assistant__search__results",children:(0,r.jsx)(kn,{entry:n.currentDocumentationEntry},n.currentDocumentationEntry.uuid)}),!n.currentDocumentationEntry&&(0,r.jsxs)(r.Fragment,{children:[Boolean(n.searchResults.length)&&(0,r.jsx)("div",{className:"virtual-assistant__search__results",children:n.searchResults.map((e=>(0,r.jsx)(kn,{entry:e},e.uuid)))}),o&&!n.searchResults.length&&(0,r.jsx)(En,{children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,r.jsx)(qt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,r.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No result..."})]})}),!o&&!n.searchResults.length&&(0,r.jsx)(un,{className:"virtual-assistant__character__container",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:()=>{K(`documentation-registry_${(0,vn.Z)(new Date(Date.now()),Fe)}.json`,JSON.stringify(e.documentationService.publishDocRegistry(),void 0,2),D.APPLICATION_JSON)},children:"Download documentation registry"}),(0,r.jsx)(ln,{onClick:()=>{K(`documentation-registry_${(0,vn.Z)(new Date(Date.now()),Fe)}.json`,JSON.stringify(e.documentationService.publishContextualDocIndex(),void 0,2),D.APPLICATION_JSON)},children:"Download contextual documentation mapping"})]}),children:(0,r.jsxs)("div",{className:"virtual-assistant__character",children:[(0,r.jsxs)("div",{className:"virtual-assistant__character__figure",children:[(0,r.jsx)(Yt,{className:"virtual-assistant__character__hat"}),(0,r.jsx)(Jt,{className:"virtual-assistant__character__glasses"}),(0,r.jsx)($t,{className:"virtual-assistant__character__beard"})]}),(0,r.jsx)("div",{className:"virtual-assistant__character__greeting",children:"Bonjour, It's Pierre!"}),(0,r.jsx)("div",{className:"virtual-assistant__character__question",children:"How can I help today?"})]})})]})]})]})})),Fn=(0,Qe.Pi)((e=>{const{triggerElement:t}=e,n=mt(),o=n.assistantService,a=o.currentContextualDocumentationEntry,i=o.selectedTab,s=n.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraVirtualAssistantViewConfigurations?.()??[])),c=s.find((e=>e.key===i));return(0,r.jsx)(Sn,{open:o.isOpen,className:"virtual-assistant__panel__container",anchorEl:t,hideBackdrop:!0,PaperProps:{classes:{root:"virtual-assistant__panel__container__root"}},disableEnforceFocus:!0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"},children:(0,r.jsxs)("div",{className:(0,nt.W)("virtual-assistant__panel",{"virtual-assistant__panel--maximized":o.isPanelMaximized}),tabIndex:0,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[(0,r.jsxs)("div",{className:"virtual-assistant__panel__header",children:[(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__tabs",children:[(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===pe.SEARCH}),onClick:()=>o.setSelectedTab(pe.SEARCH),title:"Search",children:(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:(0,r.jsx)(Mt,{})})}),(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===pe.CONTEXTUAL_SUPPORT}),onClick:()=>o.setSelectedTab(pe.CONTEXTUAL_SUPPORT),title:"Contextual Support",children:(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__tab__content",children:[(0,r.jsx)(Kt,{}),a&&(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__indicator",title:"Contextual support available"})]})}),s.map((e=>(0,r.jsx)("div",{className:(0,nt.W)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":i===e.key}),onClick:()=>{o.setSelectedTab(e.key),e.autoExpandOnOpen&&o.setIsPanelMaximized(!0)},title:e.title,children:(0,r.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:e.icon??(0,r.jsx)(wt,{})})},e.key)))]}),(0,r.jsxs)("div",{className:"virtual-assistant__panel__header__actions",children:[(0,r.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsPanelMaximized(!o.isPanelMaximized),title:o.isPanelMaximized?"Minimize":"Maximize",children:o.isPanelMaximized?(0,r.jsx)(Ht,{}):(0,r.jsx)(Vt,{})}),(0,r.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsOpen(!1),title:"Close",children:(0,r.jsx)(vt,{className:"virtual-assistant__panel__icon__close"})})]})]}),(0,r.jsxs)("div",{className:"virtual-assistant__panel__content",children:[i===pe.SEARCH&&(0,r.jsx)(On,{}),i===pe.CONTEXTUAL_SUPPORT&&(0,r.jsx)(Rn,{}),c?.renderer()]})]})},o.panelRenderingKey)})),Bn=(0,Qe.Pi)((()=>{const[e,t]=(0,gt.useState)(!1),[n,o]=(0,gt.useState)((0,a.Z)()),i=mt(),s=(0,gt.useRef)(null),c=i.assistantService,u=c.currentContextualDocumentationEntry,d=()=>{!c.isOpen&&u&&c.setSelectedTab(pe.CONTEXTUAL_SUPPORT),c.setIsOpen(!c.isOpen)};return(0,gt.useEffect)((()=>{c.isHidden&&o((0,a.Z)())}),[c.isHidden]),(0,r.jsx)(Nn,{bounds:"parent",onStart:()=>t(!0),onStop:()=>t(!1),handle:".virtual-assistant__station__drag-handle",children:(0,r.jsxs)("div",{className:"virtual-assistant",ref:s,children:[(0,r.jsxs)("div",{className:(0,nt.W)("virtual-assistant__station",{"virtual-assistant__station--hidden":c.isHidden,"virtual-assistant__station--active":Boolean(u)}),children:[(0,r.jsx)("button",{className:"virtual-assistant__station__hide-button",title:"Hide assistant",onClick:()=>{i.assistantService.toggleAssistant()},children:(0,r.jsx)(xt,{})}),(0,r.jsx)("button",{className:"virtual-assistant__station__trigger",tabIndex:-1,onClick:d,title:c.isOpen?"Click to close assistant panel":(u?"Contextual support available.\n":"")+"Click to open Assistant...",children:(0,r.jsxs)("div",{className:"virtual-assistant__station__character",children:[(0,r.jsx)(Yt,{className:"virtual-assistant__station__character__hat"}),(0,r.jsx)(Jt,{className:"virtual-assistant__station__character__glasses"}),(0,r.jsx)($t,{className:"virtual-assistant__station__character__beard"})]})}),(0,r.jsx)("div",{className:"virtual-assistant__station__label",onClick:d,children:"Assistant"}),(0,r.jsx)(un,{className:(0,nt.W)("virtual-assistant__station__drag-handle",{"virtual-assistant__station__drag-handle--dragging":e}),menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,r.jsxs)(dn,{children:[(0,r.jsx)(ln,{onClick:()=>{c.setIsOpen(!1),o((0,a.Z)())},children:"Reset Position"}),(0,r.jsx)(ln,{onClick:()=>i.assistantService.hideAssistant(),children:"Hide Assistant"})]}),children:(0,r.jsx)("div",{className:"virtual-assistant__station__drag-handle__content",title:e?void 0:"Grab to drag assistant",children:(0,r.jsx)(kt,{})})})]},u?.uuid??""),!e&&c.isOpen&&!c.isHidden&&s.current&&(0,r.jsx)(Fn,{triggerElement:s.current})]})},n)}));var Ln;!function(e){e.TOP_LEVEL_CONTAINER="application.top-level-container",e.BACKDROP_CONTAINER="application.backdrop-container"}(Ln||(Ln={}));const wn=["Meta+KeyP","Control+KeyP","Meta+KeyS","Control+KeyS","F8","F10","F11","Meta+Shift+KeyP","Control+Backquote","Control+Shift+KeyN","Control+Shift+KeyP","Meta+KeyB","Control+KeyB","F7","Alt+F7","Control+Shift+KeyB","Alt+KeyZ"],Pn=e=>(0,r.jsx)("div",{className:"backdrop__container","data-elementid":e.elementId}),Dn=(0,Qe.Pi)((e=>{const{children:t}=e,n=mt(),o=((e,t)=>{const n={};return e.forEach(((e,r)=>{e.length&&(n[r]={combinations:e,handler:t})})),n.INTERNAL__PLATFORM_NATIVE_KEYBOARD_COMMAND={combinations:wn,handler:(e,t)=>{t.preventDefault()}},n})(n.keyboardShortcutsService.commandKeyMap,((e,t)=>{wn.includes(e)&&t.preventDefault(),n.keyboardShortcutsService.dispatch(e)}));return(0,gt.useEffect)((()=>{const e=function(e){const t=new Map;let n=null;return r=>{r instanceof KeyboardEvent&&((0,Me.Z)(Object.values(e).flatMap((e=>e.combinations.map((t=>({combination:t,handler:e.handler}))))).filter((e=>e.combination.length)),(e=>e.combination)).forEach((e=>{const n=e.combination,o=He(e.combination);if(!o.length)return;const a=t.get(n)??o,i=_(a[0]);Ve(r,i)?a.length>1?t.set(n,a.slice(1)):(t.delete(n),e.handler(n,r)):r.getModifierState(r.key)||t.delete(n)})),n&&clearTimeout(n),n=setTimeout(t.clear.bind(t),1e3))}}(o);return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[o]),(0,gt.useEffect)((()=>{const e=()=>{document.hidden&&(Te.logEvent_ApplicationUsageInterrupted(n.telemetryService),n.timeService.recordUsageInterruption())};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}}),[n]),(0,r.jsxs)(Je,{children:[(0,r.jsx)(Tt,{}),(0,r.jsx)(_t,{}),(0,r.jsx)(an,{}),(0,r.jsx)(Bn,{}),n.layoutService.showBackdrop&&(0,r.jsx)(Xe.h,{container:n.layoutService.getElementByID(n.layoutService.backdropContainerElementID??Ln.BACKDROP_CONTAINER)??null,children:(0,r.jsx)(ze.Z,{className:"backdrop",open:n.layoutService.showBackdrop})}),(0,r.jsx)(Ze.W,{backend:et.PD,children:(0,r.jsxs)("div",{className:"app__container","data-elementid":Ln.TOP_LEVEL_CONTAINER,onContextMenu:e=>{e.stopPropagation(),e.preventDefault()},children:[(0,r.jsx)(Pn,{elementId:Ln.BACKDROP_CONTAINER}),t]})})]})})),Mn={foreground:"#cccccc",background:"#1e1e1e",cursor:"#cccccc",selectionBackground:"#264f78",black:"#000000",red:"#cd3131",green:"#0dbc79",yellow:"#e5e510",blue:"#2472c8",magenta:"#bc3fbc",cyan:"#11a8cd",white:"#e5e5e5",brightBlack:"#666666",brightRed:"#f14c4c",brightGreen:"#23d18b",brightYellow:"#f5f543",brightBlue:"#3b8eea",brightMagenta:"#d670d6",brightCyan:"#29b8db",brightWhite:"#e5e5e5"},xn={matchOverviewRuler:"#d186167e",activeMatchColorOverviewRuler:"#A0A0A0CC",matchBackground:"#62331c",activeMatchBackground:"#515C6A"},jn=`\n${Be.BOLD}${Be.BRIGHT_BLUE}$purist${Be.RESET}\n${Be.BOLD}${Be.MAGENTA}❯${Be.RESET} `,Un="❯ ";class Gn extends De{instance;resizer;renderer;searcher;webLinkProvider;_TEMPORARY__onKeyListener;_TEMPORARY__onDataListener;command="";commandHistory=[];currentCommandSearchString="";commandHistoryNavigationIdx=void 0;isRunningCommand=!1;setupState=se.create();constructor(e){super(e),this.instance=new Ce.Terminal({allowProposedApi:!0,fontSize:12,letterSpacing:2,fontWeight:400,fontWeightBold:700,fontFamily:`"${Oe}", Menlo, Consolas, monospace`,tabStopWidth:2,theme:Mn,overviewRulerWidth:14,scrollback:1e5,convertEol:!0,scrollOnUserInput:!1}),this.resizer=new Ie.FitAddon,this.searcher=new ve.SearchAddon,this.renderer=new Re.WebglAddon}setup(e){if(this.setupState.hasCompleted)throw new l("Terminal is already set up");this.setupState.complete(),this.renderer.onContextLoss((()=>{this.renderer.dispose()})),this.instance.loadAddon(this.resizer),this.instance.loadAddon(this.searcher),this.instance.loadAddon(this.renderer),this.instance.loadAddon(new ke.Unicode11Addon),this.instance.unicode.activeVersion="11",this.instance.attachCustomKeyEventHandler((e=>Ke(e,"Control+KeyF")||Ke(e,"Meta+KeyF")?(e.preventDefault(),e.stopPropagation(),this.searchConfig.focus(),!1):!(Ke(e,"Control+KeyC")&&this.instance.hasSelection()||Ke(e,"Control+KeyV")))),this.webLinkProvider=e?.webLinkProvider?new Ne.WebLinksAddon(e.webLinkProvider.handler,{urlRegex:e.webLinkProvider.regex}):new Ne.WebLinksAddon,this.instance.loadAddon(this.webLinkProvider),(e?.commands??[]).forEach((e=>{[e.command,...e.aliases??[]].forEach((t=>{this.commandRegistry.has(t)?this.applicationStore.logService.warn(q.create(W.TERMINAL_COMMAND_CONFIGURATION_CHECK__FAILURE),`Found multiple duplicated terminal commands '${t}'`):this.commandRegistry.set(t,e)}))})),this.searcher.onDidChangeResults((e=>{this.setSearchResultCount(e.resultCount),this.setSearchCurrentResultIndex(e.resultIndex)})),this._TEMPORARY__onKeyListener=this.instance.onKey((({key:e,domEvent:t})=>{var n,r;if("ArrowUp"!==t.code)if("ArrowDown"!==t.code)if(this.commandHistoryNavigationIdx=void 0,"Enter"===t.code){if(this.command.trim()){const e=this.command,[t,...n]=e.replaceAll(/\s+/g," ").split(" ");if(this.addCommandToHistory(this.command),!t)return;const r=this.commandRegistry.get(t);if(!r)return void this.fail(`command not found: ${t}`);if(this.isRunningCommand)return;this.isRunningCommand=!0,r.handler(n.map((e=>e.trim())),t,e).catch((()=>{})).finally((()=>{this.isRunningCommand=!1,this.isFlushed||this.abort()}))}}else if(Ke(t,"Control+KeyD")||Ke(t,"Control+KeyC")&&!this.instance.hasSelection())this.abort();else if("Backspace"===t.code)this.deleteFromCommand(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!0):-1);else if("Delete"===t.code)this.deleteFromCommand(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!1):1);else if("ArrowLeft"===t.code){const e=this.computeCursorMovement(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!0):-1);this.instance.scrollLines(e.scroll),this.instance.write(e.seq)}else if("ArrowRight"===t.code){const e=this.computeCursorMovement(t.altKey||t.ctrlKey?this.computeCursorJumpMovement(!1):1);this.instance.scrollLines(e.scroll),this.instance.write(e.seq)}else e.match(/^[A-Za-z0-9!@#$%^&*()\-_=+"':;,.<>/?[\]{}|\\~` ]$/)?this.writeToCommand(e):(n=t,r=this.applicationStore,r.layoutService.getElementByID(Ln.TOP_LEVEL_CONTAINER)?.dispatchEvent(new KeyboardEvent(n.type,n)));else void 0!==this.commandHistoryNavigationIdx&&this.setCommandFromHistory(0===this.commandHistoryNavigationIdx?void 0:this.commandHistoryNavigationIdx-1);else this.setCommandFromHistory(void 0!==this.commandHistoryNavigationIdx?this.commandHistoryNavigationIdx+1:0)})),this._TEMPORARY__onDataListener=this.instance.onData((e=>{e.length>1&&!e.startsWith("")&&this.writeToCommand(e.replaceAll(/[^A-Za-z0-9!@#$%^&*()\-_=+"':;,.<>/?[\]{}|\\~` ]/g,"").trimEnd())}))}getCommandRange(){const e=this.instance.buffer.active,t=this.instance.cols,n=`${Un}${this.command}`,r=`${Un}${this.command.substring(0,t-2)}${this.command.length<t-2?" ".repeat(t-this.command.length-2):""}`;let o=0,a=0;for(let n=e.baseY+e.cursorY;n>-1;--n){if(_(e.getLine(n)).translateToString()===r){o=n,a+=(n===e.baseY+e.cursorY?e.cursorX:t)-2;break}a+=n===e.baseY+e.cursorY?e.cursorX:t}return{startY:o,startX:2,endY:o+(n.length-n.length%t)/t,endX:n.length%t,cursorIdx:a}}computeCursorJumpMovement(e){const t=this.getCommandRange();let n,r=!1;if(e){for(let e=t.cursorIdx-1;e>-1;--e)if(this.command.charAt(e).match(/\w/))r||(r=!0);else if(r){n=t.cursorIdx-e-1;break}}else for(let e=t.cursorIdx+1;e<this.command.length;++e)if(this.command.charAt(e).match(/\w/))r||(r=!0);else if(r){n=e-t.cursorIdx-1;break}return void 0===n&&(n=e?t.cursorIdx:this.command.length-t.cursorIdx),e?-n:n}computeCursorMovement(e,t=!0){const n=this.instance.buffer.active,r=this.instance.cols,o=this.instance.rows,a=this.getCommandRange(),i=t?e<0?a.cursorIdx:this.command.length-a.cursorIdx:e,s=Math.min(Math.abs(e),i);let c=n.cursorX,u=n.cursorY,d=n.baseY+n.cursorY;e<0?(c=(r+(n.cursorX-s)%r)%r,u=n.cursorY-(s>n.cursorX?Math.ceil(s/r):0),d=u+n.baseY,u=Math.max(u,-1)):e>0&&(c=(n.cursorX+s)%r,u=n.cursorY+(n.cursorX+s>=r?Math.floor((n.cursorX+s)/r):0),d=u+n.baseY,u=Math.min(u,o-1));const l=d>n.viewportY+o?d-(n.viewportY+o):d<n.viewportY?d-n.viewportY:0;return{seq:Le(u+1,c+1),scroll:l}}writeToCommand(e){const t=this.getCommandRange(),n=this.command.slice(0,t.cursorIdx),r=this.command.slice(t.cursorIdx),o=this.computeCursorMovement(e.length,!1);this.instance.scrollLines(o.scroll),this.instance.write(e+r+o.seq),this.setCommand(n+e+r)}deleteFromCommand(e){const t=this.getCommandRange(),n=e<0?t.cursorIdx:this.command.length-t.cursorIdx,r=Math.min(Math.abs(e),n);let o,a,i;if(0===e)return;e<0?(o=this.command.slice(0,t.cursorIdx-r),a=this.command.slice(t.cursorIdx,this.command.length),i=-r):(o=this.command.slice(0,t.cursorIdx),a=this.command.slice(t.cursorIdx+r,this.command.length),i=0);const s=this.computeCursorMovement(i);this.instance.scrollLines(s.scroll),this.instance.write(Le(t.startY+1,t.startX+1)+o+a+" ".repeat(r)+s.seq),this.setCommand(o+a)}get isSetup(){return this.setupState.hasCompleted}isFocused(){return document.activeElement===this.instance.textarea}mount(e){if(!this.setupState.hasCompleted)throw new l("XTerm terminal has not been set up yet");this.instance.open(e)}dispose(){this.searcher.dispose(),this.resizer.dispose(),this.renderer.dispose(),this.webLinkProvider?.dispose(),this._TEMPORARY__onKeyListener?.dispose(),this._TEMPORARY__onDataListener?.dispose(),this.instance.dispose()}autoResize(){this.resizer.fit()}focus(){this.instance.focus()}addCommandToHistory(e){e!==this.commandHistory.at(0)&&this.commandHistory.unshift(e)}setCommandFromHistory(e){const t=void 0===e?this.currentCommandSearchString:this.commandHistory.filter((e=>e.startsWith(this.currentCommandSearchString))).at(e);if(void 0!==t){let n=this.getCommandRange();this.instance.write(Le(n.startY+1,n.startX+1)+t.padEnd(this.command.length)),this.command=t,n=this.getCommandRange(),this.instance.write(Le(n.endY+1,n.endX+1)),this.commandHistoryNavigationIdx=e}}setCommand(e){this.command=e,this.currentCommandSearchString=e,this.commandHistoryNavigationIdx=void 0}newCommand(){this.instance.write(jn),this.setCommand("")}newSystemCommand(e){this.isRunningCommand||(this.command&&(this.abort(),this.newCommand()),this.instance.write(`${Be.DIM}(system: ${e})\n${Be.RESET}`))}flushScreen(){this.instance.write("c"),this.instance.reset()}get isFlushed(){const e=this.instance.buffer.active;let t=!0;for(let n=e.baseY+e.cursorY;n>-1;--n){const r=_(e.getLine(n)).translateToString();if(r.trim()){t=r!==Un;break}}return""===this.command&&t}clear(){this.flushScreen(),this.instance.scrollToTop(),this.newCommand()}resetANSIStyling(){this.instance.write(Be.RESET)}showHelp(){var e;this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write((e=this.commandRegistry,`\n${Be.BRIGHT_BLACK}+-------------------------------------------------------+${Be.RESET}\n${Be.BRIGHT_BLACK}|${Be.RESET} ${Be.BRIGHT_GREEN}[@@]${Be.RESET} "Hi! Welcome to the HELP menu of Pure IDE" ${Be.BRIGHT_BLACK}|${Be.RESET}\n${Be.BRIGHT_BLACK}|${Be.RESET} ${Be.BRIGHT_GREEN}/|__|\\${Be.RESET} ${Be.BRIGHT_BLACK}|${Be.RESET}\n${Be.BRIGHT_BLACK}+--${Be.RESET} ${Be.BRIGHT_GREEN}d b${Be.RESET} ${Be.BRIGHT_BLACK}-----------------------------------------------+${Be.RESET}\n\nFollowing is the list of supported commands:\n\n${(0,Me.Z)(Array.from(e.values()),(e=>e.command)).map((e=>`${Be.BRIGHT_GREEN}${e.command.padEnd(30)}${Be.RESET}${e.description}${e.aliases?.length?`\n${"".padEnd(30)}Aliases: ${e.aliases.join(", ")}`:""}\n${"".padEnd(30)}Usage: ${Be.DIM}${e.usage}${Be.RESET}`)).join("\n")}`)),this.abort()}showCommonANSIEscapeSequences(){this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write(`\nCommon ANSI Escape Sequences for Styling:\n\n${Object.entries(Be).map((([e,t])=>`${t}${(e=>e?e.trim().match(/^[A-Z_]+$/)?Ue(e.trim().replace(/_+/gu," ").toLowerCase()):xe(e.trim()).split(/(?<chunk>[A-Z][a-z]+|[0-9]+)/).map((e=>e.toUpperCase()===e?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).filter(Boolean).join(" ").replace(/_+/gu," ").replace(/\s+/gu," "):"")(e).padEnd(20)}${Be.RESET} ${t.replace("","\\u001b")}`)).join("\n")}`),this.abort()}abort(){this.resetANSIStyling(),this.instance.write("\n"),this.newCommand(),this.instance.scrollToBottom(),this.isRunningCommand=!1}fail(e,t){t?.systemCommand&&this.newSystemCommand(t.systemCommand),this.instance.write(`\n${Be.RED}${e}${Be.RED}`),this.abort()}output(e,t){this.resetANSIStyling(),t?.clear&&!this.preserveLog||!t?.systemCommand||this.newSystemCommand(t.systemCommand),!this.preserveLog&&t?.clear?this.flushScreen():(this.preserveLog||this.isRunningCommand)&&this.instance.write("\n"),this.instance.write(e),this.resetANSIStyling(),this.instance.write("\n"),this.instance.scrollToBottom(),this.newCommand()}search(e){this.searcher.findNext(e,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive,incremental:!0})}clearSearch(){this.searcher.clearDecorations(),this.instance.clearSelection(),this.setSearchText(""),this.setSearchResultCount(void 0),this.setSearchCurrentResultIndex(void 0)}findPrevious(){this.searcher.findPrevious(this.searchConfig.searchText,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}findNext(){this.searcher.findNext(this.searchConfig.searchText,{decorations:xn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}getContent(){const e=this.instance.buffer.active,t=[];for(let n=0;n<e.length;++n){const r=_(e.getLine(n));t.push(r.translateToString())}return t.join("\n").trimEnd()}copy(){this.instance.hasSelection()?this.applicationStore.clipboardService.copyTextToClipboard(this.instance.getSelection()).catch(this.applicationStore.alertUnhandledError):this.applicationStore.notificationService.notifyWarning("Ther terminal has no selection to copy")}copyAll(){this.applicationStore.clipboardService.copyTextToClipboard(this.getContent()).catch(this.applicationStore.alertUnhandledError)}}class Hn{applicationStore;terminal;constructor(e){this.applicationStore=e,this.terminal=new Gn(e)}}const Vn="(unknown)";class Kn{applicationStore;currentUser=Vn;constructor(e){(0,ie.rC)(this,{currentUser:ie.LO,setCurrentUser:ie.aD}),this.applicationStore=e}get isAnonymous(){return this.currentUser===Vn}setCurrentUser(e){this.currentUser=e}}var Yn,Wn=n(7279);class qn{get localStorage(){return _(window.localStorage,"'window.localStorage' object is not available in non-web environment")}setItem(e,t){this.localStorage.setItem(e,t)}getItem(e){return this.localStorage.getItem(e)}removeItem(e){this.localStorage.removeItem(e)}clear(){this.localStorage.clear()}hasItem(e){return this.localStorage.hasItem(e)}}class $n{storeIndex;storageService;data;constructor(e,t){this.storageService=e,this.storeIndex=t,this.data=this.storageService.getIndex(this.storeIndex)??{}}getValue(e){return this.data[e]}getNumericValue(e){const t=this.getValue(e);return void 0!==t?v(t):void 0}getStringValue(e){const t=this.getValue(e);return void 0!==t?I(t):void 0}getBooleanValue(e){const t=this.getValue(e);return void 0!==t?k(t):void 0}getObjectValue(e){const t=this.getValue(e);return void 0!==t?((e,t="")=>(function(e,t=""){if(!N(e))throw new f(t||"Value is expected to be a object")}(e,t),e))(t):void 0}hasValue(e){return h(this.data[e])}persistValue(e,t){void 0!==t?this.data[e]=t:delete this.data[e],this.storageService.updateIndex(this.storeIndex,this.data)}}class Jn{applicationStore;storage;data;constructor(e){this.applicationStore=e,this.storage=new qn;const t=this.storage.getItem(e.config.applicationStorageKey);this.data=t?m((()=>JSON.parse(t)))??{}:{}}getIndex(e){return this.data[e]}updateIndex(e,t){(0,Wn.Z)(t)?delete this.data[e]:this.data[e]=t,this.storage.setItem(this.applicationStore.config.applicationStorageKey,JSON.stringify(this.data))}}class Xn{applicationStore;plugins=[];constructor(e){this.applicationStore=e}registerPlugins(e){this.plugins=e}setup(){const e={userId:this.applicationStore.identityService.currentUser,appName:this.applicationStore.config.appName,appEnv:this.applicationStore.config.env,appVersion:this.applicationStore.config.appVersion,appSessionId:this.applicationStore.uuid,appStartTime:this.applicationStore.timeService.timestamp};this.plugins.forEach((t=>t.setup(e)))}logEvent(e,t){this.plugins.forEach((n=>n.logEvent(e,t)))}}class zn{timestamp=Date.now();interruptions=[];recordUsageInterruption(){this.interruptions.push(Date.now())}finalizeTimingsRecord(e,t){const n=e.elapsed,r=e.startTime,o=r+n,a={...t??{},...Object.fromEntries(e.records),total:n};let i=0;for(const e of this.interruptions)if(e>=r&&e<=o)i++;else if(e>o)break;return i>0?{...a,__numberOfInteruptions:i}:a}}!function(e){e.DEFAULT_DARK="default-dark",e.LEGACY_LIGHT="legacy-light",e.HIGH_CONTRAST_LIGHT="hc-light"}(Yn||(Yn={}));const Qn={name:"Default Dark (default)",key:Yn.DEFAULT_DARK,TEMPORARY__globalCSSClassName:"theme__default-dark",colors:{"data-access-overview.chart.access-granted":"#6a9955","data-access-overview.chart.access-approved":"#007acc","data-access-overview.chart.access-requested":"#fbbc05","data-access-overview.chart.access-not-granted":"#ea4646","data-access-overview.chart.unsupported-access":"#2d2d2d"}},Zn={name:"Legacy Light",key:Yn.LEGACY_LIGHT,TEMPORARY__globalCSSClassName:"theme__legacy-light"},er={name:"High-Contrast Light",key:Yn.HIGH_CONTRAST_LIGHT,TEMPORARY__globalCSSClassName:"theme__hc-light",colors:{"data-access-overview.chart.access-granted":"#52a31d","data-access-overview.chart.access-approved":"#3d8df5","data-access-overview.chart.access-requested":"#f5c518","data-access-overview.chart.access-not-granted":"#fa5343","data-access-overview.chart.unsupported-access":"#e1e7ea"}};var tr;!function(e){e.COLOR_THEME="application.layout.colorTheme"}(tr||(tr={}));const nr={[tr.COLOR_THEME]:{defaultValue:Yn.DEFAULT_DARK}};class rr{applicationStore;backdropContainerElementID;showBackdrop=!1;colorThemeRegistry=new Map;currentColorTheme;constructor(e){(0,ie.rC)(this,{currentColorTheme:ie.LO.ref,TEMPORARY__isLightColorThemeEnabled:ie.Fl,backdropContainerElementID:ie.LO,showBackdrop:ie.LO,setBackdropContainerElementID:ie.aD,setShowBackdrop:ie.aD,setColorTheme:ie.aD}),this.applicationStore=e,this.colorThemeRegistry.set(Yn.DEFAULT_DARK,Qn),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraColorThemes?.()??[])).forEach((e=>{this.colorThemeRegistry.has(e.key)?this.applicationStore.logService.warn(q.create(W.COLOR_THEME_CONFIGURATION_CHECK__FAILURE),`Found duplicated color themes with key '${e.key}'`):this.colorThemeRegistry.set(e.key,e)}));const t=this.applicationStore.settingService.getStringValue(tr.COLOR_THEME)??Yn.DEFAULT_DARK;this.currentColorTheme=_(this.colorThemeRegistry.get(t)),this.TEMPORARY__syncGlobalCSSClassName(this.currentColorTheme,void 0)}getElementByID(e){return document.querySelector(`[data-elementid='${e}']`)??void 0}setBackdropContainerElementID(e){this.backdropContainerElementID=e}setShowBackdrop(e){this.showBackdrop=e}get TEMPORARY__isLightColorThemeEnabled(){return this.currentColorTheme.key!==Yn.DEFAULT_DARK}TEMPORARY__syncGlobalCSSClassName(e,t){t&&document.body.classList.remove(t.TEMPORARY__globalCSSClassName),document.body.classList.add(e.TEMPORARY__globalCSSClassName)}setColorTheme(e,t){const n=this.colorThemeRegistry.get(e);if(e===this.currentColorTheme.key||!n)return;const r=this.currentColorTheme;this.currentColorTheme=n,this.TEMPORARY__syncGlobalCSSClassName(n,r),t?.persist&&this.applicationStore.settingService.persistValue(tr.COLOR_THEME,e)}getColor(e){return this.currentColorTheme.colors?.[e]??_(this.colorThemeRegistry.get(Yn.DEFAULT_DARK)).colors?.[e]??"transparent"}}class or{applicationStore;constructor(e){this.applicationStore=e}async copyTextToClipboard(e,t){await navigator.clipboard.writeText(e).catch((e=>{this.applicationStore.notificationService.notifyError(e)})).finally((()=>{t?.notifySuccessMessage&&this.applicationStore.notificationService.notifySuccess(t.notifySuccessMessage)}))}}class ar{navigator;constructor(e){this.navigator=e}}var ir,sr=n(5741);class cr{applicationStore;storage;registry=new Map;constructor(e){this.applicationStore=e,this.storage=new $n(this.applicationStore.storageService,"application-settings-storage"),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraSettingConfigurationEntries?.()??[])).forEach((e=>{this.registry.has(e.key)?this.applicationStore.logService.warn(q.create(W.SETTING_CONFIGURATION_CHECK__FAILURE),`Found duplicated setting with key '${e.key}'`):this.registry.set(e.key,e)}))}getNumericValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(S(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve numeric value for setting '${e}'`)}getStringValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(y(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve string value for setting '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(C(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve boolean value for setting '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e)??this.registry.get(e)?.defaultValue;if(N(t))return t;this.applicationStore.logService.warn(q.create(W.SETTING_RETRIVE_FAILURE),`Can't retrieve object value for setting '${e}'`)}persistValue(e,t){const n=this.registry.get(e)?.defaultValue;this.storage.persistValue(e,void 0!==n&&(0,sr.Z)(n,t)?void 0:t)}}class ur{goToLocation(e,t){throw new g("Navigator does not support this operation")}reload(e){throw new g("Navigator does not support this operation")}goToAddress(e,t){throw new g("Navigator does not support this operation")}visitAddress(e){throw new g("Navigator does not support this operation")}generateAddress(e){throw new g("Navigator does not support this operation")}updateCurrentLocation(e){throw new g("Navigator does not support this operation")}updateCurrentZone(e){throw new g("Navigator does not support this operation")}resetZone(){throw new g("Navigator does not support this operation")}getCurrentBaseAddress(e){throw new g("Navigator does not support this operation")}getCurrentAddress(){throw new g("Navigator does not support this operation")}getCurrentLocation(){throw new g("Navigator does not support this operation")}getCurrentLocationParameters(){throw new g("Navigator does not support this operation")}getCurrentLocationParameterValue(e){throw new g("Navigator does not support this operation")}getCurrentZone(){throw new g("Navigator does not support this operation")}blockNavigation(e,t,n){throw new g("Navigator does not support this operation")}unblockNavigation(){throw new g("Navigator does not support this operation")}get isNavigationBlocked(){throw new g("Navigator does not support this operation")}INTERNAL__internalizeTransientParameter(e){throw new g("Navigator does not support this operation")}}class dr{applicationStore;storage;constructor(e){this.applicationStore=e,this.storage=new $n(this.applicationStore.storageService,"application-user-data-storage")}getNumericValue(e){const t=this.storage.getValue(e);if(S(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve numeric value for user data '${e}'`)}getStringValue(e){const t=this.storage.getValue(e);if(y(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve string value for user data '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e);if(C(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve boolean value for user data '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e);if(N(t))return t;this.applicationStore.logService.warn(q.create(W.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve object value for user data '${e}'`)}persistValue(e,t){this.storage.persistValue(e,t)}}class lr{uuid=(0,a.Z)();extensionStates=[];config;pluginManager;initState=se.create();platform;timeService;logService;storageService;userDataService;settingService;alertService;notificationService;identityService;commandService;keyboardShortcutsService;layoutService;clipboardService;terminalService;navigationService;navigationContextService;documentationService;assistantService;eventService;telemetryService;tracerService;constructor(e,t){this.config=e,this.pluginManager=t,this.timeService=new zn,this.logService=new $,this.logService.registerPlugins(t.getLoggerPlugins()),this.storageService=new Jn(this),this.settingService=new cr(this),this.userDataService=new dr(this),this.alertService=new lt(this),this.notificationService=new on,this.identityService=new Kn(this),this.layoutService=new rr(this),this.clipboardService=new or(this),this.terminalService=new Hn(this),this.commandService=new ye(this),this.keyboardShortcutsService=new Se(this),this.navigationService=new ar(new ur),this.navigationContextService=new Ae(this),this.documentationService=new re(this),this.assistantService=new _e(this),this.eventService=new be,this.eventService.registerEventNotifierPlugins(t.getEventNotifierPlugins()),this.telemetryService=new Xn(this),this.telemetryService.registerPlugins(t.getTelemetryServicePlugins()),this.telemetryService.setup(),this.tracerService=new ue,this.tracerService.registerPlugins(t.getTracerServicePlugins()),this.extensionStates=this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationExtensionStateBuilders?.()??[])).map((e=>e(this))).filter(h)}async initialize(e){if(this.initState.isInInitialState){this.initState.inProgress();try{if(this.platform)throw new l("Platform is already configured");this.platform=e,this.navigationService=new ar(e.getNavigator()),await e.initialize(),this.initState.pass()}catch(e){p(e),this.notificationService.notifyError(e),this.logService.error(q.create(W.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),this.initState.fail()}}else this.notificationService.notifyIllegalState("Application store is re-initialized")}alertUnhandledError=e=>{this.logService.error(q.create(W.ILLEGAL_APPLICATION_STATE_OCCURRED),"Encountered unhandled error in component tree",e),this.notificationService.notifyIllegalState(e.message)};guardUnhandledError=e=>()=>{e().catch(this.alertUnhandledError)}}!function(e){e.TAG_REQUEST="download-request",e.TAG_RESPONSE="download-response",e.STREAM_CLOSED="#stream-closed",e.STREAM_ABORTED="#stream-aborted"}(ir||(ir={}));class gr{}class pr extends gr{debug(e,...t){console.debug(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}info(e,...t){console.info(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}warn(e,...t){console.warn(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}error(e,...t){console.error(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}}class mr{config;logger;pluginManager;basePresets=[];basePlugins=[];baseAddress;pluginRegister;_isConfigured=!1;downloadHelperServiceWorkerPath;downloadHelper=!1;constructor(e){this.pluginManager=e,this.logger=new pr}setup(e){return this.baseAddress=T(e.baseAddress,"Can't setup application: 'baseAddress' is missing or empty"),this.pluginRegister=e.pluginRegister,this._isConfigured=!0,this}withBasePresets(e){return this.basePresets=e,this.withPresets([])}withBasePlugins(e){return this.basePlugins=e,this.withPlugins([])}withPresets(e){return this.pluginManager.usePresets([...this.basePresets,...e]),this}withPlugins(e){return this.pluginManager.usePlugins([...this.basePlugins,...e]),this}withDownloadHelper(e){return this.downloadHelper=!0,this.downloadHelperServiceWorkerPath=e,this}async fetchApplicationConfiguration(e){const t=new V;let n,r;try{n=await t.get(`${window.location.origin}${e}config.json`)}catch(e){p(e),this.logger.error(q.create(W.APPLICATION_CONFIGURATION__FAILURE),e)}E(n,"Can't fetch Legend application configuration");try{r=await t.get(`${window.location.origin}${e}version.json`)}catch(e){p(e),this.logger.error(q.create(W.APPLICATION_CONFIGURATION__FAILURE),e)}return E(r,"Can't fetch Legend application version"),[await this.configureApplication({configData:n,versionData:r,baseAddress:e}),n.extensions??{}]}async loadDocumentationRegistryData(e){const t={};await Promise.all([...e.documentationRegistryEntries,...this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraDocumentationRegistryEntries?.()??[]))].map((async e=>{try{const n=new V(e.simple?{options:{credentials:"omit"}}:{}),r=await n.get(T(e.url,"Can't load documentation registry: 'url' field is missing or empty"));E(r.entries,"Can't load documentation registry data: 'entries' field is missing");const o=e.includes?.map((e=>new RegExp(`^${e.trim().replace(/[\^$\\.+?()[\]{}|]/g,"\\$&").replace(/\*/g,".*")}$`)));Object.entries(r.entries).forEach((([e,n])=>{o&&!o.some((t=>t.test(e)))||t[e]||(t[e]=n)}))}catch(e){p(e),this.logger.warn(q.create(W.DOCUMENTATION_FETCH__FAILURE),e)}}))),e.keyedDocumentationEntries=[...ne(t),...e.keyedDocumentationEntries]}async start(){E(this._isConfigured,"Legend application has not been configured properly. Make sure to run setup() before start()");try{const[e,t]=await this.fetchApplicationConfiguration(this.baseAddress);this.config=e,this.pluginRegister?.(this.pluginManager,this.config),this.pluginManager.configure(t),this.pluginManager.install(),await Promise.all([this.loadDocumentationRegistryData(e)]);const n=new lr(this.config,this.pluginManager);await Promise.all(this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationSetups?.()??[])).map((e=>e(n)))),await this.loadApplication(n),this.logger.info(q.create(W.APPLICATION_LOAD__SUCCESS),"Legend application loaded"),this.downloadHelper&&function(e){if("serviceWorker"in navigator){const t=e??"/ServiceWorker.js";navigator.serviceWorker.register(t).then((e=>{console.debug(`register service worker success with path: ${t}`,e)})).catch((e=>{console.debug(`register service worker error with path: ${t}`,e)}))}}(this.downloadHelperServiceWorkerPath)}catch(e){throw p(e),this.logger.error(q.create(W.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),e}}}const fr="legend-application-root",hr=JSON.parse('{"i8":"15.0.75","Rw":{"j":"@finos/legend-application-plugin-core"}}');class Er{name;version;signature;uuid}class _r{name;version;uuid=(0,a.Z)();constructor(e,t){this.name=e,this.version=t}getName(){return this.name}getVersion(){return this.version}getSignature(){return`${this.getName()}@${this.getVersion()}`}getUUID(){return this.uuid}getInfo(){const e=new Er;return e.name=this.getName(),e.version=this.getVersion(),e.signature=this.getSignature(),e.uuid=this.getUUID(),e}configure(e){return this}}class br{plugins=[];presets=[];usePlugins(e){return this.plugins=e,this}usePresets(e){return this.presets=e,this}configure(e){Object.keys(e).forEach((t=>{const n=e[t];this.presets.forEach((e=>{e.getName()===t&&e.configure(n)})),this.plugins.forEach((e=>{e.getName()===t&&e.configure(n)}))}))}install(){this.plugins.forEach((e=>e.install(this))),this.presets.forEach((e=>e.install(this)))}getInfo(){return{plugins:this.plugins.filter((e=>!this.getHiddenPluginNames().includes(e.getName()))).map((e=>e.getInfo())).sort(((e,t)=>e.name.localeCompare(t.name))),presets:this.presets.filter((e=>!this.getHiddenPresetNames().includes(e.getName()))).map((e=>e.getInfo())).sort(((e,t)=>e.name.localeCompare(t.name)))}}getHiddenPluginNames(){return[]}getHiddenPresetNames(){return[]}}class Tr extends _r{}class Ar extends Tr{static NAME=hr.Rw.j;constructor(){super(Ar.NAME,hr.i8)}install(e){e.registerApplicationPlugin(this)}getExtraApplicationSetups(){return[async e=>{(0,ie.jQ)({enforceActions:"observed"})}]}getExtraColorThemes(){return[Zn,er]}getExtraSettingConfigurationEntries(){return e=nr,Object.entries(e).map((e=>({key:e[0],...e[1]})));var e}}class yr{appName;baseAddress;env;applicationStorageKey;documentationUrl;documentationLinkEntries=[];documentationRegistryEntries=[];keyedDocumentationEntries=[];contextualDocEntries=[];appVersion;appVersionBuildTime;appVersionCommitId;constructor(e){var t,n;this.baseAddress=e.baseAddress,this.appName=T(e.configData.appName,"Can't configure application: 'appName' field is missing or empty"),this.env=T(e.configData.env,"Can't configure application: 'env' field is missing or empty"),this.applicationStorageKey=e.configData.application?.storageKey??this.getDefaultApplicationStorageKey(),this.documentationUrl=e.configData.documentation?.url,this.documentationLinkEntries=(t=e.configData.documentation?.links??{},Object.entries(t).map((e=>({key:T(e[0],"Documentation link 'key' is missing"),label:T(e[1].label,"Documentation link 'label' is missing"),url:T(e[1].url,"Documentation link 'url' is missing")})))),this.documentationRegistryEntries=e.configData.documentation?.registry??[],this.keyedDocumentationEntries=ne(e.configData.documentation?.entries??{}),this.contextualDocEntries=(n=e.configData.documentation?.contextualEntries??{},Object.entries(n).map((e=>({context:e[0],documentationKey:e[1]})))),this.appVersion=_(e.versionData.version,"Can't collect application version: 'version' field is missing"),this.appVersionBuildTime=_(e.versionData.buildTime,"Can't collect application version: 'buildTime' field is missing"),this.appVersionCommitId=_(e.versionData.commitSHA,"Can't collect application version: 'commitSHA' field is missing")}static resolveAbsoluteUrl(e){return e.trim().startsWith("/")?window.location.origin+e:e}}class Sr extends yr{replUrl;useDynamicREPLServer=!1;constructor(e){super(e),E(e.configData.repl,"Can't configure application: 'repl' field is missing"),this.replUrl=yr.resolveAbsoluteUrl(T(e.configData.repl.url,"Can't configure application: 'repl.url' field is missing or empty")),void 0!==e.configData.repl.dynamic&&(this.useDynamicREPLServer=Boolean(e.configData.repl.dynamic))}getDefaultApplicationStorageKey(){return"legend-repl"}}class Cr extends br{loggerPlugins=[];telemetryServicePlugins=[];tracerServicePlugins=[];eventNotifierPlugins=[];applicationPlugins=[];registerLoggerPlugin(e){this.loggerPlugins.push(e)}registerTelemetryServicePlugin(e){this.telemetryServicePlugins.push(e)}registerTracerServicePlugin(e){this.tracerServicePlugins.push(e)}registerEventNotifierPlugin(e){this.eventNotifierPlugins.push(e)}registerApplicationPlugin(e){this.applicationPlugins.push(e)}getLoggerPlugins(){return[...this.loggerPlugins]}getTelemetryServicePlugins(){return[...this.telemetryServicePlugins]}getTracerServicePlugins(){return[...this.tracerServicePlugins]}getEventNotifierPlugins(){return[...this.eventNotifierPlugins]}getApplicationPlugins(){return[...this.applicationPlugins]}}class Nr extends Cr{pureProtocolProcessorPlugins=[];pureGraphManagerPlugins=[];pureGraphPlugins=[];constructor(){super()}static create(){return new Nr}registerPureProtocolProcessorPlugin(e){this.pureProtocolProcessorPlugins.push(e)}registerPureGraphManagerPlugin(e){this.pureGraphManagerPlugins.push(e)}registerPureGraphPlugin(e){this.pureGraphPlugins.push(e)}getPureGraphManagerPlugins(){return[...this.pureGraphManagerPlugins]}getPureProtocolProcessorPlugins(){return[...this.pureProtocolProcessorPlugins]}getPureGraphPlugins(){return[...this.pureGraphPlugins]}}var Ir,vr=n(979),kr=n(4926);class Rr{historyAPI;_isNavigationBlocked=!1;_forceBypassNavigationBlocking=!1;_blockCheckers=[];_beforeUnloadListener=e=>{this._forceBypassNavigationBlocking||this._blockCheckers.some((e=>e()))&&(e.returnValue="")};onBlock;onNativePlatformNavigationBlock;constructor(e){(0,ie.rC)(this,{_isNavigationBlocked:ie.LO,isNavigationBlocked:ie.Fl,blockNavigation:ie.aD,unblockNavigation:ie.aD}),this.historyAPI=e}get window(){return _(window,"Window object is not available in non-web environment")}goToLocation(e,t){t?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const n=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.href=this.generateAddress(e)};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(n):n()}reload(e){e?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const t=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.reload()};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(t):t()}goToAddress(e,t){t?.ignoreBlocking&&(this._forceBypassNavigationBlocking=!0);const n=()=>{this._forceBypassNavigationBlocking=!0,this.window.location.href=e};!this._forceBypassNavigationBlocking&&this._blockCheckers.some((e=>e()))?this.onBlock?.(n):n()}visitAddress(e){this.window.open(e,"_blank")}generateAddress(e){return this.window.location.origin+this.historyAPI.createHref({pathname:e})}updateCurrentLocation(e){this.historyAPI.push(e)}updateCurrentZone(e){this.window.location.hash="#"+e}resetZone(){this.updateCurrentLocation(this.getCurrentLocation())}getCurrentBaseAddress(e){return e?.withAppRoot?this.generateAddress(""):this.window.location.origin}getCurrentAddress(){return this.window.location.href}getCurrentLocation(){return this.historyAPI.location.pathname}getCurrentLocationParameters(){const e={},t=((e,t=!1)=>t?F.Z.parseUrl(e).query:F.Z.parse(e))((n=this.getCurrentAddress(),(0,B.Nm)(n)),!0);var n;return Object.keys(t).forEach((n=>{e[n]=((e,t)=>{const n=t[e];return n?decodeURIComponent(n):void 0})(n,t)})),e}getCurrentLocationParameterValue(e){return this.getCurrentLocationParameters()[e]}getCurrentZone(){return this.window.location.hash.substring(1)}blockNavigation(e,t,n){this._isNavigationBlocked=!0,this.onBlock=t,this.onNativePlatformNavigationBlock=n,this.window.history.pushState(null,"",this.getCurrentAddress()),this.window.onpopstate=()=>{window.history.forward(),this.onNativePlatformNavigationBlock?.()},this._blockCheckers=e,this.window.removeEventListener("beforeunload",this._beforeUnloadListener),this.window.addEventListener("beforeunload",this._beforeUnloadListener)}unblockNavigation(){this._isNavigationBlocked=!1,this.onBlock=void 0,this.window.onpopstate=null,this._blockCheckers=[],this.window.removeEventListener("beforeunload",this._beforeUnloadListener)}get isNavigationBlocked(){return this._isNavigationBlocked}INTERNAL__internalizeTransientParameter(e){const t=this.getCurrentZone(),n=this.getCurrentLocationParameters();var r,o;delete n[e],this.updateCurrentLocation((r=this.getCurrentLocation(),o=(e=>{const t={};return Object.entries(e).forEach((([e,n])=>{n&&(t[e]=n.toString())})),F.Z.stringify(t)})(n),o?`${r}?${o}`:r)),this.updateCurrentZone(t)}}class Or{applicationStore;constructor(e){this.applicationStore=e}async initialize(){}}!function(e){e.INITIAL_COLOR_THEME="initialColorTheme"}(Ir||(Ir={}));class Fr extends Or{navigator;constructor(e,t){super(e),this.navigator=new Rr(t.historyAPI)}getNavigator(){return this.navigator}async initialize(){const e=this.applicationStore.navigationService.navigator.getCurrentLocationParameterValue(Ir.INITIAL_COLOR_THEME);e&&(this.applicationStore.layoutService.setColorTheme(e),this.applicationStore.navigationService.navigator.INTERNAL__internalizeTransientParameter(Ir.INITIAL_COLOR_THEME))}}const Br=(0,gt.createContext)(void 0),Lr=({children:e})=>{const t=mt(),n=(0,vr.k6)(),o=(0,Qe.fv)((()=>new Fr(t,{historyAPI:n})));return(0,r.jsx)(Br.Provider,{value:o,children:e})},wr=({children:e,baseUrl:t})=>(0,r.jsx)(kr.VK,{basename:t,children:(0,r.jsx)(Lr,{children:e})});class Pr{networkClient;constructor(e){this.networkClient=e}get baseUrl(){return _(this.networkClient.baseUrl,"REPL client has not been configured properly")}getREPLGridServerResult=e=>this.networkClient.post(`${this.baseUrl}/gridResult`,e,void 0,void 0);getIntialQueryLambda=()=>this.networkClient.get(`${this.baseUrl}/initialLambda`,void 0,void 0,void 0);executeLambda=(e,t)=>this.networkClient.post(`${this.baseUrl}/executeLambda`,e,void 0,void 0,{isPaginationEnabled:t});getTypeaheadResults=e=>this.networkClient.post(`${this.baseUrl}/typeahead`,e,void 0,void 0);parseQuery=e=>this.networkClient.post(`${this.baseUrl}/parseQuery`,e,void 0,void 0);getInitialREPLGridServerResult=e=>this.networkClient.get(`${this.baseUrl}/gridResult`,void 0,void 0,{isPaginationEnabled:e});getLicenseKey=()=>this.networkClient.get(`${this.baseUrl}/licenseKey`,void 0,void 0,void 0)}class Dr{currentQuery;result;static serialization=new X((0,J.yu)(Dr,{currentQuery:(0,J.Ru)(),result:(0,J.Ru)()}))}var Mr,xr,jr,Ur,Gr,Hr,Vr,Kr,Yr,Wr,qr,$r,Jr,Xr,zr,Qr,Zr;!function(e){e.FETCH_TDS_FAILURE="repl.fetch-tds.failure",e.BUILD_TDS_EQUEST_FAILURE="repl.build-tds-request.failure"}(Mr||(Mr={})),function(e){e.PAGINATION="application.pagination.enabled"}(xr||(xr={})),function(e){e.FILTER="filter",e.SORT="sort",e.SLICE="slice",e.GROUPBY="groupBy",e.NOT="not",e.FROM="from"}(jr||(jr={})),function(e){e.EQUALS="equal",e.NOT_EQUAL="notEqual",e.GREATER_THAN="greaterThan",e.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",e.LESS_THAN="lessThan",e.LESS_THAN_OR_EQUAL="lessThanOrEqual",e.BLANK="isEmpty",e.NOT_BLANK="isNotEmpty",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.STARTS_WITH="startsWith",e.ENDS_WITH="endsWith"}(Ur||(Ur={})),function(e){e.AND="and",e.OR="or"}(Gr||(Gr={})),function(e){e.SUM="sum",e.MIN="min",e.MAX="max",e.COUNT="count",e.AVG="avg",e.FIRST="first",e.LAST="last"}(Hr||(Hr={})),function(e){e.ASCENDING="ascending",e.DESCENDING="descending"}(Vr||(Vr={})),function(e){e.TEXT="text",e.NUMBER="number"}(Kr||(Kr={}));class eo{operation;value;constructor(e,t){this.operation=e,this.value=t}}class to{column;columnType;conditions;groupOperation;constructor(e,t,n,r){this.column=e,this.columnType=t,this.conditions=n,this.groupOperation=r}}class no{column;order;constructor(e,t){this.column=e,this.order=t}}class ro{column;columnType;function;constructor(e,t,n){this.column=e,this.columnType=t,this.function=n}}class oo{columns;groupKeys;aggregations;constructor(e,t,n){this.columns=e,this.groupKeys=t,this.aggregations=n}}class ao{startRow;endRow;columns;filter;sort;groupBy;constructor(e,t,n,r,o,a){this.startRow=o,this.endRow=a,this.columns=e,this.filter=t,this.sort=n,this.groupBy=r}}!function(e){e.CORE="CORE",e.MAIN="ROOT",e.MODEL_GENERATION="MODEL_GENERATION_ROOT",e.SYSTEM="SYSTEM_ROOT",e.PROJECT_DEPENDENCY_ROOT="PROJECT_DEPENDENCY_ROOT"}(Yr||(Yr={})),($r=Wr||(Wr={})).STRING="String",$r.BOOLEAN="Boolean",$r.BINARY="Binary",$r.NUMBER="Number",$r.INTEGER="Integer",$r.FLOAT="Float",$r.DECIMAL="Decimal",$r.DATE="Date",$r.STRICTDATE="StrictDate",$r.DATETIME="DateTime",$r.STRICTTIME="StrictTime",$r.LATESTDATE="LatestDate",$r.BYTE="Byte",function(e){e.Service_Test="serviceTest",e.Mapping_Test="mappingTest",e.Function_Test="functionTest"}(qr||(qr={})),function(e){e.ANY="meta::pure::metamodel::type::Any",e.NIL="meta::pure::metamodel::type::Nil",e.PROFILE_DOC="meta::pure::profiles::doc",e.PROFILE_TEMPORAL="meta::pure::profiles::temporal",e.PROFILE="meta::pure::metamodel::extension::Profile",e.ENUMERATION="meta::pure::metamodel::type::Enumeration",e.MEASURE="meta::pure::metamodel::type::Measure",e.CLASS="meta::pure::metamodel::type::Class",e.ASSOCIATION="meta::pure::metamodel::relationship::Association",e.FUNCTION="meta::pure::metamodel::function::ConcreteFunctionDefinition",e.FLAT_DATA="meta::flatData::metamodel::FlatData",e.DATABASE="meta::relational::metamodel::Database",e.MAPPING="meta::pure::mapping::Mapping",e.SERVICE="meta::legend::service::metamodel::Service",e.CONNECTION="meta::pure::runtime::PackageableConnection",e.RUNTIME="meta::pure::runtime::PackageableRuntime",e.EXECUTION_ENVIRONMENT="meta::legend::service::metamodel::ExecutionEnvironmentInstance",e.FILE_GENERATION="meta::pure::generation::metamodel::GenerationConfiguration",e.GENERATION_SPECIFICATION="meta::pure::generation::metamodel::GenerationSpecification",e.SECTION_INDEX="meta::pure::metamodel::section::SectionIndex",e.DATA_ELEMENT="meta::pure::data::DataElement",e.SNOWFLAKE_APP="meta::external::function::activator::snowflakeApp::SnowflakeApp",e.HOSTED_SERVICE="meta::external::function::activator::hostedService::HostedService"}(Jr||(Jr={})),function(e){e.BUSINESS_TEMPORAL="businesstemporal",e.PROCESSING_TEMPORAL="processingtemporal",e.BITEMPORAL="bitemporal"}(Xr||(Xr={})),function(e){e.ALL_VERSIONS="AllVersions",e.ALL_VERSIONS_IN_RANGE="AllVersionsInRange"}(zr||(zr={})),function(e){e.CLASS="CLASS",e.STORE="STORE",e.MAPPING="MAPPING",e.RUNTIME="RUNTIME",e.FUNCTION="FUNCTION",e.FILE_GENERATION="FILE_GENERATION",e.SERVICE="SERVICE",e.DATA="DATA"}(Qr||(Qr={})),function(e){e.LET="meta::pure::functions::lang::letFunction",e.NEW="meta::pure::functions::meta::new",e.FROM="meta::pure::mapping::from"}(Zr||(Zr={}));const io=e=>{switch(e){case"equals":return Ur.EQUALS;case"notEqual":return Ur.NOT_EQUAL;case"greaterThan":return Ur.GREATER_THAN;case"greaterThanOrEqual":return Ur.GREATER_THAN_OR_EQUAL;case"lessThan":return Ur.LESS_THAN;case"lessThanOrEqual":return Ur.LESS_THAN_OR_EQUAL;case"blank":return Ur.BLANK;case"notBlank":return Ur.NOT_BLANK;case"contains":return Ur.CONTAINS;case"notContains":return Ur.NOT_CONTAINS;case"startsWith":return Ur.STARTS_WITH;case"endsWith":return Ur.ENDS_WITH;default:throw new Error(`Unsupported filter operation ${e}`)}},so=(e,t,n)=>{if(!e)return{};const r=t.builder.columns.find((e=>e.name===n))?.type;switch(r){case Wr.STRING:return{filter:"agTextColumnFilter",allowedAggFuncs:["count"]};case Wr.DATE:case Wr.DATETIME:case Wr.STRICTDATE:return{filter:"agDateColumnFilter",allowedAggFuncs:["count"]};case Wr.DECIMAL:case Wr.INTEGER:case Wr.FLOAT:return{filter:"agNumberColumnFilter",allowedAggFuncs:["count","sum","max","min","avg"]};default:return{allowedAggFuncs:["count"]}}},co=e=>e?{minWidth:50,sortable:!0,flex:1,resizable:!0,enableRowGroup:!0,allowedAggFuncs:["count","sum","max","min","avg"],enableValue:!0,menuTabs:["filterMenuTab","generalMenuTab","columnsMenuTab"]}:{minWidth:50,sortable:!0,flex:1,resizable:!0,menuTabs:["filterMenuTab","generalMenuTab","columnsMenuTab"]},uo=e=>e.rows.map(((t,n)=>{const r={},o=e.columns;return t.values.forEach(((e,t)=>{r[o[t]]=C(e)?String(e):e})),r.rowNumber=n,r}));var lo,go=n(2056);!function(e){e.WHITESPACE="",e.KEYWORD="keyword",e.IDENTIFIER="identifier",e.OPERATOR="operator",e.DELIMITER="delimiter",e.PARSER="parser",e.NUMBER="number",e.DATE="date",e.COLOR="color",e.PACKAGE="package",e.STRING="string",e.COMMENT="comment",e.LANGUAGE_STRUCT="language-struct",e.MULTIPLICITY="multiplicity",e.GENERICS="generics",e.PROPERTY="property",e.PARAMETER="parameter",e.VARIABLE="variable",e.TYPE="type",e.INVALID="invalid"}(lo||(lo={}));const po=(e,t,n,r)=>{const o=(e=>{const t=[];e.tokenColors.forEach((e=>{if(!e.settings)return;let n=[];n=y(e.scope)?e.scope.replace(/^[,]+/,"").replace(/[,]+$/,"").split(",").map((e=>e.trim())):Array.isArray(e.scope)?e.scope:[""];const r={};e.settings.foreground&&y(e.settings.foreground)&&(r.foreground=e.settings.foreground),e.settings.background&&y(e.settings.background)&&(r.background=e.settings.background),e.settings.fontStyle&&y(e.settings.fontStyle)&&(r.fontStyle=e.settings.fontStyle),n.forEach((e=>{if(h(e)||!Object.keys(r).length)return;const n={...r,token:e};t.push(n)}))}));const n={};return Object.entries(e.colors).forEach((([e,t])=>{var r;Array.isArray(t)?t.length&&(n[e]=(A(0<(r=t).length,"Index out of bound: 0"),_(r[0],void 0))):n[e]=t})),{base:"vs-dark",inherit:!0,rules:t,colors:n}})(e);return{...o,base:t,colors:{...o.colors,...n},rules:[...o.rules,...r]}},mo=JSON.parse('{"name":"Solarized (dark)","tokenColors":[{"settings":{"foreground":"#839496"}},{"scope":["meta.embedded","source.groovy.embedded","string meta.image.inline.markdown"],"settings":{"foreground":"#839496"}},{"name":"Comment","scope":"comment","settings":{"fontStyle":"italic","foreground":"#586E75"}},{"name":"String","scope":"string","settings":{"foreground":"#2AA198"}},{"name":"Regexp","scope":"string.regexp","settings":{"foreground":"#DC322F"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#D33682"}},{"name":"Variable","scope":["variable.language","variable.other"],"settings":{"foreground":"#268BD2"}},{"name":"Keyword","scope":"keyword","settings":{"foreground":"#859900"}},{"name":"Storage","scope":"storage","settings":{"fontStyle":"bold","foreground":"#93A1A1"}},{"name":"Class name","scope":["entity.name.class","entity.name.type","entity.name.namespace","entity.name.scope-resolution"],"settings":{"fontStyle":"","foreground":"#CB4B16"}},{"name":"Function name","scope":"entity.name.function","settings":{"foreground":"#268BD2"}},{"name":"Variable start","scope":"punctuation.definition.variable","settings":{"foreground":"#859900"}},{"name":"Embedded code markers","scope":["punctuation.section.embedded.begin","punctuation.section.embedded.end"],"settings":{"foreground":"#DC322F"}},{"name":"Built-in constant","scope":["constant.language","meta.preprocessor"],"settings":{"foreground":"#B58900"}},{"name":"Support.construct","scope":["support.function.construct","keyword.other.new"],"settings":{"foreground":"#CB4B16"}},{"name":"User-defined constant","scope":["constant.character","constant.other"],"settings":{"foreground":"#CB4B16"}},{"name":"Inherited class","scope":"entity.other.inherited-class","settings":{"foreground":"#6C71C4"}},{"name":"Function argument","scope":"variable.parameter","settings":{}},{"name":"Tag name","scope":"entity.name.tag","settings":{"foreground":"#268BD2"}},{"name":"Tag start/end","scope":"punctuation.definition.tag","settings":{"foreground":"#586E75"}},{"name":"Tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#93A1A1"}},{"name":"Library function","scope":"support.function","settings":{"foreground":"#268BD2"}},{"name":"Continuation","scope":"punctuation.separator.continuation","settings":{"foreground":"#DC322F"}},{"name":"Library constant","scope":["support.constant","support.variable"],"settings":{}},{"name":"Library class/type","scope":["support.type","support.class"],"settings":{"foreground":"#859900"}},{"name":"Library Exception","scope":"support.type.exception","settings":{"foreground":"#CB4B16"}},{"name":"Library variable","scope":"support.other.variable","settings":{}},{"name":"Invalid","scope":"invalid","settings":{"foreground":"#DC322F"}},{"name":"diff: header","scope":["meta.diff","meta.diff.header"],"settings":{"fontStyle":"italic","foreground":"#268BD2"}},{"name":"diff: deleted","scope":"markup.deleted","settings":{"fontStyle":"","foreground":"#DC322F"}},{"name":"diff: changed","scope":"markup.changed","settings":{"fontStyle":"","foreground":"#CB4B16"}},{"name":"diff: inserted","scope":"markup.inserted","settings":{"foreground":"#859900"}},{"name":"Markup Quote","scope":"markup.quote","settings":{"foreground":"#859900"}},{"name":"Markup Lists","scope":"markup.list","settings":{"foreground":"#B58900"}},{"name":"Markup Styling","scope":["markup.bold","markup.italic"],"settings":{"foreground":"#D33682"}},{"name":"Markup: Strong","scope":"markup.bold","settings":{"fontStyle":"bold"}},{"name":"Markup: Emphasis","scope":"markup.italic","settings":{"fontStyle":"italic"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough"}},{"name":"Markup Inline","scope":"markup.inline.raw","settings":{"fontStyle":"","foreground":"#2AA198"}},{"name":"Markup Headings","scope":"markup.heading","settings":{"fontStyle":"bold","foreground":"#268BD2"}},{"name":"Markup Setext Header","scope":"markup.heading.setext","settings":{"fontStyle":"","foreground":"#268BD2"}}],"colors":{"focusBorder":"#2AA19899","selection.background":"#2AA19899","input.background":"#003847","input.foreground":"#93A1A1","input.placeholderForeground":"#93A1A1AA","inputOption.activeBorder":"#2AA19899","inputValidation.infoBorder":"#363b5f","inputValidation.infoBackground":"#052730","inputValidation.warningBackground":"#5d5938","inputValidation.warningBorder":"#9d8a5e","inputValidation.errorBackground":"#571b26","inputValidation.errorBorder":"#a92049","errorForeground":"#ffeaea","badge.background":"#047aa6","progressBar.background":"#047aa6","dropdown.background":"#00212B","dropdown.border":"#2AA19899","button.background":"#2AA19899","list.activeSelectionBackground":"#005A6F","quickInputList.focusBackground":"#005A6F","list.hoverBackground":"#004454AA","list.inactiveSelectionBackground":"#00445488","list.dropBackground":"#00445488","list.highlightForeground":"#1ebcc5","editor.background":"#002B36","editor.foreground":"#839496","editorWidget.background":"#00212B","editorCursor.foreground":"#D30102","editorWhitespace.foreground":"#93A1A180","editor.lineHighlightBackground":"#073642","editorLineNumber.activeForeground":"#949494","editor.selectionBackground":"#274642","minimap.selectionHighlight":"#274642","editorIndentGuide.background":"#93A1A180","editorIndentGuide.activeBackground":"#C3E1E180","editorHoverWidget.background":"#004052","editorMarkerNavigationError.background":"#AB395B","editorMarkerNavigationWarning.background":"#5B7E7A","editor.selectionHighlightBackground":"#005A6FAA","editor.wordHighlightBackground":"#004454AA","editor.wordHighlightStrongBackground":"#005A6FAA","editorBracketHighlight.foreground1":"#cdcdcdff","editorBracketHighlight.foreground2":"#b58900ff","editorBracketHighlight.foreground3":"#d33682ff","peekViewResult.background":"#00212B","peekViewEditor.background":"#10192c","peekViewTitle.background":"#00212B","peekView.border":"#2b2b4a","peekViewEditor.matchHighlightBackground":"#7744AA40","titleBar.activeBackground":"#002C39","editorGroup.border":"#00212B","editorGroup.dropBackground":"#2AA19844","editorGroupHeader.tabsBackground":"#004052","tab.activeForeground":"#d6dbdb","tab.activeBackground":"#002B37","tab.inactiveForeground":"#93A1A1","tab.inactiveBackground":"#004052","tab.border":"#003847","tab.lastPinnedBorder":"#2AA19844","activityBar.background":"#003847","panel.border":"#2b2b4a","sideBar.background":"#00212B","sideBarTitle.foreground":"#93A1A1","statusBar.foreground":"#93A1A1","statusBar.background":"#00212B","statusBar.debuggingBackground":"#00212B","statusBar.noFolderBackground":"#00212B","statusBarItem.remoteBackground":"#2AA19899","ports.iconRunningProcessForeground":"#369432","statusBarItem.prominentBackground":"#003847","statusBarItem.prominentHoverBackground":"#003847","debugToolBar.background":"#00212B","debugExceptionWidget.background":"#00212B","debugExceptionWidget.border":"#AB395B","pickerGroup.foreground":"#2AA19899","pickerGroup.border":"#2AA19899","terminal.ansiBlack":"#073642","terminal.ansiRed":"#dc322f","terminal.ansiGreen":"#859900","terminal.ansiYellow":"#b58900","terminal.ansiBlue":"#268bd2","terminal.ansiMagenta":"#d33682","terminal.ansiCyan":"#2aa198","terminal.ansiWhite":"#eee8d5","terminal.ansiBrightBlack":"#002b36","terminal.ansiBrightRed":"#cb4b16","terminal.ansiBrightGreen":"#586e75","terminal.ansiBrightYellow":"#657b83","terminal.ansiBrightBlue":"#839496","terminal.ansiBrightMagenta":"#6c71c4","terminal.ansiBrightCyan":"#93a1a1","terminal.ansiBrightWhite":"#fdf6e3"},"semanticHighlighting":true}'),fo=JSON.parse('{"name":"GitHub Dark","colors":{"focusBorder":"#005cc5","foreground":"#d1d5da","descriptionForeground":"#959da5","errorForeground":"#f97583","textLink.foreground":"#79b8ff","textLink.activeForeground":"#c8e1ff","textBlockQuote.background":"#24292e","textBlockQuote.border":"#444d56","textCodeBlock.background":"#2f363d","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","button.background":"#176f2c","button.foreground":"#dcffe4","button.hoverBackground":"#22863a","button.secondaryBackground":"#444d56","button.secondaryForeground":"#fff","button.secondaryHoverBackground":"#586069","checkbox.background":"#444d56","checkbox.border":"#1b1f23","dropdown.background":"#2f363d","dropdown.border":"#1b1f23","dropdown.foreground":"#e1e4e8","dropdown.listBackground":"#24292e","input.background":"#2f363d","input.border":"#1b1f23","input.foreground":"#e1e4e8","input.placeholderForeground":"#959da5","badge.foreground":"#c8e1ff","badge.background":"#044289","progressBar.background":"#0366d6","titleBar.activeForeground":"#e1e4e8","titleBar.activeBackground":"#24292e","titleBar.inactiveForeground":"#959da5","titleBar.inactiveBackground":"#1f2428","titleBar.border":"#1b1f23","activityBar.foreground":"#e1e4e8","activityBar.inactiveForeground":"#6a737d","activityBar.background":"#24292e","activityBarBadge.foreground":"#fff","activityBarBadge.background":"#0366d6","activityBar.activeBorder":"#f9826c","activityBar.border":"#1b1f23","sideBar.foreground":"#d1d5da","sideBar.background":"#1f2428","sideBar.border":"#1b1f23","sideBarTitle.foreground":"#e1e4e8","sideBarSectionHeader.foreground":"#e1e4e8","sideBarSectionHeader.background":"#1f2428","sideBarSectionHeader.border":"#1b1f23","list.hoverForeground":"#e1e4e8","list.inactiveSelectionForeground":"#e1e4e8","list.activeSelectionForeground":"#e1e4e8","list.hoverBackground":"#282e34","list.inactiveSelectionBackground":"#282e34","list.activeSelectionBackground":"#39414a","list.inactiveFocusBackground":"#1d2d3e","list.focusBackground":"#044289","tree.indentGuidesStroke":"#2f363d","notificationCenterHeader.foreground":"#959da5","notificationCenterHeader.background":"#24292e","notifications.foreground":"#e1e4e8","notifications.background":"#2f363d","notifications.border":"#1b1f23","notificationsErrorIcon.foreground":"#ea4a5a","notificationsWarningIcon.foreground":"#ffab70","notificationsInfoIcon.foreground":"#79b8ff","pickerGroup.border":"#444d56","pickerGroup.foreground":"#e1e4e8","quickInput.background":"#24292e","quickInput.foreground":"#e1e4e8","statusBar.foreground":"#d1d5da","statusBar.background":"#24292e","statusBar.border":"#1b1f23","statusBar.noFolderBackground":"#24292e","statusBar.debuggingBackground":"#931c06","statusBar.debuggingForeground":"#fff","statusBarItem.prominentBackground":"#282e34","statusBarItem.remoteForeground":"#d1d5da","statusBarItem.remoteBackground":"#24292e","editorGroupHeader.tabsBackground":"#1f2428","editorGroupHeader.tabsBorder":"#1b1f23","editorGroup.border":"#1b1f23","tab.activeForeground":"#e1e4e8","tab.inactiveForeground":"#959da5","tab.inactiveBackground":"#1f2428","tab.activeBackground":"#24292e","tab.hoverBackground":"#24292e","tab.unfocusedHoverBackground":"#24292e","tab.border":"#1b1f23","tab.unfocusedActiveBorderTop":"#1b1f23","tab.activeBorder":"#24292e","tab.unfocusedActiveBorder":"#24292e","tab.activeBorderTop":"#f9826c","breadcrumb.foreground":"#959da5","breadcrumb.focusForeground":"#e1e4e8","breadcrumb.activeSelectionForeground":"#d1d5da","breadcrumbPicker.background":"#2b3036","editor.foreground":"#e1e4e8","editor.background":"#24292e","editorWidget.background":"#1f2428","editor.foldBackground":"#58606915","editor.lineHighlightBackground":"#2b3036","editorLineNumber.foreground":"#444d56","editorLineNumber.activeForeground":"#e1e4e8","editorIndentGuide.background":"#2f363d","editorIndentGuide.activeBackground":"#444d56","editorWhitespace.foreground":"#444d56","editorCursor.foreground":"#c8e1ff","editorError.foreground":"#f97583","editorWarning.foreground":"#ffea7f","editor.findMatchBackground":"#ffd33d44","editor.findMatchHighlightBackground":"#ffd33d22","editor.linkedEditingBackground":"#3392FF22","editor.inactiveSelectionBackground":"#3392FF22","editor.selectionBackground":"#3392FF44","editor.selectionHighlightBackground":"#17E5E633","editor.selectionHighlightBorder":"#17E5E600","editor.wordHighlightBackground":"#17E5E600","editor.wordHighlightStrongBackground":"#17E5E600","editor.wordHighlightBorder":"#17E5E699","editor.wordHighlightStrongBorder":"#17E5E666","editorBracketMatch.background":"#17E5E650","editorBracketMatch.border":"#17E5E600","editorGutter.modifiedBackground":"#2188ff","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#ea4a5a","diffEditor.insertedTextBackground":"#28a74530","diffEditor.removedTextBackground":"#d73a4930","scrollbar.shadow":"#0008","scrollbarSlider.background":"#6a737d33","scrollbarSlider.hoverBackground":"#6a737d44","scrollbarSlider.activeBackground":"#6a737d88","editorOverviewRuler.border":"#1b1f23","panel.background":"#1f2428","panel.border":"#1b1f23","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#e1e4e8","panelTitle.inactiveForeground":"#959da5","panelInput.border":"#2f363d","terminal.foreground":"#d1d5da","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#586069","terminalCursor.foreground":"#79b8ff","terminal.ansiBrightWhite":"#fafbfc","terminal.ansiWhite":"#d1d5da","terminal.ansiBrightBlack":"#959da5","terminal.ansiBlack":"#586069","terminal.ansiBlue":"#2188ff","terminal.ansiBrightBlue":"#79b8ff","terminal.ansiGreen":"#34d058","terminal.ansiBrightGreen":"#85e89d","terminal.ansiCyan":"#39c5cf","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiRed":"#ea4a5a","terminal.ansiBrightRed":"#f97583","terminal.ansiMagenta":"#b392f0","terminal.ansiBrightMagenta":"#b392f0","terminal.ansiYellow":"#ffea7f","terminal.ansiBrightYellow":"#ffea7f","editorBracketHighlight.foreground1":"#79b8ff","editorBracketHighlight.foreground2":"#ffab70","editorBracketHighlight.foreground3":"#b392f0","editorBracketHighlight.foreground4":"#79b8ff","editorBracketHighlight.foreground5":"#ffab70","editorBracketHighlight.foreground6":"#b392f0","gitDecoration.addedResourceForeground":"#34d058","gitDecoration.modifiedResourceForeground":"#79b8ff","gitDecoration.deletedResourceForeground":"#ea4a5a","gitDecoration.untrackedResourceForeground":"#34d058","gitDecoration.ignoredResourceForeground":"#6a737d","gitDecoration.conflictingResourceForeground":"#ffab70","gitDecoration.submoduleResourceForeground":"#6a737d","debugToolBar.background":"#2b3036","editor.stackFrameHighlightBackground":"#C6902625","editor.focusedStackFrameHighlightBackground":"#2b6a3033","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.matchHighlightBackground":"#ffd33d33","peekViewEditor.background":"#1f242888","peekViewResult.background":"#1f2428","settings.headerForeground":"#e1e4e8","settings.modifiedItemIndicator":"#0366d6","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#6a737d"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],"settings":{"foreground":"#79b8ff"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#b392f0"}},{"scope":"variable.parameter.function","settings":{"foreground":"#e1e4e8"}},{"scope":"entity.name.tag","settings":{"foreground":"#85e89d"}},{"scope":"keyword","settings":{"foreground":"#f97583"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#f97583"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#e1e4e8"}},{"scope":["string","punctuation.definition.string","string punctuation.section.embedded source"],"settings":{"foreground":"#9ecbff"}},{"scope":"support","settings":{"foreground":"#79b8ff"}},{"scope":"meta.property-name","settings":{"foreground":"#79b8ff"}},{"scope":"variable","settings":{"foreground":"#ffab70"}},{"scope":"variable.other","settings":{"foreground":"#e1e4e8"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"fontStyle":"italic underline","background":"#f97583","foreground":"#24292e","content":"^M"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#79b8ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#dbedff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#dbedff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#85e89d"}},{"scope":"support.constant","settings":{"foreground":"#79b8ff"}},{"scope":"support.variable","settings":{"foreground":"#79b8ff"}},{"scope":"meta.module-reference","settings":{"foreground":"#79b8ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#ffab70"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"markup.quote","settings":{"foreground":"#85e89d"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#e1e4e8"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#e1e4e8"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#79b8ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"foreground":"#2f363d","background":"#79b8ff"}},{"scope":"meta.diff.range","settings":{"foreground":"#b392f0","fontStyle":"bold"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"foreground":"#dbedff","fontStyle":"underline"}}]}'),ho=JSON.parse('{"name":"GitHub Dark Dimmed","colors":{"focusBorder":"#316dca","foreground":"#adbac7","descriptionForeground":"#768390","errorForeground":"#e5534b","textLink.foreground":"#539bf5","textLink.activeForeground":"#539bf5","textBlockQuote.background":"#1c2128","textBlockQuote.border":"#444c56","textCodeBlock.background":"#636e7b66","textPreformat.foreground":"#768390","textSeparator.foreground":"#373e47","icon.foreground":"#768390","keybindingLabel.foreground":"#adbac7","button.background":"#347d39","button.foreground":"#ffffff","button.hoverBackground":"#46954a","button.secondaryBackground":"#3d444d","button.secondaryForeground":"#adbac7","button.secondaryHoverBackground":"#444c56","checkbox.background":"#2d333b","checkbox.border":"#444c56","dropdown.background":"#2d333b","dropdown.border":"#444c56","dropdown.foreground":"#adbac7","dropdown.listBackground":"#2d333b","input.background":"#22272e","input.border":"#444c56","input.foreground":"#adbac7","input.placeholderForeground":"#636e7b","badge.foreground":"#cdd9e5","badge.background":"#316dca","progressBar.background":"#316dca","titleBar.activeForeground":"#768390","titleBar.activeBackground":"#22272e","titleBar.inactiveForeground":"#768390","titleBar.inactiveBackground":"#1c2128","titleBar.border":"#444c56","activityBar.foreground":"#adbac7","activityBar.inactiveForeground":"#768390","activityBar.background":"#22272e","activityBarBadge.foreground":"#cdd9e5","activityBarBadge.background":"#316dca","activityBar.activeBorder":"#ec775c","activityBar.border":"#444c56","sideBar.foreground":"#adbac7","sideBar.background":"#1c2128","sideBar.border":"#444c56","sideBarTitle.foreground":"#adbac7","sideBarSectionHeader.foreground":"#adbac7","sideBarSectionHeader.background":"#1c2128","sideBarSectionHeader.border":"#444c56","list.hoverForeground":"#adbac7","list.inactiveSelectionForeground":"#adbac7","list.activeSelectionForeground":"#adbac7","list.hoverBackground":"#636e7b1a","list.inactiveSelectionBackground":"#636e7b66","list.activeSelectionBackground":"#636e7b66","list.focusForeground":"#adbac7","list.focusBackground":"#4184e426","list.inactiveFocusBackground":"#4184e426","list.highlightForeground":"#539bf5","tree.indentGuidesStroke":"#373e47","notificationCenterHeader.foreground":"#768390","notificationCenterHeader.background":"#2d333b","notifications.foreground":"#adbac7","notifications.background":"#2d333b","notifications.border":"#444c56","notificationsErrorIcon.foreground":"#e5534b","notificationsWarningIcon.foreground":"#c69026","notificationsInfoIcon.foreground":"#539bf5","pickerGroup.border":"#444c56","pickerGroup.foreground":"#768390","quickInput.background":"#2d333b","quickInput.foreground":"#adbac7","statusBar.foreground":"#768390","statusBar.background":"#22272e","statusBar.border":"#444c56","statusBar.focusBorder":"#316dca80","statusBar.noFolderBackground":"#22272e","statusBar.debuggingForeground":"#cdd9e5","statusBar.debuggingBackground":"#c93c37","statusBarItem.prominentBackground":"#636e7b66","statusBarItem.remoteForeground":"#adbac7","statusBarItem.remoteBackground":"#444c56","statusBarItem.hoverBackground":"#adbac714","statusBarItem.activeBackground":"#adbac71f","statusBarItem.focusBorder":"#316dca","editorGroupHeader.tabsBackground":"#1c2128","editorGroupHeader.tabsBorder":"#444c56","editorGroup.border":"#444c56","tab.activeForeground":"#adbac7","tab.inactiveForeground":"#768390","tab.inactiveBackground":"#1c2128","tab.activeBackground":"#22272e","tab.hoverBackground":"#22272e","tab.unfocusedHoverBackground":"#636e7b1a","tab.border":"#444c56","tab.unfocusedActiveBorderTop":"#444c56","tab.activeBorder":"#22272e","tab.unfocusedActiveBorder":"#22272e","tab.activeBorderTop":"#ec775c","breadcrumb.foreground":"#768390","breadcrumb.focusForeground":"#adbac7","breadcrumb.activeSelectionForeground":"#768390","breadcrumbPicker.background":"#2d333b","editor.foreground":"#adbac7","editor.background":"#22272e","editorWidget.background":"#2d333b","editor.foldBackground":"#636e7b1a","editor.lineHighlightBackground":"#636e7b1a","editorLineNumber.foreground":"#636e7b","editorLineNumber.activeForeground":"#adbac7","editorIndentGuide.background":"#adbac71f","editorIndentGuide.activeBackground":"#adbac73d","editorWhitespace.foreground":"#545d68","editorCursor.foreground":"#539bf5","editor.findMatchBackground":"#966600","editor.findMatchHighlightBackground":"#eac55f80","editor.linkedEditingBackground":"#539bf512","editor.selectionHighlightBackground":"#57ab5a40","editor.wordHighlightBackground":"#636e7b80","editor.wordHighlightBorder":"#636e7b99","editor.wordHighlightStrongBackground":"#636e7b4d","editor.wordHighlightStrongBorder":"#636e7b99","editorBracketMatch.background":"#57ab5a40","editorBracketMatch.border":"#57ab5a99","editorInlayHint.background":"#76839033","editorInlayHint.foreground":"#768390","editorInlayHint.typeBackground":"#76839033","editorInlayHint.typeForeground":"#768390","editorInlayHint.paramBackground":"#76839033","editorInlayHint.paramForeground":"#768390","editorGutter.modifiedBackground":"#ae7c1466","editorGutter.addedBackground":"#46954a66","editorGutter.deletedBackground":"#e5534b66","diffEditor.insertedLineBackground":"#347d3926","diffEditor.insertedTextBackground":"#57ab5a4d","diffEditor.removedLineBackground":"#c93c3726","diffEditor.removedTextBackground":"#f470674d","scrollbar.shadow":"#545d6833","scrollbarSlider.background":"#76839033","scrollbarSlider.hoverBackground":"#7683903d","scrollbarSlider.activeBackground":"#76839047","editorOverviewRuler.border":"#1c2128","minimapSlider.background":"#76839033","minimapSlider.hoverBackground":"#7683903d","minimapSlider.activeBackground":"#76839047","panel.background":"#1c2128","panel.border":"#444c56","panelTitle.activeBorder":"#ec775c","panelTitle.activeForeground":"#adbac7","panelTitle.inactiveForeground":"#768390","panelInput.border":"#444c56","debugIcon.breakpointForeground":"#e5534b","debugConsole.infoForeground":"#768390","debugConsole.warningForeground":"#c69026","debugConsole.errorForeground":"#ff938a","debugConsole.sourceForeground":"#daaa3f","debugConsoleInputIcon.foreground":"#b083f0","debugTokenExpression.name":"#6cb6ff","debugTokenExpression.value":"#96d0ff","debugTokenExpression.string":"#96d0ff","debugTokenExpression.boolean":"#6bc46d","debugTokenExpression.number":"#6bc46d","debugTokenExpression.error":"#ff938a","symbolIcon.arrayForeground":"#e0823d","symbolIcon.booleanForeground":"#539bf5","symbolIcon.classForeground":"#e0823d","symbolIcon.colorForeground":"#6cb6ff","symbolIcon.constructorForeground":"#dcbdfb","symbolIcon.enumeratorForeground":"#e0823d","symbolIcon.enumeratorMemberForeground":"#539bf5","symbolIcon.eventForeground":"#636e7b","symbolIcon.fieldForeground":"#e0823d","symbolIcon.fileForeground":"#c69026","symbolIcon.folderForeground":"#c69026","symbolIcon.functionForeground":"#b083f0","symbolIcon.interfaceForeground":"#e0823d","symbolIcon.keyForeground":"#539bf5","symbolIcon.keywordForeground":"#f47067","symbolIcon.methodForeground":"#b083f0","symbolIcon.moduleForeground":"#f47067","symbolIcon.namespaceForeground":"#f47067","symbolIcon.nullForeground":"#539bf5","symbolIcon.numberForeground":"#57ab5a","symbolIcon.objectForeground":"#e0823d","symbolIcon.operatorForeground":"#6cb6ff","symbolIcon.packageForeground":"#e0823d","symbolIcon.propertyForeground":"#e0823d","symbolIcon.referenceForeground":"#539bf5","symbolIcon.snippetForeground":"#539bf5","symbolIcon.stringForeground":"#6cb6ff","symbolIcon.structForeground":"#e0823d","symbolIcon.textForeground":"#6cb6ff","symbolIcon.typeParameterForeground":"#6cb6ff","symbolIcon.unitForeground":"#539bf5","symbolIcon.variableForeground":"#e0823d","symbolIcon.constantForeground":["#b4f1b4","#8ddb8c","#6bc46d","#57ab5a","#46954a","#347d39","#2b6a30","#245829","#1b4721","#113417"],"terminal.foreground":"#adbac7","terminal.ansiBlack":"#545d68","terminal.ansiRed":"#f47067","terminal.ansiGreen":"#57ab5a","terminal.ansiYellow":"#c69026","terminal.ansiBlue":"#539bf5","terminal.ansiMagenta":"#b083f0","terminal.ansiCyan":"#39c5cf","terminal.ansiWhite":"#909dab","terminal.ansiBrightBlack":"#636e7b","terminal.ansiBrightRed":"#ff938a","terminal.ansiBrightGreen":"#6bc46d","terminal.ansiBrightYellow":"#daaa3f","terminal.ansiBrightBlue":"#6cb6ff","terminal.ansiBrightMagenta":"#dcbdfb","terminal.ansiBrightCyan":"#56d4dd","terminal.ansiBrightWhite":"#cdd9e5","editorBracketHighlight.foreground1":"#6cb6ff","editorBracketHighlight.foreground2":"#6bc46d","editorBracketHighlight.foreground3":"#daaa3f","editorBracketHighlight.foreground4":"#ff938a","editorBracketHighlight.foreground5":"#fc8dc7","editorBracketHighlight.foreground6":"#dcbdfb","editorBracketHighlight.unexpectedBracket.foreground":"#768390","gitDecoration.addedResourceForeground":"#57ab5a","gitDecoration.modifiedResourceForeground":"#c69026","gitDecoration.deletedResourceForeground":"#e5534b","gitDecoration.untrackedResourceForeground":"#57ab5a","gitDecoration.ignoredResourceForeground":"#636e7b","gitDecoration.conflictingResourceForeground":"#cc6b2c","gitDecoration.submoduleResourceForeground":"#768390","debugToolBar.background":"#2d333b","editor.stackFrameHighlightBackground":"#ae7c1466","editor.focusedStackFrameHighlightBackground":"#46954a66","peekViewEditor.matchHighlightBackground":"#ae7c1466","peekViewResult.matchHighlightBackground":"#ae7c1466","peekViewEditor.background":"#636e7b1a","peekViewResult.background":"#22272e","settings.headerForeground":"#adbac7","settings.modifiedItemIndicator":"#ae7c1466","welcomePage.buttonBackground":"#373e47","welcomePage.buttonHoverBackground":"#444c56"},"semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#768390"}},{"scope":["constant.other.placeholder","constant.character"],"settings":{"foreground":"#f47067"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language","entity"],"settings":{"foreground":"#6cb6ff"}},{"scope":["entity.name","meta.export.default","meta.definition.variable"],"settings":{"foreground":"#f69d50"}},{"scope":["variable.parameter.function","meta.jsx.children","meta.block","meta.tag.attributes","entity.name.constant","meta.object.member","meta.embedded.expression"],"settings":{"foreground":"#adbac7"}},{"scope":"entity.name.function","settings":{"foreground":"#dcbdfb"}},{"scope":["entity.name.tag","support.class.component"],"settings":{"foreground":"#8ddb8c"}},{"scope":"keyword","settings":{"foreground":"#f47067"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#f47067"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#adbac7"}},{"scope":["string","string punctuation.section.embedded source"],"settings":{"foreground":"#96d0ff"}},{"scope":"support","settings":{"foreground":"#6cb6ff"}},{"scope":"meta.property-name","settings":{"foreground":"#6cb6ff"}},{"scope":"variable","settings":{"foreground":"#f69d50"}},{"scope":"variable.other","settings":{"foreground":"#adbac7"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#ff938a"}},{"scope":"carriage-return","settings":{"fontStyle":"italic underline","background":"#f47067","foreground":"#cdd9e5","content":"^M"}},{"scope":"message.error","settings":{"foreground":"#ff938a"}},{"scope":"string variable","settings":{"foreground":"#6cb6ff"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#96d0ff"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#96d0ff"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#8ddb8c"}},{"scope":"support.constant","settings":{"foreground":"#6cb6ff"}},{"scope":"support.variable","settings":{"foreground":"#6cb6ff"}},{"scope":"support.type.property-name.json","settings":{"foreground":"#8ddb8c"}},{"scope":"meta.module-reference","settings":{"foreground":"#6cb6ff"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#f69d50"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#6cb6ff"}},{"scope":"markup.quote","settings":{"foreground":"#8ddb8c"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#adbac7"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#adbac7"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#6cb6ff"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#5d0f12","foreground":"#ff938a"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#f47067"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#113417","foreground":"#8ddb8c"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#682d0f","foreground":"#f69d50"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"foreground":"#2d333b","background":"#6cb6ff"}},{"scope":"meta.diff.range","settings":{"foreground":"#dcbdfb","fontStyle":"bold"}},{"scope":"meta.diff.header","settings":{"foreground":"#6cb6ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#6cb6ff"}},{"scope":"meta.output","settings":{"foreground":"#6cb6ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#768390"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#ff938a"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"foreground":"#96d0ff"}}]}'),Eo=JSON.parse('{"name":"Material-Theme-Default","semanticHighlighting":true,"tokenColors":[{"name":"Global settings","settings":{"background":"#263238","foreground":"#EEFFFF"}},{"name":"String","scope":"string","settings":{"foreground":"#C3E88D"}},{"name":"Punctuation","scope":"punctuation, constant.other.symbol","settings":{"foreground":"#89DDFF"}},{"name":"String Escape","scope":"constant.character.escape, text.html constant.character.entity.named","settings":{"foreground":"#EEFFFF"}},{"name":"Boolean","scope":"constant.language.boolean","settings":{"foreground":"#ff9cac"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#F78C6C"}},{"name":"Variable","scope":"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments","settings":{"foreground":"#EEFFFF"}},{"name":"Other Keyword","scope":"keyword.other","settings":{"foreground":"#F78C6C"}},{"name":"Keyword","scope":"keyword, modifier, variable.language.this, support.type.object, constant.language","settings":{"foreground":"#89DDFF"}},{"name":"Function call","scope":"entity.name.function, support.function","settings":{"foreground":"#82AAFF"}},{"name":"Storage","scope":"storage.type, storage.modifier, storage.control","settings":{"foreground":"#C792EA"}},{"name":"Modules","scope":"support.module, support.node","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Type","scope":"support.type, constant.other.key","settings":{"foreground":"#FFCB6B"}},{"name":"Type","scope":"entity.name.type, entity.other.inherited-class, entity.other","settings":{"foreground":"#FFCB6B"}},{"name":"Comment","scope":"comment","settings":{"foreground":"#546E7A","fontStyle":"italic"}},{"name":"Comment","scope":"comment punctuation.definition.comment, string.quoted.docstring","settings":{"foreground":"#546E7A","fontStyle":"italic"}},{"name":"Punctuation","scope":"punctuation","settings":{"foreground":"#89DDFF"}},{"name":"Class","scope":"entity.name, entity.name.type.class, support.type, support.class, meta.use","settings":{"foreground":"#FFCB6B"}},{"name":"Class variable","scope":"variable.object.property, meta.field.declaration entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Class method","scope":"meta.definition.method entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Function definition","scope":"meta.function entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Template expression","scope":"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end","settings":{"foreground":"#89DDFF"}},{"name":"Reset embedded/template expression colors","scope":"meta.embedded, source.groovy.embedded, meta.template.expression","settings":{"foreground":"#EEFFFF"}},{"name":"YAML key","scope":"entity.name.tag.yaml","settings":{"foreground":"#f07178"}},{"name":"JSON key","scope":"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json","settings":{"foreground":"#f07178"}},{"name":"JSON constant","scope":"constant.language.json","settings":{"foreground":"#89DDFF"}},{"name":"CSS class","scope":"entity.other.attribute-name.class","settings":{"foreground":"#FFCB6B"}},{"name":"CSS ID","scope":"entity.other.attribute-name.id","settings":{"foreground":"#F78C6C"}},{"name":"CSS tag","scope":"source.css entity.name.tag","settings":{"foreground":"#FFCB6B"}},{"name":"CSS properties","scope":"support.type.property-name.css","settings":{"foreground":"#B2CCD6"}},{"name":"HTML tag outer","scope":"meta.tag, punctuation.definition.tag","settings":{"foreground":"#89DDFF"}},{"name":"HTML tag inner","scope":"entity.name.tag","settings":{"foreground":"#f07178"}},{"name":"HTML tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#C792EA"}},{"name":"HTML entities","scope":"punctuation.definition.entity.html","settings":{"foreground":"#EEFFFF"}},{"name":"Markdown heading","scope":"markup.heading","settings":{"foreground":"#89DDFF"}},{"name":"Markdown link text","scope":"text.html.markdown meta.link.inline, meta.link.reference","settings":{"foreground":"#f07178"}},{"name":"Markdown list item","scope":"text.html.markdown beginning.punctuation.definition.list","settings":{"foreground":"#89DDFF"}},{"name":"Markdown italic","scope":"markup.italic","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Markdown bold","scope":"markup.bold","settings":{"foreground":"#f07178","fontStyle":"bold"}},{"name":"Markdown bold italic","scope":"markup.bold markup.italic, markup.italic markup.bold","settings":{"foreground":"#f07178","fontStyle":"italic bold"}},{"name":"Markdown code block","scope":"markup.fenced_code.block.markdown punctuation.definition.markdown","settings":{"foreground":"#C3E88D"}},{"name":"Markdown inline code","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#C3E88D"}},{"name":"INI property name","scope":"keyword.other.definition.ini","settings":{"foreground":"#f07178"}},{"name":"INI section title","scope":"entity.name.section.group-title.ini","settings":{"foreground":"#89DDFF"}},{"name":"C# class","scope":"source.cs meta.class.identifier storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# class method","scope":"source.cs meta.method.identifier entity.name.function","settings":{"foreground":"#f07178"}},{"name":"C# function call","scope":"source.cs meta.method-call meta.method, source.cs entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"C# type","scope":"source.cs storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# return type","scope":"source.cs meta.method.return-type","settings":{"foreground":"#FFCB6B"}},{"name":"C# preprocessor","scope":"source.cs meta.preprocessor","settings":{"foreground":"#546E7A"}},{"name":"C# namespace","scope":"source.cs entity.name.type.namespace","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Text","scope":"meta.jsx.children, SXNested","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Components name","scope":"support.class.component","settings":{"foreground":"#FFCB6B"}},{"name":"C-related Block Level Variables","scope":"source.cpp meta.block variable.other","settings":{"foreground":"#EEFFFF"}},{"name":"Member Access Meta","scope":"source.python meta.member.access.python","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"source.python meta.function-call.python, meta.function-call.arguments","settings":{"foreground":"#82AAFF"}},{"name":"Blocks","scope":"meta.block","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"entity.name.function.call","settings":{"foreground":"#82AAFF"}},{"name":"Namespaces","scope":"source.php support.other.namespace, source.php meta.use support.class","settings":{"foreground":"#EEFFFF"}},{"name":"Constant keywords","scope":"constant.keyword","settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Entity name","scope":"entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Global settings","settings":{"background":"#263238","foreground":"#EEFFFF"}},{"name":"Markup Deleted","scope":["markup.deleted"],"settings":{"foreground":"#f07178"}},{"name":"Markup Inserted","scope":["markup.inserted"],"settings":{"foreground":"#C3E88D"}},{"name":"Markup Underline","scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"name":"Keyword Control","scope":["keyword.control"],"settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Parameter","scope":["variable.parameter"],"settings":{"fontStyle":"italic"}},{"name":"Python - Self Parameter","scope":["variable.parameter.function.language.special.self.python"],"settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Python - Format Placeholder","scope":["constant.character.format.placeholder.other.python"],"settings":{"foreground":"#F78C6C"}},{"name":"Markdown - Blockquote","scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#89DDFF"}},{"name":"Markdown - Fenced Language","scope":["markup.fenced_code.block"],"settings":{"foreground":"#EEFFFF90"}},{"name":"Markdown - Blockquote Punctuation","scope":["punctuation.definition.quote"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 0","scope":["meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 1","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#FFCB6B"}},{"name":"JSON Key - Level 2","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#F78C6C"}},{"name":"JSON Key - Level 3","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#f07178"}},{"name":"JSON Key - Level 4","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#916b53"}},{"name":"JSON Key - Level 5","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#82AAFF"}},{"name":"JSON Key - Level 6","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 7","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 8","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C3E88D"}}],"colors":{"focusBorder":"#FFFFFF00","foreground":"#EEFFFF","button.background":"#80CBC420","button.foreground":"#ffffff","dropdown.background":"#263238","input.background":"#303C41","inputOption.activeBorder":"#EEFFFF30","list.activeSelectionBackground":"#263238","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#EEFFFF20","list.focusForeground":"#EEFFFF","list.highlightForeground":"#80CBC4","list.hoverBackground":"#263238","list.inactiveSelectionBackground":"#00000030","activityBar.background":"#263238","activityBar.dropBackground":"#f0717880","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#546E7A","sideBar.background":"#263238","sideBarSectionHeader.background":"#263238","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#263238","tab.border":"#263238","tab.activeBorder":"#80CBC4","tab.inactiveBackground":"#263238","tab.activeModifiedBorder":"#607a86","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","editor.background":"#263238","editor.foreground":"#EEFFFF","editorLineNumber.foreground":"#37474F","editorLineNumber.activeForeground":"#607a86","editorCursor.foreground":"#FFCC00","editor.selectionBackground":"#80CBC420","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editor.findMatchHighlight":"#EEFFFF","editor.findRangeHighlightBackground":"#FFCB6B30","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editorWhitespace.foreground":"#EEFFFF40","editorWidget.background":"#263238","editorHoverWidget.background":"#263238","editorMarkerNavigation.background":"#EEFFFF05","peekView.border":"#00000030","peekViewEditor.background":"#EEFFFF05","peekViewResult.background":"#EEFFFF05","peekViewTitle.background":"#EEFFFF05","panel.background":"#263238","panel.border":"#26323860","panelTitle.activeBorder":"#80CBC4","panelTitle.inactiveForeground":"#EEFFFF","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","statusBar.background":"#263238","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.noFolderBackground":"#263238","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#546E7A20","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","titleBar.activeBackground":"#263238","pickerGroup.border":"#FFFFFF1a","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#546E7A","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","debugToolBar.background":"#263238","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","selection.background":"#00000080","editorRuler.foreground":"#37474F","widget.shadow":"#00000030","scrollbar.shadow":"#00000030","editorLink.activeForeground":"#EEFFFF","progressBar.background":"#80CBC4","pickerGroup.foreground":"#80CBC4","tree.indentGuidesStroke":"#37474F","terminalCursor.foreground":"#FFCB6B","terminalCursor.background":"#000000","inputOption.activeBackground":"#EEFFFF30","textLink.foreground":"#80CBC4","textLink.activeForeground":"#EEFFFF","sideBar.foreground":"#607a86","sideBar.border":"#26323860","sideBarTitle.foreground":"#EEFFFF","sideBarSectionHeader.border":"#26323860","panel.dropBackground":"#EEFFFF","panelTitle.activeForeground":"#FFFFFF","editor.lineHighlightBackground":"#00000050","editor.findMatchBackground":"#000000","editor.findMatchHighlightBackground":"#00000050","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlightBorder":"#ffffff30","editorIndentGuide.background":"#37474F70","editorIndentGuide.activeBackground":"#37474F","editorGroup.border":"#00000030","editorGutter.modifiedBackground":"#82AAFF60","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","activityBar.border":"#26323860","activityBar.foreground":"#EEFFFF","activityBar.activeBorder":"#80CBC4","extensionBadge.remoteForeground":"#EEFFFF","scrollbarSlider.background":"#EEFFFF20","scrollbarSlider.hoverBackground":"#EEFFFF10","scrollbarSlider.activeBackground":"#80CBC4","tab.unfocusedActiveBorder":"#546E7A","tab.activeForeground":"#FFFFFF","tab.inactiveForeground":"#607a86","tab.activeBackground":"#263238","tab.unfocusedActiveForeground":"#EEFFFF","editorWidget.resizeBorder":"#80CBC4","editorWidget.border":"#80CBC4","statusBar.border":"#26323860","statusBar.foreground":"#546E7A","editorBracketMatch.border":"#FFCC0050","editorBracketMatch.background":"#263238","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.border":"#263238","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorInfo.foreground":"#82AAFF70","editorWarning.foreground":"#FFCB6B70","editorError.foreground":"#f0717870","editorHoverWidget.border":"#FFFFFF10","titleBar.activeForeground":"#EEFFFF","titleBar.inactiveBackground":"#263238","titleBar.inactiveForeground":"#607a86","titleBar.border":"#26323860","input.foreground":"#EEFFFF","input.placeholderForeground":"#EEFFFF60","input.border":"#FFFFFF10","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","dropdown.border":"#FFFFFF10","quickInput.background":"#263238","quickInput.foreground":"#607a86","list.hoverForeground":"#FFFFFF","list.inactiveSelectionForeground":"#80CBC4","quickInput.list.focusBackground":"#EEFFFF20","editorSuggestWidget.background":"#263238","editorSuggestWidget.foreground":"#EEFFFF","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorSuggestWidget.border":"#FFFFFF10","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","notifications.background":"#263238","notifications.foreground":"#EEFFFF","notificationLink.foreground":"#80CBC4","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentHoverBackground":"#C3E88D","extensionButton.prominentForeground":"#000000","peekViewEditorGutter.background":"#EEFFFF05","peekViewTitleDescription.foreground":"#EEFFFF60","peekViewResult.matchHighlightBackground":"#80CBC420","peekViewEditor.matchHighlightBackground":"#80CBC420","peekViewResult.selectionBackground":"#607a8670","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","gitDecoration.ignoredResourceForeground":"#607a8690","breadcrumb.background":"#263238","breadcrumb.foreground":"#607a86","breadcrumb.focusForeground":"#EEFFFF","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumbPicker.background":"#263238","menu.background":"#263238","menu.foreground":"#EEFFFF","menu.selectionBackground":"#00000050","menu.selectionForeground":"#80CBC4","menu.selectionBorder":"#00000030","menu.separatorBackground":"#EEFFFF","menubar.selectionBackground":"#00000030","menubar.selectionForeground":"#80CBC4","menubar.selectionBorder":"#00000030","settings.dropdownForeground":"#EEFFFF","settings.dropdownBackground":"#263238","settings.numberInputForeground":"#EEFFFF","settings.numberInputBackground":"#263238","settings.textInputForeground":"#EEFFFF","settings.textInputBackground":"#263238","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.checkboxBackground":"#263238","settings.checkboxForeground":"#EEFFFF","listFilterWidget.background":"#00000030","listFilterWidget.outline":"#00000030","listFilterWidget.noMatchesOutline":"#00000030"}}'),_o=JSON.parse('{"name":"Material-Theme-Darker","semanticHighlighting":true,"tokenColors":[{"name":"Global settings","settings":{"background":"#212121","foreground":"#EEFFFF"}},{"name":"String","scope":"string","settings":{"foreground":"#C3E88D"}},{"name":"Punctuation","scope":"punctuation, constant.other.symbol","settings":{"foreground":"#89DDFF"}},{"name":"String Escape","scope":"constant.character.escape, text.html constant.character.entity.named","settings":{"foreground":"#EEFFFF"}},{"name":"Boolean","scope":"constant.language.boolean","settings":{"foreground":"#ff9cac"}},{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#F78C6C"}},{"name":"Variable","scope":"variable, variable.parameter, support.variable, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments","settings":{"foreground":"#EEFFFF"}},{"name":"Other Keyword","scope":"keyword.other","settings":{"foreground":"#F78C6C"}},{"name":"Keyword","scope":"keyword, modifier, variable.language.this, support.type.object, constant.language","settings":{"foreground":"#89DDFF"}},{"name":"Function call","scope":"entity.name.function, support.function","settings":{"foreground":"#82AAFF"}},{"name":"Storage","scope":"storage.type, storage.modifier, storage.control","settings":{"foreground":"#C792EA"}},{"name":"Modules","scope":"support.module, support.node","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Type","scope":"support.type, constant.other.key","settings":{"foreground":"#FFCB6B"}},{"name":"Type","scope":"entity.name.type, entity.other.inherited-class, entity.other","settings":{"foreground":"#FFCB6B"}},{"name":"Comment","scope":"comment","settings":{"foreground":"#545454","fontStyle":"italic"}},{"name":"Comment","scope":"comment punctuation.definition.comment, string.quoted.docstring","settings":{"foreground":"#545454","fontStyle":"italic"}},{"name":"Punctuation","scope":"punctuation","settings":{"foreground":"#89DDFF"}},{"name":"Class","scope":"entity.name, entity.name.type.class, support.type, support.class, meta.use","settings":{"foreground":"#FFCB6B"}},{"name":"Class variable","scope":"variable.object.property, meta.field.declaration entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Class method","scope":"meta.definition.method entity.name.function","settings":{"foreground":"#f07178"}},{"name":"Function definition","scope":"meta.function entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Template expression","scope":"template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end","settings":{"foreground":"#89DDFF"}},{"name":"Reset embedded/template expression colors","scope":"meta.embedded, source.groovy.embedded, meta.template.expression","settings":{"foreground":"#EEFFFF"}},{"name":"YAML key","scope":"entity.name.tag.yaml","settings":{"foreground":"#f07178"}},{"name":"JSON key","scope":"meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json","settings":{"foreground":"#f07178"}},{"name":"JSON constant","scope":"constant.language.json","settings":{"foreground":"#89DDFF"}},{"name":"CSS class","scope":"entity.other.attribute-name.class","settings":{"foreground":"#FFCB6B"}},{"name":"CSS ID","scope":"entity.other.attribute-name.id","settings":{"foreground":"#F78C6C"}},{"name":"CSS tag","scope":"source.css entity.name.tag","settings":{"foreground":"#FFCB6B"}},{"name":"CSS properties","scope":"support.type.property-name.css","settings":{"foreground":"#B2CCD6"}},{"name":"HTML tag outer","scope":"meta.tag, punctuation.definition.tag","settings":{"foreground":"#89DDFF"}},{"name":"HTML tag inner","scope":"entity.name.tag","settings":{"foreground":"#f07178"}},{"name":"HTML tag attribute","scope":"entity.other.attribute-name","settings":{"foreground":"#C792EA"}},{"name":"HTML entities","scope":"punctuation.definition.entity.html","settings":{"foreground":"#EEFFFF"}},{"name":"Markdown heading","scope":"markup.heading","settings":{"foreground":"#89DDFF"}},{"name":"Markdown link text","scope":"text.html.markdown meta.link.inline, meta.link.reference","settings":{"foreground":"#f07178"}},{"name":"Markdown list item","scope":"text.html.markdown beginning.punctuation.definition.list","settings":{"foreground":"#89DDFF"}},{"name":"Markdown italic","scope":"markup.italic","settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Markdown bold","scope":"markup.bold","settings":{"foreground":"#f07178","fontStyle":"bold"}},{"name":"Markdown bold italic","scope":"markup.bold markup.italic, markup.italic markup.bold","settings":{"foreground":"#f07178","fontStyle":"italic bold"}},{"name":"Markdown code block","scope":"markup.fenced_code.block.markdown punctuation.definition.markdown","settings":{"foreground":"#C3E88D"}},{"name":"Markdown inline code","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#C3E88D"}},{"name":"INI property name","scope":"keyword.other.definition.ini","settings":{"foreground":"#f07178"}},{"name":"INI section title","scope":"entity.name.section.group-title.ini","settings":{"foreground":"#89DDFF"}},{"name":"C# class","scope":"source.cs meta.class.identifier storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# class method","scope":"source.cs meta.method.identifier entity.name.function","settings":{"foreground":"#f07178"}},{"name":"C# function call","scope":"source.cs meta.method-call meta.method, source.cs entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"C# type","scope":"source.cs storage.type","settings":{"foreground":"#FFCB6B"}},{"name":"C# return type","scope":"source.cs meta.method.return-type","settings":{"foreground":"#FFCB6B"}},{"name":"C# preprocessor","scope":"source.cs meta.preprocessor","settings":{"foreground":"#545454"}},{"name":"C# namespace","scope":"source.cs entity.name.type.namespace","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Text","scope":"meta.jsx.children, SXNested","settings":{"foreground":"#EEFFFF"}},{"name":"JSX Components name","scope":"support.class.component","settings":{"foreground":"#FFCB6B"}},{"name":"C-related Block Level Variables","scope":"source.cpp meta.block variable.other","settings":{"foreground":"#EEFFFF"}},{"name":"Member Access Meta","scope":"source.python meta.member.access.python","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"source.python meta.function-call.python, meta.function-call.arguments","settings":{"foreground":"#82AAFF"}},{"name":"Blocks","scope":"meta.block","settings":{"foreground":"#f07178"}},{"name":"Function Call","scope":"entity.name.function.call","settings":{"foreground":"#82AAFF"}},{"name":"Namespaces","scope":"source.php support.other.namespace, source.php meta.use support.class","settings":{"foreground":"#EEFFFF"}},{"name":"Constant keywords","scope":"constant.keyword","settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Entity name","scope":"entity.name.function","settings":{"foreground":"#82AAFF"}},{"name":"Global settings","settings":{"background":"#212121","foreground":"#EEFFFF"}},{"name":"Markup Deleted","scope":["markup.deleted"],"settings":{"foreground":"#f07178"}},{"name":"Markup Inserted","scope":["markup.inserted"],"settings":{"foreground":"#C3E88D"}},{"name":"Markup Underline","scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"name":"Keyword Control","scope":["keyword.control"],"settings":{"foreground":"#89DDFF","fontStyle":"italic"}},{"name":"Parameter","scope":["variable.parameter"],"settings":{"fontStyle":"italic"}},{"name":"Python - Self Parameter","scope":["variable.parameter.function.language.special.self.python"],"settings":{"foreground":"#f07178","fontStyle":"italic"}},{"name":"Python - Format Placeholder","scope":["constant.character.format.placeholder.other.python"],"settings":{"foreground":"#F78C6C"}},{"name":"Markdown - Blockquote","scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#89DDFF"}},{"name":"Markdown - Fenced Language","scope":["markup.fenced_code.block"],"settings":{"foreground":"#EEFFFF90"}},{"name":"Markdown - Blockquote Punctuation","scope":["punctuation.definition.quote"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 0","scope":["meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 1","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#FFCB6B"}},{"name":"JSON Key - Level 2","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#F78C6C"}},{"name":"JSON Key - Level 3","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#f07178"}},{"name":"JSON Key - Level 4","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#916b53"}},{"name":"JSON Key - Level 5","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#82AAFF"}},{"name":"JSON Key - Level 6","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#ff9cac"}},{"name":"JSON Key - Level 7","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C792EA"}},{"name":"JSON Key - Level 8","scope":["meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json"],"settings":{"foreground":"#C3E88D"}}],"colors":{"focusBorder":"#FFFFFF00","foreground":"#EEFFFF","button.background":"#61616150","button.foreground":"#ffffff","dropdown.background":"#212121","input.background":"#2B2B2B","inputOption.activeBorder":"#EEFFFF30","list.activeSelectionBackground":"#212121","list.activeSelectionForeground":"#80CBC4","list.dropBackground":"#f0717880","list.focusBackground":"#EEFFFF20","list.focusForeground":"#EEFFFF","list.highlightForeground":"#80CBC4","list.hoverBackground":"#212121","list.inactiveSelectionBackground":"#00000030","activityBar.background":"#212121","activityBar.dropBackground":"#f0717880","activityBarBadge.background":"#80CBC4","activityBarBadge.foreground":"#000000","badge.background":"#00000030","badge.foreground":"#545454","sideBar.background":"#212121","sideBarSectionHeader.background":"#212121","editorGroup.dropBackground":"#f0717880","editorGroup.focusedEmptyBorder":"#f07178","editorGroupHeader.tabsBackground":"#212121","tab.border":"#212121","tab.activeBorder":"#80CBC4","tab.inactiveBackground":"#212121","tab.activeModifiedBorder":"#616161","tab.inactiveModifiedBorder":"#904348","tab.unfocusedActiveModifiedBorder":"#c05a60","tab.unfocusedInactiveModifiedBorder":"#904348","editor.background":"#212121","editor.foreground":"#EEFFFF","editorLineNumber.foreground":"#424242","editorLineNumber.activeForeground":"#616161","editorCursor.foreground":"#FFCC00","editor.selectionBackground":"#61616150","editor.selectionHighlightBackground":"#FFCC0020","editor.wordHighlightBackground":"#ff9cac30","editor.wordHighlightStrongBackground":"#C3E88D30","editor.findMatchHighlight":"#EEFFFF","editor.findRangeHighlightBackground":"#FFCB6B30","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#FFFFFF0d","editorWhitespace.foreground":"#EEFFFF40","editorWidget.background":"#212121","editorHoverWidget.background":"#212121","editorMarkerNavigation.background":"#EEFFFF05","peekView.border":"#00000030","peekViewEditor.background":"#EEFFFF05","peekViewResult.background":"#EEFFFF05","peekViewTitle.background":"#EEFFFF05","panel.background":"#212121","panel.border":"#21212160","panelTitle.activeBorder":"#80CBC4","panelTitle.inactiveForeground":"#EEFFFF","notebook.focusedCellBorder":"#80CBC4","notebook.inactiveFocusedCellBorder":"#80CBC450","statusBar.background":"#212121","statusBar.debuggingBackground":"#C792EA","statusBar.debuggingForeground":"#ffffff","statusBar.noFolderBackground":"#212121","statusBarItem.activeBackground":"#f0717880","statusBarItem.hoverBackground":"#54545420","statusBarItem.remoteBackground":"#80CBC4","statusBarItem.remoteForeground":"#000000","titleBar.activeBackground":"#212121","pickerGroup.border":"#FFFFFF1a","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#82AAFF","terminal.ansiBrightBlack":"#545454","terminal.ansiBrightBlue":"#82AAFF","terminal.ansiBrightCyan":"#89DDFF","terminal.ansiBrightGreen":"#C3E88D","terminal.ansiBrightMagenta":"#C792EA","terminal.ansiBrightRed":"#f07178","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#FFCB6B","terminal.ansiCyan":"#89DDFF","terminal.ansiGreen":"#C3E88D","terminal.ansiMagenta":"#C792EA","terminal.ansiRed":"#f07178","terminal.ansiWhite":"#ffffff","terminal.ansiYellow":"#FFCB6B","debugToolBar.background":"#212121","debugConsole.errorForeground":"#f07178","debugConsole.infoForeground":"#89DDFF","debugConsole.warningForeground":"#FFCB6B","selection.background":"#00000080","editorRuler.foreground":"#424242","widget.shadow":"#00000030","scrollbar.shadow":"#00000030","editorLink.activeForeground":"#EEFFFF","progressBar.background":"#80CBC4","pickerGroup.foreground":"#80CBC4","tree.indentGuidesStroke":"#424242","terminalCursor.foreground":"#FFCB6B","terminalCursor.background":"#000000","inputOption.activeBackground":"#EEFFFF30","textLink.foreground":"#80CBC4","textLink.activeForeground":"#EEFFFF","sideBar.foreground":"#616161","sideBar.border":"#21212160","sideBarTitle.foreground":"#EEFFFF","sideBarSectionHeader.border":"#21212160","panel.dropBackground":"#EEFFFF","panelTitle.activeForeground":"#FFFFFF","editor.lineHighlightBackground":"#00000050","editor.findMatchBackground":"#000000","editor.findMatchHighlightBackground":"#00000050","editor.findMatchBorder":"#80CBC4","editor.findMatchHighlightBorder":"#ffffff30","editorIndentGuide.background":"#42424270","editorIndentGuide.activeBackground":"#424242","editorGroup.border":"#00000030","editorGutter.modifiedBackground":"#82AAFF60","editorGutter.addedBackground":"#C3E88D60","editorGutter.deletedBackground":"#f0717860","activityBar.border":"#21212160","activityBar.foreground":"#EEFFFF","activityBar.activeBorder":"#80CBC4","extensionBadge.remoteForeground":"#EEFFFF","scrollbarSlider.background":"#EEFFFF20","scrollbarSlider.hoverBackground":"#EEFFFF10","scrollbarSlider.activeBackground":"#80CBC4","tab.unfocusedActiveBorder":"#545454","tab.activeForeground":"#FFFFFF","tab.inactiveForeground":"#616161","tab.activeBackground":"#212121","tab.unfocusedActiveForeground":"#EEFFFF","editorWidget.resizeBorder":"#80CBC4","editorWidget.border":"#80CBC4","statusBar.border":"#21212160","statusBar.foreground":"#616161","editorBracketMatch.border":"#FFCC0050","editorBracketMatch.background":"#212121","editorOverviewRuler.findMatchForeground":"#80CBC4","editorOverviewRuler.border":"#212121","editorOverviewRuler.errorForeground":"#f0717840","editorOverviewRuler.infoForeground":"#82AAFF40","editorOverviewRuler.warningForeground":"#FFCB6B40","editorInfo.foreground":"#82AAFF70","editorWarning.foreground":"#FFCB6B70","editorError.foreground":"#f0717870","editorHoverWidget.border":"#FFFFFF10","titleBar.activeForeground":"#EEFFFF","titleBar.inactiveBackground":"#212121","titleBar.inactiveForeground":"#616161","titleBar.border":"#21212160","input.foreground":"#EEFFFF","input.placeholderForeground":"#EEFFFF60","input.border":"#FFFFFF10","inputValidation.errorBorder":"#f07178","inputValidation.infoBorder":"#82AAFF","inputValidation.warningBorder":"#FFCB6B","dropdown.border":"#FFFFFF10","quickInput.background":"#212121","quickInput.foreground":"#616161","list.hoverForeground":"#FFFFFF","list.inactiveSelectionForeground":"#80CBC4","quickInput.list.focusBackground":"#EEFFFF20","editorSuggestWidget.background":"#212121","editorSuggestWidget.foreground":"#EEFFFF","editorSuggestWidget.highlightForeground":"#80CBC4","editorSuggestWidget.selectedBackground":"#00000050","editorSuggestWidget.border":"#FFFFFF10","diffEditor.insertedTextBackground":"#89DDFF20","diffEditor.removedTextBackground":"#ff9cac20","notifications.background":"#212121","notifications.foreground":"#EEFFFF","notificationLink.foreground":"#80CBC4","extensionButton.prominentBackground":"#C3E88D90","extensionButton.prominentHoverBackground":"#C3E88D","extensionButton.prominentForeground":"#000000","peekViewEditorGutter.background":"#EEFFFF05","peekViewTitleDescription.foreground":"#EEFFFF60","peekViewResult.matchHighlightBackground":"#61616150","peekViewEditor.matchHighlightBackground":"#61616150","peekViewResult.selectionBackground":"#61616170","gitDecoration.deletedResourceForeground":"#f0717890","gitDecoration.conflictingResourceForeground":"#FFCB6B90","gitDecoration.modifiedResourceForeground":"#82AAFF90","gitDecoration.untrackedResourceForeground":"#C3E88D90","gitDecoration.ignoredResourceForeground":"#61616190","breadcrumb.background":"#212121","breadcrumb.foreground":"#616161","breadcrumb.focusForeground":"#EEFFFF","breadcrumb.activeSelectionForeground":"#80CBC4","breadcrumbPicker.background":"#212121","menu.background":"#212121","menu.foreground":"#EEFFFF","menu.selectionBackground":"#00000050","menu.selectionForeground":"#80CBC4","menu.selectionBorder":"#00000030","menu.separatorBackground":"#EEFFFF","menubar.selectionBackground":"#00000030","menubar.selectionForeground":"#80CBC4","menubar.selectionBorder":"#00000030","settings.dropdownForeground":"#EEFFFF","settings.dropdownBackground":"#212121","settings.numberInputForeground":"#EEFFFF","settings.numberInputBackground":"#212121","settings.textInputForeground":"#EEFFFF","settings.textInputBackground":"#212121","settings.headerForeground":"#80CBC4","settings.modifiedItemIndicator":"#80CBC4","settings.checkboxBackground":"#212121","settings.checkboxForeground":"#EEFFFF","listFilterWidget.background":"#00000030","listFilterWidget.outline":"#00000030","listFilterWidget.noMatchesOutline":"#00000030"}}'),bo=JSON.parse('{"name":"One Dark Pro","type":"dark","semanticHighlighting":true,"semanticTokenColors":{"enumMember":{"foreground":"#56b6c2"},"variable.constant":{"foreground":"#d19a66"},"variable.defaultLibrary":{"foreground":"#e5c07b"},"variable:dart":{"foreground":"#d19a66"},"property:dart":{"foreground":"#d19a66"},"annotation:dart":{"foreground":"#d19a66"},"parameter.label:dart":{"foreground":"#abb2bf"},"macro":{"foreground":"#d19a66"},"tomlArrayKey":{"foreground":"#e5c07b"}},"tokenColors":[{"scope":"meta.embedded","settings":{"foreground":"#abb2bf"}},{"name":"unison punctuation","scope":"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison","settings":{"foreground":"#e06c75"}},{"name":"haskell variable generic-type","scope":"variable.other.generic-type.haskell","settings":{"foreground":"#c678dd"}},{"name":"haskell storage type","scope":"storage.type.haskell","settings":{"foreground":"#d19a66"}},{"name":"support.variable.magic.python","scope":"support.variable.magic.python","settings":{"foreground":"#e06c75"}},{"name":"punctuation.separator.parameters.python","scope":"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python","settings":{"foreground":"#abb2bf"}},{"name":"variable.parameter.function.language.special.self.python","scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"#e5c07b"}},{"name":"variable.parameter.function.language.special.cls.python","scope":"variable.parameter.function.language.special.cls.python","settings":{"foreground":"#e5c07b"}},{"name":"storage.modifier.lifetime.rust","scope":"storage.modifier.lifetime.rust","settings":{"foreground":"#abb2bf"}},{"name":"support.function.std.rust","scope":"support.function.std.rust","settings":{"foreground":"#61afef"}},{"name":"entity.name.lifetime.rust","scope":"entity.name.lifetime.rust","settings":{"foreground":"#e5c07b"}},{"name":"variable.language.rust","scope":"variable.language.rust","settings":{"foreground":"#e06c75"}},{"name":"support.constant.edge","scope":"support.constant.edge","settings":{"foreground":"#c678dd"}},{"name":"regexp constant character-class","scope":"constant.other.character-class.regexp","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":["keyword.operator.word"],"settings":{"foreground":"#c678dd"}},{"name":"regexp operator.quantifier","scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d19a66"}},{"name":"Text","scope":"variable.parameter.function","settings":{"foreground":"#abb2bf"}},{"name":"Comment Markup Link","scope":"comment markup.link","settings":{"foreground":"#5c6370"}},{"name":"markup diff","scope":"markup.changed.diff","settings":{"foreground":"#e5c07b"}},{"name":"diff","scope":"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff","settings":{"foreground":"#61afef"}},{"name":"inserted.diff","scope":"markup.inserted.diff","settings":{"foreground":"#98c379"}},{"name":"deleted.diff","scope":"markup.deleted.diff","settings":{"foreground":"#e06c75"}},{"name":"c++ function","scope":"meta.function.c,meta.function.cpp","settings":{"foreground":"#e06c75"}},{"name":"c++ block","scope":"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c","settings":{"foreground":"#abb2bf"}},{"name":"js/ts punctuation separator key-value","scope":"punctuation.separator.key-value","settings":{"foreground":"#abb2bf"}},{"name":"js/ts import keyword","scope":"keyword.operator.expression.import","settings":{"foreground":"#61afef"}},{"name":"math js/ts","scope":"support.constant.math","settings":{"foreground":"#e5c07b"}},{"name":"math property js/ts","scope":"support.constant.property.math","settings":{"foreground":"#d19a66"}},{"name":"js/ts variable.other.constant","scope":"variable.other.constant","settings":{"foreground":"#e5c07b"}},{"name":"java type","scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"#e5c07b"}},{"name":"java source","scope":"source.java","settings":{"foreground":"#e06c75"}},{"name":"java modifier.import","scope":"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java","settings":{"foreground":"#abb2bf"}},{"name":"java modifier.import","scope":"meta.method.java","settings":{"foreground":"#61afef"}},{"name":"java modifier.import","scope":"storage.modifier.import.java,storage.type.java,storage.type.generic.java","settings":{"foreground":"#e5c07b"}},{"name":"java instanceof","scope":"keyword.operator.instanceof.java","settings":{"foreground":"#c678dd"}},{"name":"java variable.name","scope":"meta.definition.variable.name.java","settings":{"foreground":"#e06c75"}},{"name":"operator logical","scope":"keyword.operator.logical","settings":{"foreground":"#56b6c2"}},{"name":"operator bitwise","scope":"keyword.operator.bitwise","settings":{"foreground":"#56b6c2"}},{"name":"operator channel","scope":"keyword.operator.channel","settings":{"foreground":"#56b6c2"}},{"name":"support.constant.property-value.scss","scope":"support.constant.property-value.scss,support.constant.property-value.css","settings":{"foreground":"#d19a66"}},{"name":"CSS/SCSS/LESS Operators","scope":"keyword.operator.css,keyword.operator.scss,keyword.operator.less","settings":{"foreground":"#56b6c2"}},{"name":"css color standard name","scope":"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss","settings":{"foreground":"#d19a66"}},{"name":"css comma","scope":"punctuation.separator.list.comma.css","settings":{"foreground":"#abb2bf"}},{"name":"css attribute-name.id","scope":"support.constant.color.w3c-standard-color-name.css","settings":{"foreground":"#d19a66"}},{"name":"css property-name","scope":"support.type.vendored.property-name.css","settings":{"foreground":"#56b6c2"}},{"name":"js/ts module","scope":"support.module.node,support.type.object.module,support.module.node","settings":{"foreground":"#e5c07b"}},{"name":"entity.name.type.module","scope":"entity.name.type.module","settings":{"foreground":"#e5c07b"}},{"name":"js variable readwrite","scope":"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node","settings":{"foreground":"#e06c75"}},{"name":"js/ts json","scope":"support.constant.json","settings":{"foreground":"#d19a66"}},{"name":"js/ts Keyword","scope":["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],"settings":{"foreground":"#c678dd"}},{"name":"js/ts console","scope":"support.type.object.console","settings":{"foreground":"#e06c75"}},{"name":"js/ts support.variable.property.process","scope":"support.variable.property.process","settings":{"foreground":"#d19a66"}},{"name":"js console function","scope":"entity.name.function,support.function.console","settings":{"foreground":"#61afef"}},{"name":"keyword.operator.misc.rust","scope":"keyword.operator.misc.rust","settings":{"foreground":"#abb2bf"}},{"name":"keyword.operator.sigil.rust","scope":"keyword.operator.sigil.rust","settings":{"foreground":"#c678dd"}},{"name":"operator","scope":"keyword.operator.delete","settings":{"foreground":"#c678dd"}},{"name":"js dom","scope":"support.type.object.dom","settings":{"foreground":"#56b6c2"}},{"name":"js dom variable","scope":"support.variable.dom,support.variable.property.dom","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational","settings":{"foreground":"#56b6c2"}},{"name":"C operator assignment","scope":"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp","settings":{"foreground":"#c678dd"}},{"name":"Punctuation","scope":"punctuation.separator.delimiter","settings":{"foreground":"#abb2bf"}},{"name":"Other punctuation .c","scope":"punctuation.separator.c,punctuation.separator.cpp","settings":{"foreground":"#c678dd"}},{"name":"C type posix-reserved","scope":"support.type.posix-reserved.c,support.type.posix-reserved.cpp","settings":{"foreground":"#56b6c2"}},{"name":"keyword.operator.sizeof.c","scope":"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp","settings":{"foreground":"#c678dd"}},{"name":"python parameter","scope":"variable.parameter.function.language.python","settings":{"foreground":"#d19a66"}},{"name":"python type","scope":"support.type.python","settings":{"foreground":"#56b6c2"}},{"name":"python logical","scope":"keyword.operator.logical.python","settings":{"foreground":"#c678dd"}},{"name":"pyCs","scope":"variable.parameter.function.python","settings":{"foreground":"#d19a66"}},{"name":"python block","scope":"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python","settings":{"foreground":"#abb2bf"}},{"name":"python function-call.generic","scope":"meta.function-call.generic.python","settings":{"foreground":"#61afef"}},{"name":"python placeholder reset to normal string","scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#d19a66"}},{"name":"Operators","scope":"keyword.operator","settings":{"foreground":"#abb2bf"}},{"name":"Compound Assignment Operators","scope":"keyword.operator.assignment.compound","settings":{"foreground":"#c678dd"}},{"name":"Compound Assignment Operators js/ts","scope":"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts","settings":{"foreground":"#56b6c2"}},{"name":"Keywords","scope":"keyword","settings":{"foreground":"#c678dd"}},{"name":"Namespaces","scope":"entity.name.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Variables","scope":"variable","settings":{"foreground":"#e06c75"}},{"name":"Variables","scope":"variable.c","settings":{"foreground":"#abb2bf"}},{"name":"Language variables","scope":"variable.language","settings":{"foreground":"#e5c07b"}},{"name":"Java Variables","scope":"token.variable.parameter.java","settings":{"foreground":"#abb2bf"}},{"name":"Java Imports","scope":"import.storage.java","settings":{"foreground":"#e5c07b"}},{"name":"Packages","scope":"token.package.keyword","settings":{"foreground":"#c678dd"}},{"name":"Packages","scope":"token.package","settings":{"foreground":"#abb2bf"}},{"name":"Functions","scope":["entity.name.function","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"#61afef"}},{"name":"Classes","scope":"entity.name.type.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Classes","scope":"support.class, entity.name.type.class","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"#e5c07b"}},{"name":"Class name php","scope":"variable.other.class.php","settings":{"foreground":"#e06c75"}},{"name":"Type Name","scope":"entity.name.type","settings":{"foreground":"#e5c07b"}},{"name":"Keyword Control","scope":"keyword.control","settings":{"foreground":"#c678dd"}},{"name":"Control Elements","scope":"control.elements, keyword.operator.less","settings":{"foreground":"#d19a66"}},{"name":"Methods","scope":"keyword.other.special-method","settings":{"foreground":"#61afef"}},{"name":"Storage","scope":"storage","settings":{"foreground":"#c678dd"}},{"name":"Storage JS TS","scope":"token.storage","settings":{"foreground":"#c678dd"}},{"name":"Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void","scope":"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void","settings":{"foreground":"#c678dd"}},{"name":"Java Storage","scope":"token.storage.type.java","settings":{"foreground":"#e5c07b"}},{"name":"Support","scope":"support.function","settings":{"foreground":"#56b6c2"}},{"name":"Support type","scope":"support.type.property-name","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] toml support","scope":"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml","settings":{"foreground":"#e06c75"}},{"name":"Support type","scope":"support.constant.property-value","settings":{"foreground":"#abb2bf"}},{"name":"Support type","scope":"support.constant.font-name","settings":{"foreground":"#d19a66"}},{"name":"Meta tag","scope":"meta.tag","settings":{"foreground":"#abb2bf"}},{"name":"Strings","scope":"string","settings":{"foreground":"#98c379"}},{"name":"Constant other symbol","scope":"constant.other.symbol","settings":{"foreground":"#56b6c2"}},{"name":"Integers","scope":"constant.numeric","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"constant","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"punctuation.definition.constant","settings":{"foreground":"#d19a66"}},{"name":"Tags","scope":"entity.name.tag","settings":{"foreground":"#e06c75"}},{"name":"Attributes","scope":"entity.other.attribute-name","settings":{"foreground":"#d19a66"}},{"name":"Attribute IDs","scope":"entity.other.attribute-name.id","settings":{"foreground":"#61afef"}},{"name":"Attribute class","scope":"entity.other.attribute-name.class.css","settings":{"foreground":"#d19a66"}},{"name":"Selector","scope":"meta.selector","settings":{"foreground":"#c678dd"}},{"name":"Headings","scope":"markup.heading","settings":{"foreground":"#e06c75"}},{"name":"Headings","scope":"markup.heading punctuation.definition.heading, entity.name.section","settings":{"foreground":"#61afef"}},{"name":"Units","scope":"keyword.other.unit","settings":{"foreground":"#e06c75"}},{"name":"Bold","scope":"markup.bold,todo.bold","settings":{"foreground":"#d19a66"}},{"name":"Bold","scope":"punctuation.definition.bold","settings":{"foreground":"#e5c07b"}},{"name":"markup Italic","scope":"markup.italic, punctuation.definition.italic,todo.emphasis","settings":{"foreground":"#c678dd"}},{"name":"emphasis md","scope":"emphasis md","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown headings","scope":"entity.name.section.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown heading Punctuation Definition","scope":"punctuation.definition.heading.markdown","settings":{"foreground":"#e06c75"}},{"name":"punctuation.definition.list.begin.markdown","scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown heading setext","scope":"markup.heading.setext","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Bold","scope":"punctuation.definition.bold.markdown","settings":{"foreground":"#d19a66"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw punctuation","scope":"punctuation.definition.raw.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown List Punctuation Definition","scope":"punctuation.definition.list.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition String","scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"beginning.punctuation.definition.list.markdown","scope":["beginning.punctuation.definition.list.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Link","scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Underline Link/Image","scope":"markup.underline.link.markdown,markup.underline.link.image.markdown","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown Link Title/Description","scope":"string.other.link.title.markdown,string.other.link.description.markdown","settings":{"foreground":"#61afef"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw","scope":"markup.raw.monospace.asciidoc","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition","scope":"punctuation.definition.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc List Punctuation Definition","scope":"markup.list.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc underline link","scope":"markup.link.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Asciidoc link name","scope":"string.unquoted.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#61afef"}},{"name":"Regular Expressions","scope":"string.regexp","settings":{"foreground":"#56b6c2"}},{"name":"Embedded","scope":"punctuation.section.embedded, variable.interpolation","settings":{"foreground":"#e06c75"}},{"name":"Embedded","scope":"punctuation.section.embedded.begin,punctuation.section.embedded.end","settings":{"foreground":"#c678dd"}},{"name":"illegal","scope":"invalid.illegal","settings":{"foreground":"#ffffff"}},{"name":"illegal","scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"#abb2bf"}},{"scope":"invalid.illegal.unrecognized-tag.html","settings":{"foreground":"#e06c75"}},{"name":"Broken","scope":"invalid.broken","settings":{"foreground":"#ffffff"}},{"name":"Deprecated","scope":"invalid.deprecated","settings":{"foreground":"#ffffff"}},{"name":"html Deprecated","scope":"invalid.deprecated.entity.other.attribute-name.html","settings":{"foreground":"#d19a66"}},{"name":"Unimplemented","scope":"invalid.unimplemented","settings":{"foreground":"#ffffff"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json","scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String","scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation","scope":"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation","settings":{"foreground":"#98c379"}},{"name":"Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json","scope":"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json","settings":{"foreground":"#56b6c2"}},{"name":"[VSCODE-CUSTOM] JSON Property Name","scope":"support.type.property-name.json","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] JSON Punctuation for Property Name","scope":"support.type.property-name.json punctuation","settings":{"foreground":"#e06c75"}},{"name":"laravel blade tag","scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"laravel blade @","scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"use statement for other classes","scope":"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php","settings":{"foreground":"#e5c07b"}},{"name":"error suppression","scope":"keyword.operator.error-control.php","settings":{"foreground":"#c678dd"}},{"name":"php instanceof","scope":"keyword.operator.type.php","settings":{"foreground":"#c678dd"}},{"name":"style double quoted array index normal begin","scope":"punctuation.section.array.begin.php","settings":{"foreground":"#abb2bf"}},{"name":"style double quoted array index normal end","scope":"punctuation.section.array.end.php","settings":{"foreground":"#abb2bf"}},{"name":"php illegal.non-null-typehinted","scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"#f44747"}},{"name":"php types","scope":"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php","settings":{"foreground":"#e5c07b"}},{"name":"php call-function","scope":"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php","settings":{"foreground":"#61afef"}},{"name":"php function-resets","scope":"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php","settings":{"foreground":"#abb2bf"}},{"name":"support php constants","scope":"support.constant.core.rust","settings":{"foreground":"#d19a66"}},{"name":"support php constants","scope":"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php","settings":{"foreground":"#d19a66"}},{"name":"php goto","scope":"entity.name.goto-label.php,support.other.php","settings":{"foreground":"#61afef"}},{"name":"php logical/bitwise operator","scope":"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php","settings":{"foreground":"#56b6c2"}},{"name":"php regexp operator","scope":"keyword.operator.regexp.php","settings":{"foreground":"#c678dd"}},{"name":"php comparison","scope":"keyword.operator.comparison.php","settings":{"foreground":"#56b6c2"}},{"name":"php heredoc/nowdoc","scope":"keyword.operator.heredoc.php,keyword.operator.nowdoc.php","settings":{"foreground":"#c678dd"}},{"name":"python function decorator @","scope":"meta.function.decorator.python","settings":{"foreground":"#61afef"}},{"name":"python function support","scope":"support.token.decorator.python,meta.function.decorator.identifier.python","settings":{"foreground":"#56b6c2"}},{"name":"parameter function js/ts","scope":"function.parameter","settings":{"foreground":"#abb2bf"}},{"name":"brace function","scope":"function.brace","settings":{"foreground":"#abb2bf"}},{"name":"parameter function ruby cs","scope":"function.parameter.ruby, function.parameter.cs","settings":{"foreground":"#abb2bf"}},{"name":"constant.language.symbol.ruby","scope":"constant.language.symbol.ruby","settings":{"foreground":"#56b6c2"}},{"name":"constant.language.symbol.hashkey.ruby","scope":"constant.language.symbol.hashkey.ruby","settings":{"foreground":"#56b6c2"}},{"name":"rgb-value","scope":"rgb-value","settings":{"foreground":"#56b6c2"}},{"name":"rgb value","scope":"inline-color-decoration rgb-value","settings":{"foreground":"#d19a66"}},{"name":"rgb value less","scope":"less rgb-value","settings":{"foreground":"#d19a66"}},{"name":"sass selector","scope":"selector.sass","settings":{"foreground":"#e06c75"}},{"name":"ts primitive/builtin types","scope":"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx","settings":{"foreground":"#e5c07b"}},{"name":"block scope","scope":"block.scope.end,block.scope.begin","settings":{"foreground":"#abb2bf"}},{"name":"cs storage type","scope":"storage.type.cs","settings":{"foreground":"#e5c07b"}},{"name":"cs local variable","scope":"entity.name.variable.local.cs","settings":{"foreground":"#e06c75"}},{"scope":"token.info-token","settings":{"foreground":"#61afef"}},{"scope":"token.warn-token","settings":{"foreground":"#d19a66"}},{"scope":"token.error-token","settings":{"foreground":"#f44747"}},{"scope":"token.debug-token","settings":{"foreground":"#c678dd"}},{"name":"String interpolation","scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#c678dd"}},{"name":"Reset JavaScript string interpolation expression","scope":["meta.template.expression"],"settings":{"foreground":"#abb2bf"}},{"name":"Import module JS","scope":["keyword.operator.module"],"settings":{"foreground":"#c678dd"}},{"name":"js Flowtype","scope":["support.type.type.flowtype"],"settings":{"foreground":"#61afef"}},{"name":"js Flow","scope":["support.type.primitive"],"settings":{"foreground":"#e5c07b"}},{"name":"js class prop","scope":["meta.property.object"],"settings":{"foreground":"#e06c75"}},{"name":"js func parameter","scope":["variable.parameter.function.js"],"settings":{"foreground":"#e06c75"}},{"name":"js template literals begin","scope":["keyword.other.template.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals end","scope":["keyword.other.template.end"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces begin","scope":["keyword.other.substitution.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces end","scope":["keyword.other.substitution.end"],"settings":{"foreground":"#98c379"}},{"name":"js operator.assignment","scope":["keyword.operator.assignment"],"settings":{"foreground":"#56b6c2"}},{"name":"go operator","scope":["keyword.operator.assignment.go"],"settings":{"foreground":"#e5c07b"}},{"name":"go operator","scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"#c678dd"}},{"name":"Go package name","scope":["entity.name.package.go"],"settings":{"foreground":"#e5c07b"}},{"name":"elm prelude","scope":["support.type.prelude.elm"],"settings":{"foreground":"#56b6c2"}},{"name":"elm constant","scope":["support.constant.elm"],"settings":{"foreground":"#d19a66"}},{"name":"template literal","scope":["punctuation.quasi.element"],"settings":{"foreground":"#c678dd"}},{"name":"html/pug (jade) escaped characters and entities","scope":["constant.character.entity"],"settings":{"foreground":"#e06c75"}},{"name":"styling css pseudo-elements/classes to be able to differentiate from classes which are the same colour","scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#56b6c2"}},{"name":"Clojure globals","scope":["entity.global.clojure"],"settings":{"foreground":"#e5c07b"}},{"name":"Clojure symbols","scope":["meta.symbol.clojure"],"settings":{"foreground":"#e06c75"}},{"name":"Clojure constants","scope":["constant.keyword.clojure"],"settings":{"foreground":"#56b6c2"}},{"name":"CoffeeScript Function Argument","scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"#e06c75"}},{"name":"Ini Default Text","scope":["source.ini"],"settings":{"foreground":"#98c379"}},{"name":"Makefile prerequisities","scope":["meta.scope.prerequisites.makefile"],"settings":{"foreground":"#e06c75"}},{"name":"Makefile text colour","scope":["source.makefile"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy import names","scope":["storage.modifier.import.groovy"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy Methods","scope":["meta.method.groovy"],"settings":{"foreground":"#61afef"}},{"name":"Groovy Variables","scope":["meta.definition.variable.name.groovy"],"settings":{"foreground":"#e06c75"}},{"name":"Groovy Inheritance","scope":["meta.definition.class.inherited.classes.groovy"],"settings":{"foreground":"#98c379"}},{"name":"HLSL Semantic","scope":["support.variable.semantic.hlsl"],"settings":{"foreground":"#e5c07b"}},{"name":"HLSL Types","scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"#c678dd"}},{"name":"SQL Variables","scope":["text.variable","text.bracketed"],"settings":{"foreground":"#e06c75"}},{"name":"types","scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 1, keyword","scope":["entity.name.function.xi"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 2, callable","scope":["entity.name.class.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 3, property","scope":["constant.character.character-class.regexp.xi"],"settings":{"foreground":"#e06c75"}},{"name":"heading 4, type, class, interface","scope":["constant.regexp.xi"],"settings":{"foreground":"#c678dd"}},{"name":"heading 5, enums, preprocessor, constant, decorator","scope":["keyword.control.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 6, number","scope":["invalid.xi"],"settings":{"foreground":"#abb2bf"}},{"name":"string","scope":["beginning.punctuation.definition.quote.markdown.xi"],"settings":{"foreground":"#98c379"}},{"name":"comments","scope":["beginning.punctuation.definition.list.markdown.xi"],"settings":{"foreground":"#7f848e"}},{"name":"link","scope":["constant.character.xi"],"settings":{"foreground":"#61afef"}},{"name":"accent","scope":["accent.xi"],"settings":{"foreground":"#61afef"}},{"name":"wikiword","scope":["wikiword.xi"],"settings":{"foreground":"#d19a66"}},{"name":"language operators like \'+\', \'-\' etc","scope":["constant.other.color.rgb-value.xi"],"settings":{"foreground":"#ffffff"}},{"name":"elements to dim","scope":["punctuation.definition.tag.xi"],"settings":{"foreground":"#5c6370"}},{"name":"C++/C#","scope":["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"#e5c07b"}},{"name":"Markdown underscore-style headers","scope":["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"meta.brace.square","scope":[" meta.brace.square"],"settings":{"foreground":"#abb2bf"}},{"name":"Comments","scope":"comment, punctuation.definition.comment","settings":{"foreground":"#7f848e","fontStyle":"italic"}},{"name":"[VSCODE-CUSTOM] Markdown Quote","scope":"markup.quote.markdown","settings":{"foreground":"#5c6370"}},{"name":"punctuation.definition.block.sequence.item.yaml","scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"#abb2bf"}},{"scope":["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],"settings":{"foreground":"#56b6c2"}},{"scope":["entity.name.variable.parameter.cs"],"settings":{"foreground":"#e5c07b"}},{"scope":["entity.name.variable.field.cs"],"settings":{"foreground":"#e06c75"}},{"name":"Deleted","scope":"markup.deleted","settings":{"foreground":"#e06c75"}},{"name":"Inserted","scope":"markup.inserted","settings":{"foreground":"#98c379"}},{"name":"Underline","scope":"markup.underline","settings":{"fontStyle":"underline"}},{"name":"punctuation.section.embedded.begin.php","scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#BE5046"}},{"name":"support.other.namespace.php","scope":["support.other.namespace.php"],"settings":{"foreground":"#abb2bf"}},{"name":"variable.other.object","scope":["variable.other.object"],"settings":{"foreground":"#e5c07b"}},{"name":"variable.other.constant.property","scope":["variable.other.constant.property"],"settings":{"foreground":"#e06c75"}},{"name":"entity.other.inherited-class","scope":["entity.other.inherited-class"],"settings":{"foreground":"#e5c07b"}},{"name":"c variable readwrite","scope":"variable.other.readwrite.c","settings":{"foreground":"#e06c75"}},{"name":"php scope","scope":"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php","settings":{"foreground":"#abb2bf"}},{"name":"Assembly","scope":["constant.numeric.decimal.asm.x86_64"],"settings":{"foreground":"#c678dd"}},{"scope":["support.other.parenthesis.regexp"],"settings":{"foreground":"#d19a66"}},{"scope":["constant.character.escape"],"settings":{"foreground":"#56b6c2"}},{"scope":["string.regexp"],"settings":{"foreground":"#e06c75"}},{"name":"js/ts italic","scope":"entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super","settings":{"fontStyle":"italic"}},{"name":"comment","scope":"comment.line.double-slash,comment.block.documentation","settings":{"fontStyle":"italic"}},{"name":"Python Keyword Control","scope":"keyword.control.import.python,keyword.control.flow.python,keyword.operator.logical.python","settings":{"fontStyle":"italic"}},{"name":"markup.italic.markdown","scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}}],"colors":{"activityBar.background":"#282c34","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#282c34","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#21252b","descriptionForeground":"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#21252b","dropdown.border":"#21252b","editor.background":"#282c34","editor.findMatchBackground":"#42557b","editor.findMatchBorder":"#457dff","editor.findMatchHighlightBackground":"#6199ff2f","editor.foreground":"#abb2bf","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorHoverWidget.highlightForeground":"#61afef","editorInlayHint.foreground":"#abb2bf","editorInlayHint.background":"#2c313c","editor.lineHighlightBackground":"#2c313c","editorLineNumber.activeForeground":"#abb2bf","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#21252b","editorHoverWidget.background":"#21252b","editorHoverWidget.border":"#181a1f","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#21252b","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#21252b","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#21252b","focusBorder":"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#21252b","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#282c34","settings.headerForeground":"#fff","sideBar.background":"#21252b","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#282c34","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#21252b","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#21252b","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#282c34","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#21252b","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#282c34","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#282c34","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#21252b","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"}}'),To=JSON.parse('{"name":"One Dark Pro","type":"dark","semanticHighlighting":true,"semanticTokenColors":{"enumMember":{"foreground":"#56b6c2"},"variable.constant":{"foreground":"#d19a66"},"variable.defaultLibrary":{"foreground":"#e5c07b"},"variable:dart":{"foreground":"#d19a66"},"property:dart":{"foreground":"#d19a66"},"annotation:dart":{"foreground":"#d19a66"},"parameter.label:dart":{"foreground":"#abb2bf"},"macro":{"foreground":"#d19a66"},"tomlArrayKey":{"foreground":"#e5c07b"}},"tokenColors":[{"scope":"meta.embedded","settings":{"foreground":"#abb2bf"}},{"name":"unison punctuation","scope":"punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison","settings":{"foreground":"#e06c75"}},{"name":"haskell variable generic-type","scope":"variable.other.generic-type.haskell","settings":{"foreground":"#c678dd"}},{"name":"haskell storage type","scope":"storage.type.haskell","settings":{"foreground":"#d19a66"}},{"name":"support.variable.magic.python","scope":"support.variable.magic.python","settings":{"foreground":"#e06c75"}},{"name":"punctuation.separator.parameters.python","scope":"punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python","settings":{"foreground":"#abb2bf"}},{"name":"variable.parameter.function.language.special.self.python","scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"#e5c07b"}},{"name":"variable.parameter.function.language.special.cls.python","scope":"variable.parameter.function.language.special.cls.python","settings":{"foreground":"#e5c07b"}},{"name":"storage.modifier.lifetime.rust","scope":"storage.modifier.lifetime.rust","settings":{"foreground":"#abb2bf"}},{"name":"support.function.std.rust","scope":"support.function.std.rust","settings":{"foreground":"#61afef"}},{"name":"entity.name.lifetime.rust","scope":"entity.name.lifetime.rust","settings":{"foreground":"#e5c07b"}},{"name":"variable.language.rust","scope":"variable.language.rust","settings":{"foreground":"#e06c75"}},{"name":"support.constant.edge","scope":"support.constant.edge","settings":{"foreground":"#c678dd"}},{"name":"regexp constant character-class","scope":"constant.other.character-class.regexp","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":["keyword.operator.word"],"settings":{"foreground":"#c678dd"}},{"name":"regexp operator.quantifier","scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#d19a66"}},{"name":"Text","scope":"variable.parameter.function","settings":{"foreground":"#abb2bf"}},{"name":"Comment Markup Link","scope":"comment markup.link","settings":{"foreground":"#5c6370"}},{"name":"markup diff","scope":"markup.changed.diff","settings":{"foreground":"#e5c07b"}},{"name":"diff","scope":"meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff","settings":{"foreground":"#61afef"}},{"name":"inserted.diff","scope":"markup.inserted.diff","settings":{"foreground":"#98c379"}},{"name":"deleted.diff","scope":"markup.deleted.diff","settings":{"foreground":"#e06c75"}},{"name":"c++ function","scope":"meta.function.c,meta.function.cpp","settings":{"foreground":"#e06c75"}},{"name":"c++ block","scope":"punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c","settings":{"foreground":"#abb2bf"}},{"name":"js/ts punctuation separator key-value","scope":"punctuation.separator.key-value","settings":{"foreground":"#abb2bf"}},{"name":"js/ts import keyword","scope":"keyword.operator.expression.import","settings":{"foreground":"#61afef"}},{"name":"math js/ts","scope":"support.constant.math","settings":{"foreground":"#e5c07b"}},{"name":"math property js/ts","scope":"support.constant.property.math","settings":{"foreground":"#d19a66"}},{"name":"js/ts variable.other.constant","scope":"variable.other.constant","settings":{"foreground":"#e5c07b"}},{"name":"java type","scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"#e5c07b"}},{"name":"java source","scope":"source.java","settings":{"foreground":"#e06c75"}},{"name":"java modifier.import","scope":"punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java","settings":{"foreground":"#abb2bf"}},{"name":"java modifier.import","scope":"meta.method.java","settings":{"foreground":"#61afef"}},{"name":"java modifier.import","scope":"storage.modifier.import.java,storage.type.java,storage.type.generic.java","settings":{"foreground":"#e5c07b"}},{"name":"java instanceof","scope":"keyword.operator.instanceof.java","settings":{"foreground":"#c678dd"}},{"name":"java variable.name","scope":"meta.definition.variable.name.java","settings":{"foreground":"#e06c75"}},{"name":"operator logical","scope":"keyword.operator.logical","settings":{"foreground":"#56b6c2"}},{"name":"operator bitwise","scope":"keyword.operator.bitwise","settings":{"foreground":"#56b6c2"}},{"name":"operator channel","scope":"keyword.operator.channel","settings":{"foreground":"#56b6c2"}},{"name":"support.constant.property-value.scss","scope":"support.constant.property-value.scss,support.constant.property-value.css","settings":{"foreground":"#d19a66"}},{"name":"CSS/SCSS/LESS Operators","scope":"keyword.operator.css,keyword.operator.scss,keyword.operator.less","settings":{"foreground":"#56b6c2"}},{"name":"css color standard name","scope":"support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss","settings":{"foreground":"#d19a66"}},{"name":"css comma","scope":"punctuation.separator.list.comma.css","settings":{"foreground":"#abb2bf"}},{"name":"css attribute-name.id","scope":"support.constant.color.w3c-standard-color-name.css","settings":{"foreground":"#d19a66"}},{"name":"css property-name","scope":"support.type.vendored.property-name.css","settings":{"foreground":"#56b6c2"}},{"name":"js/ts module","scope":"support.module.node,support.type.object.module,support.module.node","settings":{"foreground":"#e5c07b"}},{"name":"entity.name.type.module","scope":"entity.name.type.module","settings":{"foreground":"#e5c07b"}},{"name":"js variable readwrite","scope":"variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node","settings":{"foreground":"#e06c75"}},{"name":"js/ts json","scope":"support.constant.json","settings":{"foreground":"#d19a66"}},{"name":"js/ts Keyword","scope":["keyword.operator.expression.instanceof","keyword.operator.new","keyword.operator.ternary","keyword.operator.optional","keyword.operator.expression.keyof"],"settings":{"foreground":"#c678dd"}},{"name":"js/ts console","scope":"support.type.object.console","settings":{"foreground":"#e06c75"}},{"name":"js/ts support.variable.property.process","scope":"support.variable.property.process","settings":{"foreground":"#d19a66"}},{"name":"js console function","scope":"entity.name.function,support.function.console","settings":{"foreground":"#61afef"}},{"name":"keyword.operator.misc.rust","scope":"keyword.operator.misc.rust","settings":{"foreground":"#abb2bf"}},{"name":"keyword.operator.sigil.rust","scope":"keyword.operator.sigil.rust","settings":{"foreground":"#c678dd"}},{"name":"operator","scope":"keyword.operator.delete","settings":{"foreground":"#c678dd"}},{"name":"js dom","scope":"support.type.object.dom","settings":{"foreground":"#56b6c2"}},{"name":"js dom variable","scope":"support.variable.dom,support.variable.property.dom","settings":{"foreground":"#e06c75"}},{"name":"keyword.operator","scope":"keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational","settings":{"foreground":"#56b6c2"}},{"name":"C operator assignment","scope":"keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp","settings":{"foreground":"#c678dd"}},{"name":"Punctuation","scope":"punctuation.separator.delimiter","settings":{"foreground":"#abb2bf"}},{"name":"Other punctuation .c","scope":"punctuation.separator.c,punctuation.separator.cpp","settings":{"foreground":"#c678dd"}},{"name":"C type posix-reserved","scope":"support.type.posix-reserved.c,support.type.posix-reserved.cpp","settings":{"foreground":"#56b6c2"}},{"name":"keyword.operator.sizeof.c","scope":"keyword.operator.sizeof.c,keyword.operator.sizeof.cpp","settings":{"foreground":"#c678dd"}},{"name":"python parameter","scope":"variable.parameter.function.language.python","settings":{"foreground":"#d19a66"}},{"name":"python type","scope":"support.type.python","settings":{"foreground":"#56b6c2"}},{"name":"python logical","scope":"keyword.operator.logical.python","settings":{"foreground":"#c678dd"}},{"name":"pyCs","scope":"variable.parameter.function.python","settings":{"foreground":"#d19a66"}},{"name":"python block","scope":"punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python","settings":{"foreground":"#abb2bf"}},{"name":"python function-call.generic","scope":"meta.function-call.generic.python","settings":{"foreground":"#61afef"}},{"name":"python placeholder reset to normal string","scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#d19a66"}},{"name":"Operators","scope":"keyword.operator","settings":{"foreground":"#abb2bf"}},{"name":"Compound Assignment Operators","scope":"keyword.operator.assignment.compound","settings":{"foreground":"#c678dd"}},{"name":"Compound Assignment Operators js/ts","scope":"keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts","settings":{"foreground":"#56b6c2"}},{"name":"Keywords","scope":"keyword","settings":{"foreground":"#c678dd"}},{"name":"Namespaces","scope":"entity.name.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Variables","scope":"variable","settings":{"foreground":"#e06c75"}},{"name":"Variables","scope":"variable.c","settings":{"foreground":"#abb2bf"}},{"name":"Language variables","scope":"variable.language","settings":{"foreground":"#e5c07b"}},{"name":"Java Variables","scope":"token.variable.parameter.java","settings":{"foreground":"#abb2bf"}},{"name":"Java Imports","scope":"import.storage.java","settings":{"foreground":"#e5c07b"}},{"name":"Packages","scope":"token.package.keyword","settings":{"foreground":"#c678dd"}},{"name":"Packages","scope":"token.package","settings":{"foreground":"#abb2bf"}},{"name":"Functions","scope":["entity.name.function","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"#61afef"}},{"name":"Classes","scope":"entity.name.type.namespace","settings":{"foreground":"#e5c07b"}},{"name":"Classes","scope":"support.class, entity.name.type.class","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"#e5c07b"}},{"name":"Class name","scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"#e5c07b"}},{"name":"Class name php","scope":"variable.other.class.php","settings":{"foreground":"#e06c75"}},{"name":"Type Name","scope":"entity.name.type","settings":{"foreground":"#e5c07b"}},{"name":"Keyword Control","scope":"keyword.control","settings":{"foreground":"#c678dd"}},{"name":"Control Elements","scope":"control.elements, keyword.operator.less","settings":{"foreground":"#d19a66"}},{"name":"Methods","scope":"keyword.other.special-method","settings":{"foreground":"#61afef"}},{"name":"Storage","scope":"storage","settings":{"foreground":"#c678dd"}},{"name":"Storage JS TS","scope":"token.storage","settings":{"foreground":"#c678dd"}},{"name":"Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void","scope":"keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void","settings":{"foreground":"#c678dd"}},{"name":"Java Storage","scope":"token.storage.type.java","settings":{"foreground":"#e5c07b"}},{"name":"Support","scope":"support.function","settings":{"foreground":"#56b6c2"}},{"name":"Support type","scope":"support.type.property-name","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] toml support","scope":"support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml","settings":{"foreground":"#e06c75"}},{"name":"Support type","scope":"support.constant.property-value","settings":{"foreground":"#abb2bf"}},{"name":"Support type","scope":"support.constant.font-name","settings":{"foreground":"#d19a66"}},{"name":"Meta tag","scope":"meta.tag","settings":{"foreground":"#abb2bf"}},{"name":"Strings","scope":"string","settings":{"foreground":"#98c379"}},{"name":"Constant other symbol","scope":"constant.other.symbol","settings":{"foreground":"#56b6c2"}},{"name":"Integers","scope":"constant.numeric","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"constant","settings":{"foreground":"#d19a66"}},{"name":"Constants","scope":"punctuation.definition.constant","settings":{"foreground":"#d19a66"}},{"name":"Tags","scope":"entity.name.tag","settings":{"foreground":"#e06c75"}},{"name":"Attributes","scope":"entity.other.attribute-name","settings":{"foreground":"#d19a66"}},{"name":"Attribute IDs","scope":"entity.other.attribute-name.id","settings":{"foreground":"#61afef"}},{"name":"Attribute class","scope":"entity.other.attribute-name.class.css","settings":{"foreground":"#d19a66"}},{"name":"Selector","scope":"meta.selector","settings":{"foreground":"#c678dd"}},{"name":"Headings","scope":"markup.heading","settings":{"foreground":"#e06c75"}},{"name":"Headings","scope":"markup.heading punctuation.definition.heading, entity.name.section","settings":{"foreground":"#61afef"}},{"name":"Units","scope":"keyword.other.unit","settings":{"foreground":"#e06c75"}},{"name":"Bold","scope":"markup.bold,todo.bold","settings":{"foreground":"#d19a66"}},{"name":"Bold","scope":"punctuation.definition.bold","settings":{"foreground":"#e5c07b"}},{"name":"markup Italic","scope":"markup.italic, punctuation.definition.italic,todo.emphasis","settings":{"foreground":"#c678dd"}},{"name":"emphasis md","scope":"emphasis md","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown headings","scope":"entity.name.section.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown heading Punctuation Definition","scope":"punctuation.definition.heading.markdown","settings":{"foreground":"#e06c75"}},{"name":"punctuation.definition.list.begin.markdown","scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown heading setext","scope":"markup.heading.setext","settings":{"foreground":"#abb2bf"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Bold","scope":"punctuation.definition.bold.markdown","settings":{"foreground":"#d19a66"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw","scope":"markup.inline.raw.string.markdown","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Markdown Inline Raw punctuation","scope":"punctuation.definition.raw.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown List Punctuation Definition","scope":"punctuation.definition.list.markdown","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition String","scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown","punctuation.definition.metadata.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"beginning.punctuation.definition.list.markdown","scope":["beginning.punctuation.definition.list.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Punctuation Definition Link","scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] Markdown Underline Link/Image","scope":"markup.underline.link.markdown,markup.underline.link.image.markdown","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Markdown Link Title/Description","scope":"string.other.link.title.markdown,string.other.link.description.markdown","settings":{"foreground":"#61afef"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw","scope":"markup.raw.monospace.asciidoc","settings":{"foreground":"#98c379"}},{"name":"[VSCODE-CUSTOM] Asciidoc Inline Raw Punctuation Definition","scope":"punctuation.definition.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc List Punctuation Definition","scope":"markup.list.asciidoc","settings":{"foreground":"#e5c07b"}},{"name":"[VSCODE-CUSTOM] Asciidoc underline link","scope":"markup.link.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#c678dd"}},{"name":"[VSCODE-CUSTOM] Asciidoc link name","scope":"string.unquoted.asciidoc,markup.other.url.asciidoc","settings":{"foreground":"#61afef"}},{"name":"Regular Expressions","scope":"string.regexp","settings":{"foreground":"#56b6c2"}},{"name":"Embedded","scope":"punctuation.section.embedded, variable.interpolation","settings":{"foreground":"#e06c75"}},{"name":"Embedded","scope":"punctuation.section.embedded.begin,punctuation.section.embedded.end","settings":{"foreground":"#c678dd"}},{"name":"illegal","scope":"invalid.illegal","settings":{"foreground":"#ffffff"}},{"name":"illegal","scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"#abb2bf"}},{"scope":"invalid.illegal.unrecognized-tag.html","settings":{"foreground":"#e06c75"}},{"name":"Broken","scope":"invalid.broken","settings":{"foreground":"#ffffff"}},{"name":"Deprecated","scope":"invalid.deprecated","settings":{"foreground":"#ffffff"}},{"name":"html Deprecated","scope":"invalid.deprecated.entity.other.attribute-name.html","settings":{"foreground":"#d19a66"}},{"name":"Unimplemented","scope":"invalid.unimplemented","settings":{"foreground":"#ffffff"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json","scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String","scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"#e06c75"}},{"name":"Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation","scope":"source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation","settings":{"foreground":"#98c379"}},{"name":"Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json","scope":"source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json","settings":{"foreground":"#56b6c2"}},{"name":"[VSCODE-CUSTOM] JSON Property Name","scope":"support.type.property-name.json","settings":{"foreground":"#e06c75"}},{"name":"[VSCODE-CUSTOM] JSON Punctuation for Property Name","scope":"support.type.property-name.json punctuation","settings":{"foreground":"#e06c75"}},{"name":"laravel blade tag","scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"laravel blade @","scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"#c678dd"}},{"name":"use statement for other classes","scope":"support.other.namespace.use.php,support.other.namespace.use-as.php,entity.other.alias.php,meta.interface.php","settings":{"foreground":"#e5c07b"}},{"name":"error suppression","scope":"keyword.operator.error-control.php","settings":{"foreground":"#c678dd"}},{"name":"php instanceof","scope":"keyword.operator.type.php","settings":{"foreground":"#c678dd"}},{"name":"style double quoted array index normal begin","scope":"punctuation.section.array.begin.php","settings":{"foreground":"#abb2bf"}},{"name":"style double quoted array index normal end","scope":"punctuation.section.array.end.php","settings":{"foreground":"#abb2bf"}},{"name":"php illegal.non-null-typehinted","scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"#f44747"}},{"name":"php types","scope":"storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php","settings":{"foreground":"#e5c07b"}},{"name":"php call-function","scope":"meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php","settings":{"foreground":"#61afef"}},{"name":"php function-resets","scope":"punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php","settings":{"foreground":"#abb2bf"}},{"name":"support php constants","scope":"support.constant.core.rust","settings":{"foreground":"#d19a66"}},{"name":"support php constants","scope":"support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php","settings":{"foreground":"#d19a66"}},{"name":"php goto","scope":"entity.name.goto-label.php,support.other.php","settings":{"foreground":"#61afef"}},{"name":"php logical/bitwise operator","scope":"keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php","settings":{"foreground":"#56b6c2"}},{"name":"php regexp operator","scope":"keyword.operator.regexp.php","settings":{"foreground":"#c678dd"}},{"name":"php comparison","scope":"keyword.operator.comparison.php","settings":{"foreground":"#56b6c2"}},{"name":"php heredoc/nowdoc","scope":"keyword.operator.heredoc.php,keyword.operator.nowdoc.php","settings":{"foreground":"#c678dd"}},{"name":"python function decorator @","scope":"meta.function.decorator.python","settings":{"foreground":"#61afef"}},{"name":"python function support","scope":"support.token.decorator.python,meta.function.decorator.identifier.python","settings":{"foreground":"#56b6c2"}},{"name":"parameter function js/ts","scope":"function.parameter","settings":{"foreground":"#abb2bf"}},{"name":"brace function","scope":"function.brace","settings":{"foreground":"#abb2bf"}},{"name":"parameter function ruby cs","scope":"function.parameter.ruby, function.parameter.cs","settings":{"foreground":"#abb2bf"}},{"name":"constant.language.symbol.ruby","scope":"constant.language.symbol.ruby","settings":{"foreground":"#56b6c2"}},{"name":"constant.language.symbol.hashkey.ruby","scope":"constant.language.symbol.hashkey.ruby","settings":{"foreground":"#56b6c2"}},{"name":"rgb-value","scope":"rgb-value","settings":{"foreground":"#56b6c2"}},{"name":"rgb value","scope":"inline-color-decoration rgb-value","settings":{"foreground":"#d19a66"}},{"name":"rgb value less","scope":"less rgb-value","settings":{"foreground":"#d19a66"}},{"name":"sass selector","scope":"selector.sass","settings":{"foreground":"#e06c75"}},{"name":"ts primitive/builtin types","scope":"support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx","settings":{"foreground":"#e5c07b"}},{"name":"block scope","scope":"block.scope.end,block.scope.begin","settings":{"foreground":"#abb2bf"}},{"name":"cs storage type","scope":"storage.type.cs","settings":{"foreground":"#e5c07b"}},{"name":"cs local variable","scope":"entity.name.variable.local.cs","settings":{"foreground":"#e06c75"}},{"scope":"token.info-token","settings":{"foreground":"#61afef"}},{"scope":"token.warn-token","settings":{"foreground":"#d19a66"}},{"scope":"token.error-token","settings":{"foreground":"#f44747"}},{"scope":"token.debug-token","settings":{"foreground":"#c678dd"}},{"name":"String interpolation","scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end","punctuation.section.embedded"],"settings":{"foreground":"#c678dd"}},{"name":"Reset JavaScript string interpolation expression","scope":["meta.template.expression"],"settings":{"foreground":"#abb2bf"}},{"name":"Import module JS","scope":["keyword.operator.module"],"settings":{"foreground":"#c678dd"}},{"name":"js Flowtype","scope":["support.type.type.flowtype"],"settings":{"foreground":"#61afef"}},{"name":"js Flow","scope":["support.type.primitive"],"settings":{"foreground":"#e5c07b"}},{"name":"js class prop","scope":["meta.property.object"],"settings":{"foreground":"#e06c75"}},{"name":"js func parameter","scope":["variable.parameter.function.js"],"settings":{"foreground":"#e06c75"}},{"name":"js template literals begin","scope":["keyword.other.template.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals end","scope":["keyword.other.template.end"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces begin","scope":["keyword.other.substitution.begin"],"settings":{"foreground":"#98c379"}},{"name":"js template literals variable braces end","scope":["keyword.other.substitution.end"],"settings":{"foreground":"#98c379"}},{"name":"js operator.assignment","scope":["keyword.operator.assignment"],"settings":{"foreground":"#56b6c2"}},{"name":"go operator","scope":["keyword.operator.assignment.go"],"settings":{"foreground":"#e5c07b"}},{"name":"go operator","scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"#c678dd"}},{"name":"Go package name","scope":["entity.name.package.go"],"settings":{"foreground":"#e5c07b"}},{"name":"elm prelude","scope":["support.type.prelude.elm"],"settings":{"foreground":"#56b6c2"}},{"name":"elm constant","scope":["support.constant.elm"],"settings":{"foreground":"#d19a66"}},{"name":"template literal","scope":["punctuation.quasi.element"],"settings":{"foreground":"#c678dd"}},{"name":"html/pug (jade) escaped characters and entities","scope":["constant.character.entity"],"settings":{"foreground":"#e06c75"}},{"name":"styling css pseudo-elements/classes to be able to differentiate from classes which are the same colour","scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#56b6c2"}},{"name":"Clojure globals","scope":["entity.global.clojure"],"settings":{"foreground":"#e5c07b"}},{"name":"Clojure symbols","scope":["meta.symbol.clojure"],"settings":{"foreground":"#e06c75"}},{"name":"Clojure constants","scope":["constant.keyword.clojure"],"settings":{"foreground":"#56b6c2"}},{"name":"CoffeeScript Function Argument","scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"#e06c75"}},{"name":"Ini Default Text","scope":["source.ini"],"settings":{"foreground":"#98c379"}},{"name":"Makefile prerequisities","scope":["meta.scope.prerequisites.makefile"],"settings":{"foreground":"#e06c75"}},{"name":"Makefile text colour","scope":["source.makefile"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy import names","scope":["storage.modifier.import.groovy"],"settings":{"foreground":"#e5c07b"}},{"name":"Groovy Methods","scope":["meta.method.groovy"],"settings":{"foreground":"#61afef"}},{"name":"Groovy Variables","scope":["meta.definition.variable.name.groovy"],"settings":{"foreground":"#e06c75"}},{"name":"Groovy Inheritance","scope":["meta.definition.class.inherited.classes.groovy"],"settings":{"foreground":"#98c379"}},{"name":"HLSL Semantic","scope":["support.variable.semantic.hlsl"],"settings":{"foreground":"#e5c07b"}},{"name":"HLSL Types","scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"#c678dd"}},{"name":"SQL Variables","scope":["text.variable","text.bracketed"],"settings":{"foreground":"#e06c75"}},{"name":"types","scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 1, keyword","scope":["entity.name.function.xi"],"settings":{"foreground":"#e5c07b"}},{"name":"heading 2, callable","scope":["entity.name.class.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 3, property","scope":["constant.character.character-class.regexp.xi"],"settings":{"foreground":"#e06c75"}},{"name":"heading 4, type, class, interface","scope":["constant.regexp.xi"],"settings":{"foreground":"#c678dd"}},{"name":"heading 5, enums, preprocessor, constant, decorator","scope":["keyword.control.xi"],"settings":{"foreground":"#56b6c2"}},{"name":"heading 6, number","scope":["invalid.xi"],"settings":{"foreground":"#abb2bf"}},{"name":"string","scope":["beginning.punctuation.definition.quote.markdown.xi"],"settings":{"foreground":"#98c379"}},{"name":"comments","scope":["beginning.punctuation.definition.list.markdown.xi"],"settings":{"foreground":"#7f848e"}},{"name":"link","scope":["constant.character.xi"],"settings":{"foreground":"#61afef"}},{"name":"accent","scope":["accent.xi"],"settings":{"foreground":"#61afef"}},{"name":"wikiword","scope":["wikiword.xi"],"settings":{"foreground":"#d19a66"}},{"name":"language operators like \'+\', \'-\' etc","scope":["constant.other.color.rgb-value.xi"],"settings":{"foreground":"#ffffff"}},{"name":"elements to dim","scope":["punctuation.definition.tag.xi"],"settings":{"foreground":"#5c6370"}},{"name":"C++/C#","scope":["entity.name.label.cs","entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"#e5c07b"}},{"name":"Markdown underscore-style headers","scope":["entity.name.label.cs","markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"#e06c75"}},{"name":"meta.brace.square","scope":[" meta.brace.square"],"settings":{"foreground":"#abb2bf"}},{"name":"Comments","scope":"comment, punctuation.definition.comment","settings":{"foreground":"#7f848e"}},{"name":"[VSCODE-CUSTOM] Markdown Quote","scope":"markup.quote.markdown","settings":{"foreground":"#5c6370"}},{"name":"punctuation.definition.block.sequence.item.yaml","scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"#abb2bf"}},{"scope":["constant.language.symbol.elixir","constant.language.symbol.double-quoted.elixir"],"settings":{"foreground":"#56b6c2"}},{"scope":["entity.name.variable.parameter.cs"],"settings":{"foreground":"#e5c07b"}},{"scope":["entity.name.variable.field.cs"],"settings":{"foreground":"#e06c75"}},{"name":"Deleted","scope":"markup.deleted","settings":{"foreground":"#e06c75"}},{"name":"Inserted","scope":"markup.inserted","settings":{"foreground":"#98c379"}},{"name":"Underline","scope":"markup.underline","settings":{"fontStyle":"underline"}},{"name":"punctuation.section.embedded.begin.php","scope":["punctuation.section.embedded.begin.php","punctuation.section.embedded.end.php"],"settings":{"foreground":"#BE5046"}},{"name":"support.other.namespace.php","scope":["support.other.namespace.php"],"settings":{"foreground":"#abb2bf"}},{"name":"variable.other.object","scope":["variable.other.object"],"settings":{"foreground":"#e5c07b"}},{"name":"variable.other.constant.property","scope":["variable.other.constant.property"],"settings":{"foreground":"#e06c75"}},{"name":"entity.other.inherited-class","scope":["entity.other.inherited-class"],"settings":{"foreground":"#e5c07b"}},{"name":"c variable readwrite","scope":"variable.other.readwrite.c","settings":{"foreground":"#e06c75"}},{"name":"php scope","scope":"entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php","settings":{"foreground":"#abb2bf"}},{"name":"Assembly","scope":["constant.numeric.decimal.asm.x86_64"],"settings":{"foreground":"#c678dd"}},{"scope":["support.other.parenthesis.regexp"],"settings":{"foreground":"#d19a66"}},{"scope":["constant.character.escape"],"settings":{"foreground":"#56b6c2"}},{"scope":["string.regexp"],"settings":{"foreground":"#e06c75"}}],"colors":{"activityBar.background":"#23272e","activityBar.foreground":"#d7dae0","activityBarBadge.background":"#4d78cc","activityBarBadge.foreground":"#f8fafd","badge.background":"#23272e","button.background":"#404754","button.secondaryBackground":"#30333d","button.secondaryForeground":"#c0bdbd","checkbox.border":"#404754","debugToolBar.background":"#1e2227","descriptionForeground":"#abb2bf","diffEditor.insertedTextBackground":"#00809b33","dropdown.background":"#1e2227","dropdown.border":"#1e2227","editor.background":"#23272e","editor.findMatchBackground":"#42557b","editor.findMatchBorder":"#457dff","editor.findMatchHighlightBackground":"#6199ff2f","editor.foreground":"#abb2bf","editorBracketHighlight.foreground1":"#d19a66","editorBracketHighlight.foreground2":"#c678dd","editorBracketHighlight.foreground3":"#56b6c2","editorHoverWidget.highlightForeground":"#61afef","editorInlayHint.foreground":"#abb2bf","editorInlayHint.background":"#2c313c","editor.lineHighlightBackground":"#2c313c","editorLineNumber.activeForeground":"#abb2bf","editorGutter.addedBackground":"#109868","editorGutter.deletedBackground":"#9A353D","editorGutter.modifiedBackground":"#948B60","editorOverviewRuler.addedBackground":"#109868","editorOverviewRuler.deletedBackground":"#9A353D","editorOverviewRuler.modifiedBackground":"#948B60","editor.selectionBackground":"#67769660","editor.selectionHighlightBackground":"#ffffff10","editor.selectionHighlightBorder":"#dddddd","editor.wordHighlightBackground":"#d2e0ff2f","editor.wordHighlightBorder":"#7f848e","editor.wordHighlightStrongBackground":"#abb2bf26","editor.wordHighlightStrongBorder":"#7f848e","editorBracketMatch.background":"#515a6b","editorBracketMatch.border":"#515a6b","editorCursor.background":"#ffffffc9","editorCursor.foreground":"#528bff","editorError.foreground":"#c24038","editorGroup.background":"#181a1f","editorGroup.border":"#181a1f","editorGroupHeader.tabsBackground":"#1e2227","editorHoverWidget.background":"#1e2227","editorHoverWidget.border":"#181a1f","editorIndentGuide.activeBackground":"#c8c8c859","editorIndentGuide.background":"#3b4048","editorLineNumber.foreground":"#495162","editorMarkerNavigation.background":"#1e2227","editorRuler.foreground":"#abb2bf26","editorSuggestWidget.background":"#1e2227","editorSuggestWidget.border":"#181a1f","editorSuggestWidget.selectedBackground":"#2c313a","editorWarning.foreground":"#d19a66","editorWhitespace.foreground":"#ffffff1d","editorWidget.background":"#1e2227","focusBorder":"#3e4452","gitDecoration.ignoredResourceForeground":"#636b78","input.background":"#1d1f23","input.foreground":"#abb2bf","list.activeSelectionBackground":"#2c313a","list.activeSelectionForeground":"#d7dae0","list.focusBackground":"#323842","list.focusForeground":"#f0f0f0","list.highlightForeground":"#ecebeb","list.hoverBackground":"#2c313a","list.hoverForeground":"#abb2bf","list.inactiveSelectionBackground":"#323842","list.inactiveSelectionForeground":"#d7dae0","list.warningForeground":"#d19a66","menu.foreground":"#abb2bf","menu.separatorBackground":"#343a45","minimapGutter.addedBackground":"#109868","minimapGutter.deletedBackground":"#9A353D","minimapGutter.modifiedBackground":"#948B60","panel.border":"#3e4452","panelSectionHeader.background":"#1e2227","peekViewEditor.background":"#1b1d23","peekViewEditor.matchHighlightBackground":"#29244b","peekViewResult.background":"#22262b","scrollbar.shadow":"#23252c","scrollbarSlider.activeBackground":"#747d9180","scrollbarSlider.background":"#4e566660","scrollbarSlider.hoverBackground":"#5a637580","settings.focusedRowBackground":"#23272e","settings.headerForeground":"#fff","sideBar.background":"#1e2227","sideBar.foreground":"#abb2bf","sideBarSectionHeader.background":"#23272e","sideBarSectionHeader.foreground":"#abb2bf","statusBar.background":"#1e2227","statusBar.debuggingBackground":"#cc6633","statusBar.debuggingBorder":"#ff000000","statusBar.debuggingForeground":"#ffffff","statusBar.foreground":"#9da5b4","statusBar.noFolderBackground":"#1e2227","statusBarItem.remoteBackground":"#4d78cc","statusBarItem.remoteForeground":"#f8fafd","tab.activeBackground":"#23272e","tab.activeBorder":"#b4b4b4","tab.activeForeground":"#dcdcdc","tab.border":"#181a1f","tab.hoverBackground":"#323842","tab.inactiveBackground":"#1e2227","tab.unfocusedHoverBackground":"#323842","terminal.ansiBlack":"#3f4451","terminal.ansiBlue":"#4aa5f0","terminal.ansiBrightBlack":"#4f5666","terminal.ansiBrightBlue":"#4dc4ff","terminal.ansiBrightCyan":"#4cd1e0","terminal.ansiBrightGreen":"#a5e075","terminal.ansiBrightMagenta":"#de73ff","terminal.ansiBrightRed":"#ff616e","terminal.ansiBrightWhite":"#e6e6e6","terminal.ansiBrightYellow":"#f0a45d","terminal.ansiCyan":"#42b3c2","terminal.ansiGreen":"#8cc265","terminal.ansiMagenta":"#c162de","terminal.ansiRed":"#e05561","terminal.ansiWhite":"#d7dae0","terminal.ansiYellow":"#d18f52","terminal.background":"#23272e","terminal.border":"#3e4452","terminal.foreground":"#abb2bf","terminal.selectionBackground":"#abb2bf30","textBlockQuote.background":"#2e3440","textBlockQuote.border":"#4b5362","textLink.foreground":"#61afef","textPreformat.foreground":"#d19a66","titleBar.activeBackground":"#23272e","titleBar.activeForeground":"#9da5b4","titleBar.inactiveBackground":"#1e2227","titleBar.inactiveForeground":"#6b717d","tree.indentGuidesStroke":"#ffffff1d","walkThrough.embeddedEditorBackground":"#2e3440","welcomePage.buttonHoverBackground":"#404754"}}'),Ao=[{token:lo.IDENTIFIER,foreground:"dcdcaa"},{token:lo.NUMBER,foreground:"b5cea8"},{token:lo.DATE,foreground:"b5cea8"},{token:lo.COLOR,foreground:"b5cea8"},{token:lo.PACKAGE,foreground:"808080"},{token:lo.PARSER,foreground:"c586c0"},{token:lo.LANGUAGE_STRUCT,foreground:"c586c0"},{token:lo.MULTIPLICITY,foreground:"2d796b"},{token:lo.GENERICS,foreground:"2d796b"},{token:lo.PROPERTY,foreground:"9cdcfe"},{token:lo.PARAMETER,foreground:"9cdcfe"},{token:lo.VARIABLE,foreground:"4fc1ff"},{token:lo.TYPE,foreground:"3dc9b0"},{token:`${lo.STRING}.escape`,foreground:"d7ba7d"}];var yo;!function(e){e.DEFAULT_DARK="default-dark",e.GITHUB_DARK="github-dark",e.GITHUB_DARK_DIMMED="github-dark-dimmed",e.SOLARIZED_DARK="solarized-dark",e.ONE_DARK_PRO="one-dark-pro",e.ONE_DARK_PRO_DARKER="one-dark-pro-darker",e.MATERIAL_DEFAULT="material-default",e.MATERIAL_DARKER="material-darker",e.BUILT_IN__VSCODE_LIGHT="vs",e.BUILT_IN__VSCODE_DARK="vs-dark",e.BUILT_IN__VSCODE_HC_BLACK="hc-black",e.BUILT_IN__VSCODE_HC_LIGHT="hc-light"}(yo||(yo={}));const So={base:"vs-dark",inherit:!0,colors:{},rules:[...Ao,{token:"string.sql",foreground:"ce9178"},{token:"white.sql",foreground:"d4d4d4"},{token:"identifier.sql",foreground:"d4d4d4"},{token:"operator.sql",foreground:"d4d4d4"}]},Co=po(mo,yo.BUILT_IN__VSCODE_DARK,{},[]),No=po(fo,yo.BUILT_IN__VSCODE_DARK,{},[]),Io=po(ho,yo.BUILT_IN__VSCODE_DARK,{},[]),vo=po(Eo,yo.BUILT_IN__VSCODE_DARK,{},[]),ko=po(_o,yo.BUILT_IN__VSCODE_DARK,{},[]),Ro=po(bo,yo.BUILT_IN__VSCODE_DARK,{},[]),Oo=po(To,yo.BUILT_IN__VSCODE_DARK,{},[]),Fo=e=>{e.dispose(),e.getModel()?.dispose()},Bo=e=>e.getModel()?.getValue(go.editor.EndOfLinePreference.LF)??"",Lo="dummy_problem_marker_owner",wo=(e,t,n)=>{go.editor.setModelMarkers(e,n??Lo,t.map((e=>({startLineNumber:e.startLineNumber,startColumn:e.startColumn,endLineNumber:e.endLineNumber,endColumn:e.endColumn+1,message:""===e.message?"(no error message)":e.message,severity:go.MarkerSeverity.Error}))))},Po=e=>{go.editor.removeAllMarkers(e??Lo)},Do=e=>e.replace(/\r/g,"");var Mo;!function(e){e.TEXT="plaintext",e.PURE="pure",e.JSON="json",e.JAVA="java",e.MARKDOWN="markdown",e.SQL="sql",e.XML="xml",e.YAML="yaml",e.GRAPHQL="graphql"}(Mo||(Mo={}));class xo{sourceId;startLine;startColumn;endLine;endColumn;constructor(e,t,n,r,o){this.sourceId=e,this.startLine=t,this.startColumn=n,this.endLine=r,this.endColumn=o}}class jo{uuid=(0,a.Z)();query;parserError;constructor(e){(0,ie.rC)(this,{query:ie.LO,parserError:ie.LO,setQuery:ie.aD,setParserError:ie.aD}),this.query=e}setQuery(e){this.query=e}setParserError(e){e?.sourceInformation&&(e.sourceInformation=this.processSourceInformation(e.sourceInformation)),this.parserError=e}processSourceInformation(e){const{sourceId:t,startLine:n,startColumn:r,endLine:o,endColumn:a}=e;return new xo(t,n+0,r-0,o+0,a-0)}}const Uo=(0,Qe.Pi)((()=>{const e=Ws(),t=e.applicationStore,n=e.replGridState.queryEditorState,o=(0,gt.useRef)(void 0),a=Do(n.query),i=n.parserError,[s,c]=(0,gt.useState)(),u=(0,gt.useRef)(null),d=(0,gt.useRef)(void 0),l=(0,gt.useMemo)((()=>(0,In.Z)((()=>{(0,ie.fl)(e.parseQuery()).catch(e.applicationStore.alertUnhandledError)}),1e3)),[e]);if(s){o.current?.dispose(),o.current=s.onDidChangeModelContent((()=>{const e=Bo(s);e!==a&&(n.setQuery(e),l.cancel(),l())}));const t=Bo(s),r=s.getModel();if(t!==a&&s.setValue(a),d.current?.dispose(),d.current=go.languages.registerCompletionItemProvider(Mo.PURE,{triggerCharacters:[">",".","$","~"],provideCompletionItems:async(t,n,r)=>({suggestions:await e.getTypeaheadResults(n,t)})}),r){r.updateOptions({tabSize:2});const e=i;e?.sourceInformation?wo(r,[{message:e.message,startLineNumber:e.sourceInformation.startLine,startColumn:e.sourceInformation.startColumn,endLineNumber:e.sourceInformation.endLine,endColumn:e.sourceInformation.endColumn}]):Po()}}return(0,gt.useEffect)((()=>{if(!s&&u.current){const e=u.current,n=go.editor.create(e,{contextmenu:!1,copyWithSyntaxHighlighting:!1,fontSize:14,fontFamily:"Roboto Mono",fontLigatures:!0,fixedOverflowWidgets:!0,detectIndentation:!1,tabSize:2,"bracketPairColorization.enabled":!1,automaticLayout:!0,language:Mo.PURE,theme:t.layoutService.TEMPORARY__isLightColorThemeEnabled?yo.BUILT_IN__VSCODE_LIGHT:yo.DEFAULT_DARK});c(n)}}),[t.layoutService.TEMPORARY__isLightColorThemeEnabled,s]),(0,gt.useEffect)((()=>()=>{s&&(Fo(s),o.current?.dispose())}),[s]),(0,r.jsx)("div",{className:(0,nt.W)("repl__query__content__editor__content"),children:(0,r.jsx)("div",{className:"code-editor__body",ref:u})})}));class Go{initialResult;currentResult;columns;queryEditorState;currentSubQuery;licenseKey;initialQueryLambda;isPaginationEnabled;constructor(e){(0,ie.rC)(this,{initialResult:ie.LO,initialQueryLambda:ie.LO,currentResult:ie.LO,currentSubQuery:ie.LO,licenseKey:ie.LO,columns:ie.LO,isPaginationEnabled:ie.LO,queryEditorState:ie.LO,setInitialResult:ie.aD,setCurrentSubQuery:ie.aD,setColumns:ie.aD,setInitialQueryLambda:ie.aD,setCurrentResult:ie.aD,setLicenseKey:ie.aD,setIsPaginationEnabled:ie.aD,rowData:ie.Fl,columnDefs:ie.Fl}),this.queryEditorState=new jo(""),this.isPaginationEnabled=e}setInitialQueryLambda(e){this.initialQueryLambda=e}setCurrentSubQuery(e){this.currentSubQuery=e}setInitialResult(e){this.initialResult=e}setCurrentResult(e){this.currentResult=e}setColumns(e){this.columns=e}setLicenseKey(e){this.licenseKey=e}setIsPaginationEnabled(e){this.isPaginationEnabled=e}get rowData(){return this.initialResult?uo(this.initialResult.result):[]}get columnDefs(){return this.columns?this.columns.map((e=>({field:e,headerName:e,...so(!!this.licenseKey,_(this.initialResult),e)}))):[]}}var Ho,Vo;(Vo=Ho||(Ho={})).INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT="INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT",Vo.INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR="INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR",Vo.PACKAGE="PACKAGE",Vo.PACKAGEABLE_ELEMENT="PACKAGEABLE_ELEMENT",Vo.PACKAGEABLE_ELEMENT_POINTER="PACKAGEABLE_ELEMENT_POINTER",Vo.PROFILE="PROFILE",Vo.TAG_POINTER="TAG_POINTER",Vo.STEREOTYPE_POINTER="STEREOTYPE_POINTER",Vo.TAGGED_VALUE="TAGGED_VALUE",Vo.ENUMERATION="ENUMERATION",Vo.ENUM_VALUE="ENUM_VALUE",Vo.CLASS="CLASS",Vo.PROPERTY="PROPERTY",Vo.PROPERTY_DEFAULT_VALUE="PROPERTY_DEFAULT_VALUE",Vo.PROPERTY_POINTER="PROPERTY_POINTER",Vo.MULTIPLICITY="MULTIPLICITY",Vo.CONSTRAINT="CONSTRAINT",Vo.DERIVED_PROPERTY="DERIVED_PROPERTY",Vo.ASSOCIATION="ASSOCIATION",Vo.FUNCTION="FUNCTION",Vo.MEASURE="MEASURE",Vo.UNIT="UNIT",Vo.FUNCTION_TEST_SUITE="FUNCTION_TEST_SUITE",Vo.FUNCTION_TEST="FUNCTION_TEST",Vo.FUNCTION_STORE_TEST_DATA="FUNCTION_STORE_TEST_DATA",Vo.FUNCTION_PARAMETER_VALUE="FUNCTION_PARAMETER_VALUE",Vo.ASSERT_FAIL="ASSERT_FAIL",Vo.ASSERT_PASS="ASSERT_PASS",Vo.EQUAL_TO_JSON_ASSERT_FAIL="EQUAL_TO_JSON_ASSERT_FAIL",Vo.EQUAL_TO="EQUAL_TO",Vo.EQUAL_TO_JSON="EQUAL_TO_JSON",Vo.EQUAL_TO_TDS="EQUAL_TO_TDS",Vo.SECTION_INDEX="SECTION_INDEX",Vo.SECTION="SECTION",Vo.IMPORT_AWARE_CODE_SECTION="IMPORT_AWARE_CODE_SECTION",Vo.DEFAULT_CODE_SECTION="DEFAULT_CODE_SECTION",Vo.RAW_LAMBDA="RAW_LAMBDA",Vo.RAW_VARIABLE="RAW_VARIABLE",Vo.RAW_INSTANCE_VALUE="RAW_INSTANCE_VALUE",Vo.BINDING_TRANSFORMER="BINDING_TRANSFORMER",Vo.INTERNAL__UNKNOWN_VALUE_SPECIFICATION="INTERNAL__UNKNOWN_VALUE_SPECIFICATION",Vo.INTERNAL__PROPAGATED_VALUE="INTERNAL__PROPAGATED_VALUE",Vo.VARIABLE_EXPRESSION="VARIABLE_EXPRESSION",Vo.EXPRESSION="EXPRESSION",Vo.FUNCTION_EXPRESSION="FUNCTION_EXPRESSION",Vo.SIMPLE_FUNCTION_EXPRESSION="SIMPLE_FUNCTION_EXPRESSION",Vo.ABSTRACT_PROPERTY_EXPRESSION="ABSTRACT_PROPERTY_EXPRESSION",Vo.INSTANCE_VALUE="INSTANCE_VALUE",Vo.PRIMITIVE_INSTANCE_VALUE="PRIMITIVE_INSTANCE_VALUE",Vo.ENUM_INSTANCE_VALUE="ENUM_INSTANCE_VALUE",Vo.KEY_EXPRESSION_INSTANCE_VALUE="KEY_EXPRESSION_INSTANCE_VALUE",Vo.KEY_EXPRESSION_VALUE="KEY_EXPRESSION_VALUE",Vo.RUNTIME_INSTANCE_VALUE="RUNTIME_INSTANCE_VALUE",Vo.PAIR_INSTANCE_VALUE="PAIR_INSTANCE_VALUE",Vo.MAPPING_INSTANCE_VALUE="MAPPING_INSTANCE_VALUE",Vo.PURE_LIST_INSTANCE_VALUE="PURE_LIST_INSTANCE_VALUE",Vo.COLLECTION_INSTANCE_VALUE="COLLECTION_INSTANCE_VALUE",Vo.LAMBDA_FUNCTION_INSTANCE_VALUE="LAMBDA_FUNCTION_INSTANCE_VALUE",Vo.FUNCTION_TYPE="FUNCTION_TYPE",Vo.LAMBDA_FUNCTION="LAMBDA_FUNCTION",Vo.ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE="ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE",Vo.ALLOY_SERIALIZATION_CONFIG="ALLOY_SERIALIZATION_CONFIG",Vo.ROOT_GRAPH_FETCH_TREE="ROOT_GRAPH_FETCH_TREE",Vo.PROPERTY_GRAPH_FETCH_TREE="PROPERTY_GRAPH_FETCH_TREE",Vo.SUBTYPE_GRAPH_FETCH_TREE="SUBTYPE_GRAPH_FETCH_TREE",Vo.SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE="SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.PROPERTY_GRAPH_FETCH_TREE_INSTANCE_VALUE="PROEPRTY_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE="ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE",Vo.INTERNAL__UNKNOWN_STORE="INTERNAL__UNKNOWN_STORE",Vo.INTERNAL__UNKNOWN_CONNECTION="INTERNAL__UNKNOWN_CONNECTION",Vo.INTERNAL__UNKNOWN_PROPERTY_MAPPING="INTERNAL__UNKNOWN_PROPERTY_MAPPING",Vo.INTERNAL__UNKNOWN_CLASS_MAPPING="INTERNAL__UNKNOWN_CLASS_MAPPING",Vo.INTERNAL__UNKNOWN_MAPPING_INCLUDE="INTERNAL__UNKNOWN_MAPPING_INCLUDE",Vo.MAPPING="MAPPING",Vo.MAPPING_INCLUDE_MAPPING="MAPPING_INCLUDE_MAPPING",Vo.ASSOCIATION_IMPLEMENTATION="ASSOCIATION_IMPLEMENTATION",Vo.RELATIONAL_ASSOCIATION_IMPLEMENTATION="RELATIONAL_ASSOCIATION_IMPLEMENTATION",Vo.XSTORE_ASSOCIATION_IMPLEMENTATION="XSTORE_ASSOCIATION_IMPLEMENTATION",Vo.ENUMERATION_MAPPING="ENUMERATION_MAPPING",Vo.ENUM_VALUE_MAPPING="ENUM_VALUE_MAPPING",Vo.SET_IMPLEMENTATION="SET_IMPLEMENTATION",Vo.OPERATION_SET_IMPLEMENTATION="OPERATION_SET_IMPLEMENTATION",Vo.PURE_INSTANCE_SET_IMPLEMENTATION="PURE_INSTANCE_SET_IMPLEMENTATION",Vo.PROPERTY_MAPPING="PROPERTY_MAPPING",Vo.LOCAL_MAPPING_PROPERTY="LOCAL_MAPPING_PROPERTY",Vo.PURE_PROPERTY_MAPPING="PURE_PROPERTY_MAPPING",Vo.XSTORE_PROPERTY_MAPPING="XSTORE_PROPERTY_MAPPING",Vo.MAPPING_TEST_LEGACY="MAPPING_TEST_LEGACY",Vo.MAPPING_TEST_SUITE="MAPPING_TEST_SUITE",Vo.MAPPING_TEST="MAPPING_TEST",Vo.STORE_TEST_DATA="STORE_TEST_DATA",Vo.INPUT_DATA="INPUT_DATA",Vo.FLAT_DATA_INPUT_DATA="FLAT_DATA_INPUT_DATA",Vo.RELATIONAL_INPUT_DATA="RELATIONAL_INPUT_DATA",Vo.OBJECT_INPUT_DATA="OBJECT_INPUT_DATA",Vo.MAPPING_TEST_ASSERT="MAPPING_TEST_ASSERT",Vo.EXPECTED_OUTPUT_MAPPING_TEST_ASSERT="EXPECTED_OUTPUT_MAPPING_TEST_ASSERT",Vo.FILTER_MAPPING="FILTER_MAPPING",Vo.COLUMN_MAPPING="COLUMN_MAPPING",Vo.GROUP_BY_MAPPING="GROUP_BY_MAPPING",Vo.RUNTIME="RUNTIME",Vo.PACKAGEABLE_RUNTIME="PACKAGEABLE_RUNTIME",Vo.ENGINE_RUNTIME="ENGINE_RUNTIME",Vo.SINGLE_ENGINE_RUNTIME="SINGLE_ENGINE_RUNTIME",Vo.LEGACY_RUNTIME="LEGACY_RUNTIME",Vo.RUNTIME_POINTER="RUNTIME_POINTER",Vo.STORE_CONNECTIONS="STORE_CONNECTIONS",Vo.IDENTIFIED_CONNECTION="IDENTIFIED_CONNECTION",Vo.PACKAGEABLE_CONNECTION="PACKAGEABLE_CONNECTION",Vo.CONNECTION_POINTER="CONNECTION_POINTER",Vo.XML_MODEL_CONNECTION="XML_MODEL_CONNECTION",Vo.JSON_MODEL_CONNECTION="JSON_MODEL_CONNECTION",Vo.MODEL_CHAIN_CONNECTION="MODEL_CHAIN_CONNECTION",Vo.FLAT_DATA_CONNECTION="FLAT_DATA_CONNECTION",Vo.AGGREGATION_AWARE_MAPPING="AGGREGATION_AWARE_MAPPING",Vo.AGGREGATION_AWARE_SPECIFICATION="AGGREGATION_AWARE_SPECIFICATION",Vo.AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER="AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER",Vo.AGGREGATE_FUNCTION="AGGREGATE_FUNCTION",Vo.GROUP_BY_FUNCTION="GROUP_BY_FUNCTION",Vo.GENERATION_TREE="GENERATION_TREE",Vo.GENERATION_TREE_NODE="GENERATION_TREE_NODE",Vo.FILE_GENERATION="FILE_GENERATION",Vo.CONFIGURATION_PROPERTY="CONFIGURATION_PROPERTY",Vo.INTERNAL__UNKNOWN_EMBEDDED_DATA="INTERNAL__UNKNOWN_EMBEDDED_DATA",Vo.EXTERNAL_FORMAT_DATA="EXTERNAL_FORMAT_DATA",Vo.MODEL_STORE_DATA="MODEL_STORE_DATA",Vo.MODEL_DATA="MODEL_DATA",Vo.MODEL_EMBEDDED_DATA="MODEL_EMBEDDED_DATA",Vo.MODEL_INSTANCE_DATA="MODEL_INSTANCE_DATA",Vo.DATA_ELEMENT_REFERENCE="DATA_ELEMENT_REFERENCE",Vo.DATA_ELEMENT="DATA_ELEMENT",Vo.RELATIONAL_CSV_DATA="RELATIONAL_CSV_DATA",Vo.RELATIONAL_TDS="RELATIONAL_TDS",Vo.RELATIONAL_CSV_DATA_TABLE="RELATIONAL_CSV_DATA_TABLE",Vo.BINDING="BINDING",Vo.SCHEMA_SET="SCHEMA_SET",Vo.SCHEMA="SCHEMA",Vo.MODEL_UNIT="MODEL_UNIT",Vo.URL_STREAM="URL_STREAM",Vo.EXTERNAL_FORMAT_CONNECTION="EXTERNAL_FORMAT_CONNECTION",Vo.SERVICE="SERVICE",Vo.SERVICE_OWNER="SERVICE_OWNER",Vo.SERVICE_PURE_EXECUTION="SERVICE_PURE_EXECUTION",Vo.SERVICE_PURE_SINGLE_EXECUTION="SERVICE_PURE_SINGLE_EXECUTION",Vo.SERVICE_KEYED_EXECUTION_PARAMETER="SERVICE_KEYED_EXECUTION_PARAMETER",Vo.SERVICE_PURE_MULTI_EXECUTION="SERVICE_PURE_MULTI_EXECUTION",Vo.SERVICE_TEST_CONTAINER="SERVICE_TEST_CONTAINER",Vo.SERVICE_LEGACY_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_SINGLE_EXECUTION_TEST",Vo.SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST",Vo.SERVICE_LEGACY_MULTI_EXECUTION_TEST="SERVICE_LEGACY_MULTI_EXECUTION_TEST",Vo.SERVICE_CONNECTION_TEST_DATA="SERVICE_CONNECTION_TEST_DATA",Vo.SERVICE_TEST_DATA="SERVICE_TEST_DATA",Vo.SERVICE_TEST_SUITE="SERVICE_TEST_SUITE",Vo.SERVICE_TEST="SERVICE_TEST",Vo.SERVICE_PARAMETER_VALUE="SERVICE_PARAMETER_VALUE",Vo.SERVICE_POST_VALIDATION="SERVICE_POST_VALIDATION",Vo.SERVICE_POST_VALIDATION_ASSERTION="SERVICE_POST_VALIDATION_ASSERTION",Vo.EXECUTION_ENVIRONMENT_INSTANCE="EXECUTION_ENVIRONMENT_INSTANCE",Vo.SINGLE_EXECUTION_PARAMETER="SINGLE_EXECUTION_PARAMETER",Vo.MULTI_EXECUTION_PARAMETER="MULTI_EXECUTION_PARAMETER",Vo.INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION="INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION",Vo.INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY="INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY",Vo.INTERNAL__UNKNOWN_POST_PROCESSOR="INTERNAL__UNKNOWN_POST_PROCESSOR",Vo.DATABASE="DATABASE",Vo.DATABASE_SCHEMA="DATABASE_SCHEMA",Vo.DATABASE_JOIN="DATABASE_JOIN",Vo.DATABASE_FILTER="DATABASE_FILTER",Vo.DATBASE_VIEW="DATBASE_VIEW",Vo.DATABASE_SCHEMA_TABLE="DATABASE_SCHEMA_TABLE",Vo.DATABASE_TABLE_COLUMN="DATABASE_TABLE_COLUMN",Vo.RELATIONAL="RELATIONAL",Vo.RELATIONAL_OPERATION_DYNA_FUNC="RELATIONAL_OPERATION_DYNA_FUNC",Vo.RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS="RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS",Vo.RELATIONAL_OPERATION_LITERAL="RELATIONAL_OPERATION_LITERAL",Vo.RELATIONAL_OPERATION_LITERAL_LIST="RELATIONAL_OPERATION_LITERAL_LIST",Vo.RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN="RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN",Vo.RELATIONAL_OPERATION_TABLE_POINTER="RELATIONAL_OPERATION_TABLE_POINTER",Vo.RELATIONAL_OPERATION_JOIN_POINTER="RELATIONAL_OPERATION_JOIN_POINTER",Vo.RELATIONAL_DATATYPE_VARCHAR="RELATIONAL_DATATYPE_VARCHAR",Vo.RELATIONAL_DATATYPE_CHAR="RELATIONAL_DATATYPE_CHAR",Vo.RELATIONAL_DATATYPE_VARBINARY="RELATIONAL_DATATYPE_VARBINARY",Vo.RELATIONAL_DATATYPE_BINARY="RELATIONAL_DATATYPE_BINARY",Vo.RELATIONAL_DATATYPE_BIT="RELATIONAL_DATATYPE_BIT",Vo.RELATIONAL_DATATYPE_INTEGER="RELATIONAL_DATATYPE_INTEGER",Vo.RELATIONAL_DATATYPE_BIGINT="RELATIONAL_DATATYPE_BIGINT",Vo.RELATIONAL_DATATYPE_SMALLINT="RELATIONAL_DATATYPE_SMALLINT",Vo.RELATIONAL_DATATYPE_TINYINT="RELATIONAL_DATATYPE_TINYINT",Vo.RELATIONAL_DATATYPE_NUMERIC="RELATIONAL_DATATYPE_NUMERIC",Vo.RELATIONAL_DATATYPE_DECIMAL="RELATIONAL_DATATYPE_DECIMAL",Vo.RELATIONAL_DATATYPE_DOUBLE="RELATIONAL_DATATYPE_DOUBLE",Vo.RELATIONAL_DATATYPE_FLOAT="RELATIONAL_DATATYPE_FLOAT",Vo.RELATIONAL_DATATYPE_REAL="RELATIONAL_DATATYPE_REAL",Vo.RELATIONAL_DATATYPE_DATE="RELATIONAL_DATATYPE_DATE",Vo.RELATIONAL_DATATYPE_TIMESTAMP="RELATIONAL_DATATYPE_TIMESTAMP",Vo.RELATIONAL_DATATYPE_OTHER="RELATIONAL_DATATYPE_OTHER",Vo.RELATIONAL_DATATYPE_SEMISTRUCTURED="RELATIONAL_DATATYPE_SEMISTRUCTURED",Vo.RELATIONAL_DATATYPE_JSON="RELATIONAL_DATATYPE_JSON",Vo.ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION="ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Vo.RELATIONAL_INSTANCE_SET_IMPLEMENTATION="RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Vo.REALTIONAL_PROPERTY_MAPPING="REALTIONAL_PROPERTY_MAPPING",Vo.EMBEDDED_REALTIONAL_PROPERTY_MAPPING="EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Vo.BUSINESS_MILESTONING="BUSINESS_MILESTONING",Vo.BUSINESS_SNAPSHOT_MILESTONING="BUSINESS_SNAPSHOT_MILESTONING",Vo.PROCESSING_MILESTONING="PROCESSING_MILESTONING",Vo.RELATIONAL_DATABASE_CONNECTION="RELATIONAL_DATABASE_CONNECTION",Vo.STATIC_DATASOURCE_SPECIFICATION="STATIC_DATASOURCE_SPECIFICATION",Vo.LOCAL_H2_DATASOURCE_SPECIFICATION="LOCAL_H2_DATASOURCE_SPECIFICATION",Vo.EMBEDDED_H2_DATASOURCE_SPECIFICATION="EMBEDDED_H2_DATASOURCE_SPECIFICATION",Vo.SNOWFLAKE_DATASOURCE_SPECIFICATION="SNOWFLAKE_DATASOURCE_SPECIFICATION",Vo.REDSHIFT_DATASOURCE_SPECIFICATION="REDSHIFT_DATASOURCE_SPECIFICATION",Vo.BIGQUERY_DATASOURCE_SPECIFICATION="BIGQUERY_DATASOURCE_SPECIFICATION",Vo.DATABRICKS_DATASOURCE_SPECIFICATION="DATABRICKS_DATASOURCE_SPECIFICATION",Vo.SPANNER_DATASOURCE_SPECIFICATION="SPANNER_DATASOURCE_SPECIFICATION",Vo.TRINO_DATASOURCE_SPECIFICATION="TRINO_DATASOURCE_SPECIFICATION",Vo.TRINO_SSL_SPECIFICATION="TRINO_SSL_SPECIFICATION",Vo.DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY="DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY",Vo.DEFAULT_H2_AUTHENTICATION_STRATEGY="DEFAULT_H2_AUTHENTICATION_STRATEGY",Vo.SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY="SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY",Vo.API_TOKEN_AUTHENTICATION_STRATEGY="API_TOKEN_AUTHENTICATION_STRATEGY",Vo.GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY="GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY",Vo.USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Vo.OAUTH_AUTHENTICATION_STRATEGY="OAUTH_AUTHENTICATION_STRATEGY",Vo.GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY="GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY",Vo.MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Vo.TRINO_DELEGATED_KERBEROS_AUTHENTICATION_STRATEGY="TRINO_KEREBEROS_AUTHENTICATION_STRATEGY",Vo.MAPPER_POST_PROCESSOR="MAPPER_POST_PROCESSOR",Vo.SCHEMA_MAPPER="SCHEMA_MAPPER",Vo.TABLE_MAPPER="TABLE_MAPPER",Vo.FLAT_DATA="FLAT_DATA",Vo.FLAT_DATA_SECTION="FLAT_DATA_SECTION",Vo.FLAT_DATA_PROPERTY="FLAT_DATA_PROPERTY",Vo.FLAT_DATA_ROOT_RECORD_TYPE="FLAT_DATA_ROOT_RECORD_TYPE",Vo.FLAT_DATA_RECORD_TYPE="FLAT_DATA_RECORD_TYPE",Vo.FLAT_DATA_RECORD_FIELD="FLAT_DATA_RECORD_FIELD",Vo.FLAT_DATA_STRING="FLAT_DATA_STRING",Vo.FLAT_DATA_BOOLEAN="FLAT_DATA_BOOLEAN",Vo.FLAT_DATA_NUMBER="FLAT_DATA_NUMBER",Vo.FLAT_DATA_INTEGER="FLAT_DATA_INTEGER",Vo.FLAT_DATA_FLOAT="FLAT_DATA_FLOAT",Vo.FLAT_DATA_DECIMAL="FLAT_DATA_DECIMAL",Vo.FLAT_DATA_DATE="FLAT_DATA_DATE",Vo.FLAT_DATA_DATE_TIME="FLAT_DATA_DATE_TIME",Vo.FLAT_DATA_STRICT_DATE="FLAT_DATA_STRICT_DATE",Vo.FLAT_DATA_INSTANCE_SET_IMPLEMENTATION="FLAT_DATA_INSTANCE_SET_IMPLEMENTATION",Vo.FLAT_DATA_PROPERTY_MAPPING="FLAT_DATA_PROPERTY_MAPPING",Vo.FLAT_DATA_ASSOCIATION_IMPLEMENTATION="FLAT_DATA_ASSOCIATION_IMPLEMENTATION",Vo.FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING="FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING",Vo.EMBEDDED_FLAT_DATA_PROPERTY_MAPPING="EMBEDDED_FLAT_DATA_PROPERTY_MAPPING",Vo.FLAT_DATA_SECTION_POINTER="FLAT_DATA_SECTION_POINTER",Vo.SNOWFLAKE_APP="SNOWFLAKE_APP",Vo.HOSTED_SERVICE="HOSTED_SERVICE",Vo.HOSTED_SERVICE_OWNER="HOSTED_SERVICE_OWNER";var Ko=n(4485);n(3096);const Yo=e=>Ko.sha1().update(e).digest("hex"),Wo=e=>Yo(e.filter(h).map((e=>"string"==typeof e||"boolean"==typeof e||"number"==typeof e?Yo(e):e.hashCode)).join(","));class qo{lowerBound=0;upperBound;constructor(e,t){this.lowerBound=e,this.upperBound=t}get hashCode(){return Wo([Ho.MULTIPLICITY,this.lowerBound.toString(),this.upperBound?.toString()??""])}static ZERO=new qo(0,0);static ZERO_ONE=new qo(0,1);static ZERO_MANY=new qo(0,void 0);static ONE=new qo(1,1);static ONE_MANY=new qo(1,void 0)}class $o{}class Jo extends $o{multiplicity=qo.ONE}class Xo extends Jo{}class zo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CString(this)}}class Qo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CBoolean(this)}}class Zo extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CDecimal(this)}}class ea extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CInteger(this)}}class ta extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CFloat(this)}}class na extends Xo{}class ra extends na{value;accept_ValueSpecificationVisitor(e){return e.visit_CDateTime(this)}}class oa extends na{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictDate(this)}}class aa extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictTime(this)}}class ia extends $o{multiplicity=qo.ONE}class sa extends ia{function;fControl;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedFunction(this)}}class ca extends $o{multiplicity=qo.ONE}class ua extends ca{body=[];parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_Lambda(this)}}class da extends $o{name;multiplicity;class;accept_ValueSpecificationVisitor(e){return e.visit_Variable(this)}}class la extends ia{class;property;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedProperty(this)}}class ga{name;type;function1;function2}class pa extends $o{multiplicity=qo.ONE;type;value;accept_ValueSpecificationVisitor(e){return e.visit_ClassInstance(this)}}class ma{subTrees=[];subTypeTrees=[]}class fa extends ma{class;accept_GraphFetchTreeVisitor(e){return e.visit_RootGraphFetchTree(this)}}class ha{name;startType;path=[]}class Ea extends $o{multiplicity=qo.ONE_MANY;values=[];accept_ValueSpecificationVisitor(e){return e.visit_Collection(this)}}class _a{mapFn;aggregateFn}class ba{first;second}class Ta{runtime}class Aa{executionContext}class ya extends ma{property;parameters=[];alias;subType;accept_GraphFetchTreeVisitor(e){return e.visit_PropertyGraphFetchTree(this)}}class Sa extends ma{subTypeClass;accept_GraphFetchTreeVisitor(e){return e.visit_SubTypeGraphFetchTree(this)}}class Ca{includeType;typeKeyName;includeEnumType;removePropertiesWithNullValues;removePropertiesWithEmptySets;fullyQualifiedTypePath;includeObjectReference}class Na extends ca{add;expression;key;accept_ValueSpecificationVisitor(e){return e.visit_KeyExpression(this)}}class Ia{values=[]}class va{name;pmapFn;aggregateFn}class ka{name;columnFn}class Ra{column;direction}class Oa{function}class Fa{function;columnName}class Ba{package;name;get path(){return`${this.package}::${this.name}`}get hashCode(){return Wo([Ho.PACKAGEABLE_ELEMENT,this.path])}}const La=new X((0,J.yu)(class{sourceId;startLine;startColumn;endLine;endColumn},{sourceId:(0,J.Ru)(),startLine:(0,J.Ru)(),startColumn:(0,J.Ru)(),endLine:(0,J.Ru)(),endColumn:(0,J.Ru)()}));class wa{package;name;sourceInformation;static serialization=new X((0,J.yu)(wa,{package:(0,J.Ru)(),name:(0,J.Ru)(),sourceInformation:Z(La.schema)}))}(0,J.yu)(class{type;path;constructor(e,t){this.type=e,this.path=t}get hashCode(){return Wo([Ho.PACKAGEABLE_ELEMENT_POINTER,this.type??"",this.path])}},{path:(0,J.Ru)(),type:(0,J.jt)((0,J.Ru)())});const Pa=(0,J.yu)(qo,{lowerBound:(0,J.Ru)(),upperBound:(0,J.jt)((0,J.Ru)())});class Da{}class Ma extends Da{property;parameters=[]}class xa{}class ja extends xa{mappings=[];connectionStores=[];connections=[];get hashCode(){return Wo([Ho.ENGINE_RUNTIME,Wo(this.mappings),Wo(this.connectionStores),Wo(this.connections)])}}class Ua extends ja{get hashCode(){return Wo([Ho.SINGLE_ENGINE_RUNTIME,Wo(this.mappings),Wo(this.connectionStores),Wo(this.connections)])}}class Ga extends xa{runtime;get hashCode(){return Wo([Ho.RUNTIME_POINTER,this.runtime])}}var Ha;!function(e){e.RUNTIME_POINTER="runtimePointer",e.LEGACY_RUNTIME="legacyRuntime",e.ENGINE_RUNTIME="engineRuntime",e.SINGLE_ENGINE_RUNTIME="localEngineRuntime"}(Ha||(Ha={}));const Va=(0,J.yu)(Ga,{_type:Q(Ha.RUNTIME_POINTER),runtime:(0,J.Ru)()});(0,J.yu)(class extends Ba{runtimeValue;get hashCode(){return Wo([Ho.PACKAGEABLE_RUNTIME,this.path,this.runtimeValue])}accept_PackageableElementVisitor(e){return e.visit_PackageableRuntime(this)}},{_type:Q("runtime"),name:(0,J.Ru)(),package:(0,J.Ru)(),runtimeValue:(0,J.PG)((e=>{return(t=e)instanceof Ua?(0,J.qC)(Ua,t):(0,J.qC)(ja,t);var t}),(e=>{return(t=e)._type===Ha.SINGLE_ENGINE_RUNTIME?(0,J.vB)(Ua,t):(0,J.vB)(ja,t);var t}))});class Ka{queryTimeOutInSeconds;enableConstraints}class Ya extends Ka{useAnalytics;toFlowSetFunction}class Wa extends Ka{}class qa extends $o{multiplicity=qo.ONE;fullPath;accept_ValueSpecificationVisitor(e){return e.visit_PackageableElementPtr(this)}}class $a extends qa{accept_ValueSpecificationVisitor(e){return e.visit_GenericTypeInstance(this)}}class Ja{colSpecs=[]}class Xa{path=[]}var za,Qa,Za,ei,ti;!function(e){e.BASE_EXECUTION_CONTEXT="BaseExecutionContext",e.ANALYTICS_EXECUTION_CONTEXT="AnalyticsExecutionContext"}(za||(za={})),function(e){e.PROPERTY_PATH_ELEMENT="propertyPath"}(Qa||(Qa={})),function(e){e.PROPERTY_GRAPH_FETCH_TREE="propertyGraphFetchTree"}(Za||(Za={})),function(e){e.ROOT_GRAPH_FETCH_TREE="rootGraphFetchTree",e.SUBTYPE_GRAPH_FETCH_TREE="subTypeGraphFetchTree",e.PATH="path",e.AGGREGATE_VALUE="aggregateValue",e.EXECUTION_CONTEXT_INSTANCE="executionContextInstance",e.PAIR="pair",e.PURE_LIST="listInstance",e.RUNTIME_INSTANCE="runtimeInstance",e.SERIALIZATION_CONFIG="alloySerializationConfig",e.COL_SPEC="colSpec",e.COL_SPEC_ARRAY="colSpecArray",e.RELATION_STORE_ACCESSOR=">",e.TDS_AGGREGATE_VALUE="tdsAggregateValue",e.TDS_COLUMN_INFORMATION="tdsColumnInformation",e.TDS_SORT_INFORMATION="tdsSortInformation",e.TDS_OLAP_RANK="tdsOlapRank",e.TDS_OLAP_AGGREGATION="tdsOlapAggregation"}(ei||(ei={})),function(e){e.VARIABLE="var",e.LAMBDA="lambda",e.KEY_EXPRESSION="keyExpression",e.APPLIED_FUNCTION="func",e.APPLIED_PROPERTY="property",e.PACKAGEABLE_ELEMENT_PTR="packageableElementPtr",e.GENERIC_TYPE_INSTANCE="genericTypeInstance",e.ENUM_VALUE="enumValue",e.COLLECTION="collection",e.CINTEGER="integer",e.CDECIMAL="decimal",e.CSTRING="string",e.CBOOLEAN="boolean",e.CBYTEARRAY="byteArray",e.CFLOAT="float",e.CDATETIME="dateTime",e.CSTRICTDATE="strictDate",e.CSTRICTTIME="strictTime",e.CLATESTDATE="latestDate",e.CLASS_INSTANCE="classInstance",e.HACKED_CLASS="hackedClass",e.HACKED_UNIT="hackedUnit",e.UNIT_TYPE="unitType",e.PRIMITIVE_TYPE="primitiveType",e.CLASS="class",e.ENUM="enum",e.MAPPING_INSTANCE="mappingInstance"}(ti||(ti={}));const ni=(0,J.yu)(da,{_type:Q(ti.VARIABLE),class:(0,J.jt)((0,J.Ru)()),multiplicity:z(Pa),name:(0,J.Ru)()}),ri=e=>(0,J.yu)(ua,{_type:Q(ti.LAMBDA),body:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),parameters:(0,J.pb)(z(ni))}),oi=e=>(0,J.yu)(Na,{_type:Q(ti.KEY_EXPRESSION),add:(0,J.jt)((0,J.Ru)()),expression:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))),key:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))}),ai=e=>(0,J.yu)(sa,{_type:Q(ti.APPLIED_FUNCTION),function:(0,J.Ru)(),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),ii=e=>(0,J.yu)(la,{_type:Q(ti.APPLIED_PROPERTY),class:(0,J.jt)((0,J.Ru)()),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),property:(0,J.Ru)()}),si=(0,J.yu)(qa,{_type:Q(ti.PACKAGEABLE_ELEMENT_PTR),fullPath:(0,J.Ru)()}),ci=(0,J.yu)($a,{_type:Q(ti.GENERIC_TYPE_INSTANCE),fullPath:(0,J.Ru)()}),ui=e=>{const t=new $a;return y(e.unitType)?t.fullPath=e.unitType:t.fullPath=I(e.fullPath,"Can't deserialize hacked unit: either field 'fullPath' or 'unitType' must be a non-empty string"),t},di=e=>{const t=new $a;return t.fullPath=I(e.fullPath,"Can't deserialize hacked class: field 'fullPath' must be a non-empty string"),t},li=e=>(0,J.yu)(Ea,{_type:Q(ti.COLLECTION),multiplicity:z(Pa),values:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),gi=(0,J.yu)(class extends Jo{fullPath;value;accept_ValueSpecificationVisitor(e){return e.visit_EnumValue(this)}},{_type:Q(ti.ENUM_VALUE),fullPath:(0,J.Ru)(),value:(0,J.Ru)()}),pi=(0,J.yu)(Zo,{_type:Q(ti.CDECIMAL),value:(0,J.Ru)()}),mi=(0,J.yu)(ea,{_type:Q(ti.CINTEGER),value:(0,J.Ru)()}),fi=(0,J.yu)(zo,{_type:Q(ti.CSTRING),value:(0,J.Ru)()}),hi=(0,J.yu)(ta,{_type:Q(ti.CFLOAT),value:(0,J.Ru)()}),Ei=(0,J.yu)(ra,{_type:Q(ti.CDATETIME),value:(0,J.Ru)()}),_i=(0,J.yu)(aa,{_type:Q(ti.CSTRICTTIME),value:(0,J.Ru)()}),bi=(0,J.yu)(oa,{_type:Q(ti.CSTRICTDATE),value:(0,J.Ru)()}),Ti=(0,J.yu)(class extends na{accept_ValueSpecificationVisitor(e){return e.visit_CLatestDate(this)}},{_type:Q(ti.CLATESTDATE)}),Ai=(0,J.yu)(Qo,{_type:Q(ti.CBOOLEAN),value:(0,J.Ru)()}),yi=(0,J.yu)(class extends Xo{value;accept_ValueSpecificationVisitor(e){return e.visit_CByteArray(this)}},{_type:Q(ti.CBYTEARRAY),value:(0,J.Ru)()}),Si=(e,t,n)=>{if(Array.isArray(e.values)){if(0===e.values.length){const e=new Ea;return e.multiplicity=qo.ZERO,e}return 1===e.values.length?n({...e,value:e.values[0]}):Ji({...e,_type:ti.COLLECTION},t)}return n(e)},Ci=e=>(0,J.yu)(pa,{_type:Q(ti.CLASS_INSTANCE),multiplicity:z(Pa),type:(0,J.Ru)(),value:(0,J.PG)((t=>function(e,t){if(e instanceof ha)return(0,J.qC)(Ii(t),e);if(e instanceof fa)return(0,J.qC)(vi(t),e);if(e instanceof Aa)return(0,J.qC)(wi(t),e);if(e instanceof _a)return(0,J.qC)(Pi(t),e);if(e instanceof ba)return(0,J.qC)(Di(t),e);if(e instanceof Ia)return(0,J.qC)(xi(t),e);if(e instanceof Ta)return(0,J.qC)(Mi,e);if(e instanceof Ca)return(0,J.qC)(ji,e);if(e instanceof va)return(0,J.qC)(Ui(t),e);if(e instanceof ka)return(0,J.qC)(Gi(t),e);if(e instanceof Fa)return(0,J.qC)(qi(t),e);if(e instanceof Oa)return(0,J.qC)(Wi(t),e);if(e instanceof Ra)return(0,J.qC)(Hi,e);if(e instanceof ga)return(0,J.qC)(Ki(t),e);if(e instanceof Ja)return(0,J.qC)(Yi(t),e);if(e instanceof Xa)return(0,J.qC)(Vi,e);const n=t.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolSerializers?.()??[]));for(const r of n){const n=r(e,t);if(n)return n}throw new g("Can't serialize class instance value: no compatible serializer available from plugins",e)}(t,e)),((t,n)=>function(e,t,n){switch(t){case ei.PATH:return(0,J.vB)(Ii(n),e);case ei.ROOT_GRAPH_FETCH_TREE:return(0,J.vB)(vi(n),e);case ei.AGGREGATE_VALUE:return(0,J.vB)(Pi(n),e);case ei.EXECUTION_CONTEXT_INSTANCE:return(0,J.vB)(wi(n),e);case ei.PAIR:return(0,J.vB)(Di(n),e);case ei.PURE_LIST:return(0,J.vB)(xi(n),e);case ei.RUNTIME_INSTANCE:return(0,J.vB)(Mi,e);case ei.SERIALIZATION_CONFIG:return(0,J.vB)(ji,e);case ei.TDS_AGGREGATE_VALUE:return(0,J.vB)(Ui(n),e);case ei.TDS_COLUMN_INFORMATION:return(0,J.vB)(Gi(n),e);case ei.TDS_OLAP_AGGREGATION:return(0,J.vB)(qi(n),e);case ei.TDS_OLAP_RANK:return(0,J.vB)(Wi(n),e);case ei.TDS_SORT_INFORMATION:return(0,J.vB)(Hi,e);case ei.COL_SPEC:return(0,J.vB)(Ki(n),e);case ei.COL_SPEC_ARRAY:return(0,J.vB)(Yi(n),e);case ei.RELATION_STORE_ACCESSOR:return(0,J.vB)(Vi,e);default:{const r=n.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolDeserializers?.()??[]));for(const o of r){const r=o(e,t,n);if(r)return r}throw new g(`Can't deserialize value specification of type '${e._type}': no compatible deserializer available from plugins`)}}}(t,n.json.type,e)))}),Ni=e=>(0,J.yu)(Ma,{_type:Q(Qa.PROPERTY_PATH_ELEMENT),property:(0,J.Ru)(),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),Ii=e=>(0,J.yu)(ha,{_type:Q(ei.PATH),name:(0,J.Ru)(),startType:(0,J.Ru)(),path:(0,J.pb)((0,J.PG)((t=>function(e,t){return e instanceof Ma?(0,J.qC)(Ni(t),e):J.AM}(t,e)),(t=>function(e,t){return e._type===Qa.PROPERTY_PATH_ELEMENT?(0,J.vB)(Ni(t),e):J.AM}(t,e))))}),vi=e=>(0,J.yu)(fa,{_type:Q(ei.ROOT_GRAPH_FETCH_TREE),class:(0,J.Ru)(),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e))))}),ki=e=>(0,J.yu)(ya,{_type:Q(Za.PROPERTY_GRAPH_FETCH_TREE),alias:(0,J.jt)((0,J.Ru)()),parameters:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))),property:(0,J.Ru)(),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subType:(0,J.jt)((0,J.Ru)())}),Ri=e=>(0,J.yu)(Sa,{_type:Q(ei.SUBTYPE_GRAPH_FETCH_TREE),subTrees:(0,J.pb)((0,J.PG)((t=>Oi(t,e)),(t=>Fi(t,e)))),subTypeClass:(0,J.Ru)()});function Oi(e,t){if(e instanceof ya)return(0,J.qC)(ki(t),e);if(e instanceof fa)return(0,J.qC)(vi(t),e);if(e instanceof Sa)return(0,J.qC)(Ri(t),e);throw new g("Can't serialize graph fetch tree",e)}function Fi(e,t){switch(e._type){case Za.PROPERTY_GRAPH_FETCH_TREE:return(0,J.vB)(ki(t),e);case ei.ROOT_GRAPH_FETCH_TREE:return(0,J.vB)(vi(t),e);case ei.SUBTYPE_GRAPH_FETCH_TREE:return(0,J.vB)(Ri(t),e);default:throw new g(`Can't deserialize graph fetch tree node of type '${e._type}'`)}}const Bi=e=>(0,J.yu)(Ya,{_type:Q(za.ANALYTICS_EXECUTION_CONTEXT),enableConstraints:(0,J.jt)((0,J.Ru)()),queryTimeOutInSeconds:(0,J.jt)((0,J.Ru)()),toFlowSetFunction:z(ri(e)),useAnalytics:(0,J.Ru)()}),Li=(0,J.yu)(Wa,{_type:Q(za.BASE_EXECUTION_CONTEXT),enableConstraints:(0,J.jt)((0,J.Ru)()),queryTimeOutInSeconds:(0,J.jt)((0,J.Ru)())}),wi=e=>(0,J.yu)(Aa,{_type:Q(ei.EXECUTION_CONTEXT_INSTANCE),executionContext:(0,J.PG)((t=>function(e,t){return e instanceof Ya?(0,J.qC)(Bi(t),e):e instanceof Wa?(0,J.qC)(Li,e):J.AM}(t,e)),(t=>function(e,t){switch(e._type){case za.ANALYTICS_EXECUTION_CONTEXT:return(0,J.vB)(Bi(t),e);case za.BASE_EXECUTION_CONTEXT:return(0,J.vB)(Li,e);default:return J.AM}}(t,e)))}),Pi=e=>(0,J.yu)(_a,{_type:Q(ei.AGGREGATE_VALUE),mapFn:z(ri(e)),aggregateFn:z(ri(e))}),Di=e=>(0,J.yu)(ba,{_type:Q(ei.PAIR),first:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))),second:(0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e)))}),Mi=(0,J.yu)(Ta,{_type:Q(ei.RUNTIME_INSTANCE),runtime:(0,J.PG)((e=>(e=>{if(e instanceof ja)return(0,J.qC)(ja,e);if(e instanceof Ga)return(0,J.qC)(Va,e);throw new g("Can't serialize runtime",e)})(e)),(e=>(0,J.vB)(ja,e)))}),xi=e=>(0,J.yu)(Ia,{_type:Q(ei.PURE_LIST),values:(0,J.pb)((0,J.PG)((t=>Xi(t,e)),(t=>Ji(t,e))))}),ji=(0,J.yu)(Ca,{_type:Q(ei.SERIALIZATION_CONFIG),includeType:(0,J.jt)((0,J.Ru)()),typeKeyName:(0,J.Ru)(),includeEnumTypee:(0,J.jt)((0,J.Ru)()),removePropertiesWithNullValuese:(0,J.jt)((0,J.Ru)()),removePropertiesWithEmptySetse:(0,J.jt)((0,J.Ru)()),fullyQualifiedTypePathe:(0,J.jt)((0,J.Ru)()),includeObjectReferencee:(0,J.jt)((0,J.Ru)())}),Ui=e=>(0,J.yu)(va,{_type:Q(ei.TDS_AGGREGATE_VALUE),name:(0,J.Ru)(),pmapFn:z(ri(e)),aggregateFn:z(ri(e))}),Gi=e=>(0,J.yu)(ka,{_type:Q(ei.TDS_COLUMN_INFORMATION),name:(0,J.Ru)(),columnFn:z(ri(e))}),Hi=(0,J.yu)(Ra,{_type:Q(ei.TDS_SORT_INFORMATION),column:(0,J.Ru)(),direction:(0,J.Ru)()}),Vi=(0,J.yu)(Xa,{path:(0,J.pb)((0,J.Ru)())}),Ki=e=>(0,J.yu)(ga,{function1:(0,J.jt)(z(ri(e))),function2:(0,J.jt)(z(ri(e))),name:(0,J.Ru)(),type:(0,J.jt)((0,J.Ru)())}),Yi=e=>(0,J.yu)(Ja,{colSpecs:(0,J.pb)(z(Ki(e)))}),Wi=e=>(0,J.yu)(Oa,{_type:Q(ei.TDS_OLAP_RANK),function:z(ri(e))}),qi=e=>(0,J.yu)(Fa,{_type:Q(ei.TDS_OLAP_AGGREGATION),function:z(ri(e)),columnName:(0,J.Ru)()});class $i{plugins=[];constructor(e){this.plugins=e}visit_INTERNAL__UnknownValueSpecfication(e){return e.content}visit_Variable(e){return(0,J.qC)(ni,e)}visit_Lambda(e){return(0,J.qC)(ri(this.plugins),e)}visit_KeyExpression(e){return(0,J.qC)(oi(this.plugins),e)}visit_PackageableElementPtr(e){return(0,J.qC)(si,e)}visit_GenericTypeInstance(e){return(0,J.qC)(ci,e)}visit_AppliedFunction(e){return(0,J.qC)(ai(this.plugins),e)}visit_AppliedProperty(e){return(0,J.qC)(ii(this.plugins),e)}visit_Collection(e){return(0,J.qC)(li(this.plugins),e)}visit_EnumValue(e){return(0,J.qC)(gi,e)}visit_CInteger(e){return(0,J.qC)(mi,e)}visit_CDecimal(e){return(0,J.qC)(pi,e)}visit_CString(e){return(0,J.qC)(fi,e)}visit_CBoolean(e){return(0,J.qC)(Ai,e)}visit_CByteArray(e){return(0,J.qC)(yi,e)}visit_CFloat(e){return(0,J.qC)(hi,e)}visit_CDateTime(e){return(0,J.qC)(Ei,e)}visit_CStrictDate(e){return(0,J.qC)(bi,e)}visit_CStrictTime(e){return(0,J.qC)(_i,e)}visit_CLatestDate(e){return(0,J.qC)(Ti,e)}visit_ClassInstance(e){return(0,J.qC)(Ci(this.plugins),e)}}function Ji(e,t){switch(e._type){case ti.APPLIED_FUNCTION:return(0,J.vB)(ai(t),e);case ti.APPLIED_PROPERTY:return(0,J.vB)(ii(t),e);case ti.VARIABLE:return(0,J.vB)(ni,e);case ti.LAMBDA:return(0,J.vB)(ri(t),e);case ti.KEY_EXPRESSION:return(0,J.vB)(oi(t),e);case ti.COLLECTION:return(0,J.vB)(li(t),e);case ti.ENUM_VALUE:return(0,J.vB)(gi,e);case ti.CBOOLEAN:return Si(e,t,(e=>(0,J.vB)(Ai,e)));case ti.CBYTEARRAY:return Si(e,t,(e=>(0,J.vB)(yi,e)));case ti.CDATETIME:return Si(e,t,(e=>(0,J.vB)(Ei,e)));case ti.CSTRICTTIME:return Si(e,t,(e=>(0,J.vB)(_i,e)));case ti.CDECIMAL:return Si(e,t,(e=>(0,J.vB)(pi,e)));case ti.CFLOAT:return Si(e,t,(e=>(0,J.vB)(hi,e)));case ti.CINTEGER:return Si(e,t,(e=>(0,J.vB)(mi,e)));case ti.CLATESTDATE:return Si(e,t,(e=>(0,J.vB)(Ti,e)));case ti.CSTRICTDATE:return Si(e,t,(e=>(0,J.vB)(bi,e)));case ti.CSTRING:if(Array.isArray(e.values)&&!e.values.length&&(n=e.multiplicity,N(n)&&"Object"===n.constructor.name)&&1===e.multiplicity.upperBound){const e=new zo;return e.value="",e}return Si(e,t,(e=>(0,J.vB)(fi,e)));case ti.CLASS_INSTANCE:return(0,J.vB)(Ci(t),e);case ei.PAIR:case ei.AGGREGATE_VALUE:case ei.EXECUTION_CONTEXT_INSTANCE:case ei.PATH:case ei.ROOT_GRAPH_FETCH_TREE:case ei.PURE_LIST:case ei.RUNTIME_INSTANCE:case ei.SERIALIZATION_CONFIG:case ei.TDS_AGGREGATE_VALUE:case ei.TDS_COLUMN_INFORMATION:case ei.TDS_OLAP_AGGREGATION:case ei.TDS_OLAP_RANK:case ei.TDS_SORT_INFORMATION:return(0,J.vB)(Ci(t),{_type:ti.CLASS_INSTANCE,type:e._type,value:e});case ti.HACKED_CLASS:return di(e);case ti.UNIT_TYPE:case ti.HACKED_UNIT:return ui(e);case ti.PRIMITIVE_TYPE:case ti.ENUM:case ti.CLASS:case ti.MAPPING_INSTANCE:case ti.PACKAGEABLE_ELEMENT_PTR:return(0,J.vB)(si,e);case ti.GENERIC_TYPE_INSTANCE:return(0,J.vB)(ci,e);default:throw new g(`Can't deserialize value specification of type '${e._type}'`)}var n}function Xi(e,t){return e.accept_ValueSpecificationVisitor(new $i(t))}const zi=(e,t)=>{switch(e){case Wr.STRING:{const e=new zo;return e.value=I(t),e}case Wr.BOOLEAN:{const e=new Qo;return e.value=k(t),e}case Wr.NUMBER:case Wr.DECIMAL:{const e=new Zo;return e.value=v(t),e}case Wr.INTEGER:{const e=new ea;return e.value=v(t),e}case Wr.FLOAT:{const e=new ta;return e.value=v(t),e}case Wr.DATE:case Wr.DATETIME:{const e=new ra;return e.value=I(t),e}case Wr.STRICTDATE:{const e=new oa;return e.value=I(t),e}case Wr.STRICTTIME:{const e=new aa;return e.value=I(t),e}default:throw new g(`Unsupported tds column type ${e}`)}},Qi=(e,t,n)=>{let r=[_(e[0])];r=r.concat(n);const o=new sa;o.function=t,o.parameters=r,e[0]=o},Zi=(e,t,n,r)=>{const o=new ga,a=new ua,i=new la;i.property=e,i.class=n;const s=new da;s.name="x",i.parameters=[s],a.body.push(i),a.parameters.push(s),o.function1=a;const c=new ua,u=new sa;u.function=t;const d=new da;return d.name="agg",c.body.push(u),u.parameters.push(d),c.parameters.push(d),o.function2=c,o.name=r??e,o};var es,ts,ns;!function(e){e.CLASS_BUILDER="classBuilder",e.TDS_BUILDER="tdsBuilder",e.JSON_BUILDER="json"}(es||(es={})),function(e){e.RELATIONAL="relational",e.RELATIONAL_EXECUTION_ACTIVITY="RelationalExecutionActivity",e.AGGREGATION_AWARE_ACTIVITY="aggregationAware"}(ts||(ts={})),function(e){e.CSV="CSV"}(ns||(ns={}));class rs{_type;constructor(e){this._type=e}}class os{}class as extends os{sql;comment;constructor(e){super(),this.sql=e}}class is extends os{rewrittenQuery}class ss extends os{values;constructor(e){super(),this.values=e}}class cs{builder;activities}class us extends cs{values}class ds extends cs{value;constructor(e){super(),this.value=e}}class ls{name;type;relationalType;doc}class gs extends rs{columns=[];constructor(){super(es.TDS_BUILDER)}}class ps{values=[]}class ms{columns=[];rows=[]}class fs extends cs{_UUID=(0,a.Z)();builder=new gs;result=new ms}class hs extends rs{_type=es.CLASS_BUILDER}class Es extends cs{builder=new hs(es.CLASS_BUILDER);objects}class _s{static builderSerialization=new X((0,J.yu)(_s,{_type:(0,J.Ru)()}))}class bs{}class Ts extends bs{sql;comment;static serialization=new X((0,J.yu)(Ts,{sql:(0,J.Ru)(),comment:(0,J.jt)((0,J.Ru)())}))}class As extends bs{rewrittenQuery;static serialization=new X((0,J.yu)(As,{rewrittenQuery:(0,J.Ru)()}))}class ys{builder;activities}class Ss extends bs{content;constructor(e){super(),this.content=e}}class Cs extends ys{values;static serialization=new X((0,J.yu)(Cs,{_type:(0,J.Ru)(),builder:z(_s.builderSerialization.schema),values:(0,J.LZ)()}))}class Ns{name;doc;type;relationalType;static serialization=new X((0,J.yu)(Ns,{name:(0,J.Ru)(),doc:(0,J.jt)((0,J.Ru)()),type:(0,J.jt)((0,J.Ru)()),relationalType:(0,J.jt)((0,J.Ru)())}))}class Is extends _s{columns=[];static serialization=new X((0,J.yu)(Is,{_type:(0,J.Ru)(),columns:(0,J.pb)(z(Ns.serialization.schema))}))}function vs(e){switch(e._type){case ts.RELATIONAL:case ts.RELATIONAL_EXECUTION_ACTIVITY:return Ts.serialization.fromJson(e);case ts.AGGREGATION_AWARE_ACTIVITY:return As.serialization.fromJson(e);default:return new Ss(e)}}class ks extends ys{result;static serialization=new X((0,J.yu)(ks,{builder:z(Is.serialization.schema),activities:(0,J.pb)((0,J.PG)((()=>J.AM),vs)),result:(0,J.LZ)()}))}class Rs extends ys{objects;static serialization=new X((0,J.yu)(Rs,{builder:z(_s.builderSerialization.schema),activities:(0,J.pb)((0,J.PG)((()=>J.AM),vs)),objects:(0,J.LZ)()}))}class Os extends ys{value;constructor(e){super(),this.value=e}}class Fs extends ys{content}class Bs extends cs{content}const Ls=e=>{if(e instanceof Ts){const t=new as(e.sql);return t.comment=e.comment,t}if(e instanceof As){const t=new is;return t.rewrittenQuery=_(e.rewrittenQuery,"Aggregation aware execution activities 'rewritenQuery' field is missing"),t}if(e instanceof Ss)return new ss(e);throw new g("Can't build execution activities",e)},ws=e=>{const t=new ls;return t.name=_(e.name,"TDS column 'name' field is missing"),t.type=e.type,t.doc=e.doc,t.relationalType=e.relationalType,t},Ps=e=>{if(e instanceof Fs){const t=new Bs;return t.content=e.content,t}if(e instanceof Rs)return(e=>{const t=new Es;return t.objects=_(e.objects,"Class execution result 'objects' field is missing"),t.activities=e.activities?.map(Ls),t})(e);if(e instanceof ks)return(e=>{const t=new fs;return t.builder=(e=>{const t=new gs;return t.columns=e.columns.map(ws),t})(_(e.builder,"TDS execution result 'builder' field is missing")),t.activities=e.activities?.map(Ls),t.result.columns=e.result.columns,t.result.rows=e.result.rows.map((e=>{const t=new ps;return t.values=e.values,t})),t})(e);if(e instanceof Cs)return(e=>{const t=new us;return t.values=_(e.values,"JSON execution result 'values' field is missing"),t})(e);if(e instanceof Os)return new ds(e.value);throw new g("Can't build execution result",e)},Ds=e=>{if(null===e||y(e)||S(e)||C(e))return new Os(e);switch(e.builder?._type){case es.CLASS_BUILDER:return Rs.serialization.fromJson(e);case es.TDS_BUILDER:return ks.serialization.fromJson(e);case es.JSON_BUILDER:return Cs.serialization.fromJson(e);default:{const t=new Fs;return t.content=e,t}}};var Ms;!function(e){e.COMPILATION="COMPILATION",e.PARSER="PARSER"}(Ms||(Ms={}));class xs{message="";errorType;sourceInformation;static serialization=new X((0,J.yu)(xs,{errorType:(0,J.jt)((0,J.Ru)()),message:(0,J.Ru)(),sourceInformation:z(La.schema)}))}class js extends xs{static serialization=new X((0,J.yu)(js,{errorType:(0,J.jt)((0,J.Ru)()),message:(0,J.Ru)(),sourceInformation:z(La.schema)}))}class Us extends u{sourceInformation}class Gs extends Us{}class Hs{display;completion;static serialization=new X((0,J.yu)(Hs,{display:(0,J.Ru)(),completion:(0,J.Ru)()}))}class Vs{applicationStore;client;replGridState;executeAction=se.create();constructor(e){(0,ie.rC)(this,{replGridState:ie.LO,executeAction:ie.LO,getREPLGridServerResult:ie.ls,getInitialQueryLambda:ie.ls,getInitialREPLGridServerResult:ie.ls,getLicenseKey:ie.ls,executeLambda:ie.ls,parseQuery:ie.ls}),this.applicationStore=e,this.client=new Pr(new V({baseUrl:this.applicationStore.config.useDynamicREPLServer?window.location.origin:this.applicationStore.config.replUrl}));const t=e.settingService.getBooleanValue(xr.PAGINATION)??!0;this.replGridState=new Go(t)}*getREPLGridServerResult(e){try{const t=0!==e.groupBy.groupKeys.length,n=((e,t,n)=>{const r=[e];n&&((e,t,n)=>{if(void 0===t||void 0===n)return;const r=new ea;r.value=t;const o=new ea;o.value=n;let a=e[0];for(;a instanceof sa;){if(a.function===jr.FROM){if(a.parameters[0]instanceof sa&&a.parameters[0].function===jr.SLICE){a.parameters[0].parameters=[_(a.parameters[0].parameters[0]),r,o];break}const e=new sa;e.function=jr.SLICE,e.parameters=[_(a.parameters[0]),r,o],a.parameters[0]=e;break}a=a.parameters[0]}})(r,t.startRow,t.endRow);const o=t.groupBy;for(let e=0;e<o.groupKeys.length;e++){const n=new to(_(o.columns.at(e)),Wr.STRING,[new eo(Ur.EQUALS,o.groupKeys.at(e))],Gr.AND);t.filter.push(n)}((e,t)=>{if(0===t.length)return;const n=new ua;t.forEach((e=>{const t=e.conditions,r=e.groupOperation,o=new da;o.name="x";const a=[];if(t.forEach((t=>{const n=new sa,r=new la;switch(r.property=e.column,r.class=e.columnType,r.parameters=[o],t.operation){case Ur.EQUALS:case Ur.GREATER_THAN:case Ur.GREATER_THAN_OR_EQUAL:case Ur.LESS_THAN:case Ur.LESS_THAN_OR_EQUAL:case Ur.CONTAINS:case Ur.ENDS_WITH:case Ur.STARTS_WITH:n.function=t.operation,n.parameters.push(r),n.parameters.push(zi(e.columnType,t.value));break;case Ur.BLANK:n.function=t.operation,n.parameters.push(r);break;case Ur.NOT_EQUAL:{n.function=jr.NOT;const o=new sa;o.function=Ur.EQUALS,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}case Ur.NOT_BLANK:{n.function=jr.NOT;const o=new sa;o.function=Ur.BLANK,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}case Ur.NOT_CONTAINS:{n.function=jr.NOT;const o=new sa;o.function=Ur.CONTAINS,o.parameters.push(r),o.parameters.push(zi(e.columnType,t.value)),n.parameters.push(o);break}default:throw new g(`Unsupported filter operation ${t.operation}`)}a.push(n)})),a.length>1){const e=new sa;e.function=r,e.parameters=a,n.body.push(e)}else n.body=n.body.concat(a);if(n.body.length>1){const e=new sa;e.function=Gr.AND,e.parameters=n.body,n.body=[e]}n.parameters=[o]})),Qi(e,jr.FILTER,[n])})(r,t.filter),((e,t,n)=>{if(!t.columns.length)return;const r=new pa;r.type=ei.COL_SPEC_ARRAY;const o=new Ja,a=new Ja,i=new pa;if(i.type=ei.COL_SPEC_ARRAY,t.groupKeys.length!==t.columns.length){const e=t.groupKeys,n=t.columns[e.length],r=new ga;if(r.name=_(n),o.colSpecs.push(r),0===t.aggregations.length){const e=_(t.columns[0]),n=Zi(e,Hr.COUNT,Wr.STRING,Hr.COUNT);a.colSpecs.push(n)}}if(t.groupKeys.length===t.columns.length&&t.aggregations.length>0){const e=t.aggregations.map((e=>e.column));n.forEach((t=>{if(!e.includes(t)){const e=new ga;e.name=t,o.colSpecs.push(e)}}))}t.aggregations.forEach((e=>{const t=Zi(e.column,e.function,e.columnType);a.colSpecs.push(t)})),r.value=o,i.value=a,0===o.colSpecs.length&&0===a.colSpecs.length||Qi(e,jr.GROUPBY,[r,i])})(r,t.groupBy,t.columns),((e,t,n)=>{if(0===t.length)return;const r=new Ea;t.forEach((e=>{if(n.columns.length===n.groupKeys.length||n.columns.indexOf(e.column)===n.groupKeys.length){const t=new sa;t.function=e.order;const n=new pa;n.type=ei.COL_SPEC;const o=new ga;o.name=e.column,n.value=o,t.parameters.push(n),r.values.push(t)}})),Qi(e,jr.SORT,[r])})(r,t.sort,t.groupBy);const a=new ua;return a.body=r,a})(_(this.replGridState.initialQueryLambda?.body[0]),e,this.replGridState.isPaginationEnabled),r=yield(0,ie.fl)(this.client.getREPLGridServerResult(Xi(n,[]))),o=Dr.serialization.fromJson(r),a=JSON.parse(o.result);this.replGridState.setCurrentResult(b(Ps(Ds(a)),fs)),t?this.replGridState.setCurrentSubQuery(o.currentQuery):(this.replGridState.queryEditorState.setQuery(o.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0))}catch(e){p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}async getTypeaheadResults(e,t){try{const n=t.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:e.lineNumber,endColumn:e.column}),r=(await this.client.getTypeaheadResults(n)).map((e=>Hs.serialization.fromJson(e))),o=t.getWordUntilPosition(e);return r.map((t=>({label:t.display,kind:go.languages.CompletionItemKind.Text,range:{startLineNumber:e.lineNumber,startColumn:o.startColumn+1,endLineNumber:e.lineNumber,endColumn:o.endColumn+1},insertText:t.completion})))}catch(e){return[]}}*executeLambda(){try{this.executeAction.inProgress();const e=yield this.client.executeLambda(this.replGridState.queryEditorState.query,this.replGridState.isPaginationEnabled),t=Dr.serialization.fromJson(e),n=JSON.parse(t.result),r=b(Ps(Ds(n)),fs);this.replGridState.setInitialResult(r),this.replGridState.queryEditorState.setQuery(t.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0),this.replGridState.setColumns(r.result.columns),yield(0,ie.fl)(this.getInitialQueryLambda()),this.executeAction.complete()}catch(e){this.executeAction.fail(),p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}*parseQuery(){try{this.replGridState.queryEditorState.setParserError(void 0),yield(0,ie.fl)(this.client.parseQuery(`|${this.replGridState.queryEditorState.query}`))}catch(e){if(p(e),e instanceof U&&e.response.status===L.BAD_REQUEST){const t=js.serialization.fromJson(e.payload),n=new Gs(t.message);t.sourceInformation&&(n.sourceInformation=new xo(t.sourceInformation.sourceId,t.sourceInformation.startLine,t.sourceInformation.startColumn,t.sourceInformation.endLine,t.sourceInformation.endColumn)),this.replGridState.queryEditorState.setParserError(n)}}}*getInitialQueryLambda(){const e=Ji(yield this.client.getIntialQueryLambda(),[]);e instanceof ua&&this.replGridState.setInitialQueryLambda(e)}*getInitialREPLGridServerResult(){try{this.executeAction.inProgress(),this.replGridState.licenseKey||(yield(0,ie.fl)(this.getLicenseKey())),yield(0,ie.fl)(this.getInitialQueryLambda());const e=yield this.client.getInitialREPLGridServerResult(this.replGridState.isPaginationEnabled),t=Dr.serialization.fromJson(e),n=JSON.parse(t.result),r=b(Ps(Ds(n)),fs);this.replGridState.setInitialResult(r),this.replGridState.queryEditorState.setQuery(t.currentQuery.substring(1)),this.replGridState.setCurrentSubQuery(void 0),this.replGridState.setColumns(r.result.columns),this.executeAction.complete()}catch(e){this.executeAction.fail(),p(e),this.applicationStore.notificationService.notifyError(e),this.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}*getLicenseKey(){const e=yield this.client.getLicenseKey();this.replGridState.setLicenseKey(e)}}const Ks=(0,gt.createContext)(void 0),Ys=({children:e})=>{const t=mt(),n=(0,Qe.fv)((()=>new Vs(t)));return(0,r.jsx)(Ks.Provider,{value:n,children:e})},Ws=()=>_((0,gt.useContext)(Ks),"Can't find editor store in context"),qs=e=>function(){return(0,r.jsx)(Ys,{children:(0,r.jsx)(e,{})})};var $s=n(5002),Js=n(5217),Xs=n(2257),zs=n(6285),Qs=n(5189),Zs=n(4559),ec=n(4233);const tc=[Js.I],nc=[zs.b,Qs.qZ,Zs.$],rc=tc.concat(nc);function oc(e){let t=!1;return e.licenseKey&&(ec.W.setLicenseKey(JSON.stringify(e.licenseKey)),t=!0),(0,r.jsx)($s.s,{rowGroupPanelShow:t?"always":"never",suppressBrowserResizeObserver:!0,suppressScrollOnNewData:!0,alwaysMultiSort:!0,rowModelType:t?"serverSide":"clientSide",...e,defaultColDef:co(t),modules:t?rc:tc})}class ac{executions=0;rowData=[];columns=[];editorStore;constructor(e,t,n){(0,ie.rC)(this,{fetchRows:ie.ls}),this.rowData=e??[],this.columns=t??[],this.editorStore=n}*fetchRows(e){try{if(this.executions>0){if(this.editorStore){const t=this.extractRequest(e);if(t){yield(0,ie.fl)(this.editorStore.getREPLGridServerResult(t));const n=this.editorStore.replGridState.currentResult,r=uo(_(n).result);e.success({rowData:r})}else e.fail()}}else e.success({rowData:this.rowData});this.executions++}catch(e){p(e),this.editorStore?.applicationStore.notificationService.notifyError(e),this.editorStore?.applicationStore.logService.error(q.create(Mr.FETCH_TDS_FAILURE),e)}}getRows(e){this.fetchRows(e)}extractRequest(e){try{const t=e.request,n=t.startRow,r=t.endRow,o=e.columnApi.getColumns()?.map((e=>e.getColId())),a=t.sortModel.map((e=>new no(e.colId,(e=>{switch(e){case"asc":return Vr.ASCENDING;case"desc":return Vr.DESCENDING;default:throw new Error(`Unsupported tds sort order ${e}`)}})(e.sort)))),i=t.valueCols.map((e=>{const t=this.columns.find((t=>t.name===e.field))?.type;return new ro(_(e.field),t,(e=>{switch(e){case"sum":return Hr.SUM;case"min":return Hr.MIN;case"max":return Hr.MAX;case"count":return Hr.COUNT;default:throw new Error(`Unsupported aggregation function ${e}`)}})(_(e.aggFunc)))})),s=new oo(t.rowGroupCols.map((e=>e.id)),t.groupKeys,i),c=[],u=t.filterModel;return u&&Object.keys(u).forEach((e=>{const t=u[e],n=[],r=(e=>{switch(e){case"text":return Wr.STRING;case"number":return Wr.NUMBER;case"boolean":return Wr.BOOLEAN;case"date":return Wr.DATE;default:throw new Error(`Unsupported filter type ${e}`)}})(t.filterType);void 0===t.filter&&t.conditions?t.conditions.forEach((e=>n.push(new eo(io(e.type),e.filter)))):n.push(new eo(io(t.type),t.filter)),c.push(new to(e,r,n,"OR"===t.operator?Gr.OR:Gr.AND))})),new ao(o??[],c,a,s,n,r)}catch(e){return p(e),this.editorStore?.applicationStore.notificationService.notifyError(e),void this.editorStore?.applicationStore.logService.error(q.create(Mr.BUILD_TDS_EQUEST_FAILURE),e)}}}const ic=e=>{const{inputValue:t,updateInput:n,lightTheme:o,language:a,isReadOnly:i,hideMinimap:s,hideGutter:c,hidePadding:u,hideActionBar:d,lineToScroll:l,extraEditorOptions:g,error:p}=e,m=mt(),[f,h]=(0,gt.useState)(),[E,_]=(0,gt.useState)(!1),b=(0,gt.useRef)(void 0),T=Do(t),A=(0,gt.useRef)(null);if((0,gt.useEffect)((()=>{if(!f&&A.current){const e=A.current,t=go.editor.create(e,{contextmenu:!1,copyWithSyntaxHighlighting:!1,fontSize:14,fontFamily:"Roboto Mono",fontLigatures:!0,fixedOverflowWidgets:!0,detectIndentation:!1,tabSize:2,"bracketPairColorization.enabled":!1,automaticLayout:!0,theme:m.layoutService.TEMPORARY__isLightColorThemeEnabled?o??yo.BUILT_IN__VSCODE_LIGHT:yo.DEFAULT_DARK,glyphMargin:!u,padding:u?{top:0,bottom:0}:{top:20,bottom:20},formatOnType:!0,formatOnPaste:!0});h(t)}}),[m,o,u,f]),(0,gt.useEffect)((()=>{if(f){(e=>{const t=e.getValue();e.updateOptions({lineNumbersMinChars:Math.max(Math.floor(Math.log10(t.split(/\r\n|\r|\n/g).length))+3,5)})})(f);const e=f.getModel();e&&go.editor.setModelLanguage(e,a)}}),[f,a]),(0,gt.useEffect)((()=>{f&&void 0!==l&&f.revealLineInCenter(l)}),[f,l]),f){b.current?.dispose(),b.current=f.onDidChangeModelContent((()=>{const e=Bo(f);e!==T&&n?.(e)})),Bo(f)!==T&&f.setValue(T),f.updateOptions({readOnly:Boolean(i),minimap:{enabled:!s},...c?{glyphMargin:!u,folding:!1,lineNumbers:"off",lineDecorationsWidth:0}:{},...g??{}});const e=f.getModel();e?.updateOptions({tabSize:2}),e&&(p?.sourceInformation?wo(e,[{message:p.message,startLineNumber:p.sourceInformation.startLine,startColumn:p.sourceInformation.startColumn,endLineNumber:p.sourceInformation.endLine,endColumn:p.sourceInformation.endColumn}]):Po())}return(0,gt.useEffect)((()=>()=>{f&&(Fo(f),b.current?.dispose())}),[f]),(0,r.jsxs)("div",{className:"code-editor",children:[!d&&(0,r.jsx)("div",{className:"code-editor__header",children:(0,r.jsx)("button",{tabIndex:-1,className:(0,nt.W)("code-editor__header__action",{"code-editor__header__action--active":E}),onClick:()=>{const e=!E;_(e),f?.updateOptions({wordWrap:e?"on":"off"})},title:`[${E?"on":"off"}] Toggle word wrap`,children:(0,r.jsx)(It,{})})}),(0,r.jsx)("div",{className:(0,nt.W)("code-editor__content",{"code-editor__content--padding":!u,"code-editor__content--with__header":!d}),children:(0,r.jsx)("div",{className:"code-editor__body",ref:A})})]})},sc=qs((0,Qe.Pi)((()=>{const e=Ws(),t=e.applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;return(0,gt.useEffect)((()=>{(0,ie.fl)(e.getInitialREPLGridServerResult()).catch(e.applicationStore.alertUnhandledError)}),[e]),(0,r.jsxs)("div",{className:"repl",children:[(0,r.jsx)("div",{className:"repl__header",children:(0,r.jsxs)("div",{className:"repl__header__content",children:[(0,r.jsx)("div",{className:"repl__header__content__title",children:"REPL Grid"}),(0,r.jsxs)("div",{className:"repl__header__actions",children:[(0,r.jsxs)("div",{className:"repl__header__action__pagination",children:[(0,r.jsx)("button",{className:(0,nt.W)("repl__header__action__pagination__toggler__btn",{"repl__header__action__pagination__toggler__btn--toggled":e.replGridState.isPaginationEnabled}),onClick:()=>{e.replGridState.setIsPaginationEnabled(!e.replGridState.isPaginationEnabled),e.applicationStore.settingService.persistValue(xr.PAGINATION,e.replGridState.isPaginationEnabled)},tabIndex:-1,children:e.replGridState.isPaginationEnabled?(0,r.jsx)(Lt,{}):(0,r.jsx)(Bt,{})}),(0,r.jsx)("div",{className:"repl__header__action__pagination__label",children:"Pagination"})]}),(0,r.jsx)("button",{className:t?"repl__header__action":"repl__header__action repl__header__action--toggled",onClick:()=>{e.applicationStore.layoutService.setColorTheme(Yn.DEFAULT_DARK,{persist:!0})},children:"Dark"}),(0,r.jsx)("button",{className:t?"repl__header__action repl__header__action--toggled":"repl__header__action",onClick:()=>{e.applicationStore.layoutService.setColorTheme(Yn.LEGACY_LIGHT,{persist:!0})},children:"Light"})]})]})}),(0,r.jsxs)("div",{className:"repl__content",children:[(0,r.jsxs)("div",{className:"repl__content__query",children:[(0,r.jsx)("div",{className:"repl__query",children:(0,r.jsxs)("div",{className:"repl__query__editor",children:[(0,r.jsxs)("div",{className:"repl__query__header",children:[(0,r.jsx)("div",{className:"repl__query__label",children:"Curent Query"}),(0,r.jsx)("div",{className:"repl__query__execute-btn btn__dropdown-combo btn__dropdown-combo--primary",children:(0,r.jsxs)("button",{className:"btn__dropdown-combo__label",onClick:()=>{(0,ie.fl)(e.executeLambda()).catch(e.applicationStore.alertUnhandledError)},tabIndex:-1,children:[(0,r.jsx)(Dt,{className:"btn__dropdown-combo__label__icon"}),(0,r.jsx)("div",{className:"btn__dropdown-combo__label__title",children:"Run Query"})]})})]}),(0,r.jsx)("div",{className:"repl__query__content",children:(0,r.jsx)(Uo,{})})]})}),void 0!==e.replGridState.currentSubQuery&&(0,r.jsx)("div",{className:"repl__query",children:(0,r.jsxs)("div",{className:"repl__query__editor",children:[(0,r.jsxs)("div",{className:"repl__query__header",children:[(0,r.jsx)("div",{className:"repl__query__label__sub__query",children:"Current Row Group Sub Query"}),(0,r.jsx)("div",{className:"repl__query__label__sub__query__read--only",children:"Read Only"})]}),(0,r.jsx)("div",{className:"repl__query__content",children:(0,r.jsx)(ic,{lightTheme:t?yo.BUILT_IN__VSCODE_HC_LIGHT:yo.BUILT_IN__VSCODE_HC_BLACK,language:Mo.PURE,isReadOnly:!0,inputValue:e.replGridState.currentSubQuery,hideActionBar:!0,hidePadding:!0})})]})})]}),(0,r.jsx)("div",{className:"repl__query__label",children:"Result"}),(0,r.jsx)(bt,{isLoading:e.executeAction.isInProgress}),e.executeAction.hasCompleted&&(0,r.jsx)(oc,{className:e.applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled?"ag-theme-balham":"ag-theme-balham-dark",gridOptions:e.replGridState.initialResult&&e.replGridState.licenseKey?{serverSideDatasource:new ac(uo(e.replGridState.initialResult.result),e.replGridState.initialResult.builder.columns,e)}:{},licenseKey:e.replGridState.licenseKey??"",rowData:e.replGridState.rowData,columnDefs:e.replGridState.columnDefs,suppressServerSideInfiniteScroll:!e.replGridState.isPaginationEnabled})]})]})}))),cc=(0,Qe.Pi)((e=>{const{children:t}=e,n=_((0,gt.useContext)(Br),"Can't find application platform in context"),o=mt();return(0,gt.useEffect)((()=>{o.initialize(n).catch(o.alertUnhandledError)}),[o,n]),o.initState.hasSucceeded?(0,r.jsx)(Dn,{children:t}):(0,r.jsx)(r.Fragment,{})}));class uc{applicationStore;pluginManager;constructor(e){this.applicationStore=e,this.pluginManager=e.pluginManager}}const dc=(0,gt.createContext)(void 0),lc=({children:e})=>{const t=mt(),n=(0,Qe.fv)((()=>new uc(t)));return(0,r.jsx)(dc.Provider,{value:n,children:e})},gc=({children:e})=>(0,r.jsx)(cc,{children:(0,r.jsx)(lc,{children:e})}),pc=Object.freeze({GRID:"/grid"}),mc=qs((0,Qe.Pi)((()=>(0,r.jsx)("div",{className:"app",children:(0,r.jsx)(vr.rs,{children:(0,r.jsx)(vr.AW,{exact:!0,path:[pc.GRID],component:sc})})})))),fc=e=>{const{baseUrl:t}=e;return(0,r.jsx)(wr,{baseUrl:t,children:(0,r.jsx)(gc,{children:(0,r.jsx)(mc,{})})})},hc=JSON.parse('{"i8":"0.0.10","Rw":{"b":"@finos/legend-application-repl-plugin-core"}}');class Ec extends Tr{_$nominalTypeBrand;install(e){e.registerApplicationPlugin(this)}}var _c,bc,Tc;!function(e){e.PROFILE="Profile",e.CLASS="Class",e.ENUMERATION="Enum",e.MEASURE="Measure",e.ASSOCIATION="Association",e.FUNCTION="function",e.MAPPING="Mapping",e.FLAT_DATA="FlatData",e.DATABASE="Database",e.SERVICE="Service",e.RUNTIME="Runtime",e.CONNECTION="Connection",e.FILE_GENERATION="FileGeneration",e.GENERATION_SPECIFICATION="GenerationSpecification",e.DATA_ELEMENT="Data",e.EXECUTION_ENVIRONMENT="ExecutionEnvironment"}(_c||(_c={})),function(e){e.JSON_MODEL_CONNECTION="JsonModelConnection",e.XML_MODEL_CONNECTION="XmlModelConnection",e.MODEL_CHAIN_CONNECTION="ModelChainConnection",e.RELATIONAL_DATABASE_CONNECTION="RelationalDatabaseConnection",e.FLAT_DATA_CONNECTION="FlatDataConnection"}(bc||(bc={})),function(e){e.PURE="Pure",e.CONNECTION="Connection",e.RUNTIME="Runtime",e.MAPPING="Mapping",e.SERVICE="Service",e.FLATDATA="FlatData",e.RELATIONAL="Relational",e.GENERATION_SPECIFICATION="GenerationSpecification",e.FILE_GENERATION_SPECIFICATION="FileGeneration",e.DATA="Data"}(Tc||(Tc={}));const Ac={wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^$&*()\-=+[{\]}\\|;:'",.<>/?\s][^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]*)/,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"},{open:"<<",close:">>"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}};class yc extends Ec{static NAME=hc.Rw.b;constructor(){super(yc.NAME,hc.i8)}getExtraApplicationSetups(){return[async e=>{var t,n;Xs.O3h.registerModules([Js.I,Qs.qZ]),await(async e=>{const t=`Monospaced font '${Oe}' has not been loaded properly, code editor might not display properly`;await Promise.all([400,700].map((e=>document.fonts.load(`${e} 1em ${Oe}`)))).then((()=>{document.fonts.check(`1em ${Oe}`)?go.editor.remeasureFonts():e.logService.error(q.create(W.APPLICATION_SETUP__FAILURE),t)})).catch((()=>e.logService.error(q.create(W.APPLICATION_SETUP__FAILURE),t)));const n="legend.code-editor.override-default-keybinding";go.editor.registerCommand(n,((t,...n)=>{e.keyboardShortcutsService.dispatch(n[0])}));const r=[[go.KeyCode.F1,"F1"],[go.KeyCode.F8,"F8"],[go.KeyCode.F9,"F9"],[go.KeyMod.WinCtrl|go.KeyCode.KeyG,"Control+KeyG"],[go.KeyMod.WinCtrl|go.KeyCode.KeyB,"Control+KeyB"],[go.KeyMod.WinCtrl|go.KeyCode.KeyO,"Control+KeyO"],[go.KeyMod.WinCtrl|go.KeyCode.KeyD,"Control+KeyD"],[go.KeyMod.WinCtrl|go.KeyCode.KeyP,"Control+KeyP"],[go.KeyMod.Shift|go.KeyCode.F10,"Shift+F10"],[go.KeyMod.WinCtrl|go.KeyCode.F2,"Control+F2"],[go.KeyMod.WinCtrl|go.KeyCode.F12,"Control+F12"]];go.editor.addKeybindingRules(r.map((([e,t])=>({keybinding:e,command:n,commandArgs:t})))),go.editor.defineTheme(yo.DEFAULT_DARK,So),go.editor.defineTheme(yo.SOLARIZED_DARK,Co),go.editor.defineTheme(yo.GITHUB_DARK,No),go.editor.defineTheme(yo.GITHUB_DARK_DIMMED,Io),go.editor.defineTheme(yo.MATERIAL_DEFAULT,vo),go.editor.defineTheme(yo.MATERIAL_DARKER,ko),go.editor.defineTheme(yo.ONE_DARK_PRO,Ro),go.editor.defineTheme(yo.ONE_DARK_PRO_DARKER,Oo)})(e),go.languages.register({id:Mo.PURE}),go.languages.setLanguageConfiguration(Mo.PURE,Ac),go.languages.setMonarchTokensProvider(Mo.PURE,(n=t?.extraKeywords??[],{defaultToken:"invalid",tokenPostfix:".pure",keywords:[...n,"Schema","Table","Join","View","primaryKey","groupBy","mainTable","let","extends","true","false","projects",_c.CLASS,_c.ASSOCIATION,_c.ENUMERATION,_c.MEASURE,_c.PROFILE,_c.FUNCTION,_c.MAPPING,_c.RUNTIME,_c.CONNECTION,_c.FILE_GENERATION,_c.GENERATION_SPECIFICATION,_c.DATA_ELEMENT,bc.JSON_MODEL_CONNECTION,bc.MODEL_CHAIN_CONNECTION,bc.XML_MODEL_CONNECTION,"include","EnumerationMapping","Pure","AssociationMapping","XStore","AggregationAware",_c.SERVICE,_c.FLAT_DATA,_c.DATABASE,bc.FLAT_DATA_CONNECTION,bc.RELATIONAL_DATABASE_CONNECTION,"Relational"],operators:["=",">","<","!","~","?",":","==","<=",">=","&&","||","++","--","+","-","*","/","&","|","^","%","->","#{","}#","@","<<",">>"],languageStructs:["import","native"],identifier:/[a-zA-Z_$][\w$]*/,symbols:/[=><!~?:&|+\-*/^%#@]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,multiplicity:/\[(?:[a-zA-Z0-9]+(?:\.\.(?:[a-zA-Z0-9]+|\*|))?|\*)\]/,package:/(?:[\w_]+::)+/,generics:/(?:(?:<\w+>)|(?:<[^:.@^()]+[^-]>))/,date:/%-?\d+(?:-\d+(?:-\d+(?:T(?:\d+(?::\d+(?::\d+(?:.\d+)?)?)?)(?:[+-][0-9]{4})?)))/,time:/%\d+(?::\d+(?::\d+(?:.\d+)?)?)?/,tokenizer:{root:[{include:"@pure"},{include:"@date"},{include:"@color"},[/^\s*###[\w]+/,lo.PARSER],[/(@identifier)/,{cases:{"@languageStructs":lo.LANGUAGE_STRUCT,"@keywords":`${lo.KEYWORD}.$0`,"([a-zA-Z_$][\\w$]*)_((\\w+_(([a-zA-Z0-9]+)|(\\$[a-zA-Z0-9]+_[a-zA-Z0-9]+\\$)))__)*(\\w+_(([a-zA-Z0-9]+)|(\\$[a-zA-Z0-9]+_[a-zA-Z0-9]+\\$)))_":lo.TYPE,"@default":lo.IDENTIFIER}}],{include:"@whitespace"},[/[{}()[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":lo.OPERATOR,"@default":lo.IDENTIFIER}}],{include:"@number"},[/[;,.]/,lo.DELIMITER],[/'([^'\\]|\\.)*$/,`${lo.STRING}.invalid`],[/'/,lo.STRING,"@string"],{include:"@characters"}],pure:[[/(@package\*)/,[lo.PACKAGE]],[/(@package?)(@identifier)(@generics?)(\s*)(@multiplicity)/,[lo.PACKAGE,lo.TYPE,lo.GENERICS,lo.WHITESPACE,lo.MULTIPLICITY]],[/(@package)(@identifier)(@generics?)/,[lo.PACKAGE,lo.TYPE,lo.GENERICS]],[/([@^])(\s*)(@package?)(@identifier)(@generics?)(@multiplicity?)/,[`${lo.TYPE}.operator`,lo.WHITESPACE,lo.PACKAGE,lo.TYPE,lo.GENERICS,lo.MULTIPLICITY]],[/(\.\s*)(@identifier)/,[lo.DELIMITER,lo.PROPERTY]],[/(@identifier)(\s*=)/,[lo.PROPERTY,lo.OPERATOR]],[/(@identifier)(\.)(@identifier)/,[lo.TYPE,lo.OPERATOR,lo.PROPERTY]],[/(@identifier)(\s*:)/,[lo.PARAMETER,lo.OPERATOR]],[/(let)(\s+)(@identifier)(\s*=)/,[lo.KEYWORD,lo.WHITESPACE,lo.VARIABLE,lo.OPERATOR]],[/(\$@identifier)/,[`${lo.VARIABLE}.reference`]]],date:[[/(%latest)/,[`${lo.DATE}.latest`]],[/(@date)/,[lo.DATE]],[/(@time)/,[`${lo.DATE}.time`]]],color:[[/(#[0-9a-fA-F]{6})/,[lo.COLOR]]],number:[[/(@digits)[eE]([-+]?(@digits))?[fFdD]?/,`${lo.NUMBER}.float`],[/(@digits)\.(@digits)([eE][-+]?(@digits))?[fFdD]?/,`${lo.NUMBER}.float`],[/0[xX](@hexdigits)[Ll]?/,`${lo.NUMBER}.hex`],[/0(@octaldigits)[Ll]?/,`${lo.NUMBER}.octal`],[/0[bB](@binarydigits)[Ll]?/,`${lo.NUMBER}.binary`],[/(@digits)[fFdD]/,`${lo.NUMBER}.float`],[/(@digits)[lL]?/,lo.NUMBER]],whitespace:[[/[ \t\r\n]+/,lo.WHITESPACE],[/\/\*\*(?!\/)/,`${lo.COMMENT}.doc`,"@doc"],[/\/\*/,lo.COMMENT,"@comment"],[/\/\/.*$/,lo.COMMENT]],comment:[[/[^/*]+/,lo.COMMENT],[/\*\//,lo.COMMENT,"@pop"],[/[/*]/,lo.COMMENT]],doc:[[/[^/*]+/,`${lo.COMMENT}.doc`],[/\/\*/,`${lo.COMMENT}.doc.invalid`],[/\*\//,`${lo.COMMENT}.doc`,"@pop"],[/[/*]/,`${lo.COMMENT}.doc`]],string:[[/[^\\']+/,lo.STRING],[/@escapes/,`${lo.STRING}.escape`],[/\\./,`${lo.STRING}.escape.invalid`],[/'/,lo.STRING,"@pop"]],characters:[[/'[^\\']'/,lo.STRING],[/(')(@escapes)(')/,[lo.STRING,`${lo.STRING}.escape`,lo.STRING]],[/'/,`${lo.STRING}.invalid`]]}}))}]}}class Sc extends mr{static create(){const e=new Sc(Nr.create());return e.withBasePlugins([new Ar,new yc]),e.withBasePresets([]),e}async configureApplication(e){return new Sr(e)}async loadApplication(e){(0,o.s)((()=>{let e=document.getElementsByTagName(fr).length?document.getElementsByTagName(fr)[0]:void 0;return e||(e=document.createElement(fr),document.body.appendChild(e)),e.setAttribute("style","height: 100%; width: 100%; display: block"),e})()).render((0,r.jsx)(ft,{store:e,children:(0,r.jsx)(fc,{baseUrl:this.baseAddress})}))}}class Cc{static getPresetCollection(){return[]}static getPluginCollection(){return[new yc]}static run(e){Sc.create().setup({baseAddress:e}).withPresets(Cc.getPresetCollection()).withPlugins(Cc.getPluginCollection()).start().catch((e=>{throw e}))}}Cc.run("/repl/")},1931:(e,t,n)=>{const r=n(1659);e.exports={Fuse:r}}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=r,a.amdO={},e=[],a.O=(t,n,r,o)=>{if(!n){var i=1/0;for(d=0;d<e.length;d++){for(var[n,r,o]=e[d],s=!0,c=0;c<n.length;c++)(!1&o||i>=o)&&Object.keys(a.O).every((e=>a.O[e](n[c])))?n.splice(c--,1):(s=!1,o<i&&(i=o));if(s){e.splice(d--,1);var u=r();void 0!==u&&(t=u)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.e=()=>Promise.resolve(),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/repl/",(()=>{var e={826:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(c)var d=c(a)}for(t&&t(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(d)},n=globalThis.webpackChunk_finos_legend_application_repl_deployment=globalThis.webpackChunk_finos_legend_application_repl_deployment||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=a.O(void 0,[736],(()=>a(8932)));i=a.O(i)})();
2
+ //# sourceMappingURL=index.5b5773a9.js.map