@gusto/embedded-react-sdk 0.5.0 → 0.6.0
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/CHANGELOG.md +79 -0
- package/dist/{HUY7CZI3-sPAWPtuq.js → 3VW64HDT-DZCphYiC.js} +3 -3
- package/dist/{HUY7CZI3-sPAWPtuq.js.map → 3VW64HDT-DZCphYiC.js.map} +1 -1
- package/dist/{B4MFY5CR-CqyfsoVo.js → 67EVQ76A-CpAwQIaO.js} +942 -942
- package/dist/67EVQ76A-CpAwQIaO.js.map +1 -0
- package/dist/Company.Locations-Cp9h8ZGu.js +74 -0
- package/dist/Company.Locations-Cp9h8ZGu.js.map +1 -0
- package/dist/Company.PaySchedule-CxoupNmN.js +74 -0
- package/dist/Company.PaySchedule-CxoupNmN.js.map +1 -0
- package/dist/{HO4MOOFI-2frVA61F.js → J3FDRF32-sHWjjvEV.js} +3 -3
- package/dist/{HO4MOOFI-2frVA61F.js.map → J3FDRF32-sHWjjvEV.js.map} +1 -1
- package/dist/{index-CqZomo0U.js → index-BjyRpZDE.js} +23527 -19602
- package/dist/index-BjyRpZDE.js.map +1 -0
- package/dist/index.d.ts +196 -18
- package/dist/index.js +49 -48
- package/dist/style.css +1 -1
- package/package.json +7 -4
- package/dist/B4MFY5CR-CqyfsoVo.js.map +0 -1
- package/dist/Company.PaySchedule-CMS2f4fy.js +0 -12
- package/dist/Company.PaySchedule-CMS2f4fy.js.map +0 -1
- package/dist/index-CqZomo0U.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as xe, d as R, o as At, e as B, c as M, a as p, P as _o, S as K, t as q, i as k, f as N, h as T, j as ys, k as nr, u as we, l as U, s as Un, m as Gn, n as
|
|
1
|
+
import { b as xe, d as R, o as At, e as B, c as M, a as p, P as _o, S as K, t as q, i as k, f as N, h as T, j as ys, k as nr, u as we, l as U, s as Un, m as Gn, n as ct, p as A, q as vs, r as an, v as Ke, w as bs, x as Ot, y as Rt, z as xs, A as ws, B as xn, F as $s, C as zr, D as zt, $ as qo, E as Cs, G as Ss, H as j, I as Kr, J as ks, K as Es, L as rr, M as Ms, N as Ds, O as qn, Q as As, R as Ts, T as Z, U as Fs, V as Is } from "./index-BjyRpZDE.js";
|
|
2
2
|
var Ps = (e) => e != null, Ls = (e) => e.filter(Ps);
|
|
3
3
|
function Os(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -45,13 +45,13 @@ function zs(e) {
|
|
|
45
45
|
let h = a.get(f);
|
|
46
46
|
h || (h = R(void 0, { equals: !1 }), a.set(f, h)), h[0]();
|
|
47
47
|
const m = o.reduce(
|
|
48
|
-
(y,
|
|
49
|
-
if (y !== null || !
|
|
48
|
+
(y, v) => {
|
|
49
|
+
if (y !== null || !v)
|
|
50
50
|
return y;
|
|
51
51
|
try {
|
|
52
|
-
return
|
|
53
|
-
} catch (
|
|
54
|
-
return r(
|
|
52
|
+
return v.getItem(`${s}${f}`);
|
|
53
|
+
} catch (b) {
|
|
54
|
+
return r(b, `Error reading ${s}${f} from ${v.name}`), null;
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
null
|
|
@@ -61,22 +61,22 @@ function zs(e) {
|
|
|
61
61
|
}
|
|
62
62
|
), i = (g, f, h) => {
|
|
63
63
|
const m = e?.serializer ? e.serializer(f, g, h ?? e.options) : f, y = `${s}${g}`;
|
|
64
|
-
o.forEach((
|
|
64
|
+
o.forEach((b) => {
|
|
65
65
|
try {
|
|
66
|
-
|
|
66
|
+
b.getItem(y) !== m && b.setItem(y, m);
|
|
67
67
|
} catch (x) {
|
|
68
|
-
r(x, `Error setting ${s}${g} to ${m} in ${
|
|
68
|
+
r(x, `Error setting ${s}${g} to ${m} in ${b.name}`);
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
},
|
|
71
|
+
const v = a.get(g);
|
|
72
|
+
v && v[1]();
|
|
73
|
+
}, c = (g) => o.forEach((f) => {
|
|
74
74
|
try {
|
|
75
75
|
f.removeItem(`${s}${g}`);
|
|
76
76
|
} catch (h) {
|
|
77
77
|
r(h, `Error removing ${s}${g} from ${f.name}`);
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), u = () => o.forEach((g) => {
|
|
80
80
|
try {
|
|
81
81
|
g.clear();
|
|
82
82
|
} catch (f) {
|
|
@@ -104,8 +104,8 @@ function zs(e) {
|
|
|
104
104
|
try {
|
|
105
105
|
for (; y = h.key(m++); )
|
|
106
106
|
g.hasOwnProperty(y) || f(y, h.getItem(y));
|
|
107
|
-
} catch (
|
|
108
|
-
r(
|
|
107
|
+
} catch (v) {
|
|
108
|
+
r(v, `Error getting all values from ${h.name}`);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}), g;
|
|
@@ -129,9 +129,9 @@ function zs(e) {
|
|
|
129
129
|
l,
|
|
130
130
|
i,
|
|
131
131
|
{
|
|
132
|
-
clear:
|
|
132
|
+
clear: u,
|
|
133
133
|
error: t,
|
|
134
|
-
remove:
|
|
134
|
+
remove: c,
|
|
135
135
|
toJSON: d
|
|
136
136
|
}
|
|
137
137
|
];
|
|
@@ -197,7 +197,7 @@ var Zd = zs, Ks = (e) => (typeof e.clear == "function" || (e.clear = () => {
|
|
|
197
197
|
function z() {
|
|
198
198
|
return we(js);
|
|
199
199
|
}
|
|
200
|
-
var Ko = xe(void 0),
|
|
200
|
+
var Ko = xe(void 0), e0 = (e) => {
|
|
201
201
|
const [t, n] = R(null), r = () => {
|
|
202
202
|
const a = t();
|
|
203
203
|
a != null && (a.close(), n(null));
|
|
@@ -209,16 +209,16 @@ var Ko = xe(void 0), ef = (e) => {
|
|
|
209
209
|
throw new Error("Failed to open popup. Please allow popups for this site to view the devtools in picture-in-picture mode.");
|
|
210
210
|
i.document.head.innerHTML = "", i.document.body.innerHTML = "", ys(i.document), i.document.title = "TanStack Query Devtools", i.document.body.style.margin = "0", i.addEventListener("pagehide", () => {
|
|
211
211
|
e.setLocalStore("pip_open", "false"), n(null);
|
|
212
|
-
}), [...(z().shadowDOMTarget || document).styleSheets].forEach((
|
|
212
|
+
}), [...(z().shadowDOMTarget || document).styleSheets].forEach((c) => {
|
|
213
213
|
try {
|
|
214
|
-
const
|
|
214
|
+
const u = [...c.cssRules].map((h) => h.cssText).join(""), d = document.createElement("style"), g = c.ownerNode;
|
|
215
215
|
let f = "";
|
|
216
|
-
g && "id" in g && (f = g.id), f && d.setAttribute("id", f), d.textContent =
|
|
216
|
+
g && "id" in g && (f = g.id), f && d.setAttribute("id", f), d.textContent = u, i.document.head.appendChild(d);
|
|
217
217
|
} catch {
|
|
218
218
|
const d = document.createElement("link");
|
|
219
|
-
if (
|
|
219
|
+
if (c.href == null)
|
|
220
220
|
return;
|
|
221
|
-
d.rel = "stylesheet", d.type =
|
|
221
|
+
d.rel = "stylesheet", d.type = c.type, d.media = c.media.toString(), d.href = c.href, i.document.head.appendChild(d);
|
|
222
222
|
}
|
|
223
223
|
}), nr(["focusin", "focusout", "pointermove", "keydown", "pointerdown", "pointerup", "click", "mousedown", "input"], i.document), e.setLocalStore("pip_open", "true"), n(i);
|
|
224
224
|
};
|
|
@@ -228,8 +228,8 @@ var Ko = xe(void 0), ef = (e) => {
|
|
|
228
228
|
const a = (z().shadowDOMTarget || document).querySelector("#_goober"), l = t();
|
|
229
229
|
if (a && l) {
|
|
230
230
|
const i = new MutationObserver(() => {
|
|
231
|
-
const
|
|
232
|
-
|
|
231
|
+
const c = (z().shadowDOMTarget || l.document).querySelector("#_goober");
|
|
232
|
+
c && (c.textContent = a.textContent);
|
|
233
233
|
});
|
|
234
234
|
i.observe(a, {
|
|
235
235
|
childList: !0,
|
|
@@ -263,7 +263,7 @@ var Ko = xe(void 0), ef = (e) => {
|
|
|
263
263
|
}), Ws = xe(
|
|
264
264
|
() => "dark"
|
|
265
265
|
);
|
|
266
|
-
function
|
|
266
|
+
function ve() {
|
|
267
267
|
return we(Ws);
|
|
268
268
|
}
|
|
269
269
|
var Bo = {
|
|
@@ -704,11 +704,11 @@ function Ur(e, t, n) {
|
|
|
704
704
|
const l = o[a];
|
|
705
705
|
let i = Gr(l.itemValue, t, n);
|
|
706
706
|
const {
|
|
707
|
-
minRanking:
|
|
708
|
-
maxRanking:
|
|
707
|
+
minRanking: c,
|
|
708
|
+
maxRanking: u,
|
|
709
709
|
threshold: d = n.threshold
|
|
710
710
|
} = l.attributes;
|
|
711
|
-
i <
|
|
711
|
+
i < c && i >= Ae.MATCHES ? i = c : i > u && (i = u), i = Math.min(i, u), i >= d && i > s.rank && (s.rank = i, s.passed = !0, s.accessorIndex = a, s.accessorThreshold = d, s.rankedValue = l.itemValue);
|
|
712
712
|
}
|
|
713
713
|
return s;
|
|
714
714
|
}
|
|
@@ -725,23 +725,23 @@ function Zs(e) {
|
|
|
725
725
|
}
|
|
726
726
|
function Js(e, t) {
|
|
727
727
|
let n = 0, r = 0;
|
|
728
|
-
function o(i,
|
|
729
|
-
for (let d =
|
|
730
|
-
if (
|
|
728
|
+
function o(i, c, u) {
|
|
729
|
+
for (let d = u, g = c.length; d < g; d++)
|
|
730
|
+
if (c[d] === i)
|
|
731
731
|
return n += 1, d + 1;
|
|
732
732
|
return -1;
|
|
733
733
|
}
|
|
734
734
|
function s(i) {
|
|
735
|
-
const
|
|
736
|
-
return Ae.MATCHES +
|
|
735
|
+
const c = 1 / i, u = n / t.length;
|
|
736
|
+
return Ae.MATCHES + u * c;
|
|
737
737
|
}
|
|
738
738
|
const a = o(t[0], e, 0);
|
|
739
739
|
if (a < 0)
|
|
740
740
|
return Ae.NO_MATCH;
|
|
741
741
|
r = a;
|
|
742
|
-
for (let i = 1,
|
|
743
|
-
const
|
|
744
|
-
if (r = o(
|
|
742
|
+
for (let i = 1, c = t.length; i < c; i++) {
|
|
743
|
+
const u = t[i];
|
|
744
|
+
if (r = o(u, e, r), !(r > -1))
|
|
745
745
|
return Ae.NO_MATCH;
|
|
746
746
|
}
|
|
747
747
|
const l = r - a;
|
|
@@ -763,7 +763,7 @@ function ta(e, t) {
|
|
|
763
763
|
const n = [];
|
|
764
764
|
for (let r = 0, o = t.length; r < o; r++) {
|
|
765
765
|
const s = t[r], a = na(s), l = ea(e, s);
|
|
766
|
-
for (let i = 0,
|
|
766
|
+
for (let i = 0, c = l.length; i < c; i++)
|
|
767
767
|
n.push({
|
|
768
768
|
itemValue: l[i],
|
|
769
769
|
attributes: a
|
|
@@ -798,23 +798,23 @@ var ra = { data: "" }, oa = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
798
798
|
return e;
|
|
799
799
|
}, aa = (e, t, n, r, o) => {
|
|
800
800
|
let s = No(e), a = st[s] || (st[s] = ((i) => {
|
|
801
|
-
let
|
|
802
|
-
for (;
|
|
803
|
-
|
|
804
|
-
return "go" +
|
|
801
|
+
let c = 0, u = 11;
|
|
802
|
+
for (; c < i.length; )
|
|
803
|
+
u = 101 * u + i.charCodeAt(c++) >>> 0;
|
|
804
|
+
return "go" + u;
|
|
805
805
|
})(s));
|
|
806
806
|
if (!st[a]) {
|
|
807
|
-
let i = s !== e ? e : ((
|
|
808
|
-
let
|
|
809
|
-
for (;
|
|
810
|
-
|
|
807
|
+
let i = s !== e ? e : ((c) => {
|
|
808
|
+
let u, d, g = [{}];
|
|
809
|
+
for (; u = ia.exec(c.replace(sa, "")); )
|
|
810
|
+
u[4] ? g.shift() : u[3] ? (d = u[3].replace(jr, " ").trim(), g.unshift(g[0][d] = g[0][d] || {})) : g[0][u[1]] = u[2].replace(jr, " ").trim();
|
|
811
811
|
return g[0];
|
|
812
812
|
})(e);
|
|
813
813
|
st[a] = kt(o ? { ["@keyframes " + a]: i } : i, n ? "" : "." + a);
|
|
814
814
|
}
|
|
815
815
|
let l = n && st.g ? st.g : null;
|
|
816
|
-
return n && (st.g = st[a]), ((i,
|
|
817
|
-
d ?
|
|
816
|
+
return n && (st.g = st[a]), ((i, c, u, d) => {
|
|
817
|
+
d ? c.data = c.data.replace(d, i) : c.data.indexOf(i) === -1 && (c.data = u ? i + c.data : c.data + i);
|
|
818
818
|
})(st[a], t, r, l), a;
|
|
819
819
|
}, la = (e, t, n) => e.reduce((r, o, s) => {
|
|
820
820
|
let a = t[s];
|
|
@@ -849,14 +849,14 @@ function O() {
|
|
|
849
849
|
(e = arguments[n]) && (t = Uo(e)) && (r && (r += " "), r += t);
|
|
850
850
|
return r;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function ca(e, t) {
|
|
853
853
|
const n = zt(e), { onChange: r } = t;
|
|
854
854
|
let o = new Set(t.appear ? void 0 : n);
|
|
855
|
-
const s = /* @__PURE__ */ new WeakSet(), [a, l] = R([], { equals: !1 }), [i] = Cs(),
|
|
855
|
+
const s = /* @__PURE__ */ new WeakSet(), [a, l] = R([], { equals: !1 }), [i] = Cs(), c = (d) => {
|
|
856
856
|
l((g) => (g.push.apply(g, d), g));
|
|
857
857
|
for (const g of d)
|
|
858
858
|
s.delete(g);
|
|
859
|
-
},
|
|
859
|
+
}, u = (d, g, f) => d.splice(f, 0, g);
|
|
860
860
|
return M(
|
|
861
861
|
(d) => {
|
|
862
862
|
const g = a(), f = e();
|
|
@@ -864,18 +864,18 @@ function ua(e, t) {
|
|
|
864
864
|
return i(), d;
|
|
865
865
|
if (g.length) {
|
|
866
866
|
const h = d.filter((m) => !g.includes(m));
|
|
867
|
-
return g.length = 0, r({ list: h, added: [], removed: [], unchanged: h, finishRemoved:
|
|
867
|
+
return g.length = 0, r({ list: h, added: [], removed: [], unchanged: h, finishRemoved: c }), h;
|
|
868
868
|
}
|
|
869
869
|
return zt(() => {
|
|
870
|
-
const h = new Set(f), m = f.slice(), y = [],
|
|
870
|
+
const h = new Set(f), m = f.slice(), y = [], v = [], b = [];
|
|
871
871
|
for (const w of f)
|
|
872
|
-
(o.has(w) ?
|
|
872
|
+
(o.has(w) ? b : y).push(w);
|
|
873
873
|
let x = !y.length;
|
|
874
874
|
for (let w = 0; w < d.length; w++) {
|
|
875
875
|
const $ = d[w];
|
|
876
|
-
h.has($) || (s.has($) || (
|
|
876
|
+
h.has($) || (s.has($) || (v.push($), s.add($)), u(m, $, w)), x && $ !== m[w] && (x = !1);
|
|
877
877
|
}
|
|
878
|
-
return !
|
|
878
|
+
return !v.length && x ? d : (r({ list: m, added: y, removed: v, unchanged: b, finishRemoved: c }), o = h, m);
|
|
879
879
|
});
|
|
880
880
|
},
|
|
881
881
|
t.appear ? [] : n.slice()
|
|
@@ -900,7 +900,7 @@ function jn(e, t) {
|
|
|
900
900
|
}
|
|
901
901
|
return null;
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function ua(e, t = Wr, n = Wr) {
|
|
904
904
|
const r = M(e), o = M(
|
|
905
905
|
() => jn(r(), t)
|
|
906
906
|
);
|
|
@@ -952,7 +952,7 @@ function ga(e, t, n, r) {
|
|
|
952
952
|
}
|
|
953
953
|
var Qr = (e) => {
|
|
954
954
|
const t = da(e);
|
|
955
|
-
return ua(
|
|
955
|
+
return ca(ua(() => e.children).toArray, {
|
|
956
956
|
appear: e.appear,
|
|
957
957
|
onChange({ added: n, removed: r, finishRemoved: o, list: s }) {
|
|
958
958
|
const a = t();
|
|
@@ -963,17 +963,17 @@ var Qr = (e) => {
|
|
|
963
963
|
i.isConnected && (i instanceof HTMLElement || i instanceof SVGElement) && l.push({ el: i, rect: i.getBoundingClientRect() });
|
|
964
964
|
queueMicrotask(() => {
|
|
965
965
|
const i = [];
|
|
966
|
-
for (const { el:
|
|
967
|
-
if (
|
|
968
|
-
const d =
|
|
969
|
-
(g || f) && (
|
|
966
|
+
for (const { el: c, rect: u } of l)
|
|
967
|
+
if (c.isConnected) {
|
|
968
|
+
const d = c.getBoundingClientRect(), g = u.left - d.left, f = u.top - d.top;
|
|
969
|
+
(g || f) && (c.style.transform = `translate(${g}px, ${f}px)`, c.style.transitionDuration = "0s", i.push(c));
|
|
970
970
|
}
|
|
971
971
|
document.body.offsetHeight;
|
|
972
|
-
for (const
|
|
973
|
-
let
|
|
974
|
-
(d.target ===
|
|
972
|
+
for (const c of i) {
|
|
973
|
+
let u = function(d) {
|
|
974
|
+
(d.target === c || /transform$/.test(d.propertyName)) && (c.removeEventListener("transitionend", u), c.classList.remove(...a.move));
|
|
975
975
|
};
|
|
976
|
-
|
|
976
|
+
c.classList.add(...a.move), c.style.transform = c.style.transitionDuration = "", c.addEventListener("transitionend", u);
|
|
977
977
|
}
|
|
978
978
|
});
|
|
979
979
|
for (const i of r)
|
|
@@ -995,33 +995,33 @@ function ha(e, t, n, r = {}) {
|
|
|
995
995
|
const l = new Array(a.length), i = o.get(Rn);
|
|
996
996
|
if (!o.size || i) {
|
|
997
997
|
i?.dispose(), o.delete(Rn);
|
|
998
|
-
for (let
|
|
999
|
-
const d = a[
|
|
1000
|
-
s(l, d,
|
|
998
|
+
for (let u = 0; u < a.length; u++) {
|
|
999
|
+
const d = a[u], g = t(d, u);
|
|
1000
|
+
s(l, d, u, g);
|
|
1001
1001
|
}
|
|
1002
1002
|
return l;
|
|
1003
1003
|
}
|
|
1004
|
-
const
|
|
1005
|
-
for (let
|
|
1006
|
-
const d = a[
|
|
1007
|
-
|
|
1004
|
+
const c = new Set(o.keys());
|
|
1005
|
+
for (let u = 0; u < a.length; u++) {
|
|
1006
|
+
const d = a[u], g = t(d, u);
|
|
1007
|
+
c.delete(g);
|
|
1008
1008
|
const f = o.get(g);
|
|
1009
|
-
f ? (l[
|
|
1009
|
+
f ? (l[u] = f.mapped, f.setIndex?.(u), f.setItem(() => d)) : s(l, d, u, g);
|
|
1010
1010
|
}
|
|
1011
|
-
for (const
|
|
1012
|
-
o.get(
|
|
1011
|
+
for (const u of c)
|
|
1012
|
+
o.get(u)?.dispose(), o.delete(u);
|
|
1013
1013
|
return l;
|
|
1014
1014
|
});
|
|
1015
1015
|
};
|
|
1016
|
-
function s(a, l, i,
|
|
1017
|
-
Kr((
|
|
1018
|
-
const [d, g] = R(l), f = { setItem: g, dispose:
|
|
1016
|
+
function s(a, l, i, c) {
|
|
1017
|
+
Kr((u) => {
|
|
1018
|
+
const [d, g] = R(l), f = { setItem: g, dispose: u };
|
|
1019
1019
|
if (n.length > 1) {
|
|
1020
1020
|
const [h, m] = R(i);
|
|
1021
1021
|
f.setIndex = m, f.mapped = n(d, h);
|
|
1022
1022
|
} else
|
|
1023
1023
|
f.mapped = n(d);
|
|
1024
|
-
o.set(
|
|
1024
|
+
o.set(c, f), a[i] = f.mapped;
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
@@ -1057,8 +1057,8 @@ function ya(e, t) {
|
|
|
1057
1057
|
function Vo(e, t, n) {
|
|
1058
1058
|
const r = /* @__PURE__ */ new WeakMap(), { observe: o, unobserve: s } = ya((a) => {
|
|
1059
1059
|
for (const l of a) {
|
|
1060
|
-
const { contentRect: i, target:
|
|
1061
|
-
(!g || g.width !==
|
|
1060
|
+
const { contentRect: i, target: c } = l, u = Math.round(i.width), d = Math.round(i.height), g = r.get(c);
|
|
1061
|
+
(!g || g.width !== u || g.height !== d) && (t(i, c, l), r.set(c, { width: u, height: d }));
|
|
1062
1062
|
}
|
|
1063
1063
|
}, n);
|
|
1064
1064
|
B((a) => {
|
|
@@ -1066,11 +1066,11 @@ function Vo(e, t, n) {
|
|
|
1066
1066
|
return Rs(l, a, o, s), l;
|
|
1067
1067
|
}, []);
|
|
1068
1068
|
}
|
|
1069
|
-
var
|
|
1069
|
+
var va = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
1070
1070
|
function Xr(e) {
|
|
1071
1071
|
const t = {};
|
|
1072
1072
|
let n;
|
|
1073
|
-
for (; n =
|
|
1073
|
+
for (; n = va.exec(e); )
|
|
1074
1074
|
t[n[1]] = n[2];
|
|
1075
1075
|
return t;
|
|
1076
1076
|
}
|
|
@@ -1082,7 +1082,7 @@ function Dn(e, t) {
|
|
|
1082
1082
|
} else typeof t == "string" && (t = Xr(t));
|
|
1083
1083
|
return { ...e, ...t };
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function ba(e, t, n = -1) {
|
|
1086
1086
|
return n in e ? [...e.slice(0, n), t, ...e.slice(n)] : [...e, t];
|
|
1087
1087
|
}
|
|
1088
1088
|
function Wn(e, t) {
|
|
@@ -1152,13 +1152,13 @@ function ka() {
|
|
|
1152
1152
|
function Ea() {
|
|
1153
1153
|
return An() || ka();
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1155
|
+
function ue(e, t) {
|
|
1156
1156
|
return t && (wa(t) ? t(e) : t[0](t[1], e)), e?.defaultPrevented;
|
|
1157
1157
|
}
|
|
1158
1158
|
function ye(e) {
|
|
1159
1159
|
return (t) => {
|
|
1160
1160
|
for (const n of e)
|
|
1161
|
-
|
|
1161
|
+
ue(t, n);
|
|
1162
1162
|
};
|
|
1163
1163
|
}
|
|
1164
1164
|
function Ma(e) {
|
|
@@ -1237,13 +1237,13 @@ function Zr(e) {
|
|
|
1237
1237
|
return Qo(e) && !Pa(e);
|
|
1238
1238
|
}
|
|
1239
1239
|
function Qo(e) {
|
|
1240
|
-
return e.matches(lr) &&
|
|
1240
|
+
return e.matches(lr) && cr(e);
|
|
1241
1241
|
}
|
|
1242
1242
|
function Pa(e) {
|
|
1243
1243
|
return parseInt(e.getAttribute("tabindex") || "0", 10) < 0;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return e.nodeName !== "#comment" && La(e) && Oa(e, t) && (!e.parentElement ||
|
|
1245
|
+
function cr(e, t) {
|
|
1246
|
+
return e.nodeName !== "#comment" && La(e) && Oa(e, t) && (!e.parentElement || cr(e.parentElement, e));
|
|
1247
1247
|
}
|
|
1248
1248
|
function La(e) {
|
|
1249
1249
|
if (!(e instanceof HTMLElement) && !(e instanceof SVGElement))
|
|
@@ -1264,7 +1264,7 @@ function Oa(e, t) {
|
|
|
1264
1264
|
function _a(e, t, n) {
|
|
1265
1265
|
const r = t?.tabbable ? Ia : lr, o = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
1266
1266
|
acceptNode(s) {
|
|
1267
|
-
return t?.from?.contains(s) ? NodeFilter.FILTER_REJECT : s.matches(r) &&
|
|
1267
|
+
return t?.from?.contains(s) ? NodeFilter.FILTER_REJECT : s.matches(r) && cr(s) && (!t?.accept || t.accept(s)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
1268
1268
|
}
|
|
1269
1269
|
});
|
|
1270
1270
|
return t?.from && (o.currentNode = t.from), o;
|
|
@@ -1285,20 +1285,20 @@ function za(e, t) {
|
|
|
1285
1285
|
let o = !1;
|
|
1286
1286
|
const s = t.length;
|
|
1287
1287
|
for (let a = s, l = 0, i = a - 1; l < a; i = l++) {
|
|
1288
|
-
const [
|
|
1289
|
-
if (g <
|
|
1290
|
-
if (r >= g && r <
|
|
1288
|
+
const [c, u] = t[l], [d, g] = t[i], [, f] = t[i === 0 ? a - 1 : i - 1] || [0, 0], h = (u - g) * (n - c) - (c - d) * (r - u);
|
|
1289
|
+
if (g < u) {
|
|
1290
|
+
if (r >= g && r < u) {
|
|
1291
1291
|
if (h === 0)
|
|
1292
1292
|
return !0;
|
|
1293
1293
|
h > 0 && (r === g ? r > f && (o = !o) : o = !o);
|
|
1294
1294
|
}
|
|
1295
|
-
} else if (
|
|
1296
|
-
if (r >
|
|
1295
|
+
} else if (u < g) {
|
|
1296
|
+
if (r > u && r <= g) {
|
|
1297
1297
|
if (h === 0)
|
|
1298
1298
|
return !0;
|
|
1299
1299
|
h < 0 && (r === g ? r < f && (o = !o) : o = !o);
|
|
1300
1300
|
}
|
|
1301
|
-
} else if (r ==
|
|
1301
|
+
} else if (r == u && (n >= d && n <= c || n >= c && n <= d))
|
|
1302
1302
|
return !0;
|
|
1303
1303
|
}
|
|
1304
1304
|
return o;
|
|
@@ -1331,8 +1331,8 @@ typeof document < "u" && (document.readyState !== "loading" ? to() : document.ad
|
|
|
1331
1331
|
function Qn(e, t) {
|
|
1332
1332
|
const n = no(e, t, "left"), r = no(e, t, "top"), o = t.offsetWidth, s = t.offsetHeight;
|
|
1333
1333
|
let a = e.scrollLeft, l = e.scrollTop;
|
|
1334
|
-
const i = a + e.offsetWidth,
|
|
1335
|
-
n <= a ? a = n : n + o > i && (a += n + o - i), r <= l ? l = r : r + s >
|
|
1334
|
+
const i = a + e.offsetWidth, c = l + e.offsetHeight;
|
|
1335
|
+
n <= a ? a = n : n + o > i && (a += n + o - i), r <= l ? l = r : r + s > c && (l += r + s - c), e.scrollLeft = a, e.scrollTop = l;
|
|
1336
1336
|
}
|
|
1337
1337
|
function no(e, t, n) {
|
|
1338
1338
|
const r = n === "left" ? "offsetLeft" : "offsetTop";
|
|
@@ -1402,19 +1402,19 @@ var Ba = ["id", "name", "validationState", "required", "disabled", "readOnly"];
|
|
|
1402
1402
|
function Na(e) {
|
|
1403
1403
|
const t = `form-control-${Ke()}`, n = Q({
|
|
1404
1404
|
id: t
|
|
1405
|
-
}, e), [r, o] = R(), [s, a] = R(), [l, i] = R(), [
|
|
1406
|
-
const
|
|
1405
|
+
}, e), [r, o] = R(), [s, a] = R(), [l, i] = R(), [c, u] = R(), d = (m, y, v) => {
|
|
1406
|
+
const b = v != null || r() != null;
|
|
1407
1407
|
return [
|
|
1408
|
-
|
|
1408
|
+
v,
|
|
1409
1409
|
r(),
|
|
1410
1410
|
// If there is both an aria-label and aria-labelledby, add the field itself has an aria-labelledby
|
|
1411
|
-
|
|
1411
|
+
b && y != null ? m : void 0
|
|
1412
1412
|
].filter(Boolean).join(" ") || void 0;
|
|
1413
1413
|
}, g = (m) => [
|
|
1414
1414
|
l(),
|
|
1415
1415
|
// Use aria-describedby for error message because aria-errormessage is unsupported using VoiceOver or NVDA.
|
|
1416
1416
|
// See https://github.com/adobe/react-spectrum/issues/1346#issuecomment-740136268
|
|
1417
|
-
|
|
1417
|
+
c(),
|
|
1418
1418
|
m
|
|
1419
1419
|
].filter(Boolean).join(" ") || void 0, f = M(() => ({
|
|
1420
1420
|
"data-valid": E(n.validationState) === "valid" ? "" : void 0,
|
|
@@ -1434,26 +1434,26 @@ function Na(e) {
|
|
|
1434
1434
|
labelId: r,
|
|
1435
1435
|
fieldId: s,
|
|
1436
1436
|
descriptionId: l,
|
|
1437
|
-
errorMessageId:
|
|
1437
|
+
errorMessageId: c,
|
|
1438
1438
|
getAriaLabelledBy: d,
|
|
1439
1439
|
getAriaDescribedBy: g,
|
|
1440
1440
|
generateId: ln(() => E(n.id)),
|
|
1441
1441
|
registerLabel: ze(o),
|
|
1442
1442
|
registerField: ze(a),
|
|
1443
1443
|
registerDescription: ze(i),
|
|
1444
|
-
registerErrorMessage: ze(
|
|
1444
|
+
registerErrorMessage: ze(u)
|
|
1445
1445
|
}
|
|
1446
1446
|
};
|
|
1447
1447
|
}
|
|
1448
1448
|
var Xo = xe();
|
|
1449
|
-
function
|
|
1449
|
+
function cn() {
|
|
1450
1450
|
const e = we(Xo);
|
|
1451
1451
|
if (e === void 0)
|
|
1452
1452
|
throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");
|
|
1453
1453
|
return e;
|
|
1454
1454
|
}
|
|
1455
1455
|
function Zo(e) {
|
|
1456
|
-
const t =
|
|
1456
|
+
const t = cn(), n = Q({
|
|
1457
1457
|
id: t.generateId("description")
|
|
1458
1458
|
}, e);
|
|
1459
1459
|
return B(() => U(t.registerDescription(n.id))), p(de, j({
|
|
@@ -1461,7 +1461,7 @@ function Zo(e) {
|
|
|
1461
1461
|
}, () => t.dataset(), n));
|
|
1462
1462
|
}
|
|
1463
1463
|
function Jo(e) {
|
|
1464
|
-
const t =
|
|
1464
|
+
const t = cn(), n = Q({
|
|
1465
1465
|
id: t.generateId("error-message")
|
|
1466
1466
|
}, e), [r, o] = Z(n, ["forceMount"]), s = () => t.validationState() === "invalid";
|
|
1467
1467
|
return B(() => {
|
|
@@ -1479,13 +1479,13 @@ function Jo(e) {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
function Ua(e) {
|
|
1481
1481
|
let t;
|
|
1482
|
-
const n =
|
|
1482
|
+
const n = cn(), r = Q({
|
|
1483
1483
|
id: n.generateId("label")
|
|
1484
1484
|
}, e), [o, s] = Z(r, ["ref"]), a = Tn(() => t, () => "label");
|
|
1485
1485
|
return B(() => U(n.registerLabel(s.id))), p(de, j({
|
|
1486
1486
|
as: "label",
|
|
1487
1487
|
ref(l) {
|
|
1488
|
-
const i = Me((
|
|
1488
|
+
const i = Me((c) => t = c, o.ref);
|
|
1489
1489
|
typeof i == "function" && i(l);
|
|
1490
1490
|
},
|
|
1491
1491
|
get for() {
|
|
@@ -1495,7 +1495,7 @@ function Ua(e) {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
function Ga(e, t) {
|
|
1497
1497
|
B(
|
|
1498
|
-
|
|
1498
|
+
ct(e, (n) => {
|
|
1499
1499
|
if (n == null)
|
|
1500
1500
|
return;
|
|
1501
1501
|
const r = Va(n);
|
|
@@ -1511,7 +1511,7 @@ function Va(e) {
|
|
|
1511
1511
|
function Ha(e) {
|
|
1512
1512
|
return e.matches("textarea, input, select, button");
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function un(e) {
|
|
1515
1515
|
const [t, n] = R(e.defaultValue?.()), r = M(() => e.value?.() !== void 0), o = M(() => r() ? e.value?.() : t());
|
|
1516
1516
|
return [o, (a) => {
|
|
1517
1517
|
zt(() => {
|
|
@@ -1521,11 +1521,11 @@ function cn(e) {
|
|
|
1521
1521
|
}];
|
|
1522
1522
|
}
|
|
1523
1523
|
function ei(e) {
|
|
1524
|
-
const [t, n] =
|
|
1524
|
+
const [t, n] = un(e);
|
|
1525
1525
|
return [() => t() ?? !1, n];
|
|
1526
1526
|
}
|
|
1527
1527
|
function ja(e) {
|
|
1528
|
-
const [t, n] =
|
|
1528
|
+
const [t, n] = un(e);
|
|
1529
1529
|
return [() => t() ?? [], n];
|
|
1530
1530
|
}
|
|
1531
1531
|
function Wa(e = {}) {
|
|
@@ -1632,7 +1632,7 @@ function nl(e = {}) {
|
|
|
1632
1632
|
tl(t, n);
|
|
1633
1633
|
const r = (s) => (n((a) => {
|
|
1634
1634
|
const l = Xa(a, s);
|
|
1635
|
-
return
|
|
1635
|
+
return ba(a, s, l);
|
|
1636
1636
|
}), () => {
|
|
1637
1637
|
n((a) => {
|
|
1638
1638
|
const l = a.filter(
|
|
@@ -1662,18 +1662,18 @@ function ii(e) {
|
|
|
1662
1662
|
const n = e.startLevel ?? 0, r = [], o = (i) => {
|
|
1663
1663
|
if (i == null)
|
|
1664
1664
|
return "";
|
|
1665
|
-
const
|
|
1666
|
-
return
|
|
1665
|
+
const c = e.getKey ?? "key", u = _t(c) ? i[c] : c(i);
|
|
1666
|
+
return u != null ? String(u) : "";
|
|
1667
1667
|
}, s = (i) => {
|
|
1668
1668
|
if (i == null)
|
|
1669
1669
|
return "";
|
|
1670
|
-
const
|
|
1671
|
-
return
|
|
1670
|
+
const c = e.getTextValue ?? "textValue", u = _t(c) ? i[c] : c(i);
|
|
1671
|
+
return u != null ? String(u) : "";
|
|
1672
1672
|
}, a = (i) => {
|
|
1673
1673
|
if (i == null)
|
|
1674
1674
|
return !1;
|
|
1675
|
-
const
|
|
1676
|
-
return (_t(
|
|
1675
|
+
const c = e.getDisabled ?? "disabled";
|
|
1676
|
+
return (_t(c) ? i[c] : c(i)) ?? !1;
|
|
1677
1677
|
}, l = (i) => {
|
|
1678
1678
|
if (i != null)
|
|
1679
1679
|
return _t(e.getSectionChildren) ? i[e.getSectionChildren] : e.getSectionChildren?.(i);
|
|
@@ -1704,10 +1704,10 @@ function ii(e) {
|
|
|
1704
1704
|
level: n,
|
|
1705
1705
|
index: t
|
|
1706
1706
|
}), t++;
|
|
1707
|
-
const
|
|
1708
|
-
if (
|
|
1709
|
-
const
|
|
1710
|
-
dataSource:
|
|
1707
|
+
const c = l(i) ?? [];
|
|
1708
|
+
if (c.length > 0) {
|
|
1709
|
+
const u = ii({
|
|
1710
|
+
dataSource: c,
|
|
1711
1711
|
getKey: e.getKey,
|
|
1712
1712
|
getTextValue: e.getTextValue,
|
|
1713
1713
|
getDisabled: e.getDisabled,
|
|
@@ -1715,7 +1715,7 @@ function ii(e) {
|
|
|
1715
1715
|
startIndex: t,
|
|
1716
1716
|
startLevel: n + 1
|
|
1717
1717
|
});
|
|
1718
|
-
r.push(...
|
|
1718
|
+
r.push(...u), t += u.length;
|
|
1719
1719
|
}
|
|
1720
1720
|
} else
|
|
1721
1721
|
r.push({
|
|
@@ -1803,7 +1803,7 @@ function oo() {
|
|
|
1803
1803
|
for (const e of en)
|
|
1804
1804
|
e(Yn);
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function cl() {
|
|
1807
1807
|
const [e, t] = R(Yn), n = M(
|
|
1808
1808
|
() => e()
|
|
1809
1809
|
);
|
|
@@ -1816,14 +1816,14 @@ function ul() {
|
|
|
1816
1816
|
direction: () => n().direction
|
|
1817
1817
|
};
|
|
1818
1818
|
}
|
|
1819
|
-
var
|
|
1819
|
+
var ul = xe();
|
|
1820
1820
|
function wt() {
|
|
1821
|
-
const e =
|
|
1822
|
-
return we(
|
|
1821
|
+
const e = cl();
|
|
1822
|
+
return we(ul) || e;
|
|
1823
1823
|
}
|
|
1824
1824
|
var zn = /* @__PURE__ */ new Map();
|
|
1825
1825
|
function dl(e) {
|
|
1826
|
-
const { locale: t } = wt(), n = M(() => t() + Object.entries(e).sort((r, o) => r[0] < o[0] ? -1 : 1).join());
|
|
1826
|
+
const { locale: t } = wt(), n = M(() => t() + (e ? Object.entries(e).sort((r, o) => r[0] < o[0] ? -1 : 1).join() : ""));
|
|
1827
1827
|
return M(() => {
|
|
1828
1828
|
const r = n();
|
|
1829
1829
|
let o;
|
|
@@ -1838,7 +1838,7 @@ var at = class ai extends Set {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
};
|
|
1840
1840
|
function fl(e) {
|
|
1841
|
-
const [t, n] =
|
|
1841
|
+
const [t, n] = un(e);
|
|
1842
1842
|
return [() => t() ?? new at(), n];
|
|
1843
1843
|
}
|
|
1844
1844
|
function li(e) {
|
|
@@ -1871,22 +1871,22 @@ function hl(e) {
|
|
|
1871
1871
|
}), l = M(() => {
|
|
1872
1872
|
const m = E(t.defaultSelectedKeys);
|
|
1873
1873
|
return m != null ? io(m) : new at();
|
|
1874
|
-
}), [i,
|
|
1874
|
+
}), [i, c] = fl({
|
|
1875
1875
|
value: a,
|
|
1876
1876
|
defaultValue: l,
|
|
1877
1877
|
onChange: (m) => t.onSelectionChange?.(m)
|
|
1878
|
-
}), [
|
|
1879
|
-
(E(t.allowDuplicateSelectionEvents) || !gl(m, i())) &&
|
|
1878
|
+
}), [u, d] = R(E(t.selectionBehavior)), g = () => E(t.selectionMode), f = () => E(t.disallowEmptySelection) ?? !1, h = (m) => {
|
|
1879
|
+
(E(t.allowDuplicateSelectionEvents) || !gl(m, i())) && c(m);
|
|
1880
1880
|
};
|
|
1881
1881
|
return B(() => {
|
|
1882
1882
|
const m = i();
|
|
1883
|
-
E(t.selectionBehavior) === "replace" &&
|
|
1883
|
+
E(t.selectionBehavior) === "replace" && u() === "toggle" && typeof m == "object" && m.size === 0 && d("replace");
|
|
1884
1884
|
}), B(() => {
|
|
1885
1885
|
d(E(t.selectionBehavior) ?? "toggle");
|
|
1886
1886
|
}), {
|
|
1887
1887
|
selectionMode: g,
|
|
1888
1888
|
disallowEmptySelection: f,
|
|
1889
|
-
selectionBehavior:
|
|
1889
|
+
selectionBehavior: u,
|
|
1890
1890
|
setSelectionBehavior: d,
|
|
1891
1891
|
isFocused: n,
|
|
1892
1892
|
setFocused: r,
|
|
@@ -1906,12 +1906,12 @@ function pl(e) {
|
|
|
1906
1906
|
const l = E(e.keyboardDelegate), i = E(e.selectionManager);
|
|
1907
1907
|
if (!l.getKeyForSearch)
|
|
1908
1908
|
return;
|
|
1909
|
-
const
|
|
1910
|
-
if (!
|
|
1909
|
+
const c = ml(a.key);
|
|
1910
|
+
if (!c || a.ctrlKey || a.metaKey)
|
|
1911
1911
|
return;
|
|
1912
|
-
|
|
1913
|
-
let
|
|
1914
|
-
d == null && yl(
|
|
1912
|
+
c === " " && t().trim().length > 0 && (a.preventDefault(), a.stopPropagation());
|
|
1913
|
+
let u = n((g) => g + c), d = l.getKeyForSearch(u, i.focusedKey()) ?? l.getKeyForSearch(u);
|
|
1914
|
+
d == null && yl(u) && (u = u[0], d = l.getKeyForSearch(u, i.focusedKey()) ?? l.getKeyForSearch(u)), d != null && (i.setFocusedKey(d), e.onTypeSelect?.(d)), clearTimeout(r()), o(window.setTimeout(() => n(""), 500));
|
|
1915
1915
|
}
|
|
1916
1916
|
}
|
|
1917
1917
|
};
|
|
@@ -1922,7 +1922,7 @@ function ml(e) {
|
|
|
1922
1922
|
function yl(e) {
|
|
1923
1923
|
return e.split("").every((t) => t === e[0]);
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function vl(e, t, n) {
|
|
1926
1926
|
const o = j({
|
|
1927
1927
|
selectOnFocus: () => E(e.selectionManager).selectionBehavior() === "replace"
|
|
1928
1928
|
}, e), s = () => t(), { direction: a } = wt();
|
|
@@ -1942,16 +1942,16 @@ function bl(e, t, n) {
|
|
|
1942
1942
|
isDisabled: () => E(o.disallowTypeAhead),
|
|
1943
1943
|
keyboardDelegate: () => E(o.keyboardDelegate),
|
|
1944
1944
|
selectionManager: () => E(o.selectionManager)
|
|
1945
|
-
}),
|
|
1946
|
-
|
|
1947
|
-
const
|
|
1948
|
-
if (!
|
|
1945
|
+
}), c = () => E(o.orientation) ?? "vertical", u = (y) => {
|
|
1946
|
+
ue(y, i.onKeyDown), y.altKey && y.key === "Tab" && y.preventDefault();
|
|
1947
|
+
const v = t();
|
|
1948
|
+
if (!v?.contains(y.target))
|
|
1949
1949
|
return;
|
|
1950
|
-
const
|
|
1951
|
-
P != null && (
|
|
1952
|
-
}, $ = E(o.keyboardDelegate), L = E(o.shouldFocusWrap), F =
|
|
1950
|
+
const b = E(o.selectionManager), x = E(o.selectOnFocus), w = (P) => {
|
|
1951
|
+
P != null && (b.setFocusedKey(P), y.shiftKey && b.selectionMode() === "multiple" ? b.extendSelection(P) : x && !li(y) && b.replaceSelection(P));
|
|
1952
|
+
}, $ = E(o.keyboardDelegate), L = E(o.shouldFocusWrap), F = b.focusedKey();
|
|
1953
1953
|
switch (y.key) {
|
|
1954
|
-
case (
|
|
1954
|
+
case (c() === "vertical" ? "ArrowDown" : "ArrowRight"): {
|
|
1955
1955
|
if ($.getKeyBelow) {
|
|
1956
1956
|
y.preventDefault();
|
|
1957
1957
|
let P;
|
|
@@ -1959,7 +1959,7 @@ function bl(e, t, n) {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
break;
|
|
1961
1961
|
}
|
|
1962
|
-
case (
|
|
1962
|
+
case (c() === "vertical" ? "ArrowUp" : "ArrowLeft"): {
|
|
1963
1963
|
if ($.getKeyAbove) {
|
|
1964
1964
|
y.preventDefault();
|
|
1965
1965
|
let P;
|
|
@@ -1967,7 +1967,7 @@ function bl(e, t, n) {
|
|
|
1967
1967
|
}
|
|
1968
1968
|
break;
|
|
1969
1969
|
}
|
|
1970
|
-
case (
|
|
1970
|
+
case (c() === "vertical" ? "ArrowLeft" : "ArrowUp"): {
|
|
1971
1971
|
if ($.getKeyLeftOf) {
|
|
1972
1972
|
y.preventDefault();
|
|
1973
1973
|
const P = a() === "rtl";
|
|
@@ -1976,7 +1976,7 @@ function bl(e, t, n) {
|
|
|
1976
1976
|
}
|
|
1977
1977
|
break;
|
|
1978
1978
|
}
|
|
1979
|
-
case (
|
|
1979
|
+
case (c() === "vertical" ? "ArrowRight" : "ArrowDown"): {
|
|
1980
1980
|
if ($.getKeyRightOf) {
|
|
1981
1981
|
y.preventDefault();
|
|
1982
1982
|
const P = a() === "rtl";
|
|
@@ -1992,14 +1992,14 @@ function bl(e, t, n) {
|
|
|
1992
1992
|
F,
|
|
1993
1993
|
qt(y)
|
|
1994
1994
|
);
|
|
1995
|
-
P != null && (
|
|
1995
|
+
P != null && (b.setFocusedKey(P), qt(y) && y.shiftKey && b.selectionMode() === "multiple" ? b.extendSelection(P) : x && b.replaceSelection(P));
|
|
1996
1996
|
}
|
|
1997
1997
|
break;
|
|
1998
1998
|
case "End":
|
|
1999
1999
|
if ($.getLastKey) {
|
|
2000
2000
|
y.preventDefault();
|
|
2001
2001
|
const P = $.getLastKey(F, qt(y));
|
|
2002
|
-
P != null && (
|
|
2002
|
+
P != null && (b.setFocusedKey(P), qt(y) && y.shiftKey && b.selectionMode() === "multiple" ? b.extendSelection(P) : x && b.replaceSelection(P));
|
|
2003
2003
|
}
|
|
2004
2004
|
break;
|
|
2005
2005
|
case "PageDown":
|
|
@@ -2017,17 +2017,17 @@ function bl(e, t, n) {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
break;
|
|
2019
2019
|
case "a":
|
|
2020
|
-
qt(y) &&
|
|
2020
|
+
qt(y) && b.selectionMode() === "multiple" && E(o.disallowSelectAll) !== !0 && (y.preventDefault(), b.selectAll());
|
|
2021
2021
|
break;
|
|
2022
2022
|
case "Escape":
|
|
2023
|
-
y.defaultPrevented || (y.preventDefault(), E(o.disallowEmptySelection) ||
|
|
2023
|
+
y.defaultPrevented || (y.preventDefault(), E(o.disallowEmptySelection) || b.clearSelection());
|
|
2024
2024
|
break;
|
|
2025
2025
|
case "Tab":
|
|
2026
2026
|
if (!E(o.allowsTabNavigation)) {
|
|
2027
2027
|
if (y.shiftKey)
|
|
2028
|
-
|
|
2028
|
+
v.focus();
|
|
2029
2029
|
else {
|
|
2030
|
-
const P = _a(
|
|
2030
|
+
const P = _a(v, { tabbable: !0 });
|
|
2031
2031
|
let S, _;
|
|
2032
2032
|
do
|
|
2033
2033
|
_ = P.lastChild(), _ && (S = _);
|
|
@@ -2038,67 +2038,67 @@ function bl(e, t, n) {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
2040
|
}, d = (y) => {
|
|
2041
|
-
const
|
|
2042
|
-
if (
|
|
2043
|
-
y.currentTarget.contains(y.target) ||
|
|
2041
|
+
const v = E(o.selectionManager), b = E(o.keyboardDelegate), x = E(o.selectOnFocus);
|
|
2042
|
+
if (v.isFocused()) {
|
|
2043
|
+
y.currentTarget.contains(y.target) || v.setFocused(!1);
|
|
2044
2044
|
return;
|
|
2045
2045
|
}
|
|
2046
2046
|
if (y.currentTarget.contains(y.target)) {
|
|
2047
|
-
if (
|
|
2047
|
+
if (v.setFocused(!0), v.focusedKey() == null) {
|
|
2048
2048
|
const w = (L) => {
|
|
2049
|
-
L != null && (
|
|
2049
|
+
L != null && (v.setFocusedKey(L), x && v.replaceSelection(L));
|
|
2050
2050
|
}, $ = y.relatedTarget;
|
|
2051
2051
|
$ && y.currentTarget.compareDocumentPosition($) & Node.DOCUMENT_POSITION_FOLLOWING ? w(
|
|
2052
|
-
|
|
2052
|
+
v.lastSelectedKey() ?? b.getLastKey?.()
|
|
2053
2053
|
) : w(
|
|
2054
|
-
|
|
2054
|
+
v.firstSelectedKey() ?? b.getFirstKey?.()
|
|
2055
2055
|
);
|
|
2056
2056
|
} else if (!E(o.isVirtualized)) {
|
|
2057
2057
|
const w = s();
|
|
2058
2058
|
if (w) {
|
|
2059
2059
|
w.scrollTop = l.top, w.scrollLeft = l.left;
|
|
2060
2060
|
const $ = w.querySelector(
|
|
2061
|
-
`[data-key="${
|
|
2061
|
+
`[data-key="${v.focusedKey()}"]`
|
|
2062
2062
|
);
|
|
2063
2063
|
$ && (Se($), Qn(w, $));
|
|
2064
2064
|
}
|
|
2065
2065
|
}
|
|
2066
2066
|
}
|
|
2067
2067
|
}, g = (y) => {
|
|
2068
|
-
const
|
|
2069
|
-
y.currentTarget.contains(y.relatedTarget) ||
|
|
2068
|
+
const v = E(o.selectionManager);
|
|
2069
|
+
y.currentTarget.contains(y.relatedTarget) || v.setFocused(!1);
|
|
2070
2070
|
}, f = (y) => {
|
|
2071
2071
|
s() === y.target && y.preventDefault();
|
|
2072
2072
|
}, h = () => {
|
|
2073
2073
|
const y = E(o.autoFocus);
|
|
2074
2074
|
if (!y)
|
|
2075
2075
|
return;
|
|
2076
|
-
const
|
|
2076
|
+
const v = E(o.selectionManager), b = E(o.keyboardDelegate);
|
|
2077
2077
|
let x;
|
|
2078
|
-
y === "first" && (x =
|
|
2079
|
-
const w =
|
|
2080
|
-
w.size && (x = w.values().next().value),
|
|
2078
|
+
y === "first" && (x = b.getFirstKey?.()), y === "last" && (x = b.getLastKey?.());
|
|
2079
|
+
const w = v.selectedKeys();
|
|
2080
|
+
w.size && (x = w.values().next().value), v.setFocused(!0), v.setFocusedKey(x);
|
|
2081
2081
|
const $ = t();
|
|
2082
2082
|
$ && x == null && !E(o.shouldUseVirtualFocus) && Se($);
|
|
2083
2083
|
};
|
|
2084
2084
|
return At(() => {
|
|
2085
2085
|
o.deferAutoFocus ? setTimeout(h, 0) : h();
|
|
2086
2086
|
}), B(
|
|
2087
|
-
|
|
2087
|
+
ct(
|
|
2088
2088
|
[
|
|
2089
2089
|
s,
|
|
2090
2090
|
() => E(o.isVirtualized),
|
|
2091
2091
|
() => E(o.selectionManager).focusedKey()
|
|
2092
2092
|
],
|
|
2093
2093
|
(y) => {
|
|
2094
|
-
const [
|
|
2095
|
-
if (
|
|
2094
|
+
const [v, b, x] = y;
|
|
2095
|
+
if (b)
|
|
2096
2096
|
x && o.scrollToKey?.(x);
|
|
2097
|
-
else if (x &&
|
|
2098
|
-
const w =
|
|
2097
|
+
else if (x && v) {
|
|
2098
|
+
const w = v.querySelector(
|
|
2099
2099
|
`[data-key="${x}"]`
|
|
2100
2100
|
);
|
|
2101
|
-
w && Qn(
|
|
2101
|
+
w && Qn(v, w);
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
2104
|
)
|
|
@@ -2107,36 +2107,36 @@ function bl(e, t, n) {
|
|
|
2107
2107
|
if (!E(o.shouldUseVirtualFocus))
|
|
2108
2108
|
return E(o.selectionManager).focusedKey() == null ? 0 : -1;
|
|
2109
2109
|
}),
|
|
2110
|
-
onKeyDown:
|
|
2110
|
+
onKeyDown: u,
|
|
2111
2111
|
onMouseDown: f,
|
|
2112
2112
|
onFocusIn: d,
|
|
2113
2113
|
onFocusOut: g
|
|
2114
2114
|
};
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2117
|
-
const n = () => E(e.selectionManager), r = () => E(e.key), o = () => E(e.shouldUseVirtualFocus), s = (
|
|
2118
|
-
n().selectionMode() !== "none" && (n().selectionMode() === "single" ? n().isSelected(r()) && !n().disallowEmptySelection() ? n().toggleSelection(r()) : n().replaceSelection(r()) :
|
|
2116
|
+
function ci(e, t) {
|
|
2117
|
+
const n = () => E(e.selectionManager), r = () => E(e.key), o = () => E(e.shouldUseVirtualFocus), s = (b) => {
|
|
2118
|
+
n().selectionMode() !== "none" && (n().selectionMode() === "single" ? n().isSelected(r()) && !n().disallowEmptySelection() ? n().toggleSelection(r()) : n().replaceSelection(r()) : b?.shiftKey ? n().extendSelection(r()) : n().selectionBehavior() === "toggle" || qt(b) || "pointerType" in b && b.pointerType === "touch" ? n().toggleSelection(r()) : n().replaceSelection(r()));
|
|
2119
2119
|
}, a = () => n().isSelected(r()), l = () => E(e.disabled) || n().isDisabled(r()), i = () => !l() && n().canSelectItem(r());
|
|
2120
|
-
let
|
|
2121
|
-
const
|
|
2122
|
-
i() && (
|
|
2123
|
-
}, d = (
|
|
2124
|
-
i() &&
|
|
2125
|
-
}, g = (
|
|
2126
|
-
i() && (E(e.shouldSelectOnPressUp) && !E(e.allowsDifferentPressOrigin) ||
|
|
2127
|
-
}, f = (
|
|
2128
|
-
!i() || !["Enter", " "].includes(
|
|
2129
|
-
}, h = (
|
|
2130
|
-
l() &&
|
|
2131
|
-
}, m = (
|
|
2120
|
+
let c = null;
|
|
2121
|
+
const u = (b) => {
|
|
2122
|
+
i() && (c = b.pointerType, b.pointerType === "mouse" && b.button === 0 && !E(e.shouldSelectOnPressUp) && s(b));
|
|
2123
|
+
}, d = (b) => {
|
|
2124
|
+
i() && b.pointerType === "mouse" && b.button === 0 && E(e.shouldSelectOnPressUp) && E(e.allowsDifferentPressOrigin) && s(b);
|
|
2125
|
+
}, g = (b) => {
|
|
2126
|
+
i() && (E(e.shouldSelectOnPressUp) && !E(e.allowsDifferentPressOrigin) || c !== "mouse") && s(b);
|
|
2127
|
+
}, f = (b) => {
|
|
2128
|
+
!i() || !["Enter", " "].includes(b.key) || (li(b) ? n().toggleSelection(r()) : s(b));
|
|
2129
|
+
}, h = (b) => {
|
|
2130
|
+
l() && b.preventDefault();
|
|
2131
|
+
}, m = (b) => {
|
|
2132
2132
|
const x = t();
|
|
2133
|
-
o() || l() || !x ||
|
|
2133
|
+
o() || l() || !x || b.target === x && n().setFocusedKey(r());
|
|
2134
2134
|
}, y = M(() => {
|
|
2135
2135
|
if (!(o() || l()))
|
|
2136
2136
|
return r() === n().focusedKey() ? 0 : -1;
|
|
2137
|
-
}),
|
|
2137
|
+
}), v = M(() => E(e.virtualized) ? void 0 : r());
|
|
2138
2138
|
return B(
|
|
2139
|
-
|
|
2139
|
+
ct(
|
|
2140
2140
|
[
|
|
2141
2141
|
t,
|
|
2142
2142
|
r,
|
|
@@ -2144,8 +2144,8 @@ function ui(e, t) {
|
|
|
2144
2144
|
() => n().focusedKey(),
|
|
2145
2145
|
() => n().isFocused()
|
|
2146
2146
|
],
|
|
2147
|
-
([
|
|
2148
|
-
|
|
2147
|
+
([b, x, w, $, L]) => {
|
|
2148
|
+
b && x === $ && L && !w && document.activeElement !== b && (e.focus ? e.focus() : Se(b));
|
|
2149
2149
|
}
|
|
2150
2150
|
)
|
|
2151
2151
|
), {
|
|
@@ -2153,8 +2153,8 @@ function ui(e, t) {
|
|
|
2153
2153
|
isDisabled: l,
|
|
2154
2154
|
allowsSelection: i,
|
|
2155
2155
|
tabIndex: y,
|
|
2156
|
-
dataKey:
|
|
2157
|
-
onPointerDown:
|
|
2156
|
+
dataKey: v,
|
|
2157
|
+
onPointerDown: u,
|
|
2158
2158
|
onPointerUp: d,
|
|
2159
2159
|
onClick: g,
|
|
2160
2160
|
onKeyDown: f,
|
|
@@ -2162,7 +2162,7 @@ function ui(e, t) {
|
|
|
2162
2162
|
onFocus: m
|
|
2163
2163
|
};
|
|
2164
2164
|
}
|
|
2165
|
-
var
|
|
2165
|
+
var bl = class {
|
|
2166
2166
|
collection;
|
|
2167
2167
|
state;
|
|
2168
2168
|
constructor(e, t) {
|
|
@@ -2429,7 +2429,7 @@ function xl(e) {
|
|
|
2429
2429
|
factory: (s) => e.filter ? new so(e.filter(s)) : new so(s)
|
|
2430
2430
|
},
|
|
2431
2431
|
[() => e.filter]
|
|
2432
|
-
), o = new
|
|
2432
|
+
), o = new bl(r, t);
|
|
2433
2433
|
return Is(() => {
|
|
2434
2434
|
const s = t.focusedKey();
|
|
2435
2435
|
s != null && !r().getItem(s) && t.setFocusedKey(void 0);
|
|
@@ -2450,20 +2450,20 @@ var Ce = (e) => typeof e == "function" ? e() : e, wl = (e) => {
|
|
|
2450
2450
|
return zt(() => {
|
|
2451
2451
|
if (a === l)
|
|
2452
2452
|
return l;
|
|
2453
|
-
const i = s,
|
|
2454
|
-
l ? o("present") :
|
|
2453
|
+
const i = s, c = n();
|
|
2454
|
+
l ? o("present") : c === "none" || t()?.display === "none" ? o("hidden") : o(a === !0 && i !== c ? "hiding" : "hidden");
|
|
2455
2455
|
}), l;
|
|
2456
2456
|
}), B(() => {
|
|
2457
2457
|
const a = Ce(e.element);
|
|
2458
2458
|
if (!a)
|
|
2459
2459
|
return;
|
|
2460
|
-
const l = (
|
|
2461
|
-
|
|
2462
|
-
}, i = (
|
|
2460
|
+
const l = (c) => {
|
|
2461
|
+
c.target === a && (s = n());
|
|
2462
|
+
}, i = (c) => {
|
|
2463
2463
|
const d = n().includes(
|
|
2464
|
-
|
|
2464
|
+
c.animationName
|
|
2465
2465
|
);
|
|
2466
|
-
|
|
2466
|
+
c.target === a && d && r() === "hiding" && o("hidden");
|
|
2467
2467
|
};
|
|
2468
2468
|
a.addEventListener("animationstart", l), a.addEventListener("animationcancel", i), a.addEventListener("animationend", i), U(() => {
|
|
2469
2469
|
a.removeEventListener("animationstart", l), a.removeEventListener("animationcancel", i), a.removeEventListener("animationend", i);
|
|
@@ -2472,23 +2472,23 @@ var Ce = (e) => typeof e == "function" ? e() : e, wl = (e) => {
|
|
|
2472
2472
|
present: () => r() === "present" || r() === "hiding",
|
|
2473
2473
|
state: r
|
|
2474
2474
|
};
|
|
2475
|
-
}, $l = wl,
|
|
2475
|
+
}, $l = wl, ui = $l, $n = "data-kb-top-layer", di, Xn = !1, ut = [];
|
|
2476
2476
|
function nn(e) {
|
|
2477
|
-
return
|
|
2477
|
+
return ut.findIndex((t) => t.node === e);
|
|
2478
2478
|
}
|
|
2479
2479
|
function Cl(e) {
|
|
2480
|
-
return
|
|
2480
|
+
return ut[nn(e)];
|
|
2481
2481
|
}
|
|
2482
2482
|
function Sl(e) {
|
|
2483
|
-
return
|
|
2483
|
+
return ut[ut.length - 1].node === e;
|
|
2484
2484
|
}
|
|
2485
2485
|
function fi() {
|
|
2486
|
-
return
|
|
2486
|
+
return ut.filter((e) => e.isPointerBlocking);
|
|
2487
2487
|
}
|
|
2488
2488
|
function kl() {
|
|
2489
2489
|
return [...fi()].slice(-1)[0];
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2491
|
+
function ur() {
|
|
2492
2492
|
return fi().length > 0;
|
|
2493
2493
|
}
|
|
2494
2494
|
function gi(e) {
|
|
@@ -2496,34 +2496,34 @@ function gi(e) {
|
|
|
2496
2496
|
return nn(e) < t;
|
|
2497
2497
|
}
|
|
2498
2498
|
function El(e) {
|
|
2499
|
-
|
|
2499
|
+
ut.push(e);
|
|
2500
2500
|
}
|
|
2501
2501
|
function Ml(e) {
|
|
2502
2502
|
const t = nn(e);
|
|
2503
|
-
t < 0 ||
|
|
2503
|
+
t < 0 || ut.splice(t, 1);
|
|
2504
2504
|
}
|
|
2505
2505
|
function Dl() {
|
|
2506
2506
|
for (const {
|
|
2507
2507
|
node: e
|
|
2508
|
-
} of
|
|
2508
|
+
} of ut)
|
|
2509
2509
|
e.style.pointerEvents = gi(e) ? "none" : "auto";
|
|
2510
2510
|
}
|
|
2511
2511
|
function Al(e) {
|
|
2512
|
-
if (
|
|
2512
|
+
if (ur() && !Xn) {
|
|
2513
2513
|
const t = Xe(e);
|
|
2514
2514
|
di = document.body.style.pointerEvents, t.body.style.pointerEvents = "none", Xn = !0;
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
2517
|
function Tl(e) {
|
|
2518
|
-
if (
|
|
2518
|
+
if (ur())
|
|
2519
2519
|
return;
|
|
2520
2520
|
const t = Xe(e);
|
|
2521
2521
|
t.body.style.pointerEvents = di, t.body.style.length === 0 && t.body.removeAttribute("style"), Xn = !1;
|
|
2522
2522
|
}
|
|
2523
2523
|
var Te = {
|
|
2524
|
-
layers:
|
|
2524
|
+
layers: ut,
|
|
2525
2525
|
isTopMostLayer: Sl,
|
|
2526
|
-
hasPointerBlockingLayer:
|
|
2526
|
+
hasPointerBlockingLayer: ur,
|
|
2527
2527
|
isBelowPointerBlockingLayer: gi,
|
|
2528
2528
|
addLayer: El,
|
|
2529
2529
|
removeLayer: Ml,
|
|
@@ -2554,17 +2554,17 @@ function dr(e) {
|
|
|
2554
2554
|
const n = Q({
|
|
2555
2555
|
type: "button"
|
|
2556
2556
|
}, e), [r, o] = Z(n, ["ref", "type", "disabled"]), s = Tn(() => t, () => "button"), a = M(() => {
|
|
2557
|
-
const
|
|
2558
|
-
return
|
|
2559
|
-
tagName:
|
|
2557
|
+
const c = s();
|
|
2558
|
+
return c == null ? !1 : Pl({
|
|
2559
|
+
tagName: c,
|
|
2560
2560
|
type: r.type
|
|
2561
2561
|
});
|
|
2562
2562
|
}), l = M(() => s() === "input"), i = M(() => s() === "a" && t?.getAttribute("href") != null);
|
|
2563
2563
|
return p(de, j({
|
|
2564
2564
|
as: "button",
|
|
2565
|
-
ref(
|
|
2566
|
-
const
|
|
2567
|
-
typeof
|
|
2565
|
+
ref(c) {
|
|
2566
|
+
const u = Me((d) => t = d, r.ref);
|
|
2567
|
+
typeof u == "function" && u(c);
|
|
2568
2568
|
},
|
|
2569
2569
|
get type() {
|
|
2570
2570
|
return a() || l() ? r.type : void 0;
|
|
@@ -2586,7 +2586,7 @@ function dr(e) {
|
|
|
2586
2586
|
}
|
|
2587
2587
|
}, o));
|
|
2588
2588
|
}
|
|
2589
|
-
var Ll = dr, Ol = ["top", "right", "bottom", "left"], Ye = Math.min, Ie = Math.max, Cn = Math.round,
|
|
2589
|
+
var Ll = dr, Ol = ["top", "right", "bottom", "left"], Ye = Math.min, Ie = Math.max, Cn = Math.round, vn = Math.floor, vt = (e) => ({
|
|
2590
2590
|
x: e,
|
|
2591
2591
|
y: e
|
|
2592
2592
|
}), _l = {
|
|
@@ -2604,7 +2604,7 @@ function Zn(e, t, n) {
|
|
|
2604
2604
|
function Tt(e, t) {
|
|
2605
2605
|
return typeof e == "function" ? e(t) : e;
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2607
|
+
function bt(e) {
|
|
2608
2608
|
return e.split("-")[0];
|
|
2609
2609
|
}
|
|
2610
2610
|
function Nt(e) {
|
|
@@ -2617,7 +2617,7 @@ function fr(e) {
|
|
|
2617
2617
|
return e === "y" ? "height" : "width";
|
|
2618
2618
|
}
|
|
2619
2619
|
function Mt(e) {
|
|
2620
|
-
return ["top", "bottom"].includes(
|
|
2620
|
+
return ["top", "bottom"].includes(bt(e)) ? "y" : "x";
|
|
2621
2621
|
}
|
|
2622
2622
|
function gr(e) {
|
|
2623
2623
|
return hi(Mt(e));
|
|
@@ -2650,7 +2650,7 @@ function Kl(e, t, n) {
|
|
|
2650
2650
|
}
|
|
2651
2651
|
function Bl(e, t, n, r) {
|
|
2652
2652
|
const o = Nt(e);
|
|
2653
|
-
let s = Kl(
|
|
2653
|
+
let s = Kl(bt(e), n === "start", r);
|
|
2654
2654
|
return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(Jn)))), s;
|
|
2655
2655
|
}
|
|
2656
2656
|
function Sn(e) {
|
|
@@ -2696,18 +2696,18 @@ function ao(e, t, n) {
|
|
|
2696
2696
|
reference: r,
|
|
2697
2697
|
floating: o
|
|
2698
2698
|
} = e;
|
|
2699
|
-
const s = Mt(t), a = gr(t), l = fr(a), i =
|
|
2699
|
+
const s = Mt(t), a = gr(t), l = fr(a), i = bt(t), c = s === "y", u = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, g = r[l] / 2 - o[l] / 2;
|
|
2700
2700
|
let f;
|
|
2701
2701
|
switch (i) {
|
|
2702
2702
|
case "top":
|
|
2703
2703
|
f = {
|
|
2704
|
-
x:
|
|
2704
|
+
x: u,
|
|
2705
2705
|
y: r.y - o.height
|
|
2706
2706
|
};
|
|
2707
2707
|
break;
|
|
2708
2708
|
case "bottom":
|
|
2709
2709
|
f = {
|
|
2710
|
-
x:
|
|
2710
|
+
x: u,
|
|
2711
2711
|
y: r.y + r.height
|
|
2712
2712
|
};
|
|
2713
2713
|
break;
|
|
@@ -2731,10 +2731,10 @@ function ao(e, t, n) {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
switch (Nt(t)) {
|
|
2733
2733
|
case "start":
|
|
2734
|
-
f[a] -= g * (n &&
|
|
2734
|
+
f[a] -= g * (n && c ? -1 : 1);
|
|
2735
2735
|
break;
|
|
2736
2736
|
case "end":
|
|
2737
|
-
f[a] += g * (n &&
|
|
2737
|
+
f[a] += g * (n && c ? -1 : 1);
|
|
2738
2738
|
break;
|
|
2739
2739
|
}
|
|
2740
2740
|
return f;
|
|
@@ -2746,54 +2746,54 @@ var Ul = async (e, t, n) => {
|
|
|
2746
2746
|
middleware: s = [],
|
|
2747
2747
|
platform: a
|
|
2748
2748
|
} = n, l = s.filter(Boolean), i = await (a.isRTL == null ? void 0 : a.isRTL(t));
|
|
2749
|
-
let
|
|
2749
|
+
let c = await a.getElementRects({
|
|
2750
2750
|
reference: e,
|
|
2751
2751
|
floating: t,
|
|
2752
2752
|
strategy: o
|
|
2753
2753
|
}), {
|
|
2754
|
-
x:
|
|
2754
|
+
x: u,
|
|
2755
2755
|
y: d
|
|
2756
|
-
} = ao(
|
|
2756
|
+
} = ao(c, r, i), g = r, f = {}, h = 0;
|
|
2757
2757
|
for (let m = 0; m < l.length; m++) {
|
|
2758
2758
|
const {
|
|
2759
2759
|
name: y,
|
|
2760
|
-
fn:
|
|
2760
|
+
fn: v
|
|
2761
2761
|
} = l[m], {
|
|
2762
|
-
x:
|
|
2762
|
+
x: b,
|
|
2763
2763
|
y: x,
|
|
2764
2764
|
data: w,
|
|
2765
2765
|
reset: $
|
|
2766
|
-
} = await
|
|
2767
|
-
x:
|
|
2766
|
+
} = await v({
|
|
2767
|
+
x: u,
|
|
2768
2768
|
y: d,
|
|
2769
2769
|
initialPlacement: r,
|
|
2770
2770
|
placement: g,
|
|
2771
2771
|
strategy: o,
|
|
2772
2772
|
middlewareData: f,
|
|
2773
|
-
rects:
|
|
2773
|
+
rects: c,
|
|
2774
2774
|
platform: a,
|
|
2775
2775
|
elements: {
|
|
2776
2776
|
reference: e,
|
|
2777
2777
|
floating: t
|
|
2778
2778
|
}
|
|
2779
2779
|
});
|
|
2780
|
-
|
|
2780
|
+
u = b ?? u, d = x ?? d, f = {
|
|
2781
2781
|
...f,
|
|
2782
2782
|
[y]: {
|
|
2783
2783
|
...f[y],
|
|
2784
2784
|
...w
|
|
2785
2785
|
}
|
|
2786
|
-
}, $ && h <= 50 && (h++, typeof $ == "object" && ($.placement && (g = $.placement), $.rects && (
|
|
2786
|
+
}, $ && h <= 50 && (h++, typeof $ == "object" && ($.placement && (g = $.placement), $.rects && (c = $.rects === !0 ? await a.getElementRects({
|
|
2787
2787
|
reference: e,
|
|
2788
2788
|
floating: t,
|
|
2789
2789
|
strategy: o
|
|
2790
2790
|
}) : $.rects), {
|
|
2791
|
-
x:
|
|
2791
|
+
x: u,
|
|
2792
2792
|
y: d
|
|
2793
|
-
} = ao(
|
|
2793
|
+
} = ao(c, g, i)), m = -1);
|
|
2794
2794
|
}
|
|
2795
2795
|
return {
|
|
2796
|
-
x:
|
|
2796
|
+
x: u,
|
|
2797
2797
|
y: d,
|
|
2798
2798
|
placement: g,
|
|
2799
2799
|
strategy: o,
|
|
@@ -2811,17 +2811,17 @@ async function rn(e, t) {
|
|
|
2811
2811
|
elements: l,
|
|
2812
2812
|
strategy: i
|
|
2813
2813
|
} = e, {
|
|
2814
|
-
boundary:
|
|
2815
|
-
rootBoundary:
|
|
2814
|
+
boundary: c = "clippingAncestors",
|
|
2815
|
+
rootBoundary: u = "viewport",
|
|
2816
2816
|
elementContext: d = "floating",
|
|
2817
2817
|
altBoundary: g = !1,
|
|
2818
2818
|
padding: f = 0
|
|
2819
|
-
} = Tt(t, e), h = pi(f), y = l[g ? d === "floating" ? "reference" : "floating" : d],
|
|
2819
|
+
} = Tt(t, e), h = pi(f), y = l[g ? d === "floating" ? "reference" : "floating" : d], v = kn(await s.getClippingRect({
|
|
2820
2820
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(y))) == null || n ? y : y.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
2821
|
-
boundary:
|
|
2822
|
-
rootBoundary:
|
|
2821
|
+
boundary: c,
|
|
2822
|
+
rootBoundary: u,
|
|
2823
2823
|
strategy: i
|
|
2824
|
-
})),
|
|
2824
|
+
})), b = d === "floating" ? {
|
|
2825
2825
|
x: r,
|
|
2826
2826
|
y: o,
|
|
2827
2827
|
width: a.floating.width,
|
|
@@ -2834,15 +2834,15 @@ async function rn(e, t) {
|
|
|
2834
2834
|
y: 1
|
|
2835
2835
|
}, $ = kn(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
2836
2836
|
elements: l,
|
|
2837
|
-
rect:
|
|
2837
|
+
rect: b,
|
|
2838
2838
|
offsetParent: x,
|
|
2839
2839
|
strategy: i
|
|
2840
|
-
}) :
|
|
2840
|
+
}) : b);
|
|
2841
2841
|
return {
|
|
2842
|
-
top: (
|
|
2843
|
-
bottom: ($.bottom -
|
|
2844
|
-
left: (
|
|
2845
|
-
right: ($.right -
|
|
2842
|
+
top: (v.top - $.top + h.top) / w.y,
|
|
2843
|
+
bottom: ($.bottom - v.bottom + h.bottom) / w.y,
|
|
2844
|
+
left: (v.left - $.left + h.left) / w.x,
|
|
2845
|
+
right: ($.right - v.right + h.right) / w.x
|
|
2846
2846
|
};
|
|
2847
2847
|
}
|
|
2848
2848
|
var Gl = (e) => ({
|
|
@@ -2858,18 +2858,18 @@ var Gl = (e) => ({
|
|
|
2858
2858
|
elements: l,
|
|
2859
2859
|
middlewareData: i
|
|
2860
2860
|
} = t, {
|
|
2861
|
-
element:
|
|
2862
|
-
padding:
|
|
2861
|
+
element: c,
|
|
2862
|
+
padding: u = 0
|
|
2863
2863
|
} = Tt(e, t) || {};
|
|
2864
|
-
if (
|
|
2864
|
+
if (c == null)
|
|
2865
2865
|
return {};
|
|
2866
|
-
const d = pi(
|
|
2866
|
+
const d = pi(u), g = {
|
|
2867
2867
|
x: n,
|
|
2868
2868
|
y: r
|
|
2869
|
-
}, f = gr(o), h = fr(f), m = await a.getDimensions(
|
|
2869
|
+
}, f = gr(o), h = fr(f), m = await a.getDimensions(c), y = f === "y", v = y ? "top" : "left", b = y ? "bottom" : "right", x = y ? "clientHeight" : "clientWidth", w = s.reference[h] + s.reference[f] - g[f] - s.floating[h], $ = g[f] - s.reference[f], L = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
2870
2870
|
let F = L ? L[x] : 0;
|
|
2871
2871
|
(!F || !await (a.isElement == null ? void 0 : a.isElement(L))) && (F = l.floating[x] || s.floating[h]);
|
|
2872
|
-
const P = w / 2 - $ / 2, S = F / 2 - m[h] / 2 - 1, _ = Ye(d[
|
|
2872
|
+
const P = w / 2 - $ / 2, S = F / 2 - m[h] / 2 - 1, _ = Ye(d[v], S), H = Ye(d[b], S), G = _, te = F - m[h] - H, J = F / 2 - m[h] / 2 + P, ae = Zn(G, J, te), oe = !i.arrow && Nt(o) != null && J !== ae && s.reference[h] / 2 - (J < G ? _ : H) - m[h] / 2 < 0, ne = oe ? J < G ? J - G : J - te : 0;
|
|
2873
2873
|
return {
|
|
2874
2874
|
[f]: g[f] + ne,
|
|
2875
2875
|
data: {
|
|
@@ -2894,9 +2894,9 @@ var Gl = (e) => ({
|
|
|
2894
2894
|
rects: a,
|
|
2895
2895
|
initialPlacement: l,
|
|
2896
2896
|
platform: i,
|
|
2897
|
-
elements:
|
|
2897
|
+
elements: c
|
|
2898
2898
|
} = t, {
|
|
2899
|
-
mainAxis:
|
|
2899
|
+
mainAxis: u = !0,
|
|
2900
2900
|
crossAxis: d = !0,
|
|
2901
2901
|
fallbackPlacements: g,
|
|
2902
2902
|
fallbackStrategy: f = "bestFit",
|
|
@@ -2906,11 +2906,11 @@ var Gl = (e) => ({
|
|
|
2906
2906
|
} = Tt(e, t);
|
|
2907
2907
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
2908
2908
|
return {};
|
|
2909
|
-
const
|
|
2909
|
+
const v = bt(o), b = Mt(l), x = bt(l) === l, w = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), $ = g || (x || !m ? [Sn(l)] : zl(l)), L = h !== "none";
|
|
2910
2910
|
!g && L && $.push(...Bl(l, m, h, w));
|
|
2911
2911
|
const F = [l, ...$], P = await rn(t, y), S = [];
|
|
2912
2912
|
let _ = ((r = s.flip) == null ? void 0 : r.overflows) || [];
|
|
2913
|
-
if (
|
|
2913
|
+
if (u && S.push(P[v]), d) {
|
|
2914
2914
|
const J = Rl(o, a, w);
|
|
2915
2915
|
S.push(P[J[0]], P[J[1]]);
|
|
2916
2916
|
}
|
|
@@ -2938,7 +2938,7 @@ var Gl = (e) => ({
|
|
|
2938
2938
|
const ne = (te = _.filter((ie) => {
|
|
2939
2939
|
if (L) {
|
|
2940
2940
|
const le = Mt(ie.placement);
|
|
2941
|
-
return le ===
|
|
2941
|
+
return le === b || // Create a bias to the `y` side axis due to horizontal
|
|
2942
2942
|
// reading directions favoring greater width.
|
|
2943
2943
|
le === "y";
|
|
2944
2944
|
}
|
|
@@ -2970,7 +2970,7 @@ function lo(e, t) {
|
|
|
2970
2970
|
left: e.left - t.width
|
|
2971
2971
|
};
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2973
|
+
function co(e) {
|
|
2974
2974
|
return Ol.some((t) => e[t] >= 0);
|
|
2975
2975
|
}
|
|
2976
2976
|
var Hl = function(e) {
|
|
@@ -2993,7 +2993,7 @@ var Hl = function(e) {
|
|
|
2993
2993
|
return {
|
|
2994
2994
|
data: {
|
|
2995
2995
|
referenceHiddenOffsets: a,
|
|
2996
|
-
referenceHidden:
|
|
2996
|
+
referenceHidden: co(a)
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
@@ -3005,7 +3005,7 @@ var Hl = function(e) {
|
|
|
3005
3005
|
return {
|
|
3006
3006
|
data: {
|
|
3007
3007
|
escapedOffsets: a,
|
|
3008
|
-
escaped:
|
|
3008
|
+
escaped: co(a)
|
|
3009
3009
|
}
|
|
3010
3010
|
};
|
|
3011
3011
|
}
|
|
@@ -3020,7 +3020,7 @@ async function jl(e, t) {
|
|
|
3020
3020
|
placement: n,
|
|
3021
3021
|
platform: r,
|
|
3022
3022
|
elements: o
|
|
3023
|
-
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a =
|
|
3023
|
+
} = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = bt(n), l = Nt(n), i = Mt(n) === "y", c = ["left", "top"].includes(a) ? -1 : 1, u = s && i ? -1 : 1, d = Tt(t, e);
|
|
3024
3024
|
let {
|
|
3025
3025
|
mainAxis: g,
|
|
3026
3026
|
crossAxis: f,
|
|
@@ -3036,11 +3036,11 @@ async function jl(e, t) {
|
|
|
3036
3036
|
...d
|
|
3037
3037
|
};
|
|
3038
3038
|
return l && typeof h == "number" && (f = l === "end" ? h * -1 : h), i ? {
|
|
3039
|
-
x: f *
|
|
3040
|
-
y: g *
|
|
3039
|
+
x: f * u,
|
|
3040
|
+
y: g * c
|
|
3041
3041
|
} : {
|
|
3042
|
-
x: g *
|
|
3043
|
-
y: f *
|
|
3042
|
+
x: g * c,
|
|
3043
|
+
y: f * u
|
|
3044
3044
|
};
|
|
3045
3045
|
}
|
|
3046
3046
|
var Wl = function(e) {
|
|
@@ -3080,28 +3080,28 @@ var Wl = function(e) {
|
|
|
3080
3080
|
limiter: l = {
|
|
3081
3081
|
fn: (y) => {
|
|
3082
3082
|
let {
|
|
3083
|
-
x:
|
|
3084
|
-
y:
|
|
3083
|
+
x: v,
|
|
3084
|
+
y: b
|
|
3085
3085
|
} = y;
|
|
3086
3086
|
return {
|
|
3087
|
-
x:
|
|
3088
|
-
y:
|
|
3087
|
+
x: v,
|
|
3088
|
+
y: b
|
|
3089
3089
|
};
|
|
3090
3090
|
}
|
|
3091
3091
|
},
|
|
3092
3092
|
...i
|
|
3093
|
-
} = Tt(e, t),
|
|
3093
|
+
} = Tt(e, t), c = {
|
|
3094
3094
|
x: n,
|
|
3095
3095
|
y: r
|
|
3096
|
-
},
|
|
3097
|
-
let f =
|
|
3096
|
+
}, u = await rn(t, i), d = Mt(bt(o)), g = hi(d);
|
|
3097
|
+
let f = c[g], h = c[d];
|
|
3098
3098
|
if (s) {
|
|
3099
|
-
const y = g === "y" ? "top" : "left",
|
|
3100
|
-
f = Zn(
|
|
3099
|
+
const y = g === "y" ? "top" : "left", v = g === "y" ? "bottom" : "right", b = f + u[y], x = f - u[v];
|
|
3100
|
+
f = Zn(b, f, x);
|
|
3101
3101
|
}
|
|
3102
3102
|
if (a) {
|
|
3103
|
-
const y = d === "y" ? "top" : "left",
|
|
3104
|
-
h = Zn(
|
|
3103
|
+
const y = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", b = h + u[y], x = h - u[v];
|
|
3104
|
+
h = Zn(b, h, x);
|
|
3105
3105
|
}
|
|
3106
3106
|
const m = l.fn({
|
|
3107
3107
|
...t,
|
|
@@ -3131,15 +3131,15 @@ var Wl = function(e) {
|
|
|
3131
3131
|
apply: a = () => {
|
|
3132
3132
|
},
|
|
3133
3133
|
...l
|
|
3134
|
-
} = Tt(e, t), i = await rn(t, l),
|
|
3134
|
+
} = Tt(e, t), i = await rn(t, l), c = bt(n), u = Nt(n), d = Mt(n) === "y", {
|
|
3135
3135
|
width: g,
|
|
3136
3136
|
height: f
|
|
3137
3137
|
} = r.floating;
|
|
3138
3138
|
let h, m;
|
|
3139
|
-
|
|
3140
|
-
const y = f - i.top - i.bottom,
|
|
3141
|
-
let $ =
|
|
3142
|
-
if (d ? L =
|
|
3139
|
+
c === "top" || c === "bottom" ? (h = c, m = u === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = c, h = u === "end" ? "top" : "bottom");
|
|
3140
|
+
const y = f - i.top - i.bottom, v = g - i.left - i.right, b = Ye(f - i[h], y), x = Ye(g - i[m], v), w = !t.middlewareData.shift;
|
|
3141
|
+
let $ = b, L = x;
|
|
3142
|
+
if (d ? L = u || w ? Ye(x, v) : v : $ = u || w ? Ye(b, y) : y, w && !u) {
|
|
3143
3143
|
const P = Ie(i.left, 0), S = Ie(i.right, 0), _ = Ie(i.top, 0), H = Ie(i.bottom, 0);
|
|
3144
3144
|
d ? L = g - 2 * (P !== 0 || S !== 0 ? P + S : Ie(i.left, i.right)) : $ = f - 2 * (_ !== 0 || H !== 0 ? _ + H : Ie(i.top, i.bottom));
|
|
3145
3145
|
}
|
|
@@ -3177,7 +3177,7 @@ function je(e) {
|
|
|
3177
3177
|
function Ze(e) {
|
|
3178
3178
|
return e instanceof HTMLElement || e instanceof Pe(e).HTMLElement;
|
|
3179
3179
|
}
|
|
3180
|
-
function
|
|
3180
|
+
function uo(e) {
|
|
3181
3181
|
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Pe(e).ShadowRoot;
|
|
3182
3182
|
}
|
|
3183
3183
|
function dn(e) {
|
|
@@ -3241,10 +3241,10 @@ function xt(e) {
|
|
|
3241
3241
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
3242
3242
|
e.assignedSlot || // DOM Element detected.
|
|
3243
3243
|
e.parentNode || // ShadowRoot detected.
|
|
3244
|
-
|
|
3244
|
+
uo(e) && e.host || // Fallback.
|
|
3245
3245
|
dt(e)
|
|
3246
3246
|
);
|
|
3247
|
-
return
|
|
3247
|
+
return uo(t) ? t.host : t;
|
|
3248
3248
|
}
|
|
3249
3249
|
function yi(e) {
|
|
3250
3250
|
const t = xt(e);
|
|
@@ -3256,7 +3256,7 @@ function on(e, t, n) {
|
|
|
3256
3256
|
const o = yi(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Pe(o);
|
|
3257
3257
|
return s ? t.concat(a, a.visualViewport || [], dn(o) ? o : [], a.frameElement && n ? on(a.frameElement) : []) : t.concat(o, on(o, [], n));
|
|
3258
3258
|
}
|
|
3259
|
-
function
|
|
3259
|
+
function vi(e) {
|
|
3260
3260
|
const t = We(e);
|
|
3261
3261
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
3262
3262
|
const o = Ze(e), s = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, l = Cn(n) !== s || Cn(r) !== a;
|
|
@@ -3272,52 +3272,52 @@ function mr(e) {
|
|
|
3272
3272
|
function Kt(e) {
|
|
3273
3273
|
const t = mr(e);
|
|
3274
3274
|
if (!Ze(t))
|
|
3275
|
-
return
|
|
3275
|
+
return vt(1);
|
|
3276
3276
|
const n = t.getBoundingClientRect(), {
|
|
3277
3277
|
width: r,
|
|
3278
3278
|
height: o,
|
|
3279
3279
|
$: s
|
|
3280
|
-
} =
|
|
3280
|
+
} = vi(t);
|
|
3281
3281
|
let a = (s ? Cn(n.width) : n.width) / r, l = (s ? Cn(n.height) : n.height) / o;
|
|
3282
3282
|
return (!a || !Number.isFinite(a)) && (a = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
3283
3283
|
x: a,
|
|
3284
3284
|
y: l
|
|
3285
3285
|
};
|
|
3286
3286
|
}
|
|
3287
|
-
var Jl = /* @__PURE__ */
|
|
3288
|
-
function
|
|
3287
|
+
var Jl = /* @__PURE__ */ vt(0);
|
|
3288
|
+
function bi(e) {
|
|
3289
3289
|
const t = Pe(e);
|
|
3290
3290
|
return !pr() || !t.visualViewport ? Jl : {
|
|
3291
3291
|
x: t.visualViewport.offsetLeft,
|
|
3292
3292
|
y: t.visualViewport.offsetTop
|
|
3293
3293
|
};
|
|
3294
3294
|
}
|
|
3295
|
-
function
|
|
3295
|
+
function ec(e, t, n) {
|
|
3296
3296
|
return t === void 0 && (t = !1), !n || t && n !== Pe(e) ? !1 : t;
|
|
3297
3297
|
}
|
|
3298
3298
|
function Dt(e, t, n, r) {
|
|
3299
3299
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
3300
3300
|
const o = e.getBoundingClientRect(), s = mr(e);
|
|
3301
|
-
let a =
|
|
3301
|
+
let a = vt(1);
|
|
3302
3302
|
t && (r ? je(r) && (a = Kt(r)) : a = Kt(e));
|
|
3303
|
-
const l =
|
|
3304
|
-
let i = (o.left + l.x) / a.x,
|
|
3303
|
+
const l = ec(s, n, r) ? bi(s) : vt(0);
|
|
3304
|
+
let i = (o.left + l.x) / a.x, c = (o.top + l.y) / a.y, u = o.width / a.x, d = o.height / a.y;
|
|
3305
3305
|
if (s) {
|
|
3306
3306
|
const g = Pe(s), f = r && je(r) ? Pe(r) : r;
|
|
3307
3307
|
let h = g, m = h.frameElement;
|
|
3308
3308
|
for (; m && r && f !== h; ) {
|
|
3309
|
-
const y = Kt(m),
|
|
3310
|
-
i *= y.x,
|
|
3309
|
+
const y = Kt(m), v = m.getBoundingClientRect(), b = We(m), x = v.left + (m.clientLeft + parseFloat(b.paddingLeft)) * y.x, w = v.top + (m.clientTop + parseFloat(b.paddingTop)) * y.y;
|
|
3310
|
+
i *= y.x, c *= y.y, u *= y.x, d *= y.y, i += x, c += w, h = Pe(m), m = h.frameElement;
|
|
3311
3311
|
}
|
|
3312
3312
|
}
|
|
3313
3313
|
return kn({
|
|
3314
|
-
width:
|
|
3314
|
+
width: u,
|
|
3315
3315
|
height: d,
|
|
3316
3316
|
x: i,
|
|
3317
|
-
y:
|
|
3317
|
+
y: c
|
|
3318
3318
|
});
|
|
3319
3319
|
}
|
|
3320
|
-
function
|
|
3320
|
+
function tc(e) {
|
|
3321
3321
|
let {
|
|
3322
3322
|
elements: t,
|
|
3323
3323
|
rect: n,
|
|
@@ -3330,26 +3330,26 @@ function tu(e) {
|
|
|
3330
3330
|
let i = {
|
|
3331
3331
|
scrollLeft: 0,
|
|
3332
3332
|
scrollTop: 0
|
|
3333
|
-
},
|
|
3334
|
-
const
|
|
3333
|
+
}, c = vt(1);
|
|
3334
|
+
const u = vt(0), d = Ze(r);
|
|
3335
3335
|
if ((d || !d && !s) && ((Ut(r) !== "body" || dn(a)) && (i = Pn(r)), Ze(r))) {
|
|
3336
3336
|
const g = Dt(r);
|
|
3337
|
-
|
|
3337
|
+
c = Kt(r), u.x = g.x + r.clientLeft, u.y = g.y + r.clientTop;
|
|
3338
3338
|
}
|
|
3339
3339
|
return {
|
|
3340
|
-
width: n.width *
|
|
3341
|
-
height: n.height *
|
|
3342
|
-
x: n.x *
|
|
3343
|
-
y: n.y *
|
|
3340
|
+
width: n.width * c.x,
|
|
3341
|
+
height: n.height * c.y,
|
|
3342
|
+
x: n.x * c.x - i.scrollLeft * c.x + u.x,
|
|
3343
|
+
y: n.y * c.y - i.scrollTop * c.y + u.y
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
|
-
function
|
|
3346
|
+
function nc(e) {
|
|
3347
3347
|
return Array.from(e.getClientRects());
|
|
3348
3348
|
}
|
|
3349
3349
|
function xi(e) {
|
|
3350
3350
|
return Dt(dt(e)).left + Pn(e).scrollLeft;
|
|
3351
3351
|
}
|
|
3352
|
-
function
|
|
3352
|
+
function rc(e) {
|
|
3353
3353
|
const t = dt(e), n = Pn(e), r = e.ownerDocument.body, o = Ie(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = Ie(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
3354
3354
|
let a = -n.scrollLeft + xi(e);
|
|
3355
3355
|
const l = -n.scrollTop;
|
|
@@ -3360,13 +3360,13 @@ function ru(e) {
|
|
|
3360
3360
|
y: l
|
|
3361
3361
|
};
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3363
|
+
function oc(e, t) {
|
|
3364
3364
|
const n = Pe(e), r = dt(e), o = n.visualViewport;
|
|
3365
3365
|
let s = r.clientWidth, a = r.clientHeight, l = 0, i = 0;
|
|
3366
3366
|
if (o) {
|
|
3367
3367
|
s = o.width, a = o.height;
|
|
3368
|
-
const
|
|
3369
|
-
(!
|
|
3368
|
+
const c = pr();
|
|
3369
|
+
(!c || c && t === "fixed") && (l = o.offsetLeft, i = o.offsetTop);
|
|
3370
3370
|
}
|
|
3371
3371
|
return {
|
|
3372
3372
|
width: s,
|
|
@@ -3375,25 +3375,25 @@ function ou(e, t) {
|
|
|
3375
3375
|
y: i
|
|
3376
3376
|
};
|
|
3377
3377
|
}
|
|
3378
|
-
function
|
|
3379
|
-
const n = Dt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = Ze(e) ? Kt(e) :
|
|
3378
|
+
function ic(e, t) {
|
|
3379
|
+
const n = Dt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = Ze(e) ? Kt(e) : vt(1), a = e.clientWidth * s.x, l = e.clientHeight * s.y, i = o * s.x, c = r * s.y;
|
|
3380
3380
|
return {
|
|
3381
3381
|
width: a,
|
|
3382
3382
|
height: l,
|
|
3383
3383
|
x: i,
|
|
3384
|
-
y:
|
|
3384
|
+
y: c
|
|
3385
3385
|
};
|
|
3386
3386
|
}
|
|
3387
3387
|
function fo(e, t, n) {
|
|
3388
3388
|
let r;
|
|
3389
3389
|
if (t === "viewport")
|
|
3390
|
-
r =
|
|
3390
|
+
r = oc(e, n);
|
|
3391
3391
|
else if (t === "document")
|
|
3392
|
-
r =
|
|
3392
|
+
r = rc(dt(e));
|
|
3393
3393
|
else if (je(t))
|
|
3394
|
-
r =
|
|
3394
|
+
r = ic(t, n);
|
|
3395
3395
|
else {
|
|
3396
|
-
const o =
|
|
3396
|
+
const o = bi(e);
|
|
3397
3397
|
r = {
|
|
3398
3398
|
...t,
|
|
3399
3399
|
x: t.x - o.x,
|
|
@@ -3406,7 +3406,7 @@ function wi(e, t) {
|
|
|
3406
3406
|
const n = xt(e);
|
|
3407
3407
|
return n === t || !je(n) || Bt(n) ? !1 : We(n).position === "fixed" || wi(n, t);
|
|
3408
3408
|
}
|
|
3409
|
-
function
|
|
3409
|
+
function sc(e, t) {
|
|
3410
3410
|
const n = t.get(e);
|
|
3411
3411
|
if (n)
|
|
3412
3412
|
return n;
|
|
@@ -3415,20 +3415,20 @@ function su(e, t) {
|
|
|
3415
3415
|
let a = s ? xt(e) : e;
|
|
3416
3416
|
for (; je(a) && !Bt(a); ) {
|
|
3417
3417
|
const l = We(a), i = hr(a);
|
|
3418
|
-
!i && l.position === "fixed" && (o = null), (s ? !i && !o : !i && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || dn(a) && !i && wi(e, a)) ? r = r.filter((
|
|
3418
|
+
!i && l.position === "fixed" && (o = null), (s ? !i && !o : !i && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || dn(a) && !i && wi(e, a)) ? r = r.filter((u) => u !== a) : o = l, a = xt(a);
|
|
3419
3419
|
}
|
|
3420
3420
|
return t.set(e, r), r;
|
|
3421
3421
|
}
|
|
3422
|
-
function
|
|
3422
|
+
function ac(e) {
|
|
3423
3423
|
let {
|
|
3424
3424
|
element: t,
|
|
3425
3425
|
boundary: n,
|
|
3426
3426
|
rootBoundary: r,
|
|
3427
3427
|
strategy: o
|
|
3428
3428
|
} = e;
|
|
3429
|
-
const a = [...n === "clippingAncestors" ? In(t) ? [] :
|
|
3430
|
-
const d = fo(t,
|
|
3431
|
-
return
|
|
3429
|
+
const a = [...n === "clippingAncestors" ? In(t) ? [] : sc(t, this._c) : [].concat(n), r], l = a[0], i = a.reduce((c, u) => {
|
|
3430
|
+
const d = fo(t, u, o);
|
|
3431
|
+
return c.top = Ie(d.top, c.top), c.right = Ye(d.right, c.right), c.bottom = Ye(d.bottom, c.bottom), c.left = Ie(d.left, c.left), c;
|
|
3432
3432
|
}, fo(t, l, o));
|
|
3433
3433
|
return {
|
|
3434
3434
|
width: i.right - i.left,
|
|
@@ -3437,32 +3437,32 @@ function au(e) {
|
|
|
3437
3437
|
y: i.top
|
|
3438
3438
|
};
|
|
3439
3439
|
}
|
|
3440
|
-
function
|
|
3440
|
+
function lc(e) {
|
|
3441
3441
|
const {
|
|
3442
3442
|
width: t,
|
|
3443
3443
|
height: n
|
|
3444
|
-
} =
|
|
3444
|
+
} = vi(e);
|
|
3445
3445
|
return {
|
|
3446
3446
|
width: t,
|
|
3447
3447
|
height: n
|
|
3448
3448
|
};
|
|
3449
3449
|
}
|
|
3450
|
-
function
|
|
3450
|
+
function cc(e, t, n) {
|
|
3451
3451
|
const r = Ze(t), o = dt(t), s = n === "fixed", a = Dt(e, !0, s, t);
|
|
3452
3452
|
let l = {
|
|
3453
3453
|
scrollLeft: 0,
|
|
3454
3454
|
scrollTop: 0
|
|
3455
3455
|
};
|
|
3456
|
-
const i =
|
|
3456
|
+
const i = vt(0);
|
|
3457
3457
|
if (r || !r && !s)
|
|
3458
3458
|
if ((Ut(t) !== "body" || dn(o)) && (l = Pn(t)), r) {
|
|
3459
3459
|
const d = Dt(t, !0, s, t);
|
|
3460
3460
|
i.x = d.x + t.clientLeft, i.y = d.y + t.clientTop;
|
|
3461
3461
|
} else o && (i.x = xi(o));
|
|
3462
|
-
const
|
|
3462
|
+
const c = a.left + l.scrollLeft - i.x, u = a.top + l.scrollTop - i.y;
|
|
3463
3463
|
return {
|
|
3464
|
-
x:
|
|
3465
|
-
y:
|
|
3464
|
+
x: c,
|
|
3465
|
+
y: u,
|
|
3466
3466
|
width: a.width,
|
|
3467
3467
|
height: a.height
|
|
3468
3468
|
};
|
|
@@ -3491,10 +3491,10 @@ function $i(e, t) {
|
|
|
3491
3491
|
r = go(r, t);
|
|
3492
3492
|
return r && Bt(r) && Kn(r) && !hr(r) ? n : r || Zl(e) || n;
|
|
3493
3493
|
}
|
|
3494
|
-
var
|
|
3494
|
+
var uc = async function(e) {
|
|
3495
3495
|
const t = this.getOffsetParent || $i, n = this.getDimensions, r = await n(e.floating);
|
|
3496
3496
|
return {
|
|
3497
|
-
reference:
|
|
3497
|
+
reference: cc(e.reference, await t(e.floating), e.strategy),
|
|
3498
3498
|
floating: {
|
|
3499
3499
|
x: 0,
|
|
3500
3500
|
y: 0,
|
|
@@ -3503,22 +3503,22 @@ var cu = async function(e) {
|
|
|
3503
3503
|
}
|
|
3504
3504
|
};
|
|
3505
3505
|
};
|
|
3506
|
-
function
|
|
3506
|
+
function dc(e) {
|
|
3507
3507
|
return We(e).direction === "rtl";
|
|
3508
3508
|
}
|
|
3509
3509
|
var Ci = {
|
|
3510
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
3510
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: tc,
|
|
3511
3511
|
getDocumentElement: dt,
|
|
3512
|
-
getClippingRect:
|
|
3512
|
+
getClippingRect: ac,
|
|
3513
3513
|
getOffsetParent: $i,
|
|
3514
|
-
getElementRects:
|
|
3515
|
-
getClientRects:
|
|
3516
|
-
getDimensions:
|
|
3514
|
+
getElementRects: uc,
|
|
3515
|
+
getClientRects: nc,
|
|
3516
|
+
getDimensions: lc,
|
|
3517
3517
|
getScale: Kt,
|
|
3518
3518
|
isElement: je,
|
|
3519
|
-
isRTL:
|
|
3519
|
+
isRTL: dc
|
|
3520
3520
|
};
|
|
3521
|
-
function
|
|
3521
|
+
function fc(e, t) {
|
|
3522
3522
|
let n = null, r;
|
|
3523
3523
|
const o = dt(e);
|
|
3524
3524
|
function s() {
|
|
@@ -3528,14 +3528,14 @@ function fu(e, t) {
|
|
|
3528
3528
|
function a(l, i) {
|
|
3529
3529
|
l === void 0 && (l = !1), i === void 0 && (i = 1), s();
|
|
3530
3530
|
const {
|
|
3531
|
-
left:
|
|
3532
|
-
top:
|
|
3531
|
+
left: c,
|
|
3532
|
+
top: u,
|
|
3533
3533
|
width: d,
|
|
3534
3534
|
height: g
|
|
3535
3535
|
} = e.getBoundingClientRect();
|
|
3536
3536
|
if (l || t(), !d || !g)
|
|
3537
3537
|
return;
|
|
3538
|
-
const f =
|
|
3538
|
+
const f = vn(u), h = vn(o.clientWidth - (c + d)), m = vn(o.clientHeight - (u + g)), y = vn(c), b = {
|
|
3539
3539
|
rootMargin: -f + "px " + -h + "px " + -m + "px " + -y + "px",
|
|
3540
3540
|
threshold: Ie(0, Ye(1, i)) || 1
|
|
3541
3541
|
};
|
|
@@ -3553,18 +3553,18 @@ function fu(e, t) {
|
|
|
3553
3553
|
}
|
|
3554
3554
|
try {
|
|
3555
3555
|
n = new IntersectionObserver(w, {
|
|
3556
|
-
...
|
|
3556
|
+
...b,
|
|
3557
3557
|
// Handle <iframe>s
|
|
3558
3558
|
root: o.ownerDocument
|
|
3559
3559
|
});
|
|
3560
3560
|
} catch {
|
|
3561
|
-
n = new IntersectionObserver(w,
|
|
3561
|
+
n = new IntersectionObserver(w, b);
|
|
3562
3562
|
}
|
|
3563
3563
|
n.observe(e);
|
|
3564
3564
|
}
|
|
3565
3565
|
return a(!0), s;
|
|
3566
3566
|
}
|
|
3567
|
-
function
|
|
3567
|
+
function gc(e, t, n, r) {
|
|
3568
3568
|
r === void 0 && (r = {});
|
|
3569
3569
|
const {
|
|
3570
3570
|
ancestorScroll: o = !0,
|
|
@@ -3572,35 +3572,35 @@ function gu(e, t, n, r) {
|
|
|
3572
3572
|
elementResize: a = typeof ResizeObserver == "function",
|
|
3573
3573
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
3574
3574
|
animationFrame: i = !1
|
|
3575
|
-
} = r,
|
|
3576
|
-
|
|
3577
|
-
o &&
|
|
3575
|
+
} = r, c = mr(e), u = o || s ? [...c ? on(c) : [], ...on(t)] : [];
|
|
3576
|
+
u.forEach((v) => {
|
|
3577
|
+
o && v.addEventListener("scroll", n, {
|
|
3578
3578
|
passive: !0
|
|
3579
|
-
}), s &&
|
|
3579
|
+
}), s && v.addEventListener("resize", n);
|
|
3580
3580
|
});
|
|
3581
|
-
const d =
|
|
3581
|
+
const d = c && l ? fc(c, n) : null;
|
|
3582
3582
|
let g = -1, f = null;
|
|
3583
|
-
a && (f = new ResizeObserver((
|
|
3584
|
-
let [
|
|
3585
|
-
|
|
3583
|
+
a && (f = new ResizeObserver((v) => {
|
|
3584
|
+
let [b] = v;
|
|
3585
|
+
b && b.target === c && f && (f.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
3586
3586
|
var x;
|
|
3587
3587
|
(x = f) == null || x.observe(t);
|
|
3588
3588
|
})), n();
|
|
3589
|
-
}),
|
|
3589
|
+
}), c && !i && f.observe(c), f.observe(t));
|
|
3590
3590
|
let h, m = i ? Dt(e) : null;
|
|
3591
3591
|
i && y();
|
|
3592
3592
|
function y() {
|
|
3593
|
-
const
|
|
3594
|
-
m && (
|
|
3593
|
+
const v = Dt(e);
|
|
3594
|
+
m && (v.x !== m.x || v.y !== m.y || v.width !== m.width || v.height !== m.height) && n(), m = v, h = requestAnimationFrame(y);
|
|
3595
3595
|
}
|
|
3596
3596
|
return n(), () => {
|
|
3597
|
-
var
|
|
3598
|
-
|
|
3599
|
-
o &&
|
|
3600
|
-
}), d?.(), (
|
|
3597
|
+
var v;
|
|
3598
|
+
u.forEach((b) => {
|
|
3599
|
+
o && b.removeEventListener("scroll", n), s && b.removeEventListener("resize", n);
|
|
3600
|
+
}), d?.(), (v = f) == null || v.disconnect(), f = null, i && cancelAnimationFrame(h);
|
|
3601
3601
|
};
|
|
3602
3602
|
}
|
|
3603
|
-
var
|
|
3603
|
+
var hc = Wl, pc = Ql, mc = Vl, yc = Yl, vc = Hl, bc = Gl, xc = (e, t, n) => {
|
|
3604
3604
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
3605
3605
|
platform: Ci,
|
|
3606
3606
|
...n
|
|
@@ -3613,22 +3613,22 @@ var hu = Wl, pu = Ql, mu = Vl, yu = Yl, bu = Hl, vu = Gl, xu = (e, t, n) => {
|
|
|
3613
3613
|
platform: s
|
|
3614
3614
|
});
|
|
3615
3615
|
}, yr = xe();
|
|
3616
|
-
function
|
|
3616
|
+
function vr() {
|
|
3617
3617
|
const e = we(yr);
|
|
3618
3618
|
if (e === void 0)
|
|
3619
3619
|
throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");
|
|
3620
3620
|
return e;
|
|
3621
3621
|
}
|
|
3622
|
-
var
|
|
3622
|
+
var wc = /* @__PURE__ */ q('<svg display="block" viewBox="0 0 30 30" style="transform:scale(1.02)"><g><path fill="none" d="M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"></path><path stroke="none" d="M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z">'), er = 30, ho = er / 2, $c = {
|
|
3623
3623
|
top: 180,
|
|
3624
3624
|
right: -90,
|
|
3625
3625
|
bottom: 0,
|
|
3626
3626
|
left: 90
|
|
3627
3627
|
};
|
|
3628
|
-
function
|
|
3629
|
-
const t =
|
|
3628
|
+
function br(e) {
|
|
3629
|
+
const t = vr(), n = Q({
|
|
3630
3630
|
size: er
|
|
3631
|
-
}, e), [r, o] = Z(n, ["ref", "style", "size"]), s = () => t.currentPlacement().split("-")[0], a =
|
|
3631
|
+
}, e), [r, o] = Z(n, ["ref", "style", "size"]), s = () => t.currentPlacement().split("-")[0], a = Cc(t.contentRef), l = () => a()?.getPropertyValue("background-color") || "none", i = () => a()?.getPropertyValue(`border-${s()}-color`) || "none", c = () => a()?.getPropertyValue(`border-${s()}-width`) || "0px", u = () => Number.parseInt(c()) * 2 * (er / r.size), d = () => `rotate(${$c[s()]} ${ho} ${ho}) translate(0 2)`;
|
|
3632
3632
|
return p(de, j({
|
|
3633
3633
|
as: "div",
|
|
3634
3634
|
ref(g) {
|
|
@@ -3646,25 +3646,25 @@ function vr(e) {
|
|
|
3646
3646
|
"pointer-events": "none",
|
|
3647
3647
|
fill: l(),
|
|
3648
3648
|
stroke: i(),
|
|
3649
|
-
"stroke-width":
|
|
3649
|
+
"stroke-width": u()
|
|
3650
3650
|
}, r.style);
|
|
3651
3651
|
}
|
|
3652
3652
|
}, o, {
|
|
3653
3653
|
get children() {
|
|
3654
|
-
const g =
|
|
3654
|
+
const g = wc(), f = g.firstChild;
|
|
3655
3655
|
return N(() => A(f, "transform", d())), g;
|
|
3656
3656
|
}
|
|
3657
3657
|
}));
|
|
3658
3658
|
}
|
|
3659
|
-
function
|
|
3659
|
+
function Cc(e) {
|
|
3660
3660
|
const [t, n] = R();
|
|
3661
3661
|
return B(() => {
|
|
3662
3662
|
const r = e();
|
|
3663
3663
|
r && n($a(r).getComputedStyle(r));
|
|
3664
3664
|
}), t;
|
|
3665
3665
|
}
|
|
3666
|
-
function
|
|
3667
|
-
const t =
|
|
3666
|
+
function Sc(e) {
|
|
3667
|
+
const t = vr(), [n, r] = Z(e, ["ref", "style"]);
|
|
3668
3668
|
return p(de, j({
|
|
3669
3669
|
as: "div",
|
|
3670
3670
|
ref(o) {
|
|
@@ -3698,7 +3698,7 @@ function po(e) {
|
|
|
3698
3698
|
};
|
|
3699
3699
|
return { ...s, toJSON: () => s };
|
|
3700
3700
|
}
|
|
3701
|
-
function
|
|
3701
|
+
function kc(e, t) {
|
|
3702
3702
|
return {
|
|
3703
3703
|
contextElement: e,
|
|
3704
3704
|
getBoundingClientRect: () => {
|
|
@@ -3707,20 +3707,20 @@ function ku(e, t) {
|
|
|
3707
3707
|
}
|
|
3708
3708
|
};
|
|
3709
3709
|
}
|
|
3710
|
-
function
|
|
3710
|
+
function Ec(e) {
|
|
3711
3711
|
return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e);
|
|
3712
3712
|
}
|
|
3713
|
-
var
|
|
3713
|
+
var Mc = {
|
|
3714
3714
|
top: "bottom",
|
|
3715
3715
|
right: "left",
|
|
3716
3716
|
bottom: "top",
|
|
3717
3717
|
left: "right"
|
|
3718
3718
|
};
|
|
3719
|
-
function
|
|
3720
|
-
const [n, r] = e.split("-"), o =
|
|
3719
|
+
function Dc(e, t) {
|
|
3720
|
+
const [n, r] = e.split("-"), o = Mc[n];
|
|
3721
3721
|
return r ? n === "left" || n === "right" ? `${o} ${r === "start" ? "top" : "bottom"}` : r === "start" ? `${o} ${t === "rtl" ? "right" : "left"}` : `${o} ${t === "rtl" ? "left" : "right"}` : `${o} center`;
|
|
3722
3722
|
}
|
|
3723
|
-
function
|
|
3723
|
+
function Ac(e) {
|
|
3724
3724
|
const t = Q({
|
|
3725
3725
|
getAnchorRect: (g) => g?.getBoundingClientRect(),
|
|
3726
3726
|
placement: "bottom",
|
|
@@ -3735,18 +3735,18 @@ function Au(e) {
|
|
|
3735
3735
|
detachedPadding: 0,
|
|
3736
3736
|
arrowPadding: 4,
|
|
3737
3737
|
overflowPadding: 8
|
|
3738
|
-
}, e), [n, r] = R(), [o, s] = R(), [a, l] = R(t.placement), i = () =>
|
|
3739
|
-
direction:
|
|
3738
|
+
}, e), [n, r] = R(), [o, s] = R(), [a, l] = R(t.placement), i = () => kc(t.anchorRef?.(), t.getAnchorRect), {
|
|
3739
|
+
direction: c
|
|
3740
3740
|
} = wt();
|
|
3741
|
-
async function
|
|
3741
|
+
async function u() {
|
|
3742
3742
|
const g = i(), f = n(), h = o();
|
|
3743
3743
|
if (!g || !f)
|
|
3744
3744
|
return;
|
|
3745
3745
|
const m = (h?.clientHeight || 0) / 2, y = typeof t.gutter == "number" ? t.gutter + m : t.gutter ?? m;
|
|
3746
3746
|
f.style.setProperty("--kb-popper-content-overflow-padding", `${t.overflowPadding}px`), g.getBoundingClientRect();
|
|
3747
|
-
const
|
|
3747
|
+
const v = [
|
|
3748
3748
|
// https://floating-ui.com/docs/offset
|
|
3749
|
-
|
|
3749
|
+
hc(({
|
|
3750
3750
|
placement: L
|
|
3751
3751
|
}) => {
|
|
3752
3752
|
const F = !!L.split("-")[1];
|
|
@@ -3759,18 +3759,18 @@ function Au(e) {
|
|
|
3759
3759
|
];
|
|
3760
3760
|
if (t.flip !== !1) {
|
|
3761
3761
|
const L = typeof t.flip == "string" ? t.flip.split(" ") : void 0;
|
|
3762
|
-
if (L !== void 0 && !L.every(
|
|
3762
|
+
if (L !== void 0 && !L.every(Ec))
|
|
3763
3763
|
throw new Error("`flip` expects a spaced-delimited list of placements");
|
|
3764
|
-
|
|
3764
|
+
v.push(mc({
|
|
3765
3765
|
padding: t.overflowPadding,
|
|
3766
3766
|
fallbackPlacements: L
|
|
3767
3767
|
}));
|
|
3768
3768
|
}
|
|
3769
|
-
(t.slide || t.overlap) &&
|
|
3769
|
+
(t.slide || t.overlap) && v.push(pc({
|
|
3770
3770
|
mainAxis: t.slide,
|
|
3771
3771
|
crossAxis: t.overlap,
|
|
3772
3772
|
padding: t.overflowPadding
|
|
3773
|
-
})),
|
|
3773
|
+
})), v.push(yc({
|
|
3774
3774
|
padding: t.overflowPadding,
|
|
3775
3775
|
apply({
|
|
3776
3776
|
availableWidth: L,
|
|
@@ -3780,36 +3780,36 @@ function Au(e) {
|
|
|
3780
3780
|
const S = Math.round(P.reference.width);
|
|
3781
3781
|
L = Math.floor(L), F = Math.floor(F), f.style.setProperty("--kb-popper-anchor-width", `${S}px`), f.style.setProperty("--kb-popper-content-available-width", `${L}px`), f.style.setProperty("--kb-popper-content-available-height", `${F}px`), t.sameWidth && (f.style.width = `${S}px`), t.fitViewport && (f.style.maxWidth = `${L}px`, f.style.maxHeight = `${F}px`);
|
|
3782
3782
|
}
|
|
3783
|
-
})), t.hideWhenDetached &&
|
|
3783
|
+
})), t.hideWhenDetached && v.push(vc({
|
|
3784
3784
|
padding: t.detachedPadding
|
|
3785
|
-
})), h &&
|
|
3785
|
+
})), h && v.push(bc({
|
|
3786
3786
|
element: h,
|
|
3787
3787
|
padding: t.arrowPadding
|
|
3788
3788
|
}));
|
|
3789
|
-
const
|
|
3789
|
+
const b = await xc(g, f, {
|
|
3790
3790
|
placement: t.placement,
|
|
3791
3791
|
strategy: "absolute",
|
|
3792
|
-
middleware:
|
|
3792
|
+
middleware: v,
|
|
3793
3793
|
platform: {
|
|
3794
3794
|
...Ci,
|
|
3795
|
-
isRTL: () =>
|
|
3795
|
+
isRTL: () => c() === "rtl"
|
|
3796
3796
|
}
|
|
3797
3797
|
});
|
|
3798
|
-
if (l(
|
|
3798
|
+
if (l(b.placement), t.onCurrentPlacementChange?.(b.placement), !f)
|
|
3799
3799
|
return;
|
|
3800
|
-
f.style.setProperty("--kb-popper-content-transform-origin",
|
|
3801
|
-
const x = Math.round(
|
|
3800
|
+
f.style.setProperty("--kb-popper-content-transform-origin", Dc(b.placement, c()));
|
|
3801
|
+
const x = Math.round(b.x), w = Math.round(b.y);
|
|
3802
3802
|
let $;
|
|
3803
|
-
if (t.hideWhenDetached && ($ =
|
|
3803
|
+
if (t.hideWhenDetached && ($ = b.middlewareData.hide?.referenceHidden ? "hidden" : "visible"), Object.assign(f.style, {
|
|
3804
3804
|
top: "0",
|
|
3805
3805
|
left: "0",
|
|
3806
3806
|
transform: `translate3d(${x}px, ${w}px, 0)`,
|
|
3807
3807
|
visibility: $
|
|
3808
|
-
}), h &&
|
|
3808
|
+
}), h && b.middlewareData.arrow) {
|
|
3809
3809
|
const {
|
|
3810
3810
|
x: L,
|
|
3811
3811
|
y: F
|
|
3812
|
-
} =
|
|
3812
|
+
} = b.middlewareData.arrow, P = b.placement.split("-")[0];
|
|
3813
3813
|
Object.assign(h.style, {
|
|
3814
3814
|
left: L != null ? `${L}px` : "",
|
|
3815
3815
|
top: F != null ? `${F}px` : "",
|
|
@@ -3821,7 +3821,7 @@ function Au(e) {
|
|
|
3821
3821
|
const g = i(), f = n();
|
|
3822
3822
|
if (!g || !f)
|
|
3823
3823
|
return;
|
|
3824
|
-
const h =
|
|
3824
|
+
const h = gc(g, f, u, {
|
|
3825
3825
|
// JSDOM doesn't support ResizeObserver
|
|
3826
3826
|
elementResize: typeof ResizeObserver == "function"
|
|
3827
3827
|
});
|
|
@@ -3845,13 +3845,13 @@ function Au(e) {
|
|
|
3845
3845
|
}
|
|
3846
3846
|
});
|
|
3847
3847
|
}
|
|
3848
|
-
var Si = Object.assign(
|
|
3849
|
-
Arrow:
|
|
3848
|
+
var Si = Object.assign(Ac, {
|
|
3849
|
+
Arrow: br,
|
|
3850
3850
|
Context: yr,
|
|
3851
|
-
usePopperContext:
|
|
3852
|
-
Positioner:
|
|
3851
|
+
usePopperContext: vr,
|
|
3852
|
+
Positioner: Sc
|
|
3853
3853
|
});
|
|
3854
|
-
function
|
|
3854
|
+
function Tc(e) {
|
|
3855
3855
|
const t = (n) => {
|
|
3856
3856
|
n.key === sr.Escape && e.onEscapeKeyDown?.(n);
|
|
3857
3857
|
};
|
|
@@ -3865,12 +3865,12 @@ function Tu(e) {
|
|
|
3865
3865
|
});
|
|
3866
3866
|
}
|
|
3867
3867
|
var mo = "interactOutside.pointerDownOutside", yo = "interactOutside.focusOutside";
|
|
3868
|
-
function
|
|
3868
|
+
function Fc(e, t) {
|
|
3869
3869
|
let n, r = Ra;
|
|
3870
3870
|
const o = () => Xe(t()), s = (d) => e.onPointerDownOutside?.(d), a = (d) => e.onFocusOutside?.(d), l = (d) => e.onInteractOutside?.(d), i = (d) => {
|
|
3871
3871
|
const g = d.target;
|
|
3872
3872
|
return !(g instanceof HTMLElement) || g.closest(`[${$n}]`) || !Re(o(), g) || Re(t(), g) ? !1 : !e.shouldExcludeElement?.(g);
|
|
3873
|
-
},
|
|
3873
|
+
}, c = (d) => {
|
|
3874
3874
|
function g() {
|
|
3875
3875
|
const f = t(), h = d.target;
|
|
3876
3876
|
if (!f || !h || !i(d))
|
|
@@ -3896,7 +3896,7 @@ function Fu(e, t) {
|
|
|
3896
3896
|
h.dispatchEvent(y);
|
|
3897
3897
|
}
|
|
3898
3898
|
d.pointerType === "touch" ? (o().removeEventListener("click", g), r = g, o().addEventListener("click", g, { once: !0 })) : g();
|
|
3899
|
-
},
|
|
3899
|
+
}, u = (d) => {
|
|
3900
3900
|
const g = t(), f = d.target;
|
|
3901
3901
|
if (!g || !f || !i(d))
|
|
3902
3902
|
return;
|
|
@@ -3917,26 +3917,26 @@ function Fu(e, t) {
|
|
|
3917
3917
|
};
|
|
3918
3918
|
B(() => {
|
|
3919
3919
|
E(e.isDisabled) || (n = window.setTimeout(() => {
|
|
3920
|
-
o().addEventListener("pointerdown",
|
|
3921
|
-
}, 0), o().addEventListener("focusin",
|
|
3922
|
-
window.clearTimeout(n), o().removeEventListener("click", r), o().removeEventListener("pointerdown",
|
|
3920
|
+
o().addEventListener("pointerdown", c, !0);
|
|
3921
|
+
}, 0), o().addEventListener("focusin", u, !0), U(() => {
|
|
3922
|
+
window.clearTimeout(n), o().removeEventListener("click", r), o().removeEventListener("pointerdown", c, !0), o().removeEventListener("focusin", u, !0);
|
|
3923
3923
|
}));
|
|
3924
3924
|
});
|
|
3925
3925
|
}
|
|
3926
3926
|
var ki = xe();
|
|
3927
|
-
function
|
|
3927
|
+
function Ic() {
|
|
3928
3928
|
return we(ki);
|
|
3929
3929
|
}
|
|
3930
|
-
function
|
|
3930
|
+
function Pc(e) {
|
|
3931
3931
|
let t;
|
|
3932
|
-
const n =
|
|
3932
|
+
const n = Ic(), [r, o] = Z(e, ["ref", "disableOutsidePointerEvents", "excludedElements", "onEscapeKeyDown", "onPointerDownOutside", "onFocusOutside", "onInteractOutside", "onDismiss", "bypassTopMostLayerCheck"]), s = /* @__PURE__ */ new Set([]), a = (d) => {
|
|
3933
3933
|
s.add(d);
|
|
3934
3934
|
const g = n?.registerNestedLayer(d);
|
|
3935
3935
|
return () => {
|
|
3936
3936
|
s.delete(d), g?.();
|
|
3937
3937
|
};
|
|
3938
3938
|
};
|
|
3939
|
-
|
|
3939
|
+
Fc({
|
|
3940
3940
|
shouldExcludeElement: (d) => t ? r.excludedElements?.some((g) => Re(g(), d)) || [...s].some((g) => Re(g, d)) : !1,
|
|
3941
3941
|
onPointerDownOutside: (d) => {
|
|
3942
3942
|
!t || Te.isBelowPointerBlockingLayer(t) || !r.bypassTopMostLayerCheck && !Te.isTopMostLayer(t) || (r.onPointerDownOutside?.(d), r.onInteractOutside?.(d), d.defaultPrevented || r.onDismiss?.());
|
|
@@ -3944,7 +3944,7 @@ function Pu(e) {
|
|
|
3944
3944
|
onFocusOutside: (d) => {
|
|
3945
3945
|
r.onFocusOutside?.(d), r.onInteractOutside?.(d), d.defaultPrevented || r.onDismiss?.();
|
|
3946
3946
|
}
|
|
3947
|
-
}, () => t),
|
|
3947
|
+
}, () => t), Tc({
|
|
3948
3948
|
ownerDocument: () => Xe(t),
|
|
3949
3949
|
onEscapeKeyDown: (d) => {
|
|
3950
3950
|
!t || !Te.isTopMostLayer(t) || (r.onEscapeKeyDown?.(d), !d.defaultPrevented && r.onDismiss && (d.preventDefault(), r.onDismiss()));
|
|
@@ -3961,7 +3961,7 @@ function Pu(e) {
|
|
|
3961
3961
|
Te.assignPointerEventToLayers(), Te.disableBodyPointerEvents(t), U(() => {
|
|
3962
3962
|
t && (Te.removeLayer(t), d?.(), Te.assignPointerEventToLayers(), Te.restoreBodyPointerEvents(t));
|
|
3963
3963
|
});
|
|
3964
|
-
}), B(
|
|
3964
|
+
}), B(ct([() => t, () => r.disableOutsidePointerEvents], ([d, g]) => {
|
|
3965
3965
|
if (!d)
|
|
3966
3966
|
return;
|
|
3967
3967
|
const f = Te.find(d);
|
|
@@ -3971,11 +3971,11 @@ function Pu(e) {
|
|
|
3971
3971
|
}, {
|
|
3972
3972
|
defer: !0
|
|
3973
3973
|
}));
|
|
3974
|
-
const
|
|
3974
|
+
const u = {
|
|
3975
3975
|
registerNestedLayer: a
|
|
3976
3976
|
};
|
|
3977
3977
|
return p(ki.Provider, {
|
|
3978
|
-
value:
|
|
3978
|
+
value: u,
|
|
3979
3979
|
get children() {
|
|
3980
3980
|
return p(de, j({
|
|
3981
3981
|
as: "div",
|
|
@@ -4018,7 +4018,7 @@ Fn(qe, {
|
|
|
4018
4018
|
ItemInput: () => Li,
|
|
4019
4019
|
ItemLabel: () => Oi,
|
|
4020
4020
|
Label: () => _i,
|
|
4021
|
-
RadioGroup: () =>
|
|
4021
|
+
RadioGroup: () => Lc,
|
|
4022
4022
|
Root: () => qi
|
|
4023
4023
|
});
|
|
4024
4024
|
var Mi = xe();
|
|
@@ -4036,27 +4036,27 @@ function fn() {
|
|
|
4036
4036
|
return e;
|
|
4037
4037
|
}
|
|
4038
4038
|
function Ti(e) {
|
|
4039
|
-
const t =
|
|
4039
|
+
const t = cn(), n = Di(), r = `${t.generateId("item")}-${Ke()}`, o = Q({
|
|
4040
4040
|
id: r
|
|
4041
|
-
}, e), [s, a] = Z(o, ["value", "disabled", "onPointerDown"]), [l, i] = R(), [
|
|
4042
|
-
|
|
4041
|
+
}, e), [s, a] = Z(o, ["value", "disabled", "onPointerDown"]), [l, i] = R(), [c, u] = R(), [d, g] = R(), [f, h] = R(), [m, y] = R(!1), v = M(() => n.isSelectedValue(s.value)), b = M(() => s.disabled || t.isDisabled() || !1), x = (L) => {
|
|
4042
|
+
ue(L, s.onPointerDown), m() && L.preventDefault();
|
|
4043
4043
|
}, w = M(() => ({
|
|
4044
4044
|
...t.dataset(),
|
|
4045
|
-
"data-disabled":
|
|
4046
|
-
"data-checked":
|
|
4045
|
+
"data-disabled": b() ? "" : void 0,
|
|
4046
|
+
"data-checked": v() ? "" : void 0
|
|
4047
4047
|
})), $ = {
|
|
4048
4048
|
value: () => s.value,
|
|
4049
4049
|
dataset: w,
|
|
4050
|
-
isSelected:
|
|
4051
|
-
isDisabled:
|
|
4050
|
+
isSelected: v,
|
|
4051
|
+
isDisabled: b,
|
|
4052
4052
|
inputId: l,
|
|
4053
|
-
labelId:
|
|
4053
|
+
labelId: c,
|
|
4054
4054
|
descriptionId: d,
|
|
4055
4055
|
inputRef: f,
|
|
4056
4056
|
select: () => n.setSelectedValue(s.value),
|
|
4057
4057
|
generateId: ln(() => a.id),
|
|
4058
4058
|
registerInput: ze(i),
|
|
4059
|
-
registerLabel: ze(
|
|
4059
|
+
registerLabel: ze(u),
|
|
4060
4060
|
registerDescription: ze(g),
|
|
4061
4061
|
setIsFocused: y,
|
|
4062
4062
|
setInputRef: h
|
|
@@ -4079,10 +4079,10 @@ function Fi(e) {
|
|
|
4079
4079
|
return p(de, j({
|
|
4080
4080
|
as: "div",
|
|
4081
4081
|
onClick: (l) => {
|
|
4082
|
-
|
|
4082
|
+
ue(l, r.onClick), t.select(), t.inputRef()?.focus();
|
|
4083
4083
|
},
|
|
4084
4084
|
onKeyDown: (l) => {
|
|
4085
|
-
|
|
4085
|
+
ue(l, r.onKeyDown), l.key === sr.Space && (t.select(), t.inputRef()?.focus());
|
|
4086
4086
|
}
|
|
4087
4087
|
}, () => t.dataset(), o));
|
|
4088
4088
|
}
|
|
@@ -4099,7 +4099,7 @@ function Pi(e) {
|
|
|
4099
4099
|
id: t.generateId("indicator")
|
|
4100
4100
|
}, e), [r, o] = Z(n, ["ref", "forceMount"]), [s, a] = R(), {
|
|
4101
4101
|
present: l
|
|
4102
|
-
} =
|
|
4102
|
+
} = ui({
|
|
4103
4103
|
show: () => r.forceMount || t.isSelected(),
|
|
4104
4104
|
element: () => s() ?? null
|
|
4105
4105
|
});
|
|
@@ -4111,37 +4111,37 @@ function Pi(e) {
|
|
|
4111
4111
|
return p(de, j({
|
|
4112
4112
|
as: "div",
|
|
4113
4113
|
ref(i) {
|
|
4114
|
-
const
|
|
4115
|
-
typeof
|
|
4114
|
+
const c = Me(a, r.ref);
|
|
4115
|
+
typeof c == "function" && c(i);
|
|
4116
4116
|
}
|
|
4117
4117
|
}, () => t.dataset(), o));
|
|
4118
4118
|
}
|
|
4119
4119
|
});
|
|
4120
4120
|
}
|
|
4121
4121
|
function Li(e) {
|
|
4122
|
-
const t =
|
|
4122
|
+
const t = cn(), n = Di(), r = fn(), o = Q({
|
|
4123
4123
|
id: r.generateId("input")
|
|
4124
4124
|
}, e), [s, a] = Z(o, ["ref", "style", "aria-labelledby", "aria-describedby", "onChange", "onFocus", "onBlur"]), l = () => [
|
|
4125
4125
|
s["aria-labelledby"],
|
|
4126
4126
|
r.labelId(),
|
|
4127
4127
|
// If there is both an aria-label and aria-labelledby, add the input itself has an aria-labelledby
|
|
4128
4128
|
s["aria-labelledby"] != null && a["aria-label"] != null ? a.id : void 0
|
|
4129
|
-
].filter(Boolean).join(" ") || void 0, i = () => [s["aria-describedby"], r.descriptionId(), n.ariaDescribedBy()].filter(Boolean).join(" ") || void 0, [
|
|
4130
|
-
if (
|
|
4129
|
+
].filter(Boolean).join(" ") || void 0, i = () => [s["aria-describedby"], r.descriptionId(), n.ariaDescribedBy()].filter(Boolean).join(" ") || void 0, [c, u] = R(!1), d = (h) => {
|
|
4130
|
+
if (ue(h, s.onChange), h.stopPropagation(), !c()) {
|
|
4131
4131
|
n.setSelectedValue(r.value());
|
|
4132
4132
|
const m = h.target;
|
|
4133
4133
|
m.checked = r.isSelected();
|
|
4134
4134
|
}
|
|
4135
|
-
|
|
4135
|
+
u(!1);
|
|
4136
4136
|
}, g = (h) => {
|
|
4137
|
-
|
|
4137
|
+
ue(h, s.onFocus), r.setIsFocused(!0);
|
|
4138
4138
|
}, f = (h) => {
|
|
4139
|
-
|
|
4139
|
+
ue(h, s.onBlur), r.setIsFocused(!1);
|
|
4140
4140
|
};
|
|
4141
|
-
return B(
|
|
4141
|
+
return B(ct([() => r.isSelected(), () => r.value()], (h) => {
|
|
4142
4142
|
if (!h[0] && h[1] === r.value())
|
|
4143
4143
|
return;
|
|
4144
|
-
|
|
4144
|
+
u(!0);
|
|
4145
4145
|
const m = r.inputRef();
|
|
4146
4146
|
m?.dispatchEvent(new Event("input", {
|
|
4147
4147
|
bubbles: !0,
|
|
@@ -4214,19 +4214,19 @@ function qi(e) {
|
|
|
4214
4214
|
const n = `radiogroup-${Ke()}`, r = Q({
|
|
4215
4215
|
id: n,
|
|
4216
4216
|
orientation: "vertical"
|
|
4217
|
-
}, e), [o, s, a] = Z(r, ["ref", "value", "defaultValue", "onChange", "orientation", "aria-labelledby", "aria-describedby"], Ba), [l, i] =
|
|
4217
|
+
}, e), [o, s, a] = Z(r, ["ref", "value", "defaultValue", "onChange", "orientation", "aria-labelledby", "aria-describedby"], Ba), [l, i] = un({
|
|
4218
4218
|
value: () => o.value,
|
|
4219
4219
|
defaultValue: () => o.defaultValue,
|
|
4220
4220
|
onChange: (h) => o.onChange?.(h)
|
|
4221
4221
|
}), {
|
|
4222
|
-
formControlContext:
|
|
4222
|
+
formControlContext: c
|
|
4223
4223
|
} = Na(s);
|
|
4224
4224
|
Ga(() => t, () => i(o.defaultValue ?? ""));
|
|
4225
|
-
const
|
|
4225
|
+
const u = () => c.getAriaLabelledBy(E(s.id), a["aria-label"], o["aria-labelledby"]), d = () => c.getAriaDescribedBy(o["aria-describedby"]), g = (h) => h === l(), f = {
|
|
4226
4226
|
ariaDescribedBy: d,
|
|
4227
4227
|
isSelectedValue: g,
|
|
4228
4228
|
setSelectedValue: (h) => {
|
|
4229
|
-
if (!(
|
|
4229
|
+
if (!(c.isReadOnly() || c.isDisabled()) && (i(h), t))
|
|
4230
4230
|
for (const m of t.querySelectorAll("[type='radio']")) {
|
|
4231
4231
|
const y = m;
|
|
4232
4232
|
y.checked = g(y.value);
|
|
@@ -4234,7 +4234,7 @@ function qi(e) {
|
|
|
4234
4234
|
}
|
|
4235
4235
|
};
|
|
4236
4236
|
return p(Xo.Provider, {
|
|
4237
|
-
value:
|
|
4237
|
+
value: c,
|
|
4238
4238
|
get children() {
|
|
4239
4239
|
return p(Mi.Provider, {
|
|
4240
4240
|
value: f,
|
|
@@ -4250,33 +4250,33 @@ function qi(e) {
|
|
|
4250
4250
|
return E(s.id);
|
|
4251
4251
|
},
|
|
4252
4252
|
get "aria-invalid"() {
|
|
4253
|
-
return
|
|
4253
|
+
return c.validationState() === "invalid" || void 0;
|
|
4254
4254
|
},
|
|
4255
4255
|
get "aria-required"() {
|
|
4256
|
-
return
|
|
4256
|
+
return c.isRequired() || void 0;
|
|
4257
4257
|
},
|
|
4258
4258
|
get "aria-disabled"() {
|
|
4259
|
-
return
|
|
4259
|
+
return c.isDisabled() || void 0;
|
|
4260
4260
|
},
|
|
4261
4261
|
get "aria-readonly"() {
|
|
4262
|
-
return
|
|
4262
|
+
return c.isReadOnly() || void 0;
|
|
4263
4263
|
},
|
|
4264
4264
|
get "aria-orientation"() {
|
|
4265
4265
|
return o.orientation;
|
|
4266
4266
|
},
|
|
4267
4267
|
get "aria-labelledby"() {
|
|
4268
|
-
return
|
|
4268
|
+
return u();
|
|
4269
4269
|
},
|
|
4270
4270
|
get "aria-describedby"() {
|
|
4271
4271
|
return d();
|
|
4272
4272
|
}
|
|
4273
|
-
}, () =>
|
|
4273
|
+
}, () => c.dataset(), a));
|
|
4274
4274
|
}
|
|
4275
4275
|
});
|
|
4276
4276
|
}
|
|
4277
4277
|
});
|
|
4278
4278
|
}
|
|
4279
|
-
var
|
|
4279
|
+
var Lc = Object.assign(qi, {
|
|
4280
4280
|
Description: Zo,
|
|
4281
4281
|
ErrorMessage: Jo,
|
|
4282
4282
|
Item: Ti,
|
|
@@ -4286,7 +4286,7 @@ var Lu = Object.assign(qi, {
|
|
|
4286
4286
|
ItemInput: Li,
|
|
4287
4287
|
ItemLabel: Oi,
|
|
4288
4288
|
Label: _i
|
|
4289
|
-
}),
|
|
4289
|
+
}), Oc = class {
|
|
4290
4290
|
collection;
|
|
4291
4291
|
ref;
|
|
4292
4292
|
collator;
|
|
@@ -4378,12 +4378,12 @@ var Lu = Object.assign(qi, {
|
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
4380
4380
|
};
|
|
4381
|
-
function
|
|
4381
|
+
function _c(e, t, n) {
|
|
4382
4382
|
const r = dl({ usage: "search", sensitivity: "base" }), o = M(() => {
|
|
4383
4383
|
const s = E(e.keyboardDelegate);
|
|
4384
|
-
return s || new
|
|
4384
|
+
return s || new Oc(e.collection, t, r);
|
|
4385
4385
|
});
|
|
4386
|
-
return
|
|
4386
|
+
return vl(
|
|
4387
4387
|
{
|
|
4388
4388
|
selectionManager: () => E(e.selectionManager),
|
|
4389
4389
|
keyboardDelegate: o,
|
|
@@ -4402,10 +4402,10 @@ function _u(e, t, n) {
|
|
|
4402
4402
|
t
|
|
4403
4403
|
);
|
|
4404
4404
|
}
|
|
4405
|
-
var Bn = "focusScope.autoFocusOnMount", Nn = "focusScope.autoFocusOnUnmount",
|
|
4405
|
+
var Bn = "focusScope.autoFocusOnMount", Nn = "focusScope.autoFocusOnUnmount", vo = {
|
|
4406
4406
|
bubbles: !1,
|
|
4407
4407
|
cancelable: !0
|
|
4408
|
-
},
|
|
4408
|
+
}, bo = {
|
|
4409
4409
|
/** A stack of focus scopes, with the active one at the top */
|
|
4410
4410
|
stack: [],
|
|
4411
4411
|
active() {
|
|
@@ -4418,7 +4418,7 @@ var Bn = "focusScope.autoFocusOnMount", Nn = "focusScope.autoFocusOnUnmount", bo
|
|
|
4418
4418
|
this.stack = Wn(this.stack, e), this.active()?.resume();
|
|
4419
4419
|
}
|
|
4420
4420
|
};
|
|
4421
|
-
function
|
|
4421
|
+
function qc(e, t) {
|
|
4422
4422
|
const [n, r] = R(!1), o = {
|
|
4423
4423
|
pause() {
|
|
4424
4424
|
r(!0);
|
|
@@ -4428,17 +4428,17 @@ function qu(e, t) {
|
|
|
4428
4428
|
}
|
|
4429
4429
|
};
|
|
4430
4430
|
let s = null;
|
|
4431
|
-
const a = (h) => e.onMountAutoFocus?.(h), l = (h) => e.onUnmountAutoFocus?.(h), i = () => Xe(t()),
|
|
4431
|
+
const a = (h) => e.onMountAutoFocus?.(h), l = (h) => e.onUnmountAutoFocus?.(h), i = () => Xe(t()), c = () => {
|
|
4432
4432
|
const h = i().createElement("span");
|
|
4433
4433
|
return h.setAttribute("data-focus-trap", ""), h.tabIndex = 0, Object.assign(h.style, Yo), h;
|
|
4434
|
-
},
|
|
4434
|
+
}, u = () => {
|
|
4435
4435
|
const h = t();
|
|
4436
4436
|
return h ? Wo(h, !0).filter((m) => !m.hasAttribute("data-focus-trap")) : [];
|
|
4437
4437
|
}, d = () => {
|
|
4438
|
-
const h =
|
|
4438
|
+
const h = u();
|
|
4439
4439
|
return h.length > 0 ? h[0] : null;
|
|
4440
4440
|
}, g = () => {
|
|
4441
|
-
const h =
|
|
4441
|
+
const h = u();
|
|
4442
4442
|
return h.length > 0 ? h[h.length - 1] : null;
|
|
4443
4443
|
}, f = () => {
|
|
4444
4444
|
const h = t();
|
|
@@ -4451,29 +4451,29 @@ function qu(e, t) {
|
|
|
4451
4451
|
const h = t();
|
|
4452
4452
|
if (!h)
|
|
4453
4453
|
return;
|
|
4454
|
-
|
|
4454
|
+
bo.add(o);
|
|
4455
4455
|
const m = Jt(h);
|
|
4456
4456
|
if (!Re(h, m)) {
|
|
4457
|
-
const
|
|
4458
|
-
h.addEventListener(Bn, a), h.dispatchEvent(
|
|
4457
|
+
const v = new CustomEvent(Bn, vo);
|
|
4458
|
+
h.addEventListener(Bn, a), h.dispatchEvent(v), v.defaultPrevented || setTimeout(() => {
|
|
4459
4459
|
Se(d()), Jt(h) === m && Se(h);
|
|
4460
4460
|
}, 0);
|
|
4461
4461
|
}
|
|
4462
4462
|
U(() => {
|
|
4463
4463
|
h.removeEventListener(Bn, a), setTimeout(() => {
|
|
4464
|
-
const
|
|
4465
|
-
f() &&
|
|
4464
|
+
const v = new CustomEvent(Nn, vo);
|
|
4465
|
+
f() && v.preventDefault(), h.addEventListener(Nn, l), h.dispatchEvent(v), v.defaultPrevented || Se(m ?? i().body), h.removeEventListener(Nn, l), bo.remove(o);
|
|
4466
4466
|
}, 0);
|
|
4467
4467
|
});
|
|
4468
4468
|
}), B(() => {
|
|
4469
4469
|
const h = t();
|
|
4470
4470
|
if (!h || !E(e.trapFocus) || n())
|
|
4471
4471
|
return;
|
|
4472
|
-
const m = (
|
|
4473
|
-
const
|
|
4474
|
-
|
|
4475
|
-
}, y = (
|
|
4476
|
-
const x =
|
|
4472
|
+
const m = (v) => {
|
|
4473
|
+
const b = v.target;
|
|
4474
|
+
b?.closest(`[${$n}]`) || (Re(h, b) ? s = b : Se(s));
|
|
4475
|
+
}, y = (v) => {
|
|
4476
|
+
const x = v.relatedTarget ?? Jt(h);
|
|
4477
4477
|
x?.closest(`[${$n}]`) || Re(h, x) || Se(s);
|
|
4478
4478
|
};
|
|
4479
4479
|
i().addEventListener("focusin", m), i().addEventListener("focusout", y), U(() => {
|
|
@@ -4483,69 +4483,69 @@ function qu(e, t) {
|
|
|
4483
4483
|
const h = t();
|
|
4484
4484
|
if (!h || !E(e.trapFocus) || n())
|
|
4485
4485
|
return;
|
|
4486
|
-
const m =
|
|
4486
|
+
const m = c();
|
|
4487
4487
|
h.insertAdjacentElement("afterbegin", m);
|
|
4488
|
-
const y =
|
|
4488
|
+
const y = c();
|
|
4489
4489
|
h.insertAdjacentElement("beforeend", y);
|
|
4490
|
-
function
|
|
4490
|
+
function v(x) {
|
|
4491
4491
|
const w = d(), $ = g();
|
|
4492
4492
|
x.relatedTarget === w ? Se($) : Se(w);
|
|
4493
4493
|
}
|
|
4494
|
-
m.addEventListener("focusin",
|
|
4495
|
-
const
|
|
4494
|
+
m.addEventListener("focusin", v), y.addEventListener("focusin", v);
|
|
4495
|
+
const b = new MutationObserver((x) => {
|
|
4496
4496
|
for (const w of x)
|
|
4497
4497
|
w.previousSibling === y && (y.remove(), h.insertAdjacentElement("beforeend", y)), w.nextSibling === m && (m.remove(), h.insertAdjacentElement("afterbegin", m));
|
|
4498
4498
|
});
|
|
4499
|
-
|
|
4499
|
+
b.observe(h, {
|
|
4500
4500
|
childList: !0,
|
|
4501
4501
|
subtree: !1
|
|
4502
4502
|
}), U(() => {
|
|
4503
|
-
m.removeEventListener("focusin",
|
|
4503
|
+
m.removeEventListener("focusin", v), y.removeEventListener("focusin", v), m.remove(), y.remove(), b.disconnect();
|
|
4504
4504
|
});
|
|
4505
4505
|
});
|
|
4506
4506
|
}
|
|
4507
|
-
var
|
|
4508
|
-
function
|
|
4507
|
+
var Rc = "data-live-announcer";
|
|
4508
|
+
function zc(e) {
|
|
4509
4509
|
B(() => {
|
|
4510
|
-
E(e.isDisabled) || U(
|
|
4510
|
+
E(e.isDisabled) || U(Kc(E(e.targets), E(e.root)));
|
|
4511
4511
|
});
|
|
4512
4512
|
}
|
|
4513
4513
|
var Xt = /* @__PURE__ */ new WeakMap(), _e = [];
|
|
4514
|
-
function
|
|
4514
|
+
function Kc(e, t = document.body) {
|
|
4515
4515
|
const n = new Set(e), r = /* @__PURE__ */ new Set(), o = (i) => {
|
|
4516
4516
|
for (const g of i.querySelectorAll(
|
|
4517
|
-
`[${
|
|
4517
|
+
`[${Rc}], [${$n}]`
|
|
4518
4518
|
))
|
|
4519
4519
|
n.add(g);
|
|
4520
|
-
const
|
|
4520
|
+
const c = (g) => {
|
|
4521
4521
|
if (n.has(g) || g.parentElement && r.has(g.parentElement) && g.parentElement.getAttribute("role") !== "row")
|
|
4522
4522
|
return NodeFilter.FILTER_REJECT;
|
|
4523
4523
|
for (const f of n)
|
|
4524
4524
|
if (g.contains(f))
|
|
4525
4525
|
return NodeFilter.FILTER_SKIP;
|
|
4526
4526
|
return NodeFilter.FILTER_ACCEPT;
|
|
4527
|
-
},
|
|
4528
|
-
acceptNode:
|
|
4529
|
-
}), d =
|
|
4527
|
+
}, u = document.createTreeWalker(i, NodeFilter.SHOW_ELEMENT, {
|
|
4528
|
+
acceptNode: c
|
|
4529
|
+
}), d = c(i);
|
|
4530
4530
|
if (d === NodeFilter.FILTER_ACCEPT && s(i), d !== NodeFilter.FILTER_REJECT) {
|
|
4531
|
-
let g =
|
|
4531
|
+
let g = u.nextNode();
|
|
4532
4532
|
for (; g != null; )
|
|
4533
|
-
s(g), g =
|
|
4533
|
+
s(g), g = u.nextNode();
|
|
4534
4534
|
}
|
|
4535
4535
|
}, s = (i) => {
|
|
4536
|
-
const
|
|
4537
|
-
i.getAttribute("aria-hidden") === "true" &&
|
|
4536
|
+
const c = Xt.get(i) ?? 0;
|
|
4537
|
+
i.getAttribute("aria-hidden") === "true" && c === 0 || (c === 0 && i.setAttribute("aria-hidden", "true"), r.add(i), Xt.set(i, c + 1));
|
|
4538
4538
|
};
|
|
4539
4539
|
_e.length && _e[_e.length - 1].disconnect(), o(t);
|
|
4540
4540
|
const a = new MutationObserver((i) => {
|
|
4541
|
-
for (const
|
|
4542
|
-
if (!(
|
|
4543
|
-
(
|
|
4541
|
+
for (const c of i)
|
|
4542
|
+
if (!(c.type !== "childList" || c.addedNodes.length === 0) && ![...n, ...r].some(
|
|
4543
|
+
(u) => u.contains(c.target)
|
|
4544
4544
|
)) {
|
|
4545
|
-
for (const
|
|
4546
|
-
|
|
4547
|
-
for (const
|
|
4548
|
-
(
|
|
4545
|
+
for (const u of c.removedNodes)
|
|
4546
|
+
u instanceof Element && (n.delete(u), r.delete(u));
|
|
4547
|
+
for (const u of c.addedNodes)
|
|
4548
|
+
(u instanceof HTMLElement || u instanceof SVGElement) && (u.dataset.liveAnnouncer === "true" || u.dataset.reactAriaTopLayer === "true") ? n.add(u) : u instanceof Element && o(u);
|
|
4549
4549
|
}
|
|
4550
4550
|
});
|
|
4551
4551
|
a.observe(t, { childList: !0, subtree: !0 });
|
|
@@ -4560,21 +4560,21 @@ function Ku(e, t = document.body) {
|
|
|
4560
4560
|
return _e.push(l), () => {
|
|
4561
4561
|
a.disconnect();
|
|
4562
4562
|
for (const i of r) {
|
|
4563
|
-
const
|
|
4564
|
-
if (
|
|
4563
|
+
const c = Xt.get(i);
|
|
4564
|
+
if (c == null)
|
|
4565
4565
|
return;
|
|
4566
|
-
|
|
4566
|
+
c === 1 ? (i.removeAttribute("aria-hidden"), Xt.delete(i)) : Xt.set(i, c - 1);
|
|
4567
4567
|
}
|
|
4568
4568
|
l === _e[_e.length - 1] ? (_e.pop(), _e.length && _e[_e.length - 1].observe()) : _e.splice(_e.indexOf(l), 1);
|
|
4569
4569
|
};
|
|
4570
4570
|
}
|
|
4571
|
-
var
|
|
4571
|
+
var bn = /* @__PURE__ */ new Map(), Bc = (e) => {
|
|
4572
4572
|
B(() => {
|
|
4573
4573
|
const t = Ce(e.style) ?? {}, n = Ce(e.properties) ?? [], r = {};
|
|
4574
4574
|
for (const s in t)
|
|
4575
4575
|
r[s] = e.element.style[s];
|
|
4576
|
-
const o =
|
|
4577
|
-
o ? o.activeCount++ :
|
|
4576
|
+
const o = bn.get(e.key);
|
|
4577
|
+
o ? o.activeCount++ : bn.set(e.key, {
|
|
4578
4578
|
activeCount: 1,
|
|
4579
4579
|
originalStyles: r,
|
|
4580
4580
|
properties: n.map((s) => s.key)
|
|
@@ -4582,13 +4582,13 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4582
4582
|
for (const s of n)
|
|
4583
4583
|
e.element.style.setProperty(s.key, s.value);
|
|
4584
4584
|
U(() => {
|
|
4585
|
-
const s =
|
|
4585
|
+
const s = bn.get(e.key);
|
|
4586
4586
|
if (s) {
|
|
4587
4587
|
if (s.activeCount !== 1) {
|
|
4588
4588
|
s.activeCount--;
|
|
4589
4589
|
return;
|
|
4590
4590
|
}
|
|
4591
|
-
|
|
4591
|
+
bn.delete(e.key);
|
|
4592
4592
|
for (const [a, l] of Object.entries(s.originalStyles))
|
|
4593
4593
|
e.element.style[a] = l;
|
|
4594
4594
|
for (const a of s.properties)
|
|
@@ -4597,29 +4597,29 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
});
|
|
4599
4599
|
});
|
|
4600
|
-
}, xo =
|
|
4600
|
+
}, xo = Bc, Nc = (e, t) => {
|
|
4601
4601
|
switch (t) {
|
|
4602
4602
|
case "x":
|
|
4603
4603
|
return [e.clientWidth, e.scrollLeft, e.scrollWidth];
|
|
4604
4604
|
case "y":
|
|
4605
4605
|
return [e.clientHeight, e.scrollTop, e.scrollHeight];
|
|
4606
4606
|
}
|
|
4607
|
-
},
|
|
4607
|
+
}, Uc = (e, t) => {
|
|
4608
4608
|
const n = getComputedStyle(e), r = t === "x" ? n.overflowX : n.overflowY;
|
|
4609
4609
|
return r === "auto" || r === "scroll" || // The HTML element is a scroll container if it has overflow visible
|
|
4610
4610
|
e.tagName === "HTML" && r === "visible";
|
|
4611
|
-
},
|
|
4611
|
+
}, Gc = (e, t, n) => {
|
|
4612
4612
|
const r = t === "x" && window.getComputedStyle(e).direction === "rtl" ? -1 : 1;
|
|
4613
4613
|
let o = e, s = 0, a = 0, l = !1;
|
|
4614
4614
|
do {
|
|
4615
|
-
const [i,
|
|
4615
|
+
const [i, c, u] = Nc(
|
|
4616
4616
|
o,
|
|
4617
4617
|
t
|
|
4618
|
-
), d =
|
|
4619
|
-
(
|
|
4618
|
+
), d = u - i - r * c;
|
|
4619
|
+
(c !== 0 || d !== 0) && Uc(o, t) && (s += d, a += c), o === (n ?? document.documentElement) ? l = !0 : o = o._$host ?? o.parentElement;
|
|
4620
4620
|
} while (o && !l);
|
|
4621
4621
|
return [s, a];
|
|
4622
|
-
}, [wo, $o] = R([]),
|
|
4622
|
+
}, [wo, $o] = R([]), Vc = (e) => wo().indexOf(e) === wo().length - 1, Hc = (e) => {
|
|
4623
4623
|
const t = j(
|
|
4624
4624
|
{
|
|
4625
4625
|
element: null,
|
|
@@ -4634,41 +4634,41 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4634
4634
|
), n = Ke();
|
|
4635
4635
|
let r = [0, 0], o = null, s = null;
|
|
4636
4636
|
B(() => {
|
|
4637
|
-
Ce(t.enabled) && ($o((
|
|
4637
|
+
Ce(t.enabled) && ($o((c) => [...c, n]), U(() => {
|
|
4638
4638
|
$o(
|
|
4639
|
-
(
|
|
4639
|
+
(c) => c.filter((u) => u !== n)
|
|
4640
4640
|
);
|
|
4641
4641
|
}));
|
|
4642
4642
|
}), B(() => {
|
|
4643
4643
|
if (!Ce(t.enabled) || !Ce(t.hideScrollbar))
|
|
4644
4644
|
return;
|
|
4645
|
-
const { body:
|
|
4645
|
+
const { body: c } = document, u = window.innerWidth - c.offsetWidth;
|
|
4646
4646
|
if (Ce(t.preventScrollbarShift)) {
|
|
4647
4647
|
const d = { overflow: "hidden" }, g = [];
|
|
4648
|
-
|
|
4648
|
+
u > 0 && (Ce(t.preventScrollbarShiftMode) === "padding" ? d.paddingRight = `calc(${window.getComputedStyle(c).paddingRight} + ${u}px)` : d.marginRight = `calc(${window.getComputedStyle(c).marginRight} + ${u}px)`, g.push({
|
|
4649
4649
|
key: "--scrollbar-width",
|
|
4650
|
-
value: `${
|
|
4650
|
+
value: `${u}px`
|
|
4651
4651
|
}));
|
|
4652
4652
|
const f = window.scrollY, h = window.scrollX;
|
|
4653
4653
|
xo({
|
|
4654
4654
|
key: "prevent-scroll",
|
|
4655
|
-
element:
|
|
4655
|
+
element: c,
|
|
4656
4656
|
style: d,
|
|
4657
4657
|
properties: g,
|
|
4658
4658
|
cleanup: () => {
|
|
4659
|
-
Ce(t.restoreScrollPosition) &&
|
|
4659
|
+
Ce(t.restoreScrollPosition) && u > 0 && window.scrollTo(h, f);
|
|
4660
4660
|
}
|
|
4661
4661
|
});
|
|
4662
4662
|
} else
|
|
4663
4663
|
xo({
|
|
4664
4664
|
key: "prevent-scroll",
|
|
4665
|
-
element:
|
|
4665
|
+
element: c,
|
|
4666
4666
|
style: {
|
|
4667
4667
|
overflow: "hidden"
|
|
4668
4668
|
}
|
|
4669
4669
|
});
|
|
4670
4670
|
}), B(() => {
|
|
4671
|
-
!
|
|
4671
|
+
!Vc(n) || !Ce(t.enabled) || (document.addEventListener("wheel", l, {
|
|
4672
4672
|
passive: !1
|
|
4673
4673
|
}), document.addEventListener("touchstart", a, {
|
|
4674
4674
|
passive: !1
|
|
@@ -4678,20 +4678,20 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4678
4678
|
document.removeEventListener("wheel", l), document.removeEventListener("touchstart", a), document.removeEventListener("touchmove", i);
|
|
4679
4679
|
}));
|
|
4680
4680
|
});
|
|
4681
|
-
const a = (
|
|
4682
|
-
r = Co(
|
|
4683
|
-
}, l = (
|
|
4684
|
-
const
|
|
4681
|
+
const a = (c) => {
|
|
4682
|
+
r = Co(c), o = null, s = null;
|
|
4683
|
+
}, l = (c) => {
|
|
4684
|
+
const u = c.target, d = Ce(t.element), g = jc(c), f = Math.abs(g[0]) > Math.abs(g[1]) ? "x" : "y", h = f === "x" ? g[0] : g[1], m = So(u, f, h, d);
|
|
4685
4685
|
let y;
|
|
4686
|
-
d && tr(d,
|
|
4687
|
-
}, i = (
|
|
4688
|
-
const
|
|
4686
|
+
d && tr(d, u) ? y = !m : y = !0, y && c.cancelable && c.preventDefault();
|
|
4687
|
+
}, i = (c) => {
|
|
4688
|
+
const u = Ce(t.element), d = c.target;
|
|
4689
4689
|
let g;
|
|
4690
|
-
if (
|
|
4690
|
+
if (c.touches.length === 2)
|
|
4691
4691
|
g = !Ce(t.allowPinchZoom);
|
|
4692
4692
|
else {
|
|
4693
4693
|
if (o == null || s === null) {
|
|
4694
|
-
const f = Co(
|
|
4694
|
+
const f = Co(c).map(
|
|
4695
4695
|
(m, y) => r[y] - m
|
|
4696
4696
|
), h = Math.abs(f[0]) > Math.abs(f[1]) ? "x" : "y";
|
|
4697
4697
|
o = h, s = h === "x" ? f[0] : f[1];
|
|
@@ -4703,18 +4703,18 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4703
4703
|
d,
|
|
4704
4704
|
o,
|
|
4705
4705
|
s,
|
|
4706
|
-
|
|
4706
|
+
u
|
|
4707
4707
|
);
|
|
4708
|
-
|
|
4708
|
+
u && tr(u, d) ? g = !f : g = !0;
|
|
4709
4709
|
}
|
|
4710
4710
|
}
|
|
4711
|
-
g &&
|
|
4711
|
+
g && c.cancelable && c.preventDefault();
|
|
4712
4712
|
};
|
|
4713
|
-
},
|
|
4713
|
+
}, jc = (e) => [
|
|
4714
4714
|
e.deltaX,
|
|
4715
4715
|
e.deltaY
|
|
4716
4716
|
], Co = (e) => e.changedTouches[0] ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0], So = (e, t, n, r) => {
|
|
4717
|
-
const o = r !== null && tr(r, e), [s, a] =
|
|
4717
|
+
const o = r !== null && tr(r, e), [s, a] = Gc(
|
|
4718
4718
|
e,
|
|
4719
4719
|
t,
|
|
4720
4720
|
o ? r : void 0
|
|
@@ -4730,7 +4730,7 @@ var vn = /* @__PURE__ */ new Map(), Bu = (e) => {
|
|
|
4730
4730
|
n = n._$host ?? n.parentElement;
|
|
4731
4731
|
}
|
|
4732
4732
|
return !1;
|
|
4733
|
-
},
|
|
4733
|
+
}, Wc = Hc, Qc = Wc, Ri = xe();
|
|
4734
4734
|
function zi() {
|
|
4735
4735
|
return we(Ri);
|
|
4736
4736
|
}
|
|
@@ -4758,7 +4758,7 @@ function wr(e) {
|
|
|
4758
4758
|
let t;
|
|
4759
4759
|
const n = Je(), r = ft(), o = Q({
|
|
4760
4760
|
id: n.generateId(`item-${Ke()}`)
|
|
4761
|
-
}, e), [s, a] = Z(o, ["ref", "textValue", "disabled", "closeOnSelect", "checked", "indeterminate", "onSelect", "onPointerMove", "onPointerLeave", "onPointerDown", "onPointerUp", "onClick", "onKeyDown", "onMouseDown", "onFocus"]), [l, i] = R(), [
|
|
4761
|
+
}, e), [s, a] = Z(o, ["ref", "textValue", "disabled", "closeOnSelect", "checked", "indeterminate", "onSelect", "onPointerMove", "onPointerLeave", "onPointerDown", "onPointerUp", "onClick", "onKeyDown", "onMouseDown", "onFocus"]), [l, i] = R(), [c, u] = R(), [d, g] = R(), f = () => r.listState().selectionManager(), h = () => a.id, m = () => f().focusedKey() === h(), y = () => {
|
|
4762
4762
|
s.onSelect?.(), s.closeOnSelect && setTimeout(() => {
|
|
4763
4763
|
r.close(!0);
|
|
4764
4764
|
});
|
|
@@ -4772,20 +4772,20 @@ function wr(e) {
|
|
|
4772
4772
|
disabled: s.disabled ?? !1
|
|
4773
4773
|
})
|
|
4774
4774
|
});
|
|
4775
|
-
const
|
|
4775
|
+
const v = ci({
|
|
4776
4776
|
key: h,
|
|
4777
4777
|
selectionManager: f,
|
|
4778
4778
|
shouldSelectOnPressUp: !0,
|
|
4779
4779
|
allowsDifferentPressOrigin: !0,
|
|
4780
4780
|
disabled: () => s.disabled
|
|
4781
|
-
}, () => t),
|
|
4782
|
-
|
|
4781
|
+
}, () => t), b = (S) => {
|
|
4782
|
+
ue(S, s.onPointerMove), S.pointerType === "mouse" && (s.disabled ? r.onItemLeave(S) : (r.onItemEnter(S), S.defaultPrevented || (Se(S.currentTarget), r.listState().selectionManager().setFocused(!0), r.listState().selectionManager().setFocusedKey(h()))));
|
|
4783
4783
|
}, x = (S) => {
|
|
4784
|
-
|
|
4784
|
+
ue(S, s.onPointerLeave), S.pointerType === "mouse" && r.onItemLeave(S);
|
|
4785
4785
|
}, w = (S) => {
|
|
4786
|
-
|
|
4786
|
+
ue(S, s.onPointerUp), !s.disabled && S.button === 0 && y();
|
|
4787
4787
|
}, $ = (S) => {
|
|
4788
|
-
if (
|
|
4788
|
+
if (ue(S, s.onKeyDown), !S.repeat && !s.disabled)
|
|
4789
4789
|
switch (S.key) {
|
|
4790
4790
|
case "Enter":
|
|
4791
4791
|
case " ":
|
|
@@ -4808,7 +4808,7 @@ function wr(e) {
|
|
|
4808
4808
|
setLabelRef: g,
|
|
4809
4809
|
generateId: ln(() => a.id),
|
|
4810
4810
|
registerLabel: ze(i),
|
|
4811
|
-
registerDescription: ze(
|
|
4811
|
+
registerDescription: ze(u)
|
|
4812
4812
|
};
|
|
4813
4813
|
return p(Ki.Provider, {
|
|
4814
4814
|
value: P,
|
|
@@ -4820,7 +4820,7 @@ function wr(e) {
|
|
|
4820
4820
|
typeof _ == "function" && _(S);
|
|
4821
4821
|
},
|
|
4822
4822
|
get tabIndex() {
|
|
4823
|
-
return
|
|
4823
|
+
return v.tabIndex();
|
|
4824
4824
|
},
|
|
4825
4825
|
get "aria-checked"() {
|
|
4826
4826
|
return L();
|
|
@@ -4832,30 +4832,30 @@ function wr(e) {
|
|
|
4832
4832
|
return l();
|
|
4833
4833
|
},
|
|
4834
4834
|
get "aria-describedby"() {
|
|
4835
|
-
return
|
|
4835
|
+
return c();
|
|
4836
4836
|
},
|
|
4837
4837
|
get "data-key"() {
|
|
4838
|
-
return
|
|
4838
|
+
return v.dataKey();
|
|
4839
4839
|
},
|
|
4840
4840
|
get onPointerDown() {
|
|
4841
|
-
return ye([s.onPointerDown,
|
|
4841
|
+
return ye([s.onPointerDown, v.onPointerDown]);
|
|
4842
4842
|
},
|
|
4843
4843
|
get onPointerUp() {
|
|
4844
|
-
return ye([w,
|
|
4844
|
+
return ye([w, v.onPointerUp]);
|
|
4845
4845
|
},
|
|
4846
4846
|
get onClick() {
|
|
4847
|
-
return ye([s.onClick,
|
|
4847
|
+
return ye([s.onClick, v.onClick]);
|
|
4848
4848
|
},
|
|
4849
4849
|
get onKeyDown() {
|
|
4850
|
-
return ye([$,
|
|
4850
|
+
return ye([$, v.onKeyDown]);
|
|
4851
4851
|
},
|
|
4852
4852
|
get onMouseDown() {
|
|
4853
|
-
return ye([s.onMouseDown,
|
|
4853
|
+
return ye([s.onMouseDown, v.onMouseDown]);
|
|
4854
4854
|
},
|
|
4855
4855
|
get onFocus() {
|
|
4856
|
-
return ye([s.onFocus,
|
|
4856
|
+
return ye([s.onFocus, v.onFocus]);
|
|
4857
4857
|
},
|
|
4858
|
-
onPointerMove:
|
|
4858
|
+
onPointerMove: b,
|
|
4859
4859
|
onPointerLeave: x
|
|
4860
4860
|
}, F, a));
|
|
4861
4861
|
}
|
|
@@ -4880,9 +4880,9 @@ function Ni(e) {
|
|
|
4880
4880
|
}
|
|
4881
4881
|
}, r));
|
|
4882
4882
|
}
|
|
4883
|
-
var
|
|
4883
|
+
var Yc = xe();
|
|
4884
4884
|
function Ln() {
|
|
4885
|
-
return we(
|
|
4885
|
+
return we(Yc);
|
|
4886
4886
|
}
|
|
4887
4887
|
var sn = {
|
|
4888
4888
|
next: (e, t) => e === "ltr" ? t === "horizontal" ? "ArrowRight" : "ArrowDown" : t === "horizontal" ? "ArrowLeft" : "ArrowUp",
|
|
@@ -4899,54 +4899,54 @@ function Ui(e) {
|
|
|
4899
4899
|
}, e), [a, l] = Z(s, ["ref", "id", "disabled", "onPointerDown", "onClick", "onKeyDown", "onMouseOver", "onFocus"]);
|
|
4900
4900
|
let i = () => t.value();
|
|
4901
4901
|
r !== void 0 && (i = () => t.value() ?? a.id, r.lastValue() === void 0 && r.setLastValue(i));
|
|
4902
|
-
const
|
|
4903
|
-
B(
|
|
4904
|
-
|
|
4902
|
+
const c = Tn(() => n.triggerRef(), () => "button"), u = M(() => c() === "a" && n.triggerRef()?.getAttribute("href") != null);
|
|
4903
|
+
B(ct(() => r?.value(), (v) => {
|
|
4904
|
+
u() && v === i() && n.triggerRef()?.focus();
|
|
4905
4905
|
}));
|
|
4906
4906
|
const d = () => {
|
|
4907
4907
|
r !== void 0 ? n.isOpen() ? r.value() === i() && r.closeMenu() : (r.autoFocusMenu() || r.setAutoFocusMenu(!0), n.open(!1)) : n.toggle(!0);
|
|
4908
|
-
}, g = (
|
|
4909
|
-
|
|
4910
|
-
}, f = (
|
|
4911
|
-
|
|
4912
|
-
}, h = (
|
|
4913
|
-
if (
|
|
4914
|
-
if (
|
|
4915
|
-
switch (
|
|
4908
|
+
}, g = (v) => {
|
|
4909
|
+
ue(v, a.onPointerDown), v.currentTarget.dataset.pointerType = v.pointerType, !a.disabled && v.pointerType !== "touch" && v.button === 0 && d();
|
|
4910
|
+
}, f = (v) => {
|
|
4911
|
+
ue(v, a.onClick), a.disabled || v.currentTarget.dataset.pointerType === "touch" && d();
|
|
4912
|
+
}, h = (v) => {
|
|
4913
|
+
if (ue(v, a.onKeyDown), !a.disabled) {
|
|
4914
|
+
if (u())
|
|
4915
|
+
switch (v.key) {
|
|
4916
4916
|
case "Enter":
|
|
4917
4917
|
case " ":
|
|
4918
4918
|
return;
|
|
4919
4919
|
}
|
|
4920
|
-
switch (
|
|
4920
|
+
switch (v.key) {
|
|
4921
4921
|
case "Enter":
|
|
4922
4922
|
case " ":
|
|
4923
4923
|
case ko.first(t.orientation()):
|
|
4924
|
-
|
|
4924
|
+
v.stopPropagation(), v.preventDefault(), Ka(v.currentTarget), n.open("first"), r?.setAutoFocusMenu(!0), r?.setValue(i);
|
|
4925
4925
|
break;
|
|
4926
4926
|
case ko.last(t.orientation()):
|
|
4927
|
-
|
|
4927
|
+
v.stopPropagation(), v.preventDefault(), n.open("last");
|
|
4928
4928
|
break;
|
|
4929
4929
|
case sn.next(o(), t.orientation()):
|
|
4930
4930
|
if (r === void 0)
|
|
4931
4931
|
break;
|
|
4932
|
-
|
|
4932
|
+
v.stopPropagation(), v.preventDefault(), r.nextMenu();
|
|
4933
4933
|
break;
|
|
4934
4934
|
case sn.previous(o(), t.orientation()):
|
|
4935
4935
|
if (r === void 0)
|
|
4936
4936
|
break;
|
|
4937
|
-
|
|
4937
|
+
v.stopPropagation(), v.preventDefault(), r.previousMenu();
|
|
4938
4938
|
break;
|
|
4939
4939
|
}
|
|
4940
4940
|
}
|
|
4941
|
-
}, m = (
|
|
4942
|
-
|
|
4943
|
-
}, y = (
|
|
4944
|
-
|
|
4941
|
+
}, m = (v) => {
|
|
4942
|
+
ue(v, a.onMouseOver), n.triggerRef()?.dataset.pointerType !== "touch" && !a.disabled && r !== void 0 && r.value() !== void 0 && r.setValue(i);
|
|
4943
|
+
}, y = (v) => {
|
|
4944
|
+
ue(v, a.onFocus), r !== void 0 && v.currentTarget.dataset.pointerType !== "touch" && r.setValue(i);
|
|
4945
4945
|
};
|
|
4946
4946
|
return B(() => U(n.registerTriggerId(a.id))), p(dr, j({
|
|
4947
|
-
ref(
|
|
4948
|
-
const
|
|
4949
|
-
typeof
|
|
4947
|
+
ref(v) {
|
|
4948
|
+
const b = Me(n.setTriggerRef, a.ref);
|
|
4949
|
+
typeof b == "function" && b(v);
|
|
4950
4950
|
},
|
|
4951
4951
|
get "data-kb-menu-value-trigger"() {
|
|
4952
4952
|
return t.value();
|
|
@@ -4978,9 +4978,9 @@ function Ui(e) {
|
|
|
4978
4978
|
role: r !== void 0 ? "menuitem" : void 0
|
|
4979
4979
|
}, () => n.dataset(), l));
|
|
4980
4980
|
}
|
|
4981
|
-
var
|
|
4981
|
+
var Xc = xe();
|
|
4982
4982
|
function Gi() {
|
|
4983
|
-
return we(
|
|
4983
|
+
return we(Xc);
|
|
4984
4984
|
}
|
|
4985
4985
|
function Vi(e) {
|
|
4986
4986
|
let t;
|
|
@@ -4988,9 +4988,9 @@ function Vi(e) {
|
|
|
4988
4988
|
direction: a
|
|
4989
4989
|
} = wt(), l = Q({
|
|
4990
4990
|
id: n.generateId(`content-${Ke()}`)
|
|
4991
|
-
}, e), [i,
|
|
4992
|
-
let
|
|
4993
|
-
const d = () => r.parentMenuContext() == null && o === void 0 && n.isModal(), g =
|
|
4991
|
+
}, e), [i, c] = Z(l, ["ref", "id", "style", "onOpenAutoFocus", "onCloseAutoFocus", "onEscapeKeyDown", "onFocusOutside", "onPointerEnter", "onPointerMove", "onKeyDown", "onMouseDown", "onFocusIn", "onFocusOut"]);
|
|
4992
|
+
let u = 0;
|
|
4993
|
+
const d = () => r.parentMenuContext() == null && o === void 0 && n.isModal(), g = _c({
|
|
4994
4994
|
selectionManager: r.listState().selectionManager,
|
|
4995
4995
|
collection: r.listState().collection,
|
|
4996
4996
|
autoFocus: r.autoFocus,
|
|
@@ -5000,7 +5000,7 @@ function Vi(e) {
|
|
|
5000
5000
|
disallowTypeAhead: () => !r.listState().selectionManager().isFocused(),
|
|
5001
5001
|
orientation: () => n.orientation() === "horizontal" ? "vertical" : "horizontal"
|
|
5002
5002
|
}, () => t);
|
|
5003
|
-
|
|
5003
|
+
qc({
|
|
5004
5004
|
trapFocus: () => d() && r.isOpen(),
|
|
5005
5005
|
onMountAutoFocus: (x) => {
|
|
5006
5006
|
o === void 0 && i.onOpenAutoFocus?.(x);
|
|
@@ -5024,15 +5024,15 @@ function Vi(e) {
|
|
|
5024
5024
|
}, m = (x) => {
|
|
5025
5025
|
i.onFocusOutside?.(x), n.isModal() && x.preventDefault();
|
|
5026
5026
|
}, y = (x) => {
|
|
5027
|
-
|
|
5028
|
-
},
|
|
5029
|
-
if (
|
|
5027
|
+
ue(x, i.onPointerEnter), r.isOpen() && (r.parentMenuContext()?.listState().selectionManager().setFocused(!1), r.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0));
|
|
5028
|
+
}, v = (x) => {
|
|
5029
|
+
if (ue(x, i.onPointerMove), x.pointerType !== "mouse")
|
|
5030
5030
|
return;
|
|
5031
|
-
const w = x.target, $ =
|
|
5032
|
-
Re(x.currentTarget, w) && $ && (r.setPointerDir(x.clientX >
|
|
5031
|
+
const w = x.target, $ = u !== x.clientX;
|
|
5032
|
+
Re(x.currentTarget, w) && $ && (r.setPointerDir(x.clientX > u ? "right" : "left"), u = x.clientX);
|
|
5033
5033
|
};
|
|
5034
5034
|
B(() => U(r.registerContentId(i.id)));
|
|
5035
|
-
const
|
|
5035
|
+
const b = {
|
|
5036
5036
|
ref: Me((x) => {
|
|
5037
5037
|
r.setContentRef(x), t = x;
|
|
5038
5038
|
}, i.ref),
|
|
@@ -5051,7 +5051,7 @@ function Vi(e) {
|
|
|
5051
5051
|
onFocusIn: ye([i.onFocusIn, g.onFocusIn]),
|
|
5052
5052
|
onFocusOut: ye([i.onFocusOut, g.onFocusOut]),
|
|
5053
5053
|
onPointerEnter: y,
|
|
5054
|
-
onPointerMove:
|
|
5054
|
+
onPointerMove: v,
|
|
5055
5055
|
get "data-orientation"() {
|
|
5056
5056
|
return n.orientation();
|
|
5057
5057
|
}
|
|
@@ -5068,12 +5068,12 @@ function Vi(e) {
|
|
|
5068
5068
|
get fallback() {
|
|
5069
5069
|
return p(de, j({
|
|
5070
5070
|
as: "div"
|
|
5071
|
-
}, () => r.dataset(),
|
|
5071
|
+
}, () => r.dataset(), b, c));
|
|
5072
5072
|
},
|
|
5073
5073
|
get children() {
|
|
5074
5074
|
return p(Si.Positioner, {
|
|
5075
5075
|
get children() {
|
|
5076
|
-
return p(
|
|
5076
|
+
return p(Pc, j({
|
|
5077
5077
|
get disableOutsidePointerEvents() {
|
|
5078
5078
|
return M(() => !!d())() && r.isOpen();
|
|
5079
5079
|
},
|
|
@@ -5092,7 +5092,7 @@ function Vi(e) {
|
|
|
5092
5092
|
get onDismiss() {
|
|
5093
5093
|
return r.close;
|
|
5094
5094
|
}
|
|
5095
|
-
}, () => r.dataset(),
|
|
5095
|
+
}, () => r.dataset(), b, c));
|
|
5096
5096
|
}
|
|
5097
5097
|
});
|
|
5098
5098
|
}
|
|
@@ -5100,10 +5100,10 @@ function Vi(e) {
|
|
|
5100
5100
|
}
|
|
5101
5101
|
});
|
|
5102
5102
|
}
|
|
5103
|
-
function
|
|
5103
|
+
function Zc(e) {
|
|
5104
5104
|
let t;
|
|
5105
5105
|
const n = Je(), r = ft(), [o, s] = Z(e, ["ref"]);
|
|
5106
|
-
return
|
|
5106
|
+
return Qc({
|
|
5107
5107
|
element: () => t ?? null,
|
|
5108
5108
|
enabled: () => r.contentPresent() && n.preventScroll()
|
|
5109
5109
|
}), p(Vi, j({
|
|
@@ -5116,7 +5116,7 @@ function Zu(e) {
|
|
|
5116
5116
|
}, s));
|
|
5117
5117
|
}
|
|
5118
5118
|
var Hi = xe();
|
|
5119
|
-
function
|
|
5119
|
+
function Jc() {
|
|
5120
5120
|
const e = we(Hi);
|
|
5121
5121
|
if (e === void 0)
|
|
5122
5122
|
throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");
|
|
@@ -5143,7 +5143,7 @@ function $r(e) {
|
|
|
5143
5143
|
});
|
|
5144
5144
|
}
|
|
5145
5145
|
function ji(e) {
|
|
5146
|
-
const t =
|
|
5146
|
+
const t = Jc(), n = Q({
|
|
5147
5147
|
id: t.generateId("label")
|
|
5148
5148
|
}, e), [r, o] = Z(n, ["id"]);
|
|
5149
5149
|
return B(() => U(t.registerLabelId(r.id))), p(de, j({
|
|
@@ -5222,7 +5222,7 @@ function Ji(e) {
|
|
|
5222
5222
|
});
|
|
5223
5223
|
}
|
|
5224
5224
|
var es = xe();
|
|
5225
|
-
function
|
|
5225
|
+
function eu() {
|
|
5226
5226
|
const e = we(es);
|
|
5227
5227
|
if (e === void 0)
|
|
5228
5228
|
throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");
|
|
@@ -5231,13 +5231,13 @@ function ec() {
|
|
|
5231
5231
|
function ts(e) {
|
|
5232
5232
|
const n = Je().generateId(`radiogroup-${Ke()}`), r = Q({
|
|
5233
5233
|
id: n
|
|
5234
|
-
}, e), [o, s] = Z(r, ["value", "defaultValue", "onChange", "disabled"]), [a, l] =
|
|
5234
|
+
}, e), [o, s] = Z(r, ["value", "defaultValue", "onChange", "disabled"]), [a, l] = un({
|
|
5235
5235
|
value: () => o.value,
|
|
5236
5236
|
defaultValue: () => o.defaultValue,
|
|
5237
|
-
onChange: (
|
|
5237
|
+
onChange: (c) => o.onChange?.(c)
|
|
5238
5238
|
}), i = {
|
|
5239
5239
|
isDisabled: () => o.disabled,
|
|
5240
|
-
isSelectedValue: (
|
|
5240
|
+
isSelectedValue: (c) => c === a(),
|
|
5241
5241
|
setSelectedValue: l
|
|
5242
5242
|
};
|
|
5243
5243
|
return p(es.Provider, {
|
|
@@ -5248,7 +5248,7 @@ function ts(e) {
|
|
|
5248
5248
|
});
|
|
5249
5249
|
}
|
|
5250
5250
|
function ns(e) {
|
|
5251
|
-
const t =
|
|
5251
|
+
const t = eu(), n = Q({
|
|
5252
5252
|
closeOnSelect: !1
|
|
5253
5253
|
}, e), [r, o] = Z(n, ["value", "onSelect"]);
|
|
5254
5254
|
return p(wr, j({
|
|
@@ -5261,7 +5261,7 @@ function ns(e) {
|
|
|
5261
5261
|
}
|
|
5262
5262
|
}, o));
|
|
5263
5263
|
}
|
|
5264
|
-
function
|
|
5264
|
+
function tu(e, t, n) {
|
|
5265
5265
|
const r = e.split("-")[0], o = n.getBoundingClientRect(), s = [], a = t.clientX, l = t.clientY;
|
|
5266
5266
|
switch (r) {
|
|
5267
5267
|
case "top":
|
|
@@ -5279,15 +5279,15 @@ function tc(e, t, n) {
|
|
|
5279
5279
|
}
|
|
5280
5280
|
return s;
|
|
5281
5281
|
}
|
|
5282
|
-
function
|
|
5282
|
+
function nu(e, t) {
|
|
5283
5283
|
return t ? za([e.clientX, e.clientY], t) : !1;
|
|
5284
5284
|
}
|
|
5285
5285
|
function rs(e) {
|
|
5286
5286
|
const t = Je(), n = ni(), r = zi(), o = Ln(), s = Gi(), a = Q({
|
|
5287
5287
|
placement: t.orientation() === "horizontal" ? "bottom-start" : "right-start"
|
|
5288
5288
|
}, e), [l, i] = Z(a, ["open", "defaultOpen", "onOpenChange"]);
|
|
5289
|
-
let
|
|
5290
|
-
const [g, f] = R(), [h, m] = R(), [y,
|
|
5289
|
+
let c = 0, u = null, d = "right";
|
|
5290
|
+
const [g, f] = R(), [h, m] = R(), [y, v] = R(), [b, x] = R(), [w, $] = R(!0), [L, F] = R(i.placement), [P, S] = R([]), [_, H] = R([]), {
|
|
5291
5291
|
DomCollectionProvider: G
|
|
5292
5292
|
} = nl({
|
|
5293
5293
|
items: _,
|
|
@@ -5298,9 +5298,9 @@ function rs(e) {
|
|
|
5298
5298
|
onOpenChange: (V) => l.onOpenChange?.(V)
|
|
5299
5299
|
}), {
|
|
5300
5300
|
present: J
|
|
5301
|
-
} =
|
|
5301
|
+
} = ui({
|
|
5302
5302
|
show: () => t.forceMount() || te.isOpen(),
|
|
5303
|
-
element: () =>
|
|
5303
|
+
element: () => b() ?? null
|
|
5304
5304
|
}), ae = xl({
|
|
5305
5305
|
selectionMode: "none",
|
|
5306
5306
|
dataSource: _
|
|
@@ -5311,7 +5311,7 @@ function rs(e) {
|
|
|
5311
5311
|
}, ie = (V) => {
|
|
5312
5312
|
$(V), te.toggle();
|
|
5313
5313
|
}, le = () => {
|
|
5314
|
-
const V =
|
|
5314
|
+
const V = b();
|
|
5315
5315
|
V && (Se(V), ae.selectionManager().setFocused(!0), ae.selectionManager().setFocusedKey(void 0));
|
|
5316
5316
|
}, pe = () => {
|
|
5317
5317
|
s != null ? setTimeout(() => le()) : le();
|
|
@@ -5321,18 +5321,18 @@ function rs(e) {
|
|
|
5321
5321
|
return () => {
|
|
5322
5322
|
S(($e) => Wn($e, V)), Ue?.();
|
|
5323
5323
|
};
|
|
5324
|
-
}, ge = (V) => d ===
|
|
5324
|
+
}, ge = (V) => d === u?.side && nu(V, u?.area), ke = (V) => {
|
|
5325
5325
|
ge(V) && V.preventDefault();
|
|
5326
5326
|
}, D = (V) => {
|
|
5327
5327
|
ge(V) || pe();
|
|
5328
5328
|
}, fe = (V) => {
|
|
5329
5329
|
ge(V) && V.preventDefault();
|
|
5330
5330
|
};
|
|
5331
|
-
|
|
5331
|
+
zc({
|
|
5332
5332
|
isDisabled: () => !(r == null && te.isOpen() && t.isModal()),
|
|
5333
|
-
targets: () => [
|
|
5333
|
+
targets: () => [b(), ...P()].filter(Boolean)
|
|
5334
5334
|
}), B(() => {
|
|
5335
|
-
const V =
|
|
5335
|
+
const V = b();
|
|
5336
5336
|
if (!V || !r)
|
|
5337
5337
|
return;
|
|
5338
5338
|
const Ue = r.registerNestedMenu(V);
|
|
@@ -5340,7 +5340,7 @@ function rs(e) {
|
|
|
5340
5340
|
Ue();
|
|
5341
5341
|
});
|
|
5342
5342
|
}), B(() => {
|
|
5343
|
-
r === void 0 && o?.registerMenu(t.value(), [
|
|
5343
|
+
r === void 0 && o?.registerMenu(t.value(), [b(), ...P()]);
|
|
5344
5344
|
}), B(() => {
|
|
5345
5345
|
r !== void 0 || o === void 0 || (o.value() === t.value() ? (y()?.focus(), o.autoFocusMenu() && oe(!0)) : ne());
|
|
5346
5346
|
}), B(() => {
|
|
@@ -5357,15 +5357,15 @@ function rs(e) {
|
|
|
5357
5357
|
contentPresent: J,
|
|
5358
5358
|
nestedMenus: P,
|
|
5359
5359
|
currentPlacement: L,
|
|
5360
|
-
pointerGraceTimeoutId: () =>
|
|
5360
|
+
pointerGraceTimeoutId: () => c,
|
|
5361
5361
|
autoFocus: w,
|
|
5362
5362
|
listState: () => ae,
|
|
5363
5363
|
parentMenuContext: () => r,
|
|
5364
5364
|
triggerRef: y,
|
|
5365
|
-
contentRef:
|
|
5365
|
+
contentRef: b,
|
|
5366
5366
|
triggerId: g,
|
|
5367
5367
|
contentId: h,
|
|
5368
|
-
setTriggerRef:
|
|
5368
|
+
setTriggerRef: v,
|
|
5369
5369
|
setContentRef: x,
|
|
5370
5370
|
open: oe,
|
|
5371
5371
|
close: ne,
|
|
@@ -5375,8 +5375,8 @@ function rs(e) {
|
|
|
5375
5375
|
onItemLeave: D,
|
|
5376
5376
|
onTriggerLeave: fe,
|
|
5377
5377
|
setPointerDir: (V) => d = V,
|
|
5378
|
-
setPointerGraceTimeoutId: (V) =>
|
|
5379
|
-
setPointerGraceIntent: (V) =>
|
|
5378
|
+
setPointerGraceTimeoutId: (V) => c = V,
|
|
5379
|
+
setPointerGraceIntent: (V) => u = V,
|
|
5380
5380
|
registerNestedMenu: De,
|
|
5381
5381
|
registerItemToParentDomCollection: n?.registerItem,
|
|
5382
5382
|
registerTriggerId: ze(f),
|
|
@@ -5395,7 +5395,7 @@ function rs(e) {
|
|
|
5395
5395
|
get children() {
|
|
5396
5396
|
return p(Si, j({
|
|
5397
5397
|
anchorRef: y,
|
|
5398
|
-
contentRef:
|
|
5398
|
+
contentRef: b,
|
|
5399
5399
|
onCurrentPlacementChange: F
|
|
5400
5400
|
}, i));
|
|
5401
5401
|
}
|
|
@@ -5416,7 +5416,7 @@ function os(e) {
|
|
|
5416
5416
|
flip: !0
|
|
5417
5417
|
}, e));
|
|
5418
5418
|
}
|
|
5419
|
-
var
|
|
5419
|
+
var ru = {
|
|
5420
5420
|
close: (e, t) => e === "ltr" ? [t === "horizontal" ? "ArrowLeft" : "ArrowUp"] : [t === "horizontal" ? "ArrowRight" : "ArrowDown"]
|
|
5421
5421
|
};
|
|
5422
5422
|
function is(e) {
|
|
@@ -5424,25 +5424,25 @@ function is(e) {
|
|
|
5424
5424
|
direction: s
|
|
5425
5425
|
} = wt();
|
|
5426
5426
|
return p(Vi, j({
|
|
5427
|
-
onOpenAutoFocus: (
|
|
5428
|
-
|
|
5427
|
+
onOpenAutoFocus: (u) => {
|
|
5428
|
+
u.preventDefault();
|
|
5429
5429
|
},
|
|
5430
|
-
onCloseAutoFocus: (
|
|
5431
|
-
|
|
5430
|
+
onCloseAutoFocus: (u) => {
|
|
5431
|
+
u.preventDefault();
|
|
5432
5432
|
},
|
|
5433
|
-
onFocusOutside: (
|
|
5434
|
-
r.onFocusOutside?.(
|
|
5435
|
-
const d =
|
|
5433
|
+
onFocusOutside: (u) => {
|
|
5434
|
+
r.onFocusOutside?.(u);
|
|
5435
|
+
const d = u.target;
|
|
5436
5436
|
Re(t.triggerRef(), d) || t.close();
|
|
5437
5437
|
},
|
|
5438
|
-
onKeyDown: (
|
|
5439
|
-
|
|
5440
|
-
const d = Re(
|
|
5438
|
+
onKeyDown: (u) => {
|
|
5439
|
+
ue(u, r.onKeyDown);
|
|
5440
|
+
const d = Re(u.currentTarget, u.target), g = ru.close(s(), n.orientation()).includes(u.key), f = t.parentMenuContext() != null;
|
|
5441
5441
|
d && g && f && (t.close(), Se(t.triggerRef()));
|
|
5442
5442
|
}
|
|
5443
5443
|
}, o));
|
|
5444
5444
|
}
|
|
5445
|
-
var Eo = ["Enter", " "],
|
|
5445
|
+
var Eo = ["Enter", " "], ou = {
|
|
5446
5446
|
open: (e, t) => e === "ltr" ? [...Eo, t === "horizontal" ? "ArrowRight" : "ArrowDown"] : [...Eo, t === "horizontal" ? "ArrowLeft" : "ArrowUp"]
|
|
5447
5447
|
};
|
|
5448
5448
|
function ss(e) {
|
|
@@ -5454,22 +5454,22 @@ function ss(e) {
|
|
|
5454
5454
|
const i = () => {
|
|
5455
5455
|
l && window.clearTimeout(l), l = null;
|
|
5456
5456
|
}, {
|
|
5457
|
-
direction:
|
|
5458
|
-
} = wt(),
|
|
5457
|
+
direction: c
|
|
5458
|
+
} = wt(), u = () => s.id, d = () => {
|
|
5459
5459
|
const x = r.parentMenuContext();
|
|
5460
5460
|
if (x == null)
|
|
5461
5461
|
throw new Error("[kobalte]: `Menu.SubTrigger` must be used within a `Menu.Sub` component");
|
|
5462
5462
|
return x.listState().selectionManager();
|
|
5463
|
-
}, g = () => r.listState().collection(), f = () => d().focusedKey() ===
|
|
5464
|
-
key:
|
|
5463
|
+
}, g = () => r.listState().collection(), f = () => d().focusedKey() === u(), h = ci({
|
|
5464
|
+
key: u,
|
|
5465
5465
|
selectionManager: d,
|
|
5466
5466
|
shouldSelectOnPressUp: !0,
|
|
5467
5467
|
allowsDifferentPressOrigin: !0,
|
|
5468
5468
|
disabled: () => s.disabled
|
|
5469
5469
|
}, () => t), m = (x) => {
|
|
5470
|
-
|
|
5470
|
+
ue(x, s.onClick), !r.isOpen() && !s.disabled && r.open(!0);
|
|
5471
5471
|
}, y = (x) => {
|
|
5472
|
-
if (
|
|
5472
|
+
if (ue(x, s.onPointerMove), x.pointerType !== "mouse")
|
|
5473
5473
|
return;
|
|
5474
5474
|
const w = r.parentMenuContext();
|
|
5475
5475
|
if (w?.onItemEnter(x), !x.defaultPrevented) {
|
|
@@ -5479,16 +5479,16 @@ function ss(e) {
|
|
|
5479
5479
|
}
|
|
5480
5480
|
!r.isOpen() && !l && (r.parentMenuContext()?.setPointerGraceIntent(null), l = window.setTimeout(() => {
|
|
5481
5481
|
r.open(!1), i();
|
|
5482
|
-
}, 100)), w?.onItemEnter(x), x.defaultPrevented || (r.listState().selectionManager().isFocused() && (r.listState().selectionManager().setFocused(!1), r.listState().selectionManager().setFocusedKey(void 0)), Se(x.currentTarget), w?.listState().selectionManager().setFocused(!0), w?.listState().selectionManager().setFocusedKey(
|
|
5482
|
+
}, 100)), w?.onItemEnter(x), x.defaultPrevented || (r.listState().selectionManager().isFocused() && (r.listState().selectionManager().setFocused(!1), r.listState().selectionManager().setFocusedKey(void 0)), Se(x.currentTarget), w?.listState().selectionManager().setFocused(!0), w?.listState().selectionManager().setFocusedKey(u()));
|
|
5483
5483
|
}
|
|
5484
|
-
},
|
|
5485
|
-
if (
|
|
5484
|
+
}, v = (x) => {
|
|
5485
|
+
if (ue(x, s.onPointerLeave), x.pointerType !== "mouse")
|
|
5486
5486
|
return;
|
|
5487
5487
|
i();
|
|
5488
5488
|
const w = r.parentMenuContext(), $ = r.contentRef();
|
|
5489
5489
|
if ($) {
|
|
5490
5490
|
w?.setPointerGraceIntent({
|
|
5491
|
-
area:
|
|
5491
|
+
area: tu(r.currentPlacement(), x, $),
|
|
5492
5492
|
// Safe because sub menu always open "left" or "right".
|
|
5493
5493
|
side: r.currentPlacement().split("-")[0]
|
|
5494
5494
|
}), window.clearTimeout(w?.pointerGraceTimeoutId());
|
|
@@ -5502,8 +5502,8 @@ function ss(e) {
|
|
|
5502
5502
|
w?.setPointerGraceIntent(null);
|
|
5503
5503
|
}
|
|
5504
5504
|
w?.onItemLeave(x);
|
|
5505
|
-
},
|
|
5506
|
-
|
|
5505
|
+
}, b = (x) => {
|
|
5506
|
+
ue(x, s.onKeyDown), !x.repeat && (s.disabled || ou.open(c(), n.orientation()).includes(x.key) && (x.stopPropagation(), x.preventDefault(), d().setFocused(!1), d().setFocusedKey(void 0), r.isOpen() || r.open("first"), r.focusContent(), r.listState().selectionManager().setFocused(!0), r.listState().selectionManager().setFocusedKey(g().getFirstKey())));
|
|
5507
5507
|
};
|
|
5508
5508
|
return B(() => {
|
|
5509
5509
|
if (r.registerItemToParentDomCollection == null)
|
|
@@ -5511,12 +5511,12 @@ function ss(e) {
|
|
|
5511
5511
|
const x = r.registerItemToParentDomCollection({
|
|
5512
5512
|
ref: () => t,
|
|
5513
5513
|
type: "item",
|
|
5514
|
-
key:
|
|
5514
|
+
key: u(),
|
|
5515
5515
|
textValue: s.textValue ?? t?.textContent ?? "",
|
|
5516
5516
|
disabled: s.disabled ?? !1
|
|
5517
5517
|
});
|
|
5518
5518
|
U(x);
|
|
5519
|
-
}), B(
|
|
5519
|
+
}), B(ct(() => r.parentMenuContext()?.pointerGraceTimeoutId(), (x) => {
|
|
5520
5520
|
U(() => {
|
|
5521
5521
|
window.clearTimeout(x), r.parentMenuContext()?.setPointerGraceIntent(null);
|
|
5522
5522
|
});
|
|
@@ -5566,7 +5566,7 @@ function ss(e) {
|
|
|
5566
5566
|
return ye([m, h.onClick]);
|
|
5567
5567
|
},
|
|
5568
5568
|
get onKeyDown() {
|
|
5569
|
-
return ye([
|
|
5569
|
+
return ye([b, h.onKeyDown]);
|
|
5570
5570
|
},
|
|
5571
5571
|
get onMouseDown() {
|
|
5572
5572
|
return ye([s.onMouseDown, h.onMouseDown]);
|
|
@@ -5575,10 +5575,10 @@ function ss(e) {
|
|
|
5575
5575
|
return ye([s.onFocus, h.onFocus]);
|
|
5576
5576
|
},
|
|
5577
5577
|
onPointerMove: y,
|
|
5578
|
-
onPointerLeave:
|
|
5578
|
+
onPointerLeave: v
|
|
5579
5579
|
}, () => r.dataset(), a));
|
|
5580
5580
|
}
|
|
5581
|
-
function
|
|
5581
|
+
function iu(e) {
|
|
5582
5582
|
const t = Ln(), n = `menu-${Ke()}`, r = Q({
|
|
5583
5583
|
id: n,
|
|
5584
5584
|
modal: !0
|
|
@@ -5608,10 +5608,10 @@ function ic(e) {
|
|
|
5608
5608
|
}
|
|
5609
5609
|
});
|
|
5610
5610
|
}
|
|
5611
|
-
var
|
|
5612
|
-
Fn(
|
|
5611
|
+
var su = {};
|
|
5612
|
+
Fn(su, {
|
|
5613
5613
|
Root: () => On,
|
|
5614
|
-
Separator: () =>
|
|
5614
|
+
Separator: () => au
|
|
5615
5615
|
});
|
|
5616
5616
|
function On(e) {
|
|
5617
5617
|
let t;
|
|
@@ -5635,12 +5635,12 @@ function On(e) {
|
|
|
5635
5635
|
}
|
|
5636
5636
|
}, o));
|
|
5637
5637
|
}
|
|
5638
|
-
var
|
|
5638
|
+
var au = On, he = {};
|
|
5639
5639
|
Fn(he, {
|
|
5640
|
-
Arrow: () =>
|
|
5640
|
+
Arrow: () => br,
|
|
5641
5641
|
CheckboxItem: () => Ni,
|
|
5642
5642
|
Content: () => as,
|
|
5643
|
-
DropdownMenu: () =>
|
|
5643
|
+
DropdownMenu: () => lu,
|
|
5644
5644
|
Group: () => $r,
|
|
5645
5645
|
GroupLabel: () => ji,
|
|
5646
5646
|
Icon: () => Wi,
|
|
@@ -5661,7 +5661,7 @@ Fn(he, {
|
|
|
5661
5661
|
function as(e) {
|
|
5662
5662
|
const t = Je(), n = ft(), [r, o] = Z(e, ["onCloseAutoFocus", "onInteractOutside"]);
|
|
5663
5663
|
let s = !1;
|
|
5664
|
-
return p(
|
|
5664
|
+
return p(Zc, j({
|
|
5665
5665
|
onCloseAutoFocus: (i) => {
|
|
5666
5666
|
r.onCloseAutoFocus?.(i), s || Se(n.triggerRef()), s = !1, i.preventDefault();
|
|
5667
5667
|
},
|
|
@@ -5674,10 +5674,10 @@ function ls(e) {
|
|
|
5674
5674
|
const t = `dropdownmenu-${Ke()}`, n = Q({
|
|
5675
5675
|
id: t
|
|
5676
5676
|
}, e);
|
|
5677
|
-
return p(
|
|
5677
|
+
return p(iu, n);
|
|
5678
5678
|
}
|
|
5679
|
-
var
|
|
5680
|
-
Arrow:
|
|
5679
|
+
var lu = Object.assign(ls, {
|
|
5680
|
+
Arrow: br,
|
|
5681
5681
|
CheckboxItem: Ni,
|
|
5682
5682
|
Content: as,
|
|
5683
5683
|
Group: $r,
|
|
@@ -5897,80 +5897,80 @@ var lc = Object.assign(ls, {
|
|
|
5897
5897
|
inner: (e = "rgb(0 0 0 / 0.05)") => `inset 0 2px 4px 0 ${e}`,
|
|
5898
5898
|
none: () => "none"
|
|
5899
5899
|
}
|
|
5900
|
-
}, uc = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 14 14"fill=none xmlns=http://www.w3.org/2000/svg><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), cc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 3H15M3 6H21M19 6L18.2987 16.5193C18.1935 18.0975 18.1409 18.8867 17.8 19.485C17.4999 20.0118 17.0472 20.4353 16.5017 20.6997C15.882 21 15.0911 21 13.5093 21H10.4907C8.90891 21 8.11803 21 7.49834 20.6997C6.95276 20.4353 6.50009 20.0118 6.19998 19.485C5.85911 18.8867 5.8065 18.0975 5.70129 16.5193L5 6M10 10.5V15.5M14 10.5V15.5"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), dc = /* @__PURE__ */ q('<svg width=10 height=6 viewBox="0 0 10 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1 1L5 5L9 1"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), fc = /* @__PURE__ */ q('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), Cr = /* @__PURE__ */ q('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), gc = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2v2m0 16v2M4 12H2m4.314-5.686L4.9 4.9m12.786 1.414L19.1 4.9M6.314 17.69 4.9 19.104m12.786-1.414 1.414 1.414M22 12h-2m-3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), hc = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M22 15.844a10.424 10.424 0 0 1-4.306.925c-5.779 0-10.463-4.684-10.463-10.462 0-1.536.33-2.994.925-4.307A10.464 10.464 0 0 0 2 11.538C2 17.316 6.684 22 12.462 22c4.243 0 7.896-2.526 9.538-6.156Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), pc = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), mc = /* @__PURE__ */ q('<svg stroke=currentColor fill=currentColor stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">'), yc = /* @__PURE__ */ q('<svg stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">'), bc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), vc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M16 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V8M11.5 12.5L17 7M17 7H12M17 7V12M6.2 21H8.8C9.9201 21 10.4802 21 10.908 20.782C11.2843 20.5903 11.5903 20.2843 11.782 19.908C12 19.4802 12 18.9201 12 17.8V15.2C12 14.0799 12 13.5198 11.782 13.092C11.5903 12.7157 11.2843 12.4097 10.908 12.218C10.4802 12 9.92011 12 8.8 12H6.2C5.0799 12 4.51984 12 4.09202 12.218C3.71569 12.4097 3.40973 12.7157 3.21799 13.092C3 13.5198 3 14.0799 3 15.2V17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), xc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path class=copier d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round stroke=currentColor>'), wc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.5 21.4998L8.04927 19.3655C8.40421 19.229 8.58168 19.1607 8.74772 19.0716C8.8952 18.9924 9.0358 18.901 9.16804 18.7984C9.31692 18.6829 9.45137 18.5484 9.72028 18.2795L21 6.99982C22.1046 5.89525 22.1046 4.10438 21 2.99981C19.8955 1.89525 18.1046 1.89524 17 2.99981L5.72028 14.2795C5.45138 14.5484 5.31692 14.6829 5.20139 14.8318C5.09877 14.964 5.0074 15.1046 4.92823 15.2521C4.83911 15.4181 4.77085 15.5956 4.63433 15.9506L2.5 21.4998ZM2.5 21.4998L4.55812 16.1488C4.7054 15.7659 4.77903 15.5744 4.90534 15.4867C5.01572 15.4101 5.1523 15.3811 5.2843 15.4063C5.43533 15.4351 5.58038 15.5802 5.87048 15.8703L8.12957 18.1294C8.41967 18.4195 8.56472 18.5645 8.59356 18.7155C8.61877 18.8475 8.58979 18.9841 8.51314 19.0945C8.42545 19.2208 8.23399 19.2944 7.85107 19.4417L2.5 21.4998Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), us = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), $c = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke=#F04438 stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Cc = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 xmlns=http://www.w3.org/2000/svg><rect class=list width=20 height=20 y=2 x=2 rx=2></rect><line class=list-item y1=7 y2=7 x1=6 x2=18></line><line class=list-item y2=12 y1=12 x1=6 x2=18></line><line class=list-item y1=17 y2=17 x1=6 x2=18>'), Sc = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=20 width=20 fill=none xmlns=http://www.w3.org/2000/svg><path d="M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), kc = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Ec = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2V6M12 18V22M6 12H2M22 12H18M19.0784 19.0784L16.25 16.25M19.0784 4.99994L16.25 7.82837M4.92157 19.0784L7.75 16.25M4.92157 4.99994L7.75 7.82837"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><animateTransform attributeName=transform attributeType=XML type=rotate from=0 to=360 dur=2s repeatCount=indefinite>'), Mc = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M15 9L9 15M9 9L15 15M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Dc = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.5 15V9M14.5 15V9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Ac = /* @__PURE__ */ q('<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>');
|
|
5901
|
-
function
|
|
5902
|
-
return
|
|
5900
|
+
}, cu = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 14 14"fill=none xmlns=http://www.w3.org/2000/svg><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), uu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 3H15M3 6H21M19 6L18.2987 16.5193C18.1935 18.0975 18.1409 18.8867 17.8 19.485C17.4999 20.0118 17.0472 20.4353 16.5017 20.6997C15.882 21 15.0911 21 13.5093 21H10.4907C8.90891 21 8.11803 21 7.49834 20.6997C6.95276 20.4353 6.50009 20.0118 6.19998 19.485C5.85911 18.8867 5.8065 18.0975 5.70129 16.5193L5 6M10 10.5V15.5M14 10.5V15.5"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), du = /* @__PURE__ */ q('<svg width=10 height=6 viewBox="0 0 10 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1 1L5 5L9 1"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), fu = /* @__PURE__ */ q('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), Cr = /* @__PURE__ */ q('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'), gu = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2v2m0 16v2M4 12H2m4.314-5.686L4.9 4.9m12.786 1.414L19.1 4.9M6.314 17.69 4.9 19.104m12.786-1.414 1.414 1.414M22 12h-2m-3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), hu = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M22 15.844a10.424 10.424 0 0 1-4.306.925c-5.779 0-10.463-4.684-10.463-10.462 0-1.536.33-2.994.925-4.307A10.464 10.464 0 0 0 2 11.538C2 17.316 6.684 22 12.462 22c4.243 0 7.896-2.526 9.538-6.156Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), pu = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), mu = /* @__PURE__ */ q('<svg stroke=currentColor fill=currentColor stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">'), yu = /* @__PURE__ */ q('<svg stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">'), vu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), bu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M16 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V8M11.5 12.5L17 7M17 7H12M17 7V12M6.2 21H8.8C9.9201 21 10.4802 21 10.908 20.782C11.2843 20.5903 11.5903 20.2843 11.782 19.908C12 19.4802 12 18.9201 12 17.8V15.2C12 14.0799 12 13.5198 11.782 13.092C11.5903 12.7157 11.2843 12.4097 10.908 12.218C10.4802 12 9.92011 12 8.8 12H6.2C5.0799 12 4.51984 12 4.09202 12.218C3.71569 12.4097 3.40973 12.7157 3.21799 13.092C3 13.5198 3 14.0799 3 15.2V17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), xu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path class=copier d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round stroke=currentColor>'), wu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.5 21.4998L8.04927 19.3655C8.40421 19.229 8.58168 19.1607 8.74772 19.0716C8.8952 18.9924 9.0358 18.901 9.16804 18.7984C9.31692 18.6829 9.45137 18.5484 9.72028 18.2795L21 6.99982C22.1046 5.89525 22.1046 4.10438 21 2.99981C19.8955 1.89525 18.1046 1.89524 17 2.99981L5.72028 14.2795C5.45138 14.5484 5.31692 14.6829 5.20139 14.8318C5.09877 14.964 5.0074 15.1046 4.92823 15.2521C4.83911 15.4181 4.77085 15.5956 4.63433 15.9506L2.5 21.4998ZM2.5 21.4998L4.55812 16.1488C4.7054 15.7659 4.77903 15.5744 4.90534 15.4867C5.01572 15.4101 5.1523 15.3811 5.2843 15.4063C5.43533 15.4351 5.58038 15.5802 5.87048 15.8703L8.12957 18.1294C8.41967 18.4195 8.56472 18.5645 8.59356 18.7155C8.61877 18.8475 8.58979 18.9841 8.51314 19.0945C8.42545 19.2208 8.23399 19.2944 7.85107 19.4417L2.5 21.4998Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), cs = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), $u = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke=#F04438 stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Cu = /* @__PURE__ */ q('<svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 xmlns=http://www.w3.org/2000/svg><rect class=list width=20 height=20 y=2 x=2 rx=2></rect><line class=list-item y1=7 y2=7 x1=6 x2=18></line><line class=list-item y2=12 y1=12 x1=6 x2=18></line><line class=list-item y1=17 y2=17 x1=6 x2=18>'), Su = /* @__PURE__ */ q('<svg viewBox="0 0 24 24"height=20 width=20 fill=none xmlns=http://www.w3.org/2000/svg><path d="M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), ku = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Eu = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2V6M12 18V22M6 12H2M22 12H18M19.0784 19.0784L16.25 16.25M19.0784 4.99994L16.25 7.82837M4.92157 19.0784L7.75 16.25M4.92157 4.99994L7.75 7.82837"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><animateTransform attributeName=transform attributeType=XML type=rotate from=0 to=360 dur=2s repeatCount=indefinite>'), Mu = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M15 9L9 15M9 9L15 15M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Du = /* @__PURE__ */ q('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.5 15V9M14.5 15V9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Au = /* @__PURE__ */ q('<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>');
|
|
5901
|
+
function Tu() {
|
|
5902
|
+
return cu();
|
|
5903
5903
|
}
|
|
5904
|
-
function
|
|
5905
|
-
return
|
|
5904
|
+
function us() {
|
|
5905
|
+
return uu();
|
|
5906
5906
|
}
|
|
5907
5907
|
function tn() {
|
|
5908
|
-
return
|
|
5908
|
+
return du();
|
|
5909
5909
|
}
|
|
5910
5910
|
function Mo() {
|
|
5911
|
-
return
|
|
5911
|
+
return fu();
|
|
5912
5912
|
}
|
|
5913
5913
|
function Do() {
|
|
5914
5914
|
return Cr();
|
|
5915
5915
|
}
|
|
5916
|
-
function
|
|
5916
|
+
function Fu() {
|
|
5917
5917
|
return (() => {
|
|
5918
5918
|
var e = Cr();
|
|
5919
5919
|
return e.style.setProperty("transform", "rotate(90deg)"), e;
|
|
5920
5920
|
})();
|
|
5921
5921
|
}
|
|
5922
|
-
function
|
|
5922
|
+
function Iu() {
|
|
5923
5923
|
return (() => {
|
|
5924
5924
|
var e = Cr();
|
|
5925
5925
|
return e.style.setProperty("transform", "rotate(-90deg)"), e;
|
|
5926
5926
|
})();
|
|
5927
5927
|
}
|
|
5928
|
-
function
|
|
5929
|
-
return
|
|
5928
|
+
function Pu() {
|
|
5929
|
+
return gu();
|
|
5930
5930
|
}
|
|
5931
|
-
function
|
|
5932
|
-
return
|
|
5931
|
+
function Lu() {
|
|
5932
|
+
return hu();
|
|
5933
5933
|
}
|
|
5934
|
-
function
|
|
5935
|
-
return
|
|
5934
|
+
function Ou() {
|
|
5935
|
+
return pu();
|
|
5936
5936
|
}
|
|
5937
|
-
function
|
|
5938
|
-
return
|
|
5937
|
+
function _u() {
|
|
5938
|
+
return mu();
|
|
5939
5939
|
}
|
|
5940
|
-
function
|
|
5941
|
-
return
|
|
5940
|
+
function qu() {
|
|
5941
|
+
return yu();
|
|
5942
5942
|
}
|
|
5943
|
-
function
|
|
5944
|
-
return
|
|
5943
|
+
function Ru() {
|
|
5944
|
+
return vu();
|
|
5945
5945
|
}
|
|
5946
|
-
function
|
|
5947
|
-
return
|
|
5946
|
+
function zu() {
|
|
5947
|
+
return bu();
|
|
5948
5948
|
}
|
|
5949
|
-
function
|
|
5950
|
-
return
|
|
5949
|
+
function Ku() {
|
|
5950
|
+
return xu();
|
|
5951
5951
|
}
|
|
5952
|
-
function
|
|
5953
|
-
return
|
|
5952
|
+
function Bu() {
|
|
5953
|
+
return wu();
|
|
5954
5954
|
}
|
|
5955
|
-
function
|
|
5955
|
+
function Nu(e) {
|
|
5956
5956
|
return (() => {
|
|
5957
|
-
var t =
|
|
5957
|
+
var t = cs(), n = t.firstChild;
|
|
5958
5958
|
return N(() => A(n, "stroke", e.theme === "dark" ? "#12B76A" : "#027A48")), t;
|
|
5959
5959
|
})();
|
|
5960
5960
|
}
|
|
5961
|
-
function
|
|
5962
|
-
return $
|
|
5961
|
+
function Uu() {
|
|
5962
|
+
return $u();
|
|
5963
5963
|
}
|
|
5964
|
-
function
|
|
5965
|
-
return
|
|
5964
|
+
function Gu() {
|
|
5965
|
+
return Cu();
|
|
5966
5966
|
}
|
|
5967
|
-
function
|
|
5967
|
+
function Vu(e) {
|
|
5968
5968
|
return [p(K, {
|
|
5969
5969
|
get when() {
|
|
5970
5970
|
return e.checked;
|
|
5971
5971
|
},
|
|
5972
5972
|
get children() {
|
|
5973
|
-
var t =
|
|
5973
|
+
var t = cs(), n = t.firstChild;
|
|
5974
5974
|
return N(() => A(n, "stroke", e.theme === "dark" ? "#9B8AFB" : "#6938EF")), t;
|
|
5975
5975
|
}
|
|
5976
5976
|
}), p(K, {
|
|
@@ -5978,31 +5978,31 @@ function Vc(e) {
|
|
|
5978
5978
|
return !e.checked;
|
|
5979
5979
|
},
|
|
5980
5980
|
get children() {
|
|
5981
|
-
var t =
|
|
5981
|
+
var t = Su(), n = t.firstChild;
|
|
5982
5982
|
return N(() => A(n, "stroke", e.theme === "dark" ? "#9B8AFB" : "#6938EF")), t;
|
|
5983
5983
|
}
|
|
5984
5984
|
})];
|
|
5985
5985
|
}
|
|
5986
|
-
function
|
|
5987
|
-
return
|
|
5986
|
+
function Hu() {
|
|
5987
|
+
return ku();
|
|
5988
5988
|
}
|
|
5989
|
-
function
|
|
5990
|
-
return
|
|
5989
|
+
function ju() {
|
|
5990
|
+
return Eu();
|
|
5991
5991
|
}
|
|
5992
|
-
function
|
|
5993
|
-
return
|
|
5992
|
+
function Wu() {
|
|
5993
|
+
return Mu();
|
|
5994
5994
|
}
|
|
5995
|
-
function
|
|
5996
|
-
return
|
|
5995
|
+
function Qu() {
|
|
5996
|
+
return Du();
|
|
5997
5997
|
}
|
|
5998
5998
|
function Ao() {
|
|
5999
5999
|
const e = Ke();
|
|
6000
6000
|
return (() => {
|
|
6001
|
-
var t =
|
|
6002
|
-
return A(n, "id", `a-${e}`), A(r, "fill", `url(#a-${e})`), A(s, "id", `am-${e}`), A(a, "id", `b-${e}`), A(l, "filter", `url(#am-${e})`), A(i, "mask", `url(#b-${e})`), A(
|
|
6001
|
+
var t = Au(), n = t.firstChild, r = n.nextSibling, o = r.nextSibling, s = o.firstChild, a = o.nextSibling, l = a.firstChild, i = a.nextSibling, c = i.nextSibling, u = c.firstChild, d = c.nextSibling, g = d.firstChild, f = d.nextSibling, h = f.nextSibling, m = h.firstChild, y = h.nextSibling, v = y.firstChild, b = y.nextSibling, x = b.nextSibling, w = x.firstChild, $ = x.nextSibling, L = $.firstChild, F = $.nextSibling, P = F.nextSibling, S = P.firstChild, _ = P.nextSibling, H = _.firstChild, G = _.nextSibling, te = G.nextSibling, J = te.firstChild, ae = te.nextSibling, oe = ae.firstChild, ne = ae.nextSibling, ie = ne.nextSibling, le = ie.firstChild, pe = ie.nextSibling, De = pe.firstChild, ge = pe.nextSibling, ke = ge.firstChild, D = ke.nextSibling, fe = D.nextSibling, Y = fe.nextSibling, gt = Y.nextSibling, V = ge.nextSibling, Ue = V.firstChild, $e = V.nextSibling, Ft = $e.firstChild, Le = $e.nextSibling, ht = Le.firstChild, $t = ht.nextSibling, et = $t.nextSibling, Qe = et.firstChild, tt = Qe.nextSibling, I = tt.nextSibling, re = I.nextSibling, Ee = re.nextSibling, se = Ee.nextSibling, ee = se.nextSibling, ce = ee.nextSibling, me = ce.nextSibling, X = me.nextSibling, nt = X.nextSibling, rt = nt.nextSibling, Ge = Le.nextSibling, Ct = Ge.firstChild, ot = Ge.nextSibling, St = ot.firstChild, it = ot.nextSibling, pt = it.firstChild, hn = pt.nextSibling, Ht = it.nextSibling, pn = Ht.firstChild, It = Ht.nextSibling, mn = It.firstChild, jt = It.nextSibling, Wt = jt.firstChild, Qt = Wt.nextSibling, Pt = Qt.nextSibling, kr = Pt.nextSibling, Er = kr.nextSibling, Mr = Er.nextSibling, Dr = Mr.nextSibling, Ar = Dr.nextSibling, Tr = Ar.nextSibling, Fr = Tr.nextSibling, Ir = Fr.nextSibling, Pr = Ir.nextSibling, Lr = Pr.nextSibling, Or = Lr.nextSibling, _r = Or.nextSibling, qr = _r.nextSibling, Rr = qr.nextSibling, ms = Rr.nextSibling;
|
|
6002
|
+
return A(n, "id", `a-${e}`), A(r, "fill", `url(#a-${e})`), A(s, "id", `am-${e}`), A(a, "id", `b-${e}`), A(l, "filter", `url(#am-${e})`), A(i, "mask", `url(#b-${e})`), A(u, "id", `ah-${e}`), A(d, "id", `k-${e}`), A(g, "filter", `url(#ah-${e})`), A(f, "mask", `url(#k-${e})`), A(m, "id", `ae-${e}`), A(y, "id", `j-${e}`), A(v, "filter", `url(#ae-${e})`), A(b, "mask", `url(#j-${e})`), A(w, "id", `ai-${e}`), A($, "id", `i-${e}`), A(L, "filter", `url(#ai-${e})`), A(F, "mask", `url(#i-${e})`), A(S, "id", `aj-${e}`), A(_, "id", `h-${e}`), A(H, "filter", `url(#aj-${e})`), A(G, "mask", `url(#h-${e})`), A(J, "id", `ag-${e}`), A(ae, "id", `g-${e}`), A(oe, "filter", `url(#ag-${e})`), A(ne, "mask", `url(#g-${e})`), A(le, "id", `af-${e}`), A(pe, "id", `f-${e}`), A(De, "filter", `url(#af-${e})`), A(ge, "mask", `url(#f-${e})`), A(Y, "id", `m-${e}`), A(gt, "fill", `url(#m-${e})`), A(Ue, "id", `ak-${e}`), A($e, "id", `e-${e}`), A(Ft, "filter", `url(#ak-${e})`), A(Le, "mask", `url(#e-${e})`), A(ht, "id", `n-${e}`), A($t, "fill", `url(#n-${e})`), A(Qe, "id", `r-${e}`), A(tt, "fill", `url(#r-${e})`), A(I, "id", `s-${e}`), A(re, "fill", `url(#s-${e})`), A(Ee, "id", `q-${e}`), A(se, "fill", `url(#q-${e})`), A(ee, "id", `p-${e}`), A(ce, "fill", `url(#p-${e})`), A(me, "id", `o-${e}`), A(X, "fill", `url(#o-${e})`), A(nt, "id", `l-${e}`), A(rt, "fill", `url(#l-${e})`), A(Ct, "id", `al-${e}`), A(ot, "id", `d-${e}`), A(St, "filter", `url(#al-${e})`), A(it, "mask", `url(#d-${e})`), A(pt, "id", `u-${e}`), A(hn, "fill", `url(#u-${e})`), A(pn, "id", `ad-${e}`), A(It, "id", `c-${e}`), A(mn, "filter", `url(#ad-${e})`), A(jt, "mask", `url(#c-${e})`), A(Wt, "id", `t-${e}`), A(Qt, "fill", `url(#t-${e})`), A(Pt, "id", `v-${e}`), A(kr, "stroke", `url(#v-${e})`), A(Er, "id", `aa-${e}`), A(Mr, "stroke", `url(#aa-${e})`), A(Dr, "id", `w-${e}`), A(Ar, "stroke", `url(#w-${e})`), A(Tr, "id", `ac-${e}`), A(Fr, "stroke", `url(#ac-${e})`), A(Ir, "id", `ab-${e}`), A(Pr, "stroke", `url(#ab-${e})`), A(Lr, "id", `y-${e}`), A(Or, "stroke", `url(#y-${e})`), A(_r, "id", `x-${e}`), A(qr, "stroke", `url(#x-${e})`), A(Rr, "id", `z-${e}`), A(ms, "stroke", `url(#z-${e})`), t;
|
|
6003
6003
|
})();
|
|
6004
6004
|
}
|
|
6005
|
-
var
|
|
6005
|
+
var Yu = /* @__PURE__ */ q('<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), Xu = /* @__PURE__ */ q('<button title="Copy object to clipboard">'), Zu = /* @__PURE__ */ q('<button title="Remove all items"aria-label="Remove all items">'), Ju = /* @__PURE__ */ q('<button title="Delete item"aria-label="Delete item">'), ed = /* @__PURE__ */ q('<button title="Toggle value"aria-label="Toggle value">'), td = /* @__PURE__ */ q('<button title="Bulk Edit Data"aria-label="Bulk Edit Data">'), Zt = /* @__PURE__ */ q("<div>"), nd = /* @__PURE__ */ q("<div><button> <span></span> <span> "), rd = /* @__PURE__ */ q("<input>"), To = /* @__PURE__ */ q("<span>"), od = /* @__PURE__ */ q("<div><span>:"), id = /* @__PURE__ */ q("<div><div><button> [<!>...<!>]");
|
|
6006
6006
|
function sd(e, t) {
|
|
6007
6007
|
let n = 0;
|
|
6008
6008
|
const r = [];
|
|
@@ -6011,11 +6011,11 @@ function sd(e, t) {
|
|
|
6011
6011
|
return r;
|
|
6012
6012
|
}
|
|
6013
6013
|
var Fo = (e) => {
|
|
6014
|
-
const t =
|
|
6014
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6015
6015
|
target: z().shadowDOMTarget
|
|
6016
6016
|
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n));
|
|
6017
6017
|
return (() => {
|
|
6018
|
-
var o =
|
|
6018
|
+
var o = Yu();
|
|
6019
6019
|
return N(() => T(o, O(r().expander, n`
|
|
6020
6020
|
transform: rotate(${e.expanded ? 90 : 0}deg);
|
|
6021
6021
|
`, e.expanded && n`
|
|
@@ -6025,11 +6025,11 @@ var Fo = (e) => {
|
|
|
6025
6025
|
`))), o;
|
|
6026
6026
|
})();
|
|
6027
6027
|
}, ad = (e) => {
|
|
6028
|
-
const t =
|
|
6028
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6029
6029
|
target: z().shadowDOMTarget
|
|
6030
6030
|
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), [o, s] = R("NoCopy");
|
|
6031
6031
|
return (() => {
|
|
6032
|
-
var a =
|
|
6032
|
+
var a = Xu();
|
|
6033
6033
|
return Ms(a, "click", o() === "NoCopy" ? () => {
|
|
6034
6034
|
navigator.clipboard.writeText(Ds(e.value)).then(() => {
|
|
6035
6035
|
s("SuccessCopy"), setTimeout(() => {
|
|
@@ -6047,14 +6047,14 @@ var Fo = (e) => {
|
|
|
6047
6047
|
return o() === "NoCopy";
|
|
6048
6048
|
},
|
|
6049
6049
|
get children() {
|
|
6050
|
-
return p(
|
|
6050
|
+
return p(Ku, {});
|
|
6051
6051
|
}
|
|
6052
6052
|
}), p(qn, {
|
|
6053
6053
|
get when() {
|
|
6054
6054
|
return o() === "SuccessCopy";
|
|
6055
6055
|
},
|
|
6056
6056
|
get children() {
|
|
6057
|
-
return p(
|
|
6057
|
+
return p(Nu, {
|
|
6058
6058
|
get theme() {
|
|
6059
6059
|
return t();
|
|
6060
6060
|
}
|
|
@@ -6065,42 +6065,42 @@ var Fo = (e) => {
|
|
|
6065
6065
|
return o() === "ErrorCopy";
|
|
6066
6066
|
},
|
|
6067
6067
|
get children() {
|
|
6068
|
-
return p(
|
|
6068
|
+
return p(Uu, {});
|
|
6069
6069
|
}
|
|
6070
6070
|
})];
|
|
6071
6071
|
}
|
|
6072
6072
|
})), N((l) => {
|
|
6073
|
-
var i = r().actionButton,
|
|
6074
|
-
return i !== l.e && T(a, l.e = i),
|
|
6073
|
+
var i = r().actionButton, c = `${o() === "NoCopy" ? "Copy object to clipboard" : o() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
|
|
6074
|
+
return i !== l.e && T(a, l.e = i), c !== l.t && A(a, "aria-label", l.t = c), l;
|
|
6075
6075
|
}, {
|
|
6076
6076
|
e: void 0,
|
|
6077
6077
|
t: void 0
|
|
6078
6078
|
}), a;
|
|
6079
6079
|
})();
|
|
6080
6080
|
}, ld = (e) => {
|
|
6081
|
-
const t =
|
|
6081
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6082
6082
|
target: z().shadowDOMTarget
|
|
6083
6083
|
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), o = z().client;
|
|
6084
6084
|
return (() => {
|
|
6085
|
-
var s =
|
|
6085
|
+
var s = Zu();
|
|
6086
6086
|
return s.$$click = () => {
|
|
6087
6087
|
const a = e.activeQuery.state.data, l = rr(a, e.dataPath, []);
|
|
6088
6088
|
o.setQueryData(e.activeQuery.queryKey, l);
|
|
6089
|
-
}, k(s, p(
|
|
6089
|
+
}, k(s, p(Gu, {})), N(() => T(s, r().actionButton)), s;
|
|
6090
6090
|
})();
|
|
6091
6091
|
}, Io = (e) => {
|
|
6092
|
-
const t =
|
|
6092
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6093
6093
|
target: z().shadowDOMTarget
|
|
6094
6094
|
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), o = z().client;
|
|
6095
6095
|
return (() => {
|
|
6096
|
-
var s =
|
|
6096
|
+
var s = Ju();
|
|
6097
6097
|
return s.$$click = () => {
|
|
6098
6098
|
const a = e.activeQuery.state.data, l = Ts(a, e.dataPath);
|
|
6099
6099
|
o.setQueryData(e.activeQuery.queryKey, l);
|
|
6100
|
-
}, k(s, p(
|
|
6100
|
+
}, k(s, p(us, {})), N(() => T(s, O(r().actionButton))), s;
|
|
6101
6101
|
})();
|
|
6102
|
-
},
|
|
6103
|
-
const t =
|
|
6102
|
+
}, cd = (e) => {
|
|
6103
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6104
6104
|
target: z().shadowDOMTarget
|
|
6105
6105
|
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), o = z().client;
|
|
6106
6106
|
return (() => {
|
|
@@ -6108,7 +6108,7 @@ var Fo = (e) => {
|
|
|
6108
6108
|
return s.$$click = () => {
|
|
6109
6109
|
const a = e.activeQuery.state.data, l = rr(a, e.dataPath, !e.value);
|
|
6110
6110
|
o.setQueryData(e.activeQuery.queryKey, l);
|
|
6111
|
-
}, k(s, p(
|
|
6111
|
+
}, k(s, p(Vu, {
|
|
6112
6112
|
get theme() {
|
|
6113
6113
|
return t();
|
|
6114
6114
|
},
|
|
@@ -6125,9 +6125,9 @@ function Po(e) {
|
|
|
6125
6125
|
return Symbol.iterator in e;
|
|
6126
6126
|
}
|
|
6127
6127
|
function mt(e) {
|
|
6128
|
-
const t =
|
|
6128
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6129
6129
|
target: z().shadowDOMTarget
|
|
6130
|
-
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), o = z().client, [s, a] = R((e.defaultExpanded || []).includes(e.label)), l = () => a((h) => !h), [i,
|
|
6130
|
+
}) : W, r = M(() => t() === "dark" ? Vt(n) : Gt(n)), o = z().client, [s, a] = R((e.defaultExpanded || []).includes(e.label)), l = () => a((h) => !h), [i, c] = R([]), u = M(() => Array.isArray(e.value) ? e.value.map((h, m) => ({
|
|
6131
6131
|
label: m.toString(),
|
|
6132
6132
|
value: h
|
|
6133
6133
|
})) : e.value !== null && typeof e.value == "object" && Po(e.value) && typeof e.value[Symbol.iterator] == "function" ? e.value instanceof Map ? Array.from(e.value, ([h, m]) => ({
|
|
@@ -6139,7 +6139,7 @@ function mt(e) {
|
|
|
6139
6139
|
})) : typeof e.value == "object" && e.value !== null ? Object.entries(e.value).map(([h, m]) => ({
|
|
6140
6140
|
label: h,
|
|
6141
6141
|
value: m
|
|
6142
|
-
})) : []), d = M(() => Array.isArray(e.value) ? "array" : e.value !== null && typeof e.value == "object" && Po(e.value) && typeof e.value[Symbol.iterator] == "function" ? "Iterable" : typeof e.value == "object" && e.value !== null ? "object" : typeof e.value), g = M(() => sd(
|
|
6142
|
+
})) : []), d = M(() => Array.isArray(e.value) ? "array" : e.value !== null && typeof e.value == "object" && Po(e.value) && typeof e.value[Symbol.iterator] == "function" ? "Iterable" : typeof e.value == "object" && e.value !== null ? "object" : typeof e.value), g = M(() => sd(u(), 100)), f = e.dataPath ?? [];
|
|
6143
6143
|
return (() => {
|
|
6144
6144
|
var h = Zt();
|
|
6145
6145
|
return k(h, p(K, {
|
|
@@ -6148,12 +6148,12 @@ function mt(e) {
|
|
|
6148
6148
|
},
|
|
6149
6149
|
get children() {
|
|
6150
6150
|
return [(() => {
|
|
6151
|
-
var m = nd(), y = m.firstChild,
|
|
6151
|
+
var m = nd(), y = m.firstChild, v = y.firstChild, b = v.nextSibling, x = b.nextSibling, w = x.nextSibling, $ = w.firstChild;
|
|
6152
6152
|
return y.$$click = () => l(), k(y, p(Fo, {
|
|
6153
6153
|
get expanded() {
|
|
6154
6154
|
return s();
|
|
6155
6155
|
}
|
|
6156
|
-
}),
|
|
6156
|
+
}), v), k(b, () => e.label), k(w, () => String(d()).toLowerCase() === "iterable" ? "(Iterable) " : "", $), k(w, () => u().length, $), k(w, () => u().length > 1 ? "items" : "item", null), k(m, p(K, {
|
|
6157
6157
|
get when() {
|
|
6158
6158
|
return e.editable;
|
|
6159
6159
|
},
|
|
@@ -6195,7 +6195,7 @@ function mt(e) {
|
|
|
6195
6195
|
var F = td();
|
|
6196
6196
|
return F.$$click = () => {
|
|
6197
6197
|
e.onEdit?.();
|
|
6198
|
-
}, k(F, p(
|
|
6198
|
+
}, k(F, p(Bu, {})), N(() => T(F, r().actionButton)), F;
|
|
6199
6199
|
}
|
|
6200
6200
|
}), null), N(() => T(L, r().actions)), L;
|
|
6201
6201
|
}
|
|
@@ -6220,7 +6220,7 @@ function mt(e) {
|
|
|
6220
6220
|
var m = Zt();
|
|
6221
6221
|
return k(m, p(wn, {
|
|
6222
6222
|
get each() {
|
|
6223
|
-
return
|
|
6223
|
+
return u();
|
|
6224
6224
|
},
|
|
6225
6225
|
by: (y) => y.label,
|
|
6226
6226
|
children: (y) => p(mt, {
|
|
@@ -6258,15 +6258,15 @@ function mt(e) {
|
|
|
6258
6258
|
get each() {
|
|
6259
6259
|
return g();
|
|
6260
6260
|
},
|
|
6261
|
-
children: (y,
|
|
6262
|
-
var
|
|
6263
|
-
return P.nextSibling, w.$$click = () =>
|
|
6261
|
+
children: (y, v) => (() => {
|
|
6262
|
+
var b = id(), x = b.firstChild, w = x.firstChild, $ = w.firstChild, L = $.nextSibling, F = L.nextSibling, P = F.nextSibling;
|
|
6263
|
+
return P.nextSibling, w.$$click = () => c((S) => S.includes(v) ? S.filter((_) => _ !== v) : [...S, v]), k(w, p(Fo, {
|
|
6264
6264
|
get expanded() {
|
|
6265
|
-
return i().includes(
|
|
6265
|
+
return i().includes(v);
|
|
6266
6266
|
}
|
|
6267
|
-
}), $), k(w,
|
|
6267
|
+
}), $), k(w, v * 100, L), k(w, v * 100 + 100 - 1, P), k(x, p(K, {
|
|
6268
6268
|
get when() {
|
|
6269
|
-
return i().includes(
|
|
6269
|
+
return i().includes(v);
|
|
6270
6270
|
},
|
|
6271
6271
|
get children() {
|
|
6272
6272
|
var S = Zt();
|
|
@@ -6303,7 +6303,7 @@ function mt(e) {
|
|
|
6303
6303
|
}, {
|
|
6304
6304
|
e: void 0,
|
|
6305
6305
|
t: void 0
|
|
6306
|
-
}),
|
|
6306
|
+
}), b;
|
|
6307
6307
|
})()
|
|
6308
6308
|
})), N(() => T(m, r().subEntry)), m;
|
|
6309
6309
|
}
|
|
@@ -6316,15 +6316,15 @@ function mt(e) {
|
|
|
6316
6316
|
return g().length === 0;
|
|
6317
6317
|
},
|
|
6318
6318
|
get children() {
|
|
6319
|
-
var m = od(), y = m.firstChild,
|
|
6320
|
-
return k(y, () => e.label,
|
|
6319
|
+
var m = od(), y = m.firstChild, v = y.firstChild;
|
|
6320
|
+
return k(y, () => e.label, v), k(m, p(K, {
|
|
6321
6321
|
get when() {
|
|
6322
6322
|
return M(() => !!(e.editable && e.activeQuery !== void 0))() && (d() === "string" || d() === "number" || d() === "boolean");
|
|
6323
6323
|
},
|
|
6324
6324
|
get fallback() {
|
|
6325
6325
|
return (() => {
|
|
6326
|
-
var
|
|
6327
|
-
return k(
|
|
6326
|
+
var b = To();
|
|
6327
|
+
return k(b, () => xn(e.value)), N(() => T(b, r().value)), b;
|
|
6328
6328
|
})();
|
|
6329
6329
|
},
|
|
6330
6330
|
get children() {
|
|
@@ -6333,25 +6333,25 @@ function mt(e) {
|
|
|
6333
6333
|
return M(() => !!(e.editable && e.activeQuery !== void 0))() && (d() === "string" || d() === "number");
|
|
6334
6334
|
},
|
|
6335
6335
|
get children() {
|
|
6336
|
-
var
|
|
6337
|
-
return
|
|
6336
|
+
var b = rd();
|
|
6337
|
+
return b.addEventListener("change", (x) => {
|
|
6338
6338
|
const w = e.activeQuery.state.data, $ = rr(w, f, d() === "number" ? x.target.valueAsNumber : x.target.value);
|
|
6339
6339
|
o.setQueryData(e.activeQuery.queryKey, $);
|
|
6340
6340
|
}), N((x) => {
|
|
6341
6341
|
var w = d() === "number" ? "number" : "text", $ = O(r().value, r().editableInput);
|
|
6342
|
-
return w !== x.e && A(
|
|
6342
|
+
return w !== x.e && A(b, "type", x.e = w), $ !== x.t && T(b, x.t = $), x;
|
|
6343
6343
|
}, {
|
|
6344
6344
|
e: void 0,
|
|
6345
6345
|
t: void 0
|
|
6346
|
-
}), N(() =>
|
|
6346
|
+
}), N(() => b.value = e.value), b;
|
|
6347
6347
|
}
|
|
6348
6348
|
}), p(K, {
|
|
6349
6349
|
get when() {
|
|
6350
6350
|
return d() === "boolean";
|
|
6351
6351
|
},
|
|
6352
6352
|
get children() {
|
|
6353
|
-
var
|
|
6354
|
-
return k(
|
|
6353
|
+
var b = To();
|
|
6354
|
+
return k(b, p(cd, {
|
|
6355
6355
|
get activeQuery() {
|
|
6356
6356
|
return e.activeQuery;
|
|
6357
6357
|
},
|
|
@@ -6359,7 +6359,7 @@ function mt(e) {
|
|
|
6359
6359
|
get value() {
|
|
6360
6360
|
return e.value;
|
|
6361
6361
|
}
|
|
6362
|
-
}), null), k(
|
|
6362
|
+
}), null), k(b, () => xn(e.value), null), N(() => T(b, O(r().value, r().actions, r().editableInput))), b;
|
|
6363
6363
|
}
|
|
6364
6364
|
})];
|
|
6365
6365
|
}
|
|
@@ -6375,9 +6375,9 @@ function mt(e) {
|
|
|
6375
6375
|
dataPath: f
|
|
6376
6376
|
});
|
|
6377
6377
|
}
|
|
6378
|
-
}), null), N((
|
|
6378
|
+
}), null), N((b) => {
|
|
6379
6379
|
var x = r().row, w = r().label;
|
|
6380
|
-
return x !==
|
|
6380
|
+
return x !== b.e && T(m, b.e = x), w !== b.t && T(y, b.t = w), b;
|
|
6381
6381
|
}, {
|
|
6382
6382
|
e: void 0,
|
|
6383
6383
|
t: void 0
|
|
@@ -6520,27 +6520,27 @@ var ds = (e, t) => {
|
|
|
6520
6520
|
};
|
|
6521
6521
|
}, Gt = (e) => ds("light", e), Vt = (e) => ds("dark", e);
|
|
6522
6522
|
nr(["click"]);
|
|
6523
|
-
var
|
|
6524
|
-
const t =
|
|
6523
|
+
var ud = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>'), gn = /* @__PURE__ */ q("<div>"), dd = /* @__PURE__ */ q('<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">'), fd = /* @__PURE__ */ q("<select name=tsqd-queries-filter-sort>"), gd = /* @__PURE__ */ q("<select name=tsqd-mutations-filter-sort>"), hd = /* @__PURE__ */ q("<span>Asc"), pd = /* @__PURE__ */ q("<span>Desc"), md = /* @__PURE__ */ q('<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">'), yd = /* @__PURE__ */ q("<div>Settings"), vd = /* @__PURE__ */ q("<span>Position"), bd = /* @__PURE__ */ q("<span>Top"), xd = /* @__PURE__ */ q("<span>Bottom"), wd = /* @__PURE__ */ q("<span>Left"), $d = /* @__PURE__ */ q("<span>Right"), Cd = /* @__PURE__ */ q("<span>Theme"), Sd = /* @__PURE__ */ q("<span>Light"), kd = /* @__PURE__ */ q("<span>Dark"), Ed = /* @__PURE__ */ q("<span>System"), Md = /* @__PURE__ */ q("<div><div class=tsqd-queries-container>"), Dd = /* @__PURE__ */ q("<div><div class=tsqd-mutations-container>"), Ad = /* @__PURE__ */ q('<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>'), Lo = /* @__PURE__ */ q("<option>Sort by "), Td = /* @__PURE__ */ q("<div class=tsqd-query-disabled-indicator>disabled"), fs = /* @__PURE__ */ q("<button><div></div><code class=tsqd-query-hash>"), Fd = /* @__PURE__ */ q("<div role=tooltip id=tsqd-status-tooltip>"), Id = /* @__PURE__ */ q("<span>"), Pd = /* @__PURE__ */ q("<button><span></span><span>"), Ld = /* @__PURE__ */ q("<button><span></span> Error"), Od = /* @__PURE__ */ q('<div><span></span>Trigger Error<select><option value=""disabled selected>'), _d = /* @__PURE__ */ q('<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">'), qd = /* @__PURE__ */ q("<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save"), Rd = /* @__PURE__ */ q('<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'), zd = /* @__PURE__ */ q("<option>"), Kd = /* @__PURE__ */ q('<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'), [Fe, _n] = R(null), [yt, gs] = R(null), [He, Sr] = R(0), [Lt, Oo] = R(!1), t0 = (e) => {
|
|
6524
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6525
6525
|
target: z().shadowDOMTarget
|
|
6526
6526
|
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), o = ir(), s = M(() => z().buttonPosition || Ns), a = M(() => e.localStore.open === "true" ? !0 : e.localStore.open === "false" ? !1 : z().initialIsOpen || Us), l = M(() => e.localStore.position || z().position || Hn);
|
|
6527
6527
|
let i;
|
|
6528
6528
|
B(() => {
|
|
6529
|
-
const
|
|
6530
|
-
|
|
6529
|
+
const u = i.parentElement, d = e.localStore.height || Ro, g = e.localStore.width || zo, f = l();
|
|
6530
|
+
u.style.setProperty("--tsqd-panel-height", `${f === "top" ? "-" : ""}${d}px`), u.style.setProperty("--tsqd-panel-width", `${f === "left" ? "-" : ""}${g}px`);
|
|
6531
6531
|
}), At(() => {
|
|
6532
|
-
const
|
|
6532
|
+
const u = () => {
|
|
6533
6533
|
const d = i.parentElement, g = getComputedStyle(d).fontSize;
|
|
6534
6534
|
d.style.setProperty("--tsqd-font-size", g);
|
|
6535
6535
|
};
|
|
6536
|
-
|
|
6537
|
-
window.removeEventListener("focus",
|
|
6536
|
+
u(), window.addEventListener("focus", u), U(() => {
|
|
6537
|
+
window.removeEventListener("focus", u);
|
|
6538
6538
|
});
|
|
6539
6539
|
});
|
|
6540
|
-
const
|
|
6540
|
+
const c = M(() => e.localStore.pip_open ?? "false");
|
|
6541
6541
|
return [p(K, {
|
|
6542
6542
|
get when() {
|
|
6543
|
-
return M(() => !!o().pipWindow)() &&
|
|
6543
|
+
return M(() => !!o().pipWindow)() && c() == "true";
|
|
6544
6544
|
},
|
|
6545
6545
|
get children() {
|
|
6546
6546
|
return p(_o, {
|
|
@@ -6557,13 +6557,13 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6557
6557
|
});
|
|
6558
6558
|
}
|
|
6559
6559
|
}), (() => {
|
|
6560
|
-
var
|
|
6561
|
-
return typeof d == "function" ? an(d,
|
|
6560
|
+
var u = gn(), d = i;
|
|
6561
|
+
return typeof d == "function" ? an(d, u) : i = u, k(u, p(Qr, {
|
|
6562
6562
|
name: "tsqd-panel-transition",
|
|
6563
6563
|
get children() {
|
|
6564
6564
|
return p(K, {
|
|
6565
6565
|
get when() {
|
|
6566
|
-
return M(() => !!(a() && !o().pipWindow))() &&
|
|
6566
|
+
return M(() => !!(a() && !o().pipWindow))() && c() == "false";
|
|
6567
6567
|
},
|
|
6568
6568
|
get children() {
|
|
6569
6569
|
return p(Nd, {
|
|
@@ -6577,7 +6577,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6577
6577
|
}
|
|
6578
6578
|
});
|
|
6579
6579
|
}
|
|
6580
|
-
}), null), k(
|
|
6580
|
+
}), null), k(u, p(Qr, {
|
|
6581
6581
|
name: "tsqd-button-transition",
|
|
6582
6582
|
get children() {
|
|
6583
6583
|
return p(K, {
|
|
@@ -6585,12 +6585,12 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6585
6585
|
return !a();
|
|
6586
6586
|
},
|
|
6587
6587
|
get children() {
|
|
6588
|
-
var g =
|
|
6588
|
+
var g = ud(), f = g.firstChild, h = f.nextSibling;
|
|
6589
6589
|
return k(f, p(Ao, {})), h.$$click = () => e.setLocalStore("open", "true"), k(h, p(Ao, {})), N(() => T(g, O(r().devtoolsBtn, r()[`devtoolsBtn-position-${s()}`], "tsqd-open-btn-container"))), g;
|
|
6590
6590
|
}
|
|
6591
6591
|
});
|
|
6592
6592
|
}
|
|
6593
|
-
}), null), N(() => T(
|
|
6593
|
+
}), null), N(() => T(u, O(n`
|
|
6594
6594
|
& .tsqd-panel-transition-exit-active,
|
|
6595
6595
|
& .tsqd-panel-transition-enter-active {
|
|
6596
6596
|
transition:
|
|
@@ -6616,15 +6616,15 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6616
6616
|
transform: ${s() === "relative" ? "none;" : s() === "top-left" ? "translateX(-72px);" : s() === "top-right" ? "translateX(72px);" : "translateY(72px);"};
|
|
6617
6617
|
opacity: 0;
|
|
6618
6618
|
}
|
|
6619
|
-
`, "tsqd-transitions-container"))),
|
|
6619
|
+
`, "tsqd-transitions-container"))), u;
|
|
6620
6620
|
})()];
|
|
6621
6621
|
}, Bd = (e) => {
|
|
6622
|
-
const t = ir(), n =
|
|
6622
|
+
const t = ir(), n = ve(), r = z().shadowDOMTarget ? W.bind({
|
|
6623
6623
|
target: z().shadowDOMTarget
|
|
6624
6624
|
}) : W, o = M(() => n() === "dark" ? Ne(r) : Be(r)), s = () => {
|
|
6625
6625
|
const {
|
|
6626
6626
|
colors: a
|
|
6627
|
-
} = C, l = (i,
|
|
6627
|
+
} = C, l = (i, c) => n() === "dark" ? c : i;
|
|
6628
6628
|
return He() < Et ? r`
|
|
6629
6629
|
flex-direction: column;
|
|
6630
6630
|
background-color: ${l(a.gray[300], a.gray[600])};
|
|
@@ -6648,8 +6648,8 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6648
6648
|
`]: He() < or
|
|
6649
6649
|
}, "tsqd-main-panel"))), a;
|
|
6650
6650
|
})();
|
|
6651
|
-
},
|
|
6652
|
-
const t =
|
|
6651
|
+
}, n0 = (e) => {
|
|
6652
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6653
6653
|
target: z().shadowDOMTarget
|
|
6654
6654
|
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n));
|
|
6655
6655
|
let o;
|
|
@@ -6663,7 +6663,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6663
6663
|
const s = () => {
|
|
6664
6664
|
const {
|
|
6665
6665
|
colors: a
|
|
6666
|
-
} = C, l = (i,
|
|
6666
|
+
} = C, l = (i, c) => t() === "dark" ? c : i;
|
|
6667
6667
|
return He() < Et ? n`
|
|
6668
6668
|
flex-direction: column;
|
|
6669
6669
|
background-color: ${l(a.gray[300], a.gray[600])};
|
|
@@ -6681,27 +6681,27 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6681
6681
|
}, "tsqd-main-panel"))), a;
|
|
6682
6682
|
})();
|
|
6683
6683
|
}, Nd = (e) => {
|
|
6684
|
-
const t =
|
|
6684
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
6685
6685
|
target: z().shadowDOMTarget
|
|
6686
|
-
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), [o, s] = R(!1), a = M(() => e.localStore.position || z().position || Hn), l = (
|
|
6687
|
-
const d =
|
|
6686
|
+
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), [o, s] = R(!1), a = M(() => e.localStore.position || z().position || Hn), l = (u) => {
|
|
6687
|
+
const d = u.currentTarget.parentElement;
|
|
6688
6688
|
if (!d)
|
|
6689
6689
|
return;
|
|
6690
6690
|
s(!0);
|
|
6691
6691
|
const {
|
|
6692
6692
|
height: g,
|
|
6693
6693
|
width: f
|
|
6694
|
-
} = d.getBoundingClientRect(), h =
|
|
6694
|
+
} = d.getBoundingClientRect(), h = u.clientX, m = u.clientY;
|
|
6695
6695
|
let y = 0;
|
|
6696
|
-
const
|
|
6696
|
+
const v = zr(3.5), b = zr(12), x = ($) => {
|
|
6697
6697
|
if ($.preventDefault(), a() === "left" || a() === "right") {
|
|
6698
6698
|
const L = a() === "right" ? h - $.clientX : $.clientX - h;
|
|
6699
|
-
y = Math.round(f + L), y <
|
|
6699
|
+
y = Math.round(f + L), y < b && (y = b), e.setLocalStore("width", String(Math.round(y)));
|
|
6700
6700
|
const F = d.getBoundingClientRect().width;
|
|
6701
6701
|
Number(e.localStore.width) < F && e.setLocalStore("width", String(F));
|
|
6702
6702
|
} else {
|
|
6703
6703
|
const L = a() === "bottom" ? m - $.clientY : $.clientY - m;
|
|
6704
|
-
y = Math.round(g + L), y <
|
|
6704
|
+
y = Math.round(g + L), y < v && (y = v, _n(null)), e.setLocalStore("height", String(Math.round(y)));
|
|
6705
6705
|
}
|
|
6706
6706
|
}, w = () => {
|
|
6707
6707
|
o() && s(!1), document.removeEventListener("mousemove", x, !1), document.removeEventListener("mouseUp", w, !1);
|
|
@@ -6711,71 +6711,71 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6711
6711
|
let i;
|
|
6712
6712
|
At(() => {
|
|
6713
6713
|
Vo(i, ({
|
|
6714
|
-
width:
|
|
6714
|
+
width: u
|
|
6715
6715
|
}, d) => {
|
|
6716
|
-
d === i && Sr(
|
|
6716
|
+
d === i && Sr(u);
|
|
6717
6717
|
});
|
|
6718
6718
|
}), B(() => {
|
|
6719
|
-
const
|
|
6720
|
-
if (!
|
|
6719
|
+
const u = i.parentElement?.parentElement?.parentElement;
|
|
6720
|
+
if (!u)
|
|
6721
6721
|
return;
|
|
6722
|
-
const d = e.localStore.position || Hn, g =
|
|
6722
|
+
const d = e.localStore.position || Hn, g = vs("padding", d), f = e.localStore.position === "left" || e.localStore.position === "right", h = (({
|
|
6723
6723
|
padding: m,
|
|
6724
6724
|
paddingTop: y,
|
|
6725
|
-
paddingBottom:
|
|
6726
|
-
paddingLeft:
|
|
6725
|
+
paddingBottom: v,
|
|
6726
|
+
paddingLeft: b,
|
|
6727
6727
|
paddingRight: x
|
|
6728
6728
|
}) => ({
|
|
6729
6729
|
padding: m,
|
|
6730
6730
|
paddingTop: y,
|
|
6731
|
-
paddingBottom:
|
|
6732
|
-
paddingLeft:
|
|
6731
|
+
paddingBottom: v,
|
|
6732
|
+
paddingLeft: b,
|
|
6733
6733
|
paddingRight: x
|
|
6734
|
-
}))(
|
|
6735
|
-
|
|
6734
|
+
}))(u.style);
|
|
6735
|
+
u.style[g] = `${f ? e.localStore.width : e.localStore.height}px`, U(() => {
|
|
6736
6736
|
Object.entries(h).forEach(([m, y]) => {
|
|
6737
|
-
|
|
6737
|
+
u.style[m] = y;
|
|
6738
6738
|
});
|
|
6739
6739
|
});
|
|
6740
6740
|
});
|
|
6741
|
-
const
|
|
6741
|
+
const c = () => {
|
|
6742
6742
|
const {
|
|
6743
|
-
colors:
|
|
6743
|
+
colors: u
|
|
6744
6744
|
} = C, d = (g, f) => t() === "dark" ? f : g;
|
|
6745
6745
|
return He() < Et ? n`
|
|
6746
6746
|
flex-direction: column;
|
|
6747
|
-
background-color: ${d(
|
|
6747
|
+
background-color: ${d(u.gray[300], u.gray[600])};
|
|
6748
6748
|
` : n`
|
|
6749
6749
|
flex-direction: row;
|
|
6750
|
-
background-color: ${d(
|
|
6750
|
+
background-color: ${d(u.gray[200], u.darkGray[900])};
|
|
6751
6751
|
`;
|
|
6752
6752
|
};
|
|
6753
6753
|
return (() => {
|
|
6754
|
-
var
|
|
6755
|
-
return typeof f == "function" ? an(f,
|
|
6756
|
-
var m = O(r().panel, r()[`panel-position-${a()}`],
|
|
6754
|
+
var u = dd(), d = u.firstChild, g = d.nextSibling, f = i;
|
|
6755
|
+
return typeof f == "function" ? an(f, u) : i = u, d.$$mousedown = l, g.$$click = () => e.setLocalStore("open", "false"), k(g, p(tn, {})), k(u, p(hs, e), null), N((h) => {
|
|
6756
|
+
var m = O(r().panel, r()[`panel-position-${a()}`], c(), {
|
|
6757
6757
|
[n`
|
|
6758
6758
|
min-width: min-content;
|
|
6759
6759
|
`]: He() < or && (a() === "right" || a() === "left")
|
|
6760
|
-
}, "tsqd-main-panel"), y = a() === "bottom" || a() === "top" ? `${e.localStore.height || Ro}px` : "auto",
|
|
6761
|
-
return m !== h.e && T(
|
|
6760
|
+
}, "tsqd-main-panel"), y = a() === "bottom" || a() === "top" ? `${e.localStore.height || Ro}px` : "auto", v = a() === "right" || a() === "left" ? `${e.localStore.width || zo}px` : "auto", b = O(r().dragHandle, r()[`dragHandle-position-${a()}`], "tsqd-drag-handle"), x = O(r().closeBtn, r()[`closeBtn-position-${a()}`], "tsqd-minimize-btn");
|
|
6761
|
+
return m !== h.e && T(u, h.e = m), y !== h.t && ((h.t = y) != null ? u.style.setProperty("height", y) : u.style.removeProperty("height")), v !== h.a && ((h.a = v) != null ? u.style.setProperty("width", v) : u.style.removeProperty("width")), b !== h.o && T(d, h.o = b), x !== h.i && T(g, h.i = x), h;
|
|
6762
6762
|
}, {
|
|
6763
6763
|
e: void 0,
|
|
6764
6764
|
t: void 0,
|
|
6765
6765
|
a: void 0,
|
|
6766
6766
|
o: void 0,
|
|
6767
6767
|
i: void 0
|
|
6768
|
-
}),
|
|
6768
|
+
}), u;
|
|
6769
6769
|
})();
|
|
6770
6770
|
}, hs = (e) => {
|
|
6771
6771
|
Qd(), Yd();
|
|
6772
6772
|
let t;
|
|
6773
|
-
const n =
|
|
6773
|
+
const n = ve(), r = z().shadowDOMTarget ? W.bind({
|
|
6774
6774
|
target: z().shadowDOMTarget
|
|
6775
|
-
}) : W, o = M(() => n() === "dark" ? Ne(r) : Be(r)), s = ir(), [a, l] = R("queries"), i = M(() => e.localStore.sort || Vs),
|
|
6775
|
+
}) : W, o = M(() => n() === "dark" ? Ne(r) : Be(r)), s = ir(), [a, l] = R("queries"), i = M(() => e.localStore.sort || Vs), c = M(() => Number(e.localStore.sortOrder) || Nr), u = M(() => e.localStore.mutationSort || Hs), d = M(() => Number(e.localStore.mutationSortOrder) || Nr), g = M(() => Un[i()]), f = M(() => Gn[u()]), h = M(() => z().onlineManager), m = M(() => z().client.getQueryCache()), y = M(() => z().client.getMutationCache()), v = be((F) => F().getAll().length, !1), b = M(ct(() => [v(), e.localStore.filter, i(), c()], () => {
|
|
6776
6776
|
const F = m().getAll(), P = e.localStore.filter ? F.filter((_) => Ur(_.queryHash, e.localStore.filter || "").passed) : [...F];
|
|
6777
|
-
return g() ? P.sort((_, H) => g()(_, H) *
|
|
6778
|
-
})), x = Ve((F) => F().getAll().length, !1), w = M(
|
|
6777
|
+
return g() ? P.sort((_, H) => g()(_, H) * c()) : P;
|
|
6778
|
+
})), x = Ve((F) => F().getAll().length, !1), w = M(ct(() => [x(), e.localStore.mutationFilter, u(), d()], () => {
|
|
6779
6779
|
const F = y().getAll(), P = e.localStore.mutationFilter ? F.filter((_) => {
|
|
6780
6780
|
const H = `${_.options.mutationKey ? JSON.stringify(_.options.mutationKey) + " - " : ""}${new Date(_.state.submittedAt).toLocaleString()}`;
|
|
6781
6781
|
return Ur(H, e.localStore.mutationFilter || "").passed;
|
|
@@ -6848,7 +6848,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6848
6848
|
get children() {
|
|
6849
6849
|
return p(Hd, {});
|
|
6850
6850
|
}
|
|
6851
|
-
}), null), k(oe, p(
|
|
6851
|
+
}), null), k(oe, p(Tu, {}), ne), ne.$$input = (D) => {
|
|
6852
6852
|
a() === "queries" ? e.setLocalStore("filter", D.currentTarget.value) : e.setLocalStore("mutationFilter", D.currentTarget.value);
|
|
6853
6853
|
}, k(ie, p(K, {
|
|
6854
6854
|
get when() {
|
|
@@ -6874,31 +6874,31 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6874
6874
|
}), k(D, () => Object.keys(Gn).map((fe) => (() => {
|
|
6875
6875
|
var Y = Lo();
|
|
6876
6876
|
return Y.firstChild, Y.value = fe, k(Y, fe, null), Y;
|
|
6877
|
-
})())), N(() => D.value =
|
|
6877
|
+
})())), N(() => D.value = u()), D;
|
|
6878
6878
|
}
|
|
6879
6879
|
}), null), k(ie, p(tn, {}), null), le.$$click = () => {
|
|
6880
|
-
a() === "queries" ? e.setLocalStore("sortOrder", String(
|
|
6880
|
+
a() === "queries" ? e.setLocalStore("sortOrder", String(c() * -1)) : e.setLocalStore("mutationSortOrder", String(d() * -1));
|
|
6881
6881
|
}, k(le, p(K, {
|
|
6882
6882
|
get when() {
|
|
6883
|
-
return (a() === "queries" ?
|
|
6883
|
+
return (a() === "queries" ? c() : d()) === 1;
|
|
6884
6884
|
},
|
|
6885
6885
|
get children() {
|
|
6886
6886
|
return [hd(), p(Mo, {})];
|
|
6887
6887
|
}
|
|
6888
6888
|
}), null), k(le, p(K, {
|
|
6889
6889
|
get when() {
|
|
6890
|
-
return (a() === "queries" ?
|
|
6890
|
+
return (a() === "queries" ? c() : d()) === -1;
|
|
6891
6891
|
},
|
|
6892
6892
|
get children() {
|
|
6893
6893
|
return [pd(), p(Do, {})];
|
|
6894
6894
|
}
|
|
6895
6895
|
}), null), De.$$click = () => {
|
|
6896
6896
|
a() === "queries" ? m().clear() : y().clear();
|
|
6897
|
-
}, k(De, p(
|
|
6897
|
+
}, k(De, p(us, {})), ge.$$click = () => {
|
|
6898
6898
|
Lt() ? (h().setOnline(!0), Oo(!1)) : (h().setOnline(!1), Oo(!0));
|
|
6899
6899
|
}, k(ge, (() => {
|
|
6900
6900
|
var D = M(() => !!Lt());
|
|
6901
|
-
return () => D() ? p(
|
|
6901
|
+
return () => D() ? p(qu, {}) : p(_u, {});
|
|
6902
6902
|
})()), k(pe, p(K, {
|
|
6903
6903
|
get when() {
|
|
6904
6904
|
return M(() => !s().pipWindow)() && !s().disabled;
|
|
@@ -6907,7 +6907,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6907
6907
|
var D = md();
|
|
6908
6908
|
return D.$$click = () => {
|
|
6909
6909
|
s().requestPipWindow(Number(window.innerWidth), Number(e.localStore.height ?? 500));
|
|
6910
|
-
}, k(D, p(
|
|
6910
|
+
}, k(D, p(zu, {})), N(() => T(D, O(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-open-pip"))), D;
|
|
6911
6911
|
}
|
|
6912
6912
|
}), null), k(pe, p(he.Root, {
|
|
6913
6913
|
gutter: 4,
|
|
@@ -6917,7 +6917,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6917
6917
|
return O(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-settings");
|
|
6918
6918
|
},
|
|
6919
6919
|
get children() {
|
|
6920
|
-
return p(
|
|
6920
|
+
return p(Ru, {});
|
|
6921
6921
|
}
|
|
6922
6922
|
}), p(he.Portal, {
|
|
6923
6923
|
ref: (D) => L(D),
|
|
@@ -6948,7 +6948,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6948
6948
|
return O(o().settingsSubTrigger, "tsqd-settings-menu-sub-trigger", "tsqd-settings-menu-sub-trigger-position");
|
|
6949
6949
|
},
|
|
6950
6950
|
get children() {
|
|
6951
|
-
return [
|
|
6951
|
+
return [vd(), p(tn, {})];
|
|
6952
6952
|
}
|
|
6953
6953
|
}), p(he.Portal, {
|
|
6954
6954
|
ref: (D) => L(D),
|
|
@@ -6970,7 +6970,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6970
6970
|
return O(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
6971
6971
|
},
|
|
6972
6972
|
get children() {
|
|
6973
|
-
return [
|
|
6973
|
+
return [bd(), p(Mo, {})];
|
|
6974
6974
|
}
|
|
6975
6975
|
}), p(he.Item, {
|
|
6976
6976
|
onSelect: () => {
|
|
@@ -6992,7 +6992,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
6992
6992
|
return O(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
6993
6993
|
},
|
|
6994
6994
|
get children() {
|
|
6995
|
-
return [wd(), p(
|
|
6995
|
+
return [wd(), p(Fu, {})];
|
|
6996
6996
|
}
|
|
6997
6997
|
}), p(he.Item, {
|
|
6998
6998
|
onSelect: () => {
|
|
@@ -7003,7 +7003,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7003
7003
|
return O(o().settingsSubButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-right");
|
|
7004
7004
|
},
|
|
7005
7005
|
get children() {
|
|
7006
|
-
return [$d(), p(
|
|
7006
|
+
return [$d(), p(Iu, {})];
|
|
7007
7007
|
}
|
|
7008
7008
|
})];
|
|
7009
7009
|
}
|
|
@@ -7045,7 +7045,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7045
7045
|
return O(o().settingsSubButton, e.localStore.theme_preference === "light" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-top");
|
|
7046
7046
|
},
|
|
7047
7047
|
get children() {
|
|
7048
|
-
return [Sd(), p(
|
|
7048
|
+
return [Sd(), p(Pu, {})];
|
|
7049
7049
|
}
|
|
7050
7050
|
}), p(he.Item, {
|
|
7051
7051
|
onSelect: () => {
|
|
@@ -7056,7 +7056,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7056
7056
|
return O(o().settingsSubButton, e.localStore.theme_preference === "dark" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-bottom");
|
|
7057
7057
|
},
|
|
7058
7058
|
get children() {
|
|
7059
|
-
return [kd(), p(
|
|
7059
|
+
return [kd(), p(Lu, {})];
|
|
7060
7060
|
}
|
|
7061
7061
|
}), p(he.Item, {
|
|
7062
7062
|
onSelect: () => {
|
|
@@ -7067,7 +7067,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7067
7067
|
return O(o().settingsSubButton, e.localStore.theme_preference === "system" && o().themeSelectedButton, "tsqd-settings-menu-position-btn", "tsqd-settings-menu-position-btn-left");
|
|
7068
7068
|
},
|
|
7069
7069
|
get children() {
|
|
7070
|
-
return [Ed(), p(
|
|
7070
|
+
return [Ed(), p(Ou, {})];
|
|
7071
7071
|
}
|
|
7072
7072
|
})];
|
|
7073
7073
|
}
|
|
@@ -7090,7 +7090,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7090
7090
|
return k(fe, p(wn, {
|
|
7091
7091
|
by: (Y) => Y.queryHash,
|
|
7092
7092
|
get each() {
|
|
7093
|
-
return
|
|
7093
|
+
return b();
|
|
7094
7094
|
},
|
|
7095
7095
|
children: (Y) => p(Ud, {
|
|
7096
7096
|
get query() {
|
|
@@ -7124,8 +7124,8 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7124
7124
|
`, He() < Et && !(Fe() || yt()) && r`
|
|
7125
7125
|
height: 100%;
|
|
7126
7126
|
max-height: 100%;
|
|
7127
|
-
`, "tsqd-queries-container"), Y = O(o().row, "tsqd-header"), gt = o().logoAndToggleContainer, V = O(o().logo, "tsqd-text-logo-container"), Ue = O(o().tanstackLogo, "tsqd-text-logo-tanstack"), $e = O(o().queryFlavorLogo, "tsqd-text-logo-query-flavor"), Ft = O(o().row, "tsqd-filters-actions-container"), Le = O(o().filtersContainer, "tsqd-filters-container"), ht = O(o().filterInput, "tsqd-query-filter-textfield-container"), $t = O("tsqd-query-filter-textfield"), et = O(o().filterSelect, "tsqd-query-filter-sort-container"), Qe = `Sort order ${(a() === "queries" ?
|
|
7128
|
-
return fe !== D.e && T(F, D.e = fe), Y !== D.t && T(P, D.t = Y), gt !== D.a && T(S, D.a = gt), V !== D.o && T(_, D.o = V), Ue !== D.i && T(H, D.i = Ue), $e !== D.n && T(G, D.n = $e), Ft !== D.s && T(J, D.s = Ft), Le !== D.h && T(ae, D.h = Le), ht !== D.r && T(oe, D.r = ht), $t !== D.d && T(ne, D.d = $t), et !== D.l && T(ie, D.l = et), Qe !== D.u && A(le, "aria-label", D.u = Qe), tt !== D.c && A(le, "aria-pressed", D.c = tt), I !== D.w && T(pe, D.w = I), re !== D.m && T(De, D.m = re), Ee !== D.f && A(De, "title", D.f = Ee), se !== D.y && T(ge, D.y = se), ee !== D.g && A(ge, "aria-label", D.g = ee),
|
|
7127
|
+
`, "tsqd-queries-container"), Y = O(o().row, "tsqd-header"), gt = o().logoAndToggleContainer, V = O(o().logo, "tsqd-text-logo-container"), Ue = O(o().tanstackLogo, "tsqd-text-logo-tanstack"), $e = O(o().queryFlavorLogo, "tsqd-text-logo-query-flavor"), Ft = O(o().row, "tsqd-filters-actions-container"), Le = O(o().filtersContainer, "tsqd-filters-container"), ht = O(o().filterInput, "tsqd-query-filter-textfield-container"), $t = O("tsqd-query-filter-textfield"), et = O(o().filterSelect, "tsqd-query-filter-sort-container"), Qe = `Sort order ${(a() === "queries" ? c() : d()) === -1 ? "descending" : "ascending"}`, tt = (a() === "queries" ? c() : d()) === -1, I = O(o().actionsContainer, "tsqd-actions-container"), re = O(o().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), Ee = `Clear ${a()} cache`, se = O(o().actionsBtn, Lt() && o().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), ee = `${Lt() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, ce = Lt(), me = `${Lt() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
7128
|
+
return fe !== D.e && T(F, D.e = fe), Y !== D.t && T(P, D.t = Y), gt !== D.a && T(S, D.a = gt), V !== D.o && T(_, D.o = V), Ue !== D.i && T(H, D.i = Ue), $e !== D.n && T(G, D.n = $e), Ft !== D.s && T(J, D.s = Ft), Le !== D.h && T(ae, D.h = Le), ht !== D.r && T(oe, D.r = ht), $t !== D.d && T(ne, D.d = $t), et !== D.l && T(ie, D.l = et), Qe !== D.u && A(le, "aria-label", D.u = Qe), tt !== D.c && A(le, "aria-pressed", D.c = tt), I !== D.w && T(pe, D.w = I), re !== D.m && T(De, D.m = re), Ee !== D.f && A(De, "title", D.f = Ee), se !== D.y && T(ge, D.y = se), ee !== D.g && A(ge, "aria-label", D.g = ee), ce !== D.p && A(ge, "aria-pressed", D.p = ce), me !== D.b && A(ge, "title", D.b = me), D;
|
|
7129
7129
|
}, {
|
|
7130
7130
|
e: void 0,
|
|
7131
7131
|
t: void 0,
|
|
@@ -7164,23 +7164,23 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7164
7164
|
}
|
|
7165
7165
|
})];
|
|
7166
7166
|
}, Ud = (e) => {
|
|
7167
|
-
const t =
|
|
7167
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
7168
7168
|
target: z().shadowDOMTarget
|
|
7169
7169
|
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), {
|
|
7170
7170
|
colors: o,
|
|
7171
7171
|
alpha: s
|
|
7172
|
-
} = C, a = (f, h) => t() === "dark" ? h : f, l =
|
|
7172
|
+
} = C, a = (f, h) => t() === "dark" ? h : f, l = be((f) => f().find({
|
|
7173
7173
|
queryKey: e.query.queryKey
|
|
7174
|
-
})?.state, !0, (f) => f.query.queryHash === e.query.queryHash), i =
|
|
7174
|
+
})?.state, !0, (f) => f.query.queryHash === e.query.queryHash), i = be((f) => f().find({
|
|
7175
7175
|
queryKey: e.query.queryKey
|
|
7176
|
-
})?.isDisabled() ?? !1, !0, (f) => f.query.queryHash === e.query.queryHash),
|
|
7176
|
+
})?.isDisabled() ?? !1, !0, (f) => f.query.queryHash === e.query.queryHash), c = be((f) => f().find({
|
|
7177
7177
|
queryKey: e.query.queryKey
|
|
7178
|
-
})?.isStale() ?? !1, !0, (f) => f.query.queryHash === e.query.queryHash),
|
|
7178
|
+
})?.isStale() ?? !1, !0, (f) => f.query.queryHash === e.query.queryHash), u = be((f) => f().find({
|
|
7179
7179
|
queryKey: e.query.queryKey
|
|
7180
7180
|
})?.getObserversCount() ?? 0, !0, (f) => f.query.queryHash === e.query.queryHash), d = M(() => xs({
|
|
7181
7181
|
queryState: l(),
|
|
7182
|
-
observerCount:
|
|
7183
|
-
isStale:
|
|
7182
|
+
observerCount: u(),
|
|
7183
|
+
isStale: c()
|
|
7184
7184
|
})), g = () => d() === "gray" ? n`
|
|
7185
7185
|
background-color: ${a(o[d()][200], o[d()][700])};
|
|
7186
7186
|
color: ${a(o[d()][700], o[d()][300])};
|
|
@@ -7194,7 +7194,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7194
7194
|
},
|
|
7195
7195
|
get children() {
|
|
7196
7196
|
var f = fs(), h = f.firstChild, m = h.nextSibling;
|
|
7197
|
-
return f.$$click = () => _n(e.query.queryHash === Fe() ? null : e.query.queryHash), k(h,
|
|
7197
|
+
return f.$$click = () => _n(e.query.queryHash === Fe() ? null : e.query.queryHash), k(h, u), k(m, () => e.query.queryHash), k(f, p(K, {
|
|
7198
7198
|
get when() {
|
|
7199
7199
|
return i();
|
|
7200
7200
|
},
|
|
@@ -7202,8 +7202,8 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7202
7202
|
return Td();
|
|
7203
7203
|
}
|
|
7204
7204
|
}), null), N((y) => {
|
|
7205
|
-
var
|
|
7206
|
-
return
|
|
7205
|
+
var v = O(r().queryRow, Fe() === e.query.queryHash && r().selectedQueryRow, "tsqd-query-row"), b = `Query key ${e.query.queryHash}`, x = O(g(), "tsqd-query-observer-count");
|
|
7206
|
+
return v !== y.e && T(f, y.e = v), b !== y.t && A(f, "aria-label", y.t = b), x !== y.a && T(h, y.a = x), y;
|
|
7207
7207
|
}, {
|
|
7208
7208
|
e: void 0,
|
|
7209
7209
|
t: void 0,
|
|
@@ -7212,7 +7212,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7212
7212
|
}
|
|
7213
7213
|
});
|
|
7214
7214
|
}, Gd = (e) => {
|
|
7215
|
-
const t =
|
|
7215
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
7216
7216
|
target: z().shadowDOMTarget
|
|
7217
7217
|
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), {
|
|
7218
7218
|
colors: o,
|
|
@@ -7220,18 +7220,18 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7220
7220
|
} = C, a = (g, f) => t() === "dark" ? f : g, l = Ve((g) => g().getAll().find((m) => m.mutationId === e.mutation.mutationId)?.state), i = Ve((g) => {
|
|
7221
7221
|
const h = g().getAll().find((m) => m.mutationId === e.mutation.mutationId);
|
|
7222
7222
|
return h ? h.state.isPaused : !1;
|
|
7223
|
-
}),
|
|
7223
|
+
}), c = Ve((g) => {
|
|
7224
7224
|
const h = g().getAll().find((m) => m.mutationId === e.mutation.mutationId);
|
|
7225
7225
|
return h ? h.state.status : "idle";
|
|
7226
|
-
}),
|
|
7226
|
+
}), u = M(() => Rt({
|
|
7227
7227
|
isPaused: i(),
|
|
7228
|
-
status:
|
|
7229
|
-
})), d = () =>
|
|
7230
|
-
background-color: ${a(o[
|
|
7231
|
-
color: ${a(o[
|
|
7228
|
+
status: c()
|
|
7229
|
+
})), d = () => u() === "gray" ? n`
|
|
7230
|
+
background-color: ${a(o[u()][200], o[u()][700])};
|
|
7231
|
+
color: ${a(o[u()][700], o[u()][300])};
|
|
7232
7232
|
` : n`
|
|
7233
|
-
background-color: ${a(o[
|
|
7234
|
-
color: ${a(o[
|
|
7233
|
+
background-color: ${a(o[u()][200] + s[80], o[u()][900])};
|
|
7234
|
+
color: ${a(o[u()][800], o[u()][300])};
|
|
7235
7235
|
`;
|
|
7236
7236
|
return p(K, {
|
|
7237
7237
|
get when() {
|
|
@@ -7243,31 +7243,31 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7243
7243
|
gs(e.mutation.mutationId === yt() ? null : e.mutation.mutationId);
|
|
7244
7244
|
}, k(f, p(K, {
|
|
7245
7245
|
get when() {
|
|
7246
|
-
return
|
|
7246
|
+
return u() === "purple";
|
|
7247
7247
|
},
|
|
7248
7248
|
get children() {
|
|
7249
|
-
return p(
|
|
7249
|
+
return p(Qu, {});
|
|
7250
7250
|
}
|
|
7251
7251
|
}), null), k(f, p(K, {
|
|
7252
7252
|
get when() {
|
|
7253
|
-
return
|
|
7253
|
+
return u() === "green";
|
|
7254
7254
|
},
|
|
7255
7255
|
get children() {
|
|
7256
|
-
return p(
|
|
7256
|
+
return p(Hu, {});
|
|
7257
7257
|
}
|
|
7258
7258
|
}), null), k(f, p(K, {
|
|
7259
7259
|
get when() {
|
|
7260
|
-
return
|
|
7260
|
+
return u() === "red";
|
|
7261
7261
|
},
|
|
7262
7262
|
get children() {
|
|
7263
|
-
return p(
|
|
7263
|
+
return p(Wu, {});
|
|
7264
7264
|
}
|
|
7265
7265
|
}), null), k(f, p(K, {
|
|
7266
7266
|
get when() {
|
|
7267
|
-
return
|
|
7267
|
+
return u() === "yellow";
|
|
7268
7268
|
},
|
|
7269
7269
|
get children() {
|
|
7270
|
-
return p(
|
|
7270
|
+
return p(ju, {});
|
|
7271
7271
|
}
|
|
7272
7272
|
}), null), k(h, p(K, {
|
|
7273
7273
|
get when() {
|
|
@@ -7277,8 +7277,8 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7277
7277
|
return [M(() => JSON.stringify(e.mutation.options.mutationKey)), " -", " "];
|
|
7278
7278
|
}
|
|
7279
7279
|
}), null), k(h, () => new Date(e.mutation.state.submittedAt).toLocaleString(), null), N((m) => {
|
|
7280
|
-
var y = O(r().queryRow, yt() === e.mutation.mutationId && r().selectedQueryRow, "tsqd-query-row"),
|
|
7281
|
-
return y !== m.e && T(g, m.e = y),
|
|
7280
|
+
var y = O(r().queryRow, yt() === e.mutation.mutationId && r().selectedQueryRow, "tsqd-query-row"), v = `Mutation submitted at ${new Date(e.mutation.state.submittedAt).toLocaleString()}`, b = O(d(), "tsqd-query-observer-count");
|
|
7281
|
+
return y !== m.e && T(g, m.e = y), v !== m.t && A(g, "aria-label", m.t = v), b !== m.a && T(f, m.a = b), m;
|
|
7282
7282
|
}, {
|
|
7283
7283
|
e: void 0,
|
|
7284
7284
|
t: void 0,
|
|
@@ -7287,7 +7287,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7287
7287
|
}
|
|
7288
7288
|
});
|
|
7289
7289
|
}, Vd = () => {
|
|
7290
|
-
const e =
|
|
7290
|
+
const e = be((i) => i().getAll().filter((c) => Ot(c) === "stale").length), t = be((i) => i().getAll().filter((c) => Ot(c) === "fresh").length), n = be((i) => i().getAll().filter((c) => Ot(c) === "fetching").length), r = be((i) => i().getAll().filter((c) => Ot(c) === "paused").length), o = be((i) => i().getAll().filter((c) => Ot(c) === "inactive").length), s = ve(), a = z().shadowDOMTarget ? W.bind({
|
|
7291
7291
|
target: z().shadowDOMTarget
|
|
7292
7292
|
}) : W, l = M(() => s() === "dark" ? Ne(a) : Be(a));
|
|
7293
7293
|
return (() => {
|
|
@@ -7337,7 +7337,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7337
7337
|
}) === "purple").length), r = Ve((l) => l().getAll().filter((i) => Rt({
|
|
7338
7338
|
isPaused: i.state.isPaused,
|
|
7339
7339
|
status: i.state.status
|
|
7340
|
-
}) === "red").length), o =
|
|
7340
|
+
}) === "red").length), o = ve(), s = z().shadowDOMTarget ? W.bind({
|
|
7341
7341
|
target: z().shadowDOMTarget
|
|
7342
7342
|
}) : W, a = M(() => o() === "dark" ? Ne(s) : Be(s));
|
|
7343
7343
|
return (() => {
|
|
@@ -7369,19 +7369,19 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7369
7369
|
}), null), N(() => T(l, O(a().queryStatusContainer, "tsqd-query-status-container"))), l;
|
|
7370
7370
|
})();
|
|
7371
7371
|
}, lt = (e) => {
|
|
7372
|
-
const t =
|
|
7372
|
+
const t = ve(), n = z().shadowDOMTarget ? W.bind({
|
|
7373
7373
|
target: z().shadowDOMTarget
|
|
7374
7374
|
}) : W, r = M(() => t() === "dark" ? Ne(n) : Be(n)), {
|
|
7375
7375
|
colors: o,
|
|
7376
7376
|
alpha: s
|
|
7377
7377
|
} = C, a = (f, h) => t() === "dark" ? h : f;
|
|
7378
7378
|
let l;
|
|
7379
|
-
const [i,
|
|
7379
|
+
const [i, c] = R(!1), [u, d] = R(!1), g = M(() => !(Fe() && He() < Bs && He() > Et || He() < Et));
|
|
7380
7380
|
return (() => {
|
|
7381
7381
|
var f = Pd(), h = f.firstChild, m = h.nextSibling, y = l;
|
|
7382
7382
|
return typeof y == "function" ? an(y, f) : l = f, f.addEventListener("mouseleave", () => {
|
|
7383
|
-
|
|
7384
|
-
}), f.addEventListener("mouseenter", () =>
|
|
7383
|
+
c(!1), d(!1);
|
|
7384
|
+
}), f.addEventListener("mouseenter", () => c(!0)), f.addEventListener("blur", () => d(!1)), f.addEventListener("focus", () => d(!0)), Ss(f, j({
|
|
7385
7385
|
get disabled() {
|
|
7386
7386
|
return g();
|
|
7387
7387
|
},
|
|
@@ -7393,26 +7393,26 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7393
7393
|
}
|
|
7394
7394
|
`, "tsqd-query-status-tag", `tsqd-query-status-tag-${e.label.toLowerCase()}`);
|
|
7395
7395
|
}
|
|
7396
|
-
}, () => i() ||
|
|
7396
|
+
}, () => i() || u() ? {
|
|
7397
7397
|
"aria-describedby": "tsqd-status-tooltip"
|
|
7398
7398
|
} : {}), !1, !0), k(f, p(K, {
|
|
7399
7399
|
get when() {
|
|
7400
|
-
return M(() => !g())() && (i() ||
|
|
7400
|
+
return M(() => !g())() && (i() || u());
|
|
7401
7401
|
},
|
|
7402
7402
|
get children() {
|
|
7403
|
-
var
|
|
7404
|
-
return k(
|
|
7403
|
+
var v = Fd();
|
|
7404
|
+
return k(v, () => e.label), N(() => T(v, O(r().statusTooltip, "tsqd-query-status-tooltip"))), v;
|
|
7405
7405
|
}
|
|
7406
7406
|
}), h), k(f, p(K, {
|
|
7407
7407
|
get when() {
|
|
7408
7408
|
return g();
|
|
7409
7409
|
},
|
|
7410
7410
|
get children() {
|
|
7411
|
-
var
|
|
7412
|
-
return k(
|
|
7411
|
+
var v = Id();
|
|
7412
|
+
return k(v, () => e.label), N(() => T(v, O(r().queryStatusTagLabel, "tsqd-query-status-tag-label"))), v;
|
|
7413
7413
|
}
|
|
7414
|
-
}), m), k(m, () => e.count), N((
|
|
7415
|
-
var
|
|
7414
|
+
}), m), k(m, () => e.count), N((v) => {
|
|
7415
|
+
var b = O(n`
|
|
7416
7416
|
width: ${C.size[1.5]};
|
|
7417
7417
|
height: ${C.size[1.5]};
|
|
7418
7418
|
border-radius: ${C.border.radius.full};
|
|
@@ -7421,24 +7421,24 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7421
7421
|
background-color: ${a(o[e.color][100], o[e.color][900])};
|
|
7422
7422
|
color: ${a(o[e.color][700], o[e.color][300])};
|
|
7423
7423
|
`, "tsqd-query-status-tag-count");
|
|
7424
|
-
return
|
|
7424
|
+
return b !== v.e && T(h, v.e = b), x !== v.t && T(m, v.t = x), v;
|
|
7425
7425
|
}, {
|
|
7426
7426
|
e: void 0,
|
|
7427
7427
|
t: void 0
|
|
7428
7428
|
}), f;
|
|
7429
7429
|
})();
|
|
7430
7430
|
}, jd = () => {
|
|
7431
|
-
const e =
|
|
7431
|
+
const e = ve(), t = z().shadowDOMTarget ? W.bind({
|
|
7432
7432
|
target: z().shadowDOMTarget
|
|
7433
7433
|
}) : W, n = M(() => e() === "dark" ? Ne(t) : Be(t)), {
|
|
7434
7434
|
colors: r
|
|
7435
|
-
} = C, o = (S, _) => e() === "dark" ? _ : S, s = z().client, [a, l] = R(!1), [i,
|
|
7435
|
+
} = C, o = (S, _) => e() === "dark" ? _ : S, s = z().client, [a, l] = R(!1), [i, c] = R("view"), [u, d] = R(!1), g = M(() => z().errorTypes || []), f = be((S) => S().getAll().find((_) => _.queryHash === Fe()), !1), h = be((S) => S().getAll().find((_) => _.queryHash === Fe()), !1), m = be((S) => S().getAll().find((_) => _.queryHash === Fe())?.state, !1), y = be((S) => S().getAll().find((_) => _.queryHash === Fe())?.state.data, !1), v = be((S) => {
|
|
7436
7436
|
const _ = S().getAll().find((H) => H.queryHash === Fe());
|
|
7437
7437
|
return _ ? Ot(_) : "inactive";
|
|
7438
|
-
}),
|
|
7438
|
+
}), b = be((S) => {
|
|
7439
7439
|
const _ = S().getAll().find((H) => H.queryHash === Fe());
|
|
7440
7440
|
return _ ? _.state.status : "pending";
|
|
7441
|
-
}), x =
|
|
7441
|
+
}), x = be((S) => S().getAll().find((_) => _.queryHash === Fe())?.getObserversCount() ?? 0), w = M(() => ws(v())), $ = () => {
|
|
7442
7442
|
f()?.fetch()?.catch(() => {
|
|
7443
7443
|
});
|
|
7444
7444
|
}, L = (S) => {
|
|
@@ -7462,7 +7462,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7462
7462
|
}), H && S.fetch(H);
|
|
7463
7463
|
};
|
|
7464
7464
|
B(() => {
|
|
7465
|
-
|
|
7465
|
+
v() !== "fetching" && l(!1);
|
|
7466
7466
|
});
|
|
7467
7467
|
const P = () => w() === "gray" ? t`
|
|
7468
7468
|
background-color: ${o(r[w()][200], r[w()][700])};
|
|
@@ -7481,7 +7481,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7481
7481
|
var S = Rd(), _ = S.firstChild, H = _.nextSibling, G = H.firstChild, te = G.firstChild, J = te.firstChild, ae = te.nextSibling, oe = G.nextSibling, ne = oe.firstChild, ie = ne.nextSibling, le = oe.nextSibling, pe = le.firstChild, De = pe.nextSibling, ge = H.nextSibling, ke = ge.nextSibling, D = ke.firstChild, fe = D.firstChild, Y = D.nextSibling, gt = Y.firstChild, V = Y.nextSibling, Ue = V.firstChild, $e = V.nextSibling, Ft = $e.firstChild, Le = $e.nextSibling, ht = Le.firstChild, $t = ht.nextSibling, et = ke.nextSibling;
|
|
7482
7482
|
et.firstChild;
|
|
7483
7483
|
var Qe = et.nextSibling, tt = Qe.nextSibling;
|
|
7484
|
-
return k(J, () => xn(f().queryKey, !0)), k(ae,
|
|
7484
|
+
return k(J, () => xn(f().queryKey, !0)), k(ae, v), k(ie, x), k(De, () => new Date(m().dataUpdatedAt).toLocaleTimeString()), D.$$click = $, Y.$$click = () => s.invalidateQueries(f()), V.$$click = () => s.resetQueries(f()), $e.$$click = () => {
|
|
7485
7485
|
s.removeQueries(f()), _n(null);
|
|
7486
7486
|
}, Le.$$click = () => {
|
|
7487
7487
|
if (f()?.state.data === void 0)
|
|
@@ -7505,21 +7505,21 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7505
7505
|
}
|
|
7506
7506
|
});
|
|
7507
7507
|
}
|
|
7508
|
-
}, k(Le, () =>
|
|
7508
|
+
}, k(Le, () => b() === "pending" ? "Restore" : "Trigger", $t), k(ke, p(K, {
|
|
7509
7509
|
get when() {
|
|
7510
|
-
return g().length === 0 ||
|
|
7510
|
+
return g().length === 0 || b() === "error";
|
|
7511
7511
|
},
|
|
7512
7512
|
get children() {
|
|
7513
7513
|
var I = Ld(), re = I.firstChild, Ee = re.nextSibling;
|
|
7514
7514
|
return I.$$click = () => {
|
|
7515
7515
|
f().state.error ? s.resetQueries(f()) : L();
|
|
7516
|
-
}, k(I, () =>
|
|
7516
|
+
}, k(I, () => b() === "error" ? "Restore" : "Trigger", Ee), N((se) => {
|
|
7517
7517
|
var ee = O(t`
|
|
7518
7518
|
color: ${o(r.red[500], r.red[400])};
|
|
7519
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"),
|
|
7519
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), ce = b() === "pending", me = t`
|
|
7520
7520
|
background-color: ${o(r.red[500], r.red[400])};
|
|
7521
7521
|
`;
|
|
7522
|
-
return ee !== se.e && T(I, se.e = ee),
|
|
7522
|
+
return ee !== se.e && T(I, se.e = ee), ce !== se.t && (I.disabled = se.t = ce), me !== se.a && T(re, se.a = me), se;
|
|
7523
7523
|
}, {
|
|
7524
7524
|
e: void 0,
|
|
7525
7525
|
t: void 0,
|
|
@@ -7528,26 +7528,26 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7528
7528
|
}
|
|
7529
7529
|
}), null), k(ke, p(K, {
|
|
7530
7530
|
get when() {
|
|
7531
|
-
return !(g().length === 0 ||
|
|
7531
|
+
return !(g().length === 0 || b() === "error");
|
|
7532
7532
|
},
|
|
7533
7533
|
get children() {
|
|
7534
7534
|
var I = Od(), re = I.firstChild, Ee = re.nextSibling, se = Ee.nextSibling;
|
|
7535
7535
|
return se.firstChild, se.addEventListener("change", (ee) => {
|
|
7536
|
-
const
|
|
7537
|
-
L(
|
|
7536
|
+
const ce = g().find((me) => me.name === ee.currentTarget.value);
|
|
7537
|
+
L(ce);
|
|
7538
7538
|
}), k(se, p($s, {
|
|
7539
7539
|
get each() {
|
|
7540
7540
|
return g();
|
|
7541
7541
|
},
|
|
7542
7542
|
children: (ee) => (() => {
|
|
7543
|
-
var
|
|
7544
|
-
return k(
|
|
7543
|
+
var ce = zd();
|
|
7544
|
+
return k(ce, () => ee.name), N(() => ce.value = ee.name), ce;
|
|
7545
7545
|
})()
|
|
7546
7546
|
}), null), k(I, p(tn, {}), null), N((ee) => {
|
|
7547
|
-
var
|
|
7547
|
+
var ce = O(n().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), me = t`
|
|
7548
7548
|
background-color: ${C.colors.red[400]};
|
|
7549
|
-
`, X =
|
|
7550
|
-
return
|
|
7549
|
+
`, X = b() === "pending";
|
|
7550
|
+
return ce !== ee.e && T(I, ee.e = ce), me !== ee.t && T(re, ee.t = me), X !== ee.a && (se.disabled = ee.a = X), ee;
|
|
7551
7551
|
}, {
|
|
7552
7552
|
e: void 0,
|
|
7553
7553
|
t: void 0,
|
|
@@ -7567,7 +7567,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7567
7567
|
return y();
|
|
7568
7568
|
},
|
|
7569
7569
|
editable: !0,
|
|
7570
|
-
onEdit: () =>
|
|
7570
|
+
onEdit: () => c("edit"),
|
|
7571
7571
|
get activeQuery() {
|
|
7572
7572
|
return f();
|
|
7573
7573
|
}
|
|
@@ -7578,7 +7578,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7578
7578
|
return i() === "edit";
|
|
7579
7579
|
},
|
|
7580
7580
|
get children() {
|
|
7581
|
-
var I = qd(), re = I.firstChild, Ee = re.nextSibling, se = Ee.firstChild, ee = se.nextSibling,
|
|
7581
|
+
var I = qd(), re = I.firstChild, Ee = re.nextSibling, se = Ee.firstChild, ee = se.nextSibling, ce = ee.firstChild, me = ce.nextSibling;
|
|
7582
7582
|
return I.addEventListener("submit", (X) => {
|
|
7583
7583
|
X.preventDefault();
|
|
7584
7584
|
const rt = new FormData(X.currentTarget).get("data");
|
|
@@ -7587,17 +7587,17 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7587
7587
|
f().setState({
|
|
7588
7588
|
...f().state,
|
|
7589
7589
|
data: Ge
|
|
7590
|
-
}),
|
|
7590
|
+
}), c("view");
|
|
7591
7591
|
} catch {
|
|
7592
7592
|
d(!0);
|
|
7593
7593
|
}
|
|
7594
|
-
}), re.addEventListener("focus", () => d(!1)), k(se, () =>
|
|
7595
|
-
var nt = O(n().devtoolsEditForm, "tsqd-query-details-data-editor"), rt = n().devtoolsEditTextarea, Ge =
|
|
7594
|
+
}), re.addEventListener("focus", () => d(!1)), k(se, () => u() ? "Invalid Value" : ""), ce.$$click = () => c("view"), N((X) => {
|
|
7595
|
+
var nt = O(n().devtoolsEditForm, "tsqd-query-details-data-editor"), rt = n().devtoolsEditTextarea, Ge = u(), Ct = n().devtoolsEditFormActions, ot = n().devtoolsEditFormError, St = n().devtoolsEditFormActionContainer, it = O(n().devtoolsEditFormAction, t`
|
|
7596
7596
|
color: ${o(r.gray[600], r.gray[300])};
|
|
7597
7597
|
`), pt = O(n().devtoolsEditFormAction, t`
|
|
7598
7598
|
color: ${o(r.blue[600], r.blue[400])};
|
|
7599
7599
|
`);
|
|
7600
|
-
return nt !== X.e && T(I, X.e = nt), rt !== X.t && T(re, X.t = rt), Ge !== X.a && A(re, "data-error", X.a = Ge), Ct !== X.o && T(Ee, X.o = Ct), ot !== X.i && T(se, X.i = ot), St !== X.n && T(ee, X.n = St), it !== X.s && T(
|
|
7600
|
+
return nt !== X.e && T(I, X.e = nt), rt !== X.t && T(re, X.t = rt), Ge !== X.a && A(re, "data-error", X.a = Ge), Ct !== X.o && T(Ee, X.o = Ct), ot !== X.i && T(se, X.i = ot), St !== X.n && T(ee, X.n = St), it !== X.s && T(ce, X.s = it), pt !== X.h && T(me, X.h = pt), X;
|
|
7601
7601
|
}, {
|
|
7602
7602
|
e: void 0,
|
|
7603
7603
|
t: void 0,
|
|
@@ -7616,28 +7616,28 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7616
7616
|
return h();
|
|
7617
7617
|
}
|
|
7618
7618
|
})), N((I) => {
|
|
7619
|
-
var re = O(n().detailsContainer, "tsqd-query-details-container"), Ee = O(n().detailsHeader, "tsqd-query-details-header"), se = O(n().detailsBody, "tsqd-query-details-summary-container"), ee = O(n().queryDetailsStatus, P()),
|
|
7619
|
+
var re = O(n().detailsContainer, "tsqd-query-details-container"), Ee = O(n().detailsHeader, "tsqd-query-details-header"), se = O(n().detailsBody, "tsqd-query-details-summary-container"), ee = O(n().queryDetailsStatus, P()), ce = O(n().detailsHeader, "tsqd-query-details-header"), me = O(n().actionsBody, "tsqd-query-details-actions-container"), X = O(t`
|
|
7620
7620
|
color: ${o(r.blue[600], r.blue[400])};
|
|
7621
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), nt =
|
|
7621
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), nt = v() === "fetching", rt = t`
|
|
7622
7622
|
background-color: ${o(r.blue[600], r.blue[400])};
|
|
7623
7623
|
`, Ge = O(t`
|
|
7624
7624
|
color: ${o(r.yellow[600], r.yellow[400])};
|
|
7625
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), Ct =
|
|
7625
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), Ct = b() === "pending", ot = t`
|
|
7626
7626
|
background-color: ${o(r.yellow[600], r.yellow[400])};
|
|
7627
7627
|
`, St = O(t`
|
|
7628
7628
|
color: ${o(r.gray[600], r.gray[300])};
|
|
7629
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), it =
|
|
7629
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), it = b() === "pending", pt = t`
|
|
7630
7630
|
background-color: ${o(r.gray[600], r.gray[400])};
|
|
7631
7631
|
`, hn = O(t`
|
|
7632
7632
|
color: ${o(r.pink[500], r.pink[400])};
|
|
7633
|
-
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), Ht =
|
|
7633
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), Ht = v() === "fetching", pn = t`
|
|
7634
7634
|
background-color: ${o(r.pink[500], r.pink[400])};
|
|
7635
7635
|
`, It = O(t`
|
|
7636
7636
|
color: ${o(r.cyan[500], r.cyan[400])};
|
|
7637
7637
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), mn = a(), jt = t`
|
|
7638
7638
|
background-color: ${o(r.cyan[500], r.cyan[400])};
|
|
7639
7639
|
`, Wt = O(n().detailsHeader, "tsqd-query-details-header"), Qt = O(n().detailsHeader, "tsqd-query-details-header"), Pt = C.size[2];
|
|
7640
|
-
return re !== I.e && T(S, I.e = re), Ee !== I.t && T(_, I.t = Ee), se !== I.a && T(H, I.a = se), ee !== I.o && T(ae, I.o = ee),
|
|
7640
|
+
return re !== I.e && T(S, I.e = re), Ee !== I.t && T(_, I.t = Ee), se !== I.a && T(H, I.a = se), ee !== I.o && T(ae, I.o = ee), ce !== I.i && T(ge, I.i = ce), me !== I.n && T(ke, I.n = me), X !== I.s && T(D, I.s = X), nt !== I.h && (D.disabled = I.h = nt), rt !== I.r && T(fe, I.r = rt), Ge !== I.d && T(Y, I.d = Ge), Ct !== I.l && (Y.disabled = I.l = Ct), ot !== I.u && T(gt, I.u = ot), St !== I.c && T(V, I.c = St), it !== I.w && (V.disabled = I.w = it), pt !== I.m && T(Ue, I.m = pt), hn !== I.f && T($e, I.f = hn), Ht !== I.y && ($e.disabled = I.y = Ht), pn !== I.g && T(Ft, I.g = pn), It !== I.p && T(Le, I.p = It), mn !== I.b && (Le.disabled = I.b = mn), jt !== I.T && T(ht, I.T = jt), Wt !== I.A && T(et, I.A = Wt), Qt !== I.O && T(Qe, I.O = Qt), Pt !== I.I && ((I.I = Pt) != null ? tt.style.setProperty("padding", Pt) : tt.style.removeProperty("padding")), I;
|
|
7641
7641
|
}, {
|
|
7642
7642
|
e: void 0,
|
|
7643
7643
|
t: void 0,
|
|
@@ -7667,20 +7667,20 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7667
7667
|
}
|
|
7668
7668
|
});
|
|
7669
7669
|
}, Wd = () => {
|
|
7670
|
-
const e =
|
|
7670
|
+
const e = ve(), t = z().shadowDOMTarget ? W.bind({
|
|
7671
7671
|
target: z().shadowDOMTarget
|
|
7672
7672
|
}) : W, n = M(() => e() === "dark" ? Ne(t) : Be(t)), {
|
|
7673
7673
|
colors: r
|
|
7674
|
-
} = C, o = (
|
|
7675
|
-
const g =
|
|
7674
|
+
} = C, o = (u, d) => e() === "dark" ? d : u, s = Ve((u) => {
|
|
7675
|
+
const g = u().getAll().find((f) => f.mutationId === yt());
|
|
7676
7676
|
return g ? g.state.isPaused : !1;
|
|
7677
|
-
}), a = Ve((
|
|
7678
|
-
const g =
|
|
7677
|
+
}), a = Ve((u) => {
|
|
7678
|
+
const g = u().getAll().find((f) => f.mutationId === yt());
|
|
7679
7679
|
return g ? g.state.status : "idle";
|
|
7680
7680
|
}), l = M(() => Rt({
|
|
7681
7681
|
isPaused: s(),
|
|
7682
7682
|
status: a()
|
|
7683
|
-
})), i = Ve((
|
|
7683
|
+
})), i = Ve((u) => u().getAll().find((d) => d.mutationId === yt()), !1), c = () => l() === "gray" ? t`
|
|
7684
7684
|
background-color: ${o(r[l()][200], r[l()][700])};
|
|
7685
7685
|
color: ${o(r[l()][700], r[l()][300])};
|
|
7686
7686
|
border-color: ${o(r[l()][400], r[l()][600])};
|
|
@@ -7694,7 +7694,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7694
7694
|
return i();
|
|
7695
7695
|
},
|
|
7696
7696
|
get children() {
|
|
7697
|
-
var
|
|
7697
|
+
var u = Kd(), d = u.firstChild, g = d.nextSibling, f = g.firstChild, h = f.firstChild, m = h.firstChild, y = h.nextSibling, v = f.nextSibling, b = v.firstChild, x = b.nextSibling, w = g.nextSibling, $ = w.nextSibling, L = $.nextSibling, F = L.nextSibling, P = F.nextSibling, S = P.nextSibling, _ = S.nextSibling, H = _.nextSibling;
|
|
7698
7698
|
return k(m, p(K, {
|
|
7699
7699
|
get when() {
|
|
7700
7700
|
return i().options.mutationKey;
|
|
@@ -7740,8 +7740,8 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7740
7740
|
return i();
|
|
7741
7741
|
}
|
|
7742
7742
|
})), N((G) => {
|
|
7743
|
-
var te = O(n().detailsContainer, "tsqd-query-details-container"), J = O(n().detailsHeader, "tsqd-query-details-header"), ae = O(n().detailsBody, "tsqd-query-details-summary-container"), oe = O(n().queryDetailsStatus,
|
|
7744
|
-
return te !== G.e && T(
|
|
7743
|
+
var te = O(n().detailsContainer, "tsqd-query-details-container"), J = O(n().detailsHeader, "tsqd-query-details-header"), ae = O(n().detailsBody, "tsqd-query-details-summary-container"), oe = O(n().queryDetailsStatus, c()), ne = O(n().detailsHeader, "tsqd-query-details-header"), ie = C.size[2], le = O(n().detailsHeader, "tsqd-query-details-header"), pe = C.size[2], De = O(n().detailsHeader, "tsqd-query-details-header"), ge = C.size[2], ke = O(n().detailsHeader, "tsqd-query-details-header"), D = C.size[2];
|
|
7744
|
+
return te !== G.e && T(u, G.e = te), J !== G.t && T(d, G.t = J), ae !== G.a && T(g, G.a = ae), oe !== G.o && T(y, G.o = oe), ne !== G.i && T(w, G.i = ne), ie !== G.n && ((G.n = ie) != null ? $.style.setProperty("padding", ie) : $.style.removeProperty("padding")), le !== G.s && T(L, G.s = le), pe !== G.h && ((G.h = pe) != null ? F.style.setProperty("padding", pe) : F.style.removeProperty("padding")), De !== G.r && T(P, G.r = De), ge !== G.d && ((G.d = ge) != null ? S.style.setProperty("padding", ge) : S.style.removeProperty("padding")), ke !== G.l && T(_, G.l = ke), D !== G.u && ((G.u = D) != null ? H.style.setProperty("padding", D) : H.style.removeProperty("padding")), G;
|
|
7745
7745
|
}, {
|
|
7746
7746
|
e: void 0,
|
|
7747
7747
|
t: void 0,
|
|
@@ -7755,12 +7755,12 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7755
7755
|
d: void 0,
|
|
7756
7756
|
l: void 0,
|
|
7757
7757
|
u: void 0
|
|
7758
|
-
}),
|
|
7758
|
+
}), u;
|
|
7759
7759
|
}
|
|
7760
7760
|
});
|
|
7761
7761
|
}, En = /* @__PURE__ */ new Map(), Qd = () => {
|
|
7762
7762
|
const e = M(() => z().client.getQueryCache()), t = e().subscribe((n) => {
|
|
7763
|
-
|
|
7763
|
+
bs(() => {
|
|
7764
7764
|
for (const [r, o] of En.entries())
|
|
7765
7765
|
o.shouldUpdate(n) && o.setter(r(e));
|
|
7766
7766
|
});
|
|
@@ -7768,7 +7768,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7768
7768
|
return U(() => {
|
|
7769
7769
|
En.clear(), t();
|
|
7770
7770
|
}), t;
|
|
7771
|
-
},
|
|
7771
|
+
}, be = (e, t = !0, n = () => !0) => {
|
|
7772
7772
|
const r = M(() => z().client.getQueryCache()), [o, s] = R(e(r), t ? void 0 : {
|
|
7773
7773
|
equals: !1
|
|
7774
7774
|
});
|
|
@@ -7807,7 +7807,7 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
7807
7807
|
alpha: s,
|
|
7808
7808
|
shadow: a,
|
|
7809
7809
|
border: l
|
|
7810
|
-
} = C, i = (
|
|
7810
|
+
} = C, i = (c, u) => e === "light" ? c : u;
|
|
7811
7811
|
return {
|
|
7812
7812
|
devtoolsBtn: t`
|
|
7813
7813
|
z-index: 100000;
|
|
@@ -8826,12 +8826,12 @@ var cd = /* @__PURE__ */ q('<div><div aria-hidden=true></div><button type=button
|
|
|
8826
8826
|
nr(["click", "mousedown", "input"]);
|
|
8827
8827
|
export {
|
|
8828
8828
|
hs as C,
|
|
8829
|
-
|
|
8830
|
-
|
|
8829
|
+
t0 as D,
|
|
8830
|
+
e0 as P,
|
|
8831
8831
|
js as Q,
|
|
8832
8832
|
Jd as T,
|
|
8833
8833
|
Ws as a,
|
|
8834
|
-
|
|
8834
|
+
n0 as b,
|
|
8835
8835
|
Zd as c
|
|
8836
8836
|
};
|
|
8837
|
-
//# sourceMappingURL=
|
|
8837
|
+
//# sourceMappingURL=67EVQ76A-CpAwQIaO.js.map
|