@kong-ui-public/app-layout 0.19.4 → 0.19.5

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,8 +1,8 @@
1
- import { defineComponent as te, useCssVars as Qe, unref as m, useSlots as et, computed as w, reactive as Ee, onMounted as Me, openBlock as y, createElementBlock as N, createElementVNode as O, renderSlot as $, createCommentVNode as R, toDisplayString as me, resolveComponent as ge, normalizeClass as ee, createBlock as q, resolveDynamicComponent as hn, withCtx as K, withKeys as pn, createVNode as tt, Fragment as ye, renderList as Fe, ref as W, watch as Ne, onUnmounted as mn, Comment as gn, cloneVNode as yn, onBeforeUnmount as Zt, nextTick as _n, withModifiers as wn, pushScopeId as at, popScopeId as nt, watchEffect as Tn, toRef as Sn, createSlots as Et, createTextVNode as Xe, createStaticVNode as kn } from "vue";
1
+ import { defineComponent as ae, useCssVars as at, unref as p, useSlots as nt, computed as _, reactive as Ne, onMounted as Ze, openBlock as g, createElementBlock as N, createElementVNode as I, renderSlot as F, createCommentVNode as L, toDisplayString as ge, resolveComponent as ye, normalizeClass as te, createBlock as Q, resolveDynamicComponent as hn, withCtx as z, withKeys as pn, createVNode as rt, Fragment as _e, renderList as Fe, ref as U, watch as $e, onUnmounted as mn, Comment as gn, cloneVNode as yn, onBeforeUnmount as jt, nextTick as _n, withModifiers as wn, pushScopeId as it, popScopeId as ot, watchEffect as Tn, toRef as Sn, createSlots as $t, createTextVNode as et, createStaticVNode as kn } from "vue";
2
2
  const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, On = { class: "mobile-header-left" }, xn = {
3
3
  key: 0,
4
4
  class: "app-navbar-logo"
5
- }, An = { class: "navbar-content" }, En = { class: "navbar-content-left" }, Fn = { class: "navbar-content-center" }, Nn = { class: "navbar-content-right" }, $n = /* @__PURE__ */ te({
5
+ }, An = { class: "navbar-content" }, En = { class: "navbar-content-left" }, Nn = { class: "navbar-content-center" }, Fn = { class: "navbar-content-right" }, $n = /* @__PURE__ */ ae({
6
6
  __name: "AppNavbar",
7
7
  props: {
8
8
  topOffset: {
@@ -21,56 +21,56 @@ const In = { class: "kong-ui-app-navbar" }, Cn = { class: "header-content" }, On
21
21
  },
22
22
  setup(n) {
23
23
  const t = n;
24
- Qe((o) => ({
25
- e7993570: m(u).top,
26
- "591d67a5": m(u).zIndex,
27
- "0b950b18": m(u).left,
24
+ at((o) => ({
25
+ e7993570: p(d).top,
26
+ "591d67a5": p(d).zIndex,
27
+ "0b950b18": p(d).left,
28
28
  74170388: c.marginRight,
29
29
  "482efd74": c.width
30
30
  }));
31
- const a = et(), r = w(() => !!a.logo), c = Ee({
31
+ const a = nt(), r = _(() => !!a.logo), c = Ne({
32
32
  marginRight: "0",
33
33
  width: "0"
34
34
  });
35
- Me(() => {
36
- var o, f;
37
- (f = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && f.length ? (c.marginRight = "32px", c.width = "calc(240px - 32px)") : (c.marginRight = "0", c.width = "0");
35
+ Ze(() => {
36
+ var o, v;
37
+ (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");
38
38
  });
39
- const u = w(() => ({
39
+ const d = _(() => ({
40
40
  top: t.topOffset ? `${t.topOffset}px` : "0",
41
41
  left: t.leftOffset ? `${t.leftOffset}px` : "0",
42
42
  zIndex: t.zIndex
43
43
  }));
44
- return (o, f) => (y(), N("header", In, [
45
- O("div", Cn, [
46
- O("div", On, [
47
- $(o.$slots, "mobile-sidebar-toggle"),
48
- $(o.$slots, "mobile-logo")
44
+ return (o, v) => (g(), N("header", In, [
45
+ I("div", Cn, [
46
+ I("div", On, [
47
+ F(o.$slots, "mobile-sidebar-toggle"),
48
+ F(o.$slots, "mobile-logo")
49
49
  ]),
50
- m(r) ? (y(), N("div", xn, [
51
- $(o.$slots, "logo")
52
- ])) : R("", !0),
53
- O("div", An, [
54
- O("div", En, [
55
- $(o.$slots, "left")
50
+ p(r) ? (g(), N("div", xn, [
51
+ F(o.$slots, "logo")
52
+ ])) : L("", !0),
53
+ I("div", An, [
54
+ I("div", En, [
55
+ F(o.$slots, "left")
56
56
  ]),
57
- O("div", Fn, [
58
- $(o.$slots, "center")
57
+ I("div", Nn, [
58
+ F(o.$slots, "center")
59
59
  ]),
60
- O("div", Nn, [
61
- $(o.$slots, "right")
60
+ I("div", Fn, [
61
+ F(o.$slots, "right")
62
62
  ])
63
63
  ])
64
64
  ])
65
65
  ]));
66
66
  }
67
67
  });
68
- const ae = (n, t) => {
68
+ const ne = (n, t) => {
69
69
  const a = n.__vccOpts || n;
70
70
  for (const [r, c] of t)
71
71
  a[r] = c;
72
72
  return a;
73
- }, Dn = /* @__PURE__ */ ae($n, [["__scopeId", "data-v-b7131fb2"]]), Bn = ["title"], Ln = /* @__PURE__ */ te({
73
+ }, Dn = /* @__PURE__ */ ne($n, [["__scopeId", "data-v-b7131fb2"]]), Rn = ["title"], Bn = /* @__PURE__ */ ae({
74
74
  __name: "ItemBadge",
75
75
  props: {
76
76
  count: {
@@ -80,21 +80,21 @@ const ae = (n, t) => {
80
80
  }
81
81
  },
82
82
  setup(n) {
83
- const t = n, a = 99, r = w(() => t.count ? t.count > a ? `${a}+` : t.count.toString() : "");
84
- return (c, u) => m(r) ? (y(), N("div", {
83
+ const t = n, a = 99, r = _(() => t.count ? t.count > a ? `${a}+` : t.count.toString() : "");
84
+ return (c, d) => p(r) ? (g(), N("div", {
85
85
  key: 0,
86
86
  class: "item-badge",
87
87
  title: (n.count || 0) > a ? String(n.count) : void 0
88
- }, me(m(r)), 9, Bn)) : R("", !0);
88
+ }, ge(p(r)), 9, Rn)) : L("", !0);
89
89
  }
90
90
  });
91
- const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Mn = ["data-testid"], Zn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Pn = {
91
+ const Ln = /* @__PURE__ */ ne(Bn, [["__scopeId", "data-v-9e48c714"]]), Mn = ["data-testid"], Zn = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], Pn = {
92
92
  key: 0,
93
93
  class: "sidebar-item-icon"
94
94
  }, jn = { class: "sidebar-item-name-container" }, Hn = { class: "sidebar-item-name has-tooltip" }, Kn = {
95
95
  key: 2,
96
96
  class: "sidebar-item-label truncate-text truncate-20"
97
- }, zn = ["id"], Vn = /* @__PURE__ */ te({
97
+ }, zn = ["id"], Vn = /* @__PURE__ */ ae({
98
98
  __name: "SidebarItem",
99
99
  props: {
100
100
  item: {
@@ -108,99 +108,99 @@ const Rn = /* @__PURE__ */ ae(Ln, [["__scopeId", "data-v-9e48c714"]]), Mn = ["da
108
108
  },
109
109
  emits: ["click"],
110
110
  setup(n, { emit: t }) {
111
- const a = n, r = w(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), c = w(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), u = w(() => a.subnavItem && a.item.badgeCount !== void 0), o = (g) => {
112
- t("click", g);
113
- }, f = (g, _, E) => {
114
- o(_), typeof E == "function" && (g.preventDefault(), E());
111
+ const a = n, r = _(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), c = _(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), d = _(() => a.subnavItem && a.item.badgeCount !== void 0), o = (m) => {
112
+ t("click", m);
113
+ }, v = (m, y, A) => {
114
+ o(y), typeof A == "function" && (m.preventDefault(), A());
115
115
  };
116
- return (g, _) => {
117
- var C;
118
- const E = ge("KIcon"), F = ge("KTooltip"), D = ge("SidebarItem", !0);
119
- return y(), N("li", {
120
- class: ee([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
116
+ return (m, y) => {
117
+ var S;
118
+ const A = ye("KIcon"), x = ye("KTooltip"), $ = ye("SidebarItem", !0);
119
+ return g(), N("li", {
120
+ class: te([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
121
121
  "data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
122
122
  }, [
123
- (y(), q(hn(m(r) ? "div" : "router-link"), {
124
- custom: m(r) ? void 0 : !0,
125
- to: !m(r) && !m(c) ? n.item.to : void 0
123
+ (g(), Q(hn(p(r) ? "div" : "router-link"), {
124
+ custom: p(r) ? void 0 : !0,
125
+ to: !p(r) && !p(c) ? n.item.to : void 0
126
126
  }, {
127
- default: K((x) => {
128
- var Z, z;
127
+ default: z((C) => {
128
+ var Z, V;
129
129
  return [
130
- O("a", {
130
+ I("a", {
131
131
  "aria-controls": (Z = n.item.items) != null && Z.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
132
- "aria-expanded": (z = n.item.items) != null && z.length && n.item.expanded ? !0 : void 0,
133
- class: ee(["sidebar-item-link", { "sidebar-item-external-link": m(c), "router-link": !m(r) }]),
134
- href: m(r) ? String(n.item.to || "#") : x == null ? void 0 : x.href,
135
- target: m(c) ? "_blank" : void 0,
136
- onClick: (P) => f(P, n.item, x == null ? void 0 : x.navigate),
137
- onKeypress: pn((P) => f(P, n.item, x == null ? void 0 : x.navigate), ["enter"])
132
+ "aria-expanded": (V = n.item.items) != null && V.length && n.item.expanded ? !0 : void 0,
133
+ class: te(["sidebar-item-link", { "sidebar-item-external-link": p(c), "router-link": !p(r) }]),
134
+ href: p(r) ? String(n.item.to || "#") : C == null ? void 0 : C.href,
135
+ target: p(c) ? "_blank" : void 0,
136
+ onClick: (P) => v(P, n.item, C == null ? void 0 : C.navigate),
137
+ onKeypress: pn((P) => v(P, n.item, C == null ? void 0 : C.navigate), ["enter"])
138
138
  }, [
139
- O("div", {
140
- class: ee(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": m(u) }])
139
+ I("div", {
140
+ class: te(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": p(d) }])
141
141
  }, [
142
- n.item.icon ? (y(), N("div", Pn, [
143
- tt(E, {
142
+ n.item.icon ? (g(), N("div", Pn, [
143
+ rt(A, {
144
144
  color: n.item.active || n.item.expanded ? "var(--white, #fff)" : "#B5BECD",
145
145
  icon: String(n.item.icon),
146
146
  size: "20"
147
147
  }, null, 8, ["color", "icon"])
148
- ])) : R("", !0),
149
- O("div", jn, [
150
- (n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (y(), N("div", {
148
+ ])) : L("", !0),
149
+ I("div", jn, [
150
+ (n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (g(), N("div", {
151
151
  key: 0,
152
- class: ee(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
153
- }, me(n.item.name), 3)) : (y(), q(F, {
152
+ class: te(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
153
+ }, ge(n.item.name), 3)) : (g(), Q(x, {
154
154
  key: 1,
155
155
  class: "sidebar-item-tooltip",
156
156
  label: n.item.name,
157
157
  placement: "right",
158
158
  "position-fixed": ""
159
159
  }, {
160
- default: K(() => [
161
- O("div", Hn, [
162
- O("span", {
163
- class: ee(["truncate-text", [n.subnavItem ? "truncate-20" : "truncate-17", { "has-badge-max-width": m(u) }]])
164
- }, me(n.item.name), 3)
160
+ default: z(() => [
161
+ I("div", Hn, [
162
+ I("span", {
163
+ class: te(["truncate-text", [n.subnavItem ? "truncate-20" : "truncate-17", { "has-badge-max-width": p(d) }]])
164
+ }, ge(n.item.name), 3)
165
165
  ])
166
166
  ]),
167
167
  _: 1
168
168
  }, 8, ["label"])),
169
- n.item.label && n.item.expanded ? (y(), N("div", Kn, me(n.item.label), 1)) : R("", !0)
169
+ n.item.label && n.item.expanded ? (g(), N("div", Kn, ge(n.item.label), 1)) : L("", !0)
170
170
  ]),
171
- m(u) ? (y(), q(Rn, {
171
+ p(d) ? (g(), Q(Ln, {
172
172
  key: 1,
173
173
  count: n.item.badgeCount
174
- }, null, 8, ["count"])) : R("", !0)
174
+ }, null, 8, ["count"])) : L("", !0)
175
175
  ], 2)
176
176
  ], 42, Zn)
177
177
  ];
178
178
  }),
179
179
  _: 1
180
180
  }, 8, ["custom", "to"])),
181
- (C = n.item.items) != null && C.length && n.item.expanded ? (y(), N("ul", {
181
+ (S = n.item.items) != null && S.length && n.item.expanded ? (g(), N("ul", {
182
182
  key: 0,
183
183
  id: `subnav-${n.item.key}`,
184
184
  class: "level-secondary"
185
185
  }, [
186
- (y(!0), N(ye, null, Fe(n.item.items, (x) => (y(), q(D, {
187
- key: x.name,
188
- item: x,
186
+ (g(!0), N(_e, null, Fe(n.item.items, (C) => (g(), Q($, {
187
+ key: C.name,
188
+ item: C,
189
189
  "subnav-item": !0,
190
- onClick: (Z) => o(x)
190
+ onClick: (Z) => o(C)
191
191
  }, null, 8, ["item", "onClick"]))), 128))
192
- ], 8, zn)) : R("", !0)
192
+ ], 8, zn)) : L("", !0)
193
193
  ], 10, Mn);
194
194
  };
195
195
  }
196
196
  });
197
- const Ft = /* @__PURE__ */ ae(Vn, [["__scopeId", "data-v-a8253818"]]);
197
+ const Dt = /* @__PURE__ */ ne(Vn, [["__scopeId", "data-v-a8253818"]]);
198
198
  /*!
199
199
  * tabbable 6.1.2
200
200
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
201
201
  */
202
- var Pt = ["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])"], $e = /* @__PURE__ */ Pt.join(","), jt = typeof Element > "u", ce = jt ? function() {
203
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, De = !jt && Element.prototype.getRootNode ? function(n) {
202
+ var Ht = ["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])"], De = /* @__PURE__ */ Ht.join(","), Kt = typeof Element > "u", le = Kt ? function() {
203
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Re = !Kt && Element.prototype.getRootNode ? function(n) {
204
204
  var t;
205
205
  return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
206
206
  } : function(n) {
@@ -208,50 +208,50 @@ var Pt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
208
208
  }, Be = function n(t, a) {
209
209
  var r;
210
210
  a === void 0 && (a = !0);
211
- var c = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), u = c === "" || c === "true", o = u || a && t && n(t.parentNode);
211
+ var c = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), d = c === "" || c === "true", o = d || a && t && n(t.parentNode);
212
212
  return o;
213
213
  }, Wn = function(t) {
214
214
  var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
215
215
  return r === "" || r === "true";
216
- }, Ht = function(t, a, r) {
216
+ }, zt = function(t, a, r) {
217
217
  if (Be(t))
218
218
  return [];
219
- var c = Array.prototype.slice.apply(t.querySelectorAll($e));
220
- return a && ce.call(t, $e) && c.unshift(t), c = c.filter(r), c;
221
- }, Kt = function n(t, a, r) {
222
- for (var c = [], u = Array.from(t); u.length; ) {
223
- var o = u.shift();
219
+ var c = Array.prototype.slice.apply(t.querySelectorAll(De));
220
+ return a && le.call(t, De) && c.unshift(t), c = c.filter(r), c;
221
+ }, Vt = function n(t, a, r) {
222
+ for (var c = [], d = Array.from(t); d.length; ) {
223
+ var o = d.shift();
224
224
  if (!Be(o, !1))
225
225
  if (o.tagName === "SLOT") {
226
- var f = o.assignedElements(), g = f.length ? f : o.children, _ = n(g, !0, r);
227
- r.flatten ? c.push.apply(c, _) : c.push({
226
+ var v = o.assignedElements(), m = v.length ? v : o.children, y = n(m, !0, r);
227
+ r.flatten ? c.push.apply(c, y) : c.push({
228
228
  scopeParent: o,
229
- candidates: _
229
+ candidates: y
230
230
  });
231
231
  } else {
232
- var E = ce.call(o, $e);
233
- E && r.filter(o) && (a || !t.includes(o)) && c.push(o);
234
- var F = o.shadowRoot || // check for an undisclosed shadow
235
- typeof r.getShadowRoot == "function" && r.getShadowRoot(o), D = !Be(F, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
236
- if (F && D) {
237
- var C = n(F === !0 ? o.children : F.children, !0, r);
238
- r.flatten ? c.push.apply(c, C) : c.push({
232
+ var A = le.call(o, De);
233
+ A && r.filter(o) && (a || !t.includes(o)) && c.push(o);
234
+ var x = o.shadowRoot || // check for an undisclosed shadow
235
+ typeof r.getShadowRoot == "function" && r.getShadowRoot(o), $ = !Be(x, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
236
+ if (x && $) {
237
+ var S = n(x === !0 ? o.children : x.children, !0, r);
238
+ r.flatten ? c.push.apply(c, S) : c.push({
239
239
  scopeParent: o,
240
- candidates: C
240
+ candidates: S
241
241
  });
242
242
  } else
243
- u.unshift.apply(u, o.children);
243
+ d.unshift.apply(d, o.children);
244
244
  }
245
245
  }
246
246
  return c;
247
- }, zt = function(t, a) {
247
+ }, Wt = function(t, a) {
248
248
  return t.tabIndex < 0 && (a || /^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Wn(t)) && isNaN(parseInt(t.getAttribute("tabindex"), 10)) ? 0 : t.tabIndex;
249
249
  }, Gn = function(t, a) {
250
250
  return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
251
- }, Vt = function(t) {
251
+ }, Gt = function(t) {
252
252
  return t.tagName === "INPUT";
253
253
  }, Un = function(t) {
254
- return Vt(t) && t.type === "hidden";
254
+ return Gt(t) && t.type === "hidden";
255
255
  }, qn = function(t) {
256
256
  var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
257
257
  return r.tagName === "SUMMARY";
@@ -264,8 +264,8 @@ var Pt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
264
264
  }, Xn = function(t) {
265
265
  if (!t.name)
266
266
  return !0;
267
- var a = t.form || De(t), r = function(f) {
268
- return a.querySelectorAll('input[type="radio"][name="' + f + '"]');
267
+ var a = t.form || Re(t), r = function(v) {
268
+ return a.querySelectorAll('input[type="radio"][name="' + v + '"]');
269
269
  }, c;
270
270
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
271
271
  c = r(window.CSS.escape(t.name));
@@ -275,48 +275,48 @@ var Pt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
275
275
  } catch (o) {
276
276
  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;
277
277
  }
278
- var u = Yn(c, t.form);
279
- return !u || u === t;
278
+ var d = Yn(c, t.form);
279
+ return !d || d === t;
280
280
  }, Jn = function(t) {
281
- return Vt(t) && t.type === "radio";
281
+ return Gt(t) && t.type === "radio";
282
282
  }, Qn = function(t) {
283
283
  return Jn(t) && !Xn(t);
284
284
  }, er = function(t) {
285
- var a, r = t && De(t), c = (a = r) === null || a === void 0 ? void 0 : a.host, u = !1;
285
+ var a, r = t && Re(t), c = (a = r) === null || a === void 0 ? void 0 : a.host, d = !1;
286
286
  if (r && r !== t) {
287
- var o, f, g;
288
- for (u = !!((o = c) !== null && o !== void 0 && (f = o.ownerDocument) !== null && f !== void 0 && f.contains(c) || t != null && (g = t.ownerDocument) !== null && g !== void 0 && g.contains(t)); !u && c; ) {
289
- var _, E, F;
290
- r = De(c), c = (_ = r) === null || _ === void 0 ? void 0 : _.host, u = !!((E = c) !== null && E !== void 0 && (F = E.ownerDocument) !== null && F !== void 0 && F.contains(c));
287
+ var o, v, m;
288
+ for (d = !!((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)); !d && c; ) {
289
+ var y, A, x;
290
+ r = Re(c), c = (y = r) === null || y === void 0 ? void 0 : y.host, d = !!((A = c) !== null && A !== void 0 && (x = A.ownerDocument) !== null && x !== void 0 && x.contains(c));
291
291
  }
292
292
  }
293
- return u;
294
- }, Nt = function(t) {
293
+ return d;
294
+ }, Rt = function(t) {
295
295
  var a = t.getBoundingClientRect(), r = a.width, c = a.height;
296
296
  return r === 0 && c === 0;
297
297
  }, tr = function(t, a) {
298
298
  var r = a.displayCheck, c = a.getShadowRoot;
299
299
  if (getComputedStyle(t).visibility === "hidden")
300
300
  return !0;
301
- var u = ce.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
302
- if (ce.call(o, "details:not([open]) *"))
301
+ var d = le.call(t, "details>summary:first-of-type"), o = d ? t.parentElement : t;
302
+ if (le.call(o, "details:not([open]) *"))
303
303
  return !0;
304
304
  if (!r || r === "full" || r === "legacy-full") {
305
305
  if (typeof c == "function") {
306
- for (var f = t; t; ) {
307
- var g = t.parentElement, _ = De(t);
308
- if (g && !g.shadowRoot && c(g) === !0)
309
- return Nt(t);
310
- t.assignedSlot ? t = t.assignedSlot : !g && _ !== t.ownerDocument ? t = _.host : t = g;
306
+ for (var v = t; t; ) {
307
+ var m = t.parentElement, y = Re(t);
308
+ if (m && !m.shadowRoot && c(m) === !0)
309
+ return Rt(t);
310
+ t.assignedSlot ? t = t.assignedSlot : !m && y !== t.ownerDocument ? t = y.host : t = m;
311
311
  }
312
- t = f;
312
+ t = v;
313
313
  }
314
314
  if (er(t))
315
315
  return !t.getClientRects().length;
316
316
  if (r !== "legacy-full")
317
317
  return !0;
318
318
  } else if (r === "non-zero-area")
319
- return Nt(t);
319
+ return Rt(t);
320
320
  return !1;
321
321
  }, ar = function(t) {
322
322
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
@@ -325,7 +325,7 @@ var Pt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
325
325
  for (var r = 0; r < a.children.length; r++) {
326
326
  var c = a.children.item(r);
327
327
  if (c.tagName === "LEGEND")
328
- return ce.call(a, "fieldset[disabled] *") ? !0 : !c.contains(t);
328
+ return le.call(a, "fieldset[disabled] *") ? !0 : !c.contains(t);
329
329
  }
330
330
  return !0;
331
331
  }
@@ -338,56 +338,56 @@ var Pt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
338
338
  // note related to `candidateSelectors`)
339
339
  Be(a) || Un(a) || tr(a, t) || // For a details element with a summary, the summary element gets the focus
340
340
  qn(a) || ar(a));
341
- }, Je = function(t, a) {
342
- return !(Qn(a) || zt(a) < 0 || !Le(t, a));
341
+ }, tt = function(t, a) {
342
+ return !(Qn(a) || Wt(a) < 0 || !Le(t, a));
343
343
  }, nr = function(t) {
344
344
  var a = parseInt(t.getAttribute("tabindex"), 10);
345
345
  return !!(isNaN(a) || a >= 0);
346
346
  }, rr = function n(t) {
347
347
  var a = [], r = [];
348
- return t.forEach(function(c, u) {
349
- var o = !!c.scopeParent, f = o ? c.scopeParent : c, g = zt(f, o), _ = o ? n(c.candidates) : f;
350
- g === 0 ? o ? a.push.apply(a, _) : a.push(f) : r.push({
351
- documentOrder: u,
352
- tabIndex: g,
348
+ return t.forEach(function(c, d) {
349
+ var o = !!c.scopeParent, v = o ? c.scopeParent : c, m = Wt(v, o), y = o ? n(c.candidates) : v;
350
+ m === 0 ? o ? a.push.apply(a, y) : a.push(v) : r.push({
351
+ documentOrder: d,
352
+ tabIndex: m,
353
353
  item: c,
354
354
  isScope: o,
355
- content: _
355
+ content: y
356
356
  });
357
- }), r.sort(Gn).reduce(function(c, u) {
358
- return u.isScope ? c.push.apply(c, u.content) : c.push(u.content), c;
357
+ }), r.sort(Gn).reduce(function(c, d) {
358
+ return d.isScope ? c.push.apply(c, d.content) : c.push(d.content), c;
359
359
  }, []).concat(a);
360
360
  }, ir = function(t, a) {
361
361
  a = a || {};
362
362
  var r;
363
- return a.getShadowRoot ? r = Kt([t], a.includeContainer, {
364
- filter: Je.bind(null, a),
363
+ return a.getShadowRoot ? r = Vt([t], a.includeContainer, {
364
+ filter: tt.bind(null, a),
365
365
  flatten: !1,
366
366
  getShadowRoot: a.getShadowRoot,
367
367
  shadowRootFilter: nr
368
- }) : r = Ht(t, a.includeContainer, Je.bind(null, a)), rr(r);
368
+ }) : r = zt(t, a.includeContainer, tt.bind(null, a)), rr(r);
369
369
  }, or = function(t, a) {
370
370
  a = a || {};
371
371
  var r;
372
- return a.getShadowRoot ? r = Kt([t], a.includeContainer, {
372
+ return a.getShadowRoot ? r = Vt([t], a.includeContainer, {
373
373
  filter: Le.bind(null, a),
374
374
  flatten: !0,
375
375
  getShadowRoot: a.getShadowRoot
376
- }) : r = Ht(t, a.includeContainer, Le.bind(null, a)), r;
377
- }, Oe = function(t, a) {
376
+ }) : r = zt(t, a.includeContainer, Le.bind(null, a)), r;
377
+ }, xe = function(t, a) {
378
378
  if (a = a || {}, !t)
379
379
  throw new Error("No node provided");
380
- return ce.call(t, $e) === !1 ? !1 : Je(a, t);
381
- }, sr = /* @__PURE__ */ Pt.concat("iframe").join(","), $t = function(t, a) {
380
+ return le.call(t, De) === !1 ? !1 : tt(a, t);
381
+ }, sr = /* @__PURE__ */ Ht.concat("iframe").join(","), Qe = function(t, a) {
382
382
  if (a = a || {}, !t)
383
383
  throw new Error("No node provided");
384
- return ce.call(t, sr) === !1 ? !1 : Le(a, t);
384
+ return le.call(t, sr) === !1 ? !1 : Le(a, t);
385
385
  };
386
386
  /*!
387
- * focus-trap 7.4.1
387
+ * focus-trap 7.4.3
388
388
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
389
389
  */
390
- function Dt(n, t) {
390
+ function Bt(n, t) {
391
391
  var a = Object.keys(n);
392
392
  if (Object.getOwnPropertySymbols) {
393
393
  var r = Object.getOwnPropertySymbols(n);
@@ -397,12 +397,12 @@ function Dt(n, t) {
397
397
  }
398
398
  return a;
399
399
  }
400
- function Bt(n) {
400
+ function Lt(n) {
401
401
  for (var t = 1; t < arguments.length; t++) {
402
402
  var a = arguments[t] != null ? arguments[t] : {};
403
- t % 2 ? Dt(Object(a), !0).forEach(function(r) {
403
+ t % 2 ? Bt(Object(a), !0).forEach(function(r) {
404
404
  cr(n, r, a[r]);
405
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Dt(Object(a)).forEach(function(r) {
405
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Bt(Object(a)).forEach(function(r) {
406
406
  Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(a, r));
407
407
  });
408
408
  }
@@ -432,7 +432,7 @@ function ur(n) {
432
432
  var t = lr(n, "string");
433
433
  return typeof t == "symbol" ? t : String(t);
434
434
  }
435
- var Lt = {
435
+ var Mt = {
436
436
  activateTrap: function(t, a) {
437
437
  if (t.length > 0) {
438
438
  var r = t[t.length - 1];
@@ -449,27 +449,27 @@ var Lt = {
449
449
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
450
450
  }, fr = function(t) {
451
451
  return t.key === "Escape" || t.key === "Esc" || t.keyCode === 27;
452
- }, _e = function(t) {
452
+ }, we = function(t) {
453
453
  return t.key === "Tab" || t.keyCode === 9;
454
454
  }, vr = function(t) {
455
- return _e(t) && !t.shiftKey;
455
+ return we(t) && !t.shiftKey;
456
456
  }, br = function(t) {
457
- return _e(t) && t.shiftKey;
458
- }, Rt = function(t) {
457
+ return we(t) && t.shiftKey;
458
+ }, Zt = function(t) {
459
459
  return setTimeout(t, 0);
460
- }, Mt = function(t, a) {
460
+ }, Pt = function(t, a) {
461
461
  var r = -1;
462
- return t.every(function(c, u) {
463
- return a(c) ? (r = u, !1) : !0;
462
+ return t.every(function(c, d) {
463
+ return a(c) ? (r = d, !1) : !0;
464
464
  }), r;
465
- }, pe = function(t) {
465
+ }, me = function(t) {
466
466
  for (var a = arguments.length, r = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
467
467
  r[c - 1] = arguments[c];
468
468
  return typeof t == "function" ? t.apply(void 0, r) : t;
469
- }, xe = function(t) {
469
+ }, Ae = function(t) {
470
470
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
471
471
  }, hr = [], pr = function(t, a) {
472
- var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) || hr, u = Bt({
472
+ var r = (a == null ? void 0 : a.document) || document, c = (a == null ? void 0 : a.trapStack) || hr, d = Lt({
473
473
  returnFocusOnDeactivate: !0,
474
474
  escapeDeactivates: !0,
475
475
  delayInitialFocus: !0,
@@ -506,58 +506,59 @@ var Lt = {
506
506
  // timer ID for when delayInitialFocus is true and initial focus in this trap
507
507
  // has been delayed during activation
508
508
  delayInitialFocusTimer: void 0
509
- }, f, g = function(l, d, b) {
510
- return l && l[d] !== void 0 ? l[d] : u[b || d];
511
- }, _ = function(l) {
512
- return o.containerGroups.findIndex(function(d) {
513
- var b = d.container, k = d.tabbableNodes;
514
- return b.contains(l) || // fall back to explicit tabbable search which will take into consideration any
509
+ }, v, m = function(l, u, f) {
510
+ return l && l[u] !== void 0 ? l[u] : d[f || u];
511
+ }, y = function(l, u) {
512
+ var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
513
+ return o.containerGroups.findIndex(function(h) {
514
+ var T = h.container, E = h.tabbableNodes;
515
+ return T.contains(l) || // fall back to explicit tabbable search which will take into consideration any
515
516
  // web components if the `tabbableOptions.getShadowRoot` option was used for
516
517
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
517
518
  // look inside web components even if open)
518
- k.find(function(h) {
519
- return h === l;
519
+ (f == null ? void 0 : f.includes(T)) || E.find(function(D) {
520
+ return D === l;
520
521
  });
521
522
  });
522
- }, E = function(l) {
523
- var d = u[l];
524
- if (typeof d == "function") {
525
- for (var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), h = 1; h < b; h++)
526
- k[h - 1] = arguments[h];
527
- d = d.apply(void 0, k);
523
+ }, A = function(l) {
524
+ var u = d[l];
525
+ if (typeof u == "function") {
526
+ for (var f = arguments.length, h = new Array(f > 1 ? f - 1 : 0), T = 1; T < f; T++)
527
+ h[T - 1] = arguments[T];
528
+ u = u.apply(void 0, h);
528
529
  }
529
- if (d === !0 && (d = void 0), !d) {
530
- if (d === void 0 || d === !1)
531
- return d;
530
+ if (u === !0 && (u = void 0), !u) {
531
+ if (u === void 0 || u === !1)
532
+ return u;
532
533
  throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
533
534
  }
534
- var A = d;
535
- if (typeof d == "string" && (A = r.querySelector(d), !A))
535
+ var E = u;
536
+ if (typeof u == "string" && (E = r.querySelector(u), !E))
536
537
  throw new Error("`".concat(l, "` as selector refers to no known node"));
537
- return A;
538
- }, F = function() {
539
- var l = E("initialFocus");
538
+ return E;
539
+ }, x = function() {
540
+ var l = A("initialFocus");
540
541
  if (l === !1)
541
542
  return !1;
542
- if (l === void 0)
543
- if (_(r.activeElement) >= 0)
543
+ if (l === void 0 || !Qe(l, d.tabbableOptions))
544
+ if (y(r.activeElement) >= 0)
544
545
  l = r.activeElement;
545
546
  else {
546
- var d = o.tabbableGroups[0], b = d && d.firstTabbableNode;
547
- l = b || E("fallbackFocus");
547
+ var u = o.tabbableGroups[0], f = u && u.firstTabbableNode;
548
+ l = f || A("fallbackFocus");
548
549
  }
549
550
  if (!l)
550
551
  throw new Error("Your focus-trap needs to have at least one focusable element");
551
552
  return l;
552
- }, D = function() {
553
+ }, $ = function() {
553
554
  if (o.containerGroups = o.containers.map(function(l) {
554
- var d = ir(l, u.tabbableOptions), b = or(l, u.tabbableOptions);
555
+ var u = ir(l, d.tabbableOptions), f = or(l, d.tabbableOptions);
555
556
  return {
556
557
  container: l,
557
- tabbableNodes: d,
558
- focusableNodes: b,
559
- firstTabbableNode: d.length > 0 ? d[0] : null,
560
- lastTabbableNode: d.length > 0 ? d[d.length - 1] : null,
558
+ tabbableNodes: u,
559
+ focusableNodes: f,
560
+ firstTabbableNode: u.length > 0 ? u[0] : null,
561
+ lastTabbableNode: u.length > 0 ? u[u.length - 1] : null,
561
562
  /**
562
563
  * Finds the __tabbable__ node that follows the given node in the specified direction,
563
564
  * in this container, if any.
@@ -566,118 +567,133 @@ var Lt = {
566
567
  * in reverse.
567
568
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
568
569
  */
569
- nextTabbableNode: function(h) {
570
- var A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, p = b.findIndex(function(M) {
571
- return M === h;
570
+ nextTabbableNode: function(T) {
571
+ var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, D = f.findIndex(function(M) {
572
+ return M === T;
572
573
  });
573
- if (!(p < 0))
574
- return A ? b.slice(p + 1).find(function(M) {
575
- return Oe(M, u.tabbableOptions);
576
- }) : b.slice(0, p).reverse().find(function(M) {
577
- return Oe(M, u.tabbableOptions);
574
+ if (!(D < 0))
575
+ return E ? f.slice(D + 1).find(function(M) {
576
+ return xe(M, d.tabbableOptions);
577
+ }) : f.slice(0, D).reverse().find(function(M) {
578
+ return xe(M, d.tabbableOptions);
578
579
  });
579
580
  }
580
581
  };
581
582
  }), o.tabbableGroups = o.containerGroups.filter(function(l) {
582
583
  return l.tabbableNodes.length > 0;
583
- }), o.tabbableGroups.length <= 0 && !E("fallbackFocus"))
584
+ }), o.tabbableGroups.length <= 0 && !A("fallbackFocus"))
584
585
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
585
- }, C = function S(l) {
586
+ }, S = function k(l) {
586
587
  if (l !== !1 && l !== r.activeElement) {
587
588
  if (!l || !l.focus) {
588
- S(F());
589
+ k(x());
589
590
  return;
590
591
  }
591
592
  l.focus({
592
- preventScroll: !!u.preventScroll
593
+ preventScroll: !!d.preventScroll
593
594
  }), o.mostRecentlyFocusedNode = l, dr(l) && l.select();
594
595
  }
595
- }, x = function(l) {
596
- var d = E("setReturnFocus", l);
597
- return d || (d === !1 ? !1 : l);
596
+ }, C = function(l) {
597
+ var u = A("setReturnFocus", l);
598
+ return u || (u === !1 ? !1 : l);
598
599
  }, Z = function(l) {
599
- var d = xe(l);
600
- if (!(_(d) >= 0)) {
601
- if (pe(u.clickOutsideDeactivates, l)) {
602
- f.deactivate({
600
+ var u = Ae(l);
601
+ if (!(y(u, l) >= 0)) {
602
+ if (me(d.clickOutsideDeactivates, l)) {
603
+ v.deactivate({
603
604
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
604
605
  // which will result in the outside click setting focus to the node
605
606
  // that was clicked (and if not focusable, to "nothing"); by setting
606
607
  // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
607
608
  // on activation (or the configured `setReturnFocus` node), whether the
608
609
  // outside click was on a focusable node or not
609
- returnFocus: u.returnFocusOnDeactivate
610
+ returnFocus: d.returnFocusOnDeactivate
610
611
  });
611
612
  return;
612
613
  }
613
- pe(u.allowOutsideClick, l) || l.preventDefault();
614
+ me(d.allowOutsideClick, l) || l.preventDefault();
614
615
  }
615
- }, z = function(l) {
616
- var d = xe(l), b = _(d) >= 0;
617
- b || d instanceof Document ? b && (o.mostRecentlyFocusedNode = d) : (l.stopImmediatePropagation(), C(o.mostRecentlyFocusedNode || F()));
616
+ }, V = function(l) {
617
+ var u = Ae(l), f = y(u, l) >= 0;
618
+ f || u instanceof Document ? f && (o.mostRecentlyFocusedNode = u) : (l.stopImmediatePropagation(), S(o.mostRecentlyFocusedNode || x()));
618
619
  }, P = function(l) {
619
- var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, b = xe(l);
620
- D();
621
- var k = null;
620
+ var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, f = Ae(l);
621
+ $();
622
+ var h = null;
622
623
  if (o.tabbableGroups.length > 0) {
623
- var h = _(b), A = h >= 0 ? o.containerGroups[h] : void 0;
624
- if (h < 0)
625
- d ? k = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : k = o.tabbableGroups[0].firstTabbableNode;
626
- else if (d) {
627
- var p = Mt(o.tabbableGroups, function(ve) {
628
- var I = ve.firstTabbableNode;
629
- return b === I;
624
+ var T = y(f, l), E = T >= 0 ? o.containerGroups[T] : void 0;
625
+ if (T < 0)
626
+ u ? h = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : h = o.tabbableGroups[0].firstTabbableNode;
627
+ else if (u) {
628
+ var D = Pt(o.tabbableGroups, function(be) {
629
+ var G = be.firstTabbableNode;
630
+ return f === G;
630
631
  });
631
- if (p < 0 && (A.container === b || $t(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !A.nextTabbableNode(b, !1)) && (p = h), p >= 0) {
632
- var M = p === 0 ? o.tabbableGroups.length - 1 : p - 1, re = o.tabbableGroups[M];
633
- k = re.lastTabbableNode;
632
+ if (D < 0 && (E.container === f || Qe(f, d.tabbableOptions) && !xe(f, d.tabbableOptions) && !E.nextTabbableNode(f, !1)) && (D = T), D >= 0) {
633
+ var M = D === 0 ? o.tabbableGroups.length - 1 : D - 1, Pe = o.tabbableGroups[M];
634
+ h = Pe.lastTabbableNode;
634
635
  } else
635
- _e(l) || (k = A.nextTabbableNode(b, !1));
636
+ we(l) || (h = E.nextTabbableNode(f, !1));
636
637
  } else {
637
- var Y = Mt(o.tabbableGroups, function(ve) {
638
- var I = ve.lastTabbableNode;
639
- return b === I;
638
+ var ie = Pt(o.tabbableGroups, function(be) {
639
+ var G = be.lastTabbableNode;
640
+ return f === G;
640
641
  });
641
- if (Y < 0 && (A.container === b || $t(b, u.tabbableOptions) && !Oe(b, u.tabbableOptions) && !A.nextTabbableNode(b)) && (Y = h), Y >= 0) {
642
- var X = Y === o.tabbableGroups.length - 1 ? 0 : Y + 1, Ze = o.tabbableGroups[X];
643
- k = Ze.firstTabbableNode;
642
+ if (ie < 0 && (E.container === f || Qe(f, d.tabbableOptions) && !xe(f, d.tabbableOptions) && !E.nextTabbableNode(f)) && (ie = T), ie >= 0) {
643
+ var O = ie === o.tabbableGroups.length - 1 ? 0 : ie + 1, je = o.tabbableGroups[O];
644
+ h = je.firstTabbableNode;
644
645
  } else
645
- _e(l) || (k = A.nextTabbableNode(b));
646
+ we(l) || (h = E.nextTabbableNode(f));
646
647
  }
647
648
  } else
648
- k = E("fallbackFocus");
649
- k && (_e(l) && l.preventDefault(), C(k));
650
- }, U = function(l) {
651
- if (fr(l) && pe(u.escapeDeactivates, l) !== !1) {
652
- l.preventDefault(), f.deactivate();
649
+ h = A("fallbackFocus");
650
+ h && (we(l) && l.preventDefault(), S(h));
651
+ }, X = function(l) {
652
+ if (fr(l) && me(d.escapeDeactivates, l) !== !1) {
653
+ l.preventDefault(), v.deactivate();
653
654
  return;
654
655
  }
655
- (u.isKeyForward(l) || u.isKeyBackward(l)) && P(l, u.isKeyBackward(l));
656
- }, V = function(l) {
657
- var d = xe(l);
658
- _(d) >= 0 || pe(u.clickOutsideDeactivates, l) || pe(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
659
- }, T = function() {
656
+ (d.isKeyForward(l) || d.isKeyBackward(l)) && P(l, d.isKeyBackward(l));
657
+ }, W = function(l) {
658
+ var u = Ae(l);
659
+ y(u, l) >= 0 || me(d.clickOutsideDeactivates, l) || me(d.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
660
+ }, w = function() {
660
661
  if (o.active)
661
- return Lt.activateTrap(c, f), o.delayInitialFocusTimer = u.delayInitialFocus ? Rt(function() {
662
- C(F());
663
- }) : C(F()), r.addEventListener("focusin", z, !0), r.addEventListener("mousedown", Z, {
662
+ return Mt.activateTrap(c, v), o.delayInitialFocusTimer = d.delayInitialFocus ? Zt(function() {
663
+ S(x());
664
+ }) : S(x()), r.addEventListener("focusin", V, !0), r.addEventListener("mousedown", Z, {
664
665
  capture: !0,
665
666
  passive: !1
666
667
  }), r.addEventListener("touchstart", Z, {
667
668
  capture: !0,
668
669
  passive: !1
669
- }), r.addEventListener("click", V, {
670
+ }), r.addEventListener("click", W, {
670
671
  capture: !0,
671
672
  passive: !1
672
- }), r.addEventListener("keydown", U, {
673
+ }), r.addEventListener("keydown", X, {
673
674
  capture: !0,
674
675
  passive: !1
675
- }), f;
676
- }, L = function() {
676
+ }), v;
677
+ }, B = function() {
677
678
  if (o.active)
678
- return r.removeEventListener("focusin", z, !0), r.removeEventListener("mousedown", Z, !0), r.removeEventListener("touchstart", Z, !0), r.removeEventListener("click", V, !0), r.removeEventListener("keydown", U, !0), f;
679
+ return r.removeEventListener("focusin", V, !0), r.removeEventListener("mousedown", Z, !0), r.removeEventListener("touchstart", Z, !0), r.removeEventListener("click", W, !0), r.removeEventListener("keydown", X, !0), v;
680
+ }, q = function(l) {
681
+ var u = l.some(function(f) {
682
+ var h = Array.from(f.removedNodes);
683
+ return h.some(function(T) {
684
+ return T === o.mostRecentlyFocusedNode;
685
+ });
686
+ });
687
+ u && S(x());
688
+ }, J = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(q) : void 0, H = function() {
689
+ J && (J.disconnect(), o.active && !o.paused && o.containers.map(function(l) {
690
+ J.observe(l, {
691
+ subtree: !0,
692
+ childList: !0
693
+ });
694
+ }));
679
695
  };
680
- return f = {
696
+ return v = {
681
697
  get active() {
682
698
  return o.active;
683
699
  },
@@ -687,50 +703,50 @@ var Lt = {
687
703
  activate: function(l) {
688
704
  if (o.active)
689
705
  return this;
690
- var d = g(l, "onActivate"), b = g(l, "onPostActivate"), k = g(l, "checkCanFocusTrap");
691
- k || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, d == null || d();
692
- var h = function() {
693
- k && D(), T(), b == null || b();
706
+ var u = m(l, "onActivate"), f = m(l, "onPostActivate"), h = m(l, "checkCanFocusTrap");
707
+ h || $(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, u == null || u();
708
+ var T = function() {
709
+ h && $(), w(), H(), f == null || f();
694
710
  };
695
- return k ? (k(o.containers.concat()).then(h, h), this) : (h(), this);
711
+ return h ? (h(o.containers.concat()).then(T, T), this) : (T(), this);
696
712
  },
697
713
  deactivate: function(l) {
698
714
  if (!o.active)
699
715
  return this;
700
- var d = Bt({
701
- onDeactivate: u.onDeactivate,
702
- onPostDeactivate: u.onPostDeactivate,
703
- checkCanReturnFocus: u.checkCanReturnFocus
716
+ var u = Lt({
717
+ onDeactivate: d.onDeactivate,
718
+ onPostDeactivate: d.onPostDeactivate,
719
+ checkCanReturnFocus: d.checkCanReturnFocus
704
720
  }, l);
705
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, L(), o.active = !1, o.paused = !1, Lt.deactivateTrap(c, f);
706
- var b = g(d, "onDeactivate"), k = g(d, "onPostDeactivate"), h = g(d, "checkCanReturnFocus"), A = g(d, "returnFocus", "returnFocusOnDeactivate");
707
- b == null || b();
708
- var p = function() {
709
- Rt(function() {
710
- A && C(x(o.nodeFocusedBeforeActivation)), k == null || k();
721
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, B(), o.active = !1, o.paused = !1, H(), Mt.deactivateTrap(c, v);
722
+ var f = m(u, "onDeactivate"), h = m(u, "onPostDeactivate"), T = m(u, "checkCanReturnFocus"), E = m(u, "returnFocus", "returnFocusOnDeactivate");
723
+ f == null || f();
724
+ var D = function() {
725
+ Zt(function() {
726
+ E && S(C(o.nodeFocusedBeforeActivation)), h == null || h();
711
727
  });
712
728
  };
713
- return A && h ? (h(x(o.nodeFocusedBeforeActivation)).then(p, p), this) : (p(), this);
729
+ return E && T ? (T(C(o.nodeFocusedBeforeActivation)).then(D, D), this) : (D(), this);
714
730
  },
715
731
  pause: function(l) {
716
732
  if (o.paused || !o.active)
717
733
  return this;
718
- var d = g(l, "onPause"), b = g(l, "onPostPause");
719
- return o.paused = !0, d == null || d(), L(), b == null || b(), this;
734
+ var u = m(l, "onPause"), f = m(l, "onPostPause");
735
+ return o.paused = !0, u == null || u(), B(), H(), f == null || f(), this;
720
736
  },
721
737
  unpause: function(l) {
722
738
  if (!o.paused || !o.active)
723
739
  return this;
724
- var d = g(l, "onUnpause"), b = g(l, "onPostUnpause");
725
- return o.paused = !1, d == null || d(), D(), T(), b == null || b(), this;
740
+ var u = m(l, "onUnpause"), f = m(l, "onPostUnpause");
741
+ return o.paused = !1, u == null || u(), $(), w(), H(), f == null || f(), this;
726
742
  },
727
743
  updateContainerElements: function(l) {
728
- var d = [].concat(l).filter(Boolean);
729
- return o.containers = d.map(function(b) {
730
- return typeof b == "string" ? r.querySelector(b) : b;
731
- }), o.active && D(), this;
744
+ var u = [].concat(l).filter(Boolean);
745
+ return o.containers = u.map(function(f) {
746
+ return typeof f == "string" ? r.querySelector(f) : f;
747
+ }), o.active && $(), H(), this;
732
748
  }
733
- }, f.updateContainerElements(t), f;
749
+ }, v.updateContainerElements(t), v;
734
750
  };
735
751
  /*!
736
752
  * focus-trap-vue v4.0.1
@@ -763,7 +779,7 @@ const mr = {
763
779
  preventScroll: Boolean,
764
780
  setReturnFocus: [Object, String, Boolean, Function],
765
781
  tabbableOptions: Object
766
- }, gr = te({
782
+ }, gr = ae({
767
783
  props: Object.assign({
768
784
  active: {
769
785
  // TODO: could be options for activate but what about the options for deactivating?
@@ -783,12 +799,12 @@ const mr = {
783
799
  },
784
800
  setup(n, { slots: t, emit: a }) {
785
801
  let r;
786
- const c = W(null), u = w(() => {
787
- const f = c.value;
788
- return f && (f instanceof HTMLElement ? f : f.$el);
802
+ const c = U(null), d = _(() => {
803
+ const v = c.value;
804
+ return v && (v instanceof HTMLElement ? v : v.$el);
789
805
  });
790
806
  function o() {
791
- return r || (r = pr(u.value, {
807
+ return r || (r = pr(d.value, {
792
808
  escapeDeactivates: n.escapeDeactivates,
793
809
  allowOutsideClick: n.allowOutsideClick,
794
810
  returnFocusOnDeactivate: n.returnFocusOnDeactivate,
@@ -807,9 +823,9 @@ const mr = {
807
823
  delayInitialFocus: n.delayInitialFocus
808
824
  }));
809
825
  }
810
- return Me(() => {
811
- Ne(() => n.active, (f) => {
812
- f && u.value ? o().activate() : r && (r.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (r = null));
826
+ return Ze(() => {
827
+ $e(() => n.active, (v) => {
828
+ v && d.value ? o().activate() : r && (r.deactivate(), (!d.value || d.value.nodeType === Node.COMMENT_NODE) && (r = null));
813
829
  }, { immediate: !0, flush: "post" });
814
830
  }), mn(() => {
815
831
  r && r.deactivate(), r = null;
@@ -823,13 +839,13 @@ const mr = {
823
839
  renderImpl() {
824
840
  if (!t.default)
825
841
  return null;
826
- const f = t.default().filter((_) => _.type !== gn);
827
- return !f || !f.length || f.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), f) : yn(f[0], { ref: c });
842
+ const v = t.default().filter((y) => y.type !== gn);
843
+ return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : yn(v[0], { ref: c });
828
844
  }
829
845
  };
830
846
  }
831
847
  });
832
- function Wt() {
848
+ function Ut() {
833
849
  return {
834
850
  debounce: (t, a) => {
835
851
  let r;
@@ -841,16 +857,16 @@ function Wt() {
841
857
  }
842
858
  };
843
859
  }
844
- var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
860
+ var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
845
861
  function yr(n) {
846
862
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
847
863
  }
848
- var Re = { exports: {} };
849
- Re.exports;
864
+ var Me = { exports: {} };
865
+ Me.exports;
850
866
  (function(n, t) {
851
- var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, u = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", g = "[object Date]", _ = "[object Error]", E = "[object Function]", F = "[object GeneratorFunction]", D = "[object Map]", C = "[object Number]", x = "[object Object]", Z = "[object Promise]", z = "[object RegExp]", P = "[object Set]", U = "[object String]", V = "[object Symbol]", T = "[object WeakMap]", L = "[object ArrayBuffer]", S = "[object DataView]", l = "[object Float32Array]", d = "[object Float64Array]", b = "[object Int8Array]", k = "[object Int16Array]", h = "[object Int32Array]", A = "[object Uint8Array]", p = "[object Uint8ClampedArray]", M = "[object Uint16Array]", re = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, Ze = /^\[object .+?Constructor\]$/, ve = /^(?:0|[1-9]\d*)$/, I = {};
852
- I[u] = I[o] = I[L] = I[S] = I[f] = I[g] = I[l] = I[d] = I[b] = I[k] = I[h] = I[D] = I[C] = I[x] = I[z] = I[P] = I[U] = I[V] = I[A] = I[p] = I[M] = I[re] = !0, I[_] = I[E] = I[T] = !1;
853
- var Ut = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, qt = typeof self == "object" && self && self.Object === Object && self, J = Ut || qt || Function("return this")(), it = t && !t.nodeType && t, ot = it && !0 && n && !n.nodeType && n, Yt = ot && ot.exports === it;
867
+ var a = 200, r = "__lodash_hash_undefined__", c = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", m = "[object Date]", y = "[object Error]", A = "[object Function]", x = "[object GeneratorFunction]", $ = "[object Map]", S = "[object Number]", C = "[object Object]", Z = "[object Promise]", V = "[object RegExp]", P = "[object Set]", X = "[object String]", W = "[object Symbol]", w = "[object WeakMap]", B = "[object ArrayBuffer]", q = "[object DataView]", J = "[object Float32Array]", H = "[object Float64Array]", k = "[object Int8Array]", l = "[object Int16Array]", u = "[object Int32Array]", f = "[object Uint8Array]", h = "[object Uint8ClampedArray]", T = "[object Uint16Array]", E = "[object Uint32Array]", D = /[\\^$.*+?()[\]{}|]/g, M = /\w*$/, Pe = /^\[object .+?Constructor\]$/, ie = /^(?:0|[1-9]\d*)$/, O = {};
868
+ O[d] = O[o] = O[B] = O[q] = O[v] = O[m] = O[J] = O[H] = O[k] = O[l] = O[u] = O[$] = O[S] = O[C] = O[V] = O[P] = O[X] = O[W] = O[f] = O[h] = O[T] = O[E] = !0, O[y] = O[A] = O[w] = !1;
869
+ var je = typeof Ee == "object" && Ee && Ee.Object === Object && Ee, be = typeof self == "object" && self && self.Object === Object && self, G = je || be || Function("return this")(), ct = t && !t.nodeType && t, lt = ct && !0 && n && !n.nodeType && n, Yt = lt && lt.exports === ct;
854
870
  function Xt(e, i) {
855
871
  return e.set(i[0], i[1]), e;
856
872
  }
@@ -858,30 +874,30 @@ Re.exports;
858
874
  return e.add(i), e;
859
875
  }
860
876
  function Qt(e, i) {
861
- for (var s = -1, v = e ? e.length : 0; ++s < v && i(e[s], s, e) !== !1; )
877
+ for (var s = -1, b = e ? e.length : 0; ++s < b && i(e[s], s, e) !== !1; )
862
878
  ;
863
879
  return e;
864
880
  }
865
881
  function ea(e, i) {
866
- for (var s = -1, v = i.length, B = e.length; ++s < v; )
867
- e[B + s] = i[s];
882
+ for (var s = -1, b = i.length, R = e.length; ++s < b; )
883
+ e[R + s] = i[s];
868
884
  return e;
869
885
  }
870
- function st(e, i, s, v) {
871
- var B = -1, j = e ? e.length : 0;
872
- for (v && j && (s = e[++B]); ++B < j; )
873
- s = i(s, e[B], B, e);
886
+ function ut(e, i, s, b) {
887
+ var R = -1, j = e ? e.length : 0;
888
+ for (b && j && (s = e[++R]); ++R < j; )
889
+ s = i(s, e[R], R, e);
874
890
  return s;
875
891
  }
876
892
  function ta(e, i) {
877
- for (var s = -1, v = Array(e); ++s < e; )
878
- v[s] = i(s);
879
- return v;
893
+ for (var s = -1, b = Array(e); ++s < e; )
894
+ b[s] = i(s);
895
+ return b;
880
896
  }
881
897
  function aa(e, i) {
882
898
  return e == null ? void 0 : e[i];
883
899
  }
884
- function ct(e) {
900
+ function dt(e) {
885
901
  var i = !1;
886
902
  if (e != null && typeof e.toString != "function")
887
903
  try {
@@ -890,120 +906,120 @@ Re.exports;
890
906
  }
891
907
  return i;
892
908
  }
893
- function lt(e) {
909
+ function ft(e) {
894
910
  var i = -1, s = Array(e.size);
895
- return e.forEach(function(v, B) {
896
- s[++i] = [B, v];
911
+ return e.forEach(function(b, R) {
912
+ s[++i] = [R, b];
897
913
  }), s;
898
914
  }
899
- function Pe(e, i) {
915
+ function He(e, i) {
900
916
  return function(s) {
901
917
  return e(i(s));
902
918
  };
903
919
  }
904
- function ut(e) {
920
+ function vt(e) {
905
921
  var i = -1, s = Array(e.size);
906
- return e.forEach(function(v) {
907
- s[++i] = v;
922
+ return e.forEach(function(b) {
923
+ s[++i] = b;
908
924
  }), s;
909
925
  }
910
- var na = Array.prototype, ra = Function.prototype, we = Object.prototype, je = J["__core-js_shared__"], dt = function() {
911
- var e = /[^.]+$/.exec(je && je.keys && je.keys.IE_PROTO || "");
926
+ var na = Array.prototype, ra = Function.prototype, Te = Object.prototype, Ke = G["__core-js_shared__"], bt = function() {
927
+ var e = /[^.]+$/.exec(Ke && Ke.keys && Ke.keys.IE_PROTO || "");
912
928
  return e ? "Symbol(src)_1." + e : "";
913
- }(), ft = ra.toString, ne = we.hasOwnProperty, Te = we.toString, ia = RegExp(
914
- "^" + ft.call(ne).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
915
- ), vt = Yt ? J.Buffer : void 0, bt = J.Symbol, ht = J.Uint8Array, oa = Pe(Object.getPrototypeOf, Object), sa = Object.create, ca = we.propertyIsEnumerable, la = na.splice, pt = Object.getOwnPropertySymbols, ua = vt ? vt.isBuffer : void 0, da = Pe(Object.keys, Object), He = de(J, "DataView"), be = de(J, "Map"), Ke = de(J, "Promise"), ze = de(J, "Set"), Ve = de(J, "WeakMap"), he = de(Object, "create"), fa = se(He), va = se(be), ba = se(Ke), ha = se(ze), pa = se(Ve), mt = bt ? bt.prototype : void 0, gt = mt ? mt.valueOf : void 0;
916
- function ie(e) {
929
+ }(), ht = ra.toString, re = Te.hasOwnProperty, Se = Te.toString, ia = RegExp(
930
+ "^" + ht.call(re).replace(D, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
931
+ ), pt = Yt ? G.Buffer : void 0, mt = G.Symbol, gt = G.Uint8Array, oa = He(Object.getPrototypeOf, Object), sa = Object.create, ca = Te.propertyIsEnumerable, la = na.splice, yt = Object.getOwnPropertySymbols, ua = pt ? pt.isBuffer : void 0, da = He(Object.keys, Object), ze = fe(G, "DataView"), he = fe(G, "Map"), Ve = fe(G, "Promise"), We = fe(G, "Set"), Ge = fe(G, "WeakMap"), pe = fe(Object, "create"), fa = ce(ze), va = ce(he), ba = ce(Ve), ha = ce(We), pa = ce(Ge), _t = mt ? mt.prototype : void 0, wt = _t ? _t.valueOf : void 0;
932
+ function oe(e) {
917
933
  var i = -1, s = e ? e.length : 0;
918
934
  for (this.clear(); ++i < s; ) {
919
- var v = e[i];
920
- this.set(v[0], v[1]);
935
+ var b = e[i];
936
+ this.set(b[0], b[1]);
921
937
  }
922
938
  }
923
939
  function ma() {
924
- this.__data__ = he ? he(null) : {};
940
+ this.__data__ = pe ? pe(null) : {};
925
941
  }
926
942
  function ga(e) {
927
943
  return this.has(e) && delete this.__data__[e];
928
944
  }
929
945
  function ya(e) {
930
946
  var i = this.__data__;
931
- if (he) {
947
+ if (pe) {
932
948
  var s = i[e];
933
949
  return s === r ? void 0 : s;
934
950
  }
935
- return ne.call(i, e) ? i[e] : void 0;
951
+ return re.call(i, e) ? i[e] : void 0;
936
952
  }
937
953
  function _a(e) {
938
954
  var i = this.__data__;
939
- return he ? i[e] !== void 0 : ne.call(i, e);
955
+ return pe ? i[e] !== void 0 : re.call(i, e);
940
956
  }
941
957
  function wa(e, i) {
942
958
  var s = this.__data__;
943
- return s[e] = he && i === void 0 ? r : i, this;
959
+ return s[e] = pe && i === void 0 ? r : i, this;
944
960
  }
945
- ie.prototype.clear = ma, ie.prototype.delete = ga, ie.prototype.get = ya, ie.prototype.has = _a, ie.prototype.set = wa;
946
- function Q(e) {
961
+ oe.prototype.clear = ma, oe.prototype.delete = ga, oe.prototype.get = ya, oe.prototype.has = _a, oe.prototype.set = wa;
962
+ function ee(e) {
947
963
  var i = -1, s = e ? e.length : 0;
948
964
  for (this.clear(); ++i < s; ) {
949
- var v = e[i];
950
- this.set(v[0], v[1]);
965
+ var b = e[i];
966
+ this.set(b[0], b[1]);
951
967
  }
952
968
  }
953
969
  function Ta() {
954
970
  this.__data__ = [];
955
971
  }
956
972
  function Sa(e) {
957
- var i = this.__data__, s = Se(i, e);
973
+ var i = this.__data__, s = ke(i, e);
958
974
  if (s < 0)
959
975
  return !1;
960
- var v = i.length - 1;
961
- return s == v ? i.pop() : la.call(i, s, 1), !0;
976
+ var b = i.length - 1;
977
+ return s == b ? i.pop() : la.call(i, s, 1), !0;
962
978
  }
963
979
  function ka(e) {
964
- var i = this.__data__, s = Se(i, e);
980
+ var i = this.__data__, s = ke(i, e);
965
981
  return s < 0 ? void 0 : i[s][1];
966
982
  }
967
983
  function Ia(e) {
968
- return Se(this.__data__, e) > -1;
984
+ return ke(this.__data__, e) > -1;
969
985
  }
970
986
  function Ca(e, i) {
971
- var s = this.__data__, v = Se(s, e);
972
- return v < 0 ? s.push([e, i]) : s[v][1] = i, this;
987
+ var s = this.__data__, b = ke(s, e);
988
+ return b < 0 ? s.push([e, i]) : s[b][1] = i, this;
973
989
  }
974
- Q.prototype.clear = Ta, Q.prototype.delete = Sa, Q.prototype.get = ka, Q.prototype.has = Ia, Q.prototype.set = Ca;
975
- function le(e) {
990
+ ee.prototype.clear = Ta, ee.prototype.delete = Sa, ee.prototype.get = ka, ee.prototype.has = Ia, ee.prototype.set = Ca;
991
+ function ue(e) {
976
992
  var i = -1, s = e ? e.length : 0;
977
993
  for (this.clear(); ++i < s; ) {
978
- var v = e[i];
979
- this.set(v[0], v[1]);
994
+ var b = e[i];
995
+ this.set(b[0], b[1]);
980
996
  }
981
997
  }
982
998
  function Oa() {
983
999
  this.__data__ = {
984
- hash: new ie(),
985
- map: new (be || Q)(),
986
- string: new ie()
1000
+ hash: new oe(),
1001
+ map: new (he || ee)(),
1002
+ string: new oe()
987
1003
  };
988
1004
  }
989
1005
  function xa(e) {
990
- return ke(this, e).delete(e);
1006
+ return Ie(this, e).delete(e);
991
1007
  }
992
1008
  function Aa(e) {
993
- return ke(this, e).get(e);
1009
+ return Ie(this, e).get(e);
994
1010
  }
995
1011
  function Ea(e) {
996
- return ke(this, e).has(e);
1012
+ return Ie(this, e).has(e);
997
1013
  }
998
- function Fa(e, i) {
999
- return ke(this, e).set(e, i), this;
1014
+ function Na(e, i) {
1015
+ return Ie(this, e).set(e, i), this;
1000
1016
  }
1001
- le.prototype.clear = Oa, le.prototype.delete = xa, le.prototype.get = Aa, le.prototype.has = Ea, le.prototype.set = Fa;
1002
- function ue(e) {
1003
- this.__data__ = new Q(e);
1017
+ ue.prototype.clear = Oa, ue.prototype.delete = xa, ue.prototype.get = Aa, ue.prototype.has = Ea, ue.prototype.set = Na;
1018
+ function de(e) {
1019
+ this.__data__ = new ee(e);
1004
1020
  }
1005
- function Na() {
1006
- this.__data__ = new Q();
1021
+ function Fa() {
1022
+ this.__data__ = new ee();
1007
1023
  }
1008
1024
  function $a(e) {
1009
1025
  return this.__data__.delete(e);
@@ -1011,96 +1027,96 @@ Re.exports;
1011
1027
  function Da(e) {
1012
1028
  return this.__data__.get(e);
1013
1029
  }
1014
- function Ba(e) {
1030
+ function Ra(e) {
1015
1031
  return this.__data__.has(e);
1016
1032
  }
1017
- function La(e, i) {
1033
+ function Ba(e, i) {
1018
1034
  var s = this.__data__;
1019
- if (s instanceof Q) {
1020
- var v = s.__data__;
1021
- if (!be || v.length < a - 1)
1022
- return v.push([e, i]), this;
1023
- s = this.__data__ = new le(v);
1035
+ if (s instanceof ee) {
1036
+ var b = s.__data__;
1037
+ if (!he || b.length < a - 1)
1038
+ return b.push([e, i]), this;
1039
+ s = this.__data__ = new ue(b);
1024
1040
  }
1025
1041
  return s.set(e, i), this;
1026
1042
  }
1027
- ue.prototype.clear = Na, ue.prototype.delete = $a, ue.prototype.get = Da, ue.prototype.has = Ba, ue.prototype.set = La;
1028
- function Ra(e, i) {
1029
- var s = Ue(e) || cn(e) ? ta(e.length, String) : [], v = s.length, B = !!v;
1043
+ de.prototype.clear = Fa, de.prototype.delete = $a, de.prototype.get = Da, de.prototype.has = Ra, de.prototype.set = Ba;
1044
+ function La(e, i) {
1045
+ var s = Ye(e) || cn(e) ? ta(e.length, String) : [], b = s.length, R = !!b;
1030
1046
  for (var j in e)
1031
- (i || ne.call(e, j)) && !(B && (j == "length" || nn(j, v))) && s.push(j);
1047
+ (i || re.call(e, j)) && !(R && (j == "length" || nn(j, b))) && s.push(j);
1032
1048
  return s;
1033
1049
  }
1034
- function yt(e, i, s) {
1035
- var v = e[i];
1036
- (!(ne.call(e, i) && St(v, s)) || s === void 0 && !(i in e)) && (e[i] = s);
1050
+ function Tt(e, i, s) {
1051
+ var b = e[i];
1052
+ (!(re.call(e, i) && Ct(b, s)) || s === void 0 && !(i in e)) && (e[i] = s);
1037
1053
  }
1038
- function Se(e, i) {
1054
+ function ke(e, i) {
1039
1055
  for (var s = e.length; s--; )
1040
- if (St(e[s][0], i))
1056
+ if (Ct(e[s][0], i))
1041
1057
  return s;
1042
1058
  return -1;
1043
1059
  }
1044
1060
  function Ma(e, i) {
1045
- return e && _t(i, qe(i), e);
1061
+ return e && St(i, Xe(i), e);
1046
1062
  }
1047
- function We(e, i, s, v, B, j, G) {
1048
- var H;
1049
- if (v && (H = j ? v(e, B, j, G) : v(e)), H !== void 0)
1050
- return H;
1051
- if (!Ie(e))
1063
+ function Ue(e, i, s, b, R, j, Y) {
1064
+ var K;
1065
+ if (b && (K = j ? b(e, R, j, Y) : b(e)), K !== void 0)
1066
+ return K;
1067
+ if (!Ce(e))
1052
1068
  return e;
1053
- var Ct = Ue(e);
1054
- if (Ct) {
1055
- if (H = en(e), !i)
1056
- return Xa(e, H);
1069
+ var At = Ye(e);
1070
+ if (At) {
1071
+ if (K = en(e), !i)
1072
+ return Xa(e, K);
1057
1073
  } else {
1058
- var fe = oe(e), Ot = fe == E || fe == F;
1074
+ var ve = se(e), Et = ve == A || ve == x;
1059
1075
  if (un(e))
1060
1076
  return za(e, i);
1061
- if (fe == x || fe == u || Ot && !j) {
1062
- if (ct(e))
1077
+ if (ve == C || ve == d || Et && !j) {
1078
+ if (dt(e))
1063
1079
  return j ? e : {};
1064
- if (H = tn(Ot ? {} : e), !i)
1065
- return Ja(e, Ma(H, e));
1080
+ if (K = tn(Et ? {} : e), !i)
1081
+ return Ja(e, Ma(K, e));
1066
1082
  } else {
1067
- if (!I[fe])
1083
+ if (!O[ve])
1068
1084
  return j ? e : {};
1069
- H = an(e, fe, We, i);
1085
+ K = an(e, ve, Ue, i);
1070
1086
  }
1071
1087
  }
1072
- G || (G = new ue());
1073
- var xt = G.get(e);
1074
- if (xt)
1075
- return xt;
1076
- if (G.set(e, H), !Ct)
1077
- var At = s ? Qa(e) : qe(e);
1078
- return Qt(At || e, function(Ye, Ce) {
1079
- At && (Ce = Ye, Ye = e[Ce]), yt(H, Ce, We(Ye, i, s, v, Ce, e, G));
1080
- }), H;
1088
+ Y || (Y = new de());
1089
+ var Nt = Y.get(e);
1090
+ if (Nt)
1091
+ return Nt;
1092
+ if (Y.set(e, K), !At)
1093
+ var Ft = s ? Qa(e) : Xe(e);
1094
+ return Qt(Ft || e, function(Je, Oe) {
1095
+ Ft && (Oe = Je, Je = e[Oe]), Tt(K, Oe, Ue(Je, i, s, b, Oe, e, Y));
1096
+ }), K;
1081
1097
  }
1082
1098
  function Za(e) {
1083
- return Ie(e) ? sa(e) : {};
1099
+ return Ce(e) ? sa(e) : {};
1084
1100
  }
1085
1101
  function Pa(e, i, s) {
1086
- var v = i(e);
1087
- return Ue(e) ? v : ea(v, s(e));
1102
+ var b = i(e);
1103
+ return Ye(e) ? b : ea(b, s(e));
1088
1104
  }
1089
1105
  function ja(e) {
1090
- return Te.call(e);
1106
+ return Se.call(e);
1091
1107
  }
1092
1108
  function Ha(e) {
1093
- if (!Ie(e) || on(e))
1109
+ if (!Ce(e) || on(e))
1094
1110
  return !1;
1095
- var i = It(e) || ct(e) ? ia : Ze;
1096
- return i.test(se(e));
1111
+ var i = xt(e) || dt(e) ? ia : Pe;
1112
+ return i.test(ce(e));
1097
1113
  }
1098
1114
  function Ka(e) {
1099
- if (!Tt(e))
1115
+ if (!It(e))
1100
1116
  return da(e);
1101
1117
  var i = [];
1102
1118
  for (var s in Object(e))
1103
- ne.call(e, s) && s != "constructor" && i.push(s);
1119
+ re.call(e, s) && s != "constructor" && i.push(s);
1104
1120
  return i;
1105
1121
  }
1106
1122
  function za(e, i) {
@@ -1109,137 +1125,137 @@ Re.exports;
1109
1125
  var s = new e.constructor(e.length);
1110
1126
  return e.copy(s), s;
1111
1127
  }
1112
- function Ge(e) {
1128
+ function qe(e) {
1113
1129
  var i = new e.constructor(e.byteLength);
1114
- return new ht(i).set(new ht(e)), i;
1130
+ return new gt(i).set(new gt(e)), i;
1115
1131
  }
1116
1132
  function Va(e, i) {
1117
- var s = i ? Ge(e.buffer) : e.buffer;
1133
+ var s = i ? qe(e.buffer) : e.buffer;
1118
1134
  return new e.constructor(s, e.byteOffset, e.byteLength);
1119
1135
  }
1120
1136
  function Wa(e, i, s) {
1121
- var v = i ? s(lt(e), !0) : lt(e);
1122
- return st(v, Xt, new e.constructor());
1137
+ var b = i ? s(ft(e), !0) : ft(e);
1138
+ return ut(b, Xt, new e.constructor());
1123
1139
  }
1124
1140
  function Ga(e) {
1125
- var i = new e.constructor(e.source, X.exec(e));
1141
+ var i = new e.constructor(e.source, M.exec(e));
1126
1142
  return i.lastIndex = e.lastIndex, i;
1127
1143
  }
1128
1144
  function Ua(e, i, s) {
1129
- var v = i ? s(ut(e), !0) : ut(e);
1130
- return st(v, Jt, new e.constructor());
1145
+ var b = i ? s(vt(e), !0) : vt(e);
1146
+ return ut(b, Jt, new e.constructor());
1131
1147
  }
1132
1148
  function qa(e) {
1133
- return gt ? Object(gt.call(e)) : {};
1149
+ return wt ? Object(wt.call(e)) : {};
1134
1150
  }
1135
1151
  function Ya(e, i) {
1136
- var s = i ? Ge(e.buffer) : e.buffer;
1152
+ var s = i ? qe(e.buffer) : e.buffer;
1137
1153
  return new e.constructor(s, e.byteOffset, e.length);
1138
1154
  }
1139
1155
  function Xa(e, i) {
1140
- var s = -1, v = e.length;
1141
- for (i || (i = Array(v)); ++s < v; )
1156
+ var s = -1, b = e.length;
1157
+ for (i || (i = Array(b)); ++s < b; )
1142
1158
  i[s] = e[s];
1143
1159
  return i;
1144
1160
  }
1145
- function _t(e, i, s, v) {
1161
+ function St(e, i, s, b) {
1146
1162
  s || (s = {});
1147
- for (var B = -1, j = i.length; ++B < j; ) {
1148
- var G = i[B], H = v ? v(s[G], e[G], G, s, e) : void 0;
1149
- yt(s, G, H === void 0 ? e[G] : H);
1163
+ for (var R = -1, j = i.length; ++R < j; ) {
1164
+ var Y = i[R], K = b ? b(s[Y], e[Y], Y, s, e) : void 0;
1165
+ Tt(s, Y, K === void 0 ? e[Y] : K);
1150
1166
  }
1151
1167
  return s;
1152
1168
  }
1153
1169
  function Ja(e, i) {
1154
- return _t(e, wt(e), i);
1170
+ return St(e, kt(e), i);
1155
1171
  }
1156
1172
  function Qa(e) {
1157
- return Pa(e, qe, wt);
1173
+ return Pa(e, Xe, kt);
1158
1174
  }
1159
- function ke(e, i) {
1175
+ function Ie(e, i) {
1160
1176
  var s = e.__data__;
1161
1177
  return rn(i) ? s[typeof i == "string" ? "string" : "hash"] : s.map;
1162
1178
  }
1163
- function de(e, i) {
1179
+ function fe(e, i) {
1164
1180
  var s = aa(e, i);
1165
1181
  return Ha(s) ? s : void 0;
1166
1182
  }
1167
- var wt = pt ? Pe(pt, Object) : vn, oe = ja;
1168
- (He && oe(new He(new ArrayBuffer(1))) != S || be && oe(new be()) != D || Ke && oe(Ke.resolve()) != Z || ze && oe(new ze()) != P || Ve && oe(new Ve()) != T) && (oe = function(e) {
1169
- var i = Te.call(e), s = i == x ? e.constructor : void 0, v = s ? se(s) : void 0;
1170
- if (v)
1171
- switch (v) {
1183
+ var kt = yt ? He(yt, Object) : vn, se = ja;
1184
+ (ze && se(new ze(new ArrayBuffer(1))) != q || he && se(new he()) != $ || Ve && se(Ve.resolve()) != Z || We && se(new We()) != P || Ge && se(new Ge()) != w) && (se = function(e) {
1185
+ var i = Se.call(e), s = i == C ? e.constructor : void 0, b = s ? ce(s) : void 0;
1186
+ if (b)
1187
+ switch (b) {
1172
1188
  case fa:
1173
- return S;
1189
+ return q;
1174
1190
  case va:
1175
- return D;
1191
+ return $;
1176
1192
  case ba:
1177
1193
  return Z;
1178
1194
  case ha:
1179
1195
  return P;
1180
1196
  case pa:
1181
- return T;
1197
+ return w;
1182
1198
  }
1183
1199
  return i;
1184
1200
  });
1185
1201
  function en(e) {
1186
1202
  var i = e.length, s = e.constructor(i);
1187
- return i && typeof e[0] == "string" && ne.call(e, "index") && (s.index = e.index, s.input = e.input), s;
1203
+ return i && typeof e[0] == "string" && re.call(e, "index") && (s.index = e.index, s.input = e.input), s;
1188
1204
  }
1189
1205
  function tn(e) {
1190
- return typeof e.constructor == "function" && !Tt(e) ? Za(oa(e)) : {};
1206
+ return typeof e.constructor == "function" && !It(e) ? Za(oa(e)) : {};
1191
1207
  }
1192
- function an(e, i, s, v) {
1193
- var B = e.constructor;
1208
+ function an(e, i, s, b) {
1209
+ var R = e.constructor;
1194
1210
  switch (i) {
1195
- case L:
1196
- return Ge(e);
1197
- case f:
1198
- case g:
1199
- return new B(+e);
1200
- case S:
1201
- return Va(e, v);
1202
- case l:
1203
- case d:
1204
- case b:
1211
+ case B:
1212
+ return qe(e);
1213
+ case v:
1214
+ case m:
1215
+ return new R(+e);
1216
+ case q:
1217
+ return Va(e, b);
1218
+ case J:
1219
+ case H:
1205
1220
  case k:
1221
+ case l:
1222
+ case u:
1223
+ case f:
1206
1224
  case h:
1207
- case A:
1208
- case p:
1209
- case M:
1210
- case re:
1211
- return Ya(e, v);
1212
- case D:
1213
- return Wa(e, v, s);
1214
- case C:
1215
- case U:
1216
- return new B(e);
1217
- case z:
1225
+ case T:
1226
+ case E:
1227
+ return Ya(e, b);
1228
+ case $:
1229
+ return Wa(e, b, s);
1230
+ case S:
1231
+ case X:
1232
+ return new R(e);
1233
+ case V:
1218
1234
  return Ga(e);
1219
1235
  case P:
1220
- return Ua(e, v, s);
1221
- case V:
1236
+ return Ua(e, b, s);
1237
+ case W:
1222
1238
  return qa(e);
1223
1239
  }
1224
1240
  }
1225
1241
  function nn(e, i) {
1226
- return i = i ?? c, !!i && (typeof e == "number" || ve.test(e)) && e > -1 && e % 1 == 0 && e < i;
1242
+ return i = i ?? c, !!i && (typeof e == "number" || ie.test(e)) && e > -1 && e % 1 == 0 && e < i;
1227
1243
  }
1228
1244
  function rn(e) {
1229
1245
  var i = typeof e;
1230
1246
  return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
1231
1247
  }
1232
1248
  function on(e) {
1233
- return !!dt && dt in e;
1249
+ return !!bt && bt in e;
1234
1250
  }
1235
- function Tt(e) {
1236
- var i = e && e.constructor, s = typeof i == "function" && i.prototype || we;
1251
+ function It(e) {
1252
+ var i = e && e.constructor, s = typeof i == "function" && i.prototype || Te;
1237
1253
  return e === s;
1238
1254
  }
1239
- function se(e) {
1255
+ function ce(e) {
1240
1256
  if (e != null) {
1241
1257
  try {
1242
- return ft.call(e);
1258
+ return ht.call(e);
1243
1259
  } catch {
1244
1260
  }
1245
1261
  try {
@@ -1250,38 +1266,38 @@ Re.exports;
1250
1266
  return "";
1251
1267
  }
1252
1268
  function sn(e) {
1253
- return We(e, !0, !0);
1269
+ return Ue(e, !0, !0);
1254
1270
  }
1255
- function St(e, i) {
1271
+ function Ct(e, i) {
1256
1272
  return e === i || e !== e && i !== i;
1257
1273
  }
1258
1274
  function cn(e) {
1259
- return ln(e) && ne.call(e, "callee") && (!ca.call(e, "callee") || Te.call(e) == u);
1275
+ return ln(e) && re.call(e, "callee") && (!ca.call(e, "callee") || Se.call(e) == d);
1260
1276
  }
1261
- var Ue = Array.isArray;
1262
- function kt(e) {
1263
- return e != null && dn(e.length) && !It(e);
1277
+ var Ye = Array.isArray;
1278
+ function Ot(e) {
1279
+ return e != null && dn(e.length) && !xt(e);
1264
1280
  }
1265
1281
  function ln(e) {
1266
- return fn(e) && kt(e);
1282
+ return fn(e) && Ot(e);
1267
1283
  }
1268
1284
  var un = ua || bn;
1269
- function It(e) {
1270
- var i = Ie(e) ? Te.call(e) : "";
1271
- return i == E || i == F;
1285
+ function xt(e) {
1286
+ var i = Ce(e) ? Se.call(e) : "";
1287
+ return i == A || i == x;
1272
1288
  }
1273
1289
  function dn(e) {
1274
1290
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= c;
1275
1291
  }
1276
- function Ie(e) {
1292
+ function Ce(e) {
1277
1293
  var i = typeof e;
1278
1294
  return !!e && (i == "object" || i == "function");
1279
1295
  }
1280
1296
  function fn(e) {
1281
1297
  return !!e && typeof e == "object";
1282
1298
  }
1283
- function qe(e) {
1284
- return kt(e) ? Ra(e) : Ka(e);
1299
+ function Xe(e) {
1300
+ return Ot(e) ? La(e) : Ka(e);
1285
1301
  }
1286
1302
  function vn() {
1287
1303
  return [];
@@ -1290,8 +1306,8 @@ Re.exports;
1290
1306
  return !1;
1291
1307
  }
1292
1308
  n.exports = sn;
1293
- })(Re, Re.exports);
1294
- var _r = Re.exports;
1309
+ })(Me, Me.exports);
1310
+ var _r = Me.exports;
1295
1311
  const wr = /* @__PURE__ */ yr(_r), Tr = {
1296
1312
  key: 0,
1297
1313
  class: "sidebar-header"
@@ -1308,7 +1324,7 @@ const wr = /* @__PURE__ */ yr(_r), Tr = {
1308
1324
  }, xr = {
1309
1325
  key: 2,
1310
1326
  class: "level-primary bottom-items"
1311
- }, Ar = { class: "sidebar-footer" }, Er = /* @__PURE__ */ te({
1327
+ }, Ar = { class: "sidebar-footer" }, Er = /* @__PURE__ */ ae({
1312
1328
  __name: "AppSidebar",
1313
1329
  props: {
1314
1330
  topItems: {
@@ -1368,117 +1384,117 @@ const wr = /* @__PURE__ */ yr(_r), Tr = {
1368
1384
  emits: ["click", "toggle"],
1369
1385
  setup(n, { emit: t }) {
1370
1386
  const a = n;
1371
- Qe((h) => ({
1372
- "160797d0": m(o).mobileHeight,
1373
- "721527f8": m(o).mobileTop,
1387
+ at((u) => ({
1388
+ "160797d0": p(o).mobileHeight,
1389
+ "721527f8": p(o).mobileTop,
1374
1390
  "054b3490": n.zIndex,
1375
- "6b0e6816": m(o).height,
1376
- "31cc2e74": m(o).top,
1377
- "16bd691a": m(g).marginTop,
1378
- "08886e32": m(f).display,
1379
- "1d2550ee": m(f).minHeight,
1380
- ed4e7e56: m(_).top,
1381
- "377644f8": m(_).zIndex
1391
+ "6b0e6816": p(o).height,
1392
+ "31cc2e74": p(o).top,
1393
+ "16bd691a": p(m).marginTop,
1394
+ "08886e32": p(v).display,
1395
+ "1d2550ee": p(v).minHeight,
1396
+ ed4e7e56: p(y).top,
1397
+ "377644f8": p(y).zIndex
1382
1398
  }));
1383
- const r = et(), c = w(() => !!r.header), u = w(() => !!r.top), o = w(() => ({
1399
+ const r = nt(), c = _(() => !!r.header), d = _(() => !!r.top), o = _(() => ({
1384
1400
  mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
1385
1401
  top: a.topOffset ? `${a.topOffset}px` : "0",
1386
1402
  mobileHeight: a.mobileTopOffset && a.mobileEnabled ? `calc(100% - ${a.mobileTopOffset}px)` : "100%",
1387
1403
  height: a.topOffset ? `calc(100% - ${a.topOffset}px)` : "100%"
1388
- })), f = w(() => ({
1404
+ })), v = _(() => ({
1389
1405
  display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
1390
1406
  minHeight: `${a.headerHeight}px`
1391
- })), g = w(() => ({
1407
+ })), m = _(() => ({
1392
1408
  marginTop: c.value ? `${a.headerHeight}px` : "0"
1393
- })), _ = w(() => ({
1409
+ })), y = _(() => ({
1394
1410
  top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
1395
1411
  zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
1396
- })), E = (h) => wr(h).map((p) => {
1397
- var M, re, Y;
1398
- if (p) {
1399
- (!p.key || !((M = p.key) != null && M.trim())) && (p.key = String(p.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!p.testId || !((re = p.testId) != null && re.trim())) && (p.testId = String(p.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1400
- for (const X of p.items || [])
1401
- X.parentKey = p.key, (!X.testId || !((Y = X.testId) != null && Y.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1412
+ })), A = (u) => wr(u).map((h) => {
1413
+ var T, E, D;
1414
+ if (h) {
1415
+ (!h.key || !((T = h.key) != null && T.trim())) && (h.key = String(h.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!h.testId || !((E = h.testId) != null && E.trim())) && (h.testId = String(h.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1416
+ for (const M of h.items || [])
1417
+ M.parentKey = h.key, (!M.testId || !((D = M.testId) != null && D.trim())) && (M.testId = String(M.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1402
1418
  }
1403
- return p;
1404
- }), F = w(() => a.topItems.length ? E(a.topItems) : []), D = w(() => a.bottomItems.length ? E(a.bottomItems) : []), C = W(a.open), x = (h) => {
1405
- var A, p;
1406
- C.value !== h && (C.value = h, t("toggle", h)), h ? (A = document == null ? void 0 : document.body) == null || A.classList.add("kong-ui-app-sidebar-open") : (p = document == null ? void 0 : document.body) == null || p.classList.remove("kong-ui-app-sidebar-open"), z.value = !1;
1419
+ return h;
1420
+ }), x = _(() => a.topItems.length ? A(a.topItems) : []), $ = _(() => a.bottomItems.length ? A(a.bottomItems) : []), S = U(a.open), C = (u) => {
1421
+ var f, h;
1422
+ S.value !== u && (S.value = u, t("toggle", u)), u ? (f = document == null ? void 0 : document.body) == null || f.classList.add("kong-ui-app-sidebar-open") : (h = document == null ? void 0 : document.body) == null || h.classList.remove("kong-ui-app-sidebar-open"), V.value = !1;
1407
1423
  }, Z = () => {
1408
- a.mobileOverlayCloseOnClick && x(!1);
1409
- }, z = W(!1), P = (h) => {
1410
- z.value = !0, t("click", h), setTimeout(() => {
1411
- x(!1);
1424
+ a.mobileOverlayCloseOnClick && C(!1);
1425
+ }, V = U(!1), P = (u) => {
1426
+ V.value = !0, t("click", u), setTimeout(() => {
1427
+ C(!1);
1412
1428
  }, a.mobileCloseDelay);
1413
1429
  };
1414
- Ne(() => a.open, (h) => {
1415
- x(h);
1430
+ $e(() => a.open, (u) => {
1431
+ C(u);
1416
1432
  });
1417
- const { debounce: U } = Wt(), V = U(() => {
1418
- C.value && T.value !== (window == null ? void 0 : window.innerWidth) && (T.value = window == null ? void 0 : window.innerWidth, x(!1));
1419
- }, 200), T = W(), L = W(!1), S = W(), l = () => {
1420
- L.value || (L.value = !0, clearTimeout(S.value), S.value = setTimeout(() => L.value = !1, 1300));
1421
- }, d = W(null), b = w(() => C.value && a.mobileEnabled), k = async (h) => {
1422
- var A, p;
1423
- h ? (await _n(), await new Promise((M) => setTimeout(M, 300)), (A = d.value) == null || A.activate()) : (p = d.value) == null || p.deactivate();
1433
+ const { debounce: X } = Ut(), W = X(() => {
1434
+ S.value && w.value !== (window == null ? void 0 : window.innerWidth) && (w.value = window == null ? void 0 : window.innerWidth, C(!1));
1435
+ }, 200), w = U(), B = U(!1), q = U(), J = () => {
1436
+ B.value || (B.value = !0, clearTimeout(q.value), q.value = setTimeout(() => B.value = !1, 1300));
1437
+ }, H = U(null), k = _(() => S.value && a.mobileEnabled), l = async (u) => {
1438
+ var f, h;
1439
+ u ? (await _n(), await new Promise((T) => setTimeout(T, 300)), (f = H.value) == null || f.activate()) : (h = H.value) == null || h.deactivate();
1424
1440
  };
1425
- return Ne(b, async (h) => {
1426
- h ? await k(!0) : await k(!1);
1427
- }, { immediate: !0 }), Me(() => {
1428
- T.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", V), window.addEventListener("resize", l);
1429
- }), Zt(() => {
1430
- window.removeEventListener("resize", V), window.removeEventListener("resize", l);
1431
- }), (h, A) => (y(), N(ye, null, [
1432
- C.value && n.mobileOverlay && n.mobileEnabled ? (y(), N("div", {
1441
+ return $e(k, async (u) => {
1442
+ u ? await l(!0) : await l(!1);
1443
+ }, { immediate: !0 }), Ze(() => {
1444
+ w.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", W), window.addEventListener("resize", J);
1445
+ }), jt(() => {
1446
+ window.removeEventListener("resize", W), window.removeEventListener("resize", J);
1447
+ }), (u, f) => (g(), N(_e, null, [
1448
+ S.value && n.mobileOverlay && n.mobileEnabled ? (g(), N("div", {
1433
1449
  key: 0,
1434
1450
  class: "kong-ui-app-sidebar-overlay",
1435
1451
  onClick: Z
1436
- })) : R("", !0),
1437
- tt(m(gr), {
1452
+ })) : L("", !0),
1453
+ rt(p(gr), {
1438
1454
  ref_key: "focusTrap",
1439
- ref: d,
1455
+ ref: H,
1440
1456
  active: !1,
1441
1457
  "allow-outside-click": "",
1442
1458
  "fallback-focus": ".kong-ui-app-sidebar"
1443
1459
  }, {
1444
- default: K(() => [
1445
- O("aside", {
1446
- class: ee(["kong-ui-app-sidebar", {
1447
- "sidebar-open": C.value,
1448
- "no-sidebar-header": !m(c),
1449
- "mobile-header-hidden": n.mobileEnabled && (!m(c) || !n.mobileHeaderVisible),
1460
+ default: z(() => [
1461
+ I("aside", {
1462
+ class: te(["kong-ui-app-sidebar", {
1463
+ "sidebar-open": S.value,
1464
+ "no-sidebar-header": !p(c),
1465
+ "mobile-header-hidden": n.mobileEnabled && (!p(c) || !n.mobileHeaderVisible),
1450
1466
  "mobile-disabled": !n.mobileEnabled,
1451
- "disable-transitions": L.value
1467
+ "disable-transitions": B.value
1452
1468
  }]),
1453
1469
  tabindex: "-1"
1454
1470
  }, [
1455
- m(c) ? (y(), N("div", Tr, [
1456
- $(h.$slots, "header", {}, void 0, !0)
1457
- ])) : R("", !0),
1458
- O("div", Sr, [
1459
- m(u) ? (y(), N("div", kr, [
1460
- $(h.$slots, "top", {}, void 0, !0)
1461
- ])) : R("", !0),
1462
- O("nav", Ir, [
1463
- m(F).length ? (y(), N("ul", Cr, [
1464
- (y(!0), N(ye, null, Fe(m(F), (p) => (y(), q(Ft, {
1465
- key: p.name,
1466
- item: p,
1471
+ p(c) ? (g(), N("div", Tr, [
1472
+ F(u.$slots, "header", {}, void 0, !0)
1473
+ ])) : L("", !0),
1474
+ I("div", Sr, [
1475
+ p(d) ? (g(), N("div", kr, [
1476
+ F(u.$slots, "top", {}, void 0, !0)
1477
+ ])) : L("", !0),
1478
+ I("nav", Ir, [
1479
+ p(x).length ? (g(), N("ul", Cr, [
1480
+ (g(!0), N(_e, null, Fe(p(x), (h) => (g(), Q(Dt, {
1481
+ key: h.name,
1482
+ item: h,
1467
1483
  onClick: P
1468
1484
  }, null, 8, ["item"]))), 128))
1469
- ])) : R("", !0),
1470
- m(F).length && m(D).length ? (y(), N("div", Or)) : R("", !0),
1471
- m(D).length ? (y(), N("ul", xr, [
1472
- (y(!0), N(ye, null, Fe(m(D), (p) => (y(), q(Ft, {
1473
- key: p.name,
1474
- item: p,
1485
+ ])) : L("", !0),
1486
+ p(x).length && p($).length ? (g(), N("div", Or)) : L("", !0),
1487
+ p($).length ? (g(), N("ul", xr, [
1488
+ (g(!0), N(_e, null, Fe(p($), (h) => (g(), Q(Dt, {
1489
+ key: h.name,
1490
+ item: h,
1475
1491
  onClick: P
1476
1492
  }, null, 8, ["item"]))), 128))
1477
- ])) : R("", !0)
1493
+ ])) : L("", !0)
1478
1494
  ])
1479
1495
  ]),
1480
- O("div", Ar, [
1481
- $(h.$slots, "footer", {}, void 0, !0)
1496
+ I("div", Ar, [
1497
+ F(u.$slots, "footer", {}, void 0, !0)
1482
1498
  ])
1483
1499
  ], 2)
1484
1500
  ]),
@@ -1487,11 +1503,11 @@ const wr = /* @__PURE__ */ yr(_r), Tr = {
1487
1503
  ], 64));
1488
1504
  }
1489
1505
  });
1490
- const Fr = /* @__PURE__ */ ae(Er, [["__scopeId", "data-v-6daf9f02"]]), rt = (n) => (at("data-v-33b3f7c3"), n = n(), nt(), n), Nr = ["aria-label", "onClick"], $r = /* @__PURE__ */ rt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), Dr = /* @__PURE__ */ rt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), Br = /* @__PURE__ */ rt(() => /* @__PURE__ */ O("span", { class: "line" }, null, -1)), Lr = [
1506
+ const Nr = /* @__PURE__ */ ne(Er, [["__scopeId", "data-v-6daf9f02"]]), st = (n) => (it("data-v-33b3f7c3"), n = n(), ot(), n), Fr = ["aria-label", "onClick"], $r = /* @__PURE__ */ st(() => /* @__PURE__ */ I("span", { class: "line" }, null, -1)), Dr = /* @__PURE__ */ st(() => /* @__PURE__ */ I("span", { class: "line" }, null, -1)), Rr = /* @__PURE__ */ st(() => /* @__PURE__ */ I("span", { class: "line" }, null, -1)), Br = [
1491
1507
  $r,
1492
1508
  Dr,
1493
- Br
1494
- ], Rr = /* @__PURE__ */ te({
1509
+ Rr
1510
+ ], Lr = /* @__PURE__ */ ae({
1495
1511
  __name: "SidebarToggle",
1496
1512
  props: {
1497
1513
  active: {
@@ -1501,28 +1517,28 @@ const Fr = /* @__PURE__ */ ae(Er, [["__scopeId", "data-v-6daf9f02"]]), rt = (n)
1501
1517
  },
1502
1518
  emits: ["toggle"],
1503
1519
  setup(n, { emit: t }) {
1504
- const a = n, r = W(a.active || !1), c = () => {
1520
+ const a = n, r = U(a.active || !1), c = () => {
1505
1521
  r.value = !r.value, t("toggle", r.value);
1506
1522
  };
1507
- return Ne(() => a.active, (u) => {
1508
- r.value = u;
1509
- }), (u, o) => (y(), N("a", {
1523
+ return $e(() => a.active, (d) => {
1524
+ r.value = d;
1525
+ }), (d, o) => (g(), N("a", {
1510
1526
  "aria-haspopup": "true",
1511
1527
  "aria-label": r.value ? "Close Main Menu" : "Open Main Menu",
1512
- class: ee(["sidebar-menu-toggle", { active: r.value }]),
1528
+ class: te(["sidebar-menu-toggle", { active: r.value }]),
1513
1529
  href: "#",
1514
1530
  role: "button",
1515
1531
  onClick: wn(c, ["prevent"])
1516
- }, Lr, 10, Nr));
1532
+ }, Br, 10, Fr));
1517
1533
  }
1518
1534
  });
1519
- const Mr = /* @__PURE__ */ ae(Rr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n) => (at("data-v-37316186"), n = n(), nt(), n), Pr = { id: "kong-ui-app-layout-notification" }, jr = { class: "mobile-logo" }, Hr = {
1535
+ const Mr = /* @__PURE__ */ ne(Lr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n) => (it("data-v-37316186"), n = n(), ot(), n), Pr = { id: "kong-ui-app-layout-notification" }, jr = { class: "mobile-logo" }, Hr = {
1520
1536
  key: 0,
1521
1537
  class: "navbar-logo"
1522
1538
  }, Kr = {
1523
1539
  class: "kong-ui-app-layout-main",
1524
1540
  "data-testid": "kong-ui-app-layout-main"
1525
- }, zr = { class: "kong-ui-app-layout-content" }, Vr = { class: "kong-ui-app-layout-content-inner" }, Wr = /* @__PURE__ */ Zr(() => /* @__PURE__ */ O("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Gr = /* @__PURE__ */ te({
1541
+ }, zr = { class: "kong-ui-app-layout-content" }, Vr = { class: "kong-ui-app-layout-content-inner" }, Wr = /* @__PURE__ */ Zr(() => /* @__PURE__ */ I("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), Gr = /* @__PURE__ */ ae({
1526
1542
  __name: "AppLayout",
1527
1543
  props: {
1528
1544
  hideDefaultSlot: {
@@ -1555,164 +1571,164 @@ const Mr = /* @__PURE__ */ ae(Rr, [["__scopeId", "data-v-33b3f7c3"]]), Zr = (n)
1555
1571
  emits: ["sidebar-click"],
1556
1572
  setup(n, { emit: t }) {
1557
1573
  const a = n;
1558
- Qe((T) => ({
1559
- "06ca369a": m(Z),
1560
- "7d4a09e6": m(z)
1574
+ at((w) => ({
1575
+ "06ca369a": p(Z),
1576
+ "7d4a09e6": p(V)
1561
1577
  }));
1562
- const r = et(), c = Ee({
1563
- navbarLeft: w(() => !!r["navbar-left"]),
1564
- navbarCenter: w(() => !!r["navbar-center"]),
1565
- navbarRight: w(() => !!r["navbar-right"]),
1566
- navbarLogo: w(() => !!r["navbar-logo"]),
1567
- navbarMobileLogo: w(() => !!r["navbar-mobile-logo"]),
1568
- sidebarHeader: w(() => !!r["sidebar-header"]),
1569
- sidebarTop: w(() => !!r["sidebar-top"]),
1570
- sidebarFooter: w(() => !!r["sidebar-footer"])
1571
- }), u = w(() => a.hideDefaultSlot), o = Ee({
1572
- hidden: w(() => a.navbarHidden)
1573
- }), f = Ee({
1574
- topItems: w(() => a.sidebarTopItems),
1575
- bottomItems: w(() => a.sidebarBottomItems),
1576
- open: w(() => a.sidebarOpen),
1577
- hidden: w(() => a.sidebarHidden)
1578
- }), g = (T) => {
1579
- t("sidebar-click", T);
1580
- }, _ = W(!1), E = (T) => {
1581
- _.value = T;
1578
+ const r = nt(), c = Ne({
1579
+ navbarLeft: _(() => !!r["navbar-left"]),
1580
+ navbarCenter: _(() => !!r["navbar-center"]),
1581
+ navbarRight: _(() => !!r["navbar-right"]),
1582
+ navbarLogo: _(() => !!r["navbar-logo"]),
1583
+ navbarMobileLogo: _(() => !!r["navbar-mobile-logo"]),
1584
+ sidebarHeader: _(() => !!r["sidebar-header"]),
1585
+ sidebarTop: _(() => !!r["sidebar-top"]),
1586
+ sidebarFooter: _(() => !!r["sidebar-footer"])
1587
+ }), d = _(() => a.hideDefaultSlot), o = Ne({
1588
+ hidden: _(() => a.navbarHidden)
1589
+ }), v = Ne({
1590
+ topItems: _(() => a.sidebarTopItems),
1591
+ bottomItems: _(() => a.sidebarBottomItems),
1592
+ open: _(() => a.sidebarOpen),
1593
+ hidden: _(() => a.sidebarHidden)
1594
+ }), m = (w) => {
1595
+ t("sidebar-click", w);
1596
+ }, y = U(!1), A = (w) => {
1597
+ y.value = w;
1582
1598
  };
1583
1599
  Tn(() => {
1584
- _.value = Sn(f, "open").value || !1;
1600
+ y.value = Sn(v, "open").value || !1;
1585
1601
  });
1586
- const F = W(0), D = W(60), C = W(0), x = w(() => o.hidden ? C.value : D.value + C.value), Z = w(() => `${x.value}px`), z = w(() => f.hidden || o.hidden ? "0" : "16px"), { debounce: P } = Wt(), U = P((T = !1) => {
1587
- if (T || F.value !== (window == null ? void 0 : window.innerWidth)) {
1588
- F.value = window == null ? void 0 : window.innerWidth;
1589
- const L = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1590
- L && (C.value = L.offsetHeight);
1602
+ const x = U(0), $ = U(60), S = U(0), C = _(() => o.hidden ? S.value : $.value + S.value), Z = _(() => `${C.value}px`), V = _(() => v.hidden || o.hidden ? "0" : "16px"), { debounce: P } = Ut(), X = P((w = !1) => {
1603
+ if (w || x.value !== (window == null ? void 0 : window.innerWidth)) {
1604
+ x.value = window == null ? void 0 : window.innerWidth;
1605
+ const B = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1606
+ B && (S.value = B.offsetHeight);
1591
1607
  }
1592
- }, 200), V = W();
1593
- return Me(() => {
1594
- var L, S;
1595
- (L = document == null ? void 0 : document.body) == null || L.classList.add("kong-ui-app-layout-body"), (S = document == null ? void 0 : document.documentElement) == null || S.classList.add("kong-ui-app-layout-html"), F.value = window == null ? void 0 : window.innerWidth, U(!0);
1596
- const T = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1597
- T && (V.value = new ResizeObserver((l) => {
1598
- for (const d of l) {
1599
- const b = d.contentRect.height;
1600
- C.value !== b && (C.value = b);
1608
+ }, 200), W = U();
1609
+ return Ze(() => {
1610
+ var B, q;
1611
+ (B = document == null ? void 0 : document.body) == null || B.classList.add("kong-ui-app-layout-body"), (q = document == null ? void 0 : document.documentElement) == null || q.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, X(!0);
1612
+ const w = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1613
+ w && (W.value = new ResizeObserver((J) => {
1614
+ for (const H of J) {
1615
+ const k = H.contentRect.height;
1616
+ S.value !== k && (S.value = k);
1601
1617
  }
1602
- }), V.value.observe(T)), window.addEventListener("resize", U);
1603
- }), Zt(() => {
1604
- V.value && V.value.disconnect(), window.removeEventListener("resize", U);
1605
- }), (T, L) => (y(), N("div", {
1606
- class: ee(["kong-ui-app-layout", [
1618
+ }), W.value.observe(w)), window.addEventListener("resize", X);
1619
+ }), jt(() => {
1620
+ W.value && W.value.disconnect(), window.removeEventListener("resize", X);
1621
+ }), (w, B) => (g(), N("div", {
1622
+ class: te(["kong-ui-app-layout", [
1607
1623
  { "navbar-hidden": o.hidden },
1608
- { "sidebar-hidden": f.hidden }
1624
+ { "sidebar-hidden": v.hidden }
1609
1625
  ]])
1610
1626
  }, [
1611
- O("div", Pr, [
1612
- $(T.$slots, "notification", {}, void 0, !0)
1627
+ I("div", Pr, [
1628
+ F(w.$slots, "notification", {}, void 0, !0)
1613
1629
  ]),
1614
- o.hidden ? R("", !0) : (y(), q(Dn, {
1615
- key: String(f.hidden),
1616
- "left-offset": f.hidden ? 0 : void 0,
1617
- "top-offset": C.value
1618
- }, Et({
1619
- "mobile-sidebar-toggle": K(() => [
1620
- f.hidden ? R("", !0) : (y(), q(Mr, {
1630
+ o.hidden ? L("", !0) : (g(), Q(Dn, {
1631
+ key: String(v.hidden),
1632
+ "left-offset": v.hidden ? 0 : void 0,
1633
+ "top-offset": S.value
1634
+ }, $t({
1635
+ "mobile-sidebar-toggle": z(() => [
1636
+ v.hidden ? L("", !0) : (g(), Q(Mr, {
1621
1637
  key: 0,
1622
- active: _.value,
1623
- onToggle: E
1638
+ active: y.value,
1639
+ onToggle: A
1624
1640
  }, null, 8, ["active"]))
1625
1641
  ]),
1626
1642
  _: 2
1627
1643
  }, [
1628
1644
  c.navbarMobileLogo ? {
1629
1645
  name: "mobile-logo",
1630
- fn: K(() => [
1631
- O("div", jr, [
1632
- $(T.$slots, "navbar-mobile-logo", {}, void 0, !0)
1646
+ fn: z(() => [
1647
+ I("div", jr, [
1648
+ F(w.$slots, "navbar-mobile-logo", {}, void 0, !0)
1633
1649
  ])
1634
1650
  ]),
1635
1651
  key: "0"
1636
1652
  } : void 0,
1637
1653
  c.navbarLogo ? {
1638
1654
  name: "logo",
1639
- fn: K(() => [
1640
- f.hidden ? (y(), N("div", Hr, [
1641
- $(T.$slots, "navbar-logo", {}, void 0, !0)
1642
- ])) : R("", !0)
1655
+ fn: z(() => [
1656
+ v.hidden ? (g(), N("div", Hr, [
1657
+ F(w.$slots, "navbar-logo", {}, void 0, !0)
1658
+ ])) : L("", !0)
1643
1659
  ]),
1644
1660
  key: "1"
1645
1661
  } : void 0,
1646
1662
  c.navbarLeft ? {
1647
1663
  name: "left",
1648
- fn: K(() => [
1649
- $(T.$slots, "navbar-left", {}, void 0, !0)
1664
+ fn: z(() => [
1665
+ F(w.$slots, "navbar-left", {}, void 0, !0)
1650
1666
  ]),
1651
1667
  key: "2"
1652
1668
  } : void 0,
1653
1669
  c.navbarCenter ? {
1654
1670
  name: "center",
1655
- fn: K(() => [
1656
- $(T.$slots, "navbar-center", {}, void 0, !0)
1671
+ fn: z(() => [
1672
+ F(w.$slots, "navbar-center", {}, void 0, !0)
1657
1673
  ]),
1658
1674
  key: "3"
1659
1675
  } : void 0,
1660
1676
  c.navbarRight ? {
1661
1677
  name: "right",
1662
- fn: K(() => [
1663
- $(T.$slots, "navbar-right", {}, void 0, !0)
1678
+ fn: z(() => [
1679
+ F(w.$slots, "navbar-right", {}, void 0, !0)
1664
1680
  ]),
1665
1681
  key: "4"
1666
1682
  } : void 0
1667
1683
  ]), 1032, ["left-offset", "top-offset"])),
1668
- f.hidden ? R("", !0) : (y(), q(Fr, {
1684
+ v.hidden ? L("", !0) : (g(), Q(Nr, {
1669
1685
  key: 1,
1670
- "bottom-items": f.bottomItems,
1671
- "header-height": D.value,
1686
+ "bottom-items": v.bottomItems,
1687
+ "header-height": $.value,
1672
1688
  "mobile-enabled": "",
1673
1689
  "mobile-header-visible": !1,
1674
- "mobile-top-offset": m(x),
1675
- open: _.value,
1676
- "top-items": f.topItems,
1677
- "top-offset": C.value,
1678
- onClick: g,
1679
- onToggle: E
1680
- }, Et({ _: 2 }, [
1690
+ "mobile-top-offset": p(C),
1691
+ open: y.value,
1692
+ "top-items": v.topItems,
1693
+ "top-offset": S.value,
1694
+ onClick: m,
1695
+ onToggle: A
1696
+ }, $t({ _: 2 }, [
1681
1697
  c.sidebarHeader ? {
1682
1698
  name: "header",
1683
- fn: K(() => [
1684
- $(T.$slots, "sidebar-header", {}, void 0, !0)
1699
+ fn: z(() => [
1700
+ F(w.$slots, "sidebar-header", {}, void 0, !0)
1685
1701
  ]),
1686
1702
  key: "0"
1687
1703
  } : void 0,
1688
1704
  c.sidebarTop ? {
1689
1705
  name: "top",
1690
- fn: K(() => [
1691
- $(T.$slots, "sidebar-top", {}, void 0, !0)
1706
+ fn: z(() => [
1707
+ F(w.$slots, "sidebar-top", {}, void 0, !0)
1692
1708
  ]),
1693
1709
  key: "1"
1694
1710
  } : void 0,
1695
1711
  c.sidebarFooter ? {
1696
1712
  name: "footer",
1697
- fn: K(() => [
1698
- $(T.$slots, "sidebar-footer", {}, void 0, !0)
1713
+ fn: z(() => [
1714
+ F(w.$slots, "sidebar-footer", {}, void 0, !0)
1699
1715
  ]),
1700
1716
  key: "2"
1701
1717
  } : void 0
1702
1718
  ]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
1703
- O("main", Kr, [
1704
- O("div", zr, [
1705
- O("div", Vr, [
1719
+ I("main", Kr, [
1720
+ I("div", zr, [
1721
+ I("div", Vr, [
1706
1722
  Wr,
1707
- $(T.$slots, "app-error", {}, void 0, !0),
1708
- m(u) ? R("", !0) : $(T.$slots, "default", { key: 0 }, void 0, !0)
1723
+ F(w.$slots, "app-error", {}, void 0, !0),
1724
+ p(d) ? L("", !0) : F(w.$slots, "default", { key: 0 }, void 0, !0)
1709
1725
  ])
1710
1726
  ])
1711
1727
  ])
1712
1728
  ], 2));
1713
1729
  }
1714
1730
  });
1715
- const Ur = /* @__PURE__ */ ae(Gr, [["__scopeId", "data-v-37316186"]]), qr = /* @__PURE__ */ te({
1731
+ const Ur = /* @__PURE__ */ ne(Gr, [["__scopeId", "data-v-37316186"]]), qr = /* @__PURE__ */ ae({
1716
1732
  __name: "AccountDropdown",
1717
1733
  props: {
1718
1734
  options: {
@@ -1732,26 +1748,26 @@ const Ur = /* @__PURE__ */ ae(Gr, [["__scopeId", "data-v-37316186"]]), qr = /* @
1732
1748
  },
1733
1749
  setup(n) {
1734
1750
  return (t, a) => {
1735
- const r = ge("KDropdownItem"), c = ge("KDropdownMenu");
1736
- return y(), q(c, {
1751
+ const r = ye("KDropdownItem"), c = ye("KDropdownMenu");
1752
+ return g(), Q(c, {
1737
1753
  class: "account-dropdown",
1738
1754
  "kpop-attributes": { placement: "bottomStart" },
1739
1755
  label: n.userInitials,
1740
1756
  size: "small",
1741
1757
  width: n.width
1742
1758
  }, {
1743
- items: K(({ handleSelection: u }) => [
1744
- $(t.$slots, "default", {}, () => [
1745
- (y(!0), N(ye, null, Fe(n.options, (o) => (y(), q(r, {
1759
+ items: z(({ handleSelection: d }) => [
1760
+ F(t.$slots, "default", {}, () => [
1761
+ (g(!0), N(_e, null, Fe(n.options, (o) => (g(), Q(r, {
1746
1762
  key: o.value,
1747
- class: ee({ "has-divider": o.hasDivider }),
1763
+ class: te({ "has-divider": o.hasDivider }),
1748
1764
  "data-testid": "select-" + o.value,
1749
1765
  "has-divider": o.hasDivider,
1750
- onClick: (f) => u(o)
1766
+ onClick: (v) => d(o)
1751
1767
  }, {
1752
- default: K(() => [
1753
- $(t.$slots, "default", { option: o }, () => [
1754
- Xe(me(o.label), 1)
1768
+ default: z(() => [
1769
+ F(t.$slots, "default", { option: o }, () => [
1770
+ et(ge(o.label), 1)
1755
1771
  ], !0)
1756
1772
  ]),
1757
1773
  _: 2
@@ -1763,7 +1779,7 @@ const Ur = /* @__PURE__ */ ae(Gr, [["__scopeId", "data-v-37316186"]]), qr = /* @
1763
1779
  };
1764
1780
  }
1765
1781
  });
1766
- const li = /* @__PURE__ */ ae(qr, [["__scopeId", "data-v-6e34d3da"]]), Yr = {}, Xr = {
1782
+ const li = /* @__PURE__ */ ne(qr, [["__scopeId", "data-v-6e34d3da"]]), Yr = {}, Xr = {
1767
1783
  fill: "none",
1768
1784
  height: "130",
1769
1785
  width: "130",
@@ -1772,21 +1788,21 @@ const li = /* @__PURE__ */ ae(qr, [["__scopeId", "data-v-6e34d3da"]]), Yr = {},
1772
1788
  Jr
1773
1789
  ];
1774
1790
  function ei(n, t) {
1775
- return y(), N("svg", Xr, Qr);
1791
+ return g(), N("svg", Xr, Qr);
1776
1792
  }
1777
- const ti = /* @__PURE__ */ ae(Yr, [["render", ei]]), Gt = (n) => (at("data-v-ff05f71e"), n = n(), nt(), n), ai = { class: "kong-ui-app-error" }, ni = { class: "banana-icon" }, ri = { class: "kong-ui-app-error-content" }, ii = /* @__PURE__ */ Gt(() => /* @__PURE__ */ O("h2", null, "An unexpected error has occurred", -1)), oi = /* @__PURE__ */ Gt(() => /* @__PURE__ */ O("p", null, [
1778
- /* @__PURE__ */ Xe("Go back to the previous page or "),
1779
- /* @__PURE__ */ O("a", { href: "/" }, "return home"),
1780
- /* @__PURE__ */ Xe(".")
1781
- ], -1)), si = /* @__PURE__ */ te({
1793
+ const ti = /* @__PURE__ */ ne(Yr, [["render", ei]]), qt = (n) => (it("data-v-ff05f71e"), n = n(), ot(), n), ai = { class: "kong-ui-app-error" }, ni = { class: "banana-icon" }, ri = { class: "kong-ui-app-error-content" }, ii = /* @__PURE__ */ qt(() => /* @__PURE__ */ I("h2", null, "An unexpected error has occurred", -1)), oi = /* @__PURE__ */ qt(() => /* @__PURE__ */ I("p", null, [
1794
+ /* @__PURE__ */ et("Go back to the previous page or "),
1795
+ /* @__PURE__ */ I("a", { href: "/" }, "return home"),
1796
+ /* @__PURE__ */ et(".")
1797
+ ], -1)), si = /* @__PURE__ */ ae({
1782
1798
  __name: "AppError",
1783
1799
  setup(n) {
1784
- return (t, a) => (y(), N("section", ai, [
1785
- O("div", ni, [
1786
- tt(ti)
1800
+ return (t, a) => (g(), N("section", ai, [
1801
+ I("div", ni, [
1802
+ rt(ti)
1787
1803
  ]),
1788
- O("div", ri, [
1789
- $(t.$slots, "default", {}, () => [
1804
+ I("div", ri, [
1805
+ F(t.$slots, "default", {}, () => [
1790
1806
  ii,
1791
1807
  oi
1792
1808
  ], !0)
@@ -1794,7 +1810,7 @@ const ti = /* @__PURE__ */ ae(Yr, [["render", ei]]), Gt = (n) => (at("data-v-ff0
1794
1810
  ]));
1795
1811
  }
1796
1812
  });
1797
- const ui = /* @__PURE__ */ ae(si, [["__scopeId", "data-v-ff05f71e"]]), di = {
1813
+ const ui = /* @__PURE__ */ ne(si, [["__scopeId", "data-v-ff05f71e"]]), di = {
1798
1814
  // Customize Vue plugin options as desired
1799
1815
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
1800
1816
  install: (n, t = {}) => {
@@ -1806,7 +1822,7 @@ export {
1806
1822
  ui as AppError,
1807
1823
  Ur as AppLayout,
1808
1824
  Dn as AppNavbar,
1809
- Fr as AppSidebar,
1825
+ Nr as AppSidebar,
1810
1826
  Mr as SidebarToggle,
1811
1827
  di as default
1812
1828
  };