@quoreadmin/ui 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index142.js +1 -1
- package/dist/index189.js +4 -4
- package/dist/index196.js +8 -8
- package/dist/index198.js +8 -8
- package/dist/index201.js +17 -17
- package/dist/index204.js +26 -26
- package/dist/index205.js +1 -1
- package/dist/index206.js +1 -1
- package/dist/index209.js +2 -2
- package/dist/index211.js +14 -14
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +3 -3
- package/dist/index215.js +6 -6
- package/dist/index219.js +2 -2
- package/dist/index220.js +1 -1
- package/dist/index222.js +4 -4
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +4 -4
- package/dist/index229.js +1 -1
- package/dist/index230.js +2 -2
- package/dist/index231.js +2 -2
- package/dist/index232.js +1 -1
- package/dist/index233.js +156 -122
- package/dist/index234.js +225 -35
- package/dist/index235.js +37 -80
- package/dist/index236.js +10 -20
- package/dist/index237.js +126 -19
- package/dist/index238.js +34 -16
- package/dist/index239.js +80 -20
- package/dist/index240.js +9 -9
- package/dist/index241.js +19 -160
- package/dist/index242.js +11 -11
- package/dist/index243.js +13 -15
- package/dist/index244.js +19 -198
- package/dist/index245.js +140 -49
- package/dist/index246.js +20 -34
- package/dist/index247.js +21 -39
- package/dist/index248.js +184 -238
- package/dist/index249.js +70 -8
- package/dist/index250.js +32 -136
- package/dist/index251.js +39 -82
- package/dist/index252.js +247 -155
- package/dist/index253.js +7 -227
- package/dist/index254.js +137 -36
- package/dist/index255.js +83 -10
- package/dist/index256.js +2 -22
- package/dist/index257.js +78 -21
- package/dist/index258.js +15 -13
- package/dist/index259.js +22 -836
- package/dist/index260.js +19 -701
- package/dist/index261.js +835 -175
- package/dist/index262.js +701 -21
- package/dist/index263.js +176 -20
- package/dist/index264.js +13 -11
- package/dist/index265.js +20 -3
- package/dist/index266.js +19 -186
- package/dist/index267.js +3 -133
- package/dist/index268.js +107 -1143
- package/dist/index269.js +132 -19
- package/dist/index270.js +1223 -22
- package/dist/index271.js +13 -15
- package/dist/index272.js +13 -20
- package/dist/index273.js +15 -13
- package/dist/index274.js +21 -12
- package/dist/index275.js +20 -2
- package/dist/index276.js +20 -2
- package/dist/index277.js +2 -3709
- package/dist/index278.js +2 -60
- package/dist/index279.js +3686 -60
- package/dist/index280.js +37 -29
- package/dist/index281.js +51 -183
- package/dist/index282.js +51 -9
- package/dist/index283.js +197 -39
- package/dist/index284.js +9 -60
- package/dist/index285.js +43 -40
- package/dist/index286.js +44 -64
- package/dist/index287.js +33 -707
- package/dist/index288.js +63 -29
- package/dist/index289.js +696 -32
- package/dist/index290.js +46 -10
- package/dist/index291.js +55 -696
- package/dist/index292.js +10 -819
- package/dist/index293.js +705 -2
- package/dist/index294.js +814 -73
- package/dist/index295.js +1 -1
- package/dist/index296.js +1 -1
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +1 -1
- package/dist/index302.js +3 -79
- package/dist/index303.js +26 -21
- package/dist/index304.js +52 -929
- package/dist/index305.js +36 -21
- package/dist/index306.js +234 -19
- package/dist/index307.js +5 -19
- package/dist/index308.js +128 -63
- package/dist/index309.js +68 -19
- package/dist/index310.js +85 -17
- package/dist/index311.js +28 -21
- package/dist/index312.js +7 -20
- package/dist/index313.js +75 -63
- package/dist/index314.js +3 -83
- package/dist/index315.js +2 -3
- package/dist/index316.js +81 -25
- package/dist/index317.js +49 -1529
- package/dist/index318.js +4 -384
- package/dist/index319.js +4 -2730
- package/dist/index320.js +170 -77
- package/dist/index321.js +55 -3790
- package/dist/index322.js +75 -60
- package/dist/index323.js +1533 -14
- package/dist/index324.js +371 -69
- package/dist/index325.js +2687 -158
- package/dist/index326.js +73 -233
- package/dist/index327.js +3789 -28
- package/dist/index328.js +51 -121
- package/dist/index329.js +14 -399
- package/dist/index330.js +75 -226
- package/dist/index331.js +200 -4
- package/dist/index332.js +236 -124
- package/dist/index333.js +77 -66
- package/dist/index334.js +21 -86
- package/dist/index335.js +932 -26
- package/dist/index336.js +21 -8
- package/dist/index337.js +19 -74
- package/dist/index338.js +19 -3
- package/dist/index339.js +69 -2
- package/dist/index340.js +18 -82
- package/dist/index341.js +17 -52
- package/dist/index342.js +21 -5
- package/dist/index343.js +21 -4
- package/dist/index344.js +62 -178
- package/dist/index345.js +123 -57
- package/dist/index346.js +398 -74
- package/dist/index347.js +8 -19
- package/dist/index348.js +12 -19
- package/dist/index349.js +51 -60
- package/dist/index350.js +12 -37
- package/dist/index351.js +13 -8
- package/dist/index352.js +57 -12
- package/dist/index353.js +48 -51
- package/dist/index354.js +28 -9
- package/dist/index355.js +2 -14
- package/dist/index356.js +5 -58
- package/dist/index357.js +2 -52
- package/dist/index358.js +22 -30
- package/dist/index359.js +41 -2
- package/dist/index360.js +2 -5
- package/dist/index361.js +11 -2
- package/dist/index362.js +19 -22
- package/dist/index363.js +9 -40
- package/dist/index364.js +10 -2
- package/dist/index365.js +16 -10
- package/dist/index366.js +2 -20
- package/dist/index367.js +8 -9
- package/dist/index368.js +10 -10
- package/dist/index369.js +12 -15
- package/dist/index370.js +21 -2
- package/dist/index371.js +56 -9
- package/dist/index372.js +28 -9
- package/dist/index373.js +7 -14
- package/dist/index374.js +49 -18
- package/dist/index375.js +6 -56
- package/dist/index376.js +10 -27
- package/dist/index377.js +7 -7
- package/dist/index378.js +27 -51
- package/dist/index379.js +2 -6
- package/dist/index380.js +69 -11
- package/dist/index381.js +166 -6
- package/dist/index382.js +20 -28
- package/dist/index383.js +20 -2
- package/dist/index384.js +61 -67
- package/dist/index385.js +36 -166
- package/dist/index387.js +31 -17
- package/dist/index388.js +10 -100
- package/dist/index389.js +3 -90
- package/dist/index390.js +4 -98
- package/dist/index391.js +12 -30
- package/dist/index392.js +7 -11
- package/dist/index393.js +11 -3
- package/dist/index394.js +4 -3
- package/dist/index395.js +33 -13
- package/dist/index396.js +31 -7
- package/dist/index397.js +28 -12
- package/dist/index398.js +61 -5
- package/dist/index399.js +101 -33
- package/dist/index400.js +91 -31
- package/dist/index401.js +97 -27
- package/dist/index402.js +16 -60
- package/dist/index403.js +240 -281
- package/dist/index405.js +1 -1
- package/dist/index410.js +1 -1
- package/dist/index411.js +2 -2
- package/dist/index42.js +2 -2
- package/package.json +1 -1
package/dist/index328.js
CHANGED
|
@@ -1,132 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { keyName as u, base as c } from "./index400.js";
|
|
2
|
+
import { Plugin as d } from "./index294.js";
|
|
3
|
+
const p = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), y = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
4
|
+
function m(e) {
|
|
5
|
+
let r = e.split(/-(?!$)/), t = r[r.length - 1];
|
|
6
|
+
t == "Space" && (t = " ");
|
|
7
|
+
let i, f, o, a;
|
|
8
|
+
for (let l = 0; l < r.length - 1; l++) {
|
|
9
|
+
let s = r[l];
|
|
10
|
+
if (/^(cmd|meta|m)$/i.test(s))
|
|
11
|
+
a = !0;
|
|
12
|
+
else if (/^a(lt)?$/i.test(s))
|
|
13
|
+
i = !0;
|
|
14
|
+
else if (/^(c|ctrl|control)$/i.test(s))
|
|
15
|
+
f = !0;
|
|
16
|
+
else if (/^s(hift)?$/i.test(s))
|
|
17
|
+
o = !0;
|
|
18
|
+
else if (/^mod$/i.test(s))
|
|
19
|
+
p ? a = !0 : f = !0;
|
|
20
|
+
else
|
|
21
|
+
throw new Error("Unrecognized modifier name: " + s);
|
|
13
22
|
}
|
|
14
|
-
return
|
|
15
|
-
}
|
|
16
|
-
function i(e) {
|
|
17
|
-
return typeof e == "function" ? e() : k(e);
|
|
23
|
+
return i && (t = "Alt-" + t), f && (t = "Ctrl-" + t), a && (t = "Meta-" + t), o && (t = "Shift-" + t), t;
|
|
18
24
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const t = V(i(e.element));
|
|
25
|
-
return t == null ? {} : j({
|
|
26
|
-
element: t,
|
|
27
|
-
padding: e.padding
|
|
28
|
-
}).fn(l);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
25
|
+
function h(e) {
|
|
26
|
+
let r = /* @__PURE__ */ Object.create(null);
|
|
27
|
+
for (let t in e)
|
|
28
|
+
r[m(t)] = e[t];
|
|
29
|
+
return r;
|
|
31
30
|
}
|
|
32
|
-
function
|
|
33
|
-
return
|
|
31
|
+
function n(e, r, t = !0) {
|
|
32
|
+
return r.altKey && (e = "Alt-" + e), r.ctrlKey && (e = "Ctrl-" + e), r.metaKey && (e = "Meta-" + e), t && r.shiftKey && (e = "Shift-" + e), e;
|
|
34
33
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
return Math.round(l * t) / t;
|
|
34
|
+
function k(e) {
|
|
35
|
+
return new d({ props: { handleKeyDown: K(e) } });
|
|
38
36
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
left: "0",
|
|
57
|
-
top: "0"
|
|
58
|
-
};
|
|
59
|
-
if (!u.value)
|
|
60
|
-
return n;
|
|
61
|
-
const a = C(u.value, y.value), b = C(u.value, h.value);
|
|
62
|
-
return S.value ? {
|
|
63
|
-
...n,
|
|
64
|
-
transform: "translate(" + a + "px, " + b + "px)",
|
|
65
|
-
...M(u.value) >= 1.5 && {
|
|
66
|
-
willChange: "transform"
|
|
37
|
+
function K(e) {
|
|
38
|
+
let r = h(e);
|
|
39
|
+
return function(t, i) {
|
|
40
|
+
let f = u(i), o, a = r[n(f, i)];
|
|
41
|
+
if (a && a(t.state, t.dispatch, t))
|
|
42
|
+
return !0;
|
|
43
|
+
if (f.length == 1 && f != " ") {
|
|
44
|
+
if (i.shiftKey) {
|
|
45
|
+
let l = r[n(f, i, !1)];
|
|
46
|
+
if (l && l(t.state, t.dispatch, t))
|
|
47
|
+
return !0;
|
|
48
|
+
}
|
|
49
|
+
if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
50
|
+
!(y && i.ctrlKey && i.altKey) && (o = c[i.keyCode]) && o != f) {
|
|
51
|
+
let l = r[n(o, i)];
|
|
52
|
+
if (l && l(t.state, t.dispatch, t))
|
|
53
|
+
return !0;
|
|
67
54
|
}
|
|
68
|
-
} : {
|
|
69
|
-
position: m.value,
|
|
70
|
-
left: a + "px",
|
|
71
|
-
top: b + "px"
|
|
72
|
-
};
|
|
73
|
-
});
|
|
74
|
-
let d;
|
|
75
|
-
function v() {
|
|
76
|
-
if (f.value == null || u.value == null)
|
|
77
|
-
return;
|
|
78
|
-
const n = s.value;
|
|
79
|
-
z(f.value, u.value, {
|
|
80
|
-
middleware: O.value,
|
|
81
|
-
placement: p.value,
|
|
82
|
-
strategy: w.value
|
|
83
|
-
}).then((a) => {
|
|
84
|
-
y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
function R() {
|
|
88
|
-
typeof d == "function" && (d(), d = void 0);
|
|
89
|
-
}
|
|
90
|
-
function N() {
|
|
91
|
-
if (R(), D === void 0) {
|
|
92
|
-
v();
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
if (f.value != null && u.value != null) {
|
|
96
|
-
d = D(f.value, u.value, v);
|
|
97
|
-
return;
|
|
98
55
|
}
|
|
99
|
-
|
|
100
|
-
function $() {
|
|
101
|
-
s.value || (g.value = !1);
|
|
102
|
-
}
|
|
103
|
-
return x([O, p, w, s], v, {
|
|
104
|
-
flush: "sync"
|
|
105
|
-
}), x([f, u], N, {
|
|
106
|
-
flush: "sync"
|
|
107
|
-
}), x(s, $, {
|
|
108
|
-
flush: "sync"
|
|
109
|
-
}), I() && U(R), {
|
|
110
|
-
x: o(y),
|
|
111
|
-
y: o(h),
|
|
112
|
-
strategy: o(m),
|
|
113
|
-
placement: o(P),
|
|
114
|
-
middlewareData: o(E),
|
|
115
|
-
isPositioned: o(g),
|
|
116
|
-
floatingStyles: _,
|
|
117
|
-
update: v
|
|
56
|
+
return !1;
|
|
118
57
|
};
|
|
119
58
|
}
|
|
120
59
|
export {
|
|
121
|
-
K as
|
|
122
|
-
|
|
123
|
-
z as computePosition,
|
|
124
|
-
X as flip,
|
|
125
|
-
ue as getOverflowAncestors,
|
|
126
|
-
Y as hide,
|
|
127
|
-
Z as offset,
|
|
128
|
-
ee as platform,
|
|
129
|
-
ne as shift,
|
|
130
|
-
te as size,
|
|
131
|
-
L as useFloating
|
|
60
|
+
K as keydownHandler,
|
|
61
|
+
k as keymap
|
|
132
62
|
};
|
package/dist/index329.js
CHANGED
|
@@ -1,402 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
height: i,
|
|
11
|
-
$: c
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
function X(t) {
|
|
15
|
-
return v(t) ? t : t.contextElement;
|
|
16
|
-
}
|
|
17
|
-
function F(t) {
|
|
18
|
-
const e = X(t);
|
|
19
|
-
if (!T(e))
|
|
20
|
-
return m(1);
|
|
21
|
-
const o = e.getBoundingClientRect(), {
|
|
22
|
-
width: i,
|
|
23
|
-
height: n,
|
|
24
|
-
$: r
|
|
25
|
-
} = Z(e);
|
|
26
|
-
let s = (r ? z(o.width) : o.width) / i, c = (r ? z(o.height) : o.height) / n;
|
|
27
|
-
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
|
-
x: s,
|
|
29
|
-
y: c
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
const gt = /* @__PURE__ */ m(0);
|
|
33
|
-
function tt(t) {
|
|
34
|
-
const e = O(t);
|
|
35
|
-
return !Y() || !e.visualViewport ? gt : {
|
|
36
|
-
x: e.visualViewport.offsetLeft,
|
|
37
|
-
y: e.visualViewport.offsetTop
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function pt(t, e, o) {
|
|
41
|
-
return e === void 0 && (e = !1), !o || e && o !== O(t) ? !1 : e;
|
|
42
|
-
}
|
|
43
|
-
function L(t, e, o, i) {
|
|
44
|
-
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
45
|
-
const n = t.getBoundingClientRect(), r = X(t);
|
|
46
|
-
let s = m(1);
|
|
47
|
-
e && (i ? v(i) && (s = F(i)) : s = F(t));
|
|
48
|
-
const c = pt(r, o, i) ? tt(r) : m(0);
|
|
49
|
-
let l = (n.left + c.x) / s.x, f = (n.top + c.y) / s.y, u = n.width / s.x, a = n.height / s.y;
|
|
50
|
-
if (r) {
|
|
51
|
-
const d = O(r), h = i && v(i) ? O(i) : i;
|
|
52
|
-
let w = d, p = U(w);
|
|
53
|
-
for (; p && i && h !== w; ) {
|
|
54
|
-
const y = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, S = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
|
|
55
|
-
l *= y.x, f *= y.y, u *= y.x, a *= y.y, l += C, f += S, w = O(p), p = U(w);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return J({
|
|
59
|
-
width: u,
|
|
60
|
-
height: a,
|
|
61
|
-
x: l,
|
|
62
|
-
y: f
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function I(t, e) {
|
|
66
|
-
const o = H(t).scrollLeft;
|
|
67
|
-
return e ? e.left + o : L(b(t)).left + o;
|
|
68
|
-
}
|
|
69
|
-
function et(t, e) {
|
|
70
|
-
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - I(t, o), n = o.top + e.scrollTop;
|
|
71
|
-
return {
|
|
72
|
-
x: i,
|
|
73
|
-
y: n
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
function wt(t) {
|
|
77
|
-
let {
|
|
78
|
-
elements: e,
|
|
79
|
-
rect: o,
|
|
80
|
-
offsetParent: i,
|
|
81
|
-
strategy: n
|
|
82
|
-
} = t;
|
|
83
|
-
const r = n === "fixed", s = b(i), c = e ? $(e.floating) : !1;
|
|
84
|
-
if (i === s || c && r)
|
|
85
|
-
return o;
|
|
86
|
-
let l = {
|
|
87
|
-
scrollLeft: 0,
|
|
88
|
-
scrollTop: 0
|
|
89
|
-
}, f = m(1);
|
|
90
|
-
const u = m(0), a = T(i);
|
|
91
|
-
if ((a || !a && !r) && ((_(i) !== "body" || q(s)) && (l = H(i)), a)) {
|
|
92
|
-
const h = L(i);
|
|
93
|
-
f = F(i), u.x = h.x + i.clientLeft, u.y = h.y + i.clientTop;
|
|
94
|
-
}
|
|
95
|
-
const d = s && !a && !r ? et(s, l) : m(0);
|
|
96
|
-
return {
|
|
97
|
-
width: o.width * f.x,
|
|
98
|
-
height: o.height * f.y,
|
|
99
|
-
x: o.x * f.x - l.scrollLeft * f.x + u.x + d.x,
|
|
100
|
-
y: o.y * f.y - l.scrollTop * f.y + u.y + d.y
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function yt(t) {
|
|
104
|
-
return Array.from(t.getClientRects());
|
|
105
|
-
}
|
|
106
|
-
function mt(t) {
|
|
107
|
-
const e = b(t), o = H(t), i = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
108
|
-
let s = -o.scrollLeft + I(t);
|
|
109
|
-
const c = -o.scrollTop;
|
|
110
|
-
return R(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - n), {
|
|
111
|
-
width: n,
|
|
112
|
-
height: r,
|
|
113
|
-
x: s,
|
|
114
|
-
y: c
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
const K = 25;
|
|
118
|
-
function xt(t, e) {
|
|
119
|
-
const o = O(t), i = b(t), n = o.visualViewport;
|
|
120
|
-
let r = i.clientWidth, s = i.clientHeight, c = 0, l = 0;
|
|
121
|
-
if (n) {
|
|
122
|
-
r = n.width, s = n.height;
|
|
123
|
-
const u = Y();
|
|
124
|
-
(!u || u && e === "fixed") && (c = n.offsetLeft, l = n.offsetTop);
|
|
125
|
-
}
|
|
126
|
-
const f = I(i);
|
|
127
|
-
if (f <= 0) {
|
|
128
|
-
const u = i.ownerDocument, a = u.body, d = getComputedStyle(a), h = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, w = Math.abs(i.clientWidth - a.clientWidth - h);
|
|
129
|
-
w <= K && (r -= w);
|
|
130
|
-
} else f <= K && (r += f);
|
|
131
|
-
return {
|
|
132
|
-
width: r,
|
|
133
|
-
height: s,
|
|
134
|
-
x: c,
|
|
135
|
-
y: l
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
function vt(t, e) {
|
|
139
|
-
const o = L(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = T(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = n * r.x, f = i * r.y;
|
|
140
|
-
return {
|
|
141
|
-
width: s,
|
|
142
|
-
height: c,
|
|
143
|
-
x: l,
|
|
144
|
-
y: f
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
function j(t, e, o) {
|
|
148
|
-
let i;
|
|
149
|
-
if (e === "viewport")
|
|
150
|
-
i = xt(t, o);
|
|
151
|
-
else if (e === "document")
|
|
152
|
-
i = mt(b(t));
|
|
153
|
-
else if (v(e))
|
|
154
|
-
i = vt(e, o);
|
|
155
|
-
else {
|
|
156
|
-
const n = tt(t);
|
|
157
|
-
i = {
|
|
158
|
-
x: e.x - n.x,
|
|
159
|
-
y: e.y - n.y,
|
|
160
|
-
width: e.width,
|
|
161
|
-
height: e.height
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
return J(i);
|
|
165
|
-
}
|
|
166
|
-
function ot(t, e) {
|
|
167
|
-
const o = W(t);
|
|
168
|
-
return o === e || !v(o) || A(o) ? !1 : R(o).position === "fixed" || ot(o, e);
|
|
169
|
-
}
|
|
170
|
-
function Rt(t, e) {
|
|
171
|
-
const o = e.get(t);
|
|
172
|
-
if (o)
|
|
173
|
-
return o;
|
|
174
|
-
let i = V(t, [], !1).filter((c) => v(c) && _(c) !== "body"), n = null;
|
|
175
|
-
const r = R(t).position === "fixed";
|
|
176
|
-
let s = r ? W(t) : t;
|
|
177
|
-
for (; v(s) && !A(s); ) {
|
|
178
|
-
const c = R(s), l = Q(s);
|
|
179
|
-
!l && c.position === "fixed" && (n = null), (r ? !l && !n : !l && c.position === "static" && !!n && (n.position === "absolute" || n.position === "fixed") || q(s) && !l && ot(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = W(s);
|
|
180
|
-
}
|
|
181
|
-
return e.set(t, i), i;
|
|
182
|
-
}
|
|
183
|
-
function bt(t) {
|
|
184
|
-
let {
|
|
185
|
-
element: e,
|
|
186
|
-
boundary: o,
|
|
187
|
-
rootBoundary: i,
|
|
188
|
-
strategy: n
|
|
189
|
-
} = t;
|
|
190
|
-
const s = [...o === "clippingAncestors" ? $(e) ? [] : Rt(e, this._c) : [].concat(o), i], c = j(e, s[0], n);
|
|
191
|
-
let l = c.top, f = c.right, u = c.bottom, a = c.left;
|
|
192
|
-
for (let d = 1; d < s.length; d++) {
|
|
193
|
-
const h = j(e, s[d], n);
|
|
194
|
-
l = E(h.top, l), f = N(h.right, f), u = N(h.bottom, u), a = E(h.left, a);
|
|
195
|
-
}
|
|
196
|
-
return {
|
|
197
|
-
width: f - a,
|
|
198
|
-
height: u - l,
|
|
199
|
-
x: a,
|
|
200
|
-
y: l
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
function Ct(t) {
|
|
204
|
-
const {
|
|
205
|
-
width: e,
|
|
206
|
-
height: o
|
|
207
|
-
} = Z(t);
|
|
208
|
-
return {
|
|
209
|
-
width: e,
|
|
210
|
-
height: o
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
function Ot(t, e, o) {
|
|
214
|
-
const i = T(e), n = b(e), r = o === "fixed", s = L(t, !0, r, e);
|
|
215
|
-
let c = {
|
|
216
|
-
scrollLeft: 0,
|
|
217
|
-
scrollTop: 0
|
|
218
|
-
};
|
|
219
|
-
const l = m(0);
|
|
220
|
-
function f() {
|
|
221
|
-
l.x = I(n);
|
|
222
|
-
}
|
|
223
|
-
if (i || !i && !r)
|
|
224
|
-
if ((_(e) !== "body" || q(n)) && (c = H(e)), i) {
|
|
225
|
-
const h = L(e, !0, r, e);
|
|
226
|
-
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
227
|
-
} else n && f();
|
|
228
|
-
r && !i && n && f();
|
|
229
|
-
const u = n && !i && !r ? et(n, c) : m(0), a = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
|
|
230
|
-
return {
|
|
231
|
-
x: a,
|
|
232
|
-
y: d,
|
|
233
|
-
width: s.width,
|
|
234
|
-
height: s.height
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
function M(t) {
|
|
238
|
-
return R(t).position === "static";
|
|
239
|
-
}
|
|
240
|
-
function G(t, e) {
|
|
241
|
-
if (!T(t) || R(t).position === "fixed")
|
|
242
|
-
return null;
|
|
243
|
-
if (e)
|
|
244
|
-
return e(t);
|
|
245
|
-
let o = t.offsetParent;
|
|
246
|
-
return b(t) === o && (o = o.ownerDocument.body), o;
|
|
247
|
-
}
|
|
248
|
-
function it(t, e) {
|
|
249
|
-
const o = O(t);
|
|
250
|
-
if ($(t))
|
|
251
|
-
return o;
|
|
252
|
-
if (!T(t)) {
|
|
253
|
-
let n = W(t);
|
|
254
|
-
for (; n && !A(n); ) {
|
|
255
|
-
if (v(n) && !M(n))
|
|
256
|
-
return n;
|
|
257
|
-
n = W(n);
|
|
258
|
-
}
|
|
259
|
-
return o;
|
|
260
|
-
}
|
|
261
|
-
let i = G(t, e);
|
|
262
|
-
for (; i && at(i) && M(i); )
|
|
263
|
-
i = G(i, e);
|
|
264
|
-
return i && A(i) && M(i) && !Q(i) ? o : i || dt(t) || o;
|
|
265
|
-
}
|
|
266
|
-
const Lt = async function(t) {
|
|
267
|
-
const e = this.getOffsetParent || it, o = this.getDimensions, i = await o(t.floating);
|
|
268
|
-
return {
|
|
269
|
-
reference: Ot(t.reference, await e(t.floating), t.strategy),
|
|
270
|
-
floating: {
|
|
271
|
-
x: 0,
|
|
272
|
-
y: 0,
|
|
273
|
-
width: i.width,
|
|
274
|
-
height: i.height
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
function Tt(t) {
|
|
279
|
-
return R(t).direction === "rtl";
|
|
280
|
-
}
|
|
281
|
-
const Et = {
|
|
282
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: wt,
|
|
283
|
-
getDocumentElement: b,
|
|
284
|
-
getClippingRect: bt,
|
|
285
|
-
getOffsetParent: it,
|
|
286
|
-
getElementRects: Lt,
|
|
287
|
-
getClientRects: yt,
|
|
288
|
-
getDimensions: Ct,
|
|
289
|
-
getScale: F,
|
|
290
|
-
isElement: v,
|
|
291
|
-
isRTL: Tt
|
|
292
|
-
};
|
|
293
|
-
function nt(t, e) {
|
|
294
|
-
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
295
|
-
}
|
|
296
|
-
function Ft(t, e) {
|
|
297
|
-
let o = null, i;
|
|
298
|
-
const n = b(t);
|
|
299
|
-
function r() {
|
|
300
|
-
var c;
|
|
301
|
-
clearTimeout(i), (c = o) == null || c.disconnect(), o = null;
|
|
302
|
-
}
|
|
303
|
-
function s(c, l) {
|
|
304
|
-
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
305
|
-
const f = t.getBoundingClientRect(), {
|
|
306
|
-
left: u,
|
|
307
|
-
top: a,
|
|
308
|
-
width: d,
|
|
309
|
-
height: h
|
|
310
|
-
} = f;
|
|
311
|
-
if (c || e(), !d || !h)
|
|
312
|
-
return;
|
|
313
|
-
const w = D(a), p = D(n.clientWidth - (u + d)), y = D(n.clientHeight - (a + h)), g = D(u), C = {
|
|
314
|
-
rootMargin: -w + "px " + -p + "px " + -y + "px " + -g + "px",
|
|
315
|
-
threshold: E(0, N(1, l)) || 1
|
|
316
|
-
};
|
|
317
|
-
let S = !0;
|
|
318
|
-
function k(P) {
|
|
319
|
-
const B = P[0].intersectionRatio;
|
|
320
|
-
if (B !== l) {
|
|
321
|
-
if (!S)
|
|
322
|
-
return s();
|
|
323
|
-
B ? s(!1, B) : i = setTimeout(() => {
|
|
324
|
-
s(!1, 1e-7);
|
|
325
|
-
}, 1e3);
|
|
326
|
-
}
|
|
327
|
-
B === 1 && !nt(f, t.getBoundingClientRect()) && s(), S = !1;
|
|
328
|
-
}
|
|
329
|
-
try {
|
|
330
|
-
o = new IntersectionObserver(k, {
|
|
331
|
-
...C,
|
|
332
|
-
// Handle <iframe>s
|
|
333
|
-
root: n.ownerDocument
|
|
334
|
-
});
|
|
335
|
-
} catch {
|
|
336
|
-
o = new IntersectionObserver(k, C);
|
|
337
|
-
}
|
|
338
|
-
o.observe(t);
|
|
339
|
-
}
|
|
340
|
-
return s(!0), r;
|
|
341
|
-
}
|
|
342
|
-
function Dt(t, e, o, i) {
|
|
343
|
-
i === void 0 && (i = {});
|
|
344
|
-
const {
|
|
345
|
-
ancestorScroll: n = !0,
|
|
346
|
-
ancestorResize: r = !0,
|
|
347
|
-
elementResize: s = typeof ResizeObserver == "function",
|
|
348
|
-
layoutShift: c = typeof IntersectionObserver == "function",
|
|
349
|
-
animationFrame: l = !1
|
|
350
|
-
} = i, f = X(t), u = n || r ? [...f ? V(f) : [], ...e ? V(e) : []] : [];
|
|
351
|
-
u.forEach((g) => {
|
|
352
|
-
n && g.addEventListener("scroll", o, {
|
|
353
|
-
passive: !0
|
|
354
|
-
}), r && g.addEventListener("resize", o);
|
|
355
|
-
});
|
|
356
|
-
const a = f && c ? Ft(f, o) : null;
|
|
357
|
-
let d = -1, h = null;
|
|
358
|
-
s && (h = new ResizeObserver((g) => {
|
|
359
|
-
let [x] = g;
|
|
360
|
-
x && x.target === f && h && e && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
361
|
-
var C;
|
|
362
|
-
(C = h) == null || C.observe(e);
|
|
363
|
-
})), o();
|
|
364
|
-
}), f && !l && h.observe(f), e && h.observe(e));
|
|
365
|
-
let w, p = l ? L(t) : null;
|
|
366
|
-
l && y();
|
|
367
|
-
function y() {
|
|
368
|
-
const g = L(t);
|
|
369
|
-
p && !nt(p, g) && o(), p = g, w = requestAnimationFrame(y);
|
|
370
|
-
}
|
|
371
|
-
return o(), () => {
|
|
372
|
-
var g;
|
|
373
|
-
u.forEach((x) => {
|
|
374
|
-
n && x.removeEventListener("scroll", o), r && x.removeEventListener("resize", o);
|
|
375
|
-
}), a?.(), (g = h) == null || g.disconnect(), h = null, l && cancelAnimationFrame(w);
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
const zt = st, At = ct, Ht = rt, It = ft, Mt = lt, Nt = ut, Vt = (t, e, o) => {
|
|
379
|
-
const i = /* @__PURE__ */ new Map(), n = {
|
|
380
|
-
platform: Et,
|
|
381
|
-
...o
|
|
382
|
-
}, r = {
|
|
383
|
-
...n.platform,
|
|
384
|
-
_c: i
|
|
385
|
-
};
|
|
386
|
-
return ht(t, e, {
|
|
387
|
-
...n,
|
|
388
|
-
platform: r
|
|
389
|
-
});
|
|
1
|
+
var t = (e, n) => {
|
|
2
|
+
if (e === "slot")
|
|
3
|
+
return 0;
|
|
4
|
+
if (e instanceof Function)
|
|
5
|
+
return e(n);
|
|
6
|
+
const { children: r, ...s } = n ?? {};
|
|
7
|
+
if (e === "svg")
|
|
8
|
+
throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");
|
|
9
|
+
return [e, s, r];
|
|
390
10
|
};
|
|
391
11
|
export {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
Mt as hide,
|
|
398
|
-
zt as offset,
|
|
399
|
-
Et as platform,
|
|
400
|
-
At as shift,
|
|
401
|
-
It as size
|
|
12
|
+
t as createElement,
|
|
13
|
+
t as h,
|
|
14
|
+
t as jsx,
|
|
15
|
+
t as jsxDEV,
|
|
16
|
+
t as jsxs
|
|
402
17
|
};
|