@boxcc/maildeno-editor 0.0.0-stage → 0.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +479 -0
  2. package/README.md +441 -2
  3. package/dist/DatePicker-AdfGW0Tw.js +5347 -0
  4. package/dist/DatePicker-aNFlsoOb.js +5347 -0
  5. package/dist/Dialog-By0JLN8s.js +6294 -0
  6. package/dist/HealthIndicator-4Iw6N-g_.js +1216 -0
  7. package/dist/HealthIndicator-ZohgzF2_.js +1217 -0
  8. package/dist/PopperContent-N2nAEFeH.js +2538 -0
  9. package/dist/PopperContent-eLmz1Gjd.js +2578 -0
  10. package/dist/PreviewCanvas-DzpLghCo.js +534 -0
  11. package/dist/PreviewCanvas-QN4C68KA.js +534 -0
  12. package/dist/RichTextEditor-CmM4XRFC.js +12218 -0
  13. package/dist/RichTextEditor-Cz1-_ZtA.js +12217 -0
  14. package/dist/RowPreviewChildren-BYaMZID3.js +4 -0
  15. package/dist/RowPreviewChildren-_A9gPQCs.js +4 -0
  16. package/dist/RowPreviewLegacyComponent-Df_1HTly.js +403 -0
  17. package/dist/RowPreviewLegacyComponent-NECG3wpn.js +403 -0
  18. package/dist/RowPreviewRow-DPaSbxmB.js +81 -0
  19. package/dist/RowPreviewRow-Dx4ExtSN.js +81 -0
  20. package/dist/SavedRowsPanel-DqSHB6Jk.js +492 -0
  21. package/dist/SavedRowsPanel-DyXjSOEt.js +493 -0
  22. package/dist/_plugin-vue_export-helper-Dj7HTbfw.js +8 -0
  23. package/dist/adapters/errors.d.ts +59 -0
  24. package/dist/adapters/localStorageAdapter.d.ts +6 -0
  25. package/dist/adapters/types.d.ts +151 -0
  26. package/dist/babel-DV7WPQI0.js +10043 -0
  27. package/dist/blocks/registry.d.ts +23 -0
  28. package/dist/blocks/types.d.ts +73 -0
  29. package/dist/borderRadius-CkSa1lQ9.js +75 -0
  30. package/dist/components/features/emailBuilder/EmailEditor.vue.d.ts +182 -0
  31. package/dist/composables/emailBuilder/export/logic/espLogicWrapper.d.ts +76 -0
  32. package/dist/composables/emailBuilder/persistence/useEmailBuilderPersistence.d.ts +38 -0
  33. package/dist/composables/emailBuilder/transform/pipeline/optimize.d.ts +100 -0
  34. package/dist/composables/system/useColorScheme.d.ts +16 -0
  35. package/dist/element-B3gq8Xvd.js +21500 -0
  36. package/dist/element.d.ts +6 -0
  37. package/dist/element.js +5 -0
  38. package/dist/esp/registry.d.ts +33 -0
  39. package/dist/estree-DY9POgc0.js +8195 -0
  40. package/dist/html-wb0gSX1o.js +7273 -0
  41. package/dist/index.d.ts +17 -0
  42. package/dist/index.js +14992 -0
  43. package/dist/init.d.ts +178 -0
  44. package/dist/init.js +137 -0
  45. package/dist/maildeno-editor.css +2 -0
  46. package/dist/merge-tags/registry.d.ts +33 -0
  47. package/dist/mergeTagDefinitions-Cler19nv.js +27 -0
  48. package/dist/standalone-DHvJ30Td.js +3554 -0
  49. package/dist/theme.d.ts +206 -0
  50. package/dist/types/assistant.d.ts +56 -0
  51. package/dist/useEmailBuilder-B19p-2yp.js +4924 -0
  52. package/dist/useEmailBuilder-BR4wfai1.js +4924 -0
  53. package/dist/useToast-DD11IxqP.js +194 -0
  54. package/dist/utils/border.d.ts +15 -0
  55. package/dist/utils/borderRadius.d.ts +10 -0
  56. package/dist/vue.runtime.esm-bundler-D2AjRP90.js +6117 -0
  57. package/package.json +100 -4
