reykit 1.0.103 → 1.0.105
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.d.ts +1 -0
- package/dist/index.js +695 -691
- package/package.json +1 -1
- package/dist/src/base.d.ts +0 -15
- package/dist/src/components/Breadcrumb.d.ts +0 -18
- package/dist/src/components/Button.d.ts +0 -15
- package/dist/src/components/Form.d.ts +0 -11
- package/dist/src/components/Loading/Loading.d.ts +0 -15
- package/dist/src/components/Loading/uesLoading.d.ts +0 -19
- package/dist/src/components/Notice.d.ts +0 -11
- package/dist/src/components/Toggle.d.ts +0 -23
- package/dist/src/components/index.d.ts +0 -13
- package/dist/src/data.d.ts +0 -10
- package/dist/src/index.d.ts +0 -20
- package/dist/src/net.d.ts +0 -32
- package/dist/src/re.d.ts +0 -11
- package/dist/src/react.d.ts +0 -45
- package/dist/src/twc.d.ts +0 -8
- package/dist/src/window.d.ts +0 -67
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as I from "react";
|
|
2
|
-
import wd, { createElement as $2, Fragment as
|
|
3
|
-
import { useLocation as
|
|
4
|
-
import { ChevronRightIcon as
|
|
5
|
-
import { clsx as
|
|
6
|
-
import { twMerge as
|
|
2
|
+
import wd, { createElement as $2, Fragment as sD, useState as ab, useEffect as fD, createContext as rD, useContext as dD, useLayoutEffect as hD } from "react";
|
|
3
|
+
import { useLocation as mD, useNavigate as pD } from "react-router-dom";
|
|
4
|
+
import { ChevronRightIcon as gD, Loader2Icon as NO, OctagonXIcon as yD, TriangleAlertIcon as vD, InfoIcon as SD, CircleCheckIcon as bD } from "lucide-react";
|
|
5
|
+
import { clsx as ED } from "clsx";
|
|
6
|
+
import { twMerge as TD } from "tailwind-merge";
|
|
7
7
|
import * as Bd from "react-dom";
|
|
8
8
|
import wO from "react-dom";
|
|
9
|
-
import { useTheme as
|
|
10
|
-
import { Toaster as
|
|
9
|
+
import { useTheme as OD } from "next-themes";
|
|
10
|
+
import { Toaster as AD, toast as RD } from "sonner";
|
|
11
11
|
var NS = { exports: {} }, Py = {};
|
|
12
12
|
var k2;
|
|
13
|
-
function
|
|
13
|
+
function DD() {
|
|
14
14
|
if (k2) return Py;
|
|
15
15
|
k2 = 1;
|
|
16
16
|
var f = /* @__PURE__ */ Symbol.for("react.transitional.element"), d = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
@@ -33,7 +33,7 @@ function RD() {
|
|
|
33
33
|
}
|
|
34
34
|
var e0 = {};
|
|
35
35
|
var F2;
|
|
36
|
-
function
|
|
36
|
+
function CD() {
|
|
37
37
|
return F2 || (F2 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
38
38
|
function f($) {
|
|
39
39
|
if ($ == null) return null;
|
|
@@ -264,10 +264,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
})()), e0;
|
|
265
265
|
}
|
|
266
266
|
var W2;
|
|
267
|
-
function
|
|
268
|
-
return W2 || (W2 = 1, process.env.NODE_ENV === "production" ? NS.exports =
|
|
267
|
+
function zD() {
|
|
268
|
+
return W2 || (W2 = 1, process.env.NODE_ENV === "production" ? NS.exports = DD() : NS.exports = CD()), NS.exports;
|
|
269
269
|
}
|
|
270
|
-
var Xe =
|
|
270
|
+
var Xe = zD();
|
|
271
271
|
function eE(f, d) {
|
|
272
272
|
if (f && !d)
|
|
273
273
|
return f;
|
|
@@ -286,7 +286,7 @@ function ep(f, d, p, g, v) {
|
|
|
286
286
|
let E = $S(f);
|
|
287
287
|
return d && (E = tE(E, d)), p && (E = tE(E, p)), E;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function MD(f) {
|
|
290
290
|
if (f.length === 0)
|
|
291
291
|
return dE;
|
|
292
292
|
if (f.length === 1)
|
|
@@ -299,12 +299,12 @@ function zD(f) {
|
|
|
299
299
|
function $S(f) {
|
|
300
300
|
return hE(f) ? {
|
|
301
301
|
...jO(f, dE)
|
|
302
|
-
} :
|
|
302
|
+
} : xD(f);
|
|
303
303
|
}
|
|
304
304
|
function tE(f, d) {
|
|
305
|
-
return hE(d) ? jO(d, f) :
|
|
305
|
+
return hE(d) ? jO(d, f) : _D(f, d);
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function xD(f) {
|
|
308
308
|
const d = {
|
|
309
309
|
...f
|
|
310
310
|
};
|
|
@@ -314,7 +314,7 @@ function MD(f) {
|
|
|
314
314
|
}
|
|
315
315
|
return d;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function _D(f, d) {
|
|
318
318
|
if (!d)
|
|
319
319
|
return f;
|
|
320
320
|
for (const p in d) {
|
|
@@ -329,7 +329,7 @@ function xD(f, d) {
|
|
|
329
329
|
break;
|
|
330
330
|
}
|
|
331
331
|
default:
|
|
332
|
-
BO(p, g) ? f[p] =
|
|
332
|
+
BO(p, g) ? f[p] = UD(f[p], g) : f[p] = g;
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
return f;
|
|
@@ -344,7 +344,7 @@ function hE(f) {
|
|
|
344
344
|
function jO(f, d) {
|
|
345
345
|
return hE(f) ? f(d) : f ?? dE;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function UD(f, d) {
|
|
348
348
|
return d ? f ? (...p) => {
|
|
349
349
|
const g = p[0];
|
|
350
350
|
if (LO(g)) {
|
|
@@ -374,24 +374,24 @@ function VO(f, d) {
|
|
|
374
374
|
function LO(f) {
|
|
375
375
|
return f != null && typeof f == "object" && "nativeEvent" in f;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function HD(f, d) {
|
|
378
378
|
return function(g, ...v) {
|
|
379
379
|
const E = new URL(f);
|
|
380
380
|
return E.searchParams.set("code", g.toString()), v.forEach((R) => E.searchParams.append("args[]", R)), `${d} error #${g}; visit ${E} for the full message.`;
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
const ap =
|
|
383
|
+
const ap = HD("https://base-ui.com/production-error", "Base UI"), I2 = {};
|
|
384
384
|
function rs(f, d) {
|
|
385
385
|
const p = I.useRef(I2);
|
|
386
386
|
return p.current === I2 && (p.current = f(d)), p;
|
|
387
387
|
}
|
|
388
388
|
function P2(f, d, p, g) {
|
|
389
389
|
const v = rs(GO).current;
|
|
390
|
-
return
|
|
390
|
+
return wD(v, f, d, p, g) && XO(v, [f, d, p, g]), v.callback;
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function ND(f) {
|
|
393
393
|
const d = rs(GO).current;
|
|
394
|
-
return
|
|
394
|
+
return BD(d, f) && XO(d, f), d.callback;
|
|
395
395
|
}
|
|
396
396
|
function GO() {
|
|
397
397
|
return {
|
|
@@ -400,10 +400,10 @@ function GO() {
|
|
|
400
400
|
refs: []
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function wD(f, d, p, g, v) {
|
|
404
404
|
return f.refs[0] !== d || f.refs[1] !== p || f.refs[2] !== g || f.refs[3] !== v;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function BD(f, d) {
|
|
407
407
|
return f.refs.length !== d.length || f.refs.some((p, g) => p !== d[g]);
|
|
408
408
|
}
|
|
409
409
|
function XO(f, d) {
|
|
@@ -449,9 +449,9 @@ function XO(f, d) {
|
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
|
-
const
|
|
452
|
+
const jD = parseInt(I.version, 10);
|
|
453
453
|
function QO(f) {
|
|
454
|
-
return
|
|
454
|
+
return jD >= f;
|
|
455
455
|
}
|
|
456
456
|
function eO(f) {
|
|
457
457
|
if (!/* @__PURE__ */ I.isValidElement(f))
|
|
@@ -461,16 +461,16 @@ function eO(f) {
|
|
|
461
461
|
}
|
|
462
462
|
let nE;
|
|
463
463
|
process.env.NODE_ENV !== "production" && (nE = /* @__PURE__ */ new Set());
|
|
464
|
-
function
|
|
464
|
+
function YD(...f) {
|
|
465
465
|
if (process.env.NODE_ENV !== "production") {
|
|
466
466
|
const d = f.join(" ");
|
|
467
467
|
nE.has(d) || (nE.add(d), console.warn(`Base UI: ${d}`));
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function qD() {
|
|
471
471
|
}
|
|
472
472
|
const Wa = Object.freeze({});
|
|
473
|
-
function
|
|
473
|
+
function VD(f, d) {
|
|
474
474
|
const p = {};
|
|
475
475
|
for (const g in f) {
|
|
476
476
|
const v = f[g];
|
|
@@ -483,20 +483,20 @@ function qD(f, d) {
|
|
|
483
483
|
}
|
|
484
484
|
return p;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function LD(f, d) {
|
|
487
487
|
return typeof f == "function" ? f(d) : f;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function GD(f, d) {
|
|
490
490
|
return typeof f == "function" ? f(d) : f;
|
|
491
491
|
}
|
|
492
492
|
function up(f, d, p = {}) {
|
|
493
|
-
const g = d.render, v =
|
|
493
|
+
const g = d.render, v = XD(d, p);
|
|
494
494
|
if (p.enabled === !1)
|
|
495
495
|
return null;
|
|
496
496
|
const E = p.state ?? Wa;
|
|
497
|
-
return
|
|
497
|
+
return $D(f, g, v, E);
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function XD(f, d = {}) {
|
|
500
500
|
const {
|
|
501
501
|
className: p,
|
|
502
502
|
style: g,
|
|
@@ -507,34 +507,34 @@ function GD(f, d = {}) {
|
|
|
507
507
|
props: O,
|
|
508
508
|
stateAttributesMapping: L,
|
|
509
509
|
enabled: V = !0
|
|
510
|
-
} = d, D = V ?
|
|
511
|
-
return typeof document < "u" && (V ? Array.isArray(R) ? C.ref =
|
|
510
|
+
} = d, D = V ? LD(p, E) : void 0, _ = V ? GD(g, E) : void 0, N = V ? VD(E, L) : Wa, w = V && O ? QD(O) : void 0, C = V ? eE(N, w) ?? {} : Wa;
|
|
511
|
+
return typeof document < "u" && (V ? Array.isArray(R) ? C.ref = ND([C.ref, eO(v), ...R]) : C.ref = P2(C.ref, eO(v), R) : P2(null, null)), V ? (D !== void 0 && (C.className = VO(C.className, D)), _ !== void 0 && (C.style = eE(C.style, _)), C) : Wa;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
514
|
-
return Array.isArray(f) ?
|
|
513
|
+
function QD(f) {
|
|
514
|
+
return Array.isArray(f) ? MD(f) : ep(void 0, f);
|
|
515
515
|
}
|
|
516
|
-
const
|
|
517
|
-
function
|
|
516
|
+
const ZD = /* @__PURE__ */ Symbol.for("react.lazy"), JD = /^[A-Z][A-Za-z0-9$]*$/, KD = /[a-z]/;
|
|
517
|
+
function $D(f, d, p, g) {
|
|
518
518
|
if (d) {
|
|
519
519
|
if (typeof d == "function")
|
|
520
|
-
return process.env.NODE_ENV !== "production" &&
|
|
520
|
+
return process.env.NODE_ENV !== "production" && kD(d), d(p, g);
|
|
521
521
|
const v = ep(p, d.props);
|
|
522
522
|
v.ref = p.ref;
|
|
523
523
|
let E = d;
|
|
524
|
-
if (E?.$$typeof ===
|
|
524
|
+
if (E?.$$typeof === ZD && (E = I.Children.toArray(d)[0]), process.env.NODE_ENV !== "production" && !/* @__PURE__ */ I.isValidElement(E))
|
|
525
525
|
throw new Error(["Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.", "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.", "https://base-ui.com/r/invalid-render-prop"].join(`
|
|
526
526
|
`));
|
|
527
527
|
return /* @__PURE__ */ I.cloneElement(E, v);
|
|
528
528
|
}
|
|
529
529
|
if (f && typeof f == "string")
|
|
530
|
-
return
|
|
530
|
+
return FD(f, p);
|
|
531
531
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: Render element or function are not defined." : ap(8));
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function kD(f) {
|
|
534
534
|
const d = f.name;
|
|
535
|
-
d.length !== 0 &&
|
|
535
|
+
d.length !== 0 && JD.test(d) && KD.test(d) && YD(`The \`render\` prop received a function named \`${d}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function FD(f, d) {
|
|
538
538
|
return f === "button" ? /* @__PURE__ */ $2("button", {
|
|
539
539
|
type: "button",
|
|
540
540
|
...d,
|
|
@@ -545,26 +545,26 @@ function kD(f, d) {
|
|
|
545
545
|
key: d.key
|
|
546
546
|
}) : /* @__PURE__ */ I.createElement(f, d);
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function WD(f) {
|
|
549
549
|
return up(f.defaultTagName ?? "div", f, f);
|
|
550
550
|
}
|
|
551
551
|
function Di(...f) {
|
|
552
|
-
return ED(
|
|
552
|
+
return TD(ED(f));
|
|
553
553
|
}
|
|
554
|
-
const
|
|
554
|
+
const ID = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
555
555
|
__proto__: null,
|
|
556
556
|
cn: Di
|
|
557
557
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
558
|
-
function
|
|
559
|
-
const { pathname: d } =
|
|
560
|
-
return /* @__PURE__ */ Xe.jsx(
|
|
561
|
-
(g, v) => /* @__PURE__ */ Xe.jsxs(
|
|
562
|
-
/* @__PURE__ */ Xe.jsx(
|
|
563
|
-
v < p.length - 1 && /* @__PURE__ */ Xe.jsx(
|
|
558
|
+
function PD({ dict: f }) {
|
|
559
|
+
const { pathname: d } = mD(), p = f[d] || [];
|
|
560
|
+
return /* @__PURE__ */ Xe.jsx(eC, { children: /* @__PURE__ */ Xe.jsx(tC, { children: p.map(
|
|
561
|
+
(g, v) => /* @__PURE__ */ Xe.jsxs(sD, { children: [
|
|
562
|
+
/* @__PURE__ */ Xe.jsx(nC, { children: g.href ? /* @__PURE__ */ Xe.jsx(lC, { href: g.href, children: g.label }) : /* @__PURE__ */ Xe.jsx(aC, { children: g.label }) }),
|
|
563
|
+
v < p.length - 1 && /* @__PURE__ */ Xe.jsx(uC, { className: "-mx-1 md:mx-0" })
|
|
564
564
|
] }, v)
|
|
565
565
|
) }) });
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function eC({ className: f, ...d }) {
|
|
568
568
|
return /* @__PURE__ */ Xe.jsx(
|
|
569
569
|
"nav",
|
|
570
570
|
{
|
|
@@ -575,7 +575,7 @@ function PD({ className: f, ...d }) {
|
|
|
575
575
|
}
|
|
576
576
|
);
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function tC({ className: f, ...d }) {
|
|
579
579
|
return /* @__PURE__ */ Xe.jsx(
|
|
580
580
|
"ol",
|
|
581
581
|
{
|
|
@@ -588,7 +588,7 @@ function eC({ className: f, ...d }) {
|
|
|
588
588
|
}
|
|
589
589
|
);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function nC({ className: f, ...d }) {
|
|
592
592
|
return /* @__PURE__ */ Xe.jsx(
|
|
593
593
|
"li",
|
|
594
594
|
{
|
|
@@ -598,12 +598,12 @@ function tC({ className: f, ...d }) {
|
|
|
598
598
|
}
|
|
599
599
|
);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function lC({
|
|
602
602
|
className: f,
|
|
603
603
|
render: d,
|
|
604
604
|
...p
|
|
605
605
|
}) {
|
|
606
|
-
return
|
|
606
|
+
return WD({
|
|
607
607
|
defaultTagName: "a",
|
|
608
608
|
props: ep(
|
|
609
609
|
{
|
|
@@ -617,7 +617,7 @@ function nC({
|
|
|
617
617
|
}
|
|
618
618
|
});
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function aC({ className: f, ...d }) {
|
|
621
621
|
return /* @__PURE__ */ Xe.jsx(
|
|
622
622
|
"span",
|
|
623
623
|
{
|
|
@@ -630,7 +630,7 @@ function lC({ className: f, ...d }) {
|
|
|
630
630
|
}
|
|
631
631
|
);
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function uC({
|
|
634
634
|
children: f,
|
|
635
635
|
className: d,
|
|
636
636
|
...p
|
|
@@ -643,13 +643,13 @@ function aC({
|
|
|
643
643
|
"aria-hidden": "true",
|
|
644
644
|
className: Di("[&>svg]:size-3.5", d),
|
|
645
645
|
...p,
|
|
646
|
-
children: f ?? /* @__PURE__ */ Xe.jsx(
|
|
646
|
+
children: f ?? /* @__PURE__ */ Xe.jsx(gD, {})
|
|
647
647
|
}
|
|
648
648
|
);
|
|
649
649
|
}
|
|
650
650
|
var wS = { exports: {} }, t0 = {}, BS = { exports: {} }, Y1 = {};
|
|
651
651
|
var tO;
|
|
652
|
-
function
|
|
652
|
+
function iC() {
|
|
653
653
|
return tO || (tO = 1, (function(f) {
|
|
654
654
|
function d(z, Z) {
|
|
655
655
|
var K = z.length;
|
|
@@ -870,7 +870,7 @@ function uC() {
|
|
|
870
870
|
}
|
|
871
871
|
var q1 = {};
|
|
872
872
|
var nO;
|
|
873
|
-
function
|
|
873
|
+
function oC() {
|
|
874
874
|
return nO || (nO = 1, (function(f) {
|
|
875
875
|
process.env.NODE_ENV !== "production" && (function() {
|
|
876
876
|
function d() {
|
|
@@ -1094,10 +1094,10 @@ function iC() {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
var lO;
|
|
1096
1096
|
function ZO() {
|
|
1097
|
-
return lO || (lO = 1, process.env.NODE_ENV === "production" ? BS.exports =
|
|
1097
|
+
return lO || (lO = 1, process.env.NODE_ENV === "production" ? BS.exports = iC() : BS.exports = oC()), BS.exports;
|
|
1098
1098
|
}
|
|
1099
1099
|
var aO;
|
|
1100
|
-
function
|
|
1100
|
+
function cC() {
|
|
1101
1101
|
if (aO) return t0;
|
|
1102
1102
|
aO = 1;
|
|
1103
1103
|
var f = ZO(), d = wd, p = wO;
|
|
@@ -10835,7 +10835,7 @@ Error generating stack: ` + o.message + `
|
|
|
10835
10835
|
}
|
|
10836
10836
|
var n0 = {};
|
|
10837
10837
|
var uO;
|
|
10838
|
-
function
|
|
10838
|
+
function sC() {
|
|
10839
10839
|
return uO || (uO = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
10840
10840
|
function f(e, t) {
|
|
10841
10841
|
for (e = e.memoizedState; e !== null && 0 < t; )
|
|
@@ -12677,7 +12677,7 @@ This will cause a hydration error.%s`,
|
|
|
12677
12677
|
function p0(e, t) {
|
|
12678
12678
|
if (Da.call(Om, t) && Om[t])
|
|
12679
12679
|
return !0;
|
|
12680
|
-
if (
|
|
12680
|
+
if (GA.test(t)) {
|
|
12681
12681
|
if (e = "aria-" + t.slice(4).toLowerCase(), e = jv.hasOwnProperty(e) ? e : null, e == null)
|
|
12682
12682
|
return console.error(
|
|
12683
12683
|
"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",
|
|
@@ -12690,7 +12690,7 @@ This will cause a hydration error.%s`,
|
|
|
12690
12690
|
e
|
|
12691
12691
|
), Om[t] = !0;
|
|
12692
12692
|
}
|
|
12693
|
-
if (
|
|
12693
|
+
if (LA.test(t)) {
|
|
12694
12694
|
if (e = t.toLowerCase(), e = jv.hasOwnProperty(e) ? e : null, e == null) return Om[t] = !0, !1;
|
|
12695
12695
|
t !== e && (console.error(
|
|
12696
12696
|
"Unknown ARIA attribute `%s`. Did you mean `%s`?",
|
|
@@ -12741,11 +12741,11 @@ This will cause a hydration error.%s`,
|
|
|
12741
12741
|
t
|
|
12742
12742
|
), Ca[t] = !0;
|
|
12743
12743
|
} else if (qE.test(t))
|
|
12744
|
-
return
|
|
12744
|
+
return XA.test(t) && console.error(
|
|
12745
12745
|
"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",
|
|
12746
12746
|
t
|
|
12747
12747
|
), Ca[t] = !0;
|
|
12748
|
-
if (
|
|
12748
|
+
if (QA.test(t) || ZA.test(t)) return !0;
|
|
12749
12749
|
if (c === "innerhtml")
|
|
12750
12750
|
return console.error(
|
|
12751
12751
|
"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."
|
|
@@ -12919,7 +12919,7 @@ This will cause a hydration error.%s`,
|
|
|
12919
12919
|
);
|
|
12920
12920
|
}
|
|
12921
12921
|
function If(e) {
|
|
12922
|
-
return
|
|
12922
|
+
return JA.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
|
|
12923
12923
|
}
|
|
12924
12924
|
function Na() {
|
|
12925
12925
|
}
|
|
@@ -13062,7 +13062,7 @@ This will cause a hydration error.%s`,
|
|
|
13062
13062
|
}
|
|
13063
13063
|
function Mi(e) {
|
|
13064
13064
|
var t = this.nativeEvent;
|
|
13065
|
-
return t.getModifierState ? t.getModifierState(e) : (e =
|
|
13065
|
+
return t.getModifierState ? t.getModifierState(e) : (e = uR[e]) ? !!t[e] : !1;
|
|
13066
13066
|
}
|
|
13067
13067
|
function er() {
|
|
13068
13068
|
return Mi;
|
|
@@ -13070,7 +13070,7 @@ This will cause a hydration error.%s`,
|
|
|
13070
13070
|
function Ss(e, t) {
|
|
13071
13071
|
switch (e) {
|
|
13072
13072
|
case "keyup":
|
|
13073
|
-
return
|
|
13073
|
+
return yR.indexOf(t.keyCode) !== -1;
|
|
13074
13074
|
case "keydown":
|
|
13075
13075
|
return t.keyCode !== XE;
|
|
13076
13076
|
case "keypress":
|
|
@@ -13118,7 +13118,7 @@ This will cause a hydration error.%s`,
|
|
|
13118
13118
|
}
|
|
13119
13119
|
function pp(e) {
|
|
13120
13120
|
var t = e && e.nodeName && e.nodeName.toLowerCase();
|
|
13121
|
-
return t === "input" ? !!
|
|
13121
|
+
return t === "input" ? !!SR[e.type] : t === "textarea";
|
|
13122
13122
|
}
|
|
13123
13123
|
function Kd(e) {
|
|
13124
13124
|
if (!Go) return !1;
|
|
@@ -13388,7 +13388,7 @@ This will cause a hydration error.%s`,
|
|
|
13388
13388
|
t = t.name === "" ? "() => {}" : t.name + "() {}";
|
|
13389
13389
|
break;
|
|
13390
13390
|
case "string":
|
|
13391
|
-
t = t ===
|
|
13391
|
+
t = t === DR ? "…" : JSON.stringify(t);
|
|
13392
13392
|
break;
|
|
13393
13393
|
case "undefined":
|
|
13394
13394
|
t = "undefined";
|
|
@@ -13489,12 +13489,12 @@ This will cause a hydration error.%s`,
|
|
|
13489
13489
|
y -= b.actualDuration;
|
|
13490
13490
|
i = 0.5 > y ? i ? "tertiary-light" : "primary-light" : 10 > y ? i ? "tertiary" : "primary" : 100 > y ? i ? "tertiary-dark" : "primary-dark" : "error";
|
|
13491
13491
|
var T = e.memoizedProps;
|
|
13492
|
-
y = e._debugTask, T !== null && m !== null && m.memoizedProps !== T ? (b = [
|
|
13492
|
+
y = e._debugTask, T !== null && m !== null && m.memoizedProps !== T ? (b = [CR], T = O0(
|
|
13493
13493
|
m.memoizedProps,
|
|
13494
13494
|
T,
|
|
13495
13495
|
b,
|
|
13496
13496
|
0
|
|
13497
|
-
), 1 < b.length && (T && !Tf && (m.lanes & c) === 0 && 100 < e.actualDuration ? (Tf = !0, b[0] =
|
|
13497
|
+
), 1 < b.length && (T && !Tf && (m.lanes & c) === 0 && 100 < e.actualDuration ? (Tf = !0, b[0] = zR, Qc.color = "warning", Qc.tooltipText = aT) : (Qc.color = i, Qc.tooltipText = s), Qc.properties = b, Of.start = t, Of.end = l, y != null ? y.run(
|
|
13498
13498
|
performance.measure.bind(
|
|
13499
13499
|
performance,
|
|
13500
13500
|
"" + s,
|
|
@@ -13804,11 +13804,11 @@ This will cause a hydration error.%s`,
|
|
|
13804
13804
|
return e.tag === 3 ? (s = e.stateNode, c && t !== null && (c = 31 - gl(l), e = s.hiddenUpdates, i = e[c], i === null ? e[c] = [t] : i.push(t), t.lane = l | 536870912), s) : null;
|
|
13805
13805
|
}
|
|
13806
13806
|
function ar(e) {
|
|
13807
|
-
if (Xy >
|
|
13807
|
+
if (Xy > QR)
|
|
13808
13808
|
throw Dd = Xy = 0, Qy = T1 = null, Error(
|
|
13809
13809
|
"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."
|
|
13810
13810
|
);
|
|
13811
|
-
Dd >
|
|
13811
|
+
Dd > ZR && (Dd = 0, Qy = null, console.error(
|
|
13812
13812
|
"Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."
|
|
13813
13813
|
)), e.alternate === null && (e.flags & 4098) !== 0 && Qa(e);
|
|
13814
13814
|
for (var t = e, l = t.return; l !== null; )
|
|
@@ -14391,7 +14391,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
14391
14391
|
}
|
|
14392
14392
|
function ah() {
|
|
14393
14393
|
return {
|
|
14394
|
-
controller: new
|
|
14394
|
+
controller: new _R(),
|
|
14395
14395
|
data: /* @__PURE__ */ new Map(),
|
|
14396
14396
|
refCount: 0
|
|
14397
14397
|
};
|
|
@@ -14404,7 +14404,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
14404
14404
|
function cr(e) {
|
|
14405
14405
|
e.refCount--, 0 > e.refCount && console.warn(
|
|
14406
14406
|
"A cache instance was released after it was already freed. This likely indicates a bug in React."
|
|
14407
|
-
), e.refCount === 0 &&
|
|
14407
|
+
), e.refCount === 0 && UR(HR, function() {
|
|
14408
14408
|
e.controller.abort();
|
|
14409
14409
|
});
|
|
14410
14410
|
}
|
|
@@ -14601,7 +14601,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
14601
14601
|
}
|
|
14602
14602
|
function pa(e) {
|
|
14603
14603
|
try {
|
|
14604
|
-
return
|
|
14604
|
+
return YR(e);
|
|
14605
14605
|
} catch (t) {
|
|
14606
14606
|
throw t !== null && typeof t == "object" && typeof t.then == "function" ? (Sd = t, xy = !0, jm) : t;
|
|
14607
14607
|
}
|
|
@@ -15067,8 +15067,8 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
15067
15067
|
U,
|
|
15068
15068
|
Ne
|
|
15069
15069
|
), Fe === null ? De = lt : Fe.sibling = lt, Fe = lt);
|
|
15070
|
-
return e && Ye.forEach(function(
|
|
15071
|
-
return t(M,
|
|
15070
|
+
return e && Ye.forEach(function(cD) {
|
|
15071
|
+
return t(M, cD);
|
|
15072
15072
|
}), pt && iu(M, Ne), De;
|
|
15073
15073
|
}
|
|
15074
15074
|
function yt(M, U, B, oe) {
|
|
@@ -15612,7 +15612,7 @@ Incoming: %s`,
|
|
|
15612
15612
|
ke = e;
|
|
15613
15613
|
var c = 0;
|
|
15614
15614
|
do {
|
|
15615
|
-
if (Gm && (Pc = null), Hy = 0, Gm = !1, c >=
|
|
15615
|
+
if (Gm && (Pc = null), Hy = 0, Gm = !1, c >= VR)
|
|
15616
15616
|
throw Error(
|
|
15617
15617
|
"Too many re-renders. React limits the number of renders to prevent an infinite loop."
|
|
15618
15618
|
);
|
|
@@ -16477,7 +16477,7 @@ Incoming: %s`,
|
|
|
16477
16477
|
var l = Kc, i = Jc;
|
|
16478
16478
|
l = (i & ~(1 << 32 - gl(i) - 1)).toString(32) + l, t = "_" + t + "R_" + l, l = uS++, 0 < l && (t += "H" + l.toString(32)), t += "_";
|
|
16479
16479
|
} else
|
|
16480
|
-
l =
|
|
16480
|
+
l = qR++, t = "_" + t + "r_" + l.toString(32) + "_";
|
|
16481
16481
|
return e.memoizedState = t;
|
|
16482
16482
|
}
|
|
16483
16483
|
function gh() {
|
|
@@ -16704,7 +16704,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16704
16704
|
N2,
|
|
16705
16705
|
xS + i + xS,
|
|
16706
16706
|
w2
|
|
16707
|
-
), e.unshift(console), i =
|
|
16707
|
+
), e.unshift(console), i = iD.apply(console.error, e), i();
|
|
16708
16708
|
} else
|
|
16709
16709
|
console.error(
|
|
16710
16710
|
`%o
|
|
@@ -16783,7 +16783,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16783
16783
|
t,
|
|
16784
16784
|
l,
|
|
16785
16785
|
i
|
|
16786
|
-
), typeof c != "function" && (wf === null ? wf = /* @__PURE__ */ new Set([this]) : wf.add(this)),
|
|
16786
|
+
), typeof c != "function" && (wf === null ? wf = /* @__PURE__ */ new Set([this]) : wf.add(this)), wR(this, i), typeof c == "function" || (l.lanes & 2) === 0 && console.error(
|
|
16787
16787
|
"%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",
|
|
16788
16788
|
ce(l) || "Unknown"
|
|
16789
16789
|
);
|
|
@@ -18196,7 +18196,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
18196
18196
|
e.flags |= 4;
|
|
18197
18197
|
}
|
|
18198
18198
|
function Mh(e, t, l, i, c) {
|
|
18199
|
-
if ((t = (e.mode &
|
|
18199
|
+
if ((t = (e.mode & xR) !== Je) && (t = !1), t) {
|
|
18200
18200
|
if (e.flags |= 16777216, (c & 335544128) === c)
|
|
18201
18201
|
if (e.stateNode.complete) e.flags |= 8192;
|
|
18202
18202
|
else if (Eg()) e.flags |= 8192;
|
|
@@ -18655,7 +18655,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
18655
18655
|
do {
|
|
18656
18656
|
if ((l.tag & e) === e && (i = void 0, (e & xa) !== lS && (km = !0), i = Ae(
|
|
18657
18657
|
t,
|
|
18658
|
-
|
|
18658
|
+
BR,
|
|
18659
18659
|
l
|
|
18660
18660
|
), (e & xa) !== lS && (km = !1), i !== void 0 && typeof i != "function")) {
|
|
18661
18661
|
var s = void 0;
|
|
@@ -18705,7 +18705,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18705
18705
|
var m = i.inst, y = m.destroy;
|
|
18706
18706
|
y !== void 0 && (m.destroy = void 0, (e & xa) !== lS && (km = !0), c = t, Ae(
|
|
18707
18707
|
c,
|
|
18708
|
-
|
|
18708
|
+
jR,
|
|
18709
18709
|
c,
|
|
18710
18710
|
l,
|
|
18711
18711
|
y
|
|
@@ -20584,7 +20584,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20584
20584
|
}
|
|
20585
20585
|
}
|
|
20586
20586
|
function Sg() {
|
|
20587
|
-
|
|
20587
|
+
GR.forEach(function(e) {
|
|
20588
20588
|
return e();
|
|
20589
20589
|
});
|
|
20590
20590
|
}
|
|
@@ -21149,7 +21149,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21149
21149
|
c,
|
|
21150
21150
|
l
|
|
21151
21151
|
)
|
|
21152
|
-
) : performance.measure(c, l))), Si = Wc = -1.1, Fb = 0, kv = -1.1, Mf = zf, zf = -1.1, Fc = ol()), (t & 62914560) !== 0 && (Fv & 62914560) !== 0 && (au(4194304), Tp(fT, Cl)), (t & 2080374784) !== 0 && (Fv & 2080374784) !== 0 && (au(268435456), Tp(rT, Cl)), l = e.timeoutHandle, l !== xd && (e.timeoutHandle = xd,
|
|
21152
|
+
) : performance.measure(c, l))), Si = Wc = -1.1, Fb = 0, kv = -1.1, Mf = zf, zf = -1.1, Fc = ol()), (t & 62914560) !== 0 && (Fv & 62914560) !== 0 && (au(4194304), Tp(fT, Cl)), (t & 2080374784) !== 0 && (Fv & 2080374784) !== 0 && (au(268435456), Tp(rT, Cl)), l = e.timeoutHandle, l !== xd && (e.timeoutHandle = xd, tD(l)), l = e.cancelPendingCommit, l !== null && (e.cancelPendingCommit = null, l()), to = 0, Vh(), $t = e, st = l = Lu(
|
|
21153
21153
|
e.current,
|
|
21154
21154
|
null
|
|
21155
21155
|
), ot = t, Xt = $a, Mu = null, Uf = !1, Km = yn(e, t), p1 = !1, On = ns, Rd = ka = g1 = Nf = Hf = 0, Ua = Ly = null, dS = !1, (t & 8) !== 0 && (t |= t & 32), i = e.entangledLanes, i !== 0)
|
|
@@ -21175,7 +21175,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21175
21175
|
}
|
|
21176
21176
|
function Tg() {
|
|
21177
21177
|
var e = le.A;
|
|
21178
|
-
return le.A =
|
|
21178
|
+
return le.A = LR, e;
|
|
21179
21179
|
}
|
|
21180
21180
|
function Zs(e) {
|
|
21181
21181
|
qn === null && (qn = e._debugTask == null ? null : e._debugTask);
|
|
@@ -21763,7 +21763,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21763
21763
|
Tp(
|
|
21764
21764
|
$c,
|
|
21765
21765
|
y,
|
|
21766
|
-
|
|
21766
|
+
NR
|
|
21767
21767
|
);
|
|
21768
21768
|
else {
|
|
21769
21769
|
var b = $c, T = y, j = no === v1;
|
|
@@ -21879,7 +21879,7 @@ Error message:
|
|
|
21879
21879
|
function Xh(e, t, l) {
|
|
21880
21880
|
var i = e.pingCache;
|
|
21881
21881
|
if (i === null) {
|
|
21882
|
-
i = e.pingCache = new
|
|
21882
|
+
i = e.pingCache = new XR();
|
|
21883
21883
|
var c = /* @__PURE__ */ new Set();
|
|
21884
21884
|
i.set(t, c);
|
|
21885
21885
|
} else
|
|
@@ -21995,7 +21995,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21995
21995
|
}
|
|
21996
21996
|
function Fs(e, t) {
|
|
21997
21997
|
var l = le.actQueue;
|
|
21998
|
-
return l !== null ? (l.push(t),
|
|
21998
|
+
return l !== null ? (l.push(t), JR) : ny(e, t);
|
|
21999
21999
|
}
|
|
22000
22000
|
function Gr(e) {
|
|
22001
22001
|
bg() && le.actQueue === null && Ae(e, function() {
|
|
@@ -22115,7 +22115,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22115
22115
|
function P0() {
|
|
22116
22116
|
le.actQueue !== null && le.actQueue.push(function() {
|
|
22117
22117
|
return Jh(), null;
|
|
22118
|
-
}),
|
|
22118
|
+
}), nD(function() {
|
|
22119
22119
|
(Et & (Sl | zu)) !== Ml ? ny(
|
|
22120
22120
|
ly,
|
|
22121
22121
|
I0
|
|
@@ -22335,7 +22335,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22335
22335
|
if (Pf(l) === 0) break e;
|
|
22336
22336
|
case "keydown":
|
|
22337
22337
|
case "keyup":
|
|
22338
|
-
W =
|
|
22338
|
+
W = oR;
|
|
22339
22339
|
break;
|
|
22340
22340
|
case "focusin":
|
|
22341
22341
|
Re = "focus", W = Hb;
|
|
@@ -22367,33 +22367,33 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22367
22367
|
case "dragover":
|
|
22368
22368
|
case "dragstart":
|
|
22369
22369
|
case "drop":
|
|
22370
|
-
W =
|
|
22370
|
+
W = kA;
|
|
22371
22371
|
break;
|
|
22372
22372
|
case "touchcancel":
|
|
22373
22373
|
case "touchend":
|
|
22374
22374
|
case "touchmove":
|
|
22375
22375
|
case "touchstart":
|
|
22376
|
-
W =
|
|
22376
|
+
W = fR;
|
|
22377
22377
|
break;
|
|
22378
22378
|
case FE:
|
|
22379
22379
|
case WE:
|
|
22380
22380
|
case IE:
|
|
22381
|
-
W =
|
|
22381
|
+
W = IA;
|
|
22382
22382
|
break;
|
|
22383
22383
|
case PE:
|
|
22384
|
-
W =
|
|
22384
|
+
W = dR;
|
|
22385
22385
|
break;
|
|
22386
22386
|
case "scroll":
|
|
22387
22387
|
case "scrollend":
|
|
22388
|
-
W =
|
|
22388
|
+
W = KA;
|
|
22389
22389
|
break;
|
|
22390
22390
|
case "wheel":
|
|
22391
|
-
W =
|
|
22391
|
+
W = mR;
|
|
22392
22392
|
break;
|
|
22393
22393
|
case "copy":
|
|
22394
22394
|
case "cut":
|
|
22395
22395
|
case "paste":
|
|
22396
|
-
W =
|
|
22396
|
+
W = eR;
|
|
22397
22397
|
break;
|
|
22398
22398
|
case "gotpointercapture":
|
|
22399
22399
|
case "lostpointercapture":
|
|
@@ -22407,7 +22407,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22407
22407
|
break;
|
|
22408
22408
|
case "toggle":
|
|
22409
22409
|
case "beforetoggle":
|
|
22410
|
-
W =
|
|
22410
|
+
W = gR;
|
|
22411
22411
|
}
|
|
22412
22412
|
var ze = (t & 4) !== 0, tn = !ze && (e === "scroll" || e === "scrollend"), yt = ze ? x !== null ? x + "Capture" : null : x;
|
|
22413
22413
|
ze = [];
|
|
@@ -22530,7 +22530,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22530
22530
|
);
|
|
22531
22531
|
break;
|
|
22532
22532
|
case "selectionchange":
|
|
22533
|
-
if (
|
|
22533
|
+
if (bR) break;
|
|
22534
22534
|
case "keydown":
|
|
22535
22535
|
case "keyup":
|
|
22536
22536
|
E0(
|
|
@@ -22569,10 +22569,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22569
22569
|
), q.push({
|
|
22570
22570
|
event: Ne,
|
|
22571
22571
|
listeners: Fe
|
|
22572
|
-
}), Ye ? Ne.data = Ye : (Ye = xi(l), Ye !== null && (Ne.data = Ye)))), (Ye =
|
|
22572
|
+
}), Ye ? Ne.data = Ye : (Ye = xi(l), Ye !== null && (Ne.data = Ye)))), (Ye = vR ? mp(e, l) : Jd(e, l)) && (Ne = Su(
|
|
22573
22573
|
T,
|
|
22574
22574
|
"onBeforeInput"
|
|
22575
|
-
), 0 < Ne.length && (Fe = new
|
|
22575
|
+
), 0 < Ne.length && (Fe = new nR(
|
|
22576
22576
|
"onBeforeInput",
|
|
22577
22577
|
"beforeinput",
|
|
22578
22578
|
null,
|
|
@@ -22676,8 +22676,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22676
22676
|
return _t(e) && (console.error(
|
|
22677
22677
|
"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",
|
|
22678
22678
|
Yt(e)
|
|
22679
|
-
), kn(e)), (typeof e == "string" ? e : "" + e).replace(
|
|
22680
|
-
`).replace(
|
|
22679
|
+
), kn(e)), (typeof e == "string" ? e : "" + e).replace(KR, `
|
|
22680
|
+
`).replace($R, "");
|
|
22681
22681
|
}
|
|
22682
22682
|
function _g(e, t) {
|
|
22683
22683
|
return t = bu(t), bu(e) === t;
|
|
@@ -23836,7 +23836,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23836
23836
|
if (m = e.getAttribute(T), typeof b == "function") {
|
|
23837
23837
|
s.delete(T.toLowerCase()), T === "formAction" ? (s.delete("name"), s.delete("formenctype"), s.delete("formmethod"), s.delete("formtarget")) : (s.delete("enctype"), s.delete("method"), s.delete("target"));
|
|
23838
23838
|
continue;
|
|
23839
|
-
} else if (m ===
|
|
23839
|
+
} else if (m === kR) {
|
|
23840
23840
|
s.delete(T.toLowerCase()), hn(
|
|
23841
23841
|
T,
|
|
23842
23842
|
"function",
|
|
@@ -24316,18 +24316,18 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24316
24316
|
i--;
|
|
24317
24317
|
} else if (l === Jy || l === qf || l === Md || l === Wm || l === zd)
|
|
24318
24318
|
i++;
|
|
24319
|
-
else if (l ===
|
|
24319
|
+
else if (l === WR)
|
|
24320
24320
|
$i(
|
|
24321
24321
|
e.ownerDocument.documentElement
|
|
24322
24322
|
);
|
|
24323
|
-
else if (l ===
|
|
24323
|
+
else if (l === PR) {
|
|
24324
24324
|
l = e.ownerDocument.head, $i(l);
|
|
24325
24325
|
for (var s = l.firstChild; s; ) {
|
|
24326
24326
|
var m = s.nextSibling, y = s.nodeName;
|
|
24327
24327
|
s[vf] || y === "SCRIPT" || y === "STYLE" || y === "LINK" && s.rel.toLowerCase() === "stylesheet" || l.removeChild(s), s = m;
|
|
24328
24328
|
}
|
|
24329
24329
|
} else
|
|
24330
|
-
l ===
|
|
24330
|
+
l === IR && $i(e.ownerDocument.body);
|
|
24331
24331
|
l = c;
|
|
24332
24332
|
} while (l);
|
|
24333
24333
|
Yc(t);
|
|
@@ -24359,7 +24359,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24359
24359
|
Kr(e, !1);
|
|
24360
24360
|
}
|
|
24361
24361
|
function hv(e, t) {
|
|
24362
|
-
t = t[
|
|
24362
|
+
t = t[eD], t = t != null && t.hasOwnProperty("display") ? t.display : null, e.style.display = t == null || typeof t == "boolean" ? "" : ("" + t).trim();
|
|
24363
24363
|
}
|
|
24364
24364
|
function mv(e, t) {
|
|
24365
24365
|
e.nodeValue = t;
|
|
@@ -24475,7 +24475,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24475
24475
|
return e.nodeType === 8 ? e.data === zd ? { type: "Activity", props: {} } : { type: "Suspense", props: {} } : e.nodeValue;
|
|
24476
24476
|
}
|
|
24477
24477
|
function Sv(e, t, l) {
|
|
24478
|
-
return l === null || l[
|
|
24478
|
+
return l === null || l[FR] !== !0 ? (e.nodeValue === t ? e = null : (t = bu(t), e = bu(e.nodeValue) === t ? null : e.nodeValue), e) : null;
|
|
24479
24479
|
}
|
|
24480
24480
|
function lf(e) {
|
|
24481
24481
|
e = e.nextSibling;
|
|
@@ -24864,8 +24864,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24864
24864
|
var s = e.unsuspend;
|
|
24865
24865
|
e.unsuspend = null, s();
|
|
24866
24866
|
}
|
|
24867
|
-
},
|
|
24868
|
-
0 < e.imgBytes && w1 === 0 && (w1 = 125 * tv() *
|
|
24867
|
+
}, lD + t);
|
|
24868
|
+
0 < e.imgBytes && w1 === 0 && (w1 = 125 * tv() * uD);
|
|
24869
24869
|
var c = setTimeout(
|
|
24870
24870
|
function() {
|
|
24871
24871
|
if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && Ir(e, e.stylesheets), e.unsuspend)) {
|
|
@@ -24873,7 +24873,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24873
24873
|
e.unsuspend = null, s();
|
|
24874
24874
|
}
|
|
24875
24875
|
},
|
|
24876
|
-
(e.imgBytes > w1 ? 50 :
|
|
24876
|
+
(e.imgBytes > w1 ? 50 : aD) + t
|
|
24877
24877
|
);
|
|
24878
24878
|
return e.unsuspend = l, function() {
|
|
24879
24879
|
e.unsuspend = null, clearTimeout(i), clearTimeout(c);
|
|
@@ -24925,7 +24925,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24925
24925
|
j,
|
|
24926
24926
|
q,
|
|
24927
24927
|
y
|
|
24928
|
-
), t =
|
|
24928
|
+
), t = MR, s === !0 && (t |= ua | Wi), t |= ut, s = N(3, null, null, t), e.current = s, s.stateNode = e, t = ah(), dc(t), e.pooledCache = t, dc(t), s.memoizedState = {
|
|
24929
24929
|
element: i,
|
|
24930
24930
|
isDehydrated: l,
|
|
24931
24931
|
cache: t
|
|
@@ -25019,7 +25019,7 @@ Check the render method of %s.`,
|
|
|
25019
25019
|
i
|
|
25020
25020
|
))
|
|
25021
25021
|
i.stopPropagation();
|
|
25022
|
-
else if (sm(e, i), t & 4 && -1 <
|
|
25022
|
+
else if (sm(e, i), t & 4 && -1 < oD.indexOf(e)) {
|
|
25023
25023
|
for (; c !== null; ) {
|
|
25024
25024
|
var s = ln(c);
|
|
25025
25025
|
if (s !== null)
|
|
@@ -26226,15 +26226,15 @@ Check the render method of %s.`,
|
|
|
26226
26226
|
"aria-brailleroledescription": 0,
|
|
26227
26227
|
"aria-colindextext": 0,
|
|
26228
26228
|
"aria-rowindextext": 0
|
|
26229
|
-
}, Om = {},
|
|
26229
|
+
}, Om = {}, LA = RegExp(
|
|
26230
26230
|
"^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
26231
|
-
),
|
|
26231
|
+
), GA = RegExp(
|
|
26232
26232
|
"^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
26233
|
-
), YE = !1, Ca = {}, qE = /^on./,
|
|
26233
|
+
), YE = !1, Ca = {}, qE = /^on./, XA = /^on[^A-Z]/, QA = RegExp(
|
|
26234
26234
|
"^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
26235
|
-
),
|
|
26235
|
+
), ZA = RegExp(
|
|
26236
26236
|
"^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
26237
|
-
),
|
|
26237
|
+
), JA = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i, cy = null, Am = null, Rm = null, zb = !1, Go = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Mb = !1;
|
|
26238
26238
|
if (Go)
|
|
26239
26239
|
try {
|
|
26240
26240
|
var sy = {};
|
|
@@ -26255,7 +26255,7 @@ Check the render method of %s.`,
|
|
|
26255
26255
|
},
|
|
26256
26256
|
defaultPrevented: 0,
|
|
26257
26257
|
isTrusted: 0
|
|
26258
|
-
}, qv = In(fd), fy = at({}, fd, { view: 0, detail: 0 }),
|
|
26258
|
+
}, qv = In(fd), fy = at({}, fd, { view: 0, detail: 0 }), KA = In(fy), _b, Ub, ry, Vv = at({}, fy, {
|
|
26259
26259
|
screenX: 0,
|
|
26260
26260
|
screenY: 0,
|
|
26261
26261
|
clientX: 0,
|
|
@@ -26278,17 +26278,17 @@ Check the render method of %s.`,
|
|
|
26278
26278
|
movementY: function(e) {
|
|
26279
26279
|
return "movementY" in e ? e.movementY : Ub;
|
|
26280
26280
|
}
|
|
26281
|
-
}), VE = In(Vv),
|
|
26281
|
+
}), VE = In(Vv), $A = at({}, Vv, { dataTransfer: 0 }), kA = In($A), FA = at({}, fy, { relatedTarget: 0 }), Hb = In(FA), WA = at({}, fd, {
|
|
26282
26282
|
animationName: 0,
|
|
26283
26283
|
elapsedTime: 0,
|
|
26284
26284
|
pseudoElement: 0
|
|
26285
|
-
}),
|
|
26285
|
+
}), IA = In(WA), PA = at({}, fd, {
|
|
26286
26286
|
clipboardData: function(e) {
|
|
26287
26287
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
26288
26288
|
}
|
|
26289
|
-
}),
|
|
26290
|
-
|
|
26291
|
-
),
|
|
26289
|
+
}), eR = In(PA), tR = at({}, fd, { data: 0 }), LE = In(
|
|
26290
|
+
tR
|
|
26291
|
+
), nR = LE, lR = {
|
|
26292
26292
|
Esc: "Escape",
|
|
26293
26293
|
Spacebar: " ",
|
|
26294
26294
|
Left: "ArrowLeft",
|
|
@@ -26301,7 +26301,7 @@ Check the render method of %s.`,
|
|
|
26301
26301
|
Apps: "ContextMenu",
|
|
26302
26302
|
Scroll: "ScrollLock",
|
|
26303
26303
|
MozPrintableKey: "Unidentified"
|
|
26304
|
-
},
|
|
26304
|
+
}, aR = {
|
|
26305
26305
|
8: "Backspace",
|
|
26306
26306
|
9: "Tab",
|
|
26307
26307
|
12: "Clear",
|
|
@@ -26338,18 +26338,18 @@ Check the render method of %s.`,
|
|
|
26338
26338
|
144: "NumLock",
|
|
26339
26339
|
145: "ScrollLock",
|
|
26340
26340
|
224: "Meta"
|
|
26341
|
-
},
|
|
26341
|
+
}, uR = {
|
|
26342
26342
|
Alt: "altKey",
|
|
26343
26343
|
Control: "ctrlKey",
|
|
26344
26344
|
Meta: "metaKey",
|
|
26345
26345
|
Shift: "shiftKey"
|
|
26346
|
-
},
|
|
26346
|
+
}, iR = at({}, fy, {
|
|
26347
26347
|
key: function(e) {
|
|
26348
26348
|
if (e.key) {
|
|
26349
|
-
var t =
|
|
26349
|
+
var t = lR[e.key] || e.key;
|
|
26350
26350
|
if (t !== "Unidentified") return t;
|
|
26351
26351
|
}
|
|
26352
|
-
return e.type === "keypress" ? (e = Pf(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ?
|
|
26352
|
+
return e.type === "keypress" ? (e = Pf(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? aR[e.keyCode] || "Unidentified" : "";
|
|
26353
26353
|
},
|
|
26354
26354
|
code: 0,
|
|
26355
26355
|
location: 0,
|
|
@@ -26369,7 +26369,7 @@ Check the render method of %s.`,
|
|
|
26369
26369
|
which: function(e) {
|
|
26370
26370
|
return e.type === "keypress" ? Pf(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
26371
26371
|
}
|
|
26372
|
-
}),
|
|
26372
|
+
}), oR = In(iR), cR = at({}, Vv, {
|
|
26373
26373
|
pointerId: 0,
|
|
26374
26374
|
width: 0,
|
|
26375
26375
|
height: 0,
|
|
@@ -26380,7 +26380,7 @@ Check the render method of %s.`,
|
|
|
26380
26380
|
twist: 0,
|
|
26381
26381
|
pointerType: 0,
|
|
26382
26382
|
isPrimary: 0
|
|
26383
|
-
}), GE = In(
|
|
26383
|
+
}), GE = In(cR), sR = at({}, fy, {
|
|
26384
26384
|
touches: 0,
|
|
26385
26385
|
targetTouches: 0,
|
|
26386
26386
|
changedTouches: 0,
|
|
@@ -26389,11 +26389,11 @@ Check the render method of %s.`,
|
|
|
26389
26389
|
ctrlKey: 0,
|
|
26390
26390
|
shiftKey: 0,
|
|
26391
26391
|
getModifierState: er
|
|
26392
|
-
}),
|
|
26392
|
+
}), fR = In(sR), rR = at({}, fd, {
|
|
26393
26393
|
propertyName: 0,
|
|
26394
26394
|
elapsedTime: 0,
|
|
26395
26395
|
pseudoElement: 0
|
|
26396
|
-
}),
|
|
26396
|
+
}), dR = In(rR), hR = at({}, Vv, {
|
|
26397
26397
|
deltaX: function(e) {
|
|
26398
26398
|
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
|
26399
26399
|
},
|
|
@@ -26402,12 +26402,12 @@ Check the render method of %s.`,
|
|
|
26402
26402
|
},
|
|
26403
26403
|
deltaZ: 0,
|
|
26404
26404
|
deltaMode: 0
|
|
26405
|
-
}),
|
|
26405
|
+
}), mR = In(hR), pR = at({}, fd, {
|
|
26406
26406
|
newState: 0,
|
|
26407
26407
|
oldState: 0
|
|
26408
|
-
}),
|
|
26408
|
+
}), gR = In(pR), yR = [9, 13, 27, 32], XE = 229, Nb = Go && "CompositionEvent" in window, dy = null;
|
|
26409
26409
|
Go && "documentMode" in document && (dy = document.documentMode);
|
|
26410
|
-
var
|
|
26410
|
+
var vR = Go && "TextEvent" in window && !dy, QE = Go && (!Nb || dy && 8 < dy && 11 >= dy), ZE = 32, JE = String.fromCharCode(ZE), KE = !1, Dm = !1, SR = {
|
|
26411
26411
|
color: !0,
|
|
26412
26412
|
date: !0,
|
|
26413
26413
|
datetime: !0,
|
|
@@ -26425,7 +26425,7 @@ Check the render method of %s.`,
|
|
|
26425
26425
|
week: !0
|
|
26426
26426
|
}, hy = null, my = null, $E = !1;
|
|
26427
26427
|
Go && ($E = Kd("input") && (!document.documentMode || 9 < document.documentMode));
|
|
26428
|
-
var za = typeof Object.is == "function" ? Object.is : $d,
|
|
26428
|
+
var za = typeof Object.is == "function" ? Object.is : $d, bR = Go && "documentMode" in document && 11 >= document.documentMode, Cm = null, wb = null, py = null, Bb = !1, zm = {
|
|
26429
26429
|
animationend: ac("Animation", "AnimationEnd"),
|
|
26430
26430
|
animationiteration: ac("Animation", "AnimationIteration"),
|
|
26431
26431
|
animationstart: ac("Animation", "AnimationStart"),
|
|
@@ -26435,19 +26435,19 @@ Check the render method of %s.`,
|
|
|
26435
26435
|
transitionend: ac("Transition", "TransitionEnd")
|
|
26436
26436
|
}, jb = {}, kE = {};
|
|
26437
26437
|
Go && (kE = document.createElement("div").style, "AnimationEvent" in window || (delete zm.animationend.animation, delete zm.animationiteration.animation, delete zm.animationstart.animation), "TransitionEvent" in window || delete zm.transitionend.transition);
|
|
26438
|
-
var FE = uc("animationend"), WE = uc("animationiteration"), IE = uc("animationstart"),
|
|
26438
|
+
var FE = uc("animationend"), WE = uc("animationiteration"), IE = uc("animationstart"), ER = uc("transitionrun"), TR = uc("transitionstart"), OR = uc("transitioncancel"), PE = uc("transitionend"), eT = /* @__PURE__ */ new Map(), Yb = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
|
|
26439
26439
|
" "
|
|
26440
26440
|
);
|
|
26441
26441
|
Yb.push("scrollEnd");
|
|
26442
26442
|
var tT = 0;
|
|
26443
26443
|
if (typeof performance == "object" && typeof performance.now == "function")
|
|
26444
|
-
var
|
|
26445
|
-
return
|
|
26444
|
+
var AR = performance, nT = function() {
|
|
26445
|
+
return AR.now();
|
|
26446
26446
|
};
|
|
26447
26447
|
else {
|
|
26448
|
-
var
|
|
26448
|
+
var RR = Date;
|
|
26449
26449
|
nT = function() {
|
|
26450
|
-
return
|
|
26450
|
+
return RR.now();
|
|
26451
26451
|
};
|
|
26452
26452
|
}
|
|
26453
26453
|
var qb = typeof reportError == "function" ? reportError : function(e) {
|
|
@@ -26464,7 +26464,7 @@ Check the render method of %s.`,
|
|
|
26464
26464
|
return;
|
|
26465
26465
|
}
|
|
26466
26466
|
console.error(e);
|
|
26467
|
-
},
|
|
26467
|
+
}, DR = "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.", Lv = 0, Vb = 1, Lb = 2, Gb = 3, Gv = "– ", Xv = "+ ", lT = " ", sn = typeof console < "u" && typeof console.timeStamp == "function" && typeof performance < "u" && typeof performance.measure == "function", hi = "Components ⚛", gt = "Scheduler ⚛", vt = "Blocking", Tf = !1, Qc = {
|
|
26468
26468
|
color: "primary",
|
|
26469
26469
|
properties: null,
|
|
26470
26470
|
tooltipText: "",
|
|
@@ -26473,9 +26473,9 @@ Check the render method of %s.`,
|
|
|
26473
26473
|
start: -0,
|
|
26474
26474
|
end: -0,
|
|
26475
26475
|
detail: { devtools: Qc }
|
|
26476
|
-
},
|
|
26476
|
+
}, CR = ["Changed Props", ""], aT = "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.", zR = ["Changed Props", aT], gy = 1, Zc = 2, mi = [], Mm = 0, Xb = 0, Af = {};
|
|
26477
26477
|
Object.freeze(Af);
|
|
26478
|
-
var pi = null, xm = null, Je = 0,
|
|
26478
|
+
var pi = null, xm = null, Je = 0, MR = 1, ut = 2, ua = 8, Wi = 16, xR = 32, uT = !1;
|
|
26479
26479
|
try {
|
|
26480
26480
|
var iT = Object.preventExtensions({});
|
|
26481
26481
|
} catch {
|
|
@@ -26483,7 +26483,7 @@ Check the render method of %s.`,
|
|
|
26483
26483
|
}
|
|
26484
26484
|
var Qb = /* @__PURE__ */ new WeakMap(), _m = [], Um = 0, Qv = null, yy = 0, gi = [], yi = 0, rd = null, Jc = 1, Kc = "", Jl = null, fn = null, pt = !1, Xo = !1, Ru = null, Rf = null, vi = !1, Zb = Error(
|
|
26485
26485
|
"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
|
26486
|
-
), Jb = xe(null), Kb = xe(null), oT = {}, Zv = null, Hm = null, Nm = !1,
|
|
26486
|
+
), Jb = xe(null), Kb = xe(null), oT = {}, Zv = null, Hm = null, Nm = !1, _R = typeof AbortController < "u" ? AbortController : function() {
|
|
26487
26487
|
var e = [], t = this.signal = {
|
|
26488
26488
|
aborted: !1,
|
|
26489
26489
|
addEventListener: function(l, i) {
|
|
@@ -26495,7 +26495,7 @@ Check the render method of %s.`,
|
|
|
26495
26495
|
return l();
|
|
26496
26496
|
});
|
|
26497
26497
|
};
|
|
26498
|
-
},
|
|
26498
|
+
}, UR = xn.unstable_scheduleCallback, HR = xn.unstable_NormalPriority, il = {
|
|
26499
26499
|
$$typeof: Tu,
|
|
26500
26500
|
Consumer: null,
|
|
26501
26501
|
Provider: null,
|
|
@@ -26506,7 +26506,7 @@ Check the render method of %s.`,
|
|
|
26506
26506
|
_currentRenderer2: null
|
|
26507
26507
|
}, ol = xn.unstable_now, Jv = console.createTask ? console.createTask : function() {
|
|
26508
26508
|
return null;
|
|
26509
|
-
}, vy = 1, Kv = 2, Cl = -0, Df = -0, $c = -0, kc = null, Ma = -1.1, dd = -0, Tn = -0, qe = -1.1, Ge = -1.1, pn = null, _n = !1, hd = -0, Qo = -1.1, Sy = null, Cf = 0, $b = null, kb = null, md = -1.1, by = null, wm = -1.1, $v = -1.1, Fc = -0, Wc = -1.1, Si = -1.1, Fb = 0, Ey = null, cT = null, sT = null, zf = -1.1, pd = null, Mf = -1.1, kv = -1.1, fT = -0, rT = -0, Fv = 0,
|
|
26509
|
+
}, vy = 1, Kv = 2, Cl = -0, Df = -0, $c = -0, kc = null, Ma = -1.1, dd = -0, Tn = -0, qe = -1.1, Ge = -1.1, pn = null, _n = !1, hd = -0, Qo = -1.1, Sy = null, Cf = 0, $b = null, kb = null, md = -1.1, by = null, wm = -1.1, $v = -1.1, Fc = -0, Wc = -1.1, Si = -1.1, Fb = 0, Ey = null, cT = null, sT = null, zf = -1.1, pd = null, Mf = -1.1, kv = -1.1, fT = -0, rT = -0, Fv = 0, NR = null, dT = 0, Ty = -1.1, Wv = !1, Iv = !1, Oy = null, Wb = 0, gd = 0, Bm = null, hT = le.S;
|
|
26510
26510
|
le.S = function(e, t) {
|
|
26511
26511
|
if (c2 = ul(), typeof t == "object" && t !== null && typeof t.then == "function") {
|
|
26512
26512
|
if (0 > Wc && 0 > Si) {
|
|
@@ -26710,7 +26710,7 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,
|
|
|
26710
26710
|
componentStack: l !== null ? l : ""
|
|
26711
26711
|
});
|
|
26712
26712
|
}
|
|
26713
|
-
},
|
|
26713
|
+
}, wR = ET.react_stack_bottom_frame.bind(
|
|
26714
26714
|
ET
|
|
26715
26715
|
), TT = {
|
|
26716
26716
|
react_stack_bottom_frame: function(e, t, l) {
|
|
@@ -26727,7 +26727,7 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,
|
|
|
26727
26727
|
var t = e.create;
|
|
26728
26728
|
return e = e.inst, t = t(), e.destroy = t;
|
|
26729
26729
|
}
|
|
26730
|
-
},
|
|
26730
|
+
}, BR = AT.react_stack_bottom_frame.bind(AT), RT = {
|
|
26731
26731
|
react_stack_bottom_frame: function(e, t, l) {
|
|
26732
26732
|
try {
|
|
26733
26733
|
l();
|
|
@@ -26735,12 +26735,12 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,
|
|
|
26735
26735
|
tt(e, t, i);
|
|
26736
26736
|
}
|
|
26737
26737
|
}
|
|
26738
|
-
},
|
|
26738
|
+
}, jR = RT.react_stack_bottom_frame.bind(RT), DT = {
|
|
26739
26739
|
react_stack_bottom_frame: function(e) {
|
|
26740
26740
|
var t = e._init;
|
|
26741
26741
|
return t(e._payload);
|
|
26742
26742
|
}
|
|
26743
|
-
},
|
|
26743
|
+
}, YR = DT.react_stack_bottom_frame.bind(DT), jm = Error(
|
|
26744
26744
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
|
26745
26745
|
), e1 = Error(
|
|
26746
26746
|
"Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
|
@@ -26780,7 +26780,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26780
26780
|
}
|
|
26781
26781
|
}
|
|
26782
26782
|
};
|
|
26783
|
-
var bd = el(!0), _T = el(!1), UT = 0, HT = 1, NT = 2, n1 = 3, xf = !1, wT = !1, l1 = null, a1 = !1, qm = xe(null), nS = xe(0), Du = xe(null), bi = null, Vm = 1, Uy = 2, Jn = xe(0), lS = 0, Ei = 1, xa = 2, Cu = 4, _a = 8, Lm, BT = /* @__PURE__ */ new Set(), jT = /* @__PURE__ */ new Set(), u1 = /* @__PURE__ */ new Set(), YT = /* @__PURE__ */ new Set(), Ic = 0, ke = null, Kt = null, cl = null, aS = !1, Gm = !1, Ed = !1, uS = 0, Hy = 0, Pc = null,
|
|
26783
|
+
var bd = el(!0), _T = el(!1), UT = 0, HT = 1, NT = 2, n1 = 3, xf = !1, wT = !1, l1 = null, a1 = !1, qm = xe(null), nS = xe(0), Du = xe(null), bi = null, Vm = 1, Uy = 2, Jn = xe(0), lS = 0, Ei = 1, xa = 2, Cu = 4, _a = 8, Lm, BT = /* @__PURE__ */ new Set(), jT = /* @__PURE__ */ new Set(), u1 = /* @__PURE__ */ new Set(), YT = /* @__PURE__ */ new Set(), Ic = 0, ke = null, Kt = null, cl = null, aS = !1, Gm = !1, Ed = !1, uS = 0, Hy = 0, Pc = null, qR = 0, VR = 25, ee = null, Ti = null, es = -1, Ny = !1, wy = {
|
|
26784
26784
|
readContext: Ct,
|
|
26785
26785
|
use: ji,
|
|
26786
26786
|
useCallback: bn,
|
|
@@ -27491,7 +27491,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27491
27491
|
hydrationErrors: null
|
|
27492
27492
|
}, l2 = !1, a2 = null;
|
|
27493
27493
|
a2 = /* @__PURE__ */ new Set();
|
|
27494
|
-
var ts = !1, fl = !1, d1 = !1, u2 = typeof WeakSet == "function" ? WeakSet : Set, zl = null, Zm = null, Jm = null, rl = null, Ka = !1, eo = null, vl = !1, By = 8192,
|
|
27494
|
+
var ts = !1, fl = !1, d1 = !1, u2 = typeof WeakSet == "function" ? WeakSet : Set, zl = null, Zm = null, Jm = null, rl = null, Ka = !1, eo = null, vl = !1, By = 8192, LR = {
|
|
27495
27495
|
getCacheForType: function(e) {
|
|
27496
27496
|
var t = Ct(il), l = t.data.get(e);
|
|
27497
27497
|
return l === void 0 && (l = e(), t.data.set(e, l)), l;
|
|
@@ -27507,13 +27507,13 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27507
27507
|
var jy = Symbol.for;
|
|
27508
27508
|
jy("selector.component"), jy("selector.has_pseudo_class"), jy("selector.role"), jy("selector.test_id"), jy("selector.text");
|
|
27509
27509
|
}
|
|
27510
|
-
var
|
|
27510
|
+
var GR = [], XR = typeof WeakMap == "function" ? WeakMap : Map, Ml = 0, Sl = 2, zu = 4, ns = 0, Yy = 1, Td = 2, cS = 3, _f = 4, sS = 6, i2 = 5, Et = Ml, $t = null, st = null, ot = 0, $a = 0, fS = 1, Od = 2, qy = 3, o2 = 4, h1 = 5, Vy = 6, rS = 7, m1 = 8, Ad = 9, Xt = $a, Mu = null, Uf = !1, Km = !1, p1 = !1, Jo = 0, On = ns, Hf = 0, Nf = 0, g1 = 0, ka = 0, Rd = 0, Ly = null, Ua = null, dS = !1, hS = 0, c2 = 0, s2 = 300, mS = 1 / 0, f2 = 500, Gy = null, qn = null, wf = null, pS = 0, y1 = 1, v1 = 2, r2 = 3, Bf = 0, d2 = 1, h2 = 2, m2 = 3, p2 = 4, gS = 5, dl = 0, jf = null, $m = null, to = 0, S1 = 0, b1 = -0, E1 = null, g2 = null, y2 = null, no = pS, v2 = null, QR = 50, Xy = 0, T1 = null, O1 = !1, yS = !1, ZR = 50, Dd = 0, Qy = null, km = !1, vS = null, S2 = !1, b2 = /* @__PURE__ */ new Set(), JR = {}, SS = null, Fm = null, A1 = !1, R1 = !1, bS = !1, D1 = !1, Yf = 0, C1 = {};
|
|
27511
27511
|
(function() {
|
|
27512
27512
|
for (var e = 0; e < Yb.length; e++) {
|
|
27513
27513
|
var t = Yb[e], l = t.toLowerCase();
|
|
27514
27514
|
t = t[0].toUpperCase() + t.slice(1), lu(l, "on" + t);
|
|
27515
27515
|
}
|
|
27516
|
-
lu(FE, "onAnimationEnd"), lu(WE, "onAnimationIteration"), lu(IE, "onAnimationStart"), lu("dblclick", "onDoubleClick"), lu("focusin", "onFocus"), lu("focusout", "onBlur"), lu(
|
|
27516
|
+
lu(FE, "onAnimationEnd"), lu(WE, "onAnimationIteration"), lu(IE, "onAnimationStart"), lu("dblclick", "onDoubleClick"), lu("focusin", "onFocus"), lu("focusout", "onBlur"), lu(ER, "onTransitionRun"), lu(TR, "onTransitionStart"), lu(OR, "onTransitionCancel"), lu(PE, "onTransitionEnd");
|
|
27517
27517
|
})(), ca("onMouseEnter", ["mouseout", "mouseover"]), ca("onMouseLeave", ["mouseout", "mouseover"]), ca("onPointerEnter", ["pointerout", "pointerover"]), ca("onPointerLeave", ["pointerout", "pointerover"]), Vn(
|
|
27518
27518
|
"onChange",
|
|
27519
27519
|
"change click focusin focusout input keydown keyup selectionchange".split(
|
|
@@ -27543,7 +27543,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27543
27543
|
" "
|
|
27544
27544
|
), z1 = new Set(
|
|
27545
27545
|
"beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zy)
|
|
27546
|
-
), ES = "_reactListening" + Math.random().toString(36).slice(2), E2 = !1, T2 = !1, TS = !1, O2 = !1, OS = !1, AS = !1, A2 = !1, RS = {},
|
|
27546
|
+
), ES = "_reactListening" + Math.random().toString(36).slice(2), E2 = !1, T2 = !1, TS = !1, O2 = !1, OS = !1, AS = !1, A2 = !1, RS = {}, KR = /\r\n?/g, $R = /\u0000|\uFFFD/g, Cd = "http://www.w3.org/1999/xlink", M1 = "http://www.w3.org/XML/1998/namespace", kR = "javascript:throw new Error('React form unexpectedly submitted.')", FR = "suppressHydrationWarning", zd = "&", DS = "/&", Jy = "$", Ky = "/$", qf = "$?", Md = "$~", Wm = "$!", WR = "html", IR = "body", PR = "head", x1 = "F!", R2 = "F", D2 = "loading", eD = "style", ls = 0, Im = 1, CS = 2, _1 = null, U1 = null, C2 = { dialog: !0, webview: !0 }, H1 = null, $y = void 0, z2 = typeof setTimeout == "function" ? setTimeout : void 0, tD = typeof clearTimeout == "function" ? clearTimeout : void 0, xd = -1, M2 = typeof Promise == "function" ? Promise : void 0, nD = typeof queueMicrotask == "function" ? queueMicrotask : typeof M2 < "u" ? function(e) {
|
|
27547
27547
|
return M2.resolve(null).then(e).catch(lv);
|
|
27548
27548
|
} : z2, N1 = null, _d = 0, ky = 1, x2 = 2, _2 = 3, Oi = 4, Ai = /* @__PURE__ */ new Map(), U2 = /* @__PURE__ */ new Set(), as = Mt.d;
|
|
27549
27549
|
Mt.d = {
|
|
@@ -27691,14 +27691,14 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27691
27691
|
}
|
|
27692
27692
|
}
|
|
27693
27693
|
};
|
|
27694
|
-
var Pm = typeof document > "u" ? null : document, zS = null,
|
|
27694
|
+
var Pm = typeof document > "u" ? null : document, zS = null, lD = 6e4, aD = 800, uD = 500, w1 = 0, B1 = null, MS = null, Ud = Db, Fy = {
|
|
27695
27695
|
$$typeof: Tu,
|
|
27696
27696
|
Provider: null,
|
|
27697
27697
|
Consumer: null,
|
|
27698
27698
|
_currentValue: Ud,
|
|
27699
27699
|
_currentValue2: Ud,
|
|
27700
27700
|
_threadCount: 0
|
|
27701
|
-
}, H2 = "%c%s%c", N2 = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", w2 = "", xS = " ",
|
|
27701
|
+
}, H2 = "%c%s%c", N2 = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", w2 = "", xS = " ", iD = Function.prototype.bind, B2 = !1, j2 = null, Y2 = null, q2 = null, V2 = null, L2 = null, G2 = null, X2 = null, Q2 = null, Z2 = null, J2 = null;
|
|
27702
27702
|
j2 = function(e, t, l, i) {
|
|
27703
27703
|
t = f(e, t), t !== null && (l = d(t.memoizedState, l, 0, i), t.memoizedState = l, t.baseState = l, e.memoizedProps = at({}, e.memoizedProps), l = Tl(e, 2), l !== null && Ke(l, e, 2));
|
|
27704
27704
|
}, Y2 = function(e, t, l) {
|
|
@@ -27726,7 +27726,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27726
27726
|
}, J2 = function(e) {
|
|
27727
27727
|
E = e;
|
|
27728
27728
|
};
|
|
27729
|
-
var _S = !0, US = null, j1 = !1, Vf = null, Lf = null, Gf = null, Wy = /* @__PURE__ */ new Map(), Iy = /* @__PURE__ */ new Map(), Xf = [],
|
|
27729
|
+
var _S = !0, US = null, j1 = !1, Vf = null, Lf = null, Gf = null, Wy = /* @__PURE__ */ new Map(), Iy = /* @__PURE__ */ new Map(), Xf = [], oD = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
|
|
27730
27730
|
" "
|
|
27731
27731
|
), HS = null;
|
|
27732
27732
|
if (Eu.prototype.render = kg.prototype.render = function(e) {
|
|
@@ -27846,7 +27846,7 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
27846
27846
|
})()), n0;
|
|
27847
27847
|
}
|
|
27848
27848
|
var iO;
|
|
27849
|
-
function
|
|
27849
|
+
function fC() {
|
|
27850
27850
|
if (iO) return wS.exports;
|
|
27851
27851
|
iO = 1;
|
|
27852
27852
|
function f() {
|
|
@@ -27860,15 +27860,15 @@ function sC() {
|
|
|
27860
27860
|
}
|
|
27861
27861
|
}
|
|
27862
27862
|
}
|
|
27863
|
-
return process.env.NODE_ENV === "production" ? (f(), wS.exports =
|
|
27863
|
+
return process.env.NODE_ENV === "production" ? (f(), wS.exports = cC()) : wS.exports = sC(), wS.exports;
|
|
27864
27864
|
}
|
|
27865
|
-
var
|
|
27866
|
-
const
|
|
27865
|
+
var rC = fC();
|
|
27866
|
+
const dC = 768;
|
|
27867
27867
|
let V1 = null;
|
|
27868
|
-
function
|
|
27868
|
+
function hC(f, d = "root") {
|
|
27869
27869
|
const p = document.getElementById(d);
|
|
27870
27870
|
if (!p) throw new Error(`Element ID "${d}" not found`);
|
|
27871
|
-
V1 || (V1 =
|
|
27871
|
+
V1 || (V1 = rC.createRoot(p)), V1.render(f);
|
|
27872
27872
|
}
|
|
27873
27873
|
function JO(f = !0) {
|
|
27874
27874
|
const [d, p] = ab(f);
|
|
@@ -27887,29 +27887,33 @@ function KO(f, d = !0) {
|
|
|
27887
27887
|
const p = Object.keys(f).length, [g, v] = mE(0, 1, p - 1, d);
|
|
27888
27888
|
return [g, v];
|
|
27889
27889
|
}
|
|
27890
|
-
function
|
|
27891
|
-
const
|
|
27892
|
-
return
|
|
27890
|
+
function mC() {
|
|
27891
|
+
const [, f] = mE();
|
|
27892
|
+
return f;
|
|
27893
|
+
}
|
|
27894
|
+
function $O() {
|
|
27895
|
+
const f = `(max-width: ${dC - 1}px)`, [d, p] = ab(() => typeof window > "u" ? !1 : window.matchMedia(f).matches);
|
|
27896
|
+
return fD(() => {
|
|
27893
27897
|
const g = window.matchMedia(f), v = (E) => {
|
|
27894
27898
|
p(E.matches);
|
|
27895
27899
|
};
|
|
27896
27900
|
return g.addEventListener("change", v), () => g.removeEventListener("change", v);
|
|
27897
27901
|
}, []), d;
|
|
27898
27902
|
}
|
|
27899
|
-
function
|
|
27900
|
-
|
|
27901
|
-
return f;
|
|
27903
|
+
function pC(f, d) {
|
|
27904
|
+
return $O() ? d : f;
|
|
27902
27905
|
}
|
|
27903
|
-
const
|
|
27906
|
+
const gC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27904
27907
|
__proto__: null,
|
|
27905
|
-
renderReact:
|
|
27908
|
+
renderReact: hC,
|
|
27906
27909
|
useCount: mE,
|
|
27907
27910
|
useIndex: KO,
|
|
27908
|
-
useIsMobile:
|
|
27911
|
+
useIsMobile: $O,
|
|
27909
27912
|
useOpen: JO,
|
|
27910
|
-
useRender: mC
|
|
27913
|
+
useRender: mC,
|
|
27914
|
+
useValueByMobile: pC
|
|
27911
27915
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
27912
|
-
function
|
|
27916
|
+
function yC({
|
|
27913
27917
|
childrens: f,
|
|
27914
27918
|
handleCycle: d,
|
|
27915
27919
|
onClick: p,
|
|
@@ -27920,13 +27924,13 @@ function gC({
|
|
|
27920
27924
|
};
|
|
27921
27925
|
return /* @__PURE__ */ Xe.jsx("button", { onClick: R, ...g, children: f[v] });
|
|
27922
27926
|
}
|
|
27923
|
-
function
|
|
27927
|
+
function vC({
|
|
27924
27928
|
handleFormData: f,
|
|
27925
27929
|
link: d,
|
|
27926
27930
|
onSubmit: p,
|
|
27927
27931
|
...g
|
|
27928
27932
|
}) {
|
|
27929
|
-
const v =
|
|
27933
|
+
const v = pD();
|
|
27930
27934
|
let E = async (R) => {
|
|
27931
27935
|
if (R.preventDefault(), p && p(R), f) {
|
|
27932
27936
|
const O = new FormData(R.currentTarget);
|
|
@@ -27936,19 +27940,19 @@ function yC({
|
|
|
27936
27940
|
};
|
|
27937
27941
|
return /* @__PURE__ */ Xe.jsx("form", { onSubmit: E, ...g });
|
|
27938
27942
|
}
|
|
27939
|
-
const
|
|
27940
|
-
function
|
|
27943
|
+
const kO = rD(null);
|
|
27944
|
+
function SC({ children: f }) {
|
|
27941
27945
|
const [d, p] = ab(!1), g = {
|
|
27942
27946
|
isLoading: d,
|
|
27943
27947
|
setIsLoading: p
|
|
27944
27948
|
};
|
|
27945
|
-
return /* @__PURE__ */ Xe.jsxs(
|
|
27949
|
+
return /* @__PURE__ */ Xe.jsxs(kO, { value: g, children: [
|
|
27946
27950
|
f,
|
|
27947
27951
|
d && /* @__PURE__ */ Xe.jsx("div", { className: "fixed inset-0 z-50 flex justify-center items-center bg-black/5", children: /* @__PURE__ */ Xe.jsx("div", { className: "flex justify-center items-center size-10 rounded-full bg-white shadow-md", children: /* @__PURE__ */ Xe.jsx(NO, { role: "status", "aria-label": "Loading", className: "size-full animate-spin" }) }) })
|
|
27948
27952
|
] });
|
|
27949
27953
|
}
|
|
27950
|
-
function
|
|
27951
|
-
const f =
|
|
27954
|
+
function bC() {
|
|
27955
|
+
const f = dD(kO);
|
|
27952
27956
|
if (!f) throw new Error("must be used within Loading component");
|
|
27953
27957
|
return {
|
|
27954
27958
|
...f,
|
|
@@ -27962,18 +27966,18 @@ function SC() {
|
|
|
27962
27966
|
}
|
|
27963
27967
|
};
|
|
27964
27968
|
}
|
|
27965
|
-
const
|
|
27966
|
-
const { theme: d = "system" } =
|
|
27969
|
+
const EC = ({ ...f }) => {
|
|
27970
|
+
const { theme: d = "system" } = OD();
|
|
27967
27971
|
return /* @__PURE__ */ Xe.jsx(
|
|
27968
|
-
|
|
27972
|
+
AD,
|
|
27969
27973
|
{
|
|
27970
27974
|
theme: d,
|
|
27971
27975
|
className: "toaster group",
|
|
27972
27976
|
icons: {
|
|
27973
|
-
success: /* @__PURE__ */ Xe.jsx(
|
|
27974
|
-
info: /* @__PURE__ */ Xe.jsx(
|
|
27975
|
-
warning: /* @__PURE__ */ Xe.jsx(
|
|
27976
|
-
error: /* @__PURE__ */ Xe.jsx(
|
|
27977
|
+
success: /* @__PURE__ */ Xe.jsx(bD, { className: "size-4" }),
|
|
27978
|
+
info: /* @__PURE__ */ Xe.jsx(SD, { className: "size-4" }),
|
|
27979
|
+
warning: /* @__PURE__ */ Xe.jsx(vD, { className: "size-4" }),
|
|
27980
|
+
error: /* @__PURE__ */ Xe.jsx(yD, { className: "size-4" }),
|
|
27977
27981
|
loading: /* @__PURE__ */ Xe.jsx(NO, { className: "size-4 animate-spin" })
|
|
27978
27982
|
},
|
|
27979
27983
|
style: {
|
|
@@ -27991,7 +27995,7 @@ const bC = ({ ...f }) => {
|
|
|
27991
27995
|
}
|
|
27992
27996
|
);
|
|
27993
27997
|
};
|
|
27994
|
-
function
|
|
27998
|
+
function TC({
|
|
27995
27999
|
children: f,
|
|
27996
28000
|
position: d = "top-center",
|
|
27997
28001
|
richColors: p = !0,
|
|
@@ -28001,7 +28005,7 @@ function EC({
|
|
|
28001
28005
|
return /* @__PURE__ */ Xe.jsxs(Xe.Fragment, { children: [
|
|
28002
28006
|
f,
|
|
28003
28007
|
/* @__PURE__ */ Xe.jsx(
|
|
28004
|
-
|
|
28008
|
+
EC,
|
|
28005
28009
|
{
|
|
28006
28010
|
position: d,
|
|
28007
28011
|
richColors: p,
|
|
@@ -28016,15 +28020,15 @@ function EC({
|
|
|
28016
28020
|
}
|
|
28017
28021
|
const lE = [];
|
|
28018
28022
|
let aE;
|
|
28019
|
-
function
|
|
28023
|
+
function OC() {
|
|
28020
28024
|
return aE;
|
|
28021
28025
|
}
|
|
28022
|
-
function
|
|
28026
|
+
function AC(f) {
|
|
28023
28027
|
lE.push(f);
|
|
28024
28028
|
}
|
|
28025
|
-
function
|
|
28029
|
+
function FO(f) {
|
|
28026
28030
|
const d = (p, g) => {
|
|
28027
|
-
const v = rs(
|
|
28031
|
+
const v = rs(DC).current;
|
|
28028
28032
|
let E;
|
|
28029
28033
|
try {
|
|
28030
28034
|
aE = v;
|
|
@@ -28041,20 +28045,20 @@ function kO(f) {
|
|
|
28041
28045
|
};
|
|
28042
28046
|
return d.displayName = f.displayName || f.name, d;
|
|
28043
28047
|
}
|
|
28044
|
-
function
|
|
28045
|
-
return /* @__PURE__ */ I.forwardRef(
|
|
28048
|
+
function RC(f) {
|
|
28049
|
+
return /* @__PURE__ */ I.forwardRef(FO(f));
|
|
28046
28050
|
}
|
|
28047
|
-
function
|
|
28051
|
+
function DC() {
|
|
28048
28052
|
return {
|
|
28049
28053
|
didInitialize: !1
|
|
28050
28054
|
};
|
|
28051
28055
|
}
|
|
28052
|
-
function
|
|
28056
|
+
function CC(f) {
|
|
28053
28057
|
const d = I.useRef(!0);
|
|
28054
28058
|
d.current && (d.current = !1, f());
|
|
28055
28059
|
}
|
|
28056
|
-
const
|
|
28057
|
-
}, Wt = typeof document < "u" ? I.useLayoutEffect :
|
|
28060
|
+
const zC = () => {
|
|
28061
|
+
}, Wt = typeof document < "u" ? I.useLayoutEffect : zC, pE = /* @__PURE__ */ I.createContext(void 0);
|
|
28058
28062
|
process.env.NODE_ENV !== "production" && (pE.displayName = "TooltipRootContext");
|
|
28059
28063
|
function f0(f) {
|
|
28060
28064
|
const d = I.useContext(pE);
|
|
@@ -28062,9 +28066,9 @@ function f0(f) {
|
|
|
28062
28066
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>." : ap(72));
|
|
28063
28067
|
return d;
|
|
28064
28068
|
}
|
|
28065
|
-
const
|
|
28069
|
+
const MC = [];
|
|
28066
28070
|
function gE(f) {
|
|
28067
|
-
I.useEffect(f,
|
|
28071
|
+
I.useEffect(f, MC);
|
|
28068
28072
|
}
|
|
28069
28073
|
const l0 = 0;
|
|
28070
28074
|
class cs {
|
|
@@ -28092,11 +28096,11 @@ function u0() {
|
|
|
28092
28096
|
const f = rs(cs.create).current;
|
|
28093
28097
|
return gE(f.disposeEffect), f;
|
|
28094
28098
|
}
|
|
28095
|
-
const r0 = typeof navigator < "u", L1 =
|
|
28099
|
+
const r0 = typeof navigator < "u", L1 = NC(), xC = BC(), _C = wC();
|
|
28096
28100
|
typeof CSS > "u" || !CSS.supports || CSS.supports("-webkit-backdrop-filter:none");
|
|
28097
28101
|
L1.platform === "MacIntel" && L1.maxTouchPoints > 1 || /iP(hone|ad|od)|iOS/.test(L1.platform);
|
|
28098
|
-
const
|
|
28099
|
-
function
|
|
28102
|
+
const WO = r0 && /apple/i.test(navigator.vendor), UC = r0 && xC.toLowerCase().startsWith("mac") && !navigator.maxTouchPoints, HC = _C.includes("jsdom/");
|
|
28103
|
+
function NC() {
|
|
28100
28104
|
if (!r0)
|
|
28101
28105
|
return {
|
|
28102
28106
|
platform: "",
|
|
@@ -28111,7 +28115,7 @@ function HC() {
|
|
|
28111
28115
|
maxTouchPoints: navigator.maxTouchPoints ?? -1
|
|
28112
28116
|
};
|
|
28113
28117
|
}
|
|
28114
|
-
function
|
|
28118
|
+
function wC() {
|
|
28115
28119
|
if (!r0)
|
|
28116
28120
|
return "";
|
|
28117
28121
|
const f = navigator.userAgentData;
|
|
@@ -28120,20 +28124,20 @@ function NC() {
|
|
|
28120
28124
|
version: p
|
|
28121
28125
|
}) => `${d}/${p}`).join(" ") : navigator.userAgent;
|
|
28122
28126
|
}
|
|
28123
|
-
function
|
|
28127
|
+
function BC() {
|
|
28124
28128
|
if (!r0)
|
|
28125
28129
|
return "";
|
|
28126
28130
|
const f = navigator.userAgentData;
|
|
28127
28131
|
return f?.platform ? f.platform : navigator.platform ?? "";
|
|
28128
28132
|
}
|
|
28129
|
-
function
|
|
28133
|
+
function jC(f) {
|
|
28130
28134
|
return "nativeEvent" in f;
|
|
28131
28135
|
}
|
|
28132
28136
|
function i0(f, d) {
|
|
28133
28137
|
const p = ["mouse", "pen"];
|
|
28134
28138
|
return p.push("", void 0), p.includes(f);
|
|
28135
28139
|
}
|
|
28136
|
-
function
|
|
28140
|
+
function YC(f) {
|
|
28137
28141
|
const d = f.type;
|
|
28138
28142
|
return d === "click" || d === "mousedown" || d === "keydown" || d === "keyup";
|
|
28139
28143
|
}
|
|
@@ -28172,7 +28176,7 @@ function d0(f) {
|
|
|
28172
28176
|
} = eu(f);
|
|
28173
28177
|
return /auto|scroll|overlay|hidden|clip/.test(d + g + p) && v !== "inline" && v !== "contents";
|
|
28174
28178
|
}
|
|
28175
|
-
function
|
|
28179
|
+
function qC(f) {
|
|
28176
28180
|
return /^(table|td|th)$/.test(Pa(f));
|
|
28177
28181
|
}
|
|
28178
28182
|
function ib(f) {
|
|
@@ -28187,13 +28191,13 @@ function ib(f) {
|
|
|
28187
28191
|
return !1;
|
|
28188
28192
|
}
|
|
28189
28193
|
}
|
|
28190
|
-
const
|
|
28194
|
+
const VC = /transform|translate|scale|rotate|perspective|filter/, LC = /paint|layout|strict|content/, Hd = (f) => !!f && f !== "none";
|
|
28191
28195
|
let G1;
|
|
28192
28196
|
function vE(f) {
|
|
28193
28197
|
const d = dt(f) ? eu(f) : f;
|
|
28194
|
-
return Hd(d.transform) || Hd(d.translate) || Hd(d.scale) || Hd(d.rotate) || Hd(d.perspective) || !ob() && (Hd(d.backdropFilter) || Hd(d.filter)) ||
|
|
28198
|
+
return Hd(d.transform) || Hd(d.translate) || Hd(d.scale) || Hd(d.rotate) || Hd(d.perspective) || !ob() && (Hd(d.backdropFilter) || Hd(d.filter)) || VC.test(d.willChange || "") || LC.test(d.contain || "");
|
|
28195
28199
|
}
|
|
28196
|
-
function
|
|
28200
|
+
function GC(f) {
|
|
28197
28201
|
let d = ss(f);
|
|
28198
28202
|
for (; ia(d) && !os(d); ) {
|
|
28199
28203
|
if (vE(d))
|
|
@@ -28234,14 +28238,14 @@ function ss(f) {
|
|
|
28234
28238
|
);
|
|
28235
28239
|
return o0(d) ? d.host : d;
|
|
28236
28240
|
}
|
|
28237
|
-
function
|
|
28241
|
+
function IO(f) {
|
|
28238
28242
|
const d = ss(f);
|
|
28239
|
-
return os(d) ? f.ownerDocument ? f.ownerDocument.body : f.body : ia(d) && d0(d) ? d :
|
|
28243
|
+
return os(d) ? f.ownerDocument ? f.ownerDocument.body : f.body : ia(d) && d0(d) ? d : IO(d);
|
|
28240
28244
|
}
|
|
28241
28245
|
function c0(f, d, p) {
|
|
28242
28246
|
var g;
|
|
28243
28247
|
d === void 0 && (d = []), p === void 0 && (p = !0);
|
|
28244
|
-
const v =
|
|
28248
|
+
const v = IO(f), E = v === ((g = f.ownerDocument) == null ? void 0 : g.body), R = Kl(v);
|
|
28245
28249
|
if (E) {
|
|
28246
28250
|
const O = uE(R);
|
|
28247
28251
|
return d.concat(R, R.visualViewport || [], d0(v) ? v : [], O && p ? c0(O) : []);
|
|
@@ -28251,7 +28255,7 @@ function c0(f, d, p) {
|
|
|
28251
28255
|
function uE(f) {
|
|
28252
28256
|
return f.parent && Object.getPrototypeOf(f.parent) ? f.frameElement : null;
|
|
28253
28257
|
}
|
|
28254
|
-
const
|
|
28258
|
+
const XC = "data-base-ui-focusable", PO = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
28255
28259
|
function iE(f) {
|
|
28256
28260
|
let d = f.activeElement;
|
|
28257
28261
|
for (; d?.shadowRoot?.activeElement != null; )
|
|
@@ -28296,17 +28300,17 @@ function X1(f, d) {
|
|
|
28296
28300
|
const p = f;
|
|
28297
28301
|
return p.target != null && d.contains(p.target);
|
|
28298
28302
|
}
|
|
28299
|
-
function XC(f) {
|
|
28300
|
-
return f.matches("html,body");
|
|
28301
|
-
}
|
|
28302
28303
|
function QC(f) {
|
|
28303
|
-
return
|
|
28304
|
+
return f.matches("html,body");
|
|
28304
28305
|
}
|
|
28305
28306
|
function ZC(f) {
|
|
28306
|
-
return f
|
|
28307
|
+
return ia(f) && f.matches(PO);
|
|
28307
28308
|
}
|
|
28308
28309
|
function JC(f) {
|
|
28309
|
-
|
|
28310
|
+
return f?.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${PO}`) != null;
|
|
28311
|
+
}
|
|
28312
|
+
function KC(f) {
|
|
28313
|
+
if (!f || HC)
|
|
28310
28314
|
return !0;
|
|
28311
28315
|
try {
|
|
28312
28316
|
return f.matches(":focus-visible");
|
|
@@ -28314,23 +28318,23 @@ function JC(f) {
|
|
|
28314
28318
|
return !0;
|
|
28315
28319
|
}
|
|
28316
28320
|
}
|
|
28317
|
-
function
|
|
28321
|
+
function $C(f, d) {
|
|
28318
28322
|
return d != null && !i0(d) ? 0 : typeof f == "function" ? f() : f;
|
|
28319
28323
|
}
|
|
28320
28324
|
function FS(f, d, p) {
|
|
28321
|
-
const g =
|
|
28325
|
+
const g = $C(f, p);
|
|
28322
28326
|
return typeof g == "number" ? g : g?.[d];
|
|
28323
28327
|
}
|
|
28324
28328
|
function oO(f) {
|
|
28325
28329
|
return typeof f == "function" ? f() : f;
|
|
28326
28330
|
}
|
|
28327
|
-
function
|
|
28331
|
+
function eA(f, d) {
|
|
28328
28332
|
return d || f === "click" || f === "mousedown";
|
|
28329
28333
|
}
|
|
28330
|
-
function
|
|
28334
|
+
function kC(f) {
|
|
28331
28335
|
return f?.includes("mouse") && f !== "mousedown";
|
|
28332
28336
|
}
|
|
28333
|
-
const
|
|
28337
|
+
const tA = "none", WS = "trigger-press", Fa = "trigger-hover", ZS = "trigger-focus", FC = "outside-press", WC = "focus-out", SE = "escape-key", IC = "disabled", PC = "imperative-action";
|
|
28334
28338
|
function $n(f, d, p, g) {
|
|
28335
28339
|
let v = !1, E = !1;
|
|
28336
28340
|
const R = Wa;
|
|
@@ -28353,7 +28357,7 @@ function $n(f, d, p, g) {
|
|
|
28353
28357
|
...R
|
|
28354
28358
|
};
|
|
28355
28359
|
}
|
|
28356
|
-
const
|
|
28360
|
+
const nA = /* @__PURE__ */ I.createContext({
|
|
28357
28361
|
hasProvider: !1,
|
|
28358
28362
|
timeoutMs: 0,
|
|
28359
28363
|
delayRef: {
|
|
@@ -28370,13 +28374,13 @@ const tA = /* @__PURE__ */ I.createContext({
|
|
|
28370
28374
|
current: null
|
|
28371
28375
|
}
|
|
28372
28376
|
});
|
|
28373
|
-
process.env.NODE_ENV !== "production" && (
|
|
28374
|
-
function
|
|
28377
|
+
process.env.NODE_ENV !== "production" && (nA.displayName = "FloatingDelayGroupContext");
|
|
28378
|
+
function ez(f, d = {
|
|
28375
28379
|
open: !1
|
|
28376
28380
|
}) {
|
|
28377
28381
|
const {
|
|
28378
28382
|
open: p
|
|
28379
|
-
} = d, g = "rootStore" in f ? f.rootStore : f, v = g.useState("floatingId"), E = I.useContext(
|
|
28383
|
+
} = d, g = "rootStore" in f ? f.rootStore : f, v = g.useState("floatingId"), E = I.useContext(nA), {
|
|
28380
28384
|
currentIdRef: R,
|
|
28381
28385
|
delayRef: O,
|
|
28382
28386
|
timeoutMs: L,
|
|
@@ -28410,7 +28414,7 @@ function PC(f, d = {
|
|
|
28410
28414
|
}, R.current = v, O.current = {
|
|
28411
28415
|
open: 0,
|
|
28412
28416
|
close: FS(V.current, "close")
|
|
28413
|
-
}, Q !== null && Q !== v ? (C(!0), G?.setIsInstantPhase(!0), G?.onOpenChange(!1, $n(
|
|
28417
|
+
}, Q !== null && Q !== v ? (C(!0), G?.setIsInstantPhase(!0), G?.onOpenChange(!1, $n(tA))) : (C(!1), G?.setIsInstantPhase(!1));
|
|
28414
28418
|
}, [p, v, g, R, O, V, D, N]), Wt(() => () => {
|
|
28415
28419
|
D.current = null;
|
|
28416
28420
|
}, [D]), I.useMemo(() => ({
|
|
@@ -28433,10 +28437,10 @@ function Zf(...f) {
|
|
|
28433
28437
|
};
|
|
28434
28438
|
}
|
|
28435
28439
|
function lo(f) {
|
|
28436
|
-
const d = rs(
|
|
28440
|
+
const d = rs(tz, f).current;
|
|
28437
28441
|
return d.next = f, Wt(d.effect), d;
|
|
28438
28442
|
}
|
|
28439
|
-
function
|
|
28443
|
+
function tz(f) {
|
|
28440
28444
|
const d = {
|
|
28441
28445
|
current: f,
|
|
28442
28446
|
next: f,
|
|
@@ -28448,19 +28452,19 @@ function ez(f) {
|
|
|
28448
28452
|
}
|
|
28449
28453
|
const bE = {
|
|
28450
28454
|
...I
|
|
28451
|
-
}, Q1 = bE.useInsertionEffect,
|
|
28455
|
+
}, Q1 = bE.useInsertionEffect, nz = (
|
|
28452
28456
|
// React 17 doesn't have useInsertionEffect.
|
|
28453
28457
|
Q1 && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late.
|
|
28454
28458
|
Q1 !== bE.useLayoutEffect ? Q1 : (f) => f()
|
|
28455
28459
|
);
|
|
28456
28460
|
function Ft(f) {
|
|
28457
|
-
const d = rs(
|
|
28458
|
-
return d.next = f,
|
|
28461
|
+
const d = rs(lz).current;
|
|
28462
|
+
return d.next = f, nz(d.effect), d.trampoline;
|
|
28459
28463
|
}
|
|
28460
|
-
function
|
|
28464
|
+
function lz() {
|
|
28461
28465
|
const f = {
|
|
28462
28466
|
next: void 0,
|
|
28463
|
-
callback:
|
|
28467
|
+
callback: az,
|
|
28464
28468
|
trampoline: (...d) => f.callback?.(...d),
|
|
28465
28469
|
effect: () => {
|
|
28466
28470
|
f.callback = f.next;
|
|
@@ -28468,7 +28472,7 @@ function nz() {
|
|
|
28468
28472
|
};
|
|
28469
28473
|
return f;
|
|
28470
28474
|
}
|
|
28471
|
-
function
|
|
28475
|
+
function az() {
|
|
28472
28476
|
if (process.env.NODE_ENV !== "production")
|
|
28473
28477
|
throw (
|
|
28474
28478
|
/* minify-error-disabled */
|
|
@@ -28477,7 +28481,7 @@ function lz() {
|
|
|
28477
28481
|
}
|
|
28478
28482
|
const jS = null;
|
|
28479
28483
|
let cO = globalThis.requestAnimationFrame;
|
|
28480
|
-
class
|
|
28484
|
+
class uz {
|
|
28481
28485
|
/* This implementation uses an array as a backing data-structure for frame callbacks.
|
|
28482
28486
|
* It allows `O(1)` callback cancelling by inserting a `null` in the array, though it
|
|
28483
28487
|
* never calls the native `cancelAnimationFrame` if there are no frames left. This can
|
|
@@ -28508,7 +28512,7 @@ class az {
|
|
|
28508
28512
|
p < 0 || p >= this.callbacks.length || (this.callbacks[p] = null, this.callbacksCount -= 1);
|
|
28509
28513
|
}
|
|
28510
28514
|
}
|
|
28511
|
-
const YS = new
|
|
28515
|
+
const YS = new uz();
|
|
28512
28516
|
class is {
|
|
28513
28517
|
static create() {
|
|
28514
28518
|
return new is();
|
|
@@ -28533,14 +28537,14 @@ class is {
|
|
|
28533
28537
|
};
|
|
28534
28538
|
disposeEffect = () => this.cancel;
|
|
28535
28539
|
}
|
|
28536
|
-
function
|
|
28540
|
+
function iz() {
|
|
28537
28541
|
const f = rs(is.create).current;
|
|
28538
28542
|
return gE(f.disposeEffect), f;
|
|
28539
28543
|
}
|
|
28540
28544
|
function _u(f) {
|
|
28541
28545
|
return f?.ownerDocument || document;
|
|
28542
28546
|
}
|
|
28543
|
-
const
|
|
28547
|
+
const oz = {
|
|
28544
28548
|
clipPath: "inset(50%)",
|
|
28545
28549
|
overflow: "hidden",
|
|
28546
28550
|
whiteSpace: "nowrap",
|
|
@@ -28549,15 +28553,15 @@ const iz = {
|
|
|
28549
28553
|
width: 1,
|
|
28550
28554
|
height: 1,
|
|
28551
28555
|
margin: -1
|
|
28552
|
-
},
|
|
28553
|
-
...
|
|
28556
|
+
}, cz = {
|
|
28557
|
+
...oz,
|
|
28554
28558
|
position: "fixed",
|
|
28555
28559
|
top: 0,
|
|
28556
28560
|
left: 0
|
|
28557
28561
|
}, oE = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
28558
28562
|
const [g, v] = I.useState();
|
|
28559
28563
|
Wt(() => {
|
|
28560
|
-
|
|
28564
|
+
WO && v("button");
|
|
28561
28565
|
}, []);
|
|
28562
28566
|
const E = {
|
|
28563
28567
|
tabIndex: 0,
|
|
@@ -28567,17 +28571,17 @@ const iz = {
|
|
|
28567
28571
|
return /* @__PURE__ */ Xe.jsx("span", {
|
|
28568
28572
|
...d,
|
|
28569
28573
|
ref: p,
|
|
28570
|
-
style:
|
|
28574
|
+
style: cz,
|
|
28571
28575
|
"aria-hidden": g ? void 0 : !0,
|
|
28572
28576
|
...E,
|
|
28573
28577
|
"data-base-ui-focus-guard": ""
|
|
28574
28578
|
});
|
|
28575
28579
|
});
|
|
28576
28580
|
process.env.NODE_ENV !== "production" && (oE.displayName = "FocusGuard");
|
|
28577
|
-
const
|
|
28581
|
+
const sz = ["top", "right", "bottom", "left"], np = Math.min, xu = Math.max, IS = Math.round, qS = Math.floor, Ko = (f) => ({
|
|
28578
28582
|
x: f,
|
|
28579
28583
|
y: f
|
|
28580
|
-
}),
|
|
28584
|
+
}), fz = {
|
|
28581
28585
|
left: "right",
|
|
28582
28586
|
right: "left",
|
|
28583
28587
|
bottom: "top",
|
|
@@ -28608,42 +28612,42 @@ function Ri(f) {
|
|
|
28608
28612
|
function OE(f) {
|
|
28609
28613
|
return EE(Ri(f));
|
|
28610
28614
|
}
|
|
28611
|
-
function
|
|
28615
|
+
function rz(f, d, p) {
|
|
28612
28616
|
p === void 0 && (p = !1);
|
|
28613
28617
|
const g = Jf(f), v = OE(f), E = TE(v);
|
|
28614
28618
|
let R = v === "x" ? g === (p ? "end" : "start") ? "right" : "left" : g === "start" ? "bottom" : "top";
|
|
28615
28619
|
return d.reference[E] > d.floating[E] && (R = PS(R)), [R, PS(R)];
|
|
28616
28620
|
}
|
|
28617
|
-
function
|
|
28621
|
+
function dz(f) {
|
|
28618
28622
|
const d = PS(f);
|
|
28619
28623
|
return [sE(f), d, sE(d)];
|
|
28620
28624
|
}
|
|
28621
28625
|
function sE(f) {
|
|
28622
28626
|
return f.includes("start") ? f.replace("start", "end") : f.replace("end", "start");
|
|
28623
28627
|
}
|
|
28624
|
-
const sO = ["left", "right"], fO = ["right", "left"],
|
|
28625
|
-
function
|
|
28628
|
+
const sO = ["left", "right"], fO = ["right", "left"], hz = ["top", "bottom"], mz = ["bottom", "top"];
|
|
28629
|
+
function pz(f, d, p) {
|
|
28626
28630
|
switch (f) {
|
|
28627
28631
|
case "top":
|
|
28628
28632
|
case "bottom":
|
|
28629
28633
|
return p ? d ? fO : sO : d ? sO : fO;
|
|
28630
28634
|
case "left":
|
|
28631
28635
|
case "right":
|
|
28632
|
-
return d ?
|
|
28636
|
+
return d ? hz : mz;
|
|
28633
28637
|
default:
|
|
28634
28638
|
return [];
|
|
28635
28639
|
}
|
|
28636
28640
|
}
|
|
28637
|
-
function
|
|
28641
|
+
function gz(f, d, p, g) {
|
|
28638
28642
|
const v = Jf(f);
|
|
28639
|
-
let E =
|
|
28643
|
+
let E = pz(Ia(f), p === "start", g);
|
|
28640
28644
|
return v && (E = E.map((R) => R + "-" + v), d && (E = E.concat(E.map(sE)))), E;
|
|
28641
28645
|
}
|
|
28642
28646
|
function PS(f) {
|
|
28643
28647
|
const d = Ia(f);
|
|
28644
|
-
return
|
|
28648
|
+
return fz[d] + f.slice(d.length);
|
|
28645
28649
|
}
|
|
28646
|
-
function
|
|
28650
|
+
function yz(f) {
|
|
28647
28651
|
return {
|
|
28648
28652
|
top: 0,
|
|
28649
28653
|
right: 0,
|
|
@@ -28652,8 +28656,8 @@ function gz(f) {
|
|
|
28652
28656
|
...f
|
|
28653
28657
|
};
|
|
28654
28658
|
}
|
|
28655
|
-
function
|
|
28656
|
-
return typeof f != "number" ?
|
|
28659
|
+
function lA(f) {
|
|
28660
|
+
return typeof f != "number" ? yz(f) : {
|
|
28657
28661
|
top: f,
|
|
28658
28662
|
right: f,
|
|
28659
28663
|
bottom: f,
|
|
@@ -28678,14 +28682,14 @@ function eb(f) {
|
|
|
28678
28682
|
y: p
|
|
28679
28683
|
};
|
|
28680
28684
|
}
|
|
28681
|
-
function
|
|
28685
|
+
function vz(f) {
|
|
28682
28686
|
return f.visibility === "hidden" || f.visibility === "collapse";
|
|
28683
28687
|
}
|
|
28684
|
-
function
|
|
28685
|
-
return !f || !f.isConnected || !d ||
|
|
28688
|
+
function Sz(f, d = f ? eu(f) : null) {
|
|
28689
|
+
return !f || !f.isConnected || !d || vz(d) ? !1 : typeof f.checkVisibility == "function" ? f.checkVisibility() : d.display !== "none" && d.display !== "contents";
|
|
28686
28690
|
}
|
|
28687
|
-
const
|
|
28688
|
-
function
|
|
28691
|
+
const bz = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
|
|
28692
|
+
function Ez(f) {
|
|
28689
28693
|
const d = f.assignedSlot;
|
|
28690
28694
|
if (d)
|
|
28691
28695
|
return d;
|
|
@@ -28700,29 +28704,29 @@ function fE(f) {
|
|
|
28700
28704
|
return d;
|
|
28701
28705
|
return null;
|
|
28702
28706
|
}
|
|
28703
|
-
function
|
|
28707
|
+
function Tz(f, d) {
|
|
28704
28708
|
const p = fE(d);
|
|
28705
28709
|
return !!p && (f === p || Un(p, f));
|
|
28706
28710
|
}
|
|
28707
|
-
function
|
|
28711
|
+
function aA(f) {
|
|
28708
28712
|
const d = f ? Pa(f) : "";
|
|
28709
|
-
return f != null && f.matches(
|
|
28713
|
+
return f != null && f.matches(bz) && (d !== "summary" || f.parentElement != null && Pa(f.parentElement) === "details" && fE(f.parentElement) === f) && (d !== "details" || fE(f) == null) && (d !== "input" || f.type !== "hidden");
|
|
28710
28714
|
}
|
|
28711
|
-
function
|
|
28712
|
-
if (!
|
|
28715
|
+
function Oz(f) {
|
|
28716
|
+
if (!aA(f) || !f.isConnected || f.matches(":disabled"))
|
|
28713
28717
|
return !1;
|
|
28714
|
-
for (let d = f; d; d =
|
|
28718
|
+
for (let d = f; d; d = Ez(d)) {
|
|
28715
28719
|
const p = d !== f, g = Pa(d) === "slot";
|
|
28716
|
-
if (d.hasAttribute("inert") || p && Pa(d) === "details" && !d.open && !
|
|
28720
|
+
if (d.hasAttribute("inert") || p && Pa(d) === "details" && !d.open && !Tz(f, d) || d.hasAttribute("hidden") || !g && !Az(d, p))
|
|
28717
28721
|
return !1;
|
|
28718
28722
|
}
|
|
28719
28723
|
return !0;
|
|
28720
28724
|
}
|
|
28721
|
-
function
|
|
28725
|
+
function Az(f, d) {
|
|
28722
28726
|
const p = eu(f);
|
|
28723
|
-
return d ? p.display !== "none" :
|
|
28727
|
+
return d ? p.display !== "none" : Sz(f, p);
|
|
28724
28728
|
}
|
|
28725
|
-
function
|
|
28729
|
+
function Rz(f) {
|
|
28726
28730
|
const d = f.tabIndex;
|
|
28727
28731
|
if (d < 0) {
|
|
28728
28732
|
const p = Pa(f);
|
|
@@ -28737,7 +28741,7 @@ function Z1(f) {
|
|
|
28737
28741
|
const d = f;
|
|
28738
28742
|
return d.type === "radio" && d.name !== "" ? d : null;
|
|
28739
28743
|
}
|
|
28740
|
-
function
|
|
28744
|
+
function Dz(f, d) {
|
|
28741
28745
|
const p = Z1(f);
|
|
28742
28746
|
if (!p)
|
|
28743
28747
|
return !0;
|
|
@@ -28750,7 +28754,7 @@ function Rz(f, d) {
|
|
|
28750
28754
|
return E?.name === p.name && E.form === p.form;
|
|
28751
28755
|
}) === p;
|
|
28752
28756
|
}
|
|
28753
|
-
function
|
|
28757
|
+
function uA(f) {
|
|
28754
28758
|
if (ia(f) && Pa(f) === "slot") {
|
|
28755
28759
|
const d = f.assignedElements({
|
|
28756
28760
|
flatten: !0
|
|
@@ -28760,49 +28764,49 @@ function aA(f) {
|
|
|
28760
28764
|
}
|
|
28761
28765
|
return ia(f) && f.shadowRoot ? Array.from(f.shadowRoot.children) : Array.from(f.children);
|
|
28762
28766
|
}
|
|
28763
|
-
function
|
|
28764
|
-
|
|
28765
|
-
|
|
28767
|
+
function iA(f, d) {
|
|
28768
|
+
uA(f).forEach((p) => {
|
|
28769
|
+
aA(p) && d.push(p), iA(p, d);
|
|
28766
28770
|
});
|
|
28767
28771
|
}
|
|
28768
|
-
function
|
|
28769
|
-
|
|
28770
|
-
ia(g) && g.matches(d) && p.push(g),
|
|
28772
|
+
function oA(f, d, p) {
|
|
28773
|
+
uA(f).forEach((g) => {
|
|
28774
|
+
ia(g) && g.matches(d) && p.push(g), oA(g, d, p);
|
|
28771
28775
|
});
|
|
28772
28776
|
}
|
|
28773
|
-
function
|
|
28777
|
+
function Cz(f) {
|
|
28774
28778
|
const d = [];
|
|
28775
|
-
return
|
|
28779
|
+
return iA(f, d), d.filter(Oz);
|
|
28776
28780
|
}
|
|
28777
|
-
function
|
|
28778
|
-
const d =
|
|
28779
|
-
return d.filter((p) =>
|
|
28781
|
+
function cA(f) {
|
|
28782
|
+
const d = Cz(f);
|
|
28783
|
+
return d.filter((p) => Rz(p) >= 0 && Dz(p, d));
|
|
28780
28784
|
}
|
|
28781
|
-
function
|
|
28782
|
-
const p =
|
|
28785
|
+
function sA(f, d) {
|
|
28786
|
+
const p = cA(f), g = p.length;
|
|
28783
28787
|
if (g === 0)
|
|
28784
28788
|
return;
|
|
28785
28789
|
const v = iE(_u(f)), E = p.indexOf(v), R = E === -1 ? d === 1 ? 0 : g - 1 : E + d;
|
|
28786
28790
|
return p[R];
|
|
28787
28791
|
}
|
|
28788
|
-
function Cz(f) {
|
|
28789
|
-
return cA(_u(f).body, 1) || f;
|
|
28790
|
-
}
|
|
28791
28792
|
function zz(f) {
|
|
28792
|
-
return
|
|
28793
|
+
return sA(_u(f).body, 1) || f;
|
|
28794
|
+
}
|
|
28795
|
+
function Mz(f) {
|
|
28796
|
+
return sA(_u(f).body, -1) || f;
|
|
28793
28797
|
}
|
|
28794
28798
|
function J1(f, d) {
|
|
28795
28799
|
const p = d || f.currentTarget, g = f.relatedTarget;
|
|
28796
28800
|
return !g || !Un(p, g);
|
|
28797
28801
|
}
|
|
28798
|
-
function
|
|
28799
|
-
|
|
28802
|
+
function xz(f) {
|
|
28803
|
+
cA(f).forEach((p) => {
|
|
28800
28804
|
p.dataset.tabindex = p.getAttribute("tabindex") || "", p.setAttribute("tabindex", "-1");
|
|
28801
28805
|
});
|
|
28802
28806
|
}
|
|
28803
28807
|
function rO(f) {
|
|
28804
28808
|
const d = [];
|
|
28805
|
-
|
|
28809
|
+
oA(f, "[data-tabindex]", d), d.forEach((p) => {
|
|
28806
28810
|
const g = p.dataset.tabindex;
|
|
28807
28811
|
delete p.dataset.tabindex, g ? p.setAttribute("tabindex", g) : p.removeAttribute("tabindex");
|
|
28808
28812
|
});
|
|
@@ -28814,7 +28818,7 @@ function AE(f) {
|
|
|
28814
28818
|
return `data-base-ui-${f}`;
|
|
28815
28819
|
}
|
|
28816
28820
|
let dO = 0;
|
|
28817
|
-
function
|
|
28821
|
+
function _z(f, d = "mui") {
|
|
28818
28822
|
const [p, g] = I.useState(f), v = f || p;
|
|
28819
28823
|
return I.useEffect(() => {
|
|
28820
28824
|
p == null && (dO += 1, g(`${d}-${dO}`));
|
|
@@ -28826,29 +28830,29 @@ function sb(f, d) {
|
|
|
28826
28830
|
const p = hO();
|
|
28827
28831
|
return f ?? (d ? `${d}-${p}` : p);
|
|
28828
28832
|
}
|
|
28829
|
-
return
|
|
28833
|
+
return _z(f, d);
|
|
28830
28834
|
}
|
|
28831
|
-
const
|
|
28835
|
+
const Uz = {
|
|
28832
28836
|
style: {
|
|
28833
28837
|
transition: "none"
|
|
28834
28838
|
}
|
|
28835
|
-
}, Uz = {
|
|
28836
|
-
fallbackAxisSide: "end"
|
|
28837
28839
|
}, Hz = {
|
|
28840
|
+
fallbackAxisSide: "end"
|
|
28841
|
+
}, Nz = {
|
|
28838
28842
|
clipPath: "inset(50%)",
|
|
28839
28843
|
position: "fixed",
|
|
28840
28844
|
top: 0,
|
|
28841
28845
|
left: 0
|
|
28842
28846
|
}, RE = /* @__PURE__ */ I.createContext(null);
|
|
28843
28847
|
process.env.NODE_ENV !== "production" && (RE.displayName = "PortalContext");
|
|
28844
|
-
const
|
|
28845
|
-
function
|
|
28848
|
+
const wz = () => I.useContext(RE), Bz = AE("portal");
|
|
28849
|
+
function fA(f = {}) {
|
|
28846
28850
|
const {
|
|
28847
28851
|
ref: d,
|
|
28848
28852
|
container: p,
|
|
28849
28853
|
componentProps: g = Wa,
|
|
28850
28854
|
elementProps: v
|
|
28851
|
-
} = f, E = sb(), O =
|
|
28855
|
+
} = f, E = sb(), O = wz()?.portalNode, [L, V] = I.useState(null), [D, _] = I.useState(null), N = Ft((Q) => {
|
|
28852
28856
|
Q !== null && _(Q);
|
|
28853
28857
|
}), w = I.useRef(null);
|
|
28854
28858
|
Wt(() => {
|
|
@@ -28869,7 +28873,7 @@ function sA(f = {}) {
|
|
|
28869
28873
|
ref: [d, N],
|
|
28870
28874
|
props: [{
|
|
28871
28875
|
id: E,
|
|
28872
|
-
[
|
|
28876
|
+
[Bz]: ""
|
|
28873
28877
|
}, v]
|
|
28874
28878
|
});
|
|
28875
28879
|
return {
|
|
@@ -28877,7 +28881,7 @@ function sA(f = {}) {
|
|
|
28877
28881
|
portalSubtree: L && C ? /* @__PURE__ */ Bd.createPortal(C, L) : null
|
|
28878
28882
|
};
|
|
28879
28883
|
}
|
|
28880
|
-
const
|
|
28884
|
+
const jz = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
28881
28885
|
const {
|
|
28882
28886
|
render: g,
|
|
28883
28887
|
className: v,
|
|
@@ -28889,7 +28893,7 @@ const Bz = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
28889
28893
|
} = d, {
|
|
28890
28894
|
portalNode: D,
|
|
28891
28895
|
portalSubtree: _
|
|
28892
|
-
} =
|
|
28896
|
+
} = fA({
|
|
28893
28897
|
container: O,
|
|
28894
28898
|
ref: p,
|
|
28895
28899
|
componentProps: d,
|
|
@@ -28899,7 +28903,7 @@ const Bz = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
28899
28903
|
if (!D || ne)
|
|
28900
28904
|
return;
|
|
28901
28905
|
function de(pe) {
|
|
28902
|
-
D && pe.relatedTarget && J1(pe) && (pe.type === "focusin" ? P.current && (rO(D), P.current = !1) : (
|
|
28906
|
+
D && pe.relatedTarget && J1(pe) && (pe.type === "focusin" ? P.current && (rO(D), P.current = !1) : (xz(D), P.current = !0));
|
|
28903
28907
|
}
|
|
28904
28908
|
return Zf(nn(D, "focusin", de, !0), nn(D, "focusout", de, !0));
|
|
28905
28909
|
}, [D, ne]), I.useEffect(() => {
|
|
@@ -28924,12 +28928,12 @@ const Bz = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
28924
28928
|
C.current?.focus();
|
|
28925
28929
|
else {
|
|
28926
28930
|
const pe = Q ? Q.domReference : null;
|
|
28927
|
-
|
|
28931
|
+
Mz(pe)?.focus();
|
|
28928
28932
|
}
|
|
28929
28933
|
}
|
|
28930
28934
|
}), be && D && /* @__PURE__ */ Xe.jsx("span", {
|
|
28931
28935
|
"aria-owns": D.id,
|
|
28932
|
-
style:
|
|
28936
|
+
style: Nz
|
|
28933
28937
|
}), D && /* @__PURE__ */ Bd.createPortal(R, D), be && D && /* @__PURE__ */ Xe.jsx(oE, {
|
|
28934
28938
|
"data-type": "outside",
|
|
28935
28939
|
ref: w,
|
|
@@ -28938,15 +28942,15 @@ const Bz = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
28938
28942
|
G.current?.focus();
|
|
28939
28943
|
else {
|
|
28940
28944
|
const pe = Q ? Q.domReference : null;
|
|
28941
|
-
|
|
28945
|
+
zz(pe)?.focus(), Q?.closeOnFocusOut && Q?.onOpenChange(!1, $n(WC, de.nativeEvent));
|
|
28942
28946
|
}
|
|
28943
28947
|
}
|
|
28944
28948
|
})]
|
|
28945
28949
|
})]
|
|
28946
28950
|
});
|
|
28947
28951
|
});
|
|
28948
|
-
process.env.NODE_ENV !== "production" && (
|
|
28949
|
-
function
|
|
28952
|
+
process.env.NODE_ENV !== "production" && (jz.displayName = "FloatingPortal");
|
|
28953
|
+
function Yz() {
|
|
28950
28954
|
const f = /* @__PURE__ */ new Map();
|
|
28951
28955
|
return {
|
|
28952
28956
|
emit(d, p) {
|
|
@@ -28960,18 +28964,18 @@ function jz() {
|
|
|
28960
28964
|
}
|
|
28961
28965
|
};
|
|
28962
28966
|
}
|
|
28963
|
-
const fA = /* @__PURE__ */ I.createContext(null);
|
|
28964
|
-
process.env.NODE_ENV !== "production" && (fA.displayName = "FloatingNodeContext");
|
|
28965
28967
|
const rA = /* @__PURE__ */ I.createContext(null);
|
|
28966
|
-
process.env.NODE_ENV !== "production" && (rA.displayName = "
|
|
28967
|
-
const
|
|
28968
|
-
|
|
28968
|
+
process.env.NODE_ENV !== "production" && (rA.displayName = "FloatingNodeContext");
|
|
28969
|
+
const dA = /* @__PURE__ */ I.createContext(null);
|
|
28970
|
+
process.env.NODE_ENV !== "production" && (dA.displayName = "FloatingTreeContext");
|
|
28971
|
+
const DE = () => I.useContext(rA)?.id || null, fb = (f) => {
|
|
28972
|
+
const d = I.useContext(dA);
|
|
28969
28973
|
return f ?? d;
|
|
28970
28974
|
};
|
|
28971
|
-
function
|
|
28975
|
+
function qz(f) {
|
|
28972
28976
|
return f == null ? f : "current" in f ? f.current : f;
|
|
28973
28977
|
}
|
|
28974
|
-
function
|
|
28978
|
+
function Vz(f, d) {
|
|
28975
28979
|
let p = null, g = null, v = !1;
|
|
28976
28980
|
return {
|
|
28977
28981
|
contextElement: f || void 0,
|
|
@@ -28999,14 +29003,14 @@ function qz(f, d) {
|
|
|
28999
29003
|
function mO(f) {
|
|
29000
29004
|
return f != null && f.clientX != null;
|
|
29001
29005
|
}
|
|
29002
|
-
function
|
|
29006
|
+
function Lz(f, d = {}) {
|
|
29003
29007
|
const {
|
|
29004
29008
|
enabled: p = !0,
|
|
29005
29009
|
axis: g = "both"
|
|
29006
29010
|
} = d, v = "rootStore" in f ? f.rootStore : f, E = v.useState("open"), R = v.useState("floatingElement"), O = v.useState("domReferenceElement"), L = v.context.dataRef, V = I.useRef(!1), D = I.useRef(null), [_, N] = I.useState(), [w, C] = I.useState([]), G = Ft((ue) => {
|
|
29007
29011
|
v.set("positionReference", ue);
|
|
29008
29012
|
}), Q = Ft((ue, be, re) => {
|
|
29009
|
-
V.current || L.current.openEvent && !mO(L.current.openEvent) || v.set("positionReference",
|
|
29013
|
+
V.current || L.current.openEvent && !mO(L.current.openEvent) || v.set("positionReference", Vz(re ?? O, {
|
|
29010
29014
|
x: ue,
|
|
29011
29015
|
y: be,
|
|
29012
29016
|
axis: g,
|
|
@@ -29055,26 +29059,26 @@ function Vz(f, d = {}) {
|
|
|
29055
29059
|
trigger: ne
|
|
29056
29060
|
} : {}, [p, ne]);
|
|
29057
29061
|
}
|
|
29058
|
-
const
|
|
29062
|
+
const Gz = {
|
|
29059
29063
|
intentional: "onClick",
|
|
29060
29064
|
sloppy: "onPointerDown"
|
|
29061
29065
|
};
|
|
29062
|
-
function
|
|
29066
|
+
function Xz() {
|
|
29063
29067
|
return !1;
|
|
29064
29068
|
}
|
|
29065
|
-
function
|
|
29069
|
+
function Qz(f) {
|
|
29066
29070
|
return {
|
|
29067
29071
|
escapeKey: typeof f == "boolean" ? f : f?.escapeKey ?? !1,
|
|
29068
29072
|
outsidePress: typeof f == "boolean" ? f : f?.outsidePress ?? !0
|
|
29069
29073
|
};
|
|
29070
29074
|
}
|
|
29071
|
-
function
|
|
29075
|
+
function Zz(f, d = {}) {
|
|
29072
29076
|
const {
|
|
29073
29077
|
enabled: p = !0,
|
|
29074
29078
|
escapeKey: g = !0,
|
|
29075
29079
|
outsidePress: v = !0,
|
|
29076
29080
|
outsidePressEvent: E = "sloppy",
|
|
29077
|
-
referencePress: R =
|
|
29081
|
+
referencePress: R = Xz,
|
|
29078
29082
|
referencePressEvent: O = "sloppy",
|
|
29079
29083
|
bubbles: L,
|
|
29080
29084
|
externalTree: V
|
|
@@ -29083,7 +29087,7 @@ function Qz(f, d = {}) {
|
|
|
29083
29087
|
} = D.context, C = fb(V), G = Ft(typeof v == "function" ? v : () => !1), Q = typeof v == "function" ? G : v, te = Q !== !1, P = Ft(() => E), {
|
|
29084
29088
|
escapeKey: ne,
|
|
29085
29089
|
outsidePress: ue
|
|
29086
|
-
} =
|
|
29090
|
+
} = Qz(L), be = I.useRef(!1), re = I.useRef(!1), de = I.useRef(!1), pe = I.useRef(!1), Ce = I.useRef(""), ce = I.useRef(null), xe = u0(), Oe = u0(), Se = Ft(() => {
|
|
29087
29091
|
Oe.clear(), w.current.insideReactTree = !1;
|
|
29088
29092
|
}), _e = Ft((ye) => {
|
|
29089
29093
|
const Ee = w.current.floatingContext?.nodeId;
|
|
@@ -29093,7 +29097,7 @@ function Qz(f, d = {}) {
|
|
|
29093
29097
|
}), Z = Ft((ye) => {
|
|
29094
29098
|
if (!_ || !p || !g || ye.key !== "Escape" || pe.current || !ne && _e("__escapeKeyBubbles"))
|
|
29095
29099
|
return;
|
|
29096
|
-
const Ee =
|
|
29100
|
+
const Ee = jC(ye) ? ye.nativeEvent : ye, Ve = $n(SE, Ee);
|
|
29097
29101
|
D.setOpen(!1, Ve), Ve.isCanceled || ye.preventDefault(), !ne && !Ve.isPropagationAllowed && ye.stopPropagation();
|
|
29098
29102
|
}), K = Ft(() => {
|
|
29099
29103
|
w.current.insideReactTree = !0, Oe.start(0, Se);
|
|
@@ -29162,7 +29166,7 @@ function Qz(f, d = {}) {
|
|
|
29162
29166
|
break;
|
|
29163
29167
|
tu = Wn;
|
|
29164
29168
|
}
|
|
29165
|
-
if (!(Uu.length && dt(He) && !
|
|
29169
|
+
if (!(Uu.length && dt(He) && !QC(He) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
|
|
29166
29170
|
!Un(He, D.select("floatingElement")) && // If the target root element contains none of the markers, then the
|
|
29167
29171
|
// element was injected after the floating element rendered.
|
|
29168
29172
|
Uu.every((Wn) => !Un(tu, Wn)))) {
|
|
@@ -29176,7 +29180,7 @@ function Qz(f, d = {}) {
|
|
|
29176
29180
|
Ee.clear(), de.current = !1;
|
|
29177
29181
|
return;
|
|
29178
29182
|
}
|
|
29179
|
-
typeof Q == "function" && !Q(we) || _e("__outsidePressBubbles") || (D.setOpen(!1, $n(
|
|
29183
|
+
typeof Q == "function" && !Q(we) || _e("__outsidePressBubbles") || (D.setOpen(!1, $n(FC, we)), Se());
|
|
29180
29184
|
}
|
|
29181
29185
|
}
|
|
29182
29186
|
}
|
|
@@ -29256,7 +29260,7 @@ function Qz(f, d = {}) {
|
|
|
29256
29260
|
}, [w, N, g, te, Q, _, p, ne, ue, Z, Se, P, _e, ge, C, D, xe]), I.useEffect(Se, [Q, Se]);
|
|
29257
29261
|
const $ = I.useMemo(() => ({
|
|
29258
29262
|
onKeyDown: Z,
|
|
29259
|
-
[
|
|
29263
|
+
[Gz[O]]: z,
|
|
29260
29264
|
...O !== "intentional" && {
|
|
29261
29265
|
onClick: z
|
|
29262
29266
|
}
|
|
@@ -29332,7 +29336,7 @@ function pO(f, d, p) {
|
|
|
29332
29336
|
}
|
|
29333
29337
|
return w;
|
|
29334
29338
|
}
|
|
29335
|
-
async function
|
|
29339
|
+
async function Jz(f, d) {
|
|
29336
29340
|
var p;
|
|
29337
29341
|
d === void 0 && (d = {});
|
|
29338
29342
|
const {
|
|
@@ -29348,7 +29352,7 @@ async function Zz(f, d) {
|
|
|
29348
29352
|
elementContext: _ = "floating",
|
|
29349
29353
|
altBoundary: N = !1,
|
|
29350
29354
|
padding: w = 0
|
|
29351
|
-
} = fs(d, f), C =
|
|
29355
|
+
} = fs(d, f), C = lA(w), Q = O[N ? _ === "floating" ? "reference" : "floating" : _], te = eb(await E.getClippingRect({
|
|
29352
29356
|
element: (p = await (E.isElement == null ? void 0 : E.isElement(Q))) == null || p ? Q : Q.contextElement || await (E.getDocumentElement == null ? void 0 : E.getDocumentElement(O.floating)),
|
|
29353
29357
|
boundary: V,
|
|
29354
29358
|
rootBoundary: D,
|
|
@@ -29377,7 +29381,7 @@ async function Zz(f, d) {
|
|
|
29377
29381
|
right: (be.right - te.right + C.right) / ue.x
|
|
29378
29382
|
};
|
|
29379
29383
|
}
|
|
29380
|
-
const
|
|
29384
|
+
const Kz = 50, $z = async (f, d, p) => {
|
|
29381
29385
|
const {
|
|
29382
29386
|
placement: g = "bottom",
|
|
29383
29387
|
strategy: v = "absolute",
|
|
@@ -29385,7 +29389,7 @@ const Jz = 50, Kz = async (f, d, p) => {
|
|
|
29385
29389
|
platform: R
|
|
29386
29390
|
} = p, O = R.detectOverflow ? R : {
|
|
29387
29391
|
...R,
|
|
29388
|
-
detectOverflow:
|
|
29392
|
+
detectOverflow: Jz
|
|
29389
29393
|
}, L = await (R.isRTL == null ? void 0 : R.isRTL(d));
|
|
29390
29394
|
let V = await R.getElementRects({
|
|
29391
29395
|
reference: f,
|
|
@@ -29425,7 +29429,7 @@ const Jz = 50, Kz = async (f, d, p) => {
|
|
|
29425
29429
|
D = ne ?? D, _ = ue ?? _, C[te] = {
|
|
29426
29430
|
...C[te],
|
|
29427
29431
|
...be
|
|
29428
|
-
}, re && w <
|
|
29432
|
+
}, re && w < Kz && (w++, typeof re == "object" && (re.placement && (N = re.placement), re.rects && (V = re.rects === !0 ? await R.getElementRects({
|
|
29429
29433
|
reference: f,
|
|
29430
29434
|
floating: d,
|
|
29431
29435
|
strategy: v
|
|
@@ -29441,7 +29445,7 @@ const Jz = 50, Kz = async (f, d, p) => {
|
|
|
29441
29445
|
strategy: v,
|
|
29442
29446
|
middlewareData: C
|
|
29443
29447
|
};
|
|
29444
|
-
},
|
|
29448
|
+
}, kz = function(f) {
|
|
29445
29449
|
return f === void 0 && (f = {}), {
|
|
29446
29450
|
name: "flip",
|
|
29447
29451
|
options: f,
|
|
@@ -29465,12 +29469,12 @@ const Jz = 50, Kz = async (f, d, p) => {
|
|
|
29465
29469
|
} = fs(f, d);
|
|
29466
29470
|
if ((p = E.arrow) != null && p.alignmentOffset)
|
|
29467
29471
|
return {};
|
|
29468
|
-
const te = Ia(v), P = Ri(O), ne = Ia(O) === O, ue = await (L.isRTL == null ? void 0 : L.isRTL(V.floating)), be = N || (ne || !G ? [PS(O)] :
|
|
29469
|
-
!N && re && be.push(...
|
|
29472
|
+
const te = Ia(v), P = Ri(O), ne = Ia(O) === O, ue = await (L.isRTL == null ? void 0 : L.isRTL(V.floating)), be = N || (ne || !G ? [PS(O)] : dz(O)), re = C !== "none";
|
|
29473
|
+
!N && re && be.push(...gz(O, G, C, ue));
|
|
29470
29474
|
const de = [O, ...be], pe = await L.detectOverflow(d, Q), Ce = [];
|
|
29471
29475
|
let ce = ((g = E.flip) == null ? void 0 : g.overflows) || [];
|
|
29472
29476
|
if (D && Ce.push(pe[te]), _) {
|
|
29473
|
-
const _e =
|
|
29477
|
+
const _e = rz(v, R, ue);
|
|
29474
29478
|
Ce.push(pe[_e[0]], pe[_e[1]]);
|
|
29475
29479
|
}
|
|
29476
29480
|
if (ce = [...ce, {
|
|
@@ -29532,9 +29536,9 @@ function gO(f, d) {
|
|
|
29532
29536
|
};
|
|
29533
29537
|
}
|
|
29534
29538
|
function yO(f) {
|
|
29535
|
-
return
|
|
29539
|
+
return sz.some((d) => f[d] >= 0);
|
|
29536
29540
|
}
|
|
29537
|
-
const
|
|
29541
|
+
const Fz = function(f) {
|
|
29538
29542
|
return f === void 0 && (f = {}), {
|
|
29539
29543
|
name: "hide",
|
|
29540
29544
|
options: f,
|
|
@@ -29576,13 +29580,13 @@ const kz = function(f) {
|
|
|
29576
29580
|
}
|
|
29577
29581
|
}
|
|
29578
29582
|
};
|
|
29579
|
-
},
|
|
29580
|
-
async function
|
|
29583
|
+
}, hA = /* @__PURE__ */ new Set(["left", "top"]);
|
|
29584
|
+
async function Wz(f, d) {
|
|
29581
29585
|
const {
|
|
29582
29586
|
placement: p,
|
|
29583
29587
|
platform: g,
|
|
29584
29588
|
elements: v
|
|
29585
|
-
} = f, E = await (g.isRTL == null ? void 0 : g.isRTL(v.floating)), R = Ia(p), O = Jf(p), L = Ri(p) === "y", V =
|
|
29589
|
+
} = f, E = await (g.isRTL == null ? void 0 : g.isRTL(v.floating)), R = Ia(p), O = Jf(p), L = Ri(p) === "y", V = hA.has(R) ? -1 : 1, D = E && L ? -1 : 1, _ = fs(d, f);
|
|
29586
29590
|
let {
|
|
29587
29591
|
mainAxis: N,
|
|
29588
29592
|
crossAxis: w,
|
|
@@ -29604,7 +29608,7 @@ async function Fz(f, d) {
|
|
|
29604
29608
|
y: w * D
|
|
29605
29609
|
};
|
|
29606
29610
|
}
|
|
29607
|
-
const
|
|
29611
|
+
const Iz = function(f) {
|
|
29608
29612
|
return f === void 0 && (f = 0), {
|
|
29609
29613
|
name: "offset",
|
|
29610
29614
|
options: f,
|
|
@@ -29615,7 +29619,7 @@ const Wz = function(f) {
|
|
|
29615
29619
|
y: E,
|
|
29616
29620
|
placement: R,
|
|
29617
29621
|
middlewareData: O
|
|
29618
|
-
} = d, L = await
|
|
29622
|
+
} = d, L = await Wz(d, f);
|
|
29619
29623
|
return R === ((p = O.offset) == null ? void 0 : p.placement) && (g = O.arrow) != null && g.alignmentOffset ? {} : {
|
|
29620
29624
|
x: v + L.x,
|
|
29621
29625
|
y: E + L.y,
|
|
@@ -29626,7 +29630,7 @@ const Wz = function(f) {
|
|
|
29626
29630
|
};
|
|
29627
29631
|
}
|
|
29628
29632
|
};
|
|
29629
|
-
},
|
|
29633
|
+
}, Pz = function(f) {
|
|
29630
29634
|
return f === void 0 && (f = {}), {
|
|
29631
29635
|
name: "shift",
|
|
29632
29636
|
options: f,
|
|
@@ -29683,7 +29687,7 @@ const Wz = function(f) {
|
|
|
29683
29687
|
};
|
|
29684
29688
|
}
|
|
29685
29689
|
};
|
|
29686
|
-
},
|
|
29690
|
+
}, e3 = function(f) {
|
|
29687
29691
|
return f === void 0 && (f = {}), {
|
|
29688
29692
|
options: f,
|
|
29689
29693
|
fn(d) {
|
|
@@ -29716,7 +29720,7 @@ const Wz = function(f) {
|
|
|
29716
29720
|
}
|
|
29717
29721
|
if (V) {
|
|
29718
29722
|
var te, P;
|
|
29719
|
-
const ne = N === "y" ? "width" : "height", ue =
|
|
29723
|
+
const ne = N === "y" ? "width" : "height", ue = hA.has(Ia(v)), be = E.reference[_] - E.floating[ne] + (ue && ((te = R.offset) == null ? void 0 : te[_]) || 0) + (ue ? 0 : Q.crossAxis), re = E.reference[_] + E.reference[ne] + (ue ? 0 : ((P = R.offset) == null ? void 0 : P[_]) || 0) - (ue ? Q.crossAxis : 0);
|
|
29720
29724
|
C < be ? C = be : C > re && (C = re);
|
|
29721
29725
|
}
|
|
29722
29726
|
return {
|
|
@@ -29725,7 +29729,7 @@ const Wz = function(f) {
|
|
|
29725
29729
|
};
|
|
29726
29730
|
}
|
|
29727
29731
|
};
|
|
29728
|
-
},
|
|
29732
|
+
}, t3 = function(f) {
|
|
29729
29733
|
return f === void 0 && (f = {}), {
|
|
29730
29734
|
name: "size",
|
|
29731
29735
|
options: f,
|
|
@@ -29766,7 +29770,7 @@ const Wz = function(f) {
|
|
|
29766
29770
|
}
|
|
29767
29771
|
};
|
|
29768
29772
|
};
|
|
29769
|
-
function
|
|
29773
|
+
function mA(f) {
|
|
29770
29774
|
const d = eu(f);
|
|
29771
29775
|
let p = parseFloat(d.width) || 0, g = parseFloat(d.height) || 0;
|
|
29772
29776
|
const v = ia(f), E = v ? f.offsetWidth : p, R = v ? f.offsetHeight : g, O = IS(p) !== E || IS(g) !== R;
|
|
@@ -29787,22 +29791,22 @@ function tp(f) {
|
|
|
29787
29791
|
width: g,
|
|
29788
29792
|
height: v,
|
|
29789
29793
|
$: E
|
|
29790
|
-
} =
|
|
29794
|
+
} = mA(d);
|
|
29791
29795
|
let R = (E ? IS(p.width) : p.width) / g, O = (E ? IS(p.height) : p.height) / v;
|
|
29792
29796
|
return (!R || !Number.isFinite(R)) && (R = 1), (!O || !Number.isFinite(O)) && (O = 1), {
|
|
29793
29797
|
x: R,
|
|
29794
29798
|
y: O
|
|
29795
29799
|
};
|
|
29796
29800
|
}
|
|
29797
|
-
const
|
|
29798
|
-
function
|
|
29801
|
+
const n3 = /* @__PURE__ */ Ko(0);
|
|
29802
|
+
function pA(f) {
|
|
29799
29803
|
const d = Kl(f);
|
|
29800
|
-
return !ob() || !d.visualViewport ?
|
|
29804
|
+
return !ob() || !d.visualViewport ? n3 : {
|
|
29801
29805
|
x: d.visualViewport.offsetLeft,
|
|
29802
29806
|
y: d.visualViewport.offsetTop
|
|
29803
29807
|
};
|
|
29804
29808
|
}
|
|
29805
|
-
function
|
|
29809
|
+
function l3(f, d, p) {
|
|
29806
29810
|
return d === void 0 && (d = !1), !p || d && p !== Kl(f) ? !1 : d;
|
|
29807
29811
|
}
|
|
29808
29812
|
function Nd(f, d, p, g) {
|
|
@@ -29810,7 +29814,7 @@ function Nd(f, d, p, g) {
|
|
|
29810
29814
|
const v = f.getBoundingClientRect(), E = CE(f);
|
|
29811
29815
|
let R = Ko(1);
|
|
29812
29816
|
d && (g ? dt(g) && (R = tp(g)) : R = tp(f));
|
|
29813
|
-
const O =
|
|
29817
|
+
const O = l3(E, p, g) ? pA(E) : Ko(0);
|
|
29814
29818
|
let L = (v.left + O.x) / R.x, V = (v.top + O.y) / R.y, D = v.width / R.x, _ = v.height / R.y;
|
|
29815
29819
|
if (E) {
|
|
29816
29820
|
const N = Kl(E), w = g && dt(g) ? Kl(g) : g;
|
|
@@ -29831,14 +29835,14 @@ function rb(f, d) {
|
|
|
29831
29835
|
const p = cb(f).scrollLeft;
|
|
29832
29836
|
return d ? d.left + p : Nd($o(f)).left + p;
|
|
29833
29837
|
}
|
|
29834
|
-
function
|
|
29838
|
+
function gA(f, d) {
|
|
29835
29839
|
const p = f.getBoundingClientRect(), g = p.left + d.scrollLeft - rb(f, p), v = p.top + d.scrollTop;
|
|
29836
29840
|
return {
|
|
29837
29841
|
x: g,
|
|
29838
29842
|
y: v
|
|
29839
29843
|
};
|
|
29840
29844
|
}
|
|
29841
|
-
function
|
|
29845
|
+
function a3(f) {
|
|
29842
29846
|
let {
|
|
29843
29847
|
elements: d,
|
|
29844
29848
|
rect: p,
|
|
@@ -29857,7 +29861,7 @@ function l3(f) {
|
|
|
29857
29861
|
const w = Nd(g);
|
|
29858
29862
|
V = tp(g), D.x = w.x + g.clientLeft, D.y = w.y + g.clientTop;
|
|
29859
29863
|
}
|
|
29860
|
-
const N = R && !_ && !E ?
|
|
29864
|
+
const N = R && !_ && !E ? gA(R, L) : Ko(0);
|
|
29861
29865
|
return {
|
|
29862
29866
|
width: p.width * V.x,
|
|
29863
29867
|
height: p.height * V.y,
|
|
@@ -29865,10 +29869,10 @@ function l3(f) {
|
|
|
29865
29869
|
y: p.y * V.y - L.scrollTop * V.y + D.y + N.y
|
|
29866
29870
|
};
|
|
29867
29871
|
}
|
|
29868
|
-
function
|
|
29872
|
+
function u3(f) {
|
|
29869
29873
|
return Array.from(f.getClientRects());
|
|
29870
29874
|
}
|
|
29871
|
-
function
|
|
29875
|
+
function i3(f) {
|
|
29872
29876
|
const d = $o(f), p = cb(f), g = f.ownerDocument.body, v = xu(d.scrollWidth, d.clientWidth, g.scrollWidth, g.clientWidth), E = xu(d.scrollHeight, d.clientHeight, g.scrollHeight, g.clientHeight);
|
|
29873
29877
|
let R = -p.scrollLeft + rb(f);
|
|
29874
29878
|
const O = -p.scrollTop;
|
|
@@ -29880,7 +29884,7 @@ function u3(f) {
|
|
|
29880
29884
|
};
|
|
29881
29885
|
}
|
|
29882
29886
|
const vO = 25;
|
|
29883
|
-
function
|
|
29887
|
+
function o3(f, d) {
|
|
29884
29888
|
const p = Kl(f), g = $o(f), v = p.visualViewport;
|
|
29885
29889
|
let E = g.clientWidth, R = g.clientHeight, O = 0, L = 0;
|
|
29886
29890
|
if (v) {
|
|
@@ -29900,7 +29904,7 @@ function i3(f, d) {
|
|
|
29900
29904
|
y: L
|
|
29901
29905
|
};
|
|
29902
29906
|
}
|
|
29903
|
-
function
|
|
29907
|
+
function c3(f, d) {
|
|
29904
29908
|
const p = Nd(f, !0, d === "fixed"), g = p.top + f.clientTop, v = p.left + f.clientLeft, E = ia(f) ? tp(f) : Ko(1), R = f.clientWidth * E.x, O = f.clientHeight * E.y, L = v * E.x, V = g * E.y;
|
|
29905
29909
|
return {
|
|
29906
29910
|
width: R,
|
|
@@ -29912,13 +29916,13 @@ function o3(f, d) {
|
|
|
29912
29916
|
function SO(f, d, p) {
|
|
29913
29917
|
let g;
|
|
29914
29918
|
if (d === "viewport")
|
|
29915
|
-
g =
|
|
29919
|
+
g = o3(f, p);
|
|
29916
29920
|
else if (d === "document")
|
|
29917
|
-
g =
|
|
29921
|
+
g = i3($o(f));
|
|
29918
29922
|
else if (dt(d))
|
|
29919
|
-
g =
|
|
29923
|
+
g = c3(d, p);
|
|
29920
29924
|
else {
|
|
29921
|
-
const v =
|
|
29925
|
+
const v = pA(f);
|
|
29922
29926
|
g = {
|
|
29923
29927
|
x: d.x - v.x,
|
|
29924
29928
|
y: d.y - v.y,
|
|
@@ -29928,11 +29932,11 @@ function SO(f, d, p) {
|
|
|
29928
29932
|
}
|
|
29929
29933
|
return eb(g);
|
|
29930
29934
|
}
|
|
29931
|
-
function
|
|
29935
|
+
function yA(f, d) {
|
|
29932
29936
|
const p = ss(f);
|
|
29933
|
-
return p === d || !dt(p) || os(p) ? !1 : eu(p).position === "fixed" ||
|
|
29937
|
+
return p === d || !dt(p) || os(p) ? !1 : eu(p).position === "fixed" || yA(p, d);
|
|
29934
29938
|
}
|
|
29935
|
-
function
|
|
29939
|
+
function s3(f, d) {
|
|
29936
29940
|
const p = d.get(f);
|
|
29937
29941
|
if (p)
|
|
29938
29942
|
return p;
|
|
@@ -29941,18 +29945,18 @@ function c3(f, d) {
|
|
|
29941
29945
|
let R = E ? ss(f) : f;
|
|
29942
29946
|
for (; dt(R) && !os(R); ) {
|
|
29943
29947
|
const O = eu(R), L = vE(R);
|
|
29944
|
-
!L && O.position === "fixed" && (v = null), (E ? !L && !v : !L && O.position === "static" && !!v && (v.position === "absolute" || v.position === "fixed") || d0(R) && !L &&
|
|
29948
|
+
!L && O.position === "fixed" && (v = null), (E ? !L && !v : !L && O.position === "static" && !!v && (v.position === "absolute" || v.position === "fixed") || d0(R) && !L && yA(f, R)) ? g = g.filter((D) => D !== R) : v = O, R = ss(R);
|
|
29945
29949
|
}
|
|
29946
29950
|
return d.set(f, g), g;
|
|
29947
29951
|
}
|
|
29948
|
-
function
|
|
29952
|
+
function f3(f) {
|
|
29949
29953
|
let {
|
|
29950
29954
|
element: d,
|
|
29951
29955
|
boundary: p,
|
|
29952
29956
|
rootBoundary: g,
|
|
29953
29957
|
strategy: v
|
|
29954
29958
|
} = f;
|
|
29955
|
-
const R = [...p === "clippingAncestors" ? ib(d) ? [] :
|
|
29959
|
+
const R = [...p === "clippingAncestors" ? ib(d) ? [] : s3(d, this._c) : [].concat(p), g], O = SO(d, R[0], v);
|
|
29956
29960
|
let L = O.top, V = O.right, D = O.bottom, _ = O.left;
|
|
29957
29961
|
for (let N = 1; N < R.length; N++) {
|
|
29958
29962
|
const w = SO(d, R[N], v);
|
|
@@ -29965,17 +29969,17 @@ function s3(f) {
|
|
|
29965
29969
|
y: L
|
|
29966
29970
|
};
|
|
29967
29971
|
}
|
|
29968
|
-
function
|
|
29972
|
+
function r3(f) {
|
|
29969
29973
|
const {
|
|
29970
29974
|
width: d,
|
|
29971
29975
|
height: p
|
|
29972
|
-
} =
|
|
29976
|
+
} = mA(f);
|
|
29973
29977
|
return {
|
|
29974
29978
|
width: d,
|
|
29975
29979
|
height: p
|
|
29976
29980
|
};
|
|
29977
29981
|
}
|
|
29978
|
-
function
|
|
29982
|
+
function d3(f, d, p) {
|
|
29979
29983
|
const g = ia(d), v = $o(d), E = p === "fixed", R = Nd(f, !0, E, d);
|
|
29980
29984
|
let O = {
|
|
29981
29985
|
scrollLeft: 0,
|
|
@@ -29991,7 +29995,7 @@ function r3(f, d, p) {
|
|
|
29991
29995
|
L.x = w.x + d.clientLeft, L.y = w.y + d.clientTop;
|
|
29992
29996
|
} else v && V();
|
|
29993
29997
|
E && !g && v && V();
|
|
29994
|
-
const D = v && !g && !E ?
|
|
29998
|
+
const D = v && !g && !E ? gA(v, O) : Ko(0), _ = R.left + O.scrollLeft - L.x - D.x, N = R.top + O.scrollTop - L.y - D.y;
|
|
29995
29999
|
return {
|
|
29996
30000
|
x: _,
|
|
29997
30001
|
y: N,
|
|
@@ -30010,7 +30014,7 @@ function bO(f, d) {
|
|
|
30010
30014
|
let p = f.offsetParent;
|
|
30011
30015
|
return $o(f) === p && (p = p.ownerDocument.body), p;
|
|
30012
30016
|
}
|
|
30013
|
-
function
|
|
30017
|
+
function vA(f, d) {
|
|
30014
30018
|
const p = Kl(f);
|
|
30015
30019
|
if (ib(f))
|
|
30016
30020
|
return p;
|
|
@@ -30024,14 +30028,14 @@ function yA(f, d) {
|
|
|
30024
30028
|
return p;
|
|
30025
30029
|
}
|
|
30026
30030
|
let g = bO(f, d);
|
|
30027
|
-
for (; g &&
|
|
30031
|
+
for (; g && qC(g) && K1(g); )
|
|
30028
30032
|
g = bO(g, d);
|
|
30029
|
-
return g && os(g) && K1(g) && !vE(g) ? p : g ||
|
|
30033
|
+
return g && os(g) && K1(g) && !vE(g) ? p : g || GC(f) || p;
|
|
30030
30034
|
}
|
|
30031
|
-
const
|
|
30032
|
-
const d = this.getOffsetParent ||
|
|
30035
|
+
const h3 = async function(f) {
|
|
30036
|
+
const d = this.getOffsetParent || vA, p = this.getDimensions, g = await p(f.floating);
|
|
30033
30037
|
return {
|
|
30034
|
-
reference:
|
|
30038
|
+
reference: d3(f.reference, await d(f.floating), f.strategy),
|
|
30035
30039
|
floating: {
|
|
30036
30040
|
x: 0,
|
|
30037
30041
|
y: 0,
|
|
@@ -30040,25 +30044,25 @@ const d3 = async function(f) {
|
|
|
30040
30044
|
}
|
|
30041
30045
|
};
|
|
30042
30046
|
};
|
|
30043
|
-
function
|
|
30047
|
+
function m3(f) {
|
|
30044
30048
|
return eu(f).direction === "rtl";
|
|
30045
30049
|
}
|
|
30046
|
-
const
|
|
30047
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
30050
|
+
const p3 = {
|
|
30051
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: a3,
|
|
30048
30052
|
getDocumentElement: $o,
|
|
30049
|
-
getClippingRect:
|
|
30050
|
-
getOffsetParent:
|
|
30051
|
-
getElementRects:
|
|
30052
|
-
getClientRects:
|
|
30053
|
-
getDimensions:
|
|
30053
|
+
getClippingRect: f3,
|
|
30054
|
+
getOffsetParent: vA,
|
|
30055
|
+
getElementRects: h3,
|
|
30056
|
+
getClientRects: u3,
|
|
30057
|
+
getDimensions: r3,
|
|
30054
30058
|
getScale: tp,
|
|
30055
30059
|
isElement: dt,
|
|
30056
|
-
isRTL:
|
|
30060
|
+
isRTL: m3
|
|
30057
30061
|
};
|
|
30058
|
-
function
|
|
30062
|
+
function SA(f, d) {
|
|
30059
30063
|
return f.x === d.x && f.y === d.y && f.width === d.width && f.height === d.height;
|
|
30060
30064
|
}
|
|
30061
|
-
function
|
|
30065
|
+
function g3(f, d) {
|
|
30062
30066
|
let p = null, g;
|
|
30063
30067
|
const v = $o(f);
|
|
30064
30068
|
function E() {
|
|
@@ -30089,7 +30093,7 @@ function p3(f, d) {
|
|
|
30089
30093
|
R(!1, 1e-7);
|
|
30090
30094
|
}, 1e3);
|
|
30091
30095
|
}
|
|
30092
|
-
de === 1 && !
|
|
30096
|
+
de === 1 && !SA(V, f.getBoundingClientRect()) && R(), ue = !1;
|
|
30093
30097
|
}
|
|
30094
30098
|
try {
|
|
30095
30099
|
p = new IntersectionObserver(be, {
|
|
@@ -30118,7 +30122,7 @@ function EO(f, d, p, g) {
|
|
|
30118
30122
|
passive: !0
|
|
30119
30123
|
}), E && te.addEventListener("resize", p);
|
|
30120
30124
|
});
|
|
30121
|
-
const _ = V && O ?
|
|
30125
|
+
const _ = V && O ? g3(V, p) : null;
|
|
30122
30126
|
let N = -1, w = null;
|
|
30123
30127
|
R && (w = new ResizeObserver((te) => {
|
|
30124
30128
|
let [P] = te;
|
|
@@ -30131,7 +30135,7 @@ function EO(f, d, p, g) {
|
|
|
30131
30135
|
L && Q();
|
|
30132
30136
|
function Q() {
|
|
30133
30137
|
const te = Nd(f);
|
|
30134
|
-
G && !
|
|
30138
|
+
G && !SA(G, te) && p(), G = te, C = requestAnimationFrame(Q);
|
|
30135
30139
|
}
|
|
30136
30140
|
return p(), () => {
|
|
30137
30141
|
var te;
|
|
@@ -30140,21 +30144,21 @@ function EO(f, d, p, g) {
|
|
|
30140
30144
|
}), _?.(), (te = w) == null || te.disconnect(), w = null, L && cancelAnimationFrame(C);
|
|
30141
30145
|
};
|
|
30142
30146
|
}
|
|
30143
|
-
const
|
|
30147
|
+
const y3 = Iz, v3 = Pz, S3 = kz, b3 = t3, E3 = Fz, T3 = e3, O3 = (f, d, p) => {
|
|
30144
30148
|
const g = /* @__PURE__ */ new Map(), v = {
|
|
30145
|
-
platform:
|
|
30149
|
+
platform: p3,
|
|
30146
30150
|
...p
|
|
30147
30151
|
}, E = {
|
|
30148
30152
|
...v.platform,
|
|
30149
30153
|
_c: g
|
|
30150
30154
|
};
|
|
30151
|
-
return
|
|
30155
|
+
return $z(f, d, {
|
|
30152
30156
|
...v,
|
|
30153
30157
|
platform: E
|
|
30154
30158
|
});
|
|
30155
30159
|
};
|
|
30156
|
-
var
|
|
30157
|
-
}, JS =
|
|
30160
|
+
var A3 = typeof document < "u", R3 = function() {
|
|
30161
|
+
}, JS = A3 ? hD : R3;
|
|
30158
30162
|
function tb(f, d) {
|
|
30159
30163
|
if (f === d)
|
|
30160
30164
|
return !0;
|
|
@@ -30185,11 +30189,11 @@ function tb(f, d) {
|
|
|
30185
30189
|
}
|
|
30186
30190
|
return f !== f && d !== d;
|
|
30187
30191
|
}
|
|
30188
|
-
function
|
|
30192
|
+
function bA(f) {
|
|
30189
30193
|
return typeof window > "u" ? 1 : (f.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
30190
30194
|
}
|
|
30191
30195
|
function TO(f, d) {
|
|
30192
|
-
const p =
|
|
30196
|
+
const p = bA(f);
|
|
30193
30197
|
return Math.round(d * p) / p;
|
|
30194
30198
|
}
|
|
30195
30199
|
function $1(f) {
|
|
@@ -30198,7 +30202,7 @@ function $1(f) {
|
|
|
30198
30202
|
d.current = f;
|
|
30199
30203
|
}), d;
|
|
30200
30204
|
}
|
|
30201
|
-
function
|
|
30205
|
+
function D3(f) {
|
|
30202
30206
|
f === void 0 && (f = {});
|
|
30203
30207
|
const {
|
|
30204
30208
|
placement: d = "bottom",
|
|
@@ -30233,7 +30237,7 @@ function R3(f) {
|
|
|
30233
30237
|
strategy: p,
|
|
30234
30238
|
middleware: N
|
|
30235
30239
|
};
|
|
30236
|
-
xe.current && (K.platform = xe.current),
|
|
30240
|
+
xe.current && (K.platform = xe.current), O3(re.current, de.current, K).then((he) => {
|
|
30237
30241
|
const ve = {
|
|
30238
30242
|
...he,
|
|
30239
30243
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -30283,7 +30287,7 @@ function R3(f) {
|
|
|
30283
30287
|
return O ? {
|
|
30284
30288
|
...K,
|
|
30285
30289
|
transform: "translate(" + he + "px, " + ve + "px)",
|
|
30286
|
-
...
|
|
30290
|
+
...bA(z.floating) >= 1.5 && {
|
|
30287
30291
|
willChange: "transform"
|
|
30288
30292
|
}
|
|
30289
30293
|
} : {
|
|
@@ -30300,39 +30304,39 @@ function R3(f) {
|
|
|
30300
30304
|
floatingStyles: Z
|
|
30301
30305
|
}), [D, Se, ge, z, Z]);
|
|
30302
30306
|
}
|
|
30303
|
-
const
|
|
30304
|
-
const p =
|
|
30307
|
+
const C3 = (f, d) => {
|
|
30308
|
+
const p = y3(f);
|
|
30305
30309
|
return {
|
|
30306
30310
|
name: p.name,
|
|
30307
30311
|
fn: p.fn,
|
|
30308
30312
|
options: [f, d]
|
|
30309
30313
|
};
|
|
30310
|
-
},
|
|
30311
|
-
const p =
|
|
30314
|
+
}, z3 = (f, d) => {
|
|
30315
|
+
const p = v3(f);
|
|
30312
30316
|
return {
|
|
30313
30317
|
name: p.name,
|
|
30314
30318
|
fn: p.fn,
|
|
30315
30319
|
options: [f, d]
|
|
30316
30320
|
};
|
|
30317
|
-
},
|
|
30318
|
-
fn:
|
|
30321
|
+
}, M3 = (f, d) => ({
|
|
30322
|
+
fn: T3(f).fn,
|
|
30319
30323
|
options: [f, d]
|
|
30320
|
-
}),
|
|
30321
|
-
const p =
|
|
30324
|
+
}), x3 = (f, d) => {
|
|
30325
|
+
const p = S3(f);
|
|
30322
30326
|
return {
|
|
30323
30327
|
name: p.name,
|
|
30324
30328
|
fn: p.fn,
|
|
30325
30329
|
options: [f, d]
|
|
30326
30330
|
};
|
|
30327
|
-
},
|
|
30328
|
-
const p =
|
|
30331
|
+
}, _3 = (f, d) => {
|
|
30332
|
+
const p = b3(f);
|
|
30329
30333
|
return {
|
|
30330
30334
|
name: p.name,
|
|
30331
30335
|
fn: p.fn,
|
|
30332
30336
|
options: [f, d]
|
|
30333
30337
|
};
|
|
30334
|
-
},
|
|
30335
|
-
const p =
|
|
30338
|
+
}, U3 = (f, d) => {
|
|
30339
|
+
const p = E3(f);
|
|
30336
30340
|
return {
|
|
30337
30341
|
name: p.name,
|
|
30338
30342
|
fn: p.fn,
|
|
@@ -30353,7 +30357,7 @@ const D3 = (f, d) => {
|
|
|
30353
30357
|
};
|
|
30354
30358
|
var VS = { exports: {} }, k1 = {};
|
|
30355
30359
|
var OO;
|
|
30356
|
-
function
|
|
30360
|
+
function H3() {
|
|
30357
30361
|
if (OO) return k1;
|
|
30358
30362
|
OO = 1;
|
|
30359
30363
|
var f = wd;
|
|
@@ -30395,7 +30399,7 @@ function U3() {
|
|
|
30395
30399
|
}
|
|
30396
30400
|
var F1 = {};
|
|
30397
30401
|
var AO;
|
|
30398
|
-
function
|
|
30402
|
+
function N3() {
|
|
30399
30403
|
return AO || (AO = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30400
30404
|
function f(w, C) {
|
|
30401
30405
|
return w === C && (w !== 0 || 1 / w === 1 / C) || w !== w && C !== C;
|
|
@@ -30449,11 +30453,11 @@ function H3() {
|
|
|
30449
30453
|
}
|
|
30450
30454
|
var RO;
|
|
30451
30455
|
function zE() {
|
|
30452
|
-
return RO || (RO = 1, process.env.NODE_ENV === "production" ? VS.exports =
|
|
30456
|
+
return RO || (RO = 1, process.env.NODE_ENV === "production" ? VS.exports = H3() : VS.exports = N3()), VS.exports;
|
|
30453
30457
|
}
|
|
30454
|
-
var
|
|
30458
|
+
var EA = zE(), LS = { exports: {} }, W1 = {};
|
|
30455
30459
|
var DO;
|
|
30456
|
-
function
|
|
30460
|
+
function w3() {
|
|
30457
30461
|
if (DO) return W1;
|
|
30458
30462
|
DO = 1;
|
|
30459
30463
|
var f = wd, d = zE();
|
|
@@ -30505,7 +30509,7 @@ function N3() {
|
|
|
30505
30509
|
}
|
|
30506
30510
|
var I1 = {};
|
|
30507
30511
|
var CO;
|
|
30508
|
-
function
|
|
30512
|
+
function B3() {
|
|
30509
30513
|
return CO || (CO = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30510
30514
|
function f(V, D) {
|
|
30511
30515
|
return V === D && (V !== 0 || 1 / V === 1 / D) || V !== V && D !== D;
|
|
@@ -30557,19 +30561,19 @@ function w3() {
|
|
|
30557
30561
|
})()), I1;
|
|
30558
30562
|
}
|
|
30559
30563
|
var zO;
|
|
30560
|
-
function
|
|
30561
|
-
return zO || (zO = 1, process.env.NODE_ENV === "production" ? LS.exports =
|
|
30564
|
+
function j3() {
|
|
30565
|
+
return zO || (zO = 1, process.env.NODE_ENV === "production" ? LS.exports = w3() : LS.exports = B3()), LS.exports;
|
|
30562
30566
|
}
|
|
30563
|
-
var
|
|
30564
|
-
const
|
|
30565
|
-
function
|
|
30566
|
-
return
|
|
30567
|
+
var Y3 = j3();
|
|
30568
|
+
const q3 = QO(19), V3 = q3 ? G3 : X3;
|
|
30569
|
+
function TA(f, d, p, g, v) {
|
|
30570
|
+
return V3(f, d, p, g, v);
|
|
30567
30571
|
}
|
|
30568
|
-
function
|
|
30572
|
+
function L3(f, d, p, g, v) {
|
|
30569
30573
|
const E = I.useCallback(() => d(f.getSnapshot(), p, g, v), [f, d, p, g, v]);
|
|
30570
|
-
return
|
|
30574
|
+
return EA.useSyncExternalStore(f.subscribe, E, E);
|
|
30571
30575
|
}
|
|
30572
|
-
|
|
30576
|
+
AC({
|
|
30573
30577
|
before(f) {
|
|
30574
30578
|
f.syncIndex = 0, f.didInitialize || (f.syncTick = 1, f.syncHooks = [], f.didChangeStore = !0, f.getSnapshot = () => {
|
|
30575
30579
|
let d = !1;
|
|
@@ -30592,13 +30596,13 @@ OC({
|
|
|
30592
30596
|
for (const v of g)
|
|
30593
30597
|
v();
|
|
30594
30598
|
};
|
|
30595
|
-
}),
|
|
30599
|
+
}), EA.useSyncExternalStore(f.subscribe, f.getSnapshot, f.getSnapshot));
|
|
30596
30600
|
}
|
|
30597
30601
|
});
|
|
30598
|
-
function
|
|
30599
|
-
const E =
|
|
30602
|
+
function G3(f, d, p, g, v) {
|
|
30603
|
+
const E = OC();
|
|
30600
30604
|
if (!E)
|
|
30601
|
-
return
|
|
30605
|
+
return L3(f, d, p, g, v);
|
|
30602
30606
|
const R = E.syncIndex;
|
|
30603
30607
|
E.syncIndex += 1;
|
|
30604
30608
|
let O;
|
|
@@ -30612,10 +30616,10 @@ function L3(f, d, p, g, v) {
|
|
|
30612
30616
|
didChange: !1
|
|
30613
30617
|
}, E.syncHooks.push(O)), O.value;
|
|
30614
30618
|
}
|
|
30615
|
-
function
|
|
30616
|
-
return
|
|
30619
|
+
function X3(f, d, p, g, v) {
|
|
30620
|
+
return Y3.useSyncExternalStoreWithSelector(f.subscribe, f.getSnapshot, f.getSnapshot, (E) => d(E, p, g, v));
|
|
30617
30621
|
}
|
|
30618
|
-
class
|
|
30622
|
+
class Q3 {
|
|
30619
30623
|
/**
|
|
30620
30624
|
* The current state of the store.
|
|
30621
30625
|
* This property is updated immediately when the state changes as a result of calling {@link setState}, {@link update}, or {@link set}.
|
|
@@ -30694,10 +30698,10 @@ class X3 {
|
|
|
30694
30698
|
this.setState(d);
|
|
30695
30699
|
}
|
|
30696
30700
|
use(d, p, g, v) {
|
|
30697
|
-
return
|
|
30701
|
+
return TA(this, d, p, g, v);
|
|
30698
30702
|
}
|
|
30699
30703
|
}
|
|
30700
|
-
class
|
|
30704
|
+
class OA extends Q3 {
|
|
30701
30705
|
/**
|
|
30702
30706
|
* Creates a new ReactStore instance.
|
|
30703
30707
|
*
|
|
@@ -30790,7 +30794,7 @@ class TA extends X3 {
|
|
|
30790
30794
|
* @param key Key of the selector to use.
|
|
30791
30795
|
*/
|
|
30792
30796
|
useState(d, p, g, v) {
|
|
30793
|
-
return I.useDebugValue(d),
|
|
30797
|
+
return I.useDebugValue(d), TA(this, this.selectors[d], p, g, v);
|
|
30794
30798
|
}
|
|
30795
30799
|
/**
|
|
30796
30800
|
* Wraps a function with `useStableCallback` to ensure it has a stable reference
|
|
@@ -30801,7 +30805,7 @@ class TA extends X3 {
|
|
|
30801
30805
|
*/
|
|
30802
30806
|
useContextCallback(d, p) {
|
|
30803
30807
|
I.useDebugValue(d);
|
|
30804
|
-
const g = Ft(p ??
|
|
30808
|
+
const g = Ft(p ?? qD);
|
|
30805
30809
|
this.context[d] = g;
|
|
30806
30810
|
}
|
|
30807
30811
|
/**
|
|
@@ -30835,7 +30839,7 @@ class TA extends X3 {
|
|
|
30835
30839
|
});
|
|
30836
30840
|
}
|
|
30837
30841
|
}
|
|
30838
|
-
const
|
|
30842
|
+
const Z3 = {
|
|
30839
30843
|
open: xt((f) => f.open),
|
|
30840
30844
|
transitionStatus: xt((f) => f.transitionStatus),
|
|
30841
30845
|
domReferenceElement: xt((f) => f.domReferenceElement),
|
|
@@ -30843,7 +30847,7 @@ const Q3 = {
|
|
|
30843
30847
|
floatingElement: xt((f) => f.floatingElement),
|
|
30844
30848
|
floatingId: xt((f) => f.floatingId)
|
|
30845
30849
|
};
|
|
30846
|
-
class db extends
|
|
30850
|
+
class db extends OA {
|
|
30847
30851
|
constructor(d) {
|
|
30848
30852
|
const {
|
|
30849
30853
|
syncOnly: p,
|
|
@@ -30861,10 +30865,10 @@ class db extends TA {
|
|
|
30861
30865
|
dataRef: {
|
|
30862
30866
|
current: {}
|
|
30863
30867
|
},
|
|
30864
|
-
events:
|
|
30868
|
+
events: Yz(),
|
|
30865
30869
|
nested: g,
|
|
30866
30870
|
triggerElements: E
|
|
30867
|
-
},
|
|
30871
|
+
}, Z3), this.syncOnly = p;
|
|
30868
30872
|
}
|
|
30869
30873
|
/**
|
|
30870
30874
|
* Syncs the event used by hover logic to distinguish hover-open from click-like interaction.
|
|
@@ -30872,7 +30876,7 @@ class db extends TA {
|
|
|
30872
30876
|
syncOpenEvent = (d, p) => {
|
|
30873
30877
|
(!d || !this.state.open || // Prevent a pending hover-open from overwriting a click-open event, while allowing
|
|
30874
30878
|
// click events to upgrade a hover-open.
|
|
30875
|
-
p != null &&
|
|
30879
|
+
p != null && YC(p)) && (this.context.dataRef.current.openEvent = d ? p : void 0);
|
|
30876
30880
|
};
|
|
30877
30881
|
/**
|
|
30878
30882
|
* Runs the root-owned side effects for an open state change.
|
|
@@ -30902,7 +30906,7 @@ class db extends TA {
|
|
|
30902
30906
|
this.dispatchOpenChange(d, p), this.context.onOpenChange?.(d, p);
|
|
30903
30907
|
};
|
|
30904
30908
|
}
|
|
30905
|
-
function
|
|
30909
|
+
function J3(f) {
|
|
30906
30910
|
const {
|
|
30907
30911
|
popupStore: d,
|
|
30908
30912
|
treatPopupAsFloatingElement: p = !1,
|
|
@@ -30933,7 +30937,7 @@ function Z3(f) {
|
|
|
30933
30937
|
dt(L) && (C.domReferenceElement = L), w.state.positionReference === w.state.referenceElement && (C.positionReference = L), w.update(C);
|
|
30934
30938
|
}, [O, v, L, V, w]), w.context.onOpenChange = _, w.context.nested = E, w;
|
|
30935
30939
|
}
|
|
30936
|
-
function
|
|
30940
|
+
function K3(f, d = !1, p = !1) {
|
|
30937
30941
|
const [g, v] = I.useState(f && d ? "idle" : void 0), [E, R] = I.useState(f);
|
|
30938
30942
|
return f && !E && (R(!0), v("starting")), !f && E && g !== "ending" && !p && v("ending"), !f && !E && g === "ending" && v(void 0), Wt(() => {
|
|
30939
30943
|
if (!f && E && g !== "ending" && p) {
|
|
@@ -30972,20 +30976,20 @@ function J3(f, d = !1, p = !1) {
|
|
|
30972
30976
|
let s0 = /* @__PURE__ */ (function(f) {
|
|
30973
30977
|
return f.startingStyle = "data-starting-style", f.endingStyle = "data-ending-style", f;
|
|
30974
30978
|
})({});
|
|
30975
|
-
const
|
|
30979
|
+
const $3 = {
|
|
30976
30980
|
[s0.startingStyle]: ""
|
|
30977
|
-
}, $3 = {
|
|
30978
|
-
[s0.endingStyle]: ""
|
|
30979
30981
|
}, k3 = {
|
|
30982
|
+
[s0.endingStyle]: ""
|
|
30983
|
+
}, F3 = {
|
|
30980
30984
|
transitionStatus(f) {
|
|
30981
|
-
return f === "starting" ?
|
|
30985
|
+
return f === "starting" ? $3 : f === "ending" ? k3 : null;
|
|
30982
30986
|
}
|
|
30983
30987
|
};
|
|
30984
|
-
function
|
|
30985
|
-
const g =
|
|
30988
|
+
function W3(f, d = !1, p = !0) {
|
|
30989
|
+
const g = iz();
|
|
30986
30990
|
return Ft((v, E = null) => {
|
|
30987
30991
|
g.cancel();
|
|
30988
|
-
const R =
|
|
30992
|
+
const R = qz(f);
|
|
30989
30993
|
if (R == null)
|
|
30990
30994
|
return;
|
|
30991
30995
|
const O = R, L = () => {
|
|
@@ -31027,13 +31031,13 @@ function F3(f, d = !1, p = !0) {
|
|
|
31027
31031
|
g.request(V);
|
|
31028
31032
|
});
|
|
31029
31033
|
}
|
|
31030
|
-
function
|
|
31034
|
+
function AA(f) {
|
|
31031
31035
|
const {
|
|
31032
31036
|
enabled: d = !0,
|
|
31033
31037
|
open: p,
|
|
31034
31038
|
ref: g,
|
|
31035
31039
|
onComplete: v
|
|
31036
|
-
} = f, E = Ft(v), R =
|
|
31040
|
+
} = f, E = Ft(v), R = W3(g, p, !1);
|
|
31037
31041
|
I.useEffect(() => {
|
|
31038
31042
|
if (!d)
|
|
31039
31043
|
return;
|
|
@@ -31043,15 +31047,15 @@ function OA(f) {
|
|
|
31043
31047
|
};
|
|
31044
31048
|
}, [d, p, E, R]);
|
|
31045
31049
|
}
|
|
31046
|
-
const
|
|
31050
|
+
const I3 = {
|
|
31047
31051
|
tabIndex: -1,
|
|
31048
|
-
[
|
|
31052
|
+
[XC]: ""
|
|
31049
31053
|
};
|
|
31050
|
-
function
|
|
31054
|
+
function P3(f, d, p = !1) {
|
|
31051
31055
|
const g = sb(), v = DE() != null, E = I.useRef(null);
|
|
31052
31056
|
f === void 0 && E.current === null && (E.current = d(g, v));
|
|
31053
31057
|
const R = f ?? E.current;
|
|
31054
|
-
return
|
|
31058
|
+
return J3({
|
|
31055
31059
|
popupStore: R,
|
|
31056
31060
|
treatPopupAsFloatingElement: p,
|
|
31057
31061
|
floatingRootContext: R.state.floatingRootContext,
|
|
@@ -31063,7 +31067,7 @@ function I3(f, d, p = !1) {
|
|
|
31063
31067
|
internalStore: E.current
|
|
31064
31068
|
};
|
|
31065
31069
|
}
|
|
31066
|
-
function
|
|
31070
|
+
function eM(f, d) {
|
|
31067
31071
|
const p = I.useRef(null), g = I.useRef(null);
|
|
31068
31072
|
return I.useCallback((v) => {
|
|
31069
31073
|
if (f === void 0)
|
|
@@ -31079,12 +31083,12 @@ function P3(f, d) {
|
|
|
31079
31083
|
}
|
|
31080
31084
|
}, [d, f]);
|
|
31081
31085
|
}
|
|
31082
|
-
function
|
|
31086
|
+
function tM(f, d, p) {
|
|
31083
31087
|
const g = p?.id ?? null;
|
|
31084
31088
|
(g || d) && (f.activeTriggerId = g, f.activeTriggerElement = p ?? null);
|
|
31085
31089
|
}
|
|
31086
|
-
function
|
|
31087
|
-
const v = p.useState("isMountedByTrigger", f), E =
|
|
31090
|
+
function nM(f, d, p, g) {
|
|
31091
|
+
const v = p.useState("isMountedByTrigger", f), E = eM(f, p), R = Ft((O) => {
|
|
31088
31092
|
if (E(O), !O)
|
|
31089
31093
|
return;
|
|
31090
31094
|
const L = p.select("open"), V = p.select("activeTriggerId");
|
|
@@ -31111,7 +31115,7 @@ function tM(f, d, p, g) {
|
|
|
31111
31115
|
isMountedByThisTrigger: v
|
|
31112
31116
|
};
|
|
31113
31117
|
}
|
|
31114
|
-
function
|
|
31118
|
+
function lM(f) {
|
|
31115
31119
|
const d = f.useState("open"), p = f.useState("triggerCount");
|
|
31116
31120
|
Wt(() => {
|
|
31117
31121
|
if (!d) {
|
|
@@ -31129,12 +31133,12 @@ function nM(f) {
|
|
|
31129
31133
|
(v.triggerCount !== void 0 || v.activeTriggerId !== void 0) && f.update(v);
|
|
31130
31134
|
}, [d, f, p]);
|
|
31131
31135
|
}
|
|
31132
|
-
function
|
|
31136
|
+
function aM(f, d, p) {
|
|
31133
31137
|
const {
|
|
31134
31138
|
mounted: g,
|
|
31135
31139
|
setMounted: v,
|
|
31136
31140
|
transitionStatus: E
|
|
31137
|
-
} =
|
|
31141
|
+
} = K3(f);
|
|
31138
31142
|
d.useSyncedValues({
|
|
31139
31143
|
mounted: g,
|
|
31140
31144
|
transitionStatus: E
|
|
@@ -31147,7 +31151,7 @@ function lM(f, d, p) {
|
|
|
31147
31151
|
preventUnmountingOnClose: !1
|
|
31148
31152
|
}), d.context.onOpenChangeComplete?.(!1);
|
|
31149
31153
|
}), O = d.useState("preventUnmountingOnClose");
|
|
31150
|
-
return
|
|
31154
|
+
return AA({
|
|
31151
31155
|
enabled: g && !f && !O,
|
|
31152
31156
|
open: f,
|
|
31153
31157
|
ref: d.context.popupRef,
|
|
@@ -31159,7 +31163,7 @@ function lM(f, d, p) {
|
|
|
31159
31163
|
transitionStatus: E
|
|
31160
31164
|
};
|
|
31161
31165
|
}
|
|
31162
|
-
function
|
|
31166
|
+
function uM(f, d) {
|
|
31163
31167
|
f.useSyncedValues(d), Wt(() => () => {
|
|
31164
31168
|
f.update({
|
|
31165
31169
|
activeTriggerProps: Wa,
|
|
@@ -31229,7 +31233,7 @@ class ME {
|
|
|
31229
31233
|
return this.idMap.size;
|
|
31230
31234
|
}
|
|
31231
31235
|
}
|
|
31232
|
-
function
|
|
31236
|
+
function iM() {
|
|
31233
31237
|
return new db({
|
|
31234
31238
|
open: !1,
|
|
31235
31239
|
transitionStatus: void 0,
|
|
@@ -31242,13 +31246,13 @@ function uM() {
|
|
|
31242
31246
|
onOpenChange: void 0
|
|
31243
31247
|
});
|
|
31244
31248
|
}
|
|
31245
|
-
function
|
|
31249
|
+
function oM() {
|
|
31246
31250
|
return {
|
|
31247
31251
|
open: !1,
|
|
31248
31252
|
openProp: void 0,
|
|
31249
31253
|
mounted: !1,
|
|
31250
31254
|
transitionStatus: void 0,
|
|
31251
|
-
floatingRootContext:
|
|
31255
|
+
floatingRootContext: iM(),
|
|
31252
31256
|
floatingId: void 0,
|
|
31253
31257
|
triggerCount: 0,
|
|
31254
31258
|
preventUnmountingOnClose: !1,
|
|
@@ -31263,7 +31267,7 @@ function iM() {
|
|
|
31263
31267
|
popupProps: Wa
|
|
31264
31268
|
};
|
|
31265
31269
|
}
|
|
31266
|
-
function
|
|
31270
|
+
function cM(f, d, p = !1) {
|
|
31267
31271
|
return new db({
|
|
31268
31272
|
open: !1,
|
|
31269
31273
|
transitionStatus: void 0,
|
|
@@ -31277,13 +31281,13 @@ function oM(f, d, p = !1) {
|
|
|
31277
31281
|
});
|
|
31278
31282
|
}
|
|
31279
31283
|
const a0 = xt((f) => f.triggerIdProp ?? f.activeTriggerId), xE = xt((f) => f.openProp ?? f.open), MO = xt((f) => (f.popupElement?.id ?? f.floatingId) || void 0);
|
|
31280
|
-
function
|
|
31284
|
+
function RA(f, d) {
|
|
31281
31285
|
return d !== void 0 && xE(f) && a0(f) === d;
|
|
31282
31286
|
}
|
|
31283
|
-
function
|
|
31284
|
-
return
|
|
31287
|
+
function sM(f, d) {
|
|
31288
|
+
return RA(f, d) ? !0 : d !== void 0 && xE(f) && a0(f) == null && f.triggerCount === 1;
|
|
31285
31289
|
}
|
|
31286
|
-
const
|
|
31290
|
+
const fM = {
|
|
31287
31291
|
open: xE,
|
|
31288
31292
|
mounted: xt((f) => f.mounted),
|
|
31289
31293
|
transitionStatus: xt((f) => f.transitionStatus),
|
|
@@ -31301,7 +31305,7 @@ const sM = {
|
|
|
31301
31305
|
/**
|
|
31302
31306
|
* Whether the popup is open and was activated by a trigger with the given ID.
|
|
31303
31307
|
*/
|
|
31304
|
-
isOpenedByTrigger: xt((f, d) =>
|
|
31308
|
+
isOpenedByTrigger: xt((f, d) => RA(f, d)),
|
|
31305
31309
|
/**
|
|
31306
31310
|
* Whether the popup is mounted and was activated by a trigger with the given ID.
|
|
31307
31311
|
*/
|
|
@@ -31310,12 +31314,12 @@ const sM = {
|
|
|
31310
31314
|
/**
|
|
31311
31315
|
* Popup id for the trigger that currently owns the open popup.
|
|
31312
31316
|
*/
|
|
31313
|
-
triggerPopupId: xt((f, d) =>
|
|
31317
|
+
triggerPopupId: xt((f, d) => sM(f, d) ? MO(f) : void 0),
|
|
31314
31318
|
popupProps: xt((f) => f.popupProps),
|
|
31315
31319
|
popupElement: xt((f) => f.popupElement),
|
|
31316
31320
|
positionerElement: xt((f) => f.positionerElement)
|
|
31317
31321
|
};
|
|
31318
|
-
function
|
|
31322
|
+
function rM(f) {
|
|
31319
31323
|
const {
|
|
31320
31324
|
open: d = !1,
|
|
31321
31325
|
onOpenChange: p,
|
|
@@ -31344,15 +31348,15 @@ function fM(f) {
|
|
|
31344
31348
|
g.reference !== void 0 && (O.referenceElement = g.reference, O.domReferenceElement = dt(g.reference) ? g.reference : null), g.floating !== void 0 && (O.floatingElement = g.floating), R.update(O);
|
|
31345
31349
|
}, [d, v, g.reference, g.floating, R]), R.context.onOpenChange = p, R.context.nested = E, R;
|
|
31346
31350
|
}
|
|
31347
|
-
function
|
|
31351
|
+
function dM(f = {}) {
|
|
31348
31352
|
const {
|
|
31349
31353
|
nodeId: d,
|
|
31350
31354
|
externalTree: p
|
|
31351
|
-
} = f, g =
|
|
31355
|
+
} = f, g = rM(f), v = f.rootContext || g, E = v.useState("referenceElement"), R = v.useState("floatingElement"), O = v.useState("domReferenceElement"), L = v.useState("open"), V = v.useState("floatingId"), [D, _] = I.useState(null), [N, w] = I.useState(void 0), [C, G] = I.useState(void 0), Q = I.useRef(null), te = fb(p), P = I.useMemo(() => ({
|
|
31352
31356
|
reference: E,
|
|
31353
31357
|
floating: R,
|
|
31354
31358
|
domReference: O
|
|
31355
|
-
}), [E, R, O]), ne =
|
|
31359
|
+
}), [E, R, O]), ne = D3({
|
|
31356
31360
|
...f,
|
|
31357
31361
|
elements: {
|
|
31358
31362
|
...P,
|
|
@@ -31411,8 +31415,8 @@ function rM(f = {}) {
|
|
|
31411
31415
|
rootStore: v
|
|
31412
31416
|
}), [ne, Ce, ce, xe, v]);
|
|
31413
31417
|
}
|
|
31414
|
-
const P1 =
|
|
31415
|
-
function
|
|
31418
|
+
const P1 = UC && WO;
|
|
31419
|
+
function hM(f, d = {}) {
|
|
31416
31420
|
const {
|
|
31417
31421
|
enabled: p = !0,
|
|
31418
31422
|
delay: g
|
|
@@ -31467,9 +31471,9 @@ function dM(f, d = {}) {
|
|
|
31467
31471
|
const G = Qf(w.nativeEvent);
|
|
31468
31472
|
if (dt(G)) {
|
|
31469
31473
|
if (P1 && !w.relatedTarget) {
|
|
31470
|
-
if (!V.current && !
|
|
31474
|
+
if (!V.current && !ZC(G))
|
|
31471
31475
|
return;
|
|
31472
|
-
} else if (!
|
|
31476
|
+
} else if (!KC(G))
|
|
31473
31477
|
return;
|
|
31474
31478
|
}
|
|
31475
31479
|
const Q = kS(w.relatedTarget, v.context.triggerElements), {
|
|
@@ -31518,7 +31522,7 @@ function lb(f) {
|
|
|
31518
31522
|
const d = f.pointerEventsScopeElement;
|
|
31519
31523
|
d && nb.get(d) === f && (f.pointerEventsScopeElement?.style.removeProperty("pointer-events"), f.pointerEventsReferenceElement?.style.removeProperty("pointer-events"), f.pointerEventsFloatingElement?.style.removeProperty("pointer-events"), nb.delete(d)), f.performedPointerEventsMutation = !1, f.pointerEventsScopeElement = null, f.pointerEventsReferenceElement = null, f.pointerEventsFloatingElement = null;
|
|
31520
31524
|
}
|
|
31521
|
-
function
|
|
31525
|
+
function DA(f, d) {
|
|
31522
31526
|
const {
|
|
31523
31527
|
scopeElement: p,
|
|
31524
31528
|
referenceElement: g,
|
|
@@ -31530,14 +31534,14 @@ function UE(f) {
|
|
|
31530
31534
|
const d = f.context.dataRef.current, p = rs(() => d.hoverInteractionState ?? _E.create()).current;
|
|
31531
31535
|
return d.hoverInteractionState || (d.hoverInteractionState = p), gE(d.hoverInteractionState.disposeEffect), d.hoverInteractionState;
|
|
31532
31536
|
}
|
|
31533
|
-
function
|
|
31537
|
+
function mM(f, d = {}) {
|
|
31534
31538
|
const {
|
|
31535
31539
|
enabled: p = !0,
|
|
31536
31540
|
closeDelay: g = 0,
|
|
31537
31541
|
nodeId: v
|
|
31538
31542
|
} = d, E = "rootStore" in f ? f.rootStore : f, R = E.useState("open"), O = E.useState("floatingElement"), L = E.useState("domReferenceElement"), {
|
|
31539
31543
|
dataRef: V
|
|
31540
|
-
} = E.context, D = fb(), _ = DE(), N = UE(E), w = u0(), C = Ft(() =>
|
|
31544
|
+
} = E.context, D = fb(), _ = DE(), N = UE(E), w = u0(), C = Ft(() => eA(V.current.openEvent?.type, N.interactedInside)), G = Ft(() => kC(V.current.openEvent?.type)), Q = Ft(() => {
|
|
31541
31545
|
lb(N);
|
|
31542
31546
|
});
|
|
31543
31547
|
Wt(() => {
|
|
@@ -31547,7 +31551,7 @@ function hM(f, d = {}) {
|
|
|
31547
31551
|
const te = L, P = O, ne = _u(O), ue = D?.nodesRef.current.find((pe) => pe.id === _)?.context?.elements.floating;
|
|
31548
31552
|
ue && (ue.style.pointerEvents = "");
|
|
31549
31553
|
const be = N.pointerEventsScopeElement !== P ? N.pointerEventsScopeElement : null, re = ue !== P ? ue : null, de = N.handleCloseOptions?.getScope?.() ?? be ?? re ?? te.closest("[data-rootownerid]") ?? ne.body;
|
|
31550
|
-
return
|
|
31554
|
+
return DA(N, {
|
|
31551
31555
|
scopeElement: de,
|
|
31552
31556
|
referenceElement: te,
|
|
31553
31557
|
floatingElement: P
|
|
@@ -31569,7 +31573,7 @@ function hM(f, d = {}) {
|
|
|
31569
31573
|
}
|
|
31570
31574
|
function ne(pe) {
|
|
31571
31575
|
const Ce = Qf(pe);
|
|
31572
|
-
if (!
|
|
31576
|
+
if (!JC(Ce)) {
|
|
31573
31577
|
N.interactedInside = !1;
|
|
31574
31578
|
return;
|
|
31575
31579
|
}
|
|
@@ -31605,10 +31609,10 @@ function hM(f, d = {}) {
|
|
|
31605
31609
|
});
|
|
31606
31610
|
}, [p, O, E, V, g, v, C, Q, N, D, _, w]);
|
|
31607
31611
|
}
|
|
31608
|
-
const
|
|
31612
|
+
const pM = {
|
|
31609
31613
|
current: null
|
|
31610
31614
|
};
|
|
31611
|
-
function
|
|
31615
|
+
function gM(f, d = {}) {
|
|
31612
31616
|
const {
|
|
31613
31617
|
enabled: p = !0,
|
|
31614
31618
|
delay: g = 0,
|
|
@@ -31616,7 +31620,7 @@ function pM(f, d = {}) {
|
|
|
31616
31620
|
mouseOnly: E = !1,
|
|
31617
31621
|
restMs: R = 0,
|
|
31618
31622
|
move: O = !0,
|
|
31619
|
-
triggerElementRef: L =
|
|
31623
|
+
triggerElementRef: L = pM,
|
|
31620
31624
|
externalTree: V,
|
|
31621
31625
|
isActiveTrigger: D = !0,
|
|
31622
31626
|
getHandleCloseContext: _,
|
|
@@ -31625,7 +31629,7 @@ function pM(f, d = {}) {
|
|
|
31625
31629
|
} = d, C = "rootStore" in f ? f.rootStore : f, {
|
|
31626
31630
|
dataRef: G,
|
|
31627
31631
|
events: Q
|
|
31628
|
-
} = C.context, te = fb(V), P = UE(C), ne = I.useRef(!1), ue = lo(v), be = lo(g), re = lo(R), de = lo(p), pe = lo(w), Ce = lo(N), ce = Ft(() =>
|
|
31632
|
+
} = C.context, te = fb(V), P = UE(C), ne = I.useRef(!1), ue = lo(v), be = lo(g), re = lo(R), de = lo(p), pe = lo(w), Ce = lo(N), ce = Ft(() => eA(G.current.openEvent?.type, P.interactedInside)), xe = Ft(() => pe.current?.() !== !1), Oe = Ft((ge, z, Z) => {
|
|
31629
31633
|
const K = C.context.triggerElements;
|
|
31630
31634
|
if (K.hasElement(z))
|
|
31631
31635
|
return !ge || !Un(ge, z);
|
|
@@ -31732,7 +31736,7 @@ function pM(f, d = {}) {
|
|
|
31732
31736
|
const Ee = C.select("floatingElement");
|
|
31733
31737
|
if (Ee) {
|
|
31734
31738
|
const Ve = P.handleCloseOptions?.getScope?.() ?? K.ownerDocument.body;
|
|
31735
|
-
|
|
31739
|
+
DA(P, {
|
|
31736
31740
|
scopeElement: Ve,
|
|
31737
31741
|
referenceElement: K,
|
|
31738
31742
|
floatingElement: Ee
|
|
@@ -31756,7 +31760,7 @@ function pM(f, d = {}) {
|
|
|
31756
31760
|
};
|
|
31757
31761
|
}, [p, P, ce, Oe, E, C, re, xe]);
|
|
31758
31762
|
}
|
|
31759
|
-
const xO = 0.1,
|
|
31763
|
+
const xO = 0.1, yM = xO * xO, kt = 0.5;
|
|
31760
31764
|
function GS(f, d, p, g, v, E) {
|
|
31761
31765
|
return g >= d != E >= d && f <= (v - p) * (d - g) / (E - g) + p;
|
|
31762
31766
|
}
|
|
@@ -31764,14 +31768,14 @@ function XS(f, d, p, g, v, E, R, O, L, V) {
|
|
|
31764
31768
|
let D = !1;
|
|
31765
31769
|
return GS(f, d, p, g, v, E) && (D = !D), GS(f, d, v, E, R, O) && (D = !D), GS(f, d, R, O, L, V) && (D = !D), GS(f, d, L, V, p, g) && (D = !D), D;
|
|
31766
31770
|
}
|
|
31767
|
-
function
|
|
31771
|
+
function vM(f, d, p) {
|
|
31768
31772
|
return f >= p.x && f <= p.x + p.width && d >= p.y && d <= p.y + p.height;
|
|
31769
31773
|
}
|
|
31770
31774
|
function QS(f, d, p, g, v, E) {
|
|
31771
31775
|
const R = Math.min(p, v), O = Math.max(p, v), L = Math.min(g, E), V = Math.max(g, E);
|
|
31772
31776
|
return f >= R && f <= O && d >= L && d <= V;
|
|
31773
31777
|
}
|
|
31774
|
-
function
|
|
31778
|
+
function SM(f = {}) {
|
|
31775
31779
|
const {
|
|
31776
31780
|
blockPointerEvents: d = !1
|
|
31777
31781
|
} = f, p = new cs(), g = ({
|
|
@@ -31789,7 +31793,7 @@ function vM(f = {}) {
|
|
|
31789
31793
|
const ue = performance.now(), be = ue - G;
|
|
31790
31794
|
if (w === null || C === null || be === 0)
|
|
31791
31795
|
return w = P, C = ne, G = ue, !1;
|
|
31792
|
-
const re = P - w, de = ne - C, pe = re * re + de * de, Ce = be * be *
|
|
31796
|
+
const re = P - w, de = ne - C, pe = re * re + de * de, Ce = be * be * yM;
|
|
31793
31797
|
return w = P, C = ne, G = ue, pe < Ce;
|
|
31794
31798
|
}
|
|
31795
31799
|
function te() {
|
|
@@ -31842,7 +31846,7 @@ function vM(f = {}) {
|
|
|
31842
31846
|
}
|
|
31843
31847
|
if (Ee)
|
|
31844
31848
|
return;
|
|
31845
|
-
if (N && !
|
|
31849
|
+
if (N && !vM(re, de, _e)) {
|
|
31846
31850
|
Se();
|
|
31847
31851
|
return;
|
|
31848
31852
|
}
|
|
@@ -31881,8 +31885,8 @@ function vM(f = {}) {
|
|
|
31881
31885
|
blockPointerEvents: d
|
|
31882
31886
|
}, g;
|
|
31883
31887
|
}
|
|
31884
|
-
const
|
|
31885
|
-
...
|
|
31888
|
+
const bM = {
|
|
31889
|
+
...fM,
|
|
31886
31890
|
disabled: xt((f) => f.disabled),
|
|
31887
31891
|
instantType: xt((f) => f.instantType),
|
|
31888
31892
|
isInstantPhase: xt((f) => f.isInstantPhase),
|
|
@@ -31893,18 +31897,18 @@ const SM = {
|
|
|
31893
31897
|
closeDelay: xt((f) => f.closeDelay),
|
|
31894
31898
|
hasViewport: xt((f) => f.hasViewport)
|
|
31895
31899
|
};
|
|
31896
|
-
class HE extends
|
|
31900
|
+
class HE extends OA {
|
|
31897
31901
|
constructor(d, p, g = !1) {
|
|
31898
31902
|
const v = new ME(), E = {
|
|
31899
|
-
...
|
|
31903
|
+
...EM(),
|
|
31900
31904
|
...d
|
|
31901
31905
|
};
|
|
31902
|
-
E.floatingRootContext =
|
|
31906
|
+
E.floatingRootContext = cM(v, p, g), super(E, {
|
|
31903
31907
|
popupRef: /* @__PURE__ */ I.createRef(),
|
|
31904
31908
|
onOpenChange: void 0,
|
|
31905
31909
|
onOpenChangeComplete: void 0,
|
|
31906
31910
|
triggerElements: v
|
|
31907
|
-
},
|
|
31911
|
+
}, bM);
|
|
31908
31912
|
}
|
|
31909
31913
|
setOpen = (d, p) => {
|
|
31910
31914
|
const g = p.reason, v = g === Fa, E = d && g === ZS, R = !d && (g === WS || g === SE);
|
|
@@ -31918,7 +31922,7 @@ class HE extends TA {
|
|
|
31918
31922
|
open: d,
|
|
31919
31923
|
openChangeReason: g
|
|
31920
31924
|
};
|
|
31921
|
-
E ? L.instantType = "focus" : R ? L.instantType = "dismiss" : g === Fa && (L.instantType = void 0),
|
|
31925
|
+
E ? L.instantType = "focus" : R ? L.instantType = "dismiss" : g === Fa && (L.instantType = void 0), tM(L, d, p.trigger), this.update(L);
|
|
31922
31926
|
};
|
|
31923
31927
|
v ? Bd.flushSync(O) : O();
|
|
31924
31928
|
};
|
|
@@ -31927,12 +31931,12 @@ class HE extends TA {
|
|
|
31927
31931
|
this.state.floatingRootContext.dispatchOpenChange(!1, $n(WS, d));
|
|
31928
31932
|
}
|
|
31929
31933
|
static useStore(d, p) {
|
|
31930
|
-
return
|
|
31934
|
+
return P3(d, (v, E) => new HE(p, v, E)).store;
|
|
31931
31935
|
}
|
|
31932
31936
|
}
|
|
31933
|
-
function
|
|
31937
|
+
function EM() {
|
|
31934
31938
|
return {
|
|
31935
|
-
...
|
|
31939
|
+
...oM(),
|
|
31936
31940
|
disabled: !1,
|
|
31937
31941
|
instantType: void 0,
|
|
31938
31942
|
isInstantPhase: !1,
|
|
@@ -31944,7 +31948,7 @@ function bM() {
|
|
|
31944
31948
|
hasViewport: !1
|
|
31945
31949
|
};
|
|
31946
31950
|
}
|
|
31947
|
-
const
|
|
31951
|
+
const CA = FO(function(d) {
|
|
31948
31952
|
const {
|
|
31949
31953
|
disabled: p = !1,
|
|
31950
31954
|
defaultOpen: g = !1,
|
|
@@ -31964,7 +31968,7 @@ const DA = kO(function(d) {
|
|
|
31964
31968
|
activeTriggerId: N,
|
|
31965
31969
|
triggerIdProp: _
|
|
31966
31970
|
});
|
|
31967
|
-
|
|
31971
|
+
CC(() => {
|
|
31968
31972
|
v === void 0 && C.state.open === !1 && g === !0 && C.update({
|
|
31969
31973
|
open: !0,
|
|
31970
31974
|
activeTriggerId: N
|
|
@@ -31974,20 +31978,20 @@ const DA = kO(function(d) {
|
|
|
31974
31978
|
C.useSyncedValues({
|
|
31975
31979
|
trackCursorAxis: R,
|
|
31976
31980
|
disableHoverablePopup: E
|
|
31977
|
-
}), C.useSyncedValue("disabled", p),
|
|
31981
|
+
}), C.useSyncedValue("disabled", p), lM(C);
|
|
31978
31982
|
const {
|
|
31979
31983
|
forceUnmount: ue,
|
|
31980
31984
|
transitionStatus: be
|
|
31981
|
-
} =
|
|
31985
|
+
} = aM(Q, C), re = C.useState("isInstantPhase"), de = C.useState("instantType"), pe = C.useState("lastOpenChangeReason"), Ce = I.useRef(null);
|
|
31982
31986
|
Wt(() => {
|
|
31983
|
-
G && p && C.setOpen(!1, $n(
|
|
31987
|
+
G && p && C.setOpen(!1, $n(IC));
|
|
31984
31988
|
}, [G, p, C]), Wt(() => {
|
|
31985
|
-
be === "ending" && pe ===
|
|
31989
|
+
be === "ending" && pe === tA || be !== "ending" && re ? (de !== "delay" && (Ce.current = de), C.set("instantType", "delay")) : Ce.current !== null && (C.set("instantType", Ce.current), Ce.current = null);
|
|
31986
31990
|
}, [be, re, pe, de, C]), Wt(() => {
|
|
31987
31991
|
Q && te == null && C.set("payload", void 0);
|
|
31988
31992
|
}, [C, te, Q]);
|
|
31989
31993
|
const ce = I.useCallback(() => {
|
|
31990
|
-
C.setOpen(!1, $n(
|
|
31994
|
+
C.setOpen(!1, $n(PC));
|
|
31991
31995
|
}, [C]);
|
|
31992
31996
|
I.useImperativeHandle(O, () => ({
|
|
31993
31997
|
unmount: ue,
|
|
@@ -31996,7 +32000,7 @@ const DA = kO(function(d) {
|
|
|
31996
32000
|
const xe = Q || P || !p && R !== "none";
|
|
31997
32001
|
return /* @__PURE__ */ Xe.jsxs(pE.Provider, {
|
|
31998
32002
|
value: C,
|
|
31999
|
-
children: [xe && /* @__PURE__ */ Xe.jsx(
|
|
32003
|
+
children: [xe && /* @__PURE__ */ Xe.jsx(TM, {
|
|
32000
32004
|
store: C,
|
|
32001
32005
|
disabled: p,
|
|
32002
32006
|
trackCursorAxis: R
|
|
@@ -32005,20 +32009,20 @@ const DA = kO(function(d) {
|
|
|
32005
32009
|
}) : w]
|
|
32006
32010
|
});
|
|
32007
32011
|
});
|
|
32008
|
-
process.env.NODE_ENV !== "production" && (
|
|
32009
|
-
function
|
|
32012
|
+
process.env.NODE_ENV !== "production" && (CA.displayName = "TooltipRoot");
|
|
32013
|
+
function TM({
|
|
32010
32014
|
store: f,
|
|
32011
32015
|
disabled: d,
|
|
32012
32016
|
trackCursorAxis: p
|
|
32013
32017
|
}) {
|
|
32014
|
-
const g = f.useState("floatingRootContext"), v =
|
|
32018
|
+
const g = f.useState("floatingRootContext"), v = Zz(g, {
|
|
32015
32019
|
enabled: !d,
|
|
32016
32020
|
referencePress: () => f.select("closeOnClick")
|
|
32017
|
-
}), E =
|
|
32021
|
+
}), E = Lz(g, {
|
|
32018
32022
|
enabled: !d && p !== "none",
|
|
32019
32023
|
axis: p === "none" ? void 0 : p
|
|
32020
|
-
}), R = I.useMemo(() => ep(E.reference, v.reference), [E.reference, v.reference]), O = I.useMemo(() => ep(E.trigger, v.trigger), [E.trigger, v.trigger]), L = I.useMemo(() => ep(
|
|
32021
|
-
return
|
|
32024
|
+
}), R = I.useMemo(() => ep(E.reference, v.reference), [E.reference, v.reference]), O = I.useMemo(() => ep(E.trigger, v.trigger), [E.trigger, v.trigger]), L = I.useMemo(() => ep(I3, E.floating, v.floating), [E.floating, v.floating]);
|
|
32025
|
+
return uM(f, {
|
|
32022
32026
|
activeTriggerProps: R,
|
|
32023
32027
|
inactiveTriggerProps: O,
|
|
32024
32028
|
popupProps: L
|
|
@@ -32026,41 +32030,41 @@ function EM({
|
|
|
32026
32030
|
}
|
|
32027
32031
|
let NE = (function(f) {
|
|
32028
32032
|
return f.open = "data-open", f.closed = "data-closed", f[f.startingStyle = s0.startingStyle] = "startingStyle", f[f.endingStyle = s0.endingStyle] = "endingStyle", f.anchorHidden = "data-anchor-hidden", f.side = "data-side", f.align = "data-align", f;
|
|
32029
|
-
})({}),
|
|
32033
|
+
})({}), zA = /* @__PURE__ */ (function(f) {
|
|
32030
32034
|
return f.popupOpen = "data-popup-open", f.pressed = "data-pressed", f;
|
|
32031
32035
|
})({});
|
|
32032
|
-
const
|
|
32033
|
-
[
|
|
32034
|
-
}, OM = {
|
|
32035
|
-
[NE.open]: ""
|
|
32036
|
+
const OM = {
|
|
32037
|
+
[zA.popupOpen]: ""
|
|
32036
32038
|
}, AM = {
|
|
32037
|
-
[NE.
|
|
32039
|
+
[NE.open]: ""
|
|
32038
32040
|
}, RM = {
|
|
32039
|
-
[NE.
|
|
32041
|
+
[NE.closed]: ""
|
|
32040
32042
|
}, DM = {
|
|
32043
|
+
[NE.anchorHidden]: ""
|
|
32044
|
+
}, CM = {
|
|
32041
32045
|
open(f) {
|
|
32042
|
-
return f ?
|
|
32046
|
+
return f ? OM : null;
|
|
32043
32047
|
}
|
|
32044
32048
|
}, wE = {
|
|
32045
32049
|
open(f) {
|
|
32046
|
-
return f ?
|
|
32050
|
+
return f ? AM : RM;
|
|
32047
32051
|
},
|
|
32048
32052
|
anchorHidden(f) {
|
|
32049
|
-
return f ?
|
|
32053
|
+
return f ? DM : null;
|
|
32050
32054
|
}
|
|
32051
32055
|
};
|
|
32052
|
-
function
|
|
32056
|
+
function zM(f) {
|
|
32053
32057
|
return sb(f, "base-ui");
|
|
32054
32058
|
}
|
|
32055
|
-
const
|
|
32056
|
-
process.env.NODE_ENV !== "production" && (
|
|
32057
|
-
function
|
|
32058
|
-
return I.useContext(
|
|
32059
|
+
const MA = /* @__PURE__ */ I.createContext(void 0);
|
|
32060
|
+
process.env.NODE_ENV !== "production" && (MA.displayName = "TooltipProviderContext");
|
|
32061
|
+
function MM() {
|
|
32062
|
+
return I.useContext(MA);
|
|
32059
32063
|
}
|
|
32060
|
-
let
|
|
32061
|
-
return f[f.popupOpen =
|
|
32064
|
+
let xM = (function(f) {
|
|
32065
|
+
return f[f.popupOpen = zA.popupOpen] = "popupOpen", f.triggerDisabled = "data-trigger-disabled", f;
|
|
32062
32066
|
})({});
|
|
32063
|
-
const
|
|
32067
|
+
const _M = 600, xA = "data-base-ui-tooltip-trigger";
|
|
32064
32068
|
function _O(f) {
|
|
32065
32069
|
if ("composedPath" in f) {
|
|
32066
32070
|
const p = f.composedPath();
|
|
@@ -32073,10 +32077,10 @@ function _O(f) {
|
|
|
32073
32077
|
const d = f.target;
|
|
32074
32078
|
return dt(d) ? d : null;
|
|
32075
32079
|
}
|
|
32076
|
-
function
|
|
32080
|
+
function UM(f) {
|
|
32077
32081
|
let d = f;
|
|
32078
32082
|
for (; d; ) {
|
|
32079
|
-
if (d.hasAttribute(
|
|
32083
|
+
if (d.hasAttribute(xA))
|
|
32080
32084
|
return d;
|
|
32081
32085
|
const p = d.parentElement;
|
|
32082
32086
|
if (p) {
|
|
@@ -32088,7 +32092,7 @@ function _M(f) {
|
|
|
32088
32092
|
}
|
|
32089
32093
|
return null;
|
|
32090
32094
|
}
|
|
32091
|
-
const
|
|
32095
|
+
const _A = RC(function(d, p) {
|
|
32092
32096
|
const {
|
|
32093
32097
|
render: g,
|
|
32094
32098
|
className: v,
|
|
@@ -32104,18 +32108,18 @@ const xA = AC(function(d, p) {
|
|
|
32104
32108
|
} = d, C = f0(!0), G = R?.store ?? C;
|
|
32105
32109
|
if (!G)
|
|
32106
32110
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle." : ap(82));
|
|
32107
|
-
const Q =
|
|
32111
|
+
const Q = zM(N), te = G.useState("isTriggerActive", Q), P = G.useState("isOpenedByTrigger", Q), ne = G.useState("floatingRootContext"), ue = I.useRef(null), be = V ?? _M, re = _ ?? 0, {
|
|
32108
32112
|
registerTrigger: de,
|
|
32109
32113
|
isMountedByThisTrigger: pe
|
|
32110
|
-
} =
|
|
32114
|
+
} = nM(Q, ue, G, {
|
|
32111
32115
|
payload: O,
|
|
32112
32116
|
closeOnClick: D,
|
|
32113
32117
|
closeDelay: re
|
|
32114
|
-
}), Ce =
|
|
32118
|
+
}), Ce = MM(), {
|
|
32115
32119
|
delayRef: ce,
|
|
32116
32120
|
isInstantPhase: xe,
|
|
32117
32121
|
hasProvider: Oe
|
|
32118
|
-
} =
|
|
32122
|
+
} = ez(ne, {
|
|
32119
32123
|
open: P
|
|
32120
32124
|
}), Se = UE(ne);
|
|
32121
32125
|
G.useSyncedValue("isInstantPhase", xe);
|
|
@@ -32129,18 +32133,18 @@ const xA = AC(function(d, p) {
|
|
|
32129
32133
|
const Yt = ue.current;
|
|
32130
32134
|
if (!Yt || !We)
|
|
32131
32135
|
return !1;
|
|
32132
|
-
const _t =
|
|
32136
|
+
const _t = UM(We);
|
|
32133
32137
|
return _t !== null && _t !== Yt && Un(Yt, _t);
|
|
32134
32138
|
}
|
|
32135
32139
|
function Ee(We) {
|
|
32136
32140
|
const Yt = ye(We);
|
|
32137
32141
|
return he.current = Yt, Yt && (Se.openChangeTimeout.clear(), Se.restTimeout.clear(), Se.restTimeoutPending = !1, ve.clear()), Yt;
|
|
32138
32142
|
}
|
|
32139
|
-
const Ve =
|
|
32143
|
+
const Ve = gM(ne, {
|
|
32140
32144
|
enabled: !ge,
|
|
32141
32145
|
mouseOnly: !0,
|
|
32142
32146
|
move: !1,
|
|
32143
|
-
handleClose: !K && Z !== "both" ?
|
|
32147
|
+
handleClose: !K && Z !== "both" ? SM() : null,
|
|
32144
32148
|
restMs: Te,
|
|
32145
32149
|
delay() {
|
|
32146
32150
|
const We = typeof ce.current == "object" ? ce.current.close : void 0;
|
|
@@ -32155,7 +32159,7 @@ const xA = AC(function(d, p) {
|
|
|
32155
32159
|
shouldOpen() {
|
|
32156
32160
|
return !he.current;
|
|
32157
32161
|
}
|
|
32158
|
-
}), Be =
|
|
32162
|
+
}), Be = hM(ne, {
|
|
32159
32163
|
enabled: !ge
|
|
32160
32164
|
}).reference, Qe = (We) => {
|
|
32161
32165
|
const Yt = he.current, _t = _O(We), kn = Ee(_t), ft = ue.current, oa = ft && _t && Un(ft, _t);
|
|
@@ -32196,22 +32200,22 @@ const xA = AC(function(d, p) {
|
|
|
32196
32200
|
D && !G.select("open") && G.cancelPendingOpen(We.nativeEvent);
|
|
32197
32201
|
},
|
|
32198
32202
|
id: Q,
|
|
32199
|
-
[
|
|
32200
|
-
[
|
|
32203
|
+
[xM.triggerDisabled]: ge ? "" : void 0,
|
|
32204
|
+
[xA]: ge ? void 0 : ""
|
|
32201
32205
|
}, w],
|
|
32202
|
-
stateAttributesMapping:
|
|
32206
|
+
stateAttributesMapping: CM
|
|
32203
32207
|
});
|
|
32204
32208
|
});
|
|
32205
|
-
process.env.NODE_ENV !== "production" && (
|
|
32209
|
+
process.env.NODE_ENV !== "production" && (_A.displayName = "TooltipTrigger");
|
|
32206
32210
|
const BE = /* @__PURE__ */ I.createContext(void 0);
|
|
32207
32211
|
process.env.NODE_ENV !== "production" && (BE.displayName = "TooltipPortalContext");
|
|
32208
|
-
function
|
|
32212
|
+
function HM() {
|
|
32209
32213
|
const f = I.useContext(BE);
|
|
32210
32214
|
if (f === void 0)
|
|
32211
32215
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: <Tooltip.Portal> is missing." : ap(70));
|
|
32212
32216
|
return f;
|
|
32213
32217
|
}
|
|
32214
|
-
const
|
|
32218
|
+
const UA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
32215
32219
|
const {
|
|
32216
32220
|
children: g,
|
|
32217
32221
|
container: v,
|
|
@@ -32222,7 +32226,7 @@ const _A = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32222
32226
|
} = d, {
|
|
32223
32227
|
portalNode: V,
|
|
32224
32228
|
portalSubtree: D
|
|
32225
|
-
} =
|
|
32229
|
+
} = fA({
|
|
32226
32230
|
container: v,
|
|
32227
32231
|
ref: p,
|
|
32228
32232
|
componentProps: d,
|
|
@@ -32232,35 +32236,35 @@ const _A = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32232
32236
|
children: [D, V && /* @__PURE__ */ Bd.createPortal(g, V)]
|
|
32233
32237
|
});
|
|
32234
32238
|
});
|
|
32235
|
-
process.env.NODE_ENV !== "production" && (
|
|
32236
|
-
const
|
|
32239
|
+
process.env.NODE_ENV !== "production" && (UA.displayName = "FloatingPortalLite");
|
|
32240
|
+
const HA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
32237
32241
|
const {
|
|
32238
32242
|
keepMounted: g = !1,
|
|
32239
32243
|
...v
|
|
32240
32244
|
} = d;
|
|
32241
32245
|
return f0().useState("mounted") || g ? /* @__PURE__ */ Xe.jsx(BE.Provider, {
|
|
32242
32246
|
value: g,
|
|
32243
|
-
children: /* @__PURE__ */ Xe.jsx(
|
|
32247
|
+
children: /* @__PURE__ */ Xe.jsx(UA, {
|
|
32244
32248
|
ref: p,
|
|
32245
32249
|
...v
|
|
32246
32250
|
})
|
|
32247
32251
|
}) : null;
|
|
32248
32252
|
});
|
|
32249
|
-
process.env.NODE_ENV !== "production" && (
|
|
32253
|
+
process.env.NODE_ENV !== "production" && (HA.displayName = "TooltipPortal");
|
|
32250
32254
|
const jE = /* @__PURE__ */ I.createContext(void 0);
|
|
32251
32255
|
process.env.NODE_ENV !== "production" && (jE.displayName = "TooltipPositionerContext");
|
|
32252
|
-
function
|
|
32256
|
+
function NA() {
|
|
32253
32257
|
const f = I.useContext(jE);
|
|
32254
32258
|
if (f === void 0)
|
|
32255
32259
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>." : ap(71));
|
|
32256
32260
|
return f;
|
|
32257
32261
|
}
|
|
32258
|
-
const
|
|
32259
|
-
process.env.NODE_ENV !== "production" && (
|
|
32260
|
-
function
|
|
32261
|
-
return I.useContext(
|
|
32262
|
+
const wA = /* @__PURE__ */ I.createContext(void 0);
|
|
32263
|
+
process.env.NODE_ENV !== "production" && (wA.displayName = "DirectionContext");
|
|
32264
|
+
function NM() {
|
|
32265
|
+
return I.useContext(wA)?.direction ?? "ltr";
|
|
32262
32266
|
}
|
|
32263
|
-
const
|
|
32267
|
+
const wM = (f) => ({
|
|
32264
32268
|
name: "arrow",
|
|
32265
32269
|
options: f,
|
|
32266
32270
|
async fn(d) {
|
|
@@ -32279,7 +32283,7 @@ const NM = (f) => ({
|
|
|
32279
32283
|
} = fs(f, d) || {};
|
|
32280
32284
|
if (V == null)
|
|
32281
32285
|
return {};
|
|
32282
|
-
const N =
|
|
32286
|
+
const N = lA(D), w = {
|
|
32283
32287
|
x: p,
|
|
32284
32288
|
y: g
|
|
32285
32289
|
}, C = OE(v), G = TE(C), Q = await R.getDimensions(V), te = C === "y", P = te ? "top" : "left", ne = te ? "bottom" : "right", ue = te ? "clientHeight" : "clientWidth", be = E.reference[G] + E.reference[C] - w[C] - E.floating[G], re = w[C] - E.reference[C], de = _ === "real" ? await R.getOffsetParent?.(V) : O.floating;
|
|
@@ -32298,10 +32302,10 @@ const NM = (f) => ({
|
|
|
32298
32302
|
reset: Z
|
|
32299
32303
|
};
|
|
32300
32304
|
}
|
|
32301
|
-
}),
|
|
32302
|
-
...
|
|
32305
|
+
}), BM = (f, d) => ({
|
|
32306
|
+
...wM(f),
|
|
32303
32307
|
options: [f, d]
|
|
32304
|
-
}),
|
|
32308
|
+
}), jM = {
|
|
32305
32309
|
name: "hide",
|
|
32306
32310
|
async fn(f) {
|
|
32307
32311
|
const {
|
|
@@ -32312,14 +32316,14 @@ const NM = (f) => ({
|
|
|
32312
32316
|
} = f.rects.reference, E = d === 0 && p === 0 && g === 0 && v === 0;
|
|
32313
32317
|
return {
|
|
32314
32318
|
data: {
|
|
32315
|
-
referenceHidden: (await
|
|
32319
|
+
referenceHidden: (await U3().fn(f)).data?.referenceHidden || E
|
|
32316
32320
|
}
|
|
32317
32321
|
};
|
|
32318
32322
|
}
|
|
32319
32323
|
}, KS = {
|
|
32320
32324
|
sideX: "left",
|
|
32321
32325
|
sideY: "top"
|
|
32322
|
-
},
|
|
32326
|
+
}, YM = {
|
|
32323
32327
|
name: "adaptiveOrigin",
|
|
32324
32328
|
async fn(f) {
|
|
32325
32329
|
const {
|
|
@@ -32372,7 +32376,7 @@ const NM = (f) => ({
|
|
|
32372
32376
|
};
|
|
32373
32377
|
}
|
|
32374
32378
|
};
|
|
32375
|
-
function
|
|
32379
|
+
function BA(f, d, p) {
|
|
32376
32380
|
const g = f === "inline-start" || f === "inline-end";
|
|
32377
32381
|
return {
|
|
32378
32382
|
top: "top",
|
|
@@ -32387,7 +32391,7 @@ function UO(f, d, p) {
|
|
|
32387
32391
|
placement: v
|
|
32388
32392
|
} = f;
|
|
32389
32393
|
return {
|
|
32390
|
-
side:
|
|
32394
|
+
side: BA(d, Ia(v), p),
|
|
32391
32395
|
align: Jf(v) || "center",
|
|
32392
32396
|
anchor: {
|
|
32393
32397
|
width: g.reference.width,
|
|
@@ -32399,7 +32403,7 @@ function UO(f, d, p) {
|
|
|
32399
32403
|
}
|
|
32400
32404
|
};
|
|
32401
32405
|
}
|
|
32402
|
-
function
|
|
32406
|
+
function qM(f) {
|
|
32403
32407
|
const {
|
|
32404
32408
|
// Public parameters
|
|
32405
32409
|
anchor: d,
|
|
@@ -32426,7 +32430,7 @@ function YM(f) {
|
|
|
32426
32430
|
externalTree: be
|
|
32427
32431
|
} = f, [re, de] = I.useState(null);
|
|
32428
32432
|
!G && re !== null && de(null);
|
|
32429
|
-
const pe = Q.side || "flip", Ce = Q.align || "flip", ce = Q.fallbackAxisSide || "end", xe = typeof d == "function" ? d : void 0, Oe = Ft(xe), Se = xe ? Oe : d, _e = lo(d), ge = lo(G), Z =
|
|
32433
|
+
const pe = Q.side || "flip", Ce = Q.align || "flip", ce = Q.fallbackAxisSide || "end", xe = typeof d == "function" ? d : void 0, Oe = Ft(xe), Se = xe ? Oe : d, _e = lo(d), ge = lo(G), Z = NM() === "rtl", K = re || {
|
|
32430
32434
|
top: "top",
|
|
32431
32435
|
right: "right",
|
|
32432
32436
|
bottom: "bottom",
|
|
@@ -32451,7 +32455,7 @@ function YM(f) {
|
|
|
32451
32455
|
boundary: O === "clipping-ancestors" ? "clippingAncestors" : O,
|
|
32452
32456
|
padding: ve
|
|
32453
32457
|
}, Qe = I.useRef(null), Rt = lo(v), et = lo(R), Hn = typeof v != "function" ? v : 0, Ae = typeof R != "function" ? R : 0, We = [];
|
|
32454
|
-
N && We.push(N), We.push(
|
|
32458
|
+
N && We.push(N), We.push(C3((Tt) => {
|
|
32455
32459
|
const Pt = UO(Tt, g, Z), ln = typeof Rt.current == "function" ? Rt.current(Pt) : Rt.current, Rn = typeof et.current == "function" ? et.current(Pt) : et.current;
|
|
32456
32460
|
return {
|
|
32457
32461
|
mainAxis: ln,
|
|
@@ -32459,7 +32463,7 @@ function YM(f) {
|
|
|
32459
32463
|
alignmentAxis: Rn
|
|
32460
32464
|
};
|
|
32461
32465
|
}, [Hn, Ae, Z, g]));
|
|
32462
|
-
const Yt = Ce === "none" && pe !== "shift", _t = !Yt && (V || te || pe === "shift"), kn = pe === "none" ? null :
|
|
32466
|
+
const Yt = Ce === "none" && pe !== "shift", _t = !Yt && (V || te || pe === "shift"), kn = pe === "none" ? null : x3({
|
|
32463
32467
|
...Be,
|
|
32464
32468
|
// Ensure the popup flips if it's been limited by its --available-height and it resizes.
|
|
32465
32469
|
// Since the size() padding is smaller than the flip() padding, flip() will take precedence.
|
|
@@ -32472,7 +32476,7 @@ function YM(f) {
|
|
|
32472
32476
|
mainAxis: !te && pe === "flip",
|
|
32473
32477
|
crossAxis: Ce === "flip" ? "alignment" : !1,
|
|
32474
32478
|
fallbackAxisSideDirection: ce
|
|
32475
|
-
}), ft = Yt ? null :
|
|
32479
|
+
}), ft = Yt ? null : z3((Tt) => {
|
|
32476
32480
|
const Pt = _u(Tt.elements.floating).documentElement;
|
|
32477
32481
|
return {
|
|
32478
32482
|
...Be,
|
|
@@ -32486,7 +32490,7 @@ function YM(f) {
|
|
|
32486
32490
|
} : void 0,
|
|
32487
32491
|
mainAxis: Ce !== "none",
|
|
32488
32492
|
crossAxis: _t,
|
|
32489
|
-
limiter: V || te ? void 0 :
|
|
32493
|
+
limiter: V || te ? void 0 : M3((ln) => {
|
|
32490
32494
|
if (!Qe.current)
|
|
32491
32495
|
return {};
|
|
32492
32496
|
const {
|
|
@@ -32499,7 +32503,7 @@ function YM(f) {
|
|
|
32499
32503
|
})
|
|
32500
32504
|
};
|
|
32501
32505
|
}, [Be, V, te, ve, Ce]);
|
|
32502
|
-
pe === "shift" || Ce === "shift" || E === "center" ? We.push(ft, kn) : We.push(kn, ft), We.push(
|
|
32506
|
+
pe === "shift" || Ce === "shift" || E === "center" ? We.push(ft, kn) : We.push(kn, ft), We.push(_3({
|
|
32503
32507
|
...Be,
|
|
32504
32508
|
apply({
|
|
32505
32509
|
elements: {
|
|
@@ -32521,7 +32525,7 @@ function YM(f) {
|
|
|
32521
32525
|
} = Rn.reference, Nu = (Math.round((Vn + Ha) * St) - Math.round(Vn * St)) / St, uo = (Math.round((ca + Ci) * St) - Math.round(ca * St)) / St;
|
|
32522
32526
|
vn.setProperty("--anchor-width", `${Nu}px`), vn.setProperty("--anchor-height", `${uo}px`);
|
|
32523
32527
|
}
|
|
32524
|
-
}),
|
|
32528
|
+
}), BM((Tt) => ({
|
|
32525
32529
|
// `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,
|
|
32526
32530
|
// we'll create a fake element.
|
|
32527
32531
|
element: Qe.current || _u(Tt.elements.floating).createElement("div"),
|
|
@@ -32544,7 +32548,7 @@ function YM(f) {
|
|
|
32544
32548
|
}[Vn], Ut = `${Fl}px ${vn.reference.y + Kf - St}px`;
|
|
32545
32549
|
return Pt.floating.style.setProperty("--transform-origin", _t && ca === "y" && $f ? Ut : sa), {};
|
|
32546
32550
|
}
|
|
32547
|
-
},
|
|
32551
|
+
}, jM, ne), Wt(() => {
|
|
32548
32552
|
!G && C && C.update({
|
|
32549
32553
|
referenceElement: null,
|
|
32550
32554
|
floatingElement: null,
|
|
@@ -32566,7 +32570,7 @@ function YM(f) {
|
|
|
32566
32570
|
context: we,
|
|
32567
32571
|
isPositioned: He,
|
|
32568
32572
|
floatingStyles: An
|
|
32569
|
-
} =
|
|
32573
|
+
} = dM({
|
|
32570
32574
|
rootContext: C,
|
|
32571
32575
|
open: w ? G : void 0,
|
|
32572
32576
|
placement: he,
|
|
@@ -32603,7 +32607,7 @@ function YM(f) {
|
|
|
32603
32607
|
if (w && G && $l.domReference && $l.floating)
|
|
32604
32608
|
return EO($l.domReference, $l.floating, gn, oa);
|
|
32605
32609
|
}, [w, G, $l, gn, oa]);
|
|
32606
|
-
const hl = Ia(yn), Nn =
|
|
32610
|
+
const hl = Ia(yn), Nn = BA(g, hl, Z), kl = Jf(yn) || "center", wn = !!bl.hide?.referenceHidden;
|
|
32607
32611
|
Wt(() => {
|
|
32608
32612
|
ue && G && He && de(hl);
|
|
32609
32613
|
}, [ue, G, He, hl]);
|
|
@@ -32630,10 +32634,10 @@ function YM(f) {
|
|
|
32630
32634
|
function HO(f) {
|
|
32631
32635
|
return f != null && "current" in f;
|
|
32632
32636
|
}
|
|
32633
|
-
function
|
|
32634
|
-
return f === "starting" ?
|
|
32637
|
+
function jA(f) {
|
|
32638
|
+
return f === "starting" ? Uz : Wa;
|
|
32635
32639
|
}
|
|
32636
|
-
function
|
|
32640
|
+
function VM(f, d, {
|
|
32637
32641
|
styles: p,
|
|
32638
32642
|
transitionStatus: g,
|
|
32639
32643
|
props: v,
|
|
@@ -32651,11 +32655,11 @@ function qM(f, d, {
|
|
|
32651
32655
|
role: "presentation",
|
|
32652
32656
|
hidden: R,
|
|
32653
32657
|
style: L
|
|
32654
|
-
},
|
|
32658
|
+
}, jA(g), v],
|
|
32655
32659
|
stateAttributesMapping: wE
|
|
32656
32660
|
});
|
|
32657
32661
|
}
|
|
32658
|
-
const
|
|
32662
|
+
const YA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
32659
32663
|
const {
|
|
32660
32664
|
render: g,
|
|
32661
32665
|
className: v,
|
|
@@ -32670,10 +32674,10 @@ const jA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32670
32674
|
arrowPadding: w = 5,
|
|
32671
32675
|
sticky: C = !1,
|
|
32672
32676
|
disableAnchorTracking: G = !1,
|
|
32673
|
-
collisionAvoidance: Q =
|
|
32677
|
+
collisionAvoidance: Q = Hz,
|
|
32674
32678
|
style: te,
|
|
32675
32679
|
...P
|
|
32676
|
-
} = d, ne = f0(), ue =
|
|
32680
|
+
} = d, ne = f0(), ue = HM(), be = ne.useState("open"), re = ne.useState("mounted"), de = ne.useState("trackCursorAxis"), pe = ne.useState("disableHoverablePopup"), Ce = ne.useState("floatingRootContext"), ce = ne.useState("instantType"), xe = ne.useState("transitionStatus"), Oe = ne.useState("hasViewport"), Se = qM({
|
|
32677
32681
|
anchor: E,
|
|
32678
32682
|
positionMethod: R,
|
|
32679
32683
|
floatingRootContext: Ce,
|
|
@@ -32689,14 +32693,14 @@ const jA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32689
32693
|
disableAnchorTracking: G,
|
|
32690
32694
|
keepMounted: ue,
|
|
32691
32695
|
collisionAvoidance: Q,
|
|
32692
|
-
adaptiveOrigin: Oe ?
|
|
32696
|
+
adaptiveOrigin: Oe ? YM : void 0
|
|
32693
32697
|
}), _e = I.useMemo(() => ({
|
|
32694
32698
|
open: be,
|
|
32695
32699
|
side: Se.side,
|
|
32696
32700
|
align: Se.align,
|
|
32697
32701
|
anchorHidden: Se.anchorHidden,
|
|
32698
32702
|
instant: de !== "none" ? "tracking-cursor" : ce
|
|
32699
|
-
}), [be, Se.side, Se.align, Se.anchorHidden, de, ce]), ge =
|
|
32703
|
+
}), [be, Se.side, Se.align, Se.anchorHidden, de, ce]), ge = VM(d, _e, {
|
|
32700
32704
|
styles: Se.positionerStyles,
|
|
32701
32705
|
transitionStatus: xe,
|
|
32702
32706
|
props: P,
|
|
@@ -32709,11 +32713,11 @@ const jA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32709
32713
|
children: ge
|
|
32710
32714
|
});
|
|
32711
32715
|
});
|
|
32712
|
-
process.env.NODE_ENV !== "production" && (
|
|
32713
|
-
const
|
|
32716
|
+
process.env.NODE_ENV !== "production" && (YA.displayName = "TooltipPositioner");
|
|
32717
|
+
const LM = {
|
|
32714
32718
|
...wE,
|
|
32715
|
-
...
|
|
32716
|
-
},
|
|
32719
|
+
...F3
|
|
32720
|
+
}, qA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
32717
32721
|
const {
|
|
32718
32722
|
render: g,
|
|
32719
32723
|
className: v,
|
|
@@ -32722,14 +32726,14 @@ const VM = {
|
|
|
32722
32726
|
} = d, O = f0(), {
|
|
32723
32727
|
side: L,
|
|
32724
32728
|
align: V
|
|
32725
|
-
} =
|
|
32726
|
-
|
|
32729
|
+
} = NA(), D = O.useState("open"), _ = O.useState("instantType"), N = O.useState("transitionStatus"), w = O.useState("popupProps"), C = O.useState("floatingRootContext"), G = O.useState("disabled"), Q = O.useState("closeDelay");
|
|
32730
|
+
AA({
|
|
32727
32731
|
open: D,
|
|
32728
32732
|
ref: O.context.popupRef,
|
|
32729
32733
|
onComplete() {
|
|
32730
32734
|
D && O.context.onOpenChangeComplete?.(!0);
|
|
32731
32735
|
}
|
|
32732
|
-
}),
|
|
32736
|
+
}), mM(C, {
|
|
32733
32737
|
enabled: !G,
|
|
32734
32738
|
closeDelay: Q
|
|
32735
32739
|
});
|
|
@@ -32743,12 +32747,12 @@ const VM = {
|
|
|
32743
32747
|
transitionStatus: N
|
|
32744
32748
|
},
|
|
32745
32749
|
ref: [p, O.context.popupRef, te],
|
|
32746
|
-
props: [w,
|
|
32747
|
-
stateAttributesMapping:
|
|
32750
|
+
props: [w, jA(N), R],
|
|
32751
|
+
stateAttributesMapping: LM
|
|
32748
32752
|
});
|
|
32749
32753
|
});
|
|
32750
|
-
process.env.NODE_ENV !== "production" && (
|
|
32751
|
-
const
|
|
32754
|
+
process.env.NODE_ENV !== "production" && (qA.displayName = "TooltipPopup");
|
|
32755
|
+
const VA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
32752
32756
|
const {
|
|
32753
32757
|
render: g,
|
|
32754
32758
|
className: v,
|
|
@@ -32760,7 +32764,7 @@ const qA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32760
32764
|
align: D,
|
|
32761
32765
|
arrowUncentered: _,
|
|
32762
32766
|
arrowStyles: N
|
|
32763
|
-
} =
|
|
32767
|
+
} = NA(), w = O.useState("open"), C = O.useState("instantType");
|
|
32764
32768
|
return up("div", d, {
|
|
32765
32769
|
state: {
|
|
32766
32770
|
open: w,
|
|
@@ -32777,8 +32781,8 @@ const qA = /* @__PURE__ */ I.forwardRef(function(d, p) {
|
|
|
32777
32781
|
stateAttributesMapping: wE
|
|
32778
32782
|
});
|
|
32779
32783
|
});
|
|
32780
|
-
process.env.NODE_ENV !== "production" && (
|
|
32781
|
-
function
|
|
32784
|
+
process.env.NODE_ENV !== "production" && (VA.displayName = "TooltipArrow");
|
|
32785
|
+
function GM({
|
|
32782
32786
|
openIcon: f,
|
|
32783
32787
|
closeIcon: d,
|
|
32784
32788
|
tooltip: p,
|
|
@@ -32826,18 +32830,18 @@ function LM({
|
|
|
32826
32830
|
]
|
|
32827
32831
|
}
|
|
32828
32832
|
);
|
|
32829
|
-
return p ? /* @__PURE__ */ Xe.jsxs(
|
|
32830
|
-
/* @__PURE__ */ Xe.jsx(
|
|
32831
|
-
/* @__PURE__ */ Xe.jsx(
|
|
32833
|
+
return p ? /* @__PURE__ */ Xe.jsxs(XM, { children: [
|
|
32834
|
+
/* @__PURE__ */ Xe.jsx(QM, { render: Q }),
|
|
32835
|
+
/* @__PURE__ */ Xe.jsx(ZM, { side: g, children: p })
|
|
32832
32836
|
] }) : Q;
|
|
32833
32837
|
}
|
|
32834
|
-
function GM({ ...f }) {
|
|
32835
|
-
return /* @__PURE__ */ Xe.jsx(DA, { "data-slot": "tooltip", ...f });
|
|
32836
|
-
}
|
|
32837
32838
|
function XM({ ...f }) {
|
|
32838
|
-
return /* @__PURE__ */ Xe.jsx(
|
|
32839
|
+
return /* @__PURE__ */ Xe.jsx(CA, { "data-slot": "tooltip", ...f });
|
|
32840
|
+
}
|
|
32841
|
+
function QM({ ...f }) {
|
|
32842
|
+
return /* @__PURE__ */ Xe.jsx(_A, { "data-slot": "tooltip-trigger", ...f });
|
|
32839
32843
|
}
|
|
32840
|
-
function
|
|
32844
|
+
function ZM({
|
|
32841
32845
|
className: f,
|
|
32842
32846
|
side: d = "top",
|
|
32843
32847
|
sideOffset: p = 4,
|
|
@@ -32846,8 +32850,8 @@ function QM({
|
|
|
32846
32850
|
children: E,
|
|
32847
32851
|
...R
|
|
32848
32852
|
}) {
|
|
32849
|
-
return /* @__PURE__ */ Xe.jsx(
|
|
32850
|
-
|
|
32853
|
+
return /* @__PURE__ */ Xe.jsx(HA, { children: /* @__PURE__ */ Xe.jsx(
|
|
32854
|
+
YA,
|
|
32851
32855
|
{
|
|
32852
32856
|
align: g,
|
|
32853
32857
|
alignOffset: v,
|
|
@@ -32855,7 +32859,7 @@ function QM({
|
|
|
32855
32859
|
sideOffset: p,
|
|
32856
32860
|
className: "isolate z-50",
|
|
32857
32861
|
children: /* @__PURE__ */ Xe.jsxs(
|
|
32858
|
-
|
|
32862
|
+
qA,
|
|
32859
32863
|
{
|
|
32860
32864
|
"data-slot": "tooltip-content",
|
|
32861
32865
|
className: Di(
|
|
@@ -32865,30 +32869,30 @@ function QM({
|
|
|
32865
32869
|
...R,
|
|
32866
32870
|
children: [
|
|
32867
32871
|
E,
|
|
32868
|
-
/* @__PURE__ */ Xe.jsx(
|
|
32872
|
+
/* @__PURE__ */ Xe.jsx(VA, { className: "size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 bg-foreground fill-foreground z-50 data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
|
|
32869
32873
|
]
|
|
32870
32874
|
}
|
|
32871
32875
|
)
|
|
32872
32876
|
}
|
|
32873
32877
|
) });
|
|
32874
32878
|
}
|
|
32875
|
-
const
|
|
32879
|
+
const JM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32876
32880
|
__proto__: null,
|
|
32877
|
-
Breadcrumb:
|
|
32878
|
-
CycleButton:
|
|
32879
|
-
Form:
|
|
32880
|
-
IconToggle:
|
|
32881
|
-
Loading:
|
|
32882
|
-
Notice:
|
|
32883
|
-
notice:
|
|
32884
|
-
useLoading:
|
|
32881
|
+
Breadcrumb: PD,
|
|
32882
|
+
CycleButton: yC,
|
|
32883
|
+
Form: vC,
|
|
32884
|
+
IconToggle: GM,
|
|
32885
|
+
Loading: SC,
|
|
32886
|
+
Notice: TC,
|
|
32887
|
+
notice: RD,
|
|
32888
|
+
useLoading: bC
|
|
32885
32889
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32886
|
-
function
|
|
32890
|
+
function KM() {
|
|
32887
32891
|
document.documentElement.classList.add("debug");
|
|
32888
32892
|
}
|
|
32889
|
-
const
|
|
32893
|
+
const $M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32890
32894
|
__proto__: null,
|
|
32891
|
-
debugCss:
|
|
32895
|
+
debugCss: KM
|
|
32892
32896
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32893
32897
|
function* rE(f, d, p) {
|
|
32894
32898
|
if (p === 0) throw new Error('the parameter "step" cannot be 0');
|
|
@@ -32900,16 +32904,16 @@ function* rE(f, d, p) {
|
|
|
32900
32904
|
for (let v = g; v > d; v += p)
|
|
32901
32905
|
yield v;
|
|
32902
32906
|
}
|
|
32903
|
-
function
|
|
32907
|
+
function kM(f, d, p) {
|
|
32904
32908
|
let g;
|
|
32905
32909
|
return d === void 0 ? g = rE(f) : g = rE(f, d, p), Array.from(g);
|
|
32906
32910
|
}
|
|
32907
|
-
const
|
|
32911
|
+
const FM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32908
32912
|
__proto__: null,
|
|
32909
32913
|
range: rE,
|
|
32910
|
-
rangeArr:
|
|
32914
|
+
rangeArr: kM
|
|
32911
32915
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32912
|
-
async function
|
|
32916
|
+
async function WM(f, d) {
|
|
32913
32917
|
let {
|
|
32914
32918
|
params: p,
|
|
32915
32919
|
body: g,
|
|
@@ -32944,18 +32948,18 @@ async function FM(f, d) {
|
|
|
32944
32948
|
}
|
|
32945
32949
|
return L;
|
|
32946
32950
|
}
|
|
32947
|
-
const
|
|
32951
|
+
const IM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32948
32952
|
__proto__: null,
|
|
32949
|
-
request:
|
|
32950
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
32953
|
+
request: WM
|
|
32954
|
+
}, Symbol.toStringTag, { value: "Module" })), PM = /^((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/, e4 = /^https?:\/\/[^\s/$.?#].[^\s]*$/, t4 = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/, n4 = /^1[3-9]\d{9}$/, l4 = /^[\u4e00-\u9fa5]+$/, a4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32951
32955
|
__proto__: null,
|
|
32952
|
-
PATTERN_CN:
|
|
32953
|
-
PATTERN_EMAIL:
|
|
32954
|
-
PATTERN_IP:
|
|
32955
|
-
PATTERN_PHONE:
|
|
32956
|
-
PATTERN_URL:
|
|
32956
|
+
PATTERN_CN: l4,
|
|
32957
|
+
PATTERN_EMAIL: t4,
|
|
32958
|
+
PATTERN_IP: PM,
|
|
32959
|
+
PATTERN_PHONE: n4,
|
|
32960
|
+
PATTERN_URL: e4
|
|
32957
32961
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32958
|
-
class
|
|
32962
|
+
class u4 {
|
|
32959
32963
|
/**
|
|
32960
32964
|
* Build instance.
|
|
32961
32965
|
*
|
|
@@ -33048,19 +33052,19 @@ class a4 {
|
|
|
33048
33052
|
this.set(d, !g);
|
|
33049
33053
|
}
|
|
33050
33054
|
}
|
|
33051
|
-
const
|
|
33055
|
+
const i4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33052
33056
|
__proto__: null,
|
|
33053
|
-
Storager:
|
|
33054
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
33055
|
-
component:
|
|
33056
|
-
base:
|
|
33057
|
-
data:
|
|
33058
|
-
net:
|
|
33059
|
-
re:
|
|
33060
|
-
react:
|
|
33061
|
-
twc:
|
|
33062
|
-
window:
|
|
33057
|
+
Storager: u4
|
|
33058
|
+
}, Symbol.toStringTag, { value: "Module" })), p4 = {
|
|
33059
|
+
component: JM,
|
|
33060
|
+
base: $M,
|
|
33061
|
+
data: FM,
|
|
33062
|
+
net: IM,
|
|
33063
|
+
re: a4,
|
|
33064
|
+
react: gC,
|
|
33065
|
+
twc: ID,
|
|
33066
|
+
window: i4
|
|
33063
33067
|
};
|
|
33064
33068
|
export {
|
|
33065
|
-
|
|
33069
|
+
p4 as default
|
|
33066
33070
|
};
|