@konnectio/core 4.1.12 → 4.1.13

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.
Files changed (60) hide show
  1. package/dist/{ActionField-CM48D0lz.js → ActionField-jo27FP1e.js} +3 -3
  2. package/dist/ActionField-jo27FP1e.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BbbfOA4N.js → AvailabilitySkeleton-C8259u2G.js} +6 -6
  4. package/dist/AvailabilitySkeleton-C8259u2G.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-ZvAEMVGq.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CCJnM8KM.js} +3 -3
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CCJnM8KM.js.br +0 -0
  7. package/dist/{CheckoutWindow-C9LY04Db.js → CheckoutWindow-COrv_mGw.js} +3 -3
  8. package/dist/CheckoutWindow-COrv_mGw.js.br +0 -0
  9. package/dist/{ErrorMessage-BIi8rRO1.js → ErrorMessage-Bvr-38BC.js} +3 -3
  10. package/dist/ErrorMessage-Bvr-38BC.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CegObVbR.js → EventAvailabilityForm-BfuJqpV7.js} +4 -4
  12. package/dist/EventAvailabilityForm-BfuJqpV7.js.br +0 -0
  13. package/dist/{Field-CCABX2As.js → Field-BosKn4vs.js} +4 -4
  14. package/dist/Field-BosKn4vs.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-iStNEO56.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DCp_0LxT.js} +3 -3
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BtY1IVT6.js → SelectField.vue_vue_type_style_index_0_lang-BLTUypjx.js} +3 -3
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-BLTUypjx.js.br +0 -0
  18. package/dist/{TermsOfService-DTMLLPZl.js → TermsOfService-BPJuG5Ve.js} +4 -4
  19. package/dist/_-DQVWmHCZ.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CcJ-GELj.js → _.vue_vue_type_style_index_0_lang-CWxZa4PT.js} +3 -3
  21. package/dist/availability.js +6 -6
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +5 -5
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +1 -1
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +9 -9
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +9 -9
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +10 -10
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-B0AJlfXr.js → giftCard-lpRP5omc.js} +3 -3
  36. package/dist/giftCard-lpRP5omc.js.br +0 -0
  37. package/dist/hotel.js +9 -9
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-C1LvE3QZ.js → masonry.plugin-DfwT_bKh.js} +19 -36
  40. package/dist/masonry.plugin-DfwT_bKh.js.br +0 -0
  41. package/dist/{mitt-BysJOgFD.js → mitt-CqqTNFC7.js} +3816 -3834
  42. package/dist/mitt-CqqTNFC7.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CFj6q1kW.js → style-B5c-Dkj8.js} +643 -624
  46. package/dist/style-B5c-Dkj8.js.br +0 -0
  47. package/package.json +1 -1
  48. package/dist/ActionField-CM48D0lz.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-BbbfOA4N.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-ZvAEMVGq.js.br +0 -0
  51. package/dist/CheckoutWindow-C9LY04Db.js.br +0 -0
  52. package/dist/ErrorMessage-BIi8rRO1.js.br +0 -0
  53. package/dist/EventAvailabilityForm-CegObVbR.js.br +0 -0
  54. package/dist/Field-CCABX2As.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-BtY1IVT6.js.br +0 -0
  56. package/dist/_-DUz2r3ns.js +0 -5
  57. package/dist/giftCard-B0AJlfXr.js.br +0 -0
  58. package/dist/masonry.plugin-C1LvE3QZ.js.br +0 -0
  59. package/dist/mitt-BysJOgFD.js.br +0 -0
  60. package/dist/style-CFj6q1kW.js.br +0 -0