@@ -0,0 +1,2578 @@
1
+ import * as Ge from "vue";
2
+ import { Comment as sn, Fragment as ln, Teleport as un, camelize as Lt, cloneVNode as cn, computed as E, createBlock as le, createCommentVNode as fn, createElementBlock as Ft, customRef as dn, defineComponent as V, effectScope as Nt, getCurrentInstance as de, getCurrentScope as pn, h as Re, inject as kt, isRef as Ie, mergeDefaults as vn, mergeProps as Xe, nextTick as te, normalizeStyle as $t, onBeforeUnmount as mn, onMounted as Bt, onScopeDispose as hn, onUnmounted as ot, onUpdated as yn, openBlock as K, provide as Wt, reactive as Te, ref as T, renderSlot as ne, shallowRef as gn, toHandlerKey as wn, toRef as bn, toRefs as Je, toValue as L, triggerRef as xn, unref as S, watch as I, watchEffect as ue, watchPostEffect as It, withCtx as ge, withMemo as On } from "vue";
3
+ import * as wo from "vue";
4
+ var Ze = Object.defineProperty, En = Object.getOwnPropertyDescriptor, An = Object.getOwnPropertyNames, Pn = Object.prototype.hasOwnProperty, Sn = (e, t) => {
5
+ let n = {};
6
+ for (var r in e)
7
+ Ze(n, r, {
8
+ get: e[r],
9
+ enumerable: !0
10
+ });
11
+ return t || Ze(n, Symbol.toStringTag, { value: "Module" }), n;
12
+ }, yt = (e, t, n, r) => {
13
+ if (t && typeof t == "object" || typeof t == "function")
14
+ for (var i = An(t), o = 0, a = i.length, s; o < a; o++)
15
+ s = i[o], !Pn.call(e, s) && s !== n && Ze(e, s, {
16
+ get: ((f) => t[f]).bind(null, s),
17
+ enumerable: !(r = En(t, s)) || r.enumerable
18
+ });
19
+ return e;
20
+ }, Cn = (e, t, n) => (yt(e, t, "default"), n && yt(n, t, "default")), Vt = /* @__PURE__ */ Symbol("maildeno-editor:teleport-target");
21
+ function Lo(e) {
22
+ Wt(Vt, e);
23
+ }
24
+ function Rn() {
25
+ const e = kt(Vt, void 0);
26
+ return e === void 0 ? (console.warn(`[maildeno-editor] useTeleportTarget() couldn't find a provided target — falling back to "body". If this is running inside the custom-element (Shadow DOM) path, teleported content will render unstyled.`), "body") : e;
27
+ }
28
+ function Fo() {
29
+ const e = Rn();
30
+ return E(() => typeof e == "string" ? e : e.value ?? void 0);
31
+ }
32
+ var Tn = ["stroke-width", "innerHTML"], Mn = /* @__PURE__ */ V({
33
+ __name: "Icon",
34
+ props: {
35
+ name: {},
36
+ strokeWidth: { default: 2 }
37
+ },
38
+ setup(e) {
39
+ const t = e, n = {
40
+ "arrow-down": '<path d="M12 5v14"/><path d="m19 12-7 7-7-7"/>',
41
+ "arrow-left": '<path d="m12 19-7-7 7-7"/><path d="M19 12H5"/>',
42
+ "arrow-right": '<path d="M5 12h14"/><path d="m12 5 7 7-7 7"/>',
43
+ "arrows-alt": '<path d="M12 2v20"/><path d="M2 12h20"/><path d="m15 5-3-3-3 3"/><path d="m15 19-3 3-3-3"/><path d="m5 9-3 3 3 3"/><path d="m19 9 3 3-3 3"/>',
44
+ bookmark: '<path d="m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/>',
45
+ "bookmark-filled": '<path d="m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" fill="currentColor"/>',
46
+ check: '<path d="M20 6 9 17l-5-5"/>',
47
+ "check-circle": '<circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/>',
48
+ "chevron-down": '<path d="m6 9 6 6 6-6"/>',
49
+ "chevron-right": '<path d="m9 18 6-6-6-6"/>',
50
+ "chevron-up": '<path d="m18 15-6-6-6 6"/>',
51
+ circle: '<circle cx="12" cy="12" r="10"/>',
52
+ code: '<path d="m16 18 6-6-6-6"/><path d="m8 6-6 6 6 6"/>',
53
+ download: '<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m7 10 5 5 5-5"/><path d="M12 15V3"/>',
54
+ "exclamation-triangle": '<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/>',
55
+ "external-link": '<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',
56
+ eye: '<path d="M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0"/><circle cx="12" cy="12" r="3"/>',
57
+ "eye-slash": '<path d="m15 18-.72-3.25"/><path d="M2 8a10.65 10.65 0 0 0 20 0"/><path d="m20 15-1.73-2.05"/><path d="m4 15 1.73-2.05"/><path d="m9 18 .72-3.25"/>',
58
+ history: '<path d="M3 3v5h5"/><path d="M3.05 13A9 9 0 1 0 6 5.3L3 8"/><path d="M12 7v5l4 2"/>',
59
+ image: '<rect width="18" height="18" x="3" y="3" rx="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.09-3.09a2 2 0 0 0-2.82 0L6 21"/>',
60
+ "info-circle": '<circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/>',
61
+ link: '<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/>',
62
+ lock: '<rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>',
63
+ "lock-open": '<rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/>',
64
+ minus: '<path d="M5 12h14"/>',
65
+ plus: '<path d="M5 12h14"/><path d="M12 5v14"/>',
66
+ send: '<path d="M14.54 21.69a.5.5 0 0 0 .93-.03l6.5-19a.5.5 0 0 0-.63-.63l-19 6.5a.5.5 0 0 0-.03.93l7.93 3.18a2 2 0 0 1 1.11 1.11z"/><path d="m21.85 2.15-10.94 10.94"/>',
67
+ sparkles: '<path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"/><path d="M20 3v4"/><path d="M22 5h-4"/>',
68
+ spinner: '<path d="M21 12a9 9 0 1 1-6.22-8.56"/>',
69
+ tag: '<path d="M12.59 2.59A2 2 0 0 0 11.17 2H4a2 2 0 0 0-2 2v7.17a2 2 0 0 0 .59 1.42l8.7 8.7a2.43 2.43 0 0 0 3.42 0l6.58-6.58a2.43 2.43 0 0 0 0-3.42z"/><circle cx="7.5" cy="7.5" r=".5" fill="currentColor"/>',
70
+ "th-large": '<rect width="7" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="14" y="3" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/>',
71
+ times: '<path d="M18 6 6 18"/><path d="m6 6 12 12"/>',
72
+ trash: '<path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><path d="M10 11v6"/><path d="M14 11v6"/>'
73
+ };
74
+ return (r, i) => (K(), Ft("svg", {
75
+ xmlns: "http://www.w3.org/2000/svg",
76
+ width: "1em",
77
+ height: "1em",
78
+ viewBox: "0 0 24 24",
79
+ fill: "none",
80
+ stroke: "currentColor",
81
+ "stroke-width": t.strokeWidth,
82
+ "stroke-linecap": "round",
83
+ "stroke-linejoin": "round",
84
+ "aria-hidden": "true",
85
+ focusable: "false",
86
+ style: {
87
+ display: "inline-block",
88
+ "vertical-align": "-0.125em",
89
+ "flex-shrink": "0"
90
+ },
91
+ innerHTML: n[t.name] ?? ""
92
+ }, null, 8, Tn));
93
+ }
94
+ }), No = Mn;
95
+ function it(e, t) {
96
+ const n = typeof e == "string" && !t ? `${e}Context` : t, r = Symbol(n);
97
+ return [(a) => {
98
+ const s = kt(r, a);
99
+ if (s || s === null) return s;
100
+ throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join(", ")}` : `\`${e}\``}`);
101
+ }, (a) => (Wt(r, a), a)];
102
+ }
103
+ function ee() {
104
+ let e = document.activeElement;
105
+ if (e == null) return null;
106
+ for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) e = e.shadowRoot.activeElement;
107
+ return e;
108
+ }
109
+ function Ht(e, t, n) {
110
+ const r = n.originalEvent.target, i = new CustomEvent(e, {
111
+ bubbles: !1,
112
+ cancelable: !0,
113
+ detail: n
114
+ });
115
+ t && r.addEventListener(e, t, { once: !0 }), r.dispatchEvent(i);
116
+ }
117
+ function Dn(e) {
118
+ return e == null;
119
+ }
120
+ function at(e, t) {
121
+ return pn() ? (hn(e, t), !0) : !1;
122
+ }
123
+ function ko() {
124
+ const e = /* @__PURE__ */ new Set(), t = (o) => {
125
+ e.delete(o);
126
+ };
127
+ return {
128
+ on: (o) => {
129
+ e.add(o);
130
+ const a = () => t(o);
131
+ return at(a), { off: a };
132
+ },
133
+ off: t,
134
+ trigger: (...o) => Promise.all(Array.from(e).map((a) => a(...o))),
135
+ clear: () => {
136
+ e.clear();
137
+ }
138
+ };
139
+ }
140
+ function _n(e) {
141
+ let t = !1, n;
142
+ const r = Nt(!0);
143
+ return ((...i) => (t || (n = r.run(() => e(...i)), t = !0), n));
144
+ }
145
+ var N = typeof window < "u" && typeof document < "u", $o = typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope, Ln = (e) => typeof e < "u", Fn = Object.prototype.toString, Nn = (e) => Fn.call(e) === "[object Object]", gt = /* @__PURE__ */ kn();
146
+ function kn() {
147
+ var e, t, n;
148
+ return N && !!(!((e = window) === null || e === void 0 || (e = e.navigator) === null || e === void 0) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) === null || t === void 0 || (t = t.navigator) === null || t === void 0 ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) === null || n === void 0 ? void 0 : n.navigator.userAgent));
149
+ }
150
+ function Ve(e) {
151
+ return Array.isArray(e) ? e : [e];
152
+ }
153
+ function qt(e) {
154
+ const t = /* @__PURE__ */ Object.create(null);
155
+ return ((n) => t[n] || (t[n] = e(n)));
156
+ }
157
+ var $n = /\B([A-Z])/g, Bo = qt((e) => e.replace($n, "-$1").toLowerCase()), Bn = /-(\w)/g, Wo = qt((e) => e.replace(Bn, (t, n) => n ? n.toUpperCase() : ""));
158
+ function Wn(e) {
159
+ return e || de();
160
+ }
161
+ function In(e) {
162
+ if (!N) return e;
163
+ let t = 0, n, r;
164
+ const i = () => {
165
+ t -= 1, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
166
+ };
167
+ return ((...o) => (t += 1, r || (r = Nt(!0), n = r.run(() => e(...o))), at(i), n));
168
+ }
169
+ function Vn(e) {
170
+ return Ie(e) ? Te(new Proxy({}, {
171
+ get(t, n, r) {
172
+ return S(Reflect.get(e.value, n, r));
173
+ },
174
+ set(t, n, r) {
175
+ return Ie(e.value[n]) && !Ie(r) ? e.value[n].value = r : e.value[n] = r, !0;
176
+ },
177
+ deleteProperty(t, n) {
178
+ return Reflect.deleteProperty(e.value, n);
179
+ },
180
+ has(t, n) {
181
+ return Reflect.has(e.value, n);
182
+ },
183
+ ownKeys() {
184
+ return Object.keys(e.value);
185
+ },
186
+ getOwnPropertyDescriptor() {
187
+ return {
188
+ enumerable: !0,
189
+ configurable: !0
190
+ };
191
+ }
192
+ })) : Te(e);
193
+ }
194
+ function Hn(e) {
195
+ return Vn(E(e));
196
+ }
197
+ function Io(e, ...t) {
198
+ const n = t.flat(), r = n[0];
199
+ return Hn(() => Object.fromEntries(typeof r == "function" ? Object.entries(Je(e)).filter(([i, o]) => !r(L(o), i)) : Object.entries(Je(e)).filter((i) => !n.includes(i[0]))));
200
+ }
201
+ function Vo(e, t = 1e4) {
202
+ return dn((n, r) => {
203
+ let i = L(e), o;
204
+ const a = () => setTimeout(() => {
205
+ i = L(e), r();
206
+ }, L(t));
207
+ return at(() => {
208
+ clearTimeout(o);
209
+ }), {
210
+ get() {
211
+ return n(), i;
212
+ },
213
+ set(s) {
214
+ i = s, r(), clearTimeout(o), o = a();
215
+ }
216
+ };
217
+ });
218
+ }
219
+ function qn(e, t) {
220
+ Wn(t) && mn(e, t);
221
+ }
222
+ function jn(e, t, n) {
223
+ return I(e, t, {
224
+ ...n,
225
+ immediate: !0
226
+ });
227
+ }
228
+ var st = N ? window : void 0, Ho = N ? window.document : void 0, qo = N ? window.navigator : void 0, jo = N ? window.location : void 0;
229
+ function be(e) {
230
+ var t;
231
+ const n = L(e);
232
+ return (t = n?.$el) !== null && t !== void 0 ? t : n;
233
+ }
234
+ function jt(...e) {
235
+ const t = (r, i, o, a) => (r.addEventListener(i, o, a), () => r.removeEventListener(i, o, a)), n = E(() => {
236
+ const r = Ve(L(e[0])).filter((i) => i != null);
237
+ return r.every((i) => typeof i != "string") ? r : void 0;
238
+ });
239
+ return jn(() => {
240
+ var r, i;
241
+ return [
242
+ (r = (i = n.value) === null || i === void 0 ? void 0 : i.map((o) => be(o))) !== null && r !== void 0 ? r : [st].filter((o) => o != null),
243
+ Ve(L(n.value ? e[1] : e[0])),
244
+ Ve(S(n.value ? e[2] : e[1])),
245
+ L(n.value ? e[3] : e[2])
246
+ ];
247
+ }, ([r, i, o, a], s, f) => {
248
+ if (!r?.length || !i?.length || !o?.length) return;
249
+ const p = Nn(a) ? { ...a } : a, d = r.flatMap((u) => i.flatMap((c) => o.map((l) => t(u, c, l, p))));
250
+ f(() => {
251
+ d.forEach((u) => u());
252
+ });
253
+ }, { flush: "post" });
254
+ }
255
+ function zn() {
256
+ const e = gn(!1), t = de();
257
+ return t && Bt(() => {
258
+ e.value = !0;
259
+ }, t), e;
260
+ }
261
+ function Un(e) {
262
+ return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
263
+ }
264
+ function Kn(...e) {
265
+ let t, n, r = {};
266
+ e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
267
+ const { target: i = st, eventName: o = "keydown", passive: a = !1, dedupe: s = !1 } = r, f = Un(t);
268
+ return jt(i, o, (d) => {
269
+ d.repeat && L(s) || f(d) && n(d);
270
+ }, a);
271
+ }
272
+ function Yn(e) {
273
+ return JSON.parse(JSON.stringify(e));
274
+ }
275
+ var zo = [
276
+ {
277
+ max: 6e4,
278
+ value: 1e3,
279
+ name: "second"
280
+ },
281
+ {
282
+ max: 276e4,
283
+ value: 6e4,
284
+ name: "minute"
285
+ },
286
+ {
287
+ max: 72e6,
288
+ value: 36e5,
289
+ name: "hour"
290
+ },
291
+ {
292
+ max: 5184e5,
293
+ value: 864e5,
294
+ name: "day"
295
+ },
296
+ {
297
+ max: 24192e5,
298
+ value: 6048e5,
299
+ name: "week"
300
+ },
301
+ {
302
+ max: 28512e6,
303
+ value: 2592e6,
304
+ name: "month"
305
+ },
306
+ {
307
+ max: Number.POSITIVE_INFINITY,
308
+ value: 31536e6,
309
+ name: "year"
310
+ }
311
+ ];
312
+ function Uo(e, t, n, r = {}) {
313
+ var i, o;
314
+ const { clone: a = !1, passive: s = !1, eventName: f, deep: p = !1, defaultValue: d, shouldEmit: u } = r, c = de(), l = n || c?.emit || (c == null || (i = c.$emit) === null || i === void 0 ? void 0 : i.bind(c)) || (c == null || (o = c.proxy) === null || o === void 0 || (o = o.$emit) === null || o === void 0 ? void 0 : o.bind(c?.proxy));
315
+ let m = f;
316
+ t || (t = "modelValue"), m = m || `update:${t.toString()}`;
317
+ const v = (y) => a ? typeof a == "function" ? a(y) : Yn(y) : y, h = () => Ln(e[t]) ? v(e[t]) : d, g = (y) => {
318
+ u ? u(y) && l(m, y) : l(m, y);
319
+ };
320
+ if (s) {
321
+ const y = T(h());
322
+ let w = !1;
323
+ return I(() => e[t], (b) => {
324
+ w || (w = !0, y.value = v(b), te(() => w = !1));
325
+ }), I(y, (b) => {
326
+ !w && (b !== e[t] || p) && g(b);
327
+ }, { deep: p }), y;
328
+ } else return E({
329
+ get() {
330
+ return h();
331
+ },
332
+ set(y) {
333
+ g(y);
334
+ }
335
+ });
336
+ }
337
+ function lt(e) {
338
+ return e ? e.flatMap((t) => t.type === ln ? lt(t.children) : [t]) : [];
339
+ }
340
+ var [Le, Ko] = /* @__PURE__ */ it("ConfigProvider"), _ = /* @__PURE__ */ Te({
341
+ layersRoot: /* @__PURE__ */ new Set(),
342
+ layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
343
+ originalBodyPointerEvents: void 0,
344
+ branches: /* @__PURE__ */ new Set()
345
+ });
346
+ function He(e) {
347
+ if (e === null || typeof e != "object") return !1;
348
+ const t = Object.getPrototypeOf(e);
349
+ return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0;
350
+ }
351
+ function Qe(e, t, n = ".", r) {
352
+ if (!He(t)) return Qe(e, {}, n, r);
353
+ const i = { ...t };
354
+ for (const o of Object.keys(e)) {
355
+ if (o === "__proto__" || o === "constructor") continue;
356
+ const a = e[o];
357
+ a != null && (r && r(i, o, a, n) || (Array.isArray(a) && Array.isArray(i[o]) ? i[o] = [...a, ...i[o]] : He(a) && He(i[o]) ? i[o] = Qe(a, i[o], (n ? `${n}.` : "") + o.toString(), r) : i[o] = a));
358
+ }
359
+ return i;
360
+ }
361
+ function ut(e) {
362
+ return (...t) => t.reduce((n, r) => Qe(n, r, "", e), {});
363
+ }
364
+ var Gn = ut(), Yo = ut((e, t, n) => {
365
+ if (e[t] !== void 0 && typeof n == "function")
366
+ return e[t] = n(e[t]), !0;
367
+ }), Go = ut((e, t, n) => {
368
+ if (Array.isArray(e[t]) && typeof n == "function")
369
+ return e[t] = n(e[t]), !0;
370
+ }), Xn = In(() => {
371
+ const e = T(/* @__PURE__ */ new Map()), t = T(), n = E(() => {
372
+ for (const a of e.value.values()) if (a) return !0;
373
+ return !1;
374
+ }), r = Le({ scrollBody: T(!0) });
375
+ let i = null;
376
+ const o = () => {
377
+ document.body.style.paddingRight = "", document.body.style.marginRight = "", _.layersWithOutsidePointerEventsDisabled.size === 0 && (document.body.style.pointerEvents = ""), document.documentElement.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", gt && i?.(), t.value = void 0;
378
+ };
379
+ return I(n, (a, s) => {
380
+ if (!N) return;
381
+ if (!a) {
382
+ s && o();
383
+ return;
384
+ }
385
+ t.value === void 0 && (t.value = document.body.style.overflow);
386
+ const f = window.innerWidth - document.documentElement.clientWidth, p = {
387
+ padding: f,
388
+ margin: 0
389
+ }, d = r.scrollBody?.value ? typeof r.scrollBody.value == "object" ? Gn({
390
+ padding: r.scrollBody.value.padding === !0 ? f : r.scrollBody.value.padding,
391
+ margin: r.scrollBody.value.margin === !0 ? f : r.scrollBody.value.margin
392
+ }, p) : p : {
393
+ padding: 0,
394
+ margin: 0
395
+ };
396
+ f > 0 && (document.body.style.paddingRight = typeof d.padding == "number" ? `${d.padding}px` : String(d.padding), document.body.style.marginRight = typeof d.margin == "number" ? `${d.margin}px` : String(d.margin), document.documentElement.style.setProperty("--scrollbar-width", `${f}px`), document.body.style.overflow = "hidden"), gt && (i = jt(document, "touchmove", (u) => Jn(u), { passive: !1 })), te(() => {
397
+ n.value && (document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden");
398
+ });
399
+ }, {
400
+ immediate: !0,
401
+ flush: "sync"
402
+ }), e;
403
+ });
404
+ function Xo(e) {
405
+ const t = Math.random().toString(36).substring(2, 7), n = Xn();
406
+ n.value.set(t, e ?? !1);
407
+ const r = E({
408
+ get: () => n.value.get(t) ?? !1,
409
+ set: (i) => n.value.set(t, i)
410
+ });
411
+ return qn(() => {
412
+ n.value.delete(t);
413
+ }), r;
414
+ }
415
+ function zt(e) {
416
+ const t = window.getComputedStyle(e);
417
+ if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
418
+ {
419
+ const n = e.parentNode;
420
+ return !(n instanceof Element) || n.tagName === "BODY" ? !1 : zt(n);
421
+ }
422
+ }
423
+ function Jn(e) {
424
+ const t = e || window.event, n = t.target;
425
+ return n instanceof Element && zt(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1);
426
+ }
427
+ function Zn(e) {
428
+ const t = Le({ dir: T("ltr") });
429
+ return E(() => e?.value || t.dir?.value || "ltr");
430
+ }
431
+ function Qn(e) {
432
+ const t = de(), n = t?.type.emits, r = {};
433
+ return n?.length || console.warn(`No emitted event found. Please check component: ${t?.type.__name}`), n?.forEach((i) => {
434
+ r[wn(Lt(i))] = (...o) => e(i, ...o);
435
+ }), r;
436
+ }
437
+ var qe = 0;
438
+ function Jo() {
439
+ ue((e) => {
440
+ if (!N) return;
441
+ const t = document.querySelectorAll("[data-reka-focus-guard]");
442
+ document.body.insertAdjacentElement("afterbegin", t[0] ?? wt()), document.body.insertAdjacentElement("beforeend", t[1] ?? wt()), qe++, e(() => {
443
+ qe === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((n) => n.remove()), qe--;
444
+ });
445
+ });
446
+ }
447
+ function wt() {
448
+ const e = document.createElement("span");
449
+ return e.setAttribute("data-reka-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
450
+ }
451
+ function Fe() {
452
+ const e = de(), t = T(), n = E(() => r());
453
+ yn(() => {
454
+ n.value !== r() && xn(t);
455
+ });
456
+ function r() {
457
+ return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : be(t);
458
+ }
459
+ const i = Object.assign({}, e.exposed), o = {};
460
+ for (const s in e.props) Object.defineProperty(o, s, {
461
+ enumerable: !0,
462
+ configurable: !0,
463
+ get: () => e.props[s]
464
+ });
465
+ if (Object.keys(i).length > 0) for (const s in i) Object.defineProperty(o, s, {
466
+ enumerable: !0,
467
+ configurable: !0,
468
+ get: () => i[s]
469
+ });
470
+ Object.defineProperty(o, "$el", {
471
+ enumerable: !0,
472
+ configurable: !0,
473
+ get: () => e.vnode.el
474
+ }), e.exposed = o;
475
+ function a(s) {
476
+ if (t.value = s, !!s && (Object.defineProperty(o, "$el", {
477
+ enumerable: !0,
478
+ configurable: !0,
479
+ get: () => s instanceof Element ? s : s.$el
480
+ }), !(s instanceof Element) && !Object.hasOwn(s, "$el"))) {
481
+ const f = s.$.exposed, p = Object.assign({}, o);
482
+ for (const d in f) Object.defineProperty(p, d, {
483
+ enumerable: !0,
484
+ configurable: !0,
485
+ get: () => f[d]
486
+ });
487
+ e.exposed = p;
488
+ }
489
+ }
490
+ return {
491
+ forwardRef: a,
492
+ currentRef: t,
493
+ currentElement: n
494
+ };
495
+ }
496
+ function er(e) {
497
+ const t = de(), n = Object.keys(t?.type.props ?? {}).reduce((i, o) => {
498
+ const a = (t?.type.props[o]).default;
499
+ return a !== void 0 && (i[o] = a), i;
500
+ }, {}), r = bn(e);
501
+ return E(() => {
502
+ const i = {}, o = t?.vnode.props ?? {};
503
+ return Object.keys(o).forEach((a) => {
504
+ i[Lt(a)] = o[a];
505
+ }), Object.keys({
506
+ ...n,
507
+ ...i
508
+ }).reduce((a, s) => (r.value[s] !== void 0 && (a[s] = r.value[s]), a), {});
509
+ });
510
+ }
511
+ function Zo(e, t) {
512
+ const n = er(e), r = t ? Qn(t) : {};
513
+ return E(() => ({
514
+ ...n.value,
515
+ ...r
516
+ }));
517
+ }
518
+ var tr = function(e) {
519
+ return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
520
+ }, me = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), Pe = {}, je = 0, Ut = function(e) {
521
+ return e && (e.host || Ut(e.parentNode));
522
+ }, nr = function(e, t) {
523
+ return t.map(function(n) {
524
+ if (e.contains(n)) return n;
525
+ var r = Ut(n);
526
+ return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
527
+ }).filter(function(n) {
528
+ return !!n;
529
+ });
530
+ }, rr = function(e, t, n, r) {
531
+ var i = nr(t, Array.isArray(e) ? e : [e]);
532
+ Pe[n] || (Pe[n] = /* @__PURE__ */ new WeakMap());
533
+ var o = Pe[n], a = [], s = /* @__PURE__ */ new Set(), f = new Set(i), p = function(u) {
534
+ !u || s.has(u) || (s.add(u), p(u.parentNode));
535
+ };
536
+ i.forEach(p);
537
+ var d = function(u) {
538
+ !u || f.has(u) || Array.prototype.forEach.call(u.children, function(c) {
539
+ if (s.has(c)) d(c);
540
+ else try {
541
+ var l = c.getAttribute(r), m = l !== null && l !== "false", v = (me.get(c) || 0) + 1, h = (o.get(c) || 0) + 1;
542
+ me.set(c, v), o.set(c, h), a.push(c), v === 1 && m && Ae.set(c, !0), h === 1 && c.setAttribute(n, "true"), m || c.setAttribute(r, "true");
543
+ } catch (g) {
544
+ console.error("aria-hidden: cannot operate on ", c, g);
545
+ }
546
+ });
547
+ };
548
+ return d(t), s.clear(), je++, function() {
549
+ a.forEach(function(u) {
550
+ var c = me.get(u) - 1, l = o.get(u) - 1;
551
+ me.set(u, c), o.set(u, l), c || (Ae.has(u) || u.removeAttribute(r), Ae.delete(u)), l || u.removeAttribute(n);
552
+ }), je--, je || (me = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), Ae = /* @__PURE__ */ new WeakMap(), Pe = {});
553
+ };
554
+ }, or = function(e, t, n) {
555
+ n === void 0 && (n = "data-aria-hidden");
556
+ var r = Array.from(Array.isArray(e) ? e : [e]), i = t || tr(e);
557
+ return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), rr(r, i, n, "aria-hidden")) : function() {
558
+ return null;
559
+ };
560
+ };
561
+ function Qo(e) {
562
+ let t;
563
+ I(() => be(e), (n) => {
564
+ let r = !1;
565
+ try {
566
+ r = !!n?.closest("[popover]:not(:popover-open)");
567
+ } catch {
568
+ }
569
+ n && !r ? t = or(n) : t && t();
570
+ }), ot(() => {
571
+ t && t();
572
+ });
573
+ }
574
+ var ir = 0;
575
+ function ei(e, t = "reka") {
576
+ if (e) return e;
577
+ let n;
578
+ const r = Le({ useId: void 0 });
579
+ return r.useId ? n = r.useId() : "useId" in Ge ? n = Ge.useId?.() : n = `${++ir}`, t ? `${t}-${n}` : n;
580
+ }
581
+ function ti() {
582
+ return {
583
+ ALT: "Alt",
584
+ ARROW_DOWN: "ArrowDown",
585
+ ARROW_LEFT: "ArrowLeft",
586
+ ARROW_RIGHT: "ArrowRight",
587
+ ARROW_UP: "ArrowUp",
588
+ BACKSPACE: "Backspace",
589
+ CAPS_LOCK: "CapsLock",
590
+ CONTROL: "Control",
591
+ DELETE: "Delete",
592
+ END: "End",
593
+ ENTER: "Enter",
594
+ ESCAPE: "Escape",
595
+ F1: "F1",
596
+ F10: "F10",
597
+ F11: "F11",
598
+ F12: "F12",
599
+ F2: "F2",
600
+ F3: "F3",
601
+ F4: "F4",
602
+ F5: "F5",
603
+ F6: "F6",
604
+ F7: "F7",
605
+ F8: "F8",
606
+ F9: "F9",
607
+ HOME: "Home",
608
+ META: "Meta",
609
+ PAGE_DOWN: "PageDown",
610
+ PAGE_UP: "PageUp",
611
+ SHIFT: "Shift",
612
+ SPACE: " ",
613
+ TAB: "Tab",
614
+ CTRL: "Control",
615
+ ASTERISK: "*",
616
+ SPACE_CODE: "Space"
617
+ };
618
+ }
619
+ function ar(e) {
620
+ const t = T(), n = E(() => t.value?.width ?? 0), r = E(() => t.value?.height ?? 0);
621
+ let i;
622
+ return Bt(() => {
623
+ const o = be(e);
624
+ o ? (t.value = {
625
+ width: o.offsetWidth,
626
+ height: o.offsetHeight
627
+ }, i = new ResizeObserver((a) => {
628
+ if (!Array.isArray(a) || !a.length) return;
629
+ const s = a[0];
630
+ let f, p;
631
+ if ("borderBoxSize" in s) {
632
+ const d = s.borderBoxSize, u = Array.isArray(d) ? d[0] : d;
633
+ f = u.inlineSize, p = u.blockSize;
634
+ } else
635
+ f = o.offsetWidth, p = o.offsetHeight;
636
+ t.value = {
637
+ width: f,
638
+ height: p
639
+ };
640
+ }), i.observe(o, { box: "border-box" })) : t.value = void 0;
641
+ }), ot(() => {
642
+ i?.disconnect(), i = void 0;
643
+ }), {
644
+ width: n,
645
+ height: r
646
+ };
647
+ }
648
+ function sr(e, t) {
649
+ const n = T(e);
650
+ function r(o) {
651
+ return t[n.value][o] ?? n.value;
652
+ }
653
+ return {
654
+ state: n,
655
+ dispatch: (o) => {
656
+ n.value = r(o);
657
+ }
658
+ };
659
+ }
660
+ function lr(e, t) {
661
+ const n = T({}), r = T("none"), i = T(e), o = e.value ? "mounted" : "unmounted";
662
+ let a;
663
+ const s = t.value?.ownerDocument.defaultView ?? st, { state: f, dispatch: p } = sr(o, {
664
+ mounted: {
665
+ UNMOUNT: "unmounted",
666
+ ANIMATION_OUT: "unmountSuspended"
667
+ },
668
+ unmountSuspended: {
669
+ MOUNT: "mounted",
670
+ ANIMATION_END: "unmounted"
671
+ },
672
+ unmounted: { MOUNT: "mounted" }
673
+ }), d = (v) => {
674
+ if (N) {
675
+ const h = new CustomEvent(v, {
676
+ bubbles: !1,
677
+ cancelable: !1
678
+ });
679
+ t.value?.dispatchEvent(h);
680
+ }
681
+ };
682
+ I(e, async (v, h) => {
683
+ const g = h !== v;
684
+ if (await te(), g) {
685
+ const y = r.value, w = Se(t.value);
686
+ v ? (p("MOUNT"), d("enter"), w === "none" && d("after-enter")) : w === "none" || w === "undefined" || n.value?.display === "none" ? (p("UNMOUNT"), d("leave"), d("after-leave")) : h && y !== w ? (p("ANIMATION_OUT"), d("leave")) : (p("UNMOUNT"), d("after-leave"));
687
+ }
688
+ }, { immediate: !0 });
689
+ const u = (v) => {
690
+ if (v.target !== t.value) return;
691
+ const h = Se(t.value), g = h.includes(CSS.escape(v.animationName)), y = f.value === "mounted" ? "enter" : "leave";
692
+ if (g && (d(`after-${y}`), p("ANIMATION_END"), !i.value)) {
693
+ const w = t.value.style.animationFillMode;
694
+ t.value.style.animationFillMode = "forwards", a = s?.setTimeout(() => {
695
+ t.value?.style.animationFillMode === "forwards" && (t.value.style.animationFillMode = w);
696
+ });
697
+ }
698
+ h === "none" && p("ANIMATION_END");
699
+ }, c = (v) => {
700
+ v.target === t.value && (r.value = Se(t.value));
701
+ }, l = I(t, (v, h) => {
702
+ v ? (n.value = getComputedStyle(v), v.addEventListener("animationstart", c), v.addEventListener("animationcancel", u), v.addEventListener("animationend", u)) : (p("ANIMATION_END"), a !== void 0 && s?.clearTimeout(a), h?.removeEventListener("animationstart", c), h?.removeEventListener("animationcancel", u), h?.removeEventListener("animationend", u));
703
+ }, { immediate: !0 }), m = I(f, () => {
704
+ const v = Se(t.value);
705
+ r.value = f.value === "mounted" ? v : "none";
706
+ });
707
+ return ot(() => {
708
+ l(), m(), t.value && (t.value.removeEventListener("animationstart", c), t.value.removeEventListener("animationcancel", u), t.value.removeEventListener("animationend", u)), a !== void 0 && s?.clearTimeout(a);
709
+ }), { isPresent: E(() => ["mounted", "unmountSuspended"].includes(f.value)) };
710
+ }
711
+ function Se(e) {
712
+ return e && getComputedStyle(e).animationName || "none";
713
+ }
714
+ var ni = /* @__PURE__ */ V({
715
+ name: "Presence",
716
+ props: {
717
+ present: {
718
+ type: Boolean,
719
+ required: !0
720
+ },
721
+ forceMount: { type: Boolean }
722
+ },
723
+ slots: {},
724
+ setup(e, { slots: t, expose: n }) {
725
+ const { present: r, forceMount: i } = Je(e), o = T(), { isPresent: a } = lr(r, o);
726
+ n({ present: a });
727
+ let s = t.default({ present: a.value });
728
+ s = lt(s || []);
729
+ const f = de();
730
+ if (s && s?.length > 1) {
731
+ const p = f?.parent?.type.name ? `<${f.parent.type.name} />` : "component";
732
+ throw new Error([
733
+ `Detected an invalid children for \`${p}\` for \`Presence\` component.`,
734
+ "",
735
+ "Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",
736
+ "You can apply a few solutions:",
737
+ ["Provide a single child element so that `presence` directive attach correctly.", "Ensure the first child is an actual element instead of a raw text node or comment node."].map((d) => ` - ${d}`).join(`
738
+ `)
739
+ ].join(`
740
+ `));
741
+ }
742
+ return () => i.value || r.value || a.value ? Re(t.default({ present: a.value })[0], { ref: (p) => {
743
+ const d = be(p);
744
+ return typeof d?.hasAttribute > "u" || (d?.hasAttribute("data-reka-popper-content-wrapper") ? o.value = d.firstElementChild : o.value = d), d;
745
+ } }) : null;
746
+ }
747
+ }), ur = /* @__PURE__ */ V({
748
+ name: "PrimitiveSlot",
749
+ inheritAttrs: !1,
750
+ setup(e, { attrs: t, slots: n }) {
751
+ return () => {
752
+ if (!n.default) return null;
753
+ const r = lt(n.default()), i = r.findIndex((f) => f.type !== sn);
754
+ if (i === -1) return r;
755
+ const o = r[i];
756
+ delete o.props?.ref;
757
+ const a = o.props ? Xe(t, o.props) : t, s = cn({
758
+ ...o,
759
+ props: {}
760
+ }, a);
761
+ return r.length === 1 ? s : (r[i] = s, r);
762
+ };
763
+ }
764
+ }), cr = [
765
+ "area",
766
+ "img",
767
+ "input"
768
+ ], we = /* @__PURE__ */ V({
769
+ name: "Primitive",
770
+ inheritAttrs: !1,
771
+ props: {
772
+ asChild: {
773
+ type: Boolean,
774
+ default: !1
775
+ },
776
+ as: {
777
+ type: [String, Object],
778
+ default: "div"
779
+ }
780
+ },
781
+ setup(e, { attrs: t, slots: n }) {
782
+ const r = e.asChild ? "template" : e.as;
783
+ return typeof r == "string" && cr.includes(r) ? () => Re(r, t) : r !== "template" ? () => Re(e.as, t, { default: n.default }) : () => Re(ur, t, { default: n.default });
784
+ }
785
+ });
786
+ function ri() {
787
+ const e = T();
788
+ return {
789
+ primitiveElement: e,
790
+ currentElement: E(() => ["#text", "#comment"].includes(e.value?.$el.nodeName) ? e.value?.$el.nextElementSibling : be(e))
791
+ };
792
+ }
793
+ var fr = "dismissableLayer.pointerDownOutside", dr = "dismissableLayer.focusOutside";
794
+ function Kt(e, t) {
795
+ if (!(t instanceof Element)) return !1;
796
+ const n = t.closest("[data-dismissable-layer]"), r = e.dataset.dismissableLayer === "" ? e : e.querySelector("[data-dismissable-layer]"), i = Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));
797
+ return !!(n && (r === n || i.indexOf(r) < i.indexOf(n)));
798
+ }
799
+ function pr(e, t, n = !0) {
800
+ const r = t?.value?.ownerDocument ?? globalThis?.document, i = T(!1), o = T(() => {
801
+ });
802
+ return ue((a) => {
803
+ if (!N || !L(n)) return;
804
+ const s = async (p) => {
805
+ const d = p.target;
806
+ if (!(!t?.value || !d)) {
807
+ if (Kt(t.value, d)) {
808
+ i.value = !1;
809
+ return;
810
+ }
811
+ if (p.target && !i.value) {
812
+ let c = function() {
813
+ Ht(fr, e, u);
814
+ };
815
+ const u = { originalEvent: p };
816
+ p.pointerType === "touch" ? (r.removeEventListener("click", o.value), o.value = c, r.addEventListener("click", o.value, { once: !0 })) : c();
817
+ } else r.removeEventListener("click", o.value);
818
+ i.value = !1;
819
+ }
820
+ }, f = window.setTimeout(() => {
821
+ r.addEventListener("pointerdown", s);
822
+ }, 0);
823
+ a(() => {
824
+ window.clearTimeout(f), r.removeEventListener("pointerdown", s), r.removeEventListener("click", o.value);
825
+ });
826
+ }), { onPointerDownCapture: () => {
827
+ L(n) && (i.value = !0);
828
+ } };
829
+ }
830
+ function vr(e, t, n = !0) {
831
+ const r = t?.value?.ownerDocument ?? globalThis?.document, i = T(!1);
832
+ return ue((o) => {
833
+ if (!N || !L(n)) return;
834
+ const a = async (s) => {
835
+ if (!t?.value) return;
836
+ await te(), await te();
837
+ const f = s.target;
838
+ !t.value || !f || Kt(t.value, f) || s.target && !i.value && Ht(dr, e, { originalEvent: s });
839
+ };
840
+ r.addEventListener("focusin", a), o(() => r.removeEventListener("focusin", a));
841
+ }), {
842
+ onFocusCapture: () => {
843
+ L(n) && (i.value = !0);
844
+ },
845
+ onBlurCapture: () => {
846
+ L(n) && (i.value = !1);
847
+ }
848
+ };
849
+ }
850
+ var oi = /* @__PURE__ */ V({
851
+ __name: "DismissableLayer",
852
+ props: {
853
+ disableOutsidePointerEvents: {
854
+ type: Boolean,
855
+ required: !1,
856
+ default: !1
857
+ },
858
+ asChild: {
859
+ type: Boolean,
860
+ required: !1
861
+ },
862
+ as: {
863
+ type: null,
864
+ required: !1
865
+ },
866
+ present: {
867
+ type: Boolean,
868
+ required: !1,
869
+ default: !0
870
+ }
871
+ },
872
+ emits: [
873
+ "escapeKeyDown",
874
+ "pointerDownOutside",
875
+ "focusOutside",
876
+ "interactOutside",
877
+ "dismiss"
878
+ ],
879
+ setup(e, { emit: t }) {
880
+ const n = e, r = t, { forwardRef: i, currentElement: o } = Fe(), a = E(() => o.value?.ownerDocument ?? globalThis.document), s = E(() => _.layersRoot), f = E(() => o.value ? Array.from(s.value).indexOf(o.value) : -1), p = E(() => _.layersWithOutsidePointerEventsDisabled.size > 0), d = E(() => {
881
+ const l = Array.from(s.value), [m] = [..._.layersWithOutsidePointerEventsDisabled].slice(-1), v = l.indexOf(m);
882
+ return f.value >= v;
883
+ }), u = pr(async (l) => {
884
+ const m = [..._.branches].some((v) => v?.contains(l.target));
885
+ !n.present || !d.value || m || (r("pointerDownOutside", l), r("interactOutside", l), await te(), l.defaultPrevented || r("dismiss"));
886
+ }, o, () => n.present), c = vr((l) => {
887
+ const m = [..._.branches].some((v) => v?.contains(l.target));
888
+ !n.present || m || (r("focusOutside", l), r("interactOutside", l), l.defaultPrevented || r("dismiss"));
889
+ }, o);
890
+ return Kn("Escape", (l) => {
891
+ n.present && f.value === s.value.size - 1 && (r("escapeKeyDown", l), l.defaultPrevented || r("dismiss"));
892
+ }), I([
893
+ o,
894
+ () => n.disableOutsidePointerEvents,
895
+ () => n.present
896
+ ], ([l, m, v], h, g) => {
897
+ !l || !v || m && (_.layersWithOutsidePointerEventsDisabled.size === 0 && (_.originalBodyPointerEvents = a.value.body.style.pointerEvents, a.value.body.style.pointerEvents = "none"), _.layersWithOutsidePointerEventsDisabled.add(l), g(() => {
898
+ _.layersWithOutsidePointerEventsDisabled.delete(l), _.layersWithOutsidePointerEventsDisabled.size === 0 && !Dn(_.originalBodyPointerEvents) && (a.value.body.style.pointerEvents = _.originalBodyPointerEvents);
899
+ }));
900
+ }, { immediate: !0 }), I([o, () => n.present], ([l, m], v, h) => {
901
+ !l || !m || (s.value.add(l), h(() => {
902
+ s.value.delete(l);
903
+ }));
904
+ }, { immediate: !0 }), ue((l) => {
905
+ l(() => {
906
+ o.value && (s.value.delete(o.value), _.layersWithOutsidePointerEventsDisabled.delete(o.value));
907
+ });
908
+ }), (l, m) => (K(), le(S(we), {
909
+ ref: S(i),
910
+ "as-child": l.asChild,
911
+ as: l.as,
912
+ "data-dismissable-layer": "",
913
+ style: $t({ pointerEvents: p.value ? d.value ? "auto" : "none" : void 0 }),
914
+ onFocusCapture: S(c).onFocusCapture,
915
+ onBlurCapture: S(c).onBlurCapture,
916
+ onPointerdownCapture: S(u).onPointerDownCapture
917
+ }, {
918
+ default: ge(() => [ne(l.$slots, "default")]),
919
+ _: 3
920
+ }, 8, [
921
+ "as-child",
922
+ "as",
923
+ "style",
924
+ "onFocusCapture",
925
+ "onBlurCapture",
926
+ "onPointerdownCapture"
927
+ ]));
928
+ }
929
+ }), mr = _n(() => T([]));
930
+ function hr() {
931
+ const e = mr();
932
+ return {
933
+ add(t) {
934
+ const n = e.value[0];
935
+ t !== n && n?.pause(), e.value = bt(e.value, t), e.value.unshift(t);
936
+ },
937
+ remove(t) {
938
+ e.value = bt(e.value, t), e.value[0]?.resume();
939
+ }
940
+ };
941
+ }
942
+ function bt(e, t) {
943
+ const n = [...e], r = n.indexOf(t);
944
+ return r !== -1 && n.splice(r, 1), n;
945
+ }
946
+ var ze = "focusScope.autoFocusOnMount", Ue = "focusScope.autoFocusOnUnmount", xt = {
947
+ bubbles: !1,
948
+ cancelable: !0
949
+ };
950
+ function yr(e, { select: t = !1 } = {}) {
951
+ const n = ee();
952
+ for (const r of e)
953
+ if (Q(r, { select: t }), ee() !== n) return !0;
954
+ }
955
+ function gr(e) {
956
+ const t = Yt(e);
957
+ return [Ot(t, e), Ot(t.reverse(), e)];
958
+ }
959
+ function Yt(e) {
960
+ const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (r) => {
961
+ const i = r.tagName === "INPUT" && r.type === "hidden";
962
+ return r.disabled || r.hidden || i ? NodeFilter.FILTER_SKIP : r.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
963
+ } });
964
+ for (; n.nextNode(); ) t.push(n.currentNode);
965
+ return t;
966
+ }
967
+ function Ot(e, t) {
968
+ for (const n of e) if (!wr(n, { upTo: t })) return n;
969
+ }
970
+ function wr(e, { upTo: t }) {
971
+ if (getComputedStyle(e).visibility === "hidden") return !0;
972
+ for (; e; ) {
973
+ if (t !== void 0 && e === t) return !1;
974
+ if (getComputedStyle(e).display === "none") return !0;
975
+ e = e.parentElement;
976
+ }
977
+ return !1;
978
+ }
979
+ function br(e) {
980
+ return e instanceof HTMLInputElement && "select" in e;
981
+ }
982
+ function Q(e, { select: t = !1 } = {}) {
983
+ if (e && e.focus) {
984
+ const n = ee();
985
+ e.focus({ preventScroll: !0 }), e !== n && br(e) && t && e.select();
986
+ }
987
+ }
988
+ var ii = /* @__PURE__ */ V({
989
+ __name: "FocusScope",
990
+ props: {
991
+ loop: {
992
+ type: Boolean,
993
+ required: !1,
994
+ default: !1
995
+ },
996
+ trapped: {
997
+ type: Boolean,
998
+ required: !1,
999
+ default: !1
1000
+ },
1001
+ present: {
1002
+ type: Boolean,
1003
+ required: !1,
1004
+ default: !0
1005
+ },
1006
+ asChild: {
1007
+ type: Boolean,
1008
+ required: !1
1009
+ },
1010
+ as: {
1011
+ type: null,
1012
+ required: !1
1013
+ }
1014
+ },
1015
+ emits: ["mountAutoFocus", "unmountAutoFocus"],
1016
+ setup(e, { emit: t }) {
1017
+ const n = e, r = t, { currentRef: i, currentElement: o } = Fe(), a = T(null), s = hr(), f = /* @__PURE__ */ Te({
1018
+ paused: !1,
1019
+ pause() {
1020
+ this.paused = !0;
1021
+ },
1022
+ resume() {
1023
+ this.paused = !1;
1024
+ }
1025
+ });
1026
+ ue((u) => {
1027
+ if (!N) return;
1028
+ const c = o.value;
1029
+ if (!n.trapped) return;
1030
+ function l(g) {
1031
+ if (f.paused || !c) return;
1032
+ const y = g.target;
1033
+ c.contains(y) ? a.value = y : Q(a.value, { select: !0 });
1034
+ }
1035
+ function m(g) {
1036
+ if (f.paused || !c) return;
1037
+ const y = g.relatedTarget;
1038
+ y !== null && (c.contains(y) || Q(a.value, { select: !0 }));
1039
+ }
1040
+ function v(g) {
1041
+ const y = a.value;
1042
+ if (y === null || !g.some((b) => b.removedNodes.length > 0)) return;
1043
+ const w = ee();
1044
+ w && c.contains(w) || c.contains(y) || Q(c);
1045
+ }
1046
+ document.addEventListener("focusin", l), document.addEventListener("focusout", m);
1047
+ const h = new MutationObserver(v);
1048
+ c && h.observe(c, {
1049
+ childList: !0,
1050
+ subtree: !0
1051
+ }), u(() => {
1052
+ document.removeEventListener("focusin", l), document.removeEventListener("focusout", m), h.disconnect();
1053
+ });
1054
+ });
1055
+ function p(u, c) {
1056
+ const l = new CustomEvent(ze, xt), m = (v) => r("mountAutoFocus", v);
1057
+ u.addEventListener(ze, m), u.dispatchEvent(l), u.removeEventListener(ze, m), l.defaultPrevented || (yr(Yt(u), { select: !0 }), ee() === c && Q(u));
1058
+ }
1059
+ ue(async (u) => {
1060
+ const c = o.value;
1061
+ if (await te(), !c) return;
1062
+ n.present !== !1 && s.add(f);
1063
+ const l = ee();
1064
+ !c.contains(l) && n.present !== !1 && p(c, l), u(() => {
1065
+ const m = new CustomEvent(Ue, xt), v = (h) => {
1066
+ r("unmountAutoFocus", h);
1067
+ };
1068
+ c.addEventListener(Ue, v), c.dispatchEvent(m), c.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
1069
+ m.defaultPrevented || Q(l ?? document.body, { select: !0 }), c.removeEventListener(Ue, v), s.remove(f), c.removeAttribute("data-focus-scope-unmounting");
1070
+ }, 0);
1071
+ });
1072
+ }), I(() => n.present, async (u, c) => {
1073
+ if (!N) return;
1074
+ if (u === !1 && c === !0) {
1075
+ s.remove(f);
1076
+ return;
1077
+ }
1078
+ if (u !== !0 || c !== !1) return;
1079
+ s.add(f), await te();
1080
+ const l = o.value;
1081
+ if (!l) return;
1082
+ const m = ee();
1083
+ l.contains(m) || p(l, m);
1084
+ });
1085
+ function d(u) {
1086
+ if (!n.loop && !n.trapped || f.paused) return;
1087
+ const c = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, l = ee();
1088
+ if (c && l) {
1089
+ const m = u.currentTarget, [v, h] = gr(m);
1090
+ v && h ? !u.shiftKey && l === h ? (u.preventDefault(), n.loop && Q(v, { select: !0 })) : u.shiftKey && l === v && (u.preventDefault(), n.loop && Q(h, { select: !0 })) : l === m && u.preventDefault();
1091
+ }
1092
+ }
1093
+ return (u, c) => (K(), le(S(we), {
1094
+ ref_key: "currentRef",
1095
+ ref: i,
1096
+ tabindex: "-1",
1097
+ "as-child": u.asChild,
1098
+ as: u.as,
1099
+ onKeydown: d
1100
+ }, {
1101
+ default: ge(() => [ne(u.$slots, "default")]),
1102
+ _: 3
1103
+ }, 8, ["as-child", "as"]));
1104
+ }
1105
+ }), ai = /* @__PURE__ */ V({
1106
+ __name: "Teleport",
1107
+ props: {
1108
+ to: {
1109
+ type: null,
1110
+ required: !1
1111
+ },
1112
+ disabled: {
1113
+ type: Boolean,
1114
+ required: !1
1115
+ },
1116
+ defer: {
1117
+ type: Boolean,
1118
+ required: !1
1119
+ },
1120
+ forceMount: {
1121
+ type: Boolean,
1122
+ required: !1
1123
+ }
1124
+ },
1125
+ setup(e) {
1126
+ const t = e, n = Le({}), r = E(() => t.to ?? n.teleportTo?.value ?? "body"), i = zn();
1127
+ return (o, a) => S(i) || o.forceMount ? (K(), le(un, {
1128
+ key: 0,
1129
+ to: r.value,
1130
+ disabled: o.disabled,
1131
+ defer: o.defer
1132
+ }, [ne(o.$slots, "default")], 8, [
1133
+ "to",
1134
+ "disabled",
1135
+ "defer"
1136
+ ])) : fn("v-if", !0);
1137
+ }
1138
+ }), si = /* @__PURE__ */ V({
1139
+ __name: "VisuallyHidden",
1140
+ props: {
1141
+ feature: {
1142
+ type: String,
1143
+ required: !1,
1144
+ default: "focusable"
1145
+ },
1146
+ asChild: {
1147
+ type: Boolean,
1148
+ required: !1
1149
+ },
1150
+ as: {
1151
+ type: null,
1152
+ required: !1,
1153
+ default: "span"
1154
+ }
1155
+ },
1156
+ setup(e) {
1157
+ return (t, n) => (K(), le(S(we), {
1158
+ as: t.as,
1159
+ "as-child": t.asChild,
1160
+ "aria-hidden": t.feature === "focusable" || t.feature === "fully-hidden" ? "true" : void 0,
1161
+ "data-hidden": t.feature === "fully-hidden" ? "" : void 0,
1162
+ tabindex: t.feature === "fully-hidden" ? "-1" : void 0,
1163
+ style: {
1164
+ position: "absolute",
1165
+ border: 0,
1166
+ width: "1px",
1167
+ height: "1px",
1168
+ padding: 0,
1169
+ margin: "-1px",
1170
+ overflow: "hidden",
1171
+ clip: "rect(0, 0, 0, 0)",
1172
+ clipPath: "inset(50%)",
1173
+ whiteSpace: "nowrap",
1174
+ wordWrap: "normal",
1175
+ top: "-1px",
1176
+ left: "-1px"
1177
+ }
1178
+ }, {
1179
+ default: ge(() => [ne(t.$slots, "default")]),
1180
+ _: 3
1181
+ }, 8, [
1182
+ "as",
1183
+ "as-child",
1184
+ "aria-hidden",
1185
+ "data-hidden",
1186
+ "tabindex"
1187
+ ]));
1188
+ }
1189
+ }), [Gt, xr] = /* @__PURE__ */ it("PopperRoot"), li = /* @__PURE__ */ V({
1190
+ inheritAttrs: !1,
1191
+ __name: "PopperRoot",
1192
+ setup(e) {
1193
+ const t = T();
1194
+ return xr({
1195
+ anchor: t,
1196
+ onAnchorChange: (n) => t.value = n
1197
+ }), (n, r) => ne(n.$slots, "default");
1198
+ }
1199
+ }), ui = /* @__PURE__ */ V({
1200
+ __name: "PopperAnchor",
1201
+ props: {
1202
+ reference: {
1203
+ type: null,
1204
+ required: !1
1205
+ },
1206
+ asChild: {
1207
+ type: Boolean,
1208
+ required: !1
1209
+ },
1210
+ as: {
1211
+ type: null,
1212
+ required: !1
1213
+ }
1214
+ },
1215
+ setup(e) {
1216
+ const t = e, { forwardRef: n, currentElement: r } = Fe(), i = Gt();
1217
+ return It(() => {
1218
+ i.onAnchorChange(t.reference ?? r.value);
1219
+ }), (o, a) => (K(), le(S(we), {
1220
+ ref: S(n),
1221
+ as: o.as,
1222
+ "as-child": o.asChild
1223
+ }, {
1224
+ default: ge(() => [ne(o.$slots, "default")]),
1225
+ _: 3
1226
+ }, 8, ["as", "as-child"]));
1227
+ }
1228
+ });
1229
+ function Or(e) {
1230
+ return e !== null;
1231
+ }
1232
+ function Er(e) {
1233
+ return {
1234
+ name: "transformOrigin",
1235
+ options: e,
1236
+ fn(t) {
1237
+ const { placement: n, rects: r, middlewareData: i } = t, o = i.arrow?.centerOffset !== 0, a = o ? 0 : e.arrowWidth, s = o ? 0 : e.arrowHeight, [f, p] = et(n), d = {
1238
+ start: e.dir === "rtl" ? "100%" : "0%",
1239
+ center: "50%",
1240
+ end: e.dir === "rtl" ? "0%" : "100%"
1241
+ }[p], u = {
1242
+ start: "0%",
1243
+ center: "50%",
1244
+ end: "100%"
1245
+ }[p], c = (i.arrow?.x ?? 0) + a / 2, l = (i.arrow?.y ?? 0) + s / 2;
1246
+ let m = "", v = "";
1247
+ return f === "bottom" ? (m = o ? d : `${c}px`, v = `${-s}px`) : f === "top" ? (m = o ? d : `${c}px`, v = `${r.floating.height + s}px`) : f === "right" ? (m = `${-s}px`, v = o ? u : `${l}px`) : f === "left" && (m = `${r.floating.width + s}px`, v = o ? u : `${l}px`), { data: {
1248
+ x: m,
1249
+ y: v
1250
+ } };
1251
+ }
1252
+ };
1253
+ }
1254
+ function et(e) {
1255
+ const [t, n = "center"] = e.split("-");
1256
+ return [t, n];
1257
+ }
1258
+ var Ar = [
1259
+ "top",
1260
+ "right",
1261
+ "bottom",
1262
+ "left"
1263
+ ], re = Math.min, Y = Math.max, Me = Math.round, Ce = Math.floor, G = (e) => ({
1264
+ x: e,
1265
+ y: e
1266
+ }), Pr = {
1267
+ left: "right",
1268
+ right: "left",
1269
+ bottom: "top",
1270
+ top: "bottom"
1271
+ };
1272
+ function Xt(e, t, n) {
1273
+ return Y(e, re(t, n));
1274
+ }
1275
+ function X(e, t) {
1276
+ return typeof e == "function" ? e(t) : e;
1277
+ }
1278
+ function oe(e) {
1279
+ return e.split("-")[0];
1280
+ }
1281
+ function xe(e) {
1282
+ return e.split("-")[1];
1283
+ }
1284
+ function ct(e) {
1285
+ return e === "x" ? "y" : "x";
1286
+ }
1287
+ function ft(e) {
1288
+ return e === "y" ? "height" : "width";
1289
+ }
1290
+ function j(e) {
1291
+ const t = e[0];
1292
+ return t === "t" || t === "b" ? "y" : "x";
1293
+ }
1294
+ function dt(e) {
1295
+ return ct(j(e));
1296
+ }
1297
+ function Sr(e, t, n) {
1298
+ n === void 0 && (n = !1);
1299
+ const r = xe(e), i = dt(e), o = ft(i);
1300
+ let a = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
1301
+ return t.reference[o] > t.floating[o] && (a = De(a)), [a, De(a)];
1302
+ }
1303
+ function Cr(e) {
1304
+ const t = De(e);
1305
+ return [
1306
+ tt(e),
1307
+ t,
1308
+ tt(t)
1309
+ ];
1310
+ }
1311
+ function tt(e) {
1312
+ return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
1313
+ }
1314
+ var Et = ["left", "right"], At = ["right", "left"], Rr = ["top", "bottom"], Tr = ["bottom", "top"];
1315
+ function Mr(e, t, n) {
1316
+ switch (e) {
1317
+ case "top":
1318
+ case "bottom":
1319
+ return n ? t ? At : Et : t ? Et : At;
1320
+ case "left":
1321
+ case "right":
1322
+ return t ? Rr : Tr;
1323
+ default:
1324
+ return [];
1325
+ }
1326
+ }
1327
+ function Dr(e, t, n, r) {
1328
+ const i = xe(e);
1329
+ let o = Mr(oe(e), n === "start", r);
1330
+ return i && (o = o.map((a) => a + "-" + i), t && (o = o.concat(o.map(tt)))), o;
1331
+ }
1332
+ function De(e) {
1333
+ const t = oe(e);
1334
+ return Pr[t] + e.slice(t.length);
1335
+ }
1336
+ function _r(e) {
1337
+ var t, n, r, i;
1338
+ return {
1339
+ top: (t = e.top) != null ? t : 0,
1340
+ right: (n = e.right) != null ? n : 0,
1341
+ bottom: (r = e.bottom) != null ? r : 0,
1342
+ left: (i = e.left) != null ? i : 0
1343
+ };
1344
+ }
1345
+ function Jt(e) {
1346
+ return typeof e != "number" ? _r(e) : {
1347
+ top: e,
1348
+ right: e,
1349
+ bottom: e,
1350
+ left: e
1351
+ };
1352
+ }
1353
+ function _e(e) {
1354
+ const { x: t, y: n, width: r, height: i } = e;
1355
+ return {
1356
+ width: r,
1357
+ height: i,
1358
+ top: n,
1359
+ left: t,
1360
+ right: t + r,
1361
+ bottom: n + i,
1362
+ x: t,
1363
+ y: n
1364
+ };
1365
+ }
1366
+ function Pt(e, t, n) {
1367
+ let { reference: r, floating: i } = e;
1368
+ const o = j(t), a = dt(t), s = ft(a), f = oe(t), p = o === "y", d = r.x + r.width / 2 - i.width / 2, u = r.y + r.height / 2 - i.height / 2, c = r[s] / 2 - i[s] / 2;
1369
+ let l;
1370
+ switch (f) {
1371
+ case "top":
1372
+ l = {
1373
+ x: d,
1374
+ y: r.y - i.height
1375
+ };
1376
+ break;
1377
+ case "bottom":
1378
+ l = {
1379
+ x: d,
1380
+ y: r.y + r.height
1381
+ };
1382
+ break;
1383
+ case "right":
1384
+ l = {
1385
+ x: r.x + r.width,
1386
+ y: u
1387
+ };
1388
+ break;
1389
+ case "left":
1390
+ l = {
1391
+ x: r.x - i.width,
1392
+ y: u
1393
+ };
1394
+ break;
1395
+ default:
1396
+ l = {
1397
+ x: r.x,
1398
+ y: r.y
1399
+ };
1400
+ }
1401
+ const m = xe(t);
1402
+ return m && (l[a] += c * (m === "end" ? 1 : -1) * (n && p ? -1 : 1)), l;
1403
+ }
1404
+ async function Lr(e, t) {
1405
+ var n;
1406
+ t === void 0 && (t = {});
1407
+ const { x: r, y: i, platform: o, rects: a, elements: s, strategy: f } = e, { boundary: p = "clippingAncestors", rootBoundary: d = "viewport", elementContext: u = "floating", altBoundary: c = !1, padding: l = 0 } = X(t, e), m = Jt(l), v = s[c ? u === "floating" ? "reference" : "floating" : u], h = _e(await o.getClippingRect({
1408
+ element: (n = await (o.isElement == null ? void 0 : o.isElement(v))) == null || n ? v : v.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
1409
+ boundary: p,
1410
+ rootBoundary: d,
1411
+ strategy: f
1412
+ })), g = u === "floating" ? {
1413
+ x: r,
1414
+ y: i,
1415
+ width: a.floating.width,
1416
+ height: a.floating.height
1417
+ } : a.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), w = await (o.isElement == null ? void 0 : o.isElement(y)) && await (o.getScale == null ? void 0 : o.getScale(y)) || {
1418
+ x: 1,
1419
+ y: 1
1420
+ }, b = _e(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
1421
+ elements: s,
1422
+ rect: g,
1423
+ offsetParent: y,
1424
+ strategy: f
1425
+ }) : g);
1426
+ return {
1427
+ top: (h.top - b.top + m.top) / w.y,
1428
+ bottom: (b.bottom - h.bottom + m.bottom) / w.y,
1429
+ left: (h.left - b.left + m.left) / w.x,
1430
+ right: (b.right - h.right + m.right) / w.x
1431
+ };
1432
+ }
1433
+ var Fr = 50, Nr = async (e, t, n) => {
1434
+ const { placement: r = "bottom", strategy: i = "absolute", middleware: o = [], platform: a } = n, s = a.detectOverflow ? a : {
1435
+ ...a,
1436
+ detectOverflow: Lr
1437
+ }, f = await (a.isRTL == null ? void 0 : a.isRTL(t));
1438
+ let p = await a.getElementRects({
1439
+ reference: e,
1440
+ floating: t,
1441
+ strategy: i
1442
+ }), { x: d, y: u } = Pt(p, r, f), c = r, l = 0;
1443
+ const m = {};
1444
+ for (let v = 0; v < o.length; v++) {
1445
+ const h = o[v];
1446
+ if (!h) continue;
1447
+ const { name: g, fn: y } = h, { x: w, y: b, data: C, reset: x } = await y({
1448
+ x: d,
1449
+ y: u,
1450
+ initialPlacement: r,
1451
+ placement: c,
1452
+ strategy: i,
1453
+ middlewareData: m,
1454
+ rects: p,
1455
+ platform: s,
1456
+ elements: {
1457
+ reference: e,
1458
+ floating: t
1459
+ }
1460
+ });
1461
+ d = w ?? d, u = b ?? u, m[g] = {
1462
+ ...m[g],
1463
+ ...C
1464
+ }, x && l < Fr && (l++, typeof x == "object" && (x.placement && (c = x.placement), x.rects && (p = x.rects === !0 ? await a.getElementRects({
1465
+ reference: e,
1466
+ floating: t,
1467
+ strategy: i
1468
+ }) : x.rects), { x: d, y: u } = Pt(p, c, f)), v = -1);
1469
+ }
1470
+ return {
1471
+ x: d,
1472
+ y: u,
1473
+ placement: c,
1474
+ strategy: i,
1475
+ middlewareData: m
1476
+ };
1477
+ }, kr = (e) => ({
1478
+ name: "arrow",
1479
+ options: e,
1480
+ async fn(t) {
1481
+ const { x: n, y: r, placement: i, rects: o, platform: a, elements: s, middlewareData: f } = t, { element: p, padding: d = 0 } = X(e, t) || {};
1482
+ if (p == null) return {};
1483
+ const u = Jt(d), c = {
1484
+ x: n,
1485
+ y: r
1486
+ }, l = dt(i), m = ft(l), v = await a.getDimensions(p), h = l === "y", g = h ? "top" : "left", y = h ? "bottom" : "right", w = h ? "clientHeight" : "clientWidth", b = o.reference[m] + o.reference[l] - c[l] - o.floating[m], C = c[l] - o.reference[l], x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(p));
1487
+ let O = x ? x[w] : 0;
1488
+ (!O || !await (a.isElement == null ? void 0 : a.isElement(x))) && (O = s.floating[w] || o.floating[m]);
1489
+ const A = b / 2 - C / 2, M = O / 2 - v[m] / 2 - 1, D = re(u[g], M), Z = re(u[y], M), ae = O - v[m] - Z, k = O / 2 - v[m] / 2 + A, R = Xt(D, k, ae), $ = !f.arrow && xe(i) != null && k !== R && o.reference[m] / 2 - (k < D ? D : Z) - v[m] / 2 < 0, B = $ ? k < D ? k - D : k - ae : 0;
1490
+ return {
1491
+ [l]: c[l] + B,
1492
+ data: {
1493
+ [l]: R,
1494
+ centerOffset: k - R - B,
1495
+ ...$ && { alignmentOffset: B }
1496
+ },
1497
+ reset: $
1498
+ };
1499
+ }
1500
+ }), $r = function(e) {
1501
+ return e === void 0 && (e = {}), {
1502
+ name: "flip",
1503
+ options: e,
1504
+ async fn(t) {
1505
+ var n, r;
1506
+ const { placement: i, middlewareData: o, rects: a, initialPlacement: s, platform: f, elements: p } = t, { mainAxis: d = !0, crossAxis: u = !0, fallbackPlacements: c, fallbackStrategy: l = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: v = !0, ...h } = X(e, t);
1507
+ if ((n = o.arrow) != null && n.alignmentOffset) return {};
1508
+ const g = oe(i), y = j(s), w = oe(s) === s, b = await (f.isRTL == null ? void 0 : f.isRTL(p.floating)), C = c || (w || !v ? [De(s)] : Cr(s)), x = m !== "none";
1509
+ !c && x && C.push(...Dr(s, v, m, b));
1510
+ const O = [s, ...C], A = await f.detectOverflow(t, h), M = [];
1511
+ let D = ((r = o.flip) == null ? void 0 : r.overflows) || [];
1512
+ if (d && M.push(A[g]), u) {
1513
+ const R = Sr(i, a, b);
1514
+ M.push(A[R[0]], A[R[1]]);
1515
+ }
1516
+ if (D = [...D, {
1517
+ placement: i,
1518
+ overflows: M
1519
+ }], !M.every((R) => R <= 0)) {
1520
+ var Z, ae;
1521
+ const R = (((Z = o.flip) == null ? void 0 : Z.index) || 0) + 1, $ = O[R];
1522
+ if ($ && (!(u === "alignment" && y !== j($)) || D.every((W) => j(W.placement) === y ? W.overflows[0] > 0 : !0)))
1523
+ return {
1524
+ data: {
1525
+ index: R,
1526
+ overflows: D
1527
+ },
1528
+ reset: { placement: $ }
1529
+ };
1530
+ let B = (ae = D.filter((W) => W.overflows[0] <= 0).sort((W, H) => W.overflows[1] - H.overflows[1])[0]) == null ? void 0 : ae.placement;
1531
+ if (!B) switch (l) {
1532
+ case "bestFit": {
1533
+ var k;
1534
+ const W = (k = D.filter((H) => {
1535
+ if (x) {
1536
+ const q = j(H.placement);
1537
+ return q === y || q === "y";
1538
+ }
1539
+ return !0;
1540
+ }).map((H) => [H.placement, H.overflows.filter((q) => q > 0).reduce((q, ve) => q + ve, 0)]).sort((H, q) => H[1] - q[1])[0]) == null ? void 0 : k[0];
1541
+ W && (B = W);
1542
+ break;
1543
+ }
1544
+ case "initialPlacement":
1545
+ B = s;
1546
+ }
1547
+ if (i !== B) return { reset: { placement: B } };
1548
+ }
1549
+ return {};
1550
+ }
1551
+ };
1552
+ };
1553
+ function St(e, t) {
1554
+ return {
1555
+ top: e.top - t.height,
1556
+ right: e.right - t.width,
1557
+ bottom: e.bottom - t.height,
1558
+ left: e.left - t.width
1559
+ };
1560
+ }
1561
+ function Ct(e) {
1562
+ return Ar.some((t) => e[t] >= 0);
1563
+ }
1564
+ var Br = function(e) {
1565
+ return e === void 0 && (e = {}), {
1566
+ name: "hide",
1567
+ options: e,
1568
+ async fn(t) {
1569
+ const { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...o } = X(e, t);
1570
+ switch (i) {
1571
+ case "referenceHidden": {
1572
+ const a = St(await r.detectOverflow(t, {
1573
+ ...o,
1574
+ elementContext: "reference"
1575
+ }), n.reference);
1576
+ return { data: {
1577
+ referenceHiddenOffsets: a,
1578
+ referenceHidden: Ct(a)
1579
+ } };
1580
+ }
1581
+ case "escaped": {
1582
+ const a = St(await r.detectOverflow(t, {
1583
+ ...o,
1584
+ altBoundary: !0
1585
+ }), n.floating);
1586
+ return { data: {
1587
+ escapedOffsets: a,
1588
+ escaped: Ct(a)
1589
+ } };
1590
+ }
1591
+ default:
1592
+ return {};
1593
+ }
1594
+ }
1595
+ };
1596
+ }, Zt = /* @__PURE__ */ new Set(["left", "top"]);
1597
+ async function Wr(e, t) {
1598
+ const { placement: n, platform: r, elements: i } = e, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), a = oe(n), s = xe(n), f = j(n) === "y", p = Zt.has(a) ? -1 : 1, d = o && f ? -1 : 1, u = X(t, e);
1599
+ let { mainAxis: c, crossAxis: l, alignmentAxis: m } = typeof u == "number" ? {
1600
+ mainAxis: u,
1601
+ crossAxis: 0,
1602
+ alignmentAxis: null
1603
+ } : {
1604
+ mainAxis: u.mainAxis || 0,
1605
+ crossAxis: u.crossAxis || 0,
1606
+ alignmentAxis: u.alignmentAxis
1607
+ };
1608
+ return s && typeof m == "number" && (l = s === "end" ? m * -1 : m), f ? {
1609
+ x: l * d,
1610
+ y: c * p
1611
+ } : {
1612
+ x: c * p,
1613
+ y: l * d
1614
+ };
1615
+ }
1616
+ var Ir = function(e) {
1617
+ return e === void 0 && (e = 0), {
1618
+ name: "offset",
1619
+ options: e,
1620
+ async fn(t) {
1621
+ var n, r;
1622
+ const { x: i, y: o, placement: a, middlewareData: s } = t, f = await Wr(t, e);
1623
+ return a === ((n = s.offset) == null ? void 0 : n.placement) && (r = s.arrow) != null && r.alignmentOffset ? {} : {
1624
+ x: i + f.x,
1625
+ y: o + f.y,
1626
+ data: {
1627
+ ...f,
1628
+ placement: a
1629
+ }
1630
+ };
1631
+ }
1632
+ };
1633
+ }, Vr = function(e) {
1634
+ return e === void 0 && (e = {}), {
1635
+ name: "shift",
1636
+ options: e,
1637
+ async fn(t) {
1638
+ const { x: n, y: r, placement: i, platform: o } = t, { mainAxis: a = !0, crossAxis: s = !1, limiter: f = { fn: (y) => {
1639
+ let { x: w, y: b } = y;
1640
+ return {
1641
+ x: w,
1642
+ y: b
1643
+ };
1644
+ } }, ...p } = X(e, t), d = {
1645
+ x: n,
1646
+ y: r
1647
+ }, u = await o.detectOverflow(t, p), c = j(i), l = ct(c);
1648
+ let m = d[l], v = d[c];
1649
+ const h = (y, w) => Xt(w + u[y === "y" ? "top" : "left"], w, w - u[y === "y" ? "bottom" : "right"]);
1650
+ a && (m = h(l, m)), s && (v = h(c, v));
1651
+ const g = f.fn({
1652
+ ...t,
1653
+ [l]: m,
1654
+ [c]: v
1655
+ });
1656
+ return {
1657
+ ...g,
1658
+ data: {
1659
+ x: g.x - n,
1660
+ y: g.y - r,
1661
+ enabled: {
1662
+ [l]: a,
1663
+ [c]: s
1664
+ }
1665
+ }
1666
+ };
1667
+ }
1668
+ };
1669
+ }, Hr = function(e) {
1670
+ return e === void 0 && (e = {}), {
1671
+ options: e,
1672
+ fn(t) {
1673
+ var n, r;
1674
+ const { x: i, y: o, placement: a, rects: s, middlewareData: f } = t, { offset: p = 0, mainAxis: d = !0, crossAxis: u = !0 } = X(e, t), c = {
1675
+ x: i,
1676
+ y: o
1677
+ }, l = j(a), m = ct(l);
1678
+ let v = c[m], h = c[l];
1679
+ const g = X(p, t), y = typeof g == "number" ? {
1680
+ mainAxis: g,
1681
+ crossAxis: 0
1682
+ } : {
1683
+ mainAxis: (n = g.mainAxis) != null ? n : 0,
1684
+ crossAxis: (r = g.crossAxis) != null ? r : 0
1685
+ };
1686
+ if (d) {
1687
+ const C = m === "y" ? "height" : "width", x = s.reference[m] - s.floating[C] + y.mainAxis, O = s.reference[m] + s.reference[C] - y.mainAxis;
1688
+ v < x ? v = x : v > O && (v = O);
1689
+ }
1690
+ if (u) {
1691
+ var w, b;
1692
+ const C = m === "y" ? "width" : "height", x = Zt.has(oe(a)), O = s.reference[l] - s.floating[C] + (x && ((w = f.offset) == null ? void 0 : w[l]) || 0) + (x ? 0 : y.crossAxis), A = s.reference[l] + s.reference[C] + (x ? 0 : ((b = f.offset) == null ? void 0 : b[l]) || 0) - (x ? y.crossAxis : 0);
1693
+ h < O ? h = O : h > A && (h = A);
1694
+ }
1695
+ return {
1696
+ [m]: v,
1697
+ [l]: h
1698
+ };
1699
+ }
1700
+ };
1701
+ }, qr = function(e) {
1702
+ return e === void 0 && (e = {}), {
1703
+ name: "size",
1704
+ options: e,
1705
+ async fn(t) {
1706
+ const { placement: n, rects: r, platform: i, elements: o } = t, { apply: a = () => {
1707
+ }, ...s } = X(e, t), f = await i.detectOverflow(t, s), p = oe(n), d = xe(n), u = j(n) === "y", { width: c, height: l } = r.floating;
1708
+ let m, v;
1709
+ p === "top" || p === "bottom" ? (m = p, v = d === (await (i.isRTL == null ? void 0 : i.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (v = p, m = d === "end" ? "top" : "bottom");
1710
+ const h = l - f.top - f.bottom, g = c - f.left - f.right, y = re(l - f[m], h), w = re(c - f[v], g), b = t.middlewareData.shift, C = !b;
1711
+ let x = y, O = w;
1712
+ b != null && b.enabled.x && (O = g), b != null && b.enabled.y && (x = h), C && !d && (u ? O = c - 2 * Y(f.left, f.right) : x = l - 2 * Y(f.top, f.bottom)), await a({
1713
+ ...t,
1714
+ availableWidth: O,
1715
+ availableHeight: x
1716
+ });
1717
+ const A = await i.getDimensions(o.floating);
1718
+ return c !== A.width || l !== A.height ? { reset: { rects: !0 } } : {};
1719
+ }
1720
+ };
1721
+ };
1722
+ function Ne() {
1723
+ return typeof window < "u";
1724
+ }
1725
+ function pe(e) {
1726
+ return pt(e) ? (e.nodeName || "").toLowerCase() : "#document";
1727
+ }
1728
+ function F(e) {
1729
+ var t;
1730
+ return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
1731
+ }
1732
+ function J(e) {
1733
+ var t;
1734
+ return (t = (pt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1735
+ }
1736
+ function pt(e) {
1737
+ return Ne() ? e instanceof Node || e instanceof F(e).Node : !1;
1738
+ }
1739
+ function z(e) {
1740
+ return Ne() ? e instanceof Element || e instanceof F(e).Element : !1;
1741
+ }
1742
+ function ie(e) {
1743
+ return Ne() ? e instanceof HTMLElement || e instanceof F(e).HTMLElement : !1;
1744
+ }
1745
+ function Rt(e) {
1746
+ return !Ne() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof F(e).ShadowRoot;
1747
+ }
1748
+ function ke(e) {
1749
+ const { overflow: t, overflowX: n, overflowY: r, display: i } = U(e);
1750
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
1751
+ }
1752
+ function jr(e) {
1753
+ return /^(table|td|th)$/.test(pe(e));
1754
+ }
1755
+ function $e(e) {
1756
+ try {
1757
+ if (e.matches(":popover-open")) return !0;
1758
+ } catch {
1759
+ }
1760
+ try {
1761
+ return e.matches(":modal");
1762
+ } catch {
1763
+ return !1;
1764
+ }
1765
+ }
1766
+ var zr = /transform|translate|scale|rotate|perspective|filter/, Ur = /paint|layout|strict|content/, se = (e) => !!e && e !== "none", Ke;
1767
+ function vt(e) {
1768
+ const t = z(e) ? U(e) : e;
1769
+ return se(t.transform) || se(t.translate) || se(t.scale) || se(t.rotate) || se(t.perspective) || !mt() && (se(t.backdropFilter) || se(t.filter)) || zr.test(t.willChange || "") || Ur.test(t.contain || "");
1770
+ }
1771
+ function Kr(e) {
1772
+ let t = ce(e);
1773
+ for (; ie(t) && !Oe(t); ) {
1774
+ if (vt(t)) return t;
1775
+ if ($e(t)) return null;
1776
+ t = ce(t);
1777
+ }
1778
+ return null;
1779
+ }
1780
+ function mt() {
1781
+ return Ke == null && (Ke = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Ke;
1782
+ }
1783
+ function Oe(e) {
1784
+ return /^(html|body|#document)$/.test(pe(e));
1785
+ }
1786
+ function U(e) {
1787
+ return F(e).getComputedStyle(e);
1788
+ }
1789
+ function Be(e) {
1790
+ return z(e) ? {
1791
+ scrollLeft: e.scrollLeft,
1792
+ scrollTop: e.scrollTop
1793
+ } : {
1794
+ scrollLeft: e.scrollX,
1795
+ scrollTop: e.scrollY
1796
+ };
1797
+ }
1798
+ function ce(e) {
1799
+ if (pe(e) === "html") return e;
1800
+ const t = e.assignedSlot || e.parentNode || Rt(e) && e.host || J(e);
1801
+ return Rt(t) ? t.host : t;
1802
+ }
1803
+ function Qt(e) {
1804
+ const t = ce(e);
1805
+ return Oe(t) ? (e.ownerDocument || e).body : ie(t) && ke(t) ? t : Qt(t);
1806
+ }
1807
+ function Ee(e, t, n) {
1808
+ var r;
1809
+ t === void 0 && (t = []), n === void 0 && (n = !0);
1810
+ const i = Qt(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), a = F(i);
1811
+ if (o) {
1812
+ const s = nt(a);
1813
+ return t.concat(a, a.visualViewport || [], ke(i) ? i : [], s && n ? Ee(s) : []);
1814
+ } else return t.concat(i, Ee(i, [], n));
1815
+ }
1816
+ function nt(e) {
1817
+ return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1818
+ }
1819
+ function en(e) {
1820
+ const t = U(e);
1821
+ let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
1822
+ const i = ie(e), o = i ? e.offsetWidth : n, a = i ? e.offsetHeight : r, s = Me(n) !== o || Me(r) !== a;
1823
+ return s && (n = o, r = a), {
1824
+ width: n,
1825
+ height: r,
1826
+ $: s
1827
+ };
1828
+ }
1829
+ function ht(e) {
1830
+ return z(e) ? e : e.contextElement;
1831
+ }
1832
+ function ye(e) {
1833
+ const t = ht(e);
1834
+ if (!ie(t)) return G(1);
1835
+ const n = t.getBoundingClientRect(), { width: r, height: i, $: o } = en(t);
1836
+ let a = (o ? Me(n.width) : n.width) / r, s = (o ? Me(n.height) : n.height) / i;
1837
+ return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
1838
+ x: a,
1839
+ y: s
1840
+ };
1841
+ }
1842
+ var Yr = /* @__PURE__ */ G(0);
1843
+ function tn(e) {
1844
+ const t = F(e);
1845
+ return !mt() || !t.visualViewport ? Yr : {
1846
+ x: t.visualViewport.offsetLeft,
1847
+ y: t.visualViewport.offsetTop
1848
+ };
1849
+ }
1850
+ function Gr(e, t, n) {
1851
+ return t === void 0 && (t = !1), !!n && t && n === F(e);
1852
+ }
1853
+ function fe(e, t, n, r) {
1854
+ t === void 0 && (t = !1), n === void 0 && (n = !1);
1855
+ const i = e.getBoundingClientRect(), o = ht(e);
1856
+ let a = G(1);
1857
+ t && (r ? z(r) && (a = ye(r)) : a = ye(e));
1858
+ const s = Gr(o, n, r) ? tn(o) : G(0);
1859
+ let f = (i.left + s.x) / a.x, p = (i.top + s.y) / a.y, d = i.width / a.x, u = i.height / a.y;
1860
+ if (o && r) {
1861
+ const c = F(o), l = z(r) ? F(r) : r;
1862
+ let m = c, v = nt(m);
1863
+ for (; v && l !== m; ) {
1864
+ const h = ye(v), g = v.getBoundingClientRect(), y = U(v), w = g.left + (v.clientLeft + parseFloat(y.paddingLeft)) * h.x, b = g.top + (v.clientTop + parseFloat(y.paddingTop)) * h.y;
1865
+ f *= h.x, p *= h.y, d *= h.x, u *= h.y, f += w, p += b, m = F(v), v = nt(m);
1866
+ }
1867
+ }
1868
+ return _e({
1869
+ width: d,
1870
+ height: u,
1871
+ x: f,
1872
+ y: p
1873
+ });
1874
+ }
1875
+ function We(e, t) {
1876
+ const n = Be(e).scrollLeft;
1877
+ return t ? t.left + n : fe(J(e)).left + n;
1878
+ }
1879
+ function nn(e, t) {
1880
+ const n = e.getBoundingClientRect();
1881
+ return {
1882
+ x: n.left + t.scrollLeft - We(e, n),
1883
+ y: n.top + t.scrollTop
1884
+ };
1885
+ }
1886
+ function Xr(e) {
1887
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e;
1888
+ const o = i === "fixed", a = J(r), s = t ? $e(t.floating) : !1;
1889
+ if (r === a || s && o) return n;
1890
+ let f = {
1891
+ scrollLeft: 0,
1892
+ scrollTop: 0
1893
+ }, p = G(1);
1894
+ const d = G(0), u = ie(r);
1895
+ if ((u || !o) && ((pe(r) !== "body" || ke(a)) && (f = Be(r)), u)) {
1896
+ const l = fe(r);
1897
+ p = ye(r), d.x = l.x + r.clientLeft, d.y = l.y + r.clientTop;
1898
+ }
1899
+ const c = a && !u && !o ? nn(a, f) : G(0);
1900
+ return {
1901
+ width: n.width * p.x,
1902
+ height: n.height * p.y,
1903
+ x: n.x * p.x - f.scrollLeft * p.x + d.x + c.x,
1904
+ y: n.y * p.y - f.scrollTop * p.y + d.y + c.y
1905
+ };
1906
+ }
1907
+ function Jr(e) {
1908
+ return e.getClientRects ? Array.from(e.getClientRects()) : [];
1909
+ }
1910
+ function Zr(e) {
1911
+ const t = Be(e), n = e.ownerDocument.body, r = Y(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Y(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
1912
+ let o = -t.scrollLeft + We(e);
1913
+ const a = -t.scrollTop;
1914
+ return U(n).direction === "rtl" && (o += Y(e.clientWidth, n.clientWidth) - r), {
1915
+ width: r,
1916
+ height: i,
1917
+ x: o,
1918
+ y: a
1919
+ };
1920
+ }
1921
+ var Qr = 25;
1922
+ function eo(e, t, n) {
1923
+ n === void 0 && (n = "viewport");
1924
+ const r = n === "layoutViewport", i = F(e), o = J(e), a = i.visualViewport;
1925
+ let s = o.clientWidth, f = o.clientHeight, p = 0, d = 0;
1926
+ if (a) {
1927
+ const u = !mt() || t === "fixed";
1928
+ r ? u || (p = -a.offsetLeft, d = -a.offsetTop) : (s = a.width, f = a.height, u && (p = a.offsetLeft, d = a.offsetTop));
1929
+ }
1930
+ if (We(o) <= 0) {
1931
+ const u = o.ownerDocument, c = u.body, l = getComputedStyle(c), m = u.compatMode === "CSS1Compat" && parseFloat(l.marginLeft) + parseFloat(l.marginRight) || 0, v = Math.abs(o.clientWidth - c.clientWidth - m), h = getComputedStyle(o).scrollbarGutter === "stable both-edges" ? v / 2 : v;
1932
+ h <= Qr && (s -= h);
1933
+ }
1934
+ return {
1935
+ width: s,
1936
+ height: f,
1937
+ x: p,
1938
+ y: d
1939
+ };
1940
+ }
1941
+ function to(e, t) {
1942
+ const n = fe(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = ye(e);
1943
+ return {
1944
+ width: e.clientWidth * o.x,
1945
+ height: e.clientHeight * o.y,
1946
+ x: i * o.x,
1947
+ y: r * o.y
1948
+ };
1949
+ }
1950
+ function Tt(e, t, n) {
1951
+ let r;
1952
+ if (t === "viewport" || t === "layoutViewport") r = eo(e, n, t);
1953
+ else if (t === "document") r = Zr(J(e));
1954
+ else if (z(t)) r = to(t, n);
1955
+ else {
1956
+ const i = tn(e);
1957
+ r = {
1958
+ x: t.x - i.x,
1959
+ y: t.y - i.y,
1960
+ width: t.width,
1961
+ height: t.height
1962
+ };
1963
+ }
1964
+ return _e(r);
1965
+ }
1966
+ function no(e, t) {
1967
+ const n = t.get(e);
1968
+ if (n) return n;
1969
+ let r = Ee(e, [], !1).filter((s) => z(s) && pe(s) !== "body"), i = null;
1970
+ const o = U(e).position === "fixed";
1971
+ let a = o ? ce(e) : e;
1972
+ for (; z(a) && !Oe(a); ) {
1973
+ const s = U(a), f = vt(a), p = i ? i.position : o ? "fixed" : "";
1974
+ !f && (p === "fixed" || p === "absolute" && s.position === "static") ? r = r.filter((d) => d !== a) : i = s, a = ce(a);
1975
+ }
1976
+ return t.set(e, r), r;
1977
+ }
1978
+ function ro(e) {
1979
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e;
1980
+ const o = [...n === "clippingAncestors" ? $e(t) ? [] : no(t, this._c) : [].concat(n), r], a = Tt(t, o[0], i);
1981
+ let s = a.top, f = a.right, p = a.bottom, d = a.left;
1982
+ for (let u = 1; u < o.length; u++) {
1983
+ const c = Tt(t, o[u], i);
1984
+ s = Y(c.top, s), f = re(c.right, f), p = re(c.bottom, p), d = Y(c.left, d);
1985
+ }
1986
+ return {
1987
+ width: f - d,
1988
+ height: p - s,
1989
+ x: d,
1990
+ y: s
1991
+ };
1992
+ }
1993
+ function oo(e) {
1994
+ const { width: t, height: n } = en(e);
1995
+ return {
1996
+ width: t,
1997
+ height: n
1998
+ };
1999
+ }
2000
+ function io(e, t, n) {
2001
+ const r = ie(t), i = J(t), o = n === "fixed", a = fe(e, !0, o, t);
2002
+ let s = {
2003
+ scrollLeft: 0,
2004
+ scrollTop: 0
2005
+ };
2006
+ const f = G(0);
2007
+ if ((r || !o) && ((pe(t) !== "body" || ke(i)) && (s = Be(t)), r)) {
2008
+ const d = fe(t, !0, o, t);
2009
+ f.x = d.x + t.clientLeft, f.y = d.y + t.clientTop;
2010
+ }
2011
+ !r && i && (f.x = We(i));
2012
+ const p = i && !r && !o ? nn(i, s) : G(0);
2013
+ return {
2014
+ x: a.left + s.scrollLeft - f.x - p.x,
2015
+ y: a.top + s.scrollTop - f.y - p.y,
2016
+ width: a.width,
2017
+ height: a.height
2018
+ };
2019
+ }
2020
+ function Ye(e) {
2021
+ return U(e).position === "static";
2022
+ }
2023
+ function Mt(e, t) {
2024
+ if (!ie(e) || U(e).position === "fixed") return null;
2025
+ if (t) return t(e);
2026
+ let n = e.offsetParent;
2027
+ return J(e) === n && (n = n.ownerDocument.body), n;
2028
+ }
2029
+ function rn(e, t) {
2030
+ const n = F(e);
2031
+ if ($e(e)) return n;
2032
+ if (!ie(e)) {
2033
+ let i = ce(e);
2034
+ for (; i && !Oe(i); ) {
2035
+ if (z(i) && !Ye(i)) return i;
2036
+ i = ce(i);
2037
+ }
2038
+ return n;
2039
+ }
2040
+ let r = Mt(e, t);
2041
+ for (; r && jr(r) && Ye(r); ) r = Mt(r, t);
2042
+ return r && Oe(r) && Ye(r) && !vt(r) ? n : r || Kr(e) || n;
2043
+ }
2044
+ var ao = async function(e) {
2045
+ const t = this.getOffsetParent || rn, n = this.getDimensions, r = await n(e.floating);
2046
+ return {
2047
+ reference: io(e.reference, await t(e.floating), e.strategy),
2048
+ floating: {
2049
+ x: 0,
2050
+ y: 0,
2051
+ width: r.width,
2052
+ height: r.height
2053
+ }
2054
+ };
2055
+ };
2056
+ function so(e) {
2057
+ return U(e).direction === "rtl";
2058
+ }
2059
+ var lo = {
2060
+ convertOffsetParentRelativeRectToViewportRelativeRect: Xr,
2061
+ getDocumentElement: J,
2062
+ getClippingRect: ro,
2063
+ getOffsetParent: rn,
2064
+ getElementRects: ao,
2065
+ getClientRects: Jr,
2066
+ getDimensions: oo,
2067
+ getScale: ye,
2068
+ isElement: z,
2069
+ isRTL: so
2070
+ };
2071
+ function on(e, t) {
2072
+ return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
2073
+ }
2074
+ function uo(e, t, n) {
2075
+ let r = null, i;
2076
+ const o = J(e);
2077
+ function a() {
2078
+ var d;
2079
+ clearTimeout(i), (d = r) == null || d.disconnect(), r = null;
2080
+ }
2081
+ function s(d, u) {
2082
+ d === void 0 && (d = !1), u === void 0 && (u = 1), a();
2083
+ const c = e.getBoundingClientRect(), { left: l, top: m, width: v, height: h } = c;
2084
+ if (d || t(), !v || !h) return;
2085
+ const g = Ce(m), y = Ce(o.clientWidth - (l + v)), w = Ce(o.clientHeight - (m + h)), b = Ce(l), C = {
2086
+ rootMargin: -g + "px " + -y + "px " + -w + "px " + -b + "px",
2087
+ threshold: Y(0, re(1, u)) || 1
2088
+ };
2089
+ let x = !0;
2090
+ function O(A) {
2091
+ const M = A[0].intersectionRatio;
2092
+ if (!on(c, e.getBoundingClientRect())) return s();
2093
+ if (M !== u) {
2094
+ if (!x) return s();
2095
+ M ? s(!1, M) : i = setTimeout(() => {
2096
+ s(!1, 1e-7);
2097
+ }, 1e3);
2098
+ }
2099
+ x = !1;
2100
+ }
2101
+ try {
2102
+ r = new IntersectionObserver(O, {
2103
+ ...C,
2104
+ root: o.ownerDocument
2105
+ });
2106
+ } catch {
2107
+ r = new IntersectionObserver(O, C);
2108
+ }
2109
+ r.observe(e);
2110
+ }
2111
+ const f = F(e), p = () => s(n);
2112
+ return f.addEventListener("resize", p), s(!0), () => {
2113
+ f.removeEventListener("resize", p), a();
2114
+ };
2115
+ }
2116
+ function co(e, t, n, r) {
2117
+ r === void 0 && (r = {});
2118
+ const { ancestorScroll: i = !0, ancestorResize: o = !0, elementResize: a = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: f = !1 } = r, p = ht(e), d = i || o ? [...p ? Ee(p) : [], ...t ? Ee(t) : []] : [];
2119
+ d.forEach((g) => {
2120
+ i && g.addEventListener("scroll", n), o && g.addEventListener("resize", n);
2121
+ });
2122
+ const u = p && s ? uo(p, n, o) : null;
2123
+ let c = -1, l = null;
2124
+ a && (l = new ResizeObserver((g) => {
2125
+ let [y] = g;
2126
+ y && y.target === p && l && t && (l.unobserve(t), cancelAnimationFrame(c), c = requestAnimationFrame(() => {
2127
+ var w;
2128
+ (w = l) == null || w.observe(t);
2129
+ })), n();
2130
+ }), p && !f && l.observe(p), t && l.observe(t));
2131
+ let m, v = f ? fe(e) : null;
2132
+ f && h();
2133
+ function h() {
2134
+ const g = fe(e);
2135
+ v && !on(v, g) && n(), v = g, m = requestAnimationFrame(h);
2136
+ }
2137
+ return n(), () => {
2138
+ var g;
2139
+ d.forEach((y) => {
2140
+ i && y.removeEventListener("scroll", n), o && y.removeEventListener("resize", n);
2141
+ }), u?.(), (g = l) == null || g.disconnect(), l = null, f && cancelAnimationFrame(m);
2142
+ };
2143
+ }
2144
+ var fo = Ir, po = Vr, Dt = $r, vo = qr, mo = Br, ho = kr, yo = Hr, go = (e, t, n) => {
2145
+ const r = /* @__PURE__ */ new Map(), i = n ?? {}, o = {
2146
+ ...lo,
2147
+ ...i.platform,
2148
+ _c: r
2149
+ };
2150
+ return Nr(e, t, {
2151
+ ...i,
2152
+ platform: o
2153
+ });
2154
+ }, P = /* @__PURE__ */ Sn({
2155
+ Vue: () => Ge,
2156
+ Vue2: () => {
2157
+ },
2158
+ del: () => Oo,
2159
+ install: () => bo,
2160
+ isVue2: () => !1,
2161
+ isVue3: () => !0,
2162
+ set: () => xo
2163
+ });
2164
+ Cn(P, wo);
2165
+ function bo() {
2166
+ }
2167
+ function xo(e, t, n) {
2168
+ return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
2169
+ }
2170
+ function Oo(e, t) {
2171
+ if (Array.isArray(e)) {
2172
+ e.splice(t, 1);
2173
+ return;
2174
+ }
2175
+ delete e[t];
2176
+ }
2177
+ function Eo(e) {
2178
+ return e != null && typeof e == "object" && "$el" in e;
2179
+ }
2180
+ function rt(e) {
2181
+ if (Eo(e)) {
2182
+ const t = e.$el;
2183
+ return pt(t) && pe(t) === "#comment" ? null : t;
2184
+ }
2185
+ return e;
2186
+ }
2187
+ function he(e) {
2188
+ return typeof e == "function" ? e() : (0, P.unref)(e);
2189
+ }
2190
+ function Ao(e) {
2191
+ return {
2192
+ name: "arrow",
2193
+ options: e,
2194
+ fn(t) {
2195
+ const n = rt(he(e.element));
2196
+ return n == null ? {} : ho({
2197
+ element: n,
2198
+ padding: e.padding
2199
+ }).fn(t);
2200
+ }
2201
+ };
2202
+ }
2203
+ function an(e) {
2204
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
2205
+ }
2206
+ function _t(e, t) {
2207
+ const n = an(e);
2208
+ return Math.round(t * n) / n;
2209
+ }
2210
+ function Po(e, t, n) {
2211
+ n === void 0 && (n = {});
2212
+ const r = n.whileElementsMounted, i = (0, P.computed)(() => {
2213
+ var O;
2214
+ return (O = he(n.open)) != null ? O : !0;
2215
+ }), o = (0, P.computed)(() => he(n.middleware)), a = (0, P.computed)(() => {
2216
+ var O;
2217
+ return (O = he(n.placement)) != null ? O : "bottom";
2218
+ }), s = (0, P.computed)(() => {
2219
+ var O;
2220
+ return (O = he(n.strategy)) != null ? O : "absolute";
2221
+ }), f = (0, P.computed)(() => {
2222
+ var O;
2223
+ return (O = he(n.transform)) != null ? O : !0;
2224
+ }), p = (0, P.computed)(() => rt(e.value)), d = (0, P.computed)(() => rt(t.value)), u = (0, P.ref)(0), c = (0, P.ref)(0), l = (0, P.ref)(s.value), m = (0, P.ref)(a.value), v = (0, P.shallowRef)({}), h = (0, P.ref)(!1), g = (0, P.computed)(() => {
2225
+ const O = {
2226
+ position: l.value,
2227
+ left: "0",
2228
+ top: "0"
2229
+ };
2230
+ if (!d.value) return O;
2231
+ const A = _t(d.value, u.value), M = _t(d.value, c.value);
2232
+ return f.value ? {
2233
+ ...O,
2234
+ transform: "translate(" + A + "px, " + M + "px)",
2235
+ ...an(d.value) >= 1.5 && { willChange: "transform" }
2236
+ } : {
2237
+ position: l.value,
2238
+ left: A + "px",
2239
+ top: M + "px"
2240
+ };
2241
+ });
2242
+ let y;
2243
+ function w() {
2244
+ if (p.value == null || d.value == null) return;
2245
+ const O = i.value;
2246
+ go(p.value, d.value, {
2247
+ middleware: o.value,
2248
+ placement: a.value,
2249
+ strategy: s.value
2250
+ }).then((A) => {
2251
+ u.value = A.x, c.value = A.y, l.value = A.strategy, m.value = A.placement, v.value = A.middlewareData, h.value = O !== !1;
2252
+ });
2253
+ }
2254
+ function b() {
2255
+ typeof y == "function" && (y(), y = void 0);
2256
+ }
2257
+ function C() {
2258
+ if (b(), r === void 0) {
2259
+ w();
2260
+ return;
2261
+ }
2262
+ if (p.value != null && d.value != null) {
2263
+ y = r(p.value, d.value, w);
2264
+ return;
2265
+ }
2266
+ }
2267
+ function x() {
2268
+ i.value || (h.value = !1);
2269
+ }
2270
+ return (0, P.watch)([
2271
+ o,
2272
+ a,
2273
+ s,
2274
+ i
2275
+ ], w, { flush: "sync" }), (0, P.watch)([p, d], C, { flush: "sync" }), (0, P.watch)(i, x, { flush: "sync" }), (0, P.getCurrentScope)() && (0, P.onScopeDispose)(b), {
2276
+ x: (0, P.shallowReadonly)(u),
2277
+ y: (0, P.shallowReadonly)(c),
2278
+ strategy: (0, P.shallowReadonly)(l),
2279
+ placement: (0, P.shallowReadonly)(m),
2280
+ middlewareData: (0, P.shallowReadonly)(v),
2281
+ isPositioned: (0, P.shallowReadonly)(h),
2282
+ floatingStyles: g,
2283
+ update: w
2284
+ };
2285
+ }
2286
+ var So = ["dir"], Co = {
2287
+ side: "bottom",
2288
+ sideOffset: 0,
2289
+ sideFlip: !0,
2290
+ align: "center",
2291
+ alignOffset: 0,
2292
+ alignFlip: !0,
2293
+ arrowPadding: 0,
2294
+ hideShiftedArrow: !0,
2295
+ avoidCollisions: !0,
2296
+ collisionBoundary: () => [],
2297
+ collisionPadding: 0,
2298
+ sticky: "partial",
2299
+ hideWhenDetached: !1,
2300
+ positionStrategy: "fixed",
2301
+ updatePositionStrategy: "optimized",
2302
+ prioritizePosition: !1
2303
+ }, [ci, Ro] = /* @__PURE__ */ it("PopperContent"), fi = /* @__PURE__ */ V({
2304
+ inheritAttrs: !1,
2305
+ __name: "PopperContent",
2306
+ props: /* @__PURE__ */ vn({
2307
+ memoDependencies: {
2308
+ type: Array,
2309
+ required: !1
2310
+ },
2311
+ side: {
2312
+ type: null,
2313
+ required: !1
2314
+ },
2315
+ sideOffset: {
2316
+ type: Number,
2317
+ required: !1
2318
+ },
2319
+ sideFlip: {
2320
+ type: Boolean,
2321
+ required: !1
2322
+ },
2323
+ align: {
2324
+ type: null,
2325
+ required: !1
2326
+ },
2327
+ alignOffset: {
2328
+ type: Number,
2329
+ required: !1
2330
+ },
2331
+ alignFlip: {
2332
+ type: Boolean,
2333
+ required: !1
2334
+ },
2335
+ avoidCollisions: {
2336
+ type: Boolean,
2337
+ required: !1
2338
+ },
2339
+ collisionBoundary: {
2340
+ type: null,
2341
+ required: !1
2342
+ },
2343
+ collisionPadding: {
2344
+ type: [Number, Object],
2345
+ required: !1
2346
+ },
2347
+ arrowPadding: {
2348
+ type: Number,
2349
+ required: !1
2350
+ },
2351
+ hideShiftedArrow: {
2352
+ type: Boolean,
2353
+ required: !1
2354
+ },
2355
+ sticky: {
2356
+ type: String,
2357
+ required: !1
2358
+ },
2359
+ hideWhenDetached: {
2360
+ type: Boolean,
2361
+ required: !1
2362
+ },
2363
+ positionStrategy: {
2364
+ type: String,
2365
+ required: !1
2366
+ },
2367
+ updatePositionStrategy: {
2368
+ type: String,
2369
+ required: !1
2370
+ },
2371
+ disableUpdateOnLayoutShift: {
2372
+ type: Boolean,
2373
+ required: !1
2374
+ },
2375
+ prioritizePosition: {
2376
+ type: Boolean,
2377
+ required: !1
2378
+ },
2379
+ reference: {
2380
+ type: null,
2381
+ required: !1
2382
+ },
2383
+ dir: {
2384
+ type: String,
2385
+ required: !1
2386
+ },
2387
+ asChild: {
2388
+ type: Boolean,
2389
+ required: !1
2390
+ },
2391
+ as: {
2392
+ type: null,
2393
+ required: !1
2394
+ }
2395
+ }, { ...Co }),
2396
+ emits: ["placed"],
2397
+ setup(e, { emit: t }) {
2398
+ const n = e, r = t, i = Gt(), { forwardRef: o, currentElement: a } = Fe(), s = Zn(E(() => n.dir)), f = T(), p = T(), { width: d, height: u } = ar(p), c = E(() => n.side + (n.align !== "center" ? `-${n.align}` : "")), l = E(() => typeof n.collisionPadding == "number" ? n.collisionPadding : {
2399
+ top: 0,
2400
+ right: 0,
2401
+ bottom: 0,
2402
+ left: 0,
2403
+ ...n.collisionPadding
2404
+ }), m = E(() => Array.isArray(n.collisionBoundary) ? n.collisionBoundary : [n.collisionBoundary]), v = E(() => ({
2405
+ padding: l.value,
2406
+ boundary: m.value.filter(Or),
2407
+ altBoundary: m.value.length > 0
2408
+ })), h = E(() => ({
2409
+ mainAxis: n.sideFlip,
2410
+ crossAxis: n.alignFlip
2411
+ })), g = E(() => [
2412
+ fo({
2413
+ mainAxis: n.sideOffset + u.value,
2414
+ alignmentAxis: n.alignOffset
2415
+ }),
2416
+ n.prioritizePosition && n.avoidCollisions && Dt({
2417
+ ...v.value,
2418
+ ...h.value
2419
+ }),
2420
+ n.avoidCollisions && po({
2421
+ mainAxis: !0,
2422
+ crossAxis: !!n.prioritizePosition,
2423
+ limiter: n.sticky === "partial" ? yo() : void 0,
2424
+ ...v.value
2425
+ }),
2426
+ !n.prioritizePosition && n.avoidCollisions && Dt({
2427
+ ...v.value,
2428
+ ...h.value
2429
+ }),
2430
+ vo({
2431
+ ...v.value,
2432
+ apply: ({ elements: R, rects: $, availableWidth: B, availableHeight: W }) => {
2433
+ const { width: H, height: q } = $.reference, ve = R.floating.style;
2434
+ ve.setProperty("--reka-popper-available-width", `${B}px`), ve.setProperty("--reka-popper-available-height", `${W}px`), ve.setProperty("--reka-popper-anchor-width", `${H}px`), ve.setProperty("--reka-popper-anchor-height", `${q}px`);
2435
+ }
2436
+ }),
2437
+ p.value && Ao({
2438
+ element: p.value,
2439
+ padding: n.arrowPadding
2440
+ }),
2441
+ Er({
2442
+ arrowWidth: d.value,
2443
+ arrowHeight: u.value,
2444
+ dir: s.value
2445
+ }),
2446
+ n.hideWhenDetached && mo({
2447
+ strategy: "referenceHidden",
2448
+ ...v.value
2449
+ })
2450
+ ]), y = E(() => n.reference ?? i.anchor.value), { floatingStyles: w, placement: b, isPositioned: C, middlewareData: x, update: O } = Po(y, f, {
2451
+ strategy: n.positionStrategy,
2452
+ placement: c,
2453
+ whileElementsMounted: (...R) => co(...R, {
2454
+ layoutShift: !n.disableUpdateOnLayoutShift,
2455
+ animationFrame: n.updatePositionStrategy === "always"
2456
+ }),
2457
+ middleware: g
2458
+ }), A = E(() => et(b.value)[0]), M = E(() => et(b.value)[1]);
2459
+ It(() => {
2460
+ C.value && r("placed");
2461
+ });
2462
+ const D = E(() => {
2463
+ const R = x.value.arrow?.centerOffset !== 0;
2464
+ return n.hideShiftedArrow && R;
2465
+ }), Z = T("");
2466
+ ue(() => {
2467
+ a.value && (Z.value = window.getComputedStyle(a.value).zIndex);
2468
+ });
2469
+ const ae = E(() => x.value.arrow?.x ?? 0), k = E(() => x.value.arrow?.y ?? 0);
2470
+ return Ro({
2471
+ placedSide: A,
2472
+ onArrowChange: (R) => p.value = R,
2473
+ arrowX: ae,
2474
+ arrowY: k,
2475
+ shouldHideArrow: D
2476
+ }), (R, $) => (K(), Ft("div", {
2477
+ ref_key: "floatingRef",
2478
+ ref: f,
2479
+ "data-reka-popper-content-wrapper": "",
2480
+ dir: S(s),
2481
+ style: $t({
2482
+ ...S(w),
2483
+ transform: S(C) ? S(w).transform : "translate(0, -200%)",
2484
+ minWidth: "max-content",
2485
+ zIndex: Z.value,
2486
+ "--reka-popper-transform-origin": [S(x).transformOrigin?.x, S(x).transformOrigin?.y].join(" "),
2487
+ ...S(x).hide?.referenceHidden && {
2488
+ visibility: "hidden",
2489
+ pointerEvents: "none"
2490
+ }
2491
+ })
2492
+ }, [n.memoDependencies ? On([
2493
+ n.asChild,
2494
+ n.as,
2495
+ A.value,
2496
+ M.value,
2497
+ S(C),
2498
+ ...Object.values(R.$attrs),
2499
+ ...n.memoDependencies
2500
+ ], () => (K(), le(S(we), Xe({
2501
+ key: 0,
2502
+ ref: S(o)
2503
+ }, R.$attrs, {
2504
+ "as-child": n.asChild,
2505
+ as: n.as,
2506
+ "data-side": A.value,
2507
+ "data-align": M.value,
2508
+ style: { animation: S(C) ? void 0 : "none" }
2509
+ }), {
2510
+ default: ge(() => [ne(R.$slots, "default")]),
2511
+ _: 3
2512
+ }, 16, [
2513
+ "as-child",
2514
+ "as",
2515
+ "data-side",
2516
+ "data-align",
2517
+ "style"
2518
+ ])), $, 0) : (K(), le(S(we), Xe({
2519
+ key: 1,
2520
+ ref: S(o)
2521
+ }, R.$attrs, {
2522
+ "as-child": n.asChild,
2523
+ as: n.as,
2524
+ "data-side": A.value,
2525
+ "data-align": M.value,
2526
+ dir: S(s),
2527
+ style: { animation: S(C) ? void 0 : "none" }
2528
+ }), {
2529
+ default: ge(() => [ne(R.$slots, "default")]),
2530
+ _: 3
2531
+ }, 16, [
2532
+ "as-child",
2533
+ "as",
2534
+ "data-side",
2535
+ "data-align",
2536
+ "dir",
2537
+ "style"
2538
+ ]))], 12, So));
2539
+ }
2540
+ });
2541
+ export {
2542
+ Ht as A,
2543
+ be as C,
2544
+ Io as D,
2545
+ N as E,
2546
+ Fo as F,
2547
+ Rn as I,
2548
+ it as M,
2549
+ No as N,
2550
+ Vo as O,
2551
+ Lo as P,
2552
+ Le as S,
2553
+ ko as T,
2554
+ Fe as _,
2555
+ ai as a,
2556
+ Xo as b,
2557
+ ri as c,
2558
+ ni as d,
2559
+ ti as f,
2560
+ er as g,
2561
+ Zo as h,
2562
+ si as i,
2563
+ ee as j,
2564
+ Dn as k,
2565
+ we as l,
2566
+ Qo as m,
2567
+ ui as n,
2568
+ ii as o,
2569
+ ei as p,
2570
+ li as r,
2571
+ oi as s,
2572
+ fi as t,
2573
+ ur as u,
2574
+ Jo as v,
2575
+ Uo as w,
2576
+ Gn as x,
2577
+ Zn as y
2578
+ };