@altimateai/ui-components 0.0.69-beta.3 → 0.0.69-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button-42Dj_nRE.d.ts → Button-Bsgqi8kG.d.ts} +5 -12
- package/dist/CoachForm.js +4 -4
- package/dist/Stack.js +364 -362
- package/dist/Switch.js +1 -1
- package/dist/ToggleGroup.js +80 -70
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/dayjs.min.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/lineage/index.js +801 -795
- package/dist/redux-toolkit.modern.js +2 -12
- package/dist/shadcn/index.d.ts +28 -23
- package/dist/shadcn/index.js +1110 -1118
- package/dist/{types-C2UJ4TLI.d.ts → types-CPALoG7v.d.ts} +0 -2
- package/package.json +1 -1
- package/dist/IconEye.js +0 -11
package/dist/Stack.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as g, S as ys, d as xs } from "./index2.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import ve, { useLayoutEffect as ws, useEffect as Cs, forwardRef as H,
|
|
3
|
+
import ve, { useLayoutEffect as ws, useEffect as Cs, forwardRef as H, useState as Es, createElement as Qe } from "react";
|
|
4
4
|
import * as qn from "react-dom";
|
|
5
5
|
import Rs from "react-dom";
|
|
6
6
|
function Zn(e) {
|
|
@@ -2669,7 +2669,7 @@ function ir(e, t, n, { discrete: r }) {
|
|
|
2669
2669
|
const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
2670
2670
|
t && o.addEventListener(e, t, { once: !0 }), r ? ba(o, s) : o.dispatchEvent(s);
|
|
2671
2671
|
}
|
|
2672
|
-
var
|
|
2672
|
+
var qu = Ve, Zu = ar, be = globalThis != null && globalThis.document ? l.useLayoutEffect : () => {
|
|
2673
2673
|
}, Sa = l.useId || (() => {
|
|
2674
2674
|
}), Aa = 0;
|
|
2675
2675
|
function Pe(e) {
|
|
@@ -4363,7 +4363,7 @@ var zi = "VisuallyHidden", Tr = l.forwardRef(
|
|
|
4363
4363
|
)
|
|
4364
4364
|
);
|
|
4365
4365
|
Tr.displayName = zi;
|
|
4366
|
-
var Bi = Tr, [ft,
|
|
4366
|
+
var Bi = Tr, [ft, Qu] = ae("Tooltip", [
|
|
4367
4367
|
ut
|
|
4368
4368
|
]), pt = ut(), kr = "TooltipProvider", Hi = 700, _t = "tooltip.open", [Gi, nn] = ft(kr), Dr = (e) => {
|
|
4369
4369
|
const {
|
|
@@ -4673,7 +4673,7 @@ function ol(e) {
|
|
|
4673
4673
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
4674
4674
|
}
|
|
4675
4675
|
var sl = Dr, al = jr, il = Ir, ll = Mr, $r = _r;
|
|
4676
|
-
const
|
|
4676
|
+
const Ju = sl, cl = al, ul = il, Wr = l.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ g.jsx(ll, { children: /* @__PURE__ */ g.jsx(
|
|
4677
4677
|
$r,
|
|
4678
4678
|
{
|
|
4679
4679
|
ref: r,
|
|
@@ -4719,24 +4719,26 @@ const dl = ({
|
|
|
4719
4719
|
size: "default"
|
|
4720
4720
|
}
|
|
4721
4721
|
}
|
|
4722
|
-
), pl = (
|
|
4723
|
-
|
|
4724
|
-
i,
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4722
|
+
), pl = l.forwardRef(
|
|
4723
|
+
({ className: e, variant: t, size: n, asChild: r = !1, title: o, ...s }, a) => {
|
|
4724
|
+
const i = r ? sa : "button", c = /* @__PURE__ */ g.jsx(
|
|
4725
|
+
i,
|
|
4726
|
+
{
|
|
4727
|
+
className: M(fl({ variant: t, size: n, className: e })),
|
|
4728
|
+
ref: a,
|
|
4729
|
+
...s,
|
|
4730
|
+
"aria-label": s["aria-label"] || o
|
|
4731
|
+
}
|
|
4732
|
+
);
|
|
4733
|
+
return o ? /* @__PURE__ */ g.jsx(dl, { title: o, children: c }) : c;
|
|
4734
|
+
}
|
|
4735
|
+
);
|
|
4736
|
+
pl.displayName = "Button";
|
|
4735
4737
|
function Vr(e) {
|
|
4736
4738
|
const t = l.useRef({ value: e, previous: e });
|
|
4737
4739
|
return l.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
4738
4740
|
}
|
|
4739
|
-
var on = "Checkbox", [
|
|
4741
|
+
var on = "Checkbox", [ml, ed] = ae(on), [gl, hl] = ml(on), zr = l.forwardRef(
|
|
4740
4742
|
(e, t) => {
|
|
4741
4743
|
const {
|
|
4742
4744
|
__scopeCheckbox: n,
|
|
@@ -4760,7 +4762,7 @@ var on = "Checkbox", [hl, nd] = ae(on), [vl, bl] = hl(on), zr = l.forwardRef(
|
|
|
4760
4762
|
const E = () => x(C.current);
|
|
4761
4763
|
return w.addEventListener("reset", E), () => w.removeEventListener("reset", E);
|
|
4762
4764
|
}
|
|
4763
|
-
}, [h, x]), /* @__PURE__ */ g.jsxs(
|
|
4765
|
+
}, [h, x]), /* @__PURE__ */ g.jsxs(gl, { scope: n, state: y, disabled: i, children: [
|
|
4764
4766
|
/* @__PURE__ */ g.jsx(
|
|
4765
4767
|
$.button,
|
|
4766
4768
|
{
|
|
@@ -4783,7 +4785,7 @@ var on = "Checkbox", [hl, nd] = ae(on), [vl, bl] = hl(on), zr = l.forwardRef(
|
|
|
4783
4785
|
}
|
|
4784
4786
|
),
|
|
4785
4787
|
b && /* @__PURE__ */ g.jsx(
|
|
4786
|
-
|
|
4788
|
+
vl,
|
|
4787
4789
|
{
|
|
4788
4790
|
control: h,
|
|
4789
4791
|
bubbles: !p.current,
|
|
@@ -4803,7 +4805,7 @@ var on = "Checkbox", [hl, nd] = ae(on), [vl, bl] = hl(on), zr = l.forwardRef(
|
|
|
4803
4805
|
zr.displayName = on;
|
|
4804
4806
|
var Br = "CheckboxIndicator", Hr = l.forwardRef(
|
|
4805
4807
|
(e, t) => {
|
|
4806
|
-
const { __scopeCheckbox: n, forceMount: r, ...o } = e, s =
|
|
4808
|
+
const { __scopeCheckbox: n, forceMount: r, ...o } = e, s = hl(Br, n);
|
|
4807
4809
|
return /* @__PURE__ */ g.jsx(te, { present: r || de(s.state) || s.state === !0, children: /* @__PURE__ */ g.jsx(
|
|
4808
4810
|
$.span,
|
|
4809
4811
|
{
|
|
@@ -4817,7 +4819,7 @@ var Br = "CheckboxIndicator", Hr = l.forwardRef(
|
|
|
4817
4819
|
}
|
|
4818
4820
|
);
|
|
4819
4821
|
Hr.displayName = Br;
|
|
4820
|
-
var
|
|
4822
|
+
var vl = (e) => {
|
|
4821
4823
|
const { control: t, checked: n, bubbles: r = !0, defaultChecked: o, ...s } = e, a = l.useRef(null), i = Vr(n), c = Qt(t);
|
|
4822
4824
|
l.useEffect(() => {
|
|
4823
4825
|
const d = a.current, f = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(f, "checked").set;
|
|
@@ -4853,7 +4855,7 @@ function de(e) {
|
|
|
4853
4855
|
function Gr(e) {
|
|
4854
4856
|
return de(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
4855
4857
|
}
|
|
4856
|
-
var Ur = zr,
|
|
4858
|
+
var Ur = zr, bl = Hr;
|
|
4857
4859
|
const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4858
4860
|
Ur,
|
|
4859
4861
|
{
|
|
@@ -4864,7 +4866,7 @@ const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
4864
4866
|
),
|
|
4865
4867
|
...t,
|
|
4866
4868
|
children: /* @__PURE__ */ g.jsx(
|
|
4867
|
-
|
|
4869
|
+
bl,
|
|
4868
4870
|
{
|
|
4869
4871
|
className: M("al-flex al-items-center al-justify-center al-text-current"),
|
|
4870
4872
|
children: /* @__PURE__ */ g.jsx(
|
|
@@ -4888,7 +4890,7 @@ const Kr = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
4888
4890
|
));
|
|
4889
4891
|
Kr.displayName = Ur.displayName;
|
|
4890
4892
|
var Ft = l.forwardRef((e, t) => {
|
|
4891
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
4893
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(xl);
|
|
4892
4894
|
if (s) {
|
|
4893
4895
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
4894
4896
|
return /* @__PURE__ */ g.jsx($t, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -4899,9 +4901,9 @@ Ft.displayName = "Slot";
|
|
|
4899
4901
|
var $t = l.forwardRef((e, t) => {
|
|
4900
4902
|
const { children: n, ...r } = e;
|
|
4901
4903
|
if (l.isValidElement(n)) {
|
|
4902
|
-
const o =
|
|
4904
|
+
const o = Cl(n);
|
|
4903
4905
|
return l.cloneElement(n, {
|
|
4904
|
-
...
|
|
4906
|
+
...wl(r, n.props),
|
|
4905
4907
|
// @ts-ignore
|
|
4906
4908
|
ref: t ? De(t, o) : o
|
|
4907
4909
|
});
|
|
@@ -4909,11 +4911,11 @@ var $t = l.forwardRef((e, t) => {
|
|
|
4909
4911
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
4910
4912
|
});
|
|
4911
4913
|
$t.displayName = "SlotClone";
|
|
4912
|
-
var
|
|
4913
|
-
function
|
|
4914
|
-
return l.isValidElement(e) && e.type ===
|
|
4914
|
+
var yl = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
4915
|
+
function xl(e) {
|
|
4916
|
+
return l.isValidElement(e) && e.type === yl;
|
|
4915
4917
|
}
|
|
4916
|
-
function
|
|
4918
|
+
function wl(e, t) {
|
|
4917
4919
|
const n = { ...t };
|
|
4918
4920
|
for (const r in t) {
|
|
4919
4921
|
const o = e[r], s = t[r];
|
|
@@ -4923,12 +4925,12 @@ function El(e, t) {
|
|
|
4923
4925
|
}
|
|
4924
4926
|
return { ...e, ...n };
|
|
4925
4927
|
}
|
|
4926
|
-
function
|
|
4928
|
+
function Cl(e) {
|
|
4927
4929
|
var r, o;
|
|
4928
4930
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
4929
4931
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
4930
4932
|
}
|
|
4931
|
-
function
|
|
4933
|
+
function El(e) {
|
|
4932
4934
|
const t = e + "CollectionProvider", [n, r] = ae(t), [o, s] = n(
|
|
4933
4935
|
t,
|
|
4934
4936
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
@@ -4968,19 +4970,19 @@ function Pl(e) {
|
|
|
4968
4970
|
r
|
|
4969
4971
|
];
|
|
4970
4972
|
}
|
|
4971
|
-
var
|
|
4973
|
+
var Rl = l.createContext(void 0);
|
|
4972
4974
|
function Yr(e) {
|
|
4973
|
-
const t = l.useContext(
|
|
4975
|
+
const t = l.useContext(Rl);
|
|
4974
4976
|
return e || t || "ltr";
|
|
4975
4977
|
}
|
|
4976
|
-
var xt = "rovingFocusGroup.onEntryFocus",
|
|
4978
|
+
var xt = "rovingFocusGroup.onEntryFocus", Pl = { bubbles: !1, cancelable: !0 }, gt = "RovingFocusGroup", [Wt, Xr, Sl] = El(gt), [Al, qr] = ae(
|
|
4977
4979
|
gt,
|
|
4978
|
-
[
|
|
4979
|
-
), [
|
|
4980
|
-
(e, t) => /* @__PURE__ */ g.jsx(Wt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Wt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(
|
|
4980
|
+
[Sl]
|
|
4981
|
+
), [Nl, Ol] = Al(gt), Zr = l.forwardRef(
|
|
4982
|
+
(e, t) => /* @__PURE__ */ g.jsx(Wt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Wt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Tl, { ...e, ref: t }) }) })
|
|
4981
4983
|
);
|
|
4982
4984
|
Zr.displayName = gt;
|
|
4983
|
-
var
|
|
4985
|
+
var Tl = l.forwardRef((e, t) => {
|
|
4984
4986
|
const {
|
|
4985
4987
|
__scopeRovingFocusGroup: n,
|
|
4986
4988
|
orientation: r,
|
|
@@ -5002,7 +5004,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5002
5004
|
if (S)
|
|
5003
5005
|
return S.addEventListener(xt, C), () => S.removeEventListener(xt, C);
|
|
5004
5006
|
}, [C]), /* @__PURE__ */ g.jsx(
|
|
5005
|
-
|
|
5007
|
+
Nl,
|
|
5006
5008
|
{
|
|
5007
5009
|
scope: n,
|
|
5008
5010
|
orientation: r,
|
|
@@ -5036,7 +5038,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5036
5038
|
onFocus: k(e.onFocus, (S) => {
|
|
5037
5039
|
const I = !E.current;
|
|
5038
5040
|
if (S.target === S.currentTarget && I && !y) {
|
|
5039
|
-
const D = new CustomEvent(xt,
|
|
5041
|
+
const D = new CustomEvent(xt, Pl);
|
|
5040
5042
|
if (S.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
|
|
5041
5043
|
const F = w().filter((T) => T.focusable), A = F.find((T) => T.active), L = F.find((T) => T.id === p), B = [A, L, ...F].filter(
|
|
5042
5044
|
Boolean
|
|
@@ -5059,7 +5061,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5059
5061
|
active: o = !1,
|
|
5060
5062
|
tabStopId: s,
|
|
5061
5063
|
...a
|
|
5062
|
-
} = e, i = Pe(), c = s || i, u =
|
|
5064
|
+
} = e, i = Pe(), c = s || i, u = Ol(Qr, n), d = u.currentTabStopId === c, f = Xr(n), { onFocusableItemAdd: h, onFocusableItemRemove: m } = u;
|
|
5063
5065
|
return l.useEffect(() => {
|
|
5064
5066
|
if (r)
|
|
5065
5067
|
return h(), () => m();
|
|
@@ -5087,7 +5089,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5087
5089
|
return;
|
|
5088
5090
|
}
|
|
5089
5091
|
if (v.target !== v.currentTarget) return;
|
|
5090
|
-
const p =
|
|
5092
|
+
const p = jl(v, u.orientation, u.dir);
|
|
5091
5093
|
if (p !== void 0) {
|
|
5092
5094
|
if (v.metaKey || v.ctrlKey || v.altKey || v.shiftKey) return;
|
|
5093
5095
|
v.preventDefault();
|
|
@@ -5096,7 +5098,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5096
5098
|
else if (p === "prev" || p === "next") {
|
|
5097
5099
|
p === "prev" && y.reverse();
|
|
5098
5100
|
const x = y.indexOf(v.currentTarget);
|
|
5099
|
-
y = u.loop ?
|
|
5101
|
+
y = u.loop ? Il(y, x + 1) : y.slice(x + 1);
|
|
5100
5102
|
}
|
|
5101
5103
|
setTimeout(() => eo(y));
|
|
5102
5104
|
}
|
|
@@ -5108,7 +5110,7 @@ var Dl = l.forwardRef((e, t) => {
|
|
|
5108
5110
|
}
|
|
5109
5111
|
);
|
|
5110
5112
|
Jr.displayName = Qr;
|
|
5111
|
-
var
|
|
5113
|
+
var kl = {
|
|
5112
5114
|
ArrowLeft: "prev",
|
|
5113
5115
|
ArrowUp: "prev",
|
|
5114
5116
|
ArrowRight: "next",
|
|
@@ -5118,23 +5120,23 @@ var jl = {
|
|
|
5118
5120
|
PageDown: "last",
|
|
5119
5121
|
End: "last"
|
|
5120
5122
|
};
|
|
5121
|
-
function
|
|
5123
|
+
function Dl(e, t) {
|
|
5122
5124
|
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
5123
5125
|
}
|
|
5124
|
-
function
|
|
5125
|
-
const r =
|
|
5126
|
+
function jl(e, t, n) {
|
|
5127
|
+
const r = Dl(e.key, n);
|
|
5126
5128
|
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r)))
|
|
5127
|
-
return
|
|
5129
|
+
return kl[r];
|
|
5128
5130
|
}
|
|
5129
5131
|
function eo(e, t = !1) {
|
|
5130
5132
|
const n = document.activeElement;
|
|
5131
5133
|
for (const r of e)
|
|
5132
5134
|
if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
5133
5135
|
}
|
|
5134
|
-
function
|
|
5136
|
+
function Il(e, t) {
|
|
5135
5137
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
5136
5138
|
}
|
|
5137
|
-
var
|
|
5139
|
+
var Ml = Zr, _l = Jr, sn = "Radio", [Ll, to] = ae(sn), [Fl, $l] = Ll(sn), no = l.forwardRef(
|
|
5138
5140
|
(e, t) => {
|
|
5139
5141
|
const {
|
|
5140
5142
|
__scopeRadio: n,
|
|
@@ -5147,7 +5149,7 @@ var Ll = Zr, Fl = Jr, sn = "Radio", [$l, to] = ae(sn), [Wl, Vl] = $l(sn), no = l
|
|
|
5147
5149
|
form: u,
|
|
5148
5150
|
...d
|
|
5149
5151
|
} = e, [f, h] = l.useState(null), m = z(t, (b) => h(b)), v = l.useRef(!1), p = f ? u || !!f.closest("form") : !0;
|
|
5150
|
-
return /* @__PURE__ */ g.jsxs(
|
|
5152
|
+
return /* @__PURE__ */ g.jsxs(Fl, { scope: n, checked: o, disabled: a, children: [
|
|
5151
5153
|
/* @__PURE__ */ g.jsx(
|
|
5152
5154
|
$.button,
|
|
5153
5155
|
{
|
|
@@ -5166,7 +5168,7 @@ var Ll = Zr, Fl = Jr, sn = "Radio", [$l, to] = ae(sn), [Wl, Vl] = $l(sn), no = l
|
|
|
5166
5168
|
}
|
|
5167
5169
|
),
|
|
5168
5170
|
p && /* @__PURE__ */ g.jsx(
|
|
5169
|
-
|
|
5171
|
+
Wl,
|
|
5170
5172
|
{
|
|
5171
5173
|
control: f,
|
|
5172
5174
|
bubbles: !v.current,
|
|
@@ -5185,7 +5187,7 @@ var Ll = Zr, Fl = Jr, sn = "Radio", [$l, to] = ae(sn), [Wl, Vl] = $l(sn), no = l
|
|
|
5185
5187
|
no.displayName = sn;
|
|
5186
5188
|
var ro = "RadioIndicator", oo = l.forwardRef(
|
|
5187
5189
|
(e, t) => {
|
|
5188
|
-
const { __scopeRadio: n, forceMount: r, ...o } = e, s =
|
|
5190
|
+
const { __scopeRadio: n, forceMount: r, ...o } = e, s = $l(ro, n);
|
|
5189
5191
|
return /* @__PURE__ */ g.jsx(te, { present: r || s.checked, children: /* @__PURE__ */ g.jsx(
|
|
5190
5192
|
$.span,
|
|
5191
5193
|
{
|
|
@@ -5198,7 +5200,7 @@ var ro = "RadioIndicator", oo = l.forwardRef(
|
|
|
5198
5200
|
}
|
|
5199
5201
|
);
|
|
5200
5202
|
oo.displayName = ro;
|
|
5201
|
-
var
|
|
5203
|
+
var Wl = (e) => {
|
|
5202
5204
|
const { control: t, checked: n, bubbles: r = !0, ...o } = e, s = l.useRef(null), a = Vr(n), i = Qt(t);
|
|
5203
5205
|
return l.useEffect(() => {
|
|
5204
5206
|
const c = s.current, u = window.HTMLInputElement.prototype, f = Object.getOwnPropertyDescriptor(u, "checked").set;
|
|
@@ -5229,10 +5231,10 @@ var zl = (e) => {
|
|
|
5229
5231
|
function so(e) {
|
|
5230
5232
|
return e ? "checked" : "unchecked";
|
|
5231
5233
|
}
|
|
5232
|
-
var
|
|
5234
|
+
var Vl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup", [zl, td] = ae(an, [
|
|
5233
5235
|
qr,
|
|
5234
5236
|
to
|
|
5235
|
-
]), ao = qr(), io = to(), [
|
|
5237
|
+
]), ao = qr(), io = to(), [Bl, Hl] = zl(an), lo = l.forwardRef(
|
|
5236
5238
|
(e, t) => {
|
|
5237
5239
|
const {
|
|
5238
5240
|
__scopeRadioGroup: n,
|
|
@@ -5252,7 +5254,7 @@ var Bl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5252
5254
|
onChange: f
|
|
5253
5255
|
});
|
|
5254
5256
|
return /* @__PURE__ */ g.jsx(
|
|
5255
|
-
|
|
5257
|
+
Bl,
|
|
5256
5258
|
{
|
|
5257
5259
|
scope: n,
|
|
5258
5260
|
name: r,
|
|
@@ -5261,7 +5263,7 @@ var Bl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5261
5263
|
value: p,
|
|
5262
5264
|
onValueChange: b,
|
|
5263
5265
|
children: /* @__PURE__ */ g.jsx(
|
|
5264
|
-
|
|
5266
|
+
Ml,
|
|
5265
5267
|
{
|
|
5266
5268
|
asChild: !0,
|
|
5267
5269
|
...m,
|
|
@@ -5289,16 +5291,16 @@ var Bl = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], an = "RadioGroup",
|
|
|
5289
5291
|
lo.displayName = an;
|
|
5290
5292
|
var co = "RadioGroupItem", uo = l.forwardRef(
|
|
5291
5293
|
(e, t) => {
|
|
5292
|
-
const { __scopeRadioGroup: n, disabled: r, ...o } = e, s =
|
|
5294
|
+
const { __scopeRadioGroup: n, disabled: r, ...o } = e, s = Hl(co, n), a = s.disabled || r, i = ao(n), c = io(n), u = l.useRef(null), d = z(t, u), f = s.value === o.value, h = l.useRef(!1);
|
|
5293
5295
|
return l.useEffect(() => {
|
|
5294
5296
|
const m = (p) => {
|
|
5295
|
-
|
|
5297
|
+
Vl.includes(p.key) && (h.current = !0);
|
|
5296
5298
|
}, v = () => h.current = !1;
|
|
5297
5299
|
return document.addEventListener("keydown", m), document.addEventListener("keyup", v), () => {
|
|
5298
5300
|
document.removeEventListener("keydown", m), document.removeEventListener("keyup", v);
|
|
5299
5301
|
};
|
|
5300
5302
|
}, []), /* @__PURE__ */ g.jsx(
|
|
5301
|
-
|
|
5303
|
+
_l,
|
|
5302
5304
|
{
|
|
5303
5305
|
asChild: !0,
|
|
5304
5306
|
...i,
|
|
@@ -5329,16 +5331,16 @@ var co = "RadioGroupItem", uo = l.forwardRef(
|
|
|
5329
5331
|
}
|
|
5330
5332
|
);
|
|
5331
5333
|
uo.displayName = co;
|
|
5332
|
-
var
|
|
5334
|
+
var Gl = "RadioGroupIndicator", fo = l.forwardRef(
|
|
5333
5335
|
(e, t) => {
|
|
5334
5336
|
const { __scopeRadioGroup: n, ...r } = e, o = io(n);
|
|
5335
5337
|
return /* @__PURE__ */ g.jsx(oo, { ...o, ...r, ref: t });
|
|
5336
5338
|
}
|
|
5337
5339
|
);
|
|
5338
|
-
fo.displayName =
|
|
5339
|
-
var po = lo, mo = uo,
|
|
5340
|
-
const
|
|
5341
|
-
|
|
5340
|
+
fo.displayName = Gl;
|
|
5341
|
+
var po = lo, mo = uo, Ul = fo;
|
|
5342
|
+
const Kl = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(po, { className: M("al-grid al-gap-2", e), ...t, ref: n }));
|
|
5343
|
+
Kl.displayName = po.displayName;
|
|
5342
5344
|
const go = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
5343
5345
|
mo,
|
|
5344
5346
|
{
|
|
@@ -5348,11 +5350,11 @@ const go = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
5348
5350
|
e
|
|
5349
5351
|
),
|
|
5350
5352
|
...t,
|
|
5351
|
-
children: /* @__PURE__ */ g.jsx(
|
|
5353
|
+
children: /* @__PURE__ */ g.jsx(Ul, { className: "al-flex al-items-center al-justify-center", children: /* @__PURE__ */ g.jsx(ys, { className: "al-h-2.5 al-w-2.5 al-fill-current al-text-current" }) })
|
|
5352
5354
|
}
|
|
5353
5355
|
));
|
|
5354
5356
|
go.displayName = mo.displayName;
|
|
5355
|
-
const
|
|
5357
|
+
const Yl = l.forwardRef(
|
|
5356
5358
|
({ className: e, type: t, icon: n, iconPosition: r = "left", ...o }, s) => t === "checkbox" ? /* @__PURE__ */ g.jsx(
|
|
5357
5359
|
Kr,
|
|
5358
5360
|
{
|
|
@@ -5402,8 +5404,8 @@ const ql = l.forwardRef(
|
|
|
5402
5404
|
}
|
|
5403
5405
|
)
|
|
5404
5406
|
);
|
|
5405
|
-
|
|
5406
|
-
const
|
|
5407
|
+
Yl.displayName = "Input";
|
|
5408
|
+
const Xl = l.forwardRef(
|
|
5407
5409
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
5408
5410
|
"textarea",
|
|
5409
5411
|
{
|
|
@@ -5416,68 +5418,8 @@ const Zl = l.forwardRef(
|
|
|
5416
5418
|
}
|
|
5417
5419
|
)
|
|
5418
5420
|
);
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
5422
|
-
*
|
|
5423
|
-
* This source code is licensed under the MIT license.
|
|
5424
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
5425
|
-
*/
|
|
5426
|
-
var Ql = {
|
|
5427
|
-
outline: {
|
|
5428
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5429
|
-
width: 24,
|
|
5430
|
-
height: 24,
|
|
5431
|
-
viewBox: "0 0 24 24",
|
|
5432
|
-
fill: "none",
|
|
5433
|
-
stroke: "currentColor",
|
|
5434
|
-
strokeWidth: 2,
|
|
5435
|
-
strokeLinecap: "round",
|
|
5436
|
-
strokeLinejoin: "round"
|
|
5437
|
-
},
|
|
5438
|
-
filled: {
|
|
5439
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5440
|
-
width: 24,
|
|
5441
|
-
height: 24,
|
|
5442
|
-
viewBox: "0 0 24 24",
|
|
5443
|
-
fill: "currentColor",
|
|
5444
|
-
stroke: "none"
|
|
5445
|
-
}
|
|
5446
|
-
};
|
|
5447
|
-
/**
|
|
5448
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
5449
|
-
*
|
|
5450
|
-
* This source code is licensed under the MIT license.
|
|
5451
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
5452
|
-
*/
|
|
5453
|
-
const od = (e, t, n, r) => {
|
|
5454
|
-
const o = H(
|
|
5455
|
-
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => Qe(
|
|
5456
|
-
"svg",
|
|
5457
|
-
{
|
|
5458
|
-
ref: h,
|
|
5459
|
-
...Ql[e],
|
|
5460
|
-
width: a,
|
|
5461
|
-
height: a,
|
|
5462
|
-
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
5463
|
-
...e === "filled" ? {
|
|
5464
|
-
fill: s
|
|
5465
|
-
} : {
|
|
5466
|
-
strokeWidth: i,
|
|
5467
|
-
stroke: s
|
|
5468
|
-
},
|
|
5469
|
-
...f
|
|
5470
|
-
},
|
|
5471
|
-
[
|
|
5472
|
-
c && Qe("title", { key: "svg-title" }, c),
|
|
5473
|
-
...r.map(([m, v]) => Qe(m, v)),
|
|
5474
|
-
...Array.isArray(d) ? d : [d]
|
|
5475
|
-
]
|
|
5476
|
-
)
|
|
5477
|
-
);
|
|
5478
|
-
return o.displayName = `${n}`, o;
|
|
5479
|
-
};
|
|
5480
|
-
var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n = { bubbles: !1, cancelable: !0 }, Jl = "FocusScope", ln = l.forwardRef((e, t) => {
|
|
5421
|
+
Xl.displayName = "Textarea";
|
|
5422
|
+
var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n = { bubbles: !1, cancelable: !0 }, ql = "FocusScope", ln = l.forwardRef((e, t) => {
|
|
5481
5423
|
const {
|
|
5482
5424
|
loop: n = !1,
|
|
5483
5425
|
trapped: r = !1,
|
|
@@ -5520,7 +5462,7 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5520
5462
|
const p = document.activeElement;
|
|
5521
5463
|
if (!i.contains(p)) {
|
|
5522
5464
|
const y = new CustomEvent(wt, $n);
|
|
5523
|
-
i.addEventListener(wt, u), i.dispatchEvent(y), y.defaultPrevented || (
|
|
5465
|
+
i.addEventListener(wt, u), i.dispatchEvent(y), y.defaultPrevented || (Zl(nc(ho(i)), { select: !0 }), document.activeElement === p && ce(i));
|
|
5524
5466
|
}
|
|
5525
5467
|
return () => {
|
|
5526
5468
|
i.removeEventListener(wt, u), setTimeout(() => {
|
|
@@ -5535,7 +5477,7 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5535
5477
|
if (!n && !r || m.paused) return;
|
|
5536
5478
|
const b = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, y = document.activeElement;
|
|
5537
5479
|
if (b && y) {
|
|
5538
|
-
const x = p.currentTarget, [C, w] =
|
|
5480
|
+
const x = p.currentTarget, [C, w] = Ql(x);
|
|
5539
5481
|
C && w ? !p.shiftKey && y === w ? (p.preventDefault(), n && ce(C, { select: !0 })) : p.shiftKey && y === C && (p.preventDefault(), n && ce(w, { select: !0 })) : y === x && p.preventDefault();
|
|
5540
5482
|
}
|
|
5541
5483
|
},
|
|
@@ -5543,13 +5485,13 @@ var wt = "focusScope.autoFocusOnMount", Ct = "focusScope.autoFocusOnUnmount", $n
|
|
|
5543
5485
|
);
|
|
5544
5486
|
return /* @__PURE__ */ g.jsx($.div, { tabIndex: -1, ...a, ref: h, onKeyDown: v });
|
|
5545
5487
|
});
|
|
5546
|
-
ln.displayName =
|
|
5547
|
-
function
|
|
5488
|
+
ln.displayName = ql;
|
|
5489
|
+
function Zl(e, { select: t = !1 } = {}) {
|
|
5548
5490
|
const n = document.activeElement;
|
|
5549
5491
|
for (const r of e)
|
|
5550
5492
|
if (ce(r, { select: t }), document.activeElement !== n) return;
|
|
5551
5493
|
}
|
|
5552
|
-
function
|
|
5494
|
+
function Ql(e) {
|
|
5553
5495
|
const t = ho(e), n = Wn(t, e), r = Wn(t.reverse(), e);
|
|
5554
5496
|
return [n, r];
|
|
5555
5497
|
}
|
|
@@ -5565,9 +5507,9 @@ function ho(e) {
|
|
|
5565
5507
|
}
|
|
5566
5508
|
function Wn(e, t) {
|
|
5567
5509
|
for (const n of e)
|
|
5568
|
-
if (!
|
|
5510
|
+
if (!Jl(n, { upTo: t })) return n;
|
|
5569
5511
|
}
|
|
5570
|
-
function
|
|
5512
|
+
function Jl(e, { upTo: t }) {
|
|
5571
5513
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
5572
5514
|
for (; e; ) {
|
|
5573
5515
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -5576,17 +5518,17 @@ function nc(e, { upTo: t }) {
|
|
|
5576
5518
|
}
|
|
5577
5519
|
return !1;
|
|
5578
5520
|
}
|
|
5579
|
-
function
|
|
5521
|
+
function ec(e) {
|
|
5580
5522
|
return e instanceof HTMLInputElement && "select" in e;
|
|
5581
5523
|
}
|
|
5582
5524
|
function ce(e, { select: t = !1 } = {}) {
|
|
5583
5525
|
if (e && e.focus) {
|
|
5584
5526
|
const n = document.activeElement;
|
|
5585
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
5527
|
+
e.focus({ preventScroll: !0 }), e !== n && ec(e) && t && e.select();
|
|
5586
5528
|
}
|
|
5587
5529
|
}
|
|
5588
|
-
var Vn =
|
|
5589
|
-
function
|
|
5530
|
+
var Vn = tc();
|
|
5531
|
+
function tc() {
|
|
5590
5532
|
let e = [];
|
|
5591
5533
|
return {
|
|
5592
5534
|
add(t) {
|
|
@@ -5603,7 +5545,7 @@ function zn(e, t) {
|
|
|
5603
5545
|
const n = [...e], r = n.indexOf(t);
|
|
5604
5546
|
return r !== -1 && n.splice(r, 1), n;
|
|
5605
5547
|
}
|
|
5606
|
-
function
|
|
5548
|
+
function nc(e) {
|
|
5607
5549
|
return e.filter((t) => t.tagName !== "A");
|
|
5608
5550
|
}
|
|
5609
5551
|
var Et = 0;
|
|
@@ -5636,16 +5578,16 @@ function bo(e, t) {
|
|
|
5636
5578
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
5637
5579
|
return n;
|
|
5638
5580
|
}
|
|
5639
|
-
function
|
|
5581
|
+
function rc(e, t, n) {
|
|
5640
5582
|
if (n || arguments.length === 2) for (var r = 0, o = t.length, s; r < o; r++)
|
|
5641
5583
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
5642
5584
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
5643
5585
|
}
|
|
5644
|
-
var et = "right-scroll-bar-position", tt = "width-before-scroll-bar",
|
|
5586
|
+
var et = "right-scroll-bar-position", tt = "width-before-scroll-bar", oc = "with-scroll-bars-hidden", sc = "--removed-body-scroll-bar-size";
|
|
5645
5587
|
function Rt(e, t) {
|
|
5646
5588
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
5647
5589
|
}
|
|
5648
|
-
function
|
|
5590
|
+
function ac(e, t) {
|
|
5649
5591
|
var n = Es(function() {
|
|
5650
5592
|
return {
|
|
5651
5593
|
// value
|
|
@@ -5666,14 +5608,14 @@ function cc(e, t) {
|
|
|
5666
5608
|
})[0];
|
|
5667
5609
|
return n.callback = t, n.facade;
|
|
5668
5610
|
}
|
|
5669
|
-
var
|
|
5670
|
-
function
|
|
5671
|
-
var n =
|
|
5611
|
+
var ic = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Hn = /* @__PURE__ */ new WeakMap();
|
|
5612
|
+
function lc(e, t) {
|
|
5613
|
+
var n = ac(null, function(r) {
|
|
5672
5614
|
return e.forEach(function(o) {
|
|
5673
5615
|
return Rt(o, r);
|
|
5674
5616
|
});
|
|
5675
5617
|
});
|
|
5676
|
-
return
|
|
5618
|
+
return ic(function() {
|
|
5677
5619
|
var r = Hn.get(n);
|
|
5678
5620
|
if (r) {
|
|
5679
5621
|
var o = new Set(r), s = new Set(e), a = n.current;
|
|
@@ -5686,11 +5628,11 @@ function dc(e, t) {
|
|
|
5686
5628
|
Hn.set(n, e);
|
|
5687
5629
|
}, [e]), n;
|
|
5688
5630
|
}
|
|
5689
|
-
function
|
|
5631
|
+
function cc(e) {
|
|
5690
5632
|
return e;
|
|
5691
5633
|
}
|
|
5692
|
-
function
|
|
5693
|
-
t === void 0 && (t =
|
|
5634
|
+
function uc(e, t) {
|
|
5635
|
+
t === void 0 && (t = cc);
|
|
5694
5636
|
var n = [], r = !1, o = {
|
|
5695
5637
|
read: function() {
|
|
5696
5638
|
if (r)
|
|
@@ -5744,9 +5686,9 @@ function pc(e, t) {
|
|
|
5744
5686
|
};
|
|
5745
5687
|
return o;
|
|
5746
5688
|
}
|
|
5747
|
-
function
|
|
5689
|
+
function dc(e) {
|
|
5748
5690
|
e === void 0 && (e = {});
|
|
5749
|
-
var t =
|
|
5691
|
+
var t = uc(null);
|
|
5750
5692
|
return t.options = Q({ async: !0, ssr: !1 }, e), t;
|
|
5751
5693
|
}
|
|
5752
5694
|
var yo = function(e) {
|
|
@@ -5759,16 +5701,16 @@ var yo = function(e) {
|
|
|
5759
5701
|
return l.createElement(r, Q({}, n));
|
|
5760
5702
|
};
|
|
5761
5703
|
yo.isSideCarExport = !0;
|
|
5762
|
-
function
|
|
5704
|
+
function fc(e, t) {
|
|
5763
5705
|
return e.useMedium(t), yo;
|
|
5764
5706
|
}
|
|
5765
|
-
var xo =
|
|
5707
|
+
var xo = dc(), Pt = function() {
|
|
5766
5708
|
}, ht = l.forwardRef(function(e, t) {
|
|
5767
5709
|
var n = l.useRef(null), r = l.useState({
|
|
5768
5710
|
onScrollCapture: Pt,
|
|
5769
5711
|
onWheelCapture: Pt,
|
|
5770
5712
|
onTouchMoveCapture: Pt
|
|
5771
|
-
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, h = e.sideCar, m = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, y = b === void 0 ? "div" : b, x = e.gapMode, C = bo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = h, E =
|
|
5713
|
+
}), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, h = e.sideCar, m = e.noIsolation, v = e.inert, p = e.allowPinchZoom, b = e.as, y = b === void 0 ? "div" : b, x = e.gapMode, C = bo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), w = h, E = lc([n, t]), P = Q(Q({}, C), o);
|
|
5772
5714
|
return l.createElement(
|
|
5773
5715
|
l.Fragment,
|
|
5774
5716
|
null,
|
|
@@ -5785,37 +5727,37 @@ ht.classNames = {
|
|
|
5785
5727
|
fullWidth: tt,
|
|
5786
5728
|
zeroRight: et
|
|
5787
5729
|
};
|
|
5788
|
-
var
|
|
5730
|
+
var pc = function() {
|
|
5789
5731
|
if (typeof __webpack_nonce__ < "u")
|
|
5790
5732
|
return __webpack_nonce__;
|
|
5791
5733
|
};
|
|
5792
|
-
function
|
|
5734
|
+
function mc() {
|
|
5793
5735
|
if (!document)
|
|
5794
5736
|
return null;
|
|
5795
5737
|
var e = document.createElement("style");
|
|
5796
5738
|
e.type = "text/css";
|
|
5797
|
-
var t =
|
|
5739
|
+
var t = pc();
|
|
5798
5740
|
return t && e.setAttribute("nonce", t), e;
|
|
5799
5741
|
}
|
|
5800
|
-
function
|
|
5742
|
+
function gc(e, t) {
|
|
5801
5743
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
5802
5744
|
}
|
|
5803
|
-
function
|
|
5745
|
+
function hc(e) {
|
|
5804
5746
|
var t = document.head || document.getElementsByTagName("head")[0];
|
|
5805
5747
|
t.appendChild(e);
|
|
5806
5748
|
}
|
|
5807
|
-
var
|
|
5749
|
+
var vc = function() {
|
|
5808
5750
|
var e = 0, t = null;
|
|
5809
5751
|
return {
|
|
5810
5752
|
add: function(n) {
|
|
5811
|
-
e == 0 && (t =
|
|
5753
|
+
e == 0 && (t = mc()) && (gc(t, n), hc(t)), e++;
|
|
5812
5754
|
},
|
|
5813
5755
|
remove: function() {
|
|
5814
5756
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
5815
5757
|
}
|
|
5816
5758
|
};
|
|
5817
|
-
},
|
|
5818
|
-
var e =
|
|
5759
|
+
}, bc = function() {
|
|
5760
|
+
var e = vc();
|
|
5819
5761
|
return function(t, n) {
|
|
5820
5762
|
l.useEffect(function() {
|
|
5821
5763
|
return e.add(t), function() {
|
|
@@ -5824,35 +5766,35 @@ var xc = function() {
|
|
|
5824
5766
|
}, [t && n]);
|
|
5825
5767
|
};
|
|
5826
5768
|
}, wo = function() {
|
|
5827
|
-
var e =
|
|
5769
|
+
var e = bc(), t = function(n) {
|
|
5828
5770
|
var r = n.styles, o = n.dynamic;
|
|
5829
5771
|
return e(r, o), null;
|
|
5830
5772
|
};
|
|
5831
5773
|
return t;
|
|
5832
|
-
},
|
|
5774
|
+
}, yc = {
|
|
5833
5775
|
left: 0,
|
|
5834
5776
|
top: 0,
|
|
5835
5777
|
right: 0,
|
|
5836
5778
|
gap: 0
|
|
5837
5779
|
}, St = function(e) {
|
|
5838
5780
|
return parseInt(e || "", 10) || 0;
|
|
5839
|
-
},
|
|
5781
|
+
}, xc = function(e) {
|
|
5840
5782
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
5841
5783
|
return [St(n), St(r), St(o)];
|
|
5842
|
-
},
|
|
5784
|
+
}, wc = function(e) {
|
|
5843
5785
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
5844
|
-
return
|
|
5845
|
-
var t =
|
|
5786
|
+
return yc;
|
|
5787
|
+
var t = xc(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
5846
5788
|
return {
|
|
5847
5789
|
left: t[0],
|
|
5848
5790
|
top: t[1],
|
|
5849
5791
|
right: t[2],
|
|
5850
5792
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
5851
5793
|
};
|
|
5852
|
-
},
|
|
5794
|
+
}, Cc = wo(), Ae = "data-scroll-locked", Ec = function(e, t, n, r) {
|
|
5853
5795
|
var o = e.left, s = e.top, a = e.right, i = e.gap;
|
|
5854
5796
|
return n === void 0 && (n = "margin"), `
|
|
5855
|
-
.`.concat(
|
|
5797
|
+
.`.concat(oc, ` {
|
|
5856
5798
|
overflow: hidden `).concat(r, `;
|
|
5857
5799
|
padding-right: `).concat(i, "px ").concat(r, `;
|
|
5858
5800
|
}
|
|
@@ -5890,26 +5832,26 @@ var xc = function() {
|
|
|
5890
5832
|
}
|
|
5891
5833
|
|
|
5892
5834
|
body[`).concat(Ae, `] {
|
|
5893
|
-
`).concat(
|
|
5835
|
+
`).concat(sc, ": ").concat(i, `px;
|
|
5894
5836
|
}
|
|
5895
5837
|
`);
|
|
5896
5838
|
}, Gn = function() {
|
|
5897
5839
|
var e = parseInt(document.body.getAttribute(Ae) || "0", 10);
|
|
5898
5840
|
return isFinite(e) ? e : 0;
|
|
5899
|
-
},
|
|
5841
|
+
}, Rc = function() {
|
|
5900
5842
|
l.useEffect(function() {
|
|
5901
5843
|
return document.body.setAttribute(Ae, (Gn() + 1).toString()), function() {
|
|
5902
5844
|
var e = Gn() - 1;
|
|
5903
5845
|
e <= 0 ? document.body.removeAttribute(Ae) : document.body.setAttribute(Ae, e.toString());
|
|
5904
5846
|
};
|
|
5905
5847
|
}, []);
|
|
5906
|
-
},
|
|
5848
|
+
}, Pc = function(e) {
|
|
5907
5849
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
|
|
5908
|
-
|
|
5850
|
+
Rc();
|
|
5909
5851
|
var s = l.useMemo(function() {
|
|
5910
|
-
return
|
|
5852
|
+
return wc(o);
|
|
5911
5853
|
}, [o]);
|
|
5912
|
-
return l.createElement(
|
|
5854
|
+
return l.createElement(Cc, { styles: Ec(s, !t, o, n ? "" : "!important") });
|
|
5913
5855
|
}, Vt = !1;
|
|
5914
5856
|
if (typeof window < "u")
|
|
5915
5857
|
try {
|
|
@@ -5922,7 +5864,7 @@ if (typeof window < "u")
|
|
|
5922
5864
|
} catch {
|
|
5923
5865
|
Vt = !1;
|
|
5924
5866
|
}
|
|
5925
|
-
var we = Vt ? { passive: !1 } : !1,
|
|
5867
|
+
var we = Vt ? { passive: !1 } : !1, Sc = function(e) {
|
|
5926
5868
|
return e.tagName === "TEXTAREA";
|
|
5927
5869
|
}, Co = function(e, t) {
|
|
5928
5870
|
if (!(e instanceof Element))
|
|
@@ -5931,11 +5873,11 @@ var we = Vt ? { passive: !1 } : !1, Oc = function(e) {
|
|
|
5931
5873
|
return (
|
|
5932
5874
|
// not-not-scrollable
|
|
5933
5875
|
n[t] !== "hidden" && // contains scroll inside self
|
|
5934
|
-
!(n.overflowY === n.overflowX && !
|
|
5876
|
+
!(n.overflowY === n.overflowX && !Sc(e) && n[t] === "visible")
|
|
5935
5877
|
);
|
|
5936
|
-
},
|
|
5878
|
+
}, Ac = function(e) {
|
|
5937
5879
|
return Co(e, "overflowY");
|
|
5938
|
-
},
|
|
5880
|
+
}, Nc = function(e) {
|
|
5939
5881
|
return Co(e, "overflowX");
|
|
5940
5882
|
}, Un = function(e, t) {
|
|
5941
5883
|
var n = t.ownerDocument, r = t;
|
|
@@ -5950,14 +5892,14 @@ var we = Vt ? { passive: !1 } : !1, Oc = function(e) {
|
|
|
5950
5892
|
r = r.parentNode;
|
|
5951
5893
|
} while (r && r !== n.body);
|
|
5952
5894
|
return !1;
|
|
5953
|
-
},
|
|
5895
|
+
}, Oc = function(e) {
|
|
5954
5896
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
5955
5897
|
return [
|
|
5956
5898
|
t,
|
|
5957
5899
|
n,
|
|
5958
5900
|
r
|
|
5959
5901
|
];
|
|
5960
|
-
},
|
|
5902
|
+
}, Tc = function(e) {
|
|
5961
5903
|
var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
|
|
5962
5904
|
return [
|
|
5963
5905
|
t,
|
|
@@ -5965,13 +5907,13 @@ var we = Vt ? { passive: !1 } : !1, Oc = function(e) {
|
|
|
5965
5907
|
r
|
|
5966
5908
|
];
|
|
5967
5909
|
}, Eo = function(e, t) {
|
|
5968
|
-
return e === "v" ?
|
|
5910
|
+
return e === "v" ? Ac(t) : Nc(t);
|
|
5969
5911
|
}, Ro = function(e, t) {
|
|
5970
|
-
return e === "v" ?
|
|
5971
|
-
},
|
|
5912
|
+
return e === "v" ? Oc(t) : Tc(t);
|
|
5913
|
+
}, kc = function(e, t) {
|
|
5972
5914
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
5973
|
-
},
|
|
5974
|
-
var s =
|
|
5915
|
+
}, Dc = function(e, t, n, r, o) {
|
|
5916
|
+
var s = kc(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), u = !1, d = a > 0, f = 0, h = 0;
|
|
5975
5917
|
do {
|
|
5976
5918
|
var m = Ro(e, i), v = m[0], p = m[1], b = m[2], y = p - b - s * v;
|
|
5977
5919
|
(v || y) && Eo(e, i) && (f += y, h += v), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
|
|
@@ -5987,22 +5929,22 @@ var we = Vt ? { passive: !1 } : !1, Oc = function(e) {
|
|
|
5987
5929
|
return [e.deltaX, e.deltaY];
|
|
5988
5930
|
}, Yn = function(e) {
|
|
5989
5931
|
return e && "current" in e ? e.current : e;
|
|
5990
|
-
},
|
|
5932
|
+
}, jc = function(e, t) {
|
|
5991
5933
|
return e[0] === t[0] && e[1] === t[1];
|
|
5992
|
-
},
|
|
5934
|
+
}, Ic = function(e) {
|
|
5993
5935
|
return `
|
|
5994
5936
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
5995
5937
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
5996
5938
|
`);
|
|
5997
|
-
},
|
|
5998
|
-
function
|
|
5999
|
-
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(
|
|
5939
|
+
}, Mc = 0, Ce = [];
|
|
5940
|
+
function _c(e) {
|
|
5941
|
+
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(Mc++)[0], s = l.useState(wo)[0], a = l.useRef(e);
|
|
6000
5942
|
l.useEffect(function() {
|
|
6001
5943
|
a.current = e;
|
|
6002
5944
|
}, [e]), l.useEffect(function() {
|
|
6003
5945
|
if (e.inert) {
|
|
6004
5946
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
6005
|
-
var p =
|
|
5947
|
+
var p = rc([e.lockRef.current], (e.shards || []).map(Yn), !0).filter(Boolean);
|
|
6006
5948
|
return p.forEach(function(b) {
|
|
6007
5949
|
return b.classList.add("allow-interactivity-".concat(o));
|
|
6008
5950
|
}), function() {
|
|
@@ -6026,12 +5968,12 @@ function $c(e) {
|
|
|
6026
5968
|
if (!r.current && "changedTouches" in p && (C || w) && (r.current = E), !E)
|
|
6027
5969
|
return !0;
|
|
6028
5970
|
var I = r.current || E;
|
|
6029
|
-
return
|
|
5971
|
+
return Dc(I, b, p, I === "h" ? C : w, !0);
|
|
6030
5972
|
}, []), c = l.useCallback(function(p) {
|
|
6031
5973
|
var b = p;
|
|
6032
5974
|
if (!(!Ce.length || Ce[Ce.length - 1] !== s)) {
|
|
6033
5975
|
var y = "deltaY" in b ? Kn(b) : Xe(b), x = t.current.filter(function(E) {
|
|
6034
|
-
return E.name === b.type && (E.target === b.target || b.target === E.shadowParent) &&
|
|
5976
|
+
return E.name === b.type && (E.target === b.target || b.target === E.shadowParent) && jc(E.delta, y);
|
|
6035
5977
|
})[0];
|
|
6036
5978
|
if (x && x.should) {
|
|
6037
5979
|
b.cancelable && b.preventDefault();
|
|
@@ -6045,7 +5987,7 @@ function $c(e) {
|
|
|
6045
5987
|
}
|
|
6046
5988
|
}
|
|
6047
5989
|
}, []), u = l.useCallback(function(p, b, y, x) {
|
|
6048
|
-
var C = { name: p, delta: b, target: y, should: x, shadowParent:
|
|
5990
|
+
var C = { name: p, delta: b, target: y, should: x, shadowParent: Lc(y) };
|
|
6049
5991
|
t.current.push(C), setTimeout(function() {
|
|
6050
5992
|
t.current = t.current.filter(function(w) {
|
|
6051
5993
|
return w !== C;
|
|
@@ -6073,28 +6015,28 @@ function $c(e) {
|
|
|
6073
6015
|
return l.createElement(
|
|
6074
6016
|
l.Fragment,
|
|
6075
6017
|
null,
|
|
6076
|
-
v ? l.createElement(s, { styles:
|
|
6077
|
-
m ? l.createElement(
|
|
6018
|
+
v ? l.createElement(s, { styles: Ic(o) }) : null,
|
|
6019
|
+
m ? l.createElement(Pc, { gapMode: e.gapMode }) : null
|
|
6078
6020
|
);
|
|
6079
6021
|
}
|
|
6080
|
-
function
|
|
6022
|
+
function Lc(e) {
|
|
6081
6023
|
for (var t = null; e !== null; )
|
|
6082
6024
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
6083
6025
|
return t;
|
|
6084
6026
|
}
|
|
6085
|
-
const
|
|
6027
|
+
const Fc = fc(xo, _c);
|
|
6086
6028
|
var cn = l.forwardRef(function(e, t) {
|
|
6087
|
-
return l.createElement(ht, Q({}, e, { ref: t, sideCar:
|
|
6029
|
+
return l.createElement(ht, Q({}, e, { ref: t, sideCar: Fc }));
|
|
6088
6030
|
});
|
|
6089
6031
|
cn.classNames = ht.classNames;
|
|
6090
|
-
var
|
|
6032
|
+
var $c = function(e) {
|
|
6091
6033
|
if (typeof document > "u")
|
|
6092
6034
|
return null;
|
|
6093
6035
|
var t = Array.isArray(e) ? e[0] : e;
|
|
6094
6036
|
return t.ownerDocument.body;
|
|
6095
6037
|
}, Ee = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Ze = {}, At = 0, Po = function(e) {
|
|
6096
6038
|
return e && (e.host || Po(e.parentNode));
|
|
6097
|
-
},
|
|
6039
|
+
}, Wc = function(e, t) {
|
|
6098
6040
|
return t.map(function(n) {
|
|
6099
6041
|
if (e.contains(n))
|
|
6100
6042
|
return n;
|
|
@@ -6103,8 +6045,8 @@ var zc = function(e) {
|
|
|
6103
6045
|
}).filter(function(n) {
|
|
6104
6046
|
return !!n;
|
|
6105
6047
|
});
|
|
6106
|
-
},
|
|
6107
|
-
var o =
|
|
6048
|
+
}, Vc = function(e, t, n, r) {
|
|
6049
|
+
var o = Wc(t, Array.isArray(e) ? e : [e]);
|
|
6108
6050
|
Ze[n] || (Ze[n] = /* @__PURE__ */ new WeakMap());
|
|
6109
6051
|
var s = Ze[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(o), u = function(f) {
|
|
6110
6052
|
!f || i.has(f) || (i.add(f), u(f.parentNode));
|
|
@@ -6131,12 +6073,12 @@ var zc = function(e) {
|
|
|
6131
6073
|
};
|
|
6132
6074
|
}, So = function(e, t, n) {
|
|
6133
6075
|
n === void 0 && (n = "data-aria-hidden");
|
|
6134
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), o =
|
|
6135
|
-
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))),
|
|
6076
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), o = $c(e);
|
|
6077
|
+
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Vc(r, o, n, "aria-hidden")) : function() {
|
|
6136
6078
|
return null;
|
|
6137
6079
|
};
|
|
6138
6080
|
}, Ao = l.forwardRef((e, t) => {
|
|
6139
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6081
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Bc);
|
|
6140
6082
|
if (s) {
|
|
6141
6083
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
6142
6084
|
return /* @__PURE__ */ g.jsx(zt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -6147,9 +6089,9 @@ Ao.displayName = "Slot";
|
|
|
6147
6089
|
var zt = l.forwardRef((e, t) => {
|
|
6148
6090
|
const { children: n, ...r } = e;
|
|
6149
6091
|
if (l.isValidElement(n)) {
|
|
6150
|
-
const o =
|
|
6092
|
+
const o = Gc(n);
|
|
6151
6093
|
return l.cloneElement(n, {
|
|
6152
|
-
...
|
|
6094
|
+
...Hc(r, n.props),
|
|
6153
6095
|
// @ts-ignore
|
|
6154
6096
|
ref: t ? De(t, o) : o
|
|
6155
6097
|
});
|
|
@@ -6157,11 +6099,11 @@ var zt = l.forwardRef((e, t) => {
|
|
|
6157
6099
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
6158
6100
|
});
|
|
6159
6101
|
zt.displayName = "SlotClone";
|
|
6160
|
-
var
|
|
6161
|
-
function
|
|
6162
|
-
return l.isValidElement(e) && e.type ===
|
|
6102
|
+
var zc = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6103
|
+
function Bc(e) {
|
|
6104
|
+
return l.isValidElement(e) && e.type === zc;
|
|
6163
6105
|
}
|
|
6164
|
-
function
|
|
6106
|
+
function Hc(e, t) {
|
|
6165
6107
|
const n = { ...t };
|
|
6166
6108
|
for (const r in t) {
|
|
6167
6109
|
const o = e[r], s = t[r];
|
|
@@ -6171,12 +6113,12 @@ function Kc(e, t) {
|
|
|
6171
6113
|
}
|
|
6172
6114
|
return { ...e, ...n };
|
|
6173
6115
|
}
|
|
6174
|
-
function
|
|
6116
|
+
function Gc(e) {
|
|
6175
6117
|
var r, o;
|
|
6176
6118
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6177
6119
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6178
6120
|
}
|
|
6179
|
-
var un = "Dialog", [No,
|
|
6121
|
+
var un = "Dialog", [No, nd] = ae(un), [Uc, Z] = No(un), Oo = (e) => {
|
|
6180
6122
|
const {
|
|
6181
6123
|
__scopeDialog: t,
|
|
6182
6124
|
children: n,
|
|
@@ -6190,7 +6132,7 @@ var un = "Dialog", [No, sd] = ae(un), [Xc, Z] = No(un), Oo = (e) => {
|
|
|
6190
6132
|
onChange: s
|
|
6191
6133
|
});
|
|
6192
6134
|
return /* @__PURE__ */ g.jsx(
|
|
6193
|
-
|
|
6135
|
+
Uc,
|
|
6194
6136
|
{
|
|
6195
6137
|
scope: t,
|
|
6196
6138
|
triggerRef: i,
|
|
@@ -6226,21 +6168,21 @@ var To = "DialogTrigger", ko = l.forwardRef(
|
|
|
6226
6168
|
}
|
|
6227
6169
|
);
|
|
6228
6170
|
ko.displayName = To;
|
|
6229
|
-
var dn = "DialogPortal", [
|
|
6171
|
+
var dn = "DialogPortal", [Kc, Do] = No(dn, {
|
|
6230
6172
|
forceMount: void 0
|
|
6231
6173
|
}), jo = (e) => {
|
|
6232
6174
|
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Z(dn, t);
|
|
6233
|
-
return /* @__PURE__ */ g.jsx(
|
|
6175
|
+
return /* @__PURE__ */ g.jsx(Kc, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ g.jsx(te, { present: n || s.open, children: /* @__PURE__ */ g.jsx(dt, { asChild: !0, container: o, children: a }) })) });
|
|
6234
6176
|
};
|
|
6235
6177
|
jo.displayName = dn;
|
|
6236
6178
|
var at = "DialogOverlay", Io = l.forwardRef(
|
|
6237
6179
|
(e, t) => {
|
|
6238
6180
|
const n = Do(at, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(at, e.__scopeDialog);
|
|
6239
|
-
return s.modal ? /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: /* @__PURE__ */ g.jsx(
|
|
6181
|
+
return s.modal ? /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: /* @__PURE__ */ g.jsx(Yc, { ...o, ref: t }) }) : null;
|
|
6240
6182
|
}
|
|
6241
6183
|
);
|
|
6242
6184
|
Io.displayName = at;
|
|
6243
|
-
var
|
|
6185
|
+
var Yc = l.forwardRef(
|
|
6244
6186
|
(e, t) => {
|
|
6245
6187
|
const { __scopeDialog: n, ...r } = e, o = Z(at, n);
|
|
6246
6188
|
return (
|
|
@@ -6260,11 +6202,11 @@ var Zc = l.forwardRef(
|
|
|
6260
6202
|
), xe = "DialogContent", Mo = l.forwardRef(
|
|
6261
6203
|
(e, t) => {
|
|
6262
6204
|
const n = Do(xe, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(xe, e.__scopeDialog);
|
|
6263
|
-
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(
|
|
6205
|
+
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(Xc, { ...o, ref: t }) : /* @__PURE__ */ g.jsx(qc, { ...o, ref: t }) });
|
|
6264
6206
|
}
|
|
6265
6207
|
);
|
|
6266
6208
|
Mo.displayName = xe;
|
|
6267
|
-
var
|
|
6209
|
+
var Xc = l.forwardRef(
|
|
6268
6210
|
(e, t) => {
|
|
6269
6211
|
const n = Z(xe, e.__scopeDialog), r = l.useRef(null), o = z(t, n.contentRef, r);
|
|
6270
6212
|
return l.useEffect(() => {
|
|
@@ -6292,7 +6234,7 @@ var Qc = l.forwardRef(
|
|
|
6292
6234
|
}
|
|
6293
6235
|
);
|
|
6294
6236
|
}
|
|
6295
|
-
),
|
|
6237
|
+
), qc = l.forwardRef(
|
|
6296
6238
|
(e, t) => {
|
|
6297
6239
|
const n = Z(xe, e.__scopeDialog), r = l.useRef(!1), o = l.useRef(!1);
|
|
6298
6240
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6343,8 +6285,8 @@ var Qc = l.forwardRef(
|
|
|
6343
6285
|
}
|
|
6344
6286
|
),
|
|
6345
6287
|
/* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
6346
|
-
/* @__PURE__ */ g.jsx(
|
|
6347
|
-
/* @__PURE__ */ g.jsx(
|
|
6288
|
+
/* @__PURE__ */ g.jsx(Zc, { titleId: i.titleId }),
|
|
6289
|
+
/* @__PURE__ */ g.jsx(Jc, { contentRef: c, descriptionId: i.descriptionId })
|
|
6348
6290
|
] })
|
|
6349
6291
|
] });
|
|
6350
6292
|
}
|
|
@@ -6380,11 +6322,11 @@ Vo.displayName = Wo;
|
|
|
6380
6322
|
function pn(e) {
|
|
6381
6323
|
return e ? "open" : "closed";
|
|
6382
6324
|
}
|
|
6383
|
-
var zo = "DialogTitleWarning", [
|
|
6325
|
+
var zo = "DialogTitleWarning", [rd, Bo] = da(zo, {
|
|
6384
6326
|
contentName: xe,
|
|
6385
6327
|
titleName: fn,
|
|
6386
6328
|
docsSlug: "dialog"
|
|
6387
|
-
}),
|
|
6329
|
+
}), Zc = ({ titleId: e }) => {
|
|
6388
6330
|
const t = Bo(zo), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
6389
6331
|
|
|
6390
6332
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
@@ -6393,20 +6335,80 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
6393
6335
|
return l.useEffect(() => {
|
|
6394
6336
|
e && (document.getElementById(e) || console.error(n));
|
|
6395
6337
|
}, [n, e]), null;
|
|
6396
|
-
},
|
|
6397
|
-
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bo(
|
|
6338
|
+
}, Qc = "DialogDescriptionWarning", Jc = ({ contentRef: e, descriptionId: t }) => {
|
|
6339
|
+
const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bo(Qc).contentName}}.`;
|
|
6398
6340
|
return l.useEffect(() => {
|
|
6399
6341
|
var s;
|
|
6400
6342
|
const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
|
|
6401
6343
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
6402
6344
|
}, [r, e, t]), null;
|
|
6403
|
-
},
|
|
6345
|
+
}, eu = Oo, tu = ko, nu = jo, Ho = Io, Go = Mo, Uo = Lo, Ko = $o, Yo = Vo;
|
|
6346
|
+
/**
|
|
6347
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6348
|
+
*
|
|
6349
|
+
* This source code is licensed under the MIT license.
|
|
6350
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6351
|
+
*/
|
|
6352
|
+
var ru = {
|
|
6353
|
+
outline: {
|
|
6354
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6355
|
+
width: 24,
|
|
6356
|
+
height: 24,
|
|
6357
|
+
viewBox: "0 0 24 24",
|
|
6358
|
+
fill: "none",
|
|
6359
|
+
stroke: "currentColor",
|
|
6360
|
+
strokeWidth: 2,
|
|
6361
|
+
strokeLinecap: "round",
|
|
6362
|
+
strokeLinejoin: "round"
|
|
6363
|
+
},
|
|
6364
|
+
filled: {
|
|
6365
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6366
|
+
width: 24,
|
|
6367
|
+
height: 24,
|
|
6368
|
+
viewBox: "0 0 24 24",
|
|
6369
|
+
fill: "currentColor",
|
|
6370
|
+
stroke: "none"
|
|
6371
|
+
}
|
|
6372
|
+
};
|
|
6373
|
+
/**
|
|
6374
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6375
|
+
*
|
|
6376
|
+
* This source code is licensed under the MIT license.
|
|
6377
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6378
|
+
*/
|
|
6379
|
+
const od = (e, t, n, r) => {
|
|
6380
|
+
const o = H(
|
|
6381
|
+
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => Qe(
|
|
6382
|
+
"svg",
|
|
6383
|
+
{
|
|
6384
|
+
ref: h,
|
|
6385
|
+
...ru[e],
|
|
6386
|
+
width: a,
|
|
6387
|
+
height: a,
|
|
6388
|
+
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
6389
|
+
...e === "filled" ? {
|
|
6390
|
+
fill: s
|
|
6391
|
+
} : {
|
|
6392
|
+
strokeWidth: i,
|
|
6393
|
+
stroke: s
|
|
6394
|
+
},
|
|
6395
|
+
...f
|
|
6396
|
+
},
|
|
6397
|
+
[
|
|
6398
|
+
c && Qe("title", { key: "svg-title" }, c),
|
|
6399
|
+
...r.map(([m, v]) => Qe(m, v)),
|
|
6400
|
+
...Array.isArray(d) ? d : [d]
|
|
6401
|
+
]
|
|
6402
|
+
)
|
|
6403
|
+
);
|
|
6404
|
+
return o.displayName = `${n}`, o;
|
|
6405
|
+
};
|
|
6404
6406
|
function Xn(e, t) {
|
|
6405
6407
|
if (typeof e == "function")
|
|
6406
6408
|
return e(t);
|
|
6407
6409
|
e != null && (e.current = t);
|
|
6408
6410
|
}
|
|
6409
|
-
function
|
|
6411
|
+
function ou(...e) {
|
|
6410
6412
|
return (t) => {
|
|
6411
6413
|
let n = !1;
|
|
6412
6414
|
const r = e.map((o) => {
|
|
@@ -6422,13 +6424,13 @@ function au(...e) {
|
|
|
6422
6424
|
};
|
|
6423
6425
|
};
|
|
6424
6426
|
}
|
|
6425
|
-
function
|
|
6426
|
-
return l.useCallback(
|
|
6427
|
+
function su(...e) {
|
|
6428
|
+
return l.useCallback(ou(...e), e);
|
|
6427
6429
|
}
|
|
6428
6430
|
// @__NO_SIDE_EFFECTS__
|
|
6429
|
-
function
|
|
6430
|
-
const t = /* @__PURE__ */
|
|
6431
|
-
const { children: s, ...a } = r, i = l.Children.toArray(s), c = i.find(
|
|
6431
|
+
function au(e) {
|
|
6432
|
+
const t = /* @__PURE__ */ iu(e), n = l.forwardRef((r, o) => {
|
|
6433
|
+
const { children: s, ...a } = r, i = l.Children.toArray(s), c = i.find(cu);
|
|
6432
6434
|
if (c) {
|
|
6433
6435
|
const u = c.props.children, d = i.map((f) => f === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : f);
|
|
6434
6436
|
return /* @__PURE__ */ g.jsx(t, { ...a, ref: o, children: l.isValidElement(u) ? l.cloneElement(u, void 0, d) : null });
|
|
@@ -6438,22 +6440,22 @@ function lu(e) {
|
|
|
6438
6440
|
return n.displayName = `${e}.Slot`, n;
|
|
6439
6441
|
}
|
|
6440
6442
|
// @__NO_SIDE_EFFECTS__
|
|
6441
|
-
function
|
|
6443
|
+
function iu(e) {
|
|
6442
6444
|
const t = l.forwardRef((n, r) => {
|
|
6443
|
-
const { children: o, ...s } = n, a = l.isValidElement(o) ?
|
|
6445
|
+
const { children: o, ...s } = n, a = l.isValidElement(o) ? du(o) : void 0, i = su(a, r);
|
|
6444
6446
|
if (l.isValidElement(o)) {
|
|
6445
|
-
const c =
|
|
6447
|
+
const c = uu(s, o.props);
|
|
6446
6448
|
return o.type !== l.Fragment && (c.ref = i), l.cloneElement(o, c);
|
|
6447
6449
|
}
|
|
6448
6450
|
return l.Children.count(o) > 1 ? l.Children.only(null) : null;
|
|
6449
6451
|
});
|
|
6450
6452
|
return t.displayName = `${e}.SlotClone`, t;
|
|
6451
6453
|
}
|
|
6452
|
-
var
|
|
6453
|
-
function
|
|
6454
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
6454
|
+
var lu = Symbol("radix.slottable");
|
|
6455
|
+
function cu(e) {
|
|
6456
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === lu;
|
|
6455
6457
|
}
|
|
6456
|
-
function
|
|
6458
|
+
function uu(e, t) {
|
|
6457
6459
|
const n = { ...t };
|
|
6458
6460
|
for (const r in t) {
|
|
6459
6461
|
const o = e[r], s = t[r];
|
|
@@ -6464,12 +6466,12 @@ function fu(e, t) {
|
|
|
6464
6466
|
}
|
|
6465
6467
|
return { ...e, ...n };
|
|
6466
6468
|
}
|
|
6467
|
-
function
|
|
6469
|
+
function du(e) {
|
|
6468
6470
|
var r, o;
|
|
6469
6471
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6470
6472
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6471
6473
|
}
|
|
6472
|
-
var
|
|
6474
|
+
var fu = [
|
|
6473
6475
|
"a",
|
|
6474
6476
|
"button",
|
|
6475
6477
|
"div",
|
|
@@ -6487,14 +6489,14 @@ var mu = [
|
|
|
6487
6489
|
"span",
|
|
6488
6490
|
"svg",
|
|
6489
6491
|
"ul"
|
|
6490
|
-
],
|
|
6491
|
-
const n = /* @__PURE__ */
|
|
6492
|
+
], pu = fu.reduce((e, t) => {
|
|
6493
|
+
const n = /* @__PURE__ */ au(`Primitive.${t}`), r = l.forwardRef((o, s) => {
|
|
6492
6494
|
const { asChild: a, ...i } = o, c = a ? n : t;
|
|
6493
6495
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(c, { ...i, ref: s });
|
|
6494
6496
|
});
|
|
6495
6497
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
6496
|
-
}, {}),
|
|
6497
|
-
|
|
6498
|
+
}, {}), mu = "Label", Xo = l.forwardRef((e, t) => /* @__PURE__ */ g.jsx(
|
|
6499
|
+
pu.label,
|
|
6498
6500
|
{
|
|
6499
6501
|
...e,
|
|
6500
6502
|
ref: t,
|
|
@@ -6504,13 +6506,13 @@ var mu = [
|
|
|
6504
6506
|
}
|
|
6505
6507
|
}
|
|
6506
6508
|
));
|
|
6507
|
-
Xo.displayName =
|
|
6509
|
+
Xo.displayName = mu;
|
|
6508
6510
|
var qo = Xo;
|
|
6509
|
-
const
|
|
6511
|
+
const gu = Gt(
|
|
6510
6512
|
"al-text-sm al-font-medium al-leading-none peer-disabled:al-cursor-not-allowed peer-disabled:al-opacity-70"
|
|
6511
|
-
),
|
|
6512
|
-
|
|
6513
|
-
const
|
|
6513
|
+
), hu = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(qo, { ref: n, className: M(gu(), e), ...t }));
|
|
6514
|
+
hu.displayName = qo.displayName;
|
|
6515
|
+
const vu = H(
|
|
6514
6516
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6515
6517
|
"div",
|
|
6516
6518
|
{
|
|
@@ -6523,8 +6525,8 @@ const yu = H(
|
|
|
6523
6525
|
}
|
|
6524
6526
|
)
|
|
6525
6527
|
);
|
|
6526
|
-
|
|
6527
|
-
const
|
|
6528
|
+
vu.displayName = "Card";
|
|
6529
|
+
const bu = H(
|
|
6528
6530
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6529
6531
|
"div",
|
|
6530
6532
|
{
|
|
@@ -6534,8 +6536,8 @@ const xu = H(
|
|
|
6534
6536
|
}
|
|
6535
6537
|
)
|
|
6536
6538
|
);
|
|
6537
|
-
|
|
6538
|
-
const
|
|
6539
|
+
bu.displayName = "CardHeader";
|
|
6540
|
+
const yu = H(
|
|
6539
6541
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6540
6542
|
"div",
|
|
6541
6543
|
{
|
|
@@ -6545,20 +6547,20 @@ const wu = H(
|
|
|
6545
6547
|
}
|
|
6546
6548
|
)
|
|
6547
6549
|
);
|
|
6548
|
-
|
|
6549
|
-
const
|
|
6550
|
+
yu.displayName = "CardTitle";
|
|
6551
|
+
const xu = H(
|
|
6550
6552
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-text-sm al-text-muted-foreground", e), ...t })
|
|
6551
6553
|
);
|
|
6552
|
-
|
|
6553
|
-
const
|
|
6554
|
+
xu.displayName = "CardDescription";
|
|
6555
|
+
const wu = H(
|
|
6554
6556
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-p-6 al-pt-0", e), ...t })
|
|
6555
6557
|
);
|
|
6556
|
-
|
|
6557
|
-
const
|
|
6558
|
+
wu.displayName = "CardContent";
|
|
6559
|
+
const Cu = H(
|
|
6558
6560
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-flex al-items-center al-p-6 al-pt-0", e), ...t })
|
|
6559
6561
|
);
|
|
6560
|
-
|
|
6561
|
-
const
|
|
6562
|
+
Cu.displayName = "CardFooter";
|
|
6563
|
+
const sd = eu, ad = tu, Eu = nu, id = Yo, Zo = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6562
6564
|
Ho,
|
|
6563
6565
|
{
|
|
6564
6566
|
ref: n,
|
|
@@ -6570,7 +6572,7 @@ const id = ru, ld = ou, Pu = su, cd = Yo, Zo = H(({ className: e, ...t }, n) =>
|
|
|
6570
6572
|
}
|
|
6571
6573
|
));
|
|
6572
6574
|
Zo.displayName = Ho.displayName;
|
|
6573
|
-
const
|
|
6575
|
+
const Ru = H(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(Eu, { children: [
|
|
6574
6576
|
/* @__PURE__ */ g.jsx(Zo, {}),
|
|
6575
6577
|
/* @__PURE__ */ g.jsxs(
|
|
6576
6578
|
Go,
|
|
@@ -6591,16 +6593,16 @@ const Su = H(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(
|
|
|
6591
6593
|
}
|
|
6592
6594
|
)
|
|
6593
6595
|
] }));
|
|
6594
|
-
|
|
6595
|
-
const
|
|
6596
|
+
Ru.displayName = Go.displayName;
|
|
6597
|
+
const Pu = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6596
6598
|
"div",
|
|
6597
6599
|
{
|
|
6598
6600
|
className: M("al-flex al-flex-col al-space-y-1.5 al-text-center sm:al-text-left", e),
|
|
6599
6601
|
...t
|
|
6600
6602
|
}
|
|
6601
6603
|
);
|
|
6602
|
-
|
|
6603
|
-
const
|
|
6604
|
+
Pu.displayName = "DialogHeader";
|
|
6605
|
+
const Su = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6604
6606
|
"div",
|
|
6605
6607
|
{
|
|
6606
6608
|
className: M(
|
|
@@ -6610,8 +6612,8 @@ const Nu = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
|
6610
6612
|
...t
|
|
6611
6613
|
}
|
|
6612
6614
|
);
|
|
6613
|
-
|
|
6614
|
-
const
|
|
6615
|
+
Su.displayName = "DialogFooter";
|
|
6616
|
+
const Au = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6615
6617
|
Uo,
|
|
6616
6618
|
{
|
|
6617
6619
|
ref: n,
|
|
@@ -6619,8 +6621,8 @@ const Ou = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6619
6621
|
...t
|
|
6620
6622
|
}
|
|
6621
6623
|
));
|
|
6622
|
-
|
|
6623
|
-
const
|
|
6624
|
+
Au.displayName = Uo.displayName;
|
|
6625
|
+
const Nu = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6624
6626
|
Ko,
|
|
6625
6627
|
{
|
|
6626
6628
|
ref: n,
|
|
@@ -6628,9 +6630,9 @@ const Tu = H(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6628
6630
|
...t
|
|
6629
6631
|
}
|
|
6630
6632
|
));
|
|
6631
|
-
|
|
6633
|
+
Nu.displayName = Ko.displayName;
|
|
6632
6634
|
var Qo = l.forwardRef((e, t) => {
|
|
6633
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6635
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Tu);
|
|
6634
6636
|
if (s) {
|
|
6635
6637
|
const a = s.props.children, i = o.map((c) => c === s ? l.Children.count(a) > 1 ? l.Children.only(null) : l.isValidElement(a) ? a.props.children : null : c);
|
|
6636
6638
|
return /* @__PURE__ */ g.jsx(Bt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -6641,9 +6643,9 @@ Qo.displayName = "Slot";
|
|
|
6641
6643
|
var Bt = l.forwardRef((e, t) => {
|
|
6642
6644
|
const { children: n, ...r } = e;
|
|
6643
6645
|
if (l.isValidElement(n)) {
|
|
6644
|
-
const o =
|
|
6646
|
+
const o = Du(n);
|
|
6645
6647
|
return l.cloneElement(n, {
|
|
6646
|
-
...
|
|
6648
|
+
...ku(r, n.props),
|
|
6647
6649
|
// @ts-ignore
|
|
6648
6650
|
ref: t ? De(t, o) : o
|
|
6649
6651
|
});
|
|
@@ -6651,11 +6653,11 @@ var Bt = l.forwardRef((e, t) => {
|
|
|
6651
6653
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
6652
6654
|
});
|
|
6653
6655
|
Bt.displayName = "SlotClone";
|
|
6654
|
-
var
|
|
6655
|
-
function
|
|
6656
|
-
return l.isValidElement(e) && e.type ===
|
|
6656
|
+
var Ou = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6657
|
+
function Tu(e) {
|
|
6658
|
+
return l.isValidElement(e) && e.type === Ou;
|
|
6657
6659
|
}
|
|
6658
|
-
function
|
|
6660
|
+
function ku(e, t) {
|
|
6659
6661
|
const n = { ...t };
|
|
6660
6662
|
for (const r in t) {
|
|
6661
6663
|
const o = e[r], s = t[r];
|
|
@@ -6665,14 +6667,14 @@ function ju(e, t) {
|
|
|
6665
6667
|
}
|
|
6666
6668
|
return { ...e, ...n };
|
|
6667
6669
|
}
|
|
6668
|
-
function
|
|
6670
|
+
function Du(e) {
|
|
6669
6671
|
var r, o;
|
|
6670
6672
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6671
6673
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6672
6674
|
}
|
|
6673
|
-
var mn = "Popover", [Jo,
|
|
6675
|
+
var mn = "Popover", [Jo, ld] = ae(mn, [
|
|
6674
6676
|
ut
|
|
6675
|
-
]), He = ut(), [
|
|
6677
|
+
]), He = ut(), [ju, he] = Jo(mn), es = (e) => {
|
|
6676
6678
|
const {
|
|
6677
6679
|
__scopePopover: t,
|
|
6678
6680
|
children: n,
|
|
@@ -6686,7 +6688,7 @@ var mn = "Popover", [Jo, ud] = ae(mn, [
|
|
|
6686
6688
|
onChange: s
|
|
6687
6689
|
});
|
|
6688
6690
|
return /* @__PURE__ */ g.jsx(Sr, { ...i, children: /* @__PURE__ */ g.jsx(
|
|
6689
|
-
|
|
6691
|
+
ju,
|
|
6690
6692
|
{
|
|
6691
6693
|
scope: t,
|
|
6692
6694
|
contentId: Pe(),
|
|
@@ -6703,13 +6705,13 @@ var mn = "Popover", [Jo, ud] = ae(mn, [
|
|
|
6703
6705
|
) });
|
|
6704
6706
|
};
|
|
6705
6707
|
es.displayName = mn;
|
|
6706
|
-
var ts = "PopoverAnchor",
|
|
6708
|
+
var ts = "PopoverAnchor", Iu = l.forwardRef(
|
|
6707
6709
|
(e, t) => {
|
|
6708
6710
|
const { __scopePopover: n, ...r } = e, o = he(ts, n), s = He(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: i } = o;
|
|
6709
6711
|
return l.useEffect(() => (a(), () => i()), [a, i]), /* @__PURE__ */ g.jsx(tn, { ...s, ...r, ref: t });
|
|
6710
6712
|
}
|
|
6711
6713
|
);
|
|
6712
|
-
|
|
6714
|
+
Iu.displayName = ts;
|
|
6713
6715
|
var ns = "PopoverTrigger", rs = l.forwardRef(
|
|
6714
6716
|
(e, t) => {
|
|
6715
6717
|
const { __scopePopover: n, ...r } = e, o = he(ns, n), s = He(n), a = z(t, o.triggerRef), i = /* @__PURE__ */ g.jsx(
|
|
@@ -6729,21 +6731,21 @@ var ns = "PopoverTrigger", rs = l.forwardRef(
|
|
|
6729
6731
|
}
|
|
6730
6732
|
);
|
|
6731
6733
|
rs.displayName = ns;
|
|
6732
|
-
var gn = "PopoverPortal", [
|
|
6734
|
+
var gn = "PopoverPortal", [Mu, _u] = Jo(gn, {
|
|
6733
6735
|
forceMount: void 0
|
|
6734
6736
|
}), os = (e) => {
|
|
6735
6737
|
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = he(gn, t);
|
|
6736
|
-
return /* @__PURE__ */ g.jsx(
|
|
6738
|
+
return /* @__PURE__ */ g.jsx(Mu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(te, { present: n || s.open, children: /* @__PURE__ */ g.jsx(dt, { asChild: !0, container: o, children: r }) }) });
|
|
6737
6739
|
};
|
|
6738
6740
|
os.displayName = gn;
|
|
6739
6741
|
var Te = "PopoverContent", ss = l.forwardRef(
|
|
6740
6742
|
(e, t) => {
|
|
6741
|
-
const n =
|
|
6742
|
-
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(
|
|
6743
|
+
const n = _u(Te, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, s = he(Te, e.__scopePopover);
|
|
6744
|
+
return /* @__PURE__ */ g.jsx(te, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(Lu, { ...o, ref: t }) : /* @__PURE__ */ g.jsx(Fu, { ...o, ref: t }) });
|
|
6743
6745
|
}
|
|
6744
6746
|
);
|
|
6745
6747
|
ss.displayName = Te;
|
|
6746
|
-
var
|
|
6748
|
+
var Lu = l.forwardRef(
|
|
6747
6749
|
(e, t) => {
|
|
6748
6750
|
const n = he(Te, e.__scopePopover), r = l.useRef(null), o = z(t, r), s = l.useRef(!1);
|
|
6749
6751
|
return l.useEffect(() => {
|
|
@@ -6776,7 +6778,7 @@ var $u = l.forwardRef(
|
|
|
6776
6778
|
}
|
|
6777
6779
|
) });
|
|
6778
6780
|
}
|
|
6779
|
-
),
|
|
6781
|
+
), Fu = l.forwardRef(
|
|
6780
6782
|
(e, t) => {
|
|
6781
6783
|
const n = he(Te, e.__scopePopover), r = l.useRef(!1), o = l.useRef(!1);
|
|
6782
6784
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6855,7 +6857,7 @@ var $u = l.forwardRef(
|
|
|
6855
6857
|
}
|
|
6856
6858
|
);
|
|
6857
6859
|
}
|
|
6858
|
-
), is = "PopoverClose",
|
|
6860
|
+
), is = "PopoverClose", $u = l.forwardRef(
|
|
6859
6861
|
(e, t) => {
|
|
6860
6862
|
const { __scopePopover: n, ...r } = e, o = he(is, n);
|
|
6861
6863
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6869,19 +6871,19 @@ var $u = l.forwardRef(
|
|
|
6869
6871
|
);
|
|
6870
6872
|
}
|
|
6871
6873
|
);
|
|
6872
|
-
|
|
6873
|
-
var
|
|
6874
|
+
$u.displayName = is;
|
|
6875
|
+
var Wu = "PopoverArrow", Vu = l.forwardRef(
|
|
6874
6876
|
(e, t) => {
|
|
6875
6877
|
const { __scopePopover: n, ...r } = e, o = He(n);
|
|
6876
6878
|
return /* @__PURE__ */ g.jsx(Nr, { ...o, ...r, ref: t });
|
|
6877
6879
|
}
|
|
6878
6880
|
);
|
|
6879
|
-
|
|
6881
|
+
Vu.displayName = Wu;
|
|
6880
6882
|
function ls(e) {
|
|
6881
6883
|
return e ? "open" : "closed";
|
|
6882
6884
|
}
|
|
6883
|
-
var
|
|
6884
|
-
const
|
|
6885
|
+
var zu = es, Bu = rs, Hu = os, cs = ss;
|
|
6886
|
+
const cd = zu, ud = Bu, Gu = H(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ g.jsx(Hu, { children: /* @__PURE__ */ g.jsx(
|
|
6885
6887
|
cs,
|
|
6886
6888
|
{
|
|
6887
6889
|
ref: o,
|
|
@@ -6894,7 +6896,7 @@ const dd = Hu, fd = Gu, Ku = H(({ className: e, align: t = "center", sideOffset:
|
|
|
6894
6896
|
...r
|
|
6895
6897
|
}
|
|
6896
6898
|
) }));
|
|
6897
|
-
|
|
6899
|
+
Gu.displayName = cs.displayName;
|
|
6898
6900
|
const ue = Gt("", {
|
|
6899
6901
|
variants: {
|
|
6900
6902
|
variant: {
|
|
@@ -6923,7 +6925,7 @@ const ue = Gt("", {
|
|
|
6923
6925
|
xl: "al-text-xl"
|
|
6924
6926
|
}
|
|
6925
6927
|
}
|
|
6926
|
-
}),
|
|
6928
|
+
}), dd = () => ({
|
|
6927
6929
|
h1: ue({ variant: "h1", weight: "semibold", size: "xl" }),
|
|
6928
6930
|
h2: ue({ variant: "h2", weight: "semibold", size: "lg" }),
|
|
6929
6931
|
h3: ue({ variant: "h3", weight: "semibold", size: "md" }),
|
|
@@ -6937,7 +6939,7 @@ const ue = Gt("", {
|
|
|
6937
6939
|
orderedList: "al-list-decimal al-ml-4 al-mb-4",
|
|
6938
6940
|
blockquote: "al-mt-6 al-border-l-2 al-pl-6 al-italic",
|
|
6939
6941
|
code: "al-rounded al-p-1 al-font-mono al-text-sm al-font-semibold"
|
|
6940
|
-
}),
|
|
6942
|
+
}), Uu = {
|
|
6941
6943
|
h1: "h1",
|
|
6942
6944
|
h2: "h2",
|
|
6943
6945
|
h3: "h3",
|
|
@@ -6945,7 +6947,7 @@ const ue = Gt("", {
|
|
|
6945
6947
|
subheading: "h5",
|
|
6946
6948
|
body: "p",
|
|
6947
6949
|
caption: "span"
|
|
6948
|
-
},
|
|
6950
|
+
}, fd = ({
|
|
6949
6951
|
variant: e = "body",
|
|
6950
6952
|
children: t,
|
|
6951
6953
|
className: n,
|
|
@@ -6953,9 +6955,9 @@ const ue = Gt("", {
|
|
|
6953
6955
|
size: o,
|
|
6954
6956
|
role: s
|
|
6955
6957
|
}) => {
|
|
6956
|
-
const a =
|
|
6958
|
+
const a = Uu[e];
|
|
6957
6959
|
return /* @__PURE__ */ g.jsx(a, { className: M(ue({ variant: e, weight: r, size: o }), n), role: s, children: t });
|
|
6958
|
-
},
|
|
6960
|
+
}, pd = H(function({
|
|
6959
6961
|
children: t,
|
|
6960
6962
|
wrap: n = !1,
|
|
6961
6963
|
justify: r,
|
|
@@ -7035,77 +7037,77 @@ const ue = Gt("", {
|
|
|
7035
7037
|
);
|
|
7036
7038
|
});
|
|
7037
7039
|
export {
|
|
7038
|
-
|
|
7040
|
+
Gu as $,
|
|
7039
7041
|
tn as A,
|
|
7040
|
-
|
|
7042
|
+
pl as B,
|
|
7041
7043
|
Yo as C,
|
|
7042
7044
|
Ko as D,
|
|
7043
7045
|
cn as E,
|
|
7044
7046
|
ln as F,
|
|
7045
7047
|
ba as G,
|
|
7046
7048
|
Yr as H,
|
|
7047
|
-
|
|
7049
|
+
Yl as I,
|
|
7048
7050
|
Sr as J,
|
|
7049
7051
|
dt as K,
|
|
7050
7052
|
Pe as L,
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
+
sd as M,
|
|
7054
|
+
Ru as N,
|
|
7053
7055
|
Ho as O,
|
|
7054
7056
|
$ as P,
|
|
7055
7057
|
be as Q,
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7058
|
+
eu as R,
|
|
7059
|
+
nd as S,
|
|
7060
|
+
Xl as T,
|
|
7059
7061
|
fl as U,
|
|
7060
7062
|
Tr as V,
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
+
rd as W,
|
|
7064
|
+
pd as X,
|
|
7063
7065
|
dl as Y,
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7066
|
+
cd as Z,
|
|
7067
|
+
ud as _,
|
|
7068
|
+
Me as a,
|
|
7069
|
+
fd as a0,
|
|
7070
|
+
hu as a1,
|
|
7069
7071
|
sa as a2,
|
|
7070
7072
|
oa as a3,
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7073
|
+
vu as a4,
|
|
7074
|
+
wu as a5,
|
|
7075
|
+
yu as a6,
|
|
7076
|
+
bu as a7,
|
|
7075
7077
|
Kr as a8,
|
|
7076
|
-
|
|
7078
|
+
Eu as a9,
|
|
7077
7079
|
Zo as aa,
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7080
|
+
Zu as ab,
|
|
7081
|
+
qu as ac,
|
|
7082
|
+
Ju as ad,
|
|
7081
7083
|
cl as ae,
|
|
7082
7084
|
ul as af,
|
|
7083
7085
|
Wr as ag,
|
|
7084
|
-
|
|
7086
|
+
Kl as ah,
|
|
7085
7087
|
go as ai,
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7088
|
+
Cu as aj,
|
|
7089
|
+
xu as ak,
|
|
7090
|
+
$u as al,
|
|
7091
|
+
id as am,
|
|
7092
|
+
ad as an,
|
|
7093
|
+
Pu as ao,
|
|
7094
|
+
Su as ap,
|
|
7095
|
+
Au as aq,
|
|
7096
|
+
Nu as ar,
|
|
7097
|
+
dd as as,
|
|
7098
|
+
k as b,
|
|
7099
|
+
ae as c,
|
|
7100
|
+
Vr as d,
|
|
7101
|
+
Qt as e,
|
|
7102
|
+
M as f,
|
|
7103
|
+
Gt as g,
|
|
7104
|
+
od as h,
|
|
7105
|
+
tu as i,
|
|
7106
|
+
nu as j,
|
|
7105
7107
|
Go as k,
|
|
7106
7108
|
Uo as l,
|
|
7107
7109
|
De as m,
|
|
7108
|
-
|
|
7110
|
+
El as n,
|
|
7109
7111
|
ut as o,
|
|
7110
7112
|
qr as p,
|
|
7111
7113
|
te as q,
|
|
@@ -7113,9 +7115,9 @@ export {
|
|
|
7113
7115
|
vo as s,
|
|
7114
7116
|
Ve as t,
|
|
7115
7117
|
z as u,
|
|
7116
|
-
|
|
7118
|
+
Ml as v,
|
|
7117
7119
|
Ar as w,
|
|
7118
|
-
|
|
7120
|
+
_l as x,
|
|
7119
7121
|
re as y,
|
|
7120
7122
|
Nr as z
|
|
7121
7123
|
};
|