@altimateai/ui-components 0.0.49 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CoachForm.js +2 -2
- package/dist/Stack.js +317 -316
- package/dist/TagsInput.js +2615 -2469
- package/dist/assets/icons/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index2.js +6 -6
- package/dist/lineage/index.js +2 -2
- package/dist/main.js +146 -146
- package/dist/redux-toolkit.modern.js +1 -1
- package/dist/shadcn/index.d.ts +16 -9
- package/dist/shadcn/index.js +3 -3
- package/dist/storybook/Combobox.stories.tsx +738 -86
- package/package.json +1 -1
package/dist/Stack.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as g, S as ys,
|
|
1
|
+
import { j as g, S as ys, e as xs } from "./index2.js";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import ve, { forwardRef as G, useState as ws,
|
|
3
|
+
import ve, { forwardRef as G, useState as ws, createElement as ht, useLayoutEffect as Cs, useEffect as Es } from "react";
|
|
4
4
|
import * as Xn from "react-dom";
|
|
5
5
|
import Rs from "react-dom";
|
|
6
6
|
function qn(e) {
|
|
@@ -4430,7 +4430,68 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
4430
4430
|
const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
|
|
4431
4431
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
4432
4432
|
}, [r, e, t]), null;
|
|
4433
|
-
}, xl = Xr, wl = Zr, Cl = Jr, uo = eo, fo = to, po = ro, mo = so, go = io
|
|
4433
|
+
}, xl = Xr, wl = Zr, Cl = Jr, uo = eo, fo = to, po = ro, mo = so, go = io;
|
|
4434
|
+
/**
|
|
4435
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
4436
|
+
*
|
|
4437
|
+
* This source code is licensed under the MIT license.
|
|
4438
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4439
|
+
*/
|
|
4440
|
+
var El = {
|
|
4441
|
+
outline: {
|
|
4442
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4443
|
+
width: 24,
|
|
4444
|
+
height: 24,
|
|
4445
|
+
viewBox: "0 0 24 24",
|
|
4446
|
+
fill: "none",
|
|
4447
|
+
stroke: "currentColor",
|
|
4448
|
+
strokeWidth: 2,
|
|
4449
|
+
strokeLinecap: "round",
|
|
4450
|
+
strokeLinejoin: "round"
|
|
4451
|
+
},
|
|
4452
|
+
filled: {
|
|
4453
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4454
|
+
width: 24,
|
|
4455
|
+
height: 24,
|
|
4456
|
+
viewBox: "0 0 24 24",
|
|
4457
|
+
fill: "currentColor",
|
|
4458
|
+
stroke: "none"
|
|
4459
|
+
}
|
|
4460
|
+
};
|
|
4461
|
+
/**
|
|
4462
|
+
* @license @tabler/icons-react v3.34.1 - MIT
|
|
4463
|
+
*
|
|
4464
|
+
* This source code is licensed under the MIT license.
|
|
4465
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4466
|
+
*/
|
|
4467
|
+
const Ku = (e, t, n, r) => {
|
|
4468
|
+
const o = G(
|
|
4469
|
+
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => ht(
|
|
4470
|
+
"svg",
|
|
4471
|
+
{
|
|
4472
|
+
ref: h,
|
|
4473
|
+
...El[e],
|
|
4474
|
+
width: a,
|
|
4475
|
+
height: a,
|
|
4476
|
+
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
4477
|
+
...e === "filled" ? {
|
|
4478
|
+
fill: s
|
|
4479
|
+
} : {
|
|
4480
|
+
strokeWidth: i,
|
|
4481
|
+
stroke: s
|
|
4482
|
+
},
|
|
4483
|
+
...f
|
|
4484
|
+
},
|
|
4485
|
+
[
|
|
4486
|
+
c && ht("title", { key: "svg-title" }, c),
|
|
4487
|
+
...r.map(([m, v]) => ht(m, v)),
|
|
4488
|
+
...Array.isArray(d) ? d : [d]
|
|
4489
|
+
]
|
|
4490
|
+
)
|
|
4491
|
+
);
|
|
4492
|
+
return o.displayName = `${n}`, o;
|
|
4493
|
+
};
|
|
4494
|
+
var Rl = [
|
|
4434
4495
|
"a",
|
|
4435
4496
|
"button",
|
|
4436
4497
|
"div",
|
|
@@ -4448,14 +4509,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
4448
4509
|
"span",
|
|
4449
4510
|
"svg",
|
|
4450
4511
|
"ul"
|
|
4451
|
-
],
|
|
4512
|
+
], Pl = Rl.reduce((e, t) => {
|
|
4452
4513
|
const n = /* @__PURE__ */ rr(`Primitive.${t}`), r = l.forwardRef((o, s) => {
|
|
4453
4514
|
const { asChild: a, ...i } = o, c = a ? n : t;
|
|
4454
4515
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(c, { ...i, ref: s });
|
|
4455
4516
|
});
|
|
4456
4517
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
4457
|
-
}, {}),
|
|
4458
|
-
|
|
4518
|
+
}, {}), Sl = "Label", ho = l.forwardRef((e, t) => /* @__PURE__ */ g.jsx(
|
|
4519
|
+
Pl.label,
|
|
4459
4520
|
{
|
|
4460
4521
|
...e,
|
|
4461
4522
|
ref: t,
|
|
@@ -4465,13 +4526,13 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
4465
4526
|
}
|
|
4466
4527
|
}
|
|
4467
4528
|
));
|
|
4468
|
-
ho.displayName =
|
|
4529
|
+
ho.displayName = Sl;
|
|
4469
4530
|
var vo = ho;
|
|
4470
|
-
const
|
|
4531
|
+
const Al = Ht(
|
|
4471
4532
|
"al-text-sm al-font-medium al-leading-none peer-disabled:al-cursor-not-allowed peer-disabled:al-opacity-70"
|
|
4472
|
-
),
|
|
4473
|
-
|
|
4474
|
-
const
|
|
4533
|
+
), Nl = l.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(vo, { ref: n, className: I(Al(), e), ...t }));
|
|
4534
|
+
Nl.displayName = vo.displayName;
|
|
4535
|
+
const Ol = G(
|
|
4475
4536
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4476
4537
|
"div",
|
|
4477
4538
|
{
|
|
@@ -4484,8 +4545,8 @@ const Nl = G(
|
|
|
4484
4545
|
}
|
|
4485
4546
|
)
|
|
4486
4547
|
);
|
|
4487
|
-
|
|
4488
|
-
const
|
|
4548
|
+
Ol.displayName = "Card";
|
|
4549
|
+
const Tl = G(
|
|
4489
4550
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4490
4551
|
"div",
|
|
4491
4552
|
{
|
|
@@ -4495,8 +4556,8 @@ const Ol = G(
|
|
|
4495
4556
|
}
|
|
4496
4557
|
)
|
|
4497
4558
|
);
|
|
4498
|
-
|
|
4499
|
-
const
|
|
4559
|
+
Tl.displayName = "CardHeader";
|
|
4560
|
+
const kl = G(
|
|
4500
4561
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4501
4562
|
"div",
|
|
4502
4563
|
{
|
|
@@ -4506,20 +4567,20 @@ const Tl = G(
|
|
|
4506
4567
|
}
|
|
4507
4568
|
)
|
|
4508
4569
|
);
|
|
4509
|
-
|
|
4510
|
-
const
|
|
4570
|
+
kl.displayName = "CardTitle";
|
|
4571
|
+
const Dl = G(
|
|
4511
4572
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: I("al-text-sm al-text-muted-foreground", e), ...t })
|
|
4512
4573
|
);
|
|
4513
|
-
|
|
4514
|
-
const
|
|
4574
|
+
Dl.displayName = "CardDescription";
|
|
4575
|
+
const jl = G(
|
|
4515
4576
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: I("al-p-6 al-pt-0", e), ...t })
|
|
4516
4577
|
);
|
|
4517
|
-
|
|
4518
|
-
const
|
|
4578
|
+
jl.displayName = "CardContent";
|
|
4579
|
+
const Ml = G(
|
|
4519
4580
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: I("al-flex al-items-center al-p-6 al-pt-0", e), ...t })
|
|
4520
4581
|
);
|
|
4521
|
-
|
|
4522
|
-
const
|
|
4582
|
+
Ml.displayName = "CardFooter";
|
|
4583
|
+
const Il = l.forwardRef(
|
|
4523
4584
|
({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
4524
4585
|
"textarea",
|
|
4525
4586
|
{
|
|
@@ -4532,16 +4593,16 @@ const Ml = l.forwardRef(
|
|
|
4532
4593
|
}
|
|
4533
4594
|
)
|
|
4534
4595
|
);
|
|
4535
|
-
|
|
4536
|
-
const
|
|
4596
|
+
Il.displayName = "Textarea";
|
|
4597
|
+
const _l = ["top", "right", "bottom", "left"], fe = Math.min, K = Math.max, nt = Math.round, Ze = Math.floor, pe = (e) => ({
|
|
4537
4598
|
x: e,
|
|
4538
4599
|
y: e
|
|
4539
|
-
}),
|
|
4600
|
+
}), Ll = {
|
|
4540
4601
|
left: "right",
|
|
4541
4602
|
right: "left",
|
|
4542
4603
|
bottom: "top",
|
|
4543
4604
|
top: "bottom"
|
|
4544
|
-
},
|
|
4605
|
+
}, Fl = {
|
|
4545
4606
|
start: "end",
|
|
4546
4607
|
end: "start"
|
|
4547
4608
|
};
|
|
@@ -4569,20 +4630,20 @@ function me(e) {
|
|
|
4569
4630
|
function on(e) {
|
|
4570
4631
|
return nn(me(e));
|
|
4571
4632
|
}
|
|
4572
|
-
function
|
|
4633
|
+
function $l(e, t, n) {
|
|
4573
4634
|
n === void 0 && (n = !1);
|
|
4574
4635
|
const r = Me(e), o = on(e), s = rn(o);
|
|
4575
4636
|
let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4576
4637
|
return t.reference[s] > t.floating[s] && (a = rt(a)), [a, rt(a)];
|
|
4577
4638
|
}
|
|
4578
|
-
function
|
|
4639
|
+
function Wl(e) {
|
|
4579
4640
|
const t = rt(e);
|
|
4580
4641
|
return [Lt(e), t, Lt(t)];
|
|
4581
4642
|
}
|
|
4582
4643
|
function Lt(e) {
|
|
4583
|
-
return e.replace(/start|end/g, (t) =>
|
|
4644
|
+
return e.replace(/start|end/g, (t) => Fl[t]);
|
|
4584
4645
|
}
|
|
4585
|
-
function
|
|
4646
|
+
function Vl(e, t, n) {
|
|
4586
4647
|
const r = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], a = ["bottom", "top"];
|
|
4587
4648
|
switch (e) {
|
|
4588
4649
|
case "top":
|
|
@@ -4595,15 +4656,15 @@ function Wl(e, t, n) {
|
|
|
4595
4656
|
return [];
|
|
4596
4657
|
}
|
|
4597
4658
|
}
|
|
4598
|
-
function
|
|
4659
|
+
function zl(e, t, n, r) {
|
|
4599
4660
|
const o = Me(e);
|
|
4600
|
-
let s =
|
|
4661
|
+
let s = Vl(se(e), n === "start", r);
|
|
4601
4662
|
return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(Lt)))), s;
|
|
4602
4663
|
}
|
|
4603
4664
|
function rt(e) {
|
|
4604
|
-
return e.replace(/left|right|bottom|top/g, (t) =>
|
|
4665
|
+
return e.replace(/left|right|bottom|top/g, (t) => Ll[t]);
|
|
4605
4666
|
}
|
|
4606
|
-
function
|
|
4667
|
+
function Bl(e) {
|
|
4607
4668
|
return {
|
|
4608
4669
|
top: 0,
|
|
4609
4670
|
right: 0,
|
|
@@ -4613,7 +4674,7 @@ function zl(e) {
|
|
|
4613
4674
|
};
|
|
4614
4675
|
}
|
|
4615
4676
|
function bo(e) {
|
|
4616
|
-
return typeof e != "number" ?
|
|
4677
|
+
return typeof e != "number" ? Bl(e) : {
|
|
4617
4678
|
top: e,
|
|
4618
4679
|
right: e,
|
|
4619
4680
|
bottom: e,
|
|
@@ -4686,7 +4747,7 @@ function Vn(e, t, n) {
|
|
|
4686
4747
|
}
|
|
4687
4748
|
return m;
|
|
4688
4749
|
}
|
|
4689
|
-
const
|
|
4750
|
+
const Gl = async (e, t, n) => {
|
|
4690
4751
|
const {
|
|
4691
4752
|
placement: r = "bottom",
|
|
4692
4753
|
strategy: o = "absolute",
|
|
@@ -4792,7 +4853,7 @@ async function $e(e, t) {
|
|
|
4792
4853
|
right: (E.right - y.right + v.right) / w.x
|
|
4793
4854
|
};
|
|
4794
4855
|
}
|
|
4795
|
-
const
|
|
4856
|
+
const Hl = (e) => ({
|
|
4796
4857
|
name: "arrow",
|
|
4797
4858
|
options: e,
|
|
4798
4859
|
async fn(t) {
|
|
@@ -4829,7 +4890,7 @@ const Gl = (e) => ({
|
|
|
4829
4890
|
reset: T
|
|
4830
4891
|
};
|
|
4831
4892
|
}
|
|
4832
|
-
}),
|
|
4893
|
+
}), Ul = function(e) {
|
|
4833
4894
|
return e === void 0 && (e = {}), {
|
|
4834
4895
|
name: "flip",
|
|
4835
4896
|
options: e,
|
|
@@ -4853,12 +4914,12 @@ const Gl = (e) => ({
|
|
|
4853
4914
|
} = oe(e, t);
|
|
4854
4915
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
4855
4916
|
return {};
|
|
4856
|
-
const y = se(o), x = me(i), C = se(i) === i, w = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), E = h || (C || !p ? [rt(i)] :
|
|
4857
|
-
!h && P && E.push(...
|
|
4917
|
+
const y = se(o), x = me(i), C = se(i) === i, w = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), E = h || (C || !p ? [rt(i)] : Wl(i)), P = v !== "none";
|
|
4918
|
+
!h && P && E.push(...zl(i, p, v, w));
|
|
4858
4919
|
const R = [i, ...E], S = await $e(t, b), M = [];
|
|
4859
4920
|
let D = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
4860
4921
|
if (d && M.push(S[y]), f) {
|
|
4861
|
-
const j =
|
|
4922
|
+
const j = $l(o, a, w);
|
|
4862
4923
|
M.push(S[j[0]], S[j[1]]);
|
|
4863
4924
|
}
|
|
4864
4925
|
if (D = [...D, {
|
|
@@ -4918,9 +4979,9 @@ function zn(e, t) {
|
|
|
4918
4979
|
};
|
|
4919
4980
|
}
|
|
4920
4981
|
function Bn(e) {
|
|
4921
|
-
return
|
|
4982
|
+
return _l.some((t) => e[t] >= 0);
|
|
4922
4983
|
}
|
|
4923
|
-
const
|
|
4984
|
+
const Kl = function(e) {
|
|
4924
4985
|
return e === void 0 && (e = {}), {
|
|
4925
4986
|
name: "hide",
|
|
4926
4987
|
options: e,
|
|
@@ -4962,7 +5023,7 @@ const Ul = function(e) {
|
|
|
4962
5023
|
}
|
|
4963
5024
|
};
|
|
4964
5025
|
};
|
|
4965
|
-
async function
|
|
5026
|
+
async function Yl(e, t) {
|
|
4966
5027
|
const {
|
|
4967
5028
|
placement: n,
|
|
4968
5029
|
platform: r,
|
|
@@ -4989,7 +5050,7 @@ async function Kl(e, t) {
|
|
|
4989
5050
|
y: m * d
|
|
4990
5051
|
};
|
|
4991
5052
|
}
|
|
4992
|
-
const
|
|
5053
|
+
const Xl = function(e) {
|
|
4993
5054
|
return e === void 0 && (e = 0), {
|
|
4994
5055
|
name: "offset",
|
|
4995
5056
|
options: e,
|
|
@@ -5000,7 +5061,7 @@ const Yl = function(e) {
|
|
|
5000
5061
|
y: s,
|
|
5001
5062
|
placement: a,
|
|
5002
5063
|
middlewareData: i
|
|
5003
|
-
} = t, c = await
|
|
5064
|
+
} = t, c = await Yl(t, e);
|
|
5004
5065
|
return a === ((n = i.offset) == null ? void 0 : n.placement) && (r = i.arrow) != null && r.alignmentOffset ? {} : {
|
|
5005
5066
|
x: o + c.x,
|
|
5006
5067
|
y: s + c.y,
|
|
@@ -5011,7 +5072,7 @@ const Yl = function(e) {
|
|
|
5011
5072
|
};
|
|
5012
5073
|
}
|
|
5013
5074
|
};
|
|
5014
|
-
},
|
|
5075
|
+
}, ql = function(e) {
|
|
5015
5076
|
return e === void 0 && (e = {}), {
|
|
5016
5077
|
name: "shift",
|
|
5017
5078
|
options: e,
|
|
@@ -5067,7 +5128,7 @@ const Yl = function(e) {
|
|
|
5067
5128
|
};
|
|
5068
5129
|
}
|
|
5069
5130
|
};
|
|
5070
|
-
},
|
|
5131
|
+
}, Zl = function(e) {
|
|
5071
5132
|
return e === void 0 && (e = {}), {
|
|
5072
5133
|
options: e,
|
|
5073
5134
|
fn(t) {
|
|
@@ -5109,7 +5170,7 @@ const Yl = function(e) {
|
|
|
5109
5170
|
};
|
|
5110
5171
|
}
|
|
5111
5172
|
};
|
|
5112
|
-
},
|
|
5173
|
+
}, Ql = function(e) {
|
|
5113
5174
|
return e === void 0 && (e = {}), {
|
|
5114
5175
|
name: "size",
|
|
5115
5176
|
options: e,
|
|
@@ -5185,7 +5246,7 @@ function ze(e) {
|
|
|
5185
5246
|
} = q(e);
|
|
5186
5247
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
|
|
5187
5248
|
}
|
|
5188
|
-
function
|
|
5249
|
+
function Jl(e) {
|
|
5189
5250
|
return ["table", "td", "th"].includes(Ie(e));
|
|
5190
5251
|
}
|
|
5191
5252
|
function ut(e) {
|
|
@@ -5201,7 +5262,7 @@ function sn(e) {
|
|
|
5201
5262
|
const t = an(), n = X(e) ? q(e) : e;
|
|
5202
5263
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
5203
5264
|
}
|
|
5204
|
-
function
|
|
5265
|
+
function ec(e) {
|
|
5205
5266
|
let t = ge(e);
|
|
5206
5267
|
for (; J(t) && !Ne(t); ) {
|
|
5207
5268
|
if (sn(t))
|
|
@@ -5287,15 +5348,15 @@ function Ae(e) {
|
|
|
5287
5348
|
y: i
|
|
5288
5349
|
};
|
|
5289
5350
|
}
|
|
5290
|
-
const
|
|
5351
|
+
const tc = /* @__PURE__ */ pe(0);
|
|
5291
5352
|
function Co(e) {
|
|
5292
5353
|
const t = Y(e);
|
|
5293
|
-
return !an() || !t.visualViewport ?
|
|
5354
|
+
return !an() || !t.visualViewport ? tc : {
|
|
5294
5355
|
x: t.visualViewport.offsetLeft,
|
|
5295
5356
|
y: t.visualViewport.offsetTop
|
|
5296
5357
|
};
|
|
5297
5358
|
}
|
|
5298
|
-
function
|
|
5359
|
+
function nc(e, t, n) {
|
|
5299
5360
|
return t === void 0 && (t = !1), !n || t && n !== Y(e) ? !1 : t;
|
|
5300
5361
|
}
|
|
5301
5362
|
function xe(e, t, n, r) {
|
|
@@ -5303,7 +5364,7 @@ function xe(e, t, n, r) {
|
|
|
5303
5364
|
const o = e.getBoundingClientRect(), s = ln(e);
|
|
5304
5365
|
let a = pe(1);
|
|
5305
5366
|
t && (r ? X(r) && (a = Ae(r)) : a = Ae(e));
|
|
5306
|
-
const i =
|
|
5367
|
+
const i = nc(s, n, r) ? Co(s) : pe(0);
|
|
5307
5368
|
let c = (o.left + i.x) / a.x, u = (o.top + i.y) / a.y, d = o.width / a.x, f = o.height / a.y;
|
|
5308
5369
|
if (s) {
|
|
5309
5370
|
const h = Y(s), m = r && X(r) ? Y(r) : r;
|
|
@@ -5320,7 +5381,7 @@ function xe(e, t, n, r) {
|
|
|
5320
5381
|
y: u
|
|
5321
5382
|
});
|
|
5322
5383
|
}
|
|
5323
|
-
function
|
|
5384
|
+
function rc(e) {
|
|
5324
5385
|
let {
|
|
5325
5386
|
elements: t,
|
|
5326
5387
|
rect: n,
|
|
@@ -5346,14 +5407,14 @@ function nc(e) {
|
|
|
5346
5407
|
y: n.y * u.y - c.scrollTop * u.y + d.y
|
|
5347
5408
|
};
|
|
5348
5409
|
}
|
|
5349
|
-
function
|
|
5410
|
+
function oc(e) {
|
|
5350
5411
|
return Array.from(e.getClientRects());
|
|
5351
5412
|
}
|
|
5352
5413
|
function $t(e, t) {
|
|
5353
5414
|
const n = dt(e).scrollLeft;
|
|
5354
5415
|
return t ? t.left + n : xe(te(e)).left + n;
|
|
5355
5416
|
}
|
|
5356
|
-
function
|
|
5417
|
+
function sc(e) {
|
|
5357
5418
|
const t = te(e), n = dt(e), r = e.ownerDocument.body, o = K(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = K(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
5358
5419
|
let a = -n.scrollLeft + $t(e);
|
|
5359
5420
|
const i = -n.scrollTop;
|
|
@@ -5364,7 +5425,7 @@ function oc(e) {
|
|
|
5364
5425
|
y: i
|
|
5365
5426
|
};
|
|
5366
5427
|
}
|
|
5367
|
-
function
|
|
5428
|
+
function ac(e, t) {
|
|
5368
5429
|
const n = Y(e), r = te(e), o = n.visualViewport;
|
|
5369
5430
|
let s = r.clientWidth, a = r.clientHeight, i = 0, c = 0;
|
|
5370
5431
|
if (o) {
|
|
@@ -5379,7 +5440,7 @@ function sc(e, t) {
|
|
|
5379
5440
|
y: c
|
|
5380
5441
|
};
|
|
5381
5442
|
}
|
|
5382
|
-
function
|
|
5443
|
+
function ic(e, t) {
|
|
5383
5444
|
const n = xe(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = J(e) ? Ae(e) : pe(1), a = e.clientWidth * s.x, i = e.clientHeight * s.y, c = o * s.x, u = r * s.y;
|
|
5384
5445
|
return {
|
|
5385
5446
|
width: a,
|
|
@@ -5391,11 +5452,11 @@ function ac(e, t) {
|
|
|
5391
5452
|
function Hn(e, t, n) {
|
|
5392
5453
|
let r;
|
|
5393
5454
|
if (t === "viewport")
|
|
5394
|
-
r =
|
|
5455
|
+
r = ac(e, n);
|
|
5395
5456
|
else if (t === "document")
|
|
5396
|
-
r =
|
|
5457
|
+
r = sc(te(e));
|
|
5397
5458
|
else if (X(t))
|
|
5398
|
-
r =
|
|
5459
|
+
r = ic(t, n);
|
|
5399
5460
|
else {
|
|
5400
5461
|
const o = Co(e);
|
|
5401
5462
|
r = {
|
|
@@ -5410,7 +5471,7 @@ function Eo(e, t) {
|
|
|
5410
5471
|
const n = ge(e);
|
|
5411
5472
|
return n === t || !X(n) || Ne(n) ? !1 : q(n).position === "fixed" || Eo(n, t);
|
|
5412
5473
|
}
|
|
5413
|
-
function
|
|
5474
|
+
function lc(e, t) {
|
|
5414
5475
|
const n = t.get(e);
|
|
5415
5476
|
if (n)
|
|
5416
5477
|
return n;
|
|
@@ -5423,14 +5484,14 @@ function ic(e, t) {
|
|
|
5423
5484
|
}
|
|
5424
5485
|
return t.set(e, r), r;
|
|
5425
5486
|
}
|
|
5426
|
-
function
|
|
5487
|
+
function cc(e) {
|
|
5427
5488
|
let {
|
|
5428
5489
|
element: t,
|
|
5429
5490
|
boundary: n,
|
|
5430
5491
|
rootBoundary: r,
|
|
5431
5492
|
strategy: o
|
|
5432
5493
|
} = e;
|
|
5433
|
-
const a = [...n === "clippingAncestors" ? ut(t) ? [] :
|
|
5494
|
+
const a = [...n === "clippingAncestors" ? ut(t) ? [] : lc(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((u, d) => {
|
|
5434
5495
|
const f = Hn(t, d, o);
|
|
5435
5496
|
return u.top = K(f.top, u.top), u.right = fe(f.right, u.right), u.bottom = fe(f.bottom, u.bottom), u.left = K(f.left, u.left), u;
|
|
5436
5497
|
}, Hn(t, i, o));
|
|
@@ -5441,7 +5502,7 @@ function lc(e) {
|
|
|
5441
5502
|
y: c.top
|
|
5442
5503
|
};
|
|
5443
5504
|
}
|
|
5444
|
-
function
|
|
5505
|
+
function uc(e) {
|
|
5445
5506
|
const {
|
|
5446
5507
|
width: t,
|
|
5447
5508
|
height: n
|
|
@@ -5451,7 +5512,7 @@ function cc(e) {
|
|
|
5451
5512
|
height: n
|
|
5452
5513
|
};
|
|
5453
5514
|
}
|
|
5454
|
-
function
|
|
5515
|
+
function dc(e, t, n) {
|
|
5455
5516
|
const r = J(t), o = te(t), s = n === "fixed", a = xe(e, !0, s, t);
|
|
5456
5517
|
let i = {
|
|
5457
5518
|
scrollLeft: 0,
|
|
@@ -5502,14 +5563,14 @@ function Ro(e, t) {
|
|
|
5502
5563
|
return n;
|
|
5503
5564
|
}
|
|
5504
5565
|
let r = Un(e, t);
|
|
5505
|
-
for (; r &&
|
|
5566
|
+
for (; r && Jl(r) && St(r); )
|
|
5506
5567
|
r = Un(r, t);
|
|
5507
|
-
return r && Ne(r) && St(r) && !sn(r) ? n : r ||
|
|
5568
|
+
return r && Ne(r) && St(r) && !sn(r) ? n : r || ec(e) || n;
|
|
5508
5569
|
}
|
|
5509
|
-
const
|
|
5570
|
+
const fc = async function(e) {
|
|
5510
5571
|
const t = this.getOffsetParent || Ro, n = this.getDimensions, r = await n(e.floating);
|
|
5511
5572
|
return {
|
|
5512
|
-
reference:
|
|
5573
|
+
reference: dc(e.reference, await t(e.floating), e.strategy),
|
|
5513
5574
|
floating: {
|
|
5514
5575
|
x: 0,
|
|
5515
5576
|
y: 0,
|
|
@@ -5518,22 +5579,22 @@ const dc = async function(e) {
|
|
|
5518
5579
|
}
|
|
5519
5580
|
};
|
|
5520
5581
|
};
|
|
5521
|
-
function
|
|
5582
|
+
function pc(e) {
|
|
5522
5583
|
return q(e).direction === "rtl";
|
|
5523
5584
|
}
|
|
5524
|
-
const
|
|
5525
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
5585
|
+
const mc = {
|
|
5586
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: rc,
|
|
5526
5587
|
getDocumentElement: te,
|
|
5527
|
-
getClippingRect:
|
|
5588
|
+
getClippingRect: cc,
|
|
5528
5589
|
getOffsetParent: Ro,
|
|
5529
|
-
getElementRects:
|
|
5530
|
-
getClientRects:
|
|
5531
|
-
getDimensions:
|
|
5590
|
+
getElementRects: fc,
|
|
5591
|
+
getClientRects: oc,
|
|
5592
|
+
getDimensions: uc,
|
|
5532
5593
|
getScale: Ae,
|
|
5533
5594
|
isElement: X,
|
|
5534
|
-
isRTL:
|
|
5595
|
+
isRTL: pc
|
|
5535
5596
|
};
|
|
5536
|
-
function
|
|
5597
|
+
function gc(e, t) {
|
|
5537
5598
|
let n = null, r;
|
|
5538
5599
|
const o = te(e);
|
|
5539
5600
|
function s() {
|
|
@@ -5579,7 +5640,7 @@ function mc(e, t) {
|
|
|
5579
5640
|
}
|
|
5580
5641
|
return a(!0), s;
|
|
5581
5642
|
}
|
|
5582
|
-
function
|
|
5643
|
+
function hc(e, t, n, r) {
|
|
5583
5644
|
r === void 0 && (r = {});
|
|
5584
5645
|
const {
|
|
5585
5646
|
ancestorScroll: o = !0,
|
|
@@ -5593,7 +5654,7 @@ function gc(e, t, n, r) {
|
|
|
5593
5654
|
passive: !0
|
|
5594
5655
|
}), s && y.addEventListener("resize", n);
|
|
5595
5656
|
});
|
|
5596
|
-
const f = u && i ?
|
|
5657
|
+
const f = u && i ? gc(u, n) : null;
|
|
5597
5658
|
let h = -1, m = null;
|
|
5598
5659
|
a && (m = new ResizeObserver((y) => {
|
|
5599
5660
|
let [x] = y;
|
|
@@ -5615,15 +5676,15 @@ function gc(e, t, n, r) {
|
|
|
5615
5676
|
}), f == null || f(), (y = m) == null || y.disconnect(), m = null, c && cancelAnimationFrame(v);
|
|
5616
5677
|
};
|
|
5617
5678
|
}
|
|
5618
|
-
const
|
|
5679
|
+
const vc = Xl, bc = ql, yc = Ul, xc = Ql, wc = Kl, Kn = Hl, Cc = Zl, Ec = (e, t, n) => {
|
|
5619
5680
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
5620
|
-
platform:
|
|
5681
|
+
platform: mc,
|
|
5621
5682
|
...n
|
|
5622
5683
|
}, s = {
|
|
5623
5684
|
...o.platform,
|
|
5624
5685
|
_c: r
|
|
5625
5686
|
};
|
|
5626
|
-
return
|
|
5687
|
+
return Gl(e, t, {
|
|
5627
5688
|
...o,
|
|
5628
5689
|
platform: s
|
|
5629
5690
|
});
|
|
@@ -5672,7 +5733,7 @@ function At(e) {
|
|
|
5672
5733
|
t.current = e;
|
|
5673
5734
|
}), t;
|
|
5674
5735
|
}
|
|
5675
|
-
function
|
|
5736
|
+
function Rc(e) {
|
|
5676
5737
|
e === void 0 && (e = {});
|
|
5677
5738
|
const {
|
|
5678
5739
|
placement: t = "bottom",
|
|
@@ -5707,7 +5768,7 @@ function Ec(e) {
|
|
|
5707
5768
|
strategy: n,
|
|
5708
5769
|
middleware: h
|
|
5709
5770
|
};
|
|
5710
|
-
F.current && (O.platform = F.current),
|
|
5771
|
+
F.current && (O.platform = F.current), Ec(P.current, R.current, O).then((W) => {
|
|
5711
5772
|
const U = {
|
|
5712
5773
|
...W,
|
|
5713
5774
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -5774,7 +5835,7 @@ function Ec(e) {
|
|
|
5774
5835
|
floatingStyles: V
|
|
5775
5836
|
}), [d, L, B, T, V]);
|
|
5776
5837
|
}
|
|
5777
|
-
const
|
|
5838
|
+
const Pc = (e) => {
|
|
5778
5839
|
function t(n) {
|
|
5779
5840
|
return {}.hasOwnProperty.call(n, "current");
|
|
5780
5841
|
}
|
|
@@ -5795,17 +5856,14 @@ const Rc = (e) => {
|
|
|
5795
5856
|
}).fn(n) : {};
|
|
5796
5857
|
}
|
|
5797
5858
|
};
|
|
5798
|
-
},
|
|
5799
|
-
...hc(e),
|
|
5800
|
-
options: [e, t]
|
|
5801
|
-
}), Sc = (e, t) => ({
|
|
5859
|
+
}, Sc = (e, t) => ({
|
|
5802
5860
|
...vc(e),
|
|
5803
5861
|
options: [e, t]
|
|
5804
5862
|
}), Ac = (e, t) => ({
|
|
5805
|
-
...
|
|
5863
|
+
...bc(e),
|
|
5806
5864
|
options: [e, t]
|
|
5807
5865
|
}), Nc = (e, t) => ({
|
|
5808
|
-
...
|
|
5866
|
+
...Cc(e),
|
|
5809
5867
|
options: [e, t]
|
|
5810
5868
|
}), Oc = (e, t) => ({
|
|
5811
5869
|
...yc(e),
|
|
@@ -5814,10 +5872,13 @@ const Rc = (e) => {
|
|
|
5814
5872
|
...xc(e),
|
|
5815
5873
|
options: [e, t]
|
|
5816
5874
|
}), kc = (e, t) => ({
|
|
5817
|
-
...
|
|
5875
|
+
...wc(e),
|
|
5876
|
+
options: [e, t]
|
|
5877
|
+
}), Dc = (e, t) => ({
|
|
5878
|
+
...Pc(e),
|
|
5818
5879
|
options: [e, t]
|
|
5819
5880
|
});
|
|
5820
|
-
var
|
|
5881
|
+
var jc = "Arrow", So = l.forwardRef((e, t) => {
|
|
5821
5882
|
const { children: n, width: r = 10, height: o = 5, ...s } = e;
|
|
5822
5883
|
return /* @__PURE__ */ g.jsx(
|
|
5823
5884
|
$.svg,
|
|
@@ -5832,10 +5893,10 @@ var Dc = "Arrow", So = l.forwardRef((e, t) => {
|
|
|
5832
5893
|
}
|
|
5833
5894
|
);
|
|
5834
5895
|
});
|
|
5835
|
-
So.displayName =
|
|
5836
|
-
var
|
|
5896
|
+
So.displayName = jc;
|
|
5897
|
+
var Mc = So, cn = "Popper", [Ao, ft] = ae(cn), [Ic, No] = Ao(cn), Oo = (e) => {
|
|
5837
5898
|
const { __scopePopper: t, children: n } = e, [r, o] = l.useState(null);
|
|
5838
|
-
return /* @__PURE__ */ g.jsx(
|
|
5899
|
+
return /* @__PURE__ */ g.jsx(Ic, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
5839
5900
|
};
|
|
5840
5901
|
Oo.displayName = cn;
|
|
5841
5902
|
var To = "PopperAnchor", ko = l.forwardRef(
|
|
@@ -5847,7 +5908,7 @@ var To = "PopperAnchor", ko = l.forwardRef(
|
|
|
5847
5908
|
}
|
|
5848
5909
|
);
|
|
5849
5910
|
ko.displayName = To;
|
|
5850
|
-
var un = "PopperContent", [
|
|
5911
|
+
var un = "PopperContent", [_c, Lc] = Ao(un), Do = l.forwardRef(
|
|
5851
5912
|
(e, t) => {
|
|
5852
5913
|
var hn, vn, bn, yn, xn, wn;
|
|
5853
5914
|
const {
|
|
@@ -5867,38 +5928,38 @@ var un = "PopperContent", [Ic, _c] = Ao(un), Do = l.forwardRef(
|
|
|
5867
5928
|
...p
|
|
5868
5929
|
} = e, b = No(un, n), [y, x] = l.useState(null), C = z(t, (_e) => x(_e)), [w, E] = l.useState(null), P = Ut(w), R = (P == null ? void 0 : P.width) ?? 0, S = (P == null ? void 0 : P.height) ?? 0, M = r + (s !== "center" ? "-" + s : ""), D = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, F = Array.isArray(u) ? u : [u], A = F.length > 0, L = {
|
|
5869
5930
|
padding: D,
|
|
5870
|
-
boundary: F.filter(
|
|
5931
|
+
boundary: F.filter($c),
|
|
5871
5932
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
5872
5933
|
altBoundary: A
|
|
5873
|
-
}, { refs: j, floatingStyles: B, placement: T, isPositioned: V, middlewareData: O } =
|
|
5934
|
+
}, { refs: j, floatingStyles: B, placement: T, isPositioned: V, middlewareData: O } = Rc({
|
|
5874
5935
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
5875
5936
|
strategy: "fixed",
|
|
5876
5937
|
placement: M,
|
|
5877
|
-
whileElementsMounted: (..._e) =>
|
|
5938
|
+
whileElementsMounted: (..._e) => hc(..._e, {
|
|
5878
5939
|
animationFrame: m === "always"
|
|
5879
5940
|
}),
|
|
5880
5941
|
elements: {
|
|
5881
5942
|
reference: b.anchor
|
|
5882
5943
|
},
|
|
5883
5944
|
middleware: [
|
|
5884
|
-
|
|
5885
|
-
c &&
|
|
5945
|
+
Sc({ mainAxis: o + S, alignmentAxis: a }),
|
|
5946
|
+
c && Ac({
|
|
5886
5947
|
mainAxis: !0,
|
|
5887
5948
|
crossAxis: !1,
|
|
5888
|
-
limiter: f === "partial" ?
|
|
5949
|
+
limiter: f === "partial" ? Nc() : void 0,
|
|
5889
5950
|
...L
|
|
5890
5951
|
}),
|
|
5891
|
-
c &&
|
|
5892
|
-
|
|
5952
|
+
c && Oc({ ...L }),
|
|
5953
|
+
Tc({
|
|
5893
5954
|
...L,
|
|
5894
5955
|
apply: ({ elements: _e, rects: Cn, availableWidth: gs, availableHeight: hs }) => {
|
|
5895
5956
|
const { width: vs, height: bs } = Cn.reference, He = _e.floating.style;
|
|
5896
5957
|
He.setProperty("--radix-popper-available-width", `${gs}px`), He.setProperty("--radix-popper-available-height", `${hs}px`), He.setProperty("--radix-popper-anchor-width", `${vs}px`), He.setProperty("--radix-popper-anchor-height", `${bs}px`);
|
|
5897
5958
|
}
|
|
5898
5959
|
}),
|
|
5899
|
-
w &&
|
|
5900
|
-
|
|
5901
|
-
h &&
|
|
5960
|
+
w && Dc({ element: w, padding: i }),
|
|
5961
|
+
Wc({ arrowWidth: R, arrowHeight: S }),
|
|
5962
|
+
h && kc({ strategy: "referenceHidden", ...L })
|
|
5902
5963
|
]
|
|
5903
5964
|
}), [W, U] = Io(T), H = re(v);
|
|
5904
5965
|
be(() => {
|
|
@@ -5932,7 +5993,7 @@ var un = "PopperContent", [Ic, _c] = Ao(un), Do = l.forwardRef(
|
|
|
5932
5993
|
},
|
|
5933
5994
|
dir: e.dir,
|
|
5934
5995
|
children: /* @__PURE__ */ g.jsx(
|
|
5935
|
-
|
|
5996
|
+
_c,
|
|
5936
5997
|
{
|
|
5937
5998
|
scope: n,
|
|
5938
5999
|
placedSide: W,
|
|
@@ -5962,13 +6023,13 @@ var un = "PopperContent", [Ic, _c] = Ao(un), Do = l.forwardRef(
|
|
|
5962
6023
|
}
|
|
5963
6024
|
);
|
|
5964
6025
|
Do.displayName = un;
|
|
5965
|
-
var jo = "PopperArrow",
|
|
6026
|
+
var jo = "PopperArrow", Fc = {
|
|
5966
6027
|
top: "bottom",
|
|
5967
6028
|
right: "left",
|
|
5968
6029
|
bottom: "top",
|
|
5969
6030
|
left: "right"
|
|
5970
6031
|
}, Mo = l.forwardRef(function(t, n) {
|
|
5971
|
-
const { __scopePopper: r, ...o } = t, s =
|
|
6032
|
+
const { __scopePopper: r, ...o } = t, s = Lc(jo, r), a = Fc[s.placedSide];
|
|
5972
6033
|
return (
|
|
5973
6034
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
5974
6035
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -5997,7 +6058,7 @@ var jo = "PopperArrow", Lc = {
|
|
|
5997
6058
|
visibility: s.shouldHideArrow ? "hidden" : void 0
|
|
5998
6059
|
},
|
|
5999
6060
|
children: /* @__PURE__ */ g.jsx(
|
|
6000
|
-
|
|
6061
|
+
Mc,
|
|
6001
6062
|
{
|
|
6002
6063
|
...o,
|
|
6003
6064
|
ref: n,
|
|
@@ -6013,10 +6074,10 @@ var jo = "PopperArrow", Lc = {
|
|
|
6013
6074
|
);
|
|
6014
6075
|
});
|
|
6015
6076
|
Mo.displayName = jo;
|
|
6016
|
-
function
|
|
6077
|
+
function $c(e) {
|
|
6017
6078
|
return e !== null;
|
|
6018
6079
|
}
|
|
6019
|
-
var
|
|
6080
|
+
var Wc = (e) => ({
|
|
6020
6081
|
name: "transformOrigin",
|
|
6021
6082
|
options: e,
|
|
6022
6083
|
fn(t) {
|
|
@@ -6031,7 +6092,7 @@ function Io(e) {
|
|
|
6031
6092
|
return [t, n];
|
|
6032
6093
|
}
|
|
6033
6094
|
var _o = Oo, dn = ko, Lo = Do, Fo = Mo;
|
|
6034
|
-
const
|
|
6095
|
+
const Yu = xl, Xu = wl, Vc = Cl, qu = go, $o = G(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6035
6096
|
uo,
|
|
6036
6097
|
{
|
|
6037
6098
|
ref: n,
|
|
@@ -6043,7 +6104,7 @@ const Ku = xl, Yu = wl, Wc = Cl, Xu = go, $o = G(({ className: e, ...t }, n) =>
|
|
|
6043
6104
|
}
|
|
6044
6105
|
));
|
|
6045
6106
|
$o.displayName = uo.displayName;
|
|
6046
|
-
const
|
|
6107
|
+
const zc = G(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(Vc, { children: [
|
|
6047
6108
|
/* @__PURE__ */ g.jsx($o, {}),
|
|
6048
6109
|
/* @__PURE__ */ g.jsxs(
|
|
6049
6110
|
fo,
|
|
@@ -6064,16 +6125,16 @@ const Vc = G(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(
|
|
|
6064
6125
|
}
|
|
6065
6126
|
)
|
|
6066
6127
|
] }));
|
|
6067
|
-
|
|
6068
|
-
const
|
|
6128
|
+
zc.displayName = fo.displayName;
|
|
6129
|
+
const Bc = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6069
6130
|
"div",
|
|
6070
6131
|
{
|
|
6071
6132
|
className: I("al-flex al-flex-col al-space-y-1.5 al-text-center sm:al-text-left", e),
|
|
6072
6133
|
...t
|
|
6073
6134
|
}
|
|
6074
6135
|
);
|
|
6075
|
-
|
|
6076
|
-
const
|
|
6136
|
+
Bc.displayName = "DialogHeader";
|
|
6137
|
+
const Gc = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
6077
6138
|
"div",
|
|
6078
6139
|
{
|
|
6079
6140
|
className: I(
|
|
@@ -6083,8 +6144,8 @@ const Bc = ({ className: e, ...t }) => /* @__PURE__ */ g.jsx(
|
|
|
6083
6144
|
...t
|
|
6084
6145
|
}
|
|
6085
6146
|
);
|
|
6086
|
-
|
|
6087
|
-
const
|
|
6147
|
+
Gc.displayName = "DialogFooter";
|
|
6148
|
+
const Hc = G(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6088
6149
|
po,
|
|
6089
6150
|
{
|
|
6090
6151
|
ref: n,
|
|
@@ -6092,8 +6153,8 @@ const Gc = G(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6092
6153
|
...t
|
|
6093
6154
|
}
|
|
6094
6155
|
));
|
|
6095
|
-
|
|
6096
|
-
const
|
|
6156
|
+
Hc.displayName = po.displayName;
|
|
6157
|
+
const Uc = G(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
6097
6158
|
mo,
|
|
6098
6159
|
{
|
|
6099
6160
|
ref: n,
|
|
@@ -6101,9 +6162,9 @@ const Hc = G(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
6101
6162
|
...t
|
|
6102
6163
|
}
|
|
6103
6164
|
));
|
|
6104
|
-
|
|
6165
|
+
Uc.displayName = mo.displayName;
|
|
6105
6166
|
var Wo = l.forwardRef((e, t) => {
|
|
6106
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6167
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(Yc);
|
|
6107
6168
|
if (s) {
|
|
6108
6169
|
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);
|
|
6109
6170
|
return /* @__PURE__ */ g.jsx(Wt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
@@ -6114,9 +6175,9 @@ Wo.displayName = "Slot";
|
|
|
6114
6175
|
var Wt = l.forwardRef((e, t) => {
|
|
6115
6176
|
const { children: n, ...r } = e;
|
|
6116
6177
|
if (l.isValidElement(n)) {
|
|
6117
|
-
const o =
|
|
6178
|
+
const o = qc(n);
|
|
6118
6179
|
return l.cloneElement(n, {
|
|
6119
|
-
...
|
|
6180
|
+
...Xc(r, n.props),
|
|
6120
6181
|
// @ts-ignore
|
|
6121
6182
|
ref: t ? De(t, o) : o
|
|
6122
6183
|
});
|
|
@@ -6124,11 +6185,11 @@ var Wt = l.forwardRef((e, t) => {
|
|
|
6124
6185
|
return l.Children.count(n) > 1 ? l.Children.only(null) : null;
|
|
6125
6186
|
});
|
|
6126
6187
|
Wt.displayName = "SlotClone";
|
|
6127
|
-
var
|
|
6128
|
-
function
|
|
6129
|
-
return l.isValidElement(e) && e.type ===
|
|
6188
|
+
var Kc = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6189
|
+
function Yc(e) {
|
|
6190
|
+
return l.isValidElement(e) && e.type === Kc;
|
|
6130
6191
|
}
|
|
6131
|
-
function
|
|
6192
|
+
function Xc(e, t) {
|
|
6132
6193
|
const n = { ...t };
|
|
6133
6194
|
for (const r in t) {
|
|
6134
6195
|
const o = e[r], s = t[r];
|
|
@@ -6138,14 +6199,14 @@ function Yc(e, t) {
|
|
|
6138
6199
|
}
|
|
6139
6200
|
return { ...e, ...n };
|
|
6140
6201
|
}
|
|
6141
|
-
function
|
|
6202
|
+
function qc(e) {
|
|
6142
6203
|
var r, o;
|
|
6143
6204
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6144
6205
|
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);
|
|
6145
6206
|
}
|
|
6146
|
-
var fn = "Popover", [Vo,
|
|
6207
|
+
var fn = "Popover", [Vo, Zu] = ae(fn, [
|
|
6147
6208
|
ft
|
|
6148
|
-
]), Be = ft(), [
|
|
6209
|
+
]), Be = ft(), [Zc, he] = Vo(fn), zo = (e) => {
|
|
6149
6210
|
const {
|
|
6150
6211
|
__scopePopover: t,
|
|
6151
6212
|
children: n,
|
|
@@ -6159,7 +6220,7 @@ var fn = "Popover", [Vo, qu] = ae(fn, [
|
|
|
6159
6220
|
onChange: s
|
|
6160
6221
|
});
|
|
6161
6222
|
return /* @__PURE__ */ g.jsx(_o, { ...i, children: /* @__PURE__ */ g.jsx(
|
|
6162
|
-
|
|
6223
|
+
Zc,
|
|
6163
6224
|
{
|
|
6164
6225
|
scope: t,
|
|
6165
6226
|
contentId: Pe(),
|
|
@@ -6176,13 +6237,13 @@ var fn = "Popover", [Vo, qu] = ae(fn, [
|
|
|
6176
6237
|
) });
|
|
6177
6238
|
};
|
|
6178
6239
|
zo.displayName = fn;
|
|
6179
|
-
var Bo = "PopoverAnchor",
|
|
6240
|
+
var Bo = "PopoverAnchor", Qc = l.forwardRef(
|
|
6180
6241
|
(e, t) => {
|
|
6181
6242
|
const { __scopePopover: n, ...r } = e, o = he(Bo, n), s = Be(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: i } = o;
|
|
6182
6243
|
return l.useEffect(() => (a(), () => i()), [a, i]), /* @__PURE__ */ g.jsx(dn, { ...s, ...r, ref: t });
|
|
6183
6244
|
}
|
|
6184
6245
|
);
|
|
6185
|
-
|
|
6246
|
+
Qc.displayName = Bo;
|
|
6186
6247
|
var Go = "PopoverTrigger", Ho = l.forwardRef(
|
|
6187
6248
|
(e, t) => {
|
|
6188
6249
|
const { __scopePopover: n, ...r } = e, o = he(Go, n), s = Be(n), a = z(t, o.triggerRef), i = /* @__PURE__ */ g.jsx(
|
|
@@ -6202,21 +6263,21 @@ var Go = "PopoverTrigger", Ho = l.forwardRef(
|
|
|
6202
6263
|
}
|
|
6203
6264
|
);
|
|
6204
6265
|
Ho.displayName = Go;
|
|
6205
|
-
var pn = "PopoverPortal", [
|
|
6266
|
+
var pn = "PopoverPortal", [Jc, eu] = Vo(pn, {
|
|
6206
6267
|
forceMount: void 0
|
|
6207
6268
|
}), Uo = (e) => {
|
|
6208
6269
|
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = he(pn, t);
|
|
6209
|
-
return /* @__PURE__ */ g.jsx(
|
|
6270
|
+
return /* @__PURE__ */ g.jsx(Jc, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(it, { asChild: !0, container: o, children: r }) }) });
|
|
6210
6271
|
};
|
|
6211
6272
|
Uo.displayName = pn;
|
|
6212
6273
|
var Oe = "PopoverContent", Ko = l.forwardRef(
|
|
6213
6274
|
(e, t) => {
|
|
6214
|
-
const n =
|
|
6215
|
-
return /* @__PURE__ */ g.jsx(ee, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(
|
|
6275
|
+
const n = eu(Oe, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, s = he(Oe, e.__scopePopover);
|
|
6276
|
+
return /* @__PURE__ */ g.jsx(ee, { present: r || s.open, children: s.modal ? /* @__PURE__ */ g.jsx(tu, { ...o, ref: t }) : /* @__PURE__ */ g.jsx(nu, { ...o, ref: t }) });
|
|
6216
6277
|
}
|
|
6217
6278
|
);
|
|
6218
6279
|
Ko.displayName = Oe;
|
|
6219
|
-
var
|
|
6280
|
+
var tu = l.forwardRef(
|
|
6220
6281
|
(e, t) => {
|
|
6221
6282
|
const n = he(Oe, e.__scopePopover), r = l.useRef(null), o = z(t, r), s = l.useRef(!1);
|
|
6222
6283
|
return l.useEffect(() => {
|
|
@@ -6249,7 +6310,7 @@ var eu = l.forwardRef(
|
|
|
6249
6310
|
}
|
|
6250
6311
|
) });
|
|
6251
6312
|
}
|
|
6252
|
-
),
|
|
6313
|
+
), nu = l.forwardRef(
|
|
6253
6314
|
(e, t) => {
|
|
6254
6315
|
const n = he(Oe, e.__scopePopover), r = l.useRef(!1), o = l.useRef(!1);
|
|
6255
6316
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6328,7 +6389,7 @@ var eu = l.forwardRef(
|
|
|
6328
6389
|
}
|
|
6329
6390
|
);
|
|
6330
6391
|
}
|
|
6331
|
-
), Xo = "PopoverClose",
|
|
6392
|
+
), Xo = "PopoverClose", ru = l.forwardRef(
|
|
6332
6393
|
(e, t) => {
|
|
6333
6394
|
const { __scopePopover: n, ...r } = e, o = he(Xo, n);
|
|
6334
6395
|
return /* @__PURE__ */ g.jsx(
|
|
@@ -6342,19 +6403,19 @@ var eu = l.forwardRef(
|
|
|
6342
6403
|
);
|
|
6343
6404
|
}
|
|
6344
6405
|
);
|
|
6345
|
-
|
|
6346
|
-
var
|
|
6406
|
+
ru.displayName = Xo;
|
|
6407
|
+
var ou = "PopoverArrow", su = l.forwardRef(
|
|
6347
6408
|
(e, t) => {
|
|
6348
6409
|
const { __scopePopover: n, ...r } = e, o = Be(n);
|
|
6349
6410
|
return /* @__PURE__ */ g.jsx(Fo, { ...o, ...r, ref: t });
|
|
6350
6411
|
}
|
|
6351
6412
|
);
|
|
6352
|
-
|
|
6413
|
+
su.displayName = ou;
|
|
6353
6414
|
function qo(e) {
|
|
6354
6415
|
return e ? "open" : "closed";
|
|
6355
6416
|
}
|
|
6356
|
-
var
|
|
6357
|
-
const
|
|
6417
|
+
var au = zo, iu = Ho, lu = Uo, Zo = Ko;
|
|
6418
|
+
const Qu = au, Ju = iu, cu = G(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ g.jsx(lu, { children: /* @__PURE__ */ g.jsx(
|
|
6358
6419
|
Zo,
|
|
6359
6420
|
{
|
|
6360
6421
|
ref: o,
|
|
@@ -6367,7 +6428,7 @@ const Zu = su, Qu = au, lu = G(({ className: e, align: t = "center", sideOffset:
|
|
|
6367
6428
|
...r
|
|
6368
6429
|
}
|
|
6369
6430
|
) }));
|
|
6370
|
-
|
|
6431
|
+
cu.displayName = Zo.displayName;
|
|
6371
6432
|
const ue = Ht("", {
|
|
6372
6433
|
variants: {
|
|
6373
6434
|
variant: {
|
|
@@ -6396,7 +6457,7 @@ const ue = Ht("", {
|
|
|
6396
6457
|
xl: "al-text-xl"
|
|
6397
6458
|
}
|
|
6398
6459
|
}
|
|
6399
|
-
}),
|
|
6460
|
+
}), ed = () => ({
|
|
6400
6461
|
h1: ue({ variant: "h1" }),
|
|
6401
6462
|
h2: ue({ variant: "h2" }),
|
|
6402
6463
|
h3: ue({ variant: "h3" }),
|
|
@@ -6410,7 +6471,7 @@ const ue = Ht("", {
|
|
|
6410
6471
|
orderedList: "al-list-decimal al-ml-4 al-mb-4",
|
|
6411
6472
|
blockquote: "al-mt-6 al-border-l-2 al-pl-6 al-italic",
|
|
6412
6473
|
code: "al-rounded al-p-1 al-font-mono al-text-sm al-font-semibold"
|
|
6413
|
-
}),
|
|
6474
|
+
}), uu = {
|
|
6414
6475
|
h1: "h1",
|
|
6415
6476
|
h2: "h2",
|
|
6416
6477
|
h3: "h3",
|
|
@@ -6418,7 +6479,7 @@ const ue = Ht("", {
|
|
|
6418
6479
|
subheading: "h5",
|
|
6419
6480
|
body: "p",
|
|
6420
6481
|
caption: "span"
|
|
6421
|
-
},
|
|
6482
|
+
}, td = ({
|
|
6422
6483
|
variant: e = "body",
|
|
6423
6484
|
children: t,
|
|
6424
6485
|
className: n,
|
|
@@ -6426,24 +6487,24 @@ const ue = Ht("", {
|
|
|
6426
6487
|
size: o,
|
|
6427
6488
|
role: s
|
|
6428
6489
|
}) => {
|
|
6429
|
-
const a =
|
|
6490
|
+
const a = uu[e];
|
|
6430
6491
|
return /* @__PURE__ */ g.jsx(a, { className: I(ue({ variant: e, weight: r, size: o }), n), role: s, children: t });
|
|
6431
6492
|
};
|
|
6432
|
-
var
|
|
6433
|
-
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(
|
|
6493
|
+
var du = l.forwardRef((e, t) => {
|
|
6494
|
+
const { children: n, ...r } = e, o = l.Children.toArray(n), s = o.find(fu);
|
|
6434
6495
|
if (s) {
|
|
6435
6496
|
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);
|
|
6436
6497
|
return /* @__PURE__ */ g.jsx(Vt, { ...r, ref: t, children: l.isValidElement(a) ? l.cloneElement(a, void 0, i) : null });
|
|
6437
6498
|
}
|
|
6438
6499
|
return /* @__PURE__ */ g.jsx(Vt, { ...r, ref: t, children: n });
|
|
6439
6500
|
});
|
|
6440
|
-
|
|
6501
|
+
du.displayName = "Slot";
|
|
6441
6502
|
var Vt = l.forwardRef((e, t) => {
|
|
6442
6503
|
const { children: n, ...r } = e;
|
|
6443
6504
|
if (l.isValidElement(n)) {
|
|
6444
|
-
const o =
|
|
6505
|
+
const o = mu(n);
|
|
6445
6506
|
return l.cloneElement(n, {
|
|
6446
|
-
...
|
|
6507
|
+
...pu(r, n.props),
|
|
6447
6508
|
// @ts-ignore
|
|
6448
6509
|
ref: t ? De(t, o) : o
|
|
6449
6510
|
});
|
|
@@ -6452,10 +6513,10 @@ var Vt = l.forwardRef((e, t) => {
|
|
|
6452
6513
|
});
|
|
6453
6514
|
Vt.displayName = "SlotClone";
|
|
6454
6515
|
var Qo = ({ children: e }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: e });
|
|
6455
|
-
function
|
|
6516
|
+
function fu(e) {
|
|
6456
6517
|
return l.isValidElement(e) && e.type === Qo;
|
|
6457
6518
|
}
|
|
6458
|
-
function
|
|
6519
|
+
function pu(e, t) {
|
|
6459
6520
|
const n = { ...t };
|
|
6460
6521
|
for (const r in t) {
|
|
6461
6522
|
const o = e[r], s = t[r];
|
|
@@ -6465,12 +6526,12 @@ function fu(e, t) {
|
|
|
6465
6526
|
}
|
|
6466
6527
|
return { ...e, ...n };
|
|
6467
6528
|
}
|
|
6468
|
-
function
|
|
6529
|
+
function mu(e) {
|
|
6469
6530
|
var r, o;
|
|
6470
6531
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6471
6532
|
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);
|
|
6472
6533
|
}
|
|
6473
|
-
var
|
|
6534
|
+
var gu = "VisuallyHidden", Jo = l.forwardRef(
|
|
6474
6535
|
(e, t) => /* @__PURE__ */ g.jsx(
|
|
6475
6536
|
$.span,
|
|
6476
6537
|
{
|
|
@@ -6493,13 +6554,13 @@ var mu = "VisuallyHidden", Jo = l.forwardRef(
|
|
|
6493
6554
|
}
|
|
6494
6555
|
)
|
|
6495
6556
|
);
|
|
6496
|
-
Jo.displayName =
|
|
6497
|
-
var
|
|
6557
|
+
Jo.displayName = gu;
|
|
6558
|
+
var hu = Jo, [pt, nd] = ae("Tooltip", [
|
|
6498
6559
|
ft
|
|
6499
|
-
]), mt = ft(), es = "TooltipProvider",
|
|
6560
|
+
]), mt = ft(), es = "TooltipProvider", vu = 700, zt = "tooltip.open", [bu, mn] = pt(es), ts = (e) => {
|
|
6500
6561
|
const {
|
|
6501
6562
|
__scopeTooltip: t,
|
|
6502
|
-
delayDuration: n =
|
|
6563
|
+
delayDuration: n = vu,
|
|
6503
6564
|
skipDelayDuration: r = 300,
|
|
6504
6565
|
disableHoverableContent: o = !1,
|
|
6505
6566
|
children: s
|
|
@@ -6508,7 +6569,7 @@ var gu = Jo, [pt, td] = ae("Tooltip", [
|
|
|
6508
6569
|
const d = u.current;
|
|
6509
6570
|
return () => window.clearTimeout(d);
|
|
6510
6571
|
}, []), /* @__PURE__ */ g.jsx(
|
|
6511
|
-
|
|
6572
|
+
bu,
|
|
6512
6573
|
{
|
|
6513
6574
|
scope: t,
|
|
6514
6575
|
isOpenDelayed: a,
|
|
@@ -6532,7 +6593,7 @@ var gu = Jo, [pt, td] = ae("Tooltip", [
|
|
|
6532
6593
|
);
|
|
6533
6594
|
};
|
|
6534
6595
|
ts.displayName = es;
|
|
6535
|
-
var gt = "Tooltip", [
|
|
6596
|
+
var gt = "Tooltip", [yu, Ge] = pt(gt), ns = (e) => {
|
|
6536
6597
|
const {
|
|
6537
6598
|
__scopeTooltip: t,
|
|
6538
6599
|
children: n,
|
|
@@ -6559,7 +6620,7 @@ var gt = "Tooltip", [bu, Ge] = pt(gt), ns = (e) => {
|
|
|
6559
6620
|
return l.useEffect(() => () => {
|
|
6560
6621
|
m.current && (window.clearTimeout(m.current), m.current = 0);
|
|
6561
6622
|
}, []), /* @__PURE__ */ g.jsx(_o, { ...u, children: /* @__PURE__ */ g.jsx(
|
|
6562
|
-
|
|
6623
|
+
yu,
|
|
6563
6624
|
{
|
|
6564
6625
|
scope: t,
|
|
6565
6626
|
contentId: h,
|
|
@@ -6610,24 +6671,24 @@ var Bt = "TooltipTrigger", rs = l.forwardRef(
|
|
|
6610
6671
|
}
|
|
6611
6672
|
);
|
|
6612
6673
|
rs.displayName = Bt;
|
|
6613
|
-
var gn = "TooltipPortal", [
|
|
6674
|
+
var gn = "TooltipPortal", [xu, wu] = pt(gn, {
|
|
6614
6675
|
forceMount: void 0
|
|
6615
6676
|
}), os = (e) => {
|
|
6616
6677
|
const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = Ge(gn, t);
|
|
6617
|
-
return /* @__PURE__ */ g.jsx(
|
|
6678
|
+
return /* @__PURE__ */ g.jsx(xu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(it, { asChild: !0, container: o, children: r }) }) });
|
|
6618
6679
|
};
|
|
6619
6680
|
os.displayName = gn;
|
|
6620
6681
|
var Te = "TooltipContent", ss = l.forwardRef(
|
|
6621
6682
|
(e, t) => {
|
|
6622
|
-
const n =
|
|
6623
|
-
return /* @__PURE__ */ g.jsx(ee, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ g.jsx(as, { side: o, ...s, ref: t }) : /* @__PURE__ */ g.jsx(
|
|
6683
|
+
const n = wu(Te, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, a = Ge(Te, e.__scopeTooltip);
|
|
6684
|
+
return /* @__PURE__ */ g.jsx(ee, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ g.jsx(as, { side: o, ...s, ref: t }) : /* @__PURE__ */ g.jsx(Cu, { side: o, ...s, ref: t }) });
|
|
6624
6685
|
}
|
|
6625
|
-
),
|
|
6686
|
+
), Cu = l.forwardRef((e, t) => {
|
|
6626
6687
|
const n = Ge(Te, e.__scopeTooltip), r = mn(Te, e.__scopeTooltip), o = l.useRef(null), s = z(t, o), [a, i] = l.useState(null), { trigger: c, onClose: u } = n, d = o.current, { onPointerInTransitChange: f } = r, h = l.useCallback(() => {
|
|
6627
6688
|
i(null), f(!1);
|
|
6628
6689
|
}, [f]), m = l.useCallback(
|
|
6629
6690
|
(v, p) => {
|
|
6630
|
-
const b = v.currentTarget, y = { x: v.clientX, y: v.clientY }, x =
|
|
6691
|
+
const b = v.currentTarget, y = { x: v.clientX, y: v.clientY }, x = Su(y, b.getBoundingClientRect()), C = Au(y, x), w = Nu(p.getBoundingClientRect()), E = Tu([...C, ...w]);
|
|
6631
6692
|
i(E), f(!0);
|
|
6632
6693
|
},
|
|
6633
6694
|
[f]
|
|
@@ -6642,13 +6703,13 @@ var Te = "TooltipContent", ss = l.forwardRef(
|
|
|
6642
6703
|
}, [c, d, m, h]), l.useEffect(() => {
|
|
6643
6704
|
if (a) {
|
|
6644
6705
|
const v = (p) => {
|
|
6645
|
-
const b = p.target, y = { x: p.clientX, y: p.clientY }, x = (c == null ? void 0 : c.contains(b)) || (d == null ? void 0 : d.contains(b)), C = !
|
|
6706
|
+
const b = p.target, y = { x: p.clientX, y: p.clientY }, x = (c == null ? void 0 : c.contains(b)) || (d == null ? void 0 : d.contains(b)), C = !Ou(y, a);
|
|
6646
6707
|
x ? h() : C && (h(), u());
|
|
6647
6708
|
};
|
|
6648
6709
|
return document.addEventListener("pointermove", v), () => document.removeEventListener("pointermove", v);
|
|
6649
6710
|
}
|
|
6650
6711
|
}, [c, d, a, u, h]), /* @__PURE__ */ g.jsx(as, { ...e, ref: s });
|
|
6651
|
-
}), [
|
|
6712
|
+
}), [Eu, Ru] = pt(gt, { isInside: !1 }), as = l.forwardRef(
|
|
6652
6713
|
(e, t) => {
|
|
6653
6714
|
const {
|
|
6654
6715
|
__scopeTooltip: n,
|
|
@@ -6692,7 +6753,7 @@ var Te = "TooltipContent", ss = l.forwardRef(
|
|
|
6692
6753
|
},
|
|
6693
6754
|
children: [
|
|
6694
6755
|
/* @__PURE__ */ g.jsx(Qo, { children: r }),
|
|
6695
|
-
/* @__PURE__ */ g.jsx(
|
|
6756
|
+
/* @__PURE__ */ g.jsx(Eu, { scope: n, isInside: !0, children: /* @__PURE__ */ g.jsx(hu, { id: c.contentId, role: "tooltip", children: o || r }) })
|
|
6696
6757
|
]
|
|
6697
6758
|
}
|
|
6698
6759
|
)
|
|
@@ -6701,17 +6762,17 @@ var Te = "TooltipContent", ss = l.forwardRef(
|
|
|
6701
6762
|
}
|
|
6702
6763
|
);
|
|
6703
6764
|
ss.displayName = Te;
|
|
6704
|
-
var is = "TooltipArrow",
|
|
6765
|
+
var is = "TooltipArrow", Pu = l.forwardRef(
|
|
6705
6766
|
(e, t) => {
|
|
6706
6767
|
const { __scopeTooltip: n, ...r } = e, o = mt(n);
|
|
6707
|
-
return
|
|
6768
|
+
return Ru(
|
|
6708
6769
|
is,
|
|
6709
6770
|
n
|
|
6710
6771
|
).isInside ? null : /* @__PURE__ */ g.jsx(Fo, { ...o, ...r, ref: t });
|
|
6711
6772
|
}
|
|
6712
6773
|
);
|
|
6713
|
-
|
|
6714
|
-
function
|
|
6774
|
+
Pu.displayName = is;
|
|
6775
|
+
function Su(e, t) {
|
|
6715
6776
|
const n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), o = Math.abs(t.right - e.x), s = Math.abs(t.left - e.x);
|
|
6716
6777
|
switch (Math.min(n, r, o, s)) {
|
|
6717
6778
|
case s:
|
|
@@ -6726,7 +6787,7 @@ function Pu(e, t) {
|
|
|
6726
6787
|
throw new Error("unreachable");
|
|
6727
6788
|
}
|
|
6728
6789
|
}
|
|
6729
|
-
function
|
|
6790
|
+
function Au(e, t, n = 5) {
|
|
6730
6791
|
const r = [];
|
|
6731
6792
|
switch (t) {
|
|
6732
6793
|
case "top":
|
|
@@ -6756,7 +6817,7 @@ function Su(e, t, n = 5) {
|
|
|
6756
6817
|
}
|
|
6757
6818
|
return r;
|
|
6758
6819
|
}
|
|
6759
|
-
function
|
|
6820
|
+
function Nu(e) {
|
|
6760
6821
|
const { top: t, right: n, bottom: r, left: o } = e;
|
|
6761
6822
|
return [
|
|
6762
6823
|
{ x: o, y: t },
|
|
@@ -6765,7 +6826,7 @@ function Au(e) {
|
|
|
6765
6826
|
{ x: o, y: r }
|
|
6766
6827
|
];
|
|
6767
6828
|
}
|
|
6768
|
-
function
|
|
6829
|
+
function Ou(e, t) {
|
|
6769
6830
|
const { x: n, y: r } = e;
|
|
6770
6831
|
let o = !1;
|
|
6771
6832
|
for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
|
|
@@ -6774,11 +6835,11 @@ function Nu(e, t) {
|
|
|
6774
6835
|
}
|
|
6775
6836
|
return o;
|
|
6776
6837
|
}
|
|
6777
|
-
function
|
|
6838
|
+
function Tu(e) {
|
|
6778
6839
|
const t = e.slice();
|
|
6779
|
-
return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0),
|
|
6840
|
+
return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), ku(t);
|
|
6780
6841
|
}
|
|
6781
|
-
function
|
|
6842
|
+
function ku(e) {
|
|
6782
6843
|
if (e.length <= 1) return e.slice();
|
|
6783
6844
|
const t = [];
|
|
6784
6845
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -6803,8 +6864,8 @@ function Tu(e) {
|
|
|
6803
6864
|
}
|
|
6804
6865
|
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);
|
|
6805
6866
|
}
|
|
6806
|
-
var
|
|
6807
|
-
const
|
|
6867
|
+
var Du = ts, ju = ns, Mu = rs, Iu = os, ls = ss;
|
|
6868
|
+
const rd = Du, _u = ju, Lu = Mu, cs = l.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ g.jsx(Iu, { children: /* @__PURE__ */ g.jsx(
|
|
6808
6869
|
ls,
|
|
6809
6870
|
{
|
|
6810
6871
|
ref: r,
|
|
@@ -6817,74 +6878,14 @@ const nd = ku, Iu = Du, _u = ju, cs = l.forwardRef(({ className: e, sideOffset:
|
|
|
6817
6878
|
}
|
|
6818
6879
|
) }));
|
|
6819
6880
|
cs.displayName = ls.displayName;
|
|
6820
|
-
const
|
|
6881
|
+
const od = ({
|
|
6821
6882
|
children: e,
|
|
6822
6883
|
title: t,
|
|
6823
6884
|
...n
|
|
6824
|
-
}) => t ? /* @__PURE__ */ g.jsxs(
|
|
6825
|
-
/* @__PURE__ */ g.jsx(
|
|
6885
|
+
}) => t ? /* @__PURE__ */ g.jsxs(_u, { ...n, children: [
|
|
6886
|
+
/* @__PURE__ */ g.jsx(Lu, { asChild: !0, children: /* @__PURE__ */ g.jsx("span", { className: "al-max-w-full", children: e }) }),
|
|
6826
6887
|
/* @__PURE__ */ g.jsx(cs, { children: t })
|
|
6827
|
-
] }) : /* @__PURE__ */ g.jsx(g.Fragment, { children: e })
|
|
6828
|
-
/**
|
|
6829
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6830
|
-
*
|
|
6831
|
-
* This source code is licensed under the MIT license.
|
|
6832
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6833
|
-
*/
|
|
6834
|
-
var Lu = {
|
|
6835
|
-
outline: {
|
|
6836
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6837
|
-
width: 24,
|
|
6838
|
-
height: 24,
|
|
6839
|
-
viewBox: "0 0 24 24",
|
|
6840
|
-
fill: "none",
|
|
6841
|
-
stroke: "currentColor",
|
|
6842
|
-
strokeWidth: 2,
|
|
6843
|
-
strokeLinecap: "round",
|
|
6844
|
-
strokeLinejoin: "round"
|
|
6845
|
-
},
|
|
6846
|
-
filled: {
|
|
6847
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6848
|
-
width: 24,
|
|
6849
|
-
height: 24,
|
|
6850
|
-
viewBox: "0 0 24 24",
|
|
6851
|
-
fill: "currentColor",
|
|
6852
|
-
stroke: "none"
|
|
6853
|
-
}
|
|
6854
|
-
};
|
|
6855
|
-
/**
|
|
6856
|
-
* @license @tabler/icons-react v3.34.1 - MIT
|
|
6857
|
-
*
|
|
6858
|
-
* This source code is licensed under the MIT license.
|
|
6859
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6860
|
-
*/
|
|
6861
|
-
const od = (e, t, n, r) => {
|
|
6862
|
-
const o = G(
|
|
6863
|
-
({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => ht(
|
|
6864
|
-
"svg",
|
|
6865
|
-
{
|
|
6866
|
-
ref: h,
|
|
6867
|
-
...Lu[e],
|
|
6868
|
-
width: a,
|
|
6869
|
-
height: a,
|
|
6870
|
-
className: ["tabler-icon", `tabler-icon-${t}`, u].join(" "),
|
|
6871
|
-
...e === "filled" ? {
|
|
6872
|
-
fill: s
|
|
6873
|
-
} : {
|
|
6874
|
-
strokeWidth: i,
|
|
6875
|
-
stroke: s
|
|
6876
|
-
},
|
|
6877
|
-
...f
|
|
6878
|
-
},
|
|
6879
|
-
[
|
|
6880
|
-
c && ht("title", { key: "svg-title" }, c),
|
|
6881
|
-
...r.map(([m, v]) => ht(m, v)),
|
|
6882
|
-
...Array.isArray(d) ? d : [d]
|
|
6883
|
-
]
|
|
6884
|
-
)
|
|
6885
|
-
);
|
|
6886
|
-
return o.displayName = `${n}`, o;
|
|
6887
|
-
}, sd = G(function({
|
|
6888
|
+
] }) : /* @__PURE__ */ g.jsx(g.Fragment, { children: e }), sd = G(function({
|
|
6888
6889
|
children: t,
|
|
6889
6890
|
wrap: n = !1,
|
|
6890
6891
|
justify: r,
|
|
@@ -6955,86 +6956,86 @@ const od = (e, t, n, r) => {
|
|
|
6955
6956
|
return /* @__PURE__ */ g.jsx("div", { ...u, className: h, ref: d, children: t });
|
|
6956
6957
|
});
|
|
6957
6958
|
export {
|
|
6958
|
-
|
|
6959
|
+
sa as $,
|
|
6959
6960
|
dn as A,
|
|
6960
|
-
|
|
6961
|
+
fr as B,
|
|
6961
6962
|
go as C,
|
|
6962
6963
|
mo as D,
|
|
6963
|
-
|
|
6964
|
+
_o as E,
|
|
6964
6965
|
qt as F,
|
|
6965
|
-
|
|
6966
|
-
|
|
6966
|
+
it as G,
|
|
6967
|
+
Pe as H,
|
|
6967
6968
|
Xa as I,
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6969
|
+
Yu as J,
|
|
6970
|
+
zc as K,
|
|
6971
|
+
be as L,
|
|
6972
|
+
Hu as M,
|
|
6973
|
+
da as N,
|
|
6973
6974
|
uo as O,
|
|
6974
6975
|
$ as P,
|
|
6975
|
-
|
|
6976
|
+
od as Q,
|
|
6976
6977
|
xl as R,
|
|
6977
6978
|
Qu as S,
|
|
6978
6979
|
wl as T,
|
|
6979
|
-
|
|
6980
|
+
Ju as U,
|
|
6980
6981
|
Jo as V,
|
|
6981
6982
|
Uu as W,
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6983
|
+
fa as X,
|
|
6984
|
+
cu as Y,
|
|
6985
|
+
td as Z,
|
|
6986
|
+
Nl as _,
|
|
6986
6987
|
ae as a,
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6988
|
+
Ol as a0,
|
|
6989
|
+
jl as a1,
|
|
6990
|
+
kl as a2,
|
|
6991
|
+
sd as a3,
|
|
6992
|
+
Tl as a4,
|
|
6993
|
+
Il as a5,
|
|
6993
6994
|
ii as a6,
|
|
6994
6995
|
dr as a7,
|
|
6995
|
-
|
|
6996
|
+
Vc as a8,
|
|
6996
6997
|
$o as a9,
|
|
6997
6998
|
Gu as aa,
|
|
6998
6999
|
Bu as ab,
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7000
|
+
rd as ac,
|
|
7001
|
+
_u as ad,
|
|
7002
|
+
Lu as ae,
|
|
7002
7003
|
cs as af,
|
|
7003
7004
|
ai as ag,
|
|
7004
7005
|
Dr as ah,
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7006
|
+
Ml as ai,
|
|
7007
|
+
Dl as aj,
|
|
7008
|
+
ru as ak,
|
|
7009
|
+
qu as al,
|
|
7010
|
+
Xu as am,
|
|
7011
|
+
Bc as an,
|
|
7012
|
+
Gc as ao,
|
|
7013
|
+
Hc as ap,
|
|
7014
|
+
Uc as aq,
|
|
7015
|
+
ed as ar,
|
|
7015
7016
|
je as b,
|
|
7016
7017
|
I as c,
|
|
7017
7018
|
k as d,
|
|
7018
7019
|
or as e,
|
|
7019
7020
|
Ut as f,
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7021
|
+
Ku as g,
|
|
7022
|
+
Cl as h,
|
|
7023
|
+
fo as i,
|
|
7024
|
+
po as j,
|
|
7025
|
+
Ht as k,
|
|
7026
|
+
De as l,
|
|
7027
|
+
Ma as m,
|
|
7028
|
+
ft as n,
|
|
7029
|
+
mr as o,
|
|
7030
|
+
ee as p,
|
|
7031
|
+
Ur as q,
|
|
7032
|
+
Lr as r,
|
|
7033
|
+
Ve as s,
|
|
7034
|
+
Ya as t,
|
|
7034
7035
|
z as u,
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7036
|
+
Lo as v,
|
|
7037
|
+
re as w,
|
|
7038
|
+
Fo as x,
|
|
7039
|
+
Zt as y,
|
|
7040
|
+
Ra as z
|
|
7040
7041
|
};
|