izen-react-starter 2.7.11 → 2.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2SSKDMRQ-DY4_AKGT.js → 2SSKDMRQ-B8OCIC3p.js} +2 -2
- package/dist/{AP7HFJJL-B_nFrML5.js → AP7HFJJL-Bosdiumt.js} +1 -1
- package/dist/{WDYDFRGG-BnfaRqWe.js → WDYDFRGG-aR0qNg4d.js} +2 -2
- package/dist/{index-CDL-jBp_.js → index-bzvta4Dl.js} +4 -4
- package/dist/izen-react-starter.css +1 -1
- package/dist/react-starter.js +1 -1
- package/dist/react-starter.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-
|
|
2
|
-
import { g as h, c as v, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./AP7HFJJL-Bosdiumt.js";
|
|
2
|
+
import { g as h, c as v, a as e } from "./index-bzvta4Dl.js";
|
|
3
3
|
var C = (r) => {
|
|
4
4
|
const [t, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xs = Object.defineProperty;
|
|
2
2
|
var $s = (e, t, n) => t in e ? xs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Re = (e, t, n) => $s(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as B, o as ft, e as H, c as P, a as m, P as No, m as ve, S as K, t as _, i as k, f as U, h as F, j as Cs, k as ur, u as Ce, l as V, s as Qn, n as Yn, p as gt, q as T, r as Ss, v as Ut, w as _t, x as qe, y as ks, z as Rt, A as Bt, B as Es, C as Ds, D as En, F as As, E as Ht, $ as Ho, G as Ms, H as Ts, I as W, J as Vr, K as Fs, L as Is, M as cr, N as Os, O as Ls, Q as Hn, R as Ps, T as qs, U as ie, V as _s, W as Rs } from "./index-
|
|
4
|
+
import { b as $e, d as B, o as ft, e as H, c as P, a as m, P as No, m as ve, S as K, t as _, i as k, f as U, h as F, j as Cs, k as ur, u as Ce, l as V, s as Qn, n as Yn, p as gt, q as T, r as Ss, v as Ut, w as _t, x as qe, y as ks, z as Rt, A as Bt, B as Es, C as Ds, D as En, F as As, E as Ht, $ as Ho, G as Ms, H as Ts, I as W, J as Vr, K as Fs, L as Is, M as cr, N as Os, O as Ls, Q as Hn, R as Ps, T as qs, U as ie, V as _s, W as Rs } from "./index-bzvta4Dl.js";
|
|
5
5
|
var zs = (e) => e != null, Ks = (e) => e.filter(zs);
|
|
6
6
|
function Bs(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./AP7HFJJL-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./AP7HFJJL-Bosdiumt.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-bzvta4Dl.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9231,7 +9231,7 @@ var X3e = (e, t = !1) => {
|
|
|
9231
9231
|
const t = O$(() => {
|
|
9232
9232
|
const n = this, [r] = I(this, xc), [o] = I(this, Sc), [i] = I(this, Cc), [a] = I(this, Ec), [s] = I(this, $f), [l] = I(this, bc), [c] = I(this, Oc);
|
|
9233
9233
|
let u;
|
|
9234
|
-
return I(this, _c) ? u = I(this, _c) : (u = E$(() => import("./WDYDFRGG-
|
|
9234
|
+
return I(this, _c) ? u = I(this, _c) : (u = E$(() => import("./WDYDFRGG-aR0qNg4d.js")), fe(this, _c, u)), H$(I(this, If), I(this, wc)), S$(u, C$({
|
|
9235
9235
|
get queryFlavor() {
|
|
9236
9236
|
return I(n, Mf);
|
|
9237
9237
|
},
|
|
@@ -9338,7 +9338,7 @@ var X3e = (e, t = !1) => {
|
|
|
9338
9338
|
const t = O$(() => {
|
|
9339
9339
|
const n = this, [r] = I(this, kc), [o] = I(this, Ac), [i] = I(this, Tc), [a] = I(this, Rc), [s] = I(this, Bf), [l] = I(this, Pc), [c] = I(this, Mc), [u] = I(this, Ic);
|
|
9340
9340
|
let d;
|
|
9341
|
-
return I(this, Dc) ? d = I(this, Dc) : (d = E$(() => import("./2SSKDMRQ-
|
|
9341
|
+
return I(this, Dc) ? d = I(this, Dc) : (d = E$(() => import("./2SSKDMRQ-B8OCIC3p.js")), fe(this, Dc, d)), H$(I(this, Vf), I(this, Nc)), S$(d, C$({
|
|
9342
9342
|
get queryFlavor() {
|
|
9343
9343
|
return I(n, Lf);
|
|
9344
9344
|
},
|
|
@@ -43585,13 +43585,13 @@ const DO = ({
|
|
|
43585
43585
|
/* @__PURE__ */ v($6, {})
|
|
43586
43586
|
] }),
|
|
43587
43587
|
/* @__PURE__ */ v("div", { children: o })
|
|
43588
|
-
] }) }) : /* @__PURE__ */ v(By, { open: n, onOpenChange: l, children: /* @__PURE__ */ T(Hp, { className: " w-[1000px] sm:w-[700px] max-w-md lg:max-w-3xl
|
|
43588
|
+
] }) }) : /* @__PURE__ */ v(By, { open: n, onOpenChange: l, children: /* @__PURE__ */ T(Hp, { className: " w-[1000px] sm:w-[700px] max-w-md lg:max-w-3xl " + i, onPointerDownOutside: a ? () => {
|
|
43589
43589
|
} : (c) => c.preventDefault(), children: [
|
|
43590
43590
|
/* @__PURE__ */ T(Uy, { children: [
|
|
43591
43591
|
/* @__PURE__ */ v(Wy, { className: "ml-4", children: e }),
|
|
43592
43592
|
/* @__PURE__ */ v(Hy, { children: t })
|
|
43593
43593
|
] }),
|
|
43594
|
-
/* @__PURE__ */ v(MO, { className: "
|
|
43594
|
+
/* @__PURE__ */ v(MO, { className: "px-6 h-[calc(100vh-180px)] py-4", children: /* @__PURE__ */ v("div", { children: o }) }),
|
|
43595
43595
|
/* @__PURE__ */ v(NO, {})
|
|
43596
43596
|
] }) });
|
|
43597
43597
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap";/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}.\@container\/card{container:card/inline-size}.\@container\/main{container:main/inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-1\/2{top:50%}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.left-1\/2,.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-6{grid-column:span 6/span 6}.col-span-9{grid-column:span 9/span 9}.float-right{float:right}.mx-auto{margin-inline:auto}.ms-auto{margin-inline-start:auto}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1}.h-11\/12{height:91.6667%}.h-\[1\.2rem\]{height:1.2rem}.h-\[1px\]{height:1px}.h-\[18px\]{height:18px}.h-\[90vh\]{height:90vh}.h-\[250px\]{height:250px}.h-\[calc\(80vh-220px\)\]{height:calc(80vh - 220px)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[60px\]{min-height:60px}.min-h-\[200px\]{min-height:200px}.min-h-svh{min-height:100svh}.w-3\/4{width:75%}.w-\[--radix-dropdown-menu-trigger-width\]{width:--radix-dropdown-menu-trigger-width}.w-\[--sidebar-width\]{width:--sidebar-width}.w-\[1\.2rem\]{width:1.2rem}.w-\[1px\]{width:1px}.w-\[18px\]{width:18px}.w-\[40\%\]{width:40%}.w-\[70px\]{width:70px}.w-\[75\%\]{width:75%}.w-\[90\%\]{width:90%}.w-\[100\%\]{width:100%}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[1000px\]{width:1000px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.w-screen{width:100vw}.max-w-\[--skeleton-width\]{max-width:--skeleton-width}.max-w-full{max-width:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-w-\[8rem\]{min-width:8rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.table-auto{table-layout:auto}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-0{rotate:none}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}:where(.-space-x-px>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(-1px*var(--tw-space-x-reverse));margin-inline-end:calc(-1px*calc(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-none{border-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tr-\[90px\]{border-top-right-radius:90px}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\[\#eee\]{border-color:#eee}.border-\[--color-border\]{border-color:--color-border}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\[\#84BD47\]{background-color:#84bd47}.bg-\[\#D289FF\]{background-color:#d289ff}.bg-\[\#EC4D61\]{background-color:#ec4d61}.bg-\[\#FFEB95\]{background-color:#ffeb95}.bg-\[--color-bg\]{background-color:--color-bg}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.to-transparent{--tw-gradient-to:transparent;--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))}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-\[0\.4rem\]{padding:.4rem}.p-\[1px\]{padding:1px}.px-\[14px\]{padding-inline:14px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-\[0\.8rem\]{font-size:.8rem}.text-\[5rem\]{font-size:5rem}.text-\[10rem\]{font-size:10rem}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.leading-none{--tw-leading:1;line-height:1}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-current{color:currentColor}.text-transparent{color:#0000}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.grayscale{--tw-grayscale:grayscale(100%);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,)}.filter{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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\,height\]{transition-property:width,height;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *),.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]:is(:where(.group)[data-collapsible=icon] *){width:--sidebar-width-icon}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + 1rem)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width)*-1)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[state\=open\]\/collapsible\:rotate-90:is(:where(.group\/collapsible)[data-state=open] *){rotate:90deg}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.first\:border-l:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}@media(hover:hover){.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-transparent:hover{background-color:#0000}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:z-20:focus{z-index:20}.focus\:opacity-100:focus{opacity:1}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:border:focus-visible{border-style:var(--tw-border-style);border-width:1px}.focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled,.has-\[\:disabled\]\:opacity-50:has(:disabled){opacity:.5}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\[disabled\=true\]\:opacity-50[data-disabled=true]{opacity:.5}.data-\[dragging\=true\]\:z-10[data-dragging=true]{z-index:10}.data-\[dragging\=true\]\:opacity-80[data-dragging=true]{opacity:.8}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}:is(.\*\:data-\[slot\=card\]\:bg-gradient-to-t>*)[data-slot=card]{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}@container card (min-width:540px){.\@\[540px\]\/card\:block{display:block}.\@\[540px\]\/card\:hidden{display:none}}@container card (min-width:767px){.\@\[767px\]\/card\:flex{display:flex}.\@\[767px\]\/card\:hidden{display:none}}.rtl\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *){rotate:180deg}@media(prefers-color-scheme:dark){.dark\:scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.dark\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.dark\:-rotate-90{rotate:-90deg}.dark\:rotate-0{rotate:none}.dark\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer,.\[\&_\.recharts-sector\]\:outline-none .recharts-sector{--tw-outline-style:none;outline-style:none}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{--tw-outline-style:none;outline-style:none}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{rotate:90deg}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{rotate:180deg}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize,[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}@layer base{:root{--background:0 0% 100%;--foreground:20 14.3% 4.1%;--card:0 0% 100%;--card-foreground:20 14.3% 4.1%;--popover:0 0% 100%;--popover-foreground:20 14.3% 4.1%;--primary:24 9.8% 10%;--primary-foreground:60 9.1% 97.8%;--secondary:60 4.8% 95.9%;--secondary-foreground:24 9.8% 10%;--muted:60 4.8% 95.9%;--muted-foreground:25 5.3% 44.7%;--accent:60 4.8% 95.9%;--accent-foreground:24 9.8% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:60 9.1% 97.8%;--success:140 40% 50%;--success-foreground:0 0% 100%;--border:20 5.9% 90%;--input:20 5.9% 90%;--ring:20 14.3% 4.1%;--radius:.5rem;--sidebar-background:60 50% 93%;--sidebar-foreground:240 5.3% 26.1%;--sidebar-primary:240 5.9% 10%;--sidebar-primary-foreground:0 0% 98%;--sidebar-accent:240 4.8% 95.9%;--sidebar-accent-foreground:240 5.9% 10%;--sidebar-border:220 13% 91%;--sidebar-ring:217.2 91.2% 59.8%}.dark{--background:20 14.3% 4.1%;--foreground:60 9.1% 97.8%;--card:20 14.3% 4.1%;--card-foreground:60 9.1% 97.8%;--popover:20 14.3% 4.1%;--popover-foreground:60 9.1% 97.8%;--primary:60 9.1% 97.8%;--primary-foreground:24 9.8% 10%;--secondary:12 6.5% 15.1%;--secondary-foreground:60 9.1% 97.8%;--muted:12 6.5% 15.1%;--muted-foreground:24 5.4% 63.9%;--accent:12 6.5% 15.1%;--accent-foreground:60 9.1% 97.8%;--destructive:0 62.8% 30.6%;--destructive-foreground:60 9.1% 97.8%;--border:12 6.5% 15.1%;--input:12 6.5% 15.1%;--ring:24 5.7% 82.9%;--sidebar-background:240 5.9% 10%;--sidebar-foreground:240 4.8% 95.9%;--sidebar-primary:224.3 76.3% 48%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:240 3.7% 15.9%;--sidebar-accent-foreground:240 4.8% 95.9%;--sidebar-border:240 3.7% 15.9%;--sidebar-ring:217.2 91.2% 59.8%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}html{font-family:Geist,sans-serif}}textarea{resize:none}input[type=time]::-webkit-datetime-edit-seconds{display:none}input[type=time]::-webkit-datetime-edit-milliseconds{display:none}input[type=time]::-webkit-clear-button{display:none}input[type=time]::-webkit-inner-spin-button{display:none}input[type=time]::-webkit-datetime-edit{padding:.2em;font-size:1rem}[data-radix-popper-content-wrapper]{width:var(--radix-popper-anchor-width)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}.btn{font-family:inherit;font-weight:500;border-radius:.375rem;cursor:pointer;transition:all .2s ease-in-out;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.6;cursor:not-allowed}.btn--small{padding:.375rem .75rem;font-size:.875rem}.btn--medium{padding:.5rem 1rem;font-size:1rem}.btn--large{padding:.75rem 1.5rem;font-size:1.125rem}.btn--primary{background-color:#3b82f6;color:#fff;border-color:#3b82f6}.btn--primary:hover:not(:disabled){background-color:#2563eb;border-color:#2563eb}.btn--secondary{background-color:#6b7280;color:#fff;border-color:#6b7280}.btn--secondary:hover:not(:disabled){background-color:#4b5563;border-color:#4b5563}.btn--outline{background-color:transparent;color:#3b82f6;border-color:#3b82f6}.btn--outline:hover:not(:disabled){background-color:#3b82f6;color:#fff}.btn__spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.card{background-color:#fff;border-radius:.5rem;overflow:hidden;transition:box-shadow .2s ease-in-out}.card--none{box-shadow:none;border:1px solid #e5e7eb}.card--low{box-shadow:0 1px 2px #0000000d}.card--medium{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.card--high{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.card__header{padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.card__title{margin:0;font-size:1.125rem;font-weight:600;color:#111827}.card__body{padding:1.5rem;color:#374151}.card__footer{padding:1rem 1.5rem;background-color:#f9fafb;border-top:1px solid #e5e7eb}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap";/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}.\@container\/card{container:card/inline-size}.\@container\/main{container:main/inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-1\/2{top:50%}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.left-1\/2,.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.z-\[100\]{z-index:100}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-6{grid-column:span 6/span 6}.col-span-9{grid-column:span 9/span 9}.float-right{float:right}.mx-auto{margin-inline:auto}.ms-auto{margin-inline-start:auto}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.aspect-auto{aspect-ratio:auto}.aspect-square{aspect-ratio:1}.h-11\/12{height:91.6667%}.h-\[1\.2rem\]{height:1.2rem}.h-\[1px\]{height:1px}.h-\[18px\]{height:18px}.h-\[90vh\]{height:90vh}.h-\[250px\]{height:250px}.h-\[calc\(80vh-220px\)\]{height:calc(80vh - 220px)}.h-\[calc\(100vh-180px\)\]{height:calc(100vh - 180px)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[300px\]{max-height:300px}.max-h-screen{max-height:100vh}.min-h-\[60px\]{min-height:60px}.min-h-\[200px\]{min-height:200px}.min-h-svh{min-height:100svh}.w-3\/4{width:75%}.w-\[--radix-dropdown-menu-trigger-width\]{width:--radix-dropdown-menu-trigger-width}.w-\[--sidebar-width\]{width:--sidebar-width}.w-\[1\.2rem\]{width:1.2rem}.w-\[1px\]{width:1px}.w-\[18px\]{width:18px}.w-\[40\%\]{width:40%}.w-\[70px\]{width:70px}.w-\[75\%\]{width:75%}.w-\[90\%\]{width:90%}.w-\[100\%\]{width:100%}.w-\[100px\]{width:100px}.w-\[150px\]{width:150px}.w-\[1000px\]{width:1000px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.w-screen{width:100vw}.max-w-\[--skeleton-width\]{max-width:--skeleton-width}.max-w-full{max-width:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-w-\[8rem\]{min-width:8rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.table-auto{table-layout:auto}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-0{rotate:none}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}:where(.-space-x-px>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(-1px*var(--tw-space-x-reverse));margin-inline-end:calc(-1px*calc(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-none{border-radius:0}.rounded-t-\[10px\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-tr-\[90px\]{border-top-right-radius:90px}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\[\#eee\]{border-color:#eee}.border-\[--color-border\]{border-color:--color-border}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\[\#84BD47\]{background-color:#84bd47}.bg-\[\#D289FF\]{background-color:#d289ff}.bg-\[\#EC4D61\]{background-color:#ec4d61}.bg-\[\#FFEB95\]{background-color:#ffeb95}.bg-\[--color-bg\]{background-color:--color-bg}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.to-transparent{--tw-gradient-to:transparent;--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))}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-\[0\.4rem\]{padding:.4rem}.p-\[1px\]{padding:1px}.px-\[14px\]{padding-inline:14px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-\[0\.8rem\]{font-size:.8rem}.text-\[5rem\]{font-size:5rem}.text-\[10rem\]{font-size:10rem}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.leading-none{--tw-leading:1;line-height:1}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-current{color:currentColor}.text-transparent{color:#0000}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.grayscale{--tw-grayscale:grayscale(100%);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,)}.filter{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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\,height\]{transition-property:width,height;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *),.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:w-\[--sidebar-width-icon\]:is(:where(.group)[data-collapsible=icon] *){width:--sidebar-width-icon}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + 1rem)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)_\+_theme\(spacing\.4\)_\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + 1rem + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width)*-1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width)*-1)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[state\=open\]\/collapsible\:rotate-90:is(:where(.group\/collapsible)[data-state=open] *){rotate:90deg}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.first\:border-l:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}@media(hover:hover){.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-transparent:hover{background-color:#0000}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:z-20:focus{z-index:20}.focus\:opacity-100:focus{opacity:1}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:border:focus-visible{border-style:var(--tw-border-style);border-width:1px}.focus-visible\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled,.has-\[\:disabled\]\:opacity-50:has(:disabled){opacity:.5}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\[disabled\=true\]\:opacity-50[data-disabled=true]{opacity:.5}.data-\[dragging\=true\]\:z-10[data-dragging=true]{z-index:10}.data-\[dragging\=true\]\:opacity-80[data-dragging=true]{opacity:.8}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}:is(.\*\:data-\[slot\=card\]\:bg-gradient-to-t>*)[data-slot=card]{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x:var(--radix-toast-swipe-end-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x:var(--radix-toast-swipe-move-x);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}@container card (min-width:540px){.\@\[540px\]\/card\:block{display:block}.\@\[540px\]\/card\:hidden{display:none}}@container card (min-width:767px){.\@\[767px\]\/card\:flex{display:flex}.\@\[767px\]\/card\:hidden{display:none}}.rtl\:rotate-180:where(:dir(rtl),[dir=rtl],[dir=rtl] *){rotate:180deg}@media(prefers-color-scheme:dark){.dark\:scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.dark\:scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.dark\:-rotate-90{rotate:-90deg}.dark\:rotate-0{rotate:none}.dark\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer,.\[\&_\.recharts-sector\]\:outline-none .recharts-sector{--tw-outline-style:none;outline-style:none}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{--tw-outline-style:none;outline-style:none}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{rotate:90deg}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{rotate:180deg}[data-side=left] .\[\[data-side\=left\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize,[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}@layer base{:root{--background:0 0% 100%;--foreground:20 14.3% 4.1%;--card:0 0% 100%;--card-foreground:20 14.3% 4.1%;--popover:0 0% 100%;--popover-foreground:20 14.3% 4.1%;--primary:24 9.8% 10%;--primary-foreground:60 9.1% 97.8%;--secondary:60 4.8% 95.9%;--secondary-foreground:24 9.8% 10%;--muted:60 4.8% 95.9%;--muted-foreground:25 5.3% 44.7%;--accent:60 4.8% 95.9%;--accent-foreground:24 9.8% 10%;--destructive:0 84.2% 60.2%;--destructive-foreground:60 9.1% 97.8%;--success:140 40% 50%;--success-foreground:0 0% 100%;--border:20 5.9% 90%;--input:20 5.9% 90%;--ring:20 14.3% 4.1%;--radius:.5rem;--sidebar-background:60 50% 93%;--sidebar-foreground:240 5.3% 26.1%;--sidebar-primary:240 5.9% 10%;--sidebar-primary-foreground:0 0% 98%;--sidebar-accent:240 4.8% 95.9%;--sidebar-accent-foreground:240 5.9% 10%;--sidebar-border:220 13% 91%;--sidebar-ring:217.2 91.2% 59.8%}.dark{--background:20 14.3% 4.1%;--foreground:60 9.1% 97.8%;--card:20 14.3% 4.1%;--card-foreground:60 9.1% 97.8%;--popover:20 14.3% 4.1%;--popover-foreground:60 9.1% 97.8%;--primary:60 9.1% 97.8%;--primary-foreground:24 9.8% 10%;--secondary:12 6.5% 15.1%;--secondary-foreground:60 9.1% 97.8%;--muted:12 6.5% 15.1%;--muted-foreground:24 5.4% 63.9%;--accent:12 6.5% 15.1%;--accent-foreground:60 9.1% 97.8%;--destructive:0 62.8% 30.6%;--destructive-foreground:60 9.1% 97.8%;--border:12 6.5% 15.1%;--input:12 6.5% 15.1%;--ring:24 5.7% 82.9%;--sidebar-background:240 5.9% 10%;--sidebar-foreground:240 4.8% 95.9%;--sidebar-primary:224.3 76.3% 48%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:240 3.7% 15.9%;--sidebar-accent-foreground:240 4.8% 95.9%;--sidebar-border:240 3.7% 15.9%;--sidebar-ring:217.2 91.2% 59.8%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}html{font-family:Geist,sans-serif}}textarea{resize:none}input[type=time]::-webkit-datetime-edit-seconds{display:none}input[type=time]::-webkit-datetime-edit-milliseconds{display:none}input[type=time]::-webkit-clear-button{display:none}input[type=time]::-webkit-inner-spin-button{display:none}input[type=time]::-webkit-datetime-edit{padding:.2em;font-size:1rem}[data-radix-popper-content-wrapper]{width:var(--radix-popper-anchor-width)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}.btn{font-family:inherit;font-weight:500;border-radius:.375rem;cursor:pointer;transition:all .2s ease-in-out;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.6;cursor:not-allowed}.btn--small{padding:.375rem .75rem;font-size:.875rem}.btn--medium{padding:.5rem 1rem;font-size:1rem}.btn--large{padding:.75rem 1.5rem;font-size:1.125rem}.btn--primary{background-color:#3b82f6;color:#fff;border-color:#3b82f6}.btn--primary:hover:not(:disabled){background-color:#2563eb;border-color:#2563eb}.btn--secondary{background-color:#6b7280;color:#fff;border-color:#6b7280}.btn--secondary:hover:not(:disabled){background-color:#4b5563;border-color:#4b5563}.btn--outline{background-color:transparent;color:#3b82f6;border-color:#3b82f6}.btn--outline:hover:not(:disabled){background-color:#3b82f6;color:#fff}.btn__spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.card{background-color:#fff;border-radius:.5rem;overflow:hidden;transition:box-shadow .2s ease-in-out}.card--none{box-shadow:none;border:1px solid #e5e7eb}.card--low{box-shadow:0 1px 2px #0000000d}.card--medium{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.card--high{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.card__header{padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb}.card__title{margin:0;font-size:1.125rem;font-weight:600;color:#111827}.card__body{padding:1.5rem;color:#374151}.card__footer{padding:1rem 1.5rem;background-color:#f9fafb;border-top:1px solid #e5e7eb}
|
package/dist/react-starter.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a_ as o, bo as t, br as r, bp as n, bq as i, ff as d, a5 as l, a6 as u, bs as c, bu as b, bv as g, bE as p, bF as S, bz as C, bD as m, bB as T, bA as D, bx as M, bw as A, bC as f, by as v, fv as h, bt as I, bb as P, bG as F, b3 as w, bH as x, bJ as B, bI as R, bK as G, bM as L, bS as k, bO as y, bP as H, bN as N, bQ as O, bR as E, Y as U, bU as V, Z as z, bZ as W, bY as q, bW as X, bV as j, bX as Y, b_ as Z, b$ as _, c0 as J, c2 as K, c1 as Q, fc as $, c3 as aa, c6 as ea, c7 as sa, c8 as oa, c4 as ta, c5 as ra, c9 as na, ca as ia, cc as da, cb as la, cd as ua, ce as ca, ch as ba, ci as ga, cf as pa, cj as Sa, cg as Ca, cl as ma, ck as Ta, aX as Da, cm as Ma, cq as Aa, co as fa, cv as va, cp as ha, cs as Ia, cw as Pa, cA as Fa, cr as wa, ct as xa, cu as Ba, cx as Ra, cy as Ga, cz as La, cn as ka, fu as ya, a0 as Ha, fi as Na, fk as Oa, aa as Ea, ab as Ua, fy as Va, fz as za, fw as Wa, cB as qa, cF as Xa, cG as ja, cK as Ya, cI as Za, cH as _a, cD as Ja, cC as Ka, cJ as Qa, cE as $a, cL as ae, cP as ee, cQ as se, cU as oe, cS as te, cR as re, cN as ne, cM as ie, cT as de, cO as le, cV as ue, cZ as ce, cX as be, d2 as ge, cY as pe, c$ as Se, d3 as Ce, d7 as me, c_ as Te, d0 as De, d1 as Me, d4 as Ae, d5 as fe, d6 as ve, cW as he, a4 as Ie, ai as Pe, d9 as Fe, bf as we, dc as xe, dd as Be, df as Re, da as Ge, db as Le, a3 as ke, de as ye, bd as He, fn as Ne, fE as Oe, fB as Ee, dg as Ue, di as Ve, dh as ze, dj as We, ac as qe, ad as Xe, ae as je, af as Ye, dk as Ze, a7 as _e, dl as Je, dm as Ke, dp as Qe, dn as $e, dq as as, aj as es, dr as ss, dy as os, du as ts, dE as rs, dv as ns, dx as is, ds, dB as ls, dz as us, dA as cs, dw as bs, dG as gs, dF as ps, dC as Ss, dD as Cs, dt as ms, a2 as Ts, dH as Ds, b5 as Ms, ft as As, fq as fs, fr as vs, fs as hs, dJ as Is, dM as Ps, dP as Fs, dL as ws, dO as xs, dK as Bs, dN as Rs, dQ as Gs, fo as Ls, b7 as ks, fC as ys, fd as Hs, fl as Ns, dR as Os, dU as Es, dT as Us, dS as Vs, fx as zs, dV as Ws, dX as qs, dW as Xs, dY as js, b1 as Ys, dZ as Zs, d_ as _s, bg as Js, e1 as Ks, e0 as Qs, d$ as $s, ag as ao, e2 as eo, e3 as so, e4 as oo, e8 as to, a9 as ro, e5 as no, a8 as io, ea as lo, e9 as uo, ed as co, ec as bo, eb as go, e7 as po, e6 as So, ee as Co, fm as mo, ef as To, ej as Do, ek as Mo, eo as Ao, em as fo, el as vo, eh as ho, eg as Io, en as Po, ei as Fo, a1 as wo, ep as xo, eq as Bo, er as Ro, es as Go, et as Lo, eu as ko, ev as yo, ew as Ho, ex as No, ey as Oo, ez as Eo, eA as Uo, eB as Vo, eC as zo, eD as Wo, eE as qo, eF as Xo, eG as jo, eH as Yo, eI as Zo, eJ as _o, eK as Jo, fp as Ko, eM as Qo, eN as $o, eO as at, eQ as et, fh as st, fe as ot, fg as tt, fA as rt, eR as nt, eU as it, eS as dt, eT as lt, eV as ut, b9 as ct, fD as bt, ah as gt, eY as pt, f0 as St, e$ as Ct, e_ as mt, eW as Tt, eZ as Dt, bn as Mt, eX as At, eP as ft, f1 as vt, f3 as ht, f4 as It, f5 as Pt, f7 as Ft, f8 as wt, f6 as xt, b0 as Bt, _ as Rt, bk as Gt, at as Lt, bL as kt, aw as yt, au as Ht, av as Nt, bT as Ot, an as Et, am as Ut, ao as Vt, aN as zt, aM as Wt, as as qt, fj as Xt, ar as jt, aI as Yt, X as Zt, aD as _t, ay as Jt, aq as Kt, ap as Qt, ax as $t, aG as ar, aH as er, aK as sr, aL as or, dI as tr, aO as rr, bm as nr, aC as ir, bc as dr, f9 as lr, az as ur, aE as cr, aF as br, X as gr, aJ as pr, aA as Sr, aB as Cr, fb as mr, f2 as Tr, aZ as Dr, bl as Mr, bh as Ar, b4 as fr, aQ as vr, aR as hr, aS as Ir, be as Pr, d8 as Fr, aT as wr, aU as xr, al as Br, ak as Rr, b6 as Gr, b8 as Lr, bi as kr, b2 as yr, aP as Hr, bj as Nr, aW as Or, eL as Er, ba as Ur, fa as Vr, aV as zr, aY as Wr, a$ as qr } from "./index-
|
|
1
|
+
import { a_ as o, bo as t, br as r, bp as n, bq as i, ff as d, a5 as l, a6 as u, bs as c, bu as b, bv as g, bE as p, bF as S, bz as C, bD as m, bB as T, bA as D, bx as M, bw as A, bC as f, by as v, fv as h, bt as I, bb as P, bG as F, b3 as w, bH as x, bJ as B, bI as R, bK as G, bM as L, bS as k, bO as y, bP as H, bN as N, bQ as O, bR as E, Y as U, bU as V, Z as z, bZ as W, bY as q, bW as X, bV as j, bX as Y, b_ as Z, b$ as _, c0 as J, c2 as K, c1 as Q, fc as $, c3 as aa, c6 as ea, c7 as sa, c8 as oa, c4 as ta, c5 as ra, c9 as na, ca as ia, cc as da, cb as la, cd as ua, ce as ca, ch as ba, ci as ga, cf as pa, cj as Sa, cg as Ca, cl as ma, ck as Ta, aX as Da, cm as Ma, cq as Aa, co as fa, cv as va, cp as ha, cs as Ia, cw as Pa, cA as Fa, cr as wa, ct as xa, cu as Ba, cx as Ra, cy as Ga, cz as La, cn as ka, fu as ya, a0 as Ha, fi as Na, fk as Oa, aa as Ea, ab as Ua, fy as Va, fz as za, fw as Wa, cB as qa, cF as Xa, cG as ja, cK as Ya, cI as Za, cH as _a, cD as Ja, cC as Ka, cJ as Qa, cE as $a, cL as ae, cP as ee, cQ as se, cU as oe, cS as te, cR as re, cN as ne, cM as ie, cT as de, cO as le, cV as ue, cZ as ce, cX as be, d2 as ge, cY as pe, c$ as Se, d3 as Ce, d7 as me, c_ as Te, d0 as De, d1 as Me, d4 as Ae, d5 as fe, d6 as ve, cW as he, a4 as Ie, ai as Pe, d9 as Fe, bf as we, dc as xe, dd as Be, df as Re, da as Ge, db as Le, a3 as ke, de as ye, bd as He, fn as Ne, fE as Oe, fB as Ee, dg as Ue, di as Ve, dh as ze, dj as We, ac as qe, ad as Xe, ae as je, af as Ye, dk as Ze, a7 as _e, dl as Je, dm as Ke, dp as Qe, dn as $e, dq as as, aj as es, dr as ss, dy as os, du as ts, dE as rs, dv as ns, dx as is, ds, dB as ls, dz as us, dA as cs, dw as bs, dG as gs, dF as ps, dC as Ss, dD as Cs, dt as ms, a2 as Ts, dH as Ds, b5 as Ms, ft as As, fq as fs, fr as vs, fs as hs, dJ as Is, dM as Ps, dP as Fs, dL as ws, dO as xs, dK as Bs, dN as Rs, dQ as Gs, fo as Ls, b7 as ks, fC as ys, fd as Hs, fl as Ns, dR as Os, dU as Es, dT as Us, dS as Vs, fx as zs, dV as Ws, dX as qs, dW as Xs, dY as js, b1 as Ys, dZ as Zs, d_ as _s, bg as Js, e1 as Ks, e0 as Qs, d$ as $s, ag as ao, e2 as eo, e3 as so, e4 as oo, e8 as to, a9 as ro, e5 as no, a8 as io, ea as lo, e9 as uo, ed as co, ec as bo, eb as go, e7 as po, e6 as So, ee as Co, fm as mo, ef as To, ej as Do, ek as Mo, eo as Ao, em as fo, el as vo, eh as ho, eg as Io, en as Po, ei as Fo, a1 as wo, ep as xo, eq as Bo, er as Ro, es as Go, et as Lo, eu as ko, ev as yo, ew as Ho, ex as No, ey as Oo, ez as Eo, eA as Uo, eB as Vo, eC as zo, eD as Wo, eE as qo, eF as Xo, eG as jo, eH as Yo, eI as Zo, eJ as _o, eK as Jo, fp as Ko, eM as Qo, eN as $o, eO as at, eQ as et, fh as st, fe as ot, fg as tt, fA as rt, eR as nt, eU as it, eS as dt, eT as lt, eV as ut, b9 as ct, fD as bt, ah as gt, eY as pt, f0 as St, e$ as Ct, e_ as mt, eW as Tt, eZ as Dt, bn as Mt, eX as At, eP as ft, f1 as vt, f3 as ht, f4 as It, f5 as Pt, f7 as Ft, f8 as wt, f6 as xt, b0 as Bt, _ as Rt, bk as Gt, at as Lt, bL as kt, aw as yt, au as Ht, av as Nt, bT as Ot, an as Et, am as Ut, ao as Vt, aN as zt, aM as Wt, as as qt, fj as Xt, ar as jt, aI as Yt, X as Zt, aD as _t, ay as Jt, aq as Kt, ap as Qt, ax as $t, aG as ar, aH as er, aK as sr, aL as or, dI as tr, aO as rr, bm as nr, aC as ir, bc as dr, f9 as lr, az as ur, aE as cr, aF as br, X as gr, aJ as pr, aA as Sr, aB as Cr, fb as mr, f2 as Tr, aZ as Dr, bl as Mr, bh as Ar, b4 as fr, aQ as vr, aR as hr, aS as Ir, be as Pr, d8 as Fr, aT as wr, aU as xr, al as Br, ak as Rr, b6 as Gr, b8 as Lr, bi as kr, b2 as yr, aP as Hr, bj as Nr, aW as Or, eL as Er, ba as Ur, fa as Vr, aV as zr, aY as Wr, a$ as qr } from "./index-bzvta4Dl.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
export {
|
|
4
4
|
o as AccessControlWrapper,
|
|
@@ -457,7 +457,7 @@ ${n.map(([i,a])=>{var l;const s=((l=a.theme)==null?void 0:l[r])||a.color;return
|
|
|
457
457
|
--nojs-bg: black !important;
|
|
458
458
|
--nojs-fg: white !important;
|
|
459
459
|
}
|
|
460
|
-
}`;const WV=y.forwardRef(({className:e,containerClassName:t,...n},r)=>g.jsx(HV,{ref:r,containerClassName:U("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:U("disabled:cursor-not-allowed",e),...n}));WV.displayName="InputOTP";const KV=y.forwardRef(({className:e,...t},n)=>g.jsx("div",{ref:n,className:U("flex items-center",e),...t}));KV.displayName="InputOTPGroup";const GV=y.forwardRef(({index:e,className:t,...n},r)=>{const o=y.useContext(UV),{char:i,hasFakeCaret:a,isActive:s}=o.slots[e];return g.jsxs("div",{ref:r,className:U("relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",s&&"z-10 ring-1 ring-ring",t),...n,children:[i,a&&g.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:g.jsx("div",{className:"animate-caret-blink h-4 w-px bg-foreground duration-1000"})})]})});GV.displayName="InputOTPSlot";const YV=y.forwardRef(({...e},t)=>g.jsx("div",{ref:t,role:"separator",...e,children:g.jsx(fte,{})}));YV.displayName="InputOTPSeparator";var jh="Menubar",[xk,VNe,qNe]=va(jh),[ZV]=en(jh,[qNe,na]),xr=kh(),XV=na(),[UNe,Sk]=ZV(jh),QV=y.forwardRef((e,t)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:i,loop:a=!0,dir:s,...l}=e,c=Qo(s),u=XV(n),[d,f]=Zt({prop:r,onChange:o,defaultProp:i??"",caller:jh}),[p,h]=y.useState(null);return g.jsx(UNe,{scope:n,value:d,onMenuOpen:y.useCallback(m=>{f(m),h(m)},[f]),onMenuClose:y.useCallback(()=>f(""),[f]),onMenuToggle:y.useCallback(m=>{f(v=>v?"":m),h(m)},[f]),dir:c,loop:a,children:g.jsx(xk.Provider,{scope:n,children:g.jsx(xk.Slot,{scope:n,children:g.jsx(Sh,{asChild:!0,...u,orientation:"horizontal",loop:a,dir:c,currentTabStopId:p,onCurrentTabStopIdChange:h,children:g.jsx(_e.div,{role:"menubar",...l,ref:t})})})})})});QV.displayName=jh;var Ck="MenubarMenu",[HNe,JV]=ZV(Ck),eq=e=>{const{__scopeMenubar:t,value:n,...r}=e,o=Ht(),i=n||o||"LEGACY_REACT_AUTO_VALUE",a=Sk(Ck,t),s=xr(t),l=y.useRef(null),c=y.useRef(!1),u=a.value===i;return y.useEffect(()=>{u||(c.current=!1)},[u]),g.jsx(HNe,{scope:t,value:i,triggerId:Ht(),triggerRef:l,contentId:Ht(),wasKeyboardTriggerOpenRef:c,children:g.jsx($_,{...s,open:u,onOpenChange:d=>{d||a.onMenuClose()},modal:!1,dir:a.dir,...r})})};eq.displayName=Ck;var Ek="MenubarTrigger",tq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=e,i=XV(n),a=xr(n),s=Sk(Ek,n),l=JV(Ek,n),c=y.useRef(null),u=He(t,c,l.triggerRef),[d,f]=y.useState(!1),p=s.value===l.value;return g.jsx(xk.ItemSlot,{scope:n,value:l.value,disabled:r,children:g.jsx(Ch,{asChild:!0,...i,focusable:!r,tabStopId:l.value,children:g.jsx(I_,{asChild:!0,...a,children:g.jsx(_e.button,{type:"button",role:"menuitem",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":p,"aria-controls":p?l.contentId:void 0,"data-highlighted":d?"":void 0,"data-state":p?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:u,onPointerDown:ce(e.onPointerDown,h=>{!r&&h.button===0&&h.ctrlKey===!1&&(s.onMenuOpen(l.value),p||h.preventDefault())}),onPointerEnter:ce(e.onPointerEnter,()=>{var m;!!s.value&&!p&&(s.onMenuOpen(l.value),(m=c.current)==null||m.focus())}),onKeyDown:ce(e.onKeyDown,h=>{r||(["Enter"," "].includes(h.key)&&s.onMenuToggle(l.value),h.key==="ArrowDown"&&s.onMenuOpen(l.value),["Enter"," ","ArrowDown"].includes(h.key)&&(l.wasKeyboardTriggerOpenRef.current=!0,h.preventDefault()))}),onFocus:ce(e.onFocus,()=>f(!0)),onBlur:ce(e.onBlur,()=>f(!1))})})})})});tq.displayName=Ek;var WNe="MenubarPortal",nq=e=>{const{__scopeMenubar:t,...n}=e,r=xr(t);return g.jsx(F_,{...r,...n})};nq.displayName=WNe;var _k="MenubarContent",rq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,align:r="start",...o}=e,i=xr(n),a=Sk(_k,n),s=JV(_k,n),l=VNe(n),c=y.useRef(!1);return g.jsx(L_,{id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":"",...i,...o,ref:t,align:r,onCloseAutoFocus:ce(e.onCloseAutoFocus,u=>{var f;!!!a.value&&!c.current&&((f=s.triggerRef.current)==null||f.focus()),c.current=!1,u.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,u=>{const d=u.target;l().some(p=>{var h;return(h=p.ref.current)==null?void 0:h.contains(d)})&&u.preventDefault()}),onInteractOutside:ce(e.onInteractOutside,()=>{c.current=!0}),onEntryFocus:u=>{s.wasKeyboardTriggerOpenRef.current||u.preventDefault()},onKeyDown:ce(e.onKeyDown,u=>{if(["ArrowRight","ArrowLeft"].includes(u.key)){const d=u.target,f=d.hasAttribute("data-radix-menubar-subtrigger"),p=d.closest("[data-radix-menubar-content]")!==u.currentTarget,m=(a.dir==="rtl"?"ArrowRight":"ArrowLeft")===u.key;if(!m&&f||p&&m)return;let w=l().filter(C=>!C.disabled).map(C=>C.value);m&&w.reverse();const x=w.indexOf(s.value);w=a.loop?iDe(w,x+1):w.slice(x+1);const[S]=w;S&&a.onMenuOpen(S)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});rq.displayName=_k;var KNe="MenubarGroup",oq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(z_,{...o,...r,ref:t})});oq.displayName=KNe;var GNe="MenubarLabel",iq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(j_,{...o,...r,ref:t})});iq.displayName=GNe;var YNe="MenubarItem",aq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(R_,{...o,...r,ref:t})});aq.displayName=YNe;var ZNe="MenubarCheckboxItem",sq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(B_,{...o,...r,ref:t})});sq.displayName=ZNe;var XNe="MenubarRadioGroup",lq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(V_,{...o,...r,ref:t})});lq.displayName=XNe;var QNe="MenubarRadioItem",cq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(q_,{...o,...r,ref:t})});cq.displayName=QNe;var JNe="MenubarItemIndicator",uq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(U_,{...o,...r,ref:t})});uq.displayName=JNe;var eDe="MenubarSeparator",dq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(H_,{...o,...r,ref:t})});dq.displayName=eDe;var tDe="MenubarArrow",nDe=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(W_,{...o,...r,ref:t})});nDe.displayName=tDe;var fq="MenubarSub",pq=e=>{const{__scopeMenubar:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=xr(t),[s,l]=Zt({prop:r,defaultProp:i??!1,onChange:o,caller:fq});return g.jsx(K_,{...a,open:s,onOpenChange:l,children:n})};pq.displayName=fq;var rDe="MenubarSubTrigger",hq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(G_,{"data-radix-menubar-subtrigger":"",...o,...r,ref:t})});hq.displayName=rDe;var oDe="MenubarSubContent",gq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(Y_,{...o,"data-radix-menubar-content":"",...r,ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});gq.displayName=oDe;function iDe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var mq=QV,aDe=eq,vq=tq,yq=nq,bq=rq,sDe=oq,wq=iq,xq=aq,Sq=sq,lDe=lq,Cq=cq,Eq=uq,_q=dq,cDe=pq,kq=hq,Oq=gq;const uDe=aDe,dDe=sDe,fDe=yq,pDe=cDe,hDe=lDe,Pq=y.forwardRef(({className:e,...t},n)=>g.jsx(mq,{ref:n,className:U("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));Pq.displayName=mq.displayName;const Aq=y.forwardRef(({className:e,...t},n)=>g.jsx(vq,{ref:n,className:U("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));Aq.displayName=vq.displayName;const Tq=y.forwardRef(({className:e,inset:t,children:n,...r},o)=>g.jsxs(kq,{ref:o,className:U("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[n,g.jsx(Oa,{className:"ml-auto h-4 w-4"})]}));Tq.displayName=kq.displayName;const Mq=y.forwardRef(({className:e,...t},n)=>g.jsx(Oq,{ref:n,className:U("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Mq.displayName=Oq.displayName;const Nq=y.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:r=8,...o},i)=>g.jsx(yq,{children:g.jsx(bq,{ref:i,align:t,alignOffset:n,sideOffset:r,className:U("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Nq.displayName=bq.displayName;const Dq=y.forwardRef(({className:e,inset:t,...n},r)=>g.jsx(xq,{ref:r,className:U("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Dq.displayName=xq.displayName;const $q=y.forwardRef(({className:e,children:t,checked:n,...r},o)=>g.jsxs(Sq,{ref:o,className:U("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[g.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:g.jsx(Eq,{children:g.jsx(ka,{className:"h-4 w-4"})})}),t]}));$q.displayName=Sq.displayName;const Iq=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(Cq,{ref:r,className:U("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[g.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:g.jsx(Eq,{children:g.jsx(yx,{className:"h-4 w-4 fill-current"})})}),t]}));Iq.displayName=Cq.displayName;const Fq=y.forwardRef(({className:e,inset:t,...n},r)=>g.jsx(wq,{ref:r,className:U("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Fq.displayName=wq.displayName;const Lq=y.forwardRef(({className:e,...t},n)=>g.jsx(_q,{ref:n,className:U("-mx-1 my-1 h-px bg-muted",e),...t}));Lq.displayName=_q.displayName;const zq=({className:e,...t})=>g.jsx("span",{className:U("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});zq.displayname="MenubarShortcut";const Rh=tp,jq=Zm,Rq=kl,Bq=np,kk=y.forwardRef(({className:e,...t},n)=>g.jsx(El,{className:U("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));kk.displayName=El.displayName;const gDe=ba("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),id=y.forwardRef(({side:e="right",className:t,children:n,...r},o)=>g.jsxs(Bq,{children:[g.jsx(kk,{}),g.jsxs(_l,{ref:o,className:U(gDe({side:e}),t),...r,children:[g.jsxs(kl,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[g.jsx(sp,{className:"h-4 w-4"}),g.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));id.displayName=_l.displayName;const Bh=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col space-y-2 text-center sm:text-left",e),...t});Bh.displayName="SheetHeader";const U0=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});U0.displayName="SheetFooter";const Vh=y.forwardRef(({className:e,...t},n)=>g.jsx(gu,{ref:n,className:U("text-lg font-semibold text-foreground",e),...t}));Vh.displayName=gu.displayName;const qh=y.forwardRef(({className:e,...t},n)=>g.jsx(mu,{ref:n,className:U("text-sm text-muted-foreground",e),...t}));qh.displayName=mu.displayName;function Uh(e,[t,n]){return Math.min(n,Math.max(t,e))}function mDe(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var Ok="ScrollArea",[Vq]=en(Ok),[vDe,Io]=Vq(Ok),qq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:i=600,...a}=e,[s,l]=y.useState(null),[c,u]=y.useState(null),[d,f]=y.useState(null),[p,h]=y.useState(null),[m,v]=y.useState(null),[b,w]=y.useState(0),[x,S]=y.useState(0),[C,_]=y.useState(!1),[k,O]=y.useState(!1),P=He(t,T=>l(T)),A=Qo(o);return g.jsx(vDe,{scope:n,type:r,dir:A,scrollHideDelay:i,scrollArea:s,viewport:c,onViewportChange:u,content:d,onContentChange:f,scrollbarX:p,onScrollbarXChange:h,scrollbarXEnabled:C,onScrollbarXEnabledChange:_,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:k,onScrollbarYEnabledChange:O,onCornerWidthChange:w,onCornerHeightChange:S,children:g.jsx(_e.div,{dir:A,...a,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})})});qq.displayName=Ok;var Uq="ScrollAreaViewport",Hq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...i}=e,a=Io(Uq,n),s=y.useRef(null),l=He(t,s,a.onViewportChange);return g.jsxs(g.Fragment,{children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),g.jsx(_e.div,{"data-radix-scroll-area-viewport":"",...i,ref:l,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style},children:g.jsx("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});Hq.displayName=Uq;var ra="ScrollAreaScrollbar",Pk=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=o,s=e.orientation==="horizontal";return y.useEffect(()=>(s?i(!0):a(!0),()=>{s?i(!1):a(!1)}),[s,i,a]),o.type==="hover"?g.jsx(yDe,{...r,ref:t,forceMount:n}):o.type==="scroll"?g.jsx(bDe,{...r,ref:t,forceMount:n}):o.type==="auto"?g.jsx(Wq,{...r,ref:t,forceMount:n}):o.type==="always"?g.jsx(Ak,{...r,ref:t}):null});Pk.displayName=ra;var yDe=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),[i,a]=y.useState(!1);return y.useEffect(()=>{const s=o.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),a(!0)},u=()=>{l=window.setTimeout(()=>a(!1),o.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[o.scrollArea,o.scrollHideDelay]),g.jsx(Xt,{present:n||i,children:g.jsx(Wq,{"data-state":i?"visible":"hidden",...r,ref:t})})}),bDe=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),i=e.orientation==="horizontal",a=G0(()=>l("SCROLL_END"),100),[s,l]=mDe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return y.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,o.scrollHideDelay,l]),y.useEffect(()=>{const c=o.viewport,u=i?"scrollLeft":"scrollTop";if(c){let d=c[u];const f=()=>{const p=c[u];d!==p&&(l("SCROLL"),a()),d=p};return c.addEventListener("scroll",f),()=>c.removeEventListener("scroll",f)}},[o.viewport,i,l,a]),g.jsx(Xt,{present:n||s!=="hidden",children:g.jsx(Ak,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:ce(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:ce(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),Wq=y.forwardRef((e,t)=>{const n=Io(ra,e.__scopeScrollArea),{forceMount:r,...o}=e,[i,a]=y.useState(!1),s=e.orientation==="horizontal",l=G0(()=>{if(n.viewport){const c=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;a(s?c:u)}},10);return ad(n.viewport,l),ad(n.content,l),g.jsx(Xt,{present:r||i,children:g.jsx(Ak,{"data-state":i?"visible":"hidden",...o,ref:t})})}),Ak=y.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=Io(ra,e.__scopeScrollArea),i=y.useRef(null),a=y.useRef(0),[s,l]=y.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=Xq(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:f=>i.current=f,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:f=>a.current=f};function d(f,p){return _De(f,a.current,s,p)}return n==="horizontal"?g.jsx(wDe,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const f=o.viewport.scrollLeft,p=Qq(f,s,o.dir);i.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollLeft=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollLeft=d(f,o.dir))}}):n==="vertical"?g.jsx(xDe,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const f=o.viewport.scrollTop,p=Qq(f,s);i.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollTop=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollTop=d(f))}}):null}),wDe=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=Io(ra,e.__scopeScrollArea),[a,s]=y.useState(),l=y.useRef(null),c=He(t,l,i.onScrollbarXChange);return y.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),g.jsx(Gq,{"data-orientation":"horizontal",...o,ref:c,sizes:n,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":K0(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,d)=>{if(i.viewport){const f=i.viewport.scrollLeft+u.deltaX;e.onWheelScroll(f),eU(f,d)&&u.preventDefault()}},onResize:()=>{l.current&&i.viewport&&a&&r({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:W0(a.paddingLeft),paddingEnd:W0(a.paddingRight)}})}})}),xDe=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=Io(ra,e.__scopeScrollArea),[a,s]=y.useState(),l=y.useRef(null),c=He(t,l,i.onScrollbarYChange);return y.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),g.jsx(Gq,{"data-orientation":"vertical",...o,ref:c,sizes:n,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":K0(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,d)=>{if(i.viewport){const f=i.viewport.scrollTop+u.deltaY;e.onWheelScroll(f),eU(f,d)&&u.preventDefault()}},onResize:()=>{l.current&&i.viewport&&a&&r({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:W0(a.paddingTop),paddingEnd:W0(a.paddingBottom)}})}})}),[SDe,Kq]=Vq(ra),Gq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:i,onThumbPointerUp:a,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:d,...f}=e,p=Io(ra,n),[h,m]=y.useState(null),v=He(t,P=>m(P)),b=y.useRef(null),w=y.useRef(""),x=p.viewport,S=r.content-r.viewport,C=Et(u),_=Et(l),k=G0(d,10);function O(P){if(b.current){const A=P.clientX-b.current.left,T=P.clientY-b.current.top;c({x:A,y:T})}}return y.useEffect(()=>{const P=A=>{const T=A.target;(h==null?void 0:h.contains(T))&&C(A,S)};return document.addEventListener("wheel",P,{passive:!1}),()=>document.removeEventListener("wheel",P,{passive:!1})},[x,h,S,C]),y.useEffect(_,[r,_]),ad(h,k),ad(p.content,k),g.jsx(SDe,{scope:n,scrollbar:h,hasThumb:o,onThumbChange:Et(i),onThumbPointerUp:Et(a),onThumbPositionChange:_,onThumbPointerDown:Et(s),children:g.jsx(_e.div,{...f,ref:v,style:{position:"absolute",...f.style},onPointerDown:ce(e.onPointerDown,P=>{P.button===0&&(P.target.setPointerCapture(P.pointerId),b.current=h.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),O(P))}),onPointerMove:ce(e.onPointerMove,O),onPointerUp:ce(e.onPointerUp,P=>{const A=P.target;A.hasPointerCapture(P.pointerId)&&A.releasePointerCapture(P.pointerId),document.body.style.webkitUserSelect=w.current,p.viewport&&(p.viewport.style.scrollBehavior=""),b.current=null})})})}),H0="ScrollAreaThumb",Yq=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Kq(H0,e.__scopeScrollArea);return g.jsx(Xt,{present:n||o.hasThumb,children:g.jsx(CDe,{ref:t,...r})})}),CDe=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,i=Io(H0,n),a=Kq(H0,n),{onThumbPositionChange:s}=a,l=He(t,d=>a.onThumbChange(d)),c=y.useRef(void 0),u=G0(()=>{c.current&&(c.current(),c.current=void 0)},100);return y.useEffect(()=>{const d=i.viewport;if(d){const f=()=>{if(u(),!c.current){const p=kDe(d,s);c.current=p,s()}};return s(),d.addEventListener("scroll",f),()=>d.removeEventListener("scroll",f)}},[i.viewport,u,s]),g.jsx(_e.div,{"data-state":a.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:ce(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),h=d.clientX-p.left,m=d.clientY-p.top;a.onThumbPointerDown({x:h,y:m})}),onPointerUp:ce(e.onPointerUp,a.onThumbPointerUp)})});Yq.displayName=H0;var Tk="ScrollAreaCorner",Zq=y.forwardRef((e,t)=>{const n=Io(Tk,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?g.jsx(EDe,{...e,ref:t}):null});Zq.displayName=Tk;var EDe=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=Io(Tk,n),[i,a]=y.useState(0),[s,l]=y.useState(0),c=!!(i&&s);return ad(o.scrollbarX,()=>{var d;const u=((d=o.scrollbarX)==null?void 0:d.offsetHeight)||0;o.onCornerHeightChange(u),l(u)}),ad(o.scrollbarY,()=>{var d;const u=((d=o.scrollbarY)==null?void 0:d.offsetWidth)||0;o.onCornerWidthChange(u),a(u)}),c?g.jsx(_e.div,{...r,ref:t,style:{width:i,height:s,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function W0(e){return e?parseInt(e,10):0}function Xq(e,t){const n=e/t;return isNaN(n)?0:n}function K0(e){const t=Xq(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function _De(e,t,n,r="ltr"){const o=K0(n),i=o/2,a=t||i,s=o-a,l=n.scrollbar.paddingStart+a,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r==="ltr"?[0,u]:[u*-1,0];return Jq([l,c],d)(e)}function Qq(e,t,n="ltr"){const r=K0(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,a=t.content-t.viewport,s=i-r,l=n==="ltr"?[0,a]:[a*-1,0],c=Uh(e,l);return Jq([0,a],[0,s])(c)}function Jq(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function eU(e,t){return e>0&&e<t}var kDe=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function o(){const i={left:e.scrollLeft,top:e.scrollTop},a=n.left!==i.left,s=n.top!==i.top;(a||s)&&t(),n=i,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function G0(e,t){const n=Et(e),r=y.useRef(0);return y.useEffect(()=>()=>window.clearTimeout(r.current),[]),y.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function ad(e,t){const n=Et(t);tn(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var tU=qq,ODe=Hq,PDe=Zq;const Y0=y.forwardRef(({className:e,children:t,scrollTo:n,...r},o)=>{const i=y.useRef(null);return y.useEffect(()=>{i.current&&n&&i.current.scrollTo({left:n,behavior:"smooth"})},[n]),g.jsxs(tU,{type:"always",ref:o,className:U("relative overflow-hidden",e),...r,children:[g.jsx("div",{className:"w-full mt-1"}),g.jsx(ODe,{className:"h-full w-full rounded-[inherit] snap-y snap-mandatory ",ref:i,children:t}),g.jsx("div",{className:"w-full mt-1"}),g.jsx(Hh,{orientation:"vertical"}),g.jsx(Hh,{orientation:"horizontal"}),g.jsx(PDe,{})]})});Y0.displayName=tU.displayName;const Hh=y.forwardRef(({className:e,orientation:t="vertical",...n},r)=>g.jsx(Pk,{ref:r,orientation:t,className:U("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:g.jsx(Yq,{className:"relative flex-1 rounded-full bg-border bg-stone-300"})}));Hh.displayName=Pk.displayName;const Z0=({title:e,description:t,isOpen:n,onClose:r,children:o,className:i,allowDismissal:a=!0,userPopup:s=!1})=>{const l=c=>{c||r()};return s?g.jsx(a_,{open:n,onOpenChange:l,children:g.jsxs(u0,{className:i,onPointerDownOutside:a?()=>{}:c=>c.preventDefault(),children:[g.jsxs(l_,{children:[g.jsx(d0,{}),g.jsx(c_,{})]}),g.jsx("div",{children:o})]})}):g.jsx(Rh,{open:n,onOpenChange:l,children:g.jsxs(id,{className:" w-[1000px] sm:w-[700px] max-w-md lg:max-w-3xl flex flex-col "+i,onPointerDownOutside:a?()=>{}:c=>c.preventDefault(),children:[g.jsxs(Bh,{children:[g.jsx(Vh,{className:"ml-4",children:e}),g.jsx(qh,{children:t})]}),g.jsx(Y0,{className:"flex-1 px-6 -mx-6",children:g.jsx("div",{className:"px-6",children:o})}),g.jsx(U0,{})]})})};var nU=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ADe="VisuallyHidden",X0=y.forwardRef((e,t)=>g.jsx(_e.span,{...e,ref:t,style:{...nU,...e.style}}));X0.displayName=ADe;var rU=X0,ic="NavigationMenu",[Mk,oU,TDe]=va(ic),[Nk,MDe,NDe]=va(ic),[Dk]=en(ic,[TDe,NDe]),[DDe,Fo]=Dk(ic),[$De,IDe]=Dk(ic),iU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...u}=e,[d,f]=y.useState(null),p=He(t,P=>f(P)),h=Qo(c),m=y.useRef(0),v=y.useRef(0),b=y.useRef(0),[w,x]=y.useState(!0),[S,C]=Zt({prop:r,onChange:P=>{const A=P!=="",T=s>0;A?(window.clearTimeout(b.current),T&&x(!1)):(window.clearTimeout(b.current),b.current=window.setTimeout(()=>x(!0),s)),o==null||o(P)},defaultProp:i??"",caller:ic}),_=y.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>C(""),150)},[C]),k=y.useCallback(P=>{window.clearTimeout(v.current),C(P)},[C]),O=y.useCallback(P=>{S===P?window.clearTimeout(v.current):m.current=window.setTimeout(()=>{window.clearTimeout(v.current),C(P)},a)},[S,C,a]);return y.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(v.current),window.clearTimeout(b.current)},[]),g.jsx(aU,{scope:n,isRootMenu:!0,value:S,dir:h,orientation:l,rootNavigationMenu:d,onTriggerEnter:P=>{window.clearTimeout(m.current),w?O(P):k(P)},onTriggerLeave:()=>{window.clearTimeout(m.current),_()},onContentEnter:()=>window.clearTimeout(v.current),onContentLeave:_,onItemSelect:P=>{C(A=>A===P?"":P)},onItemDismiss:()=>C(""),children:g.jsx(_e.nav,{"aria-label":"Main","data-orientation":l,dir:h,...u,ref:p})})});iU.displayName=ic;var $k="NavigationMenuSub",FDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...s}=e,l=Fo($k,n),[c,u]=Zt({prop:r,onChange:o,defaultProp:i??"",caller:$k});return g.jsx(aU,{scope:n,isRootMenu:!1,value:c,dir:l.dir,orientation:a,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:d=>u(d),onItemSelect:d=>u(d),onItemDismiss:()=>u(""),children:g.jsx(_e.div,{"data-orientation":a,...s,ref:t})})});FDe.displayName=$k;var aU=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:f,onContentLeave:p}=e,[h,m]=y.useState(null),[v,b]=y.useState(new Map),[w,x]=y.useState(null);return g.jsx(DDe,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:Hu(s),baseId:Ht(),dir:o,orientation:i,viewport:h,onViewportChange:m,indicatorTrack:w,onIndicatorTrackChange:x,onTriggerEnter:Et(u),onTriggerLeave:Et(d),onContentEnter:Et(f),onContentLeave:Et(p),onItemSelect:Et(l),onItemDismiss:Et(c),onViewportContentChange:y.useCallback((S,C)=>{b(_=>(_.set(S,C),new Map(_)))},[]),onViewportContentRemove:y.useCallback(S=>{b(C=>C.has(S)?(C.delete(S),new Map(C)):C)},[]),children:g.jsx(Mk.Provider,{scope:t,children:g.jsx($De,{scope:t,items:v,children:a})})})},sU="NavigationMenuList",lU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(sU,n),i=g.jsx(_e.ul,{"data-orientation":o.orientation,...r,ref:t});return g.jsx(_e.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:g.jsx(Mk.Slot,{scope:n,children:o.isRootMenu?g.jsx(bU,{asChild:!0,children:i}):i})})});lU.displayName=sU;var cU="NavigationMenuItem",[LDe,uU]=Dk(cU),dU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=Ht(),a=r||i||"LEGACY_REACT_AUTO_VALUE",s=y.useRef(null),l=y.useRef(null),c=y.useRef(null),u=y.useRef(()=>{}),d=y.useRef(!1),f=y.useCallback((h="start")=>{if(s.current){u.current();const m=zk(s.current);m.length&&jk(h==="start"?m:m.reverse())}},[]),p=y.useCallback(()=>{if(s.current){const h=zk(s.current);h.length&&(u.current=UDe(h))}},[]);return g.jsx(LDe,{scope:n,value:a,triggerRef:l,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:d,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p,children:g.jsx(_e.li,{...o,ref:t})})});dU.displayName=cU;var Ik="NavigationMenuTrigger",fU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Fo(Ik,e.__scopeNavigationMenu),a=uU(Ik,e.__scopeNavigationMenu),s=y.useRef(null),l=He(s,a.triggerRef,t),c=SU(i.baseId,a.value),u=CU(i.baseId,a.value),d=y.useRef(!1),f=y.useRef(!1),p=a.value===i.value;return g.jsxs(g.Fragment,{children:[g.jsx(Mk.ItemSlot,{scope:n,value:a.value,children:g.jsx(xU,{asChild:!0,children:g.jsx(_e.button,{id:c,disabled:r,"data-disabled":r?"":void 0,"data-state":Bk(p),"aria-expanded":p,"aria-controls":u,...o,ref:l,onPointerEnter:ce(e.onPointerEnter,()=>{f.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:ce(e.onPointerMove,J0(()=>{r||f.current||a.wasEscapeCloseRef.current||d.current||(i.onTriggerEnter(a.value),d.current=!0)})),onPointerLeave:ce(e.onPointerLeave,J0(()=>{r||(i.onTriggerLeave(),d.current=!1)})),onClick:ce(e.onClick,()=>{i.onItemSelect(a.value),f.current=p}),onKeyDown:ce(e.onKeyDown,h=>{const v={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&h.key===v&&(a.onEntryKeyDown(),h.preventDefault())})})})}),p&&g.jsxs(g.Fragment,{children:[g.jsx(rU,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:h=>{const m=a.contentRef.current,v=h.relatedTarget,b=v===s.current,w=m==null?void 0:m.contains(v);(b||!w)&&a.onFocusProxyEnter(b?"start":"end")}}),i.viewport&&g.jsx("span",{"aria-owns":u})]})]})});fU.displayName=Ik;var zDe="NavigationMenuLink",pU="navigationMenu.linkSelect",hU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return g.jsx(xU,{asChild:!0,children:g.jsx(_e.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:ce(e.onClick,a=>{const s=a.target,l=new CustomEvent(pU,{bubbles:!0,cancelable:!0});if(s.addEventListener(pU,c=>o==null?void 0:o(c),{once:!0}),Sf(s,l),!l.defaultPrevented&&!a.metaKey){const c=new CustomEvent(Q0,{bubbles:!0,cancelable:!0});Sf(s,c)}},{checkForDefaultPrevented:!1})})})});hU.displayName=zDe;var Fk="NavigationMenuIndicator",gU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fo(Fk,e.__scopeNavigationMenu),i=!!o.value;return o.indicatorTrack?tr.createPortal(g.jsx(Xt,{present:n||i,children:g.jsx(jDe,{...r,ref:t})}),o.indicatorTrack):null});gU.displayName=Fk;var jDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(Fk,n),i=oU(n),[a,s]=y.useState(null),[l,c]=y.useState(null),u=o.orientation==="horizontal",d=!!o.value;y.useEffect(()=>{var m;const h=(m=i().find(v=>v.value===o.value))==null?void 0:m.ref.current;h&&s(h)},[i,o.value]);const f=()=>{a&&c({size:u?a.offsetWidth:a.offsetHeight,offset:u?a.offsetLeft:a.offsetTop})};return Rk(a,f),Rk(o.indicatorTrack,f),l?g.jsx(_e.div,{"aria-hidden":!0,"data-state":d?"visible":"hidden","data-orientation":o.orientation,...r,ref:t,style:{position:"absolute",...u?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...r.style}}):null}),sd="NavigationMenuContent",mU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fo(sd,e.__scopeNavigationMenu),i=uU(sd,e.__scopeNavigationMenu),a=He(i.contentRef,t),s=i.value===o.value,l={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?g.jsx(RDe,{forceMount:n,...l,ref:a}):g.jsx(Xt,{present:n||s,children:g.jsx(vU,{"data-state":Bk(s),...l,ref:a,onPointerEnter:ce(e.onPointerEnter,o.onContentEnter),onPointerLeave:ce(e.onPointerLeave,J0(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...l.style}})})});mU.displayName=sd;var RDe=y.forwardRef((e,t)=>{const n=Fo(sd,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return tn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),tn(()=>()=>o(e.value),[e.value,o]),null}),Q0="navigationMenu.rootContentDismiss",vU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:s,onContentFocusOutside:l,...c}=e,u=Fo(sd,n),d=y.useRef(null),f=He(d,t),p=SU(u.baseId,r),h=CU(u.baseId,r),m=oU(n),v=y.useRef(null),{onItemDismiss:b}=u;y.useEffect(()=>{const x=d.current;if(u.isRootMenu&&x){const S=()=>{var C;b(),s(),x.contains(document.activeElement)&&((C=o.current)==null||C.focus())};return x.addEventListener(Q0,S),()=>x.removeEventListener(Q0,S)}},[u.isRootMenu,e.value,o,b,s]);const w=y.useMemo(()=>{const S=m().map(A=>A.value);u.dir==="rtl"&&S.reverse();const C=S.indexOf(u.value),_=S.indexOf(u.previousValue),k=r===u.value,O=_===S.indexOf(r);if(!k&&!O)return v.current;const P=(()=>{if(C!==_){if(k&&_!==-1)return C>_?"from-end":"from-start";if(O&&C!==-1)return C>_?"to-start":"to-end"}return null})();return v.current=P,P},[u.previousValue,u.value,u.dir,m,r]);return g.jsx(bU,{asChild:!0,children:g.jsx(Ea,{id:h,"aria-labelledby":p,"data-motion":w,"data-orientation":u.orientation,...c,ref:f,disableOutsidePointerEvents:!1,onDismiss:()=>{var S;const x=new Event(Q0,{bubbles:!0,cancelable:!0});(S=d.current)==null||S.dispatchEvent(x)},onFocusOutside:ce(e.onFocusOutside,x=>{var C;l();const S=x.target;(C=u.rootNavigationMenu)!=null&&C.contains(S)&&x.preventDefault()}),onPointerDownOutside:ce(e.onPointerDownOutside,x=>{var k;const S=x.target,C=m().some(O=>{var P;return(P=O.ref.current)==null?void 0:P.contains(S)}),_=u.isRootMenu&&((k=u.viewport)==null?void 0:k.contains(S));(C||_||!u.isRootMenu)&&x.preventDefault()}),onKeyDown:ce(e.onKeyDown,x=>{var _;const S=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!S){const k=zk(x.currentTarget),O=document.activeElement,P=k.findIndex(N=>N===O),T=x.shiftKey?k.slice(0,P).reverse():k.slice(P+1,k.length);jk(T)?x.preventDefault():(_=i.current)==null||_.focus()}}),onEscapeKeyDown:ce(e.onEscapeKeyDown,x=>{a.current=!0})})})}),Lk="NavigationMenuViewport",yU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=!!Fo(Lk,e.__scopeNavigationMenu).value;return g.jsx(Xt,{present:n||i,children:g.jsx(BDe,{...r,ref:t})})});yU.displayName=Lk;var BDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,children:r,...o}=e,i=Fo(Lk,n),a=He(t,i.onViewportChange),s=IDe(sd,e.__scopeNavigationMenu),[l,c]=y.useState(null),[u,d]=y.useState(null),f=l?(l==null?void 0:l.width)+"px":void 0,p=l?(l==null?void 0:l.height)+"px":void 0,h=!!i.value,m=h?i.value:i.previousValue;return Rk(u,()=>{u&&c({width:u.offsetWidth,height:u.offsetHeight})}),g.jsx(_e.div,{"data-state":Bk(h),"data-orientation":i.orientation,...o,ref:a,style:{pointerEvents:!h&&i.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":p,...o.style},onPointerEnter:ce(e.onPointerEnter,i.onContentEnter),onPointerLeave:ce(e.onPointerLeave,J0(i.onContentLeave)),children:Array.from(s.items).map(([b,{ref:w,forceMount:x,...S}])=>{const C=m===b;return g.jsx(Xt,{present:x||C,children:g.jsx(vU,{...S,ref:fr(w,_=>{C&&_&&d(_)})})},b)})})}),VDe="FocusGroup",bU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(VDe,n);return g.jsx(Nk.Provider,{scope:n,children:g.jsx(Nk.Slot,{scope:n,children:g.jsx(_e.div,{dir:o.dir,...r,ref:t})})})}),wU=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],qDe="FocusGroupItem",xU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=MDe(n),i=Fo(qDe,n);return g.jsx(Nk.ItemSlot,{scope:n,children:g.jsx(_e.button,{...r,ref:t,onKeyDown:ce(e.onKeyDown,a=>{if(["Home","End",...wU].includes(a.key)){let l=o().map(d=>d.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&l.reverse(),wU.includes(a.key)){const d=l.indexOf(a.currentTarget);l=l.slice(d+1)}setTimeout(()=>jk(l)),a.preventDefault()}})})})});function zk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function jk(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function UDe(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function Rk(e,t){const n=Et(t);tn(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}function Bk(e){return e?"open":"closed"}function SU(e,t){return`${e}-trigger-${t}`}function CU(e,t){return`${e}-content-${t}`}function J0(e){return t=>t.pointerType==="mouse"?e(t):void 0}var EU=iU,_U=lU,HDe=dU,kU=fU,WDe=hU,OU=gU,PU=mU,AU=yU;const TU=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(EU,{ref:r,className:U("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...n,children:[t,g.jsx(Vk,{})]}));TU.displayName=EU.displayName;const MU=y.forwardRef(({className:e,...t},n)=>g.jsx(_U,{ref:n,className:U("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));MU.displayName=_U.displayName;const KDe=HDe,NU=ba(" group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-slate-400 hover:cursor-pointer focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:text-white data-[active]:bg-slate-600 data-[state=open]:bg-accent/50"),DU=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(kU,{ref:r,className:U(NU(),"group",e),...n,children:[t," ",g.jsx(Jm,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));DU.displayName=kU.displayName;const $U=y.forwardRef(({className:e,...t},n)=>g.jsx(PU,{ref:n,className:U("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));$U.displayName=PU.displayName;const GDe=WDe,Vk=y.forwardRef(({className:e,...t},n)=>g.jsx("div",{className:U("absolute left-0 top-full flex justify-center"),children:g.jsx(AU,{className:U("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:n,...t})}));Vk.displayName=AU.displayName;const IU=y.forwardRef(({className:e,...t},n)=>g.jsx(OU,{ref:n,className:U("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:g.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));IU.displayName=OU.displayName;function YDe(e){const t=ZDe(e),n=y.forwardRef((r,o)=>{const{children:i,...a}=r,s=y.Children.toArray(i),l=s.find(QDe);if(l){const c=l.props.children,u=s.map(d=>d===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:d);return g.jsx(t,{...a,ref:o,children:y.isValidElement(c)?y.cloneElement(c,void 0,u):null})}return g.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function ZDe(e){const t=y.forwardRef((n,r)=>{const{children:o,...i}=n;if(y.isValidElement(o)){const a=e$e(o),s=JDe(i,o.props);return o.type!==y.Fragment&&(s.ref=r?fr(r,a):a),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var XDe=Symbol("radix.slottable");function QDe(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===XDe}function JDe(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function e$e(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var eb="Popover",[FU]=en(eb,[ta]),Wh=ta(),[t$e,js]=FU(eb),LU=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Wh(t),l=y.useRef(null),[c,u]=y.useState(!1),[d,f]=Zt({prop:r,defaultProp:o??!1,onChange:i,caller:eb});return g.jsx(Ju,{...s,children:g.jsx(t$e,{scope:t,contentId:Ht(),triggerRef:l,open:d,onOpenChange:f,onOpenToggle:y.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:c,onCustomAnchorAdd:y.useCallback(()=>u(!0),[]),onCustomAnchorRemove:y.useCallback(()=>u(!1),[]),modal:a,children:n})})};LU.displayName=eb;var zU="PopoverAnchor",jU=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(zU,n),i=Wh(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return y.useEffect(()=>(a(),()=>s()),[a,s]),g.jsx(ed,{...i,...r,ref:t})});jU.displayName=zU;var RU="PopoverTrigger",BU=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(RU,n),i=Wh(n),a=He(t,o.triggerRef),s=g.jsx(_e.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":WU(o.open),...r,ref:a,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:g.jsx(ed,{asChild:!0,...i,children:s})});BU.displayName=RU;var qk="PopoverPortal",[n$e,r$e]=FU(qk,{forceMount:void 0}),VU=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=js(qk,t);return g.jsx(n$e,{scope:t,forceMount:n,children:g.jsx(Xt,{present:n||i.open,children:g.jsx(xl,{asChild:!0,container:o,children:r})})})};VU.displayName=qk;var ld="PopoverContent",qU=y.forwardRef((e,t)=>{const n=r$e(ld,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=js(ld,e.__scopePopover);return g.jsx(Xt,{present:r||i.open,children:i.modal?g.jsx(i$e,{...o,ref:t}):g.jsx(a$e,{...o,ref:t})})});qU.displayName=ld;var o$e=YDe("PopoverContent.RemoveScroll"),i$e=y.forwardRef((e,t)=>{const n=js(ld,e.__scopePopover),r=y.useRef(null),o=He(t,r),i=y.useRef(!1);return y.useEffect(()=>{const a=r.current;if(a)return Km(a)},[]),g.jsx(ep,{as:o$e,allowPinchZoom:!0,children:g.jsx(UU,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,c=s.button===2||l;i.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),a$e=y.forwardRef((e,t)=>{const n=js(ld,e.__scopePopover),r=y.useRef(!1),o=y.useRef(!1);return g.jsx(UU,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((c=n.triggerRef.current)==null?void 0:c.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),UU=y.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=js(ld,n),p=Wh(n);return jm(),g.jsx(Jf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:g.jsx(Ea,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:g.jsx(bh,{"data-state":WU(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),HU="PopoverClose",s$e=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(HU,n);return g.jsx(_e.button,{type:"button",...r,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});s$e.displayName=HU;var l$e="PopoverArrow",c$e=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Wh(n);return g.jsx(wh,{...o,...r,ref:t})});c$e.displayName=l$e;function WU(e){return e?"open":"closed"}var u$e=LU,d$e=jU,f$e=BU,p$e=VU,KU=qU;const cd=u$e,ud=f$e,h$e=d$e,ac=y.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>g.jsx(p$e,{children:g.jsx(KU,{ref:o,align:t,sideOffset:n,className:U("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));ac.displayName=KU.displayName;function g$e(e,t=[]){let n=[];function r(i,a){const s=y.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const c=d=>{var b;const{scope:f,children:p,...h}=d,m=((b=f==null?void 0:f[e])==null?void 0:b[l])||s,v=y.useMemo(()=>h,Object.values(h));return g.jsx(m.Provider,{value:v,children:p})};c.displayName=i+"Provider";function u(d,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[l])||s,h=y.useContext(p);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[c,u]}const o=()=>{const i=n.map(a=>y.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,m$e(o,...t)]}function m$e(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var v$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GU=v$e.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Uk="Progress",Hk=100,[y$e]=g$e(Uk),[b$e,w$e]=y$e(Uk),YU=y.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:i=x$e,...a}=e;(o||o===0)&&!JU(o)&&console.error(S$e(`${o}`,"Progress"));const s=JU(o)?o:Hk;r!==null&&!eH(r,s)&&console.error(C$e(`${r}`,"Progress"));const l=eH(r,s)?r:null,c=tb(l)?i(l,s):void 0;return g.jsx(b$e,{scope:n,value:l,max:s,children:g.jsx(GU.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":tb(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":QU(l,s),"data-value":l??void 0,"data-max":s,...a,ref:t})})});YU.displayName=Uk;var ZU="ProgressIndicator",XU=y.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=w$e(ZU,n);return g.jsx(GU.div,{"data-state":QU(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});XU.displayName=ZU;function x$e(e,t){return`${Math.round(e/t*100)}%`}function QU(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function tb(e){return typeof e=="number"}function JU(e){return tb(e)&&!isNaN(e)&&e>0}function eH(e,t){return tb(e)&&!isNaN(e)&&e<=t&&e>=0}function S$e(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Hk}\`.`}function C$e(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
460
|
+
}`;const WV=y.forwardRef(({className:e,containerClassName:t,...n},r)=>g.jsx(HV,{ref:r,containerClassName:U("flex items-center gap-2 has-[:disabled]:opacity-50",t),className:U("disabled:cursor-not-allowed",e),...n}));WV.displayName="InputOTP";const KV=y.forwardRef(({className:e,...t},n)=>g.jsx("div",{ref:n,className:U("flex items-center",e),...t}));KV.displayName="InputOTPGroup";const GV=y.forwardRef(({index:e,className:t,...n},r)=>{const o=y.useContext(UV),{char:i,hasFakeCaret:a,isActive:s}=o.slots[e];return g.jsxs("div",{ref:r,className:U("relative flex h-9 w-9 items-center justify-center border-y border-r border-input text-sm shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",s&&"z-10 ring-1 ring-ring",t),...n,children:[i,a&&g.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:g.jsx("div",{className:"animate-caret-blink h-4 w-px bg-foreground duration-1000"})})]})});GV.displayName="InputOTPSlot";const YV=y.forwardRef(({...e},t)=>g.jsx("div",{ref:t,role:"separator",...e,children:g.jsx(fte,{})}));YV.displayName="InputOTPSeparator";var jh="Menubar",[xk,VNe,qNe]=va(jh),[ZV]=en(jh,[qNe,na]),xr=kh(),XV=na(),[UNe,Sk]=ZV(jh),QV=y.forwardRef((e,t)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:i,loop:a=!0,dir:s,...l}=e,c=Qo(s),u=XV(n),[d,f]=Zt({prop:r,onChange:o,defaultProp:i??"",caller:jh}),[p,h]=y.useState(null);return g.jsx(UNe,{scope:n,value:d,onMenuOpen:y.useCallback(m=>{f(m),h(m)},[f]),onMenuClose:y.useCallback(()=>f(""),[f]),onMenuToggle:y.useCallback(m=>{f(v=>v?"":m),h(m)},[f]),dir:c,loop:a,children:g.jsx(xk.Provider,{scope:n,children:g.jsx(xk.Slot,{scope:n,children:g.jsx(Sh,{asChild:!0,...u,orientation:"horizontal",loop:a,dir:c,currentTabStopId:p,onCurrentTabStopIdChange:h,children:g.jsx(_e.div,{role:"menubar",...l,ref:t})})})})})});QV.displayName=jh;var Ck="MenubarMenu",[HNe,JV]=ZV(Ck),eq=e=>{const{__scopeMenubar:t,value:n,...r}=e,o=Ht(),i=n||o||"LEGACY_REACT_AUTO_VALUE",a=Sk(Ck,t),s=xr(t),l=y.useRef(null),c=y.useRef(!1),u=a.value===i;return y.useEffect(()=>{u||(c.current=!1)},[u]),g.jsx(HNe,{scope:t,value:i,triggerId:Ht(),triggerRef:l,contentId:Ht(),wasKeyboardTriggerOpenRef:c,children:g.jsx($_,{...s,open:u,onOpenChange:d=>{d||a.onMenuClose()},modal:!1,dir:a.dir,...r})})};eq.displayName=Ck;var Ek="MenubarTrigger",tq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=e,i=XV(n),a=xr(n),s=Sk(Ek,n),l=JV(Ek,n),c=y.useRef(null),u=He(t,c,l.triggerRef),[d,f]=y.useState(!1),p=s.value===l.value;return g.jsx(xk.ItemSlot,{scope:n,value:l.value,disabled:r,children:g.jsx(Ch,{asChild:!0,...i,focusable:!r,tabStopId:l.value,children:g.jsx(I_,{asChild:!0,...a,children:g.jsx(_e.button,{type:"button",role:"menuitem",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":p,"aria-controls":p?l.contentId:void 0,"data-highlighted":d?"":void 0,"data-state":p?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:u,onPointerDown:ce(e.onPointerDown,h=>{!r&&h.button===0&&h.ctrlKey===!1&&(s.onMenuOpen(l.value),p||h.preventDefault())}),onPointerEnter:ce(e.onPointerEnter,()=>{var m;!!s.value&&!p&&(s.onMenuOpen(l.value),(m=c.current)==null||m.focus())}),onKeyDown:ce(e.onKeyDown,h=>{r||(["Enter"," "].includes(h.key)&&s.onMenuToggle(l.value),h.key==="ArrowDown"&&s.onMenuOpen(l.value),["Enter"," ","ArrowDown"].includes(h.key)&&(l.wasKeyboardTriggerOpenRef.current=!0,h.preventDefault()))}),onFocus:ce(e.onFocus,()=>f(!0)),onBlur:ce(e.onBlur,()=>f(!1))})})})})});tq.displayName=Ek;var WNe="MenubarPortal",nq=e=>{const{__scopeMenubar:t,...n}=e,r=xr(t);return g.jsx(F_,{...r,...n})};nq.displayName=WNe;var _k="MenubarContent",rq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,align:r="start",...o}=e,i=xr(n),a=Sk(_k,n),s=JV(_k,n),l=VNe(n),c=y.useRef(!1);return g.jsx(L_,{id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":"",...i,...o,ref:t,align:r,onCloseAutoFocus:ce(e.onCloseAutoFocus,u=>{var f;!!!a.value&&!c.current&&((f=s.triggerRef.current)==null||f.focus()),c.current=!1,u.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,u=>{const d=u.target;l().some(p=>{var h;return(h=p.ref.current)==null?void 0:h.contains(d)})&&u.preventDefault()}),onInteractOutside:ce(e.onInteractOutside,()=>{c.current=!0}),onEntryFocus:u=>{s.wasKeyboardTriggerOpenRef.current||u.preventDefault()},onKeyDown:ce(e.onKeyDown,u=>{if(["ArrowRight","ArrowLeft"].includes(u.key)){const d=u.target,f=d.hasAttribute("data-radix-menubar-subtrigger"),p=d.closest("[data-radix-menubar-content]")!==u.currentTarget,m=(a.dir==="rtl"?"ArrowRight":"ArrowLeft")===u.key;if(!m&&f||p&&m)return;let w=l().filter(C=>!C.disabled).map(C=>C.value);m&&w.reverse();const x=w.indexOf(s.value);w=a.loop?iDe(w,x+1):w.slice(x+1);const[S]=w;S&&a.onMenuOpen(S)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});rq.displayName=_k;var KNe="MenubarGroup",oq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(z_,{...o,...r,ref:t})});oq.displayName=KNe;var GNe="MenubarLabel",iq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(j_,{...o,...r,ref:t})});iq.displayName=GNe;var YNe="MenubarItem",aq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(R_,{...o,...r,ref:t})});aq.displayName=YNe;var ZNe="MenubarCheckboxItem",sq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(B_,{...o,...r,ref:t})});sq.displayName=ZNe;var XNe="MenubarRadioGroup",lq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(V_,{...o,...r,ref:t})});lq.displayName=XNe;var QNe="MenubarRadioItem",cq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(q_,{...o,...r,ref:t})});cq.displayName=QNe;var JNe="MenubarItemIndicator",uq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(U_,{...o,...r,ref:t})});uq.displayName=JNe;var eDe="MenubarSeparator",dq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(H_,{...o,...r,ref:t})});dq.displayName=eDe;var tDe="MenubarArrow",nDe=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(W_,{...o,...r,ref:t})});nDe.displayName=tDe;var fq="MenubarSub",pq=e=>{const{__scopeMenubar:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=xr(t),[s,l]=Zt({prop:r,defaultProp:i??!1,onChange:o,caller:fq});return g.jsx(K_,{...a,open:s,onOpenChange:l,children:n})};pq.displayName=fq;var rDe="MenubarSubTrigger",hq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(G_,{"data-radix-menubar-subtrigger":"",...o,...r,ref:t})});hq.displayName=rDe;var oDe="MenubarSubContent",gq=y.forwardRef((e,t)=>{const{__scopeMenubar:n,...r}=e,o=xr(n);return g.jsx(Y_,{...o,"data-radix-menubar-content":"",...r,ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});gq.displayName=oDe;function iDe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var mq=QV,aDe=eq,vq=tq,yq=nq,bq=rq,sDe=oq,wq=iq,xq=aq,Sq=sq,lDe=lq,Cq=cq,Eq=uq,_q=dq,cDe=pq,kq=hq,Oq=gq;const uDe=aDe,dDe=sDe,fDe=yq,pDe=cDe,hDe=lDe,Pq=y.forwardRef(({className:e,...t},n)=>g.jsx(mq,{ref:n,className:U("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",e),...t}));Pq.displayName=mq.displayName;const Aq=y.forwardRef(({className:e,...t},n)=>g.jsx(vq,{ref:n,className:U("flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",e),...t}));Aq.displayName=vq.displayName;const Tq=y.forwardRef(({className:e,inset:t,children:n,...r},o)=>g.jsxs(kq,{ref:o,className:U("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[n,g.jsx(Oa,{className:"ml-auto h-4 w-4"})]}));Tq.displayName=kq.displayName;const Mq=y.forwardRef(({className:e,...t},n)=>g.jsx(Oq,{ref:n,className:U("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Mq.displayName=Oq.displayName;const Nq=y.forwardRef(({className:e,align:t="start",alignOffset:n=-4,sideOffset:r=8,...o},i)=>g.jsx(yq,{children:g.jsx(bq,{ref:i,align:t,alignOffset:n,sideOffset:r,className:U("z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Nq.displayName=bq.displayName;const Dq=y.forwardRef(({className:e,inset:t,...n},r)=>g.jsx(xq,{ref:r,className:U("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Dq.displayName=xq.displayName;const $q=y.forwardRef(({className:e,children:t,checked:n,...r},o)=>g.jsxs(Sq,{ref:o,className:U("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[g.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:g.jsx(Eq,{children:g.jsx(ka,{className:"h-4 w-4"})})}),t]}));$q.displayName=Sq.displayName;const Iq=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(Cq,{ref:r,className:U("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[g.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:g.jsx(Eq,{children:g.jsx(yx,{className:"h-4 w-4 fill-current"})})}),t]}));Iq.displayName=Cq.displayName;const Fq=y.forwardRef(({className:e,inset:t,...n},r)=>g.jsx(wq,{ref:r,className:U("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Fq.displayName=wq.displayName;const Lq=y.forwardRef(({className:e,...t},n)=>g.jsx(_q,{ref:n,className:U("-mx-1 my-1 h-px bg-muted",e),...t}));Lq.displayName=_q.displayName;const zq=({className:e,...t})=>g.jsx("span",{className:U("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});zq.displayname="MenubarShortcut";const Rh=tp,jq=Zm,Rq=kl,Bq=np,kk=y.forwardRef(({className:e,...t},n)=>g.jsx(El,{className:U("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));kk.displayName=El.displayName;const gDe=ba("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),id=y.forwardRef(({side:e="right",className:t,children:n,...r},o)=>g.jsxs(Bq,{children:[g.jsx(kk,{}),g.jsxs(_l,{ref:o,className:U(gDe({side:e}),t),...r,children:[g.jsxs(kl,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[g.jsx(sp,{className:"h-4 w-4"}),g.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));id.displayName=_l.displayName;const Bh=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col space-y-2 text-center sm:text-left",e),...t});Bh.displayName="SheetHeader";const U0=({className:e,...t})=>g.jsx("div",{className:U("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});U0.displayName="SheetFooter";const Vh=y.forwardRef(({className:e,...t},n)=>g.jsx(gu,{ref:n,className:U("text-lg font-semibold text-foreground",e),...t}));Vh.displayName=gu.displayName;const qh=y.forwardRef(({className:e,...t},n)=>g.jsx(mu,{ref:n,className:U("text-sm text-muted-foreground",e),...t}));qh.displayName=mu.displayName;function Uh(e,[t,n]){return Math.min(n,Math.max(t,e))}function mDe(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var Ok="ScrollArea",[Vq]=en(Ok),[vDe,Io]=Vq(Ok),qq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:i=600,...a}=e,[s,l]=y.useState(null),[c,u]=y.useState(null),[d,f]=y.useState(null),[p,h]=y.useState(null),[m,v]=y.useState(null),[b,w]=y.useState(0),[x,S]=y.useState(0),[C,_]=y.useState(!1),[k,O]=y.useState(!1),P=He(t,T=>l(T)),A=Qo(o);return g.jsx(vDe,{scope:n,type:r,dir:A,scrollHideDelay:i,scrollArea:s,viewport:c,onViewportChange:u,content:d,onContentChange:f,scrollbarX:p,onScrollbarXChange:h,scrollbarXEnabled:C,onScrollbarXEnabledChange:_,scrollbarY:m,onScrollbarYChange:v,scrollbarYEnabled:k,onScrollbarYEnabledChange:O,onCornerWidthChange:w,onCornerHeightChange:S,children:g.jsx(_e.div,{dir:A,...a,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})})});qq.displayName=Ok;var Uq="ScrollAreaViewport",Hq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...i}=e,a=Io(Uq,n),s=y.useRef(null),l=He(t,s,a.onViewportChange);return g.jsxs(g.Fragment,{children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),g.jsx(_e.div,{"data-radix-scroll-area-viewport":"",...i,ref:l,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style},children:g.jsx("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});Hq.displayName=Uq;var ra="ScrollAreaScrollbar",Pk=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=o,s=e.orientation==="horizontal";return y.useEffect(()=>(s?i(!0):a(!0),()=>{s?i(!1):a(!1)}),[s,i,a]),o.type==="hover"?g.jsx(yDe,{...r,ref:t,forceMount:n}):o.type==="scroll"?g.jsx(bDe,{...r,ref:t,forceMount:n}):o.type==="auto"?g.jsx(Wq,{...r,ref:t,forceMount:n}):o.type==="always"?g.jsx(Ak,{...r,ref:t}):null});Pk.displayName=ra;var yDe=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),[i,a]=y.useState(!1);return y.useEffect(()=>{const s=o.scrollArea;let l=0;if(s){const c=()=>{window.clearTimeout(l),a(!0)},u=()=>{l=window.setTimeout(()=>a(!1),o.scrollHideDelay)};return s.addEventListener("pointerenter",c),s.addEventListener("pointerleave",u),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",c),s.removeEventListener("pointerleave",u)}}},[o.scrollArea,o.scrollHideDelay]),g.jsx(Xt,{present:n||i,children:g.jsx(Wq,{"data-state":i?"visible":"hidden",...r,ref:t})})}),bDe=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Io(ra,e.__scopeScrollArea),i=e.orientation==="horizontal",a=G0(()=>l("SCROLL_END"),100),[s,l]=mDe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return y.useEffect(()=>{if(s==="idle"){const c=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(c)}},[s,o.scrollHideDelay,l]),y.useEffect(()=>{const c=o.viewport,u=i?"scrollLeft":"scrollTop";if(c){let d=c[u];const f=()=>{const p=c[u];d!==p&&(l("SCROLL"),a()),d=p};return c.addEventListener("scroll",f),()=>c.removeEventListener("scroll",f)}},[o.viewport,i,l,a]),g.jsx(Xt,{present:n||s!=="hidden",children:g.jsx(Ak,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:ce(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:ce(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),Wq=y.forwardRef((e,t)=>{const n=Io(ra,e.__scopeScrollArea),{forceMount:r,...o}=e,[i,a]=y.useState(!1),s=e.orientation==="horizontal",l=G0(()=>{if(n.viewport){const c=n.viewport.offsetWidth<n.viewport.scrollWidth,u=n.viewport.offsetHeight<n.viewport.scrollHeight;a(s?c:u)}},10);return ad(n.viewport,l),ad(n.content,l),g.jsx(Xt,{present:r||i,children:g.jsx(Ak,{"data-state":i?"visible":"hidden",...o,ref:t})})}),Ak=y.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=Io(ra,e.__scopeScrollArea),i=y.useRef(null),a=y.useRef(0),[s,l]=y.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=Xq(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:c>0&&c<1,onThumbChange:f=>i.current=f,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:f=>a.current=f};function d(f,p){return _De(f,a.current,s,p)}return n==="horizontal"?g.jsx(wDe,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const f=o.viewport.scrollLeft,p=Qq(f,s,o.dir);i.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollLeft=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollLeft=d(f,o.dir))}}):n==="vertical"?g.jsx(xDe,{...u,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const f=o.viewport.scrollTop,p=Qq(f,s);i.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:f=>{o.viewport&&(o.viewport.scrollTop=f)},onDragScroll:f=>{o.viewport&&(o.viewport.scrollTop=d(f))}}):null}),wDe=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=Io(ra,e.__scopeScrollArea),[a,s]=y.useState(),l=y.useRef(null),c=He(t,l,i.onScrollbarXChange);return y.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),g.jsx(Gq,{"data-orientation":"horizontal",...o,ref:c,sizes:n,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":K0(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,d)=>{if(i.viewport){const f=i.viewport.scrollLeft+u.deltaX;e.onWheelScroll(f),eU(f,d)&&u.preventDefault()}},onResize:()=>{l.current&&i.viewport&&a&&r({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:W0(a.paddingLeft),paddingEnd:W0(a.paddingRight)}})}})}),xDe=y.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=Io(ra,e.__scopeScrollArea),[a,s]=y.useState(),l=y.useRef(null),c=He(t,l,i.onScrollbarYChange);return y.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),g.jsx(Gq,{"data-orientation":"vertical",...o,ref:c,sizes:n,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":K0(n)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,d)=>{if(i.viewport){const f=i.viewport.scrollTop+u.deltaY;e.onWheelScroll(f),eU(f,d)&&u.preventDefault()}},onResize:()=>{l.current&&i.viewport&&a&&r({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:W0(a.paddingTop),paddingEnd:W0(a.paddingBottom)}})}})}),[SDe,Kq]=Vq(ra),Gq=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:i,onThumbPointerUp:a,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:d,...f}=e,p=Io(ra,n),[h,m]=y.useState(null),v=He(t,P=>m(P)),b=y.useRef(null),w=y.useRef(""),x=p.viewport,S=r.content-r.viewport,C=Et(u),_=Et(l),k=G0(d,10);function O(P){if(b.current){const A=P.clientX-b.current.left,T=P.clientY-b.current.top;c({x:A,y:T})}}return y.useEffect(()=>{const P=A=>{const T=A.target;(h==null?void 0:h.contains(T))&&C(A,S)};return document.addEventListener("wheel",P,{passive:!1}),()=>document.removeEventListener("wheel",P,{passive:!1})},[x,h,S,C]),y.useEffect(_,[r,_]),ad(h,k),ad(p.content,k),g.jsx(SDe,{scope:n,scrollbar:h,hasThumb:o,onThumbChange:Et(i),onThumbPointerUp:Et(a),onThumbPositionChange:_,onThumbPointerDown:Et(s),children:g.jsx(_e.div,{...f,ref:v,style:{position:"absolute",...f.style},onPointerDown:ce(e.onPointerDown,P=>{P.button===0&&(P.target.setPointerCapture(P.pointerId),b.current=h.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),O(P))}),onPointerMove:ce(e.onPointerMove,O),onPointerUp:ce(e.onPointerUp,P=>{const A=P.target;A.hasPointerCapture(P.pointerId)&&A.releasePointerCapture(P.pointerId),document.body.style.webkitUserSelect=w.current,p.viewport&&(p.viewport.style.scrollBehavior=""),b.current=null})})})}),H0="ScrollAreaThumb",Yq=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Kq(H0,e.__scopeScrollArea);return g.jsx(Xt,{present:n||o.hasThumb,children:g.jsx(CDe,{ref:t,...r})})}),CDe=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,i=Io(H0,n),a=Kq(H0,n),{onThumbPositionChange:s}=a,l=He(t,d=>a.onThumbChange(d)),c=y.useRef(void 0),u=G0(()=>{c.current&&(c.current(),c.current=void 0)},100);return y.useEffect(()=>{const d=i.viewport;if(d){const f=()=>{if(u(),!c.current){const p=kDe(d,s);c.current=p,s()}};return s(),d.addEventListener("scroll",f),()=>d.removeEventListener("scroll",f)}},[i.viewport,u,s]),g.jsx(_e.div,{"data-state":a.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:ce(e.onPointerDownCapture,d=>{const p=d.target.getBoundingClientRect(),h=d.clientX-p.left,m=d.clientY-p.top;a.onThumbPointerDown({x:h,y:m})}),onPointerUp:ce(e.onPointerUp,a.onThumbPointerUp)})});Yq.displayName=H0;var Tk="ScrollAreaCorner",Zq=y.forwardRef((e,t)=>{const n=Io(Tk,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?g.jsx(EDe,{...e,ref:t}):null});Zq.displayName=Tk;var EDe=y.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=Io(Tk,n),[i,a]=y.useState(0),[s,l]=y.useState(0),c=!!(i&&s);return ad(o.scrollbarX,()=>{var d;const u=((d=o.scrollbarX)==null?void 0:d.offsetHeight)||0;o.onCornerHeightChange(u),l(u)}),ad(o.scrollbarY,()=>{var d;const u=((d=o.scrollbarY)==null?void 0:d.offsetWidth)||0;o.onCornerWidthChange(u),a(u)}),c?g.jsx(_e.div,{...r,ref:t,style:{width:i,height:s,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function W0(e){return e?parseInt(e,10):0}function Xq(e,t){const n=e/t;return isNaN(n)?0:n}function K0(e){const t=Xq(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function _De(e,t,n,r="ltr"){const o=K0(n),i=o/2,a=t||i,s=o-a,l=n.scrollbar.paddingStart+a,c=n.scrollbar.size-n.scrollbar.paddingEnd-s,u=n.content-n.viewport,d=r==="ltr"?[0,u]:[u*-1,0];return Jq([l,c],d)(e)}function Qq(e,t,n="ltr"){const r=K0(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,a=t.content-t.viewport,s=i-r,l=n==="ltr"?[0,a]:[a*-1,0],c=Uh(e,l);return Jq([0,a],[0,s])(c)}function Jq(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function eU(e,t){return e>0&&e<t}var kDe=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function o(){const i={left:e.scrollLeft,top:e.scrollTop},a=n.left!==i.left,s=n.top!==i.top;(a||s)&&t(),n=i,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function G0(e,t){const n=Et(e),r=y.useRef(0);return y.useEffect(()=>()=>window.clearTimeout(r.current),[]),y.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function ad(e,t){const n=Et(t);tn(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var tU=qq,ODe=Hq,PDe=Zq;const Y0=y.forwardRef(({className:e,children:t,scrollTo:n,...r},o)=>{const i=y.useRef(null);return y.useEffect(()=>{i.current&&n&&i.current.scrollTo({left:n,behavior:"smooth"})},[n]),g.jsxs(tU,{type:"always",ref:o,className:U("relative overflow-hidden",e),...r,children:[g.jsx("div",{className:"w-full mt-1"}),g.jsx(ODe,{className:"h-full w-full rounded-[inherit] snap-y snap-mandatory ",ref:i,children:t}),g.jsx("div",{className:"w-full mt-1"}),g.jsx(Hh,{orientation:"vertical"}),g.jsx(Hh,{orientation:"horizontal"}),g.jsx(PDe,{})]})});Y0.displayName=tU.displayName;const Hh=y.forwardRef(({className:e,orientation:t="vertical",...n},r)=>g.jsx(Pk,{ref:r,orientation:t,className:U("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:g.jsx(Yq,{className:"relative flex-1 rounded-full bg-border bg-stone-300"})}));Hh.displayName=Pk.displayName;const Z0=({title:e,description:t,isOpen:n,onClose:r,children:o,className:i,allowDismissal:a=!0,userPopup:s=!1})=>{const l=c=>{c||r()};return s?g.jsx(a_,{open:n,onOpenChange:l,children:g.jsxs(u0,{className:i,onPointerDownOutside:a?()=>{}:c=>c.preventDefault(),children:[g.jsxs(l_,{children:[g.jsx(d0,{}),g.jsx(c_,{})]}),g.jsx("div",{children:o})]})}):g.jsx(Rh,{open:n,onOpenChange:l,children:g.jsxs(id,{className:" w-[1000px] sm:w-[700px] max-w-md lg:max-w-3xl "+i,onPointerDownOutside:a?()=>{}:c=>c.preventDefault(),children:[g.jsxs(Bh,{children:[g.jsx(Vh,{className:"ml-4",children:e}),g.jsx(qh,{children:t})]}),g.jsx(Y0,{className:"px-6 h-[calc(100vh-180px)] py-4",children:g.jsx("div",{children:o})}),g.jsx(U0,{})]})})};var nU=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ADe="VisuallyHidden",X0=y.forwardRef((e,t)=>g.jsx(_e.span,{...e,ref:t,style:{...nU,...e.style}}));X0.displayName=ADe;var rU=X0,ic="NavigationMenu",[Mk,oU,TDe]=va(ic),[Nk,MDe,NDe]=va(ic),[Dk]=en(ic,[TDe,NDe]),[DDe,Fo]=Dk(ic),[$De,IDe]=Dk(ic),iU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...u}=e,[d,f]=y.useState(null),p=He(t,P=>f(P)),h=Qo(c),m=y.useRef(0),v=y.useRef(0),b=y.useRef(0),[w,x]=y.useState(!0),[S,C]=Zt({prop:r,onChange:P=>{const A=P!=="",T=s>0;A?(window.clearTimeout(b.current),T&&x(!1)):(window.clearTimeout(b.current),b.current=window.setTimeout(()=>x(!0),s)),o==null||o(P)},defaultProp:i??"",caller:ic}),_=y.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>C(""),150)},[C]),k=y.useCallback(P=>{window.clearTimeout(v.current),C(P)},[C]),O=y.useCallback(P=>{S===P?window.clearTimeout(v.current):m.current=window.setTimeout(()=>{window.clearTimeout(v.current),C(P)},a)},[S,C,a]);return y.useEffect(()=>()=>{window.clearTimeout(m.current),window.clearTimeout(v.current),window.clearTimeout(b.current)},[]),g.jsx(aU,{scope:n,isRootMenu:!0,value:S,dir:h,orientation:l,rootNavigationMenu:d,onTriggerEnter:P=>{window.clearTimeout(m.current),w?O(P):k(P)},onTriggerLeave:()=>{window.clearTimeout(m.current),_()},onContentEnter:()=>window.clearTimeout(v.current),onContentLeave:_,onItemSelect:P=>{C(A=>A===P?"":P)},onItemDismiss:()=>C(""),children:g.jsx(_e.nav,{"aria-label":"Main","data-orientation":l,dir:h,...u,ref:p})})});iU.displayName=ic;var $k="NavigationMenuSub",FDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...s}=e,l=Fo($k,n),[c,u]=Zt({prop:r,onChange:o,defaultProp:i??"",caller:$k});return g.jsx(aU,{scope:n,isRootMenu:!1,value:c,dir:l.dir,orientation:a,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:d=>u(d),onItemSelect:d=>u(d),onItemDismiss:()=>u(""),children:g.jsx(_e.div,{"data-orientation":a,...s,ref:t})})});FDe.displayName=$k;var aU=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:f,onContentLeave:p}=e,[h,m]=y.useState(null),[v,b]=y.useState(new Map),[w,x]=y.useState(null);return g.jsx(DDe,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:Hu(s),baseId:Ht(),dir:o,orientation:i,viewport:h,onViewportChange:m,indicatorTrack:w,onIndicatorTrackChange:x,onTriggerEnter:Et(u),onTriggerLeave:Et(d),onContentEnter:Et(f),onContentLeave:Et(p),onItemSelect:Et(l),onItemDismiss:Et(c),onViewportContentChange:y.useCallback((S,C)=>{b(_=>(_.set(S,C),new Map(_)))},[]),onViewportContentRemove:y.useCallback(S=>{b(C=>C.has(S)?(C.delete(S),new Map(C)):C)},[]),children:g.jsx(Mk.Provider,{scope:t,children:g.jsx($De,{scope:t,items:v,children:a})})})},sU="NavigationMenuList",lU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(sU,n),i=g.jsx(_e.ul,{"data-orientation":o.orientation,...r,ref:t});return g.jsx(_e.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:g.jsx(Mk.Slot,{scope:n,children:o.isRootMenu?g.jsx(bU,{asChild:!0,children:i}):i})})});lU.displayName=sU;var cU="NavigationMenuItem",[LDe,uU]=Dk(cU),dU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=Ht(),a=r||i||"LEGACY_REACT_AUTO_VALUE",s=y.useRef(null),l=y.useRef(null),c=y.useRef(null),u=y.useRef(()=>{}),d=y.useRef(!1),f=y.useCallback((h="start")=>{if(s.current){u.current();const m=zk(s.current);m.length&&jk(h==="start"?m:m.reverse())}},[]),p=y.useCallback(()=>{if(s.current){const h=zk(s.current);h.length&&(u.current=UDe(h))}},[]);return g.jsx(LDe,{scope:n,value:a,triggerRef:l,contentRef:s,focusProxyRef:c,wasEscapeCloseRef:d,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p,children:g.jsx(_e.li,{...o,ref:t})})});dU.displayName=cU;var Ik="NavigationMenuTrigger",fU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Fo(Ik,e.__scopeNavigationMenu),a=uU(Ik,e.__scopeNavigationMenu),s=y.useRef(null),l=He(s,a.triggerRef,t),c=SU(i.baseId,a.value),u=CU(i.baseId,a.value),d=y.useRef(!1),f=y.useRef(!1),p=a.value===i.value;return g.jsxs(g.Fragment,{children:[g.jsx(Mk.ItemSlot,{scope:n,value:a.value,children:g.jsx(xU,{asChild:!0,children:g.jsx(_e.button,{id:c,disabled:r,"data-disabled":r?"":void 0,"data-state":Bk(p),"aria-expanded":p,"aria-controls":u,...o,ref:l,onPointerEnter:ce(e.onPointerEnter,()=>{f.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:ce(e.onPointerMove,J0(()=>{r||f.current||a.wasEscapeCloseRef.current||d.current||(i.onTriggerEnter(a.value),d.current=!0)})),onPointerLeave:ce(e.onPointerLeave,J0(()=>{r||(i.onTriggerLeave(),d.current=!1)})),onClick:ce(e.onClick,()=>{i.onItemSelect(a.value),f.current=p}),onKeyDown:ce(e.onKeyDown,h=>{const v={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&h.key===v&&(a.onEntryKeyDown(),h.preventDefault())})})})}),p&&g.jsxs(g.Fragment,{children:[g.jsx(rU,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:h=>{const m=a.contentRef.current,v=h.relatedTarget,b=v===s.current,w=m==null?void 0:m.contains(v);(b||!w)&&a.onFocusProxyEnter(b?"start":"end")}}),i.viewport&&g.jsx("span",{"aria-owns":u})]})]})});fU.displayName=Ik;var zDe="NavigationMenuLink",pU="navigationMenu.linkSelect",hU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return g.jsx(xU,{asChild:!0,children:g.jsx(_e.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:ce(e.onClick,a=>{const s=a.target,l=new CustomEvent(pU,{bubbles:!0,cancelable:!0});if(s.addEventListener(pU,c=>o==null?void 0:o(c),{once:!0}),Sf(s,l),!l.defaultPrevented&&!a.metaKey){const c=new CustomEvent(Q0,{bubbles:!0,cancelable:!0});Sf(s,c)}},{checkForDefaultPrevented:!1})})})});hU.displayName=zDe;var Fk="NavigationMenuIndicator",gU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fo(Fk,e.__scopeNavigationMenu),i=!!o.value;return o.indicatorTrack?tr.createPortal(g.jsx(Xt,{present:n||i,children:g.jsx(jDe,{...r,ref:t})}),o.indicatorTrack):null});gU.displayName=Fk;var jDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(Fk,n),i=oU(n),[a,s]=y.useState(null),[l,c]=y.useState(null),u=o.orientation==="horizontal",d=!!o.value;y.useEffect(()=>{var m;const h=(m=i().find(v=>v.value===o.value))==null?void 0:m.ref.current;h&&s(h)},[i,o.value]);const f=()=>{a&&c({size:u?a.offsetWidth:a.offsetHeight,offset:u?a.offsetLeft:a.offsetTop})};return Rk(a,f),Rk(o.indicatorTrack,f),l?g.jsx(_e.div,{"aria-hidden":!0,"data-state":d?"visible":"hidden","data-orientation":o.orientation,...r,ref:t,style:{position:"absolute",...u?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...r.style}}):null}),sd="NavigationMenuContent",mU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Fo(sd,e.__scopeNavigationMenu),i=uU(sd,e.__scopeNavigationMenu),a=He(i.contentRef,t),s=i.value===o.value,l={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?g.jsx(RDe,{forceMount:n,...l,ref:a}):g.jsx(Xt,{present:n||s,children:g.jsx(vU,{"data-state":Bk(s),...l,ref:a,onPointerEnter:ce(e.onPointerEnter,o.onContentEnter),onPointerLeave:ce(e.onPointerLeave,J0(o.onContentLeave)),style:{pointerEvents:!s&&o.isRootMenu?"none":void 0,...l.style}})})});mU.displayName=sd;var RDe=y.forwardRef((e,t)=>{const n=Fo(sd,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return tn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),tn(()=>()=>o(e.value),[e.value,o]),null}),Q0="navigationMenu.rootContentDismiss",vU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:s,onContentFocusOutside:l,...c}=e,u=Fo(sd,n),d=y.useRef(null),f=He(d,t),p=SU(u.baseId,r),h=CU(u.baseId,r),m=oU(n),v=y.useRef(null),{onItemDismiss:b}=u;y.useEffect(()=>{const x=d.current;if(u.isRootMenu&&x){const S=()=>{var C;b(),s(),x.contains(document.activeElement)&&((C=o.current)==null||C.focus())};return x.addEventListener(Q0,S),()=>x.removeEventListener(Q0,S)}},[u.isRootMenu,e.value,o,b,s]);const w=y.useMemo(()=>{const S=m().map(A=>A.value);u.dir==="rtl"&&S.reverse();const C=S.indexOf(u.value),_=S.indexOf(u.previousValue),k=r===u.value,O=_===S.indexOf(r);if(!k&&!O)return v.current;const P=(()=>{if(C!==_){if(k&&_!==-1)return C>_?"from-end":"from-start";if(O&&C!==-1)return C>_?"to-start":"to-end"}return null})();return v.current=P,P},[u.previousValue,u.value,u.dir,m,r]);return g.jsx(bU,{asChild:!0,children:g.jsx(Ea,{id:h,"aria-labelledby":p,"data-motion":w,"data-orientation":u.orientation,...c,ref:f,disableOutsidePointerEvents:!1,onDismiss:()=>{var S;const x=new Event(Q0,{bubbles:!0,cancelable:!0});(S=d.current)==null||S.dispatchEvent(x)},onFocusOutside:ce(e.onFocusOutside,x=>{var C;l();const S=x.target;(C=u.rootNavigationMenu)!=null&&C.contains(S)&&x.preventDefault()}),onPointerDownOutside:ce(e.onPointerDownOutside,x=>{var k;const S=x.target,C=m().some(O=>{var P;return(P=O.ref.current)==null?void 0:P.contains(S)}),_=u.isRootMenu&&((k=u.viewport)==null?void 0:k.contains(S));(C||_||!u.isRootMenu)&&x.preventDefault()}),onKeyDown:ce(e.onKeyDown,x=>{var _;const S=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!S){const k=zk(x.currentTarget),O=document.activeElement,P=k.findIndex(N=>N===O),T=x.shiftKey?k.slice(0,P).reverse():k.slice(P+1,k.length);jk(T)?x.preventDefault():(_=i.current)==null||_.focus()}}),onEscapeKeyDown:ce(e.onEscapeKeyDown,x=>{a.current=!0})})})}),Lk="NavigationMenuViewport",yU=y.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=!!Fo(Lk,e.__scopeNavigationMenu).value;return g.jsx(Xt,{present:n||i,children:g.jsx(BDe,{...r,ref:t})})});yU.displayName=Lk;var BDe=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,children:r,...o}=e,i=Fo(Lk,n),a=He(t,i.onViewportChange),s=IDe(sd,e.__scopeNavigationMenu),[l,c]=y.useState(null),[u,d]=y.useState(null),f=l?(l==null?void 0:l.width)+"px":void 0,p=l?(l==null?void 0:l.height)+"px":void 0,h=!!i.value,m=h?i.value:i.previousValue;return Rk(u,()=>{u&&c({width:u.offsetWidth,height:u.offsetHeight})}),g.jsx(_e.div,{"data-state":Bk(h),"data-orientation":i.orientation,...o,ref:a,style:{pointerEvents:!h&&i.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":p,...o.style},onPointerEnter:ce(e.onPointerEnter,i.onContentEnter),onPointerLeave:ce(e.onPointerLeave,J0(i.onContentLeave)),children:Array.from(s.items).map(([b,{ref:w,forceMount:x,...S}])=>{const C=m===b;return g.jsx(Xt,{present:x||C,children:g.jsx(vU,{...S,ref:fr(w,_=>{C&&_&&d(_)})})},b)})})}),VDe="FocusGroup",bU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Fo(VDe,n);return g.jsx(Nk.Provider,{scope:n,children:g.jsx(Nk.Slot,{scope:n,children:g.jsx(_e.div,{dir:o.dir,...r,ref:t})})})}),wU=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],qDe="FocusGroupItem",xU=y.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=MDe(n),i=Fo(qDe,n);return g.jsx(Nk.ItemSlot,{scope:n,children:g.jsx(_e.button,{...r,ref:t,onKeyDown:ce(e.onKeyDown,a=>{if(["Home","End",...wU].includes(a.key)){let l=o().map(d=>d.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&l.reverse(),wU.includes(a.key)){const d=l.indexOf(a.currentTarget);l=l.slice(d+1)}setTimeout(()=>jk(l)),a.preventDefault()}})})})});function zk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function jk(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function UDe(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function Rk(e,t){const n=Et(t);tn(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}function Bk(e){return e?"open":"closed"}function SU(e,t){return`${e}-trigger-${t}`}function CU(e,t){return`${e}-content-${t}`}function J0(e){return t=>t.pointerType==="mouse"?e(t):void 0}var EU=iU,_U=lU,HDe=dU,kU=fU,WDe=hU,OU=gU,PU=mU,AU=yU;const TU=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(EU,{ref:r,className:U("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...n,children:[t,g.jsx(Vk,{})]}));TU.displayName=EU.displayName;const MU=y.forwardRef(({className:e,...t},n)=>g.jsx(_U,{ref:n,className:U("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));MU.displayName=_U.displayName;const KDe=HDe,NU=ba(" group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-slate-400 hover:cursor-pointer focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:text-white data-[active]:bg-slate-600 data-[state=open]:bg-accent/50"),DU=y.forwardRef(({className:e,children:t,...n},r)=>g.jsxs(kU,{ref:r,className:U(NU(),"group",e),...n,children:[t," ",g.jsx(Jm,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));DU.displayName=kU.displayName;const $U=y.forwardRef(({className:e,...t},n)=>g.jsx(PU,{ref:n,className:U("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));$U.displayName=PU.displayName;const GDe=WDe,Vk=y.forwardRef(({className:e,...t},n)=>g.jsx("div",{className:U("absolute left-0 top-full flex justify-center"),children:g.jsx(AU,{className:U("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:n,...t})}));Vk.displayName=AU.displayName;const IU=y.forwardRef(({className:e,...t},n)=>g.jsx(OU,{ref:n,className:U("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:g.jsx("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));IU.displayName=OU.displayName;function YDe(e){const t=ZDe(e),n=y.forwardRef((r,o)=>{const{children:i,...a}=r,s=y.Children.toArray(i),l=s.find(QDe);if(l){const c=l.props.children,u=s.map(d=>d===l?y.Children.count(c)>1?y.Children.only(null):y.isValidElement(c)?c.props.children:null:d);return g.jsx(t,{...a,ref:o,children:y.isValidElement(c)?y.cloneElement(c,void 0,u):null})}return g.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function ZDe(e){const t=y.forwardRef((n,r)=>{const{children:o,...i}=n;if(y.isValidElement(o)){const a=e$e(o),s=JDe(i,o.props);return o.type!==y.Fragment&&(s.ref=r?fr(r,a):a),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var XDe=Symbol("radix.slottable");function QDe(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===XDe}function JDe(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function e$e(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var eb="Popover",[FU]=en(eb,[ta]),Wh=ta(),[t$e,js]=FU(eb),LU=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Wh(t),l=y.useRef(null),[c,u]=y.useState(!1),[d,f]=Zt({prop:r,defaultProp:o??!1,onChange:i,caller:eb});return g.jsx(Ju,{...s,children:g.jsx(t$e,{scope:t,contentId:Ht(),triggerRef:l,open:d,onOpenChange:f,onOpenToggle:y.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:c,onCustomAnchorAdd:y.useCallback(()=>u(!0),[]),onCustomAnchorRemove:y.useCallback(()=>u(!1),[]),modal:a,children:n})})};LU.displayName=eb;var zU="PopoverAnchor",jU=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(zU,n),i=Wh(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return y.useEffect(()=>(a(),()=>s()),[a,s]),g.jsx(ed,{...i,...r,ref:t})});jU.displayName=zU;var RU="PopoverTrigger",BU=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(RU,n),i=Wh(n),a=He(t,o.triggerRef),s=g.jsx(_e.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":WU(o.open),...r,ref:a,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:g.jsx(ed,{asChild:!0,...i,children:s})});BU.displayName=RU;var qk="PopoverPortal",[n$e,r$e]=FU(qk,{forceMount:void 0}),VU=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=js(qk,t);return g.jsx(n$e,{scope:t,forceMount:n,children:g.jsx(Xt,{present:n||i.open,children:g.jsx(xl,{asChild:!0,container:o,children:r})})})};VU.displayName=qk;var ld="PopoverContent",qU=y.forwardRef((e,t)=>{const n=r$e(ld,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=js(ld,e.__scopePopover);return g.jsx(Xt,{present:r||i.open,children:i.modal?g.jsx(i$e,{...o,ref:t}):g.jsx(a$e,{...o,ref:t})})});qU.displayName=ld;var o$e=YDe("PopoverContent.RemoveScroll"),i$e=y.forwardRef((e,t)=>{const n=js(ld,e.__scopePopover),r=y.useRef(null),o=He(t,r),i=y.useRef(!1);return y.useEffect(()=>{const a=r.current;if(a)return Km(a)},[]),g.jsx(ep,{as:o$e,allowPinchZoom:!0,children:g.jsx(UU,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,c=s.button===2||l;i.current=c},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),a$e=y.forwardRef((e,t)=>{const n=js(ld,e.__scopePopover),r=y.useRef(!1),o=y.useRef(!1);return g.jsx(UU,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((c=n.triggerRef.current)==null?void 0:c.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),UU=y.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,f=js(ld,n),p=Wh(n);return jm(),g.jsx(Jf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:g.jsx(Ea,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>f.onOpenChange(!1),children:g.jsx(bh,{"data-state":WU(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),HU="PopoverClose",s$e=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=js(HU,n);return g.jsx(_e.button,{type:"button",...r,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});s$e.displayName=HU;var l$e="PopoverArrow",c$e=y.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Wh(n);return g.jsx(wh,{...o,...r,ref:t})});c$e.displayName=l$e;function WU(e){return e?"open":"closed"}var u$e=LU,d$e=jU,f$e=BU,p$e=VU,KU=qU;const cd=u$e,ud=f$e,h$e=d$e,ac=y.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>g.jsx(p$e,{children:g.jsx(KU,{ref:o,align:t,sideOffset:n,className:U("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));ac.displayName=KU.displayName;function g$e(e,t=[]){let n=[];function r(i,a){const s=y.createContext(a);s.displayName=i+"Context";const l=n.length;n=[...n,a];const c=d=>{var b;const{scope:f,children:p,...h}=d,m=((b=f==null?void 0:f[e])==null?void 0:b[l])||s,v=y.useMemo(()=>h,Object.values(h));return g.jsx(m.Provider,{value:v,children:p})};c.displayName=i+"Provider";function u(d,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[l])||s,h=y.useContext(p);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[c,u]}const o=()=>{const i=n.map(a=>y.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,m$e(o,...t)]}function m$e(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:c})=>{const d=l(i)[`__scope${c}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var v$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GU=v$e.reduce((e,t)=>{const n=yu(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),g.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Uk="Progress",Hk=100,[y$e]=g$e(Uk),[b$e,w$e]=y$e(Uk),YU=y.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:i=x$e,...a}=e;(o||o===0)&&!JU(o)&&console.error(S$e(`${o}`,"Progress"));const s=JU(o)?o:Hk;r!==null&&!eH(r,s)&&console.error(C$e(`${r}`,"Progress"));const l=eH(r,s)?r:null,c=tb(l)?i(l,s):void 0;return g.jsx(b$e,{scope:n,value:l,max:s,children:g.jsx(GU.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":tb(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":QU(l,s),"data-value":l??void 0,"data-max":s,...a,ref:t})})});YU.displayName=Uk;var ZU="ProgressIndicator",XU=y.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=w$e(ZU,n);return g.jsx(GU.div,{"data-state":QU(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});XU.displayName=ZU;function x$e(e,t){return`${Math.round(e/t*100)}%`}function QU(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function tb(e){return typeof e=="number"}function JU(e){return tb(e)&&!isNaN(e)&&e>0}function eH(e,t){return tb(e)&&!isNaN(e)&&e<=t&&e>=0}function S$e(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Hk}\`.`}function C$e(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
461
461
|
- a positive number
|
|
462
462
|
- less than the value passed to \`max\` (or ${Hk} if no \`max\` prop is set)
|
|
463
463
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
package/package.json
CHANGED