@kong-ui-public/app-layout 4.9.0 → 4.9.1-pr.2521.c8bcb80e7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { defineComponent as ie, resolveComponent as pe, createBlock as H, openBlock as p, withCtx as L, renderSlot as C, createElementBlock as k, Fragment as $e, renderList as be, normalizeClass as se, createTextVNode as Be, toDisplayString as Y, computed as S, createSlots as Le, createVNode as Me, createCommentVNode as I, createElementVNode as E, createStaticVNode as In, useCssVars as yt, reactive as qe, useSlots as je, onMounted as Pe, getCurrentInstance as Yt, hasInjectionContext as Qt, inject as $n, watch as Ae, getCurrentScope as On, onScopeDispose as En, shallowRef as Xe, watchEffect as Jt, toValue as Oe, unref as ve, resolveDynamicComponent as Ee, withKeys as An, ref as ee, onUnmounted as Fn, Comment as Nn, cloneVNode as Dn, nextTick as Ht, onBeforeUnmount as ea, withModifiers as Rn, toRef as xn } from "vue";
1
+ import { defineComponent as ie, resolveComponent as he, createBlock as W, openBlock as p, withCtx as L, renderSlot as I, createElementBlock as T, Fragment as Ee, renderList as pe, normalizeClass as se, createTextVNode as Be, toDisplayString as Q, computed as S, createSlots as Me, createVNode as Le, createCommentVNode as $, createElementVNode as F, createStaticVNode as In, useCssVars as yt, reactive as qe, useSlots as je, onMounted as Pe, getCurrentInstance as Yt, hasInjectionContext as Qt, inject as $n, watch as Te, getCurrentScope as On, onScopeDispose as En, shallowRef as Xe, watchEffect as Jt, toValue as Ae, unref as be, resolveDynamicComponent as Fe, withKeys as An, ref as ae, onUnmounted as Fn, Comment as Nn, cloneVNode as Dn, nextTick as Ht, onBeforeUnmount as ea, withModifiers as Rn, toRef as xn } from "vue";
2
2
  import { ChevronRightIcon as ta, ChevronDownIcon as Bn } from "@kong/icons";
