@kong-ui-public/app-layout 4.2.28 → 4.2.29-pr.1622.48c240f8.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 ke, normalizeClass as ae, createTextVNode as ct, toDisplayString as q, computed as _, 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 kn, cloneVNode as _n, 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: "bottom-end" },
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, ke(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-b33191a2"]]), Cn = {
56
+ }, Zi = /* @__PURE__ */ ee($n, [["__scopeId", "data-v-b33191a2"]]), 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: {
@@ -122,13 +122,13 @@ const $n = /* @__PURE__ */ ee({
122
122
  }
123
123
  },
124
124
  setup(a) {
125
- const t = a, r = k(() => !!t.modified && t.modified !== t.created);
126
- return (n, c) => {
125
+ const t = a, r = _(() => !!t.modified && t.modified !== t.created);
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,18 +236,18 @@ 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 = _(() => !!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
- const l = k(() => ({
250
+ const l = _(() => ({
251
251
  top: t.topOffset ? `${t.topOffset}px` : "0",
252
252
  left: t.leftOffset ? `${t.leftOffset}px` : "0",
253
253
  zIndex: t.zIndex
@@ -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: {
@@ -285,20 +285,20 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
285
285
  }
286
286
  },
287
287
  setup(a) {
288
- const t = a, r = k(() => t.count ? t.count > ot ? `${ot}+` : t.count.toString() : "");
289
- return (n, c) => r.value ? (p(), w("div", {
288
+ const t = a, r = _(() => t.count ? t.count > ot ? `${ot}+` : t.count.toString() : "");
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-afb0d903"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
295
+ }), dr = /* @__PURE__ */ ee(ur, [["__scopeId", "data-v-afb0d903"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-current", "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,37 +313,37 @@ 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 = _(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), l = _(() => !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 = _(() => 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
- default: R((_) => {
333
- var Z, G;
332
+ default: R((k) => {
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-current": a.item.active ? "page" : void 0,
338
338
  "aria-expanded": (G = a.item.items) != null && G.length && a.item.expanded ? !0 : void 0,
339
- class: ne(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !c.value }]),
340
- href: c.value ? String(a.item.to || "#") : _ == null ? void 0 : _.href,
339
+ class: ae(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !s.value }]),
340
+ href: s.value ? String(a.item.to || "#") : k == null ? void 0 : k.href,
341
341
  target: l.value ? "_blank" : void 0,
342
- onClick: (B) => m(B, a.item, _ == null ? void 0 : _.navigate),
343
- onKeypress: yn((B) => m(B, a.item, _ == null ? void 0 : _.navigate), ["enter"])
342
+ onClick: (B) => m(B, a.item, k == null ? void 0 : k.navigate),
343
+ onKeypress: yn((B) => m(B, a.item, k == null ? void 0 : k.navigate), ["enter"])
344
344
  }, [
345
345
  O("div", {
346
- class: ne(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
346
+ class: ae(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
347
347
  }, [
348
348
  S.$slots[`sidebar-icon-${a.item.key}`] ? (p(), w("div", br, [
349
349
  a.subnavItem ? C("", !0) : T(S.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
@@ -351,8 +351,8 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
351
351
  O("div", hr, [
352
352
  (a.subnavItem ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), w("div", {
353
353
  key: 0,
354
- class: ne(["sidebar-item-name truncate-text", [a.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
355
- }, X(a.item.name), 3)) : (p(), Y(N, {
354
+ class: ae(["sidebar-item-name truncate-text", [a.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
355
+ }, q(a.item.name), 3)) : (p(), X(N, {
356
356
  key: 1,
357
357
  class: "sidebar-item-tooltip",
358
358
  placement: "right",
@@ -362,15 +362,15 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
362
362
  default: R(() => [
363
363
  O("div", pr, [
364
364
  O("span", {
365
- class: ne(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
366
- }, X(a.item.name), 3)
365
+ class: ae(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
366
+ }, q(a.item.name), 3)
367
367
  ])
368
368
  ]),
369
369
  _: 1
370
370
  }, 8, ["text"])),
371
- a.item.label && a.item.expanded ? (p(), w("div", mr, X(a.item.label), 1)) : C("", !0)
371
+ a.item.label && a.item.expanded ? (p(), w("div", mr, q(a.item.label), 1)) : C("", !0)
372
372
  ]),
373
- o.value ? (p(), Y(dr, {
373
+ o.value ? (p(), X(dr, {
374
374
  key: 1,
375
375
  count: a.item.badgeCount
376
376
  }, null, 8, ["count"])) : C("", !0)
@@ -380,27 +380,27 @@ const Vn = /* @__PURE__ */ te(jn, [["render", Wn]]), Vt = (a) => (ut("data-v-5cb
380
380
  }),
381
381
  _: 3
382
382
  }, 8, ["custom", "to"])),
383
- (P = a.item.items) != null && P.length && a.item.expanded ? (p(), w("ul", {
383
+ (M = a.item.items) != null && M.length && a.item.expanded ? (p(), w("ul", {
384
384
  key: 0,
385
385
  id: `subnav-${a.item.key}`,
386
386
  class: "level-secondary"
387
387
  }, [
388
- (p(!0), w(Ce, null, _e(a.item.items, (_) => (p(), Y(x, {
389
- key: _.name,
390
- item: _,
388
+ (p(!0), w(Ce, null, ke(a.item.items, (k) => (p(), X(x, {
389
+ key: k.name,
390
+ item: k,
391
391
  "subnav-item": !0,
392
- onClick: (Z) => v(_)
392
+ onClick: (P) => v(k)
393
393
  }, null, 8, ["item", "onClick"]))), 128))
394
394
  ], 8, gr)) : C("", !0)
395
395
  ], 10, fr);
396
396
  };
397
397
  }
398
- }), Mt = /* @__PURE__ */ te(yr, [["__scopeId", "data-v-90892c1e"]]);
398
+ }), Mt = /* @__PURE__ */ ee(yr, [["__scopeId", "data-v-90892c1e"]]);
399
399
  /*!
400
400
  * tabbable 6.2.0
401
401
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
402
402
  */
403
- 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
+ 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() {
404
404
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, He = !Gt && Element.prototype.getRootNode ? function(a) {
405
405
  var t;
406
406
  return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
@@ -409,7 +409,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
409
409
  }, Ue = function a(t, r) {
410
410
  var n;
411
411
  r === void 0 && (r = !0);
412
- 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
+ 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);
413
413
  return o;
414
414
  }, wr = function(t) {
415
415
  var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
@@ -417,44 +417,44 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
417
417
  }, qt = function(t, r, n) {
418
418
  if (Ue(t))
419
419
  return [];
420
- var c = Array.prototype.slice.apply(t.querySelectorAll(Ke));
421
- return r && he.call(t, Ke) && c.unshift(t), c = c.filter(n), c;
420
+ var s = Array.prototype.slice.apply(t.querySelectorAll(Ke));
421
+ return r && he.call(t, Ke) && s.unshift(t), s = s.filter(n), s;
422
422
  }, Xt = function a(t, r, n) {
423
- for (var c = [], l = Array.from(t); l.length; ) {
423
+ for (var s = [], l = Array.from(t); l.length; ) {
424
424
  var o = l.shift();
425
425
  if (!Ue(o, !1))
426
426
  if (o.tagName === "SLOT") {
427
427
  var v = o.assignedElements(), m = v.length ? v : o.children, S = a(m, !0, n);
428
- n.flatten ? c.push.apply(c, S) : c.push({
428
+ n.flatten ? s.push.apply(s, S) : s.push({
429
429
  scopeParent: o,
430
430
  candidates: S
431
431
  });
432
432
  } else {
433
433
  var A = he.call(o, Ke);
434
- A && n.filter(o) && (r || !t.includes(o)) && c.push(o);
434
+ A && n.filter(o) && (r || !t.includes(o)) && s.push(o);
435
435
  var N = o.shadowRoot || // check for an undisclosed shadow
436
436
  typeof n.getShadowRoot == "function" && n.getShadowRoot(o), x = !Ue(N, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
437
437
  if (N && x) {
438
- var P = a(N === !0 ? o.children : N.children, !0, n);
439
- n.flatten ? c.push.apply(c, P) : c.push({
438
+ var M = a(N === !0 ? o.children : N.children, !0, n);
439
+ n.flatten ? s.push.apply(s, M) : s.push({
440
440
  scopeParent: o,
441
- candidates: P
441
+ candidates: M
442
442
  });
443
443
  } else
444
444
  l.unshift.apply(l, o.children);
445
445
  }
446
446
  }
447
- return c;
447
+ return s;
448
448
  }, Yt = function(t) {
449
449
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
450
450
  }, ve = function(t) {
451
451
  if (!t)
452
452
  throw new Error("No node provided");
453
453
  return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || wr(t)) && !Yt(t) ? 0 : t.tabIndex;
454
- }, _r = function(t, r) {
454
+ }, kr = function(t, r) {
455
455
  var n = ve(t);
456
456
  return n < 0 && r && !Yt(t) ? 0 : n;
457
- }, kr = function(t, r) {
457
+ }, _r = function(t, r) {
458
458
  return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
459
459
  }, Jt = function(t) {
460
460
  return t.tagName === "INPUT";
@@ -474,46 +474,46 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
474
474
  return !0;
475
475
  var r = t.form || He(t), n = function(v) {
476
476
  return r.querySelectorAll('input[type="radio"][name="' + v + '"]');
477
- }, c;
477
+ }, s;
478
478
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
479
- c = n(window.CSS.escape(t.name));
479
+ s = n(window.CSS.escape(t.name));
480
480
  else
481
481
  try {
482
- c = n(t.name);
482
+ s = n(t.name);
483
483
  } catch (o) {
484
484
  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;
485
485
  }
486
- var l = Ir(c, t.form);
486
+ var l = Ir(s, t.form);
487
487
  return !l || l === t;
488
488
  }, $r = function(t) {
489
489
  return Jt(t) && t.type === "radio";
490
490
  }, Cr = function(t) {
491
491
  return $r(t) && !Or(t);
492
492
  }, Er = function(t) {
493
- var r, n = t && He(t), c = (r = n) === null || r === void 0 ? void 0 : r.host, l = !1;
493
+ var r, n = t && He(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, l = !1;
494
494
  if (n && n !== t) {
495
495
  var o, v, m;
496
- 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
+ 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; ) {
497
497
  var S, A, N;
498
- 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
+ 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));
499
499
  }
500
500
  }
501
501
  return l;
502
502
  }, Pt = function(t) {
503
- var r = t.getBoundingClientRect(), n = r.width, c = r.height;
504
- return n === 0 && c === 0;
503
+ var r = t.getBoundingClientRect(), n = r.width, s = r.height;
504
+ return n === 0 && s === 0;
505
505
  }, Nr = function(t, r) {
506
- var n = r.displayCheck, c = r.getShadowRoot;
506
+ var n = r.displayCheck, s = r.getShadowRoot;
507
507
  if (getComputedStyle(t).visibility === "hidden")
508
508
  return !0;
509
509
  var l = he.call(t, "details>summary:first-of-type"), o = l ? t.parentElement : t;
510
510
  if (he.call(o, "details:not([open]) *"))
511
511
  return !0;
512
512
  if (!n || n === "full" || n === "legacy-full") {
513
- if (typeof c == "function") {
513
+ if (typeof s == "function") {
514
514
  for (var v = t; t; ) {
515
515
  var m = t.parentElement, S = He(t);
516
- if (m && !m.shadowRoot && c(m) === !0)
516
+ if (m && !m.shadowRoot && s(m) === !0)
517
517
  return Pt(t);
518
518
  t.assignedSlot ? t = t.assignedSlot : !m && S !== t.ownerDocument ? t = S.host : t = m;
519
519
  }
@@ -531,9 +531,9 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
531
531
  for (var r = t.parentElement; r; ) {
532
532
  if (r.tagName === "FIELDSET" && r.disabled) {
533
533
  for (var n = 0; n < r.children.length; n++) {
534
- var c = r.children.item(n);
535
- if (c.tagName === "LEGEND")
536
- return he.call(r, "fieldset[disabled] *") ? !0 : !c.contains(t);
534
+ var s = r.children.item(n);
535
+ if (s.tagName === "LEGEND")
536
+ return he.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
537
537
  }
538
538
  return !0;
539
539
  }
@@ -553,17 +553,17 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
553
553
  return !!(isNaN(r) || r >= 0);
554
554
  }, xr = function a(t) {
555
555
  var r = [], n = [];
556
- return t.forEach(function(c, l) {
557
- var o = !!c.scopeParent, v = o ? c.scopeParent : c, m = _r(v, o), S = o ? a(c.candidates) : v;
556
+ return t.forEach(function(s, l) {
557
+ var o = !!s.scopeParent, v = o ? s.scopeParent : s, m = kr(v, o), S = o ? a(s.candidates) : v;
558
558
  m === 0 ? o ? r.push.apply(r, S) : r.push(v) : n.push({
559
559
  documentOrder: l,
560
560
  tabIndex: m,
561
- item: c,
561
+ item: s,
562
562
  isScope: o,
563
563
  content: S
564
564
  });
565
- }), n.sort(kr).reduce(function(c, l) {
566
- return l.isScope ? c.push.apply(c, l.content) : c.push(l.content), c;
565
+ }), n.sort(_r).reduce(function(s, l) {
566
+ return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
567
567
  }, []).concat(r);
568
568
  }, Dr = function(t, r) {
569
569
  r = r || {};
@@ -586,7 +586,7 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
586
586
  if (r = r || {}, !t)
587
587
  throw new Error("No node provided");
588
588
  return he.call(t, Ke) === !1 ? !1 : lt(r, t);
589
- }, Br = /* @__PURE__ */ zt.concat("iframe").join(","), st = function(t, r) {
589
+ }, Br = /* @__PURE__ */ Vt.concat("iframe").join(","), st = function(t, r) {
590
590
  if (r = r || {}, !t)
591
591
  throw new Error("No node provided");
592
592
  return he.call(t, Br) === !1 ? !1 : We(r, t);
@@ -595,22 +595,22 @@ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
595
595
  * focus-trap 7.5.4
596
596
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
597
597
  */
598
- function Zt(a, t) {
598
+ function jt(a, t) {
599
599
  var r = Object.keys(a);
600
600
  if (Object.getOwnPropertySymbols) {
601
601
  var n = Object.getOwnPropertySymbols(a);
602
- t && (n = n.filter(function(c) {
603
- return Object.getOwnPropertyDescriptor(a, c).enumerable;
602
+ t && (n = n.filter(function(s) {
603
+ return Object.getOwnPropertyDescriptor(a, s).enumerable;
604
604
  })), r.push.apply(r, n);
605
605
  }
606
606
  return r;
607
607
  }
608
- function jt(a) {
608
+ function Zt(a) {
609
609
  for (var t = 1; t < arguments.length; t++) {
610
610
  var r = arguments[t] != null ? arguments[t] : {};
611
- t % 2 ? Zt(Object(r), !0).forEach(function(n) {
611
+ t % 2 ? jt(Object(r), !0).forEach(function(n) {
612
612
  Lr(a, n, r[n]);
613
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Zt(Object(r)).forEach(function(n) {
613
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : jt(Object(r)).forEach(function(n) {
614
614
  Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(r, n));
615
615
  });
616
616
  }
@@ -644,16 +644,16 @@ var Kt = {
644
644
  var n = t[t.length - 1];
645
645
  n !== r && n.pause();
646
646
  }
647
- var c = t.indexOf(r);
648
- c === -1 || t.splice(c, 1), t.push(r);
647
+ var s = t.indexOf(r);
648
+ s === -1 || t.splice(s, 1), t.push(r);
649
649
  },
650
650
  deactivateTrap: function(t, r) {
651
651
  var n = t.indexOf(r);
652
652
  n !== -1 && t.splice(n, 1), t.length > 0 && t[t.length - 1].unpause();
653
653
  }
654
- }, Zr = function(t) {
655
- return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
656
654
  }, jr = function(t) {
655
+ return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
656
+ }, Zr = function(t) {
657
657
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
658
658
  }, Ee = function(t) {
659
659
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
@@ -665,17 +665,17 @@ var Kt = {
665
665
  return setTimeout(t, 0);
666
666
  }, Ut = function(t, r) {
667
667
  var n = -1;
668
- return t.every(function(c, l) {
669
- return r(c) ? (n = l, !1) : !0;
668
+ return t.every(function(s, l) {
669
+ return r(s) ? (n = l, !1) : !0;
670
670
  }), n;
671
671
  }, $e = function(t) {
672
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
673
- n[c - 1] = arguments[c];
672
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
673
+ n[s - 1] = arguments[s];
674
674
  return typeof t == "function" ? t.apply(void 0, n) : t;
675
675
  }, Le = function(t) {
676
676
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
677
677
  }, Ur = [], Wr = function(t, r) {
678
- var n = (r == null ? void 0 : r.document) || document, c = (r == null ? void 0 : r.trapStack) || Ur, l = jt({
678
+ var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ur, l = Zt({
679
679
  returnFocusOnDeactivate: !0,
680
680
  escapeDeactivates: !0,
681
681
  delayInitialFocus: !0,
@@ -722,20 +722,20 @@ var Kt = {
722
722
  }, S = function(d, u) {
723
723
  var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
724
724
  return o.containerGroups.findIndex(function(y) {
725
- var h = y.container, $ = y.tabbableNodes;
726
- return h.contains(d) || // fall back to explicit tabbable search which will take into consideration any
725
+ var b = y.container, $ = y.tabbableNodes;
726
+ return b.contains(d) || // fall back to explicit tabbable search which will take into consideration any
727
727
  // web components if the `tabbableOptions.getShadowRoot` option was used for
728
728
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
729
729
  // look inside web components even if open)
730
- (f == null ? void 0 : f.includes(h)) || $.find(function(F) {
730
+ (f == null ? void 0 : f.includes(b)) || $.find(function(F) {
731
731
  return F === d;
732
732
  });
733
733
  });
734
734
  }, A = function(d) {
735
735
  var u = l[d];
736
736
  if (typeof u == "function") {
737
- for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), h = 1; h < f; h++)
738
- y[h - 1] = arguments[h];
737
+ for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), b = 1; b < f; b++)
738
+ y[b - 1] = arguments[b];
739
739
  u = u.apply(void 0, y);
740
740
  }
741
741
  if (u === !0 && (u = void 0), !u) {
@@ -763,7 +763,7 @@ var Kt = {
763
763
  return d;
764
764
  }, x = function() {
765
765
  if (o.containerGroups = o.containers.map(function(d) {
766
- 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) {
766
+ 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
767
  return we(g);
768
768
  }), F = f.slice().reverse().find(function(g) {
769
769
  return we(g);
@@ -779,7 +779,7 @@ var Kt = {
779
779
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
780
780
  firstTabbableNode: y,
781
781
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
782
- lastTabbableNode: h,
782
+ lastTabbableNode: b,
783
783
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
784
784
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
785
785
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -799,11 +799,11 @@ var Kt = {
799
799
  * in reverse.
800
800
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
801
801
  */
802
- nextTabbableNode: function(re) {
803
- var le = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = u.indexOf(re);
804
- return L < 0 ? le ? f.slice(f.indexOf(re) + 1).find(function(se) {
802
+ nextTabbableNode: function(ne) {
803
+ var le = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, L = u.indexOf(ne);
804
+ return L < 0 ? le ? f.slice(f.indexOf(ne) + 1).find(function(se) {
805
805
  return we(se);
806
- }) : f.slice(0, f.indexOf(re)).reverse().find(function(se) {
806
+ }) : f.slice(0, f.indexOf(ne)).reverse().find(function(se) {
807
807
  return we(se);
808
808
  }) : u[L + (le ? 1 : -1)];
809
809
  }
@@ -816,38 +816,38 @@ var Kt = {
816
816
  return d.posTabIndexesFound;
817
817
  }) && o.containerGroups.length > 1)
818
818
  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.");
819
- }, P = function I(d) {
819
+ }, M = function I(d) {
820
820
  var u = d.activeElement;
821
821
  if (u)
822
822
  return u.shadowRoot && u.shadowRoot.activeElement !== null ? I(u.shadowRoot) : u;
823
- }, _ = function I(d) {
824
- if (d !== !1 && d !== P(document)) {
823
+ }, k = function I(d) {
824
+ if (d !== !1 && d !== M(document)) {
825
825
  if (!d || !d.focus) {
826
826
  I(N());
827
827
  return;
828
828
  }
829
829
  d.focus({
830
830
  preventScroll: !!l.preventScroll
831
- }), o.mostRecentlyFocusedNode = d, Zr(d) && d.select();
831
+ }), o.mostRecentlyFocusedNode = d, jr(d) && d.select();
832
832
  }
833
- }, Z = function(d) {
833
+ }, P = function(d) {
834
834
  var u = A("setReturnFocus", d);
835
835
  return u || (u === !1 ? !1 : d);
836
836
  }, G = function(d) {
837
- var u = d.target, f = d.event, y = d.isBackward, h = y === void 0 ? !1 : y;
837
+ var u = d.target, f = d.event, y = d.isBackward, b = y === void 0 ? !1 : y;
838
838
  u = u || Le(f), x();
839
839
  var $ = null;
840
840
  if (o.tabbableGroups.length > 0) {
841
841
  var F = S(u, f), D = F >= 0 ? o.containerGroups[F] : void 0;
842
842
  if (F < 0)
843
- h ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
844
- else if (h) {
843
+ b ? $ = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : $ = o.tabbableGroups[0].firstTabbableNode;
844
+ else if (b) {
845
845
  var g = Ut(o.tabbableGroups, function(Te) {
846
846
  var Se = Te.firstTabbableNode;
847
847
  return u === Se;
848
848
  });
849
849
  if (g < 0 && (D.container === u || st(u, l.tabbableOptions) && !we(u, l.tabbableOptions) && !D.nextTabbableNode(u, !1)) && (g = F), g >= 0) {
850
- var re = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[re];
850
+ var ne = g === 0 ? o.tabbableGroups.length - 1 : g - 1, le = o.tabbableGroups[ne];
851
851
  $ = ve(u) >= 0 ? le.lastTabbableNode : le.lastDomTabbableNode;
852
852
  } else Ee(f) || ($ = D.nextTabbableNode(u, !1));
853
853
  } else {
@@ -856,8 +856,8 @@ var Kt = {
856
856
  return u === Se;
857
857
  });
858
858
  if (L < 0 && (D.container === u || st(u, l.tabbableOptions) && !we(u, l.tabbableOptions) && !D.nextTabbableNode(u)) && (L = F), L >= 0) {
859
- var se = L === o.tabbableGroups.length - 1 ? 0 : L + 1, ke = o.tabbableGroups[se];
860
- $ = ve(u) >= 0 ? ke.firstTabbableNode : ke.firstDomTabbableNode;
859
+ var se = L === o.tabbableGroups.length - 1 ? 0 : L + 1, _e = o.tabbableGroups[se];
860
+ $ = ve(u) >= 0 ? _e.firstTabbableNode : _e.firstDomTabbableNode;
861
861
  } else Ee(f) || ($ = D.nextTabbableNode(u));
862
862
  }
863
863
  } else
@@ -880,13 +880,13 @@ var Kt = {
880
880
  }
881
881
  $e(l.allowOutsideClick, d) || d.preventDefault();
882
882
  }
883
- }, ae = function(d) {
883
+ }, te = function(d) {
884
884
  var u = Le(d), f = S(u, d) >= 0;
885
885
  if (f || u instanceof Document)
886
886
  f && (o.mostRecentlyFocusedNode = u);
887
887
  else {
888
888
  d.stopImmediatePropagation();
889
- var y, h = !0;
889
+ var y, b = !0;
890
890
  if (o.mostRecentlyFocusedNode)
891
891
  if (ve(o.mostRecentlyFocusedNode) > 0) {
892
892
  var $ = S(o.mostRecentlyFocusedNode), F = o.containerGroups[$].tabbableNodes;
@@ -894,22 +894,22 @@ var Kt = {
894
894
  var D = F.findIndex(function(g) {
895
895
  return g === o.mostRecentlyFocusedNode;
896
896
  });
897
- 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));
897
+ 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));
898
898
  }
899
899
  } else
900
900
  o.containerGroups.some(function(g) {
901
- return g.tabbableNodes.some(function(re) {
902
- return ve(re) > 0;
901
+ return g.tabbableNodes.some(function(ne) {
902
+ return ve(ne) > 0;
903
903
  });
904
- }) || (h = !1);
904
+ }) || (b = !1);
905
905
  else
906
- h = !1;
907
- h && (y = G({
906
+ b = !1;
907
+ b && (y = G({
908
908
  // move FROM the MRU node, not event-related node (which will be the node that is
909
909
  // outside the trap causing the focus escape we're trying to fix)
910
910
  target: o.mostRecentlyFocusedNode,
911
911
  isBackward: l.isKeyBackward(o.recentNavEvent)
912
- })), _(y || o.mostRecentlyFocusedNode || N());
912
+ })), k(y || o.mostRecentlyFocusedNode || N());
913
913
  }
914
914
  o.recentNavEvent = void 0;
915
915
  }, oe = function(d) {
@@ -919,44 +919,44 @@ var Kt = {
919
919
  event: d,
920
920
  isBackward: u
921
921
  });
922
- f && (Ee(d) && d.preventDefault(), _(f));
923
- }, J = function(d) {
924
- if (jr(d) && $e(l.escapeDeactivates, d) !== !1) {
922
+ f && (Ee(d) && d.preventDefault(), k(f));
923
+ }, Y = function(d) {
924
+ if (Zr(d) && $e(l.escapeDeactivates, d) !== !1) {
925
925
  d.preventDefault(), v.deactivate();
926
926
  return;
927
927
  }
928
928
  (l.isKeyForward(d) || l.isKeyBackward(d)) && oe(d, l.isKeyBackward(d));
929
- }, Q = function(d) {
929
+ }, J = function(d) {
930
930
  var u = Le(d);
931
931
  S(u, d) >= 0 || $e(l.clickOutsideDeactivates, d) || $e(l.allowOutsideClick, d) || (d.preventDefault(), d.stopImmediatePropagation());
932
932
  }, K = function() {
933
933
  if (o.active)
934
- return Kt.activateTrap(c, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
935
- _(N());
936
- }) : _(N()), n.addEventListener("focusin", ae, !0), n.addEventListener("mousedown", B, {
934
+ return Kt.activateTrap(s, v), o.delayInitialFocusTimer = l.delayInitialFocus ? Ht(function() {
935
+ k(N());
936
+ }) : k(N()), n.addEventListener("focusin", te, !0), n.addEventListener("mousedown", B, {
937
937
  capture: !0,
938
938
  passive: !1
939
939
  }), n.addEventListener("touchstart", B, {
940
940
  capture: !0,
941
941
  passive: !1
942
- }), n.addEventListener("click", Q, {
942
+ }), n.addEventListener("click", J, {
943
943
  capture: !0,
944
944
  passive: !1
945
- }), n.addEventListener("keydown", J, {
945
+ }), n.addEventListener("keydown", Y, {
946
946
  capture: !0,
947
947
  passive: !1
948
948
  }), v;
949
- }, z = function() {
949
+ }, V = function() {
950
950
  if (o.active)
951
- 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;
951
+ 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;
952
952
  }, E = function(d) {
953
953
  var u = d.some(function(f) {
954
954
  var y = Array.from(f.removedNodes);
955
- return y.some(function(h) {
956
- return h === o.mostRecentlyFocusedNode;
955
+ return y.some(function(b) {
956
+ return b === o.mostRecentlyFocusedNode;
957
957
  });
958
958
  });
959
- u && _(N());
959
+ u && k(N());
960
960
  }, j = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(E) : void 0, H = function() {
961
961
  j && (j.disconnect(), o.active && !o.paused && o.containers.map(function(d) {
962
962
  j.observe(d, {
@@ -977,34 +977,34 @@ var Kt = {
977
977
  return this;
978
978
  var u = m(d, "onActivate"), f = m(d, "onPostActivate"), y = m(d, "checkCanFocusTrap");
979
979
  y || x(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = n.activeElement, u == null || u();
980
- var h = function() {
980
+ var b = function() {
981
981
  y && x(), K(), H(), f == null || f();
982
982
  };
983
- return y ? (y(o.containers.concat()).then(h, h), this) : (h(), this);
983
+ return y ? (y(o.containers.concat()).then(b, b), this) : (b(), this);
984
984
  },
985
985
  deactivate: function(d) {
986
986
  if (!o.active)
987
987
  return this;
988
- var u = jt({
988
+ var u = Zt({
989
989
  onDeactivate: l.onDeactivate,
990
990
  onPostDeactivate: l.onPostDeactivate,
991
991
  checkCanReturnFocus: l.checkCanReturnFocus
992
992
  }, d);
993
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, z(), o.active = !1, o.paused = !1, H(), Kt.deactivateTrap(c, v);
994
- var f = m(u, "onDeactivate"), y = m(u, "onPostDeactivate"), h = m(u, "checkCanReturnFocus"), $ = m(u, "returnFocus", "returnFocusOnDeactivate");
993
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, V(), o.active = !1, o.paused = !1, H(), Kt.deactivateTrap(s, v);
994
+ var f = m(u, "onDeactivate"), y = m(u, "onPostDeactivate"), b = m(u, "checkCanReturnFocus"), $ = m(u, "returnFocus", "returnFocusOnDeactivate");
995
995
  f == null || f();
996
996
  var F = function() {
997
997
  Ht(function() {
998
- $ && _(Z(o.nodeFocusedBeforeActivation)), y == null || y();
998
+ $ && k(P(o.nodeFocusedBeforeActivation)), y == null || y();
999
999
  });
1000
1000
  };
1001
- return $ && h ? (h(Z(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1001
+ return $ && b ? (b(P(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1002
1002
  },
1003
1003
  pause: function(d) {
1004
1004
  if (o.paused || !o.active)
1005
1005
  return this;
1006
1006
  var u = m(d, "onPause"), f = m(d, "onPostPause");
1007
- return o.paused = !0, u == null || u(), z(), H(), f == null || f(), this;
1007
+ return o.paused = !0, u == null || u(), V(), H(), f == null || f(), this;
1008
1008
  },
1009
1009
  unpause: function(d) {
1010
1010
  if (!o.paused || !o.active)
@@ -1025,7 +1025,7 @@ var Kt = {
1025
1025
  * (c) 2023 Eduardo San Martin Morote
1026
1026
  * @license MIT
1027
1027
  */
1028
- const Vr = {
1028
+ const zr = {
1029
1029
  escapeDeactivates: {
1030
1030
  type: Boolean,
1031
1031
  default: !0
@@ -1051,14 +1051,14 @@ const Vr = {
1051
1051
  preventScroll: Boolean,
1052
1052
  setReturnFocus: [Object, String, Boolean, Function],
1053
1053
  tabbableOptions: Object
1054
- }, zr = ee({
1054
+ }, Vr = Q({
1055
1055
  props: Object.assign({
1056
1056
  active: {
1057
1057
  // TODO: could be options for activate but what about the options for deactivating?
1058
1058
  type: Boolean,
1059
1059
  default: !0
1060
1060
  }
1061
- }, Vr),
1061
+ }, zr),
1062
1062
  emits: [
1063
1063
  "update:active",
1064
1064
  "activate",
@@ -1071,8 +1071,8 @@ const Vr = {
1071
1071
  },
1072
1072
  setup(a, { slots: t, emit: r }) {
1073
1073
  let n;
1074
- const c = V(null), l = k(() => {
1075
- const v = c.value;
1074
+ const s = z(null), l = _(() => {
1075
+ const v = s.value;
1076
1076
  return v && (v instanceof HTMLElement ? v : v.$el);
1077
1077
  });
1078
1078
  function o() {
@@ -1097,7 +1097,7 @@ const Vr = {
1097
1097
  }));
1098
1098
  }
1099
1099
  return Ge(() => {
1100
- je(() => a.active, (v) => {
1100
+ Ze(() => a.active, (v) => {
1101
1101
  v && l.value ? o().activate() : n && (n.deactivate(), (!l.value || l.value.nodeType === Node.COMMENT_NODE) && (n = null));
1102
1102
  }, { immediate: !0, flush: "post" });
1103
1103
  }), wn(() => {
@@ -1112,8 +1112,8 @@ const Vr = {
1112
1112
  renderImpl() {
1113
1113
  if (!t.default)
1114
1114
  return null;
1115
- const v = t.default().filter((S) => S.type !== _n);
1116
- return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : kn(v[0], { ref: c });
1115
+ const v = t.default().filter((S) => S.type !== kn);
1116
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : _n(v[0], { ref: s });
1117
1117
  }
1118
1118
  };
1119
1119
  }
@@ -1122,9 +1122,9 @@ function Qt() {
1122
1122
  return {
1123
1123
  debounce: (t, r) => {
1124
1124
  let n;
1125
- return (...c) => {
1125
+ return (...s) => {
1126
1126
  clearTimeout(n), n = window == null ? void 0 : window.setTimeout(() => {
1127
- t(...c);
1127
+ t(...s);
1128
1128
  }, r);
1129
1129
  };
1130
1130
  }
@@ -1134,12 +1134,12 @@ var Me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1134
1134
  function Gr(a) {
1135
1135
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1136
1136
  }
1137
- var Ve = { exports: {} };
1138
- Ve.exports;
1137
+ var ze = { exports: {} };
1138
+ ze.exports;
1139
1139
  (function(a, t) {
1140
- 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 = {};
1141
- 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;
1142
- 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;
1140
+ 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]", k = "[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 = {};
1141
+ 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[k] = g[G] = g[B] = g[te] = g[oe] = g[d] = g[u] = g[f] = g[y] = !0, g[S] = g[A] = g[Y] = !1;
1142
+ 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, _e = se && !0 && a && !a.nodeType && a, Te = _e && _e.exports === se;
1143
1143
  function Se(e, i) {
1144
1144
  return e.set(i[0], i[1]), e;
1145
1145
  }
@@ -1147,25 +1147,24 @@ Ve.exports;
1147
1147
  return e.add(i), e;
1148
1148
  }
1149
1149
  function ta(e, i) {
1150
- for (var s = -1, b = e ? e.length : 0; ++s < b && i(e[s], s, e) !== !1; )
1150
+ for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1151
1151
  ;
1152
1152
  return e;
1153
1153
  }
1154
1154
  function aa(e, i) {
1155
- for (var s = -1, b = i.length, M = e.length; ++s < b; )
1156
- e[M + s] = i[s];
1155
+ for (var c = -1, h = i.length, Z = e.length; ++c < h; )
1156
+ e[Z + c] = i[c];
1157
1157
  return e;
1158
1158
  }
1159
- function bt(e, i, s, b) {
1160
- var M = -1, U = e ? e.length : 0;
1161
- for (b && U && (s = e[++M]); ++M < U; )
1162
- s = i(s, e[M], M, e);
1163
- return s;
1159
+ function bt(e, i, c, h) {
1160
+ for (var Z = -1, U = e ? e.length : 0; ++Z < U; )
1161
+ c = i(c, e[Z], Z, e);
1162
+ return c;
1164
1163
  }
1165
1164
  function na(e, i) {
1166
- for (var s = -1, b = Array(e); ++s < e; )
1167
- b[s] = i(s);
1168
- return b;
1165
+ for (var c = -1, h = Array(e); ++c < e; )
1166
+ h[c] = i(c);
1167
+ return h;
1169
1168
  }
1170
1169
  function ra(e, i) {
1171
1170
  return e == null ? void 0 : e[i];
@@ -1180,33 +1179,33 @@ Ve.exports;
1180
1179
  return i;
1181
1180
  }
1182
1181
  function pt(e) {
1183
- var i = -1, s = Array(e.size);
1184
- return e.forEach(function(b, M) {
1185
- s[++i] = [M, b];
1186
- }), s;
1182
+ var i = -1, c = Array(e.size);
1183
+ return e.forEach(function(h, Z) {
1184
+ c[++i] = [Z, h];
1185
+ }), c;
1187
1186
  }
1188
1187
  function qe(e, i) {
1189
- return function(s) {
1190
- return e(i(s));
1188
+ return function(c) {
1189
+ return e(i(c));
1191
1190
  };
1192
1191
  }
1193
1192
  function mt(e) {
1194
- var i = -1, s = Array(e.size);
1195
- return e.forEach(function(b) {
1196
- s[++i] = b;
1197
- }), s;
1193
+ var i = -1, c = Array(e.size);
1194
+ return e.forEach(function(h) {
1195
+ c[++i] = h;
1196
+ }), c;
1198
1197
  }
1199
1198
  var ia = Array.prototype, oa = Function.prototype, Ae = Object.prototype, Xe = L["__core-js_shared__"], gt = function() {
1200
1199
  var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
1201
1200
  return e ? "Symbol(src)_1." + e : "";
1202
1201
  }(), yt = oa.toString, ce = Ae.hasOwnProperty, Fe = Ae.toString, sa = RegExp(
1203
- "^" + yt.call(ce).replace(h, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1204
- ), 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;
1202
+ "^" + yt.call(ce).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1203
+ ), wt = Te ? L.Buffer : void 0, kt = L.Symbol, _t = 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 = kt ? kt.prototype : void 0, It = St ? St.valueOf : void 0;
1205
1204
  function ue(e) {
1206
- var i = -1, s = e ? e.length : 0;
1207
- for (this.clear(); ++i < s; ) {
1208
- var b = e[i];
1209
- this.set(b[0], b[1]);
1205
+ var i = -1, c = e ? e.length : 0;
1206
+ for (this.clear(); ++i < c; ) {
1207
+ var h = e[i];
1208
+ this.set(h[0], h[1]);
1210
1209
  }
1211
1210
  }
1212
1211
  function ya() {
@@ -1215,63 +1214,63 @@ Ve.exports;
1215
1214
  function wa(e) {
1216
1215
  return this.has(e) && delete this.__data__[e];
1217
1216
  }
1218
- function _a(e) {
1217
+ function ka(e) {
1219
1218
  var i = this.__data__;
1220
1219
  if (Oe) {
1221
- var s = i[e];
1222
- return s === n ? void 0 : s;
1220
+ var c = i[e];
1221
+ return c === n ? void 0 : c;
1223
1222
  }
1224
1223
  return ce.call(i, e) ? i[e] : void 0;
1225
1224
  }
1226
- function ka(e) {
1225
+ function _a(e) {
1227
1226
  var i = this.__data__;
1228
1227
  return Oe ? i[e] !== void 0 : ce.call(i, e);
1229
1228
  }
1230
1229
  function Ta(e, i) {
1231
- var s = this.__data__;
1232
- return s[e] = Oe && i === void 0 ? n : i, this;
1233
- }
1234
- ue.prototype.clear = ya, ue.prototype.delete = wa, ue.prototype.get = _a, ue.prototype.has = ka, ue.prototype.set = Ta;
1235
- function ie(e) {
1236
- var i = -1, s = e ? e.length : 0;
1237
- for (this.clear(); ++i < s; ) {
1238
- var b = e[i];
1239
- this.set(b[0], b[1]);
1230
+ var c = this.__data__;
1231
+ return c[e] = Oe && i === void 0 ? n : i, this;
1232
+ }
1233
+ ue.prototype.clear = ya, ue.prototype.delete = wa, ue.prototype.get = ka, ue.prototype.has = _a, ue.prototype.set = Ta;
1234
+ function re(e) {
1235
+ var i = -1, c = e ? e.length : 0;
1236
+ for (this.clear(); ++i < c; ) {
1237
+ var h = e[i];
1238
+ this.set(h[0], h[1]);
1240
1239
  }
1241
1240
  }
1242
1241
  function Sa() {
1243
1242
  this.__data__ = [];
1244
1243
  }
1245
1244
  function Ia(e) {
1246
- var i = this.__data__, s = xe(i, e);
1247
- if (s < 0)
1245
+ var i = this.__data__, c = xe(i, e);
1246
+ if (c < 0)
1248
1247
  return !1;
1249
- var b = i.length - 1;
1250
- return s == b ? i.pop() : da.call(i, s, 1), !0;
1248
+ var h = i.length - 1;
1249
+ return c == h ? i.pop() : da.call(i, c, 1), !0;
1251
1250
  }
1252
1251
  function Oa(e) {
1253
- var i = this.__data__, s = xe(i, e);
1254
- return s < 0 ? void 0 : i[s][1];
1252
+ var i = this.__data__, c = xe(i, e);
1253
+ return c < 0 ? void 0 : i[c][1];
1255
1254
  }
1256
1255
  function $a(e) {
1257
1256
  return xe(this.__data__, e) > -1;
1258
1257
  }
1259
1258
  function Ca(e, i) {
1260
- var s = this.__data__, b = xe(s, e);
1261
- return b < 0 ? s.push([e, i]) : s[b][1] = i, this;
1259
+ var c = this.__data__, h = xe(c, e);
1260
+ return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1262
1261
  }
1263
- ie.prototype.clear = Sa, ie.prototype.delete = Ia, ie.prototype.get = Oa, ie.prototype.has = $a, ie.prototype.set = Ca;
1262
+ re.prototype.clear = Sa, re.prototype.delete = Ia, re.prototype.get = Oa, re.prototype.has = $a, re.prototype.set = Ca;
1264
1263
  function pe(e) {
1265
- var i = -1, s = e ? e.length : 0;
1266
- for (this.clear(); ++i < s; ) {
1267
- var b = e[i];
1268
- this.set(b[0], b[1]);
1264
+ var i = -1, c = e ? e.length : 0;
1265
+ for (this.clear(); ++i < c; ) {
1266
+ var h = e[i];
1267
+ this.set(h[0], h[1]);
1269
1268
  }
1270
1269
  }
1271
1270
  function Ea() {
1272
1271
  this.__data__ = {
1273
1272
  hash: new ue(),
1274
- map: new (Ie || ie)(),
1273
+ map: new (Ie || re)(),
1275
1274
  string: new ue()
1276
1275
  };
1277
1276
  }
@@ -1289,10 +1288,10 @@ Ve.exports;
1289
1288
  }
1290
1289
  pe.prototype.clear = Ea, pe.prototype.delete = Na, pe.prototype.get = Aa, pe.prototype.has = Fa, pe.prototype.set = xa;
1291
1290
  function me(e) {
1292
- this.__data__ = new ie(e);
1291
+ this.__data__ = new re(e);
1293
1292
  }
1294
1293
  function Da() {
1295
- this.__data__ = new ie();
1294
+ this.__data__ = new re();
1296
1295
  }
1297
1296
  function Ra(e) {
1298
1297
  return this.__data__.delete(e);
@@ -1304,38 +1303,38 @@ Ve.exports;
1304
1303
  return this.__data__.has(e);
1305
1304
  }
1306
1305
  function Ma(e, i) {
1307
- var s = this.__data__;
1308
- if (s instanceof ie) {
1309
- var b = s.__data__;
1310
- if (!Ie || b.length < r - 1)
1311
- return b.push([e, i]), this;
1312
- s = this.__data__ = new pe(b);
1306
+ var c = this.__data__;
1307
+ if (c instanceof re) {
1308
+ var h = c.__data__;
1309
+ if (!Ie || h.length < r - 1)
1310
+ return h.push([e, i]), this;
1311
+ c = this.__data__ = new pe(h);
1313
1312
  }
1314
- return s.set(e, i), this;
1313
+ return c.set(e, i), this;
1315
1314
  }
1316
1315
  me.prototype.clear = Da, me.prototype.delete = Ra, me.prototype.get = Ba, me.prototype.has = La, me.prototype.set = Ma;
1317
1316
  function Pa(e, i) {
1318
- var s = nt(e) || un(e) ? na(e.length, String) : [], b = s.length, M = !!b;
1317
+ var c = nt(e) || un(e) ? na(e.length, String) : [], h = c.length, Z = !!h;
1319
1318
  for (var U in e)
1320
- (i || ce.call(e, U)) && !(M && (U == "length" || on(U, b))) && s.push(U);
1321
- return s;
1319
+ ce.call(e, U) && !(Z && (U == "length" || on(U, h))) && c.push(U);
1320
+ return c;
1322
1321
  }
1323
- function Ot(e, i, s) {
1324
- var b = e[i];
1325
- (!(ce.call(e, i) && Nt(b, s)) || s === void 0 && !(i in e)) && (e[i] = s);
1322
+ function Ot(e, i, c) {
1323
+ var h = e[i];
1324
+ (!(ce.call(e, i) && Nt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1326
1325
  }
1327
1326
  function xe(e, i) {
1328
- for (var s = e.length; s--; )
1329
- if (Nt(e[s][0], i))
1330
- return s;
1327
+ for (var c = e.length; c--; )
1328
+ if (Nt(e[c][0], i))
1329
+ return c;
1331
1330
  return -1;
1332
1331
  }
1333
- function Za(e, i) {
1332
+ function ja(e, i) {
1334
1333
  return e && $t(i, rt(i), e);
1335
1334
  }
1336
- function tt(e, i, s, b, M, U, q) {
1335
+ function tt(e, i, c, h, Z, U, ie) {
1337
1336
  var W;
1338
- if (b && (W = U ? b(e, M, U, q) : b(e)), W !== void 0)
1337
+ if (h && (W = U ? h(e, Z, U, ie) : h(e)), W !== void 0)
1339
1338
  return W;
1340
1339
  if (!Re(e))
1341
1340
  return e;
@@ -1346,34 +1345,34 @@ Ve.exports;
1346
1345
  } else {
1347
1346
  var ye = de(e), Dt = ye == A || ye == N;
1348
1347
  if (fn(e))
1349
- return Va(e, i);
1350
- if (ye == _ || ye == l || Dt && !U) {
1348
+ return za(e, i);
1349
+ if (ye == k || ye == l || Dt && !U) {
1351
1350
  if (ht(e))
1352
1351
  return U ? e : {};
1353
1352
  if (W = nn(Dt ? {} : e), !i)
1354
- return en(e, Za(W, e));
1353
+ return en(e, ja(W, e));
1355
1354
  } else {
1356
1355
  if (!g[ye])
1357
1356
  return U ? e : {};
1358
1357
  W = rn(e, ye, tt, i);
1359
1358
  }
1360
1359
  }
1361
- q || (q = new me());
1362
- var Rt = q.get(e);
1360
+ ie || (ie = new me());
1361
+ var Rt = ie.get(e);
1363
1362
  if (Rt)
1364
1363
  return Rt;
1365
- if (q.set(e, W), !xt)
1366
- var Bt = s ? tn(e) : rt(e);
1364
+ if (ie.set(e, W), !xt)
1365
+ var Bt = c ? tn(e) : rt(e);
1367
1366
  return ta(Bt || e, function(it, Be) {
1368
- Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, s, b, Be, e, q));
1367
+ Bt && (Be = it, it = e[Be]), Ot(W, Be, tt(it, i, c, h, Be, e, ie));
1369
1368
  }), W;
1370
1369
  }
1371
- function ja(e) {
1370
+ function Za(e) {
1372
1371
  return Re(e) ? la(e) : {};
1373
1372
  }
1374
- function Ka(e, i, s) {
1375
- var b = i(e);
1376
- return nt(e) ? b : aa(b, s(e));
1373
+ function Ka(e, i, c) {
1374
+ var h = i(e);
1375
+ return nt(e) ? h : aa(h, c(e));
1377
1376
  }
1378
1377
  function Ha(e) {
1379
1378
  return Fe.call(e);
@@ -1388,56 +1387,56 @@ Ve.exports;
1388
1387
  if (!Et(e))
1389
1388
  return va(e);
1390
1389
  var i = [];
1391
- for (var s in Object(e))
1392
- ce.call(e, s) && s != "constructor" && i.push(s);
1390
+ for (var c in Object(e))
1391
+ ce.call(e, c) && c != "constructor" && i.push(c);
1393
1392
  return i;
1394
1393
  }
1395
- function Va(e, i) {
1394
+ function za(e, i) {
1396
1395
  if (i)
1397
1396
  return e.slice();
1398
- var s = new e.constructor(e.length);
1399
- return e.copy(s), s;
1397
+ var c = new e.constructor(e.length);
1398
+ return e.copy(c), c;
1400
1399
  }
1401
1400
  function at(e) {
1402
1401
  var i = new e.constructor(e.byteLength);
1403
- return new kt(i).set(new kt(e)), i;
1402
+ return new _t(i).set(new _t(e)), i;
1404
1403
  }
1405
- function za(e, i) {
1406
- var s = i ? at(e.buffer) : e.buffer;
1407
- return new e.constructor(s, e.byteOffset, e.byteLength);
1404
+ function Va(e, i) {
1405
+ var c = i ? at(e.buffer) : e.buffer;
1406
+ return new e.constructor(c, e.byteOffset, e.byteLength);
1408
1407
  }
1409
- function Ga(e, i, s) {
1410
- var b = i ? s(pt(e), !0) : pt(e);
1411
- return bt(b, Se, new e.constructor());
1408
+ function Ga(e, i, c) {
1409
+ var h = i ? c(pt(e), !0) : pt(e);
1410
+ return bt(h, Se, new e.constructor());
1412
1411
  }
1413
1412
  function qa(e) {
1414
1413
  var i = new e.constructor(e.source, $.exec(e));
1415
1414
  return i.lastIndex = e.lastIndex, i;
1416
1415
  }
1417
- function Xa(e, i, s) {
1418
- var b = i ? s(mt(e), !0) : mt(e);
1419
- return bt(b, ea, new e.constructor());
1416
+ function Xa(e, i, c) {
1417
+ var h = i ? c(mt(e), !0) : mt(e);
1418
+ return bt(h, ea, new e.constructor());
1420
1419
  }
1421
1420
  function Ya(e) {
1422
1421
  return It ? Object(It.call(e)) : {};
1423
1422
  }
1424
1423
  function Ja(e, i) {
1425
- var s = i ? at(e.buffer) : e.buffer;
1426
- return new e.constructor(s, e.byteOffset, e.length);
1424
+ var c = i ? at(e.buffer) : e.buffer;
1425
+ return new e.constructor(c, e.byteOffset, e.length);
1427
1426
  }
1428
1427
  function Qa(e, i) {
1429
- var s = -1, b = e.length;
1430
- for (i || (i = Array(b)); ++s < b; )
1431
- i[s] = e[s];
1428
+ var c = -1, h = e.length;
1429
+ for (i || (i = Array(h)); ++c < h; )
1430
+ i[c] = e[c];
1432
1431
  return i;
1433
1432
  }
1434
- function $t(e, i, s, b) {
1435
- s || (s = {});
1436
- for (var M = -1, U = i.length; ++M < U; ) {
1437
- var q = i[M], W = b ? b(s[q], e[q], q, s, e) : void 0;
1438
- Ot(s, q, W === void 0 ? e[q] : W);
1433
+ function $t(e, i, c, h) {
1434
+ c || (c = {});
1435
+ for (var Z = -1, U = i.length; ++Z < U; ) {
1436
+ var ie = i[Z], W = void 0;
1437
+ Ot(c, ie, W === void 0 ? e[ie] : W);
1439
1438
  }
1440
- return s;
1439
+ return c;
1441
1440
  }
1442
1441
  function en(e, i) {
1443
1442
  return $t(e, Ct(e), i);
@@ -1446,49 +1445,49 @@ Ve.exports;
1446
1445
  return Ka(e, rt, Ct);
1447
1446
  }
1448
1447
  function De(e, i) {
1449
- var s = e.__data__;
1450
- return sn(i) ? s[typeof i == "string" ? "string" : "hash"] : s.map;
1448
+ var c = e.__data__;
1449
+ return sn(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1451
1450
  }
1452
1451
  function ge(e, i) {
1453
- var s = ra(e, i);
1454
- return Ua(s) ? s : void 0;
1452
+ var c = ra(e, i);
1453
+ return Ua(c) ? c : void 0;
1455
1454
  }
1456
1455
  var Ct = Tt ? qe(Tt, Object) : hn, de = Ha;
1457
- (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) {
1458
- var i = Fe.call(e), s = i == _ ? e.constructor : void 0, b = s ? fe(s) : void 0;
1459
- if (b)
1460
- switch (b) {
1456
+ (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) {
1457
+ var i = Fe.call(e), c = i == k ? e.constructor : void 0, h = c ? fe(c) : void 0;
1458
+ if (h)
1459
+ switch (h) {
1461
1460
  case ba:
1462
1461
  return K;
1463
1462
  case ha:
1464
1463
  return x;
1465
1464
  case pa:
1466
- return Z;
1465
+ return P;
1467
1466
  case ma:
1468
1467
  return B;
1469
1468
  case ga:
1470
- return J;
1469
+ return Y;
1471
1470
  }
1472
1471
  return i;
1473
1472
  });
1474
1473
  function an(e) {
1475
- var i = e.length, s = e.constructor(i);
1476
- return i && typeof e[0] == "string" && ce.call(e, "index") && (s.index = e.index, s.input = e.input), s;
1474
+ var i = e.length, c = e.constructor(i);
1475
+ return i && typeof e[0] == "string" && ce.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1477
1476
  }
1478
1477
  function nn(e) {
1479
- return typeof e.constructor == "function" && !Et(e) ? ja(ca(e)) : {};
1478
+ return typeof e.constructor == "function" && !Et(e) ? Za(ca(e)) : {};
1480
1479
  }
1481
- function rn(e, i, s, b) {
1482
- var M = e.constructor;
1480
+ function rn(e, i, c, h) {
1481
+ var Z = e.constructor;
1483
1482
  switch (i) {
1484
- case Q:
1483
+ case J:
1485
1484
  return at(e);
1486
1485
  case v:
1487
1486
  case m:
1488
- return new M(+e);
1487
+ return new Z(+e);
1489
1488
  case K:
1490
- return za(e, b);
1491
- case z:
1489
+ return Va(e, h);
1490
+ case V:
1492
1491
  case E:
1493
1492
  case j:
1494
1493
  case H:
@@ -1497,22 +1496,22 @@ Ve.exports;
1497
1496
  case u:
1498
1497
  case f:
1499
1498
  case y:
1500
- return Ja(e, b);
1499
+ return Ja(e, h);
1501
1500
  case x:
1502
- return Ga(e, b, s);
1503
- case P:
1504
- case ae:
1505
- return new M(e);
1501
+ return Ga(e, h, c);
1502
+ case M:
1503
+ case te:
1504
+ return new Z(e);
1506
1505
  case G:
1507
1506
  return qa(e);
1508
1507
  case B:
1509
- return Xa(e, b, s);
1508
+ return Xa(e, h, c);
1510
1509
  case oe:
1511
1510
  return Ya(e);
1512
1511
  }
1513
1512
  }
1514
1513
  function on(e, i) {
1515
- return i = i ?? c, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1514
+ return i = i ?? s, !!i && (typeof e == "number" || D.test(e)) && e > -1 && e % 1 == 0 && e < i;
1516
1515
  }
1517
1516
  function sn(e) {
1518
1517
  var i = typeof e;
@@ -1522,8 +1521,8 @@ Ve.exports;
1522
1521
  return !!gt && gt in e;
1523
1522
  }
1524
1523
  function Et(e) {
1525
- var i = e && e.constructor, s = typeof i == "function" && i.prototype || Ae;
1526
- return e === s;
1524
+ var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ae;
1525
+ return e === c;
1527
1526
  }
1528
1527
  function fe(e) {
1529
1528
  if (e != null) {
@@ -1560,7 +1559,7 @@ Ve.exports;
1560
1559
  return i == A || i == N;
1561
1560
  }
1562
1561
  function vn(e) {
1563
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
1562
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
1564
1563
  }
1565
1564
  function Re(e) {
1566
1565
  var i = typeof e;
@@ -1579,8 +1578,8 @@ Ve.exports;
1579
1578
  return !1;
1580
1579
  }
1581
1580
  a.exports = ln;
1582
- })(Ve, Ve.exports);
1583
- var qr = Ve.exports;
1581
+ })(ze, ze.exports);
1582
+ var qr = ze.exports;
1584
1583
  const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1585
1584
  key: 0,
1586
1585
  class: "sidebar-header"
@@ -1597,7 +1596,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1597
1596
  }, ni = {
1598
1597
  key: 2,
1599
1598
  class: "level-primary bottom-items"
1600
- }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ ee({
1599
+ }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ Q({
1601
1600
  __name: "AppSidebar",
1602
1601
  props: {
1603
1602
  topItems: {
@@ -1669,75 +1668,75 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1669
1668
  "98cd1a16": A.value.top,
1670
1669
  "362eded8": A.value.zIndex
1671
1670
  }));
1672
- const r = t, n = a, c = ze(), l = k(() => !!c.header), o = k(() => !!c.top), v = k(() => ({
1671
+ const r = t, n = a, s = Ve(), l = _(() => !!s.header), o = _(() => !!s.top), v = _(() => ({
1673
1672
  mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
1674
1673
  top: n.topOffset ? `${n.topOffset}px` : "0",
1675
1674
  mobileHeight: n.mobileTopOffset && n.mobileEnabled ? `calc(100% - ${n.mobileTopOffset}px)` : "100%",
1676
1675
  height: n.topOffset ? `calc(100% - ${n.topOffset}px)` : "100%"
1677
- })), m = k(() => ({
1676
+ })), m = _(() => ({
1678
1677
  display: !n.mobileHeaderVisible && n.mobileEnabled ? "none" : "flex",
1679
1678
  minHeight: `${n.headerHeight}px`
1680
- })), S = k(() => ({
1679
+ })), S = _(() => ({
1681
1680
  marginTop: l.value ? `${n.headerHeight}px` : "0"
1682
- })), A = k(() => ({
1681
+ })), A = _(() => ({
1683
1682
  top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
1684
1683
  zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
1685
- })), N = (f) => Xr(f).map((h) => {
1684
+ })), N = (f) => Xr(f).map((b) => {
1686
1685
  var $, F, D;
1687
- if (h) {
1688
- (!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, "-"));
1689
- for (const g of h.items || [])
1690
- g.parentKey = h.key, (!g.testId || !((D = g.testId) != null && D.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1686
+ if (b) {
1687
+ (!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, "-"));
1688
+ for (const g of b.items || [])
1689
+ g.parentKey = b.key, (!g.testId || !((D = g.testId) != null && D.trim())) && (g.testId = String(g.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1691
1690
  }
1692
- return h;
1693
- }), x = k(() => n.topItems.length ? N(n.topItems) : []), P = k(() => n.bottomItems.length ? N(n.bottomItems) : []), _ = V(n.open), Z = (f) => {
1694
- var y, h;
1695
- _.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;
1691
+ return b;
1692
+ }), x = _(() => n.topItems.length ? N(n.topItems) : []), M = _(() => n.bottomItems.length ? N(n.bottomItems) : []), k = z(n.open), P = (f) => {
1693
+ var y, b;
1694
+ k.value !== f && (k.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;
1696
1695
  }, G = () => {
1697
- n.mobileOverlayCloseOnClick && Z(!1);
1698
- }, B = V(!1), ae = (f) => {
1696
+ n.mobileOverlayCloseOnClick && P(!1);
1697
+ }, B = z(!1), te = (f) => {
1699
1698
  B.value = !0, r("click", f), setTimeout(() => {
1700
- Z(!1);
1699
+ P(!1);
1701
1700
  }, n.mobileCloseDelay);
1702
1701
  };
1703
- je(() => n.open, (f) => {
1704
- Z(f);
1702
+ Ze(() => n.open, (f) => {
1703
+ P(f);
1705
1704
  });
1706
- const { debounce: oe } = Qt(), J = oe(() => {
1707
- _.value && Q.value !== (window == null ? void 0 : window.innerWidth) && (Q.value = window == null ? void 0 : window.innerWidth, Z(!1));
1708
- }, 200), Q = V(), K = V(!1), z = V(), E = () => {
1709
- K.value || (K.value = !0, clearTimeout(z.value), z.value = setTimeout(() => K.value = !1, 1300));
1710
- }, j = V(null), H = k(() => _.value && n.mobileEnabled), I = async (f) => {
1711
- var y, h;
1712
- f ? (await Lt(), await new Promise(($) => setTimeout($, 300)), (y = j.value) == null || y.activate()) : (h = j.value) == null || h.deactivate();
1705
+ const { debounce: oe } = Qt(), Y = oe(() => {
1706
+ k.value && J.value !== (window == null ? void 0 : window.innerWidth) && (J.value = window == null ? void 0 : window.innerWidth, P(!1));
1707
+ }, 200), J = z(), K = z(!1), V = z(), E = () => {
1708
+ K.value || (K.value = !0, clearTimeout(V.value), V.value = setTimeout(() => K.value = !1, 1300));
1709
+ }, j = z(null), H = _(() => k.value && n.mobileEnabled), I = async (f) => {
1710
+ var y, b;
1711
+ f ? (await Lt(), await new Promise(($) => setTimeout($, 300)), (y = j.value) == null || y.activate()) : (b = j.value) == null || b.deactivate();
1713
1712
  };
1714
- je(H, async (f) => {
1713
+ Ze(H, async (f) => {
1715
1714
  f ? await I(!0) : await I(!1);
1716
1715
  }, { immediate: !0 });
1717
- const d = V("0px"), u = () => {
1716
+ const d = z("0px"), u = () => {
1718
1717
  var g;
1719
1718
  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)))
1720
1719
  return;
1721
1720
  const y = document.createElement("div");
1722
1721
  y.style.visibility = "hidden", y.style.width = "100px", document.body.appendChild(y);
1723
- const h = y.offsetWidth;
1722
+ const b = y.offsetWidth;
1724
1723
  y.style.overflow = "scroll";
1725
1724
  const $ = document.createElement("div");
1726
1725
  $.style.width = "100%", y.appendChild($);
1727
1726
  const F = $.offsetWidth;
1728
- y.parentNode && y.parentNode.removeChild(y), h - F === 0 && (d.value = "8px");
1727
+ y.parentNode && y.parentNode.removeChild(y), b - F === 0 && (d.value = "8px");
1729
1728
  };
1730
1729
  return Ge(async () => {
1731
- Q.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", J), window.addEventListener("resize", E), await Lt(), u();
1730
+ J.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Y), window.addEventListener("resize", E), await Lt(), u();
1732
1731
  }), Wt(() => {
1733
- window.removeEventListener("resize", J), window.removeEventListener("resize", E);
1732
+ window.removeEventListener("resize", Y), window.removeEventListener("resize", E);
1734
1733
  }), (f, y) => (p(), w(Ce, null, [
1735
- _.value && a.mobileOverlay && a.mobileEnabled ? (p(), w("div", {
1734
+ k.value && a.mobileOverlay && a.mobileEnabled ? (p(), w("div", {
1736
1735
  key: 0,
1737
1736
  class: "kong-ui-app-sidebar-overlay",
1738
1737
  onClick: G
1739
1738
  })) : C("", !0),
1740
- Ne(Tn(zr), {
1739
+ Ne(Tn(Vr), {
1741
1740
  ref_key: "focusTrap",
1742
1741
  ref: j,
1743
1742
  active: !1,
@@ -1746,8 +1745,8 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1746
1745
  }, {
1747
1746
  default: R(() => [
1748
1747
  O("aside", {
1749
- class: ne(["kong-ui-app-sidebar", {
1750
- "sidebar-open": _.value,
1748
+ class: ae(["kong-ui-app-sidebar", {
1749
+ "sidebar-open": k.value,
1751
1750
  "no-sidebar-header": !l.value,
1752
1751
  "mobile-header-hidden": a.mobileEnabled && (!l.value || !a.mobileHeaderVisible),
1753
1752
  "mobile-disabled": !a.mobileEnabled,
@@ -1764,26 +1763,26 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1764
1763
  ])) : C("", !0),
1765
1764
  O("nav", ei, [
1766
1765
  x.value.length ? (p(), w("ul", ti, [
1767
- (p(!0), w(Ce, null, _e(x.value, (h) => (p(), Y(Mt, {
1768
- key: h.name,
1769
- item: h,
1770
- onClick: ae
1766
+ (p(!0), w(Ce, null, ke(x.value, (b) => (p(), X(Mt, {
1767
+ key: b.name,
1768
+ item: b,
1769
+ onClick: te
1771
1770
  }, {
1772
- [`sidebar-icon-${h.key}`]: R(() => [
1773
- T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1771
+ [`sidebar-icon-${b.key}`]: R(() => [
1772
+ T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1774
1773
  ]),
1775
1774
  _: 2
1776
1775
  }, 1032, ["item"]))), 128))
1777
1776
  ])) : C("", !0),
1778
- x.value.length && P.value.length ? (p(), w("div", ai)) : C("", !0),
1779
- P.value.length ? (p(), w("ul", ni, [
1780
- (p(!0), w(Ce, null, _e(P.value, (h) => (p(), Y(Mt, {
1781
- key: h.name,
1782
- item: h,
1783
- onClick: ae
1777
+ x.value.length && M.value.length ? (p(), w("div", ai)) : C("", !0),
1778
+ M.value.length ? (p(), w("ul", ni, [
1779
+ (p(!0), w(Ce, null, ke(M.value, (b) => (p(), X(Mt, {
1780
+ key: b.name,
1781
+ item: b,
1782
+ onClick: te
1784
1783
  }, {
1785
- [`sidebar-icon-${h.key}`]: R(() => [
1786
- T(f.$slots, `sidebar-icon-${h.key}`, {}, void 0, !0)
1784
+ [`sidebar-icon-${b.key}`]: R(() => [
1785
+ T(f.$slots, `sidebar-icon-${b.key}`, {}, void 0, !0)
1787
1786
  ]),
1788
1787
  _: 2
1789
1788
  }, 1032, ["item"]))), 128))
@@ -1799,11 +1798,11 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1799
1798
  }, 512)
1800
1799
  ], 64));
1801
1800
  }
1802
- }), 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 = [
1801
+ }), 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 = [
1803
1802
  ci,
1804
1803
  li,
1805
1804
  ui
1806
- ], fi = /* @__PURE__ */ ee({
1805
+ ], fi = /* @__PURE__ */ Q({
1807
1806
  __name: "SidebarToggle",
1808
1807
  props: {
1809
1808
  active: {
@@ -1813,27 +1812,27 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1813
1812
  },
1814
1813
  emits: ["toggle"],
1815
1814
  setup(a, { emit: t }) {
1816
- const r = t, n = a, c = V(n.active || !1), l = (o) => {
1817
- o.preventDefault(), c.value = !c.value, r("toggle", c.value);
1815
+ const r = t, n = a, s = z(n.active || !1), l = (o) => {
1816
+ o.preventDefault(), s.value = !s.value, r("toggle", s.value);
1818
1817
  };
1819
- return je(() => n.active, (o) => {
1820
- c.value = o;
1818
+ return Ze(() => n.active, (o) => {
1819
+ s.value = o;
1821
1820
  }), (o, v) => (p(), w("a", {
1822
1821
  "aria-haspopup": "true",
1823
- "aria-label": c.value ? "Close Main Menu" : "Open Main Menu",
1824
- class: ne(["sidebar-menu-toggle", { active: c.value }]),
1822
+ "aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
1823
+ class: ae(["sidebar-menu-toggle", { active: s.value }]),
1825
1824
  href: "#",
1826
1825
  role: "button",
1827
1826
  onClick: Sn(l, ["prevent"])
1828
1827
  }, di, 10, si));
1829
1828
  }
1830
- }), 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 = {
1829
+ }), 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), ki = { id: "kong-ui-app-layout-notification" }, _i = { class: "mobile-logo" }, Ti = {
1831
1830
  key: 0,
1832
1831
  class: "navbar-logo"
1833
1832
  }, Si = {
1834
1833
  class: "kong-ui-app-layout-main",
1835
1834
  "data-testid": "kong-ui-app-layout-main"
1836
- }, 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({
1835
+ }, 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({
1837
1836
  __name: "AppLayout",
1838
1837
  props: {
1839
1838
  hideDefaultSlot: {
@@ -1872,73 +1871,73 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1872
1871
  setup(a, { emit: t }) {
1873
1872
  ft((E) => ({
1874
1873
  "30c6990a": B.value,
1875
- 40906680: ae.value,
1874
+ 40906680: te.value,
1876
1875
  "169c1fd8": G.value,
1877
1876
  "75276abc": oe.value,
1878
- af1d4ea2: J.value
1877
+ af1d4ea2: Y.value
1879
1878
  }));
1880
- const r = a, n = t, c = ze(), l = Pe({
1881
- navbarLeft: k(() => !!c["navbar-left"]),
1882
- navbarCenter: k(() => !!c["navbar-center"]),
1883
- navbarRight: k(() => !!c["navbar-right"]),
1884
- navbarLogo: k(() => !!c["navbar-logo"]),
1885
- navbarMobileLogo: k(() => !!c["navbar-mobile-logo"]),
1886
- sidebarHeader: k(() => !!c["sidebar-header"]),
1887
- sidebarTop: k(() => !!c["sidebar-top"]),
1888
- sidebarFooter: k(() => !!c["sidebar-footer"])
1889
- }), o = k(() => r.hideDefaultSlot), v = Pe({
1890
- hidden: k(() => r.navbarHidden)
1879
+ const r = a, n = t, s = Ve(), l = Pe({
1880
+ navbarLeft: _(() => !!s["navbar-left"]),
1881
+ navbarCenter: _(() => !!s["navbar-center"]),
1882
+ navbarRight: _(() => !!s["navbar-right"]),
1883
+ navbarLogo: _(() => !!s["navbar-logo"]),
1884
+ navbarMobileLogo: _(() => !!s["navbar-mobile-logo"]),
1885
+ sidebarHeader: _(() => !!s["sidebar-header"]),
1886
+ sidebarTop: _(() => !!s["sidebar-top"]),
1887
+ sidebarFooter: _(() => !!s["sidebar-footer"])
1888
+ }), o = _(() => r.hideDefaultSlot), v = Pe({
1889
+ hidden: _(() => r.navbarHidden)
1891
1890
  }), m = Pe({
1892
- topItems: k(() => r.sidebarTopItems),
1893
- bottomItems: k(() => r.sidebarBottomItems),
1894
- open: k(() => r.sidebarOpen),
1895
- hidden: k(() => r.sidebarHidden)
1891
+ topItems: _(() => r.sidebarTopItems),
1892
+ bottomItems: _(() => r.sidebarBottomItems),
1893
+ open: _(() => r.sidebarOpen),
1894
+ hidden: _(() => r.sidebarHidden)
1896
1895
  }), S = (E) => {
1897
1896
  n("sidebar-click", E);
1898
- }, A = V(!1), N = (E) => {
1897
+ }, A = z(!1), N = (E) => {
1899
1898
  A.value = E;
1900
1899
  };
1901
1900
  In(() => {
1902
1901
  A.value = On(m, "open").value || !1;
1903
1902
  });
1904
- 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) => {
1903
+ const x = z(0), M = z(60), k = z(0), P = _(() => v.hidden ? k.value : M.value + k.value), G = _(() => r.theme === "light" ? pi : mi), B = _(() => r.theme === "light" ? bi : hi), te = _(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), oe = _(() => `${P.value}px`), Y = _(() => m.hidden || v.hidden ? gi : yi), { debounce: J } = Qt(), K = J((E = !1) => {
1905
1904
  if (E || x.value !== (window == null ? void 0 : window.innerWidth)) {
1906
1905
  x.value = window == null ? void 0 : window.innerWidth;
1907
1906
  const j = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1908
- j && (_.value = j.offsetHeight);
1907
+ j && (k.value = j.offsetHeight);
1909
1908
  }
1910
- }, 200), z = V();
1909
+ }, 200), V = z();
1911
1910
  return Ge(() => {
1912
1911
  var j, H;
1913
1912
  (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);
1914
1913
  const E = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1915
- E && (z.value = new ResizeObserver((I) => {
1914
+ E && (V.value = new ResizeObserver((I) => {
1916
1915
  window.requestAnimationFrame(() => {
1917
1916
  if (!(!Array.isArray(I) || !I.length))
1918
1917
  for (const d of I) {
1919
1918
  const u = d.contentRect.height;
1920
- _.value !== u && (_.value = u);
1919
+ k.value !== u && (k.value = u);
1921
1920
  }
1922
1921
  });
1923
- }), z.value.observe(E)), window.addEventListener("resize", K);
1922
+ }), V.value.observe(E)), window.addEventListener("resize", K);
1924
1923
  }), Wt(() => {
1925
- z.value && z.value.disconnect(), window.removeEventListener("resize", K);
1924
+ V.value && V.value.disconnect(), window.removeEventListener("resize", K);
1926
1925
  }), (E, j) => (p(), w("div", {
1927
- class: ne(["kong-ui-app-layout", [
1926
+ class: ae(["kong-ui-app-layout", [
1928
1927
  { "navbar-hidden": v.hidden },
1929
1928
  { "sidebar-hidden": m.hidden }
1930
1929
  ]])
1931
1930
  }, [
1932
- O("div", _i, [
1931
+ O("div", ki, [
1933
1932
  T(E.$slots, "notification", {}, void 0, !0)
1934
1933
  ]),
1935
- v.hidden ? C("", !0) : (p(), Y(cr, {
1934
+ v.hidden ? C("", !0) : (p(), X(cr, {
1936
1935
  key: String(m.hidden),
1937
1936
  "left-offset": m.hidden ? 0 : void 0,
1938
- "top-offset": _.value
1939
- }, Ze({
1937
+ "top-offset": k.value
1938
+ }, je({
1940
1939
  "mobile-sidebar-toggle": R(() => [
1941
- m.hidden ? C("", !0) : (p(), Y(vi, {
1940
+ m.hidden ? C("", !0) : (p(), X(vi, {
1942
1941
  key: 0,
1943
1942
  active: A.value,
1944
1943
  onToggle: N
@@ -1949,7 +1948,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1949
1948
  l.navbarMobileLogo ? {
1950
1949
  name: "mobile-logo",
1951
1950
  fn: R(() => [
1952
- O("div", ki, [
1951
+ O("div", _i, [
1953
1952
  T(E.$slots, "navbar-mobile-logo", {}, void 0, !0)
1954
1953
  ])
1955
1954
  ]),
@@ -1986,19 +1985,19 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
1986
1985
  key: "4"
1987
1986
  } : void 0
1988
1987
  ]), 1032, ["left-offset", "top-offset"])),
1989
- m.hidden ? C("", !0) : (p(), Y(oi, {
1988
+ m.hidden ? C("", !0) : (p(), X(oi, {
1990
1989
  key: 1,
1991
1990
  "bottom-items": m.bottomItems,
1992
- "header-height": P.value,
1991
+ "header-height": M.value,
1993
1992
  "mobile-enabled": "",
1994
1993
  "mobile-header-visible": !1,
1995
- "mobile-top-offset": Z.value,
1994
+ "mobile-top-offset": P.value,
1996
1995
  open: A.value,
1997
1996
  "top-items": m.topItems,
1998
- "top-offset": _.value,
1997
+ "top-offset": k.value,
1999
1998
  onClick: S,
2000
1999
  onToggle: N
2001
- }, Ze({ _: 2 }, [
2000
+ }, je({ _: 2 }, [
2002
2001
  l.sidebarHeader ? {
2003
2002
  name: "header",
2004
2003
  fn: R(() => [
@@ -2020,7 +2019,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2020
2019
  ]),
2021
2020
  key: "2"
2022
2021
  } : void 0,
2023
- _e([...m.topItems || [], ...m.bottomItems || []], (H) => ({
2022
+ ke([...m.topItems || [], ...m.bottomItems || []], (H) => ({
2024
2023
  name: `sidebar-icon-${H.key}`,
2025
2024
  fn: R(() => [
2026
2025
  T(E.$slots, `sidebar-icon-${H.key}`, {}, void 0, !0)
@@ -2038,7 +2037,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2038
2037
  ])
2039
2038
  ], 2));
2040
2039
  }
2041
- }), Ei = /* @__PURE__ */ te(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2040
+ }), Ei = /* @__PURE__ */ ee(Ci, [["__scopeId", "data-v-47c01124"]]), Ni = { class: "kong-ui-app-page-header" }, Ai = {
2042
2041
  key: 0,
2043
2042
  class: "page-header-breadcrumbs",
2044
2043
  "data-testid": "page-header-breadcrumbs"
@@ -2058,7 +2057,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2058
2057
  key: 1,
2059
2058
  class: "page-header-section-below",
2060
2059
  "data-testid": "page-header-section-below"
2061
- }, Pi = /* @__PURE__ */ ee({
2060
+ }, Pi = /* @__PURE__ */ Q({
2062
2061
  __name: "AppPageHeader",
2063
2062
  props: {
2064
2063
  title: {
@@ -2072,10 +2071,10 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2072
2071
  }
2073
2072
  },
2074
2073
  setup(a) {
2075
- const t = a, r = ze(), n = k(() => {
2074
+ const t = a, r = Ve(), n = _(() => {
2076
2075
  var l;
2077
2076
  return !!((l = t.breadcrumbs) != null && l.length);
2078
- }), c = k(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2077
+ }), s = _(() => Object.keys(r).filter((l) => l.startsWith("icon-")));
2079
2078
  return (l, o) => {
2080
2079
  const v = be("KBreadcrumbs");
2081
2080
  return p(), w("div", Ni, [
@@ -2083,8 +2082,8 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2083
2082
  Ne(v, {
2084
2083
  "item-max-width": "150",
2085
2084
  items: a.breadcrumbs
2086
- }, Ze({ _: 2 }, [
2087
- _e(c.value, (m) => ({
2085
+ }, je({ _: 2 }, [
2086
+ ke(s.value, (m) => ({
2088
2087
  name: m,
2089
2088
  fn: R(() => [
2090
2089
  T(l.$slots, m, {}, void 0, !0)
@@ -2101,7 +2100,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2101
2100
  class: "page-header-title",
2102
2101
  "data-testid": "page-header-title",
2103
2102
  title: a.title
2104
- }, X(a.title), 9, Ri),
2103
+ }, q(a.title), 9, Ri),
2105
2104
  l.$slots["title-after"] ? (p(), w("div", Bi, [
2106
2105
  T(l.$slots, "title-after", {}, void 0, !0)
2107
2106
  ])) : C("", !0)
@@ -2116,7 +2115,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2116
2115
  ]);
2117
2116
  };
2118
2117
  }
2119
- }), Ui = /* @__PURE__ */ te(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2118
+ }), Ui = /* @__PURE__ */ ee(Pi, [["__scopeId", "data-v-204b7f98"]]), Wi = {
2120
2119
  // Customize Vue plugin options as desired
2121
2120
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2122
2121
  install: (a, t = {}) => {
@@ -2124,7 +2123,7 @@ const Xr = /* @__PURE__ */ Gr(qr), Yr = {
2124
2123
  }
2125
2124
  };
2126
2125
  export {
2127
- ji as AccountDropdown,
2126
+ Zi as AccountDropdown,
2128
2127
  Ki as AppAboutSection,
2129
2128
  Hi as AppError,
2130
2129
  Ei as AppLayout,