@finos/legend-application-repl-deployment 11.71.0 → 11.72.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/repl/index.html +1 -1
- package/dist/repl/static/{index.3fcf6df2.js → index.783a9136.js} +2 -2
- package/dist/repl/static/{index.3fcf6df2.js.map → index.783a9136.js.map} +1 -1
- package/dist/repl/static/{index.83a5a9c8.css → index.d6080a2c.css} +5 -5
- package/dist/repl/static/{index.83a5a9c8.css.map → index.d6080a2c.css.map} +1 -1
- package/dist/repl/version.json +1 -1
- package/package.json +6 -6
@@ -1,2 +1,2 @@
|
|
1
|
-
(()=>{"use strict";var e,t,n,o={6592:(e,t,n)=>{const o=JSON.parse('{"rE":"10.0.41","XO":{"Z":"@finos/legend-logger-plugin-web-console"}}');var r,a=n(2964);class i{name;version;signature;uuid}class s{name;version;uuid=(0,a.A)();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 i;return e.name=this.getName(),e.version=this.getVersion(),e.signature=this.getSignature(),e.uuid=this.getUUID(),e}configure(e){return this}}class c{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[]}}!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"}(r||(r={}));class u{channel;name;timestamp=Date.now();static create(e){const t=new u;return t.name=e,t}}class d extends s{level=r.DEBUG;setLevel(e){this.level=e}install(e){e.registerLoggerPlugin(this)}debug(e,...t){this.level<=r.DEBUG&&this._debug(e,...t)}info(e,...t){this.level<=r.INFO&&this._info(e,...t)}warn(e,...t){this.level<=r.WARN&&this._warn(e,...t)}error(e,...t){this.level<=r.ERROR&&this._error(e,...t)}}class l{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)))}}const{debug:p,info:g,warn:m,error:f}=console;class h extends d{constructor(){super(o.XO.Z,o.rE)}_debug(e,...t){p(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_info(e,...t){g(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_warn(e,...t){m(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_error(e,...t){f(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}}var E=n(1085),b=n(5873),_=n(4417),A=n(4365);const T=()=>()=>{};class y extends Error{uuid=(0,a.A)();constructor(e){super(),this.message=void 0===e||""===e?"(no error message)":e}get detail(){return this.message}}class C 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 S extends C{constructor(e){super("Illegal State Error [PLEASE NOTIFY DEVELOPER]",e)}}class N extends C{constructor(e,t){super("Unsupported Operation Error",e||t?`${e}${t?`\n${((e,t)=>{const n=(o={printFunctionName:!1,maxDepth:t?.deep?void 0:1},(0,_.A)(o,(e=>void 0!==e)));var o;return(0,A.GP)(e,n).replace(/.*\s\{/g,"{").replace(/\[.*\]/g,(e=>["[Array]","[Function]"].includes(e)?e:"[Object]"))})(t)}`:""}`:void 0)}}function I(e){if(!(e instanceof Error))throw new S("Expected error to be thrown")}const v=e=>{try{return e()}catch{return}};class k extends C{constructor(e,t){super("Assertion Error",e,t)}}const R=e=>null!=e;function O(e,t=""){if(null==e)throw new k(t||"Value is nullable")}const F=(e,t="")=>(O(e,t),e);function L(e,t,n=""){if(!(e instanceof t))throw new k(n||`Value is expected to be of type '${t.name}'`)}const w=(e,t,n="")=>(L(e,t,n),e);function P(e,t=""){return function(e,t=""){if(""===F(e,t))throw new k(t||"Expected string value to be non-empty")}(e,t),e}function B(e,t=""){if(!e)throw new k(t||"Expected predicate to be truthy")}const x=e=>"string"==typeof e,D=e=>"number"==typeof e&&!isNaN(e),M=e=>"boolean"==typeof e,j=e=>"object"==typeof e&&null!==e,U=e=>j(e)&&"Object"===e.constructor.name,G=(e,t="")=>(function(e,t=""){if(!x(e))throw new k(t||"Value is expected to be a string")}(e,t),e),H=(e,t="")=>(function(e,t=""){if(!D(e))throw new k(t||"Value is expected to be a number")}(e,t),e),V=(e,t="")=>(function(e,t=""){if(!M(e))throw new k(t||"Value is expected to be a boolean")}(e,t),e);var Y=n(6651),K=n(6046),W=n(6451),$=n(8041);const X=Y.v,q="charset=utf-8";var J,z,Q;!function(e){e.CONTENT_TYPE="Content-Type",e.ACCEPT="Accept"}(J||(J={})),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="*/*"}(z||(z={})),function(e){e.GET="GET",e.PUT="PUT",e.POST="POST",e.DELETE="DELETE"}(Q||(Q={}));const Z={mode:"cors",credentials:"include",redirect:"follow"},ee=(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 te 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:o,url:r}=e,a=`Received response with status ${n} (${o}) for ${r}`;this.message=(t?(e=>{if(j(e))return x(e.message)?e.message:JSON.stringify(e);let t;try{t=JSON.parse(e)}catch{}return t&&x(t.message)?t.message:e})(t).substring(0,5e3):"")||a,this.payload=t}}const ne=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 te(e,t))}if(n?.skipProcessing)return Promise.resolve(e);if(e.status===X.NO_CONTENT)return Promise.resolve(void 0);const o=t.headers.Accept;switch(o){case z.APPLICATION_JSON:return e.json();case z.TEXT_PLAIN:return e.text();default:return Promise.reject(new te(e,`Can't process response for request with Content-Type '${o}'`))}},oe=(e,t)=>{const n={};return n.Accept=z.APPLICATION_JSON,e!==Q.GET&&(n[J.CONTENT_TYPE]=`${z.APPLICATION_JSON};${q}`),ee(n,t)};class re{options={};baseUrl;constructor(e){this.baseUrl=e?.baseUrl,this.options={...Z,...e?.options??{}}}async get(e,t={},n,o,r,a){return this.request(Q.GET,e,void 0,t,n,o,r,a)}async put(e,t={},n={},o,r,a,i){return this.request(Q.PUT,e,t,n,o,r,a,i)}async post(e,t={},n={},o,r,a,i){return this.request(Q.POST,e,t,n,o,r,a,i)}async delete(e,t={},n={},o,r,a,i){return this.request(Q.DELETE,e,t,n,o,r,a,i)}async request(e,t,n,o,r,a,i,s){const c=((e,t,n)=>{if(!e&&!v((()=>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 o=new URL(t,e);return n instanceof Object&&Object.entries(n).forEach((([e,t])=>{void 0!==t&&(Array.isArray(t)?t.filter(R).forEach((t=>o.searchParams.append(e,t.toString()))):o.searchParams.append(e,t.toString()))})),o.toString()})(this.baseUrl,t,a??{});let u;if((x(n)||j(n))&&i?.enableCompression&&(B(e!==Q.GET," GET request should not have any request payload"),n=(e=>new Blob([(0,K.Kc)(j(e)?JSON.stringify(e):e)]))(n),r=ee(r,{[J.CONTENT_TYPE]:`${z.APPLICATION_ZLIB};${q}`})),void 0!==n)if(x(n)||n instanceof Blob)u=n;else{if(!j(n))throw new k("Request body can only be either a 'string' or an 'object'");u=JSON.stringify(n)}const d={...this.options,...o,method:e,body:u,headers:oe(e,r)};return fetch(c,d).then((e=>0===e.status||e.status===X.UNAUTHORIZED?s?.autoReAuthenticateUrl?(e=>new Promise((t=>{const n="AUTO_AUTHENTICATION_IFRAME",o=document.getElementById(n);o?.remove();const r=document.createElement("iframe");r.id=n,r.src=e,r.style.display="none",r.addEventListener("load",(()=>{r.remove(),t()})),document.body.appendChild(r)})))(s.autoReAuthenticateUrl).then((()=>fetch(c,d))).then((e=>ne(e,d,s))):fetch(c,d).then((e=>ne(e,d,s))):ne(e,d,s))).catch((e=>(e=>e instanceof TypeError&&"Failed to fetch"===e.message)(e)?fetch(c,d).then((e=>ne(e,d,s))):Promise.reject(e)))}}const ae=(e,t,n)=>{const o=new Blob([t],{type:n}),r=URL.createObjectURL(o),a=document.createElement("a");"string"==typeof a.download?(document.body.appendChild(a),a.download=e,a.href=r,a.click(),document.body.removeChild(a)):location.replace(r)};var ie;!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"}(ie||(ie={}));var se=n(7542);class ce{schema;deserializeNullAsUndefined;constructor(e,t){this.schema=e,this.deserializeNullAsUndefined=Boolean(t?.deserializeNullAsUndefined)}toJson(e){return(0,se.lK)(this.schema,e)}fromJson(e){return(0,se.iu)(this.schema,this.deserializeNullAsUndefined?(t=e,(0,_.A)(t,(e=>null!==e))):e);var t}}const ue=e=>(0,se.Ie)((t=>void 0===t?se._Z:(0,se.lK)(e,t)),(t=>(0,se.iu)(e,t))),de=e=>(0,se.Ie)((()=>e),(()=>e)),le=e=>(0,se.Ie)((t=>t?(0,se.lK)(e,t):se._Z),(t=>t?(0,se.iu)(e,t):se._Z));var pe=n(6696);class ge{key;markdownText;title;text;url;related;static serialization=new ce((0,se.PL)(ge,{markdownText:(0,se.Ie)((e=>e),(e=>e.value?e:void 0)),related:(0,se.lq)((0,se.p_)((0,se.MY)())),title:(0,se.lq)((0,se.MY)()),text:(0,se.lq)((0,se.MY)()),url:(0,se.lq)((0,se.MY)())}));static create(e,t){const n=ge.serialization.fromJson(e);return n.key=t,n}}const me=e=>Object.entries(e).map((e=>({key:e[0],content:ge.create(e[1],e[0])})));class fe{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(u.create(ie.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,pe.A)(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(u.create(ie.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(u.create(ie.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]=ge.serialization.toJson(t)})),e}publishContextualDocIndex(){const e={};return this.contextualDocIndex.forEach(((t,n)=>{e[n]=t.key})),e}}var he,Ee,be=n(3794);!function(e){e.INITIAL="INITIAL",e.IN_PROGRESS="IN_PROGRESS",e.SUCCEEDED="SUCEEDED",e.FAILED="FAILED"}(he||(he={}));class _e{state;_message;_messageFormatter;constructor(){this.state=he.INITIAL}setMessage(e){this._message=e}setMessageFormatter(e){this._messageFormatter=e}reset(){return this.state=he.INITIAL,this}inProgress(){return this.state=he.IN_PROGRESS,this}fail(){return this.state=he.FAILED,this}pass(){return this.state=he.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===he.INITIAL}get isInProgress(){return this.state===he.IN_PROGRESS}get hasFailed(){return this.state===he.FAILED}get hasSucceeded(){return this.state===he.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,be.Gn)(new _e,{state:be.sH,_message:be.sH,reset:be.XI,inProgress:be.XI,pass:be.XI,fail:be.XI,complete:be.XI,setMessage:be.XI,sync:be.XI,isInInitialState:be.EW,isInProgress:be.EW,hasFailed:be.EW,hasSucceeded:be.EW,hasCompleted:be.EW,message:be.EW})}}!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"}(Ee||(Ee={}));class Ae{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 Te{plugins=[];registerPlugins(e){this.plugins=e}createTrace(e,t,n,o){const r=new Ae;return e&&r.setup(this.plugins.map((r=>{const a=r.createClientSpan(e);return{clientSpan:a,serverSpan:r.createServerSpan(a,t,n,o),plugin:r}}))),r}}const ye=n(7102).A;var Ce,Se;!function(e){e.STANDARD="standard",e.INCLUDE="include match",e.EXACT="exact match",e.INVERSE="excludes exact match"}(Ce||(Ce={}));class Ne{currentMode=Ce.STANDARD;onSearchModeChange;constructor(e){(0,be.Gn)(this,{currentMode:be.sH,isAdvancedSearchActive:be.EW,setCurrentMode:be.XI}),this.onSearchModeChange=e}get isAdvancedSearchActive(){return this.currentMode!==Ce.STANDARD}generateSearchText(e){switch(this.currentMode){case Ce.INCLUDE:return`'"${e}"`;case Ce.EXACT:return`="${e}"`;case Ce.INVERSE:return`!"${e}"`;default:return e}}setCurrentMode(e){this.currentMode=e,this.onSearchModeChange()}}!function(e){e.SEARCH="SEARCH",e.CONTEXTUAL_SUPPORT="CONTEXTUAL_SUPPORT"}(Se||(Se={}));class Ie{uuid=(0,a.A)();documentationKey;title;content;url;isOpen=!1;constructor(e){(0,be.Gn)(this,{isOpen:be.sH,setIsOpen:be.XI}),this.documentationKey=e.key,this.title=P(e.title),this.content=e.markdownText??e.text,this.url=e.url}setIsOpen(e){this.isOpen=e}}class ve{uuid=(0,a.A)();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 ke=e=>Boolean(e.title&&(e.url??e.text??e.markdownText));class Re{applicationStore;panelRenderingKey=(0,a.A)();isHidden=!0;isOpen=!1;isPanelMaximized=!1;selectedTab=Se.SEARCH;currentDocumentationEntry;searchEngine;searchConfigurationState;searchState=_e.create();searchText="";searchResults=[];showSearchConfigurationMenu=!1;isOverSearchLimit=!1;constructor(e){(0,be.Gn)(this,{isHidden:be.sH,isOpen:be.sH,isPanelMaximized:be.sH,panelRenderingKey:be.sH,isOverSearchLimit:be.sH,selectedTab:be.sH,searchText:be.sH,searchResults:be.sH,currentDocumentationEntry:be.sH,showSearchConfigurationMenu:be.sH,currentContextualDocumentationEntry:be.EW,setIsHidden:be.XI,setIsOpen:be.XI,setIsPanelMaximized:be.XI,setSelectedTab:be.XI,setSearchText:be.XI,resetSearch:be.XI,search:be.XI,openDocumentationEntry:be.XI,refreshPanelRendering:be.XI,setShowSearchConfigurationMenu:be.XI}),this.applicationStore=e,this.searchEngine=new ye(this.applicationStore.documentationService.getAllDocEntries().filter(ke),{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 Ne((()=>{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 ve(e,t,(t.related??[]).map((e=>this.applicationStore.documentationService.getDocEntry(e))).filter(R).filter(ke).map((e=>new Ie(e)))):void 0}openDocumentationEntry(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&(this.setIsOpen(!0),this.setIsHidden(!1),this.currentDocumentationEntry=new Ie(t),this.currentDocumentationEntry.setIsOpen(!0),this.resetSearch())}openDocumentationEntryLink(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&((e=>ke(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.A)()}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 Ie(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 Oe{notifierPlugins=[];registerEventNotifierPlugins(e){this.notifierPlugins=e}notify(e,t){this.notifierPlugins.forEach((n=>n.notify(e,t)))}}class Fe{static logEvent_ApplicationInitializationSucceeded(e,t){e.logEvent(ie.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(ie.APPLICATION_CONTEXT__ACCESS,t)}static logEvent_VirtualAssistantDocumentationEntryAccessed(e,t){e.logEvent(ie.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS,t)}static logEvent_ApplicationUsageInterrupted(e){e.logEvent(ie.APPLICATION_USAGE__INTERRUPT,{})}}class Le{applicationStore;contextStack=[];constructor(e){(0,be.Gn)(this,{contextStack:be.sH,currentContext:be.EW,push:be.XI,pop:be.XI}),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 S(`Found multiple context '${e.key}' in application navigation context stack`);t.push(e),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraAccessEventLoggingApplicationContextKeys?.()??[])).includes(e.key)&&Fe.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 we{applicationStore;commandRegistry=new Map;constructor(e){(0,be.Gn)(this,{commandRegistry:be.sH,registerCommand:be.XI,deregisterCommand:be.XI}),this.applicationStore=e}registerCommand(e){const t=e.key;this.commandRegistry.has(t)?this.applicationStore.logService.warn(u.create(ie.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 Pe{applicationStore;keyMap=new Map;commandKeyMap=new Map;isHotkeysBlocked=!1;constructor(e){(0,be.Gn)(this,{keyMap:be.sH,commandKeyMap:be.sH,isHotkeysBlocked:be.sH,addHotkey:be.XI,blockGlobalHotkeys:be.XI,unblockGlobalHotkeys:be.XI}),this.applicationStore=e,this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedCommandConfigEntries?.()??[])).forEach((e=>{const t=[e.content.defaultKeyboardShortcut,...e.content.additionalKeyboardShortcuts??[]].filter(R);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 Be=n(4594),xe=n(2338),De=n(4462),Me=n(720),je=n(5974),Ue=n(382);const Ge="Roboto Mono",He="yyyy-MM-dd'T'HH:mm:ss";var Ve;!function(e){e.RESET="[0m",e.BOLD="[1m",e.DIM="[2m",e.ITALIC="[3m",e.UNDERLINE="[4m",e.BLINKING="[5m",e.STRIKETHROUGH="[9m",e.BLACK="[30m",e.RED="[31m",e.GREEN="[32m",e.YELLOW="[33m",e.BLUE="[34m",e.MAGENTA="[35m",e.CYAN="[36m",e.WHITE="[37m",e.BRIGHT_BLACK="[1;30m",e.BRIGHT_RED="[1;31m",e.BRIGHT_GREEN="[1;32m",e.BRIGHT_YELLOW="[1;33m",e.BRIGHT_BLUE="[1;34m",e.BRIGHT_MAGENTA="[1;35m",e.BRIGHT_CYAN="[1;36m",e.BRIGHT_WHITE="[1;37m",e.DIMMED_BLACK="[2;30m",e.DIMMED_RED="[2;31m",e.DIMMED_GREEN="[2;32m",e.DIMMED_YELLOW="[2;33m",e.DIMMED_BLUE="[2;34m",e.DIMMED_MAGENTA="[2;35m",e.DIMMED_CYAN="[2;36m",e.DIMMED_WHITE="[2;37m",e.BLACK_BG="[40m",e.RED_BG="[41m",e.GREEN_BG="[42m",e.YELLOW_BG="[43m",e.BLUE_BG="[44m",e.MAGENTA_BG="[45m",e.CYAN_BG="[46m",e.WHITE_BG="[47m",e.BRIGHT_BLACK_BG="[1;40m",e.BRIGHT_RED_BG="[1;41m",e.BRIGHT_GREEN_BG="[1;42m",e.BRIGHT_YELLOW_BG="[1;43m",e.BRIGHT_BLUE_BG="[1;44m",e.BRIGHT_MAGENTA_BG="[1;45m",e.BRIGHT_CYAN_BG="[1;46m",e.BRIGHT_WHITE_BG="[1;47m",e.DIMMED_BLACK_BG="[2;40m",e.DIMMED_RED_BG="[2;41m",e.DIMMED_GREEN_BG="[2;42m",e.DIMMED_YELLOW_BG="[2;43m",e.DIMMED_BLUE_BG="[2;44m",e.DIMMED_MAGENTA_BG="[2;45m",e.DIMMED_CYAN_BG="[2;46m",e.DIMMED_WHITE_BG="[2;47m"}(Ve||(Ve={}));const Ye=(e,t)=>`[${e};${t}H`;class Ke{searchInput;searchText="";useRegex=!1;matchWholeWord=!1;matchCaseSensitive=!1;resultCount;currentResultIndex;constructor(){(0,be.Gn)(this,{searchText:be.sH,useRegex:be.sH,matchWholeWord:be.sH,matchCaseSensitive:be.sH,resultCount:be.sH,currentResultIndex:be.sH})}setSearchInput(e){this.searchInput=e}focus(){this.searchInput?.focus()}}class We{applicationStore;searchConfig=new Ke;constructor(e){(0,be.Gn)(this,{setSearchText:be.XI,setSearchRegex:be.XI,setSearchWholeWord:be.XI,setSearchCaseSensitive:be.XI,setSearchResultCount:be.XI,setSearchCurrentResultIndex:be.XI}),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 $e extends We{preserveLog=!1;commandRegistry=new Map;constructor(e){super(e),(0,be.Gn)(this,{preserveLog:be.sH,setPreserveLog:be.XI})}setPreserveLog(e){this.preserveLog=e}showHelp(){}showCommonANSIEscapeSequences(){}}var Xe=n(9481);n(4404),n(1880);const qe=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"],ze=e=>(e??"").trim().replace(/\b(?:\w+)\b/gu,(e=>Je.includes(e.toLowerCase())?e.toLowerCase():qe(e))).replace(/^(?:\w+)\b/u,(e=>qe(e))).replace(/\b(?:\w+)$/u,(e=>qe(e)));var Qe;function Ze(e){return e.trim().split(" ").map((e=>{const t=e.split(/\b\+/),n=F(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"}(Qe||(Qe={}));const et=(e,t)=>t.key===e.code&&t.modifiers.every((t=>e.getModifierState(t)))&&![Qe.SHIFT,Qe.META,Qe.ALT,Qe.CONTROL].find((n=>t.key!==n&&e.getModifierState(n)&&!t.modifiers.includes(n))),tt=(e,t)=>et(e,F(Ze(t)[0]));var nt=n(7063),ot=n(2285),rt=n(5844);const at=(0,nt.A)({transitions:{create:()=>"none"}}),it=e=>{const{children:t}=e;return(0,E.jsx)(ot.A,{injectFirst:!0,children:(0,E.jsx)(rt.A,{theme:at,children:t})})};var st=n(6112),ct=n(3432),ut=n(5150),dt=n(306),lt=n(692),pt=n(3416),gt=n(4357);const mt=(e,t)=>{const n=e=>{const{children:n,className:o}=e;return(0,E.jsx)("div",{className:(0,gt.$)(t,o),"data-testid":e["data-testid"],children:n})};return n.displayName=e,n},ft=e=>{const{children:t,darkMode:n,className:o}=e;return(0,E.jsx)("div",{className:(0,gt.$)("modal",{"modal--dark":n},o),children:t})},ht=e=>{const{title:t,icon:n,className:o}=e;return(0,E.jsxs)("div",{className:(0,gt.$)("modal__title",o),children:[n&&(0,E.jsx)("div",{className:"modal__title__icon",children:n}),(0,E.jsx)("div",{className:"modal__title__label",children:ze(t)})]})},Et=e=>{const{title:t,children:n,className:o}=e;return!n&&t?(0,E.jsx)("div",{className:(0,gt.$)("modal__header",o),children:(0,E.jsx)(ht,{title:t})}):(0,E.jsx)("div",{className:(0,gt.$)("modal__header",o),children:n})},bt=(mt("ModalHeaderActions","modal__header__actions"),mt("ModalBody","modal__body")),_t=mt("ModalFooter","modal__footer");var At,Tt;mt("ModalFooterStatus","modal__footer__status"),function(e){e.STANDARD="STANDARD",e.CAUTION="CAUTION"}(At||(At={})),function(e){e.STANDARD="STANDARD",e.PROCEED_WITH_CAUTION="PROCEED_WITH_CAUTION",e.PROCEED="PROCEED"}(Tt||(Tt={}));class yt{applicationStore;blockingAlertInfo;actionAlertInfo;constructor(e){(0,be.Gn)(this,{blockingAlertInfo:be.sH,actionAlertInfo:be.sH,setBlockingAlert:be.XI,setActionAlertInfo:be.XI}),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 Ct=n(4041);const St=(0,Ct.createContext)(void 0),Nt=()=>F((0,Ct.useContext)(St),"Can't find application store in context"),It=({children:e,store:t})=>{const n=(0,ut.iz)((()=>t));return(0,E.jsx)(St.Provider,{value:n,children:e})},vt=e=>{switch(e){case Tt.PROCEED_WITH_CAUTION:return"btn--caution";case Tt.PROCEED:case Tt.STANDARD:default:return"btn--dark"}},kt=(0,ut.PA)((e=>{const{info:t}=e,n=Nt(),{title:o,message:r,prompt:a,type:i,onClose:s,onEnter:c,actions:u}=t,d=()=>{s?.(),n.alertService.setActionAlertInfo(void 0)};return(0,E.jsx)(pt.A,{open:Boolean(n.alertService.actionAlertInfo),onClose:T,TransitionProps:{onEnter:()=>c?.()},children:(0,E.jsxs)("form",{onSubmit:e=>{e.preventDefault(),u.find((e=>e.default))?.handler?.(),d()},className:`modal search-modal modal--dark blocking-alert blocking-alert--${(i??At.STANDARD).toLowerCase()}`,children:[o&&(0,E.jsx)(Et,{title:o}),(0,E.jsxs)(bt,{children:[(0,E.jsx)("div",{className:"blocking-alert__summary-text",children:r}),(0,E.jsx)("div",{className:"blocking-alert__prompt-text",children:a})]}),(0,E.jsxs)(_t,{children:[u.map(((e,t)=>(0,E.jsx)("button",{type:e.default?"submit":"button",className:`btn btn--dark ${vt(e.type??Tt.STANDARD)}`,onClick:t=>{t.preventDefault(),e.handler?.(),d()},autoFocus:Boolean(e.default),children:e.label},t))),!u.length&&(0,E.jsx)("button",{type:"button",className:"btn btn--dark blocking-alert__action--standard",onClick:d,children:"Cancel"})]})]})})})),Rt=(0,ut.PA)((()=>{const e=Nt().alertService.actionAlertInfo;return e?(0,E.jsx)(kt,{info:e}):null})),Ot=e=>{const{isLoading:t,className:n}=e,o=(0,Ct.useRef)(null);return(0,Ct.useEffect)((()=>{o.current&&(t?o.current.parentElement?.classList.add("panel-loading-indicator__container"):o.current.parentElement?.classList.remove("panel-loading-indicator__container"))}),[t]),(0,E.jsx)("div",{ref:o,className:(0,gt.$)(n,"panel-loading-indicator"+(t?"":"--disabled"))})},Ft=(0,ut.PA)((()=>{const e=Nt(),t=e.alertService.blockingAlertInfo;return t?(0,E.jsx)(pt.A,{open:Boolean(t),onClose:T,classes:{root:"blocking-alert__root-container",container:"blocking-alert__container"},children:(0,E.jsxs)(ft,{darkMode:!e.layoutService.TEMPORARY__isLightColorThemeEnabled,className:"blocking-alert",children:[(0,E.jsx)(Ot,{isLoading:Boolean(t.showLoading)}),(0,E.jsxs)(bt,{children:[(0,E.jsx)("div",{className:"blocking-alert__message",children:t.message}),t.prompt&&(0,E.jsx)("div",{className:"blocking-alert__message__prompt",children:t.prompt})]})]})}):null}));var Lt=n(4269),wt=n(9896),Pt=n(6750),Bt=n(7997),xt=n(6819);const Dt=Lt.RQJ,Mt=wt.QRP,jt=Pt.QCr,Ut=Pt._Hm,Gt=Pt.Pcn,Ht=Pt.gZZ,Vt=Pt.__w,Yt=Pt.KSO,Kt=Pt.UnJ,Wt=Pt.A7C,$t=Pt.BS8,Xt=Pt.KRc,qt=Pt.Su4,Jt=Pt.kxO,zt=Pt.vq8,Qt=Pt.GfC,Zt=Pt.SoL,en=Pt.Wx3,tn=Bt.f7n,nn=Bt.Lun,on=xt.oss,rn=xt.Br,an=xt.YZI;var sn=n(5473),cn=n(8960);const un=6e3;var dn;!function(e){e.ILEGAL_STATE="ILEGAL_STATE",e.ERROR="ERROR",e.WARNING="WARNING",e.SUCCESS="SUCCESS",e.INFO="INFO"}(dn||(dn={}));class ln{severity;message;actions;autoHideDuration;constructor(e,t,n,o){this.severity=e,this.message=t,this.actions=n,this.autoHideDuration=o}}class pn{notification;constructor(){(0,be.Gn)(this,{notification:be.sH,setNotification:be.XI,notify:be.XI,notifySuccess:be.XI,notifyWarning:be.XI,notifyIllegalState:be.XI,notifyError:be.XI})}setNotification(e){this.notification=e}notify(e,t,n){this.setNotification(new ln(dn.INFO,e,t??[],null===n?void 0:n??un))}notifySuccess(e,t,n){this.setNotification(new ln(dn.SUCCESS,e,t??[],null===n?void 0:n??un))}notifyWarning(e,t,n){this.setNotification(new ln(dn.WARNING,e instanceof Error?e.message:e,t??[],null===n?void 0:n??un))}notifyError(e,t){let n;e instanceof y?n=e.detail:e instanceof Error?n=e.message:(B(x(e),"Can't display error"),n=e),n&&this.setNotification(new ln(dn.ERROR,n,t??[],void 0))}notifyIllegalState(e,t,n){this.setNotification(new ln(dn.ILEGAL_STATE,x(e)?`[PLEASE NOTIFY DEVELOPER] ${e}`:e,t??[],null===n?void 0:n??un))}notifyUnsupportedFeature(e){this.notifyWarning(`Unsupported feature: ${e}`)}notifyAndReturnAlternativeOnError=(e,t)=>{try{return e()}catch(e){return I(e),this.notifyIllegalState(e.message),t}}}const gn=(0,ut.PA)((()=>{const e=Nt(),t=e.notificationService.notification,n=Boolean(t),o=t?.message??"",r=t?.severity??dn.INFO,[a,i]=(0,Ct.useState)(!1);let s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--info",children:(0,E.jsx)(Vt,{})});switch(r){case dn.ILEGAL_STATE:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,E.jsx)(Xt,{})});break;case dn.ERROR:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,E.jsx)(Ut,{})});break;case dn.WARNING:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--warning",children:(0,E.jsx)($t,{})});break;case dn.SUCCESS:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--success",children:(0,E.jsx)(Wt,{})})}const c=()=>{e.notificationService.setNotification(void 0),i(!1)},u=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(o)));return(0,E.jsx)(sn.A,{classes:{root:"notification",anchorOriginBottomRight:"notification__position"},anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:t?t.autoHideDuration??null:un,onClose:(e,t)=>{"timeout"===t&&c()},children:(0,E.jsx)(cn.A,{classes:{root:"notification__content",message:"notification__message",action:"notification__actions"},message:(0,E.jsxs)("div",{className:"notification__message__content",children:[s,(0,E.jsx)("div",{className:(0,gt.$)("notification__message__content__text",{"notification__message__content__text--expanded":a}),onClick:u,title:"Click to Copy",children:o})]}),action:[(0,E.jsx)("button",{className:"notification__action",onClick:()=>i(!a),tabIndex:-1,title:a?"Collapse":"Expand",children:a?(0,E.jsx)(on,{}):(0,E.jsx)(rn,{})},"expand"),(0,E.jsx)("button",{className:"notification__action",onClick:c,tabIndex:-1,title:"Dismiss",children:(0,E.jsx)(jt,{})},"close")]})},"string"==typeof o||"number"==typeof o?o:"")}));var mn=n(1218);const fn=e=>{const{children:t,classes:n,...o}=e;return(0,E.jsx)(mn.A,{classes:{...n??{},paper:"mui-menu__paper",list:"mui-menu__list"},transitionDuration:0,...o,children:e.children})},hn=e=>{const{className:t,children:n,menuProps:o,content:r,disabled:a,onClose:i,onOpen:s}=e,c=(0,Ct.useRef)(null),[u,d]=(0,Ct.useState)(!1),[l,p]=(0,Ct.useState)(),[g,m]=(0,Ct.useState)(0),[f,h]=(0,Ct.useState)(0),b=()=>{p(void 0),d(!1),h(0),m(0)},_=e=>{e.stopPropagation(),e.preventDefault(),b(),i?.()},A=e=>{if(e.stopPropagation(),e.preventDefault(),!a&&(s?.(),c.current)){const t=c.current.getBoundingClientRect(),n=t.left+(window.scrollX||document.documentElement.scrollLeft),o=t.top+(window.scrollY||document.documentElement.scrollTop),{clientX:r,clientY:a,target:s}=e,u=s;if(l!==u&&!(document.elementsFromPoint(r,a).some((e=>e===u))&&n<=r&&r<=n+t.width&&o<=a&&a<=o+t.height))return b(),void i?.();p(u),d(!0),h(a),m(r)}};return(0,E.jsxs)("div",{ref:c,className:t,onContextMenu:A,children:[n,(0,E.jsx)(fn,{open:u,anchorPosition:{left:g,top:f},onClose:_,anchorReference:"anchorPosition",BackdropProps:{invisible:!0,onContextMenu:A},disableRestoreFocus:!0,transitionDuration:0,onClick:_,...o,children:u&&r},`${g}, ${f}`)]})},En=(0,Ct.forwardRef)((function(e,t){const{className:n,children:o,...r}=e;return(0,E.jsx)("div",{ref:t,className:(0,gt.$)("menu",n),...r,children:o})})),bn=e=>{const{className:t,onClick:n,title:o,disabled:r,children:a,...i}=e;return(0,E.jsx)("button",{className:(0,gt.$)("menu__item",t),disabled:Boolean(r),title:o,onClick:n,...i,children:a})};mt("MenuContentDivider","menu__divider"),mt("MenuContentItemIcon","menu__item__icon"),mt("MenuContentItemLabel","menu__item__label");var _n=n(2973),An=n(3310),Tn=n(3927);const yn=e=>((0,Ct.useEffect)((()=>{Tn.N.initialize({startOnLoad:!0,theme:"dark"}),Tn.N.contentLoaded()}),[e.value]),(0,E.jsx)(_n.o,{className:(0,gt.$)("markdown-content",e.className),remarkPlugins:[An.A],components:e.components??{code:e=>{const{children:t,className:n,node:o,...r}=e,a=/language-(?<language>\w+)/.exec(n??"");return a?.groups?.language?(0,E.jsx)("code",{...r,className:(0,gt.$)(a.groups.language),children:t}):(0,E.jsx)("code",{...r,className:n,children:t})}},children:e.value.value}));var Cn=n(5143);const Sn=e=>{const{children:t}=e,{ref:n,width:o,height:r}=(0,Cn.u)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}}),[a,i]=(0,Ct.useState)(!1),{ref:s,width:c,height:u}=(0,Cn.u)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}});return(0,Ct.useEffect)((()=>{i((c??0)>(o??0)+40&&(u??0)>(r??0)+40)}),[c,u,o,r]),(0,E.jsx)("div",{ref:s,className:"panel__content__blank",children:(0,E.jsx)("div",{ref:n,className:(0,gt.$)("panel__content__blank__content",{"panel__content__blank__content--hide":!a}),children:t})})};var Nn=n(1122),In=n(7143),vn=n(6391);const kn=e=>{const{children:t,options:n,size:o,className:r,...a}=e,i=((e,t)=>{const n=[];for(let o=0;o<e.length;o+=t)n.push(e.slice(o,o+t));return n})(n,o);return(0,E.jsxs)("div",{className:(0,gt.$)("mui-radio-group",r),children:[i.map(((e,t)=>(0,E.jsx)("div",{children:(0,E.jsx)(Nn.A,{className:"mui-radio-group__group",...a,children:e.map((e=>(0,E.jsx)(In.A,{className:"mui-radio-group__group__column",style:{width:100/o+"%"},value:e,control:(0,E.jsx)(vn.A,{className:"mui-radio-group__group__item__radio-btn"}),label:(0,E.jsx)("div",{className:"mui-radio-group__group__item__label",children:e})},e)))})},t))),t]})};var Rn=n(7669);const On=e=>{const{children:t,...n}=e;return(0,E.jsx)(Rn.Ay,{classes:{paper:"mui-popover__paper"},transitionDuration:0,...n,children:e.children})};var Fn,Ln=n(9463),wn=n(5318),Pn=n(5461);!function(e){e.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX="question.how-to-use-advanced-search-syntax"}(Fn||(Fn={}));const Bn=(0,ut.PA)((e=>{const{entry:t}=e,n=Nt(),o=()=>{t.isOpen||Fe.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey}),t.setIsOpen(!t.isOpen)},r=n.guardUnhandledError((()=>n.clipboardService.copyTextToClipboard(t.documentationKey)));return(0,E.jsx)(hn,{className:"virtual-assistant__doc-entry",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsx)(En,{children:(0,E.jsx)(bn,{onClick:r,children:"Copy Documentation Key"})}),children:(0,E.jsxs)("div",{className:"virtual-assistant__doc-entry",children:[(0,E.jsxs)("div",{className:"virtual-assistant__doc-entry__header",children:[(0,E.jsx)("button",{className:(0,gt.$)("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,E.jsx)(on,{}):(0,E.jsx)(an,{})}),t.url?(0,E.jsx)("a",{className:"virtual-assistant__doc-entry__title virtual-assistant__doc-entry__title--link",rel:"noopener noreferrer",target:"_blank",href:t.url,onClick:()=>{Fe.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey})},title:"Click to see external documentation",children:t.title}):(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__title",onClick:o,children:t.title})]}),t.isOpen&&t.content&&(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__content",children:x(t.content)?(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__content__text",children:t.content}):(0,E.jsx)(yn,{className:"virtual-assistant__doc-entry__content__markdown-text",value:t.content})})]})})})),xn=(0,ut.PA)((()=>{const e=Nt(),t=e.assistantService.currentContextualDocumentationEntry,n=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(t?.context??""))),o=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.currentContext?.key??""))),r=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.contextStack.map((e=>e.key)).join(" > "))));return(0,E.jsxs)(hn,{className:"virtual-assistant__contextual-support",disabled:!t,menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:n,children:"Copy Context ID"}),(0,E.jsx)(bn,{onClick:o,children:"Copy Current Context ID"}),(0,E.jsx)(bn,{onClick:r,children:"Copy Context Stack"})]}),children:[t&&(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__content",children:[t.title&&(0,E.jsx)("div",{className:"virtual-assistant__contextual-support__title",children:t.title}),t.content&&(0,E.jsx)(E.Fragment,{children:x(t.content)?(0,E.jsx)("div",{className:"virtual-assistant__contextual-support__text",children:t.content}):(0,E.jsx)(yn,{className:"virtual-assistant__contextual-support__markdown-text",value:t.content})}),t.related.length&&(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries",children:[(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries__title",children:["Related entries (",t.related.length,")"]}),t.related.map((e=>(0,E.jsx)(Bn,{entry:e},e.uuid)))]})]}),!t&&(0,E.jsx)(Sn,{children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,E.jsx)(Zt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No contextual documentation found!"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__instruction",children:"Keep using the app. When contextual help is available, we will let you know!"})]})})]})})),Dn=(0,ut.PA)((()=>{const e=Nt(),t=(0,Ct.useRef)(null),n=e.assistantService,o=n.searchText,r=(0,Ct.useMemo)((()=>(0,wn.A)((()=>n.search()),100)),[n]);return(0,Ct.useEffect)((()=>{t.current?.focus()}),[]),(0,E.jsxs)("div",{className:"virtual-assistant__search",children:[(0,E.jsxs)("div",{className:"virtual-assistant__search__header",children:[(0,E.jsx)("input",{ref:t,onClick:()=>{document.querySelectorAll('[role="dialog"]').length&&t.current!==document.activeElement&&n.refreshPanelRendering()},className:(0,gt.$)("virtual-assistant__search__input input--dark",{"virtual-assistant__search__input--searching":o}),spellCheck:!1,onChange:e=>{n.setSearchText(e.target.value),r()},value:o,placeholder:"Ask me a question"}),o&&(0,E.jsx)("div",{className:"virtual-assistant__search__input__search__count",children:n.searchResults.length+(n.isOverSearchLimit?"+":"")}),(0,E.jsx)("button",{className:(0,gt.$)("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,E.jsx)(Gt,{})}),o?(0,E.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,E.jsx)(jt,{})}):(0,E.jsx)("div",{className:"virtual-assistant__search__input__search__icon",children:(0,E.jsx)(Yt,{})})]}),(0,E.jsxs)("div",{className:"virtual-assistant__search__content",children:[(0,E.jsx)(Ot,{isLoading:n.searchState.isInProgress}),(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__search__input__config__panel",{"virtual-assistant__search__input__config__panel--toggled":n.showSearchConfigurationMenu}),children:(0,E.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel",children:[(0,E.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel__header__label",children:["search config",e.documentationService.hasDocEntry(Fn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX)&&(0,E.jsx)("div",{onClick:()=>n.openDocumentationEntryLink(Fn.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,E.jsx)(Ht,{})})]}),(0,E.jsx)("div",{children:(0,E.jsx)(kn,{value:n.searchConfigurationState.currentMode,onChange:e=>{const t=e.target.value;n.searchConfigurationState.setCurrentMode(t)},row:!1,options:[Ce.STANDARD,Ce.INCLUDE,Ce.EXACT,Ce.INVERSE],size:1})})]})}),n.currentDocumentationEntry&&(0,E.jsx)("div",{className:"virtual-assistant__search__results",children:(0,E.jsx)(Bn,{entry:n.currentDocumentationEntry},n.currentDocumentationEntry.uuid)}),!n.currentDocumentationEntry&&(0,E.jsxs)(E.Fragment,{children:[Boolean(n.searchResults.length)&&(0,E.jsx)("div",{className:"virtual-assistant__search__results",children:n.searchResults.map((e=>(0,E.jsx)(Bn,{entry:e},e.uuid)))}),o&&!n.searchResults.length&&(0,E.jsx)(Sn,{children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,E.jsx)(en,{className:"virtual-assistant__panel__placeholder__icon"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No result..."})]})}),!o&&!n.searchResults.length&&(0,E.jsx)(hn,{className:"virtual-assistant__character__container",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:()=>{ae(`documentation-registry_${(0,Pn.GP)(new Date(Date.now()),He)}.json`,JSON.stringify(e.documentationService.publishDocRegistry(),void 0,2),z.APPLICATION_JSON)},children:"Download documentation registry"}),(0,E.jsx)(bn,{onClick:()=>{ae(`documentation-registry_${(0,Pn.GP)(new Date(Date.now()),He)}.json`,JSON.stringify(e.documentationService.publishContextualDocIndex(),void 0,2),z.APPLICATION_JSON)},children:"Download contextual documentation mapping"})]}),children:(0,E.jsxs)("div",{className:"virtual-assistant__character",children:[(0,E.jsxs)("div",{className:"virtual-assistant__character__figure",children:[(0,E.jsx)(Qt,{className:"virtual-assistant__character__hat"}),(0,E.jsx)(nn,{className:"virtual-assistant__character__glasses"}),(0,E.jsx)(tn,{className:"virtual-assistant__character__beard"})]}),(0,E.jsx)("div",{className:"virtual-assistant__character__greeting",children:"Bonjour, It's Pierre!"}),(0,E.jsx)("div",{className:"virtual-assistant__character__question",children:"How can I help today?"})]})})]})]})]})})),Mn=(0,ut.PA)((e=>{const{triggerElement:t}=e,n=Nt(),o=n.assistantService,r=o.currentContextualDocumentationEntry,a=o.selectedTab,i=n.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraVirtualAssistantViewConfigurations?.()??[])),s=i.find((e=>e.key===a));return(0,E.jsx)(On,{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,E.jsxs)("div",{className:(0,gt.$)("virtual-assistant__panel",{"virtual-assistant__panel--maximized":o.isPanelMaximized}),tabIndex:0,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[(0,E.jsxs)("div",{className:"virtual-assistant__panel__header",children:[(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__tabs",children:[(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===Se.SEARCH}),onClick:()=>o.setSelectedTab(Se.SEARCH),title:"Search",children:(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:(0,E.jsx)(Yt,{})})}),(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===Se.CONTEXTUAL_SUPPORT}),onClick:()=>o.setSelectedTab(Se.CONTEXTUAL_SUPPORT),title:"Contextual Support",children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__tab__content",children:[(0,E.jsx)(zt,{}),r&&(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__indicator",title:"Contextual support available"})]})}),i.map((e=>(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===e.key}),onClick:()=>{o.setSelectedTab(e.key),e.autoExpandOnOpen&&o.setIsPanelMaximized(!0)},title:e.title,children:(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:e.icon??(0,E.jsx)(Ht,{})})},e.key)))]}),(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__actions",children:[(0,E.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsPanelMaximized(!o.isPanelMaximized),title:o.isPanelMaximized?"Minimize":"Maximize",children:o.isPanelMaximized?(0,E.jsx)(qt,{}):(0,E.jsx)(Jt,{})}),(0,E.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsOpen(!1),title:"Close",children:(0,E.jsx)(Dt,{className:"virtual-assistant__panel__icon__close"})})]})]}),(0,E.jsxs)("div",{className:"virtual-assistant__panel__content",children:[a===Se.SEARCH&&(0,E.jsx)(Dn,{}),a===Se.CONTEXTUAL_SUPPORT&&(0,E.jsx)(xn,{}),s?.renderer()]})]})},o.panelRenderingKey)})),jn=(0,ut.PA)((()=>{const[e,t]=(0,Ct.useState)(!1),[n,o]=(0,Ct.useState)((0,a.A)()),r=Nt(),i=(0,Ct.useRef)(null),s=r.assistantService,c=s.currentContextualDocumentationEntry,u=()=>{!s.isOpen&&c&&s.setSelectedTab(Se.CONTEXTUAL_SUPPORT),s.setIsOpen(!s.isOpen)};return(0,Ct.useEffect)((()=>{s.isHidden&&o((0,a.A)())}),[s.isHidden]),(0,E.jsx)(Ln,{bounds:"parent",onStart:()=>t(!0),onStop:()=>t(!1),nodeRef:i,handle:".virtual-assistant__station__drag-handle",children:(0,E.jsxs)("div",{className:"virtual-assistant",ref:i,children:[(0,E.jsxs)("div",{className:(0,gt.$)("virtual-assistant__station",{"virtual-assistant__station--hidden":s.isHidden,"virtual-assistant__station--active":Boolean(c)}),children:[(0,E.jsx)("button",{className:"virtual-assistant__station__hide-button",title:"Hide assistant",onClick:()=>{r.assistantService.toggleAssistant()},children:(0,E.jsx)(Kt,{})}),(0,E.jsx)("button",{className:"virtual-assistant__station__trigger",tabIndex:-1,onClick:u,title:s.isOpen?"Click to close assistant panel":(c?"Contextual support available.\n":"")+"Click to open Assistant...",children:(0,E.jsxs)("div",{className:"virtual-assistant__station__character",children:[(0,E.jsx)(Qt,{className:"virtual-assistant__station__character__hat"}),(0,E.jsx)(nn,{className:"virtual-assistant__station__character__glasses"}),(0,E.jsx)(tn,{className:"virtual-assistant__station__character__beard"})]})}),(0,E.jsx)("div",{className:"virtual-assistant__station__label",onClick:u,children:"Assistant"}),(0,E.jsx)(hn,{className:(0,gt.$)("virtual-assistant__station__drag-handle",{"virtual-assistant__station__drag-handle--dragging":e}),menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:()=>{s.setIsOpen(!1),o((0,a.A)())},children:"Reset Position"}),(0,E.jsx)(bn,{onClick:()=>r.assistantService.hideAssistant(),children:"Hide Assistant"})]}),children:(0,E.jsx)("div",{className:"virtual-assistant__station__drag-handle__content",title:e?void 0:"Grab to drag assistant",children:(0,E.jsx)(Mt,{})})})]},c?.uuid??""),!e&&s.isOpen&&!s.isHidden&&i.current&&(0,E.jsx)(Mn,{triggerElement:i.current})]})},n)}));var Un;!function(e){e.TOP_LEVEL_CONTAINER="application.top-level-container",e.BACKDROP_CONTAINER="application.backdrop-container"}(Un||(Un={}));const Gn=["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"],Hn=e=>(0,E.jsx)("div",{className:"backdrop__container","data-elementid":e.elementId}),Vn=(0,ut.PA)((e=>{const{children:t}=e,n=Nt(),o=((e,t)=>{const n={};return e.forEach(((e,o)=>{e.length&&(n[o]={combinations:e,handler:t})})),n.INTERNAL__PLATFORM_NATIVE_KEYBOARD_COMMAND={combinations:Gn,handler:(e,t)=>{t.preventDefault()}},n})(n.keyboardShortcutsService.commandKeyMap,((e,t)=>{Gn.includes(e)&&t.preventDefault(),n.keyboardShortcutsService.dispatch(e)}));return(0,Ct.useEffect)((()=>{const e=function(e){const t=new Map;let n=null;return o=>{o instanceof KeyboardEvent&&((0,Xe.A)(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,r=Ze(e.combination);if(!r.length)return;const a=t.get(n)??r,i=F(a[0]);et(o,i)?a.length>1?t.set(n,a.slice(1)):(t.delete(n),e.handler(n,o)):o.getModifierState(o.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,Ct.useEffect)((()=>{const e=()=>{document.hidden&&(Fe.logEvent_ApplicationUsageInterrupted(n.telemetryService),n.timeService.recordUsageInterruption())};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}}),[n]),(0,E.jsxs)(it,{children:[(0,E.jsx)(Ft,{}),(0,E.jsx)(Rt,{}),(0,E.jsx)(gn,{}),(0,E.jsx)(jn,{}),n.layoutService.showBackdrop&&(0,E.jsx)(st.Z,{container:n.layoutService.getElementByID(n.layoutService.backdropContainerElementID??Un.BACKDROP_CONTAINER)??null,children:(0,E.jsx)(ct.A,{className:"backdrop",open:n.layoutService.showBackdrop})}),(0,E.jsx)(dt.Q,{backend:lt.t2,children:(0,E.jsxs)("div",{className:"app__container","data-elementid":Un.TOP_LEVEL_CONTAINER,onContextMenu:e=>{e.stopPropagation(),e.preventDefault()},children:[(0,E.jsx)(Hn,{elementId:Un.BACKDROP_CONTAINER}),t]})})]})})),Yn={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"},Kn={matchOverviewRuler:"#d186167e",activeMatchColorOverviewRuler:"#A0A0A0CC",matchBackground:"#62331c",activeMatchBackground:"#515C6A"},Wn=`\n${Ve.BOLD}${Ve.BRIGHT_BLUE}$purist${Ve.RESET}\n${Ve.BOLD}${Ve.MAGENTA}❯${Ve.RESET} `,$n="❯ ";class Xn extends $e{instance;resizer;renderer;searcher;webLinkProvider;_TEMPORARY__onKeyListener;_TEMPORARY__onDataListener;command="";commandHistory=[];currentCommandSearchString="";commandHistoryNavigationIdx=void 0;isRunningCommand=!1;setupState=_e.create();constructor(e){super(e),this.instance=new Be.Terminal({allowProposedApi:!0,fontSize:12,letterSpacing:2,fontWeight:400,fontWeightBold:700,fontFamily:`"${Ge}", Menlo, Consolas, monospace`,tabStopWidth:2,theme:Yn,overviewRulerWidth:14,scrollback:1e5,convertEol:!0,scrollOnUserInput:!1}),this.resizer=new De.FitAddon,this.searcher=new Me.SearchAddon,this.renderer=new Ue.WebglAddon}setup(e){if(this.setupState.hasCompleted)throw new S("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 je.Unicode11Addon),this.instance.unicode.activeVersion="11",this.instance.attachCustomKeyEventHandler((e=>tt(e,"Control+KeyF")||tt(e,"Meta+KeyF")?(e.preventDefault(),e.stopPropagation(),this.searchConfig.focus(),!1):!(tt(e,"Control+KeyC")&&this.instance.hasSelection()||tt(e,"Control+KeyV")))),this.webLinkProvider=e?.webLinkProvider?new xe.WebLinksAddon(e.webLinkProvider.handler,{urlRegex:e.webLinkProvider.regex}):new xe.WebLinksAddon,this.instance.loadAddon(this.webLinkProvider),(e?.commands??[]).forEach((e=>{[e.command,...e.aliases??[]].forEach((t=>{this.commandRegistry.has(t)?this.applicationStore.logService.warn(u.create(ie.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,o;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 o=this.commandRegistry.get(t);if(!o)return void this.fail(`command not found: ${t}`);if(this.isRunningCommand)return;this.isRunningCommand=!0,o.handler(n.map((e=>e.trim())),t,e).catch((()=>{})).finally((()=>{this.isRunningCommand=!1,this.isFlushed||this.abort()}))}}else if(tt(t,"Control+KeyD")||tt(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,o=this.applicationStore,o.layoutService.getElementByID(Un.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=`${$n}${this.command}`,o=`${$n}${this.command.substring(0,t-2)}${this.command.length<t-2?" ".repeat(t-this.command.length-2):""}`;let r=0,a=0;for(let n=e.baseY+e.cursorY;n>-1;--n){if(F(e.getLine(n)).translateToString()===o){r=n,a+=(n===e.baseY+e.cursorY?e.cursorX:t)-2;break}a+=n===e.baseY+e.cursorY?e.cursorX:t}return{startY:r,startX:2,endY:r+(n.length-n.length%t)/t,endX:n.length%t,cursorIdx:a}}computeCursorJumpMovement(e){const t=this.getCommandRange();let n,o=!1;if(e){for(let e=t.cursorIdx-1;e>-1;--e)if(this.command.charAt(e).match(/\w/))o||(o=!0);else if(o){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/))o||(o=!0);else if(o){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,o=this.instance.cols,r=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=(o+(n.cursorX-s)%o)%o,u=n.cursorY-(s>n.cursorX?Math.ceil(s/o):0),d=u+n.baseY,u=Math.max(u,-1)):e>0&&(c=(n.cursorX+s)%o,u=n.cursorY+(n.cursorX+s>=o?Math.floor((n.cursorX+s)/o):0),d=u+n.baseY,u=Math.min(u,r-1));const l=d>n.viewportY+r?d-(n.viewportY+r):d<n.viewportY?d-n.viewportY:0;return{seq:Ye(u+1,c+1),scroll:l}}writeToCommand(e){const t=this.getCommandRange(),n=this.command.slice(0,t.cursorIdx),o=this.command.slice(t.cursorIdx),r=this.computeCursorMovement(e.length,!1);this.instance.scrollLines(r.scroll),this.instance.write(e+o+r.seq),this.setCommand(n+e+o)}deleteFromCommand(e){const t=this.getCommandRange(),n=e<0?t.cursorIdx:this.command.length-t.cursorIdx,o=Math.min(Math.abs(e),n);let r,a,i;if(0===e)return;e<0?(r=this.command.slice(0,t.cursorIdx-o),a=this.command.slice(t.cursorIdx,this.command.length),i=-o):(r=this.command.slice(0,t.cursorIdx),a=this.command.slice(t.cursorIdx+o,this.command.length),i=0);const s=this.computeCursorMovement(i);this.instance.scrollLines(s.scroll),this.instance.write(Ye(t.startY+1,t.startX+1)+r+a+" ".repeat(o)+s.seq),this.setCommand(r+a)}get isSetup(){return this.setupState.hasCompleted}isFocused(){return document.activeElement===this.instance.textarea}mount(e){if(!this.setupState.hasCompleted)throw new S("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(Ye(n.startY+1,n.startX+1)+t.padEnd(this.command.length)),this.command=t,n=this.getCommandRange(),this.instance.write(Ye(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(Wn),this.setCommand("")}newSystemCommand(e){this.isRunningCommand||(this.command&&(this.abort(),this.newCommand()),this.instance.write(`${Ve.DIM}(system: ${e})\n${Ve.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 o=F(e.getLine(n)).translateToString();if(o.trim()){t=o!==$n;break}}return""===this.command&&t}clear(){this.flushScreen(),this.instance.scrollToTop(),this.newCommand()}resetANSIStyling(){this.instance.write(Ve.RESET)}showHelp(){var e;this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write((e=this.commandRegistry,`\n${Ve.BRIGHT_BLACK}+-------------------------------------------------------+${Ve.RESET}\n${Ve.BRIGHT_BLACK}|${Ve.RESET} ${Ve.BRIGHT_GREEN}[@@]${Ve.RESET} "Hi! Welcome to the HELP menu of Pure IDE" ${Ve.BRIGHT_BLACK}|${Ve.RESET}\n${Ve.BRIGHT_BLACK}|${Ve.RESET} ${Ve.BRIGHT_GREEN}/|__|\\${Ve.RESET} ${Ve.BRIGHT_BLACK}|${Ve.RESET}\n${Ve.BRIGHT_BLACK}+--${Ve.RESET} ${Ve.BRIGHT_GREEN}d b${Ve.RESET} ${Ve.BRIGHT_BLACK}-----------------------------------------------+${Ve.RESET}\n\nFollowing is the list of supported commands:\n\n${(0,Xe.A)(Array.from(e.values()),(e=>e.command)).map((e=>`${Ve.BRIGHT_GREEN}${e.command.padEnd(30)}${Ve.RESET}${e.description}${e.aliases?.length?`\n${"".padEnd(30)}Aliases: ${e.aliases.join(", ")}`:""}\n${"".padEnd(30)}Usage: ${Ve.DIM}${e.usage}${Ve.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(Ve).map((([e,t])=>`${t}${(e=>e?e.trim().match(/^[A-Z_]+$/)?ze(e.trim().replace(/_+/gu," ").toLowerCase()):qe(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)}${Ve.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${Ve.RED}${e}${Ve.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:Kn,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:Kn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}findNext(){this.searcher.findNext(this.searchConfig.searchText,{decorations:Kn,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 o=F(e.getLine(n));t.push(o.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 qn{applicationStore;terminal;constructor(e){this.applicationStore=e,this.terminal=new Xn(e)}}const Jn="(unknown)";class zn{applicationStore;currentUser=Jn;constructor(e){(0,be.Gn)(this,{currentUser:be.sH,setCurrentUser:be.XI}),this.applicationStore=e}get isAnonymous(){return this.currentUser===Jn}setCurrentUser(e){this.currentUser=e}}var Qn,Zn=n(5992);class eo{get localStorage(){return F(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 to{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?H(t):void 0}getStringValue(e){const t=this.getValue(e);return void 0!==t?G(t):void 0}getBooleanValue(e){const t=this.getValue(e);return void 0!==t?V(t):void 0}getObjectValue(e){const t=this.getValue(e);return void 0!==t?((e,t="")=>(function(e,t=""){if(!j(e))throw new k(t||"Value is expected to be a object")}(e,t),e))(t):void 0}hasValue(e){return R(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 no{applicationStore;storage;data;constructor(e){this.applicationStore=e,this.storage=new eo;const t=this.storage.getItem(e.config.applicationStorageKey);this.data=t?v((()=>JSON.parse(t)))??{}:{}}getIndex(e){return this.data[e]}updateIndex(e,t){(0,Zn.A)(t)?delete this.data[e]:this.data[e]=t,this.storage.setItem(this.applicationStore.config.applicationStorageKey,JSON.stringify(this.data))}}class oo{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 ro{timestamp=Date.now();interruptions=[];recordUsageInterruption(){this.interruptions.push(Date.now())}finalizeTimingsRecord(e,t){const n=e.elapsed,o=e.startTime,r=o+n,a={...t??{},...Object.fromEntries(e.records),total:n};let i=0;for(const e of this.interruptions)if(e>=o&&e<=r)i++;else if(e>r)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"}(Qn||(Qn={}));const ao={name:"Default Dark (default)",key:Qn.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"}},io={name:"Legacy Light",key:Qn.LEGACY_LIGHT,TEMPORARY__globalCSSClassName:"theme__legacy-light"},so={name:"High-Contrast Light",key:Qn.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 co;!function(e){e.COLOR_THEME="application.layout.colorTheme"}(co||(co={}));const uo={[co.COLOR_THEME]:{defaultValue:Qn.DEFAULT_DARK}};class lo{applicationStore;backdropContainerElementID;showBackdrop=!1;colorThemeRegistry=new Map;currentColorTheme;constructor(e){(0,be.Gn)(this,{currentColorTheme:be.sH.ref,TEMPORARY__isLightColorThemeEnabled:be.EW,backdropContainerElementID:be.sH,showBackdrop:be.sH,setBackdropContainerElementID:be.XI,setShowBackdrop:be.XI,setColorTheme:be.XI}),this.applicationStore=e,this.colorThemeRegistry.set(Qn.DEFAULT_DARK,ao),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraColorThemes?.()??[])).forEach((e=>{this.colorThemeRegistry.has(e.key)?this.applicationStore.logService.warn(u.create(ie.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(co.COLOR_THEME)??Qn.DEFAULT_DARK;this.currentColorTheme=F(this.colorThemeRegistry.get(t)),this.TEMPORARY__syncGlobalCSSClassName(this.currentColorTheme,void 0)}getElementByID(e){return document.querySelector(`[data-elementid='${e}']`)??void 0}setWindowTitle(e){document.title=e}setBackdropContainerElementID(e){this.backdropContainerElementID=e}setShowBackdrop(e){this.showBackdrop=e}get TEMPORARY__isLightColorThemeEnabled(){return this.currentColorTheme.key!==Qn.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 o=this.currentColorTheme;this.currentColorTheme=n,this.TEMPORARY__syncGlobalCSSClassName(n,o),t?.persist&&this.applicationStore.settingService.persistValue(co.COLOR_THEME,e)}getColor(e){return this.currentColorTheme.colors?.[e]??F(this.colorThemeRegistry.get(Qn.DEFAULT_DARK)).colors?.[e]??"transparent"}}class po{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 go{navigator;constructor(e){this.navigator=e}}var mo=n(2853);class fo{applicationStore;storage;registry=new Map;constructor(e){this.applicationStore=e,this.storage=new to(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(u.create(ie.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(D(t))return t;this.applicationStore.logService.warn(u.create(ie.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(x(t))return t;this.applicationStore.logService.warn(u.create(ie.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(M(t))return t;this.applicationStore.logService.warn(u.create(ie.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(j(t))return t;this.applicationStore.logService.warn(u.create(ie.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,mo.A)(n,t)?void 0:t)}}class ho{goToLocation(e,t){throw new N("Navigator does not support this operation")}reload(e){throw new N("Navigator does not support this operation")}goToAddress(e,t){throw new N("Navigator does not support this operation")}visitAddress(e){throw new N("Navigator does not support this operation")}generateAddress(e){throw new N("Navigator does not support this operation")}updateCurrentLocation(e){throw new N("Navigator does not support this operation")}updateCurrentZone(e){throw new N("Navigator does not support this operation")}resetZone(){throw new N("Navigator does not support this operation")}getCurrentBaseAddress(e){throw new N("Navigator does not support this operation")}getCurrentAddress(){throw new N("Navigator does not support this operation")}getCurrentLocation(){throw new N("Navigator does not support this operation")}getCurrentLocationParameters(){throw new N("Navigator does not support this operation")}getCurrentLocationParameterValue(e){throw new N("Navigator does not support this operation")}getCurrentZone(){throw new N("Navigator does not support this operation")}blockNavigation(e,t,n){throw new N("Navigator does not support this operation")}unblockNavigation(){throw new N("Navigator does not support this operation")}get isNavigationBlocked(){throw new N("Navigator does not support this operation")}INTERNAL__internalizeTransientParameter(e){throw new N("Navigator does not support this operation")}}class Eo{applicationStore;storage;constructor(e){this.applicationStore=e,this.storage=new to(this.applicationStore.storageService,"application-user-data-storage")}getNumericValue(e){const t=this.storage.getValue(e);if(D(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve numeric value for user data '${e}'`)}getStringValue(e){const t=this.storage.getValue(e);if(x(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve string value for user data '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e);if(M(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve boolean value for user data '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e);if(j(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve object value for user data '${e}'`)}persistValue(e,t){this.storage.persistValue(e,t)}}const bo=e=>/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/.test(e);var _o;!function(e){e.BUG_FIX="BUG_FIX",e.ENHANCEMENT="ENHANCEMENT"}(_o||(_o={}));const Ao="application.lastOpenedVersion";class To{applicationStore;releaseNotes;showCurrentReleaseModal=!0;showReleaseLog=!1;isConfigured=!1;constructor(e){(0,be.Gn)(this,{showCurrentReleaseModal:be.sH,showReleaseLog:be.sH,isConfigured:be.sH,setShowCurrentRelease:be.XI,configure:be.XI,setReleaseLog:be.XI}),this.applicationStore=e}configure(e){this.isConfigured=!0,this.releaseNotes=(e=>e.map((e=>(P(e.version,"Release notes 'version' is missing"),e.notes?.map((e=>(P(e.type,"Release note 'type' is missing"),P(e.description,"Release note 'description' is missing"),e))),e))))(e)}setShowCurrentRelease(e){this.showCurrentReleaseModal=e}setReleaseLog(e){this.showReleaseLog=e}getViewedVersion(){return this.applicationStore.userDataService.getStringValue(Ao)}updateViewedVersion(){this.applicationStore.userDataService.persistValue(Ao,this.applicationStore.config.appVersion)}showVersion(e,t){const n=e.version;return!(!bo(n)||!bo(t)||1!==(o=t,n.localeCompare(o,void 0,{numeric:!0})));var o}showableVersions(){const e=this.getViewedVersion();if(e)return this.releaseNotes?.filter((t=>this.showVersion(t,e)))}}class yo{uuid=(0,a.A)();extensionStates=[];config;pluginManager;initState=_e.create();platform;timeService;logService;storageService;userDataService;settingService;alertService;notificationService;identityService;commandService;keyboardShortcutsService;layoutService;clipboardService;terminalService;navigationService;navigationContextService;documentationService;assistantService;releaseNotesService;eventService;telemetryService;tracerService;constructor(e,t){this.config=e,this.pluginManager=t,this.timeService=new ro,this.logService=new l,this.logService.registerPlugins(t.getLoggerPlugins()),this.storageService=new no(this),this.settingService=new fo(this),this.userDataService=new Eo(this),this.alertService=new yt(this),this.notificationService=new pn,this.identityService=new zn(this),this.layoutService=new lo(this),this.clipboardService=new po(this),this.terminalService=new qn(this),this.commandService=new we(this),this.keyboardShortcutsService=new Pe(this),this.navigationService=new go(new ho),this.navigationContextService=new Le(this),this.documentationService=new fe(this),this.assistantService=new Re(this),this.releaseNotesService=new To(this),this.eventService=new Oe,this.eventService.registerEventNotifierPlugins(t.getEventNotifierPlugins()),this.telemetryService=new oo(this),this.telemetryService.registerPlugins(t.getTelemetryServicePlugins()),this.telemetryService.setup(),this.tracerService=new Te,this.tracerService.registerPlugins(t.getTracerServicePlugins()),this.extensionStates=this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationExtensionStateBuilders?.()??[])).map((e=>e(this))).filter(R)}async initialize(e){if(this.initState.isInInitialState){this.initState.inProgress();try{if(this.platform)throw new S("Platform is already configured");this.platform=e,this.navigationService=new go(e.getNavigator()),await e.initialize(),this.initState.pass()}catch(e){I(e),this.notificationService.notifyError(e),this.logService.error(u.create(ie.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),this.initState.fail()}}else this.notificationService.notifyIllegalState("Application store is re-initialized")}alertUnhandledError=e=>{this.logUnhandledError(e),this.notificationService.notifyIllegalState(e.message)};logUnhandledError=e=>{this.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Encountered unhandled error in component tree",e)};guardUnhandledError=e=>()=>{e().catch(this.alertUnhandledError)}}var Co;!function(e){e.TAG_REQUEST="download-request",e.TAG_RESPONSE="download-response",e.STREAM_CLOSED="#stream-closed",e.STREAM_ABORTED="#stream-aborted"}(Co||(Co={}));class So{}class No extends So{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 Io{config;logger;pluginManager;basePresets=[];basePlugins=[];baseAddress;pluginRegister;_isConfigured=!1;downloadHelperServiceWorkerPath;downloadHelper=!1;releaseNotes;constructor(e){this.pluginManager=e,this.logger=new No}setup(e){return this.baseAddress=P(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}withReleaseNotes(e){return this.releaseNotes=e,this}setupApplicationStore(e){this.releaseNotes&&e.releaseNotesService.configure(this.releaseNotes)}async fetchApplicationConfiguration(e){const t=new re;let n,o;try{n=await t.get(`${window.location.origin}${e}config.json`)}catch(e){I(e),this.logger.error(u.create(ie.APPLICATION_CONFIGURATION__FAILURE),e)}O(n,"Can't fetch Legend application configuration");try{o=await t.get(`${window.location.origin}${e}version.json`)}catch(e){I(e),this.logger.error(u.create(ie.APPLICATION_CONFIGURATION__FAILURE),e)}return O(o,"Can't fetch Legend application version"),[await this.configureApplication({configData:n,versionData:o,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 re(e.simple?{options:{credentials:"omit"}}:{}),o=await n.get(P(e.url,"Can't load documentation registry: 'url' field is missing or empty"));O(o.entries,"Can't load documentation registry data: 'entries' field is missing");const r=e.includes?.map((e=>new RegExp(`^${e.trim().replace(/[\^$\\.+?()[\]{}|]/g,"\\$&").replace(/\*/g,".*")}$`)));Object.entries(o.entries).forEach((([e,n])=>{r&&!r.some((t=>t.test(e)))||t[e]||(t[e]=n)}))}catch(e){I(e),this.logger.warn(u.create(ie.DOCUMENTATION_FETCH__FAILURE),e)}}))),e.keyedDocumentationEntries=[...me(t),...e.keyedDocumentationEntries]}async start(){O(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 yo(this.config,this.pluginManager);await Promise.all(this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationSetups?.()??[])).map((e=>e(n)))),this.setupApplicationStore(n),await this.loadApplication(n),this.logger.info(u.create(ie.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 I(e),this.logger.error(u.create(ie.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),e}}}const vo="legend-application-root",ko=JSON.parse('{"rE":"15.1.11","XO":{"c":"@finos/legend-application-plugin-core"}}');class Ro extends s{}class Oo extends Ro{static NAME=ko.XO.c;constructor(){super(Oo.NAME,ko.rE)}install(e){e.registerApplicationPlugin(this)}getExtraApplicationSetups(){return[async e=>{(0,be.jK)({enforceActions:"observed"})}]}getExtraColorThemes(){return[io,so]}getExtraSettingConfigurationEntries(){return e=uo,Object.entries(e).map((e=>({key:e[0],...e[1]})));var e}}class Fo{appName;baseAddress;env;applicationStorageKey;documentationUrl;documentationLinkEntries=[];documentationRegistryEntries=[];keyedDocumentationEntries=[];contextualDocEntries=[];appVersion;appVersionBuildTime;appVersionCommitId;constructor(e){var t,n;this.baseAddress=e.baseAddress,this.appName=P(e.configData.appName,"Can't configure application: 'appName' field is missing or empty"),this.env=P(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:P(e[0],"Documentation link 'key' is missing"),label:P(e[1].label,"Documentation link 'label' is missing"),url:P(e[1].url,"Documentation link 'url' is missing")})))),this.documentationRegistryEntries=e.configData.documentation?.registry??[],this.keyedDocumentationEntries=me(e.configData.documentation?.entries??{}),this.contextualDocEntries=(n=e.configData.documentation?.contextualEntries??{},Object.entries(n).map((e=>({context:e[0],documentationKey:e[1]})))),this.appVersion=F(e.versionData.version,"Can't collect application version: 'version' field is missing"),this.appVersionBuildTime=F(e.versionData.buildTime,"Can't collect application version: 'buildTime' field is missing"),this.appVersionCommitId=F(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 Lo extends Fo{replUrl;useDynamicREPLServer=!1;constructor(e){super(e),O(e.configData.repl,"Can't configure application: 'repl' field is missing"),this.replUrl=Fo.resolveAbsoluteUrl(P(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 wo extends c{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 Po extends wo{pureProtocolProcessorPlugins=[];pureGraphManagerPlugins=[];pureGraphPlugins=[];constructor(){super()}static create(){return new Po}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 Bo,xo=n(6839),Do=n(8684);class Mo{historyAPI;_isNavigationBlocked=!1;_forceBypassNavigationBlocking=!1;_blockCheckers=[];_beforeUnloadListener=e=>{this._forceBypassNavigationBlocking||this._blockCheckers.some((e=>e()))&&(e.returnValue="")};onBlock;onNativePlatformNavigationBlock;constructor(e){(0,be.Gn)(this,{_isNavigationBlocked:be.sH,isNavigationBlocked:be.EW,blockNavigation:be.XI,unblockNavigation:be.XI}),this.historyAPI=e}get window(){return F(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?W.A.parseUrl(e).query:W.A.parse(e))((n=this.getCurrentAddress(),(0,$.J)(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 o,r;delete n[e],this.updateCurrentLocation((o=this.getCurrentLocation(),r=(e=>{const t={};return Object.entries(e).forEach((([e,n])=>{n&&(t[e]=n.toString())})),W.A.stringify(t)})(n),r?`${o}?${r}`:o)),this.updateCurrentZone(t)}}class jo{applicationStore;constructor(e){this.applicationStore=e}async initialize(){}}!function(e){e.INITIAL_COLOR_THEME="initialColorTheme"}(Bo||(Bo={}));class Uo extends jo{navigator;constructor(e,t){super(e),this.navigator=new Mo(t.historyAPI)}getNavigator(){return this.navigator}async initialize(){const e=this.applicationStore.navigationService.navigator.getCurrentLocationParameterValue(Bo.INITIAL_COLOR_THEME);e&&(this.applicationStore.layoutService.setColorTheme(e),this.applicationStore.navigationService.navigator.INTERNAL__internalizeTransientParameter(Bo.INITIAL_COLOR_THEME))}}const Go=(0,Ct.createContext)(void 0),Ho=({children:e})=>{const t=Nt(),n=(0,xo.W6)(),o=(0,ut.iz)((()=>new Uo(t,{historyAPI:n})));return(0,E.jsx)(Go.Provider,{value:o,children:e})},Vo=({children:e,baseUrl:t})=>(0,E.jsx)(Do.Kd,{basename:t,children:(0,E.jsx)(Ho,{children:e})});class Yo{networkClient;constructor(e){this.networkClient=e}get baseUrl(){return F(this.networkClient.baseUrl,"REPL server client has not been configured properly")}get dataCube(){return`${this.baseUrl}/api/dataCube`}async getGridClientLicenseKey(){return this.networkClient.get(`${this.dataCube}/gridLicenseKey`)}async getQueryTypeahead(e){return this.networkClient.post(`${this.dataCube}/typeahead`,e)}async parseQuery(e){return this.networkClient.post(`${this.dataCube}/parseQuery`,e)}async getQueryCode(e){return this.networkClient.post(`${this.dataCube}/getQueryCode`,e)}async getBaseQuery(){return this.networkClient.get(`${this.dataCube}/getBaseQuery`)}async getRelationReturnType(e){return this.networkClient.post(`${this.dataCube}/getRelationReturnType`,e)}async executeQuery(e){return this.networkClient.post(`${this.dataCube}/executeQuery`,e)}}class Ko{}class Wo extends Ko{name;multiplicity;class;accept_ValueSpecificationVisitor(e){return e.visit_Variable(this)}}class $o{subTrees=[];subTypeTrees=[]}class Xo extends $o{class;accept_GraphFetchTreeVisitor(e){return e.visit_RootGraphFetchTree(this)}}var qo,Jo;(Jo=qo||(qo={})).INTERNAL__UNKNOWN_ELEMENT="INTERNAL__UNKNOWN_ELEMENT",Jo.INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT="INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT",Jo.INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR="INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR",Jo.PACKAGE="PACKAGE",Jo.PACKAGEABLE_ELEMENT="PACKAGEABLE_ELEMENT",Jo.PACKAGEABLE_ELEMENT_POINTER="PACKAGEABLE_ELEMENT_POINTER",Jo.PROFILE="PROFILE",Jo.TAG_POINTER="TAG_POINTER",Jo.STEREOTYPE_POINTER="STEREOTYPE_POINTER",Jo.TAGGED_VALUE="TAGGED_VALUE",Jo.ENUMERATION="ENUMERATION",Jo.ENUM_VALUE="ENUM_VALUE",Jo.CLASS="CLASS",Jo.PROPERTY="PROPERTY",Jo.PROPERTY_DEFAULT_VALUE="PROPERTY_DEFAULT_VALUE",Jo.PROPERTY_POINTER="PROPERTY_POINTER",Jo.MULTIPLICITY="MULTIPLICITY",Jo.CONSTRAINT="CONSTRAINT",Jo.DERIVED_PROPERTY="DERIVED_PROPERTY",Jo.ASSOCIATION="ASSOCIATION",Jo.FUNCTION="FUNCTION",Jo.MEASURE="MEASURE",Jo.UNIT="UNIT",Jo.FUNCTION_TEST_SUITE="FUNCTION_TEST_SUITE",Jo.FUNCTION_TEST="FUNCTION_TEST",Jo.FUNCTION_STORE_TEST_DATA="FUNCTION_STORE_TEST_DATA",Jo.FUNCTION_PARAMETER_VALUE="FUNCTION_PARAMETER_VALUE",Jo.ASSERT_FAIL="ASSERT_FAIL",Jo.ASSERT_PASS="ASSERT_PASS",Jo.EQUAL_TO_JSON_ASSERT_FAIL="EQUAL_TO_JSON_ASSERT_FAIL",Jo.EQUAL_TO="EQUAL_TO",Jo.EQUAL_TO_JSON="EQUAL_TO_JSON",Jo.EQUAL_TO_TDS="EQUAL_TO_TDS",Jo.SECTION_INDEX="SECTION_INDEX",Jo.SECTION="SECTION",Jo.IMPORT_AWARE_CODE_SECTION="IMPORT_AWARE_CODE_SECTION",Jo.DEFAULT_CODE_SECTION="DEFAULT_CODE_SECTION",Jo.RAW_LAMBDA="RAW_LAMBDA",Jo.RAW_VARIABLE="RAW_VARIABLE",Jo.RAW_INSTANCE_VALUE="RAW_INSTANCE_VALUE",Jo.BINDING_TRANSFORMER="BINDING_TRANSFORMER",Jo.INTERNAL__UNKNOWN_VALUE_SPECIFICATION="INTERNAL__UNKNOWN_VALUE_SPECIFICATION",Jo.INTERNAL__PROPAGATED_VALUE="INTERNAL__PROPAGATED_VALUE",Jo.VARIABLE_EXPRESSION="VARIABLE_EXPRESSION",Jo.EXPRESSION="EXPRESSION",Jo.FUNCTION_EXPRESSION="FUNCTION_EXPRESSION",Jo.SIMPLE_FUNCTION_EXPRESSION="SIMPLE_FUNCTION_EXPRESSION",Jo.ABSTRACT_PROPERTY_EXPRESSION="ABSTRACT_PROPERTY_EXPRESSION",Jo.INSTANCE_VALUE="INSTANCE_VALUE",Jo.PRIMITIVE_INSTANCE_VALUE="PRIMITIVE_INSTANCE_VALUE",Jo.ENUM_INSTANCE_VALUE="ENUM_INSTANCE_VALUE",Jo.KEY_EXPRESSION_INSTANCE_VALUE="KEY_EXPRESSION_INSTANCE_VALUE",Jo.KEY_EXPRESSION_VALUE="KEY_EXPRESSION_VALUE",Jo.RUNTIME_INSTANCE_VALUE="RUNTIME_INSTANCE_VALUE",Jo.PAIR_INSTANCE_VALUE="PAIR_INSTANCE_VALUE",Jo.MAPPING_INSTANCE_VALUE="MAPPING_INSTANCE_VALUE",Jo.PURE_LIST_INSTANCE_VALUE="PURE_LIST_INSTANCE_VALUE",Jo.COLLECTION_INSTANCE_VALUE="COLLECTION_INSTANCE_VALUE",Jo.LAMBDA_FUNCTION_INSTANCE_VALUE="LAMBDA_FUNCTION_INSTANCE_VALUE",Jo.FUNCTION_TYPE="FUNCTION_TYPE",Jo.LAMBDA_FUNCTION="LAMBDA_FUNCTION",Jo.ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE="ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE",Jo.ALLOY_SERIALIZATION_CONFIG="ALLOY_SERIALIZATION_CONFIG",Jo.ROOT_GRAPH_FETCH_TREE="ROOT_GRAPH_FETCH_TREE",Jo.PROPERTY_GRAPH_FETCH_TREE="PROPERTY_GRAPH_FETCH_TREE",Jo.SUBTYPE_GRAPH_FETCH_TREE="SUBTYPE_GRAPH_FETCH_TREE",Jo.SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE="SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.PROPERTY_GRAPH_FETCH_TREE_INSTANCE_VALUE="PROEPRTY_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE="ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.RELATION_COL_SPEC_ARRAY="RELATION_COL_SPEC_ARRAY",Jo.RELATION_COL_SPEC="RELATION_COL_SPEC",Jo.INTERNAL__UNKNOWN_STORE="INTERNAL__UNKNOWN_STORE",Jo.INTERNAL__UNKNOWN_CONNECTION="INTERNAL__UNKNOWN_CONNECTION",Jo.INTERNAL__UNKNOWN_PROPERTY_MAPPING="INTERNAL__UNKNOWN_PROPERTY_MAPPING",Jo.INTERNAL__UNKNOWN_CLASS_MAPPING="INTERNAL__UNKNOWN_CLASS_MAPPING",Jo.INTERNAL__UNKNOWN_MAPPING_INCLUDE="INTERNAL__UNKNOWN_MAPPING_INCLUDE",Jo.MAPPING="MAPPING",Jo.MAPPING_INCLUDE_MAPPING="MAPPING_INCLUDE_MAPPING",Jo.ASSOCIATION_IMPLEMENTATION="ASSOCIATION_IMPLEMENTATION",Jo.RELATIONAL_ASSOCIATION_IMPLEMENTATION="RELATIONAL_ASSOCIATION_IMPLEMENTATION",Jo.XSTORE_ASSOCIATION_IMPLEMENTATION="XSTORE_ASSOCIATION_IMPLEMENTATION",Jo.ENUMERATION_MAPPING="ENUMERATION_MAPPING",Jo.ENUM_VALUE_MAPPING="ENUM_VALUE_MAPPING",Jo.SET_IMPLEMENTATION="SET_IMPLEMENTATION",Jo.OPERATION_SET_IMPLEMENTATION="OPERATION_SET_IMPLEMENTATION",Jo.PURE_INSTANCE_SET_IMPLEMENTATION="PURE_INSTANCE_SET_IMPLEMENTATION",Jo.PROPERTY_MAPPING="PROPERTY_MAPPING",Jo.LOCAL_MAPPING_PROPERTY="LOCAL_MAPPING_PROPERTY",Jo.PURE_PROPERTY_MAPPING="PURE_PROPERTY_MAPPING",Jo.XSTORE_PROPERTY_MAPPING="XSTORE_PROPERTY_MAPPING",Jo.MAPPING_TEST_LEGACY="MAPPING_TEST_LEGACY",Jo.MAPPING_TEST_SUITE="MAPPING_TEST_SUITE",Jo.MAPPING_TEST="MAPPING_TEST",Jo.STORE_TEST_DATA="STORE_TEST_DATA",Jo.INPUT_DATA="INPUT_DATA",Jo.FLAT_DATA_INPUT_DATA="FLAT_DATA_INPUT_DATA",Jo.RELATIONAL_INPUT_DATA="RELATIONAL_INPUT_DATA",Jo.OBJECT_INPUT_DATA="OBJECT_INPUT_DATA",Jo.MAPPING_TEST_ASSERT="MAPPING_TEST_ASSERT",Jo.EXPECTED_OUTPUT_MAPPING_TEST_ASSERT="EXPECTED_OUTPUT_MAPPING_TEST_ASSERT",Jo.FILTER_MAPPING="FILTER_MAPPING",Jo.COLUMN_MAPPING="COLUMN_MAPPING",Jo.GROUP_BY_MAPPING="GROUP_BY_MAPPING",Jo.RUNTIME="RUNTIME",Jo.PACKAGEABLE_RUNTIME="PACKAGEABLE_RUNTIME",Jo.ENGINE_RUNTIME="ENGINE_RUNTIME",Jo.SINGLE_ENGINE_RUNTIME="SINGLE_ENGINE_RUNTIME",Jo.LEGACY_RUNTIME="LEGACY_RUNTIME",Jo.RUNTIME_POINTER="RUNTIME_POINTER",Jo.STORE_CONNECTIONS="STORE_CONNECTIONS",Jo.IDENTIFIED_CONNECTION="IDENTIFIED_CONNECTION",Jo.PACKAGEABLE_CONNECTION="PACKAGEABLE_CONNECTION",Jo.CONNECTION_POINTER="CONNECTION_POINTER",Jo.XML_MODEL_CONNECTION="XML_MODEL_CONNECTION",Jo.JSON_MODEL_CONNECTION="JSON_MODEL_CONNECTION",Jo.MODEL_CHAIN_CONNECTION="MODEL_CHAIN_CONNECTION",Jo.FLAT_DATA_CONNECTION="FLAT_DATA_CONNECTION",Jo.AGGREGATION_AWARE_MAPPING="AGGREGATION_AWARE_MAPPING",Jo.AGGREGATION_AWARE_SPECIFICATION="AGGREGATION_AWARE_SPECIFICATION",Jo.AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER="AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER",Jo.AGGREGATE_FUNCTION="AGGREGATE_FUNCTION",Jo.GROUP_BY_FUNCTION="GROUP_BY_FUNCTION",Jo.GENERATION_TREE="GENERATION_TREE",Jo.GENERATION_TREE_NODE="GENERATION_TREE_NODE",Jo.FILE_GENERATION="FILE_GENERATION",Jo.CONFIGURATION_PROPERTY="CONFIGURATION_PROPERTY",Jo.INTERNAL__UNKNOWN_EMBEDDED_DATA="INTERNAL__UNKNOWN_EMBEDDED_DATA",Jo.EXTERNAL_FORMAT_DATA="EXTERNAL_FORMAT_DATA",Jo.MODEL_STORE_DATA="MODEL_STORE_DATA",Jo.MODEL_DATA="MODEL_DATA",Jo.MODEL_EMBEDDED_DATA="MODEL_EMBEDDED_DATA",Jo.MODEL_INSTANCE_DATA="MODEL_INSTANCE_DATA",Jo.DATA_ELEMENT_REFERENCE="DATA_ELEMENT_REFERENCE",Jo.DATA_ELEMENT="DATA_ELEMENT",Jo.RELATIONAL_CSV_DATA="RELATIONAL_CSV_DATA",Jo.RELATIONAL_TDS="RELATIONAL_TDS",Jo.RELATIONAL_CSV_DATA_TABLE="RELATIONAL_CSV_DATA_TABLE",Jo.BINDING="BINDING",Jo.SCHEMA_SET="SCHEMA_SET",Jo.SCHEMA="SCHEMA",Jo.MODEL_UNIT="MODEL_UNIT",Jo.URL_STREAM="URL_STREAM",Jo.EXTERNAL_FORMAT_CONNECTION="EXTERNAL_FORMAT_CONNECTION",Jo.SERVICE="SERVICE",Jo.SERVICE_OWNER="SERVICE_OWNER",Jo.SERVICE_PURE_EXECUTION="SERVICE_PURE_EXECUTION",Jo.SERVICE_PURE_SINGLE_EXECUTION="SERVICE_PURE_SINGLE_EXECUTION",Jo.SERVICE_KEYED_EXECUTION_PARAMETER="SERVICE_KEYED_EXECUTION_PARAMETER",Jo.SERVICE_PURE_MULTI_EXECUTION="SERVICE_PURE_MULTI_EXECUTION",Jo.SERVICE_TEST_CONTAINER="SERVICE_TEST_CONTAINER",Jo.SERVICE_LEGACY_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_SINGLE_EXECUTION_TEST",Jo.SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST",Jo.SERVICE_LEGACY_MULTI_EXECUTION_TEST="SERVICE_LEGACY_MULTI_EXECUTION_TEST",Jo.SERVICE_CONNECTION_TEST_DATA="SERVICE_CONNECTION_TEST_DATA",Jo.SERVICE_TEST_DATA="SERVICE_TEST_DATA",Jo.SERVICE_TEST_SUITE="SERVICE_TEST_SUITE",Jo.SERVICE_TEST="SERVICE_TEST",Jo.SERVICE_PARAMETER_VALUE="SERVICE_PARAMETER_VALUE",Jo.SERVICE_POST_VALIDATION="SERVICE_POST_VALIDATION",Jo.SERVICE_POST_VALIDATION_ASSERTION="SERVICE_POST_VALIDATION_ASSERTION",Jo.EXECUTION_ENVIRONMENT_INSTANCE="EXECUTION_ENVIRONMENT_INSTANCE",Jo.SINGLE_EXECUTION_PARAMETER="SINGLE_EXECUTION_PARAMETER",Jo.MULTI_EXECUTION_PARAMETER="MULTI_EXECUTION_PARAMETER",Jo.INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION="INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION",Jo.INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY="INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY",Jo.INTERNAL__UNKNOWN_POST_PROCESSOR="INTERNAL__UNKNOWN_POST_PROCESSOR",Jo.DATABASE="DATABASE",Jo.DATABASE_SCHEMA="DATABASE_SCHEMA",Jo.DATABASE_JOIN="DATABASE_JOIN",Jo.DATABASE_FILTER="DATABASE_FILTER",Jo.DATBASE_VIEW="DATBASE_VIEW",Jo.DATABASE_SCHEMA_TABLE="DATABASE_SCHEMA_TABLE",Jo.DATABASE_TABLE_COLUMN="DATABASE_TABLE_COLUMN",Jo.RELATIONAL="RELATIONAL",Jo.RELATIONAL_OPERATION_DYNA_FUNC="RELATIONAL_OPERATION_DYNA_FUNC",Jo.RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS="RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS",Jo.RELATIONAL_OPERATION_LITERAL="RELATIONAL_OPERATION_LITERAL",Jo.RELATIONAL_OPERATION_LITERAL_LIST="RELATIONAL_OPERATION_LITERAL_LIST",Jo.RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN="RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN",Jo.RELATIONAL_OPERATION_TABLE_POINTER="RELATIONAL_OPERATION_TABLE_POINTER",Jo.RELATIONAL_OPERATION_JOIN_POINTER="RELATIONAL_OPERATION_JOIN_POINTER",Jo.RELATIONAL_DATATYPE_VARCHAR="RELATIONAL_DATATYPE_VARCHAR",Jo.RELATIONAL_DATATYPE_CHAR="RELATIONAL_DATATYPE_CHAR",Jo.RELATIONAL_DATATYPE_VARBINARY="RELATIONAL_DATATYPE_VARBINARY",Jo.RELATIONAL_DATATYPE_BINARY="RELATIONAL_DATATYPE_BINARY",Jo.RELATIONAL_DATATYPE_BIT="RELATIONAL_DATATYPE_BIT",Jo.RELATIONAL_DATATYPE_INTEGER="RELATIONAL_DATATYPE_INTEGER",Jo.RELATIONAL_DATATYPE_BIGINT="RELATIONAL_DATATYPE_BIGINT",Jo.RELATIONAL_DATATYPE_SMALLINT="RELATIONAL_DATATYPE_SMALLINT",Jo.RELATIONAL_DATATYPE_TINYINT="RELATIONAL_DATATYPE_TINYINT",Jo.RELATIONAL_DATATYPE_NUMERIC="RELATIONAL_DATATYPE_NUMERIC",Jo.RELATIONAL_DATATYPE_DECIMAL="RELATIONAL_DATATYPE_DECIMAL",Jo.RELATIONAL_DATATYPE_DOUBLE="RELATIONAL_DATATYPE_DOUBLE",Jo.RELATIONAL_DATATYPE_FLOAT="RELATIONAL_DATATYPE_FLOAT",Jo.RELATIONAL_DATATYPE_REAL="RELATIONAL_DATATYPE_REAL",Jo.RELATIONAL_DATATYPE_DATE="RELATIONAL_DATATYPE_DATE",Jo.RELATIONAL_DATATYPE_TIMESTAMP="RELATIONAL_DATATYPE_TIMESTAMP",Jo.RELATIONAL_DATATYPE_OTHER="RELATIONAL_DATATYPE_OTHER",Jo.RELATIONAL_DATATYPE_SEMISTRUCTURED="RELATIONAL_DATATYPE_SEMISTRUCTURED",Jo.RELATIONAL_DATATYPE_JSON="RELATIONAL_DATATYPE_JSON",Jo.ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION="ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Jo.RELATIONAL_INSTANCE_SET_IMPLEMENTATION="RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Jo.REALTIONAL_PROPERTY_MAPPING="REALTIONAL_PROPERTY_MAPPING",Jo.EMBEDDED_REALTIONAL_PROPERTY_MAPPING="EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.BUSINESS_MILESTONING="BUSINESS_MILESTONING",Jo.BUSINESS_SNAPSHOT_MILESTONING="BUSINESS_SNAPSHOT_MILESTONING",Jo.PROCESSING_MILESTONING="PROCESSING_MILESTONING",Jo.RELATIONAL_DATABASE_CONNECTION="RELATIONAL_DATABASE_CONNECTION",Jo.STATIC_DATASOURCE_SPECIFICATION="STATIC_DATASOURCE_SPECIFICATION",Jo.LOCAL_H2_DATASOURCE_SPECIFICATION="LOCAL_H2_DATASOURCE_SPECIFICATION",Jo.EMBEDDED_H2_DATASOURCE_SPECIFICATION="EMBEDDED_H2_DATASOURCE_SPECIFICATION",Jo.SNOWFLAKE_DATASOURCE_SPECIFICATION="SNOWFLAKE_DATASOURCE_SPECIFICATION",Jo.REDSHIFT_DATASOURCE_SPECIFICATION="REDSHIFT_DATASOURCE_SPECIFICATION",Jo.BIGQUERY_DATASOURCE_SPECIFICATION="BIGQUERY_DATASOURCE_SPECIFICATION",Jo.DATABRICKS_DATASOURCE_SPECIFICATION="DATABRICKS_DATASOURCE_SPECIFICATION",Jo.SPANNER_DATASOURCE_SPECIFICATION="SPANNER_DATASOURCE_SPECIFICATION",Jo.TRINO_DATASOURCE_SPECIFICATION="TRINO_DATASOURCE_SPECIFICATION",Jo.TRINO_SSL_SPECIFICATION="TRINO_SSL_SPECIFICATION",Jo.DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY="DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY",Jo.DEFAULT_H2_AUTHENTICATION_STRATEGY="DEFAULT_H2_AUTHENTICATION_STRATEGY",Jo.SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY="SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY",Jo.API_TOKEN_AUTHENTICATION_STRATEGY="API_TOKEN_AUTHENTICATION_STRATEGY",Jo.GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY="GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY",Jo.USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Jo.OAUTH_AUTHENTICATION_STRATEGY="OAUTH_AUTHENTICATION_STRATEGY",Jo.GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY="GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY",Jo.MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Jo.TRINO_DELEGATED_KERBEROS_AUTHENTICATION_STRATEGY="TRINO_KEREBEROS_AUTHENTICATION_STRATEGY",Jo.MAPPER_POST_PROCESSOR="MAPPER_POST_PROCESSOR",Jo.SCHEMA_MAPPER="SCHEMA_MAPPER",Jo.TABLE_MAPPER="TABLE_MAPPER",Jo.FLAT_DATA="FLAT_DATA",Jo.FLAT_DATA_SECTION="FLAT_DATA_SECTION",Jo.FLAT_DATA_PROPERTY="FLAT_DATA_PROPERTY",Jo.FLAT_DATA_ROOT_RECORD_TYPE="FLAT_DATA_ROOT_RECORD_TYPE",Jo.FLAT_DATA_RECORD_TYPE="FLAT_DATA_RECORD_TYPE",Jo.FLAT_DATA_RECORD_FIELD="FLAT_DATA_RECORD_FIELD",Jo.FLAT_DATA_STRING="FLAT_DATA_STRING",Jo.FLAT_DATA_BOOLEAN="FLAT_DATA_BOOLEAN",Jo.FLAT_DATA_NUMBER="FLAT_DATA_NUMBER",Jo.FLAT_DATA_INTEGER="FLAT_DATA_INTEGER",Jo.FLAT_DATA_FLOAT="FLAT_DATA_FLOAT",Jo.FLAT_DATA_DECIMAL="FLAT_DATA_DECIMAL",Jo.FLAT_DATA_DATE="FLAT_DATA_DATE",Jo.FLAT_DATA_DATE_TIME="FLAT_DATA_DATE_TIME",Jo.FLAT_DATA_STRICT_DATE="FLAT_DATA_STRICT_DATE",Jo.FLAT_DATA_INSTANCE_SET_IMPLEMENTATION="FLAT_DATA_INSTANCE_SET_IMPLEMENTATION",Jo.FLAT_DATA_PROPERTY_MAPPING="FLAT_DATA_PROPERTY_MAPPING",Jo.FLAT_DATA_ASSOCIATION_IMPLEMENTATION="FLAT_DATA_ASSOCIATION_IMPLEMENTATION",Jo.FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING="FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING",Jo.EMBEDDED_FLAT_DATA_PROPERTY_MAPPING="EMBEDDED_FLAT_DATA_PROPERTY_MAPPING",Jo.FLAT_DATA_SECTION_POINTER="FLAT_DATA_SECTION_POINTER",Jo.SNOWFLAKE_APP="SNOWFLAKE_APP",Jo.HOSTED_SERVICE="HOSTED_SERVICE",Jo.HOSTED_SERVICE_OWNER="HOSTED_SERVICE_OWNER";var zo=n(9499);n(1937);const Qo=e=>zo.sha1().update(e).digest("hex"),Zo=e=>Qo(e.filter(R).map((e=>"string"==typeof e||"boolean"==typeof e||"number"==typeof e?Qo(e):e.hashCode)).join(","));class er{lowerBound=0;upperBound;constructor(e,t){this.lowerBound=e,this.upperBound=t}get hashCode(){return Zo([qo.MULTIPLICITY,this.lowerBound.toString(),this.upperBound?.toString()??""])}static ZERO=new er(0,0);static ZERO_ONE=new er(0,1);static ZERO_MANY=new er(0,void 0);static ONE=new er(1,1);static ONE_MANY=new er(1,void 0)}class tr extends Ko{multiplicity=er.ONE}class nr extends tr{body=[];parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_Lambda(this)}}class or extends Ko{multiplicity=er.ONE}class rr{name;startType;path=[]}class ar extends Ko{multiplicity=er.ONE}class ir extends ar{function;fControl;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedFunction(this)}}class sr extends Ko{multiplicity=er.ONE_MANY;values=[];accept_ValueSpecificationVisitor(e){return e.visit_Collection(this)}}class cr extends or{}class ur extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CDecimal(this)}}class dr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CInteger(this)}}class lr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CString(this)}}class pr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CFloat(this)}}class gr extends cr{}class mr extends gr{value;accept_ValueSpecificationVisitor(e){return e.visit_CDateTime(this)}}class fr extends gr{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictDate(this)}}class hr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictTime(this)}}class Er extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CBoolean(this)}}class br{mapFn;aggregateFn}class _r{first;second}class Ar{runtime}class Tr{executionContext}class yr extends $o{property;parameters=[];alias;subType;accept_GraphFetchTreeVisitor(e){return e.visit_PropertyGraphFetchTree(this)}}class Cr extends $o{subTypeClass;accept_GraphFetchTreeVisitor(e){return e.visit_SubTypeGraphFetchTree(this)}}class Sr{includeType;typeKeyName;includeEnumType;removePropertiesWithNullValues;removePropertiesWithEmptySets;fullyQualifiedTypePath;includeObjectReference}class Nr extends tr{add;expression;key;accept_ValueSpecificationVisitor(e){return e.visit_KeyExpression(this)}}class Ir{values=[]}class vr{name;pmapFn;aggregateFn}class kr{name;columnFn}class Rr{column;direction}class Or{function}class Fr{function;columnName}class Lr{colSpecs=[]}class wr{name;type;function1;function2}class Pr{path=[]}var Br,xr,Dr,Mr,jr,Ur,Gr,Hr,Vr;!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"}(Br||(Br={})),(Mr=xr||(xr={})).STRING="String",Mr.BOOLEAN="Boolean",Mr.BINARY="Binary",Mr.NUMBER="Number",Mr.INTEGER="Integer",Mr.FLOAT="Float",Mr.DECIMAL="Decimal",Mr.DATE="Date",Mr.STRICTDATE="StrictDate",Mr.DATETIME="DateTime",Mr.STRICTTIME="StrictTime",Mr.LATESTDATE="LatestDate",Mr.BYTE="Byte",function(e){e.Service_Test="serviceTest",e.Mapping_Test="mappingTest",e.Function_Test="functionTest"}(Dr||(Dr={})),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"}(Ur||(Ur={})),function(e){e.ALL_VERSIONS="AllVersions",e.ALL_VERSIONS_IN_RANGE="AllVersionsInRange"}(Gr||(Gr={})),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"}(Hr||(Hr={})),function(e){e.LET="meta::pure::functions::lang::letFunction",e.NEW="meta::pure::functions::meta::new",e.FROM="meta::pure::mapping::from"}(Vr||(Vr={}));class Yr{package;name;get path(){return`${this.package}::${this.name}`}get hashCode(){return Zo([qo.PACKAGEABLE_ELEMENT,this.path])}}const Kr=new ce((0,se.PL)(class{sourceId;startLine;startColumn;endLine;endColumn},{sourceId:(0,se.MY)(),startLine:(0,se.MY)(),startColumn:(0,se.MY)(),endLine:(0,se.MY)(),endColumn:(0,se.MY)()}));class Wr{package;name;sourceInformation;static serialization=new ce((0,se.PL)(Wr,{package:(0,se.MY)(),name:(0,se.MY)(),sourceInformation:le(Kr.schema)}))}(0,se.PL)(class{type;path;constructor(e,t){this.type=e,this.path=t}get hashCode(){return Zo([qo.PACKAGEABLE_ELEMENT_POINTER,this.type??"",this.path])}},{path:(0,se.MY)(),type:(0,se.lq)((0,se.MY)())});const $r=(0,se.PL)(er,{lowerBound:(0,se.MY)(),upperBound:(0,se.lq)((0,se.MY)())});class Xr{}class qr extends Xr{property;parameters=[]}class Jr extends ar{class;property;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedProperty(this)}}class zr{}class Qr extends zr{mappings=[];connectionStores=[];connections=[];get hashCode(){return Zo([qo.ENGINE_RUNTIME,Zo(this.mappings),Zo(this.connectionStores),Zo(this.connections)])}}class Zr extends Qr{get hashCode(){return Zo([qo.SINGLE_ENGINE_RUNTIME,Zo(this.mappings),Zo(this.connectionStores),Zo(this.connections)])}}class ea extends zr{runtime;get hashCode(){return Zo([qo.RUNTIME_POINTER,this.runtime])}}var ta;!function(e){e.RUNTIME_POINTER="runtimePointer",e.LEGACY_RUNTIME="legacyRuntime",e.ENGINE_RUNTIME="engineRuntime",e.SINGLE_ENGINE_RUNTIME="localEngineRuntime"}(ta||(ta={}));const na=(0,se.PL)(ea,{_type:de(ta.RUNTIME_POINTER),runtime:(0,se.MY)()});(0,se.PL)(class extends Yr{runtimeValue;get hashCode(){return Zo([qo.PACKAGEABLE_RUNTIME,this.path,this.runtimeValue])}accept_PackageableElementVisitor(e){return e.visit_PackageableRuntime(this)}},{_type:de("runtime"),name:(0,se.MY)(),package:(0,se.MY)(),runtimeValue:(0,se.Ie)((e=>{return(t=e)instanceof Zr?(0,se.lK)(Zr,t):(0,se.lK)(Qr,t);var t}),(e=>{return(t=e)._type===ta.SINGLE_ENGINE_RUNTIME?(0,se.iu)(Zr,t):(0,se.iu)(Qr,t);var t}))});class oa{queryTimeOutInSeconds;enableConstraints}class ra extends oa{useAnalytics;toFlowSetFunction}class aa extends oa{}class ia extends Ko{multiplicity=er.ONE;fullPath;accept_ValueSpecificationVisitor(e){return e.visit_PackageableElementPtr(this)}}class sa extends ia{accept_ValueSpecificationVisitor(e){return e.visit_GenericTypeInstance(this)}}class ca extends Ko{multiplicity=er.ONE;type;value;accept_ValueSpecificationVisitor(e){return e.visit_ClassInstance(this)}}var ua,da,la,pa,ga;!function(e){e.BASE_EXECUTION_CONTEXT="BaseExecutionContext",e.ANALYTICS_EXECUTION_CONTEXT="AnalyticsExecutionContext"}(ua||(ua={})),function(e){e.PROPERTY_PATH_ELEMENT="propertyPath"}(da||(da={})),function(e){e.PROPERTY_GRAPH_FETCH_TREE="propertyGraphFetchTree"}(la||(la={})),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"}(pa||(pa={})),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"}(ga||(ga={}));const ma=(0,se.PL)(Wo,{_type:de(ga.VARIABLE),class:(0,se.lq)((0,se.MY)()),multiplicity:ue($r),name:(0,se.MY)()}),fa=e=>(0,se.PL)(nr,{_type:de(ga.LAMBDA),body:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),parameters:(0,se.p_)(ue(ma))}),ha=e=>(0,se.PL)(Nr,{_type:de(ga.KEY_EXPRESSION),add:(0,se.lq)((0,se.MY)()),expression:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))),key:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))}),Ea=e=>(0,se.PL)(ir,{_type:de(ga.APPLIED_FUNCTION),function:(0,se.MY)(),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),ba=e=>(0,se.PL)(Jr,{_type:de(ga.APPLIED_PROPERTY),class:(0,se.lq)((0,se.MY)()),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),property:(0,se.MY)()}),_a=(0,se.PL)(ia,{_type:de(ga.PACKAGEABLE_ELEMENT_PTR),fullPath:(0,se.MY)()}),Aa=(0,se.PL)(sa,{_type:de(ga.GENERIC_TYPE_INSTANCE),fullPath:(0,se.MY)()}),Ta=e=>{const t=new sa;return x(e.unitType)?t.fullPath=e.unitType:t.fullPath=G(e.fullPath,"Can't deserialize hacked unit: either field 'fullPath' or 'unitType' must be a non-empty string"),t},ya=e=>{const t=new sa;return t.fullPath=G(e.fullPath,"Can't deserialize hacked class: field 'fullPath' must be a non-empty string"),t},Ca=e=>(0,se.PL)(sr,{_type:de(ga.COLLECTION),multiplicity:ue($r),values:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),Sa=(0,se.PL)(class extends or{fullPath;value;accept_ValueSpecificationVisitor(e){return e.visit_EnumValue(this)}},{_type:de(ga.ENUM_VALUE),fullPath:(0,se.MY)(),value:(0,se.MY)()}),Na=(0,se.PL)(ur,{_type:de(ga.CDECIMAL),value:(0,se.MY)()}),Ia=(0,se.PL)(dr,{_type:de(ga.CINTEGER),value:(0,se.MY)()}),va=(0,se.PL)(lr,{_type:de(ga.CSTRING),value:(0,se.MY)()}),ka=(0,se.PL)(pr,{_type:de(ga.CFLOAT),value:(0,se.MY)()}),Ra=(0,se.PL)(mr,{_type:de(ga.CDATETIME),value:(0,se.MY)()}),Oa=(0,se.PL)(hr,{_type:de(ga.CSTRICTTIME),value:(0,se.MY)()}),Fa=(0,se.PL)(fr,{_type:de(ga.CSTRICTDATE),value:(0,se.MY)()}),La=(0,se.PL)(class extends gr{accept_ValueSpecificationVisitor(e){return e.visit_CLatestDate(this)}},{_type:de(ga.CLATESTDATE)}),wa=(0,se.PL)(Er,{_type:de(ga.CBOOLEAN),value:(0,se.MY)()}),Pa=(0,se.PL)(class extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CByteArray(this)}},{_type:de(ga.CBYTEARRAY),value:(0,se.MY)()}),Ba=(e,t,n)=>{if(Array.isArray(e.values)){if(0===e.values.length){const e=new sr;return e.multiplicity=er.ZERO,e}return 1===e.values.length?n({...e,value:e.values[0]}):si({...e,_type:ga.COLLECTION},t)}return n(e)},xa=e=>(0,se.PL)(ca,{_type:de(ga.CLASS_INSTANCE),multiplicity:ue($r),type:(0,se.MY)(),value:(0,se.Ie)((t=>function(e,t){if(e instanceof rr)return(0,se.lK)(Ma(t),e);if(e instanceof Xo)return(0,se.lK)(ja(t),e);if(e instanceof Tr)return(0,se.lK)(Wa(t),e);if(e instanceof br)return(0,se.lK)($a(t),e);if(e instanceof _r)return(0,se.lK)(Xa(t),e);if(e instanceof Ir)return(0,se.lK)(Ja(t),e);if(e instanceof Ar)return(0,se.lK)(qa,e);if(e instanceof Sr)return(0,se.lK)(za,e);if(e instanceof vr)return(0,se.lK)(Qa(t),e);if(e instanceof kr)return(0,se.lK)(Za(t),e);if(e instanceof Fr)return(0,se.lK)(ai(t),e);if(e instanceof Or)return(0,se.lK)(ri(t),e);if(e instanceof Rr)return(0,se.lK)(ei,e);if(e instanceof wr)return(0,se.lK)(ni(t),e);if(e instanceof Lr)return(0,se.lK)(oi(t),e);if(e instanceof Pr)return(0,se.lK)(ti,e);const n=t.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolSerializers?.()??[]));for(const o of n){const n=o(e,t);if(n)return n}throw new N("Can't serialize class instance value: no compatible serializer available from plugins",e)}(t,e)),((t,n)=>function(e,t,n){switch(t){case pa.PATH:return(0,se.iu)(Ma(n),e);case pa.ROOT_GRAPH_FETCH_TREE:return(0,se.iu)(ja(n),e);case pa.AGGREGATE_VALUE:return(0,se.iu)($a(n),e);case pa.EXECUTION_CONTEXT_INSTANCE:return(0,se.iu)(Wa(n),e);case pa.PAIR:return(0,se.iu)(Xa(n),e);case pa.PURE_LIST:return(0,se.iu)(Ja(n),e);case pa.RUNTIME_INSTANCE:return(0,se.iu)(qa,e);case pa.SERIALIZATION_CONFIG:return(0,se.iu)(za,e);case pa.TDS_AGGREGATE_VALUE:return(0,se.iu)(Qa(n),e);case pa.TDS_COLUMN_INFORMATION:return(0,se.iu)(Za(n),e);case pa.TDS_OLAP_AGGREGATION:return(0,se.iu)(ai(n),e);case pa.TDS_OLAP_RANK:return(0,se.iu)(ri(n),e);case pa.TDS_SORT_INFORMATION:return(0,se.iu)(ei,e);case pa.COL_SPEC:return(0,se.iu)(ni(n),e);case pa.COL_SPEC_ARRAY:return(0,se.iu)(oi(n),e);case pa.RELATION_STORE_ACCESSOR:return(0,se.iu)(ti,e);default:{const o=n.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolDeserializers?.()??[]));for(const r of o){const o=r(e,t,n);if(o)return o}throw new N(`Can't deserialize value specification of type '${e._type}': no compatible deserializer available from plugins`)}}}(t,n.json.type,e)))}),Da=e=>(0,se.PL)(qr,{_type:de(da.PROPERTY_PATH_ELEMENT),property:(0,se.MY)(),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),Ma=e=>(0,se.PL)(rr,{_type:de(pa.PATH),name:(0,se.MY)(),startType:(0,se.MY)(),path:(0,se.p_)((0,se.Ie)((t=>function(e,t){return e instanceof qr?(0,se.lK)(Da(t),e):se._Z}(t,e)),(t=>function(e,t){return e._type===da.PROPERTY_PATH_ELEMENT?(0,se.iu)(Da(t),e):se._Z}(t,e))))}),ja=e=>(0,se.PL)(Xo,{_type:de(pa.ROOT_GRAPH_FETCH_TREE),class:(0,se.MY)(),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e))))}),Ua=e=>(0,se.PL)(yr,{_type:de(la.PROPERTY_GRAPH_FETCH_TREE),alias:(0,se.lq)((0,se.MY)()),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),property:(0,se.MY)(),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subType:(0,se.lq)((0,se.MY)())}),Ga=e=>(0,se.PL)(Cr,{_type:de(pa.SUBTYPE_GRAPH_FETCH_TREE),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeClass:(0,se.MY)()});function Ha(e,t){if(e instanceof yr)return(0,se.lK)(Ua(t),e);if(e instanceof Xo)return(0,se.lK)(ja(t),e);if(e instanceof Cr)return(0,se.lK)(Ga(t),e);throw new N("Can't serialize graph fetch tree",e)}function Va(e,t){switch(e._type){case la.PROPERTY_GRAPH_FETCH_TREE:return(0,se.iu)(Ua(t),e);case pa.ROOT_GRAPH_FETCH_TREE:return(0,se.iu)(ja(t),e);case pa.SUBTYPE_GRAPH_FETCH_TREE:return(0,se.iu)(Ga(t),e);default:throw new N(`Can't deserialize graph fetch tree node of type '${e._type}'`)}}const Ya=e=>(0,se.PL)(ra,{_type:de(ua.ANALYTICS_EXECUTION_CONTEXT),enableConstraints:(0,se.lq)((0,se.MY)()),queryTimeOutInSeconds:(0,se.lq)((0,se.MY)()),toFlowSetFunction:ue(fa(e)),useAnalytics:(0,se.MY)()}),Ka=(0,se.PL)(aa,{_type:de(ua.BASE_EXECUTION_CONTEXT),enableConstraints:(0,se.lq)((0,se.MY)()),queryTimeOutInSeconds:(0,se.lq)((0,se.MY)())}),Wa=e=>(0,se.PL)(Tr,{_type:de(pa.EXECUTION_CONTEXT_INSTANCE),executionContext:(0,se.Ie)((t=>function(e,t){return e instanceof ra?(0,se.lK)(Ya(t),e):e instanceof aa?(0,se.lK)(Ka,e):se._Z}(t,e)),(t=>function(e,t){switch(e._type){case ua.ANALYTICS_EXECUTION_CONTEXT:return(0,se.iu)(Ya(t),e);case ua.BASE_EXECUTION_CONTEXT:return(0,se.iu)(Ka,e);default:return se._Z}}(t,e)))}),$a=e=>(0,se.PL)(br,{_type:de(pa.AGGREGATE_VALUE),mapFn:ue(fa(e)),aggregateFn:ue(fa(e))}),Xa=e=>(0,se.PL)(_r,{_type:de(pa.PAIR),first:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))),second:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))}),qa=(0,se.PL)(Ar,{_type:de(pa.RUNTIME_INSTANCE),runtime:(0,se.Ie)((e=>(e=>{if(e instanceof Qr)return(0,se.lK)(Qr,e);if(e instanceof ea)return(0,se.lK)(na,e);throw new N("Can't serialize runtime",e)})(e)),(e=>(0,se.iu)(Qr,e)))}),Ja=e=>(0,se.PL)(Ir,{_type:de(pa.PURE_LIST),values:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),za=(0,se.PL)(Sr,{_type:de(pa.SERIALIZATION_CONFIG),includeType:(0,se.lq)((0,se.MY)()),typeKeyName:(0,se.MY)(),includeEnumTypee:(0,se.lq)((0,se.MY)()),removePropertiesWithNullValuese:(0,se.lq)((0,se.MY)()),removePropertiesWithEmptySetse:(0,se.lq)((0,se.MY)()),fullyQualifiedTypePathe:(0,se.lq)((0,se.MY)()),includeObjectReferencee:(0,se.lq)((0,se.MY)())}),Qa=e=>(0,se.PL)(vr,{_type:de(pa.TDS_AGGREGATE_VALUE),name:(0,se.MY)(),pmapFn:ue(fa(e)),aggregateFn:ue(fa(e))}),Za=e=>(0,se.PL)(kr,{_type:de(pa.TDS_COLUMN_INFORMATION),name:(0,se.MY)(),columnFn:ue(fa(e))}),ei=(0,se.PL)(Rr,{_type:de(pa.TDS_SORT_INFORMATION),column:(0,se.MY)(),direction:(0,se.MY)()}),ti=(0,se.PL)(Pr,{path:(0,se.p_)((0,se.MY)())}),ni=e=>(0,se.PL)(wr,{function1:(0,se.lq)(ue(fa(e))),function2:(0,se.lq)(ue(fa(e))),name:(0,se.MY)(),type:(0,se.lq)((0,se.MY)())}),oi=e=>(0,se.PL)(Lr,{colSpecs:(0,se.p_)(ue(ni(e)))}),ri=e=>(0,se.PL)(Or,{_type:de(pa.TDS_OLAP_RANK),function:ue(fa(e))}),ai=e=>(0,se.PL)(Fr,{_type:de(pa.TDS_OLAP_AGGREGATION),function:ue(fa(e)),columnName:(0,se.MY)()});class ii{plugins=[];constructor(e){this.plugins=e}visit_INTERNAL__UnknownValueSpecfication(e){return e.content}visit_Variable(e){return(0,se.lK)(ma,e)}visit_Lambda(e){return(0,se.lK)(fa(this.plugins),e)}visit_KeyExpression(e){return(0,se.lK)(ha(this.plugins),e)}visit_PackageableElementPtr(e){return(0,se.lK)(_a,e)}visit_GenericTypeInstance(e){return(0,se.lK)(Aa,e)}visit_AppliedFunction(e){return(0,se.lK)(Ea(this.plugins),e)}visit_AppliedProperty(e){return(0,se.lK)(ba(this.plugins),e)}visit_Collection(e){return(0,se.lK)(Ca(this.plugins),e)}visit_EnumValue(e){return(0,se.lK)(Sa,e)}visit_CInteger(e){return(0,se.lK)(Ia,e)}visit_CDecimal(e){return(0,se.lK)(Na,e)}visit_CString(e){return(0,se.lK)(va,e)}visit_CBoolean(e){return(0,se.lK)(wa,e)}visit_CByteArray(e){return(0,se.lK)(Pa,e)}visit_CFloat(e){return(0,se.lK)(ka,e)}visit_CDateTime(e){return(0,se.lK)(Ra,e)}visit_CStrictDate(e){return(0,se.lK)(Fa,e)}visit_CStrictTime(e){return(0,se.lK)(Oa,e)}visit_CLatestDate(e){return(0,se.lK)(La,e)}visit_ClassInstance(e){return(0,se.lK)(xa(this.plugins),e)}}function si(e,t){switch(e._type){case ga.APPLIED_FUNCTION:return(0,se.iu)(Ea(t),e);case ga.APPLIED_PROPERTY:return(0,se.iu)(ba(t),e);case ga.VARIABLE:return(0,se.iu)(ma,e);case ga.LAMBDA:return(0,se.iu)(fa(t),e);case ga.KEY_EXPRESSION:return(0,se.iu)(ha(t),e);case ga.COLLECTION:return(0,se.iu)(Ca(t),e);case ga.ENUM_VALUE:return(0,se.iu)(Sa,e);case ga.CBOOLEAN:return Ba(e,t,(e=>(0,se.iu)(wa,e)));case ga.CBYTEARRAY:return Ba(e,t,(e=>(0,se.iu)(Pa,e)));case ga.CDATETIME:return Ba(e,t,(e=>(0,se.iu)(Ra,e)));case ga.CSTRICTTIME:return Ba(e,t,(e=>(0,se.iu)(Oa,e)));case ga.CDECIMAL:return Ba(e,t,(e=>(0,se.iu)(Na,e)));case ga.CFLOAT:return Ba(e,t,(e=>(0,se.iu)(ka,e)));case ga.CINTEGER:return Ba(e,t,(e=>(0,se.iu)(Ia,e)));case ga.CLATESTDATE:return Ba(e,t,(e=>(0,se.iu)(La,e)));case ga.CSTRICTDATE:return Ba(e,t,(e=>(0,se.iu)(Fa,e)));case ga.CSTRING:if(Array.isArray(e.values)&&!e.values.length&&U(e.multiplicity)&&1===e.multiplicity.upperBound){const e=new lr;return e.value="",e}return Ba(e,t,(e=>(0,se.iu)(va,e)));case ga.CLASS_INSTANCE:return(0,se.iu)(xa(t),e);case pa.PAIR:case pa.AGGREGATE_VALUE:case pa.EXECUTION_CONTEXT_INSTANCE:case pa.PATH:case pa.ROOT_GRAPH_FETCH_TREE:case pa.PURE_LIST:case pa.RUNTIME_INSTANCE:case pa.SERIALIZATION_CONFIG:case pa.TDS_AGGREGATE_VALUE:case pa.TDS_COLUMN_INFORMATION:case pa.TDS_OLAP_AGGREGATION:case pa.TDS_OLAP_RANK:case pa.TDS_SORT_INFORMATION:return(0,se.iu)(xa(t),{_type:ga.CLASS_INSTANCE,type:e._type,value:e});case ga.HACKED_CLASS:return ya(e);case ga.UNIT_TYPE:case ga.HACKED_UNIT:return Ta(e);case ga.PRIMITIVE_TYPE:case ga.ENUM:case ga.CLASS:case ga.MAPPING_INSTANCE:case ga.PACKAGEABLE_ELEMENT_PTR:return(0,se.iu)(_a,e);case ga.GENERIC_TYPE_INSTANCE:return(0,se.iu)(Aa,e);default:throw new N(`Can't deserialize value specification of type '${e._type}'`)}}function ci(e,t){return e.accept_ValueSpecificationVisitor(new ii(t))}var ui=n(8492);const di=e=>F((0,ui.A)(e.split("::"))),li=(e,t)=>Array.isArray(t)?t.some((t=>li(e,t))):e===t||di(t)===e;var pi,gi,mi,fi,hi;!function(e){e.AVERAGE="average",e.COUNT="count",e.DISTINCT="distinct",e.FIRST="first",e.JOIN_STRINGS="joinStrings",e.LAST="last",e.MAX="max",e.MIN="min",e.SUM="sum",e.STD_DEV_POPULATION="stdDevPopulation",e.STD_DEV_SAMPLE="stdDevSample",e.UNIQUE_VALUE_ONLY="uniqueValueOnly"}(pi||(pi={})),function(e){e.EQUAL="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"}(gi||(gi={})),function(e){e.ASCENDING="ascending",e.DESCENDING="descending"}(mi||(mi={})),function(e){e.AND="AND",e.OR="OR"}(fi||(fi={}));class Ei{uuid=(0,a.A)();timestamp=Date.now();data;constructor(e,t,n,o){this.data={name:e,runtime:t,sourceQuery:n,configuration:o,originalColumns:[],leafExtendedColumns:[],filter:void 0,groupBy:void 0,pivot:void 0,groupExtendedColumns:[],selectColumns:[],sortColumns:[],limit:void 0}}static create(e,t,n,o){return new Ei(e,t,n,o)}clone(){const e=new Ei("","",{},{});return e.data=JSON.parse(JSON.stringify(this.data)),e}stageCols(e){switch(e){case"leaf-extend":return[...this.data.originalColumns];case"filter":case"aggregation":case"group-extend":return[...this.data.originalColumns,...this.data.leafExtendedColumns];case"select":return[...this.data.originalColumns,...this.data.leafExtendedColumns,...this.data.groupExtendedColumns];case"sort":return[...this.data.selectColumns];default:throw new S(`Unknown stage '${e}'`)}}}function bi(e,t){return e?.find((e=>e.name===t))}function _i(e,t){return F(e?.find((e=>e.name===t)),`Can't find column '${t}'`)}!function(e){e.EXTEND="meta::pure::functions::relation::extend",e.FILTER="meta::pure::functions::relation::filter",e.GROUP_BY="meta::pure::functions::relation::groupBy",e.LIMIT="meta::pure::functions::relation::limit",e.PIVOT="meta::pure::functions::relation::pivot",e.SELECT="meta::pure::functions::relation::select",e.SLICE="meta::pure::functions::relation::slice",e.SORT="meta::pure::functions::relation::sort",e.CAST="meta::pure::functions::lang::cast",e.FROM="meta::pure::mapping::from",e.ASC="meta::pure::functions::relation::ascending",e.DESC="meta::pure::functions::relation::descending",e.AND="meta::pure::functions::boolean::and",e.NOT="meta::pure::functions::boolean::not",e.OR="meta::pure::functions::boolean::or",e.CONTAINS="meta::pure::functions::string::contains",e.ENDS_WITH="meta::pure::functions::string::endsWith",e.EQUAL="meta::pure::functions::boolean::equal",e.GREATER_THAN="meta::pure::functions::boolean::greaterThan",e.GREATER_THAN_EQUAL="meta::pure::functions::boolean::greaterThanEqual",e.IN="meta::pure::functions::collection::in",e.IS_EMPTY="meta::pure::functions::collection::isEmpty",e.LESS_THAN="meta::pure::functions::boolean::lessThan",e.LESS_THAN_EQUAL="meta::pure::functions::boolean::lessThanEqual",e.STARTS_WITH="meta::pure::functions::string::startsWith",e.AVERAGE="meta::pure::functions::math::average",e.COUNT="meta::pure::functions::collection::count",e.DISTINCT="meta::pure::functions::collection::distinct",e.FIRST="meta::pure::functions::collection::first",e.JOIN_STRINGS="meta::pure::functions::string::joinStrings",e.LAST="meta::pure::functions::collection::last",e.MAX="meta::pure::functions::collection::max",e.MIN="meta::pure::functions::collection::min",e.SUM="meta::pure::functions::math::sum",e.STD_DEV_POPULATION="meta::pure::functions::math::stdDevPopulation",e.STD_DEV_SAMPLE="meta::pure::functions::math::stdDevSample",e.UNIQUE_VALUE_ONLY="meta::pure::functions::collection::uniqueValueOnly"}(hi||(hi={}));const Ai="x";function Ti(e){return w(si(e,[]),nr)}function yi(e){const t=new Wo;return t.name=e??Ai,t}function Ci(e,t){const n=new Jr;return n.property=e,n.parameters.push(t??yi()),n}function Si(e,t){const n=new nr;return n.parameters=e,n.body=t,n}function Ni(e,t){const n=new ir;return n.function=e,n.parameters=t,n}function Ii(e){const t=new sr;return t.multiplicity=new er(e.length,e.length),t.values=e,t}function vi(e,t){const n=(e,t)=>(e.value=t,e);switch(e){case xr.STRING:return n(new lr,G(t));case xr.BOOLEAN:return n(new Er,V(t));case xr.NUMBER:case xr.DECIMAL:return n(new ur,H(t));case xr.INTEGER:return n(new dr,H(t));case xr.FLOAT:return n(new pr,H(t));case xr.DATE:case xr.DATETIME:return n(new mr,G(t));case xr.STRICTDATE:return n(new fr,G(t));case xr.STRICTTIME:return n(new hr,G(t));default:throw new N(`Unsupported column type '${e}'`)}}function ki(e){const t=new ia;return t.fullPath=e,t}function Ri(e,t){const n=new ca;return n.type=e,n.value=t,n}function Oi(e,t,n){const o=new wr;return o.name=e,o.function1=t,o.function2=n,o}function Fi(e){const t=new Lr;return t.colSpecs=e,Ri(pa.COL_SPEC_ARRAY,t)}function Li(e){const t=yi();return e.length?e.map((e=>Oi(e.name,Si([t],[Ci(e.name,t)]),Si([t],[Ni(e.function,[t])])))):[Oi("INTERNAL__filler_count_agg_column",Si([t],[t]),Si([t],[Ni(hi.COUNT,[t])]))]}function wi(e){if("groupOperation"in e){const t=e,n=t.groupOperation===fi.AND?hi.AND:hi.OR;let o=[];return t.conditions.forEach((e=>{o.push(wi(e)),2===o.length&&(o=[Ni(n,o)])})),F(o[0])}{const t=e,n=Ci(t.name),o=(e,...t)=>Ni(di(e),[n,...t]),r=()=>vi(t.type,t.value),a=e=>Ni(di(hi.NOT),[e]);switch(t.operation){case gi.EQUAL:return o(hi.EQUAL,r());case gi.GREATER_THAN:return o(hi.GREATER_THAN,r());case gi.GREATER_THAN_OR_EQUAL:return o(hi.GREATER_THAN_EQUAL,r());case gi.LESS_THAN:return o(hi.LESS_THAN,r());case gi.LESS_THAN_OR_EQUAL:return o(hi.LESS_THAN_EQUAL,r());case gi.CONTAINS:return o(hi.CONTAINS,r());case gi.ENDS_WITH:return o(hi.ENDS_WITH,r());case gi.STARTS_WITH:return o(hi.STARTS_WITH,r());case gi.BLANK:return o(hi.IS_EMPTY);case gi.NOT_EQUAL:return a(o(hi.EQUAL,r()));case gi.NOT_BLANK:return a(o(hi.IS_EMPTY));case gi.NOT_CONTAINS:return a(o(hi.CONTAINS,r()));default:throw new N(`Unsupported filter operation '${t.operation}'`)}}}function Pi(e,t){const n=e.filter((e=>!bi(t,e.name)));return n.length?Ni(di(hi.EXTEND),[Fi(n.map((e=>Oi(e.name,Si([yi()],[vi(xr.STRING,"")])))))]):void 0}function Bi(e){switch(e){case Ui.AVERAGE:return pi.AVERAGE;case Ui.COUNT:return pi.COUNT;case Ui.MAX:return pi.MAX;case Ui.MIN:return pi.MIN;case Ui.SUM:return pi.SUM;default:throw new S(`Unsupported aggregate function '${e}'`)}}function xi(){const e=yi();return Oi(Mi,Si([e],[e]),Si([e],[Ni(hi.COUNT,[e])]))}const Di="INTERNAL__tree",Mi="INTERNAL__count";var ji,Ui,Gi,Hi,Vi,Yi,Ki;!function(e){e.ASCENDING="asc",e.DESCENDING="desc"}(ji||(ji={})),function(e){e.COUNT="count",e.SUM="sum",e.MAX="max",e.MIN="min",e.AVERAGE="avg"}(Ui||(Ui={}));class Wi{grid;rowCount=void 0;constructor(e){(0,be.Gn)(this,{rowCount:be.sH}),this.grid=e}async fetchRows(e){e.request.rowGroupCols.length?e.api.setColumnsVisible([Di],!0):e.api.setColumnsVisible([Di],!1);const t=F(this.grid.getLatestSnapshot()),n=function(e,t){let n,o=!1;if(e.rowGroupCols.length){const o=t.stageCols("aggregation");n={columns:e.rowGroupCols.map((e=>({name:e.id,type:_i(o,e.id).type}))),aggColumns:e.valueCols.filter((e=>R(e.field)&&R(e.aggFunc))).map((e=>({name:F(e.field),type:_i(o,F(e.field)).type,function:Bi(e.aggFunc)})))}}let r=[];if(e.sortModel.length){const n=t.stageCols("sort");r=e.sortModel.map((e=>({..._i(n,e.colId),direction:e.sort===ji.ASCENDING?mi.ASCENDING:mi.DESCENDING})))}if((0,mo.A)(r,t.data.sortColumns)&&(0,mo.A)(n,t.data.groupBy)||(o=!0),o){const e=t.clone();return e.data.sortColumns=r,e.data.groupBy=n,e}return t}(e.request,t);n.uuid!==t.uuid&&this.grid.publishSnapshot(n);try{const t=function(e,t){const n=e.data,o=si(n.sourceQuery,[]),r=[],a={},i=(e,t)=>{r.push(t),a[e]=t};if(n.leafExtendedColumns.length&&i("leafExtend",Ni(di(hi.EXTEND),[Fi(n.leafExtendedColumns.map((e=>Oi(e.name,Ti(e.lambda)))))])),n.filter&&i("filter",Ni(di(hi.FILTER),[Si([yi()],[wi(n.filter)])])),n.groupBy){const t=n.groupBy;i("groupBy",Ni(di(hi.GROUP_BY),[Fi(t.columns.map((e=>Oi(e.name)))),Fi(Li(t.aggColumns))]));const o=Pi(e.stageCols("aggregation"),[...t.columns,...t.aggColumns]);o&&i("groupByExtend",o)}if(n.groupExtendedColumns.length&&i("groupExtend",Ni(di(hi.EXTEND),[Fi(n.groupExtendedColumns.map((e=>Oi(e.name,Ti(e.lambda)))))])),n.selectColumns.length&&i("select",Ni(di(hi.SELECT),[Fi(n.selectColumns.map((e=>Oi(e.name))))])),n.sortColumns.length&&i("sort",Ni(di(hi.SORT),[Ii(n.sortColumns.map((e=>{return Ni(di(e.direction===mi.ASCENDING?hi.ASC:hi.DESC),[(t=e.name,Ri(pa.COL_SPEC,Oi(t,undefined,undefined)))]);var t})))])),n.limit&&i("limit",Ni(di(hi.LIMIT),[vi(xr.INTEGER,n.limit)])),t?.pagination&&r.push(Ni(di(hi.SLICE),[vi(xr.INTEGER,t.pagination.start),vi(xr.INTEGER,t.pagination.end)])),r.push(Ni(di(hi.FROM),[ki(n.runtime)])),t?.postProcessor?.(e,r,a),!r.length)return o;for(let e=0;e<r.length;e++)F(r[e]).parameters.unshift(0===e?o:F(r[e-1]));return F(r[r.length-1])}(n,{postProcessor:(r=e.request.groupKeys,(e,t,n)=>{const o=e=>{const o=n[e];o&&(t.splice(t.indexOf(o),1),n[e]=void 0)},a=e.data;if(n.groupBy){const i=F(a.groupBy);if(r.length&&t.splice(t.indexOf(n.groupBy),0,Ni(di(hi.FILTER),[Si([yi()],[wi({conditions:r.map(((e,t)=>({...F(i.columns[t]),operation:gi.EQUAL,value:e}))),groupOperation:fi.AND})])])),r.length<i.columns.length){const a=t.indexOf(n.groupBy),s=i.columns.slice(0,r.length+1),c=Ni(di(hi.GROUP_BY),[Fi(s.map((e=>Oi(e.name)))),Fi([...Li(i.aggColumns),xi()])]);t[a]=c,n.groupBy=c;const u=Pi(e.stageCols("aggregation"),[...s,...i.aggColumns]);o("groupByExtend"),n.groupByExtend=u,u&&t.splice(a+1,0,u)}else o("groupBy"),o("groupByExtend");n.select&&r.length<i.columns.length&&(n.select.parameters=[Fi([...a.selectColumns.map((e=>Oi(e.name))),Oi(Mi)])])}}),pagination:this.grid.isPaginationEnabled&&void 0!==e.request.startRow&&void 0!==e.request.endRow?{start:e.request.startRow,end:e.request.endRow}:void 0}),a=new nr;a.body.push(t);const i=await this.grid.dataCube.engine.executeQuery(a),s=(o=i.result).rows.map(((e,t)=>{const n={},r=o.columns;return e.values.forEach(((e,t)=>{n[r[t]]=M(e)?String(e):e})),n.rowNumber=t,n}));this.grid.isPaginationEnabled?(e.success({rowData:s}),0===e.request.groupKeys.length&&(0,be.h5)((()=>{this.rowCount=(e.request.startRow??0)+s.length}))):(e.success({rowData:s,rowCount:s.length}),0===e.request.groupKeys.length&&(0,be.h5)((()=>{this.rowCount=s.length})))}catch(t){I(t),this.grid.dataCube.application.notificationService.notifyError(t),e.fail()}var o,r}getRows(e){this.fetchRows(e).catch((e=>{I(e),this.grid.dataCube.application.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Error ocurred while fetching data for grid should have been handled gracefully",e)}))}}class $i{dataCube;application;engine;latestSnapshot;constructor(e){this.dataCube=e,this.application=e.application,this.engine=e.engine}async receiveSnapshot(e){this.latestSnapshot=e,await this.applySnapshot(e)}publishSnapshot(e){this.latestSnapshot=e,this.dataCube.snapshotManager.broadcastSnapshot(e)}getLatestSnapshot(){return this.latestSnapshot}}function Xi(e){switch(e.type){case xr.STRING:case xr.DATE:case xr.DATETIME:case xr.STRICTDATE:return[];case xr.NUMBER:case xr.DECIMAL:case xr.INTEGER:case xr.FLOAT:return[Ui.AVERAGE,Ui.COUNT,Ui.SUM,Ui.MAX,Ui.MIN];default:return[]}}function qi(e){switch(e){case pi.AVERAGE:return Ui.AVERAGE;case pi.COUNT:return Ui.COUNT;case pi.MAX:return Ui.MAX;case pi.MIN:return Ui.MIN;case pi.SUM:return Ui.SUM;default:throw new S(`Unsupported aggregate function '${e}'`)}}function Ji(e,t){const n=e.data.sortColumns,o=bi(n,t);return o?{sort:o.direction===mi.ASCENDING?ji.ASCENDING:ji.DESCENDING,sortIndex:n.indexOf(o)}:{sort:null,sortIndex:null}}function zi(e,t){const n=e.data,o=bi(e.stageCols("aggregation"),t),r=bi(n.groupBy?.columns,t),a=bi(n.groupBy?.aggColumns,t);return{rowGroup:Boolean(r),aggFunc:a?qi(a.function):o&&[xr.NUMBER,xr.DECIMAL,xr.FLOAT,xr.INTEGER].includes(o.type)?Ui.SUM:null,allowedAggFuncs:o?Xi(o):[]}}class Qi extends $i{_client;clientDataSource;clientLicenseKey;isPaginationEnabled=!1;constructor(e){super(e),(0,be.Gn)(this,{clientDataSource:be.sH,clientLicenseKey:be.sH,setClientLicenseKey:be.XI,isPaginationEnabled:be.sH,setPaginationEnabled:be.XI}),this.clientDataSource=new Wi(this)}setClientLicenseKey(e){this.clientLicenseKey=e}setPaginationEnabled(e){this.isPaginationEnabled=e,this.isPaginationEnabled?this.clientDataSource=new Wi(this):(this.client.collapseAll(),this.client.refreshServerSide())}configureClient(e){this._client=e}get client(){return F(this._client,"Grid client is not configured")}async applySnapshot(e){const t=function(e){const t=e.data;return{columnDefs:[{headerName:"",colId:Di,cellRenderer:"agGroupCellRenderer",showRowGroup:!0,hide:!e.data.groupBy,lockPinned:!0,lockPosition:!0,cellStyle:{flex:1,"justify-content":"space-between",display:"flex"}},...t.selectColumns.map((t=>({headerName:t.name,field:t.name,flex:1,resizable:!0,minWidth:50,sortable:!0,enableRowGroup:!0,enableValue:!0,menuTabs:["generalMenuTab","columnsMenuTab"],...Ji(e,t.name),...zi(e,t.name)})))]}}(e);this.client.updateGridOptions(t)}async initialize(){this.setClientLicenseKey(await this.dataCube.replStore.client.getGridClientLicenseKey())}}class Zi{}class es{availableColumns=[];selectedColumns=[];availableColumnsSearchText="";selectedColumnsSearchText="";constructor(){(0,be.Gn)(this,{availableColumns:be.sH,selectedColumns:be.sH,availableColumnsSearchText:be.sH,selectedColumnsSearchText:be.sH,setAvailableColumns:be.XI,setSelectedColumns:be.XI,setSelectedColumnsSearchText:be.XI,setAvailableColumnsSearchText:be.XI})}setAvailableColumns(e){this.availableColumns=e.slice().sort(((e,t)=>e.name.localeCompare(t.name)))}setSelectedColumns(e){this.selectedColumns=e}setAvailableColumnsSearchText(e){this.availableColumnsSearchText=e}setSelectedColumnsSearchText(e){this.selectedColumnsSearchText=e}}class ts extends Zi{column;direction;constructor(e,t){super(),(0,be.Gn)(this,{direction:be.sH,setDirection:be.XI}),this.column=e,this.direction=t}get name(){return this.column.name}setDirection(e){this.direction=e}}class ns{dataCube;columnsSelector;constructor(e){this.dataCube=e,this.columnsSelector=new es}applySnaphot(e){const t=e.stageCols("sort"),n=e.data.sortColumns;this.columnsSelector.setAvailableColumns(t.filter((e=>!n.find((t=>t.name===e.name)))).map((e=>new ts(_i(t,e.name),mi.ASCENDING)))),this.columnsSelector.setSelectedColumns(n.map((e=>new ts(_i(t,e.name),e.direction))))}buildSnapshot(e,t){const n=this.columnsSelector.selectedColumns.map((e=>({name:e.column.name,type:e.column.type,direction:e.direction})));return!(0,mo.A)(n,t.data.sortColumns)&&(e.data.sortColumns=n,!0)}}class os{sourceId;startLine;startColumn;endLine;endColumn;constructor(e,t,n,o,r){this.sourceId=e,this.startLine=t,this.startColumn=n,this.endLine=o,this.endColumn=r}}!function(e){e.COMPILATION="COMPILATION",e.PARSER="PARSER"}(Gi||(Gi={}));class rs{message="";errorType;sourceInformation;static serialization=new ce((0,se.PL)(rs,{errorType:(0,se.lq)((0,se.MY)()),message:(0,se.MY)(),sourceInformation:ue(Kr.schema)}))}class as extends rs{static serialization=new ce((0,se.PL)(as,{errorType:(0,se.lq)((0,se.MY)()),message:(0,se.MY)(),sourceInformation:ue(Kr.schema)}))}class is extends y{sourceInformation}class ss extends is{}class cs{uuid=(0,a.A)();query;parserError;constructor(e){(0,be.Gn)(this,{query:be.sH,parserError:be.sH,setQuery:be.XI,setParserError:be.XI}),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:o,endLine:r,endColumn:a}=e;return new os(t,n+0,o-0,r+0,a-0)}}class us{dataCube;queryEditorState;currentSubQuery;constructor(e){(0,be.Gn)(this,{currentSubQuery:be.sH,queryEditorState:be.sH,setCurrentSubQuery:be.XI,parseQuery:be.L3}),this.dataCube=e,this.queryEditorState=new cs("")}setCurrentSubQuery(e){this.currentSubQuery=e}*parseQuery(){try{this.queryEditorState.setParserError(void 0),yield(0,be.gP)(this.dataCube.replStore.client.parseQuery({code:`|${this.queryEditorState.query}`}))}catch(e){if(I(e),e instanceof te&&e.response.status===X.BAD_REQUEST){const t=as.serialization.fromJson(e.payload),n=new ss(t.message);t.sourceInformation&&(n.sourceInformation=new os(t.sourceInformation.sourceId,t.sourceInformation.startLine,t.sourceInformation.startColumn,t.sourceInformation.endLine,t.sourceInformation.endColumn)),this.queryEditorState.setParserError(n)}}}}class ds{dataCube;name="";limit=-1;constructor(e){this.dataCube=e,(0,be.Gn)(this,{name:be.sH,setName:be.XI,limit:be.sH,setLimit:be.XI})}setName(e){this.name=e}setLimit(e){this.limit=Math.round(void 0===e||e<0?-1:e)}applySnaphot(e){this.setName(e.data.name),this.setLimit(e.data.limit)}buildSnapshot(e,t){const n=t.data;if(this.name!==n.name)return n.name=this.name,!0;if(void 0===n.limit){if(-1!==this.limit)return n.limit=this.limit,!0}else if(this.limit!==n.limit)return n.limit=this.limit,!0;return!1}}!function(e){e.COLUMNS="Columns",e.VERTICAL_PIVOTS="VPivots",e.HORIZONTAL_PIVOTS="HPivots",e.SORTS="Sorts",e.EXTENDED_COLUMNS="Extended Columns",e.FILTER="Filter",e.GENERAL_PROPERTIES="General Properties",e.COLUMN_PROPERTIES="Column Properties",e.CODE="Code"}(Hi||(Hi={}));class ls extends $i{sortsPanel;generalPropertiesPanel;codePanel;isPanelOpen=!1;currentTab=Hi.GENERAL_PROPERTIES;constructor(e){super(e),(0,be.Gn)(this,{applyChanges:be.XI,currentTab:be.sH,setCurrentTab:be.XI,isPanelOpen:be.sH,openPanel:be.XI,closePanel:be.XI}),this.sortsPanel=new ns(this.dataCube),this.generalPropertiesPanel=new ds(this.dataCube),this.codePanel=new us(this.dataCube)}openPanel(){this.isPanelOpen=!0}closePanel(){this.isPanelOpen=!1}setCurrentTab(e){this.currentTab=e}applyChanges(){const e=F(this.getLatestSnapshot()),t=e.clone();[this.sortsPanel.buildSnapshot(t,e),this.generalPropertiesPanel.buildSnapshot(t,e)].some(Boolean)&&this.publishSnapshot(t)}async applySnapshot(e){this.sortsPanel.applySnaphot(e),this.generalPropertiesPanel.applySnaphot(e)}async initialize(){}}!function(e){e.CLASS_BUILDER="classBuilder",e.TDS_BUILDER="tdsBuilder",e.JSON_BUILDER="json"}(Vi||(Vi={})),function(e){e.RELATIONAL="relational",e.RELATIONAL_EXECUTION_ACTIVITY="RelationalExecutionActivity",e.AGGREGATION_AWARE_ACTIVITY="aggregationAware"}(Yi||(Yi={})),function(e){e.CSV="CSV"}(Ki||(Ki={}));class ps{_type;constructor(e){this._type=e}}class gs{}class ms extends gs{sql;comment;constructor(e){super(),this.sql=e}}class fs extends gs{rewrittenQuery}class hs extends gs{values;constructor(e){super(),this.values=e}}class Es{builder;activities}class bs extends Es{values}class _s extends Es{value;constructor(e){super(),this.value=e}}class As{name;type;relationalType;doc}class Ts extends ps{columns=[];constructor(){super(Vi.TDS_BUILDER)}}class ys{values=[]}class Cs{columns=[];rows=[]}class Ss extends Es{_UUID=(0,a.A)();builder=new Ts;result=new Cs}class Ns extends ps{_type=Vi.CLASS_BUILDER}class Is extends Es{builder=new Ns(Vi.CLASS_BUILDER);objects}class vs{static builderSerialization=new ce((0,se.PL)(vs,{_type:(0,se.MY)()}))}class ks{}class Rs extends ks{sql;comment;static serialization=new ce((0,se.PL)(Rs,{sql:(0,se.MY)(),comment:(0,se.lq)((0,se.MY)())}))}class Os extends ks{rewrittenQuery;static serialization=new ce((0,se.PL)(Os,{rewrittenQuery:(0,se.MY)()}))}class Fs{builder;activities}class Ls extends ks{content;constructor(e){super(),this.content=e}}class ws extends Fs{values;static serialization=new ce((0,se.PL)(ws,{_type:(0,se.MY)(),builder:ue(vs.builderSerialization.schema),values:(0,se.lS)()}))}class Ps{name;doc;type;relationalType;static serialization=new ce((0,se.PL)(Ps,{name:(0,se.MY)(),doc:(0,se.lq)((0,se.MY)()),type:(0,se.lq)((0,se.MY)()),relationalType:(0,se.lq)((0,se.MY)())}))}class Bs extends vs{columns=[];static serialization=new ce((0,se.PL)(Bs,{_type:(0,se.MY)(),columns:(0,se.p_)(ue(Ps.serialization.schema))}))}function xs(e){switch(e._type){case Yi.RELATIONAL:case Yi.RELATIONAL_EXECUTION_ACTIVITY:return Rs.serialization.fromJson(e);case Yi.AGGREGATION_AWARE_ACTIVITY:return Os.serialization.fromJson(e);default:return new Ls(e)}}class Ds extends Fs{result;static serialization=new ce((0,se.PL)(Ds,{builder:ue(Bs.serialization.schema),activities:(0,se.p_)((0,se.Ie)((()=>se._Z),xs)),result:(0,se.lS)()}))}class Ms extends Fs{objects;static serialization=new ce((0,se.PL)(Ms,{builder:ue(vs.builderSerialization.schema),activities:(0,se.p_)((0,se.Ie)((()=>se._Z),xs)),objects:(0,se.lS)()}))}class js extends Fs{value;constructor(e){super(),this.value=e}}class Us extends Fs{content}class Gs extends Es{content}const Hs=e=>{if(e instanceof Rs){const t=new ms(e.sql);return t.comment=e.comment,t}if(e instanceof Os){const t=new fs;return t.rewrittenQuery=F(e.rewrittenQuery,"Aggregation aware execution activities 'rewritenQuery' field is missing"),t}if(e instanceof Ls)return new hs(e);throw new N("Can't build execution activities",e)},Vs=e=>{const t=new As;return t.name=F(e.name,"TDS column 'name' field is missing"),t.type=e.type,t.doc=e.doc,t.relationalType=e.relationalType,t},Ys=e=>{if(e instanceof Us){const t=new Gs;return t.content=e.content,t}if(e instanceof Ms)return(e=>{const t=new Is;return t.objects=F(e.objects,"Class execution result 'objects' field is missing"),t.activities=e.activities?.map(Hs),t})(e);if(e instanceof Ds)return(e=>{const t=new Ss;return t.builder=(e=>{const t=new Ts;return t.columns=e.columns.map(Vs),t})(F(e.builder,"TDS execution result 'builder' field is missing")),t.activities=e.activities?.map(Hs),t.result.columns=e.result.columns,t.result.rows=e.result.rows.map((e=>{const t=new ys;return t.values=e.values,t})),t})(e);if(e instanceof ws)return(e=>{const t=new bs;return t.values=F(e.values,"JSON execution result 'values' field is missing"),t})(e);if(e instanceof js)return new _s(e.value);throw new N("Can't build execution result",e)};class Ks{columns=[];query;runtime}class Ws{name;type;static serialization=new ce((0,se.PL)(Ws,{name:(0,se.MY)(),type:(0,se.MY)()}))}var $s;!function(e){e.REPL_EXECUTED_QUERY="REPLExecutedQuery"}($s||($s={}));class Xs extends Ks{static serialization=new ce((0,se.PL)(Xs,{_type:de($s.REPL_EXECUTED_QUERY),columns:(0,se.p_)(ue(Ws.serialization.schema)),query:(0,se.MY)(),runtime:(0,se.MY)()}))}function qs(e){if(e._type===$s.REPL_EXECUTED_QUERY)return(0,se.iu)(Xs.serialization.schema,e);throw new N(`Can't deserialize data cube query source of type '${e._type}'`)}function Js(e){if(e instanceof Xs)return(0,se.lK)(Xs.serialization.schema,e);throw new N("Can't serialize data cube query source",e)}class zs{name;query;partialQuery;source;configuration;constructor(e,t,n){this.name=e,this.query=t,this.configuration=n}static serialization=new ce((0,se.PL)(zs,{configuration:(0,se.lS)(),name:(0,se.MY)(),partialQuery:(0,se.MY)(),query:(0,se.MY)(),source:(0,se.Ie)(Js,qs)}))}class Qs{query;pretty;static serialization=new ce((0,se.PL)(Qs,{pretty:(0,se.lq)((0,se.MY)()),query:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[])))}))}class Zs{query;static serialization=new ce((0,se.PL)(Zs,{query:ue(fa([]))}))}class ec{query;static serialization=new ce((0,se.PL)(ec,{query:ue(fa([]))}))}class tc{query;timestamp;partialQuery;sourceQuery;static serialization=new ce((0,se.PL)(tc,{partialQuery:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[]))),query:ue(zs.serialization.schema),sourceQuery:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[]))),timestamp:(0,se.MY)()}))}class nc{client;constructor(e){this.client=e}async getGridClientLicenseKey(){return this.client.getGridClientLicenseKey()}async getQueryTypeahead(e,t){return await this.client.getQueryTypeahead({code:e,isPartial:t})}async parseQuery(e,t){return si(await this.client.parseQuery({code:e,returnSourceInformation:t}),[])}async getBaseQuery(){return tc.serialization.fromJson(await this.client.getBaseQuery())}async executeQuery(e){const t=await this.client.executeQuery({query:ci(e,[])});return w(Ys((e=>{if(null===e||x(e)||D(e)||M(e))return new js(e);switch(e.builder?._type){case Vi.CLASS_BUILDER:return Ms.serialization.fromJson(e);case Vi.TDS_BUILDER:return Ds.serialization.fromJson(e);case Vi.JSON_BUILDER:return ws.serialization.fromJson(e);default:{const t=new Us;return t.content=e,t}}})(JSON.parse(t.result))),Ss)}}class oc{dataCube;subscribers=[];snapshots=[];_initialSnapshot;_initialQuery;constructor(e){this.dataCube=e}get currentSnapshot(){return F(this.snapshots[this.snapshots.length-1])}registerSubscriber(e){this.subscribers.push(e)}initialize(e,t){if(this._initialSnapshot||this._initialQuery)throw new S("Snapshot manager has already been initialized");this._initialSnapshot=e,this._initialQuery=t}get initialSnapshot(){return F(this._initialSnapshot,"Snapshot manager has not been initialized")}get initialQuery(){return F(this._initialQuery,"Snapshot manager has not been initialized")}broadcastSnapshot(e){this.snapshots.push(e),this.subscribers.forEach((t=>{const n=t.getLatestSnapshot();n?.uuid!==e.uuid&&t.receiveSnapshot(e).catch((e=>{I(e),this.dataCube.application.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Subscribers receiving and applying new snapshot should be handled gracefully",e)}))}))}}class rc extends $i{baseQuery;name="New Report";startTime;constructor(e){super(e),(0,be.Gn)(this,{name:be.sH,setName:be.XI})}setName(e){this.name=e}async applySnapshot(e){const t=e.data;this.setName(t.name),this.startTime||(this.startTime=e.timestamp),this.application.layoutService.setWindowTitle(`▦ ${t.name}${this.startTime?` - ${(0,Pn.GP)(new Date(this.startTime),"HH:mm:ss EEE MMM dd yyyy")}`:""}`)}async initialize(){}}function ac(e,t,n){return B(e.parameters.length>=t+1,`Can't process ${di(e.function)}: Expected at least ${t+1} parameter(s)`),w(e.parameters[t],n,`Can't process ${di(e.function)}: Found unexpected type for parameter at index ${t}`)}const ic=[{func:hi.EXTEND,parameters:1},{func:hi.FILTER,parameters:1},{func:hi.GROUP_BY,parameters:3},{func:hi.LIMIT,parameters:1},{func:hi.PIVOT,parameters:3},{func:hi.SELECT,parameters:1},{func:hi.SORT,parameters:1},{func:hi.CAST,parameters:1}],sc=[{func:hi.EXTEND},{func:hi.FILTER},{func:hi.GROUP_BY},{func:hi.PIVOT},{func:hi.CAST},{func:hi.EXTEND},{func:hi.SELECT},{func:hi.SORT},{func:hi.LIMIT}],cc=new RegExp(`^${sc.map((e=>`(?:<${di(e.func)}>)${e.repeat?"*":e.required?"":"?"}`)).join("")}$`);class uc{replStore;application;engine;snapshotManager;core;grid;editor;initState=_e.create();constructor(e){this.replStore=e,this.application=e.applicationStore,this.engine=new nc(this.replStore.client),this.snapshotManager=new oc(this),this.core=new rc(this),this.grid=new Qi(this),this.editor=new ls(this)}async initialize(){this.initState.inProgress();try{await Promise.all([this.core,this.editor,this.grid].map((async e=>{this.snapshotManager.registerSubscriber(e),await e.initialize()})));const e=await this.engine.getBaseQuery(),t=function(e,t,n){const o=function(e){let t,n;const o=e.findLastIndex((e=>li(e.function,[hi.PIVOT,hi.GROUP_BY]))),r=e.findIndex((e=>li(e.function,hi.EXTEND))),a=e.findLastIndex((e=>li(e.function,hi.EXTEND)));-1!==o?r!==a&&(t=e[r],n=e[a]):-1!==r&&(t=e[r]);const i=e.find((e=>li(e.function,hi.FILTER))),s=e.find((e=>li(e.function,hi.GROUP_BY))),c=e.find((e=>li(e.function,hi.SELECT)));return{leafExtend:t,filter:i,groupBy:s,pivot:e.find((e=>li(e.function,hi.PIVOT))),pivotCast:e.find((e=>li(e.function,hi.CAST))),groupExtend:n,select:c,sort:e.find((e=>li(e.function,hi.SORT))),limit:e.find((e=>li(e.function,hi.LIMIT)))}}(function(e){if(!(e instanceof ir))throw new Error("Query must be a sequence of function calls (e.g. x()->y()->z())");const t=[];let n=e;for(;n instanceof ir;){const e=ic.find((e=>li(n.function,e.func)));if(!e)throw new Error(`Found unsupported function ${n.function}()`);if(!(n.parameters.length>e.parameters)){t.unshift(n);break}{const e=n.parameters[0];if(!(e instanceof ir))throw new Error("Query must be a sequence of function calls (e.g. x()->y()->z())");n.parameters=n.parameters.slice(1),t.unshift(n),n=e}}if(!t.map((e=>`<${di(e.function)}>`)).join("").match(cc))throw new Error(`Unsupported function composition ${t.map((e=>`${di(e.function)}()`)).join("->")} (supported composition: ${sc.map((e=>`${di(e.func)}()`)).join("->")})`);const o=t.findIndex((e=>li(e.function,hi.EXTEND))),r=t.findLastIndex((e=>li(e.function,hi.EXTEND)));if(-1!==o&&o!==r&&!t.slice(o+1,r).some((e=>li(e.function,hi.GROUP_BY)||li(e.function,hi.PIVOT))))throw new Error("Found invalid usage of group-level extend() for query without aggregation such as pivot() and groupBy()");const a=t.find((e=>li(e.function,hi.PIVOT))),i=t.find((e=>li(e.function,hi.CAST)));if(Boolean(a)!==Boolean(i))throw new Error("Found usage of dynamic function pivot() without casting");return t}(e)),r=Ei.create(n.name,n.source.runtime,ci(t,[]),n.configuration),a=r.data,i=new Map,s=e=>F(i.get(e.name));var c;if(a.originalColumns=n.source.columns,a.originalColumns.map((e=>i.set(e.name,e))),o.sort&&(a.sortColumns=ac(o.sort,0,sr).values.map((e=>{const t=function(e,t){return L(e,ir,"Can't process function: Found unexpected value specification type"),B(li(e.function,Array.isArray(t)?t:[t]),`Can't process function: Expected function name to be one of [${Array.isArray(t)?t.join(", "):t}]`),e}(e,[hi.ASC,hi.DESC]);return{...s((n=t,w(ac(n,0,ca).value,wr,`Can't process ${di(n.function)}: Expected parameter at index 0 to be a column specification`))),direction:di(t.function)===hi.ASC?mi.ASCENDING:mi.DESCENDING};var n}))),o.select&&(a.selectColumns=(c=o.select,w(ac(c,0,ca).value,Lr,`Can't process ${di(c.function)}: Expected parameter at index 0 to be a column specification list`)).colSpecs.map((e=>({...s(e)})))),o.limit){const e=o.limit.parameters[0];L(e,dr),a.limit=e.value}return r}(e.partialQuery,e.sourceQuery,e.query);t.timestamp=e.timestamp,this.snapshotManager.broadcastSnapshot(t),this.initState.complete()}catch(e){I(e),this.application.notificationService.notifyError(e),this.initState.fail()}}}class dc{applicationStore;client;dataCubeState;constructor(e){(0,be.Gn)(this,{dataCubeState:be.sH}),this.applicationStore=e,this.client=new Yo(new re({baseUrl:this.applicationStore.config.useDynamicREPLServer?window.location.origin+this.applicationStore.config.baseAddress.replace("/repl/",""):this.applicationStore.config.replUrl})),this.dataCubeState=new uc(this)}}const lc=(0,Ct.createContext)(void 0),pc=({children:e})=>{const t=Nt(),n=(0,ut.iz)((()=>new dc(t)));return(0,E.jsx)(lc.Provider,{value:n,children:e})},gc=()=>F((0,Ct.useContext)(lc),"Can't find REPL store in context");var mc=n(1697),fc=n(1810),hc=n(5866),Ec=n(6450),bc=n(1747),_c=n(602),Ac=n(5314),Tc=n(5236),yc=n(9787);const Cc={ChevronLeft:yc.h$A,ChevronRight:yc.klJ,Code:yc.sAL,Cube:yc.keA,Documentation:yc.KHb,Note:yc.Jb_,Pin:xt.Cxm,Search:yc.PuI,Table:yc.ZIs,TableColumn:yc.QKp,TableColumnOptions__Settings:yc.uRn,TableColumns:yc.N9Z,TableExtendedColumn:yc.w28,TableFilter:yc.XPy,TableFilterPlus:yc.VmB,TableFilterCode:yc.awR,TableGroupBy:yc.PAn,TableOptions:yc.v$W,TablePagination:Ac.Hs5,TablePivot:yc.ba8,TablePlus:yc.ZQn,TableRemoveColumn:yc.F6Q,TableRow:yc.wV0,TableRowColumn:yc.QE3,TableScroll:Tc.cfM,TableSort:yc.r9t,Window:xt.PV7,X:xt.D9N};var Sc=n(545),Nc=n(9073);function Ic(...e){return(0,Nc.QP)((0,gt.$)(e))}const vc=console.error;console.error=(e,...t)=>{console.log(`%c ${e}`,"color: silver")};const kc=(0,ut.PA)((()=>{const e=gc().dataCubeState.grid,[t,n]=(0,Ct.useState)("");return(0,Ct.useEffect)((()=>{e.clientLicenseKey&&mc.h.setLicenseKey(e.clientLicenseKey)}),[e.clientLicenseKey]),(0,E.jsxs)("div",{className:"data-cube-grid flex-1",children:[(0,E.jsx)("div",{className:"h-[calc(100%_-_20px)] w-full",children:(0,E.jsx)(_c.W6,{className:"ag-theme-balham",modules:[fc.Q,hc.e,Ec.mZ,bc.M],onGridReady:t=>{e.configureClient(t.api),console.error=vc},rowGroupPanelShow:"always",suppressScrollOnNewData:!0,groupDisplayType:"custom",suppressRowGroupHidesColumns:!0,rowModelType:"serverSide",serverSideDatasource:e.clientDataSource,suppressBrowserResizeObserver:!0,animateRows:!1,rowBuffer:50,rowHeight:20,headerHeight:24,alwaysMultiSort:!0,suppressAggFuncInHeader:!0,onBodyScroll:e=>{const t=e.api.getDisplayedRowCount(),o=e.api.getVerticalPixelRange(),r=Math.max(1,Math.ceil(o.top/20)+1),a=Math.min(t,Math.floor(o.bottom/20));n(`${r}-${a}/${t}`)},onBodyScrollEnd:()=>n("")})}),(0,E.jsxs)("div",{className:"relative flex h-5 w-full justify-between border-b border-b-neutral-200 bg-neutral-100",children:[Boolean(t)&&(0,E.jsxs)("div",{className:"absolute -top-8 right-4 flex items-center rounded-sm border border-neutral-300 bg-neutral-100 p-1 pr-2 text-neutral-500 shadow-sm",children:[(0,E.jsx)(Cc.TableScroll,{className:"text-lg"}),(0,E.jsx)("div",{className:"ml-1 font-mono text-sm",children:t})]}),(0,E.jsx)("div",{}),(0,E.jsxs)("div",{className:"flex items-center",children:[(0,E.jsx)("div",{className:"select-none p-2 font-mono text-sm text-neutral-500",children:e.clientDataSource.rowCount?`(${e.clientDataSource.rowCount} rows)`:""}),(0,E.jsx)("div",{className:"h-3 w-[1px] bg-neutral-200"}),(0,E.jsxs)("button",{className:"flex h-full items-center p-2",onClick:()=>e.setPaginationEnabled(!e.isPaginationEnabled),children:[(0,E.jsx)(Sc.A,{checked:e.isPaginationEnabled,classes:{root:"p-0 w-6 h-5 flex items-center",input:"w-2",checked:"!translate-x-2 ease-in-out duration-100 transition",thumb:Ic("w-2 h-2",{"bg-sky-600":e.isPaginationEnabled,"bg-neutral-500":!e.isPaginationEnabled}),switchBase:"p-0.5 mt-1 translate-x-0 ease-in-out duration-100 transition",track:Ic("h-3 w-5 border",{"!bg-sky-100 border-sky-600":e.isPaginationEnabled,"!bg-neutral-100 border-neutral-500":!e.isPaginationEnabled})},disableRipple:!0,disableFocusRipple:!0}),(0,E.jsx)("div",{className:Ic("text-sm",{"text-sky-600":e.isPaginationEnabled,"text-neutral-500":!e.isPaginationEnabled}),children:"Pagination"})]})]})]})]})}));var Rc=n(3213);function Oc(){return{modules:[fc.Q],className:"ag-theme-balham",animateRows:!1,getRowId:e=>e.data.name,editType:"fullRow",rowSelection:"multiple",rowDragMultiRow:!0,rowDragEntireRow:!0,suppressRowClickSelection:!1,suppressMoveWhenRowDragging:!0,rowHeight:20,headerHeight:20,suppressRowHoverHighlight:!1,reactiveCustomComponents:!0,noRowsOverlayComponent:()=>(0,E.jsx)("div",{})}}const Fc=(0,ut.PA)((function(e){const{selector:t}=e,[n,o]=(0,Ct.useState)([]),[r,a]=(0,Ct.useState)([]),[i,s]=(0,Ct.useState)(null),[c,u]=(0,Ct.useState)(null),d=(0,Ct.useCallback)((e=>{const n=[];e.api.forEachNode((e=>{e.data&&n.push(e.data)})),t.setSelectedColumns(n),t.setAvailableColumns(t.availableColumns.filter((e=>!n.includes(e))))}),[t]),l=(0,Ct.useCallback)((e=>{const n=e.nodes.map((e=>e.data)).filter(R);t.setAvailableColumns([...t.availableColumns,...n]),t.setSelectedColumns(t.selectedColumns.filter((e=>!n.includes(e))))}),[t]),p=(0,Ct.useCallback)((e=>{if(-1===e.overIndex)return;const n=[];e.api.forEachNode((e=>{e.data&&n.push(e.data)})),t.setSelectedColumns(n)}),[t]);return(0,Ct.useEffect)((()=>{if(!i||!c)return;const e=c.getRowDropZoneParams({onDragStop:e=>{d(e),i.clearFocusedCell()}});i.removeRowDropZone(e),i.addRowDropZone(e);const t=i.getRowDropZoneParams({onDragStop:e=>{l(e),c.clearFocusedCell()}});c.removeRowDropZone(t),c.addRowDropZone(t)}),[i,c,d,l]),(0,E.jsxs)("div",{className:"flex h-full w-full",children:[(0,E.jsxs)("div",{className:"h-full w-[calc(50%_-_20px)]",children:[(0,E.jsx)("div",{className:"flex h-5 items-center text-sm",children:"Available columns:"}),(0,E.jsxs)("div",{className:"h-[calc(100%_-_20px)] rounded-sm border border-neutral-200",children:[(0,E.jsxs)("div",{className:"relative h-6 border-b border-neutral-200",children:[(0,E.jsx)("input",{className:"h-full w-full pl-10 placeholder-neutral-400",placeholder:"Click here to search..."}),(0,E.jsx)("div",{className:"absolute left-0 top-0 flex h-6 w-10 items-center justify-center",children:(0,E.jsx)(Cc.Search,{className:"stroke-[3px] text-lg text-neutral-500"})})]}),(0,E.jsx)("div",{className:"h-[calc(100%_-_24px)]",children:(0,E.jsx)(_c.W6,{...Oc(),rowDragManaged:!1,onGridReady:e=>s(e.api),rowData:t.availableColumns,onSelectionChanged:e=>{o(e.api.getSelectedNodes().map((e=>e.data)).filter(R))},columnDefs:[{field:"name",flex:1,minWidth:100,filter:!0,sortable:!1,resizable:!1,suppressHeaderMenuButton:!0,colId:"checkbox",checkboxSelection:!0,headerCheckboxSelection:!0,rowDrag:!0,rowDragText:(e,t)=>t>1?`${t} columns`:(e.rowNode?.data).name,headerComponent:e=>(0,E.jsx)("div",{title:"Double-click to add all columns",className:"flex h-full w-full cursor-pointer items-center pl-0.5",onDoubleClick:()=>{t.setSelectedColumns([...t.selectedColumns,...t.availableColumns]),t.setAvailableColumns([]),e.api.clearFocusedCell()},children:"[All Columns]"}),cellRenderer:e=>{const n=e.data;return n?(0,E.jsx)("div",{className:"h-full w-full cursor-pointer pl-2",title:`[${n.name}]\nDouble-click to add column`,onDoubleClick:()=>{t.setSelectedColumns([...t.selectedColumns,n]),t.setAvailableColumns(t.availableColumns.filter((e=>e!==n))),e.api.clearFocusedCell()},children:n.name}):null}}]})})]})]}),(0,E.jsx)("div",{className:"flex h-full w-10 items-center justify-center",children:(0,E.jsxs)("div",{className:"flex flex-col",children:[(0,E.jsx)("button",{className:"flex cursor-pointer items-center justify-center rounded-sm border border-neutral-300 bg-neutral-100 text-neutral-500 hover:bg-neutral-200 disabled:cursor-not-allowed disabled:bg-neutral-200 disabled:text-neutral-400",title:"Add selected columns",onClick:()=>{t.setSelectedColumns([...t.selectedColumns,...n]),t.setAvailableColumns(t.availableColumns.filter((e=>!n.includes(e)))),i?.clearFocusedCell()},disabled:0===n.length,children:(0,E.jsx)(Cc.ChevronRight,{className:"text-2xl"})}),(0,E.jsx)("button",{className:"mt-2 flex cursor-pointer items-center justify-center rounded-sm border border-neutral-300 bg-neutral-100 text-neutral-500 hover:bg-neutral-200 disabled:cursor-not-allowed disabled:bg-neutral-200 disabled:text-neutral-400",title:"Remove selected columns",onClick:()=>{t.setAvailableColumns([...t.availableColumns,...r]),t.setSelectedColumns(t.selectedColumns.filter((e=>!r.includes(e)))),c?.clearFocusedCell()},disabled:0===r.length,children:(0,E.jsx)(Cc.ChevronLeft,{className:"text-2xl"})})]})}),(0,E.jsxs)("div",{className:"h-full w-[calc(50%_-_20px)]",children:[(0,E.jsx)("div",{className:"flex h-5 items-center text-sm",children:"Selected columns:"}),(0,E.jsxs)("div",{className:"h-[calc(100%_-_20px)] rounded-sm border border-neutral-200",children:[(0,E.jsxs)("div",{className:"relative h-6 border-b border-neutral-200",children:[(0,E.jsx)("input",{className:"h-full w-full pl-10 placeholder-neutral-400",placeholder:"Click here to search..."}),(0,E.jsx)("div",{className:"absolute left-0 top-0 flex h-6 w-10 items-center justify-center",children:(0,E.jsx)(Cc.Search,{className:"stroke-[3px] text-lg text-neutral-500"})})]}),(0,E.jsx)("div",{className:"h-[calc(100%_-_24px)]",children:(0,E.jsx)(_c.W6,{...Oc(),rowDragManaged:!0,onRowDragEnd:p,onGridReady:e=>u(e.api),onSelectionChanged:e=>{a(e.api.getSelectedNodes().map((e=>e.data)).filter(R))},rowData:t.selectedColumns,columnDefs:[{field:"name",flex:1,minWidth:100,filter:!0,sortable:!1,resizable:!1,suppressHeaderMenuButton:!0,colId:"checkbox",checkboxSelection:!0,headerCheckboxSelection:!0,rowDrag:!0,rowDragText:(e,t)=>t>1?`${t} columns`:(e.rowNode?.data).name,headerComponent:e=>(0,E.jsx)("div",{title:"Double-click to remove all columns",className:"flex h-full w-full cursor-pointer items-center pl-0.5",onDoubleClick:()=>{t.setAvailableColumns([...t.availableColumns,...t.selectedColumns]),t.setSelectedColumns([]),e.api.clearFocusedCell()},children:"[All Columns]"}),cellRenderer:e=>{const n=e.data;return n?(0,E.jsx)("div",{className:"h-full w-full cursor-pointer pl-2",title:`[${n.name}]\nDouble-click to remove column`,onDoubleClick:()=>{t.setAvailableColumns([...t.availableColumns,n]),t.setSelectedColumns(t.selectedColumns.filter((e=>e!==n))),e.api.clearFocusedCell()},children:n.name}):null}}]})})]})]})]})})),Lc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableSort,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Sorts"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full",children:(0,E.jsx)(Fc,{selector:e.columnsSelector})})]})})),wc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.generalPropertiesPanel;return(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableOptions,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"General Properties"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full p-4"}),(0,E.jsxs)("div",{className:"flex h-6 w-full items-center",children:[(0,E.jsx)("div",{className:"flex h-full w-32 items-center",children:"Report Title:"}),(0,E.jsx)("input",{className:"h-full w-full border border-neutral-300 px-2 text-lg font-semibold focus:outline-none",value:e.name,onChange:t=>{e.setName(t.target.value)}})]})]})})),Pc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableColumns,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Columns"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Bc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableGroupBy,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Vertical Pivots"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),xc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TablePivot,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Horizontal Pivots"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Dc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableFilter,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Filter"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Mc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TablePlus,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Extended Columns"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),jc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.Code,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Code"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Uc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsxs)("div",{className:"relative flex h-6 items-center text-xl font-medium",children:[(0,E.jsx)(Cc.TableColumn,{}),(0,E.jsx)(Cc.TableColumnOptions__Settings,{className:"absolute bottom-1 right-0 bg-white text-xs"})]}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Column Properties"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Gc="data-cube__editor__header",Hc=(0,ut.PA)((e=>{const{containerRef:t}=e,[n,o]=(0,Ct.useState)({x:50,y:50,width:800,height:600}),r=gc().dataCubeState.editor,a=r.currentTab,i=[Hi.COLUMNS,Hi.VERTICAL_PIVOTS,Hi.HORIZONTAL_PIVOTS,Hi.EXTENDED_COLUMNS,Hi.FILTER,Hi.SORTS,Hi.GENERAL_PROPERTIES,Hi.COLUMN_PROPERTIES,Hi.CODE];return(0,Ct.useEffect)((()=>{if(t.current){const{width:e,height:n}=t.current.getBoundingClientRect();o({x:50,y:50,width:900>e?e-100:800,height:700>n?n-100:600})}}),[t]),(0,E.jsx)(Rc.p,{className:"absolute z-10",handle:`.${Gc}`,position:{x:n.x,y:n.y},size:{width:n.width,height:n.height},minWidth:300,minHeight:300,onDragStop:(e,t)=>{o({...n,x:t.x,y:t.y})},dragHandleClassName:Gc,onResize:(e,t,n,r,a)=>{o({...a,width:n.offsetWidth,height:n.offsetHeight})},enableResizing:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},resizeHandleStyles:{top:{cursor:"ns-resize"},right:{cursor:"ew-resize"},bottom:{cursor:"ns-resize"},left:{cursor:"ew-resize"},topRight:{cursor:"nesw-resize",width:14,height:14,top:-7,right:-7},bottomRight:{cursor:"nwse-resize",width:14,height:14,bottom:-7,right:-7},bottomLeft:{cursor:"nesw-resize",width:14,height:14,bottom:-7,left:-7},topLeft:{cursor:"nwse-resize",width:14,height:14,top:-7,left:-7}},children:(0,E.jsxs)("div",{className:"h-full w-full border border-neutral-400 bg-neutral-200 shadow-xl",children:[(0,E.jsxs)("div",{className:Ic(Gc,"flex h-6 w-full select-none items-center justify-between border-b border-b-neutral-300 bg-white active:cursor-move"),children:[(0,E.jsx)("div",{className:"px-2",children:"Properties"}),(0,E.jsx)("button",{className:"flex h-[23px] w-6 items-center justify-center hover:bg-red-500 hover:text-white",onClick:()=>r.closePanel(),children:(0,E.jsx)(Cc.X,{})})]}),(0,E.jsxs)("div",{className:"relative h-[calc(100%_-_64px)] flex-1 px-2 pt-8",children:[(0,E.jsx)("div",{className:"absolute top-0 flex h-9 w-[calc(100%_-_16px)] min-w-[400px] overflow-auto px-0.5 pt-2",children:i.map((e=>(0,E.jsx)("button",{onClick:()=>r.setCurrentTab(e),className:Ic("relative flex h-6 items-center justify-center whitespace-nowrap border border-b-0 border-l-0 border-neutral-300 px-2 first:border-l focus:z-10",{"-top-0.5 h-[27px] border-b-0 bg-white":e===a}),children:e},e)))}),(0,E.jsxs)("div",{className:"h-full w-full overflow-auto border border-neutral-300 bg-white",children:[a===Hi.COLUMNS&&(0,E.jsx)(Pc,{}),a===Hi.SORTS&&(0,E.jsx)(Lc,{}),a===Hi.VERTICAL_PIVOTS&&(0,E.jsx)(Bc,{}),a===Hi.HORIZONTAL_PIVOTS&&(0,E.jsx)(xc,{}),a===Hi.EXTENDED_COLUMNS&&(0,E.jsx)(Mc,{}),a===Hi.FILTER&&(0,E.jsx)(Dc,{}),a===Hi.GENERAL_PROPERTIES&&(0,E.jsx)(wc,{}),a===Hi.COLUMN_PROPERTIES&&(0,E.jsx)(Uc,{}),a===Hi.CODE&&(0,E.jsx)(jc,{})]})]}),(0,E.jsxs)("div",{className:"flex h-10 items-center justify-end px-2",children:[(0,E.jsx)("button",{className:"h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>{r.applyChanges(),r.closePanel()},children:"OK"}),(0,E.jsx)("button",{className:"ml-2 h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>r.closePanel(),children:"Cancel"}),(0,E.jsx)("button",{className:"ml-2 h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>r.applyChanges(),children:"Apply"})]})]})})})),Vc=(0,ut.PA)((()=>{const e=gc().dataCubeState;return(0,E.jsxs)("div",{className:"flex h-5 w-full bg-neutral-100",children:[(0,E.jsx)("button",{className:"pl-2",children:(0,E.jsx)(Cc.Documentation,{className:"text-xl text-sky-600"})}),(0,E.jsx)("button",{className:"flex w-1/2 items-center px-2 text-sky-600 underline",onClick:()=>e.editor.openPanel(),children:"Pivot"}),(0,E.jsx)("button",{className:"flex w-1/2 items-center px-2 text-sky-600 underline",children:"Filter"})]})})),Yc=(0,ut.PA)((()=>{const e=gc().dataCubeState;return(0,E.jsx)("div",{className:"flex h-6 justify-between bg-neutral-100",children:(0,E.jsxs)("div",{className:"flex select-none items-center pl-1 pr-2 text-lg font-medium",children:[(0,E.jsx)(Cc.Cube,{className:"mr-1 h-4 w-4"}),(0,E.jsx)("div",{children:e.editor.generalPropertiesPanel.name})]})})})),Kc=(0,ut.PA)((()=>{const e=gc(),t=(0,Ct.useRef)(null),n=Nt(),o=e.dataCubeState;return(0,Ct.useEffect)((()=>{o.initialize().catch(n.logUnhandledError)}),[o,n]),(0,E.jsxs)("div",{ref:t,className:"data-cube relative flex h-full w-full flex-col bg-white",children:[(0,E.jsx)(Yc,{}),(0,E.jsx)(kc,{}),(0,E.jsx)(Vc,{}),o.editor.isPanelOpen&&(0,E.jsx)(Hc,{containerRef:t})]})})),Wc=(0,ut.PA)((e=>{const{children:t}=e,n=F((0,Ct.useContext)(Go),"Can't find application platform in context"),o=Nt();return(0,Ct.useEffect)((()=>{o.initialize(n).catch(o.alertUnhandledError)}),[o,n]),o.initState.hasSucceeded?(0,E.jsx)(Vn,{children:t}):(0,E.jsx)(E.Fragment,{})}));class $c{applicationStore;pluginManager;constructor(e){this.applicationStore=e,this.pluginManager=e.pluginManager}}const Xc=(0,Ct.createContext)(void 0),qc=({children:e})=>{const t=Nt(),n=(0,ut.iz)((()=>new $c(t)));return(0,E.jsx)(Xc.Provider,{value:n,children:e})},Jc=({children:e})=>(0,E.jsx)(Wc,{children:(0,E.jsx)(qc,{children:e})}),zc=Object.freeze({DATA_CUBE:"/dataCube"}),Qc=(Zc=(0,ut.PA)((()=>(0,E.jsx)("div",{className:"app",children:(0,E.jsx)(xo.dO,{children:(0,E.jsx)(xo.qh,{exact:!0,path:[zc.DATA_CUBE],component:Kc})})}))),function(){return(0,E.jsx)(pc,{children:(0,E.jsx)(Zc,{})})});var Zc;const eu=e=>{const{baseUrl:t}=e;return(0,E.jsx)(Vo,{baseUrl:t,children:(0,E.jsx)(Jc,{children:(0,E.jsx)(Qc,{})})})},tu=JSON.parse('{"rE":"0.0.29","XO":{"F":"@finos/legend-application-repl-plugin-core"}}');class nu extends Ro{_$nominalTypeBrand;install(e){e.registerApplicationPlugin(this)}}var ou,ru=n(7441);!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"}(ou||(ou={}));const au=(e,t,n,o)=>{const r=(e=>{const t=[];e.tokenColors.forEach((e=>{if(!e.settings)return;let n=[];n=x(e.scope)?e.scope.replace(/^[,]+/,"").replace(/[,]+$/,"").split(",").map((e=>e.trim())):Array.isArray(e.scope)?e.scope:[""];const o={};e.settings.foreground&&x(e.settings.foreground)&&(o.foreground=e.settings.foreground),e.settings.background&&x(e.settings.background)&&(o.background=e.settings.background),e.settings.fontStyle&&x(e.settings.fontStyle)&&(o.fontStyle=e.settings.fontStyle),n.forEach((e=>{if(R(e)||!Object.keys(o).length)return;const n={...o,token:e};t.push(n)}))}));const n={};return Object.entries(e.colors).forEach((([e,t])=>{var o;Array.isArray(t)?t.length&&(n[e]=(B(0<(o=t).length,"Index out of bound: 0"),F(o[0],void 0))):n[e]=t})),{base:"vs-dark",inherit:!0,rules:t,colors:n}})(e);return{...r,base:t,colors:{...r.colors,...n},rules:[...r.rules,...o]}},iu=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}'),su=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"}}]}'),cu=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"}}]}'),uu=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"}}'),du=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"}}'),lu=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"}}'),pu=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"}}'),gu=[{token:ou.IDENTIFIER,foreground:"dcdcaa"},{token:ou.NUMBER,foreground:"b5cea8"},{token:ou.DATE,foreground:"b5cea8"},{token:ou.COLOR,foreground:"b5cea8"},{token:ou.PACKAGE,foreground:"808080"},{token:ou.PARSER,foreground:"c586c0"},{token:ou.LANGUAGE_STRUCT,foreground:"c586c0"},{token:ou.MULTIPLICITY,foreground:"2d796b"},{token:ou.GENERICS,foreground:"2d796b"},{token:ou.PROPERTY,foreground:"9cdcfe"},{token:ou.PARAMETER,foreground:"9cdcfe"},{token:ou.VARIABLE,foreground:"4fc1ff"},{token:ou.TYPE,foreground:"3dc9b0"},{token:`${ou.STRING}.escape`,foreground:"d7ba7d"}];var mu;!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"}(mu||(mu={}));const fu={base:"vs-dark",inherit:!0,colors:{},rules:[...gu,{token:"string.sql",foreground:"ce9178"},{token:"white.sql",foreground:"d4d4d4"},{token:"identifier.sql",foreground:"d4d4d4"},{token:"operator.sql",foreground:"d4d4d4"}]},hu=au(iu,mu.BUILT_IN__VSCODE_DARK,{},[]),Eu=au(su,mu.BUILT_IN__VSCODE_DARK,{},[]),bu=au(cu,mu.BUILT_IN__VSCODE_DARK,{},[]),_u=au(uu,mu.BUILT_IN__VSCODE_DARK,{},[]),Au=au(du,mu.BUILT_IN__VSCODE_DARK,{},[]),Tu=au(lu,mu.BUILT_IN__VSCODE_DARK,{},[]),yu=au(pu,mu.BUILT_IN__VSCODE_DARK,{},[]);var Cu,Su,Nu,Iu;!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"}(Cu||(Cu={})),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"}(Su||(Su={})),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"}(Nu||(Nu={})),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"}(Iu||(Iu={}));const vu={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 ku extends nu{static NAME=tu.XO.F;constructor(){super(ku.NAME,tu.rE)}getExtraApplicationSetups(){return[async e=>{var t,n;await(async e=>{const t=`Monospaced font '${Ge}' has not been loaded properly, code editor might not display properly`;await Promise.all([400,700].map((e=>document.fonts.load(`${e} 1em ${Ge}`)))).then((()=>{document.fonts.check(`1em ${Ge}`)?ru.editor.remeasureFonts():e.logService.error(u.create(ie.APPLICATION_SETUP__FAILURE),t)})).catch((()=>e.logService.error(u.create(ie.APPLICATION_SETUP__FAILURE),t)));const n="legend.code-editor.override-default-keybinding";ru.editor.registerCommand(n,((t,...n)=>{e.keyboardShortcutsService.dispatch(n[0])}));const o=[[ru.KeyCode.F1,"F1"],[ru.KeyCode.F8,"F8"],[ru.KeyCode.F9,"F9"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyG,"Control+KeyG"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyB,"Control+KeyB"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyO,"Control+KeyO"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyD,"Control+KeyD"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyP,"Control+KeyP"],[ru.KeyMod.Shift|ru.KeyCode.F10,"Shift+F10"],[ru.KeyMod.WinCtrl|ru.KeyCode.F2,"Control+F2"],[ru.KeyMod.WinCtrl|ru.KeyCode.F12,"Control+F12"]];ru.editor.addKeybindingRules(o.map((([e,t])=>({keybinding:e,command:n,commandArgs:t})))),ru.editor.defineTheme(mu.DEFAULT_DARK,fu),ru.editor.defineTheme(mu.SOLARIZED_DARK,hu),ru.editor.defineTheme(mu.GITHUB_DARK,Eu),ru.editor.defineTheme(mu.GITHUB_DARK_DIMMED,bu),ru.editor.defineTheme(mu.MATERIAL_DEFAULT,_u),ru.editor.defineTheme(mu.MATERIAL_DARKER,Au),ru.editor.defineTheme(mu.ONE_DARK_PRO,Tu),ru.editor.defineTheme(mu.ONE_DARK_PRO_DARKER,yu)})(e),ru.languages.register({id:Cu.PURE}),ru.languages.setLanguageConfiguration(Cu.PURE,vu),ru.languages.setMonarchTokensProvider(Cu.PURE,(n=t?.extraKeywords??[],{defaultToken:"invalid",tokenPostfix:".pure",keywords:[...n,"Schema","Table","Join","View","primaryKey","groupBy","mainTable","let","extends","true","false","projects",Su.CLASS,Su.ASSOCIATION,Su.ENUMERATION,Su.MEASURE,Su.PROFILE,Su.FUNCTION,Su.MAPPING,Su.RUNTIME,Su.CONNECTION,Su.FILE_GENERATION,Su.GENERATION_SPECIFICATION,Su.DATA_ELEMENT,Nu.JSON_MODEL_CONNECTION,Nu.MODEL_CHAIN_CONNECTION,Nu.XML_MODEL_CONNECTION,"include","EnumerationMapping","Pure","AssociationMapping","XStore","AggregationAware",Su.SERVICE,Su.FLAT_DATA,Su.DATABASE,Nu.FLAT_DATA_CONNECTION,Nu.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]+/,ou.PARSER],[/(@identifier)/,{cases:{"@languageStructs":ou.LANGUAGE_STRUCT,"@keywords":`${ou.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]+\\$)))_":ou.TYPE,"@default":ou.IDENTIFIER}}],{include:"@whitespace"},[/[{}()[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":ou.OPERATOR,"@default":ou.IDENTIFIER}}],{include:"@number"},[/[;,.]/,ou.DELIMITER],[/'([^'\\]|\\.)*$/,`${ou.STRING}.invalid`],[/'/,ou.STRING,"@string"],{include:"@characters"}],pure:[[/(@package\*)/,[ou.PACKAGE]],[/(@package?)(@identifier)(@generics?)(\s*)(@multiplicity)/,[ou.PACKAGE,ou.TYPE,ou.GENERICS,ou.WHITESPACE,ou.MULTIPLICITY]],[/(@package)(@identifier)(@generics?)/,[ou.PACKAGE,ou.TYPE,ou.GENERICS]],[/([@^])(\s*)(@package?)(@identifier)(@generics?)(@multiplicity?)/,[`${ou.TYPE}.operator`,ou.WHITESPACE,ou.PACKAGE,ou.TYPE,ou.GENERICS,ou.MULTIPLICITY]],[/(\.\s*)(@identifier)/,[ou.DELIMITER,ou.PROPERTY]],[/(@identifier)(\s*=)/,[ou.PROPERTY,ou.OPERATOR]],[/(@identifier)(\.)(@identifier)/,[ou.TYPE,ou.OPERATOR,ou.PROPERTY]],[/(@identifier)(\s*:)/,[ou.PARAMETER,ou.OPERATOR]],[/(let)(\s+)(@identifier)(\s*=)/,[ou.KEYWORD,ou.WHITESPACE,ou.VARIABLE,ou.OPERATOR]],[/(\$@identifier)/,[`${ou.VARIABLE}.reference`]]],date:[[/(%latest)/,[`${ou.DATE}.latest`]],[/(@date)/,[ou.DATE]],[/(@time)/,[`${ou.DATE}.time`]]],color:[[/(#[0-9a-fA-F]{6})/,[ou.COLOR]]],number:[[/(@digits)[eE]([-+]?(@digits))?[fFdD]?/,`${ou.NUMBER}.float`],[/(@digits)\.(@digits)([eE][-+]?(@digits))?[fFdD]?/,`${ou.NUMBER}.float`],[/0[xX](@hexdigits)[Ll]?/,`${ou.NUMBER}.hex`],[/0(@octaldigits)[Ll]?/,`${ou.NUMBER}.octal`],[/0[bB](@binarydigits)[Ll]?/,`${ou.NUMBER}.binary`],[/(@digits)[fFdD]/,`${ou.NUMBER}.float`],[/(@digits)[lL]?/,ou.NUMBER]],whitespace:[[/[ \t\r\n]+/,ou.WHITESPACE],[/\/\*\*(?!\/)/,`${ou.COMMENT}.doc`,"@doc"],[/\/\*/,ou.COMMENT,"@comment"],[/\/\/.*$/,ou.COMMENT]],comment:[[/[^/*]+/,ou.COMMENT],[/\*\//,ou.COMMENT,"@pop"],[/[/*]/,ou.COMMENT]],doc:[[/[^/*]+/,`${ou.COMMENT}.doc`],[/\/\*/,`${ou.COMMENT}.doc.invalid`],[/\*\//,`${ou.COMMENT}.doc`,"@pop"],[/[/*]/,`${ou.COMMENT}.doc`]],string:[[/[^\\']+/,ou.STRING],[/@escapes/,`${ou.STRING}.escape`],[/\\./,`${ou.STRING}.escape.invalid`],[/'/,ou.STRING,"@pop"]],characters:[[/'[^\\']'/,ou.STRING],[/(')(@escapes)(')/,[ou.STRING,`${ou.STRING}.escape`,ou.STRING]],[/'/,`${ou.STRING}.invalid`]]}}))}]}}class Ru extends Io{static create(){const e=new Ru(Po.create());return e.withBasePlugins([new Oo,new ku]),e.withBasePresets([]),e}async configureApplication(e){return new Lo(e)}async loadApplication(e){(0,b.H)((()=>{let e=document.getElementsByTagName(vo).length?document.getElementsByTagName(vo)[0]:void 0;return e||(e=document.createElement(vo),document.body.appendChild(e)),e.setAttribute("style","height: 100%; width: 100%; display: block"),e})()).render((0,E.jsx)(It,{store:e,children:(0,E.jsx)(eu,{baseUrl:this.baseAddress})}))}}class Ou{static getPresetCollection(){return[]}static getPluginCollection(){return[new ku,new h]}static run(e){Ru.create().setup({baseAddress:e}).withPresets(Ou.getPresetCollection()).withPlugins(Ou.getPluginCollection()).start().catch((e=>{throw e}))}}const Fu=new URL("./",window.location.href).pathname;Ou.run(Fu)}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdO={},e=[],a.O=(t,n,o,r)=>{if(!n){var i=1/0;for(d=0;d<e.length;d++){for(var[n,o,r]=e[d],s=!0,c=0;c<n.length;c++)(!1&r||i>=r)&&Object.keys(a.O).every((e=>a.O[e](n[c])))?n.splice(c--,1):(s=!1,r<i&&(i=r));if(s){e.splice(d--,1);var u=o();void 0!==u&&(t=u)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,o,r]},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,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);a.r(r);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&o&&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(r,i),r},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="./",(()=>{var e={57:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);if(c)var d=c(a)}for(t&&t(n);u<i.length;u++)r=i[u],a.o(e,r)&&e[r]&&e[r][0](),e[r]=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,[121],(()=>a(6592)));i=a.O(i)})();
|
2
|
-
//# sourceMappingURL=index.
|
1
|
+
(()=>{"use strict";var e,t,n,o={6592:(e,t,n)=>{const o=JSON.parse('{"rE":"10.0.42","XO":{"Z":"@finos/legend-logger-plugin-web-console"}}');var r,a=n(2964);class i{name;version;signature;uuid}class s{name;version;uuid=(0,a.A)();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 i;return e.name=this.getName(),e.version=this.getVersion(),e.signature=this.getSignature(),e.uuid=this.getUUID(),e}configure(e){return this}}class c{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[]}}!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"}(r||(r={}));class u{channel;name;timestamp=Date.now();static create(e){const t=new u;return t.name=e,t}}class d extends s{level=r.DEBUG;setLevel(e){this.level=e}install(e){e.registerLoggerPlugin(this)}debug(e,...t){this.level<=r.DEBUG&&this._debug(e,...t)}info(e,...t){this.level<=r.INFO&&this._info(e,...t)}warn(e,...t){this.level<=r.WARN&&this._warn(e,...t)}error(e,...t){this.level<=r.ERROR&&this._error(e,...t)}}class l{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)))}}const{debug:p,info:g,warn:m,error:f}=console;class h extends d{constructor(){super(o.XO.Z,o.rE)}_debug(e,...t){p(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_info(e,...t){g(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_warn(e,...t){m(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}_error(e,...t){f(`[${e.timestamp}] ${e.name} ${t.length?":":""}`,...t)}}var E=n(1085),b=n(5873),_=n(4417),A=n(4365);const T=()=>()=>{};class y extends Error{uuid=(0,a.A)();constructor(e){super(),this.message=void 0===e||""===e?"(no error message)":e}get detail(){return this.message}}class C 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 S extends C{constructor(e){super("Illegal State Error [PLEASE NOTIFY DEVELOPER]",e)}}class N extends C{constructor(e,t){super("Unsupported Operation Error",e||t?`${e}${t?`\n${((e,t)=>{const n=(o={printFunctionName:!1,maxDepth:t?.deep?void 0:1},(0,_.A)(o,(e=>void 0!==e)));var o;return(0,A.GP)(e,n).replace(/.*\s\{/g,"{").replace(/\[.*\]/g,(e=>["[Array]","[Function]"].includes(e)?e:"[Object]"))})(t)}`:""}`:void 0)}}function I(e){if(!(e instanceof Error))throw new S("Expected error to be thrown")}const v=e=>{try{return e()}catch{return}};class k extends C{constructor(e,t){super("Assertion Error",e,t)}}const R=e=>null!=e;function O(e,t=""){if(null==e)throw new k(t||"Value is nullable")}const F=(e,t="")=>(O(e,t),e);function L(e,t,n=""){if(!(e instanceof t))throw new k(n||`Value is expected to be of type '${t.name}'`)}const w=(e,t,n="")=>(L(e,t,n),e);function P(e,t=""){return function(e,t=""){if(""===F(e,t))throw new k(t||"Expected string value to be non-empty")}(e,t),e}function B(e,t=""){if(!e)throw new k(t||"Expected predicate to be truthy")}const x=e=>"string"==typeof e,D=e=>"number"==typeof e&&!isNaN(e),M=e=>"boolean"==typeof e,j=e=>"object"==typeof e&&null!==e,U=e=>j(e)&&"Object"===e.constructor.name,G=(e,t="")=>(function(e,t=""){if(!x(e))throw new k(t||"Value is expected to be a string")}(e,t),e),H=(e,t="")=>(function(e,t=""){if(!D(e))throw new k(t||"Value is expected to be a number")}(e,t),e),V=(e,t="")=>(function(e,t=""){if(!M(e))throw new k(t||"Value is expected to be a boolean")}(e,t),e);var Y=n(6651),K=n(6046),W=n(6451),$=n(8041);const X=Y.v,q="charset=utf-8";var J,z,Q;!function(e){e.CONTENT_TYPE="Content-Type",e.ACCEPT="Accept"}(J||(J={})),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="*/*"}(z||(z={})),function(e){e.GET="GET",e.PUT="PUT",e.POST="POST",e.DELETE="DELETE"}(Q||(Q={}));const Z={mode:"cors",credentials:"include",redirect:"follow"},ee=(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 te 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:o,url:r}=e,a=`Received response with status ${n} (${o}) for ${r}`;this.message=(t?(e=>{if(j(e))return x(e.message)?e.message:JSON.stringify(e);let t;try{t=JSON.parse(e)}catch{}return t&&x(t.message)?t.message:e})(t).substring(0,5e3):"")||a,this.payload=t}}const ne=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 te(e,t))}if(n?.skipProcessing)return Promise.resolve(e);if(e.status===X.NO_CONTENT)return Promise.resolve(void 0);const o=t.headers.Accept;switch(o){case z.APPLICATION_JSON:return e.json();case z.TEXT_PLAIN:return e.text();default:return Promise.reject(new te(e,`Can't process response for request with Content-Type '${o}'`))}},oe=(e,t)=>{const n={};return n.Accept=z.APPLICATION_JSON,e!==Q.GET&&(n[J.CONTENT_TYPE]=`${z.APPLICATION_JSON};${q}`),ee(n,t)};class re{options={};baseUrl;constructor(e){this.baseUrl=e?.baseUrl,this.options={...Z,...e?.options??{}}}async get(e,t={},n,o,r,a){return this.request(Q.GET,e,void 0,t,n,o,r,a)}async put(e,t={},n={},o,r,a,i){return this.request(Q.PUT,e,t,n,o,r,a,i)}async post(e,t={},n={},o,r,a,i){return this.request(Q.POST,e,t,n,o,r,a,i)}async delete(e,t={},n={},o,r,a,i){return this.request(Q.DELETE,e,t,n,o,r,a,i)}async request(e,t,n,o,r,a,i,s){const c=((e,t,n)=>{if(!e&&!v((()=>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 o=new URL(t,e);return n instanceof Object&&Object.entries(n).forEach((([e,t])=>{void 0!==t&&(Array.isArray(t)?t.filter(R).forEach((t=>o.searchParams.append(e,t.toString()))):o.searchParams.append(e,t.toString()))})),o.toString()})(this.baseUrl,t,a??{});let u;if((x(n)||j(n))&&i?.enableCompression&&(B(e!==Q.GET," GET request should not have any request payload"),n=(e=>new Blob([(0,K.Kc)(j(e)?JSON.stringify(e):e)]))(n),r=ee(r,{[J.CONTENT_TYPE]:`${z.APPLICATION_ZLIB};${q}`})),void 0!==n)if(x(n)||n instanceof Blob)u=n;else{if(!j(n))throw new k("Request body can only be either a 'string' or an 'object'");u=JSON.stringify(n)}const d={...this.options,...o,method:e,body:u,headers:oe(e,r)};return fetch(c,d).then((e=>0===e.status||e.status===X.UNAUTHORIZED?s?.autoReAuthenticateUrl?(e=>new Promise((t=>{const n="AUTO_AUTHENTICATION_IFRAME",o=document.getElementById(n);o?.remove();const r=document.createElement("iframe");r.id=n,r.src=e,r.style.display="none",r.addEventListener("load",(()=>{r.remove(),t()})),document.body.appendChild(r)})))(s.autoReAuthenticateUrl).then((()=>fetch(c,d))).then((e=>ne(e,d,s))):fetch(c,d).then((e=>ne(e,d,s))):ne(e,d,s))).catch((e=>(e=>e instanceof TypeError&&"Failed to fetch"===e.message)(e)?fetch(c,d).then((e=>ne(e,d,s))):Promise.reject(e)))}}const ae=(e,t,n)=>{const o=new Blob([t],{type:n}),r=URL.createObjectURL(o),a=document.createElement("a");"string"==typeof a.download?(document.body.appendChild(a),a.download=e,a.href=r,a.click(),document.body.removeChild(a)):location.replace(r)};var ie;!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"}(ie||(ie={}));var se=n(7542);class ce{schema;deserializeNullAsUndefined;constructor(e,t){this.schema=e,this.deserializeNullAsUndefined=Boolean(t?.deserializeNullAsUndefined)}toJson(e){return(0,se.lK)(this.schema,e)}fromJson(e){return(0,se.iu)(this.schema,this.deserializeNullAsUndefined?(t=e,(0,_.A)(t,(e=>null!==e))):e);var t}}const ue=e=>(0,se.Ie)((t=>void 0===t?se._Z:(0,se.lK)(e,t)),(t=>(0,se.iu)(e,t))),de=e=>(0,se.Ie)((()=>e),(()=>e)),le=e=>(0,se.Ie)((t=>t?(0,se.lK)(e,t):se._Z),(t=>t?(0,se.iu)(e,t):se._Z));var pe=n(6696);class ge{key;markdownText;title;text;url;related;static serialization=new ce((0,se.PL)(ge,{markdownText:(0,se.Ie)((e=>e),(e=>e.value?e:void 0)),related:(0,se.lq)((0,se.p_)((0,se.MY)())),title:(0,se.lq)((0,se.MY)()),text:(0,se.lq)((0,se.MY)()),url:(0,se.lq)((0,se.MY)())}));static create(e,t){const n=ge.serialization.fromJson(e);return n.key=t,n}}const me=e=>Object.entries(e).map((e=>({key:e[0],content:ge.create(e[1],e[0])})));class fe{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(u.create(ie.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,pe.A)(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(u.create(ie.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(u.create(ie.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]=ge.serialization.toJson(t)})),e}publishContextualDocIndex(){const e={};return this.contextualDocIndex.forEach(((t,n)=>{e[n]=t.key})),e}}var he,Ee,be=n(3794);!function(e){e.INITIAL="INITIAL",e.IN_PROGRESS="IN_PROGRESS",e.SUCCEEDED="SUCEEDED",e.FAILED="FAILED"}(he||(he={}));class _e{state;_message;_messageFormatter;constructor(){this.state=he.INITIAL}setMessage(e){this._message=e}setMessageFormatter(e){this._messageFormatter=e}reset(){return this.state=he.INITIAL,this}inProgress(){return this.state=he.IN_PROGRESS,this}fail(){return this.state=he.FAILED,this}pass(){return this.state=he.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===he.INITIAL}get isInProgress(){return this.state===he.IN_PROGRESS}get hasFailed(){return this.state===he.FAILED}get hasSucceeded(){return this.state===he.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,be.Gn)(new _e,{state:be.sH,_message:be.sH,reset:be.XI,inProgress:be.XI,pass:be.XI,fail:be.XI,complete:be.XI,setMessage:be.XI,sync:be.XI,isInInitialState:be.EW,isInProgress:be.EW,hasFailed:be.EW,hasSucceeded:be.EW,hasCompleted:be.EW,message:be.EW})}}!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"}(Ee||(Ee={}));class Ae{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 Te{plugins=[];registerPlugins(e){this.plugins=e}createTrace(e,t,n,o){const r=new Ae;return e&&r.setup(this.plugins.map((r=>{const a=r.createClientSpan(e);return{clientSpan:a,serverSpan:r.createServerSpan(a,t,n,o),plugin:r}}))),r}}const ye=n(7102).A;var Ce,Se;!function(e){e.STANDARD="standard",e.INCLUDE="include match",e.EXACT="exact match",e.INVERSE="excludes exact match"}(Ce||(Ce={}));class Ne{currentMode=Ce.STANDARD;onSearchModeChange;constructor(e){(0,be.Gn)(this,{currentMode:be.sH,isAdvancedSearchActive:be.EW,setCurrentMode:be.XI}),this.onSearchModeChange=e}get isAdvancedSearchActive(){return this.currentMode!==Ce.STANDARD}generateSearchText(e){switch(this.currentMode){case Ce.INCLUDE:return`'"${e}"`;case Ce.EXACT:return`="${e}"`;case Ce.INVERSE:return`!"${e}"`;default:return e}}setCurrentMode(e){this.currentMode=e,this.onSearchModeChange()}}!function(e){e.SEARCH="SEARCH",e.CONTEXTUAL_SUPPORT="CONTEXTUAL_SUPPORT"}(Se||(Se={}));class Ie{uuid=(0,a.A)();documentationKey;title;content;url;isOpen=!1;constructor(e){(0,be.Gn)(this,{isOpen:be.sH,setIsOpen:be.XI}),this.documentationKey=e.key,this.title=P(e.title),this.content=e.markdownText??e.text,this.url=e.url}setIsOpen(e){this.isOpen=e}}class ve{uuid=(0,a.A)();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 ke=e=>Boolean(e.title&&(e.url??e.text??e.markdownText));class Re{applicationStore;panelRenderingKey=(0,a.A)();isHidden=!0;isOpen=!1;isPanelMaximized=!1;selectedTab=Se.SEARCH;currentDocumentationEntry;searchEngine;searchConfigurationState;searchState=_e.create();searchText="";searchResults=[];showSearchConfigurationMenu=!1;isOverSearchLimit=!1;constructor(e){(0,be.Gn)(this,{isHidden:be.sH,isOpen:be.sH,isPanelMaximized:be.sH,panelRenderingKey:be.sH,isOverSearchLimit:be.sH,selectedTab:be.sH,searchText:be.sH,searchResults:be.sH,currentDocumentationEntry:be.sH,showSearchConfigurationMenu:be.sH,currentContextualDocumentationEntry:be.EW,setIsHidden:be.XI,setIsOpen:be.XI,setIsPanelMaximized:be.XI,setSelectedTab:be.XI,setSearchText:be.XI,resetSearch:be.XI,search:be.XI,openDocumentationEntry:be.XI,refreshPanelRendering:be.XI,setShowSearchConfigurationMenu:be.XI}),this.applicationStore=e,this.searchEngine=new ye(this.applicationStore.documentationService.getAllDocEntries().filter(ke),{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 Ne((()=>{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 ve(e,t,(t.related??[]).map((e=>this.applicationStore.documentationService.getDocEntry(e))).filter(R).filter(ke).map((e=>new Ie(e)))):void 0}openDocumentationEntry(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&(this.setIsOpen(!0),this.setIsHidden(!1),this.currentDocumentationEntry=new Ie(t),this.currentDocumentationEntry.setIsOpen(!0),this.resetSearch())}openDocumentationEntryLink(e){const t=this.applicationStore.documentationService.getDocEntry(e);t&&((e=>ke(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.A)()}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 Ie(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 Oe{notifierPlugins=[];registerEventNotifierPlugins(e){this.notifierPlugins=e}notify(e,t){this.notifierPlugins.forEach((n=>n.notify(e,t)))}}class Fe{static logEvent_ApplicationInitializationSucceeded(e,t){e.logEvent(ie.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(ie.APPLICATION_CONTEXT__ACCESS,t)}static logEvent_VirtualAssistantDocumentationEntryAccessed(e,t){e.logEvent(ie.VIRTUAL_ASSISTANT_DOCUMENTATION_ENTRY__ACCESS,t)}static logEvent_ApplicationUsageInterrupted(e){e.logEvent(ie.APPLICATION_USAGE__INTERRUPT,{})}}class Le{applicationStore;contextStack=[];constructor(e){(0,be.Gn)(this,{contextStack:be.sH,currentContext:be.EW,push:be.XI,pop:be.XI}),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 S(`Found multiple context '${e.key}' in application navigation context stack`);t.push(e),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraAccessEventLoggingApplicationContextKeys?.()??[])).includes(e.key)&&Fe.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 we{applicationStore;commandRegistry=new Map;constructor(e){(0,be.Gn)(this,{commandRegistry:be.sH,registerCommand:be.XI,deregisterCommand:be.XI}),this.applicationStore=e}registerCommand(e){const t=e.key;this.commandRegistry.has(t)?this.applicationStore.logService.warn(u.create(ie.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 Pe{applicationStore;keyMap=new Map;commandKeyMap=new Map;isHotkeysBlocked=!1;constructor(e){(0,be.Gn)(this,{keyMap:be.sH,commandKeyMap:be.sH,isHotkeysBlocked:be.sH,addHotkey:be.XI,blockGlobalHotkeys:be.XI,unblockGlobalHotkeys:be.XI}),this.applicationStore=e,this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraKeyedCommandConfigEntries?.()??[])).forEach((e=>{const t=[e.content.defaultKeyboardShortcut,...e.content.additionalKeyboardShortcuts??[]].filter(R);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 Be=n(4594),xe=n(2338),De=n(4462),Me=n(720),je=n(5974),Ue=n(382);const Ge="Roboto Mono",He="yyyy-MM-dd'T'HH:mm:ss";var Ve;!function(e){e.RESET="[0m",e.BOLD="[1m",e.DIM="[2m",e.ITALIC="[3m",e.UNDERLINE="[4m",e.BLINKING="[5m",e.STRIKETHROUGH="[9m",e.BLACK="[30m",e.RED="[31m",e.GREEN="[32m",e.YELLOW="[33m",e.BLUE="[34m",e.MAGENTA="[35m",e.CYAN="[36m",e.WHITE="[37m",e.BRIGHT_BLACK="[1;30m",e.BRIGHT_RED="[1;31m",e.BRIGHT_GREEN="[1;32m",e.BRIGHT_YELLOW="[1;33m",e.BRIGHT_BLUE="[1;34m",e.BRIGHT_MAGENTA="[1;35m",e.BRIGHT_CYAN="[1;36m",e.BRIGHT_WHITE="[1;37m",e.DIMMED_BLACK="[2;30m",e.DIMMED_RED="[2;31m",e.DIMMED_GREEN="[2;32m",e.DIMMED_YELLOW="[2;33m",e.DIMMED_BLUE="[2;34m",e.DIMMED_MAGENTA="[2;35m",e.DIMMED_CYAN="[2;36m",e.DIMMED_WHITE="[2;37m",e.BLACK_BG="[40m",e.RED_BG="[41m",e.GREEN_BG="[42m",e.YELLOW_BG="[43m",e.BLUE_BG="[44m",e.MAGENTA_BG="[45m",e.CYAN_BG="[46m",e.WHITE_BG="[47m",e.BRIGHT_BLACK_BG="[1;40m",e.BRIGHT_RED_BG="[1;41m",e.BRIGHT_GREEN_BG="[1;42m",e.BRIGHT_YELLOW_BG="[1;43m",e.BRIGHT_BLUE_BG="[1;44m",e.BRIGHT_MAGENTA_BG="[1;45m",e.BRIGHT_CYAN_BG="[1;46m",e.BRIGHT_WHITE_BG="[1;47m",e.DIMMED_BLACK_BG="[2;40m",e.DIMMED_RED_BG="[2;41m",e.DIMMED_GREEN_BG="[2;42m",e.DIMMED_YELLOW_BG="[2;43m",e.DIMMED_BLUE_BG="[2;44m",e.DIMMED_MAGENTA_BG="[2;45m",e.DIMMED_CYAN_BG="[2;46m",e.DIMMED_WHITE_BG="[2;47m"}(Ve||(Ve={}));const Ye=(e,t)=>`[${e};${t}H`;class Ke{searchInput;searchText="";useRegex=!1;matchWholeWord=!1;matchCaseSensitive=!1;resultCount;currentResultIndex;constructor(){(0,be.Gn)(this,{searchText:be.sH,useRegex:be.sH,matchWholeWord:be.sH,matchCaseSensitive:be.sH,resultCount:be.sH,currentResultIndex:be.sH})}setSearchInput(e){this.searchInput=e}focus(){this.searchInput?.focus()}}class We{applicationStore;searchConfig=new Ke;constructor(e){(0,be.Gn)(this,{setSearchText:be.XI,setSearchRegex:be.XI,setSearchWholeWord:be.XI,setSearchCaseSensitive:be.XI,setSearchResultCount:be.XI,setSearchCurrentResultIndex:be.XI}),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 $e extends We{preserveLog=!1;commandRegistry=new Map;constructor(e){super(e),(0,be.Gn)(this,{preserveLog:be.sH,setPreserveLog:be.XI})}setPreserveLog(e){this.preserveLog=e}showHelp(){}showCommonANSIEscapeSequences(){}}var Xe=n(9481);n(4404),n(1880);const qe=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"],ze=e=>(e??"").trim().replace(/\b(?:\w+)\b/gu,(e=>Je.includes(e.toLowerCase())?e.toLowerCase():qe(e))).replace(/^(?:\w+)\b/u,(e=>qe(e))).replace(/\b(?:\w+)$/u,(e=>qe(e)));var Qe;function Ze(e){return e.trim().split(" ").map((e=>{const t=e.split(/\b\+/),n=F(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"}(Qe||(Qe={}));const et=(e,t)=>t.key===e.code&&t.modifiers.every((t=>e.getModifierState(t)))&&![Qe.SHIFT,Qe.META,Qe.ALT,Qe.CONTROL].find((n=>t.key!==n&&e.getModifierState(n)&&!t.modifiers.includes(n))),tt=(e,t)=>et(e,F(Ze(t)[0]));var nt=n(7063),ot=n(2285),rt=n(5844);const at=(0,nt.A)({transitions:{create:()=>"none"}}),it=e=>{const{children:t}=e;return(0,E.jsx)(ot.A,{injectFirst:!0,children:(0,E.jsx)(rt.A,{theme:at,children:t})})};var st=n(6112),ct=n(3432),ut=n(5150),dt=n(306),lt=n(692),pt=n(3416),gt=n(4357);const mt=(e,t)=>{const n=e=>{const{children:n,className:o}=e;return(0,E.jsx)("div",{className:(0,gt.$)(t,o),"data-testid":e["data-testid"],children:n})};return n.displayName=e,n},ft=e=>{const{children:t,darkMode:n,className:o}=e;return(0,E.jsx)("div",{className:(0,gt.$)("modal",{"modal--dark":n},o),children:t})},ht=e=>{const{title:t,icon:n,className:o}=e;return(0,E.jsxs)("div",{className:(0,gt.$)("modal__title",o),children:[n&&(0,E.jsx)("div",{className:"modal__title__icon",children:n}),(0,E.jsx)("div",{className:"modal__title__label",children:ze(t)})]})},Et=e=>{const{title:t,children:n,className:o}=e;return!n&&t?(0,E.jsx)("div",{className:(0,gt.$)("modal__header",o),children:(0,E.jsx)(ht,{title:t})}):(0,E.jsx)("div",{className:(0,gt.$)("modal__header",o),children:n})},bt=(mt("ModalHeaderActions","modal__header__actions"),mt("ModalBody","modal__body")),_t=mt("ModalFooter","modal__footer");var At,Tt;mt("ModalFooterStatus","modal__footer__status"),function(e){e.STANDARD="STANDARD",e.CAUTION="CAUTION"}(At||(At={})),function(e){e.STANDARD="STANDARD",e.PROCEED_WITH_CAUTION="PROCEED_WITH_CAUTION",e.PROCEED="PROCEED"}(Tt||(Tt={}));class yt{applicationStore;blockingAlertInfo;actionAlertInfo;constructor(e){(0,be.Gn)(this,{blockingAlertInfo:be.sH,actionAlertInfo:be.sH,setBlockingAlert:be.XI,setActionAlertInfo:be.XI}),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 Ct=n(4041);const St=(0,Ct.createContext)(void 0),Nt=()=>F((0,Ct.useContext)(St),"Can't find application store in context"),It=({children:e,store:t})=>{const n=(0,ut.iz)((()=>t));return(0,E.jsx)(St.Provider,{value:n,children:e})},vt=e=>{switch(e){case Tt.PROCEED_WITH_CAUTION:return"btn--caution";case Tt.PROCEED:case Tt.STANDARD:default:return"btn--dark"}},kt=(0,ut.PA)((e=>{const{info:t}=e,n=Nt(),{title:o,message:r,prompt:a,type:i,onClose:s,onEnter:c,actions:u}=t,d=()=>{s?.(),n.alertService.setActionAlertInfo(void 0)};return(0,E.jsx)(pt.A,{open:Boolean(n.alertService.actionAlertInfo),onClose:T,TransitionProps:{onEnter:()=>c?.()},children:(0,E.jsxs)("form",{onSubmit:e=>{e.preventDefault(),u.find((e=>e.default))?.handler?.(),d()},className:`modal search-modal modal--dark blocking-alert blocking-alert--${(i??At.STANDARD).toLowerCase()}`,children:[o&&(0,E.jsx)(Et,{title:o}),(0,E.jsxs)(bt,{children:[(0,E.jsx)("div",{className:"blocking-alert__summary-text",children:r}),(0,E.jsx)("div",{className:"blocking-alert__prompt-text",children:a})]}),(0,E.jsxs)(_t,{children:[u.map(((e,t)=>(0,E.jsx)("button",{type:e.default?"submit":"button",className:`btn btn--dark ${vt(e.type??Tt.STANDARD)}`,onClick:t=>{t.preventDefault(),e.handler?.(),d()},autoFocus:Boolean(e.default),children:e.label},t))),!u.length&&(0,E.jsx)("button",{type:"button",className:"btn btn--dark blocking-alert__action--standard",onClick:d,children:"Cancel"})]})]})})})),Rt=(0,ut.PA)((()=>{const e=Nt().alertService.actionAlertInfo;return e?(0,E.jsx)(kt,{info:e}):null})),Ot=e=>{const{isLoading:t,className:n}=e,o=(0,Ct.useRef)(null);return(0,Ct.useEffect)((()=>{o.current&&(t?o.current.parentElement?.classList.add("panel-loading-indicator__container"):o.current.parentElement?.classList.remove("panel-loading-indicator__container"))}),[t]),(0,E.jsx)("div",{ref:o,className:(0,gt.$)(n,"panel-loading-indicator"+(t?"":"--disabled"))})},Ft=(0,ut.PA)((()=>{const e=Nt(),t=e.alertService.blockingAlertInfo;return t?(0,E.jsx)(pt.A,{open:Boolean(t),onClose:T,classes:{root:"blocking-alert__root-container",container:"blocking-alert__container"},children:(0,E.jsxs)(ft,{darkMode:!e.layoutService.TEMPORARY__isLightColorThemeEnabled,className:"blocking-alert",children:[(0,E.jsx)(Ot,{isLoading:Boolean(t.showLoading)}),(0,E.jsxs)(bt,{children:[(0,E.jsx)("div",{className:"blocking-alert__message",children:t.message}),t.prompt&&(0,E.jsx)("div",{className:"blocking-alert__message__prompt",children:t.prompt})]})]})}):null}));var Lt=n(4269),wt=n(9896),Pt=n(6750),Bt=n(7997),xt=n(6819);const Dt=Lt.RQJ,Mt=wt.QRP,jt=Pt.QCr,Ut=Pt._Hm,Gt=Pt.Pcn,Ht=Pt.gZZ,Vt=Pt.__w,Yt=Pt.KSO,Kt=Pt.UnJ,Wt=Pt.A7C,$t=Pt.BS8,Xt=Pt.KRc,qt=Pt.Su4,Jt=Pt.kxO,zt=Pt.vq8,Qt=Pt.GfC,Zt=Pt.SoL,en=Pt.Wx3,tn=Bt.f7n,nn=Bt.Lun,on=xt.oss,rn=xt.Br,an=xt.YZI;var sn=n(5473),cn=n(8960);const un=6e3;var dn;!function(e){e.ILEGAL_STATE="ILEGAL_STATE",e.ERROR="ERROR",e.WARNING="WARNING",e.SUCCESS="SUCCESS",e.INFO="INFO"}(dn||(dn={}));class ln{severity;message;actions;autoHideDuration;constructor(e,t,n,o){this.severity=e,this.message=t,this.actions=n,this.autoHideDuration=o}}class pn{notification;constructor(){(0,be.Gn)(this,{notification:be.sH,setNotification:be.XI,notify:be.XI,notifySuccess:be.XI,notifyWarning:be.XI,notifyIllegalState:be.XI,notifyError:be.XI})}setNotification(e){this.notification=e}notify(e,t,n){this.setNotification(new ln(dn.INFO,e,t??[],null===n?void 0:n??un))}notifySuccess(e,t,n){this.setNotification(new ln(dn.SUCCESS,e,t??[],null===n?void 0:n??un))}notifyWarning(e,t,n){this.setNotification(new ln(dn.WARNING,e instanceof Error?e.message:e,t??[],null===n?void 0:n??un))}notifyError(e,t){let n;e instanceof y?n=e.detail:e instanceof Error?n=e.message:(B(x(e),"Can't display error"),n=e),n&&this.setNotification(new ln(dn.ERROR,n,t??[],void 0))}notifyIllegalState(e,t,n){this.setNotification(new ln(dn.ILEGAL_STATE,x(e)?`[PLEASE NOTIFY DEVELOPER] ${e}`:e,t??[],null===n?void 0:n??un))}notifyUnsupportedFeature(e){this.notifyWarning(`Unsupported feature: ${e}`)}notifyAndReturnAlternativeOnError=(e,t)=>{try{return e()}catch(e){return I(e),this.notifyIllegalState(e.message),t}}}const gn=(0,ut.PA)((()=>{const e=Nt(),t=e.notificationService.notification,n=Boolean(t),o=t?.message??"",r=t?.severity??dn.INFO,[a,i]=(0,Ct.useState)(!1);let s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--info",children:(0,E.jsx)(Vt,{})});switch(r){case dn.ILEGAL_STATE:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,E.jsx)(Xt,{})});break;case dn.ERROR:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--error",children:(0,E.jsx)(Ut,{})});break;case dn.WARNING:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--warning",children:(0,E.jsx)($t,{})});break;case dn.SUCCESS:s=(0,E.jsx)("div",{className:"notification__message__content__icon notification__message__content__icon--success",children:(0,E.jsx)(Wt,{})})}const c=()=>{e.notificationService.setNotification(void 0),i(!1)},u=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(o)));return(0,E.jsx)(sn.A,{classes:{root:"notification",anchorOriginBottomRight:"notification__position"},anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:t?t.autoHideDuration??null:un,onClose:(e,t)=>{"timeout"===t&&c()},children:(0,E.jsx)(cn.A,{classes:{root:"notification__content",message:"notification__message",action:"notification__actions"},message:(0,E.jsxs)("div",{className:"notification__message__content",children:[s,(0,E.jsx)("div",{className:(0,gt.$)("notification__message__content__text",{"notification__message__content__text--expanded":a}),onClick:u,title:"Click to Copy",children:o})]}),action:[(0,E.jsx)("button",{className:"notification__action",onClick:()=>i(!a),tabIndex:-1,title:a?"Collapse":"Expand",children:a?(0,E.jsx)(on,{}):(0,E.jsx)(rn,{})},"expand"),(0,E.jsx)("button",{className:"notification__action",onClick:c,tabIndex:-1,title:"Dismiss",children:(0,E.jsx)(jt,{})},"close")]})},"string"==typeof o||"number"==typeof o?o:"")}));var mn=n(1218);const fn=e=>{const{children:t,classes:n,...o}=e;return(0,E.jsx)(mn.A,{classes:{...n??{},paper:"mui-menu__paper",list:"mui-menu__list"},transitionDuration:0,...o,children:e.children})},hn=e=>{const{className:t,children:n,menuProps:o,content:r,disabled:a,onClose:i,onOpen:s}=e,c=(0,Ct.useRef)(null),[u,d]=(0,Ct.useState)(!1),[l,p]=(0,Ct.useState)(),[g,m]=(0,Ct.useState)(0),[f,h]=(0,Ct.useState)(0),b=()=>{p(void 0),d(!1),h(0),m(0)},_=e=>{e.stopPropagation(),e.preventDefault(),b(),i?.()},A=e=>{if(e.stopPropagation(),e.preventDefault(),!a&&(s?.(),c.current)){const t=c.current.getBoundingClientRect(),n=t.left+(window.scrollX||document.documentElement.scrollLeft),o=t.top+(window.scrollY||document.documentElement.scrollTop),{clientX:r,clientY:a,target:s}=e,u=s;if(l!==u&&!(document.elementsFromPoint(r,a).some((e=>e===u))&&n<=r&&r<=n+t.width&&o<=a&&a<=o+t.height))return b(),void i?.();p(u),d(!0),h(a),m(r)}};return(0,E.jsxs)("div",{ref:c,className:t,onContextMenu:A,children:[n,(0,E.jsx)(fn,{open:u,anchorPosition:{left:g,top:f},onClose:_,anchorReference:"anchorPosition",BackdropProps:{invisible:!0,onContextMenu:A},disableRestoreFocus:!0,transitionDuration:0,onClick:_,...o,children:u&&r},`${g}, ${f}`)]})},En=(0,Ct.forwardRef)((function(e,t){const{className:n,children:o,...r}=e;return(0,E.jsx)("div",{ref:t,className:(0,gt.$)("menu",n),...r,children:o})})),bn=e=>{const{className:t,onClick:n,title:o,disabled:r,children:a,...i}=e;return(0,E.jsx)("button",{className:(0,gt.$)("menu__item",t),disabled:Boolean(r),title:o,onClick:n,...i,children:a})};mt("MenuContentDivider","menu__divider"),mt("MenuContentItemIcon","menu__item__icon"),mt("MenuContentItemLabel","menu__item__label");var _n=n(2973),An=n(3310),Tn=n(3927);const yn=e=>((0,Ct.useEffect)((()=>{Tn.N.initialize({startOnLoad:!0,theme:"dark"}),Tn.N.contentLoaded()}),[e.value]),(0,E.jsx)(_n.o,{className:(0,gt.$)("markdown-content",e.className),remarkPlugins:[An.A],components:e.components??{code:e=>{const{children:t,className:n,node:o,...r}=e,a=/language-(?<language>\w+)/.exec(n??"");return a?.groups?.language?(0,E.jsx)("code",{...r,className:(0,gt.$)(a.groups.language),children:t}):(0,E.jsx)("code",{...r,className:n,children:t})}},children:e.value.value}));var Cn=n(5143);const Sn=e=>{const{children:t}=e,{ref:n,width:o,height:r}=(0,Cn.u)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}}),[a,i]=(0,Ct.useState)(!1),{ref:s,width:c,height:u}=(0,Cn.u)({refreshMode:"throttle",refreshRate:50,refreshOptions:{trailing:!0}});return(0,Ct.useEffect)((()=>{i((c??0)>(o??0)+40&&(u??0)>(r??0)+40)}),[c,u,o,r]),(0,E.jsx)("div",{ref:s,className:"panel__content__blank",children:(0,E.jsx)("div",{ref:n,className:(0,gt.$)("panel__content__blank__content",{"panel__content__blank__content--hide":!a}),children:t})})};var Nn=n(1122),In=n(7143),vn=n(6391);const kn=e=>{const{children:t,options:n,size:o,className:r,...a}=e,i=((e,t)=>{const n=[];for(let o=0;o<e.length;o+=t)n.push(e.slice(o,o+t));return n})(n,o);return(0,E.jsxs)("div",{className:(0,gt.$)("mui-radio-group",r),children:[i.map(((e,t)=>(0,E.jsx)("div",{children:(0,E.jsx)(Nn.A,{className:"mui-radio-group__group",...a,children:e.map((e=>(0,E.jsx)(In.A,{className:"mui-radio-group__group__column",style:{width:100/o+"%"},value:e,control:(0,E.jsx)(vn.A,{className:"mui-radio-group__group__item__radio-btn"}),label:(0,E.jsx)("div",{className:"mui-radio-group__group__item__label",children:e})},e)))})},t))),t]})};var Rn=n(7669);const On=e=>{const{children:t,...n}=e;return(0,E.jsx)(Rn.Ay,{classes:{paper:"mui-popover__paper"},transitionDuration:0,...n,children:e.children})};var Fn,Ln=n(9463),wn=n(5318),Pn=n(5461);!function(e){e.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX="question.how-to-use-advanced-search-syntax"}(Fn||(Fn={}));const Bn=(0,ut.PA)((e=>{const{entry:t}=e,n=Nt(),o=()=>{t.isOpen||Fe.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey}),t.setIsOpen(!t.isOpen)},r=n.guardUnhandledError((()=>n.clipboardService.copyTextToClipboard(t.documentationKey)));return(0,E.jsx)(hn,{className:"virtual-assistant__doc-entry",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsx)(En,{children:(0,E.jsx)(bn,{onClick:r,children:"Copy Documentation Key"})}),children:(0,E.jsxs)("div",{className:"virtual-assistant__doc-entry",children:[(0,E.jsxs)("div",{className:"virtual-assistant__doc-entry__header",children:[(0,E.jsx)("button",{className:(0,gt.$)("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,E.jsx)(on,{}):(0,E.jsx)(an,{})}),t.url?(0,E.jsx)("a",{className:"virtual-assistant__doc-entry__title virtual-assistant__doc-entry__title--link",rel:"noopener noreferrer",target:"_blank",href:t.url,onClick:()=>{Fe.logEvent_VirtualAssistantDocumentationEntryAccessed(n.telemetryService,{key:t.documentationKey})},title:"Click to see external documentation",children:t.title}):(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__title",onClick:o,children:t.title})]}),t.isOpen&&t.content&&(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__content",children:x(t.content)?(0,E.jsx)("div",{className:"virtual-assistant__doc-entry__content__text",children:t.content}):(0,E.jsx)(yn,{className:"virtual-assistant__doc-entry__content__markdown-text",value:t.content})})]})})})),xn=(0,ut.PA)((()=>{const e=Nt(),t=e.assistantService.currentContextualDocumentationEntry,n=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(t?.context??""))),o=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.currentContext?.key??""))),r=e.guardUnhandledError((()=>e.clipboardService.copyTextToClipboard(e.navigationContextService.contextStack.map((e=>e.key)).join(" > "))));return(0,E.jsxs)(hn,{className:"virtual-assistant__contextual-support",disabled:!t,menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:n,children:"Copy Context ID"}),(0,E.jsx)(bn,{onClick:o,children:"Copy Current Context ID"}),(0,E.jsx)(bn,{onClick:r,children:"Copy Context Stack"})]}),children:[t&&(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__content",children:[t.title&&(0,E.jsx)("div",{className:"virtual-assistant__contextual-support__title",children:t.title}),t.content&&(0,E.jsx)(E.Fragment,{children:x(t.content)?(0,E.jsx)("div",{className:"virtual-assistant__contextual-support__text",children:t.content}):(0,E.jsx)(yn,{className:"virtual-assistant__contextual-support__markdown-text",value:t.content})}),t.related.length&&(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries",children:[(0,E.jsxs)("div",{className:"virtual-assistant__contextual-support__relevant-entries__title",children:["Related entries (",t.related.length,")"]}),t.related.map((e=>(0,E.jsx)(Bn,{entry:e},e.uuid)))]})]}),!t&&(0,E.jsx)(Sn,{children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,E.jsx)(Zt,{className:"virtual-assistant__panel__placeholder__icon"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No contextual documentation found!"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__instruction",children:"Keep using the app. When contextual help is available, we will let you know!"})]})})]})})),Dn=(0,ut.PA)((()=>{const e=Nt(),t=(0,Ct.useRef)(null),n=e.assistantService,o=n.searchText,r=(0,Ct.useMemo)((()=>(0,wn.A)((()=>n.search()),100)),[n]);return(0,Ct.useEffect)((()=>{t.current?.focus()}),[]),(0,E.jsxs)("div",{className:"virtual-assistant__search",children:[(0,E.jsxs)("div",{className:"virtual-assistant__search__header",children:[(0,E.jsx)("input",{ref:t,onClick:()=>{document.querySelectorAll('[role="dialog"]').length&&t.current!==document.activeElement&&n.refreshPanelRendering()},className:(0,gt.$)("virtual-assistant__search__input input--dark",{"virtual-assistant__search__input--searching":o}),spellCheck:!1,onChange:e=>{n.setSearchText(e.target.value),r()},value:o,placeholder:"Ask me a question"}),o&&(0,E.jsx)("div",{className:"virtual-assistant__search__input__search__count",children:n.searchResults.length+(n.isOverSearchLimit?"+":"")}),(0,E.jsx)("button",{className:(0,gt.$)("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,E.jsx)(Gt,{})}),o?(0,E.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,E.jsx)(jt,{})}):(0,E.jsx)("div",{className:"virtual-assistant__search__input__search__icon",children:(0,E.jsx)(Yt,{})})]}),(0,E.jsxs)("div",{className:"virtual-assistant__search__content",children:[(0,E.jsx)(Ot,{isLoading:n.searchState.isInProgress}),(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__search__input__config__panel",{"virtual-assistant__search__input__config__panel--toggled":n.showSearchConfigurationMenu}),children:(0,E.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel",children:[(0,E.jsxs)("div",{className:"virtual-assistant__search__input__advanced-config__panel__header__label",children:["search config",e.documentationService.hasDocEntry(Fn.QUESTION_HOW_TO_USE_ADVANCED_SEARCH_SYNTAX)&&(0,E.jsx)("div",{onClick:()=>n.openDocumentationEntryLink(Fn.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,E.jsx)(Ht,{})})]}),(0,E.jsx)("div",{children:(0,E.jsx)(kn,{value:n.searchConfigurationState.currentMode,onChange:e=>{const t=e.target.value;n.searchConfigurationState.setCurrentMode(t)},row:!1,options:[Ce.STANDARD,Ce.INCLUDE,Ce.EXACT,Ce.INVERSE],size:1})})]})}),n.currentDocumentationEntry&&(0,E.jsx)("div",{className:"virtual-assistant__search__results",children:(0,E.jsx)(Bn,{entry:n.currentDocumentationEntry},n.currentDocumentationEntry.uuid)}),!n.currentDocumentationEntry&&(0,E.jsxs)(E.Fragment,{children:[Boolean(n.searchResults.length)&&(0,E.jsx)("div",{className:"virtual-assistant__search__results",children:n.searchResults.map((e=>(0,E.jsx)(Bn,{entry:e},e.uuid)))}),o&&!n.searchResults.length&&(0,E.jsx)(Sn,{children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__placeholder",children:[(0,E.jsx)(en,{className:"virtual-assistant__panel__placeholder__icon"}),(0,E.jsx)("div",{className:"virtual-assistant__panel__placeholder__message",children:"No result..."})]})}),!o&&!n.searchResults.length&&(0,E.jsx)(hn,{className:"virtual-assistant__character__container",menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:()=>{ae(`documentation-registry_${(0,Pn.GP)(new Date(Date.now()),He)}.json`,JSON.stringify(e.documentationService.publishDocRegistry(),void 0,2),z.APPLICATION_JSON)},children:"Download documentation registry"}),(0,E.jsx)(bn,{onClick:()=>{ae(`documentation-registry_${(0,Pn.GP)(new Date(Date.now()),He)}.json`,JSON.stringify(e.documentationService.publishContextualDocIndex(),void 0,2),z.APPLICATION_JSON)},children:"Download contextual documentation mapping"})]}),children:(0,E.jsxs)("div",{className:"virtual-assistant__character",children:[(0,E.jsxs)("div",{className:"virtual-assistant__character__figure",children:[(0,E.jsx)(Qt,{className:"virtual-assistant__character__hat"}),(0,E.jsx)(nn,{className:"virtual-assistant__character__glasses"}),(0,E.jsx)(tn,{className:"virtual-assistant__character__beard"})]}),(0,E.jsx)("div",{className:"virtual-assistant__character__greeting",children:"Bonjour, It's Pierre!"}),(0,E.jsx)("div",{className:"virtual-assistant__character__question",children:"How can I help today?"})]})})]})]})]})})),Mn=(0,ut.PA)((e=>{const{triggerElement:t}=e,n=Nt(),o=n.assistantService,r=o.currentContextualDocumentationEntry,a=o.selectedTab,i=n.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraVirtualAssistantViewConfigurations?.()??[])),s=i.find((e=>e.key===a));return(0,E.jsx)(On,{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,E.jsxs)("div",{className:(0,gt.$)("virtual-assistant__panel",{"virtual-assistant__panel--maximized":o.isPanelMaximized}),tabIndex:0,onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())},children:[(0,E.jsxs)("div",{className:"virtual-assistant__panel__header",children:[(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__tabs",children:[(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===Se.SEARCH}),onClick:()=>o.setSelectedTab(Se.SEARCH),title:"Search",children:(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:(0,E.jsx)(Yt,{})})}),(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===Se.CONTEXTUAL_SUPPORT}),onClick:()=>o.setSelectedTab(Se.CONTEXTUAL_SUPPORT),title:"Contextual Support",children:(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__tab__content",children:[(0,E.jsx)(zt,{}),r&&(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__indicator",title:"Contextual support available"})]})}),i.map((e=>(0,E.jsx)("div",{className:(0,gt.$)("virtual-assistant__panel__header__tab",{"virtual-assistant__panel__header__tab--active":a===e.key}),onClick:()=>{o.setSelectedTab(e.key),e.autoExpandOnOpen&&o.setIsPanelMaximized(!0)},title:e.title,children:(0,E.jsx)("div",{className:"virtual-assistant__panel__header__tab__content",children:e.icon??(0,E.jsx)(Ht,{})})},e.key)))]}),(0,E.jsxs)("div",{className:"virtual-assistant__panel__header__actions",children:[(0,E.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsPanelMaximized(!o.isPanelMaximized),title:o.isPanelMaximized?"Minimize":"Maximize",children:o.isPanelMaximized?(0,E.jsx)(qt,{}):(0,E.jsx)(Jt,{})}),(0,E.jsx)("button",{className:"virtual-assistant__panel__header__action",tabIndex:-1,onClick:()=>o.setIsOpen(!1),title:"Close",children:(0,E.jsx)(Dt,{className:"virtual-assistant__panel__icon__close"})})]})]}),(0,E.jsxs)("div",{className:"virtual-assistant__panel__content",children:[a===Se.SEARCH&&(0,E.jsx)(Dn,{}),a===Se.CONTEXTUAL_SUPPORT&&(0,E.jsx)(xn,{}),s?.renderer()]})]})},o.panelRenderingKey)})),jn=(0,ut.PA)((()=>{const[e,t]=(0,Ct.useState)(!1),[n,o]=(0,Ct.useState)((0,a.A)()),r=Nt(),i=(0,Ct.useRef)(null),s=r.assistantService,c=s.currentContextualDocumentationEntry,u=()=>{!s.isOpen&&c&&s.setSelectedTab(Se.CONTEXTUAL_SUPPORT),s.setIsOpen(!s.isOpen)};return(0,Ct.useEffect)((()=>{s.isHidden&&o((0,a.A)())}),[s.isHidden]),(0,E.jsx)(Ln,{bounds:"parent",onStart:()=>t(!0),onStop:()=>t(!1),nodeRef:i,handle:".virtual-assistant__station__drag-handle",children:(0,E.jsxs)("div",{className:"virtual-assistant",ref:i,children:[(0,E.jsxs)("div",{className:(0,gt.$)("virtual-assistant__station",{"virtual-assistant__station--hidden":s.isHidden,"virtual-assistant__station--active":Boolean(c)}),children:[(0,E.jsx)("button",{className:"virtual-assistant__station__hide-button",title:"Hide assistant",onClick:()=>{r.assistantService.toggleAssistant()},children:(0,E.jsx)(Kt,{})}),(0,E.jsx)("button",{className:"virtual-assistant__station__trigger",tabIndex:-1,onClick:u,title:s.isOpen?"Click to close assistant panel":(c?"Contextual support available.\n":"")+"Click to open Assistant...",children:(0,E.jsxs)("div",{className:"virtual-assistant__station__character",children:[(0,E.jsx)(Qt,{className:"virtual-assistant__station__character__hat"}),(0,E.jsx)(nn,{className:"virtual-assistant__station__character__glasses"}),(0,E.jsx)(tn,{className:"virtual-assistant__station__character__beard"})]})}),(0,E.jsx)("div",{className:"virtual-assistant__station__label",onClick:u,children:"Assistant"}),(0,E.jsx)(hn,{className:(0,gt.$)("virtual-assistant__station__drag-handle",{"virtual-assistant__station__drag-handle--dragging":e}),menuProps:{elevation:7,classes:{root:"virtual-assistant__context-menu"}},content:(0,E.jsxs)(En,{children:[(0,E.jsx)(bn,{onClick:()=>{s.setIsOpen(!1),o((0,a.A)())},children:"Reset Position"}),(0,E.jsx)(bn,{onClick:()=>r.assistantService.hideAssistant(),children:"Hide Assistant"})]}),children:(0,E.jsx)("div",{className:"virtual-assistant__station__drag-handle__content",title:e?void 0:"Grab to drag assistant",children:(0,E.jsx)(Mt,{})})})]},c?.uuid??""),!e&&s.isOpen&&!s.isHidden&&i.current&&(0,E.jsx)(Mn,{triggerElement:i.current})]})},n)}));var Un;!function(e){e.TOP_LEVEL_CONTAINER="application.top-level-container",e.BACKDROP_CONTAINER="application.backdrop-container"}(Un||(Un={}));const Gn=["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"],Hn=e=>(0,E.jsx)("div",{className:"backdrop__container","data-elementid":e.elementId}),Vn=(0,ut.PA)((e=>{const{children:t}=e,n=Nt(),o=((e,t)=>{const n={};return e.forEach(((e,o)=>{e.length&&(n[o]={combinations:e,handler:t})})),n.INTERNAL__PLATFORM_NATIVE_KEYBOARD_COMMAND={combinations:Gn,handler:(e,t)=>{t.preventDefault()}},n})(n.keyboardShortcutsService.commandKeyMap,((e,t)=>{Gn.includes(e)&&t.preventDefault(),n.keyboardShortcutsService.dispatch(e)}));return(0,Ct.useEffect)((()=>{const e=function(e){const t=new Map;let n=null;return o=>{o instanceof KeyboardEvent&&((0,Xe.A)(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,r=Ze(e.combination);if(!r.length)return;const a=t.get(n)??r,i=F(a[0]);et(o,i)?a.length>1?t.set(n,a.slice(1)):(t.delete(n),e.handler(n,o)):o.getModifierState(o.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,Ct.useEffect)((()=>{const e=()=>{document.hidden&&(Fe.logEvent_ApplicationUsageInterrupted(n.telemetryService),n.timeService.recordUsageInterruption())};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}}),[n]),(0,E.jsxs)(it,{children:[(0,E.jsx)(Ft,{}),(0,E.jsx)(Rt,{}),(0,E.jsx)(gn,{}),(0,E.jsx)(jn,{}),n.layoutService.showBackdrop&&(0,E.jsx)(st.Z,{container:n.layoutService.getElementByID(n.layoutService.backdropContainerElementID??Un.BACKDROP_CONTAINER)??null,children:(0,E.jsx)(ct.A,{className:"backdrop",open:n.layoutService.showBackdrop})}),(0,E.jsx)(dt.Q,{backend:lt.t2,children:(0,E.jsxs)("div",{className:"app__container","data-elementid":Un.TOP_LEVEL_CONTAINER,onContextMenu:e=>{e.stopPropagation(),e.preventDefault()},children:[(0,E.jsx)(Hn,{elementId:Un.BACKDROP_CONTAINER}),t]})})]})})),Yn={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"},Kn={matchOverviewRuler:"#d186167e",activeMatchColorOverviewRuler:"#A0A0A0CC",matchBackground:"#62331c",activeMatchBackground:"#515C6A"},Wn=`\n${Ve.BOLD}${Ve.BRIGHT_BLUE}$purist${Ve.RESET}\n${Ve.BOLD}${Ve.MAGENTA}❯${Ve.RESET} `,$n="❯ ";class Xn extends $e{instance;resizer;renderer;searcher;webLinkProvider;_TEMPORARY__onKeyListener;_TEMPORARY__onDataListener;command="";commandHistory=[];currentCommandSearchString="";commandHistoryNavigationIdx=void 0;isRunningCommand=!1;setupState=_e.create();constructor(e){super(e),this.instance=new Be.Terminal({allowProposedApi:!0,fontSize:12,letterSpacing:2,fontWeight:400,fontWeightBold:700,fontFamily:`"${Ge}", Menlo, Consolas, monospace`,tabStopWidth:2,theme:Yn,overviewRulerWidth:14,scrollback:1e5,convertEol:!0,scrollOnUserInput:!1}),this.resizer=new De.FitAddon,this.searcher=new Me.SearchAddon,this.renderer=new Ue.WebglAddon}setup(e){if(this.setupState.hasCompleted)throw new S("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 je.Unicode11Addon),this.instance.unicode.activeVersion="11",this.instance.attachCustomKeyEventHandler((e=>tt(e,"Control+KeyF")||tt(e,"Meta+KeyF")?(e.preventDefault(),e.stopPropagation(),this.searchConfig.focus(),!1):!(tt(e,"Control+KeyC")&&this.instance.hasSelection()||tt(e,"Control+KeyV")))),this.webLinkProvider=e?.webLinkProvider?new xe.WebLinksAddon(e.webLinkProvider.handler,{urlRegex:e.webLinkProvider.regex}):new xe.WebLinksAddon,this.instance.loadAddon(this.webLinkProvider),(e?.commands??[]).forEach((e=>{[e.command,...e.aliases??[]].forEach((t=>{this.commandRegistry.has(t)?this.applicationStore.logService.warn(u.create(ie.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,o;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 o=this.commandRegistry.get(t);if(!o)return void this.fail(`command not found: ${t}`);if(this.isRunningCommand)return;this.isRunningCommand=!0,o.handler(n.map((e=>e.trim())),t,e).catch((()=>{})).finally((()=>{this.isRunningCommand=!1,this.isFlushed||this.abort()}))}}else if(tt(t,"Control+KeyD")||tt(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,o=this.applicationStore,o.layoutService.getElementByID(Un.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=`${$n}${this.command}`,o=`${$n}${this.command.substring(0,t-2)}${this.command.length<t-2?" ".repeat(t-this.command.length-2):""}`;let r=0,a=0;for(let n=e.baseY+e.cursorY;n>-1;--n){if(F(e.getLine(n)).translateToString()===o){r=n,a+=(n===e.baseY+e.cursorY?e.cursorX:t)-2;break}a+=n===e.baseY+e.cursorY?e.cursorX:t}return{startY:r,startX:2,endY:r+(n.length-n.length%t)/t,endX:n.length%t,cursorIdx:a}}computeCursorJumpMovement(e){const t=this.getCommandRange();let n,o=!1;if(e){for(let e=t.cursorIdx-1;e>-1;--e)if(this.command.charAt(e).match(/\w/))o||(o=!0);else if(o){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/))o||(o=!0);else if(o){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,o=this.instance.cols,r=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=(o+(n.cursorX-s)%o)%o,u=n.cursorY-(s>n.cursorX?Math.ceil(s/o):0),d=u+n.baseY,u=Math.max(u,-1)):e>0&&(c=(n.cursorX+s)%o,u=n.cursorY+(n.cursorX+s>=o?Math.floor((n.cursorX+s)/o):0),d=u+n.baseY,u=Math.min(u,r-1));const l=d>n.viewportY+r?d-(n.viewportY+r):d<n.viewportY?d-n.viewportY:0;return{seq:Ye(u+1,c+1),scroll:l}}writeToCommand(e){const t=this.getCommandRange(),n=this.command.slice(0,t.cursorIdx),o=this.command.slice(t.cursorIdx),r=this.computeCursorMovement(e.length,!1);this.instance.scrollLines(r.scroll),this.instance.write(e+o+r.seq),this.setCommand(n+e+o)}deleteFromCommand(e){const t=this.getCommandRange(),n=e<0?t.cursorIdx:this.command.length-t.cursorIdx,o=Math.min(Math.abs(e),n);let r,a,i;if(0===e)return;e<0?(r=this.command.slice(0,t.cursorIdx-o),a=this.command.slice(t.cursorIdx,this.command.length),i=-o):(r=this.command.slice(0,t.cursorIdx),a=this.command.slice(t.cursorIdx+o,this.command.length),i=0);const s=this.computeCursorMovement(i);this.instance.scrollLines(s.scroll),this.instance.write(Ye(t.startY+1,t.startX+1)+r+a+" ".repeat(o)+s.seq),this.setCommand(r+a)}get isSetup(){return this.setupState.hasCompleted}isFocused(){return document.activeElement===this.instance.textarea}mount(e){if(!this.setupState.hasCompleted)throw new S("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(Ye(n.startY+1,n.startX+1)+t.padEnd(this.command.length)),this.command=t,n=this.getCommandRange(),this.instance.write(Ye(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(Wn),this.setCommand("")}newSystemCommand(e){this.isRunningCommand||(this.command&&(this.abort(),this.newCommand()),this.instance.write(`${Ve.DIM}(system: ${e})\n${Ve.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 o=F(e.getLine(n)).translateToString();if(o.trim()){t=o!==$n;break}}return""===this.command&&t}clear(){this.flushScreen(),this.instance.scrollToTop(),this.newCommand()}resetANSIStyling(){this.instance.write(Ve.RESET)}showHelp(){var e;this.resetANSIStyling(),this.instance.scrollToBottom(),this.isFlushed||this.isRunningCommand||this.abort(),this.instance.write((e=this.commandRegistry,`\n${Ve.BRIGHT_BLACK}+-------------------------------------------------------+${Ve.RESET}\n${Ve.BRIGHT_BLACK}|${Ve.RESET} ${Ve.BRIGHT_GREEN}[@@]${Ve.RESET} "Hi! Welcome to the HELP menu of Pure IDE" ${Ve.BRIGHT_BLACK}|${Ve.RESET}\n${Ve.BRIGHT_BLACK}|${Ve.RESET} ${Ve.BRIGHT_GREEN}/|__|\\${Ve.RESET} ${Ve.BRIGHT_BLACK}|${Ve.RESET}\n${Ve.BRIGHT_BLACK}+--${Ve.RESET} ${Ve.BRIGHT_GREEN}d b${Ve.RESET} ${Ve.BRIGHT_BLACK}-----------------------------------------------+${Ve.RESET}\n\nFollowing is the list of supported commands:\n\n${(0,Xe.A)(Array.from(e.values()),(e=>e.command)).map((e=>`${Ve.BRIGHT_GREEN}${e.command.padEnd(30)}${Ve.RESET}${e.description}${e.aliases?.length?`\n${"".padEnd(30)}Aliases: ${e.aliases.join(", ")}`:""}\n${"".padEnd(30)}Usage: ${Ve.DIM}${e.usage}${Ve.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(Ve).map((([e,t])=>`${t}${(e=>e?e.trim().match(/^[A-Z_]+$/)?ze(e.trim().replace(/_+/gu," ").toLowerCase()):qe(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)}${Ve.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${Ve.RED}${e}${Ve.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:Kn,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:Kn,regex:this.searchConfig.useRegex,wholeWord:this.searchConfig.matchWholeWord,caseSensitive:this.searchConfig.matchCaseSensitive})}findNext(){this.searcher.findNext(this.searchConfig.searchText,{decorations:Kn,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 o=F(e.getLine(n));t.push(o.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 qn{applicationStore;terminal;constructor(e){this.applicationStore=e,this.terminal=new Xn(e)}}const Jn="(unknown)";class zn{applicationStore;currentUser=Jn;constructor(e){(0,be.Gn)(this,{currentUser:be.sH,setCurrentUser:be.XI}),this.applicationStore=e}get isAnonymous(){return this.currentUser===Jn}setCurrentUser(e){this.currentUser=e}}var Qn,Zn=n(5992);class eo{get localStorage(){return F(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 to{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?H(t):void 0}getStringValue(e){const t=this.getValue(e);return void 0!==t?G(t):void 0}getBooleanValue(e){const t=this.getValue(e);return void 0!==t?V(t):void 0}getObjectValue(e){const t=this.getValue(e);return void 0!==t?((e,t="")=>(function(e,t=""){if(!j(e))throw new k(t||"Value is expected to be a object")}(e,t),e))(t):void 0}hasValue(e){return R(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 no{applicationStore;storage;data;constructor(e){this.applicationStore=e,this.storage=new eo;const t=this.storage.getItem(e.config.applicationStorageKey);this.data=t?v((()=>JSON.parse(t)))??{}:{}}getIndex(e){return this.data[e]}updateIndex(e,t){(0,Zn.A)(t)?delete this.data[e]:this.data[e]=t,this.storage.setItem(this.applicationStore.config.applicationStorageKey,JSON.stringify(this.data))}}class oo{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 ro{timestamp=Date.now();interruptions=[];recordUsageInterruption(){this.interruptions.push(Date.now())}finalizeTimingsRecord(e,t){const n=e.elapsed,o=e.startTime,r=o+n,a={...t??{},...Object.fromEntries(e.records),total:n};let i=0;for(const e of this.interruptions)if(e>=o&&e<=r)i++;else if(e>r)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"}(Qn||(Qn={}));const ao={name:"Default Dark (default)",key:Qn.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"}},io={name:"Legacy Light",key:Qn.LEGACY_LIGHT,TEMPORARY__globalCSSClassName:"theme__legacy-light"},so={name:"High-Contrast Light",key:Qn.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 co;!function(e){e.COLOR_THEME="application.layout.colorTheme"}(co||(co={}));const uo={[co.COLOR_THEME]:{defaultValue:Qn.DEFAULT_DARK}};class lo{applicationStore;backdropContainerElementID;showBackdrop=!1;colorThemeRegistry=new Map;currentColorTheme;constructor(e){(0,be.Gn)(this,{currentColorTheme:be.sH.ref,TEMPORARY__isLightColorThemeEnabled:be.EW,backdropContainerElementID:be.sH,showBackdrop:be.sH,setBackdropContainerElementID:be.XI,setShowBackdrop:be.XI,setColorTheme:be.XI}),this.applicationStore=e,this.colorThemeRegistry.set(Qn.DEFAULT_DARK,ao),this.applicationStore.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraColorThemes?.()??[])).forEach((e=>{this.colorThemeRegistry.has(e.key)?this.applicationStore.logService.warn(u.create(ie.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(co.COLOR_THEME)??Qn.DEFAULT_DARK;this.currentColorTheme=F(this.colorThemeRegistry.get(t)),this.TEMPORARY__syncGlobalCSSClassName(this.currentColorTheme,void 0)}getElementByID(e){return document.querySelector(`[data-elementid='${e}']`)??void 0}setWindowTitle(e){document.title=e}setBackdropContainerElementID(e){this.backdropContainerElementID=e}setShowBackdrop(e){this.showBackdrop=e}get TEMPORARY__isLightColorThemeEnabled(){return this.currentColorTheme.key!==Qn.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 o=this.currentColorTheme;this.currentColorTheme=n,this.TEMPORARY__syncGlobalCSSClassName(n,o),t?.persist&&this.applicationStore.settingService.persistValue(co.COLOR_THEME,e)}getColor(e){return this.currentColorTheme.colors?.[e]??F(this.colorThemeRegistry.get(Qn.DEFAULT_DARK)).colors?.[e]??"transparent"}}class po{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 go{navigator;constructor(e){this.navigator=e}}var mo=n(2853);class fo{applicationStore;storage;registry=new Map;constructor(e){this.applicationStore=e,this.storage=new to(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(u.create(ie.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(D(t))return t;this.applicationStore.logService.warn(u.create(ie.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(x(t))return t;this.applicationStore.logService.warn(u.create(ie.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(M(t))return t;this.applicationStore.logService.warn(u.create(ie.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(j(t))return t;this.applicationStore.logService.warn(u.create(ie.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,mo.A)(n,t)?void 0:t)}}class ho{goToLocation(e,t){throw new N("Navigator does not support this operation")}reload(e){throw new N("Navigator does not support this operation")}goToAddress(e,t){throw new N("Navigator does not support this operation")}visitAddress(e){throw new N("Navigator does not support this operation")}generateAddress(e){throw new N("Navigator does not support this operation")}updateCurrentLocation(e){throw new N("Navigator does not support this operation")}updateCurrentZone(e){throw new N("Navigator does not support this operation")}resetZone(){throw new N("Navigator does not support this operation")}getCurrentBaseAddress(e){throw new N("Navigator does not support this operation")}getCurrentAddress(){throw new N("Navigator does not support this operation")}getCurrentLocation(){throw new N("Navigator does not support this operation")}getCurrentLocationParameters(){throw new N("Navigator does not support this operation")}getCurrentLocationParameterValue(e){throw new N("Navigator does not support this operation")}getCurrentZone(){throw new N("Navigator does not support this operation")}blockNavigation(e,t,n){throw new N("Navigator does not support this operation")}unblockNavigation(){throw new N("Navigator does not support this operation")}get isNavigationBlocked(){throw new N("Navigator does not support this operation")}INTERNAL__internalizeTransientParameter(e){throw new N("Navigator does not support this operation")}}class Eo{applicationStore;storage;constructor(e){this.applicationStore=e,this.storage=new to(this.applicationStore.storageService,"application-user-data-storage")}getNumericValue(e){const t=this.storage.getValue(e);if(D(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve numeric value for user data '${e}'`)}getStringValue(e){const t=this.storage.getValue(e);if(x(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve string value for user data '${e}'`)}getBooleanValue(e){const t=this.storage.getValue(e);if(M(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve boolean value for user data '${e}'`)}getObjectValue(e){const t=this.storage.getValue(e);if(j(t))return t;this.applicationStore.logService.warn(u.create(ie.USER_DATA_RETRIEVE_FAILURE),`Can't retrieve object value for user data '${e}'`)}persistValue(e,t){this.storage.persistValue(e,t)}}const bo=e=>/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/.test(e);var _o;!function(e){e.BUG_FIX="BUG_FIX",e.ENHANCEMENT="ENHANCEMENT"}(_o||(_o={}));const Ao="application.lastOpenedVersion";class To{applicationStore;releaseNotes;showCurrentReleaseModal=!0;showReleaseLog=!1;isConfigured=!1;constructor(e){(0,be.Gn)(this,{showCurrentReleaseModal:be.sH,showReleaseLog:be.sH,isConfigured:be.sH,setShowCurrentRelease:be.XI,configure:be.XI,setReleaseLog:be.XI}),this.applicationStore=e}configure(e){this.isConfigured=!0,this.releaseNotes=(e=>e.map((e=>(P(e.version,"Release notes 'version' is missing"),e.notes?.map((e=>(P(e.type,"Release note 'type' is missing"),P(e.description,"Release note 'description' is missing"),e))),e))))(e)}setShowCurrentRelease(e){this.showCurrentReleaseModal=e}setReleaseLog(e){this.showReleaseLog=e}getViewedVersion(){return this.applicationStore.userDataService.getStringValue(Ao)}updateViewedVersion(){this.applicationStore.userDataService.persistValue(Ao,this.applicationStore.config.appVersion)}showVersion(e,t){const n=e.version;return!(!bo(n)||!bo(t)||1!==(o=t,n.localeCompare(o,void 0,{numeric:!0})));var o}showableVersions(){const e=this.getViewedVersion();if(e)return this.releaseNotes?.filter((t=>this.showVersion(t,e)))}}class yo{uuid=(0,a.A)();extensionStates=[];config;pluginManager;initState=_e.create();platform;timeService;logService;storageService;userDataService;settingService;alertService;notificationService;identityService;commandService;keyboardShortcutsService;layoutService;clipboardService;terminalService;navigationService;navigationContextService;documentationService;assistantService;releaseNotesService;eventService;telemetryService;tracerService;constructor(e,t){this.config=e,this.pluginManager=t,this.timeService=new ro,this.logService=new l,this.logService.registerPlugins(t.getLoggerPlugins()),this.storageService=new no(this),this.settingService=new fo(this),this.userDataService=new Eo(this),this.alertService=new yt(this),this.notificationService=new pn,this.identityService=new zn(this),this.layoutService=new lo(this),this.clipboardService=new po(this),this.terminalService=new qn(this),this.commandService=new we(this),this.keyboardShortcutsService=new Pe(this),this.navigationService=new go(new ho),this.navigationContextService=new Le(this),this.documentationService=new fe(this),this.assistantService=new Re(this),this.releaseNotesService=new To(this),this.eventService=new Oe,this.eventService.registerEventNotifierPlugins(t.getEventNotifierPlugins()),this.telemetryService=new oo(this),this.telemetryService.registerPlugins(t.getTelemetryServicePlugins()),this.telemetryService.setup(),this.tracerService=new Te,this.tracerService.registerPlugins(t.getTracerServicePlugins()),this.extensionStates=this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationExtensionStateBuilders?.()??[])).map((e=>e(this))).filter(R)}async initialize(e){if(this.initState.isInInitialState){this.initState.inProgress();try{if(this.platform)throw new S("Platform is already configured");this.platform=e,this.navigationService=new go(e.getNavigator()),await e.initialize(),this.initState.pass()}catch(e){I(e),this.notificationService.notifyError(e),this.logService.error(u.create(ie.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),this.initState.fail()}}else this.notificationService.notifyIllegalState("Application store is re-initialized")}alertUnhandledError=e=>{this.logUnhandledError(e),this.notificationService.notifyIllegalState(e.message)};logUnhandledError=e=>{this.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Encountered unhandled error in component tree",e)};guardUnhandledError=e=>()=>{e().catch(this.alertUnhandledError)}}var Co;!function(e){e.TAG_REQUEST="download-request",e.TAG_RESPONSE="download-response",e.STREAM_CLOSED="#stream-closed",e.STREAM_ABORTED="#stream-aborted"}(Co||(Co={}));class So{}class No extends So{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 Io{config;logger;pluginManager;basePresets=[];basePlugins=[];baseAddress;pluginRegister;_isConfigured=!1;downloadHelperServiceWorkerPath;downloadHelper=!1;releaseNotes;constructor(e){this.pluginManager=e,this.logger=new No}setup(e){return this.baseAddress=P(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}withReleaseNotes(e){return this.releaseNotes=e,this}setupApplicationStore(e){this.releaseNotes&&e.releaseNotesService.configure(this.releaseNotes)}async fetchApplicationConfiguration(e){const t=new re;let n,o;try{n=await t.get(`${window.location.origin}${e}config.json`)}catch(e){I(e),this.logger.error(u.create(ie.APPLICATION_CONFIGURATION__FAILURE),e)}O(n,"Can't fetch Legend application configuration");try{o=await t.get(`${window.location.origin}${e}version.json`)}catch(e){I(e),this.logger.error(u.create(ie.APPLICATION_CONFIGURATION__FAILURE),e)}return O(o,"Can't fetch Legend application version"),[await this.configureApplication({configData:n,versionData:o,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 re(e.simple?{options:{credentials:"omit"}}:{}),o=await n.get(P(e.url,"Can't load documentation registry: 'url' field is missing or empty"));O(o.entries,"Can't load documentation registry data: 'entries' field is missing");const r=e.includes?.map((e=>new RegExp(`^${e.trim().replace(/[\^$\\.+?()[\]{}|]/g,"\\$&").replace(/\*/g,".*")}$`)));Object.entries(o.entries).forEach((([e,n])=>{r&&!r.some((t=>t.test(e)))||t[e]||(t[e]=n)}))}catch(e){I(e),this.logger.warn(u.create(ie.DOCUMENTATION_FETCH__FAILURE),e)}}))),e.keyedDocumentationEntries=[...me(t),...e.keyedDocumentationEntries]}async start(){O(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 yo(this.config,this.pluginManager);await Promise.all(this.pluginManager.getApplicationPlugins().flatMap((e=>e.getExtraApplicationSetups?.()??[])).map((e=>e(n)))),this.setupApplicationStore(n),await this.loadApplication(n),this.logger.info(u.create(ie.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 I(e),this.logger.error(u.create(ie.APPLICATION_LOAD__FAILURE),"Failed to load Legend application"),e}}}const vo="legend-application-root",ko=JSON.parse('{"rE":"15.1.12","XO":{"c":"@finos/legend-application-plugin-core"}}');class Ro extends s{}class Oo extends Ro{static NAME=ko.XO.c;constructor(){super(Oo.NAME,ko.rE)}install(e){e.registerApplicationPlugin(this)}getExtraApplicationSetups(){return[async e=>{(0,be.jK)({enforceActions:"observed"})}]}getExtraColorThemes(){return[io,so]}getExtraSettingConfigurationEntries(){return e=uo,Object.entries(e).map((e=>({key:e[0],...e[1]})));var e}}class Fo{appName;baseAddress;env;applicationStorageKey;documentationUrl;documentationLinkEntries=[];documentationRegistryEntries=[];keyedDocumentationEntries=[];contextualDocEntries=[];appVersion;appVersionBuildTime;appVersionCommitId;constructor(e){var t,n;this.baseAddress=e.baseAddress,this.appName=P(e.configData.appName,"Can't configure application: 'appName' field is missing or empty"),this.env=P(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:P(e[0],"Documentation link 'key' is missing"),label:P(e[1].label,"Documentation link 'label' is missing"),url:P(e[1].url,"Documentation link 'url' is missing")})))),this.documentationRegistryEntries=e.configData.documentation?.registry??[],this.keyedDocumentationEntries=me(e.configData.documentation?.entries??{}),this.contextualDocEntries=(n=e.configData.documentation?.contextualEntries??{},Object.entries(n).map((e=>({context:e[0],documentationKey:e[1]})))),this.appVersion=F(e.versionData.version,"Can't collect application version: 'version' field is missing"),this.appVersionBuildTime=F(e.versionData.buildTime,"Can't collect application version: 'buildTime' field is missing"),this.appVersionCommitId=F(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 Lo extends Fo{replUrl;useDynamicREPLServer=!1;constructor(e){super(e),O(e.configData.repl,"Can't configure application: 'repl' field is missing"),this.replUrl=Fo.resolveAbsoluteUrl(P(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 wo extends c{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 Po extends wo{pureProtocolProcessorPlugins=[];pureGraphManagerPlugins=[];pureGraphPlugins=[];constructor(){super()}static create(){return new Po}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 Bo,xo=n(6839),Do=n(8684);class Mo{historyAPI;_isNavigationBlocked=!1;_forceBypassNavigationBlocking=!1;_blockCheckers=[];_beforeUnloadListener=e=>{this._forceBypassNavigationBlocking||this._blockCheckers.some((e=>e()))&&(e.returnValue="")};onBlock;onNativePlatformNavigationBlock;constructor(e){(0,be.Gn)(this,{_isNavigationBlocked:be.sH,isNavigationBlocked:be.EW,blockNavigation:be.XI,unblockNavigation:be.XI}),this.historyAPI=e}get window(){return F(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?W.A.parseUrl(e).query:W.A.parse(e))((n=this.getCurrentAddress(),(0,$.J)(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 o,r;delete n[e],this.updateCurrentLocation((o=this.getCurrentLocation(),r=(e=>{const t={};return Object.entries(e).forEach((([e,n])=>{n&&(t[e]=n.toString())})),W.A.stringify(t)})(n),r?`${o}?${r}`:o)),this.updateCurrentZone(t)}}class jo{applicationStore;constructor(e){this.applicationStore=e}async initialize(){}}!function(e){e.INITIAL_COLOR_THEME="initialColorTheme"}(Bo||(Bo={}));class Uo extends jo{navigator;constructor(e,t){super(e),this.navigator=new Mo(t.historyAPI)}getNavigator(){return this.navigator}async initialize(){const e=this.applicationStore.navigationService.navigator.getCurrentLocationParameterValue(Bo.INITIAL_COLOR_THEME);e&&(this.applicationStore.layoutService.setColorTheme(e),this.applicationStore.navigationService.navigator.INTERNAL__internalizeTransientParameter(Bo.INITIAL_COLOR_THEME))}}const Go=(0,Ct.createContext)(void 0),Ho=({children:e})=>{const t=Nt(),n=(0,xo.W6)(),o=(0,ut.iz)((()=>new Uo(t,{historyAPI:n})));return(0,E.jsx)(Go.Provider,{value:o,children:e})},Vo=({children:e,baseUrl:t})=>(0,E.jsx)(Do.Kd,{basename:t,children:(0,E.jsx)(Ho,{children:e})});class Yo{networkClient;constructor(e){this.networkClient=e}get baseUrl(){return F(this.networkClient.baseUrl,"REPL server client has not been configured properly")}get dataCube(){return`${this.baseUrl}/api/dataCube`}async getGridClientLicenseKey(){return this.networkClient.get(`${this.dataCube}/gridLicenseKey`)}async getQueryTypeahead(e){return this.networkClient.post(`${this.dataCube}/typeahead`,e)}async parseQuery(e){return this.networkClient.post(`${this.dataCube}/parseQuery`,e)}async getQueryCode(e){return this.networkClient.post(`${this.dataCube}/getQueryCode`,e)}async getBaseQuery(){return this.networkClient.get(`${this.dataCube}/getBaseQuery`)}async getRelationReturnType(e){return this.networkClient.post(`${this.dataCube}/getRelationReturnType`,e)}async executeQuery(e){return this.networkClient.post(`${this.dataCube}/executeQuery`,e)}}class Ko{}class Wo extends Ko{name;multiplicity;class;accept_ValueSpecificationVisitor(e){return e.visit_Variable(this)}}class $o{subTrees=[];subTypeTrees=[]}class Xo extends $o{class;accept_GraphFetchTreeVisitor(e){return e.visit_RootGraphFetchTree(this)}}var qo,Jo;(Jo=qo||(qo={})).INTERNAL__UNKNOWN_ELEMENT="INTERNAL__UNKNOWN_ELEMENT",Jo.INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT="INTERNAL__UNKNOWN_PACKAGEABLE_ELEMENT",Jo.INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR="INTERNAL__UNKNOWN_FUNCTION_ACTIVATOR",Jo.PACKAGE="PACKAGE",Jo.PACKAGEABLE_ELEMENT="PACKAGEABLE_ELEMENT",Jo.PACKAGEABLE_ELEMENT_POINTER="PACKAGEABLE_ELEMENT_POINTER",Jo.PROFILE="PROFILE",Jo.TAG_POINTER="TAG_POINTER",Jo.STEREOTYPE_POINTER="STEREOTYPE_POINTER",Jo.TAGGED_VALUE="TAGGED_VALUE",Jo.ENUMERATION="ENUMERATION",Jo.ENUM_VALUE="ENUM_VALUE",Jo.CLASS="CLASS",Jo.PROPERTY="PROPERTY",Jo.PROPERTY_DEFAULT_VALUE="PROPERTY_DEFAULT_VALUE",Jo.PROPERTY_POINTER="PROPERTY_POINTER",Jo.MULTIPLICITY="MULTIPLICITY",Jo.CONSTRAINT="CONSTRAINT",Jo.DERIVED_PROPERTY="DERIVED_PROPERTY",Jo.ASSOCIATION="ASSOCIATION",Jo.FUNCTION="FUNCTION",Jo.MEASURE="MEASURE",Jo.UNIT="UNIT",Jo.FUNCTION_TEST_SUITE="FUNCTION_TEST_SUITE",Jo.FUNCTION_TEST="FUNCTION_TEST",Jo.FUNCTION_STORE_TEST_DATA="FUNCTION_STORE_TEST_DATA",Jo.FUNCTION_PARAMETER_VALUE="FUNCTION_PARAMETER_VALUE",Jo.ASSERT_FAIL="ASSERT_FAIL",Jo.ASSERT_PASS="ASSERT_PASS",Jo.EQUAL_TO_JSON_ASSERT_FAIL="EQUAL_TO_JSON_ASSERT_FAIL",Jo.EQUAL_TO="EQUAL_TO",Jo.EQUAL_TO_JSON="EQUAL_TO_JSON",Jo.EQUAL_TO_TDS="EQUAL_TO_TDS",Jo.SECTION_INDEX="SECTION_INDEX",Jo.SECTION="SECTION",Jo.IMPORT_AWARE_CODE_SECTION="IMPORT_AWARE_CODE_SECTION",Jo.DEFAULT_CODE_SECTION="DEFAULT_CODE_SECTION",Jo.RAW_LAMBDA="RAW_LAMBDA",Jo.RAW_VARIABLE="RAW_VARIABLE",Jo.RAW_INSTANCE_VALUE="RAW_INSTANCE_VALUE",Jo.BINDING_TRANSFORMER="BINDING_TRANSFORMER",Jo.INTERNAL__UNKNOWN_VALUE_SPECIFICATION="INTERNAL__UNKNOWN_VALUE_SPECIFICATION",Jo.INTERNAL__PROPAGATED_VALUE="INTERNAL__PROPAGATED_VALUE",Jo.VARIABLE_EXPRESSION="VARIABLE_EXPRESSION",Jo.EXPRESSION="EXPRESSION",Jo.FUNCTION_EXPRESSION="FUNCTION_EXPRESSION",Jo.SIMPLE_FUNCTION_EXPRESSION="SIMPLE_FUNCTION_EXPRESSION",Jo.ABSTRACT_PROPERTY_EXPRESSION="ABSTRACT_PROPERTY_EXPRESSION",Jo.INSTANCE_VALUE="INSTANCE_VALUE",Jo.PRIMITIVE_INSTANCE_VALUE="PRIMITIVE_INSTANCE_VALUE",Jo.ENUM_INSTANCE_VALUE="ENUM_INSTANCE_VALUE",Jo.KEY_EXPRESSION_INSTANCE_VALUE="KEY_EXPRESSION_INSTANCE_VALUE",Jo.KEY_EXPRESSION_VALUE="KEY_EXPRESSION_VALUE",Jo.RUNTIME_INSTANCE_VALUE="RUNTIME_INSTANCE_VALUE",Jo.PAIR_INSTANCE_VALUE="PAIR_INSTANCE_VALUE",Jo.MAPPING_INSTANCE_VALUE="MAPPING_INSTANCE_VALUE",Jo.PURE_LIST_INSTANCE_VALUE="PURE_LIST_INSTANCE_VALUE",Jo.COLLECTION_INSTANCE_VALUE="COLLECTION_INSTANCE_VALUE",Jo.LAMBDA_FUNCTION_INSTANCE_VALUE="LAMBDA_FUNCTION_INSTANCE_VALUE",Jo.FUNCTION_TYPE="FUNCTION_TYPE",Jo.LAMBDA_FUNCTION="LAMBDA_FUNCTION",Jo.ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE="ALLOY_SERIALIZATION_CONFIG_INSTANCE_VALUE",Jo.ALLOY_SERIALIZATION_CONFIG="ALLOY_SERIALIZATION_CONFIG",Jo.ROOT_GRAPH_FETCH_TREE="ROOT_GRAPH_FETCH_TREE",Jo.PROPERTY_GRAPH_FETCH_TREE="PROPERTY_GRAPH_FETCH_TREE",Jo.SUBTYPE_GRAPH_FETCH_TREE="SUBTYPE_GRAPH_FETCH_TREE",Jo.SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE="SUBTYPE_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.PROPERTY_GRAPH_FETCH_TREE_INSTANCE_VALUE="PROEPRTY_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE="ROOT_GRAPH_FETCH_TREE_INSTANCE_VALUE",Jo.RELATION_COL_SPEC_ARRAY="RELATION_COL_SPEC_ARRAY",Jo.RELATION_COL_SPEC="RELATION_COL_SPEC",Jo.INTERNAL__UNKNOWN_STORE="INTERNAL__UNKNOWN_STORE",Jo.INTERNAL__UNKNOWN_CONNECTION="INTERNAL__UNKNOWN_CONNECTION",Jo.INTERNAL__UNKNOWN_PROPERTY_MAPPING="INTERNAL__UNKNOWN_PROPERTY_MAPPING",Jo.INTERNAL__UNKNOWN_CLASS_MAPPING="INTERNAL__UNKNOWN_CLASS_MAPPING",Jo.INTERNAL__UNKNOWN_MAPPING_INCLUDE="INTERNAL__UNKNOWN_MAPPING_INCLUDE",Jo.MAPPING="MAPPING",Jo.MAPPING_INCLUDE_MAPPING="MAPPING_INCLUDE_MAPPING",Jo.ASSOCIATION_IMPLEMENTATION="ASSOCIATION_IMPLEMENTATION",Jo.RELATIONAL_ASSOCIATION_IMPLEMENTATION="RELATIONAL_ASSOCIATION_IMPLEMENTATION",Jo.XSTORE_ASSOCIATION_IMPLEMENTATION="XSTORE_ASSOCIATION_IMPLEMENTATION",Jo.ENUMERATION_MAPPING="ENUMERATION_MAPPING",Jo.ENUM_VALUE_MAPPING="ENUM_VALUE_MAPPING",Jo.SET_IMPLEMENTATION="SET_IMPLEMENTATION",Jo.OPERATION_SET_IMPLEMENTATION="OPERATION_SET_IMPLEMENTATION",Jo.PURE_INSTANCE_SET_IMPLEMENTATION="PURE_INSTANCE_SET_IMPLEMENTATION",Jo.PROPERTY_MAPPING="PROPERTY_MAPPING",Jo.LOCAL_MAPPING_PROPERTY="LOCAL_MAPPING_PROPERTY",Jo.PURE_PROPERTY_MAPPING="PURE_PROPERTY_MAPPING",Jo.XSTORE_PROPERTY_MAPPING="XSTORE_PROPERTY_MAPPING",Jo.MAPPING_TEST_LEGACY="MAPPING_TEST_LEGACY",Jo.MAPPING_TEST_SUITE="MAPPING_TEST_SUITE",Jo.MAPPING_TEST="MAPPING_TEST",Jo.STORE_TEST_DATA="STORE_TEST_DATA",Jo.INPUT_DATA="INPUT_DATA",Jo.FLAT_DATA_INPUT_DATA="FLAT_DATA_INPUT_DATA",Jo.RELATIONAL_INPUT_DATA="RELATIONAL_INPUT_DATA",Jo.OBJECT_INPUT_DATA="OBJECT_INPUT_DATA",Jo.MAPPING_TEST_ASSERT="MAPPING_TEST_ASSERT",Jo.EXPECTED_OUTPUT_MAPPING_TEST_ASSERT="EXPECTED_OUTPUT_MAPPING_TEST_ASSERT",Jo.FILTER_MAPPING="FILTER_MAPPING",Jo.COLUMN_MAPPING="COLUMN_MAPPING",Jo.GROUP_BY_MAPPING="GROUP_BY_MAPPING",Jo.RUNTIME="RUNTIME",Jo.PACKAGEABLE_RUNTIME="PACKAGEABLE_RUNTIME",Jo.ENGINE_RUNTIME="ENGINE_RUNTIME",Jo.SINGLE_ENGINE_RUNTIME="SINGLE_ENGINE_RUNTIME",Jo.LEGACY_RUNTIME="LEGACY_RUNTIME",Jo.RUNTIME_POINTER="RUNTIME_POINTER",Jo.STORE_CONNECTIONS="STORE_CONNECTIONS",Jo.IDENTIFIED_CONNECTION="IDENTIFIED_CONNECTION",Jo.PACKAGEABLE_CONNECTION="PACKAGEABLE_CONNECTION",Jo.CONNECTION_POINTER="CONNECTION_POINTER",Jo.XML_MODEL_CONNECTION="XML_MODEL_CONNECTION",Jo.JSON_MODEL_CONNECTION="JSON_MODEL_CONNECTION",Jo.MODEL_CHAIN_CONNECTION="MODEL_CHAIN_CONNECTION",Jo.FLAT_DATA_CONNECTION="FLAT_DATA_CONNECTION",Jo.AGGREGATION_AWARE_MAPPING="AGGREGATION_AWARE_MAPPING",Jo.AGGREGATION_AWARE_SPECIFICATION="AGGREGATION_AWARE_SPECIFICATION",Jo.AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER="AGGREGATION_AWARE_SET_IMPLEMENTATION_CONTAINER",Jo.AGGREGATE_FUNCTION="AGGREGATE_FUNCTION",Jo.GROUP_BY_FUNCTION="GROUP_BY_FUNCTION",Jo.GENERATION_TREE="GENERATION_TREE",Jo.GENERATION_TREE_NODE="GENERATION_TREE_NODE",Jo.FILE_GENERATION="FILE_GENERATION",Jo.CONFIGURATION_PROPERTY="CONFIGURATION_PROPERTY",Jo.INTERNAL__UNKNOWN_EMBEDDED_DATA="INTERNAL__UNKNOWN_EMBEDDED_DATA",Jo.EXTERNAL_FORMAT_DATA="EXTERNAL_FORMAT_DATA",Jo.MODEL_STORE_DATA="MODEL_STORE_DATA",Jo.MODEL_DATA="MODEL_DATA",Jo.MODEL_EMBEDDED_DATA="MODEL_EMBEDDED_DATA",Jo.MODEL_INSTANCE_DATA="MODEL_INSTANCE_DATA",Jo.DATA_ELEMENT_REFERENCE="DATA_ELEMENT_REFERENCE",Jo.DATA_ELEMENT="DATA_ELEMENT",Jo.RELATIONAL_CSV_DATA="RELATIONAL_CSV_DATA",Jo.RELATIONAL_TDS="RELATIONAL_TDS",Jo.RELATIONAL_CSV_DATA_TABLE="RELATIONAL_CSV_DATA_TABLE",Jo.BINDING="BINDING",Jo.SCHEMA_SET="SCHEMA_SET",Jo.SCHEMA="SCHEMA",Jo.MODEL_UNIT="MODEL_UNIT",Jo.URL_STREAM="URL_STREAM",Jo.EXTERNAL_FORMAT_CONNECTION="EXTERNAL_FORMAT_CONNECTION",Jo.SERVICE="SERVICE",Jo.SERVICE_OWNER="SERVICE_OWNER",Jo.SERVICE_PURE_EXECUTION="SERVICE_PURE_EXECUTION",Jo.SERVICE_PURE_SINGLE_EXECUTION="SERVICE_PURE_SINGLE_EXECUTION",Jo.SERVICE_KEYED_EXECUTION_PARAMETER="SERVICE_KEYED_EXECUTION_PARAMETER",Jo.SERVICE_PURE_MULTI_EXECUTION="SERVICE_PURE_MULTI_EXECUTION",Jo.SERVICE_TEST_CONTAINER="SERVICE_TEST_CONTAINER",Jo.SERVICE_LEGACY_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_SINGLE_EXECUTION_TEST",Jo.SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST="SERVICE_LEGACY_KEYED_SINGLE_EXECUTION_TEST",Jo.SERVICE_LEGACY_MULTI_EXECUTION_TEST="SERVICE_LEGACY_MULTI_EXECUTION_TEST",Jo.SERVICE_CONNECTION_TEST_DATA="SERVICE_CONNECTION_TEST_DATA",Jo.SERVICE_TEST_DATA="SERVICE_TEST_DATA",Jo.SERVICE_TEST_SUITE="SERVICE_TEST_SUITE",Jo.SERVICE_TEST="SERVICE_TEST",Jo.SERVICE_PARAMETER_VALUE="SERVICE_PARAMETER_VALUE",Jo.SERVICE_POST_VALIDATION="SERVICE_POST_VALIDATION",Jo.SERVICE_POST_VALIDATION_ASSERTION="SERVICE_POST_VALIDATION_ASSERTION",Jo.EXECUTION_ENVIRONMENT_INSTANCE="EXECUTION_ENVIRONMENT_INSTANCE",Jo.SINGLE_EXECUTION_PARAMETER="SINGLE_EXECUTION_PARAMETER",Jo.MULTI_EXECUTION_PARAMETER="MULTI_EXECUTION_PARAMETER",Jo.INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION="INTERNAL__UNKNOWN_DATASOURCE_SPECIFICATION",Jo.INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY="INTERNAL__UNKNOWN_AUTHENTICATION_STRATEGY",Jo.INTERNAL__UNKNOWN_POST_PROCESSOR="INTERNAL__UNKNOWN_POST_PROCESSOR",Jo.DATABASE="DATABASE",Jo.DATABASE_SCHEMA="DATABASE_SCHEMA",Jo.DATABASE_JOIN="DATABASE_JOIN",Jo.DATABASE_FILTER="DATABASE_FILTER",Jo.DATBASE_VIEW="DATBASE_VIEW",Jo.DATABASE_SCHEMA_TABLE="DATABASE_SCHEMA_TABLE",Jo.DATABASE_TABLE_COLUMN="DATABASE_TABLE_COLUMN",Jo.RELATIONAL="RELATIONAL",Jo.RELATIONAL_OPERATION_DYNA_FUNC="RELATIONAL_OPERATION_DYNA_FUNC",Jo.RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS="RELATIONAL_OPERATION_ELEMENTS_WITH_JOINS",Jo.RELATIONAL_OPERATION_LITERAL="RELATIONAL_OPERATION_LITERAL",Jo.RELATIONAL_OPERATION_LITERAL_LIST="RELATIONAL_OPERATION_LITERAL_LIST",Jo.RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN="RELATIONAL_OPERATION_TABLE_ALIAS_COLUMN",Jo.RELATIONAL_OPERATION_TABLE_POINTER="RELATIONAL_OPERATION_TABLE_POINTER",Jo.RELATIONAL_OPERATION_JOIN_POINTER="RELATIONAL_OPERATION_JOIN_POINTER",Jo.RELATIONAL_DATATYPE_VARCHAR="RELATIONAL_DATATYPE_VARCHAR",Jo.RELATIONAL_DATATYPE_CHAR="RELATIONAL_DATATYPE_CHAR",Jo.RELATIONAL_DATATYPE_VARBINARY="RELATIONAL_DATATYPE_VARBINARY",Jo.RELATIONAL_DATATYPE_BINARY="RELATIONAL_DATATYPE_BINARY",Jo.RELATIONAL_DATATYPE_BIT="RELATIONAL_DATATYPE_BIT",Jo.RELATIONAL_DATATYPE_INTEGER="RELATIONAL_DATATYPE_INTEGER",Jo.RELATIONAL_DATATYPE_BIGINT="RELATIONAL_DATATYPE_BIGINT",Jo.RELATIONAL_DATATYPE_SMALLINT="RELATIONAL_DATATYPE_SMALLINT",Jo.RELATIONAL_DATATYPE_TINYINT="RELATIONAL_DATATYPE_TINYINT",Jo.RELATIONAL_DATATYPE_NUMERIC="RELATIONAL_DATATYPE_NUMERIC",Jo.RELATIONAL_DATATYPE_DECIMAL="RELATIONAL_DATATYPE_DECIMAL",Jo.RELATIONAL_DATATYPE_DOUBLE="RELATIONAL_DATATYPE_DOUBLE",Jo.RELATIONAL_DATATYPE_FLOAT="RELATIONAL_DATATYPE_FLOAT",Jo.RELATIONAL_DATATYPE_REAL="RELATIONAL_DATATYPE_REAL",Jo.RELATIONAL_DATATYPE_DATE="RELATIONAL_DATATYPE_DATE",Jo.RELATIONAL_DATATYPE_TIMESTAMP="RELATIONAL_DATATYPE_TIMESTAMP",Jo.RELATIONAL_DATATYPE_OTHER="RELATIONAL_DATATYPE_OTHER",Jo.RELATIONAL_DATATYPE_SEMISTRUCTURED="RELATIONAL_DATATYPE_SEMISTRUCTURED",Jo.RELATIONAL_DATATYPE_JSON="RELATIONAL_DATATYPE_JSON",Jo.ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION="ROOT_RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Jo.RELATIONAL_INSTANCE_SET_IMPLEMENTATION="RELATIONAL_INSTANCE_SET_IMPLEMENTATION",Jo.REALTIONAL_PROPERTY_MAPPING="REALTIONAL_PROPERTY_MAPPING",Jo.EMBEDDED_REALTIONAL_PROPERTY_MAPPING="EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="INLINE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING="OTHERWISE_EMBEDDED_REALTIONAL_PROPERTY_MAPPING",Jo.BUSINESS_MILESTONING="BUSINESS_MILESTONING",Jo.BUSINESS_SNAPSHOT_MILESTONING="BUSINESS_SNAPSHOT_MILESTONING",Jo.PROCESSING_MILESTONING="PROCESSING_MILESTONING",Jo.RELATIONAL_DATABASE_CONNECTION="RELATIONAL_DATABASE_CONNECTION",Jo.STATIC_DATASOURCE_SPECIFICATION="STATIC_DATASOURCE_SPECIFICATION",Jo.LOCAL_H2_DATASOURCE_SPECIFICATION="LOCAL_H2_DATASOURCE_SPECIFICATION",Jo.EMBEDDED_H2_DATASOURCE_SPECIFICATION="EMBEDDED_H2_DATASOURCE_SPECIFICATION",Jo.SNOWFLAKE_DATASOURCE_SPECIFICATION="SNOWFLAKE_DATASOURCE_SPECIFICATION",Jo.REDSHIFT_DATASOURCE_SPECIFICATION="REDSHIFT_DATASOURCE_SPECIFICATION",Jo.BIGQUERY_DATASOURCE_SPECIFICATION="BIGQUERY_DATASOURCE_SPECIFICATION",Jo.DATABRICKS_DATASOURCE_SPECIFICATION="DATABRICKS_DATASOURCE_SPECIFICATION",Jo.SPANNER_DATASOURCE_SPECIFICATION="SPANNER_DATASOURCE_SPECIFICATION",Jo.TRINO_DATASOURCE_SPECIFICATION="TRINO_DATASOURCE_SPECIFICATION",Jo.TRINO_SSL_SPECIFICATION="TRINO_SSL_SPECIFICATION",Jo.DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY="DELEGRATED_KEREBEROS_AUTHENTICATION_STRATEGY",Jo.DEFAULT_H2_AUTHENTICATION_STRATEGY="DEFAULT_H2_AUTHENTICATION_STRATEGY",Jo.SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY="SNOWFLAKE_PUBLIC_AUTHENTICATION_STRATEGY",Jo.API_TOKEN_AUTHENTICATION_STRATEGY="API_TOKEN_AUTHENTICATION_STRATEGY",Jo.GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY="GCP_APPLICATION_DEFAULT_CREDENTIALS_AUTHENTICATION_STRATEGY",Jo.USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Jo.OAUTH_AUTHENTICATION_STRATEGY="OAUTH_AUTHENTICATION_STRATEGY",Jo.GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY="GCP_WORKLOAD_IDENTITY_FEDERATION_AUTHENTICATION_STRATEGY",Jo.MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY="MIDDLE_TIER_USERNAME_PASSWORD_AUTHENTICATION_STRATEGY",Jo.TRINO_DELEGATED_KERBEROS_AUTHENTICATION_STRATEGY="TRINO_KEREBEROS_AUTHENTICATION_STRATEGY",Jo.MAPPER_POST_PROCESSOR="MAPPER_POST_PROCESSOR",Jo.SCHEMA_MAPPER="SCHEMA_MAPPER",Jo.TABLE_MAPPER="TABLE_MAPPER",Jo.FLAT_DATA="FLAT_DATA",Jo.FLAT_DATA_SECTION="FLAT_DATA_SECTION",Jo.FLAT_DATA_PROPERTY="FLAT_DATA_PROPERTY",Jo.FLAT_DATA_ROOT_RECORD_TYPE="FLAT_DATA_ROOT_RECORD_TYPE",Jo.FLAT_DATA_RECORD_TYPE="FLAT_DATA_RECORD_TYPE",Jo.FLAT_DATA_RECORD_FIELD="FLAT_DATA_RECORD_FIELD",Jo.FLAT_DATA_STRING="FLAT_DATA_STRING",Jo.FLAT_DATA_BOOLEAN="FLAT_DATA_BOOLEAN",Jo.FLAT_DATA_NUMBER="FLAT_DATA_NUMBER",Jo.FLAT_DATA_INTEGER="FLAT_DATA_INTEGER",Jo.FLAT_DATA_FLOAT="FLAT_DATA_FLOAT",Jo.FLAT_DATA_DECIMAL="FLAT_DATA_DECIMAL",Jo.FLAT_DATA_DATE="FLAT_DATA_DATE",Jo.FLAT_DATA_DATE_TIME="FLAT_DATA_DATE_TIME",Jo.FLAT_DATA_STRICT_DATE="FLAT_DATA_STRICT_DATE",Jo.FLAT_DATA_INSTANCE_SET_IMPLEMENTATION="FLAT_DATA_INSTANCE_SET_IMPLEMENTATION",Jo.FLAT_DATA_PROPERTY_MAPPING="FLAT_DATA_PROPERTY_MAPPING",Jo.FLAT_DATA_ASSOCIATION_IMPLEMENTATION="FLAT_DATA_ASSOCIATION_IMPLEMENTATION",Jo.FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING="FLAT_DATA_ASSOCIATION_PROPERTY_MAPPING",Jo.EMBEDDED_FLAT_DATA_PROPERTY_MAPPING="EMBEDDED_FLAT_DATA_PROPERTY_MAPPING",Jo.FLAT_DATA_SECTION_POINTER="FLAT_DATA_SECTION_POINTER",Jo.SNOWFLAKE_APP="SNOWFLAKE_APP",Jo.HOSTED_SERVICE="HOSTED_SERVICE",Jo.HOSTED_SERVICE_OWNER="HOSTED_SERVICE_OWNER";var zo=n(9499);n(1937);const Qo=e=>zo.sha1().update(e).digest("hex"),Zo=e=>Qo(e.filter(R).map((e=>"string"==typeof e||"boolean"==typeof e||"number"==typeof e?Qo(e):e.hashCode)).join(","));class er{lowerBound=0;upperBound;constructor(e,t){this.lowerBound=e,this.upperBound=t}get hashCode(){return Zo([qo.MULTIPLICITY,this.lowerBound.toString(),this.upperBound?.toString()??""])}static ZERO=new er(0,0);static ZERO_ONE=new er(0,1);static ZERO_MANY=new er(0,void 0);static ONE=new er(1,1);static ONE_MANY=new er(1,void 0)}class tr extends Ko{multiplicity=er.ONE}class nr extends tr{body=[];parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_Lambda(this)}}class or extends Ko{multiplicity=er.ONE}class rr{name;startType;path=[]}class ar extends Ko{multiplicity=er.ONE}class ir extends ar{function;fControl;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedFunction(this)}}class sr extends Ko{multiplicity=er.ONE_MANY;values=[];accept_ValueSpecificationVisitor(e){return e.visit_Collection(this)}}class cr extends or{}class ur extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CDecimal(this)}}class dr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CInteger(this)}}class lr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CString(this)}}class pr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CFloat(this)}}class gr extends cr{}class mr extends gr{value;accept_ValueSpecificationVisitor(e){return e.visit_CDateTime(this)}}class fr extends gr{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictDate(this)}}class hr extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CStrictTime(this)}}class Er extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CBoolean(this)}}class br{mapFn;aggregateFn}class _r{first;second}class Ar{runtime}class Tr{executionContext}class yr extends $o{property;parameters=[];alias;subType;accept_GraphFetchTreeVisitor(e){return e.visit_PropertyGraphFetchTree(this)}}class Cr extends $o{subTypeClass;accept_GraphFetchTreeVisitor(e){return e.visit_SubTypeGraphFetchTree(this)}}class Sr{includeType;typeKeyName;includeEnumType;removePropertiesWithNullValues;removePropertiesWithEmptySets;fullyQualifiedTypePath;includeObjectReference}class Nr extends tr{add;expression;key;accept_ValueSpecificationVisitor(e){return e.visit_KeyExpression(this)}}class Ir{values=[]}class vr{name;pmapFn;aggregateFn}class kr{name;columnFn}class Rr{column;direction}class Or{function}class Fr{function;columnName}class Lr{colSpecs=[]}class wr{name;type;function1;function2}class Pr{path=[]}var Br,xr,Dr,Mr,jr,Ur,Gr,Hr,Vr;!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"}(Br||(Br={})),(Mr=xr||(xr={})).STRING="String",Mr.BOOLEAN="Boolean",Mr.BINARY="Binary",Mr.NUMBER="Number",Mr.INTEGER="Integer",Mr.FLOAT="Float",Mr.DECIMAL="Decimal",Mr.DATE="Date",Mr.STRICTDATE="StrictDate",Mr.DATETIME="DateTime",Mr.STRICTTIME="StrictTime",Mr.LATESTDATE="LatestDate",Mr.BYTE="Byte",function(e){e.Service_Test="serviceTest",e.Mapping_Test="mappingTest",e.Function_Test="functionTest"}(Dr||(Dr={})),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"}(Ur||(Ur={})),function(e){e.ALL_VERSIONS="AllVersions",e.ALL_VERSIONS_IN_RANGE="AllVersionsInRange"}(Gr||(Gr={})),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"}(Hr||(Hr={})),function(e){e.LET="meta::pure::functions::lang::letFunction",e.NEW="meta::pure::functions::meta::new",e.FROM="meta::pure::mapping::from"}(Vr||(Vr={}));class Yr{package;name;get path(){return`${this.package}::${this.name}`}get hashCode(){return Zo([qo.PACKAGEABLE_ELEMENT,this.path])}}const Kr=new ce((0,se.PL)(class{sourceId;startLine;startColumn;endLine;endColumn},{sourceId:(0,se.MY)(),startLine:(0,se.MY)(),startColumn:(0,se.MY)(),endLine:(0,se.MY)(),endColumn:(0,se.MY)()}));class Wr{package;name;sourceInformation;static serialization=new ce((0,se.PL)(Wr,{package:(0,se.MY)(),name:(0,se.MY)(),sourceInformation:le(Kr.schema)}))}(0,se.PL)(class{type;path;constructor(e,t){this.type=e,this.path=t}get hashCode(){return Zo([qo.PACKAGEABLE_ELEMENT_POINTER,this.type??"",this.path])}},{path:(0,se.MY)(),type:(0,se.lq)((0,se.MY)())});const $r=(0,se.PL)(er,{lowerBound:(0,se.MY)(),upperBound:(0,se.lq)((0,se.MY)())});class Xr{}class qr extends Xr{property;parameters=[]}class Jr extends ar{class;property;parameters=[];accept_ValueSpecificationVisitor(e){return e.visit_AppliedProperty(this)}}class zr{}class Qr extends zr{mappings=[];connectionStores=[];connections=[];get hashCode(){return Zo([qo.ENGINE_RUNTIME,Zo(this.mappings),Zo(this.connectionStores),Zo(this.connections)])}}class Zr extends Qr{get hashCode(){return Zo([qo.SINGLE_ENGINE_RUNTIME,Zo(this.mappings),Zo(this.connectionStores),Zo(this.connections)])}}class ea extends zr{runtime;get hashCode(){return Zo([qo.RUNTIME_POINTER,this.runtime])}}var ta;!function(e){e.RUNTIME_POINTER="runtimePointer",e.LEGACY_RUNTIME="legacyRuntime",e.ENGINE_RUNTIME="engineRuntime",e.SINGLE_ENGINE_RUNTIME="localEngineRuntime"}(ta||(ta={}));const na=(0,se.PL)(ea,{_type:de(ta.RUNTIME_POINTER),runtime:(0,se.MY)()});(0,se.PL)(class extends Yr{runtimeValue;get hashCode(){return Zo([qo.PACKAGEABLE_RUNTIME,this.path,this.runtimeValue])}accept_PackageableElementVisitor(e){return e.visit_PackageableRuntime(this)}},{_type:de("runtime"),name:(0,se.MY)(),package:(0,se.MY)(),runtimeValue:(0,se.Ie)((e=>{return(t=e)instanceof Zr?(0,se.lK)(Zr,t):(0,se.lK)(Qr,t);var t}),(e=>{return(t=e)._type===ta.SINGLE_ENGINE_RUNTIME?(0,se.iu)(Zr,t):(0,se.iu)(Qr,t);var t}))});class oa{queryTimeOutInSeconds;enableConstraints}class ra extends oa{useAnalytics;toFlowSetFunction}class aa extends oa{}class ia extends Ko{multiplicity=er.ONE;fullPath;accept_ValueSpecificationVisitor(e){return e.visit_PackageableElementPtr(this)}}class sa extends ia{accept_ValueSpecificationVisitor(e){return e.visit_GenericTypeInstance(this)}}class ca extends Ko{multiplicity=er.ONE;type;value;accept_ValueSpecificationVisitor(e){return e.visit_ClassInstance(this)}}var ua,da,la,pa,ga;!function(e){e.BASE_EXECUTION_CONTEXT="BaseExecutionContext",e.ANALYTICS_EXECUTION_CONTEXT="AnalyticsExecutionContext"}(ua||(ua={})),function(e){e.PROPERTY_PATH_ELEMENT="propertyPath"}(da||(da={})),function(e){e.PROPERTY_GRAPH_FETCH_TREE="propertyGraphFetchTree"}(la||(la={})),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"}(pa||(pa={})),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"}(ga||(ga={}));const ma=(0,se.PL)(Wo,{_type:de(ga.VARIABLE),class:(0,se.lq)((0,se.MY)()),multiplicity:ue($r),name:(0,se.MY)()}),fa=e=>(0,se.PL)(nr,{_type:de(ga.LAMBDA),body:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),parameters:(0,se.p_)(ue(ma))}),ha=e=>(0,se.PL)(Nr,{_type:de(ga.KEY_EXPRESSION),add:(0,se.lq)((0,se.MY)()),expression:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))),key:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))}),Ea=e=>(0,se.PL)(ir,{_type:de(ga.APPLIED_FUNCTION),function:(0,se.MY)(),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),ba=e=>(0,se.PL)(Jr,{_type:de(ga.APPLIED_PROPERTY),class:(0,se.lq)((0,se.MY)()),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),property:(0,se.MY)()}),_a=(0,se.PL)(ia,{_type:de(ga.PACKAGEABLE_ELEMENT_PTR),fullPath:(0,se.MY)()}),Aa=(0,se.PL)(sa,{_type:de(ga.GENERIC_TYPE_INSTANCE),fullPath:(0,se.MY)()}),Ta=e=>{const t=new sa;return x(e.unitType)?t.fullPath=e.unitType:t.fullPath=G(e.fullPath,"Can't deserialize hacked unit: either field 'fullPath' or 'unitType' must be a non-empty string"),t},ya=e=>{const t=new sa;return t.fullPath=G(e.fullPath,"Can't deserialize hacked class: field 'fullPath' must be a non-empty string"),t},Ca=e=>(0,se.PL)(sr,{_type:de(ga.COLLECTION),multiplicity:ue($r),values:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),Sa=(0,se.PL)(class extends or{fullPath;value;accept_ValueSpecificationVisitor(e){return e.visit_EnumValue(this)}},{_type:de(ga.ENUM_VALUE),fullPath:(0,se.MY)(),value:(0,se.MY)()}),Na=(0,se.PL)(ur,{_type:de(ga.CDECIMAL),value:(0,se.MY)()}),Ia=(0,se.PL)(dr,{_type:de(ga.CINTEGER),value:(0,se.MY)()}),va=(0,se.PL)(lr,{_type:de(ga.CSTRING),value:(0,se.MY)()}),ka=(0,se.PL)(pr,{_type:de(ga.CFLOAT),value:(0,se.MY)()}),Ra=(0,se.PL)(mr,{_type:de(ga.CDATETIME),value:(0,se.MY)()}),Oa=(0,se.PL)(hr,{_type:de(ga.CSTRICTTIME),value:(0,se.MY)()}),Fa=(0,se.PL)(fr,{_type:de(ga.CSTRICTDATE),value:(0,se.MY)()}),La=(0,se.PL)(class extends gr{accept_ValueSpecificationVisitor(e){return e.visit_CLatestDate(this)}},{_type:de(ga.CLATESTDATE)}),wa=(0,se.PL)(Er,{_type:de(ga.CBOOLEAN),value:(0,se.MY)()}),Pa=(0,se.PL)(class extends cr{value;accept_ValueSpecificationVisitor(e){return e.visit_CByteArray(this)}},{_type:de(ga.CBYTEARRAY),value:(0,se.MY)()}),Ba=(e,t,n)=>{if(Array.isArray(e.values)){if(0===e.values.length){const e=new sr;return e.multiplicity=er.ZERO,e}return 1===e.values.length?n({...e,value:e.values[0]}):si({...e,_type:ga.COLLECTION},t)}return n(e)},xa=e=>(0,se.PL)(ca,{_type:de(ga.CLASS_INSTANCE),multiplicity:ue($r),type:(0,se.MY)(),value:(0,se.Ie)((t=>function(e,t){if(e instanceof rr)return(0,se.lK)(Ma(t),e);if(e instanceof Xo)return(0,se.lK)(ja(t),e);if(e instanceof Tr)return(0,se.lK)(Wa(t),e);if(e instanceof br)return(0,se.lK)($a(t),e);if(e instanceof _r)return(0,se.lK)(Xa(t),e);if(e instanceof Ir)return(0,se.lK)(Ja(t),e);if(e instanceof Ar)return(0,se.lK)(qa,e);if(e instanceof Sr)return(0,se.lK)(za,e);if(e instanceof vr)return(0,se.lK)(Qa(t),e);if(e instanceof kr)return(0,se.lK)(Za(t),e);if(e instanceof Fr)return(0,se.lK)(ai(t),e);if(e instanceof Or)return(0,se.lK)(ri(t),e);if(e instanceof Rr)return(0,se.lK)(ei,e);if(e instanceof wr)return(0,se.lK)(ni(t),e);if(e instanceof Lr)return(0,se.lK)(oi(t),e);if(e instanceof Pr)return(0,se.lK)(ti,e);const n=t.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolSerializers?.()??[]));for(const o of n){const n=o(e,t);if(n)return n}throw new N("Can't serialize class instance value: no compatible serializer available from plugins",e)}(t,e)),((t,n)=>function(e,t,n){switch(t){case pa.PATH:return(0,se.iu)(Ma(n),e);case pa.ROOT_GRAPH_FETCH_TREE:return(0,se.iu)(ja(n),e);case pa.AGGREGATE_VALUE:return(0,se.iu)($a(n),e);case pa.EXECUTION_CONTEXT_INSTANCE:return(0,se.iu)(Wa(n),e);case pa.PAIR:return(0,se.iu)(Xa(n),e);case pa.PURE_LIST:return(0,se.iu)(Ja(n),e);case pa.RUNTIME_INSTANCE:return(0,se.iu)(qa,e);case pa.SERIALIZATION_CONFIG:return(0,se.iu)(za,e);case pa.TDS_AGGREGATE_VALUE:return(0,se.iu)(Qa(n),e);case pa.TDS_COLUMN_INFORMATION:return(0,se.iu)(Za(n),e);case pa.TDS_OLAP_AGGREGATION:return(0,se.iu)(ai(n),e);case pa.TDS_OLAP_RANK:return(0,se.iu)(ri(n),e);case pa.TDS_SORT_INFORMATION:return(0,se.iu)(ei,e);case pa.COL_SPEC:return(0,se.iu)(ni(n),e);case pa.COL_SPEC_ARRAY:return(0,se.iu)(oi(n),e);case pa.RELATION_STORE_ACCESSOR:return(0,se.iu)(ti,e);default:{const o=n.flatMap((e=>e.V1_getExtraClassInstanceValueProtocolDeserializers?.()??[]));for(const r of o){const o=r(e,t,n);if(o)return o}throw new N(`Can't deserialize value specification of type '${e._type}': no compatible deserializer available from plugins`)}}}(t,n.json.type,e)))}),Da=e=>(0,se.PL)(qr,{_type:de(da.PROPERTY_PATH_ELEMENT),property:(0,se.MY)(),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),Ma=e=>(0,se.PL)(rr,{_type:de(pa.PATH),name:(0,se.MY)(),startType:(0,se.MY)(),path:(0,se.p_)((0,se.Ie)((t=>function(e,t){return e instanceof qr?(0,se.lK)(Da(t),e):se._Z}(t,e)),(t=>function(e,t){return e._type===da.PROPERTY_PATH_ELEMENT?(0,se.iu)(Da(t),e):se._Z}(t,e))))}),ja=e=>(0,se.PL)(Xo,{_type:de(pa.ROOT_GRAPH_FETCH_TREE),class:(0,se.MY)(),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e))))}),Ua=e=>(0,se.PL)(yr,{_type:de(la.PROPERTY_GRAPH_FETCH_TREE),alias:(0,se.lq)((0,se.MY)()),parameters:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))),property:(0,se.MY)(),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subType:(0,se.lq)((0,se.MY)())}),Ga=e=>(0,se.PL)(Cr,{_type:de(pa.SUBTYPE_GRAPH_FETCH_TREE),subTrees:(0,se.p_)((0,se.Ie)((t=>Ha(t,e)),(t=>Va(t,e)))),subTypeClass:(0,se.MY)()});function Ha(e,t){if(e instanceof yr)return(0,se.lK)(Ua(t),e);if(e instanceof Xo)return(0,se.lK)(ja(t),e);if(e instanceof Cr)return(0,se.lK)(Ga(t),e);throw new N("Can't serialize graph fetch tree",e)}function Va(e,t){switch(e._type){case la.PROPERTY_GRAPH_FETCH_TREE:return(0,se.iu)(Ua(t),e);case pa.ROOT_GRAPH_FETCH_TREE:return(0,se.iu)(ja(t),e);case pa.SUBTYPE_GRAPH_FETCH_TREE:return(0,se.iu)(Ga(t),e);default:throw new N(`Can't deserialize graph fetch tree node of type '${e._type}'`)}}const Ya=e=>(0,se.PL)(ra,{_type:de(ua.ANALYTICS_EXECUTION_CONTEXT),enableConstraints:(0,se.lq)((0,se.MY)()),queryTimeOutInSeconds:(0,se.lq)((0,se.MY)()),toFlowSetFunction:ue(fa(e)),useAnalytics:(0,se.MY)()}),Ka=(0,se.PL)(aa,{_type:de(ua.BASE_EXECUTION_CONTEXT),enableConstraints:(0,se.lq)((0,se.MY)()),queryTimeOutInSeconds:(0,se.lq)((0,se.MY)())}),Wa=e=>(0,se.PL)(Tr,{_type:de(pa.EXECUTION_CONTEXT_INSTANCE),executionContext:(0,se.Ie)((t=>function(e,t){return e instanceof ra?(0,se.lK)(Ya(t),e):e instanceof aa?(0,se.lK)(Ka,e):se._Z}(t,e)),(t=>function(e,t){switch(e._type){case ua.ANALYTICS_EXECUTION_CONTEXT:return(0,se.iu)(Ya(t),e);case ua.BASE_EXECUTION_CONTEXT:return(0,se.iu)(Ka,e);default:return se._Z}}(t,e)))}),$a=e=>(0,se.PL)(br,{_type:de(pa.AGGREGATE_VALUE),mapFn:ue(fa(e)),aggregateFn:ue(fa(e))}),Xa=e=>(0,se.PL)(_r,{_type:de(pa.PAIR),first:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))),second:(0,se.Ie)((t=>ci(t,e)),(t=>si(t,e)))}),qa=(0,se.PL)(Ar,{_type:de(pa.RUNTIME_INSTANCE),runtime:(0,se.Ie)((e=>(e=>{if(e instanceof Qr)return(0,se.lK)(Qr,e);if(e instanceof ea)return(0,se.lK)(na,e);throw new N("Can't serialize runtime",e)})(e)),(e=>(0,se.iu)(Qr,e)))}),Ja=e=>(0,se.PL)(Ir,{_type:de(pa.PURE_LIST),values:(0,se.p_)((0,se.Ie)((t=>ci(t,e)),(t=>si(t,e))))}),za=(0,se.PL)(Sr,{_type:de(pa.SERIALIZATION_CONFIG),includeType:(0,se.lq)((0,se.MY)()),typeKeyName:(0,se.MY)(),includeEnumTypee:(0,se.lq)((0,se.MY)()),removePropertiesWithNullValuese:(0,se.lq)((0,se.MY)()),removePropertiesWithEmptySetse:(0,se.lq)((0,se.MY)()),fullyQualifiedTypePathe:(0,se.lq)((0,se.MY)()),includeObjectReferencee:(0,se.lq)((0,se.MY)())}),Qa=e=>(0,se.PL)(vr,{_type:de(pa.TDS_AGGREGATE_VALUE),name:(0,se.MY)(),pmapFn:ue(fa(e)),aggregateFn:ue(fa(e))}),Za=e=>(0,se.PL)(kr,{_type:de(pa.TDS_COLUMN_INFORMATION),name:(0,se.MY)(),columnFn:ue(fa(e))}),ei=(0,se.PL)(Rr,{_type:de(pa.TDS_SORT_INFORMATION),column:(0,se.MY)(),direction:(0,se.MY)()}),ti=(0,se.PL)(Pr,{path:(0,se.p_)((0,se.MY)())}),ni=e=>(0,se.PL)(wr,{function1:(0,se.lq)(ue(fa(e))),function2:(0,se.lq)(ue(fa(e))),name:(0,se.MY)(),type:(0,se.lq)((0,se.MY)())}),oi=e=>(0,se.PL)(Lr,{colSpecs:(0,se.p_)(ue(ni(e)))}),ri=e=>(0,se.PL)(Or,{_type:de(pa.TDS_OLAP_RANK),function:ue(fa(e))}),ai=e=>(0,se.PL)(Fr,{_type:de(pa.TDS_OLAP_AGGREGATION),function:ue(fa(e)),columnName:(0,se.MY)()});class ii{plugins=[];constructor(e){this.plugins=e}visit_INTERNAL__UnknownValueSpecfication(e){return e.content}visit_Variable(e){return(0,se.lK)(ma,e)}visit_Lambda(e){return(0,se.lK)(fa(this.plugins),e)}visit_KeyExpression(e){return(0,se.lK)(ha(this.plugins),e)}visit_PackageableElementPtr(e){return(0,se.lK)(_a,e)}visit_GenericTypeInstance(e){return(0,se.lK)(Aa,e)}visit_AppliedFunction(e){return(0,se.lK)(Ea(this.plugins),e)}visit_AppliedProperty(e){return(0,se.lK)(ba(this.plugins),e)}visit_Collection(e){return(0,se.lK)(Ca(this.plugins),e)}visit_EnumValue(e){return(0,se.lK)(Sa,e)}visit_CInteger(e){return(0,se.lK)(Ia,e)}visit_CDecimal(e){return(0,se.lK)(Na,e)}visit_CString(e){return(0,se.lK)(va,e)}visit_CBoolean(e){return(0,se.lK)(wa,e)}visit_CByteArray(e){return(0,se.lK)(Pa,e)}visit_CFloat(e){return(0,se.lK)(ka,e)}visit_CDateTime(e){return(0,se.lK)(Ra,e)}visit_CStrictDate(e){return(0,se.lK)(Fa,e)}visit_CStrictTime(e){return(0,se.lK)(Oa,e)}visit_CLatestDate(e){return(0,se.lK)(La,e)}visit_ClassInstance(e){return(0,se.lK)(xa(this.plugins),e)}}function si(e,t){switch(e._type){case ga.APPLIED_FUNCTION:return(0,se.iu)(Ea(t),e);case ga.APPLIED_PROPERTY:return(0,se.iu)(ba(t),e);case ga.VARIABLE:return(0,se.iu)(ma,e);case ga.LAMBDA:return(0,se.iu)(fa(t),e);case ga.KEY_EXPRESSION:return(0,se.iu)(ha(t),e);case ga.COLLECTION:return(0,se.iu)(Ca(t),e);case ga.ENUM_VALUE:return(0,se.iu)(Sa,e);case ga.CBOOLEAN:return Ba(e,t,(e=>(0,se.iu)(wa,e)));case ga.CBYTEARRAY:return Ba(e,t,(e=>(0,se.iu)(Pa,e)));case ga.CDATETIME:return Ba(e,t,(e=>(0,se.iu)(Ra,e)));case ga.CSTRICTTIME:return Ba(e,t,(e=>(0,se.iu)(Oa,e)));case ga.CDECIMAL:return Ba(e,t,(e=>(0,se.iu)(Na,e)));case ga.CFLOAT:return Ba(e,t,(e=>(0,se.iu)(ka,e)));case ga.CINTEGER:return Ba(e,t,(e=>(0,se.iu)(Ia,e)));case ga.CLATESTDATE:return Ba(e,t,(e=>(0,se.iu)(La,e)));case ga.CSTRICTDATE:return Ba(e,t,(e=>(0,se.iu)(Fa,e)));case ga.CSTRING:if(Array.isArray(e.values)&&!e.values.length&&U(e.multiplicity)&&1===e.multiplicity.upperBound){const e=new lr;return e.value="",e}return Ba(e,t,(e=>(0,se.iu)(va,e)));case ga.CLASS_INSTANCE:return(0,se.iu)(xa(t),e);case pa.PAIR:case pa.AGGREGATE_VALUE:case pa.EXECUTION_CONTEXT_INSTANCE:case pa.PATH:case pa.ROOT_GRAPH_FETCH_TREE:case pa.PURE_LIST:case pa.RUNTIME_INSTANCE:case pa.SERIALIZATION_CONFIG:case pa.TDS_AGGREGATE_VALUE:case pa.TDS_COLUMN_INFORMATION:case pa.TDS_OLAP_AGGREGATION:case pa.TDS_OLAP_RANK:case pa.TDS_SORT_INFORMATION:return(0,se.iu)(xa(t),{_type:ga.CLASS_INSTANCE,type:e._type,value:e});case ga.HACKED_CLASS:return ya(e);case ga.UNIT_TYPE:case ga.HACKED_UNIT:return Ta(e);case ga.PRIMITIVE_TYPE:case ga.ENUM:case ga.CLASS:case ga.MAPPING_INSTANCE:case ga.PACKAGEABLE_ELEMENT_PTR:return(0,se.iu)(_a,e);case ga.GENERIC_TYPE_INSTANCE:return(0,se.iu)(Aa,e);default:throw new N(`Can't deserialize value specification of type '${e._type}'`)}}function ci(e,t){return e.accept_ValueSpecificationVisitor(new ii(t))}var ui=n(8492);const di=e=>F((0,ui.A)(e.split("::"))),li=(e,t)=>Array.isArray(t)?t.some((t=>li(e,t))):e===t||di(t)===e;var pi,gi,mi,fi,hi;!function(e){e.AVERAGE="average",e.COUNT="count",e.DISTINCT="distinct",e.FIRST="first",e.JOIN_STRINGS="joinStrings",e.LAST="last",e.MAX="max",e.MIN="min",e.SUM="sum",e.STD_DEV_POPULATION="stdDevPopulation",e.STD_DEV_SAMPLE="stdDevSample",e.UNIQUE_VALUE_ONLY="uniqueValueOnly"}(pi||(pi={})),function(e){e.EQUAL="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"}(gi||(gi={})),function(e){e.ASCENDING="ascending",e.DESCENDING="descending"}(mi||(mi={})),function(e){e.AND="AND",e.OR="OR"}(fi||(fi={}));class Ei{uuid=(0,a.A)();timestamp=Date.now();data;constructor(e,t,n,o){this.data={name:e,runtime:t,sourceQuery:n,configuration:o,originalColumns:[],leafExtendedColumns:[],filter:void 0,groupBy:void 0,pivot:void 0,groupExtendedColumns:[],selectColumns:[],sortColumns:[],limit:void 0}}static create(e,t,n,o){return new Ei(e,t,n,o)}clone(){const e=new Ei("","",{},{});return e.data=JSON.parse(JSON.stringify(this.data)),e}stageCols(e){switch(e){case"leaf-extend":return[...this.data.originalColumns];case"filter":case"aggregation":case"group-extend":return[...this.data.originalColumns,...this.data.leafExtendedColumns];case"select":return[...this.data.originalColumns,...this.data.leafExtendedColumns,...this.data.groupExtendedColumns];case"sort":return[...this.data.selectColumns];default:throw new S(`Unknown stage '${e}'`)}}}function bi(e,t){return e?.find((e=>e.name===t))}function _i(e,t){return F(e?.find((e=>e.name===t)),`Can't find column '${t}'`)}!function(e){e.EXTEND="meta::pure::functions::relation::extend",e.FILTER="meta::pure::functions::relation::filter",e.GROUP_BY="meta::pure::functions::relation::groupBy",e.LIMIT="meta::pure::functions::relation::limit",e.PIVOT="meta::pure::functions::relation::pivot",e.SELECT="meta::pure::functions::relation::select",e.SLICE="meta::pure::functions::relation::slice",e.SORT="meta::pure::functions::relation::sort",e.CAST="meta::pure::functions::lang::cast",e.FROM="meta::pure::mapping::from",e.ASC="meta::pure::functions::relation::ascending",e.DESC="meta::pure::functions::relation::descending",e.AND="meta::pure::functions::boolean::and",e.NOT="meta::pure::functions::boolean::not",e.OR="meta::pure::functions::boolean::or",e.CONTAINS="meta::pure::functions::string::contains",e.ENDS_WITH="meta::pure::functions::string::endsWith",e.EQUAL="meta::pure::functions::boolean::equal",e.GREATER_THAN="meta::pure::functions::boolean::greaterThan",e.GREATER_THAN_EQUAL="meta::pure::functions::boolean::greaterThanEqual",e.IN="meta::pure::functions::collection::in",e.IS_EMPTY="meta::pure::functions::collection::isEmpty",e.LESS_THAN="meta::pure::functions::boolean::lessThan",e.LESS_THAN_EQUAL="meta::pure::functions::boolean::lessThanEqual",e.STARTS_WITH="meta::pure::functions::string::startsWith",e.AVERAGE="meta::pure::functions::math::average",e.COUNT="meta::pure::functions::collection::count",e.DISTINCT="meta::pure::functions::collection::distinct",e.FIRST="meta::pure::functions::collection::first",e.JOIN_STRINGS="meta::pure::functions::string::joinStrings",e.LAST="meta::pure::functions::collection::last",e.MAX="meta::pure::functions::collection::max",e.MIN="meta::pure::functions::collection::min",e.SUM="meta::pure::functions::math::sum",e.STD_DEV_POPULATION="meta::pure::functions::math::stdDevPopulation",e.STD_DEV_SAMPLE="meta::pure::functions::math::stdDevSample",e.UNIQUE_VALUE_ONLY="meta::pure::functions::collection::uniqueValueOnly"}(hi||(hi={}));const Ai="x";function Ti(e){return w(si(e,[]),nr)}function yi(e){const t=new Wo;return t.name=e??Ai,t}function Ci(e,t){const n=new Jr;return n.property=e,n.parameters.push(t??yi()),n}function Si(e,t){const n=new nr;return n.parameters=e,n.body=t,n}function Ni(e,t){const n=new ir;return n.function=e,n.parameters=t,n}function Ii(e){const t=new sr;return t.multiplicity=new er(e.length,e.length),t.values=e,t}function vi(e,t){const n=(e,t)=>(e.value=t,e);switch(e){case xr.STRING:return n(new lr,G(t));case xr.BOOLEAN:return n(new Er,V(t));case xr.NUMBER:case xr.DECIMAL:return n(new ur,H(t));case xr.INTEGER:return n(new dr,H(t));case xr.FLOAT:return n(new pr,H(t));case xr.DATE:case xr.DATETIME:return n(new mr,G(t));case xr.STRICTDATE:return n(new fr,G(t));case xr.STRICTTIME:return n(new hr,G(t));default:throw new N(`Unsupported column type '${e}'`)}}function ki(e){const t=new ia;return t.fullPath=e,t}function Ri(e,t){const n=new ca;return n.type=e,n.value=t,n}function Oi(e,t,n){const o=new wr;return o.name=e,o.function1=t,o.function2=n,o}function Fi(e){const t=new Lr;return t.colSpecs=e,Ri(pa.COL_SPEC_ARRAY,t)}function Li(e){const t=yi();return e.length?e.map((e=>Oi(e.name,Si([t],[Ci(e.name,t)]),Si([t],[Ni(e.function,[t])])))):[Oi("INTERNAL__filler_count_agg_column",Si([t],[t]),Si([t],[Ni(hi.COUNT,[t])]))]}function wi(e){if("groupOperation"in e){const t=e,n=t.groupOperation===fi.AND?hi.AND:hi.OR;let o=[];return t.conditions.forEach((e=>{o.push(wi(e)),2===o.length&&(o=[Ni(n,o)])})),F(o[0])}{const t=e,n=Ci(t.name),o=(e,...t)=>Ni(di(e),[n,...t]),r=()=>vi(t.type,t.value),a=e=>Ni(di(hi.NOT),[e]);switch(t.operation){case gi.EQUAL:return o(hi.EQUAL,r());case gi.GREATER_THAN:return o(hi.GREATER_THAN,r());case gi.GREATER_THAN_OR_EQUAL:return o(hi.GREATER_THAN_EQUAL,r());case gi.LESS_THAN:return o(hi.LESS_THAN,r());case gi.LESS_THAN_OR_EQUAL:return o(hi.LESS_THAN_EQUAL,r());case gi.CONTAINS:return o(hi.CONTAINS,r());case gi.ENDS_WITH:return o(hi.ENDS_WITH,r());case gi.STARTS_WITH:return o(hi.STARTS_WITH,r());case gi.BLANK:return o(hi.IS_EMPTY);case gi.NOT_EQUAL:return a(o(hi.EQUAL,r()));case gi.NOT_BLANK:return a(o(hi.IS_EMPTY));case gi.NOT_CONTAINS:return a(o(hi.CONTAINS,r()));default:throw new N(`Unsupported filter operation '${t.operation}'`)}}}function Pi(e,t){const n=e.filter((e=>!bi(t,e.name)));return n.length?Ni(di(hi.EXTEND),[Fi(n.map((e=>Oi(e.name,Si([yi()],[vi(xr.STRING,"")])))))]):void 0}function Bi(e){switch(e){case Ui.AVERAGE:return pi.AVERAGE;case Ui.COUNT:return pi.COUNT;case Ui.MAX:return pi.MAX;case Ui.MIN:return pi.MIN;case Ui.SUM:return pi.SUM;default:throw new S(`Unsupported aggregate function '${e}'`)}}function xi(){const e=yi();return Oi(Mi,Si([e],[e]),Si([e],[Ni(hi.COUNT,[e])]))}const Di="INTERNAL__tree",Mi="INTERNAL__count";var ji,Ui,Gi,Hi,Vi,Yi,Ki;!function(e){e.ASCENDING="asc",e.DESCENDING="desc"}(ji||(ji={})),function(e){e.COUNT="count",e.SUM="sum",e.MAX="max",e.MIN="min",e.AVERAGE="avg"}(Ui||(Ui={}));class Wi{grid;rowCount=void 0;constructor(e){(0,be.Gn)(this,{rowCount:be.sH}),this.grid=e}async fetchRows(e){e.request.rowGroupCols.length?e.api.setColumnsVisible([Di],!0):e.api.setColumnsVisible([Di],!1);const t=F(this.grid.getLatestSnapshot()),n=function(e,t){let n,o=!1;if(e.rowGroupCols.length){const o=t.stageCols("aggregation");n={columns:e.rowGroupCols.map((e=>({name:e.id,type:_i(o,e.id).type}))),aggColumns:e.valueCols.filter((e=>R(e.field)&&R(e.aggFunc))).map((e=>({name:F(e.field),type:_i(o,F(e.field)).type,function:Bi(e.aggFunc)})))}}let r=[];if(e.sortModel.length){const n=t.stageCols("sort");r=e.sortModel.map((e=>({..._i(n,e.colId),direction:e.sort===ji.ASCENDING?mi.ASCENDING:mi.DESCENDING})))}if((0,mo.A)(r,t.data.sortColumns)&&(0,mo.A)(n,t.data.groupBy)||(o=!0),o){const e=t.clone();return e.data.sortColumns=r,e.data.groupBy=n,e}return t}(e.request,t);n.uuid!==t.uuid&&this.grid.publishSnapshot(n);try{const t=function(e,t){const n=e.data,o=si(n.sourceQuery,[]),r=[],a={},i=(e,t)=>{r.push(t),a[e]=t};if(n.leafExtendedColumns.length&&i("leafExtend",Ni(di(hi.EXTEND),[Fi(n.leafExtendedColumns.map((e=>Oi(e.name,Ti(e.lambda)))))])),n.filter&&i("filter",Ni(di(hi.FILTER),[Si([yi()],[wi(n.filter)])])),n.groupBy){const t=n.groupBy;i("groupBy",Ni(di(hi.GROUP_BY),[Fi(t.columns.map((e=>Oi(e.name)))),Fi(Li(t.aggColumns))]));const o=Pi(e.stageCols("aggregation"),[...t.columns,...t.aggColumns]);o&&i("groupByExtend",o)}if(n.groupExtendedColumns.length&&i("groupExtend",Ni(di(hi.EXTEND),[Fi(n.groupExtendedColumns.map((e=>Oi(e.name,Ti(e.lambda)))))])),n.selectColumns.length&&i("select",Ni(di(hi.SELECT),[Fi(n.selectColumns.map((e=>Oi(e.name))))])),n.sortColumns.length&&i("sort",Ni(di(hi.SORT),[Ii(n.sortColumns.map((e=>{return Ni(di(e.direction===mi.ASCENDING?hi.ASC:hi.DESC),[(t=e.name,Ri(pa.COL_SPEC,Oi(t,undefined,undefined)))]);var t})))])),n.limit&&i("limit",Ni(di(hi.LIMIT),[vi(xr.INTEGER,n.limit)])),t?.pagination&&r.push(Ni(di(hi.SLICE),[vi(xr.INTEGER,t.pagination.start),vi(xr.INTEGER,t.pagination.end)])),r.push(Ni(di(hi.FROM),[ki(n.runtime)])),t?.postProcessor?.(e,r,a),!r.length)return o;for(let e=0;e<r.length;e++)F(r[e]).parameters.unshift(0===e?o:F(r[e-1]));return F(r[r.length-1])}(n,{postProcessor:(r=e.request.groupKeys,(e,t,n)=>{const o=e=>{const o=n[e];o&&(t.splice(t.indexOf(o),1),n[e]=void 0)},a=e.data;if(n.groupBy){const i=F(a.groupBy);if(r.length&&t.splice(t.indexOf(n.groupBy),0,Ni(di(hi.FILTER),[Si([yi()],[wi({conditions:r.map(((e,t)=>({...F(i.columns[t]),operation:gi.EQUAL,value:e}))),groupOperation:fi.AND})])])),r.length<i.columns.length){const a=t.indexOf(n.groupBy),s=i.columns.slice(0,r.length+1),c=Ni(di(hi.GROUP_BY),[Fi(s.map((e=>Oi(e.name)))),Fi([...Li(i.aggColumns),xi()])]);t[a]=c,n.groupBy=c;const u=Pi(e.stageCols("aggregation"),[...s,...i.aggColumns]);o("groupByExtend"),n.groupByExtend=u,u&&t.splice(a+1,0,u)}else o("groupBy"),o("groupByExtend");n.select&&r.length<i.columns.length&&(n.select.parameters=[Fi([...a.selectColumns.map((e=>Oi(e.name))),Oi(Mi)])])}}),pagination:this.grid.isPaginationEnabled&&void 0!==e.request.startRow&&void 0!==e.request.endRow?{start:e.request.startRow,end:e.request.endRow}:void 0}),a=new nr;a.body.push(t);const i=await this.grid.dataCube.engine.executeQuery(a),s=(o=i.result).rows.map(((e,t)=>{const n={},r=o.columns;return e.values.forEach(((e,t)=>{n[r[t]]=M(e)?String(e):e})),n.rowNumber=t,n}));this.grid.isPaginationEnabled?(e.success({rowData:s}),0===e.request.groupKeys.length&&(0,be.h5)((()=>{this.rowCount=(e.request.startRow??0)+s.length}))):(e.success({rowData:s,rowCount:s.length}),0===e.request.groupKeys.length&&(0,be.h5)((()=>{this.rowCount=s.length})))}catch(t){I(t),this.grid.dataCube.application.notificationService.notifyError(t),e.fail()}var o,r}getRows(e){this.fetchRows(e).catch((e=>{I(e),this.grid.dataCube.application.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Error ocurred while fetching data for grid should have been handled gracefully",e)}))}}class $i{dataCube;application;engine;latestSnapshot;constructor(e){this.dataCube=e,this.application=e.application,this.engine=e.engine}async receiveSnapshot(e){this.latestSnapshot=e,await this.applySnapshot(e)}publishSnapshot(e){this.latestSnapshot=e,this.dataCube.snapshotManager.broadcastSnapshot(e)}getLatestSnapshot(){return this.latestSnapshot}}function Xi(e){switch(e.type){case xr.STRING:case xr.DATE:case xr.DATETIME:case xr.STRICTDATE:return[];case xr.NUMBER:case xr.DECIMAL:case xr.INTEGER:case xr.FLOAT:return[Ui.AVERAGE,Ui.COUNT,Ui.SUM,Ui.MAX,Ui.MIN];default:return[]}}function qi(e){switch(e){case pi.AVERAGE:return Ui.AVERAGE;case pi.COUNT:return Ui.COUNT;case pi.MAX:return Ui.MAX;case pi.MIN:return Ui.MIN;case pi.SUM:return Ui.SUM;default:throw new S(`Unsupported aggregate function '${e}'`)}}function Ji(e,t){const n=e.data.sortColumns,o=bi(n,t);return o?{sort:o.direction===mi.ASCENDING?ji.ASCENDING:ji.DESCENDING,sortIndex:n.indexOf(o)}:{sort:null,sortIndex:null}}function zi(e,t){const n=e.data,o=bi(e.stageCols("aggregation"),t),r=bi(n.groupBy?.columns,t),a=bi(n.groupBy?.aggColumns,t);return{rowGroup:Boolean(r),aggFunc:a?qi(a.function):o&&[xr.NUMBER,xr.DECIMAL,xr.FLOAT,xr.INTEGER].includes(o.type)?Ui.SUM:null,allowedAggFuncs:o?Xi(o):[]}}class Qi extends $i{_client;clientDataSource;clientLicenseKey;isPaginationEnabled=!1;constructor(e){super(e),(0,be.Gn)(this,{clientDataSource:be.sH,clientLicenseKey:be.sH,setClientLicenseKey:be.XI,isPaginationEnabled:be.sH,setPaginationEnabled:be.XI}),this.clientDataSource=new Wi(this)}setClientLicenseKey(e){this.clientLicenseKey=e}setPaginationEnabled(e){this.isPaginationEnabled=e,this.isPaginationEnabled?this.clientDataSource=new Wi(this):(this.client.collapseAll(),this.client.refreshServerSide())}configureClient(e){this._client=e}get client(){return F(this._client,"Grid client is not configured")}async applySnapshot(e){const t=function(e){const t=e.data;return{columnDefs:[{headerName:"",colId:Di,cellRenderer:"agGroupCellRenderer",showRowGroup:!0,hide:!e.data.groupBy,lockPinned:!0,lockPosition:!0,cellStyle:{flex:1,"justify-content":"space-between",display:"flex"}},...t.selectColumns.map((t=>({headerName:t.name,field:t.name,flex:1,resizable:!0,minWidth:50,sortable:!0,enableRowGroup:!0,enableValue:!0,menuTabs:["generalMenuTab","columnsMenuTab"],...Ji(e,t.name),...zi(e,t.name)})))]}}(e);this.client.updateGridOptions(t)}async initialize(){this.setClientLicenseKey(await this.dataCube.replStore.client.getGridClientLicenseKey())}}class Zi{}class es{availableColumns=[];selectedColumns=[];availableColumnsSearchText="";selectedColumnsSearchText="";constructor(){(0,be.Gn)(this,{availableColumns:be.sH,selectedColumns:be.sH,availableColumnsSearchText:be.sH,selectedColumnsSearchText:be.sH,setAvailableColumns:be.XI,setSelectedColumns:be.XI,setSelectedColumnsSearchText:be.XI,setAvailableColumnsSearchText:be.XI})}setAvailableColumns(e){this.availableColumns=e.slice().sort(((e,t)=>e.name.localeCompare(t.name)))}setSelectedColumns(e){this.selectedColumns=e}setAvailableColumnsSearchText(e){this.availableColumnsSearchText=e}setSelectedColumnsSearchText(e){this.selectedColumnsSearchText=e}}class ts extends Zi{column;direction;constructor(e,t){super(),(0,be.Gn)(this,{direction:be.sH,setDirection:be.XI}),this.column=e,this.direction=t}get name(){return this.column.name}setDirection(e){this.direction=e}}class ns{dataCube;columnsSelector;constructor(e){this.dataCube=e,this.columnsSelector=new es}applySnaphot(e){const t=e.stageCols("sort"),n=e.data.sortColumns;this.columnsSelector.setAvailableColumns(t.filter((e=>!n.find((t=>t.name===e.name)))).map((e=>new ts(_i(t,e.name),mi.ASCENDING)))),this.columnsSelector.setSelectedColumns(n.map((e=>new ts(_i(t,e.name),e.direction))))}buildSnapshot(e,t){const n=this.columnsSelector.selectedColumns.map((e=>({name:e.column.name,type:e.column.type,direction:e.direction})));return!(0,mo.A)(n,t.data.sortColumns)&&(e.data.sortColumns=n,!0)}}class os{sourceId;startLine;startColumn;endLine;endColumn;constructor(e,t,n,o,r){this.sourceId=e,this.startLine=t,this.startColumn=n,this.endLine=o,this.endColumn=r}}!function(e){e.COMPILATION="COMPILATION",e.PARSER="PARSER"}(Gi||(Gi={}));class rs{message="";errorType;sourceInformation;static serialization=new ce((0,se.PL)(rs,{errorType:(0,se.lq)((0,se.MY)()),message:(0,se.MY)(),sourceInformation:ue(Kr.schema)}))}class as extends rs{static serialization=new ce((0,se.PL)(as,{errorType:(0,se.lq)((0,se.MY)()),message:(0,se.MY)(),sourceInformation:ue(Kr.schema)}))}class is extends y{sourceInformation}class ss extends is{}class cs{uuid=(0,a.A)();query;parserError;constructor(e){(0,be.Gn)(this,{query:be.sH,parserError:be.sH,setQuery:be.XI,setParserError:be.XI}),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:o,endLine:r,endColumn:a}=e;return new os(t,n+0,o-0,r+0,a-0)}}class us{dataCube;queryEditorState;currentSubQuery;constructor(e){(0,be.Gn)(this,{currentSubQuery:be.sH,queryEditorState:be.sH,setCurrentSubQuery:be.XI,parseQuery:be.L3}),this.dataCube=e,this.queryEditorState=new cs("")}setCurrentSubQuery(e){this.currentSubQuery=e}*parseQuery(){try{this.queryEditorState.setParserError(void 0),yield(0,be.gP)(this.dataCube.replStore.client.parseQuery({code:`|${this.queryEditorState.query}`}))}catch(e){if(I(e),e instanceof te&&e.response.status===X.BAD_REQUEST){const t=as.serialization.fromJson(e.payload),n=new ss(t.message);t.sourceInformation&&(n.sourceInformation=new os(t.sourceInformation.sourceId,t.sourceInformation.startLine,t.sourceInformation.startColumn,t.sourceInformation.endLine,t.sourceInformation.endColumn)),this.queryEditorState.setParserError(n)}}}}class ds{dataCube;name="";limit=-1;constructor(e){this.dataCube=e,(0,be.Gn)(this,{name:be.sH,setName:be.XI,limit:be.sH,setLimit:be.XI})}setName(e){this.name=e}setLimit(e){this.limit=Math.round(void 0===e||e<0?-1:e)}applySnaphot(e){this.setName(e.data.name),this.setLimit(e.data.limit)}buildSnapshot(e,t){const n=t.data;if(this.name!==n.name)return n.name=this.name,!0;if(void 0===n.limit){if(-1!==this.limit)return n.limit=this.limit,!0}else if(this.limit!==n.limit)return n.limit=this.limit,!0;return!1}}!function(e){e.COLUMNS="Columns",e.VERTICAL_PIVOTS="VPivots",e.HORIZONTAL_PIVOTS="HPivots",e.SORTS="Sorts",e.EXTENDED_COLUMNS="Extended Columns",e.FILTER="Filter",e.GENERAL_PROPERTIES="General Properties",e.COLUMN_PROPERTIES="Column Properties",e.CODE="Code"}(Hi||(Hi={}));class ls extends $i{sortsPanel;generalPropertiesPanel;codePanel;isPanelOpen=!1;currentTab=Hi.GENERAL_PROPERTIES;constructor(e){super(e),(0,be.Gn)(this,{applyChanges:be.XI,currentTab:be.sH,setCurrentTab:be.XI,isPanelOpen:be.sH,openPanel:be.XI,closePanel:be.XI}),this.sortsPanel=new ns(this.dataCube),this.generalPropertiesPanel=new ds(this.dataCube),this.codePanel=new us(this.dataCube)}openPanel(){this.isPanelOpen=!0}closePanel(){this.isPanelOpen=!1}setCurrentTab(e){this.currentTab=e}applyChanges(){const e=F(this.getLatestSnapshot()),t=e.clone();[this.sortsPanel.buildSnapshot(t,e),this.generalPropertiesPanel.buildSnapshot(t,e)].some(Boolean)&&this.publishSnapshot(t)}async applySnapshot(e){this.sortsPanel.applySnaphot(e),this.generalPropertiesPanel.applySnaphot(e)}async initialize(){}}!function(e){e.CLASS_BUILDER="classBuilder",e.TDS_BUILDER="tdsBuilder",e.JSON_BUILDER="json"}(Vi||(Vi={})),function(e){e.RELATIONAL="relational",e.RELATIONAL_EXECUTION_ACTIVITY="RelationalExecutionActivity",e.AGGREGATION_AWARE_ACTIVITY="aggregationAware"}(Yi||(Yi={})),function(e){e.CSV="CSV"}(Ki||(Ki={}));class ps{_type;constructor(e){this._type=e}}class gs{}class ms extends gs{sql;comment;constructor(e){super(),this.sql=e}}class fs extends gs{rewrittenQuery}class hs extends gs{values;constructor(e){super(),this.values=e}}class Es{builder;activities}class bs extends Es{values}class _s extends Es{value;constructor(e){super(),this.value=e}}class As{name;type;relationalType;doc}class Ts extends ps{columns=[];constructor(){super(Vi.TDS_BUILDER)}}class ys{values=[]}class Cs{columns=[];rows=[]}class Ss extends Es{_UUID=(0,a.A)();builder=new Ts;result=new Cs}class Ns extends ps{_type=Vi.CLASS_BUILDER}class Is extends Es{builder=new Ns(Vi.CLASS_BUILDER);objects}class vs{static builderSerialization=new ce((0,se.PL)(vs,{_type:(0,se.MY)()}))}class ks{}class Rs extends ks{sql;comment;static serialization=new ce((0,se.PL)(Rs,{sql:(0,se.MY)(),comment:(0,se.lq)((0,se.MY)())}))}class Os extends ks{rewrittenQuery;static serialization=new ce((0,se.PL)(Os,{rewrittenQuery:(0,se.MY)()}))}class Fs{builder;activities}class Ls extends ks{content;constructor(e){super(),this.content=e}}class ws extends Fs{values;static serialization=new ce((0,se.PL)(ws,{_type:(0,se.MY)(),builder:ue(vs.builderSerialization.schema),values:(0,se.lS)()}))}class Ps{name;doc;type;relationalType;static serialization=new ce((0,se.PL)(Ps,{name:(0,se.MY)(),doc:(0,se.lq)((0,se.MY)()),type:(0,se.lq)((0,se.MY)()),relationalType:(0,se.lq)((0,se.MY)())}))}class Bs extends vs{columns=[];static serialization=new ce((0,se.PL)(Bs,{_type:(0,se.MY)(),columns:(0,se.p_)(ue(Ps.serialization.schema))}))}function xs(e){switch(e._type){case Yi.RELATIONAL:case Yi.RELATIONAL_EXECUTION_ACTIVITY:return Rs.serialization.fromJson(e);case Yi.AGGREGATION_AWARE_ACTIVITY:return Os.serialization.fromJson(e);default:return new Ls(e)}}class Ds extends Fs{result;static serialization=new ce((0,se.PL)(Ds,{builder:ue(Bs.serialization.schema),activities:(0,se.p_)((0,se.Ie)((()=>se._Z),xs)),result:(0,se.lS)()}))}class Ms extends Fs{objects;static serialization=new ce((0,se.PL)(Ms,{builder:ue(vs.builderSerialization.schema),activities:(0,se.p_)((0,se.Ie)((()=>se._Z),xs)),objects:(0,se.lS)()}))}class js extends Fs{value;constructor(e){super(),this.value=e}}class Us extends Fs{content}class Gs extends Es{content}const Hs=e=>{if(e instanceof Rs){const t=new ms(e.sql);return t.comment=e.comment,t}if(e instanceof Os){const t=new fs;return t.rewrittenQuery=F(e.rewrittenQuery,"Aggregation aware execution activities 'rewritenQuery' field is missing"),t}if(e instanceof Ls)return new hs(e);throw new N("Can't build execution activities",e)},Vs=e=>{const t=new As;return t.name=F(e.name,"TDS column 'name' field is missing"),t.type=e.type,t.doc=e.doc,t.relationalType=e.relationalType,t},Ys=e=>{if(e instanceof Us){const t=new Gs;return t.content=e.content,t}if(e instanceof Ms)return(e=>{const t=new Is;return t.objects=F(e.objects,"Class execution result 'objects' field is missing"),t.activities=e.activities?.map(Hs),t})(e);if(e instanceof Ds)return(e=>{const t=new Ss;return t.builder=(e=>{const t=new Ts;return t.columns=e.columns.map(Vs),t})(F(e.builder,"TDS execution result 'builder' field is missing")),t.activities=e.activities?.map(Hs),t.result.columns=e.result.columns,t.result.rows=e.result.rows.map((e=>{const t=new ys;return t.values=e.values,t})),t})(e);if(e instanceof ws)return(e=>{const t=new bs;return t.values=F(e.values,"JSON execution result 'values' field is missing"),t})(e);if(e instanceof js)return new _s(e.value);throw new N("Can't build execution result",e)};class Ks{columns=[];query;runtime}class Ws{name;type;static serialization=new ce((0,se.PL)(Ws,{name:(0,se.MY)(),type:(0,se.MY)()}))}var $s;!function(e){e.REPL_EXECUTED_QUERY="REPLExecutedQuery"}($s||($s={}));class Xs extends Ks{static serialization=new ce((0,se.PL)(Xs,{_type:de($s.REPL_EXECUTED_QUERY),columns:(0,se.p_)(ue(Ws.serialization.schema)),query:(0,se.MY)(),runtime:(0,se.MY)()}))}function qs(e){if(e._type===$s.REPL_EXECUTED_QUERY)return(0,se.iu)(Xs.serialization.schema,e);throw new N(`Can't deserialize data cube query source of type '${e._type}'`)}function Js(e){if(e instanceof Xs)return(0,se.lK)(Xs.serialization.schema,e);throw new N("Can't serialize data cube query source",e)}class zs{name;query;partialQuery;source;configuration;constructor(e,t,n){this.name=e,this.query=t,this.configuration=n}static serialization=new ce((0,se.PL)(zs,{configuration:(0,se.lS)(),name:(0,se.MY)(),partialQuery:(0,se.MY)(),query:(0,se.MY)(),source:(0,se.Ie)(Js,qs)}))}class Qs{query;pretty;static serialization=new ce((0,se.PL)(Qs,{pretty:(0,se.lq)((0,se.MY)()),query:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[])))}))}class Zs{query;static serialization=new ce((0,se.PL)(Zs,{query:ue(fa([]))}))}class ec{query;static serialization=new ce((0,se.PL)(ec,{query:ue(fa([]))}))}class tc{query;timestamp;partialQuery;sourceQuery;static serialization=new ce((0,se.PL)(tc,{partialQuery:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[]))),query:ue(zs.serialization.schema),sourceQuery:(0,se.Ie)((e=>ci(e,[])),(e=>si(e,[]))),timestamp:(0,se.MY)()}))}class nc{client;constructor(e){this.client=e}async getGridClientLicenseKey(){return this.client.getGridClientLicenseKey()}async getQueryTypeahead(e,t){return await this.client.getQueryTypeahead({code:e,isPartial:t})}async parseQuery(e,t){return si(await this.client.parseQuery({code:e,returnSourceInformation:t}),[])}async getBaseQuery(){return tc.serialization.fromJson(await this.client.getBaseQuery())}async executeQuery(e){const t=await this.client.executeQuery({query:ci(e,[])});return w(Ys((e=>{if(null===e||x(e)||D(e)||M(e))return new js(e);switch(e.builder?._type){case Vi.CLASS_BUILDER:return Ms.serialization.fromJson(e);case Vi.TDS_BUILDER:return Ds.serialization.fromJson(e);case Vi.JSON_BUILDER:return ws.serialization.fromJson(e);default:{const t=new Us;return t.content=e,t}}})(JSON.parse(t.result))),Ss)}}class oc{dataCube;subscribers=[];snapshots=[];_initialSnapshot;_initialQuery;constructor(e){this.dataCube=e}get currentSnapshot(){return F(this.snapshots[this.snapshots.length-1])}registerSubscriber(e){this.subscribers.push(e)}initialize(e,t){if(this._initialSnapshot||this._initialQuery)throw new S("Snapshot manager has already been initialized");this._initialSnapshot=e,this._initialQuery=t}get initialSnapshot(){return F(this._initialSnapshot,"Snapshot manager has not been initialized")}get initialQuery(){return F(this._initialQuery,"Snapshot manager has not been initialized")}broadcastSnapshot(e){this.snapshots.push(e),this.subscribers.forEach((t=>{const n=t.getLatestSnapshot();n?.uuid!==e.uuid&&t.receiveSnapshot(e).catch((e=>{I(e),this.dataCube.application.logService.error(u.create(ie.ILLEGAL_APPLICATION_STATE_OCCURRED),"Subscribers receiving and applying new snapshot should be handled gracefully",e)}))}))}}class rc extends $i{baseQuery;name="New Report";startTime;constructor(e){super(e),(0,be.Gn)(this,{name:be.sH,setName:be.XI})}setName(e){this.name=e}async applySnapshot(e){const t=e.data;this.setName(t.name),this.startTime||(this.startTime=e.timestamp),this.application.layoutService.setWindowTitle(`▦ ${t.name}${this.startTime?` - ${(0,Pn.GP)(new Date(this.startTime),"HH:mm:ss EEE MMM dd yyyy")}`:""}`)}async initialize(){}}function ac(e,t,n){return B(e.parameters.length>=t+1,`Can't process ${di(e.function)}: Expected at least ${t+1} parameter(s)`),w(e.parameters[t],n,`Can't process ${di(e.function)}: Found unexpected type for parameter at index ${t}`)}const ic=[{func:hi.EXTEND,parameters:1},{func:hi.FILTER,parameters:1},{func:hi.GROUP_BY,parameters:3},{func:hi.LIMIT,parameters:1},{func:hi.PIVOT,parameters:3},{func:hi.SELECT,parameters:1},{func:hi.SORT,parameters:1},{func:hi.CAST,parameters:1}],sc=[{func:hi.EXTEND},{func:hi.FILTER},{func:hi.GROUP_BY},{func:hi.PIVOT},{func:hi.CAST},{func:hi.EXTEND},{func:hi.SELECT},{func:hi.SORT},{func:hi.LIMIT}],cc=new RegExp(`^${sc.map((e=>`(?:<${di(e.func)}>)${e.repeat?"*":e.required?"":"?"}`)).join("")}$`);class uc{replStore;application;engine;snapshotManager;core;grid;editor;initState=_e.create();constructor(e){this.replStore=e,this.application=e.applicationStore,this.engine=new nc(this.replStore.client),this.snapshotManager=new oc(this),this.core=new rc(this),this.grid=new Qi(this),this.editor=new ls(this)}async initialize(){this.initState.inProgress();try{await Promise.all([this.core,this.editor,this.grid].map((async e=>{this.snapshotManager.registerSubscriber(e),await e.initialize()})));const e=await this.engine.getBaseQuery(),t=function(e,t,n){const o=function(e){let t,n;const o=e.findLastIndex((e=>li(e.function,[hi.PIVOT,hi.GROUP_BY]))),r=e.findIndex((e=>li(e.function,hi.EXTEND))),a=e.findLastIndex((e=>li(e.function,hi.EXTEND)));-1!==o?r!==a&&(t=e[r],n=e[a]):-1!==r&&(t=e[r]);const i=e.find((e=>li(e.function,hi.FILTER))),s=e.find((e=>li(e.function,hi.GROUP_BY))),c=e.find((e=>li(e.function,hi.SELECT)));return{leafExtend:t,filter:i,groupBy:s,pivot:e.find((e=>li(e.function,hi.PIVOT))),pivotCast:e.find((e=>li(e.function,hi.CAST))),groupExtend:n,select:c,sort:e.find((e=>li(e.function,hi.SORT))),limit:e.find((e=>li(e.function,hi.LIMIT)))}}(function(e){if(!(e instanceof ir))throw new Error("Query must be a sequence of function calls (e.g. x()->y()->z())");const t=[];let n=e;for(;n instanceof ir;){const e=ic.find((e=>li(n.function,e.func)));if(!e)throw new Error(`Found unsupported function ${n.function}()`);if(!(n.parameters.length>e.parameters)){t.unshift(n);break}{const e=n.parameters[0];if(!(e instanceof ir))throw new Error("Query must be a sequence of function calls (e.g. x()->y()->z())");n.parameters=n.parameters.slice(1),t.unshift(n),n=e}}if(!t.map((e=>`<${di(e.function)}>`)).join("").match(cc))throw new Error(`Unsupported function composition ${t.map((e=>`${di(e.function)}()`)).join("->")} (supported composition: ${sc.map((e=>`${di(e.func)}()`)).join("->")})`);const o=t.findIndex((e=>li(e.function,hi.EXTEND))),r=t.findLastIndex((e=>li(e.function,hi.EXTEND)));if(-1!==o&&o!==r&&!t.slice(o+1,r).some((e=>li(e.function,hi.GROUP_BY)||li(e.function,hi.PIVOT))))throw new Error("Found invalid usage of group-level extend() for query without aggregation such as pivot() and groupBy()");const a=t.find((e=>li(e.function,hi.PIVOT))),i=t.find((e=>li(e.function,hi.CAST)));if(Boolean(a)!==Boolean(i))throw new Error("Found usage of dynamic function pivot() without casting");return t}(e)),r=Ei.create(n.name,n.source.runtime,ci(t,[]),n.configuration),a=r.data,i=new Map,s=e=>F(i.get(e.name));var c;if(a.originalColumns=n.source.columns,a.originalColumns.map((e=>i.set(e.name,e))),o.sort&&(a.sortColumns=ac(o.sort,0,sr).values.map((e=>{const t=function(e,t){return L(e,ir,"Can't process function: Found unexpected value specification type"),B(li(e.function,Array.isArray(t)?t:[t]),`Can't process function: Expected function name to be one of [${Array.isArray(t)?t.join(", "):t}]`),e}(e,[hi.ASC,hi.DESC]);return{...s((n=t,w(ac(n,0,ca).value,wr,`Can't process ${di(n.function)}: Expected parameter at index 0 to be a column specification`))),direction:di(t.function)===hi.ASC?mi.ASCENDING:mi.DESCENDING};var n}))),o.select&&(a.selectColumns=(c=o.select,w(ac(c,0,ca).value,Lr,`Can't process ${di(c.function)}: Expected parameter at index 0 to be a column specification list`)).colSpecs.map((e=>({...s(e)})))),o.limit){const e=o.limit.parameters[0];L(e,dr),a.limit=e.value}return r}(e.partialQuery,e.sourceQuery,e.query);t.timestamp=e.timestamp,this.snapshotManager.broadcastSnapshot(t),this.initState.complete()}catch(e){I(e),this.application.notificationService.notifyError(e),this.initState.fail()}}}class dc{applicationStore;client;dataCubeState;constructor(e){(0,be.Gn)(this,{dataCubeState:be.sH}),this.applicationStore=e,this.client=new Yo(new re({baseUrl:this.applicationStore.config.useDynamicREPLServer?window.location.origin+this.applicationStore.config.baseAddress.replace("/repl/",""):this.applicationStore.config.replUrl})),this.dataCubeState=new uc(this)}}const lc=(0,Ct.createContext)(void 0),pc=({children:e})=>{const t=Nt(),n=(0,ut.iz)((()=>new dc(t)));return(0,E.jsx)(lc.Provider,{value:n,children:e})},gc=()=>F((0,Ct.useContext)(lc),"Can't find REPL store in context");var mc=n(1697),fc=n(1810),hc=n(5866),Ec=n(6450),bc=n(1747),_c=n(602),Ac=n(5314),Tc=n(5236),yc=n(9787);const Cc={ChevronLeft:yc.h$A,ChevronRight:yc.klJ,Code:yc.sAL,Cube:yc.keA,Documentation:yc.KHb,Note:yc.Jb_,Pin:xt.Cxm,Search:yc.PuI,Table:yc.ZIs,TableColumn:yc.QKp,TableColumnOptions__Settings:yc.uRn,TableColumns:yc.N9Z,TableExtendedColumn:yc.w28,TableFilter:yc.XPy,TableFilterPlus:yc.VmB,TableFilterCode:yc.awR,TableGroupBy:yc.PAn,TableOptions:yc.v$W,TablePagination:Ac.Hs5,TablePivot:yc.ba8,TablePlus:yc.ZQn,TableRemoveColumn:yc.F6Q,TableRow:yc.wV0,TableRowColumn:yc.QE3,TableScroll:Tc.cfM,TableSort:yc.r9t,Window:xt.PV7,X:xt.D9N};var Sc=n(545),Nc=n(9073);function Ic(...e){return(0,Nc.QP)((0,gt.$)(e))}const vc=console.error;console.error=(e,...t)=>{console.log(`%c ${e}`,"color: silver")};const kc=(0,ut.PA)((()=>{const e=gc().dataCubeState.grid,[t,n]=(0,Ct.useState)("");return(0,Ct.useEffect)((()=>{e.clientLicenseKey&&mc.h.setLicenseKey(e.clientLicenseKey)}),[e.clientLicenseKey]),(0,E.jsxs)("div",{className:"data-cube-grid flex-1",children:[(0,E.jsx)("div",{className:"h-[calc(100%_-_20px)] w-full",children:(0,E.jsx)(_c.W6,{className:"ag-theme-balham",modules:[fc.Q,hc.e,Ec.mZ,bc.M],onGridReady:t=>{e.configureClient(t.api),console.error=vc},rowGroupPanelShow:"always",suppressScrollOnNewData:!0,groupDisplayType:"custom",suppressRowGroupHidesColumns:!0,rowModelType:"serverSide",serverSideDatasource:e.clientDataSource,suppressBrowserResizeObserver:!0,animateRows:!1,rowBuffer:50,rowHeight:20,headerHeight:24,alwaysMultiSort:!0,suppressAggFuncInHeader:!0,onBodyScroll:e=>{const t=e.api.getDisplayedRowCount(),o=e.api.getVerticalPixelRange(),r=Math.max(1,Math.ceil(o.top/20)+1),a=Math.min(t,Math.floor(o.bottom/20));n(`${r}-${a}/${t}`)},onBodyScrollEnd:()=>n("")})}),(0,E.jsxs)("div",{className:"relative flex h-5 w-full justify-between border-b border-b-neutral-200 bg-neutral-100",children:[Boolean(t)&&(0,E.jsxs)("div",{className:"absolute -top-8 right-4 flex items-center rounded-sm border border-neutral-300 bg-neutral-100 p-1 pr-2 text-neutral-500 shadow-sm",children:[(0,E.jsx)(Cc.TableScroll,{className:"text-lg"}),(0,E.jsx)("div",{className:"ml-1 font-mono text-sm",children:t})]}),(0,E.jsx)("div",{}),(0,E.jsxs)("div",{className:"flex items-center",children:[(0,E.jsx)("div",{className:"select-none p-2 font-mono text-sm text-neutral-500",children:e.clientDataSource.rowCount?`(${e.clientDataSource.rowCount} rows)`:""}),(0,E.jsx)("div",{className:"h-3 w-[1px] bg-neutral-200"}),(0,E.jsxs)("button",{className:"flex h-full items-center p-2",onClick:()=>e.setPaginationEnabled(!e.isPaginationEnabled),children:[(0,E.jsx)(Sc.A,{checked:e.isPaginationEnabled,classes:{root:"p-0 w-6 h-5 flex items-center",input:"w-2",checked:"!translate-x-2 ease-in-out duration-100 transition",thumb:Ic("w-2 h-2",{"bg-sky-600":e.isPaginationEnabled,"bg-neutral-500":!e.isPaginationEnabled}),switchBase:"p-0.5 mt-1 translate-x-0 ease-in-out duration-100 transition",track:Ic("h-3 w-5 border",{"!bg-sky-100 border-sky-600":e.isPaginationEnabled,"!bg-neutral-100 border-neutral-500":!e.isPaginationEnabled})},disableRipple:!0,disableFocusRipple:!0}),(0,E.jsx)("div",{className:Ic("text-sm",{"text-sky-600":e.isPaginationEnabled,"text-neutral-500":!e.isPaginationEnabled}),children:"Pagination"})]})]})]})]})}));var Rc=n(3213);function Oc(){return{modules:[fc.Q],className:"ag-theme-balham",animateRows:!1,getRowId:e=>e.data.name,editType:"fullRow",rowSelection:"multiple",rowDragMultiRow:!0,rowDragEntireRow:!0,suppressRowClickSelection:!1,suppressMoveWhenRowDragging:!0,rowHeight:20,headerHeight:20,suppressRowHoverHighlight:!1,reactiveCustomComponents:!0,noRowsOverlayComponent:()=>(0,E.jsx)("div",{})}}const Fc=(0,ut.PA)((function(e){const{selector:t}=e,[n,o]=(0,Ct.useState)([]),[r,a]=(0,Ct.useState)([]),[i,s]=(0,Ct.useState)(null),[c,u]=(0,Ct.useState)(null),d=(0,Ct.useCallback)((e=>{const n=[];e.api.forEachNode((e=>{e.data&&n.push(e.data)})),t.setSelectedColumns(n),t.setAvailableColumns(t.availableColumns.filter((e=>!n.includes(e))))}),[t]),l=(0,Ct.useCallback)((e=>{const n=e.nodes.map((e=>e.data)).filter(R);t.setAvailableColumns([...t.availableColumns,...n]),t.setSelectedColumns(t.selectedColumns.filter((e=>!n.includes(e))))}),[t]),p=(0,Ct.useCallback)((e=>{if(-1===e.overIndex)return;const n=[];e.api.forEachNode((e=>{e.data&&n.push(e.data)})),t.setSelectedColumns(n)}),[t]);return(0,Ct.useEffect)((()=>{if(!i||!c)return;const e=c.getRowDropZoneParams({onDragStop:e=>{d(e),i.clearFocusedCell()}});i.removeRowDropZone(e),i.addRowDropZone(e);const t=i.getRowDropZoneParams({onDragStop:e=>{l(e),c.clearFocusedCell()}});c.removeRowDropZone(t),c.addRowDropZone(t)}),[i,c,d,l]),(0,E.jsxs)("div",{className:"flex h-full w-full",children:[(0,E.jsxs)("div",{className:"h-full w-[calc(50%_-_20px)]",children:[(0,E.jsx)("div",{className:"flex h-5 items-center text-sm",children:"Available columns:"}),(0,E.jsxs)("div",{className:"h-[calc(100%_-_20px)] rounded-sm border border-neutral-200",children:[(0,E.jsxs)("div",{className:"relative h-6 border-b border-neutral-200",children:[(0,E.jsx)("input",{className:"h-full w-full pl-10 placeholder-neutral-400",placeholder:"Click here to search..."}),(0,E.jsx)("div",{className:"absolute left-0 top-0 flex h-6 w-10 items-center justify-center",children:(0,E.jsx)(Cc.Search,{className:"stroke-[3px] text-lg text-neutral-500"})})]}),(0,E.jsx)("div",{className:"h-[calc(100%_-_24px)]",children:(0,E.jsx)(_c.W6,{...Oc(),rowDragManaged:!1,onGridReady:e=>s(e.api),rowData:t.availableColumns,onSelectionChanged:e=>{o(e.api.getSelectedNodes().map((e=>e.data)).filter(R))},columnDefs:[{field:"name",flex:1,minWidth:100,filter:!0,sortable:!1,resizable:!1,suppressHeaderMenuButton:!0,colId:"checkbox",checkboxSelection:!0,headerCheckboxSelection:!0,rowDrag:!0,rowDragText:(e,t)=>t>1?`${t} columns`:(e.rowNode?.data).name,headerComponent:e=>(0,E.jsx)("div",{title:"Double-click to add all columns",className:"flex h-full w-full cursor-pointer items-center pl-0.5",onDoubleClick:()=>{t.setSelectedColumns([...t.selectedColumns,...t.availableColumns]),t.setAvailableColumns([]),e.api.clearFocusedCell()},children:"[All Columns]"}),cellRenderer:e=>{const n=e.data;return n?(0,E.jsx)("div",{className:"h-full w-full cursor-pointer pl-2",title:`[${n.name}]\nDouble-click to add column`,onDoubleClick:()=>{t.setSelectedColumns([...t.selectedColumns,n]),t.setAvailableColumns(t.availableColumns.filter((e=>e!==n))),e.api.clearFocusedCell()},children:n.name}):null}}]})})]})]}),(0,E.jsx)("div",{className:"flex h-full w-10 items-center justify-center",children:(0,E.jsxs)("div",{className:"flex flex-col",children:[(0,E.jsx)("button",{className:"flex cursor-pointer items-center justify-center rounded-sm border border-neutral-300 bg-neutral-100 text-neutral-500 hover:bg-neutral-200 disabled:cursor-not-allowed disabled:bg-neutral-200 disabled:text-neutral-400",title:"Add selected columns",onClick:()=>{t.setSelectedColumns([...t.selectedColumns,...n]),t.setAvailableColumns(t.availableColumns.filter((e=>!n.includes(e)))),i?.clearFocusedCell()},disabled:0===n.length,children:(0,E.jsx)(Cc.ChevronRight,{className:"text-2xl"})}),(0,E.jsx)("button",{className:"mt-2 flex cursor-pointer items-center justify-center rounded-sm border border-neutral-300 bg-neutral-100 text-neutral-500 hover:bg-neutral-200 disabled:cursor-not-allowed disabled:bg-neutral-200 disabled:text-neutral-400",title:"Remove selected columns",onClick:()=>{t.setAvailableColumns([...t.availableColumns,...r]),t.setSelectedColumns(t.selectedColumns.filter((e=>!r.includes(e)))),c?.clearFocusedCell()},disabled:0===r.length,children:(0,E.jsx)(Cc.ChevronLeft,{className:"text-2xl"})})]})}),(0,E.jsxs)("div",{className:"h-full w-[calc(50%_-_20px)]",children:[(0,E.jsx)("div",{className:"flex h-5 items-center text-sm",children:"Selected columns:"}),(0,E.jsxs)("div",{className:"h-[calc(100%_-_20px)] rounded-sm border border-neutral-200",children:[(0,E.jsxs)("div",{className:"relative h-6 border-b border-neutral-200",children:[(0,E.jsx)("input",{className:"h-full w-full pl-10 placeholder-neutral-400",placeholder:"Click here to search..."}),(0,E.jsx)("div",{className:"absolute left-0 top-0 flex h-6 w-10 items-center justify-center",children:(0,E.jsx)(Cc.Search,{className:"stroke-[3px] text-lg text-neutral-500"})})]}),(0,E.jsx)("div",{className:"h-[calc(100%_-_24px)]",children:(0,E.jsx)(_c.W6,{...Oc(),rowDragManaged:!0,onRowDragEnd:p,onGridReady:e=>u(e.api),onSelectionChanged:e=>{a(e.api.getSelectedNodes().map((e=>e.data)).filter(R))},rowData:t.selectedColumns,columnDefs:[{field:"name",flex:1,minWidth:100,filter:!0,sortable:!1,resizable:!1,suppressHeaderMenuButton:!0,colId:"checkbox",checkboxSelection:!0,headerCheckboxSelection:!0,rowDrag:!0,rowDragText:(e,t)=>t>1?`${t} columns`:(e.rowNode?.data).name,headerComponent:e=>(0,E.jsx)("div",{title:"Double-click to remove all columns",className:"flex h-full w-full cursor-pointer items-center pl-0.5",onDoubleClick:()=>{t.setAvailableColumns([...t.availableColumns,...t.selectedColumns]),t.setSelectedColumns([]),e.api.clearFocusedCell()},children:"[All Columns]"}),cellRenderer:e=>{const n=e.data;return n?(0,E.jsx)("div",{className:"h-full w-full cursor-pointer pl-2",title:`[${n.name}]\nDouble-click to remove column`,onDoubleClick:()=>{t.setAvailableColumns([...t.availableColumns,n]),t.setSelectedColumns(t.selectedColumns.filter((e=>e!==n))),e.api.clearFocusedCell()},children:n.name}):null}}]})})]})]})]})})),Lc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableSort,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Sorts"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full",children:(0,E.jsx)(Fc,{selector:e.columnsSelector})})]})})),wc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.generalPropertiesPanel;return(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableOptions,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"General Properties"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full p-4"}),(0,E.jsxs)("div",{className:"flex h-6 w-full items-center",children:[(0,E.jsx)("div",{className:"flex h-full w-32 items-center",children:"Report Title:"}),(0,E.jsx)("input",{className:"h-full w-full border border-neutral-300 px-2 text-lg font-semibold focus:outline-none",value:e.name,onChange:t=>{e.setName(t.target.value)}})]})]})})),Pc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableColumns,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Columns"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Bc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableGroupBy,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Vertical Pivots"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),xc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TablePivot,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Horizontal Pivots"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Dc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TableFilter,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Filter"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Mc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.TablePlus,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Extended Columns"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),jc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsx)("div",{className:"flex h-6 items-center text-xl font-medium",children:(0,E.jsx)(Cc.Code,{})}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Code"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Uc=(0,ut.PA)((()=>{const e=gc().dataCubeState.editor.sortsPanel;return(0,Ct.useEffect)((()=>{}),[e]),(0,E.jsxs)("div",{className:"data-cube-column-selector h-full w-full p-2",children:[(0,E.jsxs)("div",{className:"flex h-6",children:[(0,E.jsxs)("div",{className:"relative flex h-6 items-center text-xl font-medium",children:[(0,E.jsx)(Cc.TableColumn,{}),(0,E.jsx)(Cc.TableColumnOptions__Settings,{className:"absolute bottom-1 right-0 bg-white text-xs"})]}),(0,E.jsx)("div",{className:"ml-1 flex h-6 items-center text-xl font-medium",children:"Column Properties"})]}),(0,E.jsx)("div",{className:"flex h-[calc(100%_-_24px)] w-full"})]})})),Gc="data-cube__editor__header",Hc=(0,ut.PA)((e=>{const{containerRef:t}=e,[n,o]=(0,Ct.useState)({x:50,y:50,width:800,height:600}),r=gc().dataCubeState.editor,a=r.currentTab,i=[Hi.COLUMNS,Hi.VERTICAL_PIVOTS,Hi.HORIZONTAL_PIVOTS,Hi.EXTENDED_COLUMNS,Hi.FILTER,Hi.SORTS,Hi.GENERAL_PROPERTIES,Hi.COLUMN_PROPERTIES,Hi.CODE];return(0,Ct.useEffect)((()=>{if(t.current){const{width:e,height:n}=t.current.getBoundingClientRect();o({x:50,y:50,width:900>e?e-100:800,height:700>n?n-100:600})}}),[t]),(0,E.jsx)(Rc.p,{className:"absolute z-10",handle:`.${Gc}`,position:{x:n.x,y:n.y},size:{width:n.width,height:n.height},minWidth:300,minHeight:300,onDragStop:(e,t)=>{o({...n,x:t.x,y:t.y})},dragHandleClassName:Gc,onResize:(e,t,n,r,a)=>{o({...a,width:n.offsetWidth,height:n.offsetHeight})},enableResizing:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},resizeHandleStyles:{top:{cursor:"ns-resize"},right:{cursor:"ew-resize"},bottom:{cursor:"ns-resize"},left:{cursor:"ew-resize"},topRight:{cursor:"nesw-resize",width:14,height:14,top:-7,right:-7},bottomRight:{cursor:"nwse-resize",width:14,height:14,bottom:-7,right:-7},bottomLeft:{cursor:"nesw-resize",width:14,height:14,bottom:-7,left:-7},topLeft:{cursor:"nwse-resize",width:14,height:14,top:-7,left:-7}},children:(0,E.jsxs)("div",{className:"h-full w-full border border-neutral-400 bg-neutral-200 shadow-xl",children:[(0,E.jsxs)("div",{className:Ic(Gc,"flex h-6 w-full select-none items-center justify-between border-b border-b-neutral-300 bg-white active:cursor-move"),children:[(0,E.jsx)("div",{className:"px-2",children:"Properties"}),(0,E.jsx)("button",{className:"flex h-[23px] w-6 items-center justify-center hover:bg-red-500 hover:text-white",onClick:()=>r.closePanel(),children:(0,E.jsx)(Cc.X,{})})]}),(0,E.jsxs)("div",{className:"relative h-[calc(100%_-_64px)] flex-1 px-2 pt-8",children:[(0,E.jsx)("div",{className:"absolute top-0 flex h-9 w-[calc(100%_-_16px)] min-w-[400px] overflow-auto px-0.5 pt-2",children:i.map((e=>(0,E.jsx)("button",{onClick:()=>r.setCurrentTab(e),className:Ic("relative flex h-6 items-center justify-center whitespace-nowrap border border-b-0 border-l-0 border-neutral-300 px-2 first:border-l focus:z-10",{"-top-0.5 h-[27px] border-b-0 bg-white":e===a}),children:e},e)))}),(0,E.jsxs)("div",{className:"h-full w-full overflow-auto border border-neutral-300 bg-white",children:[a===Hi.COLUMNS&&(0,E.jsx)(Pc,{}),a===Hi.SORTS&&(0,E.jsx)(Lc,{}),a===Hi.VERTICAL_PIVOTS&&(0,E.jsx)(Bc,{}),a===Hi.HORIZONTAL_PIVOTS&&(0,E.jsx)(xc,{}),a===Hi.EXTENDED_COLUMNS&&(0,E.jsx)(Mc,{}),a===Hi.FILTER&&(0,E.jsx)(Dc,{}),a===Hi.GENERAL_PROPERTIES&&(0,E.jsx)(wc,{}),a===Hi.COLUMN_PROPERTIES&&(0,E.jsx)(Uc,{}),a===Hi.CODE&&(0,E.jsx)(jc,{})]})]}),(0,E.jsxs)("div",{className:"flex h-10 items-center justify-end px-2",children:[(0,E.jsx)("button",{className:"h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>{r.applyChanges(),r.closePanel()},children:"OK"}),(0,E.jsx)("button",{className:"ml-2 h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>r.closePanel(),children:"Cancel"}),(0,E.jsx)("button",{className:"ml-2 h-6 w-20 border border-neutral-400 bg-neutral-300 px-2 hover:brightness-95",onClick:()=>r.applyChanges(),children:"Apply"})]})]})})})),Vc=(0,ut.PA)((()=>{const e=gc().dataCubeState;return(0,E.jsxs)("div",{className:"flex h-5 w-full bg-neutral-100",children:[(0,E.jsx)("button",{className:"pl-2",children:(0,E.jsx)(Cc.Documentation,{className:"text-xl text-sky-600"})}),(0,E.jsx)("button",{className:"flex w-1/2 items-center px-2 text-sky-600 underline",onClick:()=>e.editor.openPanel(),children:"Pivot"}),(0,E.jsx)("button",{className:"flex w-1/2 items-center px-2 text-sky-600 underline",children:"Filter"})]})})),Yc=(0,ut.PA)((()=>{const e=gc().dataCubeState;return(0,E.jsx)("div",{className:"flex h-6 justify-between bg-neutral-100",children:(0,E.jsxs)("div",{className:"flex select-none items-center pl-1 pr-2 text-lg font-medium",children:[(0,E.jsx)(Cc.Cube,{className:"mr-1 h-4 w-4"}),(0,E.jsx)("div",{children:e.editor.generalPropertiesPanel.name})]})})})),Kc=(0,ut.PA)((()=>{const e=gc(),t=(0,Ct.useRef)(null),n=Nt(),o=e.dataCubeState;return(0,Ct.useEffect)((()=>{o.initialize().catch(n.logUnhandledError)}),[o,n]),(0,E.jsxs)("div",{ref:t,className:"data-cube relative flex h-full w-full flex-col bg-white",children:[(0,E.jsx)(Yc,{}),(0,E.jsx)(kc,{}),(0,E.jsx)(Vc,{}),o.editor.isPanelOpen&&(0,E.jsx)(Hc,{containerRef:t})]})})),Wc=(0,ut.PA)((e=>{const{children:t}=e,n=F((0,Ct.useContext)(Go),"Can't find application platform in context"),o=Nt();return(0,Ct.useEffect)((()=>{o.initialize(n).catch(o.alertUnhandledError)}),[o,n]),o.initState.hasSucceeded?(0,E.jsx)(Vn,{children:t}):(0,E.jsx)(E.Fragment,{})}));class $c{applicationStore;pluginManager;constructor(e){this.applicationStore=e,this.pluginManager=e.pluginManager}}const Xc=(0,Ct.createContext)(void 0),qc=({children:e})=>{const t=Nt(),n=(0,ut.iz)((()=>new $c(t)));return(0,E.jsx)(Xc.Provider,{value:n,children:e})},Jc=({children:e})=>(0,E.jsx)(Wc,{children:(0,E.jsx)(qc,{children:e})}),zc=Object.freeze({DATA_CUBE:"/dataCube"}),Qc=(Zc=(0,ut.PA)((()=>(0,E.jsx)("div",{className:"app",children:(0,E.jsx)(xo.dO,{children:(0,E.jsx)(xo.qh,{exact:!0,path:[zc.DATA_CUBE],component:Kc})})}))),function(){return(0,E.jsx)(pc,{children:(0,E.jsx)(Zc,{})})});var Zc;const eu=e=>{const{baseUrl:t}=e;return(0,E.jsx)(Vo,{baseUrl:t,children:(0,E.jsx)(Jc,{children:(0,E.jsx)(Qc,{})})})},tu=JSON.parse('{"rE":"0.0.30","XO":{"F":"@finos/legend-application-repl-plugin-core"}}');class nu extends Ro{_$nominalTypeBrand;install(e){e.registerApplicationPlugin(this)}}var ou,ru=n(7441);!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"}(ou||(ou={}));const au=(e,t,n,o)=>{const r=(e=>{const t=[];e.tokenColors.forEach((e=>{if(!e.settings)return;let n=[];n=x(e.scope)?e.scope.replace(/^[,]+/,"").replace(/[,]+$/,"").split(",").map((e=>e.trim())):Array.isArray(e.scope)?e.scope:[""];const o={};e.settings.foreground&&x(e.settings.foreground)&&(o.foreground=e.settings.foreground),e.settings.background&&x(e.settings.background)&&(o.background=e.settings.background),e.settings.fontStyle&&x(e.settings.fontStyle)&&(o.fontStyle=e.settings.fontStyle),n.forEach((e=>{if(R(e)||!Object.keys(o).length)return;const n={...o,token:e};t.push(n)}))}));const n={};return Object.entries(e.colors).forEach((([e,t])=>{var o;Array.isArray(t)?t.length&&(n[e]=(B(0<(o=t).length,"Index out of bound: 0"),F(o[0],void 0))):n[e]=t})),{base:"vs-dark",inherit:!0,rules:t,colors:n}})(e);return{...r,base:t,colors:{...r.colors,...n},rules:[...r.rules,...o]}},iu=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}'),su=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"}}]}'),cu=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"}}]}'),uu=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"}}'),du=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"}}'),lu=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"}}'),pu=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"}}'),gu=[{token:ou.IDENTIFIER,foreground:"dcdcaa"},{token:ou.NUMBER,foreground:"b5cea8"},{token:ou.DATE,foreground:"b5cea8"},{token:ou.COLOR,foreground:"b5cea8"},{token:ou.PACKAGE,foreground:"808080"},{token:ou.PARSER,foreground:"c586c0"},{token:ou.LANGUAGE_STRUCT,foreground:"c586c0"},{token:ou.MULTIPLICITY,foreground:"2d796b"},{token:ou.GENERICS,foreground:"2d796b"},{token:ou.PROPERTY,foreground:"9cdcfe"},{token:ou.PARAMETER,foreground:"9cdcfe"},{token:ou.VARIABLE,foreground:"4fc1ff"},{token:ou.TYPE,foreground:"3dc9b0"},{token:`${ou.STRING}.escape`,foreground:"d7ba7d"}];var mu;!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"}(mu||(mu={}));const fu={base:"vs-dark",inherit:!0,colors:{},rules:[...gu,{token:"string.sql",foreground:"ce9178"},{token:"white.sql",foreground:"d4d4d4"},{token:"identifier.sql",foreground:"d4d4d4"},{token:"operator.sql",foreground:"d4d4d4"}]},hu=au(iu,mu.BUILT_IN__VSCODE_DARK,{},[]),Eu=au(su,mu.BUILT_IN__VSCODE_DARK,{},[]),bu=au(cu,mu.BUILT_IN__VSCODE_DARK,{},[]),_u=au(uu,mu.BUILT_IN__VSCODE_DARK,{},[]),Au=au(du,mu.BUILT_IN__VSCODE_DARK,{},[]),Tu=au(lu,mu.BUILT_IN__VSCODE_DARK,{},[]),yu=au(pu,mu.BUILT_IN__VSCODE_DARK,{},[]);var Cu,Su,Nu,Iu;!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"}(Cu||(Cu={})),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"}(Su||(Su={})),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"}(Nu||(Nu={})),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"}(Iu||(Iu={}));const vu={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 ku extends nu{static NAME=tu.XO.F;constructor(){super(ku.NAME,tu.rE)}getExtraApplicationSetups(){return[async e=>{var t,n;await(async e=>{const t=`Monospaced font '${Ge}' has not been loaded properly, code editor might not display properly`;await Promise.all([400,700].map((e=>document.fonts.load(`${e} 1em ${Ge}`)))).then((()=>{document.fonts.check(`1em ${Ge}`)?ru.editor.remeasureFonts():e.logService.error(u.create(ie.APPLICATION_SETUP__FAILURE),t)})).catch((()=>e.logService.error(u.create(ie.APPLICATION_SETUP__FAILURE),t)));const n="legend.code-editor.override-default-keybinding";ru.editor.registerCommand(n,((t,...n)=>{e.keyboardShortcutsService.dispatch(n[0])}));const o=[[ru.KeyCode.F1,"F1"],[ru.KeyCode.F8,"F8"],[ru.KeyCode.F9,"F9"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyG,"Control+KeyG"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyB,"Control+KeyB"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyO,"Control+KeyO"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyD,"Control+KeyD"],[ru.KeyMod.WinCtrl|ru.KeyCode.KeyP,"Control+KeyP"],[ru.KeyMod.Shift|ru.KeyCode.F10,"Shift+F10"],[ru.KeyMod.WinCtrl|ru.KeyCode.F2,"Control+F2"],[ru.KeyMod.WinCtrl|ru.KeyCode.F12,"Control+F12"]];ru.editor.addKeybindingRules(o.map((([e,t])=>({keybinding:e,command:n,commandArgs:t})))),ru.editor.defineTheme(mu.DEFAULT_DARK,fu),ru.editor.defineTheme(mu.SOLARIZED_DARK,hu),ru.editor.defineTheme(mu.GITHUB_DARK,Eu),ru.editor.defineTheme(mu.GITHUB_DARK_DIMMED,bu),ru.editor.defineTheme(mu.MATERIAL_DEFAULT,_u),ru.editor.defineTheme(mu.MATERIAL_DARKER,Au),ru.editor.defineTheme(mu.ONE_DARK_PRO,Tu),ru.editor.defineTheme(mu.ONE_DARK_PRO_DARKER,yu)})(e),ru.languages.register({id:Cu.PURE}),ru.languages.setLanguageConfiguration(Cu.PURE,vu),ru.languages.setMonarchTokensProvider(Cu.PURE,(n=t?.extraKeywords??[],{defaultToken:"invalid",tokenPostfix:".pure",keywords:[...n,"Schema","Table","Join","View","primaryKey","groupBy","mainTable","let","extends","true","false","projects",Su.CLASS,Su.ASSOCIATION,Su.ENUMERATION,Su.MEASURE,Su.PROFILE,Su.FUNCTION,Su.MAPPING,Su.RUNTIME,Su.CONNECTION,Su.FILE_GENERATION,Su.GENERATION_SPECIFICATION,Su.DATA_ELEMENT,Nu.JSON_MODEL_CONNECTION,Nu.MODEL_CHAIN_CONNECTION,Nu.XML_MODEL_CONNECTION,"include","EnumerationMapping","Pure","AssociationMapping","XStore","AggregationAware",Su.SERVICE,Su.FLAT_DATA,Su.DATABASE,Nu.FLAT_DATA_CONNECTION,Nu.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]+/,ou.PARSER],[/(@identifier)/,{cases:{"@languageStructs":ou.LANGUAGE_STRUCT,"@keywords":`${ou.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]+\\$)))_":ou.TYPE,"@default":ou.IDENTIFIER}}],{include:"@whitespace"},[/[{}()[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":ou.OPERATOR,"@default":ou.IDENTIFIER}}],{include:"@number"},[/[;,.]/,ou.DELIMITER],[/'([^'\\]|\\.)*$/,`${ou.STRING}.invalid`],[/'/,ou.STRING,"@string"],{include:"@characters"}],pure:[[/(@package\*)/,[ou.PACKAGE]],[/(@package?)(@identifier)(@generics?)(\s*)(@multiplicity)/,[ou.PACKAGE,ou.TYPE,ou.GENERICS,ou.WHITESPACE,ou.MULTIPLICITY]],[/(@package)(@identifier)(@generics?)/,[ou.PACKAGE,ou.TYPE,ou.GENERICS]],[/([@^])(\s*)(@package?)(@identifier)(@generics?)(@multiplicity?)/,[`${ou.TYPE}.operator`,ou.WHITESPACE,ou.PACKAGE,ou.TYPE,ou.GENERICS,ou.MULTIPLICITY]],[/(\.\s*)(@identifier)/,[ou.DELIMITER,ou.PROPERTY]],[/(@identifier)(\s*=)/,[ou.PROPERTY,ou.OPERATOR]],[/(@identifier)(\.)(@identifier)/,[ou.TYPE,ou.OPERATOR,ou.PROPERTY]],[/(@identifier)(\s*:)/,[ou.PARAMETER,ou.OPERATOR]],[/(let)(\s+)(@identifier)(\s*=)/,[ou.KEYWORD,ou.WHITESPACE,ou.VARIABLE,ou.OPERATOR]],[/(\$@identifier)/,[`${ou.VARIABLE}.reference`]]],date:[[/(%latest)/,[`${ou.DATE}.latest`]],[/(@date)/,[ou.DATE]],[/(@time)/,[`${ou.DATE}.time`]]],color:[[/(#[0-9a-fA-F]{6})/,[ou.COLOR]]],number:[[/(@digits)[eE]([-+]?(@digits))?[fFdD]?/,`${ou.NUMBER}.float`],[/(@digits)\.(@digits)([eE][-+]?(@digits))?[fFdD]?/,`${ou.NUMBER}.float`],[/0[xX](@hexdigits)[Ll]?/,`${ou.NUMBER}.hex`],[/0(@octaldigits)[Ll]?/,`${ou.NUMBER}.octal`],[/0[bB](@binarydigits)[Ll]?/,`${ou.NUMBER}.binary`],[/(@digits)[fFdD]/,`${ou.NUMBER}.float`],[/(@digits)[lL]?/,ou.NUMBER]],whitespace:[[/[ \t\r\n]+/,ou.WHITESPACE],[/\/\*\*(?!\/)/,`${ou.COMMENT}.doc`,"@doc"],[/\/\*/,ou.COMMENT,"@comment"],[/\/\/.*$/,ou.COMMENT]],comment:[[/[^/*]+/,ou.COMMENT],[/\*\//,ou.COMMENT,"@pop"],[/[/*]/,ou.COMMENT]],doc:[[/[^/*]+/,`${ou.COMMENT}.doc`],[/\/\*/,`${ou.COMMENT}.doc.invalid`],[/\*\//,`${ou.COMMENT}.doc`,"@pop"],[/[/*]/,`${ou.COMMENT}.doc`]],string:[[/[^\\']+/,ou.STRING],[/@escapes/,`${ou.STRING}.escape`],[/\\./,`${ou.STRING}.escape.invalid`],[/'/,ou.STRING,"@pop"]],characters:[[/'[^\\']'/,ou.STRING],[/(')(@escapes)(')/,[ou.STRING,`${ou.STRING}.escape`,ou.STRING]],[/'/,`${ou.STRING}.invalid`]]}}))}]}}class Ru extends Io{static create(){const e=new Ru(Po.create());return e.withBasePlugins([new Oo,new ku]),e.withBasePresets([]),e}async configureApplication(e){return new Lo(e)}async loadApplication(e){(0,b.H)((()=>{let e=document.getElementsByTagName(vo).length?document.getElementsByTagName(vo)[0]:void 0;return e||(e=document.createElement(vo),document.body.appendChild(e)),e.setAttribute("style","height: 100%; width: 100%; display: block"),e})()).render((0,E.jsx)(It,{store:e,children:(0,E.jsx)(eu,{baseUrl:this.baseAddress})}))}}class Ou{static getPresetCollection(){return[]}static getPluginCollection(){return[new ku,new h]}static run(e){Ru.create().setup({baseAddress:e}).withPresets(Ou.getPresetCollection()).withPlugins(Ou.getPluginCollection()).start().catch((e=>{throw e}))}}const Fu=new URL("./",window.location.href).pathname;Ou.run(Fu)}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.amdO={},e=[],a.O=(t,n,o,r)=>{if(!n){var i=1/0;for(d=0;d<e.length;d++){for(var[n,o,r]=e[d],s=!0,c=0;c<n.length;c++)(!1&r||i>=r)&&Object.keys(a.O).every((e=>a.O[e](n[c])))?n.splice(c--,1):(s=!1,r<i&&(i=r));if(s){e.splice(d--,1);var u=o();void 0!==u&&(t=u)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,o,r]},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,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var r=Object.create(null);a.r(r);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&o&&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(r,i),r},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="./",(()=>{var e={57:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var o,r,[i,s,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);if(c)var d=c(a)}for(t&&t(n);u<i.length;u++)r=i[u],a.o(e,r)&&e[r]&&e[r][0](),e[r]=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,[121],(()=>a(6592)));i=a.O(i)})();
|
2
|
+
//# sourceMappingURL=index.783a9136.js.map
|