@webskill/sdk 0.8.0 → 0.9.0

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.
Files changed (35) hide show
  1. package/dist/agent.d.ts +1 -1
  2. package/dist/agent.js +1 -1
  3. package/dist/browser.d.ts +3 -3
  4. package/dist/browser.js +22 -8
  5. package/dist/{catalogComponents-DfxxfUvn-D55Gbb2l.js → catalogComponents-DfxxfUvn-T7Ic8QFV.js} +593 -562
  6. package/dist/{dist-CJqQsIm9.js → dist-BQe1uglQ.js} +2 -2
  7. package/dist/{dist-59XlqDuv.js → dist-Bev6i6Ip.js} +10 -2
  8. package/dist/{dist-DmI5SBBF.js → dist-CFmkV45C.js} +44 -12
  9. package/dist/{eventTypes-g1BXL6x5-CibcOftR.js → eventTypes-DbOpAECr-BjcjZVms.js} +10 -2
  10. package/dist/governance.d.ts +11 -3
  11. package/dist/governance.js +9 -9
  12. package/dist/{index-P9J2LTfU.d.ts → index-DXNTIa-6.d.ts} +2 -2
  13. package/dist/{index-fLskQfAS.d.ts → index-lLcCpHE-.d.ts} +2 -2
  14. package/dist/{index-K-eewlGL.d.ts → index-znZjobkr.d.ts} +7 -2
  15. package/dist/index.d.ts +11 -3
  16. package/dist/index.js +13 -4
  17. package/dist/mcp.d.ts +7 -2
  18. package/dist/mcp.js +9 -5
  19. package/dist/{memoryArtifactStore-52Zn9npI-upv5OWYf.js → memoryArtifactStore-52Zn9npI-LbCQaqyx.js} +1 -1
  20. package/dist/node.d.ts +3 -3
  21. package/dist/node.js +6 -6
  22. package/dist/{openUiLibrary-DURlAxjk-CU6AzfSW.js → openUiLibrary-DURlAxjk-Do_yqg3u.js} +2 -2
  23. package/dist/{skillVersionStore-Bl-ElD45-gRfSaAby.d.ts → skillVersionStore-Bl-ElD45-dMJ8Ybhb.d.ts} +1 -1
  24. package/dist/{testing-BCUO5gZR.js → testing-Csg5ljNm.js} +2 -2
  25. package/dist/testing.d.ts +1 -1
  26. package/dist/testing.js +2 -2
  27. package/dist/{types-B3n0cMZu-BdcqQ35O.d.ts → types-B3n0cMZu-BDhheIhX.d.ts} +9 -1
  28. package/dist/ui-react.d.ts +8 -2
  29. package/dist/ui-react.js +8 -5
  30. package/dist/ui-vue.d.ts +1 -1
  31. package/dist/ui-vue.js +1 -1
  32. package/dist/ui.d.ts +3 -3
  33. package/dist/ui.js +2 -2
  34. package/dist/{webskillLitCatalog-DwTwSBFt-DiXXpNZA.js → webskillLitCatalog-DwTwSBFt-BG7kL-Es.js} +1 -1
  35. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { a as __require, i as __reExport, n as __esmMin, o as __toCommonJS, r as __exportAll$2, s as __toESM$1, t as __commonJSMin$1 } from "./rolldown-runtime-BOF7iYI8.js";
2
- import { m as WebSkillError } from "./dist-59XlqDuv.js";
3
- import { D as evaluateFieldCondition, I as qualifyFieldName, S as collectScopedValues, Z as DEFAULT_SURFACE_FORM_TEXTS, it as chartSpecFromProps, st as mountEchart, ut as resolveSurfaceFormTexts, x as collectFormScopes } from "./dist-CJqQsIm9.js";
2
+ import { h as WebSkillError } from "./dist-Bev6i6Ip.js";
3
+ import { D as evaluateFieldCondition, I as qualifyFieldName, S as collectScopedValues, Z as DEFAULT_SURFACE_FORM_TEXTS, it as chartSpecFromProps, st as mountEchart, ut as resolveSurfaceFormTexts, x as collectFormScopes } from "./dist-BQe1uglQ.js";
4
4
  import minpath$1 from "node:path";
5
5
  import { fileURLToPath as urlToPath$1 } from "node:url";
6
6
  import { z } from "zod";
@@ -99820,7 +99820,7 @@ const variantClasses$1 = {
99820
99820
  danger: "bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm disabled:opacity-60"
99821
99821
  };
99822
99822
  const sizeClasses$2 = {
99823
- sm: "h-7 px-2.5 text-xs gap-1.5 rounded-md",
99823
+ sm: "h-8 px-2.5 text-xs gap-1.5 rounded-md",
99824
99824
  md: "h-9 px-3.5 text-sm gap-2 rounded-lg"
99825
99825
  };
