@p4code/cli 0.2.4 → 0.2.6
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/bin.mjs +726 -72
- package/dist/client/assets/{DiffPanel-CkrZfPGI.js → DiffPanel-BooVz7M0.js} +3 -3
- package/dist/client/assets/FilePreviewPanel-CctHlOR7.js +2230 -0
- package/dist/client/assets/PreviewPanel-iNGC0YrW.js +2 -0
- package/dist/client/assets/{PullRequestCodeTab-DXvCq9PN.js → PullRequestCodeTab-ilyykLSQ.js} +4 -4
- package/dist/client/assets/arrow-right-CB1n5rpS.js +2 -0
- package/dist/client/assets/{fileCommentAnnotations-jIuAO40K.js → fileCommentAnnotations-Ckjc-0ZU.js} +2 -2
- package/dist/client/assets/{index-BZdqP0xD.js → index-Cvhs37GD.js} +1539 -241
- package/dist/client/assets/pierre-dark-CpLgRqie.js +2 -0
- package/dist/client/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +2 -0
- package/dist/client/assets/pierre-dark-soft-kZQmAZld.js +2 -0
- package/dist/client/assets/pierre-dark-tritanopia-CpjhbsIL.js +2 -0
- package/dist/client/assets/pierre-dark-vibrant-CpQYzh95.js +2 -0
- package/dist/client/assets/pierre-light-CoaEpmwp.js +2 -0
- package/dist/client/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +2 -0
- package/dist/client/assets/pierre-light-soft-lWLdNTOI.js +2 -0
- package/dist/client/assets/pierre-light-tritanopia-CEbqgOJL.js +2 -0
- package/dist/client/assets/pierre-light-vibrant-D80Fkn33.js +2 -0
- package/dist/client/assets/renderFileChildren-1GxlP08z.js +2 -0
- package/dist/client/assets/terminal-links-Dcw5kSW5.js +47 -0
- package/dist/client/assets/toggle-group-DngghwoH.js +2 -0
- package/dist/client/assets/{worker-aIZfs-9q.js → worker-CTbBhd8-.js} +24 -21
- package/dist/client/index.html +2 -2
- package/package.json +2 -2
- package/dist/client/assets/FilePreviewPanel-ExZ7jSHB.js +0 -1778
- package/dist/client/assets/PreviewPanel-DFC5gUqR.js +0 -2
- package/dist/client/assets/arrow-right-BsoyxJft.js +0 -2
- package/dist/client/assets/pierre-dark-sU4Zdns8.js +0 -2
- package/dist/client/assets/pierre-dark-soft-HXgun5vs.js +0 -2
- package/dist/client/assets/pierre-dark-vibrant-D4RhcSIK.js +0 -2
- package/dist/client/assets/pierre-light-DWBk51d8.js +0 -2
- package/dist/client/assets/pierre-light-soft-CodEzPxf.js +0 -2
- package/dist/client/assets/pierre-light-vibrant-B76X7i5Y.js +0 -2
- package/dist/client/assets/renderFileChildren-CbnyGaFt.js +0 -2
- package/dist/client/assets/terminal-links-CaZNZumK.js +0 -47
- package/dist/client/assets/toggle-group-Aw7xeuHS.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.freeze(JSON.parse(`{"name":"Pierre Light Soft","type":"light","colors":{"editor.background":"#ffffff","editor.foreground":"#525252","foreground":"#525252","focusBorder":"#009fff","selection.background":"#dfebff","editor.selectionBackground":"#009fff2e","editor.lineHighlightBackground":"#dfebff8c","editorCursor.foreground":"#009fff","editorLineNumber.foreground":"#8a8a8a","editorLineNumber.activeForeground":"#737373","editorIndentGuide.background":"#ededed","editorIndentGuide.activeBackground":"#e5e5e5","diffEditor.insertedTextBackground":"#07c48033","diffEditor.deletedTextBackground":"#ff2e3f33","sideBar.background":"#f7f7f7","sideBar.foreground":"#737373","sideBar.border":"#ededed","sideBarTitle.foreground":"#525252","sideBarSectionHeader.background":"#f7f7f7","sideBarSectionHeader.foreground":"#737373","sideBarSectionHeader.border":"#ededed","activityBar.background":"#f7f7f7","activityBar.foreground":"#525252","activityBar.border":"#ededed","activityBar.activeBorder":"#009fff","activityBarBadge.background":"#009fff","activityBarBadge.foreground":"#ffffff","titleBar.activeBackground":"#f7f7f7","titleBar.activeForeground":"#525252","titleBar.inactiveBackground":"#f7f7f7","titleBar.inactiveForeground":"#8a8a8a","titleBar.border":"#ededed","list.activeSelectionBackground":"#dfebffcc","list.activeSelectionForeground":"#525252","list.inactiveSelectionBackground":"#dfebff73","list.hoverBackground":"#dfebff59","list.focusOutline":"#009fff","tab.activeBackground":"#ffffff","tab.activeForeground":"#525252","tab.activeBorderTop":"#009fff","tab.inactiveBackground":"#f7f7f7","tab.inactiveForeground":"#8a8a8a","tab.border":"#ededed","editorGroupHeader.tabsBackground":"#f7f7f7","editorGroupHeader.tabsBorder":"#ededed","panel.background":"#f7f7f7","panel.border":"#ededed","panelTitle.activeBorder":"#009fff","panelTitle.activeForeground":"#525252","panelTitle.inactiveForeground":"#8a8a8a","statusBar.background":"#f7f7f7","statusBar.foreground":"#737373","statusBar.border":"#ededed","statusBar.noFolderBackground":"#f7f7f7","statusBar.debuggingBackground":"#ffca00","statusBar.debuggingForeground":"#ffffff","statusBarItem.remoteBackground":"#f7f7f7","statusBarItem.remoteForeground":"#737373","input.background":"#f5f5f5","input.border":"#d4d4d4","input.foreground":"#525252","input.placeholderForeground":"#a3a3a3","dropdown.background":"#f5f5f5","dropdown.border":"#d4d4d4","dropdown.foreground":"#525252","button.background":"#009fff","button.foreground":"#ffffff","button.hoverBackground":"#1aa9ff","textLink.foreground":"#009fff","textLink.activeForeground":"#009fff","notifications.background":"#fafafa","notifications.foreground":"#525252","notifications.border":"#e5e5e5","notificationToast.border":"#e5e5e5","notificationCenter.border":"#e5e5e5","notificationCenterHeader.background":"#fafafa","notificationCenterHeader.foreground":"#737373","notificationLink.foreground":"#009fff","notificationsErrorIcon.foreground":"#ff2e3f","notificationsWarningIcon.foreground":"#ffca00","notificationsInfoIcon.foreground":"#08c0ef","quickInput.background":"#fafafa","quickInput.foreground":"#525252","quickInputTitle.background":"#fafafa","widget.border":"#e5e5e5","gitDecoration.addedResourceForeground":"#07c480","gitDecoration.conflictingResourceForeground":"#7b43f8","gitDecoration.modifiedResourceForeground":"#009fff","gitDecoration.deletedResourceForeground":"#ff2e3f","gitDecoration.untrackedResourceForeground":"#07c480","gitDecoration.ignoredResourceForeground":"#8a8a8a","merge.currentHeaderBackground":"#7b43f833","merge.currentContentBackground":"#7b43f814","merge.incomingHeaderBackground":"#08c0ef33","merge.incomingContentBackground":"#08c0ef14","editorOverviewRuler.currentContentForeground":"#7b43f8","editorOverviewRuler.incomingContentForeground":"#08c0ef","terminal.titleForeground":"#737373","terminal.titleInactiveForeground":"#8a8a8a","terminal.background":"#f7f7f7","terminal.foreground":"#737373","terminal.ansiBlack":"#1d1d1d","terminal.ansiRed":"#ff2e3f","terminal.ansiGreen":"#0dbe4e","terminal.ansiYellow":"#ffca00","terminal.ansiBlue":"#009fff","terminal.ansiMagenta":"#e130ac","terminal.ansiCyan":"#08c0ef","terminal.ansiWhite":"#bcbcbc","terminal.ansiBrightBlack":"#1d1d1d","terminal.ansiBrightRed":"#ff2e3f","terminal.ansiBrightGreen":"#86c427","terminal.ansiBrightYellow":"#ffca00","terminal.ansiBrightBlue":"#009fff","terminal.ansiBrightMagenta":"#e130ac","terminal.ansiBrightCyan":"#08c0ef","terminal.ansiBrightWhite":"#bcbcbc"},"tokenColors":[{"scope":["comment","punctuation.definition.comment"],"settings":{"foreground":"#8a8a8a"}},{"scope":"comment markup.link","settings":{"foreground":"#8a8a8a"}},{"scope":["string","constant.other.symbol"],"settings":{"foreground":"#0dbe4e"}},{"scope":["punctuation.definition.string.begin","punctuation.definition.string.end"],"settings":{"foreground":"#0dbe4e"}},{"scope":["constant.numeric","constant.language.boolean"],"settings":{"foreground":"#08c0ef"}},{"scope":"constant","settings":{"foreground":"#ffca00"}},{"scope":"punctuation.definition.constant","settings":{"foreground":"#ffca00"}},{"scope":"constant.language","settings":{"foreground":"#08c0ef"}},{"scope":"variable.other.constant","settings":{"foreground":"#ffab16"}},{"scope":"keyword","settings":{"foreground":"#ff678d"}},{"scope":"keyword.control","settings":{"foreground":"#ff678d"}},{"scope":["storage","storage.type","storage.modifier"],"settings":{"foreground":"#ff678d"}},{"scope":"token.storage","settings":{"foreground":"#ff678d"}},{"scope":["keyword.operator.new","keyword.operator.expression.instanceof","keyword.operator.expression.typeof","keyword.operator.expression.void","keyword.operator.expression.delete","keyword.operator.expression.in","keyword.operator.expression.of","keyword.operator.expression.keyof"],"settings":{"foreground":"#ff678d"}},{"scope":"keyword.operator.delete","settings":{"foreground":"#ff678d"}},{"scope":["variable","identifier","meta.definition.variable"],"settings":{"foreground":"#fe8c2c"}},{"scope":["variable.other.readwrite","meta.object-literal.key","support.variable.property","support.variable.object.process","support.variable.object.node"],"settings":{"foreground":"#fe8c2c"}},{"scope":"variable.language","settings":{"foreground":"#ffab16"}},{"scope":"variable.parameter.function","settings":{"foreground":"#737373"}},{"scope":"function.parameter","settings":{"foreground":"#737373"}},{"scope":"variable.parameter","settings":{"foreground":"#737373"}},{"scope":"variable.parameter.function.language.python","settings":{"foreground":"#ffca00"}},{"scope":"variable.parameter.function.python","settings":{"foreground":"#ffca00"}},{"scope":["support.function","entity.name.function","meta.function-call","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"#9d6afb"}},{"scope":"keyword.other.special-method","settings":{"foreground":"#9d6afb"}},{"scope":"entity.name.function","settings":{"foreground":"#9d6afb"}},{"scope":"support.function.console","settings":{"foreground":"#9d6afb"}},{"scope":["support.type","entity.name.type","entity.name.class","storage.type"],"settings":{"foreground":"#d568ea"}},{"scope":["support.class","entity.name.type.class"],"settings":{"foreground":"#d568ea"}},{"scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"#d568ea"}},{"scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"#d568ea"}},{"scope":"entity.name.type.namespace","settings":{"foreground":"#ffab16"}},{"scope":"entity.other.inherited-class","settings":{"foreground":"#d568ea"}},{"scope":"entity.name.namespace","settings":{"foreground":"#ffab16"}},{"scope":"keyword.operator","settings":{"foreground":"#737373"}},{"scope":["keyword.operator.logical","keyword.operator.bitwise","keyword.operator.channel"],"settings":{"foreground":"#68cdf2"}},{"scope":["keyword.operator.arithmetic","keyword.operator.comparison","keyword.operator.relational","keyword.operator.increment","keyword.operator.decrement"],"settings":{"foreground":"#68cdf2"}},{"scope":"keyword.operator.assignment","settings":{"foreground":"#68cdf2"}},{"scope":"keyword.operator.assignment.compound","settings":{"foreground":"#ff678d"}},{"scope":["keyword.operator.assignment.compound.js","keyword.operator.assignment.compound.ts"],"settings":{"foreground":"#68cdf2"}},{"scope":"keyword.operator.ternary","settings":{"foreground":"#ff678d"}},{"scope":"keyword.operator.optional","settings":{"foreground":"#ff678d"}},{"scope":"punctuation","settings":{"foreground":"#737373"}},{"scope":"punctuation.separator.delimiter","settings":{"foreground":"#737373"}},{"scope":"punctuation.separator.key-value","settings":{"foreground":"#737373"}},{"scope":"punctuation.terminator","settings":{"foreground":"#737373"}},{"scope":"meta.brace","settings":{"foreground":"#737373"}},{"scope":"meta.brace.square","settings":{"foreground":"#737373"}},{"scope":"meta.brace.round","settings":{"foreground":"#737373"}},{"scope":"function.brace","settings":{"foreground":"#737373"}},{"scope":["punctuation.definition.parameters","punctuation.definition.typeparameters"],"settings":{"foreground":"#737373"}},{"scope":["punctuation.definition.block","punctuation.definition.tag"],"settings":{"foreground":"#737373"}},{"scope":["meta.tag.tsx","meta.tag.jsx","meta.tag.js","meta.tag.ts"],"settings":{"foreground":"#737373"}},{"scope":"keyword.operator.expression.import","settings":{"foreground":"#9d6afb"}},{"scope":"keyword.operator.module","settings":{"foreground":"#ff678d"}},{"scope":"support.type.object.console","settings":{"foreground":"#fe8c2c"}},{"scope":["support.module.node","support.type.object.module","entity.name.type.module"],"settings":{"foreground":"#ffab16"}},{"scope":"support.constant.math","settings":{"foreground":"#ffab16"}},{"scope":"support.constant.property.math","settings":{"foreground":"#ffca00"}},{"scope":"support.constant.json","settings":{"foreground":"#ffca00"}},{"scope":"support.type.object.dom","settings":{"foreground":"#68cdf2"}},{"scope":["support.variable.dom","support.variable.property.dom"],"settings":{"foreground":"#fe8c2c"}},{"scope":"support.variable.property.process","settings":{"foreground":"#ffca00"}},{"scope":"meta.property.object","settings":{"foreground":"#fe8c2c"}},{"scope":"variable.parameter.function.js","settings":{"foreground":"#fe8c2c"}},{"scope":["keyword.other.template.begin","keyword.other.template.end"],"settings":{"foreground":"#0dbe4e"}},{"scope":["keyword.other.substitution.begin","keyword.other.substitution.end"],"settings":{"foreground":"#0dbe4e"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end"],"settings":{"foreground":"#ff678d"}},{"scope":"meta.template.expression","settings":{"foreground":"#737373"}},{"scope":"punctuation.section.embedded","settings":{"foreground":"#fe8c2c"}},{"scope":"variable.interpolation","settings":{"foreground":"#fe8c2c"}},{"scope":["punctuation.section.embedded.begin","punctuation.section.embedded.end"],"settings":{"foreground":"#ff678d"}},{"scope":"punctuation.quasi.element","settings":{"foreground":"#ff678d"}},{"scope":["support.type.primitive.ts","support.type.builtin.ts","support.type.primitive.tsx","support.type.builtin.tsx"],"settings":{"foreground":"#d568ea"}},{"scope":"support.type.type.flowtype","settings":{"foreground":"#9d6afb"}},{"scope":"support.type.primitive","settings":{"foreground":"#d568ea"}},{"scope":["meta.decorator","meta.decorator punctuation.decorator"],"settings":{"foreground":"#69b1ff"}},{"scope":"entity.name.function.decorator","settings":{"foreground":"#69b1ff"}},{"scope":"punctuation.definition.decorator","settings":{"foreground":"#69b1ff"}},{"scope":"support.variable.magic.python","settings":{"foreground":"#ff5d36"}},{"scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"#ffab16"}},{"scope":["punctuation.separator.period.python","punctuation.separator.element.python","punctuation.parenthesis.begin.python","punctuation.parenthesis.end.python"],"settings":{"foreground":"#737373"}},{"scope":["punctuation.definition.arguments.begin.python","punctuation.definition.arguments.end.python","punctuation.separator.arguments.python","punctuation.definition.list.begin.python","punctuation.definition.list.end.python"],"settings":{"foreground":"#737373"}},{"scope":"support.type.python","settings":{"foreground":"#68cdf2"}},{"scope":"keyword.operator.logical.python","settings":{"foreground":"#ff678d"}},{"scope":"meta.function-call.generic.python","settings":{"foreground":"#9d6afb"}},{"scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#ffca00"}},{"scope":"meta.function.decorator.python","settings":{"foreground":"#9d6afb"}},{"scope":["support.token.decorator.python","meta.function.decorator.identifier.python"],"settings":{"foreground":"#68cdf2"}},{"scope":"storage.modifier.lifetime.rust","settings":{"foreground":"#737373"}},{"scope":"support.function.std.rust","settings":{"foreground":"#9d6afb"}},{"scope":"entity.name.lifetime.rust","settings":{"foreground":"#ffab16"}},{"scope":"variable.language.rust","settings":{"foreground":"#ff5d36"}},{"scope":"keyword.operator.misc.rust","settings":{"foreground":"#737373"}},{"scope":"keyword.operator.sigil.rust","settings":{"foreground":"#ff678d"}},{"scope":"support.constant.core.rust","settings":{"foreground":"#ffca00"}},{"scope":["meta.function.c","meta.function.cpp"],"settings":{"foreground":"#ff5d36"}},{"scope":["punctuation.section.block.begin.bracket.curly.cpp","punctuation.section.block.end.bracket.curly.cpp","punctuation.terminator.statement.c","punctuation.section.block.begin.bracket.curly.c","punctuation.section.block.end.bracket.curly.c","punctuation.section.parens.begin.bracket.round.c","punctuation.section.parens.end.bracket.round.c","punctuation.section.parameters.begin.bracket.round.c","punctuation.section.parameters.end.bracket.round.c"],"settings":{"foreground":"#737373"}},{"scope":["keyword.operator.assignment.c","keyword.operator.comparison.c","keyword.operator.c","keyword.operator.increment.c","keyword.operator.decrement.c","keyword.operator.bitwise.shift.c"],"settings":{"foreground":"#ff678d"}},{"scope":["keyword.operator.assignment.cpp","keyword.operator.comparison.cpp","keyword.operator.cpp","keyword.operator.increment.cpp","keyword.operator.decrement.cpp","keyword.operator.bitwise.shift.cpp"],"settings":{"foreground":"#ff678d"}},{"scope":["punctuation.separator.c","punctuation.separator.cpp"],"settings":{"foreground":"#ff678d"}},{"scope":["support.type.posix-reserved.c","support.type.posix-reserved.cpp"],"settings":{"foreground":"#68cdf2"}},{"scope":["keyword.operator.sizeof.c","keyword.operator.sizeof.cpp"],"settings":{"foreground":"#ff678d"}},{"scope":"variable.c","settings":{"foreground":"#737373"}},{"scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"#ffab16"}},{"scope":"source.java","settings":{"foreground":"#ff5d36"}},{"scope":["punctuation.section.block.begin.java","punctuation.section.block.end.java","punctuation.definition.method-parameters.begin.java","punctuation.definition.method-parameters.end.java","meta.method.identifier.java","punctuation.section.method.begin.java","punctuation.section.method.end.java","punctuation.terminator.java","punctuation.section.class.begin.java","punctuation.section.class.end.java","punctuation.section.inner-class.begin.java","punctuation.section.inner-class.end.java","meta.method-call.java","punctuation.section.class.begin.bracket.curly.java","punctuation.section.class.end.bracket.curly.java","punctuation.section.method.begin.bracket.curly.java","punctuation.section.method.end.bracket.curly.java","punctuation.separator.period.java","punctuation.bracket.angle.java","punctuation.definition.annotation.java","meta.method.body.java"],"settings":{"foreground":"#737373"}},{"scope":"meta.method.java","settings":{"foreground":"#9d6afb"}},{"scope":["storage.modifier.import.java","storage.type.java","storage.type.generic.java"],"settings":{"foreground":"#ffab16"}},{"scope":"keyword.operator.instanceof.java","settings":{"foreground":"#ff678d"}},{"scope":"meta.definition.variable.name.java","settings":{"foreground":"#ff5d36"}},{"scope":"token.variable.parameter.java","settings":{"foreground":"#737373"}},{"scope":"import.storage.java","settings":{"foreground":"#ffab16"}},{"scope":"token.package.keyword","settings":{"foreground":"#ff678d"}},{"scope":"token.package","settings":{"foreground":"#737373"}},{"scope":"token.storage.type.java","settings":{"foreground":"#ffab16"}},{"scope":"keyword.operator.assignment.go","settings":{"foreground":"#ffab16"}},{"scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"#ff678d"}},{"scope":"entity.name.package.go","settings":{"foreground":"#ffab16"}},{"scope":["support.other.namespace.use.php","support.other.namespace.use-as.php","support.other.namespace.php","entity.other.alias.php","meta.interface.php"],"settings":{"foreground":"#ffab16"}},{"scope":"keyword.operator.error-control.php","settings":{"foreground":"#ff678d"}},{"scope":"keyword.operator.type.php","settings":{"foreground":"#ff678d"}},{"scope":["punctuation.section.array.begin.php","punctuation.section.array.end.php"],"settings":{"foreground":"#737373"}},{"scope":["storage.type.php","meta.other.type.phpdoc.php","keyword.other.type.php","keyword.other.array.phpdoc.php"],"settings":{"foreground":"#ffab16"}},{"scope":["meta.function-call.php","meta.function-call.object.php","meta.function-call.static.php"],"settings":{"foreground":"#9d6afb"}},{"scope":["punctuation.definition.parameters.begin.bracket.round.php","punctuation.definition.parameters.end.bracket.round.php","punctuation.separator.delimiter.php","punctuation.section.scope.begin.php","punctuation.section.scope.end.php","punctuation.terminator.expression.php","punctuation.definition.arguments.begin.bracket.round.php","punctuation.definition.arguments.end.bracket.round.php","punctuation.definition.storage-type.begin.bracket.round.php","punctuation.definition.storage-type.end.bracket.round.php","punctuation.definition.array.begin.bracket.round.php","punctuation.definition.array.end.bracket.round.php","punctuation.definition.begin.bracket.round.php","punctuation.definition.end.bracket.round.php","punctuation.definition.begin.bracket.curly.php","punctuation.definition.end.bracket.curly.php","punctuation.definition.section.switch-block.end.bracket.curly.php","punctuation.definition.section.switch-block.start.bracket.curly.php","punctuation.definition.section.switch-block.begin.bracket.curly.php","punctuation.definition.section.switch-block.end.bracket.curly.php"],"settings":{"foreground":"#737373"}},{"scope":["support.constant.ext.php","support.constant.std.php","support.constant.core.php","support.constant.parser-token.php"],"settings":{"foreground":"#ffca00"}},{"scope":["entity.name.goto-label.php","support.other.php"],"settings":{"foreground":"#9d6afb"}},{"scope":["keyword.operator.logical.php","keyword.operator.bitwise.php","keyword.operator.arithmetic.php"],"settings":{"foreground":"#68cdf2"}},{"scope":"keyword.operator.regexp.php","settings":{"foreground":"#ff678d"}},{"scope":"keyword.operator.comparison.php","settings":{"foreground":"#68cdf2"}},{"scope":["keyword.operator.heredoc.php","keyword.operator.nowdoc.php"],"settings":{"foreground":"#ff678d"}},{"scope":"variable.other.class.php","settings":{"foreground":"#ff5d36"}},{"scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"#171717"}},{"scope":"variable.other.generic-type.haskell","settings":{"foreground":"#ff678d"}},{"scope":"storage.type.haskell","settings":{"foreground":"#ffca00"}},{"scope":"storage.type.cs","settings":{"foreground":"#ffab16"}},{"scope":"entity.name.variable.local.cs","settings":{"foreground":"#ff5d36"}},{"scope":"entity.name.label.cs","settings":{"foreground":"#ffab16"}},{"scope":["entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"#ffab16"}},{"scope":["punctuation.definition.delayed.unison","punctuation.definition.list.begin.unison","punctuation.definition.list.end.unison","punctuation.definition.ability.begin.unison","punctuation.definition.ability.end.unison","punctuation.operator.assignment.as.unison","punctuation.separator.pipe.unison","punctuation.separator.delimiter.unison","punctuation.definition.hash.unison"],"settings":{"foreground":"#ff5d36"}},{"scope":"support.constant.edge","settings":{"foreground":"#ff678d"}},{"scope":"support.type.prelude.elm","settings":{"foreground":"#68cdf2"}},{"scope":"support.constant.elm","settings":{"foreground":"#ffca00"}},{"scope":"entity.global.clojure","settings":{"foreground":"#ffab16"}},{"scope":"meta.symbol.clojure","settings":{"foreground":"#ff5d36"}},{"scope":"constant.keyword.clojure","settings":{"foreground":"#68cdf2"}},{"scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"#ff5d36"}},{"scope":"storage.modifier.import.groovy","settings":{"foreground":"#ffab16"}},{"scope":"meta.method.groovy","settings":{"foreground":"#9d6afb"}},{"scope":"meta.definition.variable.name.groovy","settings":{"foreground":"#ff5d36"}},{"scope":"meta.definition.class.inherited.classes.groovy","settings":{"foreground":"#0dbe4e"}},{"scope":"support.variable.semantic.hlsl","settings":{"foreground":"#ffab16"}},{"scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"#ff678d"}},{"scope":["text.variable","text.bracketed"],"settings":{"foreground":"#ff5d36"}},{"scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"#ffab16"}},{"scope":"meta.scope.prerequisites.makefile","settings":{"foreground":"#ff5d36"}},{"scope":"source.makefile","settings":{"foreground":"#ffab16"}},{"scope":"source.ini","settings":{"foreground":"#0dbe4e"}},{"scope":"constant.language.symbol.ruby","settings":{"foreground":"#68cdf2"}},{"scope":["function.parameter.ruby","function.parameter.cs"],"settings":{"foreground":"#737373"}},{"scope":"constant.language.symbol.elixir","settings":{"foreground":"#68cdf2"}},{"scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"#ff678d"}},{"scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"#ff678d"}},{"scope":"entity.name.function.xi","settings":{"foreground":"#ffab16"}},{"scope":"entity.name.class.xi","settings":{"foreground":"#68cdf2"}},{"scope":"constant.character.character-class.regexp.xi","settings":{"foreground":"#ff5d36"}},{"scope":"constant.regexp.xi","settings":{"foreground":"#ff678d"}},{"scope":"keyword.control.xi","settings":{"foreground":"#68cdf2"}},{"scope":"invalid.xi","settings":{"foreground":"#737373"}},{"scope":"beginning.punctuation.definition.quote.markdown.xi","settings":{"foreground":"#0dbe4e"}},{"scope":"beginning.punctuation.definition.list.markdown.xi","settings":{"foreground":"#8a8a8a"}},{"scope":"constant.character.xi","settings":{"foreground":"#9d6afb"}},{"scope":"accent.xi","settings":{"foreground":"#9d6afb"}},{"scope":"wikiword.xi","settings":{"foreground":"#ffca00"}},{"scope":"constant.other.color.rgb-value.xi","settings":{"foreground":"#171717"}},{"scope":"punctuation.definition.tag.xi","settings":{"foreground":"#8a8a8a"}},{"scope":["support.constant.property-value.scss","support.constant.property-value.css"],"settings":{"foreground":"#ffca00"}},{"scope":["keyword.operator.css","keyword.operator.scss","keyword.operator.less"],"settings":{"foreground":"#68cdf2"}},{"scope":["support.constant.color.w3c-standard-color-name.css","support.constant.color.w3c-standard-color-name.scss"],"settings":{"foreground":"#ffca00"}},{"scope":"punctuation.separator.list.comma.css","settings":{"foreground":"#737373"}},{"scope":"support.type.vendored.property-name.css","settings":{"foreground":"#68cdf2"}},{"scope":"support.type.property-name.css","settings":{"foreground":"#68cdf2"}},{"scope":"support.type.property-name","settings":{"foreground":"#737373"}},{"scope":"support.constant.property-value","settings":{"foreground":"#737373"}},{"scope":"support.constant.font-name","settings":{"foreground":"#ffca00"}},{"scope":"entity.other.attribute-name.class.css","settings":{"foreground":"#07c480","fontStyle":"normal"}},{"scope":"entity.other.attribute-name.id","settings":{"foreground":"#9d6afb","fontStyle":"normal"}},{"scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#68cdf2"}},{"scope":"meta.selector","settings":{"foreground":"#ff678d"}},{"scope":"selector.sass","settings":{"foreground":"#ff5d36"}},{"scope":"rgb-value","settings":{"foreground":"#68cdf2"}},{"scope":"inline-color-decoration rgb-value","settings":{"foreground":"#ffca00"}},{"scope":"less rgb-value","settings":{"foreground":"#ffca00"}},{"scope":"control.elements","settings":{"foreground":"#ffca00"}},{"scope":"keyword.operator.less","settings":{"foreground":"#ffca00"}},{"scope":"entity.name.tag","settings":{"foreground":"#ff5d36"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"#07c480","fontStyle":"normal"}},{"scope":"constant.character.entity","settings":{"foreground":"#ff5d36"}},{"scope":"meta.tag","settings":{"foreground":"#737373"}},{"scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"#737373"}},{"scope":"markup.heading","settings":{"foreground":"#ff5d36"}},{"scope":["markup.heading punctuation.definition.heading","entity.name.section"],"settings":{"foreground":"#9d6afb"}},{"scope":"entity.name.section.markdown","settings":{"foreground":"#ff5d36"}},{"scope":"punctuation.definition.heading.markdown","settings":{"foreground":"#ff5d36"}},{"scope":"markup.heading.setext","settings":{"foreground":"#737373"}},{"scope":["markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"#ff5d36"}},{"scope":["markup.bold","todo.bold"],"settings":{"foreground":"#ffca00"}},{"scope":"punctuation.definition.bold","settings":{"foreground":"#ffab16"}},{"scope":"punctuation.definition.bold.markdown","settings":{"foreground":"#ffca00"}},{"scope":["markup.italic","punctuation.definition.italic","todo.emphasis"],"settings":{"foreground":"#ff678d","fontStyle":"italic"}},{"scope":"emphasis md","settings":{"foreground":"#ff678d"}},{"scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"foreground":"#ff678d"}},{"scope":["string.other.link.title.markdown","string.other.link.description.markdown"],"settings":{"foreground":"#9d6afb"}},{"scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"#ff5d36"}},{"scope":["markup.inline.raw.markdown","markup.inline.raw.string.markdown"],"settings":{"foreground":"#0dbe4e"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#ff5d36"}},{"scope":"punctuation.definition.list.markdown","settings":{"foreground":"#ff5d36"}},{"scope":"beginning.punctuation.definition.list.markdown","settings":{"foreground":"#ff5d36"}},{"scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#ff5d36"}},{"scope":"markup.quote.markdown","settings":{"foreground":"#8a8a8a"}},{"scope":"keyword.other.unit","settings":{"foreground":"#ff5d36"}},{"scope":"markup.changed.diff","settings":{"foreground":"#ffab16"}},{"scope":["meta.diff.header.from-file","meta.diff.header.to-file","punctuation.definition.from-file.diff","punctuation.definition.to-file.diff"],"settings":{"foreground":"#9d6afb"}},{"scope":"markup.inserted.diff","settings":{"foreground":"#0dbe4e"}},{"scope":"markup.deleted.diff","settings":{"foreground":"#ff5d36"}},{"scope":"string.regexp","settings":{"foreground":"#00c5d2"}},{"scope":"constant.other.character-class.regexp","settings":{"foreground":"#ff5d36"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#ffca00"}},{"scope":"constant.character.escape","settings":{"foreground":"#00cab1"}},{"scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"#ff5d36"}},{"scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"#ff5d36"}},{"scope":["source.json meta.structure.dictionary.json > value.json > string.quoted.json","source.json meta.structure.array.json > value.json > string.quoted.json","source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation","source.json meta.structure.array.json > value.json > string.quoted.json > punctuation"],"settings":{"foreground":"#0dbe4e"}},{"scope":["source.json meta.structure.dictionary.json > constant.language.json","source.json meta.structure.array.json > constant.language.json"],"settings":{"foreground":"#68cdf2"}},{"scope":"support.type.property-name.json","settings":{"foreground":"#ff5d36"}},{"scope":"support.type.property-name.json punctuation","settings":{"foreground":"#ff5d36"}},{"scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"#737373"}},{"scope":"block.scope.end","settings":{"foreground":"#737373"}},{"scope":"block.scope.begin","settings":{"foreground":"#737373"}},{"scope":"token.info-token","settings":{"foreground":"#9d6afb"}},{"scope":"token.warn-token","settings":{"foreground":"#ffca00"}},{"scope":"token.error-token","settings":{"foreground":"#171717"}},{"scope":"token.debug-token","settings":{"foreground":"#ff678d"}},{"scope":"invalid.illegal","settings":{"foreground":"#171717"}},{"scope":"invalid.broken","settings":{"foreground":"#171717"}},{"scope":"invalid.deprecated","settings":{"foreground":"#171717"}},{"scope":"invalid.unimplemented","settings":{"foreground":"#171717"}}],"semanticTokenColors":{"comment":"#8a8a8a","string":"#0dbe4e","number":"#08c0ef","regexp":"#00c5d2","keyword":"#ff678d","variable":"#fe8c2c","parameter":"#737373","property":"#fe8c2c","function":"#9d6afb","method":"#9d6afb","type":"#d568ea","class":"#d568ea","namespace":"#ffab16","enumMember":"#68cdf2","variable.constant":"#ffca00","variable.defaultLibrary":"#ffab16","decorator":"#69b1ff"}}`));export{e as default};
|
|
2
|
-
//# sourceMappingURL=pierre-light-soft-CodEzPxf.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.freeze(JSON.parse(`{"name":"Pierre Light Vibrant","type":"light","colors":{"editor.background":"color(display-p3 1.000000 1.000000 1.000000)","editor.foreground":"color(display-p3 0.039216 0.039216 0.039216)","foreground":"color(display-p3 0.039216 0.039216 0.039216)","focusBorder":"color(display-p3 0.308664 0.645271 1.000000)","selection.background":"color(display-p3 0.883107 0.920057 0.992610)","editor.selectionBackground":"color(display-p3 0.308664 0.645271 1.000000 / 0.180000)","editor.lineHighlightBackground":"color(display-p3 0.883107 0.920057 0.992610 / 0.550000)","editorCursor.foreground":"color(display-p3 0.308664 0.645271 1.000000)","editorLineNumber.foreground":"color(display-p3 0.450980 0.450980 0.450980)","editorLineNumber.activeForeground":"color(display-p3 0.321569 0.321569 0.321569)","editorIndentGuide.background":"color(display-p3 0.898039 0.898039 0.898039)","editorIndentGuide.activeBackground":"color(display-p3 0.831373 0.831373 0.831373)","diffEditor.insertedTextBackground":"color(display-p3 0.266455 0.667541 0.435918 / 0.200000)","diffEditor.deletedTextBackground":"color(display-p3 0.838044 0.219378 0.220424 / 0.200000)","sideBar.background":"color(display-p3 0.960784 0.960784 0.960784)","sideBar.foreground":"color(display-p3 0.321569 0.321569 0.321569)","sideBar.border":"color(display-p3 0.898039 0.898039 0.898039)","sideBarTitle.foreground":"color(display-p3 0.039216 0.039216 0.039216)","sideBarSectionHeader.background":"color(display-p3 0.960784 0.960784 0.960784)","sideBarSectionHeader.foreground":"color(display-p3 0.321569 0.321569 0.321569)","sideBarSectionHeader.border":"color(display-p3 0.898039 0.898039 0.898039)","activityBar.background":"color(display-p3 0.960784 0.960784 0.960784)","activityBar.foreground":"color(display-p3 0.039216 0.039216 0.039216)","activityBar.border":"color(display-p3 0.898039 0.898039 0.898039)","activityBar.activeBorder":"color(display-p3 0.308664 0.645271 1.000000)","activityBarBadge.background":"color(display-p3 0.308664 0.645271 1.000000)","activityBarBadge.foreground":"color(display-p3 1.000000 1.000000 1.000000)","titleBar.activeBackground":"color(display-p3 0.960784 0.960784 0.960784)","titleBar.activeForeground":"color(display-p3 0.039216 0.039216 0.039216)","titleBar.inactiveBackground":"color(display-p3 0.960784 0.960784 0.960784)","titleBar.inactiveForeground":"color(display-p3 0.450980 0.450980 0.450980)","titleBar.border":"color(display-p3 0.898039 0.898039 0.898039)","list.activeSelectionBackground":"color(display-p3 0.883107 0.920057 0.992610 / 0.800000)","list.activeSelectionForeground":"color(display-p3 0.039216 0.039216 0.039216)","list.inactiveSelectionBackground":"color(display-p3 0.883107 0.920057 0.992610 / 0.450000)","list.hoverBackground":"color(display-p3 0.883107 0.920057 0.992610 / 0.350000)","list.focusOutline":"color(display-p3 0.308664 0.645271 1.000000)","tab.activeBackground":"color(display-p3 1.000000 1.000000 1.000000)","tab.activeForeground":"color(display-p3 0.039216 0.039216 0.039216)","tab.activeBorderTop":"color(display-p3 0.308664 0.645271 1.000000)","tab.inactiveBackground":"color(display-p3 0.960784 0.960784 0.960784)","tab.inactiveForeground":"color(display-p3 0.450980 0.450980 0.450980)","tab.border":"color(display-p3 0.898039 0.898039 0.898039)","editorGroupHeader.tabsBackground":"color(display-p3 0.960784 0.960784 0.960784)","editorGroupHeader.tabsBorder":"color(display-p3 0.898039 0.898039 0.898039)","panel.background":"color(display-p3 0.960784 0.960784 0.960784)","panel.border":"color(display-p3 0.898039 0.898039 0.898039)","panelTitle.activeBorder":"color(display-p3 0.308664 0.645271 1.000000)","panelTitle.activeForeground":"color(display-p3 0.039216 0.039216 0.039216)","panelTitle.inactiveForeground":"color(display-p3 0.450980 0.450980 0.450980)","statusBar.background":"color(display-p3 0.960784 0.960784 0.960784)","statusBar.foreground":"color(display-p3 0.321569 0.321569 0.321569)","statusBar.border":"color(display-p3 0.898039 0.898039 0.898039)","statusBar.noFolderBackground":"color(display-p3 0.960784 0.960784 0.960784)","statusBar.debuggingBackground":"color(display-p3 0.883654 0.721037 0.210874)","statusBar.debuggingForeground":"color(display-p3 1.000000 1.000000 1.000000)","statusBarItem.remoteBackground":"color(display-p3 0.960784 0.960784 0.960784)","statusBarItem.remoteForeground":"color(display-p3 0.321569 0.321569 0.321569)","input.background":"color(display-p3 0.929412 0.929412 0.929412)","input.border":"color(display-p3 0.831373 0.831373 0.831373)","input.foreground":"color(display-p3 0.039216 0.039216 0.039216)","input.placeholderForeground":"color(display-p3 0.541176 0.541176 0.541176)","dropdown.background":"color(display-p3 0.929412 0.929412 0.929412)","dropdown.border":"color(display-p3 0.831373 0.831373 0.831373)","dropdown.foreground":"color(display-p3 0.039216 0.039216 0.039216)","button.background":"color(display-p3 0.308664 0.645271 1.000000)","button.foreground":"color(display-p3 1.000000 1.000000 1.000000)","button.hoverBackground":"color(display-p3 0.376471 0.682353 1.000000)","textLink.foreground":"color(display-p3 0.308664 0.645271 1.000000)","textLink.activeForeground":"color(display-p3 0.308664 0.645271 1.000000)","notifications.background":"color(display-p3 0.968627 0.968627 0.968627)","notifications.foreground":"color(display-p3 0.039216 0.039216 0.039216)","notifications.border":"color(display-p3 0.898039 0.898039 0.898039)","notificationToast.border":"color(display-p3 0.898039 0.898039 0.898039)","notificationCenter.border":"color(display-p3 0.898039 0.898039 0.898039)","notificationCenterHeader.background":"color(display-p3 0.968627 0.968627 0.968627)","notificationCenterHeader.foreground":"color(display-p3 0.321569 0.321569 0.321569)","notificationLink.foreground":"color(display-p3 0.308664 0.645271 1.000000)","notificationsErrorIcon.foreground":"color(display-p3 0.838044 0.219378 0.220424)","notificationsWarningIcon.foreground":"color(display-p3 0.883654 0.721037 0.210874)","notificationsInfoIcon.foreground":"color(display-p3 0.246852 0.642335 0.817202)","quickInput.background":"color(display-p3 0.968627 0.968627 0.968627)","quickInput.foreground":"color(display-p3 0.039216 0.039216 0.039216)","quickInputTitle.background":"color(display-p3 0.968627 0.968627 0.968627)","widget.border":"color(display-p3 0.898039 0.898039 0.898039)","gitDecoration.addedResourceForeground":"color(display-p3 0.266455 0.667541 0.435918)","gitDecoration.conflictingResourceForeground":"color(display-p3 0.391345 0.215644 0.853560)","gitDecoration.modifiedResourceForeground":"color(display-p3 0.308664 0.645271 1.000000)","gitDecoration.deletedResourceForeground":"color(display-p3 0.838044 0.219378 0.220424)","gitDecoration.untrackedResourceForeground":"color(display-p3 0.266455 0.667541 0.435918)","gitDecoration.ignoredResourceForeground":"color(display-p3 0.450980 0.450980 0.450980)","merge.currentHeaderBackground":"color(display-p3 0.391345 0.215644 0.853560 / 0.200000)","merge.currentContentBackground":"color(display-p3 0.391345 0.215644 0.853560 / 0.080000)","merge.incomingHeaderBackground":"color(display-p3 0.246852 0.642335 0.817202 / 0.200000)","merge.incomingContentBackground":"color(display-p3 0.246852 0.642335 0.817202 / 0.080000)","editorOverviewRuler.currentContentForeground":"color(display-p3 0.391345 0.215644 0.853560)","editorOverviewRuler.incomingContentForeground":"color(display-p3 0.246852 0.642335 0.817202)","terminal.titleForeground":"color(display-p3 0.321569 0.321569 0.321569)","terminal.titleInactiveForeground":"color(display-p3 0.450980 0.450980 0.450980)","terminal.background":"color(display-p3 0.960784 0.960784 0.960784)","terminal.foreground":"color(display-p3 0.321569 0.321569 0.321569)","terminal.ansiBlack":"color(display-p3 0.113725 0.113725 0.113725)","terminal.ansiRed":"color(display-p3 0.838044 0.219378 0.220424)","terminal.ansiGreen":"color(display-p3 0.266455 0.667541 0.435918)","terminal.ansiYellow":"color(display-p3 0.883654 0.721037 0.210874)","terminal.ansiBlue":"color(display-p3 0.227104 0.537899 0.881328)","terminal.ansiMagenta":"color(display-p3 0.733164 0.179473 0.572580)","terminal.ansiCyan":"color(display-p3 0.246852 0.642335 0.817202)","terminal.ansiWhite":"color(display-p3 0.737255 0.737255 0.737255)","terminal.ansiBrightBlack":"color(display-p3 0.113725 0.113725 0.113725)","terminal.ansiBrightRed":"color(display-p3 0.838044 0.219378 0.220424)","terminal.ansiBrightGreen":"color(display-p3 0.516667 0.680013 0.208825)","terminal.ansiBrightYellow":"color(display-p3 0.883654 0.721037 0.210874)","terminal.ansiBrightBlue":"color(display-p3 0.227104 0.537899 0.881328)","terminal.ansiBrightMagenta":"color(display-p3 0.733164 0.179473 0.572580)","terminal.ansiBrightCyan":"color(display-p3 0.246852 0.642335 0.817202)","terminal.ansiBrightWhite":"color(display-p3 0.737255 0.737255 0.737255)"},"tokenColors":[{"scope":["comment","punctuation.definition.comment"],"settings":{"foreground":"color(display-p3 0.450980 0.450980 0.450980)"}},{"scope":"comment markup.link","settings":{"foreground":"color(display-p3 0.450980 0.450980 0.450980)"}},{"scope":["string","constant.other.symbol"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":["punctuation.definition.string.begin","punctuation.definition.string.end"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":["constant.numeric","constant.language.boolean"],"settings":{"foreground":"color(display-p3 0.246852 0.642335 0.817202)"}},{"scope":"constant","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"punctuation.definition.constant","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"constant.language","settings":{"foreground":"color(display-p3 0.246852 0.642335 0.817202)"}},{"scope":"variable.other.constant","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"keyword","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.control","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["storage","storage.type","storage.modifier"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"token.storage","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["keyword.operator.new","keyword.operator.expression.instanceof","keyword.operator.expression.typeof","keyword.operator.expression.void","keyword.operator.expression.delete","keyword.operator.expression.in","keyword.operator.expression.of","keyword.operator.expression.keyof"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.operator.delete","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["variable","identifier","meta.definition.variable"],"settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":["variable.other.readwrite","meta.object-literal.key","support.variable.property","support.variable.object.process","support.variable.object.node"],"settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":"variable.language","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"variable.parameter.function","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"function.parameter","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"variable.parameter","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"variable.parameter.function.language.python","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"variable.parameter.function.python","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":["support.function","entity.name.function","meta.function-call","meta.require","support.function.any-method","variable.function"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"keyword.other.special-method","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"entity.name.function","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"support.function.console","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":["support.type","entity.name.type","entity.name.class","storage.type"],"settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":["support.class","entity.name.type.class"],"settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":["entity.name.class","variable.other.class.js","variable.other.class.ts"],"settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":"entity.name.class.identifier.namespace.type","settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":"entity.name.type.namespace","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"entity.other.inherited-class","settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":"entity.name.namespace","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"keyword.operator","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["keyword.operator.logical","keyword.operator.bitwise","keyword.operator.channel"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["keyword.operator.arithmetic","keyword.operator.comparison","keyword.operator.relational","keyword.operator.increment","keyword.operator.decrement"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"keyword.operator.assignment","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"keyword.operator.assignment.compound","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["keyword.operator.assignment.compound.js","keyword.operator.assignment.compound.ts"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"keyword.operator.ternary","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.operator.optional","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"punctuation","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"punctuation.separator.delimiter","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"punctuation.separator.key-value","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"punctuation.terminator","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"meta.brace","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"meta.brace.square","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"meta.brace.round","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"function.brace","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["punctuation.definition.parameters","punctuation.definition.typeparameters"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["punctuation.definition.block","punctuation.definition.tag"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["meta.tag.tsx","meta.tag.jsx","meta.tag.js","meta.tag.ts"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"keyword.operator.expression.import","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"keyword.operator.module","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"support.type.object.console","settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":["support.module.node","support.type.object.module","entity.name.type.module"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"support.constant.math","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"support.constant.property.math","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"support.constant.json","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"support.type.object.dom","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["support.variable.dom","support.variable.property.dom"],"settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":"support.variable.property.process","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"meta.property.object","settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":"variable.parameter.function.js","settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":["keyword.other.template.begin","keyword.other.template.end"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":["keyword.other.substitution.begin","keyword.other.substitution.end"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":["punctuation.definition.template-expression.begin","punctuation.definition.template-expression.end"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"meta.template.expression","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"punctuation.section.embedded","settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":"variable.interpolation","settings":{"foreground":"color(display-p3 0.854172 0.502144 0.209646)"}},{"scope":["punctuation.section.embedded.begin","punctuation.section.embedded.end"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"punctuation.quasi.element","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["support.type.primitive.ts","support.type.builtin.ts","support.type.primitive.tsx","support.type.builtin.tsx"],"settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":"support.type.type.flowtype","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"support.type.primitive","settings":{"foreground":"color(display-p3 0.660755 0.179954 0.815400)"}},{"scope":["meta.decorator","meta.decorator punctuation.decorator"],"settings":{"foreground":"color(display-p3 0.227104 0.537899 0.881328)"}},{"scope":"entity.name.function.decorator","settings":{"foreground":"color(display-p3 0.227104 0.537899 0.881328)"}},{"scope":"punctuation.definition.decorator","settings":{"foreground":"color(display-p3 0.227104 0.537899 0.881328)"}},{"scope":"support.variable.magic.python","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"variable.parameter.function.language.special.self.python","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["punctuation.separator.period.python","punctuation.separator.element.python","punctuation.parenthesis.begin.python","punctuation.parenthesis.end.python"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["punctuation.definition.arguments.begin.python","punctuation.definition.arguments.end.python","punctuation.separator.arguments.python","punctuation.definition.list.begin.python","punctuation.definition.list.end.python"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"support.type.python","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"keyword.operator.logical.python","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"meta.function-call.generic.python","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"meta.function.decorator.python","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":["support.token.decorator.python","meta.function.decorator.identifier.python"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"storage.modifier.lifetime.rust","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"support.function.std.rust","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"entity.name.lifetime.rust","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"variable.language.rust","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"keyword.operator.misc.rust","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"keyword.operator.sigil.rust","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"support.constant.core.rust","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":["meta.function.c","meta.function.cpp"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["punctuation.section.block.begin.bracket.curly.cpp","punctuation.section.block.end.bracket.curly.cpp","punctuation.terminator.statement.c","punctuation.section.block.begin.bracket.curly.c","punctuation.section.block.end.bracket.curly.c","punctuation.section.parens.begin.bracket.round.c","punctuation.section.parens.end.bracket.round.c","punctuation.section.parameters.begin.bracket.round.c","punctuation.section.parameters.end.bracket.round.c"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["keyword.operator.assignment.c","keyword.operator.comparison.c","keyword.operator.c","keyword.operator.increment.c","keyword.operator.decrement.c","keyword.operator.bitwise.shift.c"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["keyword.operator.assignment.cpp","keyword.operator.comparison.cpp","keyword.operator.cpp","keyword.operator.increment.cpp","keyword.operator.decrement.cpp","keyword.operator.bitwise.shift.cpp"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["punctuation.separator.c","punctuation.separator.cpp"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["support.type.posix-reserved.c","support.type.posix-reserved.cpp"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["keyword.operator.sizeof.c","keyword.operator.sizeof.cpp"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"variable.c","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["storage.type.annotation.java","storage.type.object.array.java"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"source.java","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["punctuation.section.block.begin.java","punctuation.section.block.end.java","punctuation.definition.method-parameters.begin.java","punctuation.definition.method-parameters.end.java","meta.method.identifier.java","punctuation.section.method.begin.java","punctuation.section.method.end.java","punctuation.terminator.java","punctuation.section.class.begin.java","punctuation.section.class.end.java","punctuation.section.inner-class.begin.java","punctuation.section.inner-class.end.java","meta.method-call.java","punctuation.section.class.begin.bracket.curly.java","punctuation.section.class.end.bracket.curly.java","punctuation.section.method.begin.bracket.curly.java","punctuation.section.method.end.bracket.curly.java","punctuation.separator.period.java","punctuation.bracket.angle.java","punctuation.definition.annotation.java","meta.method.body.java"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"meta.method.java","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":["storage.modifier.import.java","storage.type.java","storage.type.generic.java"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"keyword.operator.instanceof.java","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"meta.definition.variable.name.java","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"token.variable.parameter.java","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"import.storage.java","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"token.package.keyword","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"token.package","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"token.storage.type.java","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"keyword.operator.assignment.go","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["keyword.operator.arithmetic.go","keyword.operator.address.go"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"entity.name.package.go","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["support.other.namespace.use.php","support.other.namespace.use-as.php","support.other.namespace.php","entity.other.alias.php","meta.interface.php"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"keyword.operator.error-control.php","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.operator.type.php","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["punctuation.section.array.begin.php","punctuation.section.array.end.php"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["storage.type.php","meta.other.type.phpdoc.php","keyword.other.type.php","keyword.other.array.phpdoc.php"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["meta.function-call.php","meta.function-call.object.php","meta.function-call.static.php"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":["punctuation.definition.parameters.begin.bracket.round.php","punctuation.definition.parameters.end.bracket.round.php","punctuation.separator.delimiter.php","punctuation.section.scope.begin.php","punctuation.section.scope.end.php","punctuation.terminator.expression.php","punctuation.definition.arguments.begin.bracket.round.php","punctuation.definition.arguments.end.bracket.round.php","punctuation.definition.storage-type.begin.bracket.round.php","punctuation.definition.storage-type.end.bracket.round.php","punctuation.definition.array.begin.bracket.round.php","punctuation.definition.array.end.bracket.round.php","punctuation.definition.begin.bracket.round.php","punctuation.definition.end.bracket.round.php","punctuation.definition.begin.bracket.curly.php","punctuation.definition.end.bracket.curly.php","punctuation.definition.section.switch-block.end.bracket.curly.php","punctuation.definition.section.switch-block.start.bracket.curly.php","punctuation.definition.section.switch-block.begin.bracket.curly.php","punctuation.definition.section.switch-block.end.bracket.curly.php"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["support.constant.ext.php","support.constant.std.php","support.constant.core.php","support.constant.parser-token.php"],"settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":["entity.name.goto-label.php","support.other.php"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":["keyword.operator.logical.php","keyword.operator.bitwise.php","keyword.operator.arithmetic.php"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"keyword.operator.regexp.php","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.operator.comparison.php","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["keyword.operator.heredoc.php","keyword.operator.nowdoc.php"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"variable.other.class.php","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"invalid.illegal.non-null-typehinted.php","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"variable.other.generic-type.haskell","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"storage.type.haskell","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"storage.type.cs","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"entity.name.variable.local.cs","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"entity.name.label.cs","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["entity.name.scope-resolution.function.call","entity.name.scope-resolution.function.definition"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["punctuation.definition.delayed.unison","punctuation.definition.list.begin.unison","punctuation.definition.list.end.unison","punctuation.definition.ability.begin.unison","punctuation.definition.ability.end.unison","punctuation.operator.assignment.as.unison","punctuation.separator.pipe.unison","punctuation.separator.delimiter.unison","punctuation.definition.hash.unison"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"support.constant.edge","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"support.type.prelude.elm","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"support.constant.elm","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"entity.global.clojure","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"meta.symbol.clojure","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"constant.keyword.clojure","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["meta.arguments.coffee","variable.parameter.function.coffee"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"storage.modifier.import.groovy","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"meta.method.groovy","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"meta.definition.variable.name.groovy","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"meta.definition.class.inherited.classes.groovy","settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":"support.variable.semantic.hlsl","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["support.type.texture.hlsl","support.type.sampler.hlsl","support.type.object.hlsl","support.type.object.rw.hlsl","support.type.fx.hlsl","support.type.object.hlsl"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["text.variable","text.bracketed"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["support.type.swift","support.type.vb.asp"],"settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"meta.scope.prerequisites.makefile","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"source.makefile","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"source.ini","settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":"constant.language.symbol.ruby","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["function.parameter.ruby","function.parameter.cs"],"settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"constant.language.symbol.elixir","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"entity.name.function.xi","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"entity.name.class.xi","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"constant.character.character-class.regexp.xi","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"constant.regexp.xi","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"keyword.control.xi","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"invalid.xi","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"beginning.punctuation.definition.quote.markdown.xi","settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":"beginning.punctuation.definition.list.markdown.xi","settings":{"foreground":"color(display-p3 0.450980 0.450980 0.450980)"}},{"scope":"constant.character.xi","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"accent.xi","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"wikiword.xi","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"constant.other.color.rgb-value.xi","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"punctuation.definition.tag.xi","settings":{"foreground":"color(display-p3 0.450980 0.450980 0.450980)"}},{"scope":["support.constant.property-value.scss","support.constant.property-value.css"],"settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":["keyword.operator.css","keyword.operator.scss","keyword.operator.less"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":["support.constant.color.w3c-standard-color-name.css","support.constant.color.w3c-standard-color-name.scss"],"settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"punctuation.separator.list.comma.css","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"support.type.vendored.property-name.css","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"support.type.property-name.css","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"support.type.property-name","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"support.constant.property-value","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"support.constant.font-name","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"entity.other.attribute-name.class.css","settings":{"foreground":"color(display-p3 0.266455 0.667541 0.435918)","fontStyle":"normal"}},{"scope":"entity.other.attribute-name.id","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)","fontStyle":"normal"}},{"scope":["entity.other.attribute-name.pseudo-element","entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"meta.selector","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"selector.sass","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"rgb-value","settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"inline-color-decoration rgb-value","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"less rgb-value","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"control.elements","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"keyword.operator.less","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"entity.name.tag","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"entity.other.attribute-name","settings":{"foreground":"color(display-p3 0.266455 0.667541 0.435918)","fontStyle":"normal"}},{"scope":"constant.character.entity","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"meta.tag","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"invalid.illegal.bad-ampersand.html","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"markup.heading","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["markup.heading punctuation.definition.heading","entity.name.section"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"entity.name.section.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"punctuation.definition.heading.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"markup.heading.setext","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":["markup.heading.setext.1.markdown","markup.heading.setext.2.markdown"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["markup.bold","todo.bold"],"settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"punctuation.definition.bold","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":"punctuation.definition.bold.markdown","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":["markup.italic","punctuation.definition.italic","todo.emphasis"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)","fontStyle":"italic"}},{"scope":"emphasis md","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"markup.italic.markdown","settings":{"fontStyle":"italic"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":["string.other.link.title.markdown","string.other.link.description.markdown"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"punctuation.definition.metadata.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["markup.inline.raw.markdown","markup.inline.raw.string.markdown"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"punctuation.definition.list.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"beginning.punctuation.definition.list.markdown","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"markup.quote.markdown","settings":{"foreground":"color(display-p3 0.450980 0.450980 0.450980)"}},{"scope":"keyword.other.unit","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"markup.changed.diff","settings":{"foreground":"color(display-p3 0.870477 0.613222 0.203432)"}},{"scope":["meta.diff.header.from-file","meta.diff.header.to-file","punctuation.definition.from-file.diff","punctuation.definition.to-file.diff"],"settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"markup.inserted.diff","settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":"markup.deleted.diff","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"string.regexp","settings":{"foreground":"color(display-p3 0.262058 0.668164 0.717478)"}},{"scope":"constant.other.character-class.regexp","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"constant.character.escape","settings":{"foreground":"color(display-p3 0.272343 0.688141 0.603353)"}},{"scope":"source.json meta.structure.dictionary.json > string.quoted.json","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":["source.json meta.structure.dictionary.json > value.json > string.quoted.json","source.json meta.structure.array.json > value.json > string.quoted.json","source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation","source.json meta.structure.array.json > value.json > string.quoted.json > punctuation"],"settings":{"foreground":"color(display-p3 0.259723 0.647032 0.276349)"}},{"scope":["source.json meta.structure.dictionary.json > constant.language.json","source.json meta.structure.array.json > constant.language.json"],"settings":{"foreground":"color(display-p3 0.327292 0.790977 0.995660)"}},{"scope":"support.type.property-name.json","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"support.type.property-name.json punctuation","settings":{"foreground":"color(display-p3 0.846123 0.351499 0.208754)"}},{"scope":"punctuation.definition.block.sequence.item.yaml","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"block.scope.end","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"block.scope.begin","settings":{"foreground":"color(display-p3 0.388235 0.388235 0.388235)"}},{"scope":"token.info-token","settings":{"foreground":"color(display-p3 0.391345 0.215644 0.853560)"}},{"scope":"token.warn-token","settings":{"foreground":"color(display-p3 0.883654 0.721037 0.210874)"}},{"scope":"token.error-token","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"token.debug-token","settings":{"foreground":"color(display-p3 0.834880 0.207921 0.387456)"}},{"scope":"invalid.illegal","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"invalid.broken","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"invalid.deprecated","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}},{"scope":"invalid.unimplemented","settings":{"foreground":"color(display-p3 0.039216 0.039216 0.039216)"}}],"semanticTokenColors":{"comment":"color(display-p3 0.450980 0.450980 0.450980)","string":"color(display-p3 0.259723 0.647032 0.276349)","number":"color(display-p3 0.246852 0.642335 0.817202)","regexp":"color(display-p3 0.262058 0.668164 0.717478)","keyword":"color(display-p3 0.834880 0.207921 0.387456)","variable":"color(display-p3 0.854172 0.502144 0.209646)","parameter":"color(display-p3 0.388235 0.388235 0.388235)","property":"color(display-p3 0.854172 0.502144 0.209646)","function":"color(display-p3 0.391345 0.215644 0.853560)","method":"color(display-p3 0.391345 0.215644 0.853560)","type":"color(display-p3 0.660755 0.179954 0.815400)","class":"color(display-p3 0.660755 0.179954 0.815400)","namespace":"color(display-p3 0.870477 0.613222 0.203432)","enumMember":"color(display-p3 0.327292 0.790977 0.995660)","variable.constant":"color(display-p3 0.883654 0.721037 0.210874)","variable.defaultLibrary":"color(display-p3 0.870477 0.613222 0.203432)","decorator":"color(display-p3 0.227104 0.537899 0.881328)"}}`));export{e as default};
|
|
2
|
-
//# sourceMappingURL=pierre-light-vibrant-B76X7i5Y.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./compiler-runtime-CLAvuQ-D.js";import{An as t,At as n,Bt as r,Ct as i,Dt as a,E as o,En as s,Et as c,Ft as l,Gt as u,Ht as d,It as f,Jt as p,Kt as m,Lt as h,Mt as g,Nt as _,Ot as v,Pt as y,Qt as b,Sn as x,St as S,Tt as C,Ut as w,Vt as T,Wt as E,Xt as D,Yt as O,Zt as k,_n as A,_t as j,an as M,bt as ee,cn as N,gt as P,hn as F,ht as I,in as L,jn as R,jt as z,kn as B,kt as te,ln as V,mn as ne,mt as H,nn as re,on as U,pn as ie,qt as W,rn as ae,sn as oe,tn as G,un as K,vt as se,wn as q,wt as J,xt as ce,yn as Y,yt as le,zt as X}from"./index-BZdqP0xD.js";var ue=-1,de=class{__id=`file-renderer:${++ue}`;highlighter;renderCache;computedLang=`text`;lineAnnotations={};lineCache;textDoucmentCache=new WeakMap;constructor(e={theme:q},t,n){this.options=e,this.onRenderUpdate=t,this.workerManager=n,n?.isWorkingPool()!==!0&&(this.highlighter=O(e.theme??q)?k():void 0)}setOptions(e){this.options=e}mergeOptions(e){this.options={...this.options,...e}}setLineAnnotations(e){this.lineAnnotations={};for(let t of e){let e=this.lineAnnotations[t.lineNumber]??[];this.lineAnnotations[t.lineNumber]=e,e.push(t)}}cleanUp(){this.recycle(),this.workerManager=void 0,this.onRenderUpdate=void 0}recycle(){this.clearRenderCache(),this.highlighter=void 0,this.workerManager?.cleanUpTasks(this),this.lineCache=void 0}clearRenderCache(){let e=this.renderCache;this.renderCache=void 0,e!=null&&e.isDirty===!0&&e.file.cacheKey!=null&&this.workerManager?.evictFileFromCache(e.file.cacheKey)}hydrate(e){let{options:t}=this.getRenderOptions(e),n=Z(this.getOrCreateLineCache(e).length,this.getTokenizeMaxLength()),r=this.workerManager?.getFileResultCache(e);r!=null&&!W(t,r.options)&&(r=void 0),this.renderCache??={file:e,options:t,highlighted:!n&&!z(e),result:n?void 0:r?.result,renderRange:void 0},this.workerManager?.isWorkingPool()===!0?this.renderCache.result==null&&!n&&this.workerManager.highlightFileAST(this,e):this.highlighter??(this.computedLang=e.lang??d(e.name),this.initializeHighlighter())}getRenderOptions(e){let t=(()=>{if(this.workerManager?.isWorkingPool()===!0)return this.workerManager.getFileRenderOptions();let{theme:e=q,tokenizeMaxLineLength:t=1e3}=this.options;return{theme:e,useTokenTransformer:n(this.options),tokenizeMaxLineLength:t}})(),{renderCache:r}=this;return r?.result==null||!K(e,r.file)||!W(t,r.options)?{options:t,forceHighlight:!0}:{options:t,forceHighlight:!1}}getOrCreateLineCache(e){if(e.cacheKey==null)return this.lineCache=void 0,X(e.contents);let{lineCache:t}=this;return(t==null||t.cacheKey!==e.cacheKey)&&(t={cacheKey:e.cacheKey,lines:X(e.contents)}),this.lineCache=t,t.lines}getLineCount(e){return this.textDoucmentCache.get(e)?.lineCount??this.getOrCreateLineCache(e).length}updateRenderCache(e,t){if(this.renderCache==null)return;let{result:n}=this.renderCache;if(n!=null){for(let[r,i]of e)n.code[r]={type:`element`,tagName:`div`,properties:{"data-line":r+1,"data-line-type":`context`,"data-line-index":r},children:i.map(([e,n,r])=>e===0&&n===``?r===``?{type:`element`,tagName:`br`,properties:{},children:[]}:{type:`text`,value:r}:{type:`element`,tagName:`span`,properties:{"data-char":e,style:`--diffs-token-${t}:${n};`},children:[{type:`text`,value:r}]})};n.baseThemeType=t,this.renderCache.isDirty=!0}}applyDocumentChange(e){if(this.renderCache==null)return;let{file:t,result:n}=this.renderCache;if(n!=null&&n.code.length!==e.lineCount){for(let t=n.code.length;t<e.lineCount;t++)n.code.push({type:`element`,tagName:`div`,properties:{"data-line":t+1,"data-line-type":`context`,"data-line-index":t},children:[{type:`element`,tagName:`span`,properties:{"data-char":0},children:[{type:`text`,value:e.getLineText(t)}]}]});this.renderCache.isDirty=!0}this.textDoucmentCache.set(t,e)}renderFile(e=this.renderCache?.file,t=x){if(e==null)return;let{options:n,forceHighlight:r}=this.getRenderOptions(e),i=this.getMatchingWorkerResultCache(e,n);i!=null&&!this.hasHighlightedRenderCache(e,n)&&(this.renderCache={file:e,highlighted:!0,renderRange:void 0,...i},r=!1),this.renderCache??={file:e,highlighted:!1,options:n,result:void 0,renderRange:void 0};let a=this.getOrCreateLineCache(e),o=e.contents.length>0,s=!o||z(e)||Z(a.length,this.getTokenizeMaxLength()),c=!K(e,this.renderCache.file),l=!m(this.renderCache.renderRange,t);if(this.workerManager?.isWorkingPool()===!0)(s||this.renderCache.result==null||!this.renderCache.highlighted&&(c||l))&&(this.renderCache.file=e,this.renderCache.options=n,this.renderCache.highlighted=!1,(this.renderCache.result==null||c||l||r)&&(this.renderCache.result=this.workerManager.getPlainFileAST(e,t.startingLine,t.totalLines,a)),this.renderCache.renderRange=t),!s&&o&&(!this.renderCache.highlighted||r)&&this.workerManager.highlightFileAST(this,e);else{this.computedLang=e.lang??d(e.name);let t=this.highlighter!=null&&O(n.theme),i=this.highlighter!=null&&G(this.computedLang),a=!s&&i;if(this.highlighter!=null&&t&&(r||s||!this.renderCache.highlighted&&a||this.renderCache.result==null)){let{result:t,options:n}=this.renderFileWithHighlighter(e,this.highlighter,s||!i);this.renderCache={file:e,options:n,highlighted:a,result:t,renderRange:void 0}}(!t||!s&&!i)&&this.asyncHighlight(e).then(({result:t,options:n})=>{this.renderCache!=null&&(this.renderCache.highlighted=!1),this.onHighlightSuccess(e,t,n,!s)})}return this.renderCache.result==null?void 0:this.processFileResult(this.renderCache.file,t,this.renderCache.result)}async asyncRender(e,t=x){let{result:n}=await this.asyncHighlight(e);return this.processFileResult(e,t,n)}async asyncHighlight(e){let t=Z(this.getOrCreateLineCache(e).length,this.getTokenizeMaxLength());this.computedLang=t?`text`:e.lang??d(e.name);let n=this.highlighter!=null&&p(D(this.options.theme)),r=t||this.highlighter!=null&&G(this.computedLang);return(this.highlighter==null||!n||!r)&&(this.highlighter=await this.initializeHighlighter()),this.renderFileWithHighlighter(e,this.highlighter,t)}renderFileWithHighlighter(e,t,n=!1){let{options:r}=this.getRenderOptions(e);return{result:h(e,t,r,{forcePlainText:n}),options:r}}processFileResult(e,t,{code:n,themeStyles:i,baseThemeType:a}){let o=this.getLineCount(e),{disableFileHeader:s=!1}=this.options,c=[],l=N(),d=Math.min(t.startingLine+t.totalLines,o),p=0,m=f(t)?y(this.lineAnnotations):void 0;m!=null&&(l.children.push(U(`context`,`annotation`,1)),c.push(u({type:`annotation`,hunkIndex:-1,lineIndex:-1,annotations:m.map(e=>r(e))})),p++);for(let i=t.startingLine;i<d;i++){let t=i+1,a=n[i];if(a==null){let n=`FileRenderer.processFileResult: Line doesnt exist`;throw console.error(n,{name:e.name,lineIndex:i,lineNumber:t}),Error(n)}l.children.push(oe(`context`,t,`${i}`)),c.push(a),p++;let o=this.lineAnnotations[t];o!=null&&(l.children.push(U(`context`,`annotation`,1)),c.push(u({type:`annotation`,hunkIndex:0,lineIndex:t,annotations:o.map(e=>r(e))})),p++)}return l.properties.style=`grid-row: span ${p}`,{gutterAST:l.children??[],contentAST:c,preAST:this.createPreElement(o),headerAST:s?void 0:this.renderHeader(e),totalLines:o,rowCount:p,themeStyles:i,baseThemeType:a,bufferBefore:t.bufferBefore,bufferAfter:t.bufferAfter,css:``}}renderHeader(e){let{headerRenderMode:t=`default`,stickyHeader:n=!1}=this.options;return E({fileOrDiff:e,mode:t,stickyHeader:n})}renderFullHTML(e){return M(this.renderFullAST(e))}renderFullAST(e,t=[]){return t.push(V({tagName:`code`,children:this.renderCodeAST(e),properties:{"data-code":``}})),{...e.preAST,children:t}}renderCodeAST(e){let t=N();return t.children=e.gutterAST,t.properties.style=`grid-row: span ${e.rowCount}`,[t,g(e.contentAST,e.rowCount)]}renderPartialHTML(e,t=!1){return M(t?V({tagName:`code`,children:e,properties:{"data-code":``}}):e)}async initializeHighlighter(){return this.highlighter=await b(T(this.computedLang,this.options)),this.highlighter}onHighlightSuccess(e,t,n,r=!0){if(this.renderCache==null)return;let i=!K(e,this.renderCache.file)||!this.renderCache.highlighted||!W(n,this.renderCache.options);this.renderCache={file:e,options:n,highlighted:r,result:t,renderRange:void 0},i&&this.onRenderUpdate?.()}getMatchingWorkerResultCache(e,t){let n=this.workerManager?.getFileResultCache(e);if(!(n==null||!W(t,n.options)))return n}hasHighlightedRenderCache(e,t){let{renderCache:n}=this;return n?.result!=null&&n.highlighted&&K(e,n.file)&&W(t,n.options)}onHighlightError(e){console.error(e)}getTokenizeMaxLength(){return this.options.tokenizeMaxLength??1e5}createPreElement(e){let{disableLineNumbers:t=!1,overflow:n=`scroll`}=this.options;return w({type:`file`,diffIndicators:`none`,disableBackground:!0,disableLineNumbers:t,overflow:n,split:!1,totalLines:e})}};function Z(e,t){return e>t}function fe(e,t){return e.lineNumber===t.lineNumber&&e.metadata===t.metadata}function Q(e){return{theme:e?.theme,disableLineNumbers:e?.disableLineNumbers,overflow:e?.overflow,themeType:e?.themeType,collapsed:e?.collapsed,disableFileHeader:e?.disableFileHeader,disableVirtualizationBuffers:e?.disableVirtualizationBuffers,stickyHeader:e?.stickyHeader,preferredHighlighter:e?.preferredHighlighter,useCSSClasses:e?.useCSSClasses,useTokenTransformer:e?.useTokenTransformer,tokenizeMaxLineLength:e?.tokenizeMaxLineLength,tokenizeMaxLength:e?.tokenizeMaxLength,unsafeCSS:e?.unsafeCSS,headerRenderMode:e?.renderCustomHeader==null?`default`:`custom`}}var pe=[``],me=-1,he=class{static LoadedCustomComponent=!0;__id=`file:${++me}`;type=`file`;fileContainer;spriteSVG;pre;code;bufferBefore;bufferAfter;themeCSSStyle;appliedThemeCSS;hasAdoptedThemeCSS=!1;unsafeCSSStyle;appliedUnsafeCSS;gutterUtilityContent;errorWrapper;placeHolder;lastRenderedHeaderHTML;cachedHeaderHTML;appliedPreAttributes;lastRowCount;mounted=!1;headerElement;headerCustom;headerPrefix;headerMetadata;fileRenderer;resizeManager;interactionManager;annotationCache=new Map;lineAnnotations=[];managersDirty=!1;file;renderRange;enabled=!0;editor;constructor(e={theme:q},t,n=!1){this.options=e,this.workerManager=t,this.isContainerManaged=n,this.fileRenderer=new de(e,this.handleHighlightRender,this.workerManager),this.resizeManager=new re,this.interactionManager=new ae(`file`,L(e)),this.workerManager?.subscribeToThemeChanges(this)}handleHighlightRender=()=>{this.rerender()};rerender(){!this.enabled||this.file==null||this.render({file:this.file,forceRender:!0,renderRange:this.renderRange})}onThemeChange(){this.fileRenderer.clearRenderCache(),this.rerender()}setOptions(e){e!=null&&(this.options=e,this.cachedHeaderHTML=void 0,this.syncInteractionOptions())}syncInteractionOptions(){this.interactionManager.setOptions(L(this.options))}mergeOptions(e){this.options={...this.options,...e}}setThemeType(e){(this.options.themeType??`system`)!==e&&(this.mergeOptions({themeType:e}),this.applyCachedThemeState(e))}applyCachedThemeState(e){if(typeof this.options.theme==`string`||this.fileContainer==null||this.appliedThemeCSS==null)return!1;let t=this.appliedThemeCSS.baseThemeType??e;return this.appliedThemeCSS.themeType===t?!1:(this.applyThemeState(this.fileContainer,this.appliedThemeCSS.themeStyles,e,this.appliedThemeCSS.baseThemeType),!0)}hasThemeChanged(){return this.appliedThemeCSS!=null&&!ne(this.appliedThemeCSS.theme,this.options.theme??q)}getHoveredLine=()=>this.interactionManager.getHoveredLine();setLineAnnotations(e){this.lineAnnotations=e}setSelectedLines(e,t){this.interactionManager.setSelection(e,t)}flushManagers(){if(!this.managersDirty||this.pre==null){this.managersDirty=!1;return}let{overflow:e=`scroll`}=this.options;this.interactionManager.setup(this.pre),this.resizeManager.setup(this.pre,e===`wrap`),this.managersDirty=!1}cleanUp(e=!1){this.emitPostRender(!0),this.resizeManager.cleanUp(),this.interactionManager.cleanUp(),this.managersDirty=!1,this.workerManager?.unsubscribeToThemeChanges(this),this.renderRange=void 0,this.isContainerManaged||this.fileContainer?.remove(),this.fileContainer=void 0,this.mounted=!1,e||(this.lineAnnotations=[]),this.annotationCache.clear(),this.pre=void 0,this.bufferBefore=void 0,this.bufferAfter=void 0,this.appliedPreAttributes=void 0,this.lastRowCount=void 0,this.headerElement=void 0,this.headerPrefix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0,this.lastRenderedHeaderHTML=void 0,e||(this.cachedHeaderHTML=void 0),this.errorWrapper=void 0,this.themeCSSStyle=void 0,this.appliedThemeCSS=void 0,this.hasAdoptedThemeCSS=!1,this.unsafeCSSStyle=void 0,this.appliedUnsafeCSS=void 0,this.placeHolder=void 0,this.unsafeCSSStyle=void 0,e?this.fileRenderer.recycle():(this.fileRenderer.cleanUp(),this.workerManager=void 0,this.file=void 0),this.enabled=!1,this.editor?.cleanUp(),this.editor=void 0}virtualizedSetup(){this.enabled=!0,this.workerManager?.subscribeToThemeChanges(this)}hydrate(e){let{fileContainer:t,prerenderedHTML:n,preventEmit:r=!1,file:i,lineAnnotations:a}=e;this.hydrateElements(t,n),ge(this.pre,i,this.options.collapsed)||_e(this.headerElement,i,this.options.disableFileHeader)?this.render({...e,preventEmit:!0}):this.hydrationSetup({file:i,lineAnnotations:a}),r||this.emitPostRender()}hydrateElements(e,t){this.fileContainer!==e&&this.emitPostRender(!0),le(e,t);for(let t of Array.from(e.shadowRoot?.children??[])){if(t instanceof SVGElement){this.spriteSVG=t;continue}if(t instanceof HTMLElement){if(t instanceof HTMLPreElement){this.pre=t,this.appliedPreAttributes=void 0;continue}if(t instanceof HTMLStyleElement&&t.hasAttribute(`data-theme-css`)){this.themeCSSStyle=t;continue}if(t instanceof HTMLStyleElement&&t.hasAttribute(`data-unsafe-css`)){this.unsafeCSSStyle=t,this.appliedUnsafeCSS=t.textContent;continue}if(`diffsHeader`in t.dataset){this.headerElement=t,this.lastRenderedHeaderHTML=void 0;continue}}}this.pre!=null&&(this.syncCodeNodeFromPre(this.pre),this.pre.removeAttribute(`data-dehydrated`)),this.fileContainer=e,this.hydrateMeasuredScrollbar()}hydrationSetup({file:e,lineAnnotations:t}){this.lineAnnotations=t??this.lineAnnotations,this.file=e,this.fileRenderer.setOptions(Q(this.options)),this.syncInteractionOptions(),this.pre!=null&&(this.fileRenderer.hydrate(e),this.renderAnnotations(),this.renderGutterUtility(),this.injectUnsafeCSS(),this.managersDirty=!0,this.flushManagers())}getOrCreateLineCache(e=this.file){return e==null?pe:this.fileRenderer.getOrCreateLineCache(e)}updateBuffers(e){this.pre!=null&&this.applyBuffers(this.pre,e)}syncRenderView=()=>{let e=this.editor,t=this.fileContainer,n=this.file;e!=null&&t!=null&&n!=null&&this.fileRenderer.initializeHighlighter().then(r=>{e.__syncRenderView(r,t,n,this.lineAnnotations,this.renderRange)})};attachEditor(e){return this.editor?.cleanUp(),this.editor=e,A(this.syncRenderView),()=>{this.editor=void 0}}applyDocumentChange(e,t){this.fileRenderer.applyDocumentChange(e),t!=null&&t!==this.lineAnnotations&&this.file!=null&&(this.setLineAnnotations(t),this.fileRenderer.setLineAnnotations(this.lineAnnotations),this.renderAnnotations())}updateRenderCache(e,t){this.fileRenderer.updateRenderCache(e,t)}render({file:e,fileContainer:t,forceRender:n=!1,preventEmit:r=!1,containerWrapper:i,deferManagers:a=!1,lineAnnotations:o,renderRange:s}){if(!this.enabled)throw Error(`File.render: attempting to call render after cleaned up`);this.editor?.__postponeBackgroundTokenizeToNextFrame();let{collapsed:c=!1,themeType:l=`system`}=this.options,u=c?void 0:s,d=this.renderRange,f=this.hasThemeChanged(),p=o!=null&&(o.length>0||this.lineAnnotations.length>0)?o!==this.lineAnnotations:!1,h=!K(this.file,e);if(!c&&!n&&m(u,this.renderRange)&&!h&&!p&&!f)return this.applyCachedThemeState(l);this.renderRange=u,h&&(this.cachedHeaderHTML=void 0),this.file=e,this.fileRenderer.setOptions(Q(this.options)),this.syncInteractionOptions(),o!=null&&this.setLineAnnotations(o),this.fileRenderer.setLineAnnotations(this.lineAnnotations);let{disableErrorHandling:g=!1,disableFileHeader:_=!1}=this.options;if(_&&(this.headerElement!=null&&(this.headerElement.remove(),this.headerElement=void 0,this.lastRenderedHeaderHTML=void 0),this.clearHeaderSlots()),t=this.getOrCreateFileContainerNode(t,i),this.applyCachedThemeState(l),c){this.removeRenderedCode(),this.clearAuxiliaryNodes();try{let n=this.fileRenderer.renderFile(e,B);n!=null&&this.applyThemeState(t,n.themeStyles,l,n.baseThemeType),n?.headerAST!=null&&this.applyHeaderToDOM(n.headerAST,t),this.injectUnsafeCSS()}catch(e){if(g)throw e;console.error(e),e instanceof Error&&this.applyErrorToDOM(e,t)}return r||this.emitPostRender(),!0}try{let r=this.getOrCreatePreNode(t);if(!this.canPartiallyRender(n,p,h||f)||!this.applyPartialRender(d,u)){let n=this.fileRenderer.renderFile(e,u);if(n==null)return this.workerManager?.isInitialized()===!1&&this.workerManager.initialize().then(()=>this.rerender()),!1;this.applyThemeState(t,n.themeStyles,l,n.baseThemeType),n.headerAST!=null&&this.applyHeaderToDOM(n.headerAST,t),this.applyFullRender(n,r)}this.applyBuffers(r,u),this.injectUnsafeCSS(),this.managersDirty=!0,a||this.flushManagers(),this.renderAnnotations(),this.renderGutterUtility(),this.editor!=null&&A(this.syncRenderView)}catch(e){if(g)throw e;console.error(e),e instanceof Error&&this.applyErrorToDOM(e,t)}return r||this.emitPostRender(),!0}emitPostRender(e=!1){let{fileContainer:t,options:{onPostRender:n}}=this;if(e){if(!this.mounted||(this.mounted=!1,t==null))return;n?.(t,this,`unmount`);return}if(t==null)return;let r=this.mounted?`update`:`mount`;this.mounted=!0,n?.(t,this,r)}removeRenderedCode(){this.resizeManager.cleanUp(),this.interactionManager.cleanUp(),this.bufferBefore?.remove(),this.bufferBefore=void 0,this.bufferAfter?.remove(),this.bufferAfter=void 0,this.code?.remove(),this.code=void 0,this.pre?.remove(),this.pre=void 0,this.appliedPreAttributes=void 0,this.lastRowCount=void 0}clearAuxiliaryNodes(){for(let{element:e}of this.annotationCache.values())e.remove();this.annotationCache.clear(),this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0}canPartiallyRender(e,t,n){return!(e||t||n)}renderPlaceholder(e){if(this.fileContainer==null)return!1;if(this.emitPostRender(!0),this.cleanChildNodes(),this.placeHolder==null){let e=this.fileContainer.shadowRoot??this.fileContainer.attachShadow({mode:`open`});this.placeHolder=document.createElement(`div`),this.placeHolder.dataset.placeholder=``,e.appendChild(this.placeHolder)}return this.placeHolder.style.setProperty(`height`,`${e}px`),!0}primeHighlightCache(){let{file:e,workerManager:t}=this;e==null||e.cacheKey==null||t==null||z(e)||this.fileRenderer.getOrCreateLineCache(e).length>(this.options.tokenizeMaxLength??1e5)||t.primeFileHighlightCache(e)}cleanChildNodes(){this.resizeManager.cleanUp(),this.interactionManager.cleanUp(),this.bufferAfter?.remove(),this.bufferBefore?.remove(),this.code?.remove(),this.errorWrapper?.remove(),this.headerElement?.remove(),this.gutterUtilityContent?.remove(),this.headerPrefix?.remove(),this.headerMetadata?.remove(),this.headerCustom?.remove(),this.pre?.remove(),this.spriteSVG?.remove(),this.themeCSSStyle?.remove(),this.unsafeCSSStyle?.remove(),this.bufferAfter=void 0,this.bufferBefore=void 0,this.code=void 0,this.errorWrapper=void 0,this.headerElement=void 0,this.gutterUtilityContent=void 0,this.headerPrefix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0,this.pre=void 0,this.spriteSVG=void 0,this.themeCSSStyle=void 0,this.appliedThemeCSS=void 0,this.hasAdoptedThemeCSS=!1,this.unsafeCSSStyle=void 0,this.appliedUnsafeCSS=void 0,this.lastRenderedHeaderHTML=void 0,this.lastRowCount=void 0,this.mounted=!1}renderAnnotations(){if(this.isContainerManaged||this.fileContainer==null){for(let{element:e}of this.annotationCache.values())e.remove();this.annotationCache.clear();return}let e=new Map(this.annotationCache),{renderAnnotation:t}=this.options;if(t!=null&&this.lineAnnotations.length>0)for(let[n,i]of this.lineAnnotations.entries()){let o=`${n}-${r(i)}`,s=this.annotationCache.get(o);if(s==null||!fe(i,s.annotation)){s?.element.remove();let e=t(i);if(e==null)continue;s={element:a(r(i)),annotation:i},s.element.appendChild(e),this.fileContainer.appendChild(s.element),this.annotationCache.set(o,s)}e.delete(o)}for(let[t,{element:n}]of e.entries())this.annotationCache.delete(t),n.remove()}renderGutterUtility(){let{renderGutterUtility:e}=this.options;if(this.fileContainer==null||e==null){this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0;return}let t=e(this.interactionManager.getHoveredLine);if(t!=null&&this.gutterUtilityContent!=null)return;if(t==null){this.gutterUtilityContent?.remove(),this.gutterUtilityContent=void 0;return}let n=c();n.appendChild(t),this.fileContainer.appendChild(n),this.gutterUtilityContent=n}injectUnsafeCSS(){let{unsafeCSS:e}=this.options,t=this.fileContainer?.shadowRoot;if(t!=null){if(e==null||e===``){this.unsafeCSSStyle!=null&&(this.unsafeCSSStyle.remove(),this.unsafeCSSStyle=void 0),this.appliedUnsafeCSS=void 0;return}this.unsafeCSSStyle?.parentNode===t&&this.appliedUnsafeCSS===e||(this.unsafeCSSStyle??=C(),this.unsafeCSSStyle.parentNode!==t&&t.appendChild(this.unsafeCSSStyle),this.unsafeCSSStyle.textContent=i(e),this.appliedUnsafeCSS=e)}}applyThemeState(e,t,n,r){let i=e.shadowRoot??e.attachShadow({mode:`open`}),a=r??n,o=this.options.theme??q,s=typeof o==`string`?o:{...o},c=J(i);if(this.themeCSSStyle?.parentNode===i&&this.appliedThemeCSS?.themeStyles===t&&this.appliedThemeCSS.themeType===a&&this.appliedThemeCSS.scrollbarGutter===c){this.appliedThemeCSS.theme=s;return}if(this.hasAdoptedThemeCSS&&this.themeCSSStyle?.parentNode===i){this.hasAdoptedThemeCSS=!1,this.appliedThemeCSS={theme:s,themeStyles:t,themeType:a,baseThemeType:r,scrollbarGutter:c};return}this.themeCSSStyle=P({shadowRoot:i,currentNode:this.themeCSSStyle,themeCSS:S(t,a,c)}),this.appliedThemeCSS=this.themeCSSStyle==null?void 0:{theme:s,themeStyles:t,themeType:a,baseThemeType:r,scrollbarGutter:c}}hydrateMeasuredScrollbar(){let e=this.fileContainer?.shadowRoot;e==null||this.themeCSSStyle==null||(this.themeCSSStyle.textContent=ce(this.themeCSSStyle.textContent??``,J(e)))}applyFullRender(e,t){this.cleanupErrorWrapper(),this.applyPreNodeAttributes(t,e),this.code=ee({code:this.code});let n=this.fileRenderer.renderCodeAST(e);if(this.code.childElementCount>=2)for(let e=0;e<2;e++){let t=this.code.children[e],r=n[e];t.innerHTML=M(r.children),t.style.cssText=r.properties.style}else this.code.innerHTML=M(n);t.contains(this.code)||t.replaceChildren(this.code),this.lastRowCount=e.rowCount}applyPartialRender(e,t){if(e==null||t==null)return!1;let{file:n,code:r}=this,i=r==null?void 0:this.getColumns(r);if(n==null||r==null||i==null)return!1;let a=e.startingLine,o=t.startingLine,s=e.totalLines===1/0?1/0:a+e.totalLines,c=t.totalLines===1/0?1/0:o+t.totalLines,l=Math.max(a,o),u=Math.min(s,c);if(u<=l||!this.trimDOMToOverlap(i.gutter,l,u)||!this.trimDOMToOverlap(i.content,l,u))return!1;let{length:d}=i.content.children,f=(e,t)=>{if(!(t<=0))return this.fileRenderer.renderFile(n,{startingLine:e,totalLines:t,bufferBefore:0,bufferAfter:0})},p=o<l?f(o,l-o):void 0;if(p===void 0&&o<l)return!1;let m=c===1/0?1/0:Math.max(0,c-u),h=c>u?f(u,m):void 0;return h===void 0&&c>u?!1:(this.cleanupErrorWrapper(),p!=null&&(i.gutter.insertAdjacentHTML(`afterbegin`,this.fileRenderer.renderPartialHTML(p.gutterAST)),i.content.insertAdjacentHTML(`afterbegin`,this.fileRenderer.renderPartialHTML(p.contentAST)),d+=p.rowCount),h!=null&&(i.gutter.insertAdjacentHTML(`beforeend`,this.fileRenderer.renderPartialHTML(h.gutterAST)),i.content.insertAdjacentHTML(`beforeend`,this.fileRenderer.renderPartialHTML(h.contentAST)),d+=h.rowCount),this.lastRowCount!==d&&(i.gutter.style.setProperty(`grid-row`,`span ${d}`),i.content.style.setProperty(`grid-row`,`span ${d}`),this.lastRowCount=d),!0)}getColumns(e){let t=e.children[0],n=e.children[1];if(!(!(t instanceof HTMLElement)||!(n instanceof HTMLElement)||t.dataset.gutter==null||n.dataset.content==null))return{gutter:t,content:n}}trimDOMToOverlap(e,t,n){let r=this.getDOMBoundaryIndices(e,[t,n]),i=r.get(t)??e.children.length,a=r.get(n)??e.children.length;if(i>a)return!1;for(let t=e.children.length-1;t>=a;--t)e.children[t]?.remove();for(let t=i-1;t>=0;--t)e.children[t]?.remove();return!0}getDOMBoundaryIndices(e,t){let n=[...new Set(t)].sort((e,t)=>e-t),r=new Map;if(n.length===0)return r;let i=0,a=n[i],{children:o}=e;a===0&&(r.set(0,0),i+=1,a=n[i]);for(let e=0;e<o.length;e+=1){let t=o[e];if(!(t instanceof HTMLElement))continue;let s=this.getLineIndexFromDOMNode(t);if(s!=null){for(;a!=null&&s>=a;)r.set(a,e),i+=1,a=n[i];if(i>=n.length)break}}for(let e of n)r.has(e)||r.set(e,o.length);return r}getLineIndexFromDOMNode(e){let t=e.dataset.lineIndex;if(t==null)return;let n=Number(t);return Number.isNaN(n)?void 0:n}applyBuffers(e,t){if(t==null||this.shouldDisableVirtualizationBuffers()){this.bufferBefore!=null&&(this.bufferBefore.remove(),this.bufferBefore=void 0),this.bufferAfter!=null&&(this.bufferAfter.remove(),this.bufferAfter=void 0);return}t.bufferBefore>0?(this.bufferBefore??(this.bufferBefore=document.createElement(`div`),this.bufferBefore.dataset.virtualizerBuffer=`before`,e.before(this.bufferBefore)),this.bufferBefore.style.setProperty(`height`,`${t.bufferBefore}px`),this.bufferBefore.style.setProperty(`contain`,`strict`)):this.bufferBefore!=null&&(this.bufferBefore.remove(),this.bufferBefore=void 0),t.bufferAfter>0?(this.bufferAfter??(this.bufferAfter=document.createElement(`div`),this.bufferAfter.dataset.virtualizerBuffer=`after`,e.after(this.bufferAfter)),this.bufferAfter.style.setProperty(`height`,`${t.bufferAfter}px`),this.bufferAfter.style.setProperty(`contain`,`strict`)):this.bufferAfter!=null&&(this.bufferAfter.remove(),this.bufferAfter=void 0)}shouldDisableVirtualizationBuffers(){return this.options.disableVirtualizationBuffers??!1}applyHeaderToDOM(e,n){let{file:r}=this;if(r==null)return;this.cleanupErrorWrapper(),this.placeHolder?.remove(),this.placeHolder=void 0;let i=this.cachedHeaderHTML??M(e);if(this.cachedHeaderHTML=i,i!==this.lastRenderedHeaderHTML){let e=document.createElement(`div`);e.innerHTML=i;let t=e.firstElementChild;if(!(t instanceof HTMLElement))return;this.headerElement==null?n.shadowRoot?.prepend(t):n.shadowRoot?.replaceChild(t,this.headerElement),this.headerElement=t,this.lastRenderedHeaderHTML=i}if(this.isContainerManaged)return;let{renderHeaderPrefix:a,renderCustomHeader:o,renderHeaderMetadata:s}=this.options;if(o!=null){let e=o(r)??void 0;this.headerCustom=this.upsertHeaderSlotElement(n,this.headerCustom,Y,e),this.headerPrefix?.remove(),this.headerMetadata?.remove(),this.headerPrefix=void 0,this.headerMetadata=void 0}else{let e=a?.(r)??void 0,i=s?.(r)??void 0;this.headerPrefix=this.upsertHeaderSlotElement(n,this.headerPrefix,R,e),this.headerMetadata=this.upsertHeaderSlotElement(n,this.headerMetadata,t,i),this.headerCustom?.remove(),this.headerCustom=void 0}}clearHeaderSlots(){this.headerPrefix?.remove(),this.headerMetadata?.remove(),this.headerCustom?.remove(),this.headerPrefix=void 0,this.headerMetadata=void 0,this.headerCustom=void 0}upsertHeaderSlotElement(e,t,n,r){if(r==null){t?.remove();return}let i=t??this.createHeaderSlotElement(n);return t??e.appendChild(i),this.replaceHeaderSlotContent(i,r),i}replaceHeaderSlotContent(e,t){e.replaceChildren(),t instanceof Element?e.appendChild(t):e.innerText=`${t}`}createHeaderSlotElement(e){let t=document.createElement(`div`);return t.slot=e,t}getOrCreateFileContainerNode(e,t){let{fileContainer:n}=this,r=e??n??document.createElement(`diffs-container`),i=n!==r;return i&&this.emitPostRender(!0),this.fileContainer=r,n!=null&&i&&(this.lastRenderedHeaderHTML=void 0,this.headerElement=void 0),t!=null&&this.fileContainer.parentNode!==t&&t.appendChild(this.fileContainer),i&&this.adoptReusableShellElements(this.fileContainer),this.ensureSpriteSVG(this.fileContainer),this.fileContainer}adoptReusableShellElements(e){let{shadowRoot:t}=e;if(t!=null)for(let e of t.children)e instanceof SVGElement?this.spriteSVG??=e:j(e)&&e.hasAttribute(`data-theme-css`)?(this.themeCSSStyle??=e,this.hasAdoptedThemeCSS=!0):j(e)&&e.hasAttribute(`data-unsafe-css`)&&(this.unsafeCSSStyle??=e,this.appliedUnsafeCSS??=this.options.unsafeCSS??void 0)}ensureSpriteSVG(e){let t=e.shadowRoot??e.attachShadow({mode:`open`});if(this.spriteSVG==null){let e=document.createElement(`div`);e.innerHTML=te;let t=e.firstChild;t instanceof SVGElement&&(this.spriteSVG=t)}this.spriteSVG!=null&&this.spriteSVG.parentNode!==t&&t.appendChild(this.spriteSVG)}getOrCreatePreNode(e){let t=e.shadowRoot??e.attachShadow({mode:`open`});return this.pre==null?(this.pre=document.createElement(`pre`),this.appliedPreAttributes=void 0,this.code=void 0,t.appendChild(this.pre)):this.pre.parentNode!==t&&(e.shadowRoot?.appendChild(this.pre),this.appliedPreAttributes=void 0),this.placeHolder?.remove(),this.placeHolder=void 0,this.pre}syncCodeNodeFromPre(e){this.code=void 0;for(let t of Array.from(e.children))if(t instanceof HTMLElement&&t.hasAttribute(`data-code`)){this.code=t;return}}applyPreNodeAttributes(e,{totalLines:t}){let{overflow:n=`scroll`,disableLineNumbers:r=!1}=this.options,i={type:`file`,split:!1,overflow:n,disableLineNumbers:r,diffIndicators:`none`,disableBackground:!0,totalLines:t};v(i,this.appliedPreAttributes)||(se(e,i),this.appliedPreAttributes=i)}applyErrorToDOM(e,t){this.cleanupErrorWrapper(),this.pre?.remove(),this.pre=void 0,this.appliedPreAttributes=void 0;let n=t.shadowRoot??t.attachShadow({mode:`open`});this.errorWrapper??=document.createElement(`div`),this.errorWrapper.dataset.errorWrapper=``,this.errorWrapper.textContent=``,n.appendChild(this.errorWrapper);let r=document.createElement(`div`);r.dataset.errorMessage=``,r.innerText=e.message,this.errorWrapper.appendChild(r);let i=document.createElement(`pre`);i.dataset.errorStack=``,i.innerText=e.stack??`No Error Stack`,this.errorWrapper.appendChild(i)}cleanupErrorWrapper(){this.errorWrapper?.remove(),this.errorWrapper=void 0}};function ge(e,t,n=!1){return!n&&e==null&&t!=null}function _e(e,t,n=!1){return e==null&&t!=null&&!n}var ve=5e3,ye=-1;function be(e,t){return(e.overflow??`scroll`)!==(t.overflow??`scroll`)||(e.collapsed??!1)!==(t.collapsed??!1)||(e.disableLineNumbers??!1)!==(t.disableLineNumbers??!1)||(e.disableFileHeader??!1)!==(t.disableFileHeader??!1)||e.unsafeCSS!==t.unsafeCSS}var xe=class extends he{__id=`virtualized-file:${++ye}`;top;height=0;cache={heights:new Map,checkpoints:[],fileAnnotationHeight:0};isVisible=!1;isSetup=!1;layoutDirty=!0;forceRenderOverride;currentCollapsed;constructor(e,t,n=s,r,i=!1){super(e,r,i),this.virtualizer=t,this.metrics=n}setMetrics(e,t=!1){!t&&F(this.metrics,e)||(this.metrics=e,this.resetLayoutCache())}setLineAnnotations(e){this.syncLineAnnotations(e)&&this.resetLayoutCache()}syncLineAnnotations(e){return e==null||e===this.lineAnnotations||e.length===0&&this.lineAnnotations.length===0?!1:(super.setLineAnnotations(e),!0)}hasLineAnnotations(){return this.lineAnnotations.some(e=>e.lineNumber>0)}getLineHeight(e,t=!1){let n=this.cache.heights.get(e);if(n!=null)return n;let r=t?2:1;return this.metrics.lineHeight*r}setOptions(e){if(this.isAdvancedMode())throw Error(`VirtualizedFile.setOptions cannot be used inside CodeView. Update CodeView options instead.`);if(e==null)return;let{options:t}=this,n=!ie(t,e),r=be(t,e);super.setOptions(e),r&&this.resetLayoutCache(!0),n&&(this.forceRenderOverride=!0),n&&this.virtualizer.instanceChanged(this,r)}setThemeType(e){if(this.isAdvancedMode())throw Error(`VirtualizedFile.setThemeType cannot be used inside CodeView. Update CodeView options instead.`);super.setThemeType(e)}resetLayoutCache(e=!1){this.layoutDirty=!0,this.cache.fileAnnotationHeight=0,this.cache.heights.size>0&&this.cache.heights.clear(),this.cache.checkpoints.length>0&&(this.cache.checkpoints.length=0),this.renderRange!=null&&(this.renderRange=void 0),e&&this.isSimpleMode()&&this.computeApproximateSize()}reconcileHeights(){let e=!1;if(this.fileContainer==null||this.file==null)return this.height!==0&&(e=!0),this.height=0,e;let{overflow:t=`scroll`}=this.options;if(this.top=this.getVirtualizedTop(),t===`scroll`&&this.lineAnnotations.length===0&&!this.isResizeDebuggingEnabled()||this.code==null)return e;let n=this.code.children[1];if(!(n instanceof HTMLElement))return e;let r=l(this.lineAnnotations);if(this.renderRange!=null&&r&&f(this.renderRange)){let t=Se(n)??0;t!==this.cache.fileAnnotationHeight&&(this.cache.fileAnnotationHeight=t,e=!0)}else!r&&this.cache.fileAnnotationHeight!==0&&(this.cache.fileAnnotationHeight=0,e=!0);for(let t of n.children){if(!(t instanceof HTMLElement))continue;let n=t.dataset.lineIndex;if(n==null)continue;let r=Number(n),i=t.getBoundingClientRect().height,a=!1;t.nextElementSibling instanceof HTMLElement&&(`lineAnnotation`in t.nextElementSibling.dataset||`noNewline`in t.nextElementSibling.dataset)&&(`noNewline`in t.nextElementSibling.dataset&&(a=!0),i+=t.nextElementSibling.getBoundingClientRect().height);let o=this.getLineHeight(r,a);i!==o&&(e=!0,i===this.metrics.lineHeight*(a?2:1)?this.cache.heights.delete(r):this.cache.heights.set(r,i))}return(e||this.isResizeDebuggingEnabled())&&this.computeApproximateSize(!0),e}onRender=e=>this.fileContainer==null||this.file==null?!1:(e&&(this.top=this.getVirtualizedTop()),this.render({file:this.file}));prepareCodeViewItem(e,t,n,r){let i=this.syncLineAnnotations(r),a=n?.resetFileLayoutCache===!0||i;n?.metrics!=null&&(this.metrics=n.metrics,a=!0);let{collapsed:o=!1}=this.options;return this.currentCollapsed!==o&&(this.currentCollapsed=o,a=!0),a&&this.resetLayoutCache(),this.file!==e&&(this.layoutDirty=!0),this.file=e,this.top=t,this.computeApproximateSize(),this.height}getLinePosition(e){if(this.file==null||e<1)return;let{disableFileHeader:t=!1,collapsed:n=!1}=this.options,r=this.fileRenderer.getLineCount(this.file)-1,i=H(this.metrics,t);if(n||r<0)return{top:i,height:0};let a=Math.min(Math.max(e-1,0),r),{overflow:o=`scroll`}=this.options,{lineHeight:s}=this.metrics;if(i+=this.cache.fileAnnotationHeight,o===`scroll`&&!this.hasLineAnnotations())return{top:i+a*s,height:s};let c=this.getLayoutCheckpointBeforeLineIndex(a);i=c?.top??i;for(let e=c?.lineIndex??0;e<a;e++)i+=this.getLineHeight(e,!1);return{top:i,height:this.getLineHeight(a,!1)}}getNumericScrollAnchor(e){if(this.file==null||this.renderRange==null)return;let{disableFileHeader:t=!1,collapsed:n=!1,overflow:r=`scroll`}=this.options;if(n||this.renderRange.totalLines<=0)return;let i=this.fileRenderer.getLineCount(this.file)-1;if(i<0)return;let a=H(this.metrics,t),o=Math.min(this.renderRange.startingLine,i),s=Math.min(o+this.renderRange.totalLines-1,i);if(s<o)return;let{fileAnnotationHeight:c}=this.cache;if(r===`scroll`&&!this.hasLineAnnotations()){let{lineHeight:t}=this.metrics,n=a+(o===0?c:this.renderRange.bufferBefore),r=o+Math.max(Math.ceil((e-n)/t),0);return r>s?void 0:{lineNumber:r+1,top:a+c+r*t}}let l=a+(o===0?c:this.renderRange.bufferBefore);for(let t=o;t<=s;t++){if(l>=e)return{lineNumber:t+1,top:l};l+=this.getLineHeight(t)}}getVirtualizedHeight(){return this.height}getAdvancedStickySpecs(e){if(this.top==null||this.file==null)return;if(this.options.collapsed===!0)return{topOffset:this.top,height:this.height};let t=e==null?this.renderRange:this.computeRenderRangeFromWindow(this.file,this.top,e);if(t==null)return;let{bufferBefore:n,bufferAfter:r,totalLines:i}=t,a=0;if(i===0){let t=e??this.virtualizer.getWindowSpecs();this.top<t.top&&(a=r)}return{topOffset:this.top+n+a,height:this.height-(n+r)}}cleanUp(e=!1){this.fileContainer!=null&&this.isSimpleMode()&&this.getSimpleVirtualizer()?.disconnect(this.fileContainer),e||this.resetLayoutCache(),this.isSetup=!1,super.cleanUp(e)}computeApproximateSize(e=!1){let t=this.isResizeDebuggingEnabled();if(!e&&!this.layoutDirty&&!t)return;let n=this.height===0;if(this.height=0,this.cache.checkpoints=[],this.file==null){this.layoutDirty=!1;return}let{disableFileHeader:r=!1,collapsed:i=!1,overflow:a=`scroll`}=this.options,{lineHeight:o}=this.metrics,s=this.fileRenderer.getLineCount(this.file),c=H(this.metrics,r),l=I(this.metrics);if(this.height+=c,i){this.layoutDirty=!1;return}if(this.height+=this.cache.fileAnnotationHeight,a===`scroll`&&!this.hasLineAnnotations())this.height+=s*o;else for(let e=0;e<s;e++)this.addLayoutCheckpoint(e,this.height),this.height+=this.getLineHeight(e,!1);if(s>0&&(this.height+=l),this.fileContainer!=null&&t&&!n){let e=this.fileContainer.getBoundingClientRect();e.height===this.height?console.log(`VirtualizedFile.computeApproximateSize: computed height IS CORRECT`):console.log(`VirtualizedFile.computeApproximateSize: computed height doesnt match`,{name:this.file.name,elementHeight:e.height,computedHeight:this.height})}this.layoutDirty=!1}setVisibility(e){this.isAdvancedMode()||this.fileContainer==null||(e&&!this.isVisible?(this.top=this.getVirtualizedTop(),this.isVisible=!0):!e&&this.isVisible&&(this.isVisible=!1,this.rerender()))}rerender(){!this.enabled||this.file==null||(this.forceRenderOverride=!0,this.virtualizer.instanceChanged(this,!1))}applyDocumentChange(e,t,n=!1){let{heights:r,checkpoints:i}=this.cache,a=this.renderRange;if(super.applyDocumentChange(e,t),this.getSimpleVirtualizer()?.markDOMDirty(),this.layoutDirty=!0,r.size>0&&r.clear(),i.length>0&&(i.length=0),this.isSimpleMode()&&this.computeApproximateSize(),n&&a!==void 0&&this.file!==void 0){let e=this.virtualizer.getWindowSpecs(),t=this.computeRenderRangeFromWindow(this.file,this.top??0,e);t.bufferAfter!==a.bufferAfter&&this.updateBuffers(t)}}render({fileContainer:e,file:t,forceRender:n=!1,lineAnnotations:r,...i}){let a=this.file==null||!K(this.file,t),{forceRenderOverride:o,isSetup:s}=this;this.forceRenderOverride=void 0;let c=this.syncLineAnnotations(r);if(c&&this.resetLayoutCache(),this.file=t,e=this.getOrCreateFileContainerNode(e),this.file==null)return console.error(`VirtualizedFile.render: attempting to virtually render when we dont have file`),!1;if(s)this.top??=this.getVirtualizedTop(),a&&this.isSimpleMode()&&(this.getSimpleVirtualizer()?.markDOMDirty(),this.resetLayoutCache(!0));else{this.computeApproximateSize();let t=this.getSimpleVirtualizer();if(this.top??=this.getVirtualizedTop(),this.isAdvancedMode())this.isVisible=!0;else{if(t==null)throw Error(`VirtualizedFile.render: simple virtualizer is not available`);t.connect(e,this),this.isVisible=t.isInstanceVisible(this.top??0,this.height)}this.isSetup=!0}if(!this.isVisible&&this.isSimpleMode())return this.renderPlaceholder(this.height);let l=this.virtualizer.getWindowSpecs(),u=this.top??0,d=this.computeRenderRangeFromWindow(this.file,u,l);return super.render({file:this.file,fileContainer:e,renderRange:d,lineAnnotations:r,forceRender:(o??n)||c,...i})}syncVirtualizedTop(){this.top=this.getVirtualizedTop()}shouldDisableVirtualizationBuffers(){return this.isAdvancedMode()||super.shouldDisableVirtualizationBuffers()}isSimpleMode(){return this.virtualizer.type===`simple`}isAdvancedMode(){return this.virtualizer.type===`advanced`}addLayoutCheckpoint(e,t){e%ve===0&&this.cache.checkpoints.push({lineIndex:e,top:t})}getLayoutCheckpointBeforeLineIndex(e){if(e<=0||this.cache.checkpoints.length===0)return;let t=0,n=this.cache.checkpoints.length-1,r;for(;t<=n;){let i=t+n>>1,a=this.cache.checkpoints[i];if(a==null)throw Error(`VirtualizedFile: invalid checkpoint index`);a.lineIndex<=e?(r=a,t=i+1):n=i-1}return r}getLayoutCheckpointBeforeTop(e,t){let n=0,r=this.cache.checkpoints.length-1,i=-1;for(;n<=r;){let t=n+r>>1,a=this.cache.checkpoints[t];if(a==null)throw Error(`VirtualizedFile: invalid checkpoint index`);a.top<=e?(i=t,n=t+1):r=t-1}if(t==null)return i>=0?this.cache.checkpoints[i]:void 0;for(let e=i;e>=0;e--){let n=this.cache.checkpoints[e];if(n==null)throw Error(`VirtualizedFile: invalid checkpoint index`);if(n.lineIndex%t===0)return n}}getVirtualizedTop(){return this.virtualizer.type===`advanced`?this.virtualizer.getLocalTopForInstance(this):this.fileContainer==null?0:this.virtualizer.getOffsetInScrollContainer(this.fileContainer)}getSimpleVirtualizer(){return this.virtualizer.type===`simple`?this.virtualizer:void 0}isResizeDebuggingEnabled(){return this.getSimpleVirtualizer()?.config.resizeDebugging??!1}computeRenderRangeFromWindow(e,t,{top:n,bottom:r}){let{disableFileHeader:i=!1,overflow:a=`scroll`}=this.options,{hunkLineCount:o,lineHeight:s}=this.metrics,c=this.fileRenderer.getLineCount(e),u=this.height,d=H(this.metrics,i),f=c>0?I(this.metrics):0,{fileAnnotationHeight:p}=this.cache,m=d+p,h=Math.max(0,u-d-p-f),g=l(this.lineAnnotations),_=t+d,v=p>0&&g&&_<r&&_+p>n;if(t<n-u||t>r)return{startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:u-d-f};if(c<=o)return{startingLine:0,totalLines:o,bufferBefore:0,bufferAfter:0};let y=Math.ceil(Math.max(r-n,0)/s),b=Math.ceil(y/o)*o+o*2,x=b/o,S=(n+r)/2;if(a===`scroll`&&!this.hasLineAnnotations()){let e=t+m,i=e+h;if(!v&&!(e<r&&i>n))return{startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:u-d-f};let a=Math.floor(v&&S<t+m?0:(S-(t+m))/s),l=Math.floor(a/o)-Math.floor(x/2),g=Math.ceil(c/o),_=Math.max(0,Math.min(l,g))*o,y=l<0?b+l*o:b,C=_===0?0:p+_*s,w=Math.min(y,c-_);return{startingLine:_,totalLines:y,bufferBefore:C,bufferAfter:Math.max(0,(c-_-w)*s)}}let C=x,w=[],T=this.getLayoutCheckpointBeforeTop(Math.max(0,n-t-b*s*2),o),E=t+(T?.top??m),D=T?.lineIndex??0,O,k,A,j=T?.lineIndex??0;for(let e=j;e<c;e++){let i=D%o===0,a=Math.floor(D/o);if(i&&(w[a]=E-(t+m),A!=null)){if(A<=0)break;A--}let s=this.getLineHeight(e,!1);E>n-s&&E<r&&(O??=a),E+s>S&&(k??=a),A==null&&E>=r&&i&&(A=C),D++,E+=s}if(O==null)if(v)O=0,k=0;else return{startingLine:0,totalLines:0,bufferBefore:0,bufferAfter:u-d-f};k??=O;let M=Math.round(k-x/2),ee=Math.max(0,Math.ceil(c/o)-x),N=Math.max(0,Math.min(M,ee)),P=N*o,F=M<0?b+M*o:b,L=w[N]??0,R=P===0?0:p+L,z=N+F/o,B=z<w.length?h-w[z]:h-(E-t-m);return{startingLine:P,totalLines:F,bufferBefore:R,bufferAfter:Math.max(0,B)}}};function Se(e){let t;for(let n of e.children)n instanceof HTMLElement&&n.dataset.lineAnnotation===_&&(t=Math.max(t??0,n.getBoundingClientRect().height));return t}var $=e();function Ce({file:e,renderCustomHeader:t,renderHeaderPrefix:n,renderHeaderMetadata:i,renderAnnotation:a,lineAnnotations:s,renderGutterUtility:c,getHoveredLine:l}){let u=t?.(e),d=n?.(e),f=i?.(e);return(0,$.jsxs)($.Fragment,{children:[u==null?(0,$.jsxs)($.Fragment,{children:[d!=null&&(0,$.jsx)(`div`,{slot:`header-prefix`,children:d}),f!=null&&(0,$.jsx)(`div`,{slot:`header-metadata`,children:f})]}):(0,$.jsx)(`div`,{slot:Y,children:u}),a!=null&&s?.map((e,t)=>(0,$.jsx)(`div`,{slot:r(e),children:a(e)},t)),c!=null&&(0,$.jsx)(`div`,{slot:`gutter-utility-slot`,style:o,children:c(l)})]})}export{xe as n,he as r,Ce as t};
|
|
2
|
-
//# sourceMappingURL=renderFileChildren-CbnyGaFt.js.map
|