@reni-corp/reni-2c-ui 0.2.13 → 0.2.15

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 (109) hide show
  1. package/README.md +138 -11
  2. package/dist/components/elements/Alert.vue.d.ts +2 -2
  3. package/dist/components/elements/Alert.vue.d.ts.map +1 -1
  4. package/dist/components/elements/Button.vue.d.ts +4 -4
  5. package/dist/components/elements/Button.vue.d.ts.map +1 -1
  6. package/dist/components/elements/CheckBox.vue.d.ts +6 -6
  7. package/dist/components/elements/Html.vue.d.ts +46 -0
  8. package/dist/components/elements/Html.vue.d.ts.map +1 -0
  9. package/dist/components/elements/Icon.vue.d.ts +2 -2
  10. package/dist/components/elements/Icon.vue.d.ts.map +1 -1
  11. package/dist/components/elements/Image.vue.d.ts +57 -0
  12. package/dist/components/elements/Image.vue.d.ts.map +1 -0
  13. package/dist/components/elements/Label.vue.d.ts +1 -1
  14. package/dist/components/elements/Label.vue.d.ts.map +1 -1
  15. package/dist/components/elements/PasswordField.vue.d.ts +18 -18
  16. package/dist/components/elements/SelectBox.vue.d.ts +9 -9
  17. package/dist/components/elements/SelectBox.vue.d.ts.map +1 -1
  18. package/dist/components/elements/SpinButton.vue.d.ts +2 -2
  19. package/dist/components/elements/Spinner.vue.d.ts +1 -1
  20. package/dist/components/elements/Spinner.vue.d.ts.map +1 -1
  21. package/dist/components/elements/Text.vue.d.ts +1 -0
  22. package/dist/components/elements/Text.vue.d.ts.map +1 -1
  23. package/dist/components/elements/TextField.vue.d.ts +23 -23
  24. package/dist/components/elements/TextField.vue.d.ts.map +1 -1
  25. package/dist/components/elements/ToolChip.vue.d.ts +1 -1
  26. package/dist/components/elements/ToolChip.vue.d.ts.map +1 -1
  27. package/dist/components/features/AnnounceBar.vue.d.ts +1 -1
  28. package/dist/components/features/AnnounceBar.vue.d.ts.map +1 -1
  29. package/dist/components/features/AnnounceBarCollection.vue.d.ts +1 -1
  30. package/dist/components/features/AnnounceBarCollection.vue.d.ts.map +1 -1
  31. package/dist/components/features/CategoryBanner.vue.d.ts +5 -1
  32. package/dist/components/features/CategoryBanner.vue.d.ts.map +1 -1
  33. package/dist/components/features/FloatingBanner.vue.d.ts.map +1 -1
  34. package/dist/components/features/Hero.vue.d.ts +42 -8
  35. package/dist/components/features/Hero.vue.d.ts.map +1 -1
  36. package/dist/components/features/ImageGrid.vue.d.ts +49 -0
  37. package/dist/components/features/ImageGrid.vue.d.ts.map +1 -0
  38. package/dist/components/features/Marquee.vue.d.ts +50 -68
  39. package/dist/components/features/Marquee.vue.d.ts.map +1 -1
  40. package/dist/components/features/MediaContent.vue.d.ts +3 -3
  41. package/dist/components/features/MediaContent.vue.d.ts.map +1 -1
  42. package/dist/components/features/Schedule.vue.d.ts +4 -8
  43. package/dist/components/features/Schedule.vue.d.ts.map +1 -1
  44. package/dist/components/features/ScheduleDateItem.vue.d.ts +4 -8
  45. package/dist/components/features/ScheduleDateItem.vue.d.ts.map +1 -1
  46. package/dist/components/features/ScheduleDelivery.vue.d.ts +32 -7
  47. package/dist/components/features/ScheduleDelivery.vue.d.ts.map +1 -1
  48. package/dist/components/features/ScheduleDeliveryItem.vue.d.ts +2 -6
  49. package/dist/components/features/ScheduleDeliveryItem.vue.d.ts.map +1 -1
  50. package/dist/components/features/SchedulePeriod.vue.d.ts +2 -6
  51. package/dist/components/features/SchedulePeriod.vue.d.ts.map +1 -1
  52. package/dist/components/features/SchedulePickup.vue.d.ts +42 -6
  53. package/dist/components/features/SchedulePickup.vue.d.ts.map +1 -1
  54. package/dist/components/features/SchedulePickupItem.vue.d.ts +3 -7
  55. package/dist/components/features/SchedulePickupItem.vue.d.ts.map +1 -1
  56. package/dist/components/features/Schedules.vue.d.ts +35 -0
  57. package/dist/components/features/Schedules.vue.d.ts.map +1 -0
  58. package/dist/components/foundation/AppBody.vue.d.ts +0 -1
  59. package/dist/components/foundation/AppBody.vue.d.ts.map +1 -1
  60. package/dist/components/foundation/AppFooter.vue.d.ts +0 -1
  61. package/dist/components/foundation/AppFooter.vue.d.ts.map +1 -1
  62. package/dist/components/foundation/AppFrame.vue.d.ts +0 -1
  63. package/dist/components/foundation/AppFrame.vue.d.ts.map +1 -1
  64. package/dist/components/interactive/Dialog.vue.d.ts +1 -1
  65. package/dist/components/interactive/Dialog.vue.d.ts.map +1 -1
  66. package/dist/components/interactive/DropDown.vue.d.ts.map +1 -1
  67. package/dist/components/interactive/Modal.vue.d.ts.map +1 -1
  68. package/dist/components/interactive/Notification.vue.d.ts +3 -3
  69. package/dist/components/interactive/Notification.vue.d.ts.map +1 -1
  70. package/dist/components/interactive/Slider.vue.d.ts +36 -0
  71. package/dist/components/interactive/Slider.vue.d.ts.map +1 -0
  72. package/dist/components/interactive/Tab.vue.d.ts.map +1 -1
  73. package/dist/components/interactive/TabPanel.vue.d.ts +0 -1
  74. package/dist/components/interactive/TabPanel.vue.d.ts.map +1 -1
  75. package/dist/components/interactive/TabPanels.vue.d.ts.map +1 -1
  76. package/dist/components/interactive/Tabs.vue.d.ts.map +1 -1
  77. package/dist/components/layouts/Card.vue.d.ts +1 -1
  78. package/dist/components/layouts/Card.vue.d.ts.map +1 -1
  79. package/dist/components/layouts/Grid.vue.d.ts +10 -6
  80. package/dist/components/layouts/Grid.vue.d.ts.map +1 -1
  81. package/dist/components/layouts/Page.vue.d.ts +20 -20
  82. package/dist/components/layouts/Page.vue.d.ts.map +1 -1
  83. package/dist/components/layouts/Section.vue.d.ts +20 -23
  84. package/dist/components/layouts/Section.vue.d.ts.map +1 -1
  85. package/dist/components/layouts/Stack.vue.d.ts +19 -23
  86. package/dist/components/layouts/Stack.vue.d.ts.map +1 -1
  87. package/dist/components/navigation/BottomBar.vue.d.ts.map +1 -1
  88. package/dist/components/renderless/DataProvider.vue.d.ts.map +1 -1
  89. package/dist/components/renderless/OptionGroupSwitchController.vue.d.ts.map +1 -1
  90. package/dist/composable/useAppNotifications.d.ts.map +1 -1
  91. package/dist/composable/useToolChip.d.ts +1 -1
  92. package/dist/composable/useToolChip.d.ts.map +1 -1
  93. package/dist/{composables-715deb99.js → composables-2fcaaed0.js} +1035 -963
  94. package/dist/composables.es.js +3 -3
  95. package/dist/constants.d.ts +4 -4
  96. package/dist/constants.d.ts.map +1 -1
  97. package/dist/directives/auto-scale.d.ts.map +1 -1
  98. package/dist/directives/glitch.d.ts.map +1 -1
  99. package/dist/index-3ee8d80a.js +3495 -0
  100. package/dist/index.d.ts +12 -1
  101. package/dist/index.d.ts.map +1 -1
  102. package/dist/index.es.js +5989 -4805
  103. package/dist/script.es.js +7091 -5839
  104. package/dist/script.umd.js +24 -16
  105. package/dist/style.css +1 -1
  106. package/dist/types.d.ts.map +1 -1
  107. package/dist/utils.d.ts.map +1 -1
  108. package/dist/valueObjects/NumberValue.d.ts.map +1 -1
  109. package/package.json +6 -2
