@rsdoctor/client 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/resource/css/826.2794f707.css +4 -0
- package/dist/resource/font/{codicon.7fe16dbd.ttf → codicon.44bc17fa.ttf} +0 -0
- package/dist/resource/js/{505.b0671115.js → 826.5dba3977.js} +5 -5
- package/dist/resource/js/async/{811.1fbe2090.js → 811.aeb19dcb.js} +1 -1
- package/dist/resource/js/index.f0279c55.js +156 -0
- package/dist/resource/js/monaco-0.92c812de.js +20 -0
- package/dist/resource/js/monaco-1.6a7defc9.js +1 -0
- package/dist/resource/js/monaco-10.cdc45bb5.js +3 -0
- package/dist/resource/js/monaco-11.40a1fcb1.js +4 -0
- package/dist/resource/js/monaco-12.0c116aa2.js +43 -0
- package/dist/resource/js/monaco-13.dcefcf80.js +366 -0
- package/dist/resource/js/monaco-14.afa84c5f.js +42 -0
- package/dist/resource/js/monaco-15.26757ead.js +8 -0
- package/dist/resource/js/monaco-16.77a3677c.js +4 -0
- package/dist/resource/js/monaco-17.b0290dba.js +1 -0
- package/dist/resource/js/monaco-2.133a02f6.js +18 -0
- package/dist/resource/js/monaco-3.6eef79c7.js +14 -0
- package/dist/resource/js/monaco-4.b9b35171.js +301 -0
- package/dist/resource/js/monaco-5.b2a6d9b1.js +8 -0
- package/dist/resource/js/monaco-6.042b95c8.js +3 -0
- package/dist/resource/js/monaco-7.0c2b350f.js +1 -0
- package/dist/resource/js/monaco-8.389906ed.js +1 -0
- package/dist/resource/js/monaco-9.9a685176.js +1 -0
- package/package.json +3 -3
- package/dist/resource/css/505.b09c71b1.css +0 -1
- package/dist/resource/js/index.fc9559d0.js +0 -156
- package/dist/resource/js/monaco-0.c3af1bd3.js +0 -2
- package/dist/resource/js/monaco-1.7ad7764f.js +0 -369
- package/dist/resource/js/monaco-10.4db28e1a.js +0 -4
- package/dist/resource/js/monaco-11.18edf242.js +0 -25
- package/dist/resource/js/monaco-12.f2868e03.js +0 -5
- package/dist/resource/js/monaco-13.88108488.js +0 -1
- package/dist/resource/js/monaco-14.9ed23e83.js +0 -70
- package/dist/resource/js/monaco-2.6895e134.js +0 -17
- package/dist/resource/js/monaco-3.51c02ad7.js +0 -31
- package/dist/resource/js/monaco-4.2525ec7c.js +0 -31
- package/dist/resource/js/monaco-5.5bc856bc.js +0 -1
- package/dist/resource/js/monaco-6.6e712e08.js +0 -1
- package/dist/resource/js/monaco-7.1fa8c3af.js +0 -1
- package/dist/resource/js/monaco-8.dcf3e8dc.js +0 -38
- package/dist/resource/js/monaco-9.7c59b09b.js +0 -7
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["531"],{26791:function(e,t,i){"use strict";i.d(t,{i:function(){return u}});var n=i("55952"),o=i("58036"),r=i("94260"),s=i("70432"),a=i("73250"),l=i("98212"),d=i("37764");i("47130");class c{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=c.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,n.R3)(e,(0,n.$)(".monaco-table-tr")),i=[],o=[];for(let e=0;e<this.columns.length;e++){let r=this.renderers[e],s=(0,n.R3)(t,(0,n.$)(".monaco-table-td",{"data-col-index":e}));s.style.width=`${this.getColumnSize(e)}px`,i.push(s),o.push(r.renderTemplate(s))}let r={container:e,cellContainers:i,cellTemplateData:o};return this.renderedTemplates.add(r),r}renderElement(e,t,i,n){for(let o=0;o<this.columns.length;o++){let r=this.columns[o].project(e);this.renderers[o].renderElement(r,t,i.cellTemplateData[o],n)}}disposeElement(e,t,i,n){for(let o=0;o<this.columns.length;o++){let r=this.renderers[o];if(r.disposeElement){let s=this.columns[o].project(e);r.disposeElement(s,t,i.cellTemplateData[o],n)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++)this.renderers[t].disposeTemplate(e.cellTemplateData[t]);(0,n.PO)(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(let{cellContainers:i}of this.renderedTemplates)i[e].style.width=`${t}px`}}c.TemplateId="row";class h extends d.JT{get minimumSize(){var e;return null!==(e=this.column.minimumWidth)&&void 0!==e?e:120}get maximumSize(){var e;return null!==(e=this.column.maximumWidth)&&void 0!==e?e:Number.POSITIVE_INFINITY}get onDidChange(){var e;return null!==(e=this.column.onDidChangeWidthConstraints)&&void 0!==e?e:l.ju.None}constructor(e,t){super(),this.column=e,this.index=t,this._onDidLayout=new l.Q5,this.onDidLayout=this._onDidLayout.event,this.element=(0,n.$)(".monaco-table-th",{"data-col-index":t},e.label),e.tooltip&&this._register((0,o.B)().setupUpdatableHover((0,r.tM)("mouse"),this.element,e.tooltip))}layout(e){this._onDidLayout.fire([this.index,e])}}class u{get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onDidScroll(){return this.list.onDidScroll}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}get scrollHeight(){return this.list.scrollHeight}get renderHeight(){return this.list.renderHeight}get onDidDispose(){return this.list.onDidDispose}constructor(e,t,i,o,r,g){var p;this.virtualDelegate=i,this.domId=`table_id_${++u.InstanceCount}`,this.disposables=new d.SL,this.cachedWidth=0,this.cachedHeight=0,this.domNode=(0,n.R3)(t,(0,n.$)(`.monaco-table.${this.domId}`));let m=o.map((e,t)=>this.disposables.add(new h(e,t))),f={size:m.reduce((e,t)=>e+t.column.weight,0),views:m.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new a.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:f})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let _=new c(o,r,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new s.aV(e,this.domNode,(p=i,{getHeight:e=>p.getHeight(e),getTemplateId:()=>c.TemplateId}),[_],g)),l.ju.any(...m.map(e=>e.onDidLayout))(([e,t])=>_.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=o.reduce((e,t)=>e+t.weight,0),i=o[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,n.dS)(this.domNode),this.style(s.uZ)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {
|
|
2
|
+
top: ${this.virtualDelegate.headerRowHeight+1}px;
|
|
3
|
+
height: calc(100% - ${this.virtualDelegate.headerRowHeight}px);
|
|
4
|
+
}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}u.InstanceCount=0},95173:function(e,t,i){"use strict";var n,o,r,s;i.d(t,{VA:function(){return l},ac:function(){return a},kn:function(){return n},sD:function(){return o}}),(r=n||(n={}))[r.Expanded=0]="Expanded",r[r.Collapsed=1]="Collapsed",r[r.PreserveOrExpanded=2]="PreserveOrExpanded",r[r.PreserveOrCollapsed=3]="PreserveOrCollapsed",(s=o||(o={}))[s.Unknown=0]="Unknown",s[s.Twistie=1]="Twistie",s[s.Element=2]="Element",s[s.Filter=3]="Filter";class a extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class l{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return!t&&(t=this.fn(e),this._map.set(e,t)),t}}},87956:function(e,t,i){"use strict";i.d(t,{T:function(){return o}});var n=i("29540");let o={add:(0,n.z)("add",6e4),plus:(0,n.z)("plus",6e4),gistNew:(0,n.z)("gist-new",6e4),repoCreate:(0,n.z)("repo-create",6e4),lightbulb:(0,n.z)("lightbulb",60001),lightBulb:(0,n.z)("light-bulb",60001),repo:(0,n.z)("repo",60002),repoDelete:(0,n.z)("repo-delete",60002),gistFork:(0,n.z)("gist-fork",60003),repoForked:(0,n.z)("repo-forked",60003),gitPullRequest:(0,n.z)("git-pull-request",60004),gitPullRequestAbandoned:(0,n.z)("git-pull-request-abandoned",60004),recordKeys:(0,n.z)("record-keys",60005),keyboard:(0,n.z)("keyboard",60005),tag:(0,n.z)("tag",60006),gitPullRequestLabel:(0,n.z)("git-pull-request-label",60006),tagAdd:(0,n.z)("tag-add",60006),tagRemove:(0,n.z)("tag-remove",60006),person:(0,n.z)("person",60007),personFollow:(0,n.z)("person-follow",60007),personOutline:(0,n.z)("person-outline",60007),personFilled:(0,n.z)("person-filled",60007),gitBranch:(0,n.z)("git-branch",60008),gitBranchCreate:(0,n.z)("git-branch-create",60008),gitBranchDelete:(0,n.z)("git-branch-delete",60008),sourceControl:(0,n.z)("source-control",60008),mirror:(0,n.z)("mirror",60009),mirrorPublic:(0,n.z)("mirror-public",60009),star:(0,n.z)("star",60010),starAdd:(0,n.z)("star-add",60010),starDelete:(0,n.z)("star-delete",60010),starEmpty:(0,n.z)("star-empty",60010),comment:(0,n.z)("comment",60011),commentAdd:(0,n.z)("comment-add",60011),alert:(0,n.z)("alert",60012),warning:(0,n.z)("warning",60012),search:(0,n.z)("search",60013),searchSave:(0,n.z)("search-save",60013),logOut:(0,n.z)("log-out",60014),signOut:(0,n.z)("sign-out",60014),logIn:(0,n.z)("log-in",60015),signIn:(0,n.z)("sign-in",60015),eye:(0,n.z)("eye",60016),eyeUnwatch:(0,n.z)("eye-unwatch",60016),eyeWatch:(0,n.z)("eye-watch",60016),circleFilled:(0,n.z)("circle-filled",60017),primitiveDot:(0,n.z)("primitive-dot",60017),closeDirty:(0,n.z)("close-dirty",60017),debugBreakpoint:(0,n.z)("debug-breakpoint",60017),debugBreakpointDisabled:(0,n.z)("debug-breakpoint-disabled",60017),debugHint:(0,n.z)("debug-hint",60017),terminalDecorationSuccess:(0,n.z)("terminal-decoration-success",60017),primitiveSquare:(0,n.z)("primitive-square",60018),edit:(0,n.z)("edit",60019),pencil:(0,n.z)("pencil",60019),info:(0,n.z)("info",60020),issueOpened:(0,n.z)("issue-opened",60020),gistPrivate:(0,n.z)("gist-private",60021),gitForkPrivate:(0,n.z)("git-fork-private",60021),lock:(0,n.z)("lock",60021),mirrorPrivate:(0,n.z)("mirror-private",60021),close:(0,n.z)("close",60022),removeClose:(0,n.z)("remove-close",60022),x:(0,n.z)("x",60022),repoSync:(0,n.z)("repo-sync",60023),sync:(0,n.z)("sync",60023),clone:(0,n.z)("clone",60024),desktopDownload:(0,n.z)("desktop-download",60024),beaker:(0,n.z)("beaker",60025),microscope:(0,n.z)("microscope",60025),vm:(0,n.z)("vm",60026),deviceDesktop:(0,n.z)("device-desktop",60026),file:(0,n.z)("file",60027),fileText:(0,n.z)("file-text",60027),more:(0,n.z)("more",60028),ellipsis:(0,n.z)("ellipsis",60028),kebabHorizontal:(0,n.z)("kebab-horizontal",60028),mailReply:(0,n.z)("mail-reply",60029),reply:(0,n.z)("reply",60029),organization:(0,n.z)("organization",60030),organizationFilled:(0,n.z)("organization-filled",60030),organizationOutline:(0,n.z)("organization-outline",60030),newFile:(0,n.z)("new-file",60031),fileAdd:(0,n.z)("file-add",60031),newFolder:(0,n.z)("new-folder",60032),fileDirectoryCreate:(0,n.z)("file-directory-create",60032),trash:(0,n.z)("trash",60033),trashcan:(0,n.z)("trashcan",60033),history:(0,n.z)("history",60034),clock:(0,n.z)("clock",60034),folder:(0,n.z)("folder",60035),fileDirectory:(0,n.z)("file-directory",60035),symbolFolder:(0,n.z)("symbol-folder",60035),logoGithub:(0,n.z)("logo-github",60036),markGithub:(0,n.z)("mark-github",60036),github:(0,n.z)("github",60036),terminal:(0,n.z)("terminal",60037),console:(0,n.z)("console",60037),repl:(0,n.z)("repl",60037),zap:(0,n.z)("zap",60038),symbolEvent:(0,n.z)("symbol-event",60038),error:(0,n.z)("error",60039),stop:(0,n.z)("stop",60039),variable:(0,n.z)("variable",60040),symbolVariable:(0,n.z)("symbol-variable",60040),array:(0,n.z)("array",60042),symbolArray:(0,n.z)("symbol-array",60042),symbolModule:(0,n.z)("symbol-module",60043),symbolPackage:(0,n.z)("symbol-package",60043),symbolNamespace:(0,n.z)("symbol-namespace",60043),symbolObject:(0,n.z)("symbol-object",60043),symbolMethod:(0,n.z)("symbol-method",60044),symbolFunction:(0,n.z)("symbol-function",60044),symbolConstructor:(0,n.z)("symbol-constructor",60044),symbolBoolean:(0,n.z)("symbol-boolean",60047),symbolNull:(0,n.z)("symbol-null",60047),symbolNumeric:(0,n.z)("symbol-numeric",60048),symbolNumber:(0,n.z)("symbol-number",60048),symbolStructure:(0,n.z)("symbol-structure",60049),symbolStruct:(0,n.z)("symbol-struct",60049),symbolParameter:(0,n.z)("symbol-parameter",60050),symbolTypeParameter:(0,n.z)("symbol-type-parameter",60050),symbolKey:(0,n.z)("symbol-key",60051),symbolText:(0,n.z)("symbol-text",60051),symbolReference:(0,n.z)("symbol-reference",60052),goToFile:(0,n.z)("go-to-file",60052),symbolEnum:(0,n.z)("symbol-enum",60053),symbolValue:(0,n.z)("symbol-value",60053),symbolRuler:(0,n.z)("symbol-ruler",60054),symbolUnit:(0,n.z)("symbol-unit",60054),activateBreakpoints:(0,n.z)("activate-breakpoints",60055),archive:(0,n.z)("archive",60056),arrowBoth:(0,n.z)("arrow-both",60057),arrowDown:(0,n.z)("arrow-down",60058),arrowLeft:(0,n.z)("arrow-left",60059),arrowRight:(0,n.z)("arrow-right",60060),arrowSmallDown:(0,n.z)("arrow-small-down",60061),arrowSmallLeft:(0,n.z)("arrow-small-left",60062),arrowSmallRight:(0,n.z)("arrow-small-right",60063),arrowSmallUp:(0,n.z)("arrow-small-up",60064),arrowUp:(0,n.z)("arrow-up",60065),bell:(0,n.z)("bell",60066),bold:(0,n.z)("bold",60067),book:(0,n.z)("book",60068),bookmark:(0,n.z)("bookmark",60069),debugBreakpointConditionalUnverified:(0,n.z)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,n.z)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,n.z)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,n.z)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,n.z)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,n.z)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,n.z)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,n.z)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,n.z)("debug-breakpoint-log-disabled",60075),briefcase:(0,n.z)("briefcase",60076),broadcast:(0,n.z)("broadcast",60077),browser:(0,n.z)("browser",60078),bug:(0,n.z)("bug",60079),calendar:(0,n.z)("calendar",60080),caseSensitive:(0,n.z)("case-sensitive",60081),check:(0,n.z)("check",60082),checklist:(0,n.z)("checklist",60083),chevronDown:(0,n.z)("chevron-down",60084),chevronLeft:(0,n.z)("chevron-left",60085),chevronRight:(0,n.z)("chevron-right",60086),chevronUp:(0,n.z)("chevron-up",60087),chromeClose:(0,n.z)("chrome-close",60088),chromeMaximize:(0,n.z)("chrome-maximize",60089),chromeMinimize:(0,n.z)("chrome-minimize",60090),chromeRestore:(0,n.z)("chrome-restore",60091),circleOutline:(0,n.z)("circle-outline",60092),circle:(0,n.z)("circle",60092),debugBreakpointUnverified:(0,n.z)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,n.z)("terminal-decoration-incomplete",60092),circleSlash:(0,n.z)("circle-slash",60093),circuitBoard:(0,n.z)("circuit-board",60094),clearAll:(0,n.z)("clear-all",60095),clippy:(0,n.z)("clippy",60096),closeAll:(0,n.z)("close-all",60097),cloudDownload:(0,n.z)("cloud-download",60098),cloudUpload:(0,n.z)("cloud-upload",60099),code:(0,n.z)("code",60100),collapseAll:(0,n.z)("collapse-all",60101),colorMode:(0,n.z)("color-mode",60102),commentDiscussion:(0,n.z)("comment-discussion",60103),creditCard:(0,n.z)("credit-card",60105),dash:(0,n.z)("dash",60108),dashboard:(0,n.z)("dashboard",60109),database:(0,n.z)("database",60110),debugContinue:(0,n.z)("debug-continue",60111),debugDisconnect:(0,n.z)("debug-disconnect",60112),debugPause:(0,n.z)("debug-pause",60113),debugRestart:(0,n.z)("debug-restart",60114),debugStart:(0,n.z)("debug-start",60115),debugStepInto:(0,n.z)("debug-step-into",60116),debugStepOut:(0,n.z)("debug-step-out",60117),debugStepOver:(0,n.z)("debug-step-over",60118),debugStop:(0,n.z)("debug-stop",60119),debug:(0,n.z)("debug",60120),deviceCameraVideo:(0,n.z)("device-camera-video",60121),deviceCamera:(0,n.z)("device-camera",60122),deviceMobile:(0,n.z)("device-mobile",60123),diffAdded:(0,n.z)("diff-added",60124),diffIgnored:(0,n.z)("diff-ignored",60125),diffModified:(0,n.z)("diff-modified",60126),diffRemoved:(0,n.z)("diff-removed",60127),diffRenamed:(0,n.z)("diff-renamed",60128),diff:(0,n.z)("diff",60129),diffSidebyside:(0,n.z)("diff-sidebyside",60129),discard:(0,n.z)("discard",60130),editorLayout:(0,n.z)("editor-layout",60131),emptyWindow:(0,n.z)("empty-window",60132),exclude:(0,n.z)("exclude",60133),extensions:(0,n.z)("extensions",60134),eyeClosed:(0,n.z)("eye-closed",60135),fileBinary:(0,n.z)("file-binary",60136),fileCode:(0,n.z)("file-code",60137),fileMedia:(0,n.z)("file-media",60138),filePdf:(0,n.z)("file-pdf",60139),fileSubmodule:(0,n.z)("file-submodule",60140),fileSymlinkDirectory:(0,n.z)("file-symlink-directory",60141),fileSymlinkFile:(0,n.z)("file-symlink-file",60142),fileZip:(0,n.z)("file-zip",60143),files:(0,n.z)("files",60144),filter:(0,n.z)("filter",60145),flame:(0,n.z)("flame",60146),foldDown:(0,n.z)("fold-down",60147),foldUp:(0,n.z)("fold-up",60148),fold:(0,n.z)("fold",60149),folderActive:(0,n.z)("folder-active",60150),folderOpened:(0,n.z)("folder-opened",60151),gear:(0,n.z)("gear",60152),gift:(0,n.z)("gift",60153),gistSecret:(0,n.z)("gist-secret",60154),gist:(0,n.z)("gist",60155),gitCommit:(0,n.z)("git-commit",60156),gitCompare:(0,n.z)("git-compare",60157),compareChanges:(0,n.z)("compare-changes",60157),gitMerge:(0,n.z)("git-merge",60158),githubAction:(0,n.z)("github-action",60159),githubAlt:(0,n.z)("github-alt",60160),globe:(0,n.z)("globe",60161),grabber:(0,n.z)("grabber",60162),graph:(0,n.z)("graph",60163),gripper:(0,n.z)("gripper",60164),heart:(0,n.z)("heart",60165),home:(0,n.z)("home",60166),horizontalRule:(0,n.z)("horizontal-rule",60167),hubot:(0,n.z)("hubot",60168),inbox:(0,n.z)("inbox",60169),issueReopened:(0,n.z)("issue-reopened",60171),issues:(0,n.z)("issues",60172),italic:(0,n.z)("italic",60173),jersey:(0,n.z)("jersey",60174),json:(0,n.z)("json",60175),kebabVertical:(0,n.z)("kebab-vertical",60176),key:(0,n.z)("key",60177),law:(0,n.z)("law",60178),lightbulbAutofix:(0,n.z)("lightbulb-autofix",60179),linkExternal:(0,n.z)("link-external",60180),link:(0,n.z)("link",60181),listOrdered:(0,n.z)("list-ordered",60182),listUnordered:(0,n.z)("list-unordered",60183),liveShare:(0,n.z)("live-share",60184),loading:(0,n.z)("loading",60185),location:(0,n.z)("location",60186),mailRead:(0,n.z)("mail-read",60187),mail:(0,n.z)("mail",60188),markdown:(0,n.z)("markdown",60189),megaphone:(0,n.z)("megaphone",60190),mention:(0,n.z)("mention",60191),milestone:(0,n.z)("milestone",60192),gitPullRequestMilestone:(0,n.z)("git-pull-request-milestone",60192),mortarBoard:(0,n.z)("mortar-board",60193),move:(0,n.z)("move",60194),multipleWindows:(0,n.z)("multiple-windows",60195),mute:(0,n.z)("mute",60196),noNewline:(0,n.z)("no-newline",60197),note:(0,n.z)("note",60198),octoface:(0,n.z)("octoface",60199),openPreview:(0,n.z)("open-preview",60200),package:(0,n.z)("package",60201),paintcan:(0,n.z)("paintcan",60202),pin:(0,n.z)("pin",60203),play:(0,n.z)("play",60204),run:(0,n.z)("run",60204),plug:(0,n.z)("plug",60205),preserveCase:(0,n.z)("preserve-case",60206),preview:(0,n.z)("preview",60207),project:(0,n.z)("project",60208),pulse:(0,n.z)("pulse",60209),question:(0,n.z)("question",60210),quote:(0,n.z)("quote",60211),radioTower:(0,n.z)("radio-tower",60212),reactions:(0,n.z)("reactions",60213),references:(0,n.z)("references",60214),refresh:(0,n.z)("refresh",60215),regex:(0,n.z)("regex",60216),remoteExplorer:(0,n.z)("remote-explorer",60217),remote:(0,n.z)("remote",60218),remove:(0,n.z)("remove",60219),replaceAll:(0,n.z)("replace-all",60220),replace:(0,n.z)("replace",60221),repoClone:(0,n.z)("repo-clone",60222),repoForcePush:(0,n.z)("repo-force-push",60223),repoPull:(0,n.z)("repo-pull",60224),repoPush:(0,n.z)("repo-push",60225),report:(0,n.z)("report",60226),requestChanges:(0,n.z)("request-changes",60227),rocket:(0,n.z)("rocket",60228),rootFolderOpened:(0,n.z)("root-folder-opened",60229),rootFolder:(0,n.z)("root-folder",60230),rss:(0,n.z)("rss",60231),ruby:(0,n.z)("ruby",60232),saveAll:(0,n.z)("save-all",60233),saveAs:(0,n.z)("save-as",60234),save:(0,n.z)("save",60235),screenFull:(0,n.z)("screen-full",60236),screenNormal:(0,n.z)("screen-normal",60237),searchStop:(0,n.z)("search-stop",60238),server:(0,n.z)("server",60240),settingsGear:(0,n.z)("settings-gear",60241),settings:(0,n.z)("settings",60242),shield:(0,n.z)("shield",60243),smiley:(0,n.z)("smiley",60244),sortPrecedence:(0,n.z)("sort-precedence",60245),splitHorizontal:(0,n.z)("split-horizontal",60246),splitVertical:(0,n.z)("split-vertical",60247),squirrel:(0,n.z)("squirrel",60248),starFull:(0,n.z)("star-full",60249),starHalf:(0,n.z)("star-half",60250),symbolClass:(0,n.z)("symbol-class",60251),symbolColor:(0,n.z)("symbol-color",60252),symbolConstant:(0,n.z)("symbol-constant",60253),symbolEnumMember:(0,n.z)("symbol-enum-member",60254),symbolField:(0,n.z)("symbol-field",60255),symbolFile:(0,n.z)("symbol-file",60256),symbolInterface:(0,n.z)("symbol-interface",60257),symbolKeyword:(0,n.z)("symbol-keyword",60258),symbolMisc:(0,n.z)("symbol-misc",60259),symbolOperator:(0,n.z)("symbol-operator",60260),symbolProperty:(0,n.z)("symbol-property",60261),wrench:(0,n.z)("wrench",60261),wrenchSubaction:(0,n.z)("wrench-subaction",60261),symbolSnippet:(0,n.z)("symbol-snippet",60262),tasklist:(0,n.z)("tasklist",60263),telescope:(0,n.z)("telescope",60264),textSize:(0,n.z)("text-size",60265),threeBars:(0,n.z)("three-bars",60266),thumbsdown:(0,n.z)("thumbsdown",60267),thumbsup:(0,n.z)("thumbsup",60268),tools:(0,n.z)("tools",60269),triangleDown:(0,n.z)("triangle-down",60270),triangleLeft:(0,n.z)("triangle-left",60271),triangleRight:(0,n.z)("triangle-right",60272),triangleUp:(0,n.z)("triangle-up",60273),twitter:(0,n.z)("twitter",60274),unfold:(0,n.z)("unfold",60275),unlock:(0,n.z)("unlock",60276),unmute:(0,n.z)("unmute",60277),unverified:(0,n.z)("unverified",60278),verified:(0,n.z)("verified",60279),versions:(0,n.z)("versions",60280),vmActive:(0,n.z)("vm-active",60281),vmOutline:(0,n.z)("vm-outline",60282),vmRunning:(0,n.z)("vm-running",60283),watch:(0,n.z)("watch",60284),whitespace:(0,n.z)("whitespace",60285),wholeWord:(0,n.z)("whole-word",60286),window:(0,n.z)("window",60287),wordWrap:(0,n.z)("word-wrap",60288),zoomIn:(0,n.z)("zoom-in",60289),zoomOut:(0,n.z)("zoom-out",60290),listFilter:(0,n.z)("list-filter",60291),listFlat:(0,n.z)("list-flat",60292),listSelection:(0,n.z)("list-selection",60293),selection:(0,n.z)("selection",60293),listTree:(0,n.z)("list-tree",60294),debugBreakpointFunctionUnverified:(0,n.z)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,n.z)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,n.z)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,n.z)("debug-stackframe-active",60297),circleSmallFilled:(0,n.z)("circle-small-filled",60298),debugStackframeDot:(0,n.z)("debug-stackframe-dot",60298),terminalDecorationMark:(0,n.z)("terminal-decoration-mark",60298),debugStackframe:(0,n.z)("debug-stackframe",60299),debugStackframeFocused:(0,n.z)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,n.z)("debug-breakpoint-unsupported",60300),symbolString:(0,n.z)("symbol-string",60301),debugReverseContinue:(0,n.z)("debug-reverse-continue",60302),debugStepBack:(0,n.z)("debug-step-back",60303),debugRestartFrame:(0,n.z)("debug-restart-frame",60304),debugAlt:(0,n.z)("debug-alt",60305),callIncoming:(0,n.z)("call-incoming",60306),callOutgoing:(0,n.z)("call-outgoing",60307),menu:(0,n.z)("menu",60308),expandAll:(0,n.z)("expand-all",60309),feedback:(0,n.z)("feedback",60310),gitPullRequestReviewer:(0,n.z)("git-pull-request-reviewer",60310),groupByRefType:(0,n.z)("group-by-ref-type",60311),ungroupByRefType:(0,n.z)("ungroup-by-ref-type",60312),account:(0,n.z)("account",60313),gitPullRequestAssignee:(0,n.z)("git-pull-request-assignee",60313),bellDot:(0,n.z)("bell-dot",60314),debugConsole:(0,n.z)("debug-console",60315),library:(0,n.z)("library",60316),output:(0,n.z)("output",60317),runAll:(0,n.z)("run-all",60318),syncIgnored:(0,n.z)("sync-ignored",60319),pinned:(0,n.z)("pinned",60320),githubInverted:(0,n.z)("github-inverted",60321),serverProcess:(0,n.z)("server-process",60322),serverEnvironment:(0,n.z)("server-environment",60323),pass:(0,n.z)("pass",60324),issueClosed:(0,n.z)("issue-closed",60324),stopCircle:(0,n.z)("stop-circle",60325),playCircle:(0,n.z)("play-circle",60326),record:(0,n.z)("record",60327),debugAltSmall:(0,n.z)("debug-alt-small",60328),vmConnect:(0,n.z)("vm-connect",60329),cloud:(0,n.z)("cloud",60330),merge:(0,n.z)("merge",60331),export:(0,n.z)("export",60332),graphLeft:(0,n.z)("graph-left",60333),magnet:(0,n.z)("magnet",60334),notebook:(0,n.z)("notebook",60335),redo:(0,n.z)("redo",60336),checkAll:(0,n.z)("check-all",60337),pinnedDirty:(0,n.z)("pinned-dirty",60338),passFilled:(0,n.z)("pass-filled",60339),circleLargeFilled:(0,n.z)("circle-large-filled",60340),circleLarge:(0,n.z)("circle-large",60341),circleLargeOutline:(0,n.z)("circle-large-outline",60341),combine:(0,n.z)("combine",60342),gather:(0,n.z)("gather",60342),table:(0,n.z)("table",60343),variableGroup:(0,n.z)("variable-group",60344),typeHierarchy:(0,n.z)("type-hierarchy",60345),typeHierarchySub:(0,n.z)("type-hierarchy-sub",60346),typeHierarchySuper:(0,n.z)("type-hierarchy-super",60347),gitPullRequestCreate:(0,n.z)("git-pull-request-create",60348),runAbove:(0,n.z)("run-above",60349),runBelow:(0,n.z)("run-below",60350),notebookTemplate:(0,n.z)("notebook-template",60351),debugRerun:(0,n.z)("debug-rerun",60352),workspaceTrusted:(0,n.z)("workspace-trusted",60353),workspaceUntrusted:(0,n.z)("workspace-untrusted",60354),workspaceUnknown:(0,n.z)("workspace-unknown",60355),terminalCmd:(0,n.z)("terminal-cmd",60356),terminalDebian:(0,n.z)("terminal-debian",60357),terminalLinux:(0,n.z)("terminal-linux",60358),terminalPowershell:(0,n.z)("terminal-powershell",60359),terminalTmux:(0,n.z)("terminal-tmux",60360),terminalUbuntu:(0,n.z)("terminal-ubuntu",60361),terminalBash:(0,n.z)("terminal-bash",60362),arrowSwap:(0,n.z)("arrow-swap",60363),copy:(0,n.z)("copy",60364),personAdd:(0,n.z)("person-add",60365),filterFilled:(0,n.z)("filter-filled",60366),wand:(0,n.z)("wand",60367),debugLineByLine:(0,n.z)("debug-line-by-line",60368),inspect:(0,n.z)("inspect",60369),layers:(0,n.z)("layers",60370),layersDot:(0,n.z)("layers-dot",60371),layersActive:(0,n.z)("layers-active",60372),compass:(0,n.z)("compass",60373),compassDot:(0,n.z)("compass-dot",60374),compassActive:(0,n.z)("compass-active",60375),azure:(0,n.z)("azure",60376),issueDraft:(0,n.z)("issue-draft",60377),gitPullRequestClosed:(0,n.z)("git-pull-request-closed",60378),gitPullRequestDraft:(0,n.z)("git-pull-request-draft",60379),debugAll:(0,n.z)("debug-all",60380),debugCoverage:(0,n.z)("debug-coverage",60381),runErrors:(0,n.z)("run-errors",60382),folderLibrary:(0,n.z)("folder-library",60383),debugContinueSmall:(0,n.z)("debug-continue-small",60384),beakerStop:(0,n.z)("beaker-stop",60385),graphLine:(0,n.z)("graph-line",60386),graphScatter:(0,n.z)("graph-scatter",60387),pieChart:(0,n.z)("pie-chart",60388),bracket:(0,n.z)("bracket",60175),bracketDot:(0,n.z)("bracket-dot",60389),bracketError:(0,n.z)("bracket-error",60390),lockSmall:(0,n.z)("lock-small",60391),azureDevops:(0,n.z)("azure-devops",60392),verifiedFilled:(0,n.z)("verified-filled",60393),newline:(0,n.z)("newline",60394),layout:(0,n.z)("layout",60395),layoutActivitybarLeft:(0,n.z)("layout-activitybar-left",60396),layoutActivitybarRight:(0,n.z)("layout-activitybar-right",60397),layoutPanelLeft:(0,n.z)("layout-panel-left",60398),layoutPanelCenter:(0,n.z)("layout-panel-center",60399),layoutPanelJustify:(0,n.z)("layout-panel-justify",60400),layoutPanelRight:(0,n.z)("layout-panel-right",60401),layoutPanel:(0,n.z)("layout-panel",60402),layoutSidebarLeft:(0,n.z)("layout-sidebar-left",60403),layoutSidebarRight:(0,n.z)("layout-sidebar-right",60404),layoutStatusbar:(0,n.z)("layout-statusbar",60405),layoutMenubar:(0,n.z)("layout-menubar",60406),layoutCentered:(0,n.z)("layout-centered",60407),target:(0,n.z)("target",60408),indent:(0,n.z)("indent",60409),recordSmall:(0,n.z)("record-small",60410),errorSmall:(0,n.z)("error-small",60411),terminalDecorationError:(0,n.z)("terminal-decoration-error",60411),arrowCircleDown:(0,n.z)("arrow-circle-down",60412),arrowCircleLeft:(0,n.z)("arrow-circle-left",60413),arrowCircleRight:(0,n.z)("arrow-circle-right",60414),arrowCircleUp:(0,n.z)("arrow-circle-up",60415),layoutSidebarRightOff:(0,n.z)("layout-sidebar-right-off",60416),layoutPanelOff:(0,n.z)("layout-panel-off",60417),layoutSidebarLeftOff:(0,n.z)("layout-sidebar-left-off",60418),blank:(0,n.z)("blank",60419),heartFilled:(0,n.z)("heart-filled",60420),map:(0,n.z)("map",60421),mapHorizontal:(0,n.z)("map-horizontal",60421),foldHorizontal:(0,n.z)("fold-horizontal",60421),mapFilled:(0,n.z)("map-filled",60422),mapHorizontalFilled:(0,n.z)("map-horizontal-filled",60422),foldHorizontalFilled:(0,n.z)("fold-horizontal-filled",60422),circleSmall:(0,n.z)("circle-small",60423),bellSlash:(0,n.z)("bell-slash",60424),bellSlashDot:(0,n.z)("bell-slash-dot",60425),commentUnresolved:(0,n.z)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,n.z)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,n.z)("git-pull-request-new-changes",60428),searchFuzzy:(0,n.z)("search-fuzzy",60429),commentDraft:(0,n.z)("comment-draft",60430),send:(0,n.z)("send",60431),sparkle:(0,n.z)("sparkle",60432),insert:(0,n.z)("insert",60433),mic:(0,n.z)("mic",60434),thumbsdownFilled:(0,n.z)("thumbsdown-filled",60435),thumbsupFilled:(0,n.z)("thumbsup-filled",60436),coffee:(0,n.z)("coffee",60437),snake:(0,n.z)("snake",60438),game:(0,n.z)("game",60439),vr:(0,n.z)("vr",60440),chip:(0,n.z)("chip",60441),piano:(0,n.z)("piano",60442),music:(0,n.z)("music",60443),micFilled:(0,n.z)("mic-filled",60444),repoFetch:(0,n.z)("repo-fetch",60445),copilot:(0,n.z)("copilot",60446),lightbulbSparkle:(0,n.z)("lightbulb-sparkle",60447),robot:(0,n.z)("robot",60448),sparkleFilled:(0,n.z)("sparkle-filled",60449),diffSingle:(0,n.z)("diff-single",60450),diffMultiple:(0,n.z)("diff-multiple",60451),surroundWith:(0,n.z)("surround-with",60452),share:(0,n.z)("share",60453),gitStash:(0,n.z)("git-stash",60454),gitStashApply:(0,n.z)("git-stash-apply",60455),gitStashPop:(0,n.z)("git-stash-pop",60456),vscode:(0,n.z)("vscode",60457),vscodeInsiders:(0,n.z)("vscode-insiders",60458),codeOss:(0,n.z)("code-oss",60459),runCoverage:(0,n.z)("run-coverage",60460),runAllCoverage:(0,n.z)("run-all-coverage",60461),coverage:(0,n.z)("coverage",60462),githubProject:(0,n.z)("github-project",60463),mapVertical:(0,n.z)("map-vertical",60464),foldVertical:(0,n.z)("fold-vertical",60464),mapVerticalFilled:(0,n.z)("map-vertical-filled",60465),foldVerticalFilled:(0,n.z)("fold-vertical-filled",60465),goToSearch:(0,n.z)("go-to-search",60466),percentage:(0,n.z)("percentage",60467),sortPercentage:(0,n.z)("sort-percentage",60467)}},63950:function(e,t,i){"use strict";let n;i.d(t,{E:function(){return s},H:function(){return r}});var o=i("84376");function r(){return o.OB&&!!o.OB.VSCODE_DEV}function s(e){if(!r())return{dispose(){}};{let t=function(){!n&&(n=new Set);let e=globalThis;return!e.$hotReload_applyNewExports&&(e.$hotReload_applyNewExports=e=>{let t={config:{mode:void 0},...e};for(let e of n){let i=e(t);if(i)return i}}),n}();return t.add(e),{dispose(){t.delete(e)}}}}r()&&s(({oldExports:e,newSrc:t,config:i})=>{if("patch-prototype"===i.mode)return t=>{var i,n;for(let o in t){let r=t[o];if(console.log(`[hot-reload] Patching prototype methods of '${o}'`,{exportedItem:r}),"function"==typeof r&&r.prototype){let s=e[o];if(s){for(let e of Object.getOwnPropertyNames(r.prototype)){let t=Object.getOwnPropertyDescriptor(r.prototype,e),a=Object.getOwnPropertyDescriptor(s.prototype,e);(null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString())!==(null===(n=null==a?void 0:a.value)||void 0===n?void 0:n.toString())&&console.log(`[hot-reload] Patching prototype method '${o}.${e}'`),Object.defineProperty(s.prototype,e,t)}t[o]=s}}}return!0}})},49062:function(e,t,i){"use strict";i.d(t,{Pz:function(){return r},Qc:function(){return s}});var n=i("85544"),o=i("98084");function r(e){return JSON.stringify(e,a)}function s(e){let t=JSON.parse(e);return t=function e(t,i=0){if(!t||i>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return o.o.revive(t);case 2:return new RegExp(t.source,t.flags);case 17:return new Date(t.source)}if(t instanceof n.KN||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let n=0;n<t.length;++n)t[n]=e(t[n],i+1);else for(let n in t)Object.hasOwnProperty.call(t,n)&&(t[n]=e(t[n],i+1))}return t}(t)}function a(e,t){return t instanceof RegExp?{$mid:2,source:t.source,flags:t.flags}:t}},48411:function(e,t,i){"use strict";function n(e){let t=function(e){if(o=0,s(e,a,4352),o>0)return r.subarray(0,o);if(s(e,l,4449),o>0)return r.subarray(0,o);if(s(e,d,4520),o>0)return r.subarray(0,o);if(s(e,c,12593),o)return r.subarray(0,o);if(e>=44032&&e<=55203){let t=e-44032,i=t%588,n=Math.floor(t/588),h=Math.floor(i/28),u=i%28-1;if(n<a.length?s(n,a,0):4352+n-12593<c.length&&s(4352+n,c,12593),h<l.length?s(h,l,0):4449+h-12593<c.length&&s(4449+h-12593,c,12593),u>=0&&(u<d.length?s(u,d,0):4520+u-12593<c.length&&s(4520+u-12593,c,12593)),o>0)return r.subarray(0,o)}}(e);if(t&&t.length>0)return new Uint32Array(t)}i.d(t,{C:function(){return n}});let o=0,r=new Uint32Array(10);function s(e,t,i){e>=i&&e<i+t.length&&function(e){0!==e&&(r[o++]=255&e,e>>8&&(r[o++]=e>>8&255),e>>16&&(r[o++]=e>>16&255))}(t[e-i])}let a=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),l=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),d=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),c=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108])},30363:function(e,t,i){"use strict";i.d(t,{f:function(){return n}});class n{constructor(e,t=0,i=e.length,n=t-1){this.items=e,this.start=t,this.end=i,this.index=n}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}},25907:function(e,t,i){"use strict";i.d(t,{G:function(){return o}});let n=globalThis.performance&&"function"==typeof globalThis.performance.now;class o{static create(e){return new o(e)}constructor(e){this._now=n&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}},38960:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},o={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},31363:function(e,t,i){"use strict";(0,i("88814").H)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"70798"))})},43247:function(e,t,i){"use strict";(0,i("88814").H)({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"44085"))})},85916:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},o={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~([A-Z]+)@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-z]|[A-Z]+)\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-z]|[A-Z]+)\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-z]|[A-Z]+)\</,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.<.>"}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}}},14456:function(e,t,i){"use strict";(0,i("88814").H)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"71052"))})},99236:function(e,t,i){"use strict";(0,i("88814").H)({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"95189"))})},71385:function(e,t,i){"use strict";let n,o;i.r(t),i.d(t,{conf:function(){return g},language:function(){return p}});var r=i("76761"),s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,c=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))!d.call(e,o)&&o!==i&&s(e,o,{get:()=>t[o],enumerable:!(n=a(t,o))||n.enumerable});return e},h={};c(h,n=r,"default"),o&&c(o,n,"default");var u=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${u.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:h.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${u.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:h.languages.IndentAction.Indent}}]},p={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},86720:function(e,t,i){"use strict";(0,i("88814").H)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"48141"))})},92391:function(e,t,i){"use strict";(0,i("88814").H)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"36180"))})},67228:function(e,t,i){"use strict";(0,i("88814").H)({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"4314"))})},86170:function(e,t,i){"use strict";(0,i("88814").H)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"85279"))})},66261:function(e,t,i){"use strict";(0,i("88814").H)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"56981"))})},14690:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return o}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},o={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},table:{token:"keyword.$2",next:"@table"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}}},11521:function(e,t,i){"use strict";i.r(t),i.d(t,{conf:function(){return n},language:function(){return f}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function o(e){let t=[],i=e.split(/\t+|\r+|\n+| +/);for(let e=0;e<i.length;++e)i[e].length>0&&t.push(i[e]);return t}var r=o("true false"),s=o(`
|
|
5
|
+
alias
|
|
6
|
+
break
|
|
7
|
+
case
|
|
8
|
+
const
|
|
9
|
+
const_assert
|
|
10
|
+
continue
|
|
11
|
+
continuing
|
|
12
|
+
default
|
|
13
|
+
diagnostic
|
|
14
|
+
discard
|
|
15
|
+
else
|
|
16
|
+
enable
|
|
17
|
+
fn
|
|
18
|
+
for
|
|
19
|
+
if
|
|
20
|
+
let
|
|
21
|
+
loop
|
|
22
|
+
override
|
|
23
|
+
requires
|
|
24
|
+
return
|
|
25
|
+
struct
|
|
26
|
+
switch
|
|
27
|
+
var
|
|
28
|
+
while
|
|
29
|
+
`),a=o(`
|
|
30
|
+
NULL
|
|
31
|
+
Self
|
|
32
|
+
abstract
|
|
33
|
+
active
|
|
34
|
+
alignas
|
|
35
|
+
alignof
|
|
36
|
+
as
|
|
37
|
+
asm
|
|
38
|
+
asm_fragment
|
|
39
|
+
async
|
|
40
|
+
attribute
|
|
41
|
+
auto
|
|
42
|
+
await
|
|
43
|
+
become
|
|
44
|
+
binding_array
|
|
45
|
+
cast
|
|
46
|
+
catch
|
|
47
|
+
class
|
|
48
|
+
co_await
|
|
49
|
+
co_return
|
|
50
|
+
co_yield
|
|
51
|
+
coherent
|
|
52
|
+
column_major
|
|
53
|
+
common
|
|
54
|
+
compile
|
|
55
|
+
compile_fragment
|
|
56
|
+
concept
|
|
57
|
+
const_cast
|
|
58
|
+
consteval
|
|
59
|
+
constexpr
|
|
60
|
+
constinit
|
|
61
|
+
crate
|
|
62
|
+
debugger
|
|
63
|
+
decltype
|
|
64
|
+
delete
|
|
65
|
+
demote
|
|
66
|
+
demote_to_helper
|
|
67
|
+
do
|
|
68
|
+
dynamic_cast
|
|
69
|
+
enum
|
|
70
|
+
explicit
|
|
71
|
+
export
|
|
72
|
+
extends
|
|
73
|
+
extern
|
|
74
|
+
external
|
|
75
|
+
fallthrough
|
|
76
|
+
filter
|
|
77
|
+
final
|
|
78
|
+
finally
|
|
79
|
+
friend
|
|
80
|
+
from
|
|
81
|
+
fxgroup
|
|
82
|
+
get
|
|
83
|
+
goto
|
|
84
|
+
groupshared
|
|
85
|
+
highp
|
|
86
|
+
impl
|
|
87
|
+
implements
|
|
88
|
+
import
|
|
89
|
+
inline
|
|
90
|
+
instanceof
|
|
91
|
+
interface
|
|
92
|
+
layout
|
|
93
|
+
lowp
|
|
94
|
+
macro
|
|
95
|
+
macro_rules
|
|
96
|
+
match
|
|
97
|
+
mediump
|
|
98
|
+
meta
|
|
99
|
+
mod
|
|
100
|
+
module
|
|
101
|
+
move
|
|
102
|
+
mut
|
|
103
|
+
mutable
|
|
104
|
+
namespace
|
|
105
|
+
new
|
|
106
|
+
nil
|
|
107
|
+
noexcept
|
|
108
|
+
noinline
|
|
109
|
+
nointerpolation
|
|
110
|
+
noperspective
|
|
111
|
+
null
|
|
112
|
+
nullptr
|
|
113
|
+
of
|
|
114
|
+
operator
|
|
115
|
+
package
|
|
116
|
+
packoffset
|
|
117
|
+
partition
|
|
118
|
+
pass
|
|
119
|
+
patch
|
|
120
|
+
pixelfragment
|
|
121
|
+
precise
|
|
122
|
+
precision
|
|
123
|
+
premerge
|
|
124
|
+
priv
|
|
125
|
+
protected
|
|
126
|
+
pub
|
|
127
|
+
public
|
|
128
|
+
readonly
|
|
129
|
+
ref
|
|
130
|
+
regardless
|
|
131
|
+
register
|
|
132
|
+
reinterpret_cast
|
|
133
|
+
require
|
|
134
|
+
resource
|
|
135
|
+
restrict
|
|
136
|
+
self
|
|
137
|
+
set
|
|
138
|
+
shared
|
|
139
|
+
sizeof
|
|
140
|
+
smooth
|
|
141
|
+
snorm
|
|
142
|
+
static
|
|
143
|
+
static_assert
|
|
144
|
+
static_cast
|
|
145
|
+
std
|
|
146
|
+
subroutine
|
|
147
|
+
super
|
|
148
|
+
target
|
|
149
|
+
template
|
|
150
|
+
this
|
|
151
|
+
thread_local
|
|
152
|
+
throw
|
|
153
|
+
trait
|
|
154
|
+
try
|
|
155
|
+
type
|
|
156
|
+
typedef
|
|
157
|
+
typeid
|
|
158
|
+
typename
|
|
159
|
+
typeof
|
|
160
|
+
union
|
|
161
|
+
unless
|
|
162
|
+
unorm
|
|
163
|
+
unsafe
|
|
164
|
+
unsized
|
|
165
|
+
use
|
|
166
|
+
using
|
|
167
|
+
varying
|
|
168
|
+
virtual
|
|
169
|
+
volatile
|
|
170
|
+
wgsl
|
|
171
|
+
where
|
|
172
|
+
with
|
|
173
|
+
writeonly
|
|
174
|
+
yield
|
|
175
|
+
`),l=o(`
|
|
176
|
+
read write read_write
|
|
177
|
+
function private workgroup uniform storage
|
|
178
|
+
perspective linear flat
|
|
179
|
+
center centroid sample
|
|
180
|
+
vertex_index instance_index position front_facing frag_depth
|
|
181
|
+
local_invocation_id local_invocation_index
|
|
182
|
+
global_invocation_id workgroup_id num_workgroups
|
|
183
|
+
sample_index sample_mask
|
|
184
|
+
rgba8unorm
|
|
185
|
+
rgba8snorm
|
|
186
|
+
rgba8uint
|
|
187
|
+
rgba8sint
|
|
188
|
+
rgba16uint
|
|
189
|
+
rgba16sint
|
|
190
|
+
rgba16float
|
|
191
|
+
r32uint
|
|
192
|
+
r32sint
|
|
193
|
+
r32float
|
|
194
|
+
rg32uint
|
|
195
|
+
rg32sint
|
|
196
|
+
rg32float
|
|
197
|
+
rgba32uint
|
|
198
|
+
rgba32sint
|
|
199
|
+
rgba32float
|
|
200
|
+
bgra8unorm
|
|
201
|
+
`),d=o(`
|
|
202
|
+
bool
|
|
203
|
+
f16
|
|
204
|
+
f32
|
|
205
|
+
i32
|
|
206
|
+
sampler sampler_comparison
|
|
207
|
+
texture_depth_2d
|
|
208
|
+
texture_depth_2d_array
|
|
209
|
+
texture_depth_cube
|
|
210
|
+
texture_depth_cube_array
|
|
211
|
+
texture_depth_multisampled_2d
|
|
212
|
+
texture_external
|
|
213
|
+
texture_external
|
|
214
|
+
u32
|
|
215
|
+
`),c=o(`
|
|
216
|
+
array
|
|
217
|
+
atomic
|
|
218
|
+
mat2x2
|
|
219
|
+
mat2x3
|
|
220
|
+
mat2x4
|
|
221
|
+
mat3x2
|
|
222
|
+
mat3x3
|
|
223
|
+
mat3x4
|
|
224
|
+
mat4x2
|
|
225
|
+
mat4x3
|
|
226
|
+
mat4x4
|
|
227
|
+
ptr
|
|
228
|
+
texture_1d
|
|
229
|
+
texture_2d
|
|
230
|
+
texture_2d_array
|
|
231
|
+
texture_3d
|
|
232
|
+
texture_cube
|
|
233
|
+
texture_cube_array
|
|
234
|
+
texture_multisampled_2d
|
|
235
|
+
texture_storage_1d
|
|
236
|
+
texture_storage_2d
|
|
237
|
+
texture_storage_2d_array
|
|
238
|
+
texture_storage_3d
|
|
239
|
+
vec2
|
|
240
|
+
vec3
|
|
241
|
+
vec4
|
|
242
|
+
`),h=o(`
|
|
243
|
+
vec2i vec3i vec4i
|
|
244
|
+
vec2u vec3u vec4u
|
|
245
|
+
vec2f vec3f vec4f
|
|
246
|
+
vec2h vec3h vec4h
|
|
247
|
+
mat2x2f mat2x3f mat2x4f
|
|
248
|
+
mat3x2f mat3x3f mat3x4f
|
|
249
|
+
mat4x2f mat4x3f mat4x4f
|
|
250
|
+
mat2x2h mat2x3h mat2x4h
|
|
251
|
+
mat3x2h mat3x3h mat3x4h
|
|
252
|
+
mat4x2h mat4x3h mat4x4h
|
|
253
|
+
`),u=o(`
|
|
254
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
255
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
256
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
257
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
258
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
259
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
260
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
261
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
262
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
263
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
264
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
265
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
266
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
267
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
268
|
+
workgroupUniformLoad
|
|
269
|
+
`),g=o(`
|
|
270
|
+
&
|
|
271
|
+
&&
|
|
272
|
+
->
|
|
273
|
+
/
|
|
274
|
+
=
|
|
275
|
+
==
|
|
276
|
+
!=
|
|
277
|
+
>
|
|
278
|
+
>=
|
|
279
|
+
<
|
|
280
|
+
<=
|
|
281
|
+
%
|
|
282
|
+
-
|
|
283
|
+
--
|
|
284
|
+
+
|
|
285
|
+
++
|
|
286
|
+
|
|
|
287
|
+
||
|
|
288
|
+
*
|
|
289
|
+
<<
|
|
290
|
+
>>
|
|
291
|
+
+=
|
|
292
|
+
-=
|
|
293
|
+
*=
|
|
294
|
+
/=
|
|
295
|
+
%=
|
|
296
|
+
&=
|
|
297
|
+
|=
|
|
298
|
+
^=
|
|
299
|
+
>>=
|
|
300
|
+
<<=
|
|
301
|
+
`),p=/[_\p{XID_Start}]\p{XID_Continue}*/u,m="variable.predefined",f={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:r,keywords:s,reserved:a,predeclared_enums:l,predeclared_types:d,predeclared_type_generators:c,predeclared_type_aliases:h,predeclared_intrinsics:u,operators:g,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[/enable|requires|diagnostic/,"keyword","@directive"],[p,{cases:{"@atoms":m,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":m,"@predeclared_types":m,"@predeclared_type_generators":m,"@predeclared_type_aliases":m,"@predeclared_intrinsics":m,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[p,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}}},51311:function(e,t,i){"use strict";i.d(t,{a:function(){return p}});var n=i("3390"),o=i("55952"),r=i("19711"),s=i("91867"),a=i("37764"),l=i("97147"),d=i("34685"),c=i("76682"),h=i("92011");class u extends d.S{constructor(e,t,i){super(e,t,i),this._register(r.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Tap,e=>this.onTap(e))),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Change,e=>this.onChange(e))),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Contextmenu,e=>this._onContextMenu(new h.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(o.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new h.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1))}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),"pen"===this._lastPointerType&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){let i=this._createMouseTarget(new h.gy(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===i.type&&null!==i.detail.injectedText})}_onMouseDown(e,t){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e,t)}}class g extends d.S{constructor(e,t,i){super(e,t,i),this._register(r.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Tap,e=>this.onTap(e))),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Change,e=>this.onChange(e))),this._register(o.nm(this.viewHelper.linesContentDomNode,r.t.Contextmenu,e=>this._onContextMenu(new h.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new h.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(c.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class p extends a.JT{constructor(e,t,i){super(),(l.gn||l.Dt&&l.tq)&&n.D.pointerEvents?this.handler=this._register(new u(e,t,i)):s.E.TouchEvent?this.handler=this._register(new g(e,t,i)):this.handler=this._register(new d.S(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}},96722:function(e,t,i){"use strict";var n=i("91114"),o=i("29149"),r=i("94590"),s=i("59955"),a=i("81844"),l=i("95449"),d=i("40453"),c=i("37764"),h=i("55952"),u=i("81171"),g=i("12084"),p=i("44279"),m=i("55111"),f=i("91867"),_=i("50216"),b=i("42436"),v=i("1966"),y=function(e,t){return function(i,n){t(i,n,e)}};let w=class extends c.JT{constructor(e,t,i,n,o){super(),this._instantiationService=e,this._keybindingService=i,this._layoutService=n,this._accessibilityService=o,t.onDidShowContextMenu(()=>this.hideHover()),this._contextViewHandler=this._register(new _.a(this._layoutService))}showHover(e,t,i){var n,o,r,s;if(k(this._currentHoverOptions)===k(e)||this._currentHover&&(null===(o=null===(n=this._currentHoverOptions)||void 0===n?void 0:n.persistence)||void 0===o?void 0:o.sticky))return;this._currentHoverOptions=e,this._lastHoverOptions=e;let a=e.trapFocus||this._accessibilityService.isScreenReaderOptimized(),l=(0,h.vY)();!i&&(a&&l?this._lastFocusedElementBeforeOpen=l:this._lastFocusedElementBeforeOpen=void 0);let u=new c.SL,g=this._instantiationService.createInstance(d.c,e);if((null===(r=e.persistence)||void 0===r?void 0:r.sticky)&&(g.isLocked=!0),g.onDispose(()=>{var t,i;(null===(t=this._currentHover)||void 0===t?void 0:t.domNode)&&(0,h.b5)(this._currentHover.domNode)&&(null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()),this._currentHoverOptions===e&&(this._currentHoverOptions=void 0),u.dispose()},void 0,u),!e.container){let t=e.target instanceof HTMLElement?e.target:e.target.targetElements[0];e.container=this._layoutService.getContainer((0,h.Jj)(t))}if(this._contextViewHandler.showContextView(new S(g,t),e.container),g.onRequestLayout(()=>this._contextViewHandler.layout(),void 0,u),null===(s=e.persistence)||void 0===s?void 0:s.sticky)u.add((0,h.nm)((0,h.Jj)(e.container).document,h.tw.MOUSE_DOWN,e=>{!(0,h.jg)(e.target,g.domNode)&&this.doHideHover()}));else{if("targetElements"in e.target)for(let t of e.target.targetElements)u.add((0,h.nm)(t,h.tw.CLICK,()=>this.hideHover()));else u.add((0,h.nm)(e.target,h.tw.CLICK,()=>this.hideHover()));let t=(0,h.vY)();if(t){let i=(0,h.Jj)(t).document;u.add((0,h.nm)(t,h.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,g,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),u.add((0,h.nm)(i,h.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,g,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),u.add((0,h.nm)(t,h.tw.KEY_UP,e=>this._keyUp(e,g))),u.add((0,h.nm)(i,h.tw.KEY_UP,e=>this._keyUp(e,g)))}}if("IntersectionObserver"in f.E){let t=new IntersectionObserver(e=>this._intersectionChange(e,g),{threshold:0}),i="targetElements"in e.target?e.target.targetElements[0]:e.target;t.observe(i),u.add((0,c.OF)(()=>t.disconnect()))}return this._currentHover=g,g}hideHover(){var e;(null===(e=this._currentHover)||void 0===e||!e.isLocked)&&this._currentHoverOptions&&this.doHideHover()}doHideHover(){this._currentHover=void 0,this._currentHoverOptions=void 0,this._contextViewHandler.hideContextView()}_intersectionChange(e,t){!e[e.length-1].isIntersecting&&t.dispose()}showAndFocusLastHover(){this._lastHoverOptions&&this.showHover(this._lastHoverOptions,!0,!0)}_keyDown(e,t,i){var n,o;if("Alt"===e.key){t.isLocked=!0;return}let r=new g.y(e);!this._keybindingService.resolveKeyboardEvent(r).getSingleModifierDispatchChords().some(e=>!!e)&&0===this._keybindingService.softDispatch(r,r.target).kind&&i&&(!(null===(n=this._currentHoverOptions)||void 0===n?void 0:n.trapFocus)||"Tab"!==e.key)&&(this.hideHover(),null===(o=this._lastFocusedElementBeforeOpen)||void 0===o||o.focus())}_keyUp(e,t){var i;"Alt"===e.key&&(t.isLocked=!1,!t.isMouseIn&&(this.hideHover(),null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()))}setupUpdatableHover(e,t,i,n){let o,r,s;t.setAttribute("custom-hover","true"),""!==t.title&&(console.warn("HTML element already has a title attribute, which will conflict with the custom hover. Please remove the title attribute."),console.trace("Stack trace:",t.title),t.title="");let a=(t,i)=>{var n;let s=void 0!==r;t&&(null==r||r.dispose(),r=void 0),i&&(null==o||o.dispose(),o=void 0),s&&(null===(n=e.onDidHideHover)||void 0===n||n.call(e),r=void 0)},l=(o,s,a)=>new v._F(async()=>{(!r||r.isDisposed)&&(r=new b.k(e,a||t,o>0),await r.update("function"==typeof i?i():i,s,n))},o),d=!1,u=(0,h.nm)(t,h.tw.MOUSE_DOWN,()=>{d=!0,a(!0,!0)},!0),g=(0,h.nm)(t,h.tw.MOUSE_UP,()=>{d=!1},!0),p=(0,h.nm)(t,h.tw.MOUSE_LEAVE,e=>{d=!1,a(!1,e.fromElement===t)},!0),m=(0,h.nm)(t,h.tw.MOUSE_OVER,i=>{if(o)return;let n=new c.SL,r={targetElements:[t],dispose:()=>{}};(void 0===e.placement||"mouse"===e.placement)&&n.add((0,h.nm)(t,h.tw.MOUSE_MOVE,e=>{r.x=e.x+10,e.target instanceof HTMLElement&&x(e.target,t)!==t&&a(!0,!0)},!0)),o=n,(!(i.target instanceof HTMLElement)||x(i.target,t)===t)&&n.add(l(e.delay,!1,r))},!0),f=t.tagName.toLowerCase();return"input"!==f&&"textarea"!==f&&(s=(0,h.nm)(t,h.tw.FOCUS,()=>{if(d||o)return;let i=new c.SL;i.add((0,h.nm)(t,h.tw.BLUR,()=>a(!0,!0),!0)),i.add(l(e.delay,!1,{targetElements:[t],dispose:()=>{}})),o=i},!0)),{show:e=>{a(!1,!0),l(0,e)},hide:()=>{a(!0,!0)},update:async(e,t)=>{i=e,await (null==r?void 0:r.update(i,void 0,t))},dispose:()=>{m.dispose(),p.dispose(),u.dispose(),g.dispose(),null==s||s.dispose(),a(!0,!0)}}}};function k(e){var t;if(void 0!==e)return null!==(t=null==e?void 0:e.id)&&void 0!==t?t:e}w=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([y(0,l.TG),y(1,a.i),y(2,u.d),y(3,m.F),y(4,p.F)],w);class S{get anchorPosition(){return this._hover.anchor}constructor(e,t=!1){this._hover=e,this._focus=t,this.layer=1}render(e){return this._hover.render(e),this._focus&&this._hover.focus(),this._hover}getAnchor(){return{x:this._hover.x,y:this._hover.y}}layout(){this._hover.layout()}}function x(e,t){for(t=null!=t?t:(0,h.Jj)(e).document.body;!e.hasAttribute("custom-hover")&&e!==t;)e=e.parentElement;return e}(0,n.z)(s.Bs,w,1),(0,o.Ic)((e,t)=>{let i=e.getColor(r.CNo);i&&(t.addRule(`.monaco-workbench .workbench-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-workbench .workbench-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`))})},11535:function(e,t,i){"use strict";i.d(t,{BX:function(){return h},gM:function(){return u}}),i("51237");var n=i("31759"),o=i("85351"),r=i("47983"),s=i("29149"),a=i("98681"),l=i("91989"),d=i("70668");class c extends n.i{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new a.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=new Set;for(let e of this._selections)t.add(e.positionLineNumber);let i=Array.from(t);i.sort((e,t)=>e-t),!r.fS(this._cursorLineNumbers,i)&&(this._cursorLineNumbers=i,e=!0);let n=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let e=t;e<=i;e++)n[e-t]="";if(this._wordWrap){let o=this._renderOne(e,!1);for(let e of this._cursorLineNumbers){let r=this._context.viewModel.coordinatesConverter,s=r.convertViewPositionToModelPosition(new d.L(e,1)).lineNumber,a=r.convertModelPositionToViewPosition(new d.L(s,1)).lineNumber,l=r.convertModelPositionToViewPosition(new d.L(s,this._context.viewModel.model.getLineMaxColumn(s))).lineNumber,c=Math.max(a,t),h=Math.min(l,i);for(let e=c;e<=h;e++)n[e-t]=o}}let o=this._renderOne(e,!0);for(let e of this._cursorLineNumbers){if(!(e<t)&&!(e>i))n[e-t]=o}this._renderData=n}render(e,t){if(!this._renderData)return"";let i=t-e;return i>=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class h extends c{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-both":"")+(t?" current-line-exact":"");return`<div class="${i}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px;"></div>`}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class u extends c{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")+(this._shouldRenderInMargin()&&t?" current-line-exact-margin":"");return`<div class="${i}" style="width:${this._contentLeft}px"></div>`}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,s.Ic)((e,t)=>{let i=e.getColor(o.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(o.Mm)){let i=e.getColor(o.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),(0,l.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")))}})},50121:function(e,t,i){"use strict";i.d(t,{X:function(){return o}}),i("48342");var n=i("52441");class o extends n.$U{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){let t=e.getDecorationsInViewport(),i=[],o=0;for(let e=0,r=t.length;e<r;e++){let r=t[e],s=r.options.marginClassName,a=r.options.zIndex;s&&(i[o++]=new n.tv(r.range.startLineNumber,r.range.endLineNumber,s,null,a))}return i}prepareRender(e){let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._render(t,i,this._getDecorations(e)),o=[];for(let e=t;e<=i;e++){let i=e-t,r=n[i].getDecorations(),s="";for(let e of r)s+='<div class="cmdr '+e.className+'" style=""></div>';o[i]=s}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}},60183:function(e,t,i){"use strict";i.d(t,{r:function(){return l}});var n=i("37764"),o=i("56136"),r=i("6520"),s=i("96118"),a=i("68919");class l extends n.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=(0,o.nK)(this,e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e);if(!i)return null;let n=this._diffModel.read(e).movedTextToCompare.read(e),o=this._options.renderIndicators.read(e),a=this._options.showEmptyDecorations.read(e),l=[],d=[];if(!n)for(let e of i.mappings)if(!e.lineRangeMapping.original.isEmpty&&l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:o?s.iq:s.i_}),!e.lineRangeMapping.modified.isEmpty&&d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:o?s.vv:s.rd}),e.lineRangeMapping.modified.isEmpty||e.lineRangeMapping.original.isEmpty)!e.lineRangeMapping.original.isEmpty&&l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:s.W3}),!e.lineRangeMapping.modified.isEmpty&&d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:s.Jv});else for(let t of e.lineRangeMapping.innerChanges||[])e.lineRangeMapping.original.contains(t.originalRange.startLineNumber)&&l.push({range:t.originalRange,options:t.originalRange.isEmpty()&&a?s.$F:s.rq}),e.lineRangeMapping.modified.contains(t.modifiedRange.startLineNumber)&&d.push({range:t.modifiedRange,options:t.modifiedRange.isEmpty()&&a?s.n_:s.LE});if(n)for(let e of n.changes){let t=e.original.toInclusiveRange();t&&l.push({range:t,options:o?s.iq:s.i_});let i=e.modified.toInclusiveRange();for(let t of(i&&d.push({range:i,options:o?s.vv:s.rd}),e.innerChanges||[]))l.push({range:t.originalRange,options:s.rq}),d.push({range:t.modifiedRange,options:s.LE})}let c=this._diffModel.read(e).activeMovedText.read(e);for(let e of i.movedTexts)l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(e===c?" currentMove":""),blockPadding:[r.Q.movedCodeBlockPadding,0,r.Q.movedCodeBlockPadding,r.Q.movedCodeBlockPadding]}}),d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(e===c?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:l,modifiedDecorations:d}}),this._register((0,a.RP)(this._editors.original,this._decorations.map(e=>(null==e?void 0:e.originalDecorations)||[]))),this._register((0,a.RP)(this._editors.modified,this._decorations.map(e=>(null==e?void 0:e.modifiedDecorations)||[])))}}},8773:function(e,t,i){"use strict";i.d(t,{i:function(){return l},z:function(){return a}});var n=i("45802"),o=i("17202"),r=i("83112"),s=i("65910");class a{static fromRangeInclusive(e){return new a(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(0===e.length)return[];let t=new l(e[0].slice());for(let i=1;i<e.length;i++)t=t.getUnion(new l(e[i].slice()));return t.ranges}static join(e){if(0===e.length)throw new n.he("lineRanges cannot be empty");let t=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let n=1;n<e.length;n++)t=Math.min(t,e[n].startLineNumber),i=Math.max(i,e[n].endLineNumberExclusive);return new a(t,i)}static ofLength(e,t){return new a(e,e+t)}static deserialize(e){return new a(e[0],e[1])}constructor(e,t){if(e>t)throw new n.he(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new a(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new a(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new a(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){let t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(t<=i)return new a(t,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new r.e(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new r.e(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){let t=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)t.push(e(i));return t}forEach(e){for(let t=this.startLineNumber;t<this.endLineNumberExclusive;t++)e(t)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new o.q(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class l{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(0===e.length)return;let t=(0,s.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,s.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=(0,s.ti)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,s.ti)(this._normalizedRanges,t=>t.startLineNumber<e.endLineNumberExclusive);return!!t&&t.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,o=null;for(;i<this._normalizedRanges.length||n<e._normalizedRanges.length;){let r=null;if(i<this._normalizedRanges.length&&n<e._normalizedRanges.length){let t=this._normalizedRanges[i],o=e._normalizedRanges[n];t.startLineNumber<o.startLineNumber?(r=t,i++):(r=o,n++)}else i<this._normalizedRanges.length?(r=this._normalizedRanges[i],i++):(r=e._normalizedRanges[n],n++);null===o?o=r:o.endLineNumberExclusive>=r.startLineNumber?o=new a(o.startLineNumber,Math.max(o.endLineNumberExclusive,r.endLineNumberExclusive)):(t.push(o),o=r)}return null!==o&&t.push(o),new l(t)}subtractFrom(e){let t=(0,s.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,s.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new l([e]);let n=[],o=e.startLineNumber;for(let e=t;e<i;e++){let t=this._normalizedRanges[e];t.startLineNumber>o&&n.push(new a(o,t.startLineNumber)),o=t.endLineNumberExclusive}return o<e.endLineNumberExclusive&&n.push(new a(o,e.endLineNumberExclusive)),new l(n)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;i<this._normalizedRanges.length&&n<e._normalizedRanges.length;){let o=this._normalizedRanges[i],r=e._normalizedRanges[n],s=o.intersect(r);s&&!s.isEmpty&&t.push(s),o.endLineNumberExclusive<r.endLineNumberExclusive?i++:n++}return new l(t)}getWithDelta(e){return new l(this._normalizedRanges.map(t=>t.delta(e)))}}},27985:function(e,t,i){"use strict";i.d(t,{O:function(){return r}});var n=i("17202"),o=i("2945");class r{constructor(e){this.text=e,this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t<e.length;t++)"\n"===e.charAt(t)&&this.lineStartOffsetByLineIdx.push(t+1)}getOffset(e){return this.lineStartOffsetByLineIdx[e.lineNumber-1]+e.column-1}getOffsetRange(e){return new n.q(this.getOffset(e.getStartPosition()),this.getOffset(e.getEndPosition()))}get textLength(){let e=this.lineStartOffsetByLineIdx.length-1;return new o.A(e,this.text.length-this.lineStartOffsetByLineIdx[e])}}},80059:function(e,t,i){"use strict";i.d(t,{b:function(){return a},q:function(){return s}});var n=i("85544"),o=i("34086");function r(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class s{get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}constructor(e,t,i,n){this.oldPosition=e,this.oldText=t,this.newPosition=i,this.newText=n}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${r(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${r(this.oldText)}")`:`(replace@${this.oldPosition} "${r(this.oldText)}" with "${r(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,i){let o=t.length;n.T4(e,o,i),i+=4;for(let r=0;r<o;r++)n.oq(e,t.charCodeAt(r),i),i+=2;return i}static _readString(e,t){let i=n.Ag(e,t);return t+=4,(0,o.kH)(e,t,i)}writeSize(){return 8+s._writeStringSize(this.oldText)+s._writeStringSize(this.newText)}write(e,t){return n.T4(e,this.oldPosition,t),t+=4,n.T4(e,this.newPosition,t),t+=4,t=s._writeString(e,this.oldText,t),t=s._writeString(e,this.newText,t)}static read(e,t,i){let o=n.Ag(e,t);t+=4;let r=n.Ag(e,t);t+=4;let a=s._readString(e,t);t+=s._writeStringSize(a);let l=s._readString(e,t);return t+=s._writeStringSize(l),i.push(new s(o,a,r,l)),t}}function a(e,t){return null===e||0===e.length?t:new l(e,t).compress()}class l{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,i=this._getPrev(e),n=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){let o,r;if(null===i){this._acceptCurr(n),n=this._getCurr(++t);continue}if(null===n){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldEnd<=i.newPosition){this._acceptCurr(n),n=this._getCurr(++t);continue}if(i.newEnd<=n.oldPosition){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldPosition<i.newPosition){let[e,t]=l._splitCurr(n,i.newPosition-n.oldPosition);this._acceptCurr(e),n=t;continue}if(i.newPosition<n.oldPosition){let[e,t]=l._splitPrev(i,n.oldPosition-i.newPosition);this._acceptPrev(e),i=t;continue}if(n.oldEnd===i.newEnd)o=i,r=n,i=this._getPrev(++e),n=this._getCurr(++t);else if(n.oldEnd<i.newEnd){let[e,s]=l._splitPrev(i,n.oldLength);o=e,r=n,i=s,n=this._getCurr(++t)}else{let[t,s]=l._splitCurr(n,i.newLength);o=i,r=t,i=this._getPrev(++e),n=s}this._result[this._resultLen++]=new s(o.oldPosition,o.oldText,r.newPosition,r.newText),this._prevDeltaOffset+=o.newLength-o.oldLength,this._currDeltaOffset+=r.newLength-r.oldLength}let o=l._merge(this._result);return l._removeNoOps(o)}_acceptCurr(e){this._result[this._resultLen++]=l._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=l._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new s(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new s(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){let i=e.newText.substr(0,t),n=e.newText.substr(t);return[new s(e.oldPosition,e.oldText,e.newPosition,i),new s(e.oldEnd,"",e.newPosition+t,n)]}static _splitCurr(e,t){let i=e.oldText.substr(0,t),n=e.oldText.substr(t);return[new s(e.oldPosition,i,e.newPosition,e.newText),new s(e.oldPosition+t,n,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;let t=[],i=0,n=e[0];for(let o=1;o<e.length;o++){let r=e[o];n.oldEnd===r.oldPosition?n=new s(n.oldPosition,n.oldText+r.oldText,n.newPosition,n.newText+r.newText):(t[i++]=n,n=r)}return t[i++]=n,t}static _removeNoOps(e){if(0===e.length)return e;let t=[],i=0;for(let n=0;n<e.length;n++){let o=e[n];o.oldText!==o.newText&&(t[i++]=o)}return t}}},38810:function(e,t,i){"use strict";i.d(t,{k:function(){return r}});var n=i("17202"),o=i("21111");class r{compute(e,t,i=o.n0.instance){if(0===e.length||0===t.length)return o.KU.trivial(e,t);function r(i,n){for(;i<e.length&&n<t.length&&e.getElement(i)===t.getElement(n);)i++,n++;return i}let d=0,c=new a;c.set(0,r(0,0));let h=new l;h.set(0,0===c.get(0)?null:new s(null,0,0,c.get(0)));let u=0;e:for(;;){if(d++,!i.isValid())return o.KU.trivialTimedOut(e,t);let n=-Math.min(d,t.length+d%2),a=Math.min(d,e.length+d%2);for(u=n;u<=a;u+=2){let i=0,o=u===a?-1:c.get(u+1),l=u===n?-1:c.get(u-1)+1;i++;let d=Math.min(Math.max(o,l),e.length),g=d-u;if(i++,d>e.length||g>t.length)continue;let p=r(d,g);c.set(u,p);let m=d===o?h.get(u+1):h.get(u-1);if(h.set(u,p!==d?new s(m,d,g,p-d):m),c.get(u)===e.length&&c.get(u)-u===t.length)break e}}let g=h.get(u),p=[],m=e.length,f=t.length;for(;;){let e=g?g.x+g.length:0,t=g?g.y+g.length:0;if((e!==m||t!==f)&&p.push(new o.i8(new n.q(e,m),new n.q(t,f))),!g)break;m=g.x,f=g.y,g=g.prev}return p.reverse(),new o.KU(p,!1)}}class s{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class a{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class l{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}},39207:function(e,t,i){"use strict";i.d(t,{c:function(){return l}});var n=i("98212"),o=i("37764"),r=i("42733"),s=i("11689");class a{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&(null===(t=this.notebookUri)||void 0===t?void 0:t.toString())===(null===(i=e.notebookUri)||void 0===i?void 0:i.toString())}}class l{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new n.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,o.OF)(()=>{if(i){let e=this._entries.indexOf(i);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){let t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){let t,i;let n=[];return this._orderedForEach(e,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t){for(let i of(this._updateScores(e),this._entries))i._score>0&&t(i)}_updateScores(e){var t,i;let n=null===(t=this._notebookInfoResolver)||void 0===t?void 0:t.call(this,e.uri),o=n?new a(e.uri,e.getLanguageId(),n.uri,n.type):new a(e.uri,e.getLanguageId(),void 0,void 0);if(null===(i=this._lastCandidate)||void 0===i||!i.equals(o)){for(let t of(this._lastCandidate=o,this._entries))if(t._score=(0,s.G)(t.selector,o.uri,o.languageId,(0,r.pt)(e),o.notebookUri,o.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(l._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:d(e.selector)&&!d(t.selector)?1:!d(e.selector)&&d(t.selector)?-1:e._time<t._time?1:e._time>t._time?-1:0}}function d(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(d):!!e.isBuiltin)}},11689:function(e,t,i){"use strict";i.d(t,{G:function(){return function e(t,i,r,s,a,l){if(Array.isArray(t)){let n=0;for(let o of t){let t=e(o,i,r,s,a,l);if(10===t)return t;t>n&&(n=t)}return n}if("string"==typeof t)return s?"*"===t?5:t===r?10:0:0;if(!t)return 0;else{let{language:e,pattern:d,scheme:c,hasAccessToAllModels:h,notebookType:u}=t;if(!s&&!h)return 0;u&&a&&(i=a);let g=0;if(c){if(c===i.scheme)g=10;else{if("*"!==c)return 0;g=5}}if(e){if(e===r)g=10;else{if("*"!==e)return 0;g=Math.max(g,5)}}if(u){if(u===l)g=10;else{if("*"!==u||void 0===l)return 0;g=Math.max(g,5)}}if(d){let e;if(!((e="string"==typeof d?d:{...d,base:(0,o.Fv)(d.base)})===i.fsPath||(0,n.EQ)(e,i.fsPath)))return 0;g=10}return g}}}});var n=i("7388"),o=i("3225")},7361:function(e,t,i){"use strict";i.d(t,{e:function(){return c}});var n=i("52640");function o(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function r(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function s(e,t){let i=t.index,n=t[0].length;if(!i)return;let o=e.positionAt(i);return{startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:o.lineNumber,endColumn:o.column+n}}function a(e,t,i){if(!e||1!==t.length)return;let n=o(t[0].values());return{range:e,color:r(n[0],n[1],n[2],i?n[3]:1)}}function l(e,t,i){if(!e||1!==t.length)return;let s=o(t[0].values()),a=new n.Il(new n.Oz(s[0],s[1]/100,s[2]/100,i?s[3]:1));return{range:e,color:r(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function d(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}function c(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){let t=[],i=d(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let o of i){let i;let c=o.filter(e=>void 0!==e),h=c[1],u=c[2];if(u){if("rgb"===h){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=a(s(e,o),d(u,t),!1)}else if("rgba"===h){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=a(s(e,o),d(u,t),!0)}else if("hsl"===h){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=l(s(e,o),d(u,t),!1)}else if("hsla"===h){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=l(s(e,o),d(u,t),!0)}else"#"===h&&(i=function(e,t){if(!e)return;let i=n.Il.Format.CSS.parseHex(t);if(i)return{range:e,color:r(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(s(e,o),h+u));i&&t.push(i)}}return t}(e):[]}},71458:function(e,t,i){"use strict";i.d(t,{A:function(){return r}});var n=i("73071"),o=i("38386");function r(e,t,i,r){let s;let a=(0,o.n2)(t,i.startLineNumber,i.startColumn),l=r.getLanguageConfiguration(a.languageId);if(!l)return null;let d=a.getLineContent(),c=d.substr(0,i.startColumn-1-a.firstCharOffset);s=i.isEmpty()?d.substr(i.startColumn-1-a.firstCharOffset):(0,o.n2)(t,i.endLineNumber,i.endColumn).getLineContent().substr(i.endColumn-1-a.firstCharOffset);let h="";if(i.startLineNumber>1&&0===a.firstCharOffset){let e=(0,o.n2)(t,i.startLineNumber-1);e.languageId===a.languageId&&(h=e.getLineContent())}let u=l.onEnter(e,h,c,s);if(!u)return null;let g=u.indentAction,p=u.appendText,m=u.removeText||0;p?g===n.wU.Indent&&(p=" "+p):p=g===n.wU.Indent||g===n.wU.IndentOutdent?" ":"";let f=(0,o.u0)(t,i.startLineNumber,i.startColumn);return m&&(f=f.substring(0,f.length-m)),{indentAction:g,appendText:p,removeText:m,indentation:f}}},16516:function(e,t,i){"use strict";i.d(t,{O:function(){return s}});var n=i("47983"),o=i("55892"),r=i("53986");class s{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,n.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,o.Bu)(t.getStandardTokenType(n)))return null;let s=this._richEditBrackets.reversedRegex,a=t.getLineContent().substring(0,i-1)+e,l=r.Vr.findPrevBracketInRange(s,1,a,0,a.length);if(!l)return null;let d=a.substring(l.startColumn-1,l.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[d])return null;let c=t.getActualLineContentBefore(l.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:d}:null}}},75531:function(e,t,i){"use strict";i.d(t,{P:function(){return b}});var n=i("47983"),o=i("1966"),r=i("45802"),s=i("98212"),a=i("37764"),l=i("37013"),d=i("8773"),c=i("70668"),h=i("56810"),u=i("64141"),g=i("68774"),p=i("86120"),m=i("2723"),f=i("16126"),_=i("74303");class b extends g.U{constructor(e,t,i,n,o,r){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=o,this._attachedViews=r,this._semanticTokens=new _.u(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new s.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new s.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new s.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new v(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(e=>{this._emitModelTokensChangedEvent(e)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(e=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(let t of e.changes){let[e,i,n]=(0,l.Q)(t.text);this._semanticTokens.acceptEdit(t.range,e,i,n,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);let t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){!this._textModel._isDisposing()&&(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new r.he("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),o=n.findTokenIndexAtOffset(t.column-1),[r,s]=b._findLanguageBoundaries(n,o),a=(0,h.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(o)).getWordDefinition(),i.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(o>0&&r===t.column-1){let[r,s]=b._findLanguageBoundaries(n,o-1),a=(0,h.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(o-1)).getWordDefinition(),i.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let o=t;o>=0&&e.getLanguageId(o)===i;o--)n=e.getStartOffset(o);let o=e.getLineContent().length;for(let n=t,r=e.getCount();n<r&&e.getLanguageId(n)===i;n++)o=e.getEndOffset(n);return[n,o]}getWordUntilPosition(e){let t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}}getLanguageId(){return this._languageId}getLanguageIdAtPosition(e,t){let i=this._textModel.validatePosition(new c.L(e,t)),n=this.getLineTokens(i.lineNumber);return n.getLanguageId(n.findTokenIndexAtOffset(i.column-1))}setLanguageId(e,t="api"){if(this._languageId===e)return;let i={oldLanguage:this._languageId,newLanguage:e,source:t};this._languageId=e,this._bracketPairsTextModelPart.handleDidChangeLanguage(i),this.grammarTokens.resetTokenization(),this._onDidChangeLanguage.fire(i),this._onDidChangeLanguageConfiguration.fire({})}}class v extends a.JT{get backgroundTokenizationState(){return this._backgroundTokenizationState}constructor(e,t,i,n){super(),this._languageIdCodec=e,this._textModel=t,this.getLanguageId=i,this._tokenizer=null,this._defaultBackgroundTokenizer=null,this._backgroundTokenizer=this._register(new a.XK),this._tokens=new f.l(this._languageIdCodec),this._debugBackgroundTokenizer=this._register(new a.XK),this._backgroundTokenizationState=1,this._onDidChangeBackgroundTokenizationState=this._register(new s.Q5),this.onDidChangeBackgroundTokenizationState=this._onDidChangeBackgroundTokenizationState.event,this._onDidChangeTokens=this._register(new s.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this._attachedViewStates=this._register(new a.b2),this._register(u.RW.onDidChange(e=>{let t=this.getLanguageId();-1!==e.changedLanguages.indexOf(t)&&this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:e,state:t})=>{if(t){let i=this._attachedViewStates.get(e);!i&&(i=new y(()=>this.refreshRanges(i.lineRanges)),this._attachedViewStates.set(e,i)),i.handleStateChange(t)}else this._attachedViewStates.deleteAndDispose(e)}))}resetTokenization(e=!0){var t;this._tokens.flush(),null===(t=this._debugBackgroundTokens)||void 0===t||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new p.qN(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});let[i,n]=(()=>{let e;if(this._textModel.isTooLargeForTokenization())return[null,null];let t=u.RW.get(this.getLanguageId());if(!t)return[null,null];try{e=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,e]})();if(i&&n?this._tokenizer=new p.Nc(this._textModel.getLineCount(),i,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){let e={setTokens:e=>{this.setTokens(e)},backgroundTokenizationFinished:()=>{if(2!==this._backgroundTokenizationState)this._backgroundTokenizationState=2,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(e,t)=>{var i;if(!this._tokenizer)return;let n=this._tokenizer.store.getFirstInvalidEndStateLineNumber();null!==n&&e>=n&&(null===(i=this._tokenizer)||void 0===i||i.store.setEndState(e,t))}};i&&i.createBackgroundTokenizer&&!i.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,e)),!this._backgroundTokenizer.value&&!this._textModel.isTooLargeForTokenization()&&(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new p.AX(this._tokenizer,e),this._defaultBackgroundTokenizer.handleChanges()),(null==i?void 0:i.backgroundTokenizerShouldOnlyVerifyTokens)&&i.createBackgroundTokenizer?(this._debugBackgroundTokens=new f.l(this._languageIdCodec),this._debugBackgroundStates=new p.qN(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,{setTokens:e=>{var t;null===(t=this._debugBackgroundTokens)||void 0===t||t.setMultilineTokens(e,this._textModel)},backgroundTokenizationFinished(){},setEndState:(e,t)=>{var i;null===(i=this._debugBackgroundStates)||void 0===i||i.setEndState(e,t)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;null===(e=this._defaultBackgroundTokenizer)||void 0===e||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(let i of e.changes){let[e,n]=(0,l.Q)(i.text);this._tokens.acceptEdit(i.range,e,n),null===(t=this._debugBackgroundTokens)||void 0===t||t.acceptEdit(i.range,e,n)}null===(i=this._debugBackgroundStates)||void 0===i||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.handleChanges()}}setTokens(e){let{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){let e=d.z.joinMany([...this._attachedViewStates].map(([e,t])=>t.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(let t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);let o=new m.N,{heuristicTokens:r}=this._tokenizer.tokenizeHeuristically(o,e,t),s=this.setTokens(o.finalize());if(r)for(let e of s.changes)null===(i=this._backgroundTokenizer.value)||void 0===i||i.requestTokens(e.fromLineNumber,e.toLineNumber+1);null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.checkFinished()}forceTokenization(e){var t,i;let n=new m.N;null===(t=this._tokenizer)||void 0===t||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),null===(i=this._defaultBackgroundTokenizer)||void 0===i||i.checkFinished()}hasAccurateTokensForLine(e){return!this._tokenizer||this._tokenizer.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return!this._tokenizer||this._tokenizer.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;let i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){let o=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(o)&&(null===(t=this._debugBackgroundTokenizer.value)||void 0===t?void 0:t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;let n=this._textModel.validatePosition(new c.L(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;let n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class y extends a.JT{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new o.pY(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){!(0,n.fS)(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t))&&(this._computedLineRanges=this._lineRanges,this._refreshTokens())}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}},93804:function(e,t,i){"use strict";i.d(t,{A:function(){return g}});var n,o=i("53255"),r=i("7005"),s=i("45065"),a=i("62042"),l=i("91114"),d=i("95449"),c=i("80853"),h=i("6438"),u=function(e,t){return function(i,n){t(i,n,e)}};let g=(0,d.yh)("ILanguageFeatureDebounceService");!function(e){let t=new WeakMap,i=0;e.of=function(e){let n=t.get(e);return void 0===n&&(n=++i,t.set(e,n)),n}}(n||(n={}));class p{constructor(e){this._default=e}get(e){return this._default}update(e,t){return this._default}default(){return this._default}}class m{constructor(e,t,i,n,o,s){this._logService=e,this._name=t,this._registry=i,this._default=n,this._min=o,this._max=s,this._cache=new r.z6(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>(0,o.SP)(n.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,s.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);!n&&(n=new s.N(6),this._cache.set(i,n));let o=(0,s.uZ)(n.update(t),this._min,this._max);return!(0,h.xn)(e.uri,"output")&&this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${o}ms`),o}_overall(){let e=new s.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,s.uZ)(e,this._min,this._max)}}let f=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var o,r,s;let a=null!==(o=null==i?void 0:i.min)&&void 0!==o?o:50,l=null!==(r=null==i?void 0:i.max)&&void 0!==r?r:a**2,d=null!==(s=null==i?void 0:i.key)&&void 0!==s?s:void 0,c=`${n.of(e)},${a}${d?","+d:""}`,h=this._data.get(c);return!h&&(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),h=new p(1.5*a)):h=new m(this._logService,t,e,0|this._overallAverage()||1.5*a,a,l),this._data.set(c,h)),h}_overallAverage(){let e=new s.nM;for(let t of this._data.values())e.update(t.default());return e.value}};f=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([u(0,c.VZ),u(1,a.Y)],f),(0,l.z)(g,f,1)},5705:function(e,t,i){"use strict";var n,o;i.d(t,{UO:function(){return r},s6:function(){return n},vW:function(){return s}}),(o=n||(n={}))[o.Disabled=0]="Disabled",o[o.EnabledForActive=1]="EnabledForActive",o[o.Enabled=2]="Enabled";class r{constructor(e,t,i,n,o,r){if(this.visibleColumn=e,this.column=t,this.className=i,this.horizontalLine=n,this.forWrappedLinesAfterColumn=o,this.forWrappedLinesBeforeOrAtColumn=r,-1!==e==(-1!==t))throw Error()}}class s{constructor(e,t){this.top=e,this.endColumn=t}}},89821:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i("54532");class o{static createEmpty(e,t){let i=o.defaultTokenMetadata,n=new Uint32Array(2);return n[0]=e.length,n[1]=i,new o(n,e,t)}constructor(e,t,i){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=i}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,o=n+(i<<1);for(let t=n;t<o;t++)if(this._tokens[t]!==e._tokens[t])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return o.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new r(this,e,t,i)}static convertToEndOffset(e,t){let i=(e.length>>>1)-1;for(let t=0;t<i;t++)e[t<<1]=e[t+1<<1];e[i<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let i=0,n=(e.length>>>1)-1;for(;i<n;){let o=i+Math.floor((n-i)/2),r=e[o<<1];if(r===t)return o+1;r<t?i=o+1:r>t&&(n=o)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",r=[],s=0;for(;;){let o=t<this._tokensCount?this._tokens[t<<1]:-1,a=i<e.length?e[i]:null;if(-1!==o&&(null===a||o<=a.offset)){n+=this._text.substring(s,o);let e=this._tokens[(t<<1)+1];r.push(n.length,e),t++,s=o}else if(a){if(a.offset>s){n+=this._text.substring(s,a.offset);let e=this._tokens[(t<<1)+1];r.push(n.length,e),s=a.offset}n+=a.text,r.push(n.length,a.tokenMetadata),i++}else break}return new o(new Uint32Array(r),n,this._languageIdCodec)}}o.defaultTokenMetadata=33587200;class r{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,n=e.getCount();t<n&&!(e.getStartOffset(t)>=i);t++){;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof r&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},67541:function(e,t,i){"use strict";i.d(t,{EY:function(){return o},Tj:function(){return r}});class n{constructor(e,t,i){this._colorZoneBrand=void 0,this.from=0|e,this.to=0|t,this.colorId=0|i}static compare(e,t){if(e.colorId===t.colorId)return e.from===t.from?e.to-t.to:e.from-t.from;return e.colorId-t.colorId}}class o{constructor(e,t,i,n){this._overviewRulerZoneBrand=void 0,this.startLineNumber=e,this.endLineNumber=t,this.heightInLines=i,this.color=n,this._colorZone=null}static compare(e,t){if(e.color===t.color){if(e.startLineNumber===t.startLineNumber)return e.heightInLines===t.heightInLines?e.endLineNumber-t.endLineNumber:e.heightInLines-t.heightInLines;return e.startLineNumber-t.startLineNumber}return e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class r{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(o.compare)}setLineHeight(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){let e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),i=Math.floor(this.getCanvasHeight()),o=i/Math.floor(this._outerHeight),r=Math.floor(4*this._pixelRatio/2),s=[];for(let a=0,l=this._zones.length;a<l;a++){let l=this._zones[a];if(!e){let e=l.getColorZones();if(e){s.push(e);continue}}let d=this._getVerticalOffsetForLine(l.startLineNumber),c=0===l.heightInLines?this._getVerticalOffsetForLine(l.endLineNumber)+t:d+l.heightInLines*t,h=Math.floor(o*d),u=Math.floor(o*c),g=Math.floor((h+u)/2),p=u-g;p<r&&(p=r),g-p<0&&(g=p),g+p>i&&(g=i-p);let m=l.color,f=this._color2Id[m];!f&&(f=++this._lastAssignedId,this._color2Id[m]=f,this._id2Color[f]=m);let _=new n(g-p,g+p,f);l.setColorZone(_),s.push(_)}return this._colorZonesInvalid=!1,s.sort(n.compare),s}}},59801:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i("17228");class o{constructor(e,t,i){this.configuration=e,this.theme=new n.b(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}},64839:function(e,t,i){"use strict";var n=i("5623"),o=i("55952"),r=i("97147"),s=i("76682"),a=i("36809"),l=i("87294"),d=i("8109"),c=i("5702"),h=i("94479"),u=i("95316"),g=i("15266"),p=i("77667");let m="9_cutcopypaste",f=r.tY||document.queryCommandSupported("cut"),_=r.tY||document.queryCommandSupported("copy"),b=void 0!==navigator.clipboard&&!n.vU||document.queryCommandSupported("paste");function v(e){return e.register(),e}let y=f?v(new a.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:r.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1}]})):void 0,w=_?v(new a.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:r.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;u.BH.appendMenuItem(u.eH.MenubarEditMenu,{submenu:u.eH.MenubarCopy,title:h.vv("copy as","Copy As"),group:"2_ccp",order:3}),u.BH.appendMenuItem(u.eH.EditorContext,{submenu:u.eH.EditorContextCopy,title:h.vv("copy as","Copy As"),group:m,order:3}),u.BH.appendMenuItem(u.eH.EditorContext,{submenu:u.eH.EditorContextShare,title:h.vv("share","Share"),group:"11_share",order:-1,when:p.Ao.and(p.Ao.notEquals("resourceScheme","output"),d.u.editorTextFocus)}),u.BH.appendMenuItem(u.eH.EditorTitleContext,{submenu:u.eH.EditorTitleContextShare,title:h.vv("share","Share"),group:"11_share",order:-1}),u.BH.appendMenuItem(u.eH.ExplorerContext,{submenu:u.eH.ExplorerContextShare,title:h.vv("share","Share"),group:"11_share",order:-1});let k=b?v(new a.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:r.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4}]})):void 0;class S extends a.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:h.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:d.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!!t.hasModel())!(!t.getOption(37)&&t.getSelection().isEmpty())&&(s.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),s.RA.forceCopyWithSyntaxHighlighting=!1)}}function x(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(l.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(37),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(n.getContainerDomNode().ownerDocument.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>((0,o.uP)().execCommand(t),!0)))}x(y,"cut"),x(w,"copy"),k&&(k.addImplementation(1e4,"code-editor",(e,t)=>{var i,n;let o=e.get(l.$),a=e.get(g.p),d=o.getFocusedCodeEditor();if(d&&d.hasTextFocus())return d.getContainerDomNode().ownerDocument.execCommand("paste")?null!==(n=null===(i=c.bO.get(d))||void 0===i?void 0:i.finishedPaste())&&void 0!==n?n:Promise.resolve():!r.$L||(async()=>{let e=await a.readText();if(""!==e){let t=s.Nl.INSTANCE.get(e),i=!1,n=null,o=null;t&&(i=d.getOption(37)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,o=t.mode),d.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:o})}})();return!1}),k.addImplementation(0,"generic-dom",(e,t)=>((0,o.uP)().execCommand("paste"),!0))),_&&(0,a.Qr)(S)},31411:function(e,t,i){"use strict";i.d(t,{E:function(){return u},R:function(){return g}});var n=i("66735"),o=i("45802"),r=i("98084"),s=i("83112"),a=i("96468"),l=i("249"),d=i("76891"),c=i("29009"),h=i("756");async function u(e,t,i,n=!0){return _(new p,e,t,i,n)}function g(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}class p{constructor(){}async compute(e,t,i,n){let o=await e.provideDocumentColors(t,i);if(Array.isArray(o))for(let t of o)n.push({colorInfo:t,provider:e});return Array.isArray(o)}}class m{constructor(){}async compute(e,t,i,n){let o=await e.provideDocumentColors(t,i);if(Array.isArray(o))for(let e of o)n.push({range:e.range,color:[e.color.red,e.color.green,e.color.blue,e.color.alpha]});return Array.isArray(o)}}class f{constructor(e){this.colorInfo=e}async compute(e,t,i,o){let r=await e.provideColorPresentations(t,this.colorInfo,n.Ts.None);return Array.isArray(r)&&o.push(...r),Array.isArray(r)}}async function _(e,t,i,n,r){let s,a=!1,l=[],d=t.ordered(i);for(let t=d.length-1;t>=0;t--){let r=d[t];if(r instanceof c.G)s=r;else try{await e.compute(r,i,n,l)&&(a=!0)}catch(e){(0,o.Cp)(e)}}return a?l:s&&r?(await e.compute(s,i,n,l),l):[]}function b(e,t){let{colorProvider:i}=e.get(d.p),n=e.get(a.q).getModel(t);if(!n)throw(0,o.b1)();return{model:n,colorProviderRegistry:i,isDefaultColorDecoratorsEnabled:e.get(h.Ui).getValue("editor.defaultColorDecorators",{resource:t})}}l.P.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof r.o))throw(0,o.b1)();let{model:s,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:l}=b(e,i);return _(new m,a,s,n.Ts.None,l)}),l.P.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,a]=t,{uri:l,range:d}=a;if(!(l instanceof r.o)||!Array.isArray(i)||4!==i.length||!s.e.isIRange(d))throw(0,o.b1)();let{model:c,colorProviderRegistry:h,isDefaultColorDecoratorsEnabled:u}=b(e,l),[g,p,m,v]=i;return _(new f({range:d,color:{red:g,green:p,blue:m,alpha:v}}),h,c,n.Ts.None,u)})},36966:function(e,t,i){"use strict";var n=i("85376"),o=i("36809"),r=i("83112"),s=i("8109"),a=i("38386"),l=i("54389"),d=i("42001"),c=i("94479"),h=i("95316");class u extends o.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(a.c_);if(!t.hasModel())return;let n=t.getModel(),o=[],s=n.getOptions(),l=t.getOption(23),c=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));c.sort((e,t)=>r.e.compareRangesUsingStarts(e.selection,t.selection));let h=c[0];for(let e=1;e<c.length;e++){let t=c[e];h.selection.endLineNumber===t.selection.startLineNumber&&(h.index<t.index?t.ignoreFirstLine=!0:(h.ignoreFirstLine=!0,h=t))}for(let e of c)o.push(new d.o(i,e.selection,s.indentSize,this._type,l.insertSpace,l.ignoreEmptyLines,e.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class g extends o.R6{constructor(){super({id:"editor.action.blockComment",label:c.NC("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:s.u.writable,kbOpts:{kbExpr:s.u.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:h.eH.MenubarEditMenu,group:"5_insert",title:c.NC({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){let i=e.get(a.c_);if(!t.hasModel())return;let n=t.getOption(23),o=[];for(let e of t.getSelections())o.push(new l.K(e,n.insertSpace,i));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}(0,o.Qr)(class e extends u{constructor(){super(0,{id:"editor.action.commentLine",label:c.NC("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:s.u.writable,kbOpts:{kbExpr:s.u.editorTextFocus,primary:2138,weight:100},menuOpts:{menuId:h.eH.MenubarEditMenu,group:"5_insert",title:c.NC({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),(0,o.Qr)(class e extends u{constructor(){super(1,{id:"editor.action.addCommentLine",label:c.NC("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:s.u.writable,kbOpts:{kbExpr:s.u.editorTextFocus,primary:(0,n.gx)(2089,2081),weight:100}})}}),(0,o.Qr)(class e extends u{constructor(){super(2,{id:"editor.action.removeCommentLine",label:c.NC("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:s.u.writable,kbOpts:{kbExpr:s.u.editorTextFocus,primary:(0,n.gx)(2089,2099),weight:100}})}}),(0,o.Qr)(g)},540:function(e,t,i){"use strict";i.d(t,{pR:function(){return N}});var n,o=i("1966"),r=i("37764"),s=i("71482"),a=i("36809"),l=i("85351"),d=i("8109"),c=i("42733"),h=i("52305"),u=i("95100"),g=i("56186"),p=i("1535"),m=i("94479"),f=i("95316"),_=i("15266"),b=i("77667"),v=i("81844"),y=i("81171"),w=i("97717"),k=i("84587"),S=i("88739"),x=i("29149"),z=i("59955"),C=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},L=function(e,t){return function(i,n){t(i,n,e)}};function T(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let N=n=class extends r.JT{get editor(){return this._editor}static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,r,s){super(),this._editor=e,this._findWidgetVisible=h.a_.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=r,this._hoverService=s,this._updateHistoryDelayer=new o.vp(500),this._state=this._register(new g.P),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!h.qm.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),!this._state.isRevealed&&this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=s.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;let i={...t,isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let t=T(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=s.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=T(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:!this._findWidgetVisible.get()&&(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),!this._model&&(this._model=new h.Xu(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}goToMatch(e){return!!this._model&&(this._model.moveToMatch(e),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){var e;if(this._model)return(null===(e=this._editor.getModel())||void 0===e?void 0:e.isTooLargeForHeapOperation())?(this._notificationService.warn(m.NC("too.large.for.replaceall","The file is too large to perform a replace all operation.")),!1):(this._model.replaceAll(),!0);return!1}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};N.ID="editor.contrib.findController",N=n=C([L(1,b.i6),L(2,S.Uy),L(3,_.p),L(4,w.lT),L(5,z.Bs)],N);let D=class extends N{constructor(e,t,i,n,o,r,s,a,l){super(e,i,s,a,r,l),this._contextViewService=t,this._keybindingService=n,this._themeService=o,this._widget=null,this._findOptionsWidget=null}async _start(e,t){!this._widget&&this._createFindWidget();let i=this._editor.getSelection(),n=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":n=!!i&&i.startLineNumber!==i.endLineNumber}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}highlightFindOptions(e=!1){!this._widget&&this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new p.V4(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new u.D(this._editor,this._state,this._keybindingService))}};D=C([L(1,v.u),L(2,b.i6),L(3,y.d),L(4,x.XE),L(5,w.lT),L(6,S.Uy),L(7,_.p),L(8,z.Bs)],D),(0,a.rn)(new a.jY({id:h.kR.StartFindAction,label:m.NC("startFindAction","Find"),alias:"Find",precondition:b.Ao.or(d.u.focus,b.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:f.eH.MenubarEditMenu,group:"3_find",title:m.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})).addImplementation(0,(e,t,i)=>{let n=N.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})});let I={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},isRegex:{type:"boolean"},matchWholeWord:{type:"boolean"},isCaseSensitive:{type:"boolean"},preserveCase:{type:"boolean"},findInSelection:{type:"boolean"}}}}]};class E extends a.R6{constructor(){super({id:h.kR.StartFindWithArgs,label:m.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:I})}async run(e,t,i){let n=N.get(t);if(n){let e=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},e),n.setGlobalBufferTerm(n.getState().searchString)}}}class R extends a.R6{constructor(){super({id:h.kR.StartFindWithSelection,label:m.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){let i=N.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class M extends a.R6{async run(e,t){let i=N.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class P extends a.R6{constructor(){super({id:h.kR.GoToMatchFindAction,label:m.NC("findMatchAction.goToMatch","Go to Match..."),alias:"Go to Match...",precondition:h.a_}),this._highlightDecorations=[]}run(e,t,i){let n=N.get(t);if(!n)return;let o=n.getState().matchesCount;if(o<1){e.get(w.lT).notify({severity:w.zb.Warning,message:m.NC("findMatchAction.noResults","No matches. Try searching for something else.")});return}let r=e.get(k.eJ).createInputBox();r.placeholder=m.NC("findMatchAction.inputPlaceHolder","Type a number to go to a specific match (between 1 and {0})",o);let s=e=>{let t=parseInt(e);if(isNaN(t))return;let i=n.getState().matchesCount;return t>0&&t<=i?t-1:t<0&&t>=-i?i+t:void 0},a=e=>{let i=s(e);if("number"==typeof i){r.validationMessage=void 0,n.goToMatch(i);let e=n.getState().currentMatch;e&&this.addDecorations(t,e)}else r.validationMessage=m.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount),this.clearDecorations(t)};r.onDidChangeValue(e=>{a(e)}),r.onDidAccept(()=>{let e=s(r.value);"number"==typeof e?(n.goToMatch(e),r.hide()):r.validationMessage=m.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount)}),r.onDidHide(()=>{this.clearDecorations(t),r.dispose()}),r.show()}clearDecorations(e){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,x.EN)(l.m9),position:c.sh.Full}}}])})}}class O extends a.R6{async run(e,t){let i=N.get(t);if(!i)return;let n=T(t,"single",!1);n&&i.setSearchString(n),!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}(0,a.rn)(new a.jY({id:h.kR.StartFindReplaceAction,label:m.NC("startReplace","Replace"),alias:"Replace",precondition:b.Ao.or(d.u.focus,b.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:f.eH.MenubarEditMenu,group:"3_find",title:m.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})).addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(91))return!1;let n=N.get(t);if(!n)return!1;let o=t.getSelection(),r=n.isFindInputFocused(),s=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(41).seedSearchStringFromSelection&&!r;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:s?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(41).seedSearchStringFromSelection,shouldFocus:r||s?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})}),(0,a._K)(N.ID,D,0),(0,a.Qr)(E),(0,a.Qr)(R),(0,a.Qr)(class e extends M{constructor(){super({id:h.kR.NextMatchFindAction,label:m.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:b.Ao.and(d.u.focus,h.qm),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}),(0,a.Qr)(class e extends M{constructor(){super({id:h.kR.PreviousMatchFindAction,label:m.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:b.Ao.and(d.u.focus,h.qm),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,a.Qr)(P),(0,a.Qr)(class e extends O{constructor(){super({id:h.kR.NextSelectionMatchFindAction,label:m.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,a.Qr)(class e extends O{constructor(){super({id:h.kR.PreviousSelectionMatchFindAction,label:m.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let A=a._l.bindToContribution(N.get);(0,a.fK)(new A({id:h.kR.CloseFindWidgetCommand,precondition:h.a_,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,b.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,a.fK)(new A({id:h.kR.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.Dt.primary,mac:h.Dt.mac,win:h.Dt.win,linux:h.Dt.linux}})),(0,a.fK)(new A({id:h.kR.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.CP.primary,mac:h.CP.mac,win:h.CP.win,linux:h.CP.linux}})),(0,a.fK)(new A({id:h.kR.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.LM.primary,mac:h.LM.mac,win:h.LM.win,linux:h.LM.linux}})),(0,a.fK)(new A({id:h.kR.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.M9.primary,mac:h.M9.mac,win:h.M9.win,linux:h.M9.linux}})),(0,a.fK)(new A({id:h.kR.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.mt.primary,mac:h.mt.mac,win:h.mt.win,linux:h.mt.linux}})),(0,a.fK)(new A({id:h.kR.ReplaceOneAction,precondition:h.a_,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:3094}})),(0,a.fK)(new A({id:h.kR.ReplaceOneAction,precondition:h.a_,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,h.P$),primary:3}})),(0,a.fK)(new A({id:h.kR.ReplaceAllAction,precondition:h.a_,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:2563}})),(0,a.fK)(new A({id:h.kR.ReplaceAllAction,precondition:h.a_,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,h.P$),primary:void 0,mac:{primary:2051}}})),(0,a.fK)(new A({id:h.kR.SelectAllMatchesAction,precondition:h.a_,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:515}}))},33177:function(e,t,i){"use strict";i.d(t,{H:function(){return l}});var n=i("1966"),o=i("45802"),r=i("98212"),s=i("37764");class a{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class l extends s.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new r.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new n.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new n.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new n.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,n.zS)(e=>this._computer.computeAsync(e)),(async()=>{try{for await(let e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,o.dL)(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new a(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(1),this._firstWaitScheduler.schedule(this._firstWaitTime),this._loadingMessageScheduler.schedule(this._loadingMessageTime));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}},5632:function(e,t,i){"use strict";i.d(t,{y:function(){return s}});var n=i("47983"),o=i("4157"),r=i("42733");class s{get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=r.U.Center}computeSync(){var e,t;let i=e=>({value:e}),s=this._editor.getLineDecorations(this._lineNumber),a=[],l="lineNo"===this._laneOrLine;if(!s)return a;for(let d of s){let s=null!==(t=null===(e=d.options.glyphMargin)||void 0===e?void 0:e.position)&&void 0!==t?t:r.U.Center;if(!l&&s!==this._laneOrLine)continue;let c=l?d.options.lineNumberHoverMessage:d.options.glyphMarginHoverMessage;!(!c||(0,o.CP)(c))&&a.push(...(0,n._2)(c).map(i))}return a}}},70609:function(e,t,i){"use strict";i.d(t,{K:function(){return F},f:function(){return O}});var n,o=i("55952"),r=i("47983"),s=i("1966"),a=i("66735"),l=i("45802"),d=i("37764"),c=i("7005"),h=i("67414"),u=i("98084"),g=i("92011"),p=i("46785"),m=i("97295"),f=i("89172"),_=i("83112"),b=i("64141"),v=i("42733"),y=i("84144"),w=i("93804"),k=i("76891"),S=i("51413"),x=i("32678"),z=i("96826"),C=i("86098"),L=i("249"),T=i("91114"),N=i("95449"),D=i("97717"),I=i("94590"),E=i("29149"),R=function(e,t){return function(i,n){t(i,n,e)}};class M{constructor(){this._entries=new c.z6(50)}get(e){let t=M._key(e);return this._entries.get(t)}set(e,t){let i=M._key(e);this._entries.set(i,t)}static _key(e){return`${e.uri.toString()}/${e.getVersionId()}`}}let P=(0,N.yh)("IInlayHintsCache");(0,T.z)(P,M,1);class O{constructor(e,t){this.item=e,this.index=t}get part(){let e=this.item.hint.label;return"string"==typeof e?{label:e}:e[this.index]}}class A{constructor(e,t){this.part=e,this.hasTriggerModifier=t}}let F=n=class{static get(e){var t;return null!==(t=e.getContribution(n.ID))&&void 0!==t?t:void 0}constructor(e,t,i,n,o,r,s){this._editor=e,this._languageFeaturesService=t,this._inlayHintsCache=n,this._commandService=o,this._notificationService=r,this._instaService=s,this._disposables=new d.SL,this._sessionDisposables=new d.SL,this._decorationsMetadata=new Map,this._ruleFactory=new g.t7(this._editor),this._activeRenderMode=0,this._debounceInfo=i.for(t.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(t.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(141);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;if("on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(o._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey&&!(t.shiftKey||t.metaKey)?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),c.schedule(0)}}))}let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{!i.isDisposed()&&this._cacheHintsForFastRestore(i)}));let r=new Set,c=new s.pY(async()=>{let t=Date.now();null==e||e.dispose(!0),e=new a.AU;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,o=await z.Q3.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(c.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){o.dispose();return}for(let e of o.provider)"function"==typeof e.onDidChangeInlayHints&&!r.has(e)&&(r.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{!c.isScheduled()&&c.schedule()})));this._sessionDisposables.add(o),this._updateHintsDecorators(o.ranges,o.items),this._cacheHintsForFastRestore(i)}catch(e){(0,l.dL)(e)}finally{e.dispose(),n.dispose()}},this._debounceInfo.get(i));this._sessionDisposables.add(c),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),c.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!c.isScheduled())&&c.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(t=>{null==e||e.cancel();let i=Math.max(c.delay,1250);c.schedule(i)})),this._sessionDisposables.add(this._installDblClickGesture(()=>c.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new x.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),o=this._editor.getModel();if(!n||!o){i.clear();return}let r=new a.AU;i.add((0,d.OF)(()=>r.dispose(!0))),n.item.resolve(r.token),this._activeInlayHintPart=n.part.command||n.part.location?new A(n,t.hasTriggerModifier):void 0;let s=o.validatePosition(n.item.hint.position).lineNumber,l=new _.e(s,1,s,o.getLineMaxColumn(s)),c=this._getInlineHintsForRange(l);this._updateHintsDecorators([l],c),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([l],c)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async e=>{let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(C.K,e,this._editor,i.location):b.mY.is(i.command)&&await this._invokeCommand(i.command,t.item)}})),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(i&&(t.event.preventDefault(),await i.item.resolve(a.Ts.None),(0,r.Of)(i.item.hint.textEdits))){let t=i.item.hint.textEdits.map(e=>f.h.replace(_.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(e.event.target instanceof HTMLElement))return;let t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(C.u,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof y.HS&&(null==i?void 0:i.attachedData)instanceof O)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:D.zb.Error,source:t.provider.displayName,message:e})}}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let o=e.getDecorationRange(i);if(o){let e=new z.UQ(o,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(_.e.compareRangesUsingStarts)){let t=e.validateRange(new _.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&_.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=_.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(e,t){var i,o;let s=[],a=(e,t,i,n,o)=>{let r={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:o};s.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?r:void 0}}})},l=(e,t)=>{a(e,this._ruleFactory.createClassNameRef({width:`${d/3|0}px`,display:"inline-block"}),"\u200A",t?v.RM.Right:v.RM.None)},{fontSize:d,fontFamily:c,padding:h,isUniform:u}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(g,c);let f={line:0,totalLen:0};for(let e of t){if(f.line!==e.anchor.range.startLineNumber&&(f={line:e.anchor.range.startLineNumber,totalLen:0}),f.totalLen>n._MAX_LABEL_LEN)continue;e.hint.paddingLeft&&l(e,!1);let t="string"==typeof e.hint.label?[{label:e.hint.label}]:e.hint.label;for(let o=0;o<t.length;o++){let s=t[o],l=0===o,c=o===t.length-1,p={fontSize:`${d}px`,fontFamily:`var(${g}), ${m.hL.fontFamily}`,verticalAlign:u?"baseline":"middle",unicodeBidi:"isolate"};(0,r.Of)(e.hint.textEdits)&&(p.cursor="default"),this._fillInColors(p,e.hint),(s.command||s.location)&&(null===(i=this._activeInlayHintPart)||void 0===i?void 0:i.part.item)===e&&this._activeInlayHintPart.part.index===o&&(p.textDecoration="underline",this._activeInlayHintPart.hasTriggerModifier&&(p.color=(0,E.EN)(I._Yy),p.cursor="pointer")),h&&(l&&c?(p.padding=`1px ${0|Math.max(1,d/4)}px`,p.borderRadius=`${d/4|0}px`):l?(p.padding=`1px 0 1px ${0|Math.max(1,d/4)}px`,p.borderRadius=`${d/4|0}px 0 0 ${d/4|0}px`):c?(p.padding=`1px ${0|Math.max(1,d/4)}px 1px 0`,p.borderRadius=`0 ${d/4|0}px ${d/4|0}px 0`):p.padding="1px 0 1px 0");let _=s.label;f.totalLen+=_.length;let b=!1,y=f.totalLen-n._MAX_LABEL_LEN;if(y>0&&(_=_.slice(0,-y)+"\u2026",b=!0),a(e,this._ruleFactory.createClassNameRef(p),function(e){return e.replace(/[ \t]/g,"\xa0")}(_),c&&!e.hint.paddingRight?v.RM.Right:v.RM.None,new O(e,o)),b)break}if(e.hint.paddingRight&&l(e,!0),s.length>n._MAX_DECORATORS)break}let _=[];for(let[t,i]of this._decorationsMetadata){let n=null===(o=this._editor.getModel())||void 0===o?void 0:o.getDecorationRange(t);n&&e.some(e=>e.containsRange(n))&&(_.push(t),i.classNameRef.dispose(),this._decorationsMetadata.delete(t))}let b=p.Z.capture(this._editor);this._editor.changeDecorations(e=>{let t=e.deltaDecorations(_,s.map(e=>e.decoration));for(let e=0;e<t.length;e++){let i=s[e];this._decorationsMetadata.set(t[e],i)}}),b.restore(this._editor)}_fillInColors(e,t){t.kind===b.gl.Parameter?(e.backgroundColor=(0,E.EN)(I.phM),e.color=(0,E.EN)(I.HCL)):t.kind===b.gl.Type?(e.backgroundColor=(0,E.EN)(I.bKB),e.color=(0,E.EN)(I.hX8)):(e.backgroundColor=(0,E.EN)(I.PpC),e.color=(0,E.EN)(I.VVv))}_getLayoutInfo(){let e=this._editor.getOption(141),t=e.padding,i=this._editor.getOption(52),n=this._editor.getOption(49),o=e.fontSize;(!o||o<5||o>i)&&(o=i);let r=e.fontFamily||n,s=!t&&r===n&&o===i;return{fontSize:o,fontFamily:r,padding:t,isUniform:s}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};F.ID="editor.contrib.InlayHints",F._MAX_DECORATORS=1500,F._MAX_LABEL_LEN=43,F=n=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([R(1,k.p),R(2,w.A),R(3,P),R(4,L.H),R(5,D.lT),R(6,N.TG)],F);L.P.registerCommand("_executeInlayHintProvider",async(e,...t)=>{let[i,n]=t;(0,h.p_)(u.o.isUri(i)),(0,h.p_)(_.e.isIRange(n));let{inlayHintsProvider:o}=e.get(k.p),r=await e.get(S.S).createModelReference(i);try{let e=await z.Q3.create(o,r.object.textEditorModel,[_.e.lift(n)],a.Ts.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{r.dispose()}})},28998:function(e,t,i){"use strict";i.d(t,{Np:function(){return o},OW:function(){return r},Ou:function(){return n}});let n="editor.action.inlineSuggest.commit",o="editor.action.inlineSuggest.showPrevious",r="editor.action.inlineSuggest.showNext"},32319:function(e,t,i){"use strict";i.d(t,{K5:function(){return r},KJ:function(){return s},n0:function(){return n},vw:function(){return o}});let n="editor.action.inlineEdit.accept",o="editor.action.inlineEdit.reject",r="editor.action.inlineEdit.jumpTo",s="editor.action.inlineEdit.jumpBack"},59871:function(e,t,i){"use strict";var n=i("36809"),o=i("79977"),r=i("8109"),s=i("94479");class a extends n.R6{constructor(){super({id:"expandLineSelection",label:s.NC("expandLineSelection","Expand Line Selection"),alias:"Expand Line Selection",precondition:void 0,kbOpts:{weight:0,kbExpr:r.u.textInputFocus,primary:2090}})}run(e,t,i){if(i=i||{},!t.hasModel())return;let n=t._getViewModel();n.model.pushStackElement(),n.setCursorStates(i.source,3,o.P.expandLineSelection(n,n.getCursorStates())),n.revealAllCursors(i.source,!0)}}(0,n.Qr)(a)},97573:function(e,t,i){"use strict";i.d(t,{h:function(){return r}});var n=i("83112"),o=i("98681");class r{constructor(e,t,i){this._selection=e,this._isCopyingDown=t,this._noop=i||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let i=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._endLineNumberDelta=1,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));let o=[];for(let t=i.startLineNumber;t<=i.endLineNumber;t++)o.push(e.getLineContent(t));let r=o.join("\n");""===r&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?t.addEditOperation(new n.e(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber+1,1),i.endLineNumber===e.getLineCount()?"":"\n"):this._isCopyingDown?t.addEditOperation(new n.e(i.startLineNumber,1,i.startLineNumber,1),r+"\n"):t.addEditOperation(new n.e(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+r),this._selectionId=t.trackSelection(i),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=i.startLineNumber,t=i.startColumn,n=i.endLineNumber,r=i.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,t=1),0!==this._endLineNumberDelta&&(n+=this._endLineNumberDelta,r=1),i=o.Y.createWithDirection(e,t,n,r,this._selectionDirection)}return i}}},20425:function(e,t,i){"use strict";i.d(t,{Fh:function(){return _}});var n,o=i("1966"),r=i("37764"),s=i("7005"),a=i("59604"),l=i("64141"),d=i("756"),c=i("91114"),h=i("95449"),u=i("88739"),g=function(e,t){return function(i,n){t(i,n,e)}};class p{constructor(e){this.name=e}select(e,t,i){if(0===i.length)return 0;let n=i[0].score[0];for(let e=0;e<i.length;e++){let{score:t,completion:o}=i[e];if(t[0]!==n)break;if(o.preselect)return e}return 0}}class m extends p{constructor(){super("first")}memorize(e,t,i){}toJSON(){}fromJSON(){}}let f=n=class{constructor(e,t){this._storageService=e,this._configService=t,this._disposables=new r.SL,this._persistSoon=new o.pY(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===u.fk.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(e,t){var i;let o=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:e.getLanguageIdAtPosition(t.lineNumber,t.column),resource:e.uri});if((null===(i=this._strategy)||void 0===i?void 0:i.name)!==o){this._saveState();let e=n._strategyCtors.get(o)||m;this._strategy=new e;try{let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=this._storageService.get(`${n._storagePrefix}/${o}`,e?0:1);t&&this._strategy.fromJSON(JSON.parse(t))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=JSON.stringify(this._strategy);this._storageService.store(`${n._storagePrefix}/${this._strategy.name}`,t,e?0:1,1)}}};f._strategyCtors=new Map([["recentlyUsedByPrefix",class e extends p{constructor(){super("recentlyUsedByPrefix"),this._trie=a.Id.forStrings(),this._seq=0}memorize(e,t,i){let{word:n}=e.getWordUntilPosition(t),o=`${e.getLanguageId()}/${n}`;this._trie.set(o,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){let{word:n}=e.getWordUntilPosition(t);if(!n)return super.select(e,t,i);let o=`${e.getLanguageId()}/${n}`,r=this._trie.get(o);if(!r&&(r=this._trie.findSubstr(o)),r)for(let e=0;e<i.length;e++){let{kind:t,insertText:n}=i[e].completion;if(t===r.type&&n===r.insertText)return e}return super.select(e,t,i)}toJSON(){let e=[];return this._trie.forEach((t,i)=>e.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0)for(let[t,i]of(this._seq=e[0][1].touch+1,e))i.type="number"==typeof i.type?i.type:l.gX.fromString(i.type),this._trie.set(t,i)}}],["recentlyUsed",class e extends p{constructor(){super("recentlyUsed"),this._cache=new s.z6(300,.66),this._seq=0}memorize(e,t,i){let n=`${e.getLanguageId()}/${i.textLabel}`;this._cache.set(n,{touch:this._seq++,type:i.completion.kind,insertText:i.completion.insertText})}select(e,t,i){if(0===i.length)return 0;let n=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(n))return super.select(e,t,i);let o=i[0].score[0],r=-1,s=-1,a=-1;for(let t=0;t<i.length&&i[t].score[0]===o;t++){let n=`${e.getLanguageId()}/${i[t].textLabel}`,o=this._cache.peek(n);if(o&&o.touch>a&&o.type===i[t].completion.kind&&o.insertText===i[t].completion.insertText&&(a=o.touch,s=t),i[t].completion.preselect&&-1===r)return t}return -1!==s?s:-1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(let[t,i]of e)i.touch=0,i.type="number"==typeof i.type?i.type:l.gX.fromString(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",m]]),f._storagePrefix="suggest/memories",f=n=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([g(0,u.Uy),g(1,d.Ui)],f);let _=(0,h.yh)("ISuggestMemories");(0,c.z)(_,f,1)},58389:function(e,t,i){"use strict";i.d(t,{XZ:function(){return I}});var n,o=i("55952");i("16046");var r=i("70432"),s=i("1966"),a=i("45802"),l=i("98212"),d=i("37764"),c=i("45065"),h=i("71482");i("67837");var u=i("82001"),g=i("44584");i("95482");var p=i("94479"),m=i("77667"),f=i("95449"),_=i("88739"),b=i("94590"),v=i("91989"),y=i("29149"),w=i("67233"),k=i("59542"),S=i("47750"),x=i("61320"),z=i("1163"),C=i("74471"),L=function(e,t){return function(i,n){t(i,n,e)}};(0,b.P6G)("editorSuggestWidget.background",{dark:b.D0T,light:b.D0T,hcDark:b.D0T,hcLight:b.D0T},p.NC("editorSuggestWidgetBackground","Background color of the suggest widget.")),(0,b.P6G)("editorSuggestWidget.border",{dark:b.D1_,light:b.D1_,hcDark:b.D1_,hcLight:b.D1_},p.NC("editorSuggestWidgetBorder","Border color of the suggest widget."));let T=(0,b.P6G)("editorSuggestWidget.foreground",{dark:b.NOs,light:b.NOs,hcDark:b.NOs,hcLight:b.NOs},p.NC("editorSuggestWidgetForeground","Foreground color of the suggest widget."));(0,b.P6G)("editorSuggestWidget.selectedForeground",{dark:b.NPS,light:b.NPS,hcDark:b.NPS,hcLight:b.NPS},p.NC("editorSuggestWidgetSelectedForeground","Foreground color of the selected entry in the suggest widget.")),(0,b.P6G)("editorSuggestWidget.selectedIconForeground",{dark:b.cbQ,light:b.cbQ,hcDark:b.cbQ,hcLight:b.cbQ},p.NC("editorSuggestWidgetSelectedIconForeground","Icon foreground color of the selected entry in the suggest widget."));let N=(0,b.P6G)("editorSuggestWidget.selectedBackground",{dark:b.Vqd,light:b.Vqd,hcDark:b.Vqd,hcLight:b.Vqd},p.NC("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget."));(0,b.P6G)("editorSuggestWidget.highlightForeground",{dark:b.Gwp,light:b.Gwp,hcDark:b.Gwp,hcLight:b.Gwp},p.NC("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),(0,b.P6G)("editorSuggestWidget.focusHighlightForeground",{dark:b.PX0,light:b.PX0,hcDark:b.PX0,hcLight:b.PX0},p.NC("editorSuggestWidgetFocusHighlightForeground","Color of the match highlights in the suggest widget when an item is focused.")),(0,b.P6G)("editorSuggestWidgetStatus.foreground",{dark:(0,b.ZnX)(T,.5),light:(0,b.ZnX)(T,.5),hcDark:(0,b.ZnX)(T,.5),hcLight:(0,b.ZnX)(T,.5)},p.NC("editorSuggestWidgetStatusForeground","Foreground color of the suggest widget status."));class D{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof u.H}`}restore(){var e;let t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{let e=JSON.parse(t);if(o.Ro.is(e))return o.Ro.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let I=n=class{constructor(e,t,i,n,a){let c;this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._pendingLayout=new d.XK,this._pendingShowDetails=new d.XK,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new s._F,this._disposables=new d.SL,this._onDidSelect=new l.K3,this._onDidFocus=new l.K3,this._onDidHide=new l.Q5,this._onDidShow=new l.Q5,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new l.Q5,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new w.f,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new E(this,e),this._persistedSize=new D(t,e);class u{constructor(e,t,i=!1,n=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=i,this.persistWidth=n}}this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),c=new u(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t,i,n,r;if(this._resize(e.dimension.width,e.dimension.height),c&&(c.persistHeight=c.persistHeight||!!e.north||!!e.south,c.persistWidth=c.persistWidth||!!e.east||!!e.west),e.done){if(c){let{itemHeight:e,defaultSize:s}=this.getLayoutInfo(),a=Math.round(e/2),{width:l,height:d}=this.element.size;(!c.persistHeight||Math.abs(c.currentSize.height-d)<=a)&&(d=null!==(i=null===(t=c.persistedSize)||void 0===t?void 0:t.height)&&void 0!==i?i:s.height),(!c.persistWidth||Math.abs(c.currentSize.width-l)<=a)&&(l=null!==(r=null===(n=c.persistedSize)||void 0===n?void 0:n.width)&&void 0!==r?r:s.width),this._persistedSize.store(new o.Ro(l,d))}this._contentWidget.unlockPreference(),c=void 0}})),this._messageElement=o.R3(this.element.domNode,o.$(".message")),this._listElement=o.R3(this.element.domNode,o.$(".tree"));let m=this._disposables.add(a.createInstance(S.Re,this.editor));m.onDidClose(this.toggleDetails,this,this._disposables),this._details=new S.mh(m,this.editor);let f=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(118).showIcons);f();let _=a.createInstance(x.z,this.editor);this._disposables.add(_),this._disposables.add(_.onDidToggleDetails(()=>this.toggleDetails())),this._list=new r.aV("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[_],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>p.NC("suggest","Suggest"),getWidgetRole:()=>"listbox",getAriaLabel:e=>{let t=e.textLabel;if("string"!=typeof e.completion.label){let{detail:i,description:n}=e.completion.label;i&&n?t=p.NC("label.full","{0} {1}, {2}",t,i,n):i?t=p.NC("label.detail","{0} {1}",t,i):n&&(t=p.NC("label.desc","{0}, {1}",t,n))}if(!e.isResolved||!this._isDetailsVisible())return t;let{documentation:i,detail:n}=e.completion,o=h.WU("{0}{1}",n||"",i?"string"==typeof i?i:i.value:"");return p.NC("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,o)}}}),this._list.style((0,z.TU)({listInactiveFocusBackground:N,listInactiveFocusOutline:b.xL1})),this._status=a.createInstance(g.I,this.element.domNode,k.GI);let v=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(118).showStatusBar);v(),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(118)&&(v(),f()),this._completionModel&&(e.hasChanged(50)||e.hasChanged(119)||e.hasChanged(120))&&this._list.splice(0,this._list.length,this._completionModel.items)})),this._ctxSuggestWidgetVisible=k._y.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=k._y.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=k._y.MultipleSuggestions.bindTo(i),this._ctxSuggestWidgetHasFocusedSuggestion=k._y.HasFocusedSuggestion.bindTo(i),this._disposables.add(o.mu(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){let i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=(0,v.c3)(e.type)?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);let i=e.elements[0],n=e.indexes[0];i!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=i,this._list.reveal(n),this._currentSuggestionDetails=(0,s.PG)(async e=>{let t=(0,s.Vg)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),n=e.onCancellationRequested(()=>t.dispose());try{return await i.resolve(e)}finally{t.dispose(),n.dispose()}}),this._currentSuggestionDetails.then(()=>{!(n>=this._list.length)&&i===this._list.element(n)&&(this._ignoreFocusEvents=!0,this._list.splice(n,1,[i]),this._list.setFocus([n]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,x.i)(n)}))}).catch(a.dL)),this._onDidFocus.fire({item:i,index:n,model:this._completionModel})}_setState(e){if(this._state!==e)switch(this._state=e,this.element.domNode.classList.toggle("frozen",4===e),this.element.domNode.classList.remove("message"),e){case 0:o.Cp(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=n.LOADING_MESSAGE,o.Cp(this._listElement,this._status.element),o.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,C.i7)(n.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=n.NO_SUGGESTIONS_MESSAGE,o.Cp(this._listElement,this._status.element),o.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,C.i7)(n.NO_SUGGESTIONS_MESSAGE);break;case 3:case 4:o.Cp(this._messageElement),o.$Z(this._listElement,this._status.element),this._show();break;case 5:o.Cp(this._messageElement),o.$Z(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,!this._isAuto&&(this._loadingTimeout=(0,s.Vg)(()=>this._setState(1),t)))}showSuggestions(e,t,i,n,r){var s,a;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(s=this._loadingTimeout)||void 0===s||s.dispose(),null===(a=this._currentSuggestionDetails)||void 0===a||a.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state){this._setState(4);return}let l=this._completionModel.items.length;if(this._ctxSuggestWidgetMultipleSuggestions.set(l>1),0===l){this._setState(n?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(i?4:3),this._list.reveal(t,0),this._list.setFocus(r?[]:[t])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=o.lI(o.Jj(this.element.domNode),()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,S.nJ)(this._list.getFocusedElements()[0])||this._explainMode)&&(3===this._state||5===this._state||4===this._state)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._pendingShowDetails.value=o.lI(o.Jj(this.element.domNode),()=>{this._pendingShowDetails.clear(),this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._details.widget.isEmpty?this._details.hide():(this._positionDetails(),this.element.domNode.classList.add("shows-details")),this.editor.focus()})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;this._pendingLayout.clear(),this._pendingShowDetails.clear(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();let t=this._persistedSize.restore(),i=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.height<i&&this._persistedSize.store(t.with(void 0,i))}isFrozen(){return 4===this._state}_afterRender(e){if(null===e){this._isDetailsVisible()&&this._details.hide();return}2!==this._state&&1!==this._state&&(this._isDetailsVisible()&&!this._details.widget.isEmpty&&this._details.show(),this._positionDetails())}_layout(e){var t,i,n;if(!this.editor.hasModel()||!this.editor.getDomNode())return;let r=o.D6(this.element.domNode.ownerDocument.body),s=this.getLayoutInfo();!e&&(e=s.defaultSize);let a=e.height,l=e.width;if(this._status.element.style.height=`${s.itemHeight}px`,2===this._state||1===this._state)a=s.itemHeight+s.borderHeight,l=s.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new o.Ro(l,a),this._contentWidget.setPreference(2);else{let d=r.width-s.borderHeight-2*s.horizontalPadding;l>d&&(l=d);let c=this._completionModel?this._completionModel.stats.pLabelLen*s.typicalHalfwidthCharacterWidth:l,h=s.statusBarHeight+this._list.contentHeight+s.borderHeight,u=s.itemHeight+s.statusBarHeight,g=o.i(this.editor.getDomNode()),p=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),m=g.top+p.top+p.height,f=Math.min(r.height-m-s.verticalPadding,h),_=g.top+p.top-s.verticalPadding,b=Math.min(_,h),v=Math.min(Math.max(b,f)+s.borderHeight,h);a===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(a=this._cappedHeight.wanted),a<u&&(a=u),a>v&&(a=v);a>f||this._forceRenderingAbove&&_>150?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),v=b):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),v=f),this.element.preferredSize=new o.Ro(c,s.defaultSize.height),this.element.maxSize=new o.Ro(d,v),this.element.minSize=new o.Ro(220,u),this._cappedHeight=a===h?{wanted:null!==(n=null===(i=this._cappedHeight)||void 0===i?void 0:i.wanted)&&void 0!==n?n:e.height,capped:a}:void 0}this._resize(l,a)}_resize(e,t){let{width:i,height:n}=this.element.maxSize;e=Math.min(i,e),t=Math.min(n,t);let{statusBarHeight:o}=this.getLayoutInfo();this._list.layout(t-o,e),this._listElement.style.height=`${t-o}px`,this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,(null===(e=this._contentWidget.getPosition())||void 0===e?void 0:e.preference[0])===2)}getLayoutInfo(){let e=this.editor.getOption(50),t=(0,c.uZ)(this.editor.getOption(120)||e.lineHeight,8,1e3),i=this.editor.getOption(118).showStatusBar&&2!==this._state&&1!==this._state?t:0,n=this._details.widget.borderWidth,r=2*n;return{itemHeight:t,statusBarHeight:i,borderWidth:n,borderHeight:r,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new o.Ro(430,i+12*t+r)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}forceRenderingAbove(){!this._forceRenderingAbove&&(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};I.LOADING_MESSAGE=p.NC("suggestWidget.loading","Loading..."),I.NO_SUGGESTIONS_MESSAGE=p.NC("suggestWidget.noSuggestions","No suggestions."),I=n=function(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}([L(1,_.Uy),L(2,m.i6),L(3,y.XE),L(4,f.TG)],I);class E{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,!this._added&&(this._added=!0,this._editor.addContentWidget(this))}hide(){!this._hidden&&(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){let{height:e,width:t}=this._widget.element.size,{borderWidth:i,horizontalPadding:n}=this._widget.getLayoutInfo();return new o.Ro(t+2*i+n,e+2*i)}afterRender(e){this._widget._afterRender(e)}setPreference(e){!this._preferenceLocked&&(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}},76953:function(e,t,i){"use strict";i.d(t,{I:function(){return f}});var n=i("55952"),o=i("475"),r=i("52640"),s=i("26906"),a=i("37764"),l=i("79221");i("86061");var d=i("83112"),c=i("84144");let h=new r.Il(new r.VS(0,122,204)),u={showArrow:!0,showFrame:!0,className:"",frameColor:h,arrowColor:h,keepEditorSelection:!1};class g{constructor(e,t,i,n,o,r,s,a){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=s,this.ordinal=a,this._onDomNodeTop=o,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class p{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class m{constructor(e){this._editor=e,this._ruleName=m._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),n.uN(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){n.uN(this._ruleName),n.fk(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px !important; margin-left: -${this._height}px; `)}show(e){1===e.column&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:d.e.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}m._IdGenerator=new s.R(".arrow-decoration-");class f{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new a.SL,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=l.I8(t),l.jB(this.options,u,!1),this.domNode=document.createElement("div"),!this.options.isAccessible&&(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{let t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new m(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;let i=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(i))}null===(t=this._resizeSash)||void 0===t||t.layout()}get position(){let e=this._positionMarkerId.getRange(0);if(e)return e.getStartPosition()}show(e,t){let i=d.e.isIRange(e)?d.e.lift(e):d.e.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:c.qx.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),null===(e=this._arrow)||void 0===e||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){let e=this.editor.getOption(67),t=0;return this.options.showArrow&&(t+=2*Math.round(e/3)),this.options.showFrame&&(t+=2*Math.round(e/9)),t}_showImpl(e,t){let i=e.getStartPosition(),n=this.editor.getLayoutInfo(),o=this._getWidth(n);this.domNode.style.width=`${o}px`,this.domNode.style.left=this._getLeft(n)+"px";let r=document.createElement("div");r.style.overflow="hidden";let s=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){let e=Math.max(12,this.editor.getLayoutInfo().height/s*.8);t=Math.min(t,e)}let a=0,l=0;if(this._arrow&&this.options.showArrow&&(a=Math.round(s/3),this._arrow.height=a,this._arrow.show(i)),this.options.showFrame&&(l=Math.round(s/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new g(r,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new p("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){let e=this.options.frameWidth?this.options.frameWidth:l;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let c=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=a+"px",this.container.style.height=c+"px",this.container.style.overflow="hidden"),this._doLayout(c,o),!this.options.keepEditorSelection&&this.editor.setSelection(e);let h=this.editor.getModel();if(h){let t=h.validateRange(new d.e(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(t,t.startLineNumber===h.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){let e;!this._resizeSash&&(this._resizeSash=this._disposables.add(new o.g(this.domNode,this,{orientation:1})),!this.options.isResizeable&&(this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let i=(t.currentY-e.startY)/this.editor.getOption(67),n=e.heightInLines+(i<0?Math.ceil(i):Math.floor(i));n>5&&n<35&&this._relayout(n)}})))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){let e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}},10244:function(e,t,i){"use strict";let n,o;var r=i("76761"),s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,c=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of l(t))!d.call(e,o)&&o!==i&&s(e,o,{get:()=>t[o],enumerable:!(n=a(t,o))||n.enumerable});return e},h={};c(h,n=r,"default"),o&&c(o,n,"default");var u=class{constructor(e,t,i){this._onDidChange=new h.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},g={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},p={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},m=new u("css",g,p),f=new u("scss",g,p),_=new u("less",g,p);function b(){return Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,"38797"))}h.languages.css={cssDefaults:m,lessDefaults:_,scssDefaults:f},h.languages.onLanguage("less",()=>{b().then(e=>e.setupMode(_))}),h.languages.onLanguage("scss",()=>{b().then(e=>e.setupMode(f))}),h.languages.onLanguage("css",()=>{b().then(e=>e.setupMode(m))})},19309:function(e,t,i){"use strict";i.d(t,{v:function(){return n},x:function(){return o}});let n=(0,i("95449").yh)("openerService");function o(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},91346:function(e,t,i){"use strict";i.d(t,{AW:function(){return B},BQ:function(){return O},C3:function(){return v},EP:function(){return f},ES:function(){return R},Fg:function(){return x},GO:function(){return D},GY:function(){return I},K1:function(){return W},OZ:function(){return k},PR:function(){return h},Pv:function(){return g},RV:function(){return _},SU:function(){return P},XE:function(){return u},XV:function(){return S},YI:function(){return m},_g:function(){return z},_l:function(){return p},_t:function(){return w},a9:function(){return C},b7:function(){return N},dt:function(){return c},iF:function(){return T},j5:function(){return L},lW:function(){return H},nd:function(){return A},oQ:function(){return F},p:function(){return y},qB:function(){return E},sE:function(){return l},tk:function(){return b},xE:function(){return M},zJ:function(){return d}});var n=i("94479"),o=i("52640"),r=i("19957"),s=i("45570"),a=i("55475");let l=(0,r.P6)("input.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},n.NC("inputBoxBackground","Input box background.")),d=(0,r.P6)("input.foreground",{dark:s.dR,light:s.dR,hcDark:s.dR,hcLight:s.dR},n.NC("inputBoxForeground","Input box foreground.")),c=(0,r.P6)("input.border",{dark:null,light:null,hcDark:s.lR,hcLight:s.lR},n.NC("inputBoxBorder","Input box border.")),h=(0,r.P6)("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:s.lR,hcLight:s.lR},n.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));(0,r.P6)("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},n.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let u=(0,r.P6)("inputOption.activeBackground",{dark:(0,r.Zn)(s.R8,.4),light:(0,r.Zn)(s.R8,.2),hcDark:o.Il.transparent,hcLight:o.Il.transparent},n.NC("inputOption.activeBackground","Background hover color of options in input fields.")),g=(0,r.P6)("inputOption.activeForeground",{dark:o.Il.white,light:o.Il.black,hcDark:s.dR,hcLight:s.dR},n.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));(0,r.P6)("input.placeholderForeground",{light:(0,r.Zn)(s.dR,.5),dark:(0,r.Zn)(s.dR,.5),hcDark:(0,r.Zn)(s.dR,.7),hcLight:(0,r.Zn)(s.dR,.7)},n.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let p=(0,r.P6)("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:o.Il.black,hcLight:o.Il.white},n.NC("inputValidationInfoBackground","Input validation background color for information severity.")),m=(0,r.P6)("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:s.dR},n.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),f=(0,r.P6)("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:s.lR,hcLight:s.lR},n.NC("inputValidationInfoBorder","Input validation border color for information severity.")),_=(0,r.P6)("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:o.Il.black,hcLight:o.Il.white},n.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),b=(0,r.P6)("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:s.dR},n.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),v=(0,r.P6)("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:s.lR,hcLight:s.lR},n.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),y=(0,r.P6)("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:o.Il.black,hcLight:o.Il.white},n.NC("inputValidationErrorBackground","Input validation background color for error severity.")),w=(0,r.P6)("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:s.dR},n.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),k=(0,r.P6)("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:s.lR,hcLight:s.lR},n.NC("inputValidationErrorBorder","Input validation border color for error severity.")),S=(0,r.P6)("dropdown.background",{dark:"#3C3C3C",light:o.Il.white,hcDark:o.Il.black,hcLight:o.Il.white},n.NC("dropdownBackground","Dropdown background.")),x=(0,r.P6)("dropdown.listBackground",{dark:null,light:null,hcDark:o.Il.black,hcLight:o.Il.white},n.NC("dropdownListBackground","Dropdown list background.")),z=(0,r.P6)("dropdown.foreground",{dark:"#F0F0F0",light:s.dR,hcDark:o.Il.white,hcLight:s.dR},n.NC("dropdownForeground","Dropdown foreground.")),C=(0,r.P6)("dropdown.border",{dark:S,light:"#CECECE",hcDark:s.lR,hcLight:s.lR},n.NC("dropdownBorder","Dropdown border.")),L=(0,r.P6)("button.foreground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:o.Il.white},n.NC("buttonForeground","Button foreground color.")),T=(0,r.P6)("button.separator",{dark:(0,r.Zn)(L,.4),light:(0,r.Zn)(L,.4),hcDark:(0,r.Zn)(L,.4),hcLight:(0,r.Zn)(L,.4)},n.NC("buttonSeparator","Button separator color.")),N=(0,r.P6)("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},n.NC("buttonBackground","Button background color.")),D=(0,r.P6)("button.hoverBackground",{dark:(0,r.$n)(N,.2),light:(0,r._j)(N,.2),hcDark:N,hcLight:N},n.NC("buttonHoverBackground","Button background color when hovering.")),I=(0,r.P6)("button.border",{dark:s.lR,light:s.lR,hcDark:s.lR,hcLight:s.lR},n.NC("buttonBorder","Button border color.")),E=(0,r.P6)("button.secondaryForeground",{dark:o.Il.white,light:o.Il.white,hcDark:o.Il.white,hcLight:s.dR},n.NC("buttonSecondaryForeground","Secondary button foreground color.")),R=(0,r.P6)("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:o.Il.white},n.NC("buttonSecondaryBackground","Secondary button background color.")),M=(0,r.P6)("button.secondaryHoverBackground",{dark:(0,r.$n)(R,.2),light:(0,r._j)(R,.2),hcDark:null,hcLight:null},n.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),P=(0,r.P6)("checkbox.background",{dark:S,light:S,hcDark:S,hcLight:S},n.NC("checkbox.background","Background color of checkbox widget."));(0,r.P6)("checkbox.selectBackground",{dark:a.D0,light:a.D0,hcDark:a.D0,hcLight:a.D0},n.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected."));let O=(0,r.P6)("checkbox.foreground",{dark:z,light:z,hcDark:z,hcLight:z},n.NC("checkbox.foreground","Foreground color of checkbox widget.")),A=(0,r.P6)("checkbox.border",{dark:C,light:C,hcDark:C,hcLight:C},n.NC("checkbox.border","Border color of checkbox widget."));(0,r.P6)("checkbox.selectBorder",{dark:s.XZ,light:s.XZ,hcDark:s.XZ,hcLight:s.XZ},n.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected."));let F=(0,r.P6)("keybindingLabel.background",{dark:new o.Il(new o.VS(128,128,128,.17)),light:new o.Il(new o.VS(221,221,221,.4)),hcDark:o.Il.transparent,hcLight:o.Il.transparent},n.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),H=(0,r.P6)("keybindingLabel.foreground",{dark:o.Il.fromHex("#CCCCCC"),light:o.Il.fromHex("#555555"),hcDark:o.Il.white,hcLight:s.dR},n.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),B=(0,r.P6)("keybindingLabel.border",{dark:new o.Il(new o.VS(51,51,51,.6)),light:new o.Il(new o.VS(204,204,204,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:s.lR},n.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),W=(0,r.P6)("keybindingLabel.bottomBorder",{dark:new o.Il(new o.VS(68,68,68,.6)),light:new o.Il(new o.VS(187,187,187,.4)),hcDark:new o.Il(new o.VS(111,195,223)),hcLight:s.dR},n.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."))}}]);
|