@scalar/themes
Advanced tools
Comparing version 0.6.7 to 0.7.0
# @scalar/themes | ||
## 0.7.0 | ||
### Minor Changes | ||
- 0e64a36: refactor: rename all --theme-_ variables to --scalar-_ | ||
### Patch Changes | ||
- 22f2858: chore: ran syncpack to update packages | ||
## 0.6.7 | ||
@@ -4,0 +14,0 @@ |
@@ -7,2 +7,4 @@ /** A component to insert the theme styles */ | ||
export { default as ScrollbarStyles } from './components/ScrollbarStyles.vue'; | ||
/** */ | ||
export { migrateThemeVariables } from './utilities/legacy'; | ||
/** | ||
@@ -9,0 +11,0 @@ * Available theme IDs as a type. |
@@ -1,4 +0,4 @@ | ||
import "./index.css"; | ||
import { defineComponent as o, openBlock as n, createBlock as g, resolveDynamicComponent as i, withCtx as s, createTextVNode as k, toDisplayString as p, unref as d, createCommentVNode as v, onMounted as x, useCssModule as l, renderSlot as c } from "vue"; | ||
const _ = ":root{--default-theme-text-decoration: underline;--default-theme-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--default-theme-background-1: #f9f9f9;--default-theme-background-2: #f1f1f1;--default-theme-background-3: #e7e7e7;--default-theme-background-card: #fff;--default-theme-color-1: #2a2f45;--default-theme-color-2: #757575;--default-theme-color-3: #8e8e8e;--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-accent: var(--default-theme-background-3);--default-theme-border-color: rgba(0, 0, 0, .1);--default-theme-code-languages-background-supersede: var( --default-theme-background-1 );--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.dark-mode{--default-theme-background-1: #131313;--default-theme-background-2: #1d1d1d;--default-theme-background-3: #272727;--default-theme-background-card: #1d1d1d;--default-theme-color-1: rgba(255, 255, 255, .9);--default-theme-color-2: rgba(255, 255, 255, .62);--default-theme-color-3: rgba(255, 255, 255, .44);--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-accent: var(--default-theme-background-3);--default-theme-border-color: rgba(255, 255, 255, .1);--default-theme-code-languages-background-supersede: var( --default-theme-background-3 );--default-theme-code-language-color-supersede: var(--default-theme-color-3)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: transparent;--default-sidebar-search-color: var(--default-theme-color-3);--default-sidebar-search-border-color: var(--default-theme-border-color);--default-sidebar-indent-border: var(--default-sidebar-border-color);--default-sidebar-indent-border-hover: var(--default-sidebar-border-color);--default-sidebar-indent-border-active: var(--default-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--default-theme-color-green: #069061;--default-theme-color-red: #ef0006;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #0082d0;--default-theme-color-orange: #fb892c;--default-theme-color-purple: #5203d1;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: #00b648;--default-theme-color-red: #dd2f2c;--default-theme-color-yellow: #ffc90d;--default-theme-color-blue: #4eb3ec;--default-theme-color-orange: #ff8d4d;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}.code-languages-background:before{box-shadow:inset 0 0 0 1px var(--default-theme-border-color)!important}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--default-theme-background-1: var(--default-theme-background-card);--default-theme-background-2: var(--default-theme-background-1);--default-theme-background-3: var(--default-theme-background-1)}.dark-mode .dark-mode.scalar-card{--default-theme-background-3: var(--default-theme-background-3)}.t-doc__sidebar{--default-theme-color-green: var(--default-theme-color-1);--default-theme-color-red: var(--default-theme-color-1);--default-theme-color-yellow: var(--default-theme-color-1);--default-theme-color-blue: var(--default-theme-color-1);--default-theme-color-orange: var(--default-theme-color-1);--default-theme-color-purple: var(--default-theme-color-1)}", w = ":root{--default-theme-text-decoration: underline;--default-theme-text-decoration-hover: underline}.light-mode{--default-theme-background-1: #f0f2f5;--default-theme-background-2: #eaecf0;--default-theme-background-3: #e0e2e6;--default-theme-border-color: rgb(228, 228, 231);--default-theme-color-1: rgb(9, 9, 11);--default-theme-color-2: rgb(113, 113, 122);--default-theme-color-3: rgba(25, 25, 28, .5);--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-accent: #8ab4f81f;--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--default-theme-background-1: #000e23;--default-theme-background-2: #01132e;--default-theme-background-3: #03193b;--default-theme-border-color: rgba(255, 255, 255, .12);--default-theme-color-1: #fafafa;--default-theme-color-2: rgb(161, 161, 170);--default-theme-color-3: rgba(255, 255, 255, .533);--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-accent: #8ab4f81f;--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-active-background: var(--default-theme-background-3);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: rgba(255, 255, 255, .1);--default-sidebar-search-border-color: var(--default-theme-border-color);--default-sidebar-search-color: var(--default-theme-color-3);z-index:1}.light-mode .t-doc__sidebar{--default-sidebar-search-background: white}.light-mode{--default-theme-color-green: #069061;--default-theme-color-red: #ef0006;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #0082d0;--default-theme-color-orange: #fb892c;--default-theme-color-purple: #5203d1;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: rgba(69, 255, 165, .823);--default-theme-color-red: #ff8589;--default-theme-color-yellow: #ffcc4d;--default-theme-color-blue: #6bc1fe;--default-theme-color-orange: #f98943;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.code-languages-background{background:var(--default-theme-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--default-theme-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--default-theme-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--default-theme-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--default-theme-background-1: #fff;--default-theme-background-2: #fff;--default-theme-background-3: #fff}", y = ':root{--default-theme-text-decoration: underline;--default-theme-text-decoration-hover: underline}.light-mode{--default-theme-color-1: rgb(9, 9, 11);--default-theme-color-2: rgb(113, 113, 122);--default-theme-color-3: rgba(25, 25, 28, .5);--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-1: #fff;--default-theme-background-2: #f4f4f5;--default-theme-background-3: #e3e3e6;--default-theme-background-accent: #8ab4f81f;--default-theme-border-color: rgb(228, 228, 231);--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.dark-mode{--default-theme-color-1: #fafafa;--default-theme-color-2: rgb(161, 161, 170);--default-theme-color-3: rgba(255, 255, 255, .533);--default-theme-color-accent: var(--default-theme-color-1);--default-theme-background-1: #09090b;--default-theme-background-2: #18181b;--default-theme-background-3: #2c2c30;--default-theme-background-accent: #8ab4f81f;--default-theme-border-color: rgba(255, 255, 255, .12);--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var(--default-theme-background-3);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: transparent;--default-sidebar-search-border-color: var(--default-theme-border-color);--default-sidebar-search-color: var(--default-theme-color-3)}.light-mode .t-doc__sidebar{--default-sidebar-item-active-background: #09090b;--default-sidebar-color-active: var(--default-sidebar-background-1)}.light-mode{--default-theme-color-green: #069061;--default-theme-color-red: #ef0006;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #0082d0;--default-theme-color-orange: #fb892c;--default-theme-color-purple: #5203d1;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: rgba(69, 255, 165, .823);--default-theme-color-red: #ff8589;--default-theme-color-yellow: #ffcc4d;--default-theme-color-blue: #6bc1fe;--default-theme-color-orange: #f98943;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--default-theme-background-3: transparent;padding-top:0}.code-languages-background{background:var(--default-theme-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--default-theme-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--default-theme-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}', u = ".light-mode{--default-theme-background-1: #fff;--default-theme-background-2: #f6f6f6;--default-theme-background-3: #e7e7e7;--default-theme-background-accent: #8ab4f81f;--default-theme-color-1: #2a2f45;--default-theme-color-2: #757575;--default-theme-color-3: #8e8e8e;--default-theme-color-accent: #0099ff;--default-theme-border-color: rgba(0, 0, 0, .1)}.dark-mode{--default-theme-background-1: #0f0f0f;--default-theme-background-2: #1a1a1a;--default-theme-background-3: #272727;--default-theme-color-1: rgba(255, 255, 255, .9);--default-theme-color-2: rgba(255, 255, 255, .62);--default-theme-color-3: rgba(255, 255, 255, .44);--default-theme-color-accent: #3ea6ff;--default-theme-background-accent: #3ea6ff1f;--default-theme-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-active-background: var(--default-theme-background-2);--default-sidebar-color-active: var(--default-theme-color-1);--default-sidebar-search-background: transparent;--default-sidebar-search-color: var(--default-theme-color-3);--default-sidebar-search-border-color: var(--default-theme-border-color)}.light-mode{--default-theme-color-green: #069061;--default-theme-color-red: #ef0006;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #0082d0;--default-theme-color-orange: #fb892c;--default-theme-color-purple: #5203d1;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: #00b648;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #ffc90d;--default-theme-color-blue: #4eb3ec;--default-theme-color-orange: #ff8d4d;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}", C = ".light-mode{--default-theme-color-1: #2a2f45;--default-theme-color-2: #757575;--default-theme-color-3: #8e8e8e;--default-theme-color-accent: #7070ff;--default-theme-background-1: #fff;--default-theme-background-2: #f6f6f6;--default-theme-background-3: #e7e7e7;--default-theme-background-accent: #7070ff1f;--default-theme-border-color: rgba(0, 0, 0, .1);--default-theme-code-language-color-supersede: var(--default-theme-color-3)}.dark-mode{--default-theme-color-1: #f7f8f8;--default-theme-color-2: rgb(180, 188, 208);--default-theme-color-3: #b4bcd099;--default-theme-color-accent: #828fff;--default-theme-background-1: #000212;--default-theme-background-2: rgba(255, 255, 255, .05);--default-theme-background-3: rgba(255, 255, 255, .05);--default-theme-background-accent: #8ab4f81f;--default-theme-border-color: #242537;--default-theme-code-language-color-supersede: var(--default-theme-color-3)}.light-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: rgba(0, 0, 0, .05);--default-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--default-sidebar-search-color: var(--default-theme-color-3);--default-theme-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: rgba(255, 255, 255, .1);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: rgba(255, 255, 255, .1);--default-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--default-sidebar-search-color: var(--default-theme-color-3)}.light-mode{--default-theme-color-green: #069061;--default-theme-color-red: #ef0006;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #0082d0;--default-theme-color-orange: #fb892c;--default-theme-color-purple: #5203d1;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: #00b648;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #ffc90d;--default-theme-color-blue: #4eb3ec;--default-theme-color-orange: #ff8d4d;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--default-theme-background-2: transparent !important;--default-theme-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--default-theme-background-1: #0d0f1e !important;--default-theme-background-2: #0d0f1e !important;--default-theme-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--default-theme-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.code-languages__active{--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.code-languages-background{background:linear-gradient(#fff0,#ffffff0d)!important;box-shadow:inset 0 0 0 1px var(--default-theme-border-color)!important}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}", T = ":root{--default-theme-text-decoration: underline;--default-theme-text-decoration-hover: underline}.light-mode{--default-theme-background-1: #f9f6f0;--default-theme-background-2: #f2efe8;--default-theme-background-3: #e9e7e2;--default-theme-border-color: rgba(203, 165, 156, .6);--default-theme-color-1: #c75549;--default-theme-color-2: #c75549;--default-theme-color-3: #c75549;--default-theme-color-accent: #c75549;--default-theme-background-accent: #dcbfa81f;--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.dark-mode{--default-theme-background-1: #140507;--default-theme-background-2: #20090c;--default-theme-background-3: #321116;--default-theme-border-color: rgba(255, 255, 255, .1);--default-theme-color-1: rgba(255, 255, 255, .9);--default-theme-color-2: rgba(255, 255, 255, .62);--default-theme-color-3: rgba(255, 255, 255, .44);--default-theme-color-accent: rgba(255, 255, 255, .9);--default-theme-background-accent: #441313;--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var(--default-theme-background-3);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: rgba(255, 255, 255, .1);--default-sidebar-search-color: var(--default-theme-color-3);--default-sidebar-search-border-color: var(--default-theme-border-color);z-index:1}.light-mode{--default-theme-color-green: #09533a;--default-theme-color-red: #aa181d;--default-theme-color-yellow: #ab8d2b;--default-theme-color-blue: #19689a;--default-theme-color-orange: #b26c34;--default-theme-color-purple: #4c2191;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: rgba(69, 255, 165, .823);--default-theme-color-red: #ff8589;--default-theme-color-yellow: #ffcc4d;--default-theme-color-blue: #6bc1fe;--default-theme-color-orange: #f98943;--default-theme-color-purple: #b191f9;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--default-sidebar-search-background: white}.examples .scalar-card-footer{--default-theme-background-3: transparent;padding-top:0}.code-languages-background{background:var(--default-theme-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--default-theme-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--default-theme-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}", S = ".light-mode{color-scheme:light;--default-theme-color-1: #000000;--default-theme-color-2: #000000;--default-theme-color-3: #000000;--default-theme-color-accent: #645b0f;--default-theme-background-1: #ccc9b3;--default-theme-background-2: #c2bfaa;--default-theme-background-3: #b8b5a1;--default-theme-background-accent: #000000;--default-theme-border-color: rgba(0, 0, 0, .2);--default-theme-scrollbar-color: rgba(0, 0, 0, .18);--default-theme-scrollbar-color-active: rgba(0, 0, 0, .36);--default-theme-lifted-brightness: 1;--default-theme-backdrop-brightness: 1;--default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--default-theme-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--default-theme-border-color) 0px 0 0 1px;--default-theme-button-1: rgb(49 53 56);--default-theme-button-1-color: #fff;--default-theme-button-1-hover: rgb(28 31 33);--default-theme-color-red: #b91c1c;--default-theme-color-orange: #a16207;--default-theme-color-green: #047857;--default-theme-color-blue: #1d4ed8;--default-theme-color-orange: #c2410c;--default-theme-color-purple: #6d28d9;--default-theme-code-languages-background-supersede: var( --default-theme-background-3 );--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.dark-mode{color-scheme:dark;--default-theme-color-1: #fffef3;--default-theme-color-2: #fffef3;--default-theme-color-3: #fffef3;--default-theme-color-accent: #c3b531;--default-theme-background-1: #313332;--default-theme-background-2: #393b3a;--default-theme-background-3: #414342;--default-theme-background-accent: #fffef3;--default-theme-border-color: rgba(255, 255, 255, .1);--default-theme-scrollbar-color: rgba(255, 255, 255, .24);--default-theme-scrollbar-color-active: rgba(255, 255, 255, .48);--default-theme-lifted-brightness: 1.45;--default-theme-backdrop-brightness: .5;--default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--default-theme-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--default-theme-button-1: #f6f6f6;--default-theme-button-1-color: #000;--default-theme-button-1-hover: #e7e7e7;--default-theme-color-green: #00b648;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #ffc90d;--default-theme-color-blue: #4eb3ec;--default-theme-color-orange: #ff8d4d;--default-theme-color-purple: #b191f9;--default-theme-code-languages-background-supersede: var( --default-theme-background-3 );--default-theme-code-language-color-supersede: var(--default-theme-color-1)}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-color-active: var(--default-sidebar-background-1);--default-sidebar-search-background: var(--default-theme-background-3);--default-sidebar-search-border-color: var( --default-sidebar-search-background );--default-sidebar-search--color: var(--default-theme-color-3)}", z = ".light-mode{--default-theme-background-1: #fff;--default-theme-background-2: #f5f6f8;--default-theme-background-3: #eceef1;--default-theme-color-1: #2a2f45;--default-theme-color-2: #757575;--default-theme-color-3: #8e8e8e;--default-theme-color-accent: #5469d4;--default-theme-background-accent: #5469d41f;--default-theme-border-color: rgba(215, 215, 206, .5)}.dark-mode{--default-theme-background-1: #15171c;--default-theme-background-2: #1c1e24;--default-theme-background-3: #22252b;--default-theme-color-1: #fafafa;--default-theme-color-2: #c9ced8;--default-theme-color-3: #8c99ad;--default-theme-color-accent: #5469d4;--default-theme-background-accent: #5469d41f;--default-theme-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-3);--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: var(--default-theme-background-1);--default-sidebar-search-color: var(--default-theme-color-3);--default-sidebar-search-border-color: var(--default-theme-border-color)}.light-mode{--default-theme-color-green: #17803d;--default-theme-color-red: #e10909;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #1763a6;--default-theme-color-orange: #e25b09;--default-theme-color-purple: #5c3993;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: #30a159;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #eec644;--default-theme-color-blue: #2b7abf;--default-theme-color-orange: #f07528;--default-theme-color-purple: #7a59b1;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}", $ = ".light-mode{--default-theme-background-1: #f3f3ee;--default-theme-background-2: #e8e8e3;--default-theme-background-3: #e4e4df;--default-theme-border-color: rgba(215, 215, 206, .5);--default-theme-color-1: #2a2f45;--default-theme-color-2: #757575;--default-theme-color-3: #8e8e8e;--default-theme-color-accent: #1763a6;--default-theme-background-accent: #1f648e1f;--default-theme-code-language-color-supersede: var(--default-theme-color-1);--default-theme-code-languages-background-supersede: var( --default-theme-background-2 )}.dark-mode{--default-theme-background-1: #09090b;--default-theme-background-2: #18181b;--default-theme-background-3: #2c2c30;--default-theme-border-color: rgba(255, 255, 255, .12);--default-theme-color-1: #fafafa;--default-theme-color-2: rgb(161, 161, 170);--default-theme-color-3: rgba(255, 255, 255, .533);--default-theme-color-accent: #4eb3ec;--default-theme-background-accent: #8ab4f81f;--default-theme-code-language-color-supersede: var(--default-theme-color-1);--default-theme-code-languages-background-supersede: var( --default-theme-background-2 )}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-active-background: var(--default-theme-background-3);--default-sidebar-color-active: var(--default-theme-color-1);--default-sidebar-search-background: var(--default-theme-background-1);--default-sidebar-search-border-color: var(--default-theme-border-color);--default-sidebar-search-color: var(--default-theme-color-3)}.light-mode{--default-theme-color-green: #17803d;--default-theme-color-red: #e10909;--default-theme-color-yellow: #edbe20;--default-theme-color-blue: #1763a6;--default-theme-color-orange: #e25b09;--default-theme-color-purple: #5c3993;--default-theme-button-1: rgba(0, 0, 0, 1);--default-theme-button-1-hover: rgba(0, 0, 0, .8);--default-theme-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--default-theme-color-green: #30a159;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #eec644;--default-theme-color-blue: #2b7abf;--default-theme-color-orange: #f07528;--default-theme-color-purple: #7a59b1;--default-theme-button-1: rgba(255, 255, 255, 1);--default-theme-button-1-hover: rgba(255, 255, 255, .9);--default-theme-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}", D = ".light-mode{color-scheme:light;--default-theme-color-1: #584c27;--default-theme-color-2: #616161;--default-theme-color-3: #a89f84;--default-theme-color-accent: #b58900;--default-theme-background-1: #fdf6e3;--default-theme-background-2: #eee8d5;--default-theme-background-3: #ddd6c1;--default-theme-background-accent: #b589001f;--default-theme-border-color: #ded8c8;--default-theme-scrollbar-color: rgba(0, 0, 0, .18);--default-theme-scrollbar-color-active: rgba(0, 0, 0, .36);--default-theme-lifted-brightness: 1;--default-theme-backdrop-brightness: 1;--default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--default-theme-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--default-theme-button-1: rgb(49 53 56);--default-theme-button-1-color: #fff;--default-theme-button-1-hover: rgb(28 31 33);--default-theme-color-red: #b91c1c;--default-theme-color-orange: #a16207;--default-theme-color-green: #047857;--default-theme-color-blue: #1d4ed8;--default-theme-color-orange: #c2410c;--default-theme-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--default-theme-color-1: #fff;--default-theme-color-2: #cccccc;--default-theme-color-3: #6d8890;--default-theme-color-accent: #007acc;--default-theme-background-1: #00212b;--default-theme-background-2: #012b36;--default-theme-background-3: #004052;--default-theme-background-accent: #015a6f;--default-theme-border-color: rgba(255, 255, 255, .1);--default-theme-scrollbar-color: rgba(255, 255, 255, .24);--default-theme-scrollbar-color-active: rgba(255, 255, 255, .48);--default-theme-lifted-brightness: 1.45;--default-theme-backdrop-brightness: .5;--default-theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--default-theme-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--default-theme-button-1: #f6f6f6;--default-theme-button-1-color: #000;--default-theme-button-1-hover: #e7e7e7;--default-theme-color-green: #00b648;--default-theme-color-red: #dc1b19;--default-theme-color-yellow: #ffc90d;--default-theme-color-blue: #4eb3ec;--default-theme-color-orange: #ff8d4d;--default-theme-color-purple: #b191f9}.light-mode .t-doc__sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-color-active: var(--default-theme-color-accent);--default-sidebar-search-background: var(--default-theme-background-2);--default-sidebar-search-border-color: var(--sidebar-search-background);--default-sidebar-search--color: var(--default-theme-color-3)}.dark-mode .sidebar{--default-sidebar-background-1: var(--default-theme-background-1);--default-sidebar-item-hover-color: currentColor;--default-sidebar-item-hover-background: var(--default-theme-background-2);--default-sidebar-item-active-background: var( --default-theme-background-accent );--default-sidebar-border-color: var(--default-theme-border-color);--default-sidebar-color-1: var(--default-theme-color-1);--default-sidebar-color-2: var(--default-theme-color-2);--default-sidebar-color-active: var(--default-sidebar-color-1);--default-sidebar-search-background: var(--default-theme-background-2);--default-sidebar-search-border-color: var(--sidebar-search-background);--default-sidebar-search--color: var(--default-theme-color-3)}", E = /* @__PURE__ */ o({ | ||
import './index.css'; | ||
import { defineComponent as e, openBlock as k, createBlock as f, resolveDynamicComponent as p, withCtx as m, createTextVNode as h, toDisplayString as v, unref as s, createCommentVNode as x, onMounted as _, useCssModule as d, renderSlot as t } from "vue"; | ||
const w = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--scalar-background-1: #f9f9f9;--scalar-background-2: #f1f1f1;--scalar-background-3: #e7e7e7;--scalar-background-card: #fff;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-languages-background-supersede: var(--scalar-background-1);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #131313;--scalar-background-2: #1d1d1d;--scalar-background-3: #272727;--scalar-background-card: #1d1d1d;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(255, 255, 255, .1);--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dd2f2c;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.code-languages-background:before{box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--scalar-background-1: var(--scalar-background-card);--scalar-background-2: var(--scalar-background-1);--scalar-background-3: var(--scalar-background-1)}.dark-mode .dark-mode.scalar-card{--scalar-background-3: var(--scalar-background-3)}.t-doc__sidebar{--scalar-color-green: var(--scalar-color-1);--scalar-color-red: var(--scalar-color-1);--scalar-color-yellow: var(--scalar-color-1);--scalar-color-blue: var(--scalar-color-1);--scalar-color-orange: var(--scalar-color-1);--scalar-color-purple: var(--scalar-color-1)}}", y = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f0f2f5;--scalar-background-2: #eaecf0;--scalar-background-3: #e0e2e6;--scalar-border-color: rgb(228, 228, 231);--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--scalar-background-1: #000e23;--scalar-background-2: #01132e;--scalar-background-3: #03193b;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3);z-index:1}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--scalar-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--scalar-background-1: #fff;--scalar-background-2: #fff;--scalar-background-3: #fff}}", C = '@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #fff;--scalar-background-2: #f4f4f5;--scalar-background-3: #e3e3e6;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgb(228, 228, 231);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-item-active-background: #09090b;--scalar-sidebar-color-active: var(--scalar-sidebar-background-1)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}}', b = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", S = "@layer scalar-theme{.light-mode{--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #7070ff;--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #7070ff1f;--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-language-color-supersede: var(--scalar-color-3)}.dark-mode{--scalar-color-1: #f7f8f8;--scalar-color-2: rgb(180, 188, 208);--scalar-color-3: #b4bcd099;--scalar-color-accent: #828fff;--scalar-background-1: #000212;--scalar-background-2: rgba(255, 255, 255, .05);--scalar-background-3: rgba(255, 255, 255, .05);--scalar-background-accent: #8ab4f81f;--scalar-border-color: #242537;--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(0, 0, 0, .05);--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: rgba(255, 255, 255, .1);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--scalar-background-2: transparent !important;--scalar-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--scalar-background-1: #0d0f1e !important;--scalar-background-2: #0d0f1e !important;--scalar-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--scalar-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.code-languages__active{--scalar-code-language-color-supersede: var(--scalar-color-1)}.code-languages-background{background:linear-gradient(#fff0,#ffffff0d)!important;box-shadow:inset 0 0 0 1px var(--scalar-border-color)!important}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}}", T = "@layer scalar-theme{:root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f9f6f0;--scalar-background-2: #f2efe8;--scalar-background-3: #e9e7e2;--scalar-border-color: rgba(203, 165, 156, .6);--scalar-color-1: #c75549;--scalar-color-2: #c75549;--scalar-color-3: #c75549;--scalar-color-accent: #c75549;--scalar-background-accent: #dcbfa81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #140507;--scalar-background-2: #20090c;--scalar-background-3: #321116;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: rgba(255, 255, 255, .9);--scalar-background-accent: #441313;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);z-index:1}.light-mode{--scalar-color-green: #09533a;--scalar-color-red: #aa181d;--scalar-color-yellow: #ab8d2b;--scalar-color-blue: #19689a;--scalar-color-orange: #b26c34;--scalar-color-purple: #4c2191;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.code-languages-background{background:var(--scalar-background-1)!important}.code-languages-background:before{box-shadow:inset 0 0 0 2px var(--scalar-border-color);background:linear-gradient(to right top,#d3e1f91f,#d1dff71c,#dfe9fb4a)!important}.light-mode .code-languages-background:before{background:linear-gradient(to right top,#00000014,#00000012,#00000030)!important}.code-languages__active .code-languages-background:before{background:var(--scalar-background-1)!important}.code-languages span{margin-top:5px!important}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}}", z = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #000000;--scalar-color-2: #000000;--scalar-color-3: #000000;--scalar-color-accent: #645b0f;--scalar-background-1: #ccc9b3;--scalar-background-2: #c2bfaa;--scalar-background-3: #b8b5a1;--scalar-background-accent: #000000;--scalar-border-color: rgba(0, 0, 0, .2);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{color-scheme:dark;--scalar-color-1: #fffef3;--scalar-color-2: #fffef3;--scalar-color-3: #fffef3;--scalar-color-accent: #c3b531;--scalar-background-1: #313332;--scalar-background-2: #393b3a;--scalar-background-3: #414342;--scalar-background-accent: #fffef3;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-code-languages-background-supersede: var(--scalar-background-3);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-background-1);--scalar-sidebar-search-background: var(--scalar-background-3);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", D = "@layer scalar-theme{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f5f6f8;--scalar-background-3: #eceef1;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(215, 215, 206, .5)}.dark-mode{--scalar-background-1: #15171c;--scalar-background-2: #1c1e24;--scalar-background-3: #22252b;--scalar-color-1: #fafafa;--scalar-color-2: #c9ced8;--scalar-color-3: #8c99ad;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-3);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}", P = "@layer scalar-theme{.light-mode{--scalar-background-1: #f3f3ee;--scalar-background-2: #e8e8e3;--scalar-background-3: #e4e4df;--scalar-border-color: rgba(215, 215, 206, .5);--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #1763a6;--scalar-background-accent: #1f648e1f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.dark-mode{--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: #4eb3ec;--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1);--scalar-code-languages-background-supersede: var(--scalar-background-2)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}}", $ = "@layer scalar-theme{.light-mode{color-scheme:light;--scalar-color-1: #584c27;--scalar-color-2: #616161;--scalar-color-3: #a89f84;--scalar-color-accent: #b58900;--scalar-background-1: #fdf6e3;--scalar-background-2: #eee8d5;--scalar-background-3: #ddd6c1;--scalar-background-accent: #b589001f;--scalar-border-color: #ded8c8;--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fff;--scalar-color-2: #cccccc;--scalar-color-3: #6d8890;--scalar-color-accent: #007acc;--scalar-background-1: #00212b;--scalar-background-2: #012b36;--scalar-background-3: #004052;--scalar-background-accent: #015a6f;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var( --scalar-sidebar-search-background );--scalar-sidebar-search--color: var(--scalar-color-3)}}", q = /* @__PURE__ */ e({ | ||
__name: "ThemeStyles", | ||
@@ -8,66 +8,76 @@ props: { | ||
}, | ||
setup(r) { | ||
return (e, a) => e.id !== "none" ? (n(), g(i("style"), { key: 0 }, { | ||
default: s(() => [ | ||
k(p(d(j)(e.id)), 1) | ||
setup(a) { | ||
return (c, r) => c.id !== "none" ? (k(), f(p("style"), { key: 0 }, { | ||
default: m(() => [ | ||
h(v(s(G)(c.id)), 1) | ||
]), | ||
_: 1 | ||
})) : v("", !0); | ||
})) : x("", !0); | ||
} | ||
}); | ||
function f(r, e) { | ||
x(() => { | ||
function n(a, c) { | ||
_(() => { | ||
if (!document.body) | ||
return; | ||
const a = document.querySelector(r); | ||
a == null || a.classList.add(e); | ||
const r = document.querySelector(a); | ||
r == null || r.classList.add(c); | ||
}); | ||
} | ||
const q = /* @__PURE__ */ o({ | ||
const I = /* @__PURE__ */ e({ | ||
__name: "ResetStyles", | ||
setup(r) { | ||
const { reset: e } = l(); | ||
return f("#headlessui-portal-root", e), (a, t) => c(a.$slots, "default", { styles: d(e) }); | ||
setup(a) { | ||
const { reset: c } = d(); | ||
return n("#headlessui-portal-root", c), (r, o) => t(r.$slots, "default", { styles: s(c) }); | ||
} | ||
}), M = "_reset_78zw5_3", B = { | ||
}), M = "_reset_1hufs_3", R = { | ||
reset: M | ||
}, b = (r, e) => { | ||
const a = r.__vccOpts || r; | ||
for (const [t, h] of e) | ||
a[t] = h; | ||
return a; | ||
}, N = { | ||
$style: B | ||
}, F = /* @__PURE__ */ b(q, [["__cssModules", N]]), O = /* @__PURE__ */ o({ | ||
}, g = (a, c) => { | ||
const r = a.__vccOpts || a; | ||
for (const [o, l] of c) | ||
r[o] = l; | ||
return r; | ||
}, A = { | ||
$style: R | ||
}, F = /* @__PURE__ */ g(I, [["__cssModules", A]]), E = /* @__PURE__ */ e({ | ||
__name: "ScrollbarStyles", | ||
setup(r) { | ||
const { scrollbars: e } = l(); | ||
return f("#headlessui-portal-root", e), (a, t) => c(a.$slots, "default", { styles: d(e) }); | ||
setup(a) { | ||
const { scrollbars: c } = d(); | ||
return n("#headlessui-portal-root", c), (r, o) => t(r.$slots, "default", { styles: s(c) }); | ||
} | ||
}), P = "_scrollbars_1wuqs_3", R = { | ||
scrollbars: P, | ||
"cm-scroller": "_cm-scroller_1wuqs_4", | ||
"custom-scroll": "_custom-scroll_1wuqs_5", | ||
"custom-scroll-self-contain-overflow": "_custom-scroll-self-contain-overflow_1wuqs_11" | ||
}, V = { | ||
$style: R | ||
}, G = /* @__PURE__ */ b(O, [["__cssModules", V]]), m = { | ||
alternate: _, | ||
default: u, | ||
moon: S, | ||
purple: z, | ||
solarized: D, | ||
bluePlanet: w, | ||
deepSpace: y, | ||
saturn: $, | ||
kepler: C, | ||
}), N = "_scrollbars_1mr8w_3", L = { | ||
scrollbars: N, | ||
"cm-scroller": "_cm-scroller_1mr8w_4", | ||
"custom-scroll": "_custom-scroll_1mr8w_5", | ||
"custom-scroll-self-contain-overflow": "_custom-scroll-self-contain-overflow_1mr8w_11" | ||
}, O = { | ||
$style: L | ||
}, X = /* @__PURE__ */ g(E, [["__cssModules", O]]), i = [ | ||
["--theme-", "--scalar-"], | ||
["--sidebar-", "--scalar-sidebar-"] | ||
], B = i.map(([a]) => a); | ||
function j(a) { | ||
return B.some((r) => a.includes(r)) ? (console.warn( | ||
"DEPRECATION WARNING: It looks like you're using legacy CSS variables in your custom CSS string. Please migrate them to use the updated prefixes. See https://github.com/scalar/scalar#theme-prefix-changes" | ||
), i.reduce((r, [o, l]) => r.replaceAll(o, l), a)) : a; | ||
} | ||
const u = { | ||
alternate: w, | ||
default: b, | ||
moon: z, | ||
purple: D, | ||
solarized: $, | ||
bluePlanet: y, | ||
deepSpace: C, | ||
saturn: P, | ||
kepler: S, | ||
mars: T | ||
}, H = Object.keys(m), j = (r = "default") => r === "none" ? "" : m[r] ?? u; | ||
}, W = Object.keys(u), G = (a = "default") => a === "none" ? "" : u[a] ?? b; | ||
export { | ||
F as ResetStyles, | ||
G as ScrollbarStyles, | ||
E as ThemeStyles, | ||
H as availableThemes, | ||
j as getThemeById, | ||
m as presets | ||
X as ScrollbarStyles, | ||
q as ThemeStyles, | ||
W as availableThemes, | ||
G as getThemeById, | ||
j as migrateThemeVariables, | ||
u as presets | ||
}; |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.6.7", | ||
"version": "0.7.0", | ||
"engines": { | ||
@@ -41,8 +41,8 @@ "node": ">=18" | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"@vitest/coverage-v8": "^1.5.0", | ||
"tsc-alias": "^1.8.8", | ||
"vite": "^5.1.1", | ||
"vite-plugin-lib-inject-css": "^2.0.0", | ||
"vite-plugin-static-copy": "^1.0.1", | ||
"vitest": "^1.2.2", | ||
"vite": "^5.2.9", | ||
"vite-plugin-lib-inject-css": "^2.0.1", | ||
"vite-plugin-static-copy": "^1.0.2", | ||
"vitest": "^1.5.0", | ||
"vue-tsc": "^1.8.19" | ||
@@ -49,0 +49,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
30
1757
139347