@golocalinteractive/golocal-cloud-wrapper 1.0.9 → 1.0.11
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.
|
@@ -122,7 +122,7 @@ function bi() {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
function o() {
|
|
125
|
-
var w =
|
|
125
|
+
var w = z.A;
|
|
126
126
|
return w === null ? null : w.getOwner();
|
|
127
127
|
}
|
|
128
128
|
function s() {
|
|
@@ -153,7 +153,7 @@ function bi() {
|
|
|
153
153
|
"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."
|
|
154
154
|
)), w = this.props.ref, w !== void 0 ? w : null;
|
|
155
155
|
}
|
|
156
|
-
function f(w, T, D, F, X, ee, ce,
|
|
156
|
+
function f(w, T, D, F, X, ee, ce, G) {
|
|
157
157
|
return D = ee.ref, w = {
|
|
158
158
|
$$typeof: g,
|
|
159
159
|
type: w,
|
|
@@ -182,10 +182,10 @@ function bi() {
|
|
|
182
182
|
configurable: !1,
|
|
183
183
|
enumerable: !1,
|
|
184
184
|
writable: !0,
|
|
185
|
-
value:
|
|
185
|
+
value: G
|
|
186
186
|
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
187
187
|
}
|
|
188
|
-
function u(w, T, D, F, X, ee, ce,
|
|
188
|
+
function u(w, T, D, F, X, ee, ce, G) {
|
|
189
189
|
var J = T.children;
|
|
190
190
|
if (J !== void 0)
|
|
191
191
|
if (F)
|
|
@@ -232,13 +232,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
232
232
|
o(),
|
|
233
233
|
D,
|
|
234
234
|
ce,
|
|
235
|
-
|
|
235
|
+
G
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
238
|
function d(w) {
|
|
239
239
|
typeof w == "object" && w !== null && w.$$typeof === g && w._store && (w._store.validated = 1);
|
|
240
240
|
}
|
|
241
|
-
var m = fe, g = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), E = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"),
|
|
241
|
+
var m = fe, g = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), E = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), z = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, V = Array.isArray, $ = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
244
|
m = {
|
|
@@ -246,12 +246,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
246
246
|
return w();
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
-
var Y, j = {},
|
|
249
|
+
var Y, j = {}, B = m["react-stack-bottom-frame"].bind(
|
|
250
250
|
m,
|
|
251
251
|
s
|
|
252
252
|
)(), R = $(r(s)), O = {};
|
|
253
253
|
mt.Fragment = h, mt.jsx = function(w, T, D, F, X) {
|
|
254
|
-
var ee = 1e4 >
|
|
254
|
+
var ee = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return u(
|
|
256
256
|
w,
|
|
257
257
|
T,
|
|
@@ -259,11 +259,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259
259
|
!1,
|
|
260
260
|
F,
|
|
261
261
|
X,
|
|
262
|
-
ee ? Error("react-stack-top-frame") :
|
|
262
|
+
ee ? Error("react-stack-top-frame") : B,
|
|
263
263
|
ee ? $(r(w)) : R
|
|
264
264
|
);
|
|
265
265
|
}, mt.jsxs = function(w, T, D, F, X) {
|
|
266
|
-
var ee = 1e4 >
|
|
266
|
+
var ee = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
267
267
|
return u(
|
|
268
268
|
w,
|
|
269
269
|
T,
|
|
@@ -271,7 +271,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
271
271
|
!0,
|
|
272
272
|
F,
|
|
273
273
|
X,
|
|
274
|
-
ee ? Error("react-stack-top-frame") :
|
|
274
|
+
ee ? Error("react-stack-top-frame") : B,
|
|
275
275
|
ee ? $(r(w)) : R
|
|
276
276
|
);
|
|
277
277
|
};
|
|
@@ -548,7 +548,7 @@ async function Fo(...e) {
|
|
|
548
548
|
A,
|
|
549
549
|
0
|
|
550
550
|
];
|
|
551
|
-
const C = !K(c), k = b(), I = k.data,
|
|
551
|
+
const C = !K(c), k = b(), I = k.data, z = k._c, W = K(z) ? I : z;
|
|
552
552
|
if (C && (c = xe(c) ? c(W, I) : c, h({
|
|
553
553
|
data: c,
|
|
554
554
|
_c: W
|
|
@@ -744,7 +744,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
744
744
|
}), yn = {
|
|
745
745
|
dedupe: !0
|
|
746
746
|
}, Yi = (e, t, n) => {
|
|
747
|
-
const { cache: r, compare: o, suspense: s, fallbackData: a, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: f, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: m } = n, [g, b, h, x] = Ne.get(r), [v, y] = tr(e), E = He(!1), S = He(!1), _ = He(v), M = He(t), A = He(n), C = () => A.current, k = () => C().isVisible() && C().isOnline(), [I,
|
|
747
|
+
const { cache: r, compare: o, suspense: s, fallbackData: a, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: f, refreshWhenHidden: u, refreshWhenOffline: d, keepPreviousData: m } = n, [g, b, h, x] = Ne.get(r), [v, y] = tr(e), E = He(!1), S = He(!1), _ = He(v), M = He(t), A = He(n), C = () => A.current, k = () => C().isVisible() && C().isOnline(), [I, z, W, V] = Lo(r, v), $ = He({}).current, Y = K(a) ? K(n.fallback) ? le : n.fallback[v] : a, j = (q, Z) => {
|
|
748
748
|
for (const ie in $) {
|
|
749
749
|
const te = ie;
|
|
750
750
|
if (te === "data") {
|
|
@@ -754,7 +754,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
754
754
|
return !1;
|
|
755
755
|
}
|
|
756
756
|
return !0;
|
|
757
|
-
},
|
|
757
|
+
}, B = In(() => {
|
|
758
758
|
const q = !v || !t ? !1 : K(i) ? C().isPaused() || s ? !1 : c !== !1 : i, Z = (ue) => {
|
|
759
759
|
const Oe = ke(ue);
|
|
760
760
|
return delete Oe._k, q ? {
|
|
@@ -783,7 +783,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
783
783
|
r,
|
|
784
784
|
v
|
|
785
785
|
]
|
|
786
|
-
),
|
|
786
|
+
), B[0], B[1]), O = !E.current, w = g[v] && g[v].length > 0, T = R.data, D = K(T) ? Y && jo(Y) ? wn(Y) : Y : T, F = R.error, X = He(D), ee = m ? K(T) ? K(X.current) ? D : X.current : T : D, ce = w && !K(F) ? !1 : O && !K(i) ? i : C().isPaused() ? !1 : s ? K(D) ? !1 : c : K(D) || c, G = !!(v && t && O && ce), J = K(R.isValidating) ? G : R.isValidating, Q = K(R.isLoading) ? G : R.isLoading, oe = mn(
|
|
787
787
|
async (q) => {
|
|
788
788
|
const Z = M.current;
|
|
789
789
|
if (!v || !Z || S.current || C().isPaused())
|
|
@@ -793,7 +793,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
793
793
|
isValidating: !1,
|
|
794
794
|
isLoading: !1
|
|
795
795
|
}, Tr = () => {
|
|
796
|
-
|
|
796
|
+
z(Oe);
|
|
797
797
|
}, Pr = () => {
|
|
798
798
|
const ge = h[v];
|
|
799
799
|
ge && ge[1] === te && delete h[v];
|
|
@@ -802,7 +802,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
802
802
|
};
|
|
803
803
|
K(I().data) && (Nr.isLoading = !0);
|
|
804
804
|
try {
|
|
805
|
-
if (re && (
|
|
805
|
+
if (re && (z(Nr), n.loadingTimeout && K(I().data) && setTimeout(() => {
|
|
806
806
|
pe && ue() && C().onLoadingSlow(v, n);
|
|
807
807
|
}, n.loadingTimeout), h[v] = [
|
|
808
808
|
Z(y),
|
|
@@ -872,7 +872,7 @@ const wn = fe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
872
872
|
return oe(Ve);
|
|
873
873
|
}
|
|
874
874
|
});
|
|
875
|
-
return S.current = !1, _.current = v, E.current = !0,
|
|
875
|
+
return S.current = !1, _.current = v, E.current = !0, z({
|
|
876
876
|
_k: y
|
|
877
877
|
}), ce && (K(D) || vt ? q() : Ni(q)), () => {
|
|
878
878
|
S.current = !0, te();
|
|
@@ -1596,9 +1596,9 @@ const se = (e) => {
|
|
|
1596
1596
|
"bottom-left",
|
|
1597
1597
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1598
1598
|
"left-bottom"
|
|
1599
|
-
], _ = () => [...S(), N, P], M = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], C = () => [N, P, c], k = () => [Qe, "full", "auto", ...C()], I = () => [$e, "none", "subgrid", N, P],
|
|
1599
|
+
], _ = () => [...S(), N, P], M = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], C = () => [N, P, c], k = () => [Qe, "full", "auto", ...C()], I = () => [$e, "none", "subgrid", N, P], z = () => ["auto", {
|
|
1600
1600
|
span: ["full", $e, N, P]
|
|
1601
|
-
}, $e, N, P], W = () => [$e, "auto", N, P], V = () => ["auto", "min", "max", "fr", N, P], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...C()],
|
|
1601
|
+
}, $e, N, P], W = () => [$e, "auto", N, P], V = () => ["auto", "min", "max", "fr", N, P], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...C()], B = () => [Qe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], R = () => [e, N, P], O = () => [...S(), to, eo, {
|
|
1602
1602
|
position: [N, P]
|
|
1603
1603
|
}], w = () => ["no-repeat", {
|
|
1604
1604
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -1612,7 +1612,7 @@ const se = (e) => {
|
|
|
1612
1612
|
f,
|
|
1613
1613
|
N,
|
|
1614
1614
|
P
|
|
1615
|
-
], X = () => ["", H, ht, Ke], ee = () => ["solid", "dashed", "dotted", "double"], ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"],
|
|
1615
|
+
], X = () => ["", H, ht, Ke], ee = () => ["solid", "dashed", "dotted", "double"], ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], G = () => [H, Cn, to, eo], J = () => [
|
|
1616
1616
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1617
1617
|
"",
|
|
1618
1618
|
"none",
|
|
@@ -1931,7 +1931,7 @@ const se = (e) => {
|
|
|
1931
1931
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1932
1932
|
*/
|
|
1933
1933
|
"col-start-end": [{
|
|
1934
|
-
col:
|
|
1934
|
+
col: z()
|
|
1935
1935
|
}],
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Grid Column Start
|
|
@@ -1959,7 +1959,7 @@ const se = (e) => {
|
|
|
1959
1959
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1960
1960
|
*/
|
|
1961
1961
|
"row-start-end": [{
|
|
1962
|
-
row:
|
|
1962
|
+
row: z()
|
|
1963
1963
|
}],
|
|
1964
1964
|
/**
|
|
1965
1965
|
* Grid Row Start
|
|
@@ -2243,14 +2243,14 @@ const se = (e) => {
|
|
|
2243
2243
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
2244
2244
|
*/
|
|
2245
2245
|
size: [{
|
|
2246
|
-
size:
|
|
2246
|
+
size: B()
|
|
2247
2247
|
}],
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Width
|
|
2250
2250
|
* @see https://tailwindcss.com/docs/width
|
|
2251
2251
|
*/
|
|
2252
2252
|
w: [{
|
|
2253
|
-
w: [i, "screen", ...
|
|
2253
|
+
w: [i, "screen", ...B()]
|
|
2254
2254
|
}],
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Min-Width
|
|
@@ -2262,7 +2262,7 @@ const se = (e) => {
|
|
|
2262
2262
|
"screen",
|
|
2263
2263
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2264
2264
|
"none",
|
|
2265
|
-
...
|
|
2265
|
+
...B()
|
|
2266
2266
|
]
|
|
2267
2267
|
}],
|
|
2268
2268
|
/**
|
|
@@ -2280,7 +2280,7 @@ const se = (e) => {
|
|
|
2280
2280
|
{
|
|
2281
2281
|
screen: [a]
|
|
2282
2282
|
},
|
|
2283
|
-
...
|
|
2283
|
+
...B()
|
|
2284
2284
|
]
|
|
2285
2285
|
}],
|
|
2286
2286
|
/**
|
|
@@ -2288,21 +2288,21 @@ const se = (e) => {
|
|
|
2288
2288
|
* @see https://tailwindcss.com/docs/height
|
|
2289
2289
|
*/
|
|
2290
2290
|
h: [{
|
|
2291
|
-
h: ["screen", "lh", ...
|
|
2291
|
+
h: ["screen", "lh", ...B()]
|
|
2292
2292
|
}],
|
|
2293
2293
|
/**
|
|
2294
2294
|
* Min-Height
|
|
2295
2295
|
* @see https://tailwindcss.com/docs/min-height
|
|
2296
2296
|
*/
|
|
2297
2297
|
"min-h": [{
|
|
2298
|
-
"min-h": ["screen", "lh", "none", ...
|
|
2298
|
+
"min-h": ["screen", "lh", "none", ...B()]
|
|
2299
2299
|
}],
|
|
2300
2300
|
/**
|
|
2301
2301
|
* Max-Height
|
|
2302
2302
|
* @see https://tailwindcss.com/docs/max-height
|
|
2303
2303
|
*/
|
|
2304
2304
|
"max-h": [{
|
|
2305
|
-
"max-h": ["screen", "lh", ...
|
|
2305
|
+
"max-h": ["screen", "lh", ...B()]
|
|
2306
2306
|
}],
|
|
2307
2307
|
// ------------------
|
|
2308
2308
|
// --- Typography ---
|
|
@@ -3104,10 +3104,10 @@ const se = (e) => {
|
|
|
3104
3104
|
"mask-linear": [H]
|
|
3105
3105
|
}],
|
|
3106
3106
|
"mask-image-linear-from-pos": [{
|
|
3107
|
-
"mask-linear-from":
|
|
3107
|
+
"mask-linear-from": G()
|
|
3108
3108
|
}],
|
|
3109
3109
|
"mask-image-linear-to-pos": [{
|
|
3110
|
-
"mask-linear-to":
|
|
3110
|
+
"mask-linear-to": G()
|
|
3111
3111
|
}],
|
|
3112
3112
|
"mask-image-linear-from-color": [{
|
|
3113
3113
|
"mask-linear-from": R()
|
|
@@ -3116,10 +3116,10 @@ const se = (e) => {
|
|
|
3116
3116
|
"mask-linear-to": R()
|
|
3117
3117
|
}],
|
|
3118
3118
|
"mask-image-t-from-pos": [{
|
|
3119
|
-
"mask-t-from":
|
|
3119
|
+
"mask-t-from": G()
|
|
3120
3120
|
}],
|
|
3121
3121
|
"mask-image-t-to-pos": [{
|
|
3122
|
-
"mask-t-to":
|
|
3122
|
+
"mask-t-to": G()
|
|
3123
3123
|
}],
|
|
3124
3124
|
"mask-image-t-from-color": [{
|
|
3125
3125
|
"mask-t-from": R()
|
|
@@ -3128,10 +3128,10 @@ const se = (e) => {
|
|
|
3128
3128
|
"mask-t-to": R()
|
|
3129
3129
|
}],
|
|
3130
3130
|
"mask-image-r-from-pos": [{
|
|
3131
|
-
"mask-r-from":
|
|
3131
|
+
"mask-r-from": G()
|
|
3132
3132
|
}],
|
|
3133
3133
|
"mask-image-r-to-pos": [{
|
|
3134
|
-
"mask-r-to":
|
|
3134
|
+
"mask-r-to": G()
|
|
3135
3135
|
}],
|
|
3136
3136
|
"mask-image-r-from-color": [{
|
|
3137
3137
|
"mask-r-from": R()
|
|
@@ -3140,10 +3140,10 @@ const se = (e) => {
|
|
|
3140
3140
|
"mask-r-to": R()
|
|
3141
3141
|
}],
|
|
3142
3142
|
"mask-image-b-from-pos": [{
|
|
3143
|
-
"mask-b-from":
|
|
3143
|
+
"mask-b-from": G()
|
|
3144
3144
|
}],
|
|
3145
3145
|
"mask-image-b-to-pos": [{
|
|
3146
|
-
"mask-b-to":
|
|
3146
|
+
"mask-b-to": G()
|
|
3147
3147
|
}],
|
|
3148
3148
|
"mask-image-b-from-color": [{
|
|
3149
3149
|
"mask-b-from": R()
|
|
@@ -3152,10 +3152,10 @@ const se = (e) => {
|
|
|
3152
3152
|
"mask-b-to": R()
|
|
3153
3153
|
}],
|
|
3154
3154
|
"mask-image-l-from-pos": [{
|
|
3155
|
-
"mask-l-from":
|
|
3155
|
+
"mask-l-from": G()
|
|
3156
3156
|
}],
|
|
3157
3157
|
"mask-image-l-to-pos": [{
|
|
3158
|
-
"mask-l-to":
|
|
3158
|
+
"mask-l-to": G()
|
|
3159
3159
|
}],
|
|
3160
3160
|
"mask-image-l-from-color": [{
|
|
3161
3161
|
"mask-l-from": R()
|
|
@@ -3164,10 +3164,10 @@ const se = (e) => {
|
|
|
3164
3164
|
"mask-l-to": R()
|
|
3165
3165
|
}],
|
|
3166
3166
|
"mask-image-x-from-pos": [{
|
|
3167
|
-
"mask-x-from":
|
|
3167
|
+
"mask-x-from": G()
|
|
3168
3168
|
}],
|
|
3169
3169
|
"mask-image-x-to-pos": [{
|
|
3170
|
-
"mask-x-to":
|
|
3170
|
+
"mask-x-to": G()
|
|
3171
3171
|
}],
|
|
3172
3172
|
"mask-image-x-from-color": [{
|
|
3173
3173
|
"mask-x-from": R()
|
|
@@ -3176,10 +3176,10 @@ const se = (e) => {
|
|
|
3176
3176
|
"mask-x-to": R()
|
|
3177
3177
|
}],
|
|
3178
3178
|
"mask-image-y-from-pos": [{
|
|
3179
|
-
"mask-y-from":
|
|
3179
|
+
"mask-y-from": G()
|
|
3180
3180
|
}],
|
|
3181
3181
|
"mask-image-y-to-pos": [{
|
|
3182
|
-
"mask-y-to":
|
|
3182
|
+
"mask-y-to": G()
|
|
3183
3183
|
}],
|
|
3184
3184
|
"mask-image-y-from-color": [{
|
|
3185
3185
|
"mask-y-from": R()
|
|
@@ -3191,10 +3191,10 @@ const se = (e) => {
|
|
|
3191
3191
|
"mask-radial": [N, P]
|
|
3192
3192
|
}],
|
|
3193
3193
|
"mask-image-radial-from-pos": [{
|
|
3194
|
-
"mask-radial-from":
|
|
3194
|
+
"mask-radial-from": G()
|
|
3195
3195
|
}],
|
|
3196
3196
|
"mask-image-radial-to-pos": [{
|
|
3197
|
-
"mask-radial-to":
|
|
3197
|
+
"mask-radial-to": G()
|
|
3198
3198
|
}],
|
|
3199
3199
|
"mask-image-radial-from-color": [{
|
|
3200
3200
|
"mask-radial-from": R()
|
|
@@ -3218,10 +3218,10 @@ const se = (e) => {
|
|
|
3218
3218
|
"mask-conic": [H]
|
|
3219
3219
|
}],
|
|
3220
3220
|
"mask-image-conic-from-pos": [{
|
|
3221
|
-
"mask-conic-from":
|
|
3221
|
+
"mask-conic-from": G()
|
|
3222
3222
|
}],
|
|
3223
3223
|
"mask-image-conic-to-pos": [{
|
|
3224
|
-
"mask-conic-to":
|
|
3224
|
+
"mask-conic-to": G()
|
|
3225
3225
|
}],
|
|
3226
3226
|
"mask-image-conic-from-color": [{
|
|
3227
3227
|
"mask-conic-from": R()
|
|
@@ -4048,7 +4048,7 @@ const se = (e) => {
|
|
|
4048
4048
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
4049
4049
|
};
|
|
4050
4050
|
}, fl = /* @__PURE__ */ Uc(dl);
|
|
4051
|
-
function
|
|
4051
|
+
function U(...e) {
|
|
4052
4052
|
return fl(Yo(e));
|
|
4053
4053
|
}
|
|
4054
4054
|
const pl = Xo(
|
|
@@ -4081,7 +4081,7 @@ const pl = Xo(
|
|
|
4081
4081
|
return /* @__PURE__ */ p.jsx(
|
|
4082
4082
|
a,
|
|
4083
4083
|
{
|
|
4084
|
-
className:
|
|
4084
|
+
className: U(pl({ variant: t, size: n, className: e })),
|
|
4085
4085
|
ref: s,
|
|
4086
4086
|
...o
|
|
4087
4087
|
}
|
|
@@ -4089,22 +4089,7 @@ const pl = Xo(
|
|
|
4089
4089
|
}
|
|
4090
4090
|
);
|
|
4091
4091
|
or.displayName = "Button";
|
|
4092
|
-
|
|
4093
|
-
({ className: e, type: t, ...n }, r) => /* @__PURE__ */ p.jsx(
|
|
4094
|
-
"input",
|
|
4095
|
-
{
|
|
4096
|
-
type: t,
|
|
4097
|
-
className: z(
|
|
4098
|
-
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
4099
|
-
e
|
|
4100
|
-
),
|
|
4101
|
-
ref: r,
|
|
4102
|
-
...n
|
|
4103
|
-
}
|
|
4104
|
-
)
|
|
4105
|
-
);
|
|
4106
|
-
ml.displayName = "Input";
|
|
4107
|
-
var hl = [
|
|
4092
|
+
var ml = [
|
|
4108
4093
|
"a",
|
|
4109
4094
|
"button",
|
|
4110
4095
|
"div",
|
|
@@ -4122,7 +4107,7 @@ var hl = [
|
|
|
4122
4107
|
"span",
|
|
4123
4108
|
"svg",
|
|
4124
4109
|
"ul"
|
|
4125
|
-
], ne =
|
|
4110
|
+
], ne = ml.reduce((e, t) => {
|
|
4126
4111
|
const n = /* @__PURE__ */ at(`Primitive.${t}`), r = l.forwardRef((o, s) => {
|
|
4127
4112
|
const { asChild: a, ...i } = o, c = a ? n : t;
|
|
4128
4113
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p.jsx(c, { ...i, ref: s });
|
|
@@ -4132,8 +4117,8 @@ var hl = [
|
|
|
4132
4117
|
function as(e, t) {
|
|
4133
4118
|
e && No.flushSync(() => e.dispatchEvent(t));
|
|
4134
4119
|
}
|
|
4135
|
-
var
|
|
4136
|
-
const { decorative: n, orientation: r = no, ...o } = e, s =
|
|
4120
|
+
var hl = "Separator", no = "horizontal", gl = ["horizontal", "vertical"], is = l.forwardRef((e, t) => {
|
|
4121
|
+
const { decorative: n, orientation: r = no, ...o } = e, s = vl(r) ? r : no, i = n ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
|
|
4137
4122
|
return /* @__PURE__ */ p.jsx(
|
|
4138
4123
|
ne.div,
|
|
4139
4124
|
{
|
|
@@ -4144,9 +4129,9 @@ var gl = "Separator", no = "horizontal", vl = ["horizontal", "vertical"], is = l
|
|
|
4144
4129
|
}
|
|
4145
4130
|
);
|
|
4146
4131
|
});
|
|
4147
|
-
is.displayName =
|
|
4148
|
-
function
|
|
4149
|
-
return
|
|
4132
|
+
is.displayName = hl;
|
|
4133
|
+
function vl(e) {
|
|
4134
|
+
return gl.includes(e);
|
|
4150
4135
|
}
|
|
4151
4136
|
var cs = is;
|
|
4152
4137
|
const ls = l.forwardRef(
|
|
@@ -4156,7 +4141,7 @@ const ls = l.forwardRef(
|
|
|
4156
4141
|
ref: o,
|
|
4157
4142
|
decorative: n,
|
|
4158
4143
|
orientation: t,
|
|
4159
|
-
className:
|
|
4144
|
+
className: U(
|
|
4160
4145
|
"shrink-0 bg-border",
|
|
4161
4146
|
t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
4162
4147
|
e
|
|
@@ -4172,7 +4157,7 @@ function L(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
4172
4157
|
return t == null ? void 0 : t(o);
|
|
4173
4158
|
};
|
|
4174
4159
|
}
|
|
4175
|
-
function
|
|
4160
|
+
function bl(e, t) {
|
|
4176
4161
|
const n = l.createContext(t), r = (s) => {
|
|
4177
4162
|
const { children: a, ...i } = s, c = l.useMemo(() => i, Object.values(i));
|
|
4178
4163
|
return /* @__PURE__ */ p.jsx(n.Provider, { value: c, children: a });
|
|
@@ -4216,9 +4201,9 @@ function qe(e, t = []) {
|
|
|
4216
4201
|
);
|
|
4217
4202
|
};
|
|
4218
4203
|
};
|
|
4219
|
-
return o.scopeName = e, [r,
|
|
4204
|
+
return o.scopeName = e, [r, xl(o, ...t)];
|
|
4220
4205
|
}
|
|
4221
|
-
function
|
|
4206
|
+
function xl(...e) {
|
|
4222
4207
|
const t = e[0];
|
|
4223
4208
|
if (e.length === 1) return t;
|
|
4224
4209
|
const n = () => {
|
|
@@ -4237,15 +4222,15 @@ function wl(...e) {
|
|
|
4237
4222
|
return n.scopeName = t.scopeName, n;
|
|
4238
4223
|
}
|
|
4239
4224
|
var Be = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
4240
|
-
},
|
|
4241
|
-
}),
|
|
4225
|
+
}, wl = l[" useId ".trim().toString()] || (() => {
|
|
4226
|
+
}), yl = 0;
|
|
4242
4227
|
function rt(e) {
|
|
4243
|
-
const [t, n] = l.useState(
|
|
4228
|
+
const [t, n] = l.useState(wl());
|
|
4244
4229
|
return Be(() => {
|
|
4245
|
-
n((r) => r ?? String(
|
|
4230
|
+
n((r) => r ?? String(yl++));
|
|
4246
4231
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
4247
4232
|
}
|
|
4248
|
-
var
|
|
4233
|
+
var Cl = l[" useInsertionEffect ".trim().toString()] || Be;
|
|
4249
4234
|
function sr({
|
|
4250
4235
|
prop: e,
|
|
4251
4236
|
defaultProp: t,
|
|
@@ -4253,7 +4238,7 @@ function sr({
|
|
|
4253
4238
|
},
|
|
4254
4239
|
caller: r
|
|
4255
4240
|
}) {
|
|
4256
|
-
const [o, s, a] =
|
|
4241
|
+
const [o, s, a] = El({
|
|
4257
4242
|
defaultProp: t,
|
|
4258
4243
|
onChange: n
|
|
4259
4244
|
}), i = e !== void 0, c = i ? e : o;
|
|
@@ -4270,7 +4255,7 @@ function sr({
|
|
|
4270
4255
|
(u) => {
|
|
4271
4256
|
var d;
|
|
4272
4257
|
if (i) {
|
|
4273
|
-
const m =
|
|
4258
|
+
const m = Sl(u) ? u(e) : u;
|
|
4274
4259
|
m !== e && ((d = a.current) == null || d.call(a, m));
|
|
4275
4260
|
} else
|
|
4276
4261
|
s(u);
|
|
@@ -4279,19 +4264,19 @@ function sr({
|
|
|
4279
4264
|
);
|
|
4280
4265
|
return [c, f];
|
|
4281
4266
|
}
|
|
4282
|
-
function
|
|
4267
|
+
function El({
|
|
4283
4268
|
defaultProp: e,
|
|
4284
4269
|
onChange: t
|
|
4285
4270
|
}) {
|
|
4286
4271
|
const [n, r] = l.useState(e), o = l.useRef(n), s = l.useRef(t);
|
|
4287
|
-
return
|
|
4272
|
+
return Cl(() => {
|
|
4288
4273
|
s.current = t;
|
|
4289
4274
|
}, [t]), l.useEffect(() => {
|
|
4290
4275
|
var a;
|
|
4291
4276
|
o.current !== n && ((a = s.current) == null || a.call(s, n), o.current = n);
|
|
4292
4277
|
}, [n, o]), [n, r, s];
|
|
4293
4278
|
}
|
|
4294
|
-
function
|
|
4279
|
+
function Sl(e) {
|
|
4295
4280
|
return typeof e == "function";
|
|
4296
4281
|
}
|
|
4297
4282
|
function Ie(e) {
|
|
@@ -4303,7 +4288,7 @@ function Ie(e) {
|
|
|
4303
4288
|
return (r = t.current) == null ? void 0 : r.call(t, ...n);
|
|
4304
4289
|
}, []);
|
|
4305
4290
|
}
|
|
4306
|
-
function
|
|
4291
|
+
function Rl(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
4307
4292
|
const n = Ie(e);
|
|
4308
4293
|
l.useEffect(() => {
|
|
4309
4294
|
const r = (o) => {
|
|
@@ -4312,7 +4297,7 @@ function _l(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4312
4297
|
return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
|
|
4313
4298
|
}, [n, t]);
|
|
4314
4299
|
}
|
|
4315
|
-
var
|
|
4300
|
+
var _l = "DismissableLayer", Un = "dismissableLayer.update", Al = "dismissableLayer.pointerDownOutside", Ml = "dismissableLayer.focusOutside", ro, us = l.createContext({
|
|
4316
4301
|
layers: /* @__PURE__ */ new Set(),
|
|
4317
4302
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4318
4303
|
branches: /* @__PURE__ */ new Set()
|
|
@@ -4326,14 +4311,14 @@ var Al = "DismissableLayer", Un = "dismissableLayer.update", Ml = "dismissableLa
|
|
|
4326
4311
|
onInteractOutside: a,
|
|
4327
4312
|
onDismiss: i,
|
|
4328
4313
|
...c
|
|
4329
|
-
} = e, f = l.useContext(us), [u, d] = l.useState(null), m = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = l.useState({}), b = ae(t, (A) => d(A)), h = Array.from(f.layers), [x] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(x), y = u ? h.indexOf(u) : -1, E = f.layersWithOutsidePointerEventsDisabled.size > 0, S = y >= v, _ =
|
|
4314
|
+
} = e, f = l.useContext(us), [u, d] = l.useState(null), m = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = l.useState({}), b = ae(t, (A) => d(A)), h = Array.from(f.layers), [x] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(x), y = u ? h.indexOf(u) : -1, E = f.layersWithOutsidePointerEventsDisabled.size > 0, S = y >= v, _ = Pl((A) => {
|
|
4330
4315
|
const C = A.target, k = [...f.branches].some((I) => I.contains(C));
|
|
4331
4316
|
!S || k || (o == null || o(A), a == null || a(A), A.defaultPrevented || i == null || i());
|
|
4332
|
-
}, m), M =
|
|
4317
|
+
}, m), M = Nl((A) => {
|
|
4333
4318
|
const C = A.target;
|
|
4334
4319
|
[...f.branches].some((I) => I.contains(C)) || (s == null || s(A), a == null || a(A), A.defaultPrevented || i == null || i());
|
|
4335
4320
|
}, m);
|
|
4336
|
-
return
|
|
4321
|
+
return Rl((A) => {
|
|
4337
4322
|
y === f.layers.size - 1 && (r == null || r(A), !A.defaultPrevented && i && (A.preventDefault(), i()));
|
|
4338
4323
|
}, m), l.useEffect(() => {
|
|
4339
4324
|
if (u)
|
|
@@ -4364,8 +4349,8 @@ var Al = "DismissableLayer", Un = "dismissableLayer.update", Ml = "dismissableLa
|
|
|
4364
4349
|
);
|
|
4365
4350
|
}
|
|
4366
4351
|
);
|
|
4367
|
-
Qt.displayName =
|
|
4368
|
-
var
|
|
4352
|
+
Qt.displayName = _l;
|
|
4353
|
+
var Ol = "DismissableLayerBranch", Tl = l.forwardRef((e, t) => {
|
|
4369
4354
|
const n = l.useContext(us), r = l.useRef(null), o = ae(t, r);
|
|
4370
4355
|
return l.useEffect(() => {
|
|
4371
4356
|
const s = r.current;
|
|
@@ -4375,8 +4360,8 @@ var Tl = "DismissableLayerBranch", Pl = l.forwardRef((e, t) => {
|
|
|
4375
4360
|
};
|
|
4376
4361
|
}, [n.branches]), /* @__PURE__ */ p.jsx(ne.div, { ...e, ref: o });
|
|
4377
4362
|
});
|
|
4378
|
-
|
|
4379
|
-
function
|
|
4363
|
+
Tl.displayName = Ol;
|
|
4364
|
+
function Pl(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
4380
4365
|
const n = Ie(e), r = l.useRef(!1), o = l.useRef(() => {
|
|
4381
4366
|
});
|
|
4382
4367
|
return l.useEffect(() => {
|
|
@@ -4384,7 +4369,7 @@ function Nl(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4384
4369
|
if (i.target && !r.current) {
|
|
4385
4370
|
let c = function() {
|
|
4386
4371
|
ds(
|
|
4387
|
-
|
|
4372
|
+
Al,
|
|
4388
4373
|
n,
|
|
4389
4374
|
f,
|
|
4390
4375
|
{ discrete: !0 }
|
|
@@ -4406,11 +4391,11 @@ function Nl(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4406
4391
|
onPointerDownCapture: () => r.current = !0
|
|
4407
4392
|
};
|
|
4408
4393
|
}
|
|
4409
|
-
function
|
|
4394
|
+
function Nl(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
4410
4395
|
const n = Ie(e), r = l.useRef(!1);
|
|
4411
4396
|
return l.useEffect(() => {
|
|
4412
4397
|
const o = (s) => {
|
|
4413
|
-
s.target && !r.current && ds(
|
|
4398
|
+
s.target && !r.current && ds(Ml, n, { originalEvent: s }, {
|
|
4414
4399
|
discrete: !1
|
|
4415
4400
|
});
|
|
4416
4401
|
};
|
|
@@ -4428,7 +4413,7 @@ function ds(e, t, n, { discrete: r }) {
|
|
|
4428
4413
|
const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
4429
4414
|
t && o.addEventListener(e, t, { once: !0 }), r ? as(o, s) : o.dispatchEvent(s);
|
|
4430
4415
|
}
|
|
4431
|
-
var Sn = "focusScope.autoFocusOnMount", Rn = "focusScope.autoFocusOnUnmount", so = { bubbles: !1, cancelable: !0 },
|
|
4416
|
+
var Sn = "focusScope.autoFocusOnMount", Rn = "focusScope.autoFocusOnUnmount", so = { bubbles: !1, cancelable: !0 }, kl = "FocusScope", ar = l.forwardRef((e, t) => {
|
|
4432
4417
|
const {
|
|
4433
4418
|
loop: n = !1,
|
|
4434
4419
|
trapped: r = !1,
|
|
@@ -4471,7 +4456,7 @@ var Sn = "focusScope.autoFocusOnMount", Rn = "focusScope.autoFocusOnUnmount", so
|
|
|
4471
4456
|
const h = document.activeElement;
|
|
4472
4457
|
if (!i.contains(h)) {
|
|
4473
4458
|
const v = new CustomEvent(Sn, so);
|
|
4474
|
-
i.addEventListener(Sn, f), i.dispatchEvent(v), v.defaultPrevented || (
|
|
4459
|
+
i.addEventListener(Sn, f), i.dispatchEvent(v), v.defaultPrevented || (Il(Vl(fs(i)), { select: !0 }), document.activeElement === h && We(i));
|
|
4475
4460
|
}
|
|
4476
4461
|
return () => {
|
|
4477
4462
|
i.removeEventListener(Sn, f), setTimeout(() => {
|
|
@@ -4486,7 +4471,7 @@ var Sn = "focusScope.autoFocusOnMount", Rn = "focusScope.autoFocusOnUnmount", so
|
|
|
4486
4471
|
if (!n && !r || g.paused) return;
|
|
4487
4472
|
const x = h.key === "Tab" && !h.altKey && !h.ctrlKey && !h.metaKey, v = document.activeElement;
|
|
4488
4473
|
if (x && v) {
|
|
4489
|
-
const y = h.currentTarget, [E, S] =
|
|
4474
|
+
const y = h.currentTarget, [E, S] = Dl(y);
|
|
4490
4475
|
E && S ? !h.shiftKey && v === S ? (h.preventDefault(), n && We(E, { select: !0 })) : h.shiftKey && v === E && (h.preventDefault(), n && We(S, { select: !0 })) : v === y && h.preventDefault();
|
|
4491
4476
|
}
|
|
4492
4477
|
},
|
|
@@ -4494,13 +4479,13 @@ var Sn = "focusScope.autoFocusOnMount", Rn = "focusScope.autoFocusOnUnmount", so
|
|
|
4494
4479
|
);
|
|
4495
4480
|
return /* @__PURE__ */ p.jsx(ne.div, { tabIndex: -1, ...a, ref: m, onKeyDown: b });
|
|
4496
4481
|
});
|
|
4497
|
-
ar.displayName =
|
|
4498
|
-
function
|
|
4482
|
+
ar.displayName = kl;
|
|
4483
|
+
function Il(e, { select: t = !1 } = {}) {
|
|
4499
4484
|
const n = document.activeElement;
|
|
4500
4485
|
for (const r of e)
|
|
4501
4486
|
if (We(r, { select: t }), document.activeElement !== n) return;
|
|
4502
4487
|
}
|
|
4503
|
-
function
|
|
4488
|
+
function Dl(e) {
|
|
4504
4489
|
const t = fs(e), n = ao(t, e), r = ao(t.reverse(), e);
|
|
4505
4490
|
return [n, r];
|
|
4506
4491
|
}
|
|
@@ -4516,9 +4501,9 @@ function fs(e) {
|
|
|
4516
4501
|
}
|
|
4517
4502
|
function ao(e, t) {
|
|
4518
4503
|
for (const n of e)
|
|
4519
|
-
if (!
|
|
4504
|
+
if (!jl(n, { upTo: t })) return n;
|
|
4520
4505
|
}
|
|
4521
|
-
function
|
|
4506
|
+
function jl(e, { upTo: t }) {
|
|
4522
4507
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
4523
4508
|
for (; e; ) {
|
|
4524
4509
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -4527,17 +4512,17 @@ function Ll(e, { upTo: t }) {
|
|
|
4527
4512
|
}
|
|
4528
4513
|
return !1;
|
|
4529
4514
|
}
|
|
4530
|
-
function
|
|
4515
|
+
function Ll(e) {
|
|
4531
4516
|
return e instanceof HTMLInputElement && "select" in e;
|
|
4532
4517
|
}
|
|
4533
4518
|
function We(e, { select: t = !1 } = {}) {
|
|
4534
4519
|
if (e && e.focus) {
|
|
4535
4520
|
const n = document.activeElement;
|
|
4536
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
4521
|
+
e.focus({ preventScroll: !0 }), e !== n && Ll(e) && t && e.select();
|
|
4537
4522
|
}
|
|
4538
4523
|
}
|
|
4539
|
-
var io =
|
|
4540
|
-
function
|
|
4524
|
+
var io = Fl();
|
|
4525
|
+
function Fl() {
|
|
4541
4526
|
let e = [];
|
|
4542
4527
|
return {
|
|
4543
4528
|
add(t) {
|
|
@@ -4554,27 +4539,27 @@ function co(e, t) {
|
|
|
4554
4539
|
const n = [...e], r = n.indexOf(t);
|
|
4555
4540
|
return r !== -1 && n.splice(r, 1), n;
|
|
4556
4541
|
}
|
|
4557
|
-
function
|
|
4542
|
+
function Vl(e) {
|
|
4558
4543
|
return e.filter((t) => t.tagName !== "A");
|
|
4559
4544
|
}
|
|
4560
|
-
var
|
|
4545
|
+
var $l = "Portal", ir = l.forwardRef((e, t) => {
|
|
4561
4546
|
var i;
|
|
4562
4547
|
const { container: n, ...r } = e, [o, s] = l.useState(!1);
|
|
4563
4548
|
Be(() => s(!0), []);
|
|
4564
4549
|
const a = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
|
|
4565
4550
|
return a ? gi.createPortal(/* @__PURE__ */ p.jsx(ne.div, { ...r, ref: t }), a) : null;
|
|
4566
4551
|
});
|
|
4567
|
-
ir.displayName =
|
|
4568
|
-
function
|
|
4552
|
+
ir.displayName = $l;
|
|
4553
|
+
function Hl(e, t) {
|
|
4569
4554
|
return l.useReducer((n, r) => t[n][r] ?? n, e);
|
|
4570
4555
|
}
|
|
4571
4556
|
var Le = (e) => {
|
|
4572
|
-
const { present: t, children: n } = e, r =
|
|
4557
|
+
const { present: t, children: n } = e, r = Wl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : l.Children.only(n), s = ae(r.ref, zl(o));
|
|
4573
4558
|
return typeof n == "function" || r.isPresent ? l.cloneElement(o, { ref: s }) : null;
|
|
4574
4559
|
};
|
|
4575
4560
|
Le.displayName = "Presence";
|
|
4576
|
-
function
|
|
4577
|
-
const [t, n] = l.useState(), r = l.useRef(null), o = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [i, c] =
|
|
4561
|
+
function Wl(e) {
|
|
4562
|
+
const [t, n] = l.useState(), r = l.useRef(null), o = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [i, c] = Hl(a, {
|
|
4578
4563
|
mounted: {
|
|
4579
4564
|
UNMOUNT: "unmounted",
|
|
4580
4565
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -4625,7 +4610,7 @@ function zl(e) {
|
|
|
4625
4610
|
function kt(e) {
|
|
4626
4611
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
4627
4612
|
}
|
|
4628
|
-
function
|
|
4613
|
+
function zl(e) {
|
|
4629
4614
|
var r, o;
|
|
4630
4615
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
4631
4616
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
@@ -4660,16 +4645,16 @@ function ms(e, t) {
|
|
|
4660
4645
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
4661
4646
|
return n;
|
|
4662
4647
|
}
|
|
4663
|
-
function
|
|
4648
|
+
function Bl(e, t, n) {
|
|
4664
4649
|
if (n || arguments.length === 2) for (var r = 0, o = t.length, s; r < o; r++)
|
|
4665
4650
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
4666
4651
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
4667
4652
|
}
|
|
4668
|
-
var $t = "right-scroll-bar-position", Ht = "width-before-scroll-bar",
|
|
4653
|
+
var $t = "right-scroll-bar-position", Ht = "width-before-scroll-bar", Gl = "with-scroll-bars-hidden", Ul = "--removed-body-scroll-bar-size";
|
|
4669
4654
|
function An(e, t) {
|
|
4670
4655
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
4671
4656
|
}
|
|
4672
|
-
function
|
|
4657
|
+
function Kl(e, t) {
|
|
4673
4658
|
var n = Po(function() {
|
|
4674
4659
|
return {
|
|
4675
4660
|
// value
|
|
@@ -4690,14 +4675,14 @@ function Yl(e, t) {
|
|
|
4690
4675
|
})[0];
|
|
4691
4676
|
return n.callback = t, n.facade;
|
|
4692
4677
|
}
|
|
4693
|
-
var
|
|
4694
|
-
function
|
|
4695
|
-
var n =
|
|
4678
|
+
var Yl = typeof window < "u" ? l.useLayoutEffect : l.useEffect, uo = /* @__PURE__ */ new WeakMap();
|
|
4679
|
+
function Xl(e, t) {
|
|
4680
|
+
var n = Kl(null, function(r) {
|
|
4696
4681
|
return e.forEach(function(o) {
|
|
4697
4682
|
return An(o, r);
|
|
4698
4683
|
});
|
|
4699
4684
|
});
|
|
4700
|
-
return
|
|
4685
|
+
return Yl(function() {
|
|
4701
4686
|
var r = uo.get(n);
|
|
4702
4687
|
if (r) {
|
|
4703
4688
|
var o = new Set(r), s = new Set(e), a = n.current;
|
|
@@ -4710,11 +4695,11 @@ function ql(e, t) {
|
|
|
4710
4695
|
uo.set(n, e);
|
|
4711
4696
|
}, [e]), n;
|
|
4712
4697
|
}
|
|
4713
|
-
function
|
|
4698
|
+
function ql(e) {
|
|
4714
4699
|
return e;
|
|
4715
4700
|
}
|
|
4716
|
-
function
|
|
4717
|
-
t === void 0 && (t =
|
|
4701
|
+
function Zl(e, t) {
|
|
4702
|
+
t === void 0 && (t = ql);
|
|
4718
4703
|
var n = [], r = !1, o = {
|
|
4719
4704
|
read: function() {
|
|
4720
4705
|
if (r)
|
|
@@ -4768,9 +4753,9 @@ function Jl(e, t) {
|
|
|
4768
4753
|
};
|
|
4769
4754
|
return o;
|
|
4770
4755
|
}
|
|
4771
|
-
function
|
|
4756
|
+
function Jl(e) {
|
|
4772
4757
|
e === void 0 && (e = {});
|
|
4773
|
-
var t =
|
|
4758
|
+
var t = Zl(null);
|
|
4774
4759
|
return t.options = Se({ async: !0, ssr: !1 }, e), t;
|
|
4775
4760
|
}
|
|
4776
4761
|
var hs = function(e) {
|
|
@@ -4783,16 +4768,16 @@ var hs = function(e) {
|
|
|
4783
4768
|
return l.createElement(r, Se({}, n));
|
|
4784
4769
|
};
|
|
4785
4770
|
hs.isSideCarExport = !0;
|
|
4786
|
-
function
|
|
4771
|
+
function Ql(e, t) {
|
|
4787
4772
|
return e.useMedium(t), hs;
|
|
4788
4773
|
}
|
|
4789
|
-
var gs =
|
|
4774
|
+
var gs = Jl(), Mn = function() {
|
|
4790
4775
|
}, en = l.forwardRef(function(e, t) {
|
|
4791
4776
|
var n = l.useRef(null), r = l.useState({
|
|
4792
4777
|
onScrollCapture: Mn,
|
|
4793
4778
|
onWheelCapture: Mn,
|
|
4794
4779
|
onTouchMoveCapture: Mn
|
|
4795
|
-
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, f = e.removeScrollBar, u = e.enabled, d = e.shards, m = e.sideCar, g = e.noRelative, b = e.noIsolation, h = e.inert, x = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, E = e.gapMode, S = ms(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = m, M =
|
|
4780
|
+
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, f = e.removeScrollBar, u = e.enabled, d = e.shards, m = e.sideCar, g = e.noRelative, b = e.noIsolation, h = e.inert, x = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, E = e.gapMode, S = ms(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = m, M = Xl([n, t]), A = Se(Se({}, S), o);
|
|
4796
4781
|
return l.createElement(
|
|
4797
4782
|
l.Fragment,
|
|
4798
4783
|
null,
|
|
@@ -4809,37 +4794,37 @@ en.classNames = {
|
|
|
4809
4794
|
fullWidth: Ht,
|
|
4810
4795
|
zeroRight: $t
|
|
4811
4796
|
};
|
|
4812
|
-
var
|
|
4797
|
+
var eu = function() {
|
|
4813
4798
|
if (typeof __webpack_nonce__ < "u")
|
|
4814
4799
|
return __webpack_nonce__;
|
|
4815
4800
|
};
|
|
4816
|
-
function
|
|
4801
|
+
function tu() {
|
|
4817
4802
|
if (!document)
|
|
4818
4803
|
return null;
|
|
4819
4804
|
var e = document.createElement("style");
|
|
4820
4805
|
e.type = "text/css";
|
|
4821
|
-
var t =
|
|
4806
|
+
var t = eu();
|
|
4822
4807
|
return t && e.setAttribute("nonce", t), e;
|
|
4823
4808
|
}
|
|
4824
|
-
function
|
|
4809
|
+
function nu(e, t) {
|
|
4825
4810
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
4826
4811
|
}
|
|
4827
|
-
function
|
|
4812
|
+
function ru(e) {
|
|
4828
4813
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
4829
4814
|
t.appendChild(e);
|
|
4830
4815
|
}
|
|
4831
|
-
var
|
|
4816
|
+
var ou = function() {
|
|
4832
4817
|
var e = 0, t = null;
|
|
4833
4818
|
return {
|
|
4834
4819
|
add: function(n) {
|
|
4835
|
-
e == 0 && (t =
|
|
4820
|
+
e == 0 && (t = tu()) && (nu(t, n), ru(t)), e++;
|
|
4836
4821
|
},
|
|
4837
4822
|
remove: function() {
|
|
4838
4823
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
4839
4824
|
}
|
|
4840
4825
|
};
|
|
4841
|
-
},
|
|
4842
|
-
var e =
|
|
4826
|
+
}, su = function() {
|
|
4827
|
+
var e = ou();
|
|
4843
4828
|
return function(t, n) {
|
|
4844
4829
|
l.useEffect(function() {
|
|
4845
4830
|
return e.add(t), function() {
|
|
@@ -4848,35 +4833,35 @@ var su = function() {
|
|
|
4848
4833
|
}, [t && n]);
|
|
4849
4834
|
};
|
|
4850
4835
|
}, vs = function() {
|
|
4851
|
-
var e =
|
|
4836
|
+
var e = su(), t = function(n) {
|
|
4852
4837
|
var r = n.styles, o = n.dynamic;
|
|
4853
4838
|
return e(r, o), null;
|
|
4854
4839
|
};
|
|
4855
4840
|
return t;
|
|
4856
|
-
},
|
|
4841
|
+
}, au = {
|
|
4857
4842
|
left: 0,
|
|
4858
4843
|
top: 0,
|
|
4859
4844
|
right: 0,
|
|
4860
4845
|
gap: 0
|
|
4861
4846
|
}, On = function(e) {
|
|
4862
4847
|
return parseInt(e || "", 10) || 0;
|
|
4863
|
-
},
|
|
4848
|
+
}, iu = function(e) {
|
|
4864
4849
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
4865
4850
|
return [On(n), On(r), On(o)];
|
|
4866
|
-
},
|
|
4851
|
+
}, cu = function(e) {
|
|
4867
4852
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
4868
|
-
return
|
|
4869
|
-
var t =
|
|
4853
|
+
return au;
|
|
4854
|
+
var t = iu(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
4870
4855
|
return {
|
|
4871
4856
|
left: t[0],
|
|
4872
4857
|
top: t[1],
|
|
4873
4858
|
right: t[2],
|
|
4874
4859
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
4875
4860
|
};
|
|
4876
|
-
},
|
|
4861
|
+
}, lu = vs(), ot = "data-scroll-locked", uu = function(e, t, n, r) {
|
|
4877
4862
|
var o = e.left, s = e.top, a = e.right, i = e.gap;
|
|
4878
4863
|
return n === void 0 && (n = "margin"), `
|
|
4879
|
-
.`.concat(
|
|
4864
|
+
.`.concat(Gl, ` {
|
|
4880
4865
|
overflow: hidden `).concat(r, `;
|
|
4881
4866
|
padding-right: `).concat(i, "px ").concat(r, `;
|
|
4882
4867
|
}
|
|
@@ -4914,26 +4899,26 @@ var su = function() {
|
|
|
4914
4899
|
}
|
|
4915
4900
|
|
|
4916
4901
|
body[`).concat(ot, `] {
|
|
4917
|
-
`).concat(
|
|
4902
|
+
`).concat(Ul, ": ").concat(i, `px;
|
|
4918
4903
|
}
|
|
4919
4904
|
`);
|
|
4920
4905
|
}, fo = function() {
|
|
4921
4906
|
var e = parseInt(document.body.getAttribute(ot) || "0", 10);
|
|
4922
4907
|
return isFinite(e) ? e : 0;
|
|
4923
|
-
},
|
|
4908
|
+
}, du = function() {
|
|
4924
4909
|
l.useEffect(function() {
|
|
4925
4910
|
return document.body.setAttribute(ot, (fo() + 1).toString()), function() {
|
|
4926
4911
|
var e = fo() - 1;
|
|
4927
4912
|
e <= 0 ? document.body.removeAttribute(ot) : document.body.setAttribute(ot, e.toString());
|
|
4928
4913
|
};
|
|
4929
4914
|
}, []);
|
|
4930
|
-
},
|
|
4915
|
+
}, fu = function(e) {
|
|
4931
4916
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
|
|
4932
|
-
|
|
4917
|
+
du();
|
|
4933
4918
|
var s = l.useMemo(function() {
|
|
4934
|
-
return
|
|
4919
|
+
return cu(o);
|
|
4935
4920
|
}, [o]);
|
|
4936
|
-
return l.createElement(
|
|
4921
|
+
return l.createElement(lu, { styles: uu(s, !t, o, n ? "" : "!important") });
|
|
4937
4922
|
}, Kn = !1;
|
|
4938
4923
|
if (typeof window < "u")
|
|
4939
4924
|
try {
|
|
@@ -4946,7 +4931,7 @@ if (typeof window < "u")
|
|
|
4946
4931
|
} catch {
|
|
4947
4932
|
Kn = !1;
|
|
4948
4933
|
}
|
|
4949
|
-
var et = Kn ? { passive: !1 } : !1,
|
|
4934
|
+
var et = Kn ? { passive: !1 } : !1, pu = function(e) {
|
|
4950
4935
|
return e.tagName === "TEXTAREA";
|
|
4951
4936
|
}, bs = function(e, t) {
|
|
4952
4937
|
if (!(e instanceof Element))
|
|
@@ -4955,11 +4940,11 @@ var et = Kn ? { passive: !1 } : !1, mu = function(e) {
|
|
|
4955
4940
|
return (
|
|
4956
4941
|
// not-not-scrollable
|
|
4957
4942
|
n[t] !== "hidden" && // contains scroll inside self
|
|
4958
|
-
!(n.overflowY === n.overflowX && !
|
|
4943
|
+
!(n.overflowY === n.overflowX && !pu(e) && n[t] === "visible")
|
|
4959
4944
|
);
|
|
4960
|
-
},
|
|
4945
|
+
}, mu = function(e) {
|
|
4961
4946
|
return bs(e, "overflowY");
|
|
4962
|
-
},
|
|
4947
|
+
}, hu = function(e) {
|
|
4963
4948
|
return bs(e, "overflowX");
|
|
4964
4949
|
}, po = function(e, t) {
|
|
4965
4950
|
var n = t.ownerDocument, r = t;
|
|
@@ -4974,14 +4959,14 @@ var et = Kn ? { passive: !1 } : !1, mu = function(e) {
|
|
|
4974
4959
|
r = r.parentNode;
|
|
4975
4960
|
} while (r && r !== n.body);
|
|
4976
4961
|
return !1;
|
|
4977
|
-
},
|
|
4962
|
+
}, gu = function(e) {
|
|
4978
4963
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
4979
4964
|
return [
|
|
4980
4965
|
t,
|
|
4981
4966
|
n,
|
|
4982
4967
|
r
|
|
4983
4968
|
];
|
|
4984
|
-
},
|
|
4969
|
+
}, vu = function(e) {
|
|
4985
4970
|
var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
|
|
4986
4971
|
return [
|
|
4987
4972
|
t,
|
|
@@ -4989,13 +4974,13 @@ var et = Kn ? { passive: !1 } : !1, mu = function(e) {
|
|
|
4989
4974
|
r
|
|
4990
4975
|
];
|
|
4991
4976
|
}, xs = function(e, t) {
|
|
4992
|
-
return e === "v" ?
|
|
4977
|
+
return e === "v" ? mu(t) : hu(t);
|
|
4993
4978
|
}, ws = function(e, t) {
|
|
4994
|
-
return e === "v" ?
|
|
4995
|
-
},
|
|
4979
|
+
return e === "v" ? gu(t) : vu(t);
|
|
4980
|
+
}, bu = function(e, t) {
|
|
4996
4981
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
4997
|
-
},
|
|
4998
|
-
var s =
|
|
4982
|
+
}, xu = function(e, t, n, r, o) {
|
|
4983
|
+
var s = bu(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), f = !1, u = a > 0, d = 0, m = 0;
|
|
4999
4984
|
do {
|
|
5000
4985
|
if (!i)
|
|
5001
4986
|
break;
|
|
@@ -5015,22 +5000,22 @@ var et = Kn ? { passive: !1 } : !1, mu = function(e) {
|
|
|
5015
5000
|
return [e.deltaX, e.deltaY];
|
|
5016
5001
|
}, ho = function(e) {
|
|
5017
5002
|
return e && "current" in e ? e.current : e;
|
|
5018
|
-
},
|
|
5003
|
+
}, wu = function(e, t) {
|
|
5019
5004
|
return e[0] === t[0] && e[1] === t[1];
|
|
5020
|
-
},
|
|
5005
|
+
}, yu = function(e) {
|
|
5021
5006
|
return `
|
|
5022
5007
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
5023
5008
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
5024
5009
|
`);
|
|
5025
|
-
},
|
|
5026
|
-
function
|
|
5027
|
-
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(
|
|
5010
|
+
}, Cu = 0, tt = [];
|
|
5011
|
+
function Eu(e) {
|
|
5012
|
+
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(Cu++)[0], s = l.useState(vs)[0], a = l.useRef(e);
|
|
5028
5013
|
l.useEffect(function() {
|
|
5029
5014
|
a.current = e;
|
|
5030
5015
|
}, [e]), l.useEffect(function() {
|
|
5031
5016
|
if (e.inert) {
|
|
5032
5017
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
5033
|
-
var h =
|
|
5018
|
+
var h = Bl([e.lockRef.current], (e.shards || []).map(ho), !0).filter(Boolean);
|
|
5034
5019
|
return h.forEach(function(x) {
|
|
5035
5020
|
return x.classList.add("allow-interactivity-".concat(o));
|
|
5036
5021
|
}), function() {
|
|
@@ -5054,12 +5039,12 @@ function Su(e) {
|
|
|
5054
5039
|
if (!r.current && "changedTouches" in h && (E || S) && (r.current = _), !_)
|
|
5055
5040
|
return !0;
|
|
5056
5041
|
var k = r.current || _;
|
|
5057
|
-
return
|
|
5042
|
+
return xu(k, x, h, k === "h" ? E : S);
|
|
5058
5043
|
}, []), c = l.useCallback(function(h) {
|
|
5059
5044
|
var x = h;
|
|
5060
5045
|
if (!(!tt.length || tt[tt.length - 1] !== s)) {
|
|
5061
5046
|
var v = "deltaY" in x ? mo(x) : Dt(x), y = t.current.filter(function(_) {
|
|
5062
|
-
return _.name === x.type && (_.target === x.target || x.target === _.shadowParent) &&
|
|
5047
|
+
return _.name === x.type && (_.target === x.target || x.target === _.shadowParent) && wu(_.delta, v);
|
|
5063
5048
|
})[0];
|
|
5064
5049
|
if (y && y.should) {
|
|
5065
5050
|
x.cancelable && x.preventDefault();
|
|
@@ -5073,7 +5058,7 @@ function Su(e) {
|
|
|
5073
5058
|
}
|
|
5074
5059
|
}
|
|
5075
5060
|
}, []), f = l.useCallback(function(h, x, v, y) {
|
|
5076
|
-
var E = { name: h, delta: x, target: v, should: y, shadowParent:
|
|
5061
|
+
var E = { name: h, delta: x, target: v, should: y, shadowParent: Su(v) };
|
|
5077
5062
|
t.current.push(E), setTimeout(function() {
|
|
5078
5063
|
t.current = t.current.filter(function(S) {
|
|
5079
5064
|
return S !== E;
|
|
@@ -5101,28 +5086,28 @@ function Su(e) {
|
|
|
5101
5086
|
return l.createElement(
|
|
5102
5087
|
l.Fragment,
|
|
5103
5088
|
null,
|
|
5104
|
-
b ? l.createElement(s, { styles:
|
|
5105
|
-
g ? l.createElement(
|
|
5089
|
+
b ? l.createElement(s, { styles: yu(o) }) : null,
|
|
5090
|
+
g ? l.createElement(fu, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
5106
5091
|
);
|
|
5107
5092
|
}
|
|
5108
|
-
function
|
|
5093
|
+
function Su(e) {
|
|
5109
5094
|
for (var t = null; e !== null; )
|
|
5110
5095
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
5111
5096
|
return t;
|
|
5112
5097
|
}
|
|
5113
|
-
const
|
|
5098
|
+
const Ru = Ql(gs, Eu);
|
|
5114
5099
|
var cr = l.forwardRef(function(e, t) {
|
|
5115
|
-
return l.createElement(en, Se({}, e, { ref: t, sideCar:
|
|
5100
|
+
return l.createElement(en, Se({}, e, { ref: t, sideCar: Ru }));
|
|
5116
5101
|
});
|
|
5117
5102
|
cr.classNames = en.classNames;
|
|
5118
|
-
var
|
|
5103
|
+
var _u = function(e) {
|
|
5119
5104
|
if (typeof document > "u")
|
|
5120
5105
|
return null;
|
|
5121
5106
|
var t = Array.isArray(e) ? e[0] : e;
|
|
5122
5107
|
return t.ownerDocument.body;
|
|
5123
5108
|
}, nt = /* @__PURE__ */ new WeakMap(), jt = /* @__PURE__ */ new WeakMap(), Lt = {}, Tn = 0, ys = function(e) {
|
|
5124
5109
|
return e && (e.host || ys(e.parentNode));
|
|
5125
|
-
},
|
|
5110
|
+
}, Au = function(e, t) {
|
|
5126
5111
|
return t.map(function(n) {
|
|
5127
5112
|
if (e.contains(n))
|
|
5128
5113
|
return n;
|
|
@@ -5131,8 +5116,8 @@ var Au = function(e) {
|
|
|
5131
5116
|
}).filter(function(n) {
|
|
5132
5117
|
return !!n;
|
|
5133
5118
|
});
|
|
5134
|
-
},
|
|
5135
|
-
var o =
|
|
5119
|
+
}, Mu = function(e, t, n, r) {
|
|
5120
|
+
var o = Au(t, Array.isArray(e) ? e : [e]);
|
|
5136
5121
|
Lt[n] || (Lt[n] = /* @__PURE__ */ new WeakMap());
|
|
5137
5122
|
var s = Lt[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(o), f = function(d) {
|
|
5138
5123
|
!d || i.has(d) || (i.add(d), f(d.parentNode));
|
|
@@ -5159,11 +5144,11 @@ var Au = function(e) {
|
|
|
5159
5144
|
};
|
|
5160
5145
|
}, Cs = function(e, t, n) {
|
|
5161
5146
|
n === void 0 && (n = "data-aria-hidden");
|
|
5162
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), o =
|
|
5163
|
-
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))),
|
|
5147
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), o = _u(e);
|
|
5148
|
+
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), Mu(r, o, n, "aria-hidden")) : function() {
|
|
5164
5149
|
return null;
|
|
5165
5150
|
};
|
|
5166
|
-
}, tn = "Dialog", [Es,
|
|
5151
|
+
}, tn = "Dialog", [Es, P0] = qe(tn), [Ou, Ee] = Es(tn), Ss = (e) => {
|
|
5167
5152
|
const {
|
|
5168
5153
|
__scopeDialog: t,
|
|
5169
5154
|
children: n,
|
|
@@ -5178,7 +5163,7 @@ var Au = function(e) {
|
|
|
5178
5163
|
caller: tn
|
|
5179
5164
|
});
|
|
5180
5165
|
return /* @__PURE__ */ p.jsx(
|
|
5181
|
-
|
|
5166
|
+
Ou,
|
|
5182
5167
|
{
|
|
5183
5168
|
scope: t,
|
|
5184
5169
|
triggerRef: i,
|
|
@@ -5195,7 +5180,7 @@ var Au = function(e) {
|
|
|
5195
5180
|
);
|
|
5196
5181
|
};
|
|
5197
5182
|
Ss.displayName = tn;
|
|
5198
|
-
var Rs = "DialogTrigger",
|
|
5183
|
+
var Rs = "DialogTrigger", Tu = l.forwardRef(
|
|
5199
5184
|
(e, t) => {
|
|
5200
5185
|
const { __scopeDialog: n, ...r } = e, o = Ee(Rs, n), s = ae(t, o.triggerRef);
|
|
5201
5186
|
return /* @__PURE__ */ p.jsx(
|
|
@@ -5213,28 +5198,28 @@ var Rs = "DialogTrigger", Pu = l.forwardRef(
|
|
|
5213
5198
|
);
|
|
5214
5199
|
}
|
|
5215
5200
|
);
|
|
5216
|
-
|
|
5217
|
-
var lr = "DialogPortal", [
|
|
5201
|
+
Tu.displayName = Rs;
|
|
5202
|
+
var lr = "DialogPortal", [Pu, _s] = Es(lr, {
|
|
5218
5203
|
forceMount: void 0
|
|
5219
5204
|
}), As = (e) => {
|
|
5220
5205
|
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Ee(lr, t);
|
|
5221
|
-
return /* @__PURE__ */ p.jsx(
|
|
5206
|
+
return /* @__PURE__ */ p.jsx(Pu, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ p.jsx(Le, { present: n || s.open, children: /* @__PURE__ */ p.jsx(ir, { asChild: !0, container: o, children: a }) })) });
|
|
5222
5207
|
};
|
|
5223
5208
|
As.displayName = lr;
|
|
5224
5209
|
var Gt = "DialogOverlay", Ms = l.forwardRef(
|
|
5225
5210
|
(e, t) => {
|
|
5226
5211
|
const n = _s(Gt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Ee(Gt, e.__scopeDialog);
|
|
5227
|
-
return s.modal ? /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: /* @__PURE__ */ p.jsx(
|
|
5212
|
+
return s.modal ? /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: /* @__PURE__ */ p.jsx(ku, { ...o, ref: t }) }) : null;
|
|
5228
5213
|
}
|
|
5229
5214
|
);
|
|
5230
5215
|
Ms.displayName = Gt;
|
|
5231
|
-
var
|
|
5216
|
+
var Nu = /* @__PURE__ */ at("DialogOverlay.RemoveScroll"), ku = l.forwardRef(
|
|
5232
5217
|
(e, t) => {
|
|
5233
5218
|
const { __scopeDialog: n, ...r } = e, o = Ee(Gt, n);
|
|
5234
5219
|
return (
|
|
5235
5220
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
5236
5221
|
// ie. when `Overlay` and `Content` are siblings
|
|
5237
|
-
/* @__PURE__ */ p.jsx(cr, { as:
|
|
5222
|
+
/* @__PURE__ */ p.jsx(cr, { as: Nu, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ p.jsx(
|
|
5238
5223
|
ne.div,
|
|
5239
5224
|
{
|
|
5240
5225
|
"data-state": dr(o.open),
|
|
@@ -5248,11 +5233,11 @@ var ku = /* @__PURE__ */ at("DialogOverlay.RemoveScroll"), Iu = l.forwardRef(
|
|
|
5248
5233
|
), Ye = "DialogContent", Os = l.forwardRef(
|
|
5249
5234
|
(e, t) => {
|
|
5250
5235
|
const n = _s(Ye, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Ee(Ye, e.__scopeDialog);
|
|
5251
|
-
return /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: s.modal ? /* @__PURE__ */ p.jsx(
|
|
5236
|
+
return /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: s.modal ? /* @__PURE__ */ p.jsx(Iu, { ...o, ref: t }) : /* @__PURE__ */ p.jsx(Du, { ...o, ref: t }) });
|
|
5252
5237
|
}
|
|
5253
5238
|
);
|
|
5254
5239
|
Os.displayName = Ye;
|
|
5255
|
-
var
|
|
5240
|
+
var Iu = l.forwardRef(
|
|
5256
5241
|
(e, t) => {
|
|
5257
5242
|
const n = Ee(Ye, e.__scopeDialog), r = l.useRef(null), o = ae(t, n.contentRef, r);
|
|
5258
5243
|
return l.useEffect(() => {
|
|
@@ -5280,7 +5265,7 @@ var Du = l.forwardRef(
|
|
|
5280
5265
|
}
|
|
5281
5266
|
);
|
|
5282
5267
|
}
|
|
5283
|
-
),
|
|
5268
|
+
), Du = l.forwardRef(
|
|
5284
5269
|
(e, t) => {
|
|
5285
5270
|
const n = Ee(Ye, e.__scopeDialog), r = l.useRef(!1), o = l.useRef(!1);
|
|
5286
5271
|
return /* @__PURE__ */ p.jsx(
|
|
@@ -5331,8 +5316,8 @@ var Du = l.forwardRef(
|
|
|
5331
5316
|
}
|
|
5332
5317
|
),
|
|
5333
5318
|
/* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
5334
|
-
/* @__PURE__ */ p.jsx(
|
|
5335
|
-
/* @__PURE__ */ p.jsx(
|
|
5319
|
+
/* @__PURE__ */ p.jsx(ju, { titleId: i.titleId }),
|
|
5320
|
+
/* @__PURE__ */ p.jsx(Fu, { contentRef: c, descriptionId: i.descriptionId })
|
|
5336
5321
|
] })
|
|
5337
5322
|
] });
|
|
5338
5323
|
}
|
|
@@ -5368,11 +5353,11 @@ Ds.displayName = Is;
|
|
|
5368
5353
|
function dr(e) {
|
|
5369
5354
|
return e ? "open" : "closed";
|
|
5370
5355
|
}
|
|
5371
|
-
var js = "DialogTitleWarning", [
|
|
5356
|
+
var js = "DialogTitleWarning", [N0, Ls] = bl(js, {
|
|
5372
5357
|
contentName: Ye,
|
|
5373
5358
|
titleName: ur,
|
|
5374
5359
|
docsSlug: "dialog"
|
|
5375
|
-
}),
|
|
5360
|
+
}), ju = ({ titleId: e }) => {
|
|
5376
5361
|
const t = Ls(js), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
5377
5362
|
|
|
5378
5363
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
@@ -5381,18 +5366,18 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
5381
5366
|
return l.useEffect(() => {
|
|
5382
5367
|
e && (document.getElementById(e) || console.error(n));
|
|
5383
5368
|
}, [n, e]), null;
|
|
5384
|
-
},
|
|
5385
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ls(
|
|
5369
|
+
}, Lu = "DialogDescriptionWarning", Fu = ({ contentRef: e, descriptionId: t }) => {
|
|
5370
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ls(Lu).contentName}}.`;
|
|
5386
5371
|
return l.useEffect(() => {
|
|
5387
5372
|
var s;
|
|
5388
5373
|
const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
|
|
5389
5374
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
5390
5375
|
}, [r, e, t]), null;
|
|
5391
|
-
},
|
|
5392
|
-
const
|
|
5376
|
+
}, Vu = Ss, $u = As, Fs = Ms, Vs = Os, $s = Ps, Hs = ks, Hu = Ds;
|
|
5377
|
+
const Wu = Vu, zu = $u, Ws = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
|
|
5393
5378
|
Fs,
|
|
5394
5379
|
{
|
|
5395
|
-
className:
|
|
5380
|
+
className: U(
|
|
5396
5381
|
"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
5397
5382
|
e
|
|
5398
5383
|
),
|
|
@@ -5401,7 +5386,7 @@ const zu = $u, Bu = Hu, Ws = l.forwardRef(({ className: e, ...t }, n) => /* @__P
|
|
|
5401
5386
|
}
|
|
5402
5387
|
));
|
|
5403
5388
|
Ws.displayName = Fs.displayName;
|
|
5404
|
-
const
|
|
5389
|
+
const Bu = Xo(
|
|
5405
5390
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
5406
5391
|
{
|
|
5407
5392
|
variants: {
|
|
@@ -5416,17 +5401,17 @@ const Gu = Xo(
|
|
|
5416
5401
|
side: "right"
|
|
5417
5402
|
}
|
|
5418
5403
|
}
|
|
5419
|
-
), zs = l.forwardRef(({ side: e = "right", className: t, children: n, ...r }, o) => /* @__PURE__ */ p.jsxs(
|
|
5404
|
+
), zs = l.forwardRef(({ side: e = "right", className: t, children: n, ...r }, o) => /* @__PURE__ */ p.jsxs(zu, { children: [
|
|
5420
5405
|
/* @__PURE__ */ p.jsx(Ws, {}),
|
|
5421
5406
|
/* @__PURE__ */ p.jsxs(
|
|
5422
5407
|
Vs,
|
|
5423
5408
|
{
|
|
5424
5409
|
ref: o,
|
|
5425
|
-
className:
|
|
5410
|
+
className: U(Bu({ side: e }), t),
|
|
5426
5411
|
...r,
|
|
5427
5412
|
children: [
|
|
5428
5413
|
n,
|
|
5429
|
-
/* @__PURE__ */ p.jsxs(
|
|
5414
|
+
/* @__PURE__ */ p.jsxs(Hu, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
5430
5415
|
/* @__PURE__ */ p.jsx(_c, { className: "h-4 w-4" }),
|
|
5431
5416
|
/* @__PURE__ */ p.jsx("span", { className: "sr-only", children: "Close" })
|
|
5432
5417
|
] })
|
|
@@ -5441,7 +5426,7 @@ const Bs = ({
|
|
|
5441
5426
|
}) => /* @__PURE__ */ p.jsx(
|
|
5442
5427
|
"div",
|
|
5443
5428
|
{
|
|
5444
|
-
className:
|
|
5429
|
+
className: U(
|
|
5445
5430
|
"flex flex-col space-y-2 text-center sm:text-left",
|
|
5446
5431
|
e
|
|
5447
5432
|
),
|
|
@@ -5453,7 +5438,7 @@ const Gs = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
|
|
|
5453
5438
|
$s,
|
|
5454
5439
|
{
|
|
5455
5440
|
ref: n,
|
|
5456
|
-
className:
|
|
5441
|
+
className: U("text-lg font-semibold text-foreground", e),
|
|
5457
5442
|
...t
|
|
5458
5443
|
}
|
|
5459
5444
|
));
|
|
@@ -5462,20 +5447,20 @@ const Us = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p.jsx(
|
|
|
5462
5447
|
Hs,
|
|
5463
5448
|
{
|
|
5464
5449
|
ref: n,
|
|
5465
|
-
className:
|
|
5450
|
+
className: U("text-sm text-muted-foreground", e),
|
|
5466
5451
|
...t
|
|
5467
5452
|
}
|
|
5468
5453
|
));
|
|
5469
5454
|
Us.displayName = Hs.displayName;
|
|
5470
|
-
const
|
|
5455
|
+
const Gu = ["top", "right", "bottom", "left"], Ge = Math.min, me = Math.max, Ut = Math.round, Ft = Math.floor, _e = (e) => ({
|
|
5471
5456
|
x: e,
|
|
5472
5457
|
y: e
|
|
5473
|
-
}),
|
|
5458
|
+
}), Uu = {
|
|
5474
5459
|
left: "right",
|
|
5475
5460
|
right: "left",
|
|
5476
5461
|
bottom: "top",
|
|
5477
5462
|
top: "bottom"
|
|
5478
|
-
},
|
|
5463
|
+
}, Ku = {
|
|
5479
5464
|
start: "end",
|
|
5480
5465
|
end: "start"
|
|
5481
5466
|
};
|
|
@@ -5503,20 +5488,20 @@ function Re(e) {
|
|
|
5503
5488
|
function mr(e) {
|
|
5504
5489
|
return fr(Re(e));
|
|
5505
5490
|
}
|
|
5506
|
-
function
|
|
5491
|
+
function Yu(e, t, n) {
|
|
5507
5492
|
n === void 0 && (n = !1);
|
|
5508
5493
|
const r = dt(e), o = mr(e), s = pr(o);
|
|
5509
5494
|
let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
5510
5495
|
return t.reference[s] > t.floating[s] && (a = Kt(a)), [a, Kt(a)];
|
|
5511
5496
|
}
|
|
5512
|
-
function
|
|
5497
|
+
function Xu(e) {
|
|
5513
5498
|
const t = Kt(e);
|
|
5514
5499
|
return [Xn(e), t, Xn(t)];
|
|
5515
5500
|
}
|
|
5516
5501
|
function Xn(e) {
|
|
5517
|
-
return e.replace(/start|end/g, (t) =>
|
|
5502
|
+
return e.replace(/start|end/g, (t) => Ku[t]);
|
|
5518
5503
|
}
|
|
5519
|
-
function
|
|
5504
|
+
function qu(e, t, n) {
|
|
5520
5505
|
const r = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], a = ["bottom", "top"];
|
|
5521
5506
|
switch (e) {
|
|
5522
5507
|
case "top":
|
|
@@ -5529,15 +5514,15 @@ function Zu(e, t, n) {
|
|
|
5529
5514
|
return [];
|
|
5530
5515
|
}
|
|
5531
5516
|
}
|
|
5532
|
-
function
|
|
5517
|
+
function Zu(e, t, n, r) {
|
|
5533
5518
|
const o = dt(e);
|
|
5534
|
-
let s =
|
|
5519
|
+
let s = qu(je(e), n === "start", r);
|
|
5535
5520
|
return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(Xn)))), s;
|
|
5536
5521
|
}
|
|
5537
5522
|
function Kt(e) {
|
|
5538
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
5523
|
+
return e.replace(/left|right|bottom|top/g, (t) => Uu[t]);
|
|
5539
5524
|
}
|
|
5540
|
-
function
|
|
5525
|
+
function Ju(e) {
|
|
5541
5526
|
return {
|
|
5542
5527
|
top: 0,
|
|
5543
5528
|
right: 0,
|
|
@@ -5547,7 +5532,7 @@ function Qu(e) {
|
|
|
5547
5532
|
};
|
|
5548
5533
|
}
|
|
5549
5534
|
function Ks(e) {
|
|
5550
|
-
return typeof e != "number" ?
|
|
5535
|
+
return typeof e != "number" ? Ju(e) : {
|
|
5551
5536
|
top: e,
|
|
5552
5537
|
right: e,
|
|
5553
5538
|
bottom: e,
|
|
@@ -5620,7 +5605,7 @@ function go(e, t, n) {
|
|
|
5620
5605
|
}
|
|
5621
5606
|
return g;
|
|
5622
5607
|
}
|
|
5623
|
-
const
|
|
5608
|
+
const Qu = async (e, t, n) => {
|
|
5624
5609
|
const {
|
|
5625
5610
|
placement: r = "bottom",
|
|
5626
5611
|
strategy: o = "absolute",
|
|
@@ -5726,7 +5711,7 @@ async function bt(e, t) {
|
|
|
5726
5711
|
right: (_.right - v.right + b.right) / S.x
|
|
5727
5712
|
};
|
|
5728
5713
|
}
|
|
5729
|
-
const
|
|
5714
|
+
const ed = (e) => ({
|
|
5730
5715
|
name: "arrow",
|
|
5731
5716
|
options: e,
|
|
5732
5717
|
async fn(t) {
|
|
@@ -5750,20 +5735,20 @@ const td = (e) => ({
|
|
|
5750
5735
|
}, g = mr(o), b = pr(g), h = await a.getDimensions(f), x = g === "y", v = x ? "top" : "left", y = x ? "bottom" : "right", E = x ? "clientHeight" : "clientWidth", S = s.reference[b] + s.reference[g] - m[g] - s.floating[b], _ = m[g] - s.reference[g], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(f));
|
|
5751
5736
|
let A = M ? M[E] : 0;
|
|
5752
5737
|
(!A || !await (a.isElement == null ? void 0 : a.isElement(M))) && (A = i.floating[E] || s.floating[b]);
|
|
5753
|
-
const C = S / 2 - _ / 2, k = A / 2 - h[b] / 2 - 1, I = Ge(d[v], k),
|
|
5738
|
+
const C = S / 2 - _ / 2, k = A / 2 - h[b] / 2 - 1, I = Ge(d[v], k), z = Ge(d[y], k), W = I, V = A - h[b] - z, $ = A / 2 - h[b] / 2 + C, Y = Yn(W, $, V), j = !c.arrow && dt(o) != null && $ !== Y && s.reference[b] / 2 - ($ < W ? I : z) - h[b] / 2 < 0, B = j ? $ < W ? $ - W : $ - V : 0;
|
|
5754
5739
|
return {
|
|
5755
|
-
[g]: m[g] +
|
|
5740
|
+
[g]: m[g] + B,
|
|
5756
5741
|
data: {
|
|
5757
5742
|
[g]: Y,
|
|
5758
|
-
centerOffset: $ - Y -
|
|
5743
|
+
centerOffset: $ - Y - B,
|
|
5759
5744
|
...j && {
|
|
5760
|
-
alignmentOffset:
|
|
5745
|
+
alignmentOffset: B
|
|
5761
5746
|
}
|
|
5762
5747
|
},
|
|
5763
5748
|
reset: j
|
|
5764
5749
|
};
|
|
5765
5750
|
}
|
|
5766
|
-
}),
|
|
5751
|
+
}), td = function(e) {
|
|
5767
5752
|
return e === void 0 && (e = {}), {
|
|
5768
5753
|
name: "flip",
|
|
5769
5754
|
options: e,
|
|
@@ -5787,20 +5772,20 @@ const td = (e) => ({
|
|
|
5787
5772
|
} = De(e, t);
|
|
5788
5773
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
5789
5774
|
return {};
|
|
5790
|
-
const v = je(o), y = Re(i), E = je(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), _ = m || (E || !h ? [Kt(i)] :
|
|
5791
|
-
!m && M && _.push(...
|
|
5775
|
+
const v = je(o), y = Re(i), E = je(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), _ = m || (E || !h ? [Kt(i)] : Xu(i)), M = b !== "none";
|
|
5776
|
+
!m && M && _.push(...Zu(i, h, b, S));
|
|
5792
5777
|
const A = [i, ..._], C = await bt(t, x), k = [];
|
|
5793
5778
|
let I = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
5794
5779
|
if (u && k.push(C[v]), d) {
|
|
5795
|
-
const $ =
|
|
5780
|
+
const $ = Yu(o, a, S);
|
|
5796
5781
|
k.push(C[$[0]], C[$[1]]);
|
|
5797
5782
|
}
|
|
5798
5783
|
if (I = [...I, {
|
|
5799
5784
|
placement: o,
|
|
5800
5785
|
overflows: k
|
|
5801
5786
|
}], !k.every(($) => $ <= 0)) {
|
|
5802
|
-
var
|
|
5803
|
-
const $ = (((
|
|
5787
|
+
var z, W;
|
|
5788
|
+
const $ = (((z = s.flip) == null ? void 0 : z.index) || 0) + 1, Y = A[$];
|
|
5804
5789
|
if (Y && (!(d === "alignment" ? y !== Re(Y) : !1) || // We leave the current main axis only if every placement on that axis
|
|
5805
5790
|
// overflows the main axis.
|
|
5806
5791
|
I.every((R) => R.overflows[0] > 0 && Re(R.placement) === y)))
|
|
@@ -5813,12 +5798,12 @@ const td = (e) => ({
|
|
|
5813
5798
|
placement: Y
|
|
5814
5799
|
}
|
|
5815
5800
|
};
|
|
5816
|
-
let j = (W = I.filter((
|
|
5801
|
+
let j = (W = I.filter((B) => B.overflows[0] <= 0).sort((B, R) => B.overflows[1] - R.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
5817
5802
|
if (!j)
|
|
5818
5803
|
switch (g) {
|
|
5819
5804
|
case "bestFit": {
|
|
5820
5805
|
var V;
|
|
5821
|
-
const
|
|
5806
|
+
const B = (V = I.filter((R) => {
|
|
5822
5807
|
if (M) {
|
|
5823
5808
|
const O = Re(R.placement);
|
|
5824
5809
|
return O === y || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -5827,7 +5812,7 @@ const td = (e) => ({
|
|
|
5827
5812
|
}
|
|
5828
5813
|
return !0;
|
|
5829
5814
|
}).map((R) => [R.placement, R.overflows.filter((O) => O > 0).reduce((O, w) => O + w, 0)]).sort((R, O) => R[1] - O[1])[0]) == null ? void 0 : V[0];
|
|
5830
|
-
|
|
5815
|
+
B && (j = B);
|
|
5831
5816
|
break;
|
|
5832
5817
|
}
|
|
5833
5818
|
case "initialPlacement":
|
|
@@ -5854,9 +5839,9 @@ function vo(e, t) {
|
|
|
5854
5839
|
};
|
|
5855
5840
|
}
|
|
5856
5841
|
function bo(e) {
|
|
5857
|
-
return
|
|
5842
|
+
return Gu.some((t) => e[t] >= 0);
|
|
5858
5843
|
}
|
|
5859
|
-
const
|
|
5844
|
+
const nd = function(e) {
|
|
5860
5845
|
return e === void 0 && (e = {}), {
|
|
5861
5846
|
name: "hide",
|
|
5862
5847
|
options: e,
|
|
@@ -5898,7 +5883,7 @@ const rd = function(e) {
|
|
|
5898
5883
|
}
|
|
5899
5884
|
};
|
|
5900
5885
|
};
|
|
5901
|
-
async function
|
|
5886
|
+
async function rd(e, t) {
|
|
5902
5887
|
const {
|
|
5903
5888
|
placement: n,
|
|
5904
5889
|
platform: r,
|
|
@@ -5925,7 +5910,7 @@ async function od(e, t) {
|
|
|
5925
5910
|
y: g * u
|
|
5926
5911
|
};
|
|
5927
5912
|
}
|
|
5928
|
-
const
|
|
5913
|
+
const od = function(e) {
|
|
5929
5914
|
return e === void 0 && (e = 0), {
|
|
5930
5915
|
name: "offset",
|
|
5931
5916
|
options: e,
|
|
@@ -5936,7 +5921,7 @@ const sd = function(e) {
|
|
|
5936
5921
|
y: s,
|
|
5937
5922
|
placement: a,
|
|
5938
5923
|
middlewareData: i
|
|
5939
|
-
} = t, c = await
|
|
5924
|
+
} = t, c = await rd(t, e);
|
|
5940
5925
|
return a === ((n = i.offset) == null ? void 0 : n.placement) && (r = i.arrow) != null && r.alignmentOffset ? {} : {
|
|
5941
5926
|
x: o + c.x,
|
|
5942
5927
|
y: s + c.y,
|
|
@@ -5947,7 +5932,7 @@ const sd = function(e) {
|
|
|
5947
5932
|
};
|
|
5948
5933
|
}
|
|
5949
5934
|
};
|
|
5950
|
-
},
|
|
5935
|
+
}, sd = function(e) {
|
|
5951
5936
|
return e === void 0 && (e = {}), {
|
|
5952
5937
|
name: "shift",
|
|
5953
5938
|
options: e,
|
|
@@ -6003,7 +5988,7 @@ const sd = function(e) {
|
|
|
6003
5988
|
};
|
|
6004
5989
|
}
|
|
6005
5990
|
};
|
|
6006
|
-
},
|
|
5991
|
+
}, ad = function(e) {
|
|
6007
5992
|
return e === void 0 && (e = {}), {
|
|
6008
5993
|
options: e,
|
|
6009
5994
|
fn(t) {
|
|
@@ -6045,7 +6030,7 @@ const sd = function(e) {
|
|
|
6045
6030
|
};
|
|
6046
6031
|
}
|
|
6047
6032
|
};
|
|
6048
|
-
},
|
|
6033
|
+
}, id = function(e) {
|
|
6049
6034
|
return e === void 0 && (e = {}), {
|
|
6050
6035
|
name: "size",
|
|
6051
6036
|
options: e,
|
|
@@ -6069,8 +6054,8 @@ const sd = function(e) {
|
|
|
6069
6054
|
const y = h - u.top - u.bottom, E = b - u.left - u.right, S = Ge(h - u[x], y), _ = Ge(b - u[v], E), M = !t.middlewareData.shift;
|
|
6070
6055
|
let A = S, C = _;
|
|
6071
6056
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = E), (r = t.middlewareData.shift) != null && r.enabled.y && (A = y), M && !m) {
|
|
6072
|
-
const I = me(u.left, 0),
|
|
6073
|
-
g ? C = b - 2 * (I !== 0 ||
|
|
6057
|
+
const I = me(u.left, 0), z = me(u.right, 0), W = me(u.top, 0), V = me(u.bottom, 0);
|
|
6058
|
+
g ? C = b - 2 * (I !== 0 || z !== 0 ? I + z : me(u.left, u.right)) : A = h - 2 * (W !== 0 || V !== 0 ? W + V : me(u.top, u.bottom));
|
|
6074
6059
|
}
|
|
6075
6060
|
await c({
|
|
6076
6061
|
...t,
|
|
@@ -6121,7 +6106,7 @@ function Et(e) {
|
|
|
6121
6106
|
} = ye(e);
|
|
6122
6107
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
|
|
6123
6108
|
}
|
|
6124
|
-
function
|
|
6109
|
+
function cd(e) {
|
|
6125
6110
|
return ["table", "td", "th"].includes(ft(e));
|
|
6126
6111
|
}
|
|
6127
6112
|
function rn(e) {
|
|
@@ -6137,7 +6122,7 @@ function hr(e) {
|
|
|
6137
6122
|
const t = gr(), n = we(e) ? ye(e) : e;
|
|
6138
6123
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
6139
6124
|
}
|
|
6140
|
-
function
|
|
6125
|
+
function ld(e) {
|
|
6141
6126
|
let t = Ue(e);
|
|
6142
6127
|
for (; Ae(t) && !it(t); ) {
|
|
6143
6128
|
if (hr(t))
|
|
@@ -6223,15 +6208,15 @@ function st(e) {
|
|
|
6223
6208
|
y: i
|
|
6224
6209
|
};
|
|
6225
6210
|
}
|
|
6226
|
-
const
|
|
6211
|
+
const ud = /* @__PURE__ */ _e(0);
|
|
6227
6212
|
function Zs(e) {
|
|
6228
6213
|
const t = he(e);
|
|
6229
|
-
return !gr() || !t.visualViewport ?
|
|
6214
|
+
return !gr() || !t.visualViewport ? ud : {
|
|
6230
6215
|
x: t.visualViewport.offsetLeft,
|
|
6231
6216
|
y: t.visualViewport.offsetTop
|
|
6232
6217
|
};
|
|
6233
6218
|
}
|
|
6234
|
-
function
|
|
6219
|
+
function dd(e, t, n) {
|
|
6235
6220
|
return t === void 0 && (t = !1), !n || t && n !== he(e) ? !1 : t;
|
|
6236
6221
|
}
|
|
6237
6222
|
function Xe(e, t, n, r) {
|
|
@@ -6239,7 +6224,7 @@ function Xe(e, t, n, r) {
|
|
|
6239
6224
|
const o = e.getBoundingClientRect(), s = vr(e);
|
|
6240
6225
|
let a = _e(1);
|
|
6241
6226
|
t && (r ? we(r) && (a = st(r)) : a = st(e));
|
|
6242
|
-
const i =
|
|
6227
|
+
const i = dd(s, n, r) ? Zs(s) : _e(0);
|
|
6243
6228
|
let c = (o.left + i.x) / a.x, f = (o.top + i.y) / a.y, u = o.width / a.x, d = o.height / a.y;
|
|
6244
6229
|
if (s) {
|
|
6245
6230
|
const m = he(s), g = r && we(r) ? he(r) : r;
|
|
@@ -6271,7 +6256,7 @@ function Js(e, t, n) {
|
|
|
6271
6256
|
y: s
|
|
6272
6257
|
};
|
|
6273
6258
|
}
|
|
6274
|
-
function
|
|
6259
|
+
function fd(e) {
|
|
6275
6260
|
let {
|
|
6276
6261
|
elements: t,
|
|
6277
6262
|
rect: n,
|
|
@@ -6298,10 +6283,10 @@ function pd(e) {
|
|
|
6298
6283
|
y: n.y * f.y - c.scrollTop * f.y + u.y + m.y
|
|
6299
6284
|
};
|
|
6300
6285
|
}
|
|
6301
|
-
function
|
|
6286
|
+
function pd(e) {
|
|
6302
6287
|
return Array.from(e.getClientRects());
|
|
6303
6288
|
}
|
|
6304
|
-
function
|
|
6289
|
+
function md(e) {
|
|
6305
6290
|
const t = Me(e), n = on(e), r = e.ownerDocument.body, o = me(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = me(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
6306
6291
|
let a = -n.scrollLeft + br(e);
|
|
6307
6292
|
const i = -n.scrollTop;
|
|
@@ -6312,7 +6297,7 @@ function hd(e) {
|
|
|
6312
6297
|
y: i
|
|
6313
6298
|
};
|
|
6314
6299
|
}
|
|
6315
|
-
function
|
|
6300
|
+
function hd(e, t) {
|
|
6316
6301
|
const n = he(e), r = Me(e), o = n.visualViewport;
|
|
6317
6302
|
let s = r.clientWidth, a = r.clientHeight, i = 0, c = 0;
|
|
6318
6303
|
if (o) {
|
|
@@ -6327,7 +6312,7 @@ function gd(e, t) {
|
|
|
6327
6312
|
y: c
|
|
6328
6313
|
};
|
|
6329
6314
|
}
|
|
6330
|
-
function
|
|
6315
|
+
function gd(e, t) {
|
|
6331
6316
|
const n = Xe(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = Ae(e) ? st(e) : _e(1), a = e.clientWidth * s.x, i = e.clientHeight * s.y, c = o * s.x, f = r * s.y;
|
|
6332
6317
|
return {
|
|
6333
6318
|
width: a,
|
|
@@ -6339,11 +6324,11 @@ function vd(e, t) {
|
|
|
6339
6324
|
function wo(e, t, n) {
|
|
6340
6325
|
let r;
|
|
6341
6326
|
if (t === "viewport")
|
|
6342
|
-
r =
|
|
6327
|
+
r = hd(e, n);
|
|
6343
6328
|
else if (t === "document")
|
|
6344
|
-
r =
|
|
6329
|
+
r = md(Me(e));
|
|
6345
6330
|
else if (we(t))
|
|
6346
|
-
r =
|
|
6331
|
+
r = gd(t, n);
|
|
6347
6332
|
else {
|
|
6348
6333
|
const o = Zs(e);
|
|
6349
6334
|
r = {
|
|
@@ -6359,7 +6344,7 @@ function Qs(e, t) {
|
|
|
6359
6344
|
const n = Ue(e);
|
|
6360
6345
|
return n === t || !we(n) || it(n) ? !1 : ye(n).position === "fixed" || Qs(n, t);
|
|
6361
6346
|
}
|
|
6362
|
-
function
|
|
6347
|
+
function vd(e, t) {
|
|
6363
6348
|
const n = t.get(e);
|
|
6364
6349
|
if (n)
|
|
6365
6350
|
return n;
|
|
@@ -6372,14 +6357,14 @@ function bd(e, t) {
|
|
|
6372
6357
|
}
|
|
6373
6358
|
return t.set(e, r), r;
|
|
6374
6359
|
}
|
|
6375
|
-
function
|
|
6360
|
+
function bd(e) {
|
|
6376
6361
|
let {
|
|
6377
6362
|
element: t,
|
|
6378
6363
|
boundary: n,
|
|
6379
6364
|
rootBoundary: r,
|
|
6380
6365
|
strategy: o
|
|
6381
6366
|
} = e;
|
|
6382
|
-
const a = [...n === "clippingAncestors" ? rn(t) ? [] :
|
|
6367
|
+
const a = [...n === "clippingAncestors" ? rn(t) ? [] : vd(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((f, u) => {
|
|
6383
6368
|
const d = wo(t, u, o);
|
|
6384
6369
|
return f.top = me(d.top, f.top), f.right = Ge(d.right, f.right), f.bottom = Ge(d.bottom, f.bottom), f.left = me(d.left, f.left), f;
|
|
6385
6370
|
}, wo(t, i, o));
|
|
@@ -6390,7 +6375,7 @@ function xd(e) {
|
|
|
6390
6375
|
y: c.top
|
|
6391
6376
|
};
|
|
6392
6377
|
}
|
|
6393
|
-
function
|
|
6378
|
+
function xd(e) {
|
|
6394
6379
|
const {
|
|
6395
6380
|
width: t,
|
|
6396
6381
|
height: n
|
|
@@ -6400,7 +6385,7 @@ function wd(e) {
|
|
|
6400
6385
|
height: n
|
|
6401
6386
|
};
|
|
6402
6387
|
}
|
|
6403
|
-
function
|
|
6388
|
+
function wd(e, t, n) {
|
|
6404
6389
|
const r = Ae(t), o = Me(t), s = n === "fixed", a = Xe(e, !0, s, t);
|
|
6405
6390
|
let i = {
|
|
6406
6391
|
scrollLeft: 0,
|
|
@@ -6449,14 +6434,14 @@ function ea(e, t) {
|
|
|
6449
6434
|
return n;
|
|
6450
6435
|
}
|
|
6451
6436
|
let r = yo(e, t);
|
|
6452
|
-
for (; r &&
|
|
6437
|
+
for (; r && cd(r) && Pn(r); )
|
|
6453
6438
|
r = yo(r, t);
|
|
6454
|
-
return r && it(r) && Pn(r) && !hr(r) ? n : r ||
|
|
6439
|
+
return r && it(r) && Pn(r) && !hr(r) ? n : r || ld(e) || n;
|
|
6455
6440
|
}
|
|
6456
|
-
const
|
|
6441
|
+
const yd = async function(e) {
|
|
6457
6442
|
const t = this.getOffsetParent || ea, n = this.getDimensions, r = await n(e.floating);
|
|
6458
6443
|
return {
|
|
6459
|
-
reference:
|
|
6444
|
+
reference: wd(e.reference, await t(e.floating), e.strategy),
|
|
6460
6445
|
floating: {
|
|
6461
6446
|
x: 0,
|
|
6462
6447
|
y: 0,
|
|
@@ -6465,25 +6450,25 @@ const Cd = async function(e) {
|
|
|
6465
6450
|
}
|
|
6466
6451
|
};
|
|
6467
6452
|
};
|
|
6468
|
-
function
|
|
6453
|
+
function Cd(e) {
|
|
6469
6454
|
return ye(e).direction === "rtl";
|
|
6470
6455
|
}
|
|
6471
|
-
const
|
|
6472
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
6456
|
+
const Ed = {
|
|
6457
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: fd,
|
|
6473
6458
|
getDocumentElement: Me,
|
|
6474
|
-
getClippingRect:
|
|
6459
|
+
getClippingRect: bd,
|
|
6475
6460
|
getOffsetParent: ea,
|
|
6476
|
-
getElementRects:
|
|
6477
|
-
getClientRects:
|
|
6478
|
-
getDimensions:
|
|
6461
|
+
getElementRects: yd,
|
|
6462
|
+
getClientRects: pd,
|
|
6463
|
+
getDimensions: xd,
|
|
6479
6464
|
getScale: st,
|
|
6480
6465
|
isElement: we,
|
|
6481
|
-
isRTL:
|
|
6466
|
+
isRTL: Cd
|
|
6482
6467
|
};
|
|
6483
6468
|
function ta(e, t) {
|
|
6484
6469
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
6485
6470
|
}
|
|
6486
|
-
function
|
|
6471
|
+
function Sd(e, t) {
|
|
6487
6472
|
let n = null, r;
|
|
6488
6473
|
const o = Me(e);
|
|
6489
6474
|
function s() {
|
|
@@ -6529,7 +6514,7 @@ function Rd(e, t) {
|
|
|
6529
6514
|
}
|
|
6530
6515
|
return a(!0), s;
|
|
6531
6516
|
}
|
|
6532
|
-
function
|
|
6517
|
+
function Rd(e, t, n, r) {
|
|
6533
6518
|
r === void 0 && (r = {});
|
|
6534
6519
|
const {
|
|
6535
6520
|
ancestorScroll: o = !0,
|
|
@@ -6543,7 +6528,7 @@ function _d(e, t, n, r) {
|
|
|
6543
6528
|
passive: !0
|
|
6544
6529
|
}), s && v.addEventListener("resize", n);
|
|
6545
6530
|
});
|
|
6546
|
-
const d = f && i ?
|
|
6531
|
+
const d = f && i ? Sd(f, n) : null;
|
|
6547
6532
|
let m = -1, g = null;
|
|
6548
6533
|
a && (g = new ResizeObserver((v) => {
|
|
6549
6534
|
let [y] = v;
|
|
@@ -6565,21 +6550,21 @@ function _d(e, t, n, r) {
|
|
|
6565
6550
|
}), d == null || d(), (v = g) == null || v.disconnect(), g = null, c && cancelAnimationFrame(b);
|
|
6566
6551
|
};
|
|
6567
6552
|
}
|
|
6568
|
-
const Ad = sd, Md =
|
|
6553
|
+
const _d = od, Ad = sd, Md = td, Od = id, Td = nd, Co = ed, Pd = ad, Nd = (e, t, n) => {
|
|
6569
6554
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
6570
|
-
platform:
|
|
6555
|
+
platform: Ed,
|
|
6571
6556
|
...n
|
|
6572
6557
|
}, s = {
|
|
6573
6558
|
...o.platform,
|
|
6574
6559
|
_c: r
|
|
6575
6560
|
};
|
|
6576
|
-
return
|
|
6561
|
+
return Qu(e, t, {
|
|
6577
6562
|
...o,
|
|
6578
6563
|
platform: s
|
|
6579
6564
|
});
|
|
6580
6565
|
};
|
|
6581
|
-
var
|
|
6582
|
-
}, Wt =
|
|
6566
|
+
var kd = typeof document < "u", Id = function() {
|
|
6567
|
+
}, Wt = kd ? Oo : Id;
|
|
6583
6568
|
function Xt(e, t) {
|
|
6584
6569
|
if (e === t)
|
|
6585
6570
|
return !0;
|
|
@@ -6623,7 +6608,7 @@ function Nn(e) {
|
|
|
6623
6608
|
t.current = e;
|
|
6624
6609
|
}), t;
|
|
6625
6610
|
}
|
|
6626
|
-
function
|
|
6611
|
+
function Dd(e) {
|
|
6627
6612
|
e === void 0 && (e = {});
|
|
6628
6613
|
const {
|
|
6629
6614
|
placement: t = "bottom",
|
|
@@ -6650,7 +6635,7 @@ function jd(e) {
|
|
|
6650
6635
|
R !== M.current && (M.current = R, h(R));
|
|
6651
6636
|
}, []), E = l.useCallback((R) => {
|
|
6652
6637
|
R !== A.current && (A.current = R, v(R));
|
|
6653
|
-
}, []), S = s || b, _ = a || x, M = l.useRef(null), A = l.useRef(null), C = l.useRef(u), k = c != null, I = Nn(c),
|
|
6638
|
+
}, []), S = s || b, _ = a || x, M = l.useRef(null), A = l.useRef(null), C = l.useRef(u), k = c != null, I = Nn(c), z = Nn(o), W = Nn(f), V = l.useCallback(() => {
|
|
6654
6639
|
if (!M.current || !A.current)
|
|
6655
6640
|
return;
|
|
6656
6641
|
const R = {
|
|
@@ -6658,7 +6643,7 @@ function jd(e) {
|
|
|
6658
6643
|
strategy: n,
|
|
6659
6644
|
middleware: m
|
|
6660
6645
|
};
|
|
6661
|
-
|
|
6646
|
+
z.current && (R.platform = z.current), Nd(M.current, A.current, R).then((O) => {
|
|
6662
6647
|
const w = {
|
|
6663
6648
|
...O,
|
|
6664
6649
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -6671,7 +6656,7 @@ function jd(e) {
|
|
|
6671
6656
|
d(w);
|
|
6672
6657
|
}));
|
|
6673
6658
|
});
|
|
6674
|
-
}, [m, t, n,
|
|
6659
|
+
}, [m, t, n, z, W]);
|
|
6675
6660
|
Wt(() => {
|
|
6676
6661
|
f === !1 && C.current.isPositioned && (C.current.isPositioned = !1, d((R) => ({
|
|
6677
6662
|
...R,
|
|
@@ -6696,7 +6681,7 @@ function jd(e) {
|
|
|
6696
6681
|
}), [y, E]), j = l.useMemo(() => ({
|
|
6697
6682
|
reference: S,
|
|
6698
6683
|
floating: _
|
|
6699
|
-
}), [S, _]),
|
|
6684
|
+
}), [S, _]), B = l.useMemo(() => {
|
|
6700
6685
|
const R = {
|
|
6701
6686
|
position: n,
|
|
6702
6687
|
left: 0,
|
|
@@ -6722,10 +6707,10 @@ function jd(e) {
|
|
|
6722
6707
|
update: V,
|
|
6723
6708
|
refs: Y,
|
|
6724
6709
|
elements: j,
|
|
6725
|
-
floatingStyles:
|
|
6726
|
-
}), [u, V, Y, j,
|
|
6710
|
+
floatingStyles: B
|
|
6711
|
+
}), [u, V, Y, j, B]);
|
|
6727
6712
|
}
|
|
6728
|
-
const
|
|
6713
|
+
const jd = (e) => {
|
|
6729
6714
|
function t(n) {
|
|
6730
6715
|
return {}.hasOwnProperty.call(n, "current");
|
|
6731
6716
|
}
|
|
@@ -6746,14 +6731,17 @@ const Ld = (e) => {
|
|
|
6746
6731
|
}).fn(n) : {};
|
|
6747
6732
|
}
|
|
6748
6733
|
};
|
|
6749
|
-
},
|
|
6734
|
+
}, Ld = (e, t) => ({
|
|
6735
|
+
..._d(e),
|
|
6736
|
+
options: [e, t]
|
|
6737
|
+
}), Fd = (e, t) => ({
|
|
6750
6738
|
...Ad(e),
|
|
6751
6739
|
options: [e, t]
|
|
6752
6740
|
}), Vd = (e, t) => ({
|
|
6753
|
-
...
|
|
6741
|
+
...Pd(e),
|
|
6754
6742
|
options: [e, t]
|
|
6755
6743
|
}), $d = (e, t) => ({
|
|
6756
|
-
...
|
|
6744
|
+
...Md(e),
|
|
6757
6745
|
options: [e, t]
|
|
6758
6746
|
}), Hd = (e, t) => ({
|
|
6759
6747
|
...Od(e),
|
|
@@ -6762,13 +6750,10 @@ const Ld = (e) => {
|
|
|
6762
6750
|
...Td(e),
|
|
6763
6751
|
options: [e, t]
|
|
6764
6752
|
}), zd = (e, t) => ({
|
|
6765
|
-
...
|
|
6766
|
-
options: [e, t]
|
|
6767
|
-
}), Bd = (e, t) => ({
|
|
6768
|
-
...Ld(e),
|
|
6753
|
+
...jd(e),
|
|
6769
6754
|
options: [e, t]
|
|
6770
6755
|
});
|
|
6771
|
-
var
|
|
6756
|
+
var Bd = "Arrow", ra = l.forwardRef((e, t) => {
|
|
6772
6757
|
const { children: n, width: r = 10, height: o = 5, ...s } = e;
|
|
6773
6758
|
return /* @__PURE__ */ p.jsx(
|
|
6774
6759
|
ne.svg,
|
|
@@ -6783,9 +6768,9 @@ var Gd = "Arrow", ra = l.forwardRef((e, t) => {
|
|
|
6783
6768
|
}
|
|
6784
6769
|
);
|
|
6785
6770
|
});
|
|
6786
|
-
ra.displayName =
|
|
6787
|
-
var
|
|
6788
|
-
function
|
|
6771
|
+
ra.displayName = Bd;
|
|
6772
|
+
var Gd = ra;
|
|
6773
|
+
function Ud(e) {
|
|
6789
6774
|
const [t, n] = l.useState(void 0);
|
|
6790
6775
|
return Be(() => {
|
|
6791
6776
|
if (e) {
|
|
@@ -6807,9 +6792,9 @@ function Kd(e) {
|
|
|
6807
6792
|
n(void 0);
|
|
6808
6793
|
}, [e]), t;
|
|
6809
6794
|
}
|
|
6810
|
-
var xr = "Popper", [oa, sn] = qe(xr), [
|
|
6795
|
+
var xr = "Popper", [oa, sn] = qe(xr), [Kd, sa] = oa(xr), aa = (e) => {
|
|
6811
6796
|
const { __scopePopper: t, children: n } = e, [r, o] = l.useState(null);
|
|
6812
|
-
return /* @__PURE__ */ p.jsx(
|
|
6797
|
+
return /* @__PURE__ */ p.jsx(Kd, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
6813
6798
|
};
|
|
6814
6799
|
aa.displayName = xr;
|
|
6815
6800
|
var ia = "PopperAnchor", ca = l.forwardRef(
|
|
@@ -6821,9 +6806,9 @@ var ia = "PopperAnchor", ca = l.forwardRef(
|
|
|
6821
6806
|
}
|
|
6822
6807
|
);
|
|
6823
6808
|
ca.displayName = ia;
|
|
6824
|
-
var wr = "PopperContent", [
|
|
6809
|
+
var wr = "PopperContent", [Yd, Xd] = oa(wr), la = l.forwardRef(
|
|
6825
6810
|
(e, t) => {
|
|
6826
|
-
var
|
|
6811
|
+
var G, J, Q, oe, be, Fe;
|
|
6827
6812
|
const {
|
|
6828
6813
|
__scopePopper: n,
|
|
6829
6814
|
side: r = "bottom",
|
|
@@ -6839,46 +6824,46 @@ var wr = "PopperContent", [Xd, qd] = oa(wr), la = l.forwardRef(
|
|
|
6839
6824
|
updatePositionStrategy: g = "optimized",
|
|
6840
6825
|
onPlaced: b,
|
|
6841
6826
|
...h
|
|
6842
|
-
} = e, x = sa(wr, n), [v, y] = l.useState(null), E = ae(t, (q) => y(q)), [S, _] = l.useState(null), M =
|
|
6827
|
+
} = e, x = sa(wr, n), [v, y] = l.useState(null), E = ae(t, (q) => y(q)), [S, _] = l.useState(null), M = Ud(S), A = (M == null ? void 0 : M.width) ?? 0, C = (M == null ? void 0 : M.height) ?? 0, k = r + (s !== "center" ? "-" + s : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, z = Array.isArray(f) ? f : [f], W = z.length > 0, V = {
|
|
6843
6828
|
padding: I,
|
|
6844
|
-
boundary:
|
|
6829
|
+
boundary: z.filter(Zd),
|
|
6845
6830
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
6846
6831
|
altBoundary: W
|
|
6847
|
-
}, { refs: $, floatingStyles: Y, placement: j, isPositioned:
|
|
6832
|
+
}, { refs: $, floatingStyles: Y, placement: j, isPositioned: B, middlewareData: R } = Dd({
|
|
6848
6833
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
6849
6834
|
strategy: "fixed",
|
|
6850
6835
|
placement: k,
|
|
6851
|
-
whileElementsMounted: (...q) =>
|
|
6836
|
+
whileElementsMounted: (...q) => Rd(...q, {
|
|
6852
6837
|
animationFrame: g === "always"
|
|
6853
6838
|
}),
|
|
6854
6839
|
elements: {
|
|
6855
6840
|
reference: x.anchor
|
|
6856
6841
|
},
|
|
6857
6842
|
middleware: [
|
|
6858
|
-
|
|
6859
|
-
c &&
|
|
6843
|
+
Ld({ mainAxis: o + C, alignmentAxis: a }),
|
|
6844
|
+
c && Fd({
|
|
6860
6845
|
mainAxis: !0,
|
|
6861
6846
|
crossAxis: !1,
|
|
6862
|
-
limiter: d === "partial" ?
|
|
6847
|
+
limiter: d === "partial" ? Vd() : void 0,
|
|
6863
6848
|
...V
|
|
6864
6849
|
}),
|
|
6865
|
-
c &&
|
|
6866
|
-
|
|
6850
|
+
c && $d({ ...V }),
|
|
6851
|
+
Hd({
|
|
6867
6852
|
...V,
|
|
6868
6853
|
apply: ({ elements: q, rects: Z, availableWidth: ie, availableHeight: te }) => {
|
|
6869
6854
|
const { width: pe, height: Ve } = Z.reference, re = q.floating.style;
|
|
6870
6855
|
re.setProperty("--radix-popper-available-width", `${ie}px`), re.setProperty("--radix-popper-available-height", `${te}px`), re.setProperty("--radix-popper-anchor-width", `${pe}px`), re.setProperty("--radix-popper-anchor-height", `${Ve}px`);
|
|
6871
6856
|
}
|
|
6872
6857
|
}),
|
|
6873
|
-
S &&
|
|
6874
|
-
|
|
6875
|
-
m &&
|
|
6858
|
+
S && zd({ element: S, padding: i }),
|
|
6859
|
+
Jd({ arrowWidth: A, arrowHeight: C }),
|
|
6860
|
+
m && Wd({ strategy: "referenceHidden", ...V })
|
|
6876
6861
|
]
|
|
6877
6862
|
}), [O, w] = fa(j), T = Ie(b);
|
|
6878
6863
|
Be(() => {
|
|
6879
|
-
|
|
6880
|
-
}, [
|
|
6881
|
-
const D = (
|
|
6864
|
+
B && (T == null || T());
|
|
6865
|
+
}, [B, T]);
|
|
6866
|
+
const D = (G = R.arrow) == null ? void 0 : G.x, F = (J = R.arrow) == null ? void 0 : J.y, X = ((Q = R.arrow) == null ? void 0 : Q.centerOffset) !== 0, [ee, ce] = l.useState();
|
|
6882
6867
|
return Be(() => {
|
|
6883
6868
|
v && ce(window.getComputedStyle(v).zIndex);
|
|
6884
6869
|
}, [v]), /* @__PURE__ */ p.jsx(
|
|
@@ -6888,7 +6873,7 @@ var wr = "PopperContent", [Xd, qd] = oa(wr), la = l.forwardRef(
|
|
|
6888
6873
|
"data-radix-popper-content-wrapper": "",
|
|
6889
6874
|
style: {
|
|
6890
6875
|
...Y,
|
|
6891
|
-
transform:
|
|
6876
|
+
transform: B ? Y.transform : "translate(0, -200%)",
|
|
6892
6877
|
// keep off the page when measuring
|
|
6893
6878
|
minWidth: "max-content",
|
|
6894
6879
|
zIndex: ee,
|
|
@@ -6906,7 +6891,7 @@ var wr = "PopperContent", [Xd, qd] = oa(wr), la = l.forwardRef(
|
|
|
6906
6891
|
},
|
|
6907
6892
|
dir: e.dir,
|
|
6908
6893
|
children: /* @__PURE__ */ p.jsx(
|
|
6909
|
-
|
|
6894
|
+
Yd,
|
|
6910
6895
|
{
|
|
6911
6896
|
scope: n,
|
|
6912
6897
|
placedSide: O,
|
|
@@ -6925,7 +6910,7 @@ var wr = "PopperContent", [Xd, qd] = oa(wr), la = l.forwardRef(
|
|
|
6925
6910
|
...h.style,
|
|
6926
6911
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
6927
6912
|
// we prevent animations so that users's animation don't kick in too early referring wrong sides
|
|
6928
|
-
animation:
|
|
6913
|
+
animation: B ? void 0 : "none"
|
|
6929
6914
|
}
|
|
6930
6915
|
}
|
|
6931
6916
|
)
|
|
@@ -6936,13 +6921,13 @@ var wr = "PopperContent", [Xd, qd] = oa(wr), la = l.forwardRef(
|
|
|
6936
6921
|
}
|
|
6937
6922
|
);
|
|
6938
6923
|
la.displayName = wr;
|
|
6939
|
-
var ua = "PopperArrow",
|
|
6924
|
+
var ua = "PopperArrow", qd = {
|
|
6940
6925
|
top: "bottom",
|
|
6941
6926
|
right: "left",
|
|
6942
6927
|
bottom: "top",
|
|
6943
6928
|
left: "right"
|
|
6944
6929
|
}, da = l.forwardRef(function(t, n) {
|
|
6945
|
-
const { __scopePopper: r, ...o } = t, s =
|
|
6930
|
+
const { __scopePopper: r, ...o } = t, s = Xd(ua, r), a = qd[s.placedSide];
|
|
6946
6931
|
return (
|
|
6947
6932
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
6948
6933
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -6971,7 +6956,7 @@ var ua = "PopperArrow", Zd = {
|
|
|
6971
6956
|
visibility: s.shouldHideArrow ? "hidden" : void 0
|
|
6972
6957
|
},
|
|
6973
6958
|
children: /* @__PURE__ */ p.jsx(
|
|
6974
|
-
|
|
6959
|
+
Gd,
|
|
6975
6960
|
{
|
|
6976
6961
|
...o,
|
|
6977
6962
|
ref: n,
|
|
@@ -6987,10 +6972,10 @@ var ua = "PopperArrow", Zd = {
|
|
|
6987
6972
|
);
|
|
6988
6973
|
});
|
|
6989
6974
|
da.displayName = ua;
|
|
6990
|
-
function
|
|
6975
|
+
function Zd(e) {
|
|
6991
6976
|
return e !== null;
|
|
6992
6977
|
}
|
|
6993
|
-
var
|
|
6978
|
+
var Jd = (e) => ({
|
|
6994
6979
|
name: "transformOrigin",
|
|
6995
6980
|
options: e,
|
|
6996
6981
|
fn(t) {
|
|
@@ -7004,7 +6989,7 @@ function fa(e) {
|
|
|
7004
6989
|
const [t, n = "center"] = e.split("-");
|
|
7005
6990
|
return [t, n];
|
|
7006
6991
|
}
|
|
7007
|
-
var
|
|
6992
|
+
var Qd = aa, pa = ca, ma = la, ha = da, ef = Object.freeze({
|
|
7008
6993
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
7009
6994
|
position: "absolute",
|
|
7010
6995
|
border: 0,
|
|
@@ -7016,23 +7001,23 @@ var ef = aa, pa = ca, ma = la, ha = da, tf = Object.freeze({
|
|
|
7016
7001
|
clip: "rect(0, 0, 0, 0)",
|
|
7017
7002
|
whiteSpace: "nowrap",
|
|
7018
7003
|
wordWrap: "normal"
|
|
7019
|
-
}),
|
|
7004
|
+
}), tf = "VisuallyHidden", ga = l.forwardRef(
|
|
7020
7005
|
(e, t) => /* @__PURE__ */ p.jsx(
|
|
7021
7006
|
ne.span,
|
|
7022
7007
|
{
|
|
7023
7008
|
...e,
|
|
7024
7009
|
ref: t,
|
|
7025
|
-
style: { ...
|
|
7010
|
+
style: { ...ef, ...e.style }
|
|
7026
7011
|
}
|
|
7027
7012
|
)
|
|
7028
7013
|
);
|
|
7029
|
-
ga.displayName =
|
|
7030
|
-
var
|
|
7014
|
+
ga.displayName = tf;
|
|
7015
|
+
var nf = ga, [an, k0] = qe("Tooltip", [
|
|
7031
7016
|
sn
|
|
7032
|
-
]), yr = sn(), va = "TooltipProvider",
|
|
7017
|
+
]), yr = sn(), va = "TooltipProvider", rf = 700, So = "tooltip.open", [of, ba] = an(va), xa = (e) => {
|
|
7033
7018
|
const {
|
|
7034
7019
|
__scopeTooltip: t,
|
|
7035
|
-
delayDuration: n =
|
|
7020
|
+
delayDuration: n = rf,
|
|
7036
7021
|
skipDelayDuration: r = 300,
|
|
7037
7022
|
disableHoverableContent: o = !1,
|
|
7038
7023
|
children: s
|
|
@@ -7041,7 +7026,7 @@ var rf = ga, [an, I0] = qe("Tooltip", [
|
|
|
7041
7026
|
const f = c.current;
|
|
7042
7027
|
return () => window.clearTimeout(f);
|
|
7043
7028
|
}, []), /* @__PURE__ */ p.jsx(
|
|
7044
|
-
|
|
7029
|
+
of,
|
|
7045
7030
|
{
|
|
7046
7031
|
scope: t,
|
|
7047
7032
|
isOpenDelayedRef: a,
|
|
@@ -7065,7 +7050,7 @@ var rf = ga, [an, I0] = qe("Tooltip", [
|
|
|
7065
7050
|
);
|
|
7066
7051
|
};
|
|
7067
7052
|
xa.displayName = va;
|
|
7068
|
-
var wa = "Tooltip", [
|
|
7053
|
+
var wa = "Tooltip", [I0, cn] = an(wa), Zn = "TooltipTrigger", sf = l.forwardRef(
|
|
7069
7054
|
(e, t) => {
|
|
7070
7055
|
const { __scopeTooltip: n, ...r } = e, o = cn(Zn, n), s = ba(Zn, n), a = yr(n), i = l.useRef(null), c = ae(t, i, o.onTriggerChange), f = l.useRef(!1), u = l.useRef(!1), d = l.useCallback(() => f.current = !1, []);
|
|
7071
7056
|
return l.useEffect(() => () => document.removeEventListener("pointerup", d), [d]), /* @__PURE__ */ p.jsx(pa, { asChild: !0, ...a, children: /* @__PURE__ */ p.jsx(
|
|
@@ -7093,20 +7078,20 @@ var wa = "Tooltip", [D0, cn] = an(wa), Zn = "TooltipTrigger", af = l.forwardRef(
|
|
|
7093
7078
|
) });
|
|
7094
7079
|
}
|
|
7095
7080
|
);
|
|
7096
|
-
|
|
7097
|
-
var
|
|
7081
|
+
sf.displayName = Zn;
|
|
7082
|
+
var af = "TooltipPortal", [D0, cf] = an(af, {
|
|
7098
7083
|
forceMount: void 0
|
|
7099
7084
|
}), ct = "TooltipContent", ya = l.forwardRef(
|
|
7100
7085
|
(e, t) => {
|
|
7101
|
-
const n =
|
|
7102
|
-
return /* @__PURE__ */ p.jsx(Le, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ p.jsx(Ca, { side: o, ...s, ref: t }) : /* @__PURE__ */ p.jsx(
|
|
7086
|
+
const n = cf(ct, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, a = cn(ct, e.__scopeTooltip);
|
|
7087
|
+
return /* @__PURE__ */ p.jsx(Le, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ p.jsx(Ca, { side: o, ...s, ref: t }) : /* @__PURE__ */ p.jsx(lf, { side: o, ...s, ref: t }) });
|
|
7103
7088
|
}
|
|
7104
|
-
),
|
|
7089
|
+
), lf = l.forwardRef((e, t) => {
|
|
7105
7090
|
const n = cn(ct, e.__scopeTooltip), r = ba(ct, e.__scopeTooltip), o = l.useRef(null), s = ae(t, o), [a, i] = l.useState(null), { trigger: c, onClose: f } = n, u = o.current, { onPointerInTransitChange: d } = r, m = l.useCallback(() => {
|
|
7106
7091
|
i(null), d(!1);
|
|
7107
7092
|
}, [d]), g = l.useCallback(
|
|
7108
7093
|
(b, h) => {
|
|
7109
|
-
const x = b.currentTarget, v = { x: b.clientX, y: b.clientY }, y =
|
|
7094
|
+
const x = b.currentTarget, v = { x: b.clientX, y: b.clientY }, y = mf(v, x.getBoundingClientRect()), E = hf(v, y), S = gf(h.getBoundingClientRect()), _ = bf([...E, ...S]);
|
|
7110
7095
|
i(_), d(!0);
|
|
7111
7096
|
},
|
|
7112
7097
|
[d]
|
|
@@ -7121,13 +7106,13 @@ var cf = "TooltipPortal", [j0, lf] = an(cf, {
|
|
|
7121
7106
|
}, [c, u, g, m]), l.useEffect(() => {
|
|
7122
7107
|
if (a) {
|
|
7123
7108
|
const b = (h) => {
|
|
7124
|
-
const x = h.target, v = { x: h.clientX, y: h.clientY }, y = (c == null ? void 0 : c.contains(x)) || (u == null ? void 0 : u.contains(x)), E = !
|
|
7109
|
+
const x = h.target, v = { x: h.clientX, y: h.clientY }, y = (c == null ? void 0 : c.contains(x)) || (u == null ? void 0 : u.contains(x)), E = !vf(v, a);
|
|
7125
7110
|
y ? m() : E && (m(), f());
|
|
7126
7111
|
};
|
|
7127
7112
|
return document.addEventListener("pointermove", b), () => document.removeEventListener("pointermove", b);
|
|
7128
7113
|
}
|
|
7129
7114
|
}, [c, u, a, f, m]), /* @__PURE__ */ p.jsx(Ca, { ...e, ref: s });
|
|
7130
|
-
}), [
|
|
7115
|
+
}), [uf, df] = an(wa, { isInside: !1 }), ff = /* @__PURE__ */ Mc("TooltipContent"), Ca = l.forwardRef(
|
|
7131
7116
|
(e, t) => {
|
|
7132
7117
|
const {
|
|
7133
7118
|
__scopeTooltip: n,
|
|
@@ -7170,8 +7155,8 @@ var cf = "TooltipPortal", [j0, lf] = an(cf, {
|
|
|
7170
7155
|
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
7171
7156
|
},
|
|
7172
7157
|
children: [
|
|
7173
|
-
/* @__PURE__ */ p.jsx(
|
|
7174
|
-
/* @__PURE__ */ p.jsx(
|
|
7158
|
+
/* @__PURE__ */ p.jsx(ff, { children: r }),
|
|
7159
|
+
/* @__PURE__ */ p.jsx(uf, { scope: n, isInside: !0, children: /* @__PURE__ */ p.jsx(nf, { id: c.contentId, role: "tooltip", children: o || r }) })
|
|
7175
7160
|
]
|
|
7176
7161
|
}
|
|
7177
7162
|
)
|
|
@@ -7180,17 +7165,17 @@ var cf = "TooltipPortal", [j0, lf] = an(cf, {
|
|
|
7180
7165
|
}
|
|
7181
7166
|
);
|
|
7182
7167
|
ya.displayName = ct;
|
|
7183
|
-
var Ea = "TooltipArrow",
|
|
7168
|
+
var Ea = "TooltipArrow", pf = l.forwardRef(
|
|
7184
7169
|
(e, t) => {
|
|
7185
7170
|
const { __scopeTooltip: n, ...r } = e, o = yr(n);
|
|
7186
|
-
return
|
|
7171
|
+
return df(
|
|
7187
7172
|
Ea,
|
|
7188
7173
|
n
|
|
7189
7174
|
).isInside ? null : /* @__PURE__ */ p.jsx(ha, { ...o, ...r, ref: t });
|
|
7190
7175
|
}
|
|
7191
7176
|
);
|
|
7192
|
-
|
|
7193
|
-
function
|
|
7177
|
+
pf.displayName = Ea;
|
|
7178
|
+
function mf(e, t) {
|
|
7194
7179
|
const n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), o = Math.abs(t.right - e.x), s = Math.abs(t.left - e.x);
|
|
7195
7180
|
switch (Math.min(n, r, o, s)) {
|
|
7196
7181
|
case s:
|
|
@@ -7205,7 +7190,7 @@ function hf(e, t) {
|
|
|
7205
7190
|
throw new Error("unreachable");
|
|
7206
7191
|
}
|
|
7207
7192
|
}
|
|
7208
|
-
function
|
|
7193
|
+
function hf(e, t, n = 5) {
|
|
7209
7194
|
const r = [];
|
|
7210
7195
|
switch (t) {
|
|
7211
7196
|
case "top":
|
|
@@ -7235,7 +7220,7 @@ function gf(e, t, n = 5) {
|
|
|
7235
7220
|
}
|
|
7236
7221
|
return r;
|
|
7237
7222
|
}
|
|
7238
|
-
function
|
|
7223
|
+
function gf(e) {
|
|
7239
7224
|
const { top: t, right: n, bottom: r, left: o } = e;
|
|
7240
7225
|
return [
|
|
7241
7226
|
{ x: o, y: t },
|
|
@@ -7244,7 +7229,7 @@ function vf(e) {
|
|
|
7244
7229
|
{ x: o, y: r }
|
|
7245
7230
|
];
|
|
7246
7231
|
}
|
|
7247
|
-
function
|
|
7232
|
+
function vf(e, t) {
|
|
7248
7233
|
const { x: n, y: r } = e;
|
|
7249
7234
|
let o = !1;
|
|
7250
7235
|
for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
|
|
@@ -7253,11 +7238,11 @@ function bf(e, t) {
|
|
|
7253
7238
|
}
|
|
7254
7239
|
return o;
|
|
7255
7240
|
}
|
|
7256
|
-
function
|
|
7241
|
+
function bf(e) {
|
|
7257
7242
|
const t = e.slice();
|
|
7258
|
-
return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0),
|
|
7243
|
+
return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), xf(t);
|
|
7259
7244
|
}
|
|
7260
|
-
function
|
|
7245
|
+
function xf(e) {
|
|
7261
7246
|
if (e.length <= 1) return e.slice();
|
|
7262
7247
|
const t = [];
|
|
7263
7248
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -7282,28 +7267,28 @@ function wf(e) {
|
|
|
7282
7267
|
}
|
|
7283
7268
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
7284
7269
|
}
|
|
7285
|
-
var
|
|
7286
|
-
const
|
|
7270
|
+
var wf = xa, Sa = ya;
|
|
7271
|
+
const yf = wf, Cf = l.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ p.jsx(
|
|
7287
7272
|
Sa,
|
|
7288
7273
|
{
|
|
7289
7274
|
ref: r,
|
|
7290
7275
|
sideOffset: t,
|
|
7291
|
-
className:
|
|
7276
|
+
className: U(
|
|
7292
7277
|
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
7293
7278
|
e
|
|
7294
7279
|
),
|
|
7295
7280
|
...n
|
|
7296
7281
|
}
|
|
7297
7282
|
));
|
|
7298
|
-
|
|
7299
|
-
const
|
|
7283
|
+
Cf.displayName = Sa.displayName;
|
|
7284
|
+
const Ef = "sidebar_state", Sf = 60 * 60 * 24 * 7, Rf = "16rem", _f = "18rem", Af = "3rem", Mf = "b", Ra = l.createContext(null);
|
|
7300
7285
|
function Cr() {
|
|
7301
7286
|
const e = l.useContext(Ra);
|
|
7302
7287
|
if (!e)
|
|
7303
7288
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
7304
7289
|
return e;
|
|
7305
7290
|
}
|
|
7306
|
-
function
|
|
7291
|
+
function Of({
|
|
7307
7292
|
defaultOpen: e = !0,
|
|
7308
7293
|
open: t,
|
|
7309
7294
|
onOpenChange: n,
|
|
@@ -7315,13 +7300,13 @@ function Tf({
|
|
|
7315
7300
|
const i = Nc(), [c, f] = l.useState(!1), [u, d] = l.useState(e), m = t ?? u, g = l.useCallback(
|
|
7316
7301
|
(v) => {
|
|
7317
7302
|
const y = typeof v == "function" ? v(m) : v;
|
|
7318
|
-
n ? n(y) : d(y), document.cookie = `${
|
|
7303
|
+
n ? n(y) : d(y), document.cookie = `${Ef}=${y}; path=/; max-age=${Sf}`;
|
|
7319
7304
|
},
|
|
7320
7305
|
[n, m]
|
|
7321
7306
|
), b = l.useCallback(() => i ? f((v) => !v) : g((v) => !v), [i, g, f]);
|
|
7322
7307
|
l.useEffect(() => {
|
|
7323
7308
|
const v = (y) => {
|
|
7324
|
-
y.key ===
|
|
7309
|
+
y.key === Mf && (y.metaKey || y.ctrlKey) && (y.preventDefault(), b());
|
|
7325
7310
|
};
|
|
7326
7311
|
return window.addEventListener("keydown", v), () => window.removeEventListener("keydown", v);
|
|
7327
7312
|
}, [b]);
|
|
@@ -7337,16 +7322,16 @@ function Tf({
|
|
|
7337
7322
|
}),
|
|
7338
7323
|
[h, m, g, i, c, f, b]
|
|
7339
7324
|
);
|
|
7340
|
-
return /* @__PURE__ */ p.jsx(Ra.Provider, { value: x, children: /* @__PURE__ */ p.jsx(
|
|
7325
|
+
return /* @__PURE__ */ p.jsx(Ra.Provider, { value: x, children: /* @__PURE__ */ p.jsx(yf, { delayDuration: 0, children: /* @__PURE__ */ p.jsx(
|
|
7341
7326
|
"div",
|
|
7342
7327
|
{
|
|
7343
7328
|
"data-slot": "sidebar-wrapper",
|
|
7344
7329
|
style: {
|
|
7345
|
-
"--sidebar-width":
|
|
7346
|
-
"--sidebar-width-icon":
|
|
7330
|
+
"--sidebar-width": Rf,
|
|
7331
|
+
"--sidebar-width-icon": Af,
|
|
7347
7332
|
...o
|
|
7348
7333
|
},
|
|
7349
|
-
className:
|
|
7334
|
+
className: U(
|
|
7350
7335
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
7351
7336
|
r
|
|
7352
7337
|
),
|
|
@@ -7355,7 +7340,7 @@ function Tf({
|
|
|
7355
7340
|
}
|
|
7356
7341
|
) }) });
|
|
7357
7342
|
}
|
|
7358
|
-
function
|
|
7343
|
+
function Tf({
|
|
7359
7344
|
side: e = "left",
|
|
7360
7345
|
variant: t = "sidebar",
|
|
7361
7346
|
collapsible: n = "offcanvas",
|
|
@@ -7368,14 +7353,14 @@ function Pf({
|
|
|
7368
7353
|
"div",
|
|
7369
7354
|
{
|
|
7370
7355
|
"data-slot": "sidebar",
|
|
7371
|
-
className:
|
|
7356
|
+
className: U(
|
|
7372
7357
|
"bg-white text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
7373
7358
|
r
|
|
7374
7359
|
),
|
|
7375
7360
|
...s,
|
|
7376
7361
|
children: o
|
|
7377
7362
|
}
|
|
7378
|
-
) : a ? /* @__PURE__ */ p.jsx(
|
|
7363
|
+
) : a ? /* @__PURE__ */ p.jsx(Wu, { open: c, onOpenChange: f, ...s, children: /* @__PURE__ */ p.jsxs(
|
|
7379
7364
|
zs,
|
|
7380
7365
|
{
|
|
7381
7366
|
"data-sidebar": "sidebar",
|
|
@@ -7383,7 +7368,7 @@ function Pf({
|
|
|
7383
7368
|
"data-mobile": "true",
|
|
7384
7369
|
className: "bg-white text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
7385
7370
|
style: {
|
|
7386
|
-
"--sidebar-width":
|
|
7371
|
+
"--sidebar-width": _f
|
|
7387
7372
|
},
|
|
7388
7373
|
side: e,
|
|
7389
7374
|
children: [
|
|
@@ -7408,7 +7393,7 @@ function Pf({
|
|
|
7408
7393
|
"div",
|
|
7409
7394
|
{
|
|
7410
7395
|
"data-slot": "sidebar-gap",
|
|
7411
|
-
className:
|
|
7396
|
+
className: U(
|
|
7412
7397
|
"relative w-(--sidebar-width) bg-white transition-[width] duration-200 ease-linear",
|
|
7413
7398
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
7414
7399
|
"group-data-[side=right]:rotate-180",
|
|
@@ -7420,7 +7405,7 @@ function Pf({
|
|
|
7420
7405
|
"div",
|
|
7421
7406
|
{
|
|
7422
7407
|
"data-slot": "sidebar-container",
|
|
7423
|
-
className:
|
|
7408
|
+
className: U(
|
|
7424
7409
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
7425
7410
|
e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
7426
7411
|
// Adjust the padding for floating and inset variants.
|
|
@@ -7443,7 +7428,7 @@ function Pf({
|
|
|
7443
7428
|
}
|
|
7444
7429
|
);
|
|
7445
7430
|
}
|
|
7446
|
-
function
|
|
7431
|
+
function Pf({
|
|
7447
7432
|
className: e,
|
|
7448
7433
|
onClick: t,
|
|
7449
7434
|
...n
|
|
@@ -7456,7 +7441,7 @@ function Nf({
|
|
|
7456
7441
|
"data-slot": "sidebar-trigger",
|
|
7457
7442
|
variant: "ghost",
|
|
7458
7443
|
size: "icon",
|
|
7459
|
-
className:
|
|
7444
|
+
className: U("size-7", e),
|
|
7460
7445
|
onClick: (o) => {
|
|
7461
7446
|
t == null || t(o), r();
|
|
7462
7447
|
},
|
|
@@ -7468,7 +7453,7 @@ function Nf({
|
|
|
7468
7453
|
}
|
|
7469
7454
|
);
|
|
7470
7455
|
}
|
|
7471
|
-
function
|
|
7456
|
+
function Nf({ className: e, ...t }) {
|
|
7472
7457
|
const { toggleSidebar: n } = Cr();
|
|
7473
7458
|
return /* @__PURE__ */ p.jsx(
|
|
7474
7459
|
"button",
|
|
@@ -7479,7 +7464,7 @@ function kf({ className: e, ...t }) {
|
|
|
7479
7464
|
tabIndex: -1,
|
|
7480
7465
|
onClick: n,
|
|
7481
7466
|
title: "Toggle Sidebar",
|
|
7482
|
-
className:
|
|
7467
|
+
className: U(
|
|
7483
7468
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
7484
7469
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
7485
7470
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -7492,12 +7477,12 @@ function kf({ className: e, ...t }) {
|
|
|
7492
7477
|
}
|
|
7493
7478
|
);
|
|
7494
7479
|
}
|
|
7495
|
-
function
|
|
7480
|
+
function kf({ className: e, ...t }) {
|
|
7496
7481
|
return /* @__PURE__ */ p.jsx(
|
|
7497
7482
|
"main",
|
|
7498
7483
|
{
|
|
7499
7484
|
"data-slot": "sidebar-inset",
|
|
7500
|
-
className:
|
|
7485
|
+
className: U(
|
|
7501
7486
|
"bg-white relative flex w-full flex-1 flex-col",
|
|
7502
7487
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
7503
7488
|
e
|
|
@@ -7506,24 +7491,24 @@ function If({ className: e, ...t }) {
|
|
|
7506
7491
|
}
|
|
7507
7492
|
);
|
|
7508
7493
|
}
|
|
7509
|
-
function
|
|
7494
|
+
function If({ className: e, ...t }) {
|
|
7510
7495
|
return /* @__PURE__ */ p.jsx(
|
|
7511
7496
|
"div",
|
|
7512
7497
|
{
|
|
7513
7498
|
"data-slot": "sidebar-header",
|
|
7514
7499
|
"data-sidebar": "header",
|
|
7515
|
-
className:
|
|
7500
|
+
className: U("flex flex-col gap-2 p-2", e),
|
|
7516
7501
|
...t
|
|
7517
7502
|
}
|
|
7518
7503
|
);
|
|
7519
7504
|
}
|
|
7520
|
-
function
|
|
7505
|
+
function Df({ className: e, ...t }) {
|
|
7521
7506
|
return /* @__PURE__ */ p.jsx(
|
|
7522
7507
|
"div",
|
|
7523
7508
|
{
|
|
7524
7509
|
"data-slot": "sidebar-content",
|
|
7525
7510
|
"data-sidebar": "content",
|
|
7526
|
-
className:
|
|
7511
|
+
className: U(
|
|
7527
7512
|
"flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
7528
7513
|
e
|
|
7529
7514
|
),
|
|
@@ -7531,13 +7516,13 @@ function jf({ className: e, ...t }) {
|
|
|
7531
7516
|
}
|
|
7532
7517
|
);
|
|
7533
7518
|
}
|
|
7534
|
-
function
|
|
7519
|
+
function jf({ className: e, ...t }) {
|
|
7535
7520
|
return /* @__PURE__ */ p.jsx(
|
|
7536
7521
|
"div",
|
|
7537
7522
|
{
|
|
7538
7523
|
"data-slot": "sidebar-group",
|
|
7539
7524
|
"data-sidebar": "group",
|
|
7540
|
-
className:
|
|
7525
|
+
className: U(
|
|
7541
7526
|
"relative flex w-full min-w-0 flex-col px-2 py-1",
|
|
7542
7527
|
e
|
|
7543
7528
|
),
|
|
@@ -7545,7 +7530,7 @@ function Lf({ className: e, ...t }) {
|
|
|
7545
7530
|
}
|
|
7546
7531
|
);
|
|
7547
7532
|
}
|
|
7548
|
-
function
|
|
7533
|
+
function Lf({
|
|
7549
7534
|
className: e,
|
|
7550
7535
|
...t
|
|
7551
7536
|
}) {
|
|
@@ -7554,18 +7539,18 @@ function Ff({
|
|
|
7554
7539
|
{
|
|
7555
7540
|
"data-slot": "sidebar-group-content",
|
|
7556
7541
|
"data-sidebar": "group-content",
|
|
7557
|
-
className:
|
|
7542
|
+
className: U("w-full text-sm", e),
|
|
7558
7543
|
...t
|
|
7559
7544
|
}
|
|
7560
7545
|
);
|
|
7561
7546
|
}
|
|
7562
|
-
function
|
|
7547
|
+
function Ff({ className: e, ...t }) {
|
|
7563
7548
|
return /* @__PURE__ */ p.jsx(
|
|
7564
7549
|
"ul",
|
|
7565
7550
|
{
|
|
7566
7551
|
"data-slot": "sidebar-menu-sub",
|
|
7567
7552
|
"data-sidebar": "menu-sub",
|
|
7568
|
-
className:
|
|
7553
|
+
className: U(
|
|
7569
7554
|
"border-sidebar-border mx-3 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
7570
7555
|
"group-data-[collapsible=icon]:hidden",
|
|
7571
7556
|
e
|
|
@@ -7574,7 +7559,7 @@ function Vf({ className: e, ...t }) {
|
|
|
7574
7559
|
}
|
|
7575
7560
|
);
|
|
7576
7561
|
}
|
|
7577
|
-
function
|
|
7562
|
+
function Vf({
|
|
7578
7563
|
className: e,
|
|
7579
7564
|
...t
|
|
7580
7565
|
}) {
|
|
@@ -7583,12 +7568,12 @@ function $f({
|
|
|
7583
7568
|
{
|
|
7584
7569
|
"data-slot": "sidebar-menu-sub-item",
|
|
7585
7570
|
"data-sidebar": "menu-sub-item",
|
|
7586
|
-
className:
|
|
7571
|
+
className: U("group/menu-sub-item relative", e),
|
|
7587
7572
|
...t
|
|
7588
7573
|
}
|
|
7589
7574
|
);
|
|
7590
7575
|
}
|
|
7591
|
-
function
|
|
7576
|
+
function $f({
|
|
7592
7577
|
asChild: e = !1,
|
|
7593
7578
|
size: t = "md",
|
|
7594
7579
|
isActive: n = !1,
|
|
@@ -7603,7 +7588,7 @@ function Hf({
|
|
|
7603
7588
|
"data-sidebar": "menu-sub-button",
|
|
7604
7589
|
"data-size": t,
|
|
7605
7590
|
"data-active": n,
|
|
7606
|
-
className:
|
|
7591
|
+
className: U(
|
|
7607
7592
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
7608
7593
|
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
7609
7594
|
t === "sm" && "text-xs",
|
|
@@ -7615,7 +7600,7 @@ function Hf({
|
|
|
7615
7600
|
}
|
|
7616
7601
|
);
|
|
7617
7602
|
}
|
|
7618
|
-
function
|
|
7603
|
+
function Hf({
|
|
7619
7604
|
title: e,
|
|
7620
7605
|
url: t,
|
|
7621
7606
|
children: n,
|
|
@@ -7626,19 +7611,19 @@ function Wf({
|
|
|
7626
7611
|
const [a, i] = l.useState(r);
|
|
7627
7612
|
return l.useEffect(() => {
|
|
7628
7613
|
s && i(!0);
|
|
7629
|
-
}, [s]), /* @__PURE__ */ p.jsx(
|
|
7614
|
+
}, [s]), /* @__PURE__ */ p.jsx(jf, { children: /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col", children: [
|
|
7630
7615
|
/* @__PURE__ */ p.jsxs("div", { className: "flex flex-row items-center justify-between", children: [
|
|
7631
7616
|
/* @__PURE__ */ p.jsxs(
|
|
7632
7617
|
"a",
|
|
7633
7618
|
{
|
|
7634
7619
|
href: t,
|
|
7635
|
-
className:
|
|
7620
|
+
className: U(
|
|
7636
7621
|
"flex flex-1 cursor-pointer items-center gap-2 rounded-lg p-2 hover:bg-gray-100",
|
|
7637
7622
|
s && "font-medium"
|
|
7638
7623
|
),
|
|
7639
7624
|
children: [
|
|
7640
|
-
o && /* @__PURE__ */ p.jsx("span", { className:
|
|
7641
|
-
/* @__PURE__ */ p.jsx("span", { className:
|
|
7625
|
+
o && /* @__PURE__ */ p.jsx("span", { className: U("text-gray-600", s && "font-medium"), children: o }),
|
|
7626
|
+
/* @__PURE__ */ p.jsx("span", { className: U(s && "font-medium"), children: e })
|
|
7642
7627
|
]
|
|
7643
7628
|
}
|
|
7644
7629
|
),
|
|
@@ -7658,7 +7643,7 @@ function Wf({
|
|
|
7658
7643
|
/* @__PURE__ */ p.jsx(
|
|
7659
7644
|
"div",
|
|
7660
7645
|
{
|
|
7661
|
-
className:
|
|
7646
|
+
className: U(
|
|
7662
7647
|
"overflow-hidden transition-all",
|
|
7663
7648
|
a ? "max-h-96" : "max-h-0"
|
|
7664
7649
|
),
|
|
@@ -7667,7 +7652,7 @@ function Wf({
|
|
|
7667
7652
|
)
|
|
7668
7653
|
] }) });
|
|
7669
7654
|
}
|
|
7670
|
-
const zf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20141%2060'%3e%3cpath%20d='M0.059%2019.711V59.673H19.509V49.95H9.779V19.711H0.059Z'%20fill='%2385B9D1'%3e%3c/path%3e%3cpath%20d='M0%200L0.056%204.915V19.715H9.776V9.715H19.5V59.673H29.22V0H0Z'%20fill='%23F68029'%3e%3c/path%3e%3cpath%20d='M23.49%2019.717H9.776V29.439H23.49V19.717Z'%20fill='%23F68029'%3e%3c/path%3e%3cpath%20d='M0.0580006%2019.718L9.785%2029.445V19.718H0.0580006Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M9.777%2049.953L19.504%2059.679V49.953H9.777Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M50.213%2021.331C50.1839%2019.244%2050.325%2017.1581%2050.635%2015.094C50.8293%2013.6891%2051.2694%2012.3294%2051.935%2011.077C52.4295%2010.1519%2053.1979%209.4023%2054.135%208.93101C55.1033%208.49691%2056.1561%208.28375%2057.217%208.307C58.2628%208.27673%2059.3024%208.47715%2060.262%208.894C61.1441%209.33605%2061.8541%2010.059%2062.28%2010.949C62.8725%2012.1976%2063.2507%2013.5369%2063.399%2014.911C63.6554%2016.9922%2063.7717%2019.0882%2063.747%2021.185C63.7759%2023.338%2063.6421%2025.4901%2063.347%2027.623C63.1657%2029.0675%2062.7378%2030.4702%2062.082%2031.77C61.6022%2032.7122%2060.8471%2033.4862%2059.917%2033.989C58.9503%2034.4507%2057.888%2034.6768%2056.817%2034.649C55.7687%2034.6771%2054.7258%2034.4896%2053.753%2034.098C52.8534%2033.6775%2052.1275%2032.9579%2051.699%2032.062C51.0884%2030.7803%2050.7037%2029.4027%2050.562%2027.99C50.3018%2025.7802%2050.1852%2023.5559%2050.213%2021.331ZM54.913%2022.248C54.913%2023.6913%2054.9377%2024.9267%2054.987%2025.954C55.0147%2026.8043%2055.1127%2027.6509%2055.28%2028.485C55.3666%2029.0149%2055.5877%2029.5138%2055.922%2029.934C56.0643%2030.0868%2056.238%2030.207%2056.4312%2030.2862C56.6244%2030.3655%2056.8324%2030.4019%2057.041%2030.393C57.25%2030.3964%2057.4571%2030.3533%2057.6473%2030.2668C57.8375%2030.1803%2058.0062%2030.0526%2058.141%2029.893C58.4964%2029.4241%2058.7297%2028.8744%2058.82%2028.293C59.0025%2027.3609%2059.1128%2026.4161%2059.15%2025.467C59.2107%2024.3177%2059.2414%2022.936%2059.242%2021.322C59.242%2019.732%2059.224%2018.3747%2059.188%2017.25C59.169%2016.3373%2059.0736%2015.4278%2058.903%2014.531C58.8198%2013.9744%2058.5923%2013.4493%2058.243%2013.008C58.0929%2012.8491%2057.9104%2012.7244%2057.7078%2012.6422C57.5053%2012.5601%2057.2874%2012.5225%2057.069%2012.532C56.8667%2012.5304%2056.6668%2012.576%2056.4852%2012.6652C56.3036%2012.7544%2056.1453%2012.8848%2056.023%2013.046C55.6766%2013.5389%2055.4446%2014.103%2055.344%2014.697C55.1442%2015.6885%2055.0277%2016.695%2054.996%2017.706C54.9347%2018.9533%2054.904%2020.4697%2054.904%2022.255'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M83.329%2021.331C83.2999%2019.244%2083.441%2017.1581%2083.751%2015.094C83.9453%2013.6891%2084.3854%2012.3294%2085.051%2011.077C85.5455%2010.1519%2086.3139%209.40235%2087.251%208.93105C89.2087%208.112%2091.4106%208.09871%2093.378%208.89405C94.2601%209.33609%2094.9701%2010.0591%2095.396%2010.949C95.9885%2012.1976%2096.3667%2013.537%2096.515%2014.911C96.7714%2016.9922%2096.8877%2019.0883%2096.863%2021.185C96.8919%2023.3381%2096.7581%2025.4902%2096.463%2027.6231C96.2817%2029.0676%2095.8538%2030.4703%2095.198%2031.77C94.7182%2032.7123%2093.9631%2033.4862%2093.033%2033.989C92.0663%2034.4507%2091.004%2034.6769%2089.933%2034.649C88.8847%2034.6772%2087.8418%2034.4896%2086.869%2034.098C85.9694%2033.6775%2085.2435%2032.9579%2084.815%2032.062C84.2044%2030.7803%2083.8197%2029.4027%2083.678%2027.99C83.4178%2025.7803%2083.3012%2023.5559%2083.329%2021.331ZM88.029%2022.2481C88.029%2023.6914%2088.0537%2024.9267%2088.103%2025.954C88.1307%2026.8044%2088.2287%2027.6509%2088.396%2028.4851C88.4826%2029.015%2088.7037%2029.5139%2089.038%2029.934C89.1803%2030.0869%2089.354%2030.207%2089.5472%2030.2863C89.7404%2030.3655%2089.9484%2030.4019%2090.157%2030.393C90.366%2030.3964%2090.573%2030.3533%2090.7633%2030.2669C90.9535%2030.1804%2091.1222%2030.0527%2091.257%2029.893C91.6124%2029.4242%2091.8458%2028.8744%2091.936%2028.2931C92.1185%2027.3609%2092.2288%2026.4161%2092.266%2025.467C92.3267%2024.3177%2092.3574%2022.936%2092.358%2021.322C92.358%2019.732%2092.34%2018.3747%2092.304%2017.2501C92.2887%2016.3329%2092.1964%2015.4187%2092.028%2014.517C91.9448%2013.9605%2091.7173%2013.4354%2091.368%2012.994C91.2162%2012.8368%2091.0323%2012.7141%2090.8289%2012.6343C90.6255%2012.5544%2090.4072%2012.5192%2090.189%2012.531C89.9867%2012.5294%2089.7868%2012.575%2089.6052%2012.6643C89.4236%2012.7535%2089.2653%2012.8839%2089.143%2013.045C88.7966%2013.5379%2088.5646%2014.102%2088.464%2014.6961C88.2642%2015.6876%2088.1477%2016.6941%2088.116%2017.705C88.0547%2018.9524%2088.024%2020.4687%2088.024%2022.254'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M131.349%2034.65V8.32202H135.458V30.797H140.631V34.649L131.349%2034.65Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M71.95%2034.65V8.33203H76.059V30.796H81.232V34.648L71.95%2034.65Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M104.833%2014.692C104.934%2014.098%20105.166%2013.534%20105.512%2013.041C105.634%2012.8798%20105.793%2012.7494%20105.974%2012.6602C106.156%2012.571%20106.356%2012.5253%20106.558%2012.527H110.103V8.30798H106.703C105.642%208.2848%20104.589%208.49794%20103.621%208.93197C102.684%209.40306%20101.915%2010.1527%20101.421%2011.078C100.756%2012.3304%20100.316%2013.6901%20100.121%2015.095C99.8114%2017.1591%2099.6706%2019.245%2099.7%2021.332C99.6722%2023.5568%2099.7885%2025.7811%20100.048%2027.991C100.19%2029.4037%20100.574%2030.7812%20101.185%2032.063C101.614%2032.9584%20102.34%2033.6778%20103.239%2034.099C104.212%2034.4899%20105.255%2034.6771%20106.303%2034.649L110.103%2034.613V30.393H106.522C106.313%2030.402%20106.105%2030.3657%20105.912%2030.2866C105.719%2030.2076%20105.545%2030.0876%20105.403%2029.935C105.069%2029.5144%20104.848%2029.0152%20104.761%2028.485C104.594%2027.6509%20104.496%2026.8043%20104.468%2025.954C104.419%2024.9266%20104.394%2023.6916%20104.394%2022.249C104.394%2020.4636%20104.425%2018.9473%20104.486%2017.7C104.518%2016.6894%20104.633%2015.6832%20104.833%2014.692Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M46.728%2019.247H42.878V30.395H41.828C41.6182%2030.4039%2041.409%2030.3669%2041.2149%2030.2868C41.0208%2030.2067%2040.8465%2030.0853%2040.704%2029.931C40.3695%2029.5106%2040.1485%2029.0113%2040.062%2028.481C39.894%2027.647%2039.7956%2026.8004%2039.768%2025.95C39.7187%2024.9227%2039.6944%2023.6877%2039.695%2022.245C39.695%2020.4597%2039.7257%2018.9434%2039.787%2017.696C39.8191%2016.6854%2039.9355%2015.6792%2040.135%2014.688C40.2357%2014.094%2040.4677%2013.53%2040.814%2013.037C40.9376%2012.8768%2041.0968%2012.7476%2041.2791%2012.6598C41.4614%2012.5719%2041.6617%2012.5278%2041.864%2012.531H45.904V8.31202H42.012C40.9511%208.28877%2039.8983%208.50191%2038.93%208.93601C37.9927%209.40699%2037.2241%2010.1567%2036.73%2011.082C36.0644%2012.3344%2035.6243%2013.6941%2035.43%2015.099C35.1189%2017.1613%2034.9764%2019.2456%2035.004%2021.331C34.9762%2023.5559%2035.0925%2025.7802%2035.352%2027.99C35.494%2029.4026%2035.8787%2030.7802%2036.489%2032.062C36.9179%2032.9579%2037.6442%2033.6775%2038.544%2034.098C39.517%2034.4891%2040.5598%2034.6763%2041.608%2034.648L43.587%2034.629H46.727L46.728%2019.247Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M123.653%2029.87H118L116.691%2034.65H112.797L120.939%208L128.793%2034.65H124.856L123.653%2029.87ZM122.587%2026.212L120.893%2019.982L119.085%2026.212H122.587Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M39.016%2041.436H37.059V54.507H39.016V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M44.559%2041.436H46.384L48.331%2046.651C48.919%2048.1937%2049.4198%2049.7682%2049.831%2051.367C49.6744%2050.357%2049.5584%2049.4427%2049.483%2048.624C49.4077%2047.8054%2049.37%2047.0347%2049.37%2046.312V41.436H51.336V54.511H49.495L47.303%2048.627C47.103%2048.0797%2046.9134%2047.518%2046.734%2046.942C46.5547%2046.366%2046.39%2045.762%2046.24%2045.13C46.2274%2045.0507%2046.207%2044.9547%2046.179%2044.842C46.151%2044.7293%2046.1177%2044.5997%2046.079%2044.453C46.098%2044.6%2046.114%2044.725%2046.126%2044.829C46.138%2044.933%2046.148%2045.022%2046.154%2045.095L46.254%2046.424L46.354%2048.041C46.36%2048.131%2046.365%2048.241%2046.368%2048.371C46.371%2048.501%2046.368%2048.648%2046.368%2048.811L46.468%2054.511H44.559V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M55.493%2041.436H61.861V42.977H59.67V54.511H57.751V42.977H55.493V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M65.828%2041.436H71.028V42.926H67.787V47.065H70.665V48.555H67.787V53.016H71.028V54.506H65.828V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M75.906%2041.436H78.483C79.3332%2041.3696%2080.1787%2041.6132%2080.863%2042.122C81.2131%2042.4774%2081.4826%2042.904%2081.6531%2043.3729C81.8236%2043.8417%2081.8911%2044.3418%2081.851%2044.839C81.8876%2045.6248%2081.7066%2046.4055%2081.328%2047.095C81.1685%2047.3665%2080.9531%2047.6008%2080.696%2047.7826C80.4389%2047.9643%2080.1461%2048.0892%2079.837%2048.149L82.509%2054.507H80.525L77.863%2048.107V54.507H75.906V41.436ZM77.863%2047.227C78.1485%2047.2893%2078.4451%2047.279%2078.7256%2047.1969C79.0061%2047.1148%2079.2615%2046.9637%2079.4684%2046.7573C79.6753%2046.5509%2079.8271%2046.2959%2079.9098%2046.0156C79.9926%2045.7353%2080.0036%2045.4387%2079.942%2045.153C79.9472%2044.8034%2079.9137%2044.4543%2079.842%2044.112C79.7909%2043.8589%2079.6851%2043.62%2079.532%2043.412C79.3909%2043.2304%2079.2018%2043.0918%2078.986%2043.012C78.7308%2042.9221%2078.4615%2042.8791%2078.191%2042.885H77.862L77.863%2047.227Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M90.046%2041.06L85.913%2054.514H87.745L88.45%2051.974H91.496L92.135%2054.531H94.028L90.046%2041.06ZM88.876%2050.403L90.013%2046.703L91.048%2050.415L88.876%2050.403Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M106.344%2041.436H112.712V42.977H110.52V54.511H108.602V42.977H106.344V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M118.865%2041.462H116.908V54.533H118.865V41.462Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M134.181%2041.462H139.381V42.952H136.136V47.093H139.014V48.583H136.136V53.044H139.381V54.534H134.181V41.462Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M99.749%2044.338C99.8046%2044.0109%2099.9338%2043.7008%20100.127%2043.431C100.202%2043.3322%20100.3%2043.2523%20100.411%2043.1976C100.523%2043.1429%20100.646%2043.115%20100.77%2043.116H102.464V41.207H100.846C100.318%2041.1955%2099.7949%2041.3011%2099.313%2041.516C98.8543%2041.748%2098.4782%2042.1157%2098.236%2042.569C97.9008%2043.2016%2097.6788%2043.888%2097.58%2044.597C97.4215%2045.6561%2097.3493%2046.7263%2097.364%2047.797C97.3503%2048.9393%2097.4101%2050.0814%2097.543%2051.216C97.6145%2051.9294%2097.808%2052.6252%2098.115%2053.273C98.3244%2053.7086%2098.6776%2054.0586%2099.115%2054.264C99.6001%2054.458%20100.12%2054.5509%20100.642%2054.537L102.469%2054.52V52.61H100.755C100.629%2052.6147%20100.503%2052.592%20100.386%2052.5435C100.269%2052.495%20100.164%2052.4218%20100.078%2052.329C99.8888%2052.0951%2099.7637%2051.816%2099.715%2051.519C99.6273%2051.081%2099.5758%2050.6365%2099.561%2050.19C99.536%2049.66%2099.523%2049.014%2099.523%2048.27C99.523%2047.349%2099.539%2046.557%2099.57%2045.916C99.5873%2045.3865%2099.6485%2044.8594%2099.753%2044.34'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M128.799%2041.466L126.671%2048.91L124.671%2041.466H122.679L126.654%2054.953L130.774%2041.466H128.799Z'%20fill='%230A3763'%3e%3c/path%3e%3c/svg%3e", Bf = {
|
|
7655
|
+
const Wf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20141%2060'%3e%3cpath%20d='M0.059%2019.711V59.673H19.509V49.95H9.779V19.711H0.059Z'%20fill='%2385B9D1'%3e%3c/path%3e%3cpath%20d='M0%200L0.056%204.915V19.715H9.776V9.715H19.5V59.673H29.22V0H0Z'%20fill='%23F68029'%3e%3c/path%3e%3cpath%20d='M23.49%2019.717H9.776V29.439H23.49V19.717Z'%20fill='%23F68029'%3e%3c/path%3e%3cpath%20d='M0.0580006%2019.718L9.785%2029.445V19.718H0.0580006Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M9.777%2049.953L19.504%2059.679V49.953H9.777Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M50.213%2021.331C50.1839%2019.244%2050.325%2017.1581%2050.635%2015.094C50.8293%2013.6891%2051.2694%2012.3294%2051.935%2011.077C52.4295%2010.1519%2053.1979%209.4023%2054.135%208.93101C55.1033%208.49691%2056.1561%208.28375%2057.217%208.307C58.2628%208.27673%2059.3024%208.47715%2060.262%208.894C61.1441%209.33605%2061.8541%2010.059%2062.28%2010.949C62.8725%2012.1976%2063.2507%2013.5369%2063.399%2014.911C63.6554%2016.9922%2063.7717%2019.0882%2063.747%2021.185C63.7759%2023.338%2063.6421%2025.4901%2063.347%2027.623C63.1657%2029.0675%2062.7378%2030.4702%2062.082%2031.77C61.6022%2032.7122%2060.8471%2033.4862%2059.917%2033.989C58.9503%2034.4507%2057.888%2034.6768%2056.817%2034.649C55.7687%2034.6771%2054.7258%2034.4896%2053.753%2034.098C52.8534%2033.6775%2052.1275%2032.9579%2051.699%2032.062C51.0884%2030.7803%2050.7037%2029.4027%2050.562%2027.99C50.3018%2025.7802%2050.1852%2023.5559%2050.213%2021.331ZM54.913%2022.248C54.913%2023.6913%2054.9377%2024.9267%2054.987%2025.954C55.0147%2026.8043%2055.1127%2027.6509%2055.28%2028.485C55.3666%2029.0149%2055.5877%2029.5138%2055.922%2029.934C56.0643%2030.0868%2056.238%2030.207%2056.4312%2030.2862C56.6244%2030.3655%2056.8324%2030.4019%2057.041%2030.393C57.25%2030.3964%2057.4571%2030.3533%2057.6473%2030.2668C57.8375%2030.1803%2058.0062%2030.0526%2058.141%2029.893C58.4964%2029.4241%2058.7297%2028.8744%2058.82%2028.293C59.0025%2027.3609%2059.1128%2026.4161%2059.15%2025.467C59.2107%2024.3177%2059.2414%2022.936%2059.242%2021.322C59.242%2019.732%2059.224%2018.3747%2059.188%2017.25C59.169%2016.3373%2059.0736%2015.4278%2058.903%2014.531C58.8198%2013.9744%2058.5923%2013.4493%2058.243%2013.008C58.0929%2012.8491%2057.9104%2012.7244%2057.7078%2012.6422C57.5053%2012.5601%2057.2874%2012.5225%2057.069%2012.532C56.8667%2012.5304%2056.6668%2012.576%2056.4852%2012.6652C56.3036%2012.7544%2056.1453%2012.8848%2056.023%2013.046C55.6766%2013.5389%2055.4446%2014.103%2055.344%2014.697C55.1442%2015.6885%2055.0277%2016.695%2054.996%2017.706C54.9347%2018.9533%2054.904%2020.4697%2054.904%2022.255'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M83.329%2021.331C83.2999%2019.244%2083.441%2017.1581%2083.751%2015.094C83.9453%2013.6891%2084.3854%2012.3294%2085.051%2011.077C85.5455%2010.1519%2086.3139%209.40235%2087.251%208.93105C89.2087%208.112%2091.4106%208.09871%2093.378%208.89405C94.2601%209.33609%2094.9701%2010.0591%2095.396%2010.949C95.9885%2012.1976%2096.3667%2013.537%2096.515%2014.911C96.7714%2016.9922%2096.8877%2019.0883%2096.863%2021.185C96.8919%2023.3381%2096.7581%2025.4902%2096.463%2027.6231C96.2817%2029.0676%2095.8538%2030.4703%2095.198%2031.77C94.7182%2032.7123%2093.9631%2033.4862%2093.033%2033.989C92.0663%2034.4507%2091.004%2034.6769%2089.933%2034.649C88.8847%2034.6772%2087.8418%2034.4896%2086.869%2034.098C85.9694%2033.6775%2085.2435%2032.9579%2084.815%2032.062C84.2044%2030.7803%2083.8197%2029.4027%2083.678%2027.99C83.4178%2025.7803%2083.3012%2023.5559%2083.329%2021.331ZM88.029%2022.2481C88.029%2023.6914%2088.0537%2024.9267%2088.103%2025.954C88.1307%2026.8044%2088.2287%2027.6509%2088.396%2028.4851C88.4826%2029.015%2088.7037%2029.5139%2089.038%2029.934C89.1803%2030.0869%2089.354%2030.207%2089.5472%2030.2863C89.7404%2030.3655%2089.9484%2030.4019%2090.157%2030.393C90.366%2030.3964%2090.573%2030.3533%2090.7633%2030.2669C90.9535%2030.1804%2091.1222%2030.0527%2091.257%2029.893C91.6124%2029.4242%2091.8458%2028.8744%2091.936%2028.2931C92.1185%2027.3609%2092.2288%2026.4161%2092.266%2025.467C92.3267%2024.3177%2092.3574%2022.936%2092.358%2021.322C92.358%2019.732%2092.34%2018.3747%2092.304%2017.2501C92.2887%2016.3329%2092.1964%2015.4187%2092.028%2014.517C91.9448%2013.9605%2091.7173%2013.4354%2091.368%2012.994C91.2162%2012.8368%2091.0323%2012.7141%2090.8289%2012.6343C90.6255%2012.5544%2090.4072%2012.5192%2090.189%2012.531C89.9867%2012.5294%2089.7868%2012.575%2089.6052%2012.6643C89.4236%2012.7535%2089.2653%2012.8839%2089.143%2013.045C88.7966%2013.5379%2088.5646%2014.102%2088.464%2014.6961C88.2642%2015.6876%2088.1477%2016.6941%2088.116%2017.705C88.0547%2018.9524%2088.024%2020.4687%2088.024%2022.254'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M131.349%2034.65V8.32202H135.458V30.797H140.631V34.649L131.349%2034.65Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M71.95%2034.65V8.33203H76.059V30.796H81.232V34.648L71.95%2034.65Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M104.833%2014.692C104.934%2014.098%20105.166%2013.534%20105.512%2013.041C105.634%2012.8798%20105.793%2012.7494%20105.974%2012.6602C106.156%2012.571%20106.356%2012.5253%20106.558%2012.527H110.103V8.30798H106.703C105.642%208.2848%20104.589%208.49794%20103.621%208.93197C102.684%209.40306%20101.915%2010.1527%20101.421%2011.078C100.756%2012.3304%20100.316%2013.6901%20100.121%2015.095C99.8114%2017.1591%2099.6706%2019.245%2099.7%2021.332C99.6722%2023.5568%2099.7885%2025.7811%20100.048%2027.991C100.19%2029.4037%20100.574%2030.7812%20101.185%2032.063C101.614%2032.9584%20102.34%2033.6778%20103.239%2034.099C104.212%2034.4899%20105.255%2034.6771%20106.303%2034.649L110.103%2034.613V30.393H106.522C106.313%2030.402%20106.105%2030.3657%20105.912%2030.2866C105.719%2030.2076%20105.545%2030.0876%20105.403%2029.935C105.069%2029.5144%20104.848%2029.0152%20104.761%2028.485C104.594%2027.6509%20104.496%2026.8043%20104.468%2025.954C104.419%2024.9266%20104.394%2023.6916%20104.394%2022.249C104.394%2020.4636%20104.425%2018.9473%20104.486%2017.7C104.518%2016.6894%20104.633%2015.6832%20104.833%2014.692Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M46.728%2019.247H42.878V30.395H41.828C41.6182%2030.4039%2041.409%2030.3669%2041.2149%2030.2868C41.0208%2030.2067%2040.8465%2030.0853%2040.704%2029.931C40.3695%2029.5106%2040.1485%2029.0113%2040.062%2028.481C39.894%2027.647%2039.7956%2026.8004%2039.768%2025.95C39.7187%2024.9227%2039.6944%2023.6877%2039.695%2022.245C39.695%2020.4597%2039.7257%2018.9434%2039.787%2017.696C39.8191%2016.6854%2039.9355%2015.6792%2040.135%2014.688C40.2357%2014.094%2040.4677%2013.53%2040.814%2013.037C40.9376%2012.8768%2041.0968%2012.7476%2041.2791%2012.6598C41.4614%2012.5719%2041.6617%2012.5278%2041.864%2012.531H45.904V8.31202H42.012C40.9511%208.28877%2039.8983%208.50191%2038.93%208.93601C37.9927%209.40699%2037.2241%2010.1567%2036.73%2011.082C36.0644%2012.3344%2035.6243%2013.6941%2035.43%2015.099C35.1189%2017.1613%2034.9764%2019.2456%2035.004%2021.331C34.9762%2023.5559%2035.0925%2025.7802%2035.352%2027.99C35.494%2029.4026%2035.8787%2030.7802%2036.489%2032.062C36.9179%2032.9579%2037.6442%2033.6775%2038.544%2034.098C39.517%2034.4891%2040.5598%2034.6763%2041.608%2034.648L43.587%2034.629H46.727L46.728%2019.247Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M123.653%2029.87H118L116.691%2034.65H112.797L120.939%208L128.793%2034.65H124.856L123.653%2029.87ZM122.587%2026.212L120.893%2019.982L119.085%2026.212H122.587Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M39.016%2041.436H37.059V54.507H39.016V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M44.559%2041.436H46.384L48.331%2046.651C48.919%2048.1937%2049.4198%2049.7682%2049.831%2051.367C49.6744%2050.357%2049.5584%2049.4427%2049.483%2048.624C49.4077%2047.8054%2049.37%2047.0347%2049.37%2046.312V41.436H51.336V54.511H49.495L47.303%2048.627C47.103%2048.0797%2046.9134%2047.518%2046.734%2046.942C46.5547%2046.366%2046.39%2045.762%2046.24%2045.13C46.2274%2045.0507%2046.207%2044.9547%2046.179%2044.842C46.151%2044.7293%2046.1177%2044.5997%2046.079%2044.453C46.098%2044.6%2046.114%2044.725%2046.126%2044.829C46.138%2044.933%2046.148%2045.022%2046.154%2045.095L46.254%2046.424L46.354%2048.041C46.36%2048.131%2046.365%2048.241%2046.368%2048.371C46.371%2048.501%2046.368%2048.648%2046.368%2048.811L46.468%2054.511H44.559V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M55.493%2041.436H61.861V42.977H59.67V54.511H57.751V42.977H55.493V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M65.828%2041.436H71.028V42.926H67.787V47.065H70.665V48.555H67.787V53.016H71.028V54.506H65.828V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M75.906%2041.436H78.483C79.3332%2041.3696%2080.1787%2041.6132%2080.863%2042.122C81.2131%2042.4774%2081.4826%2042.904%2081.6531%2043.3729C81.8236%2043.8417%2081.8911%2044.3418%2081.851%2044.839C81.8876%2045.6248%2081.7066%2046.4055%2081.328%2047.095C81.1685%2047.3665%2080.9531%2047.6008%2080.696%2047.7826C80.4389%2047.9643%2080.1461%2048.0892%2079.837%2048.149L82.509%2054.507H80.525L77.863%2048.107V54.507H75.906V41.436ZM77.863%2047.227C78.1485%2047.2893%2078.4451%2047.279%2078.7256%2047.1969C79.0061%2047.1148%2079.2615%2046.9637%2079.4684%2046.7573C79.6753%2046.5509%2079.8271%2046.2959%2079.9098%2046.0156C79.9926%2045.7353%2080.0036%2045.4387%2079.942%2045.153C79.9472%2044.8034%2079.9137%2044.4543%2079.842%2044.112C79.7909%2043.8589%2079.6851%2043.62%2079.532%2043.412C79.3909%2043.2304%2079.2018%2043.0918%2078.986%2043.012C78.7308%2042.9221%2078.4615%2042.8791%2078.191%2042.885H77.862L77.863%2047.227Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M90.046%2041.06L85.913%2054.514H87.745L88.45%2051.974H91.496L92.135%2054.531H94.028L90.046%2041.06ZM88.876%2050.403L90.013%2046.703L91.048%2050.415L88.876%2050.403Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M106.344%2041.436H112.712V42.977H110.52V54.511H108.602V42.977H106.344V41.436Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M118.865%2041.462H116.908V54.533H118.865V41.462Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M134.181%2041.462H139.381V42.952H136.136V47.093H139.014V48.583H136.136V53.044H139.381V54.534H134.181V41.462Z'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M99.749%2044.338C99.8046%2044.0109%2099.9338%2043.7008%20100.127%2043.431C100.202%2043.3322%20100.3%2043.2523%20100.411%2043.1976C100.523%2043.1429%20100.646%2043.115%20100.77%2043.116H102.464V41.207H100.846C100.318%2041.1955%2099.7949%2041.3011%2099.313%2041.516C98.8543%2041.748%2098.4782%2042.1157%2098.236%2042.569C97.9008%2043.2016%2097.6788%2043.888%2097.58%2044.597C97.4215%2045.6561%2097.3493%2046.7263%2097.364%2047.797C97.3503%2048.9393%2097.4101%2050.0814%2097.543%2051.216C97.6145%2051.9294%2097.808%2052.6252%2098.115%2053.273C98.3244%2053.7086%2098.6776%2054.0586%2099.115%2054.264C99.6001%2054.458%20100.12%2054.5509%20100.642%2054.537L102.469%2054.52V52.61H100.755C100.629%2052.6147%20100.503%2052.592%20100.386%2052.5435C100.269%2052.495%20100.164%2052.4218%20100.078%2052.329C99.8888%2052.0951%2099.7637%2051.816%2099.715%2051.519C99.6273%2051.081%2099.5758%2050.6365%2099.561%2050.19C99.536%2049.66%2099.523%2049.014%2099.523%2048.27C99.523%2047.349%2099.539%2046.557%2099.57%2045.916C99.5873%2045.3865%2099.6485%2044.8594%2099.753%2044.34'%20fill='%230A3763'%3e%3c/path%3e%3cpath%20d='M128.799%2041.466L126.671%2048.91L124.671%2041.466H122.679L126.654%2054.953L130.774%2041.466H128.799Z'%20fill='%230A3763'%3e%3c/path%3e%3c/svg%3e", zf = {
|
|
7671
7656
|
navMain: [
|
|
7672
7657
|
{
|
|
7673
7658
|
title: "Essential Insights",
|
|
@@ -7703,83 +7688,56 @@ const zf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
7703
7688
|
}
|
|
7704
7689
|
]
|
|
7705
7690
|
};
|
|
7706
|
-
function
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
/* @__PURE__ */ p.jsx(Df, { children: /* @__PURE__ */ p.jsx("div", { className: "relative h-12 w-32 overflow-hidden", children: /* @__PURE__ */ p.jsx(
|
|
7691
|
+
function Bf({ ...e }) {
|
|
7692
|
+
return /* @__PURE__ */ p.jsxs(Tf, { ...e, children: [
|
|
7693
|
+
/* @__PURE__ */ p.jsx(If, { children: /* @__PURE__ */ p.jsx("div", { className: "relative h-12 w-32 overflow-hidden", children: /* @__PURE__ */ p.jsx(
|
|
7710
7694
|
"img",
|
|
7711
7695
|
{
|
|
7712
|
-
src:
|
|
7696
|
+
src: Wf,
|
|
7713
7697
|
alt: "GLI Logo",
|
|
7714
7698
|
className: "h-full w-full object-contain"
|
|
7715
7699
|
}
|
|
7716
7700
|
) }) }),
|
|
7717
|
-
/* @__PURE__ */ p.jsxs(
|
|
7701
|
+
/* @__PURE__ */ p.jsxs(Df, { children: [
|
|
7718
7702
|
/* @__PURE__ */ p.jsx("div", { className: "relative flex w-full min-w-0 flex-col px-2 py-1", children: /* @__PURE__ */ p.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ p.jsxs(
|
|
7719
7703
|
"a",
|
|
7720
7704
|
{
|
|
7721
7705
|
href: "/home",
|
|
7722
|
-
className:
|
|
7706
|
+
className: U(
|
|
7723
7707
|
"flex cursor-pointer items-center gap-2 rounded-lg px-2 py-2",
|
|
7724
|
-
|
|
7708
|
+
"hover:bg-gray-100"
|
|
7725
7709
|
),
|
|
7726
7710
|
children: [
|
|
7727
|
-
/* @__PURE__ */ p.jsx(
|
|
7728
|
-
Bo,
|
|
7729
|
-
{
|
|
7730
|
-
className: z(
|
|
7731
|
-
"h-5 w-5",
|
|
7732
|
-
t === "/home" ? "font-medium" : "text-gray-600"
|
|
7733
|
-
)
|
|
7734
|
-
}
|
|
7735
|
-
),
|
|
7711
|
+
/* @__PURE__ */ p.jsx(Bo, { className: U("h-5 w-5", "text-gray-600") }),
|
|
7736
7712
|
/* @__PURE__ */ p.jsx("span", { children: "Home" })
|
|
7737
7713
|
]
|
|
7738
7714
|
}
|
|
7739
7715
|
) }) }),
|
|
7740
|
-
|
|
7741
|
-
|
|
7716
|
+
zf.navMain.map((t) => /* @__PURE__ */ p.jsx(
|
|
7717
|
+
Hf,
|
|
7742
7718
|
{
|
|
7743
|
-
title:
|
|
7744
|
-
url:
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
isActive: o(s),
|
|
7748
|
-
children: /* @__PURE__ */ p.jsx(Ff, { children: /* @__PURE__ */ p.jsx(Vf, { children: s.items.map((a) => /* @__PURE__ */ p.jsx($f, { children: /* @__PURE__ */ p.jsx(Hf, { asChild: !0, children: /* @__PURE__ */ p.jsxs(
|
|
7719
|
+
title: t.title,
|
|
7720
|
+
url: t.url,
|
|
7721
|
+
icon: t.icon,
|
|
7722
|
+
children: /* @__PURE__ */ p.jsx(Lf, { children: /* @__PURE__ */ p.jsx(Ff, { children: t.items.map((n) => /* @__PURE__ */ p.jsx(Vf, { children: /* @__PURE__ */ p.jsx($f, { asChild: !0, children: /* @__PURE__ */ p.jsxs(
|
|
7749
7723
|
"a",
|
|
7750
7724
|
{
|
|
7751
|
-
href:
|
|
7752
|
-
className:
|
|
7725
|
+
href: n.url,
|
|
7726
|
+
className: U(
|
|
7753
7727
|
"flex items-center gap-2 pl-4 transition-colors",
|
|
7754
|
-
|
|
7728
|
+
"text-muted-foreground hover:bg-muted hover:text-foreground"
|
|
7755
7729
|
),
|
|
7756
7730
|
children: [
|
|
7757
|
-
/* @__PURE__ */ p.jsx(
|
|
7758
|
-
|
|
7759
|
-
{
|
|
7760
|
-
className: z(
|
|
7761
|
-
n(a.url) ? "font-medium text-gli-bluedark" : "text-muted-foreground"
|
|
7762
|
-
),
|
|
7763
|
-
children: a.icon
|
|
7764
|
-
}
|
|
7765
|
-
),
|
|
7766
|
-
/* @__PURE__ */ p.jsx(
|
|
7767
|
-
"span",
|
|
7768
|
-
{
|
|
7769
|
-
className: z(
|
|
7770
|
-
n(a.url) ? "font-medium text-gli-bluedark" : "text-muted-foreground"
|
|
7771
|
-
),
|
|
7772
|
-
children: a.title
|
|
7773
|
-
}
|
|
7774
|
-
)
|
|
7731
|
+
/* @__PURE__ */ p.jsx("span", { className: U("text-muted-foreground"), children: n.icon }),
|
|
7732
|
+
/* @__PURE__ */ p.jsx("span", { className: U("text-muted-foreground"), children: n.title })
|
|
7775
7733
|
]
|
|
7776
7734
|
}
|
|
7777
|
-
) }) },
|
|
7735
|
+
) }) }, n.title)) }) })
|
|
7778
7736
|
},
|
|
7779
|
-
|
|
7737
|
+
t.title
|
|
7780
7738
|
))
|
|
7781
7739
|
] }),
|
|
7782
|
-
/* @__PURE__ */ p.jsx(
|
|
7740
|
+
/* @__PURE__ */ p.jsx(Nf, {})
|
|
7783
7741
|
] });
|
|
7784
7742
|
}
|
|
7785
7743
|
function _a(e) {
|
|
@@ -7822,19 +7780,19 @@ function _a(e) {
|
|
|
7822
7780
|
r
|
|
7823
7781
|
];
|
|
7824
7782
|
}
|
|
7825
|
-
var
|
|
7783
|
+
var Gf = l.createContext(void 0);
|
|
7826
7784
|
function Aa(e) {
|
|
7827
|
-
const t = l.useContext(
|
|
7785
|
+
const t = l.useContext(Gf);
|
|
7828
7786
|
return e || t || "ltr";
|
|
7829
7787
|
}
|
|
7830
|
-
var kn = "rovingFocusGroup.onEntryFocus",
|
|
7788
|
+
var kn = "rovingFocusGroup.onEntryFocus", Uf = { bubbles: !1, cancelable: !0 }, St = "RovingFocusGroup", [Jn, Ma, Kf] = _a(St), [Yf, Oa] = qe(
|
|
7831
7789
|
St,
|
|
7832
|
-
[
|
|
7833
|
-
), [
|
|
7834
|
-
(e, t) => /* @__PURE__ */ p.jsx(Jn.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(Jn.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(
|
|
7790
|
+
[Kf]
|
|
7791
|
+
), [Xf, qf] = Yf(St), Ta = l.forwardRef(
|
|
7792
|
+
(e, t) => /* @__PURE__ */ p.jsx(Jn.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(Jn.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ p.jsx(Zf, { ...e, ref: t }) }) })
|
|
7835
7793
|
);
|
|
7836
7794
|
Ta.displayName = St;
|
|
7837
|
-
var
|
|
7795
|
+
var Zf = l.forwardRef((e, t) => {
|
|
7838
7796
|
const {
|
|
7839
7797
|
__scopeRovingFocusGroup: n,
|
|
7840
7798
|
orientation: r,
|
|
@@ -7857,7 +7815,7 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7857
7815
|
if (C)
|
|
7858
7816
|
return C.addEventListener(kn, E), () => C.removeEventListener(kn, E);
|
|
7859
7817
|
}, [E]), /* @__PURE__ */ p.jsx(
|
|
7860
|
-
|
|
7818
|
+
Xf,
|
|
7861
7819
|
{
|
|
7862
7820
|
scope: n,
|
|
7863
7821
|
orientation: r,
|
|
@@ -7891,9 +7849,9 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7891
7849
|
onFocus: L(e.onFocus, (C) => {
|
|
7892
7850
|
const k = !_.current;
|
|
7893
7851
|
if (C.target === C.currentTarget && k && !v) {
|
|
7894
|
-
const I = new CustomEvent(kn,
|
|
7852
|
+
const I = new CustomEvent(kn, Uf);
|
|
7895
7853
|
if (C.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
|
|
7896
|
-
const
|
|
7854
|
+
const z = S().filter((j) => j.focusable), W = z.find((j) => j.active), V = z.find((j) => j.id === h), Y = [W, V, ...z].filter(
|
|
7897
7855
|
Boolean
|
|
7898
7856
|
).map((j) => j.ref.current);
|
|
7899
7857
|
ka(Y, u);
|
|
@@ -7915,7 +7873,7 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7915
7873
|
tabStopId: s,
|
|
7916
7874
|
children: a,
|
|
7917
7875
|
...i
|
|
7918
|
-
} = e, c = rt(), f = s || c, u =
|
|
7876
|
+
} = e, c = rt(), f = s || c, u = qf(Pa, n), d = u.currentTabStopId === f, m = Ma(n), { onFocusableItemAdd: g, onFocusableItemRemove: b, currentTabStopId: h } = u;
|
|
7919
7877
|
return l.useEffect(() => {
|
|
7920
7878
|
if (r)
|
|
7921
7879
|
return g(), () => b();
|
|
@@ -7943,7 +7901,7 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7943
7901
|
return;
|
|
7944
7902
|
}
|
|
7945
7903
|
if (x.target !== x.currentTarget) return;
|
|
7946
|
-
const v =
|
|
7904
|
+
const v = ep(x, u.orientation, u.dir);
|
|
7947
7905
|
if (v !== void 0) {
|
|
7948
7906
|
if (x.metaKey || x.ctrlKey || x.altKey || x.shiftKey) return;
|
|
7949
7907
|
x.preventDefault();
|
|
@@ -7952,7 +7910,7 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7952
7910
|
else if (v === "prev" || v === "next") {
|
|
7953
7911
|
v === "prev" && E.reverse();
|
|
7954
7912
|
const S = E.indexOf(x.currentTarget);
|
|
7955
|
-
E = u.loop ?
|
|
7913
|
+
E = u.loop ? tp(E, S + 1) : E.slice(S + 1);
|
|
7956
7914
|
}
|
|
7957
7915
|
setTimeout(() => ka(E));
|
|
7958
7916
|
}
|
|
@@ -7965,7 +7923,7 @@ var Jf = l.forwardRef((e, t) => {
|
|
|
7965
7923
|
}
|
|
7966
7924
|
);
|
|
7967
7925
|
Na.displayName = Pa;
|
|
7968
|
-
var
|
|
7926
|
+
var Jf = {
|
|
7969
7927
|
ArrowLeft: "prev",
|
|
7970
7928
|
ArrowUp: "prev",
|
|
7971
7929
|
ArrowRight: "next",
|
|
@@ -7975,33 +7933,33 @@ var Qf = {
|
|
|
7975
7933
|
PageDown: "last",
|
|
7976
7934
|
End: "last"
|
|
7977
7935
|
};
|
|
7978
|
-
function
|
|
7936
|
+
function Qf(e, t) {
|
|
7979
7937
|
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
7980
7938
|
}
|
|
7981
|
-
function
|
|
7982
|
-
const r =
|
|
7939
|
+
function ep(e, t, n) {
|
|
7940
|
+
const r = Qf(e.key, n);
|
|
7983
7941
|
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
|
|
7984
|
-
return
|
|
7942
|
+
return Jf[r];
|
|
7985
7943
|
}
|
|
7986
7944
|
function ka(e, t = !1) {
|
|
7987
7945
|
const n = document.activeElement;
|
|
7988
7946
|
for (const r of e)
|
|
7989
7947
|
if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
7990
7948
|
}
|
|
7991
|
-
function
|
|
7949
|
+
function tp(e, t) {
|
|
7992
7950
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
7993
7951
|
}
|
|
7994
|
-
var
|
|
7952
|
+
var np = Ta, rp = Na, Qn = ["Enter", " "], op = ["ArrowDown", "PageUp", "Home"], Ia = ["ArrowUp", "PageDown", "End"], sp = [...op, ...Ia], ap = {
|
|
7995
7953
|
ltr: [...Qn, "ArrowRight"],
|
|
7996
7954
|
rtl: [...Qn, "ArrowLeft"]
|
|
7997
|
-
},
|
|
7955
|
+
}, ip = {
|
|
7998
7956
|
ltr: ["ArrowLeft"],
|
|
7999
7957
|
rtl: ["ArrowRight"]
|
|
8000
|
-
}, Rt = "Menu", [wt,
|
|
8001
|
-
|
|
7958
|
+
}, Rt = "Menu", [wt, cp, lp] = _a(Rt), [Ze, Da] = qe(Rt, [
|
|
7959
|
+
lp,
|
|
8002
7960
|
sn,
|
|
8003
7961
|
Oa
|
|
8004
|
-
]), ln = sn(), ja = Oa(), [
|
|
7962
|
+
]), ln = sn(), ja = Oa(), [up, Je] = Ze(Rt), [dp, _t] = Ze(Rt), La = (e) => {
|
|
8005
7963
|
const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: a = !0 } = e, i = ln(t), [c, f] = l.useState(null), u = l.useRef(!1), d = Ie(s), m = Aa(o);
|
|
8006
7964
|
return l.useEffect(() => {
|
|
8007
7965
|
const g = () => {
|
|
@@ -8010,8 +7968,8 @@ var rp = Ta, op = Na, Qn = ["Enter", " "], sp = ["ArrowDown", "PageUp", "Home"],
|
|
|
8010
7968
|
return document.addEventListener("keydown", g, { capture: !0 }), () => {
|
|
8011
7969
|
document.removeEventListener("keydown", g, { capture: !0 }), document.removeEventListener("pointerdown", b, { capture: !0 }), document.removeEventListener("pointermove", b, { capture: !0 });
|
|
8012
7970
|
};
|
|
8013
|
-
}, []), /* @__PURE__ */ p.jsx(
|
|
8014
|
-
|
|
7971
|
+
}, []), /* @__PURE__ */ p.jsx(Qd, { ...i, children: /* @__PURE__ */ p.jsx(
|
|
7972
|
+
up,
|
|
8015
7973
|
{
|
|
8016
7974
|
scope: t,
|
|
8017
7975
|
open: n,
|
|
@@ -8019,7 +7977,7 @@ var rp = Ta, op = Na, Qn = ["Enter", " "], sp = ["ArrowDown", "PageUp", "Home"],
|
|
|
8019
7977
|
content: c,
|
|
8020
7978
|
onContentChange: f,
|
|
8021
7979
|
children: /* @__PURE__ */ p.jsx(
|
|
8022
|
-
|
|
7980
|
+
dp,
|
|
8023
7981
|
{
|
|
8024
7982
|
scope: t,
|
|
8025
7983
|
onClose: l.useCallback(() => d(!1), [d]),
|
|
@@ -8033,26 +7991,26 @@ var rp = Ta, op = Na, Qn = ["Enter", " "], sp = ["ArrowDown", "PageUp", "Home"],
|
|
|
8033
7991
|
) });
|
|
8034
7992
|
};
|
|
8035
7993
|
La.displayName = Rt;
|
|
8036
|
-
var
|
|
7994
|
+
var fp = "MenuAnchor", Er = l.forwardRef(
|
|
8037
7995
|
(e, t) => {
|
|
8038
7996
|
const { __scopeMenu: n, ...r } = e, o = ln(n);
|
|
8039
7997
|
return /* @__PURE__ */ p.jsx(pa, { ...o, ...r, ref: t });
|
|
8040
7998
|
}
|
|
8041
7999
|
);
|
|
8042
|
-
Er.displayName =
|
|
8043
|
-
var Sr = "MenuPortal", [
|
|
8000
|
+
Er.displayName = fp;
|
|
8001
|
+
var Sr = "MenuPortal", [pp, Fa] = Ze(Sr, {
|
|
8044
8002
|
forceMount: void 0
|
|
8045
8003
|
}), Va = (e) => {
|
|
8046
8004
|
const { __scopeMenu: t, forceMount: n, children: r, container: o } = e, s = Je(Sr, t);
|
|
8047
|
-
return /* @__PURE__ */ p.jsx(
|
|
8005
|
+
return /* @__PURE__ */ p.jsx(pp, { scope: t, forceMount: n, children: /* @__PURE__ */ p.jsx(Le, { present: n || s.open, children: /* @__PURE__ */ p.jsx(ir, { asChild: !0, container: o, children: r }) }) });
|
|
8048
8006
|
};
|
|
8049
8007
|
Va.displayName = Sr;
|
|
8050
|
-
var ve = "MenuContent", [
|
|
8008
|
+
var ve = "MenuContent", [mp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
8051
8009
|
(e, t) => {
|
|
8052
8010
|
const n = Fa(ve, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = Je(ve, e.__scopeMenu), a = _t(ve, e.__scopeMenu);
|
|
8053
|
-
return /* @__PURE__ */ p.jsx(wt.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: /* @__PURE__ */ p.jsx(wt.Slot, { scope: e.__scopeMenu, children: a.modal ? /* @__PURE__ */ p.jsx(
|
|
8011
|
+
return /* @__PURE__ */ p.jsx(wt.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ p.jsx(Le, { present: r || s.open, children: /* @__PURE__ */ p.jsx(wt.Slot, { scope: e.__scopeMenu, children: a.modal ? /* @__PURE__ */ p.jsx(hp, { ...o, ref: t }) : /* @__PURE__ */ p.jsx(gp, { ...o, ref: t }) }) }) });
|
|
8054
8012
|
}
|
|
8055
|
-
),
|
|
8013
|
+
), hp = l.forwardRef(
|
|
8056
8014
|
(e, t) => {
|
|
8057
8015
|
const n = Je(ve, e.__scopeMenu), r = l.useRef(null), o = ae(t, r);
|
|
8058
8016
|
return l.useEffect(() => {
|
|
@@ -8075,7 +8033,7 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8075
8033
|
}
|
|
8076
8034
|
);
|
|
8077
8035
|
}
|
|
8078
|
-
),
|
|
8036
|
+
), gp = l.forwardRef((e, t) => {
|
|
8079
8037
|
const n = Je(ve, e.__scopeMenu);
|
|
8080
8038
|
return /* @__PURE__ */ p.jsx(
|
|
8081
8039
|
_r,
|
|
@@ -8088,7 +8046,7 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8088
8046
|
onDismiss: () => n.onOpenChange(!1)
|
|
8089
8047
|
}
|
|
8090
8048
|
);
|
|
8091
|
-
}),
|
|
8049
|
+
}), vp = /* @__PURE__ */ at("MenuContent.ScrollLock"), _r = l.forwardRef(
|
|
8092
8050
|
(e, t) => {
|
|
8093
8051
|
const {
|
|
8094
8052
|
__scopeMenu: n,
|
|
@@ -8105,9 +8063,9 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8105
8063
|
onDismiss: g,
|
|
8106
8064
|
disableOutsideScroll: b,
|
|
8107
8065
|
...h
|
|
8108
|
-
} = e, x = Je(ve, n), v = _t(ve, n), y = ln(n), E = ja(n), S =
|
|
8109
|
-
var
|
|
8110
|
-
const w = I.current + O, T = S().filter((Q) => !Q.disabled), D = document.activeElement, F = (
|
|
8066
|
+
} = e, x = Je(ve, n), v = _t(ve, n), y = ln(n), E = ja(n), S = cp(n), [_, M] = l.useState(null), A = l.useRef(null), C = ae(t, A, x.onContentChange), k = l.useRef(0), I = l.useRef(""), z = l.useRef(0), W = l.useRef(null), V = l.useRef("right"), $ = l.useRef(0), Y = b ? cr : l.Fragment, j = b ? { as: vp, allowPinchZoom: !0 } : void 0, B = (O) => {
|
|
8067
|
+
var G, J;
|
|
8068
|
+
const w = I.current + O, T = S().filter((Q) => !Q.disabled), D = document.activeElement, F = (G = T.find((Q) => Q.ref.current === D)) == null ? void 0 : G.textValue, X = T.map((Q) => Q.textValue), ee = Op(X, w, F), ce = (J = T.find((Q) => Q.textValue === ee)) == null ? void 0 : J.ref.current;
|
|
8111
8069
|
(function Q(oe) {
|
|
8112
8070
|
I.current = oe, window.clearTimeout(k.current), oe !== "" && (k.current = window.setTimeout(() => Q(""), 1e3));
|
|
8113
8071
|
})(w), ce && setTimeout(() => ce.focus());
|
|
@@ -8115,10 +8073,10 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8115
8073
|
l.useEffect(() => () => window.clearTimeout(k.current), []), ps();
|
|
8116
8074
|
const R = l.useCallback((O) => {
|
|
8117
8075
|
var T, D;
|
|
8118
|
-
return V.current === ((T = W.current) == null ? void 0 : T.side) &&
|
|
8076
|
+
return V.current === ((T = W.current) == null ? void 0 : T.side) && Pp(O, (D = W.current) == null ? void 0 : D.area);
|
|
8119
8077
|
}, []);
|
|
8120
8078
|
return /* @__PURE__ */ p.jsx(
|
|
8121
|
-
|
|
8079
|
+
mp,
|
|
8122
8080
|
{
|
|
8123
8081
|
scope: n,
|
|
8124
8082
|
searchRef: I,
|
|
@@ -8141,7 +8099,7 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8141
8099
|
},
|
|
8142
8100
|
[R]
|
|
8143
8101
|
),
|
|
8144
|
-
pointerGraceTimerRef:
|
|
8102
|
+
pointerGraceTimerRef: z,
|
|
8145
8103
|
onPointerGraceIntentChange: l.useCallback((O) => {
|
|
8146
8104
|
W.current = O;
|
|
8147
8105
|
}, []),
|
|
@@ -8166,7 +8124,7 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8166
8124
|
onInteractOutside: m,
|
|
8167
8125
|
onDismiss: g,
|
|
8168
8126
|
children: /* @__PURE__ */ p.jsx(
|
|
8169
|
-
|
|
8127
|
+
np,
|
|
8170
8128
|
{
|
|
8171
8129
|
asChild: !0,
|
|
8172
8130
|
...E,
|
|
@@ -8193,12 +8151,12 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8193
8151
|
style: { outline: "none", ...h.style },
|
|
8194
8152
|
onKeyDown: L(h.onKeyDown, (O) => {
|
|
8195
8153
|
const T = O.target.closest("[data-radix-menu-content]") === O.currentTarget, D = O.ctrlKey || O.altKey || O.metaKey, F = O.key.length === 1;
|
|
8196
|
-
T && (O.key === "Tab" && O.preventDefault(), !D && F &&
|
|
8154
|
+
T && (O.key === "Tab" && O.preventDefault(), !D && F && B(O.key));
|
|
8197
8155
|
const X = A.current;
|
|
8198
|
-
if (O.target !== X || !
|
|
8156
|
+
if (O.target !== X || !sp.includes(O.key)) return;
|
|
8199
8157
|
O.preventDefault();
|
|
8200
|
-
const ce = S().filter((
|
|
8201
|
-
Ia.includes(O.key) && ce.reverse(),
|
|
8158
|
+
const ce = S().filter((G) => !G.disabled).map((G) => G.ref.current);
|
|
8159
|
+
Ia.includes(O.key) && ce.reverse(), Ap(ce);
|
|
8202
8160
|
}),
|
|
8203
8161
|
onBlur: L(e.onBlur, (O) => {
|
|
8204
8162
|
O.currentTarget.contains(O.target) || (window.clearTimeout(k.current), I.current = "");
|
|
@@ -8226,20 +8184,20 @@ var ve = "MenuContent", [hp, Rr] = Ze(ve), $a = l.forwardRef(
|
|
|
8226
8184
|
}
|
|
8227
8185
|
);
|
|
8228
8186
|
$a.displayName = ve;
|
|
8229
|
-
var
|
|
8187
|
+
var bp = "MenuGroup", Ar = l.forwardRef(
|
|
8230
8188
|
(e, t) => {
|
|
8231
8189
|
const { __scopeMenu: n, ...r } = e;
|
|
8232
8190
|
return /* @__PURE__ */ p.jsx(ne.div, { role: "group", ...r, ref: t });
|
|
8233
8191
|
}
|
|
8234
8192
|
);
|
|
8235
|
-
Ar.displayName =
|
|
8236
|
-
var
|
|
8193
|
+
Ar.displayName = bp;
|
|
8194
|
+
var xp = "MenuLabel", Ha = l.forwardRef(
|
|
8237
8195
|
(e, t) => {
|
|
8238
8196
|
const { __scopeMenu: n, ...r } = e;
|
|
8239
8197
|
return /* @__PURE__ */ p.jsx(ne.div, { ...r, ref: t });
|
|
8240
8198
|
}
|
|
8241
8199
|
);
|
|
8242
|
-
Ha.displayName =
|
|
8200
|
+
Ha.displayName = xp;
|
|
8243
8201
|
var qt = "MenuItem", Ro = "menu.itemSelect", un = l.forwardRef(
|
|
8244
8202
|
(e, t) => {
|
|
8245
8203
|
const { disabled: n = !1, onSelect: r, ...o } = e, s = l.useRef(null), a = _t(qt, e.__scopeMenu), i = Rr(qt, e.__scopeMenu), c = ae(t, s), f = l.useRef(!1), u = () => {
|
|
@@ -8285,7 +8243,7 @@ var Wa = l.forwardRef(
|
|
|
8285
8243
|
scope: n,
|
|
8286
8244
|
disabled: r,
|
|
8287
8245
|
textValue: o ?? m,
|
|
8288
|
-
children: /* @__PURE__ */ p.jsx(
|
|
8246
|
+
children: /* @__PURE__ */ p.jsx(rp, { asChild: !0, ...i, focusable: !r, children: /* @__PURE__ */ p.jsx(
|
|
8289
8247
|
ne.div,
|
|
8290
8248
|
{
|
|
8291
8249
|
role: "menuitem",
|
|
@@ -8311,7 +8269,7 @@ var Wa = l.forwardRef(
|
|
|
8311
8269
|
}
|
|
8312
8270
|
);
|
|
8313
8271
|
}
|
|
8314
|
-
),
|
|
8272
|
+
), wp = "MenuCheckboxItem", za = l.forwardRef(
|
|
8315
8273
|
(e, t) => {
|
|
8316
8274
|
const { checked: n = !1, onCheckedChange: r, ...o } = e;
|
|
8317
8275
|
return /* @__PURE__ */ p.jsx(Ya, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ p.jsx(
|
|
@@ -8331,21 +8289,21 @@ var Wa = l.forwardRef(
|
|
|
8331
8289
|
) });
|
|
8332
8290
|
}
|
|
8333
8291
|
);
|
|
8334
|
-
za.displayName =
|
|
8335
|
-
var Ba = "MenuRadioGroup", [
|
|
8292
|
+
za.displayName = wp;
|
|
8293
|
+
var Ba = "MenuRadioGroup", [yp, Cp] = Ze(
|
|
8336
8294
|
Ba,
|
|
8337
8295
|
{ value: void 0, onValueChange: () => {
|
|
8338
8296
|
} }
|
|
8339
8297
|
), Ga = l.forwardRef(
|
|
8340
8298
|
(e, t) => {
|
|
8341
8299
|
const { value: n, onValueChange: r, ...o } = e, s = Ie(r);
|
|
8342
|
-
return /* @__PURE__ */ p.jsx(
|
|
8300
|
+
return /* @__PURE__ */ p.jsx(yp, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ p.jsx(Ar, { ...o, ref: t }) });
|
|
8343
8301
|
}
|
|
8344
8302
|
);
|
|
8345
8303
|
Ga.displayName = Ba;
|
|
8346
8304
|
var Ua = "MenuRadioItem", Ka = l.forwardRef(
|
|
8347
8305
|
(e, t) => {
|
|
8348
|
-
const { value: n, ...r } = e, o =
|
|
8306
|
+
const { value: n, ...r } = e, o = Cp(Ua, e.__scopeMenu), s = n === o.value;
|
|
8349
8307
|
return /* @__PURE__ */ p.jsx(Ya, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ p.jsx(
|
|
8350
8308
|
un,
|
|
8351
8309
|
{
|
|
@@ -8367,12 +8325,12 @@ var Ua = "MenuRadioItem", Ka = l.forwardRef(
|
|
|
8367
8325
|
}
|
|
8368
8326
|
);
|
|
8369
8327
|
Ka.displayName = Ua;
|
|
8370
|
-
var Mr = "MenuItemIndicator", [Ya,
|
|
8328
|
+
var Mr = "MenuItemIndicator", [Ya, Ep] = Ze(
|
|
8371
8329
|
Mr,
|
|
8372
8330
|
{ checked: !1 }
|
|
8373
8331
|
), Xa = l.forwardRef(
|
|
8374
8332
|
(e, t) => {
|
|
8375
|
-
const { __scopeMenu: n, forceMount: r, ...o } = e, s =
|
|
8333
|
+
const { __scopeMenu: n, forceMount: r, ...o } = e, s = Ep(Mr, n);
|
|
8376
8334
|
return /* @__PURE__ */ p.jsx(
|
|
8377
8335
|
Le,
|
|
8378
8336
|
{
|
|
@@ -8390,7 +8348,7 @@ var Mr = "MenuItemIndicator", [Ya, Sp] = Ze(
|
|
|
8390
8348
|
}
|
|
8391
8349
|
);
|
|
8392
8350
|
Xa.displayName = Mr;
|
|
8393
|
-
var
|
|
8351
|
+
var Sp = "MenuSeparator", qa = l.forwardRef(
|
|
8394
8352
|
(e, t) => {
|
|
8395
8353
|
const { __scopeMenu: n, ...r } = e;
|
|
8396
8354
|
return /* @__PURE__ */ p.jsx(
|
|
@@ -8404,15 +8362,15 @@ var Rp = "MenuSeparator", qa = l.forwardRef(
|
|
|
8404
8362
|
);
|
|
8405
8363
|
}
|
|
8406
8364
|
);
|
|
8407
|
-
qa.displayName =
|
|
8408
|
-
var
|
|
8365
|
+
qa.displayName = Sp;
|
|
8366
|
+
var Rp = "MenuArrow", Za = l.forwardRef(
|
|
8409
8367
|
(e, t) => {
|
|
8410
8368
|
const { __scopeMenu: n, ...r } = e, o = ln(n);
|
|
8411
8369
|
return /* @__PURE__ */ p.jsx(ha, { ...o, ...r, ref: t });
|
|
8412
8370
|
}
|
|
8413
8371
|
);
|
|
8414
|
-
Za.displayName =
|
|
8415
|
-
var
|
|
8372
|
+
Za.displayName = Rp;
|
|
8373
|
+
var _p = "MenuSub", [j0, Ja] = Ze(_p), gt = "MenuSubTrigger", Qa = l.forwardRef(
|
|
8416
8374
|
(e, t) => {
|
|
8417
8375
|
const n = Je(gt, e.__scopeMenu), r = _t(gt, e.__scopeMenu), o = Ja(gt, e.__scopeMenu), s = Rr(gt, e.__scopeMenu), a = l.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: c } = s, f = { __scopeMenu: e.__scopeMenu }, u = l.useCallback(() => {
|
|
8418
8376
|
a.current && window.clearTimeout(a.current), a.current = null;
|
|
@@ -8476,7 +8434,7 @@ var Ap = "MenuSub", [L0, Ja] = Ze(Ap), gt = "MenuSubTrigger", Qa = l.forwardRef(
|
|
|
8476
8434
|
onKeyDown: L(e.onKeyDown, (d) => {
|
|
8477
8435
|
var g;
|
|
8478
8436
|
const m = s.searchRef.current !== "";
|
|
8479
|
-
e.disabled || m && d.key === " " ||
|
|
8437
|
+
e.disabled || m && d.key === " " || ap[r.dir].includes(d.key) && (n.onOpenChange(!0), (g = n.content) == null || g.focus(), d.preventDefault());
|
|
8480
8438
|
})
|
|
8481
8439
|
}
|
|
8482
8440
|
) });
|
|
@@ -8511,7 +8469,7 @@ var ei = "MenuSubContent", ti = l.forwardRef(
|
|
|
8511
8469
|
}),
|
|
8512
8470
|
onKeyDown: L(e.onKeyDown, (u) => {
|
|
8513
8471
|
var g;
|
|
8514
|
-
const d = u.currentTarget.contains(u.target), m =
|
|
8472
|
+
const d = u.currentTarget.contains(u.target), m = ip[a.dir].includes(u.key);
|
|
8515
8473
|
d && m && (s.onOpenChange(!1), (g = i.trigger) == null || g.focus(), u.preventDefault());
|
|
8516
8474
|
})
|
|
8517
8475
|
}
|
|
@@ -8528,24 +8486,24 @@ function Zt(e) {
|
|
|
8528
8486
|
function Or(e) {
|
|
8529
8487
|
return Zt(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
8530
8488
|
}
|
|
8531
|
-
function
|
|
8489
|
+
function Ap(e) {
|
|
8532
8490
|
const t = document.activeElement;
|
|
8533
8491
|
for (const n of e)
|
|
8534
8492
|
if (n === t || (n.focus(), document.activeElement !== t)) return;
|
|
8535
8493
|
}
|
|
8536
|
-
function
|
|
8494
|
+
function Mp(e, t) {
|
|
8537
8495
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
8538
8496
|
}
|
|
8539
|
-
function
|
|
8497
|
+
function Op(e, t, n) {
|
|
8540
8498
|
const o = t.length > 1 && Array.from(t).every((f) => f === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
|
|
8541
|
-
let a =
|
|
8499
|
+
let a = Mp(e, Math.max(s, 0));
|
|
8542
8500
|
o.length === 1 && (a = a.filter((f) => f !== n));
|
|
8543
8501
|
const c = a.find(
|
|
8544
8502
|
(f) => f.toLowerCase().startsWith(o.toLowerCase())
|
|
8545
8503
|
);
|
|
8546
8504
|
return c !== n ? c : void 0;
|
|
8547
8505
|
}
|
|
8548
|
-
function
|
|
8506
|
+
function Tp(e, t) {
|
|
8549
8507
|
const { x: n, y: r } = e;
|
|
8550
8508
|
let o = !1;
|
|
8551
8509
|
for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
|
|
@@ -8554,18 +8512,18 @@ function Pp(e, t) {
|
|
|
8554
8512
|
}
|
|
8555
8513
|
return o;
|
|
8556
8514
|
}
|
|
8557
|
-
function
|
|
8515
|
+
function Pp(e, t) {
|
|
8558
8516
|
if (!t) return !1;
|
|
8559
8517
|
const n = { x: e.clientX, y: e.clientY };
|
|
8560
|
-
return
|
|
8518
|
+
return Tp(n, t);
|
|
8561
8519
|
}
|
|
8562
8520
|
function yt(e) {
|
|
8563
8521
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
8564
8522
|
}
|
|
8565
|
-
var
|
|
8523
|
+
var Np = La, kp = Er, Ip = Va, Dp = $a, jp = Ar, Lp = Ha, Fp = un, Vp = za, $p = Ga, Hp = Ka, Wp = Xa, zp = qa, Bp = Za, Gp = Qa, Up = ti, dn = "DropdownMenu", [Kp, L0] = qe(
|
|
8566
8524
|
dn,
|
|
8567
8525
|
[Da]
|
|
8568
|
-
), de = Da(), [
|
|
8526
|
+
), de = Da(), [Yp, ri] = Kp(dn), oi = (e) => {
|
|
8569
8527
|
const {
|
|
8570
8528
|
__scopeDropdownMenu: t,
|
|
8571
8529
|
children: n,
|
|
@@ -8581,7 +8539,7 @@ var kp = La, Ip = Er, Dp = Va, jp = $a, Lp = Ar, Fp = Ha, Vp = un, $p = za, Hp =
|
|
|
8581
8539
|
caller: dn
|
|
8582
8540
|
});
|
|
8583
8541
|
return /* @__PURE__ */ p.jsx(
|
|
8584
|
-
|
|
8542
|
+
Yp,
|
|
8585
8543
|
{
|
|
8586
8544
|
scope: t,
|
|
8587
8545
|
triggerId: rt(),
|
|
@@ -8591,7 +8549,7 @@ var kp = La, Ip = Er, Dp = Va, jp = $a, Lp = Ar, Fp = Ha, Vp = un, $p = za, Hp =
|
|
|
8591
8549
|
onOpenChange: d,
|
|
8592
8550
|
onOpenToggle: l.useCallback(() => d((m) => !m), [d]),
|
|
8593
8551
|
modal: i,
|
|
8594
|
-
children: /* @__PURE__ */ p.jsx(
|
|
8552
|
+
children: /* @__PURE__ */ p.jsx(Np, { ...c, open: u, onOpenChange: d, dir: r, modal: i, children: n })
|
|
8595
8553
|
}
|
|
8596
8554
|
);
|
|
8597
8555
|
};
|
|
@@ -8599,7 +8557,7 @@ oi.displayName = dn;
|
|
|
8599
8557
|
var si = "DropdownMenuTrigger", ai = l.forwardRef(
|
|
8600
8558
|
(e, t) => {
|
|
8601
8559
|
const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, s = ri(si, n), a = de(n);
|
|
8602
|
-
return /* @__PURE__ */ p.jsx(
|
|
8560
|
+
return /* @__PURE__ */ p.jsx(kp, { asChild: !0, ...a, children: /* @__PURE__ */ p.jsx(
|
|
8603
8561
|
ne.button,
|
|
8604
8562
|
{
|
|
8605
8563
|
type: "button",
|
|
@@ -8623,16 +8581,16 @@ var si = "DropdownMenuTrigger", ai = l.forwardRef(
|
|
|
8623
8581
|
}
|
|
8624
8582
|
);
|
|
8625
8583
|
ai.displayName = si;
|
|
8626
|
-
var
|
|
8584
|
+
var Xp = "DropdownMenuPortal", ii = (e) => {
|
|
8627
8585
|
const { __scopeDropdownMenu: t, ...n } = e, r = de(t);
|
|
8628
|
-
return /* @__PURE__ */ p.jsx(
|
|
8586
|
+
return /* @__PURE__ */ p.jsx(Ip, { ...r, ...n });
|
|
8629
8587
|
};
|
|
8630
|
-
ii.displayName =
|
|
8588
|
+
ii.displayName = Xp;
|
|
8631
8589
|
var ci = "DropdownMenuContent", li = l.forwardRef(
|
|
8632
8590
|
(e, t) => {
|
|
8633
8591
|
const { __scopeDropdownMenu: n, ...r } = e, o = ri(ci, n), s = de(n), a = l.useRef(!1);
|
|
8634
8592
|
return /* @__PURE__ */ p.jsx(
|
|
8635
|
-
|
|
8593
|
+
Dp,
|
|
8636
8594
|
{
|
|
8637
8595
|
id: o.contentId,
|
|
8638
8596
|
"aria-labelledby": o.triggerId,
|
|
@@ -8660,68 +8618,68 @@ var ci = "DropdownMenuContent", li = l.forwardRef(
|
|
|
8660
8618
|
}
|
|
8661
8619
|
);
|
|
8662
8620
|
li.displayName = ci;
|
|
8663
|
-
var
|
|
8621
|
+
var qp = "DropdownMenuGroup", Zp = l.forwardRef(
|
|
8664
8622
|
(e, t) => {
|
|
8665
8623
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8666
|
-
return /* @__PURE__ */ p.jsx(
|
|
8624
|
+
return /* @__PURE__ */ p.jsx(jp, { ...o, ...r, ref: t });
|
|
8667
8625
|
}
|
|
8668
8626
|
);
|
|
8669
|
-
|
|
8670
|
-
var
|
|
8627
|
+
Zp.displayName = qp;
|
|
8628
|
+
var Jp = "DropdownMenuLabel", ui = l.forwardRef(
|
|
8671
8629
|
(e, t) => {
|
|
8672
8630
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8673
|
-
return /* @__PURE__ */ p.jsx(
|
|
8631
|
+
return /* @__PURE__ */ p.jsx(Lp, { ...o, ...r, ref: t });
|
|
8674
8632
|
}
|
|
8675
8633
|
);
|
|
8676
|
-
ui.displayName =
|
|
8677
|
-
var
|
|
8634
|
+
ui.displayName = Jp;
|
|
8635
|
+
var Qp = "DropdownMenuItem", di = l.forwardRef(
|
|
8678
8636
|
(e, t) => {
|
|
8679
8637
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8680
|
-
return /* @__PURE__ */ p.jsx(
|
|
8638
|
+
return /* @__PURE__ */ p.jsx(Fp, { ...o, ...r, ref: t });
|
|
8681
8639
|
}
|
|
8682
8640
|
);
|
|
8683
|
-
di.displayName =
|
|
8684
|
-
var
|
|
8641
|
+
di.displayName = Qp;
|
|
8642
|
+
var e0 = "DropdownMenuCheckboxItem", t0 = l.forwardRef((e, t) => {
|
|
8643
|
+
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8644
|
+
return /* @__PURE__ */ p.jsx(Vp, { ...o, ...r, ref: t });
|
|
8645
|
+
});
|
|
8646
|
+
t0.displayName = e0;
|
|
8647
|
+
var n0 = "DropdownMenuRadioGroup", r0 = l.forwardRef((e, t) => {
|
|
8685
8648
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8686
8649
|
return /* @__PURE__ */ p.jsx($p, { ...o, ...r, ref: t });
|
|
8687
8650
|
});
|
|
8688
|
-
|
|
8689
|
-
var
|
|
8651
|
+
r0.displayName = n0;
|
|
8652
|
+
var o0 = "DropdownMenuRadioItem", s0 = l.forwardRef((e, t) => {
|
|
8690
8653
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8691
8654
|
return /* @__PURE__ */ p.jsx(Hp, { ...o, ...r, ref: t });
|
|
8692
8655
|
});
|
|
8693
|
-
|
|
8694
|
-
var
|
|
8656
|
+
s0.displayName = o0;
|
|
8657
|
+
var a0 = "DropdownMenuItemIndicator", i0 = l.forwardRef((e, t) => {
|
|
8695
8658
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8696
8659
|
return /* @__PURE__ */ p.jsx(Wp, { ...o, ...r, ref: t });
|
|
8697
8660
|
});
|
|
8698
|
-
|
|
8699
|
-
var
|
|
8661
|
+
i0.displayName = a0;
|
|
8662
|
+
var c0 = "DropdownMenuSeparator", fi = l.forwardRef((e, t) => {
|
|
8700
8663
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8701
8664
|
return /* @__PURE__ */ p.jsx(zp, { ...o, ...r, ref: t });
|
|
8702
8665
|
});
|
|
8703
|
-
|
|
8704
|
-
var l0 = "
|
|
8705
|
-
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8706
|
-
return /* @__PURE__ */ p.jsx(Bp, { ...o, ...r, ref: t });
|
|
8707
|
-
});
|
|
8708
|
-
fi.displayName = l0;
|
|
8709
|
-
var u0 = "DropdownMenuArrow", d0 = l.forwardRef(
|
|
8666
|
+
fi.displayName = c0;
|
|
8667
|
+
var l0 = "DropdownMenuArrow", u0 = l.forwardRef(
|
|
8710
8668
|
(e, t) => {
|
|
8711
8669
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8712
|
-
return /* @__PURE__ */ p.jsx(
|
|
8670
|
+
return /* @__PURE__ */ p.jsx(Bp, { ...o, ...r, ref: t });
|
|
8713
8671
|
}
|
|
8714
8672
|
);
|
|
8715
|
-
|
|
8716
|
-
var
|
|
8673
|
+
u0.displayName = l0;
|
|
8674
|
+
var d0 = "DropdownMenuSubTrigger", f0 = l.forwardRef((e, t) => {
|
|
8717
8675
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8718
|
-
return /* @__PURE__ */ p.jsx(
|
|
8676
|
+
return /* @__PURE__ */ p.jsx(Gp, { ...o, ...r, ref: t });
|
|
8719
8677
|
});
|
|
8720
|
-
|
|
8721
|
-
var
|
|
8678
|
+
f0.displayName = d0;
|
|
8679
|
+
var p0 = "DropdownMenuSubContent", m0 = l.forwardRef((e, t) => {
|
|
8722
8680
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
8723
8681
|
return /* @__PURE__ */ p.jsx(
|
|
8724
|
-
|
|
8682
|
+
Up,
|
|
8725
8683
|
{
|
|
8726
8684
|
...o,
|
|
8727
8685
|
...r,
|
|
@@ -8737,35 +8695,35 @@ var m0 = "DropdownMenuSubContent", h0 = l.forwardRef((e, t) => {
|
|
|
8737
8695
|
}
|
|
8738
8696
|
);
|
|
8739
8697
|
});
|
|
8740
|
-
|
|
8741
|
-
var
|
|
8742
|
-
function
|
|
8698
|
+
m0.displayName = p0;
|
|
8699
|
+
var h0 = oi, g0 = ai, v0 = ii, b0 = li, x0 = ui, w0 = di, y0 = fi;
|
|
8700
|
+
function C0({
|
|
8743
8701
|
...e
|
|
8744
8702
|
}) {
|
|
8745
|
-
return /* @__PURE__ */ p.jsx(
|
|
8703
|
+
return /* @__PURE__ */ p.jsx(h0, { "data-slot": "dropdown-menu", ...e });
|
|
8746
8704
|
}
|
|
8747
|
-
function
|
|
8705
|
+
function E0({
|
|
8748
8706
|
...e
|
|
8749
8707
|
}) {
|
|
8750
8708
|
return /* @__PURE__ */ p.jsx(
|
|
8751
|
-
|
|
8709
|
+
g0,
|
|
8752
8710
|
{
|
|
8753
8711
|
"data-slot": "dropdown-menu-trigger",
|
|
8754
8712
|
...e
|
|
8755
8713
|
}
|
|
8756
8714
|
);
|
|
8757
8715
|
}
|
|
8758
|
-
function
|
|
8716
|
+
function S0({
|
|
8759
8717
|
className: e,
|
|
8760
8718
|
sideOffset: t = 4,
|
|
8761
8719
|
...n
|
|
8762
8720
|
}) {
|
|
8763
|
-
return /* @__PURE__ */ p.jsx(
|
|
8764
|
-
|
|
8721
|
+
return /* @__PURE__ */ p.jsx(v0, { children: /* @__PURE__ */ p.jsx(
|
|
8722
|
+
b0,
|
|
8765
8723
|
{
|
|
8766
8724
|
"data-slot": "dropdown-menu-content",
|
|
8767
8725
|
sideOffset: t,
|
|
8768
|
-
className:
|
|
8726
|
+
className: U(
|
|
8769
8727
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
8770
8728
|
e
|
|
8771
8729
|
),
|
|
@@ -8780,12 +8738,12 @@ function _o({
|
|
|
8780
8738
|
...r
|
|
8781
8739
|
}) {
|
|
8782
8740
|
return /* @__PURE__ */ p.jsx(
|
|
8783
|
-
|
|
8741
|
+
w0,
|
|
8784
8742
|
{
|
|
8785
8743
|
"data-slot": "dropdown-menu-item",
|
|
8786
8744
|
"data-inset": t,
|
|
8787
8745
|
"data-variant": n,
|
|
8788
|
-
className:
|
|
8746
|
+
className: U(
|
|
8789
8747
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
8790
8748
|
e
|
|
8791
8749
|
),
|
|
@@ -8793,17 +8751,17 @@ function _o({
|
|
|
8793
8751
|
}
|
|
8794
8752
|
);
|
|
8795
8753
|
}
|
|
8796
|
-
function
|
|
8754
|
+
function R0({
|
|
8797
8755
|
className: e,
|
|
8798
8756
|
inset: t,
|
|
8799
8757
|
...n
|
|
8800
8758
|
}) {
|
|
8801
8759
|
return /* @__PURE__ */ p.jsx(
|
|
8802
|
-
|
|
8760
|
+
x0,
|
|
8803
8761
|
{
|
|
8804
8762
|
"data-slot": "dropdown-menu-label",
|
|
8805
8763
|
"data-inset": t,
|
|
8806
|
-
className:
|
|
8764
|
+
className: U(
|
|
8807
8765
|
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
8808
8766
|
e
|
|
8809
8767
|
),
|
|
@@ -8811,28 +8769,28 @@ function _0({
|
|
|
8811
8769
|
}
|
|
8812
8770
|
);
|
|
8813
8771
|
}
|
|
8814
|
-
function
|
|
8772
|
+
function _0({
|
|
8815
8773
|
className: e,
|
|
8816
8774
|
...t
|
|
8817
8775
|
}) {
|
|
8818
8776
|
return /* @__PURE__ */ p.jsx(
|
|
8819
|
-
|
|
8777
|
+
y0,
|
|
8820
8778
|
{
|
|
8821
8779
|
"data-slot": "dropdown-menu-separator",
|
|
8822
|
-
className:
|
|
8780
|
+
className: U("bg-border -mx-1 my-1 h-px", e),
|
|
8823
8781
|
...t
|
|
8824
8782
|
}
|
|
8825
8783
|
);
|
|
8826
8784
|
}
|
|
8827
|
-
const
|
|
8785
|
+
const A0 = () => {
|
|
8828
8786
|
const { user: e, error: t, isLoading: n } = tc(), r = () => {
|
|
8829
8787
|
window.location.href = "/auth/logout";
|
|
8830
8788
|
};
|
|
8831
8789
|
return n ? /* @__PURE__ */ p.jsx("div", { className: "h-10 w-10 animate-pulse rounded-full bg-gray-200" }) : t ? /* @__PURE__ */ p.jsxs("div", { children: [
|
|
8832
8790
|
"Error: ",
|
|
8833
8791
|
t.message
|
|
8834
|
-
] }) : e ? /* @__PURE__ */ p.jsx("div", { className: "relative flex items-center gap-3", children: /* @__PURE__ */ p.jsxs(
|
|
8835
|
-
/* @__PURE__ */ p.jsx(
|
|
8792
|
+
] }) : e ? /* @__PURE__ */ p.jsx("div", { className: "relative flex items-center gap-3", children: /* @__PURE__ */ p.jsxs(C0, { children: [
|
|
8793
|
+
/* @__PURE__ */ p.jsx(E0, { asChild: !0, children: /* @__PURE__ */ p.jsx(
|
|
8836
8794
|
or,
|
|
8837
8795
|
{
|
|
8838
8796
|
variant: "ghost",
|
|
@@ -8850,12 +8808,12 @@ const M0 = () => {
|
|
|
8850
8808
|
) : /* @__PURE__ */ p.jsx(Yr, { className: "h-5 w-5 text-gray-500" })
|
|
8851
8809
|
}
|
|
8852
8810
|
) }),
|
|
8853
|
-
/* @__PURE__ */ p.jsxs(
|
|
8854
|
-
/* @__PURE__ */ p.jsx(
|
|
8811
|
+
/* @__PURE__ */ p.jsxs(S0, { align: "end", className: "w-72", children: [
|
|
8812
|
+
/* @__PURE__ */ p.jsx(R0, { children: /* @__PURE__ */ p.jsx("div", { className: "flex flex-col space-y-1", children: /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col space-y-1", children: [
|
|
8855
8813
|
/* @__PURE__ */ p.jsx("p", { className: "text-xs text-gray-500", children: e.name }),
|
|
8856
8814
|
/* @__PURE__ */ p.jsx("p", { className: "truncate text-xs text-gray-500", children: e.email })
|
|
8857
8815
|
] }) }) }),
|
|
8858
|
-
/* @__PURE__ */ p.jsx(
|
|
8816
|
+
/* @__PURE__ */ p.jsx(_0, {}),
|
|
8859
8817
|
/* @__PURE__ */ p.jsx(_o, { asChild: !0, children: /* @__PURE__ */ p.jsxs("a", { href: "/profile", className: "flex w-full cursor-default", children: [
|
|
8860
8818
|
/* @__PURE__ */ p.jsx(Yr, { className: "mr-2 h-4 w-4" }),
|
|
8861
8819
|
/* @__PURE__ */ p.jsx("span", { children: "Profile" })
|
|
@@ -8866,21 +8824,21 @@ const M0 = () => {
|
|
|
8866
8824
|
] })
|
|
8867
8825
|
] })
|
|
8868
8826
|
] }) }) : null;
|
|
8869
|
-
},
|
|
8827
|
+
}, M0 = () => /* @__PURE__ */ p.jsx("div", { className: "sticky top-0 z-50", children: /* @__PURE__ */ p.jsxs("header", { className: "flex h-16 items-center justify-between border-b bg-white px-4", children: [
|
|
8870
8828
|
/* @__PURE__ */ p.jsxs("div", { className: "flex h-full items-center gap-4 flex-1 min-w-0 overflow-hidden", children: [
|
|
8871
|
-
/* @__PURE__ */ p.jsx(
|
|
8829
|
+
/* @__PURE__ */ p.jsx(Pf, {}),
|
|
8872
8830
|
/* @__PURE__ */ p.jsx(ls, { orientation: "vertical" })
|
|
8873
8831
|
] }),
|
|
8874
|
-
/* @__PURE__ */ p.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ p.jsx(
|
|
8875
|
-
] }) }),
|
|
8832
|
+
/* @__PURE__ */ p.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ p.jsx(A0, {}) })
|
|
8833
|
+
] }) }), F0 = ({
|
|
8876
8834
|
children: e
|
|
8877
|
-
}) => /* @__PURE__ */ p.jsx(nc, { children: /* @__PURE__ */ p.jsx(
|
|
8878
|
-
/* @__PURE__ */ p.jsx(
|
|
8879
|
-
/* @__PURE__ */ p.jsxs(
|
|
8880
|
-
/* @__PURE__ */ p.jsx(
|
|
8835
|
+
}) => /* @__PURE__ */ p.jsx(nc, { children: /* @__PURE__ */ p.jsx(Of, { children: /* @__PURE__ */ p.jsxs("div", { className: "flex h-screen w-full", children: [
|
|
8836
|
+
/* @__PURE__ */ p.jsx(Bf, {}),
|
|
8837
|
+
/* @__PURE__ */ p.jsxs(kf, { className: "flex-1 flex flex-col min-w-0", children: [
|
|
8838
|
+
/* @__PURE__ */ p.jsx(M0, {}),
|
|
8881
8839
|
/* @__PURE__ */ p.jsx("main", { className: "flex-1 bg-white", id: "page-content", children: e })
|
|
8882
8840
|
] })
|
|
8883
8841
|
] }) }) });
|
|
8884
8842
|
export {
|
|
8885
|
-
|
|
8843
|
+
F0 as GLICloudProvider
|
|
8886
8844
|
};
|