@olonjs/core 1.0.86 → 1.0.88
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/olonjs-core.js +789 -788
- package/dist/olonjs-core.umd.cjs +32 -32
- package/package.json +1 -1
package/dist/olonjs-core.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as g from "react";
|
|
2
|
-
import pe, { createContext as
|
|
3
|
-
import { BrowserRouter as _l, Routes as Ll, Route as It, useLocation as Fa, useNavigate as
|
|
2
|
+
import pe, { createContext as Ut, useContext as pt, useEffect as X, forwardRef as Xo, createElement as Ro, Component as $a, useState as Q, useRef as ue, useLayoutEffect as Jo, useMemo as he, useCallback as ge, memo as Ol, useReducer as Il, cloneElement as Dl, useDeferredValue as Ml } from "react";
|
|
3
|
+
import { BrowserRouter as _l, Routes as Ll, Route as It, useLocation as Fa, useNavigate as $l } from "react-router-dom";
|
|
4
4
|
import { z as Oe } from "zod";
|
|
5
5
|
import * as Pn from "react-dom";
|
|
6
|
-
import
|
|
6
|
+
import Fl, { unstable_batchedUpdates as Yr, createPortal as Wa } from "react-dom";
|
|
7
7
|
function Wl(e, t) {
|
|
8
8
|
return t.header != null && e["global-header"] !== !1;
|
|
9
9
|
}
|
|
@@ -27,20 +27,20 @@ const Se = {
|
|
|
27
27
|
WEBMCP_TOOL_CALL: "olonjs:webmcp:tool-call",
|
|
28
28
|
WEBMCP_TOOL_RESULT: "olonjs:webmcp:tool-result"
|
|
29
29
|
};
|
|
30
|
-
function
|
|
30
|
+
function Ua(e) {
|
|
31
31
|
var t, r, n = "";
|
|
32
32
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
33
33
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
34
34
|
var o = e.length;
|
|
35
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
35
|
+
for (t = 0; t < o; t++) e[t] && (r = Ua(e[t])) && (n && (n += " "), n += r);
|
|
36
36
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
37
37
|
return n;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
39
|
+
function Ul() {
|
|
40
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Ua(e)) && (n && (n += " "), n += t);
|
|
41
41
|
return n;
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Bl = (e, t) => {
|
|
44
44
|
const r = new Array(e.length + t.length);
|
|
45
45
|
for (let n = 0; n < e.length; n++)
|
|
46
46
|
r[n] = e[n];
|
|
@@ -64,22 +64,22 @@ const Ul = (e, t) => {
|
|
|
64
64
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
65
65
|
return Yl(a);
|
|
66
66
|
const s = a.split(mn), c = s[0] === "" && s.length > 1 ? 1 : 0;
|
|
67
|
-
return
|
|
67
|
+
return Ha(s, c, t);
|
|
68
68
|
},
|
|
69
69
|
getConflictingClassGroupIds: (a, s) => {
|
|
70
70
|
if (s) {
|
|
71
71
|
const c = n[a], d = r[a];
|
|
72
|
-
return c ? d ?
|
|
72
|
+
return c ? d ? Bl(d, c) : c : d || Pi;
|
|
73
73
|
}
|
|
74
74
|
return r[a] || Pi;
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
},
|
|
77
|
+
}, Ha = (e, t, r) => {
|
|
78
78
|
if (e.length - t === 0)
|
|
79
79
|
return r.classGroupId;
|
|
80
80
|
const o = e[t], i = r.nextPart.get(o);
|
|
81
81
|
if (i) {
|
|
82
|
-
const d =
|
|
82
|
+
const d = Ha(e, t + 1, i);
|
|
83
83
|
if (d) return d;
|
|
84
84
|
}
|
|
85
85
|
const a = r.validators;
|
|
@@ -124,7 +124,7 @@ const Ul = (e, t) => {
|
|
|
124
124
|
}
|
|
125
125
|
Ql(e, t, r, n);
|
|
126
126
|
}, Jl = (e, t, r) => {
|
|
127
|
-
const n = e === "" ? t :
|
|
127
|
+
const n = e === "" ? t : Va(t, e);
|
|
128
128
|
n.classGroupId = r;
|
|
129
129
|
}, Zl = (e, t, r, n) => {
|
|
130
130
|
if (ed(e)) {
|
|
@@ -136,9 +136,9 @@ const Ul = (e, t) => {
|
|
|
136
136
|
const o = Object.entries(e), i = o.length;
|
|
137
137
|
for (let a = 0; a < i; a++) {
|
|
138
138
|
const [s, c] = o[a];
|
|
139
|
-
Zo(c,
|
|
139
|
+
Zo(c, Va(t, s), r, n);
|
|
140
140
|
}
|
|
141
|
-
},
|
|
141
|
+
}, Va = (e, t) => {
|
|
142
142
|
let r = e;
|
|
143
143
|
const n = t.split(mn), o = n.length;
|
|
144
144
|
for (let i = 0; i < o; i++) {
|
|
@@ -289,14 +289,14 @@ const Ul = (e, t) => {
|
|
|
289
289
|
}, cd = (...e) => {
|
|
290
290
|
let t = 0, r, n, o = "";
|
|
291
291
|
for (; t < e.length; )
|
|
292
|
-
(r = e[t++]) && (n =
|
|
292
|
+
(r = e[t++]) && (n = Ka(r)) && (o && (o += " "), o += n);
|
|
293
293
|
return o;
|
|
294
|
-
},
|
|
294
|
+
}, Ka = (e) => {
|
|
295
295
|
if (typeof e == "string")
|
|
296
296
|
return e;
|
|
297
297
|
let t, r = "";
|
|
298
298
|
for (let n = 0; n < e.length; n++)
|
|
299
|
-
e[n] && (t =
|
|
299
|
+
e[n] && (t = Ka(e[n])) && (r && (r += " "), r += t);
|
|
300
300
|
return r;
|
|
301
301
|
}, ld = (e, ...t) => {
|
|
302
302
|
let r, n, o, i;
|
|
@@ -314,18 +314,18 @@ const Ul = (e, t) => {
|
|
|
314
314
|
}, dd = [], Pe = (e) => {
|
|
315
315
|
const t = (r) => r[e] || dd;
|
|
316
316
|
return t.isThemeGetter = !0, t;
|
|
317
|
-
},
|
|
317
|
+
}, Ya = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ga = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ud = /^\d+\/\d+$/, fd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, pd = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, hd = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, md = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Bt = (e) => ud.test(e), ce = (e) => !!e && !Number.isNaN(Number(e)), Et = (e) => !!e && Number.isInteger(Number(e)), no = (e) => e.endsWith("%") && ce(e.slice(0, -1)), vt = (e) => fd.test(e), bd = () => !0, vd = (e) => (
|
|
318
318
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
319
319
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
320
320
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
321
321
|
pd.test(e) && !hd.test(e)
|
|
322
|
-
),
|
|
323
|
-
const n =
|
|
322
|
+
), qa = () => !1, xd = (e) => md.test(e), wd = (e) => gd.test(e), yd = (e) => !V(e) && !K(e), kd = (e) => ir(e, Za, qa), V = (e) => Ya.test(e), Dt = (e) => ir(e, Qa, vd), oo = (e) => ir(e, Nd, ce), Di = (e) => ir(e, Xa, qa), Cd = (e) => ir(e, Ja, wd), Gr = (e) => ir(e, es, xd), K = (e) => Ga.test(e), vr = (e) => ar(e, Qa), Sd = (e) => ar(e, Rd), Mi = (e) => ar(e, Xa), Ed = (e) => ar(e, Za), jd = (e) => ar(e, Ja), qr = (e) => ar(e, es, !0), ir = (e, t, r) => {
|
|
323
|
+
const n = Ya.exec(e);
|
|
324
324
|
return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
|
|
325
325
|
}, ar = (e, t, r = !1) => {
|
|
326
|
-
const n =
|
|
326
|
+
const n = Ga.exec(e);
|
|
327
327
|
return n ? n[1] ? t(n[1]) : r : !1;
|
|
328
|
-
},
|
|
328
|
+
}, Xa = (e) => e === "position" || e === "percentage", Ja = (e) => e === "image" || e === "url", Za = (e) => e === "length" || e === "size" || e === "bg-size", Qa = (e) => e === "length", Nd = (e) => e === "number", Rd = (e) => e === "family-name", es = (e) => e === "shadow", Ad = () => {
|
|
329
329
|
const e = Pe("color"), t = Pe("font"), r = Pe("text"), n = Pe("font-weight"), o = Pe("tracking"), i = Pe("leading"), a = Pe("breakpoint"), s = Pe("container"), c = Pe("spacing"), d = Pe("radius"), u = Pe("shadow"), f = Pe("inset-shadow"), h = Pe("text-shadow"), p = Pe("drop-shadow"), x = Pe("blur"), m = Pe("perspective"), b = Pe("aspect"), w = Pe("ease"), y = Pe("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [
|
|
330
330
|
"center",
|
|
331
331
|
"top",
|
|
@@ -344,15 +344,15 @@ const Ul = (e, t) => {
|
|
|
344
344
|
"bottom-left",
|
|
345
345
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
346
346
|
"left-bottom"
|
|
347
|
-
], C = () => [...k(), K, V], S = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", "contain", "none"], E = () => [K, V, c], I = () => [
|
|
347
|
+
], C = () => [...k(), K, V], S = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", "contain", "none"], E = () => [K, V, c], I = () => [Bt, "full", "auto", ...E()], M = () => [Et, "none", "subgrid", K, V], P = () => ["auto", {
|
|
348
348
|
span: ["full", Et, K, V]
|
|
349
|
-
}, Et, K, V], _ = () => [Et, "auto", K, V], D = () => ["auto", "min", "max", "fr", K, V], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"],
|
|
349
|
+
}, Et, K, V], _ = () => [Et, "auto", K, V], D = () => ["auto", "min", "max", "fr", K, V], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], W = () => ["auto", ...E()], U = () => [Bt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], R = () => [e, K, V], q = () => [...k(), Mi, Di, {
|
|
350
350
|
position: [K, V]
|
|
351
351
|
}], ne = () => ["no-repeat", {
|
|
352
352
|
repeat: ["", "x", "y", "space", "round"]
|
|
353
353
|
}], N = () => ["auto", "cover", "contain", Ed, kd, {
|
|
354
354
|
size: [K, V]
|
|
355
|
-
}],
|
|
355
|
+
}], F = () => [no, vr, Dt], G = () => [
|
|
356
356
|
// Deprecated since Tailwind CSS v4.0.0
|
|
357
357
|
"",
|
|
358
358
|
"none",
|
|
@@ -367,7 +367,7 @@ const Ul = (e, t) => {
|
|
|
367
367
|
x,
|
|
368
368
|
K,
|
|
369
369
|
V
|
|
370
|
-
], re = () => ["none", ce, K, V],
|
|
370
|
+
], re = () => ["none", ce, K, V], $ = () => ["none", ce, K, V], oe = () => [ce, K, V], ee = () => [Bt, "full", ...E()];
|
|
371
371
|
return {
|
|
372
372
|
cacheSize: 500,
|
|
373
373
|
theme: {
|
|
@@ -400,7 +400,7 @@ const Ul = (e, t) => {
|
|
|
400
400
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
401
401
|
*/
|
|
402
402
|
aspect: [{
|
|
403
|
-
aspect: ["auto", "square",
|
|
403
|
+
aspect: ["auto", "square", Bt, V, K, b]
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Container
|
|
@@ -623,7 +623,7 @@ const Ul = (e, t) => {
|
|
|
623
623
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
624
624
|
*/
|
|
625
625
|
basis: [{
|
|
626
|
-
basis: [
|
|
626
|
+
basis: [Bt, "full", "auto", s, ...E()]
|
|
627
627
|
}],
|
|
628
628
|
/**
|
|
629
629
|
* Flex Direction
|
|
@@ -644,7 +644,7 @@ const Ul = (e, t) => {
|
|
|
644
644
|
* @see https://tailwindcss.com/docs/flex
|
|
645
645
|
*/
|
|
646
646
|
flex: [{
|
|
647
|
-
flex: [ce,
|
|
647
|
+
flex: [ce, Bt, "auto", "initial", "none", V]
|
|
648
648
|
}],
|
|
649
649
|
/**
|
|
650
650
|
* Flex Grow
|
|
@@ -777,14 +777,14 @@ const Ul = (e, t) => {
|
|
|
777
777
|
* @see https://tailwindcss.com/docs/justify-items
|
|
778
778
|
*/
|
|
779
779
|
"justify-items": [{
|
|
780
|
-
"justify-items": [...
|
|
780
|
+
"justify-items": [...B(), "normal"]
|
|
781
781
|
}],
|
|
782
782
|
/**
|
|
783
783
|
* Justify Self
|
|
784
784
|
* @see https://tailwindcss.com/docs/justify-self
|
|
785
785
|
*/
|
|
786
786
|
"justify-self": [{
|
|
787
|
-
"justify-self": ["auto", ...
|
|
787
|
+
"justify-self": ["auto", ...B()]
|
|
788
788
|
}],
|
|
789
789
|
/**
|
|
790
790
|
* Align Content
|
|
@@ -798,7 +798,7 @@ const Ul = (e, t) => {
|
|
|
798
798
|
* @see https://tailwindcss.com/docs/align-items
|
|
799
799
|
*/
|
|
800
800
|
"align-items": [{
|
|
801
|
-
items: [...
|
|
801
|
+
items: [...B(), {
|
|
802
802
|
baseline: ["", "last"]
|
|
803
803
|
}]
|
|
804
804
|
}],
|
|
@@ -807,7 +807,7 @@ const Ul = (e, t) => {
|
|
|
807
807
|
* @see https://tailwindcss.com/docs/align-self
|
|
808
808
|
*/
|
|
809
809
|
"align-self": [{
|
|
810
|
-
self: ["auto", ...
|
|
810
|
+
self: ["auto", ...B(), {
|
|
811
811
|
baseline: ["", "last"]
|
|
812
812
|
}]
|
|
813
813
|
}],
|
|
@@ -823,14 +823,14 @@ const Ul = (e, t) => {
|
|
|
823
823
|
* @see https://tailwindcss.com/docs/place-items
|
|
824
824
|
*/
|
|
825
825
|
"place-items": [{
|
|
826
|
-
"place-items": [...
|
|
826
|
+
"place-items": [...B(), "baseline"]
|
|
827
827
|
}],
|
|
828
828
|
/**
|
|
829
829
|
* Place Self
|
|
830
830
|
* @see https://tailwindcss.com/docs/place-self
|
|
831
831
|
*/
|
|
832
832
|
"place-self": [{
|
|
833
|
-
"place-self": ["auto", ...
|
|
833
|
+
"place-self": ["auto", ...B()]
|
|
834
834
|
}],
|
|
835
835
|
// Spacing
|
|
836
836
|
/**
|
|
@@ -991,14 +991,14 @@ const Ul = (e, t) => {
|
|
|
991
991
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
992
992
|
*/
|
|
993
993
|
size: [{
|
|
994
|
-
size:
|
|
994
|
+
size: U()
|
|
995
995
|
}],
|
|
996
996
|
/**
|
|
997
997
|
* Width
|
|
998
998
|
* @see https://tailwindcss.com/docs/width
|
|
999
999
|
*/
|
|
1000
1000
|
w: [{
|
|
1001
|
-
w: [s, "screen", ...
|
|
1001
|
+
w: [s, "screen", ...U()]
|
|
1002
1002
|
}],
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Min-Width
|
|
@@ -1010,7 +1010,7 @@ const Ul = (e, t) => {
|
|
|
1010
1010
|
"screen",
|
|
1011
1011
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1012
1012
|
"none",
|
|
1013
|
-
...
|
|
1013
|
+
...U()
|
|
1014
1014
|
]
|
|
1015
1015
|
}],
|
|
1016
1016
|
/**
|
|
@@ -1028,7 +1028,7 @@ const Ul = (e, t) => {
|
|
|
1028
1028
|
{
|
|
1029
1029
|
screen: [a]
|
|
1030
1030
|
},
|
|
1031
|
-
...
|
|
1031
|
+
...U()
|
|
1032
1032
|
]
|
|
1033
1033
|
}],
|
|
1034
1034
|
/**
|
|
@@ -1036,21 +1036,21 @@ const Ul = (e, t) => {
|
|
|
1036
1036
|
* @see https://tailwindcss.com/docs/height
|
|
1037
1037
|
*/
|
|
1038
1038
|
h: [{
|
|
1039
|
-
h: ["screen", "lh", ...
|
|
1039
|
+
h: ["screen", "lh", ...U()]
|
|
1040
1040
|
}],
|
|
1041
1041
|
/**
|
|
1042
1042
|
* Min-Height
|
|
1043
1043
|
* @see https://tailwindcss.com/docs/min-height
|
|
1044
1044
|
*/
|
|
1045
1045
|
"min-h": [{
|
|
1046
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1046
|
+
"min-h": ["screen", "lh", "none", ...U()]
|
|
1047
1047
|
}],
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Max-Height
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/max-height
|
|
1051
1051
|
*/
|
|
1052
1052
|
"max-h": [{
|
|
1053
|
-
"max-h": ["screen", "lh", ...
|
|
1053
|
+
"max-h": ["screen", "lh", ...U()]
|
|
1054
1054
|
}],
|
|
1055
1055
|
// ------------------
|
|
1056
1056
|
// --- Typography ---
|
|
@@ -1360,21 +1360,21 @@ const Ul = (e, t) => {
|
|
|
1360
1360
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1361
1361
|
*/
|
|
1362
1362
|
"gradient-from-pos": [{
|
|
1363
|
-
from:
|
|
1363
|
+
from: F()
|
|
1364
1364
|
}],
|
|
1365
1365
|
/**
|
|
1366
1366
|
* Gradient Color Stops Via Position
|
|
1367
1367
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1368
1368
|
*/
|
|
1369
1369
|
"gradient-via-pos": [{
|
|
1370
|
-
via:
|
|
1370
|
+
via: F()
|
|
1371
1371
|
}],
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Gradient Color Stops To Position
|
|
1374
1374
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1375
1375
|
*/
|
|
1376
1376
|
"gradient-to-pos": [{
|
|
1377
|
-
to:
|
|
1377
|
+
to: F()
|
|
1378
1378
|
}],
|
|
1379
1379
|
/**
|
|
1380
1380
|
* Gradient Color Stops From
|
|
@@ -2342,28 +2342,28 @@ const Ul = (e, t) => {
|
|
|
2342
2342
|
* @see https://tailwindcss.com/docs/scale
|
|
2343
2343
|
*/
|
|
2344
2344
|
scale: [{
|
|
2345
|
-
scale:
|
|
2345
|
+
scale: $()
|
|
2346
2346
|
}],
|
|
2347
2347
|
/**
|
|
2348
2348
|
* Scale X
|
|
2349
2349
|
* @see https://tailwindcss.com/docs/scale
|
|
2350
2350
|
*/
|
|
2351
2351
|
"scale-x": [{
|
|
2352
|
-
"scale-x":
|
|
2352
|
+
"scale-x": $()
|
|
2353
2353
|
}],
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Scale Y
|
|
2356
2356
|
* @see https://tailwindcss.com/docs/scale
|
|
2357
2357
|
*/
|
|
2358
2358
|
"scale-y": [{
|
|
2359
|
-
"scale-y":
|
|
2359
|
+
"scale-y": $()
|
|
2360
2360
|
}],
|
|
2361
2361
|
/**
|
|
2362
2362
|
* Scale Z
|
|
2363
2363
|
* @see https://tailwindcss.com/docs/scale
|
|
2364
2364
|
*/
|
|
2365
2365
|
"scale-z": [{
|
|
2366
|
-
"scale-z":
|
|
2366
|
+
"scale-z": $()
|
|
2367
2367
|
}],
|
|
2368
2368
|
/**
|
|
2369
2369
|
* Scale 3D
|
|
@@ -2797,7 +2797,7 @@ const Ul = (e, t) => {
|
|
|
2797
2797
|
};
|
|
2798
2798
|
}, Td = /* @__PURE__ */ ld(Ad);
|
|
2799
2799
|
function ae(...e) {
|
|
2800
|
-
return Td(
|
|
2800
|
+
return Td(Ul(e));
|
|
2801
2801
|
}
|
|
2802
2802
|
var Xr = { exports: {} }, xr = {};
|
|
2803
2803
|
/**
|
|
@@ -2874,14 +2874,14 @@ function Pd() {
|
|
|
2874
2874
|
case v:
|
|
2875
2875
|
return (N._context.displayName || "Context") + ".Consumer";
|
|
2876
2876
|
case C:
|
|
2877
|
-
var
|
|
2878
|
-
return N = N.displayName, N || (N =
|
|
2877
|
+
var F = N.render;
|
|
2878
|
+
return N = N.displayName, N || (N = F.displayName || F.name || "", N = N !== "" ? "ForwardRef(" + N + ")" : "ForwardRef"), N;
|
|
2879
2879
|
case E:
|
|
2880
|
-
return
|
|
2880
|
+
return F = N.displayName || null, F !== null ? F : e(N.type) || "Memo";
|
|
2881
2881
|
case I:
|
|
2882
|
-
|
|
2882
|
+
F = N._payload, N = N._init;
|
|
2883
2883
|
try {
|
|
2884
|
-
return e(N(
|
|
2884
|
+
return e(N(F));
|
|
2885
2885
|
} catch {
|
|
2886
2886
|
}
|
|
2887
2887
|
}
|
|
@@ -2893,15 +2893,15 @@ function Pd() {
|
|
|
2893
2893
|
function r(N) {
|
|
2894
2894
|
try {
|
|
2895
2895
|
t(N);
|
|
2896
|
-
var
|
|
2896
|
+
var F = !1;
|
|
2897
2897
|
} catch {
|
|
2898
|
-
|
|
2898
|
+
F = !0;
|
|
2899
2899
|
}
|
|
2900
|
-
if (
|
|
2901
|
-
|
|
2902
|
-
var G =
|
|
2900
|
+
if (F) {
|
|
2901
|
+
F = console;
|
|
2902
|
+
var G = F.error, H = typeof Symbol == "function" && Symbol.toStringTag && N[Symbol.toStringTag] || N.constructor.name || "Object";
|
|
2903
2903
|
return G.call(
|
|
2904
|
-
|
|
2904
|
+
F,
|
|
2905
2905
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
2906
2906
|
H
|
|
2907
2907
|
), t(N);
|
|
@@ -2912,8 +2912,8 @@ function Pd() {
|
|
|
2912
2912
|
if (typeof N == "object" && N !== null && N.$$typeof === I)
|
|
2913
2913
|
return "<...>";
|
|
2914
2914
|
try {
|
|
2915
|
-
var
|
|
2916
|
-
return
|
|
2915
|
+
var F = e(N);
|
|
2916
|
+
return F ? "<" + F + ">" : "<...>";
|
|
2917
2917
|
} catch {
|
|
2918
2918
|
return "<...>";
|
|
2919
2919
|
}
|
|
@@ -2927,16 +2927,16 @@ function Pd() {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
function a(N) {
|
|
2929
2929
|
if (D.call(N, "key")) {
|
|
2930
|
-
var
|
|
2931
|
-
if (
|
|
2930
|
+
var F = Object.getOwnPropertyDescriptor(N, "key").get;
|
|
2931
|
+
if (F && F.isReactWarning) return !1;
|
|
2932
2932
|
}
|
|
2933
2933
|
return N.key !== void 0;
|
|
2934
2934
|
}
|
|
2935
|
-
function s(N,
|
|
2935
|
+
function s(N, F) {
|
|
2936
2936
|
function G() {
|
|
2937
2937
|
W || (W = !0, console.error(
|
|
2938
2938
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
2939
|
-
|
|
2939
|
+
F
|
|
2940
2940
|
));
|
|
2941
2941
|
}
|
|
2942
2942
|
G.isReactWarning = !0, Object.defineProperty(N, "key", {
|
|
@@ -2946,16 +2946,16 @@ function Pd() {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
function c() {
|
|
2948
2948
|
var N = e(this.type);
|
|
2949
|
-
return
|
|
2949
|
+
return U[N] || (U[N] = !0, console.error(
|
|
2950
2950
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
2951
2951
|
)), N = this.props.ref, N !== void 0 ? N : null;
|
|
2952
2952
|
}
|
|
2953
|
-
function d(N,
|
|
2953
|
+
function d(N, F, G, H, ve, se) {
|
|
2954
2954
|
var T = G.ref;
|
|
2955
2955
|
return N = {
|
|
2956
2956
|
$$typeof: x,
|
|
2957
2957
|
type: N,
|
|
2958
|
-
key:
|
|
2958
|
+
key: F,
|
|
2959
2959
|
props: G,
|
|
2960
2960
|
_owner: H
|
|
2961
2961
|
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(N, "ref", {
|
|
@@ -2983,8 +2983,8 @@ function Pd() {
|
|
|
2983
2983
|
value: se
|
|
2984
2984
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
2985
2985
|
}
|
|
2986
|
-
function u(N,
|
|
2987
|
-
var T =
|
|
2986
|
+
function u(N, F, G, H, ve, se) {
|
|
2987
|
+
var T = F.children;
|
|
2988
2988
|
if (T !== void 0)
|
|
2989
2989
|
if (H)
|
|
2990
2990
|
if (Y(T)) {
|
|
@@ -2996,10 +2996,10 @@ function Pd() {
|
|
|
2996
2996
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
2997
2997
|
);
|
|
2998
2998
|
else f(T);
|
|
2999
|
-
if (D.call(
|
|
2999
|
+
if (D.call(F, "key")) {
|
|
3000
3000
|
T = e(N);
|
|
3001
|
-
var J = Object.keys(
|
|
3002
|
-
return
|
|
3001
|
+
var J = Object.keys(F).filter(function($) {
|
|
3002
|
+
return $ !== "key";
|
|
3003
3003
|
});
|
|
3004
3004
|
H = 0 < J.length ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}", ne[T + H] || (J = 0 < J.length ? "{" + J.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
3005
3005
|
`A props object containing a "key" prop is being spread into JSX:
|
|
@@ -3014,11 +3014,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3014
3014
|
T
|
|
3015
3015
|
), ne[T + H] = !0);
|
|
3016
3016
|
}
|
|
3017
|
-
if (T = null, G !== void 0 && (r(G), T = "" + G), a(
|
|
3017
|
+
if (T = null, G !== void 0 && (r(G), T = "" + G), a(F) && (r(F.key), T = "" + F.key), "key" in F) {
|
|
3018
3018
|
G = {};
|
|
3019
|
-
for (var re in
|
|
3020
|
-
re !== "key" && (G[re] =
|
|
3021
|
-
} else G =
|
|
3019
|
+
for (var re in F)
|
|
3020
|
+
re !== "key" && (G[re] = F[re]);
|
|
3021
|
+
} else G = F;
|
|
3022
3022
|
return T && s(
|
|
3023
3023
|
G,
|
|
3024
3024
|
typeof N == "function" ? N.displayName || N.name || "Unknown" : N
|
|
@@ -3037,7 +3037,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3037
3037
|
function h(N) {
|
|
3038
3038
|
return typeof N == "object" && N !== null && N.$$typeof === x;
|
|
3039
3039
|
}
|
|
3040
|
-
var p = pe, x = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), k = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), _ = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, Y = Array.isArray,
|
|
3040
|
+
var p = pe, x = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), k = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), _ = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, Y = Array.isArray, B = console.createTask ? console.createTask : function() {
|
|
3041
3041
|
return null;
|
|
3042
3042
|
};
|
|
3043
3043
|
p = {
|
|
@@ -3045,43 +3045,43 @@ React keys must be passed directly to JSX without using spread:
|
|
|
3045
3045
|
return N();
|
|
3046
3046
|
}
|
|
3047
3047
|
};
|
|
3048
|
-
var W,
|
|
3048
|
+
var W, U = {}, R = p.react_stack_bottom_frame.bind(
|
|
3049
3049
|
p,
|
|
3050
3050
|
i
|
|
3051
|
-
)(), q =
|
|
3052
|
-
wr.Fragment = b, wr.jsx = function(N,
|
|
3051
|
+
)(), q = B(n(i)), ne = {};
|
|
3052
|
+
wr.Fragment = b, wr.jsx = function(N, F, G) {
|
|
3053
3053
|
var H = 1e4 > _.recentlyCreatedOwnerStacks++;
|
|
3054
3054
|
return u(
|
|
3055
3055
|
N,
|
|
3056
|
-
|
|
3056
|
+
F,
|
|
3057
3057
|
G,
|
|
3058
3058
|
!1,
|
|
3059
3059
|
H ? Error("react-stack-top-frame") : R,
|
|
3060
|
-
H ?
|
|
3060
|
+
H ? B(n(N)) : q
|
|
3061
3061
|
);
|
|
3062
|
-
}, wr.jsxs = function(N,
|
|
3062
|
+
}, wr.jsxs = function(N, F, G) {
|
|
3063
3063
|
var H = 1e4 > _.recentlyCreatedOwnerStacks++;
|
|
3064
3064
|
return u(
|
|
3065
3065
|
N,
|
|
3066
|
-
|
|
3066
|
+
F,
|
|
3067
3067
|
G,
|
|
3068
3068
|
!0,
|
|
3069
3069
|
H ? Error("react-stack-top-frame") : R,
|
|
3070
|
-
H ?
|
|
3070
|
+
H ? B(n(N)) : q
|
|
3071
3071
|
);
|
|
3072
3072
|
};
|
|
3073
3073
|
})()), wr;
|
|
3074
3074
|
}
|
|
3075
|
-
var
|
|
3075
|
+
var $i;
|
|
3076
3076
|
function Od() {
|
|
3077
|
-
return
|
|
3077
|
+
return $i || ($i = 1, process.env.NODE_ENV === "production" ? Xr.exports = zd() : Xr.exports = Pd()), Xr.exports;
|
|
3078
3078
|
}
|
|
3079
3079
|
var l = Od();
|
|
3080
|
-
const
|
|
3080
|
+
const ts = Ut(void 0), Id = ({
|
|
3081
3081
|
config: e,
|
|
3082
3082
|
children: t
|
|
3083
3083
|
}) => /* @__PURE__ */ l.jsx(
|
|
3084
|
-
|
|
3084
|
+
ts.Provider,
|
|
3085
3085
|
{
|
|
3086
3086
|
value: {
|
|
3087
3087
|
registry: e.registry,
|
|
@@ -3094,12 +3094,12 @@ const es = Bt(void 0), Id = ({
|
|
|
3094
3094
|
}
|
|
3095
3095
|
);
|
|
3096
3096
|
function On() {
|
|
3097
|
-
const e = pt(
|
|
3097
|
+
const e = pt(ts);
|
|
3098
3098
|
if (e === void 0)
|
|
3099
3099
|
throw new Error("useConfig must be used within ConfigProvider");
|
|
3100
3100
|
return e;
|
|
3101
3101
|
}
|
|
3102
|
-
const
|
|
3102
|
+
const rs = Ut(void 0), Qo = ({ mode: e, children: t }) => (X(() => {
|
|
3103
3103
|
if (e !== "studio") return;
|
|
3104
3104
|
const r = new MutationObserver((n) => {
|
|
3105
3105
|
n.forEach((o) => {
|
|
@@ -3109,8 +3109,8 @@ const ts = Bt(void 0), Qo = ({ mode: e, children: t }) => (X(() => {
|
|
|
3109
3109
|
});
|
|
3110
3110
|
});
|
|
3111
3111
|
return r.observe(document.body, { childList: !0 }), () => r.disconnect();
|
|
3112
|
-
}, [e]), /* @__PURE__ */ l.jsx(
|
|
3113
|
-
const e = pt(
|
|
3112
|
+
}, [e]), /* @__PURE__ */ l.jsx(rs.Provider, { value: { mode: e }, children: t })), Dd = () => {
|
|
3113
|
+
const e = pt(rs);
|
|
3114
3114
|
if (e === void 0)
|
|
3115
3115
|
throw new Error("useStudio must be used within a StudioProvider");
|
|
3116
3116
|
return e;
|
|
@@ -3121,7 +3121,7 @@ const ts = Bt(void 0), Qo = ({ mode: e, children: t }) => (X(() => {
|
|
|
3121
3121
|
* This source code is licensed under the ISC license.
|
|
3122
3122
|
* See the LICENSE file in the root directory of this source tree.
|
|
3123
3123
|
*/
|
|
3124
|
-
const Md = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(),
|
|
3124
|
+
const Md = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ns = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim();
|
|
3125
3125
|
/**
|
|
3126
3126
|
* @license lucide-react v0.474.0 - ISC
|
|
3127
3127
|
*
|
|
@@ -3164,7 +3164,7 @@ const Ld = Xo(
|
|
|
3164
3164
|
height: t,
|
|
3165
3165
|
stroke: e,
|
|
3166
3166
|
strokeWidth: n ? Number(r) * 24 / Number(t) : r,
|
|
3167
|
-
className:
|
|
3167
|
+
className: ns("lucide", o),
|
|
3168
3168
|
...s
|
|
3169
3169
|
},
|
|
3170
3170
|
[
|
|
@@ -3184,7 +3184,7 @@ const xe = (e, t) => {
|
|
|
3184
3184
|
({ className: n, ...o }, i) => Ro(Ld, {
|
|
3185
3185
|
ref: i,
|
|
3186
3186
|
iconNode: t,
|
|
3187
|
-
className:
|
|
3187
|
+
className: ns(`lucide-${Md(e)}`, n),
|
|
3188
3188
|
...o
|
|
3189
3189
|
})
|
|
3190
3190
|
);
|
|
@@ -3196,10 +3196,10 @@ const xe = (e, t) => {
|
|
|
3196
3196
|
* This source code is licensed under the ISC license.
|
|
3197
3197
|
* See the LICENSE file in the root directory of this source tree.
|
|
3198
3198
|
*/
|
|
3199
|
-
const
|
|
3199
|
+
const $d = [
|
|
3200
3200
|
["path", { d: "M12 5v14", key: "s699le" }],
|
|
3201
3201
|
["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
|
|
3202
|
-
],
|
|
3202
|
+
], Fd = xe("ArrowDown", $d);
|
|
3203
3203
|
/**
|
|
3204
3204
|
* @license lucide-react v0.474.0 - ISC
|
|
3205
3205
|
*
|
|
@@ -3209,17 +3209,17 @@ const Fd = [
|
|
|
3209
3209
|
const Wd = [
|
|
3210
3210
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
3211
3211
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
3212
|
-
],
|
|
3212
|
+
], Ud = xe("ArrowRight", Wd);
|
|
3213
3213
|
/**
|
|
3214
3214
|
* @license lucide-react v0.474.0 - ISC
|
|
3215
3215
|
*
|
|
3216
3216
|
* This source code is licensed under the ISC license.
|
|
3217
3217
|
* See the LICENSE file in the root directory of this source tree.
|
|
3218
3218
|
*/
|
|
3219
|
-
const
|
|
3219
|
+
const Bd = [
|
|
3220
3220
|
["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
|
|
3221
3221
|
["path", { d: "M12 19V5", key: "x0mq9r" }]
|
|
3222
|
-
], Hd = xe("ArrowUp",
|
|
3222
|
+
], Hd = xe("ArrowUp", Bd);
|
|
3223
3223
|
/**
|
|
3224
3224
|
* @license lucide-react v0.474.0 - ISC
|
|
3225
3225
|
*
|
|
@@ -3318,7 +3318,7 @@ const ou = [
|
|
|
3318
3318
|
["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
|
|
3319
3319
|
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
3320
3320
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
3321
|
-
],
|
|
3321
|
+
], Fi = xe("GripVertical", ou);
|
|
3322
3322
|
/**
|
|
3323
3323
|
* @license lucide-react v0.474.0 - ISC
|
|
3324
3324
|
*
|
|
@@ -3369,7 +3369,7 @@ const su = [
|
|
|
3369
3369
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
3370
3370
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
3371
3371
|
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
3372
|
-
],
|
|
3372
|
+
], os = xe("Link2", su);
|
|
3373
3373
|
/**
|
|
3374
3374
|
* @license lucide-react v0.474.0 - ISC
|
|
3375
3375
|
*
|
|
@@ -3519,7 +3519,7 @@ const Eu = [
|
|
|
3519
3519
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
3520
3520
|
["polyline", { points: "17 8 12 3 7 8", key: "t8dd8p" }],
|
|
3521
3521
|
["line", { x1: "12", x2: "12", y1: "3", y2: "15", key: "widbto" }]
|
|
3522
|
-
],
|
|
3522
|
+
], is = xe("Upload", Eu);
|
|
3523
3523
|
/**
|
|
3524
3524
|
* @license lucide-react v0.474.0 - ISC
|
|
3525
3525
|
*
|
|
@@ -3545,7 +3545,7 @@ const Nu = [
|
|
|
3545
3545
|
}
|
|
3546
3546
|
]
|
|
3547
3547
|
], Ru = xe("Zap", Nu);
|
|
3548
|
-
class Au extends
|
|
3548
|
+
class Au extends $a {
|
|
3549
3549
|
constructor(t) {
|
|
3550
3550
|
super(t), this.state = { hasError: !1 };
|
|
3551
3551
|
}
|
|
@@ -3701,7 +3701,7 @@ function Pu(e) {
|
|
|
3701
3701
|
function Ou(e) {
|
|
3702
3702
|
return e.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
3703
3703
|
}
|
|
3704
|
-
function
|
|
3704
|
+
function Ui(e, t) {
|
|
3705
3705
|
if (!t || t === "#") return e;
|
|
3706
3706
|
const r = t.startsWith("#") ? t.slice(1) : t;
|
|
3707
3707
|
if (!r || r === "/") return e;
|
|
@@ -3789,13 +3789,13 @@ function _u(e, t, r) {
|
|
|
3789
3789
|
if (!n) {
|
|
3790
3790
|
const a = er(t), s = r.documents.get(a);
|
|
3791
3791
|
if (s === void 0) return null;
|
|
3792
|
-
const c =
|
|
3792
|
+
const c = Ui(s, i);
|
|
3793
3793
|
return c === void 0 ? null : { value: c, documentPath: a };
|
|
3794
3794
|
}
|
|
3795
3795
|
for (const a of Du(n, t)) {
|
|
3796
3796
|
const s = r.documents.get(a);
|
|
3797
3797
|
if (s === void 0) continue;
|
|
3798
|
-
const c =
|
|
3798
|
+
const c = Ui(s, i);
|
|
3799
3799
|
if (c !== void 0)
|
|
3800
3800
|
return { value: c, documentPath: a };
|
|
3801
3801
|
}
|
|
@@ -3881,7 +3881,7 @@ function Gt(e) {
|
|
|
3881
3881
|
menuConfig: Zr(e.menuConfig, "config/menu.json", t)
|
|
3882
3882
|
};
|
|
3883
3883
|
}
|
|
3884
|
-
const
|
|
3884
|
+
const $u = "application/json", as = ({
|
|
3885
3885
|
pageConfig: e,
|
|
3886
3886
|
siteConfig: t,
|
|
3887
3887
|
menuConfig: r,
|
|
@@ -3938,7 +3938,7 @@ const Fu = "application/json", is = ({
|
|
|
3938
3938
|
}, m = (v, k) => {
|
|
3939
3939
|
if (v.preventDefault(), c(null), !!o)
|
|
3940
3940
|
try {
|
|
3941
|
-
const C = v.dataTransfer.getData(
|
|
3941
|
+
const C = v.dataTransfer.getData($u), { sectionId: S } = JSON.parse(C);
|
|
3942
3942
|
typeof S == "string" && o(S, k);
|
|
3943
3943
|
} catch {
|
|
3944
3944
|
}
|
|
@@ -4081,7 +4081,7 @@ const Fu = "application/json", is = ({
|
|
|
4081
4081
|
a && a.remove();
|
|
4082
4082
|
};
|
|
4083
4083
|
}, [e, t, r]), /* @__PURE__ */ l.jsx(l.Fragment, { children: n }));
|
|
4084
|
-
function
|
|
4084
|
+
function Fu() {
|
|
4085
4085
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
4086
4086
|
t[r] = arguments[r];
|
|
4087
4087
|
return he(
|
|
@@ -4114,11 +4114,11 @@ function si(e) {
|
|
|
4114
4114
|
function _r(e) {
|
|
4115
4115
|
return sr(e) ? !1 : e instanceof Ke(e).HTMLElement;
|
|
4116
4116
|
}
|
|
4117
|
-
function
|
|
4117
|
+
function ss(e) {
|
|
4118
4118
|
return e instanceof Ke(e).SVGElement;
|
|
4119
4119
|
}
|
|
4120
4120
|
function cr(e) {
|
|
4121
|
-
return e ? sr(e) ? e.document : ai(e) ? si(e) ? e : _r(e) ||
|
|
4121
|
+
return e ? sr(e) ? e.document : ai(e) ? si(e) ? e : _r(e) || ss(e) ? e.ownerDocument : document : document : document;
|
|
4122
4122
|
}
|
|
4123
4123
|
const it = Mn ? Jo : X;
|
|
4124
4124
|
function _n(e) {
|
|
@@ -4174,7 +4174,7 @@ function vn(e) {
|
|
|
4174
4174
|
}, [e]), t.current;
|
|
4175
4175
|
}
|
|
4176
4176
|
let so = {};
|
|
4177
|
-
function
|
|
4177
|
+
function $r(e, t) {
|
|
4178
4178
|
return he(() => {
|
|
4179
4179
|
if (t)
|
|
4180
4180
|
return t;
|
|
@@ -4182,7 +4182,7 @@ function Fr(e, t) {
|
|
|
4182
4182
|
return so[e] = r, e + "-" + r;
|
|
4183
4183
|
}, [e, t]);
|
|
4184
4184
|
}
|
|
4185
|
-
function
|
|
4185
|
+
function cs(e) {
|
|
4186
4186
|
return function(t) {
|
|
4187
4187
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
4188
4188
|
n[o - 1] = arguments[o];
|
|
@@ -4198,8 +4198,8 @@ function ss(e) {
|
|
|
4198
4198
|
});
|
|
4199
4199
|
};
|
|
4200
4200
|
}
|
|
4201
|
-
const Xt = /* @__PURE__ */
|
|
4202
|
-
function
|
|
4201
|
+
const Xt = /* @__PURE__ */ cs(1), zr = /* @__PURE__ */ cs(-1);
|
|
4202
|
+
function Uu(e) {
|
|
4203
4203
|
return "clientX" in e && "clientY" in e;
|
|
4204
4204
|
}
|
|
4205
4205
|
function Ln(e) {
|
|
@@ -4210,7 +4210,7 @@ function Ln(e) {
|
|
|
4210
4210
|
} = Ke(e.target);
|
|
4211
4211
|
return t && e instanceof t;
|
|
4212
4212
|
}
|
|
4213
|
-
function
|
|
4213
|
+
function Bu(e) {
|
|
4214
4214
|
if (!e)
|
|
4215
4215
|
return !1;
|
|
4216
4216
|
const {
|
|
@@ -4219,7 +4219,7 @@ function Uu(e) {
|
|
|
4219
4219
|
return t && e instanceof t;
|
|
4220
4220
|
}
|
|
4221
4221
|
function xn(e) {
|
|
4222
|
-
if (
|
|
4222
|
+
if (Bu(e)) {
|
|
4223
4223
|
if (e.touches && e.touches.length) {
|
|
4224
4224
|
const {
|
|
4225
4225
|
clientX: t,
|
|
@@ -4240,7 +4240,7 @@ function xn(e) {
|
|
|
4240
4240
|
};
|
|
4241
4241
|
}
|
|
4242
4242
|
}
|
|
4243
|
-
return
|
|
4243
|
+
return Uu(e) ? {
|
|
4244
4244
|
x: e.clientX,
|
|
4245
4245
|
y: e.clientY
|
|
4246
4246
|
} : null;
|
|
@@ -4284,9 +4284,9 @@ const Rt = /* @__PURE__ */ Object.freeze({
|
|
|
4284
4284
|
return t + " " + r + "ms " + n;
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
|
-
}),
|
|
4287
|
+
}), Bi = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
4288
4288
|
function Hu(e) {
|
|
4289
|
-
return e.matches(
|
|
4289
|
+
return e.matches(Bi) ? e : e.querySelector(Bi);
|
|
4290
4290
|
}
|
|
4291
4291
|
const Vu = {
|
|
4292
4292
|
display: "none"
|
|
@@ -4338,9 +4338,9 @@ function Gu() {
|
|
|
4338
4338
|
announcement: e
|
|
4339
4339
|
};
|
|
4340
4340
|
}
|
|
4341
|
-
const
|
|
4341
|
+
const ls = /* @__PURE__ */ Ut(null);
|
|
4342
4342
|
function qu(e) {
|
|
4343
|
-
const t = pt(
|
|
4343
|
+
const t = pt(ls);
|
|
4344
4344
|
X(() => {
|
|
4345
4345
|
if (!t)
|
|
4346
4346
|
throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
@@ -4404,7 +4404,7 @@ function Qu(e) {
|
|
|
4404
4404
|
const {
|
|
4405
4405
|
announce: i,
|
|
4406
4406
|
announcement: a
|
|
4407
|
-
} = Gu(), s =
|
|
4407
|
+
} = Gu(), s = $r("DndLiveRegion"), [c, d] = Q(!1);
|
|
4408
4408
|
if (X(() => {
|
|
4409
4409
|
d(!0);
|
|
4410
4410
|
}, []), qu(he(() => ({
|
|
@@ -4465,7 +4465,7 @@ function Qu(e) {
|
|
|
4465
4465
|
id: s,
|
|
4466
4466
|
announcement: a
|
|
4467
4467
|
}));
|
|
4468
|
-
return r ?
|
|
4468
|
+
return r ? Wa(u, r) : u;
|
|
4469
4469
|
}
|
|
4470
4470
|
var Ie;
|
|
4471
4471
|
(function(e) {
|
|
@@ -4496,7 +4496,7 @@ const at = /* @__PURE__ */ Object.freeze({
|
|
|
4496
4496
|
x: 0,
|
|
4497
4497
|
y: 0
|
|
4498
4498
|
});
|
|
4499
|
-
function
|
|
4499
|
+
function ds(e, t) {
|
|
4500
4500
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
4501
4501
|
}
|
|
4502
4502
|
function tf(e, t) {
|
|
@@ -4509,7 +4509,7 @@ function tf(e, t) {
|
|
|
4509
4509
|
};
|
|
4510
4510
|
return n.x + "% " + n.y + "%";
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function us(e, t) {
|
|
4513
4513
|
let {
|
|
4514
4514
|
data: {
|
|
4515
4515
|
value: r
|
|
@@ -4554,7 +4554,7 @@ function Hi(e) {
|
|
|
4554
4554
|
y: r + n
|
|
4555
4555
|
}];
|
|
4556
4556
|
}
|
|
4557
|
-
function
|
|
4557
|
+
function fs(e, t) {
|
|
4558
4558
|
if (!e || e.length === 0)
|
|
4559
4559
|
return null;
|
|
4560
4560
|
const [r] = e;
|
|
@@ -4578,7 +4578,7 @@ const nf = (e) => {
|
|
|
4578
4578
|
id: s
|
|
4579
4579
|
} = a, c = r.get(s);
|
|
4580
4580
|
if (c) {
|
|
4581
|
-
const d =
|
|
4581
|
+
const d = ds(Vi(c), o);
|
|
4582
4582
|
i.push({
|
|
4583
4583
|
id: s,
|
|
4584
4584
|
data: {
|
|
@@ -4588,7 +4588,7 @@ const nf = (e) => {
|
|
|
4588
4588
|
});
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
|
-
return i.sort(
|
|
4591
|
+
return i.sort(us);
|
|
4592
4592
|
}, of = (e) => {
|
|
4593
4593
|
let {
|
|
4594
4594
|
collisionRect: t,
|
|
@@ -4601,7 +4601,7 @@ const nf = (e) => {
|
|
|
4601
4601
|
id: s
|
|
4602
4602
|
} = a, c = r.get(s);
|
|
4603
4603
|
if (c) {
|
|
4604
|
-
const d = Hi(c), u = o.reduce((h, p, x) => h +
|
|
4604
|
+
const d = Hi(c), u = o.reduce((h, p, x) => h + ds(d[x], p), 0), f = Number((u / 4).toFixed(4));
|
|
4605
4605
|
i.push({
|
|
4606
4606
|
id: s,
|
|
4607
4607
|
data: {
|
|
@@ -4611,7 +4611,7 @@ const nf = (e) => {
|
|
|
4611
4611
|
});
|
|
4612
4612
|
}
|
|
4613
4613
|
}
|
|
4614
|
-
return i.sort(
|
|
4614
|
+
return i.sort(us);
|
|
4615
4615
|
};
|
|
4616
4616
|
function af(e, t) {
|
|
4617
4617
|
const r = Math.max(t.top, e.top), n = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), a = o - n, s = i - r;
|
|
@@ -4652,7 +4652,7 @@ function cf(e, t, r) {
|
|
|
4652
4652
|
scaleY: t && r ? t.height / r.height : 1
|
|
4653
4653
|
};
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function ps(e, t) {
|
|
4656
4656
|
return e && t ? {
|
|
4657
4657
|
x: e.left - t.left,
|
|
4658
4658
|
y: e.top - t.top
|
|
@@ -4674,7 +4674,7 @@ function lf(e) {
|
|
|
4674
4674
|
};
|
|
4675
4675
|
}
|
|
4676
4676
|
const df = /* @__PURE__ */ lf(1);
|
|
4677
|
-
function
|
|
4677
|
+
function hs(e) {
|
|
4678
4678
|
if (e.startsWith("matrix3d(")) {
|
|
4679
4679
|
const t = e.slice(9, -1).split(/, /);
|
|
4680
4680
|
return {
|
|
@@ -4695,7 +4695,7 @@ function ps(e) {
|
|
|
4695
4695
|
return null;
|
|
4696
4696
|
}
|
|
4697
4697
|
function uf(e, t, r) {
|
|
4698
|
-
const n =
|
|
4698
|
+
const n = hs(t);
|
|
4699
4699
|
if (!n)
|
|
4700
4700
|
return e;
|
|
4701
4701
|
const {
|
|
@@ -4770,51 +4770,51 @@ function mf(e, t) {
|
|
|
4770
4770
|
return typeof i == "string" ? r.test(i) : !1;
|
|
4771
4771
|
});
|
|
4772
4772
|
}
|
|
4773
|
-
function
|
|
4773
|
+
function $n(e, t) {
|
|
4774
4774
|
const r = [];
|
|
4775
4775
|
function n(o) {
|
|
4776
4776
|
if (t != null && r.length >= t || !o)
|
|
4777
4777
|
return r;
|
|
4778
4778
|
if (si(o) && o.scrollingElement != null && !r.includes(o.scrollingElement))
|
|
4779
4779
|
return r.push(o.scrollingElement), r;
|
|
4780
|
-
if (!_r(o) ||
|
|
4780
|
+
if (!_r(o) || ss(o) || r.includes(o))
|
|
4781
4781
|
return r;
|
|
4782
4782
|
const i = Ke(e).getComputedStyle(o);
|
|
4783
4783
|
return o !== e && mf(o, i) && r.push(o), hf(o, i) ? r : n(o.parentNode);
|
|
4784
4784
|
}
|
|
4785
4785
|
return e ? n(e) : r;
|
|
4786
4786
|
}
|
|
4787
|
-
function
|
|
4788
|
-
const [t] =
|
|
4787
|
+
function ms(e) {
|
|
4788
|
+
const [t] = $n(e, 1);
|
|
4789
4789
|
return t ?? null;
|
|
4790
4790
|
}
|
|
4791
4791
|
function lo(e) {
|
|
4792
4792
|
return !Mn || !e ? null : sr(e) ? e : ai(e) ? si(e) || e === cr(e).scrollingElement ? window : _r(e) ? e : null : null;
|
|
4793
4793
|
}
|
|
4794
|
-
function
|
|
4794
|
+
function gs(e) {
|
|
4795
4795
|
return sr(e) ? e.scrollX : e.scrollLeft;
|
|
4796
4796
|
}
|
|
4797
|
-
function
|
|
4797
|
+
function bs(e) {
|
|
4798
4798
|
return sr(e) ? e.scrollY : e.scrollTop;
|
|
4799
4799
|
}
|
|
4800
4800
|
function To(e) {
|
|
4801
4801
|
return {
|
|
4802
|
-
x:
|
|
4803
|
-
y:
|
|
4802
|
+
x: gs(e),
|
|
4803
|
+
y: bs(e)
|
|
4804
4804
|
};
|
|
4805
4805
|
}
|
|
4806
4806
|
var _e;
|
|
4807
4807
|
(function(e) {
|
|
4808
4808
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
4809
4809
|
})(_e || (_e = {}));
|
|
4810
|
-
function
|
|
4810
|
+
function vs(e) {
|
|
4811
4811
|
return !Mn || !e ? !1 : e === document.scrollingElement;
|
|
4812
4812
|
}
|
|
4813
|
-
function
|
|
4813
|
+
function xs(e) {
|
|
4814
4814
|
const t = {
|
|
4815
4815
|
x: 0,
|
|
4816
4816
|
y: 0
|
|
4817
|
-
}, r =
|
|
4817
|
+
}, r = vs(e) ? {
|
|
4818
4818
|
height: window.innerHeight,
|
|
4819
4819
|
width: window.innerWidth
|
|
4820
4820
|
} : {
|
|
@@ -4850,7 +4850,7 @@ function bf(e, t, r, n, o) {
|
|
|
4850
4850
|
isBottom: u,
|
|
4851
4851
|
isLeft: f,
|
|
4852
4852
|
isRight: h
|
|
4853
|
-
} =
|
|
4853
|
+
} = xs(e), p = {
|
|
4854
4854
|
x: 0,
|
|
4855
4855
|
y: 0
|
|
4856
4856
|
}, x = {
|
|
@@ -4895,16 +4895,16 @@ function vf(e) {
|
|
|
4895
4895
|
height: e.clientHeight
|
|
4896
4896
|
};
|
|
4897
4897
|
}
|
|
4898
|
-
function
|
|
4898
|
+
function ws(e) {
|
|
4899
4899
|
return e.reduce((t, r) => Xt(t, To(r)), at);
|
|
4900
4900
|
}
|
|
4901
4901
|
function xf(e) {
|
|
4902
|
-
return e.reduce((t, r) => t +
|
|
4902
|
+
return e.reduce((t, r) => t + gs(r), 0);
|
|
4903
4903
|
}
|
|
4904
4904
|
function wf(e) {
|
|
4905
|
-
return e.reduce((t, r) => t +
|
|
4905
|
+
return e.reduce((t, r) => t + bs(r), 0);
|
|
4906
4906
|
}
|
|
4907
|
-
function
|
|
4907
|
+
function ys(e, t) {
|
|
4908
4908
|
if (t === void 0 && (t = lr), !e)
|
|
4909
4909
|
return;
|
|
4910
4910
|
const {
|
|
@@ -4913,7 +4913,7 @@ function ws(e, t) {
|
|
|
4913
4913
|
bottom: o,
|
|
4914
4914
|
right: i
|
|
4915
4915
|
} = t(e);
|
|
4916
|
-
|
|
4916
|
+
ms(e) && (o <= 0 || i <= 0 || r >= window.innerHeight || n >= window.innerWidth) && e.scrollIntoView({
|
|
4917
4917
|
block: "center",
|
|
4918
4918
|
inline: "center"
|
|
4919
4919
|
});
|
|
@@ -4922,7 +4922,7 @@ const yf = [["x", ["left", "right"], xf], ["y", ["top", "bottom"], wf]];
|
|
|
4922
4922
|
class ci {
|
|
4923
4923
|
constructor(t, r) {
|
|
4924
4924
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
4925
|
-
const n =
|
|
4925
|
+
const n = $n(r), o = ws(n);
|
|
4926
4926
|
this.rect = {
|
|
4927
4927
|
...t
|
|
4928
4928
|
}, this.width = t.width, this.height = t.height;
|
|
@@ -4978,7 +4978,7 @@ var fe;
|
|
|
4978
4978
|
(function(e) {
|
|
4979
4979
|
e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
|
|
4980
4980
|
})(fe || (fe = {}));
|
|
4981
|
-
const
|
|
4981
|
+
const ks = {
|
|
4982
4982
|
start: [fe.Space, fe.Enter],
|
|
4983
4983
|
cancel: [fe.Esc],
|
|
4984
4984
|
end: [fe.Space, fe.Enter, fe.Tab]
|
|
@@ -5027,7 +5027,7 @@ class li {
|
|
|
5027
5027
|
activeNode: t,
|
|
5028
5028
|
onStart: r
|
|
5029
5029
|
} = this.props, n = t.node.current;
|
|
5030
|
-
n &&
|
|
5030
|
+
n && ys(n), r(at);
|
|
5031
5031
|
}
|
|
5032
5032
|
handleKeyDown(t) {
|
|
5033
5033
|
if (Ln(t)) {
|
|
@@ -5036,7 +5036,7 @@ class li {
|
|
|
5036
5036
|
context: n,
|
|
5037
5037
|
options: o
|
|
5038
5038
|
} = this.props, {
|
|
5039
|
-
keyboardCodes: i =
|
|
5039
|
+
keyboardCodes: i = ks,
|
|
5040
5040
|
coordinateGetter: a = Sf,
|
|
5041
5041
|
scrollBehavior: s = "smooth"
|
|
5042
5042
|
} = o, {
|
|
@@ -5077,7 +5077,7 @@ class li {
|
|
|
5077
5077
|
isBottom: k,
|
|
5078
5078
|
maxScroll: C,
|
|
5079
5079
|
minScroll: S
|
|
5080
|
-
} =
|
|
5080
|
+
} = xs(m), j = vf(m), E = {
|
|
5081
5081
|
x: Math.min(b === fe.Right ? j.right - j.width / 2 : j.right, Math.max(b === fe.Right ? j.left : j.left + j.width / 2, f.x)),
|
|
5082
5082
|
y: Math.min(b === fe.Down ? j.bottom - j.height / 2 : j.bottom, Math.max(b === fe.Down ? j.top : j.top + j.height / 2, f.y))
|
|
5083
5083
|
}, I = b === fe.Right && !y || b === fe.Left && !v, M = b === fe.Down && !k || b === fe.Up && !w;
|
|
@@ -5141,7 +5141,7 @@ li.activators = [{
|
|
|
5141
5141
|
eventName: "onKeyDown",
|
|
5142
5142
|
handler: (e, t, r) => {
|
|
5143
5143
|
let {
|
|
5144
|
-
keyboardCodes: n =
|
|
5144
|
+
keyboardCodes: n = ks,
|
|
5145
5145
|
onActivation: o
|
|
5146
5146
|
} = t, {
|
|
5147
5147
|
active: i
|
|
@@ -5349,7 +5349,7 @@ const fo = {
|
|
|
5349
5349
|
name: "touchend"
|
|
5350
5350
|
}
|
|
5351
5351
|
};
|
|
5352
|
-
class
|
|
5352
|
+
class Cs extends di {
|
|
5353
5353
|
constructor(t) {
|
|
5354
5354
|
super(t, fo);
|
|
5355
5355
|
}
|
|
@@ -5364,7 +5364,7 @@ class ks extends di {
|
|
|
5364
5364
|
}
|
|
5365
5365
|
}
|
|
5366
5366
|
}
|
|
5367
|
-
|
|
5367
|
+
Cs.activators = [{
|
|
5368
5368
|
eventName: "onTouchStart",
|
|
5369
5369
|
handler: (e, t) => {
|
|
5370
5370
|
let {
|
|
@@ -5635,7 +5635,7 @@ function Df(e) {
|
|
|
5635
5635
|
}, [n, r]);
|
|
5636
5636
|
return X(() => () => o == null ? void 0 : o.disconnect(), [o]), o;
|
|
5637
5637
|
}
|
|
5638
|
-
function
|
|
5638
|
+
function Fn(e) {
|
|
5639
5639
|
let {
|
|
5640
5640
|
callback: t,
|
|
5641
5641
|
disabled: r
|
|
@@ -5686,7 +5686,7 @@ function Ji(e, t, r) {
|
|
|
5686
5686
|
}
|
|
5687
5687
|
}
|
|
5688
5688
|
}
|
|
5689
|
-
}), s =
|
|
5689
|
+
}), s = Fn({
|
|
5690
5690
|
callback: i
|
|
5691
5691
|
});
|
|
5692
5692
|
return it(() => {
|
|
@@ -5698,16 +5698,16 @@ function Ji(e, t, r) {
|
|
|
5698
5698
|
}
|
|
5699
5699
|
function _f(e) {
|
|
5700
5700
|
const t = fi(e);
|
|
5701
|
-
return
|
|
5701
|
+
return ps(e, t);
|
|
5702
5702
|
}
|
|
5703
5703
|
const Zi = [];
|
|
5704
5704
|
function Lf(e) {
|
|
5705
|
-
const t = ue(e), r = Lr((n) => e ? n && n !== Zi && e && t.current && e.parentNode === t.current.parentNode ? n :
|
|
5705
|
+
const t = ue(e), r = Lr((n) => e ? n && n !== Zi && e && t.current && e.parentNode === t.current.parentNode ? n : $n(e) : Zi, [e]);
|
|
5706
5706
|
return X(() => {
|
|
5707
5707
|
t.current = e;
|
|
5708
5708
|
}, [e]), r;
|
|
5709
5709
|
}
|
|
5710
|
-
function
|
|
5710
|
+
function $f(e) {
|
|
5711
5711
|
const [t, r] = Q(null), n = ue(e), o = ge((i) => {
|
|
5712
5712
|
const a = lo(i.target);
|
|
5713
5713
|
a && r((s) => s ? (s.set(a, To(a)), new Map(s)) : null);
|
|
@@ -5733,7 +5733,7 @@ function Ff(e) {
|
|
|
5733
5733
|
d == null || d.removeEventListener("scroll", o);
|
|
5734
5734
|
});
|
|
5735
5735
|
}
|
|
5736
|
-
}, [o, e]), he(() => e.length ? t ? Array.from(t.values()).reduce((i, a) => Xt(i, a), at) :
|
|
5736
|
+
}, [o, e]), he(() => e.length ? t ? Array.from(t.values()).reduce((i, a) => Xt(i, a), at) : ws(e) : at, [e, t]);
|
|
5737
5737
|
}
|
|
5738
5738
|
function Qi(e, t) {
|
|
5739
5739
|
t === void 0 && (t = []);
|
|
@@ -5749,7 +5749,7 @@ function Qi(e, t) {
|
|
|
5749
5749
|
n && !r.current && (r.current = e), !n && r.current && (r.current = null);
|
|
5750
5750
|
}, [e]), r.current ? zr(e, r.current) : at;
|
|
5751
5751
|
}
|
|
5752
|
-
function
|
|
5752
|
+
function Ff(e) {
|
|
5753
5753
|
X(
|
|
5754
5754
|
() => {
|
|
5755
5755
|
if (!Mn)
|
|
@@ -5786,24 +5786,24 @@ function Wf(e, t) {
|
|
|
5786
5786
|
}, r;
|
|
5787
5787
|
}, {}), [e, t]);
|
|
5788
5788
|
}
|
|
5789
|
-
function
|
|
5789
|
+
function Ss(e) {
|
|
5790
5790
|
return he(() => e ? pf(e) : null, [e]);
|
|
5791
5791
|
}
|
|
5792
5792
|
const ea = [];
|
|
5793
|
-
function
|
|
5793
|
+
function Uf(e, t) {
|
|
5794
5794
|
t === void 0 && (t = lr);
|
|
5795
|
-
const [r] = e, n =
|
|
5795
|
+
const [r] = e, n = Ss(r ? Ke(r) : null), [o, i] = Q(ea);
|
|
5796
5796
|
function a() {
|
|
5797
|
-
i(() => e.length ? e.map((c) =>
|
|
5797
|
+
i(() => e.length ? e.map((c) => vs(c) ? n : new ci(t(c), c)) : ea);
|
|
5798
5798
|
}
|
|
5799
|
-
const s =
|
|
5799
|
+
const s = Fn({
|
|
5800
5800
|
callback: a
|
|
5801
5801
|
});
|
|
5802
5802
|
return it(() => {
|
|
5803
5803
|
s == null || s.disconnect(), a(), e.forEach((c) => s == null ? void 0 : s.observe(c));
|
|
5804
5804
|
}, [e]), o;
|
|
5805
5805
|
}
|
|
5806
|
-
function
|
|
5806
|
+
function Es(e) {
|
|
5807
5807
|
if (!e)
|
|
5808
5808
|
return null;
|
|
5809
5809
|
if (e.children.length > 1)
|
|
@@ -5811,7 +5811,7 @@ function Ss(e) {
|
|
|
5811
5811
|
const t = e.children[0];
|
|
5812
5812
|
return _r(t) ? t : e;
|
|
5813
5813
|
}
|
|
5814
|
-
function
|
|
5814
|
+
function Bf(e) {
|
|
5815
5815
|
let {
|
|
5816
5816
|
measure: t
|
|
5817
5817
|
} = e;
|
|
@@ -5830,10 +5830,10 @@ function Uf(e) {
|
|
|
5830
5830
|
});
|
|
5831
5831
|
break;
|
|
5832
5832
|
}
|
|
5833
|
-
}, [t]), i =
|
|
5833
|
+
}, [t]), i = Fn({
|
|
5834
5834
|
callback: o
|
|
5835
5835
|
}), a = ge((d) => {
|
|
5836
|
-
const u =
|
|
5836
|
+
const u = Es(d);
|
|
5837
5837
|
i == null || i.disconnect(), u && (i == null || i.observe(u)), n(u ? t(u) : null);
|
|
5838
5838
|
}, [t, i]), [s, c] = bn(a);
|
|
5839
5839
|
return he(() => ({
|
|
@@ -5908,7 +5908,7 @@ const Kf = {
|
|
|
5908
5908
|
measureDroppableContainers: wn,
|
|
5909
5909
|
windowRect: null,
|
|
5910
5910
|
measuringScheduled: !1
|
|
5911
|
-
},
|
|
5911
|
+
}, js = {
|
|
5912
5912
|
activatorEvent: null,
|
|
5913
5913
|
activators: [],
|
|
5914
5914
|
active: null,
|
|
@@ -5920,7 +5920,7 @@ const Kf = {
|
|
|
5920
5920
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
5921
5921
|
over: null,
|
|
5922
5922
|
measureDroppableContainers: wn
|
|
5923
|
-
},
|
|
5923
|
+
}, Fr = /* @__PURE__ */ Ut(js), Ns = /* @__PURE__ */ Ut(Kf);
|
|
5924
5924
|
function Yf() {
|
|
5925
5925
|
return {
|
|
5926
5926
|
draggable: {
|
|
@@ -6041,7 +6041,7 @@ function qf(e) {
|
|
|
6041
6041
|
active: r,
|
|
6042
6042
|
activatorEvent: n,
|
|
6043
6043
|
draggableNodes: o
|
|
6044
|
-
} = pt(
|
|
6044
|
+
} = pt(Fr), i = vn(n), a = vn(r == null ? void 0 : r.id);
|
|
6045
6045
|
return X(() => {
|
|
6046
6046
|
if (!t && !n && i && a != null) {
|
|
6047
6047
|
if (!Ln(i) || document.activeElement === i.target)
|
|
@@ -6069,7 +6069,7 @@ function qf(e) {
|
|
|
6069
6069
|
}
|
|
6070
6070
|
}, [n, t, o, a, i]), null;
|
|
6071
6071
|
}
|
|
6072
|
-
function
|
|
6072
|
+
function Rs(e, t) {
|
|
6073
6073
|
let {
|
|
6074
6074
|
transform: r,
|
|
6075
6075
|
...n
|
|
@@ -6123,9 +6123,9 @@ function Jf(e) {
|
|
|
6123
6123
|
const d = t == null ? void 0 : t.node.current;
|
|
6124
6124
|
if (!d || d.isConnected === !1)
|
|
6125
6125
|
return;
|
|
6126
|
-
const u = r(d), f =
|
|
6126
|
+
const u = r(d), f = ps(u, n);
|
|
6127
6127
|
if (a || (f.x = 0), s || (f.y = 0), i.current = !0, Math.abs(f.x) > 0 || Math.abs(f.y) > 0) {
|
|
6128
|
-
const h =
|
|
6128
|
+
const h = ms(d);
|
|
6129
6129
|
h && h.scrollBy({
|
|
6130
6130
|
top: f.y,
|
|
6131
6131
|
left: f.x
|
|
@@ -6133,7 +6133,7 @@ function Jf(e) {
|
|
|
6133
6133
|
}
|
|
6134
6134
|
}, [t, a, s, n, r]);
|
|
6135
6135
|
}
|
|
6136
|
-
const Wn = /* @__PURE__ */
|
|
6136
|
+
const Wn = /* @__PURE__ */ Ut({
|
|
6137
6137
|
...at,
|
|
6138
6138
|
scaleX: 1,
|
|
6139
6139
|
scaleY: 1
|
|
@@ -6175,22 +6175,22 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6175
6175
|
data: (Re = P == null ? void 0 : P.data) != null ? Re : Vf,
|
|
6176
6176
|
rect: _
|
|
6177
6177
|
} : null;
|
|
6178
|
-
}, [j, P]), Y = ue(null), [
|
|
6178
|
+
}, [j, P]), Y = ue(null), [B, W] = Q(null), [U, R] = Q(null), q = Tr(x, Object.values(x)), ne = $r("DndDescribedBy", a), N = he(() => M.getEnabled(), [M]), F = Xf(h), {
|
|
6179
6179
|
droppableRects: G,
|
|
6180
6180
|
measureDroppableContainers: H,
|
|
6181
6181
|
measuringScheduled: ve
|
|
6182
6182
|
} = Of(N, {
|
|
6183
6183
|
dragging: S,
|
|
6184
6184
|
dependencies: [I.x, I.y],
|
|
6185
|
-
config:
|
|
6186
|
-
}), se = zf(E, j), T = he(() =>
|
|
6185
|
+
config: F.droppable
|
|
6186
|
+
}), se = zf(E, j), T = he(() => U ? xn(U) : null, [U]), J = nt(), re = If(se, F.draggable.measure);
|
|
6187
6187
|
Jf({
|
|
6188
6188
|
activeNode: j != null ? E.get(j) : null,
|
|
6189
6189
|
config: J.layoutShiftCompensation,
|
|
6190
6190
|
initialRect: re,
|
|
6191
|
-
measure:
|
|
6191
|
+
measure: F.draggable.measure
|
|
6192
6192
|
});
|
|
6193
|
-
const
|
|
6193
|
+
const $ = Ji(se, F.draggable.measure, re), oe = Ji(se ? se.parentElement : null), ee = ue({
|
|
6194
6194
|
activatorEvent: null,
|
|
6195
6195
|
active: null,
|
|
6196
6196
|
activeNode: se,
|
|
@@ -6204,18 +6204,18 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6204
6204
|
over: null,
|
|
6205
6205
|
scrollableAncestors: [],
|
|
6206
6206
|
scrollAdjustedTranslate: null
|
|
6207
|
-
}), ke = M.getNodeFor((r = ee.current.over) == null ? void 0 : r.id), we =
|
|
6208
|
-
measure:
|
|
6209
|
-
}), ze = (n = we.nodeRef.current) != null ? n : se, De = S ? (o = we.rect) != null ? o :
|
|
6207
|
+
}), ke = M.getNodeFor((r = ee.current.over) == null ? void 0 : r.id), we = Bf({
|
|
6208
|
+
measure: F.dragOverlay.measure
|
|
6209
|
+
}), ze = (n = we.nodeRef.current) != null ? n : se, De = S ? (o = we.rect) != null ? o : $ : null, Ye = !!(we.nodeRef.current && we.rect), yt = _f(Ye ? null : $), Je = Ss(ze ? Ke(ze) : null), Ge = Lf(S ? ke ?? se : null), qe = Uf(Ge), gt = Rs(p, {
|
|
6210
6210
|
transform: {
|
|
6211
6211
|
x: I.x - yt.x,
|
|
6212
6212
|
y: I.y - yt.y,
|
|
6213
6213
|
scaleX: 1,
|
|
6214
6214
|
scaleY: 1
|
|
6215
6215
|
},
|
|
6216
|
-
activatorEvent:
|
|
6216
|
+
activatorEvent: U,
|
|
6217
6217
|
active: D,
|
|
6218
|
-
activeNodeRect:
|
|
6218
|
+
activeNodeRect: $,
|
|
6219
6219
|
containerNodeRect: oe,
|
|
6220
6220
|
draggingNodeRect: De,
|
|
6221
6221
|
over: ee.current.over,
|
|
@@ -6223,51 +6223,51 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6223
6223
|
scrollableAncestors: Ge,
|
|
6224
6224
|
scrollableAncestorRects: qe,
|
|
6225
6225
|
windowRect: Je
|
|
6226
|
-
}), rt = T ? Xt(T, I) : null, kt =
|
|
6226
|
+
}), rt = T ? Xt(T, I) : null, kt = $f(Ge), hr = Qi(kt), O = Qi(kt, [$]), te = Xt(gt, hr), ie = De ? df(De, gt) : null, me = D && ie ? f({
|
|
6227
6227
|
active: D,
|
|
6228
6228
|
collisionRect: ie,
|
|
6229
6229
|
droppableRects: G,
|
|
6230
6230
|
droppableContainers: N,
|
|
6231
6231
|
pointerCoordinates: rt
|
|
6232
|
-
}) : null, Me =
|
|
6233
|
-
(Re,
|
|
6232
|
+
}) : null, Me = fs(me, "id"), [Ce, Ae] = Q(null), A = Ye ? gt : Xt(gt, O), z = cf(A, (i = Ce == null ? void 0 : Ce.rect) != null ? i : null, $), L = ue(null), Z = ge(
|
|
6233
|
+
(Re, Fe) => {
|
|
6234
6234
|
let {
|
|
6235
6235
|
sensor: We,
|
|
6236
6236
|
options: je
|
|
6237
|
-
} =
|
|
6237
|
+
} = Fe;
|
|
6238
6238
|
if (Y.current == null)
|
|
6239
6239
|
return;
|
|
6240
|
-
const
|
|
6241
|
-
if (!
|
|
6240
|
+
const Ue = E.get(Y.current);
|
|
6241
|
+
if (!Ue)
|
|
6242
6242
|
return;
|
|
6243
6243
|
const Le = Re.nativeEvent, Xe = new We({
|
|
6244
6244
|
active: Y.current,
|
|
6245
|
-
activeNode:
|
|
6245
|
+
activeNode: Ue,
|
|
6246
6246
|
event: Le,
|
|
6247
6247
|
options: je,
|
|
6248
6248
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
6249
6249
|
// otherwise they are frozen in time with the stale arguments
|
|
6250
6250
|
context: ee,
|
|
6251
|
-
onAbort(
|
|
6252
|
-
if (!E.get(
|
|
6251
|
+
onAbort($e) {
|
|
6252
|
+
if (!E.get($e))
|
|
6253
6253
|
return;
|
|
6254
6254
|
const {
|
|
6255
6255
|
onDragAbort: lt
|
|
6256
6256
|
} = q.current, bt = {
|
|
6257
|
-
id:
|
|
6257
|
+
id: $e
|
|
6258
6258
|
};
|
|
6259
6259
|
lt == null || lt(bt), y({
|
|
6260
6260
|
type: "onDragAbort",
|
|
6261
6261
|
event: bt
|
|
6262
6262
|
});
|
|
6263
6263
|
},
|
|
6264
|
-
onPending(
|
|
6265
|
-
if (!E.get(
|
|
6264
|
+
onPending($e, Ct, lt, bt) {
|
|
6265
|
+
if (!E.get($e))
|
|
6266
6266
|
return;
|
|
6267
6267
|
const {
|
|
6268
6268
|
onDragPending: gr
|
|
6269
6269
|
} = q.current, St = {
|
|
6270
|
-
id:
|
|
6270
|
+
id: $e,
|
|
6271
6271
|
constraint: Ct,
|
|
6272
6272
|
initialCoordinates: lt,
|
|
6273
6273
|
offset: bt
|
|
@@ -6277,7 +6277,7 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6277
6277
|
event: St
|
|
6278
6278
|
});
|
|
6279
6279
|
},
|
|
6280
|
-
onStart(
|
|
6280
|
+
onStart($e) {
|
|
6281
6281
|
const Ct = Y.current;
|
|
6282
6282
|
if (Ct == null)
|
|
6283
6283
|
return;
|
|
@@ -6297,7 +6297,7 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6297
6297
|
Yr(() => {
|
|
6298
6298
|
bt == null || bt(mr), C(Nt.Initializing), w({
|
|
6299
6299
|
type: Ie.DragStart,
|
|
6300
|
-
initialCoordinates:
|
|
6300
|
+
initialCoordinates: $e,
|
|
6301
6301
|
active: Ct
|
|
6302
6302
|
}), y({
|
|
6303
6303
|
type: "onDragStart",
|
|
@@ -6305,17 +6305,17 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6305
6305
|
}), W(L.current), R(Le);
|
|
6306
6306
|
});
|
|
6307
6307
|
},
|
|
6308
|
-
onMove(
|
|
6308
|
+
onMove($e) {
|
|
6309
6309
|
w({
|
|
6310
6310
|
type: Ie.DragMove,
|
|
6311
|
-
coordinates:
|
|
6311
|
+
coordinates: $e
|
|
6312
6312
|
});
|
|
6313
6313
|
},
|
|
6314
6314
|
onEnd: He(Ie.DragEnd),
|
|
6315
6315
|
onCancel: He(Ie.DragCancel)
|
|
6316
6316
|
});
|
|
6317
6317
|
L.current = Xe;
|
|
6318
|
-
function He(
|
|
6318
|
+
function He($e) {
|
|
6319
6319
|
return async function() {
|
|
6320
6320
|
const {
|
|
6321
6321
|
active: lt,
|
|
@@ -6334,13 +6334,13 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6334
6334
|
collisions: bt,
|
|
6335
6335
|
delta: gr,
|
|
6336
6336
|
over: mr
|
|
6337
|
-
},
|
|
6337
|
+
}, $e === Ie.DragEnd && typeof br == "function" && await Promise.resolve(br(St)) && ($e = Ie.DragCancel);
|
|
6338
6338
|
}
|
|
6339
6339
|
Y.current = null, Yr(() => {
|
|
6340
6340
|
w({
|
|
6341
|
-
type:
|
|
6341
|
+
type: $e
|
|
6342
6342
|
}), C(Nt.Uninitialized), Ae(null), W(null), R(null), L.current = null;
|
|
6343
|
-
const br =
|
|
6343
|
+
const br = $e === Ie.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
6344
6344
|
if (St) {
|
|
6345
6345
|
const ro = q.current[br];
|
|
6346
6346
|
ro == null || ro(St), y({
|
|
@@ -6354,45 +6354,45 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6354
6354
|
},
|
|
6355
6355
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
6356
6356
|
[E]
|
|
6357
|
-
), le = ge((Re,
|
|
6358
|
-
const
|
|
6357
|
+
), le = ge((Re, Fe) => (We, je) => {
|
|
6358
|
+
const Ue = We.nativeEvent, Le = E.get(je);
|
|
6359
6359
|
if (
|
|
6360
6360
|
// Another sensor is already instantiating
|
|
6361
6361
|
Y.current !== null || // No active draggable
|
|
6362
6362
|
!Le || // Event has already been captured
|
|
6363
|
-
|
|
6363
|
+
Ue.dndKit || Ue.defaultPrevented
|
|
6364
6364
|
)
|
|
6365
6365
|
return;
|
|
6366
6366
|
const Xe = {
|
|
6367
6367
|
active: Le
|
|
6368
6368
|
};
|
|
6369
|
-
Re(We,
|
|
6370
|
-
capturedBy:
|
|
6371
|
-
}, Y.current = je, Z(We,
|
|
6369
|
+
Re(We, Fe.options, Xe) === !0 && (Ue.dndKit = {
|
|
6370
|
+
capturedBy: Fe.sensor
|
|
6371
|
+
}, Y.current = je, Z(We, Fe));
|
|
6372
6372
|
}, [E, Z]), de = Pf(u, le);
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
}, [
|
|
6373
|
+
Ff(u), it(() => {
|
|
6374
|
+
$ && k === Nt.Initializing && C(Nt.Initialized);
|
|
6375
|
+
}, [$, k]), X(
|
|
6376
6376
|
() => {
|
|
6377
6377
|
const {
|
|
6378
6378
|
onDragMove: Re
|
|
6379
6379
|
} = q.current, {
|
|
6380
|
-
active:
|
|
6380
|
+
active: Fe,
|
|
6381
6381
|
activatorEvent: We,
|
|
6382
6382
|
collisions: je,
|
|
6383
|
-
over:
|
|
6383
|
+
over: Ue
|
|
6384
6384
|
} = ee.current;
|
|
6385
|
-
if (
|
|
6385
|
+
if (!Fe || !We)
|
|
6386
6386
|
return;
|
|
6387
6387
|
const Le = {
|
|
6388
|
-
active:
|
|
6388
|
+
active: Fe,
|
|
6389
6389
|
activatorEvent: We,
|
|
6390
6390
|
collisions: je,
|
|
6391
6391
|
delta: {
|
|
6392
6392
|
x: te.x,
|
|
6393
6393
|
y: te.y
|
|
6394
6394
|
},
|
|
6395
|
-
over:
|
|
6395
|
+
over: Ue
|
|
6396
6396
|
};
|
|
6397
6397
|
Yr(() => {
|
|
6398
6398
|
Re == null || Re(Le), y({
|
|
@@ -6407,12 +6407,12 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6407
6407
|
() => {
|
|
6408
6408
|
const {
|
|
6409
6409
|
active: Re,
|
|
6410
|
-
activatorEvent:
|
|
6410
|
+
activatorEvent: Fe,
|
|
6411
6411
|
collisions: We,
|
|
6412
6412
|
droppableContainers: je,
|
|
6413
|
-
scrollAdjustedTranslate:
|
|
6413
|
+
scrollAdjustedTranslate: Ue
|
|
6414
6414
|
} = ee.current;
|
|
6415
|
-
if (!Re || Y.current == null ||
|
|
6415
|
+
if (!Re || Y.current == null || !Fe || !Ue)
|
|
6416
6416
|
return;
|
|
6417
6417
|
const {
|
|
6418
6418
|
onDragOver: Le
|
|
@@ -6421,20 +6421,20 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6421
6421
|
rect: Xe.rect.current,
|
|
6422
6422
|
data: Xe.data,
|
|
6423
6423
|
disabled: Xe.disabled
|
|
6424
|
-
} : null,
|
|
6424
|
+
} : null, $e = {
|
|
6425
6425
|
active: Re,
|
|
6426
|
-
activatorEvent:
|
|
6426
|
+
activatorEvent: Fe,
|
|
6427
6427
|
collisions: We,
|
|
6428
6428
|
delta: {
|
|
6429
|
-
x:
|
|
6430
|
-
y:
|
|
6429
|
+
x: Ue.x,
|
|
6430
|
+
y: Ue.y
|
|
6431
6431
|
},
|
|
6432
6432
|
over: He
|
|
6433
6433
|
};
|
|
6434
6434
|
Yr(() => {
|
|
6435
|
-
Ae(He), Le == null || Le(
|
|
6435
|
+
Ae(He), Le == null || Le($e), y({
|
|
6436
6436
|
type: "onDragOver",
|
|
6437
|
-
event:
|
|
6437
|
+
event: $e
|
|
6438
6438
|
});
|
|
6439
6439
|
});
|
|
6440
6440
|
},
|
|
@@ -6442,7 +6442,7 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6442
6442
|
[Me]
|
|
6443
6443
|
), it(() => {
|
|
6444
6444
|
ee.current = {
|
|
6445
|
-
activatorEvent:
|
|
6445
|
+
activatorEvent: U,
|
|
6446
6446
|
active: D,
|
|
6447
6447
|
activeNode: se,
|
|
6448
6448
|
collisionRect: ie,
|
|
@@ -6470,8 +6470,8 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6470
6470
|
const ye = he(() => ({
|
|
6471
6471
|
active: D,
|
|
6472
6472
|
activeNode: se,
|
|
6473
|
-
activeNodeRect:
|
|
6474
|
-
activatorEvent:
|
|
6473
|
+
activeNodeRect: $,
|
|
6474
|
+
activatorEvent: U,
|
|
6475
6475
|
collisions: me,
|
|
6476
6476
|
containerNodeRect: oe,
|
|
6477
6477
|
dragOverlay: we,
|
|
@@ -6482,14 +6482,14 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6482
6482
|
measureDroppableContainers: H,
|
|
6483
6483
|
scrollableAncestors: Ge,
|
|
6484
6484
|
scrollableAncestorRects: qe,
|
|
6485
|
-
measuringConfiguration:
|
|
6485
|
+
measuringConfiguration: F,
|
|
6486
6486
|
measuringScheduled: ve,
|
|
6487
6487
|
windowRect: Je
|
|
6488
|
-
}), [D, se,
|
|
6489
|
-
activatorEvent:
|
|
6488
|
+
}), [D, se, $, U, me, oe, we, E, M, G, Ce, H, Ge, qe, F, ve, Je]), Te = he(() => ({
|
|
6489
|
+
activatorEvent: U,
|
|
6490
6490
|
activators: de,
|
|
6491
6491
|
active: D,
|
|
6492
|
-
activeNodeRect:
|
|
6492
|
+
activeNodeRect: $,
|
|
6493
6493
|
ariaDescribedById: {
|
|
6494
6494
|
draggable: ne
|
|
6495
6495
|
},
|
|
@@ -6497,12 +6497,12 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6497
6497
|
draggableNodes: E,
|
|
6498
6498
|
over: Ce,
|
|
6499
6499
|
measureDroppableContainers: H
|
|
6500
|
-
}), [
|
|
6501
|
-
return pe.createElement(
|
|
6500
|
+
}), [U, de, D, $, w, ne, E, Ce, H]);
|
|
6501
|
+
return pe.createElement(ls.Provider, {
|
|
6502
6502
|
value: v
|
|
6503
|
-
}, pe.createElement(
|
|
6503
|
+
}, pe.createElement(Fr.Provider, {
|
|
6504
6504
|
value: Te
|
|
6505
|
-
}, pe.createElement(
|
|
6505
|
+
}, pe.createElement(Ns.Provider, {
|
|
6506
6506
|
value: ye
|
|
6507
6507
|
}, pe.createElement(Wn.Provider, {
|
|
6508
6508
|
value: z
|
|
@@ -6513,7 +6513,7 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6513
6513
|
hiddenTextDescribedById: ne
|
|
6514
6514
|
}));
|
|
6515
6515
|
function nt() {
|
|
6516
|
-
const Re = (
|
|
6516
|
+
const Re = (B == null ? void 0 : B.autoScrollEnabled) === !1, Fe = typeof c == "object" ? c.enabled === !1 : c === !1, We = S && !Re && !Fe;
|
|
6517
6517
|
return typeof c == "object" ? {
|
|
6518
6518
|
...c,
|
|
6519
6519
|
enabled: We
|
|
@@ -6521,7 +6521,7 @@ const Zf = /* @__PURE__ */ Ol(function(t) {
|
|
|
6521
6521
|
enabled: We
|
|
6522
6522
|
};
|
|
6523
6523
|
}
|
|
6524
|
-
}), Qf = /* @__PURE__ */
|
|
6524
|
+
}), Qf = /* @__PURE__ */ Ut(null), ta = "button", ep = "Draggable";
|
|
6525
6525
|
function tp(e) {
|
|
6526
6526
|
let {
|
|
6527
6527
|
id: t,
|
|
@@ -6529,7 +6529,7 @@ function tp(e) {
|
|
|
6529
6529
|
disabled: n = !1,
|
|
6530
6530
|
attributes: o
|
|
6531
6531
|
} = e;
|
|
6532
|
-
const i =
|
|
6532
|
+
const i = $r(ep), {
|
|
6533
6533
|
activators: a,
|
|
6534
6534
|
activatorEvent: s,
|
|
6535
6535
|
active: c,
|
|
@@ -6537,7 +6537,7 @@ function tp(e) {
|
|
|
6537
6537
|
ariaDescribedById: u,
|
|
6538
6538
|
draggableNodes: f,
|
|
6539
6539
|
over: h
|
|
6540
|
-
} = pt(
|
|
6540
|
+
} = pt(Fr), {
|
|
6541
6541
|
role: p = ta,
|
|
6542
6542
|
roleDescription: x = "draggable",
|
|
6543
6543
|
tabIndex: m = 0
|
|
@@ -6578,8 +6578,8 @@ function tp(e) {
|
|
|
6578
6578
|
transform: w
|
|
6579
6579
|
};
|
|
6580
6580
|
}
|
|
6581
|
-
function
|
|
6582
|
-
return pt(
|
|
6581
|
+
function As() {
|
|
6582
|
+
return pt(Ns);
|
|
6583
6583
|
}
|
|
6584
6584
|
const rp = "Droppable", np = {
|
|
6585
6585
|
timeout: 25
|
|
@@ -6591,12 +6591,12 @@ function op(e) {
|
|
|
6591
6591
|
id: n,
|
|
6592
6592
|
resizeObserverConfig: o
|
|
6593
6593
|
} = e;
|
|
6594
|
-
const i =
|
|
6594
|
+
const i = $r(rp), {
|
|
6595
6595
|
active: a,
|
|
6596
6596
|
dispatch: s,
|
|
6597
6597
|
over: c,
|
|
6598
6598
|
measureDroppableContainers: d
|
|
6599
|
-
} = pt(
|
|
6599
|
+
} = pt(Fr), u = ue({
|
|
6600
6600
|
disabled: r
|
|
6601
6601
|
}), f = ue(!1), h = ue(null), p = ue(null), {
|
|
6602
6602
|
disabled: x,
|
|
@@ -6617,7 +6617,7 @@ function op(e) {
|
|
|
6617
6617
|
},
|
|
6618
6618
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
6619
6619
|
[b]
|
|
6620
|
-
), v =
|
|
6620
|
+
), v = Fn({
|
|
6621
6621
|
callback: y,
|
|
6622
6622
|
disabled: x || !a
|
|
6623
6623
|
}), k = ge((E, I) => {
|
|
@@ -6690,8 +6690,8 @@ function sp(e) {
|
|
|
6690
6690
|
let {
|
|
6691
6691
|
children: t
|
|
6692
6692
|
} = e;
|
|
6693
|
-
return pe.createElement(
|
|
6694
|
-
value:
|
|
6693
|
+
return pe.createElement(Fr.Provider, {
|
|
6694
|
+
value: js
|
|
6695
6695
|
}, pe.createElement(Wn.Provider, {
|
|
6696
6696
|
value: ap
|
|
6697
6697
|
}, t));
|
|
@@ -6793,16 +6793,16 @@ function hp(e) {
|
|
|
6793
6793
|
const c = s.node.current;
|
|
6794
6794
|
if (!c)
|
|
6795
6795
|
return;
|
|
6796
|
-
const d =
|
|
6796
|
+
const d = Es(a);
|
|
6797
6797
|
if (!d)
|
|
6798
6798
|
return;
|
|
6799
6799
|
const {
|
|
6800
6800
|
transform: u
|
|
6801
|
-
} = Ke(a).getComputedStyle(a), f =
|
|
6801
|
+
} = Ke(a).getComputedStyle(a), f = hs(u);
|
|
6802
6802
|
if (!f)
|
|
6803
6803
|
return;
|
|
6804
6804
|
const h = typeof t == "function" ? t : mp(t);
|
|
6805
|
-
return
|
|
6805
|
+
return ys(c, o.draggable.measure), h({
|
|
6806
6806
|
active: {
|
|
6807
6807
|
id: i,
|
|
6808
6808
|
data: s.data,
|
|
@@ -6908,7 +6908,7 @@ const bp = /* @__PURE__ */ pe.memo((e) => {
|
|
|
6908
6908
|
scrollableAncestors: v,
|
|
6909
6909
|
scrollableAncestorRects: k,
|
|
6910
6910
|
windowRect: C
|
|
6911
|
-
} =
|
|
6911
|
+
} = As(), S = pt(Wn), j = gp(f == null ? void 0 : f.id), E = Rs(a, {
|
|
6912
6912
|
activatorEvent: u,
|
|
6913
6913
|
active: f,
|
|
6914
6914
|
activeNodeRect: h,
|
|
@@ -6953,7 +6953,7 @@ const bp = /* @__PURE__ */ pe.memo((e) => {
|
|
|
6953
6953
|
x: 0
|
|
6954
6954
|
};
|
|
6955
6955
|
};
|
|
6956
|
-
function
|
|
6956
|
+
function Ts(e, t, r) {
|
|
6957
6957
|
const n = e.slice();
|
|
6958
6958
|
return n.splice(r < 0 ? n.length + r : r, 0, n.splice(t, 1)[0]), n;
|
|
6959
6959
|
}
|
|
@@ -6982,14 +6982,14 @@ function yp(e) {
|
|
|
6982
6982
|
droppable: e
|
|
6983
6983
|
} : e;
|
|
6984
6984
|
}
|
|
6985
|
-
const
|
|
6985
|
+
const zs = (e) => {
|
|
6986
6986
|
let {
|
|
6987
6987
|
rects: t,
|
|
6988
6988
|
activeIndex: r,
|
|
6989
6989
|
overIndex: n,
|
|
6990
6990
|
index: o
|
|
6991
6991
|
} = e;
|
|
6992
|
-
const i =
|
|
6992
|
+
const i = Ts(t, n, r), a = t[o], s = i[o];
|
|
6993
6993
|
return !s || !a ? null : {
|
|
6994
6994
|
x: s.left - a.left,
|
|
6995
6995
|
y: s.top - a.top,
|
|
@@ -7038,15 +7038,15 @@ function Cp(e, t, r) {
|
|
|
7038
7038
|
const n = e[t], o = e[t - 1], i = e[t + 1];
|
|
7039
7039
|
return n ? r < t ? o ? n.top - (o.top + o.height) : i ? i.top - (n.top + n.height) : 0 : i ? i.top - (n.top + n.height) : o ? n.top - (o.top + o.height) : 0 : 0;
|
|
7040
7040
|
}
|
|
7041
|
-
const
|
|
7041
|
+
const Ps = "Sortable", Os = /* @__PURE__ */ pe.createContext({
|
|
7042
7042
|
activeIndex: -1,
|
|
7043
|
-
containerId:
|
|
7043
|
+
containerId: Ps,
|
|
7044
7044
|
disableTransforms: !1,
|
|
7045
7045
|
items: [],
|
|
7046
7046
|
overIndex: -1,
|
|
7047
7047
|
useDragOverlay: !1,
|
|
7048
7048
|
sortedRects: [],
|
|
7049
|
-
strategy:
|
|
7049
|
+
strategy: zs,
|
|
7050
7050
|
disabled: {
|
|
7051
7051
|
draggable: !1,
|
|
7052
7052
|
droppable: !1
|
|
@@ -7057,7 +7057,7 @@ function Sp(e) {
|
|
|
7057
7057
|
children: t,
|
|
7058
7058
|
id: r,
|
|
7059
7059
|
items: n,
|
|
7060
|
-
strategy: o =
|
|
7060
|
+
strategy: o = zs,
|
|
7061
7061
|
disabled: i = !1
|
|
7062
7062
|
} = e;
|
|
7063
7063
|
const {
|
|
@@ -7066,7 +7066,7 @@ function Sp(e) {
|
|
|
7066
7066
|
droppableRects: c,
|
|
7067
7067
|
over: d,
|
|
7068
7068
|
measureDroppableContainers: u
|
|
7069
|
-
} =
|
|
7069
|
+
} = As(), f = $r(Ps, r), h = s.rect !== null, p = he(() => n.map((S) => typeof S == "object" && "id" in S ? S.id : S), [n]), x = a != null, m = a ? p.indexOf(a.id) : -1, b = d ? p.indexOf(d.id) : -1, w = ue(p), y = !wp(p, w.current), v = b !== -1 && m === -1 || y, k = yp(i);
|
|
7070
7070
|
it(() => {
|
|
7071
7071
|
y && x && u(p);
|
|
7072
7072
|
}, [y, p, x, u]), X(() => {
|
|
@@ -7087,7 +7087,7 @@ function Sp(e) {
|
|
|
7087
7087
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
7088
7088
|
[m, f, k.draggable, k.droppable, v, p, b, c, h, o]
|
|
7089
7089
|
);
|
|
7090
|
-
return pe.createElement(
|
|
7090
|
+
return pe.createElement(Os.Provider, {
|
|
7091
7091
|
value: C
|
|
7092
7092
|
}, t);
|
|
7093
7093
|
}
|
|
@@ -7098,7 +7098,7 @@ const Ep = (e) => {
|
|
|
7098
7098
|
activeIndex: n,
|
|
7099
7099
|
overIndex: o
|
|
7100
7100
|
} = e;
|
|
7101
|
-
return
|
|
7101
|
+
return Ts(r, n, o).indexOf(t);
|
|
7102
7102
|
}, jp = (e) => {
|
|
7103
7103
|
let {
|
|
7104
7104
|
containerId: t,
|
|
@@ -7115,8 +7115,8 @@ const Ep = (e) => {
|
|
|
7115
7115
|
}, Np = {
|
|
7116
7116
|
duration: 200,
|
|
7117
7117
|
easing: "ease"
|
|
7118
|
-
},
|
|
7119
|
-
property:
|
|
7118
|
+
}, Is = "transform", Rp = /* @__PURE__ */ Rt.Transition.toString({
|
|
7119
|
+
property: Is,
|
|
7120
7120
|
duration: 0,
|
|
7121
7121
|
easing: "linear"
|
|
7122
7122
|
}), Ap = {
|
|
@@ -7172,7 +7172,7 @@ function zp(e) {
|
|
|
7172
7172
|
overIndex: b,
|
|
7173
7173
|
useDragOverlay: w,
|
|
7174
7174
|
strategy: y
|
|
7175
|
-
} = pt(
|
|
7175
|
+
} = pt(Os), v = Pp(n, p), k = u.indexOf(a), C = he(() => ({
|
|
7176
7176
|
sortable: {
|
|
7177
7177
|
containerId: f,
|
|
7178
7178
|
index: k,
|
|
@@ -7197,9 +7197,9 @@ function zp(e) {
|
|
|
7197
7197
|
activatorEvent: _,
|
|
7198
7198
|
activeNodeRect: D,
|
|
7199
7199
|
attributes: Y,
|
|
7200
|
-
setNodeRef:
|
|
7200
|
+
setNodeRef: B,
|
|
7201
7201
|
listeners: W,
|
|
7202
|
-
isDragging:
|
|
7202
|
+
isDragging: U,
|
|
7203
7203
|
over: R,
|
|
7204
7204
|
setActivatorNodeRef: q,
|
|
7205
7205
|
transform: ne
|
|
@@ -7211,7 +7211,7 @@ function zp(e) {
|
|
|
7211
7211
|
...r
|
|
7212
7212
|
},
|
|
7213
7213
|
disabled: v.draggable
|
|
7214
|
-
}), N =
|
|
7214
|
+
}), N = Fu(M, B), F = !!P, G = F && !x && Qr(h) && Qr(b), H = !w && U, ve = H && G ? ne : null, T = G ? ve ?? (s ?? y)({
|
|
7215
7215
|
rects: m,
|
|
7216
7216
|
activeNodeRect: D,
|
|
7217
7217
|
activeIndex: h,
|
|
@@ -7222,24 +7222,24 @@ function zp(e) {
|
|
|
7222
7222
|
items: u,
|
|
7223
7223
|
activeIndex: h,
|
|
7224
7224
|
overIndex: b
|
|
7225
|
-
}) : k, re = P == null ? void 0 : P.id,
|
|
7225
|
+
}) : k, re = P == null ? void 0 : P.id, $ = ue({
|
|
7226
7226
|
activeId: re,
|
|
7227
7227
|
items: u,
|
|
7228
7228
|
newIndex: J,
|
|
7229
7229
|
containerId: f
|
|
7230
|
-
}), oe = u !==
|
|
7230
|
+
}), oe = u !== $.current.items, ee = t({
|
|
7231
7231
|
active: P,
|
|
7232
7232
|
containerId: f,
|
|
7233
|
-
isDragging:
|
|
7234
|
-
isSorting:
|
|
7233
|
+
isDragging: U,
|
|
7234
|
+
isSorting: F,
|
|
7235
7235
|
id: a,
|
|
7236
7236
|
index: k,
|
|
7237
7237
|
items: u,
|
|
7238
|
-
newIndex:
|
|
7239
|
-
previousItems:
|
|
7240
|
-
previousContainerId:
|
|
7238
|
+
newIndex: $.current.newIndex,
|
|
7239
|
+
previousItems: $.current.items,
|
|
7240
|
+
previousContainerId: $.current.containerId,
|
|
7241
7241
|
transition: d,
|
|
7242
|
-
wasDragging:
|
|
7242
|
+
wasDragging: $.current.activeId != null
|
|
7243
7243
|
}), ke = Tp({
|
|
7244
7244
|
disabled: !ee,
|
|
7245
7245
|
index: k,
|
|
@@ -7247,16 +7247,16 @@ function zp(e) {
|
|
|
7247
7247
|
rect: j
|
|
7248
7248
|
});
|
|
7249
7249
|
return X(() => {
|
|
7250
|
-
|
|
7251
|
-
}, [
|
|
7252
|
-
if (re ===
|
|
7250
|
+
F && $.current.newIndex !== J && ($.current.newIndex = J), f !== $.current.containerId && ($.current.containerId = f), u !== $.current.items && ($.current.items = u);
|
|
7251
|
+
}, [F, J, f, u]), X(() => {
|
|
7252
|
+
if (re === $.current.activeId)
|
|
7253
7253
|
return;
|
|
7254
|
-
if (re != null &&
|
|
7255
|
-
|
|
7254
|
+
if (re != null && $.current.activeId == null) {
|
|
7255
|
+
$.current.activeId = re;
|
|
7256
7256
|
return;
|
|
7257
7257
|
}
|
|
7258
7258
|
const ze = setTimeout(() => {
|
|
7259
|
-
|
|
7259
|
+
$.current.activeId = re;
|
|
7260
7260
|
}, 50);
|
|
7261
7261
|
return () => clearTimeout(ze);
|
|
7262
7262
|
}, [re]), {
|
|
@@ -7269,8 +7269,8 @@ function zp(e) {
|
|
|
7269
7269
|
newIndex: J,
|
|
7270
7270
|
items: u,
|
|
7271
7271
|
isOver: I,
|
|
7272
|
-
isSorting:
|
|
7273
|
-
isDragging:
|
|
7272
|
+
isSorting: F,
|
|
7273
|
+
isDragging: U,
|
|
7274
7274
|
listeners: W,
|
|
7275
7275
|
node: E,
|
|
7276
7276
|
overIndex: b,
|
|
@@ -7278,7 +7278,7 @@ function zp(e) {
|
|
|
7278
7278
|
setNodeRef: N,
|
|
7279
7279
|
setActivatorNodeRef: q,
|
|
7280
7280
|
setDroppableNodeRef: M,
|
|
7281
|
-
setDraggableNodeRef:
|
|
7281
|
+
setDraggableNodeRef: B,
|
|
7282
7282
|
transform: ke ?? T,
|
|
7283
7283
|
transition: we()
|
|
7284
7284
|
};
|
|
@@ -7286,13 +7286,13 @@ function zp(e) {
|
|
|
7286
7286
|
if (
|
|
7287
7287
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
7288
7288
|
ke || // Or to prevent items jumping to back to their "new" position when items change
|
|
7289
|
-
oe &&
|
|
7289
|
+
oe && $.current.newIndex === k
|
|
7290
7290
|
)
|
|
7291
7291
|
return Rp;
|
|
7292
|
-
if (!(H && !Ln(_) || !d) && (
|
|
7292
|
+
if (!(H && !Ln(_) || !d) && (F || ee))
|
|
7293
7293
|
return Rt.Transition.toString({
|
|
7294
7294
|
...d,
|
|
7295
|
-
property:
|
|
7295
|
+
property: Is
|
|
7296
7296
|
});
|
|
7297
7297
|
}
|
|
7298
7298
|
}
|
|
@@ -7353,11 +7353,11 @@ const Op = [fe.Down, fe.Right, fe.Up, fe.Left], Ip = (e, t) => {
|
|
|
7353
7353
|
droppableRects: o,
|
|
7354
7354
|
droppableContainers: c
|
|
7355
7355
|
});
|
|
7356
|
-
let u =
|
|
7356
|
+
let u = fs(d, "id");
|
|
7357
7357
|
if (u === (a == null ? void 0 : a.id) && d.length > 1 && (u = d[1].id), u != null) {
|
|
7358
7358
|
const f = i.get(r.id), h = i.get(u), p = h ? o.get(h.id) : null, x = h == null ? void 0 : h.node.current;
|
|
7359
7359
|
if (x && p && f && h) {
|
|
7360
|
-
const b =
|
|
7360
|
+
const b = $n(x).some((S, j) => s[j] !== S), w = Ds(f, h), y = Dp(f, h), v = b || !w ? {
|
|
7361
7361
|
x: 0,
|
|
7362
7362
|
y: 0
|
|
7363
7363
|
} : {
|
|
@@ -7372,11 +7372,11 @@ const Op = [fe.Down, fe.Right, fe.Up, fe.Left], Ip = (e, t) => {
|
|
|
7372
7372
|
}
|
|
7373
7373
|
}
|
|
7374
7374
|
};
|
|
7375
|
-
function
|
|
7375
|
+
function Ds(e, t) {
|
|
7376
7376
|
return !kn(e) || !kn(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
|
|
7377
7377
|
}
|
|
7378
7378
|
function Dp(e, t) {
|
|
7379
|
-
return !kn(e) || !kn(t) || !
|
|
7379
|
+
return !kn(e) || !kn(t) || !Ds(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
|
|
7380
7380
|
}
|
|
7381
7381
|
function pi({ className: e, type: t, ...r }) {
|
|
7382
7382
|
return /* @__PURE__ */ l.jsx(
|
|
@@ -7491,7 +7491,7 @@ function oa(e, t) {
|
|
|
7491
7491
|
return e(t);
|
|
7492
7492
|
e != null && (e.current = t);
|
|
7493
7493
|
}
|
|
7494
|
-
function
|
|
7494
|
+
function Ms(...e) {
|
|
7495
7495
|
return (t) => {
|
|
7496
7496
|
let r = !1;
|
|
7497
7497
|
const n = e.map((o) => {
|
|
@@ -7508,12 +7508,12 @@ function Ds(...e) {
|
|
|
7508
7508
|
};
|
|
7509
7509
|
}
|
|
7510
7510
|
function Ne(...e) {
|
|
7511
|
-
return g.useCallback(
|
|
7511
|
+
return g.useCallback(Ms(...e), e);
|
|
7512
7512
|
}
|
|
7513
7513
|
// @__NO_SIDE_EFFECTS__
|
|
7514
7514
|
function tr(e) {
|
|
7515
|
-
const t = /* @__PURE__ */
|
|
7516
|
-
const { children: i, ...a } = n, s = g.Children.toArray(i), c = s.find(
|
|
7515
|
+
const t = /* @__PURE__ */ Fp(e), r = g.forwardRef((n, o) => {
|
|
7516
|
+
const { children: i, ...a } = n, s = g.Children.toArray(i), c = s.find(Up);
|
|
7517
7517
|
if (c) {
|
|
7518
7518
|
const d = c.props.children, u = s.map((f) => f === c ? g.Children.count(d) > 1 ? g.Children.only(null) : g.isValidElement(d) ? d.props.children : null : f);
|
|
7519
7519
|
return /* @__PURE__ */ l.jsx(t, { ...a, ref: o, children: g.isValidElement(d) ? g.cloneElement(d, void 0, u) : null });
|
|
@@ -7522,29 +7522,29 @@ function tr(e) {
|
|
|
7522
7522
|
});
|
|
7523
7523
|
return r.displayName = `${e}.Slot`, r;
|
|
7524
7524
|
}
|
|
7525
|
-
var
|
|
7525
|
+
var $p = /* @__PURE__ */ tr("Slot");
|
|
7526
7526
|
// @__NO_SIDE_EFFECTS__
|
|
7527
|
-
function
|
|
7527
|
+
function Fp(e) {
|
|
7528
7528
|
const t = g.forwardRef((r, n) => {
|
|
7529
7529
|
const { children: o, ...i } = r;
|
|
7530
7530
|
if (g.isValidElement(o)) {
|
|
7531
|
-
const a = Hp(o), s =
|
|
7532
|
-
return o.type !== g.Fragment && (s.ref = n ?
|
|
7531
|
+
const a = Hp(o), s = Bp(i, o.props);
|
|
7532
|
+
return o.type !== g.Fragment && (s.ref = n ? Ms(n, a) : a), g.cloneElement(o, s);
|
|
7533
7533
|
}
|
|
7534
7534
|
return g.Children.count(o) > 1 ? g.Children.only(null) : null;
|
|
7535
7535
|
});
|
|
7536
7536
|
return t.displayName = `${e}.SlotClone`, t;
|
|
7537
7537
|
}
|
|
7538
|
-
var
|
|
7538
|
+
var _s = Symbol("radix.slottable");
|
|
7539
7539
|
// @__NO_SIDE_EFFECTS__
|
|
7540
7540
|
function Wp(e) {
|
|
7541
7541
|
const t = ({ children: r }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: r });
|
|
7542
|
-
return t.displayName = `${e}.Slottable`, t.__radixId =
|
|
7542
|
+
return t.displayName = `${e}.Slottable`, t.__radixId = _s, t;
|
|
7543
7543
|
}
|
|
7544
|
-
function
|
|
7545
|
-
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
7544
|
+
function Up(e) {
|
|
7545
|
+
return g.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _s;
|
|
7546
7546
|
}
|
|
7547
|
-
function
|
|
7547
|
+
function Bp(e, t) {
|
|
7548
7548
|
const r = { ...t };
|
|
7549
7549
|
for (const n in t) {
|
|
7550
7550
|
const o = e[n], i = t[n];
|
|
@@ -7651,11 +7651,11 @@ function Xp(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
7651
7651
|
return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
|
|
7652
7652
|
}, [r, t]);
|
|
7653
7653
|
}
|
|
7654
|
-
var Jp = "DismissableLayer", Oo = "dismissableLayer.update", Zp = "dismissableLayer.pointerDownOutside", Qp = "dismissableLayer.focusOutside", ia,
|
|
7654
|
+
var Jp = "DismissableLayer", Oo = "dismissableLayer.update", Zp = "dismissableLayer.pointerDownOutside", Qp = "dismissableLayer.focusOutside", ia, Ls = g.createContext({
|
|
7655
7655
|
layers: /* @__PURE__ */ new Set(),
|
|
7656
7656
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
7657
7657
|
branches: /* @__PURE__ */ new Set()
|
|
7658
|
-
}),
|
|
7658
|
+
}), Un = g.forwardRef(
|
|
7659
7659
|
(e, t) => {
|
|
7660
7660
|
const {
|
|
7661
7661
|
disableOutsidePointerEvents: r = !1,
|
|
@@ -7665,7 +7665,7 @@ var Jp = "DismissableLayer", Oo = "dismissableLayer.update", Zp = "dismissableLa
|
|
|
7665
7665
|
onInteractOutside: a,
|
|
7666
7666
|
onDismiss: s,
|
|
7667
7667
|
...c
|
|
7668
|
-
} = e, d = g.useContext(
|
|
7668
|
+
} = e, d = g.useContext(Ls), [u, f] = g.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = g.useState({}), x = Ne(t, (j) => f(j)), m = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), w = m.indexOf(b), y = u ? m.indexOf(u) : -1, v = d.layersWithOutsidePointerEventsDisabled.size > 0, k = y >= w, C = rh((j) => {
|
|
7669
7669
|
const E = j.target, I = [...d.branches].some((M) => M.contains(E));
|
|
7670
7670
|
!k || I || (o == null || o(j), a == null || a(j), j.defaultPrevented || s == null || s());
|
|
7671
7671
|
}, h), S = nh((j) => {
|
|
@@ -7703,9 +7703,9 @@ var Jp = "DismissableLayer", Oo = "dismissableLayer.update", Zp = "dismissableLa
|
|
|
7703
7703
|
);
|
|
7704
7704
|
}
|
|
7705
7705
|
);
|
|
7706
|
-
|
|
7706
|
+
Un.displayName = Jp;
|
|
7707
7707
|
var eh = "DismissableLayerBranch", th = g.forwardRef((e, t) => {
|
|
7708
|
-
const r = g.useContext(
|
|
7708
|
+
const r = g.useContext(Ls), n = g.useRef(null), o = Ne(t, n);
|
|
7709
7709
|
return g.useEffect(() => {
|
|
7710
7710
|
const i = n.current;
|
|
7711
7711
|
if (i)
|
|
@@ -7722,7 +7722,7 @@ function rh(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
7722
7722
|
const i = (s) => {
|
|
7723
7723
|
if (s.target && !n.current) {
|
|
7724
7724
|
let c = function() {
|
|
7725
|
-
|
|
7725
|
+
$s(
|
|
7726
7726
|
Zp,
|
|
7727
7727
|
r,
|
|
7728
7728
|
d,
|
|
@@ -7749,7 +7749,7 @@ function nh(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
7749
7749
|
const r = Lt(e), n = g.useRef(!1);
|
|
7750
7750
|
return g.useEffect(() => {
|
|
7751
7751
|
const o = (i) => {
|
|
7752
|
-
i.target && !n.current &&
|
|
7752
|
+
i.target && !n.current && $s(Qp, r, { originalEvent: i }, {
|
|
7753
7753
|
discrete: !1
|
|
7754
7754
|
});
|
|
7755
7755
|
};
|
|
@@ -7763,7 +7763,7 @@ function aa() {
|
|
|
7763
7763
|
const e = new CustomEvent(Oo);
|
|
7764
7764
|
document.dispatchEvent(e);
|
|
7765
7765
|
}
|
|
7766
|
-
function
|
|
7766
|
+
function $s(e, t, r, { discrete: n }) {
|
|
7767
7767
|
const o = r.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
|
|
7768
7768
|
t && o.addEventListener(e, t, { once: !0 }), n ? qp(o, i) : o.dispatchEvent(i);
|
|
7769
7769
|
}
|
|
@@ -7823,7 +7823,7 @@ var ho = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", ca
|
|
|
7823
7823
|
const m = document.activeElement;
|
|
7824
7824
|
if (!s.contains(m)) {
|
|
7825
7825
|
const w = new CustomEvent(ho, ca);
|
|
7826
|
-
s.addEventListener(ho, d), s.dispatchEvent(w), w.defaultPrevented || (ih(dh(
|
|
7826
|
+
s.addEventListener(ho, d), s.dispatchEvent(w), w.defaultPrevented || (ih(dh(Ws(s)), { select: !0 }), document.activeElement === m && jt(s));
|
|
7827
7827
|
}
|
|
7828
7828
|
return () => {
|
|
7829
7829
|
s.removeEventListener(ho, d), setTimeout(() => {
|
|
@@ -7853,10 +7853,10 @@ function ih(e, { select: t = !1 } = {}) {
|
|
|
7853
7853
|
if (jt(n, { select: t }), document.activeElement !== r) return;
|
|
7854
7854
|
}
|
|
7855
7855
|
function ah(e) {
|
|
7856
|
-
const t =
|
|
7856
|
+
const t = Ws(e), r = la(t, e), n = la(t.reverse(), e);
|
|
7857
7857
|
return [r, n];
|
|
7858
7858
|
}
|
|
7859
|
-
function
|
|
7859
|
+
function Ws(e) {
|
|
7860
7860
|
const t = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
7861
7861
|
acceptNode: (n) => {
|
|
7862
7862
|
const o = n.tagName === "INPUT" && n.type === "hidden";
|
|
@@ -7909,12 +7909,12 @@ function ua(e, t) {
|
|
|
7909
7909
|
function dh(e) {
|
|
7910
7910
|
return e.filter((t) => t.tagName !== "A");
|
|
7911
7911
|
}
|
|
7912
|
-
var
|
|
7912
|
+
var Be = globalThis != null && globalThis.document ? g.useLayoutEffect : () => {
|
|
7913
7913
|
}, uh = g[" useId ".trim().toString()] || (() => {
|
|
7914
7914
|
}), fh = 0;
|
|
7915
|
-
function
|
|
7915
|
+
function Ur(e) {
|
|
7916
7916
|
const [t, r] = g.useState(uh());
|
|
7917
|
-
return
|
|
7917
|
+
return Be(() => {
|
|
7918
7918
|
r((n) => n ?? String(fh++));
|
|
7919
7919
|
}, [e]), t ? `radix-${t}` : "";
|
|
7920
7920
|
}
|
|
@@ -7998,7 +7998,7 @@ function Ch(e) {
|
|
|
7998
7998
|
...e
|
|
7999
7999
|
};
|
|
8000
8000
|
}
|
|
8001
|
-
function
|
|
8001
|
+
function Us(e) {
|
|
8002
8002
|
return typeof e != "number" ? Ch(e) : {
|
|
8003
8003
|
top: e,
|
|
8004
8004
|
right: e,
|
|
@@ -8088,7 +8088,7 @@ async function Sh(e, t) {
|
|
|
8088
8088
|
elementContext: f = "floating",
|
|
8089
8089
|
altBoundary: h = !1,
|
|
8090
8090
|
padding: p = 0
|
|
8091
|
-
} = xt(t, e), x =
|
|
8091
|
+
} = xt(t, e), x = Us(p), b = s[h ? f === "floating" ? "reference" : "floating" : f], w = En(await i.getClippingRect({
|
|
8092
8092
|
element: (r = await (i.isElement == null ? void 0 : i.isElement(b))) == null || r ? b : b.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
|
|
8093
8093
|
boundary: d,
|
|
8094
8094
|
rootBoundary: u,
|
|
@@ -8199,20 +8199,20 @@ const Eh = async (e, t, r) => {
|
|
|
8199
8199
|
} = xt(e, t) || {};
|
|
8200
8200
|
if (d == null)
|
|
8201
8201
|
return {};
|
|
8202
|
-
const f =
|
|
8202
|
+
const f = Us(u), h = {
|
|
8203
8203
|
x: r,
|
|
8204
8204
|
y: n
|
|
8205
8205
|
}, p = bi(o), x = gi(p), m = await a.getDimensions(d), b = p === "y", w = b ? "top" : "left", y = b ? "bottom" : "right", v = b ? "clientHeight" : "clientWidth", k = i.reference[x] + i.reference[p] - h[p] - i.floating[x], C = h[p] - i.reference[p], S = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
|
|
8206
8206
|
let j = S ? S[v] : 0;
|
|
8207
8207
|
(!j || !await (a.isElement == null ? void 0 : a.isElement(S))) && (j = s.floating[v] || i.floating[x]);
|
|
8208
|
-
const E = k / 2 - C / 2, I = j / 2 - m[x] / 2 - 1, M = At(f[w], I), P = At(f[y], I), _ = M, D = j - m[x] - P, Y = j / 2 - m[x] / 2 + E,
|
|
8208
|
+
const E = k / 2 - C / 2, I = j / 2 - m[x] / 2 - 1, M = At(f[w], I), P = At(f[y], I), _ = M, D = j - m[x] - P, Y = j / 2 - m[x] / 2 + E, B = Io(_, Y, D), W = !c.arrow && dr(o) != null && Y !== B && i.reference[x] / 2 - (Y < _ ? M : P) - m[x] / 2 < 0, U = W ? Y < _ ? Y - _ : Y - D : 0;
|
|
8209
8209
|
return {
|
|
8210
|
-
[p]: h[p] +
|
|
8210
|
+
[p]: h[p] + U,
|
|
8211
8211
|
data: {
|
|
8212
|
-
[p]:
|
|
8213
|
-
centerOffset: Y -
|
|
8212
|
+
[p]: B,
|
|
8213
|
+
centerOffset: Y - B - U,
|
|
8214
8214
|
...W && {
|
|
8215
|
-
alignmentOffset:
|
|
8215
|
+
alignmentOffset: U
|
|
8216
8216
|
}
|
|
8217
8217
|
},
|
|
8218
8218
|
reset: W
|
|
@@ -8255,8 +8255,8 @@ const Eh = async (e, t, r) => {
|
|
|
8255
8255
|
overflows: I
|
|
8256
8256
|
}], !I.every((Y) => Y <= 0)) {
|
|
8257
8257
|
var P, _;
|
|
8258
|
-
const Y = (((P = i.flip) == null ? void 0 : P.index) || 0) + 1,
|
|
8259
|
-
if (
|
|
8258
|
+
const Y = (((P = i.flip) == null ? void 0 : P.index) || 0) + 1, B = j[Y];
|
|
8259
|
+
if (B && (!(f === "alignment" ? y !== ut(B) : !1) || // We leave the current main axis only if every placement on that axis
|
|
8260
8260
|
// overflows the main axis.
|
|
8261
8261
|
M.every((R) => ut(R.placement) === y ? R.overflows[0] > 0 : !0)))
|
|
8262
8262
|
return {
|
|
@@ -8265,15 +8265,15 @@ const Eh = async (e, t, r) => {
|
|
|
8265
8265
|
overflows: M
|
|
8266
8266
|
},
|
|
8267
8267
|
reset: {
|
|
8268
|
-
placement:
|
|
8268
|
+
placement: B
|
|
8269
8269
|
}
|
|
8270
8270
|
};
|
|
8271
|
-
let W = (_ = M.filter((
|
|
8271
|
+
let W = (_ = M.filter((U) => U.overflows[0] <= 0).sort((U, R) => U.overflows[1] - R.overflows[1])[0]) == null ? void 0 : _.placement;
|
|
8272
8272
|
if (!W)
|
|
8273
8273
|
switch (p) {
|
|
8274
8274
|
case "bestFit": {
|
|
8275
8275
|
var D;
|
|
8276
|
-
const
|
|
8276
|
+
const U = (D = M.filter((R) => {
|
|
8277
8277
|
if (S) {
|
|
8278
8278
|
const q = ut(R.placement);
|
|
8279
8279
|
return q === y || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -8282,7 +8282,7 @@ const Eh = async (e, t, r) => {
|
|
|
8282
8282
|
}
|
|
8283
8283
|
return !0;
|
|
8284
8284
|
}).map((R) => [R.placement, R.overflows.filter((q) => q > 0).reduce((q, ne) => q + ne, 0)]).sort((R, q) => R[1] - q[1])[0]) == null ? void 0 : D[0];
|
|
8285
|
-
|
|
8285
|
+
U && (W = U);
|
|
8286
8286
|
break;
|
|
8287
8287
|
}
|
|
8288
8288
|
case "initialPlacement":
|
|
@@ -8543,11 +8543,11 @@ const Th = function(e) {
|
|
|
8543
8543
|
}
|
|
8544
8544
|
};
|
|
8545
8545
|
};
|
|
8546
|
-
function
|
|
8546
|
+
function Bn() {
|
|
8547
8547
|
return typeof window < "u";
|
|
8548
8548
|
}
|
|
8549
8549
|
function ur(e) {
|
|
8550
|
-
return
|
|
8550
|
+
return Hs(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
8551
8551
|
}
|
|
8552
8552
|
function et(e) {
|
|
8553
8553
|
var t;
|
|
@@ -8555,22 +8555,22 @@ function et(e) {
|
|
|
8555
8555
|
}
|
|
8556
8556
|
function mt(e) {
|
|
8557
8557
|
var t;
|
|
8558
|
-
return (t = (
|
|
8558
|
+
return (t = (Hs(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
8559
8559
|
}
|
|
8560
|
-
function
|
|
8561
|
-
return
|
|
8560
|
+
function Hs(e) {
|
|
8561
|
+
return Bn() ? e instanceof Node || e instanceof et(e).Node : !1;
|
|
8562
8562
|
}
|
|
8563
8563
|
function st(e) {
|
|
8564
|
-
return
|
|
8564
|
+
return Bn() ? e instanceof Element || e instanceof et(e).Element : !1;
|
|
8565
8565
|
}
|
|
8566
8566
|
function ht(e) {
|
|
8567
|
-
return
|
|
8567
|
+
return Bn() ? e instanceof HTMLElement || e instanceof et(e).HTMLElement : !1;
|
|
8568
8568
|
}
|
|
8569
8569
|
function ba(e) {
|
|
8570
|
-
return !
|
|
8570
|
+
return !Bn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof et(e).ShadowRoot;
|
|
8571
8571
|
}
|
|
8572
8572
|
const Ih = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
8573
|
-
function
|
|
8573
|
+
function Br(e) {
|
|
8574
8574
|
const {
|
|
8575
8575
|
overflow: t,
|
|
8576
8576
|
overflowX: r,
|
|
@@ -8593,10 +8593,10 @@ function Hn(e) {
|
|
|
8593
8593
|
}
|
|
8594
8594
|
});
|
|
8595
8595
|
}
|
|
8596
|
-
const Lh = ["transform", "translate", "scale", "rotate", "perspective"],
|
|
8596
|
+
const Lh = ["transform", "translate", "scale", "rotate", "perspective"], $h = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Fh = ["paint", "layout", "strict", "content"];
|
|
8597
8597
|
function vi(e) {
|
|
8598
8598
|
const t = xi(), r = st(e) ? ct(e) : e;
|
|
8599
|
-
return Lh.some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) ||
|
|
8599
|
+
return Lh.some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || $h.some((n) => (r.willChange || "").includes(n)) || Fh.some((n) => (r.contain || "").includes(n));
|
|
8600
8600
|
}
|
|
8601
8601
|
function Wh(e) {
|
|
8602
8602
|
let t = Tt(e);
|
|
@@ -8612,9 +8612,9 @@ function Wh(e) {
|
|
|
8612
8612
|
function xi() {
|
|
8613
8613
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
8614
8614
|
}
|
|
8615
|
-
const
|
|
8615
|
+
const Uh = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
8616
8616
|
function rr(e) {
|
|
8617
|
-
return
|
|
8617
|
+
return Uh.has(ur(e));
|
|
8618
8618
|
}
|
|
8619
8619
|
function ct(e) {
|
|
8620
8620
|
return et(e).getComputedStyle(e);
|
|
@@ -8640,24 +8640,24 @@ function Tt(e) {
|
|
|
8640
8640
|
);
|
|
8641
8641
|
return ba(t) ? t.host : t;
|
|
8642
8642
|
}
|
|
8643
|
-
function
|
|
8643
|
+
function Vs(e) {
|
|
8644
8644
|
const t = Tt(e);
|
|
8645
|
-
return rr(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ht(t) &&
|
|
8645
|
+
return rr(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ht(t) && Br(t) ? t : Vs(t);
|
|
8646
8646
|
}
|
|
8647
8647
|
function Or(e, t, r) {
|
|
8648
8648
|
var n;
|
|
8649
8649
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
8650
|
-
const o =
|
|
8650
|
+
const o = Vs(e), i = o === ((n = e.ownerDocument) == null ? void 0 : n.body), a = et(o);
|
|
8651
8651
|
if (i) {
|
|
8652
8652
|
const s = Mo(a);
|
|
8653
|
-
return t.concat(a, a.visualViewport || [],
|
|
8653
|
+
return t.concat(a, a.visualViewport || [], Br(o) ? o : [], s && r ? Or(s) : []);
|
|
8654
8654
|
}
|
|
8655
8655
|
return t.concat(o, Or(o, [], r));
|
|
8656
8656
|
}
|
|
8657
8657
|
function Mo(e) {
|
|
8658
8658
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
8659
8659
|
}
|
|
8660
|
-
function
|
|
8660
|
+
function Ks(e) {
|
|
8661
8661
|
const t = ct(e);
|
|
8662
8662
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
8663
8663
|
const o = ht(e), i = o ? e.offsetWidth : r, a = o ? e.offsetHeight : n, s = Cn(r) !== i || Cn(n) !== a;
|
|
@@ -8678,17 +8678,17 @@ function Jt(e) {
|
|
|
8678
8678
|
width: n,
|
|
8679
8679
|
height: o,
|
|
8680
8680
|
$: i
|
|
8681
|
-
} =
|
|
8681
|
+
} = Ks(t);
|
|
8682
8682
|
let a = (i ? Cn(r.width) : r.width) / n, s = (i ? Cn(r.height) : r.height) / o;
|
|
8683
8683
|
return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
8684
8684
|
x: a,
|
|
8685
8685
|
y: s
|
|
8686
8686
|
};
|
|
8687
8687
|
}
|
|
8688
|
-
const
|
|
8689
|
-
function
|
|
8688
|
+
const Bh = /* @__PURE__ */ ft(0);
|
|
8689
|
+
function Ys(e) {
|
|
8690
8690
|
const t = et(e);
|
|
8691
|
-
return !xi() || !t.visualViewport ?
|
|
8691
|
+
return !xi() || !t.visualViewport ? Bh : {
|
|
8692
8692
|
x: t.visualViewport.offsetLeft,
|
|
8693
8693
|
y: t.visualViewport.offsetTop
|
|
8694
8694
|
};
|
|
@@ -8696,12 +8696,12 @@ function Ks(e) {
|
|
|
8696
8696
|
function Hh(e, t, r) {
|
|
8697
8697
|
return t === void 0 && (t = !1), !r || t && r !== et(e) ? !1 : t;
|
|
8698
8698
|
}
|
|
8699
|
-
function
|
|
8699
|
+
function $t(e, t, r, n) {
|
|
8700
8700
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
8701
8701
|
const o = e.getBoundingClientRect(), i = wi(e);
|
|
8702
8702
|
let a = ft(1);
|
|
8703
8703
|
t && (n ? st(n) && (a = Jt(n)) : a = Jt(e));
|
|
8704
|
-
const s = Hh(i, r, n) ?
|
|
8704
|
+
const s = Hh(i, r, n) ? Ys(i) : ft(0);
|
|
8705
8705
|
let c = (o.left + s.x) / a.x, d = (o.top + s.y) / a.y, u = o.width / a.x, f = o.height / a.y;
|
|
8706
8706
|
if (i) {
|
|
8707
8707
|
const h = et(i), p = n && st(n) ? et(n) : n;
|
|
@@ -8720,9 +8720,9 @@ function Ft(e, t, r, n) {
|
|
|
8720
8720
|
}
|
|
8721
8721
|
function Kn(e, t) {
|
|
8722
8722
|
const r = Vn(e).scrollLeft;
|
|
8723
|
-
return t ? t.left + r :
|
|
8723
|
+
return t ? t.left + r : $t(mt(e)).left + r;
|
|
8724
8724
|
}
|
|
8725
|
-
function
|
|
8725
|
+
function Gs(e, t) {
|
|
8726
8726
|
const r = e.getBoundingClientRect(), n = r.left + t.scrollLeft - Kn(e, r), o = r.top + t.scrollTop;
|
|
8727
8727
|
return {
|
|
8728
8728
|
x: n,
|
|
@@ -8744,11 +8744,11 @@ function Vh(e) {
|
|
|
8744
8744
|
scrollTop: 0
|
|
8745
8745
|
}, d = ft(1);
|
|
8746
8746
|
const u = ft(0), f = ht(n);
|
|
8747
|
-
if ((f || !f && !i) && ((ur(n) !== "body" ||
|
|
8748
|
-
const p =
|
|
8747
|
+
if ((f || !f && !i) && ((ur(n) !== "body" || Br(a)) && (c = Vn(n)), ht(n))) {
|
|
8748
|
+
const p = $t(n);
|
|
8749
8749
|
d = Jt(n), u.x = p.x + n.clientLeft, u.y = p.y + n.clientTop;
|
|
8750
8750
|
}
|
|
8751
|
-
const h = a && !f && !i ?
|
|
8751
|
+
const h = a && !f && !i ? Gs(a, c) : ft(0);
|
|
8752
8752
|
return {
|
|
8753
8753
|
width: r.width * d.x,
|
|
8754
8754
|
height: r.height * d.y,
|
|
@@ -8793,7 +8793,7 @@ function Gh(e, t) {
|
|
|
8793
8793
|
}
|
|
8794
8794
|
const qh = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
8795
8795
|
function Xh(e, t) {
|
|
8796
|
-
const r =
|
|
8796
|
+
const r = $t(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = ht(e) ? Jt(e) : ft(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, c = o * i.x, d = n * i.y;
|
|
8797
8797
|
return {
|
|
8798
8798
|
width: a,
|
|
8799
8799
|
height: s,
|
|
@@ -8810,7 +8810,7 @@ function xa(e, t, r) {
|
|
|
8810
8810
|
else if (st(t))
|
|
8811
8811
|
n = Xh(t, r);
|
|
8812
8812
|
else {
|
|
8813
|
-
const o =
|
|
8813
|
+
const o = Ys(e);
|
|
8814
8814
|
n = {
|
|
8815
8815
|
x: t.x - o.x,
|
|
8816
8816
|
y: t.y - o.y,
|
|
@@ -8820,9 +8820,9 @@ function xa(e, t, r) {
|
|
|
8820
8820
|
}
|
|
8821
8821
|
return En(n);
|
|
8822
8822
|
}
|
|
8823
|
-
function
|
|
8823
|
+
function qs(e, t) {
|
|
8824
8824
|
const r = Tt(e);
|
|
8825
|
-
return r === t || !st(r) || rr(r) ? !1 : ct(r).position === "fixed" ||
|
|
8825
|
+
return r === t || !st(r) || rr(r) ? !1 : ct(r).position === "fixed" || qs(r, t);
|
|
8826
8826
|
}
|
|
8827
8827
|
function Jh(e, t) {
|
|
8828
8828
|
const r = t.get(e);
|
|
@@ -8833,7 +8833,7 @@ function Jh(e, t) {
|
|
|
8833
8833
|
let a = i ? Tt(e) : e;
|
|
8834
8834
|
for (; st(a) && !rr(a); ) {
|
|
8835
8835
|
const s = ct(a), c = vi(a);
|
|
8836
|
-
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && qh.has(o.position) ||
|
|
8836
|
+
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && qh.has(o.position) || Br(a) && !c && qs(e, a)) ? n = n.filter((u) => u !== a) : o = s, a = Tt(a);
|
|
8837
8837
|
}
|
|
8838
8838
|
return t.set(e, n), n;
|
|
8839
8839
|
}
|
|
@@ -8859,14 +8859,14 @@ function Qh(e) {
|
|
|
8859
8859
|
const {
|
|
8860
8860
|
width: t,
|
|
8861
8861
|
height: r
|
|
8862
|
-
} =
|
|
8862
|
+
} = Ks(e);
|
|
8863
8863
|
return {
|
|
8864
8864
|
width: t,
|
|
8865
8865
|
height: r
|
|
8866
8866
|
};
|
|
8867
8867
|
}
|
|
8868
8868
|
function em(e, t, r) {
|
|
8869
|
-
const n = ht(t), o = mt(t), i = r === "fixed", a =
|
|
8869
|
+
const n = ht(t), o = mt(t), i = r === "fixed", a = $t(e, !0, i, t);
|
|
8870
8870
|
let s = {
|
|
8871
8871
|
scrollLeft: 0,
|
|
8872
8872
|
scrollTop: 0
|
|
@@ -8876,12 +8876,12 @@ function em(e, t, r) {
|
|
|
8876
8876
|
c.x = Kn(o);
|
|
8877
8877
|
}
|
|
8878
8878
|
if (n || !n && !i)
|
|
8879
|
-
if ((ur(t) !== "body" ||
|
|
8880
|
-
const p =
|
|
8879
|
+
if ((ur(t) !== "body" || Br(o)) && (s = Vn(t)), n) {
|
|
8880
|
+
const p = $t(t, !0, i, t);
|
|
8881
8881
|
c.x = p.x + t.clientLeft, c.y = p.y + t.clientTop;
|
|
8882
8882
|
} else o && d();
|
|
8883
8883
|
i && !n && o && d();
|
|
8884
|
-
const u = o && !n && !i ?
|
|
8884
|
+
const u = o && !n && !i ? Gs(o, s) : ft(0), f = a.left + s.scrollLeft - c.x - u.x, h = a.top + s.scrollTop - c.y - u.y;
|
|
8885
8885
|
return {
|
|
8886
8886
|
x: f,
|
|
8887
8887
|
y: h,
|
|
@@ -8900,7 +8900,7 @@ function wa(e, t) {
|
|
|
8900
8900
|
let r = e.offsetParent;
|
|
8901
8901
|
return mt(e) === r && (r = r.ownerDocument.body), r;
|
|
8902
8902
|
}
|
|
8903
|
-
function
|
|
8903
|
+
function Xs(e, t) {
|
|
8904
8904
|
const r = et(e);
|
|
8905
8905
|
if (Hn(e))
|
|
8906
8906
|
return r;
|
|
@@ -8919,7 +8919,7 @@ function qs(e, t) {
|
|
|
8919
8919
|
return n && rr(n) && go(n) && !vi(n) ? r : n || Wh(e) || r;
|
|
8920
8920
|
}
|
|
8921
8921
|
const tm = async function(e) {
|
|
8922
|
-
const t = this.getOffsetParent ||
|
|
8922
|
+
const t = this.getOffsetParent || Xs, r = this.getDimensions, n = await r(e.floating);
|
|
8923
8923
|
return {
|
|
8924
8924
|
reference: em(e.reference, await t(e.floating), e.strategy),
|
|
8925
8925
|
floating: {
|
|
@@ -8937,7 +8937,7 @@ const nm = {
|
|
|
8937
8937
|
convertOffsetParentRelativeRectToViewportRelativeRect: Vh,
|
|
8938
8938
|
getDocumentElement: mt,
|
|
8939
8939
|
getClippingRect: Zh,
|
|
8940
|
-
getOffsetParent:
|
|
8940
|
+
getOffsetParent: Xs,
|
|
8941
8941
|
getElementRects: tm,
|
|
8942
8942
|
getClientRects: Kh,
|
|
8943
8943
|
getDimensions: Qh,
|
|
@@ -8945,7 +8945,7 @@ const nm = {
|
|
|
8945
8945
|
isElement: st,
|
|
8946
8946
|
isRTL: rm
|
|
8947
8947
|
};
|
|
8948
|
-
function
|
|
8948
|
+
function Js(e, t) {
|
|
8949
8949
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
8950
8950
|
}
|
|
8951
8951
|
function om(e, t) {
|
|
@@ -8979,7 +8979,7 @@ function om(e, t) {
|
|
|
8979
8979
|
a(!1, 1e-7);
|
|
8980
8980
|
}, 1e3);
|
|
8981
8981
|
}
|
|
8982
|
-
j === 1 && !
|
|
8982
|
+
j === 1 && !Js(d, e.getBoundingClientRect()) && a(), k = !1;
|
|
8983
8983
|
}
|
|
8984
8984
|
try {
|
|
8985
8985
|
r = new IntersectionObserver(C, {
|
|
@@ -9017,11 +9017,11 @@ function im(e, t, r, n) {
|
|
|
9017
9017
|
(v = p) == null || v.observe(t);
|
|
9018
9018
|
})), r();
|
|
9019
9019
|
}), d && !c && p.observe(d), p.observe(t));
|
|
9020
|
-
let x, m = c ?
|
|
9020
|
+
let x, m = c ? $t(e) : null;
|
|
9021
9021
|
c && b();
|
|
9022
9022
|
function b() {
|
|
9023
|
-
const w =
|
|
9024
|
-
m && !
|
|
9023
|
+
const w = $t(e);
|
|
9024
|
+
m && !Js(m, w) && r(), m = w, x = requestAnimationFrame(b);
|
|
9025
9025
|
}
|
|
9026
9026
|
return r(), () => {
|
|
9027
9027
|
var w;
|
|
@@ -9075,11 +9075,11 @@ function jn(e, t) {
|
|
|
9075
9075
|
}
|
|
9076
9076
|
return e !== e && t !== t;
|
|
9077
9077
|
}
|
|
9078
|
-
function
|
|
9078
|
+
function Zs(e) {
|
|
9079
9079
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
9080
9080
|
}
|
|
9081
9081
|
function ka(e, t) {
|
|
9082
|
-
const r =
|
|
9082
|
+
const r = Zs(e);
|
|
9083
9083
|
return Math.round(t * r) / r;
|
|
9084
9084
|
}
|
|
9085
9085
|
function bo(e) {
|
|
@@ -9153,7 +9153,7 @@ function mm(e) {
|
|
|
9153
9153
|
D();
|
|
9154
9154
|
}
|
|
9155
9155
|
}, [k, C, D, M, I]);
|
|
9156
|
-
const
|
|
9156
|
+
const B = g.useMemo(() => ({
|
|
9157
9157
|
reference: S,
|
|
9158
9158
|
floating: j,
|
|
9159
9159
|
setReference: y,
|
|
@@ -9161,7 +9161,7 @@ function mm(e) {
|
|
|
9161
9161
|
}), [y, v]), W = g.useMemo(() => ({
|
|
9162
9162
|
reference: k,
|
|
9163
9163
|
floating: C
|
|
9164
|
-
}), [k, C]),
|
|
9164
|
+
}), [k, C]), U = g.useMemo(() => {
|
|
9165
9165
|
const R = {
|
|
9166
9166
|
position: r,
|
|
9167
9167
|
left: 0,
|
|
@@ -9173,7 +9173,7 @@ function mm(e) {
|
|
|
9173
9173
|
return s ? {
|
|
9174
9174
|
...R,
|
|
9175
9175
|
transform: "translate(" + q + "px, " + ne + "px)",
|
|
9176
|
-
...
|
|
9176
|
+
...Zs(W.floating) >= 1.5 && {
|
|
9177
9177
|
willChange: "transform"
|
|
9178
9178
|
}
|
|
9179
9179
|
} : {
|
|
@@ -9185,10 +9185,10 @@ function mm(e) {
|
|
|
9185
9185
|
return g.useMemo(() => ({
|
|
9186
9186
|
...u,
|
|
9187
9187
|
update: D,
|
|
9188
|
-
refs:
|
|
9188
|
+
refs: B,
|
|
9189
9189
|
elements: W,
|
|
9190
|
-
floatingStyles:
|
|
9191
|
-
}), [u, D,
|
|
9190
|
+
floatingStyles: U
|
|
9191
|
+
}), [u, D, B, W, U]);
|
|
9192
9192
|
}
|
|
9193
9193
|
const gm = (e) => {
|
|
9194
9194
|
function t(r) {
|
|
@@ -9233,7 +9233,7 @@ const gm = (e) => {
|
|
|
9233
9233
|
...gm(e),
|
|
9234
9234
|
options: [e, t]
|
|
9235
9235
|
});
|
|
9236
|
-
var Sm = "Arrow",
|
|
9236
|
+
var Sm = "Arrow", Qs = g.forwardRef((e, t) => {
|
|
9237
9237
|
const { children: r, width: n = 10, height: o = 5, ...i } = e;
|
|
9238
9238
|
return /* @__PURE__ */ l.jsx(
|
|
9239
9239
|
Ee.svg,
|
|
@@ -9248,11 +9248,11 @@ var Sm = "Arrow", Zs = g.forwardRef((e, t) => {
|
|
|
9248
9248
|
}
|
|
9249
9249
|
);
|
|
9250
9250
|
});
|
|
9251
|
-
|
|
9252
|
-
var Em =
|
|
9251
|
+
Qs.displayName = Sm;
|
|
9252
|
+
var Em = Qs;
|
|
9253
9253
|
function jm(e) {
|
|
9254
9254
|
const [t, r] = g.useState(void 0);
|
|
9255
|
-
return
|
|
9255
|
+
return Be(() => {
|
|
9256
9256
|
if (e) {
|
|
9257
9257
|
r({ width: e.offsetWidth, height: e.offsetHeight });
|
|
9258
9258
|
const n = new ResizeObserver((o) => {
|
|
@@ -9272,24 +9272,24 @@ function jm(e) {
|
|
|
9272
9272
|
r(void 0);
|
|
9273
9273
|
}, [e]), t;
|
|
9274
9274
|
}
|
|
9275
|
-
var yi = "Popper", [
|
|
9275
|
+
var yi = "Popper", [ec, fr] = Wr(yi), [Nm, tc] = ec(yi), rc = (e) => {
|
|
9276
9276
|
const { __scopePopper: t, children: r } = e, [n, o] = g.useState(null);
|
|
9277
9277
|
return /* @__PURE__ */ l.jsx(Nm, { scope: t, anchor: n, onAnchorChange: o, children: r });
|
|
9278
9278
|
};
|
|
9279
|
-
|
|
9280
|
-
var
|
|
9279
|
+
rc.displayName = yi;
|
|
9280
|
+
var nc = "PopperAnchor", oc = g.forwardRef(
|
|
9281
9281
|
(e, t) => {
|
|
9282
|
-
const { __scopePopper: r, virtualRef: n, ...o } = e, i =
|
|
9282
|
+
const { __scopePopper: r, virtualRef: n, ...o } = e, i = tc(nc, r), a = g.useRef(null), s = Ne(t, a), c = g.useRef(null);
|
|
9283
9283
|
return g.useEffect(() => {
|
|
9284
9284
|
const d = c.current;
|
|
9285
9285
|
c.current = (n == null ? void 0 : n.current) || a.current, d !== c.current && i.onAnchorChange(c.current);
|
|
9286
9286
|
}), n ? null : /* @__PURE__ */ l.jsx(Ee.div, { ...o, ref: s });
|
|
9287
9287
|
}
|
|
9288
9288
|
);
|
|
9289
|
-
|
|
9290
|
-
var ki = "PopperContent", [Rm, Am] =
|
|
9289
|
+
oc.displayName = nc;
|
|
9290
|
+
var ki = "PopperContent", [Rm, Am] = ec(ki), ic = g.forwardRef(
|
|
9291
9291
|
(e, t) => {
|
|
9292
|
-
var T, J, re,
|
|
9292
|
+
var T, J, re, $, oe, ee;
|
|
9293
9293
|
const {
|
|
9294
9294
|
__scopePopper: r,
|
|
9295
9295
|
side: n = "bottom",
|
|
@@ -9305,12 +9305,12 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9305
9305
|
updatePositionStrategy: p = "optimized",
|
|
9306
9306
|
onPlaced: x,
|
|
9307
9307
|
...m
|
|
9308
|
-
} = e, b =
|
|
9308
|
+
} = e, b = tc(ki, r), [w, y] = g.useState(null), v = Ne(t, (ke) => y(ke)), [k, C] = g.useState(null), S = jm(k), j = (S == null ? void 0 : S.width) ?? 0, E = (S == null ? void 0 : S.height) ?? 0, I = n + (i !== "center" ? "-" + i : ""), M = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, P = Array.isArray(d) ? d : [d], _ = P.length > 0, D = {
|
|
9309
9309
|
padding: M,
|
|
9310
9310
|
boundary: P.filter(zm),
|
|
9311
9311
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
9312
9312
|
altBoundary: _
|
|
9313
|
-
}, { refs: Y, floatingStyles:
|
|
9313
|
+
}, { refs: Y, floatingStyles: B, placement: W, isPositioned: U, middlewareData: R } = mm({
|
|
9314
9314
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
9315
9315
|
strategy: "fixed",
|
|
9316
9316
|
placement: I,
|
|
@@ -9340,12 +9340,12 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9340
9340
|
Pm({ arrowWidth: j, arrowHeight: E }),
|
|
9341
9341
|
h && km({ strategy: "referenceHidden", ...D })
|
|
9342
9342
|
]
|
|
9343
|
-
}), [q, ne] =
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
}, [
|
|
9347
|
-
const
|
|
9348
|
-
return
|
|
9343
|
+
}), [q, ne] = cc(W), N = Lt(x);
|
|
9344
|
+
Be(() => {
|
|
9345
|
+
U && (N == null || N());
|
|
9346
|
+
}, [U, N]);
|
|
9347
|
+
const F = (T = R.arrow) == null ? void 0 : T.x, G = (J = R.arrow) == null ? void 0 : J.y, H = ((re = R.arrow) == null ? void 0 : re.centerOffset) !== 0, [ve, se] = g.useState();
|
|
9348
|
+
return Be(() => {
|
|
9349
9349
|
w && se(window.getComputedStyle(w).zIndex);
|
|
9350
9350
|
}, [w]), /* @__PURE__ */ l.jsx(
|
|
9351
9351
|
"div",
|
|
@@ -9353,13 +9353,13 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9353
9353
|
ref: Y.setFloating,
|
|
9354
9354
|
"data-radix-popper-content-wrapper": "",
|
|
9355
9355
|
style: {
|
|
9356
|
-
...
|
|
9357
|
-
transform:
|
|
9356
|
+
...B,
|
|
9357
|
+
transform: U ? B.transform : "translate(0, -200%)",
|
|
9358
9358
|
// keep off the page when measuring
|
|
9359
9359
|
minWidth: "max-content",
|
|
9360
9360
|
zIndex: ve,
|
|
9361
9361
|
"--radix-popper-transform-origin": [
|
|
9362
|
-
(
|
|
9362
|
+
($ = R.transformOrigin) == null ? void 0 : $.x,
|
|
9363
9363
|
(oe = R.transformOrigin) == null ? void 0 : oe.y
|
|
9364
9364
|
].join(" "),
|
|
9365
9365
|
// hide the content if using the hide middleware and should be hidden
|
|
@@ -9377,7 +9377,7 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9377
9377
|
scope: r,
|
|
9378
9378
|
placedSide: q,
|
|
9379
9379
|
onArrowChange: C,
|
|
9380
|
-
arrowX:
|
|
9380
|
+
arrowX: F,
|
|
9381
9381
|
arrowY: G,
|
|
9382
9382
|
shouldHideArrow: H,
|
|
9383
9383
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -9391,7 +9391,7 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9391
9391
|
...m.style,
|
|
9392
9392
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
9393
9393
|
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
|
9394
|
-
animation:
|
|
9394
|
+
animation: U ? void 0 : "none"
|
|
9395
9395
|
}
|
|
9396
9396
|
}
|
|
9397
9397
|
)
|
|
@@ -9401,14 +9401,14 @@ var ki = "PopperContent", [Rm, Am] = Qs(ki), oc = g.forwardRef(
|
|
|
9401
9401
|
);
|
|
9402
9402
|
}
|
|
9403
9403
|
);
|
|
9404
|
-
|
|
9405
|
-
var
|
|
9404
|
+
ic.displayName = ki;
|
|
9405
|
+
var ac = "PopperArrow", Tm = {
|
|
9406
9406
|
top: "bottom",
|
|
9407
9407
|
right: "left",
|
|
9408
9408
|
bottom: "top",
|
|
9409
9409
|
left: "right"
|
|
9410
|
-
},
|
|
9411
|
-
const { __scopePopper: n, ...o } = t, i = Am(
|
|
9410
|
+
}, sc = g.forwardRef(function(t, r) {
|
|
9411
|
+
const { __scopePopper: n, ...o } = t, i = Am(ac, n), a = Tm[i.placedSide];
|
|
9412
9412
|
return (
|
|
9413
9413
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
9414
9414
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -9452,7 +9452,7 @@ var ic = "PopperArrow", Tm = {
|
|
|
9452
9452
|
)
|
|
9453
9453
|
);
|
|
9454
9454
|
});
|
|
9455
|
-
|
|
9455
|
+
sc.displayName = ac;
|
|
9456
9456
|
function zm(e) {
|
|
9457
9457
|
return e !== null;
|
|
9458
9458
|
}
|
|
@@ -9461,24 +9461,24 @@ var Pm = (e) => ({
|
|
|
9461
9461
|
options: e,
|
|
9462
9462
|
fn(t) {
|
|
9463
9463
|
var b, w, y;
|
|
9464
|
-
const { placement: r, rects: n, middlewareData: o } = t, a = ((b = o.arrow) == null ? void 0 : b.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [d, u] =
|
|
9464
|
+
const { placement: r, rects: n, middlewareData: o } = t, a = ((b = o.arrow) == null ? void 0 : b.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [d, u] = cc(r), f = { start: "0%", center: "50%", end: "100%" }[u], h = (((w = o.arrow) == null ? void 0 : w.x) ?? 0) + s / 2, p = (((y = o.arrow) == null ? void 0 : y.y) ?? 0) + c / 2;
|
|
9465
9465
|
let x = "", m = "";
|
|
9466
9466
|
return d === "bottom" ? (x = a ? f : `${h}px`, m = `${-c}px`) : d === "top" ? (x = a ? f : `${h}px`, m = `${n.floating.height + c}px`) : d === "right" ? (x = `${-c}px`, m = a ? f : `${p}px`) : d === "left" && (x = `${n.floating.width + c}px`, m = a ? f : `${p}px`), { data: { x, y: m } };
|
|
9467
9467
|
}
|
|
9468
9468
|
});
|
|
9469
|
-
function
|
|
9469
|
+
function cc(e) {
|
|
9470
9470
|
const [t, r = "center"] = e.split("-");
|
|
9471
9471
|
return [t, r];
|
|
9472
9472
|
}
|
|
9473
|
-
var Ci =
|
|
9473
|
+
var Ci = rc, Yn = oc, Si = ic, Ei = sc, Om = "Portal", Gn = g.forwardRef((e, t) => {
|
|
9474
9474
|
var s;
|
|
9475
9475
|
const { container: r, ...n } = e, [o, i] = g.useState(!1);
|
|
9476
|
-
|
|
9476
|
+
Be(() => i(!0), []);
|
|
9477
9477
|
const a = r || o && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
|
|
9478
|
-
return a ?
|
|
9478
|
+
return a ? Fl.createPortal(/* @__PURE__ */ l.jsx(Ee.div, { ...n, ref: t }), a) : null;
|
|
9479
9479
|
});
|
|
9480
9480
|
Gn.displayName = Om;
|
|
9481
|
-
var Im = g[" useInsertionEffect ".trim().toString()] ||
|
|
9481
|
+
var Im = g[" useInsertionEffect ".trim().toString()] || Be;
|
|
9482
9482
|
function Nn({
|
|
9483
9483
|
prop: e,
|
|
9484
9484
|
defaultProp: t,
|
|
@@ -9531,7 +9531,7 @@ function _m(e) {
|
|
|
9531
9531
|
const t = g.useRef({ value: e, previous: e });
|
|
9532
9532
|
return g.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
9533
9533
|
}
|
|
9534
|
-
var
|
|
9534
|
+
var lc = Object.freeze({
|
|
9535
9535
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
9536
9536
|
position: "absolute",
|
|
9537
9537
|
border: 0,
|
|
@@ -9543,34 +9543,34 @@ var cc = Object.freeze({
|
|
|
9543
9543
|
clip: "rect(0, 0, 0, 0)",
|
|
9544
9544
|
whiteSpace: "nowrap",
|
|
9545
9545
|
wordWrap: "normal"
|
|
9546
|
-
}), Lm = "VisuallyHidden",
|
|
9546
|
+
}), Lm = "VisuallyHidden", dc = g.forwardRef(
|
|
9547
9547
|
(e, t) => /* @__PURE__ */ l.jsx(
|
|
9548
9548
|
Ee.span,
|
|
9549
9549
|
{
|
|
9550
9550
|
...e,
|
|
9551
9551
|
ref: t,
|
|
9552
|
-
style: { ...
|
|
9552
|
+
style: { ...lc, ...e.style }
|
|
9553
9553
|
}
|
|
9554
9554
|
)
|
|
9555
9555
|
);
|
|
9556
|
-
|
|
9557
|
-
var
|
|
9556
|
+
dc.displayName = Lm;
|
|
9557
|
+
var $m = dc, Fm = function(e) {
|
|
9558
9558
|
if (typeof document > "u")
|
|
9559
9559
|
return null;
|
|
9560
9560
|
var t = Array.isArray(e) ? e[0] : e;
|
|
9561
9561
|
return t.ownerDocument.body;
|
|
9562
|
-
}, Ht = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), nn = {}, vo = 0,
|
|
9563
|
-
return e && (e.host ||
|
|
9562
|
+
}, Ht = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), nn = {}, vo = 0, uc = function(e) {
|
|
9563
|
+
return e && (e.host || uc(e.parentNode));
|
|
9564
9564
|
}, Wm = function(e, t) {
|
|
9565
9565
|
return t.map(function(r) {
|
|
9566
9566
|
if (e.contains(r))
|
|
9567
9567
|
return r;
|
|
9568
|
-
var n =
|
|
9568
|
+
var n = uc(r);
|
|
9569
9569
|
return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
|
|
9570
9570
|
}).filter(function(r) {
|
|
9571
9571
|
return !!r;
|
|
9572
9572
|
});
|
|
9573
|
-
},
|
|
9573
|
+
}, Um = function(e, t, r, n) {
|
|
9574
9574
|
var o = Wm(t, Array.isArray(e) ? e : [e]);
|
|
9575
9575
|
nn[r] || (nn[r] = /* @__PURE__ */ new WeakMap());
|
|
9576
9576
|
var i = nn[r], a = [], s = /* @__PURE__ */ new Set(), c = new Set(o), d = function(f) {
|
|
@@ -9596,10 +9596,10 @@ var Fm = lc, $m = function(e) {
|
|
|
9596
9596
|
Ht.set(f, h), i.set(f, p), h || (rn.has(f) || f.removeAttribute(n), rn.delete(f)), p || f.removeAttribute(r);
|
|
9597
9597
|
}), vo--, vo || (Ht = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), nn = {});
|
|
9598
9598
|
};
|
|
9599
|
-
},
|
|
9599
|
+
}, fc = function(e, t, r) {
|
|
9600
9600
|
r === void 0 && (r = "data-aria-hidden");
|
|
9601
|
-
var n = Array.from(Array.isArray(e) ? e : [e]), o =
|
|
9602
|
-
return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))),
|
|
9601
|
+
var n = Array.from(Array.isArray(e) ? e : [e]), o = Fm(e);
|
|
9602
|
+
return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))), Um(n, o, r, "aria-hidden")) : function() {
|
|
9603
9603
|
return null;
|
|
9604
9604
|
};
|
|
9605
9605
|
}, dt = function() {
|
|
@@ -9611,7 +9611,7 @@ var Fm = lc, $m = function(e) {
|
|
|
9611
9611
|
return t;
|
|
9612
9612
|
}, dt.apply(this, arguments);
|
|
9613
9613
|
};
|
|
9614
|
-
function
|
|
9614
|
+
function pc(e, t) {
|
|
9615
9615
|
var r = {};
|
|
9616
9616
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
9617
9617
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -9619,7 +9619,7 @@ function fc(e, t) {
|
|
|
9619
9619
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
9620
9620
|
return r;
|
|
9621
9621
|
}
|
|
9622
|
-
function
|
|
9622
|
+
function Bm(e, t, r) {
|
|
9623
9623
|
if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
|
|
9624
9624
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
9625
9625
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
@@ -9732,8 +9732,8 @@ function Jm(e) {
|
|
|
9732
9732
|
var t = Xm(null);
|
|
9733
9733
|
return t.options = dt({ async: !0, ssr: !1 }, e), t;
|
|
9734
9734
|
}
|
|
9735
|
-
var
|
|
9736
|
-
var t = e.sideCar, r =
|
|
9735
|
+
var hc = function(e) {
|
|
9736
|
+
var t = e.sideCar, r = pc(e, ["sideCar"]);
|
|
9737
9737
|
if (!t)
|
|
9738
9738
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
9739
9739
|
var n = t.read();
|
|
@@ -9741,21 +9741,21 @@ var pc = function(e) {
|
|
|
9741
9741
|
throw new Error("Sidecar medium not found");
|
|
9742
9742
|
return g.createElement(n, dt({}, r));
|
|
9743
9743
|
};
|
|
9744
|
-
|
|
9744
|
+
hc.isSideCarExport = !0;
|
|
9745
9745
|
function Zm(e, t) {
|
|
9746
|
-
return e.useMedium(t),
|
|
9746
|
+
return e.useMedium(t), hc;
|
|
9747
9747
|
}
|
|
9748
|
-
var
|
|
9748
|
+
var mc = Jm(), wo = function() {
|
|
9749
9749
|
}, qn = g.forwardRef(function(e, t) {
|
|
9750
9750
|
var r = g.useRef(null), n = g.useState({
|
|
9751
9751
|
onScrollCapture: wo,
|
|
9752
9752
|
onWheelCapture: wo,
|
|
9753
9753
|
onTouchMoveCapture: wo
|
|
9754
|
-
}), o = n[0], i = n[1], a = e.forwardProps, s = e.children, c = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, p = e.noRelative, x = e.noIsolation, m = e.inert, b = e.allowPinchZoom, w = e.as, y = w === void 0 ? "div" : w, v = e.gapMode, k =
|
|
9754
|
+
}), o = n[0], i = n[1], a = e.forwardProps, s = e.children, c = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, p = e.noRelative, x = e.noIsolation, m = e.inert, b = e.allowPinchZoom, w = e.as, y = w === void 0 ? "div" : w, v = e.gapMode, k = pc(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = h, S = Gm([r, t]), j = dt(dt({}, k), o);
|
|
9755
9755
|
return g.createElement(
|
|
9756
9756
|
g.Fragment,
|
|
9757
9757
|
null,
|
|
9758
|
-
u && g.createElement(C, { sideCar:
|
|
9758
|
+
u && g.createElement(C, { sideCar: mc, removeScrollBar: d, shards: f, noRelative: p, noIsolation: x, inert: m, setCallbacks: i, allowPinchZoom: !!b, lockRef: r, gapMode: v }),
|
|
9759
9759
|
a ? g.cloneElement(g.Children.only(s), dt(dt({}, j), { ref: S })) : g.createElement(y, dt({}, j, { className: c, ref: S }), s)
|
|
9760
9760
|
);
|
|
9761
9761
|
});
|
|
@@ -9806,7 +9806,7 @@ var ng = function() {
|
|
|
9806
9806
|
};
|
|
9807
9807
|
}, [t && r]);
|
|
9808
9808
|
};
|
|
9809
|
-
},
|
|
9809
|
+
}, gc = function() {
|
|
9810
9810
|
var e = og(), t = function(r) {
|
|
9811
9811
|
var n = r.styles, o = r.dynamic;
|
|
9812
9812
|
return e(n, o), null;
|
|
@@ -9832,7 +9832,7 @@ var ng = function() {
|
|
|
9832
9832
|
right: t[2],
|
|
9833
9833
|
gap: Math.max(0, n - r + t[2] - t[0])
|
|
9834
9834
|
};
|
|
9835
|
-
}, cg =
|
|
9835
|
+
}, cg = gc(), Zt = "data-scroll-locked", lg = function(e, t, r, n) {
|
|
9836
9836
|
var o = e.left, i = e.top, a = e.right, s = e.gap;
|
|
9837
9837
|
return r === void 0 && (r = "margin"), `
|
|
9838
9838
|
.`.concat(Hm, ` {
|
|
@@ -9907,7 +9907,7 @@ if (typeof window < "u")
|
|
|
9907
9907
|
}
|
|
9908
9908
|
var Vt = _o ? { passive: !1 } : !1, fg = function(e) {
|
|
9909
9909
|
return e.tagName === "TEXTAREA";
|
|
9910
|
-
},
|
|
9910
|
+
}, bc = function(e, t) {
|
|
9911
9911
|
if (!(e instanceof Element))
|
|
9912
9912
|
return !1;
|
|
9913
9913
|
var r = window.getComputedStyle(e);
|
|
@@ -9917,16 +9917,16 @@ var Vt = _o ? { passive: !1 } : !1, fg = function(e) {
|
|
|
9917
9917
|
!(r.overflowY === r.overflowX && !fg(e) && r[t] === "visible")
|
|
9918
9918
|
);
|
|
9919
9919
|
}, pg = function(e) {
|
|
9920
|
-
return
|
|
9920
|
+
return bc(e, "overflowY");
|
|
9921
9921
|
}, hg = function(e) {
|
|
9922
|
-
return
|
|
9922
|
+
return bc(e, "overflowX");
|
|
9923
9923
|
}, Ea = function(e, t) {
|
|
9924
9924
|
var r = t.ownerDocument, n = t;
|
|
9925
9925
|
do {
|
|
9926
9926
|
typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
|
|
9927
|
-
var o =
|
|
9927
|
+
var o = vc(e, n);
|
|
9928
9928
|
if (o) {
|
|
9929
|
-
var i =
|
|
9929
|
+
var i = xc(e, n), a = i[1], s = i[2];
|
|
9930
9930
|
if (a > s)
|
|
9931
9931
|
return !0;
|
|
9932
9932
|
}
|
|
@@ -9947,9 +9947,9 @@ var Vt = _o ? { passive: !1 } : !1, fg = function(e) {
|
|
|
9947
9947
|
r,
|
|
9948
9948
|
n
|
|
9949
9949
|
];
|
|
9950
|
-
}, bc = function(e, t) {
|
|
9951
|
-
return e === "v" ? pg(t) : hg(t);
|
|
9952
9950
|
}, vc = function(e, t) {
|
|
9951
|
+
return e === "v" ? pg(t) : hg(t);
|
|
9952
|
+
}, xc = function(e, t) {
|
|
9953
9953
|
return e === "v" ? mg(t) : gg(t);
|
|
9954
9954
|
}, bg = function(e, t) {
|
|
9955
9955
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
@@ -9958,8 +9958,8 @@ var Vt = _o ? { passive: !1 } : !1, fg = function(e) {
|
|
|
9958
9958
|
do {
|
|
9959
9959
|
if (!s)
|
|
9960
9960
|
break;
|
|
9961
|
-
var p =
|
|
9962
|
-
(x || w) &&
|
|
9961
|
+
var p = xc(e, s), x = p[0], m = p[1], b = p[2], w = m - b - i * x;
|
|
9962
|
+
(x || w) && vc(e, s) && (f += w, h += x);
|
|
9963
9963
|
var y = s.parentNode;
|
|
9964
9964
|
s = y && y.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? y.host : y;
|
|
9965
9965
|
} while (
|
|
@@ -9983,13 +9983,13 @@ var Vt = _o ? { passive: !1 } : !1, fg = function(e) {
|
|
|
9983
9983
|
`);
|
|
9984
9984
|
}, yg = 0, Kt = [];
|
|
9985
9985
|
function kg(e) {
|
|
9986
|
-
var t = g.useRef([]), r = g.useRef([0, 0]), n = g.useRef(), o = g.useState(yg++)[0], i = g.useState(
|
|
9986
|
+
var t = g.useRef([]), r = g.useRef([0, 0]), n = g.useRef(), o = g.useState(yg++)[0], i = g.useState(gc)[0], a = g.useRef(e);
|
|
9987
9987
|
g.useEffect(function() {
|
|
9988
9988
|
a.current = e;
|
|
9989
9989
|
}, [e]), g.useEffect(function() {
|
|
9990
9990
|
if (e.inert) {
|
|
9991
9991
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
9992
|
-
var m =
|
|
9992
|
+
var m = Bm([e.lockRef.current], (e.shards || []).map(Na), !0).filter(Boolean);
|
|
9993
9993
|
return m.forEach(function(b) {
|
|
9994
9994
|
return b.classList.add("allow-interactivity-".concat(o));
|
|
9995
9995
|
}), function() {
|
|
@@ -10072,15 +10072,15 @@ function Cg(e) {
|
|
|
10072
10072
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
10073
10073
|
return t;
|
|
10074
10074
|
}
|
|
10075
|
-
const Sg = Zm(
|
|
10075
|
+
const Sg = Zm(mc, kg);
|
|
10076
10076
|
var ji = g.forwardRef(function(e, t) {
|
|
10077
10077
|
return g.createElement(qn, dt({}, e, { ref: t, sideCar: Sg }));
|
|
10078
10078
|
});
|
|
10079
10079
|
ji.classNames = qn.classNames;
|
|
10080
|
-
var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"],
|
|
10080
|
+
var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"], Ft = "Select", [Xn, Jn, Ng] = Vp(Ft), [pr] = Wr(Ft, [
|
|
10081
10081
|
Ng,
|
|
10082
10082
|
fr
|
|
10083
|
-
]), Zn = fr(), [Rg, zt] = pr(
|
|
10083
|
+
]), Zn = fr(), [Rg, zt] = pr(Ft), [Ag, Tg] = pr(Ft), wc = (e) => {
|
|
10084
10084
|
const {
|
|
10085
10085
|
__scopeSelect: t,
|
|
10086
10086
|
children: r,
|
|
@@ -10100,13 +10100,13 @@ var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"], $t = "Sele
|
|
|
10100
10100
|
prop: n,
|
|
10101
10101
|
defaultProp: o ?? !1,
|
|
10102
10102
|
onChange: i,
|
|
10103
|
-
caller:
|
|
10103
|
+
caller: Ft
|
|
10104
10104
|
}), [I, M] = Nn({
|
|
10105
10105
|
prop: a,
|
|
10106
10106
|
defaultProp: s,
|
|
10107
10107
|
onChange: c,
|
|
10108
|
-
caller:
|
|
10109
|
-
}), P = g.useRef(null), _ = b ? x || !!b.closest("form") : !0, [D, Y] = g.useState(/* @__PURE__ */ new Set()),
|
|
10108
|
+
caller: Ft
|
|
10109
|
+
}), P = g.useRef(null), _ = b ? x || !!b.closest("form") : !0, [D, Y] = g.useState(/* @__PURE__ */ new Set()), B = Array.from(D).map((W) => W.props.value).join(";");
|
|
10110
10110
|
return /* @__PURE__ */ l.jsx(Ci, { ...m, children: /* @__PURE__ */ l.jsxs(
|
|
10111
10111
|
Rg,
|
|
10112
10112
|
{
|
|
@@ -10118,7 +10118,7 @@ var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"], $t = "Sele
|
|
|
10118
10118
|
onValueNodeChange: v,
|
|
10119
10119
|
valueNodeHasChildren: k,
|
|
10120
10120
|
onValueNodeHasChildrenChange: C,
|
|
10121
|
-
contentId:
|
|
10121
|
+
contentId: Ur(),
|
|
10122
10122
|
value: I,
|
|
10123
10123
|
onValueChange: M,
|
|
10124
10124
|
open: j,
|
|
@@ -10132,11 +10132,11 @@ var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"], $t = "Sele
|
|
|
10132
10132
|
{
|
|
10133
10133
|
scope: e.__scopeSelect,
|
|
10134
10134
|
onNativeOptionAdd: g.useCallback((W) => {
|
|
10135
|
-
Y((
|
|
10135
|
+
Y((U) => new Set(U).add(W));
|
|
10136
10136
|
}, []),
|
|
10137
10137
|
onNativeOptionRemove: g.useCallback((W) => {
|
|
10138
|
-
Y((
|
|
10139
|
-
const R = new Set(
|
|
10138
|
+
Y((U) => {
|
|
10139
|
+
const R = new Set(U);
|
|
10140
10140
|
return R.delete(W), R;
|
|
10141
10141
|
});
|
|
10142
10142
|
}, []),
|
|
@@ -10160,16 +10160,16 @@ var Eg = [" ", "Enter", "ArrowUp", "ArrowDown"], jg = [" ", "Enter"], $t = "Sele
|
|
|
10160
10160
|
Array.from(D)
|
|
10161
10161
|
]
|
|
10162
10162
|
},
|
|
10163
|
-
|
|
10163
|
+
B
|
|
10164
10164
|
) : null
|
|
10165
10165
|
]
|
|
10166
10166
|
}
|
|
10167
10167
|
) });
|
|
10168
10168
|
};
|
|
10169
|
-
|
|
10170
|
-
var
|
|
10169
|
+
wc.displayName = Ft;
|
|
10170
|
+
var yc = "SelectTrigger", kc = g.forwardRef(
|
|
10171
10171
|
(e, t) => {
|
|
10172
|
-
const { __scopeSelect: r, disabled: n = !1, ...o } = e, i = Zn(r), a = zt(
|
|
10172
|
+
const { __scopeSelect: r, disabled: n = !1, ...o } = e, i = Zn(r), a = zt(yc, r), s = a.disabled || n, c = Ne(t, a.onTriggerChange), d = Jn(r), u = g.useRef("touch"), [f, h, p] = Uc((m) => {
|
|
10173
10173
|
const b = d().filter((v) => !v.disabled), w = b.find((v) => v.value === a.value), y = Bc(b, m, w);
|
|
10174
10174
|
y !== void 0 && a.onValueChange(y.value);
|
|
10175
10175
|
}), x = (m) => {
|
|
@@ -10191,7 +10191,7 @@ var wc = "SelectTrigger", yc = g.forwardRef(
|
|
|
10191
10191
|
"data-state": a.open ? "open" : "closed",
|
|
10192
10192
|
disabled: s,
|
|
10193
10193
|
"data-disabled": s ? "" : void 0,
|
|
10194
|
-
"data-placeholder":
|
|
10194
|
+
"data-placeholder": Wc(a.value) ? "" : void 0,
|
|
10195
10195
|
...o,
|
|
10196
10196
|
ref: c,
|
|
10197
10197
|
onClick: be(o.onClick, (m) => {
|
|
@@ -10210,11 +10210,11 @@ var wc = "SelectTrigger", yc = g.forwardRef(
|
|
|
10210
10210
|
) });
|
|
10211
10211
|
}
|
|
10212
10212
|
);
|
|
10213
|
-
|
|
10214
|
-
var
|
|
10213
|
+
kc.displayName = yc;
|
|
10214
|
+
var Cc = "SelectValue", Sc = g.forwardRef(
|
|
10215
10215
|
(e, t) => {
|
|
10216
|
-
const { __scopeSelect: r, className: n, style: o, children: i, placeholder: a = "", ...s } = e, c = zt(
|
|
10217
|
-
return
|
|
10216
|
+
const { __scopeSelect: r, className: n, style: o, children: i, placeholder: a = "", ...s } = e, c = zt(Cc, r), { onValueNodeHasChildrenChange: d } = c, u = i !== void 0, f = Ne(t, c.onValueNodeChange);
|
|
10217
|
+
return Be(() => {
|
|
10218
10218
|
d(u);
|
|
10219
10219
|
}, [d, u]), /* @__PURE__ */ l.jsx(
|
|
10220
10220
|
Ee.span,
|
|
@@ -10222,38 +10222,38 @@ var kc = "SelectValue", Cc = g.forwardRef(
|
|
|
10222
10222
|
...s,
|
|
10223
10223
|
ref: f,
|
|
10224
10224
|
style: { pointerEvents: "none" },
|
|
10225
|
-
children:
|
|
10225
|
+
children: Wc(c.value) ? /* @__PURE__ */ l.jsx(l.Fragment, { children: a }) : i
|
|
10226
10226
|
}
|
|
10227
10227
|
);
|
|
10228
10228
|
}
|
|
10229
10229
|
);
|
|
10230
|
-
|
|
10231
|
-
var zg = "SelectIcon",
|
|
10230
|
+
Sc.displayName = Cc;
|
|
10231
|
+
var zg = "SelectIcon", Ec = g.forwardRef(
|
|
10232
10232
|
(e, t) => {
|
|
10233
10233
|
const { __scopeSelect: r, children: n, ...o } = e;
|
|
10234
10234
|
return /* @__PURE__ */ l.jsx(Ee.span, { "aria-hidden": !0, ...o, ref: t, children: n || "▼" });
|
|
10235
10235
|
}
|
|
10236
10236
|
);
|
|
10237
|
-
|
|
10238
|
-
var Pg = "SelectPortal",
|
|
10239
|
-
|
|
10240
|
-
var Wt = "SelectContent",
|
|
10237
|
+
Ec.displayName = zg;
|
|
10238
|
+
var Pg = "SelectPortal", jc = (e) => /* @__PURE__ */ l.jsx(Gn, { asChild: !0, ...e });
|
|
10239
|
+
jc.displayName = Pg;
|
|
10240
|
+
var Wt = "SelectContent", Nc = g.forwardRef(
|
|
10241
10241
|
(e, t) => {
|
|
10242
10242
|
const r = zt(Wt, e.__scopeSelect), [n, o] = g.useState();
|
|
10243
|
-
if (
|
|
10243
|
+
if (Be(() => {
|
|
10244
10244
|
o(new DocumentFragment());
|
|
10245
10245
|
}, []), !r.open) {
|
|
10246
10246
|
const i = n;
|
|
10247
10247
|
return i ? Pn.createPortal(
|
|
10248
|
-
/* @__PURE__ */ l.jsx(
|
|
10248
|
+
/* @__PURE__ */ l.jsx(Rc, { scope: e.__scopeSelect, children: /* @__PURE__ */ l.jsx(Xn.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ l.jsx("div", { children: e.children }) }) }),
|
|
10249
10249
|
i
|
|
10250
10250
|
) : null;
|
|
10251
10251
|
}
|
|
10252
|
-
return /* @__PURE__ */ l.jsx(
|
|
10252
|
+
return /* @__PURE__ */ l.jsx(Ac, { ...e, ref: t });
|
|
10253
10253
|
}
|
|
10254
10254
|
);
|
|
10255
|
-
|
|
10256
|
-
var ot = 10, [
|
|
10255
|
+
Nc.displayName = Wt;
|
|
10256
|
+
var ot = 10, [Rc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ tr("SelectContent.RemoveScroll"), Ac = g.forwardRef(
|
|
10257
10257
|
(e, t) => {
|
|
10258
10258
|
const {
|
|
10259
10259
|
__scopeSelect: r,
|
|
@@ -10277,36 +10277,36 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10277
10277
|
...w
|
|
10278
10278
|
} = e, y = zt(Wt, r), [v, k] = g.useState(null), [C, S] = g.useState(null), j = Ne(t, (T) => k(T)), [E, I] = g.useState(null), [M, P] = g.useState(
|
|
10279
10279
|
null
|
|
10280
|
-
), _ = Jn(r), [D, Y] = g.useState(!1),
|
|
10280
|
+
), _ = Jn(r), [D, Y] = g.useState(!1), B = g.useRef(!1);
|
|
10281
10281
|
g.useEffect(() => {
|
|
10282
|
-
if (v) return
|
|
10282
|
+
if (v) return fc(v);
|
|
10283
10283
|
}, [v]), Fs();
|
|
10284
10284
|
const W = g.useCallback(
|
|
10285
10285
|
(T) => {
|
|
10286
|
-
const [J, ...re] = _().map((ee) => ee.ref.current), [
|
|
10286
|
+
const [J, ...re] = _().map((ee) => ee.ref.current), [$] = re.slice(-1), oe = document.activeElement;
|
|
10287
10287
|
for (const ee of T)
|
|
10288
|
-
if (ee === oe || (ee == null || ee.scrollIntoView({ block: "nearest" }), ee === J && C && (C.scrollTop = 0), ee ===
|
|
10288
|
+
if (ee === oe || (ee == null || ee.scrollIntoView({ block: "nearest" }), ee === J && C && (C.scrollTop = 0), ee === $ && C && (C.scrollTop = C.scrollHeight), ee == null || ee.focus(), document.activeElement !== oe)) return;
|
|
10289
10289
|
},
|
|
10290
10290
|
[_, C]
|
|
10291
|
-
),
|
|
10291
|
+
), U = g.useCallback(
|
|
10292
10292
|
() => W([E, v]),
|
|
10293
10293
|
[W, E, v]
|
|
10294
10294
|
);
|
|
10295
10295
|
g.useEffect(() => {
|
|
10296
|
-
D &&
|
|
10297
|
-
}, [D,
|
|
10296
|
+
D && U();
|
|
10297
|
+
}, [D, U]);
|
|
10298
10298
|
const { onOpenChange: R, triggerPointerDownPosRef: q } = y;
|
|
10299
10299
|
g.useEffect(() => {
|
|
10300
10300
|
if (v) {
|
|
10301
10301
|
let T = { x: 0, y: 0 };
|
|
10302
|
-
const J = (
|
|
10302
|
+
const J = ($) => {
|
|
10303
10303
|
var oe, ee;
|
|
10304
10304
|
T = {
|
|
10305
|
-
x: Math.abs(Math.round(
|
|
10306
|
-
y: Math.abs(Math.round(
|
|
10305
|
+
x: Math.abs(Math.round($.pageX) - (((oe = q.current) == null ? void 0 : oe.x) ?? 0)),
|
|
10306
|
+
y: Math.abs(Math.round($.pageY) - (((ee = q.current) == null ? void 0 : ee.y) ?? 0))
|
|
10307
10307
|
};
|
|
10308
|
-
}, re = (
|
|
10309
|
-
T.x <= 10 && T.y <= 10 ?
|
|
10308
|
+
}, re = ($) => {
|
|
10309
|
+
T.x <= 10 && T.y <= 10 ? $.preventDefault() : v.contains($.target) || R(!1), document.removeEventListener("pointermove", J), q.current = null;
|
|
10310
10310
|
};
|
|
10311
10311
|
return q.current !== null && (document.addEventListener("pointermove", J), document.addEventListener("pointerup", re, { capture: !0, once: !0 })), () => {
|
|
10312
10312
|
document.removeEventListener("pointermove", J), document.removeEventListener("pointerup", re, { capture: !0 });
|
|
@@ -10318,22 +10318,22 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10318
10318
|
window.removeEventListener("blur", T), window.removeEventListener("resize", T);
|
|
10319
10319
|
};
|
|
10320
10320
|
}, [R]);
|
|
10321
|
-
const [ne, N] =
|
|
10322
|
-
const J = _().filter((oe) => !oe.disabled), re = J.find((oe) => oe.ref.current === document.activeElement),
|
|
10323
|
-
|
|
10324
|
-
}),
|
|
10321
|
+
const [ne, N] = Uc((T) => {
|
|
10322
|
+
const J = _().filter((oe) => !oe.disabled), re = J.find((oe) => oe.ref.current === document.activeElement), $ = Bc(J, T, re);
|
|
10323
|
+
$ && setTimeout(() => $.ref.current.focus());
|
|
10324
|
+
}), F = g.useCallback(
|
|
10325
10325
|
(T, J, re) => {
|
|
10326
|
-
const
|
|
10327
|
-
(y.value !== void 0 && y.value === J ||
|
|
10326
|
+
const $ = !B.current && !re;
|
|
10327
|
+
(y.value !== void 0 && y.value === J || $) && (I(T), $ && (B.current = !0));
|
|
10328
10328
|
},
|
|
10329
10329
|
[y.value]
|
|
10330
10330
|
), G = g.useCallback(() => v == null ? void 0 : v.focus(), [v]), H = g.useCallback(
|
|
10331
10331
|
(T, J, re) => {
|
|
10332
|
-
const
|
|
10333
|
-
(y.value !== void 0 && y.value === J ||
|
|
10332
|
+
const $ = !B.current && !re;
|
|
10333
|
+
(y.value !== void 0 && y.value === J || $) && P(T);
|
|
10334
10334
|
},
|
|
10335
10335
|
[y.value]
|
|
10336
|
-
), ve = n === "popper" ? Lo :
|
|
10336
|
+
), ve = n === "popper" ? Lo : Tc, se = ve === Lo ? {
|
|
10337
10337
|
side: s,
|
|
10338
10338
|
sideOffset: c,
|
|
10339
10339
|
align: d,
|
|
@@ -10346,17 +10346,17 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10346
10346
|
avoidCollisions: b
|
|
10347
10347
|
} : {};
|
|
10348
10348
|
return /* @__PURE__ */ l.jsx(
|
|
10349
|
-
|
|
10349
|
+
Rc,
|
|
10350
10350
|
{
|
|
10351
10351
|
scope: r,
|
|
10352
10352
|
content: v,
|
|
10353
10353
|
viewport: C,
|
|
10354
10354
|
onViewportChange: S,
|
|
10355
|
-
itemRefCallback:
|
|
10355
|
+
itemRefCallback: F,
|
|
10356
10356
|
selectedItem: E,
|
|
10357
10357
|
onItemLeave: G,
|
|
10358
10358
|
itemTextRefCallback: H,
|
|
10359
|
-
focusSelectedItem:
|
|
10359
|
+
focusSelectedItem: U,
|
|
10360
10360
|
selectedItemText: M,
|
|
10361
10361
|
position: n,
|
|
10362
10362
|
isPositioned: D,
|
|
@@ -10374,7 +10374,7 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10374
10374
|
(J = y.trigger) == null || J.focus({ preventScroll: !0 }), T.preventDefault();
|
|
10375
10375
|
}),
|
|
10376
10376
|
children: /* @__PURE__ */ l.jsx(
|
|
10377
|
-
|
|
10377
|
+
Un,
|
|
10378
10378
|
{
|
|
10379
10379
|
asChild: !0,
|
|
10380
10380
|
disableOutsidePointerEvents: !0,
|
|
@@ -10405,12 +10405,12 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10405
10405
|
onKeyDown: be(w.onKeyDown, (T) => {
|
|
10406
10406
|
const J = T.ctrlKey || T.altKey || T.metaKey;
|
|
10407
10407
|
if (T.key === "Tab" && T.preventDefault(), !J && T.key.length === 1 && N(T.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(T.key)) {
|
|
10408
|
-
let
|
|
10409
|
-
if (["ArrowUp", "End"].includes(T.key) && (
|
|
10410
|
-
const oe = T.target, ee =
|
|
10411
|
-
|
|
10408
|
+
let $ = _().filter((oe) => !oe.disabled).map((oe) => oe.ref.current);
|
|
10409
|
+
if (["ArrowUp", "End"].includes(T.key) && ($ = $.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(T.key)) {
|
|
10410
|
+
const oe = T.target, ee = $.indexOf(oe);
|
|
10411
|
+
$ = $.slice(ee + 1);
|
|
10412
10412
|
}
|
|
10413
|
-
setTimeout(() => W(
|
|
10413
|
+
setTimeout(() => W($)), T.preventDefault();
|
|
10414
10414
|
}
|
|
10415
10415
|
})
|
|
10416
10416
|
}
|
|
@@ -10423,8 +10423,8 @@ var ot = 10, [Nc, Pt] = pr(Wt), Og = "SelectContentImpl", Ig = /* @__PURE__ */ t
|
|
|
10423
10423
|
);
|
|
10424
10424
|
}
|
|
10425
10425
|
);
|
|
10426
|
-
|
|
10427
|
-
var Dg = "SelectItemAlignedPosition",
|
|
10426
|
+
Ac.displayName = Og;
|
|
10427
|
+
var Dg = "SelectItemAlignedPosition", Tc = g.forwardRef((e, t) => {
|
|
10428
10428
|
const { __scopeSelect: r, onPlaced: n, ...o } = e, i = zt(Wt, r), a = Pt(Wt, r), [s, c] = g.useState(null), [d, u] = g.useState(null), f = Ne(t, (j) => u(j)), h = Jn(r), p = g.useRef(!1), x = g.useRef(!0), { viewport: m, selectedItem: b, selectedItemText: w, focusSelectedItem: y } = a, v = g.useCallback(() => {
|
|
10429
10429
|
if (i.trigger && i.valueNode && s && d && m && b && w) {
|
|
10430
10430
|
const j = i.trigger.getBoundingClientRect(), E = d.getBoundingClientRect(), I = i.valueNode.getBoundingClientRect(), M = w.getBoundingClientRect();
|
|
@@ -10446,14 +10446,14 @@ var Dg = "SelectItemAlignedPosition", Ac = g.forwardRef((e, t) => {
|
|
|
10446
10446
|
]);
|
|
10447
10447
|
s.style.minWidth = we + "px", s.style.right = Ye + "px";
|
|
10448
10448
|
}
|
|
10449
|
-
const P = h(), _ = window.innerHeight - ot * 2, D = m.scrollHeight, Y = window.getComputedStyle(d),
|
|
10449
|
+
const P = h(), _ = window.innerHeight - ot * 2, D = m.scrollHeight, Y = window.getComputedStyle(d), B = parseInt(Y.borderTopWidth, 10), W = parseInt(Y.paddingTop, 10), U = parseInt(Y.borderBottomWidth, 10), R = parseInt(Y.paddingBottom, 10), q = B + W + D + R + U, ne = Math.min(b.offsetHeight * 5, q), N = window.getComputedStyle(m), F = parseInt(N.paddingTop, 10), G = parseInt(N.paddingBottom, 10), H = j.top + j.height / 2 - ot, ve = _ - H, se = b.offsetHeight / 2, T = b.offsetTop + se, J = B + W + T, re = q - J;
|
|
10450
10450
|
if (J <= H) {
|
|
10451
10451
|
const oe = P.length > 0 && b === P[P.length - 1].ref.current;
|
|
10452
10452
|
s.style.bottom = "0px";
|
|
10453
10453
|
const ee = d.clientHeight - m.offsetTop - m.offsetHeight, ke = Math.max(
|
|
10454
10454
|
ve,
|
|
10455
10455
|
se + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
10456
|
-
(oe ? G : 0) + ee +
|
|
10456
|
+
(oe ? G : 0) + ee + U
|
|
10457
10457
|
), we = J + ke;
|
|
10458
10458
|
s.style.height = we + "px";
|
|
10459
10459
|
} else {
|
|
@@ -10461,8 +10461,8 @@ var Dg = "SelectItemAlignedPosition", Ac = g.forwardRef((e, t) => {
|
|
|
10461
10461
|
s.style.top = "0px";
|
|
10462
10462
|
const ke = Math.max(
|
|
10463
10463
|
H,
|
|
10464
|
-
|
|
10465
|
-
(oe ?
|
|
10464
|
+
B + m.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
|
|
10465
|
+
(oe ? F : 0) + se
|
|
10466
10466
|
) + re;
|
|
10467
10467
|
s.style.height = ke + "px", m.scrollTop = J - H + m.offsetTop;
|
|
10468
10468
|
}
|
|
@@ -10480,9 +10480,9 @@ var Dg = "SelectItemAlignedPosition", Ac = g.forwardRef((e, t) => {
|
|
|
10480
10480
|
i.dir,
|
|
10481
10481
|
n
|
|
10482
10482
|
]);
|
|
10483
|
-
|
|
10483
|
+
Be(() => v(), [v]);
|
|
10484
10484
|
const [k, C] = g.useState();
|
|
10485
|
-
|
|
10485
|
+
Be(() => {
|
|
10486
10486
|
d && C(window.getComputedStyle(d).zIndex);
|
|
10487
10487
|
}, [d]);
|
|
10488
10488
|
const S = g.useCallback(
|
|
@@ -10528,7 +10528,7 @@ var Dg = "SelectItemAlignedPosition", Ac = g.forwardRef((e, t) => {
|
|
|
10528
10528
|
}
|
|
10529
10529
|
);
|
|
10530
10530
|
});
|
|
10531
|
-
|
|
10531
|
+
Tc.displayName = Dg;
|
|
10532
10532
|
var Mg = "SelectPopperPosition", Lo = g.forwardRef((e, t) => {
|
|
10533
10533
|
const {
|
|
10534
10534
|
__scopeSelect: r,
|
|
@@ -10558,9 +10558,9 @@ var Mg = "SelectPopperPosition", Lo = g.forwardRef((e, t) => {
|
|
|
10558
10558
|
);
|
|
10559
10559
|
});
|
|
10560
10560
|
Lo.displayName = Mg;
|
|
10561
|
-
var [_g, Ni] = pr(Wt, {}),
|
|
10561
|
+
var [_g, Ni] = pr(Wt, {}), $o = "SelectViewport", zc = g.forwardRef(
|
|
10562
10562
|
(e, t) => {
|
|
10563
|
-
const { __scopeSelect: r, nonce: n, ...o } = e, i = Pt(
|
|
10563
|
+
const { __scopeSelect: r, nonce: n, ...o } = e, i = Pt($o, r), a = Ni($o, r), s = Ne(t, i.onViewportChange), c = g.useRef(0);
|
|
10564
10564
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
10565
10565
|
/* @__PURE__ */ l.jsx(
|
|
10566
10566
|
"style",
|
|
@@ -10610,22 +10610,22 @@ var [_g, Ni] = pr(Wt, {}), Fo = "SelectViewport", Tc = g.forwardRef(
|
|
|
10610
10610
|
] });
|
|
10611
10611
|
}
|
|
10612
10612
|
);
|
|
10613
|
-
|
|
10614
|
-
var
|
|
10613
|
+
zc.displayName = $o;
|
|
10614
|
+
var Pc = "SelectGroup", [Lg, $g] = pr(Pc), Fg = g.forwardRef(
|
|
10615
10615
|
(e, t) => {
|
|
10616
|
-
const { __scopeSelect: r, ...n } = e, o =
|
|
10616
|
+
const { __scopeSelect: r, ...n } = e, o = Ur();
|
|
10617
10617
|
return /* @__PURE__ */ l.jsx(Lg, { scope: r, id: o, children: /* @__PURE__ */ l.jsx(Ee.div, { role: "group", "aria-labelledby": o, ...n, ref: t }) });
|
|
10618
10618
|
}
|
|
10619
10619
|
);
|
|
10620
|
-
|
|
10621
|
-
var
|
|
10620
|
+
Fg.displayName = Pc;
|
|
10621
|
+
var Oc = "SelectLabel", Wg = g.forwardRef(
|
|
10622
10622
|
(e, t) => {
|
|
10623
|
-
const { __scopeSelect: r, ...n } = e, o =
|
|
10623
|
+
const { __scopeSelect: r, ...n } = e, o = $g(Oc, r);
|
|
10624
10624
|
return /* @__PURE__ */ l.jsx(Ee.div, { id: o.id, ...n, ref: t });
|
|
10625
10625
|
}
|
|
10626
10626
|
);
|
|
10627
|
-
Wg.displayName =
|
|
10628
|
-
var Rn = "SelectItem", [
|
|
10627
|
+
Wg.displayName = Oc;
|
|
10628
|
+
var Rn = "SelectItem", [Ug, Ic] = pr(Rn), Dc = g.forwardRef(
|
|
10629
10629
|
(e, t) => {
|
|
10630
10630
|
const {
|
|
10631
10631
|
__scopeSelect: r,
|
|
@@ -10639,7 +10639,7 @@ var Rn = "SelectItem", [Bg, Oc] = pr(Rn), Ic = g.forwardRef(
|
|
|
10639
10639
|
var v;
|
|
10640
10640
|
return (v = c.itemRefCallback) == null ? void 0 : v.call(c, y, n, o);
|
|
10641
10641
|
}
|
|
10642
|
-
), m =
|
|
10642
|
+
), m = Ur(), b = g.useRef("touch"), w = () => {
|
|
10643
10643
|
o || (s.onValueChange(n), s.onOpenChange(!1));
|
|
10644
10644
|
};
|
|
10645
10645
|
if (n === "")
|
|
@@ -10647,7 +10647,7 @@ var Rn = "SelectItem", [Bg, Oc] = pr(Rn), Ic = g.forwardRef(
|
|
|
10647
10647
|
"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
|
|
10648
10648
|
);
|
|
10649
10649
|
return /* @__PURE__ */ l.jsx(
|
|
10650
|
-
|
|
10650
|
+
Ug,
|
|
10651
10651
|
{
|
|
10652
10652
|
scope: r,
|
|
10653
10653
|
value: n,
|
|
@@ -10708,10 +10708,10 @@ var Rn = "SelectItem", [Bg, Oc] = pr(Rn), Ic = g.forwardRef(
|
|
|
10708
10708
|
);
|
|
10709
10709
|
}
|
|
10710
10710
|
);
|
|
10711
|
-
|
|
10712
|
-
var Cr = "SelectItemText",
|
|
10711
|
+
Dc.displayName = Rn;
|
|
10712
|
+
var Cr = "SelectItemText", Mc = g.forwardRef(
|
|
10713
10713
|
(e, t) => {
|
|
10714
|
-
const { __scopeSelect: r, className: n, style: o, ...i } = e, a = zt(Cr, r), s = Pt(Cr, r), c =
|
|
10714
|
+
const { __scopeSelect: r, className: n, style: o, ...i } = e, a = zt(Cr, r), s = Pt(Cr, r), c = Ic(Cr, r), d = Tg(Cr, r), [u, f] = g.useState(null), h = Ne(
|
|
10715
10715
|
t,
|
|
10716
10716
|
(w) => f(w),
|
|
10717
10717
|
c.onItemTextChange,
|
|
@@ -10723,23 +10723,23 @@ var Cr = "SelectItemText", Dc = g.forwardRef(
|
|
|
10723
10723
|
() => /* @__PURE__ */ l.jsx("option", { value: c.value, disabled: c.disabled, children: p }, c.value),
|
|
10724
10724
|
[c.disabled, c.value, p]
|
|
10725
10725
|
), { onNativeOptionAdd: m, onNativeOptionRemove: b } = d;
|
|
10726
|
-
return
|
|
10726
|
+
return Be(() => (m(x), () => b(x)), [m, b, x]), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
10727
10727
|
/* @__PURE__ */ l.jsx(Ee.span, { id: c.textId, ...i, ref: h }),
|
|
10728
10728
|
c.isSelected && a.valueNode && !a.valueNodeHasChildren ? Pn.createPortal(i.children, a.valueNode) : null
|
|
10729
10729
|
] });
|
|
10730
10730
|
}
|
|
10731
10731
|
);
|
|
10732
|
-
|
|
10733
|
-
var
|
|
10732
|
+
Mc.displayName = Cr;
|
|
10733
|
+
var _c = "SelectItemIndicator", Lc = g.forwardRef(
|
|
10734
10734
|
(e, t) => {
|
|
10735
10735
|
const { __scopeSelect: r, ...n } = e;
|
|
10736
|
-
return
|
|
10736
|
+
return Ic(_c, r).isSelected ? /* @__PURE__ */ l.jsx(Ee.span, { "aria-hidden": !0, ...n, ref: t }) : null;
|
|
10737
10737
|
}
|
|
10738
10738
|
);
|
|
10739
|
-
|
|
10740
|
-
var
|
|
10741
|
-
const r = Pt(
|
|
10742
|
-
return
|
|
10739
|
+
Lc.displayName = _c;
|
|
10740
|
+
var Fo = "SelectScrollUpButton", Bg = g.forwardRef((e, t) => {
|
|
10741
|
+
const r = Pt(Fo, e.__scopeSelect), n = Ni(Fo, e.__scopeSelect), [o, i] = g.useState(!1), a = Ne(t, n.onScrollButtonChange);
|
|
10742
|
+
return Be(() => {
|
|
10743
10743
|
if (r.viewport && r.isPositioned) {
|
|
10744
10744
|
let s = function() {
|
|
10745
10745
|
const d = c.scrollTop > 0;
|
|
@@ -10749,7 +10749,7 @@ var $o = "SelectScrollUpButton", Ug = g.forwardRef((e, t) => {
|
|
|
10749
10749
|
return s(), c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
|
|
10750
10750
|
}
|
|
10751
10751
|
}, [r.viewport, r.isPositioned]), o ? /* @__PURE__ */ l.jsx(
|
|
10752
|
-
|
|
10752
|
+
$c,
|
|
10753
10753
|
{
|
|
10754
10754
|
...e,
|
|
10755
10755
|
ref: a,
|
|
@@ -10760,10 +10760,10 @@ var $o = "SelectScrollUpButton", Ug = g.forwardRef((e, t) => {
|
|
|
10760
10760
|
}
|
|
10761
10761
|
) : null;
|
|
10762
10762
|
});
|
|
10763
|
-
|
|
10763
|
+
Bg.displayName = Fo;
|
|
10764
10764
|
var Wo = "SelectScrollDownButton", Hg = g.forwardRef((e, t) => {
|
|
10765
10765
|
const r = Pt(Wo, e.__scopeSelect), n = Ni(Wo, e.__scopeSelect), [o, i] = g.useState(!1), a = Ne(t, n.onScrollButtonChange);
|
|
10766
|
-
return
|
|
10766
|
+
return Be(() => {
|
|
10767
10767
|
if (r.viewport && r.isPositioned) {
|
|
10768
10768
|
let s = function() {
|
|
10769
10769
|
const d = c.scrollHeight - c.clientHeight, u = Math.ceil(c.scrollTop) < d;
|
|
@@ -10773,7 +10773,7 @@ var Wo = "SelectScrollDownButton", Hg = g.forwardRef((e, t) => {
|
|
|
10773
10773
|
return s(), c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
|
|
10774
10774
|
}
|
|
10775
10775
|
}, [r.viewport, r.isPositioned]), o ? /* @__PURE__ */ l.jsx(
|
|
10776
|
-
|
|
10776
|
+
$c,
|
|
10777
10777
|
{
|
|
10778
10778
|
...e,
|
|
10779
10779
|
ref: a,
|
|
@@ -10785,11 +10785,11 @@ var Wo = "SelectScrollDownButton", Hg = g.forwardRef((e, t) => {
|
|
|
10785
10785
|
) : null;
|
|
10786
10786
|
});
|
|
10787
10787
|
Hg.displayName = Wo;
|
|
10788
|
-
var
|
|
10788
|
+
var $c = g.forwardRef((e, t) => {
|
|
10789
10789
|
const { __scopeSelect: r, onAutoScroll: n, ...o } = e, i = Pt("SelectScrollButton", r), a = g.useRef(null), s = Jn(r), c = g.useCallback(() => {
|
|
10790
10790
|
a.current !== null && (window.clearInterval(a.current), a.current = null);
|
|
10791
10791
|
}, []);
|
|
10792
|
-
return g.useEffect(() => () => c(), [c]),
|
|
10792
|
+
return g.useEffect(() => () => c(), [c]), Be(() => {
|
|
10793
10793
|
var u;
|
|
10794
10794
|
const d = s().find((f) => f.ref.current === document.activeElement);
|
|
10795
10795
|
(u = d == null ? void 0 : d.ref.current) == null || u.scrollIntoView({ block: "nearest" });
|
|
@@ -10819,13 +10819,13 @@ var Lc = g.forwardRef((e, t) => {
|
|
|
10819
10819
|
}
|
|
10820
10820
|
);
|
|
10821
10821
|
Kg.displayName = Vg;
|
|
10822
|
-
var
|
|
10822
|
+
var Uo = "SelectArrow", Yg = g.forwardRef(
|
|
10823
10823
|
(e, t) => {
|
|
10824
|
-
const { __scopeSelect: r, ...n } = e, o = Zn(r), i = zt(
|
|
10824
|
+
const { __scopeSelect: r, ...n } = e, o = Zn(r), i = zt(Uo, r), a = Pt(Uo, r);
|
|
10825
10825
|
return i.open && a.position === "popper" ? /* @__PURE__ */ l.jsx(Ei, { ...o, ...n, ref: t }) : null;
|
|
10826
10826
|
}
|
|
10827
10827
|
);
|
|
10828
|
-
Yg.displayName =
|
|
10828
|
+
Yg.displayName = Uo;
|
|
10829
10829
|
var Gg = "SelectBubbleInput", Fc = g.forwardRef(
|
|
10830
10830
|
({ __scopeSelect: e, value: t, ...r }, n) => {
|
|
10831
10831
|
const o = g.useRef(null), i = Ne(n, o), a = _m(t);
|
|
@@ -10844,7 +10844,7 @@ var Gg = "SelectBubbleInput", Fc = g.forwardRef(
|
|
|
10844
10844
|
Ee.select,
|
|
10845
10845
|
{
|
|
10846
10846
|
...r,
|
|
10847
|
-
style: { ...
|
|
10847
|
+
style: { ...lc, ...r.style },
|
|
10848
10848
|
ref: i,
|
|
10849
10849
|
defaultValue: t
|
|
10850
10850
|
}
|
|
@@ -10852,10 +10852,10 @@ var Gg = "SelectBubbleInput", Fc = g.forwardRef(
|
|
|
10852
10852
|
}
|
|
10853
10853
|
);
|
|
10854
10854
|
Fc.displayName = Gg;
|
|
10855
|
-
function
|
|
10855
|
+
function Wc(e) {
|
|
10856
10856
|
return e === "" || e === void 0;
|
|
10857
10857
|
}
|
|
10858
|
-
function
|
|
10858
|
+
function Uc(e) {
|
|
10859
10859
|
const t = Lt(e), r = g.useRef(""), n = g.useRef(0), o = g.useCallback(
|
|
10860
10860
|
(a) => {
|
|
10861
10861
|
const s = r.current + a;
|
|
@@ -10881,9 +10881,9 @@ function Bc(e, t, r) {
|
|
|
10881
10881
|
function qg(e, t) {
|
|
10882
10882
|
return e.map((r, n) => e[(t + n) % e.length]);
|
|
10883
10883
|
}
|
|
10884
|
-
var Xg =
|
|
10885
|
-
const n0 = Xg, o0 = Jg,
|
|
10886
|
-
|
|
10884
|
+
var Xg = wc, Hc = kc, Jg = Sc, Zg = Ec, Qg = jc, Vc = Nc, e0 = zc, Kc = Dc, t0 = Mc, r0 = Lc;
|
|
10885
|
+
const n0 = Xg, o0 = Jg, Yc = g.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsxs(
|
|
10886
|
+
Hc,
|
|
10887
10887
|
{
|
|
10888
10888
|
ref: n,
|
|
10889
10889
|
className: ae(
|
|
@@ -10900,9 +10900,9 @@ const n0 = Xg, o0 = Jg, Kc = g.forwardRef(({ className: e, children: t, ...r },
|
|
|
10900
10900
|
]
|
|
10901
10901
|
}
|
|
10902
10902
|
));
|
|
10903
|
-
|
|
10904
|
-
const
|
|
10905
|
-
|
|
10903
|
+
Yc.displayName = Hc.displayName;
|
|
10904
|
+
const Gc = g.forwardRef(({ className: e, children: t, position: r = "popper", ...n }, o) => /* @__PURE__ */ l.jsx(Qg, { children: /* @__PURE__ */ l.jsx(
|
|
10905
|
+
Vc,
|
|
10906
10906
|
{
|
|
10907
10907
|
ref: o,
|
|
10908
10908
|
className: ae(
|
|
@@ -10926,9 +10926,9 @@ const Yc = g.forwardRef(({ className: e, children: t, position: r = "popper", ..
|
|
|
10926
10926
|
)
|
|
10927
10927
|
}
|
|
10928
10928
|
) }));
|
|
10929
|
-
|
|
10930
|
-
const
|
|
10931
|
-
|
|
10929
|
+
Gc.displayName = Vc.displayName;
|
|
10930
|
+
const qc = g.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsxs(
|
|
10931
|
+
Kc,
|
|
10932
10932
|
{
|
|
10933
10933
|
ref: n,
|
|
10934
10934
|
className: ae(
|
|
@@ -10943,24 +10943,24 @@ const Gc = g.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
|
|
|
10943
10943
|
]
|
|
10944
10944
|
}
|
|
10945
10945
|
));
|
|
10946
|
-
|
|
10947
|
-
const
|
|
10948
|
-
function
|
|
10949
|
-
const e = g.useContext(
|
|
10946
|
+
qc.displayName = Kc.displayName;
|
|
10947
|
+
const Xc = g.createContext(null);
|
|
10948
|
+
function Jc() {
|
|
10949
|
+
const e = g.useContext(Xc);
|
|
10950
10950
|
if (!e) throw new Error("Dialog components must be used within Dialog");
|
|
10951
10951
|
return e;
|
|
10952
10952
|
}
|
|
10953
|
-
function
|
|
10953
|
+
function Zc({ open: e, onOpenChange: t, children: r }) {
|
|
10954
10954
|
const [n, o] = g.useState(!1), i = e !== void 0, a = i ? e : n, s = g.useCallback(
|
|
10955
10955
|
(d) => {
|
|
10956
10956
|
i || o(d), t == null || t(d);
|
|
10957
10957
|
},
|
|
10958
10958
|
[i, t]
|
|
10959
10959
|
), c = g.useMemo(() => ({ open: a, onOpenChange: s }), [a, s]);
|
|
10960
|
-
return /* @__PURE__ */ l.jsx(
|
|
10960
|
+
return /* @__PURE__ */ l.jsx(Xc.Provider, { value: c, children: r });
|
|
10961
10961
|
}
|
|
10962
10962
|
function i0({ asChild: e, children: t }) {
|
|
10963
|
-
const { onOpenChange: r } =
|
|
10963
|
+
const { onOpenChange: r } = Jc(), n = g.Children.only(t);
|
|
10964
10964
|
return e && g.isValidElement(n) ? g.cloneElement(n, {
|
|
10965
10965
|
onClick: (o) => {
|
|
10966
10966
|
var i, a;
|
|
@@ -10968,8 +10968,8 @@ function i0({ asChild: e, children: t }) {
|
|
|
10968
10968
|
}
|
|
10969
10969
|
}) : /* @__PURE__ */ l.jsx("button", { type: "button", onClick: () => r(!0), children: t });
|
|
10970
10970
|
}
|
|
10971
|
-
function
|
|
10972
|
-
const { open: o, onOpenChange: i } =
|
|
10971
|
+
function Qc({ className: e, children: t, preventCloseOnBackdropClick: r, ...n }) {
|
|
10972
|
+
const { open: o, onOpenChange: i } = Jc();
|
|
10973
10973
|
if (g.useEffect(() => {
|
|
10974
10974
|
const s = (c) => {
|
|
10975
10975
|
c.key === "Escape" && i(!1);
|
|
@@ -10981,7 +10981,7 @@ function Zc({ className: e, children: t, preventCloseOnBackdropClick: r, ...n })
|
|
|
10981
10981
|
const a = (s) => {
|
|
10982
10982
|
s.preventDefault(), s.stopPropagation();
|
|
10983
10983
|
};
|
|
10984
|
-
return
|
|
10984
|
+
return Wa(
|
|
10985
10985
|
/* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
10986
10986
|
/* @__PURE__ */ l.jsx(
|
|
10987
10987
|
"div",
|
|
@@ -11011,16 +11011,16 @@ function Zc({ className: e, children: t, preventCloseOnBackdropClick: r, ...n })
|
|
|
11011
11011
|
document.body
|
|
11012
11012
|
);
|
|
11013
11013
|
}
|
|
11014
|
-
function
|
|
11014
|
+
function el({ className: e, ...t }) {
|
|
11015
11015
|
return /* @__PURE__ */ l.jsx("div", { className: ae("flex flex-col gap-1.5 pb-4", e), ...t });
|
|
11016
11016
|
}
|
|
11017
11017
|
function a0({ className: e, ...t }) {
|
|
11018
11018
|
return /* @__PURE__ */ l.jsx("div", { className: ae("flex justify-end gap-2 pt-4", e), ...t });
|
|
11019
11019
|
}
|
|
11020
|
-
function
|
|
11020
|
+
function tl({ className: e, ...t }) {
|
|
11021
11021
|
return /* @__PURE__ */ l.jsx("h2", { className: ae("text-sm font-semibold text-white", e), ...t });
|
|
11022
11022
|
}
|
|
11023
|
-
function
|
|
11023
|
+
function rl({ className: e, ...t }) {
|
|
11024
11024
|
return /* @__PURE__ */ l.jsx("p", { className: ae("text-xs text-zinc-400", e), ...t });
|
|
11025
11025
|
}
|
|
11026
11026
|
const Qe = g.forwardRef(
|
|
@@ -11037,7 +11037,7 @@ const Qe = g.forwardRef(
|
|
|
11037
11037
|
icon: "h-8 w-8",
|
|
11038
11038
|
"icon-sm": "h-7 w-7",
|
|
11039
11039
|
"icon-xs": "h-6 w-6"
|
|
11040
|
-
}, d = n ?
|
|
11040
|
+
}, d = n ? $p : "button";
|
|
11041
11041
|
return /* @__PURE__ */ l.jsx(
|
|
11042
11042
|
d,
|
|
11043
11043
|
{
|
|
@@ -11243,7 +11243,7 @@ function l0({
|
|
|
11243
11243
|
)
|
|
11244
11244
|
] })
|
|
11245
11245
|
] }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
11246
|
-
/* @__PURE__ */ l.jsx("div", { className: "w-12 h-12 rounded-xl bg-blue-500/10 flex items-center justify-center text-blue-500 mb-3", children: /* @__PURE__ */ l.jsx(
|
|
11246
|
+
/* @__PURE__ */ l.jsx("div", { className: "w-12 h-12 rounded-xl bg-blue-500/10 flex items-center justify-center text-blue-500 mb-3", children: /* @__PURE__ */ l.jsx(is, { size: 22 }) }),
|
|
11247
11247
|
/* @__PURE__ */ l.jsx("p", { className: "text-sm font-medium text-white mb-1", children: "Trascina un'immagine qui" }),
|
|
11248
11248
|
/* @__PURE__ */ l.jsx("p", { className: "text-[11px] text-zinc-500 mb-3", children: "oppure clicca per selezionare un file" }),
|
|
11249
11249
|
/* @__PURE__ */ l.jsx("span", { className: "text-[10px] text-zinc-600 bg-white/[0.03] px-3 py-1 rounded", children: "PNG, JPG, WebP — max 5MB" })
|
|
@@ -11311,7 +11311,7 @@ function d0({
|
|
|
11311
11311
|
/* @__PURE__ */ l.jsx("span", { className: "text-[11px] text-zinc-500", children: "Immagine caricata correttamente" })
|
|
11312
11312
|
] })
|
|
11313
11313
|
] }) : o ? null : /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col items-center py-12 text-zinc-600", children: [
|
|
11314
|
-
/* @__PURE__ */ l.jsx(
|
|
11314
|
+
/* @__PURE__ */ l.jsx(os, { size: 32, className: "mb-3 opacity-40" }),
|
|
11315
11315
|
/* @__PURE__ */ l.jsx("p", { className: "text-xs", children: "Incolla un URL e premi Anteprima per verificare" })
|
|
11316
11316
|
] })
|
|
11317
11317
|
] });
|
|
@@ -11349,20 +11349,20 @@ const u0 = ({
|
|
|
11349
11349
|
}, m = i === "library" && s ? "1 immagine selezionata" : i === "upload" && d ? d.name : i === "url" && f ? "URL pronto" : "Nessuna selezione", b = (w) => {
|
|
11350
11350
|
w.preventDefault(), w.stopPropagation();
|
|
11351
11351
|
};
|
|
11352
|
-
return /* @__PURE__ */ l.jsx(
|
|
11353
|
-
|
|
11352
|
+
return /* @__PURE__ */ l.jsx(Zc, { open: e, onOpenChange: t, children: /* @__PURE__ */ l.jsxs(
|
|
11353
|
+
Qc,
|
|
11354
11354
|
{
|
|
11355
11355
|
className: "max-w-2xl p-0 gap-0 max-h-[90vh] flex flex-col",
|
|
11356
11356
|
preventCloseOnBackdropClick: i === "upload",
|
|
11357
11357
|
onDragOver: b,
|
|
11358
11358
|
onDrop: b,
|
|
11359
11359
|
children: [
|
|
11360
|
-
/* @__PURE__ */ l.jsxs(
|
|
11360
|
+
/* @__PURE__ */ l.jsxs(el, { className: "px-5 py-4 flex flex-row items-start justify-between gap-4 border-b border-zinc-800", children: [
|
|
11361
11361
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
11362
11362
|
/* @__PURE__ */ l.jsx("div", { className: "p-1.5 rounded-lg bg-blue-500/15 text-blue-500", children: /* @__PURE__ */ l.jsx(gn, { size: 18 }) }),
|
|
11363
11363
|
/* @__PURE__ */ l.jsxs("div", { children: [
|
|
11364
|
-
/* @__PURE__ */ l.jsx(
|
|
11365
|
-
/* @__PURE__ */ l.jsx(
|
|
11364
|
+
/* @__PURE__ */ l.jsx(tl, { children: "Image Picker" }),
|
|
11365
|
+
/* @__PURE__ */ l.jsx(rl, { children: "Scegli dalla libreria, carica dal disco o inserisci un link" })
|
|
11366
11366
|
] })
|
|
11367
11367
|
] }),
|
|
11368
11368
|
/* @__PURE__ */ l.jsx(
|
|
@@ -11387,8 +11387,8 @@ const u0 = ({
|
|
|
11387
11387
|
),
|
|
11388
11388
|
children: [
|
|
11389
11389
|
w === "library" && /* @__PURE__ */ l.jsx(gn, { size: 14 }),
|
|
11390
|
-
w === "upload" && /* @__PURE__ */ l.jsx(
|
|
11391
|
-
w === "url" && /* @__PURE__ */ l.jsx(
|
|
11390
|
+
w === "upload" && /* @__PURE__ */ l.jsx(is, { size: 14 }),
|
|
11391
|
+
w === "url" && /* @__PURE__ */ l.jsx(os, { size: 14 }),
|
|
11392
11392
|
w === "library" ? "Libreria" : w === "upload" ? "Upload" : "URL"
|
|
11393
11393
|
]
|
|
11394
11394
|
},
|
|
@@ -11545,7 +11545,7 @@ const u0 = ({
|
|
|
11545
11545
|
}, Ra = [
|
|
11546
11546
|
{ name: "layers", Icon: ri },
|
|
11547
11547
|
{ name: "github", Icon: nu },
|
|
11548
|
-
{ name: "arrow-right", Icon:
|
|
11548
|
+
{ name: "arrow-right", Icon: Ud },
|
|
11549
11549
|
{ name: "box", Icon: Kd },
|
|
11550
11550
|
{ name: "terminal", Icon: yu },
|
|
11551
11551
|
{ name: "chevron-right", Icon: Xd },
|
|
@@ -11580,8 +11580,8 @@ const u0 = ({
|
|
|
11580
11580
|
"ui:select": ({ label: e, value: t, onChange: r, options: n = [] }) => /* @__PURE__ */ l.jsxs("div", { className: "grid w-full gap-2 mb-4", children: [
|
|
11581
11581
|
/* @__PURE__ */ l.jsx(_t, { className: "text-[11px] font-semibold tracking-[0.02em] text-zinc-300", children: sn(e) }),
|
|
11582
11582
|
/* @__PURE__ */ l.jsxs(n0, { value: t || "", onValueChange: r, children: [
|
|
11583
|
-
/* @__PURE__ */ l.jsx(
|
|
11584
|
-
/* @__PURE__ */ l.jsx(
|
|
11583
|
+
/* @__PURE__ */ l.jsx(Yc, { className: "w-full h-9 text-[13px] bg-zinc-900/50 border-zinc-700 focus:ring-blue-600", children: /* @__PURE__ */ l.jsx(o0, { placeholder: "Select..." }) }),
|
|
11584
|
+
/* @__PURE__ */ l.jsx(Gc, { className: "dark", children: n.map((o) => /* @__PURE__ */ l.jsx(qc, { value: o, className: "text-[13px]", children: o }, o)) })
|
|
11585
11585
|
] })
|
|
11586
11586
|
] }),
|
|
11587
11587
|
"ui:checkbox": ({ label: e, value: t, onChange: r }) => /* @__PURE__ */ l.jsxs("div", { className: "flex items-center space-x-2 mb-4 p-2.5 rounded border border-zinc-700/60 bg-zinc-900/20", children: [
|
|
@@ -11622,7 +11622,7 @@ const u0 = ({
|
|
|
11622
11622
|
const [n, o] = Q(!1), i = Ra.find((a) => a.name === (t || ""));
|
|
11623
11623
|
return /* @__PURE__ */ l.jsxs("div", { className: "grid w-full gap-1.5 mb-4", children: [
|
|
11624
11624
|
/* @__PURE__ */ l.jsx(_t, { className: "text-[9px] uppercase font-black tracking-widest text-zinc-500", children: e }),
|
|
11625
|
-
/* @__PURE__ */ l.jsxs(
|
|
11625
|
+
/* @__PURE__ */ l.jsxs(Zc, { open: n, onOpenChange: o, children: [
|
|
11626
11626
|
/* @__PURE__ */ l.jsx(i0, { asChild: !0, children: /* @__PURE__ */ l.jsx(
|
|
11627
11627
|
Qe,
|
|
11628
11628
|
{
|
|
@@ -11637,10 +11637,10 @@ const u0 = ({
|
|
|
11637
11637
|
] })
|
|
11638
11638
|
}
|
|
11639
11639
|
) }),
|
|
11640
|
-
/* @__PURE__ */ l.jsxs(
|
|
11641
|
-
/* @__PURE__ */ l.jsxs(
|
|
11642
|
-
/* @__PURE__ */ l.jsx(
|
|
11643
|
-
/* @__PURE__ */ l.jsx(
|
|
11640
|
+
/* @__PURE__ */ l.jsxs(Qc, { className: "sm:max-w-[280px] p-4", children: [
|
|
11641
|
+
/* @__PURE__ */ l.jsxs(el, { children: [
|
|
11642
|
+
/* @__PURE__ */ l.jsx(tl, { className: "text-sm", children: "Choose icon" }),
|
|
11643
|
+
/* @__PURE__ */ l.jsx(rl, { className: "text-xs", children: "Click an icon to select it." })
|
|
11644
11644
|
] }),
|
|
11645
11645
|
/* @__PURE__ */ l.jsx("div", { className: "grid grid-cols-5 gap-2 py-2", children: Ra.map(({ name: a, Icon: s }) => /* @__PURE__ */ l.jsx(
|
|
11646
11646
|
"button",
|
|
@@ -11662,19 +11662,19 @@ const u0 = ({
|
|
|
11662
11662
|
] })
|
|
11663
11663
|
] });
|
|
11664
11664
|
}
|
|
11665
|
-
},
|
|
11665
|
+
}, Bo = (e) => {
|
|
11666
11666
|
if (e instanceof Oe.ZodOptional || e instanceof Oe.ZodDefault)
|
|
11667
|
-
return
|
|
11667
|
+
return Bo(e._def.innerType);
|
|
11668
11668
|
if (e instanceof Oe.ZodObject) {
|
|
11669
11669
|
const t = {
|
|
11670
11670
|
id: crypto.randomUUID()
|
|
11671
11671
|
};
|
|
11672
11672
|
for (const r in e.shape)
|
|
11673
|
-
r !== "id" && (t[r] =
|
|
11673
|
+
r !== "id" && (t[r] = Bo(e.shape[r]));
|
|
11674
11674
|
return t;
|
|
11675
11675
|
}
|
|
11676
11676
|
return e instanceof Oe.ZodArray ? [] : e instanceof Oe.ZodString ? "" : e instanceof Oe.ZodNumber ? 0 : e instanceof Oe.ZodBoolean ? !1 : e instanceof Oe.ZodEnum ? e._def.values[0] : null;
|
|
11677
|
-
}, An = (e) => e instanceof Oe.ZodOptional || e instanceof Oe.ZodDefault || e instanceof Oe.ZodNullable ? An(e._def.innerType) : e,
|
|
11677
|
+
}, An = (e) => e instanceof Oe.ZodOptional || e instanceof Oe.ZodDefault || e instanceof Oe.ZodNullable ? An(e._def.innerType) : e, nl = (e) => {
|
|
11678
11678
|
var n;
|
|
11679
11679
|
const t = e;
|
|
11680
11680
|
if (typeof e.description == "string" && e.description.length > 0)
|
|
@@ -11682,13 +11682,13 @@ const u0 = ({
|
|
|
11682
11682
|
if (typeof ((n = t._def) == null ? void 0 : n.description) == "string" && t._def.description.length > 0)
|
|
11683
11683
|
return t._def.description;
|
|
11684
11684
|
const r = An(e);
|
|
11685
|
-
return r !== e ?
|
|
11685
|
+
return r !== e ? nl(r) : null;
|
|
11686
11686
|
}, cn = (e, t) => e && !t ? "opacity-10" : "opacity-100", Yt = (e, t) => e != null && t.toLowerCase() === e.toLowerCase(), ko = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (t) => t.toUpperCase()), Tn = ({ schema: e, data: t, onChange: r, keys: n, expandedItemPath: o, onSidebarExpandedItemChange: i }) => {
|
|
11687
11687
|
const a = e.shape, s = n != null ? Object.keys(a).filter((f) => n.includes(f)) : Object.keys(a), c = o == null ? void 0 : o[0], d = (c == null ? void 0 : c.fieldKey) ?? null, u = d != null;
|
|
11688
11688
|
return /* @__PURE__ */ l.jsx("div", { className: "space-y-4", children: s.map((f) => {
|
|
11689
11689
|
const h = a[f];
|
|
11690
11690
|
if (!h) return null;
|
|
11691
|
-
const p = An(h), x =
|
|
11691
|
+
const p = An(h), x = nl(h) || "ui:text", m = t[f];
|
|
11692
11692
|
if (x === "ui:editorial-markdown") return null;
|
|
11693
11693
|
if (x === "ui:image-picker" && p instanceof Oe.ZodObject) {
|
|
11694
11694
|
const k = Yt(d, f), C = kr["ui:image-picker"] || kr["ui:text"];
|
|
@@ -11759,7 +11759,7 @@ const u0 = ({
|
|
|
11759
11759
|
{
|
|
11760
11760
|
type: "button",
|
|
11761
11761
|
onClick: () => {
|
|
11762
|
-
const M =
|
|
11762
|
+
const M = Bo(C);
|
|
11763
11763
|
r({ ...t, [f]: [...k, M] });
|
|
11764
11764
|
},
|
|
11765
11765
|
className: "flex items-center gap-1 px-2.5 py-1.5 bg-blue-600/10 hover:bg-blue-600/20 text-blue-400 rounded text-[11px] font-semibold transition-colors",
|
|
@@ -11771,12 +11771,12 @@ const u0 = ({
|
|
|
11771
11771
|
)
|
|
11772
11772
|
] }),
|
|
11773
11773
|
/* @__PURE__ */ l.jsx("div", { className: "space-y-2", children: k.map((M, P) => {
|
|
11774
|
-
const _ = M, D = _.id || `legacy-${P}`, Y = (typeof _.title == "string" ? _.title : null) || (typeof _.label == "string" ? _.label : null) || (typeof _.name == "string" ? _.name : null) || (typeof _.content == "string" ? _.content : null) || (typeof _.text == "string" ? _.text : null) || `${ko(f)} #${P + 1}`,
|
|
11774
|
+
const _ = M, D = _.id || `legacy-${P}`, Y = (typeof _.title == "string" ? _.title : null) || (typeof _.label == "string" ? _.label : null) || (typeof _.name == "string" ? _.name : null) || (typeof _.content == "string" ? _.content : null) || (typeof _.text == "string" ? _.text : null) || `${ko(f)} #${P + 1}`, B = I, W = String(_.id ?? D), U = B != null && String(B) === W, R = U && o && o.length > 1 ? o.slice(1) : void 0, q = u && j && B != null && !U;
|
|
11775
11775
|
return /* @__PURE__ */ l.jsx(
|
|
11776
11776
|
h0,
|
|
11777
11777
|
{
|
|
11778
11778
|
itemId: W,
|
|
11779
|
-
openItemId:
|
|
11779
|
+
openItemId: B != null ? String(B) : void 0,
|
|
11780
11780
|
isFaded: q,
|
|
11781
11781
|
index: P,
|
|
11782
11782
|
isFirst: P === 0,
|
|
@@ -11784,7 +11784,7 @@ const u0 = ({
|
|
|
11784
11784
|
label: Y,
|
|
11785
11785
|
onExpandedChange: i ? (ne) => i(ne ? { fieldKey: f, itemId: W } : null) : void 0,
|
|
11786
11786
|
onRemove: () => {
|
|
11787
|
-
const ne = k.filter((N,
|
|
11787
|
+
const ne = k.filter((N, F) => F !== P);
|
|
11788
11788
|
r({ ...t, [f]: ne });
|
|
11789
11789
|
},
|
|
11790
11790
|
onMoveUp: () => S(P, P - 1),
|
|
@@ -11887,7 +11887,7 @@ const u0 = ({
|
|
|
11887
11887
|
disabled: d,
|
|
11888
11888
|
onClick: s,
|
|
11889
11889
|
className: "text-zinc-500 hover:text-blue-400 disabled:opacity-20 p-1 transition-colors",
|
|
11890
|
-
children: /* @__PURE__ */ l.jsx(
|
|
11890
|
+
children: /* @__PURE__ */ l.jsx(Fd, { size: 12 })
|
|
11891
11891
|
}
|
|
11892
11892
|
),
|
|
11893
11893
|
/* @__PURE__ */ l.jsx("div", { className: "w-px h-3 bg-zinc-800 mx-1" }),
|
|
@@ -11932,13 +11932,13 @@ function g0(e) {
|
|
|
11932
11932
|
return g.useEffect(() => {
|
|
11933
11933
|
const d = ln(n.current);
|
|
11934
11934
|
i.current = s === "mounted" ? d : "none";
|
|
11935
|
-
}, [s]),
|
|
11935
|
+
}, [s]), Be(() => {
|
|
11936
11936
|
const d = n.current, u = o.current;
|
|
11937
11937
|
if (u !== e) {
|
|
11938
11938
|
const h = i.current, p = ln(d);
|
|
11939
11939
|
e ? c("MOUNT") : p === "none" || (d == null ? void 0 : d.display) === "none" ? c("UNMOUNT") : c(u && h !== p ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
|
|
11940
11940
|
}
|
|
11941
|
-
}, [e, c]),
|
|
11941
|
+
}, [e, c]), Be(() => {
|
|
11942
11942
|
if (t) {
|
|
11943
11943
|
let d;
|
|
11944
11944
|
const u = t.ownerDocument.defaultView ?? window, f = (p) => {
|
|
@@ -11974,7 +11974,7 @@ function b0(e) {
|
|
|
11974
11974
|
}
|
|
11975
11975
|
var [Qn] = Wr("Tooltip", [
|
|
11976
11976
|
fr
|
|
11977
|
-
]), eo = fr(),
|
|
11977
|
+
]), eo = fr(), ol = "TooltipProvider", v0 = 700, Ho = "tooltip.open", [x0, Ri] = Qn(ol), il = (e) => {
|
|
11978
11978
|
const {
|
|
11979
11979
|
__scopeTooltip: t,
|
|
11980
11980
|
delayDuration: r = v0,
|
|
@@ -12009,8 +12009,8 @@ var [Qn] = Wr("Tooltip", [
|
|
|
12009
12009
|
}
|
|
12010
12010
|
);
|
|
12011
12011
|
};
|
|
12012
|
-
|
|
12013
|
-
var Ir = "Tooltip", [w0, Vr] = Qn(Ir),
|
|
12012
|
+
il.displayName = ol;
|
|
12013
|
+
var Ir = "Tooltip", [w0, Vr] = Qn(Ir), al = (e) => {
|
|
12014
12014
|
const {
|
|
12015
12015
|
__scopeTooltip: t,
|
|
12016
12016
|
children: r,
|
|
@@ -12019,7 +12019,7 @@ var Ir = "Tooltip", [w0, Vr] = Qn(Ir), il = (e) => {
|
|
|
12019
12019
|
onOpenChange: i,
|
|
12020
12020
|
disableHoverableContent: a,
|
|
12021
12021
|
delayDuration: s
|
|
12022
|
-
} = e, c = Ri(Ir, e.__scopeTooltip), d = eo(t), [u, f] = g.useState(null), h =
|
|
12022
|
+
} = e, c = Ri(Ir, e.__scopeTooltip), d = eo(t), [u, f] = g.useState(null), h = Ur(), p = g.useRef(0), x = a ?? c.disableHoverableContent, m = s ?? c.delayDuration, b = g.useRef(!1), [w, y] = Nn({
|
|
12023
12023
|
prop: n,
|
|
12024
12024
|
defaultProp: o ?? !1,
|
|
12025
12025
|
onChange: (j) => {
|
|
@@ -12059,8 +12059,8 @@ var Ir = "Tooltip", [w0, Vr] = Qn(Ir), il = (e) => {
|
|
|
12059
12059
|
}
|
|
12060
12060
|
) });
|
|
12061
12061
|
};
|
|
12062
|
-
|
|
12063
|
-
var Vo = "TooltipTrigger",
|
|
12062
|
+
al.displayName = Ir;
|
|
12063
|
+
var Vo = "TooltipTrigger", sl = g.forwardRef(
|
|
12064
12064
|
(e, t) => {
|
|
12065
12065
|
const { __scopeTooltip: r, ...n } = e, o = Vr(Vo, r), i = Ri(Vo, r), a = eo(r), s = g.useRef(null), c = Ne(t, s, o.onTriggerChange), d = g.useRef(!1), u = g.useRef(!1), f = g.useCallback(() => d.current = !1, []);
|
|
12066
12066
|
return g.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ l.jsx(Yn, { asChild: !0, ...a, children: /* @__PURE__ */ l.jsx(
|
|
@@ -12088,18 +12088,18 @@ var Vo = "TooltipTrigger", al = g.forwardRef(
|
|
|
12088
12088
|
) });
|
|
12089
12089
|
}
|
|
12090
12090
|
);
|
|
12091
|
-
|
|
12091
|
+
sl.displayName = Vo;
|
|
12092
12092
|
var Ai = "TooltipPortal", [y0, k0] = Qn(Ai, {
|
|
12093
12093
|
forceMount: void 0
|
|
12094
|
-
}),
|
|
12094
|
+
}), cl = (e) => {
|
|
12095
12095
|
const { __scopeTooltip: t, forceMount: r, children: n, container: o } = e, i = Vr(Ai, t);
|
|
12096
12096
|
return /* @__PURE__ */ l.jsx(y0, { scope: t, forceMount: r, children: /* @__PURE__ */ l.jsx(Hr, { present: r || i.open, children: /* @__PURE__ */ l.jsx(Gn, { asChild: !0, container: o, children: n }) }) });
|
|
12097
12097
|
};
|
|
12098
|
-
|
|
12099
|
-
var nr = "TooltipContent",
|
|
12098
|
+
cl.displayName = Ai;
|
|
12099
|
+
var nr = "TooltipContent", ll = g.forwardRef(
|
|
12100
12100
|
(e, t) => {
|
|
12101
12101
|
const r = k0(nr, e.__scopeTooltip), { forceMount: n = r.forceMount, side: o = "top", ...i } = e, a = Vr(nr, e.__scopeTooltip);
|
|
12102
|
-
return /* @__PURE__ */ l.jsx(Hr, { present: n || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ l.jsx(
|
|
12102
|
+
return /* @__PURE__ */ l.jsx(Hr, { present: n || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ l.jsx(dl, { side: o, ...i, ref: t }) : /* @__PURE__ */ l.jsx(C0, { side: o, ...i, ref: t }) });
|
|
12103
12103
|
}
|
|
12104
12104
|
), C0 = g.forwardRef((e, t) => {
|
|
12105
12105
|
const r = Vr(nr, e.__scopeTooltip), n = Ri(nr, e.__scopeTooltip), o = g.useRef(null), i = Ne(t, o), [a, s] = g.useState(null), { trigger: c, onClose: d } = r, u = o.current, { onPointerInTransitChange: f } = n, h = g.useCallback(() => {
|
|
@@ -12126,8 +12126,8 @@ var nr = "TooltipContent", cl = g.forwardRef(
|
|
|
12126
12126
|
};
|
|
12127
12127
|
return document.addEventListener("pointermove", x), () => document.removeEventListener("pointermove", x);
|
|
12128
12128
|
}
|
|
12129
|
-
}, [c, u, a, d, h]), /* @__PURE__ */ l.jsx(
|
|
12130
|
-
}), [S0, E0] = Qn(Ir, { isInside: !1 }), j0 = /* @__PURE__ */ Wp("TooltipContent"),
|
|
12129
|
+
}, [c, u, a, d, h]), /* @__PURE__ */ l.jsx(dl, { ...e, ref: i });
|
|
12130
|
+
}), [S0, E0] = Qn(Ir, { isInside: !1 }), j0 = /* @__PURE__ */ Wp("TooltipContent"), dl = g.forwardRef(
|
|
12131
12131
|
(e, t) => {
|
|
12132
12132
|
const {
|
|
12133
12133
|
__scopeTooltip: r,
|
|
@@ -12146,7 +12146,7 @@ var nr = "TooltipContent", cl = g.forwardRef(
|
|
|
12146
12146
|
return window.addEventListener("scroll", f, { capture: !0 }), () => window.removeEventListener("scroll", f, { capture: !0 });
|
|
12147
12147
|
}
|
|
12148
12148
|
}, [c.trigger, u]), /* @__PURE__ */ l.jsx(
|
|
12149
|
-
|
|
12149
|
+
Un,
|
|
12150
12150
|
{
|
|
12151
12151
|
asChild: !0,
|
|
12152
12152
|
disableOutsidePointerEvents: !1,
|
|
@@ -12171,7 +12171,7 @@ var nr = "TooltipContent", cl = g.forwardRef(
|
|
|
12171
12171
|
},
|
|
12172
12172
|
children: [
|
|
12173
12173
|
/* @__PURE__ */ l.jsx(j0, { children: n }),
|
|
12174
|
-
/* @__PURE__ */ l.jsx(S0, { scope: r, isInside: !0, children: /* @__PURE__ */ l.jsx(
|
|
12174
|
+
/* @__PURE__ */ l.jsx(S0, { scope: r, isInside: !0, children: /* @__PURE__ */ l.jsx($m, { id: c.contentId, role: "tooltip", children: o || n }) })
|
|
12175
12175
|
]
|
|
12176
12176
|
}
|
|
12177
12177
|
)
|
|
@@ -12179,17 +12179,17 @@ var nr = "TooltipContent", cl = g.forwardRef(
|
|
|
12179
12179
|
);
|
|
12180
12180
|
}
|
|
12181
12181
|
);
|
|
12182
|
-
|
|
12183
|
-
var
|
|
12182
|
+
ll.displayName = nr;
|
|
12183
|
+
var ul = "TooltipArrow", N0 = g.forwardRef(
|
|
12184
12184
|
(e, t) => {
|
|
12185
12185
|
const { __scopeTooltip: r, ...n } = e, o = eo(r);
|
|
12186
12186
|
return E0(
|
|
12187
|
-
|
|
12187
|
+
ul,
|
|
12188
12188
|
r
|
|
12189
12189
|
).isInside ? null : /* @__PURE__ */ l.jsx(Ei, { ...o, ...n, ref: t });
|
|
12190
12190
|
}
|
|
12191
12191
|
);
|
|
12192
|
-
N0.displayName =
|
|
12192
|
+
N0.displayName = ul;
|
|
12193
12193
|
function R0(e, t) {
|
|
12194
12194
|
const r = Math.abs(t.top - e.y), n = Math.abs(t.bottom - e.y), o = Math.abs(t.right - e.x), i = Math.abs(t.left - e.x);
|
|
12195
12195
|
switch (Math.min(r, n, o, i)) {
|
|
@@ -12282,9 +12282,9 @@ function O0(e) {
|
|
|
12282
12282
|
}
|
|
12283
12283
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
12284
12284
|
}
|
|
12285
|
-
var I0 =
|
|
12285
|
+
var I0 = il, D0 = al, M0 = sl, _0 = cl, fl = ll;
|
|
12286
12286
|
const L0 = I0, Rr = D0, Ar = M0, Qt = g.forwardRef(({ className: e, sideOffset: t = 4, ...r }, n) => /* @__PURE__ */ l.jsx(_0, { children: /* @__PURE__ */ l.jsx(
|
|
12287
|
-
|
|
12287
|
+
fl,
|
|
12288
12288
|
{
|
|
12289
12289
|
ref: n,
|
|
12290
12290
|
sideOffset: t,
|
|
@@ -12296,10 +12296,10 @@ const L0 = I0, Rr = D0, Ar = M0, Qt = g.forwardRef(({ className: e, sideOffset:
|
|
|
12296
12296
|
...r
|
|
12297
12297
|
}
|
|
12298
12298
|
) }));
|
|
12299
|
-
Qt.displayName =
|
|
12300
|
-
var to = "Popover", [
|
|
12299
|
+
Qt.displayName = fl.displayName;
|
|
12300
|
+
var to = "Popover", [pl] = Wr(to, [
|
|
12301
12301
|
fr
|
|
12302
|
-
]), Kr = fr(), [
|
|
12302
|
+
]), Kr = fr(), [$0, Ot] = pl(to), hl = (e) => {
|
|
12303
12303
|
const {
|
|
12304
12304
|
__scopePopover: t,
|
|
12305
12305
|
children: r,
|
|
@@ -12314,10 +12314,10 @@ var to = "Popover", [fl] = Wr(to, [
|
|
|
12314
12314
|
caller: to
|
|
12315
12315
|
});
|
|
12316
12316
|
return /* @__PURE__ */ l.jsx(Ci, { ...s, children: /* @__PURE__ */ l.jsx(
|
|
12317
|
-
|
|
12317
|
+
$0,
|
|
12318
12318
|
{
|
|
12319
12319
|
scope: t,
|
|
12320
|
-
contentId:
|
|
12320
|
+
contentId: Ur(),
|
|
12321
12321
|
triggerRef: c,
|
|
12322
12322
|
open: f,
|
|
12323
12323
|
onOpenChange: h,
|
|
@@ -12330,24 +12330,24 @@ var to = "Popover", [fl] = Wr(to, [
|
|
|
12330
12330
|
}
|
|
12331
12331
|
) });
|
|
12332
12332
|
};
|
|
12333
|
-
|
|
12334
|
-
var
|
|
12333
|
+
hl.displayName = to;
|
|
12334
|
+
var ml = "PopoverAnchor", F0 = g.forwardRef(
|
|
12335
12335
|
(e, t) => {
|
|
12336
|
-
const { __scopePopover: r, ...n } = e, o = Ot(
|
|
12336
|
+
const { __scopePopover: r, ...n } = e, o = Ot(ml, r), i = Kr(r), { onCustomAnchorAdd: a, onCustomAnchorRemove: s } = o;
|
|
12337
12337
|
return g.useEffect(() => (a(), () => s()), [a, s]), /* @__PURE__ */ l.jsx(Yn, { ...i, ...n, ref: t });
|
|
12338
12338
|
}
|
|
12339
12339
|
);
|
|
12340
|
-
|
|
12341
|
-
var
|
|
12340
|
+
F0.displayName = ml;
|
|
12341
|
+
var gl = "PopoverTrigger", bl = g.forwardRef(
|
|
12342
12342
|
(e, t) => {
|
|
12343
|
-
const { __scopePopover: r, ...n } = e, o = Ot(
|
|
12343
|
+
const { __scopePopover: r, ...n } = e, o = Ot(gl, r), i = Kr(r), a = Ne(t, o.triggerRef), s = /* @__PURE__ */ l.jsx(
|
|
12344
12344
|
Ee.button,
|
|
12345
12345
|
{
|
|
12346
12346
|
type: "button",
|
|
12347
12347
|
"aria-haspopup": "dialog",
|
|
12348
12348
|
"aria-expanded": o.open,
|
|
12349
12349
|
"aria-controls": o.contentId,
|
|
12350
|
-
"data-state":
|
|
12350
|
+
"data-state": kl(o.open),
|
|
12351
12351
|
...n,
|
|
12352
12352
|
ref: a,
|
|
12353
12353
|
onClick: be(e.onClick, o.onOpenToggle)
|
|
@@ -12356,29 +12356,29 @@ var ml = "PopoverTrigger", gl = g.forwardRef(
|
|
|
12356
12356
|
return o.hasCustomAnchor ? s : /* @__PURE__ */ l.jsx(Yn, { asChild: !0, ...i, children: s });
|
|
12357
12357
|
}
|
|
12358
12358
|
);
|
|
12359
|
-
|
|
12360
|
-
var Ti = "PopoverPortal", [W0,
|
|
12359
|
+
bl.displayName = gl;
|
|
12360
|
+
var Ti = "PopoverPortal", [W0, U0] = pl(Ti, {
|
|
12361
12361
|
forceMount: void 0
|
|
12362
|
-
}),
|
|
12362
|
+
}), vl = (e) => {
|
|
12363
12363
|
const { __scopePopover: t, forceMount: r, children: n, container: o } = e, i = Ot(Ti, t);
|
|
12364
12364
|
return /* @__PURE__ */ l.jsx(W0, { scope: t, forceMount: r, children: /* @__PURE__ */ l.jsx(Hr, { present: r || i.open, children: /* @__PURE__ */ l.jsx(Gn, { asChild: !0, container: o, children: n }) }) });
|
|
12365
12365
|
};
|
|
12366
|
-
|
|
12367
|
-
var or = "PopoverContent",
|
|
12366
|
+
vl.displayName = Ti;
|
|
12367
|
+
var or = "PopoverContent", xl = g.forwardRef(
|
|
12368
12368
|
(e, t) => {
|
|
12369
|
-
const r =
|
|
12369
|
+
const r = U0(or, e.__scopePopover), { forceMount: n = r.forceMount, ...o } = e, i = Ot(or, e.__scopePopover);
|
|
12370
12370
|
return /* @__PURE__ */ l.jsx(Hr, { present: n || i.open, children: i.modal ? /* @__PURE__ */ l.jsx(H0, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(V0, { ...o, ref: t }) });
|
|
12371
12371
|
}
|
|
12372
12372
|
);
|
|
12373
|
-
|
|
12374
|
-
var
|
|
12373
|
+
xl.displayName = or;
|
|
12374
|
+
var B0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
12375
12375
|
(e, t) => {
|
|
12376
12376
|
const r = Ot(or, e.__scopePopover), n = g.useRef(null), o = Ne(t, n), i = g.useRef(!1);
|
|
12377
12377
|
return g.useEffect(() => {
|
|
12378
12378
|
const a = n.current;
|
|
12379
|
-
if (a) return
|
|
12380
|
-
}, []), /* @__PURE__ */ l.jsx(ji, { as:
|
|
12381
|
-
|
|
12379
|
+
if (a) return fc(a);
|
|
12380
|
+
}, []), /* @__PURE__ */ l.jsx(ji, { as: B0, allowPinchZoom: !0, children: /* @__PURE__ */ l.jsx(
|
|
12381
|
+
wl,
|
|
12382
12382
|
{
|
|
12383
12383
|
...e,
|
|
12384
12384
|
ref: o,
|
|
@@ -12408,7 +12408,7 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12408
12408
|
(e, t) => {
|
|
12409
12409
|
const r = Ot(or, e.__scopePopover), n = g.useRef(!1), o = g.useRef(!1);
|
|
12410
12410
|
return /* @__PURE__ */ l.jsx(
|
|
12411
|
-
|
|
12411
|
+
wl,
|
|
12412
12412
|
{
|
|
12413
12413
|
...e,
|
|
12414
12414
|
ref: t,
|
|
@@ -12427,7 +12427,7 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12427
12427
|
}
|
|
12428
12428
|
);
|
|
12429
12429
|
}
|
|
12430
|
-
),
|
|
12430
|
+
), wl = g.forwardRef(
|
|
12431
12431
|
(e, t) => {
|
|
12432
12432
|
const {
|
|
12433
12433
|
__scopePopover: r,
|
|
@@ -12450,7 +12450,7 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12450
12450
|
onMountAutoFocus: o,
|
|
12451
12451
|
onUnmountAutoFocus: i,
|
|
12452
12452
|
children: /* @__PURE__ */ l.jsx(
|
|
12453
|
-
|
|
12453
|
+
Un,
|
|
12454
12454
|
{
|
|
12455
12455
|
asChild: !0,
|
|
12456
12456
|
disableOutsidePointerEvents: a,
|
|
@@ -12462,7 +12462,7 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12462
12462
|
children: /* @__PURE__ */ l.jsx(
|
|
12463
12463
|
Si,
|
|
12464
12464
|
{
|
|
12465
|
-
"data-state":
|
|
12465
|
+
"data-state": kl(h.open),
|
|
12466
12466
|
role: "dialog",
|
|
12467
12467
|
id: h.contentId,
|
|
12468
12468
|
...p,
|
|
@@ -12483,9 +12483,9 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12483
12483
|
}
|
|
12484
12484
|
);
|
|
12485
12485
|
}
|
|
12486
|
-
),
|
|
12486
|
+
), yl = "PopoverClose", K0 = g.forwardRef(
|
|
12487
12487
|
(e, t) => {
|
|
12488
|
-
const { __scopePopover: r, ...n } = e, o = Ot(
|
|
12488
|
+
const { __scopePopover: r, ...n } = e, o = Ot(yl, r);
|
|
12489
12489
|
return /* @__PURE__ */ l.jsx(
|
|
12490
12490
|
Ee.button,
|
|
12491
12491
|
{
|
|
@@ -12497,7 +12497,7 @@ var U0 = /* @__PURE__ */ tr("PopoverContent.RemoveScroll"), H0 = g.forwardRef(
|
|
|
12497
12497
|
);
|
|
12498
12498
|
}
|
|
12499
12499
|
);
|
|
12500
|
-
K0.displayName =
|
|
12500
|
+
K0.displayName = yl;
|
|
12501
12501
|
var Y0 = "PopoverArrow", G0 = g.forwardRef(
|
|
12502
12502
|
(e, t) => {
|
|
12503
12503
|
const { __scopePopover: r, ...n } = e, o = Kr(r);
|
|
@@ -12505,12 +12505,12 @@ var Y0 = "PopoverArrow", G0 = g.forwardRef(
|
|
|
12505
12505
|
}
|
|
12506
12506
|
);
|
|
12507
12507
|
G0.displayName = Y0;
|
|
12508
|
-
function
|
|
12508
|
+
function kl(e) {
|
|
12509
12509
|
return e ? "open" : "closed";
|
|
12510
12510
|
}
|
|
12511
|
-
var q0 =
|
|
12512
|
-
const Z0 = q0, Q0 = X0,
|
|
12513
|
-
|
|
12511
|
+
var q0 = hl, X0 = bl, J0 = vl, Cl = xl;
|
|
12512
|
+
const Z0 = q0, Q0 = X0, Sl = g.forwardRef(({ className: e, align: t = "start", sideOffset: r = 6, ...n }, o) => /* @__PURE__ */ l.jsx(J0, { children: /* @__PURE__ */ l.jsx(
|
|
12513
|
+
Cl,
|
|
12514
12514
|
{
|
|
12515
12515
|
ref: o,
|
|
12516
12516
|
align: t,
|
|
@@ -12526,7 +12526,7 @@ const Z0 = q0, Q0 = X0, Cl = g.forwardRef(({ className: e, align: t = "start", s
|
|
|
12526
12526
|
...n
|
|
12527
12527
|
}
|
|
12528
12528
|
) }));
|
|
12529
|
-
|
|
12529
|
+
Sl.displayName = Cl.displayName;
|
|
12530
12530
|
const Aa = (e) => e ? e.charAt(0).toUpperCase() + e.slice(1) : "Select page", eb = ({
|
|
12531
12531
|
pageSlugs: e,
|
|
12532
12532
|
currentSlug: t,
|
|
@@ -12560,7 +12560,7 @@ const Aa = (e) => e ? e.charAt(0).toUpperCase() + e.slice(1) : "Select page", eb
|
|
|
12560
12560
|
}
|
|
12561
12561
|
) }),
|
|
12562
12562
|
/* @__PURE__ */ l.jsxs(
|
|
12563
|
-
|
|
12563
|
+
Sl,
|
|
12564
12564
|
{
|
|
12565
12565
|
align: "start",
|
|
12566
12566
|
sideOffset: 4,
|
|
@@ -12611,14 +12611,14 @@ const Aa = (e) => e ? e.charAt(0).toUpperCase() + e.slice(1) : "Select page", eb
|
|
|
12611
12611
|
}
|
|
12612
12612
|
)
|
|
12613
12613
|
] }) });
|
|
12614
|
-
}, Co = /* @__PURE__ */ new Set(["anchorId", "paddingTop", "paddingBottom", "theme", "container"]), Ta = /* @__PURE__ */ new Set(["ui:editorial-markdown"]),
|
|
12614
|
+
}, Co = /* @__PURE__ */ new Set(["anchorId", "paddingTop", "paddingBottom", "theme", "container"]), Ta = /* @__PURE__ */ new Set(["ui:editorial-markdown"]), El = (e) => e instanceof Oe.ZodOptional || e instanceof Oe.ZodDefault || e instanceof Oe.ZodNullable ? El(e._def.innerType) : e, Ko = (e) => {
|
|
12615
12615
|
var i;
|
|
12616
12616
|
if (!e) return "";
|
|
12617
12617
|
const t = e, r = typeof e.description == "string" ? e.description : null;
|
|
12618
12618
|
if (r) return r;
|
|
12619
12619
|
const n = typeof ((i = t._def) == null ? void 0 : i.description) == "string" ? t._def.description : null;
|
|
12620
12620
|
if (n) return n;
|
|
12621
|
-
const o =
|
|
12621
|
+
const o = El(e);
|
|
12622
12622
|
return o !== e ? Ko(o) : "";
|
|
12623
12623
|
}, So = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (t) => t.toUpperCase()), tb = { activationConstraint: { distance: 8 } }, rb = { activationConstraint: { delay: 200, tolerance: 5 } };
|
|
12624
12624
|
function Yo({
|
|
@@ -12643,9 +12643,9 @@ function Yo({
|
|
|
12643
12643
|
className: "shrink-0 w-5 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-150 cursor-grab touch-none",
|
|
12644
12644
|
"aria-label": "Trascina per riordinare",
|
|
12645
12645
|
...r,
|
|
12646
|
-
children: /* @__PURE__ */ l.jsx(
|
|
12646
|
+
children: /* @__PURE__ */ l.jsx(Fi, { size: 12, className: "text-zinc-600" })
|
|
12647
12647
|
}
|
|
12648
|
-
) : /* @__PURE__ */ l.jsx("span", { className: "shrink-0 w-5 flex items-center justify-center opacity-0 group-hover:opacity-100 pointer-events-none", children: /* @__PURE__ */ l.jsx(
|
|
12648
|
+
) : /* @__PURE__ */ l.jsx("span", { className: "shrink-0 w-5 flex items-center justify-center opacity-0 group-hover:opacity-100 pointer-events-none", children: /* @__PURE__ */ l.jsx(Fi, { size: 12, className: "text-zinc-600/50" }) }),
|
|
12649
12649
|
/* @__PURE__ */ l.jsxs("button", { type: "button", onClick: s, className: "flex-1 min-w-0 text-left", children: [
|
|
12650
12650
|
/* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
12651
12651
|
/* @__PURE__ */ l.jsx("span", { className: ae("text-xs font-bold uppercase tracking-[0.06em] truncate", n ? "text-primary" : "text-zinc-500"), children: e.type }),
|
|
@@ -12719,11 +12719,11 @@ const ob = ({
|
|
|
12719
12719
|
currentSlug: E = "home",
|
|
12720
12720
|
onPageChange: I
|
|
12721
12721
|
}) => {
|
|
12722
|
-
const { schemas: M } = On(), [P, _] = Q(!0), [D, Y] = Q(null), [
|
|
12722
|
+
const { schemas: M } = On(), [P, _] = Q(!0), [D, Y] = Q(null), [B, W] = Q(null), [U, R] = Q(null), [q, ne] = Q(null), N = ue(null), F = ue(null), G = ef(
|
|
12723
12723
|
co(ui, tb),
|
|
12724
|
-
co(
|
|
12724
|
+
co(Cs, rb),
|
|
12725
12725
|
co(li, { coordinateGetter: Ip })
|
|
12726
|
-
), H = Ml(e), ve = e != null && (H == null ? void 0 : H.id) !== e.id, se = a && a.length > 0 ? a :
|
|
12726
|
+
), H = Ml(e), ve = e != null && (H == null ? void 0 : H.id) !== e.id, se = a && a.length > 0 ? a : U ? [U] : null, T = se != null && se.length ? {
|
|
12727
12727
|
fieldKey: se[se.length - 1].fieldKey,
|
|
12728
12728
|
itemId: se[se.length - 1].itemId
|
|
12729
12729
|
} : null, J = ue(a);
|
|
@@ -12740,13 +12740,13 @@ const ob = ({
|
|
|
12740
12740
|
});
|
|
12741
12741
|
});
|
|
12742
12742
|
return () => cancelAnimationFrame(O);
|
|
12743
|
-
},
|
|
12743
|
+
}, $ = ue(P);
|
|
12744
12744
|
X(() => {
|
|
12745
|
-
if (P &&
|
|
12745
|
+
if (P && !$.current) {
|
|
12746
12746
|
const O = re();
|
|
12747
|
-
return
|
|
12747
|
+
return $.current = P, O;
|
|
12748
12748
|
}
|
|
12749
|
-
|
|
12749
|
+
$.current = P;
|
|
12750
12750
|
}, [P]), X(() => {
|
|
12751
12751
|
if (!T) return;
|
|
12752
12752
|
const O = N.current;
|
|
@@ -12926,8 +12926,8 @@ const ob = ({
|
|
|
12926
12926
|
}
|
|
12927
12927
|
) })
|
|
12928
12928
|
] }, O.id)) }) }),
|
|
12929
|
-
/* @__PURE__ */ l.jsx(bp, { dropAnimation: { duration: 200, easing: "cubic-bezier(0.18, 0.67, 0.6, 1.22)" }, children:
|
|
12930
|
-
const O = c.find((te) => te.id ===
|
|
12929
|
+
/* @__PURE__ */ l.jsx(bp, { dropAnimation: { duration: 200, easing: "cubic-bezier(0.18, 0.67, 0.6, 1.22)" }, children: B ? (() => {
|
|
12930
|
+
const O = c.find((te) => te.id === B);
|
|
12931
12931
|
return O ? /* @__PURE__ */ l.jsx("div", { className: "px-2 w-full max-w-[var(--inspector-width,280px)]", children: /* @__PURE__ */ l.jsx(
|
|
12932
12932
|
Yo,
|
|
12933
12933
|
{
|
|
@@ -13091,7 +13091,7 @@ const ob = ({
|
|
|
13091
13091
|
children: /* @__PURE__ */ l.jsxs(
|
|
13092
13092
|
"div",
|
|
13093
13093
|
{
|
|
13094
|
-
ref:
|
|
13094
|
+
ref: F,
|
|
13095
13095
|
className: "relative rounded-lg border border-zinc-700 bg-zinc-900 shadow-xl max-w-md w-full overflow-hidden",
|
|
13096
13096
|
onClick: (z) => z.stopPropagation(),
|
|
13097
13097
|
children: [
|
|
@@ -13127,7 +13127,7 @@ const ob = ({
|
|
|
13127
13127
|
children: /* @__PURE__ */ l.jsxs(
|
|
13128
13128
|
"div",
|
|
13129
13129
|
{
|
|
13130
|
-
ref:
|
|
13130
|
+
ref: F,
|
|
13131
13131
|
className: "relative rounded-lg border border-zinc-700 bg-zinc-900 shadow-xl max-w-md w-full max-h-[85vh] flex flex-col overflow-hidden",
|
|
13132
13132
|
onClick: (z) => z.stopPropagation(),
|
|
13133
13133
|
children: [
|
|
@@ -13218,21 +13218,21 @@ const ob = ({
|
|
|
13218
13218
|
function ab(e) {
|
|
13219
13219
|
return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
13220
13220
|
}
|
|
13221
|
-
function
|
|
13221
|
+
function jl(e, t = [], r = {}) {
|
|
13222
13222
|
return Object.entries(e).forEach(([n, o]) => {
|
|
13223
13223
|
const i = [...t, ab(n)];
|
|
13224
13224
|
if (typeof o == "string" || typeof o == "number") {
|
|
13225
13225
|
r[`--theme-${i.join("-")}`] = String(o);
|
|
13226
13226
|
return;
|
|
13227
13227
|
}
|
|
13228
|
-
o && typeof o == "object" && !Array.isArray(o) &&
|
|
13228
|
+
o && typeof o == "object" && !Array.isArray(o) && jl(o, i, r);
|
|
13229
13229
|
}), r;
|
|
13230
13230
|
}
|
|
13231
13231
|
function Ve(e, t, r, n) {
|
|
13232
13232
|
n && (e[t] = `var(${r})`);
|
|
13233
13233
|
}
|
|
13234
13234
|
function sb(e) {
|
|
13235
|
-
const t =
|
|
13235
|
+
const t = jl(e.tokens), r = { ...t };
|
|
13236
13236
|
return Ve(
|
|
13237
13237
|
r,
|
|
13238
13238
|
"--theme-primary",
|
|
@@ -13358,7 +13358,7 @@ const lb = '[data-jp-ignore-select="true"],[data-jp-interactive="true"],.ProseMi
|
|
|
13358
13358
|
return window.addEventListener("message", p), window.parent.postMessage({ type: Se.STAGE_READY }, "*"), () => window.removeEventListener("message", p);
|
|
13359
13359
|
}, []), X(() => {
|
|
13360
13360
|
const p = (b) => !!b.closest(db), x = (b) => !!(b.closest('[data-jp-ignore-select="true"]') || b.closest(lb) && !p(b) || b.closest("a[href]") && !p(b)), m = (b) => {
|
|
13361
|
-
var D, Y,
|
|
13361
|
+
var D, Y, B;
|
|
13362
13362
|
const w = b.target;
|
|
13363
13363
|
if (x(w)) {
|
|
13364
13364
|
w.closest("a[href]") && b.preventDefault();
|
|
@@ -13367,8 +13367,8 @@ const lb = '[data-jp-ignore-select="true"],[data-jp-interactive="true"],.ProseMi
|
|
|
13367
13367
|
const y = b.clientX, v = b.clientY;
|
|
13368
13368
|
let k = null, C = w;
|
|
13369
13369
|
for (; C && C !== document.body; ) {
|
|
13370
|
-
const W = (D = C.getAttribute) == null ? void 0 : D.call(C, "data-section-id"),
|
|
13371
|
-
if (W &&
|
|
13370
|
+
const W = (D = C.getAttribute) == null ? void 0 : D.call(C, "data-section-id"), U = (Y = C.getAttribute) == null ? void 0 : Y.call(C, "data-section-type"), R = (B = C.getAttribute) == null ? void 0 : B.call(C, "data-section-scope");
|
|
13371
|
+
if (W && U && R) {
|
|
13372
13372
|
k = C;
|
|
13373
13373
|
break;
|
|
13374
13374
|
}
|
|
@@ -13395,15 +13395,15 @@ const lb = '[data-jp-ignore-select="true"],[data-jp-interactive="true"],.ProseMi
|
|
|
13395
13395
|
let P = za(M, k);
|
|
13396
13396
|
if (P.length === 0 && M) {
|
|
13397
13397
|
let W = null;
|
|
13398
|
-
const
|
|
13398
|
+
const U = (R) => {
|
|
13399
13399
|
var ne, N;
|
|
13400
13400
|
const q = R.getBoundingClientRect();
|
|
13401
13401
|
if (q.left <= y && y <= q.right && q.top <= v && v <= q.bottom) {
|
|
13402
|
-
for (let
|
|
13402
|
+
for (let F = 0; F < R.children.length; F++) U(R.children[F]);
|
|
13403
13403
|
((ne = R.getAttribute) != null && ne.call(R, "data-jp-item-id") || (N = R.getAttribute) != null && N.call(R, "data-jp-field")) && (W = R);
|
|
13404
13404
|
}
|
|
13405
13405
|
};
|
|
13406
|
-
|
|
13406
|
+
U(M), W && (P = za(W, k));
|
|
13407
13407
|
}
|
|
13408
13408
|
const _ = { type: Se.SECTION_SELECT, section: I };
|
|
13409
13409
|
P.length > 0 && (_.itemPath = P), window.parent.postMessage(_, "*");
|
|
@@ -13424,7 +13424,7 @@ const lb = '[data-jp-ignore-select="true"],[data-jp-interactive="true"],.ProseMi
|
|
|
13424
13424
|
}, "*");
|
|
13425
13425
|
};
|
|
13426
13426
|
return /* @__PURE__ */ l.jsx(Qo, { mode: "studio", children: /* @__PURE__ */ l.jsx("div", { className: "jp-ice-active", children: /* @__PURE__ */ l.jsx(
|
|
13427
|
-
|
|
13427
|
+
as,
|
|
13428
13428
|
{
|
|
13429
13429
|
pageConfig: e,
|
|
13430
13430
|
siteConfig: r,
|
|
@@ -13538,10 +13538,10 @@ const pb = ({
|
|
|
13538
13538
|
function Go(e) {
|
|
13539
13539
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
13540
13540
|
}
|
|
13541
|
-
function
|
|
13541
|
+
function Nl(e) {
|
|
13542
13542
|
return e == null ? e : JSON.parse(JSON.stringify(e));
|
|
13543
13543
|
}
|
|
13544
|
-
function
|
|
13544
|
+
function Rl() {
|
|
13545
13545
|
if (typeof window > "u") return null;
|
|
13546
13546
|
const e = window;
|
|
13547
13547
|
return e.__olonWebMcpTools__ || (e.__olonWebMcpTools__ = /* @__PURE__ */ new Map()), e.__olonWebMcpTools__;
|
|
@@ -13596,7 +13596,7 @@ function gb(e) {
|
|
|
13596
13596
|
function Oa(e, t, r) {
|
|
13597
13597
|
if (t.length === 0)
|
|
13598
13598
|
throw new Error("Selection path is empty.");
|
|
13599
|
-
const n =
|
|
13599
|
+
const n = Nl(e);
|
|
13600
13600
|
let o = n;
|
|
13601
13601
|
for (let i = 0; i < t.length; i += 1) {
|
|
13602
13602
|
const a = t[i], s = i === t.length - 1;
|
|
@@ -13624,52 +13624,54 @@ function Oa(e, t, r) {
|
|
|
13624
13624
|
}
|
|
13625
13625
|
function Ia(e, t) {
|
|
13626
13626
|
if (t.data && Go(t.data))
|
|
13627
|
-
return
|
|
13627
|
+
return Nl(t.data);
|
|
13628
13628
|
if (Array.isArray(t.itemPath) && t.itemPath.length > 0)
|
|
13629
13629
|
return Oa(e, t.itemPath, t.value);
|
|
13630
13630
|
if (typeof t.fieldKey == "string" && t.fieldKey.trim().length > 0)
|
|
13631
13631
|
return Oa(e, [{ fieldKey: t.fieldKey }], t.value);
|
|
13632
13632
|
throw new Error('WebMCP mutation requires either "data", "itemPath", or "fieldKey".');
|
|
13633
13633
|
}
|
|
13634
|
-
function
|
|
13634
|
+
async function Da(e) {
|
|
13635
|
+
if (e.startsWith("olon://pages/")) {
|
|
13636
|
+
const t = e.replace("olon://pages/", ""), r = window.location.pathname.replace(/\/admin(\/.*)?$/, "").replace(/\/$/, ""), n = await fetch(`${r}/pages/${t}.json`);
|
|
13637
|
+
if (!n.ok) throw new Error(`Resource not found: ${e} (at ${r}/pages/${t}.json)`);
|
|
13638
|
+
return await n.json();
|
|
13639
|
+
}
|
|
13640
|
+
throw new Error(`Unsupported URI scheme: ${e}`);
|
|
13641
|
+
}
|
|
13642
|
+
function bb() {
|
|
13635
13643
|
if (typeof window > "u" || typeof navigator > "u") return;
|
|
13636
|
-
const e =
|
|
13644
|
+
const e = Rl();
|
|
13637
13645
|
if (!e) return;
|
|
13638
13646
|
const t = navigator;
|
|
13639
|
-
t.modelContext || (t.modelContext = {
|
|
13640
|
-
|
|
13641
|
-
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13645
|
-
}
|
|
13646
|
-
|
|
13647
|
-
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
if (!o)
|
|
13653
|
-
throw new Error(`Unknown WebMCP tool: ${r}`);
|
|
13654
|
-
const i = n ? JSON.parse(n) : {}, a = await o.execute(i);
|
|
13655
|
-
return JSON.stringify(a);
|
|
13656
|
-
}
|
|
13657
|
-
});
|
|
13647
|
+
t.modelContext || (t.modelContext = {}), t.modelContextTesting || (t.modelContextTesting = {}), t.modelContext.registerTool = (r) => {
|
|
13648
|
+
e.set(r.name, r);
|
|
13649
|
+
}, t.modelContext.unregisterTool = (r) => {
|
|
13650
|
+
e.delete(r);
|
|
13651
|
+
}, t.modelContext.readResource = Da, t.modelContextTesting.listTools = () => Array.from(e.values()).map(({ execute: r, ...n }) => n), t.modelContextTesting.executeTool = async (r, n) => {
|
|
13652
|
+
const o = e.get(r);
|
|
13653
|
+
if (!o) throw new Error(`Unknown WebMCP tool: ${r}`);
|
|
13654
|
+
const i = n ? JSON.parse(n) : {}, a = await o.execute(i);
|
|
13655
|
+
return JSON.stringify(a);
|
|
13656
|
+
}, t.modelContextTesting.readResource = async (r) => {
|
|
13657
|
+
const n = await Da(r);
|
|
13658
|
+
return JSON.stringify(n);
|
|
13659
|
+
};
|
|
13658
13660
|
}
|
|
13659
|
-
function
|
|
13661
|
+
function vb(e) {
|
|
13660
13662
|
var n, o;
|
|
13661
13663
|
if (typeof navigator > "u") return () => {
|
|
13662
13664
|
};
|
|
13663
|
-
|
|
13664
|
-
const t = navigator, r =
|
|
13665
|
+
bb();
|
|
13666
|
+
const t = navigator, r = Rl();
|
|
13665
13667
|
return !t.modelContext || !r ? () => {
|
|
13666
13668
|
} : ((o = (n = t.modelContext).registerTool) == null || o.call(n, e), r.set(e.name, e), () => {
|
|
13667
13669
|
var i, a;
|
|
13668
13670
|
r.delete(e.name), (a = (i = t.modelContext) == null ? void 0 : i.unregisterTool) == null || a.call(i, e.name);
|
|
13669
13671
|
});
|
|
13670
13672
|
}
|
|
13671
|
-
const vb = '/*! 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--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-font-weight:initial;--tw-tracking: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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-destructive:var(--destructive);--color-ring:var(--ring)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border)}body{background-color:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.z-0{z-index:0}.z-10{z-index:10}.z-50,.z-\\[50\\]{z-index:50}.z-\\[60\\]{z-index:60}.z-\\[70\\]{z-index:70}.z-\\[100\\]{z-index:100}.z-\\[9998\\]{z-index:9998}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-4{margin:calc(var(--spacing)*4)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-1\\.5{margin-inline:calc(var(--spacing)*1.5)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3{margin-inline:calc(var(--spacing)*3)}.my-1{margin-block:calc(var(--spacing)*1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-20{height:calc(var(--spacing)*20)}.h-40{height:calc(var(--spacing)*40)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-screen{height:100vh}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\\[45vh\\]{max-height:45vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[90vh\\]{max-height:90vh}.max-h-\\[320px\\]{max-height:320px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-\\[18px\\]{min-height:18px}.min-h-\\[96px\\]{min-height:96px}.min-h-\\[240px\\]{min-height:240px}.min-h-screen{min-height:100vh}.w-1{width:calc(var(--spacing)*1)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-3\\/4{width:75%}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-\\[calc\\(100\\%-2rem\\)\\]{width:calc(100% - 2rem)}.w-\\[var\\(--radix-popover-trigger-width\\)\\]{width:var(--radix-popover-trigger-width)}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[var\\(--inspector-width\\,280px\\)\\]{max-width:var(--inspector-width,280px)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[18px\\]{min-width:18px}.min-w-\\[156px\\]{min-width:156px}.min-w-\\[var\\(--radix-popover-trigger-width\\)\\]{min-width:var(--radix-popover-trigger-width)}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0\\.5{--tw-translate-x:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing)*3);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)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-none{resize:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--local-radius-md\\)\\]{border-radius:var(--local-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-blue-600{border-color:var(--color-blue-600)}.border-emerald-500\\/60{border-color:#00bb7f99}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\\/60{border-color:color-mix(in oklab,var(--color-emerald-500)60%,transparent)}}.border-primary{border-color:var(--color-primary)}.border-red-500\\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-transparent{border-color:#0000}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-700\\/60{border-color:#3f3f4699}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\\/60{border-color:color-mix(in oklab,var(--color-zinc-700)60%,transparent)}}.border-zinc-700\\/80{border-color:#3f3f46cc}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\\/80{border-color:color-mix(in oklab,var(--color-zinc-700)80%,transparent)}}.border-zinc-800{border-color:var(--color-zinc-800)}.border-zinc-800\\/50{border-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.border-zinc-800\\/50{border-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.border-zinc-800\\/60{border-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.border-zinc-800\\/60{border-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.border-l-transparent{border-left-color:#0000}.bg-\\[var\\(--color-background\\)\\]{background-color:var(--color-background)}.bg-\\[var\\(--local-bg\\)\\]{background-color:var(--local-bg)}.bg-\\[var\\(--local-primary\\)\\]{background-color:var(--local-primary)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-background{background-color:var(--color-background)}.bg-black{background-color:var(--color-black)}.bg-black\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-black\\/0{background-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\\/15{background-color:#3080ff26}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/15{background-color:color-mix(in oklab,var(--color-blue-500)15%,transparent)}}.bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-blue-500\\/\\[0\\.04\\]{background-color:#3080ff0a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--color-blue-500)4%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\\/10{background-color:#155dfc1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\\/10{background-color:color-mix(in oklab,var(--color-blue-600)10%,transparent)}}.bg-destructive\\/15{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/15{background-color:color-mix(in oklab,var(--color-destructive)15%,transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-primary,.bg-primary\\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/10{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.bg-primary\\/\\[0\\.08\\]{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--color-primary)8%,transparent)}}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\\/15{background-color:#fb2c3626}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/15{background-color:color-mix(in oklab,var(--color-red-500)15%,transparent)}}.bg-red-900\\/10{background-color:#82181a1a}@supports (color:color-mix(in lab,red,red)){.bg-red-900\\/10{background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\\/15{background-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/\\[0\\.01\\]{background-color:#ffffff03}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.01\\]{background-color:color-mix(in oklab,var(--color-white)1%,transparent)}}.bg-white\\/\\[0\\.02\\]{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.02\\]{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.bg-white\\/\\[0\\.03\\]{background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.03\\]{background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.bg-zinc-700{background-color:var(--color-zinc-700)}.bg-zinc-700\\/80{background-color:#3f3f46cc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-700\\/80{background-color:color-mix(in oklab,var(--color-zinc-700)80%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-800\\/30{background-color:#27272a4d}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/30{background-color:color-mix(in oklab,var(--color-zinc-800)30%,transparent)}}.bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.bg-zinc-800\\/60{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/60{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.bg-zinc-800\\/80{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/80{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\\/20{background-color:#18181b33}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/20{background-color:color-mix(in oklab,var(--color-zinc-900)20%,transparent)}}.bg-zinc-900\\/40{background-color:#18181b66}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/40{background-color:color-mix(in oklab,var(--color-zinc-900)40%,transparent)}}.bg-zinc-900\\/50{background-color:#18181b80}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/50{background-color:color-mix(in oklab,var(--color-zinc-900)50%,transparent)}}.bg-zinc-900\\/60{background-color:#18181b99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/60{background-color:color-mix(in oklab,var(--color-zinc-900)60%,transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\\/80{background-color:#09090bcc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-950\\/80{background-color:color-mix(in oklab,var(--color-zinc-950)80%,transparent)}}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\\/70{--tw-gradient-from:#000000b3}@supports (color:color-mix(in lab,red,red)){.from-black\\/70{--tw-gradient-from:color-mix(in oklab,var(--color-black)70%,transparent)}}.from-black\\/70{--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))}.from-black\\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\\/80{--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))}.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))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-px{padding:1px}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-7{padding-block:calc(var(--spacing)*7)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.01em\\]{--tw-tracking:.01em;letter-spacing:.01em}.tracking-\\[0\\.02em\\]{--tw-tracking:.02em;letter-spacing:.02em}.tracking-\\[0\\.04em\\]{--tw-tracking:.04em;letter-spacing:.04em}.tracking-\\[0\\.05em\\]{--tw-tracking:.05em;letter-spacing:.05em}.tracking-\\[0\\.06em\\]{--tw-tracking:.06em;letter-spacing:.06em}.tracking-\\[0\\.08em\\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--local-bg\\)\\]{color:var(--local-bg)}.text-\\[var\\(--local-text\\)\\]{color:var(--local-text)}.text-\\[var\\(--local-text-muted\\)\\]{color:var(--local-text-muted)}.text-amber-200{color:var(--color-amber-200)}.text-amber-500{color:var(--color-amber-500)}.text-amber-500\\/70{color:#f99c00b3}@supports (color:color-mix(in lab,red,red)){.text-amber-500\\/70{color:color-mix(in oklab,var(--color-amber-500)70%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-destructive{color:var(--color-destructive)}.text-emerald-400{color:var(--color-emerald-400)}.text-foreground{color:var(--color-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-white{color:var(--color-white)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-600\\/50{color:#52525c80}@supports (color:color-mix(in lab,red,red)){.text-zinc-600\\/50{color:color-mix(in oklab,var(--color-zinc-600)50%,transparent)}}.text-zinc-700{color:var(--color-zinc-700)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.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,)}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgba\\(245\\,158\\,11\\,0\\.5\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#f59e0b80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);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)}.ring-2{--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)}.shadow-black\\/30{--tw-shadow-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.shadow-black\\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-black)30%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-primary\\/20{--tw-shadow-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.shadow-primary\\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-primary)20%,transparent)var(--tw-shadow-alpha),transparent)}}.ring-blue-500{--tw-ring-color:var(--color-blue-500)}.ring-blue-500\\/40{--tw-ring-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\\/40{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.ring-zinc-800{--tw-ring-color:var(--color-zinc-800)}.ring-offset-1{--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)}.ring-offset-zinc-900{--tw-ring-offset-color:var(--color-zinc-900)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.brightness-\\[0\\.6\\]{--tw-brightness:brightness(.6);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,)}.brightness-\\[0\\.85\\]{--tw-brightness:brightness(.85);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,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-\\[border-color\\,opacity\\]{transition-property:border-color,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[filter\\]{transition-property:filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.group-hover\\:border-dashed:is(:where(.group):hover *){--tw-border-style:dashed;border-style:dashed}.group-hover\\:border-blue-400\\/50:is(:where(.group):hover *){border-color:#54a2ff80}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-blue-400\\/50:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-blue-400)50%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:brightness-100:is(:where(.group):hover *){--tw-brightness:brightness(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,)}.hover\\:scale-\\[1\\.02\\]:hover{scale:1.02}.hover\\:border-blue-500\\/30:hover{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-blue-500\\/30:hover{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.hover\\:border-blue-500\\/40:hover{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.hover\\:border-blue-500\\/40:hover{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.hover\\:border-zinc-600:hover{border-color:var(--color-zinc-600)}.hover\\:border-zinc-700:hover{border-color:var(--color-zinc-700)}.hover\\:bg-blue-500\\/\\[0\\.03\\]:hover{background-color:#3080ff08}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-500\\/\\[0\\.03\\]:hover{background-color:color-mix(in oklab,var(--color-blue-500)3%,transparent)}}.hover\\:bg-blue-600\\/20:hover{background-color:#155dfc33}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-600\\/20:hover{background-color:color-mix(in oklab,var(--color-blue-600)20%,transparent)}}.hover\\:bg-destructive\\/25:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/25:hover{background-color:color-mix(in oklab,var(--color-destructive)25%,transparent)}}.hover\\:bg-primary\\/40:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/40:hover{background-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\\:bg-red-500\\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\\:bg-red-500\\/25:hover{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/25:hover{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.hover\\:bg-white\\/30:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/30:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.hover\\:bg-white\\/\\[0\\.02\\]:hover{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/\\[0\\.02\\]:hover{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.hover\\:bg-zinc-600:hover{background-color:var(--color-zinc-600)}.hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\\:bg-zinc-800\\/40:hover{background-color:#27272a66}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-800\\/40:hover{background-color:color-mix(in oklab,var(--color-zinc-800)40%,transparent)}}.hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.hover\\:bg-zinc-900:hover{background-color:var(--color-zinc-900)}.hover\\:text-blue-400:hover{color:var(--color-blue-400)}.hover\\:text-destructive:hover{color:var(--color-destructive)}.hover\\:text-primary:hover{color:var(--color-primary)}.hover\\:text-red-200:hover{color:var(--color-red-200)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-500:hover{color:var(--color-red-500)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:opacity-90:hover{opacity:.9}.hover\\:ring-zinc-600:hover{--tw-ring-color:var(--color-zinc-600)}}.focus\\:bg-zinc-800:focus{background-color:var(--color-zinc-800)}.focus\\:text-white:focus{color:var(--color-white)}.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-blue-500\\/50:focus{--tw-ring-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-blue-500\\/50:focus{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.focus\\:ring-blue-600:focus{--tw-ring-color:var(--color-blue-600)}.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\\:ring-offset-zinc-900:focus{--tw-ring-offset-color:var(--color-zinc-900)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:border-zinc-600:focus-visible{border-color:var(--color-zinc-600)}.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-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-blue-500\\/80:focus-visible{--tw-ring-color:#3080ffcc}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-blue-500\\/80:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)80%,transparent)}}.focus-visible\\:ring-blue-600:focus-visible{--tw-ring-color:var(--color-blue-600)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.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\\:ring-offset-zinc-900:focus-visible{--tw-ring-offset-color:var(--color-zinc-900)}.focus-visible\\:ring-offset-zinc-950:focus-visible{--tw-ring-offset-color:var(--color-zinc-950)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-primary\\/60:active{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.active\\:bg-primary\\/60:active{background-color:color-mix(in oklab,var(--color-primary)60%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-50:disabled{opacity:.5}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=open\\]\\:border-zinc-800[data-state=open]{border-color:var(--color-zinc-800)}.data-\\[state\\=open\\]\\:bg-zinc-950[data-state=open]{background-color:var(--color-zinc-950)}.data-\\[state\\=open\\]\\:text-zinc-100[data-state=open]{color:var(--color-zinc-100)}@media(min-width:40rem){.sm\\:max-w-\\[280px\\]{max-width:280px}}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&\\>span\\]\\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\\[\\&\\>span\\]\\:flex>span{display:flex}.\\[\\&\\>span\\]\\:items-center>span{align-items:center}.\\[\\&\\>span\\]\\:gap-2>span{gap:calc(var(--spacing)*2)}}:root{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(42% .18 266);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(42% .18 266);--accent-foreground:oklch(97% .014 254.604);--destructive:oklch(70.4% .191 22.216);--destructive-foreground:oklch(97% .014 254.604);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--radius:.5rem;--jp-inspector-label-size:11px;--jp-inspector-field-size:13px;font-family:ui-sans-serif,system-ui,sans-serif}[data-radix-portal]{z-index:9999!important}@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-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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@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-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}';
|
|
13672
|
-
class
|
|
13673
|
+
const xb = '/*! 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--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-font-weight:initial;--tw-tracking: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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-zinc-100:oklch(96.7% .001 286.375);--color-zinc-200:oklch(92% .004 286.32);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-500:oklch(55.2% .016 285.938);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-700:oklch(37% .013 285.805);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-zinc-950:oklch(14.1% .005 285.823);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-background:var(--background);--color-foreground:var(--foreground);--color-primary:var(--primary);--color-primary-foreground:var(--primary-foreground);--color-destructive:var(--destructive);--color-ring:var(--ring)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border)}body{background-color:var(--background);color:var(--foreground);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.z-0{z-index:0}.z-10{z-index:10}.z-50,.z-\\[50\\]{z-index:50}.z-\\[60\\]{z-index:60}.z-\\[70\\]{z-index:70}.z-\\[100\\]{z-index:100}.z-\\[9998\\]{z-index:9998}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-4{margin:calc(var(--spacing)*4)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-1\\.5{margin-inline:calc(var(--spacing)*1.5)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3{margin-inline:calc(var(--spacing)*3)}.my-1{margin-block:calc(var(--spacing)*1)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-20{height:calc(var(--spacing)*20)}.h-40{height:calc(var(--spacing)*40)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-screen{height:100vh}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\\[45vh\\]{max-height:45vh}.max-h-\\[85vh\\]{max-height:85vh}.max-h-\\[90vh\\]{max-height:90vh}.max-h-\\[320px\\]{max-height:320px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-16{min-height:calc(var(--spacing)*16)}.min-h-\\[18px\\]{min-height:18px}.min-h-\\[96px\\]{min-height:96px}.min-h-\\[240px\\]{min-height:240px}.min-h-screen{min-height:100vh}.w-1{width:calc(var(--spacing)*1)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-3\\/4{width:75%}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-\\[calc\\(100\\%-2rem\\)\\]{width:calc(100% - 2rem)}.w-\\[var\\(--radix-popover-trigger-width\\)\\]{width:var(--radix-popover-trigger-width)}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[280px\\]{max-width:280px}.max-w-\\[var\\(--inspector-width\\,280px\\)\\]{max-width:var(--inspector-width,280px)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[18px\\]{min-width:18px}.min-w-\\[156px\\]{min-width:156px}.min-w-\\[var\\(--radix-popover-trigger-width\\)\\]{min-width:var(--radix-popover-trigger-width)}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0\\.5{--tw-translate-x:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing)*3);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)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize-none{resize:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--local-radius-md\\)\\]{border-radius:var(--local-radius-md)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-amber-500\\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-500\\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-blue-600{border-color:var(--color-blue-600)}.border-emerald-500\\/60{border-color:#00bb7f99}@supports (color:color-mix(in lab,red,red)){.border-emerald-500\\/60{border-color:color-mix(in oklab,var(--color-emerald-500)60%,transparent)}}.border-primary{border-color:var(--color-primary)}.border-red-500\\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-red-900\\/30{border-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.border-red-900\\/30{border-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.border-transparent{border-color:#0000}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-700\\/60{border-color:#3f3f4699}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\\/60{border-color:color-mix(in oklab,var(--color-zinc-700)60%,transparent)}}.border-zinc-700\\/80{border-color:#3f3f46cc}@supports (color:color-mix(in lab,red,red)){.border-zinc-700\\/80{border-color:color-mix(in oklab,var(--color-zinc-700)80%,transparent)}}.border-zinc-800{border-color:var(--color-zinc-800)}.border-zinc-800\\/50{border-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.border-zinc-800\\/50{border-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.border-zinc-800\\/60{border-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.border-zinc-800\\/60{border-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.border-l-transparent{border-left-color:#0000}.bg-\\[var\\(--color-background\\)\\]{background-color:var(--color-background)}.bg-\\[var\\(--local-bg\\)\\]{background-color:var(--local-bg)}.bg-\\[var\\(--local-primary\\)\\]{background-color:var(--local-primary)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-background{background-color:var(--color-background)}.bg-black{background-color:var(--color-black)}.bg-black\\/0{background-color:#0000}@supports (color:color-mix(in lab,red,red)){.bg-black\\/0{background-color:color-mix(in oklab,var(--color-black)0%,transparent)}}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\\/15{background-color:#3080ff26}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/15{background-color:color-mix(in oklab,var(--color-blue-500)15%,transparent)}}.bg-blue-500\\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-blue-500\\/\\[0\\.04\\]{background-color:#3080ff0a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\\/\\[0\\.04\\]{background-color:color-mix(in oklab,var(--color-blue-500)4%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-600\\/10{background-color:#155dfc1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-600\\/10{background-color:color-mix(in oklab,var(--color-blue-600)10%,transparent)}}.bg-destructive\\/15{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\\/15{background-color:color-mix(in oklab,var(--color-destructive)15%,transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-primary,.bg-primary\\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/10{background-color:color-mix(in oklab,var(--color-primary)10%,transparent)}}.bg-primary\\/\\[0\\.08\\]{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--color-primary)8%,transparent)}}.bg-red-500\\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\\/15{background-color:#fb2c3626}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/15{background-color:color-mix(in oklab,var(--color-red-500)15%,transparent)}}.bg-red-900\\/10{background-color:#82181a1a}@supports (color:color-mix(in lab,red,red)){.bg-red-900\\/10{background-color:color-mix(in oklab,var(--color-red-900)10%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/15{background-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.bg-white\\/15{background-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-white\\/\\[0\\.01\\]{background-color:#ffffff03}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.01\\]{background-color:color-mix(in oklab,var(--color-white)1%,transparent)}}.bg-white\\/\\[0\\.02\\]{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.02\\]{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.bg-white\\/\\[0\\.03\\]{background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.03\\]{background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.bg-zinc-700{background-color:var(--color-zinc-700)}.bg-zinc-700\\/80{background-color:#3f3f46cc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-700\\/80{background-color:color-mix(in oklab,var(--color-zinc-700)80%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-800\\/30{background-color:#27272a4d}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/30{background-color:color-mix(in oklab,var(--color-zinc-800)30%,transparent)}}.bg-zinc-800\\/50{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/50{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.bg-zinc-800\\/60{background-color:#27272a99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/60{background-color:color-mix(in oklab,var(--color-zinc-800)60%,transparent)}}.bg-zinc-800\\/80{background-color:#27272acc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-800\\/80{background-color:color-mix(in oklab,var(--color-zinc-800)80%,transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\\/20{background-color:#18181b33}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/20{background-color:color-mix(in oklab,var(--color-zinc-900)20%,transparent)}}.bg-zinc-900\\/40{background-color:#18181b66}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/40{background-color:color-mix(in oklab,var(--color-zinc-900)40%,transparent)}}.bg-zinc-900\\/50{background-color:#18181b80}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/50{background-color:color-mix(in oklab,var(--color-zinc-900)50%,transparent)}}.bg-zinc-900\\/60{background-color:#18181b99}@supports (color:color-mix(in lab,red,red)){.bg-zinc-900\\/60{background-color:color-mix(in oklab,var(--color-zinc-900)60%,transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\\/80{background-color:#09090bcc}@supports (color:color-mix(in lab,red,red)){.bg-zinc-950\\/80{background-color:color-mix(in oklab,var(--color-zinc-950)80%,transparent)}}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\\/70{--tw-gradient-from:#000000b3}@supports (color:color-mix(in lab,red,red)){.from-black\\/70{--tw-gradient-from:color-mix(in oklab,var(--color-black)70%,transparent)}}.from-black\\/70{--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))}.from-black\\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\\/80{--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))}.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))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-px{padding:1px}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-3\\.5{padding-inline:calc(var(--spacing)*3.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-7{padding-block:calc(var(--spacing)*7)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.01em\\]{--tw-tracking:.01em;letter-spacing:.01em}.tracking-\\[0\\.02em\\]{--tw-tracking:.02em;letter-spacing:.02em}.tracking-\\[0\\.04em\\]{--tw-tracking:.04em;letter-spacing:.04em}.tracking-\\[0\\.05em\\]{--tw-tracking:.05em;letter-spacing:.05em}.tracking-\\[0\\.06em\\]{--tw-tracking:.06em;letter-spacing:.06em}.tracking-\\[0\\.08em\\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\\[var\\(--local-bg\\)\\]{color:var(--local-bg)}.text-\\[var\\(--local-text\\)\\]{color:var(--local-text)}.text-\\[var\\(--local-text-muted\\)\\]{color:var(--local-text-muted)}.text-amber-200{color:var(--color-amber-200)}.text-amber-500{color:var(--color-amber-500)}.text-amber-500\\/70{color:#f99c00b3}@supports (color:color-mix(in lab,red,red)){.text-amber-500\\/70{color:color-mix(in oklab,var(--color-amber-500)70%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-destructive{color:var(--color-destructive)}.text-emerald-400{color:var(--color-emerald-400)}.text-foreground{color:var(--color-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-white{color:var(--color-white)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-600\\/50{color:#52525c80}@supports (color:color-mix(in lab,red,red)){.text-zinc-600\\/50{color:color-mix(in oklab,var(--color-zinc-600)50%,transparent)}}.text-zinc-700{color:var(--color-zinc-700)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.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,)}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_8px_rgba\\(245\\,158\\,11\\,0\\.5\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,#f59e0b80);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);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)}.ring-2{--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)}.shadow-black\\/30{--tw-shadow-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.shadow-black\\/30{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-black)30%,transparent)var(--tw-shadow-alpha),transparent)}}.shadow-primary\\/20{--tw-shadow-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.shadow-primary\\/20{--tw-shadow-color:color-mix(in oklab,color-mix(in oklab,var(--color-primary)20%,transparent)var(--tw-shadow-alpha),transparent)}}.ring-blue-500{--tw-ring-color:var(--color-blue-500)}.ring-blue-500\\/40{--tw-ring-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.ring-blue-500\\/40{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.ring-zinc-800{--tw-ring-color:var(--color-zinc-800)}.ring-offset-1{--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)}.ring-offset-zinc-900{--tw-ring-offset-color:var(--color-zinc-900)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.brightness-\\[0\\.6\\]{--tw-brightness:brightness(.6);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,)}.brightness-\\[0\\.85\\]{--tw-brightness:brightness(.85);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,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-\\[border-color\\,opacity\\]{transition-property:border-color,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[filter\\]{transition-property:filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.group-hover\\:border-dashed:is(:where(.group):hover *){--tw-border-style:dashed;border-style:dashed}.group-hover\\:border-blue-400\\/50:is(:where(.group):hover *){border-color:#54a2ff80}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-blue-400\\/50:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-blue-400)50%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\\:brightness-100:is(:where(.group):hover *){--tw-brightness:brightness(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,)}.hover\\:scale-\\[1\\.02\\]:hover{scale:1.02}.hover\\:border-blue-500\\/30:hover{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-blue-500\\/30:hover{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.hover\\:border-blue-500\\/40:hover{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.hover\\:border-blue-500\\/40:hover{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.hover\\:border-zinc-600:hover{border-color:var(--color-zinc-600)}.hover\\:border-zinc-700:hover{border-color:var(--color-zinc-700)}.hover\\:bg-blue-500\\/\\[0\\.03\\]:hover{background-color:#3080ff08}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-500\\/\\[0\\.03\\]:hover{background-color:color-mix(in oklab,var(--color-blue-500)3%,transparent)}}.hover\\:bg-blue-600\\/20:hover{background-color:#155dfc33}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-blue-600\\/20:hover{background-color:color-mix(in oklab,var(--color-blue-600)20%,transparent)}}.hover\\:bg-destructive\\/25:hover{background-color:var(--color-destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/25:hover{background-color:color-mix(in oklab,var(--color-destructive)25%,transparent)}}.hover\\:bg-primary\\/40:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/40:hover{background-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\\:bg-red-500\\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\\:bg-red-500\\/25:hover{background-color:#fb2c3640}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/25:hover{background-color:color-mix(in oklab,var(--color-red-500)25%,transparent)}}.hover\\:bg-white\\/30:hover{background-color:#ffffff4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/30:hover{background-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.hover\\:bg-white\\/\\[0\\.02\\]:hover{background-color:#ffffff05}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/\\[0\\.02\\]:hover{background-color:color-mix(in oklab,var(--color-white)2%,transparent)}}.hover\\:bg-zinc-600:hover{background-color:var(--color-zinc-600)}.hover\\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\\:bg-zinc-800\\/40:hover{background-color:#27272a66}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-800\\/40:hover{background-color:color-mix(in oklab,var(--color-zinc-800)40%,transparent)}}.hover\\:bg-zinc-800\\/50:hover{background-color:#27272a80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-zinc-800\\/50:hover{background-color:color-mix(in oklab,var(--color-zinc-800)50%,transparent)}}.hover\\:bg-zinc-900:hover{background-color:var(--color-zinc-900)}.hover\\:text-blue-400:hover{color:var(--color-blue-400)}.hover\\:text-destructive:hover{color:var(--color-destructive)}.hover\\:text-primary:hover{color:var(--color-primary)}.hover\\:text-red-200:hover{color:var(--color-red-200)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-500:hover{color:var(--color-red-500)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:text-zinc-200:hover{color:var(--color-zinc-200)}.hover\\:text-zinc-300:hover{color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:opacity-90:hover{opacity:.9}.hover\\:ring-zinc-600:hover{--tw-ring-color:var(--color-zinc-600)}}.focus\\:bg-zinc-800:focus{background-color:var(--color-zinc-800)}.focus\\:text-white:focus{color:var(--color-white)}.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-blue-500\\/50:focus{--tw-ring-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.focus\\:ring-blue-500\\/50:focus{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.focus\\:ring-blue-600:focus{--tw-ring-color:var(--color-blue-600)}.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\\:ring-offset-zinc-900:focus{--tw-ring-offset-color:var(--color-zinc-900)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:border-zinc-600:focus-visible{border-color:var(--color-zinc-600)}.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-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-blue-500\\/80:focus-visible{--tw-ring-color:#3080ffcc}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-blue-500\\/80:focus-visible{--tw-ring-color:color-mix(in oklab,var(--color-blue-500)80%,transparent)}}.focus-visible\\:ring-blue-600:focus-visible{--tw-ring-color:var(--color-blue-600)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.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\\:ring-offset-zinc-900:focus-visible{--tw-ring-offset-color:var(--color-zinc-900)}.focus-visible\\:ring-offset-zinc-950:focus-visible{--tw-ring-offset-color:var(--color-zinc-950)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\\:cursor-grabbing:active{cursor:grabbing}.active\\:bg-primary\\/60:active{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.active\\:bg-primary\\/60:active{background-color:color-mix(in oklab,var(--color-primary)60%,transparent)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-50:disabled{opacity:.5}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=open\\]\\:border-zinc-800[data-state=open]{border-color:var(--color-zinc-800)}.data-\\[state\\=open\\]\\:bg-zinc-950[data-state=open]{background-color:var(--color-zinc-950)}.data-\\[state\\=open\\]\\:text-zinc-100[data-state=open]{color:var(--color-zinc-100)}@media(min-width:40rem){.sm\\:max-w-\\[280px\\]{max-width:280px}}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&\\>span\\]\\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\\[\\&\\>span\\]\\:flex>span{display:flex}.\\[\\&\\>span\\]\\:items-center>span{align-items:center}.\\[\\&\\>span\\]\\:gap-2>span{gap:calc(var(--spacing)*2)}}:root{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(42% .18 266);--primary-foreground:oklch(97% .014 254.604);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(42% .18 266);--accent-foreground:oklch(97% .014 254.604);--destructive:oklch(70.4% .191 22.216);--destructive-foreground:oklch(97% .014 254.604);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--radius:.5rem;--jp-inspector-label-size:11px;--jp-inspector-field-size:13px;font-family:ui-sans-serif,system-ui,sans-serif}[data-radix-portal]{z-index:9999!important}@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-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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@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-font-weight{syntax:"*";inherits:false}@property --tw-tracking{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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}';
|
|
13674
|
+
class wb extends $a {
|
|
13673
13675
|
constructor(t) {
|
|
13674
13676
|
super(t), this.state = { hasError: !1, error: null };
|
|
13675
13677
|
}
|
|
@@ -13757,12 +13759,12 @@ function Tl(e, t, r) {
|
|
|
13757
13759
|
});
|
|
13758
13760
|
}
|
|
13759
13761
|
function zl(e) {
|
|
13760
|
-
return
|
|
13762
|
+
return `./mcp-manifests/${e}.json`;
|
|
13761
13763
|
}
|
|
13762
13764
|
function Pl(e) {
|
|
13763
|
-
return
|
|
13765
|
+
return `./schemas/${e}.schema.json`;
|
|
13764
13766
|
}
|
|
13765
|
-
const
|
|
13767
|
+
const Ma = ({
|
|
13766
13768
|
pageRegistry: e,
|
|
13767
13769
|
siteConfig: t,
|
|
13768
13770
|
menuConfig: r,
|
|
@@ -13795,14 +13797,14 @@ const Da = ({
|
|
|
13795
13797
|
const h = typeof ((x = f.meta) == null ? void 0 : x.title) == "string" ? f.meta.title : d, p = typeof ((m = f.meta) == null ? void 0 : m.description) == "string" ? f.meta.description : "";
|
|
13796
13798
|
zn("mcp-manifest", zl(d)), zn("olon-contract", Pl(d)), Tl(h, p, d === "home" ? "/" : `/${d}`);
|
|
13797
13799
|
}, [f, d]), f ? /* @__PURE__ */ l.jsx(ii, { mode: "tenant", tenantCss: i, adminCss: a, children: /* @__PURE__ */ l.jsx(Qo, { mode: "visitor", children: /* @__PURE__ */ l.jsx(
|
|
13798
|
-
|
|
13800
|
+
as,
|
|
13799
13801
|
{
|
|
13800
13802
|
pageConfig: f,
|
|
13801
13803
|
siteConfig: u.siteConfig,
|
|
13802
13804
|
menuConfig: u.menuConfig
|
|
13803
13805
|
}
|
|
13804
13806
|
) }) }) : /* @__PURE__ */ l.jsx(s, {});
|
|
13805
|
-
},
|
|
13807
|
+
}, _a = ({
|
|
13806
13808
|
pageRegistry: e,
|
|
13807
13809
|
schemas: t,
|
|
13808
13810
|
siteConfig: r,
|
|
@@ -13820,7 +13822,7 @@ const Da = ({
|
|
|
13820
13822
|
showHotSave: x = !1
|
|
13821
13823
|
}) => {
|
|
13822
13824
|
var Ae;
|
|
13823
|
-
const m = Fa(), b = Al(m.pathname, "admin"), w =
|
|
13825
|
+
const m = Fa(), b = Al(m.pathname, "admin"), w = $l(), y = Object.keys(e).sort(
|
|
13824
13826
|
(A, z) => A === "home" ? -1 : z === "home" ? 1 : A.localeCompare(z)
|
|
13825
13827
|
), [v, k] = Q(null), [C, S] = Q(!1), [j, E] = Q(!1), [I, M] = Q(!1), [P, _] = Q(!1), [D, Y] = Q(() => {
|
|
13826
13828
|
try {
|
|
@@ -13832,7 +13834,7 @@ const Da = ({
|
|
|
13832
13834
|
pages: []
|
|
13833
13835
|
};
|
|
13834
13836
|
}
|
|
13835
|
-
}), [
|
|
13837
|
+
}), [B, W] = Q(null), [U, R] = Q(null), [q, ne] = Q(null), [N, F] = Q(null), [G, H] = Q(!1), [ve, se] = Q(400), T = he(
|
|
13836
13838
|
() => Gt({
|
|
13837
13839
|
pages: v ? { [b]: v } : {},
|
|
13838
13840
|
siteConfig: D,
|
|
@@ -13841,11 +13843,11 @@ const Da = ({
|
|
|
13841
13843
|
refDocuments: i
|
|
13842
13844
|
}),
|
|
13843
13845
|
[v, D, o, n, i, b]
|
|
13844
|
-
), J = v ? T.pages[b] ?? v : null, re = ue(v),
|
|
13846
|
+
), J = v ? T.pages[b] ?? v : null, re = ue(v), $ = ue(D), oe = 360, ee = 920;
|
|
13845
13847
|
X(() => {
|
|
13846
13848
|
re.current = v;
|
|
13847
13849
|
}, [v]), X(() => {
|
|
13848
|
-
|
|
13850
|
+
$.current = D;
|
|
13849
13851
|
}, [D]);
|
|
13850
13852
|
const ke = ge((A) => {
|
|
13851
13853
|
A.preventDefault();
|
|
@@ -13947,17 +13949,16 @@ const Da = ({
|
|
|
13947
13949
|
);
|
|
13948
13950
|
X(() => (window.addEventListener("message", Ye), () => window.removeEventListener("message", Ye)), [Ye]), X(() => {
|
|
13949
13951
|
if (!(u != null && u.enabled)) return;
|
|
13950
|
-
Rl();
|
|
13951
13952
|
const A = re.current;
|
|
13952
13953
|
if (!A) return;
|
|
13953
13954
|
const L = Array.from(
|
|
13954
13955
|
/* @__PURE__ */ new Set([
|
|
13955
|
-
|
|
13956
|
-
|
|
13956
|
+
...$.current.header ? [$.current.header.type] : [],
|
|
13957
|
+
...$.current.footer ? [$.current.footer.type] : [],
|
|
13957
13958
|
...A.sections.map((Z) => Z.type)
|
|
13958
13959
|
])
|
|
13959
13960
|
).map(
|
|
13960
|
-
(Z) =>
|
|
13961
|
+
(Z) => vb({
|
|
13961
13962
|
name: Pa(Z),
|
|
13962
13963
|
description: `Update a ${Z} section in OlonJS Studio and persist immediately to file.`,
|
|
13963
13964
|
inputSchema: gb(Z),
|
|
@@ -13970,21 +13971,21 @@ const Da = ({
|
|
|
13970
13971
|
}, [u == null ? void 0 : u.enabled, b, v, D, O]);
|
|
13971
13972
|
const yt = ge((A) => {
|
|
13972
13973
|
const z = we.find((L) => L.id === A);
|
|
13973
|
-
z && W({ id: z.id, type: z.type, scope: z.scope }), R(null),
|
|
13974
|
+
z && W({ id: z.id, type: z.type, scope: z.scope }), R(null), F(A);
|
|
13974
13975
|
}, [we]), Je = ge(() => {
|
|
13975
|
-
|
|
13976
|
+
F(null);
|
|
13976
13977
|
}, []), Ge = ge(
|
|
13977
13978
|
(A) => {
|
|
13978
13979
|
k((z) => z && { ...z, sections: z.sections.filter((L) => L.id !== A) }), S(!0), W((z) => (z == null ? void 0 : z.id) === A ? null : z);
|
|
13979
13980
|
},
|
|
13980
13981
|
[]
|
|
13981
13982
|
), qe = (A) => {
|
|
13982
|
-
if (!(!
|
|
13983
|
-
if (S(!0),
|
|
13984
|
-
|
|
13983
|
+
if (!(!B || !v))
|
|
13984
|
+
if (S(!0), B.scope === "global")
|
|
13985
|
+
B.type === "header" && D.header != null ? Y({ ...D, header: { ...D.header, data: A } }) : B.type === "footer" && D.footer != null && Y({ ...D, footer: { ...D.footer, data: A } });
|
|
13985
13986
|
else {
|
|
13986
13987
|
const z = v.sections.map(
|
|
13987
|
-
(L) => L.id ===
|
|
13988
|
+
(L) => L.id === B.id ? { ...L, data: A } : L
|
|
13988
13989
|
);
|
|
13989
13990
|
k({ ...v, sections: z });
|
|
13990
13991
|
}
|
|
@@ -14038,7 +14039,7 @@ const Da = ({
|
|
|
14038
14039
|
[f, b, o, n, i]
|
|
14039
14040
|
), hr = ge(
|
|
14040
14041
|
async (A, z) => {
|
|
14041
|
-
var
|
|
14042
|
+
var Fe, We;
|
|
14042
14043
|
if (!f)
|
|
14043
14044
|
throw new Error("WebMCP requires saveToFile persistence in Studio mode.");
|
|
14044
14045
|
if (!No(z) || typeof z.sectionId != "string")
|
|
@@ -14047,7 +14048,7 @@ const Da = ({
|
|
|
14047
14048
|
if (Z !== b)
|
|
14048
14049
|
throw new Error(`WebMCP slug mismatch. Active Studio slug is "${b}", received "${Z}".`);
|
|
14049
14050
|
await rt();
|
|
14050
|
-
const le = re.current, de =
|
|
14051
|
+
const le = re.current, de = $.current;
|
|
14051
14052
|
if (!le)
|
|
14052
14053
|
throw new Error("Studio draft is not ready yet.");
|
|
14053
14054
|
const ye = t[A];
|
|
@@ -14056,23 +14057,23 @@ const Da = ({
|
|
|
14056
14057
|
const Te = L.scope === "global" ? "global" : "local";
|
|
14057
14058
|
let nt = le, Re = de;
|
|
14058
14059
|
if (Te === "global") {
|
|
14059
|
-
const je = ((
|
|
14060
|
+
const je = ((Fe = de.header) == null ? void 0 : Fe.id) === L.sectionId ? de.header : ((We = de.footer) == null ? void 0 : We.id) === L.sectionId ? de.footer : null;
|
|
14060
14061
|
if (!je)
|
|
14061
14062
|
throw new Error(`Global section "${L.sectionId}" was not found.`);
|
|
14062
14063
|
if (je.type !== A)
|
|
14063
14064
|
throw new Error(`Section "${L.sectionId}" is type "${je.type}", not "${A}".`);
|
|
14064
|
-
const
|
|
14065
|
+
const Ue = No(je.data) ? je.data : {}, Le = Ia(Ue, L), Xe = ye.parse(Le), He = { ...je, data: Xe };
|
|
14065
14066
|
Re = {
|
|
14066
14067
|
...de,
|
|
14067
14068
|
...je.type === "header" ? { header: He } : { footer: He }
|
|
14068
|
-
},
|
|
14069
|
+
}, $.current = Re, Y(Re);
|
|
14069
14070
|
} else {
|
|
14070
14071
|
const je = le.sections.find((He) => He.id === L.sectionId);
|
|
14071
14072
|
if (!je)
|
|
14072
14073
|
throw new Error(`Local section "${L.sectionId}" was not found in page "${b}".`);
|
|
14073
14074
|
if (je.type !== A)
|
|
14074
14075
|
throw new Error(`Section "${L.sectionId}" is type "${je.type}", not "${A}".`);
|
|
14075
|
-
const
|
|
14076
|
+
const Ue = No(je.data) ? je.data : {}, Le = Ia(Ue, L), Xe = ye.parse(Le);
|
|
14076
14077
|
nt = {
|
|
14077
14078
|
...le,
|
|
14078
14079
|
sections: le.sections.map(
|
|
@@ -14108,7 +14109,7 @@ const Da = ({
|
|
|
14108
14109
|
var de;
|
|
14109
14110
|
if (!f) return;
|
|
14110
14111
|
await rt();
|
|
14111
|
-
const A = re.current, z =
|
|
14112
|
+
const A = re.current, z = $.current;
|
|
14112
14113
|
if (!A) return;
|
|
14113
14114
|
const L = Gt({
|
|
14114
14115
|
pages: { [b]: A },
|
|
@@ -14133,7 +14134,7 @@ const Da = ({
|
|
|
14133
14134
|
var de;
|
|
14134
14135
|
if (!h) return;
|
|
14135
14136
|
await rt();
|
|
14136
|
-
const A = re.current, z =
|
|
14137
|
+
const A = re.current, z = $.current;
|
|
14137
14138
|
if (!A) return;
|
|
14138
14139
|
const L = Gt({
|
|
14139
14140
|
pages: { [b]: A },
|
|
@@ -14175,7 +14176,7 @@ const Da = ({
|
|
|
14175
14176
|
const A = J ?? v, z = typeof ((Z = A == null ? void 0 : A.meta) == null ? void 0 : Z.title) == "string" ? A.meta.title : b, L = typeof ((le = A == null ? void 0 : A.meta) == null ? void 0 : le.description) == "string" ? A.meta.description : "";
|
|
14176
14177
|
zn("mcp-manifest", zl(b)), zn("olon-contract", Pl(b)), Tl(z, L, `/admin${b === "home" ? "" : `/${b}`}`);
|
|
14177
14178
|
}, [v, J, b]), !v) return /* @__PURE__ */ l.jsx("div", { children: "Loading Studio..." });
|
|
14178
|
-
const Me = (
|
|
14179
|
+
const Me = (B == null ? void 0 : B.scope) === "global" ? {
|
|
14179
14180
|
sections: [T.siteConfig.header, T.siteConfig.footer].filter(
|
|
14180
14181
|
(A) => A != null
|
|
14181
14182
|
)
|
|
@@ -14194,7 +14195,7 @@ const Da = ({
|
|
|
14194
14195
|
menuConfig: T.menuConfig,
|
|
14195
14196
|
themeConfig: T.themeConfig,
|
|
14196
14197
|
slug: b,
|
|
14197
|
-
selectedId:
|
|
14198
|
+
selectedId: B == null ? void 0 : B.id,
|
|
14198
14199
|
scrollToSectionId: N,
|
|
14199
14200
|
onScrollRequested: Je
|
|
14200
14201
|
}
|
|
@@ -14218,7 +14219,7 @@ const Da = ({
|
|
|
14218
14219
|
/* @__PURE__ */ l.jsx(
|
|
14219
14220
|
ob,
|
|
14220
14221
|
{
|
|
14221
|
-
selectedSection:
|
|
14222
|
+
selectedSection: B,
|
|
14222
14223
|
pageData: Me,
|
|
14223
14224
|
allSectionsData: Ce,
|
|
14224
14225
|
onUpdate: qe,
|
|
@@ -14226,7 +14227,7 @@ const Da = ({
|
|
|
14226
14227
|
onClose: () => {
|
|
14227
14228
|
W(null), R(null);
|
|
14228
14229
|
},
|
|
14229
|
-
expandedItemPath:
|
|
14230
|
+
expandedItemPath: U,
|
|
14230
14231
|
onReorderSection: v ? (A, z) => De(A, z, v) : void 0,
|
|
14231
14232
|
allLayers: we,
|
|
14232
14233
|
activeSectionId: q,
|
|
@@ -14265,8 +14266,8 @@ const Da = ({
|
|
|
14265
14266
|
}
|
|
14266
14267
|
)
|
|
14267
14268
|
] }) }) });
|
|
14268
|
-
},
|
|
14269
|
-
function
|
|
14269
|
+
}, La = ({ tenantCss: e, adminCss: t }) => /* @__PURE__ */ l.jsx(ii, { mode: "tenant", tenantCss: e, adminCss: t, children: /* @__PURE__ */ l.jsx(ub, {}) });
|
|
14270
|
+
function Eb({ config: e }) {
|
|
14270
14271
|
var y, v, k, C;
|
|
14271
14272
|
const {
|
|
14272
14273
|
registry: t = {},
|
|
@@ -14284,7 +14285,7 @@ function Sb({ config: e }) {
|
|
|
14284
14285
|
hotSave: (v = e.persistence) == null ? void 0 : v.hotSave,
|
|
14285
14286
|
showLegacySave: ((k = e.persistence) == null ? void 0 : k.showLegacySave) ?? !0,
|
|
14286
14287
|
showHotSave: ((C = e.persistence) == null ? void 0 : C.showHotSave) ?? !1
|
|
14287
|
-
}, p = typeof (c == null ? void 0 : c.tenant) == "string" ? c.tenant : "", x = typeof (c == null ? void 0 : c.admin) == "string" ? c.admin :
|
|
14288
|
+
}, p = typeof (c == null ? void 0 : c.tenant) == "string" ? c.tenant : "", x = typeof (c == null ? void 0 : c.admin) == "string" ? c.admin : xb, m = he(
|
|
14288
14289
|
() => Gt({
|
|
14289
14290
|
pages: n,
|
|
14290
14291
|
siteConfig: o,
|
|
@@ -14302,7 +14303,7 @@ function Sb({ config: e }) {
|
|
|
14302
14303
|
console.warn("[JsonPages] setTheme failed", j);
|
|
14303
14304
|
}
|
|
14304
14305
|
w(!0);
|
|
14305
|
-
}, [m.themeConfig]), b ? /* @__PURE__ */ l.jsx(
|
|
14306
|
+
}, [m.themeConfig]), b ? /* @__PURE__ */ l.jsx(wb, { children: /* @__PURE__ */ l.jsx(
|
|
14306
14307
|
Id,
|
|
14307
14308
|
{
|
|
14308
14309
|
config: {
|
|
@@ -14318,7 +14319,7 @@ function Sb({ config: e }) {
|
|
|
14318
14319
|
{
|
|
14319
14320
|
path: "/",
|
|
14320
14321
|
element: /* @__PURE__ */ l.jsx(
|
|
14321
|
-
|
|
14322
|
+
Ma,
|
|
14322
14323
|
{
|
|
14323
14324
|
pageRegistry: n,
|
|
14324
14325
|
siteConfig: o,
|
|
@@ -14337,7 +14338,7 @@ function Sb({ config: e }) {
|
|
|
14337
14338
|
{
|
|
14338
14339
|
path: "/*",
|
|
14339
14340
|
element: /* @__PURE__ */ l.jsx(
|
|
14340
|
-
|
|
14341
|
+
Ma,
|
|
14341
14342
|
{
|
|
14342
14343
|
pageRegistry: n,
|
|
14343
14344
|
siteConfig: o,
|
|
@@ -14356,7 +14357,7 @@ function Sb({ config: e }) {
|
|
|
14356
14357
|
{
|
|
14357
14358
|
path: "/admin",
|
|
14358
14359
|
element: /* @__PURE__ */ l.jsx(
|
|
14359
|
-
|
|
14360
|
+
_a,
|
|
14360
14361
|
{
|
|
14361
14362
|
pageRegistry: n,
|
|
14362
14363
|
schemas: r,
|
|
@@ -14382,7 +14383,7 @@ function Sb({ config: e }) {
|
|
|
14382
14383
|
{
|
|
14383
14384
|
path: "/admin/*",
|
|
14384
14385
|
element: /* @__PURE__ */ l.jsx(
|
|
14385
|
-
|
|
14386
|
+
_a,
|
|
14386
14387
|
{
|
|
14387
14388
|
pageRegistry: n,
|
|
14388
14389
|
schemas: r,
|
|
@@ -14407,14 +14408,14 @@ function Sb({ config: e }) {
|
|
|
14407
14408
|
It,
|
|
14408
14409
|
{
|
|
14409
14410
|
path: "/admin/preview",
|
|
14410
|
-
element: /* @__PURE__ */ l.jsx(
|
|
14411
|
+
element: /* @__PURE__ */ l.jsx(La, { tenantCss: p, adminCss: x })
|
|
14411
14412
|
}
|
|
14412
14413
|
),
|
|
14413
14414
|
/* @__PURE__ */ l.jsx(
|
|
14414
14415
|
It,
|
|
14415
14416
|
{
|
|
14416
14417
|
path: "/admin/preview/*",
|
|
14417
|
-
element: /* @__PURE__ */ l.jsx(
|
|
14418
|
+
element: /* @__PURE__ */ l.jsx(La, { tenantCss: p, adminCss: x })
|
|
14418
14419
|
}
|
|
14419
14420
|
),
|
|
14420
14421
|
/* @__PURE__ */ l.jsx(It, { path: "*", element: /* @__PURE__ */ l.jsx(u, {}) })
|
|
@@ -14444,8 +14445,8 @@ export {
|
|
|
14444
14445
|
hb as DefaultNotFound,
|
|
14445
14446
|
Tn as FormFactory,
|
|
14446
14447
|
kr as InputWidgets,
|
|
14447
|
-
|
|
14448
|
-
|
|
14448
|
+
Eb as JsonPagesEngine,
|
|
14449
|
+
as as PageRenderer,
|
|
14449
14450
|
ub as PreviewEntry,
|
|
14450
14451
|
Se as STUDIO_EVENTS,
|
|
14451
14452
|
Jr as SectionRenderer,
|
|
@@ -14456,9 +14457,9 @@ export {
|
|
|
14456
14457
|
Pa as buildWebMcpToolName,
|
|
14457
14458
|
ae as cn,
|
|
14458
14459
|
gb as createWebMcpToolInputSchema,
|
|
14459
|
-
|
|
14460
|
+
bb as ensureWebMcpRuntime,
|
|
14460
14461
|
mb as parseWebMcpToolName,
|
|
14461
|
-
|
|
14462
|
+
vb as registerWebMcpTool,
|
|
14462
14463
|
f0 as resolveAssetUrl,
|
|
14463
14464
|
oi as resolveHeaderMenuItems,
|
|
14464
14465
|
Gt as resolveRuntimeConfig,
|