@kong-ui-public/app-layout 4.1.6-pr.1400.866256c4.0 → 4.1.6-pr.1406.7bf4b073.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 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({
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({
3
3
  __name: "AccountDropdown",
4
4
  props: {
5
5
  options: {
@@ -19,8 +19,8 @@ const $n = /* @__PURE__ */ Q({
19
19
  },
20
20
  setup(a) {
21
21
  return (t, r) => {
22
- const n = be("KDropdownItem"), s = be("KDropdown");
23
- return p(), X(s, {
22
+ const n = be("KDropdownItem"), c = be("KDropdown");
23
+ return p(), Y(c, {
24
24
  class: "account-dropdown",
25
25
  "kpop-attributes": { placement: "bottomStart" },
26
26
  "trigger-text": a.userInitials,
@@ -28,16 +28,16 @@ const $n = /* @__PURE__ */ Q({
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(), X(n, {
31
+ (p(!0), w(Ce, null, _e(a.options, (o) => (p(), Y(n, {
32
32
  key: o.value,
33
- class: ae({ "has-divider": o.hasDivider }),
33
+ class: ne({ "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(q(o.label), 1)
40
+ ct(X(o.label), 1)
41
41
  ], !0)
42
42
  ]),
43
43
  _: 2
@@ -48,12 +48,12 @@ const $n = /* @__PURE__ */ Q({
48
48
  }, 8, ["trigger-text", "width"]);
49
49
  };
50
50
  }
51
- }), ee = (a, t) => {
51
+ }), te = (a, t) => {
52
52
  const r = a.__vccOpts || a;
53
- for (const [n, s] of t)
54
- r[n] = s;
53
+ for (const [n, c] of t)
54
+ r[n] = c;
55
55
  return r;
56
- }, Zi = /* @__PURE__ */ ee($n, [["__scopeId", "data-v-7bab0343"]]), Cn = {
56
+ }, ji = /* @__PURE__ */ te($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__ */ Q({
89
89
  key: 3,
90
90
  class: "about-divider-section",
91
91
  "data-testid": "about-divider-section"
92
- }, jn = /* @__PURE__ */ Q({
92
+ }, Zn = /* @__PURE__ */ ee({
93
93
  __name: "AppAboutSection",
94
94
  props: {
95
95
  title: {
@@ -123,12 +123,12 @@ const $n = /* @__PURE__ */ Q({
123
123
  },
124
124
  setup(a) {
125
125
  const t = a, r = k(() => !!t.modified && t.modified !== t.created);
126
- return (n, s) => {
126
+ return (n, c) => {
127
127
  const l = be("KSkeletonBox"), o = be("KCard");
128
- return p(), X(o, {
128
+ return p(), Y(o, {
129
129
  class: "kong-ui-app-about-section",
130
130
  "title-tag": "h2"
131
- }, je({
131
+ }, Ze({
132
132
  default: R(() => [
133
133
  a.isLoading ? (p(), w("div", Dn, [
134
134
  Ne(l, {
@@ -140,7 +140,7 @@ const $n = /* @__PURE__ */ Q({
140
140
  width: "100"
141
141
  })
142
142
  ])) : (p(), w("div", Rn, [
143
- a.description ? (p(), w("p", Bn, q(a.description), 1)) : C("", !0),
143
+ a.description ? (p(), w("p", Bn, X(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__ */ Q({
155
155
  a.title ? {
156
156
  name: "title",
157
157
  fn: R(() => [
158
- O("span", Cn, q(a.title), 1)
158
+ O("span", Cn, X(a.title), 1)
159
159
  ]),
160
160
  key: "0"
161
161
  } : void 0,
@@ -165,11 +165,11 @@ const $n = /* @__PURE__ */ Q({
165
165
  O("div", En, [
166
166
  a.created || a.modified ? (p(), w("div", {
167
167
  key: 0,
168
- class: ae(["about-section-timestamps", { "has-actions": n.$slots.actions }])
168
+ class: ne(["about-section-timestamps", { "has-actions": n.$slots.actions }])
169
169
  }, [
170
- a.created ? (p(), w("span", Nn, q(a.createdLabel) + ": " + q(a.created), 1)) : C("", !0),
170
+ a.created ? (p(), w("span", Nn, X(a.createdLabel) + ": " + X(a.created), 1)) : C("", !0),
171
171
  a.created && r.value ? (p(), w("span", An, "->")) : C("", !0),
172
- r.value ? (p(), w("span", Fn, q(a.modifiedLabel) + ": " + q(a.modified), 1)) : C("", !0)
172
+ r.value ? (p(), w("span", Fn, X(a.modifiedLabel) + ": " + X(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__ */ Q({
181
181
  ]), 1024);
182
182
  };
183
183
  }
184
- }), Ki = /* @__PURE__ */ ee(jn, [["__scopeId", "data-v-521dcc27"]]), Zn = {}, Kn = {
184
+ }), Ki = /* @__PURE__ */ te(Zn, [["__scopeId", "data-v-521dcc27"]]), jn = {}, Kn = {
185
185
  fill: "none",
186
186
  height: "130",
187
187
  width: "130",
@@ -192,16 +192,16 @@ const $n = /* @__PURE__ */ Q({
192
192
  function Wn(a, t) {
193
193
  return p(), w("svg", Kn, Un);
194
194
  }
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, [
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, [
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__ */ Q({
199
+ ], -1)), Jn = /* @__PURE__ */ ee({
200
200
  __name: "AppError",
201
201
  setup(a) {
202
- return (t, r) => (p(), w("section", Vn, [
202
+ return (t, r) => (p(), w("section", zn, [
203
203
  O("div", Gn, [
204
- Ne(zn)
204
+ Ne(Vn)
205
205
  ]),
206
206
  O("div", qn, [
207
207
  T(t.$slots, "default", {}, () => [
@@ -211,10 +211,10 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cb
211
211
  ])
212
212
  ]));
213
213
  }
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 = {
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 = {
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__ */ Q({
217
+ }, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ ee({
218
218
  __name: "AppNavbar",
219
219
  props: {
220
220
  topOffset: {
@@ -236,16 +236,16 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (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": s.marginRight,
240
- "278e63f0": s.width
239
+ "247c8fd0": c.marginRight,
240
+ "278e63f0": c.width
241
241
  }));
242
- const t = a, r = Ve(), n = k(() => !!r.logo), s = Pe({
242
+ const t = a, r = ze(), n = k(() => !!r.logo), c = 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 ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.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 ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
249
249
  });
250
250
  const l = k(() => ({
251
251
  top: t.topOffset ? `${t.topOffset}px` : "0",
@@ -275,7 +275,7 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cb
275
275
  ])
276
276
  ]));
277
277
  }
278
- }), cr = /* @__PURE__ */ ee(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ Q({
278
+ }), cr = /* @__PURE__ */ te(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ ee({
279
279
  __name: "ItemBadge",
280
280
  props: {
281
281
  count: {
@@ -286,19 +286,19 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (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, s) => r.value ? (p(), w("div", {
289
+ return (n, c) => 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
- }, q(r.value), 9, lr)) : C("", !0);
293
+ }, X(r.value), 9, lr)) : C("", !0);
294
294
  }
295
- }), dr = /* @__PURE__ */ ee(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
295
+ }), dr = /* @__PURE__ */ te(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__ */ Q({
301
+ }, gr = ["id"], yr = /* @__PURE__ */ ee({
302
302
  __name: "SidebarItem",
303
303
  props: {
304
304
  item: {
@@ -313,36 +313,36 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cb
313
313
  },
314
314
  emits: ["click"],
315
315
  setup(a, { emit: t }) {
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) => {
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) => {
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 M;
322
+ var P;
323
323
  const N = be("KTooltip"), x = be("SidebarItem", !0);
324
324
  return p(), w("li", {
325
- class: ae([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
325
+ class: ne([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(), 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
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
331
331
  }, {
332
332
  default: R((_) => {
333
- var P, G;
333
+ var Z, G;
334
334
  return [
335
335
  O("a", {
336
- "aria-controls": (P = a.item.items) != null && P.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
336
+ "aria-controls": (Z = a.item.items) != null && Z.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: 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,
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,
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: ae(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
345
+ class: ne(["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 zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (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: 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, {
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, {
355
355
  key: 1,
356
356
  class: "sidebar-item-tooltip",
357
357
  placement: "right",
@@ -361,15 +361,15 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cb
361
361
  default: R(() => [
362
362
  O("div", pr, [
363
363
  O("span", {
364
- class: ae(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
365
- }, q(a.item.name), 3)
364
+ class: ne(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
365
+ }, X(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, q(a.item.label), 1)) : C("", !0)
370
+ a.item.label && a.item.expanded ? (p(), w("div", mr, X(a.item.label), 1)) : C("", !0)
371
371
  ]),
372
- o.value ? (p(), X(dr, {
372
+ o.value ? (p(), Y(dr, {
373
373
  key: 1,
374
374
  count: a.item.badgeCount
375
375
  }, null, 8, ["count"])) : C("", !0)
@@ -379,27 +379,27 @@ const zn = /* @__PURE__ */ ee(Zn, [["render", Wn]]), zt = (a) => (ut("data-v-5cb
379
379
  }),
380
380
  _: 3
381
381
  }, 8, ["custom", "to"])),
382
- (M = a.item.items) != null && M.length && a.item.expanded ? (p(), w("ul", {
382
+ (P = a.item.items) != null && P.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(), X(x, {
387
+ (p(!0), w(Ce, null, _e(a.item.items, (_) => (p(), Y(x, {
388
388
  key: _.name,
389
389
  item: _,
390
390
  "subnav-item": !0,
391
- onClick: (P) => v(_)
391
+ onClick: (Z) => 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__ */ ee(yr, [["__scopeId", "data-v-e8ad3db8"]]);
397
+ }), Mt = /* @__PURE__ */ te(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 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() {
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() {
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 Vt = ["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 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);
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);
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 Vt = ["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 s = Array.prototype.slice.apply(t.querySelectorAll(Ke));
420
- return r && he.call(t, Ke) && s.unshift(t), s = s.filter(n), s;
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;
421
421
  }, Xt = function a(t, r, n) {
422
- for (var s = [], l = Array.from(t); l.length; ) {
422
+ for (var c = [], 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 ? s.push.apply(s, S) : s.push({
427
+ n.flatten ? c.push.apply(c, S) : c.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)) && s.push(o);
433
+ A && n.filter(o) && (r || !t.includes(o)) && c.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 M = a(N === !0 ? o.children : N.children, !0, n);
438
- n.flatten ? s.push.apply(s, M) : s.push({
437
+ var P = a(N === !0 ? o.children : N.children, !0, n);
438
+ n.flatten ? c.push.apply(c, P) : c.push({
439
439
  scopeParent: o,
440
- candidates: M
440
+ candidates: P
441
441
  });
442
442
  } else
443
443
  l.unshift.apply(l, o.children);
444
444
  }
445
445
  }
446
- return s;
446
+ return c;
447
447
  }, Yt = function(t) {
448
448
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
449
449
  }, ve = function(t) {
@@ -473,46 +473,46 @@ var Vt = ["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
- }, s;
476
+ }, c;
477
477
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
478
- s = n(window.CSS.escape(t.name));
478
+ c = n(window.CSS.escape(t.name));
479
479
  else
480
480
  try {
481
- s = n(t.name);
481
+ c = 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(s, t.form);
485
+ var l = Ir(c, 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), s = (r = n) === null || r === void 0 ? void 0 : r.host, l = !1;
492
+ var r, n = t && He(t), c = (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 = 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; ) {
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; ) {
496
496
  var S, A, N;
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));
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));
498
498
  }
499
499
  }
500
500
  return l;
501
501
  }, Pt = function(t) {
502
- var r = t.getBoundingClientRect(), n = r.width, s = r.height;
503
- return n === 0 && s === 0;
502
+ var r = t.getBoundingClientRect(), n = r.width, c = r.height;
503
+ return n === 0 && c === 0;
504
504
  }, Nr = function(t, r) {
505
- var n = r.displayCheck, s = r.getShadowRoot;
505
+ var n = r.displayCheck, c = 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 s == "function") {
512
+ if (typeof c == "function") {
513
513
  for (var v = t; t; ) {
514
514
  var m = t.parentElement, S = He(t);
515
- if (m && !m.shadowRoot && s(m) === !0)
515
+ if (m && !m.shadowRoot && c(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 Vt = ["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 s = r.children.item(n);
534
- if (s.tagName === "LEGEND")
535
- return he.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
533
+ var c = r.children.item(n);
534
+ if (c.tagName === "LEGEND")
535
+ return he.call(r, "fieldset[disabled] *") ? !0 : !c.contains(t);
536
536
  }
537
537
  return !0;
538
538
  }
@@ -552,17 +552,17 @@ var Vt = ["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(s, l) {
556
- var o = !!s.scopeParent, v = o ? s.scopeParent : s, m = _r(v, o), S = o ? a(s.candidates) : v;
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;
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: s,
560
+ item: c,
561
561
  isScope: o,
562
562
  content: S
563
563
  });
564
- }), n.sort(kr).reduce(function(s, l) {
565
- return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
564
+ }), n.sort(kr).reduce(function(c, l) {
565
+ return l.isScope ? c.push.apply(c, l.content) : c.push(l.content), c;
566
566
  }, []).concat(r);
567
567
  }, Dr = function(t, r) {
568
568
  r = r || {};
@@ -585,7 +585,7 @@ var Vt = ["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__ */ Vt.concat("iframe").join(","), st = function(t, r) {
588
+ }, Br = /* @__PURE__ */ zt.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 Vt = ["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 jt(a, t) {
597
+ function Zt(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(s) {
602
- return Object.getOwnPropertyDescriptor(a, s).enumerable;
601
+ t && (n = n.filter(function(c) {
602
+ return Object.getOwnPropertyDescriptor(a, c).enumerable;
603
603
  })), r.push.apply(r, n);
604
604
  }
605
605
  return r;
606
606
  }
607
- function Zt(a) {
607
+ function jt(a) {
608
608
  for (var t = 1; t < arguments.length; t++) {
609
609
  var r = arguments[t] != null ? arguments[t] : {};
610
- t % 2 ? jt(Object(r), !0).forEach(function(n) {
610
+ t % 2 ? Zt(Object(r), !0).forEach(function(n) {
611
611
  Lr(a, n, r[n]);
612
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : jt(Object(r)).forEach(function(n) {
612
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Zt(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 s = t.indexOf(r);
649
- s === -1 || t.splice(s, 1), t.push(r);
648
+ var c = t.indexOf(r);
649
+ c === -1 || t.splice(c, 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
- }, jr = function(t) {
656
- return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
657
655
  }, Zr = function(t) {
656
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
657
+ }, jr = 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(s, l) {
670
- return r(s) ? (n = l, !1) : !0;
669
+ return t.every(function(c, l) {
670
+ return r(c) ? (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), s = 1; s < r; s++)
674
- n[s - 1] = arguments[s];
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];
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, s = (r == null ? void 0 : r.trapStack) || Ur, l = Zt({
679
+ var n = (r == null ? void 0 : r.document) || document, c = (r == null ? void 0 : r.trapStack) || Ur, l = jt({
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 b = y.container, $ = y.tabbableNodes;
727
- return b.contains(d) || // fall back to explicit tabbable search which will take into consideration any
726
+ var h = y.container, $ = y.tabbableNodes;
727
+ return h.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(b)) || $.find(function(F) {
731
+ (f == null ? void 0 : f.includes(h)) || $.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), b = 1; b < f; b++)
739
- y[b - 1] = arguments[b];
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];
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, b = 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, h = 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: b,
783
+ lastTabbableNode: h,
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(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) {
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) {
806
806
  return we(se);
807
- }) : f.slice(0, f.indexOf(ne)).reverse().find(function(se) {
807
+ }) : f.slice(0, f.indexOf(re)).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
- }, M = function I(d) {
820
+ }, P = 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 !== M(document)) {
825
+ if (d !== !1 && d !== P(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, jr(d) && d.select();
832
+ }), o.mostRecentlyFocusedNode = d, Zr(d) && d.select();
833
833
  }
834
- }, P = function(d) {
834
+ }, Z = 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, b = y === void 0 ? !1 : y;
838
+ var u = d.target, f = d.event, y = d.isBackward, h = 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
- b ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
845
- else if (b) {
844
+ h ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
845
+ else if (h) {
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 ne = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[ne];
851
+ var re = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[re];
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
- }, te = function(d) {
886
+ }, ae = 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, b = !0;
892
+ var y, h = !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], b = !1) : D - 1 >= 0 && (y = F[D - 1], b = !1));
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));
901
901
  }
902
902
  } else
903
903
  o.containerGroups.some(function(g) {
904
- return g.tabbableNodes.some(function(ne) {
905
- return ve(ne) > 0;
904
+ return g.tabbableNodes.some(function(re) {
905
+ return ve(re) > 0;
906
906
  });
907
- }) || (b = !1);
907
+ }) || (h = !1);
908
908
  else
909
- b = !1;
910
- b && (y = G({
909
+ h = !1;
910
+ h && (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
- }, Y = function(d) {
927
- if (Zr(d) && $e(l.escapeDeactivates, d) !== !1) {
926
+ }, J = function(d) {
927
+ if (jr(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
- }, J = function(d) {
932
+ }, Q = 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(s, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
937
+ return Kt.activateTrap(c, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
938
938
  _(N());
939
- }) : _(N()), n.addEventListener("focusin", te, !0), n.addEventListener("mousedown", B, {
939
+ }) : _(N()), n.addEventListener("focusin", ae, !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", J, {
945
+ }), n.addEventListener("click", Q, {
946
946
  capture: !0,
947
947
  passive: !1
948
- }), n.addEventListener("keydown", Y, {
948
+ }), n.addEventListener("keydown", J, {
949
949
  capture: !0,
950
950
  passive: !1
951
951
  }), v;
952
- }, V = function() {
952
+ }, z = function() {
953
953
  if (o.active)
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;
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;
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(b) {
959
- return b === o.mostRecentlyFocusedNode;
958
+ return y.some(function(h) {
959
+ return h === 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 b = function() {
983
+ var h = function() {
984
984
  y && x(), K(), H(), f == null || f();
985
985
  };
986
- return y ? (y(o.containers.concat()).then(b, b), this) : (b(), this);
986
+ return y ? (y(o.containers.concat()).then(h, h), this) : (h(), this);
987
987
  },
988
988
  deactivate: function(d) {
989
989
  if (!o.active)
990
990
  return this;
991
- var u = Zt({
991
+ var u = jt({
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, 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");
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");
998
998
  f == null || f();
999
999
  var F = function() {
1000
1000
  Ht(function() {
1001
- $ && _(P(o.nodeFocusedBeforeActivation)), y == null || y();
1001
+ $ && _(Z(o.nodeFocusedBeforeActivation)), y == null || y();
1002
1002
  });
1003
1003
  };
1004
- return $ && b ? (b(P(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1004
+ return $ && h ? (h(Z(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(), V(), H(), f == null || f(), this;
1010
+ return o.paused = !0, u == null || u(), z(), 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 zr = {
1031
+ const Vr = {
1032
1032
  escapeDeactivates: {
1033
1033
  type: Boolean,
1034
1034
  default: !0
@@ -1054,14 +1054,14 @@ const zr = {
1054
1054
  preventScroll: Boolean,
1055
1055
  setReturnFocus: [Object, String, Boolean, Function],
1056
1056
  tabbableOptions: Object
1057
- }, Vr = Q({
1057
+ }, zr = ee({
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
- }, zr),
1064
+ }, Vr),
1065
1065
  emits: [
1066
1066
  "update:active",
1067
1067
  "activate",
@@ -1074,8 +1074,8 @@ const zr = {
1074
1074
  },
1075
1075
  setup(a, { slots: t, emit: r }) {
1076
1076
  let n;
1077
- const s = z(null), l = k(() => {
1078
- const v = s.value;
1077
+ const c = V(null), l = k(() => {
1078
+ const v = c.value;
1079
1079
  return v && (v instanceof HTMLElement ? v : v.$el);
1080
1080
  });
1081
1081
  function o() {
@@ -1100,7 +1100,7 @@ const zr = {
1100
1100
  }));
1101
1101
  }
1102
1102
  return Ge(() => {
1103
- Ze(() => a.active, (v) => {
1103
+ je(() => 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 zr = {
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: s });
1119
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : kn(v[0], { ref: c });
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 (...s) => {
1128
+ return (...c) => {
1129
1129
  clearTimeout(n), n = window == null ? void 0 : window.setTimeout(() => {
1130
- t(...s);
1130
+ t(...c);
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 ze = { exports: {} };
1141
- ze.exports;
1140
+ var Ve = { exports: {} };
1141
+ Ve.exports;
1142
1142
  (function(a, t) {
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;
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;
1146
1146
  function Se(e, i) {
1147
1147
  return e.set(i[0], i[1]), e;
1148
1148
  }
@@ -1150,24 +1150,25 @@ ze.exports;
1150
1150
  return e.add(i), e;
1151
1151
  }
1152
1152
  function ta(e, i) {
1153
- for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1153
+ for (var s = -1, b = e ? e.length : 0; ++s < b && i(e[s], s, e) !== !1; )
1154
1154
  ;
1155
1155
  return e;
1156
1156
  }
1157
1157
  function aa(e, i) {
1158
- for (var c = -1, h = i.length, Z = e.length; ++c < h; )
1159
- e[Z + c] = i[c];
1158
+ for (var s = -1, b = i.length, M = e.length; ++s < b; )
1159
+ e[M + s] = i[s];
1160
1160
  return e;
1161
1161
  }
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;
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;
1166
1167
  }
1167
1168
  function na(e, i) {
1168
- for (var c = -1, h = Array(e); ++c < e; )
1169
- h[c] = i(c);
1170
- return h;
1169
+ for (var s = -1, b = Array(e); ++s < e; )
1170
+ b[s] = i(s);
1171
+ return b;
1171
1172
  }
1172
1173
  function ra(e, i) {
1173
1174
  return e == null ? void 0 : e[i];
@@ -1182,33 +1183,33 @@ ze.exports;
1182
1183
  return i;
1183
1184
  }
1184
1185
  function pt(e) {
1185
- var i = -1, c = Array(e.size);
1186
- return e.forEach(function(h, Z) {
1187
- c[++i] = [Z, h];
1188
- }), c;
1186
+ var i = -1, s = Array(e.size);
1187
+ return e.forEach(function(b, M) {
1188
+ s[++i] = [M, b];
1189
+ }), s;
1189
1190
  }
1190
1191
  function qe(e, i) {
1191
- return function(c) {
1192
- return e(i(c));
1192
+ return function(s) {
1193
+ return e(i(s));
1193
1194
  };
1194
1195
  }
1195
1196
  function mt(e) {
1196
- var i = -1, c = Array(e.size);
1197
- return e.forEach(function(h) {
1198
- c[++i] = h;
1199
- }), c;
1197
+ var i = -1, s = Array(e.size);
1198
+ return e.forEach(function(b) {
1199
+ s[++i] = b;
1200
+ }), s;
1200
1201
  }
1201
1202
  var ia = Array.prototype, oa = Function.prototype, Ae = Object.prototype, Xe = L["__core-js_shared__"], gt = function() {
1202
1203
  var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
1203
1204
  return e ? "Symbol(src)_1." + e : "";
1204
1205
  }(), yt = oa.toString, ce = Ae.hasOwnProperty, Fe = Ae.toString, sa = RegExp(
1205
- "^" + yt.call(ce).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1206
+ "^" + yt.call(ce).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1206
1207
  ), 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;
1207
1208
  function ue(e) {
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]);
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]);
1212
1213
  }
1213
1214
  }
1214
1215
  function ya() {
@@ -1220,8 +1221,8 @@ ze.exports;
1220
1221
  function _a(e) {
1221
1222
  var i = this.__data__;
1222
1223
  if (Oe) {
1223
- var c = i[e];
1224
- return c === n ? void 0 : c;
1224
+ var s = i[e];
1225
+ return s === n ? void 0 : s;
1225
1226
  }
1226
1227
  return ce.call(i, e) ? i[e] : void 0;
1227
1228
  }
@@ -1230,50 +1231,50 @@ ze.exports;
1230
1231
  return Oe ? i[e] !== void 0 : ce.call(i, e);
1231
1232
  }
1232
1233
  function Ta(e, i) {
1233
- var c = this.__data__;
1234
- return c[e] = Oe && i === void 0 ? n : i, this;
1234
+ var s = this.__data__;
1235
+ return s[e] = Oe && i === void 0 ? n : i, this;
1235
1236
  }
1236
1237
  ue.prototype.clear = ya, ue.prototype.delete = wa, ue.prototype.get = _a, ue.prototype.has = ka, ue.prototype.set = Ta;
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]);
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]);
1242
1243
  }
1243
1244
  }
1244
1245
  function Sa() {
1245
1246
  this.__data__ = [];
1246
1247
  }
1247
1248
  function Ia(e) {
1248
- var i = this.__data__, c = xe(i, e);
1249
- if (c < 0)
1249
+ var i = this.__data__, s = xe(i, e);
1250
+ if (s < 0)
1250
1251
  return !1;
1251
- var h = i.length - 1;
1252
- return c == h ? i.pop() : da.call(i, c, 1), !0;
1252
+ var b = i.length - 1;
1253
+ return s == b ? i.pop() : da.call(i, s, 1), !0;
1253
1254
  }
1254
1255
  function Oa(e) {
1255
- var i = this.__data__, c = xe(i, e);
1256
- return c < 0 ? void 0 : i[c][1];
1256
+ var i = this.__data__, s = xe(i, e);
1257
+ return s < 0 ? void 0 : i[s][1];
1257
1258
  }
1258
1259
  function $a(e) {
1259
1260
  return xe(this.__data__, e) > -1;
1260
1261
  }
1261
1262
  function Ca(e, i) {
1262
- var c = this.__data__, h = xe(c, e);
1263
- return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1263
+ var s = this.__data__, b = xe(s, e);
1264
+ return b < 0 ? s.push([e, i]) : s[b][1] = i, this;
1264
1265
  }
1265
- re.prototype.clear = Sa, re.prototype.delete = Ia, re.prototype.get = Oa, re.prototype.has = $a, re.prototype.set = Ca;
1266
+ ie.prototype.clear = Sa, ie.prototype.delete = Ia, ie.prototype.get = Oa, ie.prototype.has = $a, ie.prototype.set = Ca;
1266
1267
  function pe(e) {
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]);
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]);
1271
1272
  }
1272
1273
  }
1273
1274
  function Ea() {
1274
1275
  this.__data__ = {
1275
1276
  hash: new ue(),
1276
- map: new (Ie || re)(),
1277
+ map: new (Ie || ie)(),
1277
1278
  string: new ue()
1278
1279
  };
1279
1280
  }
@@ -1291,10 +1292,10 @@ ze.exports;
1291
1292
  }
1292
1293
  pe.prototype.clear = Ea, pe.prototype.delete = Na, pe.prototype.get = Aa, pe.prototype.has = Fa, pe.prototype.set = xa;
1293
1294
  function me(e) {
1294
- this.__data__ = new re(e);
1295
+ this.__data__ = new ie(e);
1295
1296
  }
1296
1297
  function Da() {
1297
- this.__data__ = new re();
1298
+ this.__data__ = new ie();
1298
1299
  }
1299
1300
  function Ra(e) {
1300
1301
  return this.__data__.delete(e);
@@ -1306,38 +1307,38 @@ ze.exports;
1306
1307
  return this.__data__.has(e);
1307
1308
  }
1308
1309
  function Ma(e, i) {
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);
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);
1315
1316
  }
1316
- return c.set(e, i), this;
1317
+ return s.set(e, i), this;
1317
1318
  }
1318
1319
  me.prototype.clear = Da, me.prototype.delete = Ra, me.prototype.get = Ba, me.prototype.has = La, me.prototype.set = Ma;
1319
1320
  function Pa(e, i) {
1320
- var c = nt(e) || un(e) ? na(e.length, String) : [], h = c.length, Z = !!h;
1321
+ var s = nt(e) || un(e) ? na(e.length, String) : [], b = s.length, M = !!b;
1321
1322
  for (var U in e)
1322
- ce.call(e, U) && !(Z && (U == "length" || on(U, h))) && c.push(U);
1323
- return c;
1323
+ (i || ce.call(e, U)) && !(M && (U == "length" || on(U, b))) && s.push(U);
1324
+ return s;
1324
1325
  }
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);
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);
1328
1329
  }
1329
1330
  function xe(e, i) {
1330
- for (var c = e.length; c--; )
1331
- if (Nt(e[c][0], i))
1332
- return c;
1331
+ for (var s = e.length; s--; )
1332
+ if (Nt(e[s][0], i))
1333
+ return s;
1333
1334
  return -1;
1334
1335
  }
1335
- function ja(e, i) {
1336
+ function Za(e, i) {
1336
1337
  return e && $t(i, rt(i), e);
1337
1338
  }
1338
- function tt(e, i, c, h, Z, U, ie) {
1339
+ function tt(e, i, s, b, M, U, q) {
1339
1340
  var W;
1340
- if (h && (W = U ? h(e, Z, U, ie) : h(e)), W !== void 0)
1341
+ if (b && (W = U ? b(e, M, U, q) : b(e)), W !== void 0)
1341
1342
  return W;
1342
1343
  if (!Re(e))
1343
1344
  return e;
@@ -1348,34 +1349,34 @@ ze.exports;
1348
1349
  } else {
1349
1350
  var ye = de(e), Dt = ye == A || ye == N;
1350
1351
  if (fn(e))
1351
- return za(e, i);
1352
+ return Va(e, i);
1352
1353
  if (ye == _ || ye == l || Dt && !U) {
1353
1354
  if (ht(e))
1354
1355
  return U ? e : {};
1355
1356
  if (W = nn(Dt ? {} : e), !i)
1356
- return en(e, ja(W, e));
1357
+ return en(e, Za(W, e));
1357
1358
  } else {
1358
1359
  if (!g[ye])
1359
1360
  return U ? e : {};
1360
1361
  W = rn(e, ye, tt, i);
1361
1362
  }
1362
1363
  }
1363
- ie || (ie = new me());
1364
- var Rt = ie.get(e);
1364
+ q || (q = new me());
1365
+ var Rt = q.get(e);
1365
1366
  if (Rt)
1366
1367
  return Rt;
1367
- if (ie.set(e, W), !xt)
1368
- var Bt = c ? tn(e) : rt(e);
1368
+ if (q.set(e, W), !xt)
1369
+ var Bt = s ? tn(e) : rt(e);
1369
1370
  return ta(Bt || e, function(it, Be) {
1370
- Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, c, h, Be, e, ie));
1371
+ Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, s, b, Be, e, q));
1371
1372
  }), W;
1372
1373
  }
1373
- function Za(e) {
1374
+ function ja(e) {
1374
1375
  return Re(e) ? la(e) : {};
1375
1376
  }
1376
- function Ka(e, i, c) {
1377
- var h = i(e);
1378
- return nt(e) ? h : aa(h, c(e));
1377
+ function Ka(e, i, s) {
1378
+ var b = i(e);
1379
+ return nt(e) ? b : aa(b, s(e));
1379
1380
  }
1380
1381
  function Ha(e) {
1381
1382
  return Fe.call(e);
@@ -1390,56 +1391,56 @@ ze.exports;
1390
1391
  if (!Et(e))
1391
1392
  return va(e);
1392
1393
  var i = [];
1393
- for (var c in Object(e))
1394
- ce.call(e, c) && c != "constructor" && i.push(c);
1394
+ for (var s in Object(e))
1395
+ ce.call(e, s) && s != "constructor" && i.push(s);
1395
1396
  return i;
1396
1397
  }
1397
- function za(e, i) {
1398
+ function Va(e, i) {
1398
1399
  if (i)
1399
1400
  return e.slice();
1400
- var c = new e.constructor(e.length);
1401
- return e.copy(c), c;
1401
+ var s = new e.constructor(e.length);
1402
+ return e.copy(s), s;
1402
1403
  }
1403
1404
  function at(e) {
1404
1405
  var i = new e.constructor(e.byteLength);
1405
1406
  return new kt(i).set(new kt(e)), i;
1406
1407
  }
1407
- function Va(e, i) {
1408
- var c = i ? at(e.buffer) : e.buffer;
1409
- return new e.constructor(c, e.byteOffset, e.byteLength);
1408
+ function za(e, i) {
1409
+ var s = i ? at(e.buffer) : e.buffer;
1410
+ return new e.constructor(s, e.byteOffset, e.byteLength);
1410
1411
  }
1411
- function Ga(e, i, c) {
1412
- var h = i ? c(pt(e), !0) : pt(e);
1413
- return bt(h, Se, new e.constructor());
1412
+ function Ga(e, i, s) {
1413
+ var b = i ? s(pt(e), !0) : pt(e);
1414
+ return bt(b, Se, new e.constructor());
1414
1415
  }
1415
1416
  function qa(e) {
1416
1417
  var i = new e.constructor(e.source, $.exec(e));
1417
1418
  return i.lastIndex = e.lastIndex, i;
1418
1419
  }
1419
- function Xa(e, i, c) {
1420
- var h = i ? c(mt(e), !0) : mt(e);
1421
- return bt(h, ea, new e.constructor());
1420
+ function Xa(e, i, s) {
1421
+ var b = i ? s(mt(e), !0) : mt(e);
1422
+ return bt(b, ea, new e.constructor());
1422
1423
  }
1423
1424
  function Ya(e) {
1424
1425
  return It ? Object(It.call(e)) : {};
1425
1426
  }
1426
1427
  function Ja(e, i) {
1427
- var c = i ? at(e.buffer) : e.buffer;
1428
- return new e.constructor(c, e.byteOffset, e.length);
1428
+ var s = i ? at(e.buffer) : e.buffer;
1429
+ return new e.constructor(s, e.byteOffset, e.length);
1429
1430
  }
1430
1431
  function Qa(e, i) {
1431
- var c = -1, h = e.length;
1432
- for (i || (i = Array(h)); ++c < h; )
1433
- i[c] = e[c];
1432
+ var s = -1, b = e.length;
1433
+ for (i || (i = Array(b)); ++s < b; )
1434
+ i[s] = e[s];
1434
1435
  return i;
1435
1436
  }
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);
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);
1441
1442
  }
1442
- return c;
1443
+ return s;
1443
1444
  }
1444
1445
  function en(e, i) {
1445
1446
  return $t(e, Ct(e), i);
@@ -1448,49 +1449,49 @@ ze.exports;
1448
1449
  return Ka(e, rt, Ct);
1449
1450
  }
1450
1451
  function De(e, i) {
1451
- var c = e.__data__;
1452
- return sn(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1452
+ var s = e.__data__;
1453
+ return sn(i) ? s[typeof i == "string" ? "string" : "hash"] : s.map;
1453
1454
  }
1454
1455
  function ge(e, i) {
1455
- var c = ra(e, i);
1456
- return Ua(c) ? c : void 0;
1456
+ var s = ra(e, i);
1457
+ return Ua(s) ? s : void 0;
1457
1458
  }
1458
1459
  var Ct = Tt ? qe(Tt, Object) : hn, de = Ha;
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) {
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) {
1463
1464
  case ba:
1464
1465
  return K;
1465
1466
  case ha:
1466
1467
  return x;
1467
1468
  case pa:
1468
- return P;
1469
+ return Z;
1469
1470
  case ma:
1470
1471
  return B;
1471
1472
  case ga:
1472
- return Y;
1473
+ return J;
1473
1474
  }
1474
1475
  return i;
1475
1476
  });
1476
1477
  function an(e) {
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;
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;
1479
1480
  }
1480
1481
  function nn(e) {
1481
- return typeof e.constructor == "function" && !Et(e) ? Za(ca(e)) : {};
1482
+ return typeof e.constructor == "function" && !Et(e) ? ja(ca(e)) : {};
1482
1483
  }
1483
- function rn(e, i, c, h) {
1484
- var Z = e.constructor;
1484
+ function rn(e, i, s, b) {
1485
+ var M = e.constructor;
1485
1486
  switch (i) {
1486
- case J:
1487
+ case Q:
1487
1488
  return at(e);
1488
1489
  case v:
1489
1490
  case m:
1490
- return new Z(+e);
1491
+ return new M(+e);
1491
1492
  case K:
1492
- return Va(e, h);
1493
- case V:
1493
+ return za(e, b);
1494
+ case z:
1494
1495
  case E:
1495
1496
  case j:
1496
1497
  case H:
@@ -1499,22 +1500,22 @@ ze.exports;
1499
1500
  case u:
1500
1501
  case f:
1501
1502
  case y:
1502
- return Ja(e, h);
1503
+ return Ja(e, b);
1503
1504
  case x:
1504
- return Ga(e, h, c);
1505
- case M:
1506
- case te:
1507
- return new Z(e);
1505
+ return Ga(e, b, s);
1506
+ case P:
1507
+ case ae:
1508
+ return new M(e);
1508
1509
  case G:
1509
1510
  return qa(e);
1510
1511
  case B:
1511
- return Xa(e, h, c);
1512
+ return Xa(e, b, s);
1512
1513
  case oe:
1513
1514
  return Ya(e);
1514
1515
  }
1515
1516
  }
1516
1517
  function on(e, i) {
1517
- return i = i ?? s, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1518
+ return i = i ?? c, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1518
1519
  }
1519
1520
  function sn(e) {
1520
1521
  var i = typeof e;
@@ -1524,8 +1525,8 @@ ze.exports;
1524
1525
  return !!gt && gt in e;
1525
1526
  }
1526
1527
  function Et(e) {
1527
- var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ae;
1528
- return e === c;
1528
+ var i = e && e.constructor, s = typeof i == "function" && i.prototype || Ae;
1529
+ return e === s;
1529
1530
  }
1530
1531
  function fe(e) {
1531
1532
  if (e != null) {
@@ -1562,7 +1563,7 @@ ze.exports;
1562
1563
  return i == A || i == N;
1563
1564
  }
1564
1565
  function vn(e) {
1565
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
1566
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
1566
1567
  }
1567
1568
  function Re(e) {
1568
1569
  var i = typeof e;
@@ -1581,8 +1582,8 @@ ze.exports;
1581
1582
  return !1;
1582
1583
  }
1583
1584
  a.exports = ln;
1584
- })(ze, ze.exports);
1585
- var qr = ze.exports;
1585
+ })(Ve, Ve.exports);
1586
+ var qr = Ve.exports;
1586
1587
  const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1587
1588
  key: 0,
1588
1589
  class: "sidebar-header"
@@ -1599,7 +1600,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1599
1600
  }, ni = {
1600
1601
  key: 2,
1601
1602
  class: "level-primary bottom-items"
1602
- }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ Q({
1603
+ }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ ee({
1603
1604
  __name: "AppSidebar",
1604
1605
  props: {
1605
1606
  topItems: {
@@ -1671,7 +1672,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1671
1672
  "98cd1a16": A.value.top,
1672
1673
  "362eded8": A.value.zIndex
1673
1674
  }));
1674
- const r = t, n = a, s = Ve(), l = k(() => !!s.header), o = k(() => !!s.top), v = k(() => ({
1675
+ const r = t, n = a, c = ze(), l = k(() => !!c.header), o = k(() => !!c.top), v = k(() => ({
1675
1676
  mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
1676
1677
  top: n.topOffset ? `${n.topOffset}px` : "0",
1677
1678
  mobileHeight: n.mobileTopOffset && n.mobileEnabled ? `calc(100% - ${n.mobileTopOffset}px)` : "100%",
@@ -1684,62 +1685,62 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1684
1685
  })), A = k(() => ({
1685
1686
  top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
1686
1687
  zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
1687
- })), N = (f) => Xr(f).map((b) => {
1688
+ })), N = (f) => Xr(f).map((h) => {
1688
1689
  var $, F, D;
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, "-"));
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, "-"));
1693
1694
  }
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;
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;
1698
1699
  }, G = () => {
1699
- n.mobileOverlayCloseOnClick && P(!1);
1700
- }, B = z(!1), te = (f) => {
1700
+ n.mobileOverlayCloseOnClick && Z(!1);
1701
+ }, B = V(!1), ae = (f) => {
1701
1702
  B.value = !0, r("click", f), setTimeout(() => {
1702
- P(!1);
1703
+ Z(!1);
1703
1704
  }, n.mobileCloseDelay);
1704
1705
  };
1705
- Ze(() => n.open, (f) => {
1706
- P(f);
1706
+ je(() => n.open, (f) => {
1707
+ Z(f);
1707
1708
  });
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();
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();
1715
1716
  };
1716
- Ze(H, async (f) => {
1717
+ je(H, async (f) => {
1717
1718
  f ? await I(!0) : await I(!1);
1718
1719
  }, { immediate: !0 });
1719
- const d = z("0px"), u = () => {
1720
+ const d = V("0px"), u = () => {
1720
1721
  var g;
1721
1722
  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)))
1722
1723
  return;
1723
1724
  const y = document.createElement("div");
1724
1725
  y.style.visibility = "hidden", y.style.width = "100px", document.body.appendChild(y);
1725
- const b = y.offsetWidth;
1726
+ const h = y.offsetWidth;
1726
1727
  y.style.overflow = "scroll";
1727
1728
  const $ = document.createElement("div");
1728
1729
  $.style.width = "100%", y.appendChild($);
1729
1730
  const F = $.offsetWidth;
1730
- y.parentNode && y.parentNode.removeChild(y), b - F === 0 && (d.value = "8px");
1731
+ y.parentNode && y.parentNode.removeChild(y), h - F === 0 && (d.value = "8px");
1731
1732
  };
1732
1733
  return Ge(async () => {
1733
- J.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Y), window.addEventListener("resize", E), await Lt(), u();
1734
+ Q.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", J), window.addEventListener("resize", E), await Lt(), u();
1734
1735
  }), Wt(() => {
1735
- window.removeEventListener("resize", Y), window.removeEventListener("resize", E);
1736
+ window.removeEventListener("resize", J), window.removeEventListener("resize", E);
1736
1737
  }), (f, y) => (p(), w(Ce, null, [
1737
1738
  _.value && a.mobileOverlay && a.mobileEnabled ? (p(), w("div", {
1738
1739
  key: 0,
1739
1740
  class: "kong-ui-app-sidebar-overlay",
1740
1741
  onClick: G
1741
1742
  })) : C("", !0),
1742
- Ne(Tn(Vr), {
1743
+ Ne(Tn(zr), {
1743
1744
  ref_key: "focusTrap",
1744
1745
  ref: j,
1745
1746
  active: !1,
@@ -1748,7 +1749,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1748
1749
  }, {
1749
1750
  default: R(() => [
1750
1751
  O("aside", {
1751
- class: ae(["kong-ui-app-sidebar", {
1752
+ class: ne(["kong-ui-app-sidebar", {
1752
1753
  "sidebar-open": _.value,
1753
1754
  "no-sidebar-header": !l.value,
1754
1755
  "mobile-header-hidden": a.mobileEnabled && (!l.value || !a.mobileHeaderVisible),
@@ -1766,26 +1767,26 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1766
1767
  ])) : C("", !0),
1767
1768
  O("nav", ei, [
1768
1769
  x.value.length ? (p(), w("ul", ti, [
1769
- (p(!0), w(Ce, null, _e(x.value, (b) => (p(), X(Mt, {
1770
- key: b.name,
1771
- item: b,
1772
- onClick: te
1770
+ (p(!0), w(Ce, null, _e(x.value, (h) => (p(), Y(Mt, {
1771
+ key: h.name,
1772
+ item: h,
1773
+ onClick: ae
1773
1774
  }, {
1774
- [`sidebar-icon-${b.key}`]: R(() => [
1775
- T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1775
+ [`sidebar-icon-${h.key}`]: R(() => [
1776
+ T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1776
1777
  ]),
1777
1778
  _: 2
1778
1779
  }, 1032, ["item"]))), 128))
1779
1780
  ])) : C("", !0),
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
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
1786
1787
  }, {
1787
- [`sidebar-icon-${b.key}`]: R(() => [
1788
- T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1788
+ [`sidebar-icon-${h.key}`]: R(() => [
1789
+ T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1789
1790
  ]),
1790
1791
  _: 2
1791
1792
  }, 1032, ["item"]))), 128))
@@ -1801,11 +1802,11 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1801
1802
  }, 512)
1802
1803
  ], 64));
1803
1804
  }
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 = [
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 = [
1805
1806
  ci,
1806
1807
  li,
1807
1808
  ui
1808
- ], fi = /* @__PURE__ */ Q({
1809
+ ], fi = /* @__PURE__ */ ee({
1809
1810
  __name: "SidebarToggle",
1810
1811
  props: {
1811
1812
  active: {
@@ -1815,27 +1816,27 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1815
1816
  },
1816
1817
  emits: ["toggle"],
1817
1818
  setup(a, { emit: t }) {
1818
- const r = t, n = a, s = z(n.active || !1), l = (o) => {
1819
- o.preventDefault(), s.value = !s.value, r("toggle", s.value);
1819
+ const r = t, n = a, c = V(n.active || !1), l = (o) => {
1820
+ o.preventDefault(), c.value = !c.value, r("toggle", c.value);
1820
1821
  };
1821
- return Ze(() => n.active, (o) => {
1822
- s.value = o;
1822
+ return je(() => n.active, (o) => {
1823
+ c.value = o;
1823
1824
  }), (o, v) => (p(), w("a", {
1824
1825
  "aria-haspopup": "true",
1825
- "aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
1826
- class: ae(["sidebar-menu-toggle", { active: s.value }]),
1826
+ "aria-label": c.value ? "Close Main Menu" : "Open Main Menu",
1827
+ class: ne(["sidebar-menu-toggle", { active: c.value }]),
1827
1828
  href: "#",
1828
1829
  role: "button",
1829
1830
  onClick: Sn(l, ["prevent"])
1830
1831
  }, di, 10, si));
1831
1832
  }
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 = {
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 = {
1833
1834
  key: 0,
1834
1835
  class: "navbar-logo"
1835
1836
  }, Si = {
1836
1837
  class: "kong-ui-app-layout-main",
1837
1838
  "data-testid": "kong-ui-app-layout-main"
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({
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({
1839
1840
  __name: "AppLayout",
1840
1841
  props: {
1841
1842
  hideDefaultSlot: {
@@ -1874,20 +1875,20 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1874
1875
  setup(a, { emit: t }) {
1875
1876
  ft((E) => ({
1876
1877
  "30c6990a": B.value,
1877
- 40906680: te.value,
1878
+ 40906680: ae.value,
1878
1879
  "169c1fd8": G.value,
1879
1880
  "75276abc": oe.value,
1880
- af1d4ea2: Y.value
1881
+ af1d4ea2: J.value
1881
1882
  }));
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"])
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"])
1891
1892
  }), o = k(() => r.hideDefaultSlot), v = Pe({
1892
1893
  hidden: k(() => r.navbarHidden)
1893
1894
  }), m = Pe({
@@ -1897,24 +1898,24 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1897
1898
  hidden: k(() => r.sidebarHidden)
1898
1899
  }), S = (E) => {
1899
1900
  n("sidebar-click", E);
1900
- }, A = z(!1), N = (E) => {
1901
+ }, A = V(!1), N = (E) => {
1901
1902
  A.value = E;
1902
1903
  };
1903
1904
  In(() => {
1904
1905
  A.value = On(m, "open").value || !1;
1905
1906
  });
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) => {
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) => {
1907
1908
  if (E || x.value !== (window == null ? void 0 : window.innerWidth)) {
1908
1909
  x.value = window == null ? void 0 : window.innerWidth;
1909
1910
  const j = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1910
1911
  j && (_.value = j.offsetHeight);
1911
1912
  }
1912
- }, 200), V = z();
1913
+ }, 200), z = V();
1913
1914
  return Ge(() => {
1914
1915
  var j, H;
1915
1916
  (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);
1916
1917
  const E = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1917
- E && (V.value = new ResizeObserver((I) => {
1918
+ E && (z.value = new ResizeObserver((I) => {
1918
1919
  window.requestAnimationFrame(() => {
1919
1920
  if (!(!Array.isArray(I) || !I.length))
1920
1921
  for (const d of I) {
@@ -1922,11 +1923,11 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1922
1923
  _.value !== u && (_.value = u);
1923
1924
  }
1924
1925
  });
1925
- }), V.value.observe(E)), window.addEventListener("resize", K);
1926
+ }), z.value.observe(E)), window.addEventListener("resize", K);
1926
1927
  }), Wt(() => {
1927
- V.value && V.value.disconnect(), window.removeEventListener("resize", K);
1928
+ z.value && z.value.disconnect(), window.removeEventListener("resize", K);
1928
1929
  }), (E, j) => (p(), w("div", {
1929
- class: ae(["kong-ui-app-layout", [
1930
+ class: ne(["kong-ui-app-layout", [
1930
1931
  { "navbar-hidden": v.hidden },
1931
1932
  { "sidebar-hidden": m.hidden }
1932
1933
  ]])
@@ -1934,13 +1935,13 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1934
1935
  O("div", _i, [
1935
1936
  T(E.$slots, "notification", {}, void 0, !0)
1936
1937
  ]),
1937
- v.hidden ? C("", !0) : (p(), X(cr, {
1938
+ v.hidden ? C("", !0) : (p(), Y(cr, {
1938
1939
  key: String(m.hidden),
1939
1940
  "left-offset": m.hidden ? 0 : void 0,
1940
1941
  "top-offset": _.value
1941
- }, je({
1942
+ }, Ze({
1942
1943
  "mobile-sidebar-toggle": R(() => [
1943
- m.hidden ? C("", !0) : (p(), X(vi, {
1944
+ m.hidden ? C("", !0) : (p(), Y(vi, {
1944
1945
  key: 0,
1945
1946
  active: A.value,
1946
1947
  onToggle: N
@@ -1988,19 +1989,19 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1988
1989
  key: "4"
1989
1990
  } : void 0
1990
1991
  ]), 1032, ["left-offset", "top-offset"])),
1991
- m.hidden ? C("", !0) : (p(), X(oi, {
1992
+ m.hidden ? C("", !0) : (p(), Y(oi, {
1992
1993
  key: 1,
1993
1994
  "bottom-items": m.bottomItems,
1994
- "header-height": M.value,
1995
+ "header-height": P.value,
1995
1996
  "mobile-enabled": "",
1996
1997
  "mobile-header-visible": !1,
1997
- "mobile-top-offset": P.value,
1998
+ "mobile-top-offset": Z.value,
1998
1999
  open: A.value,
1999
2000
  "top-items": m.topItems,
2000
2001
  "top-offset": _.value,
2001
2002
  onClick: S,
2002
2003
  onToggle: N
2003
- }, je({ _: 2 }, [
2004
+ }, Ze({ _: 2 }, [
2004
2005
  l.sidebarHeader ? {
2005
2006
  name: "header",
2006
2007
  fn: R(() => [
@@ -2040,7 +2041,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2040
2041
  ])
2041
2042
  ], 2));
2042
2043
  }
2043
- }), Ei = /* @__PURE__ */ ee(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2044
+ }), Ei = /* @__PURE__ */ te(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2044
2045
  key: 0,
2045
2046
  class: "page-header-breadcrumbs",
2046
2047
  "data-testid": "page-header-breadcrumbs"
@@ -2060,7 +2061,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2060
2061
  key: 1,
2061
2062
  class: "page-header-section-below",
2062
2063
  "data-testid": "page-header-section-below"
2063
- }, Pi = /* @__PURE__ */ Q({
2064
+ }, Pi = /* @__PURE__ */ ee({
2064
2065
  __name: "AppPageHeader",
2065
2066
  props: {
2066
2067
  title: {
@@ -2074,10 +2075,10 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2074
2075
  }
2075
2076
  },
2076
2077
  setup(a) {
2077
- const t = a, r = Ve(), n = k(() => {
2078
+ const t = a, r = ze(), n = k(() => {
2078
2079
  var l;
2079
2080
  return !!((l = t.breadcrumbs) != null && l.length);
2080
- }), s = k(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2081
+ }), c = k(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2081
2082
  return (l, o) => {
2082
2083
  const v = be("KBreadcrumbs");
2083
2084
  return p(), w("div", Ni, [
@@ -2085,8 +2086,8 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2085
2086
  Ne(v, {
2086
2087
  "item-max-width": "150",
2087
2088
  items: a.breadcrumbs
2088
- }, je({ _: 2 }, [
2089
- _e(s.value, (m) => ({
2089
+ }, Ze({ _: 2 }, [
2090
+ _e(c.value, (m) => ({
2090
2091
  name: m,
2091
2092
  fn: R(() => [
2092
2093
  T(l.$slots, m, {}, void 0, !0)
@@ -2103,7 +2104,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2103
2104
  class: "page-header-title",
2104
2105
  "data-testid": "page-header-title",
2105
2106
  title: a.title
2106
- }, q(a.title), 9, Ri),
2107
+ }, X(a.title), 9, Ri),
2107
2108
  l.$slots["title-after"] ? (p(), w("div", Bi, [
2108
2109
  T(l.$slots, "title-after", {}, void 0, !0)
2109
2110
  ])) : C("", !0)
@@ -2118,7 +2119,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2118
2119
  ]);
2119
2120
  };
2120
2121
  }
2121
- }), Ui = /* @__PURE__ */ ee(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2122
+ }), Ui = /* @__PURE__ */ te(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2122
2123
  // Customize Vue plugin options as desired
2123
2124
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2124
2125
  install: (a, t = {}) => {
@@ -2126,7 +2127,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2126
2127
  }
2127
2128
  };
2128
2129
  export {
2129
- Zi as AccountDropdown,
2130
+ ji as AccountDropdown,
2130
2131
  Ki as AppAboutSection,
2131
2132
  Hi as AppError,
2132
2133
  Ei as AppLayout,