~ K    A     L    I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
SERVER IP : 10.0.187.63 -________- CLIENT IP : 216.73.216.254
PATH :/usr/share/maxscale/gui/js/
UP FILE :
MINI SHELL D ZAB '
Current File : //usr/share/maxscale/gui/js/npm.monaco-editor~f7d19227.b5c32acb.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["npm.monaco-editor~f7d19227"],{"0bee":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("0a0f");const r=Object(o["c"])("themeService")},"133b":function(e,t,n){},"2e4b":function(e,t,n){"use strict";n.r(t),n.d(t,"StandaloneCommandsQuickAccessProvider",(function(){return v})),n.d(t,"GotoLineAction",(function(){return y}));var o=n("89cd"),r=n("2f1e"),i=n("03d9"),s=n("5717"),a=n("7c6e"),c=n("ef8e"),d=n("0a0f"),u=n("6dec"),l=n("9e74"),g=n("5d75"),h=n("eafb"),f=n("b2cc"),m=n("c101"),b=n("66bd"),p=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},k=function(e,t){return function(n,o){t(n,o,e)}},_=function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?n(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};let v=class extends a["a"]{constructor(e,t,n,o,r,i){super({showAlias:!1},e,n,o,r,i),this.codeEditorService=t}get activeTextEditorControl(){return Object(c["q"])(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return _(this,void 0,void 0,(function*(){return this.getCodeEditorCommandPicks()}))}};v=p([k(0,d["a"]),k(1,s["a"]),k(2,u["a"]),k(3,l["b"]),k(4,g["a"]),k(5,h["a"])],v),o["a"].as(r["b"].Quickaccess).registerQuickAccessProvider({ctor:v,prefix:v.PREFIX,helpEntries:[{description:i["d"].quickCommandHelp,needsEditor:!0}]});class y extends f["b"]{constructor(){super({id:"editor.action.quickCommand",label:i["d"].quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:m["a"].focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(b["a"]).quickAccess.show(v.PREFIX)}}Object(f["j"])(y)},3323:function(e,t,n){"use strict";n.r(t),n.d(t,"StandaloneGotoLineQuickAccessProvider",(function(){return m})),n.d(t,"GotoLineAction",(function(){return b}));var o=n("d22a"),r=n("89cd"),i=n("2f1e"),s=n("5717"),a=n("ef8e"),c=n("03d9"),d=n("308f"),u=n("b2cc"),l=n("c101"),g=n("66bd"),h=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,o){t(n,o,e)}};let m=class extends o["a"]{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=d["c"].None}get activeTextEditorControl(){return Object(a["q"])(this.editorService.getFocusedCodeEditor())}};m=h([f(0,s["a"])],m),r["a"].as(i["b"].Quickaccess).registerQuickAccessProvider({ctor:m,prefix:m.PREFIX,helpEntries:[{description:c["b"].gotoLineActionLabel,needsEditor:!0}]});class b extends u["b"]{constructor(){super({id:"editor.action.gotoLine",label:c["b"].gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:l["a"].focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(g["a"]).quickAccess.show(m.PREFIX)}}Object(u["j"])(b)},"41a0":function(e,t,n){},4390:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ae}));n("b223");var o,r=n("3742"),i=n("68aa"),s=n("5717"),a=n("d0b6"),c=n("fd49"),d=n("fb71"),u=n("8ae8"),l=n("3352"),g=n("2e5a"),h=n("0184"),f=n("ec02"),m=n("0867"),b=n("944a"),p=n("261f"),k=n("6881"),_=n("ce17"),v=n("6da2"),y=n("60db"),C=n("d0c6"),w=function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?n(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};const S=null===(o=window.trustedTypes)||void 0===o?void 0:o.createPolicy("standaloneColorizer",{createHTML:e=>e});class E{static colorizeElement(e,t,n,o){o=o||{};const r=o.theme||"vs",i=o.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!i)return console.error("Mode not detected"),Promise.resolve();const s=t.getLanguageIdByMimeType(i)||i;e.setTheme(r);const a=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+r;const c=e=>{var t;const o=null!==(t=null===S||void 0===S?void 0:S.createHTML(e))&&void 0!==t?t:e;n.innerHTML=o};return this.colorize(t,a||"",s,o).then(c,e=>console.error(e))}static colorize(e,t,n,o){return w(this,void 0,void 0,(function*(){const i=e.languageIdCodec;let s=4;o&&"number"===typeof o.tabSize&&(s=o.tabSize),r["T"](t)&&(t=t.substr(1));const a=r["R"](t);if(!e.isRegisteredLanguageId(n))return D(a,s,i);const c=yield g["l"].getOrCreate(n);return c?O(a,s,c,i):D(a,s,i)}))}static colorizeLine(e,t,n,o,r=4){const i=y["f"].isBasicASCII(e,t),s=y["f"].containsRTL(e,i,n),a=Object(v["e"])(new v["c"](!1,!0,e,!1,i,s,0,o,[],r,0,0,0,0,-1,"none",!1,!1,null));return a.html}static colorizeModelLine(e,t,n=4){const o=e.getLineContent(t);e.forceTokenization(t);const r=e.getLineTokens(t),i=r.inflate();return this.colorizeLine(o,e.mightContainNonBasicASCII(),e.mightContainRTL(),i,n)}}function O(e,t,n,o){return new Promise((r,i)=>{const s=()=>{const a=T(e,t,n,o);if(n instanceof C["a"]){const e=n.getLoadStatus();if(!1===e.loaded)return void e.promise.then(s,i)}r(a)};s()})}function D(e,t,n){let o=[];const r=16793600,i=new Uint32Array(2);i[0]=0,i[1]=r;for(let s=0,a=e.length;s<a;s++){const r=e[s];i[0]=r.length;const a=new _["a"](i,r,n),c=y["f"].isBasicASCII(r,!0),d=y["f"].containsRTL(r,c,!0),u=Object(v["e"])(new v["c"](!1,!0,r,!1,c,d,0,a,[],t,0,0,0,0,-1,"none",!1,!1,null));o=o.concat(u.html),o.push("<br/>")}return o.join("")}function T(e,t,n,o){let r=[],i=n.getInitialState();for(let s=0,a=e.length;s<a;s++){const a=e[s],c=n.tokenizeEncoded(a,!0,i);_["a"].convertToEndOffset(c.tokens,a.length);const d=new _["a"](c.tokens,a,o),u=y["f"].isBasicASCII(a,!0),l=y["f"].containsRTL(a,u,!0),g=Object(v["e"])(new v["c"](!1,!0,a,!1,u,l,0,d.inflate(),[],t,0,0,0,0,-1,"none",!1,!1,null));r=r.concat(g.html),r.push("<br/>"),i=c.endState}return r.join("")}var x=n("3813"),I=n("a666"),j=n("9c1d"),L=n("4a64"),P=n("f58f"),A=n("09db"),F=n("caf5"),N=n("0bee"),R=n("7e32"),M=n("9e74"),z=n("fbba"),H=n("4fc3"),K=n("533b"),B=n("0a0f"),q=n("6dec"),W=n("b0cd"),$=n("b7d0"),V=n("4779"),U=n("03d9"),G=n("f577"),Q=n("b539"),X=n("f3d2"),Y=n("cb41"),J=n("7340"),Z=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},ee=function(e,t){return function(n,o){t(n,o,e)}};let te=0,ne=!1;function oe(e){if(!e){if(ne)return;ne=!0}x["b"](e||document.body)}let re=class extends j["a"]{constructor(e,t,n,o,r,i,s,a,c,d,u,l){const g=Object.assign({},t);g.ariaLabel=g.ariaLabel||U["g"].editorViewAccessibleLabel,g.ariaLabel=g.ariaLabel+";"+U["g"].accessibilityHelpMessage,super(e,g,{},n,o,r,i,a,c,d,u,l),s instanceof F["a"]?this._standaloneKeybindingService=s:this._standaloneKeybindingService=null,oe(g.ariaContainerElement)}addCommand(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;const o="DYNAMIC_"+ ++te,r=H["a"].deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(o,e,t,r),o}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!==typeof e.id||"string"!==typeof e.label||"function"!==typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),I["a"].None;const t=e.id,n=e.label,o=H["a"].and(H["a"].equals("editorId",this.getId()),H["a"].deserialize(e.precondition)),r=e.keybindings,i=H["a"].and(o,H["a"].deserialize(e.keybindingContext)),s=e.contextMenuGroupId||null,a=e.contextMenuOrder||0,c=(t,...n)=>Promise.resolve(e.run(this,...n)),d=new I["b"],u=this.getId()+":"+t;if(d.add(M["a"].registerCommand(u,c)),s){const e={command:{id:u,title:n},when:o,group:s,order:a};d.add(R["d"].appendMenuItem(R["b"].EditorContext,e))}if(Array.isArray(r))for(const g of r)d.add(this._standaloneKeybindingService.addDynamicKeybinding(u,g,c,i));const l=new P["a"](u,n,n,o,c,this._contextKeyService);return this._actions[t]=l,d.add(Object(I["j"])(()=>{delete this._actions[t]})),d}_triggerCommand(e,t){if(this._codeEditorService instanceof X["a"])try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}};re=Z([ee(2,B["a"]),ee(3,s["a"]),ee(4,M["b"]),ee(5,H["b"]),ee(6,q["a"]),ee(7,$["b"]),ee(8,W["a"]),ee(9,V["b"]),ee(10,h["a"]),ee(11,J["a"])],re);let ie=class extends re{constructor(e,t,n,o,r,i,s,a,c,d,u,l,g,h,f){const m=Object.assign({},t);Object(F["c"])(d,m,!1);const b=a.registerEditorContainer(e);"string"===typeof m.theme&&a.setTheme(m.theme),"undefined"!==typeof m.autoDetectHighContrast&&a.setAutoDetectHighContrast(Boolean(m.autoDetectHighContrast));const p=m.model;let k;if(delete m.model,super(e,m,n,o,r,i,s,a,c,u,h,f),this._configurationService=d,this._standaloneThemeService=a,this._register(b),"undefined"===typeof p){const e=g.getLanguageIdByMimeType(m.language)||m.language||Y["b"];k=ae(l,g,m.value||"",e,void 0),this._ownsModel=!0}else k=p,this._ownsModel=!1;if(this._attachModel(k),k){const e={oldModelUrl:null,newModelUrl:k.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){Object(F["c"])(this._configurationService,e,!1),"string"===typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),"undefined"!==typeof e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};ie=Z([ee(2,B["a"]),ee(3,s["a"]),ee(4,M["b"]),ee(5,H["b"]),ee(6,q["a"]),ee(7,N["a"]),ee(8,W["a"]),ee(9,z["a"]),ee(10,V["b"]),ee(11,b["a"]),ee(12,m["a"]),ee(13,h["a"]),ee(14,J["a"])],ie);let se=class extends L["a"]{constructor(e,t,n,o,r,i,s,a,c,d,u,l){const g=Object.assign({},t);Object(F["c"])(c,g,!0);const h=s.registerEditorContainer(e);"string"===typeof g.theme&&s.setTheme(g.theme),"undefined"!==typeof g.autoDetectHighContrast&&s.setAutoDetectHighContrast(Boolean(g.autoDetectHighContrast)),super(e,g,{},l,r,o,n,i,s,a,d,u),this._configurationService=c,this._standaloneThemeService=s,this._register(h)}dispose(){super.dispose()}updateOptions(e){Object(F["c"])(this._configurationService,e,!0),"string"===typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),"undefined"!==typeof e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(re,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};function ae(e,t,n,o,r){if(n=n||"",!o){const o=n.indexOf("\n");let i=n;return-1!==o&&(i=n.substring(0,o)),ce(e,n,t.createByFilepathOrFirstLine(r||null,i),r)}return ce(e,n,t.createById(o),r)}function ce(e,t,n,o){return e.createModel(t,n,o)}se=Z([ee(2,B["a"]),ee(3,H["b"]),ee(4,A["a"]),ee(5,s["a"]),ee(6,N["a"]),ee(7,W["a"]),ee(8,z["a"]),ee(9,K["a"]),ee(10,Q["a"]),ee(11,G["a"])],se);var de=n("b400");function ue(e,t,n){const o=F["b"].initialize(n||{});return o.createInstance(ie,e,t)}function le(e){const t=F["b"].get(s["a"]);return t.onCodeEditorAdd(t=>{e(t)})}function ge(e,t,n){const o=F["b"].initialize(n||{});return o.createInstance(se,e,t)}function he(e,t){return new a["a"](e,t)}function fe(e,t,n){const o=F["b"].get(m["a"]),r=o.getLanguageIdByMimeType(t)||t;return ae(F["b"].get(b["a"]),o,e,r,n)}function me(e,t){const n=F["b"].get(m["a"]),o=F["b"].get(b["a"]);o.setMode(e,n.createById(t))}function be(e,t,n){if(e){const o=F["b"].get(de["b"]);o.changeOne(t,e.uri,n)}}function pe(e){const t=F["b"].get(de["b"]);return t.read(e)}function ke(e){const t=F["b"].get(de["b"]);return t.onMarkerChanged(e)}function _e(e){const t=F["b"].get(b["a"]);return t.getModel(e)}function ve(){const e=F["b"].get(b["a"]);return e.getModels()}function ye(e){const t=F["b"].get(b["a"]);return t.onModelAdded(e)}function Ce(e){const t=F["b"].get(b["a"]);return t.onModelRemoved(e)}function we(e){const t=F["b"].get(b["a"]);return t.onModelLanguageChanged(t=>{e({model:t.model,oldLanguage:t.oldLanguageId})})}function Se(e){return Object(p["a"])(F["b"].get(b["a"]),F["b"].get(h["a"]),e)}function Ee(e,t){const n=F["b"].get(m["a"]),o=F["b"].get(N["a"]);return o.registerEditorContainer(e),E.colorizeElement(o,n,e,t)}function Oe(e,t,n){const o=F["b"].get(m["a"]),r=F["b"].get(N["a"]);return r.registerEditorContainer(document.body),E.colorize(o,e,t,n)}function De(e,t,n=4){const o=F["b"].get(N["a"]);return o.registerEditorContainer(document.body),E.colorizeModelLine(e,t,n)}function Te(e){const t=g["l"].get(e);return t||{getInitialState:()=>f["a"],tokenize:(t,n,o)=>Object(f["b"])(e,o)}}function xe(e,t){g["l"].getOrCreate(t);const n=Te(t),o=Object(r["R"])(e),i=[];let s=n.getInitialState();for(let r=0,a=o.length;r<a;r++){const e=o[r],t=n.tokenize(e,!0,s);i[r]=t.tokens,s=t.endState}return i}function Ie(e,t){const n=F["b"].get(N["a"]);n.defineTheme(e,t)}function je(e){const t=F["b"].get(N["a"]);t.setTheme(e)}function Le(){i["a"].clearAllFontInfos()}function Pe(e,t){return M["a"].registerCommand({id:e,handler:t})}function Ae(){return{create:ue,onDidCreateEditor:le,createDiffEditor:ge,createDiffNavigator:he,createModel:fe,setModelLanguage:me,setModelMarkers:be,getModelMarkers:pe,onDidChangeMarkers:ke,getModels:ve,getModel:_e,onDidCreateModel:ye,onWillDisposeModel:Ce,onDidChangeModelLanguage:we,createWebWorker:Se,colorizeElement:Ee,colorize:Oe,colorizeModelLine:De,tokenize:xe,defineTheme:Ie,setTheme:je,remeasureFonts:Le,registerCommand:Pe,AccessibilitySupport:k["a"],ContentWidgetPositionPreference:k["f"],CursorChangeReason:k["g"],DefaultEndOfLine:k["h"],EditorAutoIndentStrategy:k["j"],EditorOption:k["k"],EndOfLinePreference:k["l"],EndOfLineSequence:k["m"],MinimapPosition:k["u"],MouseTargetType:k["v"],OverlayWidgetPositionPreference:k["w"],OverviewRulerLane:k["x"],RenderLineNumbersType:k["z"],RenderMinimap:k["A"],ScrollbarVisibility:k["C"],ScrollType:k["B"],TextEditorCursorBlinkingStyle:k["H"],TextEditorCursorStyle:k["I"],TrackedRangeStickiness:k["J"],WrappingIndent:k["K"],InjectedTextCursorStops:k["o"],PositionAffinity:k["y"],ConfigurationChangedEvent:c["c"],BareFontInfo:d["a"],FontInfo:d["b"],TextModelResolvedOptions:l["g"],FindMatch:l["b"],ApplyUpdateResult:c["a"],EditorType:u["a"],EditorOptions:c["g"]}}},4816:function(e,t,n){"use strict";n.r(t);n("41a0");var o=n("11f7"),r=n("6653"),i=n("31df"),s=n("3813"),a=n("1b7d"),c=n("a666"),d=n("30db"),u=n("3742"),l=n("6d8e"),g=n("b2cc"),h=n("c101"),f=n("b9ce"),m=n("4fc3"),b=n("0a0f"),p=n("6dec"),k=n("5bd7"),_=n("303e"),v=n("b7d0"),y=n("03d9"),C=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},w=function(e,t){return function(n,o){t(n,o,e)}};const S=new m["c"]("accessibilityHelpWidgetVisible",!1);let E=class e extends c["a"]{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(D,this._editor))}static get(t){return t.getContribution(e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};function O(e,t){return e&&0!==e.length?1===e.length?t?u["v"](y["a"].singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,t):u["v"](y["a"].singleSelection,e[0].positionLineNumber,e[0].positionColumn):t?u["v"](y["a"].multiSelectionRange,e.length,t):e.length>0?u["v"](y["a"].multiSelection,e.length):"":y["a"].noSelection}E.ID="editor.contrib.accessibilityHelpController",E=C([w(1,b["a"])],E);let D=class e extends a["a"]{constructor(e,t,n,i){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=i,this._editor=e,this._isVisibleKey=S.bindTo(this._contextKeyService),this._domNode=Object(r["b"])(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=Object(r["b"])(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange(()=>{this._isVisible&&this._layout()})),this._register(o["o"](this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&(Object(s["a"])(y["a"].emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),o["t"](this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(s["a"])(y["a"].openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;"undefined"===typeof t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(l["a"].parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){const o=this._keybindingService.lookupKeybinding(e);return o?u["v"](t,o.getAriaLabel()):u["v"](n,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let n=0;if(t){const e=this._editor.getModel();e&&t.forEach(t=>{n+=e.getValueLengthInRange(t)})}let o=O(t,n);e.get(54)?e.get(81)?o+=y["a"].readonlyDiffEditor:o+=y["a"].editableDiffEditor:e.get(81)?o+=y["a"].readonlyEditor:o+=y["a"].editableEditor;const r=d["i"]?y["a"].changeConfigToOnMac:y["a"].changeConfigToOnWinLinux;switch(e.get(2)){case 0:o+="\n\n - "+r;break;case 2:o+="\n\n - "+y["a"].auto_on;break;case 1:o+="\n\n - "+y["a"].auto_off,o+=" "+r;break}e.get(130)?o+="\n\n - "+this._descriptionForCommand(f["ToggleTabFocusModeAction"].ID,y["a"].tabFocusModeOnMsg,y["a"].tabFocusModeOnMsgNoKb):o+="\n\n - "+this._descriptionForCommand(f["ToggleTabFocusModeAction"].ID,y["a"].tabFocusModeOffMsg,y["a"].tabFocusModeOffMsgNoKb);const s=d["i"]?y["a"].openDocMac:y["a"].openDocWinLinux;o+="\n\n - "+s,o+="\n\n"+y["a"].outroMsg,this._contentDomNode.domNode.appendChild(Object(i["b"])(o)),this._contentDomNode.domNode.setAttribute("aria-label",o)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,o["t"](this._contentDomNode.domNode),this._editor.focus())}_layout(){const t=this._editor.getLayoutInfo(),n=Math.max(5,Math.min(e.WIDTH,t.width-40)),o=Math.max(5,Math.min(e.HEIGHT,t.height-40));this._domNode.setWidth(n),this._domNode.setHeight(o);const r=Math.round((t.height-o)/2);this._domNode.setTop(r);const i=Math.round((t.width-n)/2);this._domNode.setLeft(i)}};D.ID="editor.contrib.accessibilityHelpWidget",D.WIDTH=500,D.HEIGHT=300,D=C([w(1,m["b"]),w(2,p["a"]),w(3,k["a"])],D);class T extends g["b"]{constructor(){super({id:"editor.action.showAccessibilityHelp",label:y["a"].showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){const n=E.get(t);n&&n.show()}}Object(g["l"])(E.ID,E),Object(g["j"])(T);const x=g["c"].bindToContribution(E.get);Object(g["k"])(new x({id:"closeAccessibilityHelp",precondition:S,handler:e=>e.hide(),kbOpts:{weight:200,kbExpr:h["a"].focus,primary:9,secondary:[1033]}})),Object(v["f"])((e,t)=>{const n=e.getColor(_["jb"]);n&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${n}; }`);const o=e.getColor(_["lb"]);o&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${o}; }`);const r=e.getColor(_["Xc"]);r&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${r}; }`);const i=e.getColor(_["i"]);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${i}; }`)})},5249:function(e,t,n){"use strict";n.d(t,"a",(function(){return fe}));var o=n("ceb8"),r=n("6a89"),i=n("2e5a"),s=n("0184"),a=n("cb41"),c=n("0867"),d=n("6881"),u=n("caf5"),l=n("8f4b");function g(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(const n of t)if(!e(n))return!1;return!0}function h(e,t){return"boolean"===typeof e?e:t}function f(e,t){return"string"===typeof e?e:t}function m(e){const t={};for(const n of e)t[n]=!0;return t}function b(e,t=!1){t&&(e=e.map((function(e){return e.toLowerCase()})));const n=m(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function p(e,t){t=t.replace(/@@/g,"");let n,o=0;do{n=!1,t=t.replace(/@(\w+)/g,(function(o,r){n=!0;let i="";if("string"===typeof e[r])i=e[r];else{if(!(e[r]&&e[r]instanceof RegExp))throw void 0===e[r]?l["a"](e,"language definition does not contain attribute '"+r+"', used at: "+t):l["a"](e,"attribute reference '"+r+"' must be a string, used at: "+t);i=e[r].source}return l["b"](i)?"":"(?:"+i+")"})),o++}while(n&&o<5);t=t.replace(/\x01/g,"@");const r=(e.ignoreCase?"i":"")+(e.unicode?"u":"");return new RegExp(t,r)}function k(e,t,n,o){if(o<0)return e;if(o<t.length)return t[o];if(o>=100){o-=100;const e=n.split(".");if(e.unshift(n),o<e.length)return e[o]}return null}function _(e,t,n,o){let r=-1,i=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(r=parseInt(s[3]),s[2]&&(r+=100)),i=s[4]);let a,c="~",d=i;if(i&&0!==i.length?/^\w*$/.test(d)?c="==":(s=i.match(/^(@|!@|~|!~|==|!=)(.*)$/),s&&(c=s[1],d=s[2])):(c="!=",d=""),"~"!==c&&"!~"!==c||!/^(\w|\|)*$/.test(d))if("@"===c||"!@"===c){const n=e[d];if(!n)throw l["a"](e,"the @ match target '"+d+"' is not defined, in rule: "+t);if(!g((function(e){return"string"===typeof e}),n))throw l["a"](e,"the @ match target '"+d+"' must be an array of strings, in rule: "+t);const o=b(n,e.ignoreCase);a=function(e){return"@"===c?o(e):!o(e)}}else if("~"===c||"!~"===c)if(d.indexOf("$")<0){const t=p(e,"^"+d+"$");a=function(e){return"~"===c?t.test(e):!t.test(e)}}else a=function(t,n,o,r){const i=p(e,"^"+l["k"](e,d,n,o,r)+"$");return i.test(t)};else if(d.indexOf("$")<0){const t=l["d"](e,d);a=function(e){return"=="===c?e===t:e!==t}}else{const t=l["d"](e,d);a=function(n,o,r,i,s){const a=l["k"](e,t,o,r,i);return"=="===c?n===a:n!==a}}else{const t=b(d.split("|"),e.ignoreCase);a=function(e){return"~"===c?t(e):!t(e)}}return-1===r?{name:n,value:o,test:function(e,t,n,o){return a(e,e,t,n,o)}}:{name:n,value:o,test:function(e,t,n,o){const i=k(e,t,n,r);return a(i||"",e,t,n,o)}}}function v(e,t,n){if(n){if("string"===typeof n)return n;if(n.token||""===n.token){if("string"!==typeof n.token)throw l["a"](e,"a 'token' attribute must be of type string, in rule: "+t);{const o={token:n.token};if(n.token.indexOf("$")>=0&&(o.tokenSubst=!0),"string"===typeof n.bracket)if("@open"===n.bracket)o.bracket=1;else{if("@close"!==n.bracket)throw l["a"](e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);o.bracket=-1}if(n.next){if("string"!==typeof n.next)throw l["a"](e,"the next state must be a string value in rule: "+t);{let r=n.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!l["j"](e,l["k"](e,r,"",[],""))))throw l["a"](e,"the next state '"+n.next+"' is not defined in rule: "+t);o.next=r}}return"number"===typeof n.goBack&&(o.goBack=n.goBack),"string"===typeof n.switchTo&&(o.switchTo=n.switchTo),"string"===typeof n.log&&(o.log=n.log),"string"===typeof n.nextEmbedded&&(o.nextEmbedded=n.nextEmbedded,e.usesEmbedded=!0),o}}if(Array.isArray(n)){const o=[];for(let r=0,i=n.length;r<i;r++)o[r]=v(e,t,n[r]);return{group:o}}if(n.cases){const o=[];for(let i in n.cases)if(n.cases.hasOwnProperty(i)){const r=v(e,t,n.cases[i]);"@default"===i||"@"===i||""===i?o.push({test:void 0,value:r,name:i}):"@eos"===i?o.push({test:function(e,t,n,o){return o},value:r,name:i}):o.push(_(e,t,i,r))}const r=e.defaultToken;return{test:function(e,t,n,i){for(const r of o){const o=!r.test||r.test(e,t,n,i);if(o)return r.value}return r}}}throw l["a"](e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}return{token:""}}class y{constructor(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}setRegex(e,t){let n;if("string"===typeof t)n=t;else{if(!(t instanceof RegExp))throw l["a"](e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=p(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")}setAction(e,t){this.action=v(e,this.name,t)}}function C(e,t){if(!t||"object"!==typeof t)throw new Error("Monarch: expecting a language definition object");const n={};n.languageId=e,n.includeLF=h(t.includeLF,!1),n.noThrow=!1,n.maxStack=100,n.start="string"===typeof t.start?t.start:null,n.ignoreCase=h(t.ignoreCase,!1),n.unicode=h(t.unicode,!1),n.tokenPostfix=f(t.tokenPostfix,"."+n.languageId),n.defaultToken=f(t.defaultToken,"source"),n.usesEmbedded=!1;const o=t;function r(e,i,s){for(const a of s){let s=a.include;if(s){if("string"!==typeof s)throw l["a"](n,"an 'include' attribute must be a string at: "+e);if("@"===s[0]&&(s=s.substr(1)),!t.tokenizer[s])throw l["a"](n,"include target '"+s+"' is not defined at: "+e);r(e+"."+s,i,t.tokenizer[s])}else{const t=new y(e);if(Array.isArray(a)&&a.length>=1&&a.length<=3)if(t.setRegex(o,a[0]),a.length>=3)if("string"===typeof a[1])t.setAction(o,{token:a[1],next:a[2]});else{if("object"!==typeof a[1])throw l["a"](n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);{const e=a[1];e.next=a[2],t.setAction(o,e)}}else t.setAction(o,a[1]);else{if(!a.regex)throw l["a"](n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);a.name&&"string"===typeof a.name&&(t.name=a.name),a.matchOnlyAtStart&&(t.matchOnlyAtLineStart=h(a.matchOnlyAtLineStart,!1)),t.setRegex(o,a.regex),t.setAction(o,a.action)}i.push(t)}}}if(o.languageId=e,o.includeLF=n.includeLF,o.ignoreCase=n.ignoreCase,o.unicode=n.unicode,o.noThrow=n.noThrow,o.usesEmbedded=n.usesEmbedded,o.stateNames=t.tokenizer,o.defaultToken=n.defaultToken,!t.tokenizer||"object"!==typeof t.tokenizer)throw l["a"](n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(let s in t.tokenizer)if(t.tokenizer.hasOwnProperty(s)){n.start||(n.start=s);const e=t.tokenizer[s];n.tokenizer[s]=new Array,r("tokenizer."+s,n.tokenizer[s],e)}if(n.usesEmbedded=o.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw l["a"](n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];const i=[];for(let s of t.brackets){let e=s;if(e&&Array.isArray(e)&&3===e.length&&(e={token:e[2],open:e[0],close:e[1]}),e.open===e.close)throw l["a"](n,"open and close brackets in a 'brackets' attribute must be different: "+e.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!==typeof e.open||"string"!==typeof e.token||"string"!==typeof e.close)throw l["a"](n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");i.push({token:e.token+n.tokenPostfix,open:l["d"](n,e.open),close:l["d"](n,e.close)})}return n.brackets=i,n.noThrow=!0,n}var w=n("d0c6"),S=n("0bee"),E=n("b400"),O=n("7340"),D=function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?n(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};function T(e){a["a"].registerLanguage(e)}function x(){let e=[];return e=e.concat(a["a"].getLanguages()),e}function I(e){const t=u["b"].get(c["a"]);return t.languageIdCodec.encodeLanguageId(e)}function j(e,t){const n=u["b"].get(c["a"]),o=n.onDidEncounterLanguage(n=>{n===e&&(o.dispose(),t())});return o}function L(e,t){const n=u["b"].get(c["a"]);if(!n.isRegisteredLanguageId(e))throw new Error("Cannot set configuration for unknown language "+e);return s["b"].register(e,t,100)}class P{constructor(e,t){this._languageId=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){if("function"===typeof this._actual.tokenize)return A.adaptTokenize(this._languageId,this._actual,e,n);throw new Error("Not supported!")}tokenizeEncoded(e,t,n){const o=this._actual.tokenizeEncoded(e,n);return new i["d"](o.tokens,o.endState)}}class A{constructor(e,t,n,o){this._languageId=e,this._actual=t,this._languageService=n,this._standaloneThemeService=o}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t){const n=[];let o=0;for(let r=0,s=e.length;r<s;r++){const s=e[r];let a=s.startIndex;0===r?a=0:a<o&&(a=o),n[r]=new i["j"](a,s.scopes,t),o=a}return n}static adaptTokenize(e,t,n,o){const r=t.tokenize(n,o),s=A._toClassicTokens(r.tokens,e);let a;return a=r.endState.equals(o)?o:r.endState,new i["m"](s,a)}tokenize(e,t,n){return A.adaptTokenize(this._languageId,this._actual,e,n)}_toBinaryTokens(e,t){const n=e.encodeLanguageId(this._languageId),o=this._standaloneThemeService.getColorTheme().tokenTheme,r=[];let i=0,s=0;for(let c=0,d=t.length;c<d;c++){const e=t[c],a=o.match(n,e.scopes);if(i>0&&r[i-1]===a)continue;let d=e.startIndex;0===c?d=0:d<s&&(d=s),r[i++]=d,r[i++]=a,s=d}const a=new Uint32Array(i);for(let c=0;c<i;c++)a[c]=r[c];return a}tokenizeEncoded(e,t,n){const o=this._actual.tokenize(e,n),r=this._toBinaryTokens(this._languageService.languageIdCodec,o.tokens);let s;return s=o.endState.equals(n)?n:o.endState,new i["d"](r,s)}}function F(e){return"function"===typeof e.getInitialState}function N(e){return"tokenizeEncoded"in e}function R(e){return e&&"function"===typeof e.then}function M(e){const t=u["b"].get(S["a"]);if(e){const n=[null];for(let t=1,r=e.length;t<r;t++)n[t]=o["a"].fromHex(e[t]);t.setColorMapOverride(n)}else t.setColorMapOverride(null)}function z(e,t){return N(t)?new P(e,t):new A(e,t,u["b"].get(c["a"]),u["b"].get(S["a"]))}function H(e,t){const n={createTokenizationSupport:()=>D(this,void 0,void 0,(function*(){const n=yield Promise.resolve(t.create());return n?F(n)?z(e,n):new w["a"](u["b"].get(c["a"]),u["b"].get(S["a"]),e,C(e,n)):null}))};return i["l"].registerFactory(e,n)}function K(e,t){const n=u["b"].get(c["a"]);if(!n.isRegisteredLanguageId(e))throw new Error("Cannot set tokens provider for unknown language "+e);return R(t)?H(e,{create:()=>t}):i["l"].register(e,z(e,t))}function B(e,t){const n=t=>new w["a"](u["b"].get(c["a"]),u["b"].get(S["a"]),e,C(e,t));return R(t)?H(e,{create:()=>t}):i["l"].register(e,n(t))}function q(e,t){const n=u["b"].get(O["a"]);return n.referenceProvider.register(e,t)}function W(e,t){const n=u["b"].get(O["a"]);return n.renameProvider.register(e,t)}function $(e,t){const n=u["b"].get(O["a"]);return n.signatureHelpProvider.register(e,t)}function V(e,t){const n=u["b"].get(O["a"]);return n.hoverProvider.register(e,{provideHover:(e,n,o)=>{const i=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,o)).then(e=>{if(e)return!e.range&&i&&(e.range=new r["a"](n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)),e.range||(e.range=new r["a"](n.lineNumber,n.column,n.lineNumber,n.column)),e})}})}function U(e,t){const n=u["b"].get(O["a"]);return n.documentSymbolProvider.register(e,t)}function G(e,t){const n=u["b"].get(O["a"]);return n.documentHighlightProvider.register(e,t)}function Q(e,t){const n=u["b"].get(O["a"]);return n.linkedEditingRangeProvider.register(e,t)}function X(e,t){const n=u["b"].get(O["a"]);return n.definitionProvider.register(e,t)}function Y(e,t){const n=u["b"].get(O["a"]);return n.implementationProvider.register(e,t)}function J(e,t){const n=u["b"].get(O["a"]);return n.typeDefinitionProvider.register(e,t)}function Z(e,t){const n=u["b"].get(O["a"]);return n.codeLensProvider.register(e,t)}function ee(e,t,n){const o=u["b"].get(O["a"]);return o.codeActionProvider.register(e,{providedCodeActionKinds:null===n||void 0===n?void 0:n.providedCodeActionKinds,provideCodeActions:(e,n,o,i)=>{const s=u["b"].get(E["b"]),a=s.read({resource:e.uri}).filter(e=>r["a"].areIntersectingOrTouching(e,n));return t.provideCodeActions(e,n,{markers:a,only:o.only},i)},resolveCodeAction:t.resolveCodeAction})}function te(e,t){const n=u["b"].get(O["a"]);return n.documentFormattingEditProvider.register(e,t)}function ne(e,t){const n=u["b"].get(O["a"]);return n.documentRangeFormattingEditProvider.register(e,t)}function oe(e,t){const n=u["b"].get(O["a"]);return n.onTypeFormattingEditProvider.register(e,t)}function re(e,t){const n=u["b"].get(O["a"]);return n.linkProvider.register(e,t)}function ie(e,t){const n=u["b"].get(O["a"]);return n.completionProvider.register(e,t)}function se(e,t){const n=u["b"].get(O["a"]);return n.colorProvider.register(e,t)}function ae(e,t){const n=u["b"].get(O["a"]);return n.foldingRangeProvider.register(e,t)}function ce(e,t){const n=u["b"].get(O["a"]);return n.declarationProvider.register(e,t)}function de(e,t){const n=u["b"].get(O["a"]);return n.selectionRangeProvider.register(e,t)}function ue(e,t){const n=u["b"].get(O["a"]);return n.documentSemanticTokensProvider.register(e,t)}function le(e,t){const n=u["b"].get(O["a"]);return n.documentRangeSemanticTokensProvider.register(e,t)}function ge(e,t){const n=u["b"].get(O["a"]);return n.inlineCompletionsProvider.register(e,t)}function he(e,t){const n=u["b"].get(O["a"]);return n.inlayHintsProvider.register(e,t)}function fe(){return{register:T,getLanguages:x,onLanguage:j,getEncodedLanguageId:I,setLanguageConfiguration:L,setColorMap:M,registerTokensProviderFactory:H,setTokensProvider:K,setMonarchTokensProvider:B,registerReferenceProvider:q,registerRenameProvider:W,registerCompletionItemProvider:ie,registerSignatureHelpProvider:$,registerHoverProvider:V,registerDocumentSymbolProvider:U,registerDocumentHighlightProvider:G,registerLinkedEditingRangeProvider:Q,registerDefinitionProvider:X,registerImplementationProvider:Y,registerTypeDefinitionProvider:J,registerCodeLensProvider:Z,registerCodeActionProvider:ee,registerDocumentFormattingEditProvider:te,registerDocumentRangeFormattingEditProvider:ne,registerOnTypeFormattingEditProvider:oe,registerLinkProvider:re,registerColorProvider:se,registerFoldingRangeProvider:ae,registerDeclarationProvider:ce,registerSelectionRangeProvider:de,registerDocumentSemanticTokensProvider:ue,registerDocumentRangeSemanticTokensProvider:le,registerInlineCompletionsProvider:ge,registerInlayHintsProvider:he,DocumentHighlightKind:d["i"],CompletionItemKind:d["c"],CompletionItemTag:d["d"],CompletionItemInsertTextRule:d["b"],SymbolKind:d["F"],SymbolTag:d["G"],IndentAction:d["n"],CompletionTriggerKind:d["e"],SignatureHelpTriggerKind:d["E"],InlayHintKind:d["p"],InlineCompletionTriggerKind:d["q"],FoldingRangeKind:i["e"]}}},"675a":function(e,t,n){},"6c8c":function(e,t,n){"use strict";n.r(t);var o=n("89cd"),r=n("2f1e"),i=n("03d9"),s=n("2ef8");o["a"].as(r["b"].Quickaccess).registerQuickAccessProvider({ctor:s["a"],prefix:"",helpEntries:[{description:i["e"].helpQuickAccessActionLabel,needsEditor:!0}]})},"722f":function(e,t,n){},8090:function(e,t,n){"use strict";n.r(t);n("133b");var o=n("11f7"),r=n("ceb8"),i=n("a666"),s=n("b2cc"),a=n("2e5a"),c=n("ec02"),d=n("0867"),u=n("0bee"),l=n("303e"),g=n("b7d0"),h=n("03d9"),f=n("9c41"),m=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},b=function(e,t){return function(n,o){t(n,o,e)}};let p=class e extends i["a"]{constructor(e,t,n){super(),this._editor=e,this._languageService=n,this._widget=null,this._register(this._editor.onDidChangeModel(e=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(a["l"].onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new y(this._editor,this._languageService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};p.ID="editor.contrib.inspectTokens",p=m([b(1,u["a"]),b(2,d["a"])],p);class k extends s["b"]{constructor(){super({id:"editor.action.inspectTokens",label:h["c"].inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){const n=p.get(t);n&&n.launch()}}function _(e){let t="";for(let n=0,o=e.length;n<o;n++){const o=e.charCodeAt(n);switch(o){case 9:t+="→";break;case 32:t+="·";break;default:t+=String.fromCharCode(o)}}return t}function v(e,t){const n=a["l"].get(t);if(n)return n;const o=e.encodeLanguageId(t);return{getInitialState:()=>c["a"],tokenize:(e,n,o)=>Object(c["b"])(t,o),tokenizeEncoded:(e,t,n)=>Object(c["c"])(o,n)}}class y extends i["a"]{constructor(e,t){super(),this.allowEditorOverflow=!0,this._editor=e,this._languageService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=v(this._languageService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return y._ID}_compute(e){const t=this._getTokensAtLine(e.lineNumber);let n=0;for(let o=t.tokens1.length-1;o>=0;o--){const r=t.tokens1[o];if(e.column-1>=r.offset){n=o;break}}let i=0;for(let o=t.tokens2.length>>>1;o>=0;o--)if(e.column-1>=t.tokens2[o<<1]){i=o;break}const s=this._model.getLineContent(e.lineNumber);let a="";if(n<t.tokens1.length){const e=t.tokens1[n].offset,o=n+1<t.tokens1.length?t.tokens1[n+1].offset:s.length;a=s.substring(e,o)}Object(o["S"])(this._domNode,Object(o["a"])("h2.tm-token",void 0,_(a),Object(o["a"])("span.tm-token-length",void 0,`${a.length} ${1===a.length?"char":"chars"}`))),Object(o["q"])(this._domNode,Object(o["a"])("hr.tokens-inspect-separator",{style:"clear:both"}));const c=1+(i<<1)<t.tokens2.length?this._decodeMetadata(t.tokens2[1+(i<<1)]):null;Object(o["q"])(this._domNode,Object(o["a"])("table.tm-metadata-table",void 0,Object(o["a"])("tbody",void 0,Object(o["a"])("tr",void 0,Object(o["a"])("td.tm-metadata-key",void 0,"language"),Object(o["a"])("td.tm-metadata-value",void 0,""+(c?c.languageId:"-?-"))),Object(o["a"])("tr",void 0,Object(o["a"])("td.tm-metadata-key",void 0,"token type"),Object(o["a"])("td.tm-metadata-value",void 0,""+(c?this._tokenTypeToString(c.tokenType):"-?-"))),Object(o["a"])("tr",void 0,Object(o["a"])("td.tm-metadata-key",void 0,"font style"),Object(o["a"])("td.tm-metadata-value",void 0,""+(c?this._fontStyleToString(c.fontStyle):"-?-"))),Object(o["a"])("tr",void 0,Object(o["a"])("td.tm-metadata-key",void 0,"foreground"),Object(o["a"])("td.tm-metadata-value",void 0,""+(c?r["a"].Format.CSS.formatHex(c.foreground):"-?-"))),Object(o["a"])("tr",void 0,Object(o["a"])("td.tm-metadata-key",void 0,"background"),Object(o["a"])("td.tm-metadata-value",void 0,""+(c?r["a"].Format.CSS.formatHex(c.background):"-?-")))))),Object(o["q"])(this._domNode,Object(o["a"])("hr.tokens-inspect-separator")),n<t.tokens1.length&&Object(o["q"])(this._domNode,Object(o["a"])("span.tm-token-type",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){const t=a["l"].getColorMap(),n=a["k"].getLanguageId(e),o=a["k"].getTokenType(e),r=a["k"].getFontStyle(e),i=a["k"].getForeground(e),s=a["k"].getBackground(e);return{languageId:this._languageService.languageIdCodec.decodeLanguageId(n),tokenType:o,fontStyle:r,foreground:t[i],background:t[s]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 3:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),8&e&&(t+="strikethrough "),0===t.length&&(t="---"),t}_getTokensAtLine(e){const t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),!0,t),o=this._tokenizationSupport.tokenizeEncoded(this._model.getLineContent(e),!0,t);return{startState:t,tokens1:n.tokens,tokens2:o.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++){const e=this._tokenizationSupport.tokenize(this._model.getLineContent(n),!0,t);t=e.endState}return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}y._ID="editor.contrib.inspectTokensWidget",Object(s["l"])(p.ID,p),Object(s["j"])(k),Object(g["f"])((e,t)=>{const n=e.getColor(l["M"]);if(n){const o=e.type===f["a"].HIGH_CONTRAST?2:1;t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${o}px solid ${n}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${n}; }`)}const o=e.getColor(l["L"]);o&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${o}; }`);const r=e.getColor(l["N"]);r&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${r}; }`)})},8452:function(e,t,n){"use strict";n.r(t),n.d(t,"StandaloneGotoSymbolQuickAccessProvider",(function(){return p})),n.d(t,"GotoLineAction",(function(){return k}));n("b9db"),n("3723");var o=n("ead7"),r=n("89cd"),i=n("2f1e"),s=n("5717"),a=n("ef8e"),c=n("03d9"),d=n("308f"),u=n("b2cc"),l=n("c101"),g=n("66bd"),h=n("0bac"),f=n("7340"),m=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},b=function(e,t){return function(n,o){t(n,o,e)}};let p=class extends o["a"]{constructor(e,t,n){super(t,n),this.editorService=e,this.onDidActiveTextEditorControlChange=d["c"].None}get activeTextEditorControl(){return Object(a["q"])(this.editorService.getFocusedCodeEditor())}};p=m([b(0,s["a"]),b(1,f["a"]),b(2,h["a"])],p),r["a"].as(i["b"].Quickaccess).registerQuickAccessProvider({ctor:p,prefix:o["a"].PREFIX,helpEntries:[{description:c["f"].quickOutlineActionLabel,prefix:o["a"].PREFIX,needsEditor:!0},{description:c["f"].quickOutlineByCategoryActionLabel,prefix:o["a"].PREFIX_BY_CATEGORY,needsEditor:!0}]});class k extends u["b"]{constructor(){super({id:"editor.action.quickOutline",label:c["f"].quickOutlineActionLabel,alias:"Go to Symbol...",precondition:l["a"].hasDocumentSymbolProvider,kbOpts:{kbExpr:l["a"].focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(g["a"]).quickAccess.show(o["a"].PREFIX)}}Object(u["j"])(k)},"8f4b":function(e,t,n){"use strict";function o(e){return Array.isArray(e)}function r(e){return!o(e)}function i(e){return"string"===typeof e}function s(e){return!i(e)}function a(e){return!e}function c(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function d(e){return e.replace(/[&<>'"_]/g,"-")}function u(e,t){console.log(`${e.languageId}: ${t}`)}function l(e,t){return new Error(`${e.languageId}: ${t}`)}function g(e,t,n,o,r){const i=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let s=null;return t.replace(i,(function(t,i,d,u,l,g,h,f,m){return a(d)?a(u)?!a(l)&&l<o.length?c(e,o[l]):!a(h)&&e&&"string"===typeof e[h]?e[h]:(null===s&&(s=r.split("."),s.unshift(r)),!a(g)&&g<s.length?c(e,s[g]):""):c(e,n):"$"}))}function h(e,t){let n=t;while(n&&n.length>0){const t=e.tokenizer[n];if(t)return t;const o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return null}function f(e,t){let n=t;while(n&&n.length>0){const t=e.stateNames[n];if(t)return!0;const o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return!1}n.d(t,"e",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"k",(function(){return g})),n.d(t,"c",(function(){return h})),n.d(t,"j",(function(){return f}))},a222:function(e,t,n){"use strict";n.r(t),n.d(t,"IPadShowKeyboard",(function(){return a}));n("722f");var o=n("11f7"),r=n("a666"),i=n("b2cc"),s=n("30db");class a extends r["a"]{constructor(e){super(),this.editor=e,this.widget=null,s["f"]&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const e=!this.editor.getOption(81);!this.widget&&e?this.widget=new c(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}a.ID="editor.contrib.iPadShowKeyboard";class c extends r["a"]{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(o["i"](this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(o["i"](this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return c.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}c.ID="editor.contrib.ShowKeyboardWidget",Object(i["l"])(a.ID,a)},b223:function(e,t,n){},bd50:function(e,t,n){"use strict";n.r(t);var o=n("b2cc"),r=n("0bee"),i=n("03d9");class s extends o["b"]{constructor(){super({id:"editor.action.toggleHighContrast",label:i["i"].toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const n=e.get(r["a"]);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme("hc-black"))}}Object(o["j"])(s)},caf5:function(e,t,n){"use strict";n.d(t,"a",(function(){return ct})),n.d(t,"c",(function(){return bt})),n.d(t,"b",(function(){return St}));n("0184"),n("f3d2");var o=n("11f7"),r=n("308f"),i=n("ad8e"),s=n("5717"),a=n("f5f3"),c=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},d=function(e,t){return function(n,o){t(n,o,e)}};let u=class{constructor(e){this._codeEditorService=e,this.onDidLayout=r["c"].None}get dimension(){return this._dimension||(this._dimension=o["A"](window.document.body)),this._dimension}get hasContainer(){return!1}get container(){throw new Error("ILayoutService.container is not available in the standalone editor!")}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}};u=c([d(0,s["a"])],u);let l=class extends u{constructor(e,t){super(t),this._container=e}get hasContainer(){return!1}get container(){return this._container}};l=c([d(1,s["a"])],l),Object(a["b"])(i["a"],u);n("55d7"),n("e971");var g=n("3742"),h=n("b835"),f=n("4b37"),m=n("a666"),b=n("30db"),p=n("4b76"),k=n("6d8e"),_=n("c7f5"),v=n("65d0"),y=n("d3f4"),C=n("7061"),w=n("6a89"),S=n("944a"),E=n("b78f"),O=n("75bf"),D=n("9e74"),T=n("fbba"),x=n("bd05"),I=n("4fc3"),j=n("eafb"),L=n("0a0f"),P=n("6206"),A=n("6dec"),F=n("61c2"),N=n("9eb8"),R=n("c6a9"),M=n("5fc1"),z=n("47cb"),H=n("b0cd"),K=n("b539"),B=n("5d75"),q=n("1165"),W=n("03d9"),$=n("d3d7"),V=n("7efb"),U=n("533b"),G=n("107e"),Q=n("e47f"),X=n("762e"),Y=n("b7d0"),J=n("3695"),Z=n("09db"),ee=n("281a"),te=n("0867"),ne=n("7e52"),oe=n("7908"),re=n("1b69"),ie=(n("675a"),n("b2cc")),se=n("2504"),ae=n("4779"),ce=n("e42a"),de=n("0bfb"),ue=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},le=function(e,t){return function(n,o){t(n,o,e)}};let ge=class extends ce["a"]{constructor(e,t,n,o,r,i){super(t,n,o,r,new l(e.getContainerDomNode(),i)),this.host=void 0;const s=fe.get(e);if(s){const t=s.widget;this.host={_serviceBrand:void 0,get hasContainer(){return!0},get container(){return t.getDomNode()},get dimension(){return e.getLayoutInfo()},get onDidLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}else this.host=void 0}createController(){return super.createController(this.host)}};ge=ue([le(1,L["a"]),le(2,I["b"]),le(3,Y["b"]),le(4,ae["b"]),le(5,s["a"])],ge);let he=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const n=t=this.instantiationService.createInstance(ge,e);this.mapEditorToService.set(e,t),Object(de["a"])(e.onDidDispose)(()=>{n.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=se["a"].None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};he=ue([le(0,L["a"]),le(1,s["a"])],he);class fe{constructor(e){this.editor=e,this.widget=new me(this.editor)}static get(e){return e.getContribution(fe.ID)}dispose(){this.widget.dispose()}}fe.ID="editor.controller.quickInput";class me{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return me.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}me.ID="editor.contrib.quickInputWidget",Object(ie["l"])(fe.ID,fe);var be=n("ceb8"),pe=n("2e5a"),ke=n("f323"),_e=n("dc81"),ve=n("303e");const ye={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[ve["y"]]:"#FFFFFE",[ve["I"]]:"#000000",[ve["Q"]]:"#E5EBF1",[_e["z"]]:"#D3D3D3",[_e["a"]]:"#939393",[ve["eb"]]:"#ADD6FF4D"}},Ce={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[ve["y"]]:"#1E1E1E",[ve["I"]]:"#D4D4D4",[ve["Q"]]:"#3A3D41",[_e["z"]]:"#404040",[_e["a"]]:"#707070",[ve["eb"]]:"#ADD6FF26"}},we={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[ve["y"]]:"#000000",[ve["I"]]:"#FFFFFF",[_e["z"]]:"#FFFFFF",[_e["a"]]:"#FFFFFF"}};var Se=n("89cd"),Ee=n("9c41"),Oe=n("ced5");const De="vs",Te="vs-dark",xe="hc-black",Ie=Se["a"].as(ve["a"].ColorContribution),je=Se["a"].as(Y["a"].ThemingContribution);class Le{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;const n=t.base;e.length>0?(Pe(e)?this.id=e:this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(let t in this.themeData.colors)e.set(t,be["a"].fromHex(this.themeData.colors[t]));if(this.themeData.inherit){const t=Ae(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,be["a"].fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){const n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=Ie.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case De:return Ee["a"].LIGHT;case xe:return Ee["a"].HIGH_CONTRAST;default:return Ee["a"].DARK}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){const n=Ae(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}const n=this.themeData.colors["editor.foreground"],o=this.themeData.colors["editor.background"];if(n||o){const t={token:""};n&&(t.foreground=n),o&&(t.background=o),e.push(t)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=ke["a"].createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const o=this.tokenTheme._match([e].concat(t).join(".")),r=o.metadata,i=pe["k"].getForeground(r),s=pe["k"].getFontStyle(r);return{foreground:i,italic:Boolean(1&s),bold:Boolean(2&s),underline:Boolean(4&s),strikethrough:Boolean(8&s)}}}function Pe(e){return e===De||e===Te||e===xe}function Ae(e){switch(e){case De:return ye;case Te:return Ce;case xe:return we}}function Fe(e){const t=Ae(e);return new Le(e,t)}class Ne extends m["a"]{constructor(){super(),this._onColorThemeChange=this._register(new r["b"]),this.onDidColorThemeChange=this._onColorThemeChange.event,this._onProductIconThemeChange=this._register(new r["b"]),this.onDidProductIconThemeChange=this._onProductIconThemeChange.event,this._environment=Object.create(null),this._builtInProductIconTheme=new Oe["a"],this._autoDetectHighContrast=!0,this._knownThemes=new Map,this._knownThemes.set(De,Fe(De)),this._knownThemes.set(Te,Fe(Te)),this._knownThemes.set(xe,Fe(xe));const e=Object(Oe["b"])(this);this._codiconCSS=e.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this._colorMapOverride=null,this.setTheme(De),e.onDidChange(()=>{this._codiconCSS=e.getCSS(),this._updateCSS()}),o["m"]("(forced-colors: active)",()=>{this._updateActualTheme()})}registerEditorContainer(e){return o["P"](e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=o["x"](),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),m["a"].None}_registerShadowDomContainer(e){const t=o["x"](e);return t.className="monaco-colors",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e<this._styleElements.length;e++)if(this._styleElements[e]===t)return void this._styleElements.splice(e,1)}}}defineTheme(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!Pe(t.base)&&!Pe(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new Le(e,t)),Pe(e)&&this._knownThemes.forEach(t=>{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(De),this._desiredTheme=t,this._updateActualTheme()}_updateActualTheme(){const e=this._autoDetectHighContrast&&window.matchMedia("(forced-colors: active)").matches?this._knownThemes.get(xe):this._desiredTheme;this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._updateActualTheme()}_updateThemeOrColorMap(){const e=[],t={},n={addRule:n=>{t[n]||(e.push(n),t[n]=!0)}};je.getThemingParticipants().forEach(e=>e(this._theme,n,this._environment));const o=[];for(const i of Ie.getColors()){const e=this._theme.getColor(i.id,!0);e&&o.push(`${Object(ve["c"])(i.id)}: ${e.toString()};`)}n.addRule(`.monaco-editor { ${o.join("\n")} }`);const r=this._colorMapOverride||this._theme.tokenTheme.getColorMap();n.addRule(Object(ke["b"])(r)),this._themeCSS=e.join("\n"),this._updateCSS(),pe["l"].setColorMap(r),this._onColorThemeChange.fire(this._theme)}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach(e=>e.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}getProductIconTheme(){return this._builtInProductIconTheme}}var Re=n("0bee"),Me=n("ad96"),ze=n("7e32"),He=n("4e95"),Ke=n("856b"),Be=n("f577"),qe=n("f620"),We=n("af40"),$e=n("485e"),Ve=n("f07b"),Ue=n("93d9"),Ge=n("b400"),Qe=n("37f2"),Xe=n("5bd7"),Ye=n("66bd"),Je=n("03e8"),Ze=(n("2646"),function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}),et=function(e,t){return function(n,o){t(n,o,e)}},tt=function(e,t,n,o){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?n(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};class nt{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new r["b"]}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let ot=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new m["c"](new nt(t))):Promise.reject(new Error("Model not found"))}};ot=Ze([et(0,S["a"])],ot);class rt{show(){return rt.NULL_PROGRESS_RUNNER}showWhile(e,t){return tt(this,void 0,void 0,(function*(){yield e}))}}rt.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class it{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,o){return Promise.resolve({choice:0})}}class st{info(e){return this.notify({severity:p["a"].Info,message:e})}warn(e){return this.notify({severity:p["a"].Warning,message:e})}error(e){return this.notify({severity:p["a"].Error,message:e})}notify(e){switch(e.severity){case p["a"].Error:console.error(e.message);break;case p["a"].Warning:console.warn(e.message);break;default:console.log(e.message);break}return st.NO_OP}status(e,t){return m["a"].None}}st.NO_OP=new H["b"];let at=class{constructor(e){this._onWillExecuteCommand=new r["b"],this._onDidExecuteCommand=new r["b"],this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=D["a"].getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const o=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(o)}catch(o){return Promise.reject(o)}}};at=Ze([et(0,L["a"])],at);let ct=class extends P["a"]{constructor(e,t,n,r,i,s){super(e,t,n,r,i),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const a=e=>{const t=new m["b"];t.add(o["i"](e,o["d"].KEY_DOWN,e=>{const t=new h["a"](e),n=this._dispatch(t,t.target);n&&(t.preventDefault(),t.stopPropagation())})),t.add(o["i"](e,o["d"].KEY_UP,e=>{const t=new h["a"](e),n=this._singleModifierDispatch(t,t.target);n&&t.preventDefault()})),this._domNodeListeners.push(new dt(e,t))},c=e=>{for(let t=0;t<this._domNodeListeners.length;t++){const n=this._domNodeListeners[t];n.domNode===e&&(this._domNodeListeners.splice(t,1),n.dispose())}},d=e=>{e.getOption(54)||a(e.getContainerDomNode())},u=e=>{e.getOption(54)||c(e.getContainerDomNode())};this._register(s.onCodeEditorAdd(d)),this._register(s.onCodeEditorRemove(u)),s.listCodeEditors().forEach(d);const l=e=>{a(e.getContainerDomNode())},g=e=>{c(e.getContainerDomNode())};this._register(s.onDiffEditorAdd(l)),this._register(s.onDiffEditorRemove(g)),s.listDiffEditors().forEach(l)}addDynamicKeybinding(e,t,n,o){const r=Object(f["e"])(t,b["a"]),i=new m["b"];return r&&(this._dynamicKeybindings.push({keybinding:r.parts,command:e,when:o,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),i.add(Object(m["j"])(()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){const n=this._dynamicKeybindings[t];if(n.command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver({source:1})}}))),i.add(D["a"].registerCommand(e,n)),this.updateResolver({source:1}),i}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(N["a"].getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new F["a"](e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let o=0;for(const r of e){const e=r.when||void 0,i=r.keybinding;if(i){const s=M["a"].resolveUserBinding(i,b["a"]);for(const i of s)n[o++]=new R["a"](i,r.command,r.commandArgs,e,t,null,!1)}else n[o++]=new R["a"](void 0,r.command,r.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new f["d"](e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new M["a"](t,b["a"])}};ct=Ze([et(0,I["b"]),et(1,D["b"]),et(2,B["a"]),et(3,H["a"]),et(4,$["b"]),et(5,s["a"])],ct);class dt extends m["a"]{constructor(e,t){super(),this.domNode=e,this._register(t)}}function ut(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof k["a"])}class lt{constructor(){this._onDidChangeConfiguration=new r["b"],this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new x["a"](new x["d"],new x["c"])}getValue(e,t){const n="string"===typeof e?e:void 0,o=ut(e)?e:ut(t)?t:{};return this._configuration.getValue(n,o,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const o of e){const[e,t]=o;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new x["b"]({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,o){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let gt=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new r["b"],this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const o=C["a"].isIPosition(t)?t:null,r=o?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0;return"undefined"===typeof r?this.configurationService.getValue():this.configurationService.getValue(r)}};gt=Ze([et(0,T["a"])],gt);let ht=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"===typeof n&&"auto"!==n?n:b["g"]||b["i"]?"\n":"\r\n"}};ht=Ze([et(0,T["a"])],ht);class ft{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class mt{constructor(){const e=k["a"].from({scheme:mt.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new q["c"]({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}}function bt(e,t,n){if(!t)return;if(!(e instanceof lt))return;const o=[];Object.keys(t).forEach(e=>{Object(v["b"])(e)&&o.push(["editor."+e,t[e]]),n&&Object(v["a"])(e)&&o.push(["diffEditor."+e,t[e]])}),o.length>0&&e.updateValues(o)}mt.SCHEME="inmemory";let pt=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return tt(this,void 0,void 0,(function*(){const t=new Map;for(let r of e){if(!(r instanceof _["c"]))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(r.resource);if(!e)throw new Error("bad edit - model not found");if("number"===typeof r.versionId&&e.getVersionId()!==r.versionId)throw new Error("bad state - model changed in the meantime");let n=t.get(e);n||(n=[],t.set(e,n)),n.push(y["a"].replaceMove(w["a"].lift(r.textEdit.range),r.textEdit.text))}let n=0,o=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,()=>[]),e.pushStackElement(),o+=1,n+=r.length;return{ariaSummary:g["v"](W["h"].bulkEditServiceSummary,n,o)}}))}};pt=Ze([et(0,S["a"])],pt);class kt{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}let _t=class extends G["a"]{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};_t=Ze([et(0,i["a"]),et(1,s["a"])],_t);class vt{constructor(){this._neverEmitter=new r["b"],this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}class yt extends Q["a"]{constructor(){super()}}class Ct extends $["d"]{constructor(){super(new $["a"])}}let wt=class extends X["a"]{constructor(e,t,n,o,r){super(e,t,n,o,r),this.configure({blockMouse:!1})}};var St;wt=Ze([et(0,B["a"]),et(1,H["a"]),et(2,U["b"]),et(3,A["a"]),et(4,Y["b"])],wt),Object(a["b"])(T["a"],lt),Object(a["b"])(O["a"],gt),Object(a["b"])(O["b"],ht),Object(a["b"])(q["a"],mt),Object(a["b"])(z["a"],kt),Object(a["b"])(B["a"],ft),Object(a["b"])(j["a"],it),Object(a["b"])(H["a"],st),Object(a["b"])(Ge["b"],Qe["a"]),Object(a["b"])(te["a"],yt),Object(a["b"])(Re["a"],Ne),Object(a["b"])($["b"],Ct),Object(a["b"])(S["a"],re["a"]),Object(a["b"])(oe["a"],ne["a"]),Object(a["b"])(I["b"],qe["a"]),Object(a["b"])(K["a"],rt),Object(a["b"])(Je["a"],Je["b"]),Object(a["b"])(Z["a"],ee["b"]),Object(a["b"])(_["a"],pt),Object(a["b"])(V["a"],vt),Object(a["b"])(E["a"],ot),Object(a["b"])(ae["b"],Me["a"]),Object(a["b"])(Ue["a"],Ue["b"]),Object(a["b"])(D["b"],at),Object(a["b"])(A["a"],ct),Object(a["b"])(Ye["a"],he),Object(a["b"])(U["b"],_t),Object(a["b"])(Xe["a"],J["a"]),Object(a["b"])(Be["a"],Ke["a"]),Object(a["b"])(U["a"],wt),Object(a["b"])(ze["a"],He["a"]),function(e){const t=new Ve["a"];for(const[s,c]of Object(a["a"])())t.set(s,c);const n=new $e["a"](t,!0);function o(e){const o=t.get(e);if(!o)throw new Error("Missing service "+e);return o instanceof We["a"]?n.invokeFunction(t=>t.get(e)):o}t.set(L["a"],n),e.get=o;let r=!1;function i(e){if(r)return n;r=!0;for(const[n,o]of Object(a["a"])())t.get(n)||t.set(n,o);for(const n in e)if(e.hasOwnProperty(n)){const o=Object(L["c"])(n),r=t.get(o);r instanceof We["a"]&&t.set(o,e[n])}return n}e.initialize=i}(St||(St={}))},d0c6:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var o=n("2e5a"),r=n("ec02"),i=n("8f4b");const s=5;class a{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new c(e,t);let n=c.getStackElementId(e);n.length>0&&(n+="|"),n+=t;let o=this._entries[n];return o||(o=new c(e,t),this._entries[n]=o,o)}}a._INSTANCE=new a(s);class c{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";while(null!==e)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){while(null!==e&&null!==t){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return c._equals(this,e)}push(e){return a.create(this,e)}pop(){return this.parent}popall(){let e=this;while(e.parent)e=e.parent;return e}switchTo(e){return a.create(this.parent,e)}}class d{constructor(e,t){this.languageId=e,this.state=t}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){const e=this.state.clone();return e===this.state?this:new d(this.languageId,this.state)}}class u{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==t)return new l(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new l(e,t);const n=c.getStackElementId(e);let o=this._entries[n];return o||(o=new l(e,null),this._entries[n]=o,o)}}u._INSTANCE=new u(s);class l{constructor(e,t){this.stack=e,this.embeddedLanguageData=t}clone(){const e=this.embeddedLanguageData?this.embeddedLanguageData.clone():null;return e===this.embeddedLanguageData?this:u.create(this.stack,this.embeddedLanguageData)}equals(e){return e instanceof l&&(!!this.stack.equals(e.stack)&&(null===this.embeddedLanguageData&&null===e.embeddedLanguageData||null!==this.embeddedLanguageData&&null!==e.embeddedLanguageData&&this.embeddedLanguageData.equals(e.embeddedLanguageData)))}}class g{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=t,this._lastTokenLanguage=this._languageId,this._tokens.push(new o["j"](e,t,this._languageId)))}nestedLanguageTokenize(e,t,n,r){const i=n.languageId,s=n.state,a=o["l"].get(i);if(!a)return this.enterLanguage(i),this.emit(r,""),s;const c=a.tokenize(e,t,s);if(0!==r)for(const d of c.tokens)this._tokens.push(new o["j"](d.offset+r,d.type,d.language));else this._tokens=this._tokens.concat(c.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,c.endState}finalize(e){return new o["m"](this._tokens,e)}}class h{constructor(e,t){this._languageService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,t){const n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){const o=null!==e?e.length:0,r=t.length,i=null!==n?n.length:0;if(0===o&&0===r&&0===i)return new Uint32Array(0);if(0===o&&0===r)return n;if(0===r&&0===i)return e;const s=new Uint32Array(o+r+i);null!==e&&s.set(e);for(let a=0;a<r;a++)s[o+a]=t[a];return null!==n&&s.set(n,o+r),s}nestedLanguageTokenize(e,t,n,r){const i=n.languageId,s=n.state,a=o["l"].get(i);if(!a)return this.enterLanguage(i),this.emit(r,""),s;const c=a.tokenizeEncoded(e,t,s);if(0!==r)for(let o=0,d=c.tokens.length;o<d;o+=2)c.tokens[o]+=r;return this._prependTokens=h._merge(this._prependTokens,this._tokens,c.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,c.endState}finalize(e){return new o["d"](h._merge(this._prependTokens,this._tokens,null),e)}}class f{constructor(e,t,n,r){this._languageService=e,this._standaloneThemeService=t,this._languageId=n,this._lexer=r,this._embeddedLanguages=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let i=!1;this._tokenizationRegistryListener=o["l"].onDidChange(e=>{if(i)return;let t=!1;for(let n=0,o=e.changedLanguages.length;n<o;n++){const o=e.changedLanguages[n];if(this._embeddedLanguages[o]){t=!0;break}}t&&(i=!0,o["l"].fire([this._languageId]),i=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const e=[];for(let t in this._embeddedLanguages){const n=o["l"].get(t);if(n){if(n instanceof f){const t=n.getLoadStatus();!1===t.loaded&&e.push(t.promise)}}else o["l"].isResolved(t)||e.push(o["l"].getOrCreate(t))}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>{})}}getInitialState(){const e=a.create(null,this._lexer.start);return u.create(e,null)}tokenize(e,t,n){const o=new g,r=this._tokenize(e,t,n,o);return o.finalize(r)}tokenizeEncoded(e,t,n){const o=new h(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),r=this._tokenize(e,t,n,o);return o.finalize(r)}_tokenize(e,t,n,o){return n.embeddedLanguageData?this._nestedTokenize(e,t,n,0,o):this._myTokenize(e,t,n,0,o)}_findLeavingNestedLanguageOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=i["c"](this._lexer,t.stack.state),!n))throw i["a"](this._lexer,"tokenizer state is not defined: "+t.stack.state);let o=-1,r=!1;for(const s of n){if(!i["f"](s.action)||"@pop"!==s.action.nextEmbedded)continue;r=!0;let t=s.regex;const n=s.regex.source;if("^(?:"===n.substr(0,4)&&")"===n.substr(n.length-1,1)){const e=(t.ignoreCase?"i":"")+(t.unicode?"u":"");t=new RegExp(n.substr(4,n.length-5),e)}const a=e.search(t);-1===a||0!==a&&s.matchOnlyAtLineStart||(-1===o||a<o)&&(o=a)}if(!r)throw i["a"](this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return o}_nestedTokenize(e,t,n,o,r){const i=this._findLeavingNestedLanguageOffset(e,n);if(-1===i){const i=r.nestedLanguageTokenize(e,t,n.embeddedLanguageData,o);return u.create(n.stack,new d(n.embeddedLanguageData.languageId,i))}const s=e.substring(0,i);s.length>0&&r.nestedLanguageTokenize(s,!1,n.embeddedLanguageData,o);const a=e.substring(i);return this._myTokenize(a,t,n,o+i,r)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,n,o,r){r.enterLanguage(this._languageId);const s=e.length,a=t&&this._lexer.includeLF?e+"\n":e,c=a.length;let d=n.embeddedLanguageData,l=n.stack,g=0,h=null,f=!0;while(f||g<c){const n=g,b=l.depth,p=h?h.groups.length:0,k=l.state;let _=null,v=null,y=null,C=null,w=null;if(h){_=h.matches;const e=h.groups.shift();v=e.matched,y=e.action,C=h.rule,0===h.groups.length&&(h=null)}else{if(!f&&g>=c)break;f=!1;let e=this._lexer.tokenizer[k];if(!e&&(e=i["c"](this._lexer,k),!e))throw i["a"](this._lexer,"tokenizer state is not defined: "+k);let t=a.substr(g);for(const n of e)if((0===g||!n.matchOnlyAtLineStart)&&(_=t.match(n.regex),_)){v=_[0],y=n.action;break}}if(_||(_=[""],v=""),y||(g<c&&(_=[a.charAt(g)],v=_[0]),y=this._lexer.defaultToken),null===v)break;g+=v.length;while(i["e"](y)&&i["f"](y)&&y.test)y=y.test(v,_,k,g===c);let S=null;if("string"===typeof y||Array.isArray(y))S=y;else if(y.group)S=y.group;else if(null!==y.token&&void 0!==y.token){if(S=y.tokenSubst?i["k"](this._lexer,y.token,v,_,k):y.token,y.nextEmbedded)if("@pop"===y.nextEmbedded){if(!d)throw i["a"](this._lexer,"cannot pop embedded language if not inside one");d=null}else{if(d)throw i["a"](this._lexer,"cannot enter embedded language from within an embedded language");w=i["k"](this._lexer,y.nextEmbedded,v,_,k)}if(y.goBack&&(g=Math.max(0,g-y.goBack)),y.switchTo&&"string"===typeof y.switchTo){let e=i["k"](this._lexer,y.switchTo,v,_,k);if("@"===e[0]&&(e=e.substr(1)),!i["c"](this._lexer,e))throw i["a"](this._lexer,"trying to switch to a state '"+e+"' that is undefined in rule: "+this._safeRuleName(C));l=l.switchTo(e)}else{if(y.transform&&"function"===typeof y.transform)throw i["a"](this._lexer,"action.transform not supported");if(y.next)if("@push"===y.next){if(l.depth>=this._lexer.maxStack)throw i["a"](this._lexer,"maximum tokenizer stack size reached: ["+l.state+","+l.parent.state+",...]");l=l.push(k)}else if("@pop"===y.next){if(l.depth<=1)throw i["a"](this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(C));l=l.pop()}else if("@popall"===y.next)l=l.popall();else{let e=i["k"](this._lexer,y.next,v,_,k);if("@"===e[0]&&(e=e.substr(1)),!i["c"](this._lexer,e))throw i["a"](this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(C));l=l.push(e)}}y.log&&"string"===typeof y.log&&i["h"](this._lexer,this._lexer.languageId+": "+i["k"](this._lexer,y.log,v,_,k))}if(null===S)throw i["a"](this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(C));const E=n=>{const i=this._languageService.getLanguageIdByLanguageName(n)||this._languageService.getLanguageIdByMimeType(n)||n,s=this._getNestedEmbeddedLanguageData(i);if(g<c){const n=e.substr(g);return this._nestedTokenize(n,t,u.create(l,s),o+g,r)}return u.create(l,s)};if(Array.isArray(S)){if(h&&h.groups.length>0)throw i["a"](this._lexer,"groups cannot be nested: "+this._safeRuleName(C));if(_.length!==S.length+1)throw i["a"](this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(C));let e=0;for(let t=1;t<_.length;t++)e+=_[t].length;if(e!==v.length)throw i["a"](this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(C));h={rule:C,matches:_,groups:[]};for(let t=0;t<S.length;t++)h.groups[t]={action:S[t],matched:_[t+1]};g-=v.length}else{{if("@rematch"===S&&(g-=v.length,v="",_=null,S="",null!==w))return E(w);if(0===v.length){if(0===c||b!==l.depth||k!==l.state||(h?h.groups.length:0)!==p)continue;throw i["a"](this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(C))}let e=null;if(i["g"](S)&&0===S.indexOf("@brackets")){const t=S.substr("@brackets".length),n=m(this._lexer,v);if(!n)throw i["a"](this._lexer,"@brackets token returned but no bracket defined as: "+v);e=i["i"](n.token+t)}else{const t=""===S?"":S+this._lexer.tokenPostfix;e=i["i"](t)}n<s&&r.emit(n+o,e)}if(null!==w)return E(w)}}return u.create(l,d)}_getNestedEmbeddedLanguageData(e){if(!this._languageService.isRegisteredLanguageId(e))return new d(e,r["a"]);e!==this._languageId&&(o["l"].getOrCreate(e),this._embeddedLanguages[e]=!0);const t=o["l"].get(e);return new d(e,t?t.getInitialState():r["a"])}}function m(e,t){if(!t)return null;t=i["d"](e,t);const n=e.brackets;for(const o of n){if(o.open===t)return{token:o.token,bracketType:1};if(o.close===t)return{token:o.token,bracketType:-1}}return null}},e2c2:function(e,t,n){"use strict";n.r(t),n.d(t,"StandaloneReferencesController",(function(){return h}));var o=n("b2cc"),r=n("5717"),i=n("5896"),s=n("fbba"),a=n("4fc3"),c=n("0a0f"),d=n("b0cd"),u=n("03e8"),l=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},g=function(e,t){return function(n,o){t(n,o,e)}};let h=class extends i["a"]{constructor(e,t,n,o,r,i,s){super(!0,e,t,n,o,r,i,s)}};h=l([g(1,a["b"]),g(2,r["a"]),g(3,d["a"]),g(4,c["a"]),g(5,u["a"]),g(6,s["a"])],h),Object(o["l"])(i["a"].ID,h)},f3d2:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var o=n("11f7"),r=n("b589"),i=n("e3e4"),s=n("5717"),a=n("4fc3"),c=n("f5f3"),d=n("b7d0"),u=function(e,t,n,o){var r,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(i<3?r(s):i>3?r(t,n,s):r(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},l=function(e,t){return function(n,o){t(n,o,e)}};let g=class extends i["a"]{constructor(e,t){super(t),this.onCodeEditorAdd(()=>this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=e.createKey("editorIsOpen",!1),this._activeCodeEditor=null}_checkContextKey(){let e=!1;for(const t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){const n=this.findModel(e,t.resource);if(!n){if(t.resource){const n=t.resource.scheme;if(n===r["c"].http||n===r["c"].https)return Object(o["ab"])(t.resource.toString()),e}return null}const i=t.options?t.options.selection:null;if(i)if("number"===typeof i.endLineNumber&&"number"===typeof i.endColumn)e.setSelection(i),e.revealRangeInCenter(i,1);else{const t={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}};g=u([l(0,a["b"]),l(1,d["b"])],g),Object(c["b"])(s["a"],g)}}]);
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com