bitboss-ui 0.2.18 → 0.2.20
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/components/BbPopover/BbPopover.vue.d.ts +12 -0
- package/dist/index101.js +2 -2
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index111.js +3 -3
- package/dist/index113.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index119.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +9 -9
- package/dist/index19.js +3 -3
- package/dist/index197.js +357 -214
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +131 -375
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -134
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +19 -5
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +2 -19
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -2
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +174 -2
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +23 -174
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +373 -23
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +14 -371
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +16 -10
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +20 -3
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +28 -34
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +8 -6
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +2 -16
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +3 -16
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +35 -20
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -29
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +2 -8
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +4 -2
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -4
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +3 -2
- package/dist/index218.js.map +1 -1
- package/dist/index220.js +10 -3
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +235 -3
- package/dist/index221.js.map +1 -1
- package/dist/index223.js +4 -4
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index227.js +6 -2
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -6
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +295 -2
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +2 -295
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -2
- package/dist/index232.js +117 -2
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +100 -111
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -106
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -435
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -89
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +2 -200
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +435 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +89 -2
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +224 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +258 -2
- package/dist/index241.js.map +1 -1
- package/dist/index243.js +197 -159
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +2 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +15 -2
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +154 -61
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -224
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +2 -258
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +68 -37
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +2 -2
- package/dist/index250.js +38 -2
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +2 -2
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +2 -2
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +2 -15
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +3 -2
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index29.js +2 -2
- package/dist/index31.js +6 -6
- package/dist/index33.js +1 -1
- package/dist/index35.js +2 -2
- package/dist/index47.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index65.js +3 -3
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index79.js +61 -53
- package/dist/index79.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index197.js
CHANGED
|
@@ -1,238 +1,381 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { shift as tt, flip as et, computePosition as ot, arrow as nt } from "./index205.js";
|
|
2
|
+
import { detectOverflow as At, offset as It } from "./index205.js";
|
|
3
|
+
import { createCoords as v, rectToClientRect as q, round as A, max as O, min as D, floor as B } from "./index232.js";
|
|
4
|
+
import { getOverflowAncestors as H, isElement as x, getWindow as T, getComputedStyle as w, getDocumentElement as L, isHTMLElement as b, isWebKit as U, getNodeName as W, isOverflowElement as z, getNodeScroll as I, isTableElement as it, isContainingBlock as X, getContainingBlock as K, getParentNode as V, isLastTraversableNode as Y } from "./index233.js";
|
|
5
|
+
function j(t) {
|
|
6
|
+
const e = w(t);
|
|
7
|
+
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
8
|
+
const s = b(t), c = s ? t.offsetWidth : n, i = s ? t.offsetHeight : o, r = A(n) !== c || A(o) !== i;
|
|
9
|
+
return r && (n = c, o = i), {
|
|
10
|
+
width: n,
|
|
11
|
+
height: o,
|
|
12
|
+
$: r
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function S(t) {
|
|
16
|
+
return x(t) ? t : t.contextElement;
|
|
17
|
+
}
|
|
18
|
+
function F(t) {
|
|
19
|
+
const e = S(t);
|
|
20
|
+
if (!b(e))
|
|
21
|
+
return v(1);
|
|
22
|
+
const n = e.getBoundingClientRect(), {
|
|
23
|
+
width: o,
|
|
24
|
+
height: s,
|
|
25
|
+
$: c
|
|
26
|
+
} = j(e);
|
|
27
|
+
let i = (c ? A(n.width) : n.width) / o, r = (c ? A(n.height) : n.height) / s;
|
|
28
|
+
return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
|
|
29
|
+
x: i,
|
|
30
|
+
y: r
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
const st = /* @__PURE__ */ v(0);
|
|
34
|
+
function G(t) {
|
|
35
|
+
const e = T(t);
|
|
36
|
+
return !U() || !e.visualViewport ? st : {
|
|
37
|
+
x: e.visualViewport.offsetLeft,
|
|
38
|
+
y: e.visualViewport.offsetTop
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function rt(t, e, n) {
|
|
42
|
+
return e === void 0 && (e = !1), !n || e && n !== T(t) ? !1 : e;
|
|
43
|
+
}
|
|
44
|
+
function E(t, e, n, o) {
|
|
45
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
46
|
+
const s = t.getBoundingClientRect(), c = S(t);
|
|
47
|
+
let i = v(1);
|
|
48
|
+
e && (o ? x(o) && (i = F(o)) : i = F(t));
|
|
49
|
+
const r = rt(c, n, o) ? G(c) : v(0);
|
|
50
|
+
let l = (s.left + r.x) / i.x, f = (s.top + r.y) / i.y, a = s.width / i.x, u = s.height / i.y;
|
|
51
|
+
if (c) {
|
|
52
|
+
const m = T(c), p = o && x(o) ? T(o) : o;
|
|
53
|
+
let g = m.frameElement;
|
|
54
|
+
for (; g && o && p !== m; ) {
|
|
55
|
+
const h = F(g), R = g.getBoundingClientRect(), d = w(g), y = R.left + (g.clientLeft + parseFloat(d.paddingLeft)) * h.x, C = R.top + (g.clientTop + parseFloat(d.paddingTop)) * h.y;
|
|
56
|
+
l *= h.x, f *= h.y, a *= h.x, u *= h.y, l += y, f += C, g = T(g).frameElement;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return q({
|
|
60
|
+
width: a,
|
|
61
|
+
height: u,
|
|
62
|
+
x: l,
|
|
63
|
+
y: f
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
const ct = [":popover-open", ":modal"];
|
|
67
|
+
function J(t) {
|
|
68
|
+
let e = !1, n = 0, o = 0;
|
|
69
|
+
function s(i) {
|
|
9
70
|
try {
|
|
10
|
-
e =
|
|
71
|
+
e = e || t.matches(i);
|
|
11
72
|
} catch {
|
|
12
73
|
}
|
|
13
|
-
return e;
|
|
14
|
-
}
|
|
15
|
-
var X = Array.prototype, Y = Function.prototype, w = Object.prototype, l = d["__core-js_shared__"], m = function() {
|
|
16
|
-
var t = /[^.]+$/.exec(l && l.keys && l.keys.IE_PROTO || "");
|
|
17
|
-
return t ? "Symbol(src)_1." + t : "";
|
|
18
|
-
}(), x = Y.toString, _ = w.hasOwnProperty, P = w.toString, B = RegExp(
|
|
19
|
-
"^" + x.call(_).replace(K, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20
|
-
), C = d.Symbol, Q = X.splice, W = T(d, "Map"), u = T(Object, "create"), v = C ? C.prototype : void 0, S = v ? v.toString : void 0;
|
|
21
|
-
function a(t) {
|
|
22
|
-
var e = -1, r = t ? t.length : 0;
|
|
23
|
-
for (this.clear(); ++e < r; ) {
|
|
24
|
-
var n = t[e];
|
|
25
|
-
this.set(n[0], n[1]);
|
|
26
74
|
}
|
|
75
|
+
ct.forEach((i) => {
|
|
76
|
+
s(i);
|
|
77
|
+
});
|
|
78
|
+
const c = K(t);
|
|
79
|
+
if (e && c) {
|
|
80
|
+
const i = c.getBoundingClientRect();
|
|
81
|
+
n = i.x, o = i.y;
|
|
82
|
+
}
|
|
83
|
+
return [e, n, o];
|
|
84
|
+
}
|
|
85
|
+
function lt(t) {
|
|
86
|
+
let {
|
|
87
|
+
elements: e,
|
|
88
|
+
rect: n,
|
|
89
|
+
offsetParent: o,
|
|
90
|
+
strategy: s
|
|
91
|
+
} = t;
|
|
92
|
+
const c = L(o), [i] = e ? J(e.floating) : [!1];
|
|
93
|
+
if (o === c || i)
|
|
94
|
+
return n;
|
|
95
|
+
let r = {
|
|
96
|
+
scrollLeft: 0,
|
|
97
|
+
scrollTop: 0
|
|
98
|
+
}, l = v(1);
|
|
99
|
+
const f = v(0), a = b(o);
|
|
100
|
+
if ((a || !a && s !== "fixed") && ((W(o) !== "body" || z(c)) && (r = I(o)), b(o))) {
|
|
101
|
+
const u = E(o);
|
|
102
|
+
l = F(o), f.x = u.x + o.clientLeft, f.y = u.y + o.clientTop;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
width: n.width * l.x,
|
|
106
|
+
height: n.height * l.y,
|
|
107
|
+
x: n.x * l.x - r.scrollLeft * l.x + f.x,
|
|
108
|
+
y: n.y * l.y - r.scrollTop * l.y + f.y
|
|
109
|
+
};
|
|
27
110
|
}
|
|
28
|
-
function
|
|
29
|
-
|
|
111
|
+
function ft(t) {
|
|
112
|
+
return Array.from(t.getClientRects());
|
|
30
113
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
114
|
+
function Q(t) {
|
|
115
|
+
return E(L(t)).left + I(t).scrollLeft;
|
|
33
116
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
a.prototype.get = tt;
|
|
53
|
-
a.prototype.has = et;
|
|
54
|
-
a.prototype.set = rt;
|
|
55
|
-
function i(t) {
|
|
56
|
-
var e = -1, r = t ? t.length : 0;
|
|
57
|
-
for (this.clear(); ++e < r; ) {
|
|
58
|
-
var n = t[e];
|
|
59
|
-
this.set(n[0], n[1]);
|
|
117
|
+
function ut(t) {
|
|
118
|
+
const e = L(t), n = I(t), o = t.ownerDocument.body, s = O(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), c = O(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
119
|
+
let i = -n.scrollLeft + Q(t);
|
|
120
|
+
const r = -n.scrollTop;
|
|
121
|
+
return w(o).direction === "rtl" && (i += O(e.clientWidth, o.clientWidth) - s), {
|
|
122
|
+
width: s,
|
|
123
|
+
height: c,
|
|
124
|
+
x: i,
|
|
125
|
+
y: r
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function at(t, e) {
|
|
129
|
+
const n = T(t), o = L(t), s = n.visualViewport;
|
|
130
|
+
let c = o.clientWidth, i = o.clientHeight, r = 0, l = 0;
|
|
131
|
+
if (s) {
|
|
132
|
+
c = s.width, i = s.height;
|
|
133
|
+
const f = U();
|
|
134
|
+
(!f || f && e === "fixed") && (r = s.offsetLeft, l = s.offsetTop);
|
|
60
135
|
}
|
|
136
|
+
return {
|
|
137
|
+
width: c,
|
|
138
|
+
height: i,
|
|
139
|
+
x: r,
|
|
140
|
+
y: l
|
|
141
|
+
};
|
|
61
142
|
}
|
|
62
|
-
function
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
143
|
+
function ht(t, e) {
|
|
144
|
+
const n = E(t, !0, e === "fixed"), o = n.top + t.clientTop, s = n.left + t.clientLeft, c = b(t) ? F(t) : v(1), i = t.clientWidth * c.x, r = t.clientHeight * c.y, l = s * c.x, f = o * c.y;
|
|
145
|
+
return {
|
|
146
|
+
width: i,
|
|
147
|
+
height: r,
|
|
148
|
+
x: l,
|
|
149
|
+
y: f
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function _(t, e, n) {
|
|
153
|
+
let o;
|
|
154
|
+
if (e === "viewport")
|
|
155
|
+
o = at(t, n);
|
|
156
|
+
else if (e === "document")
|
|
157
|
+
o = ut(L(t));
|
|
158
|
+
else if (x(e))
|
|
159
|
+
o = ht(e, n);
|
|
160
|
+
else {
|
|
161
|
+
const s = G(t);
|
|
162
|
+
o = {
|
|
163
|
+
...e,
|
|
164
|
+
x: e.x - s.x,
|
|
165
|
+
y: e.y - s.y
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
return q(o);
|
|
169
|
+
}
|
|
170
|
+
function Z(t, e) {
|
|
171
|
+
const n = V(t);
|
|
172
|
+
return n === e || !x(n) || Y(n) ? !1 : w(n).position === "fixed" || Z(n, e);
|
|
173
|
+
}
|
|
174
|
+
function dt(t, e) {
|
|
175
|
+
const n = e.get(t);
|
|
176
|
+
if (n)
|
|
177
|
+
return n;
|
|
178
|
+
let o = H(t, [], !1).filter((r) => x(r) && W(r) !== "body"), s = null;
|
|
179
|
+
const c = w(t).position === "fixed";
|
|
180
|
+
let i = c ? V(t) : t;
|
|
181
|
+
for (; x(i) && !Y(i); ) {
|
|
182
|
+
const r = w(i), l = X(i);
|
|
183
|
+
!l && r.position === "fixed" && (s = null), (c ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || z(i) && !l && Z(t, i)) ? o = o.filter((a) => a !== i) : s = r, i = V(i);
|
|
93
184
|
}
|
|
185
|
+
return e.set(t, o), o;
|
|
186
|
+
}
|
|
187
|
+
function gt(t) {
|
|
188
|
+
let {
|
|
189
|
+
element: e,
|
|
190
|
+
boundary: n,
|
|
191
|
+
rootBoundary: o,
|
|
192
|
+
strategy: s
|
|
193
|
+
} = t;
|
|
194
|
+
const i = [...n === "clippingAncestors" ? dt(e, this._c) : [].concat(n), o], r = i[0], l = i.reduce((f, a) => {
|
|
195
|
+
const u = _(e, a, s);
|
|
196
|
+
return f.top = O(u.top, f.top), f.right = D(u.right, f.right), f.bottom = D(u.bottom, f.bottom), f.left = O(u.left, f.left), f;
|
|
197
|
+
}, _(e, r, s));
|
|
198
|
+
return {
|
|
199
|
+
width: l.right - l.left,
|
|
200
|
+
height: l.bottom - l.top,
|
|
201
|
+
x: l.left,
|
|
202
|
+
y: l.top
|
|
203
|
+
};
|
|
94
204
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
205
|
+
function pt(t) {
|
|
206
|
+
const {
|
|
207
|
+
width: e,
|
|
208
|
+
height: n
|
|
209
|
+
} = j(t);
|
|
210
|
+
return {
|
|
211
|
+
width: e,
|
|
212
|
+
height: n
|
|
100
213
|
};
|
|
101
214
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
215
|
+
function mt(t, e, n, o) {
|
|
216
|
+
const s = b(e), c = L(e), i = n === "fixed", r = E(t, !0, i, e);
|
|
217
|
+
let l = {
|
|
218
|
+
scrollLeft: 0,
|
|
219
|
+
scrollTop: 0
|
|
220
|
+
};
|
|
221
|
+
const f = v(0);
|
|
222
|
+
if (s || !s && !i)
|
|
223
|
+
if ((W(e) !== "body" || z(c)) && (l = I(e)), s) {
|
|
224
|
+
const h = E(e, !0, i, e);
|
|
225
|
+
f.x = h.x + e.clientLeft, f.y = h.y + e.clientTop;
|
|
226
|
+
} else
|
|
227
|
+
c && (f.x = Q(c));
|
|
228
|
+
let a = r.left + l.scrollLeft - f.x, u = r.top + l.scrollTop - f.y;
|
|
229
|
+
const [m, p, g] = J(o);
|
|
230
|
+
return m && (a += p, u += g, s && (a += e.clientLeft, u += e.clientTop)), {
|
|
231
|
+
x: a,
|
|
232
|
+
y: u,
|
|
233
|
+
width: r.width,
|
|
234
|
+
height: r.height
|
|
235
|
+
};
|
|
104
236
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
107
|
-
}
|
|
108
|
-
function
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
o
|
|
115
|
-
o.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
});
|
|
176
|
-
function vt(t) {
|
|
177
|
-
if (typeof t == "string" || g(t))
|
|
178
|
-
return t;
|
|
179
|
-
var e = t + "";
|
|
180
|
-
return e == "0" && 1 / t == -j ? "-0" : e;
|
|
181
|
-
}
|
|
182
|
-
function St(t) {
|
|
183
|
-
if (t != null) {
|
|
184
|
-
try {
|
|
185
|
-
return x.call(t);
|
|
186
|
-
} catch {
|
|
237
|
+
function k(t, e) {
|
|
238
|
+
return !b(t) || w(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
239
|
+
}
|
|
240
|
+
function P(t, e) {
|
|
241
|
+
const n = T(t);
|
|
242
|
+
if (!b(t))
|
|
243
|
+
return n;
|
|
244
|
+
let o = k(t, e);
|
|
245
|
+
for (; o && it(o) && w(o).position === "static"; )
|
|
246
|
+
o = k(o, e);
|
|
247
|
+
return o && (W(o) === "html" || W(o) === "body" && w(o).position === "static" && !X(o)) ? n : o || K(t) || n;
|
|
248
|
+
}
|
|
249
|
+
const yt = async function(t) {
|
|
250
|
+
const e = this.getOffsetParent || P, n = this.getDimensions;
|
|
251
|
+
return {
|
|
252
|
+
reference: mt(t.reference, await e(t.floating), t.strategy, t.floating),
|
|
253
|
+
floating: {
|
|
254
|
+
x: 0,
|
|
255
|
+
y: 0,
|
|
256
|
+
...await n(t.floating)
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
function wt(t) {
|
|
261
|
+
return w(t).direction === "rtl";
|
|
262
|
+
}
|
|
263
|
+
const vt = {
|
|
264
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: lt,
|
|
265
|
+
getDocumentElement: L,
|
|
266
|
+
getClippingRect: gt,
|
|
267
|
+
getOffsetParent: P,
|
|
268
|
+
getElementRects: yt,
|
|
269
|
+
getClientRects: ft,
|
|
270
|
+
getDimensions: pt,
|
|
271
|
+
getScale: F,
|
|
272
|
+
isElement: x,
|
|
273
|
+
isRTL: wt
|
|
274
|
+
};
|
|
275
|
+
function xt(t, e) {
|
|
276
|
+
let n = null, o;
|
|
277
|
+
const s = L(t);
|
|
278
|
+
function c() {
|
|
279
|
+
var r;
|
|
280
|
+
clearTimeout(o), (r = n) == null || r.disconnect(), n = null;
|
|
281
|
+
}
|
|
282
|
+
function i(r, l) {
|
|
283
|
+
r === void 0 && (r = !1), l === void 0 && (l = 1), c();
|
|
284
|
+
const {
|
|
285
|
+
left: f,
|
|
286
|
+
top: a,
|
|
287
|
+
width: u,
|
|
288
|
+
height: m
|
|
289
|
+
} = t.getBoundingClientRect();
|
|
290
|
+
if (r || e(), !u || !m)
|
|
291
|
+
return;
|
|
292
|
+
const p = B(a), g = B(s.clientWidth - (f + u)), h = B(s.clientHeight - (a + m)), R = B(f), y = {
|
|
293
|
+
rootMargin: -p + "px " + -g + "px " + -h + "px " + -R + "px",
|
|
294
|
+
threshold: O(0, D(1, l)) || 1
|
|
295
|
+
};
|
|
296
|
+
let C = !0;
|
|
297
|
+
function $(M) {
|
|
298
|
+
const N = M[0].intersectionRatio;
|
|
299
|
+
if (N !== l) {
|
|
300
|
+
if (!C)
|
|
301
|
+
return i();
|
|
302
|
+
N ? i(!1, N) : o = setTimeout(() => {
|
|
303
|
+
i(!1, 1e-7);
|
|
304
|
+
}, 100);
|
|
305
|
+
}
|
|
306
|
+
C = !1;
|
|
187
307
|
}
|
|
188
308
|
try {
|
|
189
|
-
|
|
309
|
+
n = new IntersectionObserver($, {
|
|
310
|
+
...y,
|
|
311
|
+
// Handle <iframe>s
|
|
312
|
+
root: s.ownerDocument
|
|
313
|
+
});
|
|
190
314
|
} catch {
|
|
315
|
+
n = new IntersectionObserver($, y);
|
|
191
316
|
}
|
|
317
|
+
n.observe(t);
|
|
192
318
|
}
|
|
193
|
-
return
|
|
194
|
-
}
|
|
195
|
-
function
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
319
|
+
return i(!0), c;
|
|
320
|
+
}
|
|
321
|
+
function Ct(t, e, n, o) {
|
|
322
|
+
o === void 0 && (o = {});
|
|
323
|
+
const {
|
|
324
|
+
ancestorScroll: s = !0,
|
|
325
|
+
ancestorResize: c = !0,
|
|
326
|
+
elementResize: i = typeof ResizeObserver == "function",
|
|
327
|
+
layoutShift: r = typeof IntersectionObserver == "function",
|
|
328
|
+
animationFrame: l = !1
|
|
329
|
+
} = o, f = S(t), a = s || c ? [...f ? H(f) : [], ...H(e)] : [];
|
|
330
|
+
a.forEach((d) => {
|
|
331
|
+
s && d.addEventListener("scroll", n, {
|
|
332
|
+
passive: !0
|
|
333
|
+
}), c && d.addEventListener("resize", n);
|
|
334
|
+
});
|
|
335
|
+
const u = f && r ? xt(f, n) : null;
|
|
336
|
+
let m = -1, p = null;
|
|
337
|
+
i && (p = new ResizeObserver((d) => {
|
|
338
|
+
let [y] = d;
|
|
339
|
+
y && y.target === f && p && (p.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
340
|
+
var C;
|
|
341
|
+
(C = p) == null || C.observe(e);
|
|
342
|
+
})), n();
|
|
343
|
+
}), f && !l && p.observe(f), p.observe(e));
|
|
344
|
+
let g, h = l ? E(t) : null;
|
|
345
|
+
l && R();
|
|
346
|
+
function R() {
|
|
347
|
+
const d = E(t);
|
|
348
|
+
h && (d.x !== h.x || d.y !== h.y || d.width !== h.width || d.height !== h.height) && n(), h = d, g = requestAnimationFrame(R);
|
|
349
|
+
}
|
|
350
|
+
return n(), () => {
|
|
351
|
+
var d;
|
|
352
|
+
a.forEach((y) => {
|
|
353
|
+
s && y.removeEventListener("scroll", n), c && y.removeEventListener("resize", n);
|
|
354
|
+
}), u == null || u(), (d = p) == null || d.disconnect(), p = null, l && cancelAnimationFrame(g);
|
|
204
355
|
};
|
|
205
|
-
return r.cache = new (y.Cache || o)(), r;
|
|
206
|
-
}
|
|
207
|
-
y.Cache = o;
|
|
208
|
-
function Ot(t, e) {
|
|
209
|
-
return t === e || t !== t && e !== e;
|
|
210
|
-
}
|
|
211
|
-
var I = Array.isArray;
|
|
212
|
-
function jt(t) {
|
|
213
|
-
var e = E(t) ? P.call(t) : "";
|
|
214
|
-
return e == F || e == N;
|
|
215
|
-
}
|
|
216
|
-
function E(t) {
|
|
217
|
-
var e = typeof t;
|
|
218
|
-
return !!t && (e == "object" || e == "function");
|
|
219
|
-
}
|
|
220
|
-
function wt(t) {
|
|
221
|
-
return !!t && typeof t == "object";
|
|
222
356
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
357
|
+
const Tt = tt, Et = et, Ot = nt, Ft = (t, e, n) => {
|
|
358
|
+
const o = /* @__PURE__ */ new Map(), s = {
|
|
359
|
+
platform: vt,
|
|
360
|
+
...n
|
|
361
|
+
}, c = {
|
|
362
|
+
...s.platform,
|
|
363
|
+
_c: o
|
|
364
|
+
};
|
|
365
|
+
return ot(t, e, {
|
|
366
|
+
...s,
|
|
367
|
+
platform: c
|
|
368
|
+
});
|
|
369
|
+
};
|
|
235
370
|
export {
|
|
236
|
-
|
|
371
|
+
Ot as arrow,
|
|
372
|
+
Ct as autoUpdate,
|
|
373
|
+
Ft as computePosition,
|
|
374
|
+
At as detectOverflow,
|
|
375
|
+
Et as flip,
|
|
376
|
+
H as getOverflowAncestors,
|
|
377
|
+
It as offset,
|
|
378
|
+
vt as platform,
|
|
379
|
+
Tt as shift
|
|
237
380
|
};
|
|
238
381
|
//# sourceMappingURL=index197.js.map
|