@kong-ui-public/app-layout 4.1.5 → 4.1.6-pr.1400.866256c4.0

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as ee, resolveComponent as be, openBlock as p, createBlock as Y, withCtx as R, renderSlot as T, createElementBlock as w, Fragment as Ce, renderList as _e, normalizeClass as ne, createTextVNode as ct, toDisplayString as X, computed as k, createSlots as Ze, createVNode as Ne, createCommentVNode as C, createElementVNode as O, createStaticVNode as mn, pushScopeId as ut, popScopeId as dt, useCssVars as ft, useSlots as ze, reactive as Pe, onMounted as Ge, resolveDynamicComponent as gn, withKeys as yn, ref as V, watch as je, onUnmounted as wn, Comment as _n, cloneVNode as kn, nextTick as Lt, onBeforeUnmount as Wt, unref as Tn, withModifiers as Sn, watchEffect as In, toRef as On } from "vue";
2
- const $n = /* @__PURE__ */ ee({
1
+ import { defineComponent as Q, resolveComponent as be, openBlock as p, createBlock as X, withCtx as R, renderSlot as T, createElementBlock as w, Fragment as Ce, renderList as _e, normalizeClass as ae, createTextVNode as ct, toDisplayString as q, computed as k, createSlots as je, createVNode as Ne, createCommentVNode as C, createElementVNode as O, createStaticVNode as mn, pushScopeId as ut, popScopeId as dt, useCssVars as ft, useSlots as Ve, reactive as Pe, onMounted as Ge, resolveDynamicComponent as gn, withKeys as yn, ref as z, watch as Ze, onUnmounted as wn, Comment as _n, cloneVNode as kn, nextTick as Lt, onBeforeUnmount as Wt, unref as Tn, withModifiers as Sn, watchEffect as In, toRef as On } from "vue";
2
+ const $n = /* @__PURE__ */ Q({
3
3
  __name: "AccountDropdown",
4
4
  props: {
5
5
  options: {
@@ -19,8 +19,8 @@ const $n = /* @__PURE__ */ ee({
19
19
  },
20
20
  setup(a) {
21
21
  return (t, r) => {
22
- const n = be("KDropdownItem"), c = be("KDropdown");
23
- return p(), Y(c, {
22
+ const n = be("KDropdownItem"), s = be("KDropdown");
23
+ return p(), X(s, {
24
24
  class: "account-dropdown",
25
25
  "kpop-attributes": { placement: "bottomStart" },
26
26
  "trigger-text": a.userInitials,
@@ -28,16 +28,16 @@ const $n = /* @__PURE__ */ ee({
28
28
  }, {
29
29
  items: R(({ handleSelection: l }) => [
30
30
  T(t.$slots, "default", {}, () => [
31
- (p(!0), w(Ce, null, _e(a.options, (o) => (p(), Y(n, {
31
+ (p(!0), w(Ce, null, _e(a.options, (o) => (p(), X(n, {
32
32
  key: o.value,
33
- class: ne({ "has-divider": o.hasDivider }),
33
+ class: ae({ "has-divider": o.hasDivider }),
34
34
  "data-testid": "select-" + o.value,
35
35
  "has-divider": o.hasDivider,
36
36
  onClick: (v) => l(o)
37
37
  }, {
38
38
  default: R(() => [
39
39
  T(t.$slots, "default", { option: o }, () => [
40
- ct(X(o.label), 1)
40
+ ct(q(o.label), 1)
41
41
  ], !0)
42
42
  ]),
43
43
  _: 2
@@ -48,12 +48,12 @@ const $n = /* @__PURE__ */ ee({
48
48
  }, 8, ["trigger-text", "width"]);
49
49
  };
50
50
  }
51
- }), te = (a, t) => {
51
+ }), ee = (a, t) => {
52
52
  const r = a.__vccOpts || a;
53
- for (const [n, c] of t)
54
- r[n] = c;
53
+ for (const [n, s] of t)
54
+ r[n] = s;
55
55
  return r;
56
- }, ji = /* @__PURE__ */ te($n, [["__scopeId", "data-v-7bab0343"]]), Cn = {
56
+ }, Zi = /* @__PURE__ */ ee($n, [["__scopeId", "data-v-7bab0343"]]), Cn = {
57
57
  class: "about-section-title",
58
58
  "data-testid": "about-section-title"
59
59
  }, En = { class: "about-section-header-end" }, Nn = {
@@ -89,7 +89,7 @@ const $n = /* @__PURE__ */ ee({
89
89
  key: 3,
90
90
  class: "about-divider-section",
91
91
  "data-testid": "about-divider-section"
92
- }, Zn = /* @__PURE__ */ ee({
92
+ }, jn = /* @__PURE__ */ Q({
93
93
  __name: "AppAboutSection",
94
94
  props: {
95
95
  title: {
@@ -123,12 +123,12 @@ const $n = /* @__PURE__ */ ee({
123
123
  },
124
124
  setup(a) {
125
125
  const t = a, r = k(() => !!t.modified && t.modified !== t.created);
126
- return (n, c) => {
126
+ return (n, s) => {
127
127
  const l = be("KSkeletonBox"), o = be("KCard");
128
- return p(), Y(o, {
128
+ return p(), X(o, {
129
129
  class: "kong-ui-app-about-section",
130
130
  "title-tag": "h2"
131
- }, Ze({
131
+ }, je({
132
132
  default: R(() => [
133
133
  a.isLoading ? (p(), w("div", Dn, [
134
134
  Ne(l, {
@@ -140,7 +140,7 @@ const $n = /* @__PURE__ */ ee({
140
140
  width: "100"
141
141
  })
142
142
  ])) : (p(), w("div", Rn, [
143
- a.description ? (p(), w("p", Bn, X(a.description), 1)) : C("", !0),
143
+ a.description ? (p(), w("p", Bn, q(a.description), 1)) : C("", !0),
144
144
  n.$slots.default ? (p(), w("div", Ln, [
145
145
  T(n.$slots, "default", {}, void 0, !0)
146
146
  ])) : C("", !0),
@@ -155,7 +155,7 @@ const $n = /* @__PURE__ */ ee({
155
155
  a.title ? {
156
156
  name: "title",
157
157
  fn: R(() => [
158
- O("span", Cn, X(a.title), 1)
158
+ O("span", Cn, q(a.title), 1)
159
159
  ]),
160
160
  key: "0"
161
161
  } : void 0,
@@ -165,11 +165,11 @@ const $n = /* @__PURE__ */ ee({
165
165
  O("div", En, [
166
166
  a.created || a.modified ? (p(), w("div", {
167
167
  key: 0,
168
- class: ne(["about-section-timestamps", { "has-actions": n.$slots.actions }])
168
+ class: ae(["about-section-timestamps", { "has-actions": n.$slots.actions }])
169
169
  }, [
170
- a.created ? (p(), w("span", Nn, X(a.createdLabel) + ": " + X(a.created), 1)) : C("", !0),
170
+ a.created ? (p(), w("span", Nn, q(a.createdLabel) + ": " + q(a.created), 1)) : C("", !0),
171
171
  a.created && r.value ? (p(), w("span", An, "->")) : C("", !0),
172
- r.value ? (p(), w("span", Fn, X(a.modifiedLabel) + ": " + X(a.modified), 1)) : C("", !0)
172
+ r.value ? (p(), w("span", Fn, q(a.modifiedLabel) + ": " + q(a.modified), 1)) : C("", !0)
173
173
  ], 2)) : C("", !0),
174
174
  n.$slots.actions ? (p(), w("div", xn, [
175
175
  T(n.$slots, "actions", {}, void 0, !0)
@@ -181,7 +181,7 @@ const $n = /* @__PURE__ */ ee({
181
181
  ]), 1024);
182
182
  };
183
183
  }
184
- }), Ki = /* @__PURE__ */ te(Zn, [["__scopeId", "data-v-521dcc27"]]), jn = {}, Kn = {
184
+ }), Ki = /* @__PURE__ */ ee(jn, [["__scopeId", "data-v-521dcc27"]]), Zn = {}, Kn = {
185
185
  fill: "none",
186
186
  height: "130",
187
187
  width: "130",
@@ -192,16 +192,16 @@ const $n = /* @__PURE__ */ ee({
192
192
  function Wn(a, t) {
193
193
  return p(), w("svg", Kn, Un);
194
194
  }
195
- const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cbccc66"), a = a(), dt(), a), zn = { class: "kong-ui-app-error" }, Gn = { class: "banana-icon" }, qn = { class: "kong-ui-app-error-content" }, Xn = /* @__PURE__ */ Vt(() => /* @__PURE__ */ O("h2", null, "An unexpected error has occurred", -1)), Yn = /* @__PURE__ */ Vt(() => /* @__PURE__ */ O("p", null, [
195
+ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cbccc66"), a = a(), dt(), a), Vn = { class: "kong-ui-app-error" }, Gn = { class: "banana-icon" }, qn = { class: "kong-ui-app-error-content" }, Xn = /* @__PURE__ */ zt(() => /* @__PURE__ */ O("h2", null, "An unexpected error has occurred", -1)), Yn = /* @__PURE__ */ zt(() => /* @__PURE__ */ O("p", null, [
196
196
  /* @__PURE__ */ ct("Go back to the previous page or "),
197
197
  /* @__PURE__ */ O("a", { href: "/" }, "return home"),
198
198
  /* @__PURE__ */ ct(".")
199
- ], -1)), Jn = /* @__PURE__ */ ee({
199
+ ], -1)), Jn = /* @__PURE__ */ Q({
200
200
  __name: "AppError",
201
201
  setup(a) {
202
- return (t, r) => (p(), w("section", zn, [
202
+ return (t, r) => (p(), w("section", Vn, [
203
203
  O("div", Gn, [
204
- Ne(Vn)
204
+ Ne(zn)
205
205
  ]),
206
206
  O("div", qn, [
207
207
  T(t.$slots, "default", {}, () => [
@@ -211,10 +211,10 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
211
211
  ])
212
212
  ]));
213
213
  }
214
- }), Hi = /* @__PURE__ */ te(Jn, [["__scopeId", "data-v-5cbccc66"]]), Qn = { class: "kong-ui-app-navbar" }, er = { class: "header-content" }, tr = { class: "mobile-header-left" }, ar = {
214
+ }), Hi = /* @__PURE__ */ ee(Jn, [["__scopeId", "data-v-5cbccc66"]]), Qn = { class: "kong-ui-app-navbar" }, er = { class: "header-content" }, tr = { class: "mobile-header-left" }, ar = {
215
215
  key: 0,
216
216
  class: "app-navbar-logo"
217
- }, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ ee({
217
+ }, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ Q({
218
218
  __name: "AppNavbar",
219
219
  props: {
220
220
  topOffset: {
@@ -236,16 +236,16 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
236
236
  d96d0598: l.value.top,
237
237
  "05b18f8e": l.value.zIndex,
238
238
  "543b3ff0": l.value.left,
239
- "247c8fd0": c.marginRight,
240
- "278e63f0": c.width
239
+ "247c8fd0": s.marginRight,
240
+ "278e63f0": s.width
241
241
  }));
242
- const t = a, r = ze(), n = k(() => !!r.logo), c = Pe({
242
+ const t = a, r = Ve(), n = k(() => !!r.logo), s = Pe({
243
243
  marginRight: "0",
244
244
  width: "0"
245
245
  });
246
246
  Ge(() => {
247
247
  var o, v;
248
- (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
248
+ (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
249
249
  });
250
250
  const l = k(() => ({
251
251
  top: t.topOffset ? `${t.topOffset}px` : "0",
@@ -275,7 +275,7 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
275
275
  ])
276
276
  ]));
277
277
  }
278
- }), cr = /* @__PURE__ */ te(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ ee({
278
+ }), cr = /* @__PURE__ */ ee(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ Q({
279
279
  __name: "ItemBadge",
280
280
  props: {
281
281
  count: {
@@ -286,19 +286,19 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
286
286
  },
287
287
  setup(a) {
288
288
  const t = a, r = k(() => t.count ? t.count > ot ? `${ot}+` : t.count.toString() : "");
289
- return (n, c) => r.value ? (p(), w("div", {
289
+ return (n, s) => r.value ? (p(), w("div", {
290
290
  key: 0,
291
291
  class: "item-badge",
292
292
  title: (a.count || 0) > ot ? String(a.count) : void 0
293
- }, X(r.value), 9, lr)) : C("", !0);
293
+ }, q(r.value), 9, lr)) : C("", !0);
294
294
  }
295
- }), dr = /* @__PURE__ */ te(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
295
+ }), dr = /* @__PURE__ */ ee(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
296
296
  key: 0,
297
297
  class: "sidebar-item-icon"
298
298
  }, hr = { class: "sidebar-item-name-container" }, pr = { class: "sidebar-item-name has-tooltip" }, mr = {
299
299
  key: 2,
300
300
  class: "sidebar-item-label truncate-text truncate-18"
301
- }, gr = ["id"], yr = /* @__PURE__ */ ee({
301
+ }, gr = ["id"], yr = /* @__PURE__ */ Q({
302
302
  __name: "SidebarItem",
303
303
  props: {
304
304
  item: {
@@ -313,36 +313,36 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
313
313
  },
314
314
  emits: ["click"],
315
315
  setup(a, { emit: t }) {
316
- const r = t, n = a, c = k(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), l = k(() => !n.item.to || typeof n.item.to != "string" || !n.item.newWindow ? !1 : n.item.newWindow && (n.item.to.startsWith("http") || n.item.to.startsWith("/"))), o = k(() => n.subnavItem && n.item.badgeCount !== void 0), v = (S) => {
316
+ const r = t, n = a, s = k(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), l = k(() => !n.item.to || typeof n.item.to != "string" || !n.item.newWindow ? !1 : n.item.newWindow && (n.item.to.startsWith("http") || n.item.to.startsWith("/"))), o = k(() => n.subnavItem && n.item.badgeCount !== void 0), v = (S) => {
317
317
  r("click", S);
318
318
  }, m = (S, A, N) => {
319
319
  v(A), typeof N == "function" && (S.preventDefault(), N());
320
320
  };
321
321
  return (S, A) => {
322
- var P;
322
+ var M;
323
323
  const N = be("KTooltip"), x = be("SidebarItem", !0);
324
324
  return p(), w("li", {
325
- class: ne([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
325
+ class: ae([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
326
326
  "data-testid": a.item.testId ? `sidebar-item-${a.item.testId}` : void 0
327
327
  }, [
328
- (p(), Y(gn(c.value ? "div" : "router-link"), {
329
- custom: c.value ? void 0 : !0,
330
- to: !c.value && !l.value ? a.item.to : void 0
328
+ (p(), X(gn(s.value ? "div" : "router-link"), {
329
+ custom: s.value ? void 0 : !0,
330
+ to: !s.value && !l.value ? a.item.to : void 0
331
331
  }, {
332
332
  default: R((_) => {
333
- var Z, G;
333
+ var P, G;
334
334
  return [
335
335
  O("a", {
336
- "aria-controls": (Z = a.item.items) != null && Z.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
336
+ "aria-controls": (P = a.item.items) != null && P.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
337
337
  "aria-expanded": (G = a.item.items) != null && G.length && a.item.expanded ? !0 : void 0,
338
- class: ne(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !c.value }]),
339
- href: c.value ? String(a.item.to || "#") : _ == null ? void 0 : _.href,
338
+ class: ae(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !s.value }]),
339
+ href: s.value ? String(a.item.to || "#") : _ == null ? void 0 : _.href,
340
340
  target: l.value ? "_blank" : void 0,
341
341
  onClick: (B) => m(B, a.item, _ == null ? void 0 : _.navigate),
342
342
  onKeypress: yn((B) => m(B, a.item, _ == null ? void 0 : _.navigate), ["enter"])
343
343
  }, [
344
344
  O("div", {
345
- class: ne(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
345
+ class: ae(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
346
346
  }, [
347
347
  S.$slots[`sidebar-icon-${a.item.key}`] ? (p(), w("div", br, [
348
348
  a.subnavItem ? C("", !0) : T(S.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
@@ -350,8 +350,8 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
350
350
  O("div", hr, [
351
351
  (a.subnavItem ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), w("div", {
352
352
  key: 0,
353
- class: ne(["sidebar-item-name truncate-text", [a.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
354
- }, X(a.item.name), 3)) : (p(), Y(N, {
353
+ class: ae(["sidebar-item-name truncate-text", [a.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
354
+ }, q(a.item.name), 3)) : (p(), X(N, {
355
355
  key: 1,
356
356
  class: "sidebar-item-tooltip",
357
357
  placement: "right",
@@ -361,15 +361,15 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
361
361
  default: R(() => [
362
362
  O("div", pr, [
363
363
  O("span", {
364
- class: ne(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
365
- }, X(a.item.name), 3)
364
+ class: ae(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
365
+ }, q(a.item.name), 3)
366
366
  ])
367
367
  ]),
368
368
  _: 1
369
369
  }, 8, ["text"])),
370
- a.item.label && a.item.expanded ? (p(), w("div", mr, X(a.item.label), 1)) : C("", !0)
370
+ a.item.label && a.item.expanded ? (p(), w("div", mr, q(a.item.label), 1)) : C("", !0)
371
371
  ]),
372
- o.value ? (p(), Y(dr, {
372
+ o.value ? (p(), X(dr, {
373
373
  key: 1,
374
374
  count: a.item.badgeCount
375
375
  }, null, 8, ["count"])) : C("", !0)
@@ -379,27 +379,27 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
379
379
  }),
380
380
  _: 3
381
381
  }, 8, ["custom", "to"])),
382
- (P = a.item.items) != null && P.length && a.item.expanded ? (p(), w("ul", {
382
+ (M = a.item.items) != null && M.length && a.item.expanded ? (p(), w("ul", {
383
383
  key: 0,
384
384
  id: `subnav-${a.item.key}`,
385
385
  class: "level-secondary"
386
386
  }, [
387
- (p(!0), w(Ce, null, _e(a.item.items, (_) => (p(), Y(x, {
387
+ (p(!0), w(Ce, null, _e(a.item.items, (_) => (p(), X(x, {
388
388
  key: _.name,
389
389
  item: _,
390
390
  "subnav-item": !0,
391
- onClick: (Z) => v(_)
391
+ onClick: (P) => v(_)
392
392
  }, null, 8, ["item", "onClick"]))), 128))
393
393
  ], 8, gr)) : C("", !0)
394
394
  ], 10, fr);
395
395
  };
396
396
  }
397
- }), Mt = /* @__PURE__ */ te(yr, [["__scopeId", "data-v-e8ad3db8"]]);
397
+ }), Mt = /* @__PURE__ */ ee(yr, [["__scopeId", "data-v-e8ad3db8"]]);
398
398
  /*!
399
399
  * tabbable 6.2.0
400
400
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
401
401
  */
402
- var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ke = /* @__PURE__ */ zt.join(","), Gt = typeof Element > "u", he = Gt ? function() {
402
+ var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ke = /* @__PURE__ */ Vt.join(","), Gt = typeof Element > "u", he = Gt ? function() {
403
403
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, He = !Gt && Element.prototype.getRootNode ? function(a) {
404
404
  var t;
405
405
  return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
@@ -408,7 +408,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
408
408
  }, Ue = function a(t, r) {
409
409
  var n;
410
410
  r === void 0 && (r = !0);
411
- var c = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), l = c === "" || c === "true", o = l || r && t && a(t.parentNode);
411
+ var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), l = s === "" || s === "true", o = l || r && t && a(t.parentNode);
412
412
  return o;
413
413
  }, wr = function(t) {
414
414
  var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
@@ -416,34 +416,34 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
416
416
  }, qt = function(t, r, n) {
417
417
  if (Ue(t))
418
418
  return [];
419
- var c = Array.prototype.slice.apply(t.querySelectorAll(Ke));
420
- return r && he.call(t, Ke) && c.unshift(t), c = c.filter(n), c;
419
+ var s = Array.prototype.slice.apply(t.querySelectorAll(Ke));
420
+ return r && he.call(t, Ke) && s.unshift(t), s = s.filter(n), s;
421
421
  }, Xt = function a(t, r, n) {
422
- for (var c = [], l = Array.from(t); l.length; ) {
422
+ for (var s = [], l = Array.from(t); l.length; ) {
423
423
  var o = l.shift();
424
424
  if (!Ue(o, !1))
425
425
  if (o.tagName === "SLOT") {
426
426
  var v = o.assignedElements(), m = v.length ? v : o.children, S = a(m, !0, n);
427
- n.flatten ? c.push.apply(c, S) : c.push({
427
+ n.flatten ? s.push.apply(s, S) : s.push({
428
428
  scopeParent: o,
429
429
  candidates: S
430
430
  });
431
431
  } else {
432
432
  var A = he.call(o, Ke);
433
- A && n.filter(o) && (r || !t.includes(o)) && c.push(o);
433
+ A && n.filter(o) && (r || !t.includes(o)) && s.push(o);
434
434
  var N = o.shadowRoot || // check for an undisclosed shadow
435
435
  typeof n.getShadowRoot == "function" && n.getShadowRoot(o), x = !Ue(N, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
436
436
  if (N && x) {
437
- var P = a(N === !0 ? o.children : N.children, !0, n);
438
- n.flatten ? c.push.apply(c, P) : c.push({
437
+ var M = a(N === !0 ? o.children : N.children, !0, n);
438
+ n.flatten ? s.push.apply(s, M) : s.push({
439
439
  scopeParent: o,
440
- candidates: P
440
+ candidates: M
441
441
  });
442
442
  } else
443
443
  l.unshift.apply(l, o.children);
444
444
  }
445
445
  }
446
- return c;
446
+ return s;
447
447
  }, Yt = function(t) {
448
448
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
449
449
  }, ve = function(t) {
@@ -473,46 +473,46 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
473
473
  return !0;
474
474
  var r = t.form || He(t), n = function(v) {
475
475
  return r.querySelectorAll('input[type="radio"][name="' + v + '"]');
476
- }, c;
476
+ }, s;
477
477
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
478
- c = n(window.CSS.escape(t.name));
478
+ s = n(window.CSS.escape(t.name));
479
479
  else
480
480
  try {
481
- c = n(t.name);
481
+ s = n(t.name);
482
482
  } catch (o) {
483
483
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
484
484
  }
485
- var l = Ir(c, t.form);
485
+ var l = Ir(s, t.form);
486
486
  return !l || l === t;
487
487
  }, $r = function(t) {
488
488
  return Jt(t) && t.type === "radio";
489
489
  }, Cr = function(t) {
490
490
  return $r(t) && !Or(t);
491
491
  }, Er = function(t) {
492
- var r, n = t && He(t), c = (r = n) === null || r === void 0 ? void 0 : r.host, l = !1;
492
+ var r, n = t && He(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, l = !1;
493
493
  if (n && n !== t) {
494
494
  var o, v, m;
495
- for (l = !!((o = c) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(c) || t != null && (m = t.ownerDocument) !== null && m !== void 0 && m.contains(t)); !l && c; ) {
495
+ for (l = !!((o = s) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(s) || t != null && (m = t.ownerDocument) !== null && m !== void 0 && m.contains(t)); !l && s; ) {
496
496
  var S, A, N;
497
- n = He(c), c = (S = n) === null || S === void 0 ? void 0 : S.host, l = !!((A = c) !== null && A !== void 0 && (N = A.ownerDocument) !== null && N !== void 0 && N.contains(c));
497
+ n = He(s), s = (S = n) === null || S === void 0 ? void 0 : S.host, l = !!((A = s) !== null && A !== void 0 && (N = A.ownerDocument) !== null && N !== void 0 && N.contains(s));
498
498
  }
499
499
  }
500
500
  return l;
501
501
  }, Pt = function(t) {
502
- var r = t.getBoundingClientRect(), n = r.width, c = r.height;
503
- return n === 0 && c === 0;
502
+ var r = t.getBoundingClientRect(), n = r.width, s = r.height;
503
+ return n === 0 && s === 0;
504
504
  }, Nr = function(t, r) {
505
- var n = r.displayCheck, c = r.getShadowRoot;
505
+ var n = r.displayCheck, s = r.getShadowRoot;
506
506
  if (getComputedStyle(t).visibility === "hidden")
507
507
  return !0;
508
508
  var l = he.call(t, "details>summary:first-of-type"), o = l ? t.parentElement : t;
509
509
  if (he.call(o, "details:not([open]) *"))
510
510
  return !0;
511
511
  if (!n || n === "full" || n === "legacy-full") {
512
- if (typeof c == "function") {
512
+ if (typeof s == "function") {
513
513
  for (var v = t; t; ) {
514
514
  var m = t.parentElement, S = He(t);
515
- if (m && !m.shadowRoot && c(m) === !0)
515
+ if (m && !m.shadowRoot && s(m) === !0)
516
516
  return Pt(t);
517
517
  t.assignedSlot ? t = t.assignedSlot : !m && S !== t.ownerDocument ? t = S.host : t = m;
518
518
  }
@@ -530,9 +530,9 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
530
530
  for (var r = t.parentElement; r; ) {
531
531
  if (r.tagName === "FIELDSET" && r.disabled) {
532
532
  for (var n = 0; n < r.children.length; n++) {
533
- var c = r.children.item(n);
534
- if (c.tagName === "LEGEND")
535
- return he.call(r, "fieldset[disabled] *") ? !0 : !c.contains(t);
533
+ var s = r.children.item(n);
534
+ if (s.tagName === "LEGEND")
535
+ return he.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
536
536
  }
537
537
  return !0;
538
538
  }
@@ -552,17 +552,17 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
552
552
  return !!(isNaN(r) || r >= 0);
553
553
  }, xr = function a(t) {
554
554
  var r = [], n = [];
555
- return t.forEach(function(c, l) {
556
- var o = !!c.scopeParent, v = o ? c.scopeParent : c, m = _r(v, o), S = o ? a(c.candidates) : v;
555
+ return t.forEach(function(s, l) {
556
+ var o = !!s.scopeParent, v = o ? s.scopeParent : s, m = _r(v, o), S = o ? a(s.candidates) : v;
557
557
  m === 0 ? o ? r.push.apply(r, S) : r.push(v) : n.push({
558
558
  documentOrder: l,
559
559
  tabIndex: m,
560
- item: c,
560
+ item: s,
561
561
  isScope: o,
562
562
  content: S
563
563
  });
564
- }), n.sort(kr).reduce(function(c, l) {
565
- return l.isScope ? c.push.apply(c, l.content) : c.push(l.content), c;
564
+ }), n.sort(kr).reduce(function(s, l) {
565
+ return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
566
566
  }, []).concat(r);
567
567
  }, Dr = function(t, r) {
568
568
  r = r || {};
@@ -585,7 +585,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
585
585
  if (r = r || {}, !t)
586
586
  throw new Error("No node provided");
587
587
  return he.call(t, Ke) === !1 ? !1 : lt(r, t);
588
- }, Br = /* @__PURE__ */ zt.concat("iframe").join(","), st = function(t, r) {
588
+ }, Br = /* @__PURE__ */ Vt.concat("iframe").join(","), st = function(t, r) {
589
589
  if (r = r || {}, !t)
590
590
  throw new Error("No node provided");
591
591
  return he.call(t, Br) === !1 ? !1 : We(r, t);
@@ -594,22 +594,22 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
594
594
  * focus-trap 7.5.4
595
595
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
596
596
  */
597
- function Zt(a, t) {
597
+ function jt(a, t) {
598
598
  var r = Object.keys(a);
599
599
  if (Object.getOwnPropertySymbols) {
600
600
  var n = Object.getOwnPropertySymbols(a);
601
- t && (n = n.filter(function(c) {
602
- return Object.getOwnPropertyDescriptor(a, c).enumerable;
601
+ t && (n = n.filter(function(s) {
602
+ return Object.getOwnPropertyDescriptor(a, s).enumerable;
603
603
  })), r.push.apply(r, n);
604
604
  }
605
605
  return r;
606
606
  }
607
- function jt(a) {
607
+ function Zt(a) {
608
608
  for (var t = 1; t < arguments.length; t++) {
609
609
  var r = arguments[t] != null ? arguments[t] : {};
610
- t % 2 ? Zt(Object(r), !0).forEach(function(n) {
610
+ t % 2 ? jt(Object(r), !0).forEach(function(n) {
611
611
  Lr(a, n, r[n]);
612
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Zt(Object(r)).forEach(function(n) {
612
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : jt(Object(r)).forEach(function(n) {
613
613
  Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(r, n));
614
614
  });
615
615
  }
@@ -645,16 +645,16 @@ var Kt = {
645
645
  var n = t[t.length - 1];
646
646
  n !== r && n.pause();
647
647
  }
648
- var c = t.indexOf(r);
649
- c === -1 || t.splice(c, 1), t.push(r);
648
+ var s = t.indexOf(r);
649
+ s === -1 || t.splice(s, 1), t.push(r);
650
650
  },
651
651
  deactivateTrap: function(t, r) {
652
652
  var n = t.indexOf(r);
653
653
  n !== -1 && t.splice(n, 1), t.length > 0 && t[t.length - 1].unpause();
654
654
  }
655
- }, Zr = function(t) {
656
- return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
657
655
  }, jr = function(t) {
656
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
657
+ }, Zr = function(t) {
658
658
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
659
659
  }, Ee = function(t) {
660
660
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
@@ -666,17 +666,17 @@ var Kt = {
666
666
  return setTimeout(t, 0);
667
667
  }, Ut = function(t, r) {
668
668
  var n = -1;
669
- return t.every(function(c, l) {
670
- return r(c) ? (n = l, !1) : !0;
669
+ return t.every(function(s, l) {
670
+ return r(s) ? (n = l, !1) : !0;
671
671
  }), n;
672
672
  }, $e = function(t) {
673
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
674
- n[c - 1] = arguments[c];
673
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
674
+ n[s - 1] = arguments[s];
675
675
  return typeof t == "function" ? t.apply(void 0, n) : t;
676
676
  }, Le = function(t) {
677
677
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
678
678
  }, Ur = [], Wr = function(t, r) {
679
- var n = (r == null ? void 0 : r.document) || document, c = (r == null ? void 0 : r.trapStack) || Ur, l = jt({
679
+ var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ur, l = Zt({
680
680
  returnFocusOnDeactivate: !0,
681
681
  escapeDeactivates: !0,
682
682
  delayInitialFocus: !0,
@@ -723,20 +723,20 @@ var Kt = {
723
723
  }, S = function(d, u) {
724
724
  var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
725
725
  return o.containerGroups.findIndex(function(y) {
726
- var h = y.container, $ = y.tabbableNodes;
727
- return h.contains(d) || // fall back to explicit tabbable search which will take into consideration any
726
+ var b = y.container, $ = y.tabbableNodes;
727
+ return b.contains(d) || // fall back to explicit tabbable search which will take into consideration any
728
728
  // web components if the `tabbableOptions.getShadowRoot` option was used for
729
729
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
730
730
  // look inside web components even if open)
731
- (f == null ? void 0 : f.includes(h)) || $.find(function(F) {
731
+ (f == null ? void 0 : f.includes(b)) || $.find(function(F) {
732
732
  return F === d;
733
733
  });
734
734
  });
735
735
  }, A = function(d) {
736
736
  var u = l[d];
737
737
  if (typeof u == "function") {
738
- for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), h = 1; h < f; h++)
739
- y[h - 1] = arguments[h];
738
+ for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), b = 1; b < f; b++)
739
+ y[b - 1] = arguments[b];
740
740
  u = u.apply(void 0, y);
741
741
  }
742
742
  if (u === !0 && (u = void 0), !u) {
@@ -764,7 +764,7 @@ var Kt = {
764
764
  return d;
765
765
  }, x = function() {
766
766
  if (o.containerGroups = o.containers.map(function(d) {
767
- var u = Dr(d, l.tabbableOptions), f = Rr(d, l.tabbableOptions), y = u.length > 0 ? u[0] : void 0, h = u.length > 0 ? u[u.length - 1] : void 0, $ = f.find(function(g) {
767
+ var u = Dr(d, l.tabbableOptions), f = Rr(d, l.tabbableOptions), y = u.length > 0 ? u[0] : void 0, b = u.length > 0 ? u[u.length - 1] : void 0, $ = f.find(function(g) {
768
768
  return we(g);
769
769
  }), F = f.slice().reverse().find(function(g) {
770
770
  return we(g);
@@ -780,7 +780,7 @@ var Kt = {
780
780
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
781
781
  firstTabbableNode: y,
782
782
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
783
- lastTabbableNode: h,
783
+ lastTabbableNode: b,
784
784
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
785
785
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
786
786
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -800,11 +800,11 @@ var Kt = {
800
800
  * in reverse.
801
801
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
802
802
  */
803
- nextTabbableNode: function(re) {
804
- var le = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = u.indexOf(re);
805
- return L < 0 ? le ? f.slice(f.indexOf(re) + 1).find(function(se) {
803
+ nextTabbableNode: function(ne) {
804
+ var le = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = u.indexOf(ne);
805
+ return L < 0 ? le ? f.slice(f.indexOf(ne) + 1).find(function(se) {
806
806
  return we(se);
807
- }) : f.slice(0, f.indexOf(re)).reverse().find(function(se) {
807
+ }) : f.slice(0, f.indexOf(ne)).reverse().find(function(se) {
808
808
  return we(se);
809
809
  }) : u[L + (le ? 1 : -1)];
810
810
  }
@@ -817,38 +817,38 @@ var Kt = {
817
817
  return d.posTabIndexesFound;
818
818
  }) && o.containerGroups.length > 1)
819
819
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
820
- }, P = function I(d) {
820
+ }, M = function I(d) {
821
821
  var u = d.activeElement;
822
822
  if (u)
823
823
  return u.shadowRoot && u.shadowRoot.activeElement !== null ? I(u.shadowRoot) : u;
824
824
  }, _ = function I(d) {
825
- if (d !== !1 && d !== P(document)) {
825
+ if (d !== !1 && d !== M(document)) {
826
826
  if (!d || !d.focus) {
827
827
  I(N());
828
828
  return;
829
829
  }
830
830
  d.focus({
831
831
  preventScroll: !!l.preventScroll
832
- }), o.mostRecentlyFocusedNode = d, Zr(d) && d.select();
832
+ }), o.mostRecentlyFocusedNode = d, jr(d) && d.select();
833
833
  }
834
- }, Z = function(d) {
834
+ }, P = function(d) {
835
835
  var u = A("setReturnFocus", d);
836
836
  return u || (u === !1 ? !1 : d);
837
837
  }, G = function(d) {
838
- var u = d.target, f = d.event, y = d.isBackward, h = y === void 0 ? !1 : y;
838
+ var u = d.target, f = d.event, y = d.isBackward, b = y === void 0 ? !1 : y;
839
839
  u = u || Le(f), x();
840
840
  var $ = null;
841
841
  if (o.tabbableGroups.length > 0) {
842
842
  var F = S(u, f), D = F >= 0 ? o.containerGroups[F] : void 0;
843
843
  if (F < 0)
844
- h ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
845
- else if (h) {
844
+ b ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
845
+ else if (b) {
846
846
  var g = Ut(o.tabbableGroups, function(Te) {
847
847
  var Se = Te.firstTabbableNode;
848
848
  return u === Se;
849
849
  });
850
850
  if (g < 0 && (D.container === u || st(u, l.tabbableOptions) && !we(u, l.tabbableOptions) && !D.nextTabbableNode(u, !1)) && (g = F), g >= 0) {
851
- var re = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[re];
851
+ var ne = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[ne];
852
852
  $ = ve(u) >= 0 ? le.lastTabbableNode : le.lastDomTabbableNode;
853
853
  } else
854
854
  Ee(f) || ($ = D.nextTabbableNode(u, !1));
@@ -883,13 +883,13 @@ var Kt = {
883
883
  }
884
884
  $e(l.allowOutsideClick, d) || d.preventDefault();
885
885
  }
886
- }, ae = function(d) {
886
+ }, te = function(d) {
887
887
  var u = Le(d), f = S(u, d) >= 0;
888
888
  if (f || u instanceof Document)
889
889
  f && (o.mostRecentlyFocusedNode = u);
890
890
  else {
891
891
  d.stopImmediatePropagation();
892
- var y, h = !0;
892
+ var y, b = !0;
893
893
  if (o.mostRecentlyFocusedNode)
894
894
  if (ve(o.mostRecentlyFocusedNode) > 0) {
895
895
  var $ = S(o.mostRecentlyFocusedNode), F = o.containerGroups[$].tabbableNodes;
@@ -897,17 +897,17 @@ var Kt = {
897
897
  var D = F.findIndex(function(g) {
898
898
  return g === o.mostRecentlyFocusedNode;
899
899
  });
900
- D >= 0 && (l.isKeyForward(o.recentNavEvent) ? D + 1 < F.length && (y = F[D + 1], h = !1) : D - 1 >= 0 && (y = F[D - 1], h = !1));
900
+ D >= 0 && (l.isKeyForward(o.recentNavEvent) ? D + 1 < F.length && (y = F[D + 1], b = !1) : D - 1 >= 0 && (y = F[D - 1], b = !1));
901
901
  }
902
902
  } else
903
903
  o.containerGroups.some(function(g) {
904
- return g.tabbableNodes.some(function(re) {
905
- return ve(re) > 0;
904
+ return g.tabbableNodes.some(function(ne) {
905
+ return ve(ne) > 0;
906
906
  });
907
- }) || (h = !1);
907
+ }) || (b = !1);
908
908
  else
909
- h = !1;
910
- h && (y = G({
909
+ b = !1;
910
+ b && (y = G({
911
911
  // move FROM the MRU node, not event-related node (which will be the node that is
912
912
  // outside the trap causing the focus escape we're trying to fix)
913
913
  target: o.mostRecentlyFocusedNode,
@@ -923,40 +923,40 @@ var Kt = {
923
923
  isBackward: u
924
924
  });
925
925
  f && (Ee(d) && d.preventDefault(), _(f));
926
- }, J = function(d) {
927
- if (jr(d) && $e(l.escapeDeactivates, d) !== !1) {
926
+ }, Y = function(d) {
927
+ if (Zr(d) && $e(l.escapeDeactivates, d) !== !1) {
928
928
  d.preventDefault(), v.deactivate();
929
929
  return;
930
930
  }
931
931
  (l.isKeyForward(d) || l.isKeyBackward(d)) && oe(d, l.isKeyBackward(d));
932
- }, Q = function(d) {
932
+ }, J = function(d) {
933
933
  var u = Le(d);
934
934
  S(u, d) >= 0 || $e(l.clickOutsideDeactivates, d) || $e(l.allowOutsideClick, d) || (d.preventDefault(), d.stopImmediatePropagation());
935
935
  }, K = function() {
936
936
  if (o.active)
937
- return Kt.activateTrap(c, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
937
+ return Kt.activateTrap(s, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
938
938
  _(N());
939
- }) : _(N()), n.addEventListener("focusin", ae, !0), n.addEventListener("mousedown", B, {
939
+ }) : _(N()), n.addEventListener("focusin", te, !0), n.addEventListener("mousedown", B, {
940
940
  capture: !0,
941
941
  passive: !1
942
942
  }), n.addEventListener("touchstart", B, {
943
943
  capture: !0,
944
944
  passive: !1
945
- }), n.addEventListener("click", Q, {
945
+ }), n.addEventListener("click", J, {
946
946
  capture: !0,
947
947
  passive: !1
948
- }), n.addEventListener("keydown", J, {
948
+ }), n.addEventListener("keydown", Y, {
949
949
  capture: !0,
950
950
  passive: !1
951
951
  }), v;
952
- }, z = function() {
952
+ }, V = function() {
953
953
  if (o.active)
954
- return n.removeEventListener("focusin", ae, !0), n.removeEventListener("mousedown", B, !0), n.removeEventListener("touchstart", B, !0), n.removeEventListener("click", Q, !0), n.removeEventListener("keydown", J, !0), v;
954
+ return n.removeEventListener("focusin", te, !0), n.removeEventListener("mousedown", B, !0), n.removeEventListener("touchstart", B, !0), n.removeEventListener("click", J, !0), n.removeEventListener("keydown", Y, !0), v;
955
955
  }, E = function(d) {
956
956
  var u = d.some(function(f) {
957
957
  var y = Array.from(f.removedNodes);
958
- return y.some(function(h) {
959
- return h === o.mostRecentlyFocusedNode;
958
+ return y.some(function(b) {
959
+ return b === o.mostRecentlyFocusedNode;
960
960
  });
961
961
  });
962
962
  u && _(N());
@@ -980,34 +980,34 @@ var Kt = {
980
980
  return this;
981
981
  var u = m(d, "onActivate"), f = m(d, "onPostActivate"), y = m(d, "checkCanFocusTrap");
982
982
  y || x(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = n.activeElement, u == null || u();
983
- var h = function() {
983
+ var b = function() {
984
984
  y && x(), K(), H(), f == null || f();
985
985
  };
986
- return y ? (y(o.containers.concat()).then(h, h), this) : (h(), this);
986
+ return y ? (y(o.containers.concat()).then(b, b), this) : (b(), this);
987
987
  },
988
988
  deactivate: function(d) {
989
989
  if (!o.active)
990
990
  return this;
991
- var u = jt({
991
+ var u = Zt({
992
992
  onDeactivate: l.onDeactivate,
993
993
  onPostDeactivate: l.onPostDeactivate,
994
994
  checkCanReturnFocus: l.checkCanReturnFocus
995
995
  }, d);
996
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, z(), o.active = !1, o.paused = !1, H(), Kt.deactivateTrap(c, v);
997
- var f = m(u, "onDeactivate"), y = m(u, "onPostDeactivate"), h = m(u, "checkCanReturnFocus"), $ = m(u, "returnFocus", "returnFocusOnDeactivate");
996
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, V(), o.active = !1, o.paused = !1, H(), Kt.deactivateTrap(s, v);
997
+ var f = m(u, "onDeactivate"), y = m(u, "onPostDeactivate"), b = m(u, "checkCanReturnFocus"), $ = m(u, "returnFocus", "returnFocusOnDeactivate");
998
998
  f == null || f();
999
999
  var F = function() {
1000
1000
  Ht(function() {
1001
- $ && _(Z(o.nodeFocusedBeforeActivation)), y == null || y();
1001
+ $ && _(P(o.nodeFocusedBeforeActivation)), y == null || y();
1002
1002
  });
1003
1003
  };
1004
- return $ && h ? (h(Z(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1004
+ return $ && b ? (b(P(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1005
1005
  },
1006
1006
  pause: function(d) {
1007
1007
  if (o.paused || !o.active)
1008
1008
  return this;
1009
1009
  var u = m(d, "onPause"), f = m(d, "onPostPause");
1010
- return o.paused = !0, u == null || u(), z(), H(), f == null || f(), this;
1010
+ return o.paused = !0, u == null || u(), V(), H(), f == null || f(), this;
1011
1011
  },
1012
1012
  unpause: function(d) {
1013
1013
  if (!o.paused || !o.active)
@@ -1028,7 +1028,7 @@ var Kt = {
1028
1028
  * (c) 2023 Eduardo San Martin Morote
1029
1029
  * @license MIT
1030
1030
  */
1031
- const Vr = {
1031
+ const zr = {
1032
1032
  escapeDeactivates: {
1033
1033
  type: Boolean,
1034
1034
  default: !0
@@ -1054,14 +1054,14 @@ const Vr = {
1054
1054
  preventScroll: Boolean,
1055
1055
  setReturnFocus: [Object, String, Boolean, Function],
1056
1056
  tabbableOptions: Object
1057
- }, zr = ee({
1057
+ }, Vr = Q({
1058
1058
  props: Object.assign({
1059
1059
  active: {
1060
1060
  // TODO: could be options for activate but what about the options for deactivating?
1061
1061
  type: Boolean,
1062
1062
  default: !0
1063
1063
  }
1064
- }, Vr),
1064
+ }, zr),
1065
1065
  emits: [
1066
1066
  "update:active",
1067
1067
  "activate",
@@ -1074,8 +1074,8 @@ const Vr = {
1074
1074
  },
1075
1075
  setup(a, { slots: t, emit: r }) {
1076
1076
  let n;
1077
- const c = V(null), l = k(() => {
1078
- const v = c.value;
1077
+ const s = z(null), l = k(() => {
1078
+ const v = s.value;
1079
1079
  return v && (v instanceof HTMLElement ? v : v.$el);
1080
1080
  });
1081
1081
  function o() {
@@ -1100,7 +1100,7 @@ const Vr = {
1100
1100
  }));
1101
1101
  }
1102
1102
  return Ge(() => {
1103
- je(() => a.active, (v) => {
1103
+ Ze(() => a.active, (v) => {
1104
1104
  v && l.value ? o().activate() : n && (n.deactivate(), (!l.value || l.value.nodeType === Node.COMMENT_NODE) && (n = null));
1105
1105
  }, { immediate: !0, flush: "post" });
1106
1106
  }), wn(() => {
@@ -1116,7 +1116,7 @@ const Vr = {
1116
1116
  if (!t.default)
1117
1117
  return null;
1118
1118
  const v = t.default().filter((S) => S.type !== _n);
1119
- return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : kn(v[0], { ref: c });
1119
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : kn(v[0], { ref: s });
1120
1120
  }
1121
1121
  };
1122
1122
  }
@@ -1125,9 +1125,9 @@ function Qt() {
1125
1125
  return {
1126
1126
  debounce: (t, r) => {
1127
1127
  let n;
1128
- return (...c) => {
1128
+ return (...s) => {
1129
1129
  clearTimeout(n), n = window == null ? void 0 : window.setTimeout(() => {
1130
- t(...c);
1130
+ t(...s);
1131
1131
  }, r);
1132
1132
  };
1133
1133
  }
@@ -1137,12 +1137,12 @@ var Me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1137
1137
  function Gr(a) {
1138
1138
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1139
1139
  }
1140
- var Ve = { exports: {} };
1141
- Ve.exports;
1140
+ var ze = { exports: {} };
1141
+ ze.exports;
1142
1142
  (function(a, t) {
1143
- var r = 200, n = "__lodash_hash_undefined__", c = 9007199254740991, l = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", m = "[object Date]", S = "[object Error]", A = "[object Function]", N = "[object GeneratorFunction]", x = "[object Map]", P = "[object Number]", _ = "[object Object]", Z = "[object Promise]", G = "[object RegExp]", B = "[object Set]", ae = "[object String]", oe = "[object Symbol]", J = "[object WeakMap]", Q = "[object ArrayBuffer]", K = "[object DataView]", z = "[object Float32Array]", E = "[object Float64Array]", j = "[object Int8Array]", H = "[object Int16Array]", I = "[object Int32Array]", d = "[object Uint8Array]", u = "[object Uint8ClampedArray]", f = "[object Uint16Array]", y = "[object Uint32Array]", h = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, F = /^\[object .+?Constructor\]$/, D = /^(?:0|[1-9]\d*)$/, g = {};
1144
- g[l] = g[o] = g[Q] = g[K] = g[v] = g[m] = g[z] = g[E] = g[j] = g[H] = g[I] = g[x] = g[P] = g[_] = g[G] = g[B] = g[ae] = g[oe] = g[d] = g[u] = g[f] = g[y] = !0, g[S] = g[A] = g[J] = !1;
1145
- var re = typeof Me == "object" && Me && Me.Object === Object && Me, le = typeof self == "object" && self && self.Object === Object && self, L = re || le || Function("return this")(), se = t && !t.nodeType && t, ke = se && !0 && a && !a.nodeType && a, Te = ke && ke.exports === se;
1143
+ var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, l = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", m = "[object Date]", S = "[object Error]", A = "[object Function]", N = "[object GeneratorFunction]", x = "[object Map]", M = "[object Number]", _ = "[object Object]", P = "[object Promise]", G = "[object RegExp]", B = "[object Set]", te = "[object String]", oe = "[object Symbol]", Y = "[object WeakMap]", J = "[object ArrayBuffer]", K = "[object DataView]", V = "[object Float32Array]", E = "[object Float64Array]", j = "[object Int8Array]", H = "[object Int16Array]", I = "[object Int32Array]", d = "[object Uint8Array]", u = "[object Uint8ClampedArray]", f = "[object Uint16Array]", y = "[object Uint32Array]", b = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, F = /^\[object .+?Constructor\]$/, D = /^(?:0|[1-9]\d*)$/, g = {};
1144
+ g[l] = g[o] = g[J] = g[K] = g[v] = g[m] = g[V] = g[E] = g[j] = g[H] = g[I] = g[x] = g[M] = g[_] = g[G] = g[B] = g[te] = g[oe] = g[d] = g[u] = g[f] = g[y] = !0, g[S] = g[A] = g[Y] = !1;
1145
+ var ne = typeof Me == "object" && Me && Me.Object === Object && Me, le = typeof self == "object" && self && self.Object === Object && self, L = ne || le || Function("return this")(), se = t && !t.nodeType && t, ke = se && !0 && a && !a.nodeType && a, Te = ke && ke.exports === se;
1146
1146
  function Se(e, i) {
1147
1147
  return e.set(i[0], i[1]), e;
1148
1148
  }
@@ -1150,25 +1150,24 @@ Ve.exports;
1150
1150
  return e.add(i), e;
1151
1151
  }
1152
1152
  function ta(e, i) {
1153
- for (var s = -1, b = e ? e.length : 0; ++s < b && i(e[s], s, e) !== !1; )
1153
+ for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1154
1154
  ;
1155
1155
  return e;
1156
1156
  }
1157
1157
  function aa(e, i) {
1158
- for (var s = -1, b = i.length, M = e.length; ++s < b; )
1159
- e[M + s] = i[s];
1158
+ for (var c = -1, h = i.length, Z = e.length; ++c < h; )
1159
+ e[Z + c] = i[c];
1160
1160
  return e;
1161
1161
  }
1162
- function bt(e, i, s, b) {
1163
- var M = -1, U = e ? e.length : 0;
1164
- for (b && U && (s = e[++M]); ++M < U; )
1165
- s = i(s, e[M], M, e);
1166
- return s;
1162
+ function bt(e, i, c, h) {
1163
+ for (var Z = -1, U = e ? e.length : 0; ++Z < U; )
1164
+ c = i(c, e[Z], Z, e);
1165
+ return c;
1167
1166
  }
1168
1167
  function na(e, i) {
1169
- for (var s = -1, b = Array(e); ++s < e; )
1170
- b[s] = i(s);
1171
- return b;
1168
+ for (var c = -1, h = Array(e); ++c < e; )
1169
+ h[c] = i(c);
1170
+ return h;
1172
1171
  }
1173
1172
  function ra(e, i) {
1174
1173
  return e == null ? void 0 : e[i];
@@ -1183,33 +1182,33 @@ Ve.exports;
1183
1182
  return i;
1184
1183
  }
1185
1184
  function pt(e) {
1186
- var i = -1, s = Array(e.size);
1187
- return e.forEach(function(b, M) {
1188
- s[++i] = [M, b];
1189
- }), s;
1185
+ var i = -1, c = Array(e.size);
1186
+ return e.forEach(function(h, Z) {
1187
+ c[++i] = [Z, h];
1188
+ }), c;
1190
1189
  }
1191
1190
  function qe(e, i) {
1192
- return function(s) {
1193
- return e(i(s));
1191
+ return function(c) {
1192
+ return e(i(c));
1194
1193
  };
1195
1194
  }
1196
1195
  function mt(e) {
1197
- var i = -1, s = Array(e.size);
1198
- return e.forEach(function(b) {
1199
- s[++i] = b;
1200
- }), s;
1196
+ var i = -1, c = Array(e.size);
1197
+ return e.forEach(function(h) {
1198
+ c[++i] = h;
1199
+ }), c;
1201
1200
  }
1202
1201
  var ia = Array.prototype, oa = Function.prototype, Ae = Object.prototype, Xe = L["__core-js_shared__"], gt = function() {
1203
1202
  var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
1204
1203
  return e ? "Symbol(src)_1." + e : "";
1205
1204
  }(), yt = oa.toString, ce = Ae.hasOwnProperty, Fe = Ae.toString, sa = RegExp(
1206
- "^" + yt.call(ce).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1205
+ "^" + yt.call(ce).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1207
1206
  ), wt = Te ? L.Buffer : void 0, _t = L.Symbol, kt = L.Uint8Array, ca = qe(Object.getPrototypeOf, Object), la = Object.create, ua = Ae.propertyIsEnumerable, da = ia.splice, Tt = Object.getOwnPropertySymbols, fa = wt ? wt.isBuffer : void 0, va = qe(Object.keys, Object), Ye = ge(L, "DataView"), Ie = ge(L, "Map"), Je = ge(L, "Promise"), Qe = ge(L, "Set"), et = ge(L, "WeakMap"), Oe = ge(Object, "create"), ba = fe(Ye), ha = fe(Ie), pa = fe(Je), ma = fe(Qe), ga = fe(et), St = _t ? _t.prototype : void 0, It = St ? St.valueOf : void 0;
1208
1207
  function ue(e) {
1209
- var i = -1, s = e ? e.length : 0;
1210
- for (this.clear(); ++i < s; ) {
1211
- var b = e[i];
1212
- this.set(b[0], b[1]);
1208
+ var i = -1, c = e ? e.length : 0;
1209
+ for (this.clear(); ++i < c; ) {
1210
+ var h = e[i];
1211
+ this.set(h[0], h[1]);
1213
1212
  }
1214
1213
  }
1215
1214
  function ya() {
@@ -1221,8 +1220,8 @@ Ve.exports;
1221
1220
  function _a(e) {
1222
1221
  var i = this.__data__;
1223
1222
  if (Oe) {
1224
- var s = i[e];
1225
- return s === n ? void 0 : s;
1223
+ var c = i[e];
1224
+ return c === n ? void 0 : c;
1226
1225
  }
1227
1226
  return ce.call(i, e) ? i[e] : void 0;
1228
1227
  }
@@ -1231,50 +1230,50 @@ Ve.exports;
1231
1230
  return Oe ? i[e] !== void 0 : ce.call(i, e);
1232
1231
  }
1233
1232
  function Ta(e, i) {
1234
- var s = this.__data__;
1235
- return s[e] = Oe && i === void 0 ? n : i, this;
1233
+ var c = this.__data__;
1234
+ return c[e] = Oe && i === void 0 ? n : i, this;
1236
1235
  }
1237
1236
  ue.prototype.clear = ya, ue.prototype.delete = wa, ue.prototype.get = _a, ue.prototype.has = ka, ue.prototype.set = Ta;
1238
- function ie(e) {
1239
- var i = -1, s = e ? e.length : 0;
1240
- for (this.clear(); ++i < s; ) {
1241
- var b = e[i];
1242
- this.set(b[0], b[1]);
1237
+ function re(e) {
1238
+ var i = -1, c = e ? e.length : 0;
1239
+ for (this.clear(); ++i < c; ) {
1240
+ var h = e[i];
1241
+ this.set(h[0], h[1]);
1243
1242
  }
1244
1243
  }
1245
1244
  function Sa() {
1246
1245
  this.__data__ = [];
1247
1246
  }
1248
1247
  function Ia(e) {
1249
- var i = this.__data__, s = xe(i, e);
1250
- if (s < 0)
1248
+ var i = this.__data__, c = xe(i, e);
1249
+ if (c < 0)
1251
1250
  return !1;
1252
- var b = i.length - 1;
1253
- return s == b ? i.pop() : da.call(i, s, 1), !0;
1251
+ var h = i.length - 1;
1252
+ return c == h ? i.pop() : da.call(i, c, 1), !0;
1254
1253
  }
1255
1254
  function Oa(e) {
1256
- var i = this.__data__, s = xe(i, e);
1257
- return s < 0 ? void 0 : i[s][1];
1255
+ var i = this.__data__, c = xe(i, e);
1256
+ return c < 0 ? void 0 : i[c][1];
1258
1257
  }
1259
1258
  function $a(e) {
1260
1259
  return xe(this.__data__, e) > -1;
1261
1260
  }
1262
1261
  function Ca(e, i) {
1263
- var s = this.__data__, b = xe(s, e);
1264
- return b < 0 ? s.push([e, i]) : s[b][1] = i, this;
1262
+ var c = this.__data__, h = xe(c, e);
1263
+ return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1265
1264
  }
1266
- ie.prototype.clear = Sa, ie.prototype.delete = Ia, ie.prototype.get = Oa, ie.prototype.has = $a, ie.prototype.set = Ca;
1265
+ re.prototype.clear = Sa, re.prototype.delete = Ia, re.prototype.get = Oa, re.prototype.has = $a, re.prototype.set = Ca;
1267
1266
  function pe(e) {
1268
- var i = -1, s = e ? e.length : 0;
1269
- for (this.clear(); ++i < s; ) {
1270
- var b = e[i];
1271
- this.set(b[0], b[1]);
1267
+ var i = -1, c = e ? e.length : 0;
1268
+ for (this.clear(); ++i < c; ) {
1269
+ var h = e[i];
1270
+ this.set(h[0], h[1]);
1272
1271
  }
1273
1272
  }
1274
1273
  function Ea() {
1275
1274
  this.__data__ = {
1276
1275
  hash: new ue(),
1277
- map: new (Ie || ie)(),
1276
+ map: new (Ie || re)(),
1278
1277
  string: new ue()
1279
1278
  };
1280
1279
  }
@@ -1292,10 +1291,10 @@ Ve.exports;
1292
1291
  }
1293
1292
  pe.prototype.clear = Ea, pe.prototype.delete = Na, pe.prototype.get = Aa, pe.prototype.has = Fa, pe.prototype.set = xa;
1294
1293
  function me(e) {
1295
- this.__data__ = new ie(e);
1294
+ this.__data__ = new re(e);
1296
1295
  }
1297
1296
  function Da() {
1298
- this.__data__ = new ie();
1297
+ this.__data__ = new re();
1299
1298
  }
1300
1299
  function Ra(e) {
1301
1300
  return this.__data__.delete(e);
@@ -1307,38 +1306,38 @@ Ve.exports;
1307
1306
  return this.__data__.has(e);
1308
1307
  }
1309
1308
  function Ma(e, i) {
1310
- var s = this.__data__;
1311
- if (s instanceof ie) {
1312
- var b = s.__data__;
1313
- if (!Ie || b.length < r - 1)
1314
- return b.push([e, i]), this;
1315
- s = this.__data__ = new pe(b);
1309
+ var c = this.__data__;
1310
+ if (c instanceof re) {
1311
+ var h = c.__data__;
1312
+ if (!Ie || h.length < r - 1)
1313
+ return h.push([e, i]), this;
1314
+ c = this.__data__ = new pe(h);
1316
1315
  }
1317
- return s.set(e, i), this;
1316
+ return c.set(e, i), this;
1318
1317
  }
1319
1318
  me.prototype.clear = Da, me.prototype.delete = Ra, me.prototype.get = Ba, me.prototype.has = La, me.prototype.set = Ma;
1320
1319
  function Pa(e, i) {
1321
- var s = nt(e) || un(e) ? na(e.length, String) : [], b = s.length, M = !!b;
1320
+ var c = nt(e) || un(e) ? na(e.length, String) : [], h = c.length, Z = !!h;
1322
1321
  for (var U in e)
1323
- (i || ce.call(e, U)) && !(M && (U == "length" || on(U, b))) && s.push(U);
1324
- return s;
1322
+ ce.call(e, U) && !(Z && (U == "length" || on(U, h))) && c.push(U);
1323
+ return c;
1325
1324
  }
1326
- function Ot(e, i, s) {
1327
- var b = e[i];
1328
- (!(ce.call(e, i) && Nt(b, s)) || s === void 0 && !(i in e)) && (e[i] = s);
1325
+ function Ot(e, i, c) {
1326
+ var h = e[i];
1327
+ (!(ce.call(e, i) && Nt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1329
1328
  }
1330
1329
  function xe(e, i) {
1331
- for (var s = e.length; s--; )
1332
- if (Nt(e[s][0], i))
1333
- return s;
1330
+ for (var c = e.length; c--; )
1331
+ if (Nt(e[c][0], i))
1332
+ return c;
1334
1333
  return -1;
1335
1334
  }
1336
- function Za(e, i) {
1335
+ function ja(e, i) {
1337
1336
  return e && $t(i, rt(i), e);
1338
1337
  }
1339
- function tt(e, i, s, b, M, U, q) {
1338
+ function tt(e, i, c, h, Z, U, ie) {
1340
1339
  var W;
1341
- if (b && (W = U ? b(e, M, U, q) : b(e)), W !== void 0)
1340
+ if (h && (W = U ? h(e, Z, U, ie) : h(e)), W !== void 0)
1342
1341
  return W;
1343
1342
  if (!Re(e))
1344
1343
  return e;
@@ -1349,34 +1348,34 @@ Ve.exports;
1349
1348
  } else {
1350
1349
  var ye = de(e), Dt = ye == A || ye == N;
1351
1350
  if (fn(e))
1352
- return Va(e, i);
1351
+ return za(e, i);
1353
1352
  if (ye == _ || ye == l || Dt && !U) {
1354
1353
  if (ht(e))
1355
1354
  return U ? e : {};
1356
1355
  if (W = nn(Dt ? {} : e), !i)
1357
- return en(e, Za(W, e));
1356
+ return en(e, ja(W, e));
1358
1357
  } else {
1359
1358
  if (!g[ye])
1360
1359
  return U ? e : {};
1361
1360
  W = rn(e, ye, tt, i);
1362
1361
  }
1363
1362
  }
1364
- q || (q = new me());
1365
- var Rt = q.get(e);
1363
+ ie || (ie = new me());
1364
+ var Rt = ie.get(e);
1366
1365
  if (Rt)
1367
1366
  return Rt;
1368
- if (q.set(e, W), !xt)
1369
- var Bt = s ? tn(e) : rt(e);
1367
+ if (ie.set(e, W), !xt)
1368
+ var Bt = c ? tn(e) : rt(e);
1370
1369
  return ta(Bt || e, function(it, Be) {
1371
- Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, s, b, Be, e, q));
1370
+ Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, c, h, Be, e, ie));
1372
1371
  }), W;
1373
1372
  }
1374
- function ja(e) {
1373
+ function Za(e) {
1375
1374
  return Re(e) ? la(e) : {};
1376
1375
  }
1377
- function Ka(e, i, s) {
1378
- var b = i(e);
1379
- return nt(e) ? b : aa(b, s(e));
1376
+ function Ka(e, i, c) {
1377
+ var h = i(e);
1378
+ return nt(e) ? h : aa(h, c(e));
1380
1379
  }
1381
1380
  function Ha(e) {
1382
1381
  return Fe.call(e);
@@ -1391,56 +1390,56 @@ Ve.exports;
1391
1390
  if (!Et(e))
1392
1391
  return va(e);
1393
1392
  var i = [];
1394
- for (var s in Object(e))
1395
- ce.call(e, s) && s != "constructor" && i.push(s);
1393
+ for (var c in Object(e))
1394
+ ce.call(e, c) && c != "constructor" && i.push(c);
1396
1395
  return i;
1397
1396
  }
1398
- function Va(e, i) {
1397
+ function za(e, i) {
1399
1398
  if (i)
1400
1399
  return e.slice();
1401
- var s = new e.constructor(e.length);
1402
- return e.copy(s), s;
1400
+ var c = new e.constructor(e.length);
1401
+ return e.copy(c), c;
1403
1402
  }
1404
1403
  function at(e) {
1405
1404
  var i = new e.constructor(e.byteLength);
1406
1405
  return new kt(i).set(new kt(e)), i;
1407
1406
  }
1408
- function za(e, i) {
1409
- var s = i ? at(e.buffer) : e.buffer;
1410
- return new e.constructor(s, e.byteOffset, e.byteLength);
1407
+ function Va(e, i) {
1408
+ var c = i ? at(e.buffer) : e.buffer;
1409
+ return new e.constructor(c, e.byteOffset, e.byteLength);
1411
1410
  }
1412
- function Ga(e, i, s) {
1413
- var b = i ? s(pt(e), !0) : pt(e);
1414
- return bt(b, Se, new e.constructor());
1411
+ function Ga(e, i, c) {
1412
+ var h = i ? c(pt(e), !0) : pt(e);
1413
+ return bt(h, Se, new e.constructor());
1415
1414
  }
1416
1415
  function qa(e) {
1417
1416
  var i = new e.constructor(e.source, $.exec(e));
1418
1417
  return i.lastIndex = e.lastIndex, i;
1419
1418
  }
1420
- function Xa(e, i, s) {
1421
- var b = i ? s(mt(e), !0) : mt(e);
1422
- return bt(b, ea, new e.constructor());
1419
+ function Xa(e, i, c) {
1420
+ var h = i ? c(mt(e), !0) : mt(e);
1421
+ return bt(h, ea, new e.constructor());
1423
1422
  }
1424
1423
  function Ya(e) {
1425
1424
  return It ? Object(It.call(e)) : {};
1426
1425
  }
1427
1426
  function Ja(e, i) {
1428
- var s = i ? at(e.buffer) : e.buffer;
1429
- return new e.constructor(s, e.byteOffset, e.length);
1427
+ var c = i ? at(e.buffer) : e.buffer;
1428
+ return new e.constructor(c, e.byteOffset, e.length);
1430
1429
  }
1431
1430
  function Qa(e, i) {
1432
- var s = -1, b = e.length;
1433
- for (i || (i = Array(b)); ++s < b; )
1434
- i[s] = e[s];
1431
+ var c = -1, h = e.length;
1432
+ for (i || (i = Array(h)); ++c < h; )
1433
+ i[c] = e[c];
1435
1434
  return i;
1436
1435
  }
1437
- function $t(e, i, s, b) {
1438
- s || (s = {});
1439
- for (var M = -1, U = i.length; ++M < U; ) {
1440
- var q = i[M], W = b ? b(s[q], e[q], q, s, e) : void 0;
1441
- Ot(s, q, W === void 0 ? e[q] : W);
1436
+ function $t(e, i, c, h) {
1437
+ c || (c = {});
1438
+ for (var Z = -1, U = i.length; ++Z < U; ) {
1439
+ var ie = i[Z], W = void 0;
1440
+ Ot(c, ie, W === void 0 ? e[ie] : W);
1442
1441
  }
1443
- return s;
1442
+ return c;
1444
1443
  }
1445
1444
  function en(e, i) {
1446
1445
  return $t(e, Ct(e), i);
@@ -1449,49 +1448,49 @@ Ve.exports;
1449
1448
  return Ka(e, rt, Ct);
1450
1449
  }
1451
1450
  function De(e, i) {
1452
- var s = e.__data__;
1453
- return sn(i) ? s[typeof i == "string" ? "string" : "hash"] : s.map;
1451
+ var c = e.__data__;
1452
+ return sn(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1454
1453
  }
1455
1454
  function ge(e, i) {
1456
- var s = ra(e, i);
1457
- return Ua(s) ? s : void 0;
1455
+ var c = ra(e, i);
1456
+ return Ua(c) ? c : void 0;
1458
1457
  }
1459
1458
  var Ct = Tt ? qe(Tt, Object) : hn, de = Ha;
1460
- (Ye && de(new Ye(new ArrayBuffer(1))) != K || Ie && de(new Ie()) != x || Je && de(Je.resolve()) != Z || Qe && de(new Qe()) != B || et && de(new et()) != J) && (de = function(e) {
1461
- var i = Fe.call(e), s = i == _ ? e.constructor : void 0, b = s ? fe(s) : void 0;
1462
- if (b)
1463
- switch (b) {
1459
+ (Ye && de(new Ye(new ArrayBuffer(1))) != K || Ie && de(new Ie()) != x || Je && de(Je.resolve()) != P || Qe && de(new Qe()) != B || et && de(new et()) != Y) && (de = function(e) {
1460
+ var i = Fe.call(e), c = i == _ ? e.constructor : void 0, h = c ? fe(c) : void 0;
1461
+ if (h)
1462
+ switch (h) {
1464
1463
  case ba:
1465
1464
  return K;
1466
1465
  case ha:
1467
1466
  return x;
1468
1467
  case pa:
1469
- return Z;
1468
+ return P;
1470
1469
  case ma:
1471
1470
  return B;
1472
1471
  case ga:
1473
- return J;
1472
+ return Y;
1474
1473
  }
1475
1474
  return i;
1476
1475
  });
1477
1476
  function an(e) {
1478
- var i = e.length, s = e.constructor(i);
1479
- return i && typeof e[0] == "string" && ce.call(e, "index") && (s.index = e.index, s.input = e.input), s;
1477
+ var i = e.length, c = e.constructor(i);
1478
+ return i && typeof e[0] == "string" && ce.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1480
1479
  }
1481
1480
  function nn(e) {
1482
- return typeof e.constructor == "function" && !Et(e) ? ja(ca(e)) : {};
1481
+ return typeof e.constructor == "function" && !Et(e) ? Za(ca(e)) : {};
1483
1482
  }
1484
- function rn(e, i, s, b) {
1485
- var M = e.constructor;
1483
+ function rn(e, i, c, h) {
1484
+ var Z = e.constructor;
1486
1485
  switch (i) {
1487
- case Q:
1486
+ case J:
1488
1487
  return at(e);
1489
1488
  case v:
1490
1489
  case m:
1491
- return new M(+e);
1490
+ return new Z(+e);
1492
1491
  case K:
1493
- return za(e, b);
1494
- case z:
1492
+ return Va(e, h);
1493
+ case V:
1495
1494
  case E:
1496
1495
  case j:
1497
1496
  case H:
@@ -1500,22 +1499,22 @@ Ve.exports;
1500
1499
  case u:
1501
1500
  case f:
1502
1501
  case y:
1503
- return Ja(e, b);
1502
+ return Ja(e, h);
1504
1503
  case x:
1505
- return Ga(e, b, s);
1506
- case P:
1507
- case ae:
1508
- return new M(e);
1504
+ return Ga(e, h, c);
1505
+ case M:
1506
+ case te:
1507
+ return new Z(e);
1509
1508
  case G:
1510
1509
  return qa(e);
1511
1510
  case B:
1512
- return Xa(e, b, s);
1511
+ return Xa(e, h, c);
1513
1512
  case oe:
1514
1513
  return Ya(e);
1515
1514
  }
1516
1515
  }
1517
1516
  function on(e, i) {
1518
- return i = i ?? c, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1517
+ return i = i ?? s, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1519
1518
  }
1520
1519
  function sn(e) {
1521
1520
  var i = typeof e;
@@ -1525,8 +1524,8 @@ Ve.exports;
1525
1524
  return !!gt && gt in e;
1526
1525
  }
1527
1526
  function Et(e) {
1528
- var i = e && e.constructor, s = typeof i == "function" && i.prototype || Ae;
1529
- return e === s;
1527
+ var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ae;
1528
+ return e === c;
1530
1529
  }
1531
1530
  function fe(e) {
1532
1531
  if (e != null) {
@@ -1563,7 +1562,7 @@ Ve.exports;
1563
1562
  return i == A || i == N;
1564
1563
  }
1565
1564
  function vn(e) {
1566
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
1565
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
1567
1566
  }
1568
1567
  function Re(e) {
1569
1568
  var i = typeof e;
@@ -1582,8 +1581,8 @@ Ve.exports;
1582
1581
  return !1;
1583
1582
  }
1584
1583
  a.exports = ln;
1585
- })(Ve, Ve.exports);
1586
- var qr = Ve.exports;
1584
+ })(ze, ze.exports);
1585
+ var qr = ze.exports;
1587
1586
  const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1588
1587
  key: 0,
1589
1588
  class: "sidebar-header"
@@ -1600,7 +1599,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1600
1599
  }, ni = {
1601
1600
  key: 2,
1602
1601
  class: "level-primary bottom-items"
1603
- }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ ee({
1602
+ }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ Q({
1604
1603
  __name: "AppSidebar",
1605
1604
  props: {
1606
1605
  topItems: {
@@ -1672,7 +1671,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1672
1671
  "98cd1a16": A.value.top,
1673
1672
  "362eded8": A.value.zIndex
1674
1673
  }));
1675
- const r = t, n = a, c = ze(), l = k(() => !!c.header), o = k(() => !!c.top), v = k(() => ({
1674
+ const r = t, n = a, s = Ve(), l = k(() => !!s.header), o = k(() => !!s.top), v = k(() => ({
1676
1675
  mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
1677
1676
  top: n.topOffset ? `${n.topOffset}px` : "0",
1678
1677
  mobileHeight: n.mobileTopOffset && n.mobileEnabled ? `calc(100% - ${n.mobileTopOffset}px)` : "100%",
@@ -1685,62 +1684,62 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1685
1684
  })), A = k(() => ({
1686
1685
  top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
1687
1686
  zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
1688
- })), N = (f) => Xr(f).map((h) => {
1687
+ })), N = (f) => Xr(f).map((b) => {
1689
1688
  var $, F, D;
1690
- if (h) {
1691
- (!h.key || !(($ = h.key) != null && $.trim())) && (h.key = String(h.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!h.testId || !((F = h.testId) != null && F.trim())) && (h.testId = String(h.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1692
- for (const g of h.items || [])
1693
- g.parentKey = h.key, (!g.testId || !((D = g.testId) != null && D.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1689
+ if (b) {
1690
+ (!b.key || !(($ = b.key) != null && $.trim())) && (b.key = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!b.testId || !((F = b.testId) != null && F.trim())) && (b.testId = String(b.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1691
+ for (const g of b.items || [])
1692
+ g.parentKey = b.key, (!g.testId || !((D = g.testId) != null && D.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1694
1693
  }
1695
- return h;
1696
- }), x = k(() => n.topItems.length ? N(n.topItems) : []), P = k(() => n.bottomItems.length ? N(n.bottomItems) : []), _ = V(n.open), Z = (f) => {
1697
- var y, h;
1698
- _.value !== f && (_.value = f, r("toggle", f)), f ? (y = document == null ? void 0 : document.body) == null || y.classList.add("kong-ui-app-sidebar-open") : (h = document == null ? void 0 : document.body) == null || h.classList.remove("kong-ui-app-sidebar-open"), B.value = !1;
1694
+ return b;
1695
+ }), x = k(() => n.topItems.length ? N(n.topItems) : []), M = k(() => n.bottomItems.length ? N(n.bottomItems) : []), _ = z(n.open), P = (f) => {
1696
+ var y, b;
1697
+ _.value !== f && (_.value = f, r("toggle", f)), f ? (y = document == null ? void 0 : document.body) == null || y.classList.add("kong-ui-app-sidebar-open") : (b = document == null ? void 0 : document.body) == null || b.classList.remove("kong-ui-app-sidebar-open"), B.value = !1;
1699
1698
  }, G = () => {
1700
- n.mobileOverlayCloseOnClick && Z(!1);
1701
- }, B = V(!1), ae = (f) => {
1699
+ n.mobileOverlayCloseOnClick && P(!1);
1700
+ }, B = z(!1), te = (f) => {
1702
1701
  B.value = !0, r("click", f), setTimeout(() => {
1703
- Z(!1);
1702
+ P(!1);
1704
1703
  }, n.mobileCloseDelay);
1705
1704
  };
1706
- je(() => n.open, (f) => {
1707
- Z(f);
1705
+ Ze(() => n.open, (f) => {
1706
+ P(f);
1708
1707
  });
1709
- const { debounce: oe } = Qt(), J = oe(() => {
1710
- _.value && Q.value !== (window == null ? void 0 : window.innerWidth) && (Q.value = window == null ? void 0 : window.innerWidth, Z(!1));
1711
- }, 200), Q = V(), K = V(!1), z = V(), E = () => {
1712
- K.value || (K.value = !0, clearTimeout(z.value), z.value = setTimeout(() => K.value = !1, 1300));
1713
- }, j = V(null), H = k(() => _.value && n.mobileEnabled), I = async (f) => {
1714
- var y, h;
1715
- f ? (await Lt(), await new Promise(($) => setTimeout($, 300)), (y = j.value) == null || y.activate()) : (h = j.value) == null || h.deactivate();
1708
+ const { debounce: oe } = Qt(), Y = oe(() => {
1709
+ _.value && J.value !== (window == null ? void 0 : window.innerWidth) && (J.value = window == null ? void 0 : window.innerWidth, P(!1));
1710
+ }, 200), J = z(), K = z(!1), V = z(), E = () => {
1711
+ K.value || (K.value = !0, clearTimeout(V.value), V.value = setTimeout(() => K.value = !1, 1300));
1712
+ }, j = z(null), H = k(() => _.value && n.mobileEnabled), I = async (f) => {
1713
+ var y, b;
1714
+ f ? (await Lt(), await new Promise(($) => setTimeout($, 300)), (y = j.value) == null || y.activate()) : (b = j.value) == null || b.deactivate();
1716
1715
  };
1717
- je(H, async (f) => {
1716
+ Ze(H, async (f) => {
1718
1717
  f ? await I(!0) : await I(!1);
1719
1718
  }, { immediate: !0 });
1720
- const d = V("0px"), u = () => {
1719
+ const d = z("0px"), u = () => {
1721
1720
  var g;
1722
1721
  if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((g = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : g.platform)))
1723
1722
  return;
1724
1723
  const y = document.createElement("div");
1725
1724
  y.style.visibility = "hidden", y.style.width = "100px", document.body.appendChild(y);
1726
- const h = y.offsetWidth;
1725
+ const b = y.offsetWidth;
1727
1726
  y.style.overflow = "scroll";
1728
1727
  const $ = document.createElement("div");
1729
1728
  $.style.width = "100%", y.appendChild($);
1730
1729
  const F = $.offsetWidth;
1731
- y.parentNode && y.parentNode.removeChild(y), h - F === 0 && (d.value = "8px");
1730
+ y.parentNode && y.parentNode.removeChild(y), b - F === 0 && (d.value = "8px");
1732
1731
  };
1733
1732
  return Ge(async () => {
1734
- Q.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", J), window.addEventListener("resize", E), await Lt(), u();
1733
+ J.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Y), window.addEventListener("resize", E), await Lt(), u();
1735
1734
  }), Wt(() => {
1736
- window.removeEventListener("resize", J), window.removeEventListener("resize", E);
1735
+ window.removeEventListener("resize", Y), window.removeEventListener("resize", E);
1737
1736
  }), (f, y) => (p(), w(Ce, null, [
1738
1737
  _.value && a.mobileOverlay && a.mobileEnabled ? (p(), w("div", {
1739
1738
  key: 0,
1740
1739
  class: "kong-ui-app-sidebar-overlay",
1741
1740
  onClick: G
1742
1741
  })) : C("", !0),
1743
- Ne(Tn(zr), {
1742
+ Ne(Tn(Vr), {
1744
1743
  ref_key: "focusTrap",
1745
1744
  ref: j,
1746
1745
  active: !1,
@@ -1749,7 +1748,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1749
1748
  }, {
1750
1749
  default: R(() => [
1751
1750
  O("aside", {
1752
- class: ne(["kong-ui-app-sidebar", {
1751
+ class: ae(["kong-ui-app-sidebar", {
1753
1752
  "sidebar-open": _.value,
1754
1753
  "no-sidebar-header": !l.value,
1755
1754
  "mobile-header-hidden": a.mobileEnabled && (!l.value || !a.mobileHeaderVisible),
@@ -1767,26 +1766,26 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1767
1766
  ])) : C("", !0),
1768
1767
  O("nav", ei, [
1769
1768
  x.value.length ? (p(), w("ul", ti, [
1770
- (p(!0), w(Ce, null, _e(x.value, (h) => (p(), Y(Mt, {
1771
- key: h.name,
1772
- item: h,
1773
- onClick: ae
1769
+ (p(!0), w(Ce, null, _e(x.value, (b) => (p(), X(Mt, {
1770
+ key: b.name,
1771
+ item: b,
1772
+ onClick: te
1774
1773
  }, {
1775
- [`sidebar-icon-${h.key}`]: R(() => [
1776
- T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1774
+ [`sidebar-icon-${b.key}`]: R(() => [
1775
+ T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1777
1776
  ]),
1778
1777
  _: 2
1779
1778
  }, 1032, ["item"]))), 128))
1780
1779
  ])) : C("", !0),
1781
- x.value.length && P.value.length ? (p(), w("div", ai)) : C("", !0),
1782
- P.value.length ? (p(), w("ul", ni, [
1783
- (p(!0), w(Ce, null, _e(P.value, (h) => (p(), Y(Mt, {
1784
- key: h.name,
1785
- item: h,
1786
- onClick: ae
1780
+ x.value.length && M.value.length ? (p(), w("div", ai)) : C("", !0),
1781
+ M.value.length ? (p(), w("ul", ni, [
1782
+ (p(!0), w(Ce, null, _e(M.value, (b) => (p(), X(Mt, {
1783
+ key: b.name,
1784
+ item: b,
1785
+ onClick: te
1787
1786
  }, {
1788
- [`sidebar-icon-${h.key}`]: R(() => [
1789
- T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1787
+ [`sidebar-icon-${b.key}`]: R(() => [
1788
+ T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1790
1789
  ]),
1791
1790
  _: 2
1792
1791
  }, 1032, ["item"]))), 128))
@@ -1802,11 +1801,11 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1802
1801
  }, 512)
1803
1802
  ], 64));
1804
1803
  }
1805
- }), oi = /* @__PURE__ */ te(ii, [["__scopeId", "data-v-843a05a4"]]), vt = (a) => (ut("data-v-b411bcf5"), a = a(), dt(), a), si = ["aria-label"], ci = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), li = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), ui = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), di = [
1804
+ }), oi = /* @__PURE__ */ ee(ii, [["__scopeId", "data-v-843a05a4"]]), vt = (a) => (ut("data-v-b411bcf5"), a = a(), dt(), a), si = ["aria-label"], ci = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), li = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), ui = /* @__PURE__ */ vt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), di = [
1806
1805
  ci,
1807
1806
  li,
1808
1807
  ui
1809
- ], fi = /* @__PURE__ */ ee({
1808
+ ], fi = /* @__PURE__ */ Q({
1810
1809
  __name: "SidebarToggle",
1811
1810
  props: {
1812
1811
  active: {
@@ -1816,27 +1815,27 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1816
1815
  },
1817
1816
  emits: ["toggle"],
1818
1817
  setup(a, { emit: t }) {
1819
- const r = t, n = a, c = V(n.active || !1), l = (o) => {
1820
- o.preventDefault(), c.value = !c.value, r("toggle", c.value);
1818
+ const r = t, n = a, s = z(n.active || !1), l = (o) => {
1819
+ o.preventDefault(), s.value = !s.value, r("toggle", s.value);
1821
1820
  };
1822
- return je(() => n.active, (o) => {
1823
- c.value = o;
1821
+ return Ze(() => n.active, (o) => {
1822
+ s.value = o;
1824
1823
  }), (o, v) => (p(), w("a", {
1825
1824
  "aria-haspopup": "true",
1826
- "aria-label": c.value ? "Close Main Menu" : "Open Main Menu",
1827
- class: ne(["sidebar-menu-toggle", { active: c.value }]),
1825
+ "aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
1826
+ class: ae(["sidebar-menu-toggle", { active: s.value }]),
1828
1827
  href: "#",
1829
1828
  role: "button",
1830
1829
  onClick: Sn(l, ["prevent"])
1831
1830
  }, di, 10, si));
1832
1831
  }
1833
- }), vi = /* @__PURE__ */ te(fi, [["__scopeId", "data-v-b411bcf5"]]), bi = "#ffffff", hi = "#000933", pi = "#000933", mi = "#ffffff", gi = "0px", yi = "4px", wi = (a) => (ut("data-v-47c01124"), a = a(), dt(), a), _i = { id: "kong-ui-app-layout-notification" }, ki = { class: "mobile-logo" }, Ti = {
1832
+ }), vi = /* @__PURE__ */ ee(fi, [["__scopeId", "data-v-b411bcf5"]]), bi = "#ffffff", hi = "#000933", pi = "#000933", mi = "#ffffff", gi = "0px", yi = "4px", wi = (a) => (ut("data-v-47c01124"), a = a(), dt(), a), _i = { id: "kong-ui-app-layout-notification" }, ki = { class: "mobile-logo" }, Ti = {
1834
1833
  key: 0,
1835
1834
  class: "navbar-logo"
1836
1835
  }, Si = {
1837
1836
  class: "kong-ui-app-layout-main",
1838
1837
  "data-testid": "kong-ui-app-layout-main"
1839
- }, Ii = { class: "kong-ui-app-layout-content" }, Oi = { class: "kong-ui-app-layout-content-inner" }, $i = /* @__PURE__ */ wi(() => /* @__PURE__ */ O("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Ci = /* @__PURE__ */ ee({
1838
+ }, Ii = { class: "kong-ui-app-layout-content" }, Oi = { class: "kong-ui-app-layout-content-inner" }, $i = /* @__PURE__ */ wi(() => /* @__PURE__ */ O("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Ci = /* @__PURE__ */ Q({
1840
1839
  __name: "AppLayout",
1841
1840
  props: {
1842
1841
  hideDefaultSlot: {
@@ -1875,20 +1874,20 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1875
1874
  setup(a, { emit: t }) {
1876
1875
  ft((E) => ({
1877
1876
  "30c6990a": B.value,
1878
- 40906680: ae.value,
1877
+ 40906680: te.value,
1879
1878
  "169c1fd8": G.value,
1880
1879
  "75276abc": oe.value,
1881
- af1d4ea2: J.value
1880
+ af1d4ea2: Y.value
1882
1881
  }));
1883
- const r = a, n = t, c = ze(), l = Pe({
1884
- navbarLeft: k(() => !!c["navbar-left"]),
1885
- navbarCenter: k(() => !!c["navbar-center"]),
1886
- navbarRight: k(() => !!c["navbar-right"]),
1887
- navbarLogo: k(() => !!c["navbar-logo"]),
1888
- navbarMobileLogo: k(() => !!c["navbar-mobile-logo"]),
1889
- sidebarHeader: k(() => !!c["sidebar-header"]),
1890
- sidebarTop: k(() => !!c["sidebar-top"]),
1891
- sidebarFooter: k(() => !!c["sidebar-footer"])
1882
+ const r = a, n = t, s = Ve(), l = Pe({
1883
+ navbarLeft: k(() => !!s["navbar-left"]),
1884
+ navbarCenter: k(() => !!s["navbar-center"]),
1885
+ navbarRight: k(() => !!s["navbar-right"]),
1886
+ navbarLogo: k(() => !!s["navbar-logo"]),
1887
+ navbarMobileLogo: k(() => !!s["navbar-mobile-logo"]),
1888
+ sidebarHeader: k(() => !!s["sidebar-header"]),
1889
+ sidebarTop: k(() => !!s["sidebar-top"]),
1890
+ sidebarFooter: k(() => !!s["sidebar-footer"])
1892
1891
  }), o = k(() => r.hideDefaultSlot), v = Pe({
1893
1892
  hidden: k(() => r.navbarHidden)
1894
1893
  }), m = Pe({
@@ -1898,24 +1897,24 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1898
1897
  hidden: k(() => r.sidebarHidden)
1899
1898
  }), S = (E) => {
1900
1899
  n("sidebar-click", E);
1901
- }, A = V(!1), N = (E) => {
1900
+ }, A = z(!1), N = (E) => {
1902
1901
  A.value = E;
1903
1902
  };
1904
1903
  In(() => {
1905
1904
  A.value = On(m, "open").value || !1;
1906
1905
  });
1907
- const x = V(0), P = V(60), _ = V(0), Z = k(() => v.hidden ? _.value : P.value + _.value), G = k(() => r.theme === "light" ? pi : mi), B = k(() => r.theme === "light" ? bi : hi), ae = k(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), oe = k(() => `${Z.value}px`), J = k(() => m.hidden || v.hidden ? gi : yi), { debounce: Q } = Qt(), K = Q((E = !1) => {
1906
+ const x = z(0), M = z(60), _ = z(0), P = k(() => v.hidden ? _.value : M.value + _.value), G = k(() => r.theme === "light" ? pi : mi), B = k(() => r.theme === "light" ? bi : hi), te = k(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), oe = k(() => `${P.value}px`), Y = k(() => m.hidden || v.hidden ? gi : yi), { debounce: J } = Qt(), K = J((E = !1) => {
1908
1907
  if (E || x.value !== (window == null ? void 0 : window.innerWidth)) {
1909
1908
  x.value = window == null ? void 0 : window.innerWidth;
1910
1909
  const j = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1911
1910
  j && (_.value = j.offsetHeight);
1912
1911
  }
1913
- }, 200), z = V();
1912
+ }, 200), V = z();
1914
1913
  return Ge(() => {
1915
1914
  var j, H;
1916
1915
  (j = document == null ? void 0 : document.body) == null || j.classList.add("kong-ui-app-layout-body"), (H = document == null ? void 0 : document.documentElement) == null || H.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, K(!0);
1917
1916
  const E = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1918
- E && (z.value = new ResizeObserver((I) => {
1917
+ E && (V.value = new ResizeObserver((I) => {
1919
1918
  window.requestAnimationFrame(() => {
1920
1919
  if (!(!Array.isArray(I) || !I.length))
1921
1920
  for (const d of I) {
@@ -1923,11 +1922,11 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1923
1922
  _.value !== u && (_.value = u);
1924
1923
  }
1925
1924
  });
1926
- }), z.value.observe(E)), window.addEventListener("resize", K);
1925
+ }), V.value.observe(E)), window.addEventListener("resize", K);
1927
1926
  }), Wt(() => {
1928
- z.value && z.value.disconnect(), window.removeEventListener("resize", K);
1927
+ V.value && V.value.disconnect(), window.removeEventListener("resize", K);
1929
1928
  }), (E, j) => (p(), w("div", {
1930
- class: ne(["kong-ui-app-layout", [
1929
+ class: ae(["kong-ui-app-layout", [
1931
1930
  { "navbar-hidden": v.hidden },
1932
1931
  { "sidebar-hidden": m.hidden }
1933
1932
  ]])
@@ -1935,13 +1934,13 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1935
1934
  O("div", _i, [
1936
1935
  T(E.$slots, "notification", {}, void 0, !0)
1937
1936
  ]),
1938
- v.hidden ? C("", !0) : (p(), Y(cr, {
1937
+ v.hidden ? C("", !0) : (p(), X(cr, {
1939
1938
  key: String(m.hidden),
1940
1939
  "left-offset": m.hidden ? 0 : void 0,
1941
1940
  "top-offset": _.value
1942
- }, Ze({
1941
+ }, je({
1943
1942
  "mobile-sidebar-toggle": R(() => [
1944
- m.hidden ? C("", !0) : (p(), Y(vi, {
1943
+ m.hidden ? C("", !0) : (p(), X(vi, {
1945
1944
  key: 0,
1946
1945
  active: A.value,
1947
1946
  onToggle: N
@@ -1989,19 +1988,19 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1989
1988
  key: "4"
1990
1989
  } : void 0
1991
1990
  ]), 1032, ["left-offset", "top-offset"])),
1992
- m.hidden ? C("", !0) : (p(), Y(oi, {
1991
+ m.hidden ? C("", !0) : (p(), X(oi, {
1993
1992
  key: 1,
1994
1993
  "bottom-items": m.bottomItems,
1995
- "header-height": P.value,
1994
+ "header-height": M.value,
1996
1995
  "mobile-enabled": "",
1997
1996
  "mobile-header-visible": !1,
1998
- "mobile-top-offset": Z.value,
1997
+ "mobile-top-offset": P.value,
1999
1998
  open: A.value,
2000
1999
  "top-items": m.topItems,
2001
2000
  "top-offset": _.value,
2002
2001
  onClick: S,
2003
2002
  onToggle: N
2004
- }, Ze({ _: 2 }, [
2003
+ }, je({ _: 2 }, [
2005
2004
  l.sidebarHeader ? {
2006
2005
  name: "header",
2007
2006
  fn: R(() => [
@@ -2041,7 +2040,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2041
2040
  ])
2042
2041
  ], 2));
2043
2042
  }
2044
- }), Ei = /* @__PURE__ */ te(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2043
+ }), Ei = /* @__PURE__ */ ee(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2045
2044
  key: 0,
2046
2045
  class: "page-header-breadcrumbs",
2047
2046
  "data-testid": "page-header-breadcrumbs"
@@ -2061,7 +2060,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2061
2060
  key: 1,
2062
2061
  class: "page-header-section-below",
2063
2062
  "data-testid": "page-header-section-below"
2064
- }, Pi = /* @__PURE__ */ ee({
2063
+ }, Pi = /* @__PURE__ */ Q({
2065
2064
  __name: "AppPageHeader",
2066
2065
  props: {
2067
2066
  title: {
@@ -2075,10 +2074,10 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2075
2074
  }
2076
2075
  },
2077
2076
  setup(a) {
2078
- const t = a, r = ze(), n = k(() => {
2077
+ const t = a, r = Ve(), n = k(() => {
2079
2078
  var l;
2080
2079
  return !!((l = t.breadcrumbs) != null && l.length);
2081
- }), c = k(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2080
+ }), s = k(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2082
2081
  return (l, o) => {
2083
2082
  const v = be("KBreadcrumbs");
2084
2083
  return p(), w("div", Ni, [
@@ -2086,8 +2085,8 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2086
2085
  Ne(v, {
2087
2086
  "item-max-width": "150",
2088
2087
  items: a.breadcrumbs
2089
- }, Ze({ _: 2 }, [
2090
- _e(c.value, (m) => ({
2088
+ }, je({ _: 2 }, [
2089
+ _e(s.value, (m) => ({
2091
2090
  name: m,
2092
2091
  fn: R(() => [
2093
2092
  T(l.$slots, m, {}, void 0, !0)
@@ -2104,7 +2103,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2104
2103
  class: "page-header-title",
2105
2104
  "data-testid": "page-header-title",
2106
2105
  title: a.title
2107
- }, X(a.title), 9, Ri),
2106
+ }, q(a.title), 9, Ri),
2108
2107
  l.$slots["title-after"] ? (p(), w("div", Bi, [
2109
2108
  T(l.$slots, "title-after", {}, void 0, !0)
2110
2109
  ])) : C("", !0)
@@ -2119,7 +2118,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2119
2118
  ]);
2120
2119
  };
2121
2120
  }
2122
- }), Ui = /* @__PURE__ */ te(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2121
+ }), Ui = /* @__PURE__ */ ee(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2123
2122
  // Customize Vue plugin options as desired
2124
2123
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2125
2124
  install: (a, t = {}) => {
@@ -2127,7 +2126,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2127
2126
  }
2128
2127
  };
2129
2128
  export {
2130
- ji as AccountDropdown,
2129
+ Zi as AccountDropdown,
2131
2130
  Ki as AppAboutSection,
2132
2131
  Hi as AppError,
2133
2132
  Ei as AppLayout,