ies2-aulapp-ui-kit 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +514 -515
- package/dist/lib/i18n/hooks/useI18n.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as g from "react";
|
|
2
|
-
import u, { forwardRef as ge, createContext as Ni, useContext as ji, useMemo as
|
|
2
|
+
import u, { forwardRef as ge, createContext as Ni, useContext as ji, useMemo as st, useRef as vt, useCallback as ar, useState as Po, useEffect as Ao, createElement as _i, useLayoutEffect as Fi } from "react";
|
|
3
3
|
import * as Mo from "react-dom";
|
|
4
|
-
import
|
|
4
|
+
import $i from "react-dom";
|
|
5
5
|
function Ii(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var yt = { exports: {} }, tt = {};
|
|
9
|
+
var cr;
|
|
10
10
|
function Bi() {
|
|
11
|
-
if (
|
|
12
|
-
|
|
11
|
+
if (cr) return tt;
|
|
12
|
+
cr = 1;
|
|
13
13
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
14
14
|
function n(r, o, s) {
|
|
15
15
|
var i = null;
|
|
@@ -29,9 +29,9 @@ function Bi() {
|
|
|
29
29
|
return tt.Fragment = t, tt.jsx = n, tt.jsxs = n, tt;
|
|
30
30
|
}
|
|
31
31
|
var nt = {};
|
|
32
|
-
var
|
|
32
|
+
var lr;
|
|
33
33
|
function Di() {
|
|
34
|
-
return
|
|
34
|
+
return lr || (lr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
35
35
|
function e(y) {
|
|
36
36
|
if (y == null) return null;
|
|
37
37
|
if (typeof y == "function")
|
|
@@ -48,7 +48,7 @@ function Di() {
|
|
|
48
48
|
return "Suspense";
|
|
49
49
|
case M:
|
|
50
50
|
return "SuspenseList";
|
|
51
|
-
case
|
|
51
|
+
case $:
|
|
52
52
|
return "Activity";
|
|
53
53
|
}
|
|
54
54
|
if (typeof y == "object")
|
|
@@ -66,7 +66,7 @@ function Di() {
|
|
|
66
66
|
return y = y.displayName, y || (y = L.displayName || L.name || "", y = y !== "" ? "ForwardRef(" + y + ")" : "ForwardRef"), y;
|
|
67
67
|
case R:
|
|
68
68
|
return L = y.displayName || null, L !== null ? L : e(y.type) || "Memo";
|
|
69
|
-
case
|
|
69
|
+
case F:
|
|
70
70
|
L = y._payload, y = y._init;
|
|
71
71
|
try {
|
|
72
72
|
return e(y(L));
|
|
@@ -97,7 +97,7 @@ function Di() {
|
|
|
97
97
|
}
|
|
98
98
|
function r(y) {
|
|
99
99
|
if (y === b) return "<>";
|
|
100
|
-
if (typeof y == "object" && y !== null && y.$$typeof ===
|
|
100
|
+
if (typeof y == "object" && y !== null && y.$$typeof === F)
|
|
101
101
|
return "<...>";
|
|
102
102
|
try {
|
|
103
103
|
var L = e(y);
|
|
@@ -220,12 +220,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
function d(y) {
|
|
223
|
-
h(y) ? y._store && (y._store.validated = 1) : typeof y == "object" && y !== null && y.$$typeof ===
|
|
223
|
+
h(y) ? y._store && (y._store.validated = 1) : typeof y == "object" && y !== null && y.$$typeof === F && (y._payload.status === "fulfilled" ? h(y._payload.value) && y._payload.value._store && (y._payload.value._store.validated = 1) : y._store && (y._store.validated = 1));
|
|
224
224
|
}
|
|
225
225
|
function h(y) {
|
|
226
226
|
return typeof y == "object" && y !== null && y.$$typeof === v;
|
|
227
227
|
}
|
|
228
|
-
var p = u, v = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), S = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"),
|
|
228
|
+
var p = u, v = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), S = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), M = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), V = Symbol.for("react.client.reference"), W = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, U = Object.prototype.hasOwnProperty, Z = Array.isArray, ee = console.createTask ? console.createTask : function() {
|
|
229
229
|
return null;
|
|
230
230
|
};
|
|
231
231
|
p = {
|
|
@@ -260,34 +260,34 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
};
|
|
261
261
|
})()), nt;
|
|
262
262
|
}
|
|
263
|
-
var
|
|
263
|
+
var ur;
|
|
264
264
|
function zi() {
|
|
265
|
-
return
|
|
265
|
+
return ur || (ur = 1, process.env.NODE_ENV === "production" ? yt.exports = Bi() : yt.exports = Di()), yt.exports;
|
|
266
266
|
}
|
|
267
267
|
var w = zi();
|
|
268
|
-
function
|
|
268
|
+
function dr(e, t) {
|
|
269
269
|
if (typeof e == "function")
|
|
270
270
|
return e(t);
|
|
271
271
|
e != null && (e.current = t);
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Un(...e) {
|
|
274
274
|
return (t) => {
|
|
275
275
|
let n = !1;
|
|
276
276
|
const r = e.map((o) => {
|
|
277
|
-
const s =
|
|
277
|
+
const s = dr(o, t);
|
|
278
278
|
return !n && typeof s == "function" && (n = !0), s;
|
|
279
279
|
});
|
|
280
280
|
if (n)
|
|
281
281
|
return () => {
|
|
282
282
|
for (let o = 0; o < r.length; o++) {
|
|
283
283
|
const s = r[o];
|
|
284
|
-
typeof s == "function" ? s() :
|
|
284
|
+
typeof s == "function" ? s() : dr(e[o], null);
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
289
|
function me(...e) {
|
|
290
|
-
return g.useCallback(
|
|
290
|
+
return g.useCallback(Un(...e), e);
|
|
291
291
|
}
|
|
292
292
|
var Vi = Symbol.for("react.lazy"), jt = g[" use ".trim().toString()];
|
|
293
293
|
function Wi(e) {
|
|
@@ -317,7 +317,7 @@ function Ui(e) {
|
|
|
317
317
|
let { children: o, ...s } = n;
|
|
318
318
|
if (No(o) && typeof jt == "function" && (o = jt(o._payload)), g.isValidElement(o)) {
|
|
319
319
|
const i = qi(o), a = Gi(s, o.props);
|
|
320
|
-
return o.type !== g.Fragment && (a.ref = r ?
|
|
320
|
+
return o.type !== g.Fragment && (a.ref = r ? Un(r, i) : i), g.cloneElement(o, a);
|
|
321
321
|
}
|
|
322
322
|
return g.Children.count(o) > 1 ? g.Children.only(null) : null;
|
|
323
323
|
});
|
|
@@ -355,13 +355,13 @@ function _o() {
|
|
|
355
355
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = jo(e)) && (r && (r += " "), r += t);
|
|
356
356
|
return r;
|
|
357
357
|
}
|
|
358
|
-
const
|
|
358
|
+
const fr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, pr = _o, Fo = (e, t) => (n) => {
|
|
359
359
|
var r;
|
|
360
|
-
if (t?.variants == null) return
|
|
360
|
+
if (t?.variants == null) return pr(e, n?.class, n?.className);
|
|
361
361
|
const { variants: o, defaultVariants: s } = t, i = Object.keys(o).map((l) => {
|
|
362
362
|
const f = n?.[l], d = s?.[l];
|
|
363
363
|
if (f === null) return null;
|
|
364
|
-
const h =
|
|
364
|
+
const h = fr(f) || fr(d);
|
|
365
365
|
return o[l][h];
|
|
366
366
|
}), a = n && Object.entries(n).reduce((l, f) => {
|
|
367
367
|
let [d, h] = f;
|
|
@@ -383,7 +383,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
383
383
|
h
|
|
384
384
|
] : l;
|
|
385
385
|
}, []);
|
|
386
|
-
return
|
|
386
|
+
return pr(e, i, c, n?.class, n?.className);
|
|
387
387
|
}, Xi = (e, t) => {
|
|
388
388
|
const n = new Array(e.length + t.length);
|
|
389
389
|
for (let r = 0; r < e.length; r++)
|
|
@@ -394,11 +394,11 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
394
394
|
}, Ji = (e, t) => ({
|
|
395
395
|
classGroupId: e,
|
|
396
396
|
validator: t
|
|
397
|
-
}),
|
|
397
|
+
}), $o = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
398
398
|
nextPart: e,
|
|
399
399
|
validators: t,
|
|
400
400
|
classGroupId: n
|
|
401
|
-
}), _t = "-",
|
|
401
|
+
}), _t = "-", hr = [], Qi = "arbitrary..", ea = (e) => {
|
|
402
402
|
const t = na(e), {
|
|
403
403
|
conflictingClassGroups: n,
|
|
404
404
|
conflictingClassGroupModifiers: r
|
|
@@ -413,9 +413,9 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
413
413
|
getConflictingClassGroupIds: (i, a) => {
|
|
414
414
|
if (a) {
|
|
415
415
|
const c = r[i], l = n[i];
|
|
416
|
-
return c ? l ? Xi(l, c) : c : l ||
|
|
416
|
+
return c ? l ? Xi(l, c) : c : l || hr;
|
|
417
417
|
}
|
|
418
|
-
return n[i] ||
|
|
418
|
+
return n[i] || hr;
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
421
|
}, Io = (e, t, n) => {
|
|
@@ -445,13 +445,13 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
445
445
|
} = e;
|
|
446
446
|
return ra(n, t);
|
|
447
447
|
}, ra = (e, t) => {
|
|
448
|
-
const n =
|
|
448
|
+
const n = $o();
|
|
449
449
|
for (const r in e) {
|
|
450
450
|
const o = e[r];
|
|
451
|
-
|
|
451
|
+
Kn(o, n, r, t);
|
|
452
452
|
}
|
|
453
453
|
return n;
|
|
454
|
-
},
|
|
454
|
+
}, Kn = (e, t, n, r) => {
|
|
455
455
|
const o = e.length;
|
|
456
456
|
for (let s = 0; s < o; s++) {
|
|
457
457
|
const i = e[s];
|
|
@@ -472,7 +472,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
472
472
|
r.classGroupId = n;
|
|
473
473
|
}, ia = (e, t, n, r) => {
|
|
474
474
|
if (ca(e)) {
|
|
475
|
-
|
|
475
|
+
Kn(e(r), t, n, r);
|
|
476
476
|
return;
|
|
477
477
|
}
|
|
478
478
|
t.validators === null && (t.validators = []), t.validators.push(Ji(n, e));
|
|
@@ -480,7 +480,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
480
480
|
const o = Object.entries(e), s = o.length;
|
|
481
481
|
for (let i = 0; i < s; i++) {
|
|
482
482
|
const [a, c] = o[i];
|
|
483
|
-
|
|
483
|
+
Kn(c, Bo(t, a), n, r);
|
|
484
484
|
}
|
|
485
485
|
}, Bo = (e, t) => {
|
|
486
486
|
let n = e;
|
|
@@ -488,7 +488,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
488
488
|
for (let s = 0; s < o; s++) {
|
|
489
489
|
const i = r[s];
|
|
490
490
|
let a = n.nextPart.get(i);
|
|
491
|
-
a || (a =
|
|
491
|
+
a || (a = $o(), n.nextPart.set(i, a)), n = a;
|
|
492
492
|
}
|
|
493
493
|
return n;
|
|
494
494
|
}, ca = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, la = (e) => {
|
|
@@ -515,7 +515,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
515
515
|
s in n ? n[s] = i : o(s, i);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
}, jn = "!",
|
|
518
|
+
}, jn = "!", mr = ":", ua = [], gr = (e, t, n, r, o) => ({
|
|
519
519
|
modifiers: e,
|
|
520
520
|
hasImportantModifier: t,
|
|
521
521
|
baseClassName: n,
|
|
@@ -533,7 +533,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
533
533
|
for (let m = 0; m < f; m++) {
|
|
534
534
|
const b = o[m];
|
|
535
535
|
if (i === 0 && a === 0) {
|
|
536
|
-
if (b ===
|
|
536
|
+
if (b === mr) {
|
|
537
537
|
s.push(o.slice(c, m)), c = m + 1;
|
|
538
538
|
continue;
|
|
539
539
|
}
|
|
@@ -554,11 +554,11 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
554
554
|
d.startsWith(jn) && (h = d.slice(1), p = !0)
|
|
555
555
|
);
|
|
556
556
|
const v = l && l > c ? l - c : void 0;
|
|
557
|
-
return
|
|
557
|
+
return gr(s, p, h, v);
|
|
558
558
|
};
|
|
559
559
|
if (t) {
|
|
560
|
-
const o = t +
|
|
561
|
-
r = (i) => i.startsWith(o) ? s(i.slice(o.length)) :
|
|
560
|
+
const o = t + mr, s = r;
|
|
561
|
+
r = (i) => i.startsWith(o) ? s(i.slice(o.length)) : gr(ua, !1, i, void 0, !0);
|
|
562
562
|
}
|
|
563
563
|
if (n) {
|
|
564
564
|
const o = r;
|
|
@@ -663,13 +663,13 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
663
663
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
664
664
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
665
665
|
wa.test(e) && !Ea.test(e)
|
|
666
|
-
), Wo = () => !1, Ta = (e) => ka.test(e), Ra = (e) => Sa.test(e), La = (e) => !I(e) && !B(e), Pa = (e) => Ge(e, Uo, Wo), I = (e) => zo.test(e), _e = (e) => Ge(e, Ko, Oa), fn = (e) => Ge(e, _a, Q),
|
|
666
|
+
), Wo = () => !1, Ta = (e) => ka.test(e), Ra = (e) => Sa.test(e), La = (e) => !I(e) && !B(e), Pa = (e) => Ge(e, Uo, Wo), I = (e) => zo.test(e), _e = (e) => Ge(e, Ko, Oa), fn = (e) => Ge(e, _a, Q), vr = (e) => Ge(e, Zo, Wo), Aa = (e) => Ge(e, Ho, Ra), bt = (e) => Ge(e, Yo, Ta), B = (e) => Vo.test(e), rt = (e) => qe(e, Ko), Ma = (e) => qe(e, Fa), yr = (e) => qe(e, Zo), Na = (e) => qe(e, Uo), ja = (e) => qe(e, Ho), xt = (e) => qe(e, Yo, !0), Ge = (e, t, n) => {
|
|
667
667
|
const r = zo.exec(e);
|
|
668
668
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
669
669
|
}, qe = (e, t, n = !1) => {
|
|
670
670
|
const r = Vo.exec(e);
|
|
671
671
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
672
|
-
}, Zo = (e) => e === "position" || e === "percentage", Ho = (e) => e === "image" || e === "url", Uo = (e) => e === "length" || e === "size" || e === "bg-size", Ko = (e) => e === "length", _a = (e) => e === "number",
|
|
672
|
+
}, Zo = (e) => e === "position" || e === "percentage", Ho = (e) => e === "image" || e === "url", Uo = (e) => e === "length" || e === "size" || e === "bg-size", Ko = (e) => e === "length", _a = (e) => e === "number", Fa = (e) => e === "family-name", Yo = (e) => e === "shadow", $a = () => {
|
|
673
673
|
const e = se("color"), t = se("font"), n = se("text"), r = se("font-weight"), o = se("tracking"), s = se("leading"), i = se("breakpoint"), a = se("container"), c = se("spacing"), l = se("radius"), f = se("shadow"), d = se("inset-shadow"), h = se("text-shadow"), p = se("drop-shadow"), v = se("blur"), m = se("perspective"), b = se("aspect"), E = se("ease"), C = se("animate"), k = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
674
674
|
"center",
|
|
675
675
|
"top",
|
|
@@ -688,9 +688,9 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
688
688
|
"bottom-left",
|
|
689
689
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
690
690
|
"left-bottom"
|
|
691
|
-
], x = () => [...S(), B, I], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], R = () => [B, I, c],
|
|
691
|
+
], x = () => [...S(), B, I], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], R = () => [B, I, c], F = () => [Be, "full", "auto", ...R()], $ = () => [Le, "none", "subgrid", B, I], V = () => ["auto", {
|
|
692
692
|
span: ["full", Le, B, I]
|
|
693
|
-
}, Le, B, I], W = () => [Le, "auto", B, I], U = () => ["auto", "min", "max", "fr", B, I], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...R()], H = () => [Be, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], T = () => [e, B, I], te = () => [...S(),
|
|
693
|
+
}, Le, B, I], W = () => [Le, "auto", B, I], U = () => ["auto", "min", "max", "fr", B, I], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...R()], H = () => [Be, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], T = () => [e, B, I], te = () => [...S(), yr, vr, {
|
|
694
694
|
position: [B, I]
|
|
695
695
|
}], O = () => ["no-repeat", {
|
|
696
696
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -704,7 +704,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
704
704
|
l,
|
|
705
705
|
B,
|
|
706
706
|
I
|
|
707
|
-
], N = () => ["", Q, rt, _e], q = () => ["solid", "dashed", "dotted", "double"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [Q, dn,
|
|
707
|
+
], N = () => ["", Q, rt, _e], q = () => ["solid", "dashed", "dotted", "double"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [Q, dn, yr, vr], G = () => [
|
|
708
708
|
// Deprecated since Tailwind CSS v4.0.0
|
|
709
709
|
"",
|
|
710
710
|
"none",
|
|
@@ -889,63 +889,63 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
889
889
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
890
890
|
*/
|
|
891
891
|
inset: [{
|
|
892
|
-
inset:
|
|
892
|
+
inset: F()
|
|
893
893
|
}],
|
|
894
894
|
/**
|
|
895
895
|
* Right / Left
|
|
896
896
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
897
897
|
*/
|
|
898
898
|
"inset-x": [{
|
|
899
|
-
"inset-x":
|
|
899
|
+
"inset-x": F()
|
|
900
900
|
}],
|
|
901
901
|
/**
|
|
902
902
|
* Top / Bottom
|
|
903
903
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
904
904
|
*/
|
|
905
905
|
"inset-y": [{
|
|
906
|
-
"inset-y":
|
|
906
|
+
"inset-y": F()
|
|
907
907
|
}],
|
|
908
908
|
/**
|
|
909
909
|
* Start
|
|
910
910
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
911
911
|
*/
|
|
912
912
|
start: [{
|
|
913
|
-
start:
|
|
913
|
+
start: F()
|
|
914
914
|
}],
|
|
915
915
|
/**
|
|
916
916
|
* End
|
|
917
917
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
918
918
|
*/
|
|
919
919
|
end: [{
|
|
920
|
-
end:
|
|
920
|
+
end: F()
|
|
921
921
|
}],
|
|
922
922
|
/**
|
|
923
923
|
* Top
|
|
924
924
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
925
925
|
*/
|
|
926
926
|
top: [{
|
|
927
|
-
top:
|
|
927
|
+
top: F()
|
|
928
928
|
}],
|
|
929
929
|
/**
|
|
930
930
|
* Right
|
|
931
931
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
932
932
|
*/
|
|
933
933
|
right: [{
|
|
934
|
-
right:
|
|
934
|
+
right: F()
|
|
935
935
|
}],
|
|
936
936
|
/**
|
|
937
937
|
* Bottom
|
|
938
938
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
939
939
|
*/
|
|
940
940
|
bottom: [{
|
|
941
|
-
bottom:
|
|
941
|
+
bottom: F()
|
|
942
942
|
}],
|
|
943
943
|
/**
|
|
944
944
|
* Left
|
|
945
945
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
946
946
|
*/
|
|
947
947
|
left: [{
|
|
948
|
-
left:
|
|
948
|
+
left: F()
|
|
949
949
|
}],
|
|
950
950
|
/**
|
|
951
951
|
* Visibility
|
|
@@ -1016,7 +1016,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
1016
1016
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1017
1017
|
*/
|
|
1018
1018
|
"grid-cols": [{
|
|
1019
|
-
"grid-cols":
|
|
1019
|
+
"grid-cols": $()
|
|
1020
1020
|
}],
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Grid Column Start / End
|
|
@@ -1044,7 +1044,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
1044
1044
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1045
1045
|
*/
|
|
1046
1046
|
"grid-rows": [{
|
|
1047
|
-
"grid-rows":
|
|
1047
|
+
"grid-rows": $()
|
|
1048
1048
|
}],
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Grid Row Start / End
|
|
@@ -2061,8 +2061,8 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
2061
2061
|
"",
|
|
2062
2062
|
"none",
|
|
2063
2063
|
f,
|
|
2064
|
-
|
|
2065
|
-
|
|
2064
|
+
xt,
|
|
2065
|
+
bt
|
|
2066
2066
|
]
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
@@ -2077,7 +2077,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
2077
2077
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2078
2078
|
*/
|
|
2079
2079
|
"inset-shadow": [{
|
|
2080
|
-
"inset-shadow": ["none", d,
|
|
2080
|
+
"inset-shadow": ["none", d, xt, bt]
|
|
2081
2081
|
}],
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Inset Box Shadow Color
|
|
@@ -2144,7 +2144,7 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
2144
2144
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2145
2145
|
*/
|
|
2146
2146
|
"text-shadow": [{
|
|
2147
|
-
"text-shadow": ["none", h,
|
|
2147
|
+
"text-shadow": ["none", h, xt, bt]
|
|
2148
2148
|
}],
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Text Shadow Color
|
|
@@ -2417,8 +2417,8 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
2417
2417
|
"",
|
|
2418
2418
|
"none",
|
|
2419
2419
|
p,
|
|
2420
|
-
|
|
2421
|
-
|
|
2420
|
+
xt,
|
|
2421
|
+
bt
|
|
2422
2422
|
]
|
|
2423
2423
|
}],
|
|
2424
2424
|
/**
|
|
@@ -3139,11 +3139,11 @@ const pr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, hr = _o, $
|
|
|
3139
3139
|
},
|
|
3140
3140
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3141
3141
|
};
|
|
3142
|
-
}, Ia = /* @__PURE__ */ va(
|
|
3142
|
+
}, Ia = /* @__PURE__ */ va($a);
|
|
3143
3143
|
function pe(...e) {
|
|
3144
3144
|
return Ia(_o(e));
|
|
3145
3145
|
}
|
|
3146
|
-
const Ba =
|
|
3146
|
+
const Ba = Fo(
|
|
3147
3147
|
[
|
|
3148
3148
|
"group relative inline-flex items-center justify-center gap-2 rounded-[var(--button-radius,999px)] font-bold tracking-tight text-[1rem]",
|
|
3149
3149
|
"transition-[background,filter,color] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2 focus-visible:ring-offset-[hsl(var(--background))]",
|
|
@@ -3277,11 +3277,11 @@ function ve(e, t) {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
return n;
|
|
3279
3279
|
}
|
|
3280
|
-
var
|
|
3281
|
-
var
|
|
3280
|
+
var wt = { exports: {} }, Et = { exports: {} }, ne = {};
|
|
3281
|
+
var br;
|
|
3282
3282
|
function Va() {
|
|
3283
|
-
if (
|
|
3284
|
-
|
|
3283
|
+
if (br) return ne;
|
|
3284
|
+
br = 1;
|
|
3285
3285
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
3286
3286
|
function k(x) {
|
|
3287
3287
|
if (typeof x == "object" && x !== null) {
|
|
@@ -3345,9 +3345,9 @@ function Va() {
|
|
|
3345
3345
|
}, ne.typeOf = k, ne;
|
|
3346
3346
|
}
|
|
3347
3347
|
var re = {};
|
|
3348
|
-
var
|
|
3348
|
+
var xr;
|
|
3349
3349
|
function Wa() {
|
|
3350
|
-
return
|
|
3350
|
+
return xr || (xr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3351
3351
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
3352
3352
|
function k(j) {
|
|
3353
3353
|
return typeof j == "string" || typeof j == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -3358,24 +3358,24 @@ function Wa() {
|
|
|
3358
3358
|
var ue = j.$$typeof;
|
|
3359
3359
|
switch (ue) {
|
|
3360
3360
|
case t:
|
|
3361
|
-
var
|
|
3362
|
-
switch (
|
|
3361
|
+
var gt = j.type;
|
|
3362
|
+
switch (gt) {
|
|
3363
3363
|
case c:
|
|
3364
3364
|
case l:
|
|
3365
3365
|
case r:
|
|
3366
3366
|
case s:
|
|
3367
3367
|
case o:
|
|
3368
3368
|
case d:
|
|
3369
|
-
return
|
|
3369
|
+
return gt;
|
|
3370
3370
|
default:
|
|
3371
|
-
var
|
|
3372
|
-
switch (
|
|
3371
|
+
var ir = gt && gt.$$typeof;
|
|
3372
|
+
switch (ir) {
|
|
3373
3373
|
case a:
|
|
3374
3374
|
case f:
|
|
3375
3375
|
case v:
|
|
3376
3376
|
case p:
|
|
3377
3377
|
case i:
|
|
3378
|
-
return
|
|
3378
|
+
return ir;
|
|
3379
3379
|
default:
|
|
3380
3380
|
return ue;
|
|
3381
3381
|
}
|
|
@@ -3385,7 +3385,7 @@ function Wa() {
|
|
|
3385
3385
|
}
|
|
3386
3386
|
}
|
|
3387
3387
|
}
|
|
3388
|
-
var x = c, _ = l, M = a, R = i,
|
|
3388
|
+
var x = c, _ = l, M = a, R = i, F = t, $ = f, V = r, W = v, U = p, Z = n, ee = s, D = o, H = d, T = !1;
|
|
3389
3389
|
function te(j) {
|
|
3390
3390
|
return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(j) || S(j) === c;
|
|
3391
3391
|
}
|
|
@@ -3425,17 +3425,17 @@ function Wa() {
|
|
|
3425
3425
|
function oe(j) {
|
|
3426
3426
|
return S(j) === d;
|
|
3427
3427
|
}
|
|
3428
|
-
re.AsyncMode = x, re.ConcurrentMode = _, re.ContextConsumer = M, re.ContextProvider = R, re.Element =
|
|
3428
|
+
re.AsyncMode = x, re.ConcurrentMode = _, re.ContextConsumer = M, re.ContextProvider = R, re.Element = F, re.ForwardRef = $, re.Fragment = V, re.Lazy = W, re.Memo = U, re.Portal = Z, re.Profiler = ee, re.StrictMode = D, re.Suspense = H, re.isAsyncMode = te, re.isConcurrentMode = O, re.isContextConsumer = y, re.isContextProvider = L, re.isElement = P, re.isForwardRef = N, re.isFragment = q, re.isLazy = K, re.isMemo = A, re.isPortal = G, re.isProfiler = J, re.isStrictMode = X, re.isSuspense = oe, re.isValidElementType = k, re.typeOf = S;
|
|
3429
3429
|
})()), re;
|
|
3430
3430
|
}
|
|
3431
|
-
var
|
|
3431
|
+
var wr;
|
|
3432
3432
|
function Go() {
|
|
3433
|
-
return
|
|
3433
|
+
return wr || (wr = 1, process.env.NODE_ENV === "production" ? Et.exports = Va() : Et.exports = Wa()), Et.exports;
|
|
3434
3434
|
}
|
|
3435
|
-
var pn,
|
|
3435
|
+
var pn, Er;
|
|
3436
3436
|
function Za() {
|
|
3437
|
-
if (
|
|
3438
|
-
|
|
3437
|
+
if (Er) return pn;
|
|
3438
|
+
Er = 1;
|
|
3439
3439
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
3440
3440
|
function r(s) {
|
|
3441
3441
|
if (s == null)
|
|
@@ -3478,25 +3478,25 @@ function Za() {
|
|
|
3478
3478
|
return c;
|
|
3479
3479
|
}, pn;
|
|
3480
3480
|
}
|
|
3481
|
-
var hn,
|
|
3482
|
-
function
|
|
3483
|
-
if (
|
|
3484
|
-
|
|
3481
|
+
var hn, kr;
|
|
3482
|
+
function Yn() {
|
|
3483
|
+
if (kr) return hn;
|
|
3484
|
+
kr = 1;
|
|
3485
3485
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
3486
3486
|
return hn = e, hn;
|
|
3487
3487
|
}
|
|
3488
|
-
var mn,
|
|
3488
|
+
var mn, Sr;
|
|
3489
3489
|
function qo() {
|
|
3490
|
-
return
|
|
3490
|
+
return Sr || (Sr = 1, mn = Function.call.bind(Object.prototype.hasOwnProperty)), mn;
|
|
3491
3491
|
}
|
|
3492
|
-
var gn,
|
|
3492
|
+
var gn, Cr;
|
|
3493
3493
|
function Ha() {
|
|
3494
|
-
if (
|
|
3495
|
-
|
|
3494
|
+
if (Cr) return gn;
|
|
3495
|
+
Cr = 1;
|
|
3496
3496
|
var e = function() {
|
|
3497
3497
|
};
|
|
3498
3498
|
if (process.env.NODE_ENV !== "production") {
|
|
3499
|
-
var t = /* @__PURE__ */
|
|
3499
|
+
var t = /* @__PURE__ */ Yn(), n = {}, r = /* @__PURE__ */ qo();
|
|
3500
3500
|
e = function(s) {
|
|
3501
3501
|
var i = "Warning: " + s;
|
|
3502
3502
|
typeof console < "u" && console.error(i);
|
|
@@ -3538,11 +3538,11 @@ function Ha() {
|
|
|
3538
3538
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
3539
3539
|
}, gn = o, gn;
|
|
3540
3540
|
}
|
|
3541
|
-
var vn,
|
|
3541
|
+
var vn, Or;
|
|
3542
3542
|
function Ua() {
|
|
3543
|
-
if (
|
|
3544
|
-
|
|
3545
|
-
var e = Go(), t = Za(), n = /* @__PURE__ */
|
|
3543
|
+
if (Or) return vn;
|
|
3544
|
+
Or = 1;
|
|
3545
|
+
var e = Go(), t = Za(), n = /* @__PURE__ */ Yn(), r = /* @__PURE__ */ qo(), o = /* @__PURE__ */ Ha(), s = function() {
|
|
3546
3546
|
};
|
|
3547
3547
|
process.env.NODE_ENV !== "production" && (s = function(a) {
|
|
3548
3548
|
var c = "Warning: " + a;
|
|
@@ -3576,10 +3576,10 @@ function Ua() {
|
|
|
3576
3576
|
element: S(),
|
|
3577
3577
|
elementType: x(),
|
|
3578
3578
|
instanceOf: _,
|
|
3579
|
-
node:
|
|
3579
|
+
node: $(),
|
|
3580
3580
|
objectOf: R,
|
|
3581
3581
|
oneOf: M,
|
|
3582
|
-
oneOfType:
|
|
3582
|
+
oneOfType: F,
|
|
3583
3583
|
shape: W,
|
|
3584
3584
|
exact: U
|
|
3585
3585
|
};
|
|
@@ -3714,7 +3714,7 @@ function Ua() {
|
|
|
3714
3714
|
}
|
|
3715
3715
|
return b(y);
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3717
|
+
function F(O) {
|
|
3718
3718
|
if (!Array.isArray(O))
|
|
3719
3719
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
3720
3720
|
for (var y = 0; y < O.length; y++) {
|
|
@@ -3736,7 +3736,7 @@ function Ua() {
|
|
|
3736
3736
|
}
|
|
3737
3737
|
return b(P);
|
|
3738
3738
|
}
|
|
3739
|
-
function
|
|
3739
|
+
function $() {
|
|
3740
3740
|
function O(y, L, P, N, q) {
|
|
3741
3741
|
return Z(y[L]) ? null : new m("Invalid " + N + " `" + q + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
3742
3742
|
}
|
|
@@ -3859,11 +3859,11 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
|
3859
3859
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
3860
3860
|
}, vn;
|
|
3861
3861
|
}
|
|
3862
|
-
var yn,
|
|
3862
|
+
var yn, Tr;
|
|
3863
3863
|
function Ka() {
|
|
3864
|
-
if (
|
|
3865
|
-
|
|
3866
|
-
var e = /* @__PURE__ */
|
|
3864
|
+
if (Tr) return yn;
|
|
3865
|
+
Tr = 1;
|
|
3866
|
+
var e = /* @__PURE__ */ Yn();
|
|
3867
3867
|
function t() {
|
|
3868
3868
|
}
|
|
3869
3869
|
function n() {
|
|
@@ -3907,15 +3907,15 @@ function Ka() {
|
|
|
3907
3907
|
return s.PropTypes = s, s;
|
|
3908
3908
|
}, yn;
|
|
3909
3909
|
}
|
|
3910
|
-
var
|
|
3910
|
+
var Rr;
|
|
3911
3911
|
function Ya() {
|
|
3912
|
-
if (
|
|
3913
|
-
if (
|
|
3912
|
+
if (Rr) return wt.exports;
|
|
3913
|
+
if (Rr = 1, process.env.NODE_ENV !== "production") {
|
|
3914
3914
|
var e = Go(), t = !0;
|
|
3915
|
-
|
|
3915
|
+
wt.exports = /* @__PURE__ */ Ua()(e.isElement, t);
|
|
3916
3916
|
} else
|
|
3917
|
-
|
|
3918
|
-
return
|
|
3917
|
+
wt.exports = /* @__PURE__ */ Ka()();
|
|
3918
|
+
return wt.exports;
|
|
3919
3919
|
}
|
|
3920
3920
|
var Ga = /* @__PURE__ */ Ya();
|
|
3921
3921
|
const z = /* @__PURE__ */ Ii(Ga);
|
|
@@ -3945,7 +3945,7 @@ var qa = ["variant", "color", "size"], Xa = function(t) {
|
|
|
3945
3945
|
fill: n,
|
|
3946
3946
|
d: "M17.92 8.18h-6.23l3.79 5.05 3.21-3.21c.67-.68.19-1.84-.77-1.84z"
|
|
3947
3947
|
}));
|
|
3948
|
-
},
|
|
3948
|
+
}, Lr = function(t) {
|
|
3949
3949
|
var n = t.color;
|
|
3950
3950
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
3951
3951
|
stroke: n,
|
|
@@ -3986,7 +3986,7 @@ var qa = ["variant", "color", "size"], Xa = function(t) {
|
|
|
3986
3986
|
color: n
|
|
3987
3987
|
});
|
|
3988
3988
|
case "Linear":
|
|
3989
|
-
return /* @__PURE__ */ u.createElement(
|
|
3989
|
+
return /* @__PURE__ */ u.createElement(Lr, {
|
|
3990
3990
|
color: n
|
|
3991
3991
|
});
|
|
3992
3992
|
case "Outline":
|
|
@@ -3998,7 +3998,7 @@ var qa = ["variant", "color", "size"], Xa = function(t) {
|
|
|
3998
3998
|
color: n
|
|
3999
3999
|
});
|
|
4000
4000
|
default:
|
|
4001
|
-
return /* @__PURE__ */ u.createElement(
|
|
4001
|
+
return /* @__PURE__ */ u.createElement(Lr, {
|
|
4002
4002
|
color: n
|
|
4003
4003
|
});
|
|
4004
4004
|
}
|
|
@@ -4050,7 +4050,7 @@ var rc = ["variant", "color", "size"], oc = function(t) {
|
|
|
4050
4050
|
fill: n,
|
|
4051
4051
|
d: "M8.18 6.08v6.23l5.05-3.79-3.21-3.21c-.68-.67-1.84-.19-1.84.77z"
|
|
4052
4052
|
}));
|
|
4053
|
-
},
|
|
4053
|
+
}, Pr = function(t) {
|
|
4054
4054
|
var n = t.color;
|
|
4055
4055
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4056
4056
|
stroke: n,
|
|
@@ -4091,7 +4091,7 @@ var rc = ["variant", "color", "size"], oc = function(t) {
|
|
|
4091
4091
|
color: n
|
|
4092
4092
|
});
|
|
4093
4093
|
case "Linear":
|
|
4094
|
-
return /* @__PURE__ */ u.createElement(
|
|
4094
|
+
return /* @__PURE__ */ u.createElement(Pr, {
|
|
4095
4095
|
color: n
|
|
4096
4096
|
});
|
|
4097
4097
|
case "Outline":
|
|
@@ -4103,7 +4103,7 @@ var rc = ["variant", "color", "size"], oc = function(t) {
|
|
|
4103
4103
|
color: n
|
|
4104
4104
|
});
|
|
4105
4105
|
default:
|
|
4106
|
-
return /* @__PURE__ */ u.createElement(
|
|
4106
|
+
return /* @__PURE__ */ u.createElement(Pr, {
|
|
4107
4107
|
color: n
|
|
4108
4108
|
});
|
|
4109
4109
|
}
|
|
@@ -4155,7 +4155,7 @@ var uc = ["variant", "color", "size"], dc = function(t) {
|
|
|
4155
4155
|
fill: n,
|
|
4156
4156
|
d: "M17.92 15.82h-6.23l3.79-5.05 3.21 3.21c.67.68.19 1.84-.77 1.84z"
|
|
4157
4157
|
}));
|
|
4158
|
-
},
|
|
4158
|
+
}, Ar = function(t) {
|
|
4159
4159
|
var n = t.color;
|
|
4160
4160
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4161
4161
|
stroke: n,
|
|
@@ -4196,7 +4196,7 @@ var uc = ["variant", "color", "size"], dc = function(t) {
|
|
|
4196
4196
|
color: n
|
|
4197
4197
|
});
|
|
4198
4198
|
case "Linear":
|
|
4199
|
-
return /* @__PURE__ */ u.createElement(
|
|
4199
|
+
return /* @__PURE__ */ u.createElement(Ar, {
|
|
4200
4200
|
color: n
|
|
4201
4201
|
});
|
|
4202
4202
|
case "Outline":
|
|
@@ -4208,7 +4208,7 @@ var uc = ["variant", "color", "size"], dc = function(t) {
|
|
|
4208
4208
|
color: n
|
|
4209
4209
|
});
|
|
4210
4210
|
default:
|
|
4211
|
-
return /* @__PURE__ */ u.createElement(
|
|
4211
|
+
return /* @__PURE__ */ u.createElement(Ar, {
|
|
4212
4212
|
color: n
|
|
4213
4213
|
});
|
|
4214
4214
|
}
|
|
@@ -4279,7 +4279,7 @@ var vc = ["variant", "color", "size"], yc = function(t) {
|
|
|
4279
4279
|
d: "m13.64 2.71-.01.94A1.64 1.64 0 0 1 12 5.26c-.15 0-.24.1-.24.23s.1.23.23.23h-1.61c-.01-.07-.02-.15-.02-.23 0-.9.73-1.63 1.62-1.63.15 0 .25-.1.25-.23l.01-.94c.01-.38.32-.69.7-.69h.01c.39 0 .69.32.69.71Z",
|
|
4280
4280
|
fill: n
|
|
4281
4281
|
}));
|
|
4282
|
-
},
|
|
4282
|
+
}, Mr = function(t) {
|
|
4283
4283
|
var n = t.color;
|
|
4284
4284
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4285
4285
|
d: "m9.57 12.46-3.05 3.05M6.55 12.49l3.05 3.05",
|
|
@@ -4358,7 +4358,7 @@ var vc = ["variant", "color", "size"], yc = function(t) {
|
|
|
4358
4358
|
color: n
|
|
4359
4359
|
});
|
|
4360
4360
|
case "Linear":
|
|
4361
|
-
return /* @__PURE__ */ u.createElement(
|
|
4361
|
+
return /* @__PURE__ */ u.createElement(Mr, {
|
|
4362
4362
|
color: n
|
|
4363
4363
|
});
|
|
4364
4364
|
case "Outline":
|
|
@@ -4370,7 +4370,7 @@ var vc = ["variant", "color", "size"], yc = function(t) {
|
|
|
4370
4370
|
color: n
|
|
4371
4371
|
});
|
|
4372
4372
|
default:
|
|
4373
|
-
return /* @__PURE__ */ u.createElement(
|
|
4373
|
+
return /* @__PURE__ */ u.createElement(Mr, {
|
|
4374
4374
|
color: n
|
|
4375
4375
|
});
|
|
4376
4376
|
}
|
|
@@ -4424,7 +4424,7 @@ var Sc = ["variant", "color", "size"], Cc = function(t) {
|
|
|
4424
4424
|
d: "M15.8 2.21c-.41-.41-1.12-.13-1.12.44v3.49c0 1.46 1.24 2.67 2.75 2.67.95.01 2.27.01 3.4.01.57 0 .87-.67.47-1.07-1.44-1.45-4.02-4.06-5.5-5.54ZM13.5 13.75h-6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75ZM11.5 17.75h-4c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75Z",
|
|
4425
4425
|
fill: n
|
|
4426
4426
|
}));
|
|
4427
|
-
},
|
|
4427
|
+
}, Nr = function(t) {
|
|
4428
4428
|
var n = t.color;
|
|
4429
4429
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4430
4430
|
d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",
|
|
@@ -4483,7 +4483,7 @@ var Sc = ["variant", "color", "size"], Cc = function(t) {
|
|
|
4483
4483
|
color: n
|
|
4484
4484
|
});
|
|
4485
4485
|
case "Linear":
|
|
4486
|
-
return /* @__PURE__ */ u.createElement(
|
|
4486
|
+
return /* @__PURE__ */ u.createElement(Nr, {
|
|
4487
4487
|
color: n
|
|
4488
4488
|
});
|
|
4489
4489
|
case "Outline":
|
|
@@ -4495,7 +4495,7 @@ var Sc = ["variant", "color", "size"], Cc = function(t) {
|
|
|
4495
4495
|
color: n
|
|
4496
4496
|
});
|
|
4497
4497
|
default:
|
|
4498
|
-
return /* @__PURE__ */ u.createElement(
|
|
4498
|
+
return /* @__PURE__ */ u.createElement(Nr, {
|
|
4499
4499
|
color: n
|
|
4500
4500
|
});
|
|
4501
4501
|
}
|
|
@@ -4546,7 +4546,7 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4546
4546
|
d: "M4.91 8.032c-.22 0-.43-.09-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.15-.36.24-.58.24ZM4.91 14.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24ZM4.91 20.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.821.821 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24Z",
|
|
4547
4547
|
fill: n
|
|
4548
4548
|
}));
|
|
4549
|
-
},
|
|
4549
|
+
}, jr = function(t) {
|
|
4550
4550
|
var n = t.color;
|
|
4551
4551
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4552
4552
|
d: "M11 19.5h10M11 12.5h10M11 5.5h10M3 5.5l1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",
|
|
@@ -4561,7 +4561,7 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4561
4561
|
d: "M21 20.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 13.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 6.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM4 7.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 14.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 21.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22Z",
|
|
4562
4562
|
fill: n
|
|
4563
4563
|
}));
|
|
4564
|
-
},
|
|
4564
|
+
}, Fc = function(t) {
|
|
4565
4565
|
var n = t.color;
|
|
4566
4566
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4567
4567
|
opacity: ".4",
|
|
@@ -4577,7 +4577,7 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4577
4577
|
strokeLinecap: "round",
|
|
4578
4578
|
strokeLinejoin: "round"
|
|
4579
4579
|
}));
|
|
4580
|
-
},
|
|
4580
|
+
}, $c = function(t, n) {
|
|
4581
4581
|
switch (t) {
|
|
4582
4582
|
case "Bold":
|
|
4583
4583
|
return /* @__PURE__ */ u.createElement(Mc, {
|
|
@@ -4592,7 +4592,7 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4592
4592
|
color: n
|
|
4593
4593
|
});
|
|
4594
4594
|
case "Linear":
|
|
4595
|
-
return /* @__PURE__ */ u.createElement(
|
|
4595
|
+
return /* @__PURE__ */ u.createElement(jr, {
|
|
4596
4596
|
color: n
|
|
4597
4597
|
});
|
|
4598
4598
|
case "Outline":
|
|
@@ -4600,11 +4600,11 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4600
4600
|
color: n
|
|
4601
4601
|
});
|
|
4602
4602
|
case "TwoTone":
|
|
4603
|
-
return /* @__PURE__ */ u.createElement(
|
|
4603
|
+
return /* @__PURE__ */ u.createElement(Fc, {
|
|
4604
4604
|
color: n
|
|
4605
4605
|
});
|
|
4606
4606
|
default:
|
|
4607
|
-
return /* @__PURE__ */ u.createElement(
|
|
4607
|
+
return /* @__PURE__ */ u.createElement(jr, {
|
|
4608
4608
|
color: n
|
|
4609
4609
|
});
|
|
4610
4610
|
}
|
|
@@ -4617,7 +4617,7 @@ var Ac = ["variant", "color", "size"], Mc = function(t) {
|
|
|
4617
4617
|
height: o,
|
|
4618
4618
|
viewBox: "0 0 24 24",
|
|
4619
4619
|
fill: "none"
|
|
4620
|
-
}),
|
|
4620
|
+
}), $c(n, r));
|
|
4621
4621
|
});
|
|
4622
4622
|
Yt.propTypes = {
|
|
4623
4623
|
variant: z.oneOf(["Linear", "Bold", "Broken", "Bulk", "Outline", "TwoTone"]),
|
|
@@ -4663,7 +4663,7 @@ var Ic = ["variant", "color", "size"], Bc = function(t) {
|
|
|
4663
4663
|
d: "m9.95 3.5.41-1.39c.04-.13 0-.27-.09-.37-.09-.1-.25-.14-.38-.1l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.4-.4 1.39.41c.04.01.07.02.11.02.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.41-1.4ZM5.95 9.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.4.4-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.4-1.38ZM20.95 14.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.41 1.39-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.42-1.38Z",
|
|
4664
4664
|
fill: n
|
|
4665
4665
|
}));
|
|
4666
|
-
},
|
|
4666
|
+
}, _r = function(t) {
|
|
4667
4667
|
var n = t.color;
|
|
4668
4668
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4669
4669
|
stroke: n,
|
|
@@ -4723,7 +4723,7 @@ var Ic = ["variant", "color", "size"], Bc = function(t) {
|
|
|
4723
4723
|
color: n
|
|
4724
4724
|
});
|
|
4725
4725
|
case "Linear":
|
|
4726
|
-
return /* @__PURE__ */ u.createElement(
|
|
4726
|
+
return /* @__PURE__ */ u.createElement(_r, {
|
|
4727
4727
|
color: n
|
|
4728
4728
|
});
|
|
4729
4729
|
case "Outline":
|
|
@@ -4735,11 +4735,11 @@ var Ic = ["variant", "color", "size"], Bc = function(t) {
|
|
|
4735
4735
|
color: n
|
|
4736
4736
|
});
|
|
4737
4737
|
default:
|
|
4738
|
-
return /* @__PURE__ */ u.createElement(
|
|
4738
|
+
return /* @__PURE__ */ u.createElement(_r, {
|
|
4739
4739
|
color: n
|
|
4740
4740
|
});
|
|
4741
4741
|
}
|
|
4742
|
-
},
|
|
4742
|
+
}, ct = /* @__PURE__ */ ge(function(e, t) {
|
|
4743
4743
|
var n = e.variant, r = e.color, o = e.size, s = ve(e, Ic);
|
|
4744
4744
|
return /* @__PURE__ */ u.createElement("svg", de({}, s, {
|
|
4745
4745
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4750,17 +4750,17 @@ var Ic = ["variant", "color", "size"], Bc = function(t) {
|
|
|
4750
4750
|
fill: "none"
|
|
4751
4751
|
}), Zc(n, r));
|
|
4752
4752
|
});
|
|
4753
|
-
|
|
4753
|
+
ct.propTypes = {
|
|
4754
4754
|
variant: z.oneOf(["Linear", "Bold", "Broken", "Bulk", "Outline", "TwoTone"]),
|
|
4755
4755
|
color: z.string,
|
|
4756
4756
|
size: z.oneOfType([z.string, z.number])
|
|
4757
4757
|
};
|
|
4758
|
-
|
|
4758
|
+
ct.defaultProps = {
|
|
4759
4759
|
variant: "Linear",
|
|
4760
4760
|
color: "currentColor",
|
|
4761
4761
|
size: "24"
|
|
4762
4762
|
};
|
|
4763
|
-
|
|
4763
|
+
ct.displayName = "Magicpen";
|
|
4764
4764
|
var Hc = ["variant", "color", "size"], Uc = function(t) {
|
|
4765
4765
|
var n = t.color;
|
|
4766
4766
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
@@ -4907,7 +4907,7 @@ var Jc = ["variant", "color", "size"], Qc = function(t) {
|
|
|
4907
4907
|
d: "M10.58 15.582a.75.75 0 0 1-.53-.22l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.67a.75.75 0 0 1-.53.22Z",
|
|
4908
4908
|
fill: n
|
|
4909
4909
|
}));
|
|
4910
|
-
},
|
|
4910
|
+
}, $r = function(t) {
|
|
4911
4911
|
var n = t.color;
|
|
4912
4912
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
4913
4913
|
d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",
|
|
@@ -4962,7 +4962,7 @@ var Jc = ["variant", "color", "size"], Qc = function(t) {
|
|
|
4962
4962
|
color: n
|
|
4963
4963
|
});
|
|
4964
4964
|
case "Linear":
|
|
4965
|
-
return /* @__PURE__ */ u.createElement(
|
|
4965
|
+
return /* @__PURE__ */ u.createElement($r, {
|
|
4966
4966
|
color: n
|
|
4967
4967
|
});
|
|
4968
4968
|
case "Outline":
|
|
@@ -4974,7 +4974,7 @@ var Jc = ["variant", "color", "size"], Qc = function(t) {
|
|
|
4974
4974
|
color: n
|
|
4975
4975
|
});
|
|
4976
4976
|
default:
|
|
4977
|
-
return /* @__PURE__ */ u.createElement(
|
|
4977
|
+
return /* @__PURE__ */ u.createElement($r, {
|
|
4978
4978
|
color: n
|
|
4979
4979
|
});
|
|
4980
4980
|
}
|
|
@@ -5031,7 +5031,7 @@ var sl = ["variant", "color", "size"], il = function(t) {
|
|
|
5031
5031
|
d: "M10.79 15.171a.75.75 0 0 1-.53-.22l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-4.83 4.83a.75.75 0 0 1-.53.22Z",
|
|
5032
5032
|
fill: n
|
|
5033
5033
|
}));
|
|
5034
|
-
},
|
|
5034
|
+
}, Ir = function(t) {
|
|
5035
5035
|
var n = t.color;
|
|
5036
5036
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
5037
5037
|
d: "m8.38 12 2.41 2.42 4.83-4.84",
|
|
@@ -5086,7 +5086,7 @@ var sl = ["variant", "color", "size"], il = function(t) {
|
|
|
5086
5086
|
color: n
|
|
5087
5087
|
});
|
|
5088
5088
|
case "Linear":
|
|
5089
|
-
return /* @__PURE__ */ u.createElement(
|
|
5089
|
+
return /* @__PURE__ */ u.createElement(Ir, {
|
|
5090
5090
|
color: n
|
|
5091
5091
|
});
|
|
5092
5092
|
case "Outline":
|
|
@@ -5098,7 +5098,7 @@ var sl = ["variant", "color", "size"], il = function(t) {
|
|
|
5098
5098
|
color: n
|
|
5099
5099
|
});
|
|
5100
5100
|
default:
|
|
5101
|
-
return /* @__PURE__ */ u.createElement(
|
|
5101
|
+
return /* @__PURE__ */ u.createElement(Ir, {
|
|
5102
5102
|
color: n
|
|
5103
5103
|
});
|
|
5104
5104
|
}
|
|
@@ -5149,7 +5149,7 @@ var fl = ["variant", "color", "size"], pl = function(t) {
|
|
|
5149
5149
|
d: "M13.43 11.25h-2.86v1.5h2.86v-1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",
|
|
5150
5150
|
fill: n
|
|
5151
5151
|
}));
|
|
5152
|
-
},
|
|
5152
|
+
}, Br = function(t) {
|
|
5153
5153
|
var n = t.color;
|
|
5154
5154
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
5155
5155
|
d: "M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM6.82 18c-2.4 0-3-1.35-3-3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3ZM9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",
|
|
@@ -5198,7 +5198,7 @@ var fl = ["variant", "color", "size"], pl = function(t) {
|
|
|
5198
5198
|
color: n
|
|
5199
5199
|
});
|
|
5200
5200
|
case "Linear":
|
|
5201
|
-
return /* @__PURE__ */ u.createElement(
|
|
5201
|
+
return /* @__PURE__ */ u.createElement(Br, {
|
|
5202
5202
|
color: n
|
|
5203
5203
|
});
|
|
5204
5204
|
case "Outline":
|
|
@@ -5210,7 +5210,7 @@ var fl = ["variant", "color", "size"], pl = function(t) {
|
|
|
5210
5210
|
color: n
|
|
5211
5211
|
});
|
|
5212
5212
|
default:
|
|
5213
|
-
return /* @__PURE__ */ u.createElement(
|
|
5213
|
+
return /* @__PURE__ */ u.createElement(Br, {
|
|
5214
5214
|
color: n
|
|
5215
5215
|
});
|
|
5216
5216
|
}
|
|
@@ -5261,7 +5261,7 @@ var bl = ["variant", "color", "size"], xl = function(t) {
|
|
|
5261
5261
|
d: "M21.3 21.999c-.18 0-.36-.07-.49-.2l-1.86-1.86a.706.706 0 0 1 0-.99c.27-.27.71-.27.99 0l1.86 1.86c.27.27.27.71 0 .99-.14.13-.32.2-.5.2Z",
|
|
5262
5262
|
fill: n
|
|
5263
5263
|
}));
|
|
5264
|
-
},
|
|
5264
|
+
}, Dr = function(t) {
|
|
5265
5265
|
var n = t.color;
|
|
5266
5266
|
return /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement("path", {
|
|
5267
5267
|
d: "M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",
|
|
@@ -5307,7 +5307,7 @@ var bl = ["variant", "color", "size"], xl = function(t) {
|
|
|
5307
5307
|
color: n
|
|
5308
5308
|
});
|
|
5309
5309
|
case "Linear":
|
|
5310
|
-
return /* @__PURE__ */ u.createElement(
|
|
5310
|
+
return /* @__PURE__ */ u.createElement(Dr, {
|
|
5311
5311
|
color: n
|
|
5312
5312
|
});
|
|
5313
5313
|
case "Outline":
|
|
@@ -5319,11 +5319,11 @@ var bl = ["variant", "color", "size"], xl = function(t) {
|
|
|
5319
5319
|
color: n
|
|
5320
5320
|
});
|
|
5321
5321
|
default:
|
|
5322
|
-
return /* @__PURE__ */ u.createElement(
|
|
5322
|
+
return /* @__PURE__ */ u.createElement(Dr, {
|
|
5323
5323
|
color: n
|
|
5324
5324
|
});
|
|
5325
5325
|
}
|
|
5326
|
-
},
|
|
5326
|
+
}, lt = /* @__PURE__ */ ge(function(e, t) {
|
|
5327
5327
|
var n = e.variant, r = e.color, o = e.size, s = ve(e, bl);
|
|
5328
5328
|
return /* @__PURE__ */ u.createElement("svg", de({}, s, {
|
|
5329
5329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5334,18 +5334,18 @@ var bl = ["variant", "color", "size"], xl = function(t) {
|
|
|
5334
5334
|
fill: "none"
|
|
5335
5335
|
}), Cl(n, r));
|
|
5336
5336
|
});
|
|
5337
|
-
|
|
5337
|
+
lt.propTypes = {
|
|
5338
5338
|
variant: z.oneOf(["Linear", "Bold", "Broken", "Bulk", "Outline", "TwoTone"]),
|
|
5339
5339
|
color: z.string,
|
|
5340
5340
|
size: z.oneOfType([z.string, z.number])
|
|
5341
5341
|
};
|
|
5342
|
-
|
|
5342
|
+
lt.defaultProps = {
|
|
5343
5343
|
variant: "Linear",
|
|
5344
5344
|
color: "currentColor",
|
|
5345
5345
|
size: "24"
|
|
5346
5346
|
};
|
|
5347
|
-
|
|
5348
|
-
const Ol =
|
|
5347
|
+
lt.displayName = "SearchNormal1";
|
|
5348
|
+
const Ol = Fo(
|
|
5349
5349
|
"inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 ",
|
|
5350
5350
|
{
|
|
5351
5351
|
variants: {
|
|
@@ -5377,51 +5377,51 @@ const Y = (e) => typeof e == "string", ot = () => {
|
|
|
5377
5377
|
e = r, t = o;
|
|
5378
5378
|
});
|
|
5379
5379
|
return n.resolve = e, n.reject = t, n;
|
|
5380
|
-
},
|
|
5380
|
+
}, zr = (e) => e == null ? "" : "" + e, Tl = (e, t, n) => {
|
|
5381
5381
|
e.forEach((r) => {
|
|
5382
5382
|
t[r] && (n[r] = t[r]);
|
|
5383
5383
|
});
|
|
5384
|
-
}, Rl = /###/g,
|
|
5384
|
+
}, Rl = /###/g, Vr = (e) => e && e.indexOf("###") > -1 ? e.replace(Rl, ".") : e, Wr = (e) => !e || Y(e), it = (e, t, n) => {
|
|
5385
5385
|
const r = Y(t) ? t.split(".") : t;
|
|
5386
5386
|
let o = 0;
|
|
5387
5387
|
for (; o < r.length - 1; ) {
|
|
5388
|
-
if (
|
|
5389
|
-
const s =
|
|
5388
|
+
if (Wr(e)) return {};
|
|
5389
|
+
const s = Vr(r[o]);
|
|
5390
5390
|
!e[s] && n && (e[s] = new n()), Object.prototype.hasOwnProperty.call(e, s) ? e = e[s] : e = {}, ++o;
|
|
5391
5391
|
}
|
|
5392
|
-
return
|
|
5392
|
+
return Wr(e) ? {} : {
|
|
5393
5393
|
obj: e,
|
|
5394
|
-
k:
|
|
5394
|
+
k: Vr(r[o])
|
|
5395
5395
|
};
|
|
5396
|
-
},
|
|
5396
|
+
}, Zr = (e, t, n) => {
|
|
5397
5397
|
const {
|
|
5398
5398
|
obj: r,
|
|
5399
5399
|
k: o
|
|
5400
|
-
} =
|
|
5400
|
+
} = it(e, t, Object);
|
|
5401
5401
|
if (r !== void 0 || t.length === 1) {
|
|
5402
5402
|
r[o] = n;
|
|
5403
5403
|
return;
|
|
5404
5404
|
}
|
|
5405
|
-
let s = t[t.length - 1], i = t.slice(0, t.length - 1), a =
|
|
5405
|
+
let s = t[t.length - 1], i = t.slice(0, t.length - 1), a = it(e, i, Object);
|
|
5406
5406
|
for (; a.obj === void 0 && i.length; )
|
|
5407
|
-
s = `${i[i.length - 1]}.${s}`, i = i.slice(0, i.length - 1), a =
|
|
5407
|
+
s = `${i[i.length - 1]}.${s}`, i = i.slice(0, i.length - 1), a = it(e, i, Object), a?.obj && typeof a.obj[`${a.k}.${s}`] < "u" && (a.obj = void 0);
|
|
5408
5408
|
a.obj[`${a.k}.${s}`] = n;
|
|
5409
5409
|
}, Ll = (e, t, n, r) => {
|
|
5410
5410
|
const {
|
|
5411
5411
|
obj: o,
|
|
5412
5412
|
k: s
|
|
5413
|
-
} =
|
|
5413
|
+
} = it(e, t, Object);
|
|
5414
5414
|
o[s] = o[s] || [], o[s].push(n);
|
|
5415
|
-
},
|
|
5415
|
+
}, Ft = (e, t) => {
|
|
5416
5416
|
const {
|
|
5417
5417
|
obj: n,
|
|
5418
5418
|
k: r
|
|
5419
|
-
} =
|
|
5419
|
+
} = it(e, t);
|
|
5420
5420
|
if (n && Object.prototype.hasOwnProperty.call(n, r))
|
|
5421
5421
|
return n[r];
|
|
5422
5422
|
}, Pl = (e, t, n) => {
|
|
5423
|
-
const r =
|
|
5424
|
-
return r !== void 0 ? r :
|
|
5423
|
+
const r = Ft(e, n);
|
|
5424
|
+
return r !== void 0 ? r : Ft(t, n);
|
|
5425
5425
|
}, Jo = (e, t, n) => {
|
|
5426
5426
|
for (const r in t)
|
|
5427
5427
|
r !== "__proto__" && r !== "constructor" && (r in e ? Y(e[r]) || e[r] instanceof String || Y(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Jo(e[r], t[r], n) : e[r] = t[r]);
|
|
@@ -5448,7 +5448,7 @@ class Nl {
|
|
|
5448
5448
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(t, r), this.regExpQueue.push(t), r;
|
|
5449
5449
|
}
|
|
5450
5450
|
}
|
|
5451
|
-
const jl = [" ", ",", "?", "!", ";"], _l = new Nl(20),
|
|
5451
|
+
const jl = [" ", ",", "?", "!", ";"], _l = new Nl(20), Fl = (e, t, n) => {
|
|
5452
5452
|
t = t || "", n = n || "";
|
|
5453
5453
|
const r = jl.filter((i) => t.indexOf(i) < 0 && n.indexOf(i) < 0);
|
|
5454
5454
|
if (r.length === 0) return !0;
|
|
@@ -5479,7 +5479,7 @@ const jl = [" ", ",", "?", "!", ";"], _l = new Nl(20), $l = (e, t, n) => {
|
|
|
5479
5479
|
o = i;
|
|
5480
5480
|
}
|
|
5481
5481
|
return o;
|
|
5482
|
-
},
|
|
5482
|
+
}, ut = (e) => e?.replace("_", "-"), $l = {
|
|
5483
5483
|
type: "logger",
|
|
5484
5484
|
log(e) {
|
|
5485
5485
|
this.output("log", e);
|
|
@@ -5494,12 +5494,12 @@ const jl = [" ", ",", "?", "!", ";"], _l = new Nl(20), $l = (e, t, n) => {
|
|
|
5494
5494
|
console?.[e]?.apply?.(console, t);
|
|
5495
5495
|
}
|
|
5496
5496
|
};
|
|
5497
|
-
class
|
|
5497
|
+
class $t {
|
|
5498
5498
|
constructor(t, n = {}) {
|
|
5499
5499
|
this.init(t, n);
|
|
5500
5500
|
}
|
|
5501
5501
|
init(t, n = {}) {
|
|
5502
|
-
this.prefix = n.prefix || "i18next:", this.logger = t ||
|
|
5502
|
+
this.prefix = n.prefix || "i18next:", this.logger = t || $l, this.options = n, this.debug = n.debug;
|
|
5503
5503
|
}
|
|
5504
5504
|
log(...t) {
|
|
5505
5505
|
return this.forward(t, "log", "", !0);
|
|
@@ -5517,16 +5517,16 @@ class Ft {
|
|
|
5517
5517
|
return o && !this.debug ? null : (Y(t[0]) && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
|
|
5518
5518
|
}
|
|
5519
5519
|
create(t) {
|
|
5520
|
-
return new
|
|
5520
|
+
return new $t(this.logger, {
|
|
5521
5521
|
prefix: `${this.prefix}:${t}:`,
|
|
5522
5522
|
...this.options
|
|
5523
5523
|
});
|
|
5524
5524
|
}
|
|
5525
5525
|
clone(t) {
|
|
5526
|
-
return t = t || this.options, t.prefix = t.prefix || this.prefix, new
|
|
5526
|
+
return t = t || this.options, t.prefix = t.prefix || this.prefix, new $t(this.logger, t);
|
|
5527
5527
|
}
|
|
5528
5528
|
}
|
|
5529
|
-
var we = new
|
|
5529
|
+
var we = new $t();
|
|
5530
5530
|
class Qt {
|
|
5531
5531
|
constructor() {
|
|
5532
5532
|
this.observers = {};
|
|
@@ -5557,7 +5557,7 @@ class Qt {
|
|
|
5557
5557
|
});
|
|
5558
5558
|
}
|
|
5559
5559
|
}
|
|
5560
|
-
class
|
|
5560
|
+
class Hr extends Qt {
|
|
5561
5561
|
constructor(t, n = {
|
|
5562
5562
|
ns: ["translation"],
|
|
5563
5563
|
defaultNS: "translation"
|
|
@@ -5575,7 +5575,7 @@ class Ur extends Qt {
|
|
|
5575
5575
|
const s = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, i = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5576
5576
|
let a;
|
|
5577
5577
|
t.indexOf(".") > -1 ? a = t.split(".") : (a = [t, n], r && (Array.isArray(r) ? a.push(...r) : Y(r) && s ? a.push(...r.split(s)) : a.push(r)));
|
|
5578
|
-
const c =
|
|
5578
|
+
const c = Ft(this.data, a);
|
|
5579
5579
|
return !c && !n && !r && t.indexOf(".") > -1 && (t = a[0], n = a[1], r = a.slice(2).join(".")), c || !i || !Y(r) ? c : _n(this.data?.[t]?.[n], r, s);
|
|
5580
5580
|
}
|
|
5581
5581
|
addResource(t, n, r, o, s = {
|
|
@@ -5583,7 +5583,7 @@ class Ur extends Qt {
|
|
|
5583
5583
|
}) {
|
|
5584
5584
|
const i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
|
|
5585
5585
|
let a = [t, n];
|
|
5586
|
-
r && (a = a.concat(i ? r.split(i) : r)), t.indexOf(".") > -1 && (a = t.split("."), o = n, n = a[1]), this.addNamespaces(n),
|
|
5586
|
+
r && (a = a.concat(i ? r.split(i) : r)), t.indexOf(".") > -1 && (a = t.split("."), o = n, n = a[1]), this.addNamespaces(n), Zr(this.data, a, o), s.silent || this.emit("added", t, n, r, o);
|
|
5587
5587
|
}
|
|
5588
5588
|
addResources(t, n, r, o = {
|
|
5589
5589
|
silent: !1
|
|
@@ -5600,11 +5600,11 @@ class Ur extends Qt {
|
|
|
5600
5600
|
}) {
|
|
5601
5601
|
let a = [t, n];
|
|
5602
5602
|
t.indexOf(".") > -1 && (a = t.split("."), o = r, r = n, n = a[1]), this.addNamespaces(n);
|
|
5603
|
-
let c =
|
|
5603
|
+
let c = Ft(this.data, a) || {};
|
|
5604
5604
|
i.skipCopy || (r = JSON.parse(JSON.stringify(r))), o ? Jo(c, r, s) : c = {
|
|
5605
5605
|
...c,
|
|
5606
5606
|
...r
|
|
5607
|
-
},
|
|
5607
|
+
}, Zr(this.data, a, c), i.silent || this.emit("added", t, n, r);
|
|
5608
5608
|
}
|
|
5609
5609
|
removeResourceBundle(t, n) {
|
|
5610
5610
|
this.hasResourceBundle(t, n) && delete this.data[t][n], this.removeNamespaces(n), this.emit("removed", t, n);
|
|
@@ -5643,13 +5643,13 @@ function Il() {
|
|
|
5643
5643
|
let n;
|
|
5644
5644
|
return t.get = (r, o) => (n?.revoke?.(), o === es ? e : (e.push(o), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(/* @__PURE__ */ Object.create(null), t).proxy;
|
|
5645
5645
|
}
|
|
5646
|
-
function
|
|
5646
|
+
function Fn(e, t) {
|
|
5647
5647
|
const {
|
|
5648
5648
|
[es]: n
|
|
5649
5649
|
} = e(Il());
|
|
5650
5650
|
return n.join(t?.keySeparator ?? ".");
|
|
5651
5651
|
}
|
|
5652
|
-
const
|
|
5652
|
+
const Ur = {}, bn = (e) => !Y(e) && typeof e != "boolean" && typeof e != "number";
|
|
5653
5653
|
class It extends Qt {
|
|
5654
5654
|
constructor(t, n = {}) {
|
|
5655
5655
|
super(), Tl(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = we.create("translator");
|
|
@@ -5674,7 +5674,7 @@ class It extends Qt {
|
|
|
5674
5674
|
r === void 0 && (r = ":");
|
|
5675
5675
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
|
|
5676
5676
|
let s = n.ns || this.options.defaultNS || [];
|
|
5677
|
-
const i = r && t.indexOf(r) > -1, a = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator &&
|
|
5677
|
+
const i = r && t.indexOf(r) > -1, a = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Fl(t, r, o);
|
|
5678
5678
|
if (i && !a) {
|
|
5679
5679
|
const c = t.match(this.interpolator.nestingRegexp);
|
|
5680
5680
|
if (c && c.length > 0)
|
|
@@ -5697,7 +5697,7 @@ class It extends Qt {
|
|
|
5697
5697
|
if (typeof o != "object" && this.options.overloadTranslationOptionHandler && (o = this.options.overloadTranslationOptionHandler(arguments)), typeof o == "object" && (o = {
|
|
5698
5698
|
...o
|
|
5699
5699
|
}), o || (o = {}), t == null) return "";
|
|
5700
|
-
typeof t == "function" && (t =
|
|
5700
|
+
typeof t == "function" && (t = Fn(t, {
|
|
5701
5701
|
...this.options,
|
|
5702
5702
|
...o
|
|
5703
5703
|
})), Array.isArray(t) || (t = [String(t)]);
|
|
@@ -5728,34 +5728,34 @@ class It extends Qt {
|
|
|
5728
5728
|
let v = p?.res;
|
|
5729
5729
|
const m = p?.usedKey || a, b = p?.exactUsedKey || a, E = ["[object Number]", "[object Function]", "[object RegExp]"], C = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, k = !this.i18nFormat || this.i18nFormat.handleAsObject, S = o.count !== void 0 && !Y(o.count), x = It.hasDefaultValue(o), _ = S ? this.pluralResolver.getSuffix(d, o.count, o) : "", M = o.ordinal && S ? this.pluralResolver.getSuffix(d, o.count, {
|
|
5730
5730
|
ordinal: !1
|
|
5731
|
-
}) : "", R = S && !o.ordinal && o.count === 0,
|
|
5732
|
-
let
|
|
5733
|
-
k && !v && x && (
|
|
5734
|
-
const V = bn(
|
|
5735
|
-
if (k &&
|
|
5731
|
+
}) : "", R = S && !o.ordinal && o.count === 0, F = R && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${_}`] || o[`defaultValue${M}`] || o.defaultValue;
|
|
5732
|
+
let $ = v;
|
|
5733
|
+
k && !v && x && ($ = F);
|
|
5734
|
+
const V = bn($), W = Object.prototype.toString.apply($);
|
|
5735
|
+
if (k && $ && V && E.indexOf(W) < 0 && !(Y(C) && Array.isArray($))) {
|
|
5736
5736
|
if (!o.returnObjects && !this.options.returnObjects) {
|
|
5737
5737
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5738
|
-
const U = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m,
|
|
5738
|
+
const U = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, $, {
|
|
5739
5739
|
...o,
|
|
5740
5740
|
ns: c
|
|
5741
5741
|
}) : `key '${a} (${this.language})' returned an object instead of string.`;
|
|
5742
5742
|
return s ? (p.res = U, p.usedParams = this.getUsedParamsDetails(o), p) : U;
|
|
5743
5743
|
}
|
|
5744
5744
|
if (i) {
|
|
5745
|
-
const U = Array.isArray(
|
|
5746
|
-
for (const D in
|
|
5747
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
5745
|
+
const U = Array.isArray($), Z = U ? [] : {}, ee = U ? b : m;
|
|
5746
|
+
for (const D in $)
|
|
5747
|
+
if (Object.prototype.hasOwnProperty.call($, D)) {
|
|
5748
5748
|
const H = `${ee}${i}${D}`;
|
|
5749
5749
|
x && !v ? Z[D] = this.translate(H, {
|
|
5750
5750
|
...o,
|
|
5751
|
-
defaultValue: bn(
|
|
5751
|
+
defaultValue: bn(F) ? F[D] : void 0,
|
|
5752
5752
|
joinArrays: !1,
|
|
5753
5753
|
ns: c
|
|
5754
5754
|
}) : Z[D] = this.translate(H, {
|
|
5755
5755
|
...o,
|
|
5756
5756
|
joinArrays: !1,
|
|
5757
5757
|
ns: c
|
|
5758
|
-
}), Z[D] === H && (Z[D] =
|
|
5758
|
+
}), Z[D] === H && (Z[D] = $[D]);
|
|
5759
5759
|
}
|
|
5760
5760
|
v = Z;
|
|
5761
5761
|
}
|
|
@@ -5763,10 +5763,10 @@ class It extends Qt {
|
|
|
5763
5763
|
v = v.join(C), v && (v = this.extendTranslation(v, t, o, r));
|
|
5764
5764
|
else {
|
|
5765
5765
|
let U = !1, Z = !1;
|
|
5766
|
-
!this.isValidLookup(v) && x && (U = !0, v =
|
|
5767
|
-
const D = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && Z ? void 0 : v, H = x &&
|
|
5766
|
+
!this.isValidLookup(v) && x && (U = !0, v = F), this.isValidLookup(v) || (Z = !0, v = a);
|
|
5767
|
+
const D = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && Z ? void 0 : v, H = x && F !== v && this.options.updateMissing;
|
|
5768
5768
|
if (Z || U || H) {
|
|
5769
|
-
if (this.logger.log(H ? "updateKey" : "missingKey", d, l, a, H ?
|
|
5769
|
+
if (this.logger.log(H ? "updateKey" : "missingKey", d, l, a, H ? F : v), i) {
|
|
5770
5770
|
const y = this.resolve(a, {
|
|
5771
5771
|
...o,
|
|
5772
5772
|
keySeparator: !1
|
|
@@ -5786,9 +5786,9 @@ class It extends Qt {
|
|
|
5786
5786
|
this.options.saveMissing && (this.options.saveMissingPlurals && S ? T.forEach((y) => {
|
|
5787
5787
|
const L = this.pluralResolver.getSuffixes(y, o);
|
|
5788
5788
|
R && o[`defaultValue${this.options.pluralSeparator}zero`] && L.indexOf(`${this.options.pluralSeparator}zero`) < 0 && L.push(`${this.options.pluralSeparator}zero`), L.forEach((P) => {
|
|
5789
|
-
O([y], a + P, o[`defaultValue${P}`] ||
|
|
5789
|
+
O([y], a + P, o[`defaultValue${P}`] || F);
|
|
5790
5790
|
});
|
|
5791
|
-
}) : O(T, a,
|
|
5791
|
+
}) : O(T, a, F));
|
|
5792
5792
|
}
|
|
5793
5793
|
v = this.extendTranslation(v, t, o, p, r), Z && v === a && this.options.appendNamespaceToMissingKey && (v = `${l}${f}${a}`), (Z || U) && this.options.parseMissingKeyHandler && (v = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${a}` : a, U ? v : void 0, o));
|
|
5794
5794
|
}
|
|
@@ -5845,7 +5845,7 @@ class It extends Qt {
|
|
|
5845
5845
|
this.options.fallbackNS && (d = d.concat(this.options.fallbackNS));
|
|
5846
5846
|
const h = n.count !== void 0 && !Y(n.count), p = h && !n.ordinal && n.count === 0, v = n.context !== void 0 && (Y(n.context) || typeof n.context == "number") && n.context !== "", m = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
5847
5847
|
d.forEach((b) => {
|
|
5848
|
-
this.isValidLookup(r) || (a = b, !
|
|
5848
|
+
this.isValidLookup(r) || (a = b, !Ur[`${m[0]}-${b}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(a) && (Ur[`${m[0]}-${b}`] = !0, this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((E) => {
|
|
5849
5849
|
if (this.isValidLookup(r)) return;
|
|
5850
5850
|
i = E;
|
|
5851
5851
|
const C = [f];
|
|
@@ -5902,17 +5902,17 @@ class It extends Qt {
|
|
|
5902
5902
|
return !1;
|
|
5903
5903
|
}
|
|
5904
5904
|
}
|
|
5905
|
-
class
|
|
5905
|
+
class Kr {
|
|
5906
5906
|
constructor(t) {
|
|
5907
5907
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = we.create("languageUtils");
|
|
5908
5908
|
}
|
|
5909
5909
|
getScriptPartFromCode(t) {
|
|
5910
|
-
if (t =
|
|
5910
|
+
if (t = ut(t), !t || t.indexOf("-") < 0) return null;
|
|
5911
5911
|
const n = t.split("-");
|
|
5912
5912
|
return n.length === 2 || (n.pop(), n[n.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(n.join("-"));
|
|
5913
5913
|
}
|
|
5914
5914
|
getLanguagePartFromCode(t) {
|
|
5915
|
-
if (t =
|
|
5915
|
+
if (t = ut(t), !t || t.indexOf("-") < 0) return t;
|
|
5916
5916
|
const n = t.split("-");
|
|
5917
5917
|
return this.formatLanguageCode(n[0]);
|
|
5918
5918
|
}
|
|
@@ -5966,14 +5966,14 @@ class Yr {
|
|
|
5966
5966
|
}), o;
|
|
5967
5967
|
}
|
|
5968
5968
|
}
|
|
5969
|
-
const
|
|
5969
|
+
const Yr = {
|
|
5970
5970
|
zero: 0,
|
|
5971
5971
|
one: 1,
|
|
5972
5972
|
two: 2,
|
|
5973
5973
|
few: 3,
|
|
5974
5974
|
many: 4,
|
|
5975
5975
|
other: 5
|
|
5976
|
-
},
|
|
5976
|
+
}, Gr = {
|
|
5977
5977
|
select: (e) => e === 1 ? "one" : "other",
|
|
5978
5978
|
resolvedOptions: () => ({
|
|
5979
5979
|
pluralCategories: ["one", "other"]
|
|
@@ -5987,7 +5987,7 @@ class Bl {
|
|
|
5987
5987
|
this.pluralRulesCache = {};
|
|
5988
5988
|
}
|
|
5989
5989
|
getRule(t, n = {}) {
|
|
5990
|
-
const r =
|
|
5990
|
+
const r = ut(t === "dev" ? "en" : t), o = n.ordinal ? "ordinal" : "cardinal", s = JSON.stringify({
|
|
5991
5991
|
cleanedCode: r,
|
|
5992
5992
|
type: o
|
|
5993
5993
|
});
|
|
@@ -6000,8 +6000,8 @@ class Bl {
|
|
|
6000
6000
|
});
|
|
6001
6001
|
} catch {
|
|
6002
6002
|
if (!Intl)
|
|
6003
|
-
return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
6004
|
-
if (!t.match(/-|_/)) return
|
|
6003
|
+
return this.logger.error("No Intl support, please use an Intl polyfill!"), Gr;
|
|
6004
|
+
if (!t.match(/-|_/)) return Gr;
|
|
6005
6005
|
const c = this.languageUtils.getLanguagePartFromCode(t);
|
|
6006
6006
|
i = this.getRule(c, n);
|
|
6007
6007
|
}
|
|
@@ -6016,18 +6016,18 @@ class Bl {
|
|
|
6016
6016
|
}
|
|
6017
6017
|
getSuffixes(t, n = {}) {
|
|
6018
6018
|
let r = this.getRule(t, n);
|
|
6019
|
-
return r || (r = this.getRule("dev", n)), r ? r.resolvedOptions().pluralCategories.sort((o, s) =>
|
|
6019
|
+
return r || (r = this.getRule("dev", n)), r ? r.resolvedOptions().pluralCategories.sort((o, s) => Yr[o] - Yr[s]).map((o) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : [];
|
|
6020
6020
|
}
|
|
6021
6021
|
getSuffix(t, n, r = {}) {
|
|
6022
6022
|
const o = this.getRule(t, r);
|
|
6023
6023
|
return o ? `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${o.select(n)}` : (this.logger.warn(`no plural rule found for: ${t}`), this.getSuffix("dev", n, r));
|
|
6024
6024
|
}
|
|
6025
6025
|
}
|
|
6026
|
-
const
|
|
6026
|
+
const qr = (e, t, n, r = ".", o = !0) => {
|
|
6027
6027
|
let s = Pl(e, t, n);
|
|
6028
6028
|
return !s && o && Y(n) && (s = _n(e, n, r), s === void 0 && (s = _n(t, n, r))), s;
|
|
6029
6029
|
}, xn = (e) => e.replace(/\$/g, "$$$$");
|
|
6030
|
-
class
|
|
6030
|
+
class Xr {
|
|
6031
6031
|
constructor(t = {}) {
|
|
6032
6032
|
this.logger = we.create("interpolator"), this.options = t, this.format = t?.interpolation?.format || ((n) => n), this.init(t);
|
|
6033
6033
|
}
|
|
@@ -6067,7 +6067,7 @@ class Jr {
|
|
|
6067
6067
|
let s, i, a;
|
|
6068
6068
|
const c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (p) => {
|
|
6069
6069
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6070
|
-
const E =
|
|
6070
|
+
const E = qr(n, c, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6071
6071
|
return this.alwaysFormat ? this.format(E, void 0, r, {
|
|
6072
6072
|
...o,
|
|
6073
6073
|
...n,
|
|
@@ -6075,7 +6075,7 @@ class Jr {
|
|
|
6075
6075
|
}) : E;
|
|
6076
6076
|
}
|
|
6077
6077
|
const v = p.split(this.formatSeparator), m = v.shift().trim(), b = v.join(this.formatSeparator).trim();
|
|
6078
|
-
return this.format(
|
|
6078
|
+
return this.format(qr(n, c, m, this.options.keySeparator, this.options.ignoreJSONStructure), b, r, {
|
|
6079
6079
|
...o,
|
|
6080
6080
|
...n,
|
|
6081
6081
|
interpolationkey: m
|
|
@@ -6103,7 +6103,7 @@ class Jr {
|
|
|
6103
6103
|
continue;
|
|
6104
6104
|
} else
|
|
6105
6105
|
this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`), i = "";
|
|
6106
|
-
else !Y(i) && !this.useRawValueToEscape && (i =
|
|
6106
|
+
else !Y(i) && !this.useRawValueToEscape && (i = zr(i));
|
|
6107
6107
|
const m = p.safeValue(i);
|
|
6108
6108
|
if (t = t.replace(s[0], m), d ? (p.regex.lastIndex += i.length, p.regex.lastIndex -= s[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6109
6109
|
break;
|
|
@@ -6137,7 +6137,7 @@ class Jr {
|
|
|
6137
6137
|
}, i = i.replace && !Y(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
|
|
6138
6138
|
const l = /{.*}/.test(o[1]) ? o[1].lastIndexOf("}") + 1 : o[1].indexOf(this.formatSeparator);
|
|
6139
6139
|
if (l !== -1 && (c = o[1].slice(l).split(this.formatSeparator).map((f) => f.trim()).filter(Boolean), o[1] = o[1].slice(0, l)), s = n(a.call(this, o[1].trim(), i), i), s && o[0] === t && !Y(s)) return s;
|
|
6140
|
-
Y(s) || (s =
|
|
6140
|
+
Y(s) || (s = zr(s)), s || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`), s = ""), c.length && (s = c.reduce((f, d) => this.format(f, d, r.lng, {
|
|
6141
6141
|
...r,
|
|
6142
6142
|
interpolationkey: o[1].trim()
|
|
6143
6143
|
}), s.trim())), t = t.replace(o[0], s), this.regexp.lastIndex = 0;
|
|
@@ -6163,7 +6163,7 @@ const Dl = (e) => {
|
|
|
6163
6163
|
formatName: t,
|
|
6164
6164
|
formatOptions: n
|
|
6165
6165
|
};
|
|
6166
|
-
},
|
|
6166
|
+
}, Jr = (e) => {
|
|
6167
6167
|
const t = {};
|
|
6168
6168
|
return (n, r, o) => {
|
|
6169
6169
|
let s = o;
|
|
@@ -6173,9 +6173,9 @@ const Dl = (e) => {
|
|
|
6173
6173
|
});
|
|
6174
6174
|
const i = r + JSON.stringify(s);
|
|
6175
6175
|
let a = t[i];
|
|
6176
|
-
return a || (a = e(
|
|
6176
|
+
return a || (a = e(ut(r), o), t[i] = a), a(n);
|
|
6177
6177
|
};
|
|
6178
|
-
}, zl = (e) => (t, n, r) => e(
|
|
6178
|
+
}, zl = (e) => (t, n, r) => e(ut(n), r)(t);
|
|
6179
6179
|
class Vl {
|
|
6180
6180
|
constructor(t = {}) {
|
|
6181
6181
|
this.logger = we.create("formatter"), this.options = t, this.init(t);
|
|
@@ -6184,7 +6184,7 @@ class Vl {
|
|
|
6184
6184
|
interpolation: {}
|
|
6185
6185
|
}) {
|
|
6186
6186
|
this.formatSeparator = n.interpolation.formatSeparator || ",";
|
|
6187
|
-
const r = n.cacheInBuiltFormats ?
|
|
6187
|
+
const r = n.cacheInBuiltFormats ? Jr : zl;
|
|
6188
6188
|
this.formats = {
|
|
6189
6189
|
number: r((o, s) => {
|
|
6190
6190
|
const i = new Intl.NumberFormat(o, {
|
|
@@ -6223,7 +6223,7 @@ class Vl {
|
|
|
6223
6223
|
this.formats[t.toLowerCase().trim()] = n;
|
|
6224
6224
|
}
|
|
6225
6225
|
addCached(t, n) {
|
|
6226
|
-
this.formats[t.toLowerCase().trim()] =
|
|
6226
|
+
this.formats[t.toLowerCase().trim()] = Jr(n);
|
|
6227
6227
|
}
|
|
6228
6228
|
format(t, n, r, o = {}) {
|
|
6229
6229
|
const s = n.split(this.formatSeparator);
|
|
@@ -6445,15 +6445,15 @@ const wn = () => ({
|
|
|
6445
6445
|
skipOnVariables: !0
|
|
6446
6446
|
},
|
|
6447
6447
|
cacheInBuiltFormats: !0
|
|
6448
|
-
}),
|
|
6448
|
+
}), Qr = (e) => (Y(e.ns) && (e.ns = [e.ns]), Y(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Y(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), kt = () => {
|
|
6449
6449
|
}, Hl = (e) => {
|
|
6450
6450
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
|
6451
6451
|
typeof e[n] == "function" && (e[n] = e[n].bind(e));
|
|
6452
6452
|
});
|
|
6453
6453
|
};
|
|
6454
|
-
class
|
|
6454
|
+
class at extends Qt {
|
|
6455
6455
|
constructor(t = {}, n) {
|
|
6456
|
-
if (super(), this.options =
|
|
6456
|
+
if (super(), this.options = Qr(t), this.services = {}, this.logger = we, this.modules = {
|
|
6457
6457
|
external: []
|
|
6458
6458
|
}, Hl(this), n && !this.isInitialized && !t.isClone) {
|
|
6459
6459
|
if (!this.options.initAsync)
|
|
@@ -6469,7 +6469,7 @@ class it extends Qt {
|
|
|
6469
6469
|
this.options = {
|
|
6470
6470
|
...r,
|
|
6471
6471
|
...this.options,
|
|
6472
|
-
...
|
|
6472
|
+
...Qr(t)
|
|
6473
6473
|
}, this.options.interpolation = {
|
|
6474
6474
|
...r.interpolation,
|
|
6475
6475
|
...this.options.interpolation
|
|
@@ -6479,13 +6479,13 @@ class it extends Qt {
|
|
|
6479
6479
|
this.modules.logger ? we.init(o(this.modules.logger), this.options) : we.init(null, this.options);
|
|
6480
6480
|
let l;
|
|
6481
6481
|
this.modules.formatter ? l = this.modules.formatter : l = Vl;
|
|
6482
|
-
const f = new
|
|
6483
|
-
this.store = new
|
|
6482
|
+
const f = new Kr(this.options);
|
|
6483
|
+
this.store = new Hr(this.options.resources, this.options);
|
|
6484
6484
|
const d = this.services;
|
|
6485
6485
|
d.logger = we, d.resourceStore = this.store, d.languageUtils = f, d.pluralResolver = new Bl(f, {
|
|
6486
6486
|
prepend: this.options.pluralSeparator,
|
|
6487
6487
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6488
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== r.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (d.formatter = o(l), d.formatter.init && d.formatter.init(d, this.options), this.options.interpolation.format = d.formatter.format.bind(d.formatter)), d.interpolator = new
|
|
6488
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== r.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === r.interpolation.format) && (d.formatter = o(l), d.formatter.init && d.formatter.init(d, this.options), this.options.interpolation.format = d.formatter.format.bind(d.formatter)), d.interpolator = new Xr(this.options), d.utils = {
|
|
6489
6489
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6490
6490
|
}, d.backendConnector = new Zl(o(this.modules.backend), d.resourceStore, d, this.options), d.backendConnector.on("*", (p, ...v) => {
|
|
6491
6491
|
this.emit(p, ...v);
|
|
@@ -6495,7 +6495,7 @@ class it extends Qt {
|
|
|
6495
6495
|
p.init && p.init(this);
|
|
6496
6496
|
});
|
|
6497
6497
|
}
|
|
6498
|
-
if (this.format = this.options.interpolation.format, n || (n =
|
|
6498
|
+
if (this.format = this.options.interpolation.format, n || (n = kt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
6499
6499
|
const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
6500
6500
|
l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
|
|
6501
6501
|
}
|
|
@@ -6513,7 +6513,7 @@ class it extends Qt {
|
|
|
6513
6513
|
};
|
|
6514
6514
|
return this.options.resources || !this.options.initAsync ? c() : setTimeout(c, 0), a;
|
|
6515
6515
|
}
|
|
6516
|
-
loadResources(t, n =
|
|
6516
|
+
loadResources(t, n = kt) {
|
|
6517
6517
|
let r = n;
|
|
6518
6518
|
const o = Y(t) ? t : this.language;
|
|
6519
6519
|
if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
|
|
@@ -6532,7 +6532,7 @@ class it extends Qt {
|
|
|
6532
6532
|
}
|
|
6533
6533
|
reloadResources(t, n, r) {
|
|
6534
6534
|
const o = ot();
|
|
6535
|
-
return typeof t == "function" && (r = t, t = void 0), typeof n == "function" && (r = n, n = void 0), t || (t = this.languages), n || (n = this.options.ns), r || (r =
|
|
6535
|
+
return typeof t == "function" && (r = t, t = void 0), typeof n == "function" && (r = n, n = void 0), t || (t = this.languages), n || (n = this.options.ns), r || (r = kt), this.services.backendConnector.reload(t, n, (s) => {
|
|
6536
6536
|
o.resolve(), r(s);
|
|
6537
6537
|
}), o;
|
|
6538
6538
|
}
|
|
@@ -6578,10 +6578,10 @@ class it extends Qt {
|
|
|
6578
6578
|
}, c.lng = c.lng || o.lng, c.lngs = c.lngs || o.lngs, c.ns = c.ns || o.ns, c.keyPrefix !== "" && (c.keyPrefix = c.keyPrefix || r || o.keyPrefix);
|
|
6579
6579
|
const l = this.options.keySeparator || ".";
|
|
6580
6580
|
let f;
|
|
6581
|
-
return c.keyPrefix && Array.isArray(s) ? f = s.map((d) => (typeof d == "function" && (d =
|
|
6581
|
+
return c.keyPrefix && Array.isArray(s) ? f = s.map((d) => (typeof d == "function" && (d = Fn(d, {
|
|
6582
6582
|
...this.options,
|
|
6583
6583
|
...i
|
|
6584
|
-
})), `${c.keyPrefix}${l}${d}`)) : (typeof s == "function" && (s =
|
|
6584
|
+
})), `${c.keyPrefix}${l}${d}`)) : (typeof s == "function" && (s = Fn(s, {
|
|
6585
6585
|
...this.options,
|
|
6586
6586
|
...i
|
|
6587
6587
|
})), f = c.keyPrefix ? `${c.keyPrefix}${l}${s}` : s), this.t(f, c);
|
|
@@ -6640,21 +6640,21 @@ class it extends Qt {
|
|
|
6640
6640
|
}
|
|
6641
6641
|
} catch {
|
|
6642
6642
|
}
|
|
6643
|
-
const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services?.languageUtils || new
|
|
6643
|
+
const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services?.languageUtils || new Kr(wn());
|
|
6644
6644
|
return t.toLowerCase().indexOf("-latn") > 1 ? "ltr" : n.indexOf(r.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
6645
6645
|
}
|
|
6646
6646
|
static createInstance(t = {}, n) {
|
|
6647
|
-
const r = new
|
|
6648
|
-
return r.createInstance =
|
|
6647
|
+
const r = new at(t, n);
|
|
6648
|
+
return r.createInstance = at.createInstance, r;
|
|
6649
6649
|
}
|
|
6650
|
-
cloneInstance(t = {}, n =
|
|
6650
|
+
cloneInstance(t = {}, n = kt) {
|
|
6651
6651
|
const r = t.forkResourceStore;
|
|
6652
6652
|
r && delete t.forkResourceStore;
|
|
6653
6653
|
const o = {
|
|
6654
6654
|
...this.options,
|
|
6655
6655
|
...t,
|
|
6656
6656
|
isClone: !0
|
|
6657
|
-
}, s = new
|
|
6657
|
+
}, s = new at(o);
|
|
6658
6658
|
if ((t.debug !== void 0 || t.prefix !== void 0) && (s.logger = s.logger.clone(t)), ["store", "services", "language"].forEach((a) => {
|
|
6659
6659
|
s[a] = this[a];
|
|
6660
6660
|
}), s.services = {
|
|
@@ -6667,7 +6667,7 @@ class it extends Qt {
|
|
|
6667
6667
|
}, c[l] = Object.keys(c[l]).reduce((f, d) => (f[d] = {
|
|
6668
6668
|
...c[l][d]
|
|
6669
6669
|
}, f), c[l]), c), {});
|
|
6670
|
-
s.store = new
|
|
6670
|
+
s.store = new Hr(a, o), s.services.resourceStore = s.store;
|
|
6671
6671
|
}
|
|
6672
6672
|
if (t.interpolation) {
|
|
6673
6673
|
const c = {
|
|
@@ -6678,7 +6678,7 @@ class it extends Qt {
|
|
|
6678
6678
|
...o,
|
|
6679
6679
|
interpolation: c
|
|
6680
6680
|
};
|
|
6681
|
-
s.services.interpolator = new
|
|
6681
|
+
s.services.interpolator = new Xr(l);
|
|
6682
6682
|
}
|
|
6683
6683
|
return s.translator = new It(s.services, o), s.translator.on("*", (a, ...c) => {
|
|
6684
6684
|
s.emit(a, ...c);
|
|
@@ -6696,7 +6696,7 @@ class it extends Qt {
|
|
|
6696
6696
|
};
|
|
6697
6697
|
}
|
|
6698
6698
|
}
|
|
6699
|
-
const ie =
|
|
6699
|
+
const ie = at.createInstance();
|
|
6700
6700
|
ie.createInstance;
|
|
6701
6701
|
ie.dir;
|
|
6702
6702
|
ie.init;
|
|
@@ -6718,9 +6718,9 @@ const Ul = (e, t, n, r) => {
|
|
|
6718
6718
|
}];
|
|
6719
6719
|
if (e?.services?.logger?.forward)
|
|
6720
6720
|
return e.services.logger.forward(o, "warn", "react-i18next::", !0);
|
|
6721
|
-
|
|
6722
|
-
},
|
|
6723
|
-
|
|
6721
|
+
Fe(o[0]) && (o[0] = `react-i18next:: ${o[0]}`), e?.services?.logger?.warn ? e.services.logger.warn(...o) : console?.warn && console.warn(...o);
|
|
6722
|
+
}, eo = {}, ts = (e, t, n, r) => {
|
|
6723
|
+
Fe(n) && eo[n] || (Fe(n) && (eo[n] = /* @__PURE__ */ new Date()), Ul(e, t, n, r));
|
|
6724
6724
|
}, ns = (e, t) => () => {
|
|
6725
6725
|
if (e.isInitialized)
|
|
6726
6726
|
t();
|
|
@@ -6732,10 +6732,10 @@ const Ul = (e, t, n, r) => {
|
|
|
6732
6732
|
};
|
|
6733
6733
|
e.on("initialized", n);
|
|
6734
6734
|
}
|
|
6735
|
-
},
|
|
6735
|
+
}, $n = (e, t, n) => {
|
|
6736
6736
|
e.loadNamespaces(t, ns(e, n));
|
|
6737
|
-
},
|
|
6738
|
-
if (
|
|
6737
|
+
}, to = (e, t, n, r) => {
|
|
6738
|
+
if (Fe(n) && (n = [n]), e.options.preload && e.options.preload.indexOf(t) > -1) return $n(e, n, r);
|
|
6739
6739
|
n.forEach((o) => {
|
|
6740
6740
|
e.options.ns.indexOf(o) < 0 && e.options.ns.push(o);
|
|
6741
6741
|
}), e.loadLanguages(t, ns(e, r));
|
|
@@ -6746,7 +6746,7 @@ const Ul = (e, t, n, r) => {
|
|
|
6746
6746
|
precheck: (r, o) => {
|
|
6747
6747
|
if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && r.services.backendConnector.backend && r.isLanguageChangingTo && !o(r.isLanguageChangingTo, e)) return !1;
|
|
6748
6748
|
}
|
|
6749
|
-
}),
|
|
6749
|
+
}), Fe = (e) => typeof e == "string", Yl = (e) => typeof e == "object" && e !== null, Gl = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ql = {
|
|
6750
6750
|
"&": "&",
|
|
6751
6751
|
"&": "&",
|
|
6752
6752
|
"<": "<",
|
|
@@ -6807,11 +6807,11 @@ class ou {
|
|
|
6807
6807
|
return Object.keys(this.usedNamespaces);
|
|
6808
6808
|
}
|
|
6809
6809
|
}
|
|
6810
|
-
var
|
|
6811
|
-
var
|
|
6810
|
+
var St = { exports: {} }, En = {};
|
|
6811
|
+
var no;
|
|
6812
6812
|
function su() {
|
|
6813
|
-
if (
|
|
6814
|
-
|
|
6813
|
+
if (no) return En;
|
|
6814
|
+
no = 1;
|
|
6815
6815
|
var e = u;
|
|
6816
6816
|
function t(d, h) {
|
|
6817
6817
|
return d === h && (d !== 0 || 1 / d === 1 / h) || d !== d && h !== h;
|
|
@@ -6850,9 +6850,9 @@ function su() {
|
|
|
6850
6850
|
return En.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, En;
|
|
6851
6851
|
}
|
|
6852
6852
|
var kn = {};
|
|
6853
|
-
var
|
|
6853
|
+
var ro;
|
|
6854
6854
|
function iu() {
|
|
6855
|
-
return
|
|
6855
|
+
return ro || (ro = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
6856
6856
|
function e(p, v) {
|
|
6857
6857
|
return p === v && (p !== 0 || 1 / p === 1 / v) || p !== p && v !== v;
|
|
6858
6858
|
}
|
|
@@ -6903,12 +6903,12 @@ function iu() {
|
|
|
6903
6903
|
kn.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : h, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
6904
6904
|
})()), kn;
|
|
6905
6905
|
}
|
|
6906
|
-
var
|
|
6906
|
+
var oo;
|
|
6907
6907
|
function au() {
|
|
6908
|
-
return
|
|
6908
|
+
return oo || (oo = 1, process.env.NODE_ENV === "production" ? St.exports = su() : St.exports = iu()), St.exports;
|
|
6909
6909
|
}
|
|
6910
6910
|
var cu = au();
|
|
6911
|
-
const lu = (e, t) =>
|
|
6911
|
+
const lu = (e, t) => Fe(t) ? t : Yl(t) && Fe(t.defaultValue) ? t.defaultValue : Array.isArray(e) ? e[e.length - 1] : e, uu = {
|
|
6912
6912
|
t: lu,
|
|
6913
6913
|
ready: !1
|
|
6914
6914
|
}, du = () => () => {
|
|
@@ -6920,58 +6920,58 @@ const lu = (e, t) => $e(t) ? t : Yl(t) && $e(t.defaultValue) ? t.defaultValue :
|
|
|
6920
6920
|
defaultNS: o
|
|
6921
6921
|
} = ji(os) || {}, s = n || r || nu();
|
|
6922
6922
|
s && !s.reportNamespaces && (s.reportNamespaces = new ou()), s || ts(s, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
6923
|
-
const i =
|
|
6923
|
+
const i = st(() => ({
|
|
6924
6924
|
...eu(),
|
|
6925
6925
|
...s?.options?.react,
|
|
6926
6926
|
...t
|
|
6927
6927
|
}), [s, t]), {
|
|
6928
6928
|
useSuspense: a,
|
|
6929
6929
|
keyPrefix: c
|
|
6930
|
-
} = i, l = e || o || s?.options?.defaultNS, f =
|
|
6930
|
+
} = i, l = e || o || s?.options?.defaultNS, f = Fe(l) ? [l] : l || ["translation"], d = st(() => f, f);
|
|
6931
6931
|
s?.reportNamespaces?.addUsedNamespaces?.(d);
|
|
6932
|
-
const h =
|
|
6932
|
+
const h = vt(0), p = ar((F) => {
|
|
6933
6933
|
if (!s) return du;
|
|
6934
6934
|
const {
|
|
6935
|
-
bindI18n:
|
|
6935
|
+
bindI18n: $,
|
|
6936
6936
|
bindI18nStore: V
|
|
6937
6937
|
} = i, W = () => {
|
|
6938
|
-
h.current += 1,
|
|
6938
|
+
h.current += 1, F();
|
|
6939
6939
|
};
|
|
6940
|
-
return
|
|
6941
|
-
|
|
6940
|
+
return $ && s.on($, W), V && s.store.on(V, W), () => {
|
|
6941
|
+
$ && $.split(" ").forEach((U) => s.off(U, W)), V && V.split(" ").forEach((U) => s.store.off(U, W));
|
|
6942
6942
|
};
|
|
6943
|
-
}, [s, i]), v =
|
|
6943
|
+
}, [s, i]), v = vt(), m = ar(() => {
|
|
6944
6944
|
if (!s)
|
|
6945
6945
|
return uu;
|
|
6946
|
-
const
|
|
6947
|
-
if (W && W.ready ===
|
|
6946
|
+
const F = !!(s.isInitialized || s.initializedStoreOnce) && d.every((ee) => Kl(ee, s, i)), $ = t.lng || s.language, V = h.current, W = v.current;
|
|
6947
|
+
if (W && W.ready === F && W.lng === $ && W.keyPrefix === c && W.revision === V)
|
|
6948
6948
|
return W;
|
|
6949
6949
|
const Z = {
|
|
6950
|
-
t: s.getFixedT(
|
|
6951
|
-
ready:
|
|
6952
|
-
lng:
|
|
6950
|
+
t: s.getFixedT($, i.nsMode === "fallback" ? d : d[0], c),
|
|
6951
|
+
ready: F,
|
|
6952
|
+
lng: $,
|
|
6953
6953
|
keyPrefix: c,
|
|
6954
6954
|
revision: V
|
|
6955
6955
|
};
|
|
6956
6956
|
return v.current = Z, Z;
|
|
6957
|
-
}, [s, d, c, i, t.lng]), [b, E] =
|
|
6957
|
+
}, [s, d, c, i, t.lng]), [b, E] = Po(0), {
|
|
6958
6958
|
t: C,
|
|
6959
6959
|
ready: k
|
|
6960
6960
|
} = cu.useSyncExternalStore(p, m, m);
|
|
6961
|
-
|
|
6961
|
+
Ao(() => {
|
|
6962
6962
|
if (s && !k && !a) {
|
|
6963
|
-
const
|
|
6964
|
-
t.lng ?
|
|
6963
|
+
const F = () => E(($) => $ + 1);
|
|
6964
|
+
t.lng ? to(s, t.lng, d, F) : $n(s, d, F);
|
|
6965
6965
|
}
|
|
6966
6966
|
}, [s, t.lng, d, k, a, b]);
|
|
6967
|
-
const S = s || {}, x =
|
|
6968
|
-
const
|
|
6969
|
-
|
|
6970
|
-
const V = Object.create(Object.getPrototypeOf(
|
|
6967
|
+
const S = s || {}, x = vt(null), _ = vt(), M = (F) => {
|
|
6968
|
+
const $ = Object.getOwnPropertyDescriptors(F);
|
|
6969
|
+
$.__original && delete $.__original;
|
|
6970
|
+
const V = Object.create(Object.getPrototypeOf(F), $);
|
|
6971
6971
|
if (!Object.prototype.hasOwnProperty.call(V, "__original"))
|
|
6972
6972
|
try {
|
|
6973
6973
|
Object.defineProperty(V, "__original", {
|
|
6974
|
-
value:
|
|
6974
|
+
value: F,
|
|
6975
6975
|
writable: !1,
|
|
6976
6976
|
enumerable: !1,
|
|
6977
6977
|
configurable: !1
|
|
@@ -6979,17 +6979,17 @@ const lu = (e, t) => $e(t) ? t : Yl(t) && $e(t.defaultValue) ? t.defaultValue :
|
|
|
6979
6979
|
} catch {
|
|
6980
6980
|
}
|
|
6981
6981
|
return V;
|
|
6982
|
-
}, R =
|
|
6983
|
-
const
|
|
6984
|
-
let V =
|
|
6985
|
-
|
|
6982
|
+
}, R = st(() => {
|
|
6983
|
+
const F = S, $ = F?.language;
|
|
6984
|
+
let V = F;
|
|
6985
|
+
F && (x.current && x.current.__original === F ? _.current !== $ ? (V = M(F), x.current = V, _.current = $) : V = x.current : (V = M(F), x.current = V, _.current = $));
|
|
6986
6986
|
const W = [C, V, k];
|
|
6987
6987
|
return W.t = C, W.i18n = V, W.ready = k, W;
|
|
6988
6988
|
}, [C, S, k, S.resolvedLanguage, S.language, S.languages]);
|
|
6989
6989
|
if (s && a && !k)
|
|
6990
|
-
throw new Promise((
|
|
6991
|
-
const
|
|
6992
|
-
t.lng ?
|
|
6990
|
+
throw new Promise((F) => {
|
|
6991
|
+
const $ = () => F();
|
|
6992
|
+
t.lng ? to(s, t.lng, d, $) : $n(s, d, $);
|
|
6993
6993
|
});
|
|
6994
6994
|
return R;
|
|
6995
6995
|
};
|
|
@@ -6998,7 +6998,7 @@ function pu({
|
|
|
6998
6998
|
defaultNS: t,
|
|
6999
6999
|
children: n
|
|
7000
7000
|
}) {
|
|
7001
|
-
const r =
|
|
7001
|
+
const r = st(() => ({
|
|
7002
7002
|
i18n: e,
|
|
7003
7003
|
defaultNS: t
|
|
7004
7004
|
}), [e, t]);
|
|
@@ -7028,10 +7028,10 @@ const hu = "ies2 aulapp ui kit", mu = "Componentes compartilháveis prontos para
|
|
|
7028
7028
|
sectionTitle: Au,
|
|
7029
7029
|
buttons: Mu,
|
|
7030
7030
|
switch: { airplaneMode: "Airplane Mode" }
|
|
7031
|
-
}, ju = "Componentes", _u = "Botones",
|
|
7031
|
+
}, ju = "Componentes", _u = "Botones", Fu = { primary: "Primario", secondary: "Secundario", neutral: "Neutral", ctaWithRadius: "CTA con radio 8px", outline: "Contorno suave", outlineWithRadius: "Contorno suave con radio 8px", ghost: "Ghost", createAriaLabel: "Crear" }, $u = {
|
|
7032
7032
|
sectionLabel: ju,
|
|
7033
7033
|
sectionTitle: _u,
|
|
7034
|
-
buttons:
|
|
7034
|
+
buttons: Fu,
|
|
7035
7035
|
switch: { airplaneMode: "Modo Avión" }
|
|
7036
7036
|
}, Iu = "Ação", Bu = "Call to Action", Du = "Use o kit para acelerar o desenvolvimento de experiências consistentes em múltiplos apps React.", zu = { explore: "Explorar componentes", documentation: "Documentação", undo: "Desfazer alteração" }, Vu = {
|
|
7037
7037
|
sectionLabel: Iu,
|
|
@@ -7100,7 +7100,7 @@ const hu = "ies2 aulapp ui kit", mu = "Componentes compartilháveis prontos para
|
|
|
7100
7100
|
},
|
|
7101
7101
|
es: {
|
|
7102
7102
|
heroBanner: Cu,
|
|
7103
|
-
componentsPanel:
|
|
7103
|
+
componentsPanel: $u,
|
|
7104
7104
|
callToActionPanel: Ju,
|
|
7105
7105
|
badgesPanel: pd,
|
|
7106
7106
|
resourceBadge: bd,
|
|
@@ -7130,18 +7130,17 @@ const gh = ["pt-BR", "en-US", "es"], vh = "pt-BR", Nd = {
|
|
|
7130
7130
|
es: "Español"
|
|
7131
7131
|
};
|
|
7132
7132
|
function Xe(e, t) {
|
|
7133
|
-
const {
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
}, [t,
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
}, s = r.language;
|
|
7133
|
+
const { i18n: n } = fu(e), r = st(() => {
|
|
7134
|
+
const i = t || n.language || "pt-BR";
|
|
7135
|
+
return ie.getFixedT(i, e);
|
|
7136
|
+
}, [t, e, n.language]), o = async (i) => {
|
|
7137
|
+
await n.changeLanguage(i);
|
|
7138
|
+
}, s = t || n.language;
|
|
7140
7139
|
return {
|
|
7141
|
-
t:
|
|
7140
|
+
t: r,
|
|
7142
7141
|
changeLanguage: o,
|
|
7143
7142
|
currentLanguage: s,
|
|
7144
|
-
i18n:
|
|
7143
|
+
i18n: n
|
|
7145
7144
|
};
|
|
7146
7145
|
}
|
|
7147
7146
|
function yh() {
|
|
@@ -7160,11 +7159,11 @@ function yh() {
|
|
|
7160
7159
|
)) });
|
|
7161
7160
|
}
|
|
7162
7161
|
function bh({ children: e, locale: t }) {
|
|
7163
|
-
return
|
|
7162
|
+
return Ao(() => {
|
|
7164
7163
|
t && ie.language !== t && ie.changeLanguage(t);
|
|
7165
7164
|
}, [t]), /* @__PURE__ */ w.jsx(pu, { i18n: ie, children: e });
|
|
7166
7165
|
}
|
|
7167
|
-
const
|
|
7166
|
+
const so = {
|
|
7168
7167
|
solid: "Colorido sólido",
|
|
7169
7168
|
white: "Cartão branco",
|
|
7170
7169
|
ghost: "Ghost colorido",
|
|
@@ -7227,7 +7226,7 @@ const io = {
|
|
|
7227
7226
|
iconWrapperBg: null,
|
|
7228
7227
|
iconWrapperClassName: "flex items-center justify-center"
|
|
7229
7228
|
}
|
|
7230
|
-
},
|
|
7229
|
+
}, Fd = {
|
|
7231
7230
|
solid: {
|
|
7232
7231
|
className: "inline-flex w-[140px] items-center gap-2 rounded-lg px-2 py-1 text-[12px] leading-normal text-[#343a40] tracking-[-0.019em] whitespace-nowrap",
|
|
7233
7232
|
iconSize: 18,
|
|
@@ -7266,7 +7265,7 @@ const io = {
|
|
|
7266
7265
|
})
|
|
7267
7266
|
}
|
|
7268
7267
|
};
|
|
7269
|
-
function
|
|
7268
|
+
function $d({
|
|
7270
7269
|
variant: e,
|
|
7271
7270
|
appearance: t = "solid",
|
|
7272
7271
|
className: n,
|
|
@@ -7274,7 +7273,7 @@ function Fd({
|
|
|
7274
7273
|
locale: o,
|
|
7275
7274
|
...s
|
|
7276
7275
|
}) {
|
|
7277
|
-
const { t: i } = Xe("resourceBadge", o), a = is(e), c = _d[e], l = a.onlyAppearances, f = l && !l.includes(t) ? l[0] : t, d =
|
|
7276
|
+
const { t: i } = Xe("resourceBadge", o), a = is(e), c = _d[e], l = a.onlyAppearances, f = l && !l.includes(t) ? l[0] : t, d = Fd[f], h = i(`resourceTypes.${e}`), p = /* @__PURE__ */ w.jsx(
|
|
7278
7277
|
a.Icon,
|
|
7279
7278
|
{
|
|
7280
7279
|
size: c.iconSize ?? d.iconSize,
|
|
@@ -7313,9 +7312,9 @@ function Fd({
|
|
|
7313
7312
|
const Id = jd.map((e) => ({
|
|
7314
7313
|
variant: e,
|
|
7315
7314
|
onlyAppearances: is(e).onlyAppearances
|
|
7316
|
-
})), Bd = Object.keys(
|
|
7315
|
+
})), Bd = Object.keys(so).map((e) => ({
|
|
7317
7316
|
appearance: e,
|
|
7318
|
-
label:
|
|
7317
|
+
label: so[e]
|
|
7319
7318
|
})), as = g.forwardRef(
|
|
7320
7319
|
({ className: e, type: t, ...n }, r) => /* @__PURE__ */ w.jsx(
|
|
7321
7320
|
"input",
|
|
@@ -7403,7 +7402,7 @@ function zd(e) {
|
|
|
7403
7402
|
const { children: o, ...s } = n;
|
|
7404
7403
|
if (g.isValidElement(o)) {
|
|
7405
7404
|
const i = Hd(o), a = Zd(s, o.props);
|
|
7406
|
-
return o.type !== g.Fragment && (a.ref = r ?
|
|
7405
|
+
return o.type !== g.Fragment && (a.ref = r ? Un(r, i) : i), g.cloneElement(o, a);
|
|
7407
7406
|
}
|
|
7408
7407
|
return g.Children.count(o) > 1 ? g.Children.only(null) : null;
|
|
7409
7408
|
});
|
|
@@ -7456,14 +7455,14 @@ var Ud = [
|
|
|
7456
7455
|
function Kd(e, t) {
|
|
7457
7456
|
e && Mo.flushSync(() => e.dispatchEvent(t));
|
|
7458
7457
|
}
|
|
7459
|
-
function
|
|
7458
|
+
function $e(e) {
|
|
7460
7459
|
const t = g.useRef(e);
|
|
7461
7460
|
return g.useEffect(() => {
|
|
7462
7461
|
t.current = e;
|
|
7463
7462
|
}), g.useMemo(() => (...n) => t.current?.(...n), []);
|
|
7464
7463
|
}
|
|
7465
7464
|
function Yd(e, t = globalThis?.document) {
|
|
7466
|
-
const n =
|
|
7465
|
+
const n = $e(e);
|
|
7467
7466
|
g.useEffect(() => {
|
|
7468
7467
|
const r = (o) => {
|
|
7469
7468
|
o.key === "Escape" && n(o);
|
|
@@ -7471,7 +7470,7 @@ function Yd(e, t = globalThis?.document) {
|
|
|
7471
7470
|
return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
|
|
7472
7471
|
}, [n, t]);
|
|
7473
7472
|
}
|
|
7474
|
-
var Gd = "DismissableLayer", Bn = "dismissableLayer.update", qd = "dismissableLayer.pointerDownOutside", Xd = "dismissableLayer.focusOutside",
|
|
7473
|
+
var Gd = "DismissableLayer", Bn = "dismissableLayer.update", qd = "dismissableLayer.pointerDownOutside", Xd = "dismissableLayer.focusOutside", io, cs = g.createContext({
|
|
7475
7474
|
layers: /* @__PURE__ */ new Set(),
|
|
7476
7475
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
7477
7476
|
branches: /* @__PURE__ */ new Set()
|
|
@@ -7486,21 +7485,21 @@ var Gd = "DismissableLayer", Bn = "dismissableLayer.update", qd = "dismissableLa
|
|
|
7486
7485
|
onDismiss: a,
|
|
7487
7486
|
...c
|
|
7488
7487
|
} = e, l = g.useContext(cs), [f, d] = g.useState(null), h = f?.ownerDocument ?? globalThis?.document, [, p] = g.useState({}), v = me(t, (M) => d(M)), m = Array.from(l.layers), [b] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), E = m.indexOf(b), C = f ? m.indexOf(f) : -1, k = l.layersWithOutsidePointerEventsDisabled.size > 0, S = C >= E, x = ef((M) => {
|
|
7489
|
-
const R = M.target,
|
|
7490
|
-
!S ||
|
|
7488
|
+
const R = M.target, F = [...l.branches].some(($) => $.contains(R));
|
|
7489
|
+
!S || F || (o?.(M), i?.(M), M.defaultPrevented || a?.());
|
|
7491
7490
|
}, h), _ = tf((M) => {
|
|
7492
7491
|
const R = M.target;
|
|
7493
|
-
[...l.branches].some((
|
|
7492
|
+
[...l.branches].some(($) => $.contains(R)) || (s?.(M), i?.(M), M.defaultPrevented || a?.());
|
|
7494
7493
|
}, h);
|
|
7495
7494
|
return Yd((M) => {
|
|
7496
7495
|
C === l.layers.size - 1 && (r?.(M), !M.defaultPrevented && a && (M.preventDefault(), a()));
|
|
7497
7496
|
}, h), g.useEffect(() => {
|
|
7498
7497
|
if (f)
|
|
7499
|
-
return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
7500
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents =
|
|
7498
|
+
return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (io = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(f)), l.layers.add(f), ao(), () => {
|
|
7499
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents = io);
|
|
7501
7500
|
};
|
|
7502
7501
|
}, [f, h, n, l]), g.useEffect(() => () => {
|
|
7503
|
-
f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f),
|
|
7502
|
+
f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f), ao());
|
|
7504
7503
|
}, [f, l]), g.useEffect(() => {
|
|
7505
7504
|
const M = () => p({});
|
|
7506
7505
|
return document.addEventListener(Bn, M), () => document.removeEventListener(Bn, M);
|
|
@@ -7536,7 +7535,7 @@ var Jd = "DismissableLayerBranch", Qd = g.forwardRef((e, t) => {
|
|
|
7536
7535
|
});
|
|
7537
7536
|
Qd.displayName = Jd;
|
|
7538
7537
|
function ef(e, t = globalThis?.document) {
|
|
7539
|
-
const n =
|
|
7538
|
+
const n = $e(e), r = g.useRef(!1), o = g.useRef(() => {
|
|
7540
7539
|
});
|
|
7541
7540
|
return g.useEffect(() => {
|
|
7542
7541
|
const s = (a) => {
|
|
@@ -7566,7 +7565,7 @@ function ef(e, t = globalThis?.document) {
|
|
|
7566
7565
|
};
|
|
7567
7566
|
}
|
|
7568
7567
|
function tf(e, t = globalThis?.document) {
|
|
7569
|
-
const n =
|
|
7568
|
+
const n = $e(e), r = g.useRef(!1);
|
|
7570
7569
|
return g.useEffect(() => {
|
|
7571
7570
|
const o = (s) => {
|
|
7572
7571
|
s.target && !r.current && us(Xd, n, { originalEvent: s }, {
|
|
@@ -7579,7 +7578,7 @@ function tf(e, t = globalThis?.document) {
|
|
|
7579
7578
|
onBlurCapture: () => r.current = !1
|
|
7580
7579
|
};
|
|
7581
7580
|
}
|
|
7582
|
-
function
|
|
7581
|
+
function ao() {
|
|
7583
7582
|
const e = new CustomEvent(Bn);
|
|
7584
7583
|
document.dispatchEvent(e);
|
|
7585
7584
|
}
|
|
@@ -7591,23 +7590,23 @@ var Sn = 0;
|
|
|
7591
7590
|
function nf() {
|
|
7592
7591
|
g.useEffect(() => {
|
|
7593
7592
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
7594
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
7593
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? co()), document.body.insertAdjacentElement("beforeend", e[1] ?? co()), Sn++, () => {
|
|
7595
7594
|
Sn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Sn--;
|
|
7596
7595
|
};
|
|
7597
7596
|
}, []);
|
|
7598
7597
|
}
|
|
7599
|
-
function
|
|
7598
|
+
function co() {
|
|
7600
7599
|
const e = document.createElement("span");
|
|
7601
7600
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
7602
7601
|
}
|
|
7603
|
-
var Cn = "focusScope.autoFocusOnMount", On = "focusScope.autoFocusOnUnmount",
|
|
7602
|
+
var Cn = "focusScope.autoFocusOnMount", On = "focusScope.autoFocusOnUnmount", lo = { bubbles: !1, cancelable: !0 }, rf = "FocusScope", ds = g.forwardRef((e, t) => {
|
|
7604
7603
|
const {
|
|
7605
7604
|
loop: n = !1,
|
|
7606
7605
|
trapped: r = !1,
|
|
7607
7606
|
onMountAutoFocus: o,
|
|
7608
7607
|
onUnmountAutoFocus: s,
|
|
7609
7608
|
...i
|
|
7610
|
-
} = e, [a, c] = g.useState(null), l =
|
|
7609
|
+
} = e, [a, c] = g.useState(null), l = $e(o), f = $e(s), d = g.useRef(null), h = me(t, (m) => c(m)), p = g.useRef({
|
|
7611
7610
|
paused: !1,
|
|
7612
7611
|
pause() {
|
|
7613
7612
|
this.paused = !0;
|
|
@@ -7639,16 +7638,16 @@ var Cn = "focusScope.autoFocusOnMount", On = "focusScope.autoFocusOnUnmount", uo
|
|
|
7639
7638
|
}
|
|
7640
7639
|
}, [r, a, p.paused]), g.useEffect(() => {
|
|
7641
7640
|
if (a) {
|
|
7642
|
-
|
|
7641
|
+
fo.add(p);
|
|
7643
7642
|
const m = document.activeElement;
|
|
7644
7643
|
if (!a.contains(m)) {
|
|
7645
|
-
const E = new CustomEvent(Cn,
|
|
7644
|
+
const E = new CustomEvent(Cn, lo);
|
|
7646
7645
|
a.addEventListener(Cn, l), a.dispatchEvent(E), E.defaultPrevented || (of(uf(fs(a)), { select: !0 }), document.activeElement === m && Pe(a));
|
|
7647
7646
|
}
|
|
7648
7647
|
return () => {
|
|
7649
7648
|
a.removeEventListener(Cn, l), setTimeout(() => {
|
|
7650
|
-
const E = new CustomEvent(On,
|
|
7651
|
-
a.addEventListener(On, f), a.dispatchEvent(E), E.defaultPrevented || Pe(m ?? document.body, { select: !0 }), a.removeEventListener(On, f),
|
|
7649
|
+
const E = new CustomEvent(On, lo);
|
|
7650
|
+
a.addEventListener(On, f), a.dispatchEvent(E), E.defaultPrevented || Pe(m ?? document.body, { select: !0 }), a.removeEventListener(On, f), fo.remove(p);
|
|
7652
7651
|
}, 0);
|
|
7653
7652
|
};
|
|
7654
7653
|
}
|
|
@@ -7673,7 +7672,7 @@ function of(e, { select: t = !1 } = {}) {
|
|
|
7673
7672
|
if (Pe(r, { select: t }), document.activeElement !== n) return;
|
|
7674
7673
|
}
|
|
7675
7674
|
function sf(e) {
|
|
7676
|
-
const t = fs(e), n =
|
|
7675
|
+
const t = fs(e), n = uo(t, e), r = uo(t.reverse(), e);
|
|
7677
7676
|
return [n, r];
|
|
7678
7677
|
}
|
|
7679
7678
|
function fs(e) {
|
|
@@ -7686,7 +7685,7 @@ function fs(e) {
|
|
|
7686
7685
|
for (; n.nextNode(); ) t.push(n.currentNode);
|
|
7687
7686
|
return t;
|
|
7688
7687
|
}
|
|
7689
|
-
function
|
|
7688
|
+
function uo(e, t) {
|
|
7690
7689
|
for (const n of e)
|
|
7691
7690
|
if (!af(n, { upTo: t })) return n;
|
|
7692
7691
|
}
|
|
@@ -7708,20 +7707,20 @@ function Pe(e, { select: t = !1 } = {}) {
|
|
|
7708
7707
|
e.focus({ preventScroll: !0 }), e !== n && cf(e) && t && e.select();
|
|
7709
7708
|
}
|
|
7710
7709
|
}
|
|
7711
|
-
var
|
|
7710
|
+
var fo = lf();
|
|
7712
7711
|
function lf() {
|
|
7713
7712
|
let e = [];
|
|
7714
7713
|
return {
|
|
7715
7714
|
add(t) {
|
|
7716
7715
|
const n = e[0];
|
|
7717
|
-
t !== n && n?.pause(), e =
|
|
7716
|
+
t !== n && n?.pause(), e = po(e, t), e.unshift(t);
|
|
7718
7717
|
},
|
|
7719
7718
|
remove(t) {
|
|
7720
|
-
e =
|
|
7719
|
+
e = po(e, t), e[0]?.resume();
|
|
7721
7720
|
}
|
|
7722
7721
|
};
|
|
7723
7722
|
}
|
|
7724
|
-
function
|
|
7723
|
+
function po(e, t) {
|
|
7725
7724
|
const n = [...e], r = n.indexOf(t);
|
|
7726
7725
|
return r !== -1 && n.splice(r, 1), n;
|
|
7727
7726
|
}
|
|
@@ -7731,13 +7730,13 @@ function uf(e) {
|
|
|
7731
7730
|
var Ae = globalThis?.document ? g.useLayoutEffect : () => {
|
|
7732
7731
|
}, df = g[" useId ".trim().toString()] || (() => {
|
|
7733
7732
|
}), ff = 0;
|
|
7734
|
-
function
|
|
7733
|
+
function Gn(e) {
|
|
7735
7734
|
const [t, n] = g.useState(df());
|
|
7736
7735
|
return Ae(() => {
|
|
7737
7736
|
n((r) => r ?? String(ff++));
|
|
7738
7737
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
7739
7738
|
}
|
|
7740
|
-
const pf = ["top", "right", "bottom", "left"], Me = Math.min, fe = Math.max, Dt = Math.round,
|
|
7739
|
+
const pf = ["top", "right", "bottom", "left"], Me = Math.min, fe = Math.max, Dt = Math.round, Ct = Math.floor, ke = (e) => ({
|
|
7741
7740
|
x: e,
|
|
7742
7741
|
y: e
|
|
7743
7742
|
}), hf = {
|
|
@@ -7761,22 +7760,22 @@ function Re(e) {
|
|
|
7761
7760
|
function Qe(e) {
|
|
7762
7761
|
return e.split("-")[1];
|
|
7763
7762
|
}
|
|
7764
|
-
function
|
|
7763
|
+
function qn(e) {
|
|
7765
7764
|
return e === "x" ? "y" : "x";
|
|
7766
7765
|
}
|
|
7767
|
-
function
|
|
7766
|
+
function Xn(e) {
|
|
7768
7767
|
return e === "y" ? "height" : "width";
|
|
7769
7768
|
}
|
|
7770
7769
|
const gf = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
7771
7770
|
function Ee(e) {
|
|
7772
7771
|
return gf.has(Re(e)) ? "y" : "x";
|
|
7773
7772
|
}
|
|
7774
|
-
function
|
|
7775
|
-
return
|
|
7773
|
+
function Jn(e) {
|
|
7774
|
+
return qn(Ee(e));
|
|
7776
7775
|
}
|
|
7777
7776
|
function vf(e, t, n) {
|
|
7778
7777
|
n === void 0 && (n = !1);
|
|
7779
|
-
const r = Qe(e), o =
|
|
7778
|
+
const r = Qe(e), o = Jn(e), s = Xn(o);
|
|
7780
7779
|
let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
7781
7780
|
return t.reference[s] > t.floating[s] && (i = zt(i)), [i, zt(i)];
|
|
7782
7781
|
}
|
|
@@ -7787,12 +7786,12 @@ function yf(e) {
|
|
|
7787
7786
|
function zn(e) {
|
|
7788
7787
|
return e.replace(/start|end/g, (t) => mf[t]);
|
|
7789
7788
|
}
|
|
7790
|
-
const
|
|
7789
|
+
const ho = ["left", "right"], mo = ["right", "left"], bf = ["top", "bottom"], xf = ["bottom", "top"];
|
|
7791
7790
|
function wf(e, t, n) {
|
|
7792
7791
|
switch (e) {
|
|
7793
7792
|
case "top":
|
|
7794
7793
|
case "bottom":
|
|
7795
|
-
return n ? t ?
|
|
7794
|
+
return n ? t ? mo : ho : t ? ho : mo;
|
|
7796
7795
|
case "left":
|
|
7797
7796
|
case "right":
|
|
7798
7797
|
return t ? bf : xf;
|
|
@@ -7843,12 +7842,12 @@ function Vt(e) {
|
|
|
7843
7842
|
y: n
|
|
7844
7843
|
};
|
|
7845
7844
|
}
|
|
7846
|
-
function
|
|
7845
|
+
function go(e, t, n) {
|
|
7847
7846
|
let {
|
|
7848
7847
|
reference: r,
|
|
7849
7848
|
floating: o
|
|
7850
7849
|
} = e;
|
|
7851
|
-
const s = Ee(t), i =
|
|
7850
|
+
const s = Ee(t), i = Jn(t), a = Xn(i), c = Re(t), l = s === "y", f = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, h = r[a] / 2 - o[a] / 2;
|
|
7852
7851
|
let p;
|
|
7853
7852
|
switch (c) {
|
|
7854
7853
|
case "top":
|
|
@@ -7905,7 +7904,7 @@ const Sf = async (e, t, n) => {
|
|
|
7905
7904
|
}), {
|
|
7906
7905
|
x: f,
|
|
7907
7906
|
y: d
|
|
7908
|
-
} =
|
|
7907
|
+
} = go(l, r, c), h = r, p = {}, v = 0;
|
|
7909
7908
|
for (let m = 0; m < a.length; m++) {
|
|
7910
7909
|
const {
|
|
7911
7910
|
name: b,
|
|
@@ -7942,7 +7941,7 @@ const Sf = async (e, t, n) => {
|
|
|
7942
7941
|
}) : x.rects), {
|
|
7943
7942
|
x: f,
|
|
7944
7943
|
y: d
|
|
7945
|
-
} =
|
|
7944
|
+
} = go(l, h, c)), m = -1);
|
|
7946
7945
|
}
|
|
7947
7946
|
return {
|
|
7948
7947
|
x: f,
|
|
@@ -7952,7 +7951,7 @@ const Sf = async (e, t, n) => {
|
|
|
7952
7951
|
middlewareData: p
|
|
7953
7952
|
};
|
|
7954
7953
|
};
|
|
7955
|
-
async function
|
|
7954
|
+
async function dt(e, t) {
|
|
7956
7955
|
var n;
|
|
7957
7956
|
t === void 0 && (t = {});
|
|
7958
7957
|
const {
|
|
@@ -8018,10 +8017,10 @@ const Cf = (e) => ({
|
|
|
8018
8017
|
const d = ps(f), h = {
|
|
8019
8018
|
x: n,
|
|
8020
8019
|
y: r
|
|
8021
|
-
}, p =
|
|
8020
|
+
}, p = Jn(o), v = Xn(p), m = await i.getDimensions(l), b = p === "y", E = b ? "top" : "left", C = b ? "bottom" : "right", k = b ? "clientHeight" : "clientWidth", S = s.reference[v] + s.reference[p] - h[p] - s.floating[v], x = h[p] - s.reference[p], _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
|
|
8022
8021
|
let M = _ ? _[k] : 0;
|
|
8023
8022
|
(!M || !await (i.isElement == null ? void 0 : i.isElement(_))) && (M = a.floating[k] || s.floating[v]);
|
|
8024
|
-
const R = S / 2 - x / 2,
|
|
8023
|
+
const R = S / 2 - x / 2, F = M / 2 - m[v] / 2 - 1, $ = Me(d[E], F), V = Me(d[C], F), W = $, U = M - m[v] - V, Z = M / 2 - m[v] / 2 + R, ee = Dn(W, Z, U), D = !c.arrow && Qe(o) != null && Z !== ee && s.reference[v] / 2 - (Z < W ? $ : V) - m[v] / 2 < 0, H = D ? Z < W ? Z - W : Z - U : 0;
|
|
8025
8024
|
return {
|
|
8026
8025
|
[p]: h[p] + H,
|
|
8027
8026
|
data: {
|
|
@@ -8060,36 +8059,36 @@ const Cf = (e) => ({
|
|
|
8060
8059
|
return {};
|
|
8061
8060
|
const E = Re(o), C = Ee(a), k = Re(a) === a, S = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = h || (k || !m ? [zt(a)] : yf(a)), _ = v !== "none";
|
|
8062
8061
|
!h && _ && x.push(...Ef(a, m, v, S));
|
|
8063
|
-
const M = [a, ...x], R = await
|
|
8064
|
-
let
|
|
8065
|
-
if (f &&
|
|
8062
|
+
const M = [a, ...x], R = await dt(t, b), F = [];
|
|
8063
|
+
let $ = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
8064
|
+
if (f && F.push(R[E]), d) {
|
|
8066
8065
|
const Z = vf(o, i, S);
|
|
8067
|
-
|
|
8066
|
+
F.push(R[Z[0]], R[Z[1]]);
|
|
8068
8067
|
}
|
|
8069
|
-
if (
|
|
8068
|
+
if ($ = [...$, {
|
|
8070
8069
|
placement: o,
|
|
8071
|
-
overflows:
|
|
8072
|
-
}],
|
|
8070
|
+
overflows: F
|
|
8071
|
+
}], !F.every((Z) => Z <= 0)) {
|
|
8073
8072
|
var V, W;
|
|
8074
8073
|
const Z = (((V = s.flip) == null ? void 0 : V.index) || 0) + 1, ee = M[Z];
|
|
8075
8074
|
if (ee && (!(d === "alignment" ? C !== Ee(ee) : !1) || // We leave the current main axis only if every placement on that axis
|
|
8076
8075
|
// overflows the main axis.
|
|
8077
|
-
|
|
8076
|
+
$.every((T) => Ee(T.placement) === C ? T.overflows[0] > 0 : !0)))
|
|
8078
8077
|
return {
|
|
8079
8078
|
data: {
|
|
8080
8079
|
index: Z,
|
|
8081
|
-
overflows:
|
|
8080
|
+
overflows: $
|
|
8082
8081
|
},
|
|
8083
8082
|
reset: {
|
|
8084
8083
|
placement: ee
|
|
8085
8084
|
}
|
|
8086
8085
|
};
|
|
8087
|
-
let D = (W =
|
|
8086
|
+
let D = (W = $.filter((H) => H.overflows[0] <= 0).sort((H, T) => H.overflows[1] - T.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
8088
8087
|
if (!D)
|
|
8089
8088
|
switch (p) {
|
|
8090
8089
|
case "bestFit": {
|
|
8091
8090
|
var U;
|
|
8092
|
-
const H = (U =
|
|
8091
|
+
const H = (U = $.filter((T) => {
|
|
8093
8092
|
if (_) {
|
|
8094
8093
|
const te = Ee(T.placement);
|
|
8095
8094
|
return te === C || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -8116,7 +8115,7 @@ const Cf = (e) => ({
|
|
|
8116
8115
|
}
|
|
8117
8116
|
};
|
|
8118
8117
|
};
|
|
8119
|
-
function
|
|
8118
|
+
function vo(e, t) {
|
|
8120
8119
|
return {
|
|
8121
8120
|
top: e.top - t.height,
|
|
8122
8121
|
right: e.right - t.width,
|
|
@@ -8124,7 +8123,7 @@ function yo(e, t) {
|
|
|
8124
8123
|
left: e.left - t.width
|
|
8125
8124
|
};
|
|
8126
8125
|
}
|
|
8127
|
-
function
|
|
8126
|
+
function yo(e) {
|
|
8128
8127
|
return pf.some((t) => e[t] >= 0);
|
|
8129
8128
|
}
|
|
8130
8129
|
const Tf = function(e) {
|
|
@@ -8140,26 +8139,26 @@ const Tf = function(e) {
|
|
|
8140
8139
|
} = Te(e, t);
|
|
8141
8140
|
switch (r) {
|
|
8142
8141
|
case "referenceHidden": {
|
|
8143
|
-
const s = await
|
|
8142
|
+
const s = await dt(t, {
|
|
8144
8143
|
...o,
|
|
8145
8144
|
elementContext: "reference"
|
|
8146
|
-
}), i =
|
|
8145
|
+
}), i = vo(s, n.reference);
|
|
8147
8146
|
return {
|
|
8148
8147
|
data: {
|
|
8149
8148
|
referenceHiddenOffsets: i,
|
|
8150
|
-
referenceHidden:
|
|
8149
|
+
referenceHidden: yo(i)
|
|
8151
8150
|
}
|
|
8152
8151
|
};
|
|
8153
8152
|
}
|
|
8154
8153
|
case "escaped": {
|
|
8155
|
-
const s = await
|
|
8154
|
+
const s = await dt(t, {
|
|
8156
8155
|
...o,
|
|
8157
8156
|
altBoundary: !0
|
|
8158
|
-
}), i =
|
|
8157
|
+
}), i = vo(s, n.floating);
|
|
8159
8158
|
return {
|
|
8160
8159
|
data: {
|
|
8161
8160
|
escapedOffsets: i,
|
|
8162
|
-
escaped:
|
|
8161
|
+
escaped: yo(i)
|
|
8163
8162
|
}
|
|
8164
8163
|
};
|
|
8165
8164
|
}
|
|
@@ -8246,7 +8245,7 @@ const Lf = function(e) {
|
|
|
8246
8245
|
} = Te(e, t), l = {
|
|
8247
8246
|
x: n,
|
|
8248
8247
|
y: r
|
|
8249
|
-
}, f = await
|
|
8248
|
+
}, f = await dt(t, c), d = Ee(Re(o)), h = qn(d);
|
|
8250
8249
|
let p = l[h], v = l[d];
|
|
8251
8250
|
if (s) {
|
|
8252
8251
|
const b = h === "y" ? "top" : "left", E = h === "y" ? "bottom" : "right", C = p + f[b], k = p - f[E];
|
|
@@ -8291,7 +8290,7 @@ const Lf = function(e) {
|
|
|
8291
8290
|
} = Te(e, t), f = {
|
|
8292
8291
|
x: n,
|
|
8293
8292
|
y: r
|
|
8294
|
-
}, d = Ee(o), h =
|
|
8293
|
+
}, d = Ee(o), h = qn(d);
|
|
8295
8294
|
let p = f[h], v = f[d];
|
|
8296
8295
|
const m = Te(a, t), b = typeof m == "number" ? {
|
|
8297
8296
|
mainAxis: m,
|
|
@@ -8331,7 +8330,7 @@ const Lf = function(e) {
|
|
|
8331
8330
|
apply: c = () => {
|
|
8332
8331
|
},
|
|
8333
8332
|
...l
|
|
8334
|
-
} = Te(e, t), f = await
|
|
8333
|
+
} = Te(e, t), f = await dt(t, l), d = Re(o), h = Qe(o), p = Ee(o) === "y", {
|
|
8335
8334
|
width: v,
|
|
8336
8335
|
height: m
|
|
8337
8336
|
} = s.floating;
|
|
@@ -8340,16 +8339,16 @@ const Lf = function(e) {
|
|
|
8340
8339
|
const C = m - f.top - f.bottom, k = v - f.left - f.right, S = Me(m - f[b], C), x = Me(v - f[E], k), _ = !t.middlewareData.shift;
|
|
8341
8340
|
let M = S, R = x;
|
|
8342
8341
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (R = k), (r = t.middlewareData.shift) != null && r.enabled.y && (M = C), _ && !h) {
|
|
8343
|
-
const
|
|
8344
|
-
p ? R = v - 2 * (
|
|
8342
|
+
const $ = fe(f.left, 0), V = fe(f.right, 0), W = fe(f.top, 0), U = fe(f.bottom, 0);
|
|
8343
|
+
p ? R = v - 2 * ($ !== 0 || V !== 0 ? $ + V : fe(f.left, f.right)) : M = m - 2 * (W !== 0 || U !== 0 ? W + U : fe(f.top, f.bottom));
|
|
8345
8344
|
}
|
|
8346
8345
|
await c({
|
|
8347
8346
|
...t,
|
|
8348
8347
|
availableWidth: R,
|
|
8349
8348
|
availableHeight: M
|
|
8350
8349
|
});
|
|
8351
|
-
const
|
|
8352
|
-
return v !==
|
|
8350
|
+
const F = await i.getDimensions(a.floating);
|
|
8351
|
+
return v !== F.width || m !== F.height ? {
|
|
8353
8352
|
reset: {
|
|
8354
8353
|
rects: !0
|
|
8355
8354
|
}
|
|
@@ -8380,11 +8379,11 @@ function ye(e) {
|
|
|
8380
8379
|
function Se(e) {
|
|
8381
8380
|
return en() ? e instanceof HTMLElement || e instanceof he(e).HTMLElement : !1;
|
|
8382
8381
|
}
|
|
8383
|
-
function
|
|
8382
|
+
function bo(e) {
|
|
8384
8383
|
return !en() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof he(e).ShadowRoot;
|
|
8385
8384
|
}
|
|
8386
8385
|
const Nf = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
8387
|
-
function
|
|
8386
|
+
function pt(e) {
|
|
8388
8387
|
const {
|
|
8389
8388
|
overflow: t,
|
|
8390
8389
|
overflowX: n,
|
|
@@ -8397,9 +8396,9 @@ const jf = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
|
8397
8396
|
function _f(e) {
|
|
8398
8397
|
return jf.has(et(e));
|
|
8399
8398
|
}
|
|
8400
|
-
const
|
|
8399
|
+
const Ff = [":popover-open", ":modal"];
|
|
8401
8400
|
function tn(e) {
|
|
8402
|
-
return
|
|
8401
|
+
return Ff.some((t) => {
|
|
8403
8402
|
try {
|
|
8404
8403
|
return e.matches(t);
|
|
8405
8404
|
} catch {
|
|
@@ -8407,15 +8406,15 @@ function tn(e) {
|
|
|
8407
8406
|
}
|
|
8408
8407
|
});
|
|
8409
8408
|
}
|
|
8410
|
-
const
|
|
8411
|
-
function
|
|
8412
|
-
const t =
|
|
8413
|
-
return
|
|
8409
|
+
const $f = ["transform", "translate", "scale", "rotate", "perspective"], If = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Bf = ["paint", "layout", "strict", "content"];
|
|
8410
|
+
function Qn(e) {
|
|
8411
|
+
const t = er(), n = ye(e) ? be(e) : e;
|
|
8412
|
+
return $f.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || If.some((r) => (n.willChange || "").includes(r)) || Bf.some((r) => (n.contain || "").includes(r));
|
|
8414
8413
|
}
|
|
8415
8414
|
function Df(e) {
|
|
8416
8415
|
let t = Ne(e);
|
|
8417
8416
|
for (; Se(t) && !Ke(t); ) {
|
|
8418
|
-
if (
|
|
8417
|
+
if (Qn(t))
|
|
8419
8418
|
return t;
|
|
8420
8419
|
if (tn(t))
|
|
8421
8420
|
return null;
|
|
@@ -8423,7 +8422,7 @@ function Df(e) {
|
|
|
8423
8422
|
}
|
|
8424
8423
|
return null;
|
|
8425
8424
|
}
|
|
8426
|
-
function
|
|
8425
|
+
function er() {
|
|
8427
8426
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
8428
8427
|
}
|
|
8429
8428
|
const zf = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -8449,24 +8448,24 @@ function Ne(e) {
|
|
|
8449
8448
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
8450
8449
|
e.assignedSlot || // DOM Element detected.
|
|
8451
8450
|
e.parentNode || // ShadowRoot detected.
|
|
8452
|
-
|
|
8451
|
+
bo(e) && e.host || // Fallback.
|
|
8453
8452
|
Ce(e)
|
|
8454
8453
|
);
|
|
8455
|
-
return
|
|
8454
|
+
return bo(t) ? t.host : t;
|
|
8456
8455
|
}
|
|
8457
8456
|
function gs(e) {
|
|
8458
8457
|
const t = Ne(e);
|
|
8459
|
-
return Ke(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Se(t) &&
|
|
8458
|
+
return Ke(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Se(t) && pt(t) ? t : gs(t);
|
|
8460
8459
|
}
|
|
8461
|
-
function
|
|
8460
|
+
function ft(e, t, n) {
|
|
8462
8461
|
var r;
|
|
8463
8462
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
8464
8463
|
const o = gs(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), i = he(o);
|
|
8465
8464
|
if (s) {
|
|
8466
8465
|
const a = Vn(i);
|
|
8467
|
-
return t.concat(i, i.visualViewport || [],
|
|
8466
|
+
return t.concat(i, i.visualViewport || [], pt(o) ? o : [], a && n ? ft(a) : []);
|
|
8468
8467
|
}
|
|
8469
|
-
return t.concat(o,
|
|
8468
|
+
return t.concat(o, ft(o, [], n));
|
|
8470
8469
|
}
|
|
8471
8470
|
function Vn(e) {
|
|
8472
8471
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
@@ -8481,11 +8480,11 @@ function vs(e) {
|
|
|
8481
8480
|
$: a
|
|
8482
8481
|
};
|
|
8483
8482
|
}
|
|
8484
|
-
function
|
|
8483
|
+
function tr(e) {
|
|
8485
8484
|
return ye(e) ? e : e.contextElement;
|
|
8486
8485
|
}
|
|
8487
8486
|
function Ze(e) {
|
|
8488
|
-
const t =
|
|
8487
|
+
const t = tr(e);
|
|
8489
8488
|
if (!Se(t))
|
|
8490
8489
|
return ke(1);
|
|
8491
8490
|
const n = t.getBoundingClientRect(), {
|
|
@@ -8502,7 +8501,7 @@ function Ze(e) {
|
|
|
8502
8501
|
const Vf = /* @__PURE__ */ ke(0);
|
|
8503
8502
|
function ys(e) {
|
|
8504
8503
|
const t = he(e);
|
|
8505
|
-
return !
|
|
8504
|
+
return !er() || !t.visualViewport ? Vf : {
|
|
8506
8505
|
x: t.visualViewport.offsetLeft,
|
|
8507
8506
|
y: t.visualViewport.offsetTop
|
|
8508
8507
|
};
|
|
@@ -8512,7 +8511,7 @@ function Wf(e, t, n) {
|
|
|
8512
8511
|
}
|
|
8513
8512
|
function Ie(e, t, n, r) {
|
|
8514
8513
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
8515
|
-
const o = e.getBoundingClientRect(), s =
|
|
8514
|
+
const o = e.getBoundingClientRect(), s = tr(e);
|
|
8516
8515
|
let i = ke(1);
|
|
8517
8516
|
t && (r ? ye(r) && (i = Ze(r)) : i = Ze(e));
|
|
8518
8517
|
const a = Wf(s, n, r) ? ys(s) : ke(0);
|
|
@@ -8558,7 +8557,7 @@ function Zf(e) {
|
|
|
8558
8557
|
scrollTop: 0
|
|
8559
8558
|
}, l = ke(1);
|
|
8560
8559
|
const f = ke(0), d = Se(r);
|
|
8561
|
-
if ((d || !d && !s) && ((et(r) !== "body" ||
|
|
8560
|
+
if ((d || !d && !s) && ((et(r) !== "body" || pt(i)) && (c = nn(r)), Se(r))) {
|
|
8562
8561
|
const p = Ie(r);
|
|
8563
8562
|
l = Ze(r), f.x = p.x + r.clientLeft, f.y = p.y + r.clientTop;
|
|
8564
8563
|
}
|
|
@@ -8584,20 +8583,20 @@ function Uf(e) {
|
|
|
8584
8583
|
y: a
|
|
8585
8584
|
};
|
|
8586
8585
|
}
|
|
8587
|
-
const
|
|
8586
|
+
const xo = 25;
|
|
8588
8587
|
function Kf(e, t) {
|
|
8589
8588
|
const n = he(e), r = Ce(e), o = n.visualViewport;
|
|
8590
8589
|
let s = r.clientWidth, i = r.clientHeight, a = 0, c = 0;
|
|
8591
8590
|
if (o) {
|
|
8592
8591
|
s = o.width, i = o.height;
|
|
8593
|
-
const f =
|
|
8592
|
+
const f = er();
|
|
8594
8593
|
(!f || f && t === "fixed") && (a = o.offsetLeft, c = o.offsetTop);
|
|
8595
8594
|
}
|
|
8596
8595
|
const l = rn(r);
|
|
8597
8596
|
if (l <= 0) {
|
|
8598
8597
|
const f = r.ownerDocument, d = f.body, h = getComputedStyle(d), p = f.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, v = Math.abs(r.clientWidth - d.clientWidth - p);
|
|
8599
|
-
v <=
|
|
8600
|
-
} else l <=
|
|
8598
|
+
v <= xo && (s -= v);
|
|
8599
|
+
} else l <= xo && (s += l);
|
|
8601
8600
|
return {
|
|
8602
8601
|
width: s,
|
|
8603
8602
|
height: i,
|
|
@@ -8615,7 +8614,7 @@ function Gf(e, t) {
|
|
|
8615
8614
|
y: l
|
|
8616
8615
|
};
|
|
8617
8616
|
}
|
|
8618
|
-
function
|
|
8617
|
+
function wo(e, t, n) {
|
|
8619
8618
|
let r;
|
|
8620
8619
|
if (t === "viewport")
|
|
8621
8620
|
r = Kf(e, n);
|
|
@@ -8642,12 +8641,12 @@ function qf(e, t) {
|
|
|
8642
8641
|
const n = t.get(e);
|
|
8643
8642
|
if (n)
|
|
8644
8643
|
return n;
|
|
8645
|
-
let r =
|
|
8644
|
+
let r = ft(e, [], !1).filter((a) => ye(a) && et(a) !== "body"), o = null;
|
|
8646
8645
|
const s = be(e).position === "fixed";
|
|
8647
8646
|
let i = s ? Ne(e) : e;
|
|
8648
8647
|
for (; ye(i) && !Ke(i); ) {
|
|
8649
|
-
const a = be(i), c =
|
|
8650
|
-
!c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Yf.has(o.position) ||
|
|
8648
|
+
const a = be(i), c = Qn(i);
|
|
8649
|
+
!c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Yf.has(o.position) || pt(i) && !c && xs(e, i)) ? r = r.filter((f) => f !== i) : o = a, i = Ne(i);
|
|
8651
8650
|
}
|
|
8652
8651
|
return t.set(e, r), r;
|
|
8653
8652
|
}
|
|
@@ -8659,9 +8658,9 @@ function Xf(e) {
|
|
|
8659
8658
|
strategy: o
|
|
8660
8659
|
} = e;
|
|
8661
8660
|
const i = [...n === "clippingAncestors" ? tn(t) ? [] : qf(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((l, f) => {
|
|
8662
|
-
const d =
|
|
8661
|
+
const d = wo(t, f, o);
|
|
8663
8662
|
return l.top = fe(d.top, l.top), l.right = Me(d.right, l.right), l.bottom = Me(d.bottom, l.bottom), l.left = fe(d.left, l.left), l;
|
|
8664
|
-
},
|
|
8663
|
+
}, wo(t, a, o));
|
|
8665
8664
|
return {
|
|
8666
8665
|
width: c.right - c.left,
|
|
8667
8666
|
height: c.bottom - c.top,
|
|
@@ -8690,7 +8689,7 @@ function Qf(e, t, n) {
|
|
|
8690
8689
|
c.x = rn(o);
|
|
8691
8690
|
}
|
|
8692
8691
|
if (r || !r && !s)
|
|
8693
|
-
if ((et(t) !== "body" ||
|
|
8692
|
+
if ((et(t) !== "body" || pt(o)) && (a = nn(t)), r) {
|
|
8694
8693
|
const p = Ie(t, !0, s, t);
|
|
8695
8694
|
c.x = p.x + t.clientLeft, c.y = p.y + t.clientTop;
|
|
8696
8695
|
} else o && l();
|
|
@@ -8706,7 +8705,7 @@ function Qf(e, t, n) {
|
|
|
8706
8705
|
function Tn(e) {
|
|
8707
8706
|
return be(e).position === "static";
|
|
8708
8707
|
}
|
|
8709
|
-
function
|
|
8708
|
+
function Eo(e, t) {
|
|
8710
8709
|
if (!Se(e) || be(e).position === "fixed")
|
|
8711
8710
|
return null;
|
|
8712
8711
|
if (t)
|
|
@@ -8727,10 +8726,10 @@ function ws(e, t) {
|
|
|
8727
8726
|
}
|
|
8728
8727
|
return n;
|
|
8729
8728
|
}
|
|
8730
|
-
let r =
|
|
8729
|
+
let r = Eo(e, t);
|
|
8731
8730
|
for (; r && _f(r) && Tn(r); )
|
|
8732
|
-
r =
|
|
8733
|
-
return r && Ke(r) && Tn(r) && !
|
|
8731
|
+
r = Eo(r, t);
|
|
8732
|
+
return r && Ke(r) && Tn(r) && !Qn(r) ? n : r || Df(e) || n;
|
|
8734
8733
|
}
|
|
8735
8734
|
const ep = async function(e) {
|
|
8736
8735
|
const t = this.getOffsetParent || ws, n = this.getDimensions, r = await n(e.floating);
|
|
@@ -8779,7 +8778,7 @@ function rp(e, t) {
|
|
|
8779
8778
|
} = l;
|
|
8780
8779
|
if (a || t(), !h || !p)
|
|
8781
8780
|
return;
|
|
8782
|
-
const v =
|
|
8781
|
+
const v = Ct(d), m = Ct(o.clientWidth - (f + h)), b = Ct(o.clientHeight - (d + p)), E = Ct(f), k = {
|
|
8783
8782
|
rootMargin: -v + "px " + -m + "px " + -b + "px " + -E + "px",
|
|
8784
8783
|
threshold: fe(0, Me(1, c)) || 1
|
|
8785
8784
|
};
|
|
@@ -8816,7 +8815,7 @@ function op(e, t, n, r) {
|
|
|
8816
8815
|
elementResize: i = typeof ResizeObserver == "function",
|
|
8817
8816
|
layoutShift: a = typeof IntersectionObserver == "function",
|
|
8818
8817
|
animationFrame: c = !1
|
|
8819
|
-
} = r, l =
|
|
8818
|
+
} = r, l = tr(e), f = o || s ? [...l ? ft(l) : [], ...ft(t)] : [];
|
|
8820
8819
|
f.forEach((E) => {
|
|
8821
8820
|
o && E.addEventListener("scroll", n, {
|
|
8822
8821
|
passive: !0
|
|
@@ -8844,7 +8843,7 @@ function op(e, t, n, r) {
|
|
|
8844
8843
|
}), d?.(), (E = p) == null || E.disconnect(), p = null, c && cancelAnimationFrame(v);
|
|
8845
8844
|
};
|
|
8846
8845
|
}
|
|
8847
|
-
const sp = Lf, ip = Pf, ap = Of, cp = Mf, lp = Tf,
|
|
8846
|
+
const sp = Lf, ip = Pf, ap = Of, cp = Mf, lp = Tf, ko = Cf, up = Af, dp = (e, t, n) => {
|
|
8848
8847
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
8849
8848
|
platform: np,
|
|
8850
8849
|
...n
|
|
@@ -8858,7 +8857,7 @@ const sp = Lf, ip = Pf, ap = Of, cp = Mf, lp = Tf, So = Cf, up = Af, dp = (e, t,
|
|
|
8858
8857
|
});
|
|
8859
8858
|
};
|
|
8860
8859
|
var fp = typeof document < "u", pp = function() {
|
|
8861
|
-
}, At = fp ?
|
|
8860
|
+
}, At = fp ? Fi : pp;
|
|
8862
8861
|
function Wt(e, t) {
|
|
8863
8862
|
if (e === t)
|
|
8864
8863
|
return !0;
|
|
@@ -8892,7 +8891,7 @@ function Wt(e, t) {
|
|
|
8892
8891
|
function ks(e) {
|
|
8893
8892
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
8894
8893
|
}
|
|
8895
|
-
function
|
|
8894
|
+
function So(e, t) {
|
|
8896
8895
|
const n = ks(e);
|
|
8897
8896
|
return Math.round(t * n) / n;
|
|
8898
8897
|
}
|
|
@@ -8929,7 +8928,7 @@ function hp(e) {
|
|
|
8929
8928
|
T !== _.current && (_.current = T, m(T));
|
|
8930
8929
|
}, []), k = g.useCallback((T) => {
|
|
8931
8930
|
T !== M.current && (M.current = T, E(T));
|
|
8932
|
-
}, []), S = s || v, x = i || b, _ = g.useRef(null), M = g.useRef(null), R = g.useRef(f),
|
|
8931
|
+
}, []), S = s || v, x = i || b, _ = g.useRef(null), M = g.useRef(null), R = g.useRef(f), F = c != null, $ = Rn(c), V = Rn(o), W = Rn(l), U = g.useCallback(() => {
|
|
8933
8932
|
if (!_.current || !M.current)
|
|
8934
8933
|
return;
|
|
8935
8934
|
const T = {
|
|
@@ -8962,11 +8961,11 @@ function hp(e) {
|
|
|
8962
8961
|
Z.current = !1;
|
|
8963
8962
|
}), []), At(() => {
|
|
8964
8963
|
if (S && (_.current = S), x && (M.current = x), S && x) {
|
|
8965
|
-
if (
|
|
8966
|
-
return
|
|
8964
|
+
if ($.current)
|
|
8965
|
+
return $.current(S, x, U);
|
|
8967
8966
|
U();
|
|
8968
8967
|
}
|
|
8969
|
-
}, [S, x, U, F
|
|
8968
|
+
}, [S, x, U, $, F]);
|
|
8970
8969
|
const ee = g.useMemo(() => ({
|
|
8971
8970
|
reference: _,
|
|
8972
8971
|
floating: M,
|
|
@@ -8983,7 +8982,7 @@ function hp(e) {
|
|
|
8983
8982
|
};
|
|
8984
8983
|
if (!D.floating)
|
|
8985
8984
|
return T;
|
|
8986
|
-
const te =
|
|
8985
|
+
const te = So(D.floating, f.x), O = So(D.floating, f.y);
|
|
8987
8986
|
return a ? {
|
|
8988
8987
|
...T,
|
|
8989
8988
|
transform: "translate(" + te + "px, " + O + "px)",
|
|
@@ -9016,10 +9015,10 @@ const mp = (e) => {
|
|
|
9016
9015
|
element: r,
|
|
9017
9016
|
padding: o
|
|
9018
9017
|
} = typeof e == "function" ? e(n) : e;
|
|
9019
|
-
return r && t(r) ? r.current != null ?
|
|
9018
|
+
return r && t(r) ? r.current != null ? ko({
|
|
9020
9019
|
element: r.current,
|
|
9021
9020
|
padding: o
|
|
9022
|
-
}).fn(n) : {} : r ?
|
|
9021
|
+
}).fn(n) : {} : r ? ko({
|
|
9023
9022
|
element: r,
|
|
9024
9023
|
padding: o
|
|
9025
9024
|
}).fn(n) : {};
|
|
@@ -9086,11 +9085,11 @@ function Cs(e) {
|
|
|
9086
9085
|
n(void 0);
|
|
9087
9086
|
}, [e]), t;
|
|
9088
9087
|
}
|
|
9089
|
-
var
|
|
9088
|
+
var nr = "Popper", [Os, Ts] = Je(nr), [Cp, Rs] = Os(nr), Ls = (e) => {
|
|
9090
9089
|
const { __scopePopper: t, children: n } = e, [r, o] = g.useState(null);
|
|
9091
9090
|
return /* @__PURE__ */ w.jsx(Cp, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
9092
9091
|
};
|
|
9093
|
-
Ls.displayName =
|
|
9092
|
+
Ls.displayName = nr;
|
|
9094
9093
|
var Ps = "PopperAnchor", As = g.forwardRef(
|
|
9095
9094
|
(e, t) => {
|
|
9096
9095
|
const { __scopePopper: n, virtualRef: r, ...o } = e, s = Rs(Ps, n), i = g.useRef(null), a = me(t, i), c = g.useRef(null);
|
|
@@ -9101,7 +9100,7 @@ var Ps = "PopperAnchor", As = g.forwardRef(
|
|
|
9101
9100
|
}
|
|
9102
9101
|
);
|
|
9103
9102
|
As.displayName = Ps;
|
|
9104
|
-
var
|
|
9103
|
+
var rr = "PopperContent", [Op, Tp] = Os(rr), Ms = g.forwardRef(
|
|
9105
9104
|
(e, t) => {
|
|
9106
9105
|
const {
|
|
9107
9106
|
__scopePopper: n,
|
|
@@ -9118,15 +9117,15 @@ var or = "PopperContent", [Op, Tp] = Os(or), Ms = g.forwardRef(
|
|
|
9118
9117
|
updatePositionStrategy: p = "optimized",
|
|
9119
9118
|
onPlaced: v,
|
|
9120
9119
|
...m
|
|
9121
|
-
} = e, b = Rs(
|
|
9122
|
-
padding:
|
|
9120
|
+
} = e, b = Rs(rr, n), [E, C] = g.useState(null), k = me(t, (A) => C(A)), [S, x] = g.useState(null), _ = Cs(S), M = _?.width ?? 0, R = _?.height ?? 0, F = r + (s !== "center" ? "-" + s : ""), $ = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, V = Array.isArray(l) ? l : [l], W = V.length > 0, U = {
|
|
9121
|
+
padding: $,
|
|
9123
9122
|
boundary: V.filter(Lp),
|
|
9124
9123
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
9125
9124
|
altBoundary: W
|
|
9126
9125
|
}, { refs: Z, floatingStyles: ee, placement: D, isPositioned: H, middlewareData: T } = hp({
|
|
9127
9126
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
9128
9127
|
strategy: "fixed",
|
|
9129
|
-
placement:
|
|
9128
|
+
placement: F,
|
|
9130
9129
|
whileElementsMounted: (...A) => op(...A, {
|
|
9131
9130
|
animationFrame: p === "always"
|
|
9132
9131
|
}),
|
|
@@ -9153,7 +9152,7 @@ var or = "PopperContent", [Op, Tp] = Os(or), Ms = g.forwardRef(
|
|
|
9153
9152
|
Pp({ arrowWidth: M, arrowHeight: R }),
|
|
9154
9153
|
h && wp({ strategy: "referenceHidden", ...U })
|
|
9155
9154
|
]
|
|
9156
|
-
}), [te, O] = _s(D), y =
|
|
9155
|
+
}), [te, O] = _s(D), y = $e(v);
|
|
9157
9156
|
Ae(() => {
|
|
9158
9157
|
H && y?.();
|
|
9159
9158
|
}, [H, y]);
|
|
@@ -9214,7 +9213,7 @@ var or = "PopperContent", [Op, Tp] = Os(or), Ms = g.forwardRef(
|
|
|
9214
9213
|
);
|
|
9215
9214
|
}
|
|
9216
9215
|
);
|
|
9217
|
-
Ms.displayName =
|
|
9216
|
+
Ms.displayName = rr;
|
|
9218
9217
|
var Ns = "PopperArrow", Rp = {
|
|
9219
9218
|
top: "bottom",
|
|
9220
9219
|
right: "left",
|
|
@@ -9282,22 +9281,22 @@ function _s(e) {
|
|
|
9282
9281
|
const [t, n = "center"] = e.split("-");
|
|
9283
9282
|
return [t, n];
|
|
9284
9283
|
}
|
|
9285
|
-
var Ap = Ls,
|
|
9284
|
+
var Ap = Ls, Fs = As, Mp = Ms, Np = js, jp = "Portal", $s = g.forwardRef((e, t) => {
|
|
9286
9285
|
const { container: n, ...r } = e, [o, s] = g.useState(!1);
|
|
9287
9286
|
Ae(() => s(!0), []);
|
|
9288
9287
|
const i = n || o && globalThis?.document?.body;
|
|
9289
|
-
return i ?
|
|
9288
|
+
return i ? $i.createPortal(/* @__PURE__ */ w.jsx(ce.div, { ...r, ref: t }), i) : null;
|
|
9290
9289
|
});
|
|
9291
|
-
|
|
9290
|
+
$s.displayName = jp;
|
|
9292
9291
|
function _p(e, t) {
|
|
9293
9292
|
return g.useReducer((n, r) => t[n][r] ?? n, e);
|
|
9294
9293
|
}
|
|
9295
9294
|
var on = (e) => {
|
|
9296
|
-
const { present: t, children: n } = e, r =
|
|
9295
|
+
const { present: t, children: n } = e, r = Fp(t), o = typeof n == "function" ? n({ present: r.isPresent }) : g.Children.only(n), s = me(r.ref, $p(o));
|
|
9297
9296
|
return typeof n == "function" || r.isPresent ? g.cloneElement(o, { ref: s }) : null;
|
|
9298
9297
|
};
|
|
9299
9298
|
on.displayName = "Presence";
|
|
9300
|
-
function
|
|
9299
|
+
function Fp(e) {
|
|
9301
9300
|
const [t, n] = g.useState(), r = g.useRef(null), o = g.useRef(e), s = g.useRef("none"), i = e ? "mounted" : "unmounted", [a, c] = _p(i, {
|
|
9302
9301
|
mounted: {
|
|
9303
9302
|
UNMOUNT: "unmounted",
|
|
@@ -9312,19 +9311,19 @@ function $p(e) {
|
|
|
9312
9311
|
}
|
|
9313
9312
|
});
|
|
9314
9313
|
return g.useEffect(() => {
|
|
9315
|
-
const l =
|
|
9314
|
+
const l = Ot(r.current);
|
|
9316
9315
|
s.current = a === "mounted" ? l : "none";
|
|
9317
9316
|
}, [a]), Ae(() => {
|
|
9318
9317
|
const l = r.current, f = o.current;
|
|
9319
9318
|
if (f !== e) {
|
|
9320
|
-
const h = s.current, p =
|
|
9319
|
+
const h = s.current, p = Ot(l);
|
|
9321
9320
|
e ? c("MOUNT") : p === "none" || l?.display === "none" ? c("UNMOUNT") : c(f && h !== p ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
|
|
9322
9321
|
}
|
|
9323
9322
|
}, [e, c]), Ae(() => {
|
|
9324
9323
|
if (t) {
|
|
9325
9324
|
let l;
|
|
9326
9325
|
const f = t.ownerDocument.defaultView ?? window, d = (p) => {
|
|
9327
|
-
const m =
|
|
9326
|
+
const m = Ot(r.current).includes(CSS.escape(p.animationName));
|
|
9328
9327
|
if (p.target === t && m && (c("ANIMATION_END"), !o.current)) {
|
|
9329
9328
|
const b = t.style.animationFillMode;
|
|
9330
9329
|
t.style.animationFillMode = "forwards", l = f.setTimeout(() => {
|
|
@@ -9332,7 +9331,7 @@ function $p(e) {
|
|
|
9332
9331
|
});
|
|
9333
9332
|
}
|
|
9334
9333
|
}, h = (p) => {
|
|
9335
|
-
p.target === t && (s.current =
|
|
9334
|
+
p.target === t && (s.current = Ot(r.current));
|
|
9336
9335
|
};
|
|
9337
9336
|
return t.addEventListener("animationstart", h), t.addEventListener("animationcancel", d), t.addEventListener("animationend", d), () => {
|
|
9338
9337
|
f.clearTimeout(l), t.removeEventListener("animationstart", h), t.removeEventListener("animationcancel", d), t.removeEventListener("animationend", d);
|
|
@@ -9346,10 +9345,10 @@ function $p(e) {
|
|
|
9346
9345
|
}, [])
|
|
9347
9346
|
};
|
|
9348
9347
|
}
|
|
9349
|
-
function
|
|
9348
|
+
function Ot(e) {
|
|
9350
9349
|
return e?.animationName || "none";
|
|
9351
9350
|
}
|
|
9352
|
-
function
|
|
9351
|
+
function $p(e) {
|
|
9353
9352
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
9354
9353
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
9355
9354
|
}
|
|
@@ -9405,7 +9404,7 @@ var zp = function(e) {
|
|
|
9405
9404
|
return null;
|
|
9406
9405
|
var t = Array.isArray(e) ? e[0] : e;
|
|
9407
9406
|
return t.ownerDocument.body;
|
|
9408
|
-
}, ze = /* @__PURE__ */ new WeakMap(),
|
|
9407
|
+
}, ze = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Rt = {}, Ln = 0, Is = function(e) {
|
|
9409
9408
|
return e && (e.host || Is(e.parentNode));
|
|
9410
9409
|
}, Vp = function(e, t) {
|
|
9411
9410
|
return t.map(function(n) {
|
|
@@ -9418,8 +9417,8 @@ var zp = function(e) {
|
|
|
9418
9417
|
});
|
|
9419
9418
|
}, Wp = function(e, t, n, r) {
|
|
9420
9419
|
var o = Vp(t, Array.isArray(e) ? e : [e]);
|
|
9421
|
-
|
|
9422
|
-
var s =
|
|
9420
|
+
Rt[n] || (Rt[n] = /* @__PURE__ */ new WeakMap());
|
|
9421
|
+
var s = Rt[n], i = [], a = /* @__PURE__ */ new Set(), c = new Set(o), l = function(d) {
|
|
9423
9422
|
!d || a.has(d) || (a.add(d), l(d.parentNode));
|
|
9424
9423
|
};
|
|
9425
9424
|
o.forEach(l);
|
|
@@ -9430,7 +9429,7 @@ var zp = function(e) {
|
|
|
9430
9429
|
else
|
|
9431
9430
|
try {
|
|
9432
9431
|
var p = h.getAttribute(r), v = p !== null && p !== "false", m = (ze.get(h) || 0) + 1, b = (s.get(h) || 0) + 1;
|
|
9433
|
-
ze.set(h, m), s.set(h, b), i.push(h), m === 1 && v &&
|
|
9432
|
+
ze.set(h, m), s.set(h, b), i.push(h), m === 1 && v && Tt.set(h, !0), b === 1 && h.setAttribute(n, "true"), v || h.setAttribute(r, "true");
|
|
9434
9433
|
} catch (E) {
|
|
9435
9434
|
console.error("aria-hidden: cannot operate on ", h, E);
|
|
9436
9435
|
}
|
|
@@ -9439,8 +9438,8 @@ var zp = function(e) {
|
|
|
9439
9438
|
return f(t), a.clear(), Ln++, function() {
|
|
9440
9439
|
i.forEach(function(d) {
|
|
9441
9440
|
var h = ze.get(d) - 1, p = s.get(d) - 1;
|
|
9442
|
-
ze.set(d, h), s.set(d, p), h || (
|
|
9443
|
-
}), Ln--, Ln || (ze = /* @__PURE__ */ new WeakMap(), ze = /* @__PURE__ */ new WeakMap(),
|
|
9441
|
+
ze.set(d, h), s.set(d, p), h || (Tt.has(d) || d.removeAttribute(r), Tt.delete(d)), p || d.removeAttribute(n);
|
|
9442
|
+
}), Ln--, Ln || (ze = /* @__PURE__ */ new WeakMap(), ze = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Rt = {});
|
|
9444
9443
|
};
|
|
9445
9444
|
}, Zp = function(e, t, n) {
|
|
9446
9445
|
n === void 0 && (n = "data-aria-hidden");
|
|
@@ -9475,7 +9474,7 @@ function Pn(e, t) {
|
|
|
9475
9474
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
9476
9475
|
}
|
|
9477
9476
|
function Yp(e, t) {
|
|
9478
|
-
var n =
|
|
9477
|
+
var n = Po(function() {
|
|
9479
9478
|
return {
|
|
9480
9479
|
// value
|
|
9481
9480
|
value: e,
|
|
@@ -9495,7 +9494,7 @@ function Yp(e, t) {
|
|
|
9495
9494
|
})[0];
|
|
9496
9495
|
return n.callback = t, n.facade;
|
|
9497
9496
|
}
|
|
9498
|
-
var Gp = typeof window < "u" ? g.useLayoutEffect : g.useEffect,
|
|
9497
|
+
var Gp = typeof window < "u" ? g.useLayoutEffect : g.useEffect, Co = /* @__PURE__ */ new WeakMap();
|
|
9499
9498
|
function qp(e, t) {
|
|
9500
9499
|
var n = Yp(null, function(r) {
|
|
9501
9500
|
return e.forEach(function(o) {
|
|
@@ -9503,7 +9502,7 @@ function qp(e, t) {
|
|
|
9503
9502
|
});
|
|
9504
9503
|
});
|
|
9505
9504
|
return Gp(function() {
|
|
9506
|
-
var r =
|
|
9505
|
+
var r = Co.get(n);
|
|
9507
9506
|
if (r) {
|
|
9508
9507
|
var o = new Set(r), s = new Set(e), i = n.current;
|
|
9509
9508
|
o.forEach(function(a) {
|
|
@@ -9512,7 +9511,7 @@ function qp(e, t) {
|
|
|
9512
9511
|
o.has(a) || Pn(a, i);
|
|
9513
9512
|
});
|
|
9514
9513
|
}
|
|
9515
|
-
|
|
9514
|
+
Co.set(n, e);
|
|
9516
9515
|
}, [e]), n;
|
|
9517
9516
|
}
|
|
9518
9517
|
function Xp(e) {
|
|
@@ -9722,13 +9721,13 @@ var s1 = function() {
|
|
|
9722
9721
|
`).concat(Kp, ": ").concat(a, `px;
|
|
9723
9722
|
}
|
|
9724
9723
|
`);
|
|
9725
|
-
},
|
|
9724
|
+
}, Oo = function() {
|
|
9726
9725
|
var e = parseInt(document.body.getAttribute(He) || "0", 10);
|
|
9727
9726
|
return isFinite(e) ? e : 0;
|
|
9728
9727
|
}, f1 = function() {
|
|
9729
9728
|
g.useEffect(function() {
|
|
9730
|
-
return document.body.setAttribute(He, (
|
|
9731
|
-
var e =
|
|
9729
|
+
return document.body.setAttribute(He, (Oo() + 1).toString()), function() {
|
|
9730
|
+
var e = Oo() - 1;
|
|
9732
9731
|
e <= 0 ? document.body.removeAttribute(He) : document.body.setAttribute(He, e.toString());
|
|
9733
9732
|
};
|
|
9734
9733
|
}, []);
|
|
@@ -9742,12 +9741,12 @@ var s1 = function() {
|
|
|
9742
9741
|
}, Wn = !1;
|
|
9743
9742
|
if (typeof window < "u")
|
|
9744
9743
|
try {
|
|
9745
|
-
var
|
|
9744
|
+
var Lt = Object.defineProperty({}, "passive", {
|
|
9746
9745
|
get: function() {
|
|
9747
9746
|
return Wn = !0, !0;
|
|
9748
9747
|
}
|
|
9749
9748
|
});
|
|
9750
|
-
window.addEventListener("test",
|
|
9749
|
+
window.addEventListener("test", Lt, Lt), window.removeEventListener("test", Lt, Lt);
|
|
9751
9750
|
} catch {
|
|
9752
9751
|
Wn = !1;
|
|
9753
9752
|
}
|
|
@@ -9766,7 +9765,7 @@ var Ve = Wn ? { passive: !1 } : !1, h1 = function(e) {
|
|
|
9766
9765
|
return Ws(e, "overflowY");
|
|
9767
9766
|
}, g1 = function(e) {
|
|
9768
9767
|
return Ws(e, "overflowX");
|
|
9769
|
-
},
|
|
9768
|
+
}, To = function(e, t) {
|
|
9770
9769
|
var n = t.ownerDocument, r = t;
|
|
9771
9770
|
do {
|
|
9772
9771
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
@@ -9814,11 +9813,11 @@ var Ve = Wn ? { passive: !1 } : !1, h1 = function(e) {
|
|
|
9814
9813
|
c && (t.contains(a) || t === a)
|
|
9815
9814
|
);
|
|
9816
9815
|
return (f && Math.abs(d) < 1 || !f && Math.abs(h) < 1) && (l = !0), l;
|
|
9817
|
-
},
|
|
9816
|
+
}, Pt = function(e) {
|
|
9818
9817
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
9819
|
-
},
|
|
9818
|
+
}, Ro = function(e) {
|
|
9820
9819
|
return [e.deltaX, e.deltaY];
|
|
9821
|
-
},
|
|
9820
|
+
}, Lo = function(e) {
|
|
9822
9821
|
return e && "current" in e ? e.current : e;
|
|
9823
9822
|
}, w1 = function(e, t) {
|
|
9824
9823
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -9835,7 +9834,7 @@ function S1(e) {
|
|
|
9835
9834
|
}, [e]), g.useEffect(function() {
|
|
9836
9835
|
if (e.inert) {
|
|
9837
9836
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
9838
|
-
var m = Hp([e.lockRef.current], (e.shards || []).map(
|
|
9837
|
+
var m = Hp([e.lockRef.current], (e.shards || []).map(Lo), !0).filter(Boolean);
|
|
9839
9838
|
return m.forEach(function(b) {
|
|
9840
9839
|
return b.classList.add("allow-interactivity-".concat(o));
|
|
9841
9840
|
}), function() {
|
|
@@ -9848,22 +9847,22 @@ function S1(e) {
|
|
|
9848
9847
|
var a = g.useCallback(function(m, b) {
|
|
9849
9848
|
if ("touches" in m && m.touches.length === 2 || m.type === "wheel" && m.ctrlKey)
|
|
9850
9849
|
return !i.current.allowPinchZoom;
|
|
9851
|
-
var E =
|
|
9850
|
+
var E = Pt(m), C = n.current, k = "deltaX" in m ? m.deltaX : C[0] - E[0], S = "deltaY" in m ? m.deltaY : C[1] - E[1], x, _ = m.target, M = Math.abs(k) > Math.abs(S) ? "h" : "v";
|
|
9852
9851
|
if ("touches" in m && M === "h" && _.type === "range")
|
|
9853
9852
|
return !1;
|
|
9854
|
-
var R =
|
|
9853
|
+
var R = To(M, _);
|
|
9855
9854
|
if (!R)
|
|
9856
9855
|
return !0;
|
|
9857
|
-
if (R ? x = M : (x = M === "v" ? "h" : "v", R =
|
|
9856
|
+
if (R ? x = M : (x = M === "v" ? "h" : "v", R = To(M, _)), !R)
|
|
9858
9857
|
return !1;
|
|
9859
9858
|
if (!r.current && "changedTouches" in m && (k || S) && (r.current = x), !x)
|
|
9860
9859
|
return !0;
|
|
9861
|
-
var
|
|
9862
|
-
return x1(
|
|
9860
|
+
var F = r.current || x;
|
|
9861
|
+
return x1(F, b, m, F === "h" ? k : S);
|
|
9863
9862
|
}, []), c = g.useCallback(function(m) {
|
|
9864
9863
|
var b = m;
|
|
9865
9864
|
if (!(!We.length || We[We.length - 1] !== s)) {
|
|
9866
|
-
var E = "deltaY" in b ?
|
|
9865
|
+
var E = "deltaY" in b ? Ro(b) : Pt(b), C = t.current.filter(function(x) {
|
|
9867
9866
|
return x.name === b.type && (x.target === b.target || b.target === x.shadowParent) && w1(x.delta, E);
|
|
9868
9867
|
})[0];
|
|
9869
9868
|
if (C && C.should) {
|
|
@@ -9871,7 +9870,7 @@ function S1(e) {
|
|
|
9871
9870
|
return;
|
|
9872
9871
|
}
|
|
9873
9872
|
if (!C) {
|
|
9874
|
-
var k = (i.current.shards || []).map(
|
|
9873
|
+
var k = (i.current.shards || []).map(Lo).filter(Boolean).filter(function(x) {
|
|
9875
9874
|
return x.contains(b.target);
|
|
9876
9875
|
}), S = k.length > 0 ? a(b, k[0]) : !i.current.noIsolation;
|
|
9877
9876
|
S && b.cancelable && b.preventDefault();
|
|
@@ -9885,11 +9884,11 @@ function S1(e) {
|
|
|
9885
9884
|
});
|
|
9886
9885
|
}, 1);
|
|
9887
9886
|
}, []), f = g.useCallback(function(m) {
|
|
9888
|
-
n.current =
|
|
9887
|
+
n.current = Pt(m), r.current = void 0;
|
|
9889
9888
|
}, []), d = g.useCallback(function(m) {
|
|
9890
|
-
l(m.type,
|
|
9889
|
+
l(m.type, Ro(m), m.target, a(m, e.lockRef.current));
|
|
9891
9890
|
}, []), h = g.useCallback(function(m) {
|
|
9892
|
-
l(m.type,
|
|
9891
|
+
l(m.type, Pt(m), m.target, a(m, e.lockRef.current));
|
|
9893
9892
|
}, []);
|
|
9894
9893
|
g.useEffect(function() {
|
|
9895
9894
|
return We.push(s), e.setCallbacks({
|
|
@@ -9922,7 +9921,7 @@ var Us = g.forwardRef(function(e, t) {
|
|
|
9922
9921
|
Us.classNames = an.classNames;
|
|
9923
9922
|
var cn = "Popover", [Ks] = Je(cn, [
|
|
9924
9923
|
Ts
|
|
9925
|
-
]),
|
|
9924
|
+
]), ht = Ts(), [T1, je] = Ks(cn), Ys = (e) => {
|
|
9926
9925
|
const {
|
|
9927
9926
|
__scopePopover: t,
|
|
9928
9927
|
children: n,
|
|
@@ -9930,7 +9929,7 @@ var cn = "Popover", [Ks] = Je(cn, [
|
|
|
9930
9929
|
defaultOpen: o,
|
|
9931
9930
|
onOpenChange: s,
|
|
9932
9931
|
modal: i = !1
|
|
9933
|
-
} = e, a =
|
|
9932
|
+
} = e, a = ht(t), c = g.useRef(null), [l, f] = g.useState(!1), [d, h] = sn({
|
|
9934
9933
|
prop: r,
|
|
9935
9934
|
defaultProp: o ?? !1,
|
|
9936
9935
|
onChange: s,
|
|
@@ -9940,7 +9939,7 @@ var cn = "Popover", [Ks] = Je(cn, [
|
|
|
9940
9939
|
T1,
|
|
9941
9940
|
{
|
|
9942
9941
|
scope: t,
|
|
9943
|
-
contentId:
|
|
9942
|
+
contentId: Gn(),
|
|
9944
9943
|
triggerRef: c,
|
|
9945
9944
|
open: d,
|
|
9946
9945
|
onOpenChange: h,
|
|
@@ -9956,14 +9955,14 @@ var cn = "Popover", [Ks] = Je(cn, [
|
|
|
9956
9955
|
Ys.displayName = cn;
|
|
9957
9956
|
var Gs = "PopoverAnchor", R1 = g.forwardRef(
|
|
9958
9957
|
(e, t) => {
|
|
9959
|
-
const { __scopePopover: n, ...r } = e, o = je(Gs, n), s =
|
|
9960
|
-
return g.useEffect(() => (i(), () => a()), [i, a]), /* @__PURE__ */ w.jsx(
|
|
9958
|
+
const { __scopePopover: n, ...r } = e, o = je(Gs, n), s = ht(n), { onCustomAnchorAdd: i, onCustomAnchorRemove: a } = o;
|
|
9959
|
+
return g.useEffect(() => (i(), () => a()), [i, a]), /* @__PURE__ */ w.jsx(Fs, { ...s, ...r, ref: t });
|
|
9961
9960
|
}
|
|
9962
9961
|
);
|
|
9963
9962
|
R1.displayName = Gs;
|
|
9964
9963
|
var qs = "PopoverTrigger", Xs = g.forwardRef(
|
|
9965
9964
|
(e, t) => {
|
|
9966
|
-
const { __scopePopover: n, ...r } = e, o = je(qs, n), s =
|
|
9965
|
+
const { __scopePopover: n, ...r } = e, o = je(qs, n), s = ht(n), i = me(t, o.triggerRef), a = /* @__PURE__ */ w.jsx(
|
|
9967
9966
|
ce.button,
|
|
9968
9967
|
{
|
|
9969
9968
|
type: "button",
|
|
@@ -9976,17 +9975,17 @@ var qs = "PopoverTrigger", Xs = g.forwardRef(
|
|
|
9976
9975
|
onClick: ae(e.onClick, o.onOpenToggle)
|
|
9977
9976
|
}
|
|
9978
9977
|
);
|
|
9979
|
-
return o.hasCustomAnchor ? a : /* @__PURE__ */ w.jsx(
|
|
9978
|
+
return o.hasCustomAnchor ? a : /* @__PURE__ */ w.jsx(Fs, { asChild: !0, ...s, children: a });
|
|
9980
9979
|
}
|
|
9981
9980
|
);
|
|
9982
9981
|
Xs.displayName = qs;
|
|
9983
|
-
var
|
|
9982
|
+
var or = "PopoverPortal", [L1, P1] = Ks(or, {
|
|
9984
9983
|
forceMount: void 0
|
|
9985
9984
|
}), Js = (e) => {
|
|
9986
|
-
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = je(
|
|
9987
|
-
return /* @__PURE__ */ w.jsx(L1, { scope: t, forceMount: n, children: /* @__PURE__ */ w.jsx(on, { present: n || s.open, children: /* @__PURE__ */ w.jsx(
|
|
9985
|
+
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = je(or, t);
|
|
9986
|
+
return /* @__PURE__ */ w.jsx(L1, { scope: t, forceMount: n, children: /* @__PURE__ */ w.jsx(on, { present: n || s.open, children: /* @__PURE__ */ w.jsx($s, { asChild: !0, container: o, children: r }) }) });
|
|
9988
9987
|
};
|
|
9989
|
-
Js.displayName =
|
|
9988
|
+
Js.displayName = or;
|
|
9990
9989
|
var Ye = "PopoverContent", Qs = g.forwardRef(
|
|
9991
9990
|
(e, t) => {
|
|
9992
9991
|
const n = P1(Ye, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, s = je(Ye, e.__scopePopover);
|
|
@@ -10060,7 +10059,7 @@ var A1 = /* @__PURE__ */ Bt("PopoverContent.RemoveScroll"), M1 = g.forwardRef(
|
|
|
10060
10059
|
onFocusOutside: l,
|
|
10061
10060
|
onInteractOutside: f,
|
|
10062
10061
|
...d
|
|
10063
|
-
} = e, h = je(Ye, n), p =
|
|
10062
|
+
} = e, h = je(Ye, n), p = ht(n);
|
|
10064
10063
|
return nf(), /* @__PURE__ */ w.jsx(
|
|
10065
10064
|
ds,
|
|
10066
10065
|
{
|
|
@@ -10118,18 +10117,18 @@ var A1 = /* @__PURE__ */ Bt("PopoverContent.RemoveScroll"), M1 = g.forwardRef(
|
|
|
10118
10117
|
}
|
|
10119
10118
|
);
|
|
10120
10119
|
j1.displayName = ti;
|
|
10121
|
-
var _1 = "PopoverArrow",
|
|
10120
|
+
var _1 = "PopoverArrow", F1 = g.forwardRef(
|
|
10122
10121
|
(e, t) => {
|
|
10123
|
-
const { __scopePopover: n, ...r } = e, o =
|
|
10122
|
+
const { __scopePopover: n, ...r } = e, o = ht(n);
|
|
10124
10123
|
return /* @__PURE__ */ w.jsx(Np, { ...o, ...r, ref: t });
|
|
10125
10124
|
}
|
|
10126
10125
|
);
|
|
10127
|
-
|
|
10126
|
+
F1.displayName = _1;
|
|
10128
10127
|
function ni(e) {
|
|
10129
10128
|
return e ? "open" : "closed";
|
|
10130
10129
|
}
|
|
10131
|
-
var
|
|
10132
|
-
const D1 =
|
|
10130
|
+
var $1 = Ys, I1 = Xs, B1 = Js, ri = Qs;
|
|
10131
|
+
const D1 = $1, z1 = I1, oi = g.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ w.jsx(B1, { children: /* @__PURE__ */ w.jsx(
|
|
10133
10132
|
ri,
|
|
10134
10133
|
{
|
|
10135
10134
|
ref: o,
|
|
@@ -10188,13 +10187,13 @@ function si(e) {
|
|
|
10188
10187
|
const t = g.useContext(W1);
|
|
10189
10188
|
return e || t || "ltr";
|
|
10190
10189
|
}
|
|
10191
|
-
var Nn = "rovingFocusGroup.onEntryFocus", Z1 = { bubbles: !1, cancelable: !0 },
|
|
10192
|
-
|
|
10190
|
+
var Nn = "rovingFocusGroup.onEntryFocus", Z1 = { bubbles: !1, cancelable: !0 }, mt = "RovingFocusGroup", [Zn, ii, H1] = V1(mt), [U1, ai] = Je(
|
|
10191
|
+
mt,
|
|
10193
10192
|
[H1]
|
|
10194
|
-
), [K1, Y1] = U1(
|
|
10193
|
+
), [K1, Y1] = U1(mt), ci = g.forwardRef(
|
|
10195
10194
|
(e, t) => /* @__PURE__ */ w.jsx(Zn.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ w.jsx(Zn.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ w.jsx(G1, { ...e, ref: t }) }) })
|
|
10196
10195
|
);
|
|
10197
|
-
ci.displayName =
|
|
10196
|
+
ci.displayName = mt;
|
|
10198
10197
|
var G1 = g.forwardRef((e, t) => {
|
|
10199
10198
|
const {
|
|
10200
10199
|
__scopeRovingFocusGroup: n,
|
|
@@ -10211,8 +10210,8 @@ var G1 = g.forwardRef((e, t) => {
|
|
|
10211
10210
|
prop: i,
|
|
10212
10211
|
defaultProp: a ?? null,
|
|
10213
10212
|
onChange: c,
|
|
10214
|
-
caller:
|
|
10215
|
-
}), [E, C] = g.useState(!1), k =
|
|
10213
|
+
caller: mt
|
|
10214
|
+
}), [E, C] = g.useState(!1), k = $e(l), S = ii(n), x = g.useRef(!1), [_, M] = g.useState(0);
|
|
10216
10215
|
return g.useEffect(() => {
|
|
10217
10216
|
const R = h.current;
|
|
10218
10217
|
if (R)
|
|
@@ -10250,10 +10249,10 @@ var G1 = g.forwardRef((e, t) => {
|
|
|
10250
10249
|
x.current = !0;
|
|
10251
10250
|
}),
|
|
10252
10251
|
onFocus: ae(e.onFocus, (R) => {
|
|
10253
|
-
const
|
|
10254
|
-
if (R.target === R.currentTarget &&
|
|
10255
|
-
const
|
|
10256
|
-
if (R.currentTarget.dispatchEvent(
|
|
10252
|
+
const F = !x.current;
|
|
10253
|
+
if (R.target === R.currentTarget && F && !E) {
|
|
10254
|
+
const $ = new CustomEvent(Nn, Z1);
|
|
10255
|
+
if (R.currentTarget.dispatchEvent($), !$.defaultPrevented) {
|
|
10257
10256
|
const V = S().filter((D) => D.focusable), W = V.find((D) => D.active), U = V.find((D) => D.id === m), ee = [W, U, ...V].filter(
|
|
10258
10257
|
Boolean
|
|
10259
10258
|
).map((D) => D.ref.current);
|
|
@@ -10276,7 +10275,7 @@ var G1 = g.forwardRef((e, t) => {
|
|
|
10276
10275
|
tabStopId: s,
|
|
10277
10276
|
children: i,
|
|
10278
10277
|
...a
|
|
10279
|
-
} = e, c =
|
|
10278
|
+
} = e, c = Gn(), l = s || c, f = Y1(li, n), d = f.currentTabStopId === l, h = ii(n), { onFocusableItemAdd: p, onFocusableItemRemove: v, currentTabStopId: m } = f;
|
|
10280
10279
|
return g.useEffect(() => {
|
|
10281
10280
|
if (r)
|
|
10282
10281
|
return p(), () => v();
|
|
@@ -10354,7 +10353,7 @@ function Q1(e, t) {
|
|
|
10354
10353
|
}
|
|
10355
10354
|
var eh = ci, th = ui, ln = "Tabs", [nh] = Je(ln, [
|
|
10356
10355
|
ai
|
|
10357
|
-
]), fi = ai(), [rh,
|
|
10356
|
+
]), fi = ai(), [rh, sr] = nh(ln), pi = g.forwardRef(
|
|
10358
10357
|
(e, t) => {
|
|
10359
10358
|
const {
|
|
10360
10359
|
__scopeTabs: n,
|
|
@@ -10375,7 +10374,7 @@ var eh = ci, th = ui, ln = "Tabs", [nh] = Je(ln, [
|
|
|
10375
10374
|
rh,
|
|
10376
10375
|
{
|
|
10377
10376
|
scope: n,
|
|
10378
|
-
baseId:
|
|
10377
|
+
baseId: Gn(),
|
|
10379
10378
|
value: d,
|
|
10380
10379
|
onValueChange: h,
|
|
10381
10380
|
orientation: i,
|
|
@@ -10397,7 +10396,7 @@ var eh = ci, th = ui, ln = "Tabs", [nh] = Je(ln, [
|
|
|
10397
10396
|
pi.displayName = ln;
|
|
10398
10397
|
var hi = "TabsList", mi = g.forwardRef(
|
|
10399
10398
|
(e, t) => {
|
|
10400
|
-
const { __scopeTabs: n, loop: r = !0, ...o } = e, s =
|
|
10399
|
+
const { __scopeTabs: n, loop: r = !0, ...o } = e, s = sr(hi, n), i = fi(n);
|
|
10401
10400
|
return /* @__PURE__ */ w.jsx(
|
|
10402
10401
|
eh,
|
|
10403
10402
|
{
|
|
@@ -10422,7 +10421,7 @@ var hi = "TabsList", mi = g.forwardRef(
|
|
|
10422
10421
|
mi.displayName = hi;
|
|
10423
10422
|
var gi = "TabsTrigger", vi = g.forwardRef(
|
|
10424
10423
|
(e, t) => {
|
|
10425
|
-
const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, i =
|
|
10424
|
+
const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, i = sr(gi, n), a = fi(n), c = xi(i.baseId, r), l = wi(i.baseId, r), f = r === i.value;
|
|
10426
10425
|
return /* @__PURE__ */ w.jsx(
|
|
10427
10426
|
th,
|
|
10428
10427
|
{
|
|
@@ -10462,7 +10461,7 @@ var gi = "TabsTrigger", vi = g.forwardRef(
|
|
|
10462
10461
|
vi.displayName = gi;
|
|
10463
10462
|
var yi = "TabsContent", bi = g.forwardRef(
|
|
10464
10463
|
(e, t) => {
|
|
10465
|
-
const { __scopeTabs: n, value: r, forceMount: o, children: s, ...i } = e, a =
|
|
10464
|
+
const { __scopeTabs: n, value: r, forceMount: o, children: s, ...i } = e, a = sr(yi, n), c = xi(a.baseId, r), l = wi(a.baseId, r), f = r === a.value, d = g.useRef(f);
|
|
10466
10465
|
return g.useEffect(() => {
|
|
10467
10466
|
const h = requestAnimationFrame(() => d.current = !1);
|
|
10468
10467
|
return () => cancelAnimationFrame(h);
|
|
@@ -10551,7 +10550,7 @@ function ah({
|
|
|
10551
10550
|
"h-8 w-8 rounded-lg bg-[#F5F7FB] text-[#FF246E] hover:bg-[#F5F7FB] hover:brightness-95",
|
|
10552
10551
|
a
|
|
10553
10552
|
),
|
|
10554
|
-
icon: /* @__PURE__ */ w.jsx(
|
|
10553
|
+
icon: /* @__PURE__ */ w.jsx(lt, { size: 20, variant: "Linear" })
|
|
10555
10554
|
}
|
|
10556
10555
|
) }),
|
|
10557
10556
|
/* @__PURE__ */ w.jsx(
|
|
@@ -10589,7 +10588,7 @@ function ah({
|
|
|
10589
10588
|
),
|
|
10590
10589
|
/* @__PURE__ */ w.jsxs("div", { className: "relative", children: [
|
|
10591
10590
|
/* @__PURE__ */ w.jsx(
|
|
10592
|
-
|
|
10591
|
+
lt,
|
|
10593
10592
|
{
|
|
10594
10593
|
size: 20,
|
|
10595
10594
|
variant: "Linear",
|
|
@@ -10795,7 +10794,7 @@ function wh({ locale: e } = {}) {
|
|
|
10795
10794
|
const { t } = Xe("componentsPanel", e);
|
|
10796
10795
|
return /* @__PURE__ */ w.jsxs("section", { className: "space-y-5 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]", children: [
|
|
10797
10796
|
/* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
10798
|
-
/* @__PURE__ */ w.jsx(
|
|
10797
|
+
/* @__PURE__ */ w.jsx(ct, { size: 28, variant: "Bold", className: "text-primary" }),
|
|
10799
10798
|
/* @__PURE__ */ w.jsxs("div", { children: [
|
|
10800
10799
|
/* @__PURE__ */ w.jsx("p", { className: "text-xs uppercase tracking-[0.2em] text-muted-foreground", children: t("sectionLabel") }),
|
|
10801
10800
|
/* @__PURE__ */ w.jsx("h2", { className: "text-2xl font-semibold", children: t("sectionTitle") })
|
|
@@ -10823,7 +10822,7 @@ function wh({ locale: e } = {}) {
|
|
|
10823
10822
|
variant: "icon",
|
|
10824
10823
|
size: "icon",
|
|
10825
10824
|
"aria-label": t("buttons.createAriaLabel"),
|
|
10826
|
-
icon: /* @__PURE__ */ w.jsx(
|
|
10825
|
+
icon: /* @__PURE__ */ w.jsx(ct, { size: 18, variant: "Bold", "aria-hidden": !0 })
|
|
10827
10826
|
}
|
|
10828
10827
|
),
|
|
10829
10828
|
/* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -10876,7 +10875,7 @@ function kh({ locale: e } = {}) {
|
|
|
10876
10875
|
return /* @__PURE__ */ w.jsxs("div", { className: "space-y-2", children: [
|
|
10877
10876
|
/* @__PURE__ */ w.jsx("p", { className: "text-[11px] font-semibold uppercase tracking-[0.2em] text-muted-foreground", children: n.label }),
|
|
10878
10877
|
/* @__PURE__ */ w.jsx("div", { className: "flex flex-wrap gap-2", children: r.map((o) => /* @__PURE__ */ w.jsx(
|
|
10879
|
-
|
|
10878
|
+
$d,
|
|
10880
10879
|
{
|
|
10881
10880
|
variant: o.variant,
|
|
10882
10881
|
appearance: n.appearance,
|
|
@@ -10902,7 +10901,7 @@ export {
|
|
|
10902
10901
|
D1 as Popover,
|
|
10903
10902
|
oi as PopoverContent,
|
|
10904
10903
|
z1 as PopoverTrigger,
|
|
10905
|
-
|
|
10904
|
+
$d as ResourceBadge,
|
|
10906
10905
|
gh as SUPPORTED_LOCALES,
|
|
10907
10906
|
ah as SearchPopover,
|
|
10908
10907
|
Mi as Switch,
|