3
- import { KButton as Ln, HeaderTags as Mn } from "@kong/kongponents";
3
+ import { KButton as Mn, HeaderTags as Ln } from "@kong/kongponents";
4
4
  const jn = /* @__PURE__ */ ie({
5
5
  __name: "AccountDropdown",
6
6
  props: {
@@ -21,25 +21,25 @@ const jn = /* @__PURE__ */ ie({
21
21
  },
22
22
  setup(a) {
23
23
  return (t, r) => {
24
- const n = pe("KDropdownItem"), s = pe("KDropdown");
25
- return p(), H(s, {
24
+ const n = he("KDropdownItem"), s = he("KDropdown");
25
+ return p(), W(s, {
26
26
  class: "account-dropdown",
27
27
  "kpop-attributes": { placement: "bottom-end" },
28
28
  "trigger-text": a.userInitials,
29
29
  width: a.width
30
30
  }, {
31
- items: L(({ handleSelection: c }) => [
32
- C(t.$slots, "default", {}, () => [
33
- (p(!0), k($e, null, be(a.options, (o) => (p(), H(n, {
31
+ items: L(({ handleSelection: u }) => [
32
+ I(t.$slots, "default", {}, () => [
33
+ (p(!0), T(Ee, null, pe(a.options, (o) => (p(), W(n, {
34
34
  key: o.value,
35
35
  class: se({ "has-divider": o.hasDivider }),
36
36
  "data-testid": "select-" + o.value,
37
37
  "has-divider": o.hasDivider,
38
- onClick: (f) => c(o)
38
+ onClick: (d) => u(o)
39
39
  }, {
40
40
  default: L(() => [
41
- C(t.$slots, "default", { option: o }, () => [
42
- Be(Y(o.label), 1)
41
+ I(t.$slots, "default", { option: o }, () => [
42
+ Be(Q(o.label), 1)
43
43
  ], !0)
44
44
  ]),
45
45
  _: 2
@@ -105,30 +105,30 @@ const jn = /* @__PURE__ */ ie({
105
105
  setup(a) {
106
106
  const t = a, r = S(() => !!t.modified && t.modified !== t.created);
107
107
  return (n, s) => {
108
- const c = pe("KSkeletonBox"), o = pe("KCard");
109
- return p(), H(o, {
108
+ const u = he("KSkeletonBox"), o = he("KCard");
109
+ return p(), W(o, {
110
110
  class: "kong-ui-app-about-section",
111
111
  "title-tag": "h2"
112
- }, Le({
112
+ }, Me({
113
113
  default: L(() => [
114
- n.isLoading ? (p(), k("div", Gn, [
115
- Me(c, {
114
+ n.isLoading ? (p(), T("div", Gn, [
115
+ Le(u, {
116
116
  height: "2",
117
117
  width: "100"
118
118
  }),
119
- Me(c, {
119
+ Le(u, {
120
120
  height: "2",
121
121
  width: "100"
122
122
  })
123
- ])) : (p(), k("div", Un, [
124
- n.description ? (p(), k("p", Vn, Y(n.description), 1)) : I("", !0),
125
- n.$slots.default ? (p(), k("div", qn, [
126
- C(n.$slots, "default", {}, void 0, !0)
127
- ])) : I("", !0),
128
- n.$slots["divider-section"] ? (p(), k("hr", Xn)) : I("", !0),
129
- n.$slots["divider-section"] ? (p(), k("div", Yn, [
130
- C(n.$slots, "divider-section", {}, void 0, !0)
131
- ])) : I("", !0)
123
+ ])) : (p(), T("div", Un, [
124
+ n.description ? (p(), T("p", Vn, Q(n.description), 1)) : $("", !0),
125
+ n.$slots.default ? (p(), T("div", qn, [
126
+ I(n.$slots, "default", {}, void 0, !0)
127
+ ])) : $("", !0),
128
+ n.$slots["divider-section"] ? (p(), T("hr", Xn)) : $("", !0),
129
+ n.$slots["divider-section"] ? (p(), T("div", Yn, [
130
+ I(n.$slots, "divider-section", {}, void 0, !0)
131
+ ])) : $("", !0)
132
132
  ]))
133
133
  ]),
134
134
  _: 2
@@ -136,9 +136,9 @@ const jn = /* @__PURE__ */ ie({
136
136
  n.$slots.title || n.title ? {
137
137
  name: "title",
138
138
  fn: L(() => [
139
- E("span", Pn, [
140
- C(n.$slots, "title", {}, () => [
141
- Be(Y(n.title), 1)
139
+ F("span", Pn, [
140
+ I(n.$slots, "title", {}, () => [
141
+ Be(Q(n.title), 1)
142
142
  ], !0)
143
143
  ])
144
144
  ]),
@@ -147,18 +147,18 @@ const jn = /* @__PURE__ */ ie({
147
147
  n.$slots.actions || n.created || n.modified ? {
148
148
  name: "actions",
149
149
  fn: L(() => [
150
- E("div", Kn, [
151
- n.created || n.modified ? (p(), k("div", {
150
+ F("div", Kn, [
151
+ n.created || n.modified ? (p(), T("div", {
152
152
  key: 0,
153
153
  class: se(["about-section-timestamps", { "has-actions": n.$slots.actions }])
154
154
  }, [
155
- n.created ? (p(), k("span", Zn, Y(n.createdLabel) + ": " + Y(n.created), 1)) : I("", !0),
156
- n.created && r.value ? (p(), k("span", Hn, "->")) : I("", !0),
157
- r.value ? (p(), k("span", Wn, Y(n.modifiedLabel) + ": " + Y(n.modified), 1)) : I("", !0)
158
- ], 2)) : I("", !0),
159
- n.$slots.actions ? (p(), k("div", zn, [
160
- C(n.$slots, "actions", {}, void 0, !0)
161
- ])) : I("", !0)
155
+ n.created ? (p(), T("span", Zn, Q(n.createdLabel) + ": " + Q(n.created), 1)) : $("", !0),
156
+ n.created && r.value ? (p(), T("span", Hn, "->")) : $("", !0),
157
+ r.value ? (p(), T("span", Wn, Q(n.modifiedLabel) + ": " + Q(n.modified), 1)) : $("", !0)
158
+ ], 2)) : $("", !0),
159
+ n.$slots.actions ? (p(), T("div", zn, [
160
+ I(n.$slots, "actions", {}, void 0, !0)
161
+ ])) : $("", !0)
162
162
  ])
163
163
  ]),
164
164
  key: "1"
@@ -173,23 +173,23 @@ const jn = /* @__PURE__ */ ie({
173
173
  xmlns: "http://www.w3.org/2000/svg"
174
174
  };
175
175
  function tr(a, t) {
176
- return p(), k("svg", er, t[0] || (t[0] = [
176
+ return p(), T("svg", er, t[0] || (t[0] = [
177
177
  In('<path clip-rule="evenodd" d="M19.111 120.198c-.226 0-.409-.164-.409-.368v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.367V66.89c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368V47.64c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.164-.409-.368v-4.812c0-.204.183-.368.409-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.368v-4.813c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.226 0-.409-.165-.409-.369v-4.812c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.226 0-.409-.165-.409-.368V9.138c0-.203.183-.368.409-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368ZM110.889 120.198c-.225 0-.408-.164-.408-.368v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.367V66.89c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368V47.64c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.164-.408-.368v-4.812c0-.204.183-.368.408-.368.226 0 .409.164.409.368v4.812c0 .204-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.368v-4.813c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.625c-.225 0-.408-.165-.408-.369v-4.812c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Zm0-9.626c-.225 0-.408-.165-.408-.368V9.138c0-.203.183-.368.408-.368.226 0 .409.165.409.368v4.813c0 .203-.183.368-.409.368Z" fill="#D6D6D6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M123.553 107.758a.399.399 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.399.399 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H87.69a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.135 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.068a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408H37.01a.398.398 0 0 1-.387-.408c0-.226.173-.409.387-.409h5.068c.214 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.388.408h-5.067a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.067c.215 0 .388.183.388.409Zm-10.136 0a.398.398 0 0 1-.387.408h-5.068a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409Zm-10.136 0a.398.398 0 0 1-.387.408H6.603a.398.398 0 0 1-.388-.408c0-.226.174-.409.388-.409h5.068c.214 0 .387.183.387.409ZM123.553 21.434a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.399.399 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409H87.69a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.136 0a.398.398 0 0 1-.387.409h-5.068a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Zm-10.135 0a.399.399 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409H37.01a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.388.409h-5.068a.398.398 0 0 1-.387-.409c0-.226.173-.408.387-.408h5.068c.214 0 .388.183.388.408Zm-10.136 0a.398.398 0 0 1-.387.409H6.603a.398.398 0 0 1-.388-.409c0-.226.174-.408.388-.408h5.068c.214 0 .387.183.387.408Z" fill="#D6D6D6" fill-rule="evenodd"></path><circle cx="65" cy="65" opacity=".5" r="64" stroke="#B6B6BD" stroke-dasharray="5.69 5.69" stroke-linecap="round" stroke-width=".854"></circle><g clip-path="url(#a)" stroke="#169FCC" stroke-miterlimit="10" stroke-width="1.42"><path d="m33.523 104.868-5.72-.695a1.214 1.214 0 0 1-.766-.386 1.182 1.182 0 0 1-.312-.788v-7.448c0-.095.038-.186.106-.253a.365.365 0 0 1 .256-.104l5.254-.263M61.471 22.733a1.761 1.761 0 0 1 1.45.235 49.628 49.628 0 0 1 15.613 17.6 48.797 48.797 0 0 1 5.65 22.702 47.236 47.236 0 0 1-.333 5.325 41.34 41.34 0 0 0-12.501-.441 48.503 48.503 0 0 0-1.813-23.734 49.117 49.117 0 0 0-12.91-20.119c1.602-.591 3.223-1.136 4.844-1.568Z"></path><path d="M71.35 68.154a39.493 39.493 0 0 0-10.813 3.757 51.298 51.298 0 0 0 3.251-18.062c0-9.392-4.939-19.179-9.783-27.237-.257-.432 0-1.616 2.642-2.32"></path><path d="M56.236 78.58a13.605 13.605 0 0 0-4.29-9.289 14.017 14.017 0 0 0-9.622-3.786 9.617 9.617 0 0 1-6.456-2.446 9.341 9.341 0 0 1-3.079-6.1l-.286-4.256c3.09 0 9.46 4.105 13.216 4.866 3.757.76 8.21.253 11.862 3.437a13.303 13.303 0 0 1 4.357 6.575"></path><path d="M68.594 75.442c-3.432 6.95-7.914 11.59-14.303 16.033a47.076 47.076 0 0 1-21.702 8.058v-4.696c11.642-4.809 22.208-11.806 27.948-22.88"></path><path d="M76.499 84.815a46.939 46.939 0 0 1-17.392 14.511 50.925 50.925 0 0 1-22.885 5.457c-2.317 0-3.662.47-3.662-.695v-4.555"></path><path d="M83.85 68.595c22.304 16.22 4.044 39.25-19.652 37.663.954-.939 29.95-22.222-3.661-34.3"></path><path d="M84.184 58.47c13.607 0 25.746 26.242 17.383 30.995-1.182-17.508-17.716-20.87-17.716-20.87"></path></g><defs><clipPath id="a"><path d="M0 0h79v85H0z" fill="#fff" transform="translate(26 22)"></path></clipPath></defs>', 5)
178
178
  ]));
179
179
  }
180
180
  const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-error" }, rr = { class: "banana-icon" }, ir = { class: "kong-ui-app-error-content" }, or = /* @__PURE__ */ ie({
181
181
  __name: "AppError",
182
182
  setup(a) {
183
- return (t, r) => (p(), k("section", nr, [
184
- E("div", rr, [
185
- Me(ar)
183
+ return (t, r) => (p(), T("section", nr, [
184
+ F("div", rr, [
185
+ Le(ar)
186
186
  ]),
187
- E("div", ir, [
188
- C(t.$slots, "default", {}, () => [
189
- r[0] || (r[0] = E("h2", null, "An unexpected error has occurred", -1)),
190
- r[1] || (r[1] = E("p", null, [
187
+ F("div", ir, [
188
+ I(t.$slots, "default", {}, () => [
189
+ r[0] || (r[0] = F("h2", null, "An unexpected error has occurred", -1)),
190
+ r[1] || (r[1] = F("p", null, [
191
191
  Be("Go back to the previous page or "),
192
- E("a", { href: "/" }, "return home"),
192
+ F("a", { href: "/" }, "return home"),
193
193
  Be(".")
194
194
  ], -1))
195
195
  ], !0)
@@ -218,9 +218,9 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
218
218
  },
219
219
  setup(a) {
220
220
  yt((o) => ({
221
- "27c93a10": c.value.top,
222
- "0f284bf5": c.value.zIndex,
223
- d1659a78: c.value.left,
221
+ "27c93a10": u.value.top,
222
+ "0f284bf5": u.value.zIndex,
223
+ d1659a78: u.value.left,
224
224
  "3d9232e8": s.marginRight,
225
225
  "038c3c78": s.width
226
226
  }));
@@ -229,32 +229,32 @@ const ar = /* @__PURE__ */ oe(Jn, [["render", tr]]), nr = { class: "kong-ui-app-
229
229
  width: "0"
230
230
  });
231
231
  Pe(() => {
232
- var o, f;
233
- (f = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && f.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
232
+ var o, d;
233
+ (d = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && d.length ? (s.marginRight = "32px", s.width = "calc(240px - 32px)") : (s.marginRight = "0", s.width = "0");
234
234
  });
235
- const c = S(() => ({
235
+ const u = S(() => ({
236
236
  top: t.topOffset ? `${t.topOffset}px` : "0",
237
237
  left: t.leftOffset ? `${t.leftOffset}px` : "0",
238
238
  zIndex: t.zIndex
239
239
  }));
240
- return (o, f) => (p(), k("header", sr, [
241
- E("div", lr, [
242
- E("div", cr, [
243
- C(o.$slots, "mobile-sidebar-toggle"),
244
- C(o.$slots, "mobile-logo")
240
+ return (o, d) => (p(), T("header", sr, [
241
+ F("div", lr, [
242
+ F("div", cr, [
243
+ I(o.$slots, "mobile-sidebar-toggle"),
244
+ I(o.$slots, "mobile-logo")
245
245
  ]),
246
- n.value ? (p(), k("div", ur, [
247
- C(o.$slots, "logo")
248
- ])) : I("", !0),
249
- E("div", dr, [
250
- E("div", fr, [
251
- C(o.$slots, "left")
246
+ n.value ? (p(), T("div", ur, [
247
+ I(o.$slots, "logo")
248
+ ])) : $("", !0),
249
+ F("div", dr, [
250
+ F("div", fr, [
251
+ I(o.$slots, "left")
252
252
  ]),
253
- E("div", vr, [
254
- C(o.$slots, "center")
253
+ F("div", vr, [
254
+ I(o.$slots, "center")
255
255
  ]),
256
- E("div", br, [
257
- C(o.$slots, "right")
256
+ F("div", br, [
257
+ I(o.$slots, "right")
258
258
  ])
259
259
  ])
260
260
  ])
@@ -280,7 +280,7 @@ function bt(a) {
280
280
  return Array.isArray(a) ? a : [a];
281
281
  }
282
282
  function Tr(a, t, r) {
283
- return Ae(
283
+ return Te(
284
284
  a,
285
285
  t,
286
286
  {
@@ -292,41 +292,41 @@ function Tr(a, t, r) {
292
292
  const aa = yr ? window : void 0;
293
293
  function _r(a) {
294
294
  var t;
295
- const r = Oe(a);
295
+ const r = Ae(a);
296
296
  return (t = r == null ? void 0 : r.$el) != null ? t : r;
297
297
  }
298
298
  function Sr(...a) {
299
299
  const t = [], r = () => {
300
- t.forEach((f) => f()), t.length = 0;
301
- }, n = (f, b, w, T) => (f.addEventListener(b, w, T), () => f.removeEventListener(b, w, T)), s = S(() => {
302
- const f = bt(Oe(a[0])).filter((b) => b != null);
303
- return f.every((b) => typeof b != "string") ? f : void 0;
304
- }), c = Tr(
300
+ t.forEach((d) => d()), t.length = 0;
301
+ }, n = (d, b, k, _) => (d.addEventListener(b, k, _), () => d.removeEventListener(b, k, _)), s = S(() => {
302
+ const d = bt(Ae(a[0])).filter((b) => b != null);
303
+ return d.every((b) => typeof b != "string") ? d : void 0;
304
+ }), u = Tr(
305
305
  () => {
306
- var f, b;
306
+ var d, b;
307
307
  return [
308
- (b = (f = s.value) == null ? void 0 : f.map((w) => _r(w))) != null ? b : [aa].filter((w) => w != null),
309
- bt(Oe(s.value ? a[1] : a[0])),
310
- bt(ve(s.value ? a[2] : a[1])),
308
+ (b = (d = s.value) == null ? void 0 : d.map((k) => _r(k))) != null ? b : [aa].filter((k) => k != null),
309
+ bt(Ae(s.value ? a[1] : a[0])),
310
+ bt(be(s.value ? a[2] : a[1])),
311
311
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
312
- Oe(s.value ? a[3] : a[2])
312
+ Ae(s.value ? a[3] : a[2])
313
313
  ];
314
314
  },
315
- ([f, b, w, T]) => {
316
- if (r(), !(f != null && f.length) || !(b != null && b.length) || !(w != null && w.length))
315
+ ([d, b, k, _]) => {
316
+ if (r(), !(d != null && d.length) || !(b != null && b.length) || !(k != null && k.length))
317
317
  return;
318
- const R = kr(T) ? { ...T } : T;
318
+ const x = kr(_) ? { ..._ } : _;
319
319
  t.push(
320
- ...f.flatMap(
321
- (x) => b.flatMap(
322
- (j) => w.map(($) => n(x, j, $, R))
320
+ ...d.flatMap(
321
+ (B) => b.flatMap(
322
+ (P) => k.map((E) => n(B, P, E, x))
323
323
  )
324
324
  )
325
325
  );
326
326
  },
327
327
  { flush: "post" }
328
328
  ), o = () => {
329
- c(), r();
329
+ u(), r();
330
330
  };
331
331
  return mr(r), o;
332
332
  }
@@ -346,24 +346,24 @@ function Or() {
346
346
  return typeof a == "number" ? a : void 0;
347
347
  }
348
348
  function Er(a, t = {}) {
349
- const { window: r = aa, ssrWidth: n = Or() } = t, s = Ir(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), c = Xe(typeof n == "number"), o = Xe(), f = Xe(!1), b = (w) => {
350
- f.value = w.matches;
349
+ const { window: r = aa, ssrWidth: n = Or() } = t, s = Ir(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), u = Xe(typeof n == "number"), o = Xe(), d = Xe(!1), b = (k) => {
350
+ d.value = k.matches;
351
351
  };
352
352
  return Jt(() => {
353
- if (c.value) {
354
- c.value = !s.value;
355
- const w = Oe(a).split(",");
356
- f.value = w.some((T) => {
357
- const R = T.includes("not all"), x = T.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), j = T.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
358
- let $ = !!(x || j);
359
- return x && $ && ($ = n >= Wt(x[1])), j && $ && ($ = n <= Wt(j[1])), R ? !$ : $;
353
+ if (u.value) {
354
+ u.value = !s.value;
355
+ const k = Ae(a).split(",");
356
+ d.value = k.some((_) => {
357
+ const x = _.includes("not all"), B = _.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), P = _.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
358
+ let E = !!(B || P);
359
+ return B && E && (E = n >= Wt(B[1])), P && E && (E = n <= Wt(P[1])), x ? !E : E;
360
360
  });
361
361
  return;
362
362
  }
363
- s.value && (o.value = r.matchMedia(Oe(a)), f.value = o.value.matches);
364
- }), Sr(o, "change", b, { passive: !0 }), S(() => f.value);
363
+ s.value && (o.value = r.matchMedia(Ae(a)), d.value = o.value.matches);
364
+ }), Sr(o, "change", b, { passive: !0 }), S(() => d.value);
365
365
  }
366
- const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px", xr = "4px", Br = "640px", Lr = "16px", Mr = "#bee2ff", jr = ["title"], pt = 99, Pr = /* @__PURE__ */ ie({
366
+ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px", xr = "4px", Br = "640px", Mr = "16px", Lr = "#bee2ff", jr = ["title"], pt = 99, Pr = /* @__PURE__ */ ie({
367
367
  __name: "ItemBadge",
368
368
  props: {
369
369
  count: {
@@ -374,11 +374,11 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
374
374
  },
375
375
  setup(a) {
376
376
  const t = a, r = S(() => t.count ? t.count > pt ? `${pt}+` : t.count.toString() : "");
377
- return (n, s) => r.value ? (p(), k("div", {
377
+ return (n, s) => r.value ? (p(), T("div", {
378
378
  key: 0,
379
379
  class: "item-badge",
380
380
  title: (a.count || 0) > pt ? String(a.count) : void 0
381
- }, Y(r.value), 9, jr)) : I("", !0);
381
+ }, Q(r.value), 9, jr)) : $("", !0);
382
382
  }
383
383
  }), Kr = /* @__PURE__ */ oe(Pr, [["__scopeId", "data-v-afb0d903"]]), Zr = ["data-testid"], Hr = ["aria-controls", "aria-current", "aria-expanded", "href", "target", "onClick", "onKeypress"], Wr = {
384
384
  key: 0,
@@ -404,50 +404,50 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
404
404
  },
405
405
  emits: ["click"],
406
406
  setup(a, { emit: t }) {
407
- const r = t, n = a, s = je(), c = S(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), o = S(() => !n.item.to || typeof n.item.to != "string" || !n.item.newWindow ? !1 : n.item.newWindow && (n.item.to.startsWith("http") || n.item.to.startsWith("/"))), f = S(
407
+ const r = t, n = a, s = je(), u = S(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), o = S(() => !n.item.to || typeof n.item.to != "string" || !n.item.newWindow ? !1 : n.item.newWindow && (n.item.to.startsWith("http") || n.item.to.startsWith("/"))), d = S(
408
408
  () => n.subnavItem && // item has non-zero badgeCount OR
409
409
  n.item.badgeCount !== void 0 && n.item.badgeCount !== 0 || // slot content for the badge
410
410
  !!s[`sidebar-after-${n.item.key}`]
411
- ), b = (T) => {
412
- r("click", T);
413
- }, w = (T, R, x) => {
414
- b(R), typeof x == "function" && (T.preventDefault(), x());
411
+ ), b = (_) => {
412
+ r("click", _);
413
+ }, k = (_, x, B) => {
414
+ b(x), typeof B == "function" && (_.preventDefault(), B());
415
415
  };
416
- return (T, R) => {
417
- var $;
418
- const x = pe("KTooltip"), j = pe("SidebarItem", !0);
419
- return p(), k("li", {
416
+ return (_, x) => {
417
+ var E;
418
+ const B = he("KTooltip"), P = he("SidebarItem", !0);
419
+ return p(), T("li", {
420
420
  class: se([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
421
421
  "data-testid": a.item.testId ? `sidebar-item-${a.item.testId}` : void 0
422
422
  }, [
423
- (p(), H(Ee(c.value ? "div" : "router-link"), {
424
- custom: c.value ? void 0 : !0,
425
- to: !c.value && !o.value ? a.item.to : void 0
423
+ (p(), W(Fe(u.value ? "div" : "router-link"), {
424
+ custom: u.value ? void 0 : !0,
425
+ to: !u.value && !o.value ? a.item.to : void 0
426
426
  }, {
427
- default: L((M) => {
428
- var V, K;
427
+ default: L((j) => {
428
+ var ne, K;
429
429
  return [
430
- E("a", {
431
- "aria-controls": (V = a.item.items) != null && V.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
430
+ F("a", {
431
+ "aria-controls": (ne = a.item.items) != null && ne.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
432
432
  "aria-current": a.item.active ? "page" : void 0,
433
433
  "aria-expanded": (K = a.item.items) != null && K.length && a.item.expanded ? !0 : void 0,
434
- class: se(["sidebar-item-link", { "sidebar-item-external-link": o.value, "router-link": !c.value }]),
435
- href: c.value ? String(a.item.to || "#") : M == null ? void 0 : M.href,
434
+ class: se(["sidebar-item-link", { "sidebar-item-external-link": o.value, "router-link": !u.value }]),
435
+ href: u.value ? String(a.item.to || "#") : j == null ? void 0 : j.href,
436
436
  target: o.value ? "_blank" : void 0,
437
- onClick: (te) => w(te, a.item, M == null ? void 0 : M.navigate),
438
- onKeypress: An((te) => w(te, a.item, M == null ? void 0 : M.navigate), ["enter"])
437
+ onClick: (z) => k(z, a.item, j == null ? void 0 : j.navigate),
438
+ onKeypress: An((z) => k(z, a.item, j == null ? void 0 : j.navigate), ["enter"])
439
439
  }, [
440
- E("div", {
441
- class: se(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-after-content": f.value }])
440
+ F("div", {
441
+ class: se(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-after-content": d.value }])
442
442
  }, [
443
- T.$slots[`sidebar-icon-${a.item.key}`] ? (p(), k("div", Wr, [
444
- a.subnavItem ? I("", !0) : C(T.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
445
- ])) : I("", !0),
446
- E("div", zr, [
447
- (a.subnavItem && !f.value ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), k("div", {
443
+ _.$slots[`sidebar-icon-${a.item.key}`] ? (p(), T("div", Wr, [
444
+ a.subnavItem ? $("", !0) : I(_.$slots, `sidebar-icon-${a.item.key}`, { key: 0 }, void 0, !0)
445
+ ])) : $("", !0),
446
+ F("div", zr, [
447
+ (a.subnavItem && !d.value ? a.item.name.length < 25 : a.item.name.length < 18) ? (p(), T("div", {
448
448
  key: 0,
449
449
  class: se(["sidebar-item-name truncate-text", [a.subnavItem ? "has-after-content-max-width truncate-24" : "truncate-17"]])
450
- }, Y(a.item.name), 3)) : (p(), H(x, {
450
+ }, Q(a.item.name), 3)) : (p(), W(B, {
451
451
  key: 1,
452
452
  class: "sidebar-item-tooltip",
453
453
  placement: "right",
@@ -455,40 +455,40 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
455
455
  text: a.item.name
456
456
  }, {
457
457
  default: L(() => [
458
- E("div", Gr, [
459
- E("span", {
460
- class: se(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-after-content-max-width": f.value }]])
461
- }, Y(a.item.name), 3)
458
+ F("div", Gr, [
459
+ F("span", {
460
+ class: se(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-after-content-max-width": d.value }]])
461
+ }, Q(a.item.name), 3)
462
462
  ])
463
463
  ]),
464
464
  _: 1
465
465
  }, 8, ["text"])),
466
- a.item.label && a.item.expanded ? (p(), k("div", Ur, Y(a.item.label), 1)) : I("", !0)
466
+ a.item.label && a.item.expanded ? (p(), T("div", Ur, Q(a.item.label), 1)) : $("", !0)
467
467
  ]),
468
- f.value ? (p(), k("div", Vr, [
469
- a.item.badgeCount ? (p(), H(Kr, {
468
+ d.value ? (p(), T("div", Vr, [
469
+ a.item.badgeCount ? (p(), W(Kr, {
470
470
  key: 0,
471
471
  count: a.item.badgeCount
472
- }, null, 8, ["count"])) : C(T.$slots, `sidebar-after-${a.item.key}`, { key: 1 }, void 0, !0)
473
- ])) : I("", !0)
472
+ }, null, 8, ["count"])) : I(_.$slots, `sidebar-after-${a.item.key}`, { key: 1 }, void 0, !0)
473
+ ])) : $("", !0)
474
474
  ], 2)
475
475
  ], 42, Hr)
476
476
  ];
477
477
  }),
478
478
  _: 3
479
479
  }, 8, ["custom", "to"])),
480
- ($ = a.item.items) != null && $.length && a.item.expanded ? (p(), k("ul", {
480
+ (E = a.item.items) != null && E.length && a.item.expanded ? (p(), T("ul", {
481
481
  key: 0,
482
482
  id: `subnav-${a.item.key}`,
483
483
  class: "level-secondary"
484
484
  }, [
485
- (p(!0), k($e, null, be(a.item.items, (M) => (p(), H(j, {
486
- key: M.name,
487
- item: M,
485
+ (p(!0), T(Ee, null, pe(a.item.items, (j) => (p(), W(P, {
486
+ key: j.name,
487
+ item: j,
488
488
  "subnav-item": !0,
489
- onClick: (V) => b(M)
489
+ onClick: (ne) => b(j)
490
490
  }, null, 8, ["item", "onClick"]))), 128))
491
- ], 8, qr)) : I("", !0)
491
+ ], 8, qr)) : $("", !0)
492
492
  ], 10, Zr);
493
493
  };
494
494
  }
@@ -497,7 +497,7 @@ const Ar = "#ffffff", Fr = "#000933", Nr = "#000933", Dr = "#ffffff", Rr = "0px"
497
497
  * tabbable 6.2.0
498
498
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
499
499
  */
500
- var na = ["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])"], Ye = /* @__PURE__ */ na.join(","), ra = typeof Element > "u", ke = ra ? function() {
500
+ var na = ["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])"], Ye = /* @__PURE__ */ na.join(","), ra = typeof Element > "u", _e = ra ? function() {
501
501
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Qe = !ra && Element.prototype.getRootNode ? function(a) {
502
502
  var t;
503
503
  return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
@@ -506,7 +506,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
506
506
  }, Je = function a(t, r) {
507
507
  var n;
508
508
  r === void 0 && (r = !0);
509
- var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), c = s === "" || s === "true", o = c || r && t && a(t.parentNode);
509
+ var s = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), u = s === "" || s === "true", o = u || r && t && a(t.parentNode);
510
510
  return o;
511
511
  }, Yr = function(t) {
512
512
  var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
@@ -515,41 +515,41 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
515
515
  if (Je(t))
516
516
  return [];
517
517
  var s = Array.prototype.slice.apply(t.querySelectorAll(Ye));
518
- return r && ke.call(t, Ye) && s.unshift(t), s = s.filter(n), s;
518
+ return r && _e.call(t, Ye) && s.unshift(t), s = s.filter(n), s;
519
519
  }, oa = function a(t, r, n) {
520
- for (var s = [], c = Array.from(t); c.length; ) {
521
- var o = c.shift();
520
+ for (var s = [], u = Array.from(t); u.length; ) {
521
+ var o = u.shift();
522
522
  if (!Je(o, !1))
523
523
  if (o.tagName === "SLOT") {
524
- var f = o.assignedElements(), b = f.length ? f : o.children, w = a(b, !0, n);
525
- n.flatten ? s.push.apply(s, w) : s.push({
524
+ var d = o.assignedElements(), b = d.length ? d : o.children, k = a(b, !0, n);
525
+ n.flatten ? s.push.apply(s, k) : s.push({
526
526
  scopeParent: o,
527
- candidates: w
527
+ candidates: k
528
528
  });
529
529
  } else {
530
- var T = ke.call(o, Ye);
531
- T && n.filter(o) && (r || !t.includes(o)) && s.push(o);
532
- var R = o.shadowRoot || // check for an undisclosed shadow
533
- typeof n.getShadowRoot == "function" && n.getShadowRoot(o), x = !Je(R, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
534
- if (R && x) {
535
- var j = a(R === !0 ? o.children : R.children, !0, n);
536
- n.flatten ? s.push.apply(s, j) : s.push({
530
+ var _ = _e.call(o, Ye);
531
+ _ && n.filter(o) && (r || !t.includes(o)) && s.push(o);
532
+ var x = o.shadowRoot || // check for an undisclosed shadow
533
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(o), B = !Je(x, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
534
+ if (x && B) {
535
+ var P = a(x === !0 ? o.children : x.children, !0, n);
536
+ n.flatten ? s.push.apply(s, P) : s.push({
537
537
  scopeParent: o,
538
- candidates: j
538
+ candidates: P
539
539
  });
540
540
  } else
541
- c.unshift.apply(c, o.children);
541
+ u.unshift.apply(u, o.children);
542
542
  }
543
543
  }
544
544
  return s;
545
545
  }, sa = function(t) {
546
546
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
547
- }, we = function(t) {
547
+ }, ke = function(t) {
548
548
  if (!t)
549
549
  throw new Error("No node provided");
550
550
  return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Yr(t)) && !sa(t) ? 0 : t.tabIndex;
551
551
  }, Qr = function(t, r) {
552
- var n = we(t);
552
+ var n = ke(t);
553
553
  return n < 0 && r && !sa(t) ? 0 : n;
554
554
  }, Jr = function(t, r) {
555
555
  return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
@@ -569,8 +569,8 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
569
569
  }, ni = function(t) {
570
570
  if (!t.name)
571
571
  return !0;
572
- var r = t.form || Qe(t), n = function(f) {
573
- return r.querySelectorAll('input[type="radio"][name="' + f + '"]');
572
+ var r = t.form || Qe(t), n = function(d) {
573
+ return r.querySelectorAll('input[type="radio"][name="' + d + '"]');
574
574
  }, s;
575
575
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
576
576
  s = n(window.CSS.escape(t.name));
@@ -580,22 +580,22 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
580
580
  } catch (o) {
581
581
  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;
582
582
  }
583
- var c = ai(s, t.form);
584
- return !c || c === t;
583
+ var u = ai(s, t.form);
584
+ return !u || u === t;
585
585
  }, ri = function(t) {
586
586
  return la(t) && t.type === "radio";
587
587
  }, ii = function(t) {
588
588
  return ri(t) && !ni(t);
589
589
  }, oi = function(t) {
590
- var r, n = t && Qe(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, c = !1;
590
+ var r, n = t && Qe(t), s = (r = n) === null || r === void 0 ? void 0 : r.host, u = !1;
591
591
  if (n && n !== t) {
592
- var o, f, b;
593
- for (c = !!((o = s) !== null && o !== void 0 && (f = o.ownerDocument) !== null && f !== void 0 && f.contains(s) || t != null && (b = t.ownerDocument) !== null && b !== void 0 && b.contains(t)); !c && s; ) {
594
- var w, T, R;
595
- n = Qe(s), s = (w = n) === null || w === void 0 ? void 0 : w.host, c = !!((T = s) !== null && T !== void 0 && (R = T.ownerDocument) !== null && R !== void 0 && R.contains(s));
592
+ var o, d, b;
593
+ for (u = !!((o = s) !== null && o !== void 0 && (d = o.ownerDocument) !== null && d !== void 0 && d.contains(s) || t != null && (b = t.ownerDocument) !== null && b !== void 0 && b.contains(t)); !u && s; ) {
594
+ var k, _, x;
595
+ n = Qe(s), s = (k = n) === null || k === void 0 ? void 0 : k.host, u = !!((_ = s) !== null && _ !== void 0 && (x = _.ownerDocument) !== null && x !== void 0 && x.contains(s));
596
596
  }
597
597
  }
598
- return c;
598
+ return u;
599
599
  }, Gt = function(t) {
600
600
  var r = t.getBoundingClientRect(), n = r.width, s = r.height;
601
601
  return n === 0 && s === 0;
@@ -603,18 +603,18 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
603
603
  var n = r.displayCheck, s = r.getShadowRoot;
604
604
  if (getComputedStyle(t).visibility === "hidden")
605
605
  return !0;
606
- var c = ke.call(t, "details>summary:first-of-type"), o = c ? t.parentElement : t;
607
- if (ke.call(o, "details:not([open]) *"))
606
+ var u = _e.call(t, "details>summary:first-of-type"), o = u ? t.parentElement : t;
607
+ if (_e.call(o, "details:not([open]) *"))
608
608
  return !0;
609
609
  if (!n || n === "full" || n === "legacy-full") {
610
610
  if (typeof s == "function") {
611
- for (var f = t; t; ) {
612
- var b = t.parentElement, w = Qe(t);
611
+ for (var d = t; t; ) {
612
+ var b = t.parentElement, k = Qe(t);
613
613
  if (b && !b.shadowRoot && s(b) === !0)
614
614
  return Gt(t);
615
- t.assignedSlot ? t = t.assignedSlot : !b && w !== t.ownerDocument ? t = w.host : t = b;
615
+ t.assignedSlot ? t = t.assignedSlot : !b && k !== t.ownerDocument ? t = k.host : t = b;
616
616
  }
617
- t = f;
617
+ t = d;
618
618
  }
619
619
  if (oi(t))
620
620
  return !t.getClientRects().length;
@@ -630,7 +630,7 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
630
630
  for (var n = 0; n < r.children.length; n++) {
631
631
  var s = r.children.item(n);
632
632
  if (s.tagName === "LEGEND")
633
- return ke.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
633
+ return _e.call(r, "fieldset[disabled] *") ? !0 : !s.contains(t);
634
634
  }
635
635
  return !0;
636
636
  }
@@ -644,23 +644,23 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
644
644
  Je(r) || ei(r) || si(r, t) || // For a details element with a summary, the summary element gets the focus
645
645
  ti(r) || li(r));
646
646
  }, mt = function(t, r) {
647
- return !(ii(r) || we(r) < 0 || !et(t, r));
647
+ return !(ii(r) || ke(r) < 0 || !et(t, r));
648
648
  }, ci = function(t) {
649
649
  var r = parseInt(t.getAttribute("tabindex"), 10);
650
650
  return !!(isNaN(r) || r >= 0);
651
651
  }, ui = function a(t) {
652
652
  var r = [], n = [];
653
- return t.forEach(function(s, c) {
654
- var o = !!s.scopeParent, f = o ? s.scopeParent : s, b = Qr(f, o), w = o ? a(s.candidates) : f;
655
- b === 0 ? o ? r.push.apply(r, w) : r.push(f) : n.push({
656
- documentOrder: c,
653
+ return t.forEach(function(s, u) {
654
+ var o = !!s.scopeParent, d = o ? s.scopeParent : s, b = Qr(d, o), k = o ? a(s.candidates) : d;
655
+ b === 0 ? o ? r.push.apply(r, k) : r.push(d) : n.push({
656
+ documentOrder: u,
657
657
  tabIndex: b,
658
658
  item: s,
659
659
  isScope: o,
660
- content: w
660
+ content: k
661
661
  });
662
- }), n.sort(Jr).reduce(function(s, c) {
663
- return c.isScope ? s.push.apply(s, c.content) : s.push(c.content), s;
662
+ }), n.sort(Jr).reduce(function(s, u) {
663
+ return u.isScope ? s.push.apply(s, u.content) : s.push(u.content), s;
664
664
  }, []).concat(r);
665
665
  }, di = function(t, r) {
666
666
  r = r || {};
@@ -679,14 +679,14 @@ var na = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
679
679
  flatten: !0,
680
680
  getShadowRoot: r.getShadowRoot
681
681
  }) : n = ia(t, r.includeContainer, et.bind(null, r)), n;
682
- }, Ie = function(t, r) {
682
+ }, Oe = function(t, r) {
683
683
  if (r = r || {}, !t)
684
684
  throw new Error("No node provided");
685
- return ke.call(t, Ye) === !1 ? !1 : mt(r, t);
685
+ return _e.call(t, Ye) === !1 ? !1 : mt(r, t);
686
686
  }, vi = /* @__PURE__ */ na.concat("iframe").join(","), ht = function(t, r) {
687
687
  if (r = r || {}, !t)
688
688
  throw new Error("No node provided");
689
- return ke.call(t, vi) === !1 ? !1 : et(r, t);
689
+ return _e.call(t, vi) === !1 ? !1 : et(r, t);
690
690
  };
691
691
  /*!
692
692
  * focus-trap 7.6.5
@@ -792,7 +792,7 @@ var qt = {
792
792
  }, Ue = function(t) {
793
793
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
794
794
  }, Ii = [], $i = function(t, r) {
795
- var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ii, c = Vt({
795
+ var n = (r == null ? void 0 : r.document) || document, s = (r == null ? void 0 : r.trapStack) || Ii, u = Vt({
796
796
  returnFocusOnDeactivate: !0,
797
797
  escapeDeactivates: !0,
798
798
  delayInitialFocus: !0,
@@ -835,74 +835,74 @@ var qt = {
835
835
  delayInitialFocusTimer: void 0,
836
836
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
837
837
  recentNavEvent: void 0
838
- }, f, b = function(u, v, g) {
839
- return u && u[v] !== void 0 ? u[v] : c[g || v];
840
- }, w = function(u, v) {
841
- var g = typeof (v == null ? void 0 : v.composedPath) == "function" ? v.composedPath() : void 0;
842
- return o.containerGroups.findIndex(function(N) {
843
- var D = N.container, B = N.tabbableNodes;
844
- return D.contains(u) || // fall back to explicit tabbable search which will take into consideration any
838
+ }, d, b = function(l, f, m) {
839
+ return l && l[f] !== void 0 ? l[f] : u[m || f];
840
+ }, k = function(l, f) {
841
+ var m = typeof (f == null ? void 0 : f.composedPath) == "function" ? f.composedPath() : void 0;
842
+ return o.containerGroups.findIndex(function(A) {
843
+ var R = A.container, M = A.tabbableNodes;
844
+ return R.contains(l) || // fall back to explicit tabbable search which will take into consideration any
845
845
  // web components if the `tabbableOptions.getShadowRoot` option was used for
846
846
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
847
847
  // look inside web components even if open)
848
- (g == null ? void 0 : g.includes(D)) || B.find(function(O) {
849
- return O === u;
848
+ (m == null ? void 0 : m.includes(R)) || M.find(function(O) {
849
+ return O === l;
850
850
  });
851
851
  });
852
- }, T = function(u) {
853
- var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = v.hasFallback, N = g === void 0 ? !1 : g, D = v.params, B = D === void 0 ? [] : D, O = c[u];
854
- if (typeof O == "function" && (O = O.apply(void 0, gi(B))), O === !0 && (O = void 0), !O) {
852
+ }, _ = function(l) {
853
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = f.hasFallback, A = m === void 0 ? !1 : m, R = f.params, M = R === void 0 ? [] : R, O = u[l];
854
+ if (typeof O == "function" && (O = O.apply(void 0, gi(M))), O === !0 && (O = void 0), !O) {
855
855
  if (O === void 0 || O === !1)
856
856
  return O;
857
- throw new Error("`".concat(u, "` was specified but was not a node, or did not return a node"));
857
+ throw new Error("`".concat(l, "` was specified but was not a node, or did not return a node"));
858
858
  }
859
- var d = O;
859
+ var w = O;
860
860
  if (typeof O == "string") {
861
861
  try {
862
- d = n.querySelector(O);
863
- } catch (y) {
864
- throw new Error("`".concat(u, '` appears to be an invalid selector; error="').concat(y.message, '"'));
862
+ w = n.querySelector(O);
863
+ } catch (v) {
864
+ throw new Error("`".concat(l, '` appears to be an invalid selector; error="').concat(v.message, '"'));
865
865
  }
866
- if (!d && !N)
867
- throw new Error("`".concat(u, "` as selector refers to no known node"));
866
+ if (!w && !A)
867
+ throw new Error("`".concat(l, "` as selector refers to no known node"));
868
868
  }
869
- return d;
870
- }, R = function() {
871
- var u = T("initialFocus", {
869
+ return w;
870
+ }, x = function() {
871
+ var l = _("initialFocus", {
872
872
  hasFallback: !0
873
873
  });
874
- if (u === !1)
874
+ if (l === !1)
875
875
  return !1;
876
- if (u === void 0 || u && !ht(u, c.tabbableOptions))
877
- if (w(n.activeElement) >= 0)
878
- u = n.activeElement;
876
+ if (l === void 0 || l && !ht(l, u.tabbableOptions))
877
+ if (k(n.activeElement) >= 0)
878
+ l = n.activeElement;
879
879
  else {
880
- var v = o.tabbableGroups[0], g = v && v.firstTabbableNode;
881
- u = g || T("fallbackFocus");
880
+ var f = o.tabbableGroups[0], m = f && f.firstTabbableNode;
881
+ l = m || _("fallbackFocus");
882
882
  }
883
- else u === null && (u = T("fallbackFocus"));
884
- if (!u)
883
+ else l === null && (l = _("fallbackFocus"));
884
+ if (!l)
885
885
  throw new Error("Your focus-trap needs to have at least one focusable element");
886
- return u;
887
- }, x = function() {
888
- if (o.containerGroups = o.containers.map(function(u) {
889
- var v = di(u, c.tabbableOptions), g = fi(u, c.tabbableOptions), N = v.length > 0 ? v[0] : void 0, D = v.length > 0 ? v[v.length - 1] : void 0, B = g.find(function(y) {
890
- return Ie(y);
891
- }), O = g.slice().reverse().find(function(y) {
892
- return Ie(y);
893
- }), d = !!v.find(function(y) {
894
- return we(y) > 0;
886
+ return l;
887
+ }, B = function() {
888
+ if (o.containerGroups = o.containers.map(function(l) {
889
+ var f = di(l, u.tabbableOptions), m = fi(l, u.tabbableOptions), A = f.length > 0 ? f[0] : void 0, R = f.length > 0 ? f[f.length - 1] : void 0, M = m.find(function(v) {
890
+ return Oe(v);
891
+ }), O = m.slice().reverse().find(function(v) {
892
+ return Oe(v);
893
+ }), w = !!f.find(function(v) {
894
+ return ke(v) > 0;
895
895
  });
896
896
  return {
897
- container: u,
898
- tabbableNodes: v,
899
- focusableNodes: g,
897
+ container: l,
898
+ tabbableNodes: f,
899
+ focusableNodes: m,
900
900
  /** True if at least one node with positive `tabindex` was found in this container. */
901
- posTabIndexesFound: d,
901
+ posTabIndexesFound: w,
902
902
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
903
- firstTabbableNode: N,
903
+ firstTabbableNode: A,
904
904
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
905
- lastTabbableNode: D,
905
+ lastTabbableNode: R,
906
906
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
907
907
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
908
908
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -911,7 +911,7 @@ var qt = {
911
911
  // "close enough most of the time" alternative for positive tabindexes which should generally
912
912
  // be avoided anyway...
913
913
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
914
- firstDomTabbableNode: B,
914
+ firstDomTabbableNode: M,
915
915
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
916
916
  lastDomTabbableNode: O,
917
917
  /**
@@ -922,240 +922,240 @@ var qt = {
922
922
  * in reverse.
923
923
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
924
924
  */
925
- nextTabbableNode: function(_) {
926
- var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, z = v.indexOf(_);
927
- return z < 0 ? m ? g.slice(g.indexOf(_) + 1).find(function(P) {
928
- return Ie(P);
929
- }) : g.slice(0, g.indexOf(_)).reverse().find(function(P) {
930
- return Ie(P);
931
- }) : v[z + (m ? 1 : -1)];
925
+ nextTabbableNode: function(C) {
926
+ var y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = f.indexOf(C);
927
+ return g < 0 ? y ? m.slice(m.indexOf(C) + 1).find(function(Y) {
928
+ return Oe(Y);
929
+ }) : m.slice(0, m.indexOf(C)).reverse().find(function(Y) {
930
+ return Oe(Y);
931
+ }) : f[g + (y ? 1 : -1)];
932
932
  }
933
933
  };
934
- }), o.tabbableGroups = o.containerGroups.filter(function(u) {
935
- return u.tabbableNodes.length > 0;
936
- }), o.tabbableGroups.length <= 0 && !T("fallbackFocus"))
934
+ }), o.tabbableGroups = o.containerGroups.filter(function(l) {
935
+ return l.tabbableNodes.length > 0;
936
+ }), o.tabbableGroups.length <= 0 && !_("fallbackFocus"))
937
937
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
938
- if (o.containerGroups.find(function(u) {
939
- return u.posTabIndexesFound;
938
+ if (o.containerGroups.find(function(l) {
939
+ return l.posTabIndexesFound;
940
940
  }) && o.containerGroups.length > 1)
941
941
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
942
- }, j = function(u) {
943
- var v = u.activeElement;
944
- if (v)
945
- return v.shadowRoot && v.shadowRoot.activeElement !== null ? j(v.shadowRoot) : v;
946
- }, $ = function(u) {
947
- if (u !== !1 && u !== j(document)) {
948
- if (!u || !u.focus) {
949
- $(R());
942
+ }, P = function(l) {
943
+ var f = l.activeElement;
944
+ if (f)
945
+ return f.shadowRoot && f.shadowRoot.activeElement !== null ? P(f.shadowRoot) : f;
946
+ }, E = function(l) {
947
+ if (l !== !1 && l !== P(document)) {
948
+ if (!l || !l.focus) {
949
+ E(x());
950
950
  return;
951
951
  }
952
- u.focus({
953
- preventScroll: !!c.preventScroll
954
- }), o.mostRecentlyFocusedNode = u, Ti(u) && u.select();
952
+ l.focus({
953
+ preventScroll: !!u.preventScroll
954
+ }), o.mostRecentlyFocusedNode = l, Ti(l) && l.select();
955
955
  }
956
- }, M = function(u) {
957
- var v = T("setReturnFocus", {
958
- params: [u]
956
+ }, j = function(l) {
957
+ var f = _("setReturnFocus", {
958
+ params: [l]
959
959
  });
960
- return v || (v === !1 ? !1 : u);
961
- }, V = function(u) {
962
- var v = u.target, g = u.event, N = u.isBackward, D = N === void 0 ? !1 : N;
963
- v = v || Ue(g), x();
964
- var B = null;
960
+ return f || (f === !1 ? !1 : l);
961
+ }, ne = function(l) {
962
+ var f = l.target, m = l.event, A = l.isBackward, R = A === void 0 ? !1 : A;
963
+ f = f || Ue(m), B();
964
+ var M = null;
965
965
  if (o.tabbableGroups.length > 0) {
966
- var O = w(v, g), d = O >= 0 ? o.containerGroups[O] : void 0;
966
+ var O = k(f, m), w = O >= 0 ? o.containerGroups[O] : void 0;
967
967
  if (O < 0)
968
- D ? B = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : B = o.tabbableGroups[0].firstTabbableNode;
969
- else if (D) {
970
- var y = o.tabbableGroups.findIndex(function(le) {
971
- var Fe = le.firstTabbableNode;
972
- return v === Fe;
968
+ R ? M = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : M = o.tabbableGroups[0].firstTabbableNode;
969
+ else if (R) {
970
+ var v = o.tabbableGroups.findIndex(function(X) {
971
+ var ce = X.firstTabbableNode;
972
+ return f === ce;
973
973
  });
974
- if (y < 0 && (d.container === v || ht(v, c.tabbableOptions) && !Ie(v, c.tabbableOptions) && !d.nextTabbableNode(v, !1)) && (y = O), y >= 0) {
975
- var _ = y === 0 ? o.tabbableGroups.length - 1 : y - 1, m = o.tabbableGroups[_];
976
- B = we(v) >= 0 ? m.lastTabbableNode : m.lastDomTabbableNode;
977
- } else xe(g) || (B = d.nextTabbableNode(v, !1));
974
+ if (v < 0 && (w.container === f || ht(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !w.nextTabbableNode(f, !1)) && (v = O), v >= 0) {
975
+ var C = v === 0 ? o.tabbableGroups.length - 1 : v - 1, y = o.tabbableGroups[C];
976
+ M = ke(f) >= 0 ? y.lastTabbableNode : y.lastDomTabbableNode;
977
+ } else xe(m) || (M = w.nextTabbableNode(f, !1));
978
978
  } else {
979
- var z = o.tabbableGroups.findIndex(function(le) {
980
- var Fe = le.lastTabbableNode;
981
- return v === Fe;
979
+ var g = o.tabbableGroups.findIndex(function(X) {
980
+ var ce = X.lastTabbableNode;
981
+ return f === ce;
982
982
  });
983
- if (z < 0 && (d.container === v || ht(v, c.tabbableOptions) && !Ie(v, c.tabbableOptions) && !d.nextTabbableNode(v)) && (z = O), z >= 0) {
984
- var P = z === o.tabbableGroups.length - 1 ? 0 : z + 1, X = o.tabbableGroups[P];
985
- B = we(v) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
986
- } else xe(g) || (B = d.nextTabbableNode(v));
983
+ if (g < 0 && (w.container === f || ht(f, u.tabbableOptions) && !Oe(f, u.tabbableOptions) && !w.nextTabbableNode(f)) && (g = O), g >= 0) {
984
+ var Y = g === o.tabbableGroups.length - 1 ? 0 : g + 1, H = o.tabbableGroups[Y];
985
+ M = ke(f) >= 0 ? H.firstTabbableNode : H.firstDomTabbableNode;
986
+ } else xe(m) || (M = w.nextTabbableNode(f));
987
987
  }
988
988
  } else
989
- B = T("fallbackFocus");
990
- return B;
991
- }, K = function(u) {
992
- var v = Ue(u);
993
- if (!(w(v, u) >= 0)) {
994
- if (Re(c.clickOutsideDeactivates, u)) {
995
- f.deactivate({
989
+ M = _("fallbackFocus");
990
+ return M;
991
+ }, K = function(l) {
992
+ var f = Ue(l);
993
+ if (!(k(f, l) >= 0)) {
994
+ if (Re(u.clickOutsideDeactivates, l)) {
995
+ d.deactivate({
996
996
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
997
997
  // which will result in the outside click setting focus to the node
998
998
  // that was clicked (and if not focusable, to "nothing"); by setting
999
999
  // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
1000
1000
  // on activation (or the configured `setReturnFocus` node), whether the
1001
1001
  // outside click was on a focusable node or not
1002
- returnFocus: c.returnFocusOnDeactivate
1002
+ returnFocus: u.returnFocusOnDeactivate
1003
1003
  });
1004
1004
  return;
1005
1005
  }
1006
- Re(c.allowOutsideClick, u) || u.preventDefault();
1006
+ Re(u.allowOutsideClick, l) || l.preventDefault();
1007
1007
  }
1008
- }, te = function(u) {
1009
- var v = Ue(u), g = w(v, u) >= 0;
1010
- if (g || v instanceof Document)
1011
- g && (o.mostRecentlyFocusedNode = v);
1008
+ }, z = function(l) {
1009
+ var f = Ue(l), m = k(f, l) >= 0;
1010
+ if (m || f instanceof Document)
1011
+ m && (o.mostRecentlyFocusedNode = f);
1012
1012
  else {
1013
- u.stopImmediatePropagation();
1014
- var N, D = !0;
1013
+ l.stopImmediatePropagation();
1014
+ var A, R = !0;
1015
1015
  if (o.mostRecentlyFocusedNode)
1016
- if (we(o.mostRecentlyFocusedNode) > 0) {
1017
- var B = w(o.mostRecentlyFocusedNode), O = o.containerGroups[B].tabbableNodes;
1016
+ if (ke(o.mostRecentlyFocusedNode) > 0) {
1017
+ var M = k(o.mostRecentlyFocusedNode), O = o.containerGroups[M].tabbableNodes;
1018
1018
  if (O.length > 0) {
1019
- var d = O.findIndex(function(y) {
1020
- return y === o.mostRecentlyFocusedNode;
1019
+ var w = O.findIndex(function(v) {
1020
+ return v === o.mostRecentlyFocusedNode;
1021
1021
  });
1022
- d >= 0 && (c.isKeyForward(o.recentNavEvent) ? d + 1 < O.length && (N = O[d + 1], D = !1) : d - 1 >= 0 && (N = O[d - 1], D = !1));
1022
+ w >= 0 && (u.isKeyForward(o.recentNavEvent) ? w + 1 < O.length && (A = O[w + 1], R = !1) : w - 1 >= 0 && (A = O[w - 1], R = !1));
1023
1023
  }
1024
1024
  } else
1025
- o.containerGroups.some(function(y) {
1026
- return y.tabbableNodes.some(function(_) {
1027
- return we(_) > 0;
1025
+ o.containerGroups.some(function(v) {
1026
+ return v.tabbableNodes.some(function(C) {
1027
+ return ke(C) > 0;
1028
1028
  });
1029
- }) || (D = !1);
1029
+ }) || (R = !1);
1030
1030
  else
1031
- D = !1;
1032
- D && (N = V({
1031
+ R = !1;
1032
+ R && (A = ne({
1033
1033
  // move FROM the MRU node, not event-related node (which will be the node that is
1034
1034
  // outside the trap causing the focus escape we're trying to fix)
1035
1035
  target: o.mostRecentlyFocusedNode,
1036
- isBackward: c.isKeyBackward(o.recentNavEvent)
1037
- })), $(N || o.mostRecentlyFocusedNode || R());
1036
+ isBackward: u.isKeyBackward(o.recentNavEvent)
1037
+ })), E(A || o.mostRecentlyFocusedNode || x());
1038
1038
  }
1039
1039
  o.recentNavEvent = void 0;
1040
- }, de = function(u) {
1041
- var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1042
- o.recentNavEvent = u;
1043
- var g = V({
1044
- event: u,
1045
- isBackward: v
1040
+ }, fe = function(l) {
1041
+ var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1042
+ o.recentNavEvent = l;
1043
+ var m = ne({
1044
+ event: l,
1045
+ isBackward: f
1046
1046
  });
1047
- g && (xe(u) && u.preventDefault(), $(g));
1048
- }, q = function(u) {
1049
- (c.isKeyForward(u) || c.isKeyBackward(u)) && de(u, c.isKeyBackward(u));
1050
- }, re = function(u) {
1051
- _i(u) && Re(c.escapeDeactivates, u) !== !1 && (u.preventDefault(), f.deactivate());
1052
- }, ae = function(u) {
1053
- var v = Ue(u);
1054
- w(v, u) >= 0 || Re(c.clickOutsideDeactivates, u) || Re(c.allowOutsideClick, u) || (u.preventDefault(), u.stopImmediatePropagation());
1055
- }, ne = function() {
1047
+ m && (xe(l) && l.preventDefault(), E(m));
1048
+ }, le = function(l) {
1049
+ (u.isKeyForward(l) || u.isKeyBackward(l)) && fe(l, u.isKeyBackward(l));
1050
+ }, J = function(l) {
1051
+ _i(l) && Re(u.escapeDeactivates, l) !== !1 && (l.preventDefault(), d.deactivate());
1052
+ }, q = function(l) {
1053
+ var f = Ue(l);
1054
+ k(f, l) >= 0 || Re(u.clickOutsideDeactivates, l) || Re(u.allowOutsideClick, l) || (l.preventDefault(), l.stopImmediatePropagation());
1055
+ }, re = function() {
1056
1056
  if (o.active)
1057
- return qt.activateTrap(s, f), o.delayInitialFocusTimer = c.delayInitialFocus ? Xt(function() {
1058
- $(R());
1059
- }) : $(R()), n.addEventListener("focusin", te, !0), n.addEventListener("mousedown", K, {
1057
+ return qt.activateTrap(s, d), o.delayInitialFocusTimer = u.delayInitialFocus ? Xt(function() {
1058
+ E(x());
1059
+ }) : E(x()), n.addEventListener("focusin", z, !0), n.addEventListener("mousedown", K, {
1060
1060
  capture: !0,
1061
1061
  passive: !1
1062
1062
  }), n.addEventListener("touchstart", K, {
1063
1063
  capture: !0,
1064
1064
  passive: !1
1065
- }), n.addEventListener("click", ae, {
1065
+ }), n.addEventListener("click", q, {
1066
1066
  capture: !0,
1067
1067
  passive: !1
1068
- }), n.addEventListener("keydown", q, {
1068
+ }), n.addEventListener("keydown", le, {
1069
1069
  capture: !0,
1070
1070
  passive: !1
1071
- }), n.addEventListener("keydown", re), f;
1072
- }, F = function() {
1071
+ }), n.addEventListener("keydown", J), d;
1072
+ }, N = function() {
1073
1073
  if (o.active)
1074
- return n.removeEventListener("focusin", te, !0), n.removeEventListener("mousedown", K, !0), n.removeEventListener("touchstart", K, !0), n.removeEventListener("click", ae, !0), n.removeEventListener("keydown", q, !0), n.removeEventListener("keydown", re), f;
1075
- }, G = function(u) {
1076
- var v = u.some(function(g) {
1077
- var N = Array.from(g.removedNodes);
1078
- return N.some(function(D) {
1079
- return D === o.mostRecentlyFocusedNode;
1074
+ return n.removeEventListener("focusin", z, !0), n.removeEventListener("mousedown", K, !0), n.removeEventListener("touchstart", K, !0), n.removeEventListener("click", q, !0), n.removeEventListener("keydown", le, !0), n.removeEventListener("keydown", J), d;
1075
+ }, G = function(l) {
1076
+ var f = l.some(function(m) {
1077
+ var A = Array.from(m.removedNodes);
1078
+ return A.some(function(R) {
1079
+ return R === o.mostRecentlyFocusedNode;
1080
1080
  });
1081
1081
  });
1082
- v && $(R());
1083
- }, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(G) : void 0, W = function() {
1084
- Z && (Z.disconnect(), o.active && !o.paused && o.containers.map(function(u) {
1085
- Z.observe(u, {
1082
+ f && E(x());
1083
+ }, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(G) : void 0, U = function() {
1084
+ Z && (Z.disconnect(), o.active && !o.paused && o.containers.map(function(l) {
1085
+ Z.observe(l, {
1086
1086
  subtree: !0,
1087
1087
  childList: !0
1088
1088
  });
1089
1089
  }));
1090
1090
  };
1091
- return f = {
1091
+ return d = {
1092
1092
  get active() {
1093
1093
  return o.active;
1094
1094
  },
1095
1095
  get paused() {
1096
1096
  return o.paused;
1097
1097
  },
1098
- activate: function(u) {
1098
+ activate: function(l) {
1099
1099
  if (o.active)
1100
1100
  return this;
1101
- var v = b(u, "onActivate"), g = b(u, "onPostActivate"), N = b(u, "checkCanFocusTrap");
1102
- N || x(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = j(n), v == null || v();
1103
- var D = function() {
1104
- N && x(), ne(), W(), g == null || g();
1101
+ var f = b(l, "onActivate"), m = b(l, "onPostActivate"), A = b(l, "checkCanFocusTrap");
1102
+ A || B(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = P(n), f == null || f();
1103
+ var R = function() {
1104
+ A && B(), re(), U(), m == null || m();
1105
1105
  };
1106
- return N ? (N(o.containers.concat()).then(D, D), this) : (D(), this);
1106
+ return A ? (A(o.containers.concat()).then(R, R), this) : (R(), this);
1107
1107
  },
1108
- deactivate: function(u) {
1108
+ deactivate: function(l) {
1109
1109
  if (!o.active)
1110
1110
  return this;
1111
- var v = Vt({
1112
- onDeactivate: c.onDeactivate,
1113
- onPostDeactivate: c.onPostDeactivate,
1114
- checkCanReturnFocus: c.checkCanReturnFocus
1115
- }, u);
1116
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, F(), o.active = !1, o.paused = !1, W(), qt.deactivateTrap(s, f);
1117
- var g = b(v, "onDeactivate"), N = b(v, "onPostDeactivate"), D = b(v, "checkCanReturnFocus"), B = b(v, "returnFocus", "returnFocusOnDeactivate");
1118
- g == null || g();
1111
+ var f = Vt({
1112
+ onDeactivate: u.onDeactivate,
1113
+ onPostDeactivate: u.onPostDeactivate,
1114
+ checkCanReturnFocus: u.checkCanReturnFocus
1115
+ }, l);
1116
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, N(), o.active = !1, o.paused = !1, U(), qt.deactivateTrap(s, d);
1117
+ var m = b(f, "onDeactivate"), A = b(f, "onPostDeactivate"), R = b(f, "checkCanReturnFocus"), M = b(f, "returnFocus", "returnFocusOnDeactivate");
1118
+ m == null || m();
1119
1119
  var O = function() {
1120
1120
  Xt(function() {
1121
- B && $(M(o.nodeFocusedBeforeActivation)), N == null || N();
1121
+ M && E(j(o.nodeFocusedBeforeActivation)), A == null || A();
1122
1122
  });
1123
1123
  };
1124
- return B && D ? (D(M(o.nodeFocusedBeforeActivation)).then(O, O), this) : (O(), this);
1124
+ return M && R ? (R(j(o.nodeFocusedBeforeActivation)).then(O, O), this) : (O(), this);
1125
1125
  },
1126
- pause: function(u) {
1127
- return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, u)) : this;
1126
+ pause: function(l) {
1127
+ return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, l)) : this;
1128
1128
  },
1129
- unpause: function(u) {
1130
- return o.active ? (o.manuallyPaused = !1, s[s.length - 1] !== this ? this : this._setPausedState(!1, u)) : this;
1129
+ unpause: function(l) {
1130
+ return o.active ? (o.manuallyPaused = !1, s[s.length - 1] !== this ? this : this._setPausedState(!1, l)) : this;
1131
1131
  },
1132
- updateContainerElements: function(u) {
1133
- var v = [].concat(u).filter(Boolean);
1134
- return o.containers = v.map(function(g) {
1135
- return typeof g == "string" ? n.querySelector(g) : g;
1136
- }), o.active && x(), W(), this;
1132
+ updateContainerElements: function(l) {
1133
+ var f = [].concat(l).filter(Boolean);
1134
+ return o.containers = f.map(function(m) {
1135
+ return typeof m == "string" ? n.querySelector(m) : m;
1136
+ }), o.active && B(), U(), this;
1137
1137
  }
1138
- }, Object.defineProperties(f, {
1138
+ }, Object.defineProperties(d, {
1139
1139
  _isManuallyPaused: {
1140
1140
  value: function() {
1141
1141
  return o.manuallyPaused;
1142
1142
  }
1143
1143
  },
1144
1144
  _setPausedState: {
1145
- value: function(u, v) {
1146
- if (o.paused === u)
1145
+ value: function(l, f) {
1146
+ if (o.paused === l)
1147
1147
  return this;
1148
- if (o.paused = u, u) {
1149
- var g = b(v, "onPause"), N = b(v, "onPostPause");
1150
- g == null || g(), F(), W(), N == null || N();
1148
+ if (o.paused = l, l) {
1149
+ var m = b(f, "onPause"), A = b(f, "onPostPause");
1150
+ m == null || m(), N(), U(), A == null || A();
1151
1151
  } else {
1152
- var D = b(v, "onUnpause"), B = b(v, "onPostUnpause");
1153
- D == null || D(), x(), ne(), W(), B == null || B();
1152
+ var R = b(f, "onUnpause"), M = b(f, "onPostUnpause");
1153
+ R == null || R(), B(), re(), U(), M == null || M();
1154
1154
  }
1155
1155
  return this;
1156
1156
  }
1157
1157
  }
1158
- }), f.updateContainerElements(t), f;
1158
+ }), d.updateContainerElements(t), d;
1159
1159
  };
1160
1160
  /*!
1161
1161
  * focus-trap-vue v4.0.3
@@ -1209,12 +1209,12 @@ const Oi = {
1209
1209
  },
1210
1210
  setup(a, { slots: t, emit: r }) {
1211
1211
  let n;
1212
- const s = ee(null), c = S(() => {
1213
- const f = s.value;
1214
- return f && (f instanceof HTMLElement ? f : f.$el);
1212
+ const s = ae(null), u = S(() => {
1213
+ const d = s.value;
1214
+ return d && (d instanceof HTMLElement ? d : d.$el);
1215
1215
  });
1216
1216
  function o() {
1217
- return n || (n = $i(c.value, {
1217
+ return n || (n = $i(u.value, {
1218
1218
  escapeDeactivates: a.escapeDeactivates,
1219
1219
  allowOutsideClick: a.allowOutsideClick,
1220
1220
  returnFocusOnDeactivate: a.returnFocusOnDeactivate,
@@ -1235,8 +1235,8 @@ const Oi = {
1235
1235
  }));
1236
1236
  }
1237
1237
  return Pe(() => {
1238
- Ae(() => a.active, (f) => {
1239
- f && c.value ? o().activate() : n && (n.deactivate(), (!c.value || c.value.nodeType === Node.COMMENT_NODE) && (n = null));
1238
+ Te(() => a.active, (d) => {
1239
+ d && u.value ? o().activate() : n && (n.deactivate(), (!u.value || u.value.nodeType === Node.COMMENT_NODE) && (n = null));
1240
1240
  }, { immediate: !0, flush: "post" });
1241
1241
  }), Fn(() => {
1242
1242
  n && n.deactivate(), n = null;
@@ -1250,8 +1250,8 @@ const Oi = {
1250
1250
  renderImpl() {
1251
1251
  if (!t.default)
1252
1252
  return null;
1253
- const f = t.default().filter((w) => w.type !== Nn);
1254
- return !f || !f.length || f.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), f) : Dn(f[0], { ref: s });
1253
+ const d = t.default().filter((k) => k.type !== Nn);
1254
+ return !d || !d.length || d.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), d) : Dn(d[0], { ref: s });
1255
1255
  }
1256
1256
  };
1257
1257
  }
@@ -1275,33 +1275,33 @@ function Ai(a) {
1275
1275
  var tt = { exports: {} };
1276
1276
  tt.exports;
1277
1277
  (function(a, t) {
1278
- var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, c = "[object Arguments]", o = "[object Array]", f = "[object Boolean]", b = "[object Date]", w = "[object Error]", T = "[object Function]", R = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", $ = "[object Object]", M = "[object Promise]", V = "[object RegExp]", K = "[object Set]", te = "[object String]", de = "[object Symbol]", q = "[object WeakMap]", re = "[object ArrayBuffer]", ae = "[object DataView]", ne = "[object Float32Array]", F = "[object Float64Array]", G = "[object Int8Array]", Z = "[object Int16Array]", W = "[object Int32Array]", A = "[object Uint8Array]", u = "[object Uint8ClampedArray]", v = "[object Uint16Array]", g = "[object Uint32Array]", N = /[\\^$.*+?()[\]{}|]/g, D = /\w*$/, B = /^\[object .+?Constructor\]$/, O = /^(?:0|[1-9]\d*)$/, d = {};
1279
- d[c] = d[o] = d[re] = d[ae] = d[f] = d[b] = d[ne] = d[F] = d[G] = d[Z] = d[W] = d[x] = d[j] = d[$] = d[V] = d[K] = d[te] = d[de] = d[A] = d[u] = d[v] = d[g] = !0, d[w] = d[T] = d[q] = !1;
1280
- var y = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, _ = typeof self == "object" && self && self.Object === Object && self, m = y || _ || Function("return this")(), z = t && !t.nodeType && t, P = z && !0 && a && !a.nodeType && a, X = P && P.exports === z;
1281
- function le(e, i) {
1278
+ var r = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, u = "[object Arguments]", o = "[object Array]", d = "[object Boolean]", b = "[object Date]", k = "[object Error]", _ = "[object Function]", x = "[object GeneratorFunction]", B = "[object Map]", P = "[object Number]", E = "[object Object]", j = "[object Promise]", ne = "[object RegExp]", K = "[object Set]", z = "[object String]", fe = "[object Symbol]", le = "[object WeakMap]", J = "[object ArrayBuffer]", q = "[object DataView]", re = "[object Float32Array]", N = "[object Float64Array]", G = "[object Int8Array]", Z = "[object Int16Array]", U = "[object Int32Array]", D = "[object Uint8Array]", l = "[object Uint8ClampedArray]", f = "[object Uint16Array]", m = "[object Uint32Array]", A = /[\\^$.*+?()[\]{}|]/g, R = /\w*$/, M = /^\[object .+?Constructor\]$/, O = /^(?:0|[1-9]\d*)$/, w = {};
1279
+ w[u] = w[o] = w[J] = w[q] = w[d] = w[b] = w[re] = w[N] = w[G] = w[Z] = w[U] = w[B] = w[P] = w[E] = w[ne] = w[K] = w[z] = w[fe] = w[D] = w[l] = w[f] = w[m] = !0, w[k] = w[_] = w[le] = !1;
1280
+ var v = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, C = typeof self == "object" && self && self.Object === Object && self, y = v || C || Function("return this")(), g = t && !t.nodeType && t, Y = g && !0 && a && !a.nodeType && a, H = Y && Y.exports === g;
1281
+ function X(e, i) {
1282
1282
  return e.set(i[0], i[1]), e;
1283
1283
  }
1284
- function Fe(e, i) {
1284
+ function ce(e, i) {
1285
1285
  return e.add(i), e;
1286
1286
  }
1287
1287
  function ua(e, i) {
1288
- for (var l = -1, h = e ? e.length : 0; ++l < h && i(e[l], l, e) !== !1; )
1288
+ for (var c = -1, h = e ? e.length : 0; ++c < h && i(e[c], c, e) !== !1; )
1289
1289
  ;
1290
1290
  return e;
1291
1291
  }
1292
1292
  function da(e, i) {
1293
- for (var l = -1, h = i.length, U = e.length; ++l < h; )
1294
- e[U + l] = i[l];
1293
+ for (var c = -1, h = i.length, V = e.length; ++c < h; )
1294
+ e[V + c] = i[c];
1295
1295
  return e;
1296
1296
  }
1297
- function wt(e, i, l, h) {
1298
- for (var U = -1, Q = e ? e.length : 0; ++U < Q; )
1299
- l = i(l, e[U], U, e);
1300
- return l;
1297
+ function wt(e, i, c, h) {
1298
+ for (var V = -1, ee = e ? e.length : 0; ++V < ee; )
1299
+ c = i(c, e[V], V, e);
1300
+ return c;
1301
1301
  }
1302
1302
  function fa(e, i) {
1303
- for (var l = -1, h = Array(e); ++l < e; )
1304
- h[l] = i(l);
1303
+ for (var c = -1, h = Array(e); ++c < e; )
1304
+ h[c] = i(c);
1305
1305
  return h;
1306
1306
  }
1307
1307
  function va(e, i) {
@@ -1317,31 +1317,31 @@ tt.exports;
1317
1317
  return i;
1318
1318
  }
1319
1319
  function Tt(e) {
1320
- var i = -1, l = Array(e.size);
1321
- return e.forEach(function(h, U) {
1322
- l[++i] = [U, h];
1323
- }), l;
1320
+ var i = -1, c = Array(e.size);
1321
+ return e.forEach(function(h, V) {
1322
+ c[++i] = [V, h];
1323
+ }), c;
1324
1324
  }
1325
1325
  function at(e, i) {
1326
- return function(l) {
1327
- return e(i(l));
1326
+ return function(c) {
1327
+ return e(i(c));
1328
1328
  };
1329
1329
  }
1330
1330
  function _t(e) {
1331
- var i = -1, l = Array(e.size);
1331
+ var i = -1, c = Array(e.size);
1332
1332
  return e.forEach(function(h) {
1333
- l[++i] = h;
1334
- }), l;
1333
+ c[++i] = h;
1334
+ }), c;
1335
1335
  }
1336
- var ba = Array.prototype, pa = Function.prototype, Ke = Object.prototype, nt = m["__core-js_shared__"], St = function() {
1336
+ var ba = Array.prototype, pa = Function.prototype, Ke = Object.prototype, nt = y["__core-js_shared__"], St = function() {
1337
1337
  var e = /[^.]+$/.exec(nt && nt.keys && nt.keys.IE_PROTO || "");
1338
1338
  return e ? "Symbol(src)_1." + e : "";
1339
- }(), Ct = pa.toString, fe = Ke.hasOwnProperty, Ze = Ke.toString, ha = RegExp(
1340
- "^" + Ct.call(fe).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1341
- ), It = X ? m.Buffer : void 0, $t = m.Symbol, Ot = m.Uint8Array, ma = at(Object.getPrototypeOf, Object), ga = Object.create, ya = Ke.propertyIsEnumerable, wa = ba.splice, Et = Object.getOwnPropertySymbols, ka = It ? It.isBuffer : void 0, Ta = at(Object.keys, Object), rt = Se(m, "DataView"), Ne = Se(m, "Map"), it = Se(m, "Promise"), ot = Se(m, "Set"), st = Se(m, "WeakMap"), De = Se(Object, "create"), _a = ge(rt), Sa = ge(Ne), Ca = ge(it), Ia = ge(ot), $a = ge(st), At = $t ? $t.prototype : void 0, Ft = At ? At.valueOf : void 0;
1342
- function he(e) {
1343
- var i = -1, l = e ? e.length : 0;
1344
- for (this.clear(); ++i < l; ) {
1339
+ }(), Ct = pa.toString, ve = Ke.hasOwnProperty, Ze = Ke.toString, ha = RegExp(
1340
+ "^" + Ct.call(ve).replace(A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1341
+ ), It = H ? y.Buffer : void 0, $t = y.Symbol, Ot = y.Uint8Array, ma = at(Object.getPrototypeOf, Object), ga = Object.create, ya = Ke.propertyIsEnumerable, wa = ba.splice, Et = Object.getOwnPropertySymbols, ka = It ? It.isBuffer : void 0, Ta = at(Object.keys, Object), rt = Ie(y, "DataView"), Ne = Ie(y, "Map"), it = Ie(y, "Promise"), ot = Ie(y, "Set"), st = Ie(y, "WeakMap"), De = Ie(Object, "create"), _a = ye(rt), Sa = ye(Ne), Ca = ye(it), Ia = ye(ot), $a = ye(st), At = $t ? $t.prototype : void 0, Ft = At ? At.valueOf : void 0;
1342
+ function me(e) {
1343
+ var i = -1, c = e ? e.length : 0;
1344
+ for (this.clear(); ++i < c; ) {
1345
1345
  var h = e[i];
1346
1346
  this.set(h[0], h[1]);
1347
1347
  }
@@ -1355,23 +1355,23 @@ tt.exports;
1355
1355
  function Aa(e) {
1356
1356
  var i = this.__data__;
1357
1357
  if (De) {
1358
- var l = i[e];
1359
- return l === n ? void 0 : l;
1358
+ var c = i[e];
1359
+ return c === n ? void 0 : c;
1360
1360
  }
1361
- return fe.call(i, e) ? i[e] : void 0;
1361
+ return ve.call(i, e) ? i[e] : void 0;
1362
1362
  }
1363
1363
  function Fa(e) {
1364
1364
  var i = this.__data__;
1365
- return De ? i[e] !== void 0 : fe.call(i, e);
1365
+ return De ? i[e] !== void 0 : ve.call(i, e);
1366
1366
  }
1367
1367
  function Na(e, i) {
1368
- var l = this.__data__;
1369
- return l[e] = De && i === void 0 ? n : i, this;
1368
+ var c = this.__data__;
1369
+ return c[e] = De && i === void 0 ? n : i, this;
1370
1370
  }
1371
- he.prototype.clear = Oa, he.prototype.delete = Ea, he.prototype.get = Aa, he.prototype.has = Fa, he.prototype.set = Na;
1372
- function ce(e) {
1373
- var i = -1, l = e ? e.length : 0;
1374
- for (this.clear(); ++i < l; ) {
1371
+ me.prototype.clear = Oa, me.prototype.delete = Ea, me.prototype.get = Aa, me.prototype.has = Fa, me.prototype.set = Na;
1372
+ function ue(e) {
1373
+ var i = -1, c = e ? e.length : 0;
1374
+ for (this.clear(); ++i < c; ) {
1375
1375
  var h = e[i];
1376
1376
  this.set(h[0], h[1]);
1377
1377
  }
@@ -1380,36 +1380,36 @@ tt.exports;
1380
1380
  this.__data__ = [];
1381
1381
  }
1382
1382
  function Ra(e) {
1383
- var i = this.__data__, l = He(i, e);
1384
- if (l < 0)
1383
+ var i = this.__data__, c = He(i, e);
1384
+ if (c < 0)
1385
1385
  return !1;
1386
1386
  var h = i.length - 1;
1387
- return l == h ? i.pop() : wa.call(i, l, 1), !0;
1387
+ return c == h ? i.pop() : wa.call(i, c, 1), !0;
1388
1388
  }
1389
1389
  function xa(e) {
1390
- var i = this.__data__, l = He(i, e);
1391
- return l < 0 ? void 0 : i[l][1];
1390
+ var i = this.__data__, c = He(i, e);
1391
+ return c < 0 ? void 0 : i[c][1];
1392
1392
  }
1393
1393
  function Ba(e) {
1394
1394
  return He(this.__data__, e) > -1;
1395
1395
  }
1396
- function La(e, i) {
1397
- var l = this.__data__, h = He(l, e);
1398
- return h < 0 ? l.push([e, i]) : l[h][1] = i, this;
1396
+ function Ma(e, i) {
1397
+ var c = this.__data__, h = He(c, e);
1398
+ return h < 0 ? c.push([e, i]) : c[h][1] = i, this;
1399
1399
  }
1400
- ce.prototype.clear = Da, ce.prototype.delete = Ra, ce.prototype.get = xa, ce.prototype.has = Ba, ce.prototype.set = La;
1401
- function Te(e) {
1402
- var i = -1, l = e ? e.length : 0;
1403
- for (this.clear(); ++i < l; ) {
1400
+ ue.prototype.clear = Da, ue.prototype.delete = Ra, ue.prototype.get = xa, ue.prototype.has = Ba, ue.prototype.set = Ma;
1401
+ function Se(e) {
1402
+ var i = -1, c = e ? e.length : 0;
1403
+ for (this.clear(); ++i < c; ) {
1404
1404
  var h = e[i];
1405
1405
  this.set(h[0], h[1]);
1406
1406
  }
1407
1407
  }
1408
- function Ma() {
1408
+ function La() {
1409
1409
  this.__data__ = {
1410
- hash: new he(),
1411
- map: new (Ne || ce)(),
1412
- string: new he()
1410
+ hash: new me(),
1411
+ map: new (Ne || ue)(),
1412
+ string: new me()
1413
1413
  };
1414
1414
  }
1415
1415
  function ja(e) {
@@ -1424,12 +1424,12 @@ tt.exports;
1424
1424
  function Za(e, i) {
1425
1425
  return We(this, e).set(e, i), this;
1426
1426
  }
1427
- Te.prototype.clear = Ma, Te.prototype.delete = ja, Te.prototype.get = Pa, Te.prototype.has = Ka, Te.prototype.set = Za;
1428
- function _e(e) {
1429
- this.__data__ = new ce(e);
1427
+ Se.prototype.clear = La, Se.prototype.delete = ja, Se.prototype.get = Pa, Se.prototype.has = Ka, Se.prototype.set = Za;
1428
+ function Ce(e) {
1429
+ this.__data__ = new ue(e);
1430
1430
  }
1431
1431
  function Ha() {
1432
- this.__data__ = new ce();
1432
+ this.__data__ = new ue();
1433
1433
  }
1434
1434
  function Wa(e) {
1435
1435
  return this.__data__.delete(e);
@@ -1441,76 +1441,76 @@ tt.exports;
1441
1441
  return this.__data__.has(e);
1442
1442
  }
1443
1443
  function Ua(e, i) {
1444
- var l = this.__data__;
1445
- if (l instanceof ce) {
1446
- var h = l.__data__;
1444
+ var c = this.__data__;
1445
+ if (c instanceof ue) {
1446
+ var h = c.__data__;
1447
1447
  if (!Ne || h.length < r - 1)
1448
1448
  return h.push([e, i]), this;
1449
- l = this.__data__ = new Te(h);
1449
+ c = this.__data__ = new Se(h);
1450
1450
  }
1451
- return l.set(e, i), this;
1451
+ return c.set(e, i), this;
1452
1452
  }
1453
- _e.prototype.clear = Ha, _e.prototype.delete = Wa, _e.prototype.get = za, _e.prototype.has = Ga, _e.prototype.set = Ua;
1453
+ Ce.prototype.clear = Ha, Ce.prototype.delete = Wa, Ce.prototype.get = za, Ce.prototype.has = Ga, Ce.prototype.set = Ua;
1454
1454
  function Va(e, i) {
1455
- var l = ut(e) || yn(e) ? fa(e.length, String) : [], h = l.length, U = !!h;
1456
- for (var Q in e)
1457
- fe.call(e, Q) && !(U && (Q == "length" || pn(Q, h))) && l.push(Q);
1458
- return l;
1455
+ var c = ut(e) || yn(e) ? fa(e.length, String) : [], h = c.length, V = !!h;
1456
+ for (var ee in e)
1457
+ ve.call(e, ee) && !(V && (ee == "length" || pn(ee, h))) && c.push(ee);
1458
+ return c;
1459
1459
  }
1460
- function Nt(e, i, l) {
1460
+ function Nt(e, i, c) {
1461
1461
  var h = e[i];
1462
- (!(fe.call(e, i) && Bt(h, l)) || l === void 0 && !(i in e)) && (e[i] = l);
1462
+ (!(ve.call(e, i) && Bt(h, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1463
1463
  }
1464
1464
  function He(e, i) {
1465
- for (var l = e.length; l--; )
1466
- if (Bt(e[l][0], i))
1467
- return l;
1465
+ for (var c = e.length; c--; )
1466
+ if (Bt(e[c][0], i))
1467
+ return c;
1468
1468
  return -1;
1469
1469
  }
1470
1470
  function qa(e, i) {
1471
1471
  return e && Dt(i, dt(i), e);
1472
1472
  }
1473
- function lt(e, i, l, h, U, Q, ue) {
1474
- var J;
1475
- if (h && (J = Q ? h(e, U, Q, ue) : h(e)), J !== void 0)
1476
- return J;
1473
+ function lt(e, i, c, h, V, ee, de) {
1474
+ var te;
1475
+ if (h && (te = ee ? h(e, V, ee, de) : h(e)), te !== void 0)
1476
+ return te;
1477
1477
  if (!ze(e))
1478
1478
  return e;
1479
1479
  var jt = ut(e);
1480
1480
  if (jt) {
1481
- if (J = fn(e), !i)
1482
- return cn(e, J);
1481
+ if (te = fn(e), !i)
1482
+ return cn(e, te);
1483
1483
  } else {
1484
- var Ce = me(e), Pt = Ce == T || Ce == R;
1484
+ var $e = ge(e), Pt = $e == _ || $e == x;
1485
1485
  if (kn(e))
1486
1486
  return tn(e, i);
1487
- if (Ce == $ || Ce == c || Pt && !Q) {
1487
+ if ($e == E || $e == u || Pt && !ee) {
1488
1488
  if (kt(e))
1489
- return Q ? e : {};
1490
- if (J = vn(Pt ? {} : e), !i)
1491
- return un(e, qa(J, e));
1489
+ return ee ? e : {};
1490
+ if (te = vn(Pt ? {} : e), !i)
1491
+ return un(e, qa(te, e));
1492
1492
  } else {
1493
- if (!d[Ce])
1494
- return Q ? e : {};
1495
- J = bn(e, Ce, lt, i);
1493
+ if (!w[$e])
1494
+ return ee ? e : {};
1495
+ te = bn(e, $e, lt, i);
1496
1496
  }
1497
1497
  }
1498
- ue || (ue = new _e());
1499
- var Kt = ue.get(e);
1498
+ de || (de = new Ce());
1499
+ var Kt = de.get(e);
1500
1500
  if (Kt)
1501
1501
  return Kt;
1502
- if (ue.set(e, J), !jt)
1503
- var Zt = l ? dn(e) : dt(e);
1502
+ if (de.set(e, te), !jt)
1503
+ var Zt = c ? dn(e) : dt(e);
1504
1504
  return ua(Zt || e, function(ft, Ge) {
1505
- Zt && (Ge = ft, ft = e[Ge]), Nt(J, Ge, lt(ft, i, l, h, Ge, e, ue));
1506
- }), J;
1505
+ Zt && (Ge = ft, ft = e[Ge]), Nt(te, Ge, lt(ft, i, c, h, Ge, e, de));
1506
+ }), te;
1507
1507
  }
1508
1508
  function Xa(e) {
1509
1509
  return ze(e) ? ga(e) : {};
1510
1510
  }
1511
- function Ya(e, i, l) {
1511
+ function Ya(e, i, c) {
1512
1512
  var h = i(e);
1513
- return ut(e) ? h : da(h, l(e));
1513
+ return ut(e) ? h : da(h, c(e));
1514
1514
  }
1515
1515
  function Qa(e) {
1516
1516
  return Ze.call(e);
@@ -1518,63 +1518,63 @@ tt.exports;
1518
1518
  function Ja(e) {
1519
1519
  if (!ze(e) || mn(e))
1520
1520
  return !1;
1521
- var i = Mt(e) || kt(e) ? ha : B;
1522
- return i.test(ge(e));
1521
+ var i = Lt(e) || kt(e) ? ha : M;
1522
+ return i.test(ye(e));
1523
1523
  }
1524
1524
  function en(e) {
1525
1525
  if (!xt(e))
1526
1526
  return Ta(e);
1527
1527
  var i = [];
1528
- for (var l in Object(e))
1529
- fe.call(e, l) && l != "constructor" && i.push(l);
1528
+ for (var c in Object(e))
1529
+ ve.call(e, c) && c != "constructor" && i.push(c);
1530
1530
  return i;
1531
1531
  }
1532
1532
  function tn(e, i) {
1533
1533
  if (i)
1534
1534
  return e.slice();
1535
- var l = new e.constructor(e.length);
1536
- return e.copy(l), l;
1535
+ var c = new e.constructor(e.length);
1536
+ return e.copy(c), c;
1537
1537
  }
1538
1538
  function ct(e) {
1539
1539
  var i = new e.constructor(e.byteLength);
1540
1540
  return new Ot(i).set(new Ot(e)), i;
1541
1541
  }
1542
1542
  function an(e, i) {
1543
- var l = i ? ct(e.buffer) : e.buffer;
1544
- return new e.constructor(l, e.byteOffset, e.byteLength);
1543
+ var c = i ? ct(e.buffer) : e.buffer;
1544
+ return new e.constructor(c, e.byteOffset, e.byteLength);
1545
1545
  }
1546
- function nn(e, i, l) {
1547
- var h = i ? l(Tt(e), !0) : Tt(e);
1548
- return wt(h, le, new e.constructor());
1546
+ function nn(e, i, c) {
1547
+ var h = i ? c(Tt(e), !0) : Tt(e);
1548
+ return wt(h, X, new e.constructor());
1549
1549
  }
1550
1550
  function rn(e) {
1551
- var i = new e.constructor(e.source, D.exec(e));
1551
+ var i = new e.constructor(e.source, R.exec(e));
1552
1552
  return i.lastIndex = e.lastIndex, i;
1553
1553
  }
1554
- function on(e, i, l) {
1555
- var h = i ? l(_t(e), !0) : _t(e);
1556
- return wt(h, Fe, new e.constructor());
1554
+ function on(e, i, c) {
1555
+ var h = i ? c(_t(e), !0) : _t(e);
1556
+ return wt(h, ce, new e.constructor());
1557
1557
  }
1558
1558
  function sn(e) {
1559
1559
  return Ft ? Object(Ft.call(e)) : {};
1560
1560
  }
1561
1561
  function ln(e, i) {
1562
- var l = i ? ct(e.buffer) : e.buffer;
1563
- return new e.constructor(l, e.byteOffset, e.length);
1562
+ var c = i ? ct(e.buffer) : e.buffer;
1563
+ return new e.constructor(c, e.byteOffset, e.length);
1564
1564
  }
1565
1565
  function cn(e, i) {
1566
- var l = -1, h = e.length;
1567
- for (i || (i = Array(h)); ++l < h; )
1568
- i[l] = e[l];
1566
+ var c = -1, h = e.length;
1567
+ for (i || (i = Array(h)); ++c < h; )
1568
+ i[c] = e[c];
1569
1569
  return i;
1570
1570
  }
1571
- function Dt(e, i, l, h) {
1572
- l || (l = {});
1573
- for (var U = -1, Q = i.length; ++U < Q; ) {
1574
- var ue = i[U], J = void 0;
1575
- Nt(l, ue, J === void 0 ? e[ue] : J);
1571
+ function Dt(e, i, c, h) {
1572
+ c || (c = {});
1573
+ for (var V = -1, ee = i.length; ++V < ee; ) {
1574
+ var de = i[V], te = void 0;
1575
+ Nt(c, de, te === void 0 ? e[de] : te);
1576
1576
  }
1577
- return l;
1577
+ return c;
1578
1578
  }
1579
1579
  function un(e, i) {
1580
1580
  return Dt(e, Rt(e), i);
@@ -1583,68 +1583,68 @@ tt.exports;
1583
1583
  return Ya(e, dt, Rt);
1584
1584
  }
1585
1585
  function We(e, i) {
1586
- var l = e.__data__;
1587
- return hn(i) ? l[typeof i == "string" ? "string" : "hash"] : l.map;
1586
+ var c = e.__data__;
1587
+ return hn(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1588
1588
  }
1589
- function Se(e, i) {
1590
- var l = va(e, i);
1591
- return Ja(l) ? l : void 0;
1589
+ function Ie(e, i) {
1590
+ var c = va(e, i);
1591
+ return Ja(c) ? c : void 0;
1592
1592
  }
1593
- var Rt = Et ? at(Et, Object) : Sn, me = Qa;
1594
- (rt && me(new rt(new ArrayBuffer(1))) != ae || Ne && me(new Ne()) != x || it && me(it.resolve()) != M || ot && me(new ot()) != K || st && me(new st()) != q) && (me = function(e) {
1595
- var i = Ze.call(e), l = i == $ ? e.constructor : void 0, h = l ? ge(l) : void 0;
1593
+ var Rt = Et ? at(Et, Object) : Sn, ge = Qa;
1594
+ (rt && ge(new rt(new ArrayBuffer(1))) != q || Ne && ge(new Ne()) != B || it && ge(it.resolve()) != j || ot && ge(new ot()) != K || st && ge(new st()) != le) && (ge = function(e) {
1595
+ var i = Ze.call(e), c = i == E ? e.constructor : void 0, h = c ? ye(c) : void 0;
1596
1596
  if (h)
1597
1597
  switch (h) {
1598
1598
  case _a:
1599
- return ae;
1599
+ return q;
1600
1600
  case Sa:
1601
- return x;
1601
+ return B;
1602
1602
  case Ca:
1603
- return M;
1603
+ return j;
1604
1604
  case Ia:
1605
1605
  return K;
1606
1606
  case $a:
1607
- return q;
1607
+ return le;
1608
1608
  }
1609
1609
  return i;
1610
1610
  });
1611
1611
  function fn(e) {
1612
- var i = e.length, l = e.constructor(i);
1613
- return i && typeof e[0] == "string" && fe.call(e, "index") && (l.index = e.index, l.input = e.input), l;
1612
+ var i = e.length, c = e.constructor(i);
1613
+ return i && typeof e[0] == "string" && ve.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1614
1614
  }
1615
1615
  function vn(e) {
1616
1616
  return typeof e.constructor == "function" && !xt(e) ? Xa(ma(e)) : {};
1617
1617
  }
1618
- function bn(e, i, l, h) {
1619
- var U = e.constructor;
1618
+ function bn(e, i, c, h) {
1619
+ var V = e.constructor;
1620
1620
  switch (i) {
1621
- case re:
1621
+ case J:
1622
1622
  return ct(e);
1623
- case f:
1623
+ case d:
1624
1624
  case b:
1625
- return new U(+e);
1626
- case ae:
1625
+ return new V(+e);
1626
+ case q:
1627
1627
  return an(e, h);
1628
- case ne:
1629
- case F:
1628
+ case re:
1629
+ case N:
1630
1630
  case G:
1631
1631
  case Z:
1632
- case W:
1633
- case A:
1634
- case u:
1635
- case v:
1636
- case g:
1632
+ case U:
1633
+ case D:
1634
+ case l:
1635
+ case f:
1636
+ case m:
1637
1637
  return ln(e, h);
1638
- case x:
1639
- return nn(e, h, l);
1640
- case j:
1641
- case te:
1642
- return new U(e);
1643
- case V:
1638
+ case B:
1639
+ return nn(e, h, c);
1640
+ case P:
1641
+ case z:
1642
+ return new V(e);
1643
+ case ne:
1644
1644
  return rn(e);
1645
1645
  case K:
1646
- return on(e, h, l);
1647
- case de:
1646
+ return on(e, h, c);
1647
+ case fe:
1648
1648
  return sn(e);
1649
1649
  }
1650
1650
  }
@@ -1659,10 +1659,10 @@ tt.exports;
1659
1659
  return !!St && St in e;
1660
1660
  }
1661
1661
  function xt(e) {
1662
- var i = e && e.constructor, l = typeof i == "function" && i.prototype || Ke;
1663
- return e === l;
1662
+ var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ke;
1663
+ return e === c;
1664
1664
  }
1665
- function ge(e) {
1665
+ function ye(e) {
1666
1666
  if (e != null) {
1667
1667
  try {
1668
1668
  return Ct.call(e);
@@ -1682,19 +1682,19 @@ tt.exports;
1682
1682
  return e === i || e !== e && i !== i;
1683
1683
  }
1684
1684
  function yn(e) {
1685
- return wn(e) && fe.call(e, "callee") && (!ya.call(e, "callee") || Ze.call(e) == c);
1685
+ return wn(e) && ve.call(e, "callee") && (!ya.call(e, "callee") || Ze.call(e) == u);
1686
1686
  }
1687
1687
  var ut = Array.isArray;
1688
- function Lt(e) {
1689
- return e != null && Tn(e.length) && !Mt(e);
1688
+ function Mt(e) {
1689
+ return e != null && Tn(e.length) && !Lt(e);
1690
1690
  }
1691
1691
  function wn(e) {
1692
- return _n(e) && Lt(e);
1692
+ return _n(e) && Mt(e);
1693
1693
  }
1694
1694
  var kn = ka || Cn;
1695
- function Mt(e) {
1695
+ function Lt(e) {
1696
1696
  var i = ze(e) ? Ze.call(e) : "";
1697
- return i == T || i == R;
1697
+ return i == _ || i == x;
1698
1698
  }
1699
1699
  function Tn(e) {
1700
1700
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= s;
@@ -1707,7 +1707,7 @@ tt.exports;
1707
1707
  return !!e && typeof e == "object";
1708
1708
  }
1709
1709
  function dt(e) {
1710
- return Lt(e) ? Va(e) : en(e);
1710
+ return Mt(e) ? Va(e) : en(e);
1711
1711
  }
1712
1712
  function Sn() {
1713
1713
  return [];
@@ -1724,14 +1724,14 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
1724
1724
  }, Ri = { class: "sidebar-content-container" }, xi = {
1725
1725
  key: 0,
1726
1726
  class: "sidebar-top"
1727
- }, Bi = { "aria-label": "Main menu" }, Li = ["id"], Mi = ["aria-labelledby"], ji = {
1727
+ }, Bi = { "aria-label": "Main menu" }, Mi = ["id"], Li = ["aria-labelledby"], ji = {
1728
1728
  key: 1,
1729
1729
  class: "sidebar-level-divider",
1730
1730
  role: "separator"
1731
1731
  }, Pi = {
1732
1732
  key: 2,
1733
1733
  class: "level-primary bottom-items"
1734
- }, Ki = { class: "sidebar-footer" }, ye = "_ungrouped", Zi = /* @__PURE__ */ ie({
1734
+ }, Ki = { class: "sidebar-footer" }, we = "_ungrouped", Zi = /* @__PURE__ */ ie({
1735
1735
  __name: "AppSidebar",
1736
1736
  props: {
1737
1737
  topItems: {
@@ -1794,20 +1794,20 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
1794
1794
  },
1795
1795
  emits: ["click", "toggle", "toggle-collapse"],
1796
1796
  setup(a, { emit: t }) {
1797
- yt((d) => ({
1798
- "0cada156": f.value.mobileHeight,
1799
- "567b81e7": f.value.mobileTop,
1800
- 26636033: a.zIndex,
1801
- "46f3d513": f.value.height,
1802
- "42d2e4e9": f.value.top,
1803
- "7276653d": w.value.marginTop,
1804
- "5a2fa60c": B.value,
1805
- "372449a2": b.value.display,
1806
- "69ab7946": b.value.minHeight,
1807
- "265869b8": T.value.top,
1808
- "52dccd35": T.value.zIndex
1797
+ yt((v) => ({
1798
+ "0fdb952c": d.value.mobileHeight,
1799
+ "57f5881c": d.value.mobileTop,
1800
+ "39dfdc04": a.zIndex,
1801
+ "1c676230": d.value.height,
1802
+ "9ef07998": d.value.top,
1803
+ "3fa978f0": k.value.marginTop,
1804
+ "2dd4763e": O.value,
1805
+ e17355f8: b.value.display,
1806
+ "7f665c4a": b.value.minHeight,
1807
+ "73b65ec3": _.value.top,
1808
+ c8788f6c: _.value.zIndex
1809
1809
  }));
1810
- const r = t, n = a, s = je(), c = S(() => !!s.header), o = S(() => !!s.top), f = S(() => ({
1810
+ const r = t, n = a, s = je(), u = S(() => !!s.header), o = S(() => !!s.top), d = S(() => ({
1811
1811
  mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
1812
1812
  top: n.topOffset ? `${n.topOffset}px` : "0",
1813
1813
  mobileHeight: n.mobileTopOffset && n.mobileEnabled ? `calc(100% - ${n.mobileTopOffset}px)` : "100%",
@@ -1815,210 +1815,210 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
1815
1815
  })), b = S(() => ({
1816
1816
  display: !n.mobileHeaderVisible && n.mobileEnabled ? "none" : "flex",
1817
1817
  minHeight: `${n.headerHeight}px`
1818
- })), w = S(() => ({
1819
- marginTop: c.value ? `${n.headerHeight}px` : "0"
1820
- })), T = S(() => ({
1818
+ })), k = S(() => ({
1819
+ marginTop: u.value ? `${n.headerHeight}px` : "0"
1820
+ })), _ = S(() => ({
1821
1821
  top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
1822
1822
  zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
1823
- })), R = (d) => Ni(d).map((_) => {
1824
- var m, z, P;
1825
- if (_) {
1826
- (!_.key || !((m = _.key) != null && m.trim())) && (_.key = String(_.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!_.testId || !((z = _.testId) != null && z.trim())) && (_.testId = String(_.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1827
- for (const X of _.items || [])
1828
- X.parentKey = _.key, (!X.testId || !((P = X.testId) != null && P.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1823
+ })), x = (v) => Ni(v).map((y) => {
1824
+ var g, Y, H;
1825
+ if (y) {
1826
+ (!y.key || !((g = y.key) != null && g.trim())) && (y.key = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!y.testId || !((Y = y.testId) != null && Y.trim())) && (y.testId = String(y.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1827
+ for (const X of y.items || [])
1828
+ X.parentKey = y.key, (!X.testId || !((H = X.testId) != null && H.trim())) && (X.testId = String(X.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1829
1829
  }
1830
- return _;
1831
- }), x = S(() => n.topItems.length ? R(n.topItems) : []), j = S(() => n.bottomItems.length ? R(n.bottomItems) : []), $ = (d = "") => d.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), M = S(() => {
1832
- var y;
1833
- const d = /* @__PURE__ */ new Map();
1834
- d.set(ye, []);
1835
- for (const _ of x.value) {
1836
- const m = _.group || ye;
1837
- d.has(m) || d.set(m, []), (y = d.get(m)) == null || y.push(_);
1830
+ return y;
1831
+ }), B = S(() => n.topItems.length ? x(n.topItems) : []), P = S(() => n.bottomItems.length ? x(n.bottomItems) : []), E = (v = "") => v.trim().replace(" ", "").replace(/[^a-z0-9]+/gi, "-").toLowerCase(), j = S(() => {
1832
+ var C;
1833
+ const v = /* @__PURE__ */ new Map();
1834
+ v.set(we, []);
1835
+ for (const y of B.value) {
1836
+ const g = y.group || we;
1837
+ v.has(g) || v.set(g, []), (C = v.get(g)) == null || C.push(y);
1838
1838
  }
1839
- return d;
1840
- }), V = (d = "") => {
1841
- if (d === ye || !d.trim())
1839
+ return v;
1840
+ }), ne = Er(`max-width: ${Br}`), K = (v = "") => {
1841
+ if (v === we || !v.trim())
1842
1842
  return null;
1843
- const y = {
1844
- label: d,
1843
+ const C = {
1844
+ label: v,
1845
1845
  collapsible: !1,
1846
1846
  collapsed: !1
1847
1847
  };
1848
- let _ = d.trim().replace(" ", "");
1849
- return _ = _.charAt(0).toLowerCase() + _.slice(1), d && n.groupConfig && (n.groupConfig[d] || n.groupConfig[_]) ? n.groupConfig[d] || n.groupConfig[_] : y;
1850
- }, K = (d) => {
1851
- var y;
1852
- return !!((y = V(d)) != null && y.collapsible);
1853
- }, te = (d) => {
1854
- var y;
1855
- return !!((y = V(d)) != null && y.collapsed);
1856
- }, de = (d, y, _) => {
1857
- const m = V(d);
1858
- m && (m.collapsed = !y), _(), r("toggle-collapse", d, m);
1859
- }, q = ee(n.open), re = (d) => {
1860
- var y, _;
1861
- q.value !== d && (q.value = d, r("toggle", d)), d ? (y = document == null ? void 0 : document.body) == null || y.classList.add("kong-ui-app-sidebar-open") : (_ = document == null ? void 0 : document.body) == null || _.classList.remove("kong-ui-app-sidebar-open"), ne.value = !1;
1862
- }, ae = () => {
1863
- n.mobileOverlayCloseOnClick && re(!1);
1864
- }, ne = ee(!1), F = (d) => {
1865
- ne.value = !0, r("click", d), setTimeout(() => {
1866
- re(!1);
1848
+ let y = v.trim().replace(" ", "");
1849
+ return y = y.charAt(0).toLowerCase() + y.slice(1), v && n.groupConfig && (n.groupConfig[v] || n.groupConfig[y]) ? n.groupConfig[v] || n.groupConfig[y] : C;
1850
+ }, z = (v) => {
1851
+ var C;
1852
+ return !!((C = K(v)) != null && C.collapsible);
1853
+ }, fe = (v) => {
1854
+ var C;
1855
+ return !!((C = K(v)) != null && C.collapsed);
1856
+ }, le = (v, C, y) => {
1857
+ const g = K(v);
1858
+ g && (g.collapsed = !C), y(), r("toggle-collapse", v, g);
1859
+ }, J = ae(n.open), q = (v) => {
1860
+ var C, y;
1861
+ J.value !== v && (J.value = v, r("toggle", v)), v ? (C = document == null ? void 0 : document.body) == null || C.classList.add("kong-ui-app-sidebar-open") : (y = document == null ? void 0 : document.body) == null || y.classList.remove("kong-ui-app-sidebar-open"), N.value = !1;
1862
+ }, re = () => {
1863
+ n.mobileOverlayCloseOnClick && q(!1);
1864
+ }, N = ae(!1), G = (v) => {
1865
+ N.value = !0, r("click", v), setTimeout(() => {
1866
+ q(!1);
1867
1867
  }, n.mobileCloseDelay);
1868
1868
  };
1869
- Ae(() => n.open, (d) => {
1870
- re(d);
1869
+ Te(() => n.open, (v) => {
1870
+ q(v);
1871
1871
  });
1872
- const { debounce: G } = ca(), Z = G(() => {
1873
- q.value && W.value !== (window == null ? void 0 : window.innerWidth) && (W.value = window == null ? void 0 : window.innerWidth, re(!1));
1874
- }, 200), W = ee(), A = ee(!1), u = ee(), v = () => {
1875
- A.value || (A.value = !0, clearTimeout(u.value), u.value = setTimeout(() => A.value = !1, 1300));
1876
- }, g = ee(null), N = S(() => q.value && n.mobileEnabled), D = async (d) => {
1877
- var y, _;
1878
- d ? (await Ht(), await new Promise((m) => setTimeout(m, 300)), (y = g.value) == null || y.activate()) : (_ = g.value) == null || _.deactivate();
1872
+ const { debounce: Z } = ca(), U = Z(() => {
1873
+ J.value && D.value !== (window == null ? void 0 : window.innerWidth) && (D.value = window == null ? void 0 : window.innerWidth, q(!1));
1874
+ }, 200), D = ae(), l = ae(!1), f = ae(), m = () => {
1875
+ l.value || (l.value = !0, clearTimeout(f.value), f.value = setTimeout(() => l.value = !1, 1300));
1876
+ }, A = ae(null), R = S(() => J.value && n.mobileEnabled), M = async (v) => {
1877
+ var C, y;
1878
+ v ? (await Ht(), await new Promise((g) => setTimeout(g, 300)), (C = A.value) == null || C.activate()) : (y = A.value) == null || y.deactivate();
1879
1879
  };
1880
- Ae(N, async (d) => {
1881
- d ? await D(!0) : await D(!1);
1880
+ Te(R, async (v) => {
1881
+ v ? await M(!0) : await M(!1);
1882
1882
  }, { immediate: !0 });
1883
- const B = ee("0px"), O = () => {
1883
+ const O = ae("0px"), w = () => {
1884
1884
  var X;
1885
1885
  if (!(/Mac|iPhone|iPod|iPad/i.test(navigator == null ? void 0 : navigator.platform) || /macOS|Mac|iPhone|iPod|iPad/i.test((X = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : X.platform)))
1886
1886
  return;
1887
- const y = document.createElement("div");
1888
- y.style.visibility = "hidden", y.style.width = "100px", document.body.appendChild(y);
1889
- const _ = y.offsetWidth;
1890
- y.style.overflow = "scroll";
1891
- const m = document.createElement("div");
1892
- m.style.width = "100%", y.appendChild(m);
1893
- const z = m.offsetWidth;
1894
- y.parentNode && y.parentNode.removeChild(y), _ - z === 0 && (B.value = "8px");
1887
+ const C = document.createElement("div");
1888
+ C.style.visibility = "hidden", C.style.width = "100px", document.body.appendChild(C);
1889
+ const y = C.offsetWidth;
1890
+ C.style.overflow = "scroll";
1891
+ const g = document.createElement("div");
1892
+ g.style.width = "100%", C.appendChild(g);
1893
+ const Y = g.offsetWidth;
1894
+ C.parentNode && C.parentNode.removeChild(C), y - Y === 0 && (O.value = "8px");
1895
1895
  };
1896
1896
  return Pe(async () => {
1897
- if (W.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Z), window.addEventListener("resize", v), n.groupConfig) {
1898
- for (const d in n.groupConfig)
1899
- if (Er(`(max-width: ${Br})`)) {
1900
- const y = n.groupConfig[d];
1901
- y.collapsed = !1;
1902
- }
1903
- }
1904
- await Ht(), O();
1897
+ if (D.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", U), window.addEventListener("resize", m), n.groupConfig && ne.value)
1898
+ for (const v in n.groupConfig) {
1899
+ const C = n.groupConfig[v];
1900
+ C.collapsed = !1;
1901
+ }
1902
+ await Ht(), w();
1905
1903
  }), ea(() => {
1906
- window.removeEventListener("resize", Z), window.removeEventListener("resize", v);
1907
- }), (d, y) => {
1908
- const _ = pe("KCollapse");
1909
- return p(), k($e, null, [
1910
- q.value && a.mobileOverlay && a.mobileEnabled ? (p(), k("div", {
1904
+ window.removeEventListener("resize", U), window.removeEventListener("resize", m);
1905
+ }), Te(() => n.groupConfig, (v) => {
1906
+ console.log("groupConfig updated", v);
1907
+ }), (v, C) => {
1908
+ const y = he("KCollapse");
1909
+ return p(), T(Ee, null, [
1910
+ J.value && a.mobileOverlay && a.mobileEnabled ? (p(), T("div", {
1911
1911
  key: 0,
1912
1912
  class: "kong-ui-app-sidebar-overlay",
1913
- onClick: ae
1914
- })) : I("", !0),
1915
- Me(ve(Ei), {
1913
+ onClick: re
1914
+ })) : $("", !0),
1915
+ Le(be(Ei), {
1916
1916
  ref_key: "focusTrap",
1917
- ref: g,
1917
+ ref: A,
1918
1918
  active: !1,
1919
1919
  "allow-outside-click": "",
1920
1920
  "fallback-focus": ".kong-ui-app-sidebar"
1921
1921
  }, {
1922
1922
  default: L(() => [
1923
- E("aside", {
1923
+ F("aside", {
1924
1924
  class: se(["kong-ui-app-sidebar", {
1925
- "sidebar-open": q.value,
1926
- "no-sidebar-header": !c.value,
1927
- "mobile-header-hidden": a.mobileEnabled && (!c.value || !a.mobileHeaderVisible),
1925
+ "sidebar-open": J.value,
1926
+ "no-sidebar-header": !u.value,
1927
+ "mobile-header-hidden": a.mobileEnabled && (!u.value || !a.mobileHeaderVisible),
1928
1928
  "mobile-disabled": !a.mobileEnabled,
1929
- "disable-transitions": A.value
1929
+ "disable-transitions": l.value
1930
1930
  }]),
1931
1931
  tabindex: "-1"
1932
1932
  }, [
1933
- c.value ? (p(), k("div", Di, [
1934
- C(d.$slots, "header", {}, void 0, !0)
1935
- ])) : I("", !0),
1936
- E("div", Ri, [
1937
- o.value ? (p(), k("div", xi, [
1938
- C(d.$slots, "top", {}, void 0, !0)
1939
- ])) : I("", !0),
1940
- E("nav", Bi, [
1941
- M.value.size > 0 ? (p(!0), k($e, { key: 0 }, be(M.value, ([m, z]) => (p(), H(_, {
1942
- key: m,
1933
+ u.value ? (p(), T("div", Di, [
1934
+ I(v.$slots, "header", {}, void 0, !0)
1935
+ ])) : $("", !0),
1936
+ F("div", Ri, [
1937
+ o.value ? (p(), T("div", xi, [
1938
+ I(v.$slots, "top", {}, void 0, !0)
1939
+ ])) : $("", !0),
1940
+ F("nav", Bi, [
1941
+ j.value.size > 0 ? (p(!0), T(Ee, { key: 0 }, pe(j.value, ([g, Y]) => (p(), W(y, {
1942
+ key: g,
1943
1943
  class: se(["level-primary-group-collapse", {
1944
- "not-collapsible": !K(m),
1945
- ungrouped: m === ye
1944
+ "not-collapsible": !z(g),
1945
+ ungrouped: g === we
1946
1946
  }]),
1947
- "data-testid": m === ye ? "level-primary-group-collapse-ungrouped" : `level-primary-group-collapse-${m}`,
1948
- "model-value": K(m) && te(m) || !1
1947
+ "data-testid": g === we ? "level-primary-group-collapse-ungrouped" : `level-primary-group-collapse-${g}`,
1948
+ "model-value": z(g) && fe(g) || !1
1949
1949
  }, {
1950
- trigger: L(({ isCollapsed: P, toggle: X }) => [
1951
- (p(), H(Ee(K(m) ? ve(Ln) : "div"), {
1952
- appearance: K(m) ? "none" : void 0,
1950
+ trigger: L(({ isCollapsed: H, toggle: X }) => [
1951
+ (p(), W(Fe(z(g) ? be(Mn) : "div"), {
1952
+ appearance: z(g) ? "none" : void 0,
1953
1953
  class: "level-primary-group-collapse-trigger",
1954
- onClick: (le) => K(m) ? de(m, P, X) : void 0
1954
+ onClick: (ce) => z(g) ? le(g, H, X) : void 0
1955
1955
  }, {
1956
1956
  default: L(() => {
1957
- var le;
1957
+ var ce;
1958
1958
  return [
1959
- m !== ye ? (p(), k("div", {
1959
+ g !== we ? (p(), T("div", {
1960
1960
  key: 0,
1961
- id: `level-primary-group-${$(m)}`,
1961
+ id: `level-primary-group-${E(g)}`,
1962
1962
  class: "level-primary-group-name",
1963
1963
  "data-testid": "level-primary-group-name",
1964
1964
  role: "presentation"
1965
- }, Y(((le = V(m)) == null ? void 0 : le.label) || m), 9, Li)) : I("", !0),
1966
- K(m) ? (p(), H(Ee(P ? ve(ta) : ve(Bn)), {
1965
+ }, Q(((ce = K(g)) == null ? void 0 : ce.label) || g), 9, Mi)) : $("", !0),
1966
+ z(g) ? (p(), W(Fe(H ? be(ta) : be(Bn)), {
1967
1967
  key: 1,
1968
1968
  class: "level-primary-group-collapse-icon",
1969
- color: ve(Mr),
1969
+ color: be(Lr),
1970
1970
  "data-testid": "level-primary-group-collapse-icon",
1971
- size: ve(Lr)
1972
- }, null, 8, ["color", "size"])) : I("", !0)
1971
+ size: be(Mr)
1972
+ }, null, 8, ["color", "size"])) : $("", !0)
1973
1973
  ];
1974
1974
  }),
1975
1975
  _: 2
1976
1976
  }, 1032, ["appearance", "onClick"]))
1977
1977
  ]),
1978
1978
  default: L(() => [
1979
- E("ul", {
1980
- "aria-labelledby": m !== ye ? `level-primary-group-${$(m)}` : void 0,
1979
+ F("ul", {
1980
+ "aria-labelledby": g !== we ? `level-primary-group-${E(g)}` : void 0,
1981
1981
  class: "level-primary top-items"
1982
1982
  }, [
1983
- (p(!0), k($e, null, be(z, (P) => (p(), H(zt, {
1984
- key: P.name,
1985
- item: P,
1986
- onClick: F
1987
- }, Le({
1988
- [`sidebar-icon-${P.key}`]: L(() => [
1989
- C(d.$slots, `sidebar-icon-${P.key}`, {}, void 0, !0)
1983
+ (p(!0), T(Ee, null, pe(Y, (H) => (p(), W(zt, {
1984
+ key: H.name,
1985
+ item: H,
1986
+ onClick: G
1987
+ }, Me({
1988
+ [`sidebar-icon-${H.key}`]: L(() => [
1989
+ I(v.$slots, `sidebar-icon-${H.key}`, {}, void 0, !0)
1990
1990
  ]),
1991
1991
  _: 2
1992
1992
  }, [
1993
- d.$slots[`sidebar-after-${P.key}`] ? {
1994
- name: `sidebar-after-${P.key}`,
1993
+ v.$slots[`sidebar-after-${H.key}`] ? {
1994
+ name: `sidebar-after-${H.key}`,
1995
1995
  fn: L(() => [
1996
- C(d.$slots, `sidebar-after-${P.key}`, {}, void 0, !0)
1996
+ I(v.$slots, `sidebar-after-${H.key}`, {}, void 0, !0)
1997
1997
  ]),
1998
1998
  key: "0"
1999
1999
  } : void 0
2000
2000
  ]), 1032, ["item"]))), 128))
2001
- ], 8, Mi)
2001
+ ], 8, Li)
2002
2002
  ]),
2003
2003
  _: 2
2004
- }, 1032, ["class", "data-testid", "model-value"]))), 128)) : I("", !0),
2005
- M.value.size > 0 && j.value.length ? (p(), k("div", ji)) : I("", !0),
2006
- j.value.length ? (p(), k("ul", Pi, [
2007
- (p(!0), k($e, null, be(j.value, (m) => (p(), H(zt, {
2008
- key: m.name,
2009
- item: m,
2010
- onClick: F
2004
+ }, 1032, ["class", "data-testid", "model-value"]))), 128)) : $("", !0),
2005
+ j.value.size > 0 && P.value.length ? (p(), T("div", ji)) : $("", !0),
2006
+ P.value.length ? (p(), T("ul", Pi, [
2007
+ (p(!0), T(Ee, null, pe(P.value, (g) => (p(), W(zt, {
2008
+ key: g.name,
2009
+ item: g,
2010
+ onClick: G
2011
2011
  }, {
2012
- [`sidebar-icon-${m.key}`]: L(() => [
2013
- C(d.$slots, `sidebar-icon-${m.key}`, {}, void 0, !0)
2012
+ [`sidebar-icon-${g.key}`]: L(() => [
2013
+ I(v.$slots, `sidebar-icon-${g.key}`, {}, void 0, !0)
2014
2014
  ]),
2015
2015
  _: 2
2016
2016
  }, 1032, ["item"]))), 128))
2017
- ])) : I("", !0)
2017
+ ])) : $("", !0)
2018
2018
  ])
2019
2019
  ]),
2020
- E("div", Ki, [
2021
- C(d.$slots, "footer", {}, void 0, !0)
2020
+ F("div", Ki, [
2021
+ I(v.$slots, "footer", {}, void 0, !0)
2022
2022
  ])
2023
2023
  ], 2)
2024
2024
  ]),
@@ -2027,7 +2027,7 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2027
2027
  ], 64);
2028
2028
  };
2029
2029
  }
2030
- }), Hi = /* @__PURE__ */ oe(Zi, [["__scopeId", "data-v-59a8f3eb"]]), Wi = ["aria-label"], zi = /* @__PURE__ */ ie({
2030
+ }), Hi = /* @__PURE__ */ oe(Zi, [["__scopeId", "data-v-411d9e0d"]]), Wi = ["aria-label"], zi = /* @__PURE__ */ ie({
2031
2031
  __name: "SidebarToggle",
2032
2032
  props: {
2033
2033
  active: {
@@ -2037,22 +2037,22 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2037
2037
  },
2038
2038
  emits: ["toggle"],
2039
2039
  setup(a, { emit: t }) {
2040
- const r = t, n = a, s = ee(n.active || !1), c = (o) => {
2040
+ const r = t, n = a, s = ae(n.active || !1), u = (o) => {
2041
2041
  o.preventDefault(), s.value = !s.value, r("toggle", s.value);
2042
2042
  };
2043
- return Ae(() => n.active, (o) => {
2043
+ return Te(() => n.active, (o) => {
2044
2044
  s.value = o;
2045
- }), (o, f) => (p(), k("a", {
2045
+ }), (o, d) => (p(), T("a", {
2046
2046
  "aria-haspopup": "true",
2047
2047
  "aria-label": s.value ? "Close Main Menu" : "Open Main Menu",
2048
2048
  class: se(["sidebar-menu-toggle", { active: s.value }]),
2049
2049
  href: "#",
2050
2050
  role: "button",
2051
- onClick: Rn(c, ["prevent"])
2052
- }, f[0] || (f[0] = [
2053
- E("span", { class: "line" }, null, -1),
2054
- E("span", { class: "line" }, null, -1),
2055
- E("span", { class: "line" }, null, -1)
2051
+ onClick: Rn(u, ["prevent"])
2052
+ }, d[0] || (d[0] = [
2053
+ F("span", { class: "line" }, null, -1),
2054
+ F("span", { class: "line" }, null, -1),
2055
+ F("span", { class: "line" }, null, -1)
2056
2056
  ]), 10, Wi));
2057
2057
  }
2058
2058
  }), Gi = /* @__PURE__ */ oe(zi, [["__scopeId", "data-v-cbb41bbd"]]), Ui = { id: "kong-ui-app-layout-notification" }, Vi = { class: "mobile-logo" }, qi = {
@@ -2102,14 +2102,14 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2102
2102
  },
2103
2103
  emits: ["sidebar-click", "update:topOffset", "toggle-collapse"],
2104
2104
  setup(a, { emit: t }) {
2105
- yt((F) => ({
2105
+ yt((N) => ({
2106
2106
  "26cbc8ac": K.value,
2107
- "4eb9dde2": te.value,
2108
- "5f0811fa": V.value,
2109
- "37ad0844": de.value,
2110
- "999c315e": q.value
2107
+ "4eb9dde2": z.value,
2108
+ "5f0811fa": ne.value,
2109
+ "37ad0844": fe.value,
2110
+ "999c315e": le.value
2111
2111
  }));
2112
- const r = a, n = t, s = je(), c = qe({
2112
+ const r = a, n = t, s = je(), u = qe({
2113
2113
  navbarLeft: S(() => !!s["navbar-left"]),
2114
2114
  navbarCenter: S(() => !!s["navbar-center"]),
2115
2115
  navbarRight: S(() => !!s["navbar-right"]),
@@ -2118,163 +2118,163 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2118
2118
  sidebarHeader: S(() => !!s["sidebar-header"]),
2119
2119
  sidebarTop: S(() => !!s["sidebar-top"]),
2120
2120
  sidebarFooter: S(() => !!s["sidebar-footer"])
2121
- }), o = S(() => r.hideDefaultSlot), f = qe({
2121
+ }), o = S(() => r.hideDefaultSlot), d = qe({
2122
2122
  hidden: S(() => r.navbarHidden)
2123
2123
  }), b = qe({
2124
2124
  topItems: S(() => r.sidebarTopItems),
2125
2125
  bottomItems: S(() => r.sidebarBottomItems),
2126
2126
  open: S(() => r.sidebarOpen),
2127
2127
  hidden: S(() => r.sidebarHidden)
2128
- }), w = (F) => {
2129
- n("sidebar-click", F);
2130
- }, T = ee(!1), R = (F) => {
2131
- T.value = F;
2128
+ }), k = (N) => {
2129
+ n("sidebar-click", N);
2130
+ }, _ = ae(!1), x = (N) => {
2131
+ _.value = N;
2132
2132
  };
2133
2133
  Jt(() => {
2134
- T.value = xn(b, "open").value || !1;
2134
+ _.value = xn(b, "open").value || !1;
2135
2135
  });
2136
- const x = ee(0), j = ee(60), $ = ee(0), M = S(() => f.hidden ? $.value : j.value + $.value), V = S(() => r.theme === "light" ? Nr : Dr), K = S(() => r.theme === "light" ? Ar : Fr), te = S(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), de = S(() => `${M.value}px`), q = S(() => b.hidden || f.hidden ? Rr : xr), { debounce: re } = ca(), ae = re((F = !1) => {
2137
- if (F || x.value !== (window == null ? void 0 : window.innerWidth)) {
2138
- x.value = window == null ? void 0 : window.innerWidth;
2136
+ const B = ae(0), P = ae(60), E = ae(0), j = S(() => d.hidden ? E.value : P.value + E.value), ne = S(() => r.theme === "light" ? Nr : Dr), K = S(() => r.theme === "light" ? Ar : Fr), z = S(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), fe = S(() => `${j.value}px`), le = S(() => b.hidden || d.hidden ? Rr : xr), { debounce: J } = ca(), q = J((N = !1) => {
2137
+ if (N || B.value !== (window == null ? void 0 : window.innerWidth)) {
2138
+ B.value = window == null ? void 0 : window.innerWidth;
2139
2139
  const G = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
2140
- G && ($.value = G.offsetHeight);
2140
+ G && (E.value = G.offsetHeight);
2141
2141
  }
2142
- }, 200), ne = ee();
2143
- return Ae($, (F) => {
2144
- n("update:topOffset", F || 0);
2142
+ }, 200), re = ae();
2143
+ return Te(E, (N) => {
2144
+ n("update:topOffset", N || 0);
2145
2145
  }, { immediate: !0 }), Pe(() => {
2146
2146
  var G, Z;
2147
- (G = document == null ? void 0 : document.body) == null || G.classList.add("kong-ui-app-layout-body"), (Z = document == null ? void 0 : document.documentElement) == null || Z.classList.add("kong-ui-app-layout-html"), x.value = window == null ? void 0 : window.innerWidth, ae(!0);
2148
- const F = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
2149
- F && (ne.value = new ResizeObserver((W) => {
2147
+ (G = document == null ? void 0 : document.body) == null || G.classList.add("kong-ui-app-layout-body"), (Z = document == null ? void 0 : document.documentElement) == null || Z.classList.add("kong-ui-app-layout-html"), B.value = window == null ? void 0 : window.innerWidth, q(!0);
2148
+ const N = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
2149
+ N && (re.value = new ResizeObserver((U) => {
2150
2150
  window.requestAnimationFrame(() => {
2151
- if (!(!Array.isArray(W) || !W.length))
2152
- for (const A of W) {
2153
- const u = A.contentRect.height;
2154
- $.value !== u && ($.value = u);
2151
+ if (!(!Array.isArray(U) || !U.length))
2152
+ for (const D of U) {
2153
+ const l = D.contentRect.height;
2154
+ E.value !== l && (E.value = l);
2155
2155
  }
2156
2156
  });
2157
- }), ne.value.observe(F)), window.addEventListener("resize", ae);
2157
+ }), re.value.observe(N)), window.addEventListener("resize", q);
2158
2158
  }), ea(() => {
2159
- ne.value && ne.value.disconnect(), window.removeEventListener("resize", ae);
2160
- }), (F, G) => (p(), k("div", {
2159
+ re.value && re.value.disconnect(), window.removeEventListener("resize", q);
2160
+ }), (N, G) => (p(), T("div", {
2161
2161
  class: se(["kong-ui-app-layout", [
2162
- { "navbar-hidden": f.hidden },
2162
+ { "navbar-hidden": d.hidden },
2163
2163
  { "sidebar-hidden": b.hidden }
2164
2164
  ]])
2165
2165
  }, [
2166
- E("div", Ui, [
2167
- C(F.$slots, "notification", {}, void 0, !0)
2166
+ F("div", Ui, [
2167
+ I(N.$slots, "notification", {}, void 0, !0)
2168
2168
  ]),
2169
- f.hidden ? I("", !0) : (p(), H(hr, {
2169
+ d.hidden ? $("", !0) : (p(), W(hr, {
2170
2170
  key: String(b.hidden),
2171
2171
  "left-offset": b.hidden ? 0 : void 0,
2172
- "top-offset": $.value
2173
- }, Le({
2172
+ "top-offset": E.value
2173
+ }, Me({
2174
2174
  "mobile-sidebar-toggle": L(() => [
2175
- b.hidden ? I("", !0) : (p(), H(Gi, {
2175
+ b.hidden ? $("", !0) : (p(), W(Gi, {
2176
2176
  key: 0,
2177
- active: T.value,
2178
- onToggle: R
2177
+ active: _.value,
2178
+ onToggle: x
2179
2179
  }, null, 8, ["active"]))
2180
2180
  ]),
2181
2181
  _: 2
2182
2182
  }, [
2183
- c.navbarMobileLogo ? {
2183
+ u.navbarMobileLogo ? {
2184
2184
  name: "mobile-logo",
2185
2185
  fn: L(() => [
2186
- E("div", Vi, [
2187
- C(F.$slots, "navbar-mobile-logo", {}, void 0, !0)
2186
+ F("div", Vi, [
2187
+ I(N.$slots, "navbar-mobile-logo", {}, void 0, !0)
2188
2188
  ])
2189
2189
  ]),
2190
2190
  key: "0"
2191
2191
  } : void 0,
2192
- c.navbarLogo ? {
2192
+ u.navbarLogo ? {
2193
2193
  name: "logo",
2194
2194
  fn: L(() => [
2195
- b.hidden ? (p(), k("div", qi, [
2196
- C(F.$slots, "navbar-logo", {}, void 0, !0)
2197
- ])) : I("", !0)
2195
+ b.hidden ? (p(), T("div", qi, [
2196
+ I(N.$slots, "navbar-logo", {}, void 0, !0)
2197
+ ])) : $("", !0)
2198
2198
  ]),
2199
2199
  key: "1"
2200
2200
  } : void 0,
2201
- c.navbarLeft ? {
2201
+ u.navbarLeft ? {
2202
2202
  name: "left",
2203
2203
  fn: L(() => [
2204
- C(F.$slots, "navbar-left", {}, void 0, !0)
2204
+ I(N.$slots, "navbar-left", {}, void 0, !0)
2205
2205
  ]),
2206
2206
  key: "2"
2207
2207
  } : void 0,
2208
- c.navbarCenter ? {
2208
+ u.navbarCenter ? {
2209
2209
  name: "center",
2210
2210
  fn: L(() => [
2211
- C(F.$slots, "navbar-center", {}, void 0, !0)
2211
+ I(N.$slots, "navbar-center", {}, void 0, !0)
2212
2212
  ]),
2213
2213
  key: "3"
2214
2214
  } : void 0,
2215
- c.navbarRight ? {
2215
+ u.navbarRight ? {
2216
2216
  name: "right",
2217
2217
  fn: L(() => [
2218
- C(F.$slots, "navbar-right", {}, void 0, !0)
2218
+ I(N.$slots, "navbar-right", {}, void 0, !0)
2219
2219
  ]),
2220
2220
  key: "4"
2221
2221
  } : void 0
2222
2222
  ]), 1032, ["left-offset", "top-offset"])),
2223
- b.hidden ? I("", !0) : (p(), H(Hi, {
2223
+ b.hidden ? $("", !0) : (p(), W(Hi, {
2224
2224
  key: 1,
2225
2225
  "bottom-items": b.bottomItems,
2226
2226
  "group-config": a.groupConfig,
2227
- "header-height": j.value,
2227
+ "header-height": P.value,
2228
2228
  "mobile-enabled": "",
2229
2229
  "mobile-header-visible": !1,
2230
- "mobile-top-offset": M.value,
2231
- open: T.value,
2230
+ "mobile-top-offset": j.value,
2231
+ open: _.value,
2232
2232
  "top-items": b.topItems,
2233
- "top-offset": $.value,
2234
- onClick: w,
2235
- onToggle: R,
2236
- onToggleCollapse: G[0] || (G[0] = (Z, W) => n("toggle-collapse", Z, W))
2237
- }, Le({ _: 2 }, [
2238
- c.sidebarHeader ? {
2233
+ "top-offset": E.value,
2234
+ onClick: k,
2235
+ onToggle: x,
2236
+ onToggleCollapse: G[0] || (G[0] = (Z, U) => n("toggle-collapse", Z, U))
2237
+ }, Me({ _: 2 }, [
2238
+ u.sidebarHeader ? {
2239
2239
  name: "header",
2240
2240
  fn: L(() => [
2241
- C(F.$slots, "sidebar-header", {}, void 0, !0)
2241
+ I(N.$slots, "sidebar-header", {}, void 0, !0)
2242
2242
  ]),
2243
2243
  key: "0"
2244
2244
  } : void 0,
2245
- c.sidebarTop ? {
2245
+ u.sidebarTop ? {
2246
2246
  name: "top",
2247
2247
  fn: L(() => [
2248
- C(F.$slots, "sidebar-top", {}, void 0, !0)
2248
+ I(N.$slots, "sidebar-top", {}, void 0, !0)
2249
2249
  ]),
2250
2250
  key: "1"
2251
2251
  } : void 0,
2252
- c.sidebarFooter ? {
2252
+ u.sidebarFooter ? {
2253
2253
  name: "footer",
2254
2254
  fn: L(() => [
2255
- C(F.$slots, "sidebar-footer", {}, void 0, !0)
2255
+ I(N.$slots, "sidebar-footer", {}, void 0, !0)
2256
2256
  ]),
2257
2257
  key: "2"
2258
2258
  } : void 0,
2259
- be([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
2259
+ pe([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
2260
2260
  name: `sidebar-icon-${Z.key}`,
2261
2261
  fn: L(() => [
2262
- C(F.$slots, `sidebar-icon-${Z.key}`, {}, void 0, !0)
2262
+ I(N.$slots, `sidebar-icon-${Z.key}`, {}, void 0, !0)
2263
2263
  ])
2264
2264
  })),
2265
- be([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
2265
+ pe([...b.topItems || [], ...b.bottomItems || []], (Z) => ({
2266
2266
  name: `sidebar-after-${Z.key}`,
2267
2267
  fn: L(() => [
2268
- C(F.$slots, `sidebar-after-${Z.key}`, {}, void 0, !0)
2268
+ I(N.$slots, `sidebar-after-${Z.key}`, {}, void 0, !0)
2269
2269
  ])
2270
2270
  }))
2271
2271
  ]), 1032, ["bottom-items", "group-config", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
2272
- E("main", Xi, [
2273
- E("div", Yi, [
2274
- E("div", Qi, [
2275
- G[1] || (G[1] = E("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2276
- C(F.$slots, "app-error", {}, void 0, !0),
2277
- o.value ? I("", !0) : C(F.$slots, "default", { key: 0 }, void 0, !0)
2272
+ F("main", Xi, [
2273
+ F("div", Yi, [
2274
+ F("div", Qi, [
2275
+ G[1] || (G[1] = F("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)),
2276
+ I(N.$slots, "app-error", {}, void 0, !0),
2277
+ o.value ? $("", !0) : I(N.$slots, "default", { key: 0 }, void 0, !0)
2278
2278
  ])
2279
2279
  ])
2280
2280
  ])
@@ -2315,46 +2315,46 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2315
2315
  },
2316
2316
  setup(a) {
2317
2317
  const t = a, r = je(), n = S(() => {
2318
- var c;
2319
- return !!((c = t.breadcrumbs) != null && c.length);
2320
- }), s = S(() => Object.keys(r).filter((c) => c.startsWith("icon-")));
2321
- return (c, o) => {
2322
- const f = pe("KBreadcrumbs");
2323
- return p(), k("div", to, [
2324
- n.value ? (p(), k("div", ao, [
2325
- Me(f, {
2318
+ var u;
2319
+ return !!((u = t.breadcrumbs) != null && u.length);
2320
+ }), s = S(() => Object.keys(r).filter((u) => u.startsWith("icon-")));
2321
+ return (u, o) => {
2322
+ const d = he("KBreadcrumbs");
2323
+ return p(), T("div", to, [
2324
+ n.value ? (p(), T("div", ao, [
2325
+ Le(d, {
2326
2326
  "item-max-width": "150",
2327
2327
  items: a.breadcrumbs
2328
- }, Le({ _: 2 }, [
2329
- be(s.value, (b) => ({
2328
+ }, Me({ _: 2 }, [
2329
+ pe(s.value, (b) => ({
2330
2330
  name: b,
2331
2331
  fn: L(() => [
2332
- C(c.$slots, b, {}, void 0, !0)
2332
+ I(u.$slots, b, {}, void 0, !0)
2333
2333
  ])
2334
2334
  }))
2335
2335
  ]), 1032, ["items"])
2336
- ])) : I("", !0),
2337
- E("div", no, [
2338
- E("div", ro, [
2339
- c.$slots["title-before"] ? (p(), k("div", io, [
2340
- C(c.$slots, "title-before", {}, void 0, !0)
2341
- ])) : I("", !0),
2342
- E("h1", {
2336
+ ])) : $("", !0),
2337
+ F("div", no, [
2338
+ F("div", ro, [
2339
+ u.$slots["title-before"] ? (p(), T("div", io, [
2340
+ I(u.$slots, "title-before", {}, void 0, !0)
2341
+ ])) : $("", !0),
2342
+ F("h1", {
2343
2343
  class: "page-header-title",
2344
2344
  "data-testid": "page-header-title",
2345
2345
  title: a.title
2346
- }, Y(a.title), 9, oo),
2347
- c.$slots["title-after"] ? (p(), k("div", so, [
2348
- C(c.$slots, "title-after", {}, void 0, !0)
2349
- ])) : I("", !0)
2346
+ }, Q(a.title), 9, oo),
2347
+ u.$slots["title-after"] ? (p(), T("div", so, [
2348
+ I(u.$slots, "title-after", {}, void 0, !0)
2349
+ ])) : $("", !0)
2350
2350
  ]),
2351
- c.$slots.actions ? (p(), k("div", lo, [
2352
- C(c.$slots, "actions", {}, void 0, !0)
2353
- ])) : I("", !0)
2351
+ u.$slots.actions ? (p(), T("div", lo, [
2352
+ I(u.$slots, "actions", {}, void 0, !0)
2353
+ ])) : $("", !0)
2354
2354
  ]),
2355
- c.$slots.below ? (p(), k("div", co, [
2356
- C(c.$slots, "below", {}, void 0, !0)
2357
- ])) : I("", !0)
2355
+ u.$slots.below ? (p(), T("div", co, [
2356
+ I(u.$slots, "below", {}, void 0, !0)
2357
+ ])) : $("", !0)
2358
2358
  ]);
2359
2359
  };
2360
2360
  }
@@ -2384,46 +2384,46 @@ const Ni = /* @__PURE__ */ Ai(Fi), Di = {
2384
2384
  titleTag: {
2385
2385
  type: String,
2386
2386
  default: "div",
2387
- validator: (a) => Mn.includes(a)
2387
+ validator: (a) => Ln.includes(a)
2388
2388
  }
2389
2389
  },
2390
2390
  setup(a) {
2391
- return (t, r) => (p(), H(Ee(a.collapsible ? "details" : "div"), {
2391
+ return (t, r) => (p(), W(Fe(a.collapsible ? "details" : "div"), {
2392
2392
  class: "app-page-info-section",
2393
2393
  "data-testid": "app-page-info-section"
2394
2394
  }, {
2395
2395
  default: L(() => [
2396
- (p(), H(Ee(a.collapsible ? "summary" : "div"), {
2396
+ (p(), W(Fe(a.collapsible ? "summary" : "div"), {
2397
2397
  class: "app-page-info-section-header",
2398
2398
  "data-testid": "app-page-info-section-header"
2399
2399
  }, {
2400
2400
  default: L(() => [
2401
- C(t.$slots, "header", {}, () => [
2402
- E("div", fo, [
2403
- a.title ? (p(), H(Ee(a.titleTag), {
2401
+ I(t.$slots, "header", {}, () => [
2402
+ F("div", fo, [
2403
+ a.title ? (p(), W(Fe(a.titleTag), {
2404
2404
  key: 0,
2405
2405
  class: "app-page-info-section-title",
2406
2406
  "data-testid": "app-page-info-section-title"
2407
2407
  }, {
2408
2408
  default: L(() => [
2409
- Be(Y(a.title), 1)
2409
+ Be(Q(a.title), 1)
2410
2410
  ]),
2411
2411
  _: 1
2412
- })) : I("", !0),
2413
- a.description ? (p(), k("div", vo, Y(a.description), 1)) : I("", !0)
2412
+ })) : $("", !0),
2413
+ a.description ? (p(), T("div", vo, Q(a.description), 1)) : $("", !0)
2414
2414
  ])
2415
2415
  ]),
2416
- a.collapsible ? (p(), H(ve(ta), {
2416
+ a.collapsible ? (p(), W(be(ta), {
2417
2417
  key: 0,
2418
2418
  class: "app-page-info-section-chevron-icon",
2419
2419
  decorative: ""
2420
- })) : t.$slots.actions ? C(t.$slots, "actions", { key: 1 }) : I("", !0)
2420
+ })) : t.$slots.actions ? I(t.$slots, "actions", { key: 1 }) : $("", !0)
2421
2421
  ]),
2422
2422
  _: 3
2423
2423
  })),
2424
- t.$slots.default ? (p(), k("div", bo, [
2425
- C(t.$slots, "default")
2426
- ])) : I("", !0)
2424
+ t.$slots.default ? (p(), T("div", bo, [
2425
+ I(t.$slots, "default")
2426
+ ])) : $("", !0)
2427
2427
  ]),
2428
2428
  _: 3
2429
2429
  }));