@knime/jsonforms 1.5.9 → 1.5.11

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 (69) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{AnyOfTwinlist-D_wKDkgH.js → AnyOfTwinlist-Bdrhc6uW.js} +1 -1
  3. package/dist/{BaseButton-C13_k-le.js → BaseButton-Dy2rQt0b.js} +1 -1
  4. package/dist/{Button-D59Hu_Oe.js → Button-BdlfMrsO.js} +2 -2
  5. package/dist/{Checkbox-BCFe0QQA.js → Checkbox-unJMpX-O.js} +1 -1
  6. package/dist/{CheckboxControl-Bxmhd07k.js → CheckboxControl-Ck8QAKm0.js} +2 -2
  7. package/dist/{Checkboxes-Ct7xbZzA.js → Checkboxes-CtxOlG_P.js} +2 -2
  8. package/dist/{CheckboxesControl-BHmaIJxP.js → CheckboxesControl-LMvcE5FC.js} +2 -2
  9. package/dist/{ColumnFilter-Dm9u-ihr.js → ColumnFilter-B6JiVV4K.js} +1 -1
  10. package/dist/{ColumnSelect-BhOWUmeV.js → ColumnSelect-BnMmvl1p.js} +2 -2
  11. package/dist/{ComboBoxControl-CiXpVeil.js → ComboBoxControl-DXjw9HYV.js} +4 -4
  12. package/dist/{DateControl-CZcZUyDm.js → DateControl-DXTCop2C.js} +1 -1
  13. package/dist/{DateTimeControl-Bhnh0Ppw.js → DateTimeControl-CBBmw-o9.js} +2 -2
  14. package/dist/DateTimeFormatInput-B8F-bku1.js +347 -0
  15. package/dist/DateTimeFormatPickerControl-Dk70ATRK.js +47 -0
  16. package/dist/DateTimeFormatPickerWithTypeControl-DpmscK0S.js +83 -0
  17. package/dist/{DateTimeInput-CecGpLQL.js → DateTimeInput-BAlTkrLY.js} +3524 -3603
  18. package/dist/Dropdown-DMuumgWl.js +605 -0
  19. package/dist/{DropdownControl-BbSTmj4b.js → DropdownControl-BXGa2Zqy.js} +1 -1
  20. package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-VEZYnhcS.js → DropdownControl.vue_vue_type_script_setup_true_lang-BoxbVXvP.js} +4 -4
  21. package/dist/{FunctionButton-DqrPll2b.js → FunctionButton-DeDZhG-y.js} +2 -2
  22. package/dist/{HorizontalLayout-B35pXQro.js → HorizontalLayout-Bu_HoqtD.js} +1 -1
  23. package/dist/{InputField-CfTNsOpl.js → InputField-D4q-r9Uh.js} +1 -1
  24. package/dist/{IntegerControl-BA039DeJ.js → IntegerControl-YK4WjBn5.js} +1 -1
  25. package/dist/{IntervalControl-ZIfW0R6H.js → IntervalControl-DgNMRmkf.js} +6 -6
  26. package/dist/{MultiselectListBox-B9AMd6lu.js → MultiselectListBox-gv3qTuQr.js} +2 -2
  27. package/dist/{NameFilter-DIK_hfEG.js → NameFilter-BgLhjcRh.js} +1 -1
  28. package/dist/{NumberControl-B3cmM4q8.js → NumberControl-D6fxN7Ak.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DnbBgqMT.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CS09VLWk.js} +2 -2
  30. package/dist/{NumberInput-CyLbNMgq.js → NumberInput-DpPitBwb.js} +1 -1
  31. package/dist/{OneOfDropdown-CYjXvc-8.js → OneOfDropdown-BmiBhFyV.js} +1 -1
  32. package/dist/{RadioControl-kq8I7uUs.js → RadioControl-Bz45ai5B.js} +2 -2
  33. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Db3c7o8X.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BMt_Hsny.js} +2 -2
  34. package/dist/{RichTextControl-3izRkdn7.js → RichTextControl-CboEr8Ha.js} +7 -7
  35. package/dist/{SectionLayout-DPgbDaqO.js → SectionLayout-G_hSkGkd.js} +2 -2
  36. package/dist/{SimpleButtonControl-CdY2dArP.js → SimpleButtonControl-Ctzf8fFf.js} +2 -2
  37. package/dist/{SimpleTwinlistControl-BEH4bbqT.js → SimpleTwinlistControl-Dba-YIhS.js} +2 -2
  38. package/dist/{SortListControl-uVMSNrRs.js → SortListControl-nE_ccGpj.js} +4 -4
  39. package/dist/{TextAreaControl-CItxQ3qN.js → TextAreaControl-DzkUHA8F.js} +1 -1
  40. package/dist/{TextControl-CinlE4yD.js → TextControl-D2fK-gNn.js} +1 -1
  41. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-C1sg5jOI.js → TextControl.vue_vue_type_script_setup_true_lang-CJiAVESn.js} +3 -3
  42. package/dist/{TimeControl-_FkL2Pmp.js → TimeControl-CM6oOWK0.js} +2 -2
  43. package/dist/{TwinlistControl-J97lsIsJ.js → TwinlistControl-z14pmNeU.js} +44 -44
  44. package/dist/{TwinlistLoadingInfo-pVyUVKlm.js → TwinlistLoadingInfo-D0MkbjKj.js} +5 -5
  45. package/dist/{ValueSwitch-CILN5ncB.js → ValueSwitch-4X-VU2s4.js} +1 -1
  46. package/dist/{ValueSwitchControl-CmNBQoMK.js → ValueSwitchControl-BBSNxQbR.js} +1 -1
  47. package/dist/{VerticalLayout-Ct0EbMgR.js → VerticalLayout-BAZbPfB7.js} +2 -2
  48. package/dist/{VerticalLayoutBase-CQKByBuX.js → VerticalLayoutBase-ixPAQHbd.js} +1 -1
  49. package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js +13312 -0
  50. package/dist/{ZonedDateTimeControl-Bwj70QE6.js → ZonedDateTimeControl-DLHI_f3d.js} +4 -4
  51. package/dist/{floating-ui.vue.esm-B1dY_Hbh.js → floating-ui.vue-B-MrqKCT.js} +375 -342
  52. package/dist/index-Bf0xDq3g.js +373 -0
  53. package/dist/knime-jsonforms.css +1 -1
  54. package/dist/knime-jsonforms.js +5 -5
  55. package/dist/{localTimeUtils-CtqjaX2h.js → localTimeUtils-DCUpSGnm.js} +1 -1
  56. package/dist/{magic-string.es-D4UQQyt0.js → magic-string.es-CTx3IfWA.js} +264 -265
  57. package/dist/src/constants/inputFormats.d.ts +1 -0
  58. package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +1 -2
  59. package/dist/src/renderers/defaultRenderers.d.ts +25 -24
  60. package/dist/src/renderers/dropdownRenderer.d.ts +12 -12
  61. package/dist/src/renderers/sortListRenderer.d.ts +12 -12
  62. package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +13 -0
  63. package/dist/{svgWithTitle-CBUO7Hcc.js → svgWithTitle-BIyPeUQw.js} +1 -1
  64. package/dist/testing.js +2 -2
  65. package/package.json +6 -11
  66. package/dist/DateTimeFormatPickerControl-CtJk8jQF.js +0 -374
  67. package/dist/Dropdown-CeUdmLWb.js +0 -692
  68. package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-B21b2oJb.js +0 -14923
  69. package/dist/index-CkuSIXs2.js +0 -331
