@dao42/d42paas-front 0.5.12 → 0.5.13
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/DaoPaaS.es.js +7 -7
- package/dist/DaoPaaS.umd.js +2 -2
- package/dist/assets/{css.worker.c7360edc.js → css.worker.3f6f852c.js} +1 -1
- package/dist/assets/editor.worker.4f81245c.js +4 -0
- package/dist/assets/{html.worker.cd2f0a88.js → html.worker.912a815c.js} +1 -1
- package/dist/assets/{json.worker.a14aa64b.js → json.worker.ee1e3ae5.js} +1 -1
- package/dist/assets/{ts.worker.8be82c74.js → ts.worker.6bdd1133.js} +2 -2
- package/package.json +1 -1
- package/dist/assets/editor.worker.0035db53.js +0 -4
package/dist/DaoPaaS.umd.js
CHANGED
|
@@ -334,7 +334,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
334
334
|
- Values between 0 and 8 will be used as a multiplier with the font size.
|
|
335
335
|
- Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,n){return e.fontInfo.lineHeight}}class tet extends ta{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(64,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:V("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[V("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),V("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),V("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:V("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:V("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:V("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:V("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:V("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:V("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Si(t.enabled,this.defaultValue.enabled),size:au(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:au(t.side,this.defaultValue.side,["right","left"]),showSlider:au(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:Si(t.renderCharacters,this.defaultValue.renderCharacters),scale:us.clampedInt(t.scale,1,1,3),maxColumn:us.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function iet(i){return i==="ctrlCmd"?vn?"metaKey":"ctrlKey":"altKey"}class net extends ta{constructor(){super(74,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:us.clampedInt(t.top,0,0,1e3),bottom:us.clampedInt(t.bottom,0,0,1e3)}}}class ret extends ta{constructor(){const e={enabled:!0,cycle:!1};super(75,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:V("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:V("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Si(t.enabled,this.defaultValue.enabled),cycle:Si(t.cycle,this.defaultValue.cycle)}}}class set extends eE{constructor(){super(128)}compute(e,t,n){return e.pixelRatio}}class oet extends ta{constructor(){const e={other:!0,comments:!1,strings:!1};super(78,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:V("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:V("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:V("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:V("quickSuggestions","Controls whether suggestions should automatically show up while typing.")});this.defaultValue=e}validate(e){if(typeof e=="boolean")return e;if(e&&typeof e=="object"){const t=e,n={other:Si(t.other,this.defaultValue.other),comments:Si(t.comments,this.defaultValue.comments),strings:Si(t.strings,this.defaultValue.strings)};return n.other&&n.comments&&n.strings?!0:!n.other&&!n.comments&&!n.strings?!1:n}return this.defaultValue}}class aet extends ta{constructor(){super(59,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[V("lineNumbers.off","Line numbers are not rendered."),V("lineNumbers.on","Line numbers are rendered as absolute number."),V("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),V("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:V("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return typeof e!="undefined"&&(typeof e=="function"?(t=4,n=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:n}}}function Sz(i){const e=i.get(86);return e==="editable"?i.get(80):e!=="on"}class cet extends ta{constructor(){const e=[],t={type:"number",description:V("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(90,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:V("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:V("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let n of e)if(typeof n=="number")t.push({column:us.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n=="object"){const r=n;t.push({column:us.clampedInt(r.column,0,0,1e4),color:r.color})}return t.sort((n,r)=>n.column-r.column),t}return this.defaultValue}}function ppe(i,e){if(typeof i!="string")return e;switch(i){case"hidden":return 2;case"visible":return 3;default:return 1}}class uet extends ta{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(91,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),V("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),V("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),V("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),V("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:V("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:V("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:V("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,n=us.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),r=us.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:us.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:ppe(t.vertical,this.defaultValue.vertical),horizontal:ppe(t.horizontal,this.defaultValue.horizontal),useShadows:Si(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:Si(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:Si(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:Si(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:Si(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:us.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:r,verticalSliderSize:us.clampedInt(t.verticalSliderSize,r,0,1e3),scrollByPage:Si(t.scrollByPage,this.defaultValue.scrollByPage)}}}const Up="inUntrustedWorkspace",Wp={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments"};class det extends ta{constructor(){const e={nonBasicASCII:Up,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Up,allowedCharacters:{}};super(112,"unicodeHighlight",e,{[Wp.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Up],default:e.nonBasicASCII,description:V("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[Wp.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:V("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[Wp.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:V("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[Wp.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Up],default:e.includeComments,description:V("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to unicode highlighting.")},[Wp.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:V("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}}})}applyUpdate(e,t){let n=!1;t.allowedCharacters&&(ff(e.allowedCharacters,t.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:t.allowedCharacters}),n=!0));const r=super.applyUpdate(e,t);return n?new Uk(r.newValue,!0):r}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{nonBasicASCII:r5(t.nonBasicASCII,Up,[!0,!1,Up]),invisibleCharacters:Si(t.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:Si(t.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:r5(t.includeComments,Up,[!0,!1,Up]),allowedCharacters:this.validateAllowedCharacters(e.allowedCharacters,this.defaultValue.allowedCharacters)}}validateAllowedCharacters(e,t){if(typeof e!="object"||!e)return t;const n={};for(const[r,s]of Object.entries(e))s===!0&&(n[r]=!0);return n}}class het extends ta{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(54,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:V("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:Si(t.enabled,this.defaultValue.enabled),mode:au(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}class fet extends ta{constructor(){const e={enabled:tc.bracketPairColorizationOptions.enabled};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,description:V("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:Si(e.enabled,this.defaultValue.enabled)}}}class get extends ta{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairs.true","Enables bracket pair guides."),V("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),V("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:V("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),V("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),V("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:V("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:V("editor.guides.highlightActiveBracketPair","Controls whether bracket pair guides are enabled or not.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:V("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:"boolean",default:e.highlightActiveIndentation,description:V("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:r5(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:r5(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:Si(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:Si(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:Si(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation)}}}function r5(i,e,t){const n=t.indexOf(i);return n===-1?e:t[n]}class pet extends ta{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(105,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[V("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),V("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:V("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:V("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:V("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:V("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:V("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:V("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:V("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:V("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:V("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:V("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:V("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:au(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:Si(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:Si(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:Si(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:Si(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:Si(t.showIcons,this.defaultValue.showIcons),showStatusBar:Si(t.showStatusBar,this.defaultValue.showStatusBar),preview:Si(t.preview,this.defaultValue.preview),previewMode:au(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:Si(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:Si(t.showMethods,this.defaultValue.showMethods),showFunctions:Si(t.showFunctions,this.defaultValue.showFunctions),showConstructors:Si(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:Si(t.showDeprecated,this.defaultValue.showDeprecated),showFields:Si(t.showFields,this.defaultValue.showFields),showVariables:Si(t.showVariables,this.defaultValue.showVariables),showClasses:Si(t.showClasses,this.defaultValue.showClasses),showStructs:Si(t.showStructs,this.defaultValue.showStructs),showInterfaces:Si(t.showInterfaces,this.defaultValue.showInterfaces),showModules:Si(t.showModules,this.defaultValue.showModules),showProperties:Si(t.showProperties,this.defaultValue.showProperties),showEvents:Si(t.showEvents,this.defaultValue.showEvents),showOperators:Si(t.showOperators,this.defaultValue.showOperators),showUnits:Si(t.showUnits,this.defaultValue.showUnits),showValues:Si(t.showValues,this.defaultValue.showValues),showConstants:Si(t.showConstants,this.defaultValue.showConstants),showEnums:Si(t.showEnums,this.defaultValue.showEnums),showEnumMembers:Si(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:Si(t.showKeywords,this.defaultValue.showKeywords),showWords:Si(t.showWords,this.defaultValue.showWords),showColors:Si(t.showColors,this.defaultValue.showColors),showFiles:Si(t.showFiles,this.defaultValue.showFiles),showReferences:Si(t.showReferences,this.defaultValue.showReferences),showFolders:Si(t.showFolders,this.defaultValue.showFolders),showTypeParameters:Si(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:Si(t.showSnippets,this.defaultValue.showSnippets),showUsers:Si(t.showUsers,this.defaultValue.showUsers),showIssues:Si(t.showIssues,this.defaultValue.showIssues)}}}class met extends ta{constructor(){super(101,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:V("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:Si(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class _et extends eE{constructor(){super(129,[80])}compute(e,t,n){return t.get(80)?!0:e.tabFocusMode}}function vet(i){switch(i){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}class Cet extends eE{constructor(){super(131,[130])}compute(e,t,n){const r=t.get(130);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:r.isWordWrapMinified,isViewportWrapping:r.isViewportWrapping,wrappingColumn:r.wrappingColumn}}}const Dl={fontFamily:vn?"Menlo, Monaco, 'Courier New', monospace":xc?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:vn?12:14,lineHeight:0,letterSpacing:0},tc={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}},Ly=[];function It(i){return Ly[i.id]=i,i}const lg={acceptSuggestionOnCommitCharacter:It(new Tn(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:V("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:It(new jo(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",V("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:V("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:It(new HZe),accessibilityPageSize:It(new us(3,"accessibilityPageSize",10,1,1073741824,{description:V("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:It(new Pu(4,"ariaLabel",V("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:It(new jo(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),V("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:V("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:It(new jo(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:It(new jo(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:It(new jo(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),V("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:V("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:It(new Wk(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],WZe,{enumDescriptions:[V("editor.autoIndent.none","The editor will not insert indentation automatically."),V("editor.autoIndent.keep","The editor will keep the current line's indentation."),V("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),V("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),V("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:V("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:It(new Tn(10,"automaticLayout",!1)),autoSurround:It(new jo(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[V("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),V("editor.autoSurround.quotes","Surround with quotes but not brackets."),V("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:V("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:It(new fet),bracketPairGuides:It(new get),stickyTabStops:It(new Tn(103,"stickyTabStops",!1,{description:V("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:It(new Tn(14,"codeLens",!0,{description:V("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:It(new Pu(15,"codeLensFontFamily","",{description:V("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:It(new us(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:V("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, 90% of `#editor.fontSize#` is used.")})),colorDecorators:It(new Tn(17,"colorDecorators",!0,{description:V("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:It(new Tn(18,"columnSelection",!1,{description:V("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:It(new VZe),contextmenu:It(new Tn(20,"contextmenu",!0)),copyWithSyntaxHighlighting:It(new Tn(21,"copyWithSyntaxHighlighting",!0,{description:V("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:It(new Wk(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],jZe,{description:V("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:It(new Tn(23,"cursorSmoothCaretAnimation",!1,{description:V("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:It(new Wk(24,"cursorStyle",Fa.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],$Ze,{description:V("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:It(new us(25,"cursorSurroundingLines",0,0,1073741824,{description:V("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:It(new jo(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[V("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),V("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:V("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:It(new us(27,"cursorWidth",0,0,1073741824,{markdownDescription:V("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:It(new Tn(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:It(new Tn(29,"disableMonospaceOptimizations",!1)),domReadOnly:It(new Tn(30,"domReadOnly",!1)),dragAndDrop:It(new Tn(31,"dragAndDrop",!0,{description:V("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:It(new KZe),extraEditorClassName:It(new Pu(33,"extraEditorClassName","")),fastScrollSensitivity:It(new Bp(34,"fastScrollSensitivity",5,i=>i<=0?5:i,{markdownDescription:V("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:It(new GZe),fixedOverflowWidgets:It(new Tn(36,"fixedOverflowWidgets",!1)),folding:It(new Tn(37,"folding",!0,{description:V("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:It(new jo(38,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[V("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),V("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:V("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:It(new Tn(39,"foldingHighlight",!0,{description:V("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:It(new Tn(40,"foldingImportsByDefault",!1,{description:V("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),unfoldOnClickAfterEndOfLine:It(new Tn(41,"unfoldOnClickAfterEndOfLine",!1,{description:V("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:It(new Pu(42,"fontFamily",Dl.fontFamily,{description:V("fontFamily","Controls the font family.")})),fontInfo:It(new QZe),fontLigatures2:It(new Id),fontSize:It(new qZe),fontWeight:It(new Fp),formatOnPaste:It(new Tn(47,"formatOnPaste",!1,{description:V("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:It(new Tn(48,"formatOnType",!1,{description:V("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:It(new Tn(49,"glyphMargin",!0,{description:V("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:It(new YZe),hideCursorInOverviewRuler:It(new Tn(51,"hideCursorInOverviewRuler",!1,{description:V("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:It(new XZe),inDiffEditor:It(new Tn(53,"inDiffEditor",!1)),letterSpacing:It(new Bp(55,"letterSpacing",Dl.letterSpacing,i=>Bp.clamp(i,-5,20),{description:V("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:It(new JZe),lineDecorationsWidth:It(new ky(57,"lineDecorationsWidth",10)),lineHeight:It(new eet),lineNumbers:It(new aet),lineNumbersMinChars:It(new us(60,"lineNumbersMinChars",5,1,300)),linkedEditing:It(new Tn(61,"linkedEditing",!1,{description:V("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:It(new Tn(62,"links",!0,{description:V("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:It(new jo(63,"matchBrackets","always",["always","near","never"],{description:V("matchBrackets","Highlight matching brackets.")})),minimap:It(new tet),mouseStyle:It(new jo(65,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:It(new Bp(66,"mouseWheelScrollSensitivity",1,i=>i===0?1:i,{markdownDescription:V("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:It(new Tn(67,"mouseWheelZoom",!1,{markdownDescription:V("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:It(new Tn(68,"multiCursorMergeOverlapping",!0,{description:V("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:It(new Wk(69,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],iet,{markdownEnumDescriptions:[V("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),V("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:V({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:It(new jo(70,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[V("multiCursorPaste.spread","Each cursor pastes a single line of the text."),V("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:V("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:It(new Tn(71,"occurrencesHighlight",!0,{description:V("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:It(new Tn(72,"overviewRulerBorder",!0,{description:V("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:It(new us(73,"overviewRulerLanes",3,0,3)),padding:It(new net),parameterHints:It(new ret),peekWidgetDefaultFocus:It(new jo(76,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[V("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),V("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:V("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:It(new Tn(77,"definitionLinkOpensInPeek",!1,{description:V("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:It(new oet),quickSuggestionsDelay:It(new us(79,"quickSuggestionsDelay",10,0,1073741824,{description:V("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:It(new Tn(80,"readOnly",!1)),renameOnType:It(new Tn(81,"renameOnType",!1,{description:V("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:V("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:It(new Tn(82,"renderControlCharacters",!0,{description:V("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:It(new Tn(83,"renderFinalNewline",!0,{description:V("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:It(new jo(84,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",V("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:V("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:It(new Tn(85,"renderLineHighlightOnlyWhenFocus",!1,{description:V("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:It(new jo(86,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:It(new jo(87,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",V("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),V("renderWhitespace.selection","Render whitespace characters only on selected text."),V("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:V("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:It(new us(88,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:It(new Tn(89,"roundedSelection",!0,{description:V("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:It(new cet),scrollbar:It(new uet),scrollBeyondLastColumn:It(new us(92,"scrollBeyondLastColumn",5,0,1073741824,{description:V("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:It(new Tn(93,"scrollBeyondLastLine",!0,{description:V("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:It(new Tn(94,"scrollPredominantAxis",!0,{description:V("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:It(new Tn(95,"selectionClipboard",!0,{description:V("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:xc})),selectionHighlight:It(new Tn(96,"selectionHighlight",!0,{description:V("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:It(new Tn(97,"selectOnLineNumbers",!0)),showFoldingControls:It(new jo(98,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[V("showFoldingControls.always","Always show the folding controls."),V("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:V("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:It(new Tn(99,"showUnused",!0,{description:V("showUnused","Controls fading out of unused code.")})),showDeprecated:It(new Tn(125,"showDeprecated",!0,{description:V("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:It(new ZZe),snippetSuggestions:It(new jo(100,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[V("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),V("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),V("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),V("snippetSuggestions.none","Do not show snippet suggestions.")],description:V("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:It(new met),smoothScrolling:It(new Tn(102,"smoothScrolling",!1,{description:V("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:It(new us(104,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:It(new pet),inlineSuggest:It(new het),suggestFontSize:It(new us(106,"suggestFontSize",0,0,1e3,{markdownDescription:V("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:It(new us(107,"suggestLineHeight",0,0,1e3,{markdownDescription:V("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:It(new Tn(108,"suggestOnTriggerCharacters",!0,{description:V("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:It(new jo(109,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[V("suggestSelection.first","Always select the first suggestion."),V("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),V("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:V("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:It(new jo(110,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[V("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),V("tabCompletion.off","Disable tab completions."),V("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:V("tabCompletion","Enables tab completions.")})),tabIndex:It(new us(111,"tabIndex",0,-1,1073741824)),unicodeHighlight:It(new det),unusualLineTerminators:It(new jo(113,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[V("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),V("unusualLineTerminators.off","Unusual line terminators are ignored."),V("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:V("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:It(new Tn(114,"useShadowDOM",!0)),useTabStops:It(new Tn(115,"useTabStops",!0,{description:V("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:It(new Pu(116,"wordSeparators",tpe,{description:V("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:It(new jo(117,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[V("wordWrap.off","Lines will never wrap."),V("wordWrap.on","Lines will wrap at the viewport width."),V({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),V({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:V({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:It(new Pu(118,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:It(new Pu(119,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:It(new us(120,"wordWrapColumn",80,1,1073741824,{markdownDescription:V({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:It(new jo(121,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:It(new jo(122,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:It(new Wk(123,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],vet,{enumDescriptions:[V("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),V("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),V("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),V("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:V("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:It(new jo(124,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[V("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),V("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:V("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:It(new zZe),pixelRatio:It(new set),tabFocusMode:It(new _et),layoutInfo:It(new tE),wrappingInfo:It(new Cet)};class yet{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?new Error(e.message+`
|
|
336
336
|
|
|
337
|
-
`+e.stack):e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const mpe=new yet;function Wi(i){Hp(i)||mpe.onUnexpectedError(i)}function il(i){Hp(i)||mpe.onUnexpectedExternalError(i)}function _pe(i){if(i instanceof Error){let{name:e,message:t}=i;const n=i.stacktrace||i.stack;return{$isError:!0,name:e,message:t,stack:n}}return i}const wz="Canceled";function Hp(i){return i instanceof Error&&i.name===wz&&i.message===wz}function Ry(){const i=new Error(wz);return i.name=i.message,i}function cg(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}function bet(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}class Aet extends Error{constructor(e){super("NotSupported");e&&(this.message=e)}}function P_(i){const e=this;let t=!1,n;return function(){return t||(t=!0,n=i.apply(e,arguments)),n}}var Pn;(function(i){function e(b){return b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}i.is=e;const t=Object.freeze([]);function n(){return t}i.empty=n;function*r(b){yield b}i.single=r;function s(b){return b||t}i.from=s;function o(b){return!b||b[Symbol.iterator]().next().done===!0}i.isEmpty=o;function a(b){return b[Symbol.iterator]().next().value}i.first=a;function l(b,A){for(const y of b)if(A(y))return!0;return!1}i.some=l;function c(b,A){for(const y of b)if(A(y))return y}i.find=c;function*u(b,A){for(const y of b)A(y)&&(yield y)}i.filter=u;function*d(b,A){let y=0;for(const w of b)yield A(w,y++)}i.map=d;function*h(...b){for(const A of b)for(const y of A)yield y}i.concat=h;function*g(b){for(const A of b)for(const y of A)yield y}i.concatNested=g;function m(b,A,y){let w=y;for(const T of b)w=A(w,T);return w}i.reduce=m;function*v(b,A,y=b.length){for(A<0&&(A+=b.length),y<0?y+=b.length:y>b.length&&(y=b.length);A<y;A++)yield b[A]}i.slice=v;function C(b,A=Number.POSITIVE_INFINITY){const y=[];if(A===0)return[y,b];const w=b[Symbol.iterator]();for(let T=0;T<A;T++){const I=w.next();if(I.done)return[y,i.empty()];y.push(I.value)}return[y,{[Symbol.iterator](){return w}}]}i.consume=C;function S(b,A,y=(w,T)=>w===T){const w=b[Symbol.iterator](),T=A[Symbol.iterator]();for(;;){const I=w.next(),x=T.next();if(I.done!==x.done)return!1;if(I.done)return!0;if(!y(I.value,x.value))return!1}}i.equals=S})(Pn||(Pn={}));function wet(i){return i}function Eet(i,e){}function Iet(i){return i}class Tet extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`);this.errors=e}}function Ez(i){return typeof i.dispose=="function"&&i.dispose.length===0}function Un(i){if(Pn.is(i)){let e=[];for(const t of i)if(t)try{t.dispose()}catch(n){e.push(n)}if(e.length===1)throw e[0];if(e.length>1)throw new Tet(e);return Array.isArray(i)?[]:i}else if(i)return i.dispose(),i}function i1(...i){return An(()=>Un(i))}function An(i){return wet({dispose:P_(()=>{i()})})}class wt{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{Un(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?wt.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}wt.DISABLE_DISPOSED_WARNING=!1;class lt{constructor(){this._store=new wt,Eet(this._store)}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}lt.None=Object.freeze({dispose(){}});class kc{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||((t=this._value)===null||t===void 0||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,(e=this._value)===null||e===void 0||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e}}class xet{constructor(e){this.object=e}dispose(){}}class Vs{constructor(e){this.element=e,this.next=Vs.Undefined,this.prev=Vs.Undefined}}Vs.Undefined=new Vs(void 0);class Td{constructor(){this._first=Vs.Undefined,this._last=Vs.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Vs.Undefined}clear(){let e=this._first;for(;e!==Vs.Undefined;){const t=e.next;e.prev=Vs.Undefined,e.next=Vs.Undefined,e=t}this._first=Vs.Undefined,this._last=Vs.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new Vs(e);if(this._first===Vs.Undefined)this._first=n,this._last=n;else if(t){const s=this._last;this._last=n,n.prev=s,s.next=n}else{const s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==Vs.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Vs.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Vs.Undefined&&e.next!==Vs.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Vs.Undefined&&e.next===Vs.Undefined?(this._first=Vs.Undefined,this._last=Vs.Undefined):e.next===Vs.Undefined?(this._last=this._last.prev,this._last.next=Vs.Undefined):e.prev===Vs.Undefined&&(this._first=this._first.next,this._first.prev=Vs.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Vs.Undefined;)yield e.element,e=e.next}}const Det=cs.performance&&typeof cs.performance.now=="function";class Vp{constructor(e){this._highResolution=Det&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new Vp(e)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?cs.performance.now():Date.now()}}var ai;(function(i){i.None=()=>lt.None;function e(b){return(A,y=null,w)=>{let T=!1,I;return I=b(x=>{if(!T)return I?I.dispose():T=!0,A.call(y,x)},null,w),T&&I.dispose(),I}}i.once=e;function t(b,A){return l((y,w=null,T)=>b(I=>y.call(w,A(I)),null,T))}i.map=t;function n(b,A){return l((y,w=null,T)=>b(I=>{A(I),y.call(w,I)},null,T))}i.forEach=n;function r(b,A){return l((y,w=null,T)=>b(I=>A(I)&&y.call(w,I),null,T))}i.filter=r;function s(b){return b}i.signal=s;function o(...b){return(A,y=null,w)=>i1(...b.map(T=>T(I=>A.call(y,I),null,w)))}i.any=o;function a(b,A,y){let w=y;return t(b,T=>(w=A(w,T),w))}i.reduce=a;function l(b){let A;const y=new Ve({onFirstListenerAdd(){A=b(y.fire,y)},onLastListenerRemove(){A.dispose()}});return y.event}function c(b,A,y=100,w=!1,T){let I,x,D,O=0;const P=new Ve({leakWarningThreshold:T,onFirstListenerAdd(){I=b(N=>{O++,x=A(x,N),w&&!D&&(P.fire(x),x=void 0),clearTimeout(D),D=setTimeout(()=>{const M=x;x=void 0,D=void 0,(!w||O>1)&&P.fire(M),O=0},y)})},onLastListenerRemove(){I.dispose()}});return P.event}i.debounce=c;function u(b,A=(y,w)=>y===w){let y=!0,w;return r(b,T=>{const I=y||!A(T,w);return y=!1,w=T,I})}i.latch=u;function d(b,A){return[i.filter(b,A),i.filter(b,y=>!A(y))]}i.split=d;function h(b,A=!1,y=[]){let w=y.slice(),T=b(D=>{w?w.push(D):x.fire(D)});const I=()=>{w&&w.forEach(D=>x.fire(D)),w=null},x=new Ve({onFirstListenerAdd(){T||(T=b(D=>x.fire(D)))},onFirstListenerDidAdd(){w&&(A?setTimeout(I):I())},onLastListenerRemove(){T&&T.dispose(),T=null}});return x.event}i.buffer=h;class g{constructor(A){this.event=A}map(A){return new g(t(this.event,A))}forEach(A){return new g(n(this.event,A))}filter(A){return new g(r(this.event,A))}reduce(A,y){return new g(a(this.event,A,y))}latch(){return new g(u(this.event))}debounce(A,y=100,w=!1,T){return new g(c(this.event,A,y,w,T))}on(A,y,w){return this.event(A,y,w)}once(A,y,w){return e(this.event)(A,y,w)}}function m(b){return new g(b)}i.chain=m;function v(b,A,y=w=>w){const w=(...D)=>x.fire(y(...D)),T=()=>b.on(A,w),I=()=>b.removeListener(A,w),x=new Ve({onFirstListenerAdd:T,onLastListenerRemove:I});return x.event}i.fromNodeEventEmitter=v;function C(b,A,y=w=>w){const w=(...D)=>x.fire(y(...D)),T=()=>b.addEventListener(A,w),I=()=>b.removeEventListener(A,w),x=new Ve({onFirstListenerAdd:T,onLastListenerRemove:I});return x.event}i.fromDOMEventEmitter=C;function S(b){return new Promise(A=>e(b)(A))}i.toPromise=S})(ai||(ai={}));class s5{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${s5._idPool++}`}start(e){this._stopWatch=new Vp(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}s5._idPool=0;class Ve{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=((t=this._options)===null||t===void 0?void 0:t._profName)?new s5(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,n)=>{var r;this._listeners||(this._listeners=new Td);const s=this._listeners.isEmpty();s&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e);s&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t);const a=(r=this._leakageMon)===null||r===void 0?void 0:r.check(this._listeners.size),l=An(()=>{a&&a(),this._disposed||(o(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return n instanceof wt?n.add(l):Array.isArray(n)&&n.push(l),l}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Td);for(let r of this._listeners)this._deliveryQueue.push([r,e]);for((t=this._perfMon)===null||t===void 0||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[r,s]=this._deliveryQueue.shift();try{typeof r=="function"?r.call(void 0,s):r[0].call(r[1],s)}catch(o){Wi(o)}}(n=this._perfMon)===null||n===void 0||n.stop()}}dispose(){var e,t,n,r,s;this._disposed||(this._disposed=!0,(e=this._listeners)===null||e===void 0||e.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(r=(n=this._options)===null||n===void 0?void 0:n.onLastListenerRemove)===null||r===void 0||r.call(n),(s=this._leakageMon)===null||s===void 0||s.dispose())}}class o5 extends Ve{constructor(e){super(e);this._isPaused=0,this._eventQueue=new Td,this._mergeFn=e==null?void 0:e.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(this._isPaused!==0?this._eventQueue.push(e):super.fire(e))}}class ket extends o5{constructor(e){var t;super(e);this._delay=(t=e.delay)!==null&&t!==void 0?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class Iz{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(s=>{const o=this.buffers[this.buffers.length-1];o?o.push(()=>t.call(n,s)):t.call(n,s)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(r=>r()),n}}class vpe{constructor(){this.listening=!1,this.inputEvent=ai.None,this.inputEventListener=lt.None,this.emitter=new Ve({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const Cpe=Object.freeze(function(i,e){const t=setTimeout(i.bind(e),0);return{dispose(){clearTimeout(t)}}});var Cn;(function(i){function e(t){return t===i.None||t===i.Cancelled||t instanceof a5?!0:!t||typeof t!="object"?!1:typeof t.isCancellationRequested=="boolean"&&typeof t.onCancellationRequested=="function"}i.isCancellationToken=e,i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ai.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Cpe})})(Cn||(Cn={}));class a5{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Cpe:(this._emitter||(this._emitter=new Ve),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ic{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a5),this._token}cancel(){this._token?this._token instanceof a5&&this._token.cancel():this._token=Cn.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a5&&this._token.dispose():this._token=Cn.None}}class Tz{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const l5=new Tz,xz=new Tz,Dz=new Tz,ype=new Array(230),Let={},Ret=[],Net=Object.create(null),Oet=Object.create(null),kz=[],Lz=[];for(let i=0;i<=193;i++)kz[i]=-1;for(let i=0;i<=126;i++)Lz[i]=-1;(function(){const i="",e=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",i,i],[0,1,1,"Hyper",0,i,0,i,i,i],[0,1,2,"Super",0,i,0,i,i,i],[0,1,3,"Fn",0,i,0,i,i,i],[0,1,4,"FnLock",0,i,0,i,i,i],[0,1,5,"Suspend",0,i,0,i,i,i],[0,1,6,"Resume",0,i,0,i,i,i],[0,1,7,"Turbo",0,i,0,i,i,i],[0,1,8,"Sleep",0,i,0,"VK_SLEEP",i,i],[0,1,9,"WakeUp",0,i,0,i,i,i],[31,0,10,"KeyA",31,"A",65,"VK_A",i,i],[32,0,11,"KeyB",32,"B",66,"VK_B",i,i],[33,0,12,"KeyC",33,"C",67,"VK_C",i,i],[34,0,13,"KeyD",34,"D",68,"VK_D",i,i],[35,0,14,"KeyE",35,"E",69,"VK_E",i,i],[36,0,15,"KeyF",36,"F",70,"VK_F",i,i],[37,0,16,"KeyG",37,"G",71,"VK_G",i,i],[38,0,17,"KeyH",38,"H",72,"VK_H",i,i],[39,0,18,"KeyI",39,"I",73,"VK_I",i,i],[40,0,19,"KeyJ",40,"J",74,"VK_J",i,i],[41,0,20,"KeyK",41,"K",75,"VK_K",i,i],[42,0,21,"KeyL",42,"L",76,"VK_L",i,i],[43,0,22,"KeyM",43,"M",77,"VK_M",i,i],[44,0,23,"KeyN",44,"N",78,"VK_N",i,i],[45,0,24,"KeyO",45,"O",79,"VK_O",i,i],[46,0,25,"KeyP",46,"P",80,"VK_P",i,i],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",i,i],[48,0,27,"KeyR",48,"R",82,"VK_R",i,i],[49,0,28,"KeyS",49,"S",83,"VK_S",i,i],[50,0,29,"KeyT",50,"T",84,"VK_T",i,i],[51,0,30,"KeyU",51,"U",85,"VK_U",i,i],[52,0,31,"KeyV",52,"V",86,"VK_V",i,i],[53,0,32,"KeyW",53,"W",87,"VK_W",i,i],[54,0,33,"KeyX",54,"X",88,"VK_X",i,i],[55,0,34,"KeyY",55,"Y",89,"VK_Y",i,i],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",i,i],[22,0,36,"Digit1",22,"1",49,"VK_1",i,i],[23,0,37,"Digit2",23,"2",50,"VK_2",i,i],[24,0,38,"Digit3",24,"3",51,"VK_3",i,i],[25,0,39,"Digit4",25,"4",52,"VK_4",i,i],[26,0,40,"Digit5",26,"5",53,"VK_5",i,i],[27,0,41,"Digit6",27,"6",54,"VK_6",i,i],[28,0,42,"Digit7",28,"7",55,"VK_7",i,i],[29,0,43,"Digit8",29,"8",56,"VK_8",i,i],[30,0,44,"Digit9",30,"9",57,"VK_9",i,i],[21,0,45,"Digit0",21,"0",48,"VK_0",i,i],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",i,i],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",i,i],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",i,i],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",i,i],[10,1,50,"Space",10,"Space",32,"VK_SPACE",i,i],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,i,0,i,i,i],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",i,i],[59,1,64,"F1",59,"F1",112,"VK_F1",i,i],[60,1,65,"F2",60,"F2",113,"VK_F2",i,i],[61,1,66,"F3",61,"F3",114,"VK_F3",i,i],[62,1,67,"F4",62,"F4",115,"VK_F4",i,i],[63,1,68,"F5",63,"F5",116,"VK_F5",i,i],[64,1,69,"F6",64,"F6",117,"VK_F6",i,i],[65,1,70,"F7",65,"F7",118,"VK_F7",i,i],[66,1,71,"F8",66,"F8",119,"VK_F8",i,i],[67,1,72,"F9",67,"F9",120,"VK_F9",i,i],[68,1,73,"F10",68,"F10",121,"VK_F10",i,i],[69,1,74,"F11",69,"F11",122,"VK_F11",i,i],[70,1,75,"F12",70,"F12",123,"VK_F12",i,i],[0,1,76,"PrintScreen",0,i,0,i,i,i],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",i,i],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",i,i],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",i,i],[14,1,80,"Home",14,"Home",36,"VK_HOME",i,i],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",i,i],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",i,i],[13,1,83,"End",13,"End",35,"VK_END",i,i],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",i,i],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",i],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",i],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",i],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",i],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",i,i],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",i,i],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",i,i],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",i,i],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",i,i],[3,1,94,"NumpadEnter",3,i,0,i,i,i],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",i,i],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",i,i],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",i,i],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",i,i],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",i,i],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",i,i],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",i,i],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",i,i],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",i,i],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",i,i],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",i,i],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",i,i],[58,1,107,"ContextMenu",58,"ContextMenu",93,i,i,i],[0,1,108,"Power",0,i,0,i,i,i],[0,1,109,"NumpadEqual",0,i,0,i,i,i],[71,1,110,"F13",71,"F13",124,"VK_F13",i,i],[72,1,111,"F14",72,"F14",125,"VK_F14",i,i],[73,1,112,"F15",73,"F15",126,"VK_F15",i,i],[74,1,113,"F16",74,"F16",127,"VK_F16",i,i],[75,1,114,"F17",75,"F17",128,"VK_F17",i,i],[76,1,115,"F18",76,"F18",129,"VK_F18",i,i],[77,1,116,"F19",77,"F19",130,"VK_F19",i,i],[0,1,117,"F20",0,i,0,"VK_F20",i,i],[0,1,118,"F21",0,i,0,"VK_F21",i,i],[0,1,119,"F22",0,i,0,"VK_F22",i,i],[0,1,120,"F23",0,i,0,"VK_F23",i,i],[0,1,121,"F24",0,i,0,"VK_F24",i,i],[0,1,122,"Open",0,i,0,i,i,i],[0,1,123,"Help",0,i,0,i,i,i],[0,1,124,"Select",0,i,0,i,i,i],[0,1,125,"Again",0,i,0,i,i,i],[0,1,126,"Undo",0,i,0,i,i,i],[0,1,127,"Cut",0,i,0,i,i,i],[0,1,128,"Copy",0,i,0,i,i,i],[0,1,129,"Paste",0,i,0,i,i,i],[0,1,130,"Find",0,i,0,i,i,i],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",i,i],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",i,i],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",i,i],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",i,i],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",i,i],[0,1,136,"KanaMode",0,i,0,i,i,i],[0,0,137,"IntlYen",0,i,0,i,i,i],[0,1,138,"Convert",0,i,0,i,i,i],[0,1,139,"NonConvert",0,i,0,i,i,i],[0,1,140,"Lang1",0,i,0,i,i,i],[0,1,141,"Lang2",0,i,0,i,i,i],[0,1,142,"Lang3",0,i,0,i,i,i],[0,1,143,"Lang4",0,i,0,i,i,i],[0,1,144,"Lang5",0,i,0,i,i,i],[0,1,145,"Abort",0,i,0,i,i,i],[0,1,146,"Props",0,i,0,i,i,i],[0,1,147,"NumpadParenLeft",0,i,0,i,i,i],[0,1,148,"NumpadParenRight",0,i,0,i,i,i],[0,1,149,"NumpadBackspace",0,i,0,i,i,i],[0,1,150,"NumpadMemoryStore",0,i,0,i,i,i],[0,1,151,"NumpadMemoryRecall",0,i,0,i,i,i],[0,1,152,"NumpadMemoryClear",0,i,0,i,i,i],[0,1,153,"NumpadMemoryAdd",0,i,0,i,i,i],[0,1,154,"NumpadMemorySubtract",0,i,0,i,i,i],[0,1,155,"NumpadClear",0,i,0,i,i,i],[0,1,156,"NumpadClearEntry",0,i,0,i,i,i],[5,1,0,i,5,"Ctrl",17,"VK_CONTROL",i,i],[4,1,0,i,4,"Shift",16,"VK_SHIFT",i,i],[6,1,0,i,6,"Alt",18,"VK_MENU",i,i],[57,1,0,i,57,"Meta",0,"VK_COMMAND",i,i],[5,1,157,"ControlLeft",5,i,0,"VK_LCONTROL",i,i],[4,1,158,"ShiftLeft",4,i,0,"VK_LSHIFT",i,i],[6,1,159,"AltLeft",6,i,0,"VK_LMENU",i,i],[57,1,160,"MetaLeft",57,i,0,"VK_LWIN",i,i],[5,1,161,"ControlRight",5,i,0,"VK_RCONTROL",i,i],[4,1,162,"ShiftRight",4,i,0,"VK_RSHIFT",i,i],[6,1,163,"AltRight",6,i,0,"VK_RMENU",i,i],[57,1,164,"MetaRight",57,i,0,"VK_RWIN",i,i],[0,1,165,"BrightnessUp",0,i,0,i,i,i],[0,1,166,"BrightnessDown",0,i,0,i,i,i],[0,1,167,"MediaPlay",0,i,0,i,i,i],[0,1,168,"MediaRecord",0,i,0,i,i,i],[0,1,169,"MediaFastForward",0,i,0,i,i,i],[0,1,170,"MediaRewind",0,i,0,i,i,i],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",i,i],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",i,i],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",i,i],[0,1,174,"Eject",0,i,0,i,i,i],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",i,i],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",i,i],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",i,i],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",i,i],[0,1,179,"LaunchApp1",0,i,0,"VK_MEDIA_LAUNCH_APP1",i,i],[0,1,180,"SelectTask",0,i,0,i,i,i],[0,1,181,"LaunchScreenSaver",0,i,0,i,i,i],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",i,i],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",i,i],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",i,i],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",i,i],[0,1,186,"BrowserStop",0,i,0,"VK_BROWSER_STOP",i,i],[0,1,187,"BrowserRefresh",0,i,0,"VK_BROWSER_REFRESH",i,i],[0,1,188,"BrowserFavorites",0,i,0,"VK_BROWSER_FAVORITES",i,i],[0,1,189,"ZoomToggle",0,i,0,i,i,i],[0,1,190,"MailReply",0,i,0,i,i,i],[0,1,191,"MailForward",0,i,0,i,i,i],[0,1,192,"MailSend",0,i,0,i,i,i],[109,1,0,i,109,"KeyInComposition",229,i,i,i],[111,1,0,i,111,"ABNT_C2",194,"VK_ABNT_C2",i,i],[91,1,0,i,91,"OEM_8",223,"VK_OEM_8",i,i],[0,1,0,i,0,i,0,"VK_CLEAR",i,i],[0,1,0,i,0,i,0,"VK_KANA",i,i],[0,1,0,i,0,i,0,"VK_HANGUL",i,i],[0,1,0,i,0,i,0,"VK_JUNJA",i,i],[0,1,0,i,0,i,0,"VK_FINAL",i,i],[0,1,0,i,0,i,0,"VK_HANJA",i,i],[0,1,0,i,0,i,0,"VK_KANJI",i,i],[0,1,0,i,0,i,0,"VK_CONVERT",i,i],[0,1,0,i,0,i,0,"VK_NONCONVERT",i,i],[0,1,0,i,0,i,0,"VK_ACCEPT",i,i],[0,1,0,i,0,i,0,"VK_MODECHANGE",i,i],[0,1,0,i,0,i,0,"VK_SELECT",i,i],[0,1,0,i,0,i,0,"VK_PRINT",i,i],[0,1,0,i,0,i,0,"VK_EXECUTE",i,i],[0,1,0,i,0,i,0,"VK_SNAPSHOT",i,i],[0,1,0,i,0,i,0,"VK_HELP",i,i],[0,1,0,i,0,i,0,"VK_APPS",i,i],[0,1,0,i,0,i,0,"VK_PROCESSKEY",i,i],[0,1,0,i,0,i,0,"VK_PACKET",i,i],[0,1,0,i,0,i,0,"VK_DBE_SBCSCHAR",i,i],[0,1,0,i,0,i,0,"VK_DBE_DBCSCHAR",i,i],[0,1,0,i,0,i,0,"VK_ATTN",i,i],[0,1,0,i,0,i,0,"VK_CRSEL",i,i],[0,1,0,i,0,i,0,"VK_EXSEL",i,i],[0,1,0,i,0,i,0,"VK_EREOF",i,i],[0,1,0,i,0,i,0,"VK_PLAY",i,i],[0,1,0,i,0,i,0,"VK_ZOOM",i,i],[0,1,0,i,0,i,0,"VK_NONAME",i,i],[0,1,0,i,0,i,0,"VK_PA1",i,i],[0,1,0,i,0,i,0,"VK_OEM_CLEAR",i,i]];let t=[],n=[];for(const r of e){const[s,o,a,l,c,u,d,h,g,m]=r;if(n[a]||(n[a]=!0,Ret[a]=l,Net[l]=a,Oet[l.toLowerCase()]=a,o&&(kz[a]=c,c!==0&&c!==3&&c!==5&&c!==4&&c!==6&&c!==57&&(Lz[c]=a))),!t[c]){if(t[c]=!0,!u)throw new Error(`String representation missing for key code ${c} around scan code ${l}`);l5.define(c,u),xz.define(c,g||u),Dz.define(c,m||g||u)}d&&(ype[d]=c),h&&(Let[h]=c)}Lz[3]=46})();var Ny;(function(i){function e(a){return l5.keyCodeToStr(a)}i.toString=e;function t(a){return l5.strToKeyCode(a)}i.fromString=t;function n(a){return xz.keyCodeToStr(a)}i.toUserSettingsUS=n;function r(a){return Dz.keyCodeToStr(a)}i.toUserSettingsGeneral=r;function s(a){return xz.strToKeyCode(a)||Dz.strToKeyCode(a)}i.fromUserSettings=s;function o(a){if(a>=93&&a<=108)return null;switch(a){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return l5.keyCodeToStr(a)}i.toElectronAccelerator=o})(Ny||(Ny={}));function pa(i,e){const t=(e&65535)<<16>>>0;return(i|t)>>>0}let iE;if(typeof cs.vscode!="undefined"&&typeof cs.vscode.process!="undefined"){const i=cs.vscode.process;iE={get platform(){return i.platform},get arch(){return i.arch},get env(){return i.env},cwd(){return i.cwd()}}}else typeof process!="undefined"?iE={get platform(){return process.platform},get arch(){return process.arch},get env(){return{npm_package_devDependencies_react_dom:"^17.0.2",npm_package_devDependencies__storybook_addon_links:"^6.3.12",npm_package_devDependencies__emotion_eslint_plugin:"^11.2.0",COREPACK_ROOT:"/Users/NewItem/.npm-global/lib/node_modules/corepack",npm_package_gitHead:"492b228acbf6f7bc309984755a8dd948ea6fb0e2",npm_package_devDependencies_prettier:"^2.3.2",npm_package_devDependencies_postcss_import:"^14.0.2",npm_package_devDependencies_xterm:"^4.13.0",npm_package_devDependencies_tsconfig_paths_webpack_plugin:"^3.5.1",npm_package_devDependencies_source_map_loader:"^3.0.0",npm_package_devDependencies_rsuite:"^5.0.0",npm_package_devDependencies__types_tailwindcss:"^2.2.4",TERM_PROGRAM:"vscode",npm_package_devDependencies_normalize_url:"^7.0.2",npm_package_devDependencies_idb:"^6.1.5",npm_package_devDependencies_cssnano:"^5.0.11",NODE:"/usr/local/bin/node",npm_package_devDependencies_socket_io_client:"^4.2.0",npm_package_devDependencies_file_loader:"^6.2.0",INIT_CWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",_P9K_TTY:"/dev/ttys005",npm_package_devDependencies_terser_webpack_plugin:"^5.2.5",npm_package_devDependencies__emotion_babel_preset_css_prop:"^11.2.0",npm_package_homepage:"https://github.com/dao42/d42paas_frontend#readme",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^2.7.2",npm_package_devDependencies_stylis:"^4.0.10",npm_package_devDependencies_jest:"27.0.6",npm_package_devDependencies__storybook_addon_essentials:"^6.3.12",npm_package_devDependencies_style_loader:"^3.3.1",npm_package_devDependencies_rimraf:"^3.0.2",TMPDIR:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/",npm_package_devDependencies_happypack:"^5.0.1",npm_package_devDependencies__babel_preset_typescript:"^7.15.0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.63.0",npm_package_devDependencies_fs_extra:"^10.0.0",npm_package_devDependencies_concurrently:"^6.3.0",npm_package_devDependencies_babel_core:"^6.26.3",npm_package_devDependencies__vitejs_plugin_react:"^1.0.7",npm_package_devDependencies__types_happypack:"^5.0.2",npm_package_devDependencies__emotion_react:"^11.4.1",npm_package_scripts_copyTS:"shx cp ./src/types/editor.d.ts ./dist",npm_package_scripts_dev:"vite serve --host --config ./config/vite.config.ts",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",npm_package_devDependencies_sass_loader:"^12.2.0",npm_package_devDependencies_xterm_addon_fit:"^0.5.0",npm_package_devDependencies_webpack_bundle_analyzer:"^4.5.0",npm_package_devDependencies_ot:"^0.0.15",npm_package_devDependencies__babel_plugin_syntax_dynamic_import:"^7.8.3",npm_package_scripts_dev_disble:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',npm_config_registry:"https://registry.yarnpkg.com",ZSH:"/Users/NewItem/.oh-my-zsh",npm_package_repository_url:"git+https://github.com/dao42/d42paas_frontend.git",npm_package_scripts_fix:"eslint --fix --ext .jsx src/**",npm_package_devDependencies__emotion_styled:"^11.3.0",npm_package_scripts_patch:"npm version patch",USER:"NewItem",http_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_webpack:"^5.52.0",npm_package_devDependencies_react:"^17.0.2",npm_package_devDependencies__babel_plugin_transform_runtime:"^7.15.0",npm_package_description:"> TODO: description",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_socket_io:"^4.2.0",npm_package_devDependencies_glob_all:"^3.2.1",npm_package_devDependencies_dotenv:"^10.0.0",npm_package_devDependencies__types_react:"^17.0.24",npm_package_license:"ISC",COMMAND_MODE:"unix2003",npm_package_devDependencies_monaco_editor:"^0.31.0",npm_package_devDependencies__emotion_babel_plugin:"^11.3.0",npm_package_scripts_build_storybook:"build-storybook -o .storybook/dist",npm_package_scripts_prebuild:"rimraf dist",npm_package_exports___import:"./dist/DaoPaaS.es.js",npm_package_devDependencies_webpack_dev_server:"^4.1.0",npm_package_devDependencies_reflect_metadata:"^0.1.13",npm_package_devDependencies__babel_core:"^7.9",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners",npm_package_devDependencies_babel_loader:"^8.2.2",npm_package_devDependencies__types_ip:"^1.1.0",npm_package_devDependencies__storybook_manager_webpack5:"^6.3.12",npm_package_devDependencies__storybook_addon_actions:"^6.3.12",__CF_USER_TEXT_ENCODING:"0x1F6:0x0:0x0",npm_package_devDependencies_rxjs:"^7.2.0",npm_package_devDependencies_postcss:"^8.0.9",npm_package_devDependencies__types_jest:"^27.0.2",npm_execpath:"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs",npm_package_devDependencies_webpack_dashboard:"^3.3.6",npm_package_devDependencies__emotion_core:"^11.0.0",PAGER:"less",npm_package_module:"./dist/DaoPaaS.es.js",npm_package_devDependencies__fullhuman_postcss_purgecss:"^4.0.3",npm_package_devDependencies__emotion_css:"^11.1.3",npm_package_author_name:"eric183",LSCOLORS:"Gxfxcxdxbxegedabagacad",YARN_IGNORE_PATH:"1",npm_package_devDependencies_mini_css_extract_plugin:"^2.4.5",npm_package_devDependencies__types_react_dom:"^17.0.9",npm_package_devDependencies__babel_runtime:"^7.15.4",npm_package_scripts_vite_save:"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",PATH:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640600824796-0.725851819680082:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh",npm_config_argv:'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',npm_package_devDependencies_uuid:"^8.3.2",npm_package_devDependencies__types_css_minimizer_webpack_plugin:"^3.0.2",npm_package_scripts_start_web:"yarn prebuild && yarn vite",npm_package_devDependencies_lottie_web:"^5.7.14",npm_config_workspaces_experimental:"true",_:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite",npm_config_https_proxy:"http://127.0.0.1:8889/",__CFBundleIdentifier:"com.microsoft.VSCode",npm_package_devDependencies_ts_jest:"^27.0.3",PWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",npm_package_devDependencies_zustand:"^3.5.10",npm_package_devDependencies_tailwindcss:"^3.0.7",npm_package_bugs_url:"https://github.com/dao42/d42paas_frontend/issues",npm_package_devDependencies_react_loading_skeleton:"^3.0.1",npm_package_devDependencies__types_lodash:"^4.14.175",P9K_SSH:"0",npm_lifecycle_event:"vite",LANG:"en_US.UTF-8",P9K_TTY:"old",npm_package_repository_type:"git",npm_package_devDependencies__types_mini_css_extract_plugin:"^2.4.0",npm_package_dependencies__dao42_d42paas_rtc:"^0.1.8",npm_package_types:"./dist/editor.d.ts",npm_package_name:"@dao42/d42paas-front",npm_package_devDependencies__babel_preset_react:"^7.14.5",npm_package_devDependencies__babel_preset_env:"^7.15.4",npm_package_scripts_analyse:'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',npm_package_devDependencies_sass:"^1.43.2",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"--ms-enable-electron-run-as-node",npm_package_devDependencies_ts_loader:"^9.2.5",npm_package_devDependencies_react_complex_tree:"^1.1.2",npm_package_devDependencies__types_dotenv_webpack:"^7.0.3",npm_package_exports___dist_style_css_import:"./dist/style.css",npm_config_bin_links:"true",npm_package_devDependencies__storybook_react:"^6.3.12",https_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_speed_measure_webpack_plugin:"^1.5.0",npm_package_main:"./dist/DaoPaaS.umd.js",XPC_SERVICE_NAME:"0",npm_package_devDependencies_react_spring:"^9.2.4",npm_package_version:"0.5.11",npm_package_devDependencies_three:"^0.132.2",npm_package_devDependencies_css_minimizer_webpack_plugin:"^3.1.4",npm_package_devDependencies_autoprefixer:"^10.0.2",npm_package_devDependencies__storybook_addon_postcss:"^2.0.0",npm_package_scripts_vite:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",HOME:"/Users/NewItem",SHLVL:"2",npm_package_devDependencies_reconnecting_websocket:"^4.4.0",npm_package_scripts_dev_save:"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_package_scripts_storybook:"start-storybook -p 6006",npm_package_devDependencies_lodash:"^4.17.21",npm_package_devDependencies_ip:"^1.1.5",npm_package_scripts_webpack:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',npm_config_save_prefix:"^",npm_config_strict_ssl:"true",npm_config_version_git_message:"v%s",npm_package_devDependencies_ts_node:"^10.0.0",npm_package_devDependencies_react_router_dom:"^5.3.0",npm_package_devDependencies__react_spring_types:"^9.2.4",LOGNAME:"NewItem",LESS:"-R",YARN_WRAP_OUTPUT:"false",npm_package_devDependencies_html_webpack_plugin:"^5.3.2",npm_lifecycle_script:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",npm_package_exports___require:"./dist/DaoPaaS.umd.js",VSCODE_GIT_IPC_HANDLE:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock",npm_package_exports___dist_style_css_require:"./dist/style.css",npm_package_author_email:"kk297466058@gmail.com",npm_config_ignore_path:"1",npm_config_proxy:"http://127.0.0.1:8889/",npm_package_devDependencies_react_dnd_html5_backend:"^14.0.2",npm_package_devDependencies_monaco_editor_core:"^0.31.0",npm_package_devDependencies__types_fs_extra:"^9.0.13",npm_package_devDependencies_postcss_nesting:"^10.1.0",npm_package_devDependencies__types_uuid:"^8.3.1",npm_package_devDependencies__types_ot:"^0.0.5",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.1 npm/? node/v16.13.1 darwin x64",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/MacOS/Electron",npm_package_devDependencies_dotenv_webpack:"^7.0.3",npm_package_devDependencies_axios:"^0.21.4",npm_package_devDependencies__types_webpack:"^5.28.0",npm_package_files_0:"dist",npm_package_scripts_np:"npm publish --access-public",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",npm_package_devDependencies_css_loader:"^6.5.1",npm_package_devDependencies_react_dnd:"^14.0.4",COLORTERM:"truecolor",npm_node_execpath:"/usr/local/bin/node",npm_package_devDependencies_xterm_addon_attach:"^0.6.0",npm_package_devDependencies__loadable_component:"^5.15.2",npm_config_version_tag_prefix:"v",npm_config_prefix:"/Users/NewItem/.npm-global",NODE_ENV:"production",RABBITMQ_USER:"agent",RABBITMQ_PASSWORD:"d42agent",RABBITMQ_ORIGIN:"develop.1024paas.com",RABBITMQ_VHOST:"/dev",RABBITMQ_PORT:"5672",SOCKET_INSTANCE_REDIS_HOST:"gz-crs-c68uv1j5.sql.tencentcdb.com",SOCKET_INSTANCE_REDIS_PORT:"22680",SOCKET_INSTANCE_REDIS_PASSWORD:"1024paas",SOCKET_INSTANCE_REDIS_DATABASE:"2",SOCKET_INSTANCE_CLIENT_PORT:"4001",TICKET_ORIGIN:"develop.1024paas.com",TICKET_PORT:"8000","process.env.npm_package_devDependencies_react_dom":"^17.0.2","process.env.npm_package_devDependencies__storybook_addon_links":"^6.3.12","process.env.npm_package_devDependencies__emotion_eslint_plugin":"^11.2.0","process.env.COREPACK_ROOT":"/Users/NewItem/.npm-global/lib/node_modules/corepack","process.env.npm_package_gitHead":"492b228acbf6f7bc309984755a8dd948ea6fb0e2","process.env.npm_package_devDependencies_prettier":"^2.3.2","process.env.npm_package_devDependencies_postcss_import":"^14.0.2","process.env.npm_package_devDependencies_xterm":"^4.13.0","process.env.npm_package_devDependencies_tsconfig_paths_webpack_plugin":"^3.5.1","process.env.npm_package_devDependencies_source_map_loader":"^3.0.0","process.env.npm_package_devDependencies_rsuite":"^5.0.0","process.env.npm_package_devDependencies__types_tailwindcss":"^2.2.4","process.env.TERM_PROGRAM":"vscode","process.env.npm_package_devDependencies_normalize_url":"^7.0.2","process.env.npm_package_devDependencies_idb":"^6.1.5","process.env.npm_package_devDependencies_cssnano":"^5.0.11","process.env.NODE":"/usr/local/bin/node","process.env.npm_package_devDependencies_socket_io_client":"^4.2.0","process.env.npm_package_devDependencies_file_loader":"^6.2.0","process.env.INIT_CWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env._P9K_TTY":"/dev/ttys005","process.env.npm_package_devDependencies_terser_webpack_plugin":"^5.2.5","process.env.npm_package_devDependencies__emotion_babel_preset_css_prop":"^11.2.0","process.env.npm_package_homepage":"https://github.com/dao42/d42paas_frontend#readme","process.env.npm_config_version_git_tag":"true","process.env.SHELL":"/bin/zsh","process.env.TERM":"xterm-256color","process.env.npm_package_devDependencies_vite":"^2.7.2","process.env.npm_package_devDependencies_stylis":"^4.0.10","process.env.npm_package_devDependencies_jest":"27.0.6","process.env.npm_package_devDependencies__storybook_addon_essentials":"^6.3.12","process.env.npm_package_devDependencies_style_loader":"^3.3.1","process.env.npm_package_devDependencies_rimraf":"^3.0.2","process.env.TMPDIR":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/","process.env.npm_package_devDependencies_happypack":"^5.0.1","process.env.npm_package_devDependencies__babel_preset_typescript":"^7.15.0","process.env.npm_config_init_license":"MIT","process.env.TERM_PROGRAM_VERSION":"1.63.0","process.env.npm_package_devDependencies_fs_extra":"^10.0.0","process.env.npm_package_devDependencies_concurrently":"^6.3.0","process.env.npm_package_devDependencies_babel_core":"^6.26.3","process.env.npm_package_devDependencies__vitejs_plugin_react":"^1.0.7","process.env.npm_package_devDependencies__types_happypack":"^5.0.2","process.env.npm_package_devDependencies__emotion_react":"^11.4.1","process.env.npm_package_scripts_copyTS":"shx cp ./src/types/editor.d.ts ./dist","process.env.npm_package_scripts_dev":"vite serve --host --config ./config/vite.config.ts","process.env.ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","process.env.npm_package_devDependencies_sass_loader":"^12.2.0","process.env.npm_package_devDependencies_xterm_addon_fit":"^0.5.0","process.env.npm_package_devDependencies_webpack_bundle_analyzer":"^4.5.0","process.env.npm_package_devDependencies_ot":"^0.0.15","process.env.npm_package_devDependencies__babel_plugin_syntax_dynamic_import":"^7.8.3","process.env.npm_package_scripts_dev_disble":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',"process.env.npm_config_registry":"https://registry.yarnpkg.com","process.env.ZSH":"/Users/NewItem/.oh-my-zsh","process.env.npm_package_repository_url":"git+https://github.com/dao42/d42paas_frontend.git","process.env.npm_package_scripts_fix":"eslint --fix --ext .jsx src/**","process.env.npm_package_devDependencies__emotion_styled":"^11.3.0","process.env.npm_package_scripts_patch":"npm version patch","process.env.USER":"NewItem","process.env.http_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_webpack":"^5.52.0","process.env.npm_package_devDependencies_react":"^17.0.2","process.env.npm_package_devDependencies__babel_plugin_transform_runtime":"^7.15.0","process.env.npm_package_description":"> TODO: description","process.env.npm_package_devDependencies_webpack_cli":"^4.9.1","process.env.npm_package_devDependencies_socket_io":"^4.2.0","process.env.npm_package_devDependencies_glob_all":"^3.2.1","process.env.npm_package_devDependencies_dotenv":"^10.0.0","process.env.npm_package_devDependencies__types_react":"^17.0.24","process.env.npm_package_license":"ISC","process.env.COMMAND_MODE":"unix2003","process.env.npm_package_devDependencies_monaco_editor":"^0.31.0","process.env.npm_package_devDependencies__emotion_babel_plugin":"^11.3.0","process.env.npm_package_scripts_build_storybook":"build-storybook -o .storybook/dist","process.env.npm_package_scripts_prebuild":"rimraf dist","process.env.npm_package_exports___import":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies_webpack_dev_server":"^4.1.0","process.env.npm_package_devDependencies_reflect_metadata":"^0.1.13","process.env.npm_package_devDependencies__babel_core":"^7.9","process.env.SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners","process.env.npm_package_devDependencies_babel_loader":"^8.2.2","process.env.npm_package_devDependencies__types_ip":"^1.1.0","process.env.npm_package_devDependencies__storybook_manager_webpack5":"^6.3.12","process.env.npm_package_devDependencies__storybook_addon_actions":"^6.3.12","process.env.__CF_USER_TEXT_ENCODING":"0x1F6:0x0:0x0","process.env.npm_package_devDependencies_rxjs":"^7.2.0","process.env.npm_package_devDependencies_postcss":"^8.0.9","process.env.npm_package_devDependencies__types_jest":"^27.0.2","process.env.npm_execpath":"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs","process.env.npm_package_devDependencies_webpack_dashboard":"^3.3.6","process.env.npm_package_devDependencies__emotion_core":"^11.0.0","process.env.PAGER":"less","process.env.npm_package_module":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies__fullhuman_postcss_purgecss":"^4.0.3","process.env.npm_package_devDependencies__emotion_css":"^11.1.3","process.env.npm_package_author_name":"eric183","process.env.LSCOLORS":"Gxfxcxdxbxegedabagacad","process.env.YARN_IGNORE_PATH":"1","process.env.npm_package_devDependencies_mini_css_extract_plugin":"^2.4.5","process.env.npm_package_devDependencies__types_react_dom":"^17.0.9","process.env.npm_package_devDependencies__babel_runtime":"^7.15.4","process.env.npm_package_scripts_vite_save":"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.PATH":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640600824796-0.725851819680082:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh","process.env.npm_config_argv":'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',"process.env.npm_package_devDependencies_uuid":"^8.3.2","process.env.npm_package_devDependencies__types_css_minimizer_webpack_plugin":"^3.0.2","process.env.npm_package_scripts_start_web":"yarn prebuild && yarn vite","process.env.npm_package_devDependencies_lottie_web":"^5.7.14","process.env.npm_config_workspaces_experimental":"true","process.env._":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite","process.env.npm_config_https_proxy":"http://127.0.0.1:8889/","process.env.__CFBundleIdentifier":"com.microsoft.VSCode","process.env.npm_package_devDependencies_ts_jest":"^27.0.3","process.env.PWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env.npm_package_devDependencies_zustand":"^3.5.10","process.env.npm_package_devDependencies_tailwindcss":"^3.0.7","process.env.npm_package_bugs_url":"https://github.com/dao42/d42paas_frontend/issues","process.env.npm_package_devDependencies_react_loading_skeleton":"^3.0.1","process.env.npm_package_devDependencies__types_lodash":"^4.14.175","process.env.P9K_SSH":"0","process.env.npm_lifecycle_event":"vite","process.env.LANG":"en_US.UTF-8","process.env.P9K_TTY":"old","process.env.npm_package_repository_type":"git","process.env.npm_package_devDependencies__types_mini_css_extract_plugin":"^2.4.0","process.env.npm_package_dependencies__dao42_d42paas_rtc":"^0.1.8","process.env.npm_package_types":"./dist/editor.d.ts","process.env.npm_package_name":"@dao42/d42paas-front","process.env.npm_package_devDependencies__babel_preset_react":"^7.14.5","process.env.npm_package_devDependencies__babel_preset_env":"^7.15.4","process.env.npm_package_scripts_analyse":'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',"process.env.npm_package_devDependencies_sass":"^1.43.2","process.env.npm_config_version_commit_hooks":"true","process.env.XPC_FLAGS":"0x0","process.env.VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","process.env.npm_package_devDependencies_ts_loader":"^9.2.5","process.env.npm_package_devDependencies_react_complex_tree":"^1.1.2","process.env.npm_package_devDependencies__types_dotenv_webpack":"^7.0.3","process.env.npm_package_exports___dist_style_css_import":"./dist/style.css","process.env.npm_config_bin_links":"true","process.env.npm_package_devDependencies__storybook_react":"^6.3.12","process.env.https_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_speed_measure_webpack_plugin":"^1.5.0","process.env.npm_package_main":"./dist/DaoPaaS.umd.js","process.env.XPC_SERVICE_NAME":"0","process.env.npm_package_devDependencies_react_spring":"^9.2.4","process.env.npm_package_version":"0.5.11","process.env.npm_package_devDependencies_three":"^0.132.2","process.env.npm_package_devDependencies_css_minimizer_webpack_plugin":"^3.1.4","process.env.npm_package_devDependencies_autoprefixer":"^10.0.2","process.env.npm_package_devDependencies__storybook_addon_postcss":"^2.0.0","process.env.npm_package_scripts_vite":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.HOME":"/Users/NewItem","process.env.SHLVL":"2","process.env.npm_package_devDependencies_reconnecting_websocket":"^4.4.0","process.env.npm_package_scripts_dev_save":"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts","process.env.VSCODE_GIT_ASKPASS_MAIN":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js","process.env.npm_package_scripts_storybook":"start-storybook -p 6006","process.env.npm_package_devDependencies_lodash":"^4.17.21","process.env.npm_package_devDependencies_ip":"^1.1.5","process.env.npm_package_scripts_webpack":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',"process.env.npm_config_save_prefix":"^","process.env.npm_config_strict_ssl":"true","process.env.npm_config_version_git_message":"v%s","process.env.npm_package_devDependencies_ts_node":"^10.0.0","process.env.npm_package_devDependencies_react_router_dom":"^5.3.0","process.env.npm_package_devDependencies__react_spring_types":"^9.2.4","process.env.LOGNAME":"NewItem","process.env.LESS":"-R","process.env.YARN_WRAP_OUTPUT":"false","process.env.npm_package_devDependencies_html_webpack_plugin":"^5.3.2","process.env.npm_lifecycle_script":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.npm_package_exports___require":"./dist/DaoPaaS.umd.js","process.env.VSCODE_GIT_IPC_HANDLE":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock","process.env.npm_package_exports___dist_style_css_require":"./dist/style.css","process.env.npm_package_author_email":"kk297466058@gmail.com","process.env.npm_config_ignore_path":"1","process.env.npm_config_proxy":"http://127.0.0.1:8889/","process.env.npm_package_devDependencies_react_dnd_html5_backend":"^14.0.2","process.env.npm_package_devDependencies_monaco_editor_core":"^0.31.0","process.env.npm_package_devDependencies__types_fs_extra":"^9.0.13","process.env.npm_package_devDependencies_postcss_nesting":"^10.1.0","process.env.npm_package_devDependencies__types_uuid":"^8.3.1","process.env.npm_package_devDependencies__types_ot":"^0.0.5","process.env.npm_config_version_git_sign":"","process.env.npm_config_ignore_scripts":"","process.env.npm_config_user_agent":"yarn/1.22.1 npm/? node/v16.13.1 darwin x64","process.env.GIT_ASKPASS":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh","process.env.VSCODE_GIT_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","process.env.npm_package_devDependencies_dotenv_webpack":"^7.0.3","process.env.npm_package_devDependencies_axios":"^0.21.4","process.env.npm_package_devDependencies__types_webpack":"^5.28.0","process.env.npm_package_files_0":"dist","process.env.npm_package_scripts_np":"npm publish --access-public","process.env.npm_config_init_version":"1.0.0","process.env.npm_config_ignore_optional":"","process.env.npm_package_devDependencies_css_loader":"^6.5.1","process.env.npm_package_devDependencies_react_dnd":"^14.0.4","process.env.COLORTERM":"truecolor","process.env.npm_node_execpath":"/usr/local/bin/node","process.env.npm_package_devDependencies_xterm_addon_attach":"^0.6.0","process.env.npm_package_devDependencies__loadable_component":"^5.15.2","process.env.npm_config_version_tag_prefix":"v","process.env.npm_config_prefix":"/Users/NewItem/.npm-global","process.env.NODE_ENV":"production","process.env.RABBITMQ_USER":"agent","process.env.RABBITMQ_PASSWORD":"d42agent","process.env.RABBITMQ_ORIGIN":"develop.1024paas.com","process.env.RABBITMQ_VHOST":"/dev","process.env.RABBITMQ_PORT":"5672","process.env.SOCKET_INSTANCE_REDIS_HOST":"gz-crs-c68uv1j5.sql.tencentcdb.com","process.env.SOCKET_INSTANCE_REDIS_PORT":"22680","process.env.SOCKET_INSTANCE_REDIS_PASSWORD":"1024paas","process.env.SOCKET_INSTANCE_REDIS_DATABASE":"2","process.env.SOCKET_INSTANCE_CLIENT_PORT":"4001","process.env.TICKET_ORIGIN":"develop.1024paas.com","process.env.TICKET_PORT":"8000",LOCAL_IP_HOST:"192.168.2.11"}},cwd(){return process.cwd()}}:iE={get platform(){return Ba?"win32":vn?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Rz=iE.cwd;iE.env;const Oy=iE.platform,Pet=65,Met=97,Bet=90,Fet=122,n1=46,nc=47,xd=92,r1=58,Uet=63;class bpe extends Error{constructor(e,t,n){let r;typeof t=="string"&&t.indexOf("not ")===0?(r="must not be",t=t.replace(/^not /,"")):r="must be";const s=e.indexOf(".")!==-1?"property":"argument";let o=`The "${e}" ${s} ${r} of type ${t}`;o+=`. Received type ${typeof n}`;super(o);this.code="ERR_INVALID_ARG_TYPE"}}function ma(i,e){if(typeof i!="string")throw new bpe(e,"string",i)}function ir(i){return i===nc||i===xd}function Nz(i){return i===nc}function s1(i){return i>=Pet&&i<=Bet||i>=Met&&i<=Fet}function c5(i,e,t,n){let r="",s=0,o=-1,a=0,l=0;for(let c=0;c<=i.length;++c){if(c<i.length)l=i.charCodeAt(c);else{if(n(l))break;l=nc}if(n(l)){if(!(o===c-1||a===1))if(a===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==n1||r.charCodeAt(r.length-2)!==n1){if(r.length>2){const u=r.lastIndexOf(t);u===-1?(r="",s=0):(r=r.slice(0,u),s=r.length-1-r.lastIndexOf(t)),o=c,a=0;continue}else if(r.length!==0){r="",s=0,o=c,a=0;continue}}e&&(r+=r.length>0?`${t}..`:"..",s=2)}else r.length>0?r+=`${t}${i.slice(o+1,c)}`:r=i.slice(o+1,c),s=c-o-1;o=c,a=0}else l===n1&&a!==-1?++a:a=-1}return r}function Ape(i,e){if(e===null||typeof e!="object")throw new bpe("pathObject","Object",e);const t=e.dir||e.root,n=e.base||`${e.name||""}${e.ext||""}`;return t?t===e.root?`${t}${n}`:`${t}${i}${n}`:n}const Mu={resolve(...i){let e="",t="",n=!1;for(let r=i.length-1;r>=-1;r--){let s;if(r>=0){if(s=i[r],ma(s,"path"),s.length===0)continue}else e.length===0?s=Rz():(s={npm_package_devDependencies_react_dom:"^17.0.2",npm_package_devDependencies__storybook_addon_links:"^6.3.12",npm_package_devDependencies__emotion_eslint_plugin:"^11.2.0",COREPACK_ROOT:"/Users/NewItem/.npm-global/lib/node_modules/corepack",npm_package_gitHead:"492b228acbf6f7bc309984755a8dd948ea6fb0e2",npm_package_devDependencies_prettier:"^2.3.2",npm_package_devDependencies_postcss_import:"^14.0.2",npm_package_devDependencies_xterm:"^4.13.0",npm_package_devDependencies_tsconfig_paths_webpack_plugin:"^3.5.1",npm_package_devDependencies_source_map_loader:"^3.0.0",npm_package_devDependencies_rsuite:"^5.0.0",npm_package_devDependencies__types_tailwindcss:"^2.2.4",TERM_PROGRAM:"vscode",npm_package_devDependencies_normalize_url:"^7.0.2",npm_package_devDependencies_idb:"^6.1.5",npm_package_devDependencies_cssnano:"^5.0.11",NODE:"/usr/local/bin/node",npm_package_devDependencies_socket_io_client:"^4.2.0",npm_package_devDependencies_file_loader:"^6.2.0",INIT_CWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",_P9K_TTY:"/dev/ttys005",npm_package_devDependencies_terser_webpack_plugin:"^5.2.5",npm_package_devDependencies__emotion_babel_preset_css_prop:"^11.2.0",npm_package_homepage:"https://github.com/dao42/d42paas_frontend#readme",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^2.7.2",npm_package_devDependencies_stylis:"^4.0.10",npm_package_devDependencies_jest:"27.0.6",npm_package_devDependencies__storybook_addon_essentials:"^6.3.12",npm_package_devDependencies_style_loader:"^3.3.1",npm_package_devDependencies_rimraf:"^3.0.2",TMPDIR:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/",npm_package_devDependencies_happypack:"^5.0.1",npm_package_devDependencies__babel_preset_typescript:"^7.15.0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.63.0",npm_package_devDependencies_fs_extra:"^10.0.0",npm_package_devDependencies_concurrently:"^6.3.0",npm_package_devDependencies_babel_core:"^6.26.3",npm_package_devDependencies__vitejs_plugin_react:"^1.0.7",npm_package_devDependencies__types_happypack:"^5.0.2",npm_package_devDependencies__emotion_react:"^11.4.1",npm_package_scripts_copyTS:"shx cp ./src/types/editor.d.ts ./dist",npm_package_scripts_dev:"vite serve --host --config ./config/vite.config.ts",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",npm_package_devDependencies_sass_loader:"^12.2.0",npm_package_devDependencies_xterm_addon_fit:"^0.5.0",npm_package_devDependencies_webpack_bundle_analyzer:"^4.5.0",npm_package_devDependencies_ot:"^0.0.15",npm_package_devDependencies__babel_plugin_syntax_dynamic_import:"^7.8.3",npm_package_scripts_dev_disble:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',npm_config_registry:"https://registry.yarnpkg.com",ZSH:"/Users/NewItem/.oh-my-zsh",npm_package_repository_url:"git+https://github.com/dao42/d42paas_frontend.git",npm_package_scripts_fix:"eslint --fix --ext .jsx src/**",npm_package_devDependencies__emotion_styled:"^11.3.0",npm_package_scripts_patch:"npm version patch",USER:"NewItem",http_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_webpack:"^5.52.0",npm_package_devDependencies_react:"^17.0.2",npm_package_devDependencies__babel_plugin_transform_runtime:"^7.15.0",npm_package_description:"> TODO: description",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_socket_io:"^4.2.0",npm_package_devDependencies_glob_all:"^3.2.1",npm_package_devDependencies_dotenv:"^10.0.0",npm_package_devDependencies__types_react:"^17.0.24",npm_package_license:"ISC",COMMAND_MODE:"unix2003",npm_package_devDependencies_monaco_editor:"^0.31.0",npm_package_devDependencies__emotion_babel_plugin:"^11.3.0",npm_package_scripts_build_storybook:"build-storybook -o .storybook/dist",npm_package_scripts_prebuild:"rimraf dist",npm_package_exports___import:"./dist/DaoPaaS.es.js",npm_package_devDependencies_webpack_dev_server:"^4.1.0",npm_package_devDependencies_reflect_metadata:"^0.1.13",npm_package_devDependencies__babel_core:"^7.9",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners",npm_package_devDependencies_babel_loader:"^8.2.2",npm_package_devDependencies__types_ip:"^1.1.0",npm_package_devDependencies__storybook_manager_webpack5:"^6.3.12",npm_package_devDependencies__storybook_addon_actions:"^6.3.12",__CF_USER_TEXT_ENCODING:"0x1F6:0x0:0x0",npm_package_devDependencies_rxjs:"^7.2.0",npm_package_devDependencies_postcss:"^8.0.9",npm_package_devDependencies__types_jest:"^27.0.2",npm_execpath:"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs",npm_package_devDependencies_webpack_dashboard:"^3.3.6",npm_package_devDependencies__emotion_core:"^11.0.0",PAGER:"less",npm_package_module:"./dist/DaoPaaS.es.js",npm_package_devDependencies__fullhuman_postcss_purgecss:"^4.0.3",npm_package_devDependencies__emotion_css:"^11.1.3",npm_package_author_name:"eric183",LSCOLORS:"Gxfxcxdxbxegedabagacad",YARN_IGNORE_PATH:"1",npm_package_devDependencies_mini_css_extract_plugin:"^2.4.5",npm_package_devDependencies__types_react_dom:"^17.0.9",npm_package_devDependencies__babel_runtime:"^7.15.4",npm_package_scripts_vite_save:"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",PATH:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640600824796-0.725851819680082:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh",npm_config_argv:'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',npm_package_devDependencies_uuid:"^8.3.2",npm_package_devDependencies__types_css_minimizer_webpack_plugin:"^3.0.2",npm_package_scripts_start_web:"yarn prebuild && yarn vite",npm_package_devDependencies_lottie_web:"^5.7.14",npm_config_workspaces_experimental:"true",_:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite",npm_config_https_proxy:"http://127.0.0.1:8889/",__CFBundleIdentifier:"com.microsoft.VSCode",npm_package_devDependencies_ts_jest:"^27.0.3",PWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",npm_package_devDependencies_zustand:"^3.5.10",npm_package_devDependencies_tailwindcss:"^3.0.7",npm_package_bugs_url:"https://github.com/dao42/d42paas_frontend/issues",npm_package_devDependencies_react_loading_skeleton:"^3.0.1",npm_package_devDependencies__types_lodash:"^4.14.175",P9K_SSH:"0",npm_lifecycle_event:"vite",LANG:"en_US.UTF-8",P9K_TTY:"old",npm_package_repository_type:"git",npm_package_devDependencies__types_mini_css_extract_plugin:"^2.4.0",npm_package_dependencies__dao42_d42paas_rtc:"^0.1.8",npm_package_types:"./dist/editor.d.ts",npm_package_name:"@dao42/d42paas-front",npm_package_devDependencies__babel_preset_react:"^7.14.5",npm_package_devDependencies__babel_preset_env:"^7.15.4",npm_package_scripts_analyse:'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',npm_package_devDependencies_sass:"^1.43.2",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"--ms-enable-electron-run-as-node",npm_package_devDependencies_ts_loader:"^9.2.5",npm_package_devDependencies_react_complex_tree:"^1.1.2",npm_package_devDependencies__types_dotenv_webpack:"^7.0.3",npm_package_exports___dist_style_css_import:"./dist/style.css",npm_config_bin_links:"true",npm_package_devDependencies__storybook_react:"^6.3.12",https_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_speed_measure_webpack_plugin:"^1.5.0",npm_package_main:"./dist/DaoPaaS.umd.js",XPC_SERVICE_NAME:"0",npm_package_devDependencies_react_spring:"^9.2.4",npm_package_version:"0.5.11",npm_package_devDependencies_three:"^0.132.2",npm_package_devDependencies_css_minimizer_webpack_plugin:"^3.1.4",npm_package_devDependencies_autoprefixer:"^10.0.2",npm_package_devDependencies__storybook_addon_postcss:"^2.0.0",npm_package_scripts_vite:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",HOME:"/Users/NewItem",SHLVL:"2",npm_package_devDependencies_reconnecting_websocket:"^4.4.0",npm_package_scripts_dev_save:"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_package_scripts_storybook:"start-storybook -p 6006",npm_package_devDependencies_lodash:"^4.17.21",npm_package_devDependencies_ip:"^1.1.5",npm_package_scripts_webpack:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',npm_config_save_prefix:"^",npm_config_strict_ssl:"true",npm_config_version_git_message:"v%s",npm_package_devDependencies_ts_node:"^10.0.0",npm_package_devDependencies_react_router_dom:"^5.3.0",npm_package_devDependencies__react_spring_types:"^9.2.4",LOGNAME:"NewItem",LESS:"-R",YARN_WRAP_OUTPUT:"false",npm_package_devDependencies_html_webpack_plugin:"^5.3.2",npm_lifecycle_script:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",npm_package_exports___require:"./dist/DaoPaaS.umd.js",VSCODE_GIT_IPC_HANDLE:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock",npm_package_exports___dist_style_css_require:"./dist/style.css",npm_package_author_email:"kk297466058@gmail.com",npm_config_ignore_path:"1",npm_config_proxy:"http://127.0.0.1:8889/",npm_package_devDependencies_react_dnd_html5_backend:"^14.0.2",npm_package_devDependencies_monaco_editor_core:"^0.31.0",npm_package_devDependencies__types_fs_extra:"^9.0.13",npm_package_devDependencies_postcss_nesting:"^10.1.0",npm_package_devDependencies__types_uuid:"^8.3.1",npm_package_devDependencies__types_ot:"^0.0.5",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.1 npm/? node/v16.13.1 darwin x64",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/MacOS/Electron",npm_package_devDependencies_dotenv_webpack:"^7.0.3",npm_package_devDependencies_axios:"^0.21.4",npm_package_devDependencies__types_webpack:"^5.28.0",npm_package_files_0:"dist",npm_package_scripts_np:"npm publish --access-public",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",npm_package_devDependencies_css_loader:"^6.5.1",npm_package_devDependencies_react_dnd:"^14.0.4",COLORTERM:"truecolor",npm_node_execpath:"/usr/local/bin/node",npm_package_devDependencies_xterm_addon_attach:"^0.6.0",npm_package_devDependencies__loadable_component:"^5.15.2",npm_config_version_tag_prefix:"v",npm_config_prefix:"/Users/NewItem/.npm-global",NODE_ENV:"production",RABBITMQ_USER:"agent",RABBITMQ_PASSWORD:"d42agent",RABBITMQ_ORIGIN:"develop.1024paas.com",RABBITMQ_VHOST:"/dev",RABBITMQ_PORT:"5672",SOCKET_INSTANCE_REDIS_HOST:"gz-crs-c68uv1j5.sql.tencentcdb.com",SOCKET_INSTANCE_REDIS_PORT:"22680",SOCKET_INSTANCE_REDIS_PASSWORD:"1024paas",SOCKET_INSTANCE_REDIS_DATABASE:"2",SOCKET_INSTANCE_CLIENT_PORT:"4001",TICKET_ORIGIN:"develop.1024paas.com",TICKET_PORT:"8000","process.env.npm_package_devDependencies_react_dom":"^17.0.2","process.env.npm_package_devDependencies__storybook_addon_links":"^6.3.12","process.env.npm_package_devDependencies__emotion_eslint_plugin":"^11.2.0","process.env.COREPACK_ROOT":"/Users/NewItem/.npm-global/lib/node_modules/corepack","process.env.npm_package_gitHead":"492b228acbf6f7bc309984755a8dd948ea6fb0e2","process.env.npm_package_devDependencies_prettier":"^2.3.2","process.env.npm_package_devDependencies_postcss_import":"^14.0.2","process.env.npm_package_devDependencies_xterm":"^4.13.0","process.env.npm_package_devDependencies_tsconfig_paths_webpack_plugin":"^3.5.1","process.env.npm_package_devDependencies_source_map_loader":"^3.0.0","process.env.npm_package_devDependencies_rsuite":"^5.0.0","process.env.npm_package_devDependencies__types_tailwindcss":"^2.2.4","process.env.TERM_PROGRAM":"vscode","process.env.npm_package_devDependencies_normalize_url":"^7.0.2","process.env.npm_package_devDependencies_idb":"^6.1.5","process.env.npm_package_devDependencies_cssnano":"^5.0.11","process.env.NODE":"/usr/local/bin/node","process.env.npm_package_devDependencies_socket_io_client":"^4.2.0","process.env.npm_package_devDependencies_file_loader":"^6.2.0","process.env.INIT_CWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env._P9K_TTY":"/dev/ttys005","process.env.npm_package_devDependencies_terser_webpack_plugin":"^5.2.5","process.env.npm_package_devDependencies__emotion_babel_preset_css_prop":"^11.2.0","process.env.npm_package_homepage":"https://github.com/dao42/d42paas_frontend#readme","process.env.npm_config_version_git_tag":"true","process.env.SHELL":"/bin/zsh","process.env.TERM":"xterm-256color","process.env.npm_package_devDependencies_vite":"^2.7.2","process.env.npm_package_devDependencies_stylis":"^4.0.10","process.env.npm_package_devDependencies_jest":"27.0.6","process.env.npm_package_devDependencies__storybook_addon_essentials":"^6.3.12","process.env.npm_package_devDependencies_style_loader":"^3.3.1","process.env.npm_package_devDependencies_rimraf":"^3.0.2","process.env.TMPDIR":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/","process.env.npm_package_devDependencies_happypack":"^5.0.1","process.env.npm_package_devDependencies__babel_preset_typescript":"^7.15.0","process.env.npm_config_init_license":"MIT","process.env.TERM_PROGRAM_VERSION":"1.63.0","process.env.npm_package_devDependencies_fs_extra":"^10.0.0","process.env.npm_package_devDependencies_concurrently":"^6.3.0","process.env.npm_package_devDependencies_babel_core":"^6.26.3","process.env.npm_package_devDependencies__vitejs_plugin_react":"^1.0.7","process.env.npm_package_devDependencies__types_happypack":"^5.0.2","process.env.npm_package_devDependencies__emotion_react":"^11.4.1","process.env.npm_package_scripts_copyTS":"shx cp ./src/types/editor.d.ts ./dist","process.env.npm_package_scripts_dev":"vite serve --host --config ./config/vite.config.ts","process.env.ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","process.env.npm_package_devDependencies_sass_loader":"^12.2.0","process.env.npm_package_devDependencies_xterm_addon_fit":"^0.5.0","process.env.npm_package_devDependencies_webpack_bundle_analyzer":"^4.5.0","process.env.npm_package_devDependencies_ot":"^0.0.15","process.env.npm_package_devDependencies__babel_plugin_syntax_dynamic_import":"^7.8.3","process.env.npm_package_scripts_dev_disble":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',"process.env.npm_config_registry":"https://registry.yarnpkg.com","process.env.ZSH":"/Users/NewItem/.oh-my-zsh","process.env.npm_package_repository_url":"git+https://github.com/dao42/d42paas_frontend.git","process.env.npm_package_scripts_fix":"eslint --fix --ext .jsx src/**","process.env.npm_package_devDependencies__emotion_styled":"^11.3.0","process.env.npm_package_scripts_patch":"npm version patch","process.env.USER":"NewItem","process.env.http_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_webpack":"^5.52.0","process.env.npm_package_devDependencies_react":"^17.0.2","process.env.npm_package_devDependencies__babel_plugin_transform_runtime":"^7.15.0","process.env.npm_package_description":"> TODO: description","process.env.npm_package_devDependencies_webpack_cli":"^4.9.1","process.env.npm_package_devDependencies_socket_io":"^4.2.0","process.env.npm_package_devDependencies_glob_all":"^3.2.1","process.env.npm_package_devDependencies_dotenv":"^10.0.0","process.env.npm_package_devDependencies__types_react":"^17.0.24","process.env.npm_package_license":"ISC","process.env.COMMAND_MODE":"unix2003","process.env.npm_package_devDependencies_monaco_editor":"^0.31.0","process.env.npm_package_devDependencies__emotion_babel_plugin":"^11.3.0","process.env.npm_package_scripts_build_storybook":"build-storybook -o .storybook/dist","process.env.npm_package_scripts_prebuild":"rimraf dist","process.env.npm_package_exports___import":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies_webpack_dev_server":"^4.1.0","process.env.npm_package_devDependencies_reflect_metadata":"^0.1.13","process.env.npm_package_devDependencies__babel_core":"^7.9","process.env.SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners","process.env.npm_package_devDependencies_babel_loader":"^8.2.2","process.env.npm_package_devDependencies__types_ip":"^1.1.0","process.env.npm_package_devDependencies__storybook_manager_webpack5":"^6.3.12","process.env.npm_package_devDependencies__storybook_addon_actions":"^6.3.12","process.env.__CF_USER_TEXT_ENCODING":"0x1F6:0x0:0x0","process.env.npm_package_devDependencies_rxjs":"^7.2.0","process.env.npm_package_devDependencies_postcss":"^8.0.9","process.env.npm_package_devDependencies__types_jest":"^27.0.2","process.env.npm_execpath":"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs","process.env.npm_package_devDependencies_webpack_dashboard":"^3.3.6","process.env.npm_package_devDependencies__emotion_core":"^11.0.0","process.env.PAGER":"less","process.env.npm_package_module":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies__fullhuman_postcss_purgecss":"^4.0.3","process.env.npm_package_devDependencies__emotion_css":"^11.1.3","process.env.npm_package_author_name":"eric183","process.env.LSCOLORS":"Gxfxcxdxbxegedabagacad","process.env.YARN_IGNORE_PATH":"1","process.env.npm_package_devDependencies_mini_css_extract_plugin":"^2.4.5","process.env.npm_package_devDependencies__types_react_dom":"^17.0.9","process.env.npm_package_devDependencies__babel_runtime":"^7.15.4","process.env.npm_package_scripts_vite_save":"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.PATH":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640600824796-0.725851819680082:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh","process.env.npm_config_argv":'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',"process.env.npm_package_devDependencies_uuid":"^8.3.2","process.env.npm_package_devDependencies__types_css_minimizer_webpack_plugin":"^3.0.2","process.env.npm_package_scripts_start_web":"yarn prebuild && yarn vite","process.env.npm_package_devDependencies_lottie_web":"^5.7.14","process.env.npm_config_workspaces_experimental":"true","process.env._":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite","process.env.npm_config_https_proxy":"http://127.0.0.1:8889/","process.env.__CFBundleIdentifier":"com.microsoft.VSCode","process.env.npm_package_devDependencies_ts_jest":"^27.0.3","process.env.PWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env.npm_package_devDependencies_zustand":"^3.5.10","process.env.npm_package_devDependencies_tailwindcss":"^3.0.7","process.env.npm_package_bugs_url":"https://github.com/dao42/d42paas_frontend/issues","process.env.npm_package_devDependencies_react_loading_skeleton":"^3.0.1","process.env.npm_package_devDependencies__types_lodash":"^4.14.175","process.env.P9K_SSH":"0","process.env.npm_lifecycle_event":"vite","process.env.LANG":"en_US.UTF-8","process.env.P9K_TTY":"old","process.env.npm_package_repository_type":"git","process.env.npm_package_devDependencies__types_mini_css_extract_plugin":"^2.4.0","process.env.npm_package_dependencies__dao42_d42paas_rtc":"^0.1.8","process.env.npm_package_types":"./dist/editor.d.ts","process.env.npm_package_name":"@dao42/d42paas-front","process.env.npm_package_devDependencies__babel_preset_react":"^7.14.5","process.env.npm_package_devDependencies__babel_preset_env":"^7.15.4","process.env.npm_package_scripts_analyse":'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',"process.env.npm_package_devDependencies_sass":"^1.43.2","process.env.npm_config_version_commit_hooks":"true","process.env.XPC_FLAGS":"0x0","process.env.VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","process.env.npm_package_devDependencies_ts_loader":"^9.2.5","process.env.npm_package_devDependencies_react_complex_tree":"^1.1.2","process.env.npm_package_devDependencies__types_dotenv_webpack":"^7.0.3","process.env.npm_package_exports___dist_style_css_import":"./dist/style.css","process.env.npm_config_bin_links":"true","process.env.npm_package_devDependencies__storybook_react":"^6.3.12","process.env.https_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_speed_measure_webpack_plugin":"^1.5.0","process.env.npm_package_main":"./dist/DaoPaaS.umd.js","process.env.XPC_SERVICE_NAME":"0","process.env.npm_package_devDependencies_react_spring":"^9.2.4","process.env.npm_package_version":"0.5.11","process.env.npm_package_devDependencies_three":"^0.132.2","process.env.npm_package_devDependencies_css_minimizer_webpack_plugin":"^3.1.4","process.env.npm_package_devDependencies_autoprefixer":"^10.0.2","process.env.npm_package_devDependencies__storybook_addon_postcss":"^2.0.0","process.env.npm_package_scripts_vite":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.HOME":"/Users/NewItem","process.env.SHLVL":"2","process.env.npm_package_devDependencies_reconnecting_websocket":"^4.4.0","process.env.npm_package_scripts_dev_save":"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts","process.env.VSCODE_GIT_ASKPASS_MAIN":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js","process.env.npm_package_scripts_storybook":"start-storybook -p 6006","process.env.npm_package_devDependencies_lodash":"^4.17.21","process.env.npm_package_devDependencies_ip":"^1.1.5","process.env.npm_package_scripts_webpack":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',"process.env.npm_config_save_prefix":"^","process.env.npm_config_strict_ssl":"true","process.env.npm_config_version_git_message":"v%s","process.env.npm_package_devDependencies_ts_node":"^10.0.0","process.env.npm_package_devDependencies_react_router_dom":"^5.3.0","process.env.npm_package_devDependencies__react_spring_types":"^9.2.4","process.env.LOGNAME":"NewItem","process.env.LESS":"-R","process.env.YARN_WRAP_OUTPUT":"false","process.env.npm_package_devDependencies_html_webpack_plugin":"^5.3.2","process.env.npm_lifecycle_script":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.npm_package_exports___require":"./dist/DaoPaaS.umd.js","process.env.VSCODE_GIT_IPC_HANDLE":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock","process.env.npm_package_exports___dist_style_css_require":"./dist/style.css","process.env.npm_package_author_email":"kk297466058@gmail.com","process.env.npm_config_ignore_path":"1","process.env.npm_config_proxy":"http://127.0.0.1:8889/","process.env.npm_package_devDependencies_react_dnd_html5_backend":"^14.0.2","process.env.npm_package_devDependencies_monaco_editor_core":"^0.31.0","process.env.npm_package_devDependencies__types_fs_extra":"^9.0.13","process.env.npm_package_devDependencies_postcss_nesting":"^10.1.0","process.env.npm_package_devDependencies__types_uuid":"^8.3.1","process.env.npm_package_devDependencies__types_ot":"^0.0.5","process.env.npm_config_version_git_sign":"","process.env.npm_config_ignore_scripts":"","process.env.npm_config_user_agent":"yarn/1.22.1 npm/? node/v16.13.1 darwin x64","process.env.GIT_ASKPASS":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh","process.env.VSCODE_GIT_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","process.env.npm_package_devDependencies_dotenv_webpack":"^7.0.3","process.env.npm_package_devDependencies_axios":"^0.21.4","process.env.npm_package_devDependencies__types_webpack":"^5.28.0","process.env.npm_package_files_0":"dist","process.env.npm_package_scripts_np":"npm publish --access-public","process.env.npm_config_init_version":"1.0.0","process.env.npm_config_ignore_optional":"","process.env.npm_package_devDependencies_css_loader":"^6.5.1","process.env.npm_package_devDependencies_react_dnd":"^14.0.4","process.env.COLORTERM":"truecolor","process.env.npm_node_execpath":"/usr/local/bin/node","process.env.npm_package_devDependencies_xterm_addon_attach":"^0.6.0","process.env.npm_package_devDependencies__loadable_component":"^5.15.2","process.env.npm_config_version_tag_prefix":"v","process.env.npm_config_prefix":"/Users/NewItem/.npm-global","process.env.NODE_ENV":"production","process.env.RABBITMQ_USER":"agent","process.env.RABBITMQ_PASSWORD":"d42agent","process.env.RABBITMQ_ORIGIN":"develop.1024paas.com","process.env.RABBITMQ_VHOST":"/dev","process.env.RABBITMQ_PORT":"5672","process.env.SOCKET_INSTANCE_REDIS_HOST":"gz-crs-c68uv1j5.sql.tencentcdb.com","process.env.SOCKET_INSTANCE_REDIS_PORT":"22680","process.env.SOCKET_INSTANCE_REDIS_PASSWORD":"1024paas","process.env.SOCKET_INSTANCE_REDIS_DATABASE":"2","process.env.SOCKET_INSTANCE_CLIENT_PORT":"4001","process.env.TICKET_ORIGIN":"develop.1024paas.com","process.env.TICKET_PORT":"8000",LOCAL_IP_HOST:"192.168.2.11"}[`=${e}`]||Rz(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===xd)&&(s=`${e}\\`));const o=s.length;let a=0,l="",c=!1;const u=s.charCodeAt(0);if(o===1)ir(u)&&(a=1,c=!0);else if(ir(u))if(c=!0,ir(s.charCodeAt(1))){let d=2,h=d;for(;d<o&&!ir(s.charCodeAt(d));)d++;if(d<o&&d!==h){const g=s.slice(h,d);for(h=d;d<o&&ir(s.charCodeAt(d));)d++;if(d<o&&d!==h){for(h=d;d<o&&!ir(s.charCodeAt(d));)d++;(d===o||d!==h)&&(l=`\\\\${g}\\${s.slice(h,d)}`,a=d)}}}else a=1;else s1(u)&&s.charCodeAt(1)===r1&&(l=s.slice(0,2),a=2,o>2&&ir(s.charCodeAt(2))&&(c=!0,a=3));if(l.length>0)if(e.length>0){if(l.toLowerCase()!==e.toLowerCase())continue}else e=l;if(n){if(e.length>0)break}else if(t=`${s.slice(a)}\\${t}`,n=c,c&&e.length>0)break}return t=c5(t,!n,"\\",ir),n?`${e}\\${t}`:`${e}${t}`||"."},normalize(i){ma(i,"path");const e=i.length;if(e===0)return".";let t=0,n,r=!1;const s=i.charCodeAt(0);if(e===1)return Nz(s)?"\\":i;if(ir(s))if(r=!0,ir(i.charCodeAt(1))){let a=2,l=a;for(;a<e&&!ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){const c=i.slice(l,a);for(l=a;a<e&&ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!ir(i.charCodeAt(a));)a++;if(a===e)return`\\\\${c}\\${i.slice(l)}\\`;a!==l&&(n=`\\\\${c}\\${i.slice(l,a)}`,t=a)}}}else t=1;else s1(s)&&i.charCodeAt(1)===r1&&(n=i.slice(0,2),t=2,e>2&&ir(i.charCodeAt(2))&&(r=!0,t=3));let o=t<e?c5(i.slice(t),!r,"\\",ir):"";return o.length===0&&!r&&(o="."),o.length>0&&ir(i.charCodeAt(e-1))&&(o+="\\"),n===void 0?r?`\\${o}`:o:r?`${n}\\${o}`:`${n}${o}`},isAbsolute(i){ma(i,"path");const e=i.length;if(e===0)return!1;const t=i.charCodeAt(0);return ir(t)||e>2&&s1(t)&&i.charCodeAt(1)===r1&&ir(i.charCodeAt(2))},join(...i){if(i.length===0)return".";let e,t;for(let s=0;s<i.length;++s){const o=i[s];ma(o,"path"),o.length>0&&(e===void 0?e=t=o:e+=`\\${o}`)}if(e===void 0)return".";let n=!0,r=0;if(typeof t=="string"&&ir(t.charCodeAt(0))){++r;const s=t.length;s>1&&ir(t.charCodeAt(1))&&(++r,s>2&&(ir(t.charCodeAt(2))?++r:n=!1))}if(n){for(;r<e.length&&ir(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return Mu.normalize(e)},relative(i,e){if(ma(i,"from"),ma(e,"to"),i===e)return"";const t=Mu.resolve(i),n=Mu.resolve(e);if(t===n||(i=t.toLowerCase(),e=n.toLowerCase(),i===e))return"";let r=0;for(;r<i.length&&i.charCodeAt(r)===xd;)r++;let s=i.length;for(;s-1>r&&i.charCodeAt(s-1)===xd;)s--;const o=s-r;let a=0;for(;a<e.length&&e.charCodeAt(a)===xd;)a++;let l=e.length;for(;l-1>a&&e.charCodeAt(l-1)===xd;)l--;const c=l-a,u=o<c?o:c;let d=-1,h=0;for(;h<u;h++){const m=i.charCodeAt(r+h);if(m!==e.charCodeAt(a+h))break;m===xd&&(d=h)}if(h!==u){if(d===-1)return n}else{if(c>u){if(e.charCodeAt(a+h)===xd)return n.slice(a+h+1);if(h===2)return n.slice(a+h)}o>u&&(i.charCodeAt(r+h)===xd?d=h:h===2&&(d=3)),d===-1&&(d=0)}let g="";for(h=r+d+1;h<=s;++h)(h===s||i.charCodeAt(h)===xd)&&(g+=g.length===0?"..":"\\..");return a+=d,g.length>0?`${g}${n.slice(a,l)}`:(n.charCodeAt(a)===xd&&++a,n.slice(a,l))},toNamespacedPath(i){if(typeof i!="string")return i;if(i.length===0)return"";const e=Mu.resolve(i);if(e.length<=2)return i;if(e.charCodeAt(0)===xd){if(e.charCodeAt(1)===xd){const t=e.charCodeAt(2);if(t!==Uet&&t!==n1)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(s1(e.charCodeAt(0))&&e.charCodeAt(1)===r1&&e.charCodeAt(2)===xd)return`\\\\?\\${e}`;return i},dirname(i){ma(i,"path");const e=i.length;if(e===0)return".";let t=-1,n=0;const r=i.charCodeAt(0);if(e===1)return ir(r)?i:".";if(ir(r)){if(t=n=1,ir(i.charCodeAt(1))){let a=2,l=a;for(;a<e&&!ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!ir(i.charCodeAt(a));)a++;if(a===e)return i;a!==l&&(t=n=a+1)}}}}else s1(r)&&i.charCodeAt(1)===r1&&(t=e>2&&ir(i.charCodeAt(2))?3:2,n=t);let s=-1,o=!0;for(let a=e-1;a>=n;--a)if(ir(i.charCodeAt(a))){if(!o){s=a;break}}else o=!1;if(s===-1){if(t===-1)return".";s=t}return i.slice(0,s)},basename(i,e){e!==void 0&&ma(e,"ext"),ma(i,"path");let t=0,n=-1,r=!0,s;if(i.length>=2&&s1(i.charCodeAt(0))&&i.charCodeAt(1)===r1&&(t=2),e!==void 0&&e.length>0&&e.length<=i.length){if(e===i)return"";let o=e.length-1,a=-1;for(s=i.length-1;s>=t;--s){const l=i.charCodeAt(s);if(ir(l)){if(!r){t=s+1;break}}else a===-1&&(r=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o==-1&&(n=s):(o=-1,n=a))}return t===n?n=a:n===-1&&(n=i.length),i.slice(t,n)}for(s=i.length-1;s>=t;--s)if(ir(i.charCodeAt(s))){if(!r){t=s+1;break}}else n===-1&&(r=!1,n=s+1);return n===-1?"":i.slice(t,n)},extname(i){ma(i,"path");let e=0,t=-1,n=0,r=-1,s=!0,o=0;i.length>=2&&i.charCodeAt(1)===r1&&s1(i.charCodeAt(0))&&(e=n=2);for(let a=i.length-1;a>=e;--a){const l=i.charCodeAt(a);if(ir(l)){if(!s){n=a+1;break}continue}r===-1&&(s=!1,r=a+1),l===n1?t===-1?t=a:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||r===-1||o===0||o===1&&t===r-1&&t===n+1?"":i.slice(t,r)},format:Ape.bind(null,"\\"),parse(i){ma(i,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return e;const t=i.length;let n=0,r=i.charCodeAt(0);if(t===1)return ir(r)?(e.root=e.dir=i,e):(e.base=e.name=i,e);if(ir(r)){if(n=1,ir(i.charCodeAt(1))){let d=2,h=d;for(;d<t&&!ir(i.charCodeAt(d));)d++;if(d<t&&d!==h){for(h=d;d<t&&ir(i.charCodeAt(d));)d++;if(d<t&&d!==h){for(h=d;d<t&&!ir(i.charCodeAt(d));)d++;d===t?n=d:d!==h&&(n=d+1)}}}}else if(s1(r)&&i.charCodeAt(1)===r1){if(t<=2)return e.root=e.dir=i,e;if(n=2,ir(i.charCodeAt(2))){if(t===3)return e.root=e.dir=i,e;n=3}}n>0&&(e.root=i.slice(0,n));let s=-1,o=n,a=-1,l=!0,c=i.length-1,u=0;for(;c>=n;--c){if(r=i.charCodeAt(c),ir(r)){if(!l){o=c+1;break}continue}a===-1&&(l=!1,a=c+1),r===n1?s===-1?s=c:u!==1&&(u=1):s!==-1&&(u=-1)}return a!==-1&&(s===-1||u===0||u===1&&s===a-1&&s===o+1?e.base=e.name=i.slice(o,a):(e.name=i.slice(o,s),e.base=i.slice(o,a),e.ext=i.slice(s,a))),o>0&&o!==n?e.dir=i.slice(0,o-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Co={resolve(...i){let e="",t=!1;for(let n=i.length-1;n>=-1&&!t;n--){const r=n>=0?i[n]:Rz();ma(r,"path"),r.length!==0&&(e=`${r}/${e}`,t=r.charCodeAt(0)===nc)}return e=c5(e,!t,"/",Nz),t?`/${e}`:e.length>0?e:"."},normalize(i){if(ma(i,"path"),i.length===0)return".";const e=i.charCodeAt(0)===nc,t=i.charCodeAt(i.length-1)===nc;return i=c5(i,!e,"/",Nz),i.length===0?e?"/":t?"./":".":(t&&(i+="/"),e?`/${i}`:i)},isAbsolute(i){return ma(i,"path"),i.length>0&&i.charCodeAt(0)===nc},join(...i){if(i.length===0)return".";let e;for(let t=0;t<i.length;++t){const n=i[t];ma(n,"path"),n.length>0&&(e===void 0?e=n:e+=`/${n}`)}return e===void 0?".":Co.normalize(e)},relative(i,e){if(ma(i,"from"),ma(e,"to"),i===e||(i=Co.resolve(i),e=Co.resolve(e),i===e))return"";const t=1,n=i.length,r=n-t,s=1,o=e.length-s,a=r<o?r:o;let l=-1,c=0;for(;c<a;c++){const d=i.charCodeAt(t+c);if(d!==e.charCodeAt(s+c))break;d===nc&&(l=c)}if(c===a)if(o>a){if(e.charCodeAt(s+c)===nc)return e.slice(s+c+1);if(c===0)return e.slice(s+c)}else r>a&&(i.charCodeAt(t+c)===nc?l=c:c===0&&(l=0));let u="";for(c=t+l+1;c<=n;++c)(c===n||i.charCodeAt(c)===nc)&&(u+=u.length===0?"..":"/..");return`${u}${e.slice(s+l)}`},toNamespacedPath(i){return i},dirname(i){if(ma(i,"path"),i.length===0)return".";const e=i.charCodeAt(0)===nc;let t=-1,n=!0;for(let r=i.length-1;r>=1;--r)if(i.charCodeAt(r)===nc){if(!n){t=r;break}}else n=!1;return t===-1?e?"/":".":e&&t===1?"//":i.slice(0,t)},basename(i,e){e!==void 0&&ma(e,"ext"),ma(i,"path");let t=0,n=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=i.length){if(e===i)return"";let o=e.length-1,a=-1;for(s=i.length-1;s>=0;--s){const l=i.charCodeAt(s);if(l===nc){if(!r){t=s+1;break}}else a===-1&&(r=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o==-1&&(n=s):(o=-1,n=a))}return t===n?n=a:n===-1&&(n=i.length),i.slice(t,n)}for(s=i.length-1;s>=0;--s)if(i.charCodeAt(s)===nc){if(!r){t=s+1;break}}else n===-1&&(r=!1,n=s+1);return n===-1?"":i.slice(t,n)},extname(i){ma(i,"path");let e=-1,t=0,n=-1,r=!0,s=0;for(let o=i.length-1;o>=0;--o){const a=i.charCodeAt(o);if(a===nc){if(!r){t=o+1;break}continue}n===-1&&(r=!1,n=o+1),a===n1?e===-1?e=o:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||n===-1||s===0||s===1&&e===n-1&&e===t+1?"":i.slice(e,n)},format:Ape.bind(null,"/"),parse(i){ma(i,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return e;const t=i.charCodeAt(0)===nc;let n;t?(e.root="/",n=1):n=0;let r=-1,s=0,o=-1,a=!0,l=i.length-1,c=0;for(;l>=n;--l){const u=i.charCodeAt(l);if(u===nc){if(!a){s=l+1;break}continue}o===-1&&(a=!1,o=l+1),u===n1?r===-1?r=l:c!==1&&(c=1):r!==-1&&(c=-1)}if(o!==-1){const u=s===0&&t?1:s;r===-1||c===0||c===1&&r===o-1&&r===s+1?e.base=e.name=i.slice(u,o):(e.name=i.slice(u,r),e.base=i.slice(u,o),e.ext=i.slice(r,o))}return s>0?e.dir=i.slice(0,s-1):t&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};Co.win32=Mu.win32=Mu,Co.posix=Mu.posix=Co;const Oz=Oy==="win32"?Mu.normalize:Co.normalize,Wet=Oy==="win32"?Mu.resolve:Co.resolve,Spe=Oy==="win32"?Mu.relative:Co.relative,wpe=Oy==="win32"?Mu.dirname:Co.dirname,Py=Oy==="win32"?Mu.basename:Co.basename,Het=Oy==="win32"?Mu.extname:Co.extname,jp=Oy==="win32"?Mu.sep:Co.sep,Vet=/^\w[\w\d+.-]*$/,jet=/^\//,$et=/^\/\//;function Epe(i,e){if(!i.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${i.authority}", path: "${i.path}", query: "${i.query}", fragment: "${i.fragment}"}`);if(i.scheme&&!Vet.test(i.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(i.path){if(i.authority){if(!jet.test(i.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if($et.test(i.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function zet(i,e){return!i&&!e?"file":i}function Ket(i,e){switch(i){case"https":case"http":case"file":e?e[0]!==ug&&(e=ug+e):e=ug;break}return e}const io="",ug="/",Get=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Di{constructor(e,t,n,r,s,o=!1){typeof e=="object"?(this.scheme=e.scheme||io,this.authority=e.authority||io,this.path=e.path||io,this.query=e.query||io,this.fragment=e.fragment||io):(this.scheme=zet(e,o),this.authority=t||io,this.path=Ket(this.scheme,n||io),this.query=r||io,this.fragment=s||io,Epe(this,o))}static isUri(e){return e instanceof Di?!0:e?typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function":!1}get fsPath(){return u5(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:s,fragment:o}=e;return t===void 0?t=this.scheme:t===null&&(t=io),n===void 0?n=this.authority:n===null&&(n=io),r===void 0?r=this.path:r===null&&(r=io),s===void 0?s=this.query:s===null&&(s=io),o===void 0?o=this.fragment:o===null&&(o=io),t===this.scheme&&n===this.authority&&r===this.path&&s===this.query&&o===this.fragment?this:new nE(t,n,r,s,o)}static parse(e,t=!1){const n=Get.exec(e);return n?new nE(n[2]||io,d5(n[4]||io),d5(n[5]||io),d5(n[7]||io),d5(n[9]||io),t):new nE(io,io,io,io,io)}static file(e){let t=io;if(Ba&&(e=e.replace(/\\/g,ug)),e[0]===ug&&e[1]===ug){const n=e.indexOf(ug,2);n===-1?(t=e.substring(2),e=ug):(t=e.substring(2,n),e=e.substring(n)||ug)}return new nE("file",t,e,io,io)}static from(e){const t=new nE(e.scheme,e.authority,e.path,e.query,e.fragment);return Epe(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return Ba&&e.scheme==="file"?n=Di.file(Mu.join(u5(e,!0),...t)).path:n=Co.join(e.path,...t),e.with({path:n})}toString(e=!1){return Pz(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof Di)return e;{const t=new nE(e);return t._formatted=e.external,t._fsPath=e._sep===Ipe?e.fsPath:null,t}}else return e}}const Ipe=Ba?1:void 0;class nE extends Di{constructor(){super(...arguments);this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=u5(this,!1)),this._fsPath}toString(e=!1){return e?Pz(this,!0):(this._formatted||(this._formatted=Pz(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Ipe),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const Tpe={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function xpe(i,e){let t,n=-1;for(let r=0;r<i.length;r++){const s=i.charCodeAt(r);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||e&&s===47)n!==-1&&(t+=encodeURIComponent(i.substring(n,r)),n=-1),t!==void 0&&(t+=i.charAt(r));else{t===void 0&&(t=i.substr(0,r));const o=Tpe[s];o!==void 0?(n!==-1&&(t+=encodeURIComponent(i.substring(n,r)),n=-1),t+=o):n===-1&&(n=r)}}return n!==-1&&(t+=encodeURIComponent(i.substring(n))),t!==void 0?t:i}function Qet(i){let e;for(let t=0;t<i.length;t++){const n=i.charCodeAt(t);n===35||n===63?(e===void 0&&(e=i.substr(0,t)),e+=Tpe[n]):e!==void 0&&(e+=i[t])}return e!==void 0?e:i}function u5(i,e){let t;return i.authority&&i.path.length>1&&i.scheme==="file"?t=`//${i.authority}${i.path}`:i.path.charCodeAt(0)===47&&(i.path.charCodeAt(1)>=65&&i.path.charCodeAt(1)<=90||i.path.charCodeAt(1)>=97&&i.path.charCodeAt(1)<=122)&&i.path.charCodeAt(2)===58?e?t=i.path.substr(1):t=i.path[1].toLowerCase()+i.path.substr(2):t=i.path,Ba&&(t=t.replace(/\//g,"\\")),t}function Pz(i,e){const t=e?Qet:xpe;let n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=i;if(r&&(n+=r,n+=":"),(s||r==="file")&&(n+=ug,n+=ug),s){let c=s.indexOf("@");if(c!==-1){const u=s.substr(0,c);s=s.substr(c+1),c=u.indexOf(":"),c===-1?n+=t(u,!1):(n+=t(u.substr(0,c),!1),n+=":",n+=t(u.substr(c+1),!1)),n+="@"}s=s.toLowerCase(),c=s.indexOf(":"),c===-1?n+=t(s,!1):(n+=t(s.substr(0,c),!1),n+=s.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}n+=t(o,!0)}return a&&(n+="?",n+=t(a,!1)),l&&(n+="#",n+=e?l:xpe(l,!1)),n}function Dpe(i){try{return decodeURIComponent(i)}catch{return i.length>3?i.substr(0,3)+Dpe(i.substr(3)):i}}const kpe=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function d5(i){return i.match(kpe)?i.replace(kpe,e=>Dpe(e)):i}class Qe{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new Qe(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return Qe.equals(this,e)}static equals(e,t){return!e&&!t?!0:!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return Qe.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<t.column}isBeforeOrEqual(e){return Qe.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<=t.column}static compare(e,t){let n=e.lineNumber|0,r=t.lineNumber|0;if(n===r){let s=e.column|0,o=t.column|0;return s-o}return n-r}clone(){return new Qe(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new Qe(e.lineNumber,e.column)}static isIPosition(e){return e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}}class de{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return de.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return de.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<e.startColumn||t.lineNumber===e.endLineNumber&&t.column>e.endColumn)}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<=e.startColumn||t.lineNumber===e.endLineNumber&&t.column>=e.endColumn)}containsRange(e){return de.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)}strictContainsRange(e){return de.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return de.plusRange(this,e)}static plusRange(e,t){let n,r,s,o;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(s=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,o=e.endColumn),new de(n,r,s,o)}intersectRanges(e){return de.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,o=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,u=t.endColumn;return n<a?(n=a,r=l):n===a&&(r=Math.max(r,l)),s>c?(s=c,o=u):s===c&&(o=Math.min(o,u)),n>s||n===s&&r>o?null:new de(n,r,s,o)}equalsRange(e){return de.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return de.getEndPosition(this)}static getEndPosition(e){return new Qe(e.endLineNumber,e.endColumn)}getStartPosition(){return de.getStartPosition(this)}static getStartPosition(e){return new Qe(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new de(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new de(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return de.collapseToStart(this)}static collapseToStart(e){return new de(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new de(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new de(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const s=e.startLineNumber|0,o=t.startLineNumber|0;if(s===o){const a=e.startColumn|0,l=t.startColumn|0;if(a===l){const c=e.endLineNumber|0,u=t.endLineNumber|0;if(c===u){const d=e.endColumn|0,h=t.endColumn|0;return d-h}return c-u}return a-l}return s-o}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}class jt extends de{constructor(e,t,n,r){super(e,t,n,r);this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return jt.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return this.getDirection()===0?new jt(this.startLineNumber,this.startColumn,e,t):new jt(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new Qe(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Qe(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return this.getDirection()===0?new jt(e,t,this.endLineNumber,this.endColumn):new jt(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new jt(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return t===0?new jt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new jt(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new jt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,t,n,r,s){return s===0?new jt(e,t,n,r):new jt(n,r,e,t)}}class h5{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class Mz{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class f5{constructor(e,t){this._tokenizationResult2Brand=void 0,this.tokens=e,this.endState=t}}var Bz;(function(i){i[i.Unknown=0]="Unknown",i[i.Disabled=1]="Disabled",i[i.Enabled=2]="Enabled"})(Bz||(Bz={}));var Fz;(function(i){i[i.KeepWhitespace=1]="KeepWhitespace",i[i.InsertAsSnippet=4]="InsertAsSnippet"})(Fz||(Fz={}));var Uz;(function(i){i[i.Method=0]="Method",i[i.Function=1]="Function",i[i.Constructor=2]="Constructor",i[i.Field=3]="Field",i[i.Variable=4]="Variable",i[i.Class=5]="Class",i[i.Struct=6]="Struct",i[i.Interface=7]="Interface",i[i.Module=8]="Module",i[i.Property=9]="Property",i[i.Event=10]="Event",i[i.Operator=11]="Operator",i[i.Unit=12]="Unit",i[i.Value=13]="Value",i[i.Constant=14]="Constant",i[i.Enum=15]="Enum",i[i.EnumMember=16]="EnumMember",i[i.Keyword=17]="Keyword",i[i.Text=18]="Text",i[i.Color=19]="Color",i[i.File=20]="File",i[i.Reference=21]="Reference",i[i.Customcolor=22]="Customcolor",i[i.Folder=23]="Folder",i[i.TypeParameter=24]="TypeParameter",i[i.User=25]="User",i[i.Issue=26]="Issue",i[i.Snippet=27]="Snippet"})(Uz||(Uz={}));var Wz;(function(i){i[i.Deprecated=1]="Deprecated"})(Wz||(Wz={}));var Hz;(function(i){i[i.Invoke=0]="Invoke",i[i.TriggerCharacter=1]="TriggerCharacter",i[i.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Hz||(Hz={}));var Vz;(function(i){i[i.EXACT=0]="EXACT",i[i.ABOVE=1]="ABOVE",i[i.BELOW=2]="BELOW"})(Vz||(Vz={}));var jz;(function(i){i[i.NotSet=0]="NotSet",i[i.ContentFlush=1]="ContentFlush",i[i.RecoverFromMarkers=2]="RecoverFromMarkers",i[i.Explicit=3]="Explicit",i[i.Paste=4]="Paste",i[i.Undo=5]="Undo",i[i.Redo=6]="Redo"})(jz||(jz={}));var $z;(function(i){i[i.LF=1]="LF",i[i.CRLF=2]="CRLF"})($z||($z={}));var zz;(function(i){i[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write"})(zz||(zz={}));var Kz;(function(i){i[i.None=0]="None",i[i.Keep=1]="Keep",i[i.Brackets=2]="Brackets",i[i.Advanced=3]="Advanced",i[i.Full=4]="Full"})(Kz||(Kz={}));var Gz;(function(i){i[i.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",i[i.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",i[i.accessibilitySupport=2]="accessibilitySupport",i[i.accessibilityPageSize=3]="accessibilityPageSize",i[i.ariaLabel=4]="ariaLabel",i[i.autoClosingBrackets=5]="autoClosingBrackets",i[i.autoClosingDelete=6]="autoClosingDelete",i[i.autoClosingOvertype=7]="autoClosingOvertype",i[i.autoClosingQuotes=8]="autoClosingQuotes",i[i.autoIndent=9]="autoIndent",i[i.automaticLayout=10]="automaticLayout",i[i.autoSurround=11]="autoSurround",i[i.bracketPairColorization=12]="bracketPairColorization",i[i.guides=13]="guides",i[i.codeLens=14]="codeLens",i[i.codeLensFontFamily=15]="codeLensFontFamily",i[i.codeLensFontSize=16]="codeLensFontSize",i[i.colorDecorators=17]="colorDecorators",i[i.columnSelection=18]="columnSelection",i[i.comments=19]="comments",i[i.contextmenu=20]="contextmenu",i[i.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",i[i.cursorBlinking=22]="cursorBlinking",i[i.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",i[i.cursorStyle=24]="cursorStyle",i[i.cursorSurroundingLines=25]="cursorSurroundingLines",i[i.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",i[i.cursorWidth=27]="cursorWidth",i[i.disableLayerHinting=28]="disableLayerHinting",i[i.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",i[i.domReadOnly=30]="domReadOnly",i[i.dragAndDrop=31]="dragAndDrop",i[i.emptySelectionClipboard=32]="emptySelectionClipboard",i[i.extraEditorClassName=33]="extraEditorClassName",i[i.fastScrollSensitivity=34]="fastScrollSensitivity",i[i.find=35]="find",i[i.fixedOverflowWidgets=36]="fixedOverflowWidgets",i[i.folding=37]="folding",i[i.foldingStrategy=38]="foldingStrategy",i[i.foldingHighlight=39]="foldingHighlight",i[i.foldingImportsByDefault=40]="foldingImportsByDefault",i[i.unfoldOnClickAfterEndOfLine=41]="unfoldOnClickAfterEndOfLine",i[i.fontFamily=42]="fontFamily",i[i.fontInfo=43]="fontInfo",i[i.fontLigatures=44]="fontLigatures",i[i.fontSize=45]="fontSize",i[i.fontWeight=46]="fontWeight",i[i.formatOnPaste=47]="formatOnPaste",i[i.formatOnType=48]="formatOnType",i[i.glyphMargin=49]="glyphMargin",i[i.gotoLocation=50]="gotoLocation",i[i.hideCursorInOverviewRuler=51]="hideCursorInOverviewRuler",i[i.hover=52]="hover",i[i.inDiffEditor=53]="inDiffEditor",i[i.inlineSuggest=54]="inlineSuggest",i[i.letterSpacing=55]="letterSpacing",i[i.lightbulb=56]="lightbulb",i[i.lineDecorationsWidth=57]="lineDecorationsWidth",i[i.lineHeight=58]="lineHeight",i[i.lineNumbers=59]="lineNumbers",i[i.lineNumbersMinChars=60]="lineNumbersMinChars",i[i.linkedEditing=61]="linkedEditing",i[i.links=62]="links",i[i.matchBrackets=63]="matchBrackets",i[i.minimap=64]="minimap",i[i.mouseStyle=65]="mouseStyle",i[i.mouseWheelScrollSensitivity=66]="mouseWheelScrollSensitivity",i[i.mouseWheelZoom=67]="mouseWheelZoom",i[i.multiCursorMergeOverlapping=68]="multiCursorMergeOverlapping",i[i.multiCursorModifier=69]="multiCursorModifier",i[i.multiCursorPaste=70]="multiCursorPaste",i[i.occurrencesHighlight=71]="occurrencesHighlight",i[i.overviewRulerBorder=72]="overviewRulerBorder",i[i.overviewRulerLanes=73]="overviewRulerLanes",i[i.padding=74]="padding",i[i.parameterHints=75]="parameterHints",i[i.peekWidgetDefaultFocus=76]="peekWidgetDefaultFocus",i[i.definitionLinkOpensInPeek=77]="definitionLinkOpensInPeek",i[i.quickSuggestions=78]="quickSuggestions",i[i.quickSuggestionsDelay=79]="quickSuggestionsDelay",i[i.readOnly=80]="readOnly",i[i.renameOnType=81]="renameOnType",i[i.renderControlCharacters=82]="renderControlCharacters",i[i.renderFinalNewline=83]="renderFinalNewline",i[i.renderLineHighlight=84]="renderLineHighlight",i[i.renderLineHighlightOnlyWhenFocus=85]="renderLineHighlightOnlyWhenFocus",i[i.renderValidationDecorations=86]="renderValidationDecorations",i[i.renderWhitespace=87]="renderWhitespace",i[i.revealHorizontalRightPadding=88]="revealHorizontalRightPadding",i[i.roundedSelection=89]="roundedSelection",i[i.rulers=90]="rulers",i[i.scrollbar=91]="scrollbar",i[i.scrollBeyondLastColumn=92]="scrollBeyondLastColumn",i[i.scrollBeyondLastLine=93]="scrollBeyondLastLine",i[i.scrollPredominantAxis=94]="scrollPredominantAxis",i[i.selectionClipboard=95]="selectionClipboard",i[i.selectionHighlight=96]="selectionHighlight",i[i.selectOnLineNumbers=97]="selectOnLineNumbers",i[i.showFoldingControls=98]="showFoldingControls",i[i.showUnused=99]="showUnused",i[i.snippetSuggestions=100]="snippetSuggestions",i[i.smartSelect=101]="smartSelect",i[i.smoothScrolling=102]="smoothScrolling",i[i.stickyTabStops=103]="stickyTabStops",i[i.stopRenderingLineAfter=104]="stopRenderingLineAfter",i[i.suggest=105]="suggest",i[i.suggestFontSize=106]="suggestFontSize",i[i.suggestLineHeight=107]="suggestLineHeight",i[i.suggestOnTriggerCharacters=108]="suggestOnTriggerCharacters",i[i.suggestSelection=109]="suggestSelection",i[i.tabCompletion=110]="tabCompletion",i[i.tabIndex=111]="tabIndex",i[i.unicodeHighlighting=112]="unicodeHighlighting",i[i.unusualLineTerminators=113]="unusualLineTerminators",i[i.useShadowDOM=114]="useShadowDOM",i[i.useTabStops=115]="useTabStops",i[i.wordSeparators=116]="wordSeparators",i[i.wordWrap=117]="wordWrap",i[i.wordWrapBreakAfterCharacters=118]="wordWrapBreakAfterCharacters",i[i.wordWrapBreakBeforeCharacters=119]="wordWrapBreakBeforeCharacters",i[i.wordWrapColumn=120]="wordWrapColumn",i[i.wordWrapOverride1=121]="wordWrapOverride1",i[i.wordWrapOverride2=122]="wordWrapOverride2",i[i.wrappingIndent=123]="wrappingIndent",i[i.wrappingStrategy=124]="wrappingStrategy",i[i.showDeprecated=125]="showDeprecated",i[i.inlayHints=126]="inlayHints",i[i.editorClassName=127]="editorClassName",i[i.pixelRatio=128]="pixelRatio",i[i.tabFocusMode=129]="tabFocusMode",i[i.layoutInfo=130]="layoutInfo",i[i.wrappingInfo=131]="wrappingInfo"})(Gz||(Gz={}));var Qz;(function(i){i[i.TextDefined=0]="TextDefined",i[i.LF=1]="LF",i[i.CRLF=2]="CRLF"})(Qz||(Qz={}));var qz;(function(i){i[i.LF=0]="LF",i[i.CRLF=1]="CRLF"})(qz||(qz={}));var Yz;(function(i){i[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent"})(Yz||(Yz={}));var Xz;(function(i){i[i.Other=0]="Other",i[i.Type=1]="Type",i[i.Parameter=2]="Parameter"})(Xz||(Xz={}));var Jz;(function(i){i[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit"})(Jz||(Jz={}));var Zz;(function(i){i[i.DependsOnKbLayout=-1]="DependsOnKbLayout",i[i.Unknown=0]="Unknown",i[i.Backspace=1]="Backspace",i[i.Tab=2]="Tab",i[i.Enter=3]="Enter",i[i.Shift=4]="Shift",i[i.Ctrl=5]="Ctrl",i[i.Alt=6]="Alt",i[i.PauseBreak=7]="PauseBreak",i[i.CapsLock=8]="CapsLock",i[i.Escape=9]="Escape",i[i.Space=10]="Space",i[i.PageUp=11]="PageUp",i[i.PageDown=12]="PageDown",i[i.End=13]="End",i[i.Home=14]="Home",i[i.LeftArrow=15]="LeftArrow",i[i.UpArrow=16]="UpArrow",i[i.RightArrow=17]="RightArrow",i[i.DownArrow=18]="DownArrow",i[i.Insert=19]="Insert",i[i.Delete=20]="Delete",i[i.Digit0=21]="Digit0",i[i.Digit1=22]="Digit1",i[i.Digit2=23]="Digit2",i[i.Digit3=24]="Digit3",i[i.Digit4=25]="Digit4",i[i.Digit5=26]="Digit5",i[i.Digit6=27]="Digit6",i[i.Digit7=28]="Digit7",i[i.Digit8=29]="Digit8",i[i.Digit9=30]="Digit9",i[i.KeyA=31]="KeyA",i[i.KeyB=32]="KeyB",i[i.KeyC=33]="KeyC",i[i.KeyD=34]="KeyD",i[i.KeyE=35]="KeyE",i[i.KeyF=36]="KeyF",i[i.KeyG=37]="KeyG",i[i.KeyH=38]="KeyH",i[i.KeyI=39]="KeyI",i[i.KeyJ=40]="KeyJ",i[i.KeyK=41]="KeyK",i[i.KeyL=42]="KeyL",i[i.KeyM=43]="KeyM",i[i.KeyN=44]="KeyN",i[i.KeyO=45]="KeyO",i[i.KeyP=46]="KeyP",i[i.KeyQ=47]="KeyQ",i[i.KeyR=48]="KeyR",i[i.KeyS=49]="KeyS",i[i.KeyT=50]="KeyT",i[i.KeyU=51]="KeyU",i[i.KeyV=52]="KeyV",i[i.KeyW=53]="KeyW",i[i.KeyX=54]="KeyX",i[i.KeyY=55]="KeyY",i[i.KeyZ=56]="KeyZ",i[i.Meta=57]="Meta",i[i.ContextMenu=58]="ContextMenu",i[i.F1=59]="F1",i[i.F2=60]="F2",i[i.F3=61]="F3",i[i.F4=62]="F4",i[i.F5=63]="F5",i[i.F6=64]="F6",i[i.F7=65]="F7",i[i.F8=66]="F8",i[i.F9=67]="F9",i[i.F10=68]="F10",i[i.F11=69]="F11",i[i.F12=70]="F12",i[i.F13=71]="F13",i[i.F14=72]="F14",i[i.F15=73]="F15",i[i.F16=74]="F16",i[i.F17=75]="F17",i[i.F18=76]="F18",i[i.F19=77]="F19",i[i.NumLock=78]="NumLock",i[i.ScrollLock=79]="ScrollLock",i[i.Semicolon=80]="Semicolon",i[i.Equal=81]="Equal",i[i.Comma=82]="Comma",i[i.Minus=83]="Minus",i[i.Period=84]="Period",i[i.Slash=85]="Slash",i[i.Backquote=86]="Backquote",i[i.BracketLeft=87]="BracketLeft",i[i.Backslash=88]="Backslash",i[i.BracketRight=89]="BracketRight",i[i.Quote=90]="Quote",i[i.OEM_8=91]="OEM_8",i[i.IntlBackslash=92]="IntlBackslash",i[i.Numpad0=93]="Numpad0",i[i.Numpad1=94]="Numpad1",i[i.Numpad2=95]="Numpad2",i[i.Numpad3=96]="Numpad3",i[i.Numpad4=97]="Numpad4",i[i.Numpad5=98]="Numpad5",i[i.Numpad6=99]="Numpad6",i[i.Numpad7=100]="Numpad7",i[i.Numpad8=101]="Numpad8",i[i.Numpad9=102]="Numpad9",i[i.NumpadMultiply=103]="NumpadMultiply",i[i.NumpadAdd=104]="NumpadAdd",i[i.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",i[i.NumpadSubtract=106]="NumpadSubtract",i[i.NumpadDecimal=107]="NumpadDecimal",i[i.NumpadDivide=108]="NumpadDivide",i[i.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",i[i.ABNT_C1=110]="ABNT_C1",i[i.ABNT_C2=111]="ABNT_C2",i[i.AudioVolumeMute=112]="AudioVolumeMute",i[i.AudioVolumeUp=113]="AudioVolumeUp",i[i.AudioVolumeDown=114]="AudioVolumeDown",i[i.BrowserSearch=115]="BrowserSearch",i[i.BrowserHome=116]="BrowserHome",i[i.BrowserBack=117]="BrowserBack",i[i.BrowserForward=118]="BrowserForward",i[i.MediaTrackNext=119]="MediaTrackNext",i[i.MediaTrackPrevious=120]="MediaTrackPrevious",i[i.MediaStop=121]="MediaStop",i[i.MediaPlayPause=122]="MediaPlayPause",i[i.LaunchMediaPlayer=123]="LaunchMediaPlayer",i[i.LaunchMail=124]="LaunchMail",i[i.LaunchApp2=125]="LaunchApp2",i[i.MAX_VALUE=126]="MAX_VALUE"})(Zz||(Zz={}));var eK;(function(i){i[i.Hint=1]="Hint",i[i.Info=2]="Info",i[i.Warning=4]="Warning",i[i.Error=8]="Error"})(eK||(eK={}));var tK;(function(i){i[i.Unnecessary=1]="Unnecessary",i[i.Deprecated=2]="Deprecated"})(tK||(tK={}));var iK;(function(i){i[i.Inline=1]="Inline",i[i.Gutter=2]="Gutter"})(iK||(iK={}));var nK;(function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.TEXTAREA=1]="TEXTAREA",i[i.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",i[i.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",i[i.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",i[i.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",i[i.CONTENT_TEXT=6]="CONTENT_TEXT",i[i.CONTENT_EMPTY=7]="CONTENT_EMPTY",i[i.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",i[i.CONTENT_WIDGET=9]="CONTENT_WIDGET",i[i.OVERVIEW_RULER=10]="OVERVIEW_RULER",i[i.SCROLLBAR=11]="SCROLLBAR",i[i.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",i[i.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(nK||(nK={}));var rK;(function(i){i[i.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",i[i.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",i[i.TOP_CENTER=2]="TOP_CENTER"})(rK||(rK={}));var sK;(function(i){i[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full"})(sK||(sK={}));var oK;(function(i){i[i.Off=0]="Off",i[i.On=1]="On",i[i.Relative=2]="Relative",i[i.Interval=3]="Interval",i[i.Custom=4]="Custom"})(oK||(oK={}));var aK;(function(i){i[i.None=0]="None",i[i.Text=1]="Text",i[i.Blocks=2]="Blocks"})(aK||(aK={}));var lK;(function(i){i[i.Smooth=0]="Smooth",i[i.Immediate=1]="Immediate"})(lK||(lK={}));var cK;(function(i){i[i.Auto=1]="Auto",i[i.Hidden=2]="Hidden",i[i.Visible=3]="Visible"})(cK||(cK={}));var uK;(function(i){i[i.LTR=0]="LTR",i[i.RTL=1]="RTL"})(uK||(uK={}));var dK;(function(i){i[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange"})(dK||(dK={}));var hK;(function(i){i[i.File=0]="File",i[i.Module=1]="Module",i[i.Namespace=2]="Namespace",i[i.Package=3]="Package",i[i.Class=4]="Class",i[i.Method=5]="Method",i[i.Property=6]="Property",i[i.Field=7]="Field",i[i.Constructor=8]="Constructor",i[i.Enum=9]="Enum",i[i.Interface=10]="Interface",i[i.Function=11]="Function",i[i.Variable=12]="Variable",i[i.Constant=13]="Constant",i[i.String=14]="String",i[i.Number=15]="Number",i[i.Boolean=16]="Boolean",i[i.Array=17]="Array",i[i.Object=18]="Object",i[i.Key=19]="Key",i[i.Null=20]="Null",i[i.EnumMember=21]="EnumMember",i[i.Struct=22]="Struct",i[i.Event=23]="Event",i[i.Operator=24]="Operator",i[i.TypeParameter=25]="TypeParameter"})(hK||(hK={}));var fK;(function(i){i[i.Deprecated=1]="Deprecated"})(fK||(fK={}));var gK;(function(i){i[i.Hidden=0]="Hidden",i[i.Blink=1]="Blink",i[i.Smooth=2]="Smooth",i[i.Phase=3]="Phase",i[i.Expand=4]="Expand",i[i.Solid=5]="Solid"})(gK||(gK={}));var pK;(function(i){i[i.Line=1]="Line",i[i.Block=2]="Block",i[i.Underline=3]="Underline",i[i.LineThin=4]="LineThin",i[i.BlockOutline=5]="BlockOutline",i[i.UnderlineThin=6]="UnderlineThin"})(pK||(pK={}));var mK;(function(i){i[i.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",i[i.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",i[i.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",i[i.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(mK||(mK={}));var _K;(function(i){i[i.None=0]="None",i[i.Same=1]="Same",i[i.Indent=2]="Indent",i[i.DeepIndent=3]="DeepIndent"})(_K||(_K={}));class Hk{static chord(e,t){return pa(e,t)}}Hk.CtrlCmd=2048,Hk.Shift=1024,Hk.Alt=512,Hk.WinCtrl=256;function Lpe(){return{editor:void 0,languages:void 0,CancellationTokenSource:ic,Emitter:Ve,KeyCode:Zz,KeyMod:Hk,Position:Qe,Range:de,Selection:jt,SelectionDirection:uK,MarkerSeverity:eK,MarkerTag:tK,Uri:Di,Token:h5}}var wMt="",dg;(function(i){i.serviceIds=new Map,i.DI_TARGET="$di$target",i.DI_DEPENDENCIES="$di$dependencies";function e(t){return t[i.DI_DEPENDENCIES]||[]}i.getServiceDependencies=e})(dg||(dg={}));const xn=jn("instantiationService");function qet(i,e,t,n){e[dg.DI_TARGET]===e?e[dg.DI_DEPENDENCIES].push({id:i,index:t,optional:n}):(e[dg.DI_DEPENDENCIES]=[{id:i,index:t,optional:n}],e[dg.DI_TARGET]=e)}function jn(i){if(dg.serviceIds.has(i))return dg.serviceIds.get(i);const e=function(t,n,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");qet(e,t,r,!1)};return e.toString=()=>i,dg.serviceIds.set(i,e),e}const Cr=jn("codeEditorService");class My{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new Ve,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let e=document.createElement("canvas").getContext("2d"),t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n}}My.INSTANCE=new My;function g5(){return My.INSTANCE.getZoomLevel()}function Rpe(){return My.INSTANCE.getTimeSinceLastZoomLevelChanged()}function vK(i){return My.INSTANCE.onDidChangeZoomLevel(i)}function Npe(){return My.INSTANCE.getZoomFactor()}function Vk(){return My.INSTANCE.getPixelRatio()}const o1=navigator.userAgent,Bu=o1.indexOf("Firefox")>=0,a1=o1.indexOf("AppleWebKit")>=0,CK=o1.indexOf("Chrome")>=0,gf=!CK&&o1.indexOf("Safari")>=0,Ope=!CK&&!gf&&a1,Yet=o1.indexOf("Edge/")>=0&&o1.indexOf("WebView/")>=0,Xet=o1.indexOf("Electron/")>=0,Ppe=o1.indexOf("Android")>=0,yK=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches;var Jet=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getZoomLevel:g5,getTimeSinceLastZoomLevelChanged:Rpe,onDidChangeZoomLevel:vK,getZoomFactor:Npe,getPixelRatio:Vk,isFirefox:Bu,isWebKit:a1,isChrome:CK,isSafari:gf,isWebkitWebView:Ope,isEdgeLegacyWebView:Yet,isElectron:Xet,isAndroid:Ppe,isStandalone:yK});const p5={clipboard:{writeText:og||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:og||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>og||yK?0:navigator.keyboard||gf?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function bK(i,e){if(i===0)return null;const t=(i&65535)>>>0,n=(i&4294901760)>>>16;return n!==0?new m5([AK(t,e),AK(n,e)]):new m5([AK(t,e)])}function AK(i,e){const t=!!(i&2048),n=!!(i&256),r=e===2?n:t,s=!!(i&1024),o=!!(i&512),a=e===2?t:n,l=i&255;return new By(r,s,o,a,l)}class By{constructor(e,t,n,r,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=s}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new m5([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class m5{constructor(e){if(e.length===0)throw cg("parts");this.parts=e}}class Zet{constructor(e,t,n,r,s,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=s,this.keyAriaLabel=o}}class ett{}function ttt(i){if(i.charCode){let t=String.fromCharCode(i.charCode).toUpperCase();return Ny.fromString(t)}const e=i.keyCode;if(e===3)return 7;if(Bu){if(e===59)return 80;if(e===107)return 81;if(e===109)return 83;if(vn&&e===224)return 57}else if(a1){if(e===91)return 57;if(vn&&e===93)return 57;if(!vn&&e===92)return 57}return ype[e]||0}const itt=vn?256:2048,ntt=512,rtt=1024,stt=vn?2048:256;class ds{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=ttt(t),this.code=t.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=itt),this.altKey&&(t|=ntt),this.shiftKey&&(t|=rtt),this.metaKey&&(t|=stt),t|=e,t}_computeRuntimeKeybinding(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new By(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}let SK=!1,rE=null;function ott(i){if(!i.parent||i.parent===i)return null;try{let e=i.location,t=i.parent.location;if(e.origin!=="null"&&t.origin!=="null"&&e.origin!==t.origin)return SK=!0,null}catch{return SK=!0,null}return i.parent}class wK{static getSameOriginWindowChain(){if(!rE){rE=[];let e=window,t;do t=ott(e),t?rE.push({window:e,iframeElement:e.frameElement||null}):rE.push({window:e,iframeElement:null}),e=t;while(e)}return rE.slice(0)}static hasDifferentOriginAncestor(){return rE||this.getSameOriginWindowChain(),SK}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,r=0,s=this.getSameOriginWindowChain();for(const o of s){if(n+=o.window.scrollY,r+=o.window.scrollX,o.window===t||!o.iframeElement)break;let a=o.iframeElement.getBoundingClientRect();n+=a.top,r+=a.left}return{top:n,left:r}}}class hh{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type==="dblclick"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX=="number"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=wK.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class sE{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let r=e,s=e;if(typeof r.wheelDeltaY!="undefined")this.deltaY=r.wheelDeltaY/120;else if(typeof s.VERTICAL_AXIS!="undefined"&&s.axis===s.VERTICAL_AXIS)this.deltaY=-s.detail/3;else if(e.type==="wheel"){const o=e;o.deltaMode===o.DOM_DELTA_LINE?Bu&&!vn?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof r.wheelDeltaX!="undefined")gf&&Ba?this.deltaX=-(r.wheelDeltaX/120):this.deltaX=r.wheelDeltaX/120;else if(typeof s.HORIZONTAL_AXIS!="undefined"&&s.axis===s.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type==="wheel"){const o=e;o.deltaMode===o.DOM_DELTA_LINE?Bu&&!vn?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}var fh=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})},jk=globalThis&&globalThis.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=i[Symbol.asyncIterator],t;return e?e.call(i):(i=typeof __values=="function"?__values(i):i[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(s){t[s]=i[s]&&function(o){return new Promise(function(a,l){o=i[s](o),r(a,l,o.done,o.value)})}}function r(s,o,a,l){Promise.resolve(l).then(function(c){s({value:c,done:a})},o)}};function att(i){return!!i&&typeof i.then=="function"}function Ua(i){const e=new ic,t=i(e.token),n=new Promise((r,s)=>{const o=e.token.onCancellationRequested(()=>{o.dispose(),e.dispose(),s(Ry())});Promise.resolve(t).then(a=>{o.dispose(),e.dispose(),r(a)},a=>{o.dispose(),e.dispose(),s(a)})});return new class{cancel(){e.cancel()}then(r,s){return n.then(r,s)}catch(r){return this.then(void 0,r)}finally(r){return n.finally(r)}}}function EK(i,e,t){return Promise.race([i,new Promise(n=>e.onCancellationRequested(()=>n(t)))])}class ltt{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const t=()=>{this.queuedPromise=null;const n=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,n};this.queuedPromise=new Promise(n=>{this.activePromise.then(t,t).then(n)})}return new Promise((t,n)=>{this.queuedPromise.then(t,n)})}return this.activePromise=e(),new Promise((t,n)=>{this.activePromise.then(r=>{this.activePromise=null,t(r)},r=>{this.activePromise=null,n(r)})})}}class M_{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((n,r)=>{this.doResolve=n,this.doReject=r}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const n=this.task;return this.task=null,n()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return this.timeout!==null}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Ry()),this.completionPromise=null)}cancelTimeout(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancel()}}class ctt{constructor(e){this.delayer=new M_(e),this.throttler=new ltt}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function l1(i,e){return e?new Promise((t,n)=>{const r=setTimeout(()=>{s.dispose(),t()},i),s=e.onCancellationRequested(()=>{clearTimeout(r),s.dispose(),n(Ry())})}):Ua(t=>l1(i,t))}function Fy(i,e=0){const t=setTimeout(i,e);return An(()=>clearTimeout(t))}function Mpe(i,e=n=>!!n,t=null){let n=0;const r=i.length,s=()=>{if(n>=r)return Promise.resolve(t);const o=i[n++];return Promise.resolve(o()).then(l=>e(l)?Promise.resolve(l):s())};return s()}class Lc{constructor(e,t){this._token=-1,typeof e=="function"&&typeof t=="number"&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class $k{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class Ur{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let _5;(function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?_5=i=>{Xge(()=>{if(e)return;const t=Date.now()+3;i(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,t-Date.now())}}))});let e=!1;return{dispose(){e||(e=!0)}}}:_5=(i,e)=>{const t=requestIdleCallback(i,typeof e=="number"?{timeout:e}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(t))}}}})();class oE{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(t){this._error=t}finally{this._didRun=!0}},this._handle=_5(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class Bpe{constructor(){this.resolved=!1,this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.resolved=!0,t()})}}var IK;(function(i){function e(n){return fh(this,void 0,void 0,function*(){let r;const s=yield Promise.all(n.map(o=>o.then(a=>a,a=>{r||(r=a)})));if(typeof r!="undefined")throw r;return s})}i.settled=e;function t(n){return new Promise((r,s)=>fh(this,void 0,void 0,function*(){try{yield n(r,s)}catch(o){s(o)}}))}i.withAsyncBody=t})(IK||(IK={}));class _a{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new Ve,queueMicrotask(()=>fh(this,void 0,void 0,function*(){const t={emitOne:n=>this.emitOne(n),emitMany:n=>this.emitMany(n),reject:n=>this.reject(n)};try{yield Promise.resolve(e(t)),this.resolve()}catch(n){this.reject(n)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}static fromArray(e){return new _a(t=>{t.emitMany(e)})}static fromPromise(e){return new _a(t=>fh(this,void 0,void 0,function*(){t.emitMany(yield e)}))}static fromPromises(e){return new _a(t=>fh(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>fh(this,void 0,void 0,function*(){return t.emitOne(yield n)})))}))}static merge(e){return new _a(t=>fh(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>{var r,s;return fh(this,void 0,void 0,function*(){var o,a;try{for(r=jk(n);s=yield r.next(),!s.done;){const l=s.value;t.emitOne(l)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(a=r.return)&&(yield a.call(r))}finally{if(o)throw o.error}}})}))}))}[Symbol.asyncIterator](){let e=0;return{next:()=>fh(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(this._state===1)return{done:!0,value:void 0};yield ai.toPromise(this._onStateChanged.event)}while(!0)})}}static map(e,t){return new _a(n=>fh(this,void 0,void 0,function*(){var r,s;try{for(var o=jk(e),a;a=yield o.next(),!a.done;){const l=a.value;n.emitOne(t(l))}}catch(l){r={error:l}}finally{try{a&&!a.done&&(s=o.return)&&(yield s.call(o))}finally{if(r)throw r.error}}}))}map(e){return _a.map(this,e)}static filter(e,t){return new _a(n=>fh(this,void 0,void 0,function*(){var r,s;try{for(var o=jk(e),a;a=yield o.next(),!a.done;){const l=a.value;t(l)&&n.emitOne(l)}}catch(l){r={error:l}}finally{try{a&&!a.done&&(s=o.return)&&(yield s.call(o))}finally{if(r)throw r.error}}}))}filter(e){return _a.filter(this,e)}static coalesce(e){return _a.filter(e,t=>!!t)}coalesce(){return _a.coalesce(this)}static toPromise(e){var t,n,r,s;return fh(this,void 0,void 0,function*(){const o=[];try{for(t=jk(e);n=yield t.next(),!n.done;){const a=n.value;o.push(a)}}catch(a){r={error:a}}finally{try{n&&!n.done&&(s=t.return)&&(yield s.call(t))}finally{if(r)throw r.error}}return o})}toPromise(){return _a.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}}_a.EMPTY=_a.fromArray([]);class utt extends _a{constructor(e,t){super(t);this._source=e}cancel(){this._source.cancel()}}function dtt(i){const e=new ic,t=i(e.token);return new utt(e,n=>fh(this,void 0,void 0,function*(){var r,s;const o=e.token.onCancellationRequested(()=>{o.dispose(),e.dispose(),n.reject(Ry())});try{try{for(var a=jk(t),l;l=yield a.next(),!l.done;){const c=l.value;if(e.token.isCancellationRequested)return;n.emitOne(c)}}catch(c){r={error:c}}finally{try{l&&!l.done&&(s=a.return)&&(yield s.call(a))}finally{if(r)throw r.error}}o.dispose(),e.dispose()}catch(c){o.dispose(),e.dispose(),n.reject(c)}}))}var rn;(function(i){i.inMemory="inmemory",i.vscode="vscode",i.internal="private",i.walkThrough="walkThrough",i.walkThroughSnippet="walkThroughSnippet",i.http="http",i.https="https",i.file="file",i.mailto="mailto",i.untitled="untitled",i.data="data",i.command="command",i.vscodeRemote="vscode-remote",i.vscodeRemoteResource="vscode-remote-resource",i.userData="vscode-userdata",i.vscodeCustomEditor="vscode-custom-editor",i.vscodeNotebook="vscode-notebook",i.vscodeNotebookCell="vscode-notebook-cell",i.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",i.vscodeNotebookCellOutput="vscode-notebook-cell-output",i.vscodeInteractive="vscode-interactive",i.vscodeInteractiveInput="vscode-interactive-input",i.vscodeSettings="vscode-settings",i.vscodeWorkspaceTrust="vscode-workspace-trust",i.vscodeTerminal="vscode-terminal",i.webviewPanel="webview-panel",i.vscodeWebview="vscode-webview",i.extension="extension",i.vscodeFileResource="vscode-file",i.tmp="tmp",i.vsls="vsls"})(rn||(rn={}));class htt{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&n.indexOf(":")!==-1&&(n=`[${n}]`);const r=this._ports[t],s=this._connectionTokens[t];let o=`path=${encodeURIComponent(e.path)}`;return typeof s=="string"&&(o+=`&tkn=${encodeURIComponent(s)}`),Di.from({scheme:e1?this._preferredWebSchema:rn.vscodeRemoteResource,authority:`${n}:${r}`,path:"/vscode-remote-resource",query:o})}}const Fpe=new htt;class zk{asBrowserUri(e,t){const n=this.toUri(e,t);return n.scheme===rn.vscodeRemote?Fpe.rewrite(n):n.scheme===rn.file&&(og||typeof cs.importScripts=="function"&&cs.origin===`${rn.vscodeFileResource}://${zk.FALLBACK_AUTHORITY}`)?n.with({scheme:rn.vscodeFileResource,authority:n.authority||zk.FALLBACK_AUTHORITY,query:null,fragment:null}):n}toUri(e,t){return Di.isUri(e)?e:Di.parse(t.toUrl(e))}}zk.FALLBACK_AUTHORITY="vscode-app";const Upe=new zk;function ia(i){for(;i.firstChild;)i.firstChild.remove()}function TK(i){var e;return(e=i==null?void 0:i.isConnected)!==null&&e!==void 0?e:!1}class Wpe{constructor(e,t,n,r){this._node=e,this._type=t,this._handler=n,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){!this._handler||(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function At(i,e,t,n){return new Wpe(i,e,t,n)}function Hpe(i){return function(e){return i(new hh(e))}}function ftt(i){return function(e){return i(new ds(e))}}let va=function(e,t,n,r){let s=n;return t==="click"||t==="mousedown"?s=Hpe(n):(t==="keydown"||t==="keypress"||t==="keyup")&&(s=ftt(n)),At(e,t,s,r)},gtt=function(e,t,n){let r=Hpe(t);return xK(e,r,n)};function xK(i,e,t){return At(i,ag&&p5.pointerEvents?gi.POINTER_DOWN:gi.MOUSE_DOWN,e,t)}function Vpe(i,e,t){return At(i,ag&&p5.pointerEvents?gi.POINTER_UP:gi.MOUSE_UP,e,t)}function DK(i,e){return At(i,"mouseout",t=>{let n=t.relatedTarget;for(;n&&n!==i;)n=n.parentNode;n!==i&&e(t)})}function ptt(i,e){return At(i,"pointerout",t=>{let n=t.relatedTarget;for(;n&&n!==i;)n=n.parentNode;n!==i&&e(t)})}function hg(i,e,t){let n=null;const r=l=>a.fire(l),s=()=>{n||(n=new Wpe(i,e,r,t))},o=()=>{n&&(n.dispose(),n=null)},a=new Ve({onFirstListenerAdd:s,onLastListenerRemove:o});return a}let kK=null;function mtt(i){if(!kK){const e=t=>setTimeout(()=>t(new Date().getTime()),0);kK=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}return kK.call(self,i)}let jpe,$p;class LK{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Wi(e)}}static sort(e,t){return t.priority-e.priority}}(function(){let i=[],e=null,t=!1,n=!1,r=()=>{for(t=!1,e=i,i=[],n=!0;e.length>0;)e.sort(LK.sort),e.shift().execute();n=!1};$p=(s,o=0)=>{let a=new LK(s,o);return i.push(a),t||(t=!0,mtt(r)),a},jpe=(s,o)=>{if(n){let a=new LK(s,o);return e.push(a),a}else return $p(s,o)}})();const _tt=8,vtt=function(i,e){return e};class Ctt extends lt{constructor(e,t,n,r=vtt,s=_tt){super();let o=null,a=0,l=this._register(new Lc),c=()=>{a=new Date().getTime(),n(o),o=null};this._register(At(e,t,u=>{o=r(o,u);let d=new Date().getTime()-a;d>=s?(l.cancel(),c()):l.setIfNotSet(c,s-d)}))}}function RK(i,e,t,n,r){return new Ctt(i,e,t,n,r)}function NK(i){return document.defaultView.getComputedStyle(i,null)}function v5(i){if(i!==document.body)return new Kr(i.clientWidth,i.clientHeight);if(ag&&window.visualViewport)return new Kr(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new Kr(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Kr(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Kr(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class js{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let r=NK(e),s="0";return r&&(r.getPropertyValue?s=r.getPropertyValue(t):s=r.getAttribute(n)),js.convertToPixels(e,s)}static getBorderLeftWidth(e){return js.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return js.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return js.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return js.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return js.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return js.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return js.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return js.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return js.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return js.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return js.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return js.getDimension(e,"margin-bottom","marginBottom")}}class Kr{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new Kr(e,t):this}static is(e){return typeof e=="object"&&typeof e.height=="number"&&typeof e.width=="number"}static lift(e){return e instanceof Kr?e:new Kr(e.width,e.height)}static equals(e,t){return e===t?!0:!e||!t?!1:e.width===t.width&&e.height===t.height}}function $pe(i){let e=i.offsetParent,t=i.offsetTop,n=i.offsetLeft;for(;(i=i.parentNode)!==null&&i!==document.body&&i!==document.documentElement;){t-=i.scrollTop;const r=Gpe(i)?null:NK(i);r&&(n-=r.direction!=="rtl"?i.scrollLeft:-i.scrollLeft),i===e&&(n+=js.getBorderLeftWidth(i),t+=js.getBorderTopWidth(i),t+=i.offsetTop,n+=i.offsetLeft,e=i.offsetParent)}return{left:n,top:t}}function ytt(i,e,t){typeof e=="number"&&(i.style.width=`${e}px`),typeof t=="number"&&(i.style.height=`${t}px`)}function kl(i){let e=i.getBoundingClientRect();return{left:e.left+B_.scrollX,top:e.top+B_.scrollY,width:e.width,height:e.height}}const B_=new class{get scrollX(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function pf(i){let e=js.getMarginLeft(i)+js.getMarginRight(i);return i.offsetWidth+e}function OK(i){let e=js.getBorderLeftWidth(i)+js.getBorderRightWidth(i),t=js.getPaddingLeft(i)+js.getPaddingRight(i);return i.offsetWidth-e-t}function btt(i){let e=js.getBorderTopWidth(i)+js.getBorderBottomWidth(i),t=js.getPaddingTop(i)+js.getPaddingBottom(i);return i.offsetHeight-e-t}function PK(i){let e=js.getMarginTop(i)+js.getMarginBottom(i);return i.offsetHeight+e}function F_(i,e){for(;i;){if(i===e)return!0;i=i.parentNode}return!1}function zpe(i,e,t){for(;i&&i.nodeType===i.ELEMENT_NODE;){if(i.classList.contains(e))return i;if(t){if(typeof t=="string"){if(i.classList.contains(t))return null}else if(i===t)return null}i=i.parentNode}return null}function Kpe(i,e,t){return!!zpe(i,e,t)}function Gpe(i){return i&&!!i.host&&!!i.mode}function C5(i){return!!c1(i)}function c1(i){for(;i.parentNode;){if(i===document.body)return null;i=i.parentNode}return Gpe(i)?i:null}function aE(){let i=document.activeElement;for(;i==null?void 0:i.shadowRoot;)i=i.shadowRoot.activeElement;return i}function gh(i=document.getElementsByTagName("head")[0]){let e=document.createElement("style");return e.type="text/css",e.media="screen",i.appendChild(e),e}let MK=null;function Qpe(){return MK||(MK=gh()),MK}function Att(i){var e,t;return((e=i==null?void 0:i.sheet)===null||e===void 0?void 0:e.rules)?i.sheet.rules:((t=i==null?void 0:i.sheet)===null||t===void 0?void 0:t.cssRules)?i.sheet.cssRules:[]}function BK(i,e,t=Qpe()){!t||!e||t.sheet.insertRule(i+"{"+e+"}",0)}function qpe(i,e=Qpe()){if(!e)return;let t=Att(e),n=[];for(let r=0;r<t.length;r++)t[r].selectorText.indexOf(i)!==-1&&n.push(r);for(let r=n.length-1;r>=0;r--)e.sheet.deleteRule(n[r])}function Ype(i){return typeof HTMLElement=="object"?i instanceof HTMLElement:i&&typeof i=="object"&&i.nodeType===1&&typeof i.nodeName=="string"}const gi={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:a1?"webkitAnimationStart":"animationstart",ANIMATION_END:a1?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:a1?"webkitAnimationIteration":"animationiteration"},dr={stop:function(i,e){i.preventDefault?i.preventDefault():i.returnValue=!1,e&&(i.stopPropagation?i.stopPropagation():i.cancelBubble=!0)}};function Stt(i){let e=[];for(let t=0;i&&i.nodeType===i.ELEMENT_NODE;t++)e[t]=i.scrollTop,i=i.parentNode;return e}function wtt(i,e){for(let t=0;i&&i.nodeType===i.ELEMENT_NODE;t++)i.scrollTop!==e[t]&&(i.scrollTop=e[t]),i=i.parentNode}class y5 extends lt{constructor(e){super();this._onDidFocus=this._register(new Ve),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new Ve),this.onDidBlur=this._onDidBlur.event;let t=y5.hasFocusWithin(e),n=!1;const r=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},s=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{y5.hasFocusWithin(e)!==t&&(t?s():r())},this._register(At(e,gi.FOCUS,r,!0)),this._register(At(e,gi.BLUR,s,!0)),this._register(At(e,gi.FOCUS_IN,()=>this._refreshStateHandler())),this._register(At(e,gi.FOCUS_OUT,()=>this._refreshStateHandler()))}static hasFocusWithin(e){const t=c1(e),n=t?t.activeElement:document.activeElement;return F_(n,e)}}function lE(i){return new y5(i)}function gt(i,...e){if(i.append(...e),e.length===1&&typeof e[0]!="string")return e[0]}function Ett(i,e){return i.insertBefore(e,i.firstChild),e}function u1(i,...e){i.innerText="",gt(i,...e)}const Itt=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var Kk;(function(i){i.HTML="http://www.w3.org/1999/xhtml",i.SVG="http://www.w3.org/2000/svg"})(Kk||(Kk={}));function Xpe(i,e,t,...n){let r=Itt.exec(e);if(!r)throw new Error("Bad use of emmet");t=Object.assign({},t||{});let s=r[1]||"div",o;return i!==Kk.HTML?o=document.createElementNS(i,s):o=document.createElement(s),r[3]&&(o.id=r[3]),r[4]&&(o.className=r[4].replace(/\./g," ").trim()),Object.keys(t).forEach(a=>{const l=t[a];typeof l!="undefined"&&(/^on\w+$/.test(a)?o[a]=l:a==="selected"?l&&o.setAttribute(a,"true"):o.setAttribute(a,l))}),o.append(...n),o}function Ct(i,e,...t){return Xpe(Kk.HTML,i,e,...t)}Ct.SVG=function(i,e,...t){return Xpe(Kk.SVG,i,e,...t)};function Dd(...i){for(let e of i)e.style.display="",e.removeAttribute("aria-hidden")}function lu(...i){for(let e of i)e.style.display="none",e.setAttribute("aria-hidden","true")}function Ttt(i){return Array.prototype.slice.call(document.getElementsByTagName(i),0)}function Jpe(i){const e=window.devicePixelRatio*i;return Math.max(1,Math.floor(e))/window.devicePixelRatio}function Zpe(i){window.open(i,"_blank","noopener")}function xtt(i){const e=()=>{i(),t=$p(e)};let t=$p(e);return An(()=>t.dispose())}Fpe.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function Uy(i){return i?`url('${Upe.asBrowserUri(i).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function eme(i){return`'${i.replace(/'/g,"%27")}'`}class Wy extends Ve{constructor(){super();this._subscriptions=new wt,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(At(window,"keydown",e=>{if(e.defaultPrevented)return;const t=new ds(e);if(!(t.keyCode===6&&e.repeat)){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(t.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(At(window,"keyup",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(At(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(At(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(At(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(At(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return Wy.instance||(Wy.instance=new Wy),Wy.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function Dtt(i,e){const t=window.matchMedia(i);typeof t.addEventListener=="function"?t.addEventListener("change",e):t.addListener(e)}function tme(i){return!i||typeof i!="string"?!0:i.trim().length===0}const ktt=/{(\d+)}/g;function ph(i,...e){return e.length===0?i:i.replace(ktt,function(t,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=e.length?t:e[r]})}function FK(i){return i.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function mh(i){return i.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ltt(i,e=" "){const t=UK(i,e);return ime(t,e)}function UK(i,e){if(!i||!e)return i;const t=e.length;if(t===0||i.length===0)return i;let n=0;for(;i.indexOf(e,n)===n;)n=n+t;return i.substring(n)}function ime(i,e){if(!i||!e)return i;const t=e.length,n=i.length;if(t===0||n===0)return i;let r=n,s=-1;for(;s=i.lastIndexOf(e,r-1),!(s===-1||s+t!==r);){if(s===0)return"";r=s}return i.substring(0,r)}function Rtt(i){return i.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function Ntt(i){return i.replace(/\*/g,"")}function nme(i,e,t={}){if(!i)throw new Error("Cannot create regex from empty string");e||(i=mh(i)),t.wholeWord&&(/\B/.test(i.charAt(0))||(i="\\b"+i),/\B/.test(i.charAt(i.length-1))||(i=i+"\\b"));let n="";return t.global&&(n+="g"),t.matchCase||(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),new RegExp(i,n)}function Ott(i){return i.source==="^"||i.source==="^$"||i.source==="$"||i.source==="^\\s*$"?!1:!!(i.exec("")&&i.lastIndex===0)}function WK(i){return(i.global?"g":"")+(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")}function zp(i){return i.split(/\r\n|\r|\n/)}function Rc(i){for(let e=0,t=i.length;e<t;e++){const n=i.charCodeAt(e);if(n!==32&&n!==9)return e}return-1}function Ir(i,e=0,t=i.length){for(let n=e;n<t;n++){const r=i.charCodeAt(n);if(r!==32&&r!==9)return i.substring(e,n)}return i.substring(e,t)}function Kp(i,e=i.length-1){for(let t=e;t>=0;t--){const n=i.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function Gk(i,e){return i<e?-1:i>e?1:0}function HK(i,e,t=0,n=i.length,r=0,s=e.length){for(;t<n&&r<s;t++,r++){let l=i.charCodeAt(t),c=e.charCodeAt(r);if(l<c)return-1;if(l>c)return 1}const o=n-t,a=s-r;return o<a?-1:o>a?1:0}function VK(i,e){return Qk(i,e,0,i.length,0,e.length)}function Qk(i,e,t=0,n=i.length,r=0,s=e.length){for(;t<n&&r<s;t++,r++){let l=i.charCodeAt(t),c=e.charCodeAt(r);if(l===c)continue;if(l>=128||c>=128)return HK(i.toLowerCase(),e.toLowerCase(),t,n,r,s);d1(l)&&(l-=32),d1(c)&&(c-=32);const u=l-c;if(u!==0)return u}const o=n-t,a=s-r;return o<a?-1:o>a?1:0}function d1(i){return i>=97&&i<=122}function Gp(i){return i>=65&&i<=90}function cE(i,e){return i.length===e.length&&Qk(i,e)===0}function jK(i,e){const t=e.length;return e.length>i.length?!1:Qk(i,e,0,t)===0}function uE(i,e){let t,n=Math.min(i.length,e.length);for(t=0;t<n;t++)if(i.charCodeAt(t)!==e.charCodeAt(t))return t;return n}function b5(i,e){let t,n=Math.min(i.length,e.length);const r=i.length-1,s=e.length-1;for(t=0;t<n;t++)if(i.charCodeAt(r-t)!==e.charCodeAt(s-t))return t;return n}function na(i){return 55296<=i&&i<=56319}function dE(i){return 56320<=i&&i<=57343}function $K(i,e){return(i-55296<<10)+(e-56320)+65536}function Hy(i,e,t){const n=i.charCodeAt(t);if(na(n)&&t+1<e){const r=i.charCodeAt(t+1);if(dE(r))return $K(n,r)}return n}function hE(i,e){const t=i.charCodeAt(e-1);if(dE(t)&&e>1){const n=i.charCodeAt(e-2);if(na(n))return $K(n,t)}return t}function A5(i,e){const t=U_.getInstance(),n=e,r=i.length,s=Hy(i,r,e);e+=s>=65536?2:1;let o=t.getGraphemeBreakType(s);for(;e<r;){const a=Hy(i,r,e),l=t.getGraphemeBreakType(a);if(I5(o,l))break;e+=a>=65536?2:1,o=l}return e-n}function Ptt(i,e){const t=U_.getInstance(),n=e,r=hE(i,e);e-=r>=65536?2:1;let s=t.getGraphemeBreakType(r);for(;e>0;){const o=hE(i,e),a=t.getGraphemeBreakType(o);if(I5(a,s))break;e-=o>=65536?2:1,s=a}return n-e}const Mtt=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function S5(i){return Mtt.test(i)}const Btt=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFF0]|\uD83E[\uDD00-\uDDFF\uDE70-\uDEF6])/;function Ftt(i){return Btt.test(i)}const Utt=/^[\t\n\r\x20-\x7E]*$/;function zK(i){return Utt.test(i)}const rme=/[\u2028\u2029]/;function sme(i){return rme.test(i)}function Wtt(i){for(let e=0,t=i.length;e<t;e++)if(Qp(i.charCodeAt(e)))return!0;return!1}function Qp(i){return i>=11904&&i<=55215||i>=63744&&i<=64255||i>=65281&&i<=65374}function w5(i){return i>=127462&&i<=127487||i===8986||i===8987||i===9200||i===9203||i>=9728&&i<=10175||i===11088||i===11093||i>=127744&&i<=128591||i>=128640&&i<=128764||i>=128992&&i<=129008||i>=129280&&i<=129535||i>=129648&&i<=129782}const Htt=String.fromCharCode(65279);function KK(i){return!!(i&&i.length>0&&i.charCodeAt(0)===65279)}function Vtt(i,e=!1){return i?(e&&(i=i.replace(/\\./g,"")),i.toLowerCase()!==i):!1}function ome(i){const e=90-65+1;return i=i%(2*e),i<e?String.fromCharCode(97+i):String.fromCharCode(65+i-e)}function E5(i){return U_.getInstance().getGraphemeBreakType(i)}function I5(i,e){return i===0?e!==5&&e!==7:i===2&&e===3?!1:i===4||i===2||i===3||e===4||e===2||e===3?!0:!(i===8&&(e===8||e===9||e===11||e===12)||(i===11||i===9)&&(e===9||e===10)||(i===12||i===10)&&e===10||e===5||e===13||e===7||i===1||i===13&&e===14||i===6&&e===6)}class U_{constructor(){this._data=jtt()}static getInstance(){return U_._INSTANCE||(U_._INSTANCE=new U_),U_._INSTANCE}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r=2*r;else if(e>t[3*r+1])r=2*r+1;else return t[3*r+2];return 0}}U_._INSTANCE=null;function jtt(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function $tt(i,e){if(i===0)return 0;const t=ztt(i,e);if(t!==void 0)return t;const n=hE(e,i);return i-=T5(n),i}function ztt(i,e){let t=hE(e,i);for(i-=T5(t);Ktt(t)||t===65039||t===8419;){if(i===0)return;t=hE(e,i),i-=T5(t)}if(!!w5(t)){if(i>=0){const n=hE(e,i);n===8205&&(i-=T5(n))}return i}}function T5(i){return i>=65536?2:1}function Ktt(i){return 127995<=i&&i<=127999}const Gtt="\xA0";class fg{static getData(){return JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,40,10088,40,10098,40,12308,40,64830,40,65341,41,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,124,8739,124,9213,124,65512,124,1633,124,1777,124,66336,124,125127,124,120783,124,120793,124,120803,124,120813,124,120823,124,130033,124,65321,124,8544,124,8464,124,8465,124,119816,124,119868,124,119920,124,120024,124,120128,124,120180,124,120232,124,120284,124,120336,124,120388,124,120440,124,406,124,65356,124,8572,124,8467,124,119845,124,119897,124,119949,124,120001,124,120053,124,120105,124,120157,124,120209,124,120261,124,120313,124,120365,124,120417,124,120469,124,448,124,120496,124,120554,124,120612,124,120670,124,120728,124,11410,124,1030,124,1216,124,1493,124,1503,124,1575,124,126464,124,126592,124,65166,124,65165,124,1994,124,11599,124,5825,124,42226,124,93992,124,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90],"_default":[160,32,8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"cs":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89],"de":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89],"es":[8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"fr":[65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"it":[160,32,8211,45,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ko":[8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"pl":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"pt-BR":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"qps-ploc":[160,32,8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ru":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,124,1009,112,215,120],"tr":[160,32,8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"zh-hans":[65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"zh-hant":[8211,45,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}')}static getConfusablesForCurrentLocale(){if(!fg.map){let n=function(o){const a=new Map;for(let l=0;l<o.length;l+=2)a.set(o[l],o[l+1]);return a};const e=fg.getData();let t=SZe;(!t||!(t in e))&&(t=AZe),(!t||!(t in e))&&(t="_default");const r=n(e._common),s=n(e[t]);for(const[o,a]of s)r.set(o,a);fg.map=r}return fg.map}static isAmbiguous(e){return fg.getConfusablesForCurrentLocale().has(e)}static getPrimaryConfusable(e){return fg.getConfusablesForCurrentLocale().get(e)}static getPrimaryConfusableCodePoints(){return new Set(fg.getConfusablesForCurrentLocale().keys())}}class W_{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(W_.getRawData())),this._data}static isInvisibleCharacter(e){return W_.getData().has(e)}static get codePoints(){return W_.getData()}}W_._data=void 0;var ame,lme;class Qtt{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){const t=e.charCodeAt(0),n=this._value.charCodeAt(this._pos);return t-n}value(){return this._value[this._pos]}}class qtt{constructor(e=!0){this._caseSensitive=e}reset(e){return this._value=e,this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++)if(this._value.charCodeAt(this._to)===46)if(e)this._from++;else break;else e=!1;return this}cmp(e){return this._caseSensitive?HK(e,this._value,0,e.length,this._from,this._to):Qk(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Ytt{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){const t=this._value.charCodeAt(this._to);if(t===47||this._splitOnBackslash&&t===92)if(e)this._from++;else break;else e=!1}return this}cmp(e){return this._caseSensitive?HK(e,this._value,0,e.length,this._from,this._to):Qk(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Xtt{constructor(e){this._ignorePathCasing=e,this._states=[],this._stateIdx=0}reset(e){return this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new Ytt(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(this._states[this._stateIdx]===1)return VK(e,this._value.scheme);if(this._states[this._stateIdx]===2)return VK(e,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(e);if(this._states[this._stateIdx]===4)return Gk(e,this._value.query);if(this._states[this._stateIdx]===5)return Gk(e,this._value.fragment);throw new Error}value(){if(this._states[this._stateIdx]===1)return this._value.scheme;if(this._states[this._stateIdx]===2)return this._value.authority;if(this._states[this._stateIdx]===3)return this._pathIterator.value();if(this._states[this._stateIdx]===4)return this._value.query;if(this._states[this._stateIdx]===5)return this._value.fragment;throw new Error}}class x5{constructor(){this.height=1}rotateLeft(){const e=this.right;return this.right=e.left,e.left=this,this.updateHeight(),e.updateHeight(),e}rotateRight(){const e=this.left;return this.left=e.right,e.right=this,this.updateHeight(),e.updateHeight(),e}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){var e,t;return(t=(e=this.left)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}get heightRight(){var e,t;return(t=(e=this.right)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}}class fE{constructor(e){this._iter=e}static forUris(e=()=>!1){return new fE(new Xtt(e))}static forStrings(){return new fE(new Qtt)}static forConfigKeys(){return new fE(new qtt)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let r;this._root||(this._root=new x5,this._root.segment=n.value());const s=[];for(r=this._root;;){const a=n.cmp(r.segment);if(a>0)r.left||(r.left=new x5,r.left.segment=n.value()),s.push([-1,r]),r=r.left;else if(a<0)r.right||(r.right=new x5,r.right.segment=n.value()),s.push([1,r]),r=r.right;else if(n.hasNext())n.next(),r.mid||(r.mid=new x5,r.mid.segment=n.value()),s.push([0,r]),r=r.mid;else break}const o=r.value;r.value=t,r.key=e;for(let a=s.length-1;a>=0;a--){const l=s[a][1];l.updateHeight();const c=l.balanceFactor();if(c<-1||c>1){const u=s[a][0],d=s[a+1][0];if(u===1&&d===1)s[a][1]=l.rotateLeft();else if(u===-1&&d===-1)s[a][1]=l.rotateRight();else if(u===1&&d===-1)l.right=s[a+1][1]=s[a+1][1].rotateRight(),s[a][1]=l.rotateLeft();else if(u===-1&&d===1)l.left=s[a+1][1]=s[a+1][1].rotateLeft(),s[a][1]=l.rotateRight();else throw new Error;if(a>0)switch(s[a-1][0]){case-1:s[a-1][1].left=s[a][1];break;case 1:s[a-1][1].right=s[a][1];break;case 0:s[a-1][1].mid=s[a][1];break}else this._root=s[0][1]}}return o}get(e){var t;return(t=this._getNode(e))===null||t===void 0?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const r=t.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else break}return n}has(e){const t=this._getNode(e);return!((t==null?void 0:t.value)===void 0&&(t==null?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var n;const r=this._iter.reset(e),s=[];let o=this._root;for(;o;){const a=r.cmp(o.segment);if(a>0)s.push([-1,o]),o=o.left;else if(a<0)s.push([1,o]),o=o.right;else if(r.hasNext())r.next(),s.push([0,o]),o=o.mid;else break}if(!!o){if(t?(o.left=void 0,o.mid=void 0,o.right=void 0,o.height=1):(o.key=void 0,o.value=void 0),!o.mid&&!o.value)if(o.left&&o.right){const a=this._min(o.right),{key:l,value:c,segment:u}=a;this._delete(a.key,!1),o.key=l,o.value=c,o.segment=u}else{const a=(n=o.left)!==null&&n!==void 0?n:o.right;if(s.length>0){const[l,c]=s[s.length-1];switch(l){case-1:c.left=a;break;case 0:c.mid=a;break;case 1:c.right=a;break}}else this._root=a}for(let a=s.length-1;a>=0;a--){const l=s[a][1];l.updateHeight();const c=l.balanceFactor();if(c>1?(l.right.balanceFactor()>=0||(l.right=s[a+1][1]=s[a+1][1].rotateRight()),s[a][1]=l.rotateLeft()):c<-1&&(l.left.balanceFactor()<=0||(l.left=s[a+1][1]=s[a+1][1].rotateLeft()),s[a][1]=l.rotateRight()),a>0)switch(s[a-1][0]){case-1:s[a-1][1].left=s[a][1];break;case 1:s[a-1][1].right=s[a][1];break;case 0:s[a-1][1].mid=s[a][1];break}else this._root=s[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let n=this._root,r;for(;n;){const s=t.cmp(n.segment);if(s>0)n=n.left;else if(s<0)n=n.right;else if(t.hasNext())t.next(),r=n.value||r,n=n.mid;else break}return n&&n.value||r}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const r=t.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else return n.mid?this._entries(n.mid):void 0}}forEach(e){for(const[t,n]of this)e(n,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){!e||(e.left&&(yield*this._entries(e.left)),e.value&&(yield[e.key,e.value]),e.mid&&(yield*this._entries(e.mid)),e.right&&(yield*this._entries(e.right)))}}class Jtt{constructor(e,t){this.uri=e,this.value=t}}class rc{constructor(e,t){this[ame]="ResourceMap",e instanceof rc?(this.map=new Map(e.map),this.toKey=t!=null?t:rc.defaultToKey):(this.map=new Map,this.toKey=e!=null?e:rc.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new Jtt(e,t)),this}get(e){var t;return(t=this.map.get(this.toKey(e)))===null||t===void 0?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){typeof t!="undefined"&&(e=e.bind(t));for(let[n,r]of this.map)e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(ame=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}rc.defaultToKey=i=>i.toString();class Ztt{constructor(){this[lme]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(!!n)return t!==0&&this.touch(n,t),n.value}set(e,t,n=0){let r=this._map.get(e);if(r)r.value=t,n!==0&&this.touch(r,n);else{switch(r={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(!!t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}values(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}entries(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}[(lme=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==1&&t!==2)){if(t===1){if(e===this._head)return;const n=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(n.previous=r,r.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===2){if(e===this._tail)return;const n=e.next,r=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=r,r.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class h1 extends Ztt{constructor(e,t=1){super();this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}const cme=typeof Buffer!="undefined";let GK;class D5{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return cme&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new D5(e)}toString(){return cme?this.buffer.toString():(GK||(GK=new TextDecoder),GK.decode(this.buffer))}}function eit(i,e){return i[e+0]<<0>>>0|i[e+1]<<8>>>0}function tit(i,e,t){i[t+0]=e&255,e=e>>>8,i[t+1]=e&255}function gg(i,e){return i[e]*Math.pow(2,24)+i[e+1]*Math.pow(2,16)+i[e+2]*Math.pow(2,8)+i[e+3]}function pg(i,e,t){i[t+3]=e,e=e>>>8,i[t+2]=e,e=e>>>8,i[t+1]=e,e=e>>>8,i[t]=e}function ume(i,e){return i[e]}function dme(i,e,t){i[t]=e}function QK(i){let e=JSON.parse(i);return e=qK(e),e}function qK(i,e=0){if(!i||e>200)return i;if(typeof i=="object"){switch(i.$mid){case 1:return Di.revive(i);case 2:return new RegExp(i.source,i.flags)}if(i instanceof D5||i instanceof Uint8Array)return i;if(Array.isArray(i))for(let t=0;t<i.length;++t)i[t]=qK(i[t],e+1);else for(const t in i)Object.hasOwnProperty.call(i,t)&&(i[t]=qK(i[t],e+1))}return i}function f1(i){return i===47||i===92}function hme(i){return i.replace(/[\\/]/g,Co.sep)}function iit(i){return i.indexOf("/")===-1&&(i=hme(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}function fme(i,e=Co.sep){if(!i)return"";const t=i.length,n=i.charCodeAt(0);if(f1(n)){if(f1(i.charCodeAt(1))&&!f1(i.charCodeAt(2))){let s=3;const o=s;for(;s<t&&!f1(i.charCodeAt(s));s++);if(o!==s&&!f1(i.charCodeAt(s+1))){for(s+=1;s<t;s++)if(f1(i.charCodeAt(s)))return i.slice(0,s+1).replace(/[\\/]/g,e)}}return e}else if(gme(n)&&i.charCodeAt(1)===58)return f1(i.charCodeAt(2))?i.slice(0,2)+e:i.slice(0,2);let r=i.indexOf("://");if(r!==-1){for(r+=3;r<t;r++)if(f1(i.charCodeAt(r)))return i.slice(0,r+1)}return""}function YK(i,e,t,n=jp){if(i===e)return!0;if(!i||!e||e.length>i.length)return!1;if(t){if(!jK(i,e))return!1;if(e.length===i.length)return!0;let s=e.length;return e.charAt(e.length-1)===n&&s--,i.charAt(s)===n}return e.charAt(e.length-1)!==n&&(e+=n),i.indexOf(e)===0}function gme(i){return i>=65&&i<=90||i>=97&&i<=122}function nit(i){const e=Oz(i);return Ba?i.length>3?!1:pme(e)&&(i.length===2||e.charCodeAt(2)===92):e===Co.sep}function pme(i,e){return(e!==void 0?e:Ba)?gme(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}function qp(i){return u5(i,!0)}class rit{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:Gk(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t?!0:!e||!t?!1:this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,n=!1){if(e.scheme===t.scheme){if(e.scheme===rn.file)return YK(qp(e),qp(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(Cme(e.authority,t.authority))return YK(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return Di.joinPath(e,...t)}basenameOrAuthority(e){return _h(e)||e.authority}basename(e){return Co.basename(e.path)}extname(e){return Co.extname(e.path)}dirname(e){if(e.path.length===0)return e;let t;return e.scheme===rn.file?t=Di.file(wpe(qp(e))).path:(t=Co.dirname(e.path),e.authority&&t.length&&t.charCodeAt(0)!==47&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return e.scheme===rn.file?t=Di.file(Oz(qp(e))).path:t=Co.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!Cme(e.authority,t.authority))return;if(e.scheme===rn.file){const s=Spe(qp(e),qp(t));return Ba?hme(s):s}let n=e.path||"/",r=t.path||"/";if(this._ignorePathCasing(e)){let s=0;for(const o=Math.min(n.length,r.length);s<o&&!(n.charCodeAt(s)!==r.charCodeAt(s)&&n.charAt(s).toLowerCase()!==r.charAt(s).toLowerCase());s++);n=r.substr(0,s)+n.substr(s)}return Co.relative(n,r)}resolvePath(e,t){if(e.scheme===rn.file){const n=Di.file(Wet(qp(e),t));return e.with({authority:n.authority,path:n.path})}return t=iit(t),e.with({path:Co.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&e.path[0]==="/"}isEqualAuthority(e,t){return e===t||e!==void 0&&t!==void 0&&cE(e,t)}hasTrailingPathSeparator(e,t=jp){if(e.scheme===rn.file){const n=qp(e);return n.length>fme(n).length&&n[n.length-1]===t}else{const n=e.path;return n.length>1&&n.charCodeAt(n.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=jp){return yme(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=jp){let n=!1;if(e.scheme===rn.file){const r=qp(e);n=r!==void 0&&r.length===fme(r).length&&r[r.length-1]===t}else{t="/";const r=e.path;n=r.length===1&&r.charCodeAt(r.length-1)===47}return!n&&!yme(e,t)?e.with({path:e.path+"/"}):e}}const Gr=new rit(()=>!1),mme=Gr.isEqual.bind(Gr);Gr.isEqualOrParent.bind(Gr),Gr.getComparisonKey.bind(Gr);const _me=Gr.basenameOrAuthority.bind(Gr),_h=Gr.basename.bind(Gr),sit=Gr.extname.bind(Gr),XK=Gr.dirname.bind(Gr),oit=Gr.joinPath.bind(Gr),ait=Gr.normalizePath.bind(Gr);Gr.relativePath.bind(Gr);const vme=Gr.resolvePath.bind(Gr);Gr.isAbsolutePath.bind(Gr);const Cme=Gr.isEqualAuthority.bind(Gr),yme=Gr.hasTrailingPathSeparator.bind(Gr);Gr.removeTrailingPathSeparator.bind(Gr),Gr.addTrailingPathSeparator.bind(Gr);var g1;(function(i){i.META_DATA_LABEL="label",i.META_DATA_DESCRIPTION="description",i.META_DATA_SIZE="size",i.META_DATA_MIME="mime";function e(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach(o=>{const[a,l]=o.split(":");a&&l&&n.set(a,l)});const s=t.path.substring(0,t.path.indexOf(";"));return s&&n.set(i.META_DATA_MIME,s),n}i.parseMetaData=e})(g1||(g1={}));const yo=jn("commandService"),Mn=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Ve,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(i,e){if(!i)throw new Error("invalid command");if(typeof i=="string"){if(!e)throw new Error("invalid command");return this.registerCommand({id:i,handler:e})}if(i.description){const o=[];for(let l of i.description.args)o.push(l.constraint);const a=i.handler;i.handler=function(l,...c){return NZe(c,o),a(l,...c)}}const{id:t}=i;let n=this._commands.get(t);n||(n=new Td,this._commands.set(t,n));let r=n.unshift(i),s=An(()=>{r();const o=this._commands.get(t);(o==null?void 0:o.isEmpty())&&this._commands.delete(t)});return this._onDidRegisterCommand.fire(t),s}registerCommandAlias(i,e){return Mn.registerCommand(i,(t,...n)=>t.get(yo).executeCommand(e,...n))}getCommand(i){const e=this._commands.get(i);if(!(!e||e.isEmpty()))return Pn.first(e)}getCommands(){const i=new Map;for(const e of this._commands.keys()){const t=this.getCommand(e);t&&i.set(e,t)}return i}};Mn.registerCommand("noop",()=>{});var k5;(function(i){i[i.API=0]="API",i[i.USER=1]="USER"})(k5||(k5={}));var bme=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})};const vh=jn("openerService"),lit=Object.freeze({_serviceBrand:void 0,registerOpener(){return lt.None},registerValidator(){return lt.None},registerExternalUriResolver(){return lt.None},setDefaultExternalOpener(){},registerExternalOpener(){return lt.None},open(){return bme(this,void 0,void 0,function*(){return!1})},resolveExternalUri(i){return bme(this,void 0,void 0,function*(){return{resolved:i,dispose(){}}})}});function Ame(i,e){return Di.isUri(i)?cE(i.scheme,e):jK(i,e+":")}function Sme(i,...e){return e.some(t=>Ame(i,t))}var JK=globalThis&&globalThis.__decorate||function(i,e,t,n){var r=arguments.length,s=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(o=i[a])&&(s=(r<3?o(s):r>3?o(e,t,s):o(e,t))||s);return r>3&&s&&Object.defineProperty(e,t,s),s},L5=globalThis&&globalThis.__param||function(i,e){return function(t,n){e(t,n,i)}},Vy=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})};let ZK=class{constructor(e){this._commandService=e}open(e,t){return Vy(this,void 0,void 0,function*(){if(!Ame(e,rn.command))return!1;if(!(t==null?void 0:t.allowCommands))return!0;typeof e=="string"&&(e=Di.parse(e));let n=[];try{n=QK(decodeURIComponent(e.query))}catch{try{n=QK(e.query)}catch{}}return Array.isArray(n)||(n=[n]),yield this._commandService.executeCommand(e.path,...n),!0})}};ZK=JK([L5(0,yo)],ZK);let eG=class{constructor(e){this._editorService=e}open(e,t){return Vy(this,void 0,void 0,function*(){typeof e=="string"&&(e=Di.parse(e));let n;const r=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment);return r&&(n={startLineNumber:parseInt(r[1]),startColumn:r[2]?parseInt(r[2]):1},e=e.with({fragment:""})),e.scheme===rn.file&&(e=ait(e)),yield this._editorService.openCodeEditor({resource:e,options:Object.assign({selection:n,context:(t==null?void 0:t.fromUserGesture)?k5.USER:k5.API},t==null?void 0:t.editorOptions)},this._editorService.getFocusedCodeEditor(),t==null?void 0:t.openToSide),!0})}};eG=JK([L5(0,Cr)],eG);let tG=class{constructor(e,t){this._openers=new Td,this._validators=new Td,this._resolvers=new Td,this._resolvedUriTargets=new rc(n=>n.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new Td,this._defaultExternalOpener={openExternal:n=>Vy(this,void 0,void 0,function*(){return Sme(n,rn.http,rn.https)?Zpe(n):window.location.href=n,!0})},this._openers.push({open:(n,r)=>Vy(this,void 0,void 0,function*(){return(r==null?void 0:r.openExternal)||Sme(n,rn.mailto,rn.http,rn.https,rn.vsls)?(yield this._doOpenExternal(n,r),!0):!1})}),this._openers.push(new ZK(t)),this._openers.push(new eG(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var n;return Vy(this,void 0,void 0,function*(){const r=typeof e=="string"?Di.parse(e):e,s=(n=this._resolvedUriTargets.get(r))!==null&&n!==void 0?n:e;for(const o of this._validators)if(!(yield o.shouldOpen(s)))return!1;for(const o of this._openers)if(yield o.open(e,t))return!0;return!1})}resolveExternalUri(e,t){return Vy(this,void 0,void 0,function*(){for(const n of this._resolvers)try{const r=yield n.resolveExternalUri(e,t);if(r)return this._resolvedUriTargets.has(r.resolved)||this._resolvedUriTargets.set(r.resolved,e),r}catch{}throw new Error("Could not resolve external URI: "+e.toString())})}_doOpenExternal(e,t){return Vy(this,void 0,void 0,function*(){const n=typeof e=="string"?Di.parse(e):e;let r;try{r=(yield this.resolveExternalUri(n,t)).resolved}catch{r=n}let s;if(typeof e=="string"&&n.toString()===r.toString()?s=e:s=encodeURI(r.toString(!0)),t==null?void 0:t.allowContributedOpeners){const o=typeof(t==null?void 0:t.allowContributedOpeners)=="string"?t==null?void 0:t.allowContributedOpeners:void 0;for(const a of this._externalOpeners)if(yield a.openExternal(s,{sourceUri:n,preferredOpenerId:o},Cn.None))return!0}return this._defaultExternalOpener.openExternal(s,{sourceUri:n},Cn.None)})}dispose(){this._validators.clear()}};tG=JK([L5(0,Cr),L5(1,yo)],tG);function R5(i,e){if(!i)throw new Error(e?`Assertion failed (${e})`:"Assertion Failed")}const cit={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class uit extends lt{constructor(e,t={}){super();this._onDidUpdate=this._register(new Ve),this._editor=e,this._options=Pp(t,cit,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(n=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(n=>{this.revealFirst=!0})),this._init()}_init(){!!this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(n=>{this.ranges.push({rhs:!0,range:new de(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new de(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new de(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,n)=>de.compareRangesUsingStarts(t.range,n.range)),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,n=this._editor.getPosition();if(!n){this.nextIdx=0;return}for(let r=0,s=this.ranges.length;r<s&&!t;r++){let o=this.ranges[r].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=r+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}_move(e,t){if(R5(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;this.nextIdx===-1?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let r=n.range.getStartPosition();this._editor.setPosition(r),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}const H_=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new Ve,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(i){i=Math.min(Math.max(-5,i),20),this._zoomLevel!==i&&(this._zoomLevel=i,this._onDidChangeZoomLevel.fire(this._zoomLevel))}},dit=vn?1.5:1.35,iG=8;class jy{constructor(e){this._bareFontInfoBrand=void 0,this.zoomLevel=e.zoomLevel,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=e.lineHeight|0,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n,r){const s=e.get(42),o=e.get(46),a=e.get(45),l=e.get(44),c=e.get(58),u=e.get(55);return jy._create(s,o,a,l,c,u,t,n,r)}static _create(e,t,n,r,s,o,a,l,c){s===0?s=dit*n:s<iG&&(s=s*n),s=Math.round(s),s<iG&&(s=iG);const u=1+(c?0:H_.getZoomLevel()*.1);return n*=u,s*=u,new jy({zoomLevel:a,pixelRatio:l,fontFamily:e,fontWeight:t,fontSize:n,fontFeatureSettings:r,lineHeight:s,letterSpacing:o})}getId(){return this.zoomLevel+"-"+this.pixelRatio+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(e){const t=jy._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}const hit=1;class nG extends jy{constructor(e,t){super(e);this._editorStylingBrand=void 0,this.version=hit,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}const qk={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"};var Fu;(function(i){i[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full"})(Fu||(Fu={}));var Uu;(function(i){i[i.Inline=1]="Inline",i[i.Gutter=2]="Gutter"})(Uu||(Uu={}));class N5{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,e.tabSize|0),this.indentSize=e.tabSize|0,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=e.defaultEOL|0,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&ff(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class Yk{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}var $y;(function(i){i[i.Disabled=0]="Disabled",i[i.EnabledForActive=1]="EnabledForActive",i[i.Enabled=2]="Enabled"})($y||($y={}));class gE{constructor(e,t,n){this.visibleColumn=e,this.className=t,this.horizontalLine=n}}class rG{constructor(e,t){this.top=e,this.endColumn=t}}class sG{constructor(e,t,n,r,s,o){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=s,this._isTracked=o}}class fit{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function wme(i){return O5(i,0)}function O5(i,e){switch(typeof i){case"object":return i===null?V_(349,e):Array.isArray(i)?pit(i,e):mit(i,e);case"string":return oG(i,e);case"boolean":return git(i,e);case"number":return V_(i,e);case"undefined":return V_(937,e);default:return V_(617,e)}}function V_(i,e){return(e<<5)-e+i|0}function git(i,e){return V_(i?433:863,e)}function oG(i,e){e=V_(149417,e);for(let t=0,n=i.length;t<n;t++)e=V_(i.charCodeAt(t),e);return e}function pit(i,e){return e=V_(104579,e),i.reduce((t,n)=>O5(n,t),e)}function mit(i,e){return e=V_(181387,e),Object.keys(i).sort().reduce((t,n)=>(t=oG(n,t),O5(i[n],t)),e)}function aG(i,e,t=32){const n=t-e,r=~((1<<n)-1);return(i<<e|(r&i)>>>n)>>>0}function Eme(i,e=0,t=i.byteLength,n=0){for(let r=0;r<t;r++)i[e+r]=n}function _it(i,e,t="0"){for(;i.length<e;)i=t+i;return i}function Xk(i,e=32){return i instanceof ArrayBuffer?Array.from(new Uint8Array(i)).map(t=>t.toString(16).padStart(2,"0")).join(""):_it((i>>>0).toString(16),e/4)}class P5{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(t===0)return;const n=this._buff;let r=this._buffLen,s=this._leftoverHighSurrogate,o,a;for(s!==0?(o=s,a=-1,s=0):(o=e.charCodeAt(0),a=0);;){let l=o;if(na(o))if(a+1<t){const c=e.charCodeAt(a+1);dE(c)?(a++,l=$K(o,c)):l=65533}else{s=o;break}else dE(o)&&(l=65533);if(r=this._push(n,r,l),a++,a<t)o=e.charCodeAt(a);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(n&1984)>>>6,e[t++]=128|(n&63)>>>0):n<65536?(e[t++]=224|(n&61440)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0):(e[t++]=240|(n&1835008)>>>18,e[t++]=128|(n&258048)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64+0],e[1]=e[64+1],e[2]=e[64+2]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Xk(this._h0)+Xk(this._h1)+Xk(this._h2)+Xk(this._h3)+Xk(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Eme(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Eme(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=P5._bigBlock32,t=this._buffDV;for(let d=0;d<64;d+=4)e.setUint32(d,t.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)e.setUint32(d,aG(e.getUint32(d-12,!1)^e.getUint32(d-32,!1)^e.getUint32(d-56,!1)^e.getUint32(d-64,!1),1),!1);let n=this._h0,r=this._h1,s=this._h2,o=this._h3,a=this._h4,l,c,u;for(let d=0;d<80;d++)d<20?(l=r&s|~r&o,c=1518500249):d<40?(l=r^s^o,c=1859775393):d<60?(l=r&s|r&o|s&o,c=2400959708):(l=r^s^o,c=3395469782),u=aG(n,5)+l+a+c+e.getUint32(d*4,!1)&4294967295,a=o,o=s,s=aG(r,30),r=n,n=u;this._h0=this._h0+n&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+a&4294967295}}P5._bigBlock32=new DataView(new ArrayBuffer(320));function mf(i,e,t){return Math.min(Math.max(i,e),t)}class vit{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}get value(){return this._val}}const lG="**",Ime="/",M5="[/\\\\]",B5="[^/\\\\]",Cit=/\//g;function Tme(i){switch(i){case 0:return"";case 1:return`${B5}*?`;default:return`(?:${M5}|${B5}+${M5}|${M5}${B5}+)*?`}}function xme(i,e){if(!i)return[];const t=[];let n=!1,r=!1,s="";for(const o of i){switch(o){case e:if(!n&&!r){t.push(s),s="";continue}break;case"{":n=!0;break;case"}":n=!1;break;case"[":r=!0;break;case"]":r=!1;break}s+=o}return s&&t.push(s),t}function Dme(i){if(!i)return"";let e="";const t=xme(i,Ime);if(t.every(n=>n===lG))e=".*";else{let n=!1;t.forEach((r,s)=>{if(r===lG){n||(e+=Tme(2),n=!0);return}let o=!1,a="",l=!1,c="";for(const u of r){if(u!=="}"&&o){a+=u;continue}if(l&&(u!=="]"||!c)){let d;u==="-"?d=u:(u==="^"||u==="!")&&!c?d="^":u===Ime?d="":d=mh(u),c+=d;continue}switch(u){case"{":o=!0;continue;case"[":l=!0;continue;case"}":e+=`(?:${xme(a,",").map(g=>Dme(g)).join("|")})`,o=!1,a="";break;case"]":e+="["+c+"]",l=!1,c="";break;case"?":e+=B5;continue;case"*":e+=Tme(1);continue;default:e+=mh(u)}}s<t.length-1&&(t[s+1]!==lG||s+2<t.length)&&(e+=M5),n=!1})}return e}const yit=/^\*\*\/\*\.[\w\.-]+$/,bit=/^\*\*\/([\w\.-]+)\/?$/,Ait=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,Sit=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,wit=/^\*\*((\/[\w\.-]+)+)\/?$/,Eit=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,kme=new h1(1e4),Lme=function(){return!1},Yp=function(){return null};function cG(i,e){if(!i)return Yp;let t;typeof i!="string"?t=i.pattern:t=i,t=t.trim();const n=`${t}_${!!e.trimForExclusions}`;let r=kme.get(n);if(r)return Rme(r,i);let s;if(yit.test(t)){const o=t.substr(4);r=function(a,l){return typeof a=="string"&&a.endsWith(o)?t:null}}else(s=bit.exec(uG(t,e)))?r=Iit(s[1],t):(e.trimForExclusions?Sit:Ait).test(t)?r=Tit(t,e):(s=wit.exec(uG(t,e)))?r=Nme(s[1].substr(1),t,!0):(s=Eit.exec(uG(t,e)))?r=Nme(s[1],t,!1):r=xit(t);return kme.set(n,r),Rme(r,i)}function Rme(i,e){return typeof e=="string"?i:function(t,n){return YK(t,e.base)?i(Spe(e.base,t),n):null}}function uG(i,e){return e.trimForExclusions&&i.endsWith("/**")?i.substr(0,i.length-2):i}function Iit(i,e){const t=`/${i}`,n=`\\${i}`,r=function(o,a){return typeof o!="string"?null:a?a===i?e:null:o===i||o.endsWith(t)||o.endsWith(n)?e:null},s=[i];return r.basenames=s,r.patterns=[e],r.allBasenames=s,r}function Tit(i,e){const t=Pme(i.slice(1,-1).split(",").map(a=>cG(a,e)).filter(a=>a!==Yp),i),n=t.length;if(!n)return Yp;if(n===1)return t[0];const r=function(a,l){for(let c=0,u=t.length;c<u;c++)if(t[c](a,l))return i;return null},s=t.find(a=>!!a.allBasenames);s&&(r.allBasenames=s.allBasenames);const o=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return o.length&&(r.allPaths=o),r}function Nme(i,e,t){const n=jp===Co.sep,r=n?i:i.replace(Cit,jp),s=jp+r,o=Co.sep+i,a=t?function(l,c){return typeof l=="string"&&(l===r||l.endsWith(s)||!n&&(l===i||l.endsWith(o)))?e:null}:function(l,c){return typeof l=="string"&&(l===r||!n&&l===i)?e:null};return a.allPaths=[(t?"*/":"./")+i],a}function xit(i){try{const e=new RegExp(`^${Dme(i)}$`);return function(t){return e.lastIndex=0,typeof t=="string"&&e.test(t)?i:null}}catch{return Yp}}function Dit(i,e,t){return!i||typeof e!="string"?!1:Ome(i)(e,void 0,t)}function Ome(i,e={}){if(!i)return Lme;if(typeof i=="string"||kit(i)){const t=cG(i,e);if(t===Yp)return Lme;const n=function(r,s){return!!t(r,s)};return t.allBasenames&&(n.allBasenames=t.allBasenames),t.allPaths&&(n.allPaths=t.allPaths),n}return Lit(i,e)}function kit(i){const e=i;return e&&typeof e.base=="string"&&typeof e.pattern=="string"}function Lit(i,e){const t=Pme(Object.getOwnPropertyNames(i).map(a=>Rit(a,i[a],e)).filter(a=>a!==Yp)),n=t.length;if(!n)return Yp;if(!t.some(a=>!!a.requiresSiblings)){if(n===1)return t[0];const a=function(u,d){for(let h=0,g=t.length;h<g;h++){const m=t[h](u,d);if(m)return m}return null},l=t.find(u=>!!u.allBasenames);l&&(a.allBasenames=l.allBasenames);const c=t.reduce((u,d)=>d.allPaths?u.concat(d.allPaths):u,[]);return c.length&&(a.allPaths=c),a}const r=function(a,l,c){let u;for(let d=0,h=t.length;d<h;d++){const g=t[d];g.requiresSiblings&&c&&(l||(l=Py(a)),u||(u=l.substr(0,l.length-Het(a).length)));const m=g(a,l,u,c);if(m)return m}return null},s=t.find(a=>!!a.allBasenames);s&&(r.allBasenames=s.allBasenames);const o=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return o.length&&(r.allPaths=o),r}function Rit(i,e,t){if(e===!1)return Yp;const n=cG(i,t);if(n===Yp)return Yp;if(typeof e=="boolean")return n;if(e){const r=e.when;if(typeof r=="string"){const s=(o,a,l,c)=>{if(!c||!n(o,a))return null;const u=r.replace("$(basename)",l),d=c(u);return att(d)?d.then(h=>h?i:null):d?i:null};return s.requiresSiblings=!0,s}}return n}function Pme(i,e){const t=i.filter(a=>!!a.basenames);if(t.length<2)return i;const n=t.reduce((a,l)=>{const c=l.basenames;return c?a.concat(c):a},[]);let r;if(e){r=[];for(let a=0,l=n.length;a<l;a++)r.push(e)}else r=t.reduce((a,l)=>{const c=l.patterns;return c?a.concat(c):a},[]);const s=function(a,l){if(typeof a!="string")return null;if(!l){let u;for(u=a.length;u>0;u--){const d=a.charCodeAt(u-1);if(d===47||d===92)break}l=a.substr(u)}const c=n.indexOf(l);return c!==-1?r[c]:null};s.basenames=n,s.patterns=r,s.allBasenames=n;const o=i.filter(a=>!a.basenames);return o.push(s),o}function Mme(i,e,t,n){if(Array.isArray(i)){let r=0;for(const s of i){const o=Mme(s,e,t,n);if(o===10)return o;o>r&&(r=o)}return r}else{if(typeof i=="string")return n?i==="*"?5:i===t?10:0:0;if(i){const{language:r,pattern:s,scheme:o,hasAccessToAllModels:a}=i;if(!n&&!a)return 0;let l=0;if(o)if(o===e.scheme)l=10;else if(o==="*")l=5;else return 0;if(r)if(r===t)l=10;else if(r==="*")l=Math.max(l,5);else return 0;if(s){let c;if(typeof s=="string"?c=s:c=Object.assign(Object.assign({},s),{base:Oz(s.base)}),c===e.fsPath||Dit(c,e.fsPath))l=10;else return 0}return l}else return 0}}const ra=jn("modelService");function Nit(i){return!i.isTooLargeForSyncing()&&!i.isForSimpleWidget}function Bme(i){return typeof i=="string"?!1:Array.isArray(i)?i.every(Bme):!!i.exclusive}class no{constructor(){this._clock=0,this._entries=[],this._onDidChange=new Ve}get onDidChange(){return this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),An(()=>{if(n){let r=this._entries.indexOf(n);r>=0&&(this._entries.splice(r,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let n of this._entries)n._score>0&&t.push(n.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,n=>t.push(n.provider)),t}orderedGroups(e){const t=[];let n,r;return this._orderedForEach(e,s=>{n&&r===s._score?n.push(s.provider):(r=s._score,n=[s.provider],t.push(n))}),t}_orderedForEach(e,t){if(!!e){this._updateScores(e);for(const n of this._entries)n._score>0&&t(n)}}_updateScores(e){let t={uri:e.uri.toString(),language:e.getLanguageId()};if(!(this._lastCandidate&&this._lastCandidate.language===t.language&&this._lastCandidate.uri===t.uri)){this._lastCandidate=t;for(let n of this._entries)if(n._score=Mme(n.selector,e.uri,e.getLanguageId(),Nit(e)),Bme(n.selector)&&n._score>0){for(let r of this._entries)r._score=0;n._score=1e3;break}this._entries.sort(no._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}const Fme=new WeakMap;let Oit=0;function Pit(i){let e=Fme.get(i);return e===void 0&&(e=++Oit,Fme.set(i,e)),e}class F5{constructor(e,t,n=Number.MAX_SAFE_INTEGER){this._registry=e,this.min=t,this.max=n,this._cache=new h1(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((t,n)=>O5(Pit(n),t),0)}_clamp(e){return e===void 0?this.min:Math.min(this.max,Math.max(this.min,Math.floor(e*1.3)))}get(e){const t=this._key(e),n=this._cache.get(t);return this._clamp(n==null?void 0:n.value)}update(e,t){const n=this._key(e);let r=this._cache.get(n);return r||(r=new vit,this._cache.set(n,r)),r.update(t),this.get(e)}}class Mit{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new Ve,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),An(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let n=null,r=!1;return this._promises.set(e,t.then(s=>{this._promises.delete(e),!(r||!s)&&(n=this.register(e,s))})),An(()=>{r=!0,n&&n.dispose()})}getPromise(e){const t=this.get(e);if(t)return Promise.resolve(t);const n=this._promises.get(e);return n?n.then(r=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Bit{constructor(){this._icons=new Map,this._onDidRegister=new Ve}add(e){const t=this._icons.get(e.id);t?e.description?t.description=e.description:console.error(`Duplicate registration of codicon ${e.id}`):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const Ume=new Bit,U5=Ume;function Fit(i){return i?i.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}class Fe{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,Ume.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}Fe.add=new Fe("add",{fontCharacter:"\\ea60"}),Fe.lightBulb=new Fe("light-bulb",{fontCharacter:"\\ea61"}),Fe.warning=new Fe("warning",{fontCharacter:"\\ea6c"}),Fe.info=new Fe("info",{fontCharacter:"\\ea74"}),Fe.close=new Fe("close",{fontCharacter:"\\ea76"}),Fe.sync=new Fe("sync",{fontCharacter:"\\ea77"}),Fe.symbolFolder=new Fe("symbol-folder",{fontCharacter:"\\ea83"}),Fe.symbolEvent=new Fe("symbol-event",{fontCharacter:"\\ea86"}),Fe.error=new Fe("error",{fontCharacter:"\\ea87"}),Fe.symbolVariable=new Fe("symbol-variable",{fontCharacter:"\\ea88"}),Fe.symbolArray=new Fe("symbol-array",{fontCharacter:"\\ea8a"}),Fe.symbolModule=new Fe("symbol-module",{fontCharacter:"\\ea8b"}),Fe.symbolPackage=new Fe("symbol-package",{fontCharacter:"\\ea8b"}),Fe.symbolNamespace=new Fe("symbol-namespace",{fontCharacter:"\\ea8b"}),Fe.symbolObject=new Fe("symbol-object",{fontCharacter:"\\ea8b"}),Fe.symbolMethod=new Fe("symbol-method",{fontCharacter:"\\ea8c"}),Fe.symbolFunction=new Fe("symbol-function",{fontCharacter:"\\ea8c"}),Fe.symbolConstructor=new Fe("symbol-constructor",{fontCharacter:"\\ea8c"}),Fe.symbolBoolean=new Fe("symbol-boolean",{fontCharacter:"\\ea8f"}),Fe.symbolNull=new Fe("symbol-null",{fontCharacter:"\\ea8f"}),Fe.symbolNumber=new Fe("symbol-number",{fontCharacter:"\\ea90"}),Fe.symbolStruct=new Fe("symbol-struct",{fontCharacter:"\\ea91"}),Fe.symbolTypeParameter=new Fe("symbol-type-parameter",{fontCharacter:"\\ea92"}),Fe.symbolKey=new Fe("symbol-key",{fontCharacter:"\\ea93"}),Fe.symbolText=new Fe("symbol-text",{fontCharacter:"\\ea93"}),Fe.symbolReference=new Fe("symbol-reference",{fontCharacter:"\\ea94"}),Fe.symbolEnum=new Fe("symbol-enum",{fontCharacter:"\\ea95"}),Fe.symbolValue=new Fe("symbol-value",{fontCharacter:"\\ea95"}),Fe.symbolUnit=new Fe("symbol-unit",{fontCharacter:"\\ea96"}),Fe.arrowDown=new Fe("arrow-down",{fontCharacter:"\\ea9a"}),Fe.arrowLeft=new Fe("arrow-left",{fontCharacter:"\\ea9b"}),Fe.arrowUp=new Fe("arrow-up",{fontCharacter:"\\eaa1"}),Fe.caseSensitive=new Fe("case-sensitive",{fontCharacter:"\\eab1"}),Fe.check=new Fe("check",{fontCharacter:"\\eab2"}),Fe.chevronDown=new Fe("chevron-down",{fontCharacter:"\\eab4"}),Fe.chevronRight=new Fe("chevron-right",{fontCharacter:"\\eab6"}),Fe.chevronUp=new Fe("chevron-up",{fontCharacter:"\\eab7"}),Fe.lightbulbAutofix=new Fe("lightbulb-autofix",{fontCharacter:"\\eb13"}),Fe.loading=new Fe("loading",{fontCharacter:"\\eb19"}),Fe.preserveCase=new Fe("preserve-case",{fontCharacter:"\\eb2e"}),Fe.regex=new Fe("regex",{fontCharacter:"\\eb38"}),Fe.remove=new Fe("remove",{fontCharacter:"\\eb3b"}),Fe.replaceAll=new Fe("replace-all",{fontCharacter:"\\eb3c"}),Fe.replace=new Fe("replace",{fontCharacter:"\\eb3d"}),Fe.splitHorizontal=new Fe("split-horizontal",{fontCharacter:"\\eb56"}),Fe.splitVertical=new Fe("split-vertical",{fontCharacter:"\\eb57"}),Fe.symbolClass=new Fe("symbol-class",{fontCharacter:"\\eb5b"}),Fe.symbolColor=new Fe("symbol-color",{fontCharacter:"\\eb5c"}),Fe.symbolConstant=new Fe("symbol-constant",{fontCharacter:"\\eb5d"}),Fe.symbolEnumMember=new Fe("symbol-enum-member",{fontCharacter:"\\eb5e"}),Fe.symbolField=new Fe("symbol-field",{fontCharacter:"\\eb5f"}),Fe.symbolFile=new Fe("symbol-file",{fontCharacter:"\\eb60"}),Fe.symbolInterface=new Fe("symbol-interface",{fontCharacter:"\\eb61"}),Fe.symbolKeyword=new Fe("symbol-keyword",{fontCharacter:"\\eb62"}),Fe.symbolOperator=new Fe("symbol-operator",{fontCharacter:"\\eb64"}),Fe.symbolProperty=new Fe("symbol-property",{fontCharacter:"\\eb65"}),Fe.symbolSnippet=new Fe("symbol-snippet",{fontCharacter:"\\eb66"}),Fe.triangleDown=new Fe("triangle-down",{fontCharacter:"\\eb6e"}),Fe.triangleLeft=new Fe("triangle-left",{fontCharacter:"\\eb6f"}),Fe.triangleRight=new Fe("triangle-right",{fontCharacter:"\\eb70"}),Fe.triangleUp=new Fe("triangle-up",{fontCharacter:"\\eb71"}),Fe.wholeWord=new Fe("whole-word",{fontCharacter:"\\eb7e"}),Fe.listFilter=new Fe("list-filter",{fontCharacter:"\\eb83"}),Fe.listSelection=new Fe("list-selection",{fontCharacter:"\\eb85"}),Fe.selection=new Fe("selection",{fontCharacter:"\\eb85"}),Fe.symbolString=new Fe("symbol-string",{fontCharacter:"\\eb8d"}),Fe.treeItemExpanded=new Fe("tree-item-expanded",Fe.chevronDown.definition),Fe.treeFilterOnTypeOn=new Fe("tree-filter-on-type-on",Fe.listFilter.definition),Fe.treeFilterOnTypeOff=new Fe("tree-filter-on-type-off",Fe.listSelection.definition),Fe.treeFilterClear=new Fe("tree-filter-clear",Fe.close.definition),Fe.treeItemLoading=new Fe("tree-item-loading",Fe.loading.definition),Fe.menuSelection=new Fe("menu-selection",Fe.check.definition),Fe.menuSubmenu=new Fe("menu-submenu",Fe.chevronRight.definition),Fe.scrollbarButtonLeft=new Fe("scrollbar-button-left",Fe.triangleLeft.definition),Fe.scrollbarButtonRight=new Fe("scrollbar-button-right",Fe.triangleRight.definition),Fe.scrollbarButtonUp=new Fe("scrollbar-button-up",Fe.triangleUp.definition),Fe.scrollbarButtonDown=new Fe("scrollbar-button-down",Fe.triangleDown.definition),Fe.quickInputBack=new Fe("quick-input-back",Fe.arrowLeft.definition);var cu;(function(i){i.iconNameSegment="[A-Za-z0-9]+",i.iconNameExpression="[A-Za-z0-9-]+",i.iconModifierExpression="~[A-Za-z]+",i.iconNameCharacter="[A-Za-z0-9~-]";const e=new RegExp(`^(${i.iconNameExpression})(${i.iconModifierExpression})?$`);function t(s){if(s instanceof Fe)return["codicon","codicon-"+s.id];const o=e.exec(s.id);if(!o)return t(Fe.error);let[,a,l]=o;const c=["codicon","codicon-"+a];return l&&c.push("codicon-modifier-"+l.substr(1)),c}i.asClassNameArray=t;function n(s){return t(s).join(" ")}i.asClassName=n;function r(s){return"."+t(s).join(".")}i.asCSSSelector=r})(cu||(cu={}));class sc{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&1792)>>>8}static getFontStyle(e){return(e&14336)>>>11}static getForeground(e){return(e&8372224)>>>14}static getBackground(e){return(e&4286578688)>>>23}static getClassNameFromMetadata(e){let t=this.getForeground(e),n="mtk"+t,r=this.getFontStyle(e);return r&1&&(n+=" mtki"),r&2&&(n+=" mtkb"),r&4&&(n+=" mtku"),n}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),r=this.getFontStyle(e);let s=`color: ${t[n]};`;return r&1&&(s+="font-style: italic;"),r&2&&(s+="font-weight: bold;"),r&4&&(s+="text-decoration: underline;"),s}}const Uit=function(){let i=Object.create(null);return i[0]="symbol-method",i[1]="symbol-function",i[2]="symbol-constructor",i[3]="symbol-field",i[4]="symbol-variable",i[5]="symbol-class",i[6]="symbol-struct",i[7]="symbol-interface",i[8]="symbol-module",i[9]="symbol-property",i[10]="symbol-event",i[11]="symbol-operator",i[12]="symbol-unit",i[13]="symbol-value",i[14]="symbol-constant",i[15]="symbol-enum",i[16]="symbol-enum-member",i[17]="symbol-keyword",i[27]="symbol-snippet",i[18]="symbol-text",i[19]="symbol-color",i[20]="symbol-file",i[21]="symbol-reference",i[22]="symbol-customcolor",i[23]="symbol-folder",i[24]="symbol-type-parameter",i[25]="account",i[26]="issues",function(e){const t=i[e];let n=t&&U5.get(t);return n||(console.info("No codicon found for CompletionItemKind "+e),n=Fe.symbolProperty),n.classNames}}();let Wme=function(){let i=Object.create(null);return i.method=0,i.function=1,i.constructor=2,i.field=3,i.variable=4,i.class=5,i.struct=6,i.interface=7,i.module=8,i.property=9,i.event=10,i.operator=11,i.unit=12,i.value=13,i.constant=14,i.enum=15,i["enum-member"]=16,i.enumMember=16,i.keyword=17,i.snippet=27,i.text=18,i.color=19,i.file=20,i.reference=21,i.customcolor=22,i.folder=23,i["type-parameter"]=24,i.typeParameter=24,i.account=25,i.issue=26,function(e,t){let n=i[e];return typeof n=="undefined"&&!t&&(n=9),n}}();var Ch;(function(i){i[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit"})(Ch||(Ch={}));var Xp;(function(i){i[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange"})(Xp||(Xp={}));var Jk;(function(i){i[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write"})(Jk||(Jk={}));function Wit(i){return i&&Di.isUri(i.uri)&&de.isIRange(i.range)&&(de.isIRange(i.originSelectionRange)||de.isIRange(i.targetSelectionRange))}var dG;(function(i){const e=new Map;e.set("file",0),e.set("module",1),e.set("namespace",2),e.set("package",3),e.set("class",4),e.set("method",5),e.set("property",6),e.set("field",7),e.set("constructor",8),e.set("enum",9),e.set("interface",10),e.set("function",11),e.set("variable",12),e.set("constant",13),e.set("string",14),e.set("number",15),e.set("boolean",16),e.set("array",17),e.set("object",18),e.set("key",19),e.set("null",20),e.set("enum-member",21),e.set("struct",22),e.set("event",23),e.set("operator",24),e.set("type-parameter",25);const t=new Map;t.set(0,"file"),t.set(1,"module"),t.set(2,"namespace"),t.set(3,"package"),t.set(4,"class"),t.set(5,"method"),t.set(6,"property"),t.set(7,"field"),t.set(8,"constructor"),t.set(9,"enum"),t.set(10,"interface"),t.set(11,"function"),t.set(12,"variable"),t.set(13,"constant"),t.set(14,"string"),t.set(15,"number"),t.set(16,"boolean"),t.set(17,"array"),t.set(18,"object"),t.set(19,"key"),t.set(20,"null"),t.set(21,"enum-member"),t.set(22,"struct"),t.set(23,"event"),t.set(24,"operator"),t.set(25,"type-parameter");function n(o){return e.get(o)}i.fromString=n;function r(o){return t.get(o)}i.toString=r;function s(o,a){const l=t.get(o);let c=l&&U5.get("symbol-"+l);return c||(console.info("No codicon found for SymbolKind "+o),c=Fe.symbolProperty),`${a?"inline":"block"} ${c.classNames}`}i.toCssClassName=s})(dG||(dG={}));class mg{constructor(e){this.value=e}}mg.Comment=new mg("comment"),mg.Imports=new mg("imports"),mg.Region=new mg("region");var W5;(function(i){i[i.Other=0]="Other",i[i.Type=1]="Type",i[i.Parameter=2]="Parameter"})(W5||(W5={}));const H5=new no,V5=new no,_g=new no,hG=new no,zy=new no,Zk=new no,_f=new no,pE=new no,j5=new no,eL=new no,$5=new no,z5=new no,K5=new no,j_=new no,p1=new no,Jp=new no,tL=new no,vg=new no,G5=new no,iL=new no,mE=new no,Q5=new no,fG=new no,_E=new no,q5=new no,Fs=new Mit;class Hit{clone(){return this}equals(e){return this===e}}const nL=new Hit,m1="vs.editor.nullMode";function Hme(i,e,t,n){return new Mz([new h5(n,"",i)],t)}function gG(i,e,t,n){let r=new Uint32Array(2);return r[0]=n,r[1]=(i<<0|0<<8|0<<11|1<<14|2<<23)>>>0,new f5(r,t===null?nL:t)}const kd=jn("editorWorkerService"),Ll=jn("modeService"),Ld=jn("textModelService"),Vit="$initialize";let Vme=!1;function pG(i){!e1||(Vme||(Vme=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(i.message))}class jit{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class jme{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class $it{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class zit{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Kit{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Git{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise((r,s)=>{this._pendingReplies[n]={resolve:r,reject:s},this._send(new jit(this._workerId,n,e,t))})}listen(e,t){let n=null;const r=new Ve({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new $it(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new Kit(this._workerId,n)),n=null}});return r.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(r=>{this._send(new jme(this._workerId,t,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=_pe(r.detail)),this._send(new jme(this._workerId,t,void 0,_pe(r)))})}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(r=>{this._send(new zit(this._workerId,t,r))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(e.type===0)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else e.type===1&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}class Qit extends lt{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",c=>{this._protocol.handleMessage(c)},c=>{r&&r(c)})),this._protocol=new Git({sendMessage:(c,u)=>{this._worker.postMessage(c,u)},handleMessage:(c,u)=>{if(typeof n[c]!="function")return Promise.reject(new Error("Missing method "+c+" on main thread host."));try{return Promise.resolve(n[c].apply(n,u))}catch(d){return Promise.reject(d)}},handleEvent:(c,u)=>{if(zme(c)){const d=n[c].call(n,u);if(typeof d!="function")throw new Error(`Missing dynamic event ${c} on main thread host.`);return d}if($me(c)){const d=n[c];if(typeof d!="function")throw new Error(`Missing event ${c} on main thread host.`);return d}throw new Error(`Malformed event name ${c}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null;typeof cs.require!="undefined"&&typeof cs.require.getConfig=="function"?s=cs.require.getConfig():typeof cs.requirejs!="undefined"&&(s=cs.requirejs.s.contexts._.config);const o=yz(n);this._onModuleLoaded=this._protocol.sendMessage(Vit,[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,o]);const a=(c,u)=>this._request(c,u),l=(c,u)=>this._protocol.listen(c,u);this._lazyProxy=new Promise((c,u)=>{r=u,this._onModuleLoaded.then(d=>{c(qit(d,a,l))},d=>{u(d),this._onError("Worker failed to load "+t,d)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}function $me(i){return i[0]==="o"&&i[1]==="n"&&Gp(i.charCodeAt(2))}function zme(i){return/^onDynamic/.test(i)&&Gp(i.charCodeAt(9))}function qit(i,e,t){const n=o=>function(){const a=Array.prototype.slice.call(arguments,0);return e(o,a)},r=o=>function(a){return t(o,a)};let s={};for(const o of i){if(zme(o)){s[o]=r(o);continue}if($me(o)){s[o]=t(o,void 0);continue}s[o]=n(o)}return s}var mG;const Kme=(mG=window.trustedTypes)===null||mG===void 0?void 0:mG.createPolicy("defaultWorkerFactory",{createScriptURL:i=>i});function Yit(i,e){if(cs.MonacoEnvironment){if(typeof cs.MonacoEnvironment.getWorker=="function")return cs.MonacoEnvironment.getWorker(i,e);if(typeof cs.MonacoEnvironment.getWorkerUrl=="function"){const t=cs.MonacoEnvironment.getWorkerUrl(i,e);return new Worker(Kme?Kme.createScriptURL(t):t,{name:e})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function Xit(i){return typeof i.then=="function"}class Jit{constructor(e,t,n,r,s){this.id=t;const o=Yit("workerMain.js",n);Xit(o)?this.worker=o:this.worker=Promise.resolve(o),this.postMessage(e,[]),this.worker.then(a=>{a.onmessage=function(l){r(l.data)},a.onmessageerror=s,typeof a.addEventListener=="function"&&a.addEventListener("error",s)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class Y5{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let r=++Y5.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Jit(e,r,this._label||"anonymous"+r,t,s=>{pG(s),this._webWorkerFailedBeforeError=s,n(s)})}}Y5.LAST_WORKER_ID=0;var bo;(function(i){i[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent"})(bo||(bo={}));class _G{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++)switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4;break}}isOK(e){return(this._standardTokenMask&e)==0}shouldAutoClose(e,t){if(e.getTokenCount()===0)return!0;const n=e.findTokenIndexAtOffset(t-2),r=e.getStandardTokenType(n);return this.isOK(r)}_findNeutralCharacterInRange(e,t){for(let n=e;n<=t;n++){const r=String.fromCharCode(n);if(!this.open.includes(r)&&!this.close.includes(r))return r}return null}findNeutralCharacter(){return this._neutralCharacterSearched||(this._neutralCharacterSearched=!0,this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(48,57)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(97,122)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(65,90))),this._neutralCharacter}}class Zit{constructor(e){this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map;for(const t of e)rL(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),rL(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),rL(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),rL(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),t.close.length===1&&t.open.length===1&&rL(this.autoClosingPairsCloseSingleChar,t.close,t)}}function rL(i,e,t){i.has(e)?i.get(e).push(t):i.set(e,[t])}function X5(i,e){let t=i.getCount(),n=i.findTokenIndexAtOffset(e),r=i.getLanguageId(n),s=n;for(;s+1<t&&i.getLanguageId(s+1)===r;)s++;let o=n;for(;o>0&&i.getLanguageId(o-1)===r;)o--;return new ent(i,r,o,s+1,i.getStartOffset(o),i.getEndOffset(s))}class ent{constructor(e,t,n,r,s,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=r,this.firstCharOffset=s,this._lastCharOffset=o}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function Zp(i){return(i&7)!=0}class sL{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(t=>new _G(t)):e.brackets?this._autoClosingPairs=e.brackets.map(t=>new _G({open:t[0],close:t[1]})):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=Gme(e.colorizedBracketPairs.map(t=>[t[0],t[1]])):e.brackets?this._colorizedBracketPairs=Gme(e.brackets.map(t=>[t[0],t[1]]).filter(t=>!(t[0]==="<"&&t[1]===">"))):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new _G({open:t.open,close:t.close||""}))}this._autoCloseBefore=typeof e.autoCloseBefore=="string"?e.autoCloseBefore:sL.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}sL.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])>
|
|
337
|
+
`+e.stack):e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const mpe=new yet;function Wi(i){Hp(i)||mpe.onUnexpectedError(i)}function il(i){Hp(i)||mpe.onUnexpectedExternalError(i)}function _pe(i){if(i instanceof Error){let{name:e,message:t}=i;const n=i.stacktrace||i.stack;return{$isError:!0,name:e,message:t,stack:n}}return i}const wz="Canceled";function Hp(i){return i instanceof Error&&i.name===wz&&i.message===wz}function Ry(){const i=new Error(wz);return i.name=i.message,i}function cg(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}function bet(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}class Aet extends Error{constructor(e){super("NotSupported");e&&(this.message=e)}}function P_(i){const e=this;let t=!1,n;return function(){return t||(t=!0,n=i.apply(e,arguments)),n}}var Pn;(function(i){function e(b){return b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}i.is=e;const t=Object.freeze([]);function n(){return t}i.empty=n;function*r(b){yield b}i.single=r;function s(b){return b||t}i.from=s;function o(b){return!b||b[Symbol.iterator]().next().done===!0}i.isEmpty=o;function a(b){return b[Symbol.iterator]().next().value}i.first=a;function l(b,A){for(const y of b)if(A(y))return!0;return!1}i.some=l;function c(b,A){for(const y of b)if(A(y))return y}i.find=c;function*u(b,A){for(const y of b)A(y)&&(yield y)}i.filter=u;function*d(b,A){let y=0;for(const w of b)yield A(w,y++)}i.map=d;function*h(...b){for(const A of b)for(const y of A)yield y}i.concat=h;function*g(b){for(const A of b)for(const y of A)yield y}i.concatNested=g;function m(b,A,y){let w=y;for(const T of b)w=A(w,T);return w}i.reduce=m;function*v(b,A,y=b.length){for(A<0&&(A+=b.length),y<0?y+=b.length:y>b.length&&(y=b.length);A<y;A++)yield b[A]}i.slice=v;function C(b,A=Number.POSITIVE_INFINITY){const y=[];if(A===0)return[y,b];const w=b[Symbol.iterator]();for(let T=0;T<A;T++){const I=w.next();if(I.done)return[y,i.empty()];y.push(I.value)}return[y,{[Symbol.iterator](){return w}}]}i.consume=C;function S(b,A,y=(w,T)=>w===T){const w=b[Symbol.iterator](),T=A[Symbol.iterator]();for(;;){const I=w.next(),x=T.next();if(I.done!==x.done)return!1;if(I.done)return!0;if(!y(I.value,x.value))return!1}}i.equals=S})(Pn||(Pn={}));function wet(i){return i}function Eet(i,e){}function Iet(i){return i}class Tet extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`);this.errors=e}}function Ez(i){return typeof i.dispose=="function"&&i.dispose.length===0}function Un(i){if(Pn.is(i)){let e=[];for(const t of i)if(t)try{t.dispose()}catch(n){e.push(n)}if(e.length===1)throw e[0];if(e.length>1)throw new Tet(e);return Array.isArray(i)?[]:i}else if(i)return i.dispose(),i}function i1(...i){return An(()=>Un(i))}function An(i){return wet({dispose:P_(()=>{i()})})}class wt{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{Un(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?wt.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}wt.DISABLE_DISPOSED_WARNING=!1;class lt{constructor(){this._store=new wt,Eet(this._store)}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}lt.None=Object.freeze({dispose(){}});class kc{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||((t=this._value)===null||t===void 0||t.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,(e=this._value)===null||e===void 0||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e}}class xet{constructor(e){this.object=e}dispose(){}}class Vs{constructor(e){this.element=e,this.next=Vs.Undefined,this.prev=Vs.Undefined}}Vs.Undefined=new Vs(void 0);class Td{constructor(){this._first=Vs.Undefined,this._last=Vs.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Vs.Undefined}clear(){let e=this._first;for(;e!==Vs.Undefined;){const t=e.next;e.prev=Vs.Undefined,e.next=Vs.Undefined,e=t}this._first=Vs.Undefined,this._last=Vs.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new Vs(e);if(this._first===Vs.Undefined)this._first=n,this._last=n;else if(t){const s=this._last;this._last=n,n.prev=s,s.next=n}else{const s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(n))}}shift(){if(this._first!==Vs.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Vs.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Vs.Undefined&&e.next!==Vs.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===Vs.Undefined&&e.next===Vs.Undefined?(this._first=Vs.Undefined,this._last=Vs.Undefined):e.next===Vs.Undefined?(this._last=this._last.prev,this._last.next=Vs.Undefined):e.prev===Vs.Undefined&&(this._first=this._first.next,this._first.prev=Vs.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Vs.Undefined;)yield e.element,e=e.next}}const Det=cs.performance&&typeof cs.performance.now=="function";class Vp{constructor(e){this._highResolution=Det&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new Vp(e)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?cs.performance.now():Date.now()}}var ai;(function(i){i.None=()=>lt.None;function e(b){return(A,y=null,w)=>{let T=!1,I;return I=b(x=>{if(!T)return I?I.dispose():T=!0,A.call(y,x)},null,w),T&&I.dispose(),I}}i.once=e;function t(b,A){return l((y,w=null,T)=>b(I=>y.call(w,A(I)),null,T))}i.map=t;function n(b,A){return l((y,w=null,T)=>b(I=>{A(I),y.call(w,I)},null,T))}i.forEach=n;function r(b,A){return l((y,w=null,T)=>b(I=>A(I)&&y.call(w,I),null,T))}i.filter=r;function s(b){return b}i.signal=s;function o(...b){return(A,y=null,w)=>i1(...b.map(T=>T(I=>A.call(y,I),null,w)))}i.any=o;function a(b,A,y){let w=y;return t(b,T=>(w=A(w,T),w))}i.reduce=a;function l(b){let A;const y=new Ve({onFirstListenerAdd(){A=b(y.fire,y)},onLastListenerRemove(){A.dispose()}});return y.event}function c(b,A,y=100,w=!1,T){let I,x,D,O=0;const P=new Ve({leakWarningThreshold:T,onFirstListenerAdd(){I=b(N=>{O++,x=A(x,N),w&&!D&&(P.fire(x),x=void 0),clearTimeout(D),D=setTimeout(()=>{const M=x;x=void 0,D=void 0,(!w||O>1)&&P.fire(M),O=0},y)})},onLastListenerRemove(){I.dispose()}});return P.event}i.debounce=c;function u(b,A=(y,w)=>y===w){let y=!0,w;return r(b,T=>{const I=y||!A(T,w);return y=!1,w=T,I})}i.latch=u;function d(b,A){return[i.filter(b,A),i.filter(b,y=>!A(y))]}i.split=d;function h(b,A=!1,y=[]){let w=y.slice(),T=b(D=>{w?w.push(D):x.fire(D)});const I=()=>{w&&w.forEach(D=>x.fire(D)),w=null},x=new Ve({onFirstListenerAdd(){T||(T=b(D=>x.fire(D)))},onFirstListenerDidAdd(){w&&(A?setTimeout(I):I())},onLastListenerRemove(){T&&T.dispose(),T=null}});return x.event}i.buffer=h;class g{constructor(A){this.event=A}map(A){return new g(t(this.event,A))}forEach(A){return new g(n(this.event,A))}filter(A){return new g(r(this.event,A))}reduce(A,y){return new g(a(this.event,A,y))}latch(){return new g(u(this.event))}debounce(A,y=100,w=!1,T){return new g(c(this.event,A,y,w,T))}on(A,y,w){return this.event(A,y,w)}once(A,y,w){return e(this.event)(A,y,w)}}function m(b){return new g(b)}i.chain=m;function v(b,A,y=w=>w){const w=(...D)=>x.fire(y(...D)),T=()=>b.on(A,w),I=()=>b.removeListener(A,w),x=new Ve({onFirstListenerAdd:T,onLastListenerRemove:I});return x.event}i.fromNodeEventEmitter=v;function C(b,A,y=w=>w){const w=(...D)=>x.fire(y(...D)),T=()=>b.addEventListener(A,w),I=()=>b.removeEventListener(A,w),x=new Ve({onFirstListenerAdd:T,onLastListenerRemove:I});return x.event}i.fromDOMEventEmitter=C;function S(b){return new Promise(A=>e(b)(A))}i.toPromise=S})(ai||(ai={}));class s5{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${s5._idPool++}`}start(e){this._stopWatch=new Vp(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}s5._idPool=0;class Ve{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=((t=this._options)===null||t===void 0?void 0:t._profName)?new s5(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,n)=>{var r;this._listeners||(this._listeners=new Td);const s=this._listeners.isEmpty();s&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e);s&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t);const a=(r=this._leakageMon)===null||r===void 0?void 0:r.check(this._listeners.size),l=An(()=>{a&&a(),this._disposed||(o(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return n instanceof wt?n.add(l):Array.isArray(n)&&n.push(l),l}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Td);for(let r of this._listeners)this._deliveryQueue.push([r,e]);for((t=this._perfMon)===null||t===void 0||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[r,s]=this._deliveryQueue.shift();try{typeof r=="function"?r.call(void 0,s):r[0].call(r[1],s)}catch(o){Wi(o)}}(n=this._perfMon)===null||n===void 0||n.stop()}}dispose(){var e,t,n,r,s;this._disposed||(this._disposed=!0,(e=this._listeners)===null||e===void 0||e.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(),(r=(n=this._options)===null||n===void 0?void 0:n.onLastListenerRemove)===null||r===void 0||r.call(n),(s=this._leakageMon)===null||s===void 0||s.dispose())}}class o5 extends Ve{constructor(e){super(e);this._isPaused=0,this._eventQueue=new Td,this._mergeFn=e==null?void 0:e.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(this._isPaused!==0?this._eventQueue.push(e):super.fire(e))}}class ket extends o5{constructor(e){var t;super(e);this._delay=(t=e.delay)!==null&&t!==void 0?t:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class Iz{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,r)=>e(s=>{const o=this.buffers[this.buffers.length-1];o?o.push(()=>t.call(n,s)):t.call(n,s)},void 0,r)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(r=>r()),n}}class vpe{constructor(){this.listening=!1,this.inputEvent=ai.None,this.inputEventListener=lt.None,this.emitter=new Ve({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const Cpe=Object.freeze(function(i,e){const t=setTimeout(i.bind(e),0);return{dispose(){clearTimeout(t)}}});var Cn;(function(i){function e(t){return t===i.None||t===i.Cancelled||t instanceof a5?!0:!t||typeof t!="object"?!1:typeof t.isCancellationRequested=="boolean"&&typeof t.onCancellationRequested=="function"}i.isCancellationToken=e,i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:ai.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Cpe})})(Cn||(Cn={}));class a5{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Cpe:(this._emitter||(this._emitter=new Ve),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ic{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a5),this._token}cancel(){this._token?this._token instanceof a5&&this._token.cancel():this._token=Cn.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a5&&this._token.dispose():this._token=Cn.None}}class Tz{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const l5=new Tz,xz=new Tz,Dz=new Tz,ype=new Array(230),Let={},Ret=[],Net=Object.create(null),Oet=Object.create(null),kz=[],Lz=[];for(let i=0;i<=193;i++)kz[i]=-1;for(let i=0;i<=126;i++)Lz[i]=-1;(function(){const i="",e=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",i,i],[0,1,1,"Hyper",0,i,0,i,i,i],[0,1,2,"Super",0,i,0,i,i,i],[0,1,3,"Fn",0,i,0,i,i,i],[0,1,4,"FnLock",0,i,0,i,i,i],[0,1,5,"Suspend",0,i,0,i,i,i],[0,1,6,"Resume",0,i,0,i,i,i],[0,1,7,"Turbo",0,i,0,i,i,i],[0,1,8,"Sleep",0,i,0,"VK_SLEEP",i,i],[0,1,9,"WakeUp",0,i,0,i,i,i],[31,0,10,"KeyA",31,"A",65,"VK_A",i,i],[32,0,11,"KeyB",32,"B",66,"VK_B",i,i],[33,0,12,"KeyC",33,"C",67,"VK_C",i,i],[34,0,13,"KeyD",34,"D",68,"VK_D",i,i],[35,0,14,"KeyE",35,"E",69,"VK_E",i,i],[36,0,15,"KeyF",36,"F",70,"VK_F",i,i],[37,0,16,"KeyG",37,"G",71,"VK_G",i,i],[38,0,17,"KeyH",38,"H",72,"VK_H",i,i],[39,0,18,"KeyI",39,"I",73,"VK_I",i,i],[40,0,19,"KeyJ",40,"J",74,"VK_J",i,i],[41,0,20,"KeyK",41,"K",75,"VK_K",i,i],[42,0,21,"KeyL",42,"L",76,"VK_L",i,i],[43,0,22,"KeyM",43,"M",77,"VK_M",i,i],[44,0,23,"KeyN",44,"N",78,"VK_N",i,i],[45,0,24,"KeyO",45,"O",79,"VK_O",i,i],[46,0,25,"KeyP",46,"P",80,"VK_P",i,i],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",i,i],[48,0,27,"KeyR",48,"R",82,"VK_R",i,i],[49,0,28,"KeyS",49,"S",83,"VK_S",i,i],[50,0,29,"KeyT",50,"T",84,"VK_T",i,i],[51,0,30,"KeyU",51,"U",85,"VK_U",i,i],[52,0,31,"KeyV",52,"V",86,"VK_V",i,i],[53,0,32,"KeyW",53,"W",87,"VK_W",i,i],[54,0,33,"KeyX",54,"X",88,"VK_X",i,i],[55,0,34,"KeyY",55,"Y",89,"VK_Y",i,i],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",i,i],[22,0,36,"Digit1",22,"1",49,"VK_1",i,i],[23,0,37,"Digit2",23,"2",50,"VK_2",i,i],[24,0,38,"Digit3",24,"3",51,"VK_3",i,i],[25,0,39,"Digit4",25,"4",52,"VK_4",i,i],[26,0,40,"Digit5",26,"5",53,"VK_5",i,i],[27,0,41,"Digit6",27,"6",54,"VK_6",i,i],[28,0,42,"Digit7",28,"7",55,"VK_7",i,i],[29,0,43,"Digit8",29,"8",56,"VK_8",i,i],[30,0,44,"Digit9",30,"9",57,"VK_9",i,i],[21,0,45,"Digit0",21,"0",48,"VK_0",i,i],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",i,i],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",i,i],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",i,i],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",i,i],[10,1,50,"Space",10,"Space",32,"VK_SPACE",i,i],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,i,0,i,i,i],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",i,i],[59,1,64,"F1",59,"F1",112,"VK_F1",i,i],[60,1,65,"F2",60,"F2",113,"VK_F2",i,i],[61,1,66,"F3",61,"F3",114,"VK_F3",i,i],[62,1,67,"F4",62,"F4",115,"VK_F4",i,i],[63,1,68,"F5",63,"F5",116,"VK_F5",i,i],[64,1,69,"F6",64,"F6",117,"VK_F6",i,i],[65,1,70,"F7",65,"F7",118,"VK_F7",i,i],[66,1,71,"F8",66,"F8",119,"VK_F8",i,i],[67,1,72,"F9",67,"F9",120,"VK_F9",i,i],[68,1,73,"F10",68,"F10",121,"VK_F10",i,i],[69,1,74,"F11",69,"F11",122,"VK_F11",i,i],[70,1,75,"F12",70,"F12",123,"VK_F12",i,i],[0,1,76,"PrintScreen",0,i,0,i,i,i],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",i,i],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",i,i],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",i,i],[14,1,80,"Home",14,"Home",36,"VK_HOME",i,i],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",i,i],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",i,i],[13,1,83,"End",13,"End",35,"VK_END",i,i],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",i,i],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",i],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",i],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",i],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",i],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",i,i],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",i,i],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",i,i],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",i,i],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",i,i],[3,1,94,"NumpadEnter",3,i,0,i,i,i],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",i,i],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",i,i],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",i,i],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",i,i],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",i,i],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",i,i],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",i,i],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",i,i],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",i,i],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",i,i],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",i,i],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",i,i],[58,1,107,"ContextMenu",58,"ContextMenu",93,i,i,i],[0,1,108,"Power",0,i,0,i,i,i],[0,1,109,"NumpadEqual",0,i,0,i,i,i],[71,1,110,"F13",71,"F13",124,"VK_F13",i,i],[72,1,111,"F14",72,"F14",125,"VK_F14",i,i],[73,1,112,"F15",73,"F15",126,"VK_F15",i,i],[74,1,113,"F16",74,"F16",127,"VK_F16",i,i],[75,1,114,"F17",75,"F17",128,"VK_F17",i,i],[76,1,115,"F18",76,"F18",129,"VK_F18",i,i],[77,1,116,"F19",77,"F19",130,"VK_F19",i,i],[0,1,117,"F20",0,i,0,"VK_F20",i,i],[0,1,118,"F21",0,i,0,"VK_F21",i,i],[0,1,119,"F22",0,i,0,"VK_F22",i,i],[0,1,120,"F23",0,i,0,"VK_F23",i,i],[0,1,121,"F24",0,i,0,"VK_F24",i,i],[0,1,122,"Open",0,i,0,i,i,i],[0,1,123,"Help",0,i,0,i,i,i],[0,1,124,"Select",0,i,0,i,i,i],[0,1,125,"Again",0,i,0,i,i,i],[0,1,126,"Undo",0,i,0,i,i,i],[0,1,127,"Cut",0,i,0,i,i,i],[0,1,128,"Copy",0,i,0,i,i,i],[0,1,129,"Paste",0,i,0,i,i,i],[0,1,130,"Find",0,i,0,i,i,i],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",i,i],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",i,i],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",i,i],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",i,i],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",i,i],[0,1,136,"KanaMode",0,i,0,i,i,i],[0,0,137,"IntlYen",0,i,0,i,i,i],[0,1,138,"Convert",0,i,0,i,i,i],[0,1,139,"NonConvert",0,i,0,i,i,i],[0,1,140,"Lang1",0,i,0,i,i,i],[0,1,141,"Lang2",0,i,0,i,i,i],[0,1,142,"Lang3",0,i,0,i,i,i],[0,1,143,"Lang4",0,i,0,i,i,i],[0,1,144,"Lang5",0,i,0,i,i,i],[0,1,145,"Abort",0,i,0,i,i,i],[0,1,146,"Props",0,i,0,i,i,i],[0,1,147,"NumpadParenLeft",0,i,0,i,i,i],[0,1,148,"NumpadParenRight",0,i,0,i,i,i],[0,1,149,"NumpadBackspace",0,i,0,i,i,i],[0,1,150,"NumpadMemoryStore",0,i,0,i,i,i],[0,1,151,"NumpadMemoryRecall",0,i,0,i,i,i],[0,1,152,"NumpadMemoryClear",0,i,0,i,i,i],[0,1,153,"NumpadMemoryAdd",0,i,0,i,i,i],[0,1,154,"NumpadMemorySubtract",0,i,0,i,i,i],[0,1,155,"NumpadClear",0,i,0,i,i,i],[0,1,156,"NumpadClearEntry",0,i,0,i,i,i],[5,1,0,i,5,"Ctrl",17,"VK_CONTROL",i,i],[4,1,0,i,4,"Shift",16,"VK_SHIFT",i,i],[6,1,0,i,6,"Alt",18,"VK_MENU",i,i],[57,1,0,i,57,"Meta",0,"VK_COMMAND",i,i],[5,1,157,"ControlLeft",5,i,0,"VK_LCONTROL",i,i],[4,1,158,"ShiftLeft",4,i,0,"VK_LSHIFT",i,i],[6,1,159,"AltLeft",6,i,0,"VK_LMENU",i,i],[57,1,160,"MetaLeft",57,i,0,"VK_LWIN",i,i],[5,1,161,"ControlRight",5,i,0,"VK_RCONTROL",i,i],[4,1,162,"ShiftRight",4,i,0,"VK_RSHIFT",i,i],[6,1,163,"AltRight",6,i,0,"VK_RMENU",i,i],[57,1,164,"MetaRight",57,i,0,"VK_RWIN",i,i],[0,1,165,"BrightnessUp",0,i,0,i,i,i],[0,1,166,"BrightnessDown",0,i,0,i,i,i],[0,1,167,"MediaPlay",0,i,0,i,i,i],[0,1,168,"MediaRecord",0,i,0,i,i,i],[0,1,169,"MediaFastForward",0,i,0,i,i,i],[0,1,170,"MediaRewind",0,i,0,i,i,i],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",i,i],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",i,i],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",i,i],[0,1,174,"Eject",0,i,0,i,i,i],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",i,i],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",i,i],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",i,i],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",i,i],[0,1,179,"LaunchApp1",0,i,0,"VK_MEDIA_LAUNCH_APP1",i,i],[0,1,180,"SelectTask",0,i,0,i,i,i],[0,1,181,"LaunchScreenSaver",0,i,0,i,i,i],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",i,i],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",i,i],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",i,i],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",i,i],[0,1,186,"BrowserStop",0,i,0,"VK_BROWSER_STOP",i,i],[0,1,187,"BrowserRefresh",0,i,0,"VK_BROWSER_REFRESH",i,i],[0,1,188,"BrowserFavorites",0,i,0,"VK_BROWSER_FAVORITES",i,i],[0,1,189,"ZoomToggle",0,i,0,i,i,i],[0,1,190,"MailReply",0,i,0,i,i,i],[0,1,191,"MailForward",0,i,0,i,i,i],[0,1,192,"MailSend",0,i,0,i,i,i],[109,1,0,i,109,"KeyInComposition",229,i,i,i],[111,1,0,i,111,"ABNT_C2",194,"VK_ABNT_C2",i,i],[91,1,0,i,91,"OEM_8",223,"VK_OEM_8",i,i],[0,1,0,i,0,i,0,"VK_CLEAR",i,i],[0,1,0,i,0,i,0,"VK_KANA",i,i],[0,1,0,i,0,i,0,"VK_HANGUL",i,i],[0,1,0,i,0,i,0,"VK_JUNJA",i,i],[0,1,0,i,0,i,0,"VK_FINAL",i,i],[0,1,0,i,0,i,0,"VK_HANJA",i,i],[0,1,0,i,0,i,0,"VK_KANJI",i,i],[0,1,0,i,0,i,0,"VK_CONVERT",i,i],[0,1,0,i,0,i,0,"VK_NONCONVERT",i,i],[0,1,0,i,0,i,0,"VK_ACCEPT",i,i],[0,1,0,i,0,i,0,"VK_MODECHANGE",i,i],[0,1,0,i,0,i,0,"VK_SELECT",i,i],[0,1,0,i,0,i,0,"VK_PRINT",i,i],[0,1,0,i,0,i,0,"VK_EXECUTE",i,i],[0,1,0,i,0,i,0,"VK_SNAPSHOT",i,i],[0,1,0,i,0,i,0,"VK_HELP",i,i],[0,1,0,i,0,i,0,"VK_APPS",i,i],[0,1,0,i,0,i,0,"VK_PROCESSKEY",i,i],[0,1,0,i,0,i,0,"VK_PACKET",i,i],[0,1,0,i,0,i,0,"VK_DBE_SBCSCHAR",i,i],[0,1,0,i,0,i,0,"VK_DBE_DBCSCHAR",i,i],[0,1,0,i,0,i,0,"VK_ATTN",i,i],[0,1,0,i,0,i,0,"VK_CRSEL",i,i],[0,1,0,i,0,i,0,"VK_EXSEL",i,i],[0,1,0,i,0,i,0,"VK_EREOF",i,i],[0,1,0,i,0,i,0,"VK_PLAY",i,i],[0,1,0,i,0,i,0,"VK_ZOOM",i,i],[0,1,0,i,0,i,0,"VK_NONAME",i,i],[0,1,0,i,0,i,0,"VK_PA1",i,i],[0,1,0,i,0,i,0,"VK_OEM_CLEAR",i,i]];let t=[],n=[];for(const r of e){const[s,o,a,l,c,u,d,h,g,m]=r;if(n[a]||(n[a]=!0,Ret[a]=l,Net[l]=a,Oet[l.toLowerCase()]=a,o&&(kz[a]=c,c!==0&&c!==3&&c!==5&&c!==4&&c!==6&&c!==57&&(Lz[c]=a))),!t[c]){if(t[c]=!0,!u)throw new Error(`String representation missing for key code ${c} around scan code ${l}`);l5.define(c,u),xz.define(c,g||u),Dz.define(c,m||g||u)}d&&(ype[d]=c),h&&(Let[h]=c)}Lz[3]=46})();var Ny;(function(i){function e(a){return l5.keyCodeToStr(a)}i.toString=e;function t(a){return l5.strToKeyCode(a)}i.fromString=t;function n(a){return xz.keyCodeToStr(a)}i.toUserSettingsUS=n;function r(a){return Dz.keyCodeToStr(a)}i.toUserSettingsGeneral=r;function s(a){return xz.strToKeyCode(a)||Dz.strToKeyCode(a)}i.fromUserSettings=s;function o(a){if(a>=93&&a<=108)return null;switch(a){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return l5.keyCodeToStr(a)}i.toElectronAccelerator=o})(Ny||(Ny={}));function pa(i,e){const t=(e&65535)<<16>>>0;return(i|t)>>>0}let iE;if(typeof cs.vscode!="undefined"&&typeof cs.vscode.process!="undefined"){const i=cs.vscode.process;iE={get platform(){return i.platform},get arch(){return i.arch},get env(){return i.env},cwd(){return i.cwd()}}}else typeof process!="undefined"?iE={get platform(){return process.platform},get arch(){return process.arch},get env(){return{npm_package_devDependencies_react_dom:"^17.0.2",npm_package_devDependencies__storybook_addon_links:"^6.3.12",npm_package_devDependencies__emotion_eslint_plugin:"^11.2.0",COREPACK_ROOT:"/Users/NewItem/.npm-global/lib/node_modules/corepack",npm_package_gitHead:"492b228acbf6f7bc309984755a8dd948ea6fb0e2",npm_package_devDependencies_prettier:"^2.3.2",npm_package_devDependencies_postcss_import:"^14.0.2",npm_package_devDependencies_xterm:"^4.13.0",npm_package_devDependencies_tsconfig_paths_webpack_plugin:"^3.5.1",npm_package_devDependencies_source_map_loader:"^3.0.0",npm_package_devDependencies_rsuite:"^5.0.0",npm_package_devDependencies__types_tailwindcss:"^2.2.4",TERM_PROGRAM:"vscode",npm_package_devDependencies_normalize_url:"^7.0.2",npm_package_devDependencies_idb:"^6.1.5",npm_package_devDependencies_cssnano:"^5.0.11",NODE:"/usr/local/bin/node",npm_package_devDependencies_socket_io_client:"^4.2.0",npm_package_devDependencies_file_loader:"^6.2.0",INIT_CWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",_P9K_TTY:"/dev/ttys005",npm_package_devDependencies_terser_webpack_plugin:"^5.2.5",npm_package_devDependencies__emotion_babel_preset_css_prop:"^11.2.0",npm_package_homepage:"https://github.com/dao42/d42paas_frontend#readme",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^2.7.2",npm_package_devDependencies_stylis:"^4.0.10",npm_package_devDependencies_jest:"27.0.6",npm_package_devDependencies__storybook_addon_essentials:"^6.3.12",npm_package_devDependencies_style_loader:"^3.3.1",npm_package_devDependencies_rimraf:"^3.0.2",TMPDIR:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/",npm_package_devDependencies_happypack:"^5.0.1",npm_package_devDependencies__babel_preset_typescript:"^7.15.0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.63.0",npm_package_devDependencies_fs_extra:"^10.0.0",npm_package_devDependencies_concurrently:"^6.3.0",npm_package_devDependencies_babel_core:"^6.26.3",npm_package_devDependencies__vitejs_plugin_react:"^1.0.7",npm_package_devDependencies__types_happypack:"^5.0.2",npm_package_devDependencies__emotion_react:"^11.4.1",npm_package_scripts_copyTS:"shx cp ./src/types/editor.d.ts ./dist",npm_package_scripts_dev:"vite serve --host --config ./config/vite.config.ts",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",npm_package_devDependencies_sass_loader:"^12.2.0",npm_package_devDependencies_xterm_addon_fit:"^0.5.0",npm_package_devDependencies_webpack_bundle_analyzer:"^4.5.0",npm_package_devDependencies_ot:"^0.0.15",npm_package_devDependencies__babel_plugin_syntax_dynamic_import:"^7.8.3",npm_package_scripts_dev_disble:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',npm_config_registry:"https://registry.yarnpkg.com",ZSH:"/Users/NewItem/.oh-my-zsh",npm_package_repository_url:"git+https://github.com/dao42/d42paas_frontend.git",npm_package_scripts_fix:"eslint --fix --ext .jsx src/**",npm_package_devDependencies__emotion_styled:"^11.3.0",npm_package_scripts_patch:"npm version patch",USER:"NewItem",http_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_webpack:"^5.52.0",npm_package_devDependencies_react:"^17.0.2",npm_package_devDependencies__babel_plugin_transform_runtime:"^7.15.0",npm_package_description:"> TODO: description",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_socket_io:"^4.2.0",npm_package_devDependencies_glob_all:"^3.2.1",npm_package_devDependencies_dotenv:"^10.0.0",npm_package_devDependencies__types_react:"^17.0.24",npm_package_license:"ISC",COMMAND_MODE:"unix2003",npm_package_devDependencies_monaco_editor:"^0.31.0",npm_package_devDependencies__emotion_babel_plugin:"^11.3.0",npm_package_scripts_build_storybook:"build-storybook -o .storybook/dist",npm_package_scripts_prebuild:"rimraf dist",npm_package_exports___import:"./dist/DaoPaaS.es.js",npm_package_devDependencies_webpack_dev_server:"^4.1.0",npm_package_devDependencies_reflect_metadata:"^0.1.13",npm_package_devDependencies__babel_core:"^7.9",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners",npm_package_devDependencies_babel_loader:"^8.2.2",npm_package_devDependencies__types_ip:"^1.1.0",npm_package_devDependencies__storybook_manager_webpack5:"^6.3.12",npm_package_devDependencies__storybook_addon_actions:"^6.3.12",__CF_USER_TEXT_ENCODING:"0x1F6:0x0:0x0",npm_package_devDependencies_rxjs:"^7.2.0",npm_package_devDependencies_postcss:"^8.0.9",npm_package_devDependencies__types_jest:"^27.0.2",npm_execpath:"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs",npm_package_devDependencies_webpack_dashboard:"^3.3.6",npm_package_devDependencies__emotion_core:"^11.0.0",PAGER:"less",npm_package_module:"./dist/DaoPaaS.es.js",npm_package_devDependencies__fullhuman_postcss_purgecss:"^4.0.3",npm_package_devDependencies__emotion_css:"^11.1.3",npm_package_author_name:"eric183",LSCOLORS:"Gxfxcxdxbxegedabagacad",YARN_IGNORE_PATH:"1",npm_package_devDependencies_mini_css_extract_plugin:"^2.4.5",npm_package_devDependencies__types_react_dom:"^17.0.9",npm_package_devDependencies__babel_runtime:"^7.15.4",npm_package_scripts_vite_save:"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",PATH:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640601202474-0.8905620113986801:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh",npm_config_argv:'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',npm_package_devDependencies_uuid:"^8.3.2",npm_package_devDependencies__types_css_minimizer_webpack_plugin:"^3.0.2",npm_package_scripts_start_web:"yarn prebuild && yarn vite",npm_package_devDependencies_lottie_web:"^5.7.14",npm_config_workspaces_experimental:"true",_:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite",npm_config_https_proxy:"http://127.0.0.1:8889/",__CFBundleIdentifier:"com.microsoft.VSCode",npm_package_devDependencies_ts_jest:"^27.0.3",PWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",npm_package_devDependencies_zustand:"^3.5.10",npm_package_devDependencies_tailwindcss:"^3.0.7",npm_package_bugs_url:"https://github.com/dao42/d42paas_frontend/issues",npm_package_devDependencies_react_loading_skeleton:"^3.0.1",npm_package_devDependencies__types_lodash:"^4.14.175",P9K_SSH:"0",npm_lifecycle_event:"vite",LANG:"en_US.UTF-8",P9K_TTY:"old",npm_package_repository_type:"git",npm_package_devDependencies__types_mini_css_extract_plugin:"^2.4.0",npm_package_dependencies__dao42_d42paas_rtc:"^0.1.8",npm_package_types:"./dist/editor.d.ts",npm_package_name:"@dao42/d42paas-front",npm_package_devDependencies__babel_preset_react:"^7.14.5",npm_package_devDependencies__babel_preset_env:"^7.15.4",npm_package_scripts_analyse:'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',npm_package_devDependencies_sass:"^1.43.2",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"--ms-enable-electron-run-as-node",npm_package_devDependencies_ts_loader:"^9.2.5",npm_package_devDependencies_react_complex_tree:"^1.1.2",npm_package_devDependencies__types_dotenv_webpack:"^7.0.3",npm_package_exports___dist_style_css_import:"./dist/style.css",npm_config_bin_links:"true",npm_package_devDependencies__storybook_react:"^6.3.12",https_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_speed_measure_webpack_plugin:"^1.5.0",npm_package_main:"./dist/DaoPaaS.umd.js",XPC_SERVICE_NAME:"0",npm_package_devDependencies_react_spring:"^9.2.4",npm_package_version:"0.5.12",npm_package_devDependencies_three:"^0.132.2",npm_package_devDependencies_css_minimizer_webpack_plugin:"^3.1.4",npm_package_devDependencies_autoprefixer:"^10.0.2",npm_package_devDependencies__storybook_addon_postcss:"^2.0.0",npm_package_scripts_vite:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",HOME:"/Users/NewItem",SHLVL:"2",npm_package_devDependencies_reconnecting_websocket:"^4.4.0",npm_package_scripts_dev_save:"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_package_scripts_storybook:"start-storybook -p 6006",npm_package_devDependencies_lodash:"^4.17.21",npm_package_devDependencies_ip:"^1.1.5",npm_package_scripts_webpack:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',npm_config_save_prefix:"^",npm_config_strict_ssl:"true",npm_config_version_git_message:"v%s",npm_package_devDependencies_ts_node:"^10.0.0",npm_package_devDependencies_react_router_dom:"^5.3.0",npm_package_devDependencies__react_spring_types:"^9.2.4",LOGNAME:"NewItem",LESS:"-R",YARN_WRAP_OUTPUT:"false",npm_package_devDependencies_html_webpack_plugin:"^5.3.2",npm_lifecycle_script:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",npm_package_exports___require:"./dist/DaoPaaS.umd.js",VSCODE_GIT_IPC_HANDLE:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock",npm_package_exports___dist_style_css_require:"./dist/style.css",npm_package_author_email:"kk297466058@gmail.com",npm_config_ignore_path:"1",npm_config_proxy:"http://127.0.0.1:8889/",npm_package_devDependencies_react_dnd_html5_backend:"^14.0.2",npm_package_devDependencies_monaco_editor_core:"^0.31.0",npm_package_devDependencies__types_fs_extra:"^9.0.13",npm_package_devDependencies_postcss_nesting:"^10.1.0",npm_package_devDependencies__types_uuid:"^8.3.1",npm_package_devDependencies__types_ot:"^0.0.5",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.1 npm/? node/v16.13.1 darwin x64",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/MacOS/Electron",npm_package_devDependencies_dotenv_webpack:"^7.0.3",npm_package_devDependencies_axios:"^0.21.4",npm_package_devDependencies__types_webpack:"^5.28.0",npm_package_files_0:"dist",npm_package_scripts_np:"npm publish --access-public",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",npm_package_devDependencies_css_loader:"^6.5.1",npm_package_devDependencies_react_dnd:"^14.0.4",COLORTERM:"truecolor",npm_node_execpath:"/usr/local/bin/node",npm_package_devDependencies_xterm_addon_attach:"^0.6.0",npm_package_devDependencies__loadable_component:"^5.15.2",npm_config_version_tag_prefix:"v",npm_config_prefix:"/Users/NewItem/.npm-global",NODE_ENV:"production",RABBITMQ_USER:"agent",RABBITMQ_PASSWORD:"d42agent",RABBITMQ_ORIGIN:"develop.1024paas.com",RABBITMQ_VHOST:"/dev",RABBITMQ_PORT:"5672",SOCKET_INSTANCE_REDIS_HOST:"gz-crs-c68uv1j5.sql.tencentcdb.com",SOCKET_INSTANCE_REDIS_PORT:"22680",SOCKET_INSTANCE_REDIS_PASSWORD:"1024paas",SOCKET_INSTANCE_REDIS_DATABASE:"2",SOCKET_INSTANCE_CLIENT_PORT:"4001",TICKET_ORIGIN:"develop.1024paas.com",TICKET_PORT:"8000","process.env.npm_package_devDependencies_react_dom":"^17.0.2","process.env.npm_package_devDependencies__storybook_addon_links":"^6.3.12","process.env.npm_package_devDependencies__emotion_eslint_plugin":"^11.2.0","process.env.COREPACK_ROOT":"/Users/NewItem/.npm-global/lib/node_modules/corepack","process.env.npm_package_gitHead":"492b228acbf6f7bc309984755a8dd948ea6fb0e2","process.env.npm_package_devDependencies_prettier":"^2.3.2","process.env.npm_package_devDependencies_postcss_import":"^14.0.2","process.env.npm_package_devDependencies_xterm":"^4.13.0","process.env.npm_package_devDependencies_tsconfig_paths_webpack_plugin":"^3.5.1","process.env.npm_package_devDependencies_source_map_loader":"^3.0.0","process.env.npm_package_devDependencies_rsuite":"^5.0.0","process.env.npm_package_devDependencies__types_tailwindcss":"^2.2.4","process.env.TERM_PROGRAM":"vscode","process.env.npm_package_devDependencies_normalize_url":"^7.0.2","process.env.npm_package_devDependencies_idb":"^6.1.5","process.env.npm_package_devDependencies_cssnano":"^5.0.11","process.env.NODE":"/usr/local/bin/node","process.env.npm_package_devDependencies_socket_io_client":"^4.2.0","process.env.npm_package_devDependencies_file_loader":"^6.2.0","process.env.INIT_CWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env._P9K_TTY":"/dev/ttys005","process.env.npm_package_devDependencies_terser_webpack_plugin":"^5.2.5","process.env.npm_package_devDependencies__emotion_babel_preset_css_prop":"^11.2.0","process.env.npm_package_homepage":"https://github.com/dao42/d42paas_frontend#readme","process.env.npm_config_version_git_tag":"true","process.env.SHELL":"/bin/zsh","process.env.TERM":"xterm-256color","process.env.npm_package_devDependencies_vite":"^2.7.2","process.env.npm_package_devDependencies_stylis":"^4.0.10","process.env.npm_package_devDependencies_jest":"27.0.6","process.env.npm_package_devDependencies__storybook_addon_essentials":"^6.3.12","process.env.npm_package_devDependencies_style_loader":"^3.3.1","process.env.npm_package_devDependencies_rimraf":"^3.0.2","process.env.TMPDIR":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/","process.env.npm_package_devDependencies_happypack":"^5.0.1","process.env.npm_package_devDependencies__babel_preset_typescript":"^7.15.0","process.env.npm_config_init_license":"MIT","process.env.TERM_PROGRAM_VERSION":"1.63.0","process.env.npm_package_devDependencies_fs_extra":"^10.0.0","process.env.npm_package_devDependencies_concurrently":"^6.3.0","process.env.npm_package_devDependencies_babel_core":"^6.26.3","process.env.npm_package_devDependencies__vitejs_plugin_react":"^1.0.7","process.env.npm_package_devDependencies__types_happypack":"^5.0.2","process.env.npm_package_devDependencies__emotion_react":"^11.4.1","process.env.npm_package_scripts_copyTS":"shx cp ./src/types/editor.d.ts ./dist","process.env.npm_package_scripts_dev":"vite serve --host --config ./config/vite.config.ts","process.env.ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","process.env.npm_package_devDependencies_sass_loader":"^12.2.0","process.env.npm_package_devDependencies_xterm_addon_fit":"^0.5.0","process.env.npm_package_devDependencies_webpack_bundle_analyzer":"^4.5.0","process.env.npm_package_devDependencies_ot":"^0.0.15","process.env.npm_package_devDependencies__babel_plugin_syntax_dynamic_import":"^7.8.3","process.env.npm_package_scripts_dev_disble":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',"process.env.npm_config_registry":"https://registry.yarnpkg.com","process.env.ZSH":"/Users/NewItem/.oh-my-zsh","process.env.npm_package_repository_url":"git+https://github.com/dao42/d42paas_frontend.git","process.env.npm_package_scripts_fix":"eslint --fix --ext .jsx src/**","process.env.npm_package_devDependencies__emotion_styled":"^11.3.0","process.env.npm_package_scripts_patch":"npm version patch","process.env.USER":"NewItem","process.env.http_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_webpack":"^5.52.0","process.env.npm_package_devDependencies_react":"^17.0.2","process.env.npm_package_devDependencies__babel_plugin_transform_runtime":"^7.15.0","process.env.npm_package_description":"> TODO: description","process.env.npm_package_devDependencies_webpack_cli":"^4.9.1","process.env.npm_package_devDependencies_socket_io":"^4.2.0","process.env.npm_package_devDependencies_glob_all":"^3.2.1","process.env.npm_package_devDependencies_dotenv":"^10.0.0","process.env.npm_package_devDependencies__types_react":"^17.0.24","process.env.npm_package_license":"ISC","process.env.COMMAND_MODE":"unix2003","process.env.npm_package_devDependencies_monaco_editor":"^0.31.0","process.env.npm_package_devDependencies__emotion_babel_plugin":"^11.3.0","process.env.npm_package_scripts_build_storybook":"build-storybook -o .storybook/dist","process.env.npm_package_scripts_prebuild":"rimraf dist","process.env.npm_package_exports___import":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies_webpack_dev_server":"^4.1.0","process.env.npm_package_devDependencies_reflect_metadata":"^0.1.13","process.env.npm_package_devDependencies__babel_core":"^7.9","process.env.SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners","process.env.npm_package_devDependencies_babel_loader":"^8.2.2","process.env.npm_package_devDependencies__types_ip":"^1.1.0","process.env.npm_package_devDependencies__storybook_manager_webpack5":"^6.3.12","process.env.npm_package_devDependencies__storybook_addon_actions":"^6.3.12","process.env.__CF_USER_TEXT_ENCODING":"0x1F6:0x0:0x0","process.env.npm_package_devDependencies_rxjs":"^7.2.0","process.env.npm_package_devDependencies_postcss":"^8.0.9","process.env.npm_package_devDependencies__types_jest":"^27.0.2","process.env.npm_execpath":"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs","process.env.npm_package_devDependencies_webpack_dashboard":"^3.3.6","process.env.npm_package_devDependencies__emotion_core":"^11.0.0","process.env.PAGER":"less","process.env.npm_package_module":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies__fullhuman_postcss_purgecss":"^4.0.3","process.env.npm_package_devDependencies__emotion_css":"^11.1.3","process.env.npm_package_author_name":"eric183","process.env.LSCOLORS":"Gxfxcxdxbxegedabagacad","process.env.YARN_IGNORE_PATH":"1","process.env.npm_package_devDependencies_mini_css_extract_plugin":"^2.4.5","process.env.npm_package_devDependencies__types_react_dom":"^17.0.9","process.env.npm_package_devDependencies__babel_runtime":"^7.15.4","process.env.npm_package_scripts_vite_save":"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.PATH":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640601202474-0.8905620113986801:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh","process.env.npm_config_argv":'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',"process.env.npm_package_devDependencies_uuid":"^8.3.2","process.env.npm_package_devDependencies__types_css_minimizer_webpack_plugin":"^3.0.2","process.env.npm_package_scripts_start_web":"yarn prebuild && yarn vite","process.env.npm_package_devDependencies_lottie_web":"^5.7.14","process.env.npm_config_workspaces_experimental":"true","process.env._":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite","process.env.npm_config_https_proxy":"http://127.0.0.1:8889/","process.env.__CFBundleIdentifier":"com.microsoft.VSCode","process.env.npm_package_devDependencies_ts_jest":"^27.0.3","process.env.PWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env.npm_package_devDependencies_zustand":"^3.5.10","process.env.npm_package_devDependencies_tailwindcss":"^3.0.7","process.env.npm_package_bugs_url":"https://github.com/dao42/d42paas_frontend/issues","process.env.npm_package_devDependencies_react_loading_skeleton":"^3.0.1","process.env.npm_package_devDependencies__types_lodash":"^4.14.175","process.env.P9K_SSH":"0","process.env.npm_lifecycle_event":"vite","process.env.LANG":"en_US.UTF-8","process.env.P9K_TTY":"old","process.env.npm_package_repository_type":"git","process.env.npm_package_devDependencies__types_mini_css_extract_plugin":"^2.4.0","process.env.npm_package_dependencies__dao42_d42paas_rtc":"^0.1.8","process.env.npm_package_types":"./dist/editor.d.ts","process.env.npm_package_name":"@dao42/d42paas-front","process.env.npm_package_devDependencies__babel_preset_react":"^7.14.5","process.env.npm_package_devDependencies__babel_preset_env":"^7.15.4","process.env.npm_package_scripts_analyse":'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',"process.env.npm_package_devDependencies_sass":"^1.43.2","process.env.npm_config_version_commit_hooks":"true","process.env.XPC_FLAGS":"0x0","process.env.VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","process.env.npm_package_devDependencies_ts_loader":"^9.2.5","process.env.npm_package_devDependencies_react_complex_tree":"^1.1.2","process.env.npm_package_devDependencies__types_dotenv_webpack":"^7.0.3","process.env.npm_package_exports___dist_style_css_import":"./dist/style.css","process.env.npm_config_bin_links":"true","process.env.npm_package_devDependencies__storybook_react":"^6.3.12","process.env.https_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_speed_measure_webpack_plugin":"^1.5.0","process.env.npm_package_main":"./dist/DaoPaaS.umd.js","process.env.XPC_SERVICE_NAME":"0","process.env.npm_package_devDependencies_react_spring":"^9.2.4","process.env.npm_package_version":"0.5.12","process.env.npm_package_devDependencies_three":"^0.132.2","process.env.npm_package_devDependencies_css_minimizer_webpack_plugin":"^3.1.4","process.env.npm_package_devDependencies_autoprefixer":"^10.0.2","process.env.npm_package_devDependencies__storybook_addon_postcss":"^2.0.0","process.env.npm_package_scripts_vite":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.HOME":"/Users/NewItem","process.env.SHLVL":"2","process.env.npm_package_devDependencies_reconnecting_websocket":"^4.4.0","process.env.npm_package_scripts_dev_save":"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts","process.env.VSCODE_GIT_ASKPASS_MAIN":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js","process.env.npm_package_scripts_storybook":"start-storybook -p 6006","process.env.npm_package_devDependencies_lodash":"^4.17.21","process.env.npm_package_devDependencies_ip":"^1.1.5","process.env.npm_package_scripts_webpack":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',"process.env.npm_config_save_prefix":"^","process.env.npm_config_strict_ssl":"true","process.env.npm_config_version_git_message":"v%s","process.env.npm_package_devDependencies_ts_node":"^10.0.0","process.env.npm_package_devDependencies_react_router_dom":"^5.3.0","process.env.npm_package_devDependencies__react_spring_types":"^9.2.4","process.env.LOGNAME":"NewItem","process.env.LESS":"-R","process.env.YARN_WRAP_OUTPUT":"false","process.env.npm_package_devDependencies_html_webpack_plugin":"^5.3.2","process.env.npm_lifecycle_script":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.npm_package_exports___require":"./dist/DaoPaaS.umd.js","process.env.VSCODE_GIT_IPC_HANDLE":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock","process.env.npm_package_exports___dist_style_css_require":"./dist/style.css","process.env.npm_package_author_email":"kk297466058@gmail.com","process.env.npm_config_ignore_path":"1","process.env.npm_config_proxy":"http://127.0.0.1:8889/","process.env.npm_package_devDependencies_react_dnd_html5_backend":"^14.0.2","process.env.npm_package_devDependencies_monaco_editor_core":"^0.31.0","process.env.npm_package_devDependencies__types_fs_extra":"^9.0.13","process.env.npm_package_devDependencies_postcss_nesting":"^10.1.0","process.env.npm_package_devDependencies__types_uuid":"^8.3.1","process.env.npm_package_devDependencies__types_ot":"^0.0.5","process.env.npm_config_version_git_sign":"","process.env.npm_config_ignore_scripts":"","process.env.npm_config_user_agent":"yarn/1.22.1 npm/? node/v16.13.1 darwin x64","process.env.GIT_ASKPASS":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh","process.env.VSCODE_GIT_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","process.env.npm_package_devDependencies_dotenv_webpack":"^7.0.3","process.env.npm_package_devDependencies_axios":"^0.21.4","process.env.npm_package_devDependencies__types_webpack":"^5.28.0","process.env.npm_package_files_0":"dist","process.env.npm_package_scripts_np":"npm publish --access-public","process.env.npm_config_init_version":"1.0.0","process.env.npm_config_ignore_optional":"","process.env.npm_package_devDependencies_css_loader":"^6.5.1","process.env.npm_package_devDependencies_react_dnd":"^14.0.4","process.env.COLORTERM":"truecolor","process.env.npm_node_execpath":"/usr/local/bin/node","process.env.npm_package_devDependencies_xterm_addon_attach":"^0.6.0","process.env.npm_package_devDependencies__loadable_component":"^5.15.2","process.env.npm_config_version_tag_prefix":"v","process.env.npm_config_prefix":"/Users/NewItem/.npm-global","process.env.NODE_ENV":"production","process.env.RABBITMQ_USER":"agent","process.env.RABBITMQ_PASSWORD":"d42agent","process.env.RABBITMQ_ORIGIN":"develop.1024paas.com","process.env.RABBITMQ_VHOST":"/dev","process.env.RABBITMQ_PORT":"5672","process.env.SOCKET_INSTANCE_REDIS_HOST":"gz-crs-c68uv1j5.sql.tencentcdb.com","process.env.SOCKET_INSTANCE_REDIS_PORT":"22680","process.env.SOCKET_INSTANCE_REDIS_PASSWORD":"1024paas","process.env.SOCKET_INSTANCE_REDIS_DATABASE":"2","process.env.SOCKET_INSTANCE_CLIENT_PORT":"4001","process.env.TICKET_ORIGIN":"develop.1024paas.com","process.env.TICKET_PORT":"8000",LOCAL_IP_HOST:"192.168.2.11"}},cwd(){return process.cwd()}}:iE={get platform(){return Ba?"win32":vn?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const Rz=iE.cwd;iE.env;const Oy=iE.platform,Pet=65,Met=97,Bet=90,Fet=122,n1=46,nc=47,xd=92,r1=58,Uet=63;class bpe extends Error{constructor(e,t,n){let r;typeof t=="string"&&t.indexOf("not ")===0?(r="must not be",t=t.replace(/^not /,"")):r="must be";const s=e.indexOf(".")!==-1?"property":"argument";let o=`The "${e}" ${s} ${r} of type ${t}`;o+=`. Received type ${typeof n}`;super(o);this.code="ERR_INVALID_ARG_TYPE"}}function ma(i,e){if(typeof i!="string")throw new bpe(e,"string",i)}function ir(i){return i===nc||i===xd}function Nz(i){return i===nc}function s1(i){return i>=Pet&&i<=Bet||i>=Met&&i<=Fet}function c5(i,e,t,n){let r="",s=0,o=-1,a=0,l=0;for(let c=0;c<=i.length;++c){if(c<i.length)l=i.charCodeAt(c);else{if(n(l))break;l=nc}if(n(l)){if(!(o===c-1||a===1))if(a===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==n1||r.charCodeAt(r.length-2)!==n1){if(r.length>2){const u=r.lastIndexOf(t);u===-1?(r="",s=0):(r=r.slice(0,u),s=r.length-1-r.lastIndexOf(t)),o=c,a=0;continue}else if(r.length!==0){r="",s=0,o=c,a=0;continue}}e&&(r+=r.length>0?`${t}..`:"..",s=2)}else r.length>0?r+=`${t}${i.slice(o+1,c)}`:r=i.slice(o+1,c),s=c-o-1;o=c,a=0}else l===n1&&a!==-1?++a:a=-1}return r}function Ape(i,e){if(e===null||typeof e!="object")throw new bpe("pathObject","Object",e);const t=e.dir||e.root,n=e.base||`${e.name||""}${e.ext||""}`;return t?t===e.root?`${t}${n}`:`${t}${i}${n}`:n}const Mu={resolve(...i){let e="",t="",n=!1;for(let r=i.length-1;r>=-1;r--){let s;if(r>=0){if(s=i[r],ma(s,"path"),s.length===0)continue}else e.length===0?s=Rz():(s={npm_package_devDependencies_react_dom:"^17.0.2",npm_package_devDependencies__storybook_addon_links:"^6.3.12",npm_package_devDependencies__emotion_eslint_plugin:"^11.2.0",COREPACK_ROOT:"/Users/NewItem/.npm-global/lib/node_modules/corepack",npm_package_gitHead:"492b228acbf6f7bc309984755a8dd948ea6fb0e2",npm_package_devDependencies_prettier:"^2.3.2",npm_package_devDependencies_postcss_import:"^14.0.2",npm_package_devDependencies_xterm:"^4.13.0",npm_package_devDependencies_tsconfig_paths_webpack_plugin:"^3.5.1",npm_package_devDependencies_source_map_loader:"^3.0.0",npm_package_devDependencies_rsuite:"^5.0.0",npm_package_devDependencies__types_tailwindcss:"^2.2.4",TERM_PROGRAM:"vscode",npm_package_devDependencies_normalize_url:"^7.0.2",npm_package_devDependencies_idb:"^6.1.5",npm_package_devDependencies_cssnano:"^5.0.11",NODE:"/usr/local/bin/node",npm_package_devDependencies_socket_io_client:"^4.2.0",npm_package_devDependencies_file_loader:"^6.2.0",INIT_CWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",_P9K_TTY:"/dev/ttys005",npm_package_devDependencies_terser_webpack_plugin:"^5.2.5",npm_package_devDependencies__emotion_babel_preset_css_prop:"^11.2.0",npm_package_homepage:"https://github.com/dao42/d42paas_frontend#readme",npm_config_version_git_tag:"true",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_package_devDependencies_vite:"^2.7.2",npm_package_devDependencies_stylis:"^4.0.10",npm_package_devDependencies_jest:"27.0.6",npm_package_devDependencies__storybook_addon_essentials:"^6.3.12",npm_package_devDependencies_style_loader:"^3.3.1",npm_package_devDependencies_rimraf:"^3.0.2",TMPDIR:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/",npm_package_devDependencies_happypack:"^5.0.1",npm_package_devDependencies__babel_preset_typescript:"^7.15.0",npm_config_init_license:"MIT",TERM_PROGRAM_VERSION:"1.63.0",npm_package_devDependencies_fs_extra:"^10.0.0",npm_package_devDependencies_concurrently:"^6.3.0",npm_package_devDependencies_babel_core:"^6.26.3",npm_package_devDependencies__vitejs_plugin_react:"^1.0.7",npm_package_devDependencies__types_happypack:"^5.0.2",npm_package_devDependencies__emotion_react:"^11.4.1",npm_package_scripts_copyTS:"shx cp ./src/types/editor.d.ts ./dist",npm_package_scripts_dev:"vite serve --host --config ./config/vite.config.ts",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",npm_package_devDependencies_sass_loader:"^12.2.0",npm_package_devDependencies_xterm_addon_fit:"^0.5.0",npm_package_devDependencies_webpack_bundle_analyzer:"^4.5.0",npm_package_devDependencies_ot:"^0.0.15",npm_package_devDependencies__babel_plugin_syntax_dynamic_import:"^7.8.3",npm_package_scripts_dev_disble:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',npm_config_registry:"https://registry.yarnpkg.com",ZSH:"/Users/NewItem/.oh-my-zsh",npm_package_repository_url:"git+https://github.com/dao42/d42paas_frontend.git",npm_package_scripts_fix:"eslint --fix --ext .jsx src/**",npm_package_devDependencies__emotion_styled:"^11.3.0",npm_package_scripts_patch:"npm version patch",USER:"NewItem",http_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_webpack:"^5.52.0",npm_package_devDependencies_react:"^17.0.2",npm_package_devDependencies__babel_plugin_transform_runtime:"^7.15.0",npm_package_description:"> TODO: description",npm_package_devDependencies_webpack_cli:"^4.9.1",npm_package_devDependencies_socket_io:"^4.2.0",npm_package_devDependencies_glob_all:"^3.2.1",npm_package_devDependencies_dotenv:"^10.0.0",npm_package_devDependencies__types_react:"^17.0.24",npm_package_license:"ISC",COMMAND_MODE:"unix2003",npm_package_devDependencies_monaco_editor:"^0.31.0",npm_package_devDependencies__emotion_babel_plugin:"^11.3.0",npm_package_scripts_build_storybook:"build-storybook -o .storybook/dist",npm_package_scripts_prebuild:"rimraf dist",npm_package_exports___import:"./dist/DaoPaaS.es.js",npm_package_devDependencies_webpack_dev_server:"^4.1.0",npm_package_devDependencies_reflect_metadata:"^0.1.13",npm_package_devDependencies__babel_core:"^7.9",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners",npm_package_devDependencies_babel_loader:"^8.2.2",npm_package_devDependencies__types_ip:"^1.1.0",npm_package_devDependencies__storybook_manager_webpack5:"^6.3.12",npm_package_devDependencies__storybook_addon_actions:"^6.3.12",__CF_USER_TEXT_ENCODING:"0x1F6:0x0:0x0",npm_package_devDependencies_rxjs:"^7.2.0",npm_package_devDependencies_postcss:"^8.0.9",npm_package_devDependencies__types_jest:"^27.0.2",npm_execpath:"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs",npm_package_devDependencies_webpack_dashboard:"^3.3.6",npm_package_devDependencies__emotion_core:"^11.0.0",PAGER:"less",npm_package_module:"./dist/DaoPaaS.es.js",npm_package_devDependencies__fullhuman_postcss_purgecss:"^4.0.3",npm_package_devDependencies__emotion_css:"^11.1.3",npm_package_author_name:"eric183",LSCOLORS:"Gxfxcxdxbxegedabagacad",YARN_IGNORE_PATH:"1",npm_package_devDependencies_mini_css_extract_plugin:"^2.4.5",npm_package_devDependencies__types_react_dom:"^17.0.9",npm_package_devDependencies__babel_runtime:"^7.15.4",npm_package_scripts_vite_save:"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",PATH:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640601202474-0.8905620113986801:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh",npm_config_argv:'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',npm_package_devDependencies_uuid:"^8.3.2",npm_package_devDependencies__types_css_minimizer_webpack_plugin:"^3.0.2",npm_package_scripts_start_web:"yarn prebuild && yarn vite",npm_package_devDependencies_lottie_web:"^5.7.14",npm_config_workspaces_experimental:"true",_:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite",npm_config_https_proxy:"http://127.0.0.1:8889/",__CFBundleIdentifier:"com.microsoft.VSCode",npm_package_devDependencies_ts_jest:"^27.0.3",PWD:"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client",npm_package_devDependencies_zustand:"^3.5.10",npm_package_devDependencies_tailwindcss:"^3.0.7",npm_package_bugs_url:"https://github.com/dao42/d42paas_frontend/issues",npm_package_devDependencies_react_loading_skeleton:"^3.0.1",npm_package_devDependencies__types_lodash:"^4.14.175",P9K_SSH:"0",npm_lifecycle_event:"vite",LANG:"en_US.UTF-8",P9K_TTY:"old",npm_package_repository_type:"git",npm_package_devDependencies__types_mini_css_extract_plugin:"^2.4.0",npm_package_dependencies__dao42_d42paas_rtc:"^0.1.8",npm_package_types:"./dist/editor.d.ts",npm_package_name:"@dao42/d42paas-front",npm_package_devDependencies__babel_preset_react:"^7.14.5",npm_package_devDependencies__babel_preset_env:"^7.15.4",npm_package_scripts_analyse:'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',npm_package_devDependencies_sass:"^1.43.2",npm_config_version_commit_hooks:"true",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"--ms-enable-electron-run-as-node",npm_package_devDependencies_ts_loader:"^9.2.5",npm_package_devDependencies_react_complex_tree:"^1.1.2",npm_package_devDependencies__types_dotenv_webpack:"^7.0.3",npm_package_exports___dist_style_css_import:"./dist/style.css",npm_config_bin_links:"true",npm_package_devDependencies__storybook_react:"^6.3.12",https_proxy:"http://127.0.0.1:8889",npm_package_devDependencies_speed_measure_webpack_plugin:"^1.5.0",npm_package_main:"./dist/DaoPaaS.umd.js",XPC_SERVICE_NAME:"0",npm_package_devDependencies_react_spring:"^9.2.4",npm_package_version:"0.5.12",npm_package_devDependencies_three:"^0.132.2",npm_package_devDependencies_css_minimizer_webpack_plugin:"^3.1.4",npm_package_devDependencies_autoprefixer:"^10.0.2",npm_package_devDependencies__storybook_addon_postcss:"^2.0.0",npm_package_scripts_vite:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",HOME:"/Users/NewItem",SHLVL:"2",npm_package_devDependencies_reconnecting_websocket:"^4.4.0",npm_package_scripts_dev_save:"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_package_scripts_storybook:"start-storybook -p 6006",npm_package_devDependencies_lodash:"^4.17.21",npm_package_devDependencies_ip:"^1.1.5",npm_package_scripts_webpack:'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',npm_config_save_prefix:"^",npm_config_strict_ssl:"true",npm_config_version_git_message:"v%s",npm_package_devDependencies_ts_node:"^10.0.0",npm_package_devDependencies_react_router_dom:"^5.3.0",npm_package_devDependencies__react_spring_types:"^9.2.4",LOGNAME:"NewItem",LESS:"-R",YARN_WRAP_OUTPUT:"false",npm_package_devDependencies_html_webpack_plugin:"^5.3.2",npm_lifecycle_script:"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch",npm_package_exports___require:"./dist/DaoPaaS.umd.js",VSCODE_GIT_IPC_HANDLE:"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock",npm_package_exports___dist_style_css_require:"./dist/style.css",npm_package_author_email:"kk297466058@gmail.com",npm_config_ignore_path:"1",npm_config_proxy:"http://127.0.0.1:8889/",npm_package_devDependencies_react_dnd_html5_backend:"^14.0.2",npm_package_devDependencies_monaco_editor_core:"^0.31.0",npm_package_devDependencies__types_fs_extra:"^9.0.13",npm_package_devDependencies_postcss_nesting:"^10.1.0",npm_package_devDependencies__types_uuid:"^8.3.1",npm_package_devDependencies__types_ot:"^0.0.5",npm_config_version_git_sign:"",npm_config_ignore_scripts:"",npm_config_user_agent:"yarn/1.22.1 npm/? node/v16.13.1 darwin x64",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/MacOS/Electron",npm_package_devDependencies_dotenv_webpack:"^7.0.3",npm_package_devDependencies_axios:"^0.21.4",npm_package_devDependencies__types_webpack:"^5.28.0",npm_package_files_0:"dist",npm_package_scripts_np:"npm publish --access-public",npm_config_init_version:"1.0.0",npm_config_ignore_optional:"",npm_package_devDependencies_css_loader:"^6.5.1",npm_package_devDependencies_react_dnd:"^14.0.4",COLORTERM:"truecolor",npm_node_execpath:"/usr/local/bin/node",npm_package_devDependencies_xterm_addon_attach:"^0.6.0",npm_package_devDependencies__loadable_component:"^5.15.2",npm_config_version_tag_prefix:"v",npm_config_prefix:"/Users/NewItem/.npm-global",NODE_ENV:"production",RABBITMQ_USER:"agent",RABBITMQ_PASSWORD:"d42agent",RABBITMQ_ORIGIN:"develop.1024paas.com",RABBITMQ_VHOST:"/dev",RABBITMQ_PORT:"5672",SOCKET_INSTANCE_REDIS_HOST:"gz-crs-c68uv1j5.sql.tencentcdb.com",SOCKET_INSTANCE_REDIS_PORT:"22680",SOCKET_INSTANCE_REDIS_PASSWORD:"1024paas",SOCKET_INSTANCE_REDIS_DATABASE:"2",SOCKET_INSTANCE_CLIENT_PORT:"4001",TICKET_ORIGIN:"develop.1024paas.com",TICKET_PORT:"8000","process.env.npm_package_devDependencies_react_dom":"^17.0.2","process.env.npm_package_devDependencies__storybook_addon_links":"^6.3.12","process.env.npm_package_devDependencies__emotion_eslint_plugin":"^11.2.0","process.env.COREPACK_ROOT":"/Users/NewItem/.npm-global/lib/node_modules/corepack","process.env.npm_package_gitHead":"492b228acbf6f7bc309984755a8dd948ea6fb0e2","process.env.npm_package_devDependencies_prettier":"^2.3.2","process.env.npm_package_devDependencies_postcss_import":"^14.0.2","process.env.npm_package_devDependencies_xterm":"^4.13.0","process.env.npm_package_devDependencies_tsconfig_paths_webpack_plugin":"^3.5.1","process.env.npm_package_devDependencies_source_map_loader":"^3.0.0","process.env.npm_package_devDependencies_rsuite":"^5.0.0","process.env.npm_package_devDependencies__types_tailwindcss":"^2.2.4","process.env.TERM_PROGRAM":"vscode","process.env.npm_package_devDependencies_normalize_url":"^7.0.2","process.env.npm_package_devDependencies_idb":"^6.1.5","process.env.npm_package_devDependencies_cssnano":"^5.0.11","process.env.NODE":"/usr/local/bin/node","process.env.npm_package_devDependencies_socket_io_client":"^4.2.0","process.env.npm_package_devDependencies_file_loader":"^6.2.0","process.env.INIT_CWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env._P9K_TTY":"/dev/ttys005","process.env.npm_package_devDependencies_terser_webpack_plugin":"^5.2.5","process.env.npm_package_devDependencies__emotion_babel_preset_css_prop":"^11.2.0","process.env.npm_package_homepage":"https://github.com/dao42/d42paas_frontend#readme","process.env.npm_config_version_git_tag":"true","process.env.SHELL":"/bin/zsh","process.env.TERM":"xterm-256color","process.env.npm_package_devDependencies_vite":"^2.7.2","process.env.npm_package_devDependencies_stylis":"^4.0.10","process.env.npm_package_devDependencies_jest":"27.0.6","process.env.npm_package_devDependencies__storybook_addon_essentials":"^6.3.12","process.env.npm_package_devDependencies_style_loader":"^3.3.1","process.env.npm_package_devDependencies_rimraf":"^3.0.2","process.env.TMPDIR":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/","process.env.npm_package_devDependencies_happypack":"^5.0.1","process.env.npm_package_devDependencies__babel_preset_typescript":"^7.15.0","process.env.npm_config_init_license":"MIT","process.env.TERM_PROGRAM_VERSION":"1.63.0","process.env.npm_package_devDependencies_fs_extra":"^10.0.0","process.env.npm_package_devDependencies_concurrently":"^6.3.0","process.env.npm_package_devDependencies_babel_core":"^6.26.3","process.env.npm_package_devDependencies__vitejs_plugin_react":"^1.0.7","process.env.npm_package_devDependencies__types_happypack":"^5.0.2","process.env.npm_package_devDependencies__emotion_react":"^11.4.1","process.env.npm_package_scripts_copyTS":"shx cp ./src/types/editor.d.ts ./dist","process.env.npm_package_scripts_dev":"vite serve --host --config ./config/vite.config.ts","process.env.ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","process.env.npm_package_devDependencies_sass_loader":"^12.2.0","process.env.npm_package_devDependencies_xterm_addon_fit":"^0.5.0","process.env.npm_package_devDependencies_webpack_bundle_analyzer":"^4.5.0","process.env.npm_package_devDependencies_ot":"^0.0.15","process.env.npm_package_devDependencies__babel_plugin_syntax_dynamic_import":"^7.8.3","process.env.npm_package_scripts_dev_disble":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack serve --open --config ./config/webpack.dev.config.ts',"process.env.npm_config_registry":"https://registry.yarnpkg.com","process.env.ZSH":"/Users/NewItem/.oh-my-zsh","process.env.npm_package_repository_url":"git+https://github.com/dao42/d42paas_frontend.git","process.env.npm_package_scripts_fix":"eslint --fix --ext .jsx src/**","process.env.npm_package_devDependencies__emotion_styled":"^11.3.0","process.env.npm_package_scripts_patch":"npm version patch","process.env.USER":"NewItem","process.env.http_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_webpack":"^5.52.0","process.env.npm_package_devDependencies_react":"^17.0.2","process.env.npm_package_devDependencies__babel_plugin_transform_runtime":"^7.15.0","process.env.npm_package_description":"> TODO: description","process.env.npm_package_devDependencies_webpack_cli":"^4.9.1","process.env.npm_package_devDependencies_socket_io":"^4.2.0","process.env.npm_package_devDependencies_glob_all":"^3.2.1","process.env.npm_package_devDependencies_dotenv":"^10.0.0","process.env.npm_package_devDependencies__types_react":"^17.0.24","process.env.npm_package_license":"ISC","process.env.COMMAND_MODE":"unix2003","process.env.npm_package_devDependencies_monaco_editor":"^0.31.0","process.env.npm_package_devDependencies__emotion_babel_plugin":"^11.3.0","process.env.npm_package_scripts_build_storybook":"build-storybook -o .storybook/dist","process.env.npm_package_scripts_prebuild":"rimraf dist","process.env.npm_package_exports___import":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies_webpack_dev_server":"^4.1.0","process.env.npm_package_devDependencies_reflect_metadata":"^0.1.13","process.env.npm_package_devDependencies__babel_core":"^7.9","process.env.SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.2PpvPV1yeD/Listeners","process.env.npm_package_devDependencies_babel_loader":"^8.2.2","process.env.npm_package_devDependencies__types_ip":"^1.1.0","process.env.npm_package_devDependencies__storybook_manager_webpack5":"^6.3.12","process.env.npm_package_devDependencies__storybook_addon_actions":"^6.3.12","process.env.__CF_USER_TEXT_ENCODING":"0x1F6:0x0:0x0","process.env.npm_package_devDependencies_rxjs":"^7.2.0","process.env.npm_package_devDependencies_postcss":"^8.0.9","process.env.npm_package_devDependencies__types_jest":"^27.0.2","process.env.npm_execpath":"/Users/NewItem/.yarn/releases/yarn-1.22.1.cjs","process.env.npm_package_devDependencies_webpack_dashboard":"^3.3.6","process.env.npm_package_devDependencies__emotion_core":"^11.0.0","process.env.PAGER":"less","process.env.npm_package_module":"./dist/DaoPaaS.es.js","process.env.npm_package_devDependencies__fullhuman_postcss_purgecss":"^4.0.3","process.env.npm_package_devDependencies__emotion_css":"^11.1.3","process.env.npm_package_author_name":"eric183","process.env.LSCOLORS":"Gxfxcxdxbxegedabagacad","process.env.YARN_IGNORE_PATH":"1","process.env.npm_package_devDependencies_mini_css_extract_plugin":"^2.4.5","process.env.npm_package_devDependencies__types_react_dom":"^17.0.9","process.env.npm_package_devDependencies__babel_runtime":"^7.15.4","process.env.npm_package_scripts_vite_save":"NODE_ENV=production vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.PATH":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/yarn--1640601202474-0.8905620113986801:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin:/Users/NewItem/.config/yarn/link/node_modules/.bin:/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/.bin:/usr/local/libexec/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/Users/NewItem/.npm-global/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/NewItem/.npm-global/bin:/bin/zsh:/bin/zsh","process.env.npm_config_argv":'{"remain":[],"cooked":["run","vite"],"original":["vite"]}',"process.env.npm_package_devDependencies_uuid":"^8.3.2","process.env.npm_package_devDependencies__types_css_minimizer_webpack_plugin":"^3.0.2","process.env.npm_package_scripts_start_web":"yarn prebuild && yarn vite","process.env.npm_package_devDependencies_lottie_web":"^5.7.14","process.env.npm_config_workspaces_experimental":"true","process.env._":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/node_modules/.bin/vite","process.env.npm_config_https_proxy":"http://127.0.0.1:8889/","process.env.__CFBundleIdentifier":"com.microsoft.VSCode","process.env.npm_package_devDependencies_ts_jest":"^27.0.3","process.env.PWD":"/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client","process.env.npm_package_devDependencies_zustand":"^3.5.10","process.env.npm_package_devDependencies_tailwindcss":"^3.0.7","process.env.npm_package_bugs_url":"https://github.com/dao42/d42paas_frontend/issues","process.env.npm_package_devDependencies_react_loading_skeleton":"^3.0.1","process.env.npm_package_devDependencies__types_lodash":"^4.14.175","process.env.P9K_SSH":"0","process.env.npm_lifecycle_event":"vite","process.env.LANG":"en_US.UTF-8","process.env.P9K_TTY":"old","process.env.npm_package_repository_type":"git","process.env.npm_package_devDependencies__types_mini_css_extract_plugin":"^2.4.0","process.env.npm_package_dependencies__dao42_d42paas_rtc":"^0.1.8","process.env.npm_package_types":"./dist/editor.d.ts","process.env.npm_package_name":"@dao42/d42paas-front","process.env.npm_package_devDependencies__babel_preset_react":"^7.14.5","process.env.npm_package_devDependencies__babel_preset_env":"^7.15.4","process.env.npm_package_scripts_analyse":'cross-env NODE_ENV=production TS_NODE_PROJECT="tsconfig.json" webpack --config ./config/webpack.analytics.config.js',"process.env.npm_package_devDependencies_sass":"^1.43.2","process.env.npm_config_version_commit_hooks":"true","process.env.XPC_FLAGS":"0x0","process.env.VSCODE_GIT_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","process.env.npm_package_devDependencies_ts_loader":"^9.2.5","process.env.npm_package_devDependencies_react_complex_tree":"^1.1.2","process.env.npm_package_devDependencies__types_dotenv_webpack":"^7.0.3","process.env.npm_package_exports___dist_style_css_import":"./dist/style.css","process.env.npm_config_bin_links":"true","process.env.npm_package_devDependencies__storybook_react":"^6.3.12","process.env.https_proxy":"http://127.0.0.1:8889","process.env.npm_package_devDependencies_speed_measure_webpack_plugin":"^1.5.0","process.env.npm_package_main":"./dist/DaoPaaS.umd.js","process.env.XPC_SERVICE_NAME":"0","process.env.npm_package_devDependencies_react_spring":"^9.2.4","process.env.npm_package_version":"0.5.12","process.env.npm_package_devDependencies_three":"^0.132.2","process.env.npm_package_devDependencies_css_minimizer_webpack_plugin":"^3.1.4","process.env.npm_package_devDependencies_autoprefixer":"^10.0.2","process.env.npm_package_devDependencies__storybook_addon_postcss":"^2.0.0","process.env.npm_package_scripts_vite":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.HOME":"/Users/NewItem","process.env.SHLVL":"2","process.env.npm_package_devDependencies_reconnecting_websocket":"^4.4.0","process.env.npm_package_scripts_dev_save":"NODE_ENV=development vite --host --mode development --config ./config/vite.config.ts","process.env.VSCODE_GIT_ASKPASS_MAIN":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js","process.env.npm_package_scripts_storybook":"start-storybook -p 6006","process.env.npm_package_devDependencies_lodash":"^4.17.21","process.env.npm_package_devDependencies_ip":"^1.1.5","process.env.npm_package_scripts_webpack":'cross-env TS_NODE_PROJECT="tsconfig.dev.json" webpack --config ./config/webpack.prod.config.ts',"process.env.npm_config_save_prefix":"^","process.env.npm_config_strict_ssl":"true","process.env.npm_config_version_git_message":"v%s","process.env.npm_package_devDependencies_ts_node":"^10.0.0","process.env.npm_package_devDependencies_react_router_dom":"^5.3.0","process.env.npm_package_devDependencies__react_spring_types":"^9.2.4","process.env.LOGNAME":"NewItem","process.env.LESS":"-R","process.env.YARN_WRAP_OUTPUT":"false","process.env.npm_package_devDependencies_html_webpack_plugin":"^5.3.2","process.env.npm_lifecycle_script":"vite build --mode production --config ./config/vite.config.ts && yarn run copyTS && yarn patch","process.env.npm_package_exports___require":"./dist/DaoPaaS.umd.js","process.env.VSCODE_GIT_IPC_HANDLE":"/var/folders/73/z0q5wqjj1cs3h4djx_gkqr7m0000gp/T/vscode-git-479bb0b408.sock","process.env.npm_package_exports___dist_style_css_require":"./dist/style.css","process.env.npm_package_author_email":"kk297466058@gmail.com","process.env.npm_config_ignore_path":"1","process.env.npm_config_proxy":"http://127.0.0.1:8889/","process.env.npm_package_devDependencies_react_dnd_html5_backend":"^14.0.2","process.env.npm_package_devDependencies_monaco_editor_core":"^0.31.0","process.env.npm_package_devDependencies__types_fs_extra":"^9.0.13","process.env.npm_package_devDependencies_postcss_nesting":"^10.1.0","process.env.npm_package_devDependencies__types_uuid":"^8.3.1","process.env.npm_package_devDependencies__types_ot":"^0.0.5","process.env.npm_config_version_git_sign":"","process.env.npm_config_ignore_scripts":"","process.env.npm_config_user_agent":"yarn/1.22.1 npm/? node/v16.13.1 darwin x64","process.env.GIT_ASKPASS":"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh","process.env.VSCODE_GIT_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","process.env.npm_package_devDependencies_dotenv_webpack":"^7.0.3","process.env.npm_package_devDependencies_axios":"^0.21.4","process.env.npm_package_devDependencies__types_webpack":"^5.28.0","process.env.npm_package_files_0":"dist","process.env.npm_package_scripts_np":"npm publish --access-public","process.env.npm_config_init_version":"1.0.0","process.env.npm_config_ignore_optional":"","process.env.npm_package_devDependencies_css_loader":"^6.5.1","process.env.npm_package_devDependencies_react_dnd":"^14.0.4","process.env.COLORTERM":"truecolor","process.env.npm_node_execpath":"/usr/local/bin/node","process.env.npm_package_devDependencies_xterm_addon_attach":"^0.6.0","process.env.npm_package_devDependencies__loadable_component":"^5.15.2","process.env.npm_config_version_tag_prefix":"v","process.env.npm_config_prefix":"/Users/NewItem/.npm-global","process.env.NODE_ENV":"production","process.env.RABBITMQ_USER":"agent","process.env.RABBITMQ_PASSWORD":"d42agent","process.env.RABBITMQ_ORIGIN":"develop.1024paas.com","process.env.RABBITMQ_VHOST":"/dev","process.env.RABBITMQ_PORT":"5672","process.env.SOCKET_INSTANCE_REDIS_HOST":"gz-crs-c68uv1j5.sql.tencentcdb.com","process.env.SOCKET_INSTANCE_REDIS_PORT":"22680","process.env.SOCKET_INSTANCE_REDIS_PASSWORD":"1024paas","process.env.SOCKET_INSTANCE_REDIS_DATABASE":"2","process.env.SOCKET_INSTANCE_CLIENT_PORT":"4001","process.env.TICKET_ORIGIN":"develop.1024paas.com","process.env.TICKET_PORT":"8000",LOCAL_IP_HOST:"192.168.2.11"}[`=${e}`]||Rz(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===xd)&&(s=`${e}\\`));const o=s.length;let a=0,l="",c=!1;const u=s.charCodeAt(0);if(o===1)ir(u)&&(a=1,c=!0);else if(ir(u))if(c=!0,ir(s.charCodeAt(1))){let d=2,h=d;for(;d<o&&!ir(s.charCodeAt(d));)d++;if(d<o&&d!==h){const g=s.slice(h,d);for(h=d;d<o&&ir(s.charCodeAt(d));)d++;if(d<o&&d!==h){for(h=d;d<o&&!ir(s.charCodeAt(d));)d++;(d===o||d!==h)&&(l=`\\\\${g}\\${s.slice(h,d)}`,a=d)}}}else a=1;else s1(u)&&s.charCodeAt(1)===r1&&(l=s.slice(0,2),a=2,o>2&&ir(s.charCodeAt(2))&&(c=!0,a=3));if(l.length>0)if(e.length>0){if(l.toLowerCase()!==e.toLowerCase())continue}else e=l;if(n){if(e.length>0)break}else if(t=`${s.slice(a)}\\${t}`,n=c,c&&e.length>0)break}return t=c5(t,!n,"\\",ir),n?`${e}\\${t}`:`${e}${t}`||"."},normalize(i){ma(i,"path");const e=i.length;if(e===0)return".";let t=0,n,r=!1;const s=i.charCodeAt(0);if(e===1)return Nz(s)?"\\":i;if(ir(s))if(r=!0,ir(i.charCodeAt(1))){let a=2,l=a;for(;a<e&&!ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){const c=i.slice(l,a);for(l=a;a<e&&ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!ir(i.charCodeAt(a));)a++;if(a===e)return`\\\\${c}\\${i.slice(l)}\\`;a!==l&&(n=`\\\\${c}\\${i.slice(l,a)}`,t=a)}}}else t=1;else s1(s)&&i.charCodeAt(1)===r1&&(n=i.slice(0,2),t=2,e>2&&ir(i.charCodeAt(2))&&(r=!0,t=3));let o=t<e?c5(i.slice(t),!r,"\\",ir):"";return o.length===0&&!r&&(o="."),o.length>0&&ir(i.charCodeAt(e-1))&&(o+="\\"),n===void 0?r?`\\${o}`:o:r?`${n}\\${o}`:`${n}${o}`},isAbsolute(i){ma(i,"path");const e=i.length;if(e===0)return!1;const t=i.charCodeAt(0);return ir(t)||e>2&&s1(t)&&i.charCodeAt(1)===r1&&ir(i.charCodeAt(2))},join(...i){if(i.length===0)return".";let e,t;for(let s=0;s<i.length;++s){const o=i[s];ma(o,"path"),o.length>0&&(e===void 0?e=t=o:e+=`\\${o}`)}if(e===void 0)return".";let n=!0,r=0;if(typeof t=="string"&&ir(t.charCodeAt(0))){++r;const s=t.length;s>1&&ir(t.charCodeAt(1))&&(++r,s>2&&(ir(t.charCodeAt(2))?++r:n=!1))}if(n){for(;r<e.length&&ir(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return Mu.normalize(e)},relative(i,e){if(ma(i,"from"),ma(e,"to"),i===e)return"";const t=Mu.resolve(i),n=Mu.resolve(e);if(t===n||(i=t.toLowerCase(),e=n.toLowerCase(),i===e))return"";let r=0;for(;r<i.length&&i.charCodeAt(r)===xd;)r++;let s=i.length;for(;s-1>r&&i.charCodeAt(s-1)===xd;)s--;const o=s-r;let a=0;for(;a<e.length&&e.charCodeAt(a)===xd;)a++;let l=e.length;for(;l-1>a&&e.charCodeAt(l-1)===xd;)l--;const c=l-a,u=o<c?o:c;let d=-1,h=0;for(;h<u;h++){const m=i.charCodeAt(r+h);if(m!==e.charCodeAt(a+h))break;m===xd&&(d=h)}if(h!==u){if(d===-1)return n}else{if(c>u){if(e.charCodeAt(a+h)===xd)return n.slice(a+h+1);if(h===2)return n.slice(a+h)}o>u&&(i.charCodeAt(r+h)===xd?d=h:h===2&&(d=3)),d===-1&&(d=0)}let g="";for(h=r+d+1;h<=s;++h)(h===s||i.charCodeAt(h)===xd)&&(g+=g.length===0?"..":"\\..");return a+=d,g.length>0?`${g}${n.slice(a,l)}`:(n.charCodeAt(a)===xd&&++a,n.slice(a,l))},toNamespacedPath(i){if(typeof i!="string")return i;if(i.length===0)return"";const e=Mu.resolve(i);if(e.length<=2)return i;if(e.charCodeAt(0)===xd){if(e.charCodeAt(1)===xd){const t=e.charCodeAt(2);if(t!==Uet&&t!==n1)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(s1(e.charCodeAt(0))&&e.charCodeAt(1)===r1&&e.charCodeAt(2)===xd)return`\\\\?\\${e}`;return i},dirname(i){ma(i,"path");const e=i.length;if(e===0)return".";let t=-1,n=0;const r=i.charCodeAt(0);if(e===1)return ir(r)?i:".";if(ir(r)){if(t=n=1,ir(i.charCodeAt(1))){let a=2,l=a;for(;a<e&&!ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&ir(i.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!ir(i.charCodeAt(a));)a++;if(a===e)return i;a!==l&&(t=n=a+1)}}}}else s1(r)&&i.charCodeAt(1)===r1&&(t=e>2&&ir(i.charCodeAt(2))?3:2,n=t);let s=-1,o=!0;for(let a=e-1;a>=n;--a)if(ir(i.charCodeAt(a))){if(!o){s=a;break}}else o=!1;if(s===-1){if(t===-1)return".";s=t}return i.slice(0,s)},basename(i,e){e!==void 0&&ma(e,"ext"),ma(i,"path");let t=0,n=-1,r=!0,s;if(i.length>=2&&s1(i.charCodeAt(0))&&i.charCodeAt(1)===r1&&(t=2),e!==void 0&&e.length>0&&e.length<=i.length){if(e===i)return"";let o=e.length-1,a=-1;for(s=i.length-1;s>=t;--s){const l=i.charCodeAt(s);if(ir(l)){if(!r){t=s+1;break}}else a===-1&&(r=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o==-1&&(n=s):(o=-1,n=a))}return t===n?n=a:n===-1&&(n=i.length),i.slice(t,n)}for(s=i.length-1;s>=t;--s)if(ir(i.charCodeAt(s))){if(!r){t=s+1;break}}else n===-1&&(r=!1,n=s+1);return n===-1?"":i.slice(t,n)},extname(i){ma(i,"path");let e=0,t=-1,n=0,r=-1,s=!0,o=0;i.length>=2&&i.charCodeAt(1)===r1&&s1(i.charCodeAt(0))&&(e=n=2);for(let a=i.length-1;a>=e;--a){const l=i.charCodeAt(a);if(ir(l)){if(!s){n=a+1;break}continue}r===-1&&(s=!1,r=a+1),l===n1?t===-1?t=a:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||r===-1||o===0||o===1&&t===r-1&&t===n+1?"":i.slice(t,r)},format:Ape.bind(null,"\\"),parse(i){ma(i,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return e;const t=i.length;let n=0,r=i.charCodeAt(0);if(t===1)return ir(r)?(e.root=e.dir=i,e):(e.base=e.name=i,e);if(ir(r)){if(n=1,ir(i.charCodeAt(1))){let d=2,h=d;for(;d<t&&!ir(i.charCodeAt(d));)d++;if(d<t&&d!==h){for(h=d;d<t&&ir(i.charCodeAt(d));)d++;if(d<t&&d!==h){for(h=d;d<t&&!ir(i.charCodeAt(d));)d++;d===t?n=d:d!==h&&(n=d+1)}}}}else if(s1(r)&&i.charCodeAt(1)===r1){if(t<=2)return e.root=e.dir=i,e;if(n=2,ir(i.charCodeAt(2))){if(t===3)return e.root=e.dir=i,e;n=3}}n>0&&(e.root=i.slice(0,n));let s=-1,o=n,a=-1,l=!0,c=i.length-1,u=0;for(;c>=n;--c){if(r=i.charCodeAt(c),ir(r)){if(!l){o=c+1;break}continue}a===-1&&(l=!1,a=c+1),r===n1?s===-1?s=c:u!==1&&(u=1):s!==-1&&(u=-1)}return a!==-1&&(s===-1||u===0||u===1&&s===a-1&&s===o+1?e.base=e.name=i.slice(o,a):(e.name=i.slice(o,s),e.base=i.slice(o,a),e.ext=i.slice(s,a))),o>0&&o!==n?e.dir=i.slice(0,o-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Co={resolve(...i){let e="",t=!1;for(let n=i.length-1;n>=-1&&!t;n--){const r=n>=0?i[n]:Rz();ma(r,"path"),r.length!==0&&(e=`${r}/${e}`,t=r.charCodeAt(0)===nc)}return e=c5(e,!t,"/",Nz),t?`/${e}`:e.length>0?e:"."},normalize(i){if(ma(i,"path"),i.length===0)return".";const e=i.charCodeAt(0)===nc,t=i.charCodeAt(i.length-1)===nc;return i=c5(i,!e,"/",Nz),i.length===0?e?"/":t?"./":".":(t&&(i+="/"),e?`/${i}`:i)},isAbsolute(i){return ma(i,"path"),i.length>0&&i.charCodeAt(0)===nc},join(...i){if(i.length===0)return".";let e;for(let t=0;t<i.length;++t){const n=i[t];ma(n,"path"),n.length>0&&(e===void 0?e=n:e+=`/${n}`)}return e===void 0?".":Co.normalize(e)},relative(i,e){if(ma(i,"from"),ma(e,"to"),i===e||(i=Co.resolve(i),e=Co.resolve(e),i===e))return"";const t=1,n=i.length,r=n-t,s=1,o=e.length-s,a=r<o?r:o;let l=-1,c=0;for(;c<a;c++){const d=i.charCodeAt(t+c);if(d!==e.charCodeAt(s+c))break;d===nc&&(l=c)}if(c===a)if(o>a){if(e.charCodeAt(s+c)===nc)return e.slice(s+c+1);if(c===0)return e.slice(s+c)}else r>a&&(i.charCodeAt(t+c)===nc?l=c:c===0&&(l=0));let u="";for(c=t+l+1;c<=n;++c)(c===n||i.charCodeAt(c)===nc)&&(u+=u.length===0?"..":"/..");return`${u}${e.slice(s+l)}`},toNamespacedPath(i){return i},dirname(i){if(ma(i,"path"),i.length===0)return".";const e=i.charCodeAt(0)===nc;let t=-1,n=!0;for(let r=i.length-1;r>=1;--r)if(i.charCodeAt(r)===nc){if(!n){t=r;break}}else n=!1;return t===-1?e?"/":".":e&&t===1?"//":i.slice(0,t)},basename(i,e){e!==void 0&&ma(e,"ext"),ma(i,"path");let t=0,n=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=i.length){if(e===i)return"";let o=e.length-1,a=-1;for(s=i.length-1;s>=0;--s){const l=i.charCodeAt(s);if(l===nc){if(!r){t=s+1;break}}else a===-1&&(r=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o==-1&&(n=s):(o=-1,n=a))}return t===n?n=a:n===-1&&(n=i.length),i.slice(t,n)}for(s=i.length-1;s>=0;--s)if(i.charCodeAt(s)===nc){if(!r){t=s+1;break}}else n===-1&&(r=!1,n=s+1);return n===-1?"":i.slice(t,n)},extname(i){ma(i,"path");let e=-1,t=0,n=-1,r=!0,s=0;for(let o=i.length-1;o>=0;--o){const a=i.charCodeAt(o);if(a===nc){if(!r){t=o+1;break}continue}n===-1&&(r=!1,n=o+1),a===n1?e===-1?e=o:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||n===-1||s===0||s===1&&e===n-1&&e===t+1?"":i.slice(e,n)},format:Ape.bind(null,"/"),parse(i){ma(i,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return e;const t=i.charCodeAt(0)===nc;let n;t?(e.root="/",n=1):n=0;let r=-1,s=0,o=-1,a=!0,l=i.length-1,c=0;for(;l>=n;--l){const u=i.charCodeAt(l);if(u===nc){if(!a){s=l+1;break}continue}o===-1&&(a=!1,o=l+1),u===n1?r===-1?r=l:c!==1&&(c=1):r!==-1&&(c=-1)}if(o!==-1){const u=s===0&&t?1:s;r===-1||c===0||c===1&&r===o-1&&r===s+1?e.base=e.name=i.slice(u,o):(e.name=i.slice(u,r),e.base=i.slice(u,o),e.ext=i.slice(r,o))}return s>0?e.dir=i.slice(0,s-1):t&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};Co.win32=Mu.win32=Mu,Co.posix=Mu.posix=Co;const Oz=Oy==="win32"?Mu.normalize:Co.normalize,Wet=Oy==="win32"?Mu.resolve:Co.resolve,Spe=Oy==="win32"?Mu.relative:Co.relative,wpe=Oy==="win32"?Mu.dirname:Co.dirname,Py=Oy==="win32"?Mu.basename:Co.basename,Het=Oy==="win32"?Mu.extname:Co.extname,jp=Oy==="win32"?Mu.sep:Co.sep,Vet=/^\w[\w\d+.-]*$/,jet=/^\//,$et=/^\/\//;function Epe(i,e){if(!i.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${i.authority}", path: "${i.path}", query: "${i.query}", fragment: "${i.fragment}"}`);if(i.scheme&&!Vet.test(i.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(i.path){if(i.authority){if(!jet.test(i.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if($et.test(i.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function zet(i,e){return!i&&!e?"file":i}function Ket(i,e){switch(i){case"https":case"http":case"file":e?e[0]!==ug&&(e=ug+e):e=ug;break}return e}const io="",ug="/",Get=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Di{constructor(e,t,n,r,s,o=!1){typeof e=="object"?(this.scheme=e.scheme||io,this.authority=e.authority||io,this.path=e.path||io,this.query=e.query||io,this.fragment=e.fragment||io):(this.scheme=zet(e,o),this.authority=t||io,this.path=Ket(this.scheme,n||io),this.query=r||io,this.fragment=s||io,Epe(this,o))}static isUri(e){return e instanceof Di?!0:e?typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function":!1}get fsPath(){return u5(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:s,fragment:o}=e;return t===void 0?t=this.scheme:t===null&&(t=io),n===void 0?n=this.authority:n===null&&(n=io),r===void 0?r=this.path:r===null&&(r=io),s===void 0?s=this.query:s===null&&(s=io),o===void 0?o=this.fragment:o===null&&(o=io),t===this.scheme&&n===this.authority&&r===this.path&&s===this.query&&o===this.fragment?this:new nE(t,n,r,s,o)}static parse(e,t=!1){const n=Get.exec(e);return n?new nE(n[2]||io,d5(n[4]||io),d5(n[5]||io),d5(n[7]||io),d5(n[9]||io),t):new nE(io,io,io,io,io)}static file(e){let t=io;if(Ba&&(e=e.replace(/\\/g,ug)),e[0]===ug&&e[1]===ug){const n=e.indexOf(ug,2);n===-1?(t=e.substring(2),e=ug):(t=e.substring(2,n),e=e.substring(n)||ug)}return new nE("file",t,e,io,io)}static from(e){const t=new nE(e.scheme,e.authority,e.path,e.query,e.fragment);return Epe(t,!0),t}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return Ba&&e.scheme==="file"?n=Di.file(Mu.join(u5(e,!0),...t)).path:n=Co.join(e.path,...t),e.with({path:n})}toString(e=!1){return Pz(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof Di)return e;{const t=new nE(e);return t._formatted=e.external,t._fsPath=e._sep===Ipe?e.fsPath:null,t}}else return e}}const Ipe=Ba?1:void 0;class nE extends Di{constructor(){super(...arguments);this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=u5(this,!1)),this._fsPath}toString(e=!1){return e?Pz(this,!0):(this._formatted||(this._formatted=Pz(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Ipe),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const Tpe={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function xpe(i,e){let t,n=-1;for(let r=0;r<i.length;r++){const s=i.charCodeAt(r);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===45||s===46||s===95||s===126||e&&s===47)n!==-1&&(t+=encodeURIComponent(i.substring(n,r)),n=-1),t!==void 0&&(t+=i.charAt(r));else{t===void 0&&(t=i.substr(0,r));const o=Tpe[s];o!==void 0?(n!==-1&&(t+=encodeURIComponent(i.substring(n,r)),n=-1),t+=o):n===-1&&(n=r)}}return n!==-1&&(t+=encodeURIComponent(i.substring(n))),t!==void 0?t:i}function Qet(i){let e;for(let t=0;t<i.length;t++){const n=i.charCodeAt(t);n===35||n===63?(e===void 0&&(e=i.substr(0,t)),e+=Tpe[n]):e!==void 0&&(e+=i[t])}return e!==void 0?e:i}function u5(i,e){let t;return i.authority&&i.path.length>1&&i.scheme==="file"?t=`//${i.authority}${i.path}`:i.path.charCodeAt(0)===47&&(i.path.charCodeAt(1)>=65&&i.path.charCodeAt(1)<=90||i.path.charCodeAt(1)>=97&&i.path.charCodeAt(1)<=122)&&i.path.charCodeAt(2)===58?e?t=i.path.substr(1):t=i.path[1].toLowerCase()+i.path.substr(2):t=i.path,Ba&&(t=t.replace(/\//g,"\\")),t}function Pz(i,e){const t=e?Qet:xpe;let n="",{scheme:r,authority:s,path:o,query:a,fragment:l}=i;if(r&&(n+=r,n+=":"),(s||r==="file")&&(n+=ug,n+=ug),s){let c=s.indexOf("@");if(c!==-1){const u=s.substr(0,c);s=s.substr(c+1),c=u.indexOf(":"),c===-1?n+=t(u,!1):(n+=t(u.substr(0,c),!1),n+=":",n+=t(u.substr(c+1),!1)),n+="@"}s=s.toLowerCase(),c=s.indexOf(":"),c===-1?n+=t(s,!1):(n+=t(s.substr(0,c),!1),n+=s.substr(c))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){const c=o.charCodeAt(1);c>=65&&c<=90&&(o=`/${String.fromCharCode(c+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){const c=o.charCodeAt(0);c>=65&&c<=90&&(o=`${String.fromCharCode(c+32)}:${o.substr(2)}`)}n+=t(o,!0)}return a&&(n+="?",n+=t(a,!1)),l&&(n+="#",n+=e?l:xpe(l,!1)),n}function Dpe(i){try{return decodeURIComponent(i)}catch{return i.length>3?i.substr(0,3)+Dpe(i.substr(3)):i}}const kpe=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function d5(i){return i.match(kpe)?i.replace(kpe,e=>Dpe(e)):i}class Qe{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new Qe(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return Qe.equals(this,e)}static equals(e,t){return!e&&!t?!0:!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return Qe.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<t.column}isBeforeOrEqual(e){return Qe.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber?!0:t.lineNumber<e.lineNumber?!1:e.column<=t.column}static compare(e,t){let n=e.lineNumber|0,r=t.lineNumber|0;if(n===r){let s=e.column|0,o=t.column|0;return s-o}return n-r}clone(){return new Qe(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new Qe(e.lineNumber,e.column)}static isIPosition(e){return e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}}class de{constructor(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return de.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return de.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<e.startColumn||t.lineNumber===e.endLineNumber&&t.column>e.endColumn)}static strictContainsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber||t.lineNumber===e.startLineNumber&&t.column<=e.startColumn||t.lineNumber===e.endLineNumber&&t.column>=e.endColumn)}containsRange(e){return de.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)}strictContainsRange(e){return de.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber||t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return de.plusRange(this,e)}static plusRange(e,t){let n,r,s,o;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,r=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,r=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,r=e.startColumn),t.endLineNumber>e.endLineNumber?(s=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,o=e.endColumn),new de(n,r,s,o)}intersectRanges(e){return de.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,o=e.endColumn,a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,u=t.endColumn;return n<a?(n=a,r=l):n===a&&(r=Math.max(r,l)),s>c?(s=c,o=u):s===c&&(o=Math.min(o,u)),n>s||n===s&&r>o?null:new de(n,r,s,o)}equalsRange(e){return de.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return de.getEndPosition(this)}static getEndPosition(e){return new Qe(e.endLineNumber,e.endColumn)}getStartPosition(){return de.getStartPosition(this)}static getStartPosition(e){return new Qe(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new de(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new de(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return de.collapseToStart(this)}static collapseToStart(e){return new de(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new de(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new de(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn||t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const s=e.startLineNumber|0,o=t.startLineNumber|0;if(s===o){const a=e.startColumn|0,l=t.startColumn|0;if(a===l){const c=e.endLineNumber|0,u=t.endLineNumber|0;if(c===u){const d=e.endColumn|0,h=t.endColumn|0;return d-h}return c-u}return a-l}return s-o}return(e?1:0)-(t?1:0)}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}class jt extends de{constructor(e,t,n,r){super(e,t,n,r);this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return jt.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return this.getDirection()===0?new jt(this.startLineNumber,this.startColumn,e,t):new jt(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new Qe(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Qe(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return this.getDirection()===0?new jt(e,t,this.endLineNumber,this.endColumn):new jt(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new jt(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return t===0?new jt(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new jt(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new jt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,t,n,r,s){return s===0?new jt(e,t,n,r):new jt(n,r,e,t)}}class h5{constructor(e,t,n){this._tokenBrand=void 0,this.offset=e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class Mz{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class f5{constructor(e,t){this._tokenizationResult2Brand=void 0,this.tokens=e,this.endState=t}}var Bz;(function(i){i[i.Unknown=0]="Unknown",i[i.Disabled=1]="Disabled",i[i.Enabled=2]="Enabled"})(Bz||(Bz={}));var Fz;(function(i){i[i.KeepWhitespace=1]="KeepWhitespace",i[i.InsertAsSnippet=4]="InsertAsSnippet"})(Fz||(Fz={}));var Uz;(function(i){i[i.Method=0]="Method",i[i.Function=1]="Function",i[i.Constructor=2]="Constructor",i[i.Field=3]="Field",i[i.Variable=4]="Variable",i[i.Class=5]="Class",i[i.Struct=6]="Struct",i[i.Interface=7]="Interface",i[i.Module=8]="Module",i[i.Property=9]="Property",i[i.Event=10]="Event",i[i.Operator=11]="Operator",i[i.Unit=12]="Unit",i[i.Value=13]="Value",i[i.Constant=14]="Constant",i[i.Enum=15]="Enum",i[i.EnumMember=16]="EnumMember",i[i.Keyword=17]="Keyword",i[i.Text=18]="Text",i[i.Color=19]="Color",i[i.File=20]="File",i[i.Reference=21]="Reference",i[i.Customcolor=22]="Customcolor",i[i.Folder=23]="Folder",i[i.TypeParameter=24]="TypeParameter",i[i.User=25]="User",i[i.Issue=26]="Issue",i[i.Snippet=27]="Snippet"})(Uz||(Uz={}));var Wz;(function(i){i[i.Deprecated=1]="Deprecated"})(Wz||(Wz={}));var Hz;(function(i){i[i.Invoke=0]="Invoke",i[i.TriggerCharacter=1]="TriggerCharacter",i[i.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Hz||(Hz={}));var Vz;(function(i){i[i.EXACT=0]="EXACT",i[i.ABOVE=1]="ABOVE",i[i.BELOW=2]="BELOW"})(Vz||(Vz={}));var jz;(function(i){i[i.NotSet=0]="NotSet",i[i.ContentFlush=1]="ContentFlush",i[i.RecoverFromMarkers=2]="RecoverFromMarkers",i[i.Explicit=3]="Explicit",i[i.Paste=4]="Paste",i[i.Undo=5]="Undo",i[i.Redo=6]="Redo"})(jz||(jz={}));var $z;(function(i){i[i.LF=1]="LF",i[i.CRLF=2]="CRLF"})($z||($z={}));var zz;(function(i){i[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write"})(zz||(zz={}));var Kz;(function(i){i[i.None=0]="None",i[i.Keep=1]="Keep",i[i.Brackets=2]="Brackets",i[i.Advanced=3]="Advanced",i[i.Full=4]="Full"})(Kz||(Kz={}));var Gz;(function(i){i[i.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",i[i.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",i[i.accessibilitySupport=2]="accessibilitySupport",i[i.accessibilityPageSize=3]="accessibilityPageSize",i[i.ariaLabel=4]="ariaLabel",i[i.autoClosingBrackets=5]="autoClosingBrackets",i[i.autoClosingDelete=6]="autoClosingDelete",i[i.autoClosingOvertype=7]="autoClosingOvertype",i[i.autoClosingQuotes=8]="autoClosingQuotes",i[i.autoIndent=9]="autoIndent",i[i.automaticLayout=10]="automaticLayout",i[i.autoSurround=11]="autoSurround",i[i.bracketPairColorization=12]="bracketPairColorization",i[i.guides=13]="guides",i[i.codeLens=14]="codeLens",i[i.codeLensFontFamily=15]="codeLensFontFamily",i[i.codeLensFontSize=16]="codeLensFontSize",i[i.colorDecorators=17]="colorDecorators",i[i.columnSelection=18]="columnSelection",i[i.comments=19]="comments",i[i.contextmenu=20]="contextmenu",i[i.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",i[i.cursorBlinking=22]="cursorBlinking",i[i.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",i[i.cursorStyle=24]="cursorStyle",i[i.cursorSurroundingLines=25]="cursorSurroundingLines",i[i.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",i[i.cursorWidth=27]="cursorWidth",i[i.disableLayerHinting=28]="disableLayerHinting",i[i.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",i[i.domReadOnly=30]="domReadOnly",i[i.dragAndDrop=31]="dragAndDrop",i[i.emptySelectionClipboard=32]="emptySelectionClipboard",i[i.extraEditorClassName=33]="extraEditorClassName",i[i.fastScrollSensitivity=34]="fastScrollSensitivity",i[i.find=35]="find",i[i.fixedOverflowWidgets=36]="fixedOverflowWidgets",i[i.folding=37]="folding",i[i.foldingStrategy=38]="foldingStrategy",i[i.foldingHighlight=39]="foldingHighlight",i[i.foldingImportsByDefault=40]="foldingImportsByDefault",i[i.unfoldOnClickAfterEndOfLine=41]="unfoldOnClickAfterEndOfLine",i[i.fontFamily=42]="fontFamily",i[i.fontInfo=43]="fontInfo",i[i.fontLigatures=44]="fontLigatures",i[i.fontSize=45]="fontSize",i[i.fontWeight=46]="fontWeight",i[i.formatOnPaste=47]="formatOnPaste",i[i.formatOnType=48]="formatOnType",i[i.glyphMargin=49]="glyphMargin",i[i.gotoLocation=50]="gotoLocation",i[i.hideCursorInOverviewRuler=51]="hideCursorInOverviewRuler",i[i.hover=52]="hover",i[i.inDiffEditor=53]="inDiffEditor",i[i.inlineSuggest=54]="inlineSuggest",i[i.letterSpacing=55]="letterSpacing",i[i.lightbulb=56]="lightbulb",i[i.lineDecorationsWidth=57]="lineDecorationsWidth",i[i.lineHeight=58]="lineHeight",i[i.lineNumbers=59]="lineNumbers",i[i.lineNumbersMinChars=60]="lineNumbersMinChars",i[i.linkedEditing=61]="linkedEditing",i[i.links=62]="links",i[i.matchBrackets=63]="matchBrackets",i[i.minimap=64]="minimap",i[i.mouseStyle=65]="mouseStyle",i[i.mouseWheelScrollSensitivity=66]="mouseWheelScrollSensitivity",i[i.mouseWheelZoom=67]="mouseWheelZoom",i[i.multiCursorMergeOverlapping=68]="multiCursorMergeOverlapping",i[i.multiCursorModifier=69]="multiCursorModifier",i[i.multiCursorPaste=70]="multiCursorPaste",i[i.occurrencesHighlight=71]="occurrencesHighlight",i[i.overviewRulerBorder=72]="overviewRulerBorder",i[i.overviewRulerLanes=73]="overviewRulerLanes",i[i.padding=74]="padding",i[i.parameterHints=75]="parameterHints",i[i.peekWidgetDefaultFocus=76]="peekWidgetDefaultFocus",i[i.definitionLinkOpensInPeek=77]="definitionLinkOpensInPeek",i[i.quickSuggestions=78]="quickSuggestions",i[i.quickSuggestionsDelay=79]="quickSuggestionsDelay",i[i.readOnly=80]="readOnly",i[i.renameOnType=81]="renameOnType",i[i.renderControlCharacters=82]="renderControlCharacters",i[i.renderFinalNewline=83]="renderFinalNewline",i[i.renderLineHighlight=84]="renderLineHighlight",i[i.renderLineHighlightOnlyWhenFocus=85]="renderLineHighlightOnlyWhenFocus",i[i.renderValidationDecorations=86]="renderValidationDecorations",i[i.renderWhitespace=87]="renderWhitespace",i[i.revealHorizontalRightPadding=88]="revealHorizontalRightPadding",i[i.roundedSelection=89]="roundedSelection",i[i.rulers=90]="rulers",i[i.scrollbar=91]="scrollbar",i[i.scrollBeyondLastColumn=92]="scrollBeyondLastColumn",i[i.scrollBeyondLastLine=93]="scrollBeyondLastLine",i[i.scrollPredominantAxis=94]="scrollPredominantAxis",i[i.selectionClipboard=95]="selectionClipboard",i[i.selectionHighlight=96]="selectionHighlight",i[i.selectOnLineNumbers=97]="selectOnLineNumbers",i[i.showFoldingControls=98]="showFoldingControls",i[i.showUnused=99]="showUnused",i[i.snippetSuggestions=100]="snippetSuggestions",i[i.smartSelect=101]="smartSelect",i[i.smoothScrolling=102]="smoothScrolling",i[i.stickyTabStops=103]="stickyTabStops",i[i.stopRenderingLineAfter=104]="stopRenderingLineAfter",i[i.suggest=105]="suggest",i[i.suggestFontSize=106]="suggestFontSize",i[i.suggestLineHeight=107]="suggestLineHeight",i[i.suggestOnTriggerCharacters=108]="suggestOnTriggerCharacters",i[i.suggestSelection=109]="suggestSelection",i[i.tabCompletion=110]="tabCompletion",i[i.tabIndex=111]="tabIndex",i[i.unicodeHighlighting=112]="unicodeHighlighting",i[i.unusualLineTerminators=113]="unusualLineTerminators",i[i.useShadowDOM=114]="useShadowDOM",i[i.useTabStops=115]="useTabStops",i[i.wordSeparators=116]="wordSeparators",i[i.wordWrap=117]="wordWrap",i[i.wordWrapBreakAfterCharacters=118]="wordWrapBreakAfterCharacters",i[i.wordWrapBreakBeforeCharacters=119]="wordWrapBreakBeforeCharacters",i[i.wordWrapColumn=120]="wordWrapColumn",i[i.wordWrapOverride1=121]="wordWrapOverride1",i[i.wordWrapOverride2=122]="wordWrapOverride2",i[i.wrappingIndent=123]="wrappingIndent",i[i.wrappingStrategy=124]="wrappingStrategy",i[i.showDeprecated=125]="showDeprecated",i[i.inlayHints=126]="inlayHints",i[i.editorClassName=127]="editorClassName",i[i.pixelRatio=128]="pixelRatio",i[i.tabFocusMode=129]="tabFocusMode",i[i.layoutInfo=130]="layoutInfo",i[i.wrappingInfo=131]="wrappingInfo"})(Gz||(Gz={}));var Qz;(function(i){i[i.TextDefined=0]="TextDefined",i[i.LF=1]="LF",i[i.CRLF=2]="CRLF"})(Qz||(Qz={}));var qz;(function(i){i[i.LF=0]="LF",i[i.CRLF=1]="CRLF"})(qz||(qz={}));var Yz;(function(i){i[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent"})(Yz||(Yz={}));var Xz;(function(i){i[i.Other=0]="Other",i[i.Type=1]="Type",i[i.Parameter=2]="Parameter"})(Xz||(Xz={}));var Jz;(function(i){i[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit"})(Jz||(Jz={}));var Zz;(function(i){i[i.DependsOnKbLayout=-1]="DependsOnKbLayout",i[i.Unknown=0]="Unknown",i[i.Backspace=1]="Backspace",i[i.Tab=2]="Tab",i[i.Enter=3]="Enter",i[i.Shift=4]="Shift",i[i.Ctrl=5]="Ctrl",i[i.Alt=6]="Alt",i[i.PauseBreak=7]="PauseBreak",i[i.CapsLock=8]="CapsLock",i[i.Escape=9]="Escape",i[i.Space=10]="Space",i[i.PageUp=11]="PageUp",i[i.PageDown=12]="PageDown",i[i.End=13]="End",i[i.Home=14]="Home",i[i.LeftArrow=15]="LeftArrow",i[i.UpArrow=16]="UpArrow",i[i.RightArrow=17]="RightArrow",i[i.DownArrow=18]="DownArrow",i[i.Insert=19]="Insert",i[i.Delete=20]="Delete",i[i.Digit0=21]="Digit0",i[i.Digit1=22]="Digit1",i[i.Digit2=23]="Digit2",i[i.Digit3=24]="Digit3",i[i.Digit4=25]="Digit4",i[i.Digit5=26]="Digit5",i[i.Digit6=27]="Digit6",i[i.Digit7=28]="Digit7",i[i.Digit8=29]="Digit8",i[i.Digit9=30]="Digit9",i[i.KeyA=31]="KeyA",i[i.KeyB=32]="KeyB",i[i.KeyC=33]="KeyC",i[i.KeyD=34]="KeyD",i[i.KeyE=35]="KeyE",i[i.KeyF=36]="KeyF",i[i.KeyG=37]="KeyG",i[i.KeyH=38]="KeyH",i[i.KeyI=39]="KeyI",i[i.KeyJ=40]="KeyJ",i[i.KeyK=41]="KeyK",i[i.KeyL=42]="KeyL",i[i.KeyM=43]="KeyM",i[i.KeyN=44]="KeyN",i[i.KeyO=45]="KeyO",i[i.KeyP=46]="KeyP",i[i.KeyQ=47]="KeyQ",i[i.KeyR=48]="KeyR",i[i.KeyS=49]="KeyS",i[i.KeyT=50]="KeyT",i[i.KeyU=51]="KeyU",i[i.KeyV=52]="KeyV",i[i.KeyW=53]="KeyW",i[i.KeyX=54]="KeyX",i[i.KeyY=55]="KeyY",i[i.KeyZ=56]="KeyZ",i[i.Meta=57]="Meta",i[i.ContextMenu=58]="ContextMenu",i[i.F1=59]="F1",i[i.F2=60]="F2",i[i.F3=61]="F3",i[i.F4=62]="F4",i[i.F5=63]="F5",i[i.F6=64]="F6",i[i.F7=65]="F7",i[i.F8=66]="F8",i[i.F9=67]="F9",i[i.F10=68]="F10",i[i.F11=69]="F11",i[i.F12=70]="F12",i[i.F13=71]="F13",i[i.F14=72]="F14",i[i.F15=73]="F15",i[i.F16=74]="F16",i[i.F17=75]="F17",i[i.F18=76]="F18",i[i.F19=77]="F19",i[i.NumLock=78]="NumLock",i[i.ScrollLock=79]="ScrollLock",i[i.Semicolon=80]="Semicolon",i[i.Equal=81]="Equal",i[i.Comma=82]="Comma",i[i.Minus=83]="Minus",i[i.Period=84]="Period",i[i.Slash=85]="Slash",i[i.Backquote=86]="Backquote",i[i.BracketLeft=87]="BracketLeft",i[i.Backslash=88]="Backslash",i[i.BracketRight=89]="BracketRight",i[i.Quote=90]="Quote",i[i.OEM_8=91]="OEM_8",i[i.IntlBackslash=92]="IntlBackslash",i[i.Numpad0=93]="Numpad0",i[i.Numpad1=94]="Numpad1",i[i.Numpad2=95]="Numpad2",i[i.Numpad3=96]="Numpad3",i[i.Numpad4=97]="Numpad4",i[i.Numpad5=98]="Numpad5",i[i.Numpad6=99]="Numpad6",i[i.Numpad7=100]="Numpad7",i[i.Numpad8=101]="Numpad8",i[i.Numpad9=102]="Numpad9",i[i.NumpadMultiply=103]="NumpadMultiply",i[i.NumpadAdd=104]="NumpadAdd",i[i.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",i[i.NumpadSubtract=106]="NumpadSubtract",i[i.NumpadDecimal=107]="NumpadDecimal",i[i.NumpadDivide=108]="NumpadDivide",i[i.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",i[i.ABNT_C1=110]="ABNT_C1",i[i.ABNT_C2=111]="ABNT_C2",i[i.AudioVolumeMute=112]="AudioVolumeMute",i[i.AudioVolumeUp=113]="AudioVolumeUp",i[i.AudioVolumeDown=114]="AudioVolumeDown",i[i.BrowserSearch=115]="BrowserSearch",i[i.BrowserHome=116]="BrowserHome",i[i.BrowserBack=117]="BrowserBack",i[i.BrowserForward=118]="BrowserForward",i[i.MediaTrackNext=119]="MediaTrackNext",i[i.MediaTrackPrevious=120]="MediaTrackPrevious",i[i.MediaStop=121]="MediaStop",i[i.MediaPlayPause=122]="MediaPlayPause",i[i.LaunchMediaPlayer=123]="LaunchMediaPlayer",i[i.LaunchMail=124]="LaunchMail",i[i.LaunchApp2=125]="LaunchApp2",i[i.MAX_VALUE=126]="MAX_VALUE"})(Zz||(Zz={}));var eK;(function(i){i[i.Hint=1]="Hint",i[i.Info=2]="Info",i[i.Warning=4]="Warning",i[i.Error=8]="Error"})(eK||(eK={}));var tK;(function(i){i[i.Unnecessary=1]="Unnecessary",i[i.Deprecated=2]="Deprecated"})(tK||(tK={}));var iK;(function(i){i[i.Inline=1]="Inline",i[i.Gutter=2]="Gutter"})(iK||(iK={}));var nK;(function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.TEXTAREA=1]="TEXTAREA",i[i.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",i[i.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",i[i.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",i[i.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",i[i.CONTENT_TEXT=6]="CONTENT_TEXT",i[i.CONTENT_EMPTY=7]="CONTENT_EMPTY",i[i.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",i[i.CONTENT_WIDGET=9]="CONTENT_WIDGET",i[i.OVERVIEW_RULER=10]="OVERVIEW_RULER",i[i.SCROLLBAR=11]="SCROLLBAR",i[i.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",i[i.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(nK||(nK={}));var rK;(function(i){i[i.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",i[i.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",i[i.TOP_CENTER=2]="TOP_CENTER"})(rK||(rK={}));var sK;(function(i){i[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full"})(sK||(sK={}));var oK;(function(i){i[i.Off=0]="Off",i[i.On=1]="On",i[i.Relative=2]="Relative",i[i.Interval=3]="Interval",i[i.Custom=4]="Custom"})(oK||(oK={}));var aK;(function(i){i[i.None=0]="None",i[i.Text=1]="Text",i[i.Blocks=2]="Blocks"})(aK||(aK={}));var lK;(function(i){i[i.Smooth=0]="Smooth",i[i.Immediate=1]="Immediate"})(lK||(lK={}));var cK;(function(i){i[i.Auto=1]="Auto",i[i.Hidden=2]="Hidden",i[i.Visible=3]="Visible"})(cK||(cK={}));var uK;(function(i){i[i.LTR=0]="LTR",i[i.RTL=1]="RTL"})(uK||(uK={}));var dK;(function(i){i[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange"})(dK||(dK={}));var hK;(function(i){i[i.File=0]="File",i[i.Module=1]="Module",i[i.Namespace=2]="Namespace",i[i.Package=3]="Package",i[i.Class=4]="Class",i[i.Method=5]="Method",i[i.Property=6]="Property",i[i.Field=7]="Field",i[i.Constructor=8]="Constructor",i[i.Enum=9]="Enum",i[i.Interface=10]="Interface",i[i.Function=11]="Function",i[i.Variable=12]="Variable",i[i.Constant=13]="Constant",i[i.String=14]="String",i[i.Number=15]="Number",i[i.Boolean=16]="Boolean",i[i.Array=17]="Array",i[i.Object=18]="Object",i[i.Key=19]="Key",i[i.Null=20]="Null",i[i.EnumMember=21]="EnumMember",i[i.Struct=22]="Struct",i[i.Event=23]="Event",i[i.Operator=24]="Operator",i[i.TypeParameter=25]="TypeParameter"})(hK||(hK={}));var fK;(function(i){i[i.Deprecated=1]="Deprecated"})(fK||(fK={}));var gK;(function(i){i[i.Hidden=0]="Hidden",i[i.Blink=1]="Blink",i[i.Smooth=2]="Smooth",i[i.Phase=3]="Phase",i[i.Expand=4]="Expand",i[i.Solid=5]="Solid"})(gK||(gK={}));var pK;(function(i){i[i.Line=1]="Line",i[i.Block=2]="Block",i[i.Underline=3]="Underline",i[i.LineThin=4]="LineThin",i[i.BlockOutline=5]="BlockOutline",i[i.UnderlineThin=6]="UnderlineThin"})(pK||(pK={}));var mK;(function(i){i[i.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",i[i.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",i[i.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",i[i.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(mK||(mK={}));var _K;(function(i){i[i.None=0]="None",i[i.Same=1]="Same",i[i.Indent=2]="Indent",i[i.DeepIndent=3]="DeepIndent"})(_K||(_K={}));class Hk{static chord(e,t){return pa(e,t)}}Hk.CtrlCmd=2048,Hk.Shift=1024,Hk.Alt=512,Hk.WinCtrl=256;function Lpe(){return{editor:void 0,languages:void 0,CancellationTokenSource:ic,Emitter:Ve,KeyCode:Zz,KeyMod:Hk,Position:Qe,Range:de,Selection:jt,SelectionDirection:uK,MarkerSeverity:eK,MarkerTag:tK,Uri:Di,Token:h5}}var wMt="",dg;(function(i){i.serviceIds=new Map,i.DI_TARGET="$di$target",i.DI_DEPENDENCIES="$di$dependencies";function e(t){return t[i.DI_DEPENDENCIES]||[]}i.getServiceDependencies=e})(dg||(dg={}));const xn=jn("instantiationService");function qet(i,e,t,n){e[dg.DI_TARGET]===e?e[dg.DI_DEPENDENCIES].push({id:i,index:t,optional:n}):(e[dg.DI_DEPENDENCIES]=[{id:i,index:t,optional:n}],e[dg.DI_TARGET]=e)}function jn(i){if(dg.serviceIds.has(i))return dg.serviceIds.get(i);const e=function(t,n,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");qet(e,t,r,!1)};return e.toString=()=>i,dg.serviceIds.set(i,e),e}const Cr=jn("codeEditorService");class My{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new Ve,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let e=document.createElement("canvas").getContext("2d"),t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n}}My.INSTANCE=new My;function g5(){return My.INSTANCE.getZoomLevel()}function Rpe(){return My.INSTANCE.getTimeSinceLastZoomLevelChanged()}function vK(i){return My.INSTANCE.onDidChangeZoomLevel(i)}function Npe(){return My.INSTANCE.getZoomFactor()}function Vk(){return My.INSTANCE.getPixelRatio()}const o1=navigator.userAgent,Bu=o1.indexOf("Firefox")>=0,a1=o1.indexOf("AppleWebKit")>=0,CK=o1.indexOf("Chrome")>=0,gf=!CK&&o1.indexOf("Safari")>=0,Ope=!CK&&!gf&&a1,Yet=o1.indexOf("Edge/")>=0&&o1.indexOf("WebView/")>=0,Xet=o1.indexOf("Electron/")>=0,Ppe=o1.indexOf("Android")>=0,yK=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches;var Jet=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",getZoomLevel:g5,getTimeSinceLastZoomLevelChanged:Rpe,onDidChangeZoomLevel:vK,getZoomFactor:Npe,getPixelRatio:Vk,isFirefox:Bu,isWebKit:a1,isChrome:CK,isSafari:gf,isWebkitWebView:Ope,isEdgeLegacyWebView:Yet,isElectron:Xet,isAndroid:Ppe,isStandalone:yK});const p5={clipboard:{writeText:og||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:og||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>og||yK?0:navigator.keyboard||gf?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function bK(i,e){if(i===0)return null;const t=(i&65535)>>>0,n=(i&4294901760)>>>16;return n!==0?new m5([AK(t,e),AK(n,e)]):new m5([AK(t,e)])}function AK(i,e){const t=!!(i&2048),n=!!(i&256),r=e===2?n:t,s=!!(i&1024),o=!!(i&512),a=e===2?t:n,l=i&255;return new By(r,s,o,a,l)}class By{constructor(e,t,n,r,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=s}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new m5([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}class m5{constructor(e){if(e.length===0)throw cg("parts");this.parts=e}}class Zet{constructor(e,t,n,r,s,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=s,this.keyAriaLabel=o}}class ett{}function ttt(i){if(i.charCode){let t=String.fromCharCode(i.charCode).toUpperCase();return Ny.fromString(t)}const e=i.keyCode;if(e===3)return 7;if(Bu){if(e===59)return 80;if(e===107)return 81;if(e===109)return 83;if(vn&&e===224)return 57}else if(a1){if(e===91)return 57;if(vn&&e===93)return 57;if(!vn&&e===92)return 57}return ype[e]||0}const itt=vn?256:2048,ntt=512,rtt=1024,stt=vn?2048:256;class ds{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=ttt(t),this.code=t.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=itt),this.altKey&&(t|=ntt),this.shiftKey&&(t|=rtt),this.metaKey&&(t|=stt),t|=e,t}_computeRuntimeKeybinding(){let e=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(e=this.keyCode),new By(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}let SK=!1,rE=null;function ott(i){if(!i.parent||i.parent===i)return null;try{let e=i.location,t=i.parent.location;if(e.origin!=="null"&&t.origin!=="null"&&e.origin!==t.origin)return SK=!0,null}catch{return SK=!0,null}return i.parent}class wK{static getSameOriginWindowChain(){if(!rE){rE=[];let e=window,t;do t=ott(e),t?rE.push({window:e,iframeElement:e.frameElement||null}):rE.push({window:e,iframeElement:null}),e=t;while(e)}return rE.slice(0)}static hasDifferentOriginAncestor(){return rE||this.getSameOriginWindowChain(),SK}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,r=0,s=this.getSameOriginWindowChain();for(const o of s){if(n+=o.window.scrollY,r+=o.window.scrollX,o.window===t||!o.iframeElement)break;let a=o.iframeElement.getBoundingClientRect();n+=a.top,r+=a.left}return{top:n,left:r}}}class hh{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=e.button===0,this.middleButton=e.button===1,this.rightButton=e.button===2,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,e.type==="dblclick"&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,typeof e.pageX=="number"?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=wK.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class sE{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let r=e,s=e;if(typeof r.wheelDeltaY!="undefined")this.deltaY=r.wheelDeltaY/120;else if(typeof s.VERTICAL_AXIS!="undefined"&&s.axis===s.VERTICAL_AXIS)this.deltaY=-s.detail/3;else if(e.type==="wheel"){const o=e;o.deltaMode===o.DOM_DELTA_LINE?Bu&&!vn?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if(typeof r.wheelDeltaX!="undefined")gf&&Ba?this.deltaX=-(r.wheelDeltaX/120):this.deltaX=r.wheelDeltaX/120;else if(typeof s.HORIZONTAL_AXIS!="undefined"&&s.axis===s.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if(e.type==="wheel"){const o=e;o.deltaMode===o.DOM_DELTA_LINE?Bu&&!vn?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}this.deltaY===0&&this.deltaX===0&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}var fh=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})},jk=globalThis&&globalThis.__asyncValues||function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=i[Symbol.asyncIterator],t;return e?e.call(i):(i=typeof __values=="function"?__values(i):i[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(s){t[s]=i[s]&&function(o){return new Promise(function(a,l){o=i[s](o),r(a,l,o.done,o.value)})}}function r(s,o,a,l){Promise.resolve(l).then(function(c){s({value:c,done:a})},o)}};function att(i){return!!i&&typeof i.then=="function"}function Ua(i){const e=new ic,t=i(e.token),n=new Promise((r,s)=>{const o=e.token.onCancellationRequested(()=>{o.dispose(),e.dispose(),s(Ry())});Promise.resolve(t).then(a=>{o.dispose(),e.dispose(),r(a)},a=>{o.dispose(),e.dispose(),s(a)})});return new class{cancel(){e.cancel()}then(r,s){return n.then(r,s)}catch(r){return this.then(void 0,r)}finally(r){return n.finally(r)}}}function EK(i,e,t){return Promise.race([i,new Promise(n=>e.onCancellationRequested(()=>n(t)))])}class ltt{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const t=()=>{this.queuedPromise=null;const n=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,n};this.queuedPromise=new Promise(n=>{this.activePromise.then(t,t).then(n)})}return new Promise((t,n)=>{this.queuedPromise.then(t,n)})}return this.activePromise=e(),new Promise((t,n)=>{this.activePromise.then(r=>{this.activePromise=null,t(r)},r=>{this.activePromise=null,n(r)})})}}class M_{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((n,r)=>{this.doResolve=n,this.doReject=r}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const n=this.task;return this.task=null,n()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return this.timeout!==null}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Ry()),this.completionPromise=null)}cancelTimeout(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancel()}}class ctt{constructor(e){this.delayer=new M_(e),this.throttler=new ltt}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function l1(i,e){return e?new Promise((t,n)=>{const r=setTimeout(()=>{s.dispose(),t()},i),s=e.onCancellationRequested(()=>{clearTimeout(r),s.dispose(),n(Ry())})}):Ua(t=>l1(i,t))}function Fy(i,e=0){const t=setTimeout(i,e);return An(()=>clearTimeout(t))}function Mpe(i,e=n=>!!n,t=null){let n=0;const r=i.length,s=()=>{if(n>=r)return Promise.resolve(t);const o=i[n++];return Promise.resolve(o()).then(l=>e(l)?Promise.resolve(l):s())};return s()}class Lc{constructor(e,t){this._token=-1,typeof e=="function"&&typeof t=="number"&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class $k{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class Ur{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let _5;(function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?_5=i=>{Xge(()=>{if(e)return;const t=Date.now()+3;i(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,t-Date.now())}}))});let e=!1;return{dispose(){e||(e=!0)}}}:_5=(i,e)=>{const t=requestIdleCallback(i,typeof e=="number"?{timeout:e}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(t))}}}})();class oE{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(t){this._error=t}finally{this._didRun=!0}},this._handle=_5(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class Bpe{constructor(){this.resolved=!1,this.p=new Promise((e,t)=>{this.completeCallback=e,this.errorCallback=t})}complete(e){return new Promise(t=>{this.completeCallback(e),this.resolved=!0,t()})}}var IK;(function(i){function e(n){return fh(this,void 0,void 0,function*(){let r;const s=yield Promise.all(n.map(o=>o.then(a=>a,a=>{r||(r=a)})));if(typeof r!="undefined")throw r;return s})}i.settled=e;function t(n){return new Promise((r,s)=>fh(this,void 0,void 0,function*(){try{yield n(r,s)}catch(o){s(o)}}))}i.withAsyncBody=t})(IK||(IK={}));class _a{constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new Ve,queueMicrotask(()=>fh(this,void 0,void 0,function*(){const t={emitOne:n=>this.emitOne(n),emitMany:n=>this.emitMany(n),reject:n=>this.reject(n)};try{yield Promise.resolve(e(t)),this.resolve()}catch(n){this.reject(n)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}static fromArray(e){return new _a(t=>{t.emitMany(e)})}static fromPromise(e){return new _a(t=>fh(this,void 0,void 0,function*(){t.emitMany(yield e)}))}static fromPromises(e){return new _a(t=>fh(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>fh(this,void 0,void 0,function*(){return t.emitOne(yield n)})))}))}static merge(e){return new _a(t=>fh(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>{var r,s;return fh(this,void 0,void 0,function*(){var o,a;try{for(r=jk(n);s=yield r.next(),!s.done;){const l=s.value;t.emitOne(l)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(a=r.return)&&(yield a.call(r))}finally{if(o)throw o.error}}})}))}))}[Symbol.asyncIterator](){let e=0;return{next:()=>fh(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(this._state===1)return{done:!0,value:void 0};yield ai.toPromise(this._onStateChanged.event)}while(!0)})}}static map(e,t){return new _a(n=>fh(this,void 0,void 0,function*(){var r,s;try{for(var o=jk(e),a;a=yield o.next(),!a.done;){const l=a.value;n.emitOne(t(l))}}catch(l){r={error:l}}finally{try{a&&!a.done&&(s=o.return)&&(yield s.call(o))}finally{if(r)throw r.error}}}))}map(e){return _a.map(this,e)}static filter(e,t){return new _a(n=>fh(this,void 0,void 0,function*(){var r,s;try{for(var o=jk(e),a;a=yield o.next(),!a.done;){const l=a.value;t(l)&&n.emitOne(l)}}catch(l){r={error:l}}finally{try{a&&!a.done&&(s=o.return)&&(yield s.call(o))}finally{if(r)throw r.error}}}))}filter(e){return _a.filter(this,e)}static coalesce(e){return _a.filter(e,t=>!!t)}coalesce(){return _a.coalesce(this)}static toPromise(e){var t,n,r,s;return fh(this,void 0,void 0,function*(){const o=[];try{for(t=jk(e);n=yield t.next(),!n.done;){const a=n.value;o.push(a)}}catch(a){r={error:a}}finally{try{n&&!n.done&&(s=t.return)&&(yield s.call(t))}finally{if(r)throw r.error}}return o})}toPromise(){return _a.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}}_a.EMPTY=_a.fromArray([]);class utt extends _a{constructor(e,t){super(t);this._source=e}cancel(){this._source.cancel()}}function dtt(i){const e=new ic,t=i(e.token);return new utt(e,n=>fh(this,void 0,void 0,function*(){var r,s;const o=e.token.onCancellationRequested(()=>{o.dispose(),e.dispose(),n.reject(Ry())});try{try{for(var a=jk(t),l;l=yield a.next(),!l.done;){const c=l.value;if(e.token.isCancellationRequested)return;n.emitOne(c)}}catch(c){r={error:c}}finally{try{l&&!l.done&&(s=a.return)&&(yield s.call(a))}finally{if(r)throw r.error}}o.dispose(),e.dispose()}catch(c){o.dispose(),e.dispose(),n.reject(c)}}))}var rn;(function(i){i.inMemory="inmemory",i.vscode="vscode",i.internal="private",i.walkThrough="walkThrough",i.walkThroughSnippet="walkThroughSnippet",i.http="http",i.https="https",i.file="file",i.mailto="mailto",i.untitled="untitled",i.data="data",i.command="command",i.vscodeRemote="vscode-remote",i.vscodeRemoteResource="vscode-remote-resource",i.userData="vscode-userdata",i.vscodeCustomEditor="vscode-custom-editor",i.vscodeNotebook="vscode-notebook",i.vscodeNotebookCell="vscode-notebook-cell",i.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",i.vscodeNotebookCellOutput="vscode-notebook-cell-output",i.vscodeInteractive="vscode-interactive",i.vscodeInteractiveInput="vscode-interactive-input",i.vscodeSettings="vscode-settings",i.vscodeWorkspaceTrust="vscode-workspace-trust",i.vscodeTerminal="vscode-terminal",i.webviewPanel="webview-panel",i.vscodeWebview="vscode-webview",i.extension="extension",i.vscodeFileResource="vscode-file",i.tmp="tmp",i.vsls="vsls"})(rn||(rn={}));class htt{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&n.indexOf(":")!==-1&&(n=`[${n}]`);const r=this._ports[t],s=this._connectionTokens[t];let o=`path=${encodeURIComponent(e.path)}`;return typeof s=="string"&&(o+=`&tkn=${encodeURIComponent(s)}`),Di.from({scheme:e1?this._preferredWebSchema:rn.vscodeRemoteResource,authority:`${n}:${r}`,path:"/vscode-remote-resource",query:o})}}const Fpe=new htt;class zk{asBrowserUri(e,t){const n=this.toUri(e,t);return n.scheme===rn.vscodeRemote?Fpe.rewrite(n):n.scheme===rn.file&&(og||typeof cs.importScripts=="function"&&cs.origin===`${rn.vscodeFileResource}://${zk.FALLBACK_AUTHORITY}`)?n.with({scheme:rn.vscodeFileResource,authority:n.authority||zk.FALLBACK_AUTHORITY,query:null,fragment:null}):n}toUri(e,t){return Di.isUri(e)?e:Di.parse(t.toUrl(e))}}zk.FALLBACK_AUTHORITY="vscode-app";const Upe=new zk;function ia(i){for(;i.firstChild;)i.firstChild.remove()}function TK(i){var e;return(e=i==null?void 0:i.isConnected)!==null&&e!==void 0?e:!1}class Wpe{constructor(e,t,n,r){this._node=e,this._type=t,this._handler=n,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){!this._handler||(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function At(i,e,t,n){return new Wpe(i,e,t,n)}function Hpe(i){return function(e){return i(new hh(e))}}function ftt(i){return function(e){return i(new ds(e))}}let va=function(e,t,n,r){let s=n;return t==="click"||t==="mousedown"?s=Hpe(n):(t==="keydown"||t==="keypress"||t==="keyup")&&(s=ftt(n)),At(e,t,s,r)},gtt=function(e,t,n){let r=Hpe(t);return xK(e,r,n)};function xK(i,e,t){return At(i,ag&&p5.pointerEvents?gi.POINTER_DOWN:gi.MOUSE_DOWN,e,t)}function Vpe(i,e,t){return At(i,ag&&p5.pointerEvents?gi.POINTER_UP:gi.MOUSE_UP,e,t)}function DK(i,e){return At(i,"mouseout",t=>{let n=t.relatedTarget;for(;n&&n!==i;)n=n.parentNode;n!==i&&e(t)})}function ptt(i,e){return At(i,"pointerout",t=>{let n=t.relatedTarget;for(;n&&n!==i;)n=n.parentNode;n!==i&&e(t)})}function hg(i,e,t){let n=null;const r=l=>a.fire(l),s=()=>{n||(n=new Wpe(i,e,r,t))},o=()=>{n&&(n.dispose(),n=null)},a=new Ve({onFirstListenerAdd:s,onLastListenerRemove:o});return a}let kK=null;function mtt(i){if(!kK){const e=t=>setTimeout(()=>t(new Date().getTime()),0);kK=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}return kK.call(self,i)}let jpe,$p;class LK{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Wi(e)}}static sort(e,t){return t.priority-e.priority}}(function(){let i=[],e=null,t=!1,n=!1,r=()=>{for(t=!1,e=i,i=[],n=!0;e.length>0;)e.sort(LK.sort),e.shift().execute();n=!1};$p=(s,o=0)=>{let a=new LK(s,o);return i.push(a),t||(t=!0,mtt(r)),a},jpe=(s,o)=>{if(n){let a=new LK(s,o);return e.push(a),a}else return $p(s,o)}})();const _tt=8,vtt=function(i,e){return e};class Ctt extends lt{constructor(e,t,n,r=vtt,s=_tt){super();let o=null,a=0,l=this._register(new Lc),c=()=>{a=new Date().getTime(),n(o),o=null};this._register(At(e,t,u=>{o=r(o,u);let d=new Date().getTime()-a;d>=s?(l.cancel(),c()):l.setIfNotSet(c,s-d)}))}}function RK(i,e,t,n,r){return new Ctt(i,e,t,n,r)}function NK(i){return document.defaultView.getComputedStyle(i,null)}function v5(i){if(i!==document.body)return new Kr(i.clientWidth,i.clientHeight);if(ag&&window.visualViewport)return new Kr(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new Kr(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Kr(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Kr(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class js{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let r=NK(e),s="0";return r&&(r.getPropertyValue?s=r.getPropertyValue(t):s=r.getAttribute(n)),js.convertToPixels(e,s)}static getBorderLeftWidth(e){return js.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return js.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return js.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return js.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return js.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return js.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return js.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return js.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return js.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return js.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return js.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return js.getDimension(e,"margin-bottom","marginBottom")}}class Kr{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new Kr(e,t):this}static is(e){return typeof e=="object"&&typeof e.height=="number"&&typeof e.width=="number"}static lift(e){return e instanceof Kr?e:new Kr(e.width,e.height)}static equals(e,t){return e===t?!0:!e||!t?!1:e.width===t.width&&e.height===t.height}}function $pe(i){let e=i.offsetParent,t=i.offsetTop,n=i.offsetLeft;for(;(i=i.parentNode)!==null&&i!==document.body&&i!==document.documentElement;){t-=i.scrollTop;const r=Gpe(i)?null:NK(i);r&&(n-=r.direction!=="rtl"?i.scrollLeft:-i.scrollLeft),i===e&&(n+=js.getBorderLeftWidth(i),t+=js.getBorderTopWidth(i),t+=i.offsetTop,n+=i.offsetLeft,e=i.offsetParent)}return{left:n,top:t}}function ytt(i,e,t){typeof e=="number"&&(i.style.width=`${e}px`),typeof t=="number"&&(i.style.height=`${t}px`)}function kl(i){let e=i.getBoundingClientRect();return{left:e.left+B_.scrollX,top:e.top+B_.scrollY,width:e.width,height:e.height}}const B_=new class{get scrollX(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function pf(i){let e=js.getMarginLeft(i)+js.getMarginRight(i);return i.offsetWidth+e}function OK(i){let e=js.getBorderLeftWidth(i)+js.getBorderRightWidth(i),t=js.getPaddingLeft(i)+js.getPaddingRight(i);return i.offsetWidth-e-t}function btt(i){let e=js.getBorderTopWidth(i)+js.getBorderBottomWidth(i),t=js.getPaddingTop(i)+js.getPaddingBottom(i);return i.offsetHeight-e-t}function PK(i){let e=js.getMarginTop(i)+js.getMarginBottom(i);return i.offsetHeight+e}function F_(i,e){for(;i;){if(i===e)return!0;i=i.parentNode}return!1}function zpe(i,e,t){for(;i&&i.nodeType===i.ELEMENT_NODE;){if(i.classList.contains(e))return i;if(t){if(typeof t=="string"){if(i.classList.contains(t))return null}else if(i===t)return null}i=i.parentNode}return null}function Kpe(i,e,t){return!!zpe(i,e,t)}function Gpe(i){return i&&!!i.host&&!!i.mode}function C5(i){return!!c1(i)}function c1(i){for(;i.parentNode;){if(i===document.body)return null;i=i.parentNode}return Gpe(i)?i:null}function aE(){let i=document.activeElement;for(;i==null?void 0:i.shadowRoot;)i=i.shadowRoot.activeElement;return i}function gh(i=document.getElementsByTagName("head")[0]){let e=document.createElement("style");return e.type="text/css",e.media="screen",i.appendChild(e),e}let MK=null;function Qpe(){return MK||(MK=gh()),MK}function Att(i){var e,t;return((e=i==null?void 0:i.sheet)===null||e===void 0?void 0:e.rules)?i.sheet.rules:((t=i==null?void 0:i.sheet)===null||t===void 0?void 0:t.cssRules)?i.sheet.cssRules:[]}function BK(i,e,t=Qpe()){!t||!e||t.sheet.insertRule(i+"{"+e+"}",0)}function qpe(i,e=Qpe()){if(!e)return;let t=Att(e),n=[];for(let r=0;r<t.length;r++)t[r].selectorText.indexOf(i)!==-1&&n.push(r);for(let r=n.length-1;r>=0;r--)e.sheet.deleteRule(n[r])}function Ype(i){return typeof HTMLElement=="object"?i instanceof HTMLElement:i&&typeof i=="object"&&i.nodeType===1&&typeof i.nodeName=="string"}const gi={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:a1?"webkitAnimationStart":"animationstart",ANIMATION_END:a1?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:a1?"webkitAnimationIteration":"animationiteration"},dr={stop:function(i,e){i.preventDefault?i.preventDefault():i.returnValue=!1,e&&(i.stopPropagation?i.stopPropagation():i.cancelBubble=!0)}};function Stt(i){let e=[];for(let t=0;i&&i.nodeType===i.ELEMENT_NODE;t++)e[t]=i.scrollTop,i=i.parentNode;return e}function wtt(i,e){for(let t=0;i&&i.nodeType===i.ELEMENT_NODE;t++)i.scrollTop!==e[t]&&(i.scrollTop=e[t]),i=i.parentNode}class y5 extends lt{constructor(e){super();this._onDidFocus=this._register(new Ve),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new Ve),this.onDidBlur=this._onDidBlur.event;let t=y5.hasFocusWithin(e),n=!1;const r=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},s=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{y5.hasFocusWithin(e)!==t&&(t?s():r())},this._register(At(e,gi.FOCUS,r,!0)),this._register(At(e,gi.BLUR,s,!0)),this._register(At(e,gi.FOCUS_IN,()=>this._refreshStateHandler())),this._register(At(e,gi.FOCUS_OUT,()=>this._refreshStateHandler()))}static hasFocusWithin(e){const t=c1(e),n=t?t.activeElement:document.activeElement;return F_(n,e)}}function lE(i){return new y5(i)}function gt(i,...e){if(i.append(...e),e.length===1&&typeof e[0]!="string")return e[0]}function Ett(i,e){return i.insertBefore(e,i.firstChild),e}function u1(i,...e){i.innerText="",gt(i,...e)}const Itt=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var Kk;(function(i){i.HTML="http://www.w3.org/1999/xhtml",i.SVG="http://www.w3.org/2000/svg"})(Kk||(Kk={}));function Xpe(i,e,t,...n){let r=Itt.exec(e);if(!r)throw new Error("Bad use of emmet");t=Object.assign({},t||{});let s=r[1]||"div",o;return i!==Kk.HTML?o=document.createElementNS(i,s):o=document.createElement(s),r[3]&&(o.id=r[3]),r[4]&&(o.className=r[4].replace(/\./g," ").trim()),Object.keys(t).forEach(a=>{const l=t[a];typeof l!="undefined"&&(/^on\w+$/.test(a)?o[a]=l:a==="selected"?l&&o.setAttribute(a,"true"):o.setAttribute(a,l))}),o.append(...n),o}function Ct(i,e,...t){return Xpe(Kk.HTML,i,e,...t)}Ct.SVG=function(i,e,...t){return Xpe(Kk.SVG,i,e,...t)};function Dd(...i){for(let e of i)e.style.display="",e.removeAttribute("aria-hidden")}function lu(...i){for(let e of i)e.style.display="none",e.setAttribute("aria-hidden","true")}function Ttt(i){return Array.prototype.slice.call(document.getElementsByTagName(i),0)}function Jpe(i){const e=window.devicePixelRatio*i;return Math.max(1,Math.floor(e))/window.devicePixelRatio}function Zpe(i){window.open(i,"_blank","noopener")}function xtt(i){const e=()=>{i(),t=$p(e)};let t=$p(e);return An(()=>t.dispose())}Fpe.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function Uy(i){return i?`url('${Upe.asBrowserUri(i).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function eme(i){return`'${i.replace(/'/g,"%27")}'`}class Wy extends Ve{constructor(){super();this._subscriptions=new wt,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(At(window,"keydown",e=>{if(e.defaultPrevented)return;const t=new ds(e);if(!(t.keyCode===6&&e.repeat)){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(t.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(At(window,"keyup",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(At(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(At(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(At(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(At(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return Wy.instance||(Wy.instance=new Wy),Wy.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function Dtt(i,e){const t=window.matchMedia(i);typeof t.addEventListener=="function"?t.addEventListener("change",e):t.addListener(e)}function tme(i){return!i||typeof i!="string"?!0:i.trim().length===0}const ktt=/{(\d+)}/g;function ph(i,...e){return e.length===0?i:i.replace(ktt,function(t,n){const r=parseInt(n,10);return isNaN(r)||r<0||r>=e.length?t:e[r]})}function FK(i){return i.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function mh(i){return i.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Ltt(i,e=" "){const t=UK(i,e);return ime(t,e)}function UK(i,e){if(!i||!e)return i;const t=e.length;if(t===0||i.length===0)return i;let n=0;for(;i.indexOf(e,n)===n;)n=n+t;return i.substring(n)}function ime(i,e){if(!i||!e)return i;const t=e.length,n=i.length;if(t===0||n===0)return i;let r=n,s=-1;for(;s=i.lastIndexOf(e,r-1),!(s===-1||s+t!==r);){if(s===0)return"";r=s}return i.substring(0,r)}function Rtt(i){return i.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function Ntt(i){return i.replace(/\*/g,"")}function nme(i,e,t={}){if(!i)throw new Error("Cannot create regex from empty string");e||(i=mh(i)),t.wholeWord&&(/\B/.test(i.charAt(0))||(i="\\b"+i),/\B/.test(i.charAt(i.length-1))||(i=i+"\\b"));let n="";return t.global&&(n+="g"),t.matchCase||(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),new RegExp(i,n)}function Ott(i){return i.source==="^"||i.source==="^$"||i.source==="$"||i.source==="^\\s*$"?!1:!!(i.exec("")&&i.lastIndex===0)}function WK(i){return(i.global?"g":"")+(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")}function zp(i){return i.split(/\r\n|\r|\n/)}function Rc(i){for(let e=0,t=i.length;e<t;e++){const n=i.charCodeAt(e);if(n!==32&&n!==9)return e}return-1}function Ir(i,e=0,t=i.length){for(let n=e;n<t;n++){const r=i.charCodeAt(n);if(r!==32&&r!==9)return i.substring(e,n)}return i.substring(e,t)}function Kp(i,e=i.length-1){for(let t=e;t>=0;t--){const n=i.charCodeAt(t);if(n!==32&&n!==9)return t}return-1}function Gk(i,e){return i<e?-1:i>e?1:0}function HK(i,e,t=0,n=i.length,r=0,s=e.length){for(;t<n&&r<s;t++,r++){let l=i.charCodeAt(t),c=e.charCodeAt(r);if(l<c)return-1;if(l>c)return 1}const o=n-t,a=s-r;return o<a?-1:o>a?1:0}function VK(i,e){return Qk(i,e,0,i.length,0,e.length)}function Qk(i,e,t=0,n=i.length,r=0,s=e.length){for(;t<n&&r<s;t++,r++){let l=i.charCodeAt(t),c=e.charCodeAt(r);if(l===c)continue;if(l>=128||c>=128)return HK(i.toLowerCase(),e.toLowerCase(),t,n,r,s);d1(l)&&(l-=32),d1(c)&&(c-=32);const u=l-c;if(u!==0)return u}const o=n-t,a=s-r;return o<a?-1:o>a?1:0}function d1(i){return i>=97&&i<=122}function Gp(i){return i>=65&&i<=90}function cE(i,e){return i.length===e.length&&Qk(i,e)===0}function jK(i,e){const t=e.length;return e.length>i.length?!1:Qk(i,e,0,t)===0}function uE(i,e){let t,n=Math.min(i.length,e.length);for(t=0;t<n;t++)if(i.charCodeAt(t)!==e.charCodeAt(t))return t;return n}function b5(i,e){let t,n=Math.min(i.length,e.length);const r=i.length-1,s=e.length-1;for(t=0;t<n;t++)if(i.charCodeAt(r-t)!==e.charCodeAt(s-t))return t;return n}function na(i){return 55296<=i&&i<=56319}function dE(i){return 56320<=i&&i<=57343}function $K(i,e){return(i-55296<<10)+(e-56320)+65536}function Hy(i,e,t){const n=i.charCodeAt(t);if(na(n)&&t+1<e){const r=i.charCodeAt(t+1);if(dE(r))return $K(n,r)}return n}function hE(i,e){const t=i.charCodeAt(e-1);if(dE(t)&&e>1){const n=i.charCodeAt(e-2);if(na(n))return $K(n,t)}return t}function A5(i,e){const t=U_.getInstance(),n=e,r=i.length,s=Hy(i,r,e);e+=s>=65536?2:1;let o=t.getGraphemeBreakType(s);for(;e<r;){const a=Hy(i,r,e),l=t.getGraphemeBreakType(a);if(I5(o,l))break;e+=a>=65536?2:1,o=l}return e-n}function Ptt(i,e){const t=U_.getInstance(),n=e,r=hE(i,e);e-=r>=65536?2:1;let s=t.getGraphemeBreakType(r);for(;e>0;){const o=hE(i,e),a=t.getGraphemeBreakType(o);if(I5(a,s))break;e-=o>=65536?2:1,s=a}return n-e}const Mtt=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function S5(i){return Mtt.test(i)}const Btt=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFF0]|\uD83E[\uDD00-\uDDFF\uDE70-\uDEF6])/;function Ftt(i){return Btt.test(i)}const Utt=/^[\t\n\r\x20-\x7E]*$/;function zK(i){return Utt.test(i)}const rme=/[\u2028\u2029]/;function sme(i){return rme.test(i)}function Wtt(i){for(let e=0,t=i.length;e<t;e++)if(Qp(i.charCodeAt(e)))return!0;return!1}function Qp(i){return i>=11904&&i<=55215||i>=63744&&i<=64255||i>=65281&&i<=65374}function w5(i){return i>=127462&&i<=127487||i===8986||i===8987||i===9200||i===9203||i>=9728&&i<=10175||i===11088||i===11093||i>=127744&&i<=128591||i>=128640&&i<=128764||i>=128992&&i<=129008||i>=129280&&i<=129535||i>=129648&&i<=129782}const Htt=String.fromCharCode(65279);function KK(i){return!!(i&&i.length>0&&i.charCodeAt(0)===65279)}function Vtt(i,e=!1){return i?(e&&(i=i.replace(/\\./g,"")),i.toLowerCase()!==i):!1}function ome(i){const e=90-65+1;return i=i%(2*e),i<e?String.fromCharCode(97+i):String.fromCharCode(65+i-e)}function E5(i){return U_.getInstance().getGraphemeBreakType(i)}function I5(i,e){return i===0?e!==5&&e!==7:i===2&&e===3?!1:i===4||i===2||i===3||e===4||e===2||e===3?!0:!(i===8&&(e===8||e===9||e===11||e===12)||(i===11||i===9)&&(e===9||e===10)||(i===12||i===10)&&e===10||e===5||e===13||e===7||i===1||i===13&&e===14||i===6&&e===6)}class U_{constructor(){this._data=jtt()}static getInstance(){return U_._INSTANCE||(U_._INSTANCE=new U_),U_._INSTANCE}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(e<t[3*r])r=2*r;else if(e>t[3*r+1])r=2*r+1;else return t[3*r+2];return 0}}U_._INSTANCE=null;function jtt(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function $tt(i,e){if(i===0)return 0;const t=ztt(i,e);if(t!==void 0)return t;const n=hE(e,i);return i-=T5(n),i}function ztt(i,e){let t=hE(e,i);for(i-=T5(t);Ktt(t)||t===65039||t===8419;){if(i===0)return;t=hE(e,i),i-=T5(t)}if(!!w5(t)){if(i>=0){const n=hE(e,i);n===8205&&(i-=T5(n))}return i}}function T5(i){return i>=65536?2:1}function Ktt(i){return 127995<=i&&i<=127999}const Gtt="\xA0";class fg{static getData(){return JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,40,10088,40,10098,40,12308,40,64830,40,65341,41,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,124,8739,124,9213,124,65512,124,1633,124,1777,124,66336,124,125127,124,120783,124,120793,124,120803,124,120813,124,120823,124,130033,124,65321,124,8544,124,8464,124,8465,124,119816,124,119868,124,119920,124,120024,124,120128,124,120180,124,120232,124,120284,124,120336,124,120388,124,120440,124,406,124,65356,124,8572,124,8467,124,119845,124,119897,124,119949,124,120001,124,120053,124,120105,124,120157,124,120209,124,120261,124,120313,124,120365,124,120417,124,120469,124,448,124,120496,124,120554,124,120612,124,120670,124,120728,124,11410,124,1030,124,1216,124,1493,124,1503,124,1575,124,126464,124,126592,124,65166,124,65165,124,1994,124,11599,124,5825,124,42226,124,93992,124,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90],"_default":[160,32,8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"cs":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89],"de":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89],"es":[8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"fr":[65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"it":[160,32,8211,45,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ko":[8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"pl":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"pt-BR":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"qps-ploc":[160,32,8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"ru":[65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,124,1009,112,215,120],"tr":[160,32,8211,45,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"zh-hans":[65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89],"zh-hant":[8211,45,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,124,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}')}static getConfusablesForCurrentLocale(){if(!fg.map){let n=function(o){const a=new Map;for(let l=0;l<o.length;l+=2)a.set(o[l],o[l+1]);return a};const e=fg.getData();let t=SZe;(!t||!(t in e))&&(t=AZe),(!t||!(t in e))&&(t="_default");const r=n(e._common),s=n(e[t]);for(const[o,a]of s)r.set(o,a);fg.map=r}return fg.map}static isAmbiguous(e){return fg.getConfusablesForCurrentLocale().has(e)}static getPrimaryConfusable(e){return fg.getConfusablesForCurrentLocale().get(e)}static getPrimaryConfusableCodePoints(){return new Set(fg.getConfusablesForCurrentLocale().keys())}}class W_{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(W_.getRawData())),this._data}static isInvisibleCharacter(e){return W_.getData().has(e)}static get codePoints(){return W_.getData()}}W_._data=void 0;var ame,lme;class Qtt{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos<this._value.length-1}cmp(e){const t=e.charCodeAt(0),n=this._value.charCodeAt(this._pos);return t-n}value(){return this._value[this._pos]}}class qtt{constructor(e=!0){this._caseSensitive=e}reset(e){return this._value=e,this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++)if(this._value.charCodeAt(this._to)===46)if(e)this._from++;else break;else e=!1;return this}cmp(e){return this._caseSensitive?HK(e,this._value,0,e.length,this._from,this._to):Qk(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Ytt{constructor(e=!0,t=!0){this._splitOnBackslash=e,this._caseSensitive=t}reset(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()}hasNext(){return this._to<this._value.length}next(){this._from=this._to;let e=!0;for(;this._to<this._value.length;this._to++){const t=this._value.charCodeAt(this._to);if(t===47||this._splitOnBackslash&&t===92)if(e)this._from++;else break;else e=!1}return this}cmp(e){return this._caseSensitive?HK(e,this._value,0,e.length,this._from,this._to):Qk(e,this._value,0,e.length,this._from,this._to)}value(){return this._value.substring(this._from,this._to)}}class Xtt{constructor(e){this._ignorePathCasing=e,this._states=[],this._stateIdx=0}reset(e){return this._value=e,this._states=[],this._value.scheme&&this._states.push(1),this._value.authority&&this._states.push(2),this._value.path&&(this._pathIterator=new Ytt(!1,!this._ignorePathCasing(e)),this._pathIterator.reset(e.path),this._pathIterator.value()&&this._states.push(3)),this._value.query&&this._states.push(4),this._value.fragment&&this._states.push(5),this._stateIdx=0,this}next(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()?this._pathIterator.next():this._stateIdx+=1,this}hasNext(){return this._states[this._stateIdx]===3&&this._pathIterator.hasNext()||this._stateIdx<this._states.length-1}cmp(e){if(this._states[this._stateIdx]===1)return VK(e,this._value.scheme);if(this._states[this._stateIdx]===2)return VK(e,this._value.authority);if(this._states[this._stateIdx]===3)return this._pathIterator.cmp(e);if(this._states[this._stateIdx]===4)return Gk(e,this._value.query);if(this._states[this._stateIdx]===5)return Gk(e,this._value.fragment);throw new Error}value(){if(this._states[this._stateIdx]===1)return this._value.scheme;if(this._states[this._stateIdx]===2)return this._value.authority;if(this._states[this._stateIdx]===3)return this._pathIterator.value();if(this._states[this._stateIdx]===4)return this._value.query;if(this._states[this._stateIdx]===5)return this._value.fragment;throw new Error}}class x5{constructor(){this.height=1}rotateLeft(){const e=this.right;return this.right=e.left,e.left=this,this.updateHeight(),e.updateHeight(),e}rotateRight(){const e=this.left;return this.left=e.right,e.right=this,this.updateHeight(),e.updateHeight(),e}updateHeight(){this.height=1+Math.max(this.heightLeft,this.heightRight)}balanceFactor(){return this.heightRight-this.heightLeft}get heightLeft(){var e,t;return(t=(e=this.left)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}get heightRight(){var e,t;return(t=(e=this.right)===null||e===void 0?void 0:e.height)!==null&&t!==void 0?t:0}}class fE{constructor(e){this._iter=e}static forUris(e=()=>!1){return new fE(new Xtt(e))}static forStrings(){return new fE(new Qtt)}static forConfigKeys(){return new fE(new qtt)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let r;this._root||(this._root=new x5,this._root.segment=n.value());const s=[];for(r=this._root;;){const a=n.cmp(r.segment);if(a>0)r.left||(r.left=new x5,r.left.segment=n.value()),s.push([-1,r]),r=r.left;else if(a<0)r.right||(r.right=new x5,r.right.segment=n.value()),s.push([1,r]),r=r.right;else if(n.hasNext())n.next(),r.mid||(r.mid=new x5,r.mid.segment=n.value()),s.push([0,r]),r=r.mid;else break}const o=r.value;r.value=t,r.key=e;for(let a=s.length-1;a>=0;a--){const l=s[a][1];l.updateHeight();const c=l.balanceFactor();if(c<-1||c>1){const u=s[a][0],d=s[a+1][0];if(u===1&&d===1)s[a][1]=l.rotateLeft();else if(u===-1&&d===-1)s[a][1]=l.rotateRight();else if(u===1&&d===-1)l.right=s[a+1][1]=s[a+1][1].rotateRight(),s[a][1]=l.rotateLeft();else if(u===-1&&d===1)l.left=s[a+1][1]=s[a+1][1].rotateLeft(),s[a][1]=l.rotateRight();else throw new Error;if(a>0)switch(s[a-1][0]){case-1:s[a-1][1].left=s[a][1];break;case 1:s[a-1][1].right=s[a][1];break;case 0:s[a-1][1].mid=s[a][1];break}else this._root=s[0][1]}}return o}get(e){var t;return(t=this._getNode(e))===null||t===void 0?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const r=t.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else break}return n}has(e){const t=this._getNode(e);return!((t==null?void 0:t.value)===void 0&&(t==null?void 0:t.mid)===void 0)}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){var n;const r=this._iter.reset(e),s=[];let o=this._root;for(;o;){const a=r.cmp(o.segment);if(a>0)s.push([-1,o]),o=o.left;else if(a<0)s.push([1,o]),o=o.right;else if(r.hasNext())r.next(),s.push([0,o]),o=o.mid;else break}if(!!o){if(t?(o.left=void 0,o.mid=void 0,o.right=void 0,o.height=1):(o.key=void 0,o.value=void 0),!o.mid&&!o.value)if(o.left&&o.right){const a=this._min(o.right),{key:l,value:c,segment:u}=a;this._delete(a.key,!1),o.key=l,o.value=c,o.segment=u}else{const a=(n=o.left)!==null&&n!==void 0?n:o.right;if(s.length>0){const[l,c]=s[s.length-1];switch(l){case-1:c.left=a;break;case 0:c.mid=a;break;case 1:c.right=a;break}}else this._root=a}for(let a=s.length-1;a>=0;a--){const l=s[a][1];l.updateHeight();const c=l.balanceFactor();if(c>1?(l.right.balanceFactor()>=0||(l.right=s[a+1][1]=s[a+1][1].rotateRight()),s[a][1]=l.rotateLeft()):c<-1&&(l.left.balanceFactor()<=0||(l.left=s[a+1][1]=s[a+1][1].rotateLeft()),s[a][1]=l.rotateRight()),a>0)switch(s[a-1][0]){case-1:s[a-1][1].left=s[a][1];break;case 1:s[a-1][1].right=s[a][1];break;case 0:s[a-1][1].mid=s[a][1];break}else this._root=s[0][1]}}}_min(e){for(;e.left;)e=e.left;return e}findSubstr(e){const t=this._iter.reset(e);let n=this._root,r;for(;n;){const s=t.cmp(n.segment);if(s>0)n=n.left;else if(s<0)n=n.right;else if(t.hasNext())t.next(),r=n.value||r,n=n.mid;else break}return n&&n.value||r}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const r=t.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else if(t.hasNext())t.next(),n=n.mid;else return n.mid?this._entries(n.mid):void 0}}forEach(e){for(const[t,n]of this)e(n,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){!e||(e.left&&(yield*this._entries(e.left)),e.value&&(yield[e.key,e.value]),e.mid&&(yield*this._entries(e.mid)),e.right&&(yield*this._entries(e.right)))}}class Jtt{constructor(e,t){this.uri=e,this.value=t}}class rc{constructor(e,t){this[ame]="ResourceMap",e instanceof rc?(this.map=new Map(e.map),this.toKey=t!=null?t:rc.defaultToKey):(this.map=new Map,this.toKey=e!=null?e:rc.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),new Jtt(e,t)),this}get(e){var t;return(t=this.map.get(this.toKey(e)))===null||t===void 0?void 0:t.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){typeof t!="undefined"&&(e=e.bind(t));for(let[n,r]of this.map)e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(ame=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}}rc.defaultToKey=i=>i.toString();class Ztt{constructor(){this[lme]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(!!n)return t!==0&&this.touch(n,t),n.value}set(e,t,n=0){let r=this._map.get(e);if(r)r.value=t,n!==0&&this.touch(r,n);else{switch(r={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(!!t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}values(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}entries(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return r}[(lme=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==1&&t!==2)){if(t===1){if(e===this._head)return;const n=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(n.previous=r,r.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===2){if(e===this._tail)return;const n=e.next,r=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=r,r.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class h1 extends Ztt{constructor(e,t=1){super();this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}const cme=typeof Buffer!="undefined";let GK;class D5{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return cme&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new D5(e)}toString(){return cme?this.buffer.toString():(GK||(GK=new TextDecoder),GK.decode(this.buffer))}}function eit(i,e){return i[e+0]<<0>>>0|i[e+1]<<8>>>0}function tit(i,e,t){i[t+0]=e&255,e=e>>>8,i[t+1]=e&255}function gg(i,e){return i[e]*Math.pow(2,24)+i[e+1]*Math.pow(2,16)+i[e+2]*Math.pow(2,8)+i[e+3]}function pg(i,e,t){i[t+3]=e,e=e>>>8,i[t+2]=e,e=e>>>8,i[t+1]=e,e=e>>>8,i[t]=e}function ume(i,e){return i[e]}function dme(i,e,t){i[t]=e}function QK(i){let e=JSON.parse(i);return e=qK(e),e}function qK(i,e=0){if(!i||e>200)return i;if(typeof i=="object"){switch(i.$mid){case 1:return Di.revive(i);case 2:return new RegExp(i.source,i.flags)}if(i instanceof D5||i instanceof Uint8Array)return i;if(Array.isArray(i))for(let t=0;t<i.length;++t)i[t]=qK(i[t],e+1);else for(const t in i)Object.hasOwnProperty.call(i,t)&&(i[t]=qK(i[t],e+1))}return i}function f1(i){return i===47||i===92}function hme(i){return i.replace(/[\\/]/g,Co.sep)}function iit(i){return i.indexOf("/")===-1&&(i=hme(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}function fme(i,e=Co.sep){if(!i)return"";const t=i.length,n=i.charCodeAt(0);if(f1(n)){if(f1(i.charCodeAt(1))&&!f1(i.charCodeAt(2))){let s=3;const o=s;for(;s<t&&!f1(i.charCodeAt(s));s++);if(o!==s&&!f1(i.charCodeAt(s+1))){for(s+=1;s<t;s++)if(f1(i.charCodeAt(s)))return i.slice(0,s+1).replace(/[\\/]/g,e)}}return e}else if(gme(n)&&i.charCodeAt(1)===58)return f1(i.charCodeAt(2))?i.slice(0,2)+e:i.slice(0,2);let r=i.indexOf("://");if(r!==-1){for(r+=3;r<t;r++)if(f1(i.charCodeAt(r)))return i.slice(0,r+1)}return""}function YK(i,e,t,n=jp){if(i===e)return!0;if(!i||!e||e.length>i.length)return!1;if(t){if(!jK(i,e))return!1;if(e.length===i.length)return!0;let s=e.length;return e.charAt(e.length-1)===n&&s--,i.charAt(s)===n}return e.charAt(e.length-1)!==n&&(e+=n),i.indexOf(e)===0}function gme(i){return i>=65&&i<=90||i>=97&&i<=122}function nit(i){const e=Oz(i);return Ba?i.length>3?!1:pme(e)&&(i.length===2||e.charCodeAt(2)===92):e===Co.sep}function pme(i,e){return(e!==void 0?e:Ba)?gme(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}function qp(i){return u5(i,!0)}class rit{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:Gk(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t?!0:!e||!t?!1:this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,n=!1){if(e.scheme===t.scheme){if(e.scheme===rn.file)return YK(qp(e),qp(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(Cme(e.authority,t.authority))return YK(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return Di.joinPath(e,...t)}basenameOrAuthority(e){return _h(e)||e.authority}basename(e){return Co.basename(e.path)}extname(e){return Co.extname(e.path)}dirname(e){if(e.path.length===0)return e;let t;return e.scheme===rn.file?t=Di.file(wpe(qp(e))).path:(t=Co.dirname(e.path),e.authority&&t.length&&t.charCodeAt(0)!==47&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return e.scheme===rn.file?t=Di.file(Oz(qp(e))).path:t=Co.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!Cme(e.authority,t.authority))return;if(e.scheme===rn.file){const s=Spe(qp(e),qp(t));return Ba?hme(s):s}let n=e.path||"/",r=t.path||"/";if(this._ignorePathCasing(e)){let s=0;for(const o=Math.min(n.length,r.length);s<o&&!(n.charCodeAt(s)!==r.charCodeAt(s)&&n.charAt(s).toLowerCase()!==r.charAt(s).toLowerCase());s++);n=r.substr(0,s)+n.substr(s)}return Co.relative(n,r)}resolvePath(e,t){if(e.scheme===rn.file){const n=Di.file(Wet(qp(e),t));return e.with({authority:n.authority,path:n.path})}return t=iit(t),e.with({path:Co.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&e.path[0]==="/"}isEqualAuthority(e,t){return e===t||e!==void 0&&t!==void 0&&cE(e,t)}hasTrailingPathSeparator(e,t=jp){if(e.scheme===rn.file){const n=qp(e);return n.length>fme(n).length&&n[n.length-1]===t}else{const n=e.path;return n.length>1&&n.charCodeAt(n.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=jp){return yme(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=jp){let n=!1;if(e.scheme===rn.file){const r=qp(e);n=r!==void 0&&r.length===fme(r).length&&r[r.length-1]===t}else{t="/";const r=e.path;n=r.length===1&&r.charCodeAt(r.length-1)===47}return!n&&!yme(e,t)?e.with({path:e.path+"/"}):e}}const Gr=new rit(()=>!1),mme=Gr.isEqual.bind(Gr);Gr.isEqualOrParent.bind(Gr),Gr.getComparisonKey.bind(Gr);const _me=Gr.basenameOrAuthority.bind(Gr),_h=Gr.basename.bind(Gr),sit=Gr.extname.bind(Gr),XK=Gr.dirname.bind(Gr),oit=Gr.joinPath.bind(Gr),ait=Gr.normalizePath.bind(Gr);Gr.relativePath.bind(Gr);const vme=Gr.resolvePath.bind(Gr);Gr.isAbsolutePath.bind(Gr);const Cme=Gr.isEqualAuthority.bind(Gr),yme=Gr.hasTrailingPathSeparator.bind(Gr);Gr.removeTrailingPathSeparator.bind(Gr),Gr.addTrailingPathSeparator.bind(Gr);var g1;(function(i){i.META_DATA_LABEL="label",i.META_DATA_DESCRIPTION="description",i.META_DATA_SIZE="size",i.META_DATA_MIME="mime";function e(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach(o=>{const[a,l]=o.split(":");a&&l&&n.set(a,l)});const s=t.path.substring(0,t.path.indexOf(";"));return s&&n.set(i.META_DATA_MIME,s),n}i.parseMetaData=e})(g1||(g1={}));const yo=jn("commandService"),Mn=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Ve,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(i,e){if(!i)throw new Error("invalid command");if(typeof i=="string"){if(!e)throw new Error("invalid command");return this.registerCommand({id:i,handler:e})}if(i.description){const o=[];for(let l of i.description.args)o.push(l.constraint);const a=i.handler;i.handler=function(l,...c){return NZe(c,o),a(l,...c)}}const{id:t}=i;let n=this._commands.get(t);n||(n=new Td,this._commands.set(t,n));let r=n.unshift(i),s=An(()=>{r();const o=this._commands.get(t);(o==null?void 0:o.isEmpty())&&this._commands.delete(t)});return this._onDidRegisterCommand.fire(t),s}registerCommandAlias(i,e){return Mn.registerCommand(i,(t,...n)=>t.get(yo).executeCommand(e,...n))}getCommand(i){const e=this._commands.get(i);if(!(!e||e.isEmpty()))return Pn.first(e)}getCommands(){const i=new Map;for(const e of this._commands.keys()){const t=this.getCommand(e);t&&i.set(e,t)}return i}};Mn.registerCommand("noop",()=>{});var k5;(function(i){i[i.API=0]="API",i[i.USER=1]="USER"})(k5||(k5={}));var bme=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})};const vh=jn("openerService"),lit=Object.freeze({_serviceBrand:void 0,registerOpener(){return lt.None},registerValidator(){return lt.None},registerExternalUriResolver(){return lt.None},setDefaultExternalOpener(){},registerExternalOpener(){return lt.None},open(){return bme(this,void 0,void 0,function*(){return!1})},resolveExternalUri(i){return bme(this,void 0,void 0,function*(){return{resolved:i,dispose(){}}})}});function Ame(i,e){return Di.isUri(i)?cE(i.scheme,e):jK(i,e+":")}function Sme(i,...e){return e.some(t=>Ame(i,t))}var JK=globalThis&&globalThis.__decorate||function(i,e,t,n){var r=arguments.length,s=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(o=i[a])&&(s=(r<3?o(s):r>3?o(e,t,s):o(e,t))||s);return r>3&&s&&Object.defineProperty(e,t,s),s},L5=globalThis&&globalThis.__param||function(i,e){return function(t,n){e(t,n,i)}},Vy=globalThis&&globalThis.__awaiter||function(i,e,t,n){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?s(u.value):r(u.value).then(a,l)}c((n=n.apply(i,e||[])).next())})};let ZK=class{constructor(e){this._commandService=e}open(e,t){return Vy(this,void 0,void 0,function*(){if(!Ame(e,rn.command))return!1;if(!(t==null?void 0:t.allowCommands))return!0;typeof e=="string"&&(e=Di.parse(e));let n=[];try{n=QK(decodeURIComponent(e.query))}catch{try{n=QK(e.query)}catch{}}return Array.isArray(n)||(n=[n]),yield this._commandService.executeCommand(e.path,...n),!0})}};ZK=JK([L5(0,yo)],ZK);let eG=class{constructor(e){this._editorService=e}open(e,t){return Vy(this,void 0,void 0,function*(){typeof e=="string"&&(e=Di.parse(e));let n;const r=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment);return r&&(n={startLineNumber:parseInt(r[1]),startColumn:r[2]?parseInt(r[2]):1},e=e.with({fragment:""})),e.scheme===rn.file&&(e=ait(e)),yield this._editorService.openCodeEditor({resource:e,options:Object.assign({selection:n,context:(t==null?void 0:t.fromUserGesture)?k5.USER:k5.API},t==null?void 0:t.editorOptions)},this._editorService.getFocusedCodeEditor(),t==null?void 0:t.openToSide),!0})}};eG=JK([L5(0,Cr)],eG);let tG=class{constructor(e,t){this._openers=new Td,this._validators=new Td,this._resolvers=new Td,this._resolvedUriTargets=new rc(n=>n.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new Td,this._defaultExternalOpener={openExternal:n=>Vy(this,void 0,void 0,function*(){return Sme(n,rn.http,rn.https)?Zpe(n):window.location.href=n,!0})},this._openers.push({open:(n,r)=>Vy(this,void 0,void 0,function*(){return(r==null?void 0:r.openExternal)||Sme(n,rn.mailto,rn.http,rn.https,rn.vsls)?(yield this._doOpenExternal(n,r),!0):!1})}),this._openers.push(new ZK(t)),this._openers.push(new eG(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var n;return Vy(this,void 0,void 0,function*(){const r=typeof e=="string"?Di.parse(e):e,s=(n=this._resolvedUriTargets.get(r))!==null&&n!==void 0?n:e;for(const o of this._validators)if(!(yield o.shouldOpen(s)))return!1;for(const o of this._openers)if(yield o.open(e,t))return!0;return!1})}resolveExternalUri(e,t){return Vy(this,void 0,void 0,function*(){for(const n of this._resolvers)try{const r=yield n.resolveExternalUri(e,t);if(r)return this._resolvedUriTargets.has(r.resolved)||this._resolvedUriTargets.set(r.resolved,e),r}catch{}throw new Error("Could not resolve external URI: "+e.toString())})}_doOpenExternal(e,t){return Vy(this,void 0,void 0,function*(){const n=typeof e=="string"?Di.parse(e):e;let r;try{r=(yield this.resolveExternalUri(n,t)).resolved}catch{r=n}let s;if(typeof e=="string"&&n.toString()===r.toString()?s=e:s=encodeURI(r.toString(!0)),t==null?void 0:t.allowContributedOpeners){const o=typeof(t==null?void 0:t.allowContributedOpeners)=="string"?t==null?void 0:t.allowContributedOpeners:void 0;for(const a of this._externalOpeners)if(yield a.openExternal(s,{sourceUri:n,preferredOpenerId:o},Cn.None))return!0}return this._defaultExternalOpener.openExternal(s,{sourceUri:n},Cn.None)})}dispose(){this._validators.clear()}};tG=JK([L5(0,Cr),L5(1,yo)],tG);function R5(i,e){if(!i)throw new Error(e?`Assertion failed (${e})`:"Assertion Failed")}const cit={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class uit extends lt{constructor(e,t={}){super();this._onDidUpdate=this._register(new Ve),this._editor=e,this._options=Pp(t,cit,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(n=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(n=>{this.revealFirst=!0})),this._init()}_init(){!!this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(n=>{this.ranges.push({rhs:!0,range:new de(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new de(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new de(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,n)=>de.compareRangesUsingStarts(t.range,n.range)),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,n=this._editor.getPosition();if(!n){this.nextIdx=0;return}for(let r=0,s=this.ranges.length;r<s&&!t;r++){let o=this.ranges[r].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=r+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}_move(e,t){if(R5(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;this.nextIdx===-1?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let r=n.range.getStartPosition();this._editor.setPosition(r),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}const H_=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new Ve,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(i){i=Math.min(Math.max(-5,i),20),this._zoomLevel!==i&&(this._zoomLevel=i,this._onDidChangeZoomLevel.fire(this._zoomLevel))}},dit=vn?1.5:1.35,iG=8;class jy{constructor(e){this._bareFontInfoBrand=void 0,this.zoomLevel=e.zoomLevel,this.pixelRatio=e.pixelRatio,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=e.lineHeight|0,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n,r){const s=e.get(42),o=e.get(46),a=e.get(45),l=e.get(44),c=e.get(58),u=e.get(55);return jy._create(s,o,a,l,c,u,t,n,r)}static _create(e,t,n,r,s,o,a,l,c){s===0?s=dit*n:s<iG&&(s=s*n),s=Math.round(s),s<iG&&(s=iG);const u=1+(c?0:H_.getZoomLevel()*.1);return n*=u,s*=u,new jy({zoomLevel:a,pixelRatio:l,fontFamily:e,fontWeight:t,fontSize:n,fontFeatureSettings:r,lineHeight:s,letterSpacing:o})}getId(){return this.zoomLevel+"-"+this.pixelRatio+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(e){const t=jy._wrapInQuotes(this.fontFamily);return e&&this.fontFamily!==e?`${t}, ${e}`:t}static _wrapInQuotes(e){return/[,"']/.test(e)?e:/[+ ]/.test(e)?`"${e}"`:e}}const hit=1;class nG extends jy{constructor(e,t){super(e);this._editorStylingBrand=void 0,this.version=hit,this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}const qk={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"};var Fu;(function(i){i[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full"})(Fu||(Fu={}));var Uu;(function(i){i[i.Inline=1]="Inline",i[i.Gutter=2]="Gutter"})(Uu||(Uu={}));class N5{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,e.tabSize|0),this.indentSize=e.tabSize|0,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=e.defaultEOL|0,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&ff(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class Yk{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}var $y;(function(i){i[i.Disabled=0]="Disabled",i[i.EnabledForActive=1]="EnabledForActive",i[i.Enabled=2]="Enabled"})($y||($y={}));class gE{constructor(e,t,n){this.visibleColumn=e,this.className=t,this.horizontalLine=n}}class rG{constructor(e,t){this.top=e,this.endColumn=t}}class sG{constructor(e,t,n,r,s,o){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=s,this._isTracked=o}}class fit{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function wme(i){return O5(i,0)}function O5(i,e){switch(typeof i){case"object":return i===null?V_(349,e):Array.isArray(i)?pit(i,e):mit(i,e);case"string":return oG(i,e);case"boolean":return git(i,e);case"number":return V_(i,e);case"undefined":return V_(937,e);default:return V_(617,e)}}function V_(i,e){return(e<<5)-e+i|0}function git(i,e){return V_(i?433:863,e)}function oG(i,e){e=V_(149417,e);for(let t=0,n=i.length;t<n;t++)e=V_(i.charCodeAt(t),e);return e}function pit(i,e){return e=V_(104579,e),i.reduce((t,n)=>O5(n,t),e)}function mit(i,e){return e=V_(181387,e),Object.keys(i).sort().reduce((t,n)=>(t=oG(n,t),O5(i[n],t)),e)}function aG(i,e,t=32){const n=t-e,r=~((1<<n)-1);return(i<<e|(r&i)>>>n)>>>0}function Eme(i,e=0,t=i.byteLength,n=0){for(let r=0;r<t;r++)i[e+r]=n}function _it(i,e,t="0"){for(;i.length<e;)i=t+i;return i}function Xk(i,e=32){return i instanceof ArrayBuffer?Array.from(new Uint8Array(i)).map(t=>t.toString(16).padStart(2,"0")).join(""):_it((i>>>0).toString(16),e/4)}class P5{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(t===0)return;const n=this._buff;let r=this._buffLen,s=this._leftoverHighSurrogate,o,a;for(s!==0?(o=s,a=-1,s=0):(o=e.charCodeAt(0),a=0);;){let l=o;if(na(o))if(a+1<t){const c=e.charCodeAt(a+1);dE(c)?(a++,l=$K(o,c)):l=65533}else{s=o;break}else dE(o)&&(l=65533);if(r=this._push(n,r,l),a++,a<t)o=e.charCodeAt(a);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(n&1984)>>>6,e[t++]=128|(n&63)>>>0):n<65536?(e[t++]=224|(n&61440)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0):(e[t++]=240|(n&1835008)>>>18,e[t++]=128|(n&258048)>>>12,e[t++]=128|(n&4032)>>>6,e[t++]=128|(n&63)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64+0],e[1]=e[64+1],e[2]=e[64+2]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Xk(this._h0)+Xk(this._h1)+Xk(this._h2)+Xk(this._h3)+Xk(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Eme(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Eme(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=P5._bigBlock32,t=this._buffDV;for(let d=0;d<64;d+=4)e.setUint32(d,t.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)e.setUint32(d,aG(e.getUint32(d-12,!1)^e.getUint32(d-32,!1)^e.getUint32(d-56,!1)^e.getUint32(d-64,!1),1),!1);let n=this._h0,r=this._h1,s=this._h2,o=this._h3,a=this._h4,l,c,u;for(let d=0;d<80;d++)d<20?(l=r&s|~r&o,c=1518500249):d<40?(l=r^s^o,c=1859775393):d<60?(l=r&s|r&o|s&o,c=2400959708):(l=r^s^o,c=3395469782),u=aG(n,5)+l+a+c+e.getUint32(d*4,!1)&4294967295,a=o,o=s,s=aG(r,30),r=n,n=u;this._h0=this._h0+n&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+a&4294967295}}P5._bigBlock32=new DataView(new ArrayBuffer(320));function mf(i,e,t){return Math.min(Math.max(i,e),t)}class vit{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}get value(){return this._val}}const lG="**",Ime="/",M5="[/\\\\]",B5="[^/\\\\]",Cit=/\//g;function Tme(i){switch(i){case 0:return"";case 1:return`${B5}*?`;default:return`(?:${M5}|${B5}+${M5}|${M5}${B5}+)*?`}}function xme(i,e){if(!i)return[];const t=[];let n=!1,r=!1,s="";for(const o of i){switch(o){case e:if(!n&&!r){t.push(s),s="";continue}break;case"{":n=!0;break;case"}":n=!1;break;case"[":r=!0;break;case"]":r=!1;break}s+=o}return s&&t.push(s),t}function Dme(i){if(!i)return"";let e="";const t=xme(i,Ime);if(t.every(n=>n===lG))e=".*";else{let n=!1;t.forEach((r,s)=>{if(r===lG){n||(e+=Tme(2),n=!0);return}let o=!1,a="",l=!1,c="";for(const u of r){if(u!=="}"&&o){a+=u;continue}if(l&&(u!=="]"||!c)){let d;u==="-"?d=u:(u==="^"||u==="!")&&!c?d="^":u===Ime?d="":d=mh(u),c+=d;continue}switch(u){case"{":o=!0;continue;case"[":l=!0;continue;case"}":e+=`(?:${xme(a,",").map(g=>Dme(g)).join("|")})`,o=!1,a="";break;case"]":e+="["+c+"]",l=!1,c="";break;case"?":e+=B5;continue;case"*":e+=Tme(1);continue;default:e+=mh(u)}}s<t.length-1&&(t[s+1]!==lG||s+2<t.length)&&(e+=M5),n=!1})}return e}const yit=/^\*\*\/\*\.[\w\.-]+$/,bit=/^\*\*\/([\w\.-]+)\/?$/,Ait=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,Sit=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,wit=/^\*\*((\/[\w\.-]+)+)\/?$/,Eit=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,kme=new h1(1e4),Lme=function(){return!1},Yp=function(){return null};function cG(i,e){if(!i)return Yp;let t;typeof i!="string"?t=i.pattern:t=i,t=t.trim();const n=`${t}_${!!e.trimForExclusions}`;let r=kme.get(n);if(r)return Rme(r,i);let s;if(yit.test(t)){const o=t.substr(4);r=function(a,l){return typeof a=="string"&&a.endsWith(o)?t:null}}else(s=bit.exec(uG(t,e)))?r=Iit(s[1],t):(e.trimForExclusions?Sit:Ait).test(t)?r=Tit(t,e):(s=wit.exec(uG(t,e)))?r=Nme(s[1].substr(1),t,!0):(s=Eit.exec(uG(t,e)))?r=Nme(s[1],t,!1):r=xit(t);return kme.set(n,r),Rme(r,i)}function Rme(i,e){return typeof e=="string"?i:function(t,n){return YK(t,e.base)?i(Spe(e.base,t),n):null}}function uG(i,e){return e.trimForExclusions&&i.endsWith("/**")?i.substr(0,i.length-2):i}function Iit(i,e){const t=`/${i}`,n=`\\${i}`,r=function(o,a){return typeof o!="string"?null:a?a===i?e:null:o===i||o.endsWith(t)||o.endsWith(n)?e:null},s=[i];return r.basenames=s,r.patterns=[e],r.allBasenames=s,r}function Tit(i,e){const t=Pme(i.slice(1,-1).split(",").map(a=>cG(a,e)).filter(a=>a!==Yp),i),n=t.length;if(!n)return Yp;if(n===1)return t[0];const r=function(a,l){for(let c=0,u=t.length;c<u;c++)if(t[c](a,l))return i;return null},s=t.find(a=>!!a.allBasenames);s&&(r.allBasenames=s.allBasenames);const o=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return o.length&&(r.allPaths=o),r}function Nme(i,e,t){const n=jp===Co.sep,r=n?i:i.replace(Cit,jp),s=jp+r,o=Co.sep+i,a=t?function(l,c){return typeof l=="string"&&(l===r||l.endsWith(s)||!n&&(l===i||l.endsWith(o)))?e:null}:function(l,c){return typeof l=="string"&&(l===r||!n&&l===i)?e:null};return a.allPaths=[(t?"*/":"./")+i],a}function xit(i){try{const e=new RegExp(`^${Dme(i)}$`);return function(t){return e.lastIndex=0,typeof t=="string"&&e.test(t)?i:null}}catch{return Yp}}function Dit(i,e,t){return!i||typeof e!="string"?!1:Ome(i)(e,void 0,t)}function Ome(i,e={}){if(!i)return Lme;if(typeof i=="string"||kit(i)){const t=cG(i,e);if(t===Yp)return Lme;const n=function(r,s){return!!t(r,s)};return t.allBasenames&&(n.allBasenames=t.allBasenames),t.allPaths&&(n.allPaths=t.allPaths),n}return Lit(i,e)}function kit(i){const e=i;return e&&typeof e.base=="string"&&typeof e.pattern=="string"}function Lit(i,e){const t=Pme(Object.getOwnPropertyNames(i).map(a=>Rit(a,i[a],e)).filter(a=>a!==Yp)),n=t.length;if(!n)return Yp;if(!t.some(a=>!!a.requiresSiblings)){if(n===1)return t[0];const a=function(u,d){for(let h=0,g=t.length;h<g;h++){const m=t[h](u,d);if(m)return m}return null},l=t.find(u=>!!u.allBasenames);l&&(a.allBasenames=l.allBasenames);const c=t.reduce((u,d)=>d.allPaths?u.concat(d.allPaths):u,[]);return c.length&&(a.allPaths=c),a}const r=function(a,l,c){let u;for(let d=0,h=t.length;d<h;d++){const g=t[d];g.requiresSiblings&&c&&(l||(l=Py(a)),u||(u=l.substr(0,l.length-Het(a).length)));const m=g(a,l,u,c);if(m)return m}return null},s=t.find(a=>!!a.allBasenames);s&&(r.allBasenames=s.allBasenames);const o=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return o.length&&(r.allPaths=o),r}function Rit(i,e,t){if(e===!1)return Yp;const n=cG(i,t);if(n===Yp)return Yp;if(typeof e=="boolean")return n;if(e){const r=e.when;if(typeof r=="string"){const s=(o,a,l,c)=>{if(!c||!n(o,a))return null;const u=r.replace("$(basename)",l),d=c(u);return att(d)?d.then(h=>h?i:null):d?i:null};return s.requiresSiblings=!0,s}}return n}function Pme(i,e){const t=i.filter(a=>!!a.basenames);if(t.length<2)return i;const n=t.reduce((a,l)=>{const c=l.basenames;return c?a.concat(c):a},[]);let r;if(e){r=[];for(let a=0,l=n.length;a<l;a++)r.push(e)}else r=t.reduce((a,l)=>{const c=l.patterns;return c?a.concat(c):a},[]);const s=function(a,l){if(typeof a!="string")return null;if(!l){let u;for(u=a.length;u>0;u--){const d=a.charCodeAt(u-1);if(d===47||d===92)break}l=a.substr(u)}const c=n.indexOf(l);return c!==-1?r[c]:null};s.basenames=n,s.patterns=r,s.allBasenames=n;const o=i.filter(a=>!a.basenames);return o.push(s),o}function Mme(i,e,t,n){if(Array.isArray(i)){let r=0;for(const s of i){const o=Mme(s,e,t,n);if(o===10)return o;o>r&&(r=o)}return r}else{if(typeof i=="string")return n?i==="*"?5:i===t?10:0:0;if(i){const{language:r,pattern:s,scheme:o,hasAccessToAllModels:a}=i;if(!n&&!a)return 0;let l=0;if(o)if(o===e.scheme)l=10;else if(o==="*")l=5;else return 0;if(r)if(r===t)l=10;else if(r==="*")l=Math.max(l,5);else return 0;if(s){let c;if(typeof s=="string"?c=s:c=Object.assign(Object.assign({},s),{base:Oz(s.base)}),c===e.fsPath||Dit(c,e.fsPath))l=10;else return 0}return l}else return 0}}const ra=jn("modelService");function Nit(i){return!i.isTooLargeForSyncing()&&!i.isForSimpleWidget}function Bme(i){return typeof i=="string"?!1:Array.isArray(i)?i.every(Bme):!!i.exclusive}class no{constructor(){this._clock=0,this._entries=[],this._onDidChange=new Ve}get onDidChange(){return this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),An(()=>{if(n){let r=this._entries.indexOf(n);r>=0&&(this._entries.splice(r,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let n of this._entries)n._score>0&&t.push(n.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,n=>t.push(n.provider)),t}orderedGroups(e){const t=[];let n,r;return this._orderedForEach(e,s=>{n&&r===s._score?n.push(s.provider):(r=s._score,n=[s.provider],t.push(n))}),t}_orderedForEach(e,t){if(!!e){this._updateScores(e);for(const n of this._entries)n._score>0&&t(n)}}_updateScores(e){let t={uri:e.uri.toString(),language:e.getLanguageId()};if(!(this._lastCandidate&&this._lastCandidate.language===t.language&&this._lastCandidate.uri===t.uri)){this._lastCandidate=t;for(let n of this._entries)if(n._score=Mme(n.selector,e.uri,e.getLanguageId(),Nit(e)),Bme(n.selector)&&n._score>0){for(let r of this._entries)r._score=0;n._score=1e3;break}this._entries.sort(no._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}const Fme=new WeakMap;let Oit=0;function Pit(i){let e=Fme.get(i);return e===void 0&&(e=++Oit,Fme.set(i,e)),e}class F5{constructor(e,t,n=Number.MAX_SAFE_INTEGER){this._registry=e,this.min=t,this.max=n,this._cache=new h1(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((t,n)=>O5(Pit(n),t),0)}_clamp(e){return e===void 0?this.min:Math.min(this.max,Math.max(this.min,Math.floor(e*1.3)))}get(e){const t=this._key(e),n=this._cache.get(t);return this._clamp(n==null?void 0:n.value)}update(e,t){const n=this._key(e);let r=this._cache.get(n);return r||(r=new vit,this._cache.set(n,r)),r.update(t),this.get(e)}}class Mit{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new Ve,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),An(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let n=null,r=!1;return this._promises.set(e,t.then(s=>{this._promises.delete(e),!(r||!s)&&(n=this.register(e,s))})),An(()=>{r=!0,n&&n.dispose()})}getPromise(e){const t=this.get(e);if(t)return Promise.resolve(t);const n=this._promises.get(e);return n?n.then(r=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Bit{constructor(){this._icons=new Map,this._onDidRegister=new Ve}add(e){const t=this._icons.get(e.id);t?e.description?t.description=e.description:console.error(`Duplicate registration of codicon ${e.id}`):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const Ume=new Bit,U5=Ume;function Fit(i){return i?i.replace(/\$\((.*?)\)/g,(e,t)=>` ${t} `).trim():""}class Fe{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,Ume.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}Fe.add=new Fe("add",{fontCharacter:"\\ea60"}),Fe.lightBulb=new Fe("light-bulb",{fontCharacter:"\\ea61"}),Fe.warning=new Fe("warning",{fontCharacter:"\\ea6c"}),Fe.info=new Fe("info",{fontCharacter:"\\ea74"}),Fe.close=new Fe("close",{fontCharacter:"\\ea76"}),Fe.sync=new Fe("sync",{fontCharacter:"\\ea77"}),Fe.symbolFolder=new Fe("symbol-folder",{fontCharacter:"\\ea83"}),Fe.symbolEvent=new Fe("symbol-event",{fontCharacter:"\\ea86"}),Fe.error=new Fe("error",{fontCharacter:"\\ea87"}),Fe.symbolVariable=new Fe("symbol-variable",{fontCharacter:"\\ea88"}),Fe.symbolArray=new Fe("symbol-array",{fontCharacter:"\\ea8a"}),Fe.symbolModule=new Fe("symbol-module",{fontCharacter:"\\ea8b"}),Fe.symbolPackage=new Fe("symbol-package",{fontCharacter:"\\ea8b"}),Fe.symbolNamespace=new Fe("symbol-namespace",{fontCharacter:"\\ea8b"}),Fe.symbolObject=new Fe("symbol-object",{fontCharacter:"\\ea8b"}),Fe.symbolMethod=new Fe("symbol-method",{fontCharacter:"\\ea8c"}),Fe.symbolFunction=new Fe("symbol-function",{fontCharacter:"\\ea8c"}),Fe.symbolConstructor=new Fe("symbol-constructor",{fontCharacter:"\\ea8c"}),Fe.symbolBoolean=new Fe("symbol-boolean",{fontCharacter:"\\ea8f"}),Fe.symbolNull=new Fe("symbol-null",{fontCharacter:"\\ea8f"}),Fe.symbolNumber=new Fe("symbol-number",{fontCharacter:"\\ea90"}),Fe.symbolStruct=new Fe("symbol-struct",{fontCharacter:"\\ea91"}),Fe.symbolTypeParameter=new Fe("symbol-type-parameter",{fontCharacter:"\\ea92"}),Fe.symbolKey=new Fe("symbol-key",{fontCharacter:"\\ea93"}),Fe.symbolText=new Fe("symbol-text",{fontCharacter:"\\ea93"}),Fe.symbolReference=new Fe("symbol-reference",{fontCharacter:"\\ea94"}),Fe.symbolEnum=new Fe("symbol-enum",{fontCharacter:"\\ea95"}),Fe.symbolValue=new Fe("symbol-value",{fontCharacter:"\\ea95"}),Fe.symbolUnit=new Fe("symbol-unit",{fontCharacter:"\\ea96"}),Fe.arrowDown=new Fe("arrow-down",{fontCharacter:"\\ea9a"}),Fe.arrowLeft=new Fe("arrow-left",{fontCharacter:"\\ea9b"}),Fe.arrowUp=new Fe("arrow-up",{fontCharacter:"\\eaa1"}),Fe.caseSensitive=new Fe("case-sensitive",{fontCharacter:"\\eab1"}),Fe.check=new Fe("check",{fontCharacter:"\\eab2"}),Fe.chevronDown=new Fe("chevron-down",{fontCharacter:"\\eab4"}),Fe.chevronRight=new Fe("chevron-right",{fontCharacter:"\\eab6"}),Fe.chevronUp=new Fe("chevron-up",{fontCharacter:"\\eab7"}),Fe.lightbulbAutofix=new Fe("lightbulb-autofix",{fontCharacter:"\\eb13"}),Fe.loading=new Fe("loading",{fontCharacter:"\\eb19"}),Fe.preserveCase=new Fe("preserve-case",{fontCharacter:"\\eb2e"}),Fe.regex=new Fe("regex",{fontCharacter:"\\eb38"}),Fe.remove=new Fe("remove",{fontCharacter:"\\eb3b"}),Fe.replaceAll=new Fe("replace-all",{fontCharacter:"\\eb3c"}),Fe.replace=new Fe("replace",{fontCharacter:"\\eb3d"}),Fe.splitHorizontal=new Fe("split-horizontal",{fontCharacter:"\\eb56"}),Fe.splitVertical=new Fe("split-vertical",{fontCharacter:"\\eb57"}),Fe.symbolClass=new Fe("symbol-class",{fontCharacter:"\\eb5b"}),Fe.symbolColor=new Fe("symbol-color",{fontCharacter:"\\eb5c"}),Fe.symbolConstant=new Fe("symbol-constant",{fontCharacter:"\\eb5d"}),Fe.symbolEnumMember=new Fe("symbol-enum-member",{fontCharacter:"\\eb5e"}),Fe.symbolField=new Fe("symbol-field",{fontCharacter:"\\eb5f"}),Fe.symbolFile=new Fe("symbol-file",{fontCharacter:"\\eb60"}),Fe.symbolInterface=new Fe("symbol-interface",{fontCharacter:"\\eb61"}),Fe.symbolKeyword=new Fe("symbol-keyword",{fontCharacter:"\\eb62"}),Fe.symbolOperator=new Fe("symbol-operator",{fontCharacter:"\\eb64"}),Fe.symbolProperty=new Fe("symbol-property",{fontCharacter:"\\eb65"}),Fe.symbolSnippet=new Fe("symbol-snippet",{fontCharacter:"\\eb66"}),Fe.triangleDown=new Fe("triangle-down",{fontCharacter:"\\eb6e"}),Fe.triangleLeft=new Fe("triangle-left",{fontCharacter:"\\eb6f"}),Fe.triangleRight=new Fe("triangle-right",{fontCharacter:"\\eb70"}),Fe.triangleUp=new Fe("triangle-up",{fontCharacter:"\\eb71"}),Fe.wholeWord=new Fe("whole-word",{fontCharacter:"\\eb7e"}),Fe.listFilter=new Fe("list-filter",{fontCharacter:"\\eb83"}),Fe.listSelection=new Fe("list-selection",{fontCharacter:"\\eb85"}),Fe.selection=new Fe("selection",{fontCharacter:"\\eb85"}),Fe.symbolString=new Fe("symbol-string",{fontCharacter:"\\eb8d"}),Fe.treeItemExpanded=new Fe("tree-item-expanded",Fe.chevronDown.definition),Fe.treeFilterOnTypeOn=new Fe("tree-filter-on-type-on",Fe.listFilter.definition),Fe.treeFilterOnTypeOff=new Fe("tree-filter-on-type-off",Fe.listSelection.definition),Fe.treeFilterClear=new Fe("tree-filter-clear",Fe.close.definition),Fe.treeItemLoading=new Fe("tree-item-loading",Fe.loading.definition),Fe.menuSelection=new Fe("menu-selection",Fe.check.definition),Fe.menuSubmenu=new Fe("menu-submenu",Fe.chevronRight.definition),Fe.scrollbarButtonLeft=new Fe("scrollbar-button-left",Fe.triangleLeft.definition),Fe.scrollbarButtonRight=new Fe("scrollbar-button-right",Fe.triangleRight.definition),Fe.scrollbarButtonUp=new Fe("scrollbar-button-up",Fe.triangleUp.definition),Fe.scrollbarButtonDown=new Fe("scrollbar-button-down",Fe.triangleDown.definition),Fe.quickInputBack=new Fe("quick-input-back",Fe.arrowLeft.definition);var cu;(function(i){i.iconNameSegment="[A-Za-z0-9]+",i.iconNameExpression="[A-Za-z0-9-]+",i.iconModifierExpression="~[A-Za-z]+",i.iconNameCharacter="[A-Za-z0-9~-]";const e=new RegExp(`^(${i.iconNameExpression})(${i.iconModifierExpression})?$`);function t(s){if(s instanceof Fe)return["codicon","codicon-"+s.id];const o=e.exec(s.id);if(!o)return t(Fe.error);let[,a,l]=o;const c=["codicon","codicon-"+a];return l&&c.push("codicon-modifier-"+l.substr(1)),c}i.asClassNameArray=t;function n(s){return t(s).join(" ")}i.asClassName=n;function r(s){return"."+t(s).join(".")}i.asCSSSelector=r})(cu||(cu={}));class sc{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&1792)>>>8}static getFontStyle(e){return(e&14336)>>>11}static getForeground(e){return(e&8372224)>>>14}static getBackground(e){return(e&4286578688)>>>23}static getClassNameFromMetadata(e){let t=this.getForeground(e),n="mtk"+t,r=this.getFontStyle(e);return r&1&&(n+=" mtki"),r&2&&(n+=" mtkb"),r&4&&(n+=" mtku"),n}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),r=this.getFontStyle(e);let s=`color: ${t[n]};`;return r&1&&(s+="font-style: italic;"),r&2&&(s+="font-weight: bold;"),r&4&&(s+="text-decoration: underline;"),s}}const Uit=function(){let i=Object.create(null);return i[0]="symbol-method",i[1]="symbol-function",i[2]="symbol-constructor",i[3]="symbol-field",i[4]="symbol-variable",i[5]="symbol-class",i[6]="symbol-struct",i[7]="symbol-interface",i[8]="symbol-module",i[9]="symbol-property",i[10]="symbol-event",i[11]="symbol-operator",i[12]="symbol-unit",i[13]="symbol-value",i[14]="symbol-constant",i[15]="symbol-enum",i[16]="symbol-enum-member",i[17]="symbol-keyword",i[27]="symbol-snippet",i[18]="symbol-text",i[19]="symbol-color",i[20]="symbol-file",i[21]="symbol-reference",i[22]="symbol-customcolor",i[23]="symbol-folder",i[24]="symbol-type-parameter",i[25]="account",i[26]="issues",function(e){const t=i[e];let n=t&&U5.get(t);return n||(console.info("No codicon found for CompletionItemKind "+e),n=Fe.symbolProperty),n.classNames}}();let Wme=function(){let i=Object.create(null);return i.method=0,i.function=1,i.constructor=2,i.field=3,i.variable=4,i.class=5,i.struct=6,i.interface=7,i.module=8,i.property=9,i.event=10,i.operator=11,i.unit=12,i.value=13,i.constant=14,i.enum=15,i["enum-member"]=16,i.enumMember=16,i.keyword=17,i.snippet=27,i.text=18,i.color=19,i.file=20,i.reference=21,i.customcolor=22,i.folder=23,i["type-parameter"]=24,i.typeParameter=24,i.account=25,i.issue=26,function(e,t){let n=i[e];return typeof n=="undefined"&&!t&&(n=9),n}}();var Ch;(function(i){i[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit"})(Ch||(Ch={}));var Xp;(function(i){i[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange"})(Xp||(Xp={}));var Jk;(function(i){i[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write"})(Jk||(Jk={}));function Wit(i){return i&&Di.isUri(i.uri)&&de.isIRange(i.range)&&(de.isIRange(i.originSelectionRange)||de.isIRange(i.targetSelectionRange))}var dG;(function(i){const e=new Map;e.set("file",0),e.set("module",1),e.set("namespace",2),e.set("package",3),e.set("class",4),e.set("method",5),e.set("property",6),e.set("field",7),e.set("constructor",8),e.set("enum",9),e.set("interface",10),e.set("function",11),e.set("variable",12),e.set("constant",13),e.set("string",14),e.set("number",15),e.set("boolean",16),e.set("array",17),e.set("object",18),e.set("key",19),e.set("null",20),e.set("enum-member",21),e.set("struct",22),e.set("event",23),e.set("operator",24),e.set("type-parameter",25);const t=new Map;t.set(0,"file"),t.set(1,"module"),t.set(2,"namespace"),t.set(3,"package"),t.set(4,"class"),t.set(5,"method"),t.set(6,"property"),t.set(7,"field"),t.set(8,"constructor"),t.set(9,"enum"),t.set(10,"interface"),t.set(11,"function"),t.set(12,"variable"),t.set(13,"constant"),t.set(14,"string"),t.set(15,"number"),t.set(16,"boolean"),t.set(17,"array"),t.set(18,"object"),t.set(19,"key"),t.set(20,"null"),t.set(21,"enum-member"),t.set(22,"struct"),t.set(23,"event"),t.set(24,"operator"),t.set(25,"type-parameter");function n(o){return e.get(o)}i.fromString=n;function r(o){return t.get(o)}i.toString=r;function s(o,a){const l=t.get(o);let c=l&&U5.get("symbol-"+l);return c||(console.info("No codicon found for SymbolKind "+o),c=Fe.symbolProperty),`${a?"inline":"block"} ${c.classNames}`}i.toCssClassName=s})(dG||(dG={}));class mg{constructor(e){this.value=e}}mg.Comment=new mg("comment"),mg.Imports=new mg("imports"),mg.Region=new mg("region");var W5;(function(i){i[i.Other=0]="Other",i[i.Type=1]="Type",i[i.Parameter=2]="Parameter"})(W5||(W5={}));const H5=new no,V5=new no,_g=new no,hG=new no,zy=new no,Zk=new no,_f=new no,pE=new no,j5=new no,eL=new no,$5=new no,z5=new no,K5=new no,j_=new no,p1=new no,Jp=new no,tL=new no,vg=new no,G5=new no,iL=new no,mE=new no,Q5=new no,fG=new no,_E=new no,q5=new no,Fs=new Mit;class Hit{clone(){return this}equals(e){return this===e}}const nL=new Hit,m1="vs.editor.nullMode";function Hme(i,e,t,n){return new Mz([new h5(n,"",i)],t)}function gG(i,e,t,n){let r=new Uint32Array(2);return r[0]=n,r[1]=(i<<0|0<<8|0<<11|1<<14|2<<23)>>>0,new f5(r,t===null?nL:t)}const kd=jn("editorWorkerService"),Ll=jn("modeService"),Ld=jn("textModelService"),Vit="$initialize";let Vme=!1;function pG(i){!e1||(Vme||(Vme=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(i.message))}class jit{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.method=n,this.args=r,this.type=0}}class jme{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class $it{constructor(e,t,n,r){this.vsWorker=e,this.req=t,this.eventName=n,this.arg=r,this.type=2}}class zit{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class Kit{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class Git{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t){const n=String(++this._lastSentReq);return new Promise((r,s)=>{this._pendingReplies[n]={resolve:r,reject:s},this._send(new jit(this._workerId,n,e,t))})}listen(e,t){let n=null;const r=new Ve({onFirstListenerAdd:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,r),this._send(new $it(this._workerId,n,e,t))},onLastListenerRemove:()=>{this._pendingEmitters.delete(n),this._send(new Kit(this._workerId,n)),n=null}});return r.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),t.reject(n);return}t.resolve(e.res)}_handleRequestMessage(e){let t=e.req;this._handler.handleMessage(e.method,e.args).then(r=>{this._send(new jme(this._workerId,t,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=_pe(r.detail)),this._send(new jme(this._workerId,t,void 0,_pe(r)))})}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(r=>{this._send(new zit(this._workerId,t,r))});this._pendingEvents.set(t,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let t=[];if(e.type===0)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&t.push(e.args[n]);else e.type===1&&e.res instanceof ArrayBuffer&&t.push(e.res);this._handler.sendMessage(e,t)}}class Qit extends lt{constructor(e,t,n){super();let r=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",c=>{this._protocol.handleMessage(c)},c=>{r&&r(c)})),this._protocol=new Git({sendMessage:(c,u)=>{this._worker.postMessage(c,u)},handleMessage:(c,u)=>{if(typeof n[c]!="function")return Promise.reject(new Error("Missing method "+c+" on main thread host."));try{return Promise.resolve(n[c].apply(n,u))}catch(d){return Promise.reject(d)}},handleEvent:(c,u)=>{if(zme(c)){const d=n[c].call(n,u);if(typeof d!="function")throw new Error(`Missing dynamic event ${c} on main thread host.`);return d}if($me(c)){const d=n[c];if(typeof d!="function")throw new Error(`Missing event ${c} on main thread host.`);return d}throw new Error(`Malformed event name ${c}`)}}),this._protocol.setWorkerId(this._worker.getId());let s=null;typeof cs.require!="undefined"&&typeof cs.require.getConfig=="function"?s=cs.require.getConfig():typeof cs.requirejs!="undefined"&&(s=cs.requirejs.s.contexts._.config);const o=yz(n);this._onModuleLoaded=this._protocol.sendMessage(Vit,[this._worker.getId(),JSON.parse(JSON.stringify(s)),t,o]);const a=(c,u)=>this._request(c,u),l=(c,u)=>this._protocol.listen(c,u);this._lazyProxy=new Promise((c,u)=>{r=u,this._onModuleLoaded.then(d=>{c(qit(d,a,l))},d=>{u(d),this._onError("Worker failed to load "+t,d)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,r)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,r)},r)})}_onError(e,t){console.error(e),console.info(t)}}function $me(i){return i[0]==="o"&&i[1]==="n"&&Gp(i.charCodeAt(2))}function zme(i){return/^onDynamic/.test(i)&&Gp(i.charCodeAt(9))}function qit(i,e,t){const n=o=>function(){const a=Array.prototype.slice.call(arguments,0);return e(o,a)},r=o=>function(a){return t(o,a)};let s={};for(const o of i){if(zme(o)){s[o]=r(o);continue}if($me(o)){s[o]=t(o,void 0);continue}s[o]=n(o)}return s}var mG;const Kme=(mG=window.trustedTypes)===null||mG===void 0?void 0:mG.createPolicy("defaultWorkerFactory",{createScriptURL:i=>i});function Yit(i,e){if(cs.MonacoEnvironment){if(typeof cs.MonacoEnvironment.getWorker=="function")return cs.MonacoEnvironment.getWorker(i,e);if(typeof cs.MonacoEnvironment.getWorkerUrl=="function"){const t=cs.MonacoEnvironment.getWorkerUrl(i,e);return new Worker(Kme?Kme.createScriptURL(t):t,{name:e})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function Xit(i){return typeof i.then=="function"}class Jit{constructor(e,t,n,r,s){this.id=t;const o=Yit("workerMain.js",n);Xit(o)?this.worker=o:this.worker=Promise.resolve(o),this.postMessage(e,[]),this.worker.then(a=>{a.onmessage=function(l){r(l.data)},a.onmessageerror=s,typeof a.addEventListener=="function"&&a.addEventListener("error",s)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class Y5{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let r=++Y5.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Jit(e,r,this._label||"anonymous"+r,t,s=>{pG(s),this._webWorkerFailedBeforeError=s,n(s)})}}Y5.LAST_WORKER_ID=0;var bo;(function(i){i[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent"})(bo||(bo={}));class _G{constructor(e){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++)switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4;break}}isOK(e){return(this._standardTokenMask&e)==0}shouldAutoClose(e,t){if(e.getTokenCount()===0)return!0;const n=e.findTokenIndexAtOffset(t-2),r=e.getStandardTokenType(n);return this.isOK(r)}_findNeutralCharacterInRange(e,t){for(let n=e;n<=t;n++){const r=String.fromCharCode(n);if(!this.open.includes(r)&&!this.close.includes(r))return r}return null}findNeutralCharacter(){return this._neutralCharacterSearched||(this._neutralCharacterSearched=!0,this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(48,57)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(97,122)),this._neutralCharacter||(this._neutralCharacter=this._findNeutralCharacterInRange(65,90))),this._neutralCharacter}}class Zit{constructor(e){this.autoClosingPairsOpenByStart=new Map,this.autoClosingPairsOpenByEnd=new Map,this.autoClosingPairsCloseByStart=new Map,this.autoClosingPairsCloseByEnd=new Map,this.autoClosingPairsCloseSingleChar=new Map;for(const t of e)rL(this.autoClosingPairsOpenByStart,t.open.charAt(0),t),rL(this.autoClosingPairsOpenByEnd,t.open.charAt(t.open.length-1),t),rL(this.autoClosingPairsCloseByStart,t.close.charAt(0),t),rL(this.autoClosingPairsCloseByEnd,t.close.charAt(t.close.length-1),t),t.close.length===1&&t.open.length===1&&rL(this.autoClosingPairsCloseSingleChar,t.close,t)}}function rL(i,e,t){i.has(e)?i.get(e).push(t):i.set(e,[t])}function X5(i,e){let t=i.getCount(),n=i.findTokenIndexAtOffset(e),r=i.getLanguageId(n),s=n;for(;s+1<t&&i.getLanguageId(s+1)===r;)s++;let o=n;for(;o>0&&i.getLanguageId(o-1)===r;)o--;return new ent(i,r,o,s+1,i.getStartOffset(o),i.getEndOffset(s))}class ent{constructor(e,t,n,r,s,o){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=r,this.firstCharOffset=s,this._lastCharOffset=o}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function Zp(i){return(i&7)!=0}class sL{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(t=>new _G(t)):e.brackets?this._autoClosingPairs=e.brackets.map(t=>new _G({open:t[0],close:t[1]})):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=Gme(e.colorizedBracketPairs.map(t=>[t[0],t[1]])):e.brackets?this._colorizedBracketPairs=Gme(e.brackets.map(t=>[t[0],t[1]]).filter(t=>!(t[0]==="<"&&t[1]===">"))):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new _G({open:t.open,close:t.close||""}))}this._autoCloseBefore=typeof e.autoCloseBefore=="string"?e.autoCloseBefore:sL.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}sL.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])>
|
|
338
338
|
`;function Gme(i){return i.filter(([e,t])=>e!==""&&t!=="")}let vG;function Qme(){return vG||(vG=new TextDecoder("UTF-16LE")),vG}let CG;function tnt(){return CG||(CG=new TextDecoder("UTF-16BE")),CG}let yG;function qme(){return yG||(yG=epe()?Qme():tnt()),yG}const Yme=typeof TextDecoder!="undefined";let Ky,bG;Yme?(Ky=i=>new nnt(i),bG=int):(Ky=i=>new rnt,bG=Xme);function int(i,e,t){const n=new Uint16Array(i.buffer,e,t);return t>0&&(n[0]===65279||n[0]===65534)?Xme(i,e,t):Qme().decode(n)}function Xme(i,e,t){let n=[],r=0;for(let s=0;s<t;s++){const o=eit(i,e);e+=2,n[r++]=String.fromCharCode(o)}return n.join("")}class nnt{constructor(e){this._capacity=e|0,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return this._completedStrings!==null?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(this._bufferLength===0)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return qme().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,this._completedStrings===null?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(t===0||na(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class rnt{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}class J5{constructor(e,t,n,r,s,o){this._richEditBracketBrand=void 0,this.languageId=e,this.index=t,this.open=n,this.close=r,this.forwardRegex=s,this.reversedRegex=o,this._openSet=J5._toSet(this.open),this._closeSet=J5._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const n of e)t.add(n);return t}}function snt(i){const e=i.length;i=i.map(o=>[o[0].toLowerCase(),o[1].toLowerCase()]);const t=[];for(let o=0;o<e;o++)t[o]=o;const n=(o,a)=>{const[l,c]=o,[u,d]=a;return l===u||l===d||c===u||c===d},r=(o,a)=>{const l=Math.min(o,a),c=Math.max(o,a);for(let u=0;u<e;u++)t[u]===c&&(t[u]=l)};for(let o=0;o<e;o++){const a=i[o];for(let l=o+1;l<e;l++){const c=i[l];n(a,c)&&r(t[o],t[l])}}const s=[];for(let o=0;o<e;o++){let a=[],l=[];for(let c=0;c<e;c++)if(t[c]===o){const[u,d]=i[c];a.push(u),l.push(d)}a.length>0&&s.push({open:a,close:l})}return s}class ont{constructor(e,t){this._richEditBracketsBrand=void 0;const n=snt(t);this.brackets=n.map((r,s)=>new J5(e,s,r.open,r.close,ant(r.open,r.close,n,s),lnt(r.open,r.close,n,s))),this.forwardRegex=cnt(this.brackets),this.reversedRegex=unt(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const r of this.brackets){for(const s of r.open)this.textIsBracket[s]=r,this.textIsOpenBracket[s]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,s.length);for(const s of r.close)this.textIsBracket[s]=r,this.textIsOpenBracket[s]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,s.length)}}}function Jme(i,e,t,n){for(let r=0,s=e.length;r<s;r++){if(r===t)continue;const o=e[r];for(const a of o.open)a.indexOf(i)>=0&&n.push(a);for(const a of o.close)a.indexOf(i)>=0&&n.push(a)}}function Zme(i,e){return i.length-e.length}function Z5(i){if(i.length<=1)return i;const e=[],t=new Set;for(const n of i)t.has(n)||(e.push(n),t.add(n));return e}function ant(i,e,t,n){let r=[];r=r.concat(i),r=r.concat(e);for(let s=0,o=r.length;s<o;s++)Jme(r[s],t,n,r);return r=Z5(r),r.sort(Zme),r.reverse(),eB(r)}function lnt(i,e,t,n){let r=[];r=r.concat(i),r=r.concat(e);for(let s=0,o=r.length;s<o;s++)Jme(r[s],t,n,r);return r=Z5(r),r.sort(Zme),r.reverse(),eB(r.map(AG))}function cnt(i){let e=[];for(const t of i){for(const n of t.open)e.push(n);for(const n of t.close)e.push(n)}return e=Z5(e),eB(e)}function unt(i){let e=[];for(const t of i){for(const n of t.open)e.push(n);for(const n of t.close)e.push(n)}return e=Z5(e),eB(e.map(AG))}function dnt(i){const e=/^[\w ]+$/.test(i);return i=mh(i),e?`\\b${i}\\b`:i}function eB(i){let e=`(${i.map(dnt).join(")|(")})`;return nme(e,!0)}const AG=function(){function i(n){if(Yme){const r=new Uint16Array(n.length);let s=0;for(let o=n.length-1;o>=0;o--)r[s++]=n.charCodeAt(o);return qme().decode(r)}else{let r=[],s=0;for(let o=n.length-1;o>=0;o--)r[s++]=n.charAt(o);return r.join("")}}let e=null,t=null;return function(r){return e!==r&&(e=r,t=i(e)),t}}();class vf{static _findPrevBracketInText(e,t,n,r){let s=n.match(e);if(!s)return null;let o=n.length-(s.index||0),a=s[0].length,l=r+o;return new de(t,l-a+1,t,l+1)}static findPrevBracketInRange(e,t,n,r,s){const a=AG(n).substring(n.length-s,n.length-r);return this._findPrevBracketInText(e,t,a,r)}static findNextBracketInText(e,t,n,r){let s=n.match(e);if(!s)return null;let o=s.index||0,a=s[0].length;if(a===0)return null;let l=r+o;return new de(t,l+1,t,l+1+a)}static findNextBracketInRange(e,t,n,r,s){const o=n.substring(r,s);return this.findNextBracketInText(e,t,o,r)}}class hnt{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const r=n.charAt(n.length-1);e.push(r)}return xy(e)}onElectricCharacter(e,t,n){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const r=t.findTokenIndexAtOffset(n-1);if(Zp(t.getStandardTokenType(r)))return null;const s=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,n-1)+e,a=vf.findPrevBracketInRange(s,1,o,0,o.length);if(!a)return null;const l=o.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[l])return null;const u=t.getActualLineContentBefore(a.startColumn-1);return/^\s*$/.test(u)?{matchOpenBracket:l}:null}}function tB(i){return i.global&&(i.lastIndex=0),!0}class fnt{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&tB(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&tB(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&tB(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&tB(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}class vE{constructor(e){e=e||{},e.brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(t=>{const n=vE._createOpenBracketRegExp(t[0]),r=vE._createCloseBracketRegExp(t[1]);n&&r&&this._brackets.push({open:t[0],openRegExp:n,close:t[1],closeRegExp:r})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,r){if(e>=3)for(let s=0,o=this._regExpRules.length;s<o;s++){let a=this._regExpRules[s];if([{reg:a.beforeText,text:n},{reg:a.afterText,text:r},{reg:a.previousLineText,text:t}].every(c=>c.reg?(c.reg.lastIndex=0,c.reg.test(c.text)):!0))return a.action}if(e>=2&&n.length>0&&r.length>0)for(let s=0,o=this._brackets.length;s<o;s++){let a=this._brackets[s];if(a.openRegExp.test(n)&&a.closeRegExp.test(r))return{indentAction:bo.IndentOutdent}}if(e>=2&&n.length>0){for(let s=0,o=this._brackets.length;s<o;s++)if(this._brackets[s].openRegExp.test(n))return{indentAction:bo.Indent}}return null}static _createOpenBracketRegExp(e){let t=mh(e);return/\B/.test(t.charAt(0))||(t="\\b"+t),t+="\\s*$",vE._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=mh(e);return/\B/.test(t.charAt(t.length-1))||(t=t+"\\b"),t="^\\s*"+t,vE._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(t){return Wi(t),null}}}const Qr=jn("configurationService");function e_e(i,e){const t=Object.create(null);for(let n in i)SG(t,n,i[n],e);return t}function SG(i,e,t,n){const r=e.split("."),s=r.pop();let o=i;for(let a=0;a<r.length;a++){let l=r[a],c=o[l];switch(typeof c){case"undefined":c=o[l]=Object.create(null);break;case"object":break;default:n(`Ignoring ${e} as ${r.slice(0,a+1).join(".")} is ${JSON.stringify(c)}`);return}o=c}if(typeof o=="object"&&o!==null)try{o[s]=t}catch{n(`Ignoring ${e} as ${r.join(".")} is ${JSON.stringify(o)}`)}else n(`Ignoring ${e} as ${r.join(".")} is ${JSON.stringify(o)}`)}function gnt(i,e){const t=e.split(".");t_e(i,t)}function t_e(i,e){const t=e.shift();if(e.length===0){delete i[t];return}if(Object.keys(i).indexOf(t)!==-1){const n=i[t];typeof n=="object"&&!Array.isArray(n)&&(t_e(n,e),Object.keys(n).length===0&&delete i[t])}}function pnt(i,e,t){function n(o,a){let l=o;for(const c of a){if(typeof l!="object"||l===null)return;l=l[c]}return l}const r=e.split("."),s=n(i,r);return typeof s=="undefined"?t:s}class _1{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}const i_e=[];function v1(i,e,t){e instanceof _1||(e=new _1(e,[],t)),i_e.push([i,e])}function mnt(){return i_e}var _nt=globalThis&&globalThis.__decorate||function(i,e,t,n){var r=arguments.length,s=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(i,e,t,n);else for(var a=i.length-1;a>=0;a--)(o=i[a])&&(s=(r<3?o(s):r>3?o(e,t,s):o(e,t))||s);return r>3&&s&&Object.defineProperty(e,t,s),s},n_e=globalThis&&globalThis.__param||function(i,e){return function(t,n){e(t,n,i)}};class wG{constructor(e){this.languageId=e}affects(e){return this.languageId?this.languageId===e:!0}}const oL=jn("languageConfigurationService");let iB=class extends lt{constructor(e,t){super();this.configurationService=e,this.modeService=t,this.onDidChangeEmitter=this._register(new Ve),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const n=new Set(Object.values(EG));this._register(this.configurationService.onDidChangeConfiguration(r=>{const s=r.change.keys.some(a=>n.has(a)),o=r.change.overrides.filter(([a,l])=>l.some(c=>n.has(c))).map(([a])=>this.modeService.validateLanguageId(a));if(s)this.configurations.clear(),this.onDidChangeEmitter.fire(new wG(void 0));else for(const a of o)a&&(this.configurations.delete(a),this.onDidChangeEmitter.fire(new wG(a)))})),this._register(Jn.onDidChange(r=>{this.configurations.delete(r.languageId),this.onDidChangeEmitter.fire(new wG(r.languageId))}))}getLanguageConfiguration(e){let t=this.configurations.get(e);return t||(t=vnt(e,this.configurationService,this.modeService),this.configurations.set(e,t)),t}};iB=_nt([n_e(0,Qr),n_e(1,Ll)],iB);function vnt(i,e,t){let n=Jn.getLanguageConfiguration(i);if(!n){const a=t.validateLanguageId(i);if(!a)throw new Error("Unexpected languageId");n=new aL(a,{})}const r=Cnt(n.languageId,e),s=o_e([n.underlyingConfig,r]);return new aL(n.languageId,s)}const EG={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function Cnt(i,e){const t=e.getValue(EG.brackets,{overrideIdentifier:i}),n=e.getValue(EG.colorizedBracketPairs,{overrideIdentifier:i});return{brackets:r_e(t),colorizedBracketPairs:r_e(n)}}function r_e(i){if(!!Array.isArray(i))return i.map(e=>{if(!(!Array.isArray(e)||e.length!==2))return[e[0],e[1]]}).filter(e=>!!e)}class s_e{constructor(e){this.languageId=e}}class ynt{constructor(){this._entries=new Map,this._onDidChange=new Ve,this.onDidChange=this._onDidChange.event}register(e,t,n=0){let r=this._entries.get(e);r||(r=new bnt(e),this._entries.set(e,r));const s=r.register(t,n);return this._onDidChange.fire(new s_e(e)),An(()=>{s.dispose(),this._onDidChange.fire(new s_e(e))})}getLanguageConfiguration(e){let t=this._entries.get(e);return(t==null?void 0:t.getResolvedConfiguration())||null}getIndentationRules(e){const t=this.getLanguageConfiguration(e);return t&&t.indentationRules||null}_getElectricCharacterSupport(e){let t=this.getLanguageConfiguration(e);return t&&t.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,n){let r=X5(t,n-1),s=this._getElectricCharacterSupport(r.languageId);return s?s.onElectricCharacter(e,r,n-r.firstCharOffset):null}getComments(e){let t=this.getLanguageConfiguration(e);return t&&t.comments||null}_getCharacterPairSupport(e){let t=this.getLanguageConfiguration(e);return t&&t.characterPair||null}getAutoClosingPairs(e){const t=this._getCharacterPairSupport(e);return new Zit(t?t.getAutoClosingPairs():[])}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():sL.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}getWordDefinition(e){let t=this.getLanguageConfiguration(e);return J4(t&&t.wordDefinition||null)}getFoldingRules(e){let t=this.getLanguageConfiguration(e);return t?t.foldingRules:{}}getIndentRulesSupport(e){let t=this.getLanguageConfiguration(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){let r=e.getLanguageIdAtPosition(t,0);if(t>1){let s,o=-1;for(s=t-1;s>=1;s--){if(e.getLanguageIdAtPosition(s,0)!==r)return o;let a=e.getLineContent(s);if(n.shouldIgnore(a)||/^\s+$/.test(a)||a===""){o=s;continue}return s}}return-1}getInheritIndentForLine(e,t,n,r=!0){if(e<4)return null;const s=this.getIndentRulesSupport(t.getLanguageId());if(!s)return null;if(n<=1)return{indentation:"",action:null};const o=this.getPrecedingValidLine(t,n,s);if(o<0)return null;if(o<1)return{indentation:"",action:null};const a=t.getLineContent(o);if(s.shouldIncrease(a)||s.shouldIndentNextLine(a))return{indentation:Ir(a),action:bo.Indent,line:o};if(s.shouldDecrease(a))return{indentation:Ir(a),action:null,line:o};{if(o===1)return{indentation:Ir(t.getLineContent(o)),action:null,line:o};const l=o-1,c=s.getIndentMetadata(t.getLineContent(l));if(!(c&(1|2))&&c&4){let u=0;for(let d=l-1;d>0;d--)if(!s.shouldIndentNextLine(t.getLineContent(d))){u=d;break}return{indentation:Ir(t.getLineContent(u+1)),action:null,line:u+1}}if(r)return{indentation:Ir(t.getLineContent(o)),action:null,line:o};for(let u=o;u>0;u--){const d=t.getLineContent(u);if(s.shouldIncrease(d))return{indentation:Ir(d),action:bo.Indent,line:u};if(s.shouldIndentNextLine(d)){let h=0;for(let g=u-1;g>0;g--)if(!s.shouldIndentNextLine(t.getLineContent(u))){h=g;break}return{indentation:Ir(t.getLineContent(h+1)),action:null,line:h+1}}else if(s.shouldDecrease(d))return{indentation:Ir(d),action:null,line:u}}return{indentation:Ir(t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,r,s){if(e<4)return null;const o=this.getLanguageConfiguration(n);if(!o)return null;const a=this.getIndentRulesSupport(n);if(!a)return null;const l=this.getInheritIndentForLine(e,t,r),c=t.getLineContent(r);if(l){const u=l.line;if(u!==void 0){const d=o.onEnter(e,"",t.getLineContent(u),"");if(d){let h=Ir(t.getLineContent(u));return d.removeText&&(h=h.substring(0,h.length-d.removeText)),d.indentAction===bo.Indent||d.indentAction===bo.IndentOutdent?h=s.shiftIndent(h):d.indentAction===bo.Outdent&&(h=s.unshiftIndent(h)),a.shouldDecrease(c)&&(h=s.unshiftIndent(h)),d.appendText&&(h+=d.appendText),Ir(h)}}return a.shouldDecrease(c)?l.action===bo.Indent?l.indentation:s.unshiftIndent(l.indentation):l.action===bo.Indent?s.shiftIndent(l.indentation):l.indentation}return null}getIndentForEnter(e,t,n,r){if(e<4)return null;t.forceTokenization(n.startLineNumber);const s=t.getLineTokens(n.startLineNumber),o=X5(s,n.startColumn-1),a=o.getLineContent();let l=!1,c;o.firstCharOffset>0&&s.getLanguageId(0)!==o.languageId?(l=!0,c=a.substr(0,n.startColumn-1-o.firstCharOffset)):c=s.getLineContent().substring(0,n.startColumn-1);let u;n.isEmpty()?u=a.substr(n.startColumn-1-o.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-o.firstCharOffset);const d=this.getIndentRulesSupport(o.languageId);if(!d)return null;const h=c,g=Ir(c),m={getLineTokens:b=>t.getLineTokens(b),getLanguageId:()=>t.getLanguageId(),getLanguageIdAtPosition:(b,A)=>t.getLanguageIdAtPosition(b,A),getLineContent:b=>b===n.startLineNumber?h:t.getLineContent(b)},v=Ir(s.getLineContent()),C=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!C){const b=l?v:g;return{beforeEnter:b,afterEnter:b}}let S=l?v:C.indentation;return C.action===bo.Indent&&(S=r.shiftIndent(S)),d.shouldDecrease(u)&&(S=r.unshiftIndent(S)),{beforeEnter:l?v:g,afterEnter:S}}getIndentActionForType(e,t,n,r,s){if(e<4)return null;const o=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn);if(o.firstCharOffset)return null;const a=this.getIndentRulesSupport(o.languageId);if(!a)return null;const l=o.getLineContent(),c=l.substr(0,n.startColumn-1-o.firstCharOffset);let u;if(n.isEmpty()?u=l.substr(n.startColumn-1-o.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-o.firstCharOffset),!a.shouldDecrease(c+u)&&a.shouldDecrease(c+r+u)){const d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;let h=d.indentation;return d.action!==bo.Indent&&(h=s.unshiftIndent(h)),h}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageId());return!n||t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t))}getEnterAction(e,t,n){const r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getLanguageConfiguration(r.languageId);if(!s)return null;const o=r.getLineContent(),a=o.substr(0,n.startColumn-1-r.firstCharOffset);let l;n.isEmpty()?l=o.substr(n.startColumn-1-r.firstCharOffset):l=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset);let c="";if(n.startLineNumber>1&&r.firstCharOffset===0){const v=this.getScopedLineTokens(t,n.startLineNumber-1);v.languageId===r.languageId&&(c=v.getLineContent())}const u=s.onEnter(e,c,a,l);if(!u)return null;const d=u.indentAction;let h=u.appendText;const g=u.removeText||0;h?d===bo.Indent&&(h=" "+h):d===bo.Indent||d===bo.IndentOutdent?h=" ":h="";let m=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return g&&(m=m.substring(0,m.length-g)),{indentAction:d,appendText:h,removeText:g,indentation:m}}getIndentationAtPosition(e,t,n){const r=e.getLineContent(t);let s=Ir(r);return s.length>n-1&&(s=s.substring(0,n-1)),s}getScopedLineTokens(e,t,n){e.forceTokenization(t);const r=e.getLineTokens(t),s=typeof n=="undefined"?e.getLineMaxColumn(t)-1:n-1;return X5(r,s)}}const Jn=new ynt;class bnt{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,t){const n=new a_e(e,t,++this._order);return this._entries.push(n),this._resolved=null,An(()=>{for(let r=0;r<this._entries.length;r++)if(this._entries[r]===n){this._entries.splice(r,1),this._resolved=null;break}})}getResolvedConfiguration(){if(!this._resolved){const e=this._resolve();e&&(this._resolved=new aL(this.languageId,e))}return this._resolved}_resolve(){return this._entries.length===0?null:(this._entries.sort(a_e.cmp),o_e(this._entries.map(e=>e.configuration)))}}function o_e(i){let e={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const t of i)e={comments:t.comments||e.comments,brackets:t.brackets||e.brackets,wordPattern:t.wordPattern||e.wordPattern,indentationRules:t.indentationRules||e.indentationRules,onEnterRules:t.onEnterRules||e.onEnterRules,autoClosingPairs:t.autoClosingPairs||e.autoClosingPairs,surroundingPairs:t.surroundingPairs||e.surroundingPairs,autoCloseBefore:t.autoCloseBefore||e.autoCloseBefore,folding:t.folding||e.folding,colorizedBracketPairs:t.colorizedBracketPairs||e.colorizedBracketPairs,__electricCharacterSupport:t.__electricCharacterSupport||e.__electricCharacterSupport};return e}class a_e{constructor(e,t,n){this.configuration=e,this.priority=t,this.order=n}static cmp(e,t){return e.priority===t.priority?e.order-t.order:e.priority-t.priority}}class aL{constructor(e,t){this.languageId=e,this.underlyingConfig=t,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new vE(this.underlyingConfig):null,this.comments=aL._handleComments(this.underlyingConfig),this.characterPair=new sL(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||ipe,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new fnt(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{}}getWordDefinition(){return J4(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new ont(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new hnt(this.brackets)),this._electricCharacter}onEnter(e,t,n,r){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,r):null}static _handleComments(e){let t=e.comments;if(!t)return null;let n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){let[r,s]=t.blockComment;n.blockCommentStartToken=r,n.blockCommentEndToken=s}return n}}v1(oL,iB);class C1{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}class l_e{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t}}function Ant(i,e,t){return new em(new l_e(i),new l_e(e)).ComputeDiff(t).changes}class CE{static Assert(e,t){if(!e)throw new Error(t)}}class yE{static Copy(e,t,n,r,s){for(let o=0;o<s;o++)n[r+o]=e[t+o]}static Copy2(e,t,n,r,s){for(let o=0;o<s;o++)n[r+o]=e[t+o]}}class c_e{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new C1(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class em{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,s,o]=em._getElements(e),[a,l,c]=em._getElements(t);this._hasStrings=o&&c,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=a,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const t=e.getElements();if(em._isStringArray(t)){const n=new Int32Array(t.length);for(let r=0,s=t.length;r<s;r++)n[r]=oG(t[r],0);return[t,n,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[t]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[t]:!0}ElementsAreStrictEqual(e,t){if(!this.ElementsAreEqual(e,t))return!1;const n=em._getStrictElement(this._originalSequence,e),r=em._getStrictElement(this._modifiedSequence,t);return n===r}static _getStrictElement(e,t){return typeof e.getStrictElement=="function"?e.getStrictElement(t):null}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[t]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[t]:!0}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[t]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[t]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,r,s){const o=[!1];let a=this.ComputeDiffRecursive(e,t,n,r,o);return s&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}ComputeDiffRecursive(e,t,n,r,s){for(s[0]=!1;e<=t&&n<=r&&this.ElementsAreEqual(e,n);)e++,n++;for(;t>=e&&r>=n&&this.ElementsAreEqual(t,r);)t--,r--;if(e>t||n>r){let d;return n<=r?(CE.Assert(e===t+1,"originalStart should only be one more than originalEnd"),d=[new C1(e,0,n,r-n+1)]):e<=t?(CE.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new C1(e,t-e+1,n,0)]):(CE.Assert(e===t+1,"originalStart should only be one more than originalEnd"),CE.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}const o=[0],a=[0],l=this.ComputeRecursionPoint(e,t,n,r,o,a,s),c=o[0],u=a[0];if(l!==null)return l;if(!s[0]){const d=this.ComputeDiffRecursive(e,c,n,u,s);let h=[];return s[0]?h=[new C1(c+1,t-(c+1)+1,u+1,r-(u+1)+1)]:h=this.ComputeDiffRecursive(c+1,t,u+1,r,s),this.ConcatenateChanges(d,h)}return[new C1(e,t-e+1,n,r-n+1)]}WALKTRACE(e,t,n,r,s,o,a,l,c,u,d,h,g,m,v,C,S,b){let A=null,y=null,w=new c_e,T=t,I=n,x=g[0]-C[0]-r,D=-1073741824,O=this.m_forwardHistory.length-1;do{const P=x+e;P===T||P<I&&c[P-1]<c[P+1]?(d=c[P+1],m=d-x-r,d<D&&w.MarkNextChange(),D=d,w.AddModifiedElement(d+1,m),x=P+1-e):(d=c[P-1]+1,m=d-x-r,d<D&&w.MarkNextChange(),D=d-1,w.AddOriginalElement(d,m+1),x=P-1-e),O>=0&&(c=this.m_forwardHistory[O],e=c[0],T=1,I=c.length-1)}while(--O>=-1);if(A=w.getReverseChanges(),b[0]){let P=g[0]+1,N=C[0]+1;if(A!==null&&A.length>0){const M=A[A.length-1];P=Math.max(P,M.getOriginalEnd()),N=Math.max(N,M.getModifiedEnd())}y=[new C1(P,h-P+1,N,v-N+1)]}else{w=new c_e,T=o,I=a,x=g[0]-C[0]-l,D=1073741824,O=S?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const P=x+s;P===T||P<I&&u[P-1]>=u[P+1]?(d=u[P+1]-1,m=d-x-l,d>D&&w.MarkNextChange(),D=d+1,w.AddOriginalElement(d+1,m+1),x=P+1-s):(d=u[P-1],m=d-x-l,d>D&&w.MarkNextChange(),D=d,w.AddModifiedElement(d+1,m+1),x=P-1-s),O>=0&&(u=this.m_reverseHistory[O],s=u[0],T=1,I=u.length-1)}while(--O>=-1);y=w.getChanges()}return this.ConcatenateChanges(A,y)}ComputeRecursionPoint(e,t,n,r,s,o,a){let l=0,c=0,u=0,d=0,h=0,g=0;e--,n--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=t-e+(r-n),v=m+1,C=new Int32Array(v),S=new Int32Array(v),b=r-n,A=t-e,y=e-n,w=t-r,I=(A-b)%2==0;C[b]=e,S[A]=t,a[0]=!1;for(let x=1;x<=m/2+1;x++){let D=0,O=0;u=this.ClipDiagonalBound(b-x,x,b,v),d=this.ClipDiagonalBound(b+x,x,b,v);for(let N=u;N<=d;N+=2){N===u||N<d&&C[N-1]<C[N+1]?l=C[N+1]:l=C[N-1]+1,c=l-(N-b)-y;const M=l;for(;l<t&&c<r&&this.ElementsAreEqual(l+1,c+1);)l++,c++;if(C[N]=l,l+c>D+O&&(D=l,O=c),!I&&Math.abs(N-A)<=x-1&&l>=S[N])return s[0]=l,o[0]=c,M<=S[N]&&1447>0&&x<=1447+1?this.WALKTRACE(b,u,d,y,A,h,g,w,C,S,l,t,s,c,r,o,I,a):null}const P=(D-e+(O-n)-x)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(D,P))return a[0]=!0,s[0]=D,o[0]=O,P>0&&1447>0&&x<=1447+1?this.WALKTRACE(b,u,d,y,A,h,g,w,C,S,l,t,s,c,r,o,I,a):(e++,n++,[new C1(e,t-e+1,n,r-n+1)]);h=this.ClipDiagonalBound(A-x,x,A,v),g=this.ClipDiagonalBound(A+x,x,A,v);for(let N=h;N<=g;N+=2){N===h||N<g&&S[N-1]>=S[N+1]?l=S[N+1]-1:l=S[N-1],c=l-(N-A)-w;const M=l;for(;l>e&&c>n&&this.ElementsAreEqual(l,c);)l--,c--;if(S[N]=l,I&&Math.abs(N-b)<=x&&l<=C[N])return s[0]=l,o[0]=c,M>=C[N]&&1447>0&&x<=1447+1?this.WALKTRACE(b,u,d,y,A,h,g,w,C,S,l,t,s,c,r,o,I,a):null}if(x<=1447){let N=new Int32Array(d-u+2);N[0]=b-u+1,yE.Copy2(C,u,N,1,d-u+1),this.m_forwardHistory.push(N),N=new Int32Array(g-h+2),N[0]=A-h+1,yE.Copy2(S,h,N,1,g-h+1),this.m_reverseHistory.push(N)}}return this.WALKTRACE(b,u,d,y,A,h,g,w,C,S,l,t,s,c,r,o,I,a)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,s=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){const c=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!c)break;n.originalStart++,n.modifiedStart++}let l=[null];if(t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],l)){e[t]=l[0],e.splice(t+1,1),t--;continue}}for(let t=e.length-1;t>=0;t--){const n=e[t];let r=0,s=0;if(t>0){const d=e[t-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}const o=n.originalLength>0,a=n.modifiedLength>0;let l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let d=1;;d++){const h=n.originalStart-d,g=n.modifiedStart-d;if(h<r||g<s||o&&!this.OriginalElementsAreEqual(h,h+n.originalLength)||a&&!this.ModifiedElementsAreEqual(g,g+n.modifiedLength))break;const v=(h===r&&g===s?5:0)+this._boundaryScore(h,n.originalLength,g,n.modifiedLength);v>c&&(c=v,l=d)}n.originalStart-=l,n.modifiedStart-=l;const u=[null];if(t>0&&this.ChangesOverlap(e[t-1],e[t],u)){e[t-1]=u[0],e.splice(t,1),t++;continue}}if(this._hasStrings)for(let t=1,n=e.length;t<n;t++){const r=e[t-1],s=e[t],o=s.originalStart-r.originalStart-r.originalLength,a=r.originalStart,l=s.originalStart+s.originalLength,c=l-a,u=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,h=d-u;if(o<5&&c<20&&h<20){const g=this._findBetterContiguousSequence(a,c,u,h,o);if(g){const[m,v]=g;(m!==r.originalStart+r.originalLength||v!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=m-r.originalStart,r.modifiedLength=v-r.modifiedStart,s.originalStart=m+o,s.modifiedStart=v+o,s.originalLength=l-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,t,n,r,s){if(t<s||r<s)return null;const o=e+t-s+1,a=n+r-s+1;let l=0,c=0,u=0;for(let d=e;d<o;d++)for(let h=n;h<a;h++){const g=this._contiguousSequenceScore(d,h,s);g>0&&g>l&&(l=g,c=d,u=h)}return l>0?[c,u]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let s=0;s<n;s++){if(!this.ElementsAreEqual(e+s,t+s))return 0;r+=this._originalStringElements[e+s].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){const s=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(n,r)?1:0;return s+o}ConcatenateChanges(e,t){let n=[];if(e.length===0||t.length===0)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return yE.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],yE.Copy(t,1,r,e.length,t.length-1),r}else{const r=new Array(e.length+t.length);return yE.Copy(e,0,r,0,e.length),yE.Copy(t,0,r,e.length,t.length),r}}ChangesOverlap(e,t,n){if(CE.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),CE.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const r=e.originalStart;let s=e.originalLength;const o=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(s=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new C1(r,s,o,a),!0}else return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e<r)return e;const s=n,o=r-n-1,a=t%2==0;if(e<0){const l=s%2==0;return a===l?0:1}else{const l=o%2==0;return a===l?r-1:r-2}}}const Snt=3;function u_e(i,e,t,n){return new em(i,e,t).ComputeDiff(n)}class d_e{constructor(e){const t=[],n=[];for(let r=0,s=e.length;r<s;r++)t[r]=IG(e[r],1),n[r]=TG(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const r=[],s=[],o=[];let a=0;for(let l=t;l<=n;l++){const c=this.lines[l],u=e?this._startColumns[l]:1,d=e?this._endColumns[l]:c.length+1;for(let h=u;h<d;h++)r[a]=c.charCodeAt(h-1),s[a]=l+1,o[a]=h,a++}return new wnt(r,s,o)}}class wnt{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class lL{constructor(e,t,n,r,s,o,a,l){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=l}static createFromDiffChange(e,t,n){let r,s,o,a,l,c,u,d;return e.originalLength===0?(r=0,s=0,o=0,a=0):(r=t.getStartLineNumber(e.originalStart),s=t.getStartColumn(e.originalStart),o=t.getEndLineNumber(e.originalStart+e.originalLength-1),a=t.getEndColumn(e.originalStart+e.originalLength-1)),e.modifiedLength===0?(l=0,c=0,u=0,d=0):(l=n.getStartLineNumber(e.modifiedStart),c=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new lL(r,s,o,a,l,c,u,d)}}function Ent(i){if(i.length<=1)return i;const e=[i[0]];let t=e[0];for(let n=1,r=i.length;n<r;n++){const s=i[n],o=s.originalStart-(t.originalStart+t.originalLength),a=s.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(o,a)<Snt?(t.originalLength=s.originalStart+s.originalLength-t.originalStart,t.modifiedLength=s.modifiedStart+s.modifiedLength-t.modifiedStart):(e.push(s),t=s)}return e}class cL{constructor(e,t,n,r,s){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(e,t,n,r,s,o,a){let l,c,u,d,h;if(t.originalLength===0?(l=n.getStartLineNumber(t.originalStart)-1,c=0):(l=n.getStartLineNumber(t.originalStart),c=n.getEndLineNumber(t.originalStart+t.originalLength-1)),t.modifiedLength===0?(u=r.getStartLineNumber(t.modifiedStart)-1,d=0):(u=r.getStartLineNumber(t.modifiedStart),d=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),o&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&s()){const g=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),m=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let v=u_e(g,m,s,!0).changes;a&&(v=Ent(v)),h=[];for(let C=0,S=v.length;C<S;C++)h.push(lL.createFromDiffChange(v[C],g,m))}return new cL(l,c,u,d,h)}}class Int{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new d_e(e),this.modified=new d_e(t),this.continueLineDiff=h_e(n.maxComputationTime),this.continueCharDiff=h_e(n.maxComputationTime===0?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=u_e(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const a=[];for(let l=0,c=t.length;l<c;l++)a.push(cL.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[l],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:a}}const r=[];let s=0,o=0;for(let a=-1,l=t.length;a<l;a++){const c=a+1<l?t[a+1]:null,u=c?c.originalStart:this.originalLines.length,d=c?c.modifiedStart:this.modifiedLines.length;for(;s<u&&o<d;){const h=this.originalLines[s],g=this.modifiedLines[o];if(h!==g){{let m=IG(h,1),v=IG(g,1);for(;m>1&&v>1;){const C=h.charCodeAt(m-2),S=g.charCodeAt(v-2);if(C!==S)break;m--,v--}(m>1||v>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,m,o+1,1,v)}{let m=TG(h,1),v=TG(g,1);const C=h.length+1,S=g.length+1;for(;m<C&&v<S;){const b=h.charCodeAt(m-1),A=h.charCodeAt(v-1);if(b!==A)break;m++,v++}(m<C||v<S)&&this._pushTrimWhitespaceCharChange(r,s+1,m,C,o+1,v,S)}}s++,o++}c&&(r.push(cL.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=c.originalLength,o+=c.modifiedLength)}return{quitEarly:n,changes:r}}_pushTrimWhitespaceCharChange(e,t,n,r,s,o,a){if(this._mergeTrimWhitespaceCharChange(e,t,n,r,s,o,a))return;let l;this.shouldComputeCharChanges&&(l=[new lL(t,n,t,r,s,o,s,a)]),e.push(new cL(t,t,s,s,l))}_mergeTrimWhitespaceCharChange(e,t,n,r,s,o,a){const l=e.length;if(l===0)return!1;const c=e[l-1];return c.originalEndLineNumber===0||c.modifiedEndLineNumber===0?!1:c.originalEndLineNumber+1===t&&c.modifiedEndLineNumber+1===s?(c.originalEndLineNumber=t,c.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new lL(t,n,t,r,s,o,s,a)),!0):!1}}function IG(i,e){const t=Rc(i);return t===-1?e:t+1}function TG(i,e){const t=Kp(i);return t===-1?e:t+2}function h_e(i){if(i===0)return()=>!0;const e=Date.now();return()=>Date.now()-e<i}function nB(i){return i<0?0:i>255?255:i|0}function bE(i){return i<0?0:i>4294967295?4294967295:i|0}class Tnt{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=bE(e);const n=this.values,r=this.prefixSum,s=t.length;return s===0?!1:(this.values=new Uint32Array(n.length+s),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+s),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=bE(e),t=bE(t),this.values[e]===t?!1:(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=bE(e),t=bE(t);const n=this.values,r=this.prefixSum;if(e>=n.length)return!1;let s=n.length-e;return t>=s&&(t=s),t===0?!1:(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=bE(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;t===0&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,s=0,o=0;for(;t<=n;)if(r=t+(n-t)/2|0,s=this.prefixSum[r],o=s-this.values[r],e<o)n=r-1;else if(e>=s)t=r+1;else break;return new f_e(r,e-o)}}class xnt{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return this._ensureValid(),e===0?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();const t=this._indexBySum[e],n=t>0?this._prefixSum[t-1]:0;return new f_e(t,e-n)}removeValues(e,t){this._values.splice(e,t),this._invalidate(e)}insertValues(e,t){this._values=Fk(this._values,e,t),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._values.length;e<t;e++){const n=this._values[e],r=e>0?this._prefixSum[e-1]:0;this._prefixSum[e]=r+n;for(let s=0;s<n;s++)this._indexBySum[r+s]=e}this._prefixSum.length=this._values.length,this._indexBySum.length=this._prefixSum[this._prefixSum.length-1],this._isValid=!0,this._validEndIndex=this._values.length-1}}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._invalidate(e))}}class f_e{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}class Dnt{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new Qe(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new Tnt(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));return}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){if(t.length===0)return;let n=zp(t);if(n.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let r=new Uint32Array(n.length-1);for(let s=1;s<n.length;s++)this._lines.splice(e.lineNumber+s-1,0,n[s]),r[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}}class AE{constructor(e){let t=nB(e);this._defaultValue=t,this._asciiMap=AE._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=nB(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class SE{constructor(){this._actual=new AE(0)}add(e){this._actual.set(e,1)}has(e){return this._actual.get(e)===1}}class knt{constructor(e,t,n){const r=new Uint8Array(e*t);for(let s=0,o=e*t;s<o;s++)r[s]=n;this._data=r,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class Lnt{constructor(e){let t=0,n=0;for(let s=0,o=e.length;s<o;s++){let[a,l,c]=e[s];l>t&&(t=l),a>n&&(n=a),c>n&&(n=c)}t++,n++;let r=new knt(n,t,0);for(let s=0,o=e.length;s<o;s++){let[a,l,c]=e[s];r.set(a,l,c)}this._states=r,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let xG=null;function Rnt(){return xG===null&&(xG=new Lnt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),xG}let uL=null;function Nnt(){if(uL===null){uL=new AE(0);const i=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let t=0;t<i.length;t++)uL.set(i.charCodeAt(t),1);const e=".,;";for(let t=0;t<e.length;t++)uL.set(e.charCodeAt(t),2)}return uL}class rB{static _createLink(e,t,n,r,s){let o=s-1;do{const a=t.charCodeAt(o);if(e.get(a)!==2)break;o--}while(o>r);if(r>0){const a=t.charCodeAt(r-1),l=t.charCodeAt(o);(a===40&&l===41||a===91&&l===93||a===123&&l===125)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}}static computeLinks(e,t=Rnt()){const n=Nnt();let r=[];for(let s=1,o=e.getLineCount();s<=o;s++){const a=e.getLineContent(s),l=a.length;let c=0,u=0,d=0,h=1,g=!1,m=!1,v=!1,C=!1;for(;c<l;){let S=!1;const b=a.charCodeAt(c);if(h===13){let A;switch(b){case 40:g=!0,A=0;break;case 41:A=g?0:1;break;case 91:v=!0,m=!0,A=0;break;case 93:v=!1,A=m?0:1;break;case 123:C=!0,A=0;break;case 125:A=C?0:1;break;case 39:A=d===34||d===96?0:1;break;case 34:A=d===39||d===96?0:1;break;case 96:A=d===39||d===34?0:1;break;case 42:A=d===42?1:0;break;case 124:A=d===124?1:0;break;case 32:A=v?0:1;break;default:A=n.get(b)}A===1&&(r.push(rB._createLink(n,a,s,u,c)),S=!0)}else if(h===12){let A;b===91?(m=!0,A=0):A=n.get(b),A===1?S=!0:h=13}else h=t.nextState(h,b),h===0&&(S=!0);S&&(h=1,g=!1,m=!1,C=!1,u=c+1,d=b),c++}h===13&&r.push(rB._createLink(n,a,s,u,l))}return r}}function Ont(i){return!i||typeof i.getLineCount!="function"||typeof i.getLineContent!="function"?[]:rB.computeLinks(i)}class DG{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,r,s){if(e&&t){let o=this.doNavigateValueSet(t,s);if(o)return{range:e,value:o}}if(n&&r){let o=this.doNavigateValueSet(r,s);if(o)return{range:n,value:o}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return n!==null?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),s=parseFloat(e);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!t?null:(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let r=null;for(let s=0,o=e.length;r===null&&s<o;s++)r=this.valueSetReplace(e[s],t,n);return r}valueSetReplace(e,t,n){let r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}DG.INSTANCE=new DG;class Pnt extends AE{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}function Mnt(i){let e={};return t=>(e.hasOwnProperty(t)||(e[t]=i(t)),e[t])}const yh=Mnt(i=>new Pnt(i)),Bnt=999;class Gy{constructor(e,t,n,r){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=r}parseSearchRequest(){if(this.searchString==="")return null;let e;this.isRegex?e=Fnt(this.searchString):e=this.searchString.indexOf(`
|
|
339
339
|
`)>=0;let t=null;try{t=nme(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch{return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new Unt(t,this.wordSeparators?yh(this.wordSeparators):null,n?this.searchString:null)}}function Fnt(i){if(!i||i.length===0)return!1;for(let e=0,t=i.length;e<t;e++)if(i.charCodeAt(e)===92){if(e++,e>=t)break;const r=i.charCodeAt(e);if(r===110||r===114||r===87)return!0}return!1}class Unt{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}function Qy(i,e,t){if(!t)return new Yk(i,null);let n=[];for(let r=0,s=e.length;r<s;r++)n[r]=e[r];return new Yk(i,n)}class g_e{constructor(e){let t=[],n=0;for(let r=0,s=e.length;r<s;r++)e.charCodeAt(r)===10&&(t[n++]=r);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,r=t.length-1;if(r===-1||e<=t[0])return 0;for(;n<r;){const s=n+((r-n)/2>>0);t[s]>=e?r=s-1:t[s+1]>=e?(n=s,r=s):n=s+1}return n+1}}class sB{static findMatches(e,t,n,r,s){const o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,n,new wE(o.wordSeparators,o.regex),r,s):this._doFindMatchesLineByLine(e,n,o,r,s):[]}static _getMultilineMatchRange(e,t,n,r,s,o){let a,l=0;r?(l=r.findLineFeedCountBeforeOffset(s),a=t+s+l):a=t+s;let c;if(r){let g=r.findLineFeedCountBeforeOffset(s+o.length)-l;c=a+o.length+g}else c=a+o.length;const u=e.getPositionAt(a),d=e.getPositionAt(c);return new de(u.lineNumber,u.column,d.lineNumber,d.column)}static _doFindMatchesMultiline(e,t,n,r,s){const o=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l=e.getEOL()===`\r
|
|
340
340
|
`?new g_e(a):null,c=[];let u=0,d;for(n.reset(0);d=n.next(a);)if(c[u++]=Qy(this._getMultilineMatchRange(e,o,a,l,d.index,d[0]),d,r),u>=s)return c;return c}static _doFindMatchesLineByLine(e,t,n,r,s){const o=[];let a=0;if(t.startLineNumber===t.endLineNumber){const c=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return a=this._findMatchesInLine(n,c,t.startLineNumber,t.startColumn-1,a,o,r,s),o}const l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);a=this._findMatchesInLine(n,l,t.startLineNumber,t.startColumn-1,a,o,r,s);for(let c=t.startLineNumber+1;c<t.endLineNumber&&a<s;c++)a=this._findMatchesInLine(n,e.getLineContent(c),c,0,a,o,r,s);if(a<s){const c=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);a=this._findMatchesInLine(n,c,t.endLineNumber,0,a,o,r,s)}return o}static _findMatchesInLine(e,t,n,r,s,o,a,l){const c=e.wordSeparators;if(!a&&e.simpleSearch){const h=e.simpleSearch,g=h.length,m=t.length;let v=-g;for(;(v=t.indexOf(h,v+g))!==-1;)if((!c||kG(c,t,m,v,g))&&(o[s++]=new Yk(new de(n,v+1+r,n,v+1+g+r),null),s>=l))return s;return s}const u=new wE(e.wordSeparators,e.regex);let d;u.reset(0);do if(d=u.next(t),d&&(o[s++]=Qy(new de(n,d.index+1+r,n,d.index+1+d[0].length+r),d,a),s>=l))return s;while(d);return s}static findNextMatch(e,t,n,r){const s=t.parseSearchRequest();if(!s)return null;const o=new wE(s.wordSeparators,s.regex);return s.regex.multiline?this._doFindNextMatchMultiline(e,n,o,r):this._doFindNextMatchLineByLine(e,n,o,r)}static _doFindNextMatchMultiline(e,t,n,r){const s=new Qe(t.lineNumber,1),o=e.getOffsetAt(s),a=e.getLineCount(),l=e.getValueInRange(new de(s.lineNumber,s.column,a,e.getLineMaxColumn(a)),1),c=e.getEOL()===`\r
|
|
@@ -1555,7 +1555,7 @@ ${JSON.stringify(me,void 0,4)}`);else re.changes&&Object.keys(re.changes).forEac
|
|
|
1555
1555
|
Code: ${he.code} ${he.data?`
|
|
1556
1556
|
`+he.data.toString():""}`}return ee instanceof Error?o.string(ee.stack)?ee.stack:ee.message:o.string(ee)?ee:ee.toString()}info(ee,he,_e=!0){this.outputChannel.appendLine(`[Info - ${new Date().toLocaleTimeString()}] ${ee}`),he&&this.outputChannel.appendLine(this.data2String(he)),_e&&this._clientOptions.revealOutputChannelOn<=v.Info&&this.showNotificationMessage()}warn(ee,he,_e=!0){this.outputChannel.appendLine(`[Warn - ${new Date().toLocaleTimeString()}] ${ee}`),he&&this.outputChannel.appendLine(this.data2String(he)),_e&&this._clientOptions.revealOutputChannelOn<=v.Warn&&this.showNotificationMessage()}error(ee,he,_e=!0){this.outputChannel.appendLine(`[Error - ${new Date().toLocaleTimeString()}] ${ee}`),he&&this.outputChannel.appendLine(this.data2String(he)),_e&&this._clientOptions.revealOutputChannelOn<=v.Error&&this.showNotificationMessage()}showNotificationMessage(){e.window.showInformationMessage("A request has failed. See the output for more information.","Go to output").then(()=>{this.outputChannel.show(!0)})}logTrace(ee,he){this.traceOutputChannel.appendLine(`[Trace - ${new Date().toLocaleTimeString()}] ${ee}`),he&&this.traceOutputChannel.appendLine(this.data2String(he))}logObjectTrace(ee){ee.isLSPMessage&&ee.type?this.traceOutputChannel.append(`[LSP - ${new Date().toLocaleTimeString()}] `):this.traceOutputChannel.append(`[Trace - ${new Date().toLocaleTimeString()}] `),ee&&this.traceOutputChannel.appendLine(`${JSON.stringify(ee)}`)}needsStart(){return this.state===S.Initial||this.state===S.Stopping||this.state===S.Stopped}needsStop(){return this.state===S.Starting||this.state===S.Running}onReady(){return this._onReady}isConnectionActive(){return this.state===S.Running&&!!this._resolvedConnection}start(){return this._onReadyCallbacks.isUsed&&(this._onReady=new Promise((ee,he)=>{this._onReadyCallbacks=new et(ee,he)})),this._listeners=[],this._providers=[],this._diagnostics||(this._diagnostics=this._clientOptions.diagnosticCollectionName?e.languages.createDiagnosticCollection(this._clientOptions.diagnosticCollectionName):e.languages.createDiagnosticCollection()),this.state=S.Starting,this.resolveConnection().then(ee=>(ee.onLogMessage(he=>{switch(he.type){case t.MessageType.Error:this.error(he.message,void 0,!1);break;case t.MessageType.Warning:this.warn(he.message,void 0,!1);break;case t.MessageType.Info:this.info(he.message,void 0,!1);break;default:this.outputChannel.appendLine(he.message)}}),ee.onShowMessage(he=>{switch(he.type){case t.MessageType.Error:e.window.showErrorMessage(he.message);break;case t.MessageType.Warning:e.window.showWarningMessage(he.message);break;case t.MessageType.Info:e.window.showInformationMessage(he.message);break;default:e.window.showInformationMessage(he.message)}}),ee.onRequest(t.ShowMessageRequest.type,he=>{let _e;switch(he.type){case t.MessageType.Error:_e=e.window.showErrorMessage;break;case t.MessageType.Warning:_e=e.window.showWarningMessage;break;case t.MessageType.Info:_e=e.window.showInformationMessage;break;default:_e=e.window.showInformationMessage}let Ke=he.actions||[];return _e(he.message,...Ke)}),ee.onTelemetry(he=>{this._telemetryEmitter.fire(he)}),ee.onRequest(t.ShowDocumentRequest.type,async he=>{var _e;const Ke=async He=>{const dt=this.protocol2CodeConverter.asUri(He.uri);try{if(He.external===!0)return{success:await e.env.openExternal(dt)};{const ct={};return He.selection!==void 0&&(ct.selection=this.protocol2CodeConverter.asRange(He.selection)),He.takeFocus===void 0||He.takeFocus===!1?ct.preserveFocus=!0:He.takeFocus===!0&&(ct.preserveFocus=!1),await e.window.showTextDocument(dt,ct),{success:!0}}}catch{return{success:!0}}},je=(_e=this._clientOptions.middleware.window)===null||_e===void 0?void 0:_e.showDocument;return je!==void 0?je(he,Ke):Ke(he)}),ee.listen(),this.initialize(ee))).then(void 0,ee=>{this.state=S.StartFailed,this._onReadyCallbacks.reject(ee),this.error("Starting client failed",ee),e.window.showErrorMessage(`Couldn't start client ${this._name}`)}),new e.Disposable(()=>{this.needsStop()&&this.stop()})}resolveConnection(){return this._connectionPromise||(this._connectionPromise=this.createConnection()),this._connectionPromise}initialize(ee){this.refreshTrace(ee,!1);let he=this._clientOptions.initializationOptions,_e=this._clientOptions.workspaceFolder?this._clientOptions.workspaceFolder.uri.fsPath:this._clientGetRootPath(),Ke={processId:null,clientInfo:{name:e.env.appName,version:e.version},locale:this.getLocale(),rootPath:_e||null,rootUri:_e?this._c2p.asUri(e.Uri.file(_e)):null,capabilities:this.computeClientCapabilities(),initializationOptions:o.func(he)?he():he,trace:t.Trace.toString(this._trace),workspaceFolders:null};if(this.fillInitializeParams(Ke),this._clientOptions.progressOnInitialization){const je=l.generateUuid(),He=new c.ProgressPart(ee,je);return Ke.workDoneToken=je,this.doInitialize(ee,Ke).then(dt=>(He.done(),dt),dt=>{throw He.cancel(),dt})}else return this.doInitialize(ee,Ke)}doInitialize(ee,he){return ee.initialize(he).then(_e=>{this._resolvedConnection=ee,this._initializeResult=_e,this.state=S.Running;let Ke;return o.number(_e.capabilities.textDocumentSync)?_e.capabilities.textDocumentSync===t.TextDocumentSyncKind.None?Ke={openClose:!1,change:t.TextDocumentSyncKind.None,save:void 0}:Ke={openClose:!0,change:_e.capabilities.textDocumentSync,save:{includeText:!1}}:_e.capabilities.textDocumentSync!==void 0&&_e.capabilities.textDocumentSync!==null&&(Ke=_e.capabilities.textDocumentSync),this._capabilities=Object.assign({},_e.capabilities,{resolvedTextDocumentSync:Ke}),ee.onDiagnostics(je=>this.handleDiagnostics(je)),ee.onRequest(t.RegistrationRequest.type,je=>this.handleRegistrationRequest(je)),ee.onRequest("client/registerFeature",je=>this.handleRegistrationRequest(je)),ee.onRequest(t.UnregistrationRequest.type,je=>this.handleUnregistrationRequest(je)),ee.onRequest("client/unregisterFeature",je=>this.handleUnregistrationRequest(je)),ee.onRequest(t.ApplyWorkspaceEditRequest.type,je=>this.handleApplyWorkspaceEdit(je)),ee.sendNotification(t.InitializedNotification.type,{}),this.hookFileEvents(ee),this.hookConfigurationChanged(ee),this.initializeFeatures(ee),this._onReadyCallbacks.resolve(),_e}).then(void 0,_e=>{throw this._clientOptions.initializationFailedHandler?this._clientOptions.initializationFailedHandler(_e)?this.initialize(ee):(this.stop(),this._onReadyCallbacks.reject(_e)):_e instanceof t.ResponseError&&_e.data&&_e.data.retry?e.window.showErrorMessage(_e.message,{title:"Retry",id:"retry"}).then(Ke=>{Ke&&Ke.id==="retry"?this.initialize(ee):(this.stop(),this._onReadyCallbacks.reject(_e))}):(_e&&_e.message&&e.window.showErrorMessage(_e.message),this.error("Server initialization failed.",_e),this.stop(),this._onReadyCallbacks.reject(_e)),_e})}_clientGetRootPath(){let ee=e.workspace.workspaceFolders;if(!ee||ee.length===0)return;let he=ee[0];if(he.uri.scheme==="file")return he.uri.fsPath}stop(){return this._initializeResult=void 0,this._connectionPromise?this.state===S.Stopping&&this._onStop?this._onStop:(this.state=S.Stopping,this.cleanUp(!1),this._onStop=this.resolveConnection().then(ee=>ee.shutdown().then(()=>{ee.exit(),ee.end(),ee.dispose(),this.state=S.Stopped,this.cleanUpChannel(),this._onStop=void 0,this._connectionPromise=void 0,this._resolvedConnection=void 0}))):(this.state=S.Stopped,Promise.resolve())}cleanUp(ee=!0,he=!0){this._listeners&&(this._listeners.forEach(_e=>_e.dispose()),this._listeners=void 0),this._providers&&(this._providers.forEach(_e=>_e.dispose()),this._providers=void 0),this._syncedDocuments&&this._syncedDocuments.clear();for(const _e of this._features.values())_e.dispose();ee&&this.cleanUpChannel(),he&&this._diagnostics&&(this._diagnostics.dispose(),this._diagnostics=void 0)}cleanUpChannel(){this._outputChannel&&this._disposeOutputChannel&&(this._outputChannel.dispose(),this._outputChannel=void 0)}notifyFileEvent(ee){var he;const _e=this;function Ke(He){_e._fileEvents.push(He),_e._fileEventDelayer.trigger(()=>{_e.onReady().then(()=>{_e.resolveConnection().then(dt=>{_e.isConnectionActive()&&(_e.forceDocumentSync(),dt.didChangeWatchedFiles({changes:_e._fileEvents})),_e._fileEvents=[]})},dt=>{_e.error("Notify file events failed.",dt)})})}const je=(he=this.clientOptions.middleware)===null||he===void 0?void 0:he.workspace;(je==null?void 0:je.didChangeWatchedFile)?je.didChangeWatchedFile(ee,Ke):Ke(ee)}forceDocumentSync(){this._didChangeTextDocumentFeature===void 0&&(this._didChangeTextDocumentFeature=this._dynamicFeatures.get(t.DidChangeTextDocumentNotification.type.method)),this._didChangeTextDocumentFeature.forceDelivery()}handleDiagnostics(ee){if(!this._diagnostics)return;let he=this._p2c.asUri(ee.uri),_e=this._p2c.asDiagnostics(ee.diagnostics),Ke=this.clientOptions.middleware;Ke.handleDiagnostics?Ke.handleDiagnostics(he,_e,(je,He)=>this.setDiagnostics(je,He)):this.setDiagnostics(he,_e)}setDiagnostics(ee,he){!this._diagnostics||this._diagnostics.set(ee,he)}createConnection(){let ee=(_e,Ke,je)=>{this.handleConnectionError(_e,Ke,je)},he=()=>{this.handleConnectionClosed()};return this.createMessageTransports(this._clientOptions.stdioEncoding||"utf8").then(_e=>d(_e.reader,_e.writer,ee,he,this._clientOptions.connectionOptions))}handleConnectionClosed(){if(this.state===S.Stopping||this.state===S.Stopped)return;try{this._resolvedConnection&&this._resolvedConnection.dispose()}catch{}let ee=g.DoNotRestart;try{ee=this._clientOptions.errorHandler.closed()}catch{}this._connectionPromise=void 0,this._resolvedConnection=void 0,ee===g.DoNotRestart?(this.error("Connection to server got closed. Server will not be restarted."),this.state===S.Starting?(this._onReadyCallbacks.reject(new Error("Connection to server got closed. Server will not be restarted.")),this.state=S.StartFailed):this.state=S.Stopped,this.cleanUp(!1,!0)):ee===g.Restart&&(this.info("Connection to server got closed. Server will restart."),this.cleanUp(!1,!1),this.state=S.Initial,this.start())}handleConnectionError(ee,he,_e){this._clientOptions.errorHandler.error(ee,he,_e)===h.Shutdown&&(this.error("Connection to server is erroring. Shutting down server."),this.stop())}hookConfigurationChanged(ee){e.workspace.onDidChangeConfiguration(()=>{this.refreshTrace(ee,!0)})}refreshTrace(ee,he=!1){let _e=e.workspace.getConfiguration(this._id),Ke=t.Trace.Off,je=t.TraceFormat.Text;if(_e){const He=_e.get("trace.server","off");typeof He=="string"?Ke=t.Trace.fromString(He):(Ke=t.Trace.fromString(_e.get("trace.server.verbosity","off")),je=t.TraceFormat.fromString(_e.get("trace.server.format","text")))}this._trace=Ke,this._traceFormat=je,ee.trace(this._trace,this._tracer,{sendNotification:he,traceFormat:this._traceFormat})}hookFileEvents(ee){let he=this._clientOptions.synchronize.fileEvents;if(!he)return;let _e;o.array(he)?_e=he:_e=[he],!!_e&&this._dynamicFeatures.get(t.DidChangeWatchedFilesNotification.type.method).registerRaw(l.generateUuid(),_e)}registerFeatures(ee){for(let he of ee)this.registerFeature(he)}registerFeature(ee){if(this._features.push(ee),I.is(ee)){const he=ee.registrationType;this._dynamicFeatures.set(he.method,ee)}}getFeature(ee){return this._dynamicFeatures.get(ee)}registerBuiltinFeatures(){this.registerFeature(new ft(this)),this.registerFeature(new D(this,this._syncedDocuments)),this.registerFeature(new P(this)),this.registerFeature(new N(this)),this.registerFeature(new M(this)),this.registerFeature(new W(this)),this.registerFeature(new O(this,this._syncedDocuments)),this.registerFeature(new U(this,ee=>this.notifyFileEvent(ee))),this.registerFeature(new j(this)),this.registerFeature(new G(this)),this.registerFeature(new J(this)),this.registerFeature(new q(this)),this.registerFeature(new Z(this)),this.registerFeature(new ne(this)),this.registerFeature(new fe(this)),this.registerFeature(new Se(this)),this.registerFeature(new Ue(this)),this.registerFeature(new ie(this)),this.registerFeature(new Ce(this)),this.registerFeature(new ye(this)),this.registerFeature(new Ye(this)),this.registerFeature(new Le(this)),this.registerFeature(new Xe(this)),this.registerFeature(new Ut(this))}fillInitializeParams(ee){for(let he of this._features)o.func(he.fillInitializeParams)&&he.fillInitializeParams(ee)}computeClientCapabilities(){const ee={};w(ee,"workspace").applyEdit=!0;const he=w(w(ee,"workspace"),"workspaceEdit");he.documentChanges=!0,he.resourceOperations=[t.ResourceOperationKind.Create,t.ResourceOperationKind.Rename,t.ResourceOperationKind.Delete],he.failureHandling=t.FailureHandlingKind.TextOnlyTransactional,he.normalizesLineEndings=!0,he.changeAnnotationSupport={groupsOnLabel:!0};const _e=w(w(ee,"textDocument"),"publishDiagnostics");_e.relatedInformation=!0,_e.versionSupport=!1,_e.tagSupport={valueSet:[t.DiagnosticTag.Unnecessary,t.DiagnosticTag.Deprecated]},_e.codeDescriptionSupport=!0,_e.dataSupport=!0;const Ke=w(ee,"window"),je=w(Ke,"showMessage");je.messageActionItem={additionalPropertiesSupport:!0};const He=w(Ke,"showDocument");He.support=!0;const dt=w(ee,"general");dt.regularExpressions={engine:"ECMAScript",version:"ES2020"},dt.markdown={parser:"marked",version:"1.1.0"};for(let ct of this._features)ct.fillClientCapabilities(ee);return ee}initializeFeatures(ee){let he=this._clientOptions.documentSelector;for(let _e of this._features)_e.initialize(this._capabilities,he)}handleRegistrationRequest(ee){return new Promise((he,_e)=>{for(const Ke of ee.registrations){const je=this._dynamicFeatures.get(Ke.method);if(je===void 0){_e(new Error(`No feature implementation for ${Ke.method} found. Registration failed.`));return}const He=Ke.registerOptions||{};He.documentSelector=He.documentSelector||this._clientOptions.documentSelector;const dt={id:Ke.id,registerOptions:He};try{je.register(dt)}catch(ct){_e(ct);return}}he()})}handleUnregistrationRequest(ee){return new Promise((he,_e)=>{for(let Ke of ee.unregisterations){const je=this._dynamicFeatures.get(Ke.method);if(!je){_e(new Error(`No feature implementation for ${Ke.method} found. Unregistration failed.`));return}je.unregister(Ke.id)}he()})}handleApplyWorkspaceEdit(ee){let he=ee.edit,_e=new Map;e.workspace.textDocuments.forEach(je=>_e.set(je.uri.toString(),je));let Ke=!1;if(he.documentChanges){for(const je of he.documentChanges)if(t.TextDocumentEdit.is(je)&&je.textDocument.version&&je.textDocument.version>=0){let He=_e.get(je.textDocument.uri);if(He&&He.version!==je.textDocument.version){Ke=!0;break}}}return Ke?Promise.resolve({applied:!1}):o.asPromise(e.workspace.applyEdit(this._p2c.asWorkspaceEdit(ee.edit)).then(je=>({applied:je})))}handleFailedRequest(ee,he,_e){if(he instanceof t.ResponseError){if(he.code===t.LSPErrorCodes.RequestCancelled)throw this.makeCancelError();if(he.code===t.LSPErrorCodes.ContentModified)return _e}throw this.error(`Request ${ee.method} failed.`,he),he}makeCancelError(){const ee=new Error(qt.Canceled);return ee.name=qt.Canceled,ee}}i.BaseLanguageClient=qt,qt.Canceled="Canceled"}(Om);var V6={};Object.defineProperty(V6,"__esModule",{value:!0}),V6.TypeDefinitionFeature=void 0;const RTt=Bl,pte=Ea,NTt=Om;function j6(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class OTt extends NTt.TextDocumentFeature{constructor(e){super(e,pte.TypeDefinitionRequest.type)}fillClientCapabilities(e){j6(j6(e,"textDocument"),"typeDefinition").dynamicRegistration=!0;let t=j6(j6(e,"textDocument"),"typeDefinition");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[n,r]=this.getRegistration(t,e.typeDefinitionProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t={provideTypeDefinition:(n,r,s)=>{const o=this._client,a=(c,u,d)=>o.sendRequest(pte.TypeDefinitionRequest.type,o.code2ProtocolConverter.asTextDocumentPositionParams(c,u),d).then(o.protocol2CodeConverter.asDefinitionResult,h=>o.handleFailedRequest(pte.TypeDefinitionRequest.type,h,null)),l=o.clientOptions.middleware;return l.provideTypeDefinition?l.provideTypeDefinition(n,r,s,a):a(n,r,s)}};return[RTt.languages.registerTypeDefinitionProvider(e.documentSelector,t),t]}}V6.TypeDefinitionFeature=OTt;var $6={};Object.defineProperty($6,"__esModule",{value:!0}),$6.ImplementationFeature=void 0;const PTt=Bl,mte=Ea,MTt=Om;function eIe(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class BTt extends MTt.TextDocumentFeature{constructor(e){super(e,mte.ImplementationRequest.type)}fillClientCapabilities(e){let t=eIe(eIe(e,"textDocument"),"implementation");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[n,r]=this.getRegistration(t,e.implementationProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t={provideImplementation:(n,r,s)=>{const o=this._client,a=(c,u,d)=>o.sendRequest(mte.ImplementationRequest.type,o.code2ProtocolConverter.asTextDocumentPositionParams(c,u),d).then(o.protocol2CodeConverter.asDefinitionResult,h=>o.handleFailedRequest(mte.ImplementationRequest.type,h,null)),l=o.clientOptions.middleware;return l.provideImplementation?l.provideImplementation(n,r,s,a):a(n,r,s)}};return[PTt.languages.registerImplementationProvider(e.documentSelector,t),t]}}$6.ImplementationFeature=BTt;var z6={};Object.defineProperty(z6,"__esModule",{value:!0}),z6.ColorProviderFeature=void 0;const K6=Bl,Q2=Ea,FTt=Om;function tIe(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class UTt extends FTt.TextDocumentFeature{constructor(e){super(e,Q2.DocumentColorRequest.type)}fillClientCapabilities(e){tIe(tIe(e,"textDocument"),"colorProvider").dynamicRegistration=!0}initialize(e,t){let[n,r]=this.getRegistration(t,e.colorProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t={provideColorPresentations:(n,r,s)=>{const o=this._client,a=(c,u,d)=>{const h={color:c,textDocument:o.code2ProtocolConverter.asTextDocumentIdentifier(u.document),range:o.code2ProtocolConverter.asRange(u.range)};return o.sendRequest(Q2.ColorPresentationRequest.type,h,d).then(this.asColorPresentations.bind(this),g=>o.handleFailedRequest(Q2.ColorPresentationRequest.type,g,null))},l=o.clientOptions.middleware;return l.provideColorPresentations?l.provideColorPresentations(n,r,s,a):a(n,r,s)},provideDocumentColors:(n,r)=>{const s=this._client,o=(l,c)=>{const u={textDocument:s.code2ProtocolConverter.asTextDocumentIdentifier(l)};return s.sendRequest(Q2.DocumentColorRequest.type,u,c).then(this.asColorInformations.bind(this),d=>s.handleFailedRequest(Q2.ColorPresentationRequest.type,d,null))},a=s.clientOptions.middleware;return a.provideDocumentColors?a.provideDocumentColors(n,r,o):o(n,r)}};return[K6.languages.registerColorProvider(e.documentSelector,t),t]}asColor(e){return new K6.Color(e.red,e.green,e.blue,e.alpha)}asColorInformations(e){return Array.isArray(e)?e.map(t=>new K6.ColorInformation(this._client.protocol2CodeConverter.asRange(t.range),this.asColor(t.color))):[]}asColorPresentations(e){return Array.isArray(e)?e.map(t=>{let n=new K6.ColorPresentation(t.label);return n.additionalTextEdits=this._client.protocol2CodeConverter.asTextEdits(t.additionalTextEdits),n.textEdit=this._client.protocol2CodeConverter.asTextEdit(t.textEdit),n}):[]}}z6.ColorProviderFeature=UTt;var ST={};Object.defineProperty(ST,"__esModule",{value:!0}),ST.WorkspaceFoldersFeature=ST.arrayDiff=void 0;const WTt=Ph,G6=Bl,_te=Ea;function vte(i,e){if(i!==void 0)return i[e]}function Cte(i,e){return i.filter(t=>e.indexOf(t)<0)}ST.arrayDiff=Cte;class HTt{constructor(e){this._client=e,this._listeners=new Map}get registrationType(){return _te.DidChangeWorkspaceFoldersNotification.type}fillInitializeParams(e){const t=G6.workspace.workspaceFolders;this.initializeWithFolders(t),t===void 0?e.workspaceFolders=null:e.workspaceFolders=t.map(n=>this.asProtocol(n))}initializeWithFolders(e){this._initialFolders=e}fillClientCapabilities(e){e.workspace=e.workspace||{},e.workspace.workspaceFolders=!0}initialize(e){const t=this._client;t.onRequest(_te.WorkspaceFoldersRequest.type,s=>{const o=()=>{const l=G6.workspace.workspaceFolders;return l===void 0?null:l.map(u=>this.asProtocol(u))},a=t.clientOptions.middleware.workspace;return a&&a.workspaceFolders?a.workspaceFolders(s,o):o(s)});const n=vte(vte(vte(e,"workspace"),"workspaceFolders"),"changeNotifications");let r;typeof n=="string"?r=n:n===!0&&(r=WTt.generateUuid()),r&&this.register({id:r,registerOptions:void 0})}sendInitialEvent(e){if(this._initialFolders&&e){const t=Cte(this._initialFolders,e),n=Cte(e,this._initialFolders);(n.length>0||t.length>0)&&this.doSendEvent(n,t)}else this._initialFolders?this.doSendEvent([],this._initialFolders):e&&this.doSendEvent(e,[])}doSendEvent(e,t){let n={event:{added:e.map(r=>this.asProtocol(r)),removed:t.map(r=>this.asProtocol(r))}};this._client.sendNotification(_te.DidChangeWorkspaceFoldersNotification.type,n)}register(e){let t=e.id,n=this._client,r=G6.workspace.onDidChangeWorkspaceFolders(s=>{let o=l=>{this.doSendEvent(l.added,l.removed)},a=n.clientOptions.middleware.workspace;a&&a.didChangeWorkspaceFolders?a.didChangeWorkspaceFolders(s,o):o(s)});this._listeners.set(t,r),this.sendInitialEvent(G6.workspace.workspaceFolders)}unregister(e){let t=this._listeners.get(e);t!==void 0&&(this._listeners.delete(e),t.dispose())}dispose(){for(let e of this._listeners.values())e.dispose();this._listeners.clear()}asProtocol(e){return e===void 0?null:{uri:this._client.code2ProtocolConverter.asUri(e.uri),name:e.name}}}ST.WorkspaceFoldersFeature=HTt;var Q6={};Object.defineProperty(Q6,"__esModule",{value:!0}),Q6.FoldingRangeFeature=void 0;const q2=Bl,wT=Ea,VTt=Om;function iIe(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class q6 extends VTt.TextDocumentFeature{constructor(e){super(e,wT.FoldingRangeRequest.type)}fillClientCapabilities(e){let t=iIe(iIe(e,"textDocument"),"foldingRange");t.dynamicRegistration=!0,t.rangeLimit=5e3,t.lineFoldingOnly=!0}initialize(e,t){let[n,r]=this.getRegistration(t,e.foldingRangeProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t={provideFoldingRanges:(n,r,s)=>{const o=this._client,a=(c,u,d)=>{const h={textDocument:o.code2ProtocolConverter.asTextDocumentIdentifier(c)};return o.sendRequest(wT.FoldingRangeRequest.type,h,d).then(q6.asFoldingRanges,g=>o.handleFailedRequest(wT.FoldingRangeRequest.type,g,null))},l=o.clientOptions.middleware;return l.provideFoldingRanges?l.provideFoldingRanges(n,r,s,a):a(n,r,s)}};return[q2.languages.registerFoldingRangeProvider(e.documentSelector,t),t]}static asFoldingRangeKind(e){if(e)switch(e){case wT.FoldingRangeKind.Comment:return q2.FoldingRangeKind.Comment;case wT.FoldingRangeKind.Imports:return q2.FoldingRangeKind.Imports;case wT.FoldingRangeKind.Region:return q2.FoldingRangeKind.Region}}static asFoldingRanges(e){return Array.isArray(e)?e.map(t=>new q2.FoldingRange(t.startLine,t.endLine,q6.asFoldingRangeKind(t.kind))):[]}}Q6.FoldingRangeFeature=q6;var Y6={};Object.defineProperty(Y6,"__esModule",{value:!0}),Y6.CallHierarchyFeature=void 0;const jTt=Bl,NA=Ea,$Tt=Om;function nIe(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class zTt{constructor(e){this.client=e,this.middleware=e.clientOptions.middleware}prepareCallHierarchy(e,t,n){const r=this.client,s=this.middleware,o=(a,l,c)=>{const u=r.code2ProtocolConverter.asTextDocumentPositionParams(a,l);return r.sendRequest(NA.CallHierarchyPrepareRequest.type,u,c).then(d=>r.protocol2CodeConverter.asCallHierarchyItems(d),d=>r.handleFailedRequest(NA.CallHierarchyPrepareRequest.type,d,null))};return s.prepareCallHierarchy?s.prepareCallHierarchy(e,t,n,o):o(e,t,n)}provideCallHierarchyIncomingCalls(e,t){const n=this.client,r=this.middleware,s=(o,a)=>{const l={item:n.code2ProtocolConverter.asCallHierarchyItem(o)};return n.sendRequest(NA.CallHierarchyIncomingCallsRequest.type,l,a).then(c=>n.protocol2CodeConverter.asCallHierarchyIncomingCalls(c),c=>n.handleFailedRequest(NA.CallHierarchyIncomingCallsRequest.type,c,null))};return r.provideCallHierarchyIncomingCalls?r.provideCallHierarchyIncomingCalls(e,t,s):s(e,t)}provideCallHierarchyOutgoingCalls(e,t){const n=this.client,r=this.middleware,s=(o,a)=>{const l={item:n.code2ProtocolConverter.asCallHierarchyItem(o)};return n.sendRequest(NA.CallHierarchyOutgoingCallsRequest.type,l,a).then(c=>n.protocol2CodeConverter.asCallHierarchyOutgoingCalls(c),c=>n.handleFailedRequest(NA.CallHierarchyOutgoingCallsRequest.type,c,null))};return r.provideCallHierarchyOutgoingCalls?r.provideCallHierarchyOutgoingCalls(e,t,s):s(e,t)}}class KTt extends $Tt.TextDocumentFeature{constructor(e){super(e,NA.CallHierarchyPrepareRequest.type)}fillClientCapabilities(e){const n=nIe(nIe(e,"textDocument"),"callHierarchy");n.dynamicRegistration=!0}initialize(e,t){const[n,r]=this.getRegistration(t,e.callHierarchyProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t=this._client,n=new zTt(t);return[jTt.languages.registerCallHierarchyProvider(e.documentSelector,n),n]}}Y6.CallHierarchyFeature=KTt;var X6={};Object.defineProperty(X6,"__esModule",{value:!0}),X6.ProgressFeature=void 0;const GTt=Ea,QTt=G2;function qTt(i,e){return i[e]===void 0&&(i[e]=Object.create(null)),i[e]}class YTt{constructor(e){this._client=e,this.activeParts=new Set}fillClientCapabilities(e){qTt(e,"window").workDoneProgress=!0}initialize(){const e=this._client,t=r=>{this.activeParts.delete(r)},n=r=>{this.activeParts.add(new QTt.ProgressPart(this._client,r.token,t))};e.onRequest(GTt.WorkDoneProgressCreateRequest.type,n)}dispose(){for(const e of this.activeParts)e.done();this.activeParts.clear()}}X6.ProgressFeature=YTt;var J6={};Object.defineProperty(J6,"__esModule",{value:!0}),J6.SemanticTokensFeature=void 0;const Z6=Bl,XTt=Om,er=Ea,JTt=so;function e7(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class ZTt extends XTt.TextDocumentFeature{constructor(e){super(e,er.SemanticTokensRegistrationType.type)}fillClientCapabilities(e){const t=e7(e7(e,"textDocument"),"semanticTokens");t.dynamicRegistration=!0,t.tokenTypes=[er.SemanticTokenTypes.namespace,er.SemanticTokenTypes.type,er.SemanticTokenTypes.class,er.SemanticTokenTypes.enum,er.SemanticTokenTypes.interface,er.SemanticTokenTypes.struct,er.SemanticTokenTypes.typeParameter,er.SemanticTokenTypes.parameter,er.SemanticTokenTypes.variable,er.SemanticTokenTypes.property,er.SemanticTokenTypes.enumMember,er.SemanticTokenTypes.event,er.SemanticTokenTypes.function,er.SemanticTokenTypes.method,er.SemanticTokenTypes.macro,er.SemanticTokenTypes.keyword,er.SemanticTokenTypes.modifier,er.SemanticTokenTypes.comment,er.SemanticTokenTypes.string,er.SemanticTokenTypes.number,er.SemanticTokenTypes.regexp,er.SemanticTokenTypes.operator],t.tokenModifiers=[er.SemanticTokenModifiers.declaration,er.SemanticTokenModifiers.definition,er.SemanticTokenModifiers.readonly,er.SemanticTokenModifiers.static,er.SemanticTokenModifiers.deprecated,er.SemanticTokenModifiers.abstract,er.SemanticTokenModifiers.async,er.SemanticTokenModifiers.modification,er.SemanticTokenModifiers.documentation,er.SemanticTokenModifiers.defaultLibrary],t.formats=[er.TokenFormat.Relative],t.requests={range:!0,full:{delta:!0}},t.multilineTokenSupport=!1,t.overlappingTokenSupport=!1,e7(e7(e,"workspace"),"semanticTokens").refreshSupport=!0}initialize(e,t){this._client.onRequest(er.SemanticTokensRefreshRequest.type,async()=>{for(const o of this.getAllProviders())o.onDidChangeSemanticTokensEmitter.fire()});const[r,s]=this.getRegistration(t,e.semanticTokensProvider);!r||!s||this.register({id:r,registerOptions:s})}registerLanguageProvider(e){const t=JTt.boolean(e.full)?e.full:e.full!==void 0,n=e.full!==void 0&&typeof e.full!="boolean"&&e.full.delta===!0,r=new Z6.EventEmitter,s=t?{onDidChangeSemanticTokens:r.event,provideDocumentSemanticTokens:(d,h)=>{const g=this._client,m=g.clientOptions.middleware,v=(C,S)=>{const b={textDocument:g.code2ProtocolConverter.asTextDocumentIdentifier(C)};return g.sendRequest(er.SemanticTokensRequest.type,b,S).then(A=>g.protocol2CodeConverter.asSemanticTokens(A),A=>g.handleFailedRequest(er.SemanticTokensRequest.type,A,null))};return m.provideDocumentSemanticTokens?m.provideDocumentSemanticTokens(d,h,v):v(d,h)},provideDocumentSemanticTokensEdits:n?(d,h,g)=>{const m=this._client,v=m.clientOptions.middleware,C=(S,b,A)=>{const y={textDocument:m.code2ProtocolConverter.asTextDocumentIdentifier(S),previousResultId:b};return m.sendRequest(er.SemanticTokensDeltaRequest.type,y,A).then(w=>er.SemanticTokens.is(w)?m.protocol2CodeConverter.asSemanticTokens(w):m.protocol2CodeConverter.asSemanticTokensEdits(w),w=>m.handleFailedRequest(er.SemanticTokensDeltaRequest.type,w,null))};return v.provideDocumentSemanticTokensEdits?v.provideDocumentSemanticTokensEdits(d,h,g,C):C(d,h,g)}:void 0}:void 0,a=e.range===!0?{provideDocumentRangeSemanticTokens:(d,h,g)=>{const m=this._client,v=m.clientOptions.middleware,C=(S,b,A)=>{const y={textDocument:m.code2ProtocolConverter.asTextDocumentIdentifier(S),range:m.code2ProtocolConverter.asRange(b)};return m.sendRequest(er.SemanticTokensRangeRequest.type,y,A).then(w=>m.protocol2CodeConverter.asSemanticTokens(w),w=>m.handleFailedRequest(er.SemanticTokensRangeRequest.type,w,null))};return v.provideDocumentRangeSemanticTokens?v.provideDocumentRangeSemanticTokens(d,h,g,C):C(d,h,g)}}:void 0,l=[],u=this._client.protocol2CodeConverter.asSemanticTokensLegend(e.legend);return s!==void 0&&l.push(Z6.languages.registerDocumentSemanticTokensProvider(e.documentSelector,s,u)),a!==void 0&&l.push(Z6.languages.registerDocumentRangeSemanticTokensProvider(e.documentSelector,a,u)),[new Z6.Disposable(()=>l.forEach(d=>d.dispose())),{range:a,full:s,onDidChangeSemanticTokensEmitter:r}]}}J6.SemanticTokensFeature=ZTt;var t7={};Object.defineProperty(t7,"__esModule",{value:!0}),t7.DeclarationFeature=void 0;const ext=Bl,yte=Ea,txt=Om;function rIe(i,e){return i[e]===void 0&&(i[e]={}),i[e]}class ixt extends txt.TextDocumentFeature{constructor(e){super(e,yte.DeclarationRequest.type)}fillClientCapabilities(e){const t=rIe(rIe(e,"textDocument"),"declaration");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){const[n,r]=this.getRegistration(t,e.declarationProvider);!n||!r||this.register({id:n,registerOptions:r})}registerLanguageProvider(e){const t={provideDeclaration:(n,r,s)=>{const o=this._client,a=(c,u,d)=>o.sendRequest(yte.DeclarationRequest.type,o.code2ProtocolConverter.asTextDocumentPositionParams(c,u),d).then(o.protocol2CodeConverter.asDeclarationResult,h=>o.handleFailedRequest(yte.DeclarationRequest.type,h,null)),l=o.clientOptions.middleware;return l.provideDeclaration?l.provideDeclaration(n,r,s,a):a(n,r,s)}};return[ext.languages.registerDeclarationProvider(e.documentSelector,t),t]}}t7.DeclarationFeature=ixt,function(i){var e=Ei&&Ei.__createBinding||(Object.create?function(v,C,S,b){b===void 0&&(b=S),Object.defineProperty(v,b,{enumerable:!0,get:function(){return C[S]}})}:function(v,C,S,b){b===void 0&&(b=S),v[b]=C[S]}),t=Ei&&Ei.__exportStar||function(v,C){for(var S in v)S!=="default"&&!Object.prototype.hasOwnProperty.call(C,S)&&e(C,v,S)};Object.defineProperty(i,"__esModule",{value:!0}),i.MonacoLanguageClient=void 0;const n=Om,r=V6,s=RA,o=$6,a=z6,l=ST,c=Q6,u=Y6,d=X6,h=J6,g=t7;t(Om,i);class m extends n.BaseLanguageClient{constructor({id:C,name:S,clientOptions:b,connectionProvider:A}){super(C||S.toLowerCase(),S,b);this.connectionProvider=A,this.createConnection=this.doCreateConnection.bind(this);const y=this;y._p2c=new Proxy(y._p2c,{get:(w,T)=>T==="asUri"?w[T]:m.bypassConversion}),y._c2p=new Proxy(y._c2p,{get:(w,T)=>T==="asUri"?w[T]:T==="asCompletionParams"?(I,x,D)=>({textDocument:w.asTextDocumentIdentifier(I),position:x,context:D}):T==="asWillSaveTextDocumentParams"?I=>({textDocument:w.asTextDocumentIdentifier(I.document),reason:I.reason}):T.endsWith("Params")?w[T]:m.bypassConversion})}doCreateConnection(){const C=this.handleConnectionError.bind(this),S=this.handleConnectionClosed.bind(this);return this.connectionProvider.get(C,S,this.outputChannel)}createMessageTransports(C){throw new Error("Unsupported")}registerBuiltinFeatures(){super.registerBuiltinFeatures(),this.registerFeature(new s.ConfigurationFeature(this)),this.registerFeature(new r.TypeDefinitionFeature(this)),this.registerFeature(new o.ImplementationFeature(this)),this.registerFeature(new a.ColorProviderFeature(this)),this.registerFeature(new l.WorkspaceFoldersFeature(this)),c.FoldingRangeFeature.asFoldingRanges=m.bypassConversion,this.registerFeature(new c.FoldingRangeFeature(this)),this.registerFeature(new g.DeclarationFeature(this)),this.registerFeature(new h.SemanticTokensFeature(this)),this.registerFeature(new u.CallHierarchyFeature(this)),this.registerFeature(new d.ProgressFeature(this));const C=this._features;for(const S of C)S instanceof a.ColorProviderFeature&&(S.asColor=m.bypassConversion,S.asColorInformations=m.bypassConversion,S.asColorPresentations=m.bypassConversion)}registerProposedFeatures(){}getLocale(){return navigator.language||"en-US"}}i.MonacoLanguageClient=m,m.bypassConversion=v=>v||void 0}(FEe);var Y2={};Object.defineProperty(Y2,"__esModule",{value:!0}),Y2.MonacoCommands=void 0;class nxt{constructor(e){this._monaco=e}registerCommand(e,t,n){return this._monaco.editor.registerCommand(e,(r,...s)=>t.call(n,...s))}}Y2.MonacoCommands=nxt;var X2={};Object.defineProperty(X2,"__esModule",{value:!0}),X2.ConsoleWindow=void 0;const i7=Fg;class rxt{constructor(){this.channels=new Map}showMessage(e,t,...n){return e===i7.MessageType.Error&&console.error(t),e===i7.MessageType.Warning&&console.warn(t),e===i7.MessageType.Info&&console.info(t),e===i7.MessageType.Log&&console.log(t),Promise.resolve(void 0)}createOutputChannel(e){const t=this.channels.get(e);if(t)return t;const n={append(r){console.log(e+": "+r)},appendLine(r){console.log(e+": "+r)},show(){},dispose(){}};return this.channels.set(e,n),n}}X2.ConsoleWindow=rxt;var bte={},sxt=function(i,e){if(typeof i!="string")throw new TypeError("Expected a string");for(var t=String(i),n="",r=e?!!e.extended:!1,s=e?!!e.globstar:!1,o=!1,a=e&&typeof e.flags=="string"?e.flags:"",l,c=0,u=t.length;c<u;c++)switch(l=t[c],l){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":n+="\\"+l;break;case"?":if(r){n+=".";break}case"[":case"]":if(r){n+=l;break}case"{":if(r){o=!0,n+="(";break}case"}":if(r){o=!1,n+=")";break}case",":if(o){n+="|";break}n+="\\"+l;break;case"*":for(var d=t[c-1],h=1;t[c+1]==="*";)h++,c++;var g=t[c+1];if(!s)n+=".*";else{var m=h>1&&(d==="/"||d===void 0)&&(g==="/"||g===void 0);m?(n+="((?:[^/]*(?:/|$))*)",c++):n+="([^/]*)"}break;default:n+=l}return(!a||!~a.indexOf("g"))&&(n="^"+n+"$"),new RegExp(n,a)},ET={};Object.defineProperty(ET,"__esModule",{value:!0}),ET.MonacoModelDiagnostics=ET.MonacoDiagnosticCollection=void 0;const Ate=U2;class oxt{constructor(e,t,n){this._monaco=e,this.name=t,this.p2m=n,this.diagnostics=new Map,this.toDispose=new Ate.DisposableCollection}dispose(){this.toDispose.dispose()}get(e){const t=this.diagnostics.get(e);return t?t.diagnostics:[]}set(e,t){const n=this.diagnostics.get(e);if(n)n.diagnostics=t;else{const r=new sIe(this._monaco,e,t,this.name,this.p2m);this.diagnostics.set(e,r),this.toDispose.push(Ate.Disposable.create(()=>{this.diagnostics.delete(e),r.dispose()}))}}}ET.MonacoDiagnosticCollection=oxt;class sIe{constructor(e,t,n,r,s){this._monaco=e,this.owner=r,this.p2m=s,this._markers=[],this._diagnostics=[],this.toDispose=new Ate.DisposableCollection,this.uri=this._monaco.Uri.parse(t),this.diagnostics=n,this.toDispose.push(this._monaco.editor.onDidCreateModel(o=>this.doUpdateModelMarkers(o)))}set diagnostics(e){this._diagnostics=e,this._markers=this.p2m.asDiagnostics(e),this.updateModelMarkers()}get diagnostics(){return this._diagnostics}get markers(){return this._markers}dispose(){this._markers=[],this.updateModelMarkers(),this.toDispose.dispose()}updateModelMarkers(){const e=this._monaco.editor.getModel(this.uri);this.doUpdateModelMarkers(e||void 0)}doUpdateModelMarkers(e){e&&this.uri.toString()===e.uri.toString()&&this._monaco.editor.setModelMarkers(e,this.owner,this._markers)}}ET.MonacoModelDiagnostics=sIe,function(i){var e=Ei&&Ei.__awaiter||function(c,u,d,h){function g(m){return m instanceof d?m:new d(function(v){v(m)})}return new(d||(d=Promise))(function(m,v){function C(A){try{b(h.next(A))}catch(y){v(y)}}function S(A){try{b(h.throw(A))}catch(y){v(y)}}function b(A){A.done?m(A.value):g(A.value).then(C,S)}b((h=h.apply(c,u||[])).next())})};Object.defineProperty(i,"__esModule",{value:!0}),i.MonacoLanguages=i.testGlob=i.MonacoModelIdentifier=void 0;const t=sxt,n=Fg,r=ET,s=U2;var o;(function(c){function u(h,g){return{uri:h.Uri.parse(g.uri),languageId:g.languageId}}c.fromDocument=u;function d(h){return{uri:h.uri,languageId:h.getLanguageId()}}c.fromModel=d})(o=i.MonacoModelIdentifier||(i.MonacoModelIdentifier={}));function a(c,u){return t(c,{extended:!0,globstar:!0}).test(u)}i.testGlob=a;class l{constructor(u,d,h){this._monaco=u,this.p2m=d,this.m2p=h}match(u,d){return this.matchModel(u,o.fromDocument(this._monaco,d))}createDiagnosticCollection(u){return new r.MonacoDiagnosticCollection(this._monaco,u||"default",this.p2m)}registerCompletionItemProvider(u,d,...h){const g=this.createCompletionProvider(u,d,...h),m=new s.DisposableCollection;for(const v of this.matchLanguage(u))m.push(this._monaco.languages.registerCompletionItemProvider(v,g));return m}createCompletionProvider(u,d,...h){return{triggerCharacters:h,provideCompletionItems:(g,m,v,C)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(g)))return;const S=g.getWordUntilPosition(m),b=new this._monaco.Range(m.lineNumber,S.startColumn,m.lineNumber,S.endColumn),A=this.m2p.asCompletionParams(g,m,v),y=yield d.provideCompletionItems(A,C);return y&&this.p2m.asCompletionResult(y,b)}),resolveCompletionItem:d.resolveCompletionItem?(g,m)=>e(this,void 0,void 0,function*(){const v=this.m2p.asCompletionItem(g),C=yield d.resolveCompletionItem(v,m);if(C){const S=this.p2m.asCompletionItem(C,g.range);Object.assign(g,S)}return g}):void 0}}registerHoverProvider(u,d){const h=this.createHoverProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerHoverProvider(m,h));return g}createHoverProvider(u,d){return{provideHover:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentPositionParams(h,g),C=yield d.provideHover(v,m);return C&&this.p2m.asHover(C)})}}registerSignatureHelpProvider(u,d,...h){const g=this.createSignatureHelpProvider(u,d,...h),m=new s.DisposableCollection;for(const v of this.matchLanguage(u))m.push(this._monaco.languages.registerSignatureHelpProvider(v,g));return m}createSignatureHelpProvider(u,d,...h){return{signatureHelpTriggerCharacters:[...d.triggerCharacters||h||[]],signatureHelpRetriggerCharacters:d.retriggerCharacters,provideSignatureHelp:(m,v,C,S)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(m)))return;const b=this.m2p.asTextDocumentPositionParams(m,v),A=yield d.provideSignatureHelp(b,C,this.m2p.asSignatureHelpContext(S));return A&&this.p2m.asSignatureHelpResult(A)})}}registerDefinitionProvider(u,d){const h=this.createDefinitionProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerDefinitionProvider(m,h));return g}createDefinitionProvider(u,d){return{provideDefinition:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentPositionParams(h,g),C=yield d.provideDefinition(v,m);return C&&this.p2m.asDefinitionResult(C)})}}registerReferenceProvider(u,d){const h=this.createReferenceProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerReferenceProvider(m,h));return g}createReferenceProvider(u,d){return{provideReferences:(h,g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const C=this.m2p.asReferenceParams(h,g,m),S=yield d.provideReferences(C,v);return S&&this.p2m.asReferences(S)})}}registerDocumentHighlightProvider(u,d){const h=this.createDocumentHighlightProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerDocumentHighlightProvider(m,h));return g}createDocumentHighlightProvider(u,d){return{provideDocumentHighlights:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentPositionParams(h,g),C=yield d.provideDocumentHighlights(v,m);return C&&this.p2m.asDocumentHighlights(C)})}}registerDocumentSymbolProvider(u,d){const h=this.createDocumentSymbolProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerDocumentSymbolProvider(m,h));return g}createDocumentSymbolProvider(u,d){return{provideDocumentSymbols:(h,g)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const m=this.m2p.asDocumentSymbolParams(h),v=yield d.provideDocumentSymbols(m,g);return v&&this.p2m.asDocumentSymbols(v)})}}registerCodeActionsProvider(u,d){const h=this.createCodeActionProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerCodeActionProvider(m,h));return g}createCodeActionProvider(u,d){return{provideCodeActions:(h,g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const C=this.m2p.asCodeActionParams(h,g,m);let S=yield d.provideCodeActions(C,v);return S&&this.p2m.asCodeActionList(S)}),resolveCodeAction:d.resolveCodeAction?(h,g)=>e(this,void 0,void 0,function*(){const m=this.m2p.asCodeAction(h),v=yield d.resolveCodeAction(m,g);if(v){const C=this.p2m.asCodeAction(v);Object.assign(h,C)}return h}):void 0}}registerCodeLensProvider(u,d){const h=this.createCodeLensProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerCodeLensProvider(m,h));return g}createCodeLensProvider(u,d){return{provideCodeLenses:(h,g)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const m=this.m2p.asCodeLensParams(h),v=yield d.provideCodeLenses(m,g);return v&&this.p2m.asCodeLensList(v)}),resolveCodeLens:d.resolveCodeLens?(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return g;const v=this.m2p.asCodeLens(g),C=yield d.resolveCodeLens(v,m);if(C){const S=this.p2m.asCodeLens(C);Object.assign(g,S)}return g}):void 0}}registerDocumentFormattingEditProvider(u,d){const h=this.createDocumentFormattingEditProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerDocumentFormattingEditProvider(m,h));return g}createDocumentFormattingEditProvider(u,d){return{provideDocumentFormattingEdits:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asDocumentFormattingParams(h,g),C=yield d.provideDocumentFormattingEdits(v,m);return C&&this.p2m.asTextEdits(C)})}}registerDocumentRangeFormattingEditProvider(u,d){const h=this.createDocumentRangeFormattingEditProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerDocumentRangeFormattingEditProvider(m,h));return g}createDocumentRangeFormattingEditProvider(u,d){return{provideDocumentRangeFormattingEdits:(h,g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const C=this.m2p.asDocumentRangeFormattingParams(h,g,m),S=yield d.provideDocumentRangeFormattingEdits(C,v);return S&&this.p2m.asTextEdits(S)})}}registerOnTypeFormattingEditProvider(u,d,h,...g){const m=this.createOnTypeFormattingEditProvider(u,d,h,...g),v=new s.DisposableCollection;for(const C of this.matchLanguage(u))v.push(this._monaco.languages.registerOnTypeFormattingEditProvider(C,m));return v}createOnTypeFormattingEditProvider(u,d,h,...g){return{autoFormatTriggerCharacters:[h].concat(g),provideOnTypeFormattingEdits:(v,C,S,b,A)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(v)))return;const y=this.m2p.asDocumentOnTypeFormattingParams(v,C,S,b),w=yield d.provideOnTypeFormattingEdits(y,A);return w&&this.p2m.asTextEdits(w)})}}registerRenameProvider(u,d){const h=this.createRenameProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerRenameProvider(m,h));return g}createRenameProvider(u,d){return{provideRenameEdits:(h,g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const C=this.m2p.asRenameParams(h,g,m),S=yield d.provideRenameEdits(C,v);return S&&this.p2m.asWorkspaceEdit(S)})}}registerDocumentLinkProvider(u,d){const h=this.createDocumentLinkProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerLinkProvider(m,h));return g}createDocumentLinkProvider(u,d){return{provideLinks:(h,g)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const m=this.m2p.asDocumentLinkParams(h),v=yield d.provideDocumentLinks(m,g);return v&&this.p2m.asDocumentLinks(v)}),resolveLink:(h,g)=>e(this,void 0,void 0,function*(){if(d.resolveDocumentLink&&(h.url===null||h.url===void 0)){const m=this.m2p.asDocumentLink(h),v=yield d.resolveDocumentLink(m,g);if(v){const C=this.p2m.asDocumentLink(v);Object.assign(h,C)}}return h})}}registerImplementationProvider(u,d){const h=this.createImplementationProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerImplementationProvider(m,h));return g}createImplementationProvider(u,d){return{provideImplementation:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentPositionParams(h,g),C=yield d.provideImplementation(v,m);return C&&this.p2m.asDefinitionResult(C)})}}registerTypeDefinitionProvider(u,d){const h=this.createTypeDefinitionProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerTypeDefinitionProvider(m,h));return g}createTypeDefinitionProvider(u,d){return{provideTypeDefinition:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentPositionParams(h,g),C=yield d.provideTypeDefinition(v,m);return C&&this.p2m.asDefinitionResult(C)})}}registerColorProvider(u,d){const h=this.createDocumentColorProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerColorProvider(m,h));return g}createDocumentColorProvider(u,d){return{provideDocumentColors:(h,g)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const m=this.m2p.asTextDocumentIdentifier(h),v=yield d.provideDocumentColors({textDocument:m},g);return v&&this.p2m.asColorInformations(v)}),provideColorPresentations:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentIdentifier(h),C=this.m2p.asRange(g.range),S=yield d.provideColorPresentations({textDocument:v,color:g.color,range:C},m);return S&&this.p2m.asColorPresentations(S)})}}registerFoldingRangeProvider(u,d){const h=this.createFoldingRangeProvider(u,d),g=new s.DisposableCollection;for(const m of this.matchLanguage(u))g.push(this._monaco.languages.registerFoldingRangeProvider(m,h));return g}createFoldingRangeProvider(u,d){return{provideFoldingRanges:(h,g,m)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(h)))return;const v=this.m2p.asTextDocumentIdentifier(h),C=yield d.provideFoldingRanges({textDocument:v},m);return C&&this.p2m.asFoldingRanges(C)})}}registerDocumentSemanticTokensProvider(u,d,h){const g=this.createSemanticTokensProvider(u,d,h),m=new s.DisposableCollection;for(const v of this.matchLanguage(u))m.push(this._monaco.languages.registerDocumentSemanticTokensProvider(v,g));return m}createSemanticTokensProvider(u,d,h){return{getLegend(){return h},onDidChange:d.onDidChange,provideDocumentSemanticTokens:(g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(g)))return;const C=this.m2p.asTextDocumentIdentifier(g),S=yield d.provideDocumentSemanticTokens({textDocument:C},v);return S&&this.p2m.asSemanticTokens(S)}),releaseDocumentSemanticTokens:g=>{}}}registerDocumentRangeSemanticTokensProvider(u,d,h){const g=this.createRangeSemanticTokensProvider(u,d,h),m=new s.DisposableCollection;for(const v of this.matchLanguage(u))m.push(this._monaco.languages.registerDocumentRangeSemanticTokensProvider(v,g));return m}createRangeSemanticTokensProvider(u,d,h){return{getLegend(){return h},provideDocumentRangeSemanticTokens:(g,m,v)=>e(this,void 0,void 0,function*(){if(!this.matchModel(u,o.fromModel(g)))return;const C=this.m2p.asTextDocumentIdentifier(g),S=yield d.provideDocumentRangeSemanticTokens({textDocument:C,range:this.m2p.asRange(m)},v);return S&&this.p2m.asSemanticTokens(S)})}}matchModel(u,d){return Array.isArray(u)?u.some(h=>this.matchModel(h,d)):n.DocumentFilter.is(u)?!(!!u.language&&u.language!==d.languageId||!!u.scheme&&u.scheme!==d.uri.scheme||!!u.pattern&&!a(u.pattern,d.uri.path)):u===d.languageId}matchLanguage(u){const d=new Set;if(Array.isArray(u))for(const h of u)d.add(this.matchLanguageByFilter(h));else d.add(this.matchLanguageByFilter(u));return d.has("*")?new Set(["*"]):d}matchLanguageByFilter(u){return n.DocumentFilter.is(u)?u.language?u.language:"*":u}}i.MonacoLanguages=l}(bte);var J2={};Object.defineProperty(J2,"__esModule",{value:!0}),J2.MonacoWorkspace=void 0;const Ste=Fg,axt=BEe;class lxt{constructor(e,t,n,r=null){this._monaco=e,this.p2m=t,this.m2p=n,this._rootUri=r,this.documents=new Map,this.onDidOpenTextDocumentEmitter=new Ste.Emitter,this.onDidCloseTextDocumentEmitter=new Ste.Emitter,this.onDidChangeTextDocumentEmitter=new Ste.Emitter;for(const s of this._monaco.editor.getModels())this.addModel(s);this._monaco.editor.onDidCreateModel(s=>this.addModel(s)),this._monaco.editor.onWillDisposeModel(s=>this.removeModel(s)),this._monaco.editor.onDidChangeModelLanguage(s=>{this.removeModel(s.model),this.addModel(s.model)})}get rootUri(){return this._rootUri}removeModel(e){const t=e.uri.toString(),n=this.documents.get(t);n&&(this.documents.delete(t),this.onDidCloseTextDocumentEmitter.fire(n))}addModel(e){const t=e.uri.toString(),n=this.setModel(t,e);this.onDidOpenTextDocumentEmitter.fire(n),e.onDidChangeContent(r=>this.onDidChangeContent(t,e,r))}onDidChangeContent(e,t,n){const r=this.setModel(e,t),s=[];for(const o of n.changes){const a=this.m2p.asRange(o.range),l=o.rangeLength,c=o.text;s.push({range:a,rangeLength:l,text:c})}this.onDidChangeTextDocumentEmitter.fire({textDocument:r,contentChanges:s})}setModel(e,t){const n=axt.TextDocument.create(e,t.getLanguageId(),t.getVersionId(),t.getValue());return this.documents.set(e,n),n}get textDocuments(){return Array.from(this.documents.values())}get onDidOpenTextDocument(){return this.onDidOpenTextDocumentEmitter.event}get onDidCloseTextDocument(){return this.onDidCloseTextDocumentEmitter.event}get onDidChangeTextDocument(){return this.onDidChangeTextDocumentEmitter.event}applyEdit(e){const t=this.p2m.asWorkspaceEdit(e),n=t.edits?t.edits.reduce((s,o)=>{const a=o;return s[a.resource.toString()]=this._monaco.editor.getModel(a.resource),s},{}):{};if(!Object.keys(n).map(s=>n[s]).every(s=>!!s))return Promise.resolve(!1);const r=t.edits?t.edits.reduce((s,o)=>{const a=o,l=a.resource.toString();return l in s||(s[l]=[]),s[l].push({range:this._monaco.Range.lift(a.edit.range),text:a.edit.text}),s},{}):{};return Object.keys(r).forEach(s=>{n[s].pushEditOperations([],r[s].map(o=>({identifier:{major:1,minor:0},range:o.range,text:o.text,forceMoveMarkers:!0})),()=>[])}),Promise.resolve(!0)}}J2.MonacoWorkspace=lxt;var oIe={},wte={};(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.ProtocolToMonacoConverter=i.MonacoToProtocolConverter=i.ProtocolCodeAction=i.ProtocolIMarkerData=i.ProtocolCompletionItem=i.ProtocolCodeLens=i.ProtocolDocumentLink=void 0;const e=Ea,t=Ia,n=Fg;var r;(function(h){function g(m){return!!m&&"data"in m}h.is=g})(r=i.ProtocolDocumentLink||(i.ProtocolDocumentLink={}));var s;(function(h){function g(m){return!!m&&"data"in m}h.is=g})(s=i.ProtocolCodeLens||(i.ProtocolCodeLens={}));var o;(function(h){function g(m){return!!m&&"data"in m}h.is=g})(o=i.ProtocolCompletionItem||(i.ProtocolCompletionItem={}));var a;(function(h){function g(m){return!!m&&"data"in m}h.is=g})(a=i.ProtocolIMarkerData||(i.ProtocolIMarkerData={}));var l;(function(h){function g(m){return!!m&&"data"in m}h.is=g})(l=i.ProtocolCodeAction||(i.ProtocolCodeAction={}));function c(h){return h.insert!==void 0}class u{constructor(g){this._monaco=g}asPosition(g,m){const v=g==null?void 0:g-1,C=m==null?void 0:m-1;return{line:v,character:C}}asRange(g){if(g!==void 0){if(g===null)return null;if(c(g))return this.asRange(g.insert);{const m=this.asPosition(g.startLineNumber,g.startColumn),v=this.asPosition(g.endLineNumber,g.endColumn);return{start:m,end:v}}}}asTextDocumentIdentifier(g){return{uri:g.uri.toString()}}asTextDocumentPositionParams(g,m){return{textDocument:this.asTextDocumentIdentifier(g),position:this.asPosition(m.lineNumber,m.column)}}asCompletionParams(g,m,v){return Object.assign(this.asTextDocumentPositionParams(g,m),{context:this.asCompletionContext(v)})}asCompletionContext(g){return{triggerKind:this.asCompletionTriggerKind(g.triggerKind),triggerCharacter:g.triggerCharacter}}asSignatureHelpContext(g){return{triggerKind:this.asSignatureHelpTriggerKind(g.triggerKind),triggerCharacter:g.triggerCharacter,isRetrigger:g.isRetrigger,activeSignatureHelp:this.asSignatureHelp(g.activeSignatureHelp)}}asSignatureHelp(g){if(g!==void 0)return{signatures:g.signatures.map(m=>this.asSignatureInformation(m)),activeParameter:g.activeParameter,activeSignature:g.activeSignature}}asSignatureInformation(g){return{documentation:this.asMarkupContent(g.documentation),label:g.label,parameters:g.parameters.map(m=>this.asParameterInformation(m)),activeParameter:g.activeParameter}}asParameterInformation(g){return{documentation:this.asMarkupContent(g.documentation),label:g.label}}asMarkupContent(g){if(g!==void 0)return typeof g=="string"?g:{kind:n.MarkupKind.Markdown,value:g.value}}asSignatureHelpTriggerKind(g){switch(g){case this._monaco.languages.SignatureHelpTriggerKind.ContentChange:return n.SignatureHelpTriggerKind.ContentChange;case this._monaco.languages.SignatureHelpTriggerKind.TriggerCharacter:return n.SignatureHelpTriggerKind.TriggerCharacter;default:return n.SignatureHelpTriggerKind.Invoke}}asCompletionTriggerKind(g){switch(g){case this._monaco.languages.CompletionTriggerKind.TriggerCharacter:return n.CompletionTriggerKind.TriggerCharacter;case this._monaco.languages.CompletionTriggerKind.TriggerForIncompleteCompletions:return n.CompletionTriggerKind.TriggerForIncompleteCompletions;default:return n.CompletionTriggerKind.Invoked}}asCompletionItem(g){var m,v;const C={label:g.label},S=o.is(g)?g:void 0;return g.detail&&(C.detail=g.detail),g.documentation&&(typeof g.documentation=="string"?C.documentation=g.documentation:C.documentation=this.asDocumentation((m=S==null?void 0:S.documentationFormat)!==null&&m!==void 0?m:n.MarkupKind.Markdown,g.documentation)),g.filterText&&(C.filterText=g.filterText),this.fillPrimaryInsertText(C,g),t.number(g.kind)&&(C.kind=this.asCompletionItemKind(g.kind,S&&S.originalItemKind)),g.sortText&&(C.sortText=g.sortText),g.additionalTextEdits&&(C.additionalTextEdits=this.asTextEdits(g.additionalTextEdits)),g.command&&(C.command=this.asCommand(g.command)),g.commitCharacters&&(C.commitCharacters=g.commitCharacters.slice()),g.command&&(C.command=this.asCommand(g.command)),(g.preselect===!0||g.preselect===!1)&&(C.preselect=g.preselect),S&&(S.data!==void 0&&(C.data=S.data),(S.deprecated===!0||S.deprecated===!1)&&(C.deprecated=S.deprecated)),g.tags&&(C.tags=(v=g.tags)===null||v===void 0?void 0:v.slice()),C}asCompletionItemKind(g,m){if(m!==void 0)return m;switch(g){case this._monaco.languages.CompletionItemKind.Method:return n.CompletionItemKind.Method;case this._monaco.languages.CompletionItemKind.Function:return n.CompletionItemKind.Function;case this._monaco.languages.CompletionItemKind.Constructor:return n.CompletionItemKind.Constructor;case this._monaco.languages.CompletionItemKind.Field:return n.CompletionItemKind.Field;case this._monaco.languages.CompletionItemKind.Variable:return n.CompletionItemKind.Variable;case this._monaco.languages.CompletionItemKind.Class:return n.CompletionItemKind.Class;case this._monaco.languages.CompletionItemKind.Struct:return n.CompletionItemKind.Struct;case this._monaco.languages.CompletionItemKind.Interface:return n.CompletionItemKind.Interface;case this._monaco.languages.CompletionItemKind.Module:return n.CompletionItemKind.Module;case this._monaco.languages.CompletionItemKind.Property:return n.CompletionItemKind.Property;case this._monaco.languages.CompletionItemKind.Event:return n.CompletionItemKind.Event;case this._monaco.languages.CompletionItemKind.Operator:return n.CompletionItemKind.Operator;case this._monaco.languages.CompletionItemKind.Unit:return n.CompletionItemKind.Unit;case this._monaco.languages.CompletionItemKind.Value:return n.CompletionItemKind.Value;case this._monaco.languages.CompletionItemKind.Constant:return n.CompletionItemKind.Constant;case this._monaco.languages.CompletionItemKind.Enum:return n.CompletionItemKind.Enum;case this._monaco.languages.CompletionItemKind.EnumMember:return n.CompletionItemKind.EnumMember;case this._monaco.languages.CompletionItemKind.Keyword:return n.CompletionItemKind.Keyword;case this._monaco.languages.CompletionItemKind.Text:return n.CompletionItemKind.Text;case this._monaco.languages.CompletionItemKind.Color:return n.CompletionItemKind.Color;case this._monaco.languages.CompletionItemKind.File:return n.CompletionItemKind.File;case this._monaco.languages.CompletionItemKind.Reference:return n.CompletionItemKind.Reference;case this._monaco.languages.CompletionItemKind.Customcolor:return n.CompletionItemKind.Color;case this._monaco.languages.CompletionItemKind.Folder:return n.CompletionItemKind.Folder;case this._monaco.languages.CompletionItemKind.TypeParameter:return n.CompletionItemKind.TypeParameter;case this._monaco.languages.CompletionItemKind.Snippet:return n.CompletionItemKind.Snippet;default:return g+1}}asDocumentation(g,m){switch(g){case n.MarkupKind.PlainText:return{kind:g,value:m};case n.MarkupKind.Markdown:return{kind:g,value:m.value};default:return`Unsupported Markup content received. Kind is: ${g}`}}fillPrimaryInsertText(g,m){let v=n.InsertTextFormat.PlainText,C,S;m.insertTextRules!==void 0&&(m.insertTextRules&this._monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet)==0&&(v=n.InsertTextFormat.Snippet,C=m.insertText),g.insertTextFormat=v,C=m.insertText,m.range&&(S=this.asRange(m.range)),g.insertTextFormat=v,m.fromEdit&&C&&S?g.textEdit={newText:C,range:S}:g.insertText=C,g.insertTextMode=m.insertTextMode}asTextEdit(g){return{range:this.asRange(g.range),newText:g.text||""}}asTextEdits(g){if(!!g)return g.map(m=>this.asTextEdit(m))}asReferenceParams(g,m,v){return{textDocument:this.asTextDocumentIdentifier(g),position:this.asPosition(m.lineNumber,m.column),context:{includeDeclaration:v.includeDeclaration}}}asDocumentSymbolParams(g){return{textDocument:this.asTextDocumentIdentifier(g)}}asCodeLensParams(g){return{textDocument:this.asTextDocumentIdentifier(g)}}asDiagnosticSeverity(g){switch(g){case this._monaco.MarkerSeverity.Error:return n.DiagnosticSeverity.Error;case this._monaco.MarkerSeverity.Warning:return n.DiagnosticSeverity.Warning;case this._monaco.MarkerSeverity.Info:return n.DiagnosticSeverity.Information;case this._monaco.MarkerSeverity.Hint:return n.DiagnosticSeverity.Hint}}asDiagnostic(g){const m=this.asRange(new this._monaco.Range(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn)),v=this.asDiagnosticSeverity(g.severity),C=n.Diagnostic.create(m,g.message,v,g.code,g.source);return a.is(g)&&(C.data=g.data,C.codeDescription=g.codeDescription),C}asDiagnostics(g){return g==null?g:g.map(m=>this.asDiagnostic(m))}asCodeActionContext(g){if(g==null)return g;const m=this.asDiagnostics(g.markers);return n.CodeActionContext.create(m,t.string(g.only)?[g.only]:void 0)}asCodeActionParams(g,m,v){return{textDocument:this.asTextDocumentIdentifier(g),range:this.asRange(m),context:this.asCodeActionContext(v)}}asCommand(g){if(g){let m=g.arguments||[];return n.Command.create(g.title,g.id,...m)}}asCodeLens(g){let m=n.CodeLens.create(this.asRange(g.range));return g.command&&(m.command=this.asCommand(g.command)),s.is(g)&&g.data&&(m.data=g.data),m}asFormattingOptions(g){return{tabSize:g.tabSize,insertSpaces:g.insertSpaces}}asDocumentFormattingParams(g,m){return{textDocument:this.asTextDocumentIdentifier(g),options:this.asFormattingOptions(m)}}asDocumentRangeFormattingParams(g,m,v){return{textDocument:this.asTextDocumentIdentifier(g),range:this.asRange(m),options:this.asFormattingOptions(v)}}asDocumentOnTypeFormattingParams(g,m,v,C){return{textDocument:this.asTextDocumentIdentifier(g),position:this.asPosition(m.lineNumber,m.column),ch:v,options:this.asFormattingOptions(C)}}asRenameParams(g,m,v){return{textDocument:this.asTextDocumentIdentifier(g),position:this.asPosition(m.lineNumber,m.column),newName:v}}asDocumentLinkParams(g){return{textDocument:this.asTextDocumentIdentifier(g)}}asDocumentLink(g){let m=n.DocumentLink.create(this.asRange(g.range));return g.url&&(m.target=typeof g.url=="string"?g.url:g.url.toString()),r.is(g)&&g.data&&(m.data=g.data),g.tooltip&&(m.tooltip=g.tooltip),m}asCodeAction(g){const m={title:g.title},v=l.is(g)?g:void 0;if(t.number(g.kind)&&(m.kind=g.kind),g.diagnostics&&(m.diagnostics=this.asDiagnostics(g.diagnostics)),g.edit)throw new Error("VS Code code actions can only be converted to a protocol code action without an edit.");return g.command&&(m.command=this.asCommand(g.command)),g.isPreferred!==void 0&&(m.isPreferred=g.isPreferred),g.disabled&&(m.disabled={reason:g.disabled}),v&&v.data!==void 0&&(m.data=v.data),m}}i.MonacoToProtocolConverter=u;class d{constructor(g){this._monaco=g}asResourceEdits(g,m,v,C){return m.map(S=>({resource:g,edit:this.asTextEdit(S),modelVersionId:C,metadata:n.AnnotatedTextEdit.is(S)?v(S.annotationId):void 0}))}asWorkspaceEditMetadata(g){return{needsConfirmation:g.needsConfirmation===!0,label:g.label,description:g.description}}asWorkspaceEdit(g){if(!g)return;const m=new Map;if(g.changeAnnotations!==void 0)for(const S of Object.keys(g.changeAnnotations)){const b=this.asWorkspaceEditMetadata(g.changeAnnotations[S]);m.set(S,b)}const v=S=>{if(S!==void 0)return m.get(S)},C=[];if(g.documentChanges)g.documentChanges.forEach(S=>{if(e.CreateFile.is(S))C.push({newUri:this._monaco.Uri.parse(S.uri),options:S.options,metadata:v(S.annotationId)});else if(e.RenameFile.is(S))C.push({oldUri:this._monaco.Uri.parse(S.oldUri),newUri:this._monaco.Uri.parse(S.newUri),options:S.options,metadata:v(S.annotationId)});else if(e.DeleteFile.is(S))C.push({oldUri:this._monaco.Uri.parse(S.uri),options:S.options,metadata:v(S.annotationId)});else if(e.TextDocumentEdit.is(S)){const b=this._monaco.Uri.parse(S.textDocument.uri),A=typeof S.textDocument.version=="number"?S.textDocument.version:void 0;C.push(...this.asResourceEdits(b,S.edits,v,A))}else console.error(`Unknown workspace edit change received:
|
|
1557
1557
|
${JSON.stringify(S,void 0,4)}`)});else if(g.changes)for(const S of Object.keys(g.changes)){const b=this._monaco.Uri.parse(S);C.push(...this.asResourceEdits(b,g.changes[S],v))}return{edits:C}}asTextEdit(g){return g?{range:this.asRange(g.range),text:g.newText}:void 0}asTextEdits(g){if(!!g)return g.map(m=>this.asTextEdit(m))}asCodeLens(g){if(!g)return;let v={range:this.asRange(g.range)};return g.command&&(v.command=this.asCommand(g.command)),g.data!==void 0&&g.data!==null&&(v.data=g.data),v}asCodeLensList(g){if(!!g)return{lenses:g.map(m=>this.asCodeLens(m)),dispose:()=>{}}}asCodeActionList(g){return{actions:g.map(m=>this.asCodeAction(m)),dispose:()=>{}}}asCodeAction(g){return n.Command.is(g)?{command:{id:g.command,title:g.title,arguments:g.arguments},title:g.title}:{title:g.title,command:this.asCommand(g.command),edit:this.asWorkspaceEdit(g.edit),diagnostics:this.asDiagnostics(g.diagnostics),kind:g.kind,disabled:g.disabled?g.disabled.reason:void 0,isPreferred:g.isPreferred,data:g.data}}asCommand(g){if(!!g)return{id:g.command,title:g.title,arguments:g.arguments}}asDocumentSymbol(g){const m=g.children&&g.children.map(v=>this.asDocumentSymbol(v));return{name:g.name,detail:g.detail||"",kind:this.asSymbolKind(g.kind),tags:g.tags||[],range:this.asRange(g.range),selectionRange:this.asRange(g.selectionRange),children:m}}asDocumentSymbols(g){return n.DocumentSymbol.is(g[0])?g.map(m=>this.asDocumentSymbol(m)):this.asSymbolInformations(g)}asSymbolInformations(g,m){if(!!g)return g.map(v=>this.asSymbolInformation(v,m))}asSymbolInformation(g,m){const v=this.asLocation(m?Object.assign(Object.assign({},g.location),{uri:m.toString()}):g.location);return{name:g.name,detail:"",containerName:g.containerName,kind:this.asSymbolKind(g.kind),tags:g.tags||[],range:v.range,selectionRange:v.range}}asSymbolKind(g){return g<=n.SymbolKind.TypeParameter?g-1:this._monaco.languages.SymbolKind.Property}asDocumentHighlights(g){if(!!g)return g.map(m=>this.asDocumentHighlight(m))}asDocumentHighlight(g){const m=this.asRange(g.range),v=t.number(g.kind)?this.asDocumentHighlightKind(g.kind):void 0;return{range:m,kind:v}}asDocumentHighlightKind(g){switch(g){case n.DocumentHighlightKind.Text:return this._monaco.languages.DocumentHighlightKind.Text;case n.DocumentHighlightKind.Read:return this._monaco.languages.DocumentHighlightKind.Read;case n.DocumentHighlightKind.Write:return this._monaco.languages.DocumentHighlightKind.Write}return this._monaco.languages.DocumentHighlightKind.Text}asReferences(g){if(!!g)return g.map(m=>this.asLocation(m))}asDefinitionResult(g){if(!!g)return t.array(g)?g.length==0?void 0:n.LocationLink.is(g[0])?g.map(v=>this.asLocationLink(v)):g.map(v=>this.asLocation(v)):this.asLocation(g)}asLocation(g){if(!g)return;const m=this._monaco.Uri.parse(g.uri),v=this.asRange(g.range);return{uri:m,range:v}}asLocationLink(g){if(!g)return;let m={uri:this._monaco.Uri.parse(g.targetUri),range:this.asRange(g.targetSelectionRange),originSelectionRange:this.asRange(g.originSelectionRange),targetSelectionRange:this.asRange(g.targetSelectionRange)};if(!m.targetSelectionRange)throw new Error("targetSelectionRange must not be undefined or null");return m}asSignatureHelpResult(g){if(!g)return;let m={};return t.number(g.activeSignature)?m.activeSignature=g.activeSignature:m.activeSignature=0,t.number(g.activeParameter)?m.activeParameter=g.activeParameter:m.activeParameter=0,g.signatures?m.signatures=this.asSignatureInformations(g.signatures):m.signatures=[],{value:m,dispose:()=>{}}}asSignatureInformations(g){return g.map(m=>this.asSignatureInformation(m))}asSignatureInformation(g){let m={label:g.label};return g.documentation&&(m.documentation=this.asDocumentation(g.documentation)),g.parameters?m.parameters=this.asParameterInformations(g.parameters):m.parameters=[],g.activeParameter&&(m.activeParameter=g.activeParameter),m}asParameterInformations(g){return g.map(m=>this.asParameterInformation(m))}asParameterInformation(g){let m={label:g.label};return g.documentation&&(m.documentation=this.asDocumentation(g.documentation)),m}asHover(g){if(!!g)return{contents:this.asHoverContent(g.contents),range:this.asRange(g.range)}}asHoverContent(g){return Array.isArray(g)?g.map(m=>this.asMarkdownString(m)):[this.asMarkdownString(g)]}asDocumentation(g){return t.string(g)?g:g.kind===n.MarkupKind.PlainText?g.value:this.asMarkdownString(g)}asMarkdownString(g){if(n.MarkupContent.is(g))return{value:g.value};if(t.string(g))return{value:g};const{language:m,value:v}=g;return{value:"```"+m+`
|
|
1558
|
-
`+v+"\n```"}}asSeverity(g){return g===1?this._monaco.MarkerSeverity.Error:g===2?this._monaco.MarkerSeverity.Warning:g===3?this._monaco.MarkerSeverity.Info:this._monaco.MarkerSeverity.Hint}asDiagnostics(g){if(!!g)return g.map(m=>this.asDiagnostic(m))}asDiagnostic(g){return{code:typeof g.code=="number"?g.code.toString():g.code,severity:this.asSeverity(g.severity),message:g.message,source:g.source,startLineNumber:g.range.start.line+1,startColumn:g.range.start.character+1,endLineNumber:g.range.end.line+1,endColumn:g.range.end.character+1,relatedInformation:this.asRelatedInformations(g.relatedInformation),codeDescription:g.codeDescription,tags:g.tags,data:g.data}}asRelatedInformations(g){if(!!g)return g.map(m=>this.asRelatedInformation(m))}asRelatedInformation(g){return{resource:this._monaco.Uri.parse(g.location.uri),startLineNumber:g.location.range.start.line+1,startColumn:g.location.range.start.character+1,endLineNumber:g.location.range.end.line+1,endColumn:g.location.range.end.character+1,message:g.message}}asCompletionResult(g,m){if(!g)return{incomplete:!1,suggestions:[]};if(Array.isArray(g)){const v=g.map(C=>this.asCompletionItem(C,m));return{incomplete:!1,suggestions:v}}return{incomplete:g.isIncomplete,suggestions:g.items.map(v=>this.asCompletionItem(v,m))}}asCompletionItem(g,m){const v={label:g.label};g.detail&&(v.detail=g.detail),g.documentation&&(v.documentation=this.asDocumentation(g.documentation),v.documentationFormat=t.string(g.documentation)?void 0:g.documentation.kind),g.filterText&&(v.filterText=g.filterText);const C=this.asCompletionInsertText(g,m);if(v.insertText=C.insertText,v.range=C.range,v.fromEdit=C.fromEdit,C.isSnippet&&(v.insertTextRules=this._monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t.number(g.kind)){let[S,b]=this.asCompletionItemKind(g.kind);v.kind=S,b&&(v.originalItemKind=b)}return g.sortText&&(v.sortText=g.sortText),g.additionalTextEdits&&(v.additionalTextEdits=this.asTextEdits(g.additionalTextEdits)),t.stringArray(g.commitCharacters)&&(v.commitCharacters=g.commitCharacters.slice()),g.command&&(v.command=this.asCommand(g.command)),(g.deprecated===!0||g.deprecated===!1)&&(v.deprecated=g.deprecated),(g.preselect===!0||g.preselect===!1)&&(v.preselect=g.preselect),g.data!==void 0&&(v.data=g.data),(g.deprecated===!0||g.deprecated===!1)&&(v.deprecated=g.deprecated),g.insertTextMode&&(v.insertTextMode=g.insertTextMode),g.tags&&(v.tags=g.tags),v}asCompletionItemKind(g){if(n.CompletionItemKind.Text<=g&&g<=n.CompletionItemKind.TypeParameter)switch(g){case n.CompletionItemKind.Text:return[this._monaco.languages.CompletionItemKind.Text,void 0];case n.CompletionItemKind.Method:return[this._monaco.languages.CompletionItemKind.Method,void 0];case n.CompletionItemKind.Function:return[this._monaco.languages.CompletionItemKind.Function,void 0];case n.CompletionItemKind.Constructor:return[this._monaco.languages.CompletionItemKind.Constructor,void 0];case n.CompletionItemKind.Field:return[this._monaco.languages.CompletionItemKind.Field,void 0];case n.CompletionItemKind.Variable:return[this._monaco.languages.CompletionItemKind.Variable,void 0];case n.CompletionItemKind.Class:return[this._monaco.languages.CompletionItemKind.Class,void 0];case n.CompletionItemKind.Interface:return[this._monaco.languages.CompletionItemKind.Interface,void 0];case n.CompletionItemKind.Module:return[this._monaco.languages.CompletionItemKind.Module,void 0];case n.CompletionItemKind.Property:return[this._monaco.languages.CompletionItemKind.Property,void 0];case n.CompletionItemKind.Unit:return[this._monaco.languages.CompletionItemKind.Unit,void 0];case n.CompletionItemKind.Value:return[this._monaco.languages.CompletionItemKind.Value,void 0];case n.CompletionItemKind.Enum:return[this._monaco.languages.CompletionItemKind.Enum,void 0];case n.CompletionItemKind.Keyword:return[this._monaco.languages.CompletionItemKind.Keyword,void 0];case n.CompletionItemKind.Snippet:return[this._monaco.languages.CompletionItemKind.Snippet,void 0];case n.CompletionItemKind.Color:return[this._monaco.languages.CompletionItemKind.Color,void 0];case n.CompletionItemKind.File:return[this._monaco.languages.CompletionItemKind.File,void 0];case n.CompletionItemKind.Reference:return[this._monaco.languages.CompletionItemKind.Reference,void 0];case n.CompletionItemKind.Folder:return[this._monaco.languages.CompletionItemKind.Folder,void 0];case n.CompletionItemKind.EnumMember:return[this._monaco.languages.CompletionItemKind.EnumMember,void 0];case n.CompletionItemKind.Constant:return[this._monaco.languages.CompletionItemKind.Constant,void 0];case n.CompletionItemKind.Struct:return[this._monaco.languages.CompletionItemKind.Struct,void 0];case n.CompletionItemKind.Event:return[this._monaco.languages.CompletionItemKind.Event,void 0];case n.CompletionItemKind.Operator:return[this._monaco.languages.CompletionItemKind.Operator,void 0];case n.CompletionItemKind.TypeParameter:return[this._monaco.languages.CompletionItemKind.TypeParameter,void 0];default:return[g-1,void 0]}return[n.CompletionItemKind.Text,g]}asCompletionInsertText(g,m){const v=g.insertTextFormat===n.InsertTextFormat.Snippet;if(g.textEdit)if(n.TextEdit.is(g.textEdit)){const C=this.asRange(g.textEdit.range),S=g.textEdit.newText;return{isSnippet:v,insertText:S,range:C,fromEdit:!0}}else{const C={insert:this.asRange(g.textEdit.insert),replace:this.asRange(g.textEdit.replace)},S=g.textEdit.newText;return{isSnippet:v,insertText:S,range:C,fromEdit:!0}}return g.insertText?{isSnippet:v,insertText:g.insertText,fromEdit:!1,range:m}:{insertText:g.label,range:m,fromEdit:!1,isSnippet:!1}}asDocumentLinks(g){return{links:g.map(v=>this.asDocumentLink(v))}}asDocumentLink(g){return{range:this.asRange(g.range),url:g.target,data:g.data,tooltip:g.tooltip}}asRange(g){if(g===void 0)return;if(g===null)return null;const m=this.asPosition(g.start),v=this.asPosition(g.end);if(m instanceof this._monaco.Position&&v instanceof this._monaco.Position)return new this._monaco.Range(m.lineNumber,m.column,v.lineNumber,v.column);const C=!m||m.lineNumber===void 0?void 0:m.lineNumber,S=!m||m.column===void 0?void 0:m.column,b=!v||v.lineNumber===void 0?void 0:v.lineNumber,A=!v||v.column===void 0?void 0:v.column;return{startLineNumber:C,startColumn:S,endLineNumber:b,endColumn:A}}asPosition(g){if(g===void 0)return;if(g===null)return null;const{line:m,character:v}=g,C=m===void 0?void 0:m+1,S=v===void 0?void 0:v+1;return C!==void 0&&S!==void 0?new this._monaco.Position(C,S):{lineNumber:C,column:S}}asColorInformations(g){return g.map(m=>this.asColorInformation(m))}asColorInformation(g){return{range:this.asRange(g.range),color:g.color}}asColorPresentations(g){return g.map(m=>this.asColorPresentation(m))}asColorPresentation(g){return{label:g.label,textEdit:this.asTextEdit(g.textEdit),additionalTextEdits:this.asTextEdits(g.additionalTextEdits)}}asFoldingRanges(g){return g&&g.map(m=>this.asFoldingRange(m))}asFoldingRange(g){return{start:g.startLine+1,end:g.endLine+1,kind:this.asFoldingRangeKind(g.kind)}}asFoldingRangeKind(g){if(g)switch(g){case n.FoldingRangeKind.Comment:return this._monaco.languages.FoldingRangeKind.Comment;case n.FoldingRangeKind.Imports:return this._monaco.languages.FoldingRangeKind.Imports;case n.FoldingRangeKind.Region:return this._monaco.languages.FoldingRangeKind.Region}}asSemanticTokens(g){return{resultId:g.resultId,data:Uint32Array.from(g.data)}}}i.ProtocolToMonacoConverter=d})(wte),function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.MonacoServices=void 0;const e=wte,t=Y2,n=bte,r=J2,s=X2,o=Fg;(function(a){function l(d,h={}){const g=new e.MonacoToProtocolConverter(d),m=new e.ProtocolToMonacoConverter(d);return{commands:new t.MonacoCommands(d),languages:new n.MonacoLanguages(d,m,g),workspace:new r.MonacoWorkspace(d,m,g,h.rootUri),window:new s.ConsoleWindow}}a.create=l;function c(d,h={}){const g=l(d,h);return o.Services.install(g),g}a.install=c;function u(){return o.Services.get()}a.get=u})(i.MonacoServices||(i.MonacoServices={}))}(oIe),function(i){var e=Ei&&Ei.__createBinding||(Object.create?function(n,r,s,o){o===void 0&&(o=s),Object.defineProperty(n,o,{enumerable:!0,get:function(){return r[s]}})}:function(n,r,s,o){o===void 0&&(o=s),n[o]=r[s]}),t=Ei&&Ei.__exportStar||function(n,r){for(var s in n)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&e(r,n,s)};Object.defineProperty(i,"__esModule",{value:!0}),t(U2,i),t(Fg,i),t(k6,i),t(FEe,i),t(Y2,i),t(X2,i),t(bte,i),t(J2,i),t(oIe,i),t(wte,i)}(pT);function cxt(){return new Worker("/assets/editor.worker.
|
|
1558
|
+
`+v+"\n```"}}asSeverity(g){return g===1?this._monaco.MarkerSeverity.Error:g===2?this._monaco.MarkerSeverity.Warning:g===3?this._monaco.MarkerSeverity.Info:this._monaco.MarkerSeverity.Hint}asDiagnostics(g){if(!!g)return g.map(m=>this.asDiagnostic(m))}asDiagnostic(g){return{code:typeof g.code=="number"?g.code.toString():g.code,severity:this.asSeverity(g.severity),message:g.message,source:g.source,startLineNumber:g.range.start.line+1,startColumn:g.range.start.character+1,endLineNumber:g.range.end.line+1,endColumn:g.range.end.character+1,relatedInformation:this.asRelatedInformations(g.relatedInformation),codeDescription:g.codeDescription,tags:g.tags,data:g.data}}asRelatedInformations(g){if(!!g)return g.map(m=>this.asRelatedInformation(m))}asRelatedInformation(g){return{resource:this._monaco.Uri.parse(g.location.uri),startLineNumber:g.location.range.start.line+1,startColumn:g.location.range.start.character+1,endLineNumber:g.location.range.end.line+1,endColumn:g.location.range.end.character+1,message:g.message}}asCompletionResult(g,m){if(!g)return{incomplete:!1,suggestions:[]};if(Array.isArray(g)){const v=g.map(C=>this.asCompletionItem(C,m));return{incomplete:!1,suggestions:v}}return{incomplete:g.isIncomplete,suggestions:g.items.map(v=>this.asCompletionItem(v,m))}}asCompletionItem(g,m){const v={label:g.label};g.detail&&(v.detail=g.detail),g.documentation&&(v.documentation=this.asDocumentation(g.documentation),v.documentationFormat=t.string(g.documentation)?void 0:g.documentation.kind),g.filterText&&(v.filterText=g.filterText);const C=this.asCompletionInsertText(g,m);if(v.insertText=C.insertText,v.range=C.range,v.fromEdit=C.fromEdit,C.isSnippet&&(v.insertTextRules=this._monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t.number(g.kind)){let[S,b]=this.asCompletionItemKind(g.kind);v.kind=S,b&&(v.originalItemKind=b)}return g.sortText&&(v.sortText=g.sortText),g.additionalTextEdits&&(v.additionalTextEdits=this.asTextEdits(g.additionalTextEdits)),t.stringArray(g.commitCharacters)&&(v.commitCharacters=g.commitCharacters.slice()),g.command&&(v.command=this.asCommand(g.command)),(g.deprecated===!0||g.deprecated===!1)&&(v.deprecated=g.deprecated),(g.preselect===!0||g.preselect===!1)&&(v.preselect=g.preselect),g.data!==void 0&&(v.data=g.data),(g.deprecated===!0||g.deprecated===!1)&&(v.deprecated=g.deprecated),g.insertTextMode&&(v.insertTextMode=g.insertTextMode),g.tags&&(v.tags=g.tags),v}asCompletionItemKind(g){if(n.CompletionItemKind.Text<=g&&g<=n.CompletionItemKind.TypeParameter)switch(g){case n.CompletionItemKind.Text:return[this._monaco.languages.CompletionItemKind.Text,void 0];case n.CompletionItemKind.Method:return[this._monaco.languages.CompletionItemKind.Method,void 0];case n.CompletionItemKind.Function:return[this._monaco.languages.CompletionItemKind.Function,void 0];case n.CompletionItemKind.Constructor:return[this._monaco.languages.CompletionItemKind.Constructor,void 0];case n.CompletionItemKind.Field:return[this._monaco.languages.CompletionItemKind.Field,void 0];case n.CompletionItemKind.Variable:return[this._monaco.languages.CompletionItemKind.Variable,void 0];case n.CompletionItemKind.Class:return[this._monaco.languages.CompletionItemKind.Class,void 0];case n.CompletionItemKind.Interface:return[this._monaco.languages.CompletionItemKind.Interface,void 0];case n.CompletionItemKind.Module:return[this._monaco.languages.CompletionItemKind.Module,void 0];case n.CompletionItemKind.Property:return[this._monaco.languages.CompletionItemKind.Property,void 0];case n.CompletionItemKind.Unit:return[this._monaco.languages.CompletionItemKind.Unit,void 0];case n.CompletionItemKind.Value:return[this._monaco.languages.CompletionItemKind.Value,void 0];case n.CompletionItemKind.Enum:return[this._monaco.languages.CompletionItemKind.Enum,void 0];case n.CompletionItemKind.Keyword:return[this._monaco.languages.CompletionItemKind.Keyword,void 0];case n.CompletionItemKind.Snippet:return[this._monaco.languages.CompletionItemKind.Snippet,void 0];case n.CompletionItemKind.Color:return[this._monaco.languages.CompletionItemKind.Color,void 0];case n.CompletionItemKind.File:return[this._monaco.languages.CompletionItemKind.File,void 0];case n.CompletionItemKind.Reference:return[this._monaco.languages.CompletionItemKind.Reference,void 0];case n.CompletionItemKind.Folder:return[this._monaco.languages.CompletionItemKind.Folder,void 0];case n.CompletionItemKind.EnumMember:return[this._monaco.languages.CompletionItemKind.EnumMember,void 0];case n.CompletionItemKind.Constant:return[this._monaco.languages.CompletionItemKind.Constant,void 0];case n.CompletionItemKind.Struct:return[this._monaco.languages.CompletionItemKind.Struct,void 0];case n.CompletionItemKind.Event:return[this._monaco.languages.CompletionItemKind.Event,void 0];case n.CompletionItemKind.Operator:return[this._monaco.languages.CompletionItemKind.Operator,void 0];case n.CompletionItemKind.TypeParameter:return[this._monaco.languages.CompletionItemKind.TypeParameter,void 0];default:return[g-1,void 0]}return[n.CompletionItemKind.Text,g]}asCompletionInsertText(g,m){const v=g.insertTextFormat===n.InsertTextFormat.Snippet;if(g.textEdit)if(n.TextEdit.is(g.textEdit)){const C=this.asRange(g.textEdit.range),S=g.textEdit.newText;return{isSnippet:v,insertText:S,range:C,fromEdit:!0}}else{const C={insert:this.asRange(g.textEdit.insert),replace:this.asRange(g.textEdit.replace)},S=g.textEdit.newText;return{isSnippet:v,insertText:S,range:C,fromEdit:!0}}return g.insertText?{isSnippet:v,insertText:g.insertText,fromEdit:!1,range:m}:{insertText:g.label,range:m,fromEdit:!1,isSnippet:!1}}asDocumentLinks(g){return{links:g.map(v=>this.asDocumentLink(v))}}asDocumentLink(g){return{range:this.asRange(g.range),url:g.target,data:g.data,tooltip:g.tooltip}}asRange(g){if(g===void 0)return;if(g===null)return null;const m=this.asPosition(g.start),v=this.asPosition(g.end);if(m instanceof this._monaco.Position&&v instanceof this._monaco.Position)return new this._monaco.Range(m.lineNumber,m.column,v.lineNumber,v.column);const C=!m||m.lineNumber===void 0?void 0:m.lineNumber,S=!m||m.column===void 0?void 0:m.column,b=!v||v.lineNumber===void 0?void 0:v.lineNumber,A=!v||v.column===void 0?void 0:v.column;return{startLineNumber:C,startColumn:S,endLineNumber:b,endColumn:A}}asPosition(g){if(g===void 0)return;if(g===null)return null;const{line:m,character:v}=g,C=m===void 0?void 0:m+1,S=v===void 0?void 0:v+1;return C!==void 0&&S!==void 0?new this._monaco.Position(C,S):{lineNumber:C,column:S}}asColorInformations(g){return g.map(m=>this.asColorInformation(m))}asColorInformation(g){return{range:this.asRange(g.range),color:g.color}}asColorPresentations(g){return g.map(m=>this.asColorPresentation(m))}asColorPresentation(g){return{label:g.label,textEdit:this.asTextEdit(g.textEdit),additionalTextEdits:this.asTextEdits(g.additionalTextEdits)}}asFoldingRanges(g){return g&&g.map(m=>this.asFoldingRange(m))}asFoldingRange(g){return{start:g.startLine+1,end:g.endLine+1,kind:this.asFoldingRangeKind(g.kind)}}asFoldingRangeKind(g){if(g)switch(g){case n.FoldingRangeKind.Comment:return this._monaco.languages.FoldingRangeKind.Comment;case n.FoldingRangeKind.Imports:return this._monaco.languages.FoldingRangeKind.Imports;case n.FoldingRangeKind.Region:return this._monaco.languages.FoldingRangeKind.Region}}asSemanticTokens(g){return{resultId:g.resultId,data:Uint32Array.from(g.data)}}}i.ProtocolToMonacoConverter=d})(wte),function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.MonacoServices=void 0;const e=wte,t=Y2,n=bte,r=J2,s=X2,o=Fg;(function(a){function l(d,h={}){const g=new e.MonacoToProtocolConverter(d),m=new e.ProtocolToMonacoConverter(d);return{commands:new t.MonacoCommands(d),languages:new n.MonacoLanguages(d,m,g),workspace:new r.MonacoWorkspace(d,m,g,h.rootUri),window:new s.ConsoleWindow}}a.create=l;function c(d,h={}){const g=l(d,h);return o.Services.install(g),g}a.install=c;function u(){return o.Services.get()}a.get=u})(i.MonacoServices||(i.MonacoServices={}))}(oIe),function(i){var e=Ei&&Ei.__createBinding||(Object.create?function(n,r,s,o){o===void 0&&(o=s),Object.defineProperty(n,o,{enumerable:!0,get:function(){return r[s]}})}:function(n,r,s,o){o===void 0&&(o=s),n[o]=r[s]}),t=Ei&&Ei.__exportStar||function(n,r){for(var s in n)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&e(r,n,s)};Object.defineProperty(i,"__esModule",{value:!0}),t(U2,i),t(Fg,i),t(k6,i),t(FEe,i),t(Y2,i),t(X2,i),t(bte,i),t(J2,i),t(oIe,i),t(wte,i)}(pT);function cxt(){return new Worker("/assets/editor.worker.4f81245c.js",{type:"module"})}function uxt(){return new Worker("/assets/json.worker.ee1e3ae5.js",{type:"module"})}function dxt(){return new Worker("/assets/css.worker.3f6f852c.js",{type:"module"})}function hxt(){return new Worker("/assets/html.worker.912a815c.js",{type:"module"})}function fxt(){return new Worker("/assets/ts.worker.6bdd1133.js",{type:"module"})}var gxt="/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Editor/index.tsx";self.MonacoEnvironment={getWorker(i,e){return e==="json"?new uxt:e==="css"||e==="scss"||e==="less"?new dxt:e==="html"||e==="handlebars"||e==="razor"?new hxt:e==="typescript"||e==="javascript"?new fxt:new cxt}};const Ete="/home/runner/app";var pxt="ruby";const Ite=new Map,IT=cw(i=>({delta:"",selectionOp:null,usersDelta:[],versionId:0,position:[],selectionAcks:[],setSelectionAck:e=>i(t=>({selectionAcks:[...t.selectionAcks,e]})),clearSelectionAcks:()=>i(()=>({selectionAcks:[]})),setVersionId:e=>i(({versionId:t})=>({versionId:e||e===0?e:t+1})),setDelta:e=>i(()=>({delta:e})),setUsersDelta:e=>i(()=>({usersDelta:e})),setPosition:e=>i(()=>({position:e})),value:"",setValue:e=>i(()=>({value:e})),setSelectionOp:e=>i(()=>({selectionOp:e}))}));let oa;const mxt=el.div`
|
|
1559
1559
|
.contentWidgets {
|
|
1560
1560
|
visibility: hidden;
|
|
1561
1561
|
}
|