@maildeno/editor 0.4.6 → 0.4.7

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