@@ -1,56 +1,56 @@
1
- import { pushScopeId as Yt, popScopeId as Ut, defineComponent as Ee, nextTick as Ge, openBlock as q, createBlock as ze, ref as z, createElementBlock as he, normalizeClass as Ye, renderSlot as Se, normalizeProps as Xt, guardReactiveProps as Kt, withScopeId as Jt, resolveComponent as fe, normalizeStyle as ke, withKeys as Qt, createElementVNode as oe, Fragment as Zt, createCommentVNode as et, mergeProps as $t, withCtx as Te, createVNode as _t, createApp as eo, h as to, toDisplayString as oo, unref as no, onMounted as bt, getCurrentScope as io, onScopeDispose as so, isRef as ro, getCurrentInstance as Ue, toRef as lo, readonly as ao, customRef as co, computed as me, reactive as tt, watch as ge, watchEffect as uo } from "vue";
2
- const po = ["top", "right", "bottom", "left"], ot = ["start", "end"], nt = /* @__PURE__ */ po.reduce((e, t) => e.concat(t, t + "-" + ot[0], t + "-" + ot[1]), []), we = Math.min, te = Math.max, ho = {
1
+ import { pushScopeId as Xt, popScopeId as Kt, defineComponent as Re, nextTick as Ue, openBlock as G, createBlock as Le, ref as z, createElementBlock as ge, normalizeClass as Xe, renderSlot as Pe, normalizeProps as Jt, guardReactiveProps as Qt, withScopeId as Zt, resolveComponent as we, normalizeStyle as Ie, withKeys as en, createElementVNode as ie, Fragment as tn, createCommentVNode as nt, mergeProps as xt, withCtx as Ae, createVNode as _t, createApp as nn, h as on, toDisplayString as sn, unref as rn, onMounted as St, getCurrentScope as ln, onScopeDispose as an, isRef as dn, getCurrentInstance as Ke, toRef as cn, readonly as un, customRef as pn, computed as re, reactive as ot, watch as ve, watchEffect as hn } from "vue";
2
+ const fn = ["top", "right", "bottom", "left"], it = ["start", "end"], st = /* @__PURE__ */ fn.reduce((e, t) => e.concat(t, t + "-" + it[0], t + "-" + it[1]), []), ye = Math.min, oe = Math.max, mn = {
3
3
  left: "right",
4
4
  right: "left",
5
5
  bottom: "top",
6
6
  top: "bottom"
7
- }, fo = {
7
+ }, gn = {
8
8
  start: "end",
9
9
  end: "start"
10
10
  };
11
- function We(e, t, o) {
12
- return te(e, we(t, o));
11
+ function Ve(e, t, n) {
12
+ return oe(e, ye(t, n));
13
13
  }
14
- function se(e, t) {
14
+ function le(e, t) {
15
15
  return typeof e == "function" ? e(t) : e;
16
16
  }
17
- function V(e) {
17
+ function q(e) {
18
18
  return e.split("-")[0];
19
19
  }
20
- function I(e) {
20
+ function B(e) {
21
21
  return e.split("-")[1];
22
22
  }
23
- function xt(e) {
23
+ function Tt(e) {
24
24
  return e === "x" ? "y" : "x";
25
25
  }
26
- function Xe(e) {
26
+ function Je(e) {
27
27
  return e === "y" ? "height" : "width";
28
28
  }
29
- function ie(e) {
30
- return ["top", "bottom"].includes(V(e)) ? "y" : "x";
29
+ function Q(e) {
30
+ return ["top", "bottom"].includes(q(e)) ? "y" : "x";
31
31
  }
32
- function Ke(e) {
33
- return xt(ie(e));
32
+ function Qe(e) {
33
+ return Tt(Q(e));
34
34
  }
35
- function St(e, t, o) {
36
- o === void 0 && (o = !1);
37
- const n = I(e), i = Ke(e), s = Xe(i);
38
- let r = i === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
39
- return t.reference[s] > t.floating[s] && (r = Ae(r)), [r, Ae(r)];
35
+ function Pt(e, t, n) {
36
+ n === void 0 && (n = !1);
37
+ const o = B(e), i = Qe(e), s = Je(i);
38
+ let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
39
+ return t.reference[s] > t.floating[s] && (r = Oe(r)), [r, Oe(r)];
40
40
  }
41
- function mo(e) {
42
- const t = Ae(e);
43
- return [Pe(e), t, Pe(t)];
41
+ function wn(e) {
42
+ const t = Oe(e);
43
+ return [Ce(e), t, Ce(t)];
44
44
  }
45
- function Pe(e) {
46
- return e.replace(/start|end/g, (t) => fo[t]);
45
+ function Ce(e) {
46
+ return e.replace(/start|end/g, (t) => gn[t]);
47
47
  }
48
- function go(e, t, o) {
49
- const n = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
48
+ function vn(e, t, n) {
49
+ const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
50
50
  switch (e) {
51
51
  case "top":
52
52
  case "bottom":
53
- return o ? t ? i : n : t ? n : i;
53
+ return n ? t ? i : o : t ? o : i;
54
54
  case "left":
55
55
  case "right":
56
56
  return t ? s : r;
@@ -58,15 +58,15 @@ function go(e, t, o) {
58
58
  return [];
59
59
  }
60
60
  }
61
- function wo(e, t, o, n) {
62
- const i = I(e);
63
- let s = go(V(e), o === "start", n);
64
- return i && (s = s.map((r) => r + "-" + i), t && (s = s.concat(s.map(Pe)))), s;
61
+ function yn(e, t, n, o) {
62
+ const i = B(e);
63
+ let s = vn(q(e), n === "start", o);
64
+ return i && (s = s.map((r) => r + "-" + i), t && (s = s.concat(s.map(Ce)))), s;
65
65
  }
66
- function Ae(e) {
67
- return e.replace(/left|right|bottom|top/g, (t) => ho[t]);
66
+ function Oe(e) {
67
+ return e.replace(/left|right|bottom|top/g, (t) => mn[t]);
68
68
  }
69
- function vo(e) {
69
+ function $n(e) {
70
70
  return {
71
71
  top: 0,
72
72
  right: 0,
@@ -75,95 +75,95 @@ function vo(e) {
75
75
  ...e
76
76
  };
77
77
  }
78
- function Tt(e) {
79
- return typeof e != "number" ? vo(e) : {
78
+ function At(e) {
79
+ return typeof e != "number" ? $n(e) : {
80
80
  top: e,
81
81
  right: e,
82
82
  bottom: e,
83
83
  left: e
84
84
  };
85
85
  }
86
- function de(e) {
86
+ function pe(e) {
87
87
  const {
88
88
  x: t,
89
- y: o,
90
- width: n,
89
+ y: n,
90
+ width: o,
91
91
  height: i
92
92
  } = e;
93
93
  return {
94
- width: n,
94
+ width: o,
95
95
  height: i,
96
- top: o,
96
+ top: n,
97
97
  left: t,
98
- right: t + n,
99
- bottom: o + i,
98
+ right: t + o,
99
+ bottom: n + i,
100
100
  x: t,
101
- y: o
101
+ y: n
102
102
  };
103
103
  }
104
- function it(e, t, o) {
104
+ function rt(e, t, n) {
105
105
  let {
106
- reference: n,
106
+ reference: o,
107
107
  floating: i
108
108
  } = e;
109
- const s = ie(t), r = Ke(t), l = Xe(r), a = V(t), d = s === "y", h = n.x + n.width / 2 - i.width / 2, p = n.y + n.height / 2 - i.height / 2, u = n[l] / 2 - i[l] / 2;
110
- let c;
111
- switch (a) {
109
+ const s = Q(t), r = Qe(t), l = Je(r), c = q(t), d = s === "y", a = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, p = o[l] / 2 - i[l] / 2;
110
+ let h;
111
+ switch (c) {
112
112
  case "top":
113
- c = {
114
- x: h,
115
- y: n.y - i.height
113
+ h = {
114
+ x: a,
115
+ y: o.y - i.height
116
116
  };
117
117
  break;
118
118
  case "bottom":
119
- c = {
120
- x: h,
121
- y: n.y + n.height
119
+ h = {
120
+ x: a,
121
+ y: o.y + o.height
122
122
  };
123
123
  break;
124
124
  case "right":
125
- c = {
126
- x: n.x + n.width,
127
- y: p
125
+ h = {
126
+ x: o.x + o.width,
127
+ y: u
128
128
  };
129
129
  break;
130
130
  case "left":
131
- c = {
132
- x: n.x - i.width,
133
- y: p
131
+ h = {
132
+ x: o.x - i.width,
133
+ y: u
134
134
  };
135
135
  break;
136
136
  default:
137
- c = {
138
- x: n.x,
139
- y: n.y
137
+ h = {
138
+ x: o.x,
139
+ y: o.y
140
140
  };
141
141
  }
142
- switch (I(t)) {
142
+ switch (B(t)) {
143
143
  case "start":
144
- c[r] -= u * (o && d ? -1 : 1);
144
+ h[r] -= p * (n && d ? -1 : 1);
145
145
  break;
146
146
  case "end":
147
- c[r] += u * (o && d ? -1 : 1);
147
+ h[r] += p * (n && d ? -1 : 1);
148
148
  break;
149
149
  }
150
- return c;
150
+ return h;
151
151
  }
152
- const yo = async (e, t, o) => {
152
+ const bn = async (e, t, n) => {
153
153
  const {
154
- placement: n = "bottom",
154
+ placement: o = "bottom",
155
155
  strategy: i = "absolute",
156
156
  middleware: s = [],
157
157
  platform: r
158
- } = o, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(t));
158
+ } = n, l = s.filter(Boolean), c = await (r.isRTL == null ? void 0 : r.isRTL(t));
159
159
  let d = await r.getElementRects({
160
160
  reference: e,
161
161
  floating: t,
162
162
  strategy: i
163
163
  }), {
164
- x: h,
165
- y: p
166
- } = it(d, n, a), u = n, c = {}, f = 0;
164
+ x: a,
165
+ y: u
166
+ } = rt(d, o, c), p = o, h = {}, f = 0;
167
167
  for (let m = 0; m < l.length; m++) {
168
168
  const {
169
169
  name: w,
@@ -172,14 +172,14 @@ const yo = async (e, t, o) => {
172
172
  x: v,
173
173
  y: $,
174
174
  data: T,
175
- reset: b
175
+ reset: x
176
176
  } = await g({
177
- x: h,
178
- y: p,
179
- initialPlacement: n,
180
- placement: u,
177
+ x: a,
178
+ y: u,
179
+ initialPlacement: o,
180
+ placement: p,
181
181
  strategy: i,
182
- middlewareData: c,
182
+ middlewareData: h,
183
183
  rects: d,
184
184
  platform: r,
185
185
  elements: {
@@ -187,52 +187,52 @@ const yo = async (e, t, o) => {
187
187
  floating: t
188
188
  }
189
189
  });
190
- h = v ?? h, p = $ ?? p, c = {
191
- ...c,
190
+ a = v ?? a, u = $ ?? u, h = {
191
+ ...h,
192
192
  [w]: {
193
- ...c[w],
193
+ ...h[w],
194
194
  ...T
195
195
  }
196
- }, b && f <= 50 && (f++, typeof b == "object" && (b.placement && (u = b.placement), b.rects && (d = b.rects === !0 ? await r.getElementRects({
196
+ }, x && f <= 50 && (f++, typeof x == "object" && (x.placement && (p = x.placement), x.rects && (d = x.rects === !0 ? await r.getElementRects({
197
197
  reference: e,
198
198
  floating: t,
199
199
  strategy: i
200
- }) : b.rects), {
201
- x: h,
202
- y: p
203
- } = it(d, u, a)), m = -1);
200
+ }) : x.rects), {
201
+ x: a,
202
+ y: u
203
+ } = rt(d, p, c)), m = -1);
204
204
  }
205
205
  return {
206
- x: h,
207
- y: p,
208
- placement: u,
206
+ x: a,
207
+ y: u,
208
+ placement: p,
209
209
  strategy: i,
210
- middlewareData: c
210
+ middlewareData: h
211
211
  };
212
212
  };
213
- async function Re(e, t) {
214
- var o;
213
+ async function Me(e, t) {
214
+ var n;
215
215
  t === void 0 && (t = {});
216
216
  const {
217
- x: n,
217
+ x: o,
218
218
  y: i,
219
219
  platform: s,
220
220
  rects: r,
221
221
  elements: l,
222
- strategy: a
222
+ strategy: c
223
223
  } = e, {
224
224
  boundary: d = "clippingAncestors",
225
- rootBoundary: h = "viewport",
226
- elementContext: p = "floating",
227
- altBoundary: u = !1,
228
- padding: c = 0
229
- } = se(t, e), f = Tt(c), w = l[u ? p === "floating" ? "reference" : "floating" : p], g = de(await s.getClippingRect({
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(l.floating)),
225
+ rootBoundary: a = "viewport",
226
+ elementContext: u = "floating",
227
+ altBoundary: p = !1,
228
+ padding: h = 0
229
+ } = le(t, e), f = At(h), w = l[p ? u === "floating" ? "reference" : "floating" : u], g = pe(await s.getClippingRect({
230
+ 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)),
231
231
  boundary: d,
232
- rootBoundary: h,
233
- strategy: a
234
- })), v = p === "floating" ? {
235
- x: n,
232
+ rootBoundary: a,
233
+ strategy: c
234
+ })), v = u === "floating" ? {
235
+ x: o,
236
236
  y: i,
237
237
  width: r.floating.width,
238
238
  height: r.floating.height
@@ -242,121 +242,121 @@ async function Re(e, t) {
242
242
  } : {
243
243
  x: 1,
244
244
  y: 1
245
- }, b = de(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
245
+ }, x = pe(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
246
246
  elements: l,
247
247
  rect: v,
248
248
  offsetParent: $,
249
- strategy: a
249
+ strategy: c
250
250
  }) : v);
251
251
  return {
252
- top: (g.top - b.top + f.top) / T.y,
253
- bottom: (b.bottom - g.bottom + f.bottom) / T.y,
254
- left: (g.left - b.left + f.left) / T.x,
255
- right: (b.right - g.right + f.right) / T.x
252
+ top: (g.top - x.top + f.top) / T.y,
253
+ bottom: (x.bottom - g.bottom + f.bottom) / T.y,
254
+ left: (g.left - x.left + f.left) / T.x,
255
+ right: (x.right - g.right + f.right) / T.x
256
256
  };
257
257
  }
258
- const $o = (e) => ({
258
+ const xn = (e) => ({
259
259
  name: "arrow",
260
260
  options: e,
261
261
  async fn(t) {
262
262
  const {
263
- x: o,
264
- y: n,
263
+ x: n,
264
+ y: o,
265
265
  placement: i,
266
266
  rects: s,
267
267
  platform: r,
268
268
  elements: l,
269
- middlewareData: a
269
+ middlewareData: c
270
270
  } = t, {
271
271
  element: d,
272
- padding: h = 0
273
- } = se(e, t) || {};
272
+ padding: a = 0
273
+ } = le(e, t) || {};
274
274
  if (d == null)
275
275
  return {};
276
- const p = Tt(h), u = {
277
- x: o,
278
- y: n
279
- }, c = Ke(i), f = Xe(c), m = await r.getDimensions(d), w = c === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", T = s.reference[f] + s.reference[c] - u[c] - s.floating[f], b = u[c] - s.reference[c], N = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
280
- let y = N ? N[$] : 0;
281
- (!y || !await (r.isElement == null ? void 0 : r.isElement(N))) && (y = l.floating[$] || s.floating[f]);
282
- const E = T / 2 - b / 2, S = y / 2 - m[f] / 2 - 1, x = we(p[g], S), O = we(p[v], S), A = x, P = y - m[f] - O, C = y / 2 - m[f] / 2 + E, R = We(A, C, P), D = !a.arrow && I(i) != null && C !== R && s.reference[f] / 2 - (C < A ? x : O) - m[f] / 2 < 0, L = D ? C < A ? C - A : C - P : 0;
276
+ const u = At(a), p = {
277
+ x: n,
278
+ y: o
279
+ }, h = Qe(i), f = Je(h), m = await r.getDimensions(d), w = h === "y", g = w ? "top" : "left", v = w ? "bottom" : "right", $ = w ? "clientHeight" : "clientWidth", T = s.reference[f] + s.reference[h] - p[h] - s.floating[f], x = p[h] - s.reference[h], O = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
280
+ let y = O ? O[$] : 0;
281
+ (!y || !await (r.isElement == null ? void 0 : r.isElement(O))) && (y = l.floating[$] || s.floating[f]);
282
+ const E = T / 2 - x / 2, S = y / 2 - m[f] / 2 - 1, _ = ye(u[g], S), C = ye(u[v], S), A = _, P = y - m[f] - C, R = y / 2 - m[f] / 2 + E, N = Ve(A, R, P), F = !c.arrow && B(i) != null && R !== N && s.reference[f] / 2 - (R < A ? _ : C) - m[f] / 2 < 0, H = F ? R < A ? R - A : R - P : 0;
283
283
  return {
284
- [c]: u[c] + L,
284
+ [h]: p[h] + H,
285
285
  data: {
286
- [c]: R,
287
- centerOffset: C - R - L,
288
- ...D && {
289
- alignmentOffset: L
286
+ [h]: N,
287
+ centerOffset: R - N - H,
288
+ ...F && {
289
+ alignmentOffset: H
290
290
  }
291
291
  },
292
- reset: D
292
+ reset: F
293
293
  };
294
294
  }
295
295
  });
296
- function _o(e, t, o) {
297
- return (e ? [...o.filter((i) => I(i) === e), ...o.filter((i) => I(i) !== e)] : o.filter((i) => V(i) === i)).filter((i) => e ? I(i) === e || (t ? Pe(i) !== i : !1) : !0);
296
+ function _n(e, t, n) {
297
+ return (e ? [...n.filter((i) => B(i) === e), ...n.filter((i) => B(i) !== e)] : n.filter((i) => q(i) === i)).filter((i) => e ? B(i) === e || (t ? Ce(i) !== i : !1) : !0);
298
298
  }
299
- const bo = function(e) {
299
+ const Sn = function(e) {
300
300
  return e === void 0 && (e = {}), {
301
301
  name: "autoPlacement",
302
302
  options: e,
303
303
  async fn(t) {
304
- var o, n, i;
304
+ var n, o, i;
305
305
  const {
306
306
  rects: s,
307
307
  middlewareData: r,
308
308
  placement: l,
309
- platform: a,
309
+ platform: c,
310
310
  elements: d
311
311
  } = t, {
312
- crossAxis: h = !1,
313
- alignment: p,
314
- allowedPlacements: u = nt,
315
- autoAlignment: c = !0,
312
+ crossAxis: a = !1,
313
+ alignment: u,
314
+ allowedPlacements: p = st,
315
+ autoAlignment: h = !0,
316
316
  ...f
317
- } = se(e, t), m = p !== void 0 || u === nt ? _o(p || null, c, u) : u, w = await Re(t, f), g = ((o = r.autoPlacement) == null ? void 0 : o.index) || 0, v = m[g];
317
+ } = le(e, t), m = u !== void 0 || p === st ? _n(u || null, h, p) : p, w = await Me(t, f), g = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = m[g];
318
318
  if (v == null)
319
319
  return {};
320
- const $ = St(v, s, await (a.isRTL == null ? void 0 : a.isRTL(d.floating)));
320
+ const $ = Pt(v, s, await (c.isRTL == null ? void 0 : c.isRTL(d.floating)));
321
321
  if (l !== v)
322
322
  return {
323
323
  reset: {
324
324
  placement: m[0]
325
325
  }
326
326
  };
327
- const T = [w[V(v)], w[$[0]], w[$[1]]], b = [...((n = r.autoPlacement) == null ? void 0 : n.overflows) || [], {
327
+ const T = [w[q(v)], w[$[0]], w[$[1]]], x = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
328
328
  placement: v,
329
329
  overflows: T
330
- }], N = m[g + 1];
331
- if (N)
330
+ }], O = m[g + 1];
331
+ if (O)
332
332
  return {
333
333
  data: {
334
334
  index: g + 1,
335
- overflows: b
335
+ overflows: x
336
336
  },
337
337
  reset: {
338
- placement: N
338
+ placement: O
339
339
  }
340
340
  };
341
- const y = b.map((x) => {
342
- const O = I(x.placement);
343
- return [x.placement, O && h ? (
341
+ const y = x.map((_) => {
342
+ const C = B(_.placement);
343
+ return [_.placement, C && a ? (
344
344
  // Check along the mainAxis and main crossAxis side.
345
- x.overflows.slice(0, 2).reduce((A, P) => A + P, 0)
345
+ _.overflows.slice(0, 2).reduce((A, P) => A + P, 0)
346
346
  ) : (
347
347
  // Check only the mainAxis.
348
- x.overflows[0]
349
- ), x.overflows];
350
- }).sort((x, O) => x[1] - O[1]), S = ((i = y.filter((x) => x[2].slice(
348
+ _.overflows[0]
349
+ ), _.overflows];
350
+ }).sort((_, C) => _[1] - C[1]), S = ((i = y.filter((_) => _[2].slice(
351
351
  0,
352
352
  // Aligned placements should not check their opposite crossAxis
353
353
  // side.
354
- I(x[0]) ? 2 : 3
355
- ).every((O) => O <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
354
+ B(_[0]) ? 2 : 3
355
+ ).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
356
356
  return S !== l ? {
357
357
  data: {
358
358
  index: g + 1,
359
- overflows: b
359
+ overflows: x
360
360
  },
361
361
  reset: {
362
362
  placement: S
@@ -364,79 +364,83 @@ const bo = function(e) {
364
364
  } : {};
365
365
  }
366
366
  };
367
- }, xo = function(e) {
367
+ }, Tn = function(e) {
368
368
  return e === void 0 && (e = {}), {
369
369
  name: "flip",
370
370
  options: e,
371
371
  async fn(t) {
372
- var o, n;
372
+ var n, o;
373
373
  const {
374
374
  placement: i,
375
375
  middlewareData: s,
376
376
  rects: r,
377
377
  initialPlacement: l,
378
- platform: a,
378
+ platform: c,
379
379
  elements: d
380
380
  } = t, {
381
- mainAxis: h = !0,
382
- crossAxis: p = !0,
383
- fallbackPlacements: u,
384
- fallbackStrategy: c = "bestFit",
381
+ mainAxis: a = !0,
382
+ crossAxis: u = !0,
383
+ fallbackPlacements: p,
384
+ fallbackStrategy: h = "bestFit",
385
385
  fallbackAxisSideDirection: f = "none",
386
386
  flipAlignment: m = !0,
387
387
  ...w
388
- } = se(e, t);
389
- if ((o = s.arrow) != null && o.alignmentOffset)
388
+ } = le(e, t);
389
+ if ((n = s.arrow) != null && n.alignmentOffset)
390
390
  return {};
391
- const g = V(i), v = ie(l), $ = V(l) === l, T = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), b = u || ($ || !m ? [Ae(l)] : mo(l)), N = f !== "none";
392
- !u && N && b.push(...wo(l, m, f, T));
393
- const y = [l, ...b], E = await Re(t, w), S = [];
394
- let x = ((n = s.flip) == null ? void 0 : n.overflows) || [];
395
- if (h && S.push(E[g]), p) {
396
- const C = St(i, r, T);
397
- S.push(E[C[0]], E[C[1]]);
391
+ const g = q(i), v = Q(l), $ = q(l) === l, T = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), x = p || ($ || !m ? [Oe(l)] : wn(l)), O = f !== "none";
392
+ !p && O && x.push(...yn(l, m, f, T));
393
+ const y = [l, ...x], E = await Me(t, w), S = [];
394
+ let _ = ((o = s.flip) == null ? void 0 : o.overflows) || [];
395
+ if (a && S.push(E[g]), u) {
396
+ const N = Pt(i, r, T);
397
+ S.push(E[N[0]], E[N[1]]);
398
398
  }
399
- if (x = [...x, {
399
+ if (_ = [..._, {
400
400
  placement: i,
401
401
  overflows: S
402
- }], !S.every((C) => C <= 0)) {
403
- var O, A;
404
- const C = (((O = s.flip) == null ? void 0 : O.index) || 0) + 1, R = y[C];
405
- if (R)
406
- return {
407
- data: {
408
- index: C,
409
- overflows: x
410
- },
411
- reset: {
412
- placement: R
413
- }
414
- };
415
- let D = (A = x.filter((L) => L.overflows[0] <= 0).sort((L, G) => L.overflows[1] - G.overflows[1])[0]) == null ? void 0 : A.placement;
416
- if (!D)
417
- switch (c) {
402
+ }], !S.every((N) => N <= 0)) {
403
+ var C, A;
404
+ const N = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, F = y[N];
405
+ if (F) {
406
+ var P;
407
+ const Y = u === "alignment" ? v !== Q(F) : !1, W = ((P = _[0]) == null ? void 0 : P.overflows[0]) > 0;
408
+ if (!Y || W)
409
+ return {
410
+ data: {
411
+ index: N,
412
+ overflows: _
413
+ },
414
+ reset: {
415
+ placement: F
416
+ }
417
+ };
418
+ }
419
+ let H = (A = _.filter((Y) => Y.overflows[0] <= 0).sort((Y, W) => Y.overflows[1] - W.overflows[1])[0]) == null ? void 0 : A.placement;
420
+ if (!H)
421
+ switch (h) {
418
422
  case "bestFit": {
419
- var P;
420
- const L = (P = x.filter((G) => {
421
- if (N) {
422
- const Y = ie(G.placement);
423
- return Y === v || // Create a bias to the `y` side axis due to horizontal
423
+ var R;
424
+ const Y = (R = _.filter((W) => {
425
+ if (O) {
426
+ const U = Q(W.placement);
427
+ return U === v || // Create a bias to the `y` side axis due to horizontal
424
428
  // reading directions favoring greater width.
425
- Y === "y";
429
+ U === "y";
426
430
  }
427
431
  return !0;
428
- }).map((G) => [G.placement, G.overflows.filter((Y) => Y > 0).reduce((Y, Gt) => Y + Gt, 0)]).sort((G, Y) => G[1] - Y[1])[0]) == null ? void 0 : P[0];
429
- L && (D = L);
432
+ }).map((W) => [W.placement, W.overflows.filter((U) => U > 0).reduce((U, Ut) => U + Ut, 0)]).sort((W, U) => W[1] - U[1])[0]) == null ? void 0 : R[0];
433
+ Y && (H = Y);
430
434
  break;
431
435
  }
432
436
  case "initialPlacement":
433
- D = l;
437
+ H = l;
434
438
  break;
435
439
  }
436
- if (i !== D)
440
+ if (i !== H)
437
441
  return {
438
442
  reset: {
439
- placement: D
443
+ placement: H
440
444
  }
441
445
  };
442
446
  }
@@ -444,63 +448,63 @@ const bo = function(e) {
444
448
  }
445
449
  };
446
450
  };
447
- async function So(e, t) {
451
+ async function Pn(e, t) {
448
452
  const {
449
- placement: o,
450
- platform: n,
453
+ placement: n,
454
+ platform: o,
451
455
  elements: i
452
- } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), r = V(o), l = I(o), a = ie(o) === "y", d = ["left", "top"].includes(r) ? -1 : 1, h = s && a ? -1 : 1, p = se(t, e);
456
+ } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = q(n), l = B(n), c = Q(n) === "y", d = ["left", "top"].includes(r) ? -1 : 1, a = s && c ? -1 : 1, u = le(t, e);
453
457
  let {
454
- mainAxis: u,
455
- crossAxis: c,
456
- alignmentAxis: f
457
- } = typeof p == "number" ? {
458
458
  mainAxis: p,
459
+ crossAxis: h,
460
+ alignmentAxis: f
461
+ } = typeof u == "number" ? {
462
+ mainAxis: u,
459
463
  crossAxis: 0,
460
464
  alignmentAxis: null
461
465
  } : {
462
- mainAxis: p.mainAxis || 0,
463
- crossAxis: p.crossAxis || 0,
464
- alignmentAxis: p.alignmentAxis
466
+ mainAxis: u.mainAxis || 0,
467
+ crossAxis: u.crossAxis || 0,
468
+ alignmentAxis: u.alignmentAxis
465
469
  };
466
- return l && typeof f == "number" && (c = l === "end" ? f * -1 : f), a ? {
467
- x: c * h,
468
- y: u * d
470
+ return l && typeof f == "number" && (h = l === "end" ? f * -1 : f), c ? {
471
+ x: h * a,
472
+ y: p * d
469
473
  } : {
470
- x: u * d,
471
- y: c * h
474
+ x: p * d,
475
+ y: h * a
472
476
  };
473
477
  }
474
- const To = function(e) {
478
+ const An = function(e) {
475
479
  return e === void 0 && (e = 0), {
476
480
  name: "offset",
477
481
  options: e,
478
482
  async fn(t) {
479
- var o, n;
483
+ var n, o;
480
484
  const {
481
485
  x: i,
482
486
  y: s,
483
487
  placement: r,
484
488
  middlewareData: l
485
- } = t, a = await So(t, e);
486
- return r === ((o = l.offset) == null ? void 0 : o.placement) && (n = l.arrow) != null && n.alignmentOffset ? {} : {
487
- x: i + a.x,
488
- y: s + a.y,
489
+ } = t, c = await Pn(t, e);
490
+ return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
491
+ x: i + c.x,
492
+ y: s + c.y,
489
493
  data: {
490
- ...a,
494
+ ...c,
491
495
  placement: r
492
496
  }
493
497
  };
494
498
  }
495
499
  };
496
- }, Po = function(e) {
500
+ }, Cn = function(e) {
497
501
  return e === void 0 && (e = {}), {
498
502
  name: "shift",
499
503
  options: e,
500
504
  async fn(t) {
501
505
  const {
502
- x: o,
503
- y: n,
506
+ x: n,
507
+ y: o,
504
508
  placement: i
505
509
  } = t, {
506
510
  mainAxis: s = !0,
@@ -517,66 +521,66 @@ const To = function(e) {
517
521
  };
518
522
  }
519
523
  },
520
- ...a
521
- } = se(e, t), d = {
522
- x: o,
523
- y: n
524
- }, h = await Re(t, a), p = ie(V(i)), u = xt(p);
525
- let c = d[u], f = d[p];
524
+ ...c
525
+ } = le(e, t), d = {
526
+ x: n,
527
+ y: o
528
+ }, a = await Me(t, c), u = Q(q(i)), p = Tt(u);
529
+ let h = d[p], f = d[u];
526
530
  if (s) {
527
- const w = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", v = c + h[w], $ = c - h[g];
528
- c = We(v, c, $);
531
+ const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", v = h + a[w], $ = h - a[g];
532
+ h = Ve(v, h, $);
529
533
  }
530
534
  if (r) {
531
- const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", v = f + h[w], $ = f - h[g];
532
- f = We(v, f, $);
535
+ const w = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", v = f + a[w], $ = f - a[g];
536
+ f = Ve(v, f, $);
533
537
  }
534
538
  const m = l.fn({
535
539
  ...t,
536
- [u]: c,
537
- [p]: f
540
+ [p]: h,
541
+ [u]: f
538
542
  });
539
543
  return {
540
544
  ...m,
541
545
  data: {
542
- x: m.x - o,
543
- y: m.y - n,
546
+ x: m.x - n,
547
+ y: m.y - o,
544
548
  enabled: {
545
- [u]: s,
546
- [p]: r
549
+ [p]: s,
550
+ [u]: r
547
551
  }
548
552
  }
549
553
  };
550
554
  }
551
555
  };
552
- }, Ao = function(e) {
556
+ }, On = function(e) {
553
557
  return e === void 0 && (e = {}), {
554
558
  name: "size",
555
559
  options: e,
556
560
  async fn(t) {
557
- var o, n;
561
+ var n, o;
558
562
  const {
559
563
  placement: i,
560
564
  rects: s,
561
565
  platform: r,
562
566
  elements: l
563
567
  } = t, {
564
- apply: a = () => {
568
+ apply: c = () => {
565
569
  },
566
570
  ...d
567
- } = se(e, t), h = await Re(t, d), p = V(i), u = I(i), c = ie(i) === "y", {
571
+ } = le(e, t), a = await Me(t, d), u = q(i), p = B(i), h = Q(i) === "y", {
568
572
  width: f,
569
573
  height: m
570
574
  } = s.floating;
571
575
  let w, g;
572
- p === "top" || p === "bottom" ? (w = p, g = u === (await (r.isRTL == null ? void 0 : r.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (g = p, w = u === "end" ? "top" : "bottom");
573
- const v = m - h.top - h.bottom, $ = f - h.left - h.right, T = we(m - h[w], v), b = we(f - h[g], $), N = !t.middlewareData.shift;
574
- let y = T, E = b;
575
- if ((o = t.middlewareData.shift) != null && o.enabled.x && (E = $), (n = t.middlewareData.shift) != null && n.enabled.y && (y = v), N && !u) {
576
- const x = te(h.left, 0), O = te(h.right, 0), A = te(h.top, 0), P = te(h.bottom, 0);
577
- c ? E = f - 2 * (x !== 0 || O !== 0 ? x + O : te(h.left, h.right)) : y = m - 2 * (A !== 0 || P !== 0 ? A + P : te(h.top, h.bottom));
576
+ u === "top" || u === "bottom" ? (w = u, g = p === (await (r.isRTL == null ? void 0 : r.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (g = u, w = p === "end" ? "top" : "bottom");
577
+ const v = m - a.top - a.bottom, $ = f - a.left - a.right, T = ye(m - a[w], v), x = ye(f - a[g], $), O = !t.middlewareData.shift;
578
+ let y = T, E = x;
579
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (E = $), (o = t.middlewareData.shift) != null && o.enabled.y && (y = v), O && !p) {
580
+ const _ = oe(a.left, 0), C = oe(a.right, 0), A = oe(a.top, 0), P = oe(a.bottom, 0);
581
+ h ? E = f - 2 * (_ !== 0 || C !== 0 ? _ + C : oe(a.left, a.right)) : y = m - 2 * (A !== 0 || P !== 0 ? A + P : oe(a.top, a.bottom));
578
582
  }
579
- await a({
583
+ await c({
580
584
  ...t,
581
585
  availableWidth: E,
582
586
  availableHeight: y
@@ -594,204 +598,204 @@ function k(e) {
594
598
  var t;
595
599
  return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
596
600
  }
597
- function W(e) {
601
+ function j(e) {
598
602
  return k(e).getComputedStyle(e);
599
603
  }
600
- const st = Math.min, ce = Math.max, Ce = Math.round;
601
- function Pt(e) {
602
- const t = W(e);
603
- let o = parseFloat(t.width), n = parseFloat(t.height);
604
- const i = e.offsetWidth, s = e.offsetHeight, r = Ce(o) !== i || Ce(n) !== s;
605
- return r && (o = i, n = s), { width: o, height: n, fallback: r };
604
+ const lt = Math.min, he = Math.max, Ne = Math.round;
605
+ function Ct(e) {
606
+ const t = j(e);
607
+ let n = parseFloat(t.width), o = parseFloat(t.height);
608
+ const i = e.offsetWidth, s = e.offsetHeight, r = Ne(n) !== i || Ne(o) !== s;
609
+ return r && (n = i, o = s), { width: n, height: o, fallback: r };
606
610
  }
607
- function Z(e) {
608
- return Ct(e) ? (e.nodeName || "").toLowerCase() : "";
611
+ function te(e) {
612
+ return Nt(e) ? (e.nodeName || "").toLowerCase() : "";
609
613
  }
610
614
  let _e;
611
- function At() {
615
+ function Ot() {
612
616
  if (_e)
613
617
  return _e;
614
618
  const e = navigator.userAgentData;
615
619
  return e && Array.isArray(e.brands) ? (_e = e.brands.map((t) => t.brand + "/" + t.version).join(" "), _e) : navigator.userAgent;
616
620
  }
617
- function j(e) {
621
+ function V(e) {
618
622
  return e instanceof k(e).HTMLElement;
619
623
  }
620
- function J(e) {
624
+ function Z(e) {
621
625
  return e instanceof k(e).Element;
622
626
  }
623
- function Ct(e) {
627
+ function Nt(e) {
624
628
  return e instanceof k(e).Node;
625
629
  }
626
- function rt(e) {
630
+ function at(e) {
627
631
  return typeof ShadowRoot > "u" ? !1 : e instanceof k(e).ShadowRoot || e instanceof ShadowRoot;
628
632
  }
629
- function Le(e) {
630
- const { overflow: t, overflowX: o, overflowY: n, display: i } = W(e);
631
- return /auto|scroll|overlay|hidden|clip/.test(t + n + o) && !["inline", "contents"].includes(i);
633
+ function He(e) {
634
+ const { overflow: t, overflowX: n, overflowY: o, display: i } = j(e);
635
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(i);
632
636
  }
633
- function Co(e) {
634
- return ["table", "td", "th"].includes(Z(e));
637
+ function Nn(e) {
638
+ return ["table", "td", "th"].includes(te(e));
635
639
  }
636
- function je(e) {
637
- const t = /firefox/i.test(At()), o = W(e), n = o.backdropFilter || o.WebkitBackdropFilter;
638
- return o.transform !== "none" || o.perspective !== "none" || !!n && n !== "none" || t && o.willChange === "filter" || t && !!o.filter && o.filter !== "none" || ["transform", "perspective"].some((i) => o.willChange.includes(i)) || ["paint", "layout", "strict", "content"].some((i) => {
639
- const s = o.contain;
640
+ function qe(e) {
641
+ const t = /firefox/i.test(Ot()), n = j(e), o = n.backdropFilter || n.WebkitBackdropFilter;
642
+ return n.transform !== "none" || n.perspective !== "none" || !!o && o !== "none" || t && n.willChange === "filter" || t && !!n.filter && n.filter !== "none" || ["transform", "perspective"].some((i) => n.willChange.includes(i)) || ["paint", "layout", "strict", "content"].some((i) => {
643
+ const s = n.contain;
640
644
  return s != null && s.includes(i);
641
645
  });
642
646
  }
643
- function Ot() {
644
- return !/^((?!chrome|android).)*safari/i.test(At());
647
+ function Et() {
648
+ return !/^((?!chrome|android).)*safari/i.test(Ot());
645
649
  }
646
- function Je(e) {
647
- return ["html", "body", "#document"].includes(Z(e));
650
+ function Ze(e) {
651
+ return ["html", "body", "#document"].includes(te(e));
648
652
  }
649
- function Nt(e) {
650
- return J(e) ? e : e.contextElement;
651
- }
652
- const Et = { x: 1, y: 1 };
653
- function re(e) {
654
- const t = Nt(e);
655
- if (!j(t))
656
- return Et;
657
- const o = t.getBoundingClientRect(), { width: n, height: i, fallback: s } = Pt(t);
658
- let r = (s ? Ce(o.width) : o.width) / n, l = (s ? Ce(o.height) : o.height) / i;
653
+ function zt(e) {
654
+ return Z(e) ? e : e.contextElement;
655
+ }
656
+ const Rt = { x: 1, y: 1 };
657
+ function ce(e) {
658
+ const t = zt(e);
659
+ if (!V(t))
660
+ return Rt;
661
+ const n = t.getBoundingClientRect(), { width: o, height: i, fallback: s } = Ct(t);
662
+ let r = (s ? Ne(n.width) : n.width) / o, l = (s ? Ne(n.height) : n.height) / i;
659
663
  return r && Number.isFinite(r) || (r = 1), l && Number.isFinite(l) || (l = 1), { x: r, y: l };
660
664
  }
661
- function ve(e, t, o, n) {
665
+ function $e(e, t, n, o) {
662
666
  var i, s;
663
- t === void 0 && (t = !1), o === void 0 && (o = !1);
664
- const r = e.getBoundingClientRect(), l = Nt(e);
665
- let a = Et;
666
- t && (n ? J(n) && (a = re(n)) : a = re(e));
667
- const d = l ? k(l) : window, h = !Ot() && o;
668
- let p = (r.left + (h && ((i = d.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / a.x, u = (r.top + (h && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / a.y, c = r.width / a.x, f = r.height / a.y;
667
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
668
+ const r = e.getBoundingClientRect(), l = zt(e);
669
+ let c = Rt;
670
+ t && (o ? Z(o) && (c = ce(o)) : c = ce(e));
671
+ const d = l ? k(l) : window, a = !Et() && n;
672
+ let u = (r.left + (a && ((i = d.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / c.x, p = (r.top + (a && ((s = d.visualViewport) == null ? void 0 : s.offsetTop) || 0)) / c.y, h = r.width / c.x, f = r.height / c.y;
669
673
  if (l) {
670
- const m = k(l), w = n && J(n) ? k(n) : n;
674
+ const m = k(l), w = o && Z(o) ? k(o) : o;
671
675
  let g = m.frameElement;
672
- for (; g && n && w !== m; ) {
673
- const v = re(g), $ = g.getBoundingClientRect(), T = getComputedStyle(g);
674
- $.x += (g.clientLeft + parseFloat(T.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(T.paddingTop)) * v.y, p *= v.x, u *= v.y, c *= v.x, f *= v.y, p += $.x, u += $.y, g = k(g).frameElement;
676
+ for (; g && o && w !== m; ) {
677
+ const v = ce(g), $ = g.getBoundingClientRect(), T = getComputedStyle(g);
678
+ $.x += (g.clientLeft + parseFloat(T.paddingLeft)) * v.x, $.y += (g.clientTop + parseFloat(T.paddingTop)) * v.y, u *= v.x, p *= v.y, h *= v.x, f *= v.y, u += $.x, p += $.y, g = k(g).frameElement;
675
679
  }
676
680
  }
677
- return { width: c, height: f, top: u, right: p + c, bottom: u + f, left: p, x: p, y: u };
681
+ return { width: h, height: f, top: p, right: u + h, bottom: p + f, left: u, x: u, y: p };
678
682
  }
679
- function Q(e) {
680
- return ((Ct(e) ? e.ownerDocument : e.document) || window.document).documentElement;
683
+ function ee(e) {
684
+ return ((Nt(e) ? e.ownerDocument : e.document) || window.document).documentElement;
681
685
  }
682
- function He(e) {
683
- return J(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
686
+ function ke(e) {
687
+ return Z(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset };
684
688
  }
685
- function zt(e) {
686
- return ve(Q(e)).left + He(e).scrollLeft;
689
+ function Lt(e) {
690
+ return $e(ee(e)).left + ke(e).scrollLeft;
687
691
  }
688
- function ye(e) {
689
- if (Z(e) === "html")
692
+ function be(e) {
693
+ if (te(e) === "html")
690
694
  return e;
691
- const t = e.assignedSlot || e.parentNode || rt(e) && e.host || Q(e);
692
- return rt(t) ? t.host : t;
695
+ const t = e.assignedSlot || e.parentNode || at(e) && e.host || ee(e);
696
+ return at(t) ? t.host : t;
693
697
  }
694
- function Rt(e) {
695
- const t = ye(e);
696
- return Je(t) ? t.ownerDocument.body : j(t) && Le(t) ? t : Rt(t);
698
+ function Mt(e) {
699
+ const t = be(e);
700
+ return Ze(t) ? t.ownerDocument.body : V(t) && He(t) ? t : Mt(t);
697
701
  }
698
- function Oe(e, t) {
699
- var o;
702
+ function Ee(e, t) {
703
+ var n;
700
704
  t === void 0 && (t = []);
701
- const n = Rt(e), i = n === ((o = e.ownerDocument) == null ? void 0 : o.body), s = k(n);
702
- return i ? t.concat(s, s.visualViewport || [], Le(n) ? n : []) : t.concat(n, Oe(n));
705
+ const o = Mt(e), i = o === ((n = e.ownerDocument) == null ? void 0 : n.body), s = k(o);
706
+ return i ? t.concat(s, s.visualViewport || [], He(o) ? o : []) : t.concat(o, Ee(o));
703
707
  }
704
- function lt(e, t, o) {
705
- return t === "viewport" ? de(function(n, i) {
706
- const s = k(n), r = Q(n), l = s.visualViewport;
707
- let a = r.clientWidth, d = r.clientHeight, h = 0, p = 0;
708
+ function dt(e, t, n) {
709
+ return t === "viewport" ? pe(function(o, i) {
710
+ const s = k(o), r = ee(o), l = s.visualViewport;
711
+ let c = r.clientWidth, d = r.clientHeight, a = 0, u = 0;
708
712
  if (l) {
709
- a = l.width, d = l.height;
710
- const u = Ot();
711
- (u || !u && i === "fixed") && (h = l.offsetLeft, p = l.offsetTop);
713
+ c = l.width, d = l.height;
714
+ const p = Et();
715
+ (p || !p && i === "fixed") && (a = l.offsetLeft, u = l.offsetTop);
712
716
  }
713
- return { width: a, height: d, x: h, y: p };
714
- }(e, o)) : J(t) ? de(function(n, i) {
715
- const s = ve(n, !0, i === "fixed"), r = s.top + n.clientTop, l = s.left + n.clientLeft, a = j(n) ? re(n) : { x: 1, y: 1 };
716
- return { width: n.clientWidth * a.x, height: n.clientHeight * a.y, x: l * a.x, y: r * a.y };
717
- }(t, o)) : de(function(n) {
718
- const i = Q(n), s = He(n), r = n.ownerDocument.body, l = ce(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), a = ce(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
719
- let d = -s.scrollLeft + zt(n);
720
- const h = -s.scrollTop;
721
- return W(r).direction === "rtl" && (d += ce(i.clientWidth, r.clientWidth) - l), { width: l, height: a, x: d, y: h };
722
- }(Q(e)));
717
+ return { width: c, height: d, x: a, y: u };
718
+ }(e, n)) : Z(t) ? pe(function(o, i) {
719
+ const s = $e(o, !0, i === "fixed"), r = s.top + o.clientTop, l = s.left + o.clientLeft, c = V(o) ? ce(o) : { x: 1, y: 1 };
720
+ return { width: o.clientWidth * c.x, height: o.clientHeight * c.y, x: l * c.x, y: r * c.y };
721
+ }(t, n)) : pe(function(o) {
722
+ const i = ee(o), s = ke(o), r = o.ownerDocument.body, l = he(i.scrollWidth, i.clientWidth, r.scrollWidth, r.clientWidth), c = he(i.scrollHeight, i.clientHeight, r.scrollHeight, r.clientHeight);
723
+ let d = -s.scrollLeft + Lt(o);
724
+ const a = -s.scrollTop;
725
+ return j(r).direction === "rtl" && (d += he(i.clientWidth, r.clientWidth) - l), { width: l, height: c, x: d, y: a };
726
+ }(ee(e)));
723
727
  }
724
- function at(e) {
725
- return j(e) && W(e).position !== "fixed" ? e.offsetParent : null;
728
+ function ct(e) {
729
+ return V(e) && j(e).position !== "fixed" ? e.offsetParent : null;
726
730
  }
727
- function dt(e) {
731
+ function ut(e) {
728
732
  const t = k(e);
729
- let o = at(e);
730
- for (; o && Co(o) && W(o).position === "static"; )
731
- o = at(o);
732
- return o && (Z(o) === "html" || Z(o) === "body" && W(o).position === "static" && !je(o)) ? t : o || function(n) {
733
- let i = ye(n);
734
- for (; j(i) && !Je(i); ) {
735
- if (je(i))
733
+ let n = ct(e);
734
+ for (; n && Nn(n) && j(n).position === "static"; )
735
+ n = ct(n);
736
+ return n && (te(n) === "html" || te(n) === "body" && j(n).position === "static" && !qe(n)) ? t : n || function(o) {
737
+ let i = be(o);
738
+ for (; V(i) && !Ze(i); ) {
739
+ if (qe(i))
736
740
  return i;
737
- i = ye(i);
741
+ i = be(i);
738
742
  }
739
743
  return null;
740
744
  }(e) || t;
741
745
  }
742
- function Oo(e, t, o) {
743
- const n = j(t), i = Q(t), s = ve(e, !0, o === "fixed", t);
746
+ function En(e, t, n) {
747
+ const o = V(t), i = ee(t), s = $e(e, !0, n === "fixed", t);
744
748
  let r = { scrollLeft: 0, scrollTop: 0 };
745
749
  const l = { x: 0, y: 0 };
746
- if (n || !n && o !== "fixed")
747
- if ((Z(t) !== "body" || Le(i)) && (r = He(t)), j(t)) {
748
- const a = ve(t, !0);
749
- l.x = a.x + t.clientLeft, l.y = a.y + t.clientTop;
750
+ if (o || !o && n !== "fixed")
751
+ if ((te(t) !== "body" || He(i)) && (r = ke(t)), V(t)) {
752
+ const c = $e(t, !0);
753
+ l.x = c.x + t.clientLeft, l.y = c.y + t.clientTop;
750
754
  } else
751
- i && (l.x = zt(i));
755
+ i && (l.x = Lt(i));
752
756
  return { x: s.left + r.scrollLeft - l.x, y: s.top + r.scrollTop - l.y, width: s.width, height: s.height };
753
757
  }
754
- const No = { getClippingRect: function(e) {
755
- let { element: t, boundary: o, rootBoundary: n, strategy: i } = e;
756
- const s = o === "clippingAncestors" ? function(d, h) {
757
- const p = h.get(d);
758
- if (p)
759
- return p;
760
- let u = Oe(d).filter((w) => J(w) && Z(w) !== "body"), c = null;
761
- const f = W(d).position === "fixed";
762
- let m = f ? ye(d) : d;
763
- for (; J(m) && !Je(m); ) {
764
- const w = W(m), g = je(m);
765
- (f ? g || c : g || w.position !== "static" || !c || !["absolute", "fixed"].includes(c.position)) ? c = w : u = u.filter((v) => v !== m), m = ye(m);
758
+ const zn = { getClippingRect: function(e) {
759
+ let { element: t, boundary: n, rootBoundary: o, strategy: i } = e;
760
+ const s = n === "clippingAncestors" ? function(d, a) {
761
+ const u = a.get(d);
762
+ if (u)
763
+ return u;
764
+ let p = Ee(d).filter((w) => Z(w) && te(w) !== "body"), h = null;
765
+ const f = j(d).position === "fixed";
766
+ let m = f ? be(d) : d;
767
+ for (; Z(m) && !Ze(m); ) {
768
+ const w = j(m), g = qe(m);
769
+ (f ? g || h : g || w.position !== "static" || !h || !["absolute", "fixed"].includes(h.position)) ? h = w : p = p.filter((v) => v !== m), m = be(m);
766
770
  }
767
- return h.set(d, u), u;
768
- }(t, this._c) : [].concat(o), r = [...s, n], l = r[0], a = r.reduce((d, h) => {
769
- const p = lt(t, h, i);
770
- return d.top = ce(p.top, d.top), d.right = st(p.right, d.right), d.bottom = st(p.bottom, d.bottom), d.left = ce(p.left, d.left), d;
771
- }, lt(t, l, i));
772
- return { width: a.right - a.left, height: a.bottom - a.top, x: a.left, y: a.top };
771
+ return a.set(d, p), p;
772
+ }(t, this._c) : [].concat(n), r = [...s, o], l = r[0], c = r.reduce((d, a) => {
773
+ const u = dt(t, a, i);
774
+ return d.top = he(u.top, d.top), d.right = lt(u.right, d.right), d.bottom = lt(u.bottom, d.bottom), d.left = he(u.left, d.left), d;
775
+ }, dt(t, l, i));
776
+ return { width: c.right - c.left, height: c.bottom - c.top, x: c.left, y: c.top };
773
777
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(e) {
774
- let { rect: t, offsetParent: o, strategy: n } = e;
775
- const i = j(o), s = Q(o);
776
- if (o === s)
778
+ let { rect: t, offsetParent: n, strategy: o } = e;
779
+ const i = V(n), s = ee(n);
780
+ if (n === s)
777
781
  return t;
778
782
  let r = { scrollLeft: 0, scrollTop: 0 }, l = { x: 1, y: 1 };
779
- const a = { x: 0, y: 0 };
780
- if ((i || !i && n !== "fixed") && ((Z(o) !== "body" || Le(s)) && (r = He(o)), j(o))) {
781
- const d = ve(o);
782
- l = re(o), a.x = d.x + o.clientLeft, a.y = d.y + o.clientTop;
783
+ const c = { x: 0, y: 0 };
784
+ if ((i || !i && o !== "fixed") && ((te(n) !== "body" || He(s)) && (r = ke(n)), V(n))) {
785
+ const d = $e(n);
786
+ l = ce(n), c.x = d.x + n.clientLeft, c.y = d.y + n.clientTop;
783
787
  }
784
- return { width: t.width * l.x, height: t.height * l.y, x: t.x * l.x - r.scrollLeft * l.x + a.x, y: t.y * l.y - r.scrollTop * l.y + a.y };
785
- }, isElement: J, getDimensions: function(e) {
786
- return j(e) ? Pt(e) : e.getBoundingClientRect();
787
- }, getOffsetParent: dt, getDocumentElement: Q, getScale: re, async getElementRects(e) {
788
- let { reference: t, floating: o, strategy: n } = e;
789
- const i = this.getOffsetParent || dt, s = this.getDimensions;
790
- return { reference: Oo(t, await i(o), n), floating: { x: 0, y: 0, ...await s(o) } };
791
- }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => W(e).direction === "rtl" }, Eo = (e, t, o) => {
792
- const n = /* @__PURE__ */ new Map(), i = { platform: No, ...o }, s = { ...i.platform, _c: n };
793
- return yo(e, t, { ...i, platform: s });
794
- }, ne = {
788
+ return { width: t.width * l.x, height: t.height * l.y, x: t.x * l.x - r.scrollLeft * l.x + c.x, y: t.y * l.y - r.scrollTop * l.y + c.y };
789
+ }, isElement: Z, getDimensions: function(e) {
790
+ return V(e) ? Ct(e) : e.getBoundingClientRect();
791
+ }, getOffsetParent: ut, getDocumentElement: ee, getScale: ce, async getElementRects(e) {
792
+ let { reference: t, floating: n, strategy: o } = e;
793
+ const i = this.getOffsetParent || ut, s = this.getDimensions;
794
+ return { reference: En(t, await i(n), o), floating: { x: 0, y: 0, ...await s(n) } };
795
+ }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => j(e).direction === "rtl" }, Rn = (e, t, n) => {
796
+ const o = /* @__PURE__ */ new Map(), i = { platform: zn, ...n }, s = { ...i.platform, _c: o };
797
+ return bn(e, t, { ...i, platform: s });
798
+ }, se = {
795
799
  // Disable popper components
796
800
  disabled: !1,
797
801
  // Default position offset along main axis (px)
@@ -866,96 +870,96 @@ const No = { getClippingRect: function(e) {
866
870
  }
867
871
  }
868
872
  };
869
- function Ne(e, t) {
870
- let o = ne.themes[e] || {}, n;
873
+ function ze(e, t) {
874
+ let n = se.themes[e] || {}, o;
871
875
  do
872
- n = o[t], typeof n > "u" ? o.$extend ? o = ne.themes[o.$extend] || {} : (o = null, n = ne[t]) : o = null;
873
- while (o);
874
- return n;
876
+ o = n[t], typeof o > "u" ? n.$extend ? n = se.themes[n.$extend] || {} : (n = null, o = se[t]) : n = null;
877
+ while (n);
878
+ return o;
875
879
  }
876
- function zo(e) {
880
+ function Ln(e) {
877
881
  const t = [e];
878
- let o = ne.themes[e] || {};
882
+ let n = se.themes[e] || {};
879
883
  do
880
- o.$extend && !o.$resetCss ? (t.push(o.$extend), o = ne.themes[o.$extend] || {}) : o = null;
881
- while (o);
882
- return t.map((n) => `v-popper--theme-${n}`);
884
+ n.$extend && !n.$resetCss ? (t.push(n.$extend), n = se.themes[n.$extend] || {}) : n = null;
885
+ while (n);
886
+ return t.map((o) => `v-popper--theme-${o}`);
883
887
  }
884
- function ct(e) {
888
+ function pt(e) {
885
889
  const t = [e];
886
- let o = ne.themes[e] || {};
890
+ let n = se.themes[e] || {};
887
891
  do
888
- o.$extend ? (t.push(o.$extend), o = ne.themes[o.$extend] || {}) : o = null;
889
- while (o);
892
+ n.$extend ? (t.push(n.$extend), n = se.themes[n.$extend] || {}) : n = null;
893
+ while (n);
890
894
  return t;
891
895
  }
892
- let le = !1;
896
+ let ue = !1;
893
897
  if (typeof window < "u") {
894
- le = !1;
898
+ ue = !1;
895
899
  try {
896
900
  const e = Object.defineProperty({}, "passive", {
897
901
  get() {
898
- le = !0;
902
+ ue = !0;
899
903
  }
900
904
  });
901
905
  window.addEventListener("test", null, e);
902
906
  } catch {
903
907
  }
904
908
  }
905
- let Lt = !1;
906
- typeof window < "u" && typeof navigator < "u" && (Lt = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
907
- const Ht = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
909
+ let Ht = !1;
910
+ typeof window < "u" && typeof navigator < "u" && (Ht = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream);
911
+ const kt = ["auto", "top", "bottom", "left", "right"].reduce((e, t) => e.concat([
908
912
  t,
909
913
  `${t}-start`,
910
914
  `${t}-end`
911
- ]), []), ut = {
915
+ ]), []), ht = {
912
916
  hover: "mouseenter",
913
917
  focus: "focus",
914
918
  click: "click",
915
919
  touch: "touchstart",
916
920
  pointer: "pointerdown"
917
- }, pt = {
921
+ }, ft = {
918
922
  hover: "mouseleave",
919
923
  focus: "blur",
920
924
  click: "click",
921
925
  touch: "touchend",
922
926
  pointer: "pointerup"
923
927
  };
924
- function ht(e, t) {
925
- const o = e.indexOf(t);
926
- o !== -1 && e.splice(o, 1);
928
+ function mt(e, t) {
929
+ const n = e.indexOf(t);
930
+ n !== -1 && e.splice(n, 1);
927
931
  }
928
- function Be() {
932
+ function Fe() {
929
933
  return new Promise((e) => requestAnimationFrame(() => {
930
934
  requestAnimationFrame(e);
931
935
  }));
932
936
  }
933
- const H = [];
934
- let ee = null;
935
- const ft = {};
936
- function mt(e) {
937
- let t = ft[e];
938
- return t || (t = ft[e] = []), t;
937
+ const M = [];
938
+ let ne = null;
939
+ const gt = {};
940
+ function wt(e) {
941
+ let t = gt[e];
942
+ return t || (t = gt[e] = []), t;
939
943
  }
940
- let Ve = function() {
944
+ let Ge = function() {
941
945
  };
942
- typeof window < "u" && (Ve = window.Element);
943
- function _(e) {
946
+ typeof window < "u" && (Ge = window.Element);
947
+ function b(e) {
944
948
  return function(t) {
945
- return Ne(t.theme, e);
949
+ return ze(t.theme, e);
946
950
  };
947
951
  }
948
- const Ie = "__floating-vue__popper", Dt = () => Ee({
952
+ const We = "__floating-vue__popper", Dt = () => Re({
949
953
  name: "VPopper",
950
954
  provide() {
951
955
  return {
952
- [Ie]: {
956
+ [We]: {
953
957
  parentPopper: this
954
958
  }
955
959
  };
956
960
  },
957
961
  inject: {
958
- [Ie]: { default: null }
962
+ [We]: { default: null }
959
963
  },
960
964
  props: {
961
965
  theme: {
@@ -988,147 +992,147 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
988
992
  },
989
993
  disabled: {
990
994
  type: Boolean,
991
- default: _("disabled")
995
+ default: b("disabled")
992
996
  },
993
997
  positioningDisabled: {
994
998
  type: Boolean,
995
- default: _("positioningDisabled")
999
+ default: b("positioningDisabled")
996
1000
  },
997
1001
  placement: {
998
1002
  type: String,
999
- default: _("placement"),
1000
- validator: (e) => Ht.includes(e)
1003
+ default: b("placement"),
1004
+ validator: (e) => kt.includes(e)
1001
1005
  },
1002
1006
  delay: {
1003
1007
  type: [String, Number, Object],
1004
- default: _("delay")
1008
+ default: b("delay")
1005
1009
  },
1006
1010
  distance: {
1007
1011
  type: [Number, String],
1008
- default: _("distance")
1012
+ default: b("distance")
1009
1013
  },
1010
1014
  skidding: {
1011
1015
  type: [Number, String],
1012
- default: _("skidding")
1016
+ default: b("skidding")
1013
1017
  },
1014
1018
  triggers: {
1015
1019
  type: Array,
1016
- default: _("triggers")
1020
+ default: b("triggers")
1017
1021
  },
1018
1022
  showTriggers: {
1019
1023
  type: [Array, Function],
1020
- default: _("showTriggers")
1024
+ default: b("showTriggers")
1021
1025
  },
1022
1026
  hideTriggers: {
1023
1027
  type: [Array, Function],
1024
- default: _("hideTriggers")
1028
+ default: b("hideTriggers")
1025
1029
  },
1026
1030
  popperTriggers: {
1027
1031
  type: Array,
1028
- default: _("popperTriggers")
1032
+ default: b("popperTriggers")
1029
1033
  },
1030
1034
  popperShowTriggers: {
1031
1035
  type: [Array, Function],
1032
- default: _("popperShowTriggers")
1036
+ default: b("popperShowTriggers")
1033
1037
  },
1034
1038
  popperHideTriggers: {
1035
1039
  type: [Array, Function],
1036
- default: _("popperHideTriggers")
1040
+ default: b("popperHideTriggers")
1037
1041
  },
1038
1042
  container: {
1039
- type: [String, Object, Ve, Boolean],
1040
- default: _("container")
1043
+ type: [String, Object, Ge, Boolean],
1044
+ default: b("container")
1041
1045
  },
1042
1046
  boundary: {
1043
- type: [String, Ve],
1044
- default: _("boundary")
1047
+ type: [String, Ge],
1048
+ default: b("boundary")
1045
1049
  },
1046
1050
  strategy: {
1047
1051
  type: String,
1048
1052
  validator: (e) => ["absolute", "fixed"].includes(e),
1049
- default: _("strategy")
1053
+ default: b("strategy")
1050
1054
  },
1051
1055
  autoHide: {
1052
1056
  type: [Boolean, Function],
1053
- default: _("autoHide")
1057
+ default: b("autoHide")
1054
1058
  },
1055
1059
  handleResize: {
1056
1060
  type: Boolean,
1057
- default: _("handleResize")
1061
+ default: b("handleResize")
1058
1062
  },
1059
1063
  instantMove: {
1060
1064
  type: Boolean,
1061
- default: _("instantMove")
1065
+ default: b("instantMove")
1062
1066
  },
1063
1067
  eagerMount: {
1064
1068
  type: Boolean,
1065
- default: _("eagerMount")
1069
+ default: b("eagerMount")
1066
1070
  },
1067
1071
  popperClass: {
1068
1072
  type: [String, Array, Object],
1069
- default: _("popperClass")
1073
+ default: b("popperClass")
1070
1074
  },
1071
1075
  computeTransformOrigin: {
1072
1076
  type: Boolean,
1073
- default: _("computeTransformOrigin")
1077
+ default: b("computeTransformOrigin")
1074
1078
  },
1075
1079
  /**
1076
1080
  * @deprecated
1077
1081
  */
1078
1082
  autoMinSize: {
1079
1083
  type: Boolean,
1080
- default: _("autoMinSize")
1084
+ default: b("autoMinSize")
1081
1085
  },
1082
1086
  autoSize: {
1083
1087
  type: [Boolean, String],
1084
- default: _("autoSize")
1088
+ default: b("autoSize")
1085
1089
  },
1086
1090
  /**
1087
1091
  * @deprecated
1088
1092
  */
1089
1093
  autoMaxSize: {
1090
1094
  type: Boolean,
1091
- default: _("autoMaxSize")
1095
+ default: b("autoMaxSize")
1092
1096
  },
1093
1097
  autoBoundaryMaxSize: {
1094
1098
  type: Boolean,
1095
- default: _("autoBoundaryMaxSize")
1099
+ default: b("autoBoundaryMaxSize")
1096
1100
  },
1097
1101
  preventOverflow: {
1098
1102
  type: Boolean,
1099
- default: _("preventOverflow")
1103
+ default: b("preventOverflow")
1100
1104
  },
1101
1105
  overflowPadding: {
1102
1106
  type: [Number, String],
1103
- default: _("overflowPadding")
1107
+ default: b("overflowPadding")
1104
1108
  },
1105
1109
  arrowPadding: {
1106
1110
  type: [Number, String],
1107
- default: _("arrowPadding")
1111
+ default: b("arrowPadding")
1108
1112
  },
1109
1113
  arrowOverflow: {
1110
1114
  type: Boolean,
1111
- default: _("arrowOverflow")
1115
+ default: b("arrowOverflow")
1112
1116
  },
1113
1117
  flip: {
1114
1118
  type: Boolean,
1115
- default: _("flip")
1119
+ default: b("flip")
1116
1120
  },
1117
1121
  shift: {
1118
1122
  type: Boolean,
1119
- default: _("shift")
1123
+ default: b("shift")
1120
1124
  },
1121
1125
  shiftCrossAxis: {
1122
1126
  type: Boolean,
1123
- default: _("shiftCrossAxis")
1127
+ default: b("shiftCrossAxis")
1124
1128
  },
1125
1129
  noAutoFocus: {
1126
1130
  type: Boolean,
1127
- default: _("noAutoFocus")
1131
+ default: b("noAutoFocus")
1128
1132
  },
1129
1133
  disposeTimeout: {
1130
1134
  type: Number,
1131
- default: _("disposeTimeout")
1135
+ default: b("disposeTimeout")
1132
1136
  }
1133
1137
  },
1134
1138
  emits: {
@@ -1197,7 +1201,7 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1197
1201
  },
1198
1202
  parentPopper() {
1199
1203
  var e;
1200
- return (e = this[Ie]) == null ? void 0 : e.parentPopper;
1204
+ return (e = this[We]) == null ? void 0 : e.parentPopper;
1201
1205
  },
1202
1206
  hasPopperShowTriggerHover() {
1203
1207
  var e, t;
@@ -1246,14 +1250,14 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1246
1250
  this.dispose();
1247
1251
  },
1248
1252
  methods: {
1249
- show({ event: e = null, skipDelay: t = !1, force: o = !1 } = {}) {
1250
- var n, i;
1251
- (n = this.parentPopper) != null && n.lockedChild && this.parentPopper.lockedChild !== this || (this.$_pendingHide = !1, (o || !this.disabled) && (((i = this.parentPopper) == null ? void 0 : i.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
1253
+ show({ event: e = null, skipDelay: t = !1, force: n = !1 } = {}) {
1254
+ var o, i;
1255
+ (o = this.parentPopper) != null && o.lockedChild && this.parentPopper.lockedChild !== this || (this.$_pendingHide = !1, (n || !this.disabled) && (((i = this.parentPopper) == null ? void 0 : i.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
1252
1256
  this.$_showFrameLocked = !1;
1253
1257
  })), this.$emit("update:shown", !0));
1254
1258
  },
1255
1259
  hide({ event: e = null, skipDelay: t = !1 } = {}) {
1256
- var o;
1260
+ var n;
1257
1261
  if (!this.$_hideInProgress) {
1258
1262
  if (this.shownChildren.size > 0) {
1259
1263
  this.$_pendingHide = !0;
@@ -1265,7 +1269,7 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1265
1269
  }, 1e3));
1266
1270
  return;
1267
1271
  }
1268
- ((o = this.parentPopper) == null ? void 0 : o.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
1272
+ ((n = this.parentPopper) == null ? void 0 : n.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
1269
1273
  }
1270
1274
  },
1271
1275
  init() {
@@ -1285,44 +1289,44 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1285
1289
  strategy: this.strategy,
1286
1290
  middleware: []
1287
1291
  };
1288
- (this.distance || this.skidding) && e.middleware.push(To({
1292
+ (this.distance || this.skidding) && e.middleware.push(An({
1289
1293
  mainAxis: this.distance,
1290
1294
  crossAxis: this.skidding
1291
1295
  }));
1292
1296
  const t = this.placement.startsWith("auto");
1293
- if (t ? e.middleware.push(bo({
1297
+ if (t ? e.middleware.push(Sn({
1294
1298
  alignment: this.placement.split("-")[1] ?? ""
1295
- })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(Po({
1299
+ })) : e.placement = this.placement, this.preventOverflow && (this.shift && e.middleware.push(Cn({
1296
1300
  padding: this.overflowPadding,
1297
1301
  boundary: this.boundary,
1298
1302
  crossAxis: this.shiftCrossAxis
1299
- })), !t && this.flip && e.middleware.push(xo({
1303
+ })), !t && this.flip && e.middleware.push(Tn({
1300
1304
  padding: this.overflowPadding,
1301
1305
  boundary: this.boundary
1302
- }))), e.middleware.push($o({
1306
+ }))), e.middleware.push(xn({
1303
1307
  element: this.$_arrowNode,
1304
1308
  padding: this.arrowPadding
1305
1309
  })), this.arrowOverflow && e.middleware.push({
1306
1310
  name: "arrowOverflow",
1307
- fn: ({ placement: n, rects: i, middlewareData: s }) => {
1311
+ fn: ({ placement: o, rects: i, middlewareData: s }) => {
1308
1312
  let r;
1309
1313
  const { centerOffset: l } = s.arrow;
1310
- return n.startsWith("top") || n.startsWith("bottom") ? r = Math.abs(l) > i.reference.width / 2 : r = Math.abs(l) > i.reference.height / 2, {
1314
+ return o.startsWith("top") || o.startsWith("bottom") ? r = Math.abs(l) > i.reference.width / 2 : r = Math.abs(l) > i.reference.height / 2, {
1311
1315
  data: {
1312
1316
  overflow: r
1313
1317
  }
1314
1318
  };
1315
1319
  }
1316
1320
  }), this.autoMinSize || this.autoSize) {
1317
- const n = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
1321
+ const o = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
1318
1322
  e.middleware.push({
1319
1323
  name: "autoSize",
1320
1324
  fn: ({ rects: i, placement: s, middlewareData: r }) => {
1321
1325
  var l;
1322
1326
  if ((l = r.autoSize) != null && l.skip)
1323
1327
  return {};
1324
- let a, d;
1325
- return s.startsWith("top") || s.startsWith("bottom") ? a = i.reference.width : d = i.reference.height, this.$_innerNode.style[n === "min" ? "minWidth" : n === "max" ? "maxWidth" : "width"] = a != null ? `${a}px` : null, this.$_innerNode.style[n === "min" ? "minHeight" : n === "max" ? "maxHeight" : "height"] = d != null ? `${d}px` : null, {
1328
+ let c, d;
1329
+ return s.startsWith("top") || s.startsWith("bottom") ? c = i.reference.width : d = i.reference.height, this.$_innerNode.style[o === "min" ? "minWidth" : o === "max" ? "maxWidth" : "width"] = c != null ? `${c}px` : null, this.$_innerNode.style[o === "min" ? "minHeight" : o === "max" ? "maxHeight" : "height"] = d != null ? `${d}px` : null, {
1326
1330
  data: {
1327
1331
  skip: !0
1328
1332
  },
@@ -1333,28 +1337,28 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1333
1337
  }
1334
1338
  });
1335
1339
  }
1336
- (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(Ao({
1340
+ (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(On({
1337
1341
  boundary: this.boundary,
1338
1342
  padding: this.overflowPadding,
1339
- apply: ({ availableWidth: n, availableHeight: i }) => {
1340
- this.$_innerNode.style.maxWidth = n != null ? `${n}px` : null, this.$_innerNode.style.maxHeight = i != null ? `${i}px` : null;
1343
+ apply: ({ availableWidth: o, availableHeight: i }) => {
1344
+ this.$_innerNode.style.maxWidth = o != null ? `${o}px` : null, this.$_innerNode.style.maxHeight = i != null ? `${i}px` : null;
1341
1345
  }
1342
1346
  })));
1343
- const o = await Eo(this.$_referenceNode, this.$_popperNode, e);
1347
+ const n = await Rn(this.$_referenceNode, this.$_popperNode, e);
1344
1348
  Object.assign(this.result, {
1345
- x: o.x,
1346
- y: o.y,
1347
- placement: o.placement,
1348
- strategy: o.strategy,
1349
+ x: n.x,
1350
+ y: n.y,
1351
+ placement: n.placement,
1352
+ strategy: n.strategy,
1349
1353
  arrow: {
1350
- ...o.middlewareData.arrow,
1351
- ...o.middlewareData.arrowOverflow
1354
+ ...n.middlewareData.arrow,
1355
+ ...n.middlewareData.arrowOverflow
1352
1356
  }
1353
1357
  });
1354
1358
  },
1355
1359
  $_scheduleShow(e = null, t = !1) {
1356
- if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), ee && this.instantMove && ee.instantMove && ee !== this.parentPopper) {
1357
- ee.$_applyHide(!0), this.$_applyShow(!0);
1360
+ if (this.$_updateParentShownChildren(!0), this.$_hideInProgress = !1, clearTimeout(this.$_scheduleTimer), ne && this.instantMove && ne.instantMove && ne !== this.parentPopper) {
1361
+ ne.$_applyHide(!0), this.$_applyShow(!0);
1358
1362
  return;
1359
1363
  }
1360
1364
  t ? this.$_applyShow() : this.$_scheduleTimer = setTimeout(this.$_applyShow.bind(this), this.$_computeDelay("show"));
@@ -1364,16 +1368,16 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1364
1368
  this.$_pendingHide = !0;
1365
1369
  return;
1366
1370
  }
1367
- this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (ee = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1371
+ this.$_updateParentShownChildren(!1), this.$_hideInProgress = !0, clearTimeout(this.$_scheduleTimer), this.isShown && (ne = this), t ? this.$_applyHide() : this.$_scheduleTimer = setTimeout(this.$_applyHide.bind(this), this.$_computeDelay("hide"));
1368
1372
  },
1369
1373
  $_computeDelay(e) {
1370
1374
  const t = this.delay;
1371
1375
  return parseInt(t && t[e] || t || 0);
1372
1376
  },
1373
1377
  async $_applyShow(e = !1) {
1374
- clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await Be(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1375
- ...Oe(this.$_referenceNode),
1376
- ...Oe(this.$_popperNode)
1378
+ clearTimeout(this.$_disposeTimer), clearTimeout(this.$_scheduleTimer), this.skipTransition = e, !this.isShown && (this.$_ensureTeleport(), await Fe(), await this.$_computePosition(), await this.$_applyShowEffect(), this.positioningDisabled || this.$_registerEventListeners([
1379
+ ...Ee(this.$_referenceNode),
1380
+ ...Ee(this.$_popperNode)
1377
1381
  ], "scroll", () => {
1378
1382
  this.$_computePosition();
1379
1383
  }));
@@ -1382,7 +1386,7 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1382
1386
  if (this.$_hideInProgress)
1383
1387
  return;
1384
1388
  if (this.computeTransformOrigin) {
1385
- const t = this.$_referenceNode.getBoundingClientRect(), o = this.$_popperNode.querySelector(".v-popper__wrapper"), n = o.parentNode.getBoundingClientRect(), i = t.x + t.width / 2 - (n.left + o.offsetLeft), s = t.y + t.height / 2 - (n.top + o.offsetTop);
1389
+ const t = this.$_referenceNode.getBoundingClientRect(), n = this.$_popperNode.querySelector(".v-popper__wrapper"), o = n.parentNode.getBoundingClientRect(), i = t.x + t.width / 2 - (o.left + n.offsetLeft), s = t.y + t.height / 2 - (o.top + n.offsetTop);
1386
1390
  this.result.transformOrigin = `${i}px ${s}px`;
1387
1391
  }
1388
1392
  this.isShown = !0, this.$_applyAttrsToTarget({
@@ -1392,13 +1396,13 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1392
1396
  const e = this.showGroup;
1393
1397
  if (e) {
1394
1398
  let t;
1395
- for (let o = 0; o < H.length; o++)
1396
- t = H[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1399
+ for (let n = 0; n < M.length; n++)
1400
+ t = M[n], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
1397
1401
  }
1398
- H.push(this), document.body.classList.add("v-popper--some-open");
1399
- for (const t of ct(this.theme))
1400
- mt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1401
- this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await Be(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1402
+ M.push(this), document.body.classList.add("v-popper--some-open");
1403
+ for (const t of pt(this.theme))
1404
+ wt(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
1405
+ this.$emit("apply-show"), this.classes.showFrom = !0, this.classes.showTo = !1, this.classes.hideFrom = !1, this.classes.hideTo = !1, await Fe(), this.classes.showFrom = !1, this.classes.showTo = !0, this.noAutoFocus || this.$_popperNode.focus();
1402
1406
  },
1403
1407
  async $_applyHide(e = !1) {
1404
1408
  if (this.shownChildren.size > 0) {
@@ -1407,19 +1411,19 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1407
1411
  }
1408
1412
  if (clearTimeout(this.$_scheduleTimer), !this.isShown)
1409
1413
  return;
1410
- this.skipTransition = e, ht(H, this), H.length === 0 && document.body.classList.remove("v-popper--some-open");
1411
- for (const o of ct(this.theme)) {
1412
- const n = mt(o);
1413
- ht(n, this), n.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
1414
+ this.skipTransition = e, mt(M, this), M.length === 0 && document.body.classList.remove("v-popper--some-open");
1415
+ for (const n of pt(this.theme)) {
1416
+ const o = wt(n);
1417
+ mt(o, this), o.length === 0 && document.body.classList.remove(`v-popper--some-open--${n}`);
1414
1418
  }
1415
- ee === this && (ee = null), this.isShown = !1, this.$_applyAttrsToTarget({
1419
+ ne === this && (ne = null), this.isShown = !1, this.$_applyAttrsToTarget({
1416
1420
  "aria-describedby": void 0,
1417
1421
  "data-popper-shown": void 0
1418
1422
  }), clearTimeout(this.$_disposeTimer);
1419
1423
  const t = this.disposeTimeout;
1420
1424
  t !== null && (this.$_disposeTimer = setTimeout(() => {
1421
1425
  this.$_popperNode && (this.$_detachPopperNode(), this.isMounted = !1);
1422
- }, 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 Be(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1426
+ }, 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 Fe(), this.classes.hideFrom = !1, this.classes.hideTo = !0;
1423
1427
  },
1424
1428
  $_autoShowHide() {
1425
1429
  this.shown ? this.show() : this.hide();
@@ -1433,32 +1437,32 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1433
1437
  e.appendChild(this.$_popperNode), this.isMounted = !0;
1434
1438
  },
1435
1439
  $_addEventListeners() {
1436
- const e = (o) => {
1437
- this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
1440
+ const e = (n) => {
1441
+ this.isShown && !this.$_hideInProgress || (n.usedByTooltip = !0, !this.$_preventShow && this.show({ event: n }));
1438
1442
  };
1439
- this.$_registerTriggerListeners(this.$_targetNodes, ut, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], ut, this.popperTriggers, this.popperShowTriggers, e);
1440
- const t = (o) => {
1441
- o.usedByTooltip || this.hide({ event: o });
1443
+ this.$_registerTriggerListeners(this.$_targetNodes, ht, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], ht, this.popperTriggers, this.popperShowTriggers, e);
1444
+ const t = (n) => {
1445
+ n.usedByTooltip || this.hide({ event: n });
1442
1446
  };
1443
- this.$_registerTriggerListeners(this.$_targetNodes, pt, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], pt, this.popperTriggers, this.popperHideTriggers, t);
1447
+ this.$_registerTriggerListeners(this.$_targetNodes, ft, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], ft, this.popperTriggers, this.popperHideTriggers, t);
1444
1448
  },
1445
- $_registerEventListeners(e, t, o) {
1446
- this.$_events.push({ targetNodes: e, eventType: t, handler: o }), e.forEach((n) => n.addEventListener(t, o, le ? {
1449
+ $_registerEventListeners(e, t, n) {
1450
+ this.$_events.push({ targetNodes: e, eventType: t, handler: n }), e.forEach((o) => o.addEventListener(t, n, ue ? {
1447
1451
  passive: !0
1448
1452
  } : void 0));
1449
1453
  },
1450
- $_registerTriggerListeners(e, t, o, n, i) {
1451
- let s = o;
1452
- n != null && (s = typeof n == "function" ? n(s) : n), s.forEach((r) => {
1454
+ $_registerTriggerListeners(e, t, n, o, i) {
1455
+ let s = n;
1456
+ o != null && (s = typeof o == "function" ? o(s) : o), s.forEach((r) => {
1453
1457
  const l = t[r];
1454
1458
  l && this.$_registerEventListeners(e, l, i);
1455
1459
  });
1456
1460
  },
1457
1461
  $_removeEventListeners(e) {
1458
1462
  const t = [];
1459
- this.$_events.forEach((o) => {
1460
- const { targetNodes: n, eventType: i, handler: s } = o;
1461
- !e || e === i ? n.forEach((r) => r.removeEventListener(i, s)) : t.push(o);
1463
+ this.$_events.forEach((n) => {
1464
+ const { targetNodes: o, eventType: i, handler: s } = n;
1465
+ !e || e === i ? o.forEach((r) => r.removeEventListener(i, s)) : t.push(n);
1462
1466
  }), this.$_events = t;
1463
1467
  },
1464
1468
  $_refreshListeners() {
@@ -1473,16 +1477,16 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1473
1477
  this.$_popperNode.parentNode && this.$_popperNode.parentNode.removeChild(this.$_popperNode);
1474
1478
  },
1475
1479
  $_swapTargetAttrs(e, t) {
1476
- for (const o of this.$_targetNodes) {
1477
- const n = o.getAttribute(e);
1478
- n && (o.removeAttribute(e), o.setAttribute(t, n));
1480
+ for (const n of this.$_targetNodes) {
1481
+ const o = n.getAttribute(e);
1482
+ o && (n.removeAttribute(e), n.setAttribute(t, o));
1479
1483
  }
1480
1484
  },
1481
1485
  $_applyAttrsToTarget(e) {
1482
1486
  for (const t of this.$_targetNodes)
1483
- for (const o in e) {
1484
- const n = e[o];
1485
- n == null ? t.removeAttribute(o) : t.setAttribute(o, n);
1487
+ for (const n in e) {
1488
+ const o = e[n];
1489
+ o == null ? t.removeAttribute(n) : t.setAttribute(n, o);
1486
1490
  }
1487
1491
  },
1488
1492
  $_updateParentShownChildren(e) {
@@ -1492,12 +1496,12 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1492
1496
  },
1493
1497
  $_isAimingPopper() {
1494
1498
  const e = this.$_referenceNode.getBoundingClientRect();
1495
- if (ue >= e.left && ue <= e.right && pe >= e.top && pe <= e.bottom) {
1496
- const t = this.$_popperNode.getBoundingClientRect(), o = ue - U, n = pe - X, i = t.left + t.width / 2 - U + (t.top + t.height / 2) - X + t.width + t.height, s = U + o * i, r = X + n * i;
1497
- return be(U, X, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1498
- be(U, X, s, r, t.left, t.top, t.right, t.top) || // Top edge
1499
- be(U, X, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1500
- be(U, X, s, r, t.left, t.bottom, t.right, t.bottom);
1499
+ if (fe >= e.left && fe <= e.right && me >= e.top && me <= e.bottom) {
1500
+ const t = this.$_popperNode.getBoundingClientRect(), n = fe - X, o = me - K, i = t.left + t.width / 2 - X + (t.top + t.height / 2) - K + t.width + t.height, s = X + n * i, r = K + o * i;
1501
+ return Se(X, K, s, r, t.left, t.top, t.left, t.bottom) || // Left edge
1502
+ Se(X, K, s, r, t.left, t.top, t.right, t.top) || // Top edge
1503
+ Se(X, K, s, r, t.right, t.top, t.right, t.bottom) || // Right edge
1504
+ Se(X, K, s, r, t.left, t.bottom, t.right, t.bottom);
1501
1505
  }
1502
1506
  return !1;
1503
1507
  }
@@ -1506,45 +1510,45 @@ const Ie = "__floating-vue__popper", Dt = () => Ee({
1506
1510
  return this.$slots.default(this.slotData);
1507
1511
  }
1508
1512
  });
1509
- typeof document < "u" && typeof window < "u" && (Lt ? (document.addEventListener("touchstart", gt, le ? {
1513
+ typeof document < "u" && typeof window < "u" && (Ht ? (document.addEventListener("touchstart", vt, ue ? {
1510
1514
  passive: !0,
1511
1515
  capture: !0
1512
- } : !0), document.addEventListener("touchend", Lo, le ? {
1516
+ } : !0), document.addEventListener("touchend", Hn, ue ? {
1513
1517
  passive: !0,
1514
1518
  capture: !0
1515
- } : !0)) : (window.addEventListener("mousedown", gt, !0), window.addEventListener("click", Ro, !0)), window.addEventListener("resize", Mo));
1516
- function gt(e) {
1517
- for (let t = 0; t < H.length; t++) {
1518
- const o = H[t];
1519
+ } : !0)) : (window.addEventListener("mousedown", vt, !0), window.addEventListener("click", Mn, !0)), window.addEventListener("resize", Bn));
1520
+ function vt(e) {
1521
+ for (let t = 0; t < M.length; t++) {
1522
+ const n = M[t];
1519
1523
  try {
1520
- const n = o.popperNode();
1521
- o.$_mouseDownContains = n.contains(e.target);
1524
+ const o = n.popperNode();
1525
+ n.$_mouseDownContains = o.contains(e.target);
1522
1526
  } catch {
1523
1527
  }
1524
1528
  }
1525
1529
  }
1526
- function Ro(e) {
1527
- Mt(e);
1530
+ function Mn(e) {
1531
+ Bt(e);
1528
1532
  }
1529
- function Lo(e) {
1530
- Mt(e, !0);
1533
+ function Hn(e) {
1534
+ Bt(e, !0);
1531
1535
  }
1532
- function Mt(e, t = !1) {
1533
- const o = {};
1534
- for (let n = H.length - 1; n >= 0; n--) {
1535
- const i = H[n];
1536
+ function Bt(e, t = !1) {
1537
+ const n = {};
1538
+ for (let o = M.length - 1; o >= 0; o--) {
1539
+ const i = M[o];
1536
1540
  try {
1537
- const s = i.$_containsGlobalTarget = Ho(i, e);
1541
+ const s = i.$_containsGlobalTarget = kn(i, e);
1538
1542
  i.$_pendingHide = !1, requestAnimationFrame(() => {
1539
- if (i.$_pendingHide = !1, !o[i.randomId] && wt(i, s, e)) {
1543
+ if (i.$_pendingHide = !1, !n[i.randomId] && yt(i, s, e)) {
1540
1544
  if (i.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && s) {
1541
1545
  let l = i.parentPopper;
1542
1546
  for (; l; )
1543
- o[l.randomId] = !0, l = l.parentPopper;
1547
+ n[l.randomId] = !0, l = l.parentPopper;
1544
1548
  return;
1545
1549
  }
1546
1550
  let r = i.parentPopper;
1547
- for (; r && wt(r, r.$_containsGlobalTarget, e); )
1551
+ for (; r && yt(r, r.$_containsGlobalTarget, e); )
1548
1552
  r.$_handleGlobalClose(e, t), r = r.parentPopper;
1549
1553
  }
1550
1554
  });
@@ -1552,74 +1556,74 @@ function Mt(e, t = !1) {
1552
1556
  }
1553
1557
  }
1554
1558
  }
1555
- function Ho(e, t) {
1556
- const o = e.popperNode();
1557
- return e.$_mouseDownContains || o.contains(t.target);
1559
+ function kn(e, t) {
1560
+ const n = e.popperNode();
1561
+ return e.$_mouseDownContains || n.contains(t.target);
1558
1562
  }
1559
- function wt(e, t, o) {
1560
- return o.closeAllPopover || o.closePopover && t || Do(e, o) && !t;
1563
+ function yt(e, t, n) {
1564
+ return n.closeAllPopover || n.closePopover && t || Dn(e, n) && !t;
1561
1565
  }
1562
- function Do(e, t) {
1566
+ function Dn(e, t) {
1563
1567
  if (typeof e.autoHide == "function") {
1564
- const o = e.autoHide(t);
1565
- return e.lastAutoHide = o, o;
1568
+ const n = e.autoHide(t);
1569
+ return e.lastAutoHide = n, n;
1566
1570
  }
1567
1571
  return e.autoHide;
1568
1572
  }
1569
- function Mo(e) {
1570
- for (let t = 0; t < H.length; t++)
1571
- H[t].$_computePosition(e);
1573
+ function Bn(e) {
1574
+ for (let t = 0; t < M.length; t++)
1575
+ M[t].$_computePosition(e);
1572
1576
  }
1573
- function ko() {
1574
- for (let e = 0; e < H.length; e++)
1575
- H[e].hide();
1577
+ function In() {
1578
+ for (let e = 0; e < M.length; e++)
1579
+ M[e].hide();
1576
1580
  }
1577
- let U = 0, X = 0, ue = 0, pe = 0;
1581
+ let X = 0, K = 0, fe = 0, me = 0;
1578
1582
  typeof window < "u" && window.addEventListener("mousemove", (e) => {
1579
- U = ue, X = pe, ue = e.clientX, pe = e.clientY;
1580
- }, le ? {
1583
+ X = fe, K = me, fe = e.clientX, me = e.clientY;
1584
+ }, ue ? {
1581
1585
  passive: !0
1582
1586
  } : void 0);
1583
- function be(e, t, o, n, i, s, r, l) {
1584
- const a = ((r - i) * (t - s) - (l - s) * (e - i)) / ((l - s) * (o - e) - (r - i) * (n - t)), d = ((o - e) * (t - s) - (n - t) * (e - i)) / ((l - s) * (o - e) - (r - i) * (n - t));
1585
- return a >= 0 && a <= 1 && d >= 0 && d <= 1;
1587
+ function Se(e, t, n, o, i, s, r, l) {
1588
+ const c = ((r - i) * (t - s) - (l - s) * (e - i)) / ((l - s) * (n - e) - (r - i) * (o - t)), d = ((n - e) * (t - s) - (o - t) * (e - i)) / ((l - s) * (n - e) - (r - i) * (o - t));
1589
+ return c >= 0 && c <= 1 && d >= 0 && d <= 1;
1586
1590
  }
1587
- const Bo = {
1591
+ const Fn = {
1588
1592
  extends: Dt()
1589
1593
  }, De = (e, t) => {
1590
- const o = e.__vccOpts || e;
1591
- for (const [n, i] of t)
1592
- o[n] = i;
1593
- return o;
1594
+ const n = e.__vccOpts || e;
1595
+ for (const [o, i] of t)
1596
+ n[o] = i;
1597
+ return n;
1594
1598
  };
1595
- function Io(e, t, o, n, i, s) {
1596
- return q(), he("div", {
1599
+ function Wn(e, t, n, o, i, s) {
1600
+ return G(), ge("div", {
1597
1601
  ref: "reference",
1598
- class: Ye(["v-popper", {
1602
+ class: Xe(["v-popper", {
1599
1603
  "v-popper--shown": e.slotData.isShown
1600
1604
  }])
1601
1605
  }, [
1602
- Se(e.$slots, "default", Xt(Kt(e.slotData)))
1606
+ Pe(e.$slots, "default", Jt(Qt(e.slotData)))
1603
1607
  ], 2);
1604
1608
  }
1605
- const Fo = /* @__PURE__ */ De(Bo, [["render", Io]]);
1606
- function Wo() {
1609
+ const jn = /* @__PURE__ */ De(Fn, [["render", Wn]]);
1610
+ function Vn() {
1607
1611
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
1608
1612
  if (t > 0)
1609
1613
  return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
1610
- var o = e.indexOf("Trident/");
1611
- if (o > 0) {
1612
- var n = e.indexOf("rv:");
1613
- return parseInt(e.substring(n + 3, e.indexOf(".", n)), 10);
1614
+ var n = e.indexOf("Trident/");
1615
+ if (n > 0) {
1616
+ var o = e.indexOf("rv:");
1617
+ return parseInt(e.substring(o + 3, e.indexOf(".", o)), 10);
1614
1618
  }
1615
1619
  var i = e.indexOf("Edge/");
1616
1620
  return i > 0 ? parseInt(e.substring(i + 5, e.indexOf(".", i)), 10) : -1;
1617
1621
  }
1618
- let xe;
1619
- function qe() {
1620
- qe.init || (qe.init = !0, xe = Wo() !== -1);
1622
+ let Te;
1623
+ function Ye() {
1624
+ Ye.init || (Ye.init = !0, Te = Vn() !== -1);
1621
1625
  }
1622
- var Me = {
1626
+ var Be = {
1623
1627
  name: "ResizeObserver",
1624
1628
  props: {
1625
1629
  emitOnMount: {
@@ -1639,11 +1643,11 @@ var Me = {
1639
1643
  "notify"
1640
1644
  ],
1641
1645
  mounted() {
1642
- qe(), Ge(() => {
1646
+ Ye(), Ue(() => {
1643
1647
  this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
1644
1648
  });
1645
1649
  const e = document.createElement("object");
1646
- this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", xe && this.$el.appendChild(e), e.data = "about:blank", xe || this.$el.appendChild(e);
1650
+ this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", Te && this.$el.appendChild(e), e.data = "about:blank", Te || this.$el.appendChild(e);
1647
1651
  },
1648
1652
  beforeUnmount() {
1649
1653
  this.removeResizeHandlers();
@@ -1662,34 +1666,34 @@ var Me = {
1662
1666
  this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
1663
1667
  },
1664
1668
  removeResizeHandlers() {
1665
- this._resizeObject && this._resizeObject.onload && (!xe && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1669
+ this._resizeObject && this._resizeObject.onload && (!Te && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
1666
1670
  }
1667
1671
  }
1668
1672
  };
1669
- const jo = /* @__PURE__ */ Jt("data-v-b329ee4c");
1670
- Yt("data-v-b329ee4c");
1671
- const Vo = {
1673
+ const qn = /* @__PURE__ */ Zt("data-v-b329ee4c");
1674
+ Xt("data-v-b329ee4c");
1675
+ const Gn = {
1672
1676
  class: "resize-observer",
1673
1677
  tabindex: "-1"
1674
1678
  };
1675
- Ut();
1676
- const qo = /* @__PURE__ */ jo((e, t, o, n, i, s) => (q(), ze("div", Vo)));
1677
- Me.render = qo;
1678
- Me.__scopeId = "data-v-b329ee4c";
1679
- Me.__file = "src/components/ResizeObserver.vue";
1680
- const kt = (e = "theme") => ({
1679
+ Kt();
1680
+ const Yn = /* @__PURE__ */ qn((e, t, n, o, i, s) => (G(), Le("div", Gn)));
1681
+ Be.render = Yn;
1682
+ Be.__scopeId = "data-v-b329ee4c";
1683
+ Be.__file = "src/components/ResizeObserver.vue";
1684
+ const It = (e = "theme") => ({
1681
1685
  computed: {
1682
1686
  themeClass() {
1683
- return zo(this[e]);
1687
+ return Ln(this[e]);
1684
1688
  }
1685
1689
  }
1686
- }), Go = Ee({
1690
+ }), Un = Re({
1687
1691
  name: "VPopperContent",
1688
1692
  components: {
1689
- ResizeObserver: Me
1693
+ ResizeObserver: Be
1690
1694
  },
1691
1695
  mixins: [
1692
- kt()
1696
+ It()
1693
1697
  ],
1694
1698
  props: {
1695
1699
  popperId: String,
@@ -1711,19 +1715,19 @@ const kt = (e = "theme") => ({
1711
1715
  return e != null && !isNaN(e) ? `${e}px` : null;
1712
1716
  }
1713
1717
  }
1714
- }), Yo = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Uo = {
1718
+ }), Xn = ["id", "aria-hidden", "tabindex", "data-popper-placement"], Kn = {
1715
1719
  ref: "inner",
1716
1720
  class: "v-popper__inner"
1717
- }, Xo = /* @__PURE__ */ oe("div", { class: "v-popper__arrow-outer" }, null, -1), Ko = /* @__PURE__ */ oe("div", { class: "v-popper__arrow-inner" }, null, -1), Jo = [
1718
- Xo,
1719
- Ko
1721
+ }, Jn = /* @__PURE__ */ ie("div", { class: "v-popper__arrow-outer" }, null, -1), Qn = /* @__PURE__ */ ie("div", { class: "v-popper__arrow-inner" }, null, -1), Zn = [
1722
+ Jn,
1723
+ Qn
1720
1724
  ];
1721
- function Qo(e, t, o, n, i, s) {
1722
- const r = fe("ResizeObserver");
1723
- return q(), he("div", {
1725
+ function eo(e, t, n, o, i, s) {
1726
+ const r = we("ResizeObserver");
1727
+ return G(), ge("div", {
1724
1728
  id: e.popperId,
1725
1729
  ref: "popover",
1726
- class: Ye(["v-popper__popper", [
1730
+ class: Xe(["v-popper__popper", [
1727
1731
  e.themeClass,
1728
1732
  e.classes.popperClass,
1729
1733
  {
@@ -1738,48 +1742,48 @@ function Qo(e, t, o, n, i, s) {
1738
1742
  "v-popper__popper--no-positioning": !e.result
1739
1743
  }
1740
1744
  ]]),
1741
- style: ke(e.result ? {
1745
+ style: Ie(e.result ? {
1742
1746
  position: e.result.strategy,
1743
1747
  transform: `translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`
1744
1748
  } : void 0),
1745
1749
  "aria-hidden": e.shown ? "false" : "true",
1746
1750
  tabindex: e.autoHide ? 0 : void 0,
1747
1751
  "data-popper-placement": e.result ? e.result.placement : void 0,
1748
- onKeyup: t[2] || (t[2] = Qt((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1752
+ onKeyup: t[2] || (t[2] = en((l) => e.autoHide && e.$emit("hide"), ["esc"]))
1749
1753
  }, [
1750
- oe("div", {
1754
+ ie("div", {
1751
1755
  class: "v-popper__backdrop",
1752
1756
  onClick: t[0] || (t[0] = (l) => e.autoHide && e.$emit("hide"))
1753
1757
  }),
1754
- oe("div", {
1758
+ ie("div", {
1755
1759
  class: "v-popper__wrapper",
1756
- style: ke(e.result ? {
1760
+ style: Ie(e.result ? {
1757
1761
  transformOrigin: e.result.transformOrigin
1758
1762
  } : void 0)
1759
1763
  }, [
1760
- oe("div", Uo, [
1761
- e.mounted ? (q(), he(Zt, { key: 0 }, [
1762
- oe("div", null, [
1763
- Se(e.$slots, "default")
1764
+ ie("div", Kn, [
1765
+ e.mounted ? (G(), ge(tn, { key: 0 }, [
1766
+ ie("div", null, [
1767
+ Pe(e.$slots, "default")
1764
1768
  ]),
1765
- e.handleResize ? (q(), ze(r, {
1769
+ e.handleResize ? (G(), Le(r, {
1766
1770
  key: 0,
1767
1771
  onNotify: t[1] || (t[1] = (l) => e.$emit("resize", l))
1768
- })) : et("", !0)
1769
- ], 64)) : et("", !0)
1772
+ })) : nt("", !0)
1773
+ ], 64)) : nt("", !0)
1770
1774
  ], 512),
1771
- oe("div", {
1775
+ ie("div", {
1772
1776
  ref: "arrow",
1773
1777
  class: "v-popper__arrow-container",
1774
- style: ke(e.result ? {
1778
+ style: Ie(e.result ? {
1775
1779
  left: e.toPx(e.result.arrow.x),
1776
1780
  top: e.toPx(e.result.arrow.y)
1777
1781
  } : void 0)
1778
- }, Jo, 4)
1782
+ }, Zn, 4)
1779
1783
  ], 4)
1780
- ], 46, Yo);
1784
+ ], 46, Xn);
1781
1785
  }
1782
- const Bt = /* @__PURE__ */ De(Go, [["render", Qo]]), It = {
1786
+ const Ft = /* @__PURE__ */ De(Un, [["render", eo]]), Wt = {
1783
1787
  methods: {
1784
1788
  show(...e) {
1785
1789
  return this.$refs.popper.show(...e);
@@ -1794,15 +1798,15 @@ const Bt = /* @__PURE__ */ De(Go, [["render", Qo]]), It = {
1794
1798
  return this.$refs.popper.onResize(...e);
1795
1799
  }
1796
1800
  }
1797
- }, Zo = Ee({
1801
+ }, to = Re({
1798
1802
  name: "VPopperWrapper",
1799
1803
  components: {
1800
- Popper: Fo,
1801
- PopperContent: Bt
1804
+ Popper: jn,
1805
+ PopperContent: Ft
1802
1806
  },
1803
1807
  mixins: [
1804
- It,
1805
- kt("finalTheme")
1808
+ Wt,
1809
+ It("finalTheme")
1806
1810
  ],
1807
1811
  props: {
1808
1812
  theme: {
@@ -1990,9 +1994,9 @@ const Bt = /* @__PURE__ */ De(Go, [["render", Qo]]), It = {
1990
1994
  }
1991
1995
  }
1992
1996
  });
1993
- function en(e, t, o, n, i, s) {
1994
- const r = fe("PopperContent"), l = fe("Popper");
1995
- return q(), ze(l, $t({ ref: "popper" }, e.$props, {
1997
+ function no(e, t, n, o, i, s) {
1998
+ const r = we("PopperContent"), l = we("Popper");
1999
+ return G(), Le(l, xt({ ref: "popper" }, e.$props, {
1996
2000
  theme: e.finalTheme,
1997
2001
  "target-nodes": e.getTargetNodes,
1998
2002
  "popper-node": () => e.$refs.popperContent.$el,
@@ -2001,7 +2005,7 @@ function en(e, t, o, n, i, s) {
2001
2005
  ],
2002
2006
  onShow: t[0] || (t[0] = () => e.$emit("show")),
2003
2007
  onHide: t[1] || (t[1] = () => e.$emit("hide")),
2004
- "onUpdate:shown": t[2] || (t[2] = (a) => e.$emit("update:shown", a)),
2008
+ "onUpdate:shown": t[2] || (t[2] = (c) => e.$emit("update:shown", c)),
2005
2009
  onApplyShow: t[3] || (t[3] = () => e.$emit("apply-show")),
2006
2010
  onApplyHide: t[4] || (t[4] = () => e.$emit("apply-hide")),
2007
2011
  onCloseGroup: t[5] || (t[5] = () => e.$emit("close-group")),
@@ -2009,40 +2013,40 @@ function en(e, t, o, n, i, s) {
2009
2013
  onAutoHide: t[7] || (t[7] = () => e.$emit("auto-hide")),
2010
2014
  onResize: t[8] || (t[8] = () => e.$emit("resize"))
2011
2015
  }), {
2012
- default: Te(({
2013
- popperId: a,
2016
+ default: Ae(({
2017
+ popperId: c,
2014
2018
  isShown: d,
2015
- shouldMountContent: h,
2016
- skipTransition: p,
2017
- autoHide: u,
2018
- show: c,
2019
+ shouldMountContent: a,
2020
+ skipTransition: u,
2021
+ autoHide: p,
2022
+ show: h,
2019
2023
  hide: f,
2020
2024
  handleResize: m,
2021
2025
  onResize: w,
2022
2026
  classes: g,
2023
2027
  result: v
2024
2028
  }) => [
2025
- Se(e.$slots, "default", {
2029
+ Pe(e.$slots, "default", {
2026
2030
  shown: d,
2027
- show: c,
2031
+ show: h,
2028
2032
  hide: f
2029
2033
  }),
2030
2034
  _t(r, {
2031
2035
  ref: "popperContent",
2032
- "popper-id": a,
2036
+ "popper-id": c,
2033
2037
  theme: e.finalTheme,
2034
2038
  shown: d,
2035
- mounted: h,
2036
- "skip-transition": p,
2037
- "auto-hide": u,
2039
+ mounted: a,
2040
+ "skip-transition": u,
2041
+ "auto-hide": p,
2038
2042
  "handle-resize": m,
2039
2043
  classes: g,
2040
2044
  result: v,
2041
2045
  onHide: f,
2042
2046
  onResize: w
2043
2047
  }, {
2044
- default: Te(() => [
2045
- Se(e.$slots, "popper", {
2048
+ default: Ae(() => [
2049
+ Pe(e.$slots, "popper", {
2046
2050
  shown: d,
2047
2051
  hide: f
2048
2052
  })
@@ -2053,25 +2057,25 @@ function en(e, t, o, n, i, s) {
2053
2057
  _: 3
2054
2058
  }, 16, ["theme", "target-nodes", "popper-node", "class"]);
2055
2059
  }
2056
- const Qe = /* @__PURE__ */ De(Zo, [["render", en]]);
2060
+ const et = /* @__PURE__ */ De(to, [["render", no]]);
2057
2061
  ({
2058
- ...Qe
2062
+ ...et
2059
2063
  });
2060
2064
  ({
2061
- ...Qe
2065
+ ...et
2062
2066
  });
2063
- const tn = {
2064
- ...Qe,
2067
+ const oo = {
2068
+ ...et,
2065
2069
  name: "VTooltip",
2066
2070
  vPopperTheme: "tooltip"
2067
- }, on = Ee({
2071
+ }, io = Re({
2068
2072
  name: "VTooltipDirective",
2069
2073
  components: {
2070
2074
  Popper: Dt(),
2071
- PopperContent: Bt
2075
+ PopperContent: Ft
2072
2076
  },
2073
2077
  mixins: [
2074
- It
2078
+ Wt
2075
2079
  ],
2076
2080
  inheritAttrs: !1,
2077
2081
  props: {
@@ -2081,7 +2085,7 @@ const tn = {
2081
2085
  },
2082
2086
  html: {
2083
2087
  type: Boolean,
2084
- default: (e) => Ne(e.theme, "html")
2088
+ default: (e) => ze(e.theme, "html")
2085
2089
  },
2086
2090
  content: {
2087
2091
  type: [String, Number, Function],
@@ -2089,7 +2093,7 @@ const tn = {
2089
2093
  },
2090
2094
  loadingContent: {
2091
2095
  type: String,
2092
- default: (e) => Ne(e.theme, "loadingContent")
2096
+ default: (e) => ze(e.theme, "loadingContent")
2093
2097
  },
2094
2098
  targetNodes: {
2095
2099
  type: Function,
@@ -2130,8 +2134,8 @@ const tn = {
2130
2134
  fetchContent(e) {
2131
2135
  if (typeof this.content == "function" && this.$_isShown && (e || !this.$_loading && this.asyncContent == null)) {
2132
2136
  this.asyncContent = null, this.$_loading = !0;
2133
- const t = ++this.$_fetchId, o = this.content(this);
2134
- o.then ? o.then((n) => this.onResult(t, n)) : this.onResult(t, o);
2137
+ const t = ++this.$_fetchId, n = this.content(this);
2138
+ n.then ? n.then((o) => this.onResult(t, o)) : this.onResult(t, n);
2135
2139
  }
2136
2140
  },
2137
2141
  onResult(e, t) {
@@ -2144,23 +2148,23 @@ const tn = {
2144
2148
  this.$_isShown = !1;
2145
2149
  }
2146
2150
  }
2147
- }), nn = ["innerHTML"], sn = ["textContent"];
2148
- function rn(e, t, o, n, i, s) {
2149
- const r = fe("PopperContent"), l = fe("Popper");
2150
- return q(), ze(l, $t({ ref: "popper" }, e.$attrs, {
2151
+ }), so = ["innerHTML"], ro = ["textContent"];
2152
+ function lo(e, t, n, o, i, s) {
2153
+ const r = we("PopperContent"), l = we("Popper");
2154
+ return G(), Le(l, xt({ ref: "popper" }, e.$attrs, {
2151
2155
  theme: e.theme,
2152
2156
  "target-nodes": e.targetNodes,
2153
2157
  "popper-node": () => e.$refs.popperContent.$el,
2154
2158
  onApplyShow: e.onShow,
2155
2159
  onApplyHide: e.onHide
2156
2160
  }), {
2157
- default: Te(({
2158
- popperId: a,
2161
+ default: Ae(({
2162
+ popperId: c,
2159
2163
  isShown: d,
2160
- shouldMountContent: h,
2161
- skipTransition: p,
2162
- autoHide: u,
2163
- hide: c,
2164
+ shouldMountContent: a,
2165
+ skipTransition: u,
2166
+ autoHide: p,
2167
+ hide: h,
2164
2168
  handleResize: f,
2165
2169
  onResize: m,
2166
2170
  classes: w,
@@ -2168,29 +2172,29 @@ function rn(e, t, o, n, i, s) {
2168
2172
  }) => [
2169
2173
  _t(r, {
2170
2174
  ref: "popperContent",
2171
- class: Ye({
2175
+ class: Xe({
2172
2176
  "v-popper--tooltip-loading": e.loading
2173
2177
  }),
2174
- "popper-id": a,
2178
+ "popper-id": c,
2175
2179
  theme: e.theme,
2176
2180
  shown: d,
2177
- mounted: h,
2178
- "skip-transition": p,
2179
- "auto-hide": u,
2181
+ mounted: a,
2182
+ "skip-transition": u,
2183
+ "auto-hide": p,
2180
2184
  "handle-resize": f,
2181
2185
  classes: w,
2182
2186
  result: g,
2183
- onHide: c,
2187
+ onHide: h,
2184
2188
  onResize: m
2185
2189
  }, {
2186
- default: Te(() => [
2187
- e.html ? (q(), he("div", {
2190
+ default: Ae(() => [
2191
+ e.html ? (G(), ge("div", {
2188
2192
  key: 0,
2189
2193
  innerHTML: e.finalContent
2190
- }, null, 8, nn)) : (q(), he("div", {
2194
+ }, null, 8, so)) : (G(), ge("div", {
2191
2195
  key: 1,
2192
- textContent: oo(e.finalContent)
2193
- }, null, 8, sn))
2196
+ textContent: sn(e.finalContent)
2197
+ }, null, 8, ro))
2194
2198
  ]),
2195
2199
  _: 2
2196
2200
  }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
@@ -2198,32 +2202,32 @@ function rn(e, t, o, n, i, s) {
2198
2202
  _: 1
2199
2203
  }, 16, ["theme", "target-nodes", "popper-node", "onApplyShow", "onApplyHide"]);
2200
2204
  }
2201
- const ln = /* @__PURE__ */ De(on, [["render", rn]]), Ft = "v-popper--has-tooltip";
2202
- function an(e, t) {
2203
- let o = e.placement;
2204
- if (!o && t)
2205
- for (const n of Ht)
2206
- t[n] && (o = n);
2207
- return o || (o = Ne(e.theme || "tooltip", "placement")), o;
2205
+ const ao = /* @__PURE__ */ De(io, [["render", lo]]), jt = "v-popper--has-tooltip";
2206
+ function co(e, t) {
2207
+ let n = e.placement;
2208
+ if (!n && t)
2209
+ for (const o of kt)
2210
+ t[o] && (n = o);
2211
+ return n || (n = ze(e.theme || "tooltip", "placement")), n;
2208
2212
  }
2209
- function dn(e, t, o) {
2210
- let n;
2213
+ function uo(e, t, n) {
2214
+ let o;
2211
2215
  const i = typeof t;
2212
- return i === "string" ? n = { content: t } : t && i === "object" ? n = t : n = { content: !1 }, n.placement = an(n, o), n.targetNodes = () => [e], n.referenceNode = () => e, n;
2216
+ return i === "string" ? o = { content: t } : t && i === "object" ? o = t : o = { content: !1 }, o.placement = co(o, n), o.targetNodes = () => [e], o.referenceNode = () => e, o;
2213
2217
  }
2214
- let Fe, $e, cn = 0;
2215
- function un() {
2216
- if (Fe)
2218
+ let je, xe, po = 0;
2219
+ function ho() {
2220
+ if (je)
2217
2221
  return;
2218
- $e = z([]), Fe = eo({
2222
+ xe = z([]), je = nn({
2219
2223
  name: "VTooltipDirectiveApp",
2220
2224
  setup() {
2221
2225
  return {
2222
- directives: $e
2226
+ directives: xe
2223
2227
  };
2224
2228
  },
2225
2229
  render() {
2226
- return this.directives.map((t) => to(ln, {
2230
+ return this.directives.map((t) => on(ao, {
2227
2231
  ...t.options,
2228
2232
  shown: t.shown || t.options.shown,
2229
2233
  key: t.id
@@ -2234,17 +2238,17 @@ function un() {
2234
2238
  }
2235
2239
  });
2236
2240
  const e = document.createElement("div");
2237
- document.body.appendChild(e), Fe.mount(e);
2241
+ document.body.appendChild(e), je.mount(e);
2238
2242
  }
2239
- function pn(e, t, o) {
2240
- un();
2241
- const n = z(dn(e, t, o)), i = z(!1), s = {
2242
- id: cn++,
2243
- options: n,
2243
+ function fo(e, t, n) {
2244
+ ho();
2245
+ const o = z(uo(e, t, n)), i = z(!1), s = {
2246
+ id: po++,
2247
+ options: o,
2244
2248
  shown: i
2245
2249
  };
2246
- return $e.value.push(s), e.classList && e.classList.add(Ft), e.$_popper = {
2247
- options: n,
2250
+ return xe.value.push(s), e.classList && e.classList.add(jt), e.$_popper = {
2251
+ options: o,
2248
2252
  item: s,
2249
2253
  show() {
2250
2254
  i.value = !0;
@@ -2254,221 +2258,287 @@ function pn(e, t, o) {
2254
2258
  }
2255
2259
  };
2256
2260
  }
2257
- function hn(e) {
2261
+ function mo(e) {
2258
2262
  if (e.$_popper) {
2259
- const t = $e.value.indexOf(e.$_popper.item);
2260
- t !== -1 && $e.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2263
+ const t = xe.value.indexOf(e.$_popper.item);
2264
+ t !== -1 && xe.value.splice(t, 1), delete e.$_popper, delete e.$_popperOldShown, delete e.$_popperMountTarget;
2261
2265
  }
2262
- e.classList && e.classList.remove(Ft);
2266
+ e.classList && e.classList.remove(jt);
2263
2267
  }
2264
- const Cn = tn;
2265
- function Ze(e) {
2266
- return io() ? (so(e), !0) : !1;
2268
+ const No = oo;
2269
+ function tt(e) {
2270
+ return ln() ? (an(e), !0) : !1;
2267
2271
  }
2268
- function M(e) {
2269
- return typeof e == "function" ? e() : no(e);
2272
+ function L(e) {
2273
+ return typeof e == "function" ? e() : rn(e);
2270
2274
  }
2271
- const Wt = typeof window < "u" && typeof document < "u";
2275
+ const Vt = typeof window < "u" && typeof document < "u";
2272
2276
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2273
- const fn = (e) => typeof e < "u", mn = Object.prototype.toString, gn = (e) => mn.call(e) === "[object Object]", F = () => {
2274
- }, wn = /* @__PURE__ */ vn();
2275
- function vn() {
2277
+ const go = (e) => typeof e < "u", wo = Object.prototype.toString, vo = (e) => wo.call(e) === "[object Object]", I = () => {
2278
+ }, yo = /* @__PURE__ */ $o();
2279
+ function $o() {
2276
2280
  var e, t;
2277
- return Wt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
2281
+ return Vt && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
2278
2282
  }
2279
- function jt(e, t) {
2280
- function o(...n) {
2283
+ function qt(e, t) {
2284
+ function n(...o) {
2281
2285
  return new Promise((i, s) => {
2282
- Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(i).catch(s);
2286
+ Promise.resolve(e(() => t.apply(this, o), { fn: t, thisArg: this, args: o })).then(i).catch(s);
2283
2287
  });
2284
2288
  }
2285
- return o;
2289
+ return n;
2286
2290
  }
2287
- function yn(e, t = {}) {
2288
- let o, n, i = F;
2291
+ function bo(e, t = {}) {
2292
+ let n, o, i = I;
2289
2293
  const s = (l) => {
2290
- clearTimeout(l), i(), i = F;
2294
+ clearTimeout(l), i(), i = I;
2291
2295
  };
2292
2296
  return (l) => {
2293
- const a = M(e), d = M(t.maxWait);
2294
- return o && s(o), a <= 0 || d !== void 0 && d <= 0 ? (n && (s(n), n = null), Promise.resolve(l())) : new Promise((h, p) => {
2295
- i = t.rejectOnCancel ? p : h, d && !n && (n = setTimeout(() => {
2296
- o && s(o), n = null, h(l());
2297
- }, d)), o = setTimeout(() => {
2298
- n && s(n), n = null, h(l());
2299
- }, a);
2297
+ const c = L(e), d = L(t.maxWait);
2298
+ return n && s(n), c <= 0 || d !== void 0 && d <= 0 ? (o && (s(o), o = null), Promise.resolve(l())) : new Promise((a, u) => {
2299
+ i = t.rejectOnCancel ? u : a, d && !o && (o = setTimeout(() => {
2300
+ n && s(n), o = null, a(l());
2301
+ }, d)), n = setTimeout(() => {
2302
+ o && s(o), o = null, a(l());
2303
+ }, c);
2300
2304
  });
2301
2305
  };
2302
2306
  }
2303
- function $n(...e) {
2304
- let t = 0, o, n = !0, i = F, s, r, l, a, d;
2305
- !ro(e[0]) && typeof e[0] == "object" ? { delay: r, trailing: l = !0, leading: a = !0, rejectOnCancel: d = !1 } = e[0] : [r, l = !0, a = !0, d = !1] = e;
2306
- const h = () => {
2307
- o && (clearTimeout(o), o = void 0, i(), i = F);
2307
+ function xo(...e) {
2308
+ let t = 0, n, o = !0, i = I, s, r, l, c, d;
2309
+ !dn(e[0]) && typeof e[0] == "object" ? { delay: r, trailing: l = !0, leading: c = !0, rejectOnCancel: d = !1 } = e[0] : [r, l = !0, c = !0, d = !1] = e;
2310
+ const a = () => {
2311
+ n && (clearTimeout(n), n = void 0, i(), i = I);
2308
2312
  };
2309
- return (u) => {
2310
- const c = M(r), f = Date.now() - t, m = () => s = u();
2311
- return h(), c <= 0 ? (t = Date.now(), m()) : (f > c && (a || !n) ? (t = Date.now(), m()) : l && (s = new Promise((w, g) => {
2312
- i = d ? g : w, o = setTimeout(() => {
2313
- t = Date.now(), n = !0, w(m()), h();
2314
- }, Math.max(0, c - f));
2315
- })), !a && !o && (o = setTimeout(() => n = !0, c)), n = !1, s);
2313
+ return (p) => {
2314
+ const h = L(r), f = Date.now() - t, m = () => s = p();
2315
+ return a(), h <= 0 ? (t = Date.now(), m()) : (f > h && (c || !o) ? (t = Date.now(), m()) : l && (s = new Promise((w, g) => {
2316
+ i = d ? g : w, n = setTimeout(() => {
2317
+ t = Date.now(), o = !0, w(m()), a();
2318
+ }, Math.max(0, h - f));
2319
+ })), !c && !n && (n = setTimeout(() => o = !0, h)), o = !1, s);
2316
2320
  };
2317
2321
  }
2318
- const On = {
2322
+ const Eo = {
2319
2323
  mounted: "mounted",
2320
2324
  updated: "updated",
2321
2325
  unmounted: "unmounted"
2322
2326
  };
2323
- function _n(e) {
2324
- return e || Ue();
2327
+ function _o(e, t) {
2328
+ var n;
2329
+ if (typeof e == "number")
2330
+ return e + t;
2331
+ const o = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", i = e.slice(o.length), s = Number.parseFloat(o) + t;
2332
+ return Number.isNaN(s) ? e : s + i;
2333
+ }
2334
+ function So(e) {
2335
+ return e || Ke();
2325
2336
  }
2326
- function Nn(...e) {
2337
+ function zo(...e) {
2327
2338
  if (e.length !== 1)
2328
- return lo(...e);
2339
+ return cn(...e);
2329
2340
  const t = e[0];
2330
- return typeof t == "function" ? ao(co(() => ({ get: t, set: F }))) : z(t);
2341
+ return typeof t == "function" ? un(pn(() => ({ get: t, set: I }))) : z(t);
2331
2342
  }
2332
- function bn(e, t = 200, o = {}) {
2333
- return jt(
2334
- yn(t, o),
2343
+ function To(e, t = 200, n = {}) {
2344
+ return qt(
2345
+ bo(t, n),
2335
2346
  e
2336
2347
  );
2337
2348
  }
2338
- function xn(e, t = 200, o = !1, n = !0, i = !1) {
2339
- return jt(
2340
- $n(t, o, n, i),
2349
+ function Po(e, t = 200, n = !1, o = !0, i = !1) {
2350
+ return qt(
2351
+ xo(t, n, o, i),
2341
2352
  e
2342
2353
  );
2343
2354
  }
2344
- function Vt(e, t = !0, o) {
2345
- _n() ? bt(e, o) : t ? e() : Ge(e);
2355
+ function Gt(e, t = !0, n) {
2356
+ So() ? St(e, n) : t ? e() : Ue(e);
2346
2357
  }
2347
- function K(e) {
2358
+ function J(e) {
2348
2359
  var t;
2349
- const o = M(e);
2350
- return (t = o == null ? void 0 : o.$el) != null ? t : o;
2351
- }
2352
- const ae = Wt ? window : void 0;
2353
- function B(...e) {
2354
- let t, o, n, i;
2355
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, n, i] = e, t = ae) : [t, o, n, i] = e, !t)
2356
- return F;
2357
- Array.isArray(o) || (o = [o]), Array.isArray(n) || (n = [n]);
2360
+ const n = L(e);
2361
+ return (t = n == null ? void 0 : n.$el) != null ? t : n;
2362
+ }
2363
+ const ae = Vt ? window : void 0;
2364
+ function D(...e) {
2365
+ let t, n, o, i;
2366
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, i] = e, t = ae) : [t, n, o, i] = e, !t)
2367
+ return I;
2368
+ Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
2358
2369
  const s = [], r = () => {
2359
- s.forEach((h) => h()), s.length = 0;
2360
- }, l = (h, p, u, c) => (h.addEventListener(p, u, c), () => h.removeEventListener(p, u, c)), a = ge(
2361
- () => [K(t), M(i)],
2362
- ([h, p]) => {
2363
- if (r(), !h)
2370
+ s.forEach((a) => a()), s.length = 0;
2371
+ }, l = (a, u, p, h) => (a.addEventListener(u, p, h), () => a.removeEventListener(u, p, h)), c = ve(
2372
+ () => [J(t), L(i)],
2373
+ ([a, u]) => {
2374
+ if (r(), !a)
2364
2375
  return;
2365
- const u = gn(p) ? { ...p } : p;
2376
+ const p = vo(u) ? { ...u } : u;
2366
2377
  s.push(
2367
- ...o.flatMap((c) => n.map((f) => l(h, c, f, u)))
2378
+ ...n.flatMap((h) => o.map((f) => l(a, h, f, p)))
2368
2379
  );
2369
2380
  },
2370
2381
  { immediate: !0, flush: "post" }
2371
2382
  ), d = () => {
2372
- a(), r();
2383
+ c(), r();
2373
2384
  };
2374
- return Ze(d), d;
2375
- }
2376
- let vt = !1;
2377
- function En(e, t, o = {}) {
2378
- const { window: n = ae, ignore: i = [], capture: s = !0, detectIframe: r = !1 } = o;
2379
- if (!n)
2380
- return F;
2381
- wn && !vt && (vt = !0, Array.from(n.document.body.children).forEach((u) => u.addEventListener("click", F)), n.document.documentElement.addEventListener("click", F));
2385
+ return tt(d), d;
2386
+ }
2387
+ let $t = !1;
2388
+ function Ro(e, t, n = {}) {
2389
+ const { window: o = ae, ignore: i = [], capture: s = !0, detectIframe: r = !1 } = n;
2390
+ if (!o)
2391
+ return I;
2392
+ yo && !$t && ($t = !0, Array.from(o.document.body.children).forEach((p) => p.addEventListener("click", I)), o.document.documentElement.addEventListener("click", I));
2382
2393
  let l = !0;
2383
- const a = (u) => i.some((c) => {
2384
- if (typeof c == "string")
2385
- return Array.from(n.document.querySelectorAll(c)).some((f) => f === u.target || u.composedPath().includes(f));
2394
+ const c = (p) => i.some((h) => {
2395
+ if (typeof h == "string")
2396
+ return Array.from(o.document.querySelectorAll(h)).some((f) => f === p.target || p.composedPath().includes(f));
2386
2397
  {
2387
- const f = K(c);
2388
- return f && (u.target === f || u.composedPath().includes(f));
2398
+ const f = J(h);
2399
+ return f && (p.target === f || p.composedPath().includes(f));
2389
2400
  }
2390
- }), h = [
2391
- B(n, "click", (u) => {
2392
- const c = K(e);
2393
- if (!(!c || c === u.target || u.composedPath().includes(c))) {
2394
- if (u.detail === 0 && (l = !a(u)), !l) {
2401
+ }), a = [
2402
+ D(o, "click", (p) => {
2403
+ const h = J(e);
2404
+ if (!(!h || h === p.target || p.composedPath().includes(h))) {
2405
+ if (p.detail === 0 && (l = !c(p)), !l) {
2395
2406
  l = !0;
2396
2407
  return;
2397
2408
  }
2398
- t(u);
2409
+ t(p);
2399
2410
  }
2400
2411
  }, { passive: !0, capture: s }),
2401
- B(n, "pointerdown", (u) => {
2402
- const c = K(e);
2403
- l = !a(u) && !!(c && !u.composedPath().includes(c));
2412
+ D(o, "pointerdown", (p) => {
2413
+ const h = J(e);
2414
+ l = !c(p) && !!(h && !p.composedPath().includes(h));
2404
2415
  }, { passive: !0 }),
2405
- r && B(n, "blur", (u) => {
2416
+ r && D(o, "blur", (p) => {
2406
2417
  setTimeout(() => {
2407
- var c;
2408
- const f = K(e);
2409
- ((c = n.document.activeElement) == null ? void 0 : c.tagName) === "IFRAME" && !(f != null && f.contains(n.document.activeElement)) && t(u);
2418
+ var h;
2419
+ const f = J(e);
2420
+ ((h = o.document.activeElement) == null ? void 0 : h.tagName) === "IFRAME" && !(f != null && f.contains(o.document.activeElement)) && t(p);
2410
2421
  }, 0);
2411
2422
  })
2412
2423
  ].filter(Boolean);
2413
- return () => h.forEach((u) => u());
2424
+ return () => a.forEach((p) => p());
2414
2425
  }
2415
- function Sn() {
2416
- const e = z(!1), t = Ue();
2417
- return t && bt(() => {
2426
+ function Ao() {
2427
+ const e = z(!1), t = Ke();
2428
+ return t && St(() => {
2418
2429
  e.value = !0;
2419
2430
  }, t), e;
2420
2431
  }
2421
- function qt(e) {
2422
- const t = Sn();
2423
- return me(() => (t.value, !!e()));
2432
+ function Yt(e) {
2433
+ const t = Ao();
2434
+ return re(() => (t.value, !!e()));
2424
2435
  }
2425
- function Tn(e, t = {}) {
2426
- const { window: o = ae } = t, n = qt(() => o && "matchMedia" in o && typeof o.matchMedia == "function");
2436
+ function de(e, t = {}) {
2437
+ const { window: n = ae } = t, o = Yt(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
2427
2438
  let i;
2428
2439
  const s = z(!1), r = (d) => {
2429
2440
  s.value = d.matches;
2430
2441
  }, l = () => {
2431
2442
  i && ("removeEventListener" in i ? i.removeEventListener("change", r) : i.removeListener(r));
2432
- }, a = uo(() => {
2433
- n.value && (l(), i = o.matchMedia(M(e)), "addEventListener" in i ? i.addEventListener("change", r) : i.addListener(r), s.value = i.matches);
2443
+ }, c = hn(() => {
2444
+ o.value && (l(), i = n.matchMedia(L(e)), "addEventListener" in i ? i.addEventListener("change", r) : i.addListener(r), s.value = i.matches);
2434
2445
  });
2435
- return Ze(() => {
2436
- a(), l(), i = void 0;
2446
+ return tt(() => {
2447
+ c(), l(), i = void 0;
2437
2448
  }), s;
2438
2449
  }
2439
- function Pn(e) {
2450
+ const Lo = {
2451
+ sm: 640,
2452
+ md: 768,
2453
+ lg: 1024,
2454
+ xl: 1280,
2455
+ "2xl": 1536
2456
+ };
2457
+ function Mo(e, t = {}) {
2458
+ function n(a, u) {
2459
+ let p = L(e[L(a)]);
2460
+ return u != null && (p = _o(p, u)), typeof p == "number" && (p = `${p}px`), p;
2461
+ }
2462
+ const { window: o = ae, strategy: i = "min-width" } = t;
2463
+ function s(a) {
2464
+ return o ? o.matchMedia(a).matches : !1;
2465
+ }
2466
+ const r = (a) => de(() => `(min-width: ${n(a)})`, t), l = (a) => de(() => `(max-width: ${n(a)})`, t), c = Object.keys(e).reduce((a, u) => (Object.defineProperty(a, u, {
2467
+ get: () => i === "min-width" ? r(u) : l(u),
2468
+ enumerable: !0,
2469
+ configurable: !0
2470
+ }), a), {});
2471
+ function d() {
2472
+ const a = Object.keys(e).map((u) => [u, r(u)]);
2473
+ return re(() => a.filter(([, u]) => u.value).map(([u]) => u));
2474
+ }
2475
+ return Object.assign(c, {
2476
+ greaterOrEqual: r,
2477
+ smallerOrEqual: l,
2478
+ greater(a) {
2479
+ return de(() => `(min-width: ${n(a, 0.1)})`, t);
2480
+ },
2481
+ smaller(a) {
2482
+ return de(() => `(max-width: ${n(a, -0.1)})`, t);
2483
+ },
2484
+ between(a, u) {
2485
+ return de(() => `(min-width: ${n(a)}) and (max-width: ${n(u, -0.1)})`, t);
2486
+ },
2487
+ isGreater(a) {
2488
+ return s(`(min-width: ${n(a, 0.1)})`);
2489
+ },
2490
+ isGreaterOrEqual(a) {
2491
+ return s(`(min-width: ${n(a)})`);
2492
+ },
2493
+ isSmaller(a) {
2494
+ return s(`(max-width: ${n(a, -0.1)})`);
2495
+ },
2496
+ isSmallerOrEqual(a) {
2497
+ return s(`(max-width: ${n(a)})`);
2498
+ },
2499
+ isInBetween(a, u) {
2500
+ return s(`(min-width: ${n(a)}) and (max-width: ${n(u, -0.1)})`);
2501
+ },
2502
+ current: d,
2503
+ active() {
2504
+ const a = d();
2505
+ return re(() => a.value.length === 0 ? "" : a.value.at(-1));
2506
+ }
2507
+ });
2508
+ }
2509
+ function Co(e) {
2440
2510
  return JSON.parse(JSON.stringify(e));
2441
2511
  }
2442
- function zn(e, t, o = {}) {
2443
- const { window: n = ae, ...i } = o;
2512
+ function Ho(e, t, n = {}) {
2513
+ const { window: o = ae, ...i } = n;
2444
2514
  let s;
2445
- const r = qt(() => n && "ResizeObserver" in n), l = () => {
2515
+ const r = Yt(() => o && "ResizeObserver" in o), l = () => {
2446
2516
  s && (s.disconnect(), s = void 0);
2447
- }, a = me(() => Array.isArray(e) ? e.map((p) => K(p)) : [K(e)]), d = ge(
2448
- a,
2449
- (p) => {
2450
- if (l(), r.value && n) {
2517
+ }, c = re(() => Array.isArray(e) ? e.map((u) => J(u)) : [J(e)]), d = ve(
2518
+ c,
2519
+ (u) => {
2520
+ if (l(), r.value && o) {
2451
2521
  s = new ResizeObserver(t);
2452
- for (const u of p)
2453
- u && s.observe(u, i);
2522
+ for (const p of u)
2523
+ p && s.observe(p, i);
2454
2524
  }
2455
2525
  },
2456
2526
  { immediate: !0, flush: "post" }
2457
- ), h = () => {
2527
+ ), a = () => {
2458
2528
  l(), d();
2459
2529
  };
2460
- return Ze(h), {
2530
+ return tt(a), {
2461
2531
  isSupported: r,
2462
- stop: h
2532
+ stop: a
2463
2533
  };
2464
2534
  }
2465
- const yt = 1;
2466
- function Rn(e, t = {}) {
2535
+ const bt = 1;
2536
+ function ko(e, t = {}) {
2467
2537
  const {
2468
- throttle: o = 0,
2469
- idle: n = 200,
2470
- onStop: i = F,
2471
- onScroll: s = F,
2538
+ throttle: n = 0,
2539
+ idle: o = 200,
2540
+ onStop: i = I,
2541
+ onScroll: s = I,
2472
2542
  offset: r = {
2473
2543
  left: 0,
2474
2544
  right: 0,
@@ -2479,135 +2549,135 @@ function Rn(e, t = {}) {
2479
2549
  capture: !1,
2480
2550
  passive: !0
2481
2551
  },
2482
- behavior: a = "auto",
2552
+ behavior: c = "auto",
2483
2553
  window: d = ae,
2484
- onError: h = (y) => {
2554
+ onError: a = (y) => {
2485
2555
  console.error(y);
2486
2556
  }
2487
- } = t, p = z(0), u = z(0), c = me({
2557
+ } = t, u = z(0), p = z(0), h = re({
2488
2558
  get() {
2489
- return p.value;
2559
+ return u.value;
2490
2560
  },
2491
2561
  set(y) {
2492
2562
  m(y, void 0);
2493
2563
  }
2494
- }), f = me({
2564
+ }), f = re({
2495
2565
  get() {
2496
- return u.value;
2566
+ return p.value;
2497
2567
  },
2498
2568
  set(y) {
2499
2569
  m(void 0, y);
2500
2570
  }
2501
2571
  });
2502
2572
  function m(y, E) {
2503
- var S, x, O, A;
2573
+ var S, _, C, A;
2504
2574
  if (!d)
2505
2575
  return;
2506
- const P = M(e);
2576
+ const P = L(e);
2507
2577
  if (!P)
2508
2578
  return;
2509
- (O = P instanceof Document ? d.document.body : P) == null || O.scrollTo({
2510
- top: (S = M(E)) != null ? S : f.value,
2511
- left: (x = M(y)) != null ? x : c.value,
2512
- behavior: M(a)
2579
+ (C = P instanceof Document ? d.document.body : P) == null || C.scrollTo({
2580
+ top: (S = L(E)) != null ? S : f.value,
2581
+ left: (_ = L(y)) != null ? _ : h.value,
2582
+ behavior: L(c)
2513
2583
  });
2514
- const C = ((A = P == null ? void 0 : P.document) == null ? void 0 : A.documentElement) || (P == null ? void 0 : P.documentElement) || P;
2515
- c != null && (p.value = C.scrollLeft), f != null && (u.value = C.scrollTop);
2584
+ const R = ((A = P == null ? void 0 : P.document) == null ? void 0 : A.documentElement) || (P == null ? void 0 : P.documentElement) || P;
2585
+ h != null && (u.value = R.scrollLeft), f != null && (p.value = R.scrollTop);
2516
2586
  }
2517
- const w = z(!1), g = tt({
2587
+ const w = z(!1), g = ot({
2518
2588
  left: !0,
2519
2589
  right: !1,
2520
2590
  top: !0,
2521
2591
  bottom: !1
2522
- }), v = tt({
2592
+ }), v = ot({
2523
2593
  left: !1,
2524
2594
  right: !1,
2525
2595
  top: !1,
2526
2596
  bottom: !1
2527
2597
  }), $ = (y) => {
2528
2598
  w.value && (w.value = !1, v.left = !1, v.right = !1, v.top = !1, v.bottom = !1, i(y));
2529
- }, T = bn($, o + n), b = (y) => {
2599
+ }, T = To($, n + o), x = (y) => {
2530
2600
  var E;
2531
2601
  if (!d)
2532
2602
  return;
2533
- const S = ((E = y == null ? void 0 : y.document) == null ? void 0 : E.documentElement) || (y == null ? void 0 : y.documentElement) || K(y), { display: x, flexDirection: O } = getComputedStyle(S), A = S.scrollLeft;
2534
- v.left = A < p.value, v.right = A > p.value;
2535
- const P = Math.abs(A) <= (r.left || 0), C = Math.abs(A) + S.clientWidth >= S.scrollWidth - (r.right || 0) - yt;
2536
- x === "flex" && O === "row-reverse" ? (g.left = C, g.right = P) : (g.left = P, g.right = C), p.value = A;
2537
- let R = S.scrollTop;
2538
- y === d.document && !R && (R = d.document.body.scrollTop), v.top = R < u.value, v.bottom = R > u.value;
2539
- const D = Math.abs(R) <= (r.top || 0), L = Math.abs(R) + S.clientHeight >= S.scrollHeight - (r.bottom || 0) - yt;
2540
- x === "flex" && O === "column-reverse" ? (g.top = L, g.bottom = D) : (g.top = D, g.bottom = L), u.value = R;
2541
- }, N = (y) => {
2603
+ const S = ((E = y == null ? void 0 : y.document) == null ? void 0 : E.documentElement) || (y == null ? void 0 : y.documentElement) || J(y), { display: _, flexDirection: C } = getComputedStyle(S), A = S.scrollLeft;
2604
+ v.left = A < u.value, v.right = A > u.value;
2605
+ const P = Math.abs(A) <= (r.left || 0), R = Math.abs(A) + S.clientWidth >= S.scrollWidth - (r.right || 0) - bt;
2606
+ _ === "flex" && C === "row-reverse" ? (g.left = R, g.right = P) : (g.left = P, g.right = R), u.value = A;
2607
+ let N = S.scrollTop;
2608
+ y === d.document && !N && (N = d.document.body.scrollTop), v.top = N < p.value, v.bottom = N > p.value;
2609
+ const F = Math.abs(N) <= (r.top || 0), H = Math.abs(N) + S.clientHeight >= S.scrollHeight - (r.bottom || 0) - bt;
2610
+ _ === "flex" && C === "column-reverse" ? (g.top = H, g.bottom = F) : (g.top = F, g.bottom = H), p.value = N;
2611
+ }, O = (y) => {
2542
2612
  var E;
2543
2613
  if (!d)
2544
2614
  return;
2545
2615
  const S = (E = y.target.documentElement) != null ? E : y.target;
2546
- b(S), w.value = !0, T(y), s(y);
2616
+ x(S), w.value = !0, T(y), s(y);
2547
2617
  };
2548
- return B(
2618
+ return D(
2549
2619
  e,
2550
2620
  "scroll",
2551
- o ? xn(N, o, !0, !1) : N,
2621
+ n ? Po(O, n, !0, !1) : O,
2552
2622
  l
2553
- ), Vt(() => {
2623
+ ), Gt(() => {
2554
2624
  try {
2555
- const y = M(e);
2625
+ const y = L(e);
2556
2626
  if (!y)
2557
2627
  return;
2558
- b(y);
2628
+ x(y);
2559
2629
  } catch (y) {
2560
- h(y);
2630
+ a(y);
2561
2631
  }
2562
- }), B(
2632
+ }), D(
2563
2633
  e,
2564
2634
  "scrollend",
2565
2635
  $,
2566
2636
  l
2567
2637
  ), {
2568
- x: c,
2638
+ x: h,
2569
2639
  y: f,
2570
2640
  isScrolling: w,
2571
2641
  arrivedState: g,
2572
2642
  directions: v,
2573
2643
  measure() {
2574
- const y = M(e);
2575
- d && y && b(y);
2644
+ const y = L(e);
2645
+ d && y && x(y);
2576
2646
  }
2577
2647
  };
2578
2648
  }
2579
- function Ln(e, t, o, n = {}) {
2649
+ function Do(e, t, n, o = {}) {
2580
2650
  var i, s, r;
2581
2651
  const {
2582
2652
  clone: l = !1,
2583
- passive: a = !1,
2653
+ passive: c = !1,
2584
2654
  eventName: d,
2585
- deep: h = !1,
2586
- defaultValue: p,
2587
- shouldEmit: u
2588
- } = n, c = Ue(), f = o || (c == null ? void 0 : c.emit) || ((i = c == null ? void 0 : c.$emit) == null ? void 0 : i.bind(c)) || ((r = (s = c == null ? void 0 : c.proxy) == null ? void 0 : s.$emit) == null ? void 0 : r.bind(c == null ? void 0 : c.proxy));
2655
+ deep: a = !1,
2656
+ defaultValue: u,
2657
+ shouldEmit: p
2658
+ } = o, h = Ke(), f = n || (h == null ? void 0 : h.emit) || ((i = h == null ? void 0 : h.$emit) == null ? void 0 : i.bind(h)) || ((r = (s = h == null ? void 0 : h.proxy) == null ? void 0 : s.$emit) == null ? void 0 : r.bind(h == null ? void 0 : h.proxy));
2589
2659
  let m = d;
2590
2660
  t || (t = "modelValue"), m = m || `update:${t.toString()}`;
2591
- const w = ($) => l ? typeof l == "function" ? l($) : Pn($) : $, g = () => fn(e[t]) ? w(e[t]) : p, v = ($) => {
2592
- u ? u($) && f(m, $) : f(m, $);
2661
+ const w = ($) => l ? typeof l == "function" ? l($) : Co($) : $, g = () => go(e[t]) ? w(e[t]) : u, v = ($) => {
2662
+ p ? p($) && f(m, $) : f(m, $);
2593
2663
  };
2594
- if (a) {
2664
+ if (c) {
2595
2665
  const $ = g(), T = z($);
2596
- let b = !1;
2597
- return ge(
2666
+ let x = !1;
2667
+ return ve(
2598
2668
  () => e[t],
2599
- (N) => {
2600
- b || (b = !0, T.value = w(N), Ge(() => b = !1));
2669
+ (O) => {
2670
+ x || (x = !0, T.value = w(O), Ue(() => x = !1));
2601
2671
  }
2602
- ), ge(
2672
+ ), ve(
2603
2673
  T,
2604
- (N) => {
2605
- !b && (N !== e[t] || h) && v(N);
2674
+ (O) => {
2675
+ !x && (O !== e[t] || a) && v(O);
2606
2676
  },
2607
- { deep: h }
2677
+ { deep: a }
2608
2678
  ), T;
2609
2679
  } else
2610
- return me({
2680
+ return re({
2611
2681
  get() {
2612
2682
  return g();
2613
2683
  },
@@ -2616,29 +2686,29 @@ function Ln(e, t, o, n = {}) {
2616
2686
  }
2617
2687
  });
2618
2688
  }
2619
- function Hn(e = {}) {
2689
+ function Bo(e = {}) {
2620
2690
  const {
2621
2691
  window: t = ae,
2622
- initialWidth: o = Number.POSITIVE_INFINITY,
2623
- initialHeight: n = Number.POSITIVE_INFINITY,
2692
+ initialWidth: n = Number.POSITIVE_INFINITY,
2693
+ initialHeight: o = Number.POSITIVE_INFINITY,
2624
2694
  listenOrientation: i = !0,
2625
2695
  includeScrollbar: s = !0
2626
- } = e, r = z(o), l = z(n), a = () => {
2696
+ } = e, r = z(n), l = z(o), c = () => {
2627
2697
  t && (s ? (r.value = t.innerWidth, l.value = t.innerHeight) : (r.value = t.document.documentElement.clientWidth, l.value = t.document.documentElement.clientHeight));
2628
2698
  };
2629
- if (a(), Vt(a), B("resize", a, { passive: !0 }), i) {
2630
- const d = Tn("(orientation: portrait)");
2631
- ge(d, () => a());
2699
+ if (c(), Gt(c), D("resize", c, { passive: !0 }), i) {
2700
+ const d = de("(orientation: portrait)");
2701
+ ve(d, () => c());
2632
2702
  }
2633
2703
  return { width: r, height: l };
2634
2704
  }
2635
- function Dn(e = 5e3) {
2705
+ function Io(e = 5e3) {
2636
2706
  const t = z([]);
2637
- let o = 1;
2707
+ let n = 1;
2638
2708
  return {
2639
2709
  notifications: t,
2640
2710
  addNotification: (s) => {
2641
- const r = { ...s, id: o++ };
2711
+ const r = { ...s, id: n++ };
2642
2712
  t.value.push(r), setTimeout(() => {
2643
2713
  const l = t.value.indexOf(r);
2644
2714
  l !== -1 && t.value.splice(l, 1);
@@ -2652,43 +2722,43 @@ function Dn(e = 5e3) {
2652
2722
  }
2653
2723
  };
2654
2724
  }
2655
- function Mn() {
2725
+ function Fo() {
2656
2726
  const e = z(0);
2657
2727
  return {
2658
2728
  tabIndex: e,
2659
- updateTabIndex: (o) => {
2660
- e.value = o;
2729
+ updateTabIndex: (n) => {
2730
+ e.value = n;
2661
2731
  }
2662
2732
  };
2663
2733
  }
2664
- function kn() {
2665
- const e = (i) => new Promise((s) => setTimeout(s, i)), o = "RN-ui-tool-chip";
2734
+ function Wo() {
2735
+ const e = (i) => new Promise((s) => setTimeout(s, i)), n = "RN-ui-tool-chip";
2666
2736
  return {
2667
- hideAllPoppers: ko,
2737
+ hideAllPoppers: In,
2668
2738
  showPopper: ({
2669
2739
  name: i,
2670
2740
  element: s,
2671
2741
  message: r,
2672
2742
  placement: l = "auto",
2673
- hasDone: a = !0,
2743
+ hasDone: c = !0,
2674
2744
  timeout: d = 5e3,
2675
- autoHideOnUserInteraction: h = !0,
2676
- displayOnce: p = !1,
2677
- strategy: u = "absolute"
2745
+ autoHideOnUserInteraction: a = !0,
2746
+ displayOnce: u = !1,
2747
+ strategy: p = "absolute"
2678
2748
  }) => {
2679
- const c = pn(
2749
+ const h = fo(
2680
2750
  s,
2681
2751
  {
2682
2752
  triggers: [],
2683
2753
  theme: "tooltip",
2684
2754
  placement: l,
2685
2755
  shiftCrossAxis: !0,
2686
- strategy: u,
2756
+ strategy: p,
2687
2757
  content: `
2688
- <div id="${i}" class="${o}">
2689
- <div class="${o}-content">
2690
- <div><span class="${o}-text RN-text--size-body">${r}</span></div>
2691
- ${a ? `<button class="${o}-done" id="${i}-done">OK</button>` : ""}
2758
+ <div id="${i}" class="${n}">
2759
+ <div class="${n}-content">
2760
+ <div><span class="${n}-text RN-text--size-body">${r}</span></div>
2761
+ ${c ? `<button class="${n}-done" id="${i}-done">OK</button>` : ""}
2692
2762
  </div>
2693
2763
  </div>
2694
2764
  `,
@@ -2697,65 +2767,67 @@ function kn() {
2697
2767
  null
2698
2768
  ), f = () => {
2699
2769
  const w = `tooltip-shown-${i}`;
2700
- localStorage.getItem(w) || c.show();
2770
+ localStorage.getItem(w) || h.show();
2701
2771
  }, m = async () => {
2702
- if (p) {
2772
+ if (u) {
2703
2773
  const w = `tooltip-shown-${i}`;
2704
2774
  localStorage.setItem(w, "true");
2705
2775
  }
2706
- c.hide(), await e(100), hn(s);
2776
+ h.hide(), await e(100), mo(s);
2707
2777
  };
2708
2778
  f(), setTimeout(() => {
2709
- B(
2779
+ D(
2710
2780
  document.getElementById(`${i}-done`),
2711
2781
  "click",
2712
2782
  m
2713
- ), h && (B(document, "click", m), B(document, "touchmove", m), B(document, "scroll", m), B(window, "scroll", m));
2783
+ ), a && (D(document, "click", m), D(document, "touchmove", m), D(document, "scroll", m), D(window, "scroll", m));
2714
2784
  }, 500), d != null && setTimeout(m, d);
2715
2785
  }
2716
2786
  };
2717
2787
  }
2718
- function Bn() {
2719
- const e = z(""), t = z(!1), o = z(""), n = z(() => {
2720
- }), i = ({ _title: l = "", _content: a = "", _confirmHandler: d = () => {
2788
+ function jo() {
2789
+ const e = z(""), t = z(!1), n = z(""), o = z(() => {
2790
+ }), i = ({ _title: l = "", _content: c = "", _confirmHandler: d = () => {
2721
2791
  } }) => {
2722
- e.value = l, o.value = a, n.value = d, t.value = !0;
2792
+ e.value = l, n.value = c, o.value = d, t.value = !0;
2723
2793
  }, s = () => {
2724
- t.value = !1, e.value = "", o.value = "", n.value = () => {
2794
+ t.value = !1, e.value = "", n.value = "", o.value = () => {
2725
2795
  };
2726
2796
  };
2727
2797
  return {
2728
2798
  visible: t,
2729
2799
  title: e,
2730
- content: o,
2731
- confirmHandler: n,
2800
+ content: n,
2801
+ confirmHandler: o,
2732
2802
  show: i,
2733
2803
  hide: s,
2734
2804
  confirm: () => {
2735
- n.value(), s();
2805
+ o.value(), s();
2736
2806
  }
2737
2807
  };
2738
2808
  }
2739
2809
  export {
2740
- Cn as W,
2741
- xn as a,
2742
- Vt as b,
2743
- Ze as c,
2744
- On as d,
2745
- Nn as e,
2746
- Wt as f,
2747
- wn as g,
2748
- Ln as h,
2749
- gn as i,
2750
- Rn as j,
2751
- Hn as k,
2752
- zn as l,
2753
- Dn as m,
2754
- F as n,
2755
- En as o,
2756
- Mn as p,
2757
- kn as q,
2758
- Bn as r,
2759
- M as t,
2760
- bn as u
2810
+ No as W,
2811
+ To as a,
2812
+ Lo as b,
2813
+ Po as c,
2814
+ Eo as d,
2815
+ Gt as e,
2816
+ tt as f,
2817
+ zo as g,
2818
+ Vt as h,
2819
+ vo as i,
2820
+ yo as j,
2821
+ Do as k,
2822
+ ko as l,
2823
+ Bo as m,
2824
+ I as n,
2825
+ Ro as o,
2826
+ Ho as p,
2827
+ Io as q,
2828
+ Fo as r,
2829
+ Wo as s,
2830
+ L as t,
2831
+ Mo as u,
2832
+ jo as v
2761
2833
  };