bitboss-ui 0.2.13 → 0.2.14
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/composables/useWizard.d.ts +20 -20
- package/dist/index101.js +3 -3
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index111.js +4 -4
- 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/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index17.js +6 -6
- package/dist/index19.js +3 -3
- package/dist/index196.js +2 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +2 -4
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +4 -235
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index207.js +378 -2
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +131 -375
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +2 -134
- package/dist/index209.js.map +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +174 -2
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +23 -174
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +373 -23
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +3 -373
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +3 -3
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +232 -32
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +2 -6
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -10
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +35 -3
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +6 -3
- package/dist/index219.js.map +1 -1
- package/dist/index221.js +10 -2
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +8 -27
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +120 -12
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +27 -8
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +12 -120
- package/dist/index225.js.map +1 -1
- package/dist/index228.js +295 -2
- package/dist/index228.js.map +1 -1
- package/dist/index23.js +1 -1
- package/dist/index230.js +2 -2
- package/dist/index231.js +2 -295
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +2 -2
- package/dist/index234.js +2 -117
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -106
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -2
- package/dist/index237.js +117 -2
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +106 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +2 -2
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +224 -162
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +258 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +435 -2
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +88 -68
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +200 -2
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +162 -224
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +2 -258
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +2 -435
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +68 -88
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +2 -200
- package/dist/index249.js.map +1 -1
- package/dist/index25.js +2 -2
- package/dist/index254.js +2 -2
- package/dist/index255.js +1 -1
- package/dist/index29.js +3 -3
- package/dist/index31.js +4 -4
- package/dist/index33.js +2 -2
- package/dist/index35.js +2 -2
- package/dist/index47.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index65.js +5 -5
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index79.js +4 -4
- package/dist/index8.js +85 -104
- package/dist/index8.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index202.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { getDefaultExportFromCjs as i, commonjsGlobal as m } from "./index229.js";
|
2
2
|
import { __module as _ } from "./index233.js";
|
3
|
-
import { __require as s } from "./
|
3
|
+
import { __require as s } from "./index228.js";
|
4
4
|
(function(n, d) {
|
5
5
|
(function(t, o) {
|
6
6
|
n.exports = o(s());
|
package/dist/index203.js
CHANGED
package/dist/index204.js
CHANGED
package/dist/index207.js
CHANGED
@@ -1,5 +1,381 @@
|
|
1
|
-
|
1
|
+
import { shift as tt, flip as et, computePosition as ot, arrow as nt } from "./index212.js";
|
2
|
+
import { detectOverflow as At, offset as It } from "./index212.js";
|
3
|
+
import { createCoords as v, rectToClientRect as q, round as A, max as O, min as D, floor as B } from "./index237.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 "./index238.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) {
|
70
|
+
try {
|
71
|
+
e = e || t.matches(i);
|
72
|
+
} catch {
|
73
|
+
}
|
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
|
+
};
|
110
|
+
}
|
111
|
+
function ft(t) {
|
112
|
+
return Array.from(t.getClientRects());
|
113
|
+
}
|
114
|
+
function Q(t) {
|
115
|
+
return E(L(t)).left + I(t).scrollLeft;
|
116
|
+
}
|
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);
|
135
|
+
}
|
136
|
+
return {
|
137
|
+
width: c,
|
138
|
+
height: i,
|
139
|
+
x: r,
|
140
|
+
y: l
|
141
|
+
};
|
142
|
+
}
|
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);
|
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
|
+
};
|
204
|
+
}
|
205
|
+
function pt(t) {
|
206
|
+
const {
|
207
|
+
width: e,
|
208
|
+
height: n
|
209
|
+
} = j(t);
|
210
|
+
return {
|
211
|
+
width: e,
|
212
|
+
height: n
|
213
|
+
};
|
214
|
+
}
|
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
|
+
};
|
236
|
+
}
|
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;
|
307
|
+
}
|
308
|
+
try {
|
309
|
+
n = new IntersectionObserver($, {
|
310
|
+
...y,
|
311
|
+
// Handle <iframe>s
|
312
|
+
root: s.ownerDocument
|
313
|
+
});
|
314
|
+
} catch {
|
315
|
+
n = new IntersectionObserver($, y);
|
316
|
+
}
|
317
|
+
n.observe(t);
|
318
|
+
}
|
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);
|
355
|
+
};
|
356
|
+
}
|
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
|
+
};
|
2
370
|
export {
|
3
|
-
|
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
|
4
380
|
};
|
5
381
|
//# sourceMappingURL=index207.js.map
|
package/dist/index207.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index207.js","sources":["../src/utilities/functions/clamp.ts"],"sourcesContent":["/**\n * Returns value ensuring it doesn't go below min and exceed max.\n * EXAMPLE: clamp(5, 7, 20) === 7\n * @param value The value to clamp\n * @param min Minimum bound\n * @param max Maximum bound\n * @returns \n */\n\nexport const clamp = (value: number, min: number, max: number) => {\n return Math.min(Math.max(value, min), max);\n};\n"],"names":["clamp","value","min","max"],"mappings":"AASO,MAAMA,IAAQ,CAACC,GAAeC,GAAaC,MACzC,KAAK,IAAI,KAAK,IAAIF,GAAOC,CAAG,GAAGC,CAAG;"}
|
1
|
+
{"version":3,"file":"index207.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nexport { detectOverflow, offset } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getContainingBlock, getDocumentElement, getNodeName, isOverflowElement, getNodeScroll, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentIFrame = win.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== win) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentIFrame = getWindow(currentIFrame).frameElement;\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction topLayer(floating) {\n let isTopLayer = false;\n let x = 0;\n let y = 0;\n function setIsTopLayer(selector) {\n try {\n isTopLayer = isTopLayer || floating.matches(selector);\n } catch (e) {}\n }\n topLayerSelectors.forEach(selector => {\n setIsTopLayer(selector);\n });\n const containingBlock = getContainingBlock(floating);\n if (isTopLayer && containingBlock) {\n const rect = containingBlock.getBoundingClientRect();\n x = rect.x;\n y = rect.y;\n }\n return [isTopLayer, x, y];\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const documentElement = getDocumentElement(offsetParent);\n const [isTopLayer] = elements ? topLayer(elements.floating) : [false];\n if (offsetParent === documentElement || isTopLayer) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n ...clippingAncestor,\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy, floating) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n let x = rect.left + scroll.scrollLeft - offsets.x;\n let y = rect.top + scroll.scrollTop - offsets.y;\n const [isTopLayer, topLayerX, topLayerY] = topLayer(floating);\n if (isTopLayer) {\n x += topLayerX;\n y += topLayerY;\n if (isOffsetParentAnElement) {\n x += offsetParent.clientLeft;\n y += offsetParent.clientTop;\n }\n }\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n return element.offsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const window = getWindow(element);\n if (!isHTMLElement(element)) {\n return window;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy, data.floating),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(data.floating))\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const {\n left,\n top,\n width,\n height\n } = element.getBoundingClientRect();\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 100);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, flip, hide, inline, limitShift, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentIFrame","iframeScale","iframeRect","left","top","rectToClientRect","topLayerSelectors","topLayer","floating","isTopLayer","setIsTopLayer","selector","containingBlock","getContainingBlock","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","documentElement","getDocumentElement","scroll","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","getNodeScroll","offsetRect","getClientRects","getWindowScrollBarX","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","topLayerX","topLayerY","getTrueOffsetParent","polyfill","getOffsetParent","window","isTableElement","getElementRects","data","getOffsetParentFn","getDimensionsFn","isRTL","platform","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","shift","shift$1","flip","flip$1","arrow","arrow$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":";;;;AAMA,SAASA,EAAiBC,GAAS;AACjC,QAAMC,IAAMC,EAAiBF,CAAO;AAGpC,MAAIG,IAAQ,WAAWF,EAAI,KAAK,KAAK,GACjCG,IAAS,WAAWH,EAAI,MAAM,KAAK;AACvC,QAAMI,IAAYC,EAAcN,CAAO,GACjCO,IAAcF,IAAYL,EAAQ,cAAcG,GAChDK,IAAeH,IAAYL,EAAQ,eAAeI,GAClDK,IAAiBC,EAAMP,CAAK,MAAMI,KAAeG,EAAMN,CAAM,MAAMI;AACzE,SAAIC,MACFN,IAAQI,GACRH,IAASI,IAEJ;AAAA,IACL,OAAAL;AAAA,IACA,QAAAC;AAAA,IACA,GAAGK;AAAA,EACP;AACA;AAEA,SAASE,EAAcX,GAAS;AAC9B,SAAQY,EAAUZ,CAAO,IAA6BA,IAAzBA,EAAQ;AACvC;AAEA,SAASa,EAASb,GAAS;AACzB,QAAMc,IAAaH,EAAcX,CAAO;AACxC,MAAI,CAACM,EAAcQ,CAAU;AAC3B,WAAOC,EAAa,CAAC;AAEvB,QAAMC,IAAOF,EAAW,yBAClB;AAAA,IACJ,OAAAX;AAAA,IACA,QAAAC;AAAA,IACA,GAAAa;AAAA,EACJ,IAAMlB,EAAiBe,CAAU;AAC/B,MAAII,KAAKD,IAAIP,EAAMM,EAAK,KAAK,IAAIA,EAAK,SAASb,GAC3CgB,KAAKF,IAAIP,EAAMM,EAAK,MAAM,IAAIA,EAAK,UAAUZ;AAIjD,UAAI,CAACc,KAAK,CAAC,OAAO,SAASA,CAAC,OAC1BA,IAAI,KAEF,CAACC,KAAK,CAAC,OAAO,SAASA,CAAC,OAC1BA,IAAI,IAEC;AAAA,IAC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