99826
99826
  function Button({ variant = "primary", size = "md", loading = false, icon, disabled, className = "", children, type = "button", ...rest }) {
@@ -119703,573 +119703,604 @@ function resolveLanguage(raw) {
119703
119703
  if (raw in languages) return raw;
119704
119704
  return languageAliases[raw];
119705
119705
  }
119706
- /** 全站唯一的代码高亮主题对。引用相等是验收判据(AC-19.8),不导出到包外。 */
119707
- const PRISM_THEME = {
119708
- dark: {
119709
- "code[class*=\"language-\"]": {
119710
- "background": "hsl(220, 13%, 18%)",
119711
- "color": "hsl(220, 14%, 71%)",
119712
- "textShadow": "0 1px rgba(0, 0, 0, 0.3)",
119713
- "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
119714
- "direction": "ltr",
119715
- "textAlign": "left",
119716
- "whiteSpace": "pre",
119717
- "wordSpacing": "normal",
119718
- "wordBreak": "normal",
119719
- "lineHeight": "1.5",
119720
- "MozTabSize": "2",
119721
- "OTabSize": "2",
119722
- "tabSize": "2",
119723
- "WebkitHyphens": "none",
119724
- "MozHyphens": "none",
119725
- "msHyphens": "none",
119726
- "hyphens": "none"
119727
- },
119728
- "pre[class*=\"language-\"]": {
119729
- "background": "hsl(220, 13%, 18%)",
119730
- "color": "hsl(220, 14%, 71%)",
119731
- "textShadow": "0 1px rgba(0, 0, 0, 0.3)",
119732
- "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
119733
- "direction": "ltr",
119734
- "textAlign": "left",
119735
- "whiteSpace": "pre",
119736
- "wordSpacing": "normal",
119737
- "wordBreak": "normal",
119738
- "lineHeight": "1.5",
119739
- "MozTabSize": "2",
119740
- "OTabSize": "2",
119741
- "tabSize": "2",
119742
- "WebkitHyphens": "none",
119743
- "MozHyphens": "none",
119744
- "msHyphens": "none",
119745
- "hyphens": "none",
119746
- "padding": "1em",
119747
- "margin": "0.5em 0",
119748
- "overflow": "auto",
119749
- "borderRadius": "0.3em"
119750
- },
119751
- "code[class*=\"language-\"]::-moz-selection": {
119752
- "background": "hsl(220, 13%, 28%)",
119753
- "color": "inherit",
119754
- "textShadow": "none"
119755
- },
119756
- "code[class*=\"language-\"] *::-moz-selection": {
119757
- "background": "hsl(220, 13%, 28%)",
119758
- "color": "inherit",
119759
- "textShadow": "none"
119760
- },
119761
- "pre[class*=\"language-\"] *::-moz-selection": {
119762
- "background": "hsl(220, 13%, 28%)",
119763
- "color": "inherit",
119764
- "textShadow": "none"
119765
- },
119766
- "code[class*=\"language-\"]::selection": {
119767
- "background": "hsl(220, 13%, 28%)",
119768
- "color": "inherit",
119769
- "textShadow": "none"
119770
- },
119771
- "code[class*=\"language-\"] *::selection": {
119772
- "background": "hsl(220, 13%, 28%)",
119773
- "color": "inherit",
119774
- "textShadow": "none"
119775
- },
119776
- "pre[class*=\"language-\"] *::selection": {
119777
- "background": "hsl(220, 13%, 28%)",
119778
- "color": "inherit",
119779
- "textShadow": "none"
119780
- },
119781
- ":not(pre) > code[class*=\"language-\"]": {
119782
- "padding": "0.2em 0.3em",
119783
- "borderRadius": "0.3em",
119784
- "whiteSpace": "normal"
119785
- },
119786
- "comment": {
119787
- "color": "hsl(220, 10%, 40%)",
119788
- "fontStyle": "italic"
119789
- },
119790
- "prolog": { "color": "hsl(220, 10%, 40%)" },
119791
- "cdata": { "color": "hsl(220, 10%, 40%)" },
119792
- "doctype": { "color": "hsl(220, 14%, 71%)" },
119793
- "punctuation": { "color": "hsl(220, 14%, 71%)" },
119794
- "entity": {
119795
- "color": "hsl(220, 14%, 71%)",
119796
- "cursor": "help"
119797
- },
119798
- "attr-name": { "color": "hsl(29, 54%, 61%)" },
119799
- "class-name": { "color": "hsl(29, 54%, 61%)" },
119800
- "boolean": { "color": "hsl(29, 54%, 61%)" },
119801
- "constant": { "color": "hsl(29, 54%, 61%)" },
119802
- "number": { "color": "hsl(29, 54%, 61%)" },
119803
- "atrule": { "color": "hsl(29, 54%, 61%)" },
119804
- "keyword": { "color": "hsl(286, 60%, 67%)" },
119805
- "property": { "color": "hsl(355, 65%, 65%)" },
119806
- "tag": { "color": "hsl(355, 65%, 65%)" },
119807
- "symbol": { "color": "hsl(355, 65%, 65%)" },
119808
- "deleted": { "color": "hsl(355, 65%, 65%)" },
119809
- "important": { "color": "hsl(355, 65%, 65%)" },
119810
- "selector": { "color": "hsl(95, 38%, 62%)" },
119811
- "string": { "color": "hsl(95, 38%, 62%)" },
119812
- "char": { "color": "hsl(95, 38%, 62%)" },
119813
- "builtin": { "color": "hsl(95, 38%, 62%)" },
119814
- "inserted": { "color": "hsl(95, 38%, 62%)" },
119815
- "regex": { "color": "hsl(95, 38%, 62%)" },
119816
- "attr-value": { "color": "hsl(95, 38%, 62%)" },
119817
- "attr-value > .token.punctuation": { "color": "hsl(95, 38%, 62%)" },
119818
- "variable": { "color": "hsl(207, 82%, 66%)" },
119819
- "operator": { "color": "hsl(207, 82%, 66%)" },
119820
- "function": { "color": "hsl(207, 82%, 66%)" },
119821
- "url": { "color": "hsl(187, 47%, 55%)" },
119822
- "attr-value > .token.punctuation.attr-equals": { "color": "hsl(220, 14%, 71%)" },
119823
- "special-attr > .token.attr-value > .token.value.css": { "color": "hsl(220, 14%, 71%)" },
119824
- ".language-css .token.selector": { "color": "hsl(355, 65%, 65%)" },
119825
- ".language-css .token.property": { "color": "hsl(220, 14%, 71%)" },
119826
- ".language-css .token.function": { "color": "hsl(187, 47%, 55%)" },
119827
- ".language-css .token.url > .token.function": { "color": "hsl(187, 47%, 55%)" },
119828
- ".language-css .token.url > .token.string.url": { "color": "hsl(95, 38%, 62%)" },
119829
- ".language-css .token.important": { "color": "hsl(286, 60%, 67%)" },
119830
- ".language-css .token.atrule .token.rule": { "color": "hsl(286, 60%, 67%)" },
119831
- ".language-javascript .token.operator": { "color": "hsl(286, 60%, 67%)" },
119832
- ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { "color": "hsl(5, 48%, 51%)" },
119833
- ".language-json .token.operator": { "color": "hsl(220, 14%, 71%)" },
119834
- ".language-json .token.null.keyword": { "color": "hsl(29, 54%, 61%)" },
119835
- ".language-markdown .token.url": { "color": "hsl(220, 14%, 71%)" },
119836
- ".language-markdown .token.url > .token.operator": { "color": "hsl(220, 14%, 71%)" },
119837
- ".language-markdown .token.url-reference.url > .token.string": { "color": "hsl(220, 14%, 71%)" },
119838
- ".language-markdown .token.url > .token.content": { "color": "hsl(207, 82%, 66%)" },
119839
- ".language-markdown .token.url > .token.url": { "color": "hsl(187, 47%, 55%)" },
119840
- ".language-markdown .token.url-reference.url": { "color": "hsl(187, 47%, 55%)" },
119841
- ".language-markdown .token.blockquote.punctuation": {
119842
- "color": "hsl(220, 10%, 40%)",
119843
- "fontStyle": "italic"
119844
- },
119845
- ".language-markdown .token.hr.punctuation": {
119846
- "color": "hsl(220, 10%, 40%)",
119847
- "fontStyle": "italic"
119848
- },
119849
- ".language-markdown .token.code-snippet": { "color": "hsl(95, 38%, 62%)" },
119850
- ".language-markdown .token.bold .token.content": { "color": "hsl(29, 54%, 61%)" },
119851
- ".language-markdown .token.italic .token.content": { "color": "hsl(286, 60%, 67%)" },
119852
- ".language-markdown .token.strike .token.content": { "color": "hsl(355, 65%, 65%)" },
119853
- ".language-markdown .token.strike .token.punctuation": { "color": "hsl(355, 65%, 65%)" },
119854
- ".language-markdown .token.list.punctuation": { "color": "hsl(355, 65%, 65%)" },
119855
- ".language-markdown .token.title.important > .token.punctuation": { "color": "hsl(355, 65%, 65%)" },
119856
- "bold": { "fontWeight": "bold" },
119857
- "italic": { "fontStyle": "italic" },
119858
- "namespace": { "Opacity": "0.8" },
119859
- "token.tab:not(:empty):before": {
119860
- "color": "hsla(220, 14%, 71%, 0.15)",
119861
- "textShadow": "none"
119862
- },
119863
- "token.cr:before": {
119864
- "color": "hsla(220, 14%, 71%, 0.15)",
119865
- "textShadow": "none"
119866
- },
119867
- "token.lf:before": {
119868
- "color": "hsla(220, 14%, 71%, 0.15)",
119869
- "textShadow": "none"
119870
- },
119871
- "token.space:before": {
119872
- "color": "hsla(220, 14%, 71%, 0.15)",
119873
- "textShadow": "none"
119874
- },
119875
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { "marginRight": "0.4em" },
119876
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": {
119877
- "background": "hsl(220, 13%, 26%)",
119878
- "color": "hsl(220, 9%, 55%)",
119879
- "padding": "0.1em 0.4em",
119880
- "borderRadius": "0.3em"
119881
- },
119882
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": {
119883
- "background": "hsl(220, 13%, 26%)",
119884
- "color": "hsl(220, 9%, 55%)",
119885
- "padding": "0.1em 0.4em",
119886
- "borderRadius": "0.3em"
119887
- },
119888
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": {
119889
- "background": "hsl(220, 13%, 26%)",
119890
- "color": "hsl(220, 9%, 55%)",
119891
- "padding": "0.1em 0.4em",
119892
- "borderRadius": "0.3em"
119893
- },
119894
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": {
119895
- "background": "hsl(220, 13%, 28%)",
119896
- "color": "hsl(220, 14%, 71%)"
119897
- },
119898
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": {
119899
- "background": "hsl(220, 13%, 28%)",
119900
- "color": "hsl(220, 14%, 71%)"
119901
- },
119902
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": {
119903
- "background": "hsl(220, 13%, 28%)",
119904
- "color": "hsl(220, 14%, 71%)"
119905
- },
119906
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": {
119907
- "background": "hsl(220, 13%, 28%)",
119908
- "color": "hsl(220, 14%, 71%)"
119909
- },
119910
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": {
119911
- "background": "hsl(220, 13%, 28%)",
119912
- "color": "hsl(220, 14%, 71%)"
119913
- },
119914
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": {
119915
- "background": "hsl(220, 13%, 28%)",
119916
- "color": "hsl(220, 14%, 71%)"
119917
- },
119918
- ".line-highlight.line-highlight": { "background": "hsla(220, 100%, 80%, 0.04)" },
119919
- ".line-highlight.line-highlight:before": {
119920
- "background": "hsl(220, 13%, 26%)",
119921
- "color": "hsl(220, 14%, 71%)",
119922
- "padding": "0.1em 0.6em",
119923
- "borderRadius": "0.3em",
119924
- "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
119925
- },
119926
- ".line-highlight.line-highlight[data-end]:after": {
119927
- "background": "hsl(220, 13%, 26%)",
119928
- "color": "hsl(220, 14%, 71%)",
119929
- "padding": "0.1em 0.6em",
119930
- "borderRadius": "0.3em",
119931
- "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
119932
- },
119933
- "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { "backgroundColor": "hsla(220, 100%, 80%, 0.04)" },
119934
- ".line-numbers.line-numbers .line-numbers-rows": { "borderRightColor": "hsla(220, 14%, 71%, 0.15)" },
119935
- ".command-line .command-line-prompt": { "borderRightColor": "hsla(220, 14%, 71%, 0.15)" },
119936
- ".line-numbers .line-numbers-rows > span:before": { "color": "hsl(220, 14%, 45%)" },
119937
- ".command-line .command-line-prompt > span:before": { "color": "hsl(220, 14%, 45%)" },
119938
- ".rainbow-braces .token.token.punctuation.brace-level-1": { "color": "hsl(355, 65%, 65%)" },
119939
- ".rainbow-braces .token.token.punctuation.brace-level-5": { "color": "hsl(355, 65%, 65%)" },
119940
- ".rainbow-braces .token.token.punctuation.brace-level-9": { "color": "hsl(355, 65%, 65%)" },
119941
- ".rainbow-braces .token.token.punctuation.brace-level-2": { "color": "hsl(95, 38%, 62%)" },
119942
- ".rainbow-braces .token.token.punctuation.brace-level-6": { "color": "hsl(95, 38%, 62%)" },
119943
- ".rainbow-braces .token.token.punctuation.brace-level-10": { "color": "hsl(95, 38%, 62%)" },
119944
- ".rainbow-braces .token.token.punctuation.brace-level-3": { "color": "hsl(207, 82%, 66%)" },
119945
- ".rainbow-braces .token.token.punctuation.brace-level-7": { "color": "hsl(207, 82%, 66%)" },
119946
- ".rainbow-braces .token.token.punctuation.brace-level-11": { "color": "hsl(207, 82%, 66%)" },
119947
- ".rainbow-braces .token.token.punctuation.brace-level-4": { "color": "hsl(286, 60%, 67%)" },
119948
- ".rainbow-braces .token.token.punctuation.brace-level-8": { "color": "hsl(286, 60%, 67%)" },
119949
- ".rainbow-braces .token.token.punctuation.brace-level-12": { "color": "hsl(286, 60%, 67%)" },
119950
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
119951
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
119952
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119953
- "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119954
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119955
- "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119956
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119957
- "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119958
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119959
- "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119960
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
119961
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
119962
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119963
- "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119964
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119965
- "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119966
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119967
- "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119968
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119969
- "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119970
- ".prism-previewer.prism-previewer:before": { "borderColor": "hsl(224, 13%, 17%)" },
119971
- ".prism-previewer-gradient.prism-previewer-gradient div": {
119972
- "borderColor": "hsl(224, 13%, 17%)",
119973
- "borderRadius": "0.3em"
119974
- },
119975
- ".prism-previewer-color.prism-previewer-color:before": { "borderRadius": "0.3em" },
119976
- ".prism-previewer-easing.prism-previewer-easing:before": { "borderRadius": "0.3em" },
119977
- ".prism-previewer.prism-previewer:after": { "borderTopColor": "hsl(224, 13%, 17%)" },
119978
- ".prism-previewer-flipped.prism-previewer-flipped.after": { "borderBottomColor": "hsl(224, 13%, 17%)" },
119979
- ".prism-previewer-angle.prism-previewer-angle:before": { "background": "hsl(219, 13%, 22%)" },
119980
- ".prism-previewer-time.prism-previewer-time:before": { "background": "hsl(219, 13%, 22%)" },
119981
- ".prism-previewer-easing.prism-previewer-easing": { "background": "hsl(219, 13%, 22%)" },
119982
- ".prism-previewer-angle.prism-previewer-angle circle": {
119983
- "stroke": "hsl(220, 14%, 71%)",
119984
- "strokeOpacity": "1"
119985
- },
119986
- ".prism-previewer-time.prism-previewer-time circle": {
119987
- "stroke": "hsl(220, 14%, 71%)",
119988
- "strokeOpacity": "1"
119989
- },
119990
- ".prism-previewer-easing.prism-previewer-easing circle": {
119991
- "stroke": "hsl(220, 14%, 71%)",
119992
- "fill": "transparent"
119993
- },
119994
- ".prism-previewer-easing.prism-previewer-easing path": { "stroke": "hsl(220, 14%, 71%)" },
119995
- ".prism-previewer-easing.prism-previewer-easing line": { "stroke": "hsl(220, 14%, 71%)" }
119706
+ var one_dark_default = {
119707
+ "code[class*=\"language-\"]": {
119708
+ "background": "hsl(220, 13%, 18%)",
119709
+ "color": "hsl(220, 14%, 71%)",
119710
+ "textShadow": "0 1px rgba(0, 0, 0, 0.3)",
119711
+ "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
119712
+ "direction": "ltr",
119713
+ "textAlign": "left",
119714
+ "whiteSpace": "pre",
119715
+ "wordSpacing": "normal",
119716
+ "wordBreak": "normal",
119717
+ "lineHeight": "1.5",
119718
+ "MozTabSize": "2",
119719
+ "OTabSize": "2",
119720
+ "tabSize": "2",
119721
+ "WebkitHyphens": "none",
119722
+ "MozHyphens": "none",
119723
+ "msHyphens": "none",
119724
+ "hyphens": "none"
119996
119725
  },
119997
- light: {
119998
- "code[class*=\"language-\"]": {
119999
- "background": "hsl(230, 1%, 98%)",
120000
- "color": "hsl(230, 8%, 24%)",
120001
- "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
120002
- "direction": "ltr",
120003
- "textAlign": "left",
120004
- "whiteSpace": "pre",
120005
- "wordSpacing": "normal",
120006
- "wordBreak": "normal",
120007
- "lineHeight": "1.5",
120008
- "MozTabSize": "2",
120009
- "OTabSize": "2",
120010
- "tabSize": "2",
120011
- "WebkitHyphens": "none",
120012
- "MozHyphens": "none",
120013
- "msHyphens": "none",
120014
- "hyphens": "none"
120015
- },
120016
- "pre[class*=\"language-\"]": {
120017
- "background": "hsl(230, 1%, 98%)",
120018
- "color": "hsl(230, 8%, 24%)",
120019
- "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
120020
- "direction": "ltr",
120021
- "textAlign": "left",
120022
- "whiteSpace": "pre",
120023
- "wordSpacing": "normal",
120024
- "wordBreak": "normal",
120025
- "lineHeight": "1.5",
120026
- "MozTabSize": "2",
120027
- "OTabSize": "2",
120028
- "tabSize": "2",
120029
- "WebkitHyphens": "none",
120030
- "MozHyphens": "none",
120031
- "msHyphens": "none",
120032
- "hyphens": "none",
120033
- "padding": "1em",
120034
- "margin": "0.5em 0",
120035
- "overflow": "auto",
120036
- "borderRadius": "0.3em"
120037
- },
120038
- "code[class*=\"language-\"]::-moz-selection": {
120039
- "background": "hsl(230, 1%, 90%)",
120040
- "color": "inherit"
120041
- },
120042
- "code[class*=\"language-\"] *::-moz-selection": {
120043
- "background": "hsl(230, 1%, 90%)",
120044
- "color": "inherit"
120045
- },
120046
- "pre[class*=\"language-\"] *::-moz-selection": {
120047
- "background": "hsl(230, 1%, 90%)",
120048
- "color": "inherit"
120049
- },
120050
- "code[class*=\"language-\"]::selection": {
120051
- "background": "hsl(230, 1%, 90%)",
120052
- "color": "inherit"
120053
- },
120054
- "code[class*=\"language-\"] *::selection": {
120055
- "background": "hsl(230, 1%, 90%)",
120056
- "color": "inherit"
120057
- },
120058
- "pre[class*=\"language-\"] *::selection": {
120059
- "background": "hsl(230, 1%, 90%)",
120060
- "color": "inherit"
120061
- },
120062
- ":not(pre) > code[class*=\"language-\"]": {
120063
- "padding": "0.2em 0.3em",
120064
- "borderRadius": "0.3em",
120065
- "whiteSpace": "normal"
120066
- },
120067
- "comment": {
120068
- "color": "hsl(230, 4%, 64%)",
120069
- "fontStyle": "italic"
120070
- },
120071
- "prolog": { "color": "hsl(230, 4%, 64%)" },
120072
- "cdata": { "color": "hsl(230, 4%, 64%)" },
120073
- "doctype": { "color": "hsl(230, 8%, 24%)" },
120074
- "punctuation": { "color": "hsl(230, 8%, 24%)" },
120075
- "entity": {
120076
- "color": "hsl(230, 8%, 24%)",
120077
- "cursor": "help"
120078
- },
120079
- "attr-name": { "color": "hsl(35, 99%, 36%)" },
120080
- "class-name": { "color": "hsl(35, 99%, 36%)" },
120081
- "boolean": { "color": "hsl(35, 99%, 36%)" },
120082
- "constant": { "color": "hsl(35, 99%, 36%)" },
120083
- "number": { "color": "hsl(35, 99%, 36%)" },
120084
- "atrule": { "color": "hsl(35, 99%, 36%)" },
120085
- "keyword": { "color": "hsl(301, 63%, 40%)" },
120086
- "property": { "color": "hsl(5, 74%, 59%)" },
120087
- "tag": { "color": "hsl(5, 74%, 59%)" },
120088
- "symbol": { "color": "hsl(5, 74%, 59%)" },
120089
- "deleted": { "color": "hsl(5, 74%, 59%)" },
120090
- "important": { "color": "hsl(5, 74%, 59%)" },
120091
- "selector": { "color": "hsl(119, 34%, 47%)" },
120092
- "string": { "color": "hsl(119, 34%, 47%)" },
120093
- "char": { "color": "hsl(119, 34%, 47%)" },
120094
- "builtin": { "color": "hsl(119, 34%, 47%)" },
120095
- "inserted": { "color": "hsl(119, 34%, 47%)" },
120096
- "regex": { "color": "hsl(119, 34%, 47%)" },
120097
- "attr-value": { "color": "hsl(119, 34%, 47%)" },
120098
- "attr-value > .token.punctuation": { "color": "hsl(119, 34%, 47%)" },
120099
- "variable": { "color": "hsl(221, 87%, 60%)" },
120100
- "operator": { "color": "hsl(221, 87%, 60%)" },
120101
- "function": { "color": "hsl(221, 87%, 60%)" },
120102
- "url": { "color": "hsl(198, 99%, 37%)" },
120103
- "attr-value > .token.punctuation.attr-equals": { "color": "hsl(230, 8%, 24%)" },
120104
- "special-attr > .token.attr-value > .token.value.css": { "color": "hsl(230, 8%, 24%)" },
120105
- ".language-css .token.selector": { "color": "hsl(5, 74%, 59%)" },
120106
- ".language-css .token.property": { "color": "hsl(230, 8%, 24%)" },
120107
- ".language-css .token.function": { "color": "hsl(198, 99%, 37%)" },
120108
- ".language-css .token.url > .token.function": { "color": "hsl(198, 99%, 37%)" },
120109
- ".language-css .token.url > .token.string.url": { "color": "hsl(119, 34%, 47%)" },
120110
- ".language-css .token.important": { "color": "hsl(301, 63%, 40%)" },
120111
- ".language-css .token.atrule .token.rule": { "color": "hsl(301, 63%, 40%)" },
120112
- ".language-javascript .token.operator": { "color": "hsl(301, 63%, 40%)" },
120113
- ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { "color": "hsl(344, 84%, 43%)" },
120114
- ".language-json .token.operator": { "color": "hsl(230, 8%, 24%)" },
120115
- ".language-json .token.null.keyword": { "color": "hsl(35, 99%, 36%)" },
120116
- ".language-markdown .token.url": { "color": "hsl(230, 8%, 24%)" },
120117
- ".language-markdown .token.url > .token.operator": { "color": "hsl(230, 8%, 24%)" },
120118
- ".language-markdown .token.url-reference.url > .token.string": { "color": "hsl(230, 8%, 24%)" },
120119
- ".language-markdown .token.url > .token.content": { "color": "hsl(221, 87%, 60%)" },
120120
- ".language-markdown .token.url > .token.url": { "color": "hsl(198, 99%, 37%)" },
120121
- ".language-markdown .token.url-reference.url": { "color": "hsl(198, 99%, 37%)" },
120122
- ".language-markdown .token.blockquote.punctuation": {
120123
- "color": "hsl(230, 4%, 64%)",
120124
- "fontStyle": "italic"
120125
- },
120126
- ".language-markdown .token.hr.punctuation": {
120127
- "color": "hsl(230, 4%, 64%)",
120128
- "fontStyle": "italic"
120129
- },
120130
- ".language-markdown .token.code-snippet": { "color": "hsl(119, 34%, 47%)" },
120131
- ".language-markdown .token.bold .token.content": { "color": "hsl(35, 99%, 36%)" },
120132
- ".language-markdown .token.italic .token.content": { "color": "hsl(301, 63%, 40%)" },
120133
- ".language-markdown .token.strike .token.content": { "color": "hsl(5, 74%, 59%)" },
120134
- ".language-markdown .token.strike .token.punctuation": { "color": "hsl(5, 74%, 59%)" },
120135
- ".language-markdown .token.list.punctuation": { "color": "hsl(5, 74%, 59%)" },
120136
- ".language-markdown .token.title.important > .token.punctuation": { "color": "hsl(5, 74%, 59%)" },
120137
- "bold": { "fontWeight": "bold" },
120138
- "italic": { "fontStyle": "italic" },
120139
- "namespace": { "Opacity": "0.8" },
120140
- "token.tab:not(:empty):before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120141
- "token.cr:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120142
- "token.lf:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120143
- "token.space:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120144
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { "marginRight": "0.4em" },
120145
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": {
120146
- "background": "hsl(230, 1%, 90%)",
120147
- "color": "hsl(230, 6%, 44%)",
120148
- "padding": "0.1em 0.4em",
120149
- "borderRadius": "0.3em"
120150
- },
120151
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": {
120152
- "background": "hsl(230, 1%, 90%)",
120153
- "color": "hsl(230, 6%, 44%)",
120154
- "padding": "0.1em 0.4em",
120155
- "borderRadius": "0.3em"
120156
- },
120157
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": {
120158
- "background": "hsl(230, 1%, 90%)",
120159
- "color": "hsl(230, 6%, 44%)",
120160
- "padding": "0.1em 0.4em",
120161
- "borderRadius": "0.3em"
120162
- },
120163
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": {
120164
- "background": "hsl(230, 1%, 78%)",
120165
- "color": "hsl(230, 8%, 24%)"
120166
- },
120167
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": {
120168
- "background": "hsl(230, 1%, 78%)",
120169
- "color": "hsl(230, 8%, 24%)"
120170
- },
120171
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": {
120172
- "background": "hsl(230, 1%, 78%)",
120173
- "color": "hsl(230, 8%, 24%)"
120174
- },
120175
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": {
120176
- "background": "hsl(230, 1%, 78%)",
120177
- "color": "hsl(230, 8%, 24%)"
120178
- },
120179
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": {
120180
- "background": "hsl(230, 1%, 78%)",
120181
- "color": "hsl(230, 8%, 24%)"
120182
- },
120183
- "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": {
120184
- "background": "hsl(230, 1%, 78%)",
120185
- "color": "hsl(230, 8%, 24%)"
120186
- },
120187
- ".line-highlight.line-highlight": { "background": "hsla(230, 8%, 24%, 0.05)" },
120188
- ".line-highlight.line-highlight:before": {
120189
- "background": "hsl(230, 1%, 90%)",
120190
- "color": "hsl(230, 8%, 24%)",
120191
- "padding": "0.1em 0.6em",
120192
- "borderRadius": "0.3em",
120193
- "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
120194
- },
120195
- ".line-highlight.line-highlight[data-end]:after": {
120196
- "background": "hsl(230, 1%, 90%)",
120197
- "color": "hsl(230, 8%, 24%)",
120198
- "padding": "0.1em 0.6em",
120199
- "borderRadius": "0.3em",
120200
- "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
120201
- },
120202
- "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { "backgroundColor": "hsla(230, 8%, 24%, 0.05)" },
120203
- ".line-numbers.line-numbers .line-numbers-rows": { "borderRightColor": "hsla(230, 8%, 24%, 0.2)" },
120204
- ".command-line .command-line-prompt": { "borderRightColor": "hsla(230, 8%, 24%, 0.2)" },
120205
- ".line-numbers .line-numbers-rows > span:before": { "color": "hsl(230, 1%, 62%)" },
120206
- ".command-line .command-line-prompt > span:before": { "color": "hsl(230, 1%, 62%)" },
120207
- ".rainbow-braces .token.token.punctuation.brace-level-1": { "color": "hsl(5, 74%, 59%)" },
120208
- ".rainbow-braces .token.token.punctuation.brace-level-5": { "color": "hsl(5, 74%, 59%)" },
120209
- ".rainbow-braces .token.token.punctuation.brace-level-9": { "color": "hsl(5, 74%, 59%)" },
120210
- ".rainbow-braces .token.token.punctuation.brace-level-2": { "color": "hsl(119, 34%, 47%)" },
120211
- ".rainbow-braces .token.token.punctuation.brace-level-6": { "color": "hsl(119, 34%, 47%)" },
120212
- ".rainbow-braces .token.token.punctuation.brace-level-10": { "color": "hsl(119, 34%, 47%)" },
120213
- ".rainbow-braces .token.token.punctuation.brace-level-3": { "color": "hsl(221, 87%, 60%)" },
120214
- ".rainbow-braces .token.token.punctuation.brace-level-7": { "color": "hsl(221, 87%, 60%)" },
120215
- ".rainbow-braces .token.token.punctuation.brace-level-11": { "color": "hsl(221, 87%, 60%)" },
120216
- ".rainbow-braces .token.token.punctuation.brace-level-4": { "color": "hsl(301, 63%, 40%)" },
120217
- ".rainbow-braces .token.token.punctuation.brace-level-8": { "color": "hsl(301, 63%, 40%)" },
120218
- ".rainbow-braces .token.token.punctuation.brace-level-12": { "color": "hsl(301, 63%, 40%)" },
120219
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
120220
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
120221
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120222
- "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120223
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120224
- "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120225
- "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120226
- "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120227
- "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120228
- "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120229
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
120230
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
120231
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120232
- "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120233
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120234
- "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120235
- "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120236
- "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120237
- "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120238
- "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120239
- ".prism-previewer.prism-previewer:before": { "borderColor": "hsl(0, 0, 95%)" },
120240
- ".prism-previewer-gradient.prism-previewer-gradient div": {
120241
- "borderColor": "hsl(0, 0, 95%)",
120242
- "borderRadius": "0.3em"
120243
- },
120244
- ".prism-previewer-color.prism-previewer-color:before": { "borderRadius": "0.3em" },
120245
- ".prism-previewer-easing.prism-previewer-easing:before": { "borderRadius": "0.3em" },
120246
- ".prism-previewer.prism-previewer:after": { "borderTopColor": "hsl(0, 0, 95%)" },
120247
- ".prism-previewer-flipped.prism-previewer-flipped.after": { "borderBottomColor": "hsl(0, 0, 95%)" },
120248
- ".prism-previewer-angle.prism-previewer-angle:before": { "background": "hsl(0, 0%, 100%)" },
120249
- ".prism-previewer-time.prism-previewer-time:before": { "background": "hsl(0, 0%, 100%)" },
120250
- ".prism-previewer-easing.prism-previewer-easing": { "background": "hsl(0, 0%, 100%)" },
120251
- ".prism-previewer-angle.prism-previewer-angle circle": {
120252
- "stroke": "hsl(230, 8%, 24%)",
120253
- "strokeOpacity": "1"
120254
- },
120255
- ".prism-previewer-time.prism-previewer-time circle": {
120256
- "stroke": "hsl(230, 8%, 24%)",
120257
- "strokeOpacity": "1"
120258
- },
120259
- ".prism-previewer-easing.prism-previewer-easing circle": {
120260
- "stroke": "hsl(230, 8%, 24%)",
120261
- "fill": "transparent"
120262
- },
120263
- ".prism-previewer-easing.prism-previewer-easing path": { "stroke": "hsl(230, 8%, 24%)" },
120264
- ".prism-previewer-easing.prism-previewer-easing line": { "stroke": "hsl(230, 8%, 24%)" }
119726
+ "pre[class*=\"language-\"]": {
119727
+ "background": "hsl(220, 13%, 18%)",
119728
+ "color": "hsl(220, 14%, 71%)",
119729
+ "textShadow": "0 1px rgba(0, 0, 0, 0.3)",
119730
+ "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
119731
+ "direction": "ltr",
119732
+ "textAlign": "left",
119733
+ "whiteSpace": "pre",
119734
+ "wordSpacing": "normal",
119735
+ "wordBreak": "normal",
119736
+ "lineHeight": "1.5",
119737
+ "MozTabSize": "2",
119738
+ "OTabSize": "2",
119739
+ "tabSize": "2",
119740
+ "WebkitHyphens": "none",
119741
+ "MozHyphens": "none",
119742
+ "msHyphens": "none",
119743
+ "hyphens": "none",
119744
+ "padding": "1em",
119745
+ "margin": "0.5em 0",
119746
+ "overflow": "auto",
119747
+ "borderRadius": "0.3em"
119748
+ },
119749
+ "code[class*=\"language-\"]::-moz-selection": {
119750
+ "background": "hsl(220, 13%, 28%)",
119751
+ "color": "inherit",
119752
+ "textShadow": "none"
119753
+ },
119754
+ "code[class*=\"language-\"] *::-moz-selection": {
119755
+ "background": "hsl(220, 13%, 28%)",
119756
+ "color": "inherit",
119757
+ "textShadow": "none"
119758
+ },
119759
+ "pre[class*=\"language-\"] *::-moz-selection": {
119760
+ "background": "hsl(220, 13%, 28%)",
119761
+ "color": "inherit",
119762
+ "textShadow": "none"
119763
+ },
119764
+ "code[class*=\"language-\"]::selection": {
119765
+ "background": "hsl(220, 13%, 28%)",
119766
+ "color": "inherit",
119767
+ "textShadow": "none"
119768
+ },
119769
+ "code[class*=\"language-\"] *::selection": {
119770
+ "background": "hsl(220, 13%, 28%)",
119771
+ "color": "inherit",
119772
+ "textShadow": "none"
119773
+ },
119774
+ "pre[class*=\"language-\"] *::selection": {
119775
+ "background": "hsl(220, 13%, 28%)",
119776
+ "color": "inherit",
119777
+ "textShadow": "none"
119778
+ },
119779
+ ":not(pre) > code[class*=\"language-\"]": {
119780
+ "padding": "0.2em 0.3em",
119781
+ "borderRadius": "0.3em",
119782
+ "whiteSpace": "normal"
119783
+ },
119784
+ "comment": {
119785
+ "color": "hsl(220, 10%, 40%)",
119786
+ "fontStyle": "italic"
119787
+ },
119788
+ "prolog": { "color": "hsl(220, 10%, 40%)" },
119789
+ "cdata": { "color": "hsl(220, 10%, 40%)" },
119790
+ "doctype": { "color": "hsl(220, 14%, 71%)" },
119791
+ "punctuation": { "color": "hsl(220, 14%, 71%)" },
119792
+ "entity": {
119793
+ "color": "hsl(220, 14%, 71%)",
119794
+ "cursor": "help"
119795
+ },
119796
+ "attr-name": { "color": "hsl(29, 54%, 61%)" },
119797
+ "class-name": { "color": "hsl(29, 54%, 61%)" },
119798
+ "boolean": { "color": "hsl(29, 54%, 61%)" },
119799
+ "constant": { "color": "hsl(29, 54%, 61%)" },
119800
+ "number": { "color": "hsl(29, 54%, 61%)" },
119801
+ "atrule": { "color": "hsl(29, 54%, 61%)" },
119802
+ "keyword": { "color": "hsl(286, 60%, 67%)" },
119803
+ "property": { "color": "hsl(355, 65%, 65%)" },
119804
+ "tag": { "color": "hsl(355, 65%, 65%)" },
119805
+ "symbol": { "color": "hsl(355, 65%, 65%)" },
119806
+ "deleted": { "color": "hsl(355, 65%, 65%)" },
119807
+ "important": { "color": "hsl(355, 65%, 65%)" },
119808
+ "selector": { "color": "hsl(95, 38%, 62%)" },
119809
+ "string": { "color": "hsl(95, 38%, 62%)" },
119810
+ "char": { "color": "hsl(95, 38%, 62%)" },
119811
+ "builtin": { "color": "hsl(95, 38%, 62%)" },
119812
+ "inserted": { "color": "hsl(95, 38%, 62%)" },
119813
+ "regex": { "color": "hsl(95, 38%, 62%)" },
119814
+ "attr-value": { "color": "hsl(95, 38%, 62%)" },
119815
+ "attr-value > .token.punctuation": { "color": "hsl(95, 38%, 62%)" },
119816
+ "variable": { "color": "hsl(207, 82%, 66%)" },
119817
+ "operator": { "color": "hsl(207, 82%, 66%)" },
119818
+ "function": { "color": "hsl(207, 82%, 66%)" },
119819
+ "url": { "color": "hsl(187, 47%, 55%)" },
119820
+ "attr-value > .token.punctuation.attr-equals": { "color": "hsl(220, 14%, 71%)" },
119821
+ "special-attr > .token.attr-value > .token.value.css": { "color": "hsl(220, 14%, 71%)" },
119822
+ ".language-css .token.selector": { "color": "hsl(355, 65%, 65%)" },
119823
+ ".language-css .token.property": { "color": "hsl(220, 14%, 71%)" },
119824
+ ".language-css .token.function": { "color": "hsl(187, 47%, 55%)" },
119825
+ ".language-css .token.url > .token.function": { "color": "hsl(187, 47%, 55%)" },
119826
+ ".language-css .token.url > .token.string.url": { "color": "hsl(95, 38%, 62%)" },
119827
+ ".language-css .token.important": { "color": "hsl(286, 60%, 67%)" },
119828
+ ".language-css .token.atrule .token.rule": { "color": "hsl(286, 60%, 67%)" },
119829
+ ".language-javascript .token.operator": { "color": "hsl(286, 60%, 67%)" },
119830
+ ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { "color": "hsl(5, 48%, 51%)" },
119831
+ ".language-json .token.operator": { "color": "hsl(220, 14%, 71%)" },
119832
+ ".language-json .token.null.keyword": { "color": "hsl(29, 54%, 61%)" },
119833
+ ".language-markdown .token.url": { "color": "hsl(220, 14%, 71%)" },
119834
+ ".language-markdown .token.url > .token.operator": { "color": "hsl(220, 14%, 71%)" },
119835
+ ".language-markdown .token.url-reference.url > .token.string": { "color": "hsl(220, 14%, 71%)" },
119836
+ ".language-markdown .token.url > .token.content": { "color": "hsl(207, 82%, 66%)" },
119837
+ ".language-markdown .token.url > .token.url": { "color": "hsl(187, 47%, 55%)" },
119838
+ ".language-markdown .token.url-reference.url": { "color": "hsl(187, 47%, 55%)" },
119839
+ ".language-markdown .token.blockquote.punctuation": {
119840
+ "color": "hsl(220, 10%, 40%)",
119841
+ "fontStyle": "italic"
119842
+ },
119843
+ ".language-markdown .token.hr.punctuation": {
119844
+ "color": "hsl(220, 10%, 40%)",
119845
+ "fontStyle": "italic"
119846
+ },
119847
+ ".language-markdown .token.code-snippet": { "color": "hsl(95, 38%, 62%)" },
119848
+ ".language-markdown .token.bold .token.content": { "color": "hsl(29, 54%, 61%)" },
119849
+ ".language-markdown .token.italic .token.content": { "color": "hsl(286, 60%, 67%)" },
119850
+ ".language-markdown .token.strike .token.content": { "color": "hsl(355, 65%, 65%)" },
119851
+ ".language-markdown .token.strike .token.punctuation": { "color": "hsl(355, 65%, 65%)" },
119852
+ ".language-markdown .token.list.punctuation": { "color": "hsl(355, 65%, 65%)" },
119853
+ ".language-markdown .token.title.important > .token.punctuation": { "color": "hsl(355, 65%, 65%)" },
119854
+ "bold": { "fontWeight": "bold" },
119855
+ "italic": { "fontStyle": "italic" },
119856
+ "namespace": { "Opacity": "0.8" },
119857
+ "token.tab:not(:empty):before": {
119858
+ "color": "hsla(220, 14%, 71%, 0.15)",
119859
+ "textShadow": "none"
119860
+ },
119861
+ "token.cr:before": {
119862
+ "color": "hsla(220, 14%, 71%, 0.15)",
119863
+ "textShadow": "none"
119864
+ },
119865
+ "token.lf:before": {
119866
+ "color": "hsla(220, 14%, 71%, 0.15)",
119867
+ "textShadow": "none"
119868
+ },
119869
+ "token.space:before": {
119870
+ "color": "hsla(220, 14%, 71%, 0.15)",
119871
+ "textShadow": "none"
119872
+ },
119873
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { "marginRight": "0.4em" },
119874
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": {
119875
+ "background": "hsl(220, 13%, 26%)",
119876
+ "color": "hsl(220, 9%, 55%)",
119877
+ "padding": "0.1em 0.4em",
119878
+ "borderRadius": "0.3em"
119879
+ },
119880
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": {
119881
+ "background": "hsl(220, 13%, 26%)",
119882
+ "color": "hsl(220, 9%, 55%)",
119883
+ "padding": "0.1em 0.4em",
119884
+ "borderRadius": "0.3em"
119885
+ },
119886
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": {
119887
+ "background": "hsl(220, 13%, 26%)",
119888
+ "color": "hsl(220, 9%, 55%)",
119889
+ "padding": "0.1em 0.4em",
119890
+ "borderRadius": "0.3em"
119891
+ },
119892
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": {
119893
+ "background": "hsl(220, 13%, 28%)",
119894
+ "color": "hsl(220, 14%, 71%)"
119895
+ },
119896
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": {
119897
+ "background": "hsl(220, 13%, 28%)",
119898
+ "color": "hsl(220, 14%, 71%)"
119899
+ },
119900
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": {
119901
+ "background": "hsl(220, 13%, 28%)",
119902
+ "color": "hsl(220, 14%, 71%)"
119903
+ },
119904
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": {
119905
+ "background": "hsl(220, 13%, 28%)",
119906
+ "color": "hsl(220, 14%, 71%)"
119907
+ },
119908
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": {
119909
+ "background": "hsl(220, 13%, 28%)",
119910
+ "color": "hsl(220, 14%, 71%)"
119911
+ },
119912
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": {
119913
+ "background": "hsl(220, 13%, 28%)",
119914
+ "color": "hsl(220, 14%, 71%)"
119915
+ },
119916
+ ".line-highlight.line-highlight": { "background": "hsla(220, 100%, 80%, 0.04)" },
119917
+ ".line-highlight.line-highlight:before": {
119918
+ "background": "hsl(220, 13%, 26%)",
119919
+ "color": "hsl(220, 14%, 71%)",
119920
+ "padding": "0.1em 0.6em",
119921
+ "borderRadius": "0.3em",
119922
+ "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
119923
+ },
119924
+ ".line-highlight.line-highlight[data-end]:after": {
119925
+ "background": "hsl(220, 13%, 26%)",
119926
+ "color": "hsl(220, 14%, 71%)",
119927
+ "padding": "0.1em 0.6em",
119928
+ "borderRadius": "0.3em",
119929
+ "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
119930
+ },
119931
+ "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { "backgroundColor": "hsla(220, 100%, 80%, 0.04)" },
119932
+ ".line-numbers.line-numbers .line-numbers-rows": { "borderRightColor": "hsla(220, 14%, 71%, 0.15)" },
119933
+ ".command-line .command-line-prompt": { "borderRightColor": "hsla(220, 14%, 71%, 0.15)" },
119934
+ ".line-numbers .line-numbers-rows > span:before": { "color": "hsl(220, 14%, 45%)" },
119935
+ ".command-line .command-line-prompt > span:before": { "color": "hsl(220, 14%, 45%)" },
119936
+ ".rainbow-braces .token.token.punctuation.brace-level-1": { "color": "hsl(355, 65%, 65%)" },
119937
+ ".rainbow-braces .token.token.punctuation.brace-level-5": { "color": "hsl(355, 65%, 65%)" },
119938
+ ".rainbow-braces .token.token.punctuation.brace-level-9": { "color": "hsl(355, 65%, 65%)" },
119939
+ ".rainbow-braces .token.token.punctuation.brace-level-2": { "color": "hsl(95, 38%, 62%)" },
119940
+ ".rainbow-braces .token.token.punctuation.brace-level-6": { "color": "hsl(95, 38%, 62%)" },
119941
+ ".rainbow-braces .token.token.punctuation.brace-level-10": { "color": "hsl(95, 38%, 62%)" },
119942
+ ".rainbow-braces .token.token.punctuation.brace-level-3": { "color": "hsl(207, 82%, 66%)" },
119943
+ ".rainbow-braces .token.token.punctuation.brace-level-7": { "color": "hsl(207, 82%, 66%)" },
119944
+ ".rainbow-braces .token.token.punctuation.brace-level-11": { "color": "hsl(207, 82%, 66%)" },
119945
+ ".rainbow-braces .token.token.punctuation.brace-level-4": { "color": "hsl(286, 60%, 67%)" },
119946
+ ".rainbow-braces .token.token.punctuation.brace-level-8": { "color": "hsl(286, 60%, 67%)" },
119947
+ ".rainbow-braces .token.token.punctuation.brace-level-12": { "color": "hsl(286, 60%, 67%)" },
119948
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
119949
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
119950
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119951
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119952
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119953
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119954
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119955
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119956
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119957
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
119958
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
119959
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
119960
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119961
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119962
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119963
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119964
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119965
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119966
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119967
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
119968
+ ".prism-previewer.prism-previewer:before": { "borderColor": "hsl(224, 13%, 17%)" },
119969
+ ".prism-previewer-gradient.prism-previewer-gradient div": {
119970
+ "borderColor": "hsl(224, 13%, 17%)",
119971
+ "borderRadius": "0.3em"
119972
+ },
119973
+ ".prism-previewer-color.prism-previewer-color:before": { "borderRadius": "0.3em" },
119974
+ ".prism-previewer-easing.prism-previewer-easing:before": { "borderRadius": "0.3em" },
119975
+ ".prism-previewer.prism-previewer:after": { "borderTopColor": "hsl(224, 13%, 17%)" },
119976
+ ".prism-previewer-flipped.prism-previewer-flipped.after": { "borderBottomColor": "hsl(224, 13%, 17%)" },
119977
+ ".prism-previewer-angle.prism-previewer-angle:before": { "background": "hsl(219, 13%, 22%)" },
119978
+ ".prism-previewer-time.prism-previewer-time:before": { "background": "hsl(219, 13%, 22%)" },
119979
+ ".prism-previewer-easing.prism-previewer-easing": { "background": "hsl(219, 13%, 22%)" },
119980
+ ".prism-previewer-angle.prism-previewer-angle circle": {
119981
+ "stroke": "hsl(220, 14%, 71%)",
119982
+ "strokeOpacity": "1"
119983
+ },
119984
+ ".prism-previewer-time.prism-previewer-time circle": {
119985
+ "stroke": "hsl(220, 14%, 71%)",
119986
+ "strokeOpacity": "1"
119987
+ },
119988
+ ".prism-previewer-easing.prism-previewer-easing circle": {
119989
+ "stroke": "hsl(220, 14%, 71%)",
119990
+ "fill": "transparent"
119991
+ },
119992
+ ".prism-previewer-easing.prism-previewer-easing path": { "stroke": "hsl(220, 14%, 71%)" },
119993
+ ".prism-previewer-easing.prism-previewer-easing line": { "stroke": "hsl(220, 14%, 71%)" }
119994
+ };
119995
+ var one_light_default = {
119996
+ "code[class*=\"language-\"]": {
119997
+ "background": "hsl(230, 1%, 98%)",
119998
+ "color": "hsl(230, 8%, 24%)",
119999
+ "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
120000
+ "direction": "ltr",
120001
+ "textAlign": "left",
120002
+ "whiteSpace": "pre",
120003
+ "wordSpacing": "normal",
120004
+ "wordBreak": "normal",
120005
+ "lineHeight": "1.5",
120006
+ "MozTabSize": "2",
120007
+ "OTabSize": "2",
120008
+ "tabSize": "2",
120009
+ "WebkitHyphens": "none",
120010
+ "MozHyphens": "none",
120011
+ "msHyphens": "none",
120012
+ "hyphens": "none"
120013
+ },
120014
+ "pre[class*=\"language-\"]": {
120015
+ "background": "hsl(230, 1%, 98%)",
120016
+ "color": "hsl(230, 8%, 24%)",
120017
+ "fontFamily": "\"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace",
120018
+ "direction": "ltr",
120019
+ "textAlign": "left",
120020
+ "whiteSpace": "pre",
120021
+ "wordSpacing": "normal",
120022
+ "wordBreak": "normal",
120023
+ "lineHeight": "1.5",
120024
+ "MozTabSize": "2",
120025
+ "OTabSize": "2",
120026
+ "tabSize": "2",
120027
+ "WebkitHyphens": "none",
120028
+ "MozHyphens": "none",
120029
+ "msHyphens": "none",
120030
+ "hyphens": "none",
120031
+ "padding": "1em",
120032
+ "margin": "0.5em 0",
120033
+ "overflow": "auto",
120034
+ "borderRadius": "0.3em"
120035
+ },
120036
+ "code[class*=\"language-\"]::-moz-selection": {
120037
+ "background": "hsl(230, 1%, 90%)",
120038
+ "color": "inherit"
120039
+ },
120040
+ "code[class*=\"language-\"] *::-moz-selection": {
120041
+ "background": "hsl(230, 1%, 90%)",
120042
+ "color": "inherit"
120043
+ },
120044
+ "pre[class*=\"language-\"] *::-moz-selection": {
120045
+ "background": "hsl(230, 1%, 90%)",
120046
+ "color": "inherit"
120047
+ },
120048
+ "code[class*=\"language-\"]::selection": {
120049
+ "background": "hsl(230, 1%, 90%)",
120050
+ "color": "inherit"
120051
+ },
120052
+ "code[class*=\"language-\"] *::selection": {
120053
+ "background": "hsl(230, 1%, 90%)",
120054
+ "color": "inherit"
120055
+ },
120056
+ "pre[class*=\"language-\"] *::selection": {
120057
+ "background": "hsl(230, 1%, 90%)",
120058
+ "color": "inherit"
120059
+ },
120060
+ ":not(pre) > code[class*=\"language-\"]": {
120061
+ "padding": "0.2em 0.3em",
120062
+ "borderRadius": "0.3em",
120063
+ "whiteSpace": "normal"
120064
+ },
120065
+ "comment": {
120066
+ "color": "hsl(230, 4%, 64%)",
120067
+ "fontStyle": "italic"
120068
+ },
120069
+ "prolog": { "color": "hsl(230, 4%, 64%)" },
120070
+ "cdata": { "color": "hsl(230, 4%, 64%)" },
120071
+ "doctype": { "color": "hsl(230, 8%, 24%)" },
120072
+ "punctuation": { "color": "hsl(230, 8%, 24%)" },
120073
+ "entity": {
120074
+ "color": "hsl(230, 8%, 24%)",
120075
+ "cursor": "help"
120076
+ },
120077
+ "attr-name": { "color": "hsl(35, 99%, 36%)" },
120078
+ "class-name": { "color": "hsl(35, 99%, 36%)" },
120079
+ "boolean": { "color": "hsl(35, 99%, 36%)" },
120080
+ "constant": { "color": "hsl(35, 99%, 36%)" },
120081
+ "number": { "color": "hsl(35, 99%, 36%)" },
120082
+ "atrule": { "color": "hsl(35, 99%, 36%)" },
120083
+ "keyword": { "color": "hsl(301, 63%, 40%)" },
120084
+ "property": { "color": "hsl(5, 74%, 59%)" },
120085
+ "tag": { "color": "hsl(5, 74%, 59%)" },
120086
+ "symbol": { "color": "hsl(5, 74%, 59%)" },
120087
+ "deleted": { "color": "hsl(5, 74%, 59%)" },
120088
+ "important": { "color": "hsl(5, 74%, 59%)" },
120089
+ "selector": { "color": "hsl(119, 34%, 47%)" },
120090
+ "string": { "color": "hsl(119, 34%, 47%)" },
120091
+ "char": { "color": "hsl(119, 34%, 47%)" },
120092
+ "builtin": { "color": "hsl(119, 34%, 47%)" },
120093
+ "inserted": { "color": "hsl(119, 34%, 47%)" },
120094
+ "regex": { "color": "hsl(119, 34%, 47%)" },
120095
+ "attr-value": { "color": "hsl(119, 34%, 47%)" },
120096
+ "attr-value > .token.punctuation": { "color": "hsl(119, 34%, 47%)" },
120097
+ "variable": { "color": "hsl(221, 87%, 60%)" },
120098
+ "operator": { "color": "hsl(221, 87%, 60%)" },
120099
+ "function": { "color": "hsl(221, 87%, 60%)" },
120100
+ "url": { "color": "hsl(198, 99%, 37%)" },
120101
+ "attr-value > .token.punctuation.attr-equals": { "color": "hsl(230, 8%, 24%)" },
120102
+ "special-attr > .token.attr-value > .token.value.css": { "color": "hsl(230, 8%, 24%)" },
120103
+ ".language-css .token.selector": { "color": "hsl(5, 74%, 59%)" },
120104
+ ".language-css .token.property": { "color": "hsl(230, 8%, 24%)" },
120105
+ ".language-css .token.function": { "color": "hsl(198, 99%, 37%)" },
120106
+ ".language-css .token.url > .token.function": { "color": "hsl(198, 99%, 37%)" },
120107
+ ".language-css .token.url > .token.string.url": { "color": "hsl(119, 34%, 47%)" },
120108
+ ".language-css .token.important": { "color": "hsl(301, 63%, 40%)" },
120109
+ ".language-css .token.atrule .token.rule": { "color": "hsl(301, 63%, 40%)" },
120110
+ ".language-javascript .token.operator": { "color": "hsl(301, 63%, 40%)" },
120111
+ ".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation": { "color": "hsl(344, 84%, 43%)" },
120112
+ ".language-json .token.operator": { "color": "hsl(230, 8%, 24%)" },
120113
+ ".language-json .token.null.keyword": { "color": "hsl(35, 99%, 36%)" },
120114
+ ".language-markdown .token.url": { "color": "hsl(230, 8%, 24%)" },
120115
+ ".language-markdown .token.url > .token.operator": { "color": "hsl(230, 8%, 24%)" },
120116
+ ".language-markdown .token.url-reference.url > .token.string": { "color": "hsl(230, 8%, 24%)" },
120117
+ ".language-markdown .token.url > .token.content": { "color": "hsl(221, 87%, 60%)" },
120118
+ ".language-markdown .token.url > .token.url": { "color": "hsl(198, 99%, 37%)" },
120119
+ ".language-markdown .token.url-reference.url": { "color": "hsl(198, 99%, 37%)" },
120120
+ ".language-markdown .token.blockquote.punctuation": {
120121
+ "color": "hsl(230, 4%, 64%)",
120122
+ "fontStyle": "italic"
120123
+ },
120124
+ ".language-markdown .token.hr.punctuation": {
120125
+ "color": "hsl(230, 4%, 64%)",
120126
+ "fontStyle": "italic"
120127
+ },
120128
+ ".language-markdown .token.code-snippet": { "color": "hsl(119, 34%, 47%)" },
120129
+ ".language-markdown .token.bold .token.content": { "color": "hsl(35, 99%, 36%)" },
120130
+ ".language-markdown .token.italic .token.content": { "color": "hsl(301, 63%, 40%)" },
120131
+ ".language-markdown .token.strike .token.content": { "color": "hsl(5, 74%, 59%)" },
120132
+ ".language-markdown .token.strike .token.punctuation": { "color": "hsl(5, 74%, 59%)" },
120133
+ ".language-markdown .token.list.punctuation": { "color": "hsl(5, 74%, 59%)" },
120134
+ ".language-markdown .token.title.important > .token.punctuation": { "color": "hsl(5, 74%, 59%)" },
120135
+ "bold": { "fontWeight": "bold" },
120136
+ "italic": { "fontStyle": "italic" },
120137
+ "namespace": { "Opacity": "0.8" },
120138
+ "token.tab:not(:empty):before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120139
+ "token.cr:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120140
+ "token.lf:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120141
+ "token.space:before": { "color": "hsla(230, 8%, 24%, 0.2)" },
120142
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item": { "marginRight": "0.4em" },
120143
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button": {
120144
+ "background": "hsl(230, 1%, 90%)",
120145
+ "color": "hsl(230, 6%, 44%)",
120146
+ "padding": "0.1em 0.4em",
120147
+ "borderRadius": "0.3em"
120148
+ },
120149
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a": {
120150
+ "background": "hsl(230, 1%, 90%)",
120151
+ "color": "hsl(230, 6%, 44%)",
120152
+ "padding": "0.1em 0.4em",
120153
+ "borderRadius": "0.3em"
120154
+ },
120155
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span": {
120156
+ "background": "hsl(230, 1%, 90%)",
120157
+ "color": "hsl(230, 6%, 44%)",
120158
+ "padding": "0.1em 0.4em",
120159
+ "borderRadius": "0.3em"
120160
+ },
120161
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover": {
120162
+ "background": "hsl(230, 1%, 78%)",
120163
+ "color": "hsl(230, 8%, 24%)"
120164
+ },
120165
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus": {
120166
+ "background": "hsl(230, 1%, 78%)",
120167
+ "color": "hsl(230, 8%, 24%)"
120168
+ },
120169
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover": {
120170
+ "background": "hsl(230, 1%, 78%)",
120171
+ "color": "hsl(230, 8%, 24%)"
120172
+ },
120173
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus": {
120174
+ "background": "hsl(230, 1%, 78%)",
120175
+ "color": "hsl(230, 8%, 24%)"
120176
+ },
120177
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover": {
120178
+ "background": "hsl(230, 1%, 78%)",
120179
+ "color": "hsl(230, 8%, 24%)"
120180
+ },
120181
+ "div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus": {
120182
+ "background": "hsl(230, 1%, 78%)",
120183
+ "color": "hsl(230, 8%, 24%)"
120184
+ },
120185
+ ".line-highlight.line-highlight": { "background": "hsla(230, 8%, 24%, 0.05)" },
120186
+ ".line-highlight.line-highlight:before": {
120187
+ "background": "hsl(230, 1%, 90%)",
120188
+ "color": "hsl(230, 8%, 24%)",
120189
+ "padding": "0.1em 0.6em",
120190
+ "borderRadius": "0.3em",
120191
+ "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
120192
+ },
120193
+ ".line-highlight.line-highlight[data-end]:after": {
120194
+ "background": "hsl(230, 1%, 90%)",
120195
+ "color": "hsl(230, 8%, 24%)",
120196
+ "padding": "0.1em 0.6em",
120197
+ "borderRadius": "0.3em",
120198
+ "boxShadow": "0 2px 0 0 rgba(0, 0, 0, 0.2)"
120199
+ },
120200
+ "pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before": { "backgroundColor": "hsla(230, 8%, 24%, 0.05)" },
120201
+ ".line-numbers.line-numbers .line-numbers-rows": { "borderRightColor": "hsla(230, 8%, 24%, 0.2)" },
120202
+ ".command-line .command-line-prompt": { "borderRightColor": "hsla(230, 8%, 24%, 0.2)" },
120203
+ ".line-numbers .line-numbers-rows > span:before": { "color": "hsl(230, 1%, 62%)" },
120204
+ ".command-line .command-line-prompt > span:before": { "color": "hsl(230, 1%, 62%)" },
120205
+ ".rainbow-braces .token.token.punctuation.brace-level-1": { "color": "hsl(5, 74%, 59%)" },
120206
+ ".rainbow-braces .token.token.punctuation.brace-level-5": { "color": "hsl(5, 74%, 59%)" },
120207
+ ".rainbow-braces .token.token.punctuation.brace-level-9": { "color": "hsl(5, 74%, 59%)" },
120208
+ ".rainbow-braces .token.token.punctuation.brace-level-2": { "color": "hsl(119, 34%, 47%)" },
120209
+ ".rainbow-braces .token.token.punctuation.brace-level-6": { "color": "hsl(119, 34%, 47%)" },
120210
+ ".rainbow-braces .token.token.punctuation.brace-level-10": { "color": "hsl(119, 34%, 47%)" },
120211
+ ".rainbow-braces .token.token.punctuation.brace-level-3": { "color": "hsl(221, 87%, 60%)" },
120212
+ ".rainbow-braces .token.token.punctuation.brace-level-7": { "color": "hsl(221, 87%, 60%)" },
120213
+ ".rainbow-braces .token.token.punctuation.brace-level-11": { "color": "hsl(221, 87%, 60%)" },
120214
+ ".rainbow-braces .token.token.punctuation.brace-level-4": { "color": "hsl(301, 63%, 40%)" },
120215
+ ".rainbow-braces .token.token.punctuation.brace-level-8": { "color": "hsl(301, 63%, 40%)" },
120216
+ ".rainbow-braces .token.token.punctuation.brace-level-12": { "color": "hsl(301, 63%, 40%)" },
120217
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
120218
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)": { "backgroundColor": "hsla(353, 100%, 66%, 0.15)" },
120219
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120220
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120221
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120222
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120223
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120224
+ "pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120225
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120226
+ "pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection": { "backgroundColor": "hsla(353, 95%, 66%, 0.25)" },
120227
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
120228
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)": { "backgroundColor": "hsla(137, 100%, 55%, 0.15)" },
120229
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120230
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120231
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120232
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120233
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120234
+ "pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120235
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120236
+ "pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection": { "backgroundColor": "hsla(135, 73%, 55%, 0.25)" },
120237
+ ".prism-previewer.prism-previewer:before": { "borderColor": "hsl(0, 0, 95%)" },
120238
+ ".prism-previewer-gradient.prism-previewer-gradient div": {
120239
+ "borderColor": "hsl(0, 0, 95%)",
120240
+ "borderRadius": "0.3em"
120241
+ },
120242
+ ".prism-previewer-color.prism-previewer-color:before": { "borderRadius": "0.3em" },
120243
+ ".prism-previewer-easing.prism-previewer-easing:before": { "borderRadius": "0.3em" },
120244
+ ".prism-previewer.prism-previewer:after": { "borderTopColor": "hsl(0, 0, 95%)" },
120245
+ ".prism-previewer-flipped.prism-previewer-flipped.after": { "borderBottomColor": "hsl(0, 0, 95%)" },
120246
+ ".prism-previewer-angle.prism-previewer-angle:before": { "background": "hsl(0, 0%, 100%)" },
120247
+ ".prism-previewer-time.prism-previewer-time:before": { "background": "hsl(0, 0%, 100%)" },
120248
+ ".prism-previewer-easing.prism-previewer-easing": { "background": "hsl(0, 0%, 100%)" },
120249
+ ".prism-previewer-angle.prism-previewer-angle circle": {
120250
+ "stroke": "hsl(230, 8%, 24%)",
120251
+ "strokeOpacity": "1"
120252
+ },
120253
+ ".prism-previewer-time.prism-previewer-time circle": {
120254
+ "stroke": "hsl(230, 8%, 24%)",
120255
+ "strokeOpacity": "1"
120256
+ },
120257
+ ".prism-previewer-easing.prism-previewer-easing circle": {
120258
+ "stroke": "hsl(230, 8%, 24%)",
120259
+ "fill": "transparent"
120260
+ },
120261
+ ".prism-previewer-easing.prism-previewer-easing path": { "stroke": "hsl(230, 8%, 24%)" },
120262
+ ".prism-previewer-easing.prism-previewer-easing line": { "stroke": "hsl(230, 8%, 24%)" }
120263
+ };
120264
+ /** react-syntax-highlighter 顶层 token 键(comment/punctuation/attr-name…);其余是容器选择器键 */
120265
+ const TOKEN_KEY = /^[a-z][a-z-]*$/;
120266
+ /**
120267
+ * 把主题对象的每个 color 替换为 CSS 变量引用:
120268
+ * - token 键(punctuation/string/attr-name…)→ `var(--code-<token>)`
120269
+ * - 容器选择器键(code[]/pre[]/selection…)→ `var(--code-base)`
120270
+ *
120271
+ * token 内联的是 var 引用而非固定色值;主题切换时 CSS 变量在元素上动态重求值,
120272
+ * **已渲染的旧代码块无需重挂载即可跟随**(0.9.0 分册 13,UX-01 根因修复)。
120273
+ * 色值本体由 theme.css 的 `--code-*`(浅/深两套)持有——单一来源。
120274
+ */
120275
+ function toVarTheme(theme) {
120276
+ const out = {};
120277
+ for (const [key, rule] of Object.entries(theme)) {
120278
+ const next = { ...rule };
120279
+ if (typeof next.color === "string") next.color = `var(${TOKEN_KEY.test(key) ? `--code-${key}` : "--code-base"})`;
120280
+ out[key] = next;
120265
120281
  }
120282
+ return out;
120283
+ }
120284
+ /**
120285
+ * 全站唯一的代码高亮主题对。引用相等是验收判据(AC-19.8),不导出到包外。
120286
+ * token 色值一律 `var(--code-*)`(CSS 变量,见 theme.css),不烘焙固定色值。
120287
+ */
120288
+ const PRISM_THEME = {
120289
+ dark: toVarTheme(one_dark_default),
120290
+ light: toVarTheme(one_light_default)
120266
120291
  };
120292
+ /**
120293
+ * token → CSS 变量名(chat 侧用);与 theme.css 的 `--code-*` 一一对应。
120294
+ * 单一来源:Monaco 主题与 Prism 都从这里取变量名,不许手写(AC-G10)。
120295
+ * @stable
120296
+ */
120297
+ const CODE_TOKEN_VARS = Object.fromEntries(Object.keys(PRISM_THEME.light).filter((key) => TOKEN_KEY.test(key)).map((key) => [key, `--code-${key}`]));
120267
120298
  function CodeBlock({ node: _node, className, children, ...rest }) {
120268
120299
  const [dark, themeRef] = useDarkAncestor();
120269
120300
  const language = resolveLanguage(/language-(\w+)/.exec(className ?? "")?.[1]);
120270
120301
  if (language) return /* @__PURE__ */ jsxs("div", {
120271
120302
  ref: themeRef,
120272
- className: "my-3 overflow-hidden rounded-card border border-border",
120303
+ className: "my-3 overflow-hidden rounded-card border border-border bg-card",
120273
120304
  children: [/* @__PURE__ */ jsx("div", {
120274
120305
  className: "border-b border-border bg-subtle px-3 py-1.5 font-mono text-xs text-muted",
120275
120306
  children: language