@retrivora-ai/rag-engine 2.5.6 → 2.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ChromaDBProvider-4RPJN7Y3.mjs +8 -0
- package/dist/MilvusProvider-WJLLZ6TW.mjs +8 -0
- package/dist/MongoDBProvider-QSERELZX.mjs +8 -0
- package/dist/MultiTablePostgresProvider-JF2HEUDZ.mjs +9 -0
- package/dist/PineconeProvider-HLZL7HKU.mjs +10 -0
- package/dist/PostgreSQLProvider-JQMCNHRO.mjs +8 -0
- package/dist/QdrantProvider-6MNFPEVC.mjs +8 -0
- package/dist/RedisProvider-ERQL6AEB.mjs +8 -0
- package/dist/SimpleGraphProvider-OP3HAJJM.mjs +70 -0
- package/dist/UniversalVectorProvider-INM3KH5F.mjs +9 -0
- package/dist/WeaviateProvider-VHWWICCC.mjs +8 -0
- package/dist/chunk-366EFBZC.mjs +165 -0
- package/dist/chunk-6MGVQTU4.mjs +8883 -0
- package/dist/chunk-B4AXIUM7.mjs +49 -0
- package/dist/chunk-BEPLYQBS.mjs +89 -0
- package/dist/chunk-BNOPQCZW.mjs +238 -0
- package/dist/chunk-FJ43J4FW.mjs +654 -0
- package/dist/chunk-GP2AJQRQ.mjs +107 -0
- package/dist/chunk-IMP6FUCY.mjs +30 -0
- package/dist/chunk-JRQWSJNF.mjs +202 -0
- package/dist/chunk-LYHCKUNF.mjs +112 -0
- package/dist/chunk-MFIWWUC7.mjs +152 -0
- package/dist/chunk-MWICNCB2.mjs +157 -0
- package/dist/chunk-N54YTFBN.mjs +76 -0
- package/dist/chunk-POOWU2HR.mjs +211 -0
- package/dist/chunk-QGDGPOZH.mjs +217 -0
- package/dist/chunk-QI3FTN6G.mjs +281 -0
- package/dist/chunk-QJIDGVG6.mjs +334 -0
- package/dist/chunk-W2DKVD3G.mjs +81 -0
- package/dist/chunk-XHSDHPKI.mjs +336 -0
- package/dist/handlers/index.js +1 -1
- package/dist/handlers/index.mjs +24 -12052
- package/dist/{index-Byv5MaYi.d.mts → index-9h_ENWQn.d.mts} +16 -0
- package/dist/{index-DP3_OpuB.d.ts → index-Xci6GfpI.d.ts} +16 -0
- package/dist/index.css +112 -0
- package/dist/index.d.mts +176 -18
- package/dist/index.d.ts +176 -18
- package/dist/index.js +602 -104
- package/dist/index.min.css +1 -1
- package/dist/index.mjs +648 -1534
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +1 -1
- package/dist/server.mjs +372 -12608
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
2
|
+
import {
|
|
3
|
+
LicenseValidator
|
|
4
|
+
} from "./chunk-QGDGPOZH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
AuthenticationException,
|
|
7
|
+
BatchProcessor,
|
|
8
|
+
ConfigurationException,
|
|
9
|
+
EmbeddingFailedException,
|
|
10
|
+
LicenseValidationError,
|
|
11
|
+
ProviderNotFoundException,
|
|
12
|
+
RateLimitException,
|
|
13
|
+
RetrievalException,
|
|
14
|
+
RetrivoraError,
|
|
15
|
+
SDKVersionUnsupportedError,
|
|
16
|
+
isTransientError
|
|
17
|
+
} from "./chunk-FJ43J4FW.mjs";
|
|
18
|
+
import {
|
|
19
|
+
mergeDefined
|
|
20
|
+
} from "./chunk-B4AXIUM7.mjs";
|
|
21
|
+
import {
|
|
22
|
+
ConfigFetcher,
|
|
23
|
+
createDefaultProjectSettings,
|
|
24
|
+
normalizeProjectSettings,
|
|
25
|
+
projectSettingsToUiConfig
|
|
26
|
+
} from "./chunk-QJIDGVG6.mjs";
|
|
27
|
+
import {
|
|
28
|
+
SDK_VERSION
|
|
29
|
+
} from "./chunk-366EFBZC.mjs";
|
|
30
|
+
import {
|
|
31
|
+
addSynonyms,
|
|
32
|
+
resolveMetadataValue
|
|
33
|
+
} from "./chunk-BEPLYQBS.mjs";
|
|
34
|
+
import {
|
|
35
|
+
__objRest,
|
|
36
|
+
__spreadProps,
|
|
37
|
+
__spreadValues
|
|
38
|
+
} from "./chunk-N54YTFBN.mjs";
|
|
39
39
|
|
|
40
40
|
// #style-inject:#style-inject
|
|
41
41
|
function styleInject(css, { insertAt } = {}) {
|
|
@@ -60,14 +60,14 @@ function styleInject(css, { insertAt } = {}) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// src/index.css
|
|
63
|
-
styleInject('/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n "Helvetica Neue",\n "Noto Sans",\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n --font-mono:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-2xl: 42rem;\n --container-4xl: 56rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-xl: 24px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html,\n :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b,\n strong {\n font-weight: bolder;\n }\n code,\n kbd,\n samp,\n pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring:where(:not(iframe)) {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol,\n ul,\n menu {\n list-style: none;\n }\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n button,\n input,\n select,\n optgroup,\n textarea,\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field,\n ::-webkit-datetime-edit-second-field,\n ::-webkit-datetime-edit-millisecond-field,\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button,\n input:where([type=button], [type=reset], [type=submit]),\n ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=until-found])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .inset-0 {\n inset: 0px;\n }\n .-top-8 {\n top: calc(var(--spacing) * -8);\n }\n .top-0 {\n top: 0px;\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-6 {\n top: calc(var(--spacing) * 6);\n }\n .top-20 {\n top: calc(var(--spacing) * 20);\n }\n .-right-4 {\n right: calc(var(--spacing) * -4);\n }\n .right-0 {\n right: 0px;\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-5 {\n right: calc(var(--spacing) * 5);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n }\n .bottom-6 {\n bottom: calc(var(--spacing) * 6);\n }\n .bottom-20 {\n bottom: calc(var(--spacing) * 20);\n }\n .-left-4 {\n left: calc(var(--spacing) * -4);\n }\n .left-0 {\n left: 0px;\n }\n .left-1\\/2 {\n left: calc(1 / 2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-5 {\n left: calc(var(--spacing) * 5);\n }\n .left-6 {\n left: calc(var(--spacing) * 6);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .z-\\[100\\] {\n z-index: 100;\n }\n .z-\\[9998\\] {\n z-index: 9998;\n }\n .z-\\[9999\\] {\n z-index: 9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .mx-1 {\n margin-inline: var(--spacing);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-6 {\n margin-inline: calc(var(--spacing) * 6);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1\\.5 {\n margin-block: calc(var(--spacing) * 1.5);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-3 {\n margin-block: calc(var(--spacing) * 3);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-auto {\n margin-block: auto;\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: var(--spacing);\n }\n .mt-1\\.5 {\n margin-top: calc(var(--spacing) * 1.5);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * 0.5);\n }\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .ml-1 {\n margin-left: var(--spacing);\n }\n .ml-1\\.5 {\n margin-left: calc(var(--spacing) * 1.5);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .\\!table {\n display: table !important;\n }\n .\\!table-cell {\n display: table-cell !important;\n }\n .\\!table-header-group {\n display: table-header-group !important;\n }\n .\\!table-row {\n display: table-row !important;\n }\n .\\!table-row-group {\n display: table-row-group !important;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .aspect-\\[4\\/3\\] {\n aspect-ratio: 4/3;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .h-1 {\n height: var(--spacing);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-2\\.5 {\n height: calc(var(--spacing) * 2.5);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-28 {\n height: calc(var(--spacing) * 28);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-40 {\n height: calc(var(--spacing) * 40);\n }\n .h-\\[400\\%\\] {\n height: 400%;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-full {\n height: 100%;\n }\n .max-h-24 {\n max-height: calc(var(--spacing) * 24);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n .max-h-56 {\n max-height: calc(var(--spacing) * 56);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[320px\\] {\n max-height: 320px;\n }\n .max-h-\\[400px\\] {\n max-height: 400px;\n }\n .min-h-0 {\n min-height: 0px;\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-2 {\n width: calc(var(--spacing) * 2);\n }\n .w-2\\.5 {\n width: calc(var(--spacing) * 2.5);\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-14 {\n width: calc(var(--spacing) * 14);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-36 {\n width: calc(var(--spacing) * 36);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-44 {\n width: calc(var(--spacing) * 44);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-\\[400\\%\\] {\n width: 400%;\n }\n .w-\\[500px\\] {\n width: 500px;\n }\n .w-\\[min\\(88\\%\\,18rem\\)\\] {\n width: min(88%, 18rem);\n }\n .w-full {\n width: 100%;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-\\[90\\%\\] {\n max-width: 90%;\n }\n .max-w-\\[92\\%\\] {\n max-width: 92%;\n }\n .max-w-\\[94\\%\\] {\n max-width: 94%;\n }\n .max-w-\\[120px\\] {\n max-width: 120px;\n }\n .max-w-\\[calc\\(100vw-3rem\\)\\] {\n max-width: calc(100vw - 3rem);\n }\n .max-w-full {\n max-width: 100%;\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .max-w-none {\n max-width: none;\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .max-w-xs {\n max-width: var(--container-xs);\n }\n .min-w-0 {\n min-width: 0px;\n }\n .min-w-\\[11rem\\] {\n min-width: 11rem;\n }\n .min-w-\\[400px\\] {\n min-width: 400px;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .flex-grow {\n flex-grow: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-0 {\n --tw-translate-y: 0px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-4 {\n --tw-translate-y: calc(var(--spacing) * 4);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-90 {\n --tw-scale-x: 90%;\n --tw-scale-y: 90%;\n --tw-scale-z: 90%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-95 {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-100 {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-110 {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .rotate-0 {\n rotate: 0deg;\n }\n .rotate-45 {\n rotate: 45deg;\n }\n .rotate-90 {\n rotate: 90deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-\\[pulse_1\\.2s_infinite\\] {\n animation: pulse 1.2s infinite;\n }\n .animate-bounce {\n animation: var(--animate-bounce);\n }\n .animate-ping {\n animation: var(--animate-ping);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-nw-resize {\n cursor: nw-resize;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .resize-none {\n resize: none;\n }\n .snap-x {\n scroll-snap-type: x var(--tw-scroll-snap-strictness);\n }\n .snap-mandatory {\n --tw-scroll-snap-strictness: mandatory;\n }\n .snap-start {\n scroll-snap-align: start;\n }\n .scrollbar-thin {\n scrollbar-width: thin;\n }\n .scrollbar-thumb-slate-200 {\n --tw-scrollbar-thumb: var(--color-slate-200);\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .scrollbar-track-transparent {\n --tw-scrollbar-track: transparent;\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: var(--spacing);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n :where(.space-y-0\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));\n margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-2 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-3 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-4 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-8 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.divide-y > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n :where(.divide-slate-100 > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-md {\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tl-\\[2px\\] {\n border-top-left-radius: 2px;\n }\n .rounded-tl-sm {\n border-top-left-radius: var(--radius-sm);\n }\n .rounded-tr-sm {\n border-top-right-radius: var(--radius-sm);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-emerald-100 {\n border-color: var(--color-emerald-100);\n }\n .border-emerald-100\\/50 {\n border-color: color-mix(in srgb, oklch(95% 0.052 163.051) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-100) 50%, transparent);\n }\n }\n .border-emerald-200 {\n border-color: var(--color-emerald-200);\n }\n .border-emerald-500 {\n border-color: var(--color-emerald-500);\n }\n .border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-500 {\n border-color: var(--color-indigo-500);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-rose-100 {\n border-color: var(--color-rose-100);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-rose-200\\/50 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 50%, transparent);\n }\n }\n .border-rose-200\\/60 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 60%, transparent);\n }\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-200\\/50 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 50%, transparent);\n }\n }\n .border-slate-200\\/60 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);\n }\n }\n .border-slate-200\\/80 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .border-t-transparent {\n border-top-color: transparent;\n }\n .bg-\\[\\#0d0d1a\\] {\n background-color: #0d0d1a;\n }\n .bg-\\[\\#080818\\] {\n background-color: #080818;\n }\n .bg-\\[var\\(--primary\\)\\] {\n background-color: var(--primary);\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-200 {\n background-color: var(--color-amber-200);\n }\n .bg-amber-500 {\n background-color: var(--color-amber-500);\n }\n .bg-amber-500\\/80 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-amber-500) 80%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-cyan-50 {\n background-color: var(--color-cyan-50);\n }\n .bg-cyan-100 {\n background-color: var(--color-cyan-100);\n }\n .bg-cyan-200 {\n background-color: var(--color-cyan-200);\n }\n .bg-emerald-50 {\n background-color: var(--color-emerald-50);\n }\n .bg-emerald-50\\/50 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 50%, transparent);\n }\n }\n .bg-emerald-100 {\n background-color: var(--color-emerald-100);\n }\n .bg-emerald-200 {\n background-color: var(--color-emerald-200);\n }\n .bg-emerald-500 {\n background-color: var(--color-emerald-500);\n }\n .bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .bg-emerald-500\\/80 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 80%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-pink-50 {\n background-color: var(--color-pink-50);\n }\n .bg-pink-100 {\n background-color: var(--color-pink-100);\n }\n .bg-pink-200 {\n background-color: var(--color-pink-200);\n }\n .bg-purple-50 {\n background-color: var(--color-purple-50);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-purple-200 {\n background-color: var(--color-purple-200);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-500 {\n background-color: var(--color-red-500);\n }\n .bg-rose-50 {\n background-color: var(--color-rose-50);\n }\n .bg-rose-50\\/50 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 50%, transparent);\n }\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-rose-500 {\n background-color: var(--color-rose-500);\n }\n .bg-rose-500\\/80 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 80%, transparent);\n }\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-50\\/20 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 20%, transparent);\n }\n }\n .bg-slate-50\\/50 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent);\n }\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-100\\/50 {\n background-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-100) 50%, transparent);\n }\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-200\\/70 {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);\n }\n }\n .bg-slate-400 {\n background-color: var(--color-slate-400);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .bg-slate-900\\/90 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 90%, transparent);\n }\n }\n .bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .bg-slate-950\\/70 {\n background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-950) 70%, transparent);\n }\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-100 {\n background-color: var(--color-violet-100);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .bg-white\\/90 {\n background-color: color-mix(in srgb, #fff 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-slate-100 {\n --tw-gradient-from: var(--color-slate-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-200 {\n --tw-gradient-to: var(--color-slate-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: var(--spacing);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: var(--spacing);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: var(--spacing);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .pt-1 {\n padding-top: var(--spacing);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pr-1 {\n padding-right: var(--spacing);\n }\n .pr-6 {\n padding-right: calc(var(--spacing) * 6);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-6 {\n padding-bottom: calc(var(--spacing) * 6);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .align-middle {\n vertical-align: middle;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-extrabold {\n --tw-font-weight: var(--font-weight-extrabold);\n font-weight: var(--font-weight-extrabold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .break-words {\n overflow-wrap: break-word;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .whitespace-pre {\n white-space: pre;\n }\n .whitespace-pre-line {\n white-space: pre-line;\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-amber-400 {\n color: var(--color-amber-400);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-700 {\n color: var(--color-amber-700);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-amber-900 {\n color: var(--color-amber-900);\n }\n .text-amber-950 {\n color: var(--color-amber-950);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-950 {\n color: var(--color-blue-950);\n }\n .text-cyan-700 {\n color: var(--color-cyan-700);\n }\n .text-cyan-800 {\n color: var(--color-cyan-800);\n }\n .text-cyan-950 {\n color: var(--color-cyan-950);\n }\n .text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-emerald-500\\/70 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-emerald-500) 70%, transparent);\n }\n }\n .text-emerald-600 {\n color: var(--color-emerald-600);\n }\n .text-emerald-700 {\n color: var(--color-emerald-700);\n }\n .text-emerald-800 {\n color: var(--color-emerald-800);\n }\n .text-emerald-900 {\n color: var(--color-emerald-900);\n }\n .text-emerald-950 {\n color: var(--color-emerald-950);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-indigo-200\\/85 {\n color: color-mix(in srgb, oklch(87% 0.065 274.039) 85%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-indigo-200) 85%, transparent);\n }\n }\n .text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-900 {\n color: var(--color-indigo-900);\n }\n .text-indigo-950 {\n color: var(--color-indigo-950);\n }\n .text-orange-950 {\n color: var(--color-orange-950);\n }\n .text-pink-700 {\n color: var(--color-pink-700);\n }\n .text-pink-800 {\n color: var(--color-pink-800);\n }\n .text-pink-950 {\n color: var(--color-pink-950);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-purple-800 {\n color: var(--color-purple-800);\n }\n .text-purple-950 {\n color: var(--color-purple-950);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-rose-400 {\n color: var(--color-rose-400);\n }\n .text-rose-500 {\n color: var(--color-rose-500);\n }\n .text-rose-600 {\n color: var(--color-rose-600);\n }\n .text-slate-100 {\n color: var(--color-slate-100);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-violet-900 {\n color: var(--color-violet-900);\n }\n .text-white {\n color: var(--color-white);\n }\n .text-white\\/25 {\n color: color-mix(in srgb, #fff 25%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .text-white\\/35 {\n color: color-mix(in srgb, #fff 35%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 35%, transparent);\n }\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .placeholder-slate-400::placeholder {\n color: var(--color-slate-400);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-30 {\n opacity: 30%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-rose-500\\/20 {\n --tw-shadow-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-rose-500) 20%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-slate-200\\/80 {\n --tw-ring-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .ring-offset-transparent {\n --tw-ring-offset-color: transparent;\n }\n .drop-shadow-2xl {\n --tw-drop-shadow-size: drop-shadow(0 25px 25px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.15)));\n --tw-drop-shadow: drop-shadow(var(--drop-shadow-2xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xl {\n --tw-backdrop-blur: blur(var(--blur-xl));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to,\n opacity,\n box-shadow,\n transform,\n translate,\n scale,\n rotate,\n filter,\n -webkit-backdrop-filter,\n backdrop-filter,\n display,\n content-visibility,\n overlay,\n pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property:\n transform,\n translate,\n scale,\n rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-700 {\n --tw-duration: 700ms;\n transition-duration: 700ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .select-text {\n -webkit-user-select: text;\n user-select: text;\n }\n .\\[animation-delay\\:0ms\\] {\n animation-delay: 0ms;\n }\n .\\[animation-delay\\:150ms\\] {\n animation-delay: 150ms;\n }\n .\\[animation-delay\\:300ms\\] {\n animation-delay: 300ms;\n }\n @media (hover: hover) {\n .group-hover\\:translate-x-0\\.5:is(:where(.group):hover *) {\n --tw-translate-x: calc(var(--spacing) * 0.5);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .group-hover\\:scale-100:is(:where(.group):hover *) {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:scale-105:is(:where(.group):hover *) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:animate-\\[gradientMove_3\\.5s_ease-in-out_infinite_alternate\\]:is(:where(.group):hover *) {\n animation: gradientMove 3.5s ease-in-out infinite alternate;\n }\n .group-hover\\:animate-\\[shapeshift_5s_ease-in-out_infinite_forwards\\]:is(:where(.group):hover *) {\n animation: shapeshift 5s ease-in-out infinite forwards;\n }\n .group-hover\\:rounded-none:is(:where(.group):hover *) {\n border-radius: 0;\n }\n .group-hover\\:border-slate-500:is(:where(.group):hover *) {\n border-color: var(--color-slate-500);\n }\n .group-hover\\:opacity-100:is(:where(.group):hover *) {\n opacity: 100%;\n }\n }\n .focus-within\\:border-slate-300:focus-within {\n border-color: var(--color-slate-300);\n }\n @media (hover: hover) {\n .hover\\:scale-105:hover {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-110:hover {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-\\[1\\.01\\]:hover {\n scale: 1.01;\n }\n .hover\\:border-emerald-200:hover {\n border-color: var(--color-emerald-200);\n }\n .hover\\:border-rose-200:hover {\n border-color: var(--color-rose-200);\n }\n .hover\\:border-slate-300:hover {\n border-color: var(--color-slate-300);\n }\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in srgb, oklch(86.9% 0.022 252.894) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in oklab, var(--color-slate-300) 60%, transparent);\n }\n }\n .hover\\:border-slate-800:hover {\n border-color: var(--color-slate-800);\n }\n .hover\\:bg-emerald-50:hover {\n background-color: var(--color-emerald-50);\n }\n .hover\\:bg-rose-50:hover {\n background-color: var(--color-rose-50);\n }\n .hover\\:bg-rose-600:hover {\n background-color: var(--color-rose-600);\n }\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);\n }\n }\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);\n }\n }\n .hover\\:bg-slate-100:hover {\n background-color: var(--color-slate-100);\n }\n .hover\\:bg-slate-200:hover {\n background-color: var(--color-slate-200);\n }\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in oklab, var(--color-slate-200) 30%, transparent);\n }\n }\n .hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .hover\\:bg-white:hover {\n background-color: var(--color-white);\n }\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .hover\\:text-blue-500:hover {\n color: var(--color-blue-500);\n }\n .hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .hover\\:text-emerald-500:hover {\n color: var(--color-emerald-500);\n }\n .hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .hover\\:text-indigo-500:hover {\n color: var(--color-indigo-500);\n }\n .hover\\:text-rose-500:hover {\n color: var(--color-rose-500);\n }\n .hover\\:text-slate-600:hover {\n color: var(--color-slate-600);\n }\n .hover\\:text-slate-800:hover {\n color: var(--color-slate-800);\n }\n .hover\\:text-slate-900:hover {\n color: var(--color-slate-900);\n }\n .hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .hover\\:opacity-90:hover {\n opacity: 90%;\n }\n .hover\\:opacity-95:hover {\n opacity: 95%;\n }\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .hover\\:shadow-md:hover {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n }\n .focus\\:border-emerald-500:focus {\n border-color: var(--color-emerald-500);\n }\n .focus\\:ring-1:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .focus\\:ring-blue-500:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n .focus\\:ring-indigo-500:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n .focus\\:outline-none:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n .active\\:scale-95:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n .disabled\\:opacity-30:disabled {\n opacity: 30%;\n }\n .disabled\\:opacity-40:disabled {\n opacity: 40%;\n }\n .disabled\\:opacity-50:disabled {\n opacity: 50%;\n }\n @media (hover: hover) {\n .disabled\\:hover\\:scale-100:disabled:hover {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:hover\\:text-slate-400:disabled:hover {\n color: var(--color-slate-400);\n }\n .disabled\\:hover\\:text-slate-600:disabled:hover {\n color: var(--color-slate-600);\n }\n }\n .disabled\\:active\\:scale-100:disabled:active {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n @media (width >= 40rem) {\n .sm\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n @media (width >= 48rem) {\n .md\\:p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .md\\:opacity-0 {\n opacity: 0%;\n }\n @media (hover: hover) {\n .md\\:group-hover\\/carousel\\:opacity-100:is(:where(.group\\/carousel):hover *) {\n opacity: 100%;\n }\n }\n }\n @media (prefers-color-scheme: dark) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:scrollbar-thumb-white\\/10 {\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n :where(.dark\\:divide-white\\/5 > :not(:last-child)) {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-400) 20%, transparent);\n }\n }\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 25%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-400) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);\n }\n }\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in srgb, oklch(45.5% 0.188 13.697) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in oklab, var(--color-rose-800) 40%, transparent);\n }\n }\n .dark\\:border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .dark\\:border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .dark\\:border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/5 {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/8 {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:border-white\\/10 {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:border-white\\/20 {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/20 {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:border-zinc-800 {\n border-color: var(--color-zinc-800);\n }\n .dark\\:bg-\\[\\#0f0f1a\\] {\n background-color: #0f0f1a;\n }\n .dark\\:bg-\\[\\#0f0f1a\\]\\/90 {\n background-color: color-mix(in oklab, #0f0f1a 90%, transparent);\n }\n .dark\\:bg-\\[\\#080811\\] {\n background-color: #080811;\n }\n .dark\\:bg-\\[\\#131322\\] {\n background-color: #131322;\n }\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-400) 10%, transparent);\n }\n }\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);\n }\n }\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.5% 0.163 48.998) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-700) 40%, transparent);\n }\n }\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in srgb, oklch(47.3% 0.137 46.201) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in oklab, var(--color-amber-800) 30%, transparent);\n }\n }\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in oklab, var(--color-amber-900) 20%, transparent);\n }\n }\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in srgb, oklch(27.9% 0.077 45.635) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-950) 40%, transparent);\n }\n }\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in srgb, #000 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in srgb, #000 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in oklab, var(--color-black) 60%, transparent);\n }\n }\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in srgb, oklch(48.8% 0.243 264.376) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-700) 40%, transparent);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.2% 0.091 267.935) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-950) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in srgb, oklch(52% 0.105 223.128) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-700) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in srgb, oklch(39.8% 0.07 227.392) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in oklab, var(--color-cyan-900) 20%, transparent);\n }\n }\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in srgb, oklch(30.2% 0.056 229.695) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-950) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-400 {\n background-color: var(--color-emerald-400);\n }\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 5%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in srgb, oklch(50.8% 0.118 165.612) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-700) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.2% 0.095 166.913) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-800) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.8% 0.077 168.94) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-900) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-400 {\n background-color: var(--color-indigo-400);\n }\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in srgb, oklch(45.7% 0.24 277.023) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in oklab, var(--color-indigo-700) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in srgb, oklch(39.8% 0.195 277.366) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-800) 30%, transparent);\n }\n }\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-900) 30%, transparent);\n }\n }\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.3% 0.195 38.402) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in oklab, var(--color-orange-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in srgb, oklch(52.5% 0.223 3.958) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in srgb, oklch(45.9% 0.187 3.815) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in oklab, var(--color-pink-800) 30%, transparent);\n }\n }\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in srgb, oklch(40.8% 0.153 2.432) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in oklab, var(--color-pink-900) 20%, transparent);\n }\n }\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.4% 0.109 3.907) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-950) 40%, transparent);\n }\n }\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in srgb, oklch(49.6% 0.265 301.924) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-700) 40%, transparent);\n }\n }\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.8% 0.218 303.724) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-800) 40%, transparent);\n }\n }\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in srgb, oklch(38.1% 0.176 304.987) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in oklab, var(--color-purple-900) 20%, transparent);\n }\n }\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in srgb, oklch(29.1% 0.149 302.717) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-950) 40%, transparent);\n }\n }\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-400) 10%, transparent);\n }\n }\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in oklab, var(--color-rose-950) 20%, transparent);\n }\n }\n .dark\\:bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .dark\\:bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .dark\\:bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);\n }\n }\n .dark\\:bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .dark\\:bg-transparent {\n background-color: transparent;\n }\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in srgb, oklch(43.2% 0.232 292.759) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in oklab, var(--color-violet-800) 30%, transparent);\n }\n }\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in srgb, #fff 3%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in oklab, var(--color-white) 3%, transparent);\n }\n }\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:bg-zinc-900 {\n background-color: var(--color-zinc-900);\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:text-amber-100 {\n color: var(--color-amber-100);\n }\n .dark\\:text-amber-200 {\n color: var(--color-amber-200);\n }\n .dark\\:text-amber-300 {\n color: var(--color-amber-300);\n }\n .dark\\:text-amber-400 {\n color: var(--color-amber-400);\n }\n .dark\\:text-blue-100 {\n color: var(--color-blue-100);\n }\n .dark\\:text-blue-300 {\n color: var(--color-blue-300);\n }\n .dark\\:text-blue-400 {\n color: var(--color-blue-400);\n }\n .dark\\:text-cyan-100 {\n color: var(--color-cyan-100);\n }\n .dark\\:text-cyan-300 {\n color: var(--color-cyan-300);\n }\n .dark\\:text-cyan-400 {\n color: var(--color-cyan-400);\n }\n .dark\\:text-emerald-100 {\n color: var(--color-emerald-100);\n }\n .dark\\:text-emerald-300 {\n color: var(--color-emerald-300);\n }\n .dark\\:text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in oklab, var(--color-emerald-500) 50%, transparent);\n }\n }\n .dark\\:text-indigo-100 {\n color: var(--color-indigo-100);\n }\n .dark\\:text-indigo-200 {\n color: var(--color-indigo-200);\n }\n .dark\\:text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in srgb, oklch(67.3% 0.182 276.935) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in oklab, var(--color-indigo-400) 70%, transparent);\n }\n }\n .dark\\:text-orange-100 {\n color: var(--color-orange-100);\n }\n .dark\\:text-pink-100 {\n color: var(--color-pink-100);\n }\n .dark\\:text-pink-300 {\n color: var(--color-pink-300);\n }\n .dark\\:text-pink-400 {\n color: var(--color-pink-400);\n }\n .dark\\:text-purple-100 {\n color: var(--color-purple-100);\n }\n .dark\\:text-purple-300 {\n color: var(--color-purple-300);\n }\n .dark\\:text-purple-400 {\n color: var(--color-purple-400);\n }\n .dark\\:text-red-400 {\n color: var(--color-red-400);\n }\n .dark\\:text-rose-400 {\n color: var(--color-rose-400);\n }\n .dark\\:text-slate-100 {\n color: var(--color-slate-100);\n }\n .dark\\:text-slate-300 {\n color: var(--color-slate-300);\n }\n .dark\\:text-slate-400 {\n color: var(--color-slate-400);\n }\n .dark\\:text-violet-200 {\n color: var(--color-violet-200);\n }\n .dark\\:text-white {\n color: var(--color-white);\n }\n .dark\\:text-white\\/20 {\n color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/20 {\n color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:text-white\\/30 {\n color: color-mix(in srgb, #fff 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/30 {\n color: color-mix(in oklab, var(--color-white) 30%, transparent);\n }\n }\n .dark\\:text-white\\/40 {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/40 {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:text-white\\/50 {\n color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/50 {\n color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:text-white\\/60 {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/60 {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:text-white\\/70 {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/70 {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:text-white\\/75 {\n color: color-mix(in srgb, #fff 75%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/75 {\n color: color-mix(in oklab, var(--color-white) 75%, transparent);\n }\n }\n .dark\\:text-white\\/80 {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/80 {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:text-white\\/90 {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/90 {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:text-zinc-500 {\n color: var(--color-zinc-500);\n }\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n @media (hover: hover) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in srgb, #fff 15%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:text-blue-400:hover {\n color: var(--color-blue-400);\n }\n .dark\\:hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .dark\\:hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .dark\\:hover\\:text-indigo-400:hover {\n color: var(--color-indigo-400);\n }\n .dark\\:hover\\:text-rose-400:hover {\n color: var(--color-rose-400);\n }\n .dark\\:hover\\:text-slate-200:hover {\n color: var(--color-slate-200);\n }\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n }\n }\n}\n@layer base {\n :root {\n --star: shape(evenodd from 50% 24.787%, curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%, curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%, curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%, curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%, curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%, curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%, curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%, curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%, close);\n --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);\n --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);\n --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);\n --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);\n --heart: shape(evenodd from 51.311% 83.603%, curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%, curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%, curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%, curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%, curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%, curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%, curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%, curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%, curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%, curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%, curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%, curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%, close);\n --spiral: shape(evenodd from 13.347% 30.885%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%, curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%, curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%, curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%, curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, close);\n --sun: shape(evenodd from 12.758% 22.039%, curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%, curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, close);\n --star2: shape(open from 28.947% 47.744%, curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%, curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%, curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%, curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%, curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%, curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%, curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%, close);\n --tri-star: shape(open from 25% 25%, curve by 25% 25% with 0% 0% / 25% 25%, close);\n }\n}\n@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-rotate-x { syntax: "*"; inherits: false; }\n@property --tw-rotate-y { syntax: "*"; inherits: false; }\n@property --tw-rotate-z { syntax: "*"; inherits: false; }\n@property --tw-skew-x { syntax: "*"; inherits: false; }\n@property --tw-skew-y { syntax: "*"; inherits: false; }\n@property --tw-scroll-snap-strictness { syntax: "*"; inherits: false; initial-value: proximity; }\n@property --tw-scrollbar-thumb { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-scrollbar-track { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-divide-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }\n@property --tw-gradient-position { syntax: "*"; inherits: false; }\n@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }\n@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }\n@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-leading { syntax: "*"; inherits: false; }\n@property --tw-font-weight { syntax: "*"; inherits: false; }\n@property --tw-tracking { syntax: "*"; inherits: false; }\n@property --tw-ordinal { syntax: "*"; inherits: false; }\n@property --tw-slashed-zero { syntax: "*"; inherits: false; }\n@property --tw-numeric-figure { syntax: "*"; inherits: false; }\n@property --tw-numeric-spacing { syntax: "*"; inherits: false; }\n@property --tw-numeric-fraction { syntax: "*"; inherits: false; }\n@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-ring-color { syntax: "*"; inherits: false; }\n@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-ring-color { syntax: "*"; inherits: false; }\n@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-ring-inset { syntax: "*"; inherits: false; }\n@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }\n@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }\n@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-blur { syntax: "*"; inherits: false; }\n@property --tw-brightness { syntax: "*"; inherits: false; }\n@property --tw-contrast { syntax: "*"; inherits: false; }\n@property --tw-grayscale { syntax: "*"; inherits: false; }\n@property --tw-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-invert { syntax: "*"; inherits: false; }\n@property --tw-opacity { syntax: "*"; inherits: false; }\n@property --tw-saturate { syntax: "*"; inherits: false; }\n@property --tw-sepia { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }\n@property --tw-backdrop-blur { syntax: "*"; inherits: false; }\n@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }\n@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }\n@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }\n@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-invert { syntax: "*"; inherits: false; }\n@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }\n@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }\n@property --tw-duration { syntax: "*"; inherits: false; }\n@property --tw-ease { syntax: "*"; inherits: false; }\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n}\n@keyframes shapeshift {\n 0% {\n clip-path: var(--circle);\n rotate: 0turn;\n }\n 25% {\n clip-path: var(--flower);\n }\n 50% {\n clip-path: var(--cylinder);\n }\n 75% {\n clip-path: var(--hexagon);\n }\n 100% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n 120% {\n clip-path: var(--flower);\n }\n 140% {\n clip-path: var(--cylinder);\n }\n 160% {\n clip-path: var(--hexagon);\n }\n 180% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n}\n@keyframes gradientMove {\n 0% {\n translate: 0 0;\n }\n 100% {\n translate: -75% -75%;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-scroll-snap-strictness: proximity;\n --tw-scrollbar-thumb: #0000;\n --tw-scrollbar-track: #0000;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-ordinal: initial;\n --tw-slashed-zero: initial;\n --tw-numeric-figure: initial;\n --tw-numeric-spacing: initial;\n --tw-numeric-fraction: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n');
|
|
63
|
+
styleInject('/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n -apple-system,\n BlinkMacSystemFont,\n "Segoe UI",\n Roboto,\n "Helvetica Neue",\n "Noto Sans",\n Arial,\n sans-serif,\n "Apple Color Emoji",\n "Segoe UI Emoji",\n "Segoe UI Symbol",\n "Noto Color Emoji";\n --font-mono:\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n "Liberation Mono",\n "Courier New",\n monospace;\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-700: oklch(51.4% 0.222 16.935);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-black: #000;\n --color-white: #fff;\n --spacing: 0.25rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-2xl: 42rem;\n --container-4xl: 56rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n --tracking-tight: -0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-relaxed: 1.625;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-xl: 24px;\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *,\n ::after,\n ::before,\n ::backdrop,\n ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html,\n :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b,\n strong {\n font-weight: bolder;\n }\n code,\n kbd,\n samp,\n pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring:where(:not(iframe)) {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol,\n ul,\n menu {\n list-style: none;\n }\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n button,\n input,\n select,\n optgroup,\n textarea,\n ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit,\n ::-webkit-datetime-edit-year-field,\n ::-webkit-datetime-edit-month-field,\n ::-webkit-datetime-edit-day-field,\n ::-webkit-datetime-edit-hour-field,\n ::-webkit-datetime-edit-minute-field,\n ::-webkit-datetime-edit-second-field,\n ::-webkit-datetime-edit-millisecond-field,\n ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button,\n input:where([type=button], [type=reset], [type=submit]),\n ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=until-found])) {\n display: none !important;\n }\n}\n@layer utilities {\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .inset-0 {\n inset: 0px;\n }\n .-top-8 {\n top: calc(var(--spacing) * -8);\n }\n .top-0 {\n top: 0px;\n }\n .top-1\\/2 {\n top: calc(1 / 2 * 100%);\n }\n .top-2 {\n top: calc(var(--spacing) * 2);\n }\n .top-4 {\n top: calc(var(--spacing) * 4);\n }\n .top-6 {\n top: calc(var(--spacing) * 6);\n }\n .top-20 {\n top: calc(var(--spacing) * 20);\n }\n .-right-4 {\n right: calc(var(--spacing) * -4);\n }\n .right-0 {\n right: 0px;\n }\n .right-2 {\n right: calc(var(--spacing) * 2);\n }\n .right-4 {\n right: calc(var(--spacing) * 4);\n }\n .right-5 {\n right: calc(var(--spacing) * 5);\n }\n .right-6 {\n right: calc(var(--spacing) * 6);\n }\n .-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n }\n .bottom-6 {\n bottom: calc(var(--spacing) * 6);\n }\n .bottom-20 {\n bottom: calc(var(--spacing) * 20);\n }\n .-left-4 {\n left: calc(var(--spacing) * -4);\n }\n .left-0 {\n left: 0px;\n }\n .left-1\\/2 {\n left: calc(1 / 2 * 100%);\n }\n .left-2 {\n left: calc(var(--spacing) * 2);\n }\n .left-5 {\n left: calc(var(--spacing) * 5);\n }\n .left-6 {\n left: calc(var(--spacing) * 6);\n }\n .z-0 {\n z-index: 0;\n }\n .z-10 {\n z-index: 10;\n }\n .z-20 {\n z-index: 20;\n }\n .z-50 {\n z-index: 50;\n }\n .z-\\[100\\] {\n z-index: 100;\n }\n .z-\\[9998\\] {\n z-index: 9998;\n }\n .z-\\[9999\\] {\n z-index: 9999;\n }\n .container {\n width: 100%;\n @media (width >= 40rem) {\n max-width: 40rem;\n }\n @media (width >= 48rem) {\n max-width: 48rem;\n }\n @media (width >= 64rem) {\n max-width: 64rem;\n }\n @media (width >= 80rem) {\n max-width: 80rem;\n }\n @media (width >= 96rem) {\n max-width: 96rem;\n }\n }\n .mx-1 {\n margin-inline: var(--spacing);\n }\n .mx-4 {\n margin-inline: calc(var(--spacing) * 4);\n }\n .mx-6 {\n margin-inline: calc(var(--spacing) * 6);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-1\\.5 {\n margin-block: calc(var(--spacing) * 1.5);\n }\n .my-2 {\n margin-block: calc(var(--spacing) * 2);\n }\n .my-3 {\n margin-block: calc(var(--spacing) * 3);\n }\n .my-4 {\n margin-block: calc(var(--spacing) * 4);\n }\n .my-5 {\n margin-block: calc(var(--spacing) * 5);\n }\n .my-6 {\n margin-block: calc(var(--spacing) * 6);\n }\n .my-auto {\n margin-block: auto;\n }\n .mt-0\\.5 {\n margin-top: calc(var(--spacing) * 0.5);\n }\n .mt-1 {\n margin-top: var(--spacing);\n }\n .mt-1\\.5 {\n margin-top: calc(var(--spacing) * 1.5);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-6 {\n margin-top: calc(var(--spacing) * 6);\n }\n .mt-8 {\n margin-top: calc(var(--spacing) * 8);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-0\\.5 {\n margin-bottom: calc(var(--spacing) * 0.5);\n }\n .mb-1 {\n margin-bottom: var(--spacing);\n }\n .mb-1\\.5 {\n margin-bottom: calc(var(--spacing) * 1.5);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-2\\.5 {\n margin-bottom: calc(var(--spacing) * 2.5);\n }\n .mb-3 {\n margin-bottom: calc(var(--spacing) * 3);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-6 {\n margin-bottom: calc(var(--spacing) * 6);\n }\n .ml-1 {\n margin-left: var(--spacing);\n }\n .ml-1\\.5 {\n margin-left: calc(var(--spacing) * 1.5);\n }\n .ml-2 {\n margin-left: calc(var(--spacing) * 2);\n }\n .ml-auto {\n margin-left: auto;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .\\!table {\n display: table !important;\n }\n .\\!table-cell {\n display: table-cell !important;\n }\n .\\!table-header-group {\n display: table-header-group !important;\n }\n .\\!table-row {\n display: table-row !important;\n }\n .\\!table-row-group {\n display: table-row-group !important;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .aspect-\\[4\\/3\\] {\n aspect-ratio: 4/3;\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .h-1 {\n height: var(--spacing);\n }\n .h-1\\.5 {\n height: calc(var(--spacing) * 1.5);\n }\n .h-2 {\n height: calc(var(--spacing) * 2);\n }\n .h-2\\.5 {\n height: calc(var(--spacing) * 2.5);\n }\n .h-3 {\n height: calc(var(--spacing) * 3);\n }\n .h-3\\.5 {\n height: calc(var(--spacing) * 3.5);\n }\n .h-4 {\n height: calc(var(--spacing) * 4);\n }\n .h-5 {\n height: calc(var(--spacing) * 5);\n }\n .h-6 {\n height: calc(var(--spacing) * 6);\n }\n .h-7 {\n height: calc(var(--spacing) * 7);\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .h-9 {\n height: calc(var(--spacing) * 9);\n }\n .h-10 {\n height: calc(var(--spacing) * 10);\n }\n .h-11 {\n height: calc(var(--spacing) * 11);\n }\n .h-12 {\n height: calc(var(--spacing) * 12);\n }\n .h-14 {\n height: calc(var(--spacing) * 14);\n }\n .h-16 {\n height: calc(var(--spacing) * 16);\n }\n .h-28 {\n height: calc(var(--spacing) * 28);\n }\n .h-32 {\n height: calc(var(--spacing) * 32);\n }\n .h-40 {\n height: calc(var(--spacing) * 40);\n }\n .h-\\[400\\%\\] {\n height: 400%;\n }\n .h-\\[600px\\] {\n height: 600px;\n }\n .h-full {\n height: 100%;\n }\n .max-h-24 {\n max-height: calc(var(--spacing) * 24);\n }\n .max-h-32 {\n max-height: calc(var(--spacing) * 32);\n }\n .max-h-40 {\n max-height: calc(var(--spacing) * 40);\n }\n .max-h-56 {\n max-height: calc(var(--spacing) * 56);\n }\n .max-h-60 {\n max-height: calc(var(--spacing) * 60);\n }\n .max-h-64 {\n max-height: calc(var(--spacing) * 64);\n }\n .max-h-\\[320px\\] {\n max-height: 320px;\n }\n .max-h-\\[400px\\] {\n max-height: 400px;\n }\n .min-h-0 {\n min-height: 0px;\n }\n .min-h-\\[300px\\] {\n min-height: 300px;\n }\n .min-h-screen {\n min-height: 100vh;\n }\n .w-1\\.5 {\n width: calc(var(--spacing) * 1.5);\n }\n .w-2 {\n width: calc(var(--spacing) * 2);\n }\n .w-2\\.5 {\n width: calc(var(--spacing) * 2.5);\n }\n .w-3 {\n width: calc(var(--spacing) * 3);\n }\n .w-3\\.5 {\n width: calc(var(--spacing) * 3.5);\n }\n .w-4 {\n width: calc(var(--spacing) * 4);\n }\n .w-5 {\n width: calc(var(--spacing) * 5);\n }\n .w-6 {\n width: calc(var(--spacing) * 6);\n }\n .w-7 {\n width: calc(var(--spacing) * 7);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .w-9 {\n width: calc(var(--spacing) * 9);\n }\n .w-11 {\n width: calc(var(--spacing) * 11);\n }\n .w-12 {\n width: calc(var(--spacing) * 12);\n }\n .w-14 {\n width: calc(var(--spacing) * 14);\n }\n .w-16 {\n width: calc(var(--spacing) * 16);\n }\n .w-20 {\n width: calc(var(--spacing) * 20);\n }\n .w-28 {\n width: calc(var(--spacing) * 28);\n }\n .w-36 {\n width: calc(var(--spacing) * 36);\n }\n .w-40 {\n width: calc(var(--spacing) * 40);\n }\n .w-44 {\n width: calc(var(--spacing) * 44);\n }\n .w-64 {\n width: calc(var(--spacing) * 64);\n }\n .w-\\[3px\\] {\n width: 3px;\n }\n .w-\\[400\\%\\] {\n width: 400%;\n }\n .w-\\[500px\\] {\n width: 500px;\n }\n .w-\\[min\\(88\\%\\,18rem\\)\\] {\n width: min(88%, 18rem);\n }\n .w-full {\n width: 100%;\n }\n .w-px {\n width: 1px;\n }\n .max-w-2xl {\n max-width: var(--container-2xl);\n }\n .max-w-4xl {\n max-width: var(--container-4xl);\n }\n .max-w-\\[90\\%\\] {\n max-width: 90%;\n }\n .max-w-\\[92\\%\\] {\n max-width: 92%;\n }\n .max-w-\\[94\\%\\] {\n max-width: 94%;\n }\n .max-w-\\[120px\\] {\n max-width: 120px;\n }\n .max-w-\\[calc\\(100vw-3rem\\)\\] {\n max-width: calc(100vw - 3rem);\n }\n .max-w-full {\n max-width: 100%;\n }\n .max-w-md {\n max-width: var(--container-md);\n }\n .max-w-none {\n max-width: none;\n }\n .max-w-sm {\n max-width: var(--container-sm);\n }\n .max-w-xs {\n max-width: var(--container-xs);\n }\n .min-w-0 {\n min-width: 0px;\n }\n .min-w-\\[11rem\\] {\n min-width: 11rem;\n }\n .min-w-\\[400px\\] {\n min-width: 400px;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-shrink-0 {\n flex-shrink: 0;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .flex-grow {\n flex-grow: 1;\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-0 {\n --tw-translate-y: 0px;\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-y-4 {\n --tw-translate-y: calc(var(--spacing) * 4);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-90 {\n --tw-scale-x: 90%;\n --tw-scale-y: 90%;\n --tw-scale-z: 90%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-95 {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-100 {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-105 {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-110 {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .rotate-0 {\n rotate: 0deg;\n }\n .rotate-45 {\n rotate: 45deg;\n }\n .rotate-90 {\n rotate: 90deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-\\[pulse_1\\.2s_infinite\\] {\n animation: pulse 1.2s infinite;\n }\n .animate-bounce {\n animation: var(--animate-bounce);\n }\n .animate-ping {\n animation: var(--animate-ping);\n }\n .animate-pulse {\n animation: var(--animate-pulse);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .cursor-not-allowed {\n cursor: not-allowed;\n }\n .cursor-nw-resize {\n cursor: nw-resize;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .resize-none {\n resize: none;\n }\n .snap-x {\n scroll-snap-type: x var(--tw-scroll-snap-strictness);\n }\n .snap-mandatory {\n --tw-scroll-snap-strictness: mandatory;\n }\n .snap-start {\n scroll-snap-align: start;\n }\n .scrollbar-thin {\n scrollbar-width: thin;\n }\n .scrollbar-thumb-slate-200 {\n --tw-scrollbar-thumb: var(--color-slate-200);\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .scrollbar-track-transparent {\n --tw-scrollbar-track: transparent;\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n .grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-row-reverse {\n flex-direction: row-reverse;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .items-end {\n align-items: flex-end;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-start {\n justify-content: flex-start;\n }\n .gap-0\\.5 {\n gap: calc(var(--spacing) * 0.5);\n }\n .gap-1 {\n gap: var(--spacing);\n }\n .gap-1\\.5 {\n gap: calc(var(--spacing) * 1.5);\n }\n .gap-2 {\n gap: calc(var(--spacing) * 2);\n }\n .gap-2\\.5 {\n gap: calc(var(--spacing) * 2.5);\n }\n .gap-3 {\n gap: calc(var(--spacing) * 3);\n }\n .gap-4 {\n gap: calc(var(--spacing) * 4);\n }\n .gap-\\[2px\\] {\n gap: 2px;\n }\n :where(.space-y-0\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));\n margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-1\\.5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-2 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-3 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-4 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-5 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.space-y-8 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));\n }\n :where(.divide-y > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n :where(.divide-slate-100 > :not(:last-child)) {\n border-color: var(--color-slate-100);\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-2xl {\n border-radius: var(--radius-2xl);\n }\n .rounded-3xl {\n border-radius: var(--radius-3xl);\n }\n .rounded-\\[2px\\] {\n border-radius: 2px;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-sm {\n border-radius: var(--radius-sm);\n }\n .rounded-xl {\n border-radius: var(--radius-xl);\n }\n .rounded-t-md {\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tl-\\[2px\\] {\n border-top-left-radius: 2px;\n }\n .rounded-tl-sm {\n border-top-left-radius: var(--radius-sm);\n }\n .rounded-tr-sm {\n border-top-right-radius: var(--radius-sm);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-2 {\n border-style: var(--tw-border-style);\n border-width: 2px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-t-2 {\n border-top-style: var(--tw-border-style);\n border-top-width: 2px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-b-2 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 2px;\n }\n .border-l-2 {\n border-left-style: var(--tw-border-style);\n border-left-width: 2px;\n }\n .border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n }\n .border-amber-100 {\n border-color: var(--color-amber-100);\n }\n .border-amber-200 {\n border-color: var(--color-amber-200);\n }\n .border-emerald-100 {\n border-color: var(--color-emerald-100);\n }\n .border-emerald-100\\/50 {\n border-color: color-mix(in srgb, oklch(95% 0.052 163.051) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-100) 50%, transparent);\n }\n }\n .border-emerald-200 {\n border-color: var(--color-emerald-200);\n }\n .border-emerald-500 {\n border-color: var(--color-emerald-500);\n }\n .border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .border-indigo-200 {\n border-color: var(--color-indigo-200);\n }\n .border-indigo-300 {\n border-color: var(--color-indigo-300);\n }\n .border-indigo-500 {\n border-color: var(--color-indigo-500);\n }\n .border-red-200 {\n border-color: var(--color-red-200);\n }\n .border-rose-100 {\n border-color: var(--color-rose-100);\n }\n .border-rose-200 {\n border-color: var(--color-rose-200);\n }\n .border-rose-200\\/50 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 50%, transparent);\n }\n }\n .border-rose-200\\/60 {\n border-color: color-mix(in srgb, oklch(89.2% 0.058 10.001) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-rose-200) 60%, transparent);\n }\n }\n .border-slate-100 {\n border-color: var(--color-slate-100);\n }\n .border-slate-200 {\n border-color: var(--color-slate-200);\n }\n .border-slate-200\\/50 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 50%, transparent);\n }\n }\n .border-slate-200\\/60 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);\n }\n }\n .border-slate-200\\/80 {\n border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .border-slate-300 {\n border-color: var(--color-slate-300);\n }\n .border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .border-transparent {\n border-color: transparent;\n }\n .border-white {\n border-color: var(--color-white);\n }\n .border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .border-t-transparent {\n border-top-color: transparent;\n }\n .bg-\\[\\#0d0d1a\\] {\n background-color: #0d0d1a;\n }\n .bg-\\[\\#080818\\] {\n background-color: #080818;\n }\n .bg-\\[var\\(--primary\\)\\] {\n background-color: var(--primary);\n }\n .bg-amber-50 {\n background-color: var(--color-amber-50);\n }\n .bg-amber-100 {\n background-color: var(--color-amber-100);\n }\n .bg-amber-200 {\n background-color: var(--color-amber-200);\n }\n .bg-amber-500 {\n background-color: var(--color-amber-500);\n }\n .bg-amber-500\\/80 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-amber-500) 80%, transparent);\n }\n }\n .bg-blue-50 {\n background-color: var(--color-blue-50);\n }\n .bg-blue-100 {\n background-color: var(--color-blue-100);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-cyan-50 {\n background-color: var(--color-cyan-50);\n }\n .bg-cyan-100 {\n background-color: var(--color-cyan-100);\n }\n .bg-cyan-200 {\n background-color: var(--color-cyan-200);\n }\n .bg-emerald-50 {\n background-color: var(--color-emerald-50);\n }\n .bg-emerald-50\\/50 {\n background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-50) 50%, transparent);\n }\n }\n .bg-emerald-100 {\n background-color: var(--color-emerald-100);\n }\n .bg-emerald-200 {\n background-color: var(--color-emerald-200);\n }\n .bg-emerald-500 {\n background-color: var(--color-emerald-500);\n }\n .bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .bg-emerald-500\\/80 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-emerald-500) 80%, transparent);\n }\n }\n .bg-indigo-50 {\n background-color: var(--color-indigo-50);\n }\n .bg-indigo-100 {\n background-color: var(--color-indigo-100);\n }\n .bg-indigo-500 {\n background-color: var(--color-indigo-500);\n }\n .bg-indigo-600 {\n background-color: var(--color-indigo-600);\n }\n .bg-orange-100 {\n background-color: var(--color-orange-100);\n }\n .bg-pink-50 {\n background-color: var(--color-pink-50);\n }\n .bg-pink-100 {\n background-color: var(--color-pink-100);\n }\n .bg-pink-200 {\n background-color: var(--color-pink-200);\n }\n .bg-purple-50 {\n background-color: var(--color-purple-50);\n }\n .bg-purple-100 {\n background-color: var(--color-purple-100);\n }\n .bg-purple-200 {\n background-color: var(--color-purple-200);\n }\n .bg-red-50 {\n background-color: var(--color-red-50);\n }\n .bg-red-500 {\n background-color: var(--color-red-500);\n }\n .bg-rose-50 {\n background-color: var(--color-rose-50);\n }\n .bg-rose-50\\/50 {\n background-color: color-mix(in srgb, oklch(96.9% 0.015 12.422) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-50) 50%, transparent);\n }\n }\n .bg-rose-100 {\n background-color: var(--color-rose-100);\n }\n .bg-rose-500 {\n background-color: var(--color-rose-500);\n }\n .bg-rose-500\\/80 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-rose-500) 80%, transparent);\n }\n }\n .bg-slate-50 {\n background-color: var(--color-slate-50);\n }\n .bg-slate-50\\/20 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 20%, transparent);\n }\n }\n .bg-slate-50\\/50 {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent);\n }\n }\n .bg-slate-100 {\n background-color: var(--color-slate-100);\n }\n .bg-slate-100\\/50 {\n background-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-100) 50%, transparent);\n }\n }\n .bg-slate-200 {\n background-color: var(--color-slate-200);\n }\n .bg-slate-200\\/70 {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);\n }\n }\n .bg-slate-400 {\n background-color: var(--color-slate-400);\n }\n .bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .bg-slate-900\\/90 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-900) 90%, transparent);\n }\n }\n .bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .bg-slate-950\\/70 {\n background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-slate-950) 70%, transparent);\n }\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-violet-100 {\n background-color: var(--color-violet-100);\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .bg-white\\/90 {\n background-color: color-mix(in srgb, #fff 90%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n background-color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .bg-gradient-to-br {\n --tw-gradient-position: to bottom right in oklab;\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-slate-100 {\n --tw-gradient-from: var(--color-slate-100);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-slate-200 {\n --tw-gradient-to: var(--color-slate-200);\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .stroke-\\[2\\.5\\] {\n stroke-width: 2.5;\n }\n .object-cover {\n object-fit: cover;\n }\n .p-0\\.5 {\n padding: calc(var(--spacing) * 0.5);\n }\n .p-1 {\n padding: var(--spacing);\n }\n .p-1\\.5 {\n padding: calc(var(--spacing) * 1.5);\n }\n .p-2 {\n padding: calc(var(--spacing) * 2);\n }\n .p-2\\.5 {\n padding: calc(var(--spacing) * 2.5);\n }\n .p-3 {\n padding: calc(var(--spacing) * 3);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .p-5 {\n padding: calc(var(--spacing) * 5);\n }\n .p-6 {\n padding: calc(var(--spacing) * 6);\n }\n .p-8 {\n padding: calc(var(--spacing) * 8);\n }\n .p-10 {\n padding: calc(var(--spacing) * 10);\n }\n .px-1 {\n padding-inline: var(--spacing);\n }\n .px-1\\.5 {\n padding-inline: calc(var(--spacing) * 1.5);\n }\n .px-2 {\n padding-inline: calc(var(--spacing) * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(var(--spacing) * 2.5);\n }\n .px-3 {\n padding-inline: calc(var(--spacing) * 3);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .px-5 {\n padding-inline: calc(var(--spacing) * 5);\n }\n .px-6 {\n padding-inline: calc(var(--spacing) * 6);\n }\n .py-0\\.5 {\n padding-block: calc(var(--spacing) * 0.5);\n }\n .py-1 {\n padding-block: var(--spacing);\n }\n .py-1\\.5 {\n padding-block: calc(var(--spacing) * 1.5);\n }\n .py-2 {\n padding-block: calc(var(--spacing) * 2);\n }\n .py-2\\.5 {\n padding-block: calc(var(--spacing) * 2.5);\n }\n .py-3 {\n padding-block: calc(var(--spacing) * 3);\n }\n .py-4 {\n padding-block: calc(var(--spacing) * 4);\n }\n .py-8 {\n padding-block: calc(var(--spacing) * 8);\n }\n .pt-1 {\n padding-top: var(--spacing);\n }\n .pt-2 {\n padding-top: calc(var(--spacing) * 2);\n }\n .pr-1 {\n padding-right: var(--spacing);\n }\n .pr-6 {\n padding-right: calc(var(--spacing) * 6);\n }\n .pb-3 {\n padding-bottom: calc(var(--spacing) * 3);\n }\n .pb-4 {\n padding-bottom: calc(var(--spacing) * 4);\n }\n .pb-6 {\n padding-bottom: calc(var(--spacing) * 6);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .align-middle {\n vertical-align: middle;\n }\n .font-mono {\n font-family: var(--font-mono);\n }\n .text-3xl {\n font-size: var(--text-3xl);\n line-height: var(--tw-leading, var(--text-3xl--line-height));\n }\n .text-base {\n font-size: var(--text-base);\n line-height: var(--tw-leading, var(--text-base--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .text-\\[9px\\] {\n font-size: 9px;\n }\n .text-\\[10px\\] {\n font-size: 10px;\n }\n .text-\\[11px\\] {\n font-size: 11px;\n }\n .text-\\[12px\\] {\n font-size: 12px;\n }\n .text-\\[13px\\] {\n font-size: 13px;\n }\n .leading-relaxed {\n --tw-leading: var(--leading-relaxed);\n line-height: var(--leading-relaxed);\n }\n .leading-snug {\n --tw-leading: var(--leading-snug);\n line-height: var(--leading-snug);\n }\n .leading-tight {\n --tw-leading: var(--leading-tight);\n line-height: var(--leading-tight);\n }\n .font-black {\n --tw-font-weight: var(--font-weight-black);\n font-weight: var(--font-weight-black);\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-extrabold {\n --tw-font-weight: var(--font-weight-extrabold);\n font-weight: var(--font-weight-extrabold);\n }\n .font-medium {\n --tw-font-weight: var(--font-weight-medium);\n font-weight: var(--font-weight-medium);\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .tracking-tight {\n --tw-tracking: var(--tracking-tight);\n letter-spacing: var(--tracking-tight);\n }\n .tracking-wider {\n --tw-tracking: var(--tracking-wider);\n letter-spacing: var(--tracking-wider);\n }\n .tracking-widest {\n --tw-tracking: var(--tracking-widest);\n letter-spacing: var(--tracking-widest);\n }\n .break-words {\n overflow-wrap: break-word;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .whitespace-pre {\n white-space: pre;\n }\n .whitespace-pre-line {\n white-space: pre-line;\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-amber-400 {\n color: var(--color-amber-400);\n }\n .text-amber-500 {\n color: var(--color-amber-500);\n }\n .text-amber-600 {\n color: var(--color-amber-600);\n }\n .text-amber-700 {\n color: var(--color-amber-700);\n }\n .text-amber-800 {\n color: var(--color-amber-800);\n }\n .text-amber-900 {\n color: var(--color-amber-900);\n }\n .text-amber-950 {\n color: var(--color-amber-950);\n }\n .text-black {\n color: var(--color-black);\n }\n .text-blue-600 {\n color: var(--color-blue-600);\n }\n .text-blue-700 {\n color: var(--color-blue-700);\n }\n .text-blue-800 {\n color: var(--color-blue-800);\n }\n .text-blue-950 {\n color: var(--color-blue-950);\n }\n .text-cyan-700 {\n color: var(--color-cyan-700);\n }\n .text-cyan-800 {\n color: var(--color-cyan-800);\n }\n .text-cyan-950 {\n color: var(--color-cyan-950);\n }\n .text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .text-emerald-500 {\n color: var(--color-emerald-500);\n }\n .text-emerald-500\\/70 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 70%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-emerald-500) 70%, transparent);\n }\n }\n .text-emerald-600 {\n color: var(--color-emerald-600);\n }\n .text-emerald-700 {\n color: var(--color-emerald-700);\n }\n .text-emerald-800 {\n color: var(--color-emerald-800);\n }\n .text-emerald-900 {\n color: var(--color-emerald-900);\n }\n .text-emerald-950 {\n color: var(--color-emerald-950);\n }\n .text-gray-500 {\n color: var(--color-gray-500);\n }\n .text-indigo-200\\/85 {\n color: color-mix(in srgb, oklch(87% 0.065 274.039) 85%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-indigo-200) 85%, transparent);\n }\n }\n .text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .text-indigo-500 {\n color: var(--color-indigo-500);\n }\n .text-indigo-600 {\n color: var(--color-indigo-600);\n }\n .text-indigo-900 {\n color: var(--color-indigo-900);\n }\n .text-indigo-950 {\n color: var(--color-indigo-950);\n }\n .text-orange-950 {\n color: var(--color-orange-950);\n }\n .text-pink-700 {\n color: var(--color-pink-700);\n }\n .text-pink-800 {\n color: var(--color-pink-800);\n }\n .text-pink-950 {\n color: var(--color-pink-950);\n }\n .text-purple-700 {\n color: var(--color-purple-700);\n }\n .text-purple-800 {\n color: var(--color-purple-800);\n }\n .text-purple-950 {\n color: var(--color-purple-950);\n }\n .text-red-500 {\n color: var(--color-red-500);\n }\n .text-red-600 {\n color: var(--color-red-600);\n }\n .text-rose-400 {\n color: var(--color-rose-400);\n }\n .text-rose-500 {\n color: var(--color-rose-500);\n }\n .text-rose-600 {\n color: var(--color-rose-600);\n }\n .text-rose-700 {\n color: var(--color-rose-700);\n }\n .text-slate-100 {\n color: var(--color-slate-100);\n }\n .text-slate-300 {\n color: var(--color-slate-300);\n }\n .text-slate-400 {\n color: var(--color-slate-400);\n }\n .text-slate-500 {\n color: var(--color-slate-500);\n }\n .text-slate-600 {\n color: var(--color-slate-600);\n }\n .text-slate-700 {\n color: var(--color-slate-700);\n }\n .text-slate-800 {\n color: var(--color-slate-800);\n }\n .text-slate-900 {\n color: var(--color-slate-900);\n }\n .text-violet-900 {\n color: var(--color-violet-900);\n }\n .text-white {\n color: var(--color-white);\n }\n .text-white\\/25 {\n color: color-mix(in srgb, #fff 25%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 25%, transparent);\n }\n }\n .text-white\\/35 {\n color: color-mix(in srgb, #fff 35%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, var(--color-white) 35%, transparent);\n }\n }\n .lowercase {\n text-transform: lowercase;\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);\n }\n .antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .placeholder-slate-400::placeholder {\n color: var(--color-slate-400);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-20 {\n opacity: 20%;\n }\n .opacity-30 {\n opacity: 30%;\n }\n .opacity-40 {\n opacity: 40%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-100 {\n opacity: 100%;\n }\n .shadow-2xl {\n --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-xl {\n --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .ring-2 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .shadow-rose-500\\/20 {\n --tw-shadow-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-rose-500) 20%, transparent) var(--tw-shadow-alpha), transparent);\n }\n }\n .ring-red-400\\/40 {\n --tw-ring-color: color-mix(in srgb, oklch(70.4% 0.191 22.216) 40%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-red-400) 40%, transparent);\n }\n }\n .ring-rose-400\\/50 {\n --tw-ring-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 50%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-rose-400) 50%, transparent);\n }\n }\n .ring-slate-200\\/80 {\n --tw-ring-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n --tw-ring-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);\n }\n }\n .ring-offset-1 {\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n }\n .ring-offset-transparent {\n --tw-ring-offset-color: transparent;\n }\n .drop-shadow-2xl {\n --tw-drop-shadow-size: drop-shadow(0 25px 25px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.15)));\n --tw-drop-shadow: drop-shadow(var(--drop-shadow-2xl));\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .filter {\n filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);\n }\n .backdrop-blur-md {\n --tw-backdrop-blur: blur(var(--blur-md));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-sm {\n --tw-backdrop-blur: blur(var(--blur-sm));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .backdrop-blur-xl {\n --tw-backdrop-blur: blur(var(--blur-xl));\n -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);\n }\n .transition {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to,\n opacity,\n box-shadow,\n transform,\n translate,\n scale,\n rotate,\n filter,\n -webkit-backdrop-filter,\n backdrop-filter,\n display,\n content-visibility,\n overlay,\n pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-colors {\n transition-property:\n color,\n background-color,\n border-color,\n outline-color,\n text-decoration-color,\n fill,\n stroke,\n --tw-gradient-from,\n --tw-gradient-via,\n --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-shadow {\n transition-property: box-shadow;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .transition-transform {\n transition-property:\n transform,\n translate,\n scale,\n rotate;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .duration-700 {\n --tw-duration: 700ms;\n transition-duration: 700ms;\n }\n .ease-in-out {\n --tw-ease: var(--ease-in-out);\n transition-timing-function: var(--ease-in-out);\n }\n .outline-none {\n --tw-outline-style: none;\n outline-style: none;\n }\n .select-none {\n -webkit-user-select: none;\n user-select: none;\n }\n .select-text {\n -webkit-user-select: text;\n user-select: text;\n }\n .\\[animation-delay\\:0ms\\] {\n animation-delay: 0ms;\n }\n .\\[animation-delay\\:150ms\\] {\n animation-delay: 150ms;\n }\n .\\[animation-delay\\:300ms\\] {\n animation-delay: 300ms;\n }\n @media (hover: hover) {\n .group-hover\\:translate-x-0\\.5:is(:where(.group):hover *) {\n --tw-translate-x: calc(var(--spacing) * 0.5);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .group-hover\\:scale-100:is(:where(.group):hover *) {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:scale-105:is(:where(.group):hover *) {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .group-hover\\:animate-\\[gradientMove_3\\.5s_ease-in-out_infinite_alternate\\]:is(:where(.group):hover *) {\n animation: gradientMove 3.5s ease-in-out infinite alternate;\n }\n .group-hover\\:animate-\\[shapeshift_5s_ease-in-out_infinite_forwards\\]:is(:where(.group):hover *) {\n animation: shapeshift 5s ease-in-out infinite forwards;\n }\n .group-hover\\:rounded-none:is(:where(.group):hover *) {\n border-radius: 0;\n }\n .group-hover\\:border-slate-500:is(:where(.group):hover *) {\n border-color: var(--color-slate-500);\n }\n .group-hover\\:opacity-100:is(:where(.group):hover *) {\n opacity: 100%;\n }\n }\n .focus-within\\:border-slate-300:focus-within {\n border-color: var(--color-slate-300);\n }\n @media (hover: hover) {\n .hover\\:scale-105:hover {\n --tw-scale-x: 105%;\n --tw-scale-y: 105%;\n --tw-scale-z: 105%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-110:hover {\n --tw-scale-x: 110%;\n --tw-scale-y: 110%;\n --tw-scale-z: 110%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .hover\\:scale-\\[1\\.01\\]:hover {\n scale: 1.01;\n }\n .hover\\:border-emerald-200:hover {\n border-color: var(--color-emerald-200);\n }\n .hover\\:border-indigo-200:hover {\n border-color: var(--color-indigo-200);\n }\n .hover\\:border-rose-200:hover {\n border-color: var(--color-rose-200);\n }\n .hover\\:border-slate-300:hover {\n border-color: var(--color-slate-300);\n }\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in srgb, oklch(86.9% 0.022 252.894) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:border-slate-300\\/60:hover {\n border-color: color-mix(in oklab, var(--color-slate-300) 60%, transparent);\n }\n }\n .hover\\:border-slate-800:hover {\n border-color: var(--color-slate-800);\n }\n .hover\\:bg-emerald-50:hover {\n background-color: var(--color-emerald-50);\n }\n .hover\\:bg-indigo-50:hover {\n background-color: var(--color-indigo-50);\n }\n .hover\\:bg-rose-50:hover {\n background-color: var(--color-rose-50);\n }\n .hover\\:bg-rose-100:hover {\n background-color: var(--color-rose-100);\n }\n .hover\\:bg-rose-600:hover {\n background-color: var(--color-rose-600);\n }\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/60:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);\n }\n }\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-50\\/70:hover {\n background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);\n }\n }\n .hover\\:bg-slate-100:hover {\n background-color: var(--color-slate-100);\n }\n .hover\\:bg-slate-200:hover {\n background-color: var(--color-slate-200);\n }\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-slate-200\\/30:hover {\n background-color: color-mix(in oklab, var(--color-slate-200) 30%, transparent);\n }\n }\n .hover\\:bg-slate-800:hover {\n background-color: var(--color-slate-800);\n }\n .hover\\:bg-white:hover {\n background-color: var(--color-white);\n }\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .hover\\:text-blue-500:hover {\n color: var(--color-blue-500);\n }\n .hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .hover\\:text-emerald-500:hover {\n color: var(--color-emerald-500);\n }\n .hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .hover\\:text-indigo-500:hover {\n color: var(--color-indigo-500);\n }\n .hover\\:text-indigo-600:hover {\n color: var(--color-indigo-600);\n }\n .hover\\:text-rose-500:hover {\n color: var(--color-rose-500);\n }\n .hover\\:text-slate-600:hover {\n color: var(--color-slate-600);\n }\n .hover\\:text-slate-800:hover {\n color: var(--color-slate-800);\n }\n .hover\\:text-slate-900:hover {\n color: var(--color-slate-900);\n }\n .hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .hover\\:opacity-90:hover {\n opacity: 90%;\n }\n .hover\\:opacity-95:hover {\n opacity: 95%;\n }\n .hover\\:shadow-lg:hover {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .hover\\:shadow-md:hover {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n }\n .focus\\:border-emerald-500:focus {\n border-color: var(--color-emerald-500);\n }\n .focus\\:ring-1:focus {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow:\n var(--tw-inset-shadow),\n var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow),\n var(--tw-ring-shadow),\n var(--tw-shadow);\n }\n .focus\\:ring-blue-500:focus {\n --tw-ring-color: var(--color-blue-500);\n }\n .focus\\:ring-indigo-500:focus {\n --tw-ring-color: var(--color-indigo-500);\n }\n .focus\\:outline-none:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n .active\\:scale-95:active {\n --tw-scale-x: 95%;\n --tw-scale-y: 95%;\n --tw-scale-z: 95%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n }\n .disabled\\:opacity-30:disabled {\n opacity: 30%;\n }\n .disabled\\:opacity-40:disabled {\n opacity: 40%;\n }\n .disabled\\:opacity-50:disabled {\n opacity: 50%;\n }\n @media (hover: hover) {\n .disabled\\:hover\\:scale-100:disabled:hover {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .disabled\\:hover\\:text-slate-400:disabled:hover {\n color: var(--color-slate-400);\n }\n .disabled\\:hover\\:text-slate-600:disabled:hover {\n color: var(--color-slate-600);\n }\n }\n .disabled\\:active\\:scale-100:disabled:active {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n @media (width >= 40rem) {\n .sm\\:inline {\n display: inline;\n }\n .sm\\:grid-cols-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n }\n @media (width >= 48rem) {\n .md\\:p-12 {\n padding: calc(var(--spacing) * 12);\n }\n .md\\:opacity-0 {\n opacity: 0%;\n }\n @media (hover: hover) {\n .md\\:group-hover\\/carousel\\:opacity-100:is(:where(.group\\/carousel):hover *) {\n opacity: 100%;\n }\n }\n }\n @media (prefers-color-scheme: dark) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:scrollbar-thumb-white\\/10 {\n --tw-scrollbar-thumb: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:scrollbar-thumb-white\\/10 {\n scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);\n }\n :where(.dark\\:divide-white\\/5 > :not(:last-child)) {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n @supports (color: color-mix(in lab, red, red)) {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-400\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-400) 20%, transparent);\n }\n }\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-amber-500\\/20 {\n border-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-400\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-400) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/10 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/20 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-emerald-500\\/25 {\n border-color: color-mix(in oklab, var(--color-emerald-500) 25%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/20 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-indigo-500\\/40 {\n border-color: color-mix(in oklab, var(--color-indigo-500) 40%, transparent);\n }\n }\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-red-500\\/20 {\n border-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-400\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-400) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/20 {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 25%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-500\\/25 {\n border-color: color-mix(in oklab, var(--color-rose-500) 25%, transparent);\n }\n }\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in srgb, oklch(45.5% 0.188 13.697) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-rose-800\\/40 {\n border-color: color-mix(in oklab, var(--color-rose-800) 40%, transparent);\n }\n }\n .dark\\:border-slate-700 {\n border-color: var(--color-slate-700);\n }\n .dark\\:border-slate-800 {\n border-color: var(--color-slate-800);\n }\n .dark\\:border-white\\/5 {\n border-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/5 {\n border-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:border-white\\/8 {\n border-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/8 {\n border-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:border-white\\/10 {\n border-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:border-white\\/20 {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:border-white\\/20 {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:border-zinc-800 {\n border-color: var(--color-zinc-800);\n }\n .dark\\:bg-\\[\\#0f0f1a\\] {\n background-color: #0f0f1a;\n }\n .dark\\:bg-\\[\\#0f0f1a\\]\\/90 {\n background-color: color-mix(in oklab, #0f0f1a 90%, transparent);\n }\n .dark\\:bg-\\[\\#080811\\] {\n background-color: #080811;\n }\n .dark\\:bg-\\[\\#131322\\] {\n background-color: #131322;\n }\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in srgb, oklch(82.8% 0.189 84.429) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-400\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-400) 10%, transparent);\n }\n }\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-500\\/10 {\n background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);\n }\n }\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.5% 0.163 48.998) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-700\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-700) 40%, transparent);\n }\n }\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in srgb, oklch(47.3% 0.137 46.201) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-800\\/30 {\n background-color: color-mix(in oklab, var(--color-amber-800) 30%, transparent);\n }\n }\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-900\\/20 {\n background-color: color-mix(in oklab, var(--color-amber-900) 20%, transparent);\n }\n }\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in srgb, oklch(27.9% 0.077 45.635) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-amber-950\\/40 {\n background-color: color-mix(in oklab, var(--color-amber-950) 40%, transparent);\n }\n }\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in srgb, #000 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/30 {\n background-color: color-mix(in oklab, var(--color-black) 30%, transparent);\n }\n }\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in srgb, #000 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-black\\/60 {\n background-color: color-mix(in oklab, var(--color-black) 60%, transparent);\n }\n }\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in srgb, oklch(48.8% 0.243 264.376) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-700\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-700) 40%, transparent);\n }\n }\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.9% 0.146 265.522) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-900\\/20 {\n background-color: color-mix(in oklab, var(--color-blue-900) 20%, transparent);\n }\n }\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.2% 0.091 267.935) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-blue-950\\/40 {\n background-color: color-mix(in oklab, var(--color-blue-950) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in srgb, oklch(52% 0.105 223.128) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-700\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-700) 40%, transparent);\n }\n }\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in srgb, oklch(39.8% 0.07 227.392) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-900\\/20 {\n background-color: color-mix(in oklab, var(--color-cyan-900) 20%, transparent);\n }\n }\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in srgb, oklch(30.2% 0.056 229.695) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-cyan-950\\/40 {\n background-color: color-mix(in oklab, var(--color-cyan-950) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-400 {\n background-color: var(--color-emerald-400);\n }\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in srgb, oklch(76.5% 0.177 163.223) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-400\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-400) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/5 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 5%, transparent);\n }\n }\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-500\\/10 {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in srgb, oklch(50.8% 0.118 165.612) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-700\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-700) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.2% 0.095 166.913) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-800\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-800) 40%, transparent);\n }\n }\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in srgb, oklch(37.8% 0.077 168.94) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-900\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-900) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/20 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 20%, transparent);\n }\n }\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in srgb, oklch(26.2% 0.051 172.552) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-emerald-950\\/40 {\n background-color: color-mix(in oklab, var(--color-emerald-950) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-400 {\n background-color: var(--color-indigo-400);\n }\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/10 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-500\\/20 {\n background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in srgb, oklch(45.7% 0.24 277.023) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-700\\/40 {\n background-color: color-mix(in oklab, var(--color-indigo-700) 40%, transparent);\n }\n }\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in srgb, oklch(39.8% 0.195 277.366) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-800\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-800) 30%, transparent);\n }\n }\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in srgb, oklch(35.9% 0.144 278.697) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-indigo-900\\/30 {\n background-color: color-mix(in oklab, var(--color-indigo-900) 30%, transparent);\n }\n }\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in srgb, oklch(55.3% 0.195 38.402) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-orange-700\\/40 {\n background-color: color-mix(in oklab, var(--color-orange-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in srgb, oklch(52.5% 0.223 3.958) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-700\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-700) 40%, transparent);\n }\n }\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in srgb, oklch(45.9% 0.187 3.815) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-800\\/30 {\n background-color: color-mix(in oklab, var(--color-pink-800) 30%, transparent);\n }\n }\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in srgb, oklch(40.8% 0.153 2.432) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-900\\/20 {\n background-color: color-mix(in oklab, var(--color-pink-900) 20%, transparent);\n }\n }\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in srgb, oklch(28.4% 0.109 3.907) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-pink-950\\/40 {\n background-color: color-mix(in oklab, var(--color-pink-950) 40%, transparent);\n }\n }\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in srgb, oklch(49.6% 0.265 301.924) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-700\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-700) 40%, transparent);\n }\n }\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in srgb, oklch(43.8% 0.218 303.724) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-800\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-800) 40%, transparent);\n }\n }\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in srgb, oklch(38.1% 0.176 304.987) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-900\\/20 {\n background-color: color-mix(in oklab, var(--color-purple-900) 20%, transparent);\n }\n }\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in srgb, oklch(29.1% 0.149 302.717) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-purple-950\\/40 {\n background-color: color-mix(in oklab, var(--color-purple-950) 40%, transparent);\n }\n }\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-red-500\\/10 {\n background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in srgb, oklch(71.2% 0.194 13.428) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-400\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-400) 10%, transparent);\n }\n }\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-500\\/10 {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-900\\/40 {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/20 {\n background-color: color-mix(in oklab, var(--color-rose-950) 20%, transparent);\n }\n }\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in srgb, oklch(27.1% 0.105 12.094) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-rose-950\\/30 {\n background-color: color-mix(in oklab, var(--color-rose-950) 30%, transparent);\n }\n }\n .dark\\:bg-slate-700 {\n background-color: var(--color-slate-700);\n }\n .dark\\:bg-slate-800 {\n background-color: var(--color-slate-800);\n }\n .dark\\:bg-slate-900 {\n background-color: var(--color-slate-900);\n }\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/50 {\n background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/60 {\n background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);\n }\n }\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-slate-900\\/80 {\n background-color: color-mix(in oklab, var(--color-slate-900) 80%, transparent);\n }\n }\n .dark\\:bg-slate-950 {\n background-color: var(--color-slate-950);\n }\n .dark\\:bg-transparent {\n background-color: transparent;\n }\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in srgb, oklch(43.2% 0.232 292.759) 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-violet-800\\/30 {\n background-color: color-mix(in oklab, var(--color-violet-800) 30%, transparent);\n }\n }\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in srgb, #fff 3%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/3 {\n background-color: color-mix(in oklab, var(--color-white) 3%, transparent);\n }\n }\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/5 {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in srgb, #fff 8%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/8 {\n background-color: color-mix(in oklab, var(--color-white) 8%, transparent);\n }\n }\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/10 {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:bg-white\\/60 {\n background-color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:bg-zinc-900 {\n background-color: var(--color-zinc-900);\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:from-white\\/10 {\n --tw-gradient-from: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:from-white\\/10 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:to-white\\/5 {\n --tw-gradient-to: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:to-white\\/5 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .dark\\:text-amber-100 {\n color: var(--color-amber-100);\n }\n .dark\\:text-amber-200 {\n color: var(--color-amber-200);\n }\n .dark\\:text-amber-300 {\n color: var(--color-amber-300);\n }\n .dark\\:text-amber-400 {\n color: var(--color-amber-400);\n }\n .dark\\:text-blue-100 {\n color: var(--color-blue-100);\n }\n .dark\\:text-blue-300 {\n color: var(--color-blue-300);\n }\n .dark\\:text-blue-400 {\n color: var(--color-blue-400);\n }\n .dark\\:text-cyan-100 {\n color: var(--color-cyan-100);\n }\n .dark\\:text-cyan-300 {\n color: var(--color-cyan-300);\n }\n .dark\\:text-cyan-400 {\n color: var(--color-cyan-400);\n }\n .dark\\:text-emerald-100 {\n color: var(--color-emerald-100);\n }\n .dark\\:text-emerald-300 {\n color: var(--color-emerald-300);\n }\n .dark\\:text-emerald-400 {\n color: var(--color-emerald-400);\n }\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-emerald-500\\/50 {\n color: color-mix(in oklab, var(--color-emerald-500) 50%, transparent);\n }\n }\n .dark\\:text-indigo-100 {\n color: var(--color-indigo-100);\n }\n .dark\\:text-indigo-200 {\n color: var(--color-indigo-200);\n }\n .dark\\:text-indigo-400 {\n color: var(--color-indigo-400);\n }\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in srgb, oklch(67.3% 0.182 276.935) 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-indigo-400\\/70 {\n color: color-mix(in oklab, var(--color-indigo-400) 70%, transparent);\n }\n }\n .dark\\:text-orange-100 {\n color: var(--color-orange-100);\n }\n .dark\\:text-pink-100 {\n color: var(--color-pink-100);\n }\n .dark\\:text-pink-300 {\n color: var(--color-pink-300);\n }\n .dark\\:text-pink-400 {\n color: var(--color-pink-400);\n }\n .dark\\:text-purple-100 {\n color: var(--color-purple-100);\n }\n .dark\\:text-purple-300 {\n color: var(--color-purple-300);\n }\n .dark\\:text-purple-400 {\n color: var(--color-purple-400);\n }\n .dark\\:text-red-400 {\n color: var(--color-red-400);\n }\n .dark\\:text-rose-400 {\n color: var(--color-rose-400);\n }\n .dark\\:text-slate-100 {\n color: var(--color-slate-100);\n }\n .dark\\:text-slate-300 {\n color: var(--color-slate-300);\n }\n .dark\\:text-slate-400 {\n color: var(--color-slate-400);\n }\n .dark\\:text-violet-200 {\n color: var(--color-violet-200);\n }\n .dark\\:text-white {\n color: var(--color-white);\n }\n .dark\\:text-white\\/20 {\n color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/20 {\n color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:text-white\\/30 {\n color: color-mix(in srgb, #fff 30%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/30 {\n color: color-mix(in oklab, var(--color-white) 30%, transparent);\n }\n }\n .dark\\:text-white\\/40 {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/40 {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:text-white\\/50 {\n color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/50 {\n color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:text-white\\/60 {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/60 {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:text-white\\/70 {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/70 {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:text-white\\/75 {\n color: color-mix(in srgb, #fff 75%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/75 {\n color: color-mix(in oklab, var(--color-white) 75%, transparent);\n }\n }\n .dark\\:text-white\\/80 {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/80 {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:text-white\\/90 {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:text-white\\/90 {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:text-zinc-500 {\n color: var(--color-zinc-500);\n }\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:ring-white\\/10 {\n --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n @media (hover: hover) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in srgb, #fff 50%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:group-hover\\:border-white\\/50:is(:where(.group):hover *) {\n border-color: color-mix(in oklab, var(--color-white) 50%, transparent);\n }\n }\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-emerald-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-indigo-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-rose-500\\/20:hover {\n border-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in srgb, #fff 15%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/15:hover {\n border-color: color-mix(in oklab, var(--color-white) 15%, transparent);\n }\n }\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:border-white\\/20:hover {\n border-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(69.6% 0.17 162.48) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-emerald-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(58.5% 0.233 277.117) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-indigo-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in srgb, oklch(64.5% 0.246 16.439) 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-500\\/10:hover {\n background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in srgb, oklch(41% 0.159 10.272) 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-rose-900\\/40:hover {\n background-color: color-mix(in oklab, var(--color-rose-900) 40%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in srgb, #fff 5%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/5:hover {\n background-color: color-mix(in oklab, var(--color-white) 5%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in srgb, #fff 10%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/10:hover {\n background-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n }\n }\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in srgb, #fff 20%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:bg-white\\/20:hover {\n background-color: color-mix(in oklab, var(--color-white) 20%, transparent);\n }\n }\n .dark\\:hover\\:text-blue-400:hover {\n color: var(--color-blue-400);\n }\n .dark\\:hover\\:text-emerald-400:hover {\n color: var(--color-emerald-400);\n }\n .dark\\:hover\\:text-indigo-300:hover {\n color: var(--color-indigo-300);\n }\n .dark\\:hover\\:text-indigo-400:hover {\n color: var(--color-indigo-400);\n }\n .dark\\:hover\\:text-rose-400:hover {\n color: var(--color-rose-400);\n }\n .dark\\:hover\\:text-slate-200:hover {\n color: var(--color-slate-200);\n }\n .dark\\:hover\\:text-white:hover {\n color: var(--color-white);\n }\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/60:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in srgb, #fff 70%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/70:hover {\n color: color-mix(in oklab, var(--color-white) 70%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in srgb, #fff 80%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/80:hover {\n color: color-mix(in oklab, var(--color-white) 80%, transparent);\n }\n }\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in srgb, #fff 90%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:hover\\:text-white\\/90:hover {\n color: color-mix(in oklab, var(--color-white) 90%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in srgb, #fff 40%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/40:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 40%, transparent);\n }\n }\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in srgb, #fff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .dark\\:disabled\\:hover\\:text-white\\/60:disabled:hover {\n color: color-mix(in oklab, var(--color-white) 60%, transparent);\n }\n }\n }\n }\n}\n@layer base {\n :root {\n --star: shape(evenodd from 50% 24.787%, curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%, curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%, curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%, curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%, curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%, curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%, curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%, curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%, close);\n --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);\n --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);\n --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);\n --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);\n --heart: shape(evenodd from 51.311% 83.603%, curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%, curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%, curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%, curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%, curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%, curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%, curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%, curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%, curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%, curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%, curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%, curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%, close);\n --spiral: shape(evenodd from 13.347% 30.885%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%, curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%, curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%, curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%, curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%, curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%, close);\n --sun: shape(evenodd from 12.758% 22.039%, curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%, curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%, curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%, curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%, curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%, curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%, close);\n --star2: shape(open from 28.947% 47.744%, curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%, curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%, curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%, curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%, curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%, curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%, curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%, curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%, curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%, close);\n --tri-star: shape(open from 25% 25%, curve by 25% 25% with 0% 0% / 25% 25%, close);\n }\n}\n@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }\n@property --tw-rotate-x { syntax: "*"; inherits: false; }\n@property --tw-rotate-y { syntax: "*"; inherits: false; }\n@property --tw-rotate-z { syntax: "*"; inherits: false; }\n@property --tw-skew-x { syntax: "*"; inherits: false; }\n@property --tw-skew-y { syntax: "*"; inherits: false; }\n@property --tw-scroll-snap-strictness { syntax: "*"; inherits: false; initial-value: proximity; }\n@property --tw-scrollbar-thumb { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-scrollbar-track { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-divide-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }\n@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }\n@property --tw-gradient-position { syntax: "*"; inherits: false; }\n@property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-to { syntax: "<color>"; inherits: false; initial-value: #0000; }\n@property --tw-gradient-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-via-stops { syntax: "*"; inherits: false; }\n@property --tw-gradient-from-position { syntax: "<length-percentage>"; inherits: false; initial-value: 0%; }\n@property --tw-gradient-via-position { syntax: "<length-percentage>"; inherits: false; initial-value: 50%; }\n@property --tw-gradient-to-position { syntax: "<length-percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-leading { syntax: "*"; inherits: false; }\n@property --tw-font-weight { syntax: "*"; inherits: false; }\n@property --tw-tracking { syntax: "*"; inherits: false; }\n@property --tw-ordinal { syntax: "*"; inherits: false; }\n@property --tw-slashed-zero { syntax: "*"; inherits: false; }\n@property --tw-numeric-figure { syntax: "*"; inherits: false; }\n@property --tw-numeric-spacing { syntax: "*"; inherits: false; }\n@property --tw-numeric-fraction { syntax: "*"; inherits: false; }\n@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-ring-color { syntax: "*"; inherits: false; }\n@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-inset-ring-color { syntax: "*"; inherits: false; }\n@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-ring-inset { syntax: "*"; inherits: false; }\n@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }\n@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }\n@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }\n@property --tw-blur { syntax: "*"; inherits: false; }\n@property --tw-brightness { syntax: "*"; inherits: false; }\n@property --tw-contrast { syntax: "*"; inherits: false; }\n@property --tw-grayscale { syntax: "*"; inherits: false; }\n@property --tw-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-invert { syntax: "*"; inherits: false; }\n@property --tw-opacity { syntax: "*"; inherits: false; }\n@property --tw-saturate { syntax: "*"; inherits: false; }\n@property --tw-sepia { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }\n@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }\n@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }\n@property --tw-backdrop-blur { syntax: "*"; inherits: false; }\n@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }\n@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }\n@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }\n@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-invert { syntax: "*"; inherits: false; }\n@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }\n@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }\n@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }\n@property --tw-duration { syntax: "*"; inherits: false; }\n@property --tw-ease { syntax: "*"; inherits: false; }\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes ping {\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n}\n@keyframes shapeshift {\n 0% {\n clip-path: var(--circle);\n rotate: 0turn;\n }\n 25% {\n clip-path: var(--flower);\n }\n 50% {\n clip-path: var(--cylinder);\n }\n 75% {\n clip-path: var(--hexagon);\n }\n 100% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n 120% {\n clip-path: var(--flower);\n }\n 140% {\n clip-path: var(--cylinder);\n }\n 160% {\n clip-path: var(--hexagon);\n }\n 180% {\n clip-path: var(--circle);\n rotate: 1turn;\n }\n}\n@keyframes gradientMove {\n 0% {\n translate: 0 0;\n }\n 100% {\n translate: -75% -75%;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-scroll-snap-strictness: proximity;\n --tw-scrollbar-thumb: #0000;\n --tw-scrollbar-track: #0000;\n --tw-space-y-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-tracking: initial;\n --tw-ordinal: initial;\n --tw-slashed-zero: initial;\n --tw-numeric-figure: initial;\n --tw-numeric-spacing: initial;\n --tw-numeric-fraction: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n }\n }\n}\n');
|
|
64
64
|
|
|
65
65
|
// src/components/ChatWidget.tsx
|
|
66
|
-
import { useState as
|
|
66
|
+
import { useState as useState10, useCallback as useCallback4 } from "react";
|
|
67
67
|
import { MessageSquare as MessageSquare2, X as X3, Lock } from "lucide-react";
|
|
68
68
|
|
|
69
69
|
// src/components/ChatWindow.tsx
|
|
70
|
-
import React13, { useState as
|
|
70
|
+
import React13, { useState as useState9, useRef as useRef7, useEffect as useEffect8, useCallback as useCallback3 } from "react";
|
|
71
71
|
import {
|
|
72
72
|
Bot as Bot2,
|
|
73
73
|
Trash2,
|
|
@@ -83,7 +83,9 @@ import {
|
|
|
83
83
|
Paperclip,
|
|
84
84
|
MessageSquare,
|
|
85
85
|
Plus,
|
|
86
|
-
Trash
|
|
86
|
+
Trash,
|
|
87
|
+
Volume2 as Volume22,
|
|
88
|
+
VolumeX as VolumeX2
|
|
87
89
|
} from "lucide-react";
|
|
88
90
|
|
|
89
91
|
// src/components/DocumentUpload.tsx
|
|
@@ -93,20 +95,6 @@ import { Upload, File, X, CheckCircle, AlertCircle, CheckCircle2, Sparkles, File
|
|
|
93
95
|
// src/components/ConfigProvider.tsx
|
|
94
96
|
import { createContext, useContext, useEffect, useMemo, useState } from "react";
|
|
95
97
|
|
|
96
|
-
// src/utils/templateUtils.ts
|
|
97
|
-
function mergeDefined(base, override) {
|
|
98
|
-
const merged = __spreadValues({}, base || {});
|
|
99
|
-
if (!override) {
|
|
100
|
-
return merged;
|
|
101
|
-
}
|
|
102
|
-
for (const [key, value] of Object.entries(override)) {
|
|
103
|
-
if (value !== void 0 && value !== null && value !== "") {
|
|
104
|
-
merged[key] = value;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return merged;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
98
|
// src/config/uiConstants.ts
|
|
111
99
|
var DEFAULT_CONFIG = {
|
|
112
100
|
projectId: "default",
|
|
@@ -143,994 +131,6 @@ var CHAT_SUGGESTIONS = [
|
|
|
143
131
|
"Show me an example"
|
|
144
132
|
];
|
|
145
133
|
|
|
146
|
-
// src/core/ProjectSettings.ts
|
|
147
|
-
var DEFAULT_LIFECYCLE_HOOKS = [
|
|
148
|
-
"beforeInitialize",
|
|
149
|
-
"afterInitialize",
|
|
150
|
-
"beforeSend",
|
|
151
|
-
"afterResponse",
|
|
152
|
-
"onMessage",
|
|
153
|
-
"onCitationClick",
|
|
154
|
-
"onFeedback",
|
|
155
|
-
"onError",
|
|
156
|
-
"onReconnect",
|
|
157
|
-
"onFileUpload"
|
|
158
|
-
];
|
|
159
|
-
var DEFAULT_CONVERSATION_FEATURES = [
|
|
160
|
-
"History",
|
|
161
|
-
"Resume",
|
|
162
|
-
"Search",
|
|
163
|
-
"Export",
|
|
164
|
-
"Rename",
|
|
165
|
-
"Delete",
|
|
166
|
-
"Tags",
|
|
167
|
-
"Pinned",
|
|
168
|
-
"Unread",
|
|
169
|
-
"Ratings"
|
|
170
|
-
];
|
|
171
|
-
function createDefaultProjectSettings(projectId) {
|
|
172
|
-
return {
|
|
173
|
-
projectId,
|
|
174
|
-
branding: {
|
|
175
|
-
companyName: "Retrivora AI",
|
|
176
|
-
botName: "Retrivora Assistant",
|
|
177
|
-
welcomeMessage: "Hi, I can help you search your knowledge base.",
|
|
178
|
-
primaryColor: "#6366f1",
|
|
179
|
-
secondaryColor: "#8b5cf6",
|
|
180
|
-
fontFamily: "Inter",
|
|
181
|
-
borderRadius: 14,
|
|
182
|
-
logoUrl: "",
|
|
183
|
-
avatarUrl: "",
|
|
184
|
-
customCss: ""
|
|
185
|
-
},
|
|
186
|
-
ai: {
|
|
187
|
-
defaultModel: "llama-3.1-8b-instant",
|
|
188
|
-
embeddingModel: "text-embedding-3-small",
|
|
189
|
-
systemPrompt: "Answer using the connected knowledge base. Cite sources when available.",
|
|
190
|
-
memoryEnabled: true,
|
|
191
|
-
multiModelEnabled: true,
|
|
192
|
-
citationsEnabled: true,
|
|
193
|
-
fileUploadEnabled: true
|
|
194
|
-
},
|
|
195
|
-
auth: {
|
|
196
|
-
mode: "public",
|
|
197
|
-
allowedOrigins: [],
|
|
198
|
-
requireVerifiedEmail: false,
|
|
199
|
-
sessionTtlMinutes: 1440
|
|
200
|
-
},
|
|
201
|
-
widget: {
|
|
202
|
-
position: "bottom-right",
|
|
203
|
-
theme: "light",
|
|
204
|
-
lazyLoad: true,
|
|
205
|
-
autoReconnect: true,
|
|
206
|
-
persistConversations: true,
|
|
207
|
-
showRetrivoraBranding: false
|
|
208
|
-
},
|
|
209
|
-
telemetry: {
|
|
210
|
-
enabled: true,
|
|
211
|
-
collectBrowser: true,
|
|
212
|
-
collectCountry: false,
|
|
213
|
-
redactPii: true,
|
|
214
|
-
retentionDays: 30
|
|
215
|
-
},
|
|
216
|
-
lifecycleHooks: DEFAULT_LIFECYCLE_HOOKS,
|
|
217
|
-
conversationFeatures: DEFAULT_CONVERSATION_FEATURES
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
function cleanString(value, fallback, maxLength = 2e3) {
|
|
221
|
-
if (typeof value !== "string") return fallback;
|
|
222
|
-
return value.trim().slice(0, maxLength);
|
|
223
|
-
}
|
|
224
|
-
function cleanBoolean(value, fallback) {
|
|
225
|
-
return typeof value === "boolean" ? value : fallback;
|
|
226
|
-
}
|
|
227
|
-
function cleanNumber(value, fallback, min, max) {
|
|
228
|
-
const num = typeof value === "number" ? value : Number(value);
|
|
229
|
-
if (!Number.isFinite(num)) return fallback;
|
|
230
|
-
return Math.min(Math.max(Math.round(num), min), max);
|
|
231
|
-
}
|
|
232
|
-
function cleanEnum(value, fallback, allowed) {
|
|
233
|
-
return typeof value === "string" && allowed.includes(value) ? value : fallback;
|
|
234
|
-
}
|
|
235
|
-
function cleanStringList(value, fallback, maxItems = 20) {
|
|
236
|
-
if (!Array.isArray(value)) return fallback;
|
|
237
|
-
const cleaned = value.filter((item) => typeof item === "string").map((item) => item.trim()).filter(Boolean).slice(0, maxItems);
|
|
238
|
-
return cleaned.length > 0 ? Array.from(new Set(cleaned)) : fallback;
|
|
239
|
-
}
|
|
240
|
-
function normalizeProjectSettings(projectId, input) {
|
|
241
|
-
const defaults = createDefaultProjectSettings(projectId);
|
|
242
|
-
const branding = (input == null ? void 0 : input.branding) || {};
|
|
243
|
-
const ai = (input == null ? void 0 : input.ai) || {};
|
|
244
|
-
const auth = (input == null ? void 0 : input.auth) || {};
|
|
245
|
-
const widget = (input == null ? void 0 : input.widget) || {};
|
|
246
|
-
const telemetry = (input == null ? void 0 : input.telemetry) || {};
|
|
247
|
-
return {
|
|
248
|
-
projectId,
|
|
249
|
-
branding: {
|
|
250
|
-
companyName: cleanString(branding.companyName, defaults.branding.companyName, 120),
|
|
251
|
-
botName: cleanString(branding.botName, defaults.branding.botName, 120),
|
|
252
|
-
welcomeMessage: cleanString(branding.welcomeMessage, defaults.branding.welcomeMessage, 500),
|
|
253
|
-
primaryColor: cleanString(branding.primaryColor, defaults.branding.primaryColor, 32),
|
|
254
|
-
secondaryColor: cleanString(branding.secondaryColor, defaults.branding.secondaryColor, 32),
|
|
255
|
-
fontFamily: cleanString(branding.fontFamily, defaults.branding.fontFamily, 80),
|
|
256
|
-
borderRadius: cleanNumber(branding.borderRadius, defaults.branding.borderRadius, 0, 32),
|
|
257
|
-
logoUrl: cleanString(branding.logoUrl, defaults.branding.logoUrl, 500),
|
|
258
|
-
avatarUrl: cleanString(branding.avatarUrl, defaults.branding.avatarUrl, 500),
|
|
259
|
-
customCss: cleanString(branding.customCss, defaults.branding.customCss, 5e3)
|
|
260
|
-
},
|
|
261
|
-
ai: {
|
|
262
|
-
defaultModel: cleanString(ai.defaultModel, defaults.ai.defaultModel, 120),
|
|
263
|
-
embeddingModel: cleanString(ai.embeddingModel, defaults.ai.embeddingModel, 120),
|
|
264
|
-
systemPrompt: cleanString(ai.systemPrompt, defaults.ai.systemPrompt, 5e3),
|
|
265
|
-
memoryEnabled: cleanBoolean(ai.memoryEnabled, defaults.ai.memoryEnabled),
|
|
266
|
-
multiModelEnabled: cleanBoolean(ai.multiModelEnabled, defaults.ai.multiModelEnabled),
|
|
267
|
-
citationsEnabled: cleanBoolean(ai.citationsEnabled, defaults.ai.citationsEnabled),
|
|
268
|
-
fileUploadEnabled: cleanBoolean(ai.fileUploadEnabled, defaults.ai.fileUploadEnabled)
|
|
269
|
-
},
|
|
270
|
-
auth: {
|
|
271
|
-
mode: cleanEnum(auth.mode, defaults.auth.mode, ["public", "anonymous", "jwt", "oauth", "okta", "auth0", "supabase", "firebase", "sso", "custom_token"]),
|
|
272
|
-
allowedOrigins: cleanStringList(auth.allowedOrigins, defaults.auth.allowedOrigins, 25),
|
|
273
|
-
requireVerifiedEmail: cleanBoolean(auth.requireVerifiedEmail, defaults.auth.requireVerifiedEmail),
|
|
274
|
-
sessionTtlMinutes: cleanNumber(auth.sessionTtlMinutes, defaults.auth.sessionTtlMinutes, 15, 43200)
|
|
275
|
-
},
|
|
276
|
-
widget: {
|
|
277
|
-
position: cleanEnum(widget.position, defaults.widget.position, ["bottom-right", "bottom-left", "top-right", "top-left"]),
|
|
278
|
-
theme: cleanEnum(widget.theme, defaults.widget.theme, ["light", "dark", "system"]),
|
|
279
|
-
lazyLoad: cleanBoolean(widget.lazyLoad, defaults.widget.lazyLoad),
|
|
280
|
-
autoReconnect: cleanBoolean(widget.autoReconnect, defaults.widget.autoReconnect),
|
|
281
|
-
persistConversations: cleanBoolean(widget.persistConversations, defaults.widget.persistConversations),
|
|
282
|
-
showRetrivoraBranding: cleanBoolean(widget.showRetrivoraBranding, defaults.widget.showRetrivoraBranding)
|
|
283
|
-
},
|
|
284
|
-
telemetry: {
|
|
285
|
-
enabled: cleanBoolean(telemetry.enabled, defaults.telemetry.enabled),
|
|
286
|
-
collectBrowser: cleanBoolean(telemetry.collectBrowser, defaults.telemetry.collectBrowser),
|
|
287
|
-
collectCountry: cleanBoolean(telemetry.collectCountry, defaults.telemetry.collectCountry),
|
|
288
|
-
redactPii: cleanBoolean(telemetry.redactPii, defaults.telemetry.redactPii),
|
|
289
|
-
retentionDays: cleanNumber(telemetry.retentionDays, defaults.telemetry.retentionDays, 1, 365)
|
|
290
|
-
},
|
|
291
|
-
lifecycleHooks: cleanStringList(input == null ? void 0 : input.lifecycleHooks, defaults.lifecycleHooks, 30),
|
|
292
|
-
conversationFeatures: cleanStringList(input == null ? void 0 : input.conversationFeatures, defaults.conversationFeatures, 30),
|
|
293
|
-
updatedAt: input == null ? void 0 : input.updatedAt
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
function projectSettingsToUiConfig(settings) {
|
|
297
|
-
return {
|
|
298
|
-
title: settings.branding.botName,
|
|
299
|
-
subtitle: settings.branding.companyName,
|
|
300
|
-
primaryColor: settings.branding.primaryColor,
|
|
301
|
-
accentColor: settings.branding.secondaryColor,
|
|
302
|
-
logoUrl: settings.branding.logoUrl || settings.branding.avatarUrl,
|
|
303
|
-
welcomeMessage: settings.branding.welcomeMessage,
|
|
304
|
-
poweredBy: settings.widget.showRetrivoraBranding ? "Retrivora AI" : "",
|
|
305
|
-
allowUpload: settings.ai.fileUploadEnabled,
|
|
306
|
-
showSources: settings.ai.citationsEnabled,
|
|
307
|
-
borderRadius: settings.branding.borderRadius <= 4 ? "sm" : settings.branding.borderRadius <= 8 ? "md" : settings.branding.borderRadius <= 16 ? "xl" : "full"
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
// package.json
|
|
312
|
-
var package_default = {
|
|
313
|
-
name: "@retrivora-ai/rag-engine",
|
|
314
|
-
version: "2.5.6",
|
|
315
|
-
description: "Retrivora AI is a plug-and-play AI engine for RAG chat experiences \u2014 generic vector DB + LLM provider, embeddable or standalone.",
|
|
316
|
-
author: "Abhinav Alkuchi",
|
|
317
|
-
license: "UNLICENSED",
|
|
318
|
-
keywords: [
|
|
319
|
-
"rag",
|
|
320
|
-
"retrieval-augmented-generation",
|
|
321
|
-
"chatbot",
|
|
322
|
-
"vector-database",
|
|
323
|
-
"pinecone",
|
|
324
|
-
"pgvector",
|
|
325
|
-
"postgresql",
|
|
326
|
-
"milvus",
|
|
327
|
-
"qdrant",
|
|
328
|
-
"chromadb",
|
|
329
|
-
"redis",
|
|
330
|
-
"weaviate",
|
|
331
|
-
"mongodb",
|
|
332
|
-
"openai",
|
|
333
|
-
"anthropic",
|
|
334
|
-
"ollama",
|
|
335
|
-
"nextjs",
|
|
336
|
-
"react",
|
|
337
|
-
"ai",
|
|
338
|
-
"llm",
|
|
339
|
-
"embeddings"
|
|
340
|
-
],
|
|
341
|
-
main: "dist/index.js",
|
|
342
|
-
module: "dist/index.mjs",
|
|
343
|
-
types: "dist/index.d.ts",
|
|
344
|
-
exports: {
|
|
345
|
-
".": {
|
|
346
|
-
types: "./dist/index.d.ts",
|
|
347
|
-
require: "./dist/index.js",
|
|
348
|
-
import: "./dist/index.mjs"
|
|
349
|
-
},
|
|
350
|
-
"./style.css": "./dist/index.css",
|
|
351
|
-
"./style.min.css": "./dist/index.min.css",
|
|
352
|
-
"./index.css": "./dist/index.css",
|
|
353
|
-
"./index.min.css": "./dist/index.min.css",
|
|
354
|
-
"./styles.css": "./dist/index.css",
|
|
355
|
-
"./styles.min.css": "./dist/index.min.css",
|
|
356
|
-
"./handlers": {
|
|
357
|
-
types: "./dist/handlers/index.d.ts",
|
|
358
|
-
require: "./dist/handlers/index.js",
|
|
359
|
-
import: "./dist/handlers/index.mjs"
|
|
360
|
-
},
|
|
361
|
-
"./server": {
|
|
362
|
-
types: "./dist/server.d.ts",
|
|
363
|
-
require: "./dist/server.js",
|
|
364
|
-
import: "./dist/server.mjs"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
browser: {
|
|
368
|
-
child_process: false,
|
|
369
|
-
fs: false,
|
|
370
|
-
net: false,
|
|
371
|
-
tls: false,
|
|
372
|
-
crypto: false,
|
|
373
|
-
os: false,
|
|
374
|
-
path: false,
|
|
375
|
-
stream: false,
|
|
376
|
-
http: false,
|
|
377
|
-
https: false,
|
|
378
|
-
zlib: false,
|
|
379
|
-
mongodb: false,
|
|
380
|
-
pg: false,
|
|
381
|
-
"pdf-parse": false,
|
|
382
|
-
mammoth: false
|
|
383
|
-
},
|
|
384
|
-
files: [
|
|
385
|
-
"dist",
|
|
386
|
-
"README.md",
|
|
387
|
-
"FREE_TIER_ARCHITECTURE.md"
|
|
388
|
-
],
|
|
389
|
-
scripts: {
|
|
390
|
-
dev: "npx @tailwindcss/cli -i src/tailwind.css -o src/index.css && tsup src/index.ts src/handlers/index.ts src/server.ts --format cjs,esm --watch --tsconfig tsconfig.build.json --external react,react-dom,next,mongodb,pg,openai,@anthropic-ai/sdk,@pinecone-database/pinecone,axios,lucide-react,mammoth,pdf-parse,xlsx,react-markdown,remark-gfm,next-themes,langchain,@langchain/core,@langchain/openai,llamaindex --inject-style",
|
|
391
|
-
build: "npm run build:pkg",
|
|
392
|
-
"build:pkg": "npx @tailwindcss/cli -i src/tailwind.css -o src/index.css && tsup src/index.ts src/handlers/index.ts src/server.ts --format cjs,esm --dts --clean --no-splitting --tsconfig tsconfig.build.json --external react,react-dom,next,mongodb,pg,openai,@anthropic-ai/sdk,@pinecone-database/pinecone,axios,lucide-react,mammoth,pdf-parse,xlsx,react-markdown,remark-gfm,next-themes,langchain,@langchain/core,@langchain/openai,llamaindex --inject-style && npx @tailwindcss/cli -i src/tailwind.css -o dist/index.css && npx @tailwindcss/cli -i src/tailwind.css -o dist/index.min.css --minify",
|
|
393
|
-
lint: "eslint",
|
|
394
|
-
typecheck: "tsc --noEmit -p tsconfig.build.json",
|
|
395
|
-
test: "jest",
|
|
396
|
-
clean: `node -e "require('fs').rmSync('dist', { recursive: true, force: true })"`
|
|
397
|
-
},
|
|
398
|
-
peerDependencies: {
|
|
399
|
-
axios: ">=1.0.0",
|
|
400
|
-
next: ">=15.0.0",
|
|
401
|
-
react: ">=18.0.0",
|
|
402
|
-
"react-dom": ">=18.0.0"
|
|
403
|
-
},
|
|
404
|
-
peerDependenciesMeta: {
|
|
405
|
-
axios: {
|
|
406
|
-
optional: true
|
|
407
|
-
},
|
|
408
|
-
next: {
|
|
409
|
-
optional: true
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
dependencies: {
|
|
413
|
-
"@anthropic-ai/sdk": "^0.95.1",
|
|
414
|
-
"@google/genai": "^0.8.0",
|
|
415
|
-
"@google/generative-ai": "^0.24.1",
|
|
416
|
-
"@pinecone-database/pinecone": "^7.2.0",
|
|
417
|
-
"@retrivora-ai/billing-guards": "*",
|
|
418
|
-
"@types/papaparse": "^5.5.2",
|
|
419
|
-
"framer-motion": "^13.1.0",
|
|
420
|
-
katex: "^0.18.4",
|
|
421
|
-
"lucide-react": "^1.8.0",
|
|
422
|
-
"next-themes": "^0.4.6",
|
|
423
|
-
openai: "^6.34.0",
|
|
424
|
-
papaparse: "^5.5.3",
|
|
425
|
-
"react-is": "^18.3.1",
|
|
426
|
-
"react-markdown": "^10.1.0",
|
|
427
|
-
"react-syntax-highlighter": "^16.1.1",
|
|
428
|
-
recharts: "^3.8.1",
|
|
429
|
-
"rehype-katex": "^7.0.1",
|
|
430
|
-
"remark-gfm": "^4.0.1",
|
|
431
|
-
"remark-math": "^6.0.0",
|
|
432
|
-
exceljs: "^4.4.0",
|
|
433
|
-
zod: "^4.4.3"
|
|
434
|
-
},
|
|
435
|
-
optionalDependencies: {
|
|
436
|
-
"@langchain/core": "^1.1.42",
|
|
437
|
-
"@langchain/openai": "^1.4.5",
|
|
438
|
-
langchain: "^1.3.5",
|
|
439
|
-
llamaindex: "^0.11.9",
|
|
440
|
-
mammoth: "^1.8.0",
|
|
441
|
-
mongodb: "^7.1.1",
|
|
442
|
-
"pdf-parse": "^1.1.1",
|
|
443
|
-
pg: "^8.20.0"
|
|
444
|
-
},
|
|
445
|
-
devDependencies: {
|
|
446
|
-
"@tailwindcss/cli": "^4",
|
|
447
|
-
"@tailwindcss/postcss": "^4",
|
|
448
|
-
"@types/estree": "^1.0.9",
|
|
449
|
-
"@types/jest": "^30.0.0",
|
|
450
|
-
"@types/katex": "^0.16.8",
|
|
451
|
-
"@types/node": "^20",
|
|
452
|
-
"@types/pdf-parse": "^1.1.5",
|
|
453
|
-
"@types/pg": "^8.20.0",
|
|
454
|
-
"@types/react": "^19.2.14",
|
|
455
|
-
"@types/react-dom": "^19.2.3",
|
|
456
|
-
"@types/react-syntax-highlighter": "^15.5.13",
|
|
457
|
-
axios: "^1.15.0",
|
|
458
|
-
dotenv: "^17.4.2",
|
|
459
|
-
eslint: "^9",
|
|
460
|
-
"eslint-config-next": "16.3.2",
|
|
461
|
-
jest: "^30.4.2",
|
|
462
|
-
next: "^16.3.2",
|
|
463
|
-
tailwindcss: "^4",
|
|
464
|
-
"ts-jest": "^29.4.12",
|
|
465
|
-
tsup: "^8.5.1",
|
|
466
|
-
typescript: "^5"
|
|
467
|
-
}
|
|
468
|
-
};
|
|
469
|
-
|
|
470
|
-
// src/version.ts
|
|
471
|
-
var SDK_VERSION = package_default.version || "2.1.3";
|
|
472
|
-
|
|
473
|
-
// src/core/ConfigFetcher.ts
|
|
474
|
-
var CONTROL_PLANE_URL = "https://www.retrivora.com";
|
|
475
|
-
var LLM_PROXY_BASE_URL = "https://www.retrivora.com/api/v1";
|
|
476
|
-
var ConfigFetcher = class {
|
|
477
|
-
// 5-minute in-memory session cache
|
|
478
|
-
/**
|
|
479
|
-
* Fetch full project configuration (vectorDb + embedding + llm + workspace) from Retrivora Control Plane.
|
|
480
|
-
*
|
|
481
|
-
* The SDK calls https://www.retrivora.com/api/v1/config with the project ID and license key.
|
|
482
|
-
* The server validates the license against the database and returns:
|
|
483
|
-
* - validity (tier, isActive, expiresAt)
|
|
484
|
-
* - LLM model info
|
|
485
|
-
* - embedding model info
|
|
486
|
-
* - Pinecone index name and workspace/namespace
|
|
487
|
-
*
|
|
488
|
-
* The Pinecone API key is NOT returned (server-only). The SDK uses local
|
|
489
|
-
* PINECONE_API_KEY if available, or vector operations are handled server-side.
|
|
490
|
-
*/
|
|
491
|
-
static async fetchRemoteConfig(projectId, licenseKey) {
|
|
492
|
-
const cacheKey = `${projectId}:${licenseKey || ""}`;
|
|
493
|
-
const now = Date.now();
|
|
494
|
-
const cached = this.cache.get(cacheKey);
|
|
495
|
-
if (cached && now - cached.cachedAt < this.TTL_MS) {
|
|
496
|
-
return cached.config;
|
|
497
|
-
}
|
|
498
|
-
const existingInflight = this.inflight.get(cacheKey);
|
|
499
|
-
if (existingInflight) {
|
|
500
|
-
return existingInflight;
|
|
501
|
-
}
|
|
502
|
-
const promise = this._doFetch(projectId, licenseKey, cacheKey, now);
|
|
503
|
-
this.inflight.set(cacheKey, promise);
|
|
504
|
-
try {
|
|
505
|
-
return await promise;
|
|
506
|
-
} finally {
|
|
507
|
-
this.inflight.delete(cacheKey);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
/** Internal: performs the actual HTTP fetch. Shared by all callers via inflight dedup. */
|
|
511
|
-
static async _doFetch(projectId, licenseKey, cacheKey, now) {
|
|
512
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
513
|
-
const controlPlaneUrls = [
|
|
514
|
-
process.env.RETRIVORA_CONTROL_PLANE_URL,
|
|
515
|
-
process.env.NEXT_PUBLIC_RETRIVORA_CONTROL_PLANE_URL,
|
|
516
|
-
CONTROL_PLANE_URL
|
|
517
|
-
].filter((url) => {
|
|
518
|
-
if (!url) return false;
|
|
519
|
-
const isEnvVar = url === process.env.RETRIVORA_CONTROL_PLANE_URL || url === process.env.NEXT_PUBLIC_RETRIVORA_CONTROL_PLANE_URL;
|
|
520
|
-
if (!isEnvVar && (url.includes("localhost") || url.includes("127.0.0.1"))) return false;
|
|
521
|
-
return true;
|
|
522
|
-
}).map((url) => url.replace(/\/$/, ""));
|
|
523
|
-
for (const baseUrl of controlPlaneUrls) {
|
|
524
|
-
try {
|
|
525
|
-
const url = `${baseUrl}/api/v1/config?projectId=${encodeURIComponent(projectId)}`;
|
|
526
|
-
const res = await fetch(url, {
|
|
527
|
-
method: "GET",
|
|
528
|
-
headers: __spreadValues(__spreadValues({
|
|
529
|
-
"Content-Type": "application/json",
|
|
530
|
-
"x-sdk-version": SDK_VERSION
|
|
531
|
-
}, licenseKey ? { "x-license-key": licenseKey } : {}), projectId ? { "x-project-id": projectId } : {})
|
|
532
|
-
});
|
|
533
|
-
if (!res.ok) {
|
|
534
|
-
console.warn(`[ConfigFetcher] Error text: ${await res.text()}`);
|
|
535
|
-
}
|
|
536
|
-
if (res.ok) {
|
|
537
|
-
const data = await res.json();
|
|
538
|
-
if ((data == null ? void 0 : data.success) && (data == null ? void 0 : data.vectorDb)) {
|
|
539
|
-
const fetchedProjectId = data.projectId || projectId;
|
|
540
|
-
const config = {
|
|
541
|
-
projectId: fetchedProjectId,
|
|
542
|
-
tier: data.tier,
|
|
543
|
-
isActive: data.isActive,
|
|
544
|
-
expiresAt: data.expiresAt,
|
|
545
|
-
vectorDb: {
|
|
546
|
-
// Fetch apiKey from credentials API if available, else fallback to empty
|
|
547
|
-
apiKey: data.vectorDb.apiKey || "",
|
|
548
|
-
indexName: data.vectorDb.indexName || "retrivora-free",
|
|
549
|
-
provider: data.vectorDb.provider || "pinecone",
|
|
550
|
-
projectId: fetchedProjectId,
|
|
551
|
-
namespace: ((_a = data.workspace) == null ? void 0 : _a.namespace) || data.vectorDb.namespace || fetchedProjectId
|
|
552
|
-
},
|
|
553
|
-
embedding: {
|
|
554
|
-
provider: ((_b = data.embedding) == null ? void 0 : _b.provider) || "universal_rest",
|
|
555
|
-
model: ((_c = data.embedding) == null ? void 0 : _c.model) || "text-embedding-004",
|
|
556
|
-
// Route through www.retrivora.com proxy, not llm.retrivora.com directly.
|
|
557
|
-
baseUrl: ((_d = data.embedding) == null ? void 0 : _d.baseUrl) || LLM_PROXY_BASE_URL,
|
|
558
|
-
apiKey: ((_e = data.embedding) == null ? void 0 : _e.apiKey) || licenseKey || "",
|
|
559
|
-
profile: ((_f = data.embedding) == null ? void 0 : _f.profile) || "litellm"
|
|
560
|
-
},
|
|
561
|
-
llm: {
|
|
562
|
-
provider: ((_g = data.llm) == null ? void 0 : _g.provider) || "universal_rest",
|
|
563
|
-
model: ((_h = data.llm) == null ? void 0 : _h.model) || "llama-3.1-8b-instant",
|
|
564
|
-
// Route through www.retrivora.com proxy, not llm.retrivora.com directly.
|
|
565
|
-
baseUrl: ((_i = data.llm) == null ? void 0 : _i.baseUrl) || LLM_PROXY_BASE_URL,
|
|
566
|
-
apiKey: ((_j = data.llm) == null ? void 0 : _j.apiKey) || licenseKey || "",
|
|
567
|
-
profile: ((_k = data.llm) == null ? void 0 : _k.profile) || "litellm"
|
|
568
|
-
},
|
|
569
|
-
workspace: data.workspace || {
|
|
570
|
-
namespace: fetchedProjectId,
|
|
571
|
-
indexName: data.vectorDb.indexName || "retrivora-free"
|
|
572
|
-
},
|
|
573
|
-
projectSettings: normalizeProjectSettings(
|
|
574
|
-
fetchedProjectId,
|
|
575
|
-
data.projectSettings || data.settings
|
|
576
|
-
)
|
|
577
|
-
};
|
|
578
|
-
if (licenseKey) {
|
|
579
|
-
try {
|
|
580
|
-
const credUrl = `${baseUrl}/api/v1/credentials`;
|
|
581
|
-
const credRes = await fetch(credUrl, {
|
|
582
|
-
method: "POST",
|
|
583
|
-
headers: __spreadValues(__spreadValues({
|
|
584
|
-
"Content-Type": "application/json"
|
|
585
|
-
}, licenseKey ? { "x-license-key": licenseKey } : {}), fetchedProjectId ? { "x-project-id": fetchedProjectId } : {}),
|
|
586
|
-
body: JSON.stringify({ licenseKey, projectId: fetchedProjectId })
|
|
587
|
-
});
|
|
588
|
-
if (credRes.ok) {
|
|
589
|
-
const credData = await credRes.json();
|
|
590
|
-
if ((credData == null ? void 0 : credData.success) && (credData == null ? void 0 : credData.credentials)) {
|
|
591
|
-
if (credData.credentials.pineconeApiKey && !config.vectorDb.apiKey) {
|
|
592
|
-
config.vectorDb.apiKey = credData.credentials.pineconeApiKey;
|
|
593
|
-
}
|
|
594
|
-
if (credData.credentials.litellmApiKey) {
|
|
595
|
-
config.llm.apiKey = credData.credentials.litellmApiKey;
|
|
596
|
-
config.embedding.apiKey = credData.credentials.litellmApiKey;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
} catch (e) {
|
|
601
|
-
console.warn("[ConfigFetcher] Failed to fetch credentials:", e);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
this.cache.set(cacheKey, { config, cachedAt: now });
|
|
605
|
-
return config;
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
} catch (err) {
|
|
609
|
-
console.warn(
|
|
610
|
-
`[ConfigFetcher] Failed to fetch config from ${baseUrl}:`,
|
|
611
|
-
err instanceof Error ? err.message : String(err)
|
|
612
|
-
);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
return null;
|
|
616
|
-
}
|
|
617
|
-
/** Convenience: fetch only vector DB config (backwards compat). */
|
|
618
|
-
static async fetchRemoteVectorConfig(projectId, licenseKey) {
|
|
619
|
-
var _a;
|
|
620
|
-
const config = await this.fetchRemoteConfig(projectId, licenseKey);
|
|
621
|
-
return (_a = config == null ? void 0 : config.vectorDb) != null ? _a : null;
|
|
622
|
-
}
|
|
623
|
-
};
|
|
624
|
-
ConfigFetcher.cache = /* @__PURE__ */ new Map();
|
|
625
|
-
/** In-flight deduplication: concurrent callers for the same key share one network request */
|
|
626
|
-
ConfigFetcher.inflight = /* @__PURE__ */ new Map();
|
|
627
|
-
ConfigFetcher.TTL_MS = 5 * 60 * 1e3;
|
|
628
|
-
|
|
629
|
-
// src/exceptions/index.ts
|
|
630
|
-
var RetrivoraError = class extends Error {
|
|
631
|
-
constructor(message, code, details) {
|
|
632
|
-
super(message);
|
|
633
|
-
this.name = new.target.name;
|
|
634
|
-
this.code = code;
|
|
635
|
-
this.details = details;
|
|
636
|
-
}
|
|
637
|
-
};
|
|
638
|
-
var ProviderNotFoundException = class extends RetrivoraError {
|
|
639
|
-
constructor(providerType, provider, details) {
|
|
640
|
-
super(`Unsupported ${providerType} provider: ${provider}`, "PROVIDER_NOT_FOUND", details);
|
|
641
|
-
}
|
|
642
|
-
};
|
|
643
|
-
var EmbeddingFailedException = class extends RetrivoraError {
|
|
644
|
-
constructor(message = "Embedding generation failed", details) {
|
|
645
|
-
super(message, "EMBEDDING_FAILED", details);
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
var RetrievalException = class extends RetrivoraError {
|
|
649
|
-
constructor(message = "Retrieval failed", details) {
|
|
650
|
-
super(message, "RETRIEVAL_FAILED", details);
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
|
-
var RateLimitException = class extends RetrivoraError {
|
|
654
|
-
constructor(message = "Provider rate limit exceeded", details) {
|
|
655
|
-
super(message, "RATE_LIMITED", details);
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
var ConfigurationException = class extends RetrivoraError {
|
|
659
|
-
constructor(message, details) {
|
|
660
|
-
super(message, "CONFIGURATION_ERROR", details);
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
var AuthenticationException = class extends RetrivoraError {
|
|
664
|
-
constructor(message = "Provider authentication failed", details) {
|
|
665
|
-
super(message, "AUTHENTICATION_ERROR", details);
|
|
666
|
-
}
|
|
667
|
-
};
|
|
668
|
-
var SDKVersionUnsupportedError = class extends RetrivoraError {
|
|
669
|
-
constructor(message = "This SDK version is no longer supported.", details) {
|
|
670
|
-
super(message, "SDK_VERSION_UNSUPPORTED", details);
|
|
671
|
-
}
|
|
672
|
-
};
|
|
673
|
-
var LicenseValidationError = class extends RetrivoraError {
|
|
674
|
-
constructor(message = "License validation failed.", details) {
|
|
675
|
-
super(message, "LICENSE_VALIDATION_ERROR", details);
|
|
676
|
-
}
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
// src/core/LicenseVerifier.ts
|
|
680
|
-
var _LicenseVerifier = class _LicenseVerifier {
|
|
681
|
-
// Cache verified license for 5 minutes
|
|
682
|
-
/**
|
|
683
|
-
* Computes a deterministic hardware fingerprint to enforce node-locked licensing.
|
|
684
|
-
*/
|
|
685
|
-
static async generateMachineFingerprint() {
|
|
686
|
-
if (typeof window !== "undefined" && typeof navigator !== "undefined") {
|
|
687
|
-
return navigator.userAgent || "browser-fallback-fingerprint";
|
|
688
|
-
}
|
|
689
|
-
try {
|
|
690
|
-
const os = await import("os");
|
|
691
|
-
const crypto = await import("crypto");
|
|
692
|
-
const interfaces = os.networkInterfaces();
|
|
693
|
-
const macAddresses = [];
|
|
694
|
-
for (const name of Object.keys(interfaces)) {
|
|
695
|
-
for (const iface of interfaces[name] || []) {
|
|
696
|
-
if (!iface.internal && iface.mac && iface.mac !== "00:00:00:00:00:00") {
|
|
697
|
-
macAddresses.push(iface.mac);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
const rawData = [
|
|
702
|
-
macAddresses.sort().join(","),
|
|
703
|
-
os.platform(),
|
|
704
|
-
os.arch(),
|
|
705
|
-
os.hostname()
|
|
706
|
-
].join("|");
|
|
707
|
-
return crypto.createHash("sha256").update(rawData).digest("hex");
|
|
708
|
-
} catch (err) {
|
|
709
|
-
return "fallback-fingerprint-failed";
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* Validates the license key asynchronously by calling the Retrivora backend.
|
|
714
|
-
*
|
|
715
|
-
* @param licenseKey - Base64url signed JWT license key.
|
|
716
|
-
* @param currentProjectId - Project namespace ID.
|
|
717
|
-
* @param provider - Optional provider for tier checks.
|
|
718
|
-
*/
|
|
719
|
-
static async verifyAsync(licenseKey, currentProjectId, provider) {
|
|
720
|
-
const isProduction = process.env.NODE_ENV === "production";
|
|
721
|
-
const now = Date.now();
|
|
722
|
-
if (!licenseKey) {
|
|
723
|
-
if (isProduction) {
|
|
724
|
-
throw new ConfigurationException(
|
|
725
|
-
"[Retrivora SDK] License key (licenseKey) is required in production environments."
|
|
726
|
-
);
|
|
727
|
-
}
|
|
728
|
-
console.warn(
|
|
729
|
-
`\x1B[33m[Retrivora SDK] WARNING: Running without a license key. This namespace (${currentProjectId}) is permitted for local development only.\x1B[0m`
|
|
730
|
-
);
|
|
731
|
-
return {
|
|
732
|
-
projectId: currentProjectId,
|
|
733
|
-
expiresAt: Math.floor(Date.now() / 1e3) + 86400,
|
|
734
|
-
// Valid for 24h
|
|
735
|
-
tier: "hobby"
|
|
736
|
-
};
|
|
737
|
-
}
|
|
738
|
-
const cacheKey = `${licenseKey}:${currentProjectId}:${provider || ""}`;
|
|
739
|
-
const cached = this.cache.get(cacheKey);
|
|
740
|
-
if (cached && now - cached.cachedAt < this.CACHE_TTL_MS) {
|
|
741
|
-
const currentTimestampSec = Math.floor(now / 1e3);
|
|
742
|
-
if (cached.payload.expiresAt && currentTimestampSec > cached.payload.expiresAt) {
|
|
743
|
-
this.cache.delete(cacheKey);
|
|
744
|
-
} else {
|
|
745
|
-
return cached.payload;
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
try {
|
|
749
|
-
let baseUrl = typeof process !== "undefined" && process.env.RETRIVORA_CONTROL_PLANE_URL ? process.env.RETRIVORA_CONTROL_PLANE_URL : "https://retrivora.com";
|
|
750
|
-
if (typeof process !== "undefined" && process.env.TELEMETRY_URL) {
|
|
751
|
-
baseUrl = process.env.TELEMETRY_URL.replace(/\/api\/telemetry\/?$/, "");
|
|
752
|
-
}
|
|
753
|
-
const endpoint = `${baseUrl}/api/v1/license/validate`;
|
|
754
|
-
let response;
|
|
755
|
-
const machineFingerprint = await this.generateMachineFingerprint();
|
|
756
|
-
try {
|
|
757
|
-
response = await fetch(endpoint, {
|
|
758
|
-
method: "POST",
|
|
759
|
-
headers: {
|
|
760
|
-
"Content-Type": "application/json",
|
|
761
|
-
"x-license-key": licenseKey
|
|
762
|
-
},
|
|
763
|
-
body: JSON.stringify({
|
|
764
|
-
licenseKey,
|
|
765
|
-
projectId: currentProjectId,
|
|
766
|
-
provider,
|
|
767
|
-
machineFingerprint
|
|
768
|
-
})
|
|
769
|
-
});
|
|
770
|
-
} catch (fetchErr) {
|
|
771
|
-
if (!isProduction) {
|
|
772
|
-
console.warn(
|
|
773
|
-
`[Retrivora SDK] WARNING: License validation via API failed due to network error (${fetchErr.message}). Falling back to local development license.`
|
|
774
|
-
);
|
|
775
|
-
return {
|
|
776
|
-
projectId: currentProjectId,
|
|
777
|
-
expiresAt: Math.floor(Date.now() / 1e3) + 86400 * 365 * 10,
|
|
778
|
-
// 10 years
|
|
779
|
-
tier: "hobby"
|
|
780
|
-
};
|
|
781
|
-
}
|
|
782
|
-
throw fetchErr;
|
|
783
|
-
}
|
|
784
|
-
if (!response.ok) {
|
|
785
|
-
let errMessage = `HTTP ${response.status}`;
|
|
786
|
-
try {
|
|
787
|
-
const body = await response.json();
|
|
788
|
-
if (body.message) errMessage = body.message;
|
|
789
|
-
} catch (e) {
|
|
790
|
-
}
|
|
791
|
-
throw new Error(errMessage);
|
|
792
|
-
}
|
|
793
|
-
const data = await response.json();
|
|
794
|
-
if (!data.valid) {
|
|
795
|
-
throw new Error(data.message || "License validation failed by server.");
|
|
796
|
-
}
|
|
797
|
-
let expiresAtNum = Math.floor(Date.now() / 1e3) + 100 * 365 * 24 * 60 * 60;
|
|
798
|
-
if (data.expiresAt) {
|
|
799
|
-
expiresAtNum = Math.floor(new Date(data.expiresAt).getTime() / 1e3);
|
|
800
|
-
}
|
|
801
|
-
const tier = _LicenseVerifier.extractTier(licenseKey);
|
|
802
|
-
const payload = {
|
|
803
|
-
projectId: currentProjectId,
|
|
804
|
-
expiresAt: expiresAtNum,
|
|
805
|
-
tier,
|
|
806
|
-
licenseStatus: data.licenseStatus,
|
|
807
|
-
minimumSupportedVersion: data.minimumSupportedVersion,
|
|
808
|
-
forceUpgrade: data.forceUpgrade
|
|
809
|
-
};
|
|
810
|
-
if (isProduction && provider) {
|
|
811
|
-
const normalizedProvider = provider.toLowerCase();
|
|
812
|
-
if (tier === "hobby") {
|
|
813
|
-
const allowedHobby = ["postgresql", "pgvector", "supabase"];
|
|
814
|
-
if (!allowedHobby.includes(normalizedProvider)) {
|
|
815
|
-
throw new Error(
|
|
816
|
-
`The database provider "${provider}" is not allowed on the Hobby tier. Hobby tier is restricted to PostgreSQL and Supabase. Please upgrade to a Developer Pro or Enterprise plan.`
|
|
817
|
-
);
|
|
818
|
-
}
|
|
819
|
-
} else if (tier === "pro" || tier === "developer_pro" || tier === "premium" || tier === "growth" || tier === "free_trial" || tier === "free_tier" || tier === "free") {
|
|
820
|
-
const allowedPro = [
|
|
821
|
-
"postgresql",
|
|
822
|
-
"pgvector",
|
|
823
|
-
"supabase",
|
|
824
|
-
"pinecone",
|
|
825
|
-
"qdrant",
|
|
826
|
-
"mongodb",
|
|
827
|
-
"milvus",
|
|
828
|
-
"chroma",
|
|
829
|
-
"chromadb"
|
|
830
|
-
];
|
|
831
|
-
if (!allowedPro.includes(normalizedProvider)) {
|
|
832
|
-
throw new Error(
|
|
833
|
-
`The database provider "${provider}" is not allowed on the Developer Pro tier. Please upgrade to an Enterprise plan.`
|
|
834
|
-
);
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
this.cache.set(cacheKey, { payload, cachedAt: now });
|
|
839
|
-
return payload;
|
|
840
|
-
} catch (err) {
|
|
841
|
-
const message = err instanceof Error ? err.message : String(err);
|
|
842
|
-
throw new ConfigurationException(
|
|
843
|
-
`[Retrivora SDK] License key validation failed via API: ${message}`
|
|
844
|
-
);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
static async verifyIP(licenseKey) {
|
|
848
|
-
if (!licenseKey) return;
|
|
849
|
-
try {
|
|
850
|
-
const parts = licenseKey.split(".");
|
|
851
|
-
if (parts.length !== 3) return;
|
|
852
|
-
const [, payloadB64] = parts;
|
|
853
|
-
const payload = JSON.parse(
|
|
854
|
-
Buffer.from(payloadB64, "base64url").toString("utf8")
|
|
855
|
-
);
|
|
856
|
-
const tier = (payload.tier || "").toLowerCase();
|
|
857
|
-
if (tier === "enterprise" || tier === "custom") {
|
|
858
|
-
return;
|
|
859
|
-
}
|
|
860
|
-
if (payload.ipv4 || payload.ipv6) {
|
|
861
|
-
let currentIpv4 = "";
|
|
862
|
-
let currentIpv6 = "";
|
|
863
|
-
try {
|
|
864
|
-
const res = await fetch("https://api4.ipify.org?format=json", { signal: AbortSignal.timeout(3e3) });
|
|
865
|
-
const data = await res.json();
|
|
866
|
-
currentIpv4 = data.ip;
|
|
867
|
-
} catch (e) {
|
|
868
|
-
}
|
|
869
|
-
try {
|
|
870
|
-
const res = await fetch("https://api6.ipify.org?format=json", { signal: AbortSignal.timeout(3e3) });
|
|
871
|
-
const data = await res.json();
|
|
872
|
-
currentIpv6 = data.ip;
|
|
873
|
-
} catch (e) {
|
|
874
|
-
}
|
|
875
|
-
const localIps = [];
|
|
876
|
-
try {
|
|
877
|
-
const osModule = __require("os");
|
|
878
|
-
const interfaces = osModule.networkInterfaces();
|
|
879
|
-
for (const name of Object.keys(interfaces)) {
|
|
880
|
-
for (const iface of interfaces[name] || []) {
|
|
881
|
-
if (!iface.internal) {
|
|
882
|
-
localIps.push(iface.address);
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
} catch (e) {
|
|
887
|
-
}
|
|
888
|
-
const isIpv4Match = payload.ipv4 && (currentIpv4 === payload.ipv4 || localIps.includes(payload.ipv4));
|
|
889
|
-
const isIpv6Match = payload.ipv6 && (currentIpv6 === payload.ipv6 || localIps.includes(payload.ipv6));
|
|
890
|
-
if (payload.ipv4 && payload.ipv6) {
|
|
891
|
-
if (!isIpv4Match && !isIpv6Match) {
|
|
892
|
-
throw new Error(
|
|
893
|
-
`License key access restricted. This license key was created for a different system (authorized IPv4: ${payload.ipv4}, IPv6: ${payload.ipv6}) and cannot be used on this machine.`
|
|
894
|
-
);
|
|
895
|
-
}
|
|
896
|
-
} else if (payload.ipv4 && !isIpv4Match) {
|
|
897
|
-
throw new Error(
|
|
898
|
-
`License key access restricted. This license key was created for a different system (authorized IPv4: ${payload.ipv4}) and cannot be used on this machine.`
|
|
899
|
-
);
|
|
900
|
-
} else if (payload.ipv6 && !isIpv6Match) {
|
|
901
|
-
throw new Error(
|
|
902
|
-
`License key access restricted. This license key was created for a different system (authorized IPv6: ${payload.ipv6}) and cannot be used on this machine.`
|
|
903
|
-
);
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
} catch (err) {
|
|
907
|
-
if (err.message.includes("License key access restricted")) {
|
|
908
|
-
throw new ConfigurationException(`[Retrivora SDK] ${err.message}`);
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
static extractTier(licenseKey) {
|
|
913
|
-
if (!licenseKey) return "hobby";
|
|
914
|
-
try {
|
|
915
|
-
const sanitizedKey = licenseKey.trim().replace(/^["']|["']$/g, "").trim();
|
|
916
|
-
const rawToken = sanitizedKey.replace(/^rtv_/i, "").trim();
|
|
917
|
-
const parts = rawToken.split(".");
|
|
918
|
-
if (parts.length === 3) {
|
|
919
|
-
const decodedPayload = JSON.parse(Buffer.from(parts[1], "base64url").toString("utf8"));
|
|
920
|
-
if (decodedPayload.tier) return decodedPayload.tier;
|
|
921
|
-
}
|
|
922
|
-
} catch (e) {
|
|
923
|
-
}
|
|
924
|
-
return "hobby";
|
|
925
|
-
}
|
|
926
|
-
};
|
|
927
|
-
// In-memory cache to save network overhead on hot paths.
|
|
928
|
-
_LicenseVerifier.cache = /* @__PURE__ */ new Map();
|
|
929
|
-
_LicenseVerifier.CACHE_TTL_MS = 5 * 60 * 1e3;
|
|
930
|
-
var LicenseVerifier = _LicenseVerifier;
|
|
931
|
-
|
|
932
|
-
// src/core/LicenseValidator.ts
|
|
933
|
-
function canUseLocalValidationFallback(baseUrl, status) {
|
|
934
|
-
const explicitFallback = typeof process !== "undefined" && process.env.RETRIVORA_ALLOW_LOCAL_LICENSE_FALLBACK === "true";
|
|
935
|
-
const isLocalSdkRoute = baseUrl.startsWith("/api/retrivora") || baseUrl.includes("/api/retrivora");
|
|
936
|
-
if (status !== void 0) {
|
|
937
|
-
return status === 404 && (explicitFallback || isLocalSdkRoute);
|
|
938
|
-
}
|
|
939
|
-
return explicitFallback || isLocalSdkRoute;
|
|
940
|
-
}
|
|
941
|
-
var _LicenseValidator = class _LicenseValidator {
|
|
942
|
-
// 5-minute TTL for successful validation only
|
|
943
|
-
constructor() {
|
|
944
|
-
this.cache = /* @__PURE__ */ new Map();
|
|
945
|
-
/** In-flight deduplication: concurrent calls for same key share one network request */
|
|
946
|
-
this.inflight = /* @__PURE__ */ new Map();
|
|
947
|
-
}
|
|
948
|
-
/** @returns Singleton instance of the validator (shared cache across all consumers). */
|
|
949
|
-
static getInstance() {
|
|
950
|
-
if (!_LicenseValidator.instance) {
|
|
951
|
-
_LicenseValidator.instance = new _LicenseValidator();
|
|
952
|
-
}
|
|
953
|
-
return _LicenseValidator.instance;
|
|
954
|
-
}
|
|
955
|
-
/**
|
|
956
|
-
* Purge entries from the local success cache.
|
|
957
|
-
*
|
|
958
|
-
* @param licenseKey - Optional. If provided, only that key's cache entry is
|
|
959
|
-
* removed. If omitted the entire cache is cleared.
|
|
960
|
-
* Callers use this after any 401/403 to ensure the next
|
|
961
|
-
* validate() call re-validates against the server.
|
|
962
|
-
*/
|
|
963
|
-
purgeCache(licenseKey) {
|
|
964
|
-
if (licenseKey) {
|
|
965
|
-
this.cache.delete(licenseKey);
|
|
966
|
-
} else {
|
|
967
|
-
this.cache.clear();
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
/**
|
|
971
|
-
* Primary validation entry-point for UI / hook consumers.
|
|
972
|
-
*
|
|
973
|
-
* Resolves the license key, consults the local success cache, performs a
|
|
974
|
-
* server POST for authoritative status, and falls back to local RSA
|
|
975
|
-
* signature verification if the server can't be reached.
|
|
976
|
-
*
|
|
977
|
-
* @throws LicenseValidationError - When no key is provided OR both the
|
|
978
|
-
* server call AND the local-RSA fallback report an invalid/expired key.
|
|
979
|
-
* @throws SDKVersionUnsupportedError - When server reports forceUpgrade=true.
|
|
980
|
-
* @returns A `LicenseValidationResponse` that the UI can use to enable or
|
|
981
|
-
* lock the chat widget.
|
|
982
|
-
*/
|
|
983
|
-
async validate(request) {
|
|
984
|
-
const {
|
|
985
|
-
licenseKey,
|
|
986
|
-
projectId,
|
|
987
|
-
sdkVersion = SDK_VERSION,
|
|
988
|
-
sdk = "@retrivora-ai/rag-engine",
|
|
989
|
-
platform = typeof window !== "undefined" ? "browser" : "node",
|
|
990
|
-
retrivoraApiBase,
|
|
991
|
-
headers: customHeaders
|
|
992
|
-
} = request;
|
|
993
|
-
const effectiveProjectId = projectId || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_RETRIVORA_PROJECT_ID || process.env.RETRIVORA_PROJECT_ID : "") || "";
|
|
994
|
-
const getHeader = (name) => {
|
|
995
|
-
if (!customHeaders) return void 0;
|
|
996
|
-
const target = name.toLowerCase();
|
|
997
|
-
for (const [k, v] of Object.entries(customHeaders)) {
|
|
998
|
-
if (k.toLowerCase() === target) return v;
|
|
999
|
-
}
|
|
1000
|
-
return void 0;
|
|
1001
|
-
};
|
|
1002
|
-
const authHeader = getHeader("authorization");
|
|
1003
|
-
let authHeaderKey = "";
|
|
1004
|
-
if (authHeader && authHeader.toLowerCase().startsWith("bearer ")) {
|
|
1005
|
-
authHeaderKey = authHeader.replace(/^Bearer\s+/i, "");
|
|
1006
|
-
if (authHeaderKey) {
|
|
1007
|
-
console.warn(
|
|
1008
|
-
'[Retrivora SDK] DEPRECATION WARNING (SEC-7): Repurposing the standard "Authorization: Bearer" header to carry the license key is deprecated and will be removed in a future release. Please use the custom "x-license-key" header instead.'
|
|
1009
|
-
);
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
const rawKey = licenseKey || getHeader("x-license-key") || authHeaderKey || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_RETRIVORA_LICENSE_KEY || process.env.RETRIVORA_LICENSE_KEY : "") || "";
|
|
1013
|
-
const effectiveLicenseKey = (rawKey || "").trim().replace(/^["']|["']$/g, "").trim();
|
|
1014
|
-
if (!effectiveLicenseKey) {
|
|
1015
|
-
this.purgeCache(effectiveLicenseKey);
|
|
1016
|
-
throw new LicenseValidationError("Missing RETRIVORA_LICENSE_KEY in request. Set NEXT_PUBLIC_RETRIVORA_LICENSE_KEY in your environment or pass licenseKey as a prop.");
|
|
1017
|
-
}
|
|
1018
|
-
const cached = this.cache.get(effectiveLicenseKey);
|
|
1019
|
-
if (cached) {
|
|
1020
|
-
const isFresh = Date.now() - cached.timestamp < _LicenseValidator.SUCCESS_CACHE_TTL_MS;
|
|
1021
|
-
if (isFresh && cached.response.valid && cached.response.licenseStatus === "ACTIVE" && !cached.response.forceUpgrade) {
|
|
1022
|
-
return cached.response;
|
|
1023
|
-
} else {
|
|
1024
|
-
this.cache.delete(effectiveLicenseKey);
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
const inflightPromise = this._doNetworkValidate(
|
|
1028
|
-
effectiveLicenseKey,
|
|
1029
|
-
effectiveProjectId,
|
|
1030
|
-
sdkVersion,
|
|
1031
|
-
sdk,
|
|
1032
|
-
platform,
|
|
1033
|
-
retrivoraApiBase,
|
|
1034
|
-
customHeaders
|
|
1035
|
-
);
|
|
1036
|
-
this.inflight.set(effectiveLicenseKey, inflightPromise);
|
|
1037
|
-
try {
|
|
1038
|
-
return await inflightPromise;
|
|
1039
|
-
} finally {
|
|
1040
|
-
this.inflight.delete(effectiveLicenseKey);
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
/** Performs the actual network request. Called once; result shared by in-flight dedup. */
|
|
1044
|
-
async _doNetworkValidate(effectiveLicenseKey, effectiveProjectId, sdkVersion, sdk, platform, retrivoraApiBase, customHeaders) {
|
|
1045
|
-
const base = retrivoraApiBase || (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_RETRIVORA_API_BASE || process.env.RETRIVORA_API_BASE : "") || "https://www.retrivora.com/api";
|
|
1046
|
-
const validateUrl = `${base.replace(/\/$/, "")}/v1/license/validate`;
|
|
1047
|
-
let res = null;
|
|
1048
|
-
try {
|
|
1049
|
-
res = await fetch(validateUrl, {
|
|
1050
|
-
method: "POST",
|
|
1051
|
-
cache: "no-store",
|
|
1052
|
-
headers: __spreadValues({
|
|
1053
|
-
"Content-Type": "application/json",
|
|
1054
|
-
"x-license-key": effectiveLicenseKey,
|
|
1055
|
-
"x-sdk-version": sdkVersion
|
|
1056
|
-
}, customHeaders || {}),
|
|
1057
|
-
body: JSON.stringify({
|
|
1058
|
-
licenseKey: effectiveLicenseKey,
|
|
1059
|
-
projectId: effectiveProjectId,
|
|
1060
|
-
sdkVersion,
|
|
1061
|
-
sdk,
|
|
1062
|
-
platform
|
|
1063
|
-
})
|
|
1064
|
-
});
|
|
1065
|
-
} catch (err) {
|
|
1066
|
-
try {
|
|
1067
|
-
if (!canUseLocalValidationFallback(base)) {
|
|
1068
|
-
throw err;
|
|
1069
|
-
}
|
|
1070
|
-
const payload = await LicenseVerifier.verifyAsync(effectiveLicenseKey, effectiveProjectId);
|
|
1071
|
-
const fallbackResp = {
|
|
1072
|
-
valid: true,
|
|
1073
|
-
licenseStatus: "ACTIVE",
|
|
1074
|
-
minimumSupportedVersion: "2.1.0",
|
|
1075
|
-
latestVersion: SDK_VERSION,
|
|
1076
|
-
forceUpgrade: false,
|
|
1077
|
-
expiresAt: payload.expiresAt ? new Date(payload.expiresAt * 1e3).toISOString() : null,
|
|
1078
|
-
message: "Local license verification active."
|
|
1079
|
-
};
|
|
1080
|
-
this.cache.set(effectiveLicenseKey, { response: fallbackResp, timestamp: Date.now() });
|
|
1081
|
-
return fallbackResp;
|
|
1082
|
-
} catch (e) {
|
|
1083
|
-
this.purgeCache(effectiveLicenseKey);
|
|
1084
|
-
throw new LicenseValidationError(`License validation request failed: ${(err == null ? void 0 : err.message) || "Network error"}`);
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
if (res && !res.ok && canUseLocalValidationFallback(base, res.status)) {
|
|
1088
|
-
try {
|
|
1089
|
-
const payload = await LicenseVerifier.verifyAsync(effectiveLicenseKey, effectiveProjectId);
|
|
1090
|
-
const fallbackResp = {
|
|
1091
|
-
valid: true,
|
|
1092
|
-
licenseStatus: "ACTIVE",
|
|
1093
|
-
minimumSupportedVersion: "2.1.0",
|
|
1094
|
-
latestVersion: SDK_VERSION,
|
|
1095
|
-
forceUpgrade: false,
|
|
1096
|
-
expiresAt: payload.expiresAt ? new Date(payload.expiresAt * 1e3).toISOString() : null,
|
|
1097
|
-
message: "Local license verification active."
|
|
1098
|
-
};
|
|
1099
|
-
this.cache.set(effectiveLicenseKey, { response: fallbackResp, timestamp: Date.now() });
|
|
1100
|
-
return fallbackResp;
|
|
1101
|
-
} catch (e) {
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
const data = await res.json().catch(() => ({
|
|
1105
|
-
valid: false,
|
|
1106
|
-
licenseStatus: "REVOKED",
|
|
1107
|
-
minimumSupportedVersion: "2.1.0",
|
|
1108
|
-
latestVersion: SDK_VERSION,
|
|
1109
|
-
forceUpgrade: false,
|
|
1110
|
-
expiresAt: null,
|
|
1111
|
-
message: "Failed to parse license validation response."
|
|
1112
|
-
}));
|
|
1113
|
-
if (!res.ok || !data.valid || data.licenseStatus !== "ACTIVE" || data.forceUpgrade) {
|
|
1114
|
-
this.purgeCache(effectiveLicenseKey);
|
|
1115
|
-
if (data.forceUpgrade || res.status === 426) {
|
|
1116
|
-
throw new SDKVersionUnsupportedError(
|
|
1117
|
-
data.message || `This SDK version (${sdkVersion}) is no longer supported. Upgrade to version ${data.latestVersion || "2.2.6"} or later.`,
|
|
1118
|
-
data
|
|
1119
|
-
);
|
|
1120
|
-
}
|
|
1121
|
-
const errMsg = data.message || `License validation failed with status: ${data.licenseStatus}. Access denied.`;
|
|
1122
|
-
throw new LicenseValidationError(errMsg, data);
|
|
1123
|
-
}
|
|
1124
|
-
this.cache.set(effectiveLicenseKey, {
|
|
1125
|
-
response: data,
|
|
1126
|
-
timestamp: Date.now()
|
|
1127
|
-
});
|
|
1128
|
-
return data;
|
|
1129
|
-
}
|
|
1130
|
-
};
|
|
1131
|
-
_LicenseValidator.SUCCESS_CACHE_TTL_MS = 5 * 60 * 1e3;
|
|
1132
|
-
var LicenseValidator = _LicenseValidator;
|
|
1133
|
-
|
|
1134
134
|
// src/components/ConfigProvider.tsx
|
|
1135
135
|
import { jsx } from "react/jsx-runtime";
|
|
1136
136
|
var ConfigContext = createContext(DEFAULT_CONFIG);
|
|
@@ -1598,7 +598,7 @@ function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComple
|
|
|
1598
598
|
|
|
1599
599
|
// src/components/MessageBubble.tsx
|
|
1600
600
|
import React11 from "react";
|
|
1601
|
-
import { Bot, User, ChevronDown as ChevronDown4, ChevronRight as ChevronRight4, Activity, Copy, Check, ThumbsUp, ThumbsDown, Clock as Clock2 } from "lucide-react";
|
|
601
|
+
import { Bot, User, ChevronDown as ChevronDown4, ChevronRight as ChevronRight4, Activity, Copy, Check, ThumbsUp, ThumbsDown, Clock as Clock2, Volume2, VolumeX } from "lucide-react";
|
|
1602
602
|
import ReactMarkdown from "react-markdown";
|
|
1603
603
|
import remarkMath from "remark-math";
|
|
1604
604
|
import rehypeKatex from "rehype-katex";
|
|
@@ -2759,90 +1759,6 @@ function ObservabilityPanel({ trace, primaryColor = "#6366f1" }) {
|
|
|
2759
1759
|
] });
|
|
2760
1760
|
}
|
|
2761
1761
|
|
|
2762
|
-
// src/utils/synonyms.ts
|
|
2763
|
-
var FIELD_SYNONYMS = {
|
|
2764
|
-
name: ["product", "item", "title", "label", "heading", "subject", "product name", "item name"],
|
|
2765
|
-
price: ["cost", "amount", "msrp", "price", "rate", "value", "price_usd", "variant price"],
|
|
2766
|
-
brand: ["manufacturer", "vendor", "make", "company", "brand_name", "supplier"],
|
|
2767
|
-
image: [
|
|
2768
|
-
"imageUrl",
|
|
2769
|
-
"thumbnail",
|
|
2770
|
-
"img",
|
|
2771
|
-
"url",
|
|
2772
|
-
"photo",
|
|
2773
|
-
"picture",
|
|
2774
|
-
"media",
|
|
2775
|
-
"image_url",
|
|
2776
|
-
"main_image",
|
|
2777
|
-
"product_image",
|
|
2778
|
-
"thumb",
|
|
2779
|
-
"image src",
|
|
2780
|
-
"variant image"
|
|
2781
|
-
],
|
|
2782
|
-
stock: [
|
|
2783
|
-
"inventory",
|
|
2784
|
-
"quantity",
|
|
2785
|
-
"count",
|
|
2786
|
-
"availability",
|
|
2787
|
-
"stock_level",
|
|
2788
|
-
"inStock",
|
|
2789
|
-
"is_available",
|
|
2790
|
-
"in stock",
|
|
2791
|
-
"status",
|
|
2792
|
-
"variant inventory qty"
|
|
2793
|
-
],
|
|
2794
|
-
category: [
|
|
2795
|
-
"product_category",
|
|
2796
|
-
"product category",
|
|
2797
|
-
"category_name",
|
|
2798
|
-
"category name",
|
|
2799
|
-
"department",
|
|
2800
|
-
"collection",
|
|
2801
|
-
"type"
|
|
2802
|
-
],
|
|
2803
|
-
description: ["summary", "content", "body", "text", "info", "details", "body (html)", "seo description"],
|
|
2804
|
-
link: ["url", "href", "product_url", "page_url", "link"]
|
|
2805
|
-
};
|
|
2806
|
-
function addSynonyms(customSynonyms) {
|
|
2807
|
-
for (const [key, aliases] of Object.entries(customSynonyms)) {
|
|
2808
|
-
if (!FIELD_SYNONYMS[key]) {
|
|
2809
|
-
FIELD_SYNONYMS[key] = [];
|
|
2810
|
-
}
|
|
2811
|
-
const existing = new Set(FIELD_SYNONYMS[key].map((s) => s.toLowerCase()));
|
|
2812
|
-
for (const alias of aliases) {
|
|
2813
|
-
if (!existing.has(alias.toLowerCase())) {
|
|
2814
|
-
FIELD_SYNONYMS[key].push(alias);
|
|
2815
|
-
existing.add(alias.toLowerCase());
|
|
2816
|
-
}
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
function resolveMetadataValue(meta, uiKey) {
|
|
2821
|
-
var _a;
|
|
2822
|
-
const synonyms = (_a = FIELD_SYNONYMS[uiKey]) != null ? _a : [];
|
|
2823
|
-
const keys = Object.keys(meta);
|
|
2824
|
-
const systemKeys = ["namespace", "filename", "filesize", "filetype", "docid", "uploadedat", "dimension", "chunkindex"];
|
|
2825
|
-
let match = keys.find((k) => k.toLowerCase() === uiKey.toLowerCase());
|
|
2826
|
-
if (match !== void 0) return meta[match];
|
|
2827
|
-
match = keys.find((k) => synonyms.map((s) => s.toLowerCase()).includes(k.toLowerCase()));
|
|
2828
|
-
if (match !== void 0) return meta[match];
|
|
2829
|
-
const isBlacklisted = (kl) => {
|
|
2830
|
-
return systemKeys.includes(kl) || kl.startsWith("option1") || kl.startsWith("option2") || kl.startsWith("option3");
|
|
2831
|
-
};
|
|
2832
|
-
match = keys.find((k) => {
|
|
2833
|
-
const kl = k.toLowerCase();
|
|
2834
|
-
if (isBlacklisted(kl)) return false;
|
|
2835
|
-
return kl.includes(uiKey.toLowerCase());
|
|
2836
|
-
});
|
|
2837
|
-
if (match !== void 0) return meta[match];
|
|
2838
|
-
match = keys.find((k) => {
|
|
2839
|
-
const kl = k.toLowerCase();
|
|
2840
|
-
if (isBlacklisted(kl)) return false;
|
|
2841
|
-
return synonyms.some((sk) => kl.includes(sk.toLowerCase()) || sk.toLowerCase().includes(kl));
|
|
2842
|
-
});
|
|
2843
|
-
return match !== void 0 ? meta[match] : void 0;
|
|
2844
|
-
}
|
|
2845
|
-
|
|
2846
1762
|
// src/utils/ProductExtractor.ts
|
|
2847
1763
|
function sanitizeJson(raw) {
|
|
2848
1764
|
let s = raw.trim();
|
|
@@ -3887,7 +2803,9 @@ function MessageBubble({
|
|
|
3887
2803
|
onAddToCart,
|
|
3888
2804
|
viewportSize = "large",
|
|
3889
2805
|
showSources: showSourcesProp = true,
|
|
3890
|
-
onFeedback
|
|
2806
|
+
onFeedback,
|
|
2807
|
+
isSpeaking = false,
|
|
2808
|
+
onToggleSpeak
|
|
3891
2809
|
}) {
|
|
3892
2810
|
var _a;
|
|
3893
2811
|
const isUser = message.role === "user";
|
|
@@ -4136,6 +3054,18 @@ ${match.trim()}
|
|
|
4136
3054
|
/* @__PURE__ */ jsx13(Clock2, { className: "w-2.5 h-2.5" }),
|
|
4137
3055
|
timeLabel
|
|
4138
3056
|
] }),
|
|
3057
|
+
isCompleted && onToggleSpeak && /* @__PURE__ */ jsxs12(
|
|
3058
|
+
"button",
|
|
3059
|
+
{
|
|
3060
|
+
onClick: () => onToggleSpeak(message.content, message.id),
|
|
3061
|
+
title: isSpeaking ? "Stop speaking" : "Read aloud",
|
|
3062
|
+
className: `group relative flex items-center justify-center w-6 h-6 rounded-lg transition-all duration-200 cursor-pointer border ${isSpeaking ? "bg-indigo-50 dark:bg-indigo-500/20 border-indigo-300 dark:border-indigo-500/40 text-indigo-600 dark:text-indigo-400 animate-pulse scale-105" : "border-transparent text-slate-300 dark:text-white/20 hover:text-indigo-500 dark:hover:text-indigo-400 hover:bg-indigo-50 dark:hover:bg-indigo-500/10 hover:border-indigo-200 dark:hover:border-indigo-500/20 hover:scale-110"}`,
|
|
3063
|
+
children: [
|
|
3064
|
+
isSpeaking ? /* @__PURE__ */ jsx13(VolumeX, { className: "w-3 h-3 text-indigo-500" }) : /* @__PURE__ */ jsx13(Volume2, { className: "w-3 h-3" }),
|
|
3065
|
+
/* @__PURE__ */ jsx13("span", { className: "absolute -top-8 left-1/2 -translate-x-1/2 px-2 py-1 text-[10px] font-medium bg-slate-800 dark:bg-slate-700 text-white rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10", children: isSpeaking ? "Stop speaking" : "Read aloud" })
|
|
3066
|
+
]
|
|
3067
|
+
}
|
|
3068
|
+
),
|
|
4139
3069
|
isCompleted && onFeedback && message.id && /* @__PURE__ */ jsx13(
|
|
4140
3070
|
FeedbackBar,
|
|
4141
3071
|
{
|
|
@@ -4580,23 +3510,232 @@ function useRagChat(projectId, options = {}) {
|
|
|
4580
3510
|
});
|
|
4581
3511
|
if (!res.ok) throw new Error(`Failed to submit feedback: ${res.statusText}`);
|
|
4582
3512
|
} catch (err) {
|
|
4583
|
-
const msg = err instanceof Error ? err.message : "Failed to submit feedback";
|
|
4584
|
-
onError == null ? void 0 : onError(msg);
|
|
4585
|
-
throw err;
|
|
3513
|
+
const msg = err instanceof Error ? err.message : "Failed to submit feedback";
|
|
3514
|
+
onError == null ? void 0 : onError(msg);
|
|
3515
|
+
throw err;
|
|
3516
|
+
}
|
|
3517
|
+
}, [retrivoraApiBase, onError, options.sessionId, resolvedLicenseKey, projectId, options.headers]);
|
|
3518
|
+
return {
|
|
3519
|
+
messages,
|
|
3520
|
+
isLoading,
|
|
3521
|
+
error,
|
|
3522
|
+
send: sendMessage,
|
|
3523
|
+
clear,
|
|
3524
|
+
retry,
|
|
3525
|
+
setMessages,
|
|
3526
|
+
stop,
|
|
3527
|
+
loadHistory,
|
|
3528
|
+
clearHistory,
|
|
3529
|
+
submitFeedback
|
|
3530
|
+
};
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
// src/hooks/useVoice.ts
|
|
3534
|
+
import { useState as useState8, useEffect as useEffect7, useRef as useRef6, useCallback as useCallback2 } from "react";
|
|
3535
|
+
function cleanMarkdownForSpeech(raw) {
|
|
3536
|
+
if (!raw) return "";
|
|
3537
|
+
return raw.replace(/```[\s\S]*?```/g, "").replace(/`([^`]+)`/g, "$1").replace(/!\[([^\]]*)\]\([^)]*\)/g, "").replace(/\[([^\]]+)\]\([^)]*\)/g, "$1").replace(/^#{1,6}\s+/gm, "").replace(/(\*\*|__|\*|_)/g, "").replace(/^\s*>\s+/gm, "").replace(/^[-*_]{3,}\s*$/gm, "").replace(/^\s*[-+*]\s+/gm, "").replace(/^\s*\d+\.\s+/gm, "").replace(/\n+/g, ". ").replace(/\s{2,}/g, " ").trim();
|
|
3538
|
+
}
|
|
3539
|
+
function useVoice(options = {}) {
|
|
3540
|
+
const {
|
|
3541
|
+
lang = typeof navigator !== "undefined" ? navigator.language || "en-US" : "en-US",
|
|
3542
|
+
autoSpeak: initialAutoSpeak = false,
|
|
3543
|
+
pitch = 1,
|
|
3544
|
+
rate = 1,
|
|
3545
|
+
onTranscript,
|
|
3546
|
+
onInterimResult,
|
|
3547
|
+
onError
|
|
3548
|
+
} = options;
|
|
3549
|
+
const [isSupportedSTT, setIsSupportedSTT] = useState8(false);
|
|
3550
|
+
const [isSupportedTTS, setIsSupportedTTS] = useState8(false);
|
|
3551
|
+
const [isListening, setIsListening] = useState8(false);
|
|
3552
|
+
const [transcript, setTranscript] = useState8("");
|
|
3553
|
+
const [isSpeaking, setIsSpeaking] = useState8(false);
|
|
3554
|
+
const [currentlySpeakingId, setCurrentlySpeakingId] = useState8(null);
|
|
3555
|
+
const [autoSpeak, setAutoSpeak] = useState8(initialAutoSpeak);
|
|
3556
|
+
const recognitionRef = useRef6(null);
|
|
3557
|
+
const onTranscriptRef = useRef6(onTranscript);
|
|
3558
|
+
const onInterimResultRef = useRef6(onInterimResult);
|
|
3559
|
+
const onErrorRef = useRef6(onError);
|
|
3560
|
+
useEffect7(() => {
|
|
3561
|
+
onTranscriptRef.current = onTranscript;
|
|
3562
|
+
onInterimResultRef.current = onInterimResult;
|
|
3563
|
+
onErrorRef.current = onError;
|
|
3564
|
+
}, [onTranscript, onInterimResult, onError]);
|
|
3565
|
+
useEffect7(() => {
|
|
3566
|
+
if (typeof window !== "undefined") {
|
|
3567
|
+
const win = window;
|
|
3568
|
+
const HasSTT = Boolean(win.SpeechRecognition || win.webkitSpeechRecognition);
|
|
3569
|
+
const HasTTS = Boolean(window.speechSynthesis && window.SpeechSynthesisUtterance);
|
|
3570
|
+
setIsSupportedSTT(HasSTT);
|
|
3571
|
+
setIsSupportedTTS(HasTTS);
|
|
3572
|
+
}
|
|
3573
|
+
}, []);
|
|
3574
|
+
const stopListening = useCallback2(() => {
|
|
3575
|
+
if (recognitionRef.current) {
|
|
3576
|
+
try {
|
|
3577
|
+
recognitionRef.current.stop();
|
|
3578
|
+
} catch (e) {
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
setIsListening(false);
|
|
3582
|
+
}, []);
|
|
3583
|
+
const startListening = useCallback2((overrideLang) => {
|
|
3584
|
+
var _a, _b;
|
|
3585
|
+
if (typeof window === "undefined") return;
|
|
3586
|
+
const win = window;
|
|
3587
|
+
const SpeechRecognition = win.SpeechRecognition || win.webkitSpeechRecognition;
|
|
3588
|
+
if (!SpeechRecognition) {
|
|
3589
|
+
const msg = "Speech Recognition is not supported in this browser.";
|
|
3590
|
+
(_a = onErrorRef.current) == null ? void 0 : _a.call(onErrorRef, msg);
|
|
3591
|
+
return;
|
|
3592
|
+
}
|
|
3593
|
+
stopListening();
|
|
3594
|
+
try {
|
|
3595
|
+
const recognition = new SpeechRecognition();
|
|
3596
|
+
recognition.continuous = true;
|
|
3597
|
+
recognition.interimResults = true;
|
|
3598
|
+
recognition.lang = overrideLang || lang;
|
|
3599
|
+
recognition.onresult = (event) => {
|
|
3600
|
+
var _a2, _b2;
|
|
3601
|
+
let finalTranscript = "";
|
|
3602
|
+
let interimTranscript = "";
|
|
3603
|
+
for (let i = event.resultIndex; i < event.results.length; ++i) {
|
|
3604
|
+
const res = event.results[i];
|
|
3605
|
+
if (res.isFinal) {
|
|
3606
|
+
finalTranscript += res[0].transcript;
|
|
3607
|
+
} else {
|
|
3608
|
+
interimTranscript += res[0].transcript;
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
if (interimTranscript) {
|
|
3612
|
+
(_a2 = onInterimResultRef.current) == null ? void 0 : _a2.call(onInterimResultRef, interimTranscript);
|
|
3613
|
+
}
|
|
3614
|
+
if (finalTranscript) {
|
|
3615
|
+
const trimmed = finalTranscript.trim();
|
|
3616
|
+
setTranscript((prev) => (prev ? prev + " " : "") + trimmed);
|
|
3617
|
+
(_b2 = onTranscriptRef.current) == null ? void 0 : _b2.call(onTranscriptRef, trimmed);
|
|
3618
|
+
}
|
|
3619
|
+
};
|
|
3620
|
+
recognition.onerror = (event) => {
|
|
3621
|
+
var _a2;
|
|
3622
|
+
console.warn("[useVoice] Speech recognition error:", event.error);
|
|
3623
|
+
if (event.error !== "no-speech") {
|
|
3624
|
+
let userMsg = event.error;
|
|
3625
|
+
if (event.error === "not-allowed" || event.error === "permission-denied") {
|
|
3626
|
+
userMsg = "Microphone access was denied. Please allow microphone permission in your browser settings.";
|
|
3627
|
+
} else if (event.error === "network") {
|
|
3628
|
+
userMsg = "Speech recognition network error. Please check your connection.";
|
|
3629
|
+
} else if (event.error === "audio-capture") {
|
|
3630
|
+
userMsg = "No microphone was detected on your system.";
|
|
3631
|
+
}
|
|
3632
|
+
(_a2 = onErrorRef.current) == null ? void 0 : _a2.call(onErrorRef, userMsg);
|
|
3633
|
+
}
|
|
3634
|
+
setIsListening(false);
|
|
3635
|
+
};
|
|
3636
|
+
recognition.onend = () => {
|
|
3637
|
+
setIsListening(false);
|
|
3638
|
+
};
|
|
3639
|
+
recognitionRef.current = recognition;
|
|
3640
|
+
recognition.start();
|
|
3641
|
+
setIsListening(true);
|
|
3642
|
+
setTranscript("");
|
|
3643
|
+
} catch (err) {
|
|
3644
|
+
console.error("[useVoice] Failed to start recognition:", err);
|
|
3645
|
+
setIsListening(false);
|
|
3646
|
+
(_b = onErrorRef.current) == null ? void 0 : _b.call(onErrorRef, (err == null ? void 0 : err.message) || "Failed to start microphone");
|
|
4586
3647
|
}
|
|
4587
|
-
}, [
|
|
3648
|
+
}, [lang, stopListening]);
|
|
3649
|
+
const toggleListening = useCallback2(() => {
|
|
3650
|
+
if (isListening) {
|
|
3651
|
+
stopListening();
|
|
3652
|
+
} else {
|
|
3653
|
+
startListening();
|
|
3654
|
+
}
|
|
3655
|
+
}, [isListening, startListening, stopListening]);
|
|
3656
|
+
const stopSpeaking = useCallback2(() => {
|
|
3657
|
+
if (typeof window !== "undefined" && window.speechSynthesis) {
|
|
3658
|
+
window.speechSynthesis.cancel();
|
|
3659
|
+
}
|
|
3660
|
+
setIsSpeaking(false);
|
|
3661
|
+
setCurrentlySpeakingId(null);
|
|
3662
|
+
}, []);
|
|
3663
|
+
const speak = useCallback2((text, messageId) => {
|
|
3664
|
+
var _a;
|
|
3665
|
+
if (typeof window === "undefined" || !window.speechSynthesis) {
|
|
3666
|
+
(_a = onErrorRef.current) == null ? void 0 : _a.call(onErrorRef, "Text-to-speech is not supported in this browser.");
|
|
3667
|
+
return;
|
|
3668
|
+
}
|
|
3669
|
+
const cleanText = cleanMarkdownForSpeech(text);
|
|
3670
|
+
if (!cleanText) return;
|
|
3671
|
+
stopSpeaking();
|
|
3672
|
+
const utterance = new SpeechSynthesisUtterance(cleanText);
|
|
3673
|
+
utterance.lang = lang;
|
|
3674
|
+
utterance.pitch = pitch;
|
|
3675
|
+
utterance.rate = rate;
|
|
3676
|
+
const voices = window.speechSynthesis.getVoices();
|
|
3677
|
+
if (voices.length > 0) {
|
|
3678
|
+
const matchVoice = voices.find((v) => v.lang.startsWith(lang.split("-")[0])) || voices.find((v) => v.default);
|
|
3679
|
+
if (matchVoice) {
|
|
3680
|
+
utterance.voice = matchVoice;
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
const targetId = messageId || `speech_${Date.now()}`;
|
|
3684
|
+
utterance.onstart = () => {
|
|
3685
|
+
setIsSpeaking(true);
|
|
3686
|
+
setCurrentlySpeakingId(targetId);
|
|
3687
|
+
};
|
|
3688
|
+
utterance.onend = () => {
|
|
3689
|
+
setIsSpeaking(false);
|
|
3690
|
+
setCurrentlySpeakingId(null);
|
|
3691
|
+
};
|
|
3692
|
+
utterance.onerror = (e) => {
|
|
3693
|
+
console.warn("[useVoice] Speech synthesis error:", e);
|
|
3694
|
+
setIsSpeaking(false);
|
|
3695
|
+
setCurrentlySpeakingId(null);
|
|
3696
|
+
};
|
|
3697
|
+
window.speechSynthesis.speak(utterance);
|
|
3698
|
+
}, [lang, pitch, rate, stopSpeaking]);
|
|
3699
|
+
const toggleSpeak = useCallback2((text, messageId) => {
|
|
3700
|
+
const targetId = messageId || `speech_${Date.now()}`;
|
|
3701
|
+
if (isSpeaking && currentlySpeakingId === targetId) {
|
|
3702
|
+
stopSpeaking();
|
|
3703
|
+
} else {
|
|
3704
|
+
speak(text, targetId);
|
|
3705
|
+
}
|
|
3706
|
+
}, [isSpeaking, currentlySpeakingId, speak, stopSpeaking]);
|
|
3707
|
+
const toggleAutoSpeak = useCallback2(() => {
|
|
3708
|
+
setAutoSpeak((prev) => !prev);
|
|
3709
|
+
}, []);
|
|
3710
|
+
useEffect7(() => {
|
|
3711
|
+
return () => {
|
|
3712
|
+
if (recognitionRef.current) {
|
|
3713
|
+
try {
|
|
3714
|
+
recognitionRef.current.abort();
|
|
3715
|
+
} catch (e) {
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
if (typeof window !== "undefined" && window.speechSynthesis) {
|
|
3719
|
+
window.speechSynthesis.cancel();
|
|
3720
|
+
}
|
|
3721
|
+
};
|
|
3722
|
+
}, []);
|
|
4588
3723
|
return {
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
3724
|
+
isSupportedSTT,
|
|
3725
|
+
isSupportedTTS,
|
|
3726
|
+
isListening,
|
|
3727
|
+
transcript,
|
|
3728
|
+
startListening,
|
|
3729
|
+
stopListening,
|
|
3730
|
+
toggleListening,
|
|
3731
|
+
isSpeaking,
|
|
3732
|
+
currentlySpeakingId,
|
|
3733
|
+
autoSpeak,
|
|
3734
|
+
setAutoSpeak,
|
|
3735
|
+
toggleAutoSpeak,
|
|
3736
|
+
speak,
|
|
3737
|
+
stopSpeaking,
|
|
3738
|
+
toggleSpeak
|
|
4600
3739
|
};
|
|
4601
3740
|
}
|
|
4602
3741
|
|
|
@@ -4618,7 +3757,10 @@ function ChatWindow({
|
|
|
4618
3757
|
licenseKey: licenseKeyProp,
|
|
4619
3758
|
headers,
|
|
4620
3759
|
sessionId: sessionIdProp,
|
|
4621
|
-
showHistory = false
|
|
3760
|
+
showHistory = false,
|
|
3761
|
+
enableVoice = true,
|
|
3762
|
+
autoSpeak: autoSpeakProp = false,
|
|
3763
|
+
voiceLang
|
|
4622
3764
|
}) {
|
|
4623
3765
|
var _a;
|
|
4624
3766
|
const {
|
|
@@ -4635,13 +3777,13 @@ function ChatWindow({
|
|
|
4635
3777
|
const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
|
|
4636
3778
|
const effectiveHeaders = headers || contextHeaders;
|
|
4637
3779
|
const effectiveApiBase = retrivoraApiBase || contextApiBase;
|
|
4638
|
-
const [input, setInput] =
|
|
4639
|
-
const [mounted, setMounted] =
|
|
4640
|
-
const [viewportSize, setViewportSize] =
|
|
4641
|
-
const windowRef =
|
|
4642
|
-
const bottomRef =
|
|
4643
|
-
const inputRef =
|
|
4644
|
-
const [internalSessionId, setInternalSessionId] =
|
|
3780
|
+
const [input, setInput] = useState9("");
|
|
3781
|
+
const [mounted, setMounted] = useState9(false);
|
|
3782
|
+
const [viewportSize, setViewportSize] = useState9("large");
|
|
3783
|
+
const windowRef = useRef7(null);
|
|
3784
|
+
const bottomRef = useRef7(null);
|
|
3785
|
+
const inputRef = useRef7(null);
|
|
3786
|
+
const [internalSessionId, setInternalSessionId] = useState9(sessionIdProp || "default");
|
|
4645
3787
|
const activeSessionId = sessionIdProp || internalSessionId;
|
|
4646
3788
|
const {
|
|
4647
3789
|
messages,
|
|
@@ -4662,13 +3804,13 @@ function ChatWindow({
|
|
|
4662
3804
|
persist: projectSettings == null ? void 0 : projectSettings.widget.persistConversations,
|
|
4663
3805
|
sessionId: activeSessionId
|
|
4664
3806
|
});
|
|
4665
|
-
|
|
3807
|
+
useEffect8(() => {
|
|
4666
3808
|
if (activeSessionId) {
|
|
4667
3809
|
loadHistory(activeSessionId);
|
|
4668
3810
|
}
|
|
4669
3811
|
}, [activeSessionId, loadHistory]);
|
|
4670
|
-
const [sessions, setSessions] =
|
|
4671
|
-
const fetchSessions =
|
|
3812
|
+
const [sessions, setSessions] = useState9([]);
|
|
3813
|
+
const fetchSessions = useCallback3(async () => {
|
|
4672
3814
|
try {
|
|
4673
3815
|
const base = effectiveApiBase || "https://www.retrivora.com/api/retrivora";
|
|
4674
3816
|
const res = await fetch(`${base}/sessions`, {
|
|
@@ -4709,73 +3851,62 @@ function ChatWindow({
|
|
|
4709
3851
|
console.warn("[ChatWindow] Failed to load sessions list:", e);
|
|
4710
3852
|
}
|
|
4711
3853
|
}, [effectiveApiBase, effectiveLicenseKey, projectId, effectiveHeaders]);
|
|
4712
|
-
|
|
3854
|
+
useEffect8(() => {
|
|
4713
3855
|
if (showHistory && mounted) {
|
|
4714
3856
|
fetchSessions();
|
|
4715
3857
|
}
|
|
4716
3858
|
}, [showHistory, mounted, fetchSessions, activeSessionId]);
|
|
4717
|
-
|
|
3859
|
+
useEffect8(() => {
|
|
4718
3860
|
if (!isLoading && showHistory && mounted) {
|
|
4719
3861
|
fetchSessions();
|
|
4720
3862
|
}
|
|
4721
3863
|
}, [isLoading, showHistory, mounted, fetchSessions]);
|
|
4722
|
-
const [suggestions, setSuggestions] =
|
|
4723
|
-
const [isSuggesting, setIsSuggesting] =
|
|
4724
|
-
const [
|
|
4725
|
-
const [
|
|
4726
|
-
const
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
setIsListening(false);
|
|
4751
|
-
};
|
|
4752
|
-
recognition.onend = () => {
|
|
4753
|
-
setIsListening(false);
|
|
4754
|
-
};
|
|
4755
|
-
recognitionRef.current = recognition;
|
|
4756
|
-
}
|
|
4757
|
-
}
|
|
4758
|
-
}, []);
|
|
4759
|
-
const toggleListening = () => {
|
|
4760
|
-
if (!recognitionRef.current) {
|
|
4761
|
-
alert("Speech recognition is not supported in your browser.");
|
|
4762
|
-
return;
|
|
3864
|
+
const [suggestions, setSuggestions] = useState9([]);
|
|
3865
|
+
const [isSuggesting, setIsSuggesting] = useState9(false);
|
|
3866
|
+
const [isUploadModalOpen, setIsUploadModalOpen] = useState9(false);
|
|
3867
|
+
const [voiceError, setVoiceError] = useState9(null);
|
|
3868
|
+
const {
|
|
3869
|
+
isSupportedSTT,
|
|
3870
|
+
isSupportedTTS,
|
|
3871
|
+
isListening,
|
|
3872
|
+
startListening,
|
|
3873
|
+
stopListening,
|
|
3874
|
+
toggleListening,
|
|
3875
|
+
isSpeaking,
|
|
3876
|
+
currentlySpeakingId,
|
|
3877
|
+
autoSpeak,
|
|
3878
|
+
toggleAutoSpeak,
|
|
3879
|
+
speak,
|
|
3880
|
+
stopSpeaking,
|
|
3881
|
+
toggleSpeak
|
|
3882
|
+
} = useVoice({
|
|
3883
|
+
lang: voiceLang,
|
|
3884
|
+
autoSpeak: autoSpeakProp,
|
|
3885
|
+
onTranscript: (finalText) => {
|
|
3886
|
+
setInput((prev) => (prev ? prev + " " : "") + finalText);
|
|
3887
|
+
},
|
|
3888
|
+
onError: (err) => {
|
|
3889
|
+
console.warn("[ChatWindow] Voice error:", err);
|
|
3890
|
+
setVoiceError(err);
|
|
3891
|
+
setTimeout(() => setVoiceError(null), 6e3);
|
|
4763
3892
|
}
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
console.error("Failed to start recognition:", err);
|
|
3893
|
+
});
|
|
3894
|
+
const prevIsLoadingRef = useRef7(isLoading);
|
|
3895
|
+
useEffect8(() => {
|
|
3896
|
+
if (prevIsLoadingRef.current && !isLoading && autoSpeak && messages.length > 0) {
|
|
3897
|
+
const lastMsg = messages[messages.length - 1];
|
|
3898
|
+
if (lastMsg && lastMsg.role === "assistant" && lastMsg.content) {
|
|
3899
|
+
speak(lastMsg.content, lastMsg.id);
|
|
4772
3900
|
}
|
|
4773
3901
|
}
|
|
4774
|
-
|
|
4775
|
-
|
|
3902
|
+
prevIsLoadingRef.current = isLoading;
|
|
3903
|
+
}, [isLoading, autoSpeak, messages, speak]);
|
|
3904
|
+
const isDisabled = isLicenseValid === false || isConfigLoaded === false;
|
|
3905
|
+
const errorMsg = initError || null;
|
|
3906
|
+
useEffect8(() => {
|
|
4776
3907
|
setMounted(true);
|
|
4777
3908
|
}, []);
|
|
4778
|
-
|
|
3909
|
+
useEffect8(() => {
|
|
4779
3910
|
const element = windowRef.current;
|
|
4780
3911
|
if (!element || typeof ResizeObserver === "undefined") return;
|
|
4781
3912
|
const resolveViewportSize = (width) => {
|
|
@@ -4791,28 +3922,27 @@ function ChatWindow({
|
|
|
4791
3922
|
observer.observe(element);
|
|
4792
3923
|
return () => observer.disconnect();
|
|
4793
3924
|
}, []);
|
|
4794
|
-
|
|
3925
|
+
useEffect8(() => {
|
|
4795
3926
|
var _a2;
|
|
4796
3927
|
if (messages.length > 0 || isLoading) {
|
|
4797
3928
|
(_a2 = bottomRef.current) == null ? void 0 : _a2.scrollIntoView({ behavior: "smooth" });
|
|
4798
3929
|
}
|
|
4799
3930
|
}, [messages, isLoading]);
|
|
4800
|
-
const sendMessage =
|
|
4801
|
-
var _a2;
|
|
3931
|
+
const sendMessage = useCallback3(async () => {
|
|
4802
3932
|
const text = input.trim();
|
|
4803
3933
|
if (!text || isLoading) return;
|
|
4804
3934
|
if (isListening) {
|
|
4805
|
-
(
|
|
3935
|
+
stopListening();
|
|
4806
3936
|
}
|
|
4807
3937
|
setInput("");
|
|
4808
3938
|
setSuggestions([]);
|
|
4809
3939
|
setIsSuggesting(false);
|
|
4810
3940
|
await send(text);
|
|
4811
3941
|
window.setTimeout(() => {
|
|
4812
|
-
var
|
|
4813
|
-
return (
|
|
3942
|
+
var _a2;
|
|
3943
|
+
return (_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
4814
3944
|
}, 50);
|
|
4815
|
-
}, [input, isLoading, send, isListening]);
|
|
3945
|
+
}, [input, isLoading, send, isListening, stopListening]);
|
|
4816
3946
|
const handleKeyDown = (e) => {
|
|
4817
3947
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
4818
3948
|
e.preventDefault();
|
|
@@ -4837,7 +3967,7 @@ function ChatWindow({
|
|
|
4837
3967
|
const isEmpty = messages.length === 0;
|
|
4838
3968
|
const currentRadius = BORDER_RADIUS_MAP[ui.borderRadius || "xl"];
|
|
4839
3969
|
const isGlass = ui.visualStyle !== "solid";
|
|
4840
|
-
|
|
3970
|
+
useEffect8(() => {
|
|
4841
3971
|
if (input.trim().length < 3) {
|
|
4842
3972
|
return;
|
|
4843
3973
|
}
|
|
@@ -5051,6 +4181,16 @@ function ChatWindow({
|
|
|
5051
4181
|
children: isMaximized ? /* @__PURE__ */ jsx14(Minimize2, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx14(Maximize2, { className: "w-3.5 h-3.5" })
|
|
5052
4182
|
}
|
|
5053
4183
|
),
|
|
4184
|
+
enableVoice !== false && /* @__PURE__ */ jsx14(
|
|
4185
|
+
"button",
|
|
4186
|
+
{
|
|
4187
|
+
onClick: toggleAutoSpeak,
|
|
4188
|
+
disabled: !isSupportedTTS && mounted,
|
|
4189
|
+
title: !isSupportedTTS && mounted ? "Text-to-speech is not supported in this browser" : autoSpeak ? "Auto-read responses: ON (click to disable)" : "Auto-read responses: OFF (click to enable)",
|
|
4190
|
+
className: `w-7 h-7 rounded-md flex items-center justify-center transition-all cursor-pointer ${autoSpeak ? "text-indigo-500 bg-indigo-50 dark:bg-indigo-500/20 dark:text-indigo-400 font-semibold" : "text-slate-400 hover:text-slate-600 dark:text-white/40 dark:hover:text-white/70 hover:bg-white dark:hover:bg-white/10"} ${!isSupportedTTS && mounted ? "opacity-40 cursor-not-allowed" : ""}`,
|
|
4191
|
+
children: autoSpeak ? /* @__PURE__ */ jsx14(Volume22, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx14(VolumeX2, { className: "w-3.5 h-3.5 opacity-60" })
|
|
4192
|
+
}
|
|
4193
|
+
),
|
|
5054
4194
|
showClose && onClose && /* @__PURE__ */ jsx14(
|
|
5055
4195
|
"button",
|
|
5056
4196
|
{
|
|
@@ -5123,7 +4263,9 @@ function ChatWindow({
|
|
|
5123
4263
|
onAddToCart,
|
|
5124
4264
|
viewportSize,
|
|
5125
4265
|
showSources: ui.showSources,
|
|
5126
|
-
onFeedback: submitFeedback
|
|
4266
|
+
onFeedback: submitFeedback,
|
|
4267
|
+
isSpeaking: currentlySpeakingId === msg.id,
|
|
4268
|
+
onToggleSpeak: enableVoice !== false && isSupportedTTS ? toggleSpeak : void 0
|
|
5127
4269
|
}
|
|
5128
4270
|
)
|
|
5129
4271
|
] }, msg.id);
|
|
@@ -5190,6 +4332,22 @@ function ChatWindow({
|
|
|
5190
4332
|
"Thinking..."
|
|
5191
4333
|
] })
|
|
5192
4334
|
] }),
|
|
4335
|
+
voiceError && /* @__PURE__ */ jsxs13("div", { className: "mb-2.5 flex items-center justify-between gap-2 px-3 py-2 rounded-xl text-xs font-semibold bg-rose-50 dark:bg-rose-950/30 border border-rose-200 dark:border-rose-800/40 text-rose-700 dark:text-rose-400 animate-in fade-in duration-200", children: [
|
|
4336
|
+
/* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
4337
|
+
/* @__PURE__ */ jsx14(TriangleAlert, { className: "w-3.5 h-3.5 shrink-0 text-rose-500" }),
|
|
4338
|
+
/* @__PURE__ */ jsx14("span", { className: "truncate", children: voiceError })
|
|
4339
|
+
] }),
|
|
4340
|
+
/* @__PURE__ */ jsx14(
|
|
4341
|
+
"button",
|
|
4342
|
+
{
|
|
4343
|
+
type: "button",
|
|
4344
|
+
onClick: () => setVoiceError(null),
|
|
4345
|
+
className: "p-0.5 rounded hover:bg-rose-100 dark:hover:bg-rose-900/40 text-rose-500 cursor-pointer shrink-0",
|
|
4346
|
+
"aria-label": "Dismiss",
|
|
4347
|
+
children: /* @__PURE__ */ jsx14(X2, { className: "w-3 h-3" })
|
|
4348
|
+
}
|
|
4349
|
+
)
|
|
4350
|
+
] }),
|
|
5193
4351
|
/* @__PURE__ */ jsxs13("div", { className: `flex items-end gap-2 bg-white border border-slate-200 p-2 focus-within:border-slate-300 transition-all ${ui.borderRadius === "full" ? "rounded-3xl" : "rounded-2xl"}`, children: [
|
|
5194
4352
|
/* @__PURE__ */ jsx14(
|
|
5195
4353
|
"textarea",
|
|
@@ -5211,15 +4369,16 @@ function ChatWindow({
|
|
|
5211
4369
|
style: { scrollbarWidth: "none", color: "#000000" }
|
|
5212
4370
|
}
|
|
5213
4371
|
),
|
|
5214
|
-
ui.enableVoiceInput !== false && /* @__PURE__ */ jsx14(
|
|
4372
|
+
enableVoice !== false && ui.enableVoiceInput !== false && /* @__PURE__ */ jsx14(
|
|
5215
4373
|
"button",
|
|
5216
4374
|
{
|
|
5217
4375
|
type: "button",
|
|
5218
4376
|
onClick: toggleListening,
|
|
5219
4377
|
disabled: isLoading || isDisabled,
|
|
5220
|
-
className: `flex-shrink-0 w-9 h-9 rounded-xl flex items-center justify-center transition-all hover:scale-105 active:scale-95 disabled:opacity-
|
|
5221
|
-
title: isListening ? "Stop listening" : "Start voice input",
|
|
5222
|
-
|
|
4378
|
+
className: `flex-shrink-0 w-9 h-9 rounded-xl flex items-center justify-center transition-all hover:scale-105 active:scale-95 disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:active:scale-100 cursor-pointer ${isListening ? "bg-rose-500 text-white animate-pulse shadow-md shadow-rose-500/20 ring-2 ring-rose-400/50" : "text-slate-600 hover:text-indigo-600 hover:bg-slate-100 dark:text-slate-300 dark:hover:text-white dark:hover:bg-white/10"}`,
|
|
4379
|
+
title: isListening ? "Stop listening (Voice input active)" : "Start voice input (Speech-to-Text)",
|
|
4380
|
+
"aria-label": isListening ? "Stop listening" : "Start voice input",
|
|
4381
|
+
children: isListening ? /* @__PURE__ */ jsx14(MicOff, { className: "w-4 h-4 text-white" }) : /* @__PURE__ */ jsx14(Mic, { className: "w-4 h-4" })
|
|
5223
4382
|
}
|
|
5224
4383
|
),
|
|
5225
4384
|
ui.allowUpload !== false && /* @__PURE__ */ jsx14(
|
|
@@ -5309,7 +4468,17 @@ var GEMINI_STYLES = `
|
|
|
5309
4468
|
--circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);
|
|
5310
4469
|
}
|
|
5311
4470
|
`;
|
|
5312
|
-
function ChatWidget({
|
|
4471
|
+
function ChatWidget({
|
|
4472
|
+
position,
|
|
4473
|
+
onAddToCart,
|
|
4474
|
+
apiUrl,
|
|
4475
|
+
retrivoraApiBase,
|
|
4476
|
+
licenseKey: licenseKeyProp,
|
|
4477
|
+
headers,
|
|
4478
|
+
enableVoice = true,
|
|
4479
|
+
autoSpeak = false,
|
|
4480
|
+
voiceLang
|
|
4481
|
+
}) {
|
|
5313
4482
|
const {
|
|
5314
4483
|
ui,
|
|
5315
4484
|
projectId,
|
|
@@ -5326,15 +4495,15 @@ function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKe
|
|
|
5326
4495
|
const effectiveHeaders = headers || contextHeaders;
|
|
5327
4496
|
const effectiveLicenseKey = licenseKeyProp || contextLicenseKey;
|
|
5328
4497
|
const effectiveApiBase = retrivoraApiBase || contextApiBase;
|
|
5329
|
-
const [isOpen, setIsOpen] =
|
|
5330
|
-
const [hasUnread, setHasUnread] =
|
|
5331
|
-
const [dimensions, setDimensions] =
|
|
5332
|
-
const [isResizing, setIsResizing] =
|
|
5333
|
-
const [isMaximized, setIsMaximized] =
|
|
5334
|
-
const [prevDimensions, setPrevDimensions] =
|
|
4498
|
+
const [isOpen, setIsOpen] = useState10(false);
|
|
4499
|
+
const [hasUnread, setHasUnread] = useState10(false);
|
|
4500
|
+
const [dimensions, setDimensions] = useState10(DEFAULT_DIMENSIONS);
|
|
4501
|
+
const [isResizing, setIsResizing] = useState10(false);
|
|
4502
|
+
const [isMaximized, setIsMaximized] = useState10(false);
|
|
4503
|
+
const [prevDimensions, setPrevDimensions] = useState10(DEFAULT_DIMENSIONS);
|
|
5335
4504
|
const positionClass = effectivePosition === "bottom-left" ? "bottom-6 left-6" : effectivePosition === "top-left" ? "top-6 left-6" : effectivePosition === "top-right" ? "top-6 right-6" : "bottom-6 right-6";
|
|
5336
4505
|
const windowPositionClass = effectivePosition === "bottom-left" ? "bottom-20 left-6" : effectivePosition === "top-left" ? "top-20 left-6" : effectivePosition === "top-right" ? "top-20 right-6" : "bottom-20 right-6";
|
|
5337
|
-
const handleOpen =
|
|
4506
|
+
const handleOpen = useCallback4(() => {
|
|
5338
4507
|
setIsOpen(true);
|
|
5339
4508
|
setHasUnread(false);
|
|
5340
4509
|
}, []);
|
|
@@ -5410,7 +4579,10 @@ function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKe
|
|
|
5410
4579
|
apiUrl,
|
|
5411
4580
|
retrivoraApiBase: effectiveApiBase,
|
|
5412
4581
|
licenseKey: effectiveLicenseKey,
|
|
5413
|
-
headers: effectiveHeaders
|
|
4582
|
+
headers: effectiveHeaders,
|
|
4583
|
+
enableVoice,
|
|
4584
|
+
autoSpeak,
|
|
4585
|
+
voiceLang
|
|
5414
4586
|
}
|
|
5415
4587
|
),
|
|
5416
4588
|
/* @__PURE__ */ jsx15(
|
|
@@ -5510,17 +4682,251 @@ function CodeViewer({ snippet }) {
|
|
|
5510
4682
|
] });
|
|
5511
4683
|
}
|
|
5512
4684
|
|
|
4685
|
+
// src/components/VoiceButton.tsx
|
|
4686
|
+
import { Mic as Mic2, MicOff as MicOff2, Volume2 as Volume23, VolumeX as VolumeX3 } from "lucide-react";
|
|
4687
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4688
|
+
var SIZE_MAP = {
|
|
4689
|
+
sm: "w-7 h-7",
|
|
4690
|
+
md: "w-9 h-9",
|
|
4691
|
+
lg: "w-11 h-11"
|
|
4692
|
+
};
|
|
4693
|
+
var ICON_SIZE_MAP = {
|
|
4694
|
+
sm: "w-3.5 h-3.5",
|
|
4695
|
+
md: "w-4 h-4",
|
|
4696
|
+
lg: "w-5 h-5"
|
|
4697
|
+
};
|
|
4698
|
+
function VoiceButton({
|
|
4699
|
+
mode,
|
|
4700
|
+
isListening = false,
|
|
4701
|
+
onToggleListening,
|
|
4702
|
+
isSupported = true,
|
|
4703
|
+
isSpeaking = false,
|
|
4704
|
+
onToggleSpeaking,
|
|
4705
|
+
disabled = false,
|
|
4706
|
+
primaryColor = "#6366f1",
|
|
4707
|
+
size = "md",
|
|
4708
|
+
className = "",
|
|
4709
|
+
title
|
|
4710
|
+
}) {
|
|
4711
|
+
if (mode === "mic") {
|
|
4712
|
+
const active2 = isListening;
|
|
4713
|
+
const label2 = title != null ? title : active2 ? "Stop voice input" : "Start voice input (Speech-to-Text)";
|
|
4714
|
+
return /* @__PURE__ */ jsx17(
|
|
4715
|
+
"button",
|
|
4716
|
+
{
|
|
4717
|
+
type: "button",
|
|
4718
|
+
onClick: onToggleListening,
|
|
4719
|
+
disabled,
|
|
4720
|
+
title: label2,
|
|
4721
|
+
"aria-label": label2,
|
|
4722
|
+
"aria-pressed": active2,
|
|
4723
|
+
className: [
|
|
4724
|
+
SIZE_MAP[size],
|
|
4725
|
+
"flex-shrink-0 rounded-xl flex items-center justify-center transition-all",
|
|
4726
|
+
"hover:scale-105 active:scale-95",
|
|
4727
|
+
"disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:active:scale-100",
|
|
4728
|
+
active2 ? "text-white shadow-md ring-2 ring-offset-1 animate-pulse" : "text-slate-400 hover:bg-slate-100 dark:text-white/40 dark:hover:bg-white/10",
|
|
4729
|
+
className
|
|
4730
|
+
].join(" "),
|
|
4731
|
+
style: active2 ? {
|
|
4732
|
+
backgroundColor: "#ef4444",
|
|
4733
|
+
boxShadow: "0 4px 12px rgba(239,68,68,0.25)"
|
|
4734
|
+
} : {},
|
|
4735
|
+
children: active2 ? /* @__PURE__ */ jsx17(MicOff2, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx17(Mic2, { className: ICON_SIZE_MAP[size] })
|
|
4736
|
+
}
|
|
4737
|
+
);
|
|
4738
|
+
}
|
|
4739
|
+
const active = isSpeaking;
|
|
4740
|
+
const label = title != null ? title : active ? "Stop speaking" : "Read response aloud (Text-to-Speech)";
|
|
4741
|
+
return /* @__PURE__ */ jsx17(
|
|
4742
|
+
"button",
|
|
4743
|
+
{
|
|
4744
|
+
type: "button",
|
|
4745
|
+
onClick: onToggleSpeaking,
|
|
4746
|
+
disabled,
|
|
4747
|
+
title: label,
|
|
4748
|
+
"aria-label": label,
|
|
4749
|
+
"aria-pressed": active,
|
|
4750
|
+
className: [
|
|
4751
|
+
SIZE_MAP[size],
|
|
4752
|
+
"flex-shrink-0 rounded-xl flex items-center justify-center transition-all",
|
|
4753
|
+
"hover:scale-105 active:scale-95",
|
|
4754
|
+
"disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:active:scale-100",
|
|
4755
|
+
active ? "animate-pulse shadow-md" : "text-slate-400 hover:bg-slate-100 dark:text-white/40 dark:hover:bg-white/10",
|
|
4756
|
+
className
|
|
4757
|
+
].join(" "),
|
|
4758
|
+
style: active ? {
|
|
4759
|
+
color: primaryColor,
|
|
4760
|
+
backgroundColor: `${primaryColor}18`,
|
|
4761
|
+
boxShadow: `0 4px 12px ${primaryColor}20`
|
|
4762
|
+
} : {},
|
|
4763
|
+
children: active ? /* @__PURE__ */ jsx17(VolumeX3, { className: ICON_SIZE_MAP[size] }) : /* @__PURE__ */ jsx17(Volume23, { className: ICON_SIZE_MAP[size] })
|
|
4764
|
+
}
|
|
4765
|
+
);
|
|
4766
|
+
}
|
|
4767
|
+
|
|
4768
|
+
// src/components/VoiceBar.tsx
|
|
4769
|
+
import { useEffect as useEffect9, useRef as useRef8 } from "react";
|
|
4770
|
+
import { Mic as Mic3, MicOff as MicOff3, Volume2 as Volume24, VolumeX as VolumeX4, Radio } from "lucide-react";
|
|
4771
|
+
import { Fragment as Fragment10, jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
4772
|
+
function SoundWave({ color }) {
|
|
4773
|
+
return /* @__PURE__ */ jsx18(
|
|
4774
|
+
"span",
|
|
4775
|
+
{
|
|
4776
|
+
className: "flex items-end gap-[2px] h-4 overflow-hidden",
|
|
4777
|
+
"aria-hidden": "true",
|
|
4778
|
+
children: [0, 150, 75, 225].map((delay, i) => /* @__PURE__ */ jsx18(
|
|
4779
|
+
"span",
|
|
4780
|
+
{
|
|
4781
|
+
className: "w-[3px] rounded-full animate-bounce",
|
|
4782
|
+
style: {
|
|
4783
|
+
backgroundColor: color,
|
|
4784
|
+
animationDelay: `${delay}ms`,
|
|
4785
|
+
animationDuration: "0.8s",
|
|
4786
|
+
height: i % 2 === 0 ? "10px" : "14px"
|
|
4787
|
+
}
|
|
4788
|
+
},
|
|
4789
|
+
i
|
|
4790
|
+
))
|
|
4791
|
+
}
|
|
4792
|
+
);
|
|
4793
|
+
}
|
|
4794
|
+
function VoiceBar({
|
|
4795
|
+
onTranscript,
|
|
4796
|
+
onInterimResult,
|
|
4797
|
+
onError,
|
|
4798
|
+
autoSpeakText,
|
|
4799
|
+
lang,
|
|
4800
|
+
defaultAutoSpeak = false,
|
|
4801
|
+
disabled = false,
|
|
4802
|
+
primaryColor = "#6366f1",
|
|
4803
|
+
accentColor = "#8b5cf6",
|
|
4804
|
+
showAutoSpeakToggle = true,
|
|
4805
|
+
showSpeakingIndicator = true,
|
|
4806
|
+
className = ""
|
|
4807
|
+
}) {
|
|
4808
|
+
const {
|
|
4809
|
+
isSupportedSTT,
|
|
4810
|
+
isSupportedTTS,
|
|
4811
|
+
isListening,
|
|
4812
|
+
toggleListening,
|
|
4813
|
+
isSpeaking,
|
|
4814
|
+
stopSpeaking,
|
|
4815
|
+
autoSpeak,
|
|
4816
|
+
toggleAutoSpeak,
|
|
4817
|
+
speak
|
|
4818
|
+
} = useVoice({
|
|
4819
|
+
lang,
|
|
4820
|
+
autoSpeak: defaultAutoSpeak,
|
|
4821
|
+
onTranscript,
|
|
4822
|
+
onInterimResult,
|
|
4823
|
+
onError
|
|
4824
|
+
});
|
|
4825
|
+
const lastSpokenRef = useRef8(void 0);
|
|
4826
|
+
useEffect9(() => {
|
|
4827
|
+
if (autoSpeak && autoSpeakText && autoSpeakText !== lastSpokenRef.current) {
|
|
4828
|
+
lastSpokenRef.current = autoSpeakText;
|
|
4829
|
+
speak(autoSpeakText);
|
|
4830
|
+
}
|
|
4831
|
+
}, [autoSpeakText, autoSpeak, speak]);
|
|
4832
|
+
if (!isSupportedSTT && !isSupportedTTS) return null;
|
|
4833
|
+
return /* @__PURE__ */ jsxs16(
|
|
4834
|
+
"div",
|
|
4835
|
+
{
|
|
4836
|
+
className: [
|
|
4837
|
+
"flex items-center gap-2 px-3 py-2 rounded-2xl",
|
|
4838
|
+
"bg-white dark:bg-white/5",
|
|
4839
|
+
"border border-slate-200 dark:border-white/10",
|
|
4840
|
+
"shadow-sm transition-all duration-200",
|
|
4841
|
+
className
|
|
4842
|
+
].join(" "),
|
|
4843
|
+
role: "toolbar",
|
|
4844
|
+
"aria-label": "Voice controls",
|
|
4845
|
+
children: [
|
|
4846
|
+
isSupportedSTT && /* @__PURE__ */ jsx18(
|
|
4847
|
+
"button",
|
|
4848
|
+
{
|
|
4849
|
+
type: "button",
|
|
4850
|
+
onClick: toggleListening,
|
|
4851
|
+
disabled,
|
|
4852
|
+
title: isListening ? "Stop voice input" : "Start voice input (Speech-to-Text)",
|
|
4853
|
+
"aria-label": isListening ? "Stop voice input" : "Start voice input",
|
|
4854
|
+
"aria-pressed": isListening,
|
|
4855
|
+
className: [
|
|
4856
|
+
"w-8 h-8 flex items-center justify-center rounded-xl transition-all duration-200",
|
|
4857
|
+
"hover:scale-105 active:scale-95",
|
|
4858
|
+
"disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:scale-100",
|
|
4859
|
+
isListening ? "text-white shadow-md ring-2 ring-red-400/40 animate-pulse" : "text-slate-400 hover:bg-slate-100 dark:text-white/40 dark:hover:bg-white/10"
|
|
4860
|
+
].join(" "),
|
|
4861
|
+
style: isListening ? { backgroundColor: "#ef4444", boxShadow: "0 4px 12px rgba(239,68,68,0.3)" } : {},
|
|
4862
|
+
children: isListening ? /* @__PURE__ */ jsx18(MicOff3, { className: "w-4 h-4" }) : /* @__PURE__ */ jsx18(Mic3, { className: "w-4 h-4" })
|
|
4863
|
+
}
|
|
4864
|
+
),
|
|
4865
|
+
isListening && /* @__PURE__ */ jsx18(
|
|
4866
|
+
"span",
|
|
4867
|
+
{
|
|
4868
|
+
className: "text-[11px] font-semibold text-red-500 dark:text-red-400 animate-pulse select-none",
|
|
4869
|
+
"aria-live": "polite",
|
|
4870
|
+
children: "Listening\u2026"
|
|
4871
|
+
}
|
|
4872
|
+
),
|
|
4873
|
+
showSpeakingIndicator && isSpeaking && /* @__PURE__ */ jsxs16(Fragment10, { children: [
|
|
4874
|
+
/* @__PURE__ */ jsx18(SoundWave, { color: primaryColor }),
|
|
4875
|
+
/* @__PURE__ */ jsx18("span", { className: "text-[11px] font-semibold select-none", style: { color: primaryColor }, children: "Speaking" }),
|
|
4876
|
+
/* @__PURE__ */ jsx18(
|
|
4877
|
+
"button",
|
|
4878
|
+
{
|
|
4879
|
+
type: "button",
|
|
4880
|
+
onClick: stopSpeaking,
|
|
4881
|
+
title: "Stop speaking",
|
|
4882
|
+
"aria-label": "Stop speaking",
|
|
4883
|
+
className: "w-6 h-6 flex items-center justify-center rounded-lg text-slate-400 hover:text-slate-600 dark:text-white/40 dark:hover:text-white/70 hover:bg-slate-100 dark:hover:bg-white/10 transition-all cursor-pointer",
|
|
4884
|
+
children: /* @__PURE__ */ jsx18(VolumeX4, { className: "w-3.5 h-3.5" })
|
|
4885
|
+
}
|
|
4886
|
+
)
|
|
4887
|
+
] }),
|
|
4888
|
+
/* @__PURE__ */ jsx18("div", { className: "flex-1" }),
|
|
4889
|
+
showAutoSpeakToggle && isSupportedTTS && /* @__PURE__ */ jsxs16(
|
|
4890
|
+
"button",
|
|
4891
|
+
{
|
|
4892
|
+
type: "button",
|
|
4893
|
+
onClick: toggleAutoSpeak,
|
|
4894
|
+
disabled,
|
|
4895
|
+
title: autoSpeak ? "Auto-read responses: ON \u2014 click to disable" : "Auto-read responses: OFF \u2014 click to enable",
|
|
4896
|
+
"aria-label": autoSpeak ? "Disable auto-read responses" : "Enable auto-read responses",
|
|
4897
|
+
"aria-pressed": autoSpeak,
|
|
4898
|
+
className: [
|
|
4899
|
+
"flex items-center gap-1.5 px-2.5 h-8 rounded-xl text-[11px] font-semibold transition-all duration-200 border",
|
|
4900
|
+
"disabled:opacity-40 disabled:cursor-not-allowed",
|
|
4901
|
+
autoSpeak ? "border-opacity-60" : "border-slate-200 dark:border-white/10 text-slate-400 dark:text-white/30 hover:bg-slate-100 dark:hover:bg-white/5"
|
|
4902
|
+
].join(" "),
|
|
4903
|
+
style: autoSpeak ? {
|
|
4904
|
+
color: primaryColor,
|
|
4905
|
+
backgroundColor: `${primaryColor}12`,
|
|
4906
|
+
borderColor: `${primaryColor}30`
|
|
4907
|
+
} : {},
|
|
4908
|
+
children: [
|
|
4909
|
+
autoSpeak ? /* @__PURE__ */ jsx18(Volume24, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx18(Radio, { className: "w-3.5 h-3.5 opacity-60" }),
|
|
4910
|
+
/* @__PURE__ */ jsx18("span", { className: "hidden sm:inline", children: autoSpeak ? "Auto-read on" : "Auto-read off" })
|
|
4911
|
+
]
|
|
4912
|
+
}
|
|
4913
|
+
)
|
|
4914
|
+
]
|
|
4915
|
+
}
|
|
4916
|
+
);
|
|
4917
|
+
}
|
|
4918
|
+
|
|
5513
4919
|
// src/hooks/useProjectSettings.ts
|
|
5514
|
-
import { useEffect as
|
|
4920
|
+
import { useEffect as useEffect10, useMemo as useMemo3, useState as useState11 } from "react";
|
|
5515
4921
|
function useProjectSettings(projectId, options = {}) {
|
|
5516
4922
|
const initialSettings = useMemo3(
|
|
5517
4923
|
() => normalizeProjectSettings(projectId, options.initialSettings || createDefaultProjectSettings(projectId)),
|
|
5518
4924
|
[options.initialSettings, projectId]
|
|
5519
4925
|
);
|
|
5520
|
-
const [settings, setSettings] =
|
|
5521
|
-
const [remoteConfig, setRemoteConfig] =
|
|
5522
|
-
const [isLoading, setIsLoading] =
|
|
5523
|
-
const [error, setError] =
|
|
4926
|
+
const [settings, setSettings] = useState11(initialSettings);
|
|
4927
|
+
const [remoteConfig, setRemoteConfig] = useState11(null);
|
|
4928
|
+
const [isLoading, setIsLoading] = useState11(false);
|
|
4929
|
+
const [error, setError] = useState11(null);
|
|
5524
4930
|
async function reload() {
|
|
5525
4931
|
if (options.enabled === false || !options.licenseKey) {
|
|
5526
4932
|
setSettings(initialSettings);
|
|
@@ -5541,7 +4947,7 @@ function useProjectSettings(projectId, options = {}) {
|
|
|
5541
4947
|
setIsLoading(false);
|
|
5542
4948
|
}
|
|
5543
4949
|
}
|
|
5544
|
-
|
|
4950
|
+
useEffect10(() => {
|
|
5545
4951
|
let cancelled = false;
|
|
5546
4952
|
async function load() {
|
|
5547
4953
|
if (options.enabled === false || !options.licenseKey) {
|
|
@@ -5691,302 +5097,6 @@ var CircuitBreaker = class {
|
|
|
5691
5097
|
this.halfOpenCalls = 0;
|
|
5692
5098
|
}
|
|
5693
5099
|
};
|
|
5694
|
-
|
|
5695
|
-
// src/utils/logger.ts
|
|
5696
|
-
var Logger = class {
|
|
5697
|
-
static format(level, message, meta) {
|
|
5698
|
-
if (this.isProduction) {
|
|
5699
|
-
return JSON.stringify(__spreadValues({
|
|
5700
|
-
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
5701
|
-
level,
|
|
5702
|
-
message
|
|
5703
|
-
}, meta));
|
|
5704
|
-
}
|
|
5705
|
-
const metaString = meta ? `
|
|
5706
|
-
${JSON.stringify(meta, null, 2)}` : "";
|
|
5707
|
-
return `[${(/* @__PURE__ */ new Date()).toISOString()}] [${level}] ${message}${metaString}`;
|
|
5708
|
-
}
|
|
5709
|
-
static info(message, meta) {
|
|
5710
|
-
console.log(this.format("INFO", message, meta));
|
|
5711
|
-
}
|
|
5712
|
-
static warn(message, meta) {
|
|
5713
|
-
console.warn(this.format("WARN", message, meta));
|
|
5714
|
-
}
|
|
5715
|
-
static error(message, error, meta) {
|
|
5716
|
-
const errorMeta = error instanceof Error ? { errorMessage: error.message, stack: error.stack } : { error: String(error) };
|
|
5717
|
-
console.error(this.format("ERROR", message, __spreadValues(__spreadValues({}, meta), errorMeta)));
|
|
5718
|
-
}
|
|
5719
|
-
static debug(message, meta) {
|
|
5720
|
-
if (process.env.DEBUG === "true") {
|
|
5721
|
-
console.debug(this.format("DEBUG", message, meta));
|
|
5722
|
-
}
|
|
5723
|
-
}
|
|
5724
|
-
};
|
|
5725
|
-
Logger.isProduction = process.env.NODE_ENV === "production" || process.env.VERCEL_ENV === "production";
|
|
5726
|
-
|
|
5727
|
-
// src/core/BatchProcessor.ts
|
|
5728
|
-
function isTransientError(error) {
|
|
5729
|
-
if (!(error instanceof Error)) return false;
|
|
5730
|
-
const message = error.message.toLowerCase();
|
|
5731
|
-
if (message.includes("econnrefused") || message.includes("econnreset") || message.includes("timeout") || message.includes("network") || message.includes("socket")) {
|
|
5732
|
-
return true;
|
|
5733
|
-
}
|
|
5734
|
-
if (message.includes("429") || message.includes("503") || message.includes("502") || message.includes("rate limit") || message.includes("too many requests")) {
|
|
5735
|
-
return true;
|
|
5736
|
-
}
|
|
5737
|
-
return false;
|
|
5738
|
-
}
|
|
5739
|
-
function calculateBackoffDelay(attempt, initialDelayMs, maxDelayMs, multiplier) {
|
|
5740
|
-
const exponentialDelay = Math.min(
|
|
5741
|
-
initialDelayMs * Math.pow(multiplier, attempt),
|
|
5742
|
-
maxDelayMs
|
|
5743
|
-
);
|
|
5744
|
-
const jitter = exponentialDelay * 0.1 * (Math.random() * 2 - 1);
|
|
5745
|
-
return Math.max(0, exponentialDelay + jitter);
|
|
5746
|
-
}
|
|
5747
|
-
function sleep(ms) {
|
|
5748
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
5749
|
-
}
|
|
5750
|
-
var BatchProcessor = class _BatchProcessor {
|
|
5751
|
-
/**
|
|
5752
|
-
* Execute a processor call, optionally through a caller-provided circuit
|
|
5753
|
-
* breaker. Only transient failures count toward opening the circuit.
|
|
5754
|
-
*
|
|
5755
|
-
* Fix ARCH-3: removed the static module-level `cb` field. Callers must
|
|
5756
|
-
* supply their own CircuitBreaker via BatchOptions.circuitBreaker.
|
|
5757
|
-
* Fix TYPE-1: uses the public retryAfterMs() and incrementHalfOpen()
|
|
5758
|
-
* API instead of accessing private fields via `as any`.
|
|
5759
|
-
*/
|
|
5760
|
-
static async executeWithCircuitBreaker(processor, cb) {
|
|
5761
|
-
if (!cb) {
|
|
5762
|
-
return processor();
|
|
5763
|
-
}
|
|
5764
|
-
if (!cb.canExecute()) {
|
|
5765
|
-
const retryAfterSec = Math.ceil(cb.retryAfterMs() / 1e3);
|
|
5766
|
-
throw new Error(
|
|
5767
|
-
`[BatchProcessor] Circuit breaker is open. Try again in ${retryAfterSec}s.`
|
|
5768
|
-
);
|
|
5769
|
-
}
|
|
5770
|
-
cb.incrementHalfOpen();
|
|
5771
|
-
try {
|
|
5772
|
-
const result = await processor();
|
|
5773
|
-
cb.record(true);
|
|
5774
|
-
return result;
|
|
5775
|
-
} catch (err) {
|
|
5776
|
-
if (isTransientError(err)) {
|
|
5777
|
-
cb.record(false);
|
|
5778
|
-
}
|
|
5779
|
-
throw err;
|
|
5780
|
-
}
|
|
5781
|
-
}
|
|
5782
|
-
/**
|
|
5783
|
-
* Processes an array of items in configurable batches with retry logic.
|
|
5784
|
-
*
|
|
5785
|
-
* @param items - Items to process
|
|
5786
|
-
* @param processor - Async function that processes a batch of items
|
|
5787
|
-
* @param options - Configuration for batch size, retries, etc.
|
|
5788
|
-
* @returns Object with results, errors, and statistics
|
|
5789
|
-
*
|
|
5790
|
-
* @example
|
|
5791
|
-
* const docs = [...];
|
|
5792
|
-
* const result = await BatchProcessor.processBatch(
|
|
5793
|
-
* docs,
|
|
5794
|
-
* (batch) => vectorDB.batchUpsert(batch),
|
|
5795
|
-
* { batchSize: 100, maxRetries: 3 }
|
|
5796
|
-
* );
|
|
5797
|
-
*/
|
|
5798
|
-
static async processBatch(items, processor, options) {
|
|
5799
|
-
const {
|
|
5800
|
-
batchSize = 100,
|
|
5801
|
-
maxRetries = 3,
|
|
5802
|
-
initialDelayMs = 100,
|
|
5803
|
-
maxDelayMs = 1e4,
|
|
5804
|
-
backoffMultiplier = 2,
|
|
5805
|
-
throwOnPartialFailure = false
|
|
5806
|
-
} = options != null ? options : {};
|
|
5807
|
-
const results = [];
|
|
5808
|
-
const errors = [];
|
|
5809
|
-
const batches = [];
|
|
5810
|
-
for (let i = 0; i < items.length; i += batchSize) {
|
|
5811
|
-
batches.push(items.slice(i, i + batchSize));
|
|
5812
|
-
}
|
|
5813
|
-
if (batches.length === 0) {
|
|
5814
|
-
return { results: [], errors: [], totalProcessed: 0, totalFailed: 0 };
|
|
5815
|
-
}
|
|
5816
|
-
for (let batchIndex = 0; batchIndex < batches.length; batchIndex++) {
|
|
5817
|
-
const batch = batches[batchIndex];
|
|
5818
|
-
let success = false;
|
|
5819
|
-
let lastError;
|
|
5820
|
-
for (let attempt = 0; attempt <= maxRetries; attempt++) {
|
|
5821
|
-
try {
|
|
5822
|
-
const result = await _BatchProcessor.executeWithCircuitBreaker(
|
|
5823
|
-
() => processor(batch),
|
|
5824
|
-
options == null ? void 0 : options.circuitBreaker
|
|
5825
|
-
);
|
|
5826
|
-
results.push(result);
|
|
5827
|
-
success = true;
|
|
5828
|
-
break;
|
|
5829
|
-
} catch (err) {
|
|
5830
|
-
lastError = err instanceof Error ? err : new Error(String(err));
|
|
5831
|
-
if (!isTransientError(err) || attempt === maxRetries) {
|
|
5832
|
-
break;
|
|
5833
|
-
}
|
|
5834
|
-
const delay = calculateBackoffDelay(
|
|
5835
|
-
attempt,
|
|
5836
|
-
initialDelayMs,
|
|
5837
|
-
maxDelayMs,
|
|
5838
|
-
backoffMultiplier
|
|
5839
|
-
);
|
|
5840
|
-
await sleep(delay);
|
|
5841
|
-
}
|
|
5842
|
-
}
|
|
5843
|
-
if (!success && lastError) {
|
|
5844
|
-
errors.push({
|
|
5845
|
-
index: batchIndex,
|
|
5846
|
-
error: lastError,
|
|
5847
|
-
itemCount: batch.length
|
|
5848
|
-
});
|
|
5849
|
-
}
|
|
5850
|
-
}
|
|
5851
|
-
const totalProcessed = items.length - (errors.length > 0 ? errors.reduce((sum, e) => sum + (e.itemCount || 0), 0) : 0);
|
|
5852
|
-
const totalFailed = errors.reduce((sum, e) => sum + (e.itemCount || 0), 0);
|
|
5853
|
-
if (throwOnPartialFailure && errors.length > 0) {
|
|
5854
|
-
const errorMessages = errors.map((e) => `Batch ${e.index} (${e.itemCount} items): ${e.error.message}`).join("\n");
|
|
5855
|
-
throw new Error(
|
|
5856
|
-
`[BatchProcessor] Batch processing failed:
|
|
5857
|
-
${errorMessages}`
|
|
5858
|
-
);
|
|
5859
|
-
}
|
|
5860
|
-
return { results, errors, totalProcessed, totalFailed };
|
|
5861
|
-
}
|
|
5862
|
-
/**
|
|
5863
|
-
* Processes items sequentially (one at a time) with retry logic.
|
|
5864
|
-
* Useful for operations that don't support batching or when granular
|
|
5865
|
-
* error tracking is needed.
|
|
5866
|
-
*/
|
|
5867
|
-
static async processSequential(items, processor, options) {
|
|
5868
|
-
const {
|
|
5869
|
-
maxRetries = 3,
|
|
5870
|
-
initialDelayMs = 100,
|
|
5871
|
-
maxDelayMs = 1e4,
|
|
5872
|
-
backoffMultiplier = 2,
|
|
5873
|
-
throwOnPartialFailure = false
|
|
5874
|
-
} = options != null ? options : {};
|
|
5875
|
-
const results = [];
|
|
5876
|
-
const errors = [];
|
|
5877
|
-
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
|
5878
|
-
const item = items[itemIndex];
|
|
5879
|
-
let success = false;
|
|
5880
|
-
let lastError;
|
|
5881
|
-
for (let attempt = 0; attempt <= maxRetries; attempt++) {
|
|
5882
|
-
try {
|
|
5883
|
-
const result = await _BatchProcessor.executeWithCircuitBreaker(
|
|
5884
|
-
() => processor(item),
|
|
5885
|
-
options == null ? void 0 : options.circuitBreaker
|
|
5886
|
-
);
|
|
5887
|
-
results.push(result);
|
|
5888
|
-
success = true;
|
|
5889
|
-
break;
|
|
5890
|
-
} catch (err) {
|
|
5891
|
-
lastError = err instanceof Error ? err : new Error(String(err));
|
|
5892
|
-
if (!isTransientError(err) || attempt === maxRetries) {
|
|
5893
|
-
break;
|
|
5894
|
-
}
|
|
5895
|
-
const delay = calculateBackoffDelay(
|
|
5896
|
-
attempt,
|
|
5897
|
-
initialDelayMs,
|
|
5898
|
-
maxDelayMs,
|
|
5899
|
-
backoffMultiplier
|
|
5900
|
-
);
|
|
5901
|
-
await sleep(delay);
|
|
5902
|
-
}
|
|
5903
|
-
}
|
|
5904
|
-
if (!success && lastError) {
|
|
5905
|
-
errors.push({ index: itemIndex, error: lastError, itemCount: 1 });
|
|
5906
|
-
}
|
|
5907
|
-
}
|
|
5908
|
-
const totalProcessed = items.length - errors.length;
|
|
5909
|
-
const totalFailed = errors.length;
|
|
5910
|
-
if (throwOnPartialFailure && errors.length > 0) {
|
|
5911
|
-
const errorMessages = errors.map((e) => `Item ${e.index}: ${e.error.message}`).join("\n");
|
|
5912
|
-
throw new Error(
|
|
5913
|
-
`[BatchProcessor] Sequential processing failed:
|
|
5914
|
-
${errorMessages}`
|
|
5915
|
-
);
|
|
5916
|
-
}
|
|
5917
|
-
return { results, errors, totalProcessed, totalFailed };
|
|
5918
|
-
}
|
|
5919
|
-
/**
|
|
5920
|
-
* Maps over items with retry logic, returning results in order.
|
|
5921
|
-
* Like Array.map() but with async processing and automatic retries.
|
|
5922
|
-
*/
|
|
5923
|
-
static async mapWithRetry(items, mapper, options) {
|
|
5924
|
-
const result = await this.processSequential(items, mapper, options);
|
|
5925
|
-
if (result.errors.length > 0) {
|
|
5926
|
-
Logger.warn(
|
|
5927
|
-
`[BatchProcessor] mapWithRetry: ${result.errors.length} items failed`
|
|
5928
|
-
);
|
|
5929
|
-
}
|
|
5930
|
-
const orderedResults = new Array(items.length);
|
|
5931
|
-
let resultIndex = 0;
|
|
5932
|
-
let errorIndex = 0;
|
|
5933
|
-
for (let i = 0; i < items.length; i++) {
|
|
5934
|
-
if (errorIndex < result.errors.length && result.errors[errorIndex].index === i) {
|
|
5935
|
-
orderedResults[i] = void 0;
|
|
5936
|
-
errorIndex++;
|
|
5937
|
-
} else {
|
|
5938
|
-
orderedResults[i] = result.results[resultIndex];
|
|
5939
|
-
resultIndex++;
|
|
5940
|
-
}
|
|
5941
|
-
}
|
|
5942
|
-
return orderedResults.filter((r) => r !== void 0);
|
|
5943
|
-
}
|
|
5944
|
-
/**
|
|
5945
|
-
* Parallel processor with concurrency limit.
|
|
5946
|
-
* Processes up to `concurrency` items at the same time.
|
|
5947
|
-
*/
|
|
5948
|
-
static async processConcurrent(items, processor, concurrency = 5, options) {
|
|
5949
|
-
const { throwOnPartialFailure = false } = options != null ? options : {};
|
|
5950
|
-
const results = [];
|
|
5951
|
-
const errors = [];
|
|
5952
|
-
for (let i = 0; i < items.length; i += concurrency) {
|
|
5953
|
-
const chunk = items.slice(i, i + concurrency).map((item, idx) => ({
|
|
5954
|
-
item,
|
|
5955
|
-
originalIndex: i + idx
|
|
5956
|
-
}));
|
|
5957
|
-
const chunkPromises = chunk.map(async ({ item, originalIndex }) => {
|
|
5958
|
-
try {
|
|
5959
|
-
const result = await _BatchProcessor.executeWithCircuitBreaker(
|
|
5960
|
-
() => processor(item),
|
|
5961
|
-
options == null ? void 0 : options.circuitBreaker
|
|
5962
|
-
);
|
|
5963
|
-
return { success: true, result, index: originalIndex };
|
|
5964
|
-
} catch (err) {
|
|
5965
|
-
const error = err instanceof Error ? err : new Error(String(err));
|
|
5966
|
-
return { success: false, error, index: originalIndex };
|
|
5967
|
-
}
|
|
5968
|
-
});
|
|
5969
|
-
const chunkResults = await Promise.all(chunkPromises);
|
|
5970
|
-
for (const { success, result, error, index } of chunkResults) {
|
|
5971
|
-
if (success) {
|
|
5972
|
-
results.push(result);
|
|
5973
|
-
} else {
|
|
5974
|
-
errors.push({ index, error, itemCount: 1 });
|
|
5975
|
-
}
|
|
5976
|
-
}
|
|
5977
|
-
}
|
|
5978
|
-
const totalProcessed = items.length - errors.length;
|
|
5979
|
-
const totalFailed = errors.length;
|
|
5980
|
-
if (throwOnPartialFailure && errors.length > 0) {
|
|
5981
|
-
const errorMessages = errors.map((e) => `Item ${e.index}: ${e.error.message}`).join("\n");
|
|
5982
|
-
throw new Error(
|
|
5983
|
-
`[BatchProcessor] Concurrent processing failed:
|
|
5984
|
-
${errorMessages}`
|
|
5985
|
-
);
|
|
5986
|
-
}
|
|
5987
|
-
return { results, errors, totalProcessed, totalFailed };
|
|
5988
|
-
}
|
|
5989
|
-
};
|
|
5990
5100
|
export {
|
|
5991
5101
|
AuthenticationException,
|
|
5992
5102
|
BatchProcessor,
|
|
@@ -6015,12 +5125,16 @@ export {
|
|
|
6015
5125
|
UIBlockRenderer,
|
|
6016
5126
|
UIDispatcher,
|
|
6017
5127
|
VisualizationRenderer,
|
|
5128
|
+
VoiceBar,
|
|
5129
|
+
VoiceButton,
|
|
6018
5130
|
addSynonyms,
|
|
5131
|
+
cleanMarkdownForSpeech,
|
|
6019
5132
|
createDefaultProjectSettings,
|
|
6020
5133
|
isTransientError,
|
|
6021
5134
|
normalizeProjectSettings,
|
|
6022
5135
|
projectSettingsToUiConfig,
|
|
6023
5136
|
useConfig,
|
|
6024
5137
|
useProjectSettings,
|
|
6025
|
-
useRagChat
|
|
5138
|
+
useRagChat,
|
|
5139
|
+
useVoice
|
|
6026
5140
|
};
|