@golocalinteractive/golocal-cloud-wrapper 1.0.49 → 1.0.50
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.
|
@@ -2,7 +2,7 @@ import * as u from "react";
|
|
|
2
2
|
import pe, { useContext as lr, createContext as $o, useMemo as zn, useRef as ze, useEffect as rn, useLayoutEffect as Vo, createElement as Yt, useCallback as Cn, useDebugValue as Fi, forwardRef as Ho, useState as on } from "react";
|
|
3
3
|
import * as zo from "react-dom";
|
|
4
4
|
import $i from "react-dom";
|
|
5
|
-
var
|
|
5
|
+
var kt = { exports: {} }, mt = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.js
|
|
@@ -77,14 +77,14 @@ function Hi() {
|
|
|
77
77
|
case w:
|
|
78
78
|
return (y._context.displayName || "Context") + ".Consumer";
|
|
79
79
|
case S:
|
|
80
|
-
var
|
|
81
|
-
return y = y.displayName, y || (y =
|
|
80
|
+
var N = y.render;
|
|
81
|
+
return y = y.displayName, y || (y = N.displayName || N.name || "", y = y !== "" ? "ForwardRef(" + y + ")" : "ForwardRef"), y;
|
|
82
82
|
case M:
|
|
83
|
-
return
|
|
83
|
+
return N = y.displayName || null, N !== null ? N : e(y.type) || "Memo";
|
|
84
84
|
case C:
|
|
85
|
-
|
|
85
|
+
N = y._payload, y = y._init;
|
|
86
86
|
try {
|
|
87
|
-
return e(y(
|
|
87
|
+
return e(y(N));
|
|
88
88
|
} catch {
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -96,15 +96,15 @@ function Hi() {
|
|
|
96
96
|
function n(y) {
|
|
97
97
|
try {
|
|
98
98
|
t(y);
|
|
99
|
-
var
|
|
99
|
+
var N = !1;
|
|
100
100
|
} catch {
|
|
101
|
-
|
|
101
|
+
N = !0;
|
|
102
102
|
}
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
var j =
|
|
103
|
+
if (N) {
|
|
104
|
+
N = console;
|
|
105
|
+
var j = N.error, $ = typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object";
|
|
106
106
|
return j.call(
|
|
107
|
-
|
|
107
|
+
N,
|
|
108
108
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
109
109
|
$
|
|
110
110
|
), t(y);
|
|
@@ -115,8 +115,8 @@ function Hi() {
|
|
|
115
115
|
if (typeof y == "object" && y !== null && y.$$typeof === C)
|
|
116
116
|
return "<...>";
|
|
117
117
|
try {
|
|
118
|
-
var
|
|
119
|
-
return
|
|
118
|
+
var N = e(y);
|
|
119
|
+
return N ? "<" + N + ">" : "<...>";
|
|
120
120
|
} catch {
|
|
121
121
|
return "<...>";
|
|
122
122
|
}
|
|
@@ -130,16 +130,16 @@ function Hi() {
|
|
|
130
130
|
}
|
|
131
131
|
function a(y) {
|
|
132
132
|
if (W.call(y, "key")) {
|
|
133
|
-
var
|
|
134
|
-
if (
|
|
133
|
+
var N = Object.getOwnPropertyDescriptor(y, "key").get;
|
|
134
|
+
if (N && N.isReactWarning) return !1;
|
|
135
135
|
}
|
|
136
136
|
return y.key !== void 0;
|
|
137
137
|
}
|
|
138
|
-
function i(y,
|
|
138
|
+
function i(y, N) {
|
|
139
139
|
function j() {
|
|
140
140
|
Y || (Y = !0, console.error(
|
|
141
141
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
142
|
-
|
|
142
|
+
N
|
|
143
143
|
));
|
|
144
144
|
}
|
|
145
145
|
j.isReactWarning = !0, Object.defineProperty(y, "key", {
|
|
@@ -153,11 +153,11 @@ function Hi() {
|
|
|
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
|
)), y = this.props.ref, y !== void 0 ? y : null;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function f(y, N, j, $, q, ee, ce, U) {
|
|
157
157
|
return j = ee.ref, y = {
|
|
158
158
|
$$typeof: h,
|
|
159
159
|
type: y,
|
|
160
|
-
key:
|
|
160
|
+
key: N,
|
|
161
161
|
props: ee,
|
|
162
162
|
_owner: q
|
|
163
163
|
}, (j !== void 0 ? j : null) !== null ? Object.defineProperty(y, "ref", {
|
|
@@ -185,22 +185,22 @@ function Hi() {
|
|
|
185
185
|
value: U
|
|
186
186
|
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
187
187
|
}
|
|
188
|
-
function d(y,
|
|
189
|
-
var J =
|
|
188
|
+
function d(y, N, j, $, q, ee, ce, U) {
|
|
189
|
+
var J = N.children;
|
|
190
190
|
if (J !== void 0)
|
|
191
191
|
if ($)
|
|
192
192
|
if (V(J)) {
|
|
193
193
|
for ($ = 0; $ < J.length; $++)
|
|
194
|
-
|
|
194
|
+
p(J[$]);
|
|
195
195
|
Object.freeze && Object.freeze(J);
|
|
196
196
|
} else
|
|
197
197
|
console.error(
|
|
198
198
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
199
199
|
);
|
|
200
|
-
else
|
|
201
|
-
if (W.call(
|
|
200
|
+
else p(J);
|
|
201
|
+
if (W.call(N, "key")) {
|
|
202
202
|
J = e(y);
|
|
203
|
-
var Q = Object.keys(
|
|
203
|
+
var Q = Object.keys(N).filter(function(xe) {
|
|
204
204
|
return xe !== "key";
|
|
205
205
|
});
|
|
206
206
|
$ = 0 < Q.length ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}", T[J + $] || (Q = 0 < Q.length ? "{" + Q.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
@@ -216,15 +216,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
216
216
|
J
|
|
217
217
|
), T[J + $] = !0);
|
|
218
218
|
}
|
|
219
|
-
if (J = null, j !== void 0 && (n(j), J = "" + j), a(
|
|
219
|
+
if (J = null, j !== void 0 && (n(j), J = "" + j), a(N) && (n(N.key), J = "" + N.key), "key" in N) {
|
|
220
220
|
j = {};
|
|
221
|
-
for (var oe in
|
|
222
|
-
oe !== "key" && (j[oe] =
|
|
223
|
-
} else j =
|
|
221
|
+
for (var oe in N)
|
|
222
|
+
oe !== "key" && (j[oe] = N[oe]);
|
|
223
|
+
} else j = N;
|
|
224
224
|
return J && i(
|
|
225
225
|
j,
|
|
226
226
|
typeof y == "function" ? y.displayName || y.name || "Unknown" : y
|
|
227
|
-
),
|
|
227
|
+
), f(
|
|
228
228
|
y,
|
|
229
229
|
J,
|
|
230
230
|
ee,
|
|
@@ -235,7 +235,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
235
235
|
U
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function p(y) {
|
|
239
239
|
typeof y == "object" && y !== null && y.$$typeof === h && y._store && (y._store.validated = 1);
|
|
240
240
|
}
|
|
241
241
|
var m = pe, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), w = Symbol.for("react.consumer"), E = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), B = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, V = Array.isArray, H = console.createTask ? console.createTask : function() {
|
|
@@ -250,11 +250,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
250
250
|
m,
|
|
251
251
|
s
|
|
252
252
|
)(), _ = H(r(s)), T = {};
|
|
253
|
-
ht.Fragment = g, ht.jsx = function(y,
|
|
253
|
+
ht.Fragment = g, ht.jsx = function(y, N, j, $, q) {
|
|
254
254
|
var ee = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return d(
|
|
256
256
|
y,
|
|
257
|
-
|
|
257
|
+
N,
|
|
258
258
|
j,
|
|
259
259
|
!1,
|
|
260
260
|
$,
|
|
@@ -262,11 +262,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
262
262
|
ee ? Error("react-stack-top-frame") : G,
|
|
263
263
|
ee ? H(r(y)) : _
|
|
264
264
|
);
|
|
265
|
-
}, ht.jsxs = function(y,
|
|
265
|
+
}, ht.jsxs = function(y, N, j, $, q) {
|
|
266
266
|
var ee = 1e4 > B.recentlyCreatedOwnerStacks++;
|
|
267
267
|
return d(
|
|
268
268
|
y,
|
|
269
|
-
|
|
269
|
+
N,
|
|
270
270
|
j,
|
|
271
271
|
!0,
|
|
272
272
|
$,
|
|
@@ -279,7 +279,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
279
279
|
}
|
|
280
280
|
var Kr;
|
|
281
281
|
function zi() {
|
|
282
|
-
return Kr || (Kr = 1, process.env.NODE_ENV === "production" ?
|
|
282
|
+
return Kr || (Kr = 1, process.env.NODE_ENV === "production" ? kt.exports = Vi() : kt.exports = Hi()), kt.exports;
|
|
283
283
|
}
|
|
284
284
|
var l = zi(), Ot = { exports: {} }, En = {};
|
|
285
285
|
/**
|
|
@@ -296,40 +296,40 @@ function Wi() {
|
|
|
296
296
|
if (Yr) return En;
|
|
297
297
|
Yr = 1;
|
|
298
298
|
var e = pe;
|
|
299
|
-
function t(
|
|
300
|
-
return
|
|
299
|
+
function t(p, m) {
|
|
300
|
+
return p === m && (p !== 0 || 1 / p === 1 / m) || p !== p && m !== m;
|
|
301
301
|
}
|
|
302
302
|
var n = typeof Object.is == "function" ? Object.is : t, r = e.useState, o = e.useEffect, s = e.useLayoutEffect, a = e.useDebugValue;
|
|
303
|
-
function i(
|
|
303
|
+
function i(p, m) {
|
|
304
304
|
var h = m(), b = r({ inst: { value: h, getSnapshot: m } }), g = b[0].inst, x = b[1];
|
|
305
305
|
return s(
|
|
306
306
|
function() {
|
|
307
307
|
g.value = h, g.getSnapshot = m, c(g) && x({ inst: g });
|
|
308
308
|
},
|
|
309
|
-
[
|
|
309
|
+
[p, h, m]
|
|
310
310
|
), o(
|
|
311
311
|
function() {
|
|
312
|
-
return c(g) && x({ inst: g }),
|
|
312
|
+
return c(g) && x({ inst: g }), p(function() {
|
|
313
313
|
c(g) && x({ inst: g });
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
|
-
[
|
|
316
|
+
[p]
|
|
317
317
|
), a(h), h;
|
|
318
318
|
}
|
|
319
|
-
function c(
|
|
320
|
-
var m =
|
|
321
|
-
|
|
319
|
+
function c(p) {
|
|
320
|
+
var m = p.getSnapshot;
|
|
321
|
+
p = p.value;
|
|
322
322
|
try {
|
|
323
323
|
var h = m();
|
|
324
|
-
return !n(
|
|
324
|
+
return !n(p, h);
|
|
325
325
|
} catch {
|
|
326
326
|
return !0;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
|
-
function p
|
|
329
|
+
function f(p, m) {
|
|
330
330
|
return m();
|
|
331
331
|
}
|
|
332
|
-
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ?
|
|
332
|
+
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? f : i;
|
|
333
333
|
return En.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : d, En;
|
|
334
334
|
}
|
|
335
335
|
var Sn = {};
|
|
@@ -353,11 +353,11 @@ function Bi() {
|
|
|
353
353
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
354
354
|
));
|
|
355
355
|
var g = b();
|
|
356
|
-
if (!
|
|
356
|
+
if (!p) {
|
|
357
357
|
var x = b();
|
|
358
358
|
s(g, x) || (console.error(
|
|
359
359
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
360
|
-
),
|
|
360
|
+
), p = !0);
|
|
361
361
|
}
|
|
362
362
|
x = a({
|
|
363
363
|
inst: { value: g, getSnapshot: b }
|
|
@@ -375,7 +375,7 @@ function Bi() {
|
|
|
375
375
|
});
|
|
376
376
|
},
|
|
377
377
|
[h]
|
|
378
|
-
),
|
|
378
|
+
), f(g), g;
|
|
379
379
|
}
|
|
380
380
|
function n(h) {
|
|
381
381
|
var b = h.getSnapshot;
|
|
@@ -391,7 +391,7 @@ function Bi() {
|
|
|
391
391
|
return b();
|
|
392
392
|
}
|
|
393
393
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
394
|
-
var o = pe, s = typeof Object.is == "function" ? Object.is : e, a = o.useState, i = o.useEffect, c = o.useLayoutEffect,
|
|
394
|
+
var o = pe, s = typeof Object.is == "function" ? Object.is : e, a = o.useState, i = o.useEffect, c = o.useLayoutEffect, f = o.useDebugValue, d = !1, p = !1, m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : t;
|
|
395
395
|
Sn.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
396
396
|
}()), Sn;
|
|
397
397
|
}
|
|
@@ -524,16 +524,16 @@ async function Yo(...e) {
|
|
|
524
524
|
let a = s.populateCache;
|
|
525
525
|
const i = s.rollbackOnError;
|
|
526
526
|
let c = s.optimisticData;
|
|
527
|
-
const
|
|
527
|
+
const f = (m) => typeof i == "function" ? i(m) : i !== !1, d = s.throwOnError;
|
|
528
528
|
if (we(n)) {
|
|
529
529
|
const m = n, h = [], b = t.keys();
|
|
530
530
|
for (const g of b)
|
|
531
531
|
// Skip the special useSWRInfinite and useSWRSubscription keys.
|
|
532
532
|
!/^\$(inf|sub)\$/.test(g) && m(t.get(g)._k) && h.push(g);
|
|
533
|
-
return Promise.all(h.map(
|
|
533
|
+
return Promise.all(h.map(p));
|
|
534
534
|
}
|
|
535
|
-
return
|
|
536
|
-
async function
|
|
535
|
+
return p(n);
|
|
536
|
+
async function p(m) {
|
|
537
537
|
const [h] = dr(m);
|
|
538
538
|
if (!h) return;
|
|
539
539
|
const [b, g] = Ko(t, h), [x, v, w, E] = Pe.get(t), S = () => {
|
|
@@ -564,7 +564,7 @@ async function Yo(...e) {
|
|
|
564
564
|
}), M !== v[h][0]) {
|
|
565
565
|
if (A) throw A;
|
|
566
566
|
return R;
|
|
567
|
-
} else A && C &&
|
|
567
|
+
} else A && C && f(A) && (a = !0, g({
|
|
568
568
|
data: W,
|
|
569
569
|
_c: le
|
|
570
570
|
}));
|
|
@@ -600,16 +600,16 @@ const to = (e, t) => {
|
|
|
600
600
|
if (!Pe.has(e)) {
|
|
601
601
|
const n = Ie(ec, t), r = /* @__PURE__ */ Object.create(null), o = Yo.bind(le, e);
|
|
602
602
|
let s = Be;
|
|
603
|
-
const a = /* @__PURE__ */ Object.create(null), i = (d,
|
|
603
|
+
const a = /* @__PURE__ */ Object.create(null), i = (d, p) => {
|
|
604
604
|
const m = a[d] || [];
|
|
605
|
-
return a[d] = m, m.push(
|
|
606
|
-
}, c = (d,
|
|
607
|
-
e.set(d,
|
|
605
|
+
return a[d] = m, m.push(p), () => m.splice(m.indexOf(p), 1);
|
|
606
|
+
}, c = (d, p, m) => {
|
|
607
|
+
e.set(d, p);
|
|
608
608
|
const h = a[d];
|
|
609
609
|
if (h)
|
|
610
610
|
for (const b of h)
|
|
611
|
-
b(
|
|
612
|
-
},
|
|
611
|
+
b(p, m);
|
|
612
|
+
}, f = () => {
|
|
613
613
|
if (!Pe.has(e) && (Pe.set(e, [
|
|
614
614
|
r,
|
|
615
615
|
/* @__PURE__ */ Object.create(null),
|
|
@@ -619,16 +619,16 @@ const to = (e, t) => {
|
|
|
619
619
|
c,
|
|
620
620
|
i
|
|
621
621
|
]), !bt)) {
|
|
622
|
-
const d = n.initFocus(setTimeout.bind(le, to.bind(le, r, Wo))),
|
|
622
|
+
const d = n.initFocus(setTimeout.bind(le, to.bind(le, r, Wo))), p = n.initReconnect(setTimeout.bind(le, to.bind(le, r, Bo)));
|
|
623
623
|
s = () => {
|
|
624
|
-
d && d(),
|
|
624
|
+
d && d(), p && p(), Pe.delete(e);
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
|
-
return
|
|
628
|
+
return f(), [
|
|
629
629
|
e,
|
|
630
630
|
o,
|
|
631
|
-
|
|
631
|
+
f,
|
|
632
632
|
s
|
|
633
633
|
];
|
|
634
634
|
}
|
|
@@ -710,9 +710,9 @@ const to = (e, t) => {
|
|
|
710
710
|
}), r), mc = lc.concat(pc), hc = (e) => function(...n) {
|
|
711
711
|
const r = fc(), [o, s, a] = dc(n), i = Zo(r, a);
|
|
712
712
|
let c = e;
|
|
713
|
-
const { use:
|
|
714
|
-
for (let
|
|
715
|
-
c = d[
|
|
713
|
+
const { use: f } = i, d = (f || []).concat(mc);
|
|
714
|
+
for (let p = d.length; p--; )
|
|
715
|
+
c = d[p](c);
|
|
716
716
|
return c(o, s || i.fetcher || null, i);
|
|
717
717
|
}, gc = (e, t, n) => {
|
|
718
718
|
const r = t[e] || (t[e] = []);
|
|
@@ -744,7 +744,7 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
744
744
|
}), Tn = {
|
|
745
745
|
dedupe: !0
|
|
746
746
|
}, vc = (e, t, n) => {
|
|
747
|
-
const { cache: r, compare: o, suspense: s, fallbackData: a, revalidateOnMount: i, revalidateIfStale: c, refreshInterval:
|
|
747
|
+
const { cache: r, compare: o, suspense: s, fallbackData: a, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: f, refreshWhenHidden: d, refreshWhenOffline: p, keepPreviousData: m } = n, [h, b, g, x] = Pe.get(r), [v, w] = dr(e), E = ze(!1), S = ze(!1), R = ze(v), A = ze(t), M = ze(n), C = () => M.current, D = () => C().isVisible() && C().isOnline(), [I, B, W, V] = Ko(r, v), H = ze({}).current, Y = K(a) ? K(n.fallback) ? le : n.fallback[v] : a, L = (X, Z) => {
|
|
748
748
|
for (const ie in H) {
|
|
749
749
|
const te = ie;
|
|
750
750
|
if (te === "data") {
|
|
@@ -756,12 +756,12 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
756
756
|
return !0;
|
|
757
757
|
}, G = zn(() => {
|
|
758
758
|
const X = !v || !t ? !1 : K(i) ? C().isPaused() || s ? !1 : c !== !1 : i, Z = (fe) => {
|
|
759
|
-
const
|
|
760
|
-
return delete
|
|
759
|
+
const Ne = Ie(fe);
|
|
760
|
+
return delete Ne._k, X ? {
|
|
761
761
|
isValidating: !0,
|
|
762
762
|
isLoading: !0,
|
|
763
|
-
...
|
|
764
|
-
} :
|
|
763
|
+
...Ne
|
|
764
|
+
} : Ne;
|
|
765
765
|
}, ie = I(), te = V(), me = Z(ie), Ve = ie === te ? me : Z(te);
|
|
766
766
|
let re = me;
|
|
767
767
|
return [
|
|
@@ -783,17 +783,17 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
783
783
|
r,
|
|
784
784
|
v
|
|
785
785
|
]
|
|
786
|
-
), G[0], G[1]), T = !E.current, y = h[v] && h[v].length > 0,
|
|
786
|
+
), G[0], G[1]), T = !E.current, y = h[v] && h[v].length > 0, N = _.data, j = K(N) ? Y && Uo(Y) ? An(Y) : Y : N, $ = _.error, q = ze(j), ee = m ? K(N) ? K(q.current) ? j : q.current : N : j, ce = y && !K($) ? !1 : T && !K(i) ? i : C().isPaused() ? !1 : s ? K(j) ? !1 : c : K(j) || c, U = !!(v && t && T && ce), J = K(_.isValidating) ? U : _.isValidating, Q = K(_.isLoading) ? U : _.isLoading, oe = Cn(
|
|
787
787
|
async (X) => {
|
|
788
788
|
const Z = A.current;
|
|
789
789
|
if (!v || !Z || S.current || C().isPaused())
|
|
790
790
|
return !1;
|
|
791
791
|
let ie, te, me = !0;
|
|
792
|
-
const Ve = X || {}, re = !g[v] || !Ve.dedupe, fe = () => Qr ? !S.current && v === R.current && E.current : v === R.current,
|
|
792
|
+
const Ve = X || {}, re = !g[v] || !Ve.dedupe, fe = () => Qr ? !S.current && v === R.current && E.current : v === R.current, Ne = {
|
|
793
793
|
isValidating: !1,
|
|
794
794
|
isLoading: !1
|
|
795
795
|
}, zr = () => {
|
|
796
|
-
B(
|
|
796
|
+
B(Ne);
|
|
797
797
|
}, Wr = () => {
|
|
798
798
|
const ve = g[v];
|
|
799
799
|
ve && ve[1] === te && delete g[v];
|
|
@@ -809,19 +809,19 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
809
809
|
qn()
|
|
810
810
|
]), [ie, te] = g[v], ie = await ie, re && setTimeout(Wr, n.dedupingInterval), !g[v] || g[v][1] !== te)
|
|
811
811
|
return re && fe() && C().onDiscarded(v), !1;
|
|
812
|
-
|
|
812
|
+
Ne.error = le;
|
|
813
813
|
const ve = b[v];
|
|
814
814
|
if (!K(ve) && // case 1
|
|
815
815
|
(te <= ve[0] || // case 2
|
|
816
816
|
te <= ve[1] || // case 3
|
|
817
817
|
ve[1] === 0))
|
|
818
818
|
return zr(), re && fe() && C().onDiscarded(v), !1;
|
|
819
|
-
const
|
|
820
|
-
|
|
819
|
+
const ke = I().data;
|
|
820
|
+
Ne.data = o(ke, ie) ? ke : ie, re && fe() && C().onSuccess(ie, v, n);
|
|
821
821
|
} catch (ve) {
|
|
822
822
|
Wr();
|
|
823
|
-
const
|
|
824
|
-
|
|
823
|
+
const ke = C(), { shouldRetryOnError: wn } = ke;
|
|
824
|
+
ke.isPaused() || (Ne.error = ve, re && fe() && (ke.onError(ve, v, ke), (wn === !0 || we(wn) && wn(ve)) && (!C().revalidateOnFocus || !C().revalidateOnReconnect || D()) && ke.onErrorRetry(ve, v, ke, (Li) => {
|
|
825
825
|
const yn = h[v];
|
|
826
826
|
yn && yn[0] && yn[0](Zr, Li);
|
|
827
827
|
}, {
|
|
@@ -853,7 +853,7 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
853
853
|
[]
|
|
854
854
|
);
|
|
855
855
|
if (Bt(() => {
|
|
856
|
-
A.current = t, M.current = n, K(
|
|
856
|
+
A.current = t, M.current = n, K(N) || (q.current = N);
|
|
857
857
|
}), Bt(() => {
|
|
858
858
|
if (!v) return;
|
|
859
859
|
const X = oe.bind(le, Tn);
|
|
@@ -882,19 +882,19 @@ const An = pe.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
882
882
|
]), Bt(() => {
|
|
883
883
|
let X;
|
|
884
884
|
function Z() {
|
|
885
|
-
const te = we(
|
|
885
|
+
const te = we(f) ? f(I().data) : f;
|
|
886
886
|
te && X !== -1 && (X = setTimeout(ie, te));
|
|
887
887
|
}
|
|
888
888
|
function ie() {
|
|
889
|
-
!I().error && (d || C().isVisible()) && (
|
|
889
|
+
!I().error && (d || C().isVisible()) && (p || C().isOnline()) ? oe(Tn).then(Z) : Z();
|
|
890
890
|
}
|
|
891
891
|
return Z(), () => {
|
|
892
892
|
X && (clearTimeout(X), X = -1);
|
|
893
893
|
};
|
|
894
894
|
}, [
|
|
895
|
-
p,
|
|
896
|
-
d,
|
|
897
895
|
f,
|
|
896
|
+
d,
|
|
897
|
+
p,
|
|
898
898
|
v
|
|
899
899
|
]), Fi(ee), s && K(j) && v) {
|
|
900
900
|
if (!Qr && bt)
|
|
@@ -1023,7 +1023,7 @@ var Tc = {
|
|
|
1023
1023
|
* This source code is licensed under the ISC license.
|
|
1024
1024
|
* See the LICENSE file in the root directory of this source tree.
|
|
1025
1025
|
*/
|
|
1026
|
-
const
|
|
1026
|
+
const Nc = Ho(
|
|
1027
1027
|
({
|
|
1028
1028
|
color: e = "currentColor",
|
|
1029
1029
|
size: t = 24,
|
|
@@ -1047,7 +1047,7 @@ const kc = Ho(
|
|
|
1047
1047
|
...i
|
|
1048
1048
|
},
|
|
1049
1049
|
[
|
|
1050
|
-
...a.map(([
|
|
1050
|
+
...a.map(([f, d]) => Yt(f, d)),
|
|
1051
1051
|
...Array.isArray(s) ? s : [s]
|
|
1052
1052
|
]
|
|
1053
1053
|
)
|
|
@@ -1060,7 +1060,7 @@ const kc = Ho(
|
|
|
1060
1060
|
*/
|
|
1061
1061
|
const ue = (e, t) => {
|
|
1062
1062
|
const n = Ho(
|
|
1063
|
-
({ className: r, ...o }, s) => Yt(
|
|
1063
|
+
({ className: r, ...o }, s) => Yt(Nc, {
|
|
1064
1064
|
ref: s,
|
|
1065
1065
|
iconNode: t,
|
|
1066
1066
|
className: Qo(
|
|
@@ -1079,7 +1079,7 @@ const ue = (e, t) => {
|
|
|
1079
1079
|
* This source code is licensed under the ISC license.
|
|
1080
1080
|
* See the LICENSE file in the root directory of this source tree.
|
|
1081
1081
|
*/
|
|
1082
|
-
const
|
|
1082
|
+
const kc = [
|
|
1083
1083
|
["path", { d: "M12 7v14", key: "1akyts" }],
|
|
1084
1084
|
["path", { d: "M16 12h2", key: "7q9ll5" }],
|
|
1085
1085
|
["path", { d: "M16 8h2", key: "msurwy" }],
|
|
@@ -1092,7 +1092,7 @@ const Nc = [
|
|
|
1092
1092
|
],
|
|
1093
1093
|
["path", { d: "M6 12h2", key: "32wvfc" }],
|
|
1094
1094
|
["path", { d: "M6 8h2", key: "30oboj" }]
|
|
1095
|
-
], Oc = ue("book-open-text",
|
|
1095
|
+
], Oc = ue("book-open-text", kc);
|
|
1096
1096
|
/**
|
|
1097
1097
|
* @license lucide-react v0.522.0 - ISC
|
|
1098
1098
|
*
|
|
@@ -1288,8 +1288,8 @@ function at(e) {
|
|
|
1288
1288
|
const t = /* @__PURE__ */ ol(e), n = u.forwardRef((r, o) => {
|
|
1289
1289
|
const { children: s, ...a } = r, i = u.Children.toArray(s), c = i.find(al);
|
|
1290
1290
|
if (c) {
|
|
1291
|
-
const
|
|
1292
|
-
return /* @__PURE__ */ l.jsx(t, { ...a, ref: o, children: u.isValidElement(
|
|
1291
|
+
const f = c.props.children, d = i.map((p) => p === c ? u.Children.count(f) > 1 ? u.Children.only(null) : u.isValidElement(f) ? f.props.children : null : p);
|
|
1292
|
+
return /* @__PURE__ */ l.jsx(t, { ...a, ref: o, children: u.isValidElement(f) ? u.cloneElement(f, void 0, d) : null });
|
|
1293
1293
|
}
|
|
1294
1294
|
return /* @__PURE__ */ l.jsx(t, { ...a, ref: o, children: s });
|
|
1295
1295
|
});
|
|
@@ -1349,16 +1349,16 @@ function os() {
|
|
|
1349
1349
|
const co = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, lo = os, pr = (e, t) => (n) => {
|
|
1350
1350
|
var r;
|
|
1351
1351
|
if ((t == null ? void 0 : t.variants) == null) return lo(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
1352
|
-
const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((
|
|
1353
|
-
const d = n == null ? void 0 : n[
|
|
1352
|
+
const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((f) => {
|
|
1353
|
+
const d = n == null ? void 0 : n[f], p = s == null ? void 0 : s[f];
|
|
1354
1354
|
if (d === null) return null;
|
|
1355
|
-
const m = co(d) || co(
|
|
1356
|
-
return o[
|
|
1357
|
-
}), i = n && Object.entries(n).reduce((
|
|
1358
|
-
let [
|
|
1359
|
-
return m === void 0 || (p
|
|
1360
|
-
}, {}), c = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((
|
|
1361
|
-
let { class:
|
|
1355
|
+
const m = co(d) || co(p);
|
|
1356
|
+
return o[f][m];
|
|
1357
|
+
}), i = n && Object.entries(n).reduce((f, d) => {
|
|
1358
|
+
let [p, m] = d;
|
|
1359
|
+
return m === void 0 || (f[p] = m), f;
|
|
1360
|
+
}, {}), c = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((f, d) => {
|
|
1361
|
+
let { class: p, className: m, ...h } = d;
|
|
1362
1362
|
return Object.entries(h).every((b) => {
|
|
1363
1363
|
let [g, x] = b;
|
|
1364
1364
|
return Array.isArray(x) ? x.includes({
|
|
@@ -1369,10 +1369,10 @@ const co = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, lo = os, p
|
|
|
1369
1369
|
...i
|
|
1370
1370
|
}[g] === x;
|
|
1371
1371
|
}) ? [
|
|
1372
|
-
...
|
|
1373
|
-
|
|
1372
|
+
...f,
|
|
1373
|
+
p,
|
|
1374
1374
|
m
|
|
1375
|
-
] :
|
|
1375
|
+
] : f;
|
|
1376
1376
|
}, []);
|
|
1377
1377
|
return lo(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
1378
1378
|
}, mr = "-", ll = (e) => {
|
|
@@ -1481,7 +1481,7 @@ const co = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, lo = os, p
|
|
|
1481
1481
|
} = e;
|
|
1482
1482
|
let r = (o) => {
|
|
1483
1483
|
const s = [];
|
|
1484
|
-
let a = 0, i = 0, c = 0,
|
|
1484
|
+
let a = 0, i = 0, c = 0, f;
|
|
1485
1485
|
for (let b = 0; b < o.length; b++) {
|
|
1486
1486
|
let g = o[b];
|
|
1487
1487
|
if (a === 0 && i === 0) {
|
|
@@ -1490,17 +1490,17 @@ const co = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, lo = os, p
|
|
|
1490
1490
|
continue;
|
|
1491
1491
|
}
|
|
1492
1492
|
if (g === "/") {
|
|
1493
|
-
|
|
1493
|
+
f = b;
|
|
1494
1494
|
continue;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
g === "[" ? a++ : g === "]" ? a-- : g === "(" ? i++ : g === ")" && i--;
|
|
1498
1498
|
}
|
|
1499
|
-
const d = s.length === 0 ? o : o.substring(c),
|
|
1499
|
+
const d = s.length === 0 ? o : o.substring(c), p = gl(d), m = p !== d, h = f && f > c ? f - c : void 0;
|
|
1500
1500
|
return {
|
|
1501
1501
|
modifiers: s,
|
|
1502
1502
|
hasImportantModifier: m,
|
|
1503
|
-
baseClassName:
|
|
1503
|
+
baseClassName: p,
|
|
1504
1504
|
maybePostfixModifierPosition: h
|
|
1505
1505
|
};
|
|
1506
1506
|
};
|
|
@@ -1546,15 +1546,15 @@ const co = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, lo = os, p
|
|
|
1546
1546
|
sortModifiers: s
|
|
1547
1547
|
} = t, a = [], i = e.trim().split(xl);
|
|
1548
1548
|
let c = "";
|
|
1549
|
-
for (let
|
|
1550
|
-
const d = i[
|
|
1551
|
-
isExternal:
|
|
1549
|
+
for (let f = i.length - 1; f >= 0; f -= 1) {
|
|
1550
|
+
const d = i[f], {
|
|
1551
|
+
isExternal: p,
|
|
1552
1552
|
modifiers: m,
|
|
1553
1553
|
hasImportantModifier: h,
|
|
1554
1554
|
baseClassName: b,
|
|
1555
1555
|
maybePostfixModifierPosition: g
|
|
1556
1556
|
} = n(d);
|
|
1557
|
-
if (
|
|
1557
|
+
if (p) {
|
|
1558
1558
|
c = d + (c.length > 0 ? " " + c : c);
|
|
1559
1559
|
continue;
|
|
1560
1560
|
}
|
|
@@ -1600,13 +1600,13 @@ const as = (e) => {
|
|
|
1600
1600
|
function Cl(e, ...t) {
|
|
1601
1601
|
let n, r, o, s = a;
|
|
1602
1602
|
function a(c) {
|
|
1603
|
-
const
|
|
1604
|
-
return n = bl(
|
|
1603
|
+
const f = t.reduce((d, p) => p(d), e());
|
|
1604
|
+
return n = bl(f), r = n.cache.get, o = n.cache.set, s = i, i(c);
|
|
1605
1605
|
}
|
|
1606
1606
|
function i(c) {
|
|
1607
|
-
const
|
|
1608
|
-
if (
|
|
1609
|
-
return
|
|
1607
|
+
const f = r(c);
|
|
1608
|
+
if (f)
|
|
1609
|
+
return f;
|
|
1610
1610
|
const d = wl(c, n);
|
|
1611
1611
|
return o(c, d), d;
|
|
1612
1612
|
}
|
|
@@ -1617,19 +1617,19 @@ function Cl(e, ...t) {
|
|
|
1617
1617
|
const se = (e) => {
|
|
1618
1618
|
const t = (n) => n[e] || [];
|
|
1619
1619
|
return t.isThemeGetter = !0, t;
|
|
1620
|
-
}, is = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, cs = /^\((?:(\w[\w-]*):)?(.+)\)$/i, El = /^\d+\/\d+$/, Sl = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Rl = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, _l = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ml = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Al = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, et = (e) => El.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), He = (e) => !!e && Number.isInteger(Number(e)),
|
|
1620
|
+
}, is = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, cs = /^\((?:(\w[\w-]*):)?(.+)\)$/i, El = /^\d+\/\d+$/, Sl = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Rl = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, _l = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ml = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Al = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, et = (e) => El.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), He = (e) => !!e && Number.isInteger(Number(e)), Nn = (e) => e.endsWith("%") && z(e.slice(0, -1)), Oe = (e) => Sl.test(e), Tl = () => !0, Nl = (e) => (
|
|
1621
1621
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1622
1622
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1623
1623
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1624
1624
|
Rl.test(e) && !_l.test(e)
|
|
1625
|
-
), ls = () => !1,
|
|
1625
|
+
), ls = () => !1, kl = (e) => Ml.test(e), Ol = (e) => Al.test(e), Pl = (e) => !k(e) && !O(e), Dl = (e) => ut(e, fs, ls), k = (e) => is.test(e), qe = (e) => ut(e, ps, Nl), kn = (e) => ut(e, $l, z), po = (e) => ut(e, us, ls), Il = (e) => ut(e, ds, Ol), jt = (e) => ut(e, ms, kl), O = (e) => cs.test(e), gt = (e) => dt(e, ps), jl = (e) => dt(e, Vl), mo = (e) => dt(e, us), Ll = (e) => dt(e, fs), Fl = (e) => dt(e, ds), Lt = (e) => dt(e, ms, !0), ut = (e, t, n) => {
|
|
1626
1626
|
const r = is.exec(e);
|
|
1627
1627
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
1628
1628
|
}, dt = (e, t, n = !1) => {
|
|
1629
1629
|
const r = cs.exec(e);
|
|
1630
1630
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
1631
1631
|
}, us = (e) => e === "position" || e === "percentage", ds = (e) => e === "image" || e === "url", fs = (e) => e === "length" || e === "size" || e === "bg-size", ps = (e) => e === "length", $l = (e) => e === "number", Vl = (e) => e === "family-name", ms = (e) => e === "shadow", Hl = () => {
|
|
1632
|
-
const e = se("color"), t = se("font"), n = se("text"), r = se("font-weight"), o = se("tracking"), s = se("leading"), a = se("breakpoint"), i = se("container"), c = se("spacing"),
|
|
1632
|
+
const e = se("color"), t = se("font"), n = se("text"), r = se("font-weight"), o = se("tracking"), s = se("leading"), a = se("breakpoint"), i = se("container"), c = se("spacing"), f = se("radius"), d = se("shadow"), p = se("inset-shadow"), m = se("text-shadow"), h = se("drop-shadow"), b = se("blur"), g = se("perspective"), x = se("aspect"), v = se("ease"), w = se("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
1633
1633
|
"center",
|
|
1634
1634
|
"top",
|
|
1635
1635
|
"bottom",
|
|
@@ -1647,30 +1647,30 @@ const se = (e) => {
|
|
|
1647
1647
|
"bottom-left",
|
|
1648
1648
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1649
1649
|
"left-bottom"
|
|
1650
|
-
], R = () => [...S(), O,
|
|
1651
|
-
span: ["full", He, O,
|
|
1652
|
-
}, He, O,
|
|
1653
|
-
position: [O,
|
|
1650
|
+
], R = () => [...S(), O, k], A = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], C = () => [O, k, c], D = () => [et, "full", "auto", ...C()], I = () => [He, "none", "subgrid", O, k], B = () => ["auto", {
|
|
1651
|
+
span: ["full", He, O, k]
|
|
1652
|
+
}, He, O, k], W = () => [He, "auto", O, k], V = () => ["auto", "min", "max", "fr", O, k], H = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...C()], G = () => [et, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], _ = () => [e, O, k], T = () => [...S(), mo, po, {
|
|
1653
|
+
position: [O, k]
|
|
1654
1654
|
}], y = () => ["no-repeat", {
|
|
1655
1655
|
repeat: ["", "x", "y", "space", "round"]
|
|
1656
|
-
}],
|
|
1657
|
-
size: [O,
|
|
1658
|
-
}], j = () => [
|
|
1656
|
+
}], N = () => ["auto", "cover", "contain", Ll, Dl, {
|
|
1657
|
+
size: [O, k]
|
|
1658
|
+
}], j = () => [Nn, gt, qe], $ = () => [
|
|
1659
1659
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1660
1660
|
"",
|
|
1661
1661
|
"none",
|
|
1662
1662
|
"full",
|
|
1663
|
-
|
|
1663
|
+
f,
|
|
1664
1664
|
O,
|
|
1665
|
-
|
|
1666
|
-
], q = () => ["", z, gt, qe], 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"], U = () => [z,
|
|
1665
|
+
k
|
|
1666
|
+
], q = () => ["", z, gt, qe], 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"], U = () => [z, Nn, mo, po], J = () => [
|
|
1667
1667
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1668
1668
|
"",
|
|
1669
1669
|
"none",
|
|
1670
1670
|
b,
|
|
1671
1671
|
O,
|
|
1672
|
-
|
|
1673
|
-
], Q = () => ["none", z, O,
|
|
1672
|
+
k
|
|
1673
|
+
], Q = () => ["none", z, O, k], oe = () => ["none", z, O, k], xe = () => [z, O, k], $e = () => [et, "full", ...C()];
|
|
1674
1674
|
return {
|
|
1675
1675
|
cacheSize: 500,
|
|
1676
1676
|
theme: {
|
|
@@ -1703,7 +1703,7 @@ const se = (e) => {
|
|
|
1703
1703
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1704
1704
|
*/
|
|
1705
1705
|
aspect: [{
|
|
1706
|
-
aspect: ["auto", "square", et,
|
|
1706
|
+
aspect: ["auto", "square", et, k, O, x]
|
|
1707
1707
|
}],
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Container
|
|
@@ -1716,7 +1716,7 @@ const se = (e) => {
|
|
|
1716
1716
|
* @see https://tailwindcss.com/docs/columns
|
|
1717
1717
|
*/
|
|
1718
1718
|
columns: [{
|
|
1719
|
-
columns: [z,
|
|
1719
|
+
columns: [z, k, O, i]
|
|
1720
1720
|
}],
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Break After
|
|
@@ -1916,7 +1916,7 @@ const se = (e) => {
|
|
|
1916
1916
|
* @see https://tailwindcss.com/docs/z-index
|
|
1917
1917
|
*/
|
|
1918
1918
|
z: [{
|
|
1919
|
-
z: [He, "auto", O,
|
|
1919
|
+
z: [He, "auto", O, k]
|
|
1920
1920
|
}],
|
|
1921
1921
|
// ------------------------
|
|
1922
1922
|
// --- Flexbox and Grid ---
|
|
@@ -1947,28 +1947,28 @@ const se = (e) => {
|
|
|
1947
1947
|
* @see https://tailwindcss.com/docs/flex
|
|
1948
1948
|
*/
|
|
1949
1949
|
flex: [{
|
|
1950
|
-
flex: [z, et, "auto", "initial", "none",
|
|
1950
|
+
flex: [z, et, "auto", "initial", "none", k]
|
|
1951
1951
|
}],
|
|
1952
1952
|
/**
|
|
1953
1953
|
* Flex Grow
|
|
1954
1954
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1955
1955
|
*/
|
|
1956
1956
|
grow: [{
|
|
1957
|
-
grow: ["", z, O,
|
|
1957
|
+
grow: ["", z, O, k]
|
|
1958
1958
|
}],
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Flex Shrink
|
|
1961
1961
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1962
1962
|
*/
|
|
1963
1963
|
shrink: [{
|
|
1964
|
-
shrink: ["", z, O,
|
|
1964
|
+
shrink: ["", z, O, k]
|
|
1965
1965
|
}],
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Order
|
|
1968
1968
|
* @see https://tailwindcss.com/docs/order
|
|
1969
1969
|
*/
|
|
1970
1970
|
order: [{
|
|
1971
|
-
order: [He, "first", "last", "none", O,
|
|
1971
|
+
order: [He, "first", "last", "none", O, k]
|
|
1972
1972
|
}],
|
|
1973
1973
|
/**
|
|
1974
1974
|
* Grid Template Columns
|
|
@@ -2380,21 +2380,21 @@ const se = (e) => {
|
|
|
2380
2380
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2381
2381
|
*/
|
|
2382
2382
|
"font-weight": [{
|
|
2383
|
-
font: [r, O,
|
|
2383
|
+
font: [r, O, kn]
|
|
2384
2384
|
}],
|
|
2385
2385
|
/**
|
|
2386
2386
|
* Font Stretch
|
|
2387
2387
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
2388
2388
|
*/
|
|
2389
2389
|
"font-stretch": [{
|
|
2390
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
2390
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Nn, k]
|
|
2391
2391
|
}],
|
|
2392
2392
|
/**
|
|
2393
2393
|
* Font Family
|
|
2394
2394
|
* @see https://tailwindcss.com/docs/font-family
|
|
2395
2395
|
*/
|
|
2396
2396
|
"font-family": [{
|
|
2397
|
-
font: [jl,
|
|
2397
|
+
font: [jl, k, t]
|
|
2398
2398
|
}],
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Font Variant Numeric
|
|
@@ -2431,14 +2431,14 @@ const se = (e) => {
|
|
|
2431
2431
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2432
2432
|
*/
|
|
2433
2433
|
tracking: [{
|
|
2434
|
-
tracking: [o, O,
|
|
2434
|
+
tracking: [o, O, k]
|
|
2435
2435
|
}],
|
|
2436
2436
|
/**
|
|
2437
2437
|
* Line Clamp
|
|
2438
2438
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2439
2439
|
*/
|
|
2440
2440
|
"line-clamp": [{
|
|
2441
|
-
"line-clamp": [z, "none", O,
|
|
2441
|
+
"line-clamp": [z, "none", O, kn]
|
|
2442
2442
|
}],
|
|
2443
2443
|
/**
|
|
2444
2444
|
* Line Height
|
|
@@ -2456,7 +2456,7 @@ const se = (e) => {
|
|
|
2456
2456
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
2457
2457
|
*/
|
|
2458
2458
|
"list-image": [{
|
|
2459
|
-
"list-image": ["none", O,
|
|
2459
|
+
"list-image": ["none", O, k]
|
|
2460
2460
|
}],
|
|
2461
2461
|
/**
|
|
2462
2462
|
* List Style Position
|
|
@@ -2470,7 +2470,7 @@ const se = (e) => {
|
|
|
2470
2470
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
2471
2471
|
*/
|
|
2472
2472
|
"list-style-type": [{
|
|
2473
|
-
list: ["disc", "decimal", "none", O,
|
|
2473
|
+
list: ["disc", "decimal", "none", O, k]
|
|
2474
2474
|
}],
|
|
2475
2475
|
/**
|
|
2476
2476
|
* Text Alignment
|
|
@@ -2525,7 +2525,7 @@ const se = (e) => {
|
|
|
2525
2525
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2526
2526
|
*/
|
|
2527
2527
|
"underline-offset": [{
|
|
2528
|
-
"underline-offset": [z, "auto", O,
|
|
2528
|
+
"underline-offset": [z, "auto", O, k]
|
|
2529
2529
|
}],
|
|
2530
2530
|
/**
|
|
2531
2531
|
* Text Transform
|
|
@@ -2556,7 +2556,7 @@ const se = (e) => {
|
|
|
2556
2556
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
2557
2557
|
*/
|
|
2558
2558
|
"vertical-align": [{
|
|
2559
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", O,
|
|
2559
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", O, k]
|
|
2560
2560
|
}],
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Whitespace
|
|
@@ -2591,7 +2591,7 @@ const se = (e) => {
|
|
|
2591
2591
|
* @see https://tailwindcss.com/docs/content
|
|
2592
2592
|
*/
|
|
2593
2593
|
content: [{
|
|
2594
|
-
content: ["none", O,
|
|
2594
|
+
content: ["none", O, k]
|
|
2595
2595
|
}],
|
|
2596
2596
|
// -------------------
|
|
2597
2597
|
// --- Backgrounds ---
|
|
@@ -2636,7 +2636,7 @@ const se = (e) => {
|
|
|
2636
2636
|
* @see https://tailwindcss.com/docs/background-size
|
|
2637
2637
|
*/
|
|
2638
2638
|
"bg-size": [{
|
|
2639
|
-
bg:
|
|
2639
|
+
bg: N()
|
|
2640
2640
|
}],
|
|
2641
2641
|
/**
|
|
2642
2642
|
* Background Image
|
|
@@ -2646,9 +2646,9 @@ const se = (e) => {
|
|
|
2646
2646
|
bg: ["none", {
|
|
2647
2647
|
linear: [{
|
|
2648
2648
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2649
|
-
}, He, O,
|
|
2650
|
-
radial: ["", O,
|
|
2651
|
-
conic: [He, O,
|
|
2649
|
+
}, He, O, k],
|
|
2650
|
+
radial: ["", O, k],
|
|
2651
|
+
conic: [He, O, k]
|
|
2652
2652
|
}, Fl, Il]
|
|
2653
2653
|
}],
|
|
2654
2654
|
/**
|
|
@@ -2991,7 +2991,7 @@ const se = (e) => {
|
|
|
2991
2991
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2992
2992
|
*/
|
|
2993
2993
|
"outline-offset": [{
|
|
2994
|
-
"outline-offset": [z, O,
|
|
2994
|
+
"outline-offset": [z, O, k]
|
|
2995
2995
|
}],
|
|
2996
2996
|
/**
|
|
2997
2997
|
* Outline Width
|
|
@@ -3036,7 +3036,7 @@ const se = (e) => {
|
|
|
3036
3036
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
3037
3037
|
*/
|
|
3038
3038
|
"inset-shadow": [{
|
|
3039
|
-
"inset-shadow": ["none",
|
|
3039
|
+
"inset-shadow": ["none", p, Lt, jt]
|
|
3040
3040
|
}],
|
|
3041
3041
|
/**
|
|
3042
3042
|
* Inset Box Shadow Color
|
|
@@ -3117,7 +3117,7 @@ const se = (e) => {
|
|
|
3117
3117
|
* @see https://tailwindcss.com/docs/opacity
|
|
3118
3118
|
*/
|
|
3119
3119
|
opacity: [{
|
|
3120
|
-
opacity: [z, O,
|
|
3120
|
+
opacity: [z, O, k]
|
|
3121
3121
|
}],
|
|
3122
3122
|
/**
|
|
3123
3123
|
* Mix Blend Mode
|
|
@@ -3239,7 +3239,7 @@ const se = (e) => {
|
|
|
3239
3239
|
"mask-y-to": _()
|
|
3240
3240
|
}],
|
|
3241
3241
|
"mask-image-radial": [{
|
|
3242
|
-
"mask-radial": [O,
|
|
3242
|
+
"mask-radial": [O, k]
|
|
3243
3243
|
}],
|
|
3244
3244
|
"mask-image-radial-from-pos": [{
|
|
3245
3245
|
"mask-radial-from": U()
|
|
@@ -3313,7 +3313,7 @@ const se = (e) => {
|
|
|
3313
3313
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3314
3314
|
*/
|
|
3315
3315
|
"mask-size": [{
|
|
3316
|
-
mask:
|
|
3316
|
+
mask: N()
|
|
3317
3317
|
}],
|
|
3318
3318
|
/**
|
|
3319
3319
|
* Mask Type
|
|
@@ -3327,7 +3327,7 @@ const se = (e) => {
|
|
|
3327
3327
|
* @see https://tailwindcss.com/docs/mask-image
|
|
3328
3328
|
*/
|
|
3329
3329
|
"mask-image": [{
|
|
3330
|
-
mask: ["none", O,
|
|
3330
|
+
mask: ["none", O, k]
|
|
3331
3331
|
}],
|
|
3332
3332
|
// ---------------
|
|
3333
3333
|
// --- Filters ---
|
|
@@ -3342,7 +3342,7 @@ const se = (e) => {
|
|
|
3342
3342
|
"",
|
|
3343
3343
|
"none",
|
|
3344
3344
|
O,
|
|
3345
|
-
|
|
3345
|
+
k
|
|
3346
3346
|
]
|
|
3347
3347
|
}],
|
|
3348
3348
|
/**
|
|
@@ -3357,14 +3357,14 @@ const se = (e) => {
|
|
|
3357
3357
|
* @see https://tailwindcss.com/docs/brightness
|
|
3358
3358
|
*/
|
|
3359
3359
|
brightness: [{
|
|
3360
|
-
brightness: [z, O,
|
|
3360
|
+
brightness: [z, O, k]
|
|
3361
3361
|
}],
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Contrast
|
|
3364
3364
|
* @see https://tailwindcss.com/docs/contrast
|
|
3365
3365
|
*/
|
|
3366
3366
|
contrast: [{
|
|
3367
|
-
contrast: [z, O,
|
|
3367
|
+
contrast: [z, O, k]
|
|
3368
3368
|
}],
|
|
3369
3369
|
/**
|
|
3370
3370
|
* Drop Shadow
|
|
@@ -3392,35 +3392,35 @@ const se = (e) => {
|
|
|
3392
3392
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3393
3393
|
*/
|
|
3394
3394
|
grayscale: [{
|
|
3395
|
-
grayscale: ["", z, O,
|
|
3395
|
+
grayscale: ["", z, O, k]
|
|
3396
3396
|
}],
|
|
3397
3397
|
/**
|
|
3398
3398
|
* Hue Rotate
|
|
3399
3399
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3400
3400
|
*/
|
|
3401
3401
|
"hue-rotate": [{
|
|
3402
|
-
"hue-rotate": [z, O,
|
|
3402
|
+
"hue-rotate": [z, O, k]
|
|
3403
3403
|
}],
|
|
3404
3404
|
/**
|
|
3405
3405
|
* Invert
|
|
3406
3406
|
* @see https://tailwindcss.com/docs/invert
|
|
3407
3407
|
*/
|
|
3408
3408
|
invert: [{
|
|
3409
|
-
invert: ["", z, O,
|
|
3409
|
+
invert: ["", z, O, k]
|
|
3410
3410
|
}],
|
|
3411
3411
|
/**
|
|
3412
3412
|
* Saturate
|
|
3413
3413
|
* @see https://tailwindcss.com/docs/saturate
|
|
3414
3414
|
*/
|
|
3415
3415
|
saturate: [{
|
|
3416
|
-
saturate: [z, O,
|
|
3416
|
+
saturate: [z, O, k]
|
|
3417
3417
|
}],
|
|
3418
3418
|
/**
|
|
3419
3419
|
* Sepia
|
|
3420
3420
|
* @see https://tailwindcss.com/docs/sepia
|
|
3421
3421
|
*/
|
|
3422
3422
|
sepia: [{
|
|
3423
|
-
sepia: ["", z, O,
|
|
3423
|
+
sepia: ["", z, O, k]
|
|
3424
3424
|
}],
|
|
3425
3425
|
/**
|
|
3426
3426
|
* Backdrop Filter
|
|
@@ -3432,7 +3432,7 @@ const se = (e) => {
|
|
|
3432
3432
|
"",
|
|
3433
3433
|
"none",
|
|
3434
3434
|
O,
|
|
3435
|
-
|
|
3435
|
+
k
|
|
3436
3436
|
]
|
|
3437
3437
|
}],
|
|
3438
3438
|
/**
|
|
@@ -3447,56 +3447,56 @@ const se = (e) => {
|
|
|
3447
3447
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3448
3448
|
*/
|
|
3449
3449
|
"backdrop-brightness": [{
|
|
3450
|
-
"backdrop-brightness": [z, O,
|
|
3450
|
+
"backdrop-brightness": [z, O, k]
|
|
3451
3451
|
}],
|
|
3452
3452
|
/**
|
|
3453
3453
|
* Backdrop Contrast
|
|
3454
3454
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3455
3455
|
*/
|
|
3456
3456
|
"backdrop-contrast": [{
|
|
3457
|
-
"backdrop-contrast": [z, O,
|
|
3457
|
+
"backdrop-contrast": [z, O, k]
|
|
3458
3458
|
}],
|
|
3459
3459
|
/**
|
|
3460
3460
|
* Backdrop Grayscale
|
|
3461
3461
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3462
3462
|
*/
|
|
3463
3463
|
"backdrop-grayscale": [{
|
|
3464
|
-
"backdrop-grayscale": ["", z, O,
|
|
3464
|
+
"backdrop-grayscale": ["", z, O, k]
|
|
3465
3465
|
}],
|
|
3466
3466
|
/**
|
|
3467
3467
|
* Backdrop Hue Rotate
|
|
3468
3468
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3469
3469
|
*/
|
|
3470
3470
|
"backdrop-hue-rotate": [{
|
|
3471
|
-
"backdrop-hue-rotate": [z, O,
|
|
3471
|
+
"backdrop-hue-rotate": [z, O, k]
|
|
3472
3472
|
}],
|
|
3473
3473
|
/**
|
|
3474
3474
|
* Backdrop Invert
|
|
3475
3475
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3476
3476
|
*/
|
|
3477
3477
|
"backdrop-invert": [{
|
|
3478
|
-
"backdrop-invert": ["", z, O,
|
|
3478
|
+
"backdrop-invert": ["", z, O, k]
|
|
3479
3479
|
}],
|
|
3480
3480
|
/**
|
|
3481
3481
|
* Backdrop Opacity
|
|
3482
3482
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3483
3483
|
*/
|
|
3484
3484
|
"backdrop-opacity": [{
|
|
3485
|
-
"backdrop-opacity": [z, O,
|
|
3485
|
+
"backdrop-opacity": [z, O, k]
|
|
3486
3486
|
}],
|
|
3487
3487
|
/**
|
|
3488
3488
|
* Backdrop Saturate
|
|
3489
3489
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3490
3490
|
*/
|
|
3491
3491
|
"backdrop-saturate": [{
|
|
3492
|
-
"backdrop-saturate": [z, O,
|
|
3492
|
+
"backdrop-saturate": [z, O, k]
|
|
3493
3493
|
}],
|
|
3494
3494
|
/**
|
|
3495
3495
|
* Backdrop Sepia
|
|
3496
3496
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3497
3497
|
*/
|
|
3498
3498
|
"backdrop-sepia": [{
|
|
3499
|
-
"backdrop-sepia": ["", z, O,
|
|
3499
|
+
"backdrop-sepia": ["", z, O, k]
|
|
3500
3500
|
}],
|
|
3501
3501
|
// --------------
|
|
3502
3502
|
// --- Tables ---
|
|
@@ -3551,7 +3551,7 @@ const se = (e) => {
|
|
|
3551
3551
|
* @see https://tailwindcss.com/docs/transition-property
|
|
3552
3552
|
*/
|
|
3553
3553
|
transition: [{
|
|
3554
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", O,
|
|
3554
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", O, k]
|
|
3555
3555
|
}],
|
|
3556
3556
|
/**
|
|
3557
3557
|
* Transition Behavior
|
|
@@ -3565,28 +3565,28 @@ const se = (e) => {
|
|
|
3565
3565
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3566
3566
|
*/
|
|
3567
3567
|
duration: [{
|
|
3568
|
-
duration: [z, "initial", O,
|
|
3568
|
+
duration: [z, "initial", O, k]
|
|
3569
3569
|
}],
|
|
3570
3570
|
/**
|
|
3571
3571
|
* Transition Timing Function
|
|
3572
3572
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3573
3573
|
*/
|
|
3574
3574
|
ease: [{
|
|
3575
|
-
ease: ["linear", "initial", v, O,
|
|
3575
|
+
ease: ["linear", "initial", v, O, k]
|
|
3576
3576
|
}],
|
|
3577
3577
|
/**
|
|
3578
3578
|
* Transition Delay
|
|
3579
3579
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3580
3580
|
*/
|
|
3581
3581
|
delay: [{
|
|
3582
|
-
delay: [z, O,
|
|
3582
|
+
delay: [z, O, k]
|
|
3583
3583
|
}],
|
|
3584
3584
|
/**
|
|
3585
3585
|
* Animation
|
|
3586
3586
|
* @see https://tailwindcss.com/docs/animation
|
|
3587
3587
|
*/
|
|
3588
3588
|
animate: [{
|
|
3589
|
-
animate: ["none", w, O,
|
|
3589
|
+
animate: ["none", w, O, k]
|
|
3590
3590
|
}],
|
|
3591
3591
|
// ------------------
|
|
3592
3592
|
// --- Transforms ---
|
|
@@ -3603,7 +3603,7 @@ const se = (e) => {
|
|
|
3603
3603
|
* @see https://tailwindcss.com/docs/perspective
|
|
3604
3604
|
*/
|
|
3605
3605
|
perspective: [{
|
|
3606
|
-
perspective: [g, O,
|
|
3606
|
+
perspective: [g, O, k]
|
|
3607
3607
|
}],
|
|
3608
3608
|
/**
|
|
3609
3609
|
* Perspective Origin
|
|
@@ -3699,7 +3699,7 @@ const se = (e) => {
|
|
|
3699
3699
|
* @see https://tailwindcss.com/docs/transform
|
|
3700
3700
|
*/
|
|
3701
3701
|
transform: [{
|
|
3702
|
-
transform: [O,
|
|
3702
|
+
transform: [O, k, "", "none", "gpu", "cpu"]
|
|
3703
3703
|
}],
|
|
3704
3704
|
/**
|
|
3705
3705
|
* Transform Origin
|
|
@@ -3784,7 +3784,7 @@ const se = (e) => {
|
|
|
3784
3784
|
* @see https://tailwindcss.com/docs/cursor
|
|
3785
3785
|
*/
|
|
3786
3786
|
cursor: [{
|
|
3787
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", O,
|
|
3787
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", O, k]
|
|
3788
3788
|
}],
|
|
3789
3789
|
/**
|
|
3790
3790
|
* Field Sizing
|
|
@@ -4006,7 +4006,7 @@ const se = (e) => {
|
|
|
4006
4006
|
* @see https://tailwindcss.com/docs/will-change
|
|
4007
4007
|
*/
|
|
4008
4008
|
"will-change": [{
|
|
4009
|
-
"will-change": ["auto", "scroll", "contents", "transform", O,
|
|
4009
|
+
"will-change": ["auto", "scroll", "contents", "transform", O, k]
|
|
4010
4010
|
}],
|
|
4011
4011
|
// -----------
|
|
4012
4012
|
// --- SVG ---
|
|
@@ -4023,7 +4023,7 @@ const se = (e) => {
|
|
|
4023
4023
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4024
4024
|
*/
|
|
4025
4025
|
"stroke-w": [{
|
|
4026
|
-
stroke: [z, gt, qe,
|
|
4026
|
+
stroke: [z, gt, qe, kn]
|
|
4027
4027
|
}],
|
|
4028
4028
|
/**
|
|
4029
4029
|
* Stroke
|
|
@@ -4330,20 +4330,20 @@ function Je(e, t = []) {
|
|
|
4330
4330
|
function r(s, a) {
|
|
4331
4331
|
const i = u.createContext(a), c = n.length;
|
|
4332
4332
|
n = [...n, a];
|
|
4333
|
-
const
|
|
4333
|
+
const f = (p) => {
|
|
4334
4334
|
var v;
|
|
4335
|
-
const { scope: m, children: h, ...b } =
|
|
4335
|
+
const { scope: m, children: h, ...b } = p, g = ((v = m == null ? void 0 : m[e]) == null ? void 0 : v[c]) || i, x = u.useMemo(() => b, Object.values(b));
|
|
4336
4336
|
return /* @__PURE__ */ l.jsx(g.Provider, { value: x, children: h });
|
|
4337
4337
|
};
|
|
4338
|
-
|
|
4339
|
-
function d(
|
|
4338
|
+
f.displayName = s + "Provider";
|
|
4339
|
+
function d(p, m) {
|
|
4340
4340
|
var g;
|
|
4341
4341
|
const h = ((g = m == null ? void 0 : m[e]) == null ? void 0 : g[c]) || i, b = u.useContext(h);
|
|
4342
4342
|
if (b) return b;
|
|
4343
4343
|
if (a !== void 0) return a;
|
|
4344
|
-
throw new Error(`\`${
|
|
4344
|
+
throw new Error(`\`${p}\` must be used within \`${s}\``);
|
|
4345
4345
|
}
|
|
4346
|
-
return [
|
|
4346
|
+
return [f, d];
|
|
4347
4347
|
}
|
|
4348
4348
|
const o = () => {
|
|
4349
4349
|
const s = n.map((a) => u.createContext(a));
|
|
@@ -4366,9 +4366,9 @@ function Xl(...e) {
|
|
|
4366
4366
|
scopeName: o.scopeName
|
|
4367
4367
|
}));
|
|
4368
4368
|
return function(s) {
|
|
4369
|
-
const a = r.reduce((i, { useScope: c, scopeName:
|
|
4370
|
-
const
|
|
4371
|
-
return { ...i, ...
|
|
4369
|
+
const a = r.reduce((i, { useScope: c, scopeName: f }) => {
|
|
4370
|
+
const p = c(s)[`__scope${f}`];
|
|
4371
|
+
return { ...i, ...p };
|
|
4372
4372
|
}, {});
|
|
4373
4373
|
return u.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
|
|
4374
4374
|
};
|
|
@@ -4399,24 +4399,24 @@ function Rt({
|
|
|
4399
4399
|
{
|
|
4400
4400
|
const d = u.useRef(e !== void 0);
|
|
4401
4401
|
u.useEffect(() => {
|
|
4402
|
-
const
|
|
4403
|
-
|
|
4404
|
-
`${r} is changing from ${
|
|
4402
|
+
const p = d.current;
|
|
4403
|
+
p !== i && console.warn(
|
|
4404
|
+
`${r} is changing from ${p ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
4405
4405
|
), d.current = i;
|
|
4406
4406
|
}, [i, r]);
|
|
4407
4407
|
}
|
|
4408
|
-
const
|
|
4408
|
+
const f = u.useCallback(
|
|
4409
4409
|
(d) => {
|
|
4410
|
-
var
|
|
4410
|
+
var p;
|
|
4411
4411
|
if (i) {
|
|
4412
4412
|
const m = tu(d) ? d(e) : d;
|
|
4413
|
-
m !== e && ((
|
|
4413
|
+
m !== e && ((p = a.current) == null || p.call(a, m));
|
|
4414
4414
|
} else
|
|
4415
4415
|
s(d);
|
|
4416
4416
|
},
|
|
4417
4417
|
[i, e, s, a]
|
|
4418
4418
|
);
|
|
4419
|
-
return [c,
|
|
4419
|
+
return [c, f];
|
|
4420
4420
|
}
|
|
4421
4421
|
function eu({
|
|
4422
4422
|
defaultProp: e,
|
|
@@ -4465,23 +4465,23 @@ var ru = "DismissableLayer", er = "dismissableLayer.update", ou = "dismissableLa
|
|
|
4465
4465
|
onInteractOutside: a,
|
|
4466
4466
|
onDismiss: i,
|
|
4467
4467
|
...c
|
|
4468
|
-
} = e,
|
|
4469
|
-
const C = M.target, D = [...
|
|
4468
|
+
} = e, f = u.useContext(xs), [d, p] = u.useState(null), m = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = u.useState({}), b = ae(t, (M) => p(M)), g = Array.from(f.layers), [x] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), v = g.indexOf(x), w = d ? g.indexOf(d) : -1, E = f.layersWithOutsidePointerEventsDisabled.size > 0, S = w >= v, R = cu((M) => {
|
|
4469
|
+
const C = M.target, D = [...f.branches].some((I) => I.contains(C));
|
|
4470
4470
|
!S || D || (o == null || o(M), a == null || a(M), M.defaultPrevented || i == null || i());
|
|
4471
4471
|
}, m), A = lu((M) => {
|
|
4472
4472
|
const C = M.target;
|
|
4473
|
-
[...
|
|
4473
|
+
[...f.branches].some((I) => I.contains(C)) || (s == null || s(M), a == null || a(M), M.defaultPrevented || i == null || i());
|
|
4474
4474
|
}, m);
|
|
4475
4475
|
return nu((M) => {
|
|
4476
|
-
w ===
|
|
4476
|
+
w === f.layers.size - 1 && (r == null || r(M), !M.defaultPrevented && i && (M.preventDefault(), i()));
|
|
4477
4477
|
}, m), u.useEffect(() => {
|
|
4478
4478
|
if (d)
|
|
4479
|
-
return n && (
|
|
4480
|
-
n &&
|
|
4479
|
+
return n && (f.layersWithOutsidePointerEventsDisabled.size === 0 && (go = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(d)), f.layers.add(d), vo(), () => {
|
|
4480
|
+
n && f.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = go);
|
|
4481
4481
|
};
|
|
4482
|
-
}, [d, m, n,
|
|
4483
|
-
d && (
|
|
4484
|
-
}, [d,
|
|
4482
|
+
}, [d, m, n, f]), u.useEffect(() => () => {
|
|
4483
|
+
d && (f.layers.delete(d), f.layersWithOutsidePointerEventsDisabled.delete(d), vo());
|
|
4484
|
+
}, [d, f]), u.useEffect(() => {
|
|
4485
4485
|
const M = () => h({});
|
|
4486
4486
|
return document.addEventListener(er, M), () => document.removeEventListener(er, M);
|
|
4487
4487
|
}, []), /* @__PURE__ */ l.jsx(
|
|
@@ -4525,11 +4525,11 @@ function cu(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4525
4525
|
ws(
|
|
4526
4526
|
ou,
|
|
4527
4527
|
n,
|
|
4528
|
-
|
|
4528
|
+
f,
|
|
4529
4529
|
{ discrete: !0 }
|
|
4530
4530
|
);
|
|
4531
4531
|
};
|
|
4532
|
-
const
|
|
4532
|
+
const f = { originalEvent: i };
|
|
4533
4533
|
i.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = c, t.addEventListener("click", o.current, { once: !0 })) : c();
|
|
4534
4534
|
} else
|
|
4535
4535
|
t.removeEventListener("click", o.current);
|
|
@@ -4574,7 +4574,7 @@ var On = "focusScope.autoFocusOnMount", Pn = "focusScope.autoFocusOnUnmount", bo
|
|
|
4574
4574
|
onMountAutoFocus: o,
|
|
4575
4575
|
onUnmountAutoFocus: s,
|
|
4576
4576
|
...a
|
|
4577
|
-
} = e, [i, c] = u.useState(null),
|
|
4577
|
+
} = e, [i, c] = u.useState(null), f = Me(o), d = Me(s), p = u.useRef(null), m = ae(t, (g) => c(g)), h = u.useRef({
|
|
4578
4578
|
paused: !1,
|
|
4579
4579
|
pause() {
|
|
4580
4580
|
this.paused = !0;
|
|
@@ -4588,11 +4588,11 @@ var On = "focusScope.autoFocusOnMount", Pn = "focusScope.autoFocusOnUnmount", bo
|
|
|
4588
4588
|
let g = function(E) {
|
|
4589
4589
|
if (h.paused || !i) return;
|
|
4590
4590
|
const S = E.target;
|
|
4591
|
-
i.contains(S) ?
|
|
4591
|
+
i.contains(S) ? p.current = S : We(p.current, { select: !0 });
|
|
4592
4592
|
}, x = function(E) {
|
|
4593
4593
|
if (h.paused || !i) return;
|
|
4594
4594
|
const S = E.relatedTarget;
|
|
4595
|
-
S !== null && (i.contains(S) || We(
|
|
4595
|
+
S !== null && (i.contains(S) || We(p.current, { select: !0 }));
|
|
4596
4596
|
}, v = function(E) {
|
|
4597
4597
|
if (document.activeElement === document.body)
|
|
4598
4598
|
for (const R of E)
|
|
@@ -4610,16 +4610,16 @@ var On = "focusScope.autoFocusOnMount", Pn = "focusScope.autoFocusOnUnmount", bo
|
|
|
4610
4610
|
const g = document.activeElement;
|
|
4611
4611
|
if (!i.contains(g)) {
|
|
4612
4612
|
const v = new CustomEvent(On, bo);
|
|
4613
|
-
i.addEventListener(On,
|
|
4613
|
+
i.addEventListener(On, f), i.dispatchEvent(v), v.defaultPrevented || (du(gu(ys(i)), { select: !0 }), document.activeElement === g && We(i));
|
|
4614
4614
|
}
|
|
4615
4615
|
return () => {
|
|
4616
|
-
i.removeEventListener(On,
|
|
4616
|
+
i.removeEventListener(On, f), setTimeout(() => {
|
|
4617
4617
|
const v = new CustomEvent(Pn, bo);
|
|
4618
4618
|
i.addEventListener(Pn, d), i.dispatchEvent(v), v.defaultPrevented || We(g ?? document.body, { select: !0 }), i.removeEventListener(Pn, d), wo.remove(h);
|
|
4619
4619
|
}, 0);
|
|
4620
4620
|
};
|
|
4621
4621
|
}
|
|
4622
|
-
}, [i,
|
|
4622
|
+
}, [i, f, d, h]);
|
|
4623
4623
|
const b = u.useCallback(
|
|
4624
4624
|
(g) => {
|
|
4625
4625
|
if (!n && !r || h.paused) return;
|
|
@@ -4727,37 +4727,37 @@ function xu(e) {
|
|
|
4727
4727
|
}
|
|
4728
4728
|
});
|
|
4729
4729
|
return u.useEffect(() => {
|
|
4730
|
-
const
|
|
4731
|
-
s.current = i === "mounted" ?
|
|
4730
|
+
const f = Ft(r.current);
|
|
4731
|
+
s.current = i === "mounted" ? f : "none";
|
|
4732
4732
|
}, [i]), Ge(() => {
|
|
4733
|
-
const
|
|
4733
|
+
const f = r.current, d = o.current;
|
|
4734
4734
|
if (d !== e) {
|
|
4735
|
-
const m = s.current, h = Ft(
|
|
4736
|
-
e ? c("MOUNT") : h === "none" || (
|
|
4735
|
+
const m = s.current, h = Ft(f);
|
|
4736
|
+
e ? c("MOUNT") : h === "none" || (f == null ? void 0 : f.display) === "none" ? c("UNMOUNT") : c(d && m !== h ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
|
|
4737
4737
|
}
|
|
4738
4738
|
}, [e, c]), Ge(() => {
|
|
4739
4739
|
if (t) {
|
|
4740
|
-
let
|
|
4741
|
-
const d = t.ownerDocument.defaultView ?? window,
|
|
4740
|
+
let f;
|
|
4741
|
+
const d = t.ownerDocument.defaultView ?? window, p = (h) => {
|
|
4742
4742
|
const g = Ft(r.current).includes(h.animationName);
|
|
4743
4743
|
if (h.target === t && g && (c("ANIMATION_END"), !o.current)) {
|
|
4744
4744
|
const x = t.style.animationFillMode;
|
|
4745
|
-
t.style.animationFillMode = "forwards",
|
|
4745
|
+
t.style.animationFillMode = "forwards", f = d.setTimeout(() => {
|
|
4746
4746
|
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = x);
|
|
4747
4747
|
});
|
|
4748
4748
|
}
|
|
4749
4749
|
}, m = (h) => {
|
|
4750
4750
|
h.target === t && (s.current = Ft(r.current));
|
|
4751
4751
|
};
|
|
4752
|
-
return t.addEventListener("animationstart", m), t.addEventListener("animationcancel",
|
|
4753
|
-
d.clearTimeout(
|
|
4752
|
+
return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
|
|
4753
|
+
d.clearTimeout(f), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
|
|
4754
4754
|
};
|
|
4755
4755
|
} else
|
|
4756
4756
|
c("ANIMATION_END");
|
|
4757
4757
|
}, [t, c]), {
|
|
4758
4758
|
isPresent: ["mounted", "unmountSuspended"].includes(i),
|
|
4759
|
-
ref: u.useCallback((
|
|
4760
|
-
r.current =
|
|
4759
|
+
ref: u.useCallback((f) => {
|
|
4760
|
+
r.current = f ? getComputedStyle(f) : null, n(f);
|
|
4761
4761
|
}, [])
|
|
4762
4762
|
};
|
|
4763
4763
|
}
|
|
@@ -4892,12 +4892,12 @@ function Au(e, t) {
|
|
|
4892
4892
|
var c = function() {
|
|
4893
4893
|
var d = a;
|
|
4894
4894
|
a = [], d.forEach(s);
|
|
4895
|
-
},
|
|
4895
|
+
}, f = function() {
|
|
4896
4896
|
return Promise.resolve().then(c);
|
|
4897
4897
|
};
|
|
4898
|
-
|
|
4898
|
+
f(), n = {
|
|
4899
4899
|
push: function(d) {
|
|
4900
|
-
a.push(d),
|
|
4900
|
+
a.push(d), f();
|
|
4901
4901
|
},
|
|
4902
4902
|
filter: function(d) {
|
|
4903
4903
|
return a = a.filter(d), n;
|
|
@@ -4922,7 +4922,7 @@ var Ss = function(e) {
|
|
|
4922
4922
|
return u.createElement(r, Se({}, n));
|
|
4923
4923
|
};
|
|
4924
4924
|
Ss.isSideCarExport = !0;
|
|
4925
|
-
function
|
|
4925
|
+
function Nu(e, t) {
|
|
4926
4926
|
return e.useMedium(t), Ss;
|
|
4927
4927
|
}
|
|
4928
4928
|
var Rs = Tu(), jn = function() {
|
|
@@ -4931,11 +4931,11 @@ var Rs = Tu(), jn = function() {
|
|
|
4931
4931
|
onScrollCapture: jn,
|
|
4932
4932
|
onWheelCapture: jn,
|
|
4933
4933
|
onTouchMoveCapture: jn
|
|
4934
|
-
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className,
|
|
4934
|
+
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, f = e.removeScrollBar, d = e.enabled, p = e.shards, m = e.sideCar, h = e.noRelative, b = e.noIsolation, g = e.inert, x = e.allowPinchZoom, v = e.as, w = v === void 0 ? "div" : v, E = e.gapMode, S = Es(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = m, A = _u([n, t]), M = Se(Se({}, S), o);
|
|
4935
4935
|
return u.createElement(
|
|
4936
4936
|
u.Fragment,
|
|
4937
4937
|
null,
|
|
4938
|
-
d && u.createElement(R, { sideCar: Rs, removeScrollBar:
|
|
4938
|
+
d && u.createElement(R, { sideCar: Rs, removeScrollBar: f, shards: p, noRelative: h, noIsolation: b, inert: g, setCallbacks: s, allowPinchZoom: !!x, lockRef: n, gapMode: E }),
|
|
4939
4939
|
a ? u.cloneElement(u.Children.only(i), Se(Se({}, M), { ref: A })) : u.createElement(w, Se({}, M, { className: c, ref: A }), i)
|
|
4940
4940
|
);
|
|
4941
4941
|
});
|
|
@@ -4948,7 +4948,7 @@ cn.classNames = {
|
|
|
4948
4948
|
fullWidth: Ut,
|
|
4949
4949
|
zeroRight: Gt
|
|
4950
4950
|
};
|
|
4951
|
-
var
|
|
4951
|
+
var ku = function() {
|
|
4952
4952
|
if (typeof __webpack_nonce__ < "u")
|
|
4953
4953
|
return __webpack_nonce__;
|
|
4954
4954
|
};
|
|
@@ -4957,7 +4957,7 @@ function Ou() {
|
|
|
4957
4957
|
return null;
|
|
4958
4958
|
var e = document.createElement("style");
|
|
4959
4959
|
e.type = "text/css";
|
|
4960
|
-
var t =
|
|
4960
|
+
var t = ku();
|
|
4961
4961
|
return t && e.setAttribute("nonce", t), e;
|
|
4962
4962
|
}
|
|
4963
4963
|
function Pu(e, t) {
|
|
@@ -5134,12 +5134,12 @@ var tt = tr ? { passive: !1 } : !1, Bu = function(e) {
|
|
|
5134
5134
|
}, qu = function(e, t) {
|
|
5135
5135
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
5136
5136
|
}, Xu = function(e, t, n, r, o) {
|
|
5137
|
-
var s = qu(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i),
|
|
5137
|
+
var s = qu(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), f = !1, d = a > 0, p = 0, m = 0;
|
|
5138
5138
|
do {
|
|
5139
5139
|
if (!i)
|
|
5140
5140
|
break;
|
|
5141
5141
|
var h = Ts(e, i), b = h[0], g = h[1], x = h[2], v = g - x - s * b;
|
|
5142
|
-
(b || v) && As(e, i) && (
|
|
5142
|
+
(b || v) && As(e, i) && (p += v, m += b);
|
|
5143
5143
|
var w = i.parentNode;
|
|
5144
5144
|
i = w && w.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? w.host : w;
|
|
5145
5145
|
} while (
|
|
@@ -5147,7 +5147,7 @@ var tt = tr ? { passive: !1 } : !1, Bu = function(e) {
|
|
|
5147
5147
|
!c && i !== document.body || // self content
|
|
5148
5148
|
c && (t.contains(i) || t === i)
|
|
5149
5149
|
);
|
|
5150
|
-
return (d && Math.abs(
|
|
5150
|
+
return (d && Math.abs(p) < 1 || !d && Math.abs(m) < 1) && (f = !0), f;
|
|
5151
5151
|
}, Vt = function(e) {
|
|
5152
5152
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
5153
5153
|
}, _o = function(e) {
|
|
@@ -5211,7 +5211,7 @@ function ed(e) {
|
|
|
5211
5211
|
S && x.cancelable && x.preventDefault();
|
|
5212
5212
|
}
|
|
5213
5213
|
}
|
|
5214
|
-
}, []),
|
|
5214
|
+
}, []), f = u.useCallback(function(g, x, v, w) {
|
|
5215
5215
|
var E = { name: g, delta: x, target: v, should: w, shadowParent: td(v) };
|
|
5216
5216
|
t.current.push(E), setTimeout(function() {
|
|
5217
5217
|
t.current = t.current.filter(function(S) {
|
|
@@ -5220,15 +5220,15 @@ function ed(e) {
|
|
|
5220
5220
|
}, 1);
|
|
5221
5221
|
}, []), d = u.useCallback(function(g) {
|
|
5222
5222
|
n.current = Vt(g), r.current = void 0;
|
|
5223
|
-
}, []),
|
|
5224
|
-
|
|
5223
|
+
}, []), p = u.useCallback(function(g) {
|
|
5224
|
+
f(g.type, _o(g), g.target, i(g, e.lockRef.current));
|
|
5225
5225
|
}, []), m = u.useCallback(function(g) {
|
|
5226
|
-
|
|
5226
|
+
f(g.type, Vt(g), g.target, i(g, e.lockRef.current));
|
|
5227
5227
|
}, []);
|
|
5228
5228
|
u.useEffect(function() {
|
|
5229
5229
|
return nt.push(s), e.setCallbacks({
|
|
5230
|
-
onScrollCapture:
|
|
5231
|
-
onWheelCapture:
|
|
5230
|
+
onScrollCapture: p,
|
|
5231
|
+
onWheelCapture: p,
|
|
5232
5232
|
onTouchMoveCapture: m
|
|
5233
5233
|
}), document.addEventListener("wheel", c, tt), document.addEventListener("touchmove", c, tt), document.addEventListener("touchstart", d, tt), function() {
|
|
5234
5234
|
nt = nt.filter(function(g) {
|
|
@@ -5249,7 +5249,7 @@ function td(e) {
|
|
|
5249
5249
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
5250
5250
|
return t;
|
|
5251
5251
|
}
|
|
5252
|
-
const nd =
|
|
5252
|
+
const nd = Nu(Rs, ed);
|
|
5253
5253
|
var xr = u.forwardRef(function(e, t) {
|
|
5254
5254
|
return u.createElement(cn, Se({}, e, { ref: t, sideCar: nd }));
|
|
5255
5255
|
});
|
|
@@ -5259,13 +5259,13 @@ var rd = function(e) {
|
|
|
5259
5259
|
return null;
|
|
5260
5260
|
var t = Array.isArray(e) ? e[0] : e;
|
|
5261
5261
|
return t.ownerDocument.body;
|
|
5262
|
-
}, rt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), zt = {}, Fn = 0,
|
|
5263
|
-
return e && (e.host ||
|
|
5262
|
+
}, rt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), zt = {}, Fn = 0, Ns = function(e) {
|
|
5263
|
+
return e && (e.host || Ns(e.parentNode));
|
|
5264
5264
|
}, od = function(e, t) {
|
|
5265
5265
|
return t.map(function(n) {
|
|
5266
5266
|
if (e.contains(n))
|
|
5267
5267
|
return n;
|
|
5268
|
-
var r =
|
|
5268
|
+
var r = Ns(n);
|
|
5269
5269
|
return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
5270
5270
|
}).filter(function(n) {
|
|
5271
5271
|
return !!n;
|
|
@@ -5273,12 +5273,12 @@ var rd = function(e) {
|
|
|
5273
5273
|
}, sd = function(e, t, n, r) {
|
|
5274
5274
|
var o = od(t, Array.isArray(e) ? e : [e]);
|
|
5275
5275
|
zt[n] || (zt[n] = /* @__PURE__ */ new WeakMap());
|
|
5276
|
-
var s = zt[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(o),
|
|
5277
|
-
!
|
|
5276
|
+
var s = zt[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(o), f = function(p) {
|
|
5277
|
+
!p || i.has(p) || (i.add(p), f(p.parentNode));
|
|
5278
5278
|
};
|
|
5279
|
-
o.forEach(
|
|
5280
|
-
var d = function(
|
|
5281
|
-
!
|
|
5279
|
+
o.forEach(f);
|
|
5280
|
+
var d = function(p) {
|
|
5281
|
+
!p || c.has(p) || Array.prototype.forEach.call(p.children, function(m) {
|
|
5282
5282
|
if (i.has(m))
|
|
5283
5283
|
d(m);
|
|
5284
5284
|
else
|
|
@@ -5291,12 +5291,12 @@ var rd = function(e) {
|
|
|
5291
5291
|
});
|
|
5292
5292
|
};
|
|
5293
5293
|
return d(t), i.clear(), Fn++, function() {
|
|
5294
|
-
a.forEach(function(
|
|
5295
|
-
var m = rt.get(
|
|
5296
|
-
rt.set(
|
|
5294
|
+
a.forEach(function(p) {
|
|
5295
|
+
var m = rt.get(p) - 1, h = s.get(p) - 1;
|
|
5296
|
+
rt.set(p, m), s.set(p, h), m || (Ht.has(p) || p.removeAttribute(r), Ht.delete(p)), h || p.removeAttribute(n);
|
|
5297
5297
|
}), Fn--, Fn || (rt = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), zt = {});
|
|
5298
5298
|
};
|
|
5299
|
-
},
|
|
5299
|
+
}, ks = function(e, t, n) {
|
|
5300
5300
|
n === void 0 && (n = "data-aria-hidden");
|
|
5301
5301
|
var r = Array.from(Array.isArray(e) ? e : [e]), o = rd(e);
|
|
5302
5302
|
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), sd(r, o, n, "aria-hidden")) : function() {
|
|
@@ -5310,7 +5310,7 @@ var rd = function(e) {
|
|
|
5310
5310
|
defaultOpen: o,
|
|
5311
5311
|
onOpenChange: s,
|
|
5312
5312
|
modal: a = !0
|
|
5313
|
-
} = e, i = u.useRef(null), c = u.useRef(null), [
|
|
5313
|
+
} = e, i = u.useRef(null), c = u.useRef(null), [f, d] = Rt({
|
|
5314
5314
|
prop: r,
|
|
5315
5315
|
defaultProp: o ?? !1,
|
|
5316
5316
|
onChange: s,
|
|
@@ -5325,9 +5325,9 @@ var rd = function(e) {
|
|
|
5325
5325
|
contentId: De(),
|
|
5326
5326
|
titleId: De(),
|
|
5327
5327
|
descriptionId: De(),
|
|
5328
|
-
open:
|
|
5328
|
+
open: f,
|
|
5329
5329
|
onOpenChange: d,
|
|
5330
|
-
onOpenToggle: u.useCallback(() => d((
|
|
5330
|
+
onOpenToggle: u.useCallback(() => d((p) => !p), [d]),
|
|
5331
5331
|
modal: a,
|
|
5332
5332
|
children: n
|
|
5333
5333
|
}
|
|
@@ -5396,7 +5396,7 @@ var ud = u.forwardRef(
|
|
|
5396
5396
|
const n = Ee(Xe, e.__scopeDialog), r = u.useRef(null), o = ae(t, n.contentRef, r);
|
|
5397
5397
|
return u.useEffect(() => {
|
|
5398
5398
|
const s = r.current;
|
|
5399
|
-
if (s) return
|
|
5399
|
+
if (s) return ks(s);
|
|
5400
5400
|
}, []), /* @__PURE__ */ l.jsx(
|
|
5401
5401
|
Vs,
|
|
5402
5402
|
{
|
|
@@ -5434,17 +5434,17 @@ var ud = u.forwardRef(
|
|
|
5434
5434
|
(a = e.onCloseAutoFocus) == null || a.call(e, s), s.defaultPrevented || (r.current || (i = n.triggerRef.current) == null || i.focus(), s.preventDefault()), r.current = !1, o.current = !1;
|
|
5435
5435
|
},
|
|
5436
5436
|
onInteractOutside: (s) => {
|
|
5437
|
-
var c,
|
|
5437
|
+
var c, f;
|
|
5438
5438
|
(c = e.onInteractOutside) == null || c.call(e, s), s.defaultPrevented || (r.current = !0, s.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
5439
5439
|
const a = s.target;
|
|
5440
|
-
((
|
|
5440
|
+
((f = n.triggerRef.current) == null ? void 0 : f.contains(a)) && s.preventDefault(), s.detail.originalEvent.type === "focusin" && o.current && s.preventDefault();
|
|
5441
5441
|
}
|
|
5442
5442
|
}
|
|
5443
5443
|
);
|
|
5444
5444
|
}
|
|
5445
5445
|
), Vs = u.forwardRef(
|
|
5446
5446
|
(e, t) => {
|
|
5447
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...a } = e, i = Ee(Xe, n), c = u.useRef(null),
|
|
5447
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...a } = e, i = Ee(Xe, n), c = u.useRef(null), f = ae(t, c);
|
|
5448
5448
|
return Cs(), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
5449
5449
|
/* @__PURE__ */ l.jsx(
|
|
5450
5450
|
vr,
|
|
@@ -5463,7 +5463,7 @@ var ud = u.forwardRef(
|
|
|
5463
5463
|
"aria-labelledby": i.titleId,
|
|
5464
5464
|
"data-state": Cr(i.open),
|
|
5465
5465
|
...a,
|
|
5466
|
-
ref:
|
|
5466
|
+
ref: f,
|
|
5467
5467
|
onDismiss: () => i.onOpenChange(!1)
|
|
5468
5468
|
}
|
|
5469
5469
|
)
|
|
@@ -5742,7 +5742,7 @@ function To(e, t, n) {
|
|
|
5742
5742
|
reference: r,
|
|
5743
5743
|
floating: o
|
|
5744
5744
|
} = e;
|
|
5745
|
-
const s = Re(t), a = Rr(t), i = Sr(a), c = Le(t),
|
|
5745
|
+
const s = Re(t), a = Rr(t), i = Sr(a), c = Le(t), f = s === "y", d = r.x + r.width / 2 - o.width / 2, p = r.y + r.height / 2 - o.height / 2, m = r[i] / 2 - o[i] / 2;
|
|
5746
5746
|
let h;
|
|
5747
5747
|
switch (c) {
|
|
5748
5748
|
case "top":
|
|
@@ -5760,13 +5760,13 @@ function To(e, t, n) {
|
|
|
5760
5760
|
case "right":
|
|
5761
5761
|
h = {
|
|
5762
5762
|
x: r.x + r.width,
|
|
5763
|
-
y:
|
|
5763
|
+
y: p
|
|
5764
5764
|
};
|
|
5765
5765
|
break;
|
|
5766
5766
|
case "left":
|
|
5767
5767
|
h = {
|
|
5768
5768
|
x: r.x - o.width,
|
|
5769
|
-
y:
|
|
5769
|
+
y: p
|
|
5770
5770
|
};
|
|
5771
5771
|
break;
|
|
5772
5772
|
default:
|
|
@@ -5777,29 +5777,29 @@ function To(e, t, n) {
|
|
|
5777
5777
|
}
|
|
5778
5778
|
switch (ft(t)) {
|
|
5779
5779
|
case "start":
|
|
5780
|
-
h[a] -= m * (n &&
|
|
5780
|
+
h[a] -= m * (n && f ? -1 : 1);
|
|
5781
5781
|
break;
|
|
5782
5782
|
case "end":
|
|
5783
|
-
h[a] += m * (n &&
|
|
5783
|
+
h[a] += m * (n && f ? -1 : 1);
|
|
5784
5784
|
break;
|
|
5785
5785
|
}
|
|
5786
5786
|
return h;
|
|
5787
5787
|
}
|
|
5788
|
-
const
|
|
5788
|
+
const Nd = async (e, t, n) => {
|
|
5789
5789
|
const {
|
|
5790
5790
|
placement: r = "bottom",
|
|
5791
5791
|
strategy: o = "absolute",
|
|
5792
5792
|
middleware: s = [],
|
|
5793
5793
|
platform: a
|
|
5794
5794
|
} = n, i = s.filter(Boolean), c = await (a.isRTL == null ? void 0 : a.isRTL(t));
|
|
5795
|
-
let
|
|
5795
|
+
let f = await a.getElementRects({
|
|
5796
5796
|
reference: e,
|
|
5797
5797
|
floating: t,
|
|
5798
5798
|
strategy: o
|
|
5799
5799
|
}), {
|
|
5800
5800
|
x: d,
|
|
5801
|
-
y:
|
|
5802
|
-
} = To(
|
|
5801
|
+
y: p
|
|
5802
|
+
} = To(f, r, c), m = r, h = {}, b = 0;
|
|
5803
5803
|
for (let g = 0; g < i.length; g++) {
|
|
5804
5804
|
const {
|
|
5805
5805
|
name: x,
|
|
@@ -5811,36 +5811,36 @@ const kd = async (e, t, n) => {
|
|
|
5811
5811
|
reset: R
|
|
5812
5812
|
} = await v({
|
|
5813
5813
|
x: d,
|
|
5814
|
-
y:
|
|
5814
|
+
y: p,
|
|
5815
5815
|
initialPlacement: r,
|
|
5816
5816
|
placement: m,
|
|
5817
5817
|
strategy: o,
|
|
5818
5818
|
middlewareData: h,
|
|
5819
|
-
rects:
|
|
5819
|
+
rects: f,
|
|
5820
5820
|
platform: a,
|
|
5821
5821
|
elements: {
|
|
5822
5822
|
reference: e,
|
|
5823
5823
|
floating: t
|
|
5824
5824
|
}
|
|
5825
5825
|
});
|
|
5826
|
-
d = w ?? d,
|
|
5826
|
+
d = w ?? d, p = E ?? p, h = {
|
|
5827
5827
|
...h,
|
|
5828
5828
|
[x]: {
|
|
5829
5829
|
...h[x],
|
|
5830
5830
|
...S
|
|
5831
5831
|
}
|
|
5832
|
-
}, R && b <= 50 && (b++, typeof R == "object" && (R.placement && (m = R.placement), R.rects && (
|
|
5832
|
+
}, R && b <= 50 && (b++, typeof R == "object" && (R.placement && (m = R.placement), R.rects && (f = R.rects === !0 ? await a.getElementRects({
|
|
5833
5833
|
reference: e,
|
|
5834
5834
|
floating: t,
|
|
5835
5835
|
strategy: o
|
|
5836
5836
|
}) : R.rects), {
|
|
5837
5837
|
x: d,
|
|
5838
|
-
y:
|
|
5839
|
-
} = To(
|
|
5838
|
+
y: p
|
|
5839
|
+
} = To(f, m, c)), g = -1);
|
|
5840
5840
|
}
|
|
5841
5841
|
return {
|
|
5842
5842
|
x: d,
|
|
5843
|
-
y:
|
|
5843
|
+
y: p,
|
|
5844
5844
|
placement: m,
|
|
5845
5845
|
strategy: o,
|
|
5846
5846
|
middlewareData: h
|
|
@@ -5857,17 +5857,17 @@ async function xt(e, t) {
|
|
|
5857
5857
|
elements: i,
|
|
5858
5858
|
strategy: c
|
|
5859
5859
|
} = e, {
|
|
5860
|
-
boundary:
|
|
5860
|
+
boundary: f = "clippingAncestors",
|
|
5861
5861
|
rootBoundary: d = "viewport",
|
|
5862
|
-
elementContext:
|
|
5862
|
+
elementContext: p = "floating",
|
|
5863
5863
|
altBoundary: m = !1,
|
|
5864
5864
|
padding: h = 0
|
|
5865
|
-
} = je(t, e), b = oa(h), x = i[m ?
|
|
5865
|
+
} = je(t, e), b = oa(h), x = i[m ? p === "floating" ? "reference" : "floating" : p], v = Qt(await s.getClippingRect({
|
|
5866
5866
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(x))) == null || n ? x : x.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
|
|
5867
|
-
boundary:
|
|
5867
|
+
boundary: f,
|
|
5868
5868
|
rootBoundary: d,
|
|
5869
5869
|
strategy: c
|
|
5870
|
-
})), w =
|
|
5870
|
+
})), w = p === "floating" ? {
|
|
5871
5871
|
x: r,
|
|
5872
5872
|
y: o,
|
|
5873
5873
|
width: a.floating.width,
|
|
@@ -5891,7 +5891,7 @@ async function xt(e, t) {
|
|
|
5891
5891
|
right: (R.right - v.right + b.right) / S.x
|
|
5892
5892
|
};
|
|
5893
5893
|
}
|
|
5894
|
-
const
|
|
5894
|
+
const kd = (e) => ({
|
|
5895
5895
|
name: "arrow",
|
|
5896
5896
|
options: e,
|
|
5897
5897
|
async fn(t) {
|
|
@@ -5904,18 +5904,18 @@ const Nd = (e) => ({
|
|
|
5904
5904
|
elements: i,
|
|
5905
5905
|
middlewareData: c
|
|
5906
5906
|
} = t, {
|
|
5907
|
-
element:
|
|
5907
|
+
element: f,
|
|
5908
5908
|
padding: d = 0
|
|
5909
5909
|
} = je(e, t) || {};
|
|
5910
|
-
if (
|
|
5910
|
+
if (f == null)
|
|
5911
5911
|
return {};
|
|
5912
|
-
const
|
|
5912
|
+
const p = oa(d), m = {
|
|
5913
5913
|
x: n,
|
|
5914
5914
|
y: r
|
|
5915
|
-
}, h = Rr(o), b = Sr(h), g = await a.getDimensions(
|
|
5915
|
+
}, h = Rr(o), b = Sr(h), g = await a.getDimensions(f), x = h === "y", v = x ? "top" : "left", w = x ? "bottom" : "right", E = x ? "clientHeight" : "clientWidth", S = s.reference[b] + s.reference[h] - m[h] - s.floating[b], R = m[h] - s.reference[h], A = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(f));
|
|
5916
5916
|
let M = A ? A[E] : 0;
|
|
5917
5917
|
(!M || !await (a.isElement == null ? void 0 : a.isElement(A))) && (M = i.floating[E] || s.floating[b]);
|
|
5918
|
-
const C = S / 2 - R / 2, D = M / 2 - g[b] / 2 - 1, I = Ue(
|
|
5918
|
+
const C = S / 2 - R / 2, D = M / 2 - g[b] / 2 - 1, I = Ue(p[v], D), B = Ue(p[w], D), W = I, V = M - g[b] - B, H = M / 2 - g[b] / 2 + C, Y = nr(W, H, V), L = !c.arrow && ft(o) != null && H !== Y && s.reference[b] / 2 - (H < W ? I : B) - g[b] / 2 < 0, G = L ? H < W ? H - W : H - V : 0;
|
|
5919
5919
|
return {
|
|
5920
5920
|
[h]: m[h] + G,
|
|
5921
5921
|
data: {
|
|
@@ -5940,10 +5940,10 @@ const Nd = (e) => ({
|
|
|
5940
5940
|
rects: a,
|
|
5941
5941
|
initialPlacement: i,
|
|
5942
5942
|
platform: c,
|
|
5943
|
-
elements:
|
|
5943
|
+
elements: f
|
|
5944
5944
|
} = t, {
|
|
5945
5945
|
mainAxis: d = !0,
|
|
5946
|
-
crossAxis:
|
|
5946
|
+
crossAxis: p = !0,
|
|
5947
5947
|
fallbackPlacements: m,
|
|
5948
5948
|
fallbackStrategy: h = "bestFit",
|
|
5949
5949
|
fallbackAxisSideDirection: b = "none",
|
|
@@ -5952,11 +5952,11 @@ const Nd = (e) => ({
|
|
|
5952
5952
|
} = je(e, t);
|
|
5953
5953
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
5954
5954
|
return {};
|
|
5955
|
-
const v = Le(o), w = Re(i), E = Le(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(
|
|
5955
|
+
const v = Le(o), w = Re(i), E = Le(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), R = m || (E || !g ? [Jt(i)] : _d(i)), A = b !== "none";
|
|
5956
5956
|
!m && A && R.push(...Ad(i, g, b, S));
|
|
5957
5957
|
const M = [i, ...R], C = await xt(t, x), D = [];
|
|
5958
5958
|
let I = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
5959
|
-
if (d && D.push(C[v]),
|
|
5959
|
+
if (d && D.push(C[v]), p) {
|
|
5960
5960
|
const H = Rd(o, a, S);
|
|
5961
5961
|
D.push(C[H[0]], C[H[1]]);
|
|
5962
5962
|
}
|
|
@@ -5966,7 +5966,7 @@ const Nd = (e) => ({
|
|
|
5966
5966
|
}], !D.every((H) => H <= 0)) {
|
|
5967
5967
|
var B, W;
|
|
5968
5968
|
const H = (((B = s.flip) == null ? void 0 : B.index) || 0) + 1, Y = M[H];
|
|
5969
|
-
if (Y && (!(
|
|
5969
|
+
if (Y && (!(p === "alignment" ? w !== Re(Y) : !1) || // We leave the current main axis only if every placement on that axis
|
|
5970
5970
|
// overflows the main axis.
|
|
5971
5971
|
I.every((_) => _.overflows[0] > 0 && Re(_.placement) === w)))
|
|
5972
5972
|
return {
|
|
@@ -6010,7 +6010,7 @@ const Nd = (e) => ({
|
|
|
6010
6010
|
}
|
|
6011
6011
|
};
|
|
6012
6012
|
};
|
|
6013
|
-
function
|
|
6013
|
+
function No(e, t) {
|
|
6014
6014
|
return {
|
|
6015
6015
|
top: e.top - t.height,
|
|
6016
6016
|
right: e.right - t.width,
|
|
@@ -6018,7 +6018,7 @@ function ko(e, t) {
|
|
|
6018
6018
|
left: e.left - t.width
|
|
6019
6019
|
};
|
|
6020
6020
|
}
|
|
6021
|
-
function
|
|
6021
|
+
function ko(e) {
|
|
6022
6022
|
return Cd.some((t) => e[t] >= 0);
|
|
6023
6023
|
}
|
|
6024
6024
|
const Pd = function(e) {
|
|
@@ -6037,11 +6037,11 @@ const Pd = function(e) {
|
|
|
6037
6037
|
const s = await xt(t, {
|
|
6038
6038
|
...o,
|
|
6039
6039
|
elementContext: "reference"
|
|
6040
|
-
}), a =
|
|
6040
|
+
}), a = No(s, n.reference);
|
|
6041
6041
|
return {
|
|
6042
6042
|
data: {
|
|
6043
6043
|
referenceHiddenOffsets: a,
|
|
6044
|
-
referenceHidden:
|
|
6044
|
+
referenceHidden: ko(a)
|
|
6045
6045
|
}
|
|
6046
6046
|
};
|
|
6047
6047
|
}
|
|
@@ -6049,11 +6049,11 @@ const Pd = function(e) {
|
|
|
6049
6049
|
const s = await xt(t, {
|
|
6050
6050
|
...o,
|
|
6051
6051
|
altBoundary: !0
|
|
6052
|
-
}), a =
|
|
6052
|
+
}), a = No(s, n.floating);
|
|
6053
6053
|
return {
|
|
6054
6054
|
data: {
|
|
6055
6055
|
escapedOffsets: a,
|
|
6056
|
-
escaped:
|
|
6056
|
+
escaped: ko(a)
|
|
6057
6057
|
}
|
|
6058
6058
|
};
|
|
6059
6059
|
}
|
|
@@ -6068,25 +6068,25 @@ async function Dd(e, t) {
|
|
|
6068
6068
|
placement: n,
|
|
6069
6069
|
platform: r,
|
|
6070
6070
|
elements: o
|
|
6071
|
-
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Le(n), i = ft(n), c = Re(n) === "y",
|
|
6071
|
+
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Le(n), i = ft(n), c = Re(n) === "y", f = ["left", "top"].includes(a) ? -1 : 1, d = s && c ? -1 : 1, p = je(t, e);
|
|
6072
6072
|
let {
|
|
6073
6073
|
mainAxis: m,
|
|
6074
6074
|
crossAxis: h,
|
|
6075
6075
|
alignmentAxis: b
|
|
6076
|
-
} = typeof
|
|
6077
|
-
mainAxis:
|
|
6076
|
+
} = typeof p == "number" ? {
|
|
6077
|
+
mainAxis: p,
|
|
6078
6078
|
crossAxis: 0,
|
|
6079
6079
|
alignmentAxis: null
|
|
6080
6080
|
} : {
|
|
6081
|
-
mainAxis:
|
|
6082
|
-
crossAxis:
|
|
6083
|
-
alignmentAxis:
|
|
6081
|
+
mainAxis: p.mainAxis || 0,
|
|
6082
|
+
crossAxis: p.crossAxis || 0,
|
|
6083
|
+
alignmentAxis: p.alignmentAxis
|
|
6084
6084
|
};
|
|
6085
6085
|
return i && typeof b == "number" && (h = i === "end" ? b * -1 : b), c ? {
|
|
6086
6086
|
x: h * d,
|
|
6087
|
-
y: m *
|
|
6087
|
+
y: m * f
|
|
6088
6088
|
} : {
|
|
6089
|
-
x: m *
|
|
6089
|
+
x: m * f,
|
|
6090
6090
|
y: h * d
|
|
6091
6091
|
};
|
|
6092
6092
|
}
|
|
@@ -6137,23 +6137,23 @@ const Id = function(e) {
|
|
|
6137
6137
|
}
|
|
6138
6138
|
},
|
|
6139
6139
|
...c
|
|
6140
|
-
} = je(e, t),
|
|
6140
|
+
} = je(e, t), f = {
|
|
6141
6141
|
x: n,
|
|
6142
6142
|
y: r
|
|
6143
|
-
}, d = await xt(t, c),
|
|
6144
|
-
let h =
|
|
6143
|
+
}, d = await xt(t, c), p = Re(Le(o)), m = Er(p);
|
|
6144
|
+
let h = f[m], b = f[p];
|
|
6145
6145
|
if (s) {
|
|
6146
6146
|
const x = m === "y" ? "top" : "left", v = m === "y" ? "bottom" : "right", w = h + d[x], E = h - d[v];
|
|
6147
6147
|
h = nr(w, h, E);
|
|
6148
6148
|
}
|
|
6149
6149
|
if (a) {
|
|
6150
|
-
const x =
|
|
6150
|
+
const x = p === "y" ? "top" : "left", v = p === "y" ? "bottom" : "right", w = b + d[x], E = b - d[v];
|
|
6151
6151
|
b = nr(w, b, E);
|
|
6152
6152
|
}
|
|
6153
6153
|
const g = i.fn({
|
|
6154
6154
|
...t,
|
|
6155
6155
|
[m]: h,
|
|
6156
|
-
[
|
|
6156
|
+
[p]: b
|
|
6157
6157
|
});
|
|
6158
6158
|
return {
|
|
6159
6159
|
...g,
|
|
@@ -6162,7 +6162,7 @@ const Id = function(e) {
|
|
|
6162
6162
|
y: g.y - r,
|
|
6163
6163
|
enabled: {
|
|
6164
6164
|
[m]: s,
|
|
6165
|
-
[
|
|
6165
|
+
[p]: a
|
|
6166
6166
|
}
|
|
6167
6167
|
}
|
|
6168
6168
|
};
|
|
@@ -6181,12 +6181,12 @@ const Id = function(e) {
|
|
|
6181
6181
|
} = t, {
|
|
6182
6182
|
offset: i = 0,
|
|
6183
6183
|
mainAxis: c = !0,
|
|
6184
|
-
crossAxis:
|
|
6184
|
+
crossAxis: f = !0
|
|
6185
6185
|
} = je(e, t), d = {
|
|
6186
6186
|
x: n,
|
|
6187
6187
|
y: r
|
|
6188
|
-
},
|
|
6189
|
-
let h = d[m], b = d[
|
|
6188
|
+
}, p = Re(o), m = Er(p);
|
|
6189
|
+
let h = d[m], b = d[p];
|
|
6190
6190
|
const g = je(i, t), x = typeof g == "number" ? {
|
|
6191
6191
|
mainAxis: g,
|
|
6192
6192
|
crossAxis: 0
|
|
@@ -6199,14 +6199,14 @@ const Id = function(e) {
|
|
|
6199
6199
|
const E = m === "y" ? "height" : "width", S = s.reference[m] - s.floating[E] + x.mainAxis, R = s.reference[m] + s.reference[E] - x.mainAxis;
|
|
6200
6200
|
h < S ? h = S : h > R && (h = R);
|
|
6201
6201
|
}
|
|
6202
|
-
if (
|
|
6202
|
+
if (f) {
|
|
6203
6203
|
var v, w;
|
|
6204
|
-
const E = m === "y" ? "width" : "height", S = ["top", "left"].includes(Le(o)), R = s.reference[
|
|
6204
|
+
const E = m === "y" ? "width" : "height", S = ["top", "left"].includes(Le(o)), R = s.reference[p] - s.floating[E] + (S && ((v = a.offset) == null ? void 0 : v[p]) || 0) + (S ? 0 : x.crossAxis), A = s.reference[p] + s.reference[E] + (S ? 0 : ((w = a.offset) == null ? void 0 : w[p]) || 0) - (S ? x.crossAxis : 0);
|
|
6205
6205
|
b < R ? b = R : b > A && (b = A);
|
|
6206
6206
|
}
|
|
6207
6207
|
return {
|
|
6208
6208
|
[m]: h,
|
|
6209
|
-
[
|
|
6209
|
+
[p]: b
|
|
6210
6210
|
};
|
|
6211
6211
|
}
|
|
6212
6212
|
};
|
|
@@ -6224,13 +6224,13 @@ const Id = function(e) {
|
|
|
6224
6224
|
} = t, {
|
|
6225
6225
|
apply: c = () => {
|
|
6226
6226
|
},
|
|
6227
|
-
...
|
|
6228
|
-
} = je(e, t), d = await xt(t,
|
|
6227
|
+
...f
|
|
6228
|
+
} = je(e, t), d = await xt(t, f), p = Le(o), m = ft(o), h = Re(o) === "y", {
|
|
6229
6229
|
width: b,
|
|
6230
6230
|
height: g
|
|
6231
6231
|
} = s.floating;
|
|
6232
6232
|
let x, v;
|
|
6233
|
-
|
|
6233
|
+
p === "top" || p === "bottom" ? (x = p, v = m === (await (a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = p, x = m === "end" ? "top" : "bottom");
|
|
6234
6234
|
const w = g - d.top - d.bottom, E = b - d.left - d.right, S = Ue(g - d[x], w), R = Ue(b - d[v], E), A = !t.middlewareData.shift;
|
|
6235
6235
|
let M = S, C = R;
|
|
6236
6236
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = E), (r = t.middlewareData.shift) != null && r.enabled.y && (M = w), A && !m) {
|
|
@@ -6405,20 +6405,20 @@ function Ze(e, t, n, r) {
|
|
|
6405
6405
|
let a = _e(1);
|
|
6406
6406
|
t && (r ? ye(r) && (a = st(r)) : a = st(e));
|
|
6407
6407
|
const i = zd(s, n, r) ? ca(s) : _e(0);
|
|
6408
|
-
let c = (o.left + i.x) / a.x,
|
|
6408
|
+
let c = (o.left + i.x) / a.x, f = (o.top + i.y) / a.y, d = o.width / a.x, p = o.height / a.y;
|
|
6409
6409
|
if (s) {
|
|
6410
6410
|
const m = ge(s), h = r && ye(r) ? ge(r) : r;
|
|
6411
6411
|
let b = m, g = or(b);
|
|
6412
6412
|
for (; g && r && h !== b; ) {
|
|
6413
6413
|
const x = st(g), v = g.getBoundingClientRect(), w = Ce(g), E = v.left + (g.clientLeft + parseFloat(w.paddingLeft)) * x.x, S = v.top + (g.clientTop + parseFloat(w.paddingTop)) * x.y;
|
|
6414
|
-
c *= x.x,
|
|
6414
|
+
c *= x.x, f *= x.y, d *= x.x, p *= x.y, c += E, f += S, b = ge(g), g = or(b);
|
|
6415
6415
|
}
|
|
6416
6416
|
}
|
|
6417
6417
|
return Qt({
|
|
6418
6418
|
width: d,
|
|
6419
|
-
height:
|
|
6419
|
+
height: p,
|
|
6420
6420
|
x: c,
|
|
6421
|
-
y:
|
|
6421
|
+
y: f
|
|
6422
6422
|
});
|
|
6423
6423
|
}
|
|
6424
6424
|
function Tr(e, t) {
|
|
@@ -6449,18 +6449,18 @@ function Wd(e) {
|
|
|
6449
6449
|
let c = {
|
|
6450
6450
|
scrollLeft: 0,
|
|
6451
6451
|
scrollTop: 0
|
|
6452
|
-
},
|
|
6453
|
-
const d = _e(0),
|
|
6454
|
-
if ((
|
|
6452
|
+
}, f = _e(1);
|
|
6453
|
+
const d = _e(0), p = Ae(r);
|
|
6454
|
+
if ((p || !p && !s) && ((pt(r) !== "body" || _t(a)) && (c = fn(r)), Ae(r))) {
|
|
6455
6455
|
const h = Ze(r);
|
|
6456
|
-
|
|
6456
|
+
f = st(r), d.x = h.x + r.clientLeft, d.y = h.y + r.clientTop;
|
|
6457
6457
|
}
|
|
6458
|
-
const m = a && !
|
|
6458
|
+
const m = a && !p && !s ? la(a, c, !0) : _e(0);
|
|
6459
6459
|
return {
|
|
6460
|
-
width: n.width *
|
|
6461
|
-
height: n.height *
|
|
6462
|
-
x: n.x *
|
|
6463
|
-
y: n.y *
|
|
6460
|
+
width: n.width * f.x,
|
|
6461
|
+
height: n.height * f.y,
|
|
6462
|
+
x: n.x * f.x - c.scrollLeft * f.x + d.x + m.x,
|
|
6463
|
+
y: n.y * f.y - c.scrollTop * f.y + d.y + m.y
|
|
6464
6464
|
};
|
|
6465
6465
|
}
|
|
6466
6466
|
function Bd(e) {
|
|
@@ -6482,8 +6482,8 @@ function Ud(e, t) {
|
|
|
6482
6482
|
let s = r.clientWidth, a = r.clientHeight, i = 0, c = 0;
|
|
6483
6483
|
if (o) {
|
|
6484
6484
|
s = o.width, a = o.height;
|
|
6485
|
-
const
|
|
6486
|
-
(!
|
|
6485
|
+
const f = Mr();
|
|
6486
|
+
(!f || f && t === "fixed") && (i = o.offsetLeft, c = o.offsetTop);
|
|
6487
6487
|
}
|
|
6488
6488
|
return {
|
|
6489
6489
|
width: s,
|
|
@@ -6493,12 +6493,12 @@ function Ud(e, t) {
|
|
|
6493
6493
|
};
|
|
6494
6494
|
}
|
|
6495
6495
|
function Kd(e, t) {
|
|
6496
|
-
const n = Ze(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,
|
|
6496
|
+
const n = Ze(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;
|
|
6497
6497
|
return {
|
|
6498
6498
|
width: a,
|
|
6499
6499
|
height: i,
|
|
6500
6500
|
x: c,
|
|
6501
|
-
y:
|
|
6501
|
+
y: f
|
|
6502
6502
|
};
|
|
6503
6503
|
}
|
|
6504
6504
|
function Po(e, t, n) {
|
|
@@ -6544,9 +6544,9 @@ function qd(e) {
|
|
|
6544
6544
|
rootBoundary: r,
|
|
6545
6545
|
strategy: o
|
|
6546
6546
|
} = e;
|
|
6547
|
-
const a = [...n === "clippingAncestors" ? dn(t) ? [] : Yd(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((
|
|
6548
|
-
const
|
|
6549
|
-
return
|
|
6547
|
+
const a = [...n === "clippingAncestors" ? dn(t) ? [] : Yd(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((f, d) => {
|
|
6548
|
+
const p = Po(t, d, o);
|
|
6549
|
+
return f.top = he(p.top, f.top), f.right = Ue(p.right, f.right), f.bottom = Ue(p.bottom, f.bottom), f.left = he(p.left, f.left), f;
|
|
6550
6550
|
}, Po(t, i, o));
|
|
6551
6551
|
return {
|
|
6552
6552
|
width: c.right - c.left,
|
|
@@ -6572,18 +6572,18 @@ function Zd(e, t, n) {
|
|
|
6572
6572
|
scrollTop: 0
|
|
6573
6573
|
};
|
|
6574
6574
|
const c = _e(0);
|
|
6575
|
-
function
|
|
6575
|
+
function f() {
|
|
6576
6576
|
c.x = Tr(o);
|
|
6577
6577
|
}
|
|
6578
6578
|
if (r || !r && !s)
|
|
6579
6579
|
if ((pt(t) !== "body" || _t(o)) && (i = fn(t)), r) {
|
|
6580
6580
|
const h = Ze(t, !0, s, t);
|
|
6581
6581
|
c.x = h.x + t.clientLeft, c.y = h.y + t.clientTop;
|
|
6582
|
-
} else o &&
|
|
6583
|
-
s && !r && o &&
|
|
6584
|
-
const d = o && !r && !s ? la(o, i) : _e(0),
|
|
6582
|
+
} else o && f();
|
|
6583
|
+
s && !r && o && f();
|
|
6584
|
+
const d = o && !r && !s ? la(o, i) : _e(0), p = a.left + i.scrollLeft - c.x - d.x, m = a.top + i.scrollTop - c.y - d.y;
|
|
6585
6585
|
return {
|
|
6586
|
-
x:
|
|
6586
|
+
x: p,
|
|
6587
6587
|
y: m,
|
|
6588
6588
|
width: a.width,
|
|
6589
6589
|
height: a.height
|
|
@@ -6657,15 +6657,15 @@ function tf(e, t) {
|
|
|
6657
6657
|
}
|
|
6658
6658
|
function a(i, c) {
|
|
6659
6659
|
i === void 0 && (i = !1), c === void 0 && (c = 1), s();
|
|
6660
|
-
const
|
|
6660
|
+
const f = e.getBoundingClientRect(), {
|
|
6661
6661
|
left: d,
|
|
6662
|
-
top:
|
|
6662
|
+
top: p,
|
|
6663
6663
|
width: m,
|
|
6664
6664
|
height: h
|
|
6665
|
-
} =
|
|
6665
|
+
} = f;
|
|
6666
6666
|
if (i || t(), !m || !h)
|
|
6667
6667
|
return;
|
|
6668
|
-
const b = Wt(
|
|
6668
|
+
const b = Wt(p), g = Wt(o.clientWidth - (d + m)), x = Wt(o.clientHeight - (p + h)), v = Wt(d), E = {
|
|
6669
6669
|
rootMargin: -b + "px " + -g + "px " + -x + "px " + -v + "px",
|
|
6670
6670
|
threshold: he(0, Ue(1, c)) || 1
|
|
6671
6671
|
};
|
|
@@ -6679,7 +6679,7 @@ function tf(e, t) {
|
|
|
6679
6679
|
a(!1, 1e-7);
|
|
6680
6680
|
}, 1e3);
|
|
6681
6681
|
}
|
|
6682
|
-
M === 1 && !fa(
|
|
6682
|
+
M === 1 && !fa(f, e.getBoundingClientRect()) && a(), S = !1;
|
|
6683
6683
|
}
|
|
6684
6684
|
try {
|
|
6685
6685
|
n = new IntersectionObserver(R, {
|
|
@@ -6702,21 +6702,21 @@ function nf(e, t, n, r) {
|
|
|
6702
6702
|
elementResize: a = typeof ResizeObserver == "function",
|
|
6703
6703
|
layoutShift: i = typeof IntersectionObserver == "function",
|
|
6704
6704
|
animationFrame: c = !1
|
|
6705
|
-
} = r,
|
|
6705
|
+
} = r, f = Ar(e), d = o || s ? [...f ? wt(f) : [], ...wt(t)] : [];
|
|
6706
6706
|
d.forEach((v) => {
|
|
6707
6707
|
o && v.addEventListener("scroll", n, {
|
|
6708
6708
|
passive: !0
|
|
6709
6709
|
}), s && v.addEventListener("resize", n);
|
|
6710
6710
|
});
|
|
6711
|
-
const
|
|
6711
|
+
const p = f && i ? tf(f, n) : null;
|
|
6712
6712
|
let m = -1, h = null;
|
|
6713
6713
|
a && (h = new ResizeObserver((v) => {
|
|
6714
6714
|
let [w] = v;
|
|
6715
|
-
w && w.target ===
|
|
6715
|
+
w && w.target === f && h && (h.unobserve(t), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
6716
6716
|
var E;
|
|
6717
6717
|
(E = h) == null || E.observe(t);
|
|
6718
6718
|
})), n();
|
|
6719
|
-
}),
|
|
6719
|
+
}), f && !c && h.observe(f), h.observe(t));
|
|
6720
6720
|
let b, g = c ? Ze(e) : null;
|
|
6721
6721
|
c && x();
|
|
6722
6722
|
function x() {
|
|
@@ -6727,10 +6727,10 @@ function nf(e, t, n, r) {
|
|
|
6727
6727
|
var v;
|
|
6728
6728
|
d.forEach((w) => {
|
|
6729
6729
|
o && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
|
|
6730
|
-
}),
|
|
6730
|
+
}), p == null || p(), (v = h) == null || v.disconnect(), h = null, c && cancelAnimationFrame(b);
|
|
6731
6731
|
};
|
|
6732
6732
|
}
|
|
6733
|
-
const rf = Id, of = jd, sf = Od, af = Fd, cf = Pd, Io =
|
|
6733
|
+
const rf = Id, of = jd, sf = Od, af = Fd, cf = Pd, Io = kd, lf = Ld, uf = (e, t, n) => {
|
|
6734
6734
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
6735
6735
|
platform: ef,
|
|
6736
6736
|
...n
|
|
@@ -6738,7 +6738,7 @@ const rf = Id, of = jd, sf = Od, af = Fd, cf = Pd, Io = Nd, lf = Ld, uf = (e, t,
|
|
|
6738
6738
|
...o.platform,
|
|
6739
6739
|
_c: r
|
|
6740
6740
|
};
|
|
6741
|
-
return
|
|
6741
|
+
return Nd(e, t, {
|
|
6742
6742
|
...o,
|
|
6743
6743
|
platform: s
|
|
6744
6744
|
});
|
|
@@ -6801,8 +6801,8 @@ function pf(e) {
|
|
|
6801
6801
|
} = {},
|
|
6802
6802
|
transform: i = !0,
|
|
6803
6803
|
whileElementsMounted: c,
|
|
6804
|
-
open:
|
|
6805
|
-
} = e, [d,
|
|
6804
|
+
open: f
|
|
6805
|
+
} = e, [d, p] = u.useState({
|
|
6806
6806
|
x: 0,
|
|
6807
6807
|
y: 0,
|
|
6808
6808
|
strategy: n,
|
|
@@ -6815,7 +6815,7 @@ function pf(e) {
|
|
|
6815
6815
|
_ !== A.current && (A.current = _, g(_));
|
|
6816
6816
|
}, []), E = u.useCallback((_) => {
|
|
6817
6817
|
_ !== M.current && (M.current = _, v(_));
|
|
6818
|
-
}, []), S = s || b, R = a || x, A = u.useRef(null), M = u.useRef(null), C = u.useRef(d), D = c != null, I = Vn(c), B = Vn(o), W = Vn(
|
|
6818
|
+
}, []), S = s || b, R = a || x, A = u.useRef(null), M = u.useRef(null), C = u.useRef(d), D = c != null, I = Vn(c), B = Vn(o), W = Vn(f), V = u.useCallback(() => {
|
|
6819
6819
|
if (!A.current || !M.current)
|
|
6820
6820
|
return;
|
|
6821
6821
|
const _ = {
|
|
@@ -6833,16 +6833,16 @@ function pf(e) {
|
|
|
6833
6833
|
isPositioned: W.current !== !1
|
|
6834
6834
|
};
|
|
6835
6835
|
H.current && !en(C.current, y) && (C.current = y, zo.flushSync(() => {
|
|
6836
|
-
|
|
6836
|
+
p(y);
|
|
6837
6837
|
}));
|
|
6838
6838
|
});
|
|
6839
6839
|
}, [m, t, n, B, W]);
|
|
6840
6840
|
Kt(() => {
|
|
6841
|
-
|
|
6841
|
+
f === !1 && C.current.isPositioned && (C.current.isPositioned = !1, p((_) => ({
|
|
6842
6842
|
..._,
|
|
6843
6843
|
isPositioned: !1
|
|
6844
6844
|
})));
|
|
6845
|
-
}, [
|
|
6845
|
+
}, [f]);
|
|
6846
6846
|
const H = u.useRef(!1);
|
|
6847
6847
|
Kt(() => (H.current = !0, () => {
|
|
6848
6848
|
H.current = !1;
|
|
@@ -6961,8 +6961,8 @@ function Sf(e) {
|
|
|
6961
6961
|
const s = o[0];
|
|
6962
6962
|
let a, i;
|
|
6963
6963
|
if ("borderBoxSize" in s) {
|
|
6964
|
-
const c = s.borderBoxSize,
|
|
6965
|
-
a =
|
|
6964
|
+
const c = s.borderBoxSize, f = Array.isArray(c) ? c[0] : c;
|
|
6965
|
+
a = f.inlineSize, i = f.blockSize;
|
|
6966
6966
|
} else
|
|
6967
6967
|
a = e.offsetWidth, i = e.offsetHeight;
|
|
6968
6968
|
n({ width: a, height: i });
|
|
@@ -6972,11 +6972,11 @@ function Sf(e) {
|
|
|
6972
6972
|
n(void 0);
|
|
6973
6973
|
}, [e]), t;
|
|
6974
6974
|
}
|
|
6975
|
-
var
|
|
6975
|
+
var Nr = "Popper", [ha, pn] = Je(Nr), [Rf, ga] = ha(Nr), va = (e) => {
|
|
6976
6976
|
const { __scopePopper: t, children: n } = e, [r, o] = u.useState(null);
|
|
6977
6977
|
return /* @__PURE__ */ l.jsx(Rf, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
6978
6978
|
};
|
|
6979
|
-
va.displayName =
|
|
6979
|
+
va.displayName = Nr;
|
|
6980
6980
|
var ba = "PopperAnchor", xa = u.forwardRef(
|
|
6981
6981
|
(e, t) => {
|
|
6982
6982
|
const { __scopePopper: n, virtualRef: r, ...o } = e, s = ga(ba, n), a = u.useRef(null), i = ae(t, a);
|
|
@@ -6986,7 +6986,7 @@ var ba = "PopperAnchor", xa = u.forwardRef(
|
|
|
6986
6986
|
}
|
|
6987
6987
|
);
|
|
6988
6988
|
xa.displayName = ba;
|
|
6989
|
-
var
|
|
6989
|
+
var kr = "PopperContent", [_f, Mf] = ha(kr), wa = u.forwardRef(
|
|
6990
6990
|
(e, t) => {
|
|
6991
6991
|
var U, J, Q, oe, xe, $e;
|
|
6992
6992
|
const {
|
|
@@ -6997,14 +6997,14 @@ var Nr = "PopperContent", [_f, Mf] = ha(Nr), wa = u.forwardRef(
|
|
|
6997
6997
|
alignOffset: a = 0,
|
|
6998
6998
|
arrowPadding: i = 0,
|
|
6999
6999
|
avoidCollisions: c = !0,
|
|
7000
|
-
collisionBoundary:
|
|
7000
|
+
collisionBoundary: f = [],
|
|
7001
7001
|
collisionPadding: d = 0,
|
|
7002
|
-
sticky:
|
|
7002
|
+
sticky: p = "partial",
|
|
7003
7003
|
hideWhenDetached: m = !1,
|
|
7004
7004
|
updatePositionStrategy: h = "optimized",
|
|
7005
7005
|
onPlaced: b,
|
|
7006
7006
|
...g
|
|
7007
|
-
} = e, x = ga(
|
|
7007
|
+
} = e, x = ga(kr, n), [v, w] = u.useState(null), E = ae(t, (X) => w(X)), [S, R] = u.useState(null), A = Sf(S), M = (A == null ? void 0 : A.width) ?? 0, C = (A == null ? void 0 : A.height) ?? 0, D = r + (s !== "center" ? "-" + s : ""), I = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, B = Array.isArray(f) ? f : [f], W = B.length > 0, V = {
|
|
7008
7008
|
padding: I,
|
|
7009
7009
|
boundary: B.filter(Tf),
|
|
7010
7010
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -7024,7 +7024,7 @@ var Nr = "PopperContent", [_f, Mf] = ha(Nr), wa = u.forwardRef(
|
|
|
7024
7024
|
c && gf({
|
|
7025
7025
|
mainAxis: !0,
|
|
7026
7026
|
crossAxis: !1,
|
|
7027
|
-
limiter:
|
|
7027
|
+
limiter: p === "partial" ? vf() : void 0,
|
|
7028
7028
|
...V
|
|
7029
7029
|
}),
|
|
7030
7030
|
c && bf({ ...V }),
|
|
@@ -7036,13 +7036,13 @@ var Nr = "PopperContent", [_f, Mf] = ha(Nr), wa = u.forwardRef(
|
|
|
7036
7036
|
}
|
|
7037
7037
|
}),
|
|
7038
7038
|
S && yf({ element: S, padding: i }),
|
|
7039
|
-
|
|
7039
|
+
Nf({ arrowWidth: M, arrowHeight: C }),
|
|
7040
7040
|
m && wf({ strategy: "referenceHidden", ...V })
|
|
7041
7041
|
]
|
|
7042
|
-
}), [T, y] = Ea(L),
|
|
7042
|
+
}), [T, y] = Ea(L), N = Me(b);
|
|
7043
7043
|
Ge(() => {
|
|
7044
|
-
G && (
|
|
7045
|
-
}, [G,
|
|
7044
|
+
G && (N == null || N());
|
|
7045
|
+
}, [G, N]);
|
|
7046
7046
|
const j = (U = _.arrow) == null ? void 0 : U.x, $ = (J = _.arrow) == null ? void 0 : J.y, q = ((Q = _.arrow) == null ? void 0 : Q.centerOffset) !== 0, [ee, ce] = u.useState();
|
|
7047
7047
|
return Ge(() => {
|
|
7048
7048
|
v && ce(window.getComputedStyle(v).zIndex);
|
|
@@ -7100,7 +7100,7 @@ var Nr = "PopperContent", [_f, Mf] = ha(Nr), wa = u.forwardRef(
|
|
|
7100
7100
|
);
|
|
7101
7101
|
}
|
|
7102
7102
|
);
|
|
7103
|
-
wa.displayName =
|
|
7103
|
+
wa.displayName = kr;
|
|
7104
7104
|
var ya = "PopperArrow", Af = {
|
|
7105
7105
|
top: "bottom",
|
|
7106
7106
|
right: "left",
|
|
@@ -7155,21 +7155,21 @@ Ca.displayName = ya;
|
|
|
7155
7155
|
function Tf(e) {
|
|
7156
7156
|
return e !== null;
|
|
7157
7157
|
}
|
|
7158
|
-
var
|
|
7158
|
+
var Nf = (e) => ({
|
|
7159
7159
|
name: "transformOrigin",
|
|
7160
7160
|
options: e,
|
|
7161
7161
|
fn(t) {
|
|
7162
7162
|
var x, v, w;
|
|
7163
|
-
const { placement: n, rects: r, middlewareData: o } = t, a = ((x = o.arrow) == null ? void 0 : x.centerOffset) !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [
|
|
7163
|
+
const { placement: n, rects: r, middlewareData: o } = t, a = ((x = o.arrow) == null ? void 0 : x.centerOffset) !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [f, d] = Ea(n), p = { start: "0%", center: "50%", end: "100%" }[d], m = (((v = o.arrow) == null ? void 0 : v.x) ?? 0) + i / 2, h = (((w = o.arrow) == null ? void 0 : w.y) ?? 0) + c / 2;
|
|
7164
7164
|
let b = "", g = "";
|
|
7165
|
-
return
|
|
7165
|
+
return f === "bottom" ? (b = a ? p : `${m}px`, g = `${-c}px`) : f === "top" ? (b = a ? p : `${m}px`, g = `${r.floating.height + c}px`) : f === "right" ? (b = `${-c}px`, g = a ? p : `${h}px`) : f === "left" && (b = `${r.floating.width + c}px`, g = a ? p : `${h}px`), { data: { x: b, y: g } };
|
|
7166
7166
|
}
|
|
7167
7167
|
});
|
|
7168
7168
|
function Ea(e) {
|
|
7169
7169
|
const [t, n = "center"] = e.split("-");
|
|
7170
7170
|
return [t, n];
|
|
7171
7171
|
}
|
|
7172
|
-
var Or = va, Sa = xa, Ra = wa, _a = Ca,
|
|
7172
|
+
var Or = va, Sa = xa, Ra = wa, _a = Ca, kf = Object.freeze({
|
|
7173
7173
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
7174
7174
|
position: "absolute",
|
|
7175
7175
|
border: 0,
|
|
@@ -7187,7 +7187,7 @@ var Or = va, Sa = xa, Ra = wa, _a = Ca, Nf = Object.freeze({
|
|
|
7187
7187
|
{
|
|
7188
7188
|
...e,
|
|
7189
7189
|
ref: t,
|
|
7190
|
-
style: { ...
|
|
7190
|
+
style: { ...kf, ...e.style }
|
|
7191
7191
|
}
|
|
7192
7192
|
)
|
|
7193
7193
|
);
|
|
@@ -7203,8 +7203,8 @@ var Pf = Ma, [mn, S0] = Je("Tooltip", [
|
|
|
7203
7203
|
children: s
|
|
7204
7204
|
} = e, a = u.useRef(!0), i = u.useRef(!1), c = u.useRef(0);
|
|
7205
7205
|
return u.useEffect(() => {
|
|
7206
|
-
const
|
|
7207
|
-
return () => window.clearTimeout(
|
|
7206
|
+
const f = c.current;
|
|
7207
|
+
return () => window.clearTimeout(f);
|
|
7208
7208
|
}, []), /* @__PURE__ */ l.jsx(
|
|
7209
7209
|
If,
|
|
7210
7210
|
{
|
|
@@ -7221,8 +7221,8 @@ var Pf = Ma, [mn, S0] = Je("Tooltip", [
|
|
|
7221
7221
|
);
|
|
7222
7222
|
}, [r]),
|
|
7223
7223
|
isPointerInTransitRef: i,
|
|
7224
|
-
onPointerInTransitChange: u.useCallback((
|
|
7225
|
-
i.current =
|
|
7224
|
+
onPointerInTransitChange: u.useCallback((f) => {
|
|
7225
|
+
i.current = f;
|
|
7226
7226
|
}, []),
|
|
7227
7227
|
disableHoverableContent: o,
|
|
7228
7228
|
children: s
|
|
@@ -7230,7 +7230,7 @@ var Pf = Ma, [mn, S0] = Je("Tooltip", [
|
|
|
7230
7230
|
);
|
|
7231
7231
|
};
|
|
7232
7232
|
Ta.displayName = Aa;
|
|
7233
|
-
var yt = "Tooltip", [jf, gn] = mn(yt),
|
|
7233
|
+
var yt = "Tooltip", [jf, gn] = mn(yt), Na = (e) => {
|
|
7234
7234
|
const {
|
|
7235
7235
|
__scopeTooltip: t,
|
|
7236
7236
|
children: n,
|
|
@@ -7239,7 +7239,7 @@ var yt = "Tooltip", [jf, gn] = mn(yt), ka = (e) => {
|
|
|
7239
7239
|
onOpenChange: s,
|
|
7240
7240
|
disableHoverableContent: a,
|
|
7241
7241
|
delayDuration: i
|
|
7242
|
-
} = e, c = Pr(yt, e.__scopeTooltip),
|
|
7242
|
+
} = e, c = Pr(yt, e.__scopeTooltip), f = hn(t), [d, p] = u.useState(null), m = De(), h = u.useRef(0), b = a ?? c.disableHoverableContent, g = i ?? c.delayDuration, x = u.useRef(!1), [v, w] = Rt({
|
|
7243
7243
|
prop: r,
|
|
7244
7244
|
defaultProp: o ?? !1,
|
|
7245
7245
|
onChange: (M) => {
|
|
@@ -7257,7 +7257,7 @@ var yt = "Tooltip", [jf, gn] = mn(yt), ka = (e) => {
|
|
|
7257
7257
|
}, [g, w]);
|
|
7258
7258
|
return u.useEffect(() => () => {
|
|
7259
7259
|
h.current && (window.clearTimeout(h.current), h.current = 0);
|
|
7260
|
-
}, []), /* @__PURE__ */ l.jsx(Or, { ...
|
|
7260
|
+
}, []), /* @__PURE__ */ l.jsx(Or, { ...f, children: /* @__PURE__ */ l.jsx(
|
|
7261
7261
|
jf,
|
|
7262
7262
|
{
|
|
7263
7263
|
scope: t,
|
|
@@ -7265,7 +7265,7 @@ var yt = "Tooltip", [jf, gn] = mn(yt), ka = (e) => {
|
|
|
7265
7265
|
open: v,
|
|
7266
7266
|
stateAttribute: E,
|
|
7267
7267
|
trigger: d,
|
|
7268
|
-
onTriggerChange:
|
|
7268
|
+
onTriggerChange: p,
|
|
7269
7269
|
onTriggerEnter: u.useCallback(() => {
|
|
7270
7270
|
c.isOpenDelayedRef.current ? A() : S();
|
|
7271
7271
|
}, [c.isOpenDelayedRef, A, S]),
|
|
@@ -7279,11 +7279,11 @@ var yt = "Tooltip", [jf, gn] = mn(yt), ka = (e) => {
|
|
|
7279
7279
|
}
|
|
7280
7280
|
) });
|
|
7281
7281
|
};
|
|
7282
|
-
|
|
7283
|
-
var ar = "TooltipTrigger",
|
|
7282
|
+
Na.displayName = yt;
|
|
7283
|
+
var ar = "TooltipTrigger", ka = u.forwardRef(
|
|
7284
7284
|
(e, t) => {
|
|
7285
|
-
const { __scopeTooltip: n, ...r } = e, o = gn(ar, n), s = Pr(ar, n), a = hn(n), i = u.useRef(null), c = ae(t, i, o.onTriggerChange),
|
|
7286
|
-
return u.useEffect(() => () => document.removeEventListener("pointerup",
|
|
7285
|
+
const { __scopeTooltip: n, ...r } = e, o = gn(ar, n), s = Pr(ar, n), a = hn(n), i = u.useRef(null), c = ae(t, i, o.onTriggerChange), f = u.useRef(!1), d = u.useRef(!1), p = u.useCallback(() => f.current = !1, []);
|
|
7286
|
+
return u.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ l.jsx(Sa, { asChild: !0, ...a, children: /* @__PURE__ */ l.jsx(
|
|
7287
7287
|
ne.button,
|
|
7288
7288
|
{
|
|
7289
7289
|
"aria-describedby": o.open ? o.contentId : void 0,
|
|
@@ -7297,10 +7297,10 @@ var ar = "TooltipTrigger", Na = u.forwardRef(
|
|
|
7297
7297
|
o.onTriggerLeave(), d.current = !1;
|
|
7298
7298
|
}),
|
|
7299
7299
|
onPointerDown: F(e.onPointerDown, () => {
|
|
7300
|
-
o.open && o.onClose(),
|
|
7300
|
+
o.open && o.onClose(), f.current = !0, document.addEventListener("pointerup", p, { once: !0 });
|
|
7301
7301
|
}),
|
|
7302
7302
|
onFocus: F(e.onFocus, () => {
|
|
7303
|
-
|
|
7303
|
+
f.current || o.onOpen();
|
|
7304
7304
|
}),
|
|
7305
7305
|
onBlur: F(e.onBlur, o.onClose),
|
|
7306
7306
|
onClick: F(e.onClick, o.onClose)
|
|
@@ -7308,7 +7308,7 @@ var ar = "TooltipTrigger", Na = u.forwardRef(
|
|
|
7308
7308
|
) });
|
|
7309
7309
|
}
|
|
7310
7310
|
);
|
|
7311
|
-
|
|
7311
|
+
ka.displayName = ar;
|
|
7312
7312
|
var Lf = "TooltipPortal", [R0, Ff] = mn(Lf, {
|
|
7313
7313
|
forceMount: void 0
|
|
7314
7314
|
}), ct = "TooltipContent", Oa = u.forwardRef(
|
|
@@ -7317,14 +7317,14 @@ var Lf = "TooltipPortal", [R0, Ff] = mn(Lf, {
|
|
|
7317
7317
|
return /* @__PURE__ */ l.jsx(Fe, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ l.jsx(Pa, { side: o, ...s, ref: t }) : /* @__PURE__ */ l.jsx($f, { side: o, ...s, ref: t }) });
|
|
7318
7318
|
}
|
|
7319
7319
|
), $f = u.forwardRef((e, t) => {
|
|
7320
|
-
const n = gn(ct, e.__scopeTooltip), r = Pr(ct, e.__scopeTooltip), o = u.useRef(null), s = ae(t, o), [a, i] = u.useState(null), { trigger: c, onClose:
|
|
7321
|
-
i(null),
|
|
7322
|
-
}, [
|
|
7320
|
+
const n = gn(ct, e.__scopeTooltip), r = Pr(ct, e.__scopeTooltip), o = u.useRef(null), s = ae(t, o), [a, i] = u.useState(null), { trigger: c, onClose: f } = n, d = o.current, { onPointerInTransitChange: p } = r, m = u.useCallback(() => {
|
|
7321
|
+
i(null), p(!1);
|
|
7322
|
+
}, [p]), h = u.useCallback(
|
|
7323
7323
|
(b, g) => {
|
|
7324
7324
|
const x = b.currentTarget, v = { x: b.clientX, y: b.clientY }, w = Bf(v, x.getBoundingClientRect()), E = Gf(v, w), S = Uf(g.getBoundingClientRect()), R = Yf([...E, ...S]);
|
|
7325
|
-
i(R),
|
|
7325
|
+
i(R), p(!0);
|
|
7326
7326
|
},
|
|
7327
|
-
[
|
|
7327
|
+
[p]
|
|
7328
7328
|
);
|
|
7329
7329
|
return u.useEffect(() => () => m(), [m]), u.useEffect(() => {
|
|
7330
7330
|
if (c && d) {
|
|
@@ -7337,11 +7337,11 @@ var Lf = "TooltipPortal", [R0, Ff] = mn(Lf, {
|
|
|
7337
7337
|
if (a) {
|
|
7338
7338
|
const b = (g) => {
|
|
7339
7339
|
const x = g.target, v = { x: g.clientX, y: g.clientY }, w = (c == null ? void 0 : c.contains(x)) || (d == null ? void 0 : d.contains(x)), E = !Kf(v, a);
|
|
7340
|
-
w ? m() : E && (m(),
|
|
7340
|
+
w ? m() : E && (m(), f());
|
|
7341
7341
|
};
|
|
7342
7342
|
return document.addEventListener("pointermove", b), () => document.removeEventListener("pointermove", b);
|
|
7343
7343
|
}
|
|
7344
|
-
}, [c, d, a,
|
|
7344
|
+
}, [c, d, a, f, m]), /* @__PURE__ */ l.jsx(Pa, { ...e, ref: s });
|
|
7345
7345
|
}), [Vf, Hf] = mn(yt, { isInside: !1 }), zf = /* @__PURE__ */ sl("TooltipContent"), Pa = u.forwardRef(
|
|
7346
7346
|
(e, t) => {
|
|
7347
7347
|
const {
|
|
@@ -7351,14 +7351,14 @@ var Lf = "TooltipPortal", [R0, Ff] = mn(Lf, {
|
|
|
7351
7351
|
onEscapeKeyDown: s,
|
|
7352
7352
|
onPointerDownOutside: a,
|
|
7353
7353
|
...i
|
|
7354
|
-
} = e, c = gn(ct, n),
|
|
7354
|
+
} = e, c = gn(ct, n), f = hn(n), { onClose: d } = c;
|
|
7355
7355
|
return u.useEffect(() => (document.addEventListener(sr, d), () => document.removeEventListener(sr, d)), [d]), u.useEffect(() => {
|
|
7356
7356
|
if (c.trigger) {
|
|
7357
|
-
const
|
|
7357
|
+
const p = (m) => {
|
|
7358
7358
|
const h = m.target;
|
|
7359
7359
|
h != null && h.contains(c.trigger) && d();
|
|
7360
7360
|
};
|
|
7361
|
-
return window.addEventListener("scroll",
|
|
7361
|
+
return window.addEventListener("scroll", p, { capture: !0 }), () => window.removeEventListener("scroll", p, { capture: !0 });
|
|
7362
7362
|
}
|
|
7363
7363
|
}, [c.trigger, d]), /* @__PURE__ */ l.jsx(
|
|
7364
7364
|
an,
|
|
@@ -7367,13 +7367,13 @@ var Lf = "TooltipPortal", [R0, Ff] = mn(Lf, {
|
|
|
7367
7367
|
disableOutsidePointerEvents: !1,
|
|
7368
7368
|
onEscapeKeyDown: s,
|
|
7369
7369
|
onPointerDownOutside: a,
|
|
7370
|
-
onFocusOutside: (
|
|
7370
|
+
onFocusOutside: (p) => p.preventDefault(),
|
|
7371
7371
|
onDismiss: d,
|
|
7372
7372
|
children: /* @__PURE__ */ l.jsxs(
|
|
7373
7373
|
Ra,
|
|
7374
7374
|
{
|
|
7375
7375
|
"data-state": c.stateAttribute,
|
|
7376
|
-
...
|
|
7376
|
+
...f,
|
|
7377
7377
|
...i,
|
|
7378
7378
|
ref: t,
|
|
7379
7379
|
style: {
|
|
@@ -7463,8 +7463,8 @@ function Kf(e, t) {
|
|
|
7463
7463
|
const { x: n, y: r } = e;
|
|
7464
7464
|
let o = !1;
|
|
7465
7465
|
for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
|
|
7466
|
-
const i = t[s], c = t[a],
|
|
7467
|
-
d > r != m > r && n < (
|
|
7466
|
+
const i = t[s], c = t[a], f = i.x, d = i.y, p = c.x, m = c.y;
|
|
7467
|
+
d > r != m > r && n < (p - f) * (r - d) / (m - d) + f && (o = !o);
|
|
7468
7468
|
}
|
|
7469
7469
|
return o;
|
|
7470
7470
|
}
|
|
@@ -7497,7 +7497,7 @@ function qf(e) {
|
|
|
7497
7497
|
}
|
|
7498
7498
|
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);
|
|
7499
7499
|
}
|
|
7500
|
-
var Xf = Ta, Zf =
|
|
7500
|
+
var Xf = Ta, Zf = Na, Jf = ka, Ia = Oa;
|
|
7501
7501
|
const Qf = Xf, ep = Zf, tp = Jf, ja = u.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ l.jsx(
|
|
7502
7502
|
Ia,
|
|
7503
7503
|
{
|
|
@@ -7527,13 +7527,13 @@ function cp({
|
|
|
7527
7527
|
children: s,
|
|
7528
7528
|
...a
|
|
7529
7529
|
}) {
|
|
7530
|
-
const i = Bl(), [c,
|
|
7530
|
+
const i = Bl(), [c, f] = u.useState(!1), [d, p] = u.useState(e), m = t ?? d, h = u.useCallback(
|
|
7531
7531
|
(v) => {
|
|
7532
7532
|
const w = typeof v == "function" ? v(m) : v;
|
|
7533
|
-
n ? n(w) :
|
|
7533
|
+
n ? n(w) : p(w), document.cookie = `${np}=${w}; path=/; max-age=${rp}`;
|
|
7534
7534
|
},
|
|
7535
7535
|
[n, m]
|
|
7536
|
-
), b = u.useCallback(() => i ?
|
|
7536
|
+
), b = u.useCallback(() => i ? f((v) => !v) : h((v) => !v), [i, h, f]);
|
|
7537
7537
|
u.useEffect(() => {
|
|
7538
7538
|
const v = (w) => {
|
|
7539
7539
|
w.key === ip && (w.metaKey || w.ctrlKey) && (w.preventDefault(), b());
|
|
@@ -7547,10 +7547,10 @@ function cp({
|
|
|
7547
7547
|
setOpen: h,
|
|
7548
7548
|
isMobile: i,
|
|
7549
7549
|
openMobile: c,
|
|
7550
|
-
setOpenMobile:
|
|
7550
|
+
setOpenMobile: f,
|
|
7551
7551
|
toggleSidebar: b
|
|
7552
7552
|
}),
|
|
7553
|
-
[g, m, h, i, c,
|
|
7553
|
+
[g, m, h, i, c, f, b]
|
|
7554
7554
|
);
|
|
7555
7555
|
return /* @__PURE__ */ l.jsx(La.Provider, { value: x, children: /* @__PURE__ */ l.jsx(Qf, { delayDuration: 0, children: /* @__PURE__ */ l.jsx(
|
|
7556
7556
|
"div",
|
|
@@ -7578,7 +7578,7 @@ function lp({
|
|
|
7578
7578
|
children: o,
|
|
7579
7579
|
...s
|
|
7580
7580
|
}) {
|
|
7581
|
-
const { isMobile: a, state: i, openMobile: c, setOpenMobile:
|
|
7581
|
+
const { isMobile: a, state: i, openMobile: c, setOpenMobile: f } = vn();
|
|
7582
7582
|
return n === "none" ? /* @__PURE__ */ l.jsx(
|
|
7583
7583
|
"div",
|
|
7584
7584
|
{
|
|
@@ -7590,7 +7590,7 @@ function lp({
|
|
|
7590
7590
|
...s,
|
|
7591
7591
|
children: o
|
|
7592
7592
|
}
|
|
7593
|
-
) : a ? /* @__PURE__ */ l.jsx(bd, { open: c, onOpenChange:
|
|
7593
|
+
) : a ? /* @__PURE__ */ l.jsx(bd, { open: c, onOpenChange: f, ...s, children: /* @__PURE__ */ l.jsxs(
|
|
7594
7594
|
ea,
|
|
7595
7595
|
{
|
|
7596
7596
|
"data-sidebar": "sidebar",
|
|
@@ -7819,7 +7819,7 @@ function T0({
|
|
|
7819
7819
|
}
|
|
7820
7820
|
);
|
|
7821
7821
|
}
|
|
7822
|
-
function
|
|
7822
|
+
function N0({
|
|
7823
7823
|
className: e,
|
|
7824
7824
|
asChild: t = !1,
|
|
7825
7825
|
...n
|
|
@@ -7855,7 +7855,7 @@ function gp({
|
|
|
7855
7855
|
}
|
|
7856
7856
|
);
|
|
7857
7857
|
}
|
|
7858
|
-
function
|
|
7858
|
+
function k0({ className: e, ...t }) {
|
|
7859
7859
|
return /* @__PURE__ */ l.jsx(
|
|
7860
7860
|
"ul",
|
|
7861
7861
|
{
|
|
@@ -7906,7 +7906,7 @@ function P0({
|
|
|
7906
7906
|
className: s,
|
|
7907
7907
|
...a
|
|
7908
7908
|
}) {
|
|
7909
|
-
const i = e ? lt : "button", { isMobile: c, state:
|
|
7909
|
+
const i = e ? lt : "button", { isMobile: c, state: f } = vn(), d = /* @__PURE__ */ l.jsx(
|
|
7910
7910
|
i,
|
|
7911
7911
|
{
|
|
7912
7912
|
"data-slot": "sidebar-menu-button",
|
|
@@ -7926,7 +7926,7 @@ function P0({
|
|
|
7926
7926
|
{
|
|
7927
7927
|
side: "right",
|
|
7928
7928
|
align: "center",
|
|
7929
|
-
hidden:
|
|
7929
|
+
hidden: f !== "collapsed" || c,
|
|
7930
7930
|
...o
|
|
7931
7931
|
}
|
|
7932
7932
|
)
|
|
@@ -8078,11 +8078,12 @@ function yp({
|
|
|
8078
8078
|
children: n,
|
|
8079
8079
|
defaultOpen: r = !1,
|
|
8080
8080
|
icon: o,
|
|
8081
|
-
isActive: s = !1
|
|
8081
|
+
isActive: s = !1,
|
|
8082
|
+
className: a
|
|
8082
8083
|
}) {
|
|
8083
|
-
const [
|
|
8084
|
+
const [i, c] = u.useState(r);
|
|
8084
8085
|
return u.useEffect(() => {
|
|
8085
|
-
s &&
|
|
8086
|
+
s && c(!0);
|
|
8086
8087
|
}, [s]), /* @__PURE__ */ l.jsx(hp, { children: /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col", children: [
|
|
8087
8088
|
/* @__PURE__ */ l.jsxs("div", { className: "flex flex-row items-center justify-between", children: [
|
|
8088
8089
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -8103,11 +8104,11 @@ function yp({
|
|
|
8103
8104
|
{
|
|
8104
8105
|
type: "button",
|
|
8105
8106
|
className: "mr-3 rounded-lg p-2 text-gray-500 hover:bg-gray-100 hover:text-gray-700",
|
|
8106
|
-
onClick: (
|
|
8107
|
-
|
|
8107
|
+
onClick: (f) => {
|
|
8108
|
+
f.preventDefault(), f.stopPropagation(), c(!i);
|
|
8108
8109
|
},
|
|
8109
|
-
"aria-label":
|
|
8110
|
-
children:
|
|
8110
|
+
"aria-label": i ? "Collapse section" : "Expand section",
|
|
8111
|
+
children: i ? /* @__PURE__ */ l.jsx(Bc, { className: "h-4 w-4" }) : /* @__PURE__ */ l.jsx(es, { className: "h-4 w-4" })
|
|
8111
8112
|
}
|
|
8112
8113
|
)
|
|
8113
8114
|
] }),
|
|
@@ -8116,7 +8117,7 @@ function yp({
|
|
|
8116
8117
|
{
|
|
8117
8118
|
className: P(
|
|
8118
8119
|
"overflow-hidden transition-all",
|
|
8119
|
-
|
|
8120
|
+
i ? "max-h-96" : "max-h-0"
|
|
8120
8121
|
),
|
|
8121
8122
|
children: n
|
|
8122
8123
|
}
|
|
@@ -8132,17 +8133,17 @@ function Fa(e) {
|
|
|
8132
8133
|
return /* @__PURE__ */ l.jsx(o, { scope: x, itemMap: E, collectionRef: w, children: v });
|
|
8133
8134
|
};
|
|
8134
8135
|
a.displayName = t;
|
|
8135
|
-
const i = e + "CollectionSlot", c = /* @__PURE__ */ at(i),
|
|
8136
|
+
const i = e + "CollectionSlot", c = /* @__PURE__ */ at(i), f = pe.forwardRef(
|
|
8136
8137
|
(g, x) => {
|
|
8137
8138
|
const { scope: v, children: w } = g, E = s(i, v), S = ae(x, E.collectionRef);
|
|
8138
8139
|
return /* @__PURE__ */ l.jsx(c, { ref: S, children: w });
|
|
8139
8140
|
}
|
|
8140
8141
|
);
|
|
8141
|
-
|
|
8142
|
-
const d = e + "CollectionItemSlot",
|
|
8142
|
+
f.displayName = i;
|
|
8143
|
+
const d = e + "CollectionItemSlot", p = "data-radix-collection-item", m = /* @__PURE__ */ at(d), h = pe.forwardRef(
|
|
8143
8144
|
(g, x) => {
|
|
8144
8145
|
const { scope: v, children: w, ...E } = g, S = pe.useRef(null), R = ae(x, S), A = s(d, v);
|
|
8145
|
-
return pe.useEffect(() => (A.itemMap.set(S, { ref: S, ...E }), () => void A.itemMap.delete(S))), /* @__PURE__ */ l.jsx(m, { [
|
|
8146
|
+
return pe.useEffect(() => (A.itemMap.set(S, { ref: S, ...E }), () => void A.itemMap.delete(S))), /* @__PURE__ */ l.jsx(m, { [p]: "", ref: R, children: w });
|
|
8146
8147
|
}
|
|
8147
8148
|
);
|
|
8148
8149
|
h.displayName = d;
|
|
@@ -8151,14 +8152,14 @@ function Fa(e) {
|
|
|
8151
8152
|
return pe.useCallback(() => {
|
|
8152
8153
|
const w = x.collectionRef.current;
|
|
8153
8154
|
if (!w) return [];
|
|
8154
|
-
const E = Array.from(w.querySelectorAll(`[${
|
|
8155
|
+
const E = Array.from(w.querySelectorAll(`[${p}]`));
|
|
8155
8156
|
return Array.from(x.itemMap.values()).sort(
|
|
8156
8157
|
(A, M) => E.indexOf(A.ref.current) - E.indexOf(M.ref.current)
|
|
8157
8158
|
);
|
|
8158
8159
|
}, [x.collectionRef, x.itemMap]);
|
|
8159
8160
|
}
|
|
8160
8161
|
return [
|
|
8161
|
-
{ Provider: a, Slot:
|
|
8162
|
+
{ Provider: a, Slot: f, ItemSlot: h },
|
|
8162
8163
|
b,
|
|
8163
8164
|
r
|
|
8164
8165
|
];
|
|
@@ -8184,15 +8185,15 @@ var Ap = u.forwardRef((e, t) => {
|
|
|
8184
8185
|
currentTabStopId: a,
|
|
8185
8186
|
defaultCurrentTabStopId: i,
|
|
8186
8187
|
onCurrentTabStopIdChange: c,
|
|
8187
|
-
onEntryFocus:
|
|
8188
|
+
onEntryFocus: f,
|
|
8188
8189
|
preventScrollOnEntryFocus: d = !1,
|
|
8189
|
-
...
|
|
8190
|
+
...p
|
|
8190
8191
|
} = e, m = u.useRef(null), h = ae(t, m), b = $a(s), [g, x] = Rt({
|
|
8191
8192
|
prop: a,
|
|
8192
8193
|
defaultProp: i ?? null,
|
|
8193
8194
|
onChange: c,
|
|
8194
8195
|
caller: Mt
|
|
8195
|
-
}), [v, w] = u.useState(!1), E = Me(
|
|
8196
|
+
}), [v, w] = u.useState(!1), E = Me(f), S = Va(n), R = u.useRef(!1), [A, M] = u.useState(0);
|
|
8196
8197
|
return u.useEffect(() => {
|
|
8197
8198
|
const C = m.current;
|
|
8198
8199
|
if (C)
|
|
@@ -8223,7 +8224,7 @@ var Ap = u.forwardRef((e, t) => {
|
|
|
8223
8224
|
{
|
|
8224
8225
|
tabIndex: v || A === 0 ? -1 : 0,
|
|
8225
8226
|
"data-orientation": r,
|
|
8226
|
-
...
|
|
8227
|
+
...p,
|
|
8227
8228
|
ref: h,
|
|
8228
8229
|
style: { outline: "none", ...e.style },
|
|
8229
8230
|
onMouseDown: F(e.onMouseDown, () => {
|
|
@@ -8256,7 +8257,7 @@ var Ap = u.forwardRef((e, t) => {
|
|
|
8256
8257
|
tabStopId: s,
|
|
8257
8258
|
children: a,
|
|
8258
8259
|
...i
|
|
8259
|
-
} = e, c = De(),
|
|
8260
|
+
} = e, c = De(), f = s || c, d = Mp(Wa, n), p = d.currentTabStopId === f, m = Va(n), { onFocusableItemAdd: h, onFocusableItemRemove: b, currentTabStopId: g } = d;
|
|
8260
8261
|
return u.useEffect(() => {
|
|
8261
8262
|
if (r)
|
|
8262
8263
|
return h(), () => b();
|
|
@@ -8264,27 +8265,27 @@ var Ap = u.forwardRef((e, t) => {
|
|
|
8264
8265
|
ir.ItemSlot,
|
|
8265
8266
|
{
|
|
8266
8267
|
scope: n,
|
|
8267
|
-
id:
|
|
8268
|
+
id: f,
|
|
8268
8269
|
focusable: r,
|
|
8269
8270
|
active: o,
|
|
8270
8271
|
children: /* @__PURE__ */ l.jsx(
|
|
8271
8272
|
ne.span,
|
|
8272
8273
|
{
|
|
8273
|
-
tabIndex:
|
|
8274
|
+
tabIndex: p ? 0 : -1,
|
|
8274
8275
|
"data-orientation": d.orientation,
|
|
8275
8276
|
...i,
|
|
8276
8277
|
ref: t,
|
|
8277
8278
|
onMouseDown: F(e.onMouseDown, (x) => {
|
|
8278
|
-
r ? d.onItemFocus(
|
|
8279
|
+
r ? d.onItemFocus(f) : x.preventDefault();
|
|
8279
8280
|
}),
|
|
8280
|
-
onFocus: F(e.onFocus, () => d.onItemFocus(
|
|
8281
|
+
onFocus: F(e.onFocus, () => d.onItemFocus(f)),
|
|
8281
8282
|
onKeyDown: F(e.onKeyDown, (x) => {
|
|
8282
8283
|
if (x.key === "Tab" && x.shiftKey) {
|
|
8283
8284
|
d.onItemShiftTab();
|
|
8284
8285
|
return;
|
|
8285
8286
|
}
|
|
8286
8287
|
if (x.target !== x.currentTarget) return;
|
|
8287
|
-
const v =
|
|
8288
|
+
const v = kp(x, d.orientation, d.dir);
|
|
8288
8289
|
if (v !== void 0) {
|
|
8289
8290
|
if (x.metaKey || x.ctrlKey || x.altKey || x.shiftKey) return;
|
|
8290
8291
|
x.preventDefault();
|
|
@@ -8298,7 +8299,7 @@ var Ap = u.forwardRef((e, t) => {
|
|
|
8298
8299
|
setTimeout(() => Ga(E));
|
|
8299
8300
|
}
|
|
8300
8301
|
}),
|
|
8301
|
-
children: typeof a == "function" ? a({ isCurrentTabStop:
|
|
8302
|
+
children: typeof a == "function" ? a({ isCurrentTabStop: p, hasTabStop: g != null }) : a
|
|
8302
8303
|
}
|
|
8303
8304
|
)
|
|
8304
8305
|
}
|
|
@@ -8316,11 +8317,11 @@ var Tp = {
|
|
|
8316
8317
|
PageDown: "last",
|
|
8317
8318
|
End: "last"
|
|
8318
8319
|
};
|
|
8319
|
-
function
|
|
8320
|
+
function Np(e, t) {
|
|
8320
8321
|
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
8321
8322
|
}
|
|
8322
|
-
function
|
|
8323
|
-
const r =
|
|
8323
|
+
function kp(e, t, n) {
|
|
8324
|
+
const r = Np(e.key, n);
|
|
8324
8325
|
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
|
|
8325
8326
|
return Tp[r];
|
|
8326
8327
|
}
|
|
@@ -8342,8 +8343,8 @@ var Pp = za, Dp = Ba, cr = ["Enter", " "], Ip = ["ArrowDown", "PageUp", "Home"],
|
|
|
8342
8343
|
Vp,
|
|
8343
8344
|
pn,
|
|
8344
8345
|
Ha
|
|
8345
|
-
]), Tt = pn(), Ya = Ha(), [qa, Ye] = Qe(At), [Hp,
|
|
8346
|
-
const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: a = !0 } = e, i = Tt(t), [c,
|
|
8346
|
+
]), Tt = pn(), Ya = Ha(), [qa, Ye] = Qe(At), [Hp, Nt] = Qe(At), Xa = (e) => {
|
|
8347
|
+
const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: a = !0 } = e, i = Tt(t), [c, f] = u.useState(null), d = u.useRef(!1), p = Me(s), m = $a(o);
|
|
8347
8348
|
return u.useEffect(() => {
|
|
8348
8349
|
const h = () => {
|
|
8349
8350
|
d.current = !0, document.addEventListener("pointerdown", b, { capture: !0, once: !0 }), document.addEventListener("pointermove", b, { capture: !0, once: !0 });
|
|
@@ -8356,14 +8357,14 @@ var Pp = za, Dp = Ba, cr = ["Enter", " "], Ip = ["ArrowDown", "PageUp", "Home"],
|
|
|
8356
8357
|
{
|
|
8357
8358
|
scope: t,
|
|
8358
8359
|
open: n,
|
|
8359
|
-
onOpenChange:
|
|
8360
|
+
onOpenChange: p,
|
|
8360
8361
|
content: c,
|
|
8361
|
-
onContentChange:
|
|
8362
|
+
onContentChange: f,
|
|
8362
8363
|
children: /* @__PURE__ */ l.jsx(
|
|
8363
8364
|
Hp,
|
|
8364
8365
|
{
|
|
8365
8366
|
scope: t,
|
|
8366
|
-
onClose: u.useCallback(() =>
|
|
8367
|
+
onClose: u.useCallback(() => p(!1), [p]),
|
|
8367
8368
|
isUsingKeyboardRef: d,
|
|
8368
8369
|
dir: m,
|
|
8369
8370
|
modal: a,
|
|
@@ -8390,7 +8391,7 @@ var Ir = "MenuPortal", [Wp, Za] = Qe(Ir, {
|
|
|
8390
8391
|
Ja.displayName = Ir;
|
|
8391
8392
|
var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
8392
8393
|
(e, t) => {
|
|
8393
|
-
const n = Za(be, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = Ye(be, e.__scopeMenu), a =
|
|
8394
|
+
const n = Za(be, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = Ye(be, e.__scopeMenu), a = Nt(be, e.__scopeMenu);
|
|
8394
8395
|
return /* @__PURE__ */ l.jsx(Ct.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ l.jsx(Fe, { present: r || s.open, children: /* @__PURE__ */ l.jsx(Ct.Slot, { scope: e.__scopeMenu, children: a.modal ? /* @__PURE__ */ l.jsx(Gp, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(Up, { ...o, ref: t }) }) }) });
|
|
8395
8396
|
}
|
|
8396
8397
|
), Gp = u.forwardRef(
|
|
@@ -8398,7 +8399,7 @@ var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
|
8398
8399
|
const n = Ye(be, e.__scopeMenu), r = u.useRef(null), o = ae(t, r);
|
|
8399
8400
|
return u.useEffect(() => {
|
|
8400
8401
|
const s = r.current;
|
|
8401
|
-
if (s) return
|
|
8402
|
+
if (s) return ks(s);
|
|
8402
8403
|
}, []), /* @__PURE__ */ l.jsx(
|
|
8403
8404
|
Lr,
|
|
8404
8405
|
{
|
|
@@ -8439,24 +8440,24 @@ var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
|
8439
8440
|
onCloseAutoFocus: a,
|
|
8440
8441
|
disableOutsidePointerEvents: i,
|
|
8441
8442
|
onEntryFocus: c,
|
|
8442
|
-
onEscapeKeyDown:
|
|
8443
|
+
onEscapeKeyDown: f,
|
|
8443
8444
|
onPointerDownOutside: d,
|
|
8444
|
-
onFocusOutside:
|
|
8445
|
+
onFocusOutside: p,
|
|
8445
8446
|
onInteractOutside: m,
|
|
8446
8447
|
onDismiss: h,
|
|
8447
8448
|
disableOutsideScroll: b,
|
|
8448
8449
|
...g
|
|
8449
|
-
} = e, x = Ye(be, n), v =
|
|
8450
|
+
} = e, x = Ye(be, n), v = Nt(be, n), w = Tt(n), E = Ya(n), S = $p(n), [R, A] = u.useState(null), M = u.useRef(null), C = ae(t, M, x.onContentChange), D = u.useRef(0), I = u.useRef(""), B = u.useRef(0), W = u.useRef(null), V = u.useRef("right"), H = u.useRef(0), Y = b ? xr : u.Fragment, L = b ? { as: Kp, allowPinchZoom: !0 } : void 0, G = (T) => {
|
|
8450
8451
|
var U, J;
|
|
8451
|
-
const y = I.current + T,
|
|
8452
|
+
const y = I.current + T, N = S().filter((Q) => !Q.disabled), j = document.activeElement, $ = (U = N.find((Q) => Q.ref.current === j)) == null ? void 0 : U.textValue, q = N.map((Q) => Q.textValue), ee = sm(q, y, $), ce = (J = N.find((Q) => Q.textValue === ee)) == null ? void 0 : J.ref.current;
|
|
8452
8453
|
(function Q(oe) {
|
|
8453
8454
|
I.current = oe, window.clearTimeout(D.current), oe !== "" && (D.current = window.setTimeout(() => Q(""), 1e3));
|
|
8454
8455
|
})(y), ce && setTimeout(() => ce.focus());
|
|
8455
8456
|
};
|
|
8456
8457
|
u.useEffect(() => () => window.clearTimeout(D.current), []), Cs();
|
|
8457
8458
|
const _ = u.useCallback((T) => {
|
|
8458
|
-
var
|
|
8459
|
-
return V.current === ((
|
|
8459
|
+
var N, j;
|
|
8460
|
+
return V.current === ((N = W.current) == null ? void 0 : N.side) && im(T, (j = W.current) == null ? void 0 : j.area);
|
|
8460
8461
|
}, []);
|
|
8461
8462
|
return /* @__PURE__ */ l.jsx(
|
|
8462
8463
|
Bp,
|
|
@@ -8501,9 +8502,9 @@ var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
|
8501
8502
|
{
|
|
8502
8503
|
asChild: !0,
|
|
8503
8504
|
disableOutsidePointerEvents: i,
|
|
8504
|
-
onEscapeKeyDown:
|
|
8505
|
+
onEscapeKeyDown: f,
|
|
8505
8506
|
onPointerDownOutside: d,
|
|
8506
|
-
onFocusOutside:
|
|
8507
|
+
onFocusOutside: p,
|
|
8507
8508
|
onInteractOutside: m,
|
|
8508
8509
|
onDismiss: h,
|
|
8509
8510
|
children: /* @__PURE__ */ l.jsx(
|
|
@@ -8533,8 +8534,8 @@ var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
|
8533
8534
|
ref: C,
|
|
8534
8535
|
style: { outline: "none", ...g.style },
|
|
8535
8536
|
onKeyDown: F(g.onKeyDown, (T) => {
|
|
8536
|
-
const
|
|
8537
|
-
|
|
8537
|
+
const N = T.target.closest("[data-radix-menu-content]") === T.currentTarget, j = T.ctrlKey || T.altKey || T.metaKey, $ = T.key.length === 1;
|
|
8538
|
+
N && (T.key === "Tab" && T.preventDefault(), !j && $ && G(T.key));
|
|
8538
8539
|
const q = M.current;
|
|
8539
8540
|
if (T.target !== q || !jp.includes(T.key)) return;
|
|
8540
8541
|
T.preventDefault();
|
|
@@ -8547,8 +8548,8 @@ var be = "MenuContent", [Bp, jr] = Qe(be), Qa = u.forwardRef(
|
|
|
8547
8548
|
onPointerMove: F(
|
|
8548
8549
|
e.onPointerMove,
|
|
8549
8550
|
Et((T) => {
|
|
8550
|
-
const y = T.target,
|
|
8551
|
-
if (T.currentTarget.contains(y) &&
|
|
8551
|
+
const y = T.target, N = H.current !== T.clientX;
|
|
8552
|
+
if (T.currentTarget.contains(y) && N) {
|
|
8552
8553
|
const j = T.clientX > H.current ? "right" : "left";
|
|
8553
8554
|
V.current = j, H.current = T.clientX;
|
|
8554
8555
|
}
|
|
@@ -8583,11 +8584,11 @@ var qp = "MenuLabel", ei = u.forwardRef(
|
|
|
8583
8584
|
ei.displayName = qp;
|
|
8584
8585
|
var tn = "MenuItem", Lo = "menu.itemSelect", bn = u.forwardRef(
|
|
8585
8586
|
(e, t) => {
|
|
8586
|
-
const { disabled: n = !1, onSelect: r, ...o } = e, s = u.useRef(null), a =
|
|
8587
|
-
const
|
|
8588
|
-
if (!n &&
|
|
8587
|
+
const { disabled: n = !1, onSelect: r, ...o } = e, s = u.useRef(null), a = Nt(tn, e.__scopeMenu), i = jr(tn, e.__scopeMenu), c = ae(t, s), f = u.useRef(!1), d = () => {
|
|
8588
|
+
const p = s.current;
|
|
8589
|
+
if (!n && p) {
|
|
8589
8590
|
const m = new CustomEvent(Lo, { bubbles: !0, cancelable: !0 });
|
|
8590
|
-
|
|
8591
|
+
p.addEventListener(Lo, (h) => r == null ? void 0 : r(h), { once: !0 }), gs(p, m), m.defaultPrevented ? f.current = !1 : a.onClose();
|
|
8591
8592
|
}
|
|
8592
8593
|
};
|
|
8593
8594
|
return /* @__PURE__ */ l.jsx(
|
|
@@ -8597,17 +8598,17 @@ var tn = "MenuItem", Lo = "menu.itemSelect", bn = u.forwardRef(
|
|
|
8597
8598
|
ref: c,
|
|
8598
8599
|
disabled: n,
|
|
8599
8600
|
onClick: F(e.onClick, d),
|
|
8600
|
-
onPointerDown: (
|
|
8601
|
+
onPointerDown: (p) => {
|
|
8601
8602
|
var m;
|
|
8602
|
-
(m = e.onPointerDown) == null || m.call(e,
|
|
8603
|
+
(m = e.onPointerDown) == null || m.call(e, p), f.current = !0;
|
|
8603
8604
|
},
|
|
8604
|
-
onPointerUp: F(e.onPointerUp, (
|
|
8605
|
+
onPointerUp: F(e.onPointerUp, (p) => {
|
|
8605
8606
|
var m;
|
|
8606
|
-
|
|
8607
|
+
f.current || (m = p.currentTarget) == null || m.click();
|
|
8607
8608
|
}),
|
|
8608
|
-
onKeyDown: F(e.onKeyDown, (
|
|
8609
|
+
onKeyDown: F(e.onKeyDown, (p) => {
|
|
8609
8610
|
const m = i.searchRef.current !== "";
|
|
8610
|
-
n || m &&
|
|
8611
|
+
n || m && p.key === " " || cr.includes(p.key) && (p.currentTarget.click(), p.preventDefault());
|
|
8611
8612
|
})
|
|
8612
8613
|
}
|
|
8613
8614
|
);
|
|
@@ -8616,7 +8617,7 @@ var tn = "MenuItem", Lo = "menu.itemSelect", bn = u.forwardRef(
|
|
|
8616
8617
|
bn.displayName = tn;
|
|
8617
8618
|
var ti = u.forwardRef(
|
|
8618
8619
|
(e, t) => {
|
|
8619
|
-
const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, a = jr(tn, n), i = Ya(n), c = u.useRef(null),
|
|
8620
|
+
const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, a = jr(tn, n), i = Ya(n), c = u.useRef(null), f = ae(t, c), [d, p] = u.useState(!1), [m, h] = u.useState("");
|
|
8620
8621
|
return u.useEffect(() => {
|
|
8621
8622
|
const b = c.current;
|
|
8622
8623
|
b && h((b.textContent ?? "").trim());
|
|
@@ -8634,7 +8635,7 @@ var ti = u.forwardRef(
|
|
|
8634
8635
|
"aria-disabled": r || void 0,
|
|
8635
8636
|
"data-disabled": r ? "" : void 0,
|
|
8636
8637
|
...s,
|
|
8637
|
-
ref:
|
|
8638
|
+
ref: f,
|
|
8638
8639
|
onPointerMove: F(
|
|
8639
8640
|
e.onPointerMove,
|
|
8640
8641
|
Et((b) => {
|
|
@@ -8645,8 +8646,8 @@ var ti = u.forwardRef(
|
|
|
8645
8646
|
e.onPointerLeave,
|
|
8646
8647
|
Et((b) => a.onItemLeave(b))
|
|
8647
8648
|
),
|
|
8648
|
-
onFocus: F(e.onFocus, () =>
|
|
8649
|
-
onBlur: F(e.onBlur, () =>
|
|
8649
|
+
onFocus: F(e.onFocus, () => p(!0)),
|
|
8650
|
+
onBlur: F(e.onBlur, () => p(!1))
|
|
8650
8651
|
}
|
|
8651
8652
|
) })
|
|
8652
8653
|
}
|
|
@@ -8754,14 +8755,14 @@ var tm = "MenuArrow", ui = u.forwardRef(
|
|
|
8754
8755
|
);
|
|
8755
8756
|
ui.displayName = tm;
|
|
8756
8757
|
var Vr = "MenuSub", [nm, di] = Qe(Vr), fi = (e) => {
|
|
8757
|
-
const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = Ye(Vr, t), a = Tt(t), [i, c] = u.useState(null), [
|
|
8758
|
-
return u.useEffect(() => (s.open === !1 &&
|
|
8758
|
+
const { __scopeMenu: t, children: n, open: r = !1, onOpenChange: o } = e, s = Ye(Vr, t), a = Tt(t), [i, c] = u.useState(null), [f, d] = u.useState(null), p = Me(o);
|
|
8759
|
+
return u.useEffect(() => (s.open === !1 && p(!1), () => p(!1)), [s.open, p]), /* @__PURE__ */ l.jsx(Or, { ...a, children: /* @__PURE__ */ l.jsx(
|
|
8759
8760
|
qa,
|
|
8760
8761
|
{
|
|
8761
8762
|
scope: t,
|
|
8762
8763
|
open: r,
|
|
8763
|
-
onOpenChange:
|
|
8764
|
-
content:
|
|
8764
|
+
onOpenChange: p,
|
|
8765
|
+
content: f,
|
|
8765
8766
|
onContentChange: d,
|
|
8766
8767
|
children: /* @__PURE__ */ l.jsx(
|
|
8767
8768
|
nm,
|
|
@@ -8780,15 +8781,15 @@ var Vr = "MenuSub", [nm, di] = Qe(Vr), fi = (e) => {
|
|
|
8780
8781
|
fi.displayName = Vr;
|
|
8781
8782
|
var vt = "MenuSubTrigger", pi = u.forwardRef(
|
|
8782
8783
|
(e, t) => {
|
|
8783
|
-
const n = Ye(vt, e.__scopeMenu), r =
|
|
8784
|
+
const n = Ye(vt, e.__scopeMenu), r = Nt(vt, e.__scopeMenu), o = di(vt, e.__scopeMenu), s = jr(vt, e.__scopeMenu), a = u.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: c } = s, f = { __scopeMenu: e.__scopeMenu }, d = u.useCallback(() => {
|
|
8784
8785
|
a.current && window.clearTimeout(a.current), a.current = null;
|
|
8785
8786
|
}, []);
|
|
8786
8787
|
return u.useEffect(() => d, [d]), u.useEffect(() => {
|
|
8787
|
-
const
|
|
8788
|
+
const p = i.current;
|
|
8788
8789
|
return () => {
|
|
8789
|
-
window.clearTimeout(
|
|
8790
|
+
window.clearTimeout(p), c(null);
|
|
8790
8791
|
};
|
|
8791
|
-
}, [i, c]), /* @__PURE__ */ l.jsx(Dr, { asChild: !0, ...
|
|
8792
|
+
}, [i, c]), /* @__PURE__ */ l.jsx(Dr, { asChild: !0, ...f, children: /* @__PURE__ */ l.jsx(
|
|
8792
8793
|
ti,
|
|
8793
8794
|
{
|
|
8794
8795
|
id: o.triggerId,
|
|
@@ -8798,21 +8799,21 @@ var vt = "MenuSubTrigger", pi = u.forwardRef(
|
|
|
8798
8799
|
"data-state": gi(n.open),
|
|
8799
8800
|
...e,
|
|
8800
8801
|
ref: sn(t, o.onTriggerChange),
|
|
8801
|
-
onClick: (
|
|
8802
|
+
onClick: (p) => {
|
|
8802
8803
|
var m;
|
|
8803
|
-
(m = e.onClick) == null || m.call(e,
|
|
8804
|
+
(m = e.onClick) == null || m.call(e, p), !(e.disabled || p.defaultPrevented) && (p.currentTarget.focus(), n.open || n.onOpenChange(!0));
|
|
8804
8805
|
},
|
|
8805
8806
|
onPointerMove: F(
|
|
8806
8807
|
e.onPointerMove,
|
|
8807
|
-
Et((
|
|
8808
|
-
s.onItemEnter(
|
|
8808
|
+
Et((p) => {
|
|
8809
|
+
s.onItemEnter(p), !p.defaultPrevented && !e.disabled && !n.open && !a.current && (s.onPointerGraceIntentChange(null), a.current = window.setTimeout(() => {
|
|
8809
8810
|
n.onOpenChange(!0), d();
|
|
8810
8811
|
}, 100));
|
|
8811
8812
|
})
|
|
8812
8813
|
),
|
|
8813
8814
|
onPointerLeave: F(
|
|
8814
8815
|
e.onPointerLeave,
|
|
8815
|
-
Et((
|
|
8816
|
+
Et((p) => {
|
|
8816
8817
|
var h, b;
|
|
8817
8818
|
d();
|
|
8818
8819
|
const m = (h = n.content) == null ? void 0 : h.getBoundingClientRect();
|
|
@@ -8822,7 +8823,7 @@ var vt = "MenuSubTrigger", pi = u.forwardRef(
|
|
|
8822
8823
|
area: [
|
|
8823
8824
|
// Apply a bleed on clientX to ensure that our exit point is
|
|
8824
8825
|
// consistently within polygon bounds
|
|
8825
|
-
{ x:
|
|
8826
|
+
{ x: p.clientX + v, y: p.clientY },
|
|
8826
8827
|
{ x: w, y: m.top },
|
|
8827
8828
|
{ x: E, y: m.top },
|
|
8828
8829
|
{ x: E, y: m.bottom },
|
|
@@ -8834,15 +8835,15 @@ var vt = "MenuSubTrigger", pi = u.forwardRef(
|
|
|
8834
8835
|
300
|
|
8835
8836
|
);
|
|
8836
8837
|
} else {
|
|
8837
|
-
if (s.onTriggerLeave(
|
|
8838
|
+
if (s.onTriggerLeave(p), p.defaultPrevented) return;
|
|
8838
8839
|
s.onPointerGraceIntentChange(null);
|
|
8839
8840
|
}
|
|
8840
8841
|
})
|
|
8841
8842
|
),
|
|
8842
|
-
onKeyDown: F(e.onKeyDown, (
|
|
8843
|
+
onKeyDown: F(e.onKeyDown, (p) => {
|
|
8843
8844
|
var h;
|
|
8844
8845
|
const m = s.searchRef.current !== "";
|
|
8845
|
-
e.disabled || m &&
|
|
8846
|
+
e.disabled || m && p.key === " " || Lp[r.dir].includes(p.key) && (n.onOpenChange(!0), (h = n.content) == null || h.focus(), p.preventDefault());
|
|
8846
8847
|
})
|
|
8847
8848
|
}
|
|
8848
8849
|
) });
|
|
@@ -8851,22 +8852,22 @@ var vt = "MenuSubTrigger", pi = u.forwardRef(
|
|
|
8851
8852
|
pi.displayName = vt;
|
|
8852
8853
|
var mi = "MenuSubContent", hi = u.forwardRef(
|
|
8853
8854
|
(e, t) => {
|
|
8854
|
-
const n = Za(be, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = Ye(be, e.__scopeMenu), a =
|
|
8855
|
+
const n = Za(be, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = Ye(be, e.__scopeMenu), a = Nt(be, e.__scopeMenu), i = di(mi, e.__scopeMenu), c = u.useRef(null), f = ae(t, c);
|
|
8855
8856
|
return /* @__PURE__ */ l.jsx(Ct.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ l.jsx(Fe, { present: r || s.open, children: /* @__PURE__ */ l.jsx(Ct.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ l.jsx(
|
|
8856
8857
|
Lr,
|
|
8857
8858
|
{
|
|
8858
8859
|
id: i.contentId,
|
|
8859
8860
|
"aria-labelledby": i.triggerId,
|
|
8860
8861
|
...o,
|
|
8861
|
-
ref:
|
|
8862
|
+
ref: f,
|
|
8862
8863
|
align: "start",
|
|
8863
8864
|
side: a.dir === "rtl" ? "left" : "right",
|
|
8864
8865
|
disableOutsidePointerEvents: !1,
|
|
8865
8866
|
disableOutsideScroll: !1,
|
|
8866
8867
|
trapFocus: !1,
|
|
8867
8868
|
onOpenAutoFocus: (d) => {
|
|
8868
|
-
var
|
|
8869
|
-
a.isUsingKeyboardRef.current && ((
|
|
8869
|
+
var p;
|
|
8870
|
+
a.isUsingKeyboardRef.current && ((p = c.current) == null || p.focus()), d.preventDefault();
|
|
8870
8871
|
},
|
|
8871
8872
|
onCloseAutoFocus: (d) => d.preventDefault(),
|
|
8872
8873
|
onFocusOutside: F(e.onFocusOutside, (d) => {
|
|
@@ -8877,8 +8878,8 @@ var mi = "MenuSubContent", hi = u.forwardRef(
|
|
|
8877
8878
|
}),
|
|
8878
8879
|
onKeyDown: F(e.onKeyDown, (d) => {
|
|
8879
8880
|
var h;
|
|
8880
|
-
const
|
|
8881
|
-
|
|
8881
|
+
const p = d.currentTarget.contains(d.target), m = Fp[a.dir].includes(d.key);
|
|
8882
|
+
p && m && (s.onOpenChange(!1), (h = i.trigger) == null || h.focus(), d.preventDefault());
|
|
8882
8883
|
})
|
|
8883
8884
|
}
|
|
8884
8885
|
) }) }) });
|
|
@@ -8903,11 +8904,11 @@ function om(e, t) {
|
|
|
8903
8904
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
8904
8905
|
}
|
|
8905
8906
|
function sm(e, t, n) {
|
|
8906
|
-
const o = t.length > 1 && Array.from(t).every((
|
|
8907
|
+
const o = t.length > 1 && Array.from(t).every((f) => f === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
|
|
8907
8908
|
let a = om(e, Math.max(s, 0));
|
|
8908
|
-
o.length === 1 && (a = a.filter((
|
|
8909
|
+
o.length === 1 && (a = a.filter((f) => f !== n));
|
|
8909
8910
|
const c = a.find(
|
|
8910
|
-
(
|
|
8911
|
+
(f) => f.toLowerCase().startsWith(o.toLowerCase())
|
|
8911
8912
|
);
|
|
8912
8913
|
return c !== n ? c : void 0;
|
|
8913
8914
|
}
|
|
@@ -8915,8 +8916,8 @@ function am(e, t) {
|
|
|
8915
8916
|
const { x: n, y: r } = e;
|
|
8916
8917
|
let o = !1;
|
|
8917
8918
|
for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
|
|
8918
|
-
const i = t[s], c = t[a],
|
|
8919
|
-
d > r != m > r && n < (
|
|
8919
|
+
const i = t[s], c = t[a], f = i.x, d = i.y, p = c.x, m = c.y;
|
|
8920
|
+
d > r != m > r && n < (p - f) * (r - d) / (m - d) + f && (o = !o);
|
|
8920
8921
|
}
|
|
8921
8922
|
return o;
|
|
8922
8923
|
}
|
|
@@ -8940,7 +8941,7 @@ var cm = Xa, lm = Dr, um = Ja, dm = Qa, fm = Fr, pm = ei, mm = bn, hm = ni, gm =
|
|
|
8940
8941
|
defaultOpen: s,
|
|
8941
8942
|
onOpenChange: a,
|
|
8942
8943
|
modal: i = !0
|
|
8943
|
-
} = e, c = de(t),
|
|
8944
|
+
} = e, c = de(t), f = u.useRef(null), [d, p] = Rt({
|
|
8944
8945
|
prop: o,
|
|
8945
8946
|
defaultProp: s ?? !1,
|
|
8946
8947
|
onChange: a,
|
|
@@ -8951,13 +8952,13 @@ var cm = Xa, lm = Dr, um = Ja, dm = Qa, fm = Fr, pm = ei, mm = bn, hm = ni, gm =
|
|
|
8951
8952
|
{
|
|
8952
8953
|
scope: t,
|
|
8953
8954
|
triggerId: De(),
|
|
8954
|
-
triggerRef:
|
|
8955
|
+
triggerRef: f,
|
|
8955
8956
|
contentId: De(),
|
|
8956
8957
|
open: d,
|
|
8957
|
-
onOpenChange:
|
|
8958
|
-
onOpenToggle: u.useCallback(() =>
|
|
8958
|
+
onOpenChange: p,
|
|
8959
|
+
onOpenToggle: u.useCallback(() => p((m) => !m), [p]),
|
|
8959
8960
|
modal: i,
|
|
8960
|
-
children: /* @__PURE__ */ l.jsx(cm, { ...c, open: d, onOpenChange:
|
|
8961
|
+
children: /* @__PURE__ */ l.jsx(cm, { ...c, open: d, onOpenChange: p, dir: r, modal: i, children: n })
|
|
8961
8962
|
}
|
|
8962
8963
|
);
|
|
8963
8964
|
};
|
|
@@ -9010,7 +9011,7 @@ var Ci = "DropdownMenuContent", Ei = u.forwardRef(
|
|
|
9010
9011
|
a.current || (c = o.triggerRef.current) == null || c.focus(), a.current = !1, i.preventDefault();
|
|
9011
9012
|
}),
|
|
9012
9013
|
onInteractOutside: F(e.onInteractOutside, (i) => {
|
|
9013
|
-
const c = i.detail.originalEvent,
|
|
9014
|
+
const c = i.detail.originalEvent, f = c.button === 0 && c.ctrlKey === !0, d = c.button === 2 || f;
|
|
9014
9015
|
(!o.modal || d) && (a.current = !0);
|
|
9015
9016
|
}),
|
|
9016
9017
|
style: {
|
|
@@ -9047,31 +9048,31 @@ var Tm = "DropdownMenuItem", _i = u.forwardRef(
|
|
|
9047
9048
|
}
|
|
9048
9049
|
);
|
|
9049
9050
|
_i.displayName = Tm;
|
|
9050
|
-
var
|
|
9051
|
+
var Nm = "DropdownMenuCheckboxItem", Mi = u.forwardRef((e, t) => {
|
|
9051
9052
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
9052
9053
|
return /* @__PURE__ */ l.jsx(hm, { ...o, ...r, ref: t });
|
|
9053
9054
|
});
|
|
9054
|
-
Mi.displayName =
|
|
9055
|
-
var
|
|
9055
|
+
Mi.displayName = Nm;
|
|
9056
|
+
var km = "DropdownMenuRadioGroup", Ai = u.forwardRef((e, t) => {
|
|
9056
9057
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
9057
9058
|
return /* @__PURE__ */ l.jsx(gm, { ...o, ...r, ref: t });
|
|
9058
9059
|
});
|
|
9059
|
-
Ai.displayName =
|
|
9060
|
+
Ai.displayName = km;
|
|
9060
9061
|
var Om = "DropdownMenuRadioItem", Ti = u.forwardRef((e, t) => {
|
|
9061
9062
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
9062
9063
|
return /* @__PURE__ */ l.jsx(vm, { ...o, ...r, ref: t });
|
|
9063
9064
|
});
|
|
9064
9065
|
Ti.displayName = Om;
|
|
9065
|
-
var Pm = "DropdownMenuItemIndicator",
|
|
9066
|
+
var Pm = "DropdownMenuItemIndicator", Ni = u.forwardRef((e, t) => {
|
|
9066
9067
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
9067
9068
|
return /* @__PURE__ */ l.jsx(bm, { ...o, ...r, ref: t });
|
|
9068
9069
|
});
|
|
9069
|
-
|
|
9070
|
-
var Dm = "DropdownMenuSeparator",
|
|
9070
|
+
Ni.displayName = Pm;
|
|
9071
|
+
var Dm = "DropdownMenuSeparator", ki = u.forwardRef((e, t) => {
|
|
9071
9072
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
9072
9073
|
return /* @__PURE__ */ l.jsx(xm, { ...o, ...r, ref: t });
|
|
9073
9074
|
});
|
|
9074
|
-
|
|
9075
|
+
ki.displayName = Dm;
|
|
9075
9076
|
var Im = "DropdownMenuArrow", jm = u.forwardRef(
|
|
9076
9077
|
(e, t) => {
|
|
9077
9078
|
const { __scopeDropdownMenu: n, ...r } = e, o = de(n);
|
|
@@ -9112,7 +9113,7 @@ var $m = "DropdownMenuSubContent", Pi = u.forwardRef((e, t) => {
|
|
|
9112
9113
|
);
|
|
9113
9114
|
});
|
|
9114
9115
|
Pi.displayName = $m;
|
|
9115
|
-
var Vm = bi, Hm = wi, Di = yi, zm = Ei, Wm = Si, Bm = Ri, Gm = _i, Um = Mi, Km = Ai, Ym = Ti, Ii =
|
|
9116
|
+
var Vm = bi, Hm = wi, Di = yi, zm = Ei, Wm = Si, Bm = Ri, Gm = _i, Um = Mi, Km = Ai, Ym = Ti, Ii = Ni, qm = ki, Xm = Lm, Zm = Oi, Jm = Pi;
|
|
9116
9117
|
function Qm({
|
|
9117
9118
|
...e
|
|
9118
9119
|
}) {
|
|
@@ -9478,6 +9479,9 @@ function c0({ ...e }) {
|
|
|
9478
9479
|
url: o ? r.url : void 0,
|
|
9479
9480
|
icon: r.icon,
|
|
9480
9481
|
isActive: s,
|
|
9482
|
+
className: P(
|
|
9483
|
+
!o && "cursor-not-allowed opacity-50 pointer-events-none"
|
|
9484
|
+
),
|
|
9481
9485
|
children: /* @__PURE__ */ l.jsx(gp, { children: /* @__PURE__ */ l.jsx(bp, { children: r.items.map((a) => {
|
|
9482
9486
|
const i = o && t(a.url);
|
|
9483
9487
|
return /* @__PURE__ */ l.jsx(xp, { children: /* @__PURE__ */ l.jsx(wp, { asChild: !0, children: /* @__PURE__ */ l.jsxs(
|
|
@@ -9630,13 +9634,13 @@ export {
|
|
|
9630
9634
|
mp as SidebarContent,
|
|
9631
9635
|
M0 as SidebarFooter,
|
|
9632
9636
|
hp as SidebarGroup,
|
|
9633
|
-
|
|
9637
|
+
N0 as SidebarGroupAction,
|
|
9634
9638
|
gp as SidebarGroupContent,
|
|
9635
9639
|
T0 as SidebarGroupLabel,
|
|
9636
9640
|
pp as SidebarHeader,
|
|
9637
9641
|
_0 as SidebarInput,
|
|
9638
9642
|
fp as SidebarInset,
|
|
9639
|
-
|
|
9643
|
+
k0 as SidebarMenu,
|
|
9640
9644
|
D0 as SidebarMenuAction,
|
|
9641
9645
|
I0 as SidebarMenuBadge,
|
|
9642
9646
|
P0 as SidebarMenuButton,
|