@@ -1,51 +1,51 @@
1
- import { d as xe, ag as Dt, ah as Ft, U as ne, h as se, b as I, e as K, i as Ve, F as It, a as be, q as me, Y as Oe, ac as jt, n as De, M as Wt, r as Le, m as Vt, Q as qt, w as ge, f as ct, t as Gt, a1 as ht, ai as Yt, a2 as Ut, a3 as Xt } from "./mitt-BysJOgFD.js";
2
- const Kt = ["top", "right", "bottom", "left"], qe = ["start", "end"], Ge = /* @__PURE__ */ Kt.reduce((e, t) => e.concat(t, t + "-" + qe[0], t + "-" + qe[1]), []), re = Math.min, X = Math.max, Qt = {
1
+ import { d as Te, ag as It, ah as jt, U as ae, h as le, b as I, e as Q, i as Ge, F as Wt, a as Se, q as we, Y as Ne, ac as Vt, n as Ie, M as qt, r as Me, m as Gt, Q as Yt, w as ve, f as ut, t as Ut, a1 as ft, ai as Xt, a2 as Kt, a3 as Qt } from "./mitt-CqqTNFC7.js";
2
+ const Zt = ["top", "right", "bottom", "left"], Ye = ["start", "end"], Ue = /* @__PURE__ */ Zt.reduce((e, t) => e.concat(t, t + "-" + Ye[0], t + "-" + Ye[1]), []), de = Math.min, K = Math.max, Jt = {
3
3
  left: "right",
4
4
  right: "left",
5
5
  bottom: "top",
6
6
  top: "bottom"
7
- }, Zt = {
7
+ }, eo = {
8
8
  start: "end",
9
9
  end: "start"
10
10
  };
11
- function Me(e, t, o) {
12
- return X(e, re(t, o));
11
+ function Re(e, t, o) {
12
+ return K(e, de(t, o));
13
13
  }
14
- function Q(e, t) {
14
+ function J(e, t) {
15
15
  return typeof e == "function" ? e(t) : e;
16
16
  }
17
- function D(e) {
17
+ function E(e) {
18
18
  return e.split("-")[0];
19
19
  }
20
- function L(e) {
20
+ function k(e) {
21
21
  return e.split("-")[1];
22
22
  }
23
- function ut(e) {
23
+ function mt(e) {
24
24
  return e === "x" ? "y" : "x";
25
25
  }
26
- function Fe(e) {
26
+ function je(e) {
27
27
  return e === "y" ? "height" : "width";
28
28
  }
29
- function ce(e) {
30
- return ["top", "bottom"].includes(D(e)) ? "y" : "x";
29
+ function Z(e) {
30
+ return ["top", "bottom"].includes(E(e)) ? "y" : "x";
31
31
  }
32
- function Ie(e) {
33
- return ut(ce(e));
32
+ function We(e) {
33
+ return mt(Z(e));
34
34
  }
35
- function ft(e, t, o) {
35
+ function gt(e, t, o) {
36
36
  o === void 0 && (o = !1);
37
- const i = L(e), n = Ie(e), s = Fe(n);
37
+ const i = k(e), n = We(e), s = je(n);
38
38
  let r = n === "x" ? i === (o ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
39
- return t.reference[s] > t.floating[s] && (r = ve(r)), [r, ve(r)];
39
+ return t.reference[s] > t.floating[s] && (r = $e(r)), [r, $e(r)];
40
40
  }
41
- function Jt(e) {
42
- const t = ve(e);
43
- return [we(e), t, we(t)];
41
+ function to(e) {
42
+ const t = $e(e);
43
+ return [ye(e), t, ye(t)];
44
44
  }
45
- function we(e) {
46
- return e.replace(/start|end/g, (t) => Zt[t]);
45
+ function ye(e) {
46
+ return e.replace(/start|end/g, (t) => eo[t]);
47
47
  }
48
- function eo(e, t, o) {
48
+ function oo(e, t, o) {
49
49
  const i = ["left", "right"], n = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
50
50
  switch (e) {
51
51
  case "top":
@@ -58,15 +58,15 @@ function eo(e, t, o) {
58
58
  return [];
59
59
  }
60
60
  }
61
- function to(e, t, o, i) {
62
- const n = L(e);
63
- let s = eo(D(e), o === "start", i);
64
- return n && (s = s.map((r) => r + "-" + n), t && (s = s.concat(s.map(we)))), s;
61
+ function io(e, t, o, i) {
62
+ const n = k(e);
63
+ let s = oo(E(e), o === "start", i);
64
+ return n && (s = s.map((r) => r + "-" + n), t && (s = s.concat(s.map(ye)))), s;
65
65
  }
66
- function ve(e) {
67
- return e.replace(/left|right|bottom|top/g, (t) => Qt[t]);
66
+ function $e(e) {
67
+ return e.replace(/left|right|bottom|top/g, (t) => Jt[t]);
68
68
  }
69
- function oo(e) {
69
+ function no(e) {
70
70
  return {
71
71
  top: 0,
72
72
  right: 0,
@@ -75,72 +75,81 @@ function oo(e) {
75
75
  ...e
76
76
  };
77
77
  }
78
- function mt(e) {
79
- return typeof e != "number" ? oo(e) : {
78
+ function wt(e) {
79
+ return typeof e != "number" ? no(e) : {
80
80
  top: e,
81
81
  right: e,
82
82
  bottom: e,
83
83
  left: e
84
84
  };
85
85
  }
86
- function ee(e) {
86
+ function ie(e) {
87
+ const {
88
+ x: t,
89
+ y: o,
90
+ width: i,
91
+ height: n
92
+ } = e;
87
93
  return {
88
- ...e,
89
- top: e.y,
90
- left: e.x,
91
- right: e.x + e.width,
92
- bottom: e.y + e.height
94
+ width: i,
95
+ height: n,
96
+ top: o,
97
+ left: t,
98
+ right: t + i,
99
+ bottom: o + n,
100
+ x: t,
101
+ y: o
93
102
  };
94
103
  }
95
- function Ye(e, t, o) {
104
+ function Xe(e, t, o) {
96
105
  let {
97
106
  reference: i,
98
107
  floating: n
99
108
  } = e;
100
- const s = ce(t), r = Ie(t), a = Fe(r), l = D(t), d = s === "y", f = i.x + i.width / 2 - n.width / 2, c = i.y + i.height / 2 - n.height / 2, h = i[a] / 2 - n[a] / 2;
101
- let p;
109
+ const s = Z(t), r = We(t), a = je(r), l = E(t), d = s === "y", c = i.x + i.width / 2 - n.width / 2, p = i.y + i.height / 2 - n.height / 2, u = i[a] / 2 - n[a] / 2;
110
+ let h;
102
111
  switch (l) {
103
112
  case "top":
104
- p = {
105
- x: f,
113
+ h = {
114
+ x: c,
106
115
  y: i.y - n.height
107
116
  };
108
117
  break;
109
118
  case "bottom":
110
- p = {
111
- x: f,
119
+ h = {
120
+ x: c,
112
121
  y: i.y + i.height
113
122
  };
114
123
  break;
115
124
  case "right":
116
- p = {
125
+ h = {
117
126
  x: i.x + i.width,
118
- y: c
127
+ y: p
119
128
  };
120
129
  break;
121
130
  case "left":
122
- p = {
131
+ h = {
123
132
  x: i.x - n.width,
124
- y: c
133
+ y: p
125
134
  };
126
135
  break;
127
136
  default:
128
- p = {
137
+ h = {
129
138
  x: i.x,
130
139
  y: i.y
131
140
  };
132
141
  }
133
- switch (L(t)) {
142
+ switch (k(t)) {
134
143
  case "start":
135
- p[r] -= h * (o && d ? -1 : 1);
144
+ h[r] -= u * (o && d ? -1 : 1);
136
145
  break;
137
146
  case "end":
138
- p[r] += h * (o && d ? -1 : 1);
147
+ h[r] += u * (o && d ? -1 : 1);
139
148
  break;
140
149
  }
141
- return p;
150
+ return h;
142
151
  }
143
- const io = async (e, t, o) => {
152
+ const so = async (e, t, o) => {
144
153
  const {
145
154
  placement: i = "bottom",
146
155
  strategy: n = "absolute",
@@ -152,9 +161,9 @@ const io = async (e, t, o) => {
152
161
  floating: t,
153
162
  strategy: n
154
163
  }), {
155
- x: f,
156
- y: c
157
- } = Ye(d, i, l), h = i, p = {}, u = 0;
164
+ x: c,
165
+ y: p
166
+ } = Xe(d, i, l), u = i, h = {}, f = 0;
158
167
  for (let m = 0; m < a.length; m++) {
159
168
  const {
160
169
  name: w,
@@ -162,15 +171,15 @@ const io = async (e, t, o) => {
162
171
  } = a[m], {
163
172
  x: v,
164
173
  y: $,
165
- data: x,
174
+ data: b,
166
175
  reset: _
167
176
  } = await g({
168
- x: f,
169
- y: c,
177
+ x: c,
178
+ y: p,
170
179
  initialPlacement: i,
171
- placement: h,
180
+ placement: u,
172
181
  strategy: n,
173
- middlewareData: p,
182
+ middlewareData: h,
174
183
  rects: d,
175
184
  platform: r,
176
185
  elements: {
@@ -178,33 +187,30 @@ const io = async (e, t, o) => {
178
187
  floating: t
179
188
  }
180
189
  });
181
- if (f = v ?? f, c = $ ?? c, p = {
182
- ...p,
190
+ c = v ?? c, p = $ ?? p, h = {
191
+ ...h,
183
192
  [w]: {
184
- ...p[w],
185
- ...x
193
+ ...h[w],
194
+ ...b
186
195
  }
187
- }, _ && u <= 50) {
188
- u++, typeof _ == "object" && (_.placement && (h = _.placement), _.rects && (d = _.rects === !0 ? await r.getElementRects({
189
- reference: e,
190
- floating: t,
191
- strategy: n
192
- }) : _.rects), {
193
- x: f,
194
- y: c
195
- } = Ye(d, h, l)), m = -1;
196
- continue;
197
- }
196
+ }, _ && f <= 50 && (f++, typeof _ == "object" && (_.placement && (u = _.placement), _.rects && (d = _.rects === !0 ? await r.getElementRects({
197
+ reference: e,
198
+ floating: t,
199
+ strategy: n
200
+ }) : _.rects), {
201
+ x: c,
202
+ y: p
203
+ } = Xe(d, u, l)), m = -1);
198
204
  }
199
205
  return {
200
- x: f,
201
- y: c,
202
- placement: h,
206
+ x: c,
207
+ y: p,
208
+ placement: u,
203
209
  strategy: n,
204
- middlewareData: p
210
+ middlewareData: h
205
211
  };
206
212
  };
207
- async function Te(e, t) {
213
+ async function Pe(e, t) {
208
214
  var o;
209
215
  t === void 0 && (t = {});
210
216
  const {
@@ -216,38 +222,40 @@ async function Te(e, t) {
216
222
  strategy: l
217
223
  } = e, {
218
224
  boundary: d = "clippingAncestors",
219
- rootBoundary: f = "viewport",
220
- elementContext: c = "floating",
221
- altBoundary: h = !1,
222
- padding: p = 0
223
- } = Q(t, e), u = mt(p), w = a[h ? c === "floating" ? "reference" : "floating" : c], g = ee(await s.getClippingRect({
225
+ rootBoundary: c = "viewport",
226
+ elementContext: p = "floating",
227
+ altBoundary: u = !1,
228
+ padding: h = 0
229
+ } = J(t, e), f = wt(h), w = a[u ? p === "floating" ? "reference" : "floating" : p], g = ie(await s.getClippingRect({
224
230
  element: (o = await (s.isElement == null ? void 0 : s.isElement(w))) == null || o ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(a.floating)),
225
231
  boundary: d,
226
- rootBoundary: f,
232
+ rootBoundary: c,
227
233
  strategy: l
228
- })), v = c === "floating" ? {
229
- ...r.floating,
234
+ })), v = p === "floating" ? {
230
235
  x: i,
231
- y: n
232
- } : r.reference, $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), x = await (s.isElement == null ? void 0 : s.isElement($)) ? await (s.getScale == null ? void 0 : s.getScale($)) || {
236
+ y: n,
237
+ width: r.floating.width,
238
+ height: r.floating.height
239
+ } : r.reference, $ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a.floating)), b = await (s.isElement == null ? void 0 : s.isElement($)) ? await (s.getScale == null ? void 0 : s.getScale($)) || {
233
240
  x: 1,
234
241
  y: 1
235
242
  } : {
236
243
  x: 1,
237
244
  y: 1
238
- }, _ = ee(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
245
+ }, _ = ie(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
246
+ elements: a,
239
247
  rect: v,
240
248
  offsetParent: $,
241
249
  strategy: l
242
250
  }) : v);
243
251
  return {
244
- top: (g.top - _.top + u.top) / x.y,
245
- bottom: (_.bottom - g.bottom + u.bottom) / x.y,
246
- left: (g.left - _.left + u.left) / x.x,
247
- right: (_.right - g.right + u.right) / x.x
252
+ top: (g.top - _.top + f.top) / b.y,
253
+ bottom: (_.bottom - g.bottom + f.bottom) / b.y,
254
+ left: (g.left - _.left + f.left) / b.x,
255
+ right: (_.right - g.right + f.right) / b.x
248
256
  };
249
257
  }
250
- const no = (e) => ({
258
+ const ro = (e) => ({
251
259
  name: "arrow",
252
260
  options: e,
253
261
  async fn(t) {
@@ -261,34 +269,34 @@ const no = (e) => ({
261
269
  middlewareData: l
262
270
  } = t, {
263
271
  element: d,
264
- padding: f = 0
265
- } = Q(e, t) || {};
272
+ padding: c = 0
273
+ } = J(e, t) || {};
266
274
  if (d == null)
267
275
  return {};
268
- const c = mt(f), h = {
276
+ const p = wt(c), u = {
269
277
  x: o,
270
278
  y: i
271
- }, p = Ie(n), u = Fe(p), m = await r.getDimensions(d), w = p === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", x = s.reference[u] + s.reference[p] - h[p] - s.floating[u], _ = h[p] - s.reference[p], b = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
272
- let T = b ? b[$] : 0;
273
- (!T || !await (r.isElement == null ? void 0 : r.isElement(b))) && (T = a.floating[$] || s.floating[u]);
274
- const O = x / 2 - _ / 2, z = T / 2 - m[u] / 2 - 1, S = re(c[g], z), N = re(c[v], z), P = S, Y = T - m[u] - N, C = T / 2 - m[u] / 2 + O, k = Me(P, C, Y), R = !l.arrow && L(n) != null && C != k && s.reference[u] / 2 - (C < P ? S : N) - m[u] / 2 < 0, F = R ? C < P ? C - P : C - Y : 0;
279
+ }, h = We(n), f = je(h), m = await r.getDimensions(d), w = h === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", b = s.reference[f] + s.reference[h] - u[h] - s.floating[f], _ = u[h] - s.reference[h], z = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
280
+ let S = z ? z[$] : 0;
281
+ (!S || !await (r.isElement == null ? void 0 : r.isElement(z))) && (S = a.floating[$] || s.floating[f]);
282
+ const L = b / 2 - _ / 2, A = S / 2 - m[f] / 2 - 1, x = de(p[g], A), P = de(p[v], A), C = x, M = S - m[f] - P, T = S / 2 - m[f] / 2 + L, ee = Re(C, T, M), F = !l.arrow && k(n) != null && T !== ee && s.reference[f] / 2 - (T < C ? x : P) - m[f] / 2 < 0, R = F ? T < C ? T - C : T - M : 0;
275
283
  return {
276
- [p]: h[p] + F,
284
+ [h]: u[h] + R,
277
285
  data: {
278
- [p]: k,
279
- centerOffset: C - k - F,
280
- ...R && {
281
- alignmentOffset: F
286
+ [h]: ee,
287
+ centerOffset: T - ee - R,
288
+ ...F && {
289
+ alignmentOffset: R
282
290
  }
283
291
  },
284
- reset: R
292
+ reset: F
285
293
  };
286
294
  }
287
295
  });
288
- function so(e, t, o) {
289
- return (e ? [...o.filter((n) => L(n) === e), ...o.filter((n) => L(n) !== e)] : o.filter((n) => D(n) === n)).filter((n) => e ? L(n) === e || (t ? we(n) !== n : !1) : !0);
296
+ function ao(e, t, o) {
297
+ return (e ? [...o.filter((n) => k(n) === e), ...o.filter((n) => k(n) !== e)] : o.filter((n) => E(n) === n)).filter((n) => e ? k(n) === e || (t ? ye(n) !== n : !1) : !0);
290
298
  }
291
- const ro = function(e) {
299
+ const lo = function(e) {
292
300
  return e === void 0 && (e = {}), {
293
301
  name: "autoPlacement",
294
302
  options: e,
@@ -301,62 +309,62 @@ const ro = function(e) {
301
309
  platform: l,
302
310
  elements: d
303
311
  } = t, {
304
- crossAxis: f = !1,
305
- alignment: c,
306
- allowedPlacements: h = Ge,
307
- autoAlignment: p = !0,
308
- ...u
309
- } = Q(e, t), m = c !== void 0 || h === Ge ? so(c || null, p, h) : h, w = await Te(t, u), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, v = m[g];
312
+ crossAxis: c = !1,
313
+ alignment: p,
314
+ allowedPlacements: u = Ue,
315
+ autoAlignment: h = !0,
316
+ ...f
317
+ } = J(e, t), m = p !== void 0 || u === Ue ? ao(p || null, h, u) : u, w = await Pe(t, f), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, v = m[g];
310
318
  if (v == null)
311
319
  return {};
312
- const $ = ft(v, s, await (l.isRTL == null ? void 0 : l.isRTL(d.floating)));
320
+ const $ = gt(v, s, await (l.isRTL == null ? void 0 : l.isRTL(d.floating)));
313
321
  if (a !== v)
314
322
  return {
315
323
  reset: {
316
324
  placement: m[0]
317
325
  }
318
326
  };
319
- const x = [w[D(v)], w[$[0]], w[$[1]]], _ = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
327
+ const b = [w[E(v)], w[$[0]], w[$[1]]], _ = [...((i = r.autoPlacement) == null ? void 0 : i.overflows) || [], {
320
328
  placement: v,
321
- overflows: x
322
- }], b = m[g + 1];
323
- if (b)
329
+ overflows: b
330
+ }], z = m[g + 1];
331
+ if (z)
324
332
  return {
325
333
  data: {
326
334
  index: g + 1,
327
335
  overflows: _
328
336
  },
329
337
  reset: {
330
- placement: b
338
+ placement: z
331
339
  }
332
340
  };
333
- const T = _.map((S) => {
334
- const N = L(S.placement);
335
- return [S.placement, N && f ? (
341
+ const S = _.map((x) => {
342
+ const P = k(x.placement);
343
+ return [x.placement, P && c ? (
336
344
  // Check along the mainAxis and main crossAxis side.
337
- S.overflows.slice(0, 2).reduce((P, Y) => P + Y, 0)
345
+ x.overflows.slice(0, 2).reduce((C, M) => C + M, 0)
338
346
  ) : (
339
347
  // Check only the mainAxis.
340
- S.overflows[0]
341
- ), S.overflows];
342
- }).sort((S, N) => S[1] - N[1]), z = ((n = T.filter((S) => S[2].slice(
348
+ x.overflows[0]
349
+ ), x.overflows];
350
+ }).sort((x, P) => x[1] - P[1]), A = ((n = S.filter((x) => x[2].slice(
343
351
  0,
344
352
  // Aligned placements should not check their opposite crossAxis
345
353
  // side.
346
- L(S[0]) ? 2 : 3
347
- ).every((N) => N <= 0))[0]) == null ? void 0 : n[0]) || T[0][0];
348
- return z !== a ? {
354
+ k(x[0]) ? 2 : 3
355
+ ).every((P) => P <= 0))[0]) == null ? void 0 : n[0]) || S[0][0];
356
+ return A !== a ? {
349
357
  data: {
350
358
  index: g + 1,
351
359
  overflows: _
352
360
  },
353
361
  reset: {
354
- placement: z
362
+ placement: A
355
363
  }
356
364
  } : {};
357
365
  }
358
366
  };
359
- }, ao = function(e) {
367
+ }, po = function(e) {
360
368
  return e === void 0 && (e = {}), {
361
369
  name: "flip",
362
370
  options: e,
@@ -370,57 +378,65 @@ const ro = function(e) {
370
378
  platform: l,
371
379
  elements: d
372
380
  } = t, {
373
- mainAxis: f = !0,
374
- crossAxis: c = !0,
375
- fallbackPlacements: h,
376
- fallbackStrategy: p = "bestFit",
377
- fallbackAxisSideDirection: u = "none",
381
+ mainAxis: c = !0,
382
+ crossAxis: p = !0,
383
+ fallbackPlacements: u,
384
+ fallbackStrategy: h = "bestFit",
385
+ fallbackAxisSideDirection: f = "none",
378
386
  flipAlignment: m = !0,
379
387
  ...w
380
- } = Q(e, t);
388
+ } = J(e, t);
381
389
  if ((o = s.arrow) != null && o.alignmentOffset)
382
390
  return {};
383
- const g = D(n), v = D(a) === a, $ = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), x = h || (v || !m ? [ve(a)] : Jt(a));
384
- !h && u !== "none" && x.push(...to(a, m, u, $));
385
- const _ = [a, ...x], b = await Te(t, w), T = [];
386
- let O = ((i = s.flip) == null ? void 0 : i.overflows) || [];
387
- if (f && T.push(b[g]), c) {
388
- const P = ft(n, r, $);
389
- T.push(b[P[0]], b[P[1]]);
391
+ const g = E(n), v = Z(a), $ = E(a) === a, b = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), _ = u || ($ || !m ? [$e(a)] : to(a)), z = f !== "none";
392
+ !u && z && _.push(...io(a, m, f, b));
393
+ const S = [a, ..._], L = await Pe(t, w), A = [];
394
+ let x = ((i = s.flip) == null ? void 0 : i.overflows) || [];
395
+ if (c && A.push(L[g]), p) {
396
+ const T = gt(n, r, b);
397
+ A.push(L[T[0]], L[T[1]]);
390
398
  }
391
- if (O = [...O, {
399
+ if (x = [...x, {
392
400
  placement: n,
393
- overflows: T
394
- }], !T.every((P) => P <= 0)) {
395
- var z, S;
396
- const P = (((z = s.flip) == null ? void 0 : z.index) || 0) + 1, Y = _[P];
397
- if (Y)
401
+ overflows: A
402
+ }], !A.every((T) => T <= 0)) {
403
+ var P, C;
404
+ const T = (((P = s.flip) == null ? void 0 : P.index) || 0) + 1, ee = S[T];
405
+ if (ee)
398
406
  return {
399
407
  data: {
400
- index: P,
401
- overflows: O
408
+ index: T,
409
+ overflows: x
402
410
  },
403
411
  reset: {
404
- placement: Y
412
+ placement: ee
405
413
  }
406
414
  };
407
- let C = (S = O.filter((k) => k.overflows[0] <= 0).sort((k, R) => k.overflows[1] - R.overflows[1])[0]) == null ? void 0 : S.placement;
408
- if (!C)
409
- switch (p) {
415
+ let F = (C = x.filter((R) => R.overflows[0] <= 0).sort((R, j) => R.overflows[1] - j.overflows[1])[0]) == null ? void 0 : C.placement;
416
+ if (!F)
417
+ switch (h) {
410
418
  case "bestFit": {
411
- var N;
412
- const k = (N = O.map((R) => [R.placement, R.overflows.filter((F) => F > 0).reduce((F, Et) => F + Et, 0)]).sort((R, F) => R[1] - F[1])[0]) == null ? void 0 : N[0];
413
- k && (C = k);
419
+ var M;
420
+ const R = (M = x.filter((j) => {
421
+ if (z) {
422
+ const W = Z(j.placement);
423
+ return W === v || // Create a bias to the `y` side axis due to horizontal
424
+ // reading directions favoring greater width.
425
+ W === "y";
426
+ }
427
+ return !0;
428
+ }).map((j) => [j.placement, j.overflows.filter((W) => W > 0).reduce((W, Ft) => W + Ft, 0)]).sort((j, W) => j[1] - W[1])[0]) == null ? void 0 : M[0];
429
+ R && (F = R);
414
430
  break;
415
431
  }
416
432
  case "initialPlacement":
417
- C = a;
433
+ F = a;
418
434
  break;
419
435
  }
420
- if (n !== C)
436
+ if (n !== F)
421
437
  return {
422
438
  reset: {
423
- placement: C
439
+ placement: F
424
440
  }
425
441
  };
426
442
  }
@@ -428,51 +444,56 @@ const ro = function(e) {
428
444
  }
429
445
  };
430
446
  };
431
- async function lo(e, t) {
447
+ async function co(e, t) {
432
448
  const {
433
449
  placement: o,
434
450
  platform: i,
435
451
  elements: n
436
- } = e, s = await (i.isRTL == null ? void 0 : i.isRTL(n.floating)), r = D(o), a = L(o), l = ce(o) === "y", d = ["left", "top"].includes(r) ? -1 : 1, f = s && l ? -1 : 1, c = Q(t, e);
452
+ } = e, s = await (i.isRTL == null ? void 0 : i.isRTL(n.floating)), r = E(o), a = k(o), l = Z(o) === "y", d = ["left", "top"].includes(r) ? -1 : 1, c = s && l ? -1 : 1, p = J(t, e);
437
453
  let {
438
- mainAxis: h,
439
- crossAxis: p,
440
- alignmentAxis: u
441
- } = typeof c == "number" ? {
442
- mainAxis: c,
454
+ mainAxis: u,
455
+ crossAxis: h,
456
+ alignmentAxis: f
457
+ } = typeof p == "number" ? {
458
+ mainAxis: p,
443
459
  crossAxis: 0,
444
460
  alignmentAxis: null
445
461
  } : {
446
- mainAxis: 0,
447
- crossAxis: 0,
448
- alignmentAxis: null,
449
- ...c
462
+ mainAxis: p.mainAxis || 0,
463
+ crossAxis: p.crossAxis || 0,
464
+ alignmentAxis: p.alignmentAxis
450
465
  };
451
- return a && typeof u == "number" && (p = a === "end" ? u * -1 : u), l ? {
452
- x: p * f,
453
- y: h * d
466
+ return a && typeof f == "number" && (h = a === "end" ? f * -1 : f), l ? {
467
+ x: h * c,
468
+ y: u * d
454
469
  } : {
455
- x: h * d,
456
- y: p * f
470
+ x: u * d,
471
+ y: h * c
457
472
  };
458
473
  }
459
- const po = function(e) {
474
+ const ho = function(e) {
460
475
  return e === void 0 && (e = 0), {
461
476
  name: "offset",
462
477
  options: e,
463
478
  async fn(t) {
479
+ var o, i;
464
480
  const {
465
- x: o,
466
- y: i
467
- } = t, n = await lo(t, e);
468
- return {
469
- x: o + n.x,
470
- y: i + n.y,
471
- data: n
481
+ x: n,
482
+ y: s,
483
+ placement: r,
484
+ middlewareData: a
485
+ } = t, l = await co(t, e);
486
+ return r === ((o = a.offset) == null ? void 0 : o.placement) && (i = a.arrow) != null && i.alignmentOffset ? {} : {
487
+ x: n + l.x,
488
+ y: s + l.y,
489
+ data: {
490
+ ...l,
491
+ placement: r
492
+ }
472
493
  };
473
494
  }
474
495
  };
475
- }, co = function(e) {
496
+ }, uo = function(e) {
476
497
  return e === void 0 && (e = {}), {
477
498
  name: "shift",
478
499
  options: e,
@@ -497,73 +518,71 @@ const po = function(e) {
497
518
  }
498
519
  },
499
520
  ...l
500
- } = Q(e, t), d = {
521
+ } = J(e, t), d = {
501
522
  x: o,
502
523
  y: i
503
- }, f = await Te(t, l), c = ce(D(n)), h = ut(c);
504
- let p = d[h], u = d[c];
524
+ }, c = await Pe(t, l), p = Z(E(n)), u = mt(p);
525
+ let h = d[u], f = d[p];
505
526
  if (s) {
506
- const w = h === "y" ? "top" : "left", g = h === "y" ? "bottom" : "right", v = p + f[w], $ = p - f[g];
507
- p = Me(v, p, $);
527
+ const w = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", v = h + c[w], $ = h - c[g];
528
+ h = Re(v, h, $);
508
529
  }
509
530
  if (r) {
510
- const w = c === "y" ? "top" : "left", g = c === "y" ? "bottom" : "right", v = u + f[w], $ = u - f[g];
511
- u = Me(v, u, $);
531
+ const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", v = f + c[w], $ = f - c[g];
532
+ f = Re(v, f, $);
512
533
  }
513
534
  const m = a.fn({
514
535
  ...t,
515
- [h]: p,
516
- [c]: u
536
+ [u]: h,
537
+ [p]: f
517
538
  });
518
539
  return {
519
540
  ...m,
520
541
  data: {
521
542
  x: m.x - o,
522
- y: m.y - i
543
+ y: m.y - i,
544
+ enabled: {
545
+ [u]: s,
546
+ [p]: r
547
+ }
523
548
  }
524
549
  };
525
550
  }
526
551
  };
527
- }, ho = function(e) {
552
+ }, fo = function(e) {
528
553
  return e === void 0 && (e = {}), {
529
554
  name: "size",
530
555
  options: e,
531
556
  async fn(t) {
557
+ var o, i;
532
558
  const {
533
- placement: o,
534
- rects: i,
535
- platform: n,
536
- elements: s
559
+ placement: n,
560
+ rects: s,
561
+ platform: r,
562
+ elements: a
537
563
  } = t, {
538
- apply: r = () => {
564
+ apply: l = () => {
539
565
  },
540
- ...a
541
- } = Q(e, t), l = await Te(t, a), d = D(o), f = L(o), c = ce(o) === "y", {
542
- width: h,
543
- height: p
544
- } = i.floating;
545
- let u, m;
546
- d === "top" || d === "bottom" ? (u = d, m = f === (await (n.isRTL == null ? void 0 : n.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = d, u = f === "end" ? "top" : "bottom");
547
- const w = p - l[u], g = h - l[m], v = !t.middlewareData.shift;
548
- let $ = w, x = g;
549
- if (c) {
550
- const b = h - l.left - l.right;
551
- x = f || v ? re(g, b) : b;
552
- } else {
553
- const b = p - l.top - l.bottom;
554
- $ = f || v ? re(w, b) : b;
566
+ ...d
567
+ } = J(e, t), c = await Pe(t, d), p = E(n), u = k(n), h = Z(n) === "y", {
568
+ width: f,
569
+ height: m
570
+ } = s.floating;
571
+ let w, g;
572
+ p === "top" || p === "bottom" ? (w = p, g = u === (await (r.isRTL == null ? void 0 : r.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (g = p, w = u === "end" ? "top" : "bottom");
573
+ const v = m - c.top - c.bottom, $ = f - c.left - c.right, b = de(m - c[w], v), _ = de(f - c[g], $), z = !t.middlewareData.shift;
574
+ let S = b, L = _;
575
+ if ((o = t.middlewareData.shift) != null && o.enabled.x && (L = $), (i = t.middlewareData.shift) != null && i.enabled.y && (S = v), z && !u) {
576
+ const x = K(c.left, 0), P = K(c.right, 0), C = K(c.top, 0), M = K(c.bottom, 0);
577
+ h ? L = f - 2 * (x !== 0 || P !== 0 ? x + P : K(c.left, c.right)) : S = m - 2 * (C !== 0 || M !== 0 ? C + M : K(c.top, c.bottom));
555
578
  }
556
- if (v && !f) {
557
- const b = X(l.left, 0), T = X(l.right, 0), O = X(l.top, 0), z = X(l.bottom, 0);
558
- c ? x = h - 2 * (b !== 0 || T !== 0 ? b + T : X(l.left, l.right)) : $ = p - 2 * (O !== 0 || z !== 0 ? O + z : X(l.top, l.bottom));
559
- }
560
- await r({
579
+ await l({
561
580
  ...t,
562
- availableWidth: x,
563
- availableHeight: $
581
+ availableWidth: L,
582
+ availableHeight: S
564
583
  });
565
- const _ = await n.getDimensions(s.floating);
566
- return h !== _.width || p !== _.height ? {
584
+ const A = await r.getDimensions(a.floating);
585
+ return f !== A.width || m !== A.height ? {
567
586
  reset: {
568
587
  rects: !0
569
588
  }
@@ -571,204 +590,204 @@ const po = function(e) {
571
590
  }
572
591
  };
573
592
  };
574
- function A(e) {
593
+ function O(e) {
575
594
  var t;
576
595
  return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
577
596
  }
578
597
  function B(e) {
579
- return A(e).getComputedStyle(e);
598
+ return O(e).getComputedStyle(e);
580
599
  }
581
- const Ue = Math.min, te = Math.max, ye = Math.round;
582
- function gt(e) {
600
+ const Ke = Math.min, ne = Math.max, _e = Math.round;
601
+ function vt(e) {
583
602
  const t = B(e);
584
603
  let o = parseFloat(t.width), i = parseFloat(t.height);
585
- const n = e.offsetWidth, s = e.offsetHeight, r = ye(o) !== n || ye(i) !== s;
604
+ const n = e.offsetWidth, s = e.offsetHeight, r = _e(o) !== n || _e(i) !== s;
586
605
  return r && (o = n, i = s), { width: o, height: i, fallback: r };
587
606
  }
588
- function G(e) {
589
- return vt(e) ? (e.nodeName || "").toLowerCase() : "";
607
+ function U(e) {
608
+ return $t(e) ? (e.nodeName || "").toLowerCase() : "";
590
609
  }
591
- let he;
592
- function wt() {
593
- if (he) return he;
610
+ let fe;
611
+ function yt() {
612
+ if (fe) return fe;
594
613
  const e = navigator.userAgentData;
595
- return e && Array.isArray(e.brands) ? (he = e.brands.map((t) => t.brand + "/" + t.version).join(" "), he) : navigator.userAgent;
614
+ return e && Array.isArray(e.brands) ? (fe = e.brands.map((t) => t.brand + "/" + t.version).join(" "), fe) : navigator.userAgent;
596
615
  }
597
- function E(e) {
598
- return e instanceof A(e).HTMLElement;
616
+ function D(e) {
617
+ return e instanceof O(e).HTMLElement;
599
618
  }
600
- function V(e) {
601
- return e instanceof A(e).Element;
619
+ function G(e) {
620
+ return e instanceof O(e).Element;
602
621
  }
603
- function vt(e) {
604
- return e instanceof A(e).Node;
622
+ function $t(e) {
623
+ return e instanceof O(e).Node;
605
624
  }
606
- function Xe(e) {
607
- return typeof ShadowRoot > "u" ? !1 : e instanceof A(e).ShadowRoot || e instanceof ShadowRoot;
625
+ function Qe(e) {
626
+ return typeof ShadowRoot > "u" ? !1 : e instanceof O(e).ShadowRoot || e instanceof ShadowRoot;
608
627
  }
609
- function Se(e) {
628
+ function Ae(e) {
610
629
  const { overflow: t, overflowX: o, overflowY: i, display: n } = B(e);
611
630
  return /auto|scroll|overlay|hidden|clip/.test(t + i + o) && !["inline", "contents"].includes(n);
612
631
  }
613
- function uo(e) {
614
- return ["table", "td", "th"].includes(G(e));
632
+ function mo(e) {
633
+ return ["table", "td", "th"].includes(U(e));
615
634
  }
616
- function ke(e) {
617
- const t = /firefox/i.test(wt()), o = B(e), i = o.backdropFilter || o.WebkitBackdropFilter;
635
+ function Be(e) {
636
+ const t = /firefox/i.test(yt()), o = B(e), i = o.backdropFilter || o.WebkitBackdropFilter;
618
637
  return o.transform !== "none" || o.perspective !== "none" || !!i && i !== "none" || t && o.willChange === "filter" || t && !!o.filter && o.filter !== "none" || ["transform", "perspective"].some((n) => o.willChange.includes(n)) || ["paint", "layout", "strict", "content"].some((n) => {
619
638
  const s = o.contain;
620
639
  return s != null && s.includes(n);
621
640
  });
622
641
  }
623
- function yt() {
624
- return !/^((?!chrome|android).)*safari/i.test(wt());
625
- }
626
- function je(e) {
627
- return ["html", "body", "#document"].includes(G(e));
642
+ function _t() {
643
+ return !/^((?!chrome|android).)*safari/i.test(yt());
628
644
  }
629
- function $t(e) {
630
- return V(e) ? e : e.contextElement;
645
+ function Ve(e) {
646
+ return ["html", "body", "#document"].includes(U(e));
631
647
  }
632
- const _t = { x: 1, y: 1 };
633
- function Z(e) {
634
- const t = $t(e);
635
- if (!E(t)) return _t;
636
- const o = t.getBoundingClientRect(), { width: i, height: n, fallback: s } = gt(t);
637
- let r = (s ? ye(o.width) : o.width) / i, a = (s ? ye(o.height) : o.height) / n;
648
+ function xt(e) {
649
+ return G(e) ? e : e.contextElement;
650
+ }
651
+ const bt = { x: 1, y: 1 };
652
+ function te(e) {
653
+ const t = xt(e);
654
+ if (!D(t)) return bt;
655
+ const o = t.getBoundingClientRect(), { width: i, height: n, fallback: s } = vt(t);
656
+ let r = (s ? _e(o.width) : o.width) / i, a = (s ? _e(o.height) : o.height) / n;
638
657
  return r && Number.isFinite(r) || (r = 1), a && Number.isFinite(a) || (a = 1), { x: r, y: a };
639
658
  }
640
- function ae(e, t, o, i) {
659
+ function pe(e, t, o, i) {
641
660
  var n, s;
642
661
  t === void 0 && (t = !1), o === void 0 && (o = !1);
643
- const r = e.getBoundingClientRect(), a = $t(e);
644
- let l = _t;
645
- t && (i ? V(i) && (l = Z(i)) : l = Z(e));
646
- const d = a ? A(a) : window, f = !yt() && o;
647
- let c = (r.left + (f && ((n = d.visualViewport) == null ? void 0 : n.offsetLeft) || 0)) / l.x, h = (r.top + (f && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / l.y, p = r.width / l.x, u = r.height / l.y;
662
+ const r = e.getBoundingClientRect(), a = xt(e);
663
+ let l = bt;
664
+ t && (i ? G(i) && (l = te(i)) : l = te(e));
665
+ const d = a ? O(a) : window, c = !_t() && o;
666
+ let p = (r.left + (c && ((n = d.visualViewport) == null ? void 0 : n.offsetLeft) || 0)) / l.x, u = (r.top + (c && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / l.y, h = r.width / l.x, f = r.height / l.y;
648
667
  if (a) {
649
- const m = A(a), w = i && V(i) ? A(i) : i;
668
+ const m = O(a), w = i && G(i) ? O(i) : i;
650
669
  let g = m.frameElement;
651
670
  for (; g && i && w !== m; ) {
652
- const v = Z(g), $ = g.getBoundingClientRect(), x = getComputedStyle(g);
653
- $.x += (g.clientLeft + parseFloat(x.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(x.paddingTop)) * v.y, c *= v.x, h *= v.y, p *= v.x, u *= v.y, c += $.x, h += $.y, g = A(g).frameElement;
671
+ const v = te(g), $ = g.getBoundingClientRect(), b = getComputedStyle(g);
672
+ $.x += (g.clientLeft + parseFloat(b.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(b.paddingTop)) * v.y, p *= v.x, u *= v.y, h *= v.x, f *= v.y, p += $.x, u += $.y, g = O(g).frameElement;
654
673
  }
655
674
  }
656
- return { width: p, height: u, top: h, right: c + p, bottom: h + u, left: c, x: c, y: h };
675
+ return { width: h, height: f, top: u, right: p + h, bottom: u + f, left: p, x: p, y: u };
657
676
  }
658
- function q(e) {
659
- return ((vt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
677
+ function Y(e) {
678
+ return (($t(e) ? e.ownerDocument : e.document) || window.document).documentElement;
660
679
  }
661
- function Pe(e) {
662
- return V(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
680
+ function Ce(e) {
681
+ return G(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
663
682
  }
664
- function xt(e) {
665
- return ae(q(e)).left + Pe(e).scrollLeft;
683
+ function Tt(e) {
684
+ return pe(Y(e)).left + Ce(e).scrollLeft;
666
685
  }
667
- function le(e) {
668
- if (G(e) === "html") return e;
669
- const t = e.assignedSlot || e.parentNode || Xe(e) && e.host || q(e);
670
- return Xe(t) ? t.host : t;
686
+ function ce(e) {
687
+ if (U(e) === "html") return e;
688
+ const t = e.assignedSlot || e.parentNode || Qe(e) && e.host || Y(e);
689
+ return Qe(t) ? t.host : t;
671
690
  }
672
- function bt(e) {
673
- const t = le(e);
674
- return je(t) ? t.ownerDocument.body : E(t) && Se(t) ? t : bt(t);
691
+ function St(e) {
692
+ const t = ce(e);
693
+ return Ve(t) ? t.ownerDocument.body : D(t) && Ae(t) ? t : St(t);
675
694
  }
676
- function $e(e, t) {
695
+ function xe(e, t) {
677
696
  var o;
678
697
  t === void 0 && (t = []);
679
- const i = bt(e), n = i === ((o = e.ownerDocument) == null ? void 0 : o.body), s = A(i);
680
- return n ? t.concat(s, s.visualViewport || [], Se(i) ? i : []) : t.concat(i, $e(i));
698
+ const i = St(e), n = i === ((o = e.ownerDocument) == null ? void 0 : o.body), s = O(i);
699
+ return n ? t.concat(s, s.visualViewport || [], Ae(i) ? i : []) : t.concat(i, xe(i));
681
700
  }
682
- function Ke(e, t, o) {
683
- return t === "viewport" ? ee(function(i, n) {
684
- const s = A(i), r = q(i), a = s.visualViewport;
685
- let l = r.clientWidth, d = r.clientHeight, f = 0, c = 0;
701
+ function Ze(e, t, o) {
702
+ return t === "viewport" ? ie(function(i, n) {
703
+ const s = O(i), r = Y(i), a = s.visualViewport;
704
+ let l = r.clientWidth, d = r.clientHeight, c = 0, p = 0;
686
705
  if (a) {
687
706
  l = a.width, d = a.height;
688
- const h = yt();
689
- (h || !h && n === "fixed") && (f = a.offsetLeft, c = a.offsetTop);
707
+ const u = _t();
708
+ (u || !u && n === "fixed") && (c = a.offsetLeft, p = a.offsetTop);
690
709
  }
691
- return { width: l, height: d, x: f, y: c };
692
- }(e, o)) : V(t) ? ee(function(i, n) {
693
- const s = ae(i, !0, n === "fixed"), r = s.top + i.clientTop, a = s.left + i.clientLeft, l = E(i) ? Z(i) : { x: 1, y: 1 };
710
+ return { width: l, height: d, x: c, y: p };
711
+ }(e, o)) : G(t) ? ie(function(i, n) {
712
+ const s = pe(i, !0, n === "fixed"), r = s.top + i.clientTop, a = s.left + i.clientLeft, l = D(i) ? te(i) : { x: 1, y: 1 };
694
713
  return { width: i.clientWidth * l.x, height: i.clientHeight * l.y, x: a * l.x, y: r * l.y };
695
- }(t, o)) : ee(function(i) {
696
- const n = q(i), s = Pe(i), r = i.ownerDocument.body, a = te(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), l = te(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
697
- let d = -s.scrollLeft + xt(i);
698
- const f = -s.scrollTop;
699
- return B(r).direction === "rtl" && (d += te(n.clientWidth, r.clientWidth) - a), { width: a, height: l, x: d, y: f };
700
- }(q(e)));
714
+ }(t, o)) : ie(function(i) {
715
+ const n = Y(i), s = Ce(i), r = i.ownerDocument.body, a = ne(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), l = ne(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
716
+ let d = -s.scrollLeft + Tt(i);
717
+ const c = -s.scrollTop;
718
+ return B(r).direction === "rtl" && (d += ne(n.clientWidth, r.clientWidth) - a), { width: a, height: l, x: d, y: c };
719
+ }(Y(e)));
701
720
  }
702
- function Qe(e) {
703
- return E(e) && B(e).position !== "fixed" ? e.offsetParent : null;
704
- }
705
- function Ze(e) {
706
- const t = A(e);
707
- let o = Qe(e);
708
- for (; o && uo(o) && B(o).position === "static"; ) o = Qe(o);
709
- return o && (G(o) === "html" || G(o) === "body" && B(o).position === "static" && !ke(o)) ? t : o || function(i) {
710
- let n = le(i);
711
- for (; E(n) && !je(n); ) {
712
- if (ke(n)) return n;
713
- n = le(n);
721
+ function Je(e) {
722
+ return D(e) && B(e).position !== "fixed" ? e.offsetParent : null;
723
+ }
724
+ function et(e) {
725
+ const t = O(e);
726
+ let o = Je(e);
727
+ for (; o && mo(o) && B(o).position === "static"; ) o = Je(o);
728
+ return o && (U(o) === "html" || U(o) === "body" && B(o).position === "static" && !Be(o)) ? t : o || function(i) {
729
+ let n = ce(i);
730
+ for (; D(n) && !Ve(n); ) {
731
+ if (Be(n)) return n;
732
+ n = ce(n);
714
733
  }
715
734
  return null;
716
735
  }(e) || t;
717
736
  }
718
- function fo(e, t, o) {
719
- const i = E(t), n = q(t), s = ae(e, !0, o === "fixed", t);
737
+ function go(e, t, o) {
738
+ const i = D(t), n = Y(t), s = pe(e, !0, o === "fixed", t);
720
739
  let r = { scrollLeft: 0, scrollTop: 0 };
721
740
  const a = { x: 0, y: 0 };
722
- if (i || !i && o !== "fixed") if ((G(t) !== "body" || Se(n)) && (r = Pe(t)), E(t)) {
723
- const l = ae(t, !0);
741
+ if (i || !i && o !== "fixed") if ((U(t) !== "body" || Ae(n)) && (r = Ce(t)), D(t)) {
742
+ const l = pe(t, !0);
724
743
  a.x = l.x + t.clientLeft, a.y = l.y + t.clientTop;
725
- } else n && (a.x = xt(n));
744
+ } else n && (a.x = Tt(n));
726
745
  return { x: s.left + r.scrollLeft - a.x, y: s.top + r.scrollTop - a.y, width: s.width, height: s.height };
727
746
  }
728
- const mo = { getClippingRect: function(e) {
747
+ const wo = { getClippingRect: function(e) {
729
748
  let { element: t, boundary: o, rootBoundary: i, strategy: n } = e;
730
- const s = o === "clippingAncestors" ? function(d, f) {
731
- const c = f.get(d);
732
- if (c) return c;
733
- let h = $e(d).filter((w) => V(w) && G(w) !== "body"), p = null;
734
- const u = B(d).position === "fixed";
735
- let m = u ? le(d) : d;
736
- for (; V(m) && !je(m); ) {
737
- const w = B(m), g = ke(m);
738
- (u ? g || p : g || w.position !== "static" || !p || !["absolute", "fixed"].includes(p.position)) ? p = w : h = h.filter((v) => v !== m), m = le(m);
749
+ const s = o === "clippingAncestors" ? function(d, c) {
750
+ const p = c.get(d);
751
+ if (p) return p;
752
+ let u = xe(d).filter((w) => G(w) && U(w) !== "body"), h = null;
753
+ const f = B(d).position === "fixed";
754
+ let m = f ? ce(d) : d;
755
+ for (; G(m) && !Ve(m); ) {
756
+ const w = B(m), g = Be(m);
757
+ (f ? g || h : g || w.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = w : u = u.filter((v) => v !== m), m = ce(m);
739
758
  }
740
- return f.set(d, h), h;
741
- }(t, this._c) : [].concat(o), r = [...s, i], a = r[0], l = r.reduce((d, f) => {
742
- const c = Ke(t, f, n);
743
- return d.top = te(c.top, d.top), d.right = Ue(c.right, d.right), d.bottom = Ue(c.bottom, d.bottom), d.left = te(c.left, d.left), d;
744
- }, Ke(t, a, n));
759
+ return c.set(d, u), u;
760
+ }(t, this._c) : [].concat(o), r = [...s, i], a = r[0], l = r.reduce((d, c) => {
761
+ const p = Ze(t, c, n);
762
+ return d.top = ne(p.top, d.top), d.right = Ke(p.right, d.right), d.bottom = Ke(p.bottom, d.bottom), d.left = ne(p.left, d.left), d;
763
+ }, Ze(t, a, n));
745
764
  return { width: l.right - l.left, height: l.bottom - l.top, x: l.left, y: l.top };
746
765
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
747
766
  let { rect: t, offsetParent: o, strategy: i } = e;
748
- const n = E(o), s = q(o);
767
+ const n = D(o), s = Y(o);
749
768
  if (o === s) return t;
750
769
  let r = { scrollLeft: 0, scrollTop: 0 }, a = { x: 1, y: 1 };
751
770
  const l = { x: 0, y: 0 };
752
- if ((n || !n && i !== "fixed") && ((G(o) !== "body" || Se(s)) && (r = Pe(o)), E(o))) {
753
- const d = ae(o);
754
- a = Z(o), l.x = d.x + o.clientLeft, l.y = d.y + o.clientTop;
771
+ if ((n || !n && i !== "fixed") && ((U(o) !== "body" || Ae(s)) && (r = Ce(o)), D(o))) {
772
+ const d = pe(o);
773
+ a = te(o), l.x = d.x + o.clientLeft, l.y = d.y + o.clientTop;
755
774
  }
756
775
  return { width: t.width * a.x, height: t.height * a.y, x: t.x * a.x - r.scrollLeft * a.x + l.x, y: t.y * a.y - r.scrollTop * a.y + l.y };
757
- }, isElement: V, getDimensions: function(e) {
758
- return E(e) ? gt(e) : e.getBoundingClientRect();
759
- }, getOffsetParent: Ze, getDocumentElement: q, getScale: Z, async getElementRects(e) {
776
+ }, isElement: G, getDimensions: function(e) {
777
+ return D(e) ? vt(e) : e.getBoundingClientRect();
778
+ }, getOffsetParent: et, getDocumentElement: Y, getScale: te, async getElementRects(e) {
760
779
  let { reference: t, floating: o, strategy: i } = e;
761
- const n = this.getOffsetParent || Ze, s = this.getDimensions;
762
- return { reference: fo(t, await n(o), i), floating: { x: 0, y: 0, ...await s(o) } };
763
- }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => B(e).direction === "rtl" }, go = (e, t, o) => {
764
- const i = /* @__PURE__ */ new Map(), n = { platform: mo, ...o }, s = { ...n.platform, _c: i };
765
- return io(e, t, { ...n, platform: s });
780
+ const n = this.getOffsetParent || et, s = this.getDimensions;
781
+ return { reference: go(t, await n(o), i), floating: { x: 0, y: 0, ...await s(o) } };
782
+ }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => B(e).direction === "rtl" }, vo = (e, t, o) => {
783
+ const i = /* @__PURE__ */ new Map(), n = { platform: wo, ...o }, s = { ...n.platform, _c: i };
784
+ return so(e, t, { ...n, platform: s });
766
785
  };
767
- function Tt(e, t) {
786
+ function Pt(e, t) {
768
787
  for (const o in t)
769
- Object.prototype.hasOwnProperty.call(t, o) && (typeof t[o] == "object" && e[o] ? Tt(e[o], t[o]) : e[o] = t[o]);
788
+ Object.prototype.hasOwnProperty.call(t, o) && (typeof t[o] == "object" && e[o] ? Pt(e[o], t[o]) : e[o] = t[o]);
770
789
  }
771
- const M = {
790
+ const H = {
772
791
  // Disable popper components
773
792
  disabled: !1,
774
793
  // Default position offset along main axis (px)
@@ -847,96 +866,96 @@ const M = {
847
866
  }
848
867
  }
849
868
  };
850
- function de(e, t) {
851
- let o = M.themes[e] || {}, i;
869
+ function he(e, t) {
870
+ let o = H.themes[e] || {}, i;
852
871
  do
853
- i = o[t], typeof i > "u" ? o.$extend ? o = M.themes[o.$extend] || {} : (o = null, i = M[t]) : o = null;
872
+ i = o[t], typeof i > "u" ? o.$extend ? o = H.themes[o.$extend] || {} : (o = null, i = H[t]) : o = null;
854
873
  while (o);
855
874
  return i;
856
875
  }
857
- function wo(e) {
876
+ function yo(e) {
858
877
  const t = [e];
859
- let o = M.themes[e] || {};
878
+ let o = H.themes[e] || {};
860
879
  do
861
- o.$extend && !o.$resetCss ? (t.push(o.$extend), o = M.themes[o.$extend] || {}) : o = null;
880
+ o.$extend && !o.$resetCss ? (t.push(o.$extend), o = H.themes[o.$extend] || {}) : o = null;
862
881
  while (o);
863
882
  return t.map((i) => `v-popper--theme-${i}`);
864
883
  }
865
- function Je(e) {
884
+ function tt(e) {
866
885
  const t = [e];
867
- let o = M.themes[e] || {};
886
+ let o = H.themes[e] || {};
868
887
  do
869
- o.$extend ? (t.push(o.$extend), o = M.themes[o.$extend] || {}) : o = null;
888
+ o.$extend ? (t.push(o.$extend), o = H.themes[o.$extend] || {}) : o = null;
870
889
  while (o);
871
890
  return t;
872
891
  }
873
- let J = !1;
892
+ let oe = !1;
874
893
  if (typeof window < "u") {
875
- J = !1;
894
+ oe = !1;
876
895
  try {
877
896
  const e = Object.defineProperty({}, "passive", {
878
897
  get() {
879
- J = !0;
898
+ oe = !0;
880
899
  }
881
900
  });
882
901
  window.addEventListener("test", null, e);
883
902
  } catch {
884
903
  }
885
904
  }
886
- let St = !1;
887
- typeof window < "u" && typeof navigator < "u" && (St = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
888
- const Pt = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
905
+ let At = !1;
906
+ typeof window < "u" && typeof navigator < "u" && (At = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
907
+ const Ct = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
889
908
  t,
890
909
  `${t}-start`,
891
910
  `${t}-end`
892
- ]), []), et = {
911
+ ]), []), ot = {
893
912
  hover: "mouseenter",
894
913
  focus: "focus",
895
914
  click: "click",
896
915
  touch: "touchstart",
897
916
  pointer: "pointerdown"
898
- }, tt = {
917
+ }, it = {
899
918
  hover: "mouseleave",
900
919
  focus: "blur",
901
920
  click: "click",
902
921
  touch: "touchend",
903
922
  pointer: "pointerup"
904
923
  };
905
- function ot(e, t) {
924
+ function nt(e, t) {
906
925
  const o = e.indexOf(t);
907
926
  o !== -1 && e.splice(o, 1);
908
927
  }
909
- function ze() {
928
+ function ke() {
910
929
  return new Promise((e) => requestAnimationFrame(() => {
911
930
  requestAnimationFrame(e);
912
931
  }));
913
932
  }
914
- const H = [];
915
- let U = null;
916
- const it = {};
917
- function nt(e) {
918
- let t = it[e];
919
- return t || (t = it[e] = []), t;
933
+ const N = [];
934
+ let X = null;
935
+ const st = {};
936
+ function rt(e) {
937
+ let t = st[e];
938
+ return t || (t = st[e] = []), t;
920
939
  }
921
- let Re = function() {
940
+ let De = function() {
922
941
  };
923
- typeof window < "u" && (Re = window.Element);
942
+ typeof window < "u" && (De = window.Element);
924
943
  function y(e) {
925
944
  return function(t) {
926
- return de(t.theme, e);
945
+ return he(t.theme, e);
927
946
  };
928
947
  }
929
- const Ne = "__floating-vue__popper", Ct = () => xe({
948
+ const He = "__floating-vue__popper", Ot = () => Te({
930
949
  name: "VPopper",
931
950
  provide() {
932
951
  return {
933
- [Ne]: {
952
+ [He]: {
934
953
  parentPopper: this
935
954
  }
936
955
  };
937
956
  },
938
957
  inject: {
939
- [Ne]: { default: null }
958
+ [He]: { default: null }
940
959
  },
941
960
  props: {
942
961
  theme: {
@@ -978,7 +997,7 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
978
997
  placement: {
979
998
  type: String,
980
999
  default: y("placement"),
981
- validator: (e) => Pt.includes(e)
1000
+ validator: (e) => Ct.includes(e)
982
1001
  },
983
1002
  delay: {
984
1003
  type: [String, Number, Object],
@@ -1017,11 +1036,11 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1017
1036
  default: y("popperHideTriggers")
1018
1037
  },
1019
1038
  container: {
1020
- type: [String, Object, Re, Boolean],
1039
+ type: [String, Object, De, Boolean],
1021
1040
  default: y("container")
1022
1041
  },
1023
1042
  boundary: {
1024
- type: [String, Re],
1043
+ type: [String, De],
1025
1044
  default: y("boundary")
1026
1045
  },
1027
1046
  strategy: {
@@ -1183,7 +1202,7 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1183
1202
  },
1184
1203
  parentPopper() {
1185
1204
  var e;
1186
- return (e = this[Ne]) == null ? void 0 : e.parentPopper;
1205
+ return (e = this[He]) == null ? void 0 : e.parentPopper;
1187
1206
  },
1188
1207
  hasPopperShowTriggerHover() {
1189
1208
  var e, t;
@@ -1272,21 +1291,21 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1272
1291
  strategy: this.strategy,
1273
1292
  middleware: []
1274
1293
  };
1275
- (this.distance || this.skidding) && e.middleware.push(po({
1294
+ (this.distance || this.skidding) && e.middleware.push(ho({
1276
1295
  mainAxis: this.distance,
1277
1296
  crossAxis: this.skidding
1278
1297
  }));
1279
1298
  const t = this.placement.startsWith("auto");
1280
- if (t ? e.middleware.push(ro({
1299
+ if (t ? e.middleware.push(lo({
1281
1300
  alignment: this.placement.split("-")[1] ?? ""
1282
- })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(co({
1301
+ })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(uo({
1283
1302
  padding: this.overflowPadding,
1284
1303
  boundary: this.boundary,
1285
1304
  crossAxis: this.shiftCrossAxis
1286
- })), !t && this.flip && e.middleware.push(ao({
1305
+ })), !t && this.flip && e.middleware.push(po({
1287
1306
  padding: this.overflowPadding,
1288
1307
  boundary: this.boundary
1289
- }))), e.middleware.push(no({
1308
+ }))), e.middleware.push(ro({
1290
1309
  element: this.$_arrowNode,
1291
1310
  padding: this.arrowPadding
1292
1311
  })), this.arrowOverflow && e.middleware.push({
@@ -1320,14 +1339,14 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1320
1339
  }
1321
1340
  });
1322
1341
  }
1323
- (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(ho({
1342
+ (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(fo({
1324
1343
  boundary: this.boundary,
1325
1344
  padding: this.overflowPadding,
1326
1345
  apply: ({ availableWidth: i, availableHeight: n }) => {
1327
1346
  this.$_innerNode.style.maxWidth = i != null ? `${i}px` : null, this.$_innerNode.style.maxHeight = n != null ? `${n}px` : null;
1328
1347
  }
1329
1348
  })));
1330
- const o = await go(this.$_referenceNode, this.$_popperNode, e);
1349
+ const o = await vo(this.$_referenceNode, this.$_popperNode, e);
1331
1350
  Object.assign(this.result, {
1332
1351
  x: o.x,
1333
1352
  y: o.y,
@@ -1340,8 +1359,8 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1340
1359
  });
1341
1360
  },
1342
1361
  $_scheduleShow(e, t = !1) {
1343
- if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), U && this.instantMove && U.instantMove && U !== this.parentPopper) {
1344
- U.$_applyHide(!0), this.$_applyShow(!0);
1362
+ if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), X && this.instantMove && X.instantMove && X !== this.parentPopper) {
1363
+ X.$_applyHide(!0), this.$_applyShow(!0);
1345
1364
  return;
1346
1365
  }
1347
1366
  t ? this.$_applyShow() : this.$_scheduleTimer = setTimeout(this.$_applyShow.bind(this), this.$_computeDelay("show"));
@@ -1351,16 +1370,16 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1351
1370
  this.pendingHide = !0;
1352
1371
  return;
1353
1372
  }
1354
- this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (U = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1373
+ this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (X = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1355
1374
  },
1356
1375
  $_computeDelay(e) {
1357
1376
  const t = this.delay;
1358
1377
  return parseInt(t && t[e] || t || 0);
1359
1378
  },
1360
1379
  async $_applyShow(e = !1) {
1361
- clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await ze(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1362
- ...$e(this.$_referenceNode),
1363
- ...$e(this.$_popperNode)
1380
+ clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await ke(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1381
+ ...xe(this.$_referenceNode),
1382
+ ...xe(this.$_popperNode)
1364
1383
  ], "scroll", () => {
1365
1384
  this.$_computePosition();
1366
1385
  }));
@@ -1379,13 +1398,13 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1379
1398
  const e = this.showGroup;
1380
1399
  if (e) {
1381
1400
  let t;
1382
- for (let o = 0; o < H.length; o++)
1383
- t = H[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1401
+ for (let o = 0; o < N.length; o++)
1402
+ t = N[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1384
1403
  }
1385
- H.push(this), document.body.classList.add("v-popper--some-open");
1386
- for (const t of Je(this.theme))
1387
- nt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1388
- this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await ze(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1404
+ N.push(this), document.body.classList.add("v-popper--some-open");
1405
+ for (const t of tt(this.theme))
1406
+ rt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1407
+ this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await ke(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1389
1408
  },
1390
1409
  async $_applyHide(e = !1) {
1391
1410
  if (this.shownChildren.size > 0) {
@@ -1394,19 +1413,19 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1394
1413
  }
1395
1414
  if (clearTimeout(this.$_scheduleTimer), !this.isShown)
1396
1415
  return;
1397
- this.skipTransition = e, ot(H, this), H.length === 0 && document.body.classList.remove("v-popper--some-open");
1398
- for (const o of Je(this.theme)) {
1399
- const i = nt(o);
1400
- ot(i, this), i.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1416
+ this.skipTransition = e, nt(N, this), N.length === 0 && document.body.classList.remove("v-popper--some-open");
1417
+ for (const o of tt(this.theme)) {
1418
+ const i = rt(o);
1419
+ nt(i, this), i.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1401
1420
  }
1402
- U === this && (U = null), this.isShown = !1, this.$_applyAttrsToTarget({
1421
+ X === this && (X = null), this.isShown = !1, this.$_applyAttrsToTarget({
1403
1422
  "aria-describedby": void 0,
1404
1423
  "data-popper-shown": void 0
1405
1424
  }), clearTimeout(this.$_disposeTimer);
1406
1425
  const t = this.disposeTimeout;
1407
1426
  t !== null && (this.$_disposeTimer = setTimeout(() => {
1408
1427
  this.$_popperNode && (this.$_detachPopperNode(), this.isMounted = !1);
1409
- }, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await ze(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1428
+ }, t)), this.$_removeEventListeners("scroll"), this.$emit("apply-hide"), this.classes.showFrom = !1, this.classes.showTo = !1, this.classes.hideFrom = !0, this.classes.hideTo = !1, await ke(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1410
1429
  },
1411
1430
  $_autoShowHide() {
1412
1431
  this.shown ? this.show() : this.hide();
@@ -1423,14 +1442,14 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1423
1442
  const e = (o) => {
1424
1443
  this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
1425
1444
  };
1426
- this.$_registerTriggerListeners(this.$_targetNodes, et, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], et, this.popperTriggers, this.popperShowTriggers, e);
1445
+ this.$_registerTriggerListeners(this.$_targetNodes, ot, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], ot, this.popperTriggers, this.popperShowTriggers, e);
1427
1446
  const t = (o) => {
1428
1447
  o.usedByTooltip || this.hide({ event: o });
1429
1448
  };
1430
- this.$_registerTriggerListeners(this.$_targetNodes, tt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], tt, this.popperTriggers, this.popperHideTriggers, t);
1449
+ this.$_registerTriggerListeners(this.$_targetNodes, it, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], it, this.popperTriggers, this.popperHideTriggers, t);
1431
1450
  },
1432
1451
  $_registerEventListeners(e, t, o) {
1433
- this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((i) => i.addEventListener(t, o, J ? {
1452
+ this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((i) => i.addEventListener(t, o, oe ? {
1434
1453
  passive: !0
1435
1454
  } : void 0));
1436
1455
  },
@@ -1479,12 +1498,12 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1479
1498
  },
1480
1499
  $_isAimingPopper() {
1481
1500
  const e = this.$_referenceNode.getBoundingClientRect();
1482
- if (oe >= e.left && oe <= e.right && ie >= e.top && ie <= e.bottom) {
1483
- const t = this.$_popperNode.getBoundingClientRect(), o = oe - j, i = ie - W, n = t.left + t.width / 2 - j + (t.top + t.height / 2) - W + t.width + t.height, s = j + o * n, r = W + i * n;
1484
- return ue(j, W, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1485
- ue(j, W, s, r, t.left, t.top, t.right, t.top) || // Top edge
1486
- ue(j, W, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1487
- ue(j, W, s, r, t.left, t.bottom, t.right, t.bottom);
1501
+ if (se >= e.left && se <= e.right && re >= e.top && re <= e.bottom) {
1502
+ const t = this.$_popperNode.getBoundingClientRect(), o = se - V, i = re - q, n = t.left + t.width / 2 - V + (t.top + t.height / 2) - q + t.width + t.height, s = V + o * n, r = q + i * n;
1503
+ return me(V, q, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1504
+ me(V, q, s, r, t.left, t.top, t.right, t.top) || // Top edge
1505
+ me(V, q, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1506
+ me(V, q, s, r, t.left, t.bottom, t.right, t.bottom);
1488
1507
  }
1489
1508
  return !1;
1490
1509
  }
@@ -1494,39 +1513,39 @@ const Ne = "__floating-vue__popper", Ct = () => xe({
1494
1513
  }
1495
1514
  });
1496
1515
  if (typeof document < "u" && typeof window < "u") {
1497
- if (St) {
1498
- const e = J ? {
1516
+ if (At) {
1517
+ const e = oe ? {
1499
1518
  passive: !0,
1500
1519
  capture: !0
1501
1520
  } : !0;
1502
- document.addEventListener("touchstart", (t) => st(t, !0), e), document.addEventListener("touchend", (t) => rt(t, !0), e);
1521
+ document.addEventListener("touchstart", (t) => at(t, !0), e), document.addEventListener("touchend", (t) => lt(t, !0), e);
1503
1522
  } else
1504
- window.addEventListener("mousedown", (e) => st(e, !1), !0), window.addEventListener("click", (e) => rt(e, !1), !0);
1505
- window.addEventListener("resize", yo);
1523
+ window.addEventListener("mousedown", (e) => at(e, !1), !0), window.addEventListener("click", (e) => lt(e, !1), !0);
1524
+ window.addEventListener("resize", _o);
1506
1525
  }
1507
- function st(e, t) {
1508
- if (M.autoHideOnMousedown)
1509
- At(e, t);
1526
+ function at(e, t) {
1527
+ if (H.autoHideOnMousedown)
1528
+ zt(e, t);
1510
1529
  else
1511
- for (let o = 0; o < H.length; o++) {
1512
- const i = H[o];
1530
+ for (let o = 0; o < N.length; o++) {
1531
+ const i = N[o];
1513
1532
  try {
1514
1533
  i.mouseDownContains = i.popperNode().contains(e.target);
1515
1534
  } catch {
1516
1535
  }
1517
1536
  }
1518
1537
  }
1519
- function rt(e, t) {
1520
- M.autoHideOnMousedown || At(e, t);
1538
+ function lt(e, t) {
1539
+ H.autoHideOnMousedown || zt(e, t);
1521
1540
  }
1522
- function At(e, t) {
1541
+ function zt(e, t) {
1523
1542
  const o = {};
1524
- for (let i = H.length - 1; i >= 0; i--) {
1525
- const n = H[i];
1543
+ for (let i = N.length - 1; i >= 0; i--) {
1544
+ const n = N[i];
1526
1545
  try {
1527
1546
  const s = n.containsGlobalTarget = n.mouseDownContains || n.popperNode().contains(e.target);
1528
1547
  n.pendingHide = !1, requestAnimationFrame(() => {
1529
- if (n.pendingHide = !1, !o[n.randomId] && at(n, s, e)) {
1548
+ if (n.pendingHide = !1, !o[n.randomId] && dt(n, s, e)) {
1530
1549
  if (n.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && s) {
1531
1550
  let a = n.parentPopper;
1532
1551
  for (; a; )
@@ -1534,7 +1553,7 @@ function At(e, t) {
1534
1553
  return;
1535
1554
  }
1536
1555
  let r = n.parentPopper;
1537
- for (; r && at(r, r.containsGlobalTarget, e); )
1556
+ for (; r && dt(r, r.containsGlobalTarget, e); )
1538
1557
  r.$_handleGlobalClose(e, t), r = r.parentPopper;
1539
1558
  }
1540
1559
  });
@@ -1542,50 +1561,50 @@ function At(e, t) {
1542
1561
  }
1543
1562
  }
1544
1563
  }
1545
- function at(e, t, o) {
1546
- return o.closeAllPopover || o.closePopover && t || vo(e, o) && !t;
1564
+ function dt(e, t, o) {
1565
+ return o.closeAllPopover || o.closePopover && t || $o(e, o) && !t;
1547
1566
  }
1548
- function vo(e, t) {
1567
+ function $o(e, t) {
1549
1568
  if (typeof e.autoHide == "function") {
1550
1569
  const o = e.autoHide(t);
1551
1570
  return e.lastAutoHide = o, o;
1552
1571
  }
1553
1572
  return e.autoHide;
1554
1573
  }
1555
- function yo() {
1556
- for (let e = 0; e < H.length; e++)
1557
- H[e].$_computePosition();
1574
+ function _o() {
1575
+ for (let e = 0; e < N.length; e++)
1576
+ N[e].$_computePosition();
1558
1577
  }
1559
- let j = 0, W = 0, oe = 0, ie = 0;
1578
+ let V = 0, q = 0, se = 0, re = 0;
1560
1579
  typeof window < "u" && window.addEventListener("mousemove", (e) => {
1561
- j = oe, W = ie, oe = e.clientX, ie = e.clientY;
1562
- }, J ? {
1580
+ V = se, q = re, se = e.clientX, re = e.clientY;
1581
+ }, oe ? {
1563
1582
  passive: !0
1564
1583
  } : void 0);
1565
- function ue(e, t, o, i, n, s, r, a) {
1584
+ function me(e, t, o, i, n, s, r, a) {
1566
1585
  const l = ((r - n) * (t - s) - (a - s) * (e - n)) / ((a - s) * (o - e) - (r - n) * (i - t)), d = ((o - e) * (t - s) - (i - t) * (e - n)) / ((a - s) * (o - e) - (r - n) * (i - t));
1567
1586
  return l >= 0 && l <= 1 && d >= 0 && d <= 1;
1568
1587
  }
1569
- const $o = {
1570
- extends: Ct()
1571
- }, Ce = (e, t) => {
1588
+ const xo = {
1589
+ extends: Ot()
1590
+ }, Oe = (e, t) => {
1572
1591
  const o = e.__vccOpts || e;
1573
1592
  for (const [i, n] of t)
1574
1593
  o[i] = n;
1575
1594
  return o;
1576
1595
  };
1577
- function _o(e, t, o, i, n, s) {
1578
- return I(), se("div", {
1596
+ function bo(e, t, o, i, n, s) {
1597
+ return I(), le("div", {
1579
1598
  ref: "reference",
1580
- class: De(["v-popper", {
1599
+ class: Ie(["v-popper", {
1581
1600
  "v-popper--shown": e.slotData.isShown
1582
1601
  }])
1583
1602
  }, [
1584
- me(e.$slots, "default", Ut(Xt(e.slotData)))
1603
+ we(e.$slots, "default", Kt(Qt(e.slotData)))
1585
1604
  ], 2);
1586
1605
  }
1587
- const xo = /* @__PURE__ */ Ce($o, [["render", _o]]);
1588
- function bo() {
1606
+ const To = /* @__PURE__ */ Oe(xo, [["render", bo]]);
1607
+ function So() {
1589
1608
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
1590
1609
  if (t > 0)
1591
1610
  return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
@@ -1597,11 +1616,11 @@ function bo() {
1597
1616
  var n = e.indexOf("Edge/");
1598
1617
  return n > 0 ? parseInt(e.substring(n + 5, e.indexOf(".", n)), 10) : -1;
1599
1618
  }
1600
- let fe;
1601
- function Be() {
1602
- Be.init || (Be.init = !0, fe = bo() !== -1);
1619
+ let ge;
1620
+ function Ee() {
1621
+ Ee.init || (Ee.init = !0, ge = So() !== -1);
1603
1622
  }
1604
- var Ae = {
1623
+ var ze = {
1605
1624
  name: "ResizeObserver",
1606
1625
  props: {
1607
1626
  emitOnMount: {
@@ -1621,11 +1640,11 @@ var Ae = {
1621
1640
  "notify"
1622
1641
  ],
1623
1642
  mounted() {
1624
- Be(), Wt(() => {
1643
+ Ee(), qt(() => {
1625
1644
  this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
1626
1645
  });
1627
1646
  const e = document.createElement("object");
1628
- this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", fe && this.$el.appendChild(e), e.data = "about:blank", fe || this.$el.appendChild(e);
1647
+ this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", ge && this.$el.appendChild(e), e.data = "about:blank", ge || this.$el.appendChild(e);
1629
1648
  },
1630
1649
  beforeUnmount() {
1631
1650
  this.removeResizeHandlers();
@@ -1644,34 +1663,34 @@ var Ae = {
1644
1663
  this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
1645
1664
  },
1646
1665
  removeResizeHandlers() {
1647
- this._resizeObject && this._resizeObject.onload && (!fe && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1666
+ this._resizeObject && this._resizeObject.onload && (!ge && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1648
1667
  }
1649
1668
  }
1650
1669
  };
1651
- const To = /* @__PURE__ */ Yt();
1652
- Dt("data-v-b329ee4c");
1653
- const So = {
1670
+ const Po = /* @__PURE__ */ Xt();
1671
+ It("data-v-b329ee4c");
1672
+ const Ao = {
1654
1673
  class: "resize-observer",
1655
1674
  tabindex: "-1"
1656
1675
  };
1657
- Ft();
1658
- const Po = /* @__PURE__ */ To((e, t, o, i, n, s) => (I(), be("div", So)));
1659
- Ae.render = Po;
1660
- Ae.__scopeId = "data-v-b329ee4c";
1661
- Ae.__file = "src/components/ResizeObserver.vue";
1662
- const Ot = (e = "theme") => ({
1676
+ jt();
1677
+ const Co = /* @__PURE__ */ Po((e, t, o, i, n, s) => (I(), Se("div", Ao)));
1678
+ ze.render = Co;
1679
+ ze.__scopeId = "data-v-b329ee4c";
1680
+ ze.__file = "src/components/ResizeObserver.vue";
1681
+ const Nt = (e = "theme") => ({
1663
1682
  computed: {
1664
1683
  themeClass() {
1665
- return wo(this[e]);
1684
+ return yo(this[e]);
1666
1685
  }
1667
1686
  }
1668
- }), Co = xe({
1687
+ }), Oo = Te({
1669
1688
  name: "VPopperContent",
1670
1689
  components: {
1671
- ResizeObserver: Ae
1690
+ ResizeObserver: ze
1672
1691
  },
1673
1692
  mixins: [
1674
- Ot()
1693
+ Nt()
1675
1694
  ],
1676
1695
  props: {
1677
1696
  popperId: String,
@@ -1693,19 +1712,19 @@ const Ot = (e = "theme") => ({
1693
1712
  return e != null && !isNaN(e) ? `${e}px` : null;
1694
1713
  }
1695
1714
  }
1696
- }), Ao = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Oo = {
1715
+ }), zo = ["id", "aria-hidden", "tabindex", "data-popper-placement"], No = {
1697
1716
  ref: "inner",
1698
1717
  class: "v-popper__inner"
1699
- }, zo = /* @__PURE__ */ K("div", { class: "v-popper__arrow-outer" }, null, -1), No = /* @__PURE__ */ K("div", { class: "v-popper__arrow-inner" }, null, -1), Ho = [
1700
- zo,
1701
- No
1718
+ }, ko = /* @__PURE__ */ Q("div", { class: "v-popper__arrow-outer" }, null, -1), Ho = /* @__PURE__ */ Q("div", { class: "v-popper__arrow-inner" }, null, -1), Lo = [
1719
+ ko,
1720
+ Ho
1702
1721
  ];
1703
- function Lo(e, t, o, i, n, s) {
1704
- const r = ne("ResizeObserver");
1705
- return I(), se("div", {
1722
+ function Mo(e, t, o, i, n, s) {
1723
+ const r = ae("ResizeObserver");
1724
+ return I(), le("div", {
1706
1725
  id: e.popperId,
1707
1726
  ref: "popover",
1708
- class: De(["v-popper__popper", [
1727
+ class: Ie(["v-popper__popper", [
1709
1728
  e.themeClass,
1710
1729
  e.classes.popperClass,
1711
1730
  {
@@ -1720,48 +1739,48 @@ function Lo(e, t, o, i, n, s) {
1720
1739
  "v-popper__popper--no-positioning": !e.result
1721
1740
  }
1722
1741
  ]]),
1723
- style: Oe(e.result ? {
1742
+ style: Ne(e.result ? {
1724
1743
  position: e.result.strategy,
1725
1744
  transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
1726
1745
  } : void 0),
1727
1746
  "aria-hidden": e.shown ? "false" : "true",
1728
1747
  tabindex: e.autoHide ? 0 : void 0,
1729
1748
  "data-popper-placement": e.result ? e.result.placement : void 0,
1730
- onKeyup: t[2] || (t[2] = jt((a) => e.autoHide && e.$emit("hide"), ["esc"]))
1749
+ onKeyup: t[2] || (t[2] = Vt((a) => e.autoHide && e.$emit("hide"), ["esc"]))
1731
1750
  }, [
1732
- K("div", {
1751
+ Q("div", {
1733
1752
  class: "v-popper__backdrop",
1734
1753
  onClick: t[0] || (t[0] = (a) => e.autoHide && e.$emit("hide"))
1735
1754
  }),
1736
- K("div", {
1755
+ Q("div", {
1737
1756
  class: "v-popper__wrapper",
1738
- style: Oe(e.result ? {
1757
+ style: Ne(e.result ? {
1739
1758
  transformOrigin: e.result.transformOrigin
1740
1759
  } : void 0)
1741
1760
  }, [
1742
- K("div", Oo, [
1743
- e.mounted ? (I(), se(It, { key: 0 }, [
1744
- K("div", null, [
1745
- me(e.$slots, "default")
1761
+ Q("div", No, [
1762
+ e.mounted ? (I(), le(Wt, { key: 0 }, [
1763
+ Q("div", null, [
1764
+ we(e.$slots, "default")
1746
1765
  ]),
1747
- e.handleResize ? (I(), be(r, {
1766
+ e.handleResize ? (I(), Se(r, {
1748
1767
  key: 0,
1749
1768
  onNotify: t[1] || (t[1] = (a) => e.$emit("resize", a))
1750
- })) : Ve("", !0)
1751
- ], 64)) : Ve("", !0)
1769
+ })) : Ge("", !0)
1770
+ ], 64)) : Ge("", !0)
1752
1771
  ], 512),
1753
- K("div", {
1772
+ Q("div", {
1754
1773
  ref: "arrow",
1755
1774
  class: "v-popper__arrow-container",
1756
- style: Oe(e.result ? {
1775
+ style: Ne(e.result ? {
1757
1776
  left: e.toPx(e.result.arrow.x),
1758
1777
  top: e.toPx(e.result.arrow.y)
1759
1778
  } : void 0)
1760
- }, Ho, 4)
1779
+ }, Lo, 4)
1761
1780
  ], 4)
1762
- ], 46, Ao);
1781
+ ], 46, zo);
1763
1782
  }
1764
- const zt = /* @__PURE__ */ Ce(Co, [["render", Lo]]), Nt = {
1783
+ const kt = /* @__PURE__ */ Oe(Oo, [["render", Mo]]), Ht = {
1765
1784
  methods: {
1766
1785
  show(...e) {
1767
1786
  return this.$refs.popper.show(...e);
@@ -1777,18 +1796,18 @@ const zt = /* @__PURE__ */ Ce(Co, [["render", Lo]]), Nt = {
1777
1796
  }
1778
1797
  }
1779
1798
  };
1780
- let Ee = function() {
1799
+ let Fe = function() {
1781
1800
  };
1782
- typeof window < "u" && (Ee = window.Element);
1783
- const Mo = xe({
1801
+ typeof window < "u" && (Fe = window.Element);
1802
+ const Ro = Te({
1784
1803
  name: "VPopperWrapper",
1785
1804
  components: {
1786
- Popper: xo,
1787
- PopperContent: zt
1805
+ Popper: To,
1806
+ PopperContent: kt
1788
1807
  },
1789
1808
  mixins: [
1790
- Nt,
1791
- Ot("finalTheme")
1809
+ Ht,
1810
+ Nt("finalTheme")
1792
1811
  ],
1793
1812
  props: {
1794
1813
  theme: {
@@ -1860,11 +1879,11 @@ const Mo = xe({
1860
1879
  default: void 0
1861
1880
  },
1862
1881
  container: {
1863
- type: [String, Object, Ee, Boolean],
1882
+ type: [String, Object, Fe, Boolean],
1864
1883
  default: void 0
1865
1884
  },
1866
1885
  boundary: {
1867
- type: [String, Ee],
1886
+ type: [String, Fe],
1868
1887
  default: void 0
1869
1888
  },
1870
1889
  strategy: {
@@ -1976,9 +1995,9 @@ const Mo = xe({
1976
1995
  }
1977
1996
  }
1978
1997
  });
1979
- function ko(e, t, o, i, n, s) {
1980
- const r = ne("PopperContent"), a = ne("Popper");
1981
- return I(), be(a, ht({ ref: "popper" }, e.$props, {
1998
+ function Bo(e, t, o, i, n, s) {
1999
+ const r = ae("PopperContent"), a = ae("Popper");
2000
+ return I(), Se(a, ft({ ref: "popper" }, e.$props, {
1982
2001
  theme: e.finalTheme,
1983
2002
  "target-nodes": e.getTargetNodes,
1984
2003
  "popper-node": () => e.$refs.popperContent.$el,
@@ -1995,42 +2014,42 @@ function ko(e, t, o, i, n, s) {
1995
2014
  onAutoHide: t[7] || (t[7] = () => e.$emit("auto-hide")),
1996
2015
  onResize: t[8] || (t[8] = () => e.$emit("resize"))
1997
2016
  }), {
1998
- default: ge(({
2017
+ default: ve(({
1999
2018
  popperId: l,
2000
2019
  isShown: d,
2001
- shouldMountContent: f,
2002
- skipTransition: c,
2003
- autoHide: h,
2004
- show: p,
2005
- hide: u,
2020
+ shouldMountContent: c,
2021
+ skipTransition: p,
2022
+ autoHide: u,
2023
+ show: h,
2024
+ hide: f,
2006
2025
  handleResize: m,
2007
2026
  onResize: w,
2008
2027
  classes: g,
2009
2028
  result: v
2010
2029
  }) => [
2011
- me(e.$slots, "default", {
2030
+ we(e.$slots, "default", {
2012
2031
  shown: d,
2013
- show: p,
2014
- hide: u
2032
+ show: h,
2033
+ hide: f
2015
2034
  }),
2016
- ct(r, {
2035
+ ut(r, {
2017
2036
  ref: "popperContent",
2018
2037
  "popper-id": l,
2019
2038
  theme: e.finalTheme,
2020
2039
  shown: d,
2021
- mounted: f,
2022
- "skip-transition": c,
2023
- "auto-hide": h,
2040
+ mounted: c,
2041
+ "skip-transition": p,
2042
+ "auto-hide": u,
2024
2043
  "handle-resize": m,
2025
2044
  classes: g,
2026
2045
  result: v,
2027
- onHide: u,
2046
+ onHide: f,
2028
2047
  onResize: w
2029
2048
  }, {
2030
- default: ge(() => [
2031
- me(e.$slots, "popper", {
2049
+ default: ve(() => [
2050
+ we(e.$slots, "popper", {
2032
2051
  shown: d,
2033
- hide: u
2052
+ hide: f
2034
2053
  })
2035
2054
  ]),
2036
2055
  _: 2
@@ -2039,26 +2058,26 @@ function ko(e, t, o, i, n, s) {
2039
2058
  _: 3
2040
2059
  }, 16, ["theme", "target-nodes", "popper-node", "class"]);
2041
2060
  }
2042
- const We = /* @__PURE__ */ Ce(Mo, [["render", ko]]), Ro = {
2043
- ...We,
2061
+ const qe = /* @__PURE__ */ Oe(Ro, [["render", Bo]]), Do = {
2062
+ ...qe,
2044
2063
  name: "VDropdown",
2045
2064
  vPopperTheme: "dropdown"
2046
- }, Bo = {
2047
- ...We,
2065
+ }, Eo = {
2066
+ ...qe,
2048
2067
  name: "VMenu",
2049
2068
  vPopperTheme: "menu"
2050
- }, Eo = {
2051
- ...We,
2069
+ }, Fo = {
2070
+ ...qe,
2052
2071
  name: "VTooltip",
2053
2072
  vPopperTheme: "tooltip"
2054
- }, Do = xe({
2073
+ }, Io = Te({
2055
2074
  name: "VTooltipDirective",
2056
2075
  components: {
2057
- Popper: Ct(),
2058
- PopperContent: zt
2076
+ Popper: Ot(),
2077
+ PopperContent: kt
2059
2078
  },
2060
2079
  mixins: [
2061
- Nt
2080
+ Ht
2062
2081
  ],
2063
2082
  inheritAttrs: !1,
2064
2083
  props: {
@@ -2068,7 +2087,7 @@ const We = /* @__PURE__ */ Ce(Mo, [["render", ko]]), Ro = {
2068
2087
  },
2069
2088
  html: {
2070
2089
  type: Boolean,
2071
- default: (e) => de(e.theme, "html")
2090
+ default: (e) => he(e.theme, "html")
2072
2091
  },
2073
2092
  content: {
2074
2093
  type: [String, Number, Function],
@@ -2076,7 +2095,7 @@ const We = /* @__PURE__ */ Ce(Mo, [["render", ko]]), Ro = {
2076
2095
  },
2077
2096
  loadingContent: {
2078
2097
  type: String,
2079
- default: (e) => de(e.theme, "loadingContent")
2098
+ default: (e) => he(e.theme, "loadingContent")
2080
2099
  },
2081
2100
  targetNodes: {
2082
2101
  type: Function,
@@ -2131,53 +2150,53 @@ const We = /* @__PURE__ */ Ce(Mo, [["render", ko]]), Ro = {
2131
2150
  this.$_isShown = !1;
2132
2151
  }
2133
2152
  }
2134
- }), Fo = ["innerHTML"], Io = ["textContent"];
2135
- function jo(e, t, o, i, n, s) {
2136
- const r = ne("PopperContent"), a = ne("Popper");
2137
- return I(), be(a, ht({ ref: "popper" }, e.$attrs, {
2153
+ }), jo = ["innerHTML"], Wo = ["textContent"];
2154
+ function Vo(e, t, o, i, n, s) {
2155
+ const r = ae("PopperContent"), a = ae("Popper");
2156
+ return I(), Se(a, ft({ ref: "popper" }, e.$attrs, {
2138
2157
  theme: e.theme,
2139
2158
  "target-nodes": e.targetNodes,
2140
2159
  "popper-node": () => e.$refs.popperContent.$el,
2141
2160
  onApplyShow: e.onShow,
2142
2161
  onApplyHide: e.onHide
2143
2162
  }), {
2144
- default: ge(({
2163
+ default: ve(({
2145
2164
  popperId: l,
2146
2165
  isShown: d,
2147
- shouldMountContent: f,
2148
- skipTransition: c,
2149
- autoHide: h,
2150
- hide: p,
2151
- handleResize: u,
2166
+ shouldMountContent: c,
2167
+ skipTransition: p,
2168
+ autoHide: u,
2169
+ hide: h,
2170
+ handleResize: f,
2152
2171
  onResize: m,
2153
2172
  classes: w,
2154
2173
  result: g
2155
2174
  }) => [
2156
- ct(r, {
2175
+ ut(r, {
2157
2176
  ref: "popperContent",
2158
- class: De({
2177
+ class: Ie({
2159
2178
  "v-popper--tooltip-loading": e.loading
2160
2179
  }),
2161
2180
  "popper-id": l,
2162
2181
  theme: e.theme,
2163
2182
  shown: d,
2164
- mounted: f,
2165
- "skip-transition": c,
2166
- "auto-hide": h,
2167
- "handle-resize": u,
2183
+ mounted: c,
2184
+ "skip-transition": p,
2185
+ "auto-hide": u,
2186
+ "handle-resize": f,
2168
2187
  classes: w,
2169
2188
  result: g,
2170
- onHide: p,
2189
+ onHide: h,
2171
2190
  onResize: m
2172
2191
  }, {
2173
- default: ge(() => [
2174
- e.html ? (I(), se("div", {
2192
+ default: ve(() => [
2193
+ e.html ? (I(), le("div", {
2175
2194
  key: 0,
2176
2195
  innerHTML: e.finalContent
2177
- }, null, 8, Fo)) : (I(), se("div", {
2196
+ }, null, 8, jo)) : (I(), le("div", {
2178
2197
  key: 1,
2179
- textContent: Gt(e.finalContent)
2180
- }, null, 8, Io))
2198
+ textContent: Ut(e.finalContent)
2199
+ }, null, 8, Wo))
2181
2200
  ]),
2182
2201
  _: 2
2183
2202
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -2185,32 +2204,32 @@ function jo(e, t, o, i, n, s) {
2185
2204
  _: 1
2186
2205
  }, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
2187
2206
  }
2188
- const Wo = /* @__PURE__ */ Ce(Do, [["render", jo]]), Ht = "v-popper--has-tooltip";
2189
- function Vo(e, t) {
2207
+ const qo = /* @__PURE__ */ Oe(Io, [["render", Vo]]), Lt = "v-popper--has-tooltip";
2208
+ function Go(e, t) {
2190
2209
  let o = e.placement;
2191
2210
  if (!o && t)
2192
- for (const i of Pt)
2211
+ for (const i of Ct)
2193
2212
  t[i] && (o = i);
2194
- return o || (o = de(e.theme || "tooltip", "placement")), o;
2213
+ return o || (o = he(e.theme || "tooltip", "placement")), o;
2195
2214
  }
2196
- function Lt(e, t, o) {
2215
+ function Mt(e, t, o) {
2197
2216
  let i;
2198
2217
  const n = typeof t;
2199
- return n === "string" ? i = { content: t } : t && n === "object" ? i = t : i = { content: !1 }, i.placement = Vo(i, o), i.targetNodes = () => [e], i.referenceNode = () => e, i;
2218
+ return n === "string" ? i = { content: t } : t && n === "object" ? i = t : i = { content: !1 }, i.placement = Go(i, o), i.targetNodes = () => [e], i.referenceNode = () => e, i;
2200
2219
  }
2201
- let He, pe, qo = 0;
2202
- function Go() {
2203
- if (He)
2220
+ let Le, ue, Yo = 0;
2221
+ function Uo() {
2222
+ if (Le)
2204
2223
  return;
2205
- pe = Le([]), He = Vt({
2224
+ ue = Me([]), Le = Gt({
2206
2225
  name: "VTooltipDirectiveApp",
2207
2226
  setup() {
2208
2227
  return {
2209
- directives: pe
2228
+ directives: ue
2210
2229
  };
2211
2230
  },
2212
2231
  render() {
2213
- return this.directives.map((t) => qt(Wo, {
2232
+ return this.directives.map((t) => Yt(qo, {
2214
2233
  ...t.options,
2215
2234
  shown: t.shown || t.options.shown,
2216
2235
  key: t.id
@@ -2221,16 +2240,16 @@ function Go() {
2221
2240
  }
2222
2241
  });
2223
2242
  const e = document.createElement("div");
2224
- document.body.appendChild(e), He.mount(e);
2243
+ document.body.appendChild(e), Le.mount(e);
2225
2244
  }
2226
- function Yo(e, t, o) {
2227
- Go();
2228
- const i = Le(Lt(e, t, o)), n = Le(!1), s = {
2229
- id: qo++,
2245
+ function Xo(e, t, o) {
2246
+ Uo();
2247
+ const i = Me(Mt(e, t, o)), n = Me(!1), s = {
2248
+ id: Yo++,
2230
2249
  options: i,
2231
2250
  shown: n
2232
2251
  };
2233
- return pe.value.push(s), e.classList && e.classList.add(Ht), e.$_popper = {
2252
+ return ue.value.push(s), e.classList && e.classList.add(Lt), e.$_popper = {
2234
2253
  options: i,
2235
2254
  item: s,
2236
2255
  show() {
@@ -2241,81 +2260,81 @@ function Yo(e, t, o) {
2241
2260
  }
2242
2261
  };
2243
2262
  }
2244
- function Mt(e) {
2263
+ function Rt(e) {
2245
2264
  if (e.$_popper) {
2246
- const t = pe.value.indexOf(e.$_popper.item);
2247
- t !== -1 && pe.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2265
+ const t = ue.value.indexOf(e.$_popper.item);
2266
+ t !== -1 && ue.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2248
2267
  }
2249
- e.classList && e.classList.remove(Ht);
2268
+ e.classList && e.classList.remove(Lt);
2250
2269
  }
2251
- function lt(e, { value: t, modifiers: o }) {
2252
- const i = Lt(e, t, o);
2253
- if (!i.content || de(i.theme || "tooltip", "disabled"))
2254
- Mt(e);
2270
+ function pt(e, { value: t, modifiers: o }) {
2271
+ const i = Mt(e, t, o);
2272
+ if (!i.content || he(i.theme || "tooltip", "disabled"))
2273
+ Rt(e);
2255
2274
  else {
2256
2275
  let n;
2257
- e.$_popper ? (n = e.$_popper, n.options.value = i) : n = Yo(e, t, o), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? n.show() : n.hide());
2276
+ e.$_popper ? (n = e.$_popper, n.options.value = i) : n = Xo(e, t, o), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? n.show() : n.hide());
2258
2277
  }
2259
2278
  }
2260
- const Uo = {
2261
- beforeMount: lt,
2262
- updated: lt,
2279
+ const Ko = {
2280
+ beforeMount: pt,
2281
+ updated: pt,
2263
2282
  beforeUnmount(e) {
2264
- Mt(e);
2283
+ Rt(e);
2265
2284
  }
2266
2285
  };
2267
- function dt(e) {
2268
- e.addEventListener("mousedown", _e), e.addEventListener("click", _e), e.addEventListener("touchstart", kt, J ? {
2286
+ function ct(e) {
2287
+ e.addEventListener("mousedown", be), e.addEventListener("click", be), e.addEventListener("touchstart", Bt, oe ? {
2269
2288
  passive: !0
2270
2289
  } : !1);
2271
2290
  }
2272
- function pt(e) {
2273
- e.removeEventListener("mousedown", _e), e.removeEventListener("click", _e), e.removeEventListener("touchstart", kt), e.removeEventListener("touchend", Rt), e.removeEventListener("touchcancel", Bt);
2291
+ function ht(e) {
2292
+ e.removeEventListener("mousedown", be), e.removeEventListener("click", be), e.removeEventListener("touchstart", Bt), e.removeEventListener("touchend", Dt), e.removeEventListener("touchcancel", Et);
2274
2293
  }
2275
- function _e(e) {
2294
+ function be(e) {
2276
2295
  const t = e.currentTarget;
2277
2296
  e.closePopover = !t.$_vclosepopover_touch, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
2278
2297
  }
2279
- function kt(e) {
2298
+ function Bt(e) {
2280
2299
  if (e.changedTouches.length === 1) {
2281
2300
  const t = e.currentTarget;
2282
2301
  t.$_vclosepopover_touch = !0;
2283
2302
  const o = e.changedTouches[0];
2284
- t.$_vclosepopover_touchPoint = o, t.addEventListener("touchend", Rt), t.addEventListener("touchcancel", Bt);
2303
+ t.$_vclosepopover_touchPoint = o, t.addEventListener("touchend", Dt), t.addEventListener("touchcancel", Et);
2285
2304
  }
2286
2305
  }
2287
- function Rt(e) {
2306
+ function Dt(e) {
2288
2307
  const t = e.currentTarget;
2289
2308
  if (t.$_vclosepopover_touch = !1, e.changedTouches.length === 1) {
2290
2309
  const o = e.changedTouches[0], i = t.$_vclosepopover_touchPoint;
2291
2310
  e.closePopover = Math.abs(o.screenY - i.screenY) < 20 && Math.abs(o.screenX - i.screenX) < 20, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
2292
2311
  }
2293
2312
  }
2294
- function Bt(e) {
2313
+ function Et(e) {
2295
2314
  const t = e.currentTarget;
2296
2315
  t.$_vclosepopover_touch = !1;
2297
2316
  }
2298
- const Xo = {
2317
+ const Qo = {
2299
2318
  beforeMount(e, { value: t, modifiers: o }) {
2300
- e.$_closePopoverModifiers = o, (typeof t > "u" || t) && dt(e);
2319
+ e.$_closePopoverModifiers = o, (typeof t > "u" || t) && ct(e);
2301
2320
  },
2302
2321
  updated(e, { value: t, oldValue: o, modifiers: i }) {
2303
- e.$_closePopoverModifiers = i, t !== o && (typeof t > "u" || t ? dt(e) : pt(e));
2322
+ e.$_closePopoverModifiers = i, t !== o && (typeof t > "u" || t ? ct(e) : ht(e));
2304
2323
  },
2305
2324
  beforeUnmount(e) {
2306
- pt(e);
2325
+ ht(e);
2307
2326
  }
2308
2327
  };
2309
- function Ko(e, t = {}) {
2310
- e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, Tt(M, t), e.directive("tooltip", Uo), e.directive("close-popper", Xo), e.component("VTooltip", Eo), e.component("VDropdown", Ro), e.component("VMenu", Bo));
2328
+ function Zo(e, t = {}) {
2329
+ e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, Pt(H, t), e.directive("tooltip", Ko), e.directive("close-popper", Qo), e.component("VTooltip", Fo), e.component("VDropdown", Do), e.component("VMenu", Eo));
2311
2330
  }
2312
- const Zo = {
2331
+ const ei = {
2313
2332
  // eslint-disable-next-line no-undef
2314
2333
  version: "5.2.2",
2315
- install: Ko,
2316
- options: M
2334
+ install: Zo,
2335
+ options: H
2317
2336
  };
2318
2337
  export {
2319
- Zo as G
2338
+ ei as G
2320
2339
  };
2321
- //# sourceMappingURL=style-CFj6q1kW.js.map
2340
+ //# sourceMappingURL=style-B5c-Dkj8.js.map