@@ -1,54 +1,54 @@
1
- import { computed as D, unref as Y, ref as q, shallowRef as Vt, watch as rt, getCurrentScope as Bt, onScopeDispose as Nt, shallowReadonly as _ } from "vue";
2
- const J = Math.min, M = Math.max, Q = Math.round, G = Math.floor, P = (t) => ({
1
+ import { computed as D, ref as Y, shallowRef as Bt, watch as st, getCurrentScope as Nt, onScopeDispose as Wt, shallowReadonly as $, unref as _t } from "vue";
2
+ const J = Math.min, k = Math.max, Q = Math.round, G = Math.floor, P = (t) => ({
3
3
  x: t,
4
4
  y: t
5
- }), Wt = {
5
+ }), $t = {
6
6
  left: "right",
7
7
  right: "left",
8
8
  bottom: "top",
9
9
  top: "bottom"
10
- }, _t = {
10
+ }, Ht = {
11
11
  start: "end",
12
12
  end: "start"
13
13
  };
14
- function pt(t, e, n) {
15
- return M(t, J(e, n));
14
+ function wt(t, e, n) {
15
+ return k(t, J(e, n));
16
16
  }
17
17
  function et(t, e) {
18
18
  return typeof t == "function" ? t(e) : t;
19
19
  }
20
- function V(t) {
20
+ function M(t) {
21
21
  return t.split("-")[0];
22
22
  }
23
23
  function nt(t) {
24
24
  return t.split("-")[1];
25
25
  }
26
- function Rt(t) {
26
+ function Ot(t) {
27
27
  return t === "x" ? "y" : "x";
28
28
  }
29
- function At(t) {
29
+ function Ct(t) {
30
30
  return t === "y" ? "height" : "width";
31
31
  }
32
32
  function ot(t) {
33
- return ["top", "bottom"].includes(V(t)) ? "y" : "x";
33
+ return ["top", "bottom"].includes(M(t)) ? "y" : "x";
34
34
  }
35
- function Ot(t) {
36
- return Rt(ot(t));
35
+ function Et(t) {
36
+ return Ot(ot(t));
37
37
  }
38
- function $t(t, e, n) {
38
+ function zt(t, e, n) {
39
39
  n === void 0 && (n = !1);
40
- const o = nt(t), i = Ot(t), s = At(i);
40
+ const o = nt(t), i = Et(t), s = Ct(i);
41
41
  let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
42
42
  return e.reference[s] > e.floating[s] && (r = Z(r)), [r, Z(r)];
43
43
  }
44
- function Ht(t) {
44
+ function It(t) {
45
45
  const e = Z(t);
46
- return [lt(t), e, lt(e)];
46
+ return [ct(t), e, ct(e)];
47
47
  }
48
- function lt(t) {
49
- return t.replace(/start|end/g, (e) => _t[e]);
48
+ function ct(t) {
49
+ return t.replace(/start|end/g, (e) => Ht[e]);
50
50
  }
51
- function zt(t, e, n) {
51
+ function jt(t, e, n) {
52
52
  const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
53
53
  switch (t) {
54
54
  case "top":
@@ -61,15 +61,15 @@ function zt(t, e, n) {
61
61
  return [];
62
62
  }
63
63
  }
64
- function It(t, e, n, o) {
64
+ function Xt(t, e, n, o) {
65
65
  const i = nt(t);
66
- let s = zt(V(t), n === "start", o);
67
- return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(lt)))), s;
66
+ let s = jt(M(t), n === "start", o);
67
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(ct)))), s;
68
68
  }
69
69
  function Z(t) {
70
- return t.replace(/left|right|bottom|top/g, (e) => Wt[e]);
70
+ return t.replace(/left|right|bottom|top/g, (e) => $t[e]);
71
71
  }
72
- function Xt(t) {
72
+ function Yt(t) {
73
73
  return {
74
74
  top: 0,
75
75
  right: 0,
@@ -78,8 +78,8 @@ function Xt(t) {
78
78
  ...t
79
79
  };
80
80
  }
81
- function jt(t) {
82
- return typeof t != "number" ? Xt(t) : {
81
+ function qt(t) {
82
+ return typeof t != "number" ? Yt(t) : {
83
83
  top: t,
84
84
  right: t,
85
85
  bottom: t,
@@ -104,36 +104,36 @@ function tt(t) {
104
104
  y: n
105
105
  };
106
106
  }
107
- function gt(t, e, n) {
107
+ function yt(t, e, n) {
108
108
  let {
109
109
  reference: o,
110
110
  floating: i
111
111
  } = t;
112
- const s = ot(e), r = Ot(e), l = At(r), f = V(e), c = s === "y", a = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
112
+ const s = ot(e), r = Et(e), l = Ct(r), f = M(e), c = s === "y", u = o.x + o.width / 2 - i.width / 2, a = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
113
113
  let d;
114
114
  switch (f) {
115
115
  case "top":
116
116
  d = {
117
- x: a,
117
+ x: u,
118
118
  y: o.y - i.height
119
119
  };
120
120
  break;
121
121
  case "bottom":
122
122
  d = {
123
- x: a,
123
+ x: u,
124
124
  y: o.y + o.height
125
125
  };
126
126
  break;
127
127
  case "right":
128
128
  d = {
129
129
  x: o.x + o.width,
130
- y: u
130
+ y: a
131
131
  };
132
132
  break;
133
133
  case "left":
134
134
  d = {
135
135
  x: o.x - i.width,
136
- y: u
136
+ y: a
137
137
  };
138
138
  break;
139
139
  default:
@@ -152,7 +152,7 @@ function gt(t, e, n) {
152
152
  }
153
153
  return d;
154
154
  }
155
- const Yt = async (t, e, n) => {
155
+ const Ut = async (t, e, n) => {
156
156
  const {
157
157
  placement: o = "bottom",
158
158
  strategy: i = "absolute",
@@ -164,21 +164,21 @@ const Yt = async (t, e, n) => {
164
164
  floating: e,
165
165
  strategy: i
166
166
  }), {
167
- x: a,
168
- y: u
169
- } = gt(c, o, f), m = o, d = {}, p = 0;
167
+ x: u,
168
+ y: a
169
+ } = yt(c, o, f), m = o, d = {}, h = 0;
170
170
  for (let g = 0; g < l.length; g++) {
171
171
  const {
172
172
  name: w,
173
- fn: h
173
+ fn: p
174
174
  } = l[g], {
175
- x,
176
- y,
175
+ x: y,
176
+ y: x,
177
177
  data: R,
178
178
  reset: b
179
- } = await h({
180
- x: a,
181
- y: u,
179
+ } = await p({
180
+ x: u,
181
+ y: a,
182
182
  initialPlacement: o,
183
183
  placement: m,
184
184
  strategy: i,
@@ -190,30 +190,30 @@ const Yt = async (t, e, n) => {
190
190
  floating: e
191
191
  }
192
192
  });
193
- a = x ?? a, u = y ?? u, d = {
193
+ u = y ?? u, a = x ?? a, d = {
194
194
  ...d,
195
195
  [w]: {
196
196
  ...d[w],
197
197
  ...R
198
198
  }
199
- }, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (c = b.rects === !0 ? await r.getElementRects({
199
+ }, b && h <= 50 && (h++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (c = b.rects === !0 ? await r.getElementRects({
200
200
  reference: t,
201
201
  floating: e,
202
202
  strategy: i
203
203
  }) : b.rects), {
204
- x: a,
205
- y: u
206
- } = gt(c, m, f)), g = -1);
204
+ x: u,
205
+ y: a
206
+ } = yt(c, m, f)), g = -1);
207
207
  }
208
208
  return {
209
- x: a,
210
- y: u,
209
+ x: u,
210
+ y: a,
211
211
  placement: m,
212
212
  strategy: i,
213
213
  middlewareData: d
214
214
  };
215
215
  };
216
- async function Ct(t, e) {
216
+ async function Lt(t, e) {
217
217
  var n;
218
218
  e === void 0 && (e = {});
219
219
  const {
@@ -225,21 +225,21 @@ async function Ct(t, e) {
225
225
  strategy: f
226
226
  } = t, {
227
227
  boundary: c = "clippingAncestors",
228
- rootBoundary: a = "viewport",
229
- elementContext: u = "floating",
228
+ rootBoundary: u = "viewport",
229
+ elementContext: a = "floating",
230
230
  altBoundary: m = !1,
231
231
  padding: d = 0
232
- } = et(e, t), p = jt(d), w = l[m ? u === "floating" ? "reference" : "floating" : u], h = tt(await s.getClippingRect({
232
+ } = et(e, t), h = qt(d), w = l[m ? a === "floating" ? "reference" : "floating" : a], p = tt(await s.getClippingRect({
233
233
  element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
234
234
  boundary: c,
235
- rootBoundary: a,
235
+ rootBoundary: u,
236
236
  strategy: f
237
- })), x = u === "floating" ? {
237
+ })), y = a === "floating" ? {
238
238
  x: o,
239
239
  y: i,
240
240
  width: r.floating.width,
241
241
  height: r.floating.height
242
- } : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), R = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
242
+ } : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), R = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
243
243
  x: 1,
244
244
  y: 1
245
245
  } : {
@@ -247,18 +247,18 @@ async function Ct(t, e) {
247
247
  y: 1
248
248
  }, b = tt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
249
249
  elements: l,
250
- rect: x,
251
- offsetParent: y,
250
+ rect: y,
251
+ offsetParent: x,
252
252
  strategy: f
253
- }) : x);
253
+ }) : y);
254
254
  return {
255
- top: (h.top - b.top + p.top) / R.y,
256
- bottom: (b.bottom - h.bottom + p.bottom) / R.y,
257
- left: (h.left - b.left + p.left) / R.x,
258
- right: (b.right - h.right + p.right) / R.x
255
+ top: (p.top - b.top + h.top) / R.y,
256
+ bottom: (b.bottom - p.bottom + h.bottom) / R.y,
257
+ left: (p.left - b.left + h.left) / R.x,
258
+ right: (b.right - p.right + h.right) / R.x
259
259
  };
260
260
  }
261
- const qt = function(t) {
261
+ const Kt = function(t) {
262
262
  return t === void 0 && (t = {}), {
263
263
  name: "flip",
264
264
  options: t,
@@ -272,57 +272,57 @@ const qt = function(t) {
272
272
  platform: f,
273
273
  elements: c
274
274
  } = e, {
275
- mainAxis: a = !0,
276
- crossAxis: u = !0,
275
+ mainAxis: u = !0,
276
+ crossAxis: a = !0,
277
277
  fallbackPlacements: m,
278
278
  fallbackStrategy: d = "bestFit",
279
- fallbackAxisSideDirection: p = "none",
279
+ fallbackAxisSideDirection: h = "none",
280
280
  flipAlignment: g = !0,
281
281
  ...w
282
282
  } = et(t, e);
283
283
  if ((n = s.arrow) != null && n.alignmentOffset)
284
284
  return {};
285
- const h = V(i), x = V(l) === l, y = await (f.isRTL == null ? void 0 : f.isRTL(c.floating)), R = m || (x || !g ? [Z(l)] : Ht(l));
286
- !m && p !== "none" && R.push(...It(l, g, p, y));
287
- const b = [l, ...R], L = await Ct(e, w), v = [];
288
- let S = ((o = s.flip) == null ? void 0 : o.overflows) || [];
289
- if (a && v.push(L[h]), u) {
290
- const F = $t(i, r, y);
291
- v.push(L[F[0]], L[F[1]]);
285
+ const p = M(i), y = M(l) === l, x = await (f.isRTL == null ? void 0 : f.isRTL(c.floating)), R = m || (y || !g ? [Z(l)] : It(l));
286
+ !m && h !== "none" && R.push(...Xt(l, g, h, x));
287
+ const b = [l, ...R], T = await Lt(e, w), v = [];
288
+ let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
289
+ if (u && v.push(T[p]), a) {
290
+ const F = zt(i, r, x);
291
+ v.push(T[F[0]], T[F[1]]);
292
292
  }
293
- if (S = [...S, {
293
+ if (A = [...A, {
294
294
  placement: i,
295
295
  overflows: v
296
296
  }], !v.every((F) => F <= 0)) {
297
- var I, dt;
298
- const F = (((I = s.flip) == null ? void 0 : I.index) || 0) + 1, ht = b[F];
299
- if (ht)
297
+ var I, pt;
298
+ const F = (((I = s.flip) == null ? void 0 : I.index) || 0) + 1, gt = b[F];
299
+ if (gt)
300
300
  return {
301
301
  data: {
302
302
  index: F,
303
- overflows: S
303
+ overflows: A
304
304
  },
305
305
  reset: {
306
- placement: ht
306
+ placement: gt
307
307
  }
308
308
  };
309
- let X = (dt = S.filter((N) => N.overflows[0] <= 0).sort((N, W) => N.overflows[1] - W.overflows[1])[0]) == null ? void 0 : dt.placement;
310
- if (!X)
309
+ let j = (pt = A.filter((W) => W.overflows[0] <= 0).sort((W, _) => W.overflows[1] - _.overflows[1])[0]) == null ? void 0 : pt.placement;
310
+ if (!j)
311
311
  switch (d) {
312
312
  case "bestFit": {
313
- var mt;
314
- const N = (mt = S.map((W) => [W.placement, W.overflows.filter((j) => j > 0).reduce((j, Mt) => j + Mt, 0)]).sort((W, j) => W[1] - j[1])[0]) == null ? void 0 : mt[0];
315
- N && (X = N);
313
+ var ht;
314
+ const W = (ht = A.map((_) => [_.placement, _.overflows.filter((X) => X > 0).reduce((X, Mt) => X + Mt, 0)]).sort((_, X) => _[1] - X[1])[0]) == null ? void 0 : ht[0];
315
+ W && (j = W);
316
316
  break;
317
317
  }
318
318
  case "initialPlacement":
319
- X = l;
319
+ j = l;
320
320
  break;
321
321
  }
322
- if (i !== X)
322
+ if (i !== j)
323
323
  return {
324
324
  reset: {
325
- placement: X
325
+ placement: j
326
326
  }
327
327
  };
328
328
  }
@@ -330,35 +330,35 @@ const qt = function(t) {
330
330
  }
331
331
  };
332
332
  };
333
- async function Ut(t, e) {
333
+ async function Gt(t, e) {
334
334
  const {
335
335
  placement: n,
336
336
  platform: o,
337
337
  elements: i
338
- } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = nt(n), f = ot(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, a = s && f ? -1 : 1, u = et(e, t);
338
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = M(n), l = nt(n), f = ot(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, u = s && f ? -1 : 1, a = et(e, t);
339
339
  let {
340
340
  mainAxis: m,
341
341
  crossAxis: d,
342
- alignmentAxis: p
343
- } = typeof u == "number" ? {
344
- mainAxis: u,
342
+ alignmentAxis: h
343
+ } = typeof a == "number" ? {
344
+ mainAxis: a,
345
345
  crossAxis: 0,
346
346
  alignmentAxis: null
347
347
  } : {
348
348
  mainAxis: 0,
349
349
  crossAxis: 0,
350
350
  alignmentAxis: null,
351
- ...u
351
+ ...a
352
352
  };
353
- return l && typeof p == "number" && (d = l === "end" ? p * -1 : p), f ? {
354
- x: d * a,
353
+ return l && typeof h == "number" && (d = l === "end" ? h * -1 : h), f ? {
354
+ x: d * u,
355
355
  y: m * c
356
356
  } : {
357
357
  x: m * c,
358
- y: d * a
358
+ y: d * u
359
359
  };
360
360
  }
361
- const Kt = function(t) {
361
+ const Jt = function(t) {
362
362
  return t === void 0 && (t = 0), {
363
363
  name: "offset",
364
364
  options: t,
@@ -369,7 +369,7 @@ const Kt = function(t) {
369
369
  y: s,
370
370
  placement: r,
371
371
  middlewareData: l
372
- } = e, f = await Ut(e, t);
372
+ } = e, f = await Gt(e, t);
373
373
  return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
374
374
  x: i + f.x,
375
375
  y: s + f.y,
@@ -380,7 +380,7 @@ const Kt = function(t) {
380
380
  };
381
381
  }
382
382
  };
383
- }, Gt = function(t) {
383
+ }, Qt = function(t) {
384
384
  return t === void 0 && (t = {}), {
385
385
  name: "shift",
386
386
  options: t,
@@ -395,12 +395,12 @@ const Kt = function(t) {
395
395
  limiter: l = {
396
396
  fn: (w) => {
397
397
  let {
398
- x: h,
399
- y: x
398
+ x: p,
399
+ y
400
400
  } = w;
401
401
  return {
402
- x: h,
403
- y: x
402
+ x: p,
403
+ y
404
404
  };
405
405
  }
406
406
  },
@@ -408,20 +408,20 @@ const Kt = function(t) {
408
408
  } = et(t, e), c = {
409
409
  x: n,
410
410
  y: o
411
- }, a = await Ct(e, f), u = ot(V(i)), m = Rt(u);
412
- let d = c[m], p = c[u];
411
+ }, u = await Lt(e, f), a = ot(M(i)), m = Ot(a);
412
+ let d = c[m], h = c[a];
413
413
  if (s) {
414
- const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", x = d + a[w], y = d - a[h];
415
- d = pt(x, d, y);
414
+ const w = m === "y" ? "top" : "left", p = m === "y" ? "bottom" : "right", y = d + u[w], x = d - u[p];
415
+ d = wt(y, d, x);
416
416
  }
417
417
  if (r) {
418
- const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", x = p + a[w], y = p - a[h];
419
- p = pt(x, p, y);
418
+ const w = a === "y" ? "top" : "left", p = a === "y" ? "bottom" : "right", y = h + u[w], x = h - u[p];
419
+ h = wt(y, h, x);
420
420
  }
421
421
  const g = l.fn({
422
422
  ...e,
423
423
  [m]: d,
424
- [u]: p
424
+ [a]: h
425
425
  });
426
426
  return {
427
427
  ...g,
@@ -433,28 +433,31 @@ const Kt = function(t) {
433
433
  }
434
434
  };
435
435
  };
436
- function z(t) {
437
- return Et(t) ? (t.nodeName || "").toLowerCase() : "#document";
436
+ function it() {
437
+ return typeof window < "u";
438
438
  }
439
- function A(t) {
439
+ function N(t) {
440
+ return ft(t) ? (t.nodeName || "").toLowerCase() : "#document";
441
+ }
442
+ function O(t) {
440
443
  var e;
441
444
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
442
445
  }
443
- function T(t) {
446
+ function S(t) {
444
447
  var e;
445
- return (e = (Et(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
448
+ return (e = (ft(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
446
449
  }
447
- function Et(t) {
448
- return t instanceof Node || t instanceof A(t).Node;
450
+ function ft(t) {
451
+ return it() ? t instanceof Node || t instanceof O(t).Node : !1;
449
452
  }
450
453
  function C(t) {
451
- return t instanceof Element || t instanceof A(t).Element;
454
+ return it() ? t instanceof Element || t instanceof O(t).Element : !1;
452
455
  }
453
- function E(t) {
454
- return t instanceof HTMLElement || t instanceof A(t).HTMLElement;
456
+ function L(t) {
457
+ return it() ? t instanceof HTMLElement || t instanceof O(t).HTMLElement : !1;
455
458
  }
456
- function wt(t) {
457
- return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof A(t).ShadowRoot;
459
+ function xt(t) {
460
+ return !it() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof O(t).ShadowRoot;
458
461
  }
459
462
  function K(t) {
460
463
  const {
@@ -462,129 +465,147 @@ function K(t) {
462
465
  overflowX: n,
463
466
  overflowY: o,
464
467
  display: i
465
- } = O(t);
468
+ } = E(t);
466
469
  return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
467
470
  }
468
- function Jt(t) {
469
- return ["table", "td", "th"].includes(z(t));
471
+ function Zt(t) {
472
+ return ["table", "td", "th"].includes(N(t));
470
473
  }
471
- function ct(t) {
472
- const e = ft(), n = O(t);
474
+ function te(t) {
475
+ return [":popover-open", ":modal"].some((e) => {
476
+ try {
477
+ return t.matches(e);
478
+ } catch {
479
+ return !1;
480
+ }
481
+ });
482
+ }
483
+ function ut(t) {
484
+ const e = at(), n = C(t) ? E(t) : t;
473
485
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
474
486
  }
475
- function Qt(t) {
476
- let e = k(t);
477
- for (; E(e) && !H(e); ) {
478
- if (ct(e))
487
+ function ee(t) {
488
+ let e = V(t);
489
+ for (; L(e) && !z(e); ) {
490
+ if (ut(e))
479
491
  return e;
480
- e = k(e);
492
+ if (te(e))
493
+ return null;
494
+ e = V(e);
481
495
  }
482
496
  return null;
483
497
  }
484
- function ft() {
498
+ function at() {
485
499
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
486
500
  }
487
- function H(t) {
488
- return ["html", "body", "#document"].includes(z(t));
501
+ function z(t) {
502
+ return ["html", "body", "#document"].includes(N(t));
489
503
  }
490
- function O(t) {
491
- return A(t).getComputedStyle(t);
504
+ function E(t) {
505
+ return O(t).getComputedStyle(t);
492
506
  }
493
- function it(t) {
507
+ function rt(t) {
494
508
  return C(t) ? {
495
509
  scrollLeft: t.scrollLeft,
496
510
  scrollTop: t.scrollTop
497
511
  } : {
498
- scrollLeft: t.pageXOffset,
499
- scrollTop: t.pageYOffset
512
+ scrollLeft: t.scrollX,
513
+ scrollTop: t.scrollY
500
514
  };
501
515
  }
502
- function k(t) {
503
- if (z(t) === "html")
516
+ function V(t) {
517
+ if (N(t) === "html")
504
518
  return t;
505
519
  const e = (
506
520
  // Step into the shadow DOM of the parent of a slotted node.
507
521
  t.assignedSlot || // DOM Element detected.
508
522
  t.parentNode || // ShadowRoot detected.
509
- wt(t) && t.host || // Fallback.
510
- T(t)
523
+ xt(t) && t.host || // Fallback.
524
+ S(t)
511
525
  );
512
- return wt(e) ? e.host : e;
526
+ return xt(e) ? e.host : e;
513
527
  }
514
- function Lt(t) {
515
- const e = k(t);
516
- return H(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : E(e) && K(e) ? e : Lt(e);
528
+ function Tt(t) {
529
+ const e = V(t);
530
+ return z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : L(e) && K(e) ? e : Tt(e);
517
531
  }
518
532
  function U(t, e, n) {
519
533
  var o;
520
534
  e === void 0 && (e = []), n === void 0 && (n = !0);
521
- const i = Lt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = A(i);
522
- return s ? e.concat(r, r.visualViewport || [], K(i) ? i : [], r.frameElement && n ? U(r.frameElement) : []) : e.concat(i, U(i, [], n));
535
+ const i = Tt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = O(i);
536
+ if (s) {
537
+ const l = ne(r);
538
+ return e.concat(r, r.visualViewport || [], K(i) ? i : [], l && n ? U(l) : []);
539
+ }
540
+ return e.concat(i, U(i, [], n));
523
541
  }
524
- function Tt(t) {
525
- const e = O(t);
542
+ function ne(t) {
543
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
544
+ }
545
+ function St(t) {
546
+ const e = E(t);
526
547
  let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
527
- const i = E(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = Q(n) !== s || Q(o) !== r;
548
+ const i = L(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = Q(n) !== s || Q(o) !== r;
528
549
  return l && (n = s, o = r), {
529
550
  width: n,
530
551
  height: o,
531
552
  $: l
532
553
  };
533
554
  }
534
- function at(t) {
555
+ function dt(t) {
535
556
  return C(t) ? t : t.contextElement;
536
557
  }
537
- function $(t) {
538
- const e = at(t);
539
- if (!E(e))
558
+ function H(t) {
559
+ const e = dt(t);
560
+ if (!L(e))
540
561
  return P(1);
541
562
  const n = e.getBoundingClientRect(), {
542
563
  width: o,
543
564
  height: i,
544
565
  $: s
545
- } = Tt(e);
566
+ } = St(e);
546
567
  let r = (s ? Q(n.width) : n.width) / o, l = (s ? Q(n.height) : n.height) / i;
547
568
  return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
548
569
  x: r,
549
570
  y: l
550
571
  };
551
572
  }
552
- const Zt = /* @__PURE__ */ P(0);
553
- function St(t) {
554
- const e = A(t);
555
- return !ft() || !e.visualViewport ? Zt : {
573
+ const oe = /* @__PURE__ */ P(0);
574
+ function Dt(t) {
575
+ const e = O(t);
576
+ return !at() || !e.visualViewport ? oe : {
556
577
  x: e.visualViewport.offsetLeft,
557
578
  y: e.visualViewport.offsetTop
558
579
  };
559
580
  }
560
- function te(t, e, n) {
561
- return e === void 0 && (e = !1), !n || e && n !== A(t) ? !1 : e;
581
+ function ie(t, e, n) {
582
+ return e === void 0 && (e = !1), !n || e && n !== O(t) ? !1 : e;
562
583
  }
563
584
  function B(t, e, n, o) {
564
585
  e === void 0 && (e = !1), n === void 0 && (n = !1);
565
- const i = t.getBoundingClientRect(), s = at(t);
586
+ const i = t.getBoundingClientRect(), s = dt(t);
566
587
  let r = P(1);
567
- e && (o ? C(o) && (r = $(o)) : r = $(t));
568
- const l = te(s, n, o) ? St(s) : P(0);
569
- let f = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, a = i.width / r.x, u = i.height / r.y;
588
+ e && (o ? C(o) && (r = H(o)) : r = H(t));
589
+ const l = ie(s, n, o) ? Dt(s) : P(0);
590
+ let f = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, u = i.width / r.x, a = i.height / r.y;
570
591
  if (s) {
571
- const m = A(s), d = o && C(o) ? A(o) : o;
572
- let p = m, g = p.frameElement;
573
- for (; g && o && d !== p; ) {
574
- const w = $(g), h = g.getBoundingClientRect(), x = O(g), y = h.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, R = h.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
575
- f *= w.x, c *= w.y, a *= w.x, u *= w.y, f += y, c += R, p = A(g), g = p.frameElement;
592
+ const m = O(s), d = o && C(o) ? O(o) : o;
593
+ let h = m, g = h.frameElement;
594
+ for (; g && o && d !== h; ) {
595
+ const w = H(g), p = g.getBoundingClientRect(), y = E(g), x = p.left + (g.clientLeft + parseFloat(y.paddingLeft)) * w.x, R = p.top + (g.clientTop + parseFloat(y.paddingTop)) * w.y;
596
+ f *= w.x, c *= w.y, u *= w.x, a *= w.y, f += x, c += R, h = O(g), g = h.frameElement;
576
597
  }
577
598
  }
578
599
  return tt({
579
- width: a,
580
- height: u,
600
+ width: u,
601
+ height: a,
581
602
  x: f,
582
603
  y: c
583
604
  });
584
605
  }
585
- const ee = [":popover-open", ":modal"];
586
- function ut(t) {
587
- return ee.some((e) => {
606
+ const re = [":popover-open", ":modal"];
607
+ function mt(t) {
608
+ return re.some((e) => {
588
609
  try {
589
610
  return t.matches(e);
590
611
  } catch {
@@ -592,55 +613,55 @@ function ut(t) {
592
613
  }
593
614
  });
594
615
  }
595
- function ne(t) {
616
+ function se(t) {
596
617
  let {
597
618
  elements: e,
598
619
  rect: n,
599
620
  offsetParent: o,
600
621
  strategy: i
601
622
  } = t;
602
- const s = i === "fixed", r = T(o), l = e ? ut(e.floating) : !1;
623
+ const s = i === "fixed", r = S(o), l = e ? mt(e.floating) : !1;
603
624
  if (o === r || l && s)
604
625
  return n;
605
626
  let f = {
606
627
  scrollLeft: 0,
607
628
  scrollTop: 0
608
629
  }, c = P(1);
609
- const a = P(0), u = E(o);
610
- if ((u || !u && !s) && ((z(o) !== "body" || K(r)) && (f = it(o)), E(o))) {
630
+ const u = P(0), a = L(o);
631
+ if ((a || !a && !s) && ((N(o) !== "body" || K(r)) && (f = rt(o)), L(o))) {
611
632
  const m = B(o);
612
- c = $(o), a.x = m.x + o.clientLeft, a.y = m.y + o.clientTop;
633
+ c = H(o), u.x = m.x + o.clientLeft, u.y = m.y + o.clientTop;
613
634
  }
614
635
  return {
615
636
  width: n.width * c.x,
616
637
  height: n.height * c.y,
617
- x: n.x * c.x - f.scrollLeft * c.x + a.x,
618
- y: n.y * c.y - f.scrollTop * c.y + a.y
638
+ x: n.x * c.x - f.scrollLeft * c.x + u.x,
639
+ y: n.y * c.y - f.scrollTop * c.y + u.y
619
640
  };
620
641
  }
621
- function oe(t) {
642
+ function le(t) {
622
643
  return Array.from(t.getClientRects());
623
644
  }
624
- function Dt(t) {
625
- return B(T(t)).left + it(t).scrollLeft;
645
+ function Pt(t) {
646
+ return B(S(t)).left + rt(t).scrollLeft;
626
647
  }
627
- function ie(t) {
628
- const e = T(t), n = it(t), o = t.ownerDocument.body, i = M(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = M(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
629
- let r = -n.scrollLeft + Dt(t);
648
+ function ce(t) {
649
+ const e = S(t), n = rt(t), o = t.ownerDocument.body, i = k(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = k(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
650
+ let r = -n.scrollLeft + Pt(t);
630
651
  const l = -n.scrollTop;
631
- return O(o).direction === "rtl" && (r += M(e.clientWidth, o.clientWidth) - i), {
652
+ return E(o).direction === "rtl" && (r += k(e.clientWidth, o.clientWidth) - i), {
632
653
  width: i,
633
654
  height: s,
634
655
  x: r,
635
656
  y: l
636
657
  };
637
658
  }
638
- function re(t, e) {
639
- const n = A(t), o = T(t), i = n.visualViewport;
659
+ function fe(t, e) {
660
+ const n = O(t), o = S(t), i = n.visualViewport;
640
661
  let s = o.clientWidth, r = o.clientHeight, l = 0, f = 0;
641
662
  if (i) {
642
663
  s = i.width, r = i.height;
643
- const c = ft();
664
+ const c = at();
644
665
  (!c || c && e === "fixed") && (l = i.offsetLeft, f = i.offsetTop);
645
666
  }
646
667
  return {
@@ -650,8 +671,8 @@ function re(t, e) {
650
671
  y: f
651
672
  };
652
673
  }
653
- function se(t, e) {
654
- const n = B(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = E(t) ? $(t) : P(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, f = i * s.x, c = o * s.y;
674
+ function ue(t, e) {
675
+ const n = B(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = L(t) ? H(t) : P(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, f = i * s.x, c = o * s.y;
655
676
  return {
656
677
  width: r,
657
678
  height: l,
@@ -659,16 +680,16 @@ function se(t, e) {
659
680
  y: c
660
681
  };
661
682
  }
662
- function xt(t, e, n) {
683
+ function vt(t, e, n) {
663
684
  let o;
664
685
  if (e === "viewport")
665
- o = re(t, n);
686
+ o = fe(t, n);
666
687
  else if (e === "document")
667
- o = ie(T(t));
688
+ o = ce(S(t));
668
689
  else if (C(e))
669
- o = se(e, n);
690
+ o = ue(e, n);
670
691
  else {
671
- const i = St(t);
692
+ const i = Dt(t);
672
693
  o = {
673
694
  ...e,
674
695
  x: e.x - i.x,
@@ -677,34 +698,34 @@ function xt(t, e, n) {
677
698
  }
678
699
  return tt(o);
679
700
  }
680
- function Pt(t, e) {
681
- const n = k(t);
682
- return n === e || !C(n) || H(n) ? !1 : O(n).position === "fixed" || Pt(n, e);
701
+ function Vt(t, e) {
702
+ const n = V(t);
703
+ return n === e || !C(n) || z(n) ? !1 : E(n).position === "fixed" || Vt(n, e);
683
704
  }
684
- function le(t, e) {
705
+ function ae(t, e) {
685
706
  const n = e.get(t);
686
707
  if (n)
687
708
  return n;
688
- let o = U(t, [], !1).filter((l) => C(l) && z(l) !== "body"), i = null;
689
- const s = O(t).position === "fixed";
690
- let r = s ? k(t) : t;
691
- for (; C(r) && !H(r); ) {
692
- const l = O(r), f = ct(r);
693
- !f && l.position === "fixed" && (i = null), (s ? !f && !i : !f && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || K(r) && !f && Pt(t, r)) ? o = o.filter((a) => a !== r) : i = l, r = k(r);
709
+ let o = U(t, [], !1).filter((l) => C(l) && N(l) !== "body"), i = null;
710
+ const s = E(t).position === "fixed";
711
+ let r = s ? V(t) : t;
712
+ for (; C(r) && !z(r); ) {
713
+ const l = E(r), f = ut(r);
714
+ !f && l.position === "fixed" && (i = null), (s ? !f && !i : !f && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || K(r) && !f && Vt(t, r)) ? o = o.filter((u) => u !== r) : i = l, r = V(r);
694
715
  }
695
716
  return e.set(t, o), o;
696
717
  }
697
- function ce(t) {
718
+ function de(t) {
698
719
  let {
699
720
  element: e,
700
721
  boundary: n,
701
722
  rootBoundary: o,
702
723
  strategy: i
703
724
  } = t;
704
- const r = [...n === "clippingAncestors" ? ut(e) ? [] : le(e, this._c) : [].concat(n), o], l = r[0], f = r.reduce((c, a) => {
705
- const u = xt(e, a, i);
706
- return c.top = M(u.top, c.top), c.right = J(u.right, c.right), c.bottom = J(u.bottom, c.bottom), c.left = M(u.left, c.left), c;
707
- }, xt(e, l, i));
725
+ const r = [...n === "clippingAncestors" ? mt(e) ? [] : ae(e, this._c) : [].concat(n), o], l = r[0], f = r.reduce((c, u) => {
726
+ const a = vt(e, u, i);
727
+ return c.top = k(a.top, c.top), c.right = J(a.right, c.right), c.bottom = J(a.bottom, c.bottom), c.left = k(a.left, c.left), c;
728
+ }, vt(e, l, i));
708
729
  return {
709
730
  width: f.right - f.left,
710
731
  height: f.bottom - f.top,
@@ -712,64 +733,64 @@ function ce(t) {
712
733
  y: f.top
713
734
  };
714
735
  }
715
- function fe(t) {
736
+ function me(t) {
716
737
  const {
717
738
  width: e,
718
739
  height: n
719
- } = Tt(t);
740
+ } = St(t);
720
741
  return {
721
742
  width: e,
722
743
  height: n
723
744
  };
724
745
  }
725
- function ae(t, e, n) {
726
- const o = E(e), i = T(e), s = n === "fixed", r = B(t, !0, s, e);
746
+ function pe(t, e, n) {
747
+ const o = L(e), i = S(e), s = n === "fixed", r = B(t, !0, s, e);
727
748
  let l = {
728
749
  scrollLeft: 0,
729
750
  scrollTop: 0
730
751
  };
731
752
  const f = P(0);
732
753
  if (o || !o && !s)
733
- if ((z(e) !== "body" || K(i)) && (l = it(e)), o) {
734
- const u = B(e, !0, s, e);
735
- f.x = u.x + e.clientLeft, f.y = u.y + e.clientTop;
736
- } else i && (f.x = Dt(i));
737
- const c = r.left + l.scrollLeft - f.x, a = r.top + l.scrollTop - f.y;
754
+ if ((N(e) !== "body" || K(i)) && (l = rt(e)), o) {
755
+ const a = B(e, !0, s, e);
756
+ f.x = a.x + e.clientLeft, f.y = a.y + e.clientTop;
757
+ } else i && (f.x = Pt(i));
758
+ const c = r.left + l.scrollLeft - f.x, u = r.top + l.scrollTop - f.y;
738
759
  return {
739
760
  x: c,
740
- y: a,
761
+ y: u,
741
762
  width: r.width,
742
763
  height: r.height
743
764
  };
744
765
  }
745
- function st(t) {
746
- return O(t).position === "static";
766
+ function lt(t) {
767
+ return E(t).position === "static";
747
768
  }
748
- function yt(t, e) {
749
- return !E(t) || O(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
769
+ function bt(t, e) {
770
+ return !L(t) || E(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
750
771
  }
751
- function kt(t, e) {
752
- const n = A(t);
753
- if (ut(t))
772
+ function Ft(t, e) {
773
+ const n = O(t);
774
+ if (mt(t))
754
775
  return n;
755
- if (!E(t)) {
756
- let i = k(t);
757
- for (; i && !H(i); ) {
758
- if (C(i) && !st(i))
776
+ if (!L(t)) {
777
+ let i = V(t);
778
+ for (; i && !z(i); ) {
779
+ if (C(i) && !lt(i))
759
780
  return i;
760
- i = k(i);
781
+ i = V(i);
761
782
  }
762
783
  return n;
763
784
  }
764
- let o = yt(t, e);
765
- for (; o && Jt(o) && st(o); )
766
- o = yt(o, e);
767
- return o && H(o) && st(o) && !ct(o) ? n : o || Qt(t) || n;
785
+ let o = bt(t, e);
786
+ for (; o && Zt(o) && lt(o); )
787
+ o = bt(o, e);
788
+ return o && z(o) && lt(o) && !ut(o) ? n : o || ee(t) || n;
768
789
  }
769
- const ue = async function(t) {
770
- const e = this.getOffsetParent || kt, n = this.getDimensions, o = await n(t.floating);
790
+ const he = async function(t) {
791
+ const e = this.getOffsetParent || Ft, n = this.getDimensions, o = await n(t.floating);
771
792
  return {
772
- reference: ae(t.reference, await e(t.floating), t.strategy),
793
+ reference: pe(t.reference, await e(t.floating), t.strategy),
773
794
  floating: {
774
795
  x: 0,
775
796
  y: 0,
@@ -778,24 +799,24 @@ const ue = async function(t) {
778
799
  }
779
800
  };
780
801
  };
781
- function de(t) {
782
- return O(t).direction === "rtl";
783
- }
784
- const me = {
785
- convertOffsetParentRelativeRectToViewportRelativeRect: ne,
786
- getDocumentElement: T,
787
- getClippingRect: ce,
788
- getOffsetParent: kt,
789
- getElementRects: ue,
790
- getClientRects: oe,
791
- getDimensions: fe,
792
- getScale: $,
802
+ function ge(t) {
803
+ return E(t).direction === "rtl";
804
+ }
805
+ const we = {
806
+ convertOffsetParentRelativeRectToViewportRelativeRect: se,
807
+ getDocumentElement: S,
808
+ getClippingRect: de,
809
+ getOffsetParent: Ft,
810
+ getElementRects: he,
811
+ getClientRects: le,
812
+ getDimensions: me,
813
+ getScale: H,
793
814
  isElement: C,
794
- isRTL: de
815
+ isRTL: ge
795
816
  };
796
- function he(t, e) {
817
+ function ye(t, e) {
797
818
  let n = null, o;
798
- const i = T(t);
819
+ const i = S(t);
799
820
  function s() {
800
821
  var l;
801
822
  clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
@@ -804,42 +825,42 @@ function he(t, e) {
804
825
  l === void 0 && (l = !1), f === void 0 && (f = 1), s();
805
826
  const {
806
827
  left: c,
807
- top: a,
808
- width: u,
828
+ top: u,
829
+ width: a,
809
830
  height: m
810
831
  } = t.getBoundingClientRect();
811
- if (l || e(), !u || !m)
832
+ if (l || e(), !a || !m)
812
833
  return;
813
- const d = G(a), p = G(i.clientWidth - (c + u)), g = G(i.clientHeight - (a + m)), w = G(c), x = {
814
- rootMargin: -d + "px " + -p + "px " + -g + "px " + -w + "px",
815
- threshold: M(0, J(1, f)) || 1
834
+ const d = G(u), h = G(i.clientWidth - (c + a)), g = G(i.clientHeight - (u + m)), w = G(c), y = {
835
+ rootMargin: -d + "px " + -h + "px " + -g + "px " + -w + "px",
836
+ threshold: k(0, J(1, f)) || 1
816
837
  };
817
- let y = !0;
838
+ let x = !0;
818
839
  function R(b) {
819
- const L = b[0].intersectionRatio;
820
- if (L !== f) {
821
- if (!y)
840
+ const T = b[0].intersectionRatio;
841
+ if (T !== f) {
842
+ if (!x)
822
843
  return r();
823
- L ? r(!1, L) : o = setTimeout(() => {
844
+ T ? r(!1, T) : o = setTimeout(() => {
824
845
  r(!1, 1e-7);
825
846
  }, 1e3);
826
847
  }
827
- y = !1;
848
+ x = !1;
828
849
  }
829
850
  try {
830
851
  n = new IntersectionObserver(R, {
831
- ...x,
852
+ ...y,
832
853
  // Handle <iframe>s
833
854
  root: i.ownerDocument
834
855
  });
835
856
  } catch {
836
- n = new IntersectionObserver(R, x);
857
+ n = new IntersectionObserver(R, y);
837
858
  }
838
859
  n.observe(t);
839
860
  }
840
861
  return r(!0), s;
841
862
  }
842
- function we(t, e, n, o) {
863
+ function Re(t, e, n, o) {
843
864
  o === void 0 && (o = {});
844
865
  const {
845
866
  ancestorScroll: i = !0,
@@ -847,140 +868,152 @@ function we(t, e, n, o) {
847
868
  elementResize: r = typeof ResizeObserver == "function",
848
869
  layoutShift: l = typeof IntersectionObserver == "function",
849
870
  animationFrame: f = !1
850
- } = o, c = at(t), a = i || s ? [...c ? U(c) : [], ...U(e)] : [];
851
- a.forEach((h) => {
852
- i && h.addEventListener("scroll", n, {
871
+ } = o, c = dt(t), u = i || s ? [...c ? U(c) : [], ...U(e)] : [];
872
+ u.forEach((p) => {
873
+ i && p.addEventListener("scroll", n, {
853
874
  passive: !0
854
- }), s && h.addEventListener("resize", n);
875
+ }), s && p.addEventListener("resize", n);
855
876
  });
856
- const u = c && l ? he(c, n) : null;
877
+ const a = c && l ? ye(c, n) : null;
857
878
  let m = -1, d = null;
858
- r && (d = new ResizeObserver((h) => {
859
- let [x] = h;
860
- x && x.target === c && d && (d.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
861
- var y;
862
- (y = d) == null || y.observe(e);
879
+ r && (d = new ResizeObserver((p) => {
880
+ let [y] = p;
881
+ y && y.target === c && d && (d.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
882
+ var x;
883
+ (x = d) == null || x.observe(e);
863
884
  })), n();
864
885
  }), c && !f && d.observe(c), d.observe(e));
865
- let p, g = f ? B(t) : null;
886
+ let h, g = f ? B(t) : null;
866
887
  f && w();
867
888
  function w() {
868
- const h = B(t);
869
- g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, p = requestAnimationFrame(w);
889
+ const p = B(t);
890
+ g && (p.x !== g.x || p.y !== g.y || p.width !== g.width || p.height !== g.height) && n(), g = p, h = requestAnimationFrame(w);
870
891
  }
871
892
  return n(), () => {
872
- var h;
873
- a.forEach((x) => {
874
- i && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
875
- }), u == null || u(), (h = d) == null || h.disconnect(), d = null, f && cancelAnimationFrame(p);
893
+ var p;
894
+ u.forEach((y) => {
895
+ i && y.removeEventListener("scroll", n), s && y.removeEventListener("resize", n);
896
+ }), a == null || a(), (p = d) == null || p.disconnect(), d = null, f && cancelAnimationFrame(h);
876
897
  };
877
898
  }
878
- const xe = Kt, ye = Gt, ve = qt, pe = (t, e, n) => {
899
+ const Ae = Jt, Oe = Qt, Ce = Kt, xe = (t, e, n) => {
879
900
  const o = /* @__PURE__ */ new Map(), i = {
880
- platform: me,
901
+ platform: we,
881
902
  ...n
882
903
  }, s = {
883
904
  ...i.platform,
884
905
  _c: o
885
906
  };
886
- return Yt(t, e, {
907
+ return Ut(t, e, {
887
908
  ...i,
888
909
  platform: s
889
910
  });
890
911
  };
891
- function vt(t) {
892
- var e;
893
- return (e = t == null ? void 0 : t.$el) != null ? e : t;
912
+ function ve(t) {
913
+ return t != null && typeof t == "object" && "$el" in t;
914
+ }
915
+ function Rt(t) {
916
+ if (ve(t)) {
917
+ const e = t.$el;
918
+ return ft(e) && N(e) === "#comment" ? null : e;
919
+ }
920
+ return t;
894
921
  }
895
- function Ft(t) {
922
+ function q(t) {
923
+ return typeof t == "function" ? t() : _t(t);
924
+ }
925
+ function kt(t) {
896
926
  return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
897
927
  }
898
- function bt(t, e) {
899
- const n = Ft(t);
928
+ function At(t, e) {
929
+ const n = kt(t);
900
930
  return Math.round(e * n) / n;
901
931
  }
902
- function be(t, e, n) {
932
+ function Ee(t, e, n) {
903
933
  n === void 0 && (n = {});
904
934
  const o = n.whileElementsMounted, i = D(() => {
905
935
  var v;
906
- return (v = Y(n.open)) != null ? v : !0;
907
- }), s = D(() => Y(n.middleware)), r = D(() => {
936
+ return (v = q(n.open)) != null ? v : !0;
937
+ }), s = D(() => q(n.middleware)), r = D(() => {
908
938
  var v;
909
- return (v = Y(n.placement)) != null ? v : "bottom";
939
+ return (v = q(n.placement)) != null ? v : "bottom";
910
940
  }), l = D(() => {
911
941
  var v;
912
- return (v = Y(n.strategy)) != null ? v : "absolute";
942
+ return (v = q(n.strategy)) != null ? v : "absolute";
913
943
  }), f = D(() => {
914
944
  var v;
915
- return (v = Y(n.transform)) != null ? v : !0;
916
- }), c = D(() => vt(t.value)), a = D(() => vt(e.value)), u = q(0), m = q(0), d = q(l.value), p = q(r.value), g = Vt({}), w = q(!1), h = D(() => {
945
+ return (v = q(n.transform)) != null ? v : !0;
946
+ }), c = D(() => Rt(t.value)), u = D(() => Rt(e.value)), a = Y(0), m = Y(0), d = Y(l.value), h = Y(r.value), g = Bt({}), w = Y(!1), p = D(() => {
917
947
  const v = {
918
948
  position: d.value,
919
949
  left: "0",
920
950
  top: "0"
921
951
  };
922
- if (!a.value)
952
+ if (!u.value)
923
953
  return v;
924
- const S = bt(a.value, u.value), I = bt(a.value, m.value);
954
+ const A = At(u.value, a.value), I = At(u.value, m.value);
925
955
  return f.value ? {
926
956
  ...v,
927
- transform: "translate(" + S + "px, " + I + "px)",
928
- ...Ft(a.value) >= 1.5 && {
957
+ transform: "translate(" + A + "px, " + I + "px)",
958
+ ...kt(u.value) >= 1.5 && {
929
959
  willChange: "transform"
930
960
  }
931
961
  } : {
932
962
  position: d.value,
933
- left: S + "px",
963
+ left: A + "px",
934
964
  top: I + "px"
935
965
  };
936
966
  });
937
- let x;
938
- function y() {
939
- c.value == null || a.value == null || pe(c.value, a.value, {
967
+ let y;
968
+ function x() {
969
+ if (c.value == null || u.value == null)
970
+ return;
971
+ const v = i.value;
972
+ xe(c.value, u.value, {
940
973
  middleware: s.value,
941
974
  placement: r.value,
942
975
  strategy: l.value
943
- }).then((v) => {
944
- u.value = v.x, m.value = v.y, d.value = v.strategy, p.value = v.placement, g.value = v.middlewareData, w.value = !0;
976
+ }).then((A) => {
977
+ a.value = A.x, m.value = A.y, d.value = A.strategy, h.value = A.placement, g.value = A.middlewareData, w.value = v !== !1;
945
978
  });
946
979
  }
947
980
  function R() {
948
- typeof x == "function" && (x(), x = void 0);
981
+ typeof y == "function" && (y(), y = void 0);
949
982
  }
950
983
  function b() {
951
984
  if (R(), o === void 0) {
952
- y();
985
+ x();
953
986
  return;
954
987
  }
955
- if (c.value != null && a.value != null) {
956
- x = o(c.value, a.value, y);
988
+ if (c.value != null && u.value != null) {
989
+ y = o(c.value, u.value, x);
957
990
  return;
958
991
  }
959
992
  }
960
- function L() {
993
+ function T() {
961
994
  i.value || (w.value = !1);
962
995
  }
963
- return rt([s, r, l], y, {
996
+ return st([s, r, l, i], x, {
964
997
  flush: "sync"
965
- }), rt([c, a], b, {
998
+ }), st([c, u], b, {
966
999
  flush: "sync"
967
- }), rt(i, L, {
1000
+ }), st(i, T, {
968
1001
  flush: "sync"
969
- }), Bt() && Nt(R), {
970
- x: _(u),
971
- y: _(m),
972
- strategy: _(d),
973
- placement: _(p),
974
- middlewareData: _(g),
975
- isPositioned: _(w),
976
- floatingStyles: h,
977
- update: y
1002
+ }), Nt() && Wt(R), {
1003
+ x: $(a),
1004
+ y: $(m),
1005
+ strategy: $(d),
1006
+ placement: $(h),
1007
+ middlewareData: $(g),
1008
+ isPositioned: $(w),
1009
+ floatingStyles: p,
1010
+ update: x
978
1011
  };
979
1012
  }
980
1013
  export {
981
- we as a,
982
- ve as f,
983
- xe as o,
984
- ye as s,
985
- be as u
1014
+ Re as a,
1015
+ Ce as f,
1016
+ Ae as o,
1017
+ Oe as s,
1018
+ Ee as u
986
1019
  };