@clickhouse/click-ui 0.0.29 → 0.0.30
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/README.md +7 -7
- package/dist/click-ui.es.js +492 -470
- package/dist/click-ui.umd.js +69 -66
- package/dist/components/ClickUIProvider/ClickUIProvider.d.ts +14 -0
- package/dist/components/SidebarCollapsibleItem/SidebarCollapsibleItem.d.ts +1 -0
- package/dist/components/SidebarCollapsibleTitle/SidebarCollapsibleTitle.d.ts +2 -1
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +2 -0
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +3 -1
- package/dist/components/SplitButton/SplitButton.d.ts +6 -1
- package/dist/components/Toast/Toast.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/theme/index.d.ts +0 -2
- package/package.json +1 -1
package/dist/click-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as M from "react";
|
|
2
|
-
import ee, { forwardRef as H, useCallback as re, createContext as ze, useMemo as Ge, createElement as x, useContext as Ke, useRef as P, useEffect as Z, useState as q, Children as _e, isValidElement as h1, cloneElement as nt, Fragment as P1, useLayoutEffect as
|
|
2
|
+
import ee, { forwardRef as H, useCallback as re, createContext as ze, useMemo as Ge, createElement as x, useContext as Ke, useRef as P, useEffect as Z, useState as q, Children as _e, isValidElement as h1, cloneElement as nt, Fragment as P1, useLayoutEffect as gr, useReducer as T3, useId as x1 } from "react";
|
|
3
3
|
import E, { keyframes as Mn, css as Fs, useTheme as V3, createGlobalStyle as Rs, ThemeProvider as Ts } from "styled-components";
|
|
4
4
|
import * as Vs from "react-dom";
|
|
5
5
|
import A3, { flushSync as jn, createPortal as As } from "react-dom";
|
|
@@ -17,11 +17,11 @@ var Do = { exports: {} }, vt = {};
|
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
19
|
*/
|
|
20
|
-
var
|
|
20
|
+
var b2;
|
|
21
21
|
function Zs() {
|
|
22
|
-
if (
|
|
22
|
+
if (b2)
|
|
23
23
|
return vt;
|
|
24
|
-
|
|
24
|
+
b2 = 1;
|
|
25
25
|
var e = ee, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
26
26
|
function c(s, l, d) {
|
|
27
27
|
var u, f = {}, h = null, g = null;
|
|
@@ -45,9 +45,9 @@ var bt = {};
|
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
47
|
*/
|
|
48
|
-
var
|
|
48
|
+
var C2;
|
|
49
49
|
function Ds() {
|
|
50
|
-
return
|
|
50
|
+
return C2 || (C2 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
51
51
|
var e = ee, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = Symbol.iterator, p = "@@iterator";
|
|
52
52
|
function b(m) {
|
|
53
53
|
if (m === null || typeof m != "object")
|
|
@@ -286,8 +286,8 @@ function Ds() {
|
|
|
286
286
|
} finally {
|
|
287
287
|
Ce = !1, oe.current = ve, z(), Error.prepareStackTrace = he;
|
|
288
288
|
}
|
|
289
|
-
var N1 = m ? m.displayName || m.name : "",
|
|
290
|
-
return typeof m == "function" && ye.set(m,
|
|
289
|
+
var N1 = m ? m.displayName || m.name : "", v2 = N1 ? we(N1) : "";
|
|
290
|
+
return typeof m == "function" && ye.set(m, v2), v2;
|
|
291
291
|
}
|
|
292
292
|
function pt(m, I, D) {
|
|
293
293
|
return Fe(m, !1);
|
|
@@ -474,20 +474,20 @@ function Ds() {
|
|
|
474
474
|
return Ls(m, le, Oe, he, te, Ze.current, ue);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
var uo = C.ReactCurrentOwner,
|
|
477
|
+
var uo = C.ReactCurrentOwner, d2 = C.ReactDebugCurrentFrame;
|
|
478
478
|
function D1(m) {
|
|
479
479
|
if (m) {
|
|
480
480
|
var I = m._owner, D = c1(m.type, m._source, I ? I.type : null);
|
|
481
|
-
|
|
481
|
+
d2.setExtraStackFrame(D);
|
|
482
482
|
} else
|
|
483
|
-
|
|
483
|
+
d2.setExtraStackFrame(null);
|
|
484
484
|
}
|
|
485
485
|
var fo;
|
|
486
486
|
fo = !1;
|
|
487
487
|
function po(m) {
|
|
488
488
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function u2() {
|
|
491
491
|
{
|
|
492
492
|
if (uo.current) {
|
|
493
493
|
var m = G(uo.current.type);
|
|
@@ -510,10 +510,10 @@ Check your code at ` + I + ":" + D + ".";
|
|
|
510
510
|
return "";
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
var
|
|
513
|
+
var f2 = {};
|
|
514
514
|
function Ss(m) {
|
|
515
515
|
{
|
|
516
|
-
var I =
|
|
516
|
+
var I = u2();
|
|
517
517
|
if (!I) {
|
|
518
518
|
var D = typeof m == "string" ? m : m.displayName || m.name;
|
|
519
519
|
D && (I = `
|
|
@@ -523,27 +523,27 @@ Check the top-level render call using <` + D + ">.");
|
|
|
523
523
|
return I;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function p2(m, I) {
|
|
527
527
|
{
|
|
528
528
|
if (!m._store || m._store.validated || m.key != null)
|
|
529
529
|
return;
|
|
530
530
|
m._store.validated = !0;
|
|
531
531
|
var D = Ss(I);
|
|
532
|
-
if (
|
|
532
|
+
if (f2[D])
|
|
533
533
|
return;
|
|
534
|
-
|
|
534
|
+
f2[D] = !0;
|
|
535
535
|
var te = "";
|
|
536
536
|
m && m._owner && m._owner !== uo.current && (te = " It was passed a child from " + G(m._owner.type) + "."), D1(m), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, te), D1(null);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function h2(m, I) {
|
|
540
540
|
{
|
|
541
541
|
if (typeof m != "object")
|
|
542
542
|
return;
|
|
543
543
|
if (ie(m))
|
|
544
544
|
for (var D = 0; D < m.length; D++) {
|
|
545
545
|
var te = m[D];
|
|
546
|
-
po(te) &&
|
|
546
|
+
po(te) && p2(te, I);
|
|
547
547
|
}
|
|
548
548
|
else if (po(m))
|
|
549
549
|
m._store && (m._store.validated = !0);
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + D + ">.");
|
|
|
551
551
|
var he = b(m);
|
|
552
552
|
if (typeof he == "function" && he !== m.entries)
|
|
553
553
|
for (var ve = he.call(m), ue; !(ue = ve.next()).done; )
|
|
554
|
-
po(ue.value) &&
|
|
554
|
+
po(ue.value) && p2(ue.value, I);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -592,14 +592,14 @@ Check the top-level render call using <` + D + ">.");
|
|
|
592
592
|
m.ref !== null && (D1(m), w("Invalid attribute `ref` supplied to `React.Fragment`."), D1(null));
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function g2(m, I, D, te, he, ve) {
|
|
596
596
|
{
|
|
597
597
|
var ue = X(m);
|
|
598
598
|
if (!ue) {
|
|
599
599
|
var le = "";
|
|
600
600
|
(m === void 0 || typeof m == "object" && m !== null && Object.keys(m).length === 0) && (le += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
601
601
|
var Oe = js(he);
|
|
602
|
-
Oe ? le += Oe : le +=
|
|
602
|
+
Oe ? le += Oe : le += u2();
|
|
603
603
|
var ke;
|
|
604
604
|
m === null ? ke = "null" : ie(m) ? ke = "array" : m !== void 0 && m.$$typeof === t ? (ke = "<" + (G(m.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof m, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, le);
|
|
605
605
|
}
|
|
@@ -612,21 +612,21 @@ Check the top-level render call using <` + D + ">.");
|
|
|
612
612
|
if (te)
|
|
613
613
|
if (ie(De)) {
|
|
614
614
|
for (var N1 = 0; N1 < De.length; N1++)
|
|
615
|
-
|
|
615
|
+
h2(De[N1], m);
|
|
616
616
|
Object.freeze && Object.freeze(De);
|
|
617
617
|
} else
|
|
618
618
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
619
619
|
else
|
|
620
|
-
|
|
620
|
+
h2(De, m);
|
|
621
621
|
}
|
|
622
622
|
return m === r ? Es($e) : _s($e), $e;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
function Os(m, I, D) {
|
|
626
|
-
return
|
|
626
|
+
return g2(m, I, D, !0);
|
|
627
627
|
}
|
|
628
628
|
function Hs(m, I, D) {
|
|
629
|
-
return
|
|
629
|
+
return g2(m, I, D, !1);
|
|
630
630
|
}
|
|
631
631
|
var Ps = Hs, Is = Os;
|
|
632
632
|
bt.Fragment = r, bt.jsx = Ps, bt.jsxs = Is;
|
|
@@ -1553,13 +1553,13 @@ const Ns = (e) => /* @__PURE__ */ n.jsxs("svg", { width: "24", height: "25", vie
|
|
|
1553
1553
|
Fs(["height:1px;background-color:", ";"], ({
|
|
1554
1554
|
theme: e
|
|
1555
1555
|
}) => e.click.genericMenu.item.color.stroke.default);
|
|
1556
|
-
const
|
|
1556
|
+
const vr = E.button.withConfig({
|
|
1557
1557
|
componentId: "sc-1sddmxu-2"
|
|
1558
1558
|
})(["background:transparent;border:none;cursor:pointer;outline:none;padding:0;border:0;&:disabled{cursor:not-allowed;}"]);
|
|
1559
1559
|
E.div.withConfig({
|
|
1560
1560
|
componentId: "sc-1sddmxu-3"
|
|
1561
1561
|
})(["display:grid;place-items:center;width:100%;height:100%;"]);
|
|
1562
|
-
const
|
|
1562
|
+
const br = E.button.withConfig({
|
|
1563
1563
|
componentId: "sc-1sddmxu-4"
|
|
1564
1564
|
})(["display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;", ""], ({
|
|
1565
1565
|
theme: e
|
|
@@ -1584,7 +1584,7 @@ const vr = E.button.withConfig({
|
|
|
1584
1584
|
font: ${e.click.button.basic.typography.label.disabled};
|
|
1585
1585
|
cursor: not-allowed;
|
|
1586
1586
|
}
|
|
1587
|
-
`),
|
|
1587
|
+
`), Cr = E.svg.withConfig({
|
|
1588
1588
|
componentId: "sc-1sddmxu-5"
|
|
1589
1589
|
})(["display:flex;align-items:center;", ""], ({
|
|
1590
1590
|
theme: e,
|
|
@@ -1620,7 +1620,7 @@ const vr = E.button.withConfig({
|
|
|
1620
1620
|
}) => {
|
|
1621
1621
|
const r = N3[e];
|
|
1622
1622
|
if (r !== void 0)
|
|
1623
|
-
return /* @__PURE__ */ n.jsx(
|
|
1623
|
+
return /* @__PURE__ */ n.jsx(Cr, { as: r, $size: t, ...o });
|
|
1624
1624
|
}, Yc = (e) => /* @__PURE__ */ n.jsxs("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
1625
1625
|
/* @__PURE__ */ n.jsx("path", { d: "M20.7682 28.7733C20.7682 29.3908 20.8361 29.8915 20.955 30.2587C21.0909 30.6258 21.2608 31.0264 21.4986 31.4603C21.5835 31.5938 21.6175 31.7273 21.6175 31.8442C21.6175 32.0111 21.5156 32.178 21.2948 32.3449L20.2246 33.0458C20.0718 33.146 19.9189 33.196 19.783 33.196C19.6131 33.196 19.4433 33.1126 19.2734 32.9624C19.0356 32.712 18.8318 32.445 18.6619 32.178C18.4921 31.8942 18.3222 31.5771 18.1354 31.1933C16.8105 32.7287 15.1458 33.4964 13.1415 33.4964C11.7146 33.4964 10.5766 33.0959 9.74427 32.2948C8.91196 31.4937 8.4873 30.4256 8.4873 29.0904C8.4873 27.6718 8.99689 26.5202 10.033 25.6523C11.0692 24.7845 12.445 24.3506 14.1946 24.3506C14.7721 24.3506 15.3666 24.4006 15.9951 24.4841C16.6236 24.5675 17.2691 24.701 17.9485 24.8512V23.6329C17.9485 22.3645 17.6767 21.4799 17.1502 20.9626C16.6066 20.4452 15.6894 20.1948 14.3815 20.1948C13.7869 20.1948 13.1754 20.2616 12.547 20.4118C11.9185 20.562 11.307 20.7456 10.7125 20.9793C10.4407 21.0961 10.2369 21.1628 10.118 21.1962C9.99906 21.2296 9.91413 21.2463 9.84619 21.2463C9.60838 21.2463 9.48948 21.0794 9.48948 20.7289V19.9111C9.48948 19.6441 9.52345 19.4438 9.60838 19.327C9.69331 19.2102 9.84619 19.0933 10.084 18.9765C10.6785 18.6761 11.3919 18.4258 12.2242 18.2255C13.0565 18.0085 13.9398 17.9084 14.874 17.9084C16.8954 17.9084 18.3732 18.359 19.3244 19.2602C20.2586 20.1615 20.7342 21.53 20.7342 23.3659V28.7733H20.7682ZM13.8719 31.3101C14.4324 31.3101 15.0099 31.21 15.6214 31.0097C16.2329 30.8094 16.7765 30.4422 17.2351 29.9416C17.5069 29.6245 17.7107 29.274 17.8126 28.8734C17.9145 28.4729 17.9825 27.9889 17.9825 27.4214V26.7205C17.4899 26.6036 16.9633 26.5035 16.4198 26.4367C15.8762 26.37 15.3497 26.3366 14.8231 26.3366C13.685 26.3366 12.8527 26.5536 12.2922 27.0042C11.7316 27.4548 11.4599 28.089 11.4599 28.9235C11.4599 29.7079 11.6637 30.292 12.0883 30.6926C12.496 31.1098 13.0905 31.3101 13.8719 31.3101ZM27.5116 33.1126C27.2059 33.1126 27.0021 33.0625 26.8662 32.9457C26.7303 32.8455 26.6114 32.6119 26.5095 32.2948L22.5178 19.3938C22.4158 19.06 22.3649 18.843 22.3649 18.7262C22.3649 18.4591 22.5008 18.3089 22.7725 18.3089H24.4372C24.7599 18.3089 24.9807 18.359 25.0996 18.4758C25.2355 18.576 25.3374 18.8096 25.4394 19.1267L28.293 30.1752L30.9428 19.1267C31.0278 18.7929 31.1297 18.576 31.2656 18.4758C31.4014 18.3757 31.6392 18.3089 31.945 18.3089H33.3039C33.6266 18.3089 33.8474 18.359 33.9833 18.4758C34.1192 18.576 34.2381 18.8096 34.3061 19.1267L36.9898 30.3087L39.9284 19.1267C40.0303 18.7929 40.1492 18.576 40.2681 18.4758C40.404 18.3757 40.6249 18.3089 40.9306 18.3089H42.5103C42.7821 18.3089 42.9349 18.4424 42.9349 18.7262C42.9349 18.8096 42.918 18.8931 42.901 18.9932C42.884 19.0933 42.85 19.2269 42.7821 19.4104L38.6884 32.3115C38.5865 32.6453 38.4676 32.8622 38.3317 32.9624C38.1959 33.0625 37.975 33.1293 37.6863 33.1293H36.2255C35.9027 33.1293 35.6819 33.0792 35.546 32.9624C35.4101 32.8455 35.2912 32.6286 35.2233 32.2948L32.5905 21.53L29.9746 32.2781C29.8897 32.6119 29.7878 32.8288 29.6519 32.9457C29.516 33.0625 29.2782 33.1126 28.9724 33.1126H27.5116ZM49.3387 33.5632C48.4554 33.5632 47.5721 33.4631 46.7228 33.2628C45.8735 33.0625 45.2111 32.8455 44.7694 32.5952C44.4977 32.445 44.3108 32.2781 44.2429 32.1279C44.1749 31.9777 44.141 31.8108 44.141 31.6606V30.8094C44.141 30.4589 44.2768 30.292 44.5316 30.292C44.6336 30.292 44.7355 30.3087 44.8374 30.3421C44.9393 30.3755 45.0922 30.4422 45.262 30.509C45.8396 30.7593 46.468 30.9596 47.1305 31.0931C47.8099 31.2267 48.4724 31.2934 49.1518 31.2934C50.222 31.2934 51.0543 31.1098 51.6318 30.7427C52.2093 30.3755 52.5151 29.8414 52.5151 29.1571C52.5151 28.6898 52.3622 28.306 52.0564 27.9889C51.7507 27.6718 51.1732 27.3881 50.3409 27.121L47.8779 26.37C46.6379 25.9861 45.7207 25.4187 45.1601 24.6677C44.5996 23.9333 44.3108 23.1155 44.3108 22.2477C44.3108 21.5467 44.4637 20.9292 44.7694 20.3951C45.0752 19.8611 45.4828 19.3938 45.9924 19.0266C46.502 18.6427 47.0795 18.359 47.759 18.1587C48.4384 17.9584 49.1518 17.875 49.8992 17.875C50.2729 17.875 50.6636 17.8917 51.0373 17.9418C51.428 17.9918 51.7847 18.0586 52.1414 18.1253C52.4811 18.2088 52.8038 18.2922 53.1096 18.3924C53.4153 18.4925 53.6531 18.5927 53.823 18.6928C54.0608 18.8263 54.2307 18.9598 54.3326 19.11C54.4345 19.2435 54.4854 19.4271 54.4854 19.6608V20.4452C54.4854 20.7957 54.3496 20.9793 54.0948 20.9793C53.9589 20.9793 53.7381 20.9125 53.4493 20.779C52.4811 20.3451 51.394 20.1281 50.188 20.1281C49.2198 20.1281 48.4554 20.2783 47.9288 20.5954C47.4023 20.9125 47.1305 21.3965 47.1305 22.0808C47.1305 22.5481 47.3004 22.9486 47.6401 23.2657C47.9798 23.5828 48.6083 23.8999 49.5085 24.1837L51.9206 24.9347C53.1435 25.3185 54.0268 25.8526 54.5534 26.5369C55.0799 27.2212 55.3347 28.0056 55.3347 28.8734C55.3347 29.5911 55.1819 30.242 54.8931 30.8094C54.5874 31.3769 54.1797 31.8775 53.6531 32.2781C53.1266 32.6953 52.4981 32.9957 51.7677 33.2127C51.0033 33.4464 50.205 33.5632 49.3387 33.5632Z", fill: "#161517" }),
|
|
1626
1626
|
/* @__PURE__ */ n.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M52.5484 41.6741C46.96 45.7297 38.8407 47.8827 31.8595 47.8827C22.0755 47.8827 13.2598 44.3278 6.60126 38.4197C6.07469 37.9524 6.5503 37.3182 7.17878 37.6853C14.3809 41.791 23.2645 44.2777 32.454 44.2777C38.6539 44.2777 45.4653 43.0093 51.7331 40.4057C52.6674 39.9885 53.4657 41.0066 52.5484 41.6741Z", fill: "#FF9900" }),
|
|
@@ -2119,7 +2119,7 @@ const vr = E.button.withConfig({
|
|
|
2119
2119
|
const {
|
|
2120
2120
|
name: a
|
|
2121
2121
|
} = V3(), i = ["light", "clasic"].includes(t ?? a) ? Ca[e] : cl[e];
|
|
2122
|
-
return i ? /* @__PURE__ */ n.jsx(
|
|
2122
|
+
return i ? /* @__PURE__ */ n.jsx(Cr, { as: i, $size: o, role: "img", "aria-label": e, ...r }) : null;
|
|
2123
2123
|
};
|
|
2124
2124
|
xa.displayName = "Logo";
|
|
2125
2125
|
const ll = (e) => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 22, viewBox: "0 0 30 22", fill: "none", ...e, children: [
|
|
@@ -2168,7 +2168,7 @@ const ll = (e) => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000
|
|
|
2168
2168
|
}) => {
|
|
2169
2169
|
const r = ma[e];
|
|
2170
2170
|
if (r !== void 0)
|
|
2171
|
-
return /* @__PURE__ */ n.jsx(
|
|
2171
|
+
return /* @__PURE__ */ n.jsx(Cr, { as: r, $size: t, ...o });
|
|
2172
2172
|
}, hl = ({
|
|
2173
2173
|
name: e,
|
|
2174
2174
|
color: t,
|
|
@@ -2512,7 +2512,7 @@ const yl = [
|
|
|
2512
2512
|
[t]: o
|
|
2513
2513
|
};
|
|
2514
2514
|
}, {});
|
|
2515
|
-
function
|
|
2515
|
+
function xr(e, t) {
|
|
2516
2516
|
e && jn(
|
|
2517
2517
|
() => e.dispatchEvent(t)
|
|
2518
2518
|
);
|
|
@@ -2588,7 +2588,7 @@ function Ll(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
2588
2588
|
]);
|
|
2589
2589
|
}
|
|
2590
2590
|
const Bo = "dismissableLayer.update", Ml = "dismissableLayer.pointerDownOutside", jl = "dismissableLayer.focusOutside";
|
|
2591
|
-
let
|
|
2591
|
+
let x2;
|
|
2592
2592
|
const ka = /* @__PURE__ */ ze({
|
|
2593
2593
|
layers: /* @__PURE__ */ new Set(),
|
|
2594
2594
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -2619,8 +2619,8 @@ const ka = /* @__PURE__ */ ze({
|
|
|
2619
2619
|
k === u.layers.size - 1 && (a == null || a(T), !T.defaultPrevented && l && (T.preventDefault(), l()));
|
|
2620
2620
|
}, g), Z(() => {
|
|
2621
2621
|
if (f)
|
|
2622
|
-
return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
2623
|
-
r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (g.body.style.pointerEvents =
|
|
2622
|
+
return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (x2 = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(f)), u.layers.add(f), m2(), () => {
|
|
2623
|
+
r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (g.body.style.pointerEvents = x2);
|
|
2624
2624
|
};
|
|
2625
2625
|
}, [
|
|
2626
2626
|
f,
|
|
@@ -2628,7 +2628,7 @@ const ka = /* @__PURE__ */ ze({
|
|
|
2628
2628
|
r,
|
|
2629
2629
|
u
|
|
2630
2630
|
]), Z(() => () => {
|
|
2631
|
-
f && (u.layers.delete(f), u.layersWithOutsidePointerEventsDisabled.delete(f),
|
|
2631
|
+
f && (u.layers.delete(f), u.layersWithOutsidePointerEventsDisabled.delete(f), m2());
|
|
2632
2632
|
}, [
|
|
2633
2633
|
f,
|
|
2634
2634
|
u
|
|
@@ -2711,7 +2711,7 @@ function El(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
2711
2711
|
onBlurCapture: () => r.current = !1
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
2714
|
-
function
|
|
2714
|
+
function m2() {
|
|
2715
2715
|
const e = new CustomEvent(Bo);
|
|
2716
2716
|
document.dispatchEvent(e);
|
|
2717
2717
|
}
|
|
@@ -2723,7 +2723,7 @@ function ya(e, t, o, { discrete: r }) {
|
|
|
2723
2723
|
});
|
|
2724
2724
|
t && a.addEventListener(e, t, {
|
|
2725
2725
|
once: !0
|
|
2726
|
-
}), r ?
|
|
2726
|
+
}), r ? xr(a, i) : a.dispatchEvent(i);
|
|
2727
2727
|
}
|
|
2728
2728
|
const Ol = Tt, Hl = Sl;
|
|
2729
2729
|
let ho = 0;
|
|
@@ -2731,18 +2731,18 @@ function $a() {
|
|
|
2731
2731
|
Z(() => {
|
|
2732
2732
|
var e, t;
|
|
2733
2733
|
const o = document.querySelectorAll("[data-radix-focus-guard]");
|
|
2734
|
-
return document.body.insertAdjacentElement("afterbegin", (e = o[0]) !== null && e !== void 0 ? e :
|
|
2734
|
+
return document.body.insertAdjacentElement("afterbegin", (e = o[0]) !== null && e !== void 0 ? e : w2()), document.body.insertAdjacentElement("beforeend", (t = o[1]) !== null && t !== void 0 ? t : w2()), ho++, () => {
|
|
2735
2735
|
ho === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
2736
2736
|
(r) => r.remove()
|
|
2737
2737
|
), ho--;
|
|
2738
2738
|
};
|
|
2739
2739
|
}, []);
|
|
2740
2740
|
}
|
|
2741
|
-
function
|
|
2741
|
+
function w2() {
|
|
2742
2742
|
const e = document.createElement("span");
|
|
2743
2743
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
|
|
2744
2744
|
}
|
|
2745
|
-
const go = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount",
|
|
2745
|
+
const go = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", k2 = {
|
|
2746
2746
|
bubbles: !1,
|
|
2747
2747
|
cancelable: !0
|
|
2748
2748
|
}, La = /* @__PURE__ */ H((e, t) => {
|
|
@@ -2794,20 +2794,20 @@ const go = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount",
|
|
|
2794
2794
|
g.paused
|
|
2795
2795
|
]), Z(() => {
|
|
2796
2796
|
if (s) {
|
|
2797
|
-
|
|
2797
|
+
$2.add(g);
|
|
2798
2798
|
const p = document.activeElement;
|
|
2799
2799
|
if (!s.contains(p)) {
|
|
2800
|
-
const C = new CustomEvent(go,
|
|
2800
|
+
const C = new CustomEvent(go, k2);
|
|
2801
2801
|
s.addEventListener(go, d), s.dispatchEvent(C), C.defaultPrevented || (Pl(Vl(Ma(s)), {
|
|
2802
2802
|
select: !0
|
|
2803
2803
|
}), document.activeElement === p && u1(s));
|
|
2804
2804
|
}
|
|
2805
2805
|
return () => {
|
|
2806
2806
|
s.removeEventListener(go, d), setTimeout(() => {
|
|
2807
|
-
const C = new CustomEvent(vo,
|
|
2807
|
+
const C = new CustomEvent(vo, k2);
|
|
2808
2808
|
s.addEventListener(vo, u), s.dispatchEvent(C), C.defaultPrevented || u1(p ?? document.body, {
|
|
2809
2809
|
select: !0
|
|
2810
|
-
}), s.removeEventListener(vo, u),
|
|
2810
|
+
}), s.removeEventListener(vo, u), $2.remove(g);
|
|
2811
2811
|
}, 0);
|
|
2812
2812
|
};
|
|
2813
2813
|
}
|
|
@@ -2850,7 +2850,7 @@ function Pl(e, { select: t = !1 } = {}) {
|
|
|
2850
2850
|
return;
|
|
2851
2851
|
}
|
|
2852
2852
|
function Il(e) {
|
|
2853
|
-
const t = Ma(e), o =
|
|
2853
|
+
const t = Ma(e), o = y2(t, e), r = y2(t.reverse(), e);
|
|
2854
2854
|
return [
|
|
2855
2855
|
o,
|
|
2856
2856
|
r
|
|
@@ -2867,7 +2867,7 @@ function Ma(e) {
|
|
|
2867
2867
|
t.push(o.currentNode);
|
|
2868
2868
|
return t;
|
|
2869
2869
|
}
|
|
2870
|
-
function
|
|
2870
|
+
function y2(e, t) {
|
|
2871
2871
|
for (const o of e)
|
|
2872
2872
|
if (!Fl(o, {
|
|
2873
2873
|
upTo: t
|
|
@@ -2897,21 +2897,21 @@ function u1(e, { select: t = !1 } = {}) {
|
|
|
2897
2897
|
}), e !== o && Rl(e) && t && e.select();
|
|
2898
2898
|
}
|
|
2899
2899
|
}
|
|
2900
|
-
const
|
|
2900
|
+
const $2 = Tl();
|
|
2901
2901
|
function Tl() {
|
|
2902
2902
|
let e = [];
|
|
2903
2903
|
return {
|
|
2904
2904
|
add(t) {
|
|
2905
2905
|
const o = e[0];
|
|
2906
|
-
t !== o && (o == null || o.pause()), e =
|
|
2906
|
+
t !== o && (o == null || o.pause()), e = L2(e, t), e.unshift(t);
|
|
2907
2907
|
},
|
|
2908
2908
|
remove(t) {
|
|
2909
2909
|
var o;
|
|
2910
|
-
e =
|
|
2910
|
+
e = L2(e, t), (o = e[0]) === null || o === void 0 || o.resume();
|
|
2911
2911
|
}
|
|
2912
2912
|
};
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function L2(e, t) {
|
|
2915
2915
|
const o = [
|
|
2916
2916
|
...e
|
|
2917
2917
|
], r = o.indexOf(t);
|
|
@@ -2922,7 +2922,7 @@ function Vl(e) {
|
|
|
2922
2922
|
(t) => t.tagName !== "A"
|
|
2923
2923
|
);
|
|
2924
2924
|
}
|
|
2925
|
-
const g1 = globalThis != null && globalThis.document ?
|
|
2925
|
+
const g1 = globalThis != null && globalThis.document ? gr : () => {
|
|
2926
2926
|
}, Al = M["useId".toString()] || (() => {
|
|
2927
2927
|
});
|
|
2928
2928
|
let Zl = 0;
|
|
@@ -2960,21 +2960,21 @@ function r1(e) {
|
|
|
2960
2960
|
function ot(e) {
|
|
2961
2961
|
return e.split("-")[1];
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function mr(e) {
|
|
2964
2964
|
return e === "x" ? "y" : "x";
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2966
|
+
function wr(e) {
|
|
2967
2967
|
return e === "y" ? "height" : "width";
|
|
2968
2968
|
}
|
|
2969
2969
|
function rt(e) {
|
|
2970
2970
|
return ["top", "bottom"].includes(r1(e)) ? "y" : "x";
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2973
|
-
return
|
|
2972
|
+
function kr(e) {
|
|
2973
|
+
return mr(rt(e));
|
|
2974
2974
|
}
|
|
2975
2975
|
function Ul(e, t, o) {
|
|
2976
2976
|
o === void 0 && (o = !1);
|
|
2977
|
-
const r = ot(e), a =
|
|
2977
|
+
const r = ot(e), a = kr(e), i = wr(a);
|
|
2978
2978
|
let c = a === "x" ? r === (o ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
2979
2979
|
return t.reference[i] > t.floating[i] && (c = vn(c)), [c, vn(c)];
|
|
2980
2980
|
}
|
|
@@ -3032,12 +3032,12 @@ function bn(e) {
|
|
|
3032
3032
|
bottom: e.y + e.height
|
|
3033
3033
|
};
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function M2(e, t, o) {
|
|
3036
3036
|
let {
|
|
3037
3037
|
reference: r,
|
|
3038
3038
|
floating: a
|
|
3039
3039
|
} = e;
|
|
3040
|
-
const i = rt(t), c =
|
|
3040
|
+
const i = rt(t), c = kr(t), s = wr(c), l = r1(t), d = i === "y", u = r.x + r.width / 2 - a.width / 2, f = r.y + r.height / 2 - a.height / 2, h = r[s] / 2 - a[s] / 2;
|
|
3041
3041
|
let g;
|
|
3042
3042
|
switch (l) {
|
|
3043
3043
|
case "top":
|
|
@@ -3094,7 +3094,7 @@ const ql = async (e, t, o) => {
|
|
|
3094
3094
|
}), {
|
|
3095
3095
|
x: u,
|
|
3096
3096
|
y: f
|
|
3097
|
-
} =
|
|
3097
|
+
} = M2(d, r, l), h = r, g = {}, v = 0;
|
|
3098
3098
|
for (let p = 0; p < s.length; p++) {
|
|
3099
3099
|
const {
|
|
3100
3100
|
name: b,
|
|
@@ -3132,7 +3132,7 @@ const ql = async (e, t, o) => {
|
|
|
3132
3132
|
}) : L.rects), {
|
|
3133
3133
|
x: u,
|
|
3134
3134
|
y: f
|
|
3135
|
-
} =
|
|
3135
|
+
} = M2(d, h, l)), p = -1;
|
|
3136
3136
|
continue;
|
|
3137
3137
|
}
|
|
3138
3138
|
}
|
|
@@ -3187,7 +3187,7 @@ async function $t(e, t) {
|
|
|
3187
3187
|
right: (L.right - C.right + v.right) / y.x
|
|
3188
3188
|
};
|
|
3189
3189
|
}
|
|
3190
|
-
const
|
|
3190
|
+
const j2 = (e) => ({
|
|
3191
3191
|
name: "arrow",
|
|
3192
3192
|
options: e,
|
|
3193
3193
|
async fn(t) {
|
|
@@ -3207,7 +3207,7 @@ const M2 = (e) => ({
|
|
|
3207
3207
|
const u = ja(d), f = {
|
|
3208
3208
|
x: o,
|
|
3209
3209
|
y: r
|
|
3210
|
-
}, h =
|
|
3210
|
+
}, h = kr(a), g = wr(h), v = await c.getDimensions(l), p = h === "y", b = p ? "top" : "left", C = p ? "bottom" : "right", w = p ? "clientHeight" : "clientWidth", k = i.reference[g] + i.reference[h] - f[h] - i.floating[g], y = f[h] - i.reference[h], L = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(l));
|
|
3211
3211
|
let $ = L ? L[w] : 0;
|
|
3212
3212
|
(!$ || !await (c.isElement == null ? void 0 : c.isElement(L))) && ($ = s.floating[w] || i.floating[g]);
|
|
3213
3213
|
const O = k / 2 - y / 2, T = $ / 2 - v[g] / 2 - 1, B = v1(u[b], T), X = v1(u[C], T), J = B, ne = $ - v[g] - X, G = $ / 2 - v[g] / 2 + O, R = Uo(J, G, ne), Q = ot(a) != null && G != R && i.reference[g] / 2 - (G < J ? B : X) - v[g] / 2 < 0 ? G < J ? J - G : ne - G : 0;
|
|
@@ -3288,7 +3288,7 @@ const M2 = (e) => ({
|
|
|
3288
3288
|
}
|
|
3289
3289
|
};
|
|
3290
3290
|
};
|
|
3291
|
-
function
|
|
3291
|
+
function S2(e, t) {
|
|
3292
3292
|
return {
|
|
3293
3293
|
top: e.top - t.height,
|
|
3294
3294
|
right: e.right - t.width,
|
|
@@ -3296,7 +3296,7 @@ function j2(e, t) {
|
|
|
3296
3296
|
left: e.left - t.width
|
|
3297
3297
|
};
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function _2(e) {
|
|
3300
3300
|
return Dl.some((t) => e[t] >= 0);
|
|
3301
3301
|
}
|
|
3302
3302
|
const Xl = function(e) {
|
|
@@ -3315,11 +3315,11 @@ const Xl = function(e) {
|
|
|
3315
3315
|
const i = await $t(t, {
|
|
3316
3316
|
...a,
|
|
3317
3317
|
elementContext: "reference"
|
|
3318
|
-
}), c =
|
|
3318
|
+
}), c = S2(i, o.reference);
|
|
3319
3319
|
return {
|
|
3320
3320
|
data: {
|
|
3321
3321
|
referenceHiddenOffsets: c,
|
|
3322
|
-
referenceHidden:
|
|
3322
|
+
referenceHidden: _2(c)
|
|
3323
3323
|
}
|
|
3324
3324
|
};
|
|
3325
3325
|
}
|
|
@@ -3327,11 +3327,11 @@ const Xl = function(e) {
|
|
|
3327
3327
|
const i = await $t(t, {
|
|
3328
3328
|
...a,
|
|
3329
3329
|
altBoundary: !0
|
|
3330
|
-
}), c =
|
|
3330
|
+
}), c = S2(i, o.floating);
|
|
3331
3331
|
return {
|
|
3332
3332
|
data: {
|
|
3333
3333
|
escapedOffsets: c,
|
|
3334
|
-
escaped:
|
|
3334
|
+
escaped: _2(c)
|
|
3335
3335
|
}
|
|
3336
3336
|
};
|
|
3337
3337
|
}
|
|
@@ -3413,7 +3413,7 @@ const Ql = function(e) {
|
|
|
3413
3413
|
} = o1(e, t), d = {
|
|
3414
3414
|
x: o,
|
|
3415
3415
|
y: r
|
|
3416
|
-
}, u = await $t(t, l), f = rt(r1(a)), h =
|
|
3416
|
+
}, u = await $t(t, l), f = rt(r1(a)), h = mr(f);
|
|
3417
3417
|
let g = d[h], v = d[f];
|
|
3418
3418
|
if (i) {
|
|
3419
3419
|
const b = h === "y" ? "top" : "left", C = h === "y" ? "bottom" : "right", w = g + u[b], k = g - u[C];
|
|
@@ -3454,7 +3454,7 @@ const Ql = function(e) {
|
|
|
3454
3454
|
} = o1(e, t), u = {
|
|
3455
3455
|
x: o,
|
|
3456
3456
|
y: r
|
|
3457
|
-
}, f = rt(a), h =
|
|
3457
|
+
}, f = rt(a), h = mr(f);
|
|
3458
3458
|
let g = u[h], v = u[f];
|
|
3459
3459
|
const p = o1(s, t), b = typeof p == "number" ? {
|
|
3460
3460
|
mainAxis: p,
|
|
@@ -3546,7 +3546,7 @@ function a1(e) {
|
|
|
3546
3546
|
function Je(e) {
|
|
3547
3547
|
return e instanceof HTMLElement || e instanceof Ae(e).HTMLElement;
|
|
3548
3548
|
}
|
|
3549
|
-
function
|
|
3549
|
+
function E2(e) {
|
|
3550
3550
|
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ae(e).ShadowRoot;
|
|
3551
3551
|
}
|
|
3552
3552
|
function Vt(e) {
|
|
@@ -3561,20 +3561,20 @@ function Vt(e) {
|
|
|
3561
3561
|
function o6(e) {
|
|
3562
3562
|
return ["table", "td", "th"].includes(C1(e));
|
|
3563
3563
|
}
|
|
3564
|
-
function
|
|
3565
|
-
const t =
|
|
3564
|
+
function yr(e) {
|
|
3565
|
+
const t = $r(), o = Be(e);
|
|
3566
3566
|
return o.transform !== "none" || o.perspective !== "none" || (o.containerType ? o.containerType !== "normal" : !1) || !t && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !t && (o.filter ? o.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (o.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (o.contain || "").includes(r));
|
|
3567
3567
|
}
|
|
3568
3568
|
function r6(e) {
|
|
3569
3569
|
let t = et(e);
|
|
3570
3570
|
for (; Je(t) && !En(t); ) {
|
|
3571
|
-
if (
|
|
3571
|
+
if (yr(t))
|
|
3572
3572
|
return t;
|
|
3573
3573
|
t = et(t);
|
|
3574
3574
|
}
|
|
3575
3575
|
return null;
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function $r() {
|
|
3578
3578
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
3579
3579
|
}
|
|
3580
3580
|
function En(e) {
|
|
@@ -3599,10 +3599,10 @@ function et(e) {
|
|
|
3599
3599
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
3600
3600
|
e.assignedSlot || // DOM Element detected.
|
|
3601
3601
|
e.parentNode || // ShadowRoot detected.
|
|
3602
|
-
|
|
3602
|
+
E2(e) && e.host || // Fallback.
|
|
3603
3603
|
i1(e)
|
|
3604
3604
|
);
|
|
3605
|
-
return
|
|
3605
|
+
return E2(t) ? t.host : t;
|
|
3606
3606
|
}
|
|
3607
3607
|
function _a(e) {
|
|
3608
3608
|
const t = et(e);
|
|
@@ -3624,11 +3624,11 @@ function Ea(e) {
|
|
|
3624
3624
|
$: s
|
|
3625
3625
|
};
|
|
3626
3626
|
}
|
|
3627
|
-
function
|
|
3627
|
+
function Lr(e) {
|
|
3628
3628
|
return a1(e) ? e : e.contextElement;
|
|
3629
3629
|
}
|
|
3630
3630
|
function Y1(e) {
|
|
3631
|
-
const t =
|
|
3631
|
+
const t = Lr(e);
|
|
3632
3632
|
if (!Je(t))
|
|
3633
3633
|
return b1(1);
|
|
3634
3634
|
const o = t.getBoundingClientRect(), {
|
|
@@ -3645,7 +3645,7 @@ function Y1(e) {
|
|
|
3645
3645
|
const a6 = /* @__PURE__ */ b1(0);
|
|
3646
3646
|
function Oa(e) {
|
|
3647
3647
|
const t = Ae(e);
|
|
3648
|
-
return
|
|
3648
|
+
return !$r() || !t.visualViewport ? a6 : {
|
|
3649
3649
|
x: t.visualViewport.offsetLeft,
|
|
3650
3650
|
y: t.visualViewport.offsetTop
|
|
3651
3651
|
};
|
|
@@ -3655,7 +3655,7 @@ function i6(e, t, o) {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
function E1(e, t, o, r) {
|
|
3657
3657
|
t === void 0 && (t = !1), o === void 0 && (o = !1);
|
|
3658
|
-
const a = e.getBoundingClientRect(), i =
|
|
3658
|
+
const a = e.getBoundingClientRect(), i = Lr(e);
|
|
3659
3659
|
let c = b1(1);
|
|
3660
3660
|
t && (r ? a1(r) && (c = Y1(r)) : c = Y1(e));
|
|
3661
3661
|
const s = i6(i, o, r) ? Oa(i) : b1(0);
|
|
@@ -3722,7 +3722,7 @@ function d6(e, t) {
|
|
|
3722
3722
|
let i = r.clientWidth, c = r.clientHeight, s = 0, l = 0;
|
|
3723
3723
|
if (a) {
|
|
3724
3724
|
i = a.width, c = a.height;
|
|
3725
|
-
const d =
|
|
3725
|
+
const d = $r();
|
|
3726
3726
|
(!d || d && t === "fixed") && (s = a.offsetLeft, l = a.offsetTop);
|
|
3727
3727
|
}
|
|
3728
3728
|
return {
|
|
@@ -3741,7 +3741,7 @@ function u6(e, t) {
|
|
|
3741
3741
|
y: d
|
|
3742
3742
|
};
|
|
3743
3743
|
}
|
|
3744
|
-
function
|
|
3744
|
+
function O2(e, t, o) {
|
|
3745
3745
|
let r;
|
|
3746
3746
|
if (t === "viewport")
|
|
3747
3747
|
r = d6(e, o);
|
|
@@ -3771,7 +3771,7 @@ function f6(e, t) {
|
|
|
3771
3771
|
const i = Be(e).position === "fixed";
|
|
3772
3772
|
let c = i ? et(e) : e;
|
|
3773
3773
|
for (; a1(c) && !En(c); ) {
|
|
3774
|
-
const s = Be(c), l =
|
|
3774
|
+
const s = Be(c), l = yr(c);
|
|
3775
3775
|
!l && s.position === "fixed" && (a = null), (i ? !l && !a : !l && s.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || Vt(c) && !l && Pa(e, c)) ? r = r.filter((u) => u !== c) : a = s, c = et(c);
|
|
3776
3776
|
}
|
|
3777
3777
|
return t.set(e, r), r;
|
|
@@ -3784,9 +3784,9 @@ function p6(e) {
|
|
|
3784
3784
|
strategy: a
|
|
3785
3785
|
} = e;
|
|
3786
3786
|
const c = [...o === "clippingAncestors" ? f6(t, this._c) : [].concat(o), r], s = c[0], l = c.reduce((d, u) => {
|
|
3787
|
-
const f =
|
|
3787
|
+
const f = O2(t, u, a);
|
|
3788
3788
|
return d.top = Te(f.top, d.top), d.right = v1(f.right, d.right), d.bottom = v1(f.bottom, d.bottom), d.left = Te(f.left, d.left), d;
|
|
3789
|
-
},
|
|
3789
|
+
}, O2(t, s, a));
|
|
3790
3790
|
return {
|
|
3791
3791
|
width: l.right - l.left,
|
|
3792
3792
|
height: l.bottom - l.top,
|
|
@@ -3817,17 +3817,17 @@ function g6(e, t, o) {
|
|
|
3817
3817
|
height: c.height
|
|
3818
3818
|
};
|
|
3819
3819
|
}
|
|
3820
|
-
function
|
|
3820
|
+
function H2(e, t) {
|
|
3821
3821
|
return !Je(e) || Be(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
3822
3822
|
}
|
|
3823
3823
|
function Ia(e, t) {
|
|
3824
3824
|
const o = Ae(e);
|
|
3825
3825
|
if (!Je(e))
|
|
3826
3826
|
return o;
|
|
3827
|
-
let r =
|
|
3827
|
+
let r = H2(e, t);
|
|
3828
3828
|
for (; r && o6(r) && Be(r).position === "static"; )
|
|
3829
|
-
r =
|
|
3830
|
-
return r && (C1(r) === "html" || C1(r) === "body" && Be(r).position === "static" && !
|
|
3829
|
+
r = H2(r, t);
|
|
3830
|
+
return r && (C1(r) === "html" || C1(r) === "body" && Be(r).position === "static" && !yr(r)) ? o : r || r6(e) || o;
|
|
3831
3831
|
}
|
|
3832
3832
|
const v6 = async function(e) {
|
|
3833
3833
|
let {
|
|
@@ -3913,7 +3913,7 @@ function m6(e, t, o, r) {
|
|
|
3913
3913
|
elementResize: c = typeof ResizeObserver == "function",
|
|
3914
3914
|
layoutShift: s = typeof IntersectionObserver == "function",
|
|
3915
3915
|
animationFrame: l = !1
|
|
3916
|
-
} = r, d =
|
|
3916
|
+
} = r, d = Lr(e), u = a || i ? [...d ? Cn(d) : [], ...Cn(t)] : [];
|
|
3917
3917
|
u.forEach((C) => {
|
|
3918
3918
|
a && C.addEventListener("scroll", o, {
|
|
3919
3919
|
passive: !0
|
|
@@ -3963,17 +3963,17 @@ const w6 = (e, t, o) => {
|
|
|
3963
3963
|
element: r,
|
|
3964
3964
|
padding: a
|
|
3965
3965
|
} = typeof e == "function" ? e(o) : e;
|
|
3966
|
-
return r && t(r) ? r.current != null ?
|
|
3966
|
+
return r && t(r) ? r.current != null ? j2({
|
|
3967
3967
|
element: r.current,
|
|
3968
3968
|
padding: a
|
|
3969
|
-
}).fn(o) : {} : r ?
|
|
3969
|
+
}).fn(o) : {} : r ? j2({
|
|
3970
3970
|
element: r,
|
|
3971
3971
|
padding: a
|
|
3972
3972
|
}).fn(o) : {};
|
|
3973
3973
|
}
|
|
3974
3974
|
};
|
|
3975
3975
|
};
|
|
3976
|
-
var fn = typeof document < "u" ?
|
|
3976
|
+
var fn = typeof document < "u" ? gr : Z;
|
|
3977
3977
|
function xn(e, t) {
|
|
3978
3978
|
if (e === t)
|
|
3979
3979
|
return !0;
|
|
@@ -4008,11 +4008,11 @@ function xn(e, t) {
|
|
|
4008
4008
|
function Fa(e) {
|
|
4009
4009
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
4010
4010
|
}
|
|
4011
|
-
function
|
|
4011
|
+
function P2(e, t) {
|
|
4012
4012
|
const o = Fa(e);
|
|
4013
4013
|
return Math.round(t * o) / o;
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4015
|
+
function I2(e) {
|
|
4016
4016
|
const t = M.useRef(e);
|
|
4017
4017
|
return fn(() => {
|
|
4018
4018
|
t.current = e;
|
|
@@ -4045,7 +4045,7 @@ function y6(e) {
|
|
|
4045
4045
|
Q != $.current && ($.current = Q, p(Q));
|
|
4046
4046
|
}, [p]), k = M.useCallback((Q) => {
|
|
4047
4047
|
Q !== O.current && (O.current = Q, C(Q));
|
|
4048
|
-
}, [C]), y = i || v, L = c || b, $ = M.useRef(null), O = M.useRef(null), T = M.useRef(u), B =
|
|
4048
|
+
}, [C]), y = i || v, L = c || b, $ = M.useRef(null), O = M.useRef(null), T = M.useRef(u), B = I2(l), X = I2(a), J = M.useCallback(() => {
|
|
4049
4049
|
if (!$.current || !O.current)
|
|
4050
4050
|
return;
|
|
4051
4051
|
const Q = {
|
|
@@ -4095,7 +4095,7 @@ function y6(e) {
|
|
|
4095
4095
|
};
|
|
4096
4096
|
if (!R.floating)
|
|
4097
4097
|
return Q;
|
|
4098
|
-
const pe =
|
|
4098
|
+
const pe = P2(R.floating, u.x), ce = P2(R.floating, u.y);
|
|
4099
4099
|
return s ? {
|
|
4100
4100
|
...Q,
|
|
4101
4101
|
transform: "translate(" + pe + "px, " + ce + "px)",
|
|
@@ -4436,9 +4436,9 @@ function Qt(e) {
|
|
|
4436
4436
|
const bo = "rovingFocusGroup.onEntryFocus", Z6 = {
|
|
4437
4437
|
bubbles: !1,
|
|
4438
4438
|
cancelable: !0
|
|
4439
|
-
},
|
|
4439
|
+
}, Mr = "RovingFocusGroup", [zo, Da, D6] = _n(Mr), [N6, at] = Le(Mr, [
|
|
4440
4440
|
D6
|
|
4441
|
-
]), [B6, U6] = N6(
|
|
4441
|
+
]), [B6, U6] = N6(Mr), W6 = /* @__PURE__ */ H((e, t) => /* @__PURE__ */ x(zo.Provider, {
|
|
4442
4442
|
scope: e.__scopeRovingFocusGroup
|
|
4443
4443
|
}, /* @__PURE__ */ x(zo.Slot, {
|
|
4444
4444
|
scope: e.__scopeRovingFocusGroup
|
|
@@ -4613,7 +4613,7 @@ function J6(e, t) {
|
|
|
4613
4613
|
(o, r) => e[(t + r) % e.length]
|
|
4614
4614
|
);
|
|
4615
4615
|
}
|
|
4616
|
-
const
|
|
4616
|
+
const jr = W6, Sr = K6;
|
|
4617
4617
|
var Q6 = function(e) {
|
|
4618
4618
|
if (typeof document > "u")
|
|
4619
4619
|
return null;
|
|
@@ -4653,7 +4653,7 @@ var Q6 = function(e) {
|
|
|
4653
4653
|
B1.set(f, h), i.set(f, g), h || (en.has(f) || f.removeAttribute(r), en.delete(f)), g || f.removeAttribute(o);
|
|
4654
4654
|
}), Co--, Co || (B1 = /* @__PURE__ */ new WeakMap(), B1 = /* @__PURE__ */ new WeakMap(), en = /* @__PURE__ */ new WeakMap(), tn = {});
|
|
4655
4655
|
};
|
|
4656
|
-
},
|
|
4656
|
+
}, _r = function(e, t, o) {
|
|
4657
4657
|
o === void 0 && (o = "data-aria-hidden");
|
|
4658
4658
|
var r = Array.from(Array.isArray(e) ? e : [e]), a = t || Q6(e);
|
|
4659
4659
|
return a ? (r.push.apply(r, Array.from(a.querySelectorAll("[aria-live]"))), t7(r, a, o, "aria-hidden")) : function() {
|
|
@@ -4669,7 +4669,7 @@ var Q6 = function(e) {
|
|
|
4669
4669
|
return t;
|
|
4670
4670
|
}, Se.apply(this, arguments);
|
|
4671
4671
|
};
|
|
4672
|
-
function
|
|
4672
|
+
function Er(e, t) {
|
|
4673
4673
|
var o = {};
|
|
4674
4674
|
for (var r in e)
|
|
4675
4675
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
|
|
@@ -4780,7 +4780,7 @@ function za(e) {
|
|
|
4780
4780
|
return t.options = Se({ async: !0, ssr: !1 }, e), t;
|
|
4781
4781
|
}
|
|
4782
4782
|
var Ga = function(e) {
|
|
4783
|
-
var t = e.sideCar, o =
|
|
4783
|
+
var t = e.sideCar, o = Er(e, ["sideCar"]);
|
|
4784
4784
|
if (!t)
|
|
4785
4785
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
4786
4786
|
var r = t.read();
|
|
@@ -4798,7 +4798,7 @@ var qa = za(), xo = function() {
|
|
|
4798
4798
|
onScrollCapture: xo,
|
|
4799
4799
|
onWheelCapture: xo,
|
|
4800
4800
|
onTouchMoveCapture: xo
|
|
4801
|
-
}), a = r[0], i = r[1], c = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, g = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, C = b === void 0 ? "div" : b, w =
|
|
4801
|
+
}), a = r[0], i = r[1], c = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, g = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, C = b === void 0 ? "div" : b, w = Er(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), k = h, y = Wa([o, t]), L = Se(Se({}, w), a);
|
|
4802
4802
|
return M.createElement(
|
|
4803
4803
|
M.Fragment,
|
|
4804
4804
|
null,
|
|
@@ -4815,9 +4815,9 @@ Fn.classNames = {
|
|
|
4815
4815
|
fullWidth: kt,
|
|
4816
4816
|
zeroRight: wt
|
|
4817
4817
|
};
|
|
4818
|
-
var
|
|
4819
|
-
if (
|
|
4820
|
-
return
|
|
4818
|
+
var F2, c7 = function() {
|
|
4819
|
+
if (F2)
|
|
4820
|
+
return F2;
|
|
4821
4821
|
if (typeof __webpack_nonce__ < "u")
|
|
4822
4822
|
return __webpack_nonce__;
|
|
4823
4823
|
};
|
|
@@ -4855,7 +4855,7 @@ var f7 = function() {
|
|
|
4855
4855
|
};
|
|
4856
4856
|
}, [t && o]);
|
|
4857
4857
|
};
|
|
4858
|
-
},
|
|
4858
|
+
}, Or = function() {
|
|
4859
4859
|
var e = p7(), t = function(o) {
|
|
4860
4860
|
var r = o.styles, a = o.dynamic;
|
|
4861
4861
|
return e(r, a), null;
|
|
@@ -4881,7 +4881,7 @@ var f7 = function() {
|
|
|
4881
4881
|
right: t[2],
|
|
4882
4882
|
gap: Math.max(0, r - o + t[2] - t[0])
|
|
4883
4883
|
};
|
|
4884
|
-
}, b7 =
|
|
4884
|
+
}, b7 = Or(), C7 = function(e, t, o, r) {
|
|
4885
4885
|
var a = e.left, i = e.top, c = e.right, s = e.gap;
|
|
4886
4886
|
return o === void 0 && (o = "margin"), `
|
|
4887
4887
|
.`.concat(n7, ` {
|
|
@@ -4955,7 +4955,7 @@ var U1 = Go ? { passive: !1 } : !1, x7 = function(e) {
|
|
|
4955
4955
|
return Xa(e, "overflowY");
|
|
4956
4956
|
}, w7 = function(e) {
|
|
4957
4957
|
return Xa(e, "overflowX");
|
|
4958
|
-
},
|
|
4958
|
+
}, R2 = function(e, t) {
|
|
4959
4959
|
var o = t;
|
|
4960
4960
|
do {
|
|
4961
4961
|
typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
|
|
@@ -5001,9 +5001,9 @@ var U1 = Go ? { passive: !1 } : !1, x7 = function(e) {
|
|
|
5001
5001
|
return (u && (a && f === 0 || !a && c > f) || !u && (a && h === 0 || !a && -c > h)) && (d = !0), d;
|
|
5002
5002
|
}, on = function(e) {
|
|
5003
5003
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
5004
|
-
}, R2 = function(e) {
|
|
5005
|
-
return [e.deltaX, e.deltaY];
|
|
5006
5004
|
}, T2 = function(e) {
|
|
5005
|
+
return [e.deltaX, e.deltaY];
|
|
5006
|
+
}, V2 = function(e) {
|
|
5007
5007
|
return e && "current" in e ? e.current : e;
|
|
5008
5008
|
}, M7 = function(e, t) {
|
|
5009
5009
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -5015,14 +5015,14 @@ var U1 = Go ? { passive: !1 } : !1, x7 = function(e) {
|
|
|
5015
5015
|
}, S7 = 0, W1 = [];
|
|
5016
5016
|
function _7(e) {
|
|
5017
5017
|
var t = M.useRef([]), o = M.useRef([0, 0]), r = M.useRef(), a = M.useState(S7++)[0], i = M.useState(function() {
|
|
5018
|
-
return
|
|
5018
|
+
return Or();
|
|
5019
5019
|
})[0], c = M.useRef(e);
|
|
5020
5020
|
M.useEffect(function() {
|
|
5021
5021
|
c.current = e;
|
|
5022
5022
|
}, [e]), M.useEffect(function() {
|
|
5023
5023
|
if (e.inert) {
|
|
5024
5024
|
document.body.classList.add("block-interactivity-".concat(a));
|
|
5025
|
-
var p = Ua([e.lockRef.current], (e.shards || []).map(
|
|
5025
|
+
var p = Ua([e.lockRef.current], (e.shards || []).map(V2), !0).filter(Boolean);
|
|
5026
5026
|
return p.forEach(function(b) {
|
|
5027
5027
|
return b.classList.add("allow-interactivity-".concat(a));
|
|
5028
5028
|
}), function() {
|
|
@@ -5038,10 +5038,10 @@ function _7(e) {
|
|
|
5038
5038
|
var C = on(p), w = o.current, k = "deltaX" in p ? p.deltaX : w[0] - C[0], y = "deltaY" in p ? p.deltaY : w[1] - C[1], L, $ = p.target, O = Math.abs(k) > Math.abs(y) ? "h" : "v";
|
|
5039
5039
|
if ("touches" in p && O === "h" && $.type === "range")
|
|
5040
5040
|
return !1;
|
|
5041
|
-
var T =
|
|
5041
|
+
var T = R2(O, $);
|
|
5042
5042
|
if (!T)
|
|
5043
5043
|
return !0;
|
|
5044
|
-
if (T ? L = O : (L = O === "v" ? "h" : "v", T =
|
|
5044
|
+
if (T ? L = O : (L = O === "v" ? "h" : "v", T = R2(O, $)), !T)
|
|
5045
5045
|
return !1;
|
|
5046
5046
|
if (!r.current && "changedTouches" in p && (k || y) && (r.current = L), !L)
|
|
5047
5047
|
return !0;
|
|
@@ -5050,7 +5050,7 @@ function _7(e) {
|
|
|
5050
5050
|
}, []), l = M.useCallback(function(p) {
|
|
5051
5051
|
var b = p;
|
|
5052
5052
|
if (!(!W1.length || W1[W1.length - 1] !== i)) {
|
|
5053
|
-
var C = "deltaY" in b ?
|
|
5053
|
+
var C = "deltaY" in b ? T2(b) : on(b), w = t.current.filter(function(L) {
|
|
5054
5054
|
return L.name === b.type && L.target === b.target && M7(L.delta, C);
|
|
5055
5055
|
})[0];
|
|
5056
5056
|
if (w && w.should) {
|
|
@@ -5058,7 +5058,7 @@ function _7(e) {
|
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
5060
|
if (!w) {
|
|
5061
|
-
var k = (c.current.shards || []).map(
|
|
5061
|
+
var k = (c.current.shards || []).map(V2).filter(Boolean).filter(function(L) {
|
|
5062
5062
|
return L.contains(b.target);
|
|
5063
5063
|
}), y = k.length > 0 ? s(b, k[0]) : !c.current.noIsolation;
|
|
5064
5064
|
y && b.cancelable && b.preventDefault();
|
|
@@ -5074,7 +5074,7 @@ function _7(e) {
|
|
|
5074
5074
|
}, []), u = M.useCallback(function(p) {
|
|
5075
5075
|
o.current = on(p), r.current = void 0;
|
|
5076
5076
|
}, []), f = M.useCallback(function(p) {
|
|
5077
|
-
d(p.type,
|
|
5077
|
+
d(p.type, T2(p), p.target, s(p, e.lockRef.current));
|
|
5078
5078
|
}, []), h = M.useCallback(function(p) {
|
|
5079
5079
|
d(p.type, on(p), p.target, s(p, e.lockRef.current));
|
|
5080
5080
|
}, []);
|
|
@@ -5195,7 +5195,7 @@ const ti = ei, Ko = [
|
|
|
5195
5195
|
asChild: !0,
|
|
5196
5196
|
container: a
|
|
5197
5197
|
}, r)));
|
|
5198
|
-
}, Ue = "MenuContent", [D7,
|
|
5198
|
+
}, Ue = "MenuContent", [D7, Hr] = I1(Ue), N7 = /* @__PURE__ */ H((e, t) => {
|
|
5199
5199
|
const o = si(Ue, e.__scopeMenu), { forceMount: r = o.forceMount, ...a } = e, i = w1(Ue, e.__scopeMenu), c = Bt(Ue, e.__scopeMenu);
|
|
5200
5200
|
return /* @__PURE__ */ x(Lt.Provider, {
|
|
5201
5201
|
scope: e.__scopeMenu
|
|
@@ -5213,8 +5213,8 @@ const ti = ei, Ko = [
|
|
|
5213
5213
|
return Z(() => {
|
|
5214
5214
|
const i = r.current;
|
|
5215
5215
|
if (i)
|
|
5216
|
-
return
|
|
5217
|
-
}, []), /* @__PURE__ */ x(
|
|
5216
|
+
return _r(i);
|
|
5217
|
+
}, []), /* @__PURE__ */ x(Pr, _({}, e, {
|
|
5218
5218
|
ref: a,
|
|
5219
5219
|
trapFocus: o.open,
|
|
5220
5220
|
disableOutsidePointerEvents: o.open,
|
|
@@ -5230,14 +5230,14 @@ const ti = ei, Ko = [
|
|
|
5230
5230
|
}));
|
|
5231
5231
|
}), U7 = /* @__PURE__ */ H((e, t) => {
|
|
5232
5232
|
const o = w1(Ue, e.__scopeMenu);
|
|
5233
|
-
return /* @__PURE__ */ x(
|
|
5233
|
+
return /* @__PURE__ */ x(Pr, _({}, e, {
|
|
5234
5234
|
ref: t,
|
|
5235
5235
|
trapFocus: !1,
|
|
5236
5236
|
disableOutsidePointerEvents: !1,
|
|
5237
5237
|
disableOutsideScroll: !1,
|
|
5238
5238
|
onDismiss: () => o.onOpenChange(!1)
|
|
5239
5239
|
}));
|
|
5240
|
-
}),
|
|
5240
|
+
}), Pr = /* @__PURE__ */ H((e, t) => {
|
|
5241
5241
|
const { __scopeMenu: o, loop: r = !1, trapFocus: a, onOpenAutoFocus: i, onCloseAutoFocus: c, disableOutsidePointerEvents: s, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: u, onFocusOutside: f, onInteractOutside: h, onDismiss: g, disableOutsideScroll: v, ...p } = e, b = w1(Ue, o), C = Bt(Ue, o), w = Nt(o), k = oi(o), y = F7(o), [L, $] = q(null), O = P(null), T = be(t, O, b.onContentChange), B = P(0), X = P(""), J = P(0), ne = P(null), G = P("right"), R = P(0), W = v ? ti : P1, Q = v ? {
|
|
5242
5242
|
as: Q1,
|
|
5243
5243
|
allowPinchZoom: !0
|
|
@@ -5305,7 +5305,7 @@ const ti = ei, Ko = [
|
|
|
5305
5305
|
onFocusOutside: f,
|
|
5306
5306
|
onInteractOutside: h,
|
|
5307
5307
|
onDismiss: g
|
|
5308
|
-
}, /* @__PURE__ */ x(
|
|
5308
|
+
}, /* @__PURE__ */ x(jr, _({
|
|
5309
5309
|
asChild: !0
|
|
5310
5310
|
}, k, {
|
|
5311
5311
|
dir: C.dir,
|
|
@@ -5360,21 +5360,21 @@ const ti = ei, Ko = [
|
|
|
5360
5360
|
}, r, {
|
|
5361
5361
|
ref: t
|
|
5362
5362
|
}));
|
|
5363
|
-
}), qo = "MenuItem",
|
|
5364
|
-
const { disabled: o = !1, onSelect: r, ...a } = e, i = P(null), c = Bt(qo, e.__scopeMenu), s =
|
|
5363
|
+
}), qo = "MenuItem", A2 = "menu.itemSelect", z7 = /* @__PURE__ */ H((e, t) => {
|
|
5364
|
+
const { disabled: o = !1, onSelect: r, ...a } = e, i = P(null), c = Bt(qo, e.__scopeMenu), s = Hr(qo, e.__scopeMenu), l = be(t, i), d = P(!1), u = () => {
|
|
5365
5365
|
const f = i.current;
|
|
5366
5366
|
if (!o && f) {
|
|
5367
|
-
const h = new CustomEvent(
|
|
5367
|
+
const h = new CustomEvent(A2, {
|
|
5368
5368
|
bubbles: !0,
|
|
5369
5369
|
cancelable: !0
|
|
5370
5370
|
});
|
|
5371
5371
|
f.addEventListener(
|
|
5372
|
-
|
|
5372
|
+
A2,
|
|
5373
5373
|
(g) => r == null ? void 0 : r(g),
|
|
5374
5374
|
{
|
|
5375
5375
|
once: !0
|
|
5376
5376
|
}
|
|
5377
|
-
),
|
|
5377
|
+
), xr(f, h), h.defaultPrevented ? d.current = !1 : c.onClose();
|
|
5378
5378
|
}
|
|
5379
5379
|
};
|
|
5380
5380
|
return /* @__PURE__ */ x(ci, _({}, a, {
|
|
@@ -5395,7 +5395,7 @@ const ti = ei, Ko = [
|
|
|
5395
5395
|
})
|
|
5396
5396
|
}));
|
|
5397
5397
|
}), ci = /* @__PURE__ */ H((e, t) => {
|
|
5398
|
-
const { __scopeMenu: o, disabled: r = !1, textValue: a, ...i } = e, c =
|
|
5398
|
+
const { __scopeMenu: o, disabled: r = !1, textValue: a, ...i } = e, c = Hr(qo, o), s = oi(o), l = P(null), d = be(t, l), [u, f] = q(!1), [h, g] = q("");
|
|
5399
5399
|
return Z(() => {
|
|
5400
5400
|
const v = l.current;
|
|
5401
5401
|
if (v) {
|
|
@@ -5408,7 +5408,7 @@ const ti = ei, Ko = [
|
|
|
5408
5408
|
scope: o,
|
|
5409
5409
|
disabled: r,
|
|
5410
5410
|
textValue: a ?? h
|
|
5411
|
-
}, /* @__PURE__ */ x(
|
|
5411
|
+
}, /* @__PURE__ */ x(Sr, _({
|
|
5412
5412
|
asChild: !0
|
|
5413
5413
|
}, s, {
|
|
5414
5414
|
focusable: !r
|
|
@@ -5468,7 +5468,7 @@ const q7 = /* @__PURE__ */ H((e, t) => {
|
|
|
5468
5468
|
onTriggerChange: l
|
|
5469
5469
|
}, o)));
|
|
5470
5470
|
}, rn = "MenuSubTrigger", J7 = /* @__PURE__ */ H((e, t) => {
|
|
5471
|
-
const o = w1(rn, e.__scopeMenu), r = Bt(rn, e.__scopeMenu), a = di(rn, e.__scopeMenu), i =
|
|
5471
|
+
const o = w1(rn, e.__scopeMenu), r = Bt(rn, e.__scopeMenu), a = di(rn, e.__scopeMenu), i = Hr(rn, e.__scopeMenu), c = P(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: l } = i, d = {
|
|
5472
5472
|
__scopeMenu: e.__scopeMenu
|
|
5473
5473
|
}, u = re(() => {
|
|
5474
5474
|
c.current && window.clearTimeout(c.current), c.current = null;
|
|
@@ -5563,7 +5563,7 @@ const q7 = /* @__PURE__ */ H((e, t) => {
|
|
|
5563
5563
|
present: r || i.open
|
|
5564
5564
|
}, /* @__PURE__ */ x(Lt.Slot, {
|
|
5565
5565
|
scope: e.__scopeMenu
|
|
5566
|
-
}, /* @__PURE__ */ x(
|
|
5566
|
+
}, /* @__PURE__ */ x(Pr, _({
|
|
5567
5567
|
id: s.contentId,
|
|
5568
5568
|
"aria-labelledby": s.triggerId
|
|
5569
5569
|
}, a, {
|
|
@@ -5641,7 +5641,7 @@ function a8(e, t) {
|
|
|
5641
5641
|
function Mt(e) {
|
|
5642
5642
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
5643
5643
|
}
|
|
5644
|
-
const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi = J7, wi = e8, ki = "DropdownMenu", [i8,
|
|
5644
|
+
const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi = J7, wi = e8, ki = "DropdownMenu", [i8, A$] = Le(ki, [
|
|
5645
5645
|
Tn
|
|
5646
5646
|
]), Qe = Tn(), [s8, yi] = i8(ki), c8 = (e) => {
|
|
5647
5647
|
const { __scopeDropdownMenu: t, children: o, dir: r, open: a, defaultOpen: i, onOpenChange: c, modal: s = !0 } = e, l = Qe(t), d = P(null), [u = !1, f] = He({
|
|
@@ -5770,7 +5770,7 @@ const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi
|
|
|
5770
5770
|
"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
|
|
5771
5771
|
}
|
|
5772
5772
|
}));
|
|
5773
|
-
}), m8 = c8, w8 = d8, k8 = u8, y8 = p8, $8 = h8, L8 = g8, M8 = v8, j8 = b8, S8 = C8, _8 = x8,
|
|
5773
|
+
}), m8 = c8, w8 = d8, k8 = u8, y8 = p8, $8 = h8, L8 = g8, M8 = v8, j8 = b8, S8 = C8, _8 = x8, Ir = E.div.withConfig({
|
|
5774
5774
|
componentId: "sc-1fv0ktx-0"
|
|
5775
5775
|
})(["outline:none;max-width:var(--radix-", "-content-available-width);max-height:var(--radix-", "-content-available-height);overflow:hidden;display:flex;align-items:flex-start;", ";", ";"], ({
|
|
5776
5776
|
$type: e
|
|
@@ -5822,7 +5822,7 @@ const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi
|
|
|
5822
5822
|
}) => `
|
|
5823
5823
|
fill: ${e.click.genericMenu.panel.color.background.default};
|
|
5824
5824
|
stroke: ${e.click.genericMenu.panel.color.stroke.default};
|
|
5825
|
-
`),
|
|
5825
|
+
`), Fr = E.div.withConfig({
|
|
5826
5826
|
componentId: "sc-1fv0ktx-3"
|
|
5827
5827
|
})(["display:flex;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;align-items:center;justify-content:flex-start;cursor:default;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;&[aria-selected]{outline:none;}", ';position:relative;&:hover .dropdown-arrow,&[data-state="open"] .dropdown-arrow{left:0.5rem;}'], ({
|
|
5828
5828
|
theme: e
|
|
@@ -5849,7 +5849,7 @@ const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi
|
|
|
5849
5849
|
font: ${e.click.genericMenu.item.typography.label.disabled};
|
|
5850
5850
|
pointer-events: none;
|
|
5851
5851
|
}
|
|
5852
|
-
`), An = (e) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "10", viewBox: "0 0 30 10", fill: "none", ...e, children: /* @__PURE__ */ n.jsx("path", { d: "M0 -1L15 9L30 -1", strokeWidth: "1.5", strokeLinejoin: "round" }) }), Ve = (e) => /* @__PURE__ */ n.jsx(m8, { ...e }), $i = E(
|
|
5852
|
+
`), An = (e) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "10", viewBox: "0 0 30 10", fill: "none", ...e, children: /* @__PURE__ */ n.jsx("path", { d: "M0 -1L15 9L30 -1", strokeWidth: "1.5", strokeLinejoin: "round" }) }), Ve = (e) => /* @__PURE__ */ n.jsx(m8, { ...e }), $i = E(Fr).withConfig({
|
|
5853
5853
|
componentId: "sc-18bhwbw-0"
|
|
5854
5854
|
})(['position:relative;&:hover .dropdown-arrow,&[data-state="open"] .dropdown-arrow{position:relative;left:0.5rem;}']), O8 = E(w8).withConfig({
|
|
5855
5855
|
componentId: "sc-18bhwbw-1"
|
|
@@ -5873,7 +5873,7 @@ const fi = V7, pi = ai, hi = Z7, gi = N7, vi = W7, bi = z7, Ci = q7, xi = X7, mi
|
|
|
5873
5873
|
};
|
|
5874
5874
|
Li.displayName = "DropdownTrigger";
|
|
5875
5875
|
Ve.Trigger = Li;
|
|
5876
|
-
const P8 = E(
|
|
5876
|
+
const P8 = E(Ir).withConfig({
|
|
5877
5877
|
componentId: "sc-18bhwbw-3"
|
|
5878
5878
|
})(["flex-direction:column;z-index:1;"]), Mi = ({
|
|
5879
5879
|
sub: e,
|
|
@@ -5908,7 +5908,7 @@ Ve.Sub = Si;
|
|
|
5908
5908
|
const _i = (e) => /* @__PURE__ */ n.jsx($i, { as: L8, ...e });
|
|
5909
5909
|
_i.displayName = "DropdownItem";
|
|
5910
5910
|
Ve.Item = _i;
|
|
5911
|
-
const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8,
|
|
5911
|
+
const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Rr] = R8(Ei), V8 = /* @__PURE__ */ H((e, t) => {
|
|
5912
5912
|
const { __scopeCollapsible: o, open: r, defaultOpen: a, disabled: i, onOpenChange: c, ...s } = e, [l = !1, d] = He({
|
|
5913
5913
|
prop: r,
|
|
5914
5914
|
defaultProp: a,
|
|
@@ -5928,18 +5928,18 @@ const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Fr] = R8(Ei), V8 = /* @__PURE_
|
|
|
5928
5928
|
]
|
|
5929
5929
|
)
|
|
5930
5930
|
}, /* @__PURE__ */ x(ae.div, _({
|
|
5931
|
-
"data-state":
|
|
5931
|
+
"data-state": Tr(l),
|
|
5932
5932
|
"data-disabled": i ? "" : void 0
|
|
5933
5933
|
}, s, {
|
|
5934
5934
|
ref: t
|
|
5935
5935
|
})));
|
|
5936
5936
|
}), A8 = "CollapsibleTrigger", Z8 = /* @__PURE__ */ H((e, t) => {
|
|
5937
|
-
const { __scopeCollapsible: o, ...r } = e, a =
|
|
5937
|
+
const { __scopeCollapsible: o, ...r } = e, a = Rr(A8, o);
|
|
5938
5938
|
return /* @__PURE__ */ x(ae.button, _({
|
|
5939
5939
|
type: "button",
|
|
5940
5940
|
"aria-controls": a.contentId,
|
|
5941
5941
|
"aria-expanded": a.open || !1,
|
|
5942
|
-
"data-state":
|
|
5942
|
+
"data-state": Tr(a.open),
|
|
5943
5943
|
"data-disabled": a.disabled ? "" : void 0,
|
|
5944
5944
|
disabled: a.disabled
|
|
5945
5945
|
}, r, {
|
|
@@ -5947,7 +5947,7 @@ const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Fr] = R8(Ei), V8 = /* @__PURE_
|
|
|
5947
5947
|
onClick: A(e.onClick, a.onOpenToggle)
|
|
5948
5948
|
}));
|
|
5949
5949
|
}), Hi = "CollapsibleContent", D8 = /* @__PURE__ */ H((e, t) => {
|
|
5950
|
-
const { forceMount: o, ...r } = e, a =
|
|
5950
|
+
const { forceMount: o, ...r } = e, a = Rr(Hi, e.__scopeCollapsible);
|
|
5951
5951
|
return /* @__PURE__ */ x(
|
|
5952
5952
|
Pe,
|
|
5953
5953
|
{
|
|
@@ -5959,7 +5959,7 @@ const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Fr] = R8(Ei), V8 = /* @__PURE_
|
|
|
5959
5959
|
}))
|
|
5960
5960
|
);
|
|
5961
5961
|
}), N8 = /* @__PURE__ */ H((e, t) => {
|
|
5962
|
-
const { __scopeCollapsible: o, present: r, children: a, ...i } = e, c =
|
|
5962
|
+
const { __scopeCollapsible: o, present: r, children: a, ...i } = e, c = Rr(Hi, o), [s, l] = q(r), d = P(null), u = be(t, d), f = P(0), h = f.current, g = P(0), v = g.current, p = c.open || s, b = P(p), C = P();
|
|
5963
5963
|
return Z(() => {
|
|
5964
5964
|
const w = requestAnimationFrame(
|
|
5965
5965
|
() => b.current = !1
|
|
@@ -5979,7 +5979,7 @@ const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Fr] = R8(Ei), V8 = /* @__PURE_
|
|
|
5979
5979
|
c.open,
|
|
5980
5980
|
r
|
|
5981
5981
|
]), /* @__PURE__ */ x(ae.div, _({
|
|
5982
|
-
"data-state":
|
|
5982
|
+
"data-state": Tr(c.open),
|
|
5983
5983
|
"data-disabled": c.disabled ? "" : void 0,
|
|
5984
5984
|
id: c.contentId,
|
|
5985
5985
|
hidden: !p
|
|
@@ -5992,7 +5992,7 @@ const Ei = "Collapsible", [R8, Oi] = Le(Ei), [T8, Fr] = R8(Ei), V8 = /* @__PURE_
|
|
|
5992
5992
|
}
|
|
5993
5993
|
}), p && a);
|
|
5994
5994
|
});
|
|
5995
|
-
function
|
|
5995
|
+
function Tr(e) {
|
|
5996
5996
|
return e ? "open" : "closed";
|
|
5997
5997
|
}
|
|
5998
5998
|
const B8 = V8, U8 = Z8, W8 = D8, F1 = "Accordion", z8 = [
|
|
@@ -6002,12 +6002,12 @@ const B8 = V8, U8 = Z8, W8 = D8, F1 = "Accordion", z8 = [
|
|
|
6002
6002
|
"ArrowUp",
|
|
6003
6003
|
"ArrowLeft",
|
|
6004
6004
|
"ArrowRight"
|
|
6005
|
-
], [
|
|
6005
|
+
], [Vr, G8, K8] = _n(F1), [Zn, Z$] = Le(F1, [
|
|
6006
6006
|
K8,
|
|
6007
6007
|
Oi
|
|
6008
|
-
]),
|
|
6008
|
+
]), Ar = Oi(), Pi = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6009
6009
|
const { type: o, ...r } = e, a = r, i = r;
|
|
6010
|
-
return /* @__PURE__ */ ee.createElement(
|
|
6010
|
+
return /* @__PURE__ */ ee.createElement(Vr.Provider, {
|
|
6011
6011
|
scope: e.__scopeAccordion
|
|
6012
6012
|
}, o === "multiple" ? /* @__PURE__ */ ee.createElement(J8, _({}, i, {
|
|
6013
6013
|
ref: t
|
|
@@ -6089,7 +6089,7 @@ const [Ii, q8] = Zn(F1), [Fi, Y8] = Zn(F1, {
|
|
|
6089
6089
|
}, /* @__PURE__ */ ee.createElement(Ri, _({}, i, {
|
|
6090
6090
|
ref: t
|
|
6091
6091
|
}))));
|
|
6092
|
-
}), [Q8,
|
|
6092
|
+
}), [Q8, Zr] = Zn(F1), Ri = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6093
6093
|
const { __scopeAccordion: o, disabled: r, dir: a, orientation: i = "vertical", ...c } = e, s = ee.useRef(null), l = be(s, t), d = G8(o), f = Rt(a) === "ltr", h = A(e.onKeyDown, (g) => {
|
|
6094
6094
|
var v;
|
|
6095
6095
|
if (!z8.includes(g.key))
|
|
@@ -6137,7 +6137,7 @@ const [Ii, q8] = Zn(F1), [Fi, Y8] = Zn(F1, {
|
|
|
6137
6137
|
disabled: r,
|
|
6138
6138
|
direction: a,
|
|
6139
6139
|
orientation: i
|
|
6140
|
-
}, /* @__PURE__ */ ee.createElement(
|
|
6140
|
+
}, /* @__PURE__ */ ee.createElement(Vr.Slot, {
|
|
6141
6141
|
scope: o
|
|
6142
6142
|
}, /* @__PURE__ */ ee.createElement(ae.div, _({}, c, {
|
|
6143
6143
|
"data-orientation": i,
|
|
@@ -6145,7 +6145,7 @@ const [Ii, q8] = Zn(F1), [Fi, Y8] = Zn(F1, {
|
|
|
6145
6145
|
onKeyDown: r ? void 0 : h
|
|
6146
6146
|
}))));
|
|
6147
6147
|
}), Yo = "AccordionItem", [e9, Ti] = Zn(Yo), t9 = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6148
|
-
const { __scopeAccordion: o, value: r, ...a } = e, i =
|
|
6148
|
+
const { __scopeAccordion: o, value: r, ...a } = e, i = Zr(Yo, o), c = q8(Yo, o), s = Ar(o), l = Xe(), d = r && c.value.includes(r) || !1, u = i.disabled || e.disabled;
|
|
6149
6149
|
return /* @__PURE__ */ ee.createElement(e9, {
|
|
6150
6150
|
scope: o,
|
|
6151
6151
|
open: d,
|
|
@@ -6162,9 +6162,9 @@ const [Ii, q8] = Zn(F1), [Fi, Y8] = Zn(F1, {
|
|
|
6162
6162
|
f ? c.onItemOpen(r) : c.onItemClose(r);
|
|
6163
6163
|
}
|
|
6164
6164
|
})));
|
|
6165
|
-
}),
|
|
6166
|
-
const { __scopeAccordion: o, ...r } = e, a =
|
|
6167
|
-
return /* @__PURE__ */ ee.createElement(
|
|
6165
|
+
}), Z2 = "AccordionTrigger", n9 = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6166
|
+
const { __scopeAccordion: o, ...r } = e, a = Zr(F1, o), i = Ti(Z2, o), c = Y8(Z2, o), s = Ar(o);
|
|
6167
|
+
return /* @__PURE__ */ ee.createElement(Vr.ItemSlot, {
|
|
6168
6168
|
scope: o
|
|
6169
6169
|
}, /* @__PURE__ */ ee.createElement(U8, _({
|
|
6170
6170
|
"aria-disabled": i.open && !c.collapsible || void 0,
|
|
@@ -6174,7 +6174,7 @@ const [Ii, q8] = Zn(F1), [Fi, Y8] = Zn(F1, {
|
|
|
6174
6174
|
ref: t
|
|
6175
6175
|
})));
|
|
6176
6176
|
}), o9 = "AccordionContent", r9 = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6177
|
-
const { __scopeAccordion: o, ...r } = e, a =
|
|
6177
|
+
const { __scopeAccordion: o, ...r } = e, a = Zr(F1, o), i = Ti(o9, o), c = Ar(o);
|
|
6178
6178
|
return /* @__PURE__ */ ee.createElement(W8, _({
|
|
6179
6179
|
role: "region",
|
|
6180
6180
|
"aria-labelledby": i.triggerId,
|
|
@@ -6239,7 +6239,7 @@ E(Vi).withConfig({
|
|
|
6239
6239
|
})(["", "{gap:", ";}p{margin:0;}", "{visibility:hidden;}&:hover ", "{visibility:revert;}&:active ", "{visibility:revert;}", "[data-state='open'] ", "{visibility:revert;}"], mn, ({
|
|
6240
6240
|
theme: e
|
|
6241
6241
|
}) => e.click.sidebar.navigation.item.default.space.gap, mt, mt, mt, mn, mt);
|
|
6242
|
-
const
|
|
6242
|
+
const D$ = E(Vi).withConfig({
|
|
6243
6243
|
componentId: "sc-1ysh219-5"
|
|
6244
6244
|
})([""]), f9 = {
|
|
6245
6245
|
neutral: "information",
|
|
@@ -6311,7 +6311,7 @@ const A$ = E(Vi).withConfig({
|
|
|
6311
6311
|
$size: t
|
|
6312
6312
|
}) => e.click.alert[t].typography.text.default), x9 = E.button.withConfig({
|
|
6313
6313
|
componentId: "sc-1wvczk0-6"
|
|
6314
|
-
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;"]),
|
|
6314
|
+
})(["display:flex;align-items:center;margin-left:auto;border:none;background-color:transparent;color:inherit;"]), N$ = (e) => /* @__PURE__ */ n.jsx(Dn, { ...e, state: "danger" }), B$ = (e) => /* @__PURE__ */ n.jsx(Dn, { ...e, state: "info" }), U$ = (e) => /* @__PURE__ */ n.jsx(Dn, { ...e, state: "success" }), W$ = (e) => /* @__PURE__ */ n.jsx(Dn, { ...e, state: "warning" }), Ai = "Avatar", [m9, z$] = Le(Ai), [w9, k9] = m9(Ai), y9 = /* @__PURE__ */ H((e, t) => {
|
|
6315
6315
|
const { __scopeAvatar: o, ...r } = e, [a, i] = q("idle");
|
|
6316
6316
|
return /* @__PURE__ */ x(w9, {
|
|
6317
6317
|
scope: o,
|
|
@@ -6335,7 +6335,7 @@ const A$ = E(Vi).withConfig({
|
|
|
6335
6335
|
]), c && i.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ x(ae.span, _({}, a, {
|
|
6336
6336
|
ref: t
|
|
6337
6337
|
})) : null;
|
|
6338
|
-
}), M9 = y9, j9 = L9,
|
|
6338
|
+
}), M9 = y9, j9 = L9, G$ = ({
|
|
6339
6339
|
text: e = "",
|
|
6340
6340
|
textSize: t = "sm",
|
|
6341
6341
|
...o
|
|
@@ -6393,7 +6393,7 @@ const A$ = E(Vi).withConfig({
|
|
|
6393
6393
|
}) => /* @__PURE__ */ n.jsx(E9, { $state: t, $size: o, children: /* @__PURE__ */ n.jsxs(O9, { children: [
|
|
6394
6394
|
e,
|
|
6395
6395
|
r && /* @__PURE__ */ n.jsx(H9, { name: "cross", $state: t, as: de, onClick: a, "aria-label": "close" })
|
|
6396
|
-
] }) }),
|
|
6396
|
+
] }) }), K$ = ({
|
|
6397
6397
|
labels: e,
|
|
6398
6398
|
activeIndex: t,
|
|
6399
6399
|
onClick: o
|
|
@@ -6448,13 +6448,13 @@ const A$ = E(Vi).withConfig({
|
|
|
6448
6448
|
disabled: l,
|
|
6449
6449
|
...d
|
|
6450
6450
|
}) => /* @__PURE__ */ n.jsxs(Z9, { $styleType: e, $align: r, $fillWidth: i, disabled: l || s, role: "button", ...d, children: [
|
|
6451
|
-
t && /* @__PURE__ */ n.jsx(
|
|
6451
|
+
t && /* @__PURE__ */ n.jsx(D2, { name: t, "aria-hidden": !0, size: "sm" }),
|
|
6452
6452
|
c ?? a,
|
|
6453
|
-
o && /* @__PURE__ */ n.jsx(
|
|
6453
|
+
o && /* @__PURE__ */ n.jsx(D2, { name: o, "aria-hidden": !0, size: "sm" }),
|
|
6454
6454
|
s && /* @__PURE__ */ n.jsx(A9, { children: /* @__PURE__ */ n.jsx(de, { name: "loading-animated", "data-testid": "click-ui-loading-icon", "aria-label": "loading" }) })
|
|
6455
6455
|
] }), A9 = E.div.withConfig({
|
|
6456
6456
|
componentId: "sc-1k4tz4c-0"
|
|
6457
|
-
})(["position:absolute;background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;"]), Z9 = E(
|
|
6457
|
+
})(["position:absolute;background-color:inherit;top:0;left:0;bottom:0;right:0;display:flex;align-content:center;justify-content:center;"]), Z9 = E(br).withConfig({
|
|
6458
6458
|
componentId: "sc-1k4tz4c-1"
|
|
6459
6459
|
})(["width:", ";color:", ";background-color:", ";border:", " solid ", ";position:relative;display:flex;align-items:center;justify-content:", ";&:hover{background-color:", ";border:", " solid ", ";transition:", ";}&:active,&:focus{background-color:", ";border:1px solid ", ";}&:disabled,&:disabled:hover,&:disabled:active{background-color:", ";color:", ";border:", " solid ", ";}"], ({
|
|
6460
6460
|
$fillWidth: e
|
|
@@ -6498,7 +6498,7 @@ const A$ = E(Vi).withConfig({
|
|
|
6498
6498
|
}) => e.click.button.stroke, ({
|
|
6499
6499
|
$styleType: e = "primary",
|
|
6500
6500
|
theme: t
|
|
6501
|
-
}) => t.click.button.basic.color[e].stroke.disabled),
|
|
6501
|
+
}) => t.click.button.basic.color[e].stroke.disabled), D2 = E(de).withConfig({
|
|
6502
6502
|
componentId: "sc-1k4tz4c-2"
|
|
6503
6503
|
})(["height:", ";width:", ";svg{height:", ";width:", ";}"], ({
|
|
6504
6504
|
theme: e
|
|
@@ -6596,7 +6596,7 @@ const U9 = E.div.withConfig({
|
|
|
6596
6596
|
theme: e
|
|
6597
6597
|
}) => e.click.card.secondary.color.stroke.disabled, Xo, Jo, ({
|
|
6598
6598
|
theme: e
|
|
6599
|
-
}) => e.click.card.secondary.color.link.disabled),
|
|
6599
|
+
}) => e.click.card.secondary.color.link.disabled), q$ = ({
|
|
6600
6600
|
title: e,
|
|
6601
6601
|
icon: t,
|
|
6602
6602
|
badgeState: o,
|
|
@@ -6679,7 +6679,7 @@ const U9 = E.div.withConfig({
|
|
|
6679
6679
|
})(["width:85%;display:flex;flex-direction:column;align-self:center;gap:", ";"], ({
|
|
6680
6680
|
$size: e = "md",
|
|
6681
6681
|
theme: t
|
|
6682
|
-
}) => t.click.card.primary.space[e].gap),
|
|
6682
|
+
}) => t.click.card.primary.space[e].gap), Y$ = ({
|
|
6683
6683
|
title: e,
|
|
6684
6684
|
icon: t,
|
|
6685
6685
|
hasShadow: o = !1,
|
|
@@ -6702,7 +6702,7 @@ const U9 = E.div.withConfig({
|
|
|
6702
6702
|
i && /* @__PURE__ */ n.jsx(d, { onClick: l, disabled: s, children: i })
|
|
6703
6703
|
] });
|
|
6704
6704
|
};
|
|
6705
|
-
function
|
|
6705
|
+
function Dr(e) {
|
|
6706
6706
|
const t = P({
|
|
6707
6707
|
value: e,
|
|
6708
6708
|
previous: e
|
|
@@ -6711,7 +6711,7 @@ function Zr(e) {
|
|
|
6711
6711
|
e
|
|
6712
6712
|
]);
|
|
6713
6713
|
}
|
|
6714
|
-
const Ni = "Checkbox", [Q9,
|
|
6714
|
+
const Ni = "Checkbox", [Q9, X$] = Le(Ni), [ed, td] = Q9(Ni), nd = /* @__PURE__ */ H((e, t) => {
|
|
6715
6715
|
const { __scopeCheckbox: o, name: r, checked: a, defaultChecked: i, required: c, disabled: s, value: l = "on", onCheckedChange: d, ...u } = e, [f, h] = q(null), g = be(
|
|
6716
6716
|
t,
|
|
6717
6717
|
(k) => h(k)
|
|
@@ -6779,7 +6779,7 @@ const Ni = "Checkbox", [Q9, q$] = Le(Ni), [ed, td] = Q9(Ni), nd = /* @__PURE__ *
|
|
|
6779
6779
|
}
|
|
6780
6780
|
})));
|
|
6781
6781
|
}), ad = (e) => {
|
|
6782
|
-
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c =
|
|
6782
|
+
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c = Dr(o), s = Hn(t);
|
|
6783
6783
|
return Z(() => {
|
|
6784
6784
|
const l = i.current, d = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(d, "checked").set;
|
|
6785
6785
|
if (c !== o && f) {
|
|
@@ -6817,7 +6817,7 @@ function Bi(e) {
|
|
|
6817
6817
|
}
|
|
6818
6818
|
const id = nd, sd = rd, cd = E(It).withConfig({
|
|
6819
6819
|
componentId: "sc-1sck1ja-0"
|
|
6820
|
-
})(["max-width:fit-content;"]),
|
|
6820
|
+
})(["max-width:fit-content;"]), J$ = ({
|
|
6821
6821
|
id: e,
|
|
6822
6822
|
label: t,
|
|
6823
6823
|
disabled: o,
|
|
@@ -6950,7 +6950,7 @@ function Ui(e, t, o) {
|
|
|
6950
6950
|
writable: !0
|
|
6951
6951
|
}) : e[t] = o, e;
|
|
6952
6952
|
}
|
|
6953
|
-
function
|
|
6953
|
+
function N2(e, t) {
|
|
6954
6954
|
var o = Object.keys(e);
|
|
6955
6955
|
if (Object.getOwnPropertySymbols) {
|
|
6956
6956
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -6963,9 +6963,9 @@ function D2(e, t) {
|
|
|
6963
6963
|
function q1(e) {
|
|
6964
6964
|
for (var t = 1; t < arguments.length; t++) {
|
|
6965
6965
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
6966
|
-
t % 2 ?
|
|
6966
|
+
t % 2 ? N2(Object(o), !0).forEach(function(r) {
|
|
6967
6967
|
Ui(e, r, o[r]);
|
|
6968
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
6968
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : N2(Object(o)).forEach(function(r) {
|
|
6969
6969
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
|
|
6970
6970
|
});
|
|
6971
6971
|
}
|
|
@@ -6997,14 +6997,14 @@ function kd(e) {
|
|
|
6997
6997
|
return q1(q1({}, i), o[c]);
|
|
6998
6998
|
}, t);
|
|
6999
6999
|
}
|
|
7000
|
-
function
|
|
7000
|
+
function B2(e) {
|
|
7001
7001
|
return e.join(" ");
|
|
7002
7002
|
}
|
|
7003
7003
|
function yd(e, t) {
|
|
7004
7004
|
var o = 0;
|
|
7005
7005
|
return function(r) {
|
|
7006
7006
|
return o += 1, r.map(function(a, i) {
|
|
7007
|
-
return
|
|
7007
|
+
return Nr({
|
|
7008
7008
|
node: a,
|
|
7009
7009
|
stylesheet: e,
|
|
7010
7010
|
useInlineStyles: t,
|
|
@@ -7013,7 +7013,7 @@ function yd(e, t) {
|
|
|
7013
7013
|
});
|
|
7014
7014
|
};
|
|
7015
7015
|
}
|
|
7016
|
-
function
|
|
7016
|
+
function Nr(e) {
|
|
7017
7017
|
var t = e.node, o = e.stylesheet, r = e.style, a = r === void 0 ? {} : r, i = e.useInlineStyles, c = e.key, s = t.properties, l = t.type, d = t.tagName, u = t.value;
|
|
7018
7018
|
if (l === "text")
|
|
7019
7019
|
return u;
|
|
@@ -7021,7 +7021,7 @@ function Dr(e) {
|
|
|
7021
7021
|
var f = yd(o, i), h;
|
|
7022
7022
|
if (!i)
|
|
7023
7023
|
h = q1(q1({}, s), {}, {
|
|
7024
|
-
className:
|
|
7024
|
+
className: B2(s.className)
|
|
7025
7025
|
});
|
|
7026
7026
|
else {
|
|
7027
7027
|
var g = Object.keys(o).reduce(function(C, w) {
|
|
@@ -7032,7 +7032,7 @@ function Dr(e) {
|
|
|
7032
7032
|
return !g.includes(C);
|
|
7033
7033
|
}));
|
|
7034
7034
|
h = q1(q1({}, s), {}, {
|
|
7035
|
-
className:
|
|
7035
|
+
className: B2(p) || void 0,
|
|
7036
7036
|
style: kd(s.className, Object.assign({}, s.style, a), o)
|
|
7037
7037
|
});
|
|
7038
7038
|
}
|
|
@@ -7047,7 +7047,7 @@ const $d = function(e, t) {
|
|
|
7047
7047
|
return o.indexOf(t) !== -1;
|
|
7048
7048
|
};
|
|
7049
7049
|
var Ld = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];
|
|
7050
|
-
function
|
|
7050
|
+
function U2(e, t) {
|
|
7051
7051
|
var o = Object.keys(e);
|
|
7052
7052
|
if (Object.getOwnPropertySymbols) {
|
|
7053
7053
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -7060,9 +7060,9 @@ function B2(e, t) {
|
|
|
7060
7060
|
function qe(e) {
|
|
7061
7061
|
for (var t = 1; t < arguments.length; t++) {
|
|
7062
7062
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
7063
|
-
t % 2 ?
|
|
7063
|
+
t % 2 ? U2(Object(o), !0).forEach(function(r) {
|
|
7064
7064
|
Ui(e, r, o[r]);
|
|
7065
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
7065
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : U2(Object(o)).forEach(function(r) {
|
|
7066
7066
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(o, r));
|
|
7067
7067
|
});
|
|
7068
7068
|
}
|
|
@@ -7238,7 +7238,7 @@ function Od(e, t, o, r, a, i, c, s, l) {
|
|
|
7238
7238
|
function Hd(e) {
|
|
7239
7239
|
var t = e.rows, o = e.stylesheet, r = e.useInlineStyles;
|
|
7240
7240
|
return t.map(function(a, i) {
|
|
7241
|
-
return
|
|
7241
|
+
return Nr({
|
|
7242
7242
|
node: a,
|
|
7243
7243
|
stylesheet: o,
|
|
7244
7244
|
useInlineStyles: r,
|
|
@@ -7317,19 +7317,19 @@ function Id(e, t) {
|
|
|
7317
7317
|
};
|
|
7318
7318
|
}
|
|
7319
7319
|
var R1 = {};
|
|
7320
|
-
function
|
|
7320
|
+
function Br(e) {
|
|
7321
7321
|
return e instanceof Map ? e.clear = e.delete = e.set = function() {
|
|
7322
7322
|
throw new Error("map is read-only");
|
|
7323
7323
|
} : e instanceof Set && (e.add = e.clear = e.delete = function() {
|
|
7324
7324
|
throw new Error("set is read-only");
|
|
7325
7325
|
}), Object.freeze(e), Object.getOwnPropertyNames(e).forEach(function(t) {
|
|
7326
7326
|
var o = e[t];
|
|
7327
|
-
typeof o == "object" && !Object.isFrozen(o) &&
|
|
7327
|
+
typeof o == "object" && !Object.isFrozen(o) && Br(o);
|
|
7328
7328
|
}), e;
|
|
7329
7329
|
}
|
|
7330
|
-
var qi =
|
|
7330
|
+
var qi = Br, Fd = Br;
|
|
7331
7331
|
qi.default = Fd;
|
|
7332
|
-
class
|
|
7332
|
+
class W2 {
|
|
7333
7333
|
/**
|
|
7334
7334
|
* @param {CompiledMode} mode
|
|
7335
7335
|
*/
|
|
@@ -7353,7 +7353,7 @@ function p1(e, ...t) {
|
|
|
7353
7353
|
}), /** @type {T} */
|
|
7354
7354
|
o;
|
|
7355
7355
|
}
|
|
7356
|
-
const Rd = "</span>",
|
|
7356
|
+
const Rd = "</span>", z2 = (e) => !!e.kind;
|
|
7357
7357
|
class Td {
|
|
7358
7358
|
/**
|
|
7359
7359
|
* Creates a new HTMLRenderer
|
|
@@ -7376,7 +7376,7 @@ class Td {
|
|
|
7376
7376
|
*
|
|
7377
7377
|
* @param {Node} node */
|
|
7378
7378
|
openNode(t) {
|
|
7379
|
-
if (!
|
|
7379
|
+
if (!z2(t))
|
|
7380
7380
|
return;
|
|
7381
7381
|
let o = t.kind;
|
|
7382
7382
|
t.sublanguage || (o = `${this.classPrefix}${o}`), this.span(o);
|
|
@@ -7386,7 +7386,7 @@ class Td {
|
|
|
7386
7386
|
*
|
|
7387
7387
|
* @param {Node} node */
|
|
7388
7388
|
closeNode(t) {
|
|
7389
|
-
|
|
7389
|
+
z2(t) && (this.buffer += Rd);
|
|
7390
7390
|
}
|
|
7391
7391
|
/**
|
|
7392
7392
|
* returns the accumulated buffer
|
|
@@ -7403,7 +7403,7 @@ class Td {
|
|
|
7403
7403
|
this.buffer += `<span class="${t}">`;
|
|
7404
7404
|
}
|
|
7405
7405
|
}
|
|
7406
|
-
class
|
|
7406
|
+
class Ur {
|
|
7407
7407
|
constructor() {
|
|
7408
7408
|
this.rootNode = { children: [] }, this.stack = [this.rootNode];
|
|
7409
7409
|
}
|
|
@@ -7452,11 +7452,11 @@ class Br {
|
|
|
7452
7452
|
*/
|
|
7453
7453
|
static _collapse(t) {
|
|
7454
7454
|
typeof t != "string" && t.children && (t.children.every((o) => typeof o == "string") ? t.children = [t.children.join("")] : t.children.forEach((o) => {
|
|
7455
|
-
|
|
7455
|
+
Ur._collapse(o);
|
|
7456
7456
|
}));
|
|
7457
7457
|
}
|
|
7458
7458
|
}
|
|
7459
|
-
class Vd extends
|
|
7459
|
+
class Vd extends Ur {
|
|
7460
7460
|
/**
|
|
7461
7461
|
* @param {*} options
|
|
7462
7462
|
*/
|
|
@@ -7528,7 +7528,7 @@ function Wd(e, t = "|") {
|
|
|
7528
7528
|
return c;
|
|
7529
7529
|
}).map((r) => `(${r})`).join(t);
|
|
7530
7530
|
}
|
|
7531
|
-
const zd = /\b\B/, Yi = "[a-zA-Z]\\w*",
|
|
7531
|
+
const zd = /\b\B/, Yi = "[a-zA-Z]\\w*", Wr = "[a-zA-Z_]\\w*", zr = "\\b\\d+(\\.\\d+)?", Xi = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ji = "\\b(0b[01]+)", Gd = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Kd = (e = {}) => {
|
|
7532
7532
|
const t = /^#![ ]*\//;
|
|
7533
7533
|
return e.binary && (e.begin = Zd(
|
|
7534
7534
|
t,
|
|
@@ -7579,7 +7579,7 @@ const zd = /\b\B/, Yi = "[a-zA-Z]\\w*", Ur = "[a-zA-Z_]\\w*", Wr = "\\b\\d+(\\.\
|
|
|
7579
7579
|
}), r;
|
|
7580
7580
|
}, Xd = Bn("//", "$"), Jd = Bn("/\\*", "\\*/"), Qd = Bn("#", "$"), eu = {
|
|
7581
7581
|
className: "number",
|
|
7582
|
-
begin:
|
|
7582
|
+
begin: zr,
|
|
7583
7583
|
relevance: 0
|
|
7584
7584
|
}, tu = {
|
|
7585
7585
|
className: "number",
|
|
@@ -7591,7 +7591,7 @@ const zd = /\b\B/, Yi = "[a-zA-Z]\\w*", Ur = "[a-zA-Z_]\\w*", Wr = "\\b\\d+(\\.\
|
|
|
7591
7591
|
relevance: 0
|
|
7592
7592
|
}, ou = {
|
|
7593
7593
|
className: "number",
|
|
7594
|
-
begin:
|
|
7594
|
+
begin: zr + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
|
|
7595
7595
|
relevance: 0
|
|
7596
7596
|
}, ru = {
|
|
7597
7597
|
// this outer rule makes sure we actually have a WHOLE regex and not simply
|
|
@@ -7622,11 +7622,11 @@ const zd = /\b\B/, Yi = "[a-zA-Z]\\w*", Ur = "[a-zA-Z_]\\w*", Wr = "\\b\\d+(\\.\
|
|
|
7622
7622
|
relevance: 0
|
|
7623
7623
|
}, iu = {
|
|
7624
7624
|
className: "title",
|
|
7625
|
-
begin:
|
|
7625
|
+
begin: Wr,
|
|
7626
7626
|
relevance: 0
|
|
7627
7627
|
}, su = {
|
|
7628
7628
|
// excludes method names from keyword processing
|
|
7629
|
-
begin: "\\.\\s*" +
|
|
7629
|
+
begin: "\\.\\s*" + Wr,
|
|
7630
7630
|
relevance: 0
|
|
7631
7631
|
}, cu = function(e) {
|
|
7632
7632
|
return Object.assign(
|
|
@@ -7647,8 +7647,8 @@ var an = /* @__PURE__ */ Object.freeze({
|
|
|
7647
7647
|
__proto__: null,
|
|
7648
7648
|
MATCH_NOTHING_RE: zd,
|
|
7649
7649
|
IDENT_RE: Yi,
|
|
7650
|
-
UNDERSCORE_IDENT_RE:
|
|
7651
|
-
NUMBER_RE:
|
|
7650
|
+
UNDERSCORE_IDENT_RE: Wr,
|
|
7651
|
+
NUMBER_RE: zr,
|
|
7652
7652
|
C_NUMBER_RE: Xi,
|
|
7653
7653
|
BINARY_NUMBER_RE: Ji,
|
|
7654
7654
|
RE_STARTERS_RE: Gd,
|
|
@@ -7894,17 +7894,17 @@ function ku(e) {
|
|
|
7894
7894
|
}
|
|
7895
7895
|
const yu = {
|
|
7896
7896
|
"after:highlightElement": ({ el: e, result: t, text: o }) => {
|
|
7897
|
-
const r =
|
|
7897
|
+
const r = G2(e);
|
|
7898
7898
|
if (!r.length)
|
|
7899
7899
|
return;
|
|
7900
7900
|
const a = document.createElement("div");
|
|
7901
|
-
a.innerHTML = t.value, t.value = $u(r,
|
|
7901
|
+
a.innerHTML = t.value, t.value = $u(r, G2(a), o);
|
|
7902
7902
|
}
|
|
7903
7903
|
};
|
|
7904
7904
|
function er(e) {
|
|
7905
7905
|
return e.nodeName.toLowerCase();
|
|
7906
7906
|
}
|
|
7907
|
-
function
|
|
7907
|
+
function G2(e) {
|
|
7908
7908
|
const t = [];
|
|
7909
7909
|
return function o(r, a) {
|
|
7910
7910
|
for (let i = r.firstChild; i; i = i.nextSibling)
|
|
@@ -7951,13 +7951,13 @@ function $u(e, t, o) {
|
|
|
7951
7951
|
}
|
|
7952
7952
|
return a + X1(o.substr(r));
|
|
7953
7953
|
}
|
|
7954
|
-
const
|
|
7954
|
+
const K2 = {}, ko = (e) => {
|
|
7955
7955
|
console.error(e);
|
|
7956
|
-
},
|
|
7956
|
+
}, q2 = (e, ...t) => {
|
|
7957
7957
|
console.log(`WARN: ${e}`, ...t);
|
|
7958
7958
|
}, Ne = (e, t) => {
|
|
7959
|
-
|
|
7960
|
-
}, yo = X1,
|
|
7959
|
+
K2[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), K2[`${e}/${t}`] = !0);
|
|
7960
|
+
}, yo = X1, Y2 = p1, X2 = Symbol("nomatch"), Lu = function(e) {
|
|
7961
7961
|
const t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null), r = [];
|
|
7962
7962
|
let a = !0;
|
|
7963
7963
|
const i = /(^(<[^>]+>|\t|)+|\n)/gm, c = "Could not find the language '{}', did you forget to load/include a language module?", s = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
@@ -7981,7 +7981,7 @@ const G2 = {}, ko = (e) => {
|
|
|
7981
7981
|
const z = l.languageDetectRe.exec(F);
|
|
7982
7982
|
if (z) {
|
|
7983
7983
|
const oe = W(z[1]);
|
|
7984
|
-
return oe || (
|
|
7984
|
+
return oe || (q2(c.replace("{}", z[1])), q2("Falling back to no-highlight mode for this block.", j)), oe ? z[1] : "no-highlight";
|
|
7985
7985
|
}
|
|
7986
7986
|
return F.split(/\s+/).find((oe) => d(oe) || W(oe));
|
|
7987
7987
|
}
|
|
@@ -8052,7 +8052,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8052
8052
|
let ge = Bd(U.endRe, se);
|
|
8053
8053
|
if (ge) {
|
|
8054
8054
|
if (U["on:end"]) {
|
|
8055
|
-
const je = new
|
|
8055
|
+
const je = new W2(U);
|
|
8056
8056
|
U["on:end"](K, je), je.isMatchIgnored && (ge = !1);
|
|
8057
8057
|
}
|
|
8058
8058
|
if (ge) {
|
|
@@ -8068,7 +8068,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8068
8068
|
return ie.matcher.regexIndex === 0 ? (me += U[0], 1) : (A1 = !0, 0);
|
|
8069
8069
|
}
|
|
8070
8070
|
function L1(U) {
|
|
8071
|
-
const K = U[0], se = U.rule, ge = new
|
|
8071
|
+
const K = U[0], se = U.rule, ge = new W2(se), je = [se.__beforeBegin, se["on:begin"]];
|
|
8072
8072
|
for (const Z1 of je)
|
|
8073
8073
|
if (Z1 && (Z1(U, ge), ge.isMatchIgnored))
|
|
8074
8074
|
return pt(K);
|
|
@@ -8077,7 +8077,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8077
8077
|
function c1(U) {
|
|
8078
8078
|
const K = U[0], se = F.substr(U.index), ge = Fe(ie, U, se);
|
|
8079
8079
|
if (!ge)
|
|
8080
|
-
return
|
|
8080
|
+
return X2;
|
|
8081
8081
|
const je = ie;
|
|
8082
8082
|
je.skip ? me += K : (je.returnEnd || je.excludeEnd || (me += K), ye(), je.excludeEnd && (me = K));
|
|
8083
8083
|
do
|
|
@@ -8110,7 +8110,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8110
8110
|
throw ge.mode = ie, ge;
|
|
8111
8111
|
} else if (K.type === "end") {
|
|
8112
8112
|
const ge = c1(K);
|
|
8113
|
-
if (ge !==
|
|
8113
|
+
if (ge !== X2)
|
|
8114
8114
|
return ge;
|
|
8115
8115
|
}
|
|
8116
8116
|
if (K.type === "illegal" && se === "")
|
|
@@ -8249,7 +8249,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8249
8249
|
});
|
|
8250
8250
|
}
|
|
8251
8251
|
function L(j) {
|
|
8252
|
-
j.useBR && (Ne("10.3.0", "'useBR' will be removed entirely in v11.0"), Ne("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), l =
|
|
8252
|
+
j.useBR && (Ne("10.3.0", "'useBR' will be removed entirely in v11.0"), Ne("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), l = Y2(l, j);
|
|
8253
8253
|
}
|
|
8254
8254
|
const $ = () => {
|
|
8255
8255
|
if ($.called)
|
|
@@ -8355,7 +8355,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), we = j, fe = F);
|
|
|
8355
8355
|
registerAliases: Q,
|
|
8356
8356
|
requireLanguage: R,
|
|
8357
8357
|
autoDetection: pe,
|
|
8358
|
-
inherit:
|
|
8358
|
+
inherit: Y2,
|
|
8359
8359
|
addPlugin: S,
|
|
8360
8360
|
// plugins for frameworks
|
|
8361
8361
|
vuePlugin: ku(e).VuePlugin
|
|
@@ -8529,11 +8529,11 @@ function Du() {
|
|
|
8529
8529
|
}
|
|
8530
8530
|
function r5() {
|
|
8531
8531
|
}
|
|
8532
|
-
var $o,
|
|
8532
|
+
var $o, J2;
|
|
8533
8533
|
function Nu() {
|
|
8534
|
-
if (
|
|
8534
|
+
if (J2)
|
|
8535
8535
|
return $o;
|
|
8536
|
-
|
|
8536
|
+
J2 = 1;
|
|
8537
8537
|
function e(r) {
|
|
8538
8538
|
return r ? typeof r == "string" ? r : r.source : null;
|
|
8539
8539
|
}
|
|
@@ -8658,11 +8658,11 @@ function Nu() {
|
|
|
8658
8658
|
}
|
|
8659
8659
|
return $o = o, $o;
|
|
8660
8660
|
}
|
|
8661
|
-
var Lo,
|
|
8661
|
+
var Lo, Q2;
|
|
8662
8662
|
function Bu() {
|
|
8663
|
-
if (
|
|
8663
|
+
if (Q2)
|
|
8664
8664
|
return Lo;
|
|
8665
|
-
|
|
8665
|
+
Q2 = 1;
|
|
8666
8666
|
function e(t) {
|
|
8667
8667
|
const o = {
|
|
8668
8668
|
literal: "true false null"
|
|
@@ -8712,11 +8712,11 @@ function Bu() {
|
|
|
8712
8712
|
}
|
|
8713
8713
|
return Lo = e, Lo;
|
|
8714
8714
|
}
|
|
8715
|
-
var Mo,
|
|
8715
|
+
var Mo, e3;
|
|
8716
8716
|
function Uu() {
|
|
8717
|
-
if (
|
|
8717
|
+
if (e3)
|
|
8718
8718
|
return Mo;
|
|
8719
|
-
|
|
8719
|
+
e3 = 1;
|
|
8720
8720
|
function e(a) {
|
|
8721
8721
|
return a ? typeof a == "string" ? a : a.source : null;
|
|
8722
8722
|
}
|
|
@@ -9460,9 +9460,9 @@ var i5 = {}, s5 = { exports: {} };
|
|
|
9460
9460
|
}
|
|
9461
9461
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
9462
9462
|
})(s5);
|
|
9463
|
-
var
|
|
9463
|
+
var Gr = s5.exports;
|
|
9464
9464
|
(function(e) {
|
|
9465
|
-
var t =
|
|
9465
|
+
var t = Gr;
|
|
9466
9466
|
Object.defineProperty(e, "__esModule", {
|
|
9467
9467
|
value: !0
|
|
9468
9468
|
}), e.default = void 0;
|
|
@@ -9472,7 +9472,7 @@ var zr = s5.exports;
|
|
|
9472
9472
|
const zu = /* @__PURE__ */ Pt(i5);
|
|
9473
9473
|
var c5 = {};
|
|
9474
9474
|
(function(e) {
|
|
9475
|
-
var t =
|
|
9475
|
+
var t = Gr;
|
|
9476
9476
|
Object.defineProperty(e, "__esModule", {
|
|
9477
9477
|
value: !0
|
|
9478
9478
|
}), e.default = void 0;
|
|
@@ -9482,7 +9482,7 @@ var c5 = {};
|
|
|
9482
9482
|
const Gu = /* @__PURE__ */ Pt(c5);
|
|
9483
9483
|
var l5 = {};
|
|
9484
9484
|
(function(e) {
|
|
9485
|
-
var t =
|
|
9485
|
+
var t = Gr;
|
|
9486
9486
|
Object.defineProperty(e, "__esModule", {
|
|
9487
9487
|
value: !0
|
|
9488
9488
|
}), e.default = void 0;
|
|
@@ -9506,7 +9506,7 @@ const qu = E.div.withConfig({
|
|
|
9506
9506
|
color: ${r.numbers.default}
|
|
9507
9507
|
}
|
|
9508
9508
|
`;
|
|
9509
|
-
}),
|
|
9509
|
+
}), t3 = E(vr).withConfig({
|
|
9510
9510
|
componentId: "sc-18gnqgi-1"
|
|
9511
9511
|
})(["", ""], ({
|
|
9512
9512
|
$copied: e
|
|
@@ -9526,7 +9526,7 @@ const qu = E.div.withConfig({
|
|
|
9526
9526
|
gap: 0.625rem;
|
|
9527
9527
|
top: ${e.click.codeblock.space.y};
|
|
9528
9528
|
right: ${e.click.codeblock.space.x};
|
|
9529
|
-
`),
|
|
9529
|
+
`), Q$ = ({
|
|
9530
9530
|
children: e,
|
|
9531
9531
|
language: t,
|
|
9532
9532
|
theme: o,
|
|
@@ -9543,8 +9543,8 @@ const qu = E.div.withConfig({
|
|
|
9543
9543
|
}, p = (b) => /* @__PURE__ */ n.jsx(Xu, { ...b, ref: h });
|
|
9544
9544
|
return /* @__PURE__ */ n.jsxs(qu, { $theme: o, ...c, children: [
|
|
9545
9545
|
/* @__PURE__ */ n.jsxs(Ju, { children: [
|
|
9546
|
-
a && /* @__PURE__ */ n.jsx(
|
|
9547
|
-
/* @__PURE__ */ n.jsx(
|
|
9546
|
+
a && /* @__PURE__ */ n.jsx(t3, { as: yt, $copied: !1, icon: "document", onClick: v }),
|
|
9547
|
+
/* @__PURE__ */ n.jsx(t3, { as: yt, $copied: s, icon: s ? "check" : "copy", onClick: g })
|
|
9548
9548
|
] }),
|
|
9549
9549
|
/* @__PURE__ */ n.jsx(Yu, { language: t, style: f, CodeTag: p, renderer: ({
|
|
9550
9550
|
rows: b,
|
|
@@ -9559,7 +9559,7 @@ const qu = E.div.withConfig({
|
|
|
9559
9559
|
},
|
|
9560
9560
|
tagName: "span",
|
|
9561
9561
|
type: "element"
|
|
9562
|
-
}]),
|
|
9562
|
+
}]), Nr({
|
|
9563
9563
|
node: k,
|
|
9564
9564
|
stylesheet: C,
|
|
9565
9565
|
useInlineStyles: w,
|
|
@@ -9578,7 +9578,7 @@ const qu = E.div.withConfig({
|
|
|
9578
9578
|
font: ${e.click.codeInline.typography.text.default};
|
|
9579
9579
|
border-radius: ${e.click.codeInline.radii.all};
|
|
9580
9580
|
padding: 0 ${e.click.codeInline.space.x};
|
|
9581
|
-
`),
|
|
9581
|
+
`), eL = (e) => /* @__PURE__ */ n.jsx(Qu, { ...e }), d5 = "ContextMenu", [ef, tL] = Le(d5, [
|
|
9582
9582
|
Tn
|
|
9583
9583
|
]), e1 = Tn(), [tf, u5] = ef(d5), nf = (e) => {
|
|
9584
9584
|
const { __scopeContextMenu: t, children: o, onOpenChange: r, dir: a, modal: i = !0 } = e, [c, s] = q(!1), l = e1(t), d = Ee(r), u = re((f) => {
|
|
@@ -9731,13 +9731,13 @@ it.Trigger = f5;
|
|
|
9731
9731
|
const p5 = ({
|
|
9732
9732
|
children: e,
|
|
9733
9733
|
...t
|
|
9734
|
-
}) => /* @__PURE__ */ n.jsxs(
|
|
9734
|
+
}) => /* @__PURE__ */ n.jsxs(Fr, { as: yf, ...t, children: [
|
|
9735
9735
|
e,
|
|
9736
9736
|
/* @__PURE__ */ n.jsx("div", { className: "dropdown-arrow", children: /* @__PURE__ */ n.jsx(de, { name: "chevron-right" }) })
|
|
9737
9737
|
] });
|
|
9738
9738
|
p5.displayName = "ContextMenuSubTrigger";
|
|
9739
9739
|
it.SubTrigger = p5;
|
|
9740
|
-
const Lf = E(
|
|
9740
|
+
const Lf = E(Ir).withConfig({
|
|
9741
9741
|
componentId: "sc-8z6kye-0"
|
|
9742
9742
|
})(["flex-direction:column;z-index:1;", ";"], ({
|
|
9743
9743
|
$showArrow: e
|
|
@@ -9793,11 +9793,11 @@ v5.displayName = "ContextMenuSub";
|
|
|
9793
9793
|
it.Sub = v5;
|
|
9794
9794
|
const b5 = ({
|
|
9795
9795
|
...e
|
|
9796
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
9796
|
+
}) => /* @__PURE__ */ n.jsx(Fr, { as: mf, ...e });
|
|
9797
9797
|
b5.displayName = "ContextMenuItem";
|
|
9798
9798
|
it.Item = b5;
|
|
9799
9799
|
let jo;
|
|
9800
|
-
const C5 = "HoverCard", [x5,
|
|
9800
|
+
const C5 = "HoverCard", [x5, nL] = Le(C5, [
|
|
9801
9801
|
m1
|
|
9802
9802
|
]), Wn = m1(), [Sf, zn] = x5(C5), _f = (e) => {
|
|
9803
9803
|
const { __scopeHoverCard: t, children: o, open: r, defaultOpen: a, onOpenChange: i, openDelay: c = 700, closeDelay: s = 300 } = e, l = Wn(t), d = P(0), u = P(0), f = P(!1), h = P(!1), [g = !1, v] = He({
|
|
@@ -10002,7 +10002,7 @@ const Wf = E.a.withConfig({
|
|
|
10002
10002
|
}) => e === "xs" || e === "sm" ? t.click.link.icon.size.sm.height : t.click.link.icon.size.md.height, ({
|
|
10003
10003
|
$size: e,
|
|
10004
10004
|
theme: t
|
|
10005
|
-
}) => e === "xs" || e === "sm" ? t.click.link.icon.size.sm.width : t.click.link.icon.size.md.width),
|
|
10005
|
+
}) => e === "xs" || e === "sm" ? t.click.link.icon.size.sm.width : t.click.link.icon.size.md.width), oL = ({
|
|
10006
10006
|
size: e = "md",
|
|
10007
10007
|
weight: t = "normal",
|
|
10008
10008
|
className: o,
|
|
@@ -10087,7 +10087,7 @@ const Wf = E.a.withConfig({
|
|
|
10087
10087
|
&::placeholder {
|
|
10088
10088
|
color: ${e.click.field.color.placeholder.default};
|
|
10089
10089
|
}
|
|
10090
|
-
`),
|
|
10090
|
+
`), Kr = E.button.withConfig({
|
|
10091
10091
|
componentId: "sc-1pvd2nj-2"
|
|
10092
10092
|
})(["background:transparent;color:inherit;border:none;padding:0;outline:none;&:not(:disabled){cursor:pointer;}", ""], ({
|
|
10093
10093
|
theme: e,
|
|
@@ -10108,7 +10108,7 @@ E.svg.withConfig({
|
|
|
10108
10108
|
padding-right: ${e.click.field.space.x};
|
|
10109
10109
|
}
|
|
10110
10110
|
`);
|
|
10111
|
-
const
|
|
10111
|
+
const rL = H(({
|
|
10112
10112
|
disabled: e,
|
|
10113
10113
|
label: t,
|
|
10114
10114
|
error: o,
|
|
@@ -10126,7 +10126,7 @@ const nL = H(({
|
|
|
10126
10126
|
/* @__PURE__ */ n.jsx(Kn, { ref: d, type: "number", id: r ?? u, disabled: e, onChange: f, ...l }),
|
|
10127
10127
|
a && /* @__PURE__ */ n.jsx(de, { name: "loading-animated", size: "sm" })
|
|
10128
10128
|
] });
|
|
10129
|
-
}),
|
|
10129
|
+
}), aL = H(({
|
|
10130
10130
|
disabled: e,
|
|
10131
10131
|
label: t,
|
|
10132
10132
|
error: o,
|
|
@@ -10144,9 +10144,9 @@ const nL = H(({
|
|
|
10144
10144
|
};
|
|
10145
10145
|
return /* @__PURE__ */ n.jsxs(Gn, { disabled: e, id: r ?? u, label: t, error: o, orientation: c, dir: s, children: [
|
|
10146
10146
|
/* @__PURE__ */ n.jsx(Kn, { ref: d, type: f ? "text" : "password", id: r ?? u, disabled: e, value: a, onChange: v, ...l }),
|
|
10147
|
-
/* @__PURE__ */ n.jsx(
|
|
10147
|
+
/* @__PURE__ */ n.jsx(Kr, { disabled: e, onClick: g, $show: a.length > 0, children: /* @__PURE__ */ n.jsx(de, { name: f ? "eye-closed" : "eye", size: "md" }) })
|
|
10148
10148
|
] });
|
|
10149
|
-
}), $5 = "Popover", [L5,
|
|
10149
|
+
}), $5 = "Popover", [L5, iL] = Le($5, [
|
|
10150
10150
|
m1
|
|
10151
10151
|
]), Ut = m1(), [Kf, $1] = L5($5), qf = (e) => {
|
|
10152
10152
|
const { __scopePopover: t, children: o, open: r, defaultOpen: a, onOpenChange: i, modal: c = !1 } = e, s = Ut(t), l = P(null), [d, u] = q(!1), [f = !1, h] = He({
|
|
@@ -10228,7 +10228,7 @@ const nL = H(({
|
|
|
10228
10228
|
return Z(() => {
|
|
10229
10229
|
const c = r.current;
|
|
10230
10230
|
if (c)
|
|
10231
|
-
return
|
|
10231
|
+
return _r(c);
|
|
10232
10232
|
}, []), /* @__PURE__ */ x(ti, {
|
|
10233
10233
|
as: Q1,
|
|
10234
10234
|
allowPinchZoom: !0
|
|
@@ -10341,7 +10341,7 @@ const _5 = qf, lp = Xf, E5 = Qf, O5 = np, H5 = op, dp = sp, up = cp, P5 = ({
|
|
|
10341
10341
|
] });
|
|
10342
10342
|
I5.displayName = "PopoverTrigger";
|
|
10343
10343
|
P5.Trigger = I5;
|
|
10344
|
-
const pp = E(
|
|
10344
|
+
const pp = E(Ir).withConfig({
|
|
10345
10345
|
componentId: "sc-1dii14g-1"
|
|
10346
10346
|
})(["display:block;padding:", " ", ";background-color:", ";border:1px solid ", ";border-radius:", ";box-shadow:", ";", ";"], ({
|
|
10347
10347
|
theme: e
|
|
@@ -10357,7 +10357,7 @@ const pp = E(Pr).withConfig({
|
|
|
10357
10357
|
theme: e
|
|
10358
10358
|
}) => e.click.popover.shadow.default, ({
|
|
10359
10359
|
$showClose: e
|
|
10360
|
-
}) => e ? "padding-top: 1rem;" : ""), hp = E(
|
|
10360
|
+
}) => e ? "padding-top: 1rem;" : ""), hp = E(vr).withConfig({
|
|
10361
10361
|
componentId: "sc-1dii14g-2"
|
|
10362
10362
|
})(["position:absolute;top:", ";right:", ";width:", ";height:", ";"], ({
|
|
10363
10363
|
theme: e
|
|
@@ -10426,7 +10426,7 @@ const R5 = "Radio", [gp, T5] = Le(R5), [vp, bp] = gp(R5), Cp = /* @__PURE__ */ H
|
|
|
10426
10426
|
ref: t
|
|
10427
10427
|
})));
|
|
10428
10428
|
}), wp = (e) => {
|
|
10429
|
-
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c =
|
|
10429
|
+
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c = Dr(o), s = Hn(t);
|
|
10430
10430
|
return Z(() => {
|
|
10431
10431
|
const l = i.current, d = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(d, "checked").set;
|
|
10432
10432
|
if (c !== o && f) {
|
|
@@ -10464,7 +10464,7 @@ const kp = [
|
|
|
10464
10464
|
"ArrowDown",
|
|
10465
10465
|
"ArrowLeft",
|
|
10466
10466
|
"ArrowRight"
|
|
10467
|
-
], A5 = "RadioGroup", [yp,
|
|
10467
|
+
], A5 = "RadioGroup", [yp, sL] = Le(A5, [
|
|
10468
10468
|
at,
|
|
10469
10469
|
T5
|
|
10470
10470
|
]), Z5 = at(), D5 = T5(), [$p, Lp] = yp(A5), Mp = /* @__PURE__ */ H((e, t) => {
|
|
@@ -10480,7 +10480,7 @@ const kp = [
|
|
|
10480
10480
|
disabled: s,
|
|
10481
10481
|
value: p,
|
|
10482
10482
|
onValueChange: b
|
|
10483
|
-
}, /* @__PURE__ */ x(
|
|
10483
|
+
}, /* @__PURE__ */ x(jr, _({
|
|
10484
10484
|
asChild: !0
|
|
10485
10485
|
}, g, {
|
|
10486
10486
|
orientation: l,
|
|
@@ -10504,7 +10504,7 @@ const kp = [
|
|
|
10504
10504
|
return document.addEventListener("keydown", g), document.addEventListener("keyup", v), () => {
|
|
10505
10505
|
document.removeEventListener("keydown", g), document.removeEventListener("keyup", v);
|
|
10506
10506
|
};
|
|
10507
|
-
}, []), /* @__PURE__ */ x(
|
|
10507
|
+
}, []), /* @__PURE__ */ x(Sr, _({
|
|
10508
10508
|
asChild: !0
|
|
10509
10509
|
}, s, {
|
|
10510
10510
|
focusable: !c,
|
|
@@ -10620,7 +10620,7 @@ const Fp = E(It).withConfig({
|
|
|
10620
10620
|
e.forEach((o) => {
|
|
10621
10621
|
typeof o == "function" ? o(t) : o != null && (o.current = t);
|
|
10622
10622
|
});
|
|
10623
|
-
},
|
|
10623
|
+
}, cL = H(({
|
|
10624
10624
|
disabled: e,
|
|
10625
10625
|
label: t,
|
|
10626
10626
|
error: o,
|
|
@@ -10641,7 +10641,7 @@ const Fp = E(It).withConfig({
|
|
|
10641
10641
|
return /* @__PURE__ */ n.jsxs(Gn, { disabled: e, id: r ?? g, label: t, error: o, orientation: l, dir: d, children: [
|
|
10642
10642
|
/* @__PURE__ */ n.jsx(de, { name: "search", size: "sm" }),
|
|
10643
10643
|
/* @__PURE__ */ n.jsx(Kn, { ref: B5([h, f]), type: "text", id: r ?? g, disabled: e, value: c, onChange: v, ...u }),
|
|
10644
|
-
i && /* @__PURE__ */ n.jsx(
|
|
10644
|
+
i && /* @__PURE__ */ n.jsx(Kr, { disabled: e, onClick: p, $show: c.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ n.jsx(de, { name: "cross", size: "sm" }) }),
|
|
10645
10645
|
a && /* @__PURE__ */ n.jsx(de, { name: "loading-animated", size: "sm" })
|
|
10646
10646
|
] });
|
|
10647
10647
|
});
|
|
@@ -10746,7 +10746,7 @@ function Zp(...e) {
|
|
|
10746
10746
|
};
|
|
10747
10747
|
return o.scopeName = t.scopeName, o;
|
|
10748
10748
|
}
|
|
10749
|
-
const nr = globalThis != null && globalThis.document ?
|
|
10749
|
+
const nr = globalThis != null && globalThis.document ? gr : () => {
|
|
10750
10750
|
}, Dp = M["useId".toString()] || (() => {
|
|
10751
10751
|
});
|
|
10752
10752
|
let Np = 0;
|
|
@@ -10804,7 +10804,7 @@ function Up({ defaultProp: e, onChange: t }) {
|
|
|
10804
10804
|
i
|
|
10805
10805
|
]), o;
|
|
10806
10806
|
}
|
|
10807
|
-
const
|
|
10807
|
+
const qr = /* @__PURE__ */ H((e, t) => {
|
|
10808
10808
|
const { children: o, ...r } = e, a = _e.toArray(o), i = a.find(zp);
|
|
10809
10809
|
if (i) {
|
|
10810
10810
|
const c = i.props.children, s = a.map((l) => l === i ? _e.count(c) > 1 ? _e.only(null) : /* @__PURE__ */ h1(c) ? c.props.children : null : l);
|
|
@@ -10816,7 +10816,7 @@ const Kr = /* @__PURE__ */ H((e, t) => {
|
|
|
10816
10816
|
ref: t
|
|
10817
10817
|
}), o);
|
|
10818
10818
|
});
|
|
10819
|
-
|
|
10819
|
+
qr.displayName = "Slot";
|
|
10820
10820
|
const or = /* @__PURE__ */ H((e, t) => {
|
|
10821
10821
|
const { children: o, ...r } = e;
|
|
10822
10822
|
return /* @__PURE__ */ h1(o) ? /* @__PURE__ */ nt(o, {
|
|
@@ -10866,7 +10866,7 @@ const Kp = [
|
|
|
10866
10866
|
"ul"
|
|
10867
10867
|
], qn = Kp.reduce((e, t) => {
|
|
10868
10868
|
const o = /* @__PURE__ */ H((r, a) => {
|
|
10869
|
-
const { asChild: i, ...c } = r, s = i ?
|
|
10869
|
+
const { asChild: i, ...c } = r, s = i ? qr : t;
|
|
10870
10870
|
return Z(() => {
|
|
10871
10871
|
window[Symbol.for("radix-ui")] = !0;
|
|
10872
10872
|
}, []), /* @__PURE__ */ x(s, _({}, c, {
|
|
@@ -10895,7 +10895,7 @@ function Yp(e) {
|
|
|
10895
10895
|
]);
|
|
10896
10896
|
}
|
|
10897
10897
|
const rr = "dismissableLayer.update", Xp = "dismissableLayer.pointerDownOutside", Jp = "dismissableLayer.focusOutside";
|
|
10898
|
-
let
|
|
10898
|
+
let n3;
|
|
10899
10899
|
const Qp = /* @__PURE__ */ ze({
|
|
10900
10900
|
layers: /* @__PURE__ */ new Set(),
|
|
10901
10901
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -10925,15 +10925,15 @@ const Qp = /* @__PURE__ */ ze({
|
|
|
10925
10925
|
C === d.layers.size - 1 && (r == null || r($), !$.defaultPrevented && s && ($.preventDefault(), s()));
|
|
10926
10926
|
}), Z(() => {
|
|
10927
10927
|
if (u)
|
|
10928
|
-
return o && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
10929
|
-
o && d.layersWithOutsidePointerEventsDisabled.size === 1 && (document.body.style.pointerEvents =
|
|
10928
|
+
return o && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (n3 = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(u)), d.layers.add(u), o3(), () => {
|
|
10929
|
+
o && d.layersWithOutsidePointerEventsDisabled.size === 1 && (document.body.style.pointerEvents = n3);
|
|
10930
10930
|
};
|
|
10931
10931
|
}, [
|
|
10932
10932
|
u,
|
|
10933
10933
|
o,
|
|
10934
10934
|
d
|
|
10935
10935
|
]), Z(() => () => {
|
|
10936
|
-
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u),
|
|
10936
|
+
u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), o3());
|
|
10937
10937
|
}, [
|
|
10938
10938
|
u,
|
|
10939
10939
|
d
|
|
@@ -11001,7 +11001,7 @@ function nh(e) {
|
|
|
11001
11001
|
onBlurCapture: () => o.current = !1
|
|
11002
11002
|
};
|
|
11003
11003
|
}
|
|
11004
|
-
function
|
|
11004
|
+
function o3() {
|
|
11005
11005
|
const e = new CustomEvent(rr);
|
|
11006
11006
|
document.dispatchEvent(e);
|
|
11007
11007
|
}
|
|
@@ -11015,7 +11015,7 @@ function W5(e, t, o, { discrete: r }) {
|
|
|
11015
11015
|
once: !0
|
|
11016
11016
|
}), r ? qp(a, i) : a.dispatchEvent(i);
|
|
11017
11017
|
}
|
|
11018
|
-
const _o = "focusScope.autoFocusOnMount", Eo = "focusScope.autoFocusOnUnmount",
|
|
11018
|
+
const _o = "focusScope.autoFocusOnMount", Eo = "focusScope.autoFocusOnUnmount", r3 = {
|
|
11019
11019
|
bubbles: !1,
|
|
11020
11020
|
cancelable: !0
|
|
11021
11021
|
}, oh = /* @__PURE__ */ H((e, t) => {
|
|
@@ -11055,20 +11055,20 @@ const _o = "focusScope.autoFocusOnMount", Eo = "focusScope.autoFocusOnUnmount",
|
|
|
11055
11055
|
g.paused
|
|
11056
11056
|
]), Z(() => {
|
|
11057
11057
|
if (s) {
|
|
11058
|
-
|
|
11058
|
+
i3.add(g);
|
|
11059
11059
|
const p = document.activeElement;
|
|
11060
11060
|
if (!s.contains(p)) {
|
|
11061
|
-
const C = new CustomEvent(_o,
|
|
11061
|
+
const C = new CustomEvent(_o, r3);
|
|
11062
11062
|
s.addEventListener(_o, d), s.dispatchEvent(C), C.defaultPrevented || (rh(lh(z5(s)), {
|
|
11063
11063
|
select: !0
|
|
11064
11064
|
}), document.activeElement === p && S1(s));
|
|
11065
11065
|
}
|
|
11066
11066
|
return () => {
|
|
11067
11067
|
s.removeEventListener(_o, d), setTimeout(() => {
|
|
11068
|
-
const C = new CustomEvent(Eo,
|
|
11068
|
+
const C = new CustomEvent(Eo, r3);
|
|
11069
11069
|
s.addEventListener(Eo, u), s.dispatchEvent(C), C.defaultPrevented || S1(p ?? document.body, {
|
|
11070
11070
|
select: !0
|
|
11071
|
-
}), s.removeEventListener(Eo, u),
|
|
11071
|
+
}), s.removeEventListener(Eo, u), i3.remove(g);
|
|
11072
11072
|
}, 0);
|
|
11073
11073
|
};
|
|
11074
11074
|
}
|
|
@@ -11111,7 +11111,7 @@ function rh(e, { select: t = !1 } = {}) {
|
|
|
11111
11111
|
return;
|
|
11112
11112
|
}
|
|
11113
11113
|
function ah(e) {
|
|
11114
|
-
const t = z5(e), o =
|
|
11114
|
+
const t = z5(e), o = a3(t, e), r = a3(t.reverse(), e);
|
|
11115
11115
|
return [
|
|
11116
11116
|
o,
|
|
11117
11117
|
r
|
|
@@ -11128,7 +11128,7 @@ function z5(e) {
|
|
|
11128
11128
|
t.push(o.currentNode);
|
|
11129
11129
|
return t;
|
|
11130
11130
|
}
|
|
11131
|
-
function
|
|
11131
|
+
function a3(e, t) {
|
|
11132
11132
|
for (const o of e)
|
|
11133
11133
|
if (!ih(o, {
|
|
11134
11134
|
upTo: t
|
|
@@ -11158,21 +11158,21 @@ function S1(e, { select: t = !1 } = {}) {
|
|
|
11158
11158
|
}), e !== o && sh(e) && t && e.select();
|
|
11159
11159
|
}
|
|
11160
11160
|
}
|
|
11161
|
-
const
|
|
11161
|
+
const i3 = ch();
|
|
11162
11162
|
function ch() {
|
|
11163
11163
|
let e = [];
|
|
11164
11164
|
return {
|
|
11165
11165
|
add(t) {
|
|
11166
11166
|
const o = e[0];
|
|
11167
|
-
t !== o && (o == null || o.pause()), e =
|
|
11167
|
+
t !== o && (o == null || o.pause()), e = s3(e, t), e.unshift(t);
|
|
11168
11168
|
},
|
|
11169
11169
|
remove(t) {
|
|
11170
11170
|
var o;
|
|
11171
|
-
e =
|
|
11171
|
+
e = s3(e, t), (o = e[0]) === null || o === void 0 || o.resume();
|
|
11172
11172
|
}
|
|
11173
11173
|
};
|
|
11174
11174
|
}
|
|
11175
|
-
function
|
|
11175
|
+
function s3(e, t) {
|
|
11176
11176
|
const o = [
|
|
11177
11177
|
...e
|
|
11178
11178
|
], r = o.indexOf(t);
|
|
@@ -11269,14 +11269,14 @@ function ph() {
|
|
|
11269
11269
|
Z(() => {
|
|
11270
11270
|
var e, t;
|
|
11271
11271
|
const o = document.querySelectorAll("[data-radix-focus-guard]");
|
|
11272
|
-
return document.body.insertAdjacentElement("afterbegin", (e = o[0]) !== null && e !== void 0 ? e :
|
|
11272
|
+
return document.body.insertAdjacentElement("afterbegin", (e = o[0]) !== null && e !== void 0 ? e : c3()), document.body.insertAdjacentElement("beforeend", (t = o[1]) !== null && t !== void 0 ? t : c3()), Oo++, () => {
|
|
11273
11273
|
Oo === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
11274
11274
|
(r) => r.remove()
|
|
11275
11275
|
), Oo--;
|
|
11276
11276
|
};
|
|
11277
11277
|
}, []);
|
|
11278
11278
|
}
|
|
11279
|
-
function
|
|
11279
|
+
function c3() {
|
|
11280
11280
|
const e = document.createElement("span");
|
|
11281
11281
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
|
|
11282
11282
|
}
|
|
@@ -11286,7 +11286,7 @@ var G5 = za(), Ho = function() {
|
|
|
11286
11286
|
onScrollCapture: Ho,
|
|
11287
11287
|
onWheelCapture: Ho,
|
|
11288
11288
|
onTouchMoveCapture: Ho
|
|
11289
|
-
}), a = r[0], i = r[1], c = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, g = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, C = b === void 0 ? "div" : b, w =
|
|
11289
|
+
}), a = r[0], i = r[1], c = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, g = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, C = b === void 0 ? "div" : b, w = Er(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), k = h, y = Wa([o, t]), L = Se(Se({}, w), a);
|
|
11290
11290
|
return M.createElement(
|
|
11291
11291
|
M.Fragment,
|
|
11292
11292
|
null,
|
|
@@ -11323,7 +11323,7 @@ var z1 = ar ? { passive: !1 } : !1, hh = function(e) {
|
|
|
11323
11323
|
var t = window.getComputedStyle(e);
|
|
11324
11324
|
return t.overflowX !== "hidden" && // not-not-scrollable
|
|
11325
11325
|
!(t.overflowY === t.overflowX && t.overflowX === "visible");
|
|
11326
|
-
},
|
|
11326
|
+
}, l3 = function(e, t) {
|
|
11327
11327
|
var o = t;
|
|
11328
11328
|
do {
|
|
11329
11329
|
typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
|
|
@@ -11369,9 +11369,9 @@ var z1 = ar ? { passive: !1 } : !1, hh = function(e) {
|
|
|
11369
11369
|
return (u && (a && f === 0 || !a && c > f) || !u && (a && h === 0 || !a && -c > h)) && (d = !0), d;
|
|
11370
11370
|
}, dn = function(e) {
|
|
11371
11371
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
11372
|
-
}, l3 = function(e) {
|
|
11373
|
-
return [e.deltaX, e.deltaY];
|
|
11374
11372
|
}, d3 = function(e) {
|
|
11373
|
+
return [e.deltaX, e.deltaY];
|
|
11374
|
+
}, u3 = function(e) {
|
|
11375
11375
|
return e && "current" in e ? e.current : e;
|
|
11376
11376
|
}, mh = function(e, t) {
|
|
11377
11377
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -11383,14 +11383,14 @@ var z1 = ar ? { passive: !1 } : !1, hh = function(e) {
|
|
|
11383
11383
|
}, kh = 0, G1 = [];
|
|
11384
11384
|
function yh(e) {
|
|
11385
11385
|
var t = M.useRef([]), o = M.useRef([0, 0]), r = M.useRef(), a = M.useState(kh++)[0], i = M.useState(function() {
|
|
11386
|
-
return
|
|
11386
|
+
return Or();
|
|
11387
11387
|
})[0], c = M.useRef(e);
|
|
11388
11388
|
M.useEffect(function() {
|
|
11389
11389
|
c.current = e;
|
|
11390
11390
|
}, [e]), M.useEffect(function() {
|
|
11391
11391
|
if (e.inert) {
|
|
11392
11392
|
document.body.classList.add("block-interactivity-".concat(a));
|
|
11393
|
-
var p = Ua([e.lockRef.current], (e.shards || []).map(
|
|
11393
|
+
var p = Ua([e.lockRef.current], (e.shards || []).map(u3), !0).filter(Boolean);
|
|
11394
11394
|
return p.forEach(function(b) {
|
|
11395
11395
|
return b.classList.add("allow-interactivity-".concat(a));
|
|
11396
11396
|
}), function() {
|
|
@@ -11406,10 +11406,10 @@ function yh(e) {
|
|
|
11406
11406
|
var C = dn(p), w = o.current, k = "deltaX" in p ? p.deltaX : w[0] - C[0], y = "deltaY" in p ? p.deltaY : w[1] - C[1], L, $ = p.target, O = Math.abs(k) > Math.abs(y) ? "h" : "v";
|
|
11407
11407
|
if ("touches" in p && O === "h" && $.type === "range")
|
|
11408
11408
|
return !1;
|
|
11409
|
-
var T =
|
|
11409
|
+
var T = l3(O, $);
|
|
11410
11410
|
if (!T)
|
|
11411
11411
|
return !0;
|
|
11412
|
-
if (T ? L = O : (L = O === "v" ? "h" : "v", T =
|
|
11412
|
+
if (T ? L = O : (L = O === "v" ? "h" : "v", T = l3(O, $)), !T)
|
|
11413
11413
|
return !1;
|
|
11414
11414
|
if (!r.current && "changedTouches" in p && (k || y) && (r.current = L), !L)
|
|
11415
11415
|
return !0;
|
|
@@ -11418,7 +11418,7 @@ function yh(e) {
|
|
|
11418
11418
|
}, []), l = M.useCallback(function(p) {
|
|
11419
11419
|
var b = p;
|
|
11420
11420
|
if (!(!G1.length || G1[G1.length - 1] !== i)) {
|
|
11421
|
-
var C = "deltaY" in b ?
|
|
11421
|
+
var C = "deltaY" in b ? d3(b) : dn(b), w = t.current.filter(function(L) {
|
|
11422
11422
|
return L.name === b.type && L.target === b.target && mh(L.delta, C);
|
|
11423
11423
|
})[0];
|
|
11424
11424
|
if (w && w.should) {
|
|
@@ -11426,7 +11426,7 @@ function yh(e) {
|
|
|
11426
11426
|
return;
|
|
11427
11427
|
}
|
|
11428
11428
|
if (!w) {
|
|
11429
|
-
var k = (c.current.shards || []).map(
|
|
11429
|
+
var k = (c.current.shards || []).map(u3).filter(Boolean).filter(function(L) {
|
|
11430
11430
|
return L.contains(b.target);
|
|
11431
11431
|
}), y = k.length > 0 ? s(b, k[0]) : !c.current.noIsolation;
|
|
11432
11432
|
y && b.preventDefault();
|
|
@@ -11442,7 +11442,7 @@ function yh(e) {
|
|
|
11442
11442
|
}, []), u = M.useCallback(function(p) {
|
|
11443
11443
|
o.current = dn(p), r.current = void 0;
|
|
11444
11444
|
}, []), f = M.useCallback(function(p) {
|
|
11445
|
-
d(p.type,
|
|
11445
|
+
d(p.type, d3(p), p.target, s(p, e.lockRef.current));
|
|
11446
11446
|
}, []), h = M.useCallback(function(p) {
|
|
11447
11447
|
d(p.type, dn(p), p.target, s(p, e.lockRef.current));
|
|
11448
11448
|
}, []);
|
|
@@ -11470,7 +11470,7 @@ var Y5 = M.forwardRef(function(e, t) {
|
|
|
11470
11470
|
return M.createElement(Xn, Se({}, e, { ref: t, sideCar: $h }));
|
|
11471
11471
|
});
|
|
11472
11472
|
Y5.classNames = Xn.classNames;
|
|
11473
|
-
const Lh = Y5, X5 = "Dialog", [J5,
|
|
11473
|
+
const Lh = Y5, X5 = "Dialog", [J5, lL] = Ap(X5), [Mh, T1] = J5(X5), jh = (e) => {
|
|
11474
11474
|
const { __scopeDialog: t, children: o, open: r, defaultOpen: a, onOpenChange: i, modal: c = !0 } = e, s = P(null), l = P(null), [d = !1, u] = Bp({
|
|
11475
11475
|
prop: r,
|
|
11476
11476
|
defaultProp: a,
|
|
@@ -11524,7 +11524,7 @@ const Lh = Y5, X5 = "Dialog", [J5, sL] = Ap(X5), [Mh, T1] = J5(X5), jh = (e) =>
|
|
|
11524
11524
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
11525
11525
|
// ie. when `Overlay` and `Content` are siblings
|
|
11526
11526
|
/* @__PURE__ */ x(Lh, {
|
|
11527
|
-
as:
|
|
11527
|
+
as: qr,
|
|
11528
11528
|
allowPinchZoom: !0,
|
|
11529
11529
|
shards: [
|
|
11530
11530
|
a.contentRef
|
|
@@ -11553,7 +11553,7 @@ const Lh = Y5, X5 = "Dialog", [J5, sL] = Ap(X5), [Mh, T1] = J5(X5), jh = (e) =>
|
|
|
11553
11553
|
return Z(() => {
|
|
11554
11554
|
const i = r.current;
|
|
11555
11555
|
if (i)
|
|
11556
|
-
return
|
|
11556
|
+
return _r(i);
|
|
11557
11557
|
}, []), /* @__PURE__ */ x(t4, _({}, e, {
|
|
11558
11558
|
ref: a,
|
|
11559
11559
|
trapFocus: o.open,
|
|
@@ -11615,12 +11615,12 @@ function n4(e) {
|
|
|
11615
11615
|
return e ? "open" : "closed";
|
|
11616
11616
|
}
|
|
11617
11617
|
const Fh = jh, Rh = _h, Th = Eh, Vh = Hh;
|
|
11618
|
-
var
|
|
11618
|
+
var f3 = 1, Ah = 0.9, Zh = 0.3, Po = 0.1, Dh = 0, Io = 0.999, Nh = 0.9999, Bh = 0.99, p3 = /[\\\/\-_+.# \t"@\[\(\{&]/, Uh = /[\\\/\-_+.# \t"@\[\(\{&]/g;
|
|
11619
11619
|
function sr(e, t, o, r, a, i) {
|
|
11620
11620
|
if (i === t.length)
|
|
11621
|
-
return a === e.length ?
|
|
11621
|
+
return a === e.length ? f3 : Bh;
|
|
11622
11622
|
for (var c = r.charAt(i), s = o.indexOf(c, a), l = 0, d, u, f; s >= 0; )
|
|
11623
|
-
d = sr(e, t, o, r, s + 1, i + 1), d > l && (s === a ? d *=
|
|
11623
|
+
d = sr(e, t, o, r, s + 1, i + 1), d > l && (s === a ? d *= f3 : p3.test(e.charAt(s - 1)) ? (d *= Ah, f = e.slice(a, s - 1).match(Uh), f && a > 0 && (d *= Math.pow(Io, f.length))) : p3.test(e.slice(a, s - 1)) ? (d *= Dh, a > 0 && (d *= Math.pow(Io, s - a))) : (d *= Zh, a > 0 && (d *= Math.pow(Io, s - a))), e.charAt(s) !== t.charAt(i) && (d *= Nh)), d < Po && o.charAt(s - 1) === r.charAt(i + 1) && o.charAt(s - 1) !== r.charAt(i) && (u = sr(e, t, o, r, s + 1, i + 2), u * Po > d && (d = u * Po)), d > l && (l = d), s = o.indexOf(c, s + 1);
|
|
11624
11624
|
return l;
|
|
11625
11625
|
}
|
|
11626
11626
|
function Wh(e, t) {
|
|
@@ -11628,7 +11628,7 @@ function Wh(e, t) {
|
|
|
11628
11628
|
}
|
|
11629
11629
|
var zh = Wh;
|
|
11630
11630
|
const Gh = /* @__PURE__ */ Pt(zh);
|
|
11631
|
-
var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items=""]', qh = '[cmdk-group-heading=""]', o4 = '[cmdk-item=""]',
|
|
11631
|
+
var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items=""]', qh = '[cmdk-group-heading=""]', o4 = '[cmdk-item=""]', h3 = `${o4}:not([aria-disabled="true"])`, cr = "cmdk-item-select", f1 = "data-value", Yh = (e, t) => Gh(e, t), r4 = M.createContext(void 0), zt = () => M.useContext(r4), a4 = M.createContext(void 0), Yr = () => M.useContext(a4), i4 = M.createContext(void 0), s4 = M.forwardRef((e, t) => {
|
|
11632
11632
|
let o = M.useRef(null), r = K1(() => ({ search: "", value: "", filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } })), a = K1(() => /* @__PURE__ */ new Set()), i = K1(() => /* @__PURE__ */ new Map()), c = K1(() => /* @__PURE__ */ new Map()), s = K1(() => /* @__PURE__ */ new Set()), l = c4(e), { label: d, children: u, value: f, onValueChange: h, filter: g, shouldFilter: v, ...p } = e, b = M.useId(), C = M.useId(), w = M.useId(), k = sg();
|
|
11633
11633
|
st(() => {
|
|
11634
11634
|
if (f !== void 0) {
|
|
@@ -11724,7 +11724,7 @@ var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items
|
|
|
11724
11724
|
return o.current.querySelector(`${o4}[aria-selected="true"]`);
|
|
11725
11725
|
}
|
|
11726
11726
|
function ne() {
|
|
11727
|
-
return Array.from(o.current.querySelectorAll(
|
|
11727
|
+
return Array.from(o.current.querySelectorAll(h3));
|
|
11728
11728
|
}
|
|
11729
11729
|
function G(S) {
|
|
11730
11730
|
let V = ne()[S];
|
|
@@ -11738,7 +11738,7 @@ var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items
|
|
|
11738
11738
|
function W(S) {
|
|
11739
11739
|
let V = J(), Y = V == null ? void 0 : V.closest(Ct), N;
|
|
11740
11740
|
for (; Y && !N; )
|
|
11741
|
-
Y = S > 0 ? ag(Y, Ct) : ig(Y, Ct), N = Y == null ? void 0 : Y.querySelector(
|
|
11741
|
+
Y = S > 0 ? ag(Y, Ct) : ig(Y, Ct), N = Y == null ? void 0 : Y.querySelector(h3);
|
|
11742
11742
|
N ? y.setState("value", N.getAttribute(f1)) : R(S);
|
|
11743
11743
|
}
|
|
11744
11744
|
let Q = () => G(ne().length - 1), pe = (S) => {
|
|
@@ -11789,7 +11789,7 @@ var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items
|
|
|
11789
11789
|
}), Xh = M.forwardRef((e, t) => {
|
|
11790
11790
|
let o = M.useId(), r = M.useRef(null), a = M.useContext(i4), i = zt(), c = c4(e);
|
|
11791
11791
|
st(() => i.item(o, a), []);
|
|
11792
|
-
let s = l4(o, r, [e.value, e.children, r]), l =
|
|
11792
|
+
let s = l4(o, r, [e.value, e.children, r]), l = Yr(), d = H1((C) => C.value && C.value === s.current), u = H1((C) => i.filter() === !1 ? !0 : C.search ? C.filtered.items.get(o) > 0 : !0);
|
|
11793
11793
|
M.useEffect(() => {
|
|
11794
11794
|
let C = r.current;
|
|
11795
11795
|
if (!(!C || e.disabled))
|
|
@@ -11815,7 +11815,7 @@ var Kh = '[cmdk-list-sizer=""]', Ct = '[cmdk-group=""]', Fo = '[cmdk-group-items
|
|
|
11815
11815
|
let { alwaysRender: o, ...r } = e, a = M.useRef(null), i = H1((c) => !c.search);
|
|
11816
11816
|
return !o && !i ? null : M.createElement("div", { ref: Gt([a, t]), ...r, "cmdk-separator": "", role: "separator" });
|
|
11817
11817
|
}), eg = M.forwardRef((e, t) => {
|
|
11818
|
-
let { onValueChange: o, ...r } = e, a = e.value != null, i =
|
|
11818
|
+
let { onValueChange: o, ...r } = e, a = e.value != null, i = Yr(), c = H1((l) => l.search), s = zt();
|
|
11819
11819
|
return M.useEffect(() => {
|
|
11820
11820
|
e.value != null && i.setState("search", e.value);
|
|
11821
11821
|
}, [e.value]), M.createElement("input", { ref: t, ...r, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": s.listId, "aria-labelledby": s.labelId, id: s.inputId, type: "text", value: a ? e.value : c, onChange: (l) => {
|
|
@@ -11883,7 +11883,7 @@ function Gt(e) {
|
|
|
11883
11883
|
};
|
|
11884
11884
|
}
|
|
11885
11885
|
function H1(e) {
|
|
11886
|
-
let t =
|
|
11886
|
+
let t = Yr(), o = () => e(t.snapshot());
|
|
11887
11887
|
return M.useSyncExternalStore(t.subscribe, o, o);
|
|
11888
11888
|
}
|
|
11889
11889
|
function l4(e, t, o) {
|
|
@@ -12009,7 +12009,7 @@ const gg = u4, vg = E(gg).withConfig({
|
|
|
12009
12009
|
`), bg = ({
|
|
12010
12010
|
orientation: e = "horizontal",
|
|
12011
12011
|
...t
|
|
12012
|
-
}) => /* @__PURE__ */ n.jsx(vg, { orientation: e, ...t }),
|
|
12012
|
+
}) => /* @__PURE__ */ n.jsx(vg, { orientation: e, ...t }), Xr = () => {
|
|
12013
12013
|
const e = Ke(d4);
|
|
12014
12014
|
if (!e)
|
|
12015
12015
|
throw new Error("Context used outside of its Provider!");
|
|
@@ -12136,7 +12136,7 @@ const gg = u4, vg = E(gg).withConfig({
|
|
|
12136
12136
|
valueNode: s,
|
|
12137
12137
|
popperOpen: l,
|
|
12138
12138
|
onOpenChange: d
|
|
12139
|
-
} =
|
|
12139
|
+
} = Xr(), u = P(null), [f, h] = q(""), g = () => {
|
|
12140
12140
|
var p;
|
|
12141
12141
|
(p = u.current) == null || p.focus();
|
|
12142
12142
|
}, v = () => {
|
|
@@ -12173,7 +12173,7 @@ const gg = u4, vg = E(gg).withConfig({
|
|
|
12173
12173
|
}
|
|
12174
12174
|
}
|
|
12175
12175
|
}), o;
|
|
12176
|
-
},
|
|
12176
|
+
}, Jr = ({
|
|
12177
12177
|
placeholder: e = "Select an option",
|
|
12178
12178
|
label: t,
|
|
12179
12179
|
children: o,
|
|
@@ -12273,7 +12273,7 @@ const jg = E(tt.Item).withConfig({
|
|
|
12273
12273
|
const {
|
|
12274
12274
|
selectedValue: c,
|
|
12275
12275
|
onSelect: s
|
|
12276
|
-
} =
|
|
12276
|
+
} = Xr(), l = () => {
|
|
12277
12277
|
s(r), typeof o == "function" && o(r);
|
|
12278
12278
|
};
|
|
12279
12279
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -12282,8 +12282,8 @@ const jg = E(tt.Item).withConfig({
|
|
|
12282
12282
|
] });
|
|
12283
12283
|
});
|
|
12284
12284
|
g4.displayName = "Select.Item";
|
|
12285
|
-
|
|
12286
|
-
|
|
12285
|
+
Jr.Group = h4;
|
|
12286
|
+
Jr.Item = g4;
|
|
12287
12287
|
const v4 = ({
|
|
12288
12288
|
children: e,
|
|
12289
12289
|
onClick: t,
|
|
@@ -12291,7 +12291,7 @@ const v4 = ({
|
|
|
12291
12291
|
}) => {
|
|
12292
12292
|
const r = typeof t == "function", a = H1((s) => s.search), {
|
|
12293
12293
|
onOpenChange: i
|
|
12294
|
-
} =
|
|
12294
|
+
} = Xr(), c = (s) => {
|
|
12295
12295
|
s.preventDefault(), r && (t(s), i(!1));
|
|
12296
12296
|
};
|
|
12297
12297
|
return /* @__PURE__ */ n.jsx(tt.Empty, { children: /* @__PURE__ */ n.jsx($g, { onClick: c, $clickable: r, ...o, children: typeof e == "function" ? e({
|
|
@@ -12301,14 +12301,14 @@ const v4 = ({
|
|
|
12301
12301
|
` }) });
|
|
12302
12302
|
};
|
|
12303
12303
|
v4.displayName = "SelectNoData";
|
|
12304
|
-
|
|
12304
|
+
Jr.NoData = v4;
|
|
12305
12305
|
const Sg = E.span.withConfig({
|
|
12306
12306
|
componentId: "sc-1cu1l45-0"
|
|
12307
|
-
})(["display:flex;align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
|
|
12307
|
+
})(["display:flex;align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;flex:1;gap:", ";"], ({
|
|
12308
12308
|
theme: e
|
|
12309
12309
|
}) => e.click.sidebar.navigation.item.default.space.gap), _g = E.span.withConfig({
|
|
12310
12310
|
componentId: "sc-1cu1l45-1"
|
|
12311
|
-
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-
|
|
12311
|
+
})(["display:flex;white-space:nowrap;overflow:hidden;justify-content:flex-start;gap:inherit;flex:1;& > *:not(button){overflow:hidden;text-overflow:ellipsis;}"]), Jn = ({
|
|
12312
12312
|
icon: e,
|
|
12313
12313
|
iconDir: t = "start",
|
|
12314
12314
|
children: o
|
|
@@ -12316,53 +12316,55 @@ const Sg = E.span.withConfig({
|
|
|
12316
12316
|
e && t === "start" && /* @__PURE__ */ n.jsx(de, { name: e, size: "sm" }),
|
|
12317
12317
|
/* @__PURE__ */ n.jsx(_g, { children: o }),
|
|
12318
12318
|
e && t === "end" && /* @__PURE__ */ n.jsx(de, { name: e, size: "sm" })
|
|
12319
|
-
] }),
|
|
12319
|
+
] }), dL = H(({
|
|
12320
12320
|
label: e,
|
|
12321
12321
|
level: t = 0,
|
|
12322
12322
|
icon: o,
|
|
12323
12323
|
selected: r,
|
|
12324
12324
|
iconDir: a,
|
|
12325
|
-
|
|
12326
|
-
|
|
12325
|
+
type: i = "main",
|
|
12326
|
+
...c
|
|
12327
|
+
}, s) => /* @__PURE__ */ n.jsx(b4, { $level: t, "data-selected": r, $type: i, ref: s, ...c, children: /* @__PURE__ */ n.jsx(Jn, { icon: o, iconDir: a, children: e }) })), b4 = E.button.withConfig({
|
|
12327
12328
|
componentId: "sc-1rz759l-0"
|
|
12328
12329
|
})(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ' a{color:inherit;text-decoration:none;&:active{color:inherit;}}&:hover [data-trigger-icon],[data-open="true"][data-trigger-icon]{visibility:visible;}'], ({
|
|
12329
12330
|
theme: e,
|
|
12330
12331
|
$collapsible: t = !1,
|
|
12331
|
-
$level: o
|
|
12332
|
+
$level: o,
|
|
12333
|
+
$type: r
|
|
12332
12334
|
}) => {
|
|
12333
|
-
const
|
|
12335
|
+
const a = o === 0 ? "item" : "subItem";
|
|
12334
12336
|
return `
|
|
12335
|
-
padding: ${e.click.sidebar.navigation[
|
|
12336
|
-
border-radius: ${e.click.sidebar.navigation[
|
|
12337
|
-
font: ${e.click.sidebar.navigation[
|
|
12338
|
-
background-color: ${e.click.sidebar.
|
|
12339
|
-
color: ${e.click.sidebar.
|
|
12337
|
+
padding: ${e.click.sidebar.navigation[a].default.space.y} ${e.click.sidebar.navigation[a].default.space.right} ${e.click.sidebar.navigation[a].default.space.y} ${t ? e.click.sidebar.navigation[a].default.space.left : e.click.image.sm.size.width};
|
|
12338
|
+
border-radius: ${e.click.sidebar.navigation[a].radii.all};
|
|
12339
|
+
font: ${e.click.sidebar.navigation[a].typography.default};
|
|
12340
|
+
background-color: ${e.click.sidebar[r].navigation[a].color.background.default};
|
|
12341
|
+
color: ${e.click.sidebar[r].navigation[a].color.text.default};
|
|
12340
12342
|
&:hover, &:focus {
|
|
12341
|
-
font: ${e.click.sidebar.navigation[
|
|
12342
|
-
background-color: ${e.click.sidebar.
|
|
12343
|
-
color: ${e.click.sidebar.
|
|
12343
|
+
font: ${e.click.sidebar.navigation[a].typography.hover};
|
|
12344
|
+
background-color: ${e.click.sidebar[r].navigation[a].color.background.hover};
|
|
12345
|
+
color: ${e.click.sidebar[r].navigation[a].color.text.hover};
|
|
12344
12346
|
}
|
|
12345
12347
|
|
|
12346
12348
|
&:active, &[data-selected="true"] {
|
|
12347
|
-
font: ${e.click.sidebar.navigation[
|
|
12348
|
-
background-color: ${e.click.sidebar.
|
|
12349
|
-
color: ${e.click.sidebar.
|
|
12349
|
+
font: ${e.click.sidebar.navigation[a].typography.active};
|
|
12350
|
+
background-color: ${e.click.sidebar[r].navigation[a].color.background.active};
|
|
12351
|
+
color: ${e.click.sidebar[r].navigation[a].color.text.active};
|
|
12350
12352
|
}
|
|
12351
12353
|
@media (max-width: 640px) {
|
|
12352
|
-
gap: ${e.click.sidebar.navigation[
|
|
12353
|
-
padding: ${e.click.sidebar.navigation[
|
|
12354
|
-
font: ${e.click.sidebar.navigation[
|
|
12354
|
+
gap: ${e.click.sidebar.navigation[a].mobile.space.gap};
|
|
12355
|
+
padding: ${e.click.sidebar.navigation[a].mobile.space.y} ${e.click.sidebar.navigation[a].mobile.space.right} ${e.click.sidebar.navigation[a].mobile.space.y} ${t ? e.click.sidebar.navigation[a].mobile.space.left : e.click.image.sm.size.width};
|
|
12356
|
+
font: ${e.click.sidebar.navigation[a].mobile.typography.default};
|
|
12355
12357
|
|
|
12356
12358
|
&:hover, &:focus {
|
|
12357
|
-
font: ${e.click.sidebar.navigation[
|
|
12359
|
+
font: ${e.click.sidebar.navigation[a].mobile.typography.hover};
|
|
12358
12360
|
}
|
|
12359
12361
|
|
|
12360
12362
|
&:active {
|
|
12361
|
-
font: ${e.click.sidebar.navigation[
|
|
12363
|
+
font: ${e.click.sidebar.navigation[a].mobile.typography.active};
|
|
12362
12364
|
}
|
|
12363
12365
|
}
|
|
12364
12366
|
`;
|
|
12365
|
-
}),
|
|
12367
|
+
}), Qr = ze({
|
|
12366
12368
|
open: !1,
|
|
12367
12369
|
onOpenChange: () => null
|
|
12368
12370
|
}), We = ({
|
|
@@ -12381,7 +12383,7 @@ const Sg = E.span.withConfig({
|
|
|
12381
12383
|
open: a,
|
|
12382
12384
|
onOpenChange: c
|
|
12383
12385
|
};
|
|
12384
|
-
return /* @__PURE__ */ n.jsx("div", { ...r, children: /* @__PURE__ */ n.jsx(
|
|
12386
|
+
return /* @__PURE__ */ n.jsx("div", { ...r, children: /* @__PURE__ */ n.jsx(Qr.Provider, { value: s, children: o }) });
|
|
12385
12387
|
}, Eg = E.div.withConfig({
|
|
12386
12388
|
componentId: "sc-guwmyz-0"
|
|
12387
12389
|
})(["margin-left:", ";"], ({
|
|
@@ -12400,7 +12402,7 @@ const Sg = E.span.withConfig({
|
|
|
12400
12402
|
] });
|
|
12401
12403
|
C4.displayName = "CollapsibleHeader";
|
|
12402
12404
|
We.Header = C4;
|
|
12403
|
-
const Og = E(
|
|
12405
|
+
const Og = E(vr).withConfig({
|
|
12404
12406
|
componentId: "sc-guwmyz-1"
|
|
12405
12407
|
})(['display:flex;align-items:center;font:inherit;color:inherit;cursor:default;[data-trigger-icon]{visibility:hidden;transition:transform 150ms cubic-bezier(0.87,0,0.13,1);&[data-open="true"]{transform:rotate(90deg);}}&:hover{[data-trigger-icon]{visibility:visible;}}']), x4 = ({
|
|
12406
12408
|
onClick: e,
|
|
@@ -12413,7 +12415,7 @@ const Og = E(gr).withConfig({
|
|
|
12413
12415
|
const {
|
|
12414
12416
|
open: c,
|
|
12415
12417
|
onOpenChange: s
|
|
12416
|
-
} = Ke(
|
|
12418
|
+
} = Ke(Qr), l = (d) => {
|
|
12417
12419
|
d.preventDefault(), d.stopPropagation(), e && e(d), s();
|
|
12418
12420
|
};
|
|
12419
12421
|
return /* @__PURE__ */ n.jsxs(Og, { onClick: l, $indicatorDir: o, ...i, children: [
|
|
@@ -12435,13 +12437,13 @@ const Hg = E.div.withConfig({
|
|
|
12435
12437
|
}) => {
|
|
12436
12438
|
const {
|
|
12437
12439
|
open: o
|
|
12438
|
-
} = Ke(
|
|
12440
|
+
} = Ke(Qr);
|
|
12439
12441
|
if (o)
|
|
12440
12442
|
return /* @__PURE__ */ n.jsx(Hg, { $indicatorDir: e, ...t });
|
|
12441
12443
|
};
|
|
12442
12444
|
m4.displayName = "CollapsibleContent";
|
|
12443
12445
|
We.Content = m4;
|
|
12444
|
-
const
|
|
12446
|
+
const uL = H(({
|
|
12445
12447
|
label: e,
|
|
12446
12448
|
children: t,
|
|
12447
12449
|
open: o,
|
|
@@ -12451,40 +12453,43 @@ const lL = H(({
|
|
|
12451
12453
|
icon: c,
|
|
12452
12454
|
level: s = 0,
|
|
12453
12455
|
selected: l,
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
+
type: d = "main",
|
|
12457
|
+
...u
|
|
12458
|
+
}, f) => {
|
|
12456
12459
|
if (e)
|
|
12457
12460
|
return /* @__PURE__ */ n.jsxs(We, { open: o, onOpenChange: r, children: [
|
|
12458
|
-
/* @__PURE__ */ n.jsx(b4, { ref:
|
|
12461
|
+
/* @__PURE__ */ n.jsx(b4, { ref: f, as: We.Header, icon: c, iconDir: a, indicatorDir: i, $collapsible: !0, $level: s, $type: d, "data-selected": l, ...u, children: e }),
|
|
12459
12462
|
/* @__PURE__ */ n.jsx(We.Content, { indicatorDir: i, children: t })
|
|
12460
12463
|
] });
|
|
12461
|
-
}),
|
|
12464
|
+
}), fL = ({
|
|
12462
12465
|
label: e,
|
|
12463
12466
|
icon: t,
|
|
12464
12467
|
iconDir: o,
|
|
12465
12468
|
selected: r,
|
|
12466
|
-
|
|
12467
|
-
|
|
12469
|
+
type: a = "main",
|
|
12470
|
+
...i
|
|
12471
|
+
}) => /* @__PURE__ */ n.jsx(w4, { "data-selected": r, $type: a, ...i, children: /* @__PURE__ */ n.jsx(Jn, { icon: t, iconDir: o, children: e }) }), w4 = E.button.withConfig({
|
|
12468
12472
|
componentId: "sc-1rg1a4o-0"
|
|
12469
12473
|
})(["display:inline-flex;align-items:center;background:transparent;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;", " a{color:inherit;text-decoration:none;&:active{color:inherit;}}"], ({
|
|
12470
12474
|
theme: e,
|
|
12471
|
-
$collapsible: t = !1
|
|
12475
|
+
$collapsible: t = !1,
|
|
12476
|
+
$type: o
|
|
12472
12477
|
}) => `
|
|
12473
12478
|
padding: 0;
|
|
12474
12479
|
padding-left: ${t ? 0 : e.click.image.sm.size.width};
|
|
12475
12480
|
font: ${e.click.sidebar.navigation.title.typography.default};
|
|
12476
|
-
color: ${e.click.sidebar.
|
|
12481
|
+
color: ${e.click.sidebar[o].navigation.title.color.default};
|
|
12477
12482
|
|
|
12478
12483
|
&:hover {
|
|
12479
12484
|
font: ${e.click.sidebar.navigation.title.typography.hover};
|
|
12480
|
-
color: ${e.click.sidebar.
|
|
12485
|
+
color: ${e.click.sidebar[o].navigation.title.color.hover};
|
|
12481
12486
|
}
|
|
12482
12487
|
|
|
12483
12488
|
&:active, &[data-state="open"], &[data-selected="true"] {
|
|
12484
12489
|
font: ${e.click.sidebar.navigation.title.typography.active};
|
|
12485
|
-
color: ${e.click.sidebar.
|
|
12490
|
+
color: ${e.click.sidebar[o].navigation.title.color.active};
|
|
12486
12491
|
}
|
|
12487
|
-
`),
|
|
12492
|
+
`), pL = ({
|
|
12488
12493
|
label: e,
|
|
12489
12494
|
children: t,
|
|
12490
12495
|
open: o,
|
|
@@ -12492,11 +12497,12 @@ const lL = H(({
|
|
|
12492
12497
|
iconDir: a,
|
|
12493
12498
|
icon: i,
|
|
12494
12499
|
selected: c,
|
|
12495
|
-
|
|
12500
|
+
type: s = "main",
|
|
12501
|
+
...l
|
|
12496
12502
|
}) => {
|
|
12497
12503
|
if (e)
|
|
12498
12504
|
return /* @__PURE__ */ n.jsxs(We, { open: o, onOpenChange: r, children: [
|
|
12499
|
-
/* @__PURE__ */ n.jsxs(w4, { as: We.Trigger, $collapsible: !0, iconDir: a, "data-selected": c,
|
|
12505
|
+
/* @__PURE__ */ n.jsxs(w4, { as: We.Trigger, $collapsible: !0, iconDir: a, "data-selected": c, $type: s, ...l, children: [
|
|
12500
12506
|
i && /* @__PURE__ */ n.jsx(de, { name: i, size: "sm" }),
|
|
12501
12507
|
e
|
|
12502
12508
|
] }),
|
|
@@ -12509,7 +12515,7 @@ const lL = H(({
|
|
|
12509
12515
|
$size: t = "md"
|
|
12510
12516
|
}) => `${e.click.spacer.horizontal.space.y[t]} ${e.click.spacer.horizontal.space.x.all}`), Ig = ({
|
|
12511
12517
|
size: e
|
|
12512
|
-
}) => /* @__PURE__ */ n.jsx(Pg, { $size: e }),
|
|
12518
|
+
}) => /* @__PURE__ */ n.jsx(Pg, { $size: e }), hL = ({
|
|
12513
12519
|
type: e = "primary",
|
|
12514
12520
|
disabled: t,
|
|
12515
12521
|
menu: o,
|
|
@@ -12519,32 +12525,37 @@ const lL = H(({
|
|
|
12519
12525
|
onOpenChange: c,
|
|
12520
12526
|
modal: s,
|
|
12521
12527
|
side: l,
|
|
12522
|
-
|
|
12528
|
+
fillWidth: d,
|
|
12529
|
+
align: u,
|
|
12530
|
+
children: f,
|
|
12531
|
+
icon: h,
|
|
12532
|
+
iconDir: g = "left",
|
|
12533
|
+
...v
|
|
12523
12534
|
}) => {
|
|
12524
|
-
const
|
|
12535
|
+
const p = P(null), [b, C] = q(0);
|
|
12525
12536
|
return Z(() => {
|
|
12526
|
-
const
|
|
12527
|
-
if (!
|
|
12537
|
+
const w = p.current;
|
|
12538
|
+
if (!w)
|
|
12528
12539
|
return;
|
|
12529
|
-
const
|
|
12530
|
-
for (const
|
|
12531
|
-
|
|
12540
|
+
const k = new ResizeObserver((y) => {
|
|
12541
|
+
for (const L of y)
|
|
12542
|
+
C(L.target.clientWidth);
|
|
12532
12543
|
});
|
|
12533
|
-
return
|
|
12534
|
-
|
|
12544
|
+
return k.observe(w), () => {
|
|
12545
|
+
k.unobserve(w);
|
|
12535
12546
|
};
|
|
12536
12547
|
}, []), /* @__PURE__ */ n.jsxs(Ve, { dir: r, open: a, defaultOpen: i, onOpenChange: c, modal: s, children: [
|
|
12537
|
-
/* @__PURE__ */ n.jsxs(Rg, { $disabled: t, ref:
|
|
12538
|
-
/* @__PURE__ */ n.jsx(Tg, { disabled: t, $type: e,
|
|
12548
|
+
/* @__PURE__ */ n.jsxs(Rg, { $disabled: t, $fillWidth: d, ref: p, $type: e, children: [
|
|
12549
|
+
/* @__PURE__ */ n.jsx(Tg, { disabled: t, $type: e, $fillWidth: d, $align: u, ...v, children: /* @__PURE__ */ n.jsx(dr, { icon: h, iconDir: g, label: f }) }),
|
|
12539
12550
|
/* @__PURE__ */ n.jsx(Vg, { as: Ve.Trigger, disabled: t, $type: e, asChild: !0, "data-testid": "split-button-dropdown", children: /* @__PURE__ */ n.jsx("span", { children: /* @__PURE__ */ n.jsx(de, { name: "chevron-down", size: "sm" }) }) })
|
|
12540
12551
|
] }),
|
|
12541
|
-
/* @__PURE__ */ n.jsx(Fg, { as: Ve.Content, side: l, $width:
|
|
12552
|
+
/* @__PURE__ */ n.jsx(Fg, { as: Ve.Content, side: l, $width: b, align: "end", children: o.map((w, k) => /* @__PURE__ */ n.jsx(ur, { parentKey: `split-menu-option-${k}`, ...w }, `split-menu-option-${k}`)) })
|
|
12542
12553
|
] });
|
|
12543
12554
|
}, Fg = E.div.withConfig({
|
|
12544
12555
|
componentId: "sc-85zs9e-0"
|
|
12545
12556
|
})(["min-width:", "px;"], ({
|
|
12546
12557
|
$width: e
|
|
12547
|
-
}) => e),
|
|
12558
|
+
}) => e), dr = ({
|
|
12548
12559
|
label: e,
|
|
12549
12560
|
icon: t,
|
|
12550
12561
|
iconDir: o
|
|
@@ -12552,7 +12563,7 @@ const lL = H(({
|
|
|
12552
12563
|
t && o === "left" && /* @__PURE__ */ n.jsx(de, { name: t, size: "sm" }),
|
|
12553
12564
|
e,
|
|
12554
12565
|
t && o === "right" && /* @__PURE__ */ n.jsx(de, { name: t, size: "sm" })
|
|
12555
|
-
] }),
|
|
12566
|
+
] }), ur = ({
|
|
12556
12567
|
items: e = [],
|
|
12557
12568
|
type: t = "item",
|
|
12558
12569
|
label: o,
|
|
@@ -12562,21 +12573,23 @@ const lL = H(({
|
|
|
12562
12573
|
...c
|
|
12563
12574
|
}) => {
|
|
12564
12575
|
if (t === "item")
|
|
12565
|
-
return /* @__PURE__ */ n.jsx(Ve.Item, { ...c, children: /* @__PURE__ */ n.jsx(
|
|
12576
|
+
return /* @__PURE__ */ n.jsx(Ve.Item, { ...c, children: /* @__PURE__ */ n.jsx(dr, { icon: r, iconDir: a, label: o }) });
|
|
12566
12577
|
if (t === "group")
|
|
12567
|
-
return /* @__PURE__ */ n.jsx(Ve.Group, { children: e.map((s, l) => /* @__PURE__ */ n.jsx(
|
|
12578
|
+
return /* @__PURE__ */ n.jsx(Ve.Group, { children: e.map((s, l) => /* @__PURE__ */ n.jsx(ur, { parentKey: `${i}-group-${l}`, ...s }, `${i}-group-${l}`)) });
|
|
12568
12579
|
if (t === "sub-menu")
|
|
12569
12580
|
return /* @__PURE__ */ n.jsxs(Ve.Sub, { children: [
|
|
12570
|
-
/* @__PURE__ */ n.jsx(Ve.Trigger, { sub: !0, ...c, children: /* @__PURE__ */ n.jsx(
|
|
12571
|
-
/* @__PURE__ */ n.jsx(Ve.Content, { sub: !0, children: e.map((s, l) => /* @__PURE__ */ n.jsx(
|
|
12581
|
+
/* @__PURE__ */ n.jsx(Ve.Trigger, { sub: !0, ...c, children: /* @__PURE__ */ n.jsx(dr, { icon: r, iconDir: a, label: o }) }),
|
|
12582
|
+
/* @__PURE__ */ n.jsx(Ve.Content, { sub: !0, children: e.map((s, l) => /* @__PURE__ */ n.jsx(ur, { parentKey: `${i}-sub-menu-${l}`, ...s }, `${i}-sub-menu-${l}`)) })
|
|
12572
12583
|
] });
|
|
12573
12584
|
}, Rg = E.div.withConfig({
|
|
12574
12585
|
componentId: "sc-85zs9e-1"
|
|
12575
12586
|
})(["display:inline-flex;align-items:center;overflow:hidden;user-select:none;", ""], ({
|
|
12576
12587
|
theme: e,
|
|
12577
12588
|
$disabled: t = !1,
|
|
12578
|
-
$type: o
|
|
12589
|
+
$type: o,
|
|
12590
|
+
$fillWidth: r
|
|
12579
12591
|
}) => `
|
|
12592
|
+
width: ${r ? "100%" : "revert"};
|
|
12580
12593
|
border-radius: ${e.click.button.radii.all};
|
|
12581
12594
|
border: 1px solid ${e.click.button.split[o].stroke.default};
|
|
12582
12595
|
${t ? `
|
|
@@ -12590,16 +12603,20 @@ const lL = H(({
|
|
|
12590
12603
|
border-color: ${e.click.button.split[o].stroke.active};
|
|
12591
12604
|
}
|
|
12592
12605
|
`}
|
|
12593
|
-
`), Tg = E(
|
|
12606
|
+
`), Tg = E(br).withConfig({
|
|
12594
12607
|
componentId: "sc-85zs9e-2"
|
|
12595
|
-
})(["border:1px solid transparent;align-self:stretch;border-radius:0;padding:", " ", ";", ""], ({
|
|
12608
|
+
})(["border:1px solid transparent;align-self:stretch;border-radius:0;align-items:center;padding:", " ", ";", ""], ({
|
|
12596
12609
|
theme: e
|
|
12597
12610
|
}) => e.click.button.split.space.y, ({
|
|
12598
12611
|
theme: e
|
|
12599
12612
|
}) => e.click.button.split.space.x, ({
|
|
12600
12613
|
theme: e,
|
|
12601
|
-
$type: t
|
|
12614
|
+
$type: t,
|
|
12615
|
+
$align: o,
|
|
12616
|
+
$fillWidth: r
|
|
12602
12617
|
}) => `
|
|
12618
|
+
width: ${r ? "100%" : "revert"};
|
|
12619
|
+
justify-content: ${o === "left" ? "flex-start" : "center"};
|
|
12603
12620
|
background: ${e.click.button.split[t].background.main.default};
|
|
12604
12621
|
color: ${e.click.button.split[t].text.default};
|
|
12605
12622
|
&:hover {
|
|
@@ -12614,7 +12631,7 @@ const lL = H(({
|
|
|
12614
12631
|
background: ${e.click.button.split[t].background.main.disabled};
|
|
12615
12632
|
color: ${e.click.button.split[t].text.disabled};
|
|
12616
12633
|
}
|
|
12617
|
-
`), Vg = E(
|
|
12634
|
+
`), Vg = E(br).withConfig({
|
|
12618
12635
|
componentId: "sc-85zs9e-3"
|
|
12619
12636
|
})(["border:none;align-self:stretch;border-radius:0;", ""], ({
|
|
12620
12637
|
theme: e,
|
|
@@ -12635,7 +12652,7 @@ const lL = H(({
|
|
|
12635
12652
|
background: ${e.click.button.split[t].background.action.disabled};
|
|
12636
12653
|
color: ${e.click.button.split[t].text.disabled};
|
|
12637
12654
|
}
|
|
12638
|
-
`), k4 = "Switch", [Ag,
|
|
12655
|
+
`), k4 = "Switch", [Ag, gL] = Le(k4), [Zg, Dg] = Ag(k4), Ng = /* @__PURE__ */ H((e, t) => {
|
|
12639
12656
|
const { __scopeSwitch: o, name: r, checked: a, defaultChecked: i, required: c, disabled: s, value: l = "on", onCheckedChange: d, ...u } = e, [f, h] = q(null), g = be(
|
|
12640
12657
|
t,
|
|
12641
12658
|
(w) => h(w)
|
|
@@ -12685,7 +12702,7 @@ const lL = H(({
|
|
|
12685
12702
|
ref: t
|
|
12686
12703
|
}));
|
|
12687
12704
|
}), Wg = (e) => {
|
|
12688
|
-
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c =
|
|
12705
|
+
const { control: t, checked: o, bubbles: r = !0, ...a } = e, i = P(null), c = Dr(o), s = Hn(t);
|
|
12689
12706
|
return Z(() => {
|
|
12690
12707
|
const l = i.current, d = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(d, "checked").set;
|
|
12691
12708
|
if (c !== o && f) {
|
|
@@ -12720,7 +12737,7 @@ function y4(e) {
|
|
|
12720
12737
|
}
|
|
12721
12738
|
const zg = Ng, Gg = Ug, Kg = E(It).withConfig({
|
|
12722
12739
|
componentId: "sc-egkkgl-0"
|
|
12723
|
-
})(["max-width:fit-content;"]),
|
|
12740
|
+
})(["max-width:fit-content;"]), vL = H(({
|
|
12724
12741
|
checked: e,
|
|
12725
12742
|
disabled: t,
|
|
12726
12743
|
orientation: o,
|
|
@@ -12785,9 +12802,9 @@ const zg = Ng, Gg = Ug, Kg = E(It).withConfig({
|
|
|
12785
12802
|
transition: "transform 100ms",
|
|
12786
12803
|
transform: e.$checked ? "translateX(15px)" : "translateX(2px)",
|
|
12787
12804
|
willChange: "transform"
|
|
12788
|
-
})), $4 = "Tabs", [Qg,
|
|
12805
|
+
})), $4 = "Tabs", [Qg, bL] = Le($4, [
|
|
12789
12806
|
at
|
|
12790
|
-
]), L4 = at(), [ev,
|
|
12807
|
+
]), L4 = at(), [ev, e2] = Qg($4), tv = /* @__PURE__ */ H((e, t) => {
|
|
12791
12808
|
const { __scopeTabs: o, value: r, onValueChange: a, defaultValue: i, orientation: c = "horizontal", dir: s, activationMode: l = "automatic", ...d } = e, u = Rt(s), [f, h] = He({
|
|
12792
12809
|
prop: r,
|
|
12793
12810
|
onChange: a,
|
|
@@ -12808,8 +12825,8 @@ const zg = Ng, Gg = Ug, Kg = E(It).withConfig({
|
|
|
12808
12825
|
ref: t
|
|
12809
12826
|
})));
|
|
12810
12827
|
}), nv = "TabsList", ov = /* @__PURE__ */ H((e, t) => {
|
|
12811
|
-
const { __scopeTabs: o, loop: r = !0, ...a } = e, i =
|
|
12812
|
-
return /* @__PURE__ */ x(
|
|
12828
|
+
const { __scopeTabs: o, loop: r = !0, ...a } = e, i = e2(nv, o), c = L4(o);
|
|
12829
|
+
return /* @__PURE__ */ x(jr, _({
|
|
12813
12830
|
asChild: !0
|
|
12814
12831
|
}, c, {
|
|
12815
12832
|
orientation: i.orientation,
|
|
@@ -12822,8 +12839,8 @@ const zg = Ng, Gg = Ug, Kg = E(It).withConfig({
|
|
|
12822
12839
|
ref: t
|
|
12823
12840
|
})));
|
|
12824
12841
|
}), rv = "TabsTrigger", av = /* @__PURE__ */ H((e, t) => {
|
|
12825
|
-
const { __scopeTabs: o, value: r, disabled: a = !1, ...i } = e, c =
|
|
12826
|
-
return /* @__PURE__ */ x(
|
|
12842
|
+
const { __scopeTabs: o, value: r, disabled: a = !1, ...i } = e, c = e2(rv, o), s = L4(o), l = M4(c.baseId, r), d = j4(c.baseId, r), u = r === c.value;
|
|
12843
|
+
return /* @__PURE__ */ x(Sr, _({
|
|
12827
12844
|
asChild: !0
|
|
12828
12845
|
}, s, {
|
|
12829
12846
|
focusable: !a,
|
|
@@ -12854,7 +12871,7 @@ const zg = Ng, Gg = Ug, Kg = E(It).withConfig({
|
|
|
12854
12871
|
})
|
|
12855
12872
|
})));
|
|
12856
12873
|
}), iv = "TabsContent", sv = /* @__PURE__ */ H((e, t) => {
|
|
12857
|
-
const { __scopeTabs: o, value: r, forceMount: a, children: i, ...c } = e, s =
|
|
12874
|
+
const { __scopeTabs: o, value: r, forceMount: a, children: i, ...c } = e, s = e2(iv, o), l = M4(s.baseId, r), d = j4(s.baseId, r), u = r === s.value, f = P(u);
|
|
12858
12875
|
return Z(() => {
|
|
12859
12876
|
const h = requestAnimationFrame(
|
|
12860
12877
|
() => f.current = !1
|
|
@@ -12894,16 +12911,16 @@ const cv = tv, lv = ov, dv = av, uv = sv, fv = E(dv).withConfig({
|
|
|
12894
12911
|
componentId: "sc-tj736u-1"
|
|
12895
12912
|
})([""]), hv = E(lv).withConfig({
|
|
12896
12913
|
componentId: "sc-tj736u-2"
|
|
12897
|
-
})(["border-bottom:", ";"], (e) => e.theme.click.tabs.basic.stroke.global),
|
|
12914
|
+
})(["border-bottom:", ";"], (e) => e.theme.click.tabs.basic.stroke.global), t2 = ({
|
|
12898
12915
|
defaultValue: e,
|
|
12899
12916
|
children: t,
|
|
12900
12917
|
ariaLabel: o,
|
|
12901
12918
|
onValueChange: r,
|
|
12902
12919
|
...a
|
|
12903
12920
|
}) => /* @__PURE__ */ n.jsx(cv, { "aria-label": o, defaultValue: e, onValueChange: r, ...a, children: t });
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
|
-
|
|
12921
|
+
t2.TriggersList = hv;
|
|
12922
|
+
t2.Trigger = fv;
|
|
12923
|
+
t2.Content = pv;
|
|
12907
12924
|
const gv = E.div.withConfig({
|
|
12908
12925
|
componentId: "sc-137ymle-0"
|
|
12909
12926
|
})(["display:flex;position:relative;overflow:auto;overscroll-behavior:none;scrollbar-width:0;&::-webkit-scrollbar{height:0;}"]), vv = E.div.withConfig({
|
|
@@ -13093,7 +13110,7 @@ const gv = E.div.withConfig({
|
|
|
13093
13110
|
};
|
|
13094
13111
|
_4.displayName = "FileTab";
|
|
13095
13112
|
Cv.Tab = _4;
|
|
13096
|
-
const
|
|
13113
|
+
const CL = H(({
|
|
13097
13114
|
clear: e,
|
|
13098
13115
|
type: t,
|
|
13099
13116
|
disabled: o,
|
|
@@ -13114,10 +13131,10 @@ const vL = H(({
|
|
|
13114
13131
|
};
|
|
13115
13132
|
return /* @__PURE__ */ n.jsxs(Gn, { disabled: o, id: i ?? v, label: r, error: a, orientation: d, dir: u, children: [
|
|
13116
13133
|
/* @__PURE__ */ n.jsx(Kn, { ref: B5([g, h]), type: t, id: i ?? v, disabled: o, value: s, onChange: p, ...f }),
|
|
13117
|
-
e && /* @__PURE__ */ n.jsx(
|
|
13134
|
+
e && /* @__PURE__ */ n.jsx(Kr, { disabled: o, onClick: b, $show: s.length > 0, "aria-label": "clear input", children: /* @__PURE__ */ n.jsx(de, { name: "cross", size: "sm" }) }),
|
|
13118
13135
|
c && /* @__PURE__ */ n.jsx(de, { name: "loading-animated", size: "sm" })
|
|
13119
13136
|
] });
|
|
13120
|
-
}),
|
|
13137
|
+
}), n2 = /* @__PURE__ */ H((e, t) => /* @__PURE__ */ x(ae.span, _({}, e, {
|
|
13121
13138
|
ref: t,
|
|
13122
13139
|
style: {
|
|
13123
13140
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -13133,9 +13150,9 @@ const vL = H(({
|
|
|
13133
13150
|
wordWrap: "normal",
|
|
13134
13151
|
...e.style
|
|
13135
13152
|
}
|
|
13136
|
-
}))), $v =
|
|
13153
|
+
}))), $v = n2, [Qn, xL] = Le("Tooltip", [
|
|
13137
13154
|
m1
|
|
13138
|
-
]), eo = m1(), Lv = "TooltipProvider", Mv = 700,
|
|
13155
|
+
]), eo = m1(), Lv = "TooltipProvider", Mv = 700, fr = "tooltip.open", [jv, o2] = Qn(Lv), Sv = (e) => {
|
|
13139
13156
|
const { __scopeTooltip: t, delayDuration: o = Mv, skipDelayDuration: r = 300, disableHoverableContent: a = !1, children: i } = e, [c, s] = q(!0), l = P(!1), d = P(0);
|
|
13140
13157
|
return Z(() => {
|
|
13141
13158
|
const u = d.current;
|
|
@@ -13161,12 +13178,12 @@ const vL = H(({
|
|
|
13161
13178
|
}, []),
|
|
13162
13179
|
disableHoverableContent: a
|
|
13163
13180
|
}, i);
|
|
13164
|
-
},
|
|
13165
|
-
const { __scopeTooltip: t, children: o, open: r, defaultOpen: a = !1, onOpenChange: i, disableHoverableContent: c, delayDuration: s } = e, l =
|
|
13181
|
+
}, r2 = "Tooltip", [_v, Kt] = Qn(r2), Ev = (e) => {
|
|
13182
|
+
const { __scopeTooltip: t, children: o, open: r, defaultOpen: a = !1, onOpenChange: i, disableHoverableContent: c, delayDuration: s } = e, l = o2(r2, e.__scopeTooltip), d = eo(t), [u, f] = q(null), h = Xe(), g = P(0), v = c ?? l.disableHoverableContent, p = s ?? l.delayDuration, b = P(!1), [C = !1, w] = He({
|
|
13166
13183
|
prop: r,
|
|
13167
13184
|
defaultProp: a,
|
|
13168
13185
|
onChange: (O) => {
|
|
13169
|
-
O ? (l.onOpen(), document.dispatchEvent(new CustomEvent(
|
|
13186
|
+
O ? (l.onOpen(), document.dispatchEvent(new CustomEvent(fr))) : l.onClose(), i == null || i(O);
|
|
13170
13187
|
}
|
|
13171
13188
|
}), k = Ge(() => C ? b.current ? "delayed-open" : "instant-open" : "closed", [
|
|
13172
13189
|
C
|
|
@@ -13211,7 +13228,7 @@ const vL = H(({
|
|
|
13211
13228
|
disableHoverableContent: v
|
|
13212
13229
|
}, o));
|
|
13213
13230
|
}, g3 = "TooltipTrigger", Ov = /* @__PURE__ */ H((e, t) => {
|
|
13214
|
-
const { __scopeTooltip: o, ...r } = e, a = Kt(g3, o), i =
|
|
13231
|
+
const { __scopeTooltip: o, ...r } = e, a = Kt(g3, o), i = o2(g3, o), c = eo(o), s = P(null), l = be(t, s, a.onTriggerChange), d = P(!1), u = P(!1), f = re(
|
|
13215
13232
|
() => d.current = !1,
|
|
13216
13233
|
[]
|
|
13217
13234
|
);
|
|
@@ -13270,7 +13287,7 @@ const vL = H(({
|
|
|
13270
13287
|
ref: t
|
|
13271
13288
|
})));
|
|
13272
13289
|
}), Rv = /* @__PURE__ */ H((e, t) => {
|
|
13273
|
-
const o = Kt(Ht, e.__scopeTooltip), r =
|
|
13290
|
+
const o = Kt(Ht, e.__scopeTooltip), r = o2(Ht, e.__scopeTooltip), a = P(null), i = be(t, a), [c, s] = q(null), { trigger: l, onClose: d } = o, u = a.current, { onPointerInTransitChange: f } = r, h = re(() => {
|
|
13274
13291
|
s(null), f(!1);
|
|
13275
13292
|
}, [
|
|
13276
13293
|
f
|
|
@@ -13320,11 +13337,11 @@ const vL = H(({
|
|
|
13320
13337
|
]), /* @__PURE__ */ x(O4, _({}, e, {
|
|
13321
13338
|
ref: i
|
|
13322
13339
|
}));
|
|
13323
|
-
}), [Tv, Vv] = Qn(
|
|
13340
|
+
}), [Tv, Vv] = Qn(r2, {
|
|
13324
13341
|
isInside: !1
|
|
13325
13342
|
}), O4 = /* @__PURE__ */ H((e, t) => {
|
|
13326
13343
|
const { __scopeTooltip: o, children: r, "aria-label": a, onEscapeKeyDown: i, onPointerDownOutside: c, ...s } = e, l = Kt(Ht, o), d = eo(o), { onClose: u } = l;
|
|
13327
|
-
return Z(() => (document.addEventListener(
|
|
13344
|
+
return Z(() => (document.addEventListener(fr, u), () => document.removeEventListener(fr, u)), [
|
|
13328
13345
|
u
|
|
13329
13346
|
]), Z(() => {
|
|
13330
13347
|
if (l.trigger) {
|
|
@@ -13494,10 +13511,7 @@ function zv(e) {
|
|
|
13494
13511
|
}
|
|
13495
13512
|
return o.pop(), t.length === 1 && o.length === 1 && t[0].x === o[0].x && t[0].y === o[0].y ? t : t.concat(o);
|
|
13496
13513
|
}
|
|
13497
|
-
const Gv = Sv, Kv = Ev, qv = Ov, Yv = Iv, Xv = Fv, Jv = Zv,
|
|
13498
|
-
children: e,
|
|
13499
|
-
...t
|
|
13500
|
-
}) => /* @__PURE__ */ n.jsx(Gv, { ...t, children: e }), H4 = ({
|
|
13514
|
+
const Gv = Sv, Kv = Ev, qv = Ov, Yv = Iv, Xv = Fv, Jv = Zv, H4 = ({
|
|
13501
13515
|
children: e,
|
|
13502
13516
|
...t
|
|
13503
13517
|
}) => /* @__PURE__ */ n.jsx(Kv, { ...t, children: e }), P4 = (e) => /* @__PURE__ */ n.jsx(qv, { asChild: !0, ...e });
|
|
@@ -13529,11 +13543,11 @@ const Qv = E(Xv).withConfig({
|
|
|
13529
13543
|
] }) });
|
|
13530
13544
|
I4.displayName = "TooltipContent";
|
|
13531
13545
|
H4.Content = I4;
|
|
13532
|
-
const F4 = "ToastProvider", [
|
|
13546
|
+
const F4 = "ToastProvider", [a2, tb, nb] = _n("Toast"), [R4, mL] = Le("Toast", [
|
|
13533
13547
|
nb
|
|
13534
13548
|
]), [ob, to] = R4(F4), T4 = (e) => {
|
|
13535
13549
|
const { __scopeToast: t, label: o = "Notification", duration: r = 5e3, swipeDirection: a = "right", swipeThreshold: i = 50, children: c } = e, [s, l] = q(null), [d, u] = q(0), f = P(!1), h = P(!1);
|
|
13536
|
-
return /* @__PURE__ */ x(
|
|
13550
|
+
return /* @__PURE__ */ x(a2.Provider, {
|
|
13537
13551
|
scope: t
|
|
13538
13552
|
}, /* @__PURE__ */ x(ob, {
|
|
13539
13553
|
scope: t,
|
|
@@ -13571,7 +13585,7 @@ T4.propTypes = {
|
|
|
13571
13585
|
};
|
|
13572
13586
|
const rb = "ToastViewport", ab = [
|
|
13573
13587
|
"F8"
|
|
13574
|
-
],
|
|
13588
|
+
], pr = "toast.viewportPause", hr = "toast.viewportResume", ib = /* @__PURE__ */ H((e, t) => {
|
|
13575
13589
|
const { __scopeToast: o, hotkey: r = ab, label: a = "Notifications ({hotkey})", ...i } = e, c = to(rb, o), s = tb(o), l = P(null), d = P(null), u = P(null), f = P(null), h = be(t, f, c.onViewportChange), g = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), v = c.toastCount > 0;
|
|
13576
13590
|
Z(() => {
|
|
13577
13591
|
const b = (C) => {
|
|
@@ -13588,12 +13602,12 @@ const rb = "ToastViewport", ab = [
|
|
|
13588
13602
|
if (v && b && C) {
|
|
13589
13603
|
const w = () => {
|
|
13590
13604
|
if (!c.isClosePausedRef.current) {
|
|
13591
|
-
const $ = new CustomEvent(
|
|
13605
|
+
const $ = new CustomEvent(pr);
|
|
13592
13606
|
C.dispatchEvent($), c.isClosePausedRef.current = !0;
|
|
13593
13607
|
}
|
|
13594
13608
|
}, k = () => {
|
|
13595
13609
|
if (c.isClosePausedRef.current) {
|
|
13596
|
-
const $ = new CustomEvent(
|
|
13610
|
+
const $ = new CustomEvent(hr);
|
|
13597
13611
|
C.dispatchEvent($), c.isClosePausedRef.current = !1;
|
|
13598
13612
|
}
|
|
13599
13613
|
}, y = ($) => {
|
|
@@ -13667,7 +13681,7 @@ const rb = "ToastViewport", ab = [
|
|
|
13667
13681
|
});
|
|
13668
13682
|
To(b);
|
|
13669
13683
|
}
|
|
13670
|
-
}), /* @__PURE__ */ x(
|
|
13684
|
+
}), /* @__PURE__ */ x(a2.Slot, {
|
|
13671
13685
|
scope: o
|
|
13672
13686
|
}, /* @__PURE__ */ x(ae.ol, _({
|
|
13673
13687
|
tabIndex: -1
|
|
@@ -13684,7 +13698,7 @@ const rb = "ToastViewport", ab = [
|
|
|
13684
13698
|
}));
|
|
13685
13699
|
}), sb = "ToastFocusProxy", v3 = /* @__PURE__ */ H((e, t) => {
|
|
13686
13700
|
const { __scopeToast: o, onFocusFromOutsideViewport: r, ...a } = e, i = to(sb, o);
|
|
13687
|
-
return /* @__PURE__ */ x(
|
|
13701
|
+
return /* @__PURE__ */ x(n2, _({
|
|
13688
13702
|
"aria-hidden": !0,
|
|
13689
13703
|
tabIndex: 0
|
|
13690
13704
|
}, a, {
|
|
@@ -13752,8 +13766,8 @@ const rb = "ToastViewport", ab = [
|
|
|
13752
13766
|
const pe = (/* @__PURE__ */ new Date()).getTime() - $.current;
|
|
13753
13767
|
O.current = O.current - pe, window.clearTimeout(T.current), l == null || l();
|
|
13754
13768
|
};
|
|
13755
|
-
return R.addEventListener(
|
|
13756
|
-
R.removeEventListener(
|
|
13769
|
+
return R.addEventListener(pr, Q), R.addEventListener(hr, W), () => {
|
|
13770
|
+
R.removeEventListener(pr, Q), R.removeEventListener(hr, W);
|
|
13757
13771
|
};
|
|
13758
13772
|
}
|
|
13759
13773
|
}, [
|
|
@@ -13784,7 +13798,7 @@ const rb = "ToastViewport", ab = [
|
|
|
13784
13798
|
}, G), /* @__PURE__ */ x(pb, {
|
|
13785
13799
|
scope: o,
|
|
13786
13800
|
onClose: J
|
|
13787
|
-
}, /* @__PURE__ */ As(/* @__PURE__ */ x(
|
|
13801
|
+
}, /* @__PURE__ */ As(/* @__PURE__ */ x(a2.ItemSlot, {
|
|
13788
13802
|
scope: o
|
|
13789
13803
|
}, /* @__PURE__ */ x(Ol, {
|
|
13790
13804
|
asChild: !0,
|
|
@@ -13883,7 +13897,7 @@ const gb = (e) => {
|
|
|
13883
13897
|
return () => window.clearTimeout(d);
|
|
13884
13898
|
}, []), s ? null : /* @__PURE__ */ x(Dt, {
|
|
13885
13899
|
asChild: !0
|
|
13886
|
-
}, /* @__PURE__ */ x(
|
|
13900
|
+
}, /* @__PURE__ */ x(n2, r, i && /* @__PURE__ */ x(P1, null, a.label, " ", o)));
|
|
13887
13901
|
}, vb = /* @__PURE__ */ H((e, t) => {
|
|
13888
13902
|
const { __scopeToast: o, ...r } = e;
|
|
13889
13903
|
return /* @__PURE__ */ x(ae.div, _({}, r, {
|
|
@@ -13949,7 +13963,7 @@ function un(e, t, o, { discrete: r }) {
|
|
|
13949
13963
|
});
|
|
13950
13964
|
t && a.addEventListener(e, t, {
|
|
13951
13965
|
once: !0
|
|
13952
|
-
}), r ?
|
|
13966
|
+
}), r ? xr(a, i) : a.dispatchEvent(i);
|
|
13953
13967
|
}
|
|
13954
13968
|
const b3 = (e, t, o = 0) => {
|
|
13955
13969
|
const r = Math.abs(e.x), a = Math.abs(e.y), i = r > a;
|
|
@@ -14060,7 +14074,7 @@ const yb = T4, $b = ib, Lb = fb, Mb = vb, jb = bb, Sb = A4, _b = Z4, B4 = ze({
|
|
|
14060
14074
|
theme: e
|
|
14061
14075
|
}) => e.click.toast.space.gap, ({
|
|
14062
14076
|
theme: e
|
|
14063
|
-
}) => e.click.toast.size.width),
|
|
14077
|
+
}) => e.click.toast.size.width), Zb = ({
|
|
14064
14078
|
children: e,
|
|
14065
14079
|
...t
|
|
14066
14080
|
}) => {
|
|
@@ -14084,18 +14098,7 @@ const yb = T4, $b = ib, Lb = fb, Mb = vb, jb = bb, Sb = A4, _b = Z4, B4 = ze({
|
|
|
14084
14098
|
] }),
|
|
14085
14099
|
/* @__PURE__ */ n.jsx(Ab, {})
|
|
14086
14100
|
] });
|
|
14087
|
-
}
|
|
14088
|
-
const e = Ke(B4);
|
|
14089
|
-
if (!e)
|
|
14090
|
-
throw new Error("Context used outside of its Provider!");
|
|
14091
|
-
return e;
|
|
14092
|
-
}, Zb = Rs(["body{color:", ";background-color:", "}"], (e) => e.theme.click.global.color.text.default, (e) => e.theme.click.global.color.background.default), kL = ({
|
|
14093
|
-
theme: e,
|
|
14094
|
-
children: t
|
|
14095
|
-
}) => /* @__PURE__ */ n.jsxs(Ts, { theme: P$[e], children: [
|
|
14096
|
-
/* @__PURE__ */ n.jsx(Zb, {}),
|
|
14097
|
-
t
|
|
14098
|
-
] });
|
|
14101
|
+
};
|
|
14099
14102
|
function Db() {
|
|
14100
14103
|
this.__data__ = [], this.size = 0;
|
|
14101
14104
|
}
|
|
@@ -14193,7 +14196,7 @@ function zC(e) {
|
|
|
14193
14196
|
var t = ZC(e);
|
|
14194
14197
|
return t == BC || t == UC || t == NC || t == WC;
|
|
14195
14198
|
}
|
|
14196
|
-
var
|
|
14199
|
+
var i2 = zC, GC = lt, KC = GC["__core-js_shared__"], qC = KC, Vo = qC, k3 = function() {
|
|
14197
14200
|
var e = /[^.]+$/.exec(Vo && Vo.keys && Vo.keys.IE_PROTO || "");
|
|
14198
14201
|
return e ? "Symbol(src)_1." + e : "";
|
|
14199
14202
|
}();
|
|
@@ -14214,7 +14217,7 @@ function ex(e) {
|
|
|
14214
14217
|
}
|
|
14215
14218
|
return "";
|
|
14216
14219
|
}
|
|
14217
|
-
var tx = ex, nx =
|
|
14220
|
+
var tx = ex, nx = i2, ox = XC, rx = V1, ax = tx, ix = /[\\^$.*+?()[\]{}|]/g, sx = /^\[object .+?Constructor\]$/, cx = Function.prototype, lx = Object.prototype, dx = cx.toString, ux = lx.hasOwnProperty, fx = RegExp(
|
|
14218
14221
|
"^" + dx.call(ux).replace(ix, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
14219
14222
|
);
|
|
14220
14223
|
function px(e) {
|
|
@@ -14232,7 +14235,7 @@ function xx(e, t) {
|
|
|
14232
14235
|
var o = Cx(e, t);
|
|
14233
14236
|
return bx(o) ? o : void 0;
|
|
14234
14237
|
}
|
|
14235
|
-
var
|
|
14238
|
+
var s2 = xx, mx = s2, wx = lt, kx = mx(wx, "Map"), G4 = kx, yx = s2, $x = yx(Object, "create"), so = $x, y3 = so;
|
|
14236
14239
|
function Lx() {
|
|
14237
14240
|
this.__data__ = y3 ? y3(null) : {}, this.size = 0;
|
|
14238
14241
|
}
|
|
@@ -14343,7 +14346,7 @@ ft.prototype.delete = Em;
|
|
|
14343
14346
|
ft.prototype.get = Om;
|
|
14344
14347
|
ft.prototype.has = Hm;
|
|
14345
14348
|
ft.prototype.set = Pm;
|
|
14346
|
-
var Im = ft, Fm =
|
|
14349
|
+
var Im = ft, Fm = s2, Rm = function() {
|
|
14347
14350
|
try {
|
|
14348
14351
|
var e = Fm(Object, "defineProperty");
|
|
14349
14352
|
return e({}, "", {}), e;
|
|
@@ -14358,7 +14361,7 @@ function Tm(e, t, o) {
|
|
|
14358
14361
|
writable: !0
|
|
14359
14362
|
}) : e[t] = o;
|
|
14360
14363
|
}
|
|
14361
|
-
var
|
|
14364
|
+
var c2 = Tm, Vm = c2, Am = oo;
|
|
14362
14365
|
function Zm(e, t, o) {
|
|
14363
14366
|
(o !== void 0 && !Am(e[t], o) || o === void 0 && !(t in e)) && Vm(e, t, o);
|
|
14364
14367
|
}
|
|
@@ -14445,11 +14448,11 @@ var kw = ww, S3 = kw, yw = qt, J4 = Object.prototype, $w = J4.hasOwnProperty, Lw
|
|
|
14445
14448
|
function _w(e) {
|
|
14446
14449
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Sw;
|
|
14447
14450
|
}
|
|
14448
|
-
var ts = _w, Ew =
|
|
14451
|
+
var ts = _w, Ew = i2, Ow = ts;
|
|
14449
14452
|
function Hw(e) {
|
|
14450
14453
|
return e != null && Ow(e.length) && !Ew(e);
|
|
14451
14454
|
}
|
|
14452
|
-
var
|
|
14455
|
+
var l2 = Hw, Pw = l2, Iw = qt;
|
|
14453
14456
|
function Fw(e) {
|
|
14454
14457
|
return Iw(e) && Pw(e);
|
|
14455
14458
|
}
|
|
@@ -14502,12 +14505,12 @@ function Ek(e, t) {
|
|
|
14502
14505
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
14503
14506
|
return e[t];
|
|
14504
14507
|
}
|
|
14505
|
-
var as = Ek, Ok =
|
|
14508
|
+
var as = Ek, Ok = c2, Hk = oo, Pk = Object.prototype, Ik = Pk.hasOwnProperty;
|
|
14506
14509
|
function Fk(e, t, o) {
|
|
14507
14510
|
var r = e[t];
|
|
14508
14511
|
(!(Ik.call(e, t) && Hk(r, o)) || o === void 0 && !(t in e)) && Ok(e, t, o);
|
|
14509
14512
|
}
|
|
14510
|
-
var Rk = Fk, Tk = Rk, Vk =
|
|
14513
|
+
var Rk = Fk, Tk = Rk, Vk = c2;
|
|
14511
14514
|
function Ak(e, t, o, r) {
|
|
14512
14515
|
var a = !o;
|
|
14513
14516
|
o || (o = {});
|
|
@@ -14556,7 +14559,7 @@ function ly(e) {
|
|
|
14556
14559
|
r == "constructor" && (t || !cy.call(e, r)) || o.push(r);
|
|
14557
14560
|
return o;
|
|
14558
14561
|
}
|
|
14559
|
-
var dy = ly, uy = ty, fy = dy, py =
|
|
14562
|
+
var dy = ly, uy = ty, fy = dy, py = l2;
|
|
14560
14563
|
function hy(e) {
|
|
14561
14564
|
return py(e) ? uy(e, !0) : fy(e);
|
|
14562
14565
|
}
|
|
@@ -14564,7 +14567,7 @@ var ss = hy, gy = Zk, vy = ss;
|
|
|
14564
14567
|
function by(e) {
|
|
14565
14568
|
return gy(e, vy(e));
|
|
14566
14569
|
}
|
|
14567
|
-
var Cy = by, O3 = q4, xy = zm, my = ew, wy = nw, ky = vw, H3 = Q4, P3 = es, yy = Rw, $y = ns, Ly =
|
|
14570
|
+
var Cy = by, O3 = q4, xy = zm, my = ew, wy = nw, ky = vw, H3 = Q4, P3 = es, yy = Rw, $y = ns, Ly = i2, My = V1, jy = Kw, Sy = rs, I3 = as, _y = Cy;
|
|
14568
14571
|
function Ey(e, t, o, r, a, i, c) {
|
|
14569
14572
|
var s = I3(e, o), l = I3(t, o), d = c.get(l);
|
|
14570
14573
|
if (d) {
|
|
@@ -14648,7 +14651,7 @@ var n$ = t$, o$ = Xy, r$ = n$, a$ = r$(o$), i$ = a$, s$ = ls, c$ = Wy, l$ = i$;
|
|
|
14648
14651
|
function d$(e, t) {
|
|
14649
14652
|
return l$(c$(e, t, s$), e + "");
|
|
14650
14653
|
}
|
|
14651
|
-
var u$ = d$, f$ = oo, p$ =
|
|
14654
|
+
var u$ = d$, f$ = oo, p$ = l2, h$ = is, g$ = V1;
|
|
14652
14655
|
function v$(e, t, o) {
|
|
14653
14656
|
if (!g$(o))
|
|
14654
14657
|
return !1;
|
|
@@ -19816,55 +19819,74 @@ const Ao = /* @__PURE__ */ Pt(L$), ds = {
|
|
|
19816
19819
|
dark: Ao({}, Zo, _$),
|
|
19817
19820
|
light: Ao({}, Zo, O$),
|
|
19818
19821
|
classic: Ao({}, Zo, j$)
|
|
19822
|
+
}, I$ = Rs(["body{color:", ";background-color:", "}"], (e) => e.theme.click.global.color.text.default, (e) => e.theme.click.global.color.background.default), F$ = ({
|
|
19823
|
+
theme: e,
|
|
19824
|
+
children: t
|
|
19825
|
+
}) => /* @__PURE__ */ n.jsxs(Ts, { theme: P$[e], children: [
|
|
19826
|
+
/* @__PURE__ */ n.jsx(I$, {}),
|
|
19827
|
+
t
|
|
19828
|
+
] }), wL = ({
|
|
19829
|
+
children: e,
|
|
19830
|
+
theme: t,
|
|
19831
|
+
config: o = {}
|
|
19832
|
+
}) => {
|
|
19833
|
+
const {
|
|
19834
|
+
toast: r = {},
|
|
19835
|
+
tooltip: a = {}
|
|
19836
|
+
} = o;
|
|
19837
|
+
return /* @__PURE__ */ n.jsx(F$, { theme: t, children: /* @__PURE__ */ n.jsx(Zb, { ...r, children: /* @__PURE__ */ n.jsx(Gv, { ...a, children: e }) }) });
|
|
19838
|
+
}, kL = () => {
|
|
19839
|
+
const e = Ke(B4);
|
|
19840
|
+
if (!e)
|
|
19841
|
+
throw new Error("Context used outside of its Provider!");
|
|
19842
|
+
return e;
|
|
19819
19843
|
};
|
|
19820
19844
|
export {
|
|
19821
|
-
|
|
19845
|
+
D$ as Accordion,
|
|
19822
19846
|
Dn as Alert,
|
|
19823
|
-
|
|
19847
|
+
G$ as Avatar,
|
|
19824
19848
|
P9 as Badge,
|
|
19825
19849
|
Zi as Button,
|
|
19826
|
-
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
19850
|
+
K$ as ButtonGroup,
|
|
19851
|
+
Y$ as CardPrimary,
|
|
19852
|
+
q$ as CardSecondary,
|
|
19853
|
+
J$ as Checkbox,
|
|
19854
|
+
wL as ClickUIProvider,
|
|
19855
|
+
Q$ as CodeBlock,
|
|
19831
19856
|
it as ContextMenu,
|
|
19832
|
-
|
|
19857
|
+
N$ as DangerAlert,
|
|
19833
19858
|
Ve as Dropdown,
|
|
19834
19859
|
Cv as FileTabs,
|
|
19835
19860
|
qc as Flags,
|
|
19836
19861
|
w5 as HoverCard,
|
|
19837
19862
|
de as Icon,
|
|
19838
19863
|
yt as IconButton,
|
|
19839
|
-
|
|
19840
|
-
|
|
19864
|
+
B$ as InfoAlert,
|
|
19865
|
+
eL as InlineCodeBlock,
|
|
19841
19866
|
Ft as Label,
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
-
|
|
19867
|
+
oL as Link,
|
|
19868
|
+
rL as NumberField,
|
|
19869
|
+
aL as PasswordField,
|
|
19845
19870
|
P5 as Popover,
|
|
19846
19871
|
Bs as ProfileIcon,
|
|
19847
19872
|
Ip as RadioGroup,
|
|
19848
|
-
|
|
19849
|
-
|
|
19873
|
+
cL as SearchField,
|
|
19874
|
+
Jr as Select,
|
|
19850
19875
|
bg as Separator,
|
|
19851
|
-
|
|
19852
|
-
|
|
19853
|
-
|
|
19854
|
-
|
|
19876
|
+
uL as SidebarCollapsibleItem,
|
|
19877
|
+
pL as SidebarCollapsibleTitle,
|
|
19878
|
+
dL as SidebarNavigationItem,
|
|
19879
|
+
fL as SidebarNavigationTitle,
|
|
19855
19880
|
Ig as Spacer,
|
|
19856
|
-
|
|
19857
|
-
|
|
19858
|
-
|
|
19859
|
-
|
|
19881
|
+
hL as SplitButton,
|
|
19882
|
+
U$ as SuccessAlert,
|
|
19883
|
+
vL as Switch,
|
|
19884
|
+
t2 as Tabs,
|
|
19860
19885
|
Nn as Text,
|
|
19861
|
-
|
|
19862
|
-
kL as ThemeProvider,
|
|
19886
|
+
CL as TextField,
|
|
19863
19887
|
Di as Title,
|
|
19864
|
-
mL as ToastProvider,
|
|
19865
19888
|
H4 as Tooltip,
|
|
19866
|
-
|
|
19867
|
-
B$ as WarningAlert,
|
|
19889
|
+
W$ as WarningAlert,
|
|
19868
19890
|
P$ as themes,
|
|
19869
|
-
|
|
19891
|
+
kL as useToast
|
|
19870
19892
|
};
|