@kong-ui-public/app-layout 2.2.7-pr.940.b45d6a3e.0 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as ee, resolveComponent as ce, openBlock as h, createBlock as Q, withCtx as R, renderSlot as O, createElementBlock as m, Fragment as Ce, renderList as Ne, normalizeClass as re, createTextVNode as ct, toDisplayString as J, computed as g, createSlots as Pe, createVNode as _e, createCommentVNode as C, createElementVNode as w, createStaticVNode as pn, pushScopeId as ze, popScopeId as Ge, useCssVars as ut, useSlots as dt, reactive as Me, onMounted as We, resolveDynamicComponent as mn, withKeys as gn, ref as q, watch as Ze, onUnmounted as yn, Comment as wn, cloneVNode as _n, onBeforeUnmount as Ht, unref as Tn, nextTick as kn, withModifiers as Sn, watchEffect as In, toRef as On } from "vue";
2
- const Cn = /* @__PURE__ */ ee({
1
+ import { defineComponent as te, resolveComponent as le, openBlock as h, createBlock as J, withCtx as R, renderSlot as I, createElementBlock as g, Fragment as $e, renderList as Ee, normalizeClass as ne, createTextVNode as lt, toDisplayString as Y, computed as y, createSlots as Ze, createVNode as _e, createCommentVNode as O, createElementVNode as _, createStaticVNode as pn, pushScopeId as Ge, popScopeId as We, useCssVars as dt, useSlots as ft, reactive as Pe, onMounted as qe, resolveDynamicComponent as mn, withKeys as gn, ref as q, watch as Ke, onUnmounted as yn, Comment as wn, cloneVNode as _n, onBeforeUnmount as Ut, unref as Tn, nextTick as kn, withModifiers as Sn, watchEffect as In, toRef as On } from "vue";
2
+ const Cn = /* @__PURE__ */ te({
3
3
  __name: "AccountDropdown",
4
4
  props: {
5
5
  options: {
@@ -17,27 +17,27 @@ const Cn = /* @__PURE__ */ ee({
17
17
  default: " "
18
18
  }
19
19
  },
20
- setup(n) {
21
- return (t, a) => {
22
- const r = ce("KDropdownItem"), l = ce("KDropdown");
23
- return h(), Q(l, {
20
+ setup(a) {
21
+ return (t, r) => {
22
+ const n = le("KDropdownItem"), l = le("KDropdown");
23
+ return h(), J(l, {
24
24
  class: "account-dropdown",
25
25
  "kpop-attributes": { placement: "bottomStart" },
26
- "trigger-text": n.userInitials,
27
- width: n.width
26
+ "trigger-text": a.userInitials,
27
+ width: a.width
28
28
  }, {
29
29
  items: R(({ handleSelection: d }) => [
30
- O(t.$slots, "default", {}, () => [
31
- (h(!0), m(Ce, null, Ne(n.options, (o) => (h(), Q(r, {
30
+ I(t.$slots, "default", {}, () => [
31
+ (h(!0), g($e, null, Ee(a.options, (o) => (h(), J(n, {
32
32
  key: o.value,
33
- class: re({ "has-divider": o.hasDivider }),
33
+ class: ne({ "has-divider": o.hasDivider }),
34
34
  "data-testid": "select-" + o.value,
35
35
  "has-divider": o.hasDivider,
36
36
  onClick: (v) => d(o)
37
37
  }, {
38
38
  default: R(() => [
39
- O(t.$slots, "default", { option: o }, () => [
40
- ct(J(o.label), 1)
39
+ I(t.$slots, "default", { option: o }, () => [
40
+ lt(Y(o.label), 1)
41
41
  ], !0)
42
42
  ]),
43
43
  _: 2
@@ -48,12 +48,12 @@ const Cn = /* @__PURE__ */ ee({
48
48
  }, 8, ["trigger-text", "width"]);
49
49
  };
50
50
  }
51
- }), te = (n, t) => {
52
- const a = n.__vccOpts || n;
53
- for (const [r, l] of t)
54
- a[r] = l;
55
- return a;
56
- }, Hi = /* @__PURE__ */ te(Cn, [["__scopeId", "data-v-58c79282"]]), $n = {
51
+ }), ae = (a, t) => {
52
+ const r = a.__vccOpts || a;
53
+ for (const [n, l] of t)
54
+ r[n] = l;
55
+ return r;
56
+ }, Hi = /* @__PURE__ */ ae(Cn, [["__scopeId", "data-v-58c79282"]]), $n = {
57
57
  class: "about-section-title",
58
58
  "data-testid": "about-section-title"
59
59
  }, Nn = { class: "about-section-header-end" }, En = {
@@ -89,7 +89,7 @@ const Cn = /* @__PURE__ */ ee({
89
89
  key: 3,
90
90
  class: "about-divider-section",
91
91
  "data-testid": "about-divider-section"
92
- }, Zn = /* @__PURE__ */ ee({
92
+ }, Zn = /* @__PURE__ */ te({
93
93
  __name: "AppAboutSection",
94
94
  props: {
95
95
  title: {
@@ -121,13 +121,13 @@ const Cn = /* @__PURE__ */ ee({
121
121
  default: !1
122
122
  }
123
123
  },
124
- setup(n) {
125
- const t = n, a = g(() => !!t.modified && t.modified !== t.created);
126
- return (r, l) => {
127
- const d = ce("KSkeletonBox"), o = ce("KCard");
128
- return h(), Q(o, { class: "kong-ui-app-about-section" }, Pe({
124
+ setup(a) {
125
+ const t = a, r = y(() => !!t.modified && t.modified !== t.created);
126
+ return (n, l) => {
127
+ const d = le("KSkeletonBox"), o = le("KCard");
128
+ return h(), J(o, { class: "kong-ui-app-about-section" }, Ze({
129
129
  default: R(() => [
130
- n.isLoading ? (h(), m("div", Dn, [
130
+ a.isLoading ? (h(), g("div", Dn, [
131
131
  _e(d, {
132
132
  height: "2",
133
133
  width: "100"
@@ -136,41 +136,41 @@ const Cn = /* @__PURE__ */ ee({
136
136
  height: "2",
137
137
  width: "100"
138
138
  })
139
- ])) : (h(), m("div", Rn, [
140
- n.description ? (h(), m("p", Bn, J(n.description), 1)) : C("", !0),
141
- r.$slots.default ? (h(), m("div", Ln, [
142
- O(r.$slots, "default", {}, void 0, !0)
143
- ])) : C("", !0),
144
- r.$slots["divider-section"] ? (h(), m("hr", Mn)) : C("", !0),
145
- r.$slots["divider-section"] ? (h(), m("div", Pn, [
146
- O(r.$slots, "divider-section", {}, void 0, !0)
147
- ])) : C("", !0)
139
+ ])) : (h(), g("div", Rn, [
140
+ a.description ? (h(), g("p", Bn, Y(a.description), 1)) : O("", !0),
141
+ n.$slots.default ? (h(), g("div", Ln, [
142
+ I(n.$slots, "default", {}, void 0, !0)
143
+ ])) : O("", !0),
144
+ n.$slots["divider-section"] ? (h(), g("hr", Mn)) : O("", !0),
145
+ n.$slots["divider-section"] ? (h(), g("div", Pn, [
146
+ I(n.$slots, "divider-section", {}, void 0, !0)
147
+ ])) : O("", !0)
148
148
  ]))
149
149
  ]),
150
150
  _: 2
151
151
  }, [
152
- n.title ? {
152
+ a.title ? {
153
153
  name: "title",
154
154
  fn: R(() => [
155
- w("span", $n, J(n.title), 1)
155
+ _("span", $n, Y(a.title), 1)
156
156
  ]),
157
157
  key: "0"
158
158
  } : void 0,
159
- r.$slots.actions || n.created || n.modified ? {
159
+ n.$slots.actions || a.created || a.modified ? {
160
160
  name: "actions",
161
161
  fn: R(() => [
162
- w("div", Nn, [
163
- n.created || n.modified ? (h(), m("div", {
162
+ _("div", Nn, [
163
+ a.created || a.modified ? (h(), g("div", {
164
164
  key: 0,
165
- class: re(["about-section-timestamps", { "has-actions": r.$slots.actions }])
165
+ class: ne(["about-section-timestamps", { "has-actions": n.$slots.actions }])
166
166
  }, [
167
- n.created ? (h(), m("span", En, J(n.createdLabel) + ": " + J(n.created), 1)) : C("", !0),
168
- n.created && a.value ? (h(), m("span", An, "->")) : C("", !0),
169
- a.value ? (h(), m("span", Fn, J(n.modifiedLabel) + ": " + J(n.modified), 1)) : C("", !0)
170
- ], 2)) : C("", !0),
171
- r.$slots.actions ? (h(), m("div", xn, [
172
- O(r.$slots, "actions", {}, void 0, !0)
173
- ])) : C("", !0)
167
+ a.created ? (h(), g("span", En, Y(a.createdLabel) + ": " + Y(a.created), 1)) : O("", !0),
168
+ a.created && r.value ? (h(), g("span", An, "->")) : O("", !0),
169
+ r.value ? (h(), g("span", Fn, Y(a.modifiedLabel) + ": " + Y(a.modified), 1)) : O("", !0)
170
+ ], 2)) : O("", !0),
171
+ n.$slots.actions ? (h(), g("div", xn, [
172
+ I(n.$slots, "actions", {}, void 0, !0)
173
+ ])) : O("", !0)
174
174
  ])
175
175
  ]),
176
176
  key: "1"
@@ -178,7 +178,7 @@ const Cn = /* @__PURE__ */ ee({
178
178
  ]), 1024);
179
179
  };
180
180
  }
181
- }), Ui = /* @__PURE__ */ te(Zn, [["__scopeId", "data-v-d4c8058d"]]), Kn = {}, jn = {
181
+ }), Ui = /* @__PURE__ */ ae(Zn, [["__scopeId", "data-v-d4c8058d"]]), Kn = {}, jn = {
182
182
  fill: "none",
183
183
  height: "130",
184
184
  width: "130",
@@ -186,32 +186,32 @@ const Cn = /* @__PURE__ */ ee({
186
186
  }, Hn = /* @__PURE__ */ pn('<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), Un = [
187
187
  Hn
188
188
  ];
189
- function Vn(n, t) {
190
- return h(), m("svg", jn, Un);
189
+ function Vn(a, t) {
190
+ return h(), g("svg", jn, Un);
191
191
  }
192
- const zn = /* @__PURE__ */ te(Kn, [["render", Vn]]), Ut = (n) => (ze("data-v-5cbccc66"), n = n(), Ge(), n), Gn = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, qn = { class: "kong-ui-app-error-content" }, Xn = /* @__PURE__ */ Ut(() => /* @__PURE__ */ w("h2", null, "An unexpected error has occurred", -1)), Yn = /* @__PURE__ */ Ut(() => /* @__PURE__ */ w("p", null, [
193
- /* @__PURE__ */ ct("Go back to the previous page or "),
194
- /* @__PURE__ */ w("a", { href: "/" }, "return home"),
195
- /* @__PURE__ */ ct(".")
196
- ], -1)), Jn = /* @__PURE__ */ ee({
192
+ const zn = /* @__PURE__ */ ae(Kn, [["render", Vn]]), Vt = (a) => (Ge("data-v-5cbccc66"), a = a(), We(), a), Gn = { class: "kong-ui-app-error" }, Wn = { class: "banana-icon" }, qn = { class: "kong-ui-app-error-content" }, Xn = /* @__PURE__ */ Vt(() => /* @__PURE__ */ _("h2", null, "An unexpected error has occurred", -1)), Yn = /* @__PURE__ */ Vt(() => /* @__PURE__ */ _("p", null, [
193
+ /* @__PURE__ */ lt("Go back to the previous page or "),
194
+ /* @__PURE__ */ _("a", { href: "/" }, "return home"),
195
+ /* @__PURE__ */ lt(".")
196
+ ], -1)), Jn = /* @__PURE__ */ te({
197
197
  __name: "AppError",
198
- setup(n) {
199
- return (t, a) => (h(), m("section", Gn, [
200
- w("div", Wn, [
198
+ setup(a) {
199
+ return (t, r) => (h(), g("section", Gn, [
200
+ _("div", Wn, [
201
201
  _e(zn)
202
202
  ]),
203
- w("div", qn, [
204
- O(t.$slots, "default", {}, () => [
203
+ _("div", qn, [
204
+ I(t.$slots, "default", {}, () => [
205
205
  Xn,
206
206
  Yn
207
207
  ], !0)
208
208
  ])
209
209
  ]));
210
210
  }
211
- }), Vi = /* @__PURE__ */ te(Jn, [["__scopeId", "data-v-5cbccc66"]]), Qn = { class: "kong-ui-app-navbar" }, er = { class: "header-content" }, tr = { class: "mobile-header-left" }, ar = {
211
+ }), Vi = /* @__PURE__ */ ae(Jn, [["__scopeId", "data-v-5cbccc66"]]), Qn = { class: "kong-ui-app-navbar" }, er = { class: "header-content" }, tr = { class: "mobile-header-left" }, ar = {
212
212
  key: 0,
213
213
  class: "app-navbar-logo"
214
- }, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ ee({
214
+ }, nr = { class: "navbar-content" }, rr = { class: "navbar-content-left" }, ir = { class: "navbar-content-center" }, or = { class: "navbar-content-right" }, sr = /* @__PURE__ */ te({
215
215
  __name: "AppNavbar",
216
216
  props: {
217
217
  topOffset: {
@@ -228,52 +228,51 @@ const zn = /* @__PURE__ */ te(Kn, [["render", Vn]]), Ut = (n) => (ze("data-v-5cb
228
228
  default: 3
229
229
  }
230
230
  },
231
- setup(n) {
232
- const t = n;
233
- ut((o) => ({
231
+ setup(a) {
232
+ dt((o) => ({
234
233
  d96d0598: d.value.top,
235
234
  "05b18f8e": d.value.zIndex,
236
235
  "543b3ff0": d.value.left,
237
236
  "247c8fd0": l.marginRight,
238
237
  "278e63f0": l.width
239
238
  }));
240
- const a = dt(), r = g(() => !!a.logo), l = Me({
239
+ const t = a, r = ft(), n = y(() => !!r.logo), l = Pe({
241
240
  marginRight: "0",
242
241
  width: "0"
243
242
  });
244
- We(() => {
243
+ qe(() => {
245
244
  var o, v;
246
245
  (v = (o = document == null ? void 0 : document.querySelector(".kong-ui-app-navbar .app-navbar-logo")) == null ? void 0 : o.children) != null && v.length ? (l.marginRight = "32px", l.width = "calc(240px - 32px)") : (l.marginRight = "0", l.width = "0");
247
246
  });
248
- const d = g(() => ({
247
+ const d = y(() => ({
249
248
  top: t.topOffset ? `${t.topOffset}px` : "0",
250
249
  left: t.leftOffset ? `${t.leftOffset}px` : "0",
251
250
  zIndex: t.zIndex
252
251
  }));
253
- return (o, v) => (h(), m("header", Qn, [
254
- w("div", er, [
255
- w("div", tr, [
256
- O(o.$slots, "mobile-sidebar-toggle"),
257
- O(o.$slots, "mobile-logo")
252
+ return (o, v) => (h(), g("header", Qn, [
253
+ _("div", er, [
254
+ _("div", tr, [
255
+ I(o.$slots, "mobile-sidebar-toggle"),
256
+ I(o.$slots, "mobile-logo")
258
257
  ]),
259
- r.value ? (h(), m("div", ar, [
260
- O(o.$slots, "logo")
261
- ])) : C("", !0),
262
- w("div", nr, [
263
- w("div", rr, [
264
- O(o.$slots, "left")
258
+ n.value ? (h(), g("div", ar, [
259
+ I(o.$slots, "logo")
260
+ ])) : O("", !0),
261
+ _("div", nr, [
262
+ _("div", rr, [
263
+ I(o.$slots, "left")
265
264
  ]),
266
- w("div", ir, [
267
- O(o.$slots, "center")
265
+ _("div", ir, [
266
+ I(o.$slots, "center")
268
267
  ]),
269
- w("div", or, [
270
- O(o.$slots, "right")
268
+ _("div", or, [
269
+ I(o.$slots, "right")
271
270
  ])
272
271
  ])
273
272
  ])
274
273
  ]));
275
274
  }
276
- }), cr = /* @__PURE__ */ te(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], ot = 99, ur = /* @__PURE__ */ ee({
275
+ }), cr = /* @__PURE__ */ ae(sr, [["__scopeId", "data-v-beca6ea9"]]), lr = ["title"], st = 99, ur = /* @__PURE__ */ te({
277
276
  __name: "ItemBadge",
278
277
  props: {
279
278
  count: {
@@ -282,21 +281,21 @@ const zn = /* @__PURE__ */ te(Kn, [["render", Vn]]), Ut = (n) => (ze("data-v-5cb
282
281
  default: void 0
283
282
  }
284
283
  },
285
- setup(n) {
286
- const t = n, a = g(() => t.count ? t.count > ot ? `${ot}+` : t.count.toString() : "");
287
- return (r, l) => a.value ? (h(), m("div", {
284
+ setup(a) {
285
+ const t = a, r = y(() => t.count ? t.count > st ? `${st}+` : t.count.toString() : "");
286
+ return (n, l) => r.value ? (h(), g("div", {
288
287
  key: 0,
289
288
  class: "item-badge",
290
- title: (n.count || 0) > ot ? String(n.count) : void 0
291
- }, J(a.value), 9, lr)) : C("", !0);
289
+ title: (a.count || 0) > st ? String(a.count) : void 0
290
+ }, Y(r.value), 9, lr)) : O("", !0);
292
291
  }
293
- }), dr = /* @__PURE__ */ te(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
292
+ }), dr = /* @__PURE__ */ ae(ur, [["__scopeId", "data-v-912b1a1b"]]), fr = ["data-testid"], vr = ["aria-controls", "aria-expanded", "href", "target", "onClick", "onKeypress"], br = {
294
293
  key: 0,
295
294
  class: "sidebar-item-icon"
296
295
  }, hr = { class: "sidebar-item-name-container" }, pr = { class: "sidebar-item-name has-tooltip" }, mr = {
297
296
  key: 2,
298
297
  class: "sidebar-item-label truncate-text truncate-18"
299
- }, gr = ["id"], yr = /* @__PURE__ */ ee({
298
+ }, gr = ["id"], yr = /* @__PURE__ */ te({
300
299
  __name: "SidebarItem",
301
300
  props: {
302
301
  item: {
@@ -309,380 +308,380 @@ const zn = /* @__PURE__ */ te(Kn, [["render", Vn]]), Ut = (n) => (ze("data-v-5cb
309
308
  }
310
309
  },
311
310
  emits: ["click"],
312
- setup(n, { emit: t }) {
313
- const a = n, r = g(() => typeof a.item.to != "string" ? !1 : !!a.item.newWindow || !!a.item.external || a.item.to.startsWith("http")), l = g(() => !a.item.to || typeof a.item.to != "string" || !a.item.newWindow ? !1 : a.item.newWindow && (a.item.to.startsWith("http") || a.item.to.startsWith("/"))), d = g(() => a.subnavItem && a.item.badgeCount !== void 0), o = (p) => {
314
- t("click", p);
315
- }, v = (p, _, x) => {
316
- o(_), typeof x == "function" && (p.preventDefault(), x());
311
+ setup(a, { emit: t }) {
312
+ const r = t, n = a, l = y(() => typeof n.item.to != "string" ? !1 : !!n.item.newWindow || !!n.item.external || n.item.to.startsWith("http")), d = y(() => !n.item.to || typeof n.item.to != "string" || !n.item.newWindow ? !1 : n.item.newWindow && (n.item.to.startsWith("http") || n.item.to.startsWith("/"))), o = y(() => n.subnavItem && n.item.badgeCount !== void 0), v = (k) => {
313
+ r("click", k);
314
+ }, p = (k, x, N) => {
315
+ v(x), typeof N == "function" && (k.preventDefault(), N());
317
316
  };
318
- return (p, _) => {
319
- var I;
320
- const x = ce("KIcon"), E = ce("KTooltip"), D = ce("SidebarItem", !0);
321
- return h(), m("li", {
322
- class: re([n.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: n.item.expanded }, { active: n.item.active }]),
323
- "data-testid": n.item.testId ? `sidebar-item-${n.item.testId}` : void 0
317
+ return (k, x) => {
318
+ var C;
319
+ const N = le("KIcon"), D = le("KTooltip"), K = le("SidebarItem", !0);
320
+ return h(), g("li", {
321
+ class: ne([a.subnavItem ? "sidebar-item-secondary" : "sidebar-item-primary", { expanded: a.item.expanded }, { active: a.item.active }]),
322
+ "data-testid": a.item.testId ? `sidebar-item-${a.item.testId}` : void 0
324
323
  }, [
325
- (h(), Q(mn(r.value ? "div" : "router-link"), {
326
- custom: r.value ? void 0 : !0,
327
- to: !r.value && !l.value ? n.item.to : void 0
324
+ (h(), J(mn(l.value ? "div" : "router-link"), {
325
+ custom: l.value ? void 0 : !0,
326
+ to: !l.value && !d.value ? a.item.to : void 0
328
327
  }, {
329
- default: R((N) => {
330
- var G, K;
328
+ default: R((E) => {
329
+ var z, M;
331
330
  return [
332
- w("a", {
333
- "aria-controls": (G = n.item.items) != null && G.length && n.item.expanded ? `subnav-${n.item.key}` : void 0,
334
- "aria-expanded": (K = n.item.items) != null && K.length && n.item.expanded ? !0 : void 0,
335
- class: re(["sidebar-item-link", { "sidebar-item-external-link": l.value, "router-link": !r.value }]),
336
- href: r.value ? String(n.item.to || "#") : N == null ? void 0 : N.href,
337
- target: l.value ? "_blank" : void 0,
338
- onClick: (Z) => v(Z, n.item, N == null ? void 0 : N.navigate),
339
- onKeypress: gn((Z) => v(Z, n.item, N == null ? void 0 : N.navigate), ["enter"])
331
+ _("a", {
332
+ "aria-controls": (z = a.item.items) != null && z.length && a.item.expanded ? `subnav-${a.item.key}` : void 0,
333
+ "aria-expanded": (M = a.item.items) != null && M.length && a.item.expanded ? !0 : void 0,
334
+ class: ne(["sidebar-item-link", { "sidebar-item-external-link": d.value, "router-link": !l.value }]),
335
+ href: l.value ? String(a.item.to || "#") : E == null ? void 0 : E.href,
336
+ target: d.value ? "_blank" : void 0,
337
+ onClick: (U) => p(U, a.item, E == null ? void 0 : E.navigate),
338
+ onKeypress: gn((U) => p(U, a.item, E == null ? void 0 : E.navigate), ["enter"])
340
339
  }, [
341
- w("div", {
342
- class: re(["sidebar-item-display", { "has-label": !!n.item.label && n.item.expanded, "has-badge": d.value }])
340
+ _("div", {
341
+ class: ne(["sidebar-item-display", { "has-label": !!a.item.label && a.item.expanded, "has-badge": o.value }])
343
342
  }, [
344
- n.item.icon ? (h(), m("div", br, [
345
- _e(x, {
346
- icon: String(n.item.icon),
343
+ a.item.icon ? (h(), g("div", br, [
344
+ _e(N, {
345
+ icon: String(a.item.icon),
347
346
  size: "20"
348
347
  }, null, 8, ["icon"])
349
- ])) : C("", !0),
350
- w("div", hr, [
351
- (n.subnavItem ? n.item.name.length < 25 : n.item.name.length < 18) ? (h(), m("div", {
348
+ ])) : O("", !0),
349
+ _("div", hr, [
350
+ (a.subnavItem ? a.item.name.length < 25 : a.item.name.length < 18) ? (h(), g("div", {
352
351
  key: 0,
353
- class: re(["sidebar-item-name truncate-text", [n.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
354
- }, J(n.item.name), 3)) : (h(), Q(E, {
352
+ class: ne(["sidebar-item-name truncate-text", [a.subnavItem ? "has-badge-max-width truncate-24" : "truncate-17"]])
353
+ }, Y(a.item.name), 3)) : (h(), J(D, {
355
354
  key: 1,
356
355
  class: "sidebar-item-tooltip",
357
- label: n.item.name,
356
+ label: a.item.name,
358
357
  placement: "right",
359
358
  "position-fixed": ""
360
359
  }, {
361
360
  default: R(() => [
362
- w("div", pr, [
363
- w("span", {
364
- class: re(["truncate-text", [n.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": d.value }]])
365
- }, J(n.item.name), 3)
361
+ _("div", pr, [
362
+ _("span", {
363
+ class: ne(["truncate-text", [a.subnavItem ? "truncate-18" : "truncate-17", { "has-badge-max-width": o.value }]])
364
+ }, Y(a.item.name), 3)
366
365
  ])
367
366
  ]),
368
367
  _: 1
369
368
  }, 8, ["label"])),
370
- n.item.label && n.item.expanded ? (h(), m("div", mr, J(n.item.label), 1)) : C("", !0)
369
+ a.item.label && a.item.expanded ? (h(), g("div", mr, Y(a.item.label), 1)) : O("", !0)
371
370
  ]),
372
- d.value ? (h(), Q(dr, {
371
+ o.value ? (h(), J(dr, {
373
372
  key: 1,
374
- count: n.item.badgeCount
375
- }, null, 8, ["count"])) : C("", !0)
373
+ count: a.item.badgeCount
374
+ }, null, 8, ["count"])) : O("", !0)
376
375
  ], 2)
377
376
  ], 42, vr)
378
377
  ];
379
378
  }),
380
379
  _: 1
381
380
  }, 8, ["custom", "to"])),
382
- (I = n.item.items) != null && I.length && n.item.expanded ? (h(), m("ul", {
381
+ (C = a.item.items) != null && C.length && a.item.expanded ? (h(), g("ul", {
383
382
  key: 0,
384
- id: `subnav-${n.item.key}`,
383
+ id: `subnav-${a.item.key}`,
385
384
  class: "level-secondary"
386
385
  }, [
387
- (h(!0), m(Ce, null, Ne(n.item.items, (N) => (h(), Q(D, {
388
- key: N.name,
389
- item: N,
386
+ (h(!0), g($e, null, Ee(a.item.items, (E) => (h(), J(K, {
387
+ key: E.name,
388
+ item: E,
390
389
  "subnav-item": !0,
391
- onClick: (G) => o(N)
390
+ onClick: (z) => v(E)
392
391
  }, null, 8, ["item", "onClick"]))), 128))
393
- ], 8, gr)) : C("", !0)
392
+ ], 8, gr)) : O("", !0)
394
393
  ], 10, fr);
395
394
  };
396
395
  }
397
- }), Bt = /* @__PURE__ */ te(yr, [["__scopeId", "data-v-d33cb719"]]);
396
+ }), Lt = /* @__PURE__ */ ae(yr, [["__scopeId", "data-v-d33cb719"]]);
398
397
  /*!
399
398
  * tabbable 6.2.0
400
399
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
401
400
  */
402
- var Vt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ke = /* @__PURE__ */ Vt.join(","), zt = typeof Element > "u", be = zt ? function() {
403
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, je = !zt && Element.prototype.getRootNode ? function(n) {
401
+ var zt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], je = /* @__PURE__ */ zt.join(","), Gt = typeof Element > "u", he = Gt ? function() {
402
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, He = !Gt && Element.prototype.getRootNode ? function(a) {
404
403
  var t;
405
- return n == null || (t = n.getRootNode) === null || t === void 0 ? void 0 : t.call(n);
406
- } : function(n) {
407
- return n == null ? void 0 : n.ownerDocument;
408
- }, He = function n(t, a) {
409
- var r;
410
- a === void 0 && (a = !0);
411
- var l = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), d = l === "" || l === "true", o = d || a && t && n(t.parentNode);
404
+ return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
405
+ } : function(a) {
406
+ return a == null ? void 0 : a.ownerDocument;
407
+ }, Ue = function a(t, r) {
408
+ var n;
409
+ r === void 0 && (r = !0);
410
+ var l = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), d = l === "" || l === "true", o = d || r && t && a(t.parentNode);
412
411
  return o;
413
412
  }, wr = function(t) {
414
- var a, r = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
415
- return r === "" || r === "true";
416
- }, Gt = function(t, a, r) {
417
- if (He(t))
413
+ var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
414
+ return n === "" || n === "true";
415
+ }, Wt = function(t, r, n) {
416
+ if (Ue(t))
418
417
  return [];
419
- var l = Array.prototype.slice.apply(t.querySelectorAll(Ke));
420
- return a && be.call(t, Ke) && l.unshift(t), l = l.filter(r), l;
421
- }, Wt = function n(t, a, r) {
418
+ var l = Array.prototype.slice.apply(t.querySelectorAll(je));
419
+ return r && he.call(t, je) && l.unshift(t), l = l.filter(n), l;
420
+ }, qt = function a(t, r, n) {
422
421
  for (var l = [], d = Array.from(t); d.length; ) {
423
422
  var o = d.shift();
424
- if (!He(o, !1))
423
+ if (!Ue(o, !1))
425
424
  if (o.tagName === "SLOT") {
426
- var v = o.assignedElements(), p = v.length ? v : o.children, _ = n(p, !0, r);
427
- r.flatten ? l.push.apply(l, _) : l.push({
425
+ var v = o.assignedElements(), p = v.length ? v : o.children, k = a(p, !0, n);
426
+ n.flatten ? l.push.apply(l, k) : l.push({
428
427
  scopeParent: o,
429
- candidates: _
428
+ candidates: k
430
429
  });
431
430
  } else {
432
- var x = be.call(o, Ke);
433
- x && r.filter(o) && (a || !t.includes(o)) && l.push(o);
434
- var E = o.shadowRoot || // check for an undisclosed shadow
435
- typeof r.getShadowRoot == "function" && r.getShadowRoot(o), D = !He(E, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
436
- if (E && D) {
437
- var I = n(E === !0 ? o.children : E.children, !0, r);
438
- r.flatten ? l.push.apply(l, I) : l.push({
431
+ var x = he.call(o, je);
432
+ x && n.filter(o) && (r || !t.includes(o)) && l.push(o);
433
+ var N = o.shadowRoot || // check for an undisclosed shadow
434
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(o), D = !Ue(N, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
435
+ if (N && D) {
436
+ var K = a(N === !0 ? o.children : N.children, !0, n);
437
+ n.flatten ? l.push.apply(l, K) : l.push({
439
438
  scopeParent: o,
440
- candidates: I
439
+ candidates: K
441
440
  });
442
441
  } else
443
442
  d.unshift.apply(d, o.children);
444
443
  }
445
444
  }
446
445
  return l;
447
- }, qt = function(t) {
446
+ }, Xt = function(t) {
448
447
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
449
- }, ve = function(t) {
448
+ }, be = function(t) {
450
449
  if (!t)
451
450
  throw new Error("No node provided");
452
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || wr(t)) && !qt(t) ? 0 : t.tabIndex;
453
- }, _r = function(t, a) {
454
- var r = ve(t);
455
- return r < 0 && a && !qt(t) ? 0 : r;
456
- }, Tr = function(t, a) {
457
- return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
458
- }, Xt = function(t) {
451
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || wr(t)) && !Xt(t) ? 0 : t.tabIndex;
452
+ }, _r = function(t, r) {
453
+ var n = be(t);
454
+ return n < 0 && r && !Xt(t) ? 0 : n;
455
+ }, Tr = function(t, r) {
456
+ return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
457
+ }, Yt = function(t) {
459
458
  return t.tagName === "INPUT";
460
459
  }, kr = function(t) {
461
- return Xt(t) && t.type === "hidden";
460
+ return Yt(t) && t.type === "hidden";
462
461
  }, Sr = function(t) {
463
- var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
464
- return r.tagName === "SUMMARY";
462
+ var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
463
+ return n.tagName === "SUMMARY";
465
464
  });
466
- return a;
467
- }, Ir = function(t, a) {
468
- for (var r = 0; r < t.length; r++)
469
- if (t[r].checked && t[r].form === a)
470
- return t[r];
465
+ return r;
466
+ }, Ir = function(t, r) {
467
+ for (var n = 0; n < t.length; n++)
468
+ if (t[n].checked && t[n].form === r)
469
+ return t[n];
471
470
  }, Or = function(t) {
472
471
  if (!t.name)
473
472
  return !0;
474
- var a = t.form || je(t), r = function(v) {
475
- return a.querySelectorAll('input[type="radio"][name="' + v + '"]');
473
+ var r = t.form || He(t), n = function(v) {
474
+ return r.querySelectorAll('input[type="radio"][name="' + v + '"]');
476
475
  }, l;
477
476
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
478
- l = r(window.CSS.escape(t.name));
477
+ l = n(window.CSS.escape(t.name));
479
478
  else
480
479
  try {
481
- l = r(t.name);
480
+ l = n(t.name);
482
481
  } catch (o) {
483
482
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
484
483
  }
485
484
  var d = Ir(l, t.form);
486
485
  return !d || d === t;
487
486
  }, Cr = function(t) {
488
- return Xt(t) && t.type === "radio";
487
+ return Yt(t) && t.type === "radio";
489
488
  }, $r = function(t) {
490
489
  return Cr(t) && !Or(t);
491
490
  }, Nr = function(t) {
492
- var a, r = t && je(t), l = (a = r) === null || a === void 0 ? void 0 : a.host, d = !1;
493
- if (r && r !== t) {
491
+ var r, n = t && He(t), l = (r = n) === null || r === void 0 ? void 0 : r.host, d = !1;
492
+ if (n && n !== t) {
494
493
  var o, v, p;
495
494
  for (d = !!((o = l) !== null && o !== void 0 && (v = o.ownerDocument) !== null && v !== void 0 && v.contains(l) || t != null && (p = t.ownerDocument) !== null && p !== void 0 && p.contains(t)); !d && l; ) {
496
- var _, x, E;
497
- r = je(l), l = (_ = r) === null || _ === void 0 ? void 0 : _.host, d = !!((x = l) !== null && x !== void 0 && (E = x.ownerDocument) !== null && E !== void 0 && E.contains(l));
495
+ var k, x, N;
496
+ n = He(l), l = (k = n) === null || k === void 0 ? void 0 : k.host, d = !!((x = l) !== null && x !== void 0 && (N = x.ownerDocument) !== null && N !== void 0 && N.contains(l));
498
497
  }
499
498
  }
500
499
  return d;
501
- }, Lt = function(t) {
502
- var a = t.getBoundingClientRect(), r = a.width, l = a.height;
503
- return r === 0 && l === 0;
504
- }, Er = function(t, a) {
505
- var r = a.displayCheck, l = a.getShadowRoot;
500
+ }, Mt = function(t) {
501
+ var r = t.getBoundingClientRect(), n = r.width, l = r.height;
502
+ return n === 0 && l === 0;
503
+ }, Er = function(t, r) {
504
+ var n = r.displayCheck, l = r.getShadowRoot;
506
505
  if (getComputedStyle(t).visibility === "hidden")
507
506
  return !0;
508
- var d = be.call(t, "details>summary:first-of-type"), o = d ? t.parentElement : t;
509
- if (be.call(o, "details:not([open]) *"))
507
+ var d = he.call(t, "details>summary:first-of-type"), o = d ? t.parentElement : t;
508
+ if (he.call(o, "details:not([open]) *"))
510
509
  return !0;
511
- if (!r || r === "full" || r === "legacy-full") {
510
+ if (!n || n === "full" || n === "legacy-full") {
512
511
  if (typeof l == "function") {
513
512
  for (var v = t; t; ) {
514
- var p = t.parentElement, _ = je(t);
513
+ var p = t.parentElement, k = He(t);
515
514
  if (p && !p.shadowRoot && l(p) === !0)
516
- return Lt(t);
517
- t.assignedSlot ? t = t.assignedSlot : !p && _ !== t.ownerDocument ? t = _.host : t = p;
515
+ return Mt(t);
516
+ t.assignedSlot ? t = t.assignedSlot : !p && k !== t.ownerDocument ? t = k.host : t = p;
518
517
  }
519
518
  t = v;
520
519
  }
521
520
  if (Nr(t))
522
521
  return !t.getClientRects().length;
523
- if (r !== "legacy-full")
522
+ if (n !== "legacy-full")
524
523
  return !0;
525
- } else if (r === "non-zero-area")
526
- return Lt(t);
524
+ } else if (n === "non-zero-area")
525
+ return Mt(t);
527
526
  return !1;
528
527
  }, Ar = function(t) {
529
528
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
530
- for (var a = t.parentElement; a; ) {
531
- if (a.tagName === "FIELDSET" && a.disabled) {
532
- for (var r = 0; r < a.children.length; r++) {
533
- var l = a.children.item(r);
529
+ for (var r = t.parentElement; r; ) {
530
+ if (r.tagName === "FIELDSET" && r.disabled) {
531
+ for (var n = 0; n < r.children.length; n++) {
532
+ var l = r.children.item(n);
534
533
  if (l.tagName === "LEGEND")
535
- return be.call(a, "fieldset[disabled] *") ? !0 : !l.contains(t);
534
+ return he.call(r, "fieldset[disabled] *") ? !0 : !l.contains(t);
536
535
  }
537
536
  return !0;
538
537
  }
539
- a = a.parentElement;
538
+ r = r.parentElement;
540
539
  }
541
540
  return !1;
542
- }, Ue = function(t, a) {
543
- return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
541
+ }, Ve = function(t, r) {
542
+ return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
544
543
  // because we're limited in the type of selectors we can use in JSDom (see related
545
544
  // note related to `candidateSelectors`)
546
- He(a) || kr(a) || Er(a, t) || // For a details element with a summary, the summary element gets the focus
547
- Sr(a) || Ar(a));
548
- }, lt = function(t, a) {
549
- return !($r(a) || ve(a) < 0 || !Ue(t, a));
545
+ Ue(r) || kr(r) || Er(r, t) || // For a details element with a summary, the summary element gets the focus
546
+ Sr(r) || Ar(r));
547
+ }, ut = function(t, r) {
548
+ return !($r(r) || be(r) < 0 || !Ve(t, r));
550
549
  }, Fr = function(t) {
551
- var a = parseInt(t.getAttribute("tabindex"), 10);
552
- return !!(isNaN(a) || a >= 0);
553
- }, xr = function n(t) {
554
- var a = [], r = [];
550
+ var r = parseInt(t.getAttribute("tabindex"), 10);
551
+ return !!(isNaN(r) || r >= 0);
552
+ }, xr = function a(t) {
553
+ var r = [], n = [];
555
554
  return t.forEach(function(l, d) {
556
- var o = !!l.scopeParent, v = o ? l.scopeParent : l, p = _r(v, o), _ = o ? n(l.candidates) : v;
557
- p === 0 ? o ? a.push.apply(a, _) : a.push(v) : r.push({
555
+ var o = !!l.scopeParent, v = o ? l.scopeParent : l, p = _r(v, o), k = o ? a(l.candidates) : v;
556
+ p === 0 ? o ? r.push.apply(r, k) : r.push(v) : n.push({
558
557
  documentOrder: d,
559
558
  tabIndex: p,
560
559
  item: l,
561
560
  isScope: o,
562
- content: _
561
+ content: k
563
562
  });
564
- }), r.sort(Tr).reduce(function(l, d) {
563
+ }), n.sort(Tr).reduce(function(l, d) {
565
564
  return d.isScope ? l.push.apply(l, d.content) : l.push(d.content), l;
566
- }, []).concat(a);
567
- }, Dr = function(t, a) {
568
- a = a || {};
569
- var r;
570
- return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
571
- filter: lt.bind(null, a),
565
+ }, []).concat(r);
566
+ }, Dr = function(t, r) {
567
+ r = r || {};
568
+ var n;
569
+ return r.getShadowRoot ? n = qt([t], r.includeContainer, {
570
+ filter: ut.bind(null, r),
572
571
  flatten: !1,
573
- getShadowRoot: a.getShadowRoot,
572
+ getShadowRoot: r.getShadowRoot,
574
573
  shadowRootFilter: Fr
575
- }) : r = Gt(t, a.includeContainer, lt.bind(null, a)), xr(r);
576
- }, Rr = function(t, a) {
577
- a = a || {};
578
- var r;
579
- return a.getShadowRoot ? r = Wt([t], a.includeContainer, {
580
- filter: Ue.bind(null, a),
574
+ }) : n = Wt(t, r.includeContainer, ut.bind(null, r)), xr(n);
575
+ }, Rr = function(t, r) {
576
+ r = r || {};
577
+ var n;
578
+ return r.getShadowRoot ? n = qt([t], r.includeContainer, {
579
+ filter: Ve.bind(null, r),
581
580
  flatten: !0,
582
- getShadowRoot: a.getShadowRoot
583
- }) : r = Gt(t, a.includeContainer, Ue.bind(null, a)), r;
584
- }, we = function(t, a) {
585
- if (a = a || {}, !t)
581
+ getShadowRoot: r.getShadowRoot
582
+ }) : n = Wt(t, r.includeContainer, Ve.bind(null, r)), n;
583
+ }, we = function(t, r) {
584
+ if (r = r || {}, !t)
586
585
  throw new Error("No node provided");
587
- return be.call(t, Ke) === !1 ? !1 : lt(a, t);
588
- }, Br = /* @__PURE__ */ Vt.concat("iframe").join(","), st = function(t, a) {
589
- if (a = a || {}, !t)
586
+ return he.call(t, je) === !1 ? !1 : ut(r, t);
587
+ }, Br = /* @__PURE__ */ zt.concat("iframe").join(","), ct = function(t, r) {
588
+ if (r = r || {}, !t)
590
589
  throw new Error("No node provided");
591
- return be.call(t, Br) === !1 ? !1 : Ue(a, t);
590
+ return he.call(t, Br) === !1 ? !1 : Ve(r, t);
592
591
  };
593
592
  /*!
594
- * focus-trap 7.5.3
593
+ * focus-trap 7.5.4
595
594
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
596
595
  */
597
- function Mt(n, t) {
598
- var a = Object.keys(n);
596
+ function Pt(a, t) {
597
+ var r = Object.keys(a);
599
598
  if (Object.getOwnPropertySymbols) {
600
- var r = Object.getOwnPropertySymbols(n);
601
- t && (r = r.filter(function(l) {
602
- return Object.getOwnPropertyDescriptor(n, l).enumerable;
603
- })), a.push.apply(a, r);
599
+ var n = Object.getOwnPropertySymbols(a);
600
+ t && (n = n.filter(function(l) {
601
+ return Object.getOwnPropertyDescriptor(a, l).enumerable;
602
+ })), r.push.apply(r, n);
604
603
  }
605
- return a;
604
+ return r;
606
605
  }
607
- function Pt(n) {
606
+ function Zt(a) {
608
607
  for (var t = 1; t < arguments.length; t++) {
609
- var a = arguments[t] != null ? arguments[t] : {};
610
- t % 2 ? Mt(Object(a), !0).forEach(function(r) {
611
- Lr(n, r, a[r]);
612
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Mt(Object(a)).forEach(function(r) {
613
- Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(a, r));
608
+ var r = arguments[t] != null ? arguments[t] : {};
609
+ t % 2 ? Pt(Object(r), !0).forEach(function(n) {
610
+ Lr(a, n, r[n]);
611
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Pt(Object(r)).forEach(function(n) {
612
+ Object.defineProperty(a, n, Object.getOwnPropertyDescriptor(r, n));
614
613
  });
615
614
  }
616
- return n;
615
+ return a;
617
616
  }
618
- function Lr(n, t, a) {
619
- return t = Pr(t), t in n ? Object.defineProperty(n, t, {
620
- value: a,
617
+ function Lr(a, t, r) {
618
+ return t = Pr(t), t in a ? Object.defineProperty(a, t, {
619
+ value: r,
621
620
  enumerable: !0,
622
621
  configurable: !0,
623
622
  writable: !0
624
- }) : n[t] = a, n;
623
+ }) : a[t] = r, a;
625
624
  }
626
- function Mr(n, t) {
627
- if (typeof n != "object" || n === null)
628
- return n;
629
- var a = n[Symbol.toPrimitive];
630
- if (a !== void 0) {
631
- var r = a.call(n, t || "default");
632
- if (typeof r != "object")
633
- return r;
625
+ function Mr(a, t) {
626
+ if (typeof a != "object" || a === null)
627
+ return a;
628
+ var r = a[Symbol.toPrimitive];
629
+ if (r !== void 0) {
630
+ var n = r.call(a, t || "default");
631
+ if (typeof n != "object")
632
+ return n;
634
633
  throw new TypeError("@@toPrimitive must return a primitive value.");
635
634
  }
636
- return (t === "string" ? String : Number)(n);
635
+ return (t === "string" ? String : Number)(a);
637
636
  }
638
- function Pr(n) {
639
- var t = Mr(n, "string");
637
+ function Pr(a) {
638
+ var t = Mr(a, "string");
640
639
  return typeof t == "symbol" ? t : String(t);
641
640
  }
642
- var Zt = {
643
- activateTrap: function(t, a) {
641
+ var Kt = {
642
+ activateTrap: function(t, r) {
644
643
  if (t.length > 0) {
645
- var r = t[t.length - 1];
646
- r !== a && r.pause();
644
+ var n = t[t.length - 1];
645
+ n !== r && n.pause();
647
646
  }
648
- var l = t.indexOf(a);
649
- l === -1 || t.splice(l, 1), t.push(a);
647
+ var l = t.indexOf(r);
648
+ l === -1 || t.splice(l, 1), t.push(r);
650
649
  },
651
- deactivateTrap: function(t, a) {
652
- var r = t.indexOf(a);
653
- r !== -1 && t.splice(r, 1), t.length > 0 && t[t.length - 1].unpause();
650
+ deactivateTrap: function(t, r) {
651
+ var n = t.indexOf(r);
652
+ n !== -1 && t.splice(n, 1), t.length > 0 && t[t.length - 1].unpause();
654
653
  }
655
654
  }, Zr = function(t) {
656
655
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
657
656
  }, Kr = function(t) {
658
657
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
659
- }, $e = function(t) {
658
+ }, Ne = function(t) {
660
659
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
661
660
  }, jr = function(t) {
662
- return $e(t) && !t.shiftKey;
661
+ return Ne(t) && !t.shiftKey;
663
662
  }, Hr = function(t) {
664
- return $e(t) && t.shiftKey;
665
- }, Kt = function(t) {
663
+ return Ne(t) && t.shiftKey;
664
+ }, jt = function(t) {
666
665
  return setTimeout(t, 0);
667
- }, jt = function(t, a) {
668
- var r = -1;
666
+ }, Ht = function(t, r) {
667
+ var n = -1;
669
668
  return t.every(function(l, d) {
670
- return a(l) ? (r = d, !1) : !0;
671
- }), r;
672
- }, Oe = function(t) {
673
- for (var a = arguments.length, r = new Array(a > 1 ? a - 1 : 0), l = 1; l < a; l++)
674
- r[l - 1] = arguments[l];
675
- return typeof t == "function" ? t.apply(void 0, r) : t;
676
- }, Be = function(t) {
669
+ return r(l) ? (n = d, !1) : !0;
670
+ }), n;
671
+ }, Ce = function(t) {
672
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
673
+ n[l - 1] = arguments[l];
674
+ return typeof t == "function" ? t.apply(void 0, n) : t;
675
+ }, Le = function(t) {
677
676
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
678
- }, Ur = [], Vr = function(t, a) {
679
- var r = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || Ur, d = Pt({
677
+ }, Ur = [], Vr = function(t, r) {
678
+ var n = (r == null ? void 0 : r.document) || document, l = (r == null ? void 0 : r.trapStack) || Ur, d = Zt({
680
679
  returnFocusOnDeactivate: !0,
681
680
  escapeDeactivates: !0,
682
681
  delayInitialFocus: !0,
683
682
  isKeyForward: jr,
684
683
  isKeyBackward: Hr
685
- }, a), o = {
684
+ }, r), o = {
686
685
  // containers given to createFocusTrap()
687
686
  // @type {Array<HTMLElement>}
688
687
  containers: [],
@@ -720,24 +719,24 @@ var Zt = {
720
719
  recentNavEvent: void 0
721
720
  }, v, p = function(s, u, f) {
722
721
  return s && s[u] !== void 0 ? s[u] : d[f || u];
723
- }, _ = function(s, u) {
722
+ }, k = function(s, u) {
724
723
  var f = typeof (u == null ? void 0 : u.composedPath) == "function" ? u.composedPath() : void 0;
725
- return o.containerGroups.findIndex(function(y) {
726
- var k = y.container, A = y.tabbableNodes;
727
- return k.contains(s) || // fall back to explicit tabbable search which will take into consideration any
724
+ return o.containerGroups.findIndex(function(w) {
725
+ var S = w.container, A = w.tabbableNodes;
726
+ return S.contains(s) || // fall back to explicit tabbable search which will take into consideration any
728
727
  // web components if the `tabbableOptions.getShadowRoot` option was used for
729
728
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
730
729
  // look inside web components even if open)
731
- (f == null ? void 0 : f.includes(k)) || A.find(function(F) {
730
+ (f == null ? void 0 : f.includes(S)) || A.find(function(F) {
732
731
  return F === s;
733
732
  });
734
733
  });
735
734
  }, x = function(s) {
736
735
  var u = d[s];
737
736
  if (typeof u == "function") {
738
- for (var f = arguments.length, y = new Array(f > 1 ? f - 1 : 0), k = 1; k < f; k++)
739
- y[k - 1] = arguments[k];
740
- u = u.apply(void 0, y);
737
+ for (var f = arguments.length, w = new Array(f > 1 ? f - 1 : 0), S = 1; S < f; S++)
738
+ w[S - 1] = arguments[S];
739
+ u = u.apply(void 0, w);
741
740
  }
742
741
  if (u === !0 && (u = void 0), !u) {
743
742
  if (u === void 0 || u === !1)
@@ -745,16 +744,16 @@ var Zt = {
745
744
  throw new Error("`".concat(s, "` was specified but was not a node, or did not return a node"));
746
745
  }
747
746
  var A = u;
748
- if (typeof u == "string" && (A = r.querySelector(u), !A))
747
+ if (typeof u == "string" && (A = n.querySelector(u), !A))
749
748
  throw new Error("`".concat(s, "` as selector refers to no known node"));
750
749
  return A;
751
- }, E = function() {
750
+ }, N = function() {
752
751
  var s = x("initialFocus");
753
752
  if (s === !1)
754
753
  return !1;
755
- if (s === void 0 || !st(s, d.tabbableOptions))
756
- if (_(r.activeElement) >= 0)
757
- s = r.activeElement;
754
+ if (s === void 0 || !ct(s, d.tabbableOptions))
755
+ if (k(n.activeElement) >= 0)
756
+ s = n.activeElement;
758
757
  else {
759
758
  var u = o.tabbableGroups[0], f = u && u.firstTabbableNode;
760
759
  s = f || x("fallbackFocus");
@@ -764,23 +763,23 @@ var Zt = {
764
763
  return s;
765
764
  }, D = function() {
766
765
  if (o.containerGroups = o.containers.map(function(s) {
767
- var u = Dr(s, d.tabbableOptions), f = Rr(s, d.tabbableOptions), y = u.length > 0 ? u[0] : void 0, k = u.length > 0 ? u[u.length - 1] : void 0, A = f.find(function(B) {
768
- return we(B);
769
- }), F = f.slice().reverse().find(function(B) {
770
- return we(B);
771
- }), P = !!u.find(function(B) {
772
- return ve(B) > 0;
766
+ var u = Dr(s, d.tabbableOptions), f = Rr(s, d.tabbableOptions), w = u.length > 0 ? u[0] : void 0, S = u.length > 0 ? u[u.length - 1] : void 0, A = f.find(function(m) {
767
+ return we(m);
768
+ }), F = f.slice().reverse().find(function(m) {
769
+ return we(m);
770
+ }), Z = !!u.find(function(m) {
771
+ return be(m) > 0;
773
772
  });
774
773
  return {
775
774
  container: s,
776
775
  tabbableNodes: u,
777
776
  focusableNodes: f,
778
777
  /** True if at least one node with positive `tabindex` was found in this container. */
779
- posTabIndexesFound: P,
778
+ posTabIndexesFound: Z,
780
779
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
781
- firstTabbableNode: y,
780
+ firstTabbableNode: w,
782
781
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
783
- lastTabbableNode: k,
782
+ lastTabbableNode: S,
784
783
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
785
784
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
786
785
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -800,13 +799,13 @@ var Zt = {
800
799
  * in reverse.
801
800
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
802
801
  */
803
- nextTabbableNode: function(T) {
804
- var le = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ne = u.indexOf(T);
805
- return ne < 0 ? le ? f.slice(f.indexOf(T) + 1).find(function(H) {
806
- return we(H);
807
- }) : f.slice(0, f.indexOf(T)).reverse().find(function(H) {
808
- return we(H);
809
- }) : u[ne + (le ? 1 : -1)];
802
+ nextTabbableNode: function(re) {
803
+ var ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, B = u.indexOf(re);
804
+ return B < 0 ? ue ? f.slice(f.indexOf(re) + 1).find(function(se) {
805
+ return we(se);
806
+ }) : f.slice(0, f.indexOf(re)).reverse().find(function(se) {
807
+ return we(se);
808
+ }) : u[B + (ue ? 1 : -1)];
810
809
  }
811
810
  };
812
811
  }), o.tabbableGroups = o.containerGroups.filter(function(s) {
@@ -817,55 +816,59 @@ var Zt = {
817
816
  return s.posTabIndexesFound;
818
817
  }) && o.containerGroups.length > 1)
819
818
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
820
- }, I = function S(s) {
821
- if (s !== !1 && s !== r.activeElement) {
819
+ }, K = function T(s) {
820
+ var u = s.activeElement;
821
+ if (u)
822
+ return u.shadowRoot && u.shadowRoot.activeElement !== null ? T(u.shadowRoot) : u;
823
+ }, C = function T(s) {
824
+ if (s !== !1 && s !== K(document)) {
822
825
  if (!s || !s.focus) {
823
- S(E());
826
+ T(N());
824
827
  return;
825
828
  }
826
829
  s.focus({
827
830
  preventScroll: !!d.preventScroll
828
831
  }), o.mostRecentlyFocusedNode = s, Zr(s) && s.select();
829
832
  }
830
- }, N = function(s) {
833
+ }, E = function(s) {
831
834
  var u = x("setReturnFocus", s);
832
835
  return u || (u === !1 ? !1 : s);
833
- }, G = function(s) {
834
- var u = s.target, f = s.event, y = s.isBackward, k = y === void 0 ? !1 : y;
835
- u = u || Be(f), D();
836
+ }, z = function(s) {
837
+ var u = s.target, f = s.event, w = s.isBackward, S = w === void 0 ? !1 : w;
838
+ u = u || Le(f), D();
836
839
  var A = null;
837
840
  if (o.tabbableGroups.length > 0) {
838
- var F = _(u, f), P = F >= 0 ? o.containerGroups[F] : void 0;
841
+ var F = k(u, f), Z = F >= 0 ? o.containerGroups[F] : void 0;
839
842
  if (F < 0)
840
- k ? A = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : A = o.tabbableGroups[0].firstTabbableNode;
841
- else if (k) {
842
- var B = jt(o.tabbableGroups, function(he) {
843
- var ke = he.firstTabbableNode;
844
- return u === ke;
843
+ S ? A = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : A = o.tabbableGroups[0].firstTabbableNode;
844
+ else if (S) {
845
+ var m = Ht(o.tabbableGroups, function(ke) {
846
+ var Se = ke.firstTabbableNode;
847
+ return u === Se;
845
848
  });
846
- if (B < 0 && (P.container === u || st(u, d.tabbableOptions) && !we(u, d.tabbableOptions) && !P.nextTabbableNode(u, !1)) && (B = F), B >= 0) {
847
- var T = B === 0 ? o.tabbableGroups.length - 1 : B - 1, le = o.tabbableGroups[T];
848
- A = ve(u) >= 0 ? le.lastTabbableNode : le.lastDomTabbableNode;
849
+ if (m < 0 && (Z.container === u || ct(u, d.tabbableOptions) && !we(u, d.tabbableOptions) && !Z.nextTabbableNode(u, !1)) && (m = F), m >= 0) {
850
+ var re = m === 0 ? o.tabbableGroups.length - 1 : m - 1, ue = o.tabbableGroups[re];
851
+ A = be(u) >= 0 ? ue.lastTabbableNode : ue.lastDomTabbableNode;
849
852
  } else
850
- $e(f) || (A = P.nextTabbableNode(u, !1));
853
+ Ne(f) || (A = Z.nextTabbableNode(u, !1));
851
854
  } else {
852
- var ne = jt(o.tabbableGroups, function(he) {
853
- var ke = he.lastTabbableNode;
854
- return u === ke;
855
+ var B = Ht(o.tabbableGroups, function(ke) {
856
+ var Se = ke.lastTabbableNode;
857
+ return u === Se;
855
858
  });
856
- if (ne < 0 && (P.container === u || st(u, d.tabbableOptions) && !we(u, d.tabbableOptions) && !P.nextTabbableNode(u)) && (ne = F), ne >= 0) {
857
- var H = ne === o.tabbableGroups.length - 1 ? 0 : ne + 1, Te = o.tabbableGroups[H];
858
- A = ve(u) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
859
+ if (B < 0 && (Z.container === u || ct(u, d.tabbableOptions) && !we(u, d.tabbableOptions) && !Z.nextTabbableNode(u)) && (B = F), B >= 0) {
860
+ var se = B === o.tabbableGroups.length - 1 ? 0 : B + 1, Te = o.tabbableGroups[se];
861
+ A = be(u) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
859
862
  } else
860
- $e(f) || (A = P.nextTabbableNode(u));
863
+ Ne(f) || (A = Z.nextTabbableNode(u));
861
864
  }
862
865
  } else
863
866
  A = x("fallbackFocus");
864
867
  return A;
865
- }, K = function(s) {
866
- var u = Be(s);
867
- if (!(_(u, s) >= 0)) {
868
- if (Oe(d.clickOutsideDeactivates, s)) {
868
+ }, M = function(s) {
869
+ var u = Le(s);
870
+ if (!(k(u, s) >= 0)) {
871
+ if (Ce(d.clickOutsideDeactivates, s)) {
869
872
  v.deactivate({
870
873
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
871
874
  // which will result in the outside click setting focus to the node
@@ -877,88 +880,88 @@ var Zt = {
877
880
  });
878
881
  return;
879
882
  }
880
- Oe(d.allowOutsideClick, s) || s.preventDefault();
883
+ Ce(d.allowOutsideClick, s) || s.preventDefault();
881
884
  }
882
- }, Z = function(s) {
883
- var u = Be(s), f = _(u, s) >= 0;
885
+ }, U = function(s) {
886
+ var u = Le(s), f = k(u, s) >= 0;
884
887
  if (f || u instanceof Document)
885
888
  f && (o.mostRecentlyFocusedNode = u);
886
889
  else {
887
890
  s.stopImmediatePropagation();
888
- var y, k = !0;
891
+ var w, S = !0;
889
892
  if (o.mostRecentlyFocusedNode)
890
- if (ve(o.mostRecentlyFocusedNode) > 0) {
891
- var A = _(o.mostRecentlyFocusedNode), F = o.containerGroups[A].tabbableNodes;
893
+ if (be(o.mostRecentlyFocusedNode) > 0) {
894
+ var A = k(o.mostRecentlyFocusedNode), F = o.containerGroups[A].tabbableNodes;
892
895
  if (F.length > 0) {
893
- var P = F.findIndex(function(B) {
894
- return B === o.mostRecentlyFocusedNode;
896
+ var Z = F.findIndex(function(m) {
897
+ return m === o.mostRecentlyFocusedNode;
895
898
  });
896
- P >= 0 && (d.isKeyForward(o.recentNavEvent) ? P + 1 < F.length && (y = F[P + 1], k = !1) : P - 1 >= 0 && (y = F[P - 1], k = !1));
899
+ Z >= 0 && (d.isKeyForward(o.recentNavEvent) ? Z + 1 < F.length && (w = F[Z + 1], S = !1) : Z - 1 >= 0 && (w = F[Z - 1], S = !1));
897
900
  }
898
901
  } else
899
- o.containerGroups.some(function(B) {
900
- return B.tabbableNodes.some(function(T) {
901
- return ve(T) > 0;
902
+ o.containerGroups.some(function(m) {
903
+ return m.tabbableNodes.some(function(re) {
904
+ return be(re) > 0;
902
905
  });
903
- }) || (k = !1);
906
+ }) || (S = !1);
904
907
  else
905
- k = !1;
906
- k && (y = G({
908
+ S = !1;
909
+ S && (w = z({
907
910
  // move FROM the MRU node, not event-related node (which will be the node that is
908
911
  // outside the trap causing the focus escape we're trying to fix)
909
912
  target: o.mostRecentlyFocusedNode,
910
913
  isBackward: d.isKeyBackward(o.recentNavEvent)
911
- })), I(y || o.mostRecentlyFocusedNode || E());
914
+ })), C(w || o.mostRecentlyFocusedNode || N());
912
915
  }
913
916
  o.recentNavEvent = void 0;
914
917
  }, oe = function(s) {
915
918
  var u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
916
919
  o.recentNavEvent = s;
917
- var f = G({
920
+ var f = z({
918
921
  event: s,
919
922
  isBackward: u
920
923
  });
921
- f && ($e(s) && s.preventDefault(), I(f));
922
- }, ae = function(s) {
923
- if (Kr(s) && Oe(d.escapeDeactivates, s) !== !1) {
924
+ f && (Ne(s) && s.preventDefault(), C(f));
925
+ }, Q = function(s) {
926
+ if (Kr(s) && Ce(d.escapeDeactivates, s) !== !1) {
924
927
  s.preventDefault(), v.deactivate();
925
928
  return;
926
929
  }
927
930
  (d.isKeyForward(s) || d.isKeyBackward(s)) && oe(s, d.isKeyBackward(s));
928
- }, X = function(s) {
929
- var u = Be(s);
930
- _(u, s) >= 0 || Oe(d.clickOutsideDeactivates, s) || Oe(d.allowOutsideClick, s) || (s.preventDefault(), s.stopImmediatePropagation());
931
- }, V = function() {
931
+ }, ee = function(s) {
932
+ var u = Le(s);
933
+ k(u, s) >= 0 || Ce(d.clickOutsideDeactivates, s) || Ce(d.allowOutsideClick, s) || (s.preventDefault(), s.stopImmediatePropagation());
934
+ }, j = function() {
932
935
  if (o.active)
933
- return Zt.activateTrap(l, v), o.delayInitialFocusTimer = d.delayInitialFocus ? Kt(function() {
934
- I(E());
935
- }) : I(E()), r.addEventListener("focusin", Z, !0), r.addEventListener("mousedown", K, {
936
+ return Kt.activateTrap(l, v), o.delayInitialFocusTimer = d.delayInitialFocus ? jt(function() {
937
+ C(N());
938
+ }) : C(N()), n.addEventListener("focusin", U, !0), n.addEventListener("mousedown", M, {
936
939
  capture: !0,
937
940
  passive: !1
938
- }), r.addEventListener("touchstart", K, {
941
+ }), n.addEventListener("touchstart", M, {
939
942
  capture: !0,
940
943
  passive: !1
941
- }), r.addEventListener("click", X, {
944
+ }), n.addEventListener("click", ee, {
942
945
  capture: !0,
943
946
  passive: !1
944
- }), r.addEventListener("keydown", ae, {
947
+ }), n.addEventListener("keydown", Q, {
945
948
  capture: !0,
946
949
  passive: !1
947
950
  }), v;
948
- }, j = function() {
951
+ }, G = function() {
949
952
  if (o.active)
950
- return r.removeEventListener("focusin", Z, !0), r.removeEventListener("mousedown", K, !0), r.removeEventListener("touchstart", K, !0), r.removeEventListener("click", X, !0), r.removeEventListener("keydown", ae, !0), v;
953
+ return n.removeEventListener("focusin", U, !0), n.removeEventListener("mousedown", M, !0), n.removeEventListener("touchstart", M, !0), n.removeEventListener("click", ee, !0), n.removeEventListener("keydown", Q, !0), v;
951
954
  }, $ = function(s) {
952
955
  var u = s.some(function(f) {
953
- var y = Array.from(f.removedNodes);
954
- return y.some(function(k) {
955
- return k === o.mostRecentlyFocusedNode;
956
+ var w = Array.from(f.removedNodes);
957
+ return w.some(function(S) {
958
+ return S === o.mostRecentlyFocusedNode;
956
959
  });
957
960
  });
958
- u && I(E());
959
- }, M = typeof window < "u" && "MutationObserver" in window ? new MutationObserver($) : void 0, W = function() {
960
- M && (M.disconnect(), o.active && !o.paused && o.containers.map(function(s) {
961
- M.observe(s, {
961
+ u && C(N());
962
+ }, P = typeof window < "u" && "MutationObserver" in window ? new MutationObserver($) : void 0, W = function() {
963
+ P && (P.disconnect(), o.active && !o.paused && o.containers.map(function(s) {
964
+ P.observe(s, {
962
965
  subtree: !0,
963
966
  childList: !0
964
967
  });
@@ -974,53 +977,53 @@ var Zt = {
974
977
  activate: function(s) {
975
978
  if (o.active)
976
979
  return this;
977
- var u = p(s, "onActivate"), f = p(s, "onPostActivate"), y = p(s, "checkCanFocusTrap");
978
- y || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, u == null || u();
979
- var k = function() {
980
- y && D(), V(), W(), f == null || f();
980
+ var u = p(s, "onActivate"), f = p(s, "onPostActivate"), w = p(s, "checkCanFocusTrap");
981
+ w || D(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = n.activeElement, u == null || u();
982
+ var S = function() {
983
+ w && D(), j(), W(), f == null || f();
981
984
  };
982
- return y ? (y(o.containers.concat()).then(k, k), this) : (k(), this);
985
+ return w ? (w(o.containers.concat()).then(S, S), this) : (S(), this);
983
986
  },
984
987
  deactivate: function(s) {
985
988
  if (!o.active)
986
989
  return this;
987
- var u = Pt({
990
+ var u = Zt({
988
991
  onDeactivate: d.onDeactivate,
989
992
  onPostDeactivate: d.onPostDeactivate,
990
993
  checkCanReturnFocus: d.checkCanReturnFocus
991
994
  }, s);
992
- clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, j(), o.active = !1, o.paused = !1, W(), Zt.deactivateTrap(l, v);
993
- var f = p(u, "onDeactivate"), y = p(u, "onPostDeactivate"), k = p(u, "checkCanReturnFocus"), A = p(u, "returnFocus", "returnFocusOnDeactivate");
995
+ clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, G(), o.active = !1, o.paused = !1, W(), Kt.deactivateTrap(l, v);
996
+ var f = p(u, "onDeactivate"), w = p(u, "onPostDeactivate"), S = p(u, "checkCanReturnFocus"), A = p(u, "returnFocus", "returnFocusOnDeactivate");
994
997
  f == null || f();
995
998
  var F = function() {
996
- Kt(function() {
997
- A && I(N(o.nodeFocusedBeforeActivation)), y == null || y();
999
+ jt(function() {
1000
+ A && C(E(o.nodeFocusedBeforeActivation)), w == null || w();
998
1001
  });
999
1002
  };
1000
- return A && k ? (k(N(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1003
+ return A && S ? (S(E(o.nodeFocusedBeforeActivation)).then(F, F), this) : (F(), this);
1001
1004
  },
1002
1005
  pause: function(s) {
1003
1006
  if (o.paused || !o.active)
1004
1007
  return this;
1005
1008
  var u = p(s, "onPause"), f = p(s, "onPostPause");
1006
- return o.paused = !0, u == null || u(), j(), W(), f == null || f(), this;
1009
+ return o.paused = !0, u == null || u(), G(), W(), f == null || f(), this;
1007
1010
  },
1008
1011
  unpause: function(s) {
1009
1012
  if (!o.paused || !o.active)
1010
1013
  return this;
1011
1014
  var u = p(s, "onUnpause"), f = p(s, "onPostUnpause");
1012
- return o.paused = !1, u == null || u(), D(), V(), W(), f == null || f(), this;
1015
+ return o.paused = !1, u == null || u(), D(), j(), W(), f == null || f(), this;
1013
1016
  },
1014
1017
  updateContainerElements: function(s) {
1015
1018
  var u = [].concat(s).filter(Boolean);
1016
1019
  return o.containers = u.map(function(f) {
1017
- return typeof f == "string" ? r.querySelector(f) : f;
1020
+ return typeof f == "string" ? n.querySelector(f) : f;
1018
1021
  }), o.active && D(), W(), this;
1019
1022
  }
1020
1023
  }, v.updateContainerElements(t), v;
1021
1024
  };
1022
1025
  /*!
1023
- * focus-trap-vue v4.0.1
1026
+ * focus-trap-vue v4.0.2
1024
1027
  * (c) 2023 Eduardo San Martin Morote
1025
1028
  * @license MIT
1026
1029
  */
@@ -1050,7 +1053,7 @@ const zr = {
1050
1053
  preventScroll: Boolean,
1051
1054
  setReturnFocus: [Object, String, Boolean, Function],
1052
1055
  tabbableOptions: Object
1053
- }, Gr = ee({
1056
+ }, Gr = te({
1054
1057
  props: Object.assign({
1055
1058
  active: {
1056
1059
  // TODO: could be options for activate but what about the options for deactivating?
@@ -1068,77 +1071,78 @@ const zr = {
1068
1071
  render() {
1069
1072
  return this.renderImpl();
1070
1073
  },
1071
- setup(n, { slots: t, emit: a }) {
1072
- let r;
1073
- const l = q(null), d = g(() => {
1074
+ setup(a, { slots: t, emit: r }) {
1075
+ let n;
1076
+ const l = q(null), d = y(() => {
1074
1077
  const v = l.value;
1075
1078
  return v && (v instanceof HTMLElement ? v : v.$el);
1076
1079
  });
1077
1080
  function o() {
1078
- return r || (r = Vr(d.value, {
1079
- escapeDeactivates: n.escapeDeactivates,
1080
- allowOutsideClick: n.allowOutsideClick,
1081
- returnFocusOnDeactivate: n.returnFocusOnDeactivate,
1082
- clickOutsideDeactivates: n.clickOutsideDeactivates,
1081
+ return n || (n = Vr(d.value, {
1082
+ escapeDeactivates: a.escapeDeactivates,
1083
+ allowOutsideClick: a.allowOutsideClick,
1084
+ returnFocusOnDeactivate: a.returnFocusOnDeactivate,
1085
+ clickOutsideDeactivates: a.clickOutsideDeactivates,
1083
1086
  onActivate: () => {
1084
- a("update:active", !0), a("activate");
1087
+ r("update:active", !0), r("activate");
1085
1088
  },
1086
1089
  onDeactivate: () => {
1087
- a("update:active", !1), a("deactivate");
1090
+ r("update:active", !1), r("deactivate");
1088
1091
  },
1089
- onPostActivate: () => a("postActivate"),
1090
- onPostDeactivate: () => a("postDeactivate"),
1091
- initialFocus: n.initialFocus,
1092
- fallbackFocus: n.fallbackFocus,
1093
- tabbableOptions: n.tabbableOptions,
1094
- delayInitialFocus: n.delayInitialFocus
1092
+ onPostActivate: () => r("postActivate"),
1093
+ onPostDeactivate: () => r("postDeactivate"),
1094
+ initialFocus: a.initialFocus,
1095
+ fallbackFocus: a.fallbackFocus,
1096
+ tabbableOptions: a.tabbableOptions,
1097
+ delayInitialFocus: a.delayInitialFocus,
1098
+ preventScroll: a.preventScroll
1095
1099
  }));
1096
1100
  }
1097
- return We(() => {
1098
- Ze(() => n.active, (v) => {
1099
- v && d.value ? o().activate() : r && (r.deactivate(), (!d.value || d.value.nodeType === Node.COMMENT_NODE) && (r = null));
1101
+ return qe(() => {
1102
+ Ke(() => a.active, (v) => {
1103
+ v && d.value ? o().activate() : n && (n.deactivate(), (!d.value || d.value.nodeType === Node.COMMENT_NODE) && (n = null));
1100
1104
  }, { immediate: !0, flush: "post" });
1101
1105
  }), yn(() => {
1102
- r && r.deactivate(), r = null;
1106
+ n && n.deactivate(), n = null;
1103
1107
  }), {
1104
1108
  activate() {
1105
1109
  o().activate();
1106
1110
  },
1107
1111
  deactivate() {
1108
- r && r.deactivate();
1112
+ n && n.deactivate();
1109
1113
  },
1110
1114
  renderImpl() {
1111
1115
  if (!t.default)
1112
1116
  return null;
1113
- const v = t.default().filter((_) => _.type !== wn);
1117
+ const v = t.default().filter((k) => k.type !== wn);
1114
1118
  return !v || !v.length || v.length > 1 ? (console.error("[focus-trap-vue]: FocusTrap requires exactly one child."), v) : _n(v[0], { ref: l });
1115
1119
  }
1116
1120
  };
1117
1121
  }
1118
1122
  });
1119
- function Yt() {
1123
+ function Jt() {
1120
1124
  return {
1121
- debounce: (t, a) => {
1122
- let r;
1125
+ debounce: (t, r) => {
1126
+ let n;
1123
1127
  return (...l) => {
1124
- clearTimeout(r), r = window == null ? void 0 : window.setTimeout(() => {
1128
+ clearTimeout(n), n = window == null ? void 0 : window.setTimeout(() => {
1125
1129
  t(...l);
1126
- }, a);
1130
+ }, r);
1127
1131
  };
1128
1132
  }
1129
1133
  };
1130
1134
  }
1131
- var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1132
- function Wr(n) {
1133
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1135
+ var Me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1136
+ function Wr(a) {
1137
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1134
1138
  }
1135
- var Ve = { exports: {} };
1136
- Ve.exports;
1137
- (function(n, t) {
1138
- var a = 200, r = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", p = "[object Date]", _ = "[object Error]", x = "[object Function]", E = "[object GeneratorFunction]", D = "[object Map]", I = "[object Number]", N = "[object Object]", G = "[object Promise]", K = "[object RegExp]", Z = "[object Set]", oe = "[object String]", ae = "[object Symbol]", X = "[object WeakMap]", V = "[object ArrayBuffer]", j = "[object DataView]", $ = "[object Float32Array]", M = "[object Float64Array]", W = "[object Int8Array]", S = "[object Int16Array]", s = "[object Int32Array]", u = "[object Uint8Array]", f = "[object Uint8ClampedArray]", y = "[object Uint16Array]", k = "[object Uint32Array]", A = /[\\^$.*+?()[\]{}|]/g, F = /\w*$/, P = /^\[object .+?Constructor\]$/, B = /^(?:0|[1-9]\d*)$/, T = {};
1139
- T[d] = T[o] = T[V] = T[j] = T[v] = T[p] = T[$] = T[M] = T[W] = T[S] = T[s] = T[D] = T[I] = T[N] = T[K] = T[Z] = T[oe] = T[ae] = T[u] = T[f] = T[y] = T[k] = !0, T[_] = T[x] = T[X] = !1;
1140
- var le = typeof Le == "object" && Le && Le.Object === Object && Le, ne = typeof self == "object" && self && self.Object === Object && self, H = le || ne || Function("return this")(), Te = t && !t.nodeType && t, he = Te && !0 && n && !n.nodeType && n, ke = he && he.exports === Te;
1141
- function Jt(e, i) {
1139
+ var ze = { exports: {} };
1140
+ ze.exports;
1141
+ (function(a, t) {
1142
+ var r = 200, n = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", o = "[object Array]", v = "[object Boolean]", p = "[object Date]", k = "[object Error]", x = "[object Function]", N = "[object GeneratorFunction]", D = "[object Map]", K = "[object Number]", C = "[object Object]", E = "[object Promise]", z = "[object RegExp]", M = "[object Set]", U = "[object String]", oe = "[object Symbol]", Q = "[object WeakMap]", ee = "[object ArrayBuffer]", j = "[object DataView]", G = "[object Float32Array]", $ = "[object Float64Array]", P = "[object Int8Array]", W = "[object Int16Array]", T = "[object Int32Array]", s = "[object Uint8Array]", u = "[object Uint8ClampedArray]", f = "[object Uint16Array]", w = "[object Uint32Array]", S = /[\\^$.*+?()[\]{}|]/g, A = /\w*$/, F = /^\[object .+?Constructor\]$/, Z = /^(?:0|[1-9]\d*)$/, m = {};
1143
+ m[d] = m[o] = m[ee] = m[j] = m[v] = m[p] = m[G] = m[$] = m[P] = m[W] = m[T] = m[D] = m[K] = m[C] = m[z] = m[M] = m[U] = m[oe] = m[s] = m[u] = m[f] = m[w] = !0, m[k] = m[x] = m[Q] = !1;
1144
+ var re = typeof Me == "object" && Me && Me.Object === Object && Me, ue = typeof self == "object" && self && self.Object === Object && self, B = re || ue || Function("return this")(), se = t && !t.nodeType && t, Te = se && !0 && a && !a.nodeType && a, ke = Te && Te.exports === se;
1145
+ function Se(e, i) {
1142
1146
  return e.set(i[0], i[1]), e;
1143
1147
  }
1144
1148
  function Qt(e, i) {
@@ -1154,9 +1158,9 @@ Ve.exports;
1154
1158
  e[L + c] = i[c];
1155
1159
  return e;
1156
1160
  }
1157
- function vt(e, i, c, b) {
1158
- var L = -1, U = e ? e.length : 0;
1159
- for (b && U && (c = e[++L]); ++L < U; )
1161
+ function bt(e, i, c, b) {
1162
+ var L = -1, H = e ? e.length : 0;
1163
+ for (b && H && (c = e[++L]); ++L < H; )
1160
1164
  c = i(c, e[L], L, e);
1161
1165
  return c;
1162
1166
  }
@@ -1168,7 +1172,7 @@ Ve.exports;
1168
1172
  function na(e, i) {
1169
1173
  return e == null ? void 0 : e[i];
1170
1174
  }
1171
- function bt(e) {
1175
+ function ht(e) {
1172
1176
  var i = !1;
1173
1177
  if (e != null && typeof e.toString != "function")
1174
1178
  try {
@@ -1177,30 +1181,30 @@ Ve.exports;
1177
1181
  }
1178
1182
  return i;
1179
1183
  }
1180
- function ht(e) {
1184
+ function pt(e) {
1181
1185
  var i = -1, c = Array(e.size);
1182
1186
  return e.forEach(function(b, L) {
1183
1187
  c[++i] = [L, b];
1184
1188
  }), c;
1185
1189
  }
1186
- function qe(e, i) {
1190
+ function Xe(e, i) {
1187
1191
  return function(c) {
1188
1192
  return e(i(c));
1189
1193
  };
1190
1194
  }
1191
- function pt(e) {
1195
+ function mt(e) {
1192
1196
  var i = -1, c = Array(e.size);
1193
1197
  return e.forEach(function(b) {
1194
1198
  c[++i] = b;
1195
1199
  }), c;
1196
1200
  }
1197
- var ra = Array.prototype, ia = Function.prototype, Ee = Object.prototype, Xe = H["__core-js_shared__"], mt = function() {
1198
- var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
1201
+ var ra = Array.prototype, ia = Function.prototype, Ae = Object.prototype, Ye = B["__core-js_shared__"], gt = function() {
1202
+ var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
1199
1203
  return e ? "Symbol(src)_1." + e : "";
1200
- }(), gt = ia.toString, se = Ee.hasOwnProperty, Ae = Ee.toString, oa = RegExp(
1201
- "^" + gt.call(se).replace(A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1202
- ), yt = ke ? H.Buffer : void 0, wt = H.Symbol, _t = H.Uint8Array, sa = qe(Object.getPrototypeOf, Object), ca = Object.create, la = Ee.propertyIsEnumerable, ua = ra.splice, Tt = Object.getOwnPropertySymbols, da = yt ? yt.isBuffer : void 0, fa = qe(Object.keys, Object), Ye = ge(H, "DataView"), Se = ge(H, "Map"), Je = ge(H, "Promise"), Qe = ge(H, "Set"), et = ge(H, "WeakMap"), Ie = ge(Object, "create"), va = fe(Ye), ba = fe(Se), ha = fe(Je), pa = fe(Qe), ma = fe(et), kt = wt ? wt.prototype : void 0, St = kt ? kt.valueOf : void 0;
1203
- function ue(e) {
1204
+ }(), yt = ia.toString, ce = Ae.hasOwnProperty, Fe = Ae.toString, oa = RegExp(
1205
+ "^" + yt.call(ce).replace(S, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1206
+ ), wt = ke ? B.Buffer : void 0, _t = B.Symbol, Tt = B.Uint8Array, sa = Xe(Object.getPrototypeOf, Object), ca = Object.create, la = Ae.propertyIsEnumerable, ua = ra.splice, kt = Object.getOwnPropertySymbols, da = wt ? wt.isBuffer : void 0, fa = Xe(Object.keys, Object), Je = ge(B, "DataView"), Ie = ge(B, "Map"), Qe = ge(B, "Promise"), et = ge(B, "Set"), tt = ge(B, "WeakMap"), Oe = ge(Object, "create"), va = ve(Je), ba = ve(Ie), ha = ve(Qe), pa = ve(et), ma = ve(tt), St = _t ? _t.prototype : void 0, It = St ? St.valueOf : void 0;
1207
+ function de(e) {
1204
1208
  var i = -1, c = e ? e.length : 0;
1205
1209
  for (this.clear(); ++i < c; ) {
1206
1210
  var b = e[i];
@@ -1208,28 +1212,28 @@ Ve.exports;
1208
1212
  }
1209
1213
  }
1210
1214
  function ga() {
1211
- this.__data__ = Ie ? Ie(null) : {};
1215
+ this.__data__ = Oe ? Oe(null) : {};
1212
1216
  }
1213
1217
  function ya(e) {
1214
1218
  return this.has(e) && delete this.__data__[e];
1215
1219
  }
1216
1220
  function wa(e) {
1217
1221
  var i = this.__data__;
1218
- if (Ie) {
1222
+ if (Oe) {
1219
1223
  var c = i[e];
1220
- return c === r ? void 0 : c;
1224
+ return c === n ? void 0 : c;
1221
1225
  }
1222
- return se.call(i, e) ? i[e] : void 0;
1226
+ return ce.call(i, e) ? i[e] : void 0;
1223
1227
  }
1224
1228
  function _a(e) {
1225
1229
  var i = this.__data__;
1226
- return Ie ? i[e] !== void 0 : se.call(i, e);
1230
+ return Oe ? i[e] !== void 0 : ce.call(i, e);
1227
1231
  }
1228
1232
  function Ta(e, i) {
1229
1233
  var c = this.__data__;
1230
- return c[e] = Ie && i === void 0 ? r : i, this;
1234
+ return c[e] = Oe && i === void 0 ? n : i, this;
1231
1235
  }
1232
- ue.prototype.clear = ga, ue.prototype.delete = ya, ue.prototype.get = wa, ue.prototype.has = _a, ue.prototype.set = Ta;
1236
+ de.prototype.clear = ga, de.prototype.delete = ya, de.prototype.get = wa, de.prototype.has = _a, de.prototype.set = Ta;
1233
1237
  function ie(e) {
1234
1238
  var i = -1, c = e ? e.length : 0;
1235
1239
  for (this.clear(); ++i < c; ) {
@@ -1241,21 +1245,21 @@ Ve.exports;
1241
1245
  this.__data__ = [];
1242
1246
  }
1243
1247
  function Sa(e) {
1244
- var i = this.__data__, c = Fe(i, e);
1248
+ var i = this.__data__, c = xe(i, e);
1245
1249
  if (c < 0)
1246
1250
  return !1;
1247
1251
  var b = i.length - 1;
1248
1252
  return c == b ? i.pop() : ua.call(i, c, 1), !0;
1249
1253
  }
1250
1254
  function Ia(e) {
1251
- var i = this.__data__, c = Fe(i, e);
1255
+ var i = this.__data__, c = xe(i, e);
1252
1256
  return c < 0 ? void 0 : i[c][1];
1253
1257
  }
1254
1258
  function Oa(e) {
1255
- return Fe(this.__data__, e) > -1;
1259
+ return xe(this.__data__, e) > -1;
1256
1260
  }
1257
1261
  function Ca(e, i) {
1258
- var c = this.__data__, b = Fe(c, e);
1262
+ var c = this.__data__, b = xe(c, e);
1259
1263
  return b < 0 ? c.push([e, i]) : c[b][1] = i, this;
1260
1264
  }
1261
1265
  ie.prototype.clear = ka, ie.prototype.delete = Sa, ie.prototype.get = Ia, ie.prototype.has = Oa, ie.prototype.set = Ca;
@@ -1268,22 +1272,22 @@ Ve.exports;
1268
1272
  }
1269
1273
  function $a() {
1270
1274
  this.__data__ = {
1271
- hash: new ue(),
1272
- map: new (Se || ie)(),
1273
- string: new ue()
1275
+ hash: new de(),
1276
+ map: new (Ie || ie)(),
1277
+ string: new de()
1274
1278
  };
1275
1279
  }
1276
1280
  function Na(e) {
1277
- return xe(this, e).delete(e);
1281
+ return De(this, e).delete(e);
1278
1282
  }
1279
1283
  function Ea(e) {
1280
- return xe(this, e).get(e);
1284
+ return De(this, e).get(e);
1281
1285
  }
1282
1286
  function Aa(e) {
1283
- return xe(this, e).has(e);
1287
+ return De(this, e).has(e);
1284
1288
  }
1285
1289
  function Fa(e, i) {
1286
- return xe(this, e).set(e, i), this;
1290
+ return De(this, e).set(e, i), this;
1287
1291
  }
1288
1292
  pe.prototype.clear = $a, pe.prototype.delete = Na, pe.prototype.get = Ea, pe.prototype.has = Aa, pe.prototype.set = Fa;
1289
1293
  function me(e) {
@@ -1305,7 +1309,7 @@ Ve.exports;
1305
1309
  var c = this.__data__;
1306
1310
  if (c instanceof ie) {
1307
1311
  var b = c.__data__;
1308
- if (!Se || b.length < a - 1)
1312
+ if (!Ie || b.length < r - 1)
1309
1313
  return b.push([e, i]), this;
1310
1314
  c = this.__data__ = new pe(b);
1311
1315
  }
@@ -1313,81 +1317,81 @@ Ve.exports;
1313
1317
  }
1314
1318
  me.prototype.clear = xa, me.prototype.delete = Da, me.prototype.get = Ra, me.prototype.has = Ba, me.prototype.set = La;
1315
1319
  function Ma(e, i) {
1316
- var c = nt(e) || ln(e) ? aa(e.length, String) : [], b = c.length, L = !!b;
1317
- for (var U in e)
1318
- (i || se.call(e, U)) && !(L && (U == "length" || rn(U, b))) && c.push(U);
1320
+ var c = rt(e) || ln(e) ? aa(e.length, String) : [], b = c.length, L = !!b;
1321
+ for (var H in e)
1322
+ (i || ce.call(e, H)) && !(L && (H == "length" || rn(H, b))) && c.push(H);
1319
1323
  return c;
1320
1324
  }
1321
- function It(e, i, c) {
1325
+ function Ot(e, i, c) {
1322
1326
  var b = e[i];
1323
- (!(se.call(e, i) && Nt(b, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1327
+ (!(ce.call(e, i) && Et(b, c)) || c === void 0 && !(i in e)) && (e[i] = c);
1324
1328
  }
1325
- function Fe(e, i) {
1329
+ function xe(e, i) {
1326
1330
  for (var c = e.length; c--; )
1327
- if (Nt(e[c][0], i))
1331
+ if (Et(e[c][0], i))
1328
1332
  return c;
1329
1333
  return -1;
1330
1334
  }
1331
1335
  function Pa(e, i) {
1332
- return e && Ot(i, rt(i), e);
1336
+ return e && Ct(i, it(i), e);
1333
1337
  }
1334
- function tt(e, i, c, b, L, U, Y) {
1335
- var z;
1336
- if (b && (z = U ? b(e, L, U, Y) : b(e)), z !== void 0)
1337
- return z;
1338
- if (!De(e))
1338
+ function at(e, i, c, b, L, H, X) {
1339
+ var V;
1340
+ if (b && (V = H ? b(e, L, H, X) : b(e)), V !== void 0)
1341
+ return V;
1342
+ if (!Re(e))
1339
1343
  return e;
1340
- var Ft = nt(e);
1341
- if (Ft) {
1342
- if (z = tn(e), !i)
1343
- return Ja(e, z);
1344
+ var xt = rt(e);
1345
+ if (xt) {
1346
+ if (V = tn(e), !i)
1347
+ return Ja(e, V);
1344
1348
  } else {
1345
- var ye = de(e), xt = ye == x || ye == E;
1349
+ var ye = fe(e), Dt = ye == x || ye == N;
1346
1350
  if (dn(e))
1347
1351
  return Va(e, i);
1348
- if (ye == N || ye == d || xt && !U) {
1349
- if (bt(e))
1350
- return U ? e : {};
1351
- if (z = an(xt ? {} : e), !i)
1352
- return Qa(e, Pa(z, e));
1352
+ if (ye == C || ye == d || Dt && !H) {
1353
+ if (ht(e))
1354
+ return H ? e : {};
1355
+ if (V = an(Dt ? {} : e), !i)
1356
+ return Qa(e, Pa(V, e));
1353
1357
  } else {
1354
- if (!T[ye])
1355
- return U ? e : {};
1356
- z = nn(e, ye, tt, i);
1358
+ if (!m[ye])
1359
+ return H ? e : {};
1360
+ V = nn(e, ye, at, i);
1357
1361
  }
1358
1362
  }
1359
- Y || (Y = new me());
1360
- var Dt = Y.get(e);
1361
- if (Dt)
1362
- return Dt;
1363
- if (Y.set(e, z), !Ft)
1364
- var Rt = c ? en(e) : rt(e);
1365
- return ea(Rt || e, function(it, Re) {
1366
- Rt && (Re = it, it = e[Re]), It(z, Re, tt(it, i, c, b, Re, e, Y));
1367
- }), z;
1363
+ X || (X = new me());
1364
+ var Rt = X.get(e);
1365
+ if (Rt)
1366
+ return Rt;
1367
+ if (X.set(e, V), !xt)
1368
+ var Bt = c ? en(e) : it(e);
1369
+ return ea(Bt || e, function(ot, Be) {
1370
+ Bt && (Be = ot, ot = e[Be]), Ot(V, Be, at(ot, i, c, b, Be, e, X));
1371
+ }), V;
1368
1372
  }
1369
1373
  function Za(e) {
1370
- return De(e) ? ca(e) : {};
1374
+ return Re(e) ? ca(e) : {};
1371
1375
  }
1372
1376
  function Ka(e, i, c) {
1373
1377
  var b = i(e);
1374
- return nt(e) ? b : ta(b, c(e));
1378
+ return rt(e) ? b : ta(b, c(e));
1375
1379
  }
1376
1380
  function ja(e) {
1377
- return Ae.call(e);
1381
+ return Fe.call(e);
1378
1382
  }
1379
1383
  function Ha(e) {
1380
- if (!De(e) || sn(e))
1384
+ if (!Re(e) || sn(e))
1381
1385
  return !1;
1382
- var i = At(e) || bt(e) ? oa : P;
1383
- return i.test(fe(e));
1386
+ var i = Ft(e) || ht(e) ? oa : F;
1387
+ return i.test(ve(e));
1384
1388
  }
1385
1389
  function Ua(e) {
1386
- if (!$t(e))
1390
+ if (!Nt(e))
1387
1391
  return fa(e);
1388
1392
  var i = [];
1389
1393
  for (var c in Object(e))
1390
- se.call(e, c) && c != "constructor" && i.push(c);
1394
+ ce.call(e, c) && c != "constructor" && i.push(c);
1391
1395
  return i;
1392
1396
  }
1393
1397
  function Va(e, i) {
@@ -1396,31 +1400,31 @@ Ve.exports;
1396
1400
  var c = new e.constructor(e.length);
1397
1401
  return e.copy(c), c;
1398
1402
  }
1399
- function at(e) {
1403
+ function nt(e) {
1400
1404
  var i = new e.constructor(e.byteLength);
1401
- return new _t(i).set(new _t(e)), i;
1405
+ return new Tt(i).set(new Tt(e)), i;
1402
1406
  }
1403
1407
  function za(e, i) {
1404
- var c = i ? at(e.buffer) : e.buffer;
1408
+ var c = i ? nt(e.buffer) : e.buffer;
1405
1409
  return new e.constructor(c, e.byteOffset, e.byteLength);
1406
1410
  }
1407
1411
  function Ga(e, i, c) {
1408
- var b = i ? c(ht(e), !0) : ht(e);
1409
- return vt(b, Jt, new e.constructor());
1412
+ var b = i ? c(pt(e), !0) : pt(e);
1413
+ return bt(b, Se, new e.constructor());
1410
1414
  }
1411
1415
  function Wa(e) {
1412
- var i = new e.constructor(e.source, F.exec(e));
1416
+ var i = new e.constructor(e.source, A.exec(e));
1413
1417
  return i.lastIndex = e.lastIndex, i;
1414
1418
  }
1415
1419
  function qa(e, i, c) {
1416
- var b = i ? c(pt(e), !0) : pt(e);
1417
- return vt(b, Qt, new e.constructor());
1420
+ var b = i ? c(mt(e), !0) : mt(e);
1421
+ return bt(b, Qt, new e.constructor());
1418
1422
  }
1419
1423
  function Xa(e) {
1420
- return St ? Object(St.call(e)) : {};
1424
+ return It ? Object(It.call(e)) : {};
1421
1425
  }
1422
1426
  function Ya(e, i) {
1423
- var c = i ? at(e.buffer) : e.buffer;
1427
+ var c = i ? nt(e.buffer) : e.buffer;
1424
1428
  return new e.constructor(c, e.byteOffset, e.length);
1425
1429
  }
1426
1430
  function Ja(e, i) {
@@ -1429,21 +1433,21 @@ Ve.exports;
1429
1433
  i[c] = e[c];
1430
1434
  return i;
1431
1435
  }
1432
- function Ot(e, i, c, b) {
1436
+ function Ct(e, i, c, b) {
1433
1437
  c || (c = {});
1434
- for (var L = -1, U = i.length; ++L < U; ) {
1435
- var Y = i[L], z = b ? b(c[Y], e[Y], Y, c, e) : void 0;
1436
- It(c, Y, z === void 0 ? e[Y] : z);
1438
+ for (var L = -1, H = i.length; ++L < H; ) {
1439
+ var X = i[L], V = b ? b(c[X], e[X], X, c, e) : void 0;
1440
+ Ot(c, X, V === void 0 ? e[X] : V);
1437
1441
  }
1438
1442
  return c;
1439
1443
  }
1440
1444
  function Qa(e, i) {
1441
- return Ot(e, Ct(e), i);
1445
+ return Ct(e, $t(e), i);
1442
1446
  }
1443
1447
  function en(e) {
1444
- return Ka(e, rt, Ct);
1448
+ return Ka(e, it, $t);
1445
1449
  }
1446
- function xe(e, i) {
1450
+ function De(e, i) {
1447
1451
  var c = e.__data__;
1448
1452
  return on(i) ? c[typeof i == "string" ? "string" : "hash"] : c.map;
1449
1453
  }
@@ -1451,9 +1455,9 @@ Ve.exports;
1451
1455
  var c = na(e, i);
1452
1456
  return Ha(c) ? c : void 0;
1453
1457
  }
1454
- var Ct = Tt ? qe(Tt, Object) : bn, de = ja;
1455
- (Ye && de(new Ye(new ArrayBuffer(1))) != j || Se && de(new Se()) != D || Je && de(Je.resolve()) != G || Qe && de(new Qe()) != Z || et && de(new et()) != X) && (de = function(e) {
1456
- var i = Ae.call(e), c = i == N ? e.constructor : void 0, b = c ? fe(c) : void 0;
1458
+ var $t = kt ? Xe(kt, Object) : bn, fe = ja;
1459
+ (Je && fe(new Je(new ArrayBuffer(1))) != j || Ie && fe(new Ie()) != D || Qe && fe(Qe.resolve()) != E || et && fe(new et()) != M || tt && fe(new tt()) != Q) && (fe = function(e) {
1460
+ var i = Fe.call(e), c = i == C ? e.constructor : void 0, b = c ? ve(c) : void 0;
1457
1461
  if (b)
1458
1462
  switch (b) {
1459
1463
  case va:
@@ -1461,72 +1465,72 @@ Ve.exports;
1461
1465
  case ba:
1462
1466
  return D;
1463
1467
  case ha:
1464
- return G;
1468
+ return E;
1465
1469
  case pa:
1466
- return Z;
1470
+ return M;
1467
1471
  case ma:
1468
- return X;
1472
+ return Q;
1469
1473
  }
1470
1474
  return i;
1471
1475
  });
1472
1476
  function tn(e) {
1473
1477
  var i = e.length, c = e.constructor(i);
1474
- return i && typeof e[0] == "string" && se.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1478
+ return i && typeof e[0] == "string" && ce.call(e, "index") && (c.index = e.index, c.input = e.input), c;
1475
1479
  }
1476
1480
  function an(e) {
1477
- return typeof e.constructor == "function" && !$t(e) ? Za(sa(e)) : {};
1481
+ return typeof e.constructor == "function" && !Nt(e) ? Za(sa(e)) : {};
1478
1482
  }
1479
1483
  function nn(e, i, c, b) {
1480
1484
  var L = e.constructor;
1481
1485
  switch (i) {
1482
- case V:
1483
- return at(e);
1486
+ case ee:
1487
+ return nt(e);
1484
1488
  case v:
1485
1489
  case p:
1486
1490
  return new L(+e);
1487
1491
  case j:
1488
1492
  return za(e, b);
1493
+ case G:
1489
1494
  case $:
1490
- case M:
1495
+ case P:
1491
1496
  case W:
1492
- case S:
1497
+ case T:
1493
1498
  case s:
1494
1499
  case u:
1495
1500
  case f:
1496
- case y:
1497
- case k:
1501
+ case w:
1498
1502
  return Ya(e, b);
1499
1503
  case D:
1500
1504
  return Ga(e, b, c);
1501
- case I:
1502
- case oe:
1503
- return new L(e);
1504
1505
  case K:
1506
+ case U:
1507
+ return new L(e);
1508
+ case z:
1505
1509
  return Wa(e);
1506
- case Z:
1510
+ case M:
1507
1511
  return qa(e, b, c);
1508
- case ae:
1512
+ case oe:
1509
1513
  return Xa(e);
1510
1514
  }
1511
1515
  }
1512
1516
  function rn(e, i) {
1513
- return i = i ?? l, !!i && (typeof e == "number" || B.test(e)) && e > -1 && e % 1 == 0 && e < i;
1517
+ return i = i ?? l, !!i && (typeof e == "number" || Z.test(e)) && e > -1 && e % 1 == 0 && e < i;
1514
1518
  }
1515
1519
  function on(e) {
1516
1520
  var i = typeof e;
1517
1521
  return i == "string" || i == "number" || i == "symbol" || i == "boolean" ? e !== "__proto__" : e === null;
1518
1522
  }
1519
1523
  function sn(e) {
1520
- return !!mt && mt in e;
1524
+ return !!gt && gt in e;
1521
1525
  }
1522
- function $t(e) {
1523
- var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ee;
1526
+ function Nt(e) {
1527
+ var i = e && e.constructor, c = typeof i == "function" && i.prototype || Ae;
1524
1528
  return e === c;
1525
1529
  }
1526
- function fe(e) {
1530
+ function ve(e) {
1527
1531
  if (e != null) {
1528
1532
  try {
1529
- return gt.call(e);
1533
+ return yt.call(e);
1530
1534
  } catch {
1531
1535
  }
1532
1536
  try {
@@ -1537,38 +1541,38 @@ Ve.exports;
1537
1541
  return "";
1538
1542
  }
1539
1543
  function cn(e) {
1540
- return tt(e, !0, !0);
1544
+ return at(e, !0, !0);
1541
1545
  }
1542
- function Nt(e, i) {
1546
+ function Et(e, i) {
1543
1547
  return e === i || e !== e && i !== i;
1544
1548
  }
1545
1549
  function ln(e) {
1546
- return un(e) && se.call(e, "callee") && (!la.call(e, "callee") || Ae.call(e) == d);
1550
+ return un(e) && ce.call(e, "callee") && (!la.call(e, "callee") || Fe.call(e) == d);
1547
1551
  }
1548
- var nt = Array.isArray;
1549
- function Et(e) {
1550
- return e != null && fn(e.length) && !At(e);
1552
+ var rt = Array.isArray;
1553
+ function At(e) {
1554
+ return e != null && fn(e.length) && !Ft(e);
1551
1555
  }
1552
1556
  function un(e) {
1553
- return vn(e) && Et(e);
1557
+ return vn(e) && At(e);
1554
1558
  }
1555
1559
  var dn = da || hn;
1556
- function At(e) {
1557
- var i = De(e) ? Ae.call(e) : "";
1558
- return i == x || i == E;
1560
+ function Ft(e) {
1561
+ var i = Re(e) ? Fe.call(e) : "";
1562
+ return i == x || i == N;
1559
1563
  }
1560
1564
  function fn(e) {
1561
1565
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= l;
1562
1566
  }
1563
- function De(e) {
1567
+ function Re(e) {
1564
1568
  var i = typeof e;
1565
1569
  return !!e && (i == "object" || i == "function");
1566
1570
  }
1567
1571
  function vn(e) {
1568
1572
  return !!e && typeof e == "object";
1569
1573
  }
1570
- function rt(e) {
1571
- return Et(e) ? Ma(e) : Ua(e);
1574
+ function it(e) {
1575
+ return At(e) ? Ma(e) : Ua(e);
1572
1576
  }
1573
1577
  function bn() {
1574
1578
  return [];
@@ -1576,9 +1580,9 @@ Ve.exports;
1576
1580
  function hn() {
1577
1581
  return !1;
1578
1582
  }
1579
- n.exports = cn;
1580
- })(Ve, Ve.exports);
1581
- var qr = Ve.exports;
1583
+ a.exports = cn;
1584
+ })(ze, ze.exports);
1585
+ var qr = ze.exports;
1582
1586
  const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1583
1587
  key: 0,
1584
1588
  class: "sidebar-header"
@@ -1595,7 +1599,7 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1595
1599
  }, ni = {
1596
1600
  key: 2,
1597
1601
  class: "level-primary bottom-items"
1598
- }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ ee({
1602
+ }, ri = { class: "sidebar-footer" }, ii = /* @__PURE__ */ te({
1599
1603
  __name: "AppSidebar",
1600
1604
  props: {
1601
1605
  topItems: {
@@ -1653,119 +1657,118 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1653
1657
  }
1654
1658
  },
1655
1659
  emits: ["click", "toggle"],
1656
- setup(n, { emit: t }) {
1657
- const a = n;
1658
- ut((s) => ({
1659
- "2c5b02a5": o.value.mobileHeight,
1660
- "19baf097": o.value.mobileTop,
1661
- "01f7cae3": n.zIndex,
1662
- e9cb373a: o.value.height,
1663
- e991d0ce: o.value.top,
1664
- "8a4ad026": p.value.marginTop,
1665
- "28946a7f": v.value.display,
1666
- "3e6b7496": v.value.minHeight,
1667
- "92ecef30": _.value.top,
1668
- "16fef085": _.value.zIndex
1660
+ setup(a, { emit: t }) {
1661
+ dt((s) => ({
1662
+ "2c5b02a5": v.value.mobileHeight,
1663
+ "19baf097": v.value.mobileTop,
1664
+ "01f7cae3": a.zIndex,
1665
+ e9cb373a: v.value.height,
1666
+ e991d0ce: v.value.top,
1667
+ "8a4ad026": k.value.marginTop,
1668
+ "28946a7f": p.value.display,
1669
+ "3e6b7496": p.value.minHeight,
1670
+ "92ecef30": x.value.top,
1671
+ "16fef085": x.value.zIndex
1669
1672
  }));
1670
- const r = dt(), l = g(() => !!r.header), d = g(() => !!r.top), o = g(() => ({
1671
- mobileTop: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : a.topOffset ? `${a.topOffset}px` : "0",
1672
- top: a.topOffset ? `${a.topOffset}px` : "0",
1673
- mobileHeight: a.mobileTopOffset && a.mobileEnabled ? `calc(100% - ${a.mobileTopOffset}px)` : "100%",
1674
- height: a.topOffset ? `calc(100% - ${a.topOffset}px)` : "100%"
1675
- })), v = g(() => ({
1676
- display: !a.mobileHeaderVisible && a.mobileEnabled ? "none" : "flex",
1677
- minHeight: `${a.headerHeight}px`
1678
- })), p = g(() => ({
1679
- marginTop: l.value ? `${a.headerHeight}px` : "0"
1680
- })), _ = g(() => ({
1681
- top: a.mobileTopOffset && a.mobileEnabled ? `${a.mobileTopOffset}px` : "0",
1682
- zIndex: a.mobileOverlayZIndex !== null ? a.mobileOverlayZIndex : a.zIndex > 1 ? a.zIndex - 1 : 1
1683
- })), x = (s) => Xr(s).map((f) => {
1684
- var y, k, A;
1673
+ const r = t, n = a, l = ft(), d = y(() => !!l.header), o = y(() => !!l.top), v = y(() => ({
1674
+ mobileTop: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : n.topOffset ? `${n.topOffset}px` : "0",
1675
+ top: n.topOffset ? `${n.topOffset}px` : "0",
1676
+ mobileHeight: n.mobileTopOffset && n.mobileEnabled ? `calc(100% - ${n.mobileTopOffset}px)` : "100%",
1677
+ height: n.topOffset ? `calc(100% - ${n.topOffset}px)` : "100%"
1678
+ })), p = y(() => ({
1679
+ display: !n.mobileHeaderVisible && n.mobileEnabled ? "none" : "flex",
1680
+ minHeight: `${n.headerHeight}px`
1681
+ })), k = y(() => ({
1682
+ marginTop: d.value ? `${n.headerHeight}px` : "0"
1683
+ })), x = y(() => ({
1684
+ top: n.mobileTopOffset && n.mobileEnabled ? `${n.mobileTopOffset}px` : "0",
1685
+ zIndex: n.mobileOverlayZIndex !== null ? n.mobileOverlayZIndex : n.zIndex > 1 ? n.zIndex - 1 : 1
1686
+ })), N = (s) => Xr(s).map((f) => {
1687
+ var w, S, A;
1685
1688
  if (f) {
1686
- (!f.key || !((y = f.key) != null && y.trim())) && (f.key = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!f.testId || !((k = f.testId) != null && k.trim())) && (f.testId = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1689
+ (!f.key || !((w = f.key) != null && w.trim())) && (f.key = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-")), (!f.testId || !((S = f.testId) != null && S.trim())) && (f.testId = String(f.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1687
1690
  for (const F of f.items || [])
1688
1691
  F.parentKey = f.key, (!F.testId || !((A = F.testId) != null && A.trim())) && (F.testId = String(F.name || "").trim().toLowerCase().replace(/[^[a-z]/gi, "-"));
1689
1692
  }
1690
1693
  return f;
1691
- }), E = g(() => a.topItems.length ? x(a.topItems) : []), D = g(() => a.bottomItems.length ? x(a.bottomItems) : []), I = q(a.open), N = (s) => {
1694
+ }), D = y(() => n.topItems.length ? N(n.topItems) : []), K = y(() => n.bottomItems.length ? N(n.bottomItems) : []), C = q(n.open), E = (s) => {
1692
1695
  var u, f;
1693
- I.value !== s && (I.value = s, t("toggle", s)), s ? (u = document == null ? void 0 : document.body) == null || u.classList.add("kong-ui-app-sidebar-open") : (f = document == null ? void 0 : document.body) == null || f.classList.remove("kong-ui-app-sidebar-open"), K.value = !1;
1694
- }, G = () => {
1695
- a.mobileOverlayCloseOnClick && N(!1);
1696
- }, K = q(!1), Z = (s) => {
1697
- K.value = !0, t("click", s), setTimeout(() => {
1698
- N(!1);
1699
- }, a.mobileCloseDelay);
1696
+ C.value !== s && (C.value = s, r("toggle", s)), s ? (u = document == null ? void 0 : document.body) == null || u.classList.add("kong-ui-app-sidebar-open") : (f = document == null ? void 0 : document.body) == null || f.classList.remove("kong-ui-app-sidebar-open"), M.value = !1;
1697
+ }, z = () => {
1698
+ n.mobileOverlayCloseOnClick && E(!1);
1699
+ }, M = q(!1), U = (s) => {
1700
+ M.value = !0, r("click", s), setTimeout(() => {
1701
+ E(!1);
1702
+ }, n.mobileCloseDelay);
1700
1703
  };
1701
- Ze(() => a.open, (s) => {
1702
- N(s);
1704
+ Ke(() => n.open, (s) => {
1705
+ E(s);
1703
1706
  });
1704
- const { debounce: oe } = Yt(), ae = oe(() => {
1705
- I.value && X.value !== (window == null ? void 0 : window.innerWidth) && (X.value = window == null ? void 0 : window.innerWidth, N(!1));
1706
- }, 200), X = q(), V = q(!1), j = q(), $ = () => {
1707
- V.value || (V.value = !0, clearTimeout(j.value), j.value = setTimeout(() => V.value = !1, 1300));
1708
- }, M = q(null), W = g(() => I.value && a.mobileEnabled), S = async (s) => {
1707
+ const { debounce: oe } = Jt(), Q = oe(() => {
1708
+ C.value && ee.value !== (window == null ? void 0 : window.innerWidth) && (ee.value = window == null ? void 0 : window.innerWidth, E(!1));
1709
+ }, 200), ee = q(), j = q(!1), G = q(), $ = () => {
1710
+ j.value || (j.value = !0, clearTimeout(G.value), G.value = setTimeout(() => j.value = !1, 1300));
1711
+ }, P = q(null), W = y(() => C.value && n.mobileEnabled), T = async (s) => {
1709
1712
  var u, f;
1710
- s ? (await kn(), await new Promise((y) => setTimeout(y, 300)), (u = M.value) == null || u.activate()) : (f = M.value) == null || f.deactivate();
1713
+ s ? (await kn(), await new Promise((w) => setTimeout(w, 300)), (u = P.value) == null || u.activate()) : (f = P.value) == null || f.deactivate();
1711
1714
  };
1712
- return Ze(W, async (s) => {
1713
- s ? await S(!0) : await S(!1);
1714
- }, { immediate: !0 }), We(() => {
1715
- X.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", ae), window.addEventListener("resize", $);
1716
- }), Ht(() => {
1717
- window.removeEventListener("resize", ae), window.removeEventListener("resize", $);
1718
- }), (s, u) => (h(), m(Ce, null, [
1719
- I.value && n.mobileOverlay && n.mobileEnabled ? (h(), m("div", {
1715
+ return Ke(W, async (s) => {
1716
+ s ? await T(!0) : await T(!1);
1717
+ }, { immediate: !0 }), qe(() => {
1718
+ ee.value = window == null ? void 0 : window.innerWidth, window.addEventListener("resize", Q), window.addEventListener("resize", $);
1719
+ }), Ut(() => {
1720
+ window.removeEventListener("resize", Q), window.removeEventListener("resize", $);
1721
+ }), (s, u) => (h(), g($e, null, [
1722
+ C.value && a.mobileOverlay && a.mobileEnabled ? (h(), g("div", {
1720
1723
  key: 0,
1721
1724
  class: "kong-ui-app-sidebar-overlay",
1722
- onClick: G
1723
- })) : C("", !0),
1725
+ onClick: z
1726
+ })) : O("", !0),
1724
1727
  _e(Tn(Gr), {
1725
1728
  ref_key: "focusTrap",
1726
- ref: M,
1729
+ ref: P,
1727
1730
  active: !1,
1728
1731
  "allow-outside-click": "",
1729
1732
  "fallback-focus": ".kong-ui-app-sidebar"
1730
1733
  }, {
1731
1734
  default: R(() => [
1732
- w("aside", {
1733
- class: re(["kong-ui-app-sidebar", {
1734
- "sidebar-open": I.value,
1735
- "no-sidebar-header": !l.value,
1736
- "mobile-header-hidden": n.mobileEnabled && (!l.value || !n.mobileHeaderVisible),
1737
- "mobile-disabled": !n.mobileEnabled,
1738
- "disable-transitions": V.value
1735
+ _("aside", {
1736
+ class: ne(["kong-ui-app-sidebar", {
1737
+ "sidebar-open": C.value,
1738
+ "no-sidebar-header": !d.value,
1739
+ "mobile-header-hidden": a.mobileEnabled && (!d.value || !a.mobileHeaderVisible),
1740
+ "mobile-disabled": !a.mobileEnabled,
1741
+ "disable-transitions": j.value
1739
1742
  }]),
1740
1743
  tabindex: "-1"
1741
1744
  }, [
1742
- l.value ? (h(), m("div", Yr, [
1743
- O(s.$slots, "header", {}, void 0, !0)
1744
- ])) : C("", !0),
1745
- w("div", Jr, [
1746
- d.value ? (h(), m("div", Qr, [
1747
- O(s.$slots, "top", {}, void 0, !0)
1748
- ])) : C("", !0),
1749
- w("nav", ei, [
1750
- E.value.length ? (h(), m("ul", ti, [
1751
- (h(!0), m(Ce, null, Ne(E.value, (f) => (h(), Q(Bt, {
1745
+ d.value ? (h(), g("div", Yr, [
1746
+ I(s.$slots, "header", {}, void 0, !0)
1747
+ ])) : O("", !0),
1748
+ _("div", Jr, [
1749
+ o.value ? (h(), g("div", Qr, [
1750
+ I(s.$slots, "top", {}, void 0, !0)
1751
+ ])) : O("", !0),
1752
+ _("nav", ei, [
1753
+ D.value.length ? (h(), g("ul", ti, [
1754
+ (h(!0), g($e, null, Ee(D.value, (f) => (h(), J(Lt, {
1752
1755
  key: f.name,
1753
1756
  item: f,
1754
- onClick: Z
1757
+ onClick: U
1755
1758
  }, null, 8, ["item"]))), 128))
1756
- ])) : C("", !0),
1757
- E.value.length && D.value.length ? (h(), m("div", ai)) : C("", !0),
1758
- D.value.length ? (h(), m("ul", ni, [
1759
- (h(!0), m(Ce, null, Ne(D.value, (f) => (h(), Q(Bt, {
1759
+ ])) : O("", !0),
1760
+ D.value.length && K.value.length ? (h(), g("div", ai)) : O("", !0),
1761
+ K.value.length ? (h(), g("ul", ni, [
1762
+ (h(!0), g($e, null, Ee(K.value, (f) => (h(), J(Lt, {
1760
1763
  key: f.name,
1761
1764
  item: f,
1762
- onClick: Z
1765
+ onClick: U
1763
1766
  }, null, 8, ["item"]))), 128))
1764
- ])) : C("", !0)
1767
+ ])) : O("", !0)
1765
1768
  ])
1766
1769
  ]),
1767
- w("div", ri, [
1768
- O(s.$slots, "footer", {}, void 0, !0)
1770
+ _("div", ri, [
1771
+ I(s.$slots, "footer", {}, void 0, !0)
1769
1772
  ])
1770
1773
  ], 2)
1771
1774
  ]),
@@ -1773,11 +1776,11 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1773
1776
  }, 512)
1774
1777
  ], 64));
1775
1778
  }
1776
- }), oi = /* @__PURE__ */ te(ii, [["__scopeId", "data-v-4f0a752f"]]), ft = (n) => (ze("data-v-00a332e0"), n = n(), Ge(), n), si = ["aria-label", "onClick"], ci = /* @__PURE__ */ ft(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), li = /* @__PURE__ */ ft(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), ui = /* @__PURE__ */ ft(() => /* @__PURE__ */ w("span", { class: "line" }, null, -1)), di = [
1779
+ }), oi = /* @__PURE__ */ ae(ii, [["__scopeId", "data-v-4f0a752f"]]), vt = (a) => (Ge("data-v-00a332e0"), a = a(), We(), a), si = ["aria-label"], ci = /* @__PURE__ */ vt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), li = /* @__PURE__ */ vt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), ui = /* @__PURE__ */ vt(() => /* @__PURE__ */ _("span", { class: "line" }, null, -1)), di = [
1777
1780
  ci,
1778
1781
  li,
1779
1782
  ui
1780
- ], fi = /* @__PURE__ */ ee({
1783
+ ], fi = /* @__PURE__ */ te({
1781
1784
  __name: "SidebarToggle",
1782
1785
  props: {
1783
1786
  active: {
@@ -1786,28 +1789,28 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1786
1789
  }
1787
1790
  },
1788
1791
  emits: ["toggle"],
1789
- setup(n, { emit: t }) {
1790
- const a = n, r = q(a.active || !1), l = () => {
1791
- r.value = !r.value, t("toggle", r.value);
1792
+ setup(a, { emit: t }) {
1793
+ const r = t, n = a, l = q(n.active || !1), d = () => {
1794
+ l.value = !l.value, r("toggle", l.value);
1792
1795
  };
1793
- return Ze(() => a.active, (d) => {
1794
- r.value = d;
1795
- }), (d, o) => (h(), m("a", {
1796
+ return Ke(() => n.active, (o) => {
1797
+ l.value = o;
1798
+ }), (o, v) => (h(), g("a", {
1796
1799
  "aria-haspopup": "true",
1797
- "aria-label": r.value ? "Close Main Menu" : "Open Main Menu",
1798
- class: re(["sidebar-menu-toggle", { active: r.value }]),
1800
+ "aria-label": l.value ? "Close Main Menu" : "Open Main Menu",
1801
+ class: ne(["sidebar-menu-toggle", { active: l.value }]),
1799
1802
  href: "#",
1800
1803
  role: "button",
1801
- onClick: Sn(l, ["prevent"])
1804
+ onClick: Sn(d, ["prevent"])
1802
1805
  }, di, 10, si));
1803
1806
  }
1804
- }), vi = /* @__PURE__ */ te(fi, [["__scopeId", "data-v-00a332e0"]]), bi = "#ffffff", hi = "#000933", pi = "#000933", mi = "#ffffff", gi = "0px", yi = "4px", wi = (n) => (ze("data-v-f81adf4e"), n = n(), Ge(), n), _i = { id: "kong-ui-app-layout-notification" }, Ti = { class: "mobile-logo" }, ki = {
1807
+ }), vi = /* @__PURE__ */ ae(fi, [["__scopeId", "data-v-00a332e0"]]), bi = "#ffffff", hi = "#000933", pi = "#000933", mi = "#ffffff", gi = "0px", yi = "4px", wi = (a) => (Ge("data-v-f81adf4e"), a = a(), We(), a), _i = { id: "kong-ui-app-layout-notification" }, Ti = { class: "mobile-logo" }, ki = {
1805
1808
  key: 0,
1806
1809
  class: "navbar-logo"
1807
1810
  }, Si = {
1808
1811
  class: "kong-ui-app-layout-main",
1809
1812
  "data-testid": "kong-ui-app-layout-main"
1810
- }, Ii = { class: "kong-ui-app-layout-content" }, Oi = { class: "kong-ui-app-layout-content-inner" }, Ci = /* @__PURE__ */ wi(() => /* @__PURE__ */ w("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), $i = /* @__PURE__ */ ee({
1813
+ }, Ii = { class: "kong-ui-app-layout-content" }, Oi = { class: "kong-ui-app-layout-content-inner" }, Ci = /* @__PURE__ */ wi(() => /* @__PURE__ */ _("div", { id: "kong-ui-app-layout-teleport-default-slot" }, null, -1)), $i = /* @__PURE__ */ te({
1811
1814
  __name: "AppLayout",
1812
1815
  props: {
1813
1816
  hideDefaultSlot: {
@@ -1839,179 +1842,178 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
1839
1842
  theme: {
1840
1843
  type: String,
1841
1844
  default: "light",
1842
- validator: (n) => ["light", "dark"].includes(n)
1845
+ validator: (a) => ["light", "dark"].includes(a)
1843
1846
  }
1844
1847
  },
1845
1848
  emits: ["sidebar-click"],
1846
- setup(n, { emit: t }) {
1847
- const a = n;
1848
- ut(($) => ({
1849
- "3c1b64a7": K.value,
1850
- e1fe5bc6: Z.value,
1851
- "74505bb5": G.value,
1849
+ setup(a, { emit: t }) {
1850
+ dt(($) => ({
1851
+ "3c1b64a7": M.value,
1852
+ e1fe5bc6: U.value,
1853
+ "74505bb5": z.value,
1852
1854
  24707019: oe.value,
1853
- "1f0d0dcc": ae.value
1855
+ "1f0d0dcc": Q.value
1854
1856
  }));
1855
- const r = dt(), l = Me({
1856
- navbarLeft: g(() => !!r["navbar-left"]),
1857
- navbarCenter: g(() => !!r["navbar-center"]),
1858
- navbarRight: g(() => !!r["navbar-right"]),
1859
- navbarLogo: g(() => !!r["navbar-logo"]),
1860
- navbarMobileLogo: g(() => !!r["navbar-mobile-logo"]),
1861
- sidebarHeader: g(() => !!r["sidebar-header"]),
1862
- sidebarTop: g(() => !!r["sidebar-top"]),
1863
- sidebarFooter: g(() => !!r["sidebar-footer"])
1864
- }), d = g(() => a.hideDefaultSlot), o = Me({
1865
- hidden: g(() => a.navbarHidden)
1866
- }), v = Me({
1867
- topItems: g(() => a.sidebarTopItems),
1868
- bottomItems: g(() => a.sidebarBottomItems),
1869
- open: g(() => a.sidebarOpen),
1870
- hidden: g(() => a.sidebarHidden)
1871
- }), p = ($) => {
1872
- t("sidebar-click", $);
1873
- }, _ = q(!1), x = ($) => {
1874
- _.value = $;
1857
+ const r = a, n = t, l = ft(), d = Pe({
1858
+ navbarLeft: y(() => !!l["navbar-left"]),
1859
+ navbarCenter: y(() => !!l["navbar-center"]),
1860
+ navbarRight: y(() => !!l["navbar-right"]),
1861
+ navbarLogo: y(() => !!l["navbar-logo"]),
1862
+ navbarMobileLogo: y(() => !!l["navbar-mobile-logo"]),
1863
+ sidebarHeader: y(() => !!l["sidebar-header"]),
1864
+ sidebarTop: y(() => !!l["sidebar-top"]),
1865
+ sidebarFooter: y(() => !!l["sidebar-footer"])
1866
+ }), o = y(() => r.hideDefaultSlot), v = Pe({
1867
+ hidden: y(() => r.navbarHidden)
1868
+ }), p = Pe({
1869
+ topItems: y(() => r.sidebarTopItems),
1870
+ bottomItems: y(() => r.sidebarBottomItems),
1871
+ open: y(() => r.sidebarOpen),
1872
+ hidden: y(() => r.sidebarHidden)
1873
+ }), k = ($) => {
1874
+ n("sidebar-click", $);
1875
+ }, x = q(!1), N = ($) => {
1876
+ x.value = $;
1875
1877
  };
1876
1878
  In(() => {
1877
- _.value = On(v, "open").value || !1;
1879
+ x.value = On(p, "open").value || !1;
1878
1880
  });
1879
- const E = q(0), D = q(60), I = q(0), N = g(() => o.hidden ? I.value : D.value + I.value), G = g(() => a.theme === "light" ? pi : mi), K = g(() => a.theme === "light" ? bi : hi), Z = g(() => a.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), oe = g(() => `${N.value}px`), ae = g(() => v.hidden || o.hidden ? gi : yi), { debounce: X } = Yt(), V = X(($ = !1) => {
1880
- if ($ || E.value !== (window == null ? void 0 : window.innerWidth)) {
1881
- E.value = window == null ? void 0 : window.innerWidth;
1882
- const M = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1883
- M && (I.value = M.offsetHeight);
1881
+ const D = q(0), K = q(60), C = q(0), E = y(() => v.hidden ? C.value : K.value + C.value), z = y(() => r.theme === "light" ? pi : mi), M = y(() => r.theme === "light" ? bi : hi), U = y(() => r.theme === "light" ? "var(--kong-ui-app-layout-main-box-shadow, -30px 174px 250px #0023db)" : "none"), oe = y(() => `${E.value}px`), Q = y(() => p.hidden || v.hidden ? gi : yi), { debounce: ee } = Jt(), j = ee(($ = !1) => {
1882
+ if ($ || D.value !== (window == null ? void 0 : window.innerWidth)) {
1883
+ D.value = window == null ? void 0 : window.innerWidth;
1884
+ const P = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1885
+ P && (C.value = P.offsetHeight);
1884
1886
  }
1885
- }, 200), j = q();
1886
- return We(() => {
1887
- var M, W;
1888
- (M = document == null ? void 0 : document.body) == null || M.classList.add("kong-ui-app-layout-body"), (W = document == null ? void 0 : document.documentElement) == null || W.classList.add("kong-ui-app-layout-html"), E.value = window == null ? void 0 : window.innerWidth, V(!0);
1887
+ }, 200), G = q();
1888
+ return qe(() => {
1889
+ var P, W;
1890
+ (P = document == null ? void 0 : document.body) == null || P.classList.add("kong-ui-app-layout-body"), (W = document == null ? void 0 : document.documentElement) == null || W.classList.add("kong-ui-app-layout-html"), D.value = window == null ? void 0 : window.innerWidth, j(!0);
1889
1891
  const $ = document == null ? void 0 : document.querySelector(".kong-ui-app-layout #kong-ui-app-layout-notification");
1890
- $ && (j.value = new ResizeObserver((S) => {
1892
+ $ && (G.value = new ResizeObserver((T) => {
1891
1893
  window.requestAnimationFrame(() => {
1892
- if (!(!Array.isArray(S) || !S.length))
1893
- for (const s of S) {
1894
+ if (!(!Array.isArray(T) || !T.length))
1895
+ for (const s of T) {
1894
1896
  const u = s.contentRect.height;
1895
- I.value !== u && (I.value = u);
1897
+ C.value !== u && (C.value = u);
1896
1898
  }
1897
1899
  });
1898
- }), j.value.observe($)), window.addEventListener("resize", V);
1899
- }), Ht(() => {
1900
- j.value && j.value.disconnect(), window.removeEventListener("resize", V);
1901
- }), ($, M) => (h(), m("div", {
1902
- class: re(["kong-ui-app-layout", [
1903
- { "navbar-hidden": o.hidden },
1904
- { "sidebar-hidden": v.hidden }
1900
+ }), G.value.observe($)), window.addEventListener("resize", j);
1901
+ }), Ut(() => {
1902
+ G.value && G.value.disconnect(), window.removeEventListener("resize", j);
1903
+ }), ($, P) => (h(), g("div", {
1904
+ class: ne(["kong-ui-app-layout", [
1905
+ { "navbar-hidden": v.hidden },
1906
+ { "sidebar-hidden": p.hidden }
1905
1907
  ]])
1906
1908
  }, [
1907
- w("div", _i, [
1908
- O($.$slots, "notification", {}, void 0, !0)
1909
+ _("div", _i, [
1910
+ I($.$slots, "notification", {}, void 0, !0)
1909
1911
  ]),
1910
- o.hidden ? C("", !0) : (h(), Q(cr, {
1911
- key: String(v.hidden),
1912
- "left-offset": v.hidden ? 0 : void 0,
1913
- "top-offset": I.value
1914
- }, Pe({
1912
+ v.hidden ? O("", !0) : (h(), J(cr, {
1913
+ key: String(p.hidden),
1914
+ "left-offset": p.hidden ? 0 : void 0,
1915
+ "top-offset": C.value
1916
+ }, Ze({
1915
1917
  "mobile-sidebar-toggle": R(() => [
1916
- v.hidden ? C("", !0) : (h(), Q(vi, {
1918
+ p.hidden ? O("", !0) : (h(), J(vi, {
1917
1919
  key: 0,
1918
- active: _.value,
1919
- onToggle: x
1920
+ active: x.value,
1921
+ onToggle: N
1920
1922
  }, null, 8, ["active"]))
1921
1923
  ]),
1922
1924
  _: 2
1923
1925
  }, [
1924
- l.navbarMobileLogo ? {
1926
+ d.navbarMobileLogo ? {
1925
1927
  name: "mobile-logo",
1926
1928
  fn: R(() => [
1927
- w("div", Ti, [
1928
- O($.$slots, "navbar-mobile-logo", {}, void 0, !0)
1929
+ _("div", Ti, [
1930
+ I($.$slots, "navbar-mobile-logo", {}, void 0, !0)
1929
1931
  ])
1930
1932
  ]),
1931
1933
  key: "0"
1932
1934
  } : void 0,
1933
- l.navbarLogo ? {
1935
+ d.navbarLogo ? {
1934
1936
  name: "logo",
1935
1937
  fn: R(() => [
1936
- v.hidden ? (h(), m("div", ki, [
1937
- O($.$slots, "navbar-logo", {}, void 0, !0)
1938
- ])) : C("", !0)
1938
+ p.hidden ? (h(), g("div", ki, [
1939
+ I($.$slots, "navbar-logo", {}, void 0, !0)
1940
+ ])) : O("", !0)
1939
1941
  ]),
1940
1942
  key: "1"
1941
1943
  } : void 0,
1942
- l.navbarLeft ? {
1944
+ d.navbarLeft ? {
1943
1945
  name: "left",
1944
1946
  fn: R(() => [
1945
- O($.$slots, "navbar-left", {}, void 0, !0)
1947
+ I($.$slots, "navbar-left", {}, void 0, !0)
1946
1948
  ]),
1947
1949
  key: "2"
1948
1950
  } : void 0,
1949
- l.navbarCenter ? {
1951
+ d.navbarCenter ? {
1950
1952
  name: "center",
1951
1953
  fn: R(() => [
1952
- O($.$slots, "navbar-center", {}, void 0, !0)
1954
+ I($.$slots, "navbar-center", {}, void 0, !0)
1953
1955
  ]),
1954
1956
  key: "3"
1955
1957
  } : void 0,
1956
- l.navbarRight ? {
1958
+ d.navbarRight ? {
1957
1959
  name: "right",
1958
1960
  fn: R(() => [
1959
- O($.$slots, "navbar-right", {}, void 0, !0)
1961
+ I($.$slots, "navbar-right", {}, void 0, !0)
1960
1962
  ]),
1961
1963
  key: "4"
1962
1964
  } : void 0
1963
1965
  ]), 1032, ["left-offset", "top-offset"])),
1964
- v.hidden ? C("", !0) : (h(), Q(oi, {
1966
+ p.hidden ? O("", !0) : (h(), J(oi, {
1965
1967
  key: 1,
1966
- "bottom-items": v.bottomItems,
1967
- "header-height": D.value,
1968
+ "bottom-items": p.bottomItems,
1969
+ "header-height": K.value,
1968
1970
  "mobile-enabled": "",
1969
1971
  "mobile-header-visible": !1,
1970
- "mobile-top-offset": N.value,
1971
- open: _.value,
1972
- "top-items": v.topItems,
1973
- "top-offset": I.value,
1974
- onClick: p,
1975
- onToggle: x
1976
- }, Pe({ _: 2 }, [
1977
- l.sidebarHeader ? {
1972
+ "mobile-top-offset": E.value,
1973
+ open: x.value,
1974
+ "top-items": p.topItems,
1975
+ "top-offset": C.value,
1976
+ onClick: k,
1977
+ onToggle: N
1978
+ }, Ze({ _: 2 }, [
1979
+ d.sidebarHeader ? {
1978
1980
  name: "header",
1979
1981
  fn: R(() => [
1980
- O($.$slots, "sidebar-header", {}, void 0, !0)
1982
+ I($.$slots, "sidebar-header", {}, void 0, !0)
1981
1983
  ]),
1982
1984
  key: "0"
1983
1985
  } : void 0,
1984
- l.sidebarTop ? {
1986
+ d.sidebarTop ? {
1985
1987
  name: "top",
1986
1988
  fn: R(() => [
1987
- O($.$slots, "sidebar-top", {}, void 0, !0)
1989
+ I($.$slots, "sidebar-top", {}, void 0, !0)
1988
1990
  ]),
1989
1991
  key: "1"
1990
1992
  } : void 0,
1991
- l.sidebarFooter ? {
1993
+ d.sidebarFooter ? {
1992
1994
  name: "footer",
1993
1995
  fn: R(() => [
1994
- O($.$slots, "sidebar-footer", {}, void 0, !0)
1996
+ I($.$slots, "sidebar-footer", {}, void 0, !0)
1995
1997
  ]),
1996
1998
  key: "2"
1997
1999
  } : void 0
1998
2000
  ]), 1032, ["bottom-items", "header-height", "mobile-top-offset", "open", "top-items", "top-offset"])),
1999
- w("main", Si, [
2000
- w("div", Ii, [
2001
- w("div", Oi, [
2001
+ _("main", Si, [
2002
+ _("div", Ii, [
2003
+ _("div", Oi, [
2002
2004
  Ci,
2003
- O($.$slots, "app-error", {}, void 0, !0),
2004
- d.value ? C("", !0) : O($.$slots, "default", { key: 0 }, void 0, !0)
2005
+ I($.$slots, "app-error", {}, void 0, !0),
2006
+ o.value ? O("", !0) : I($.$slots, "default", { key: 0 }, void 0, !0)
2005
2007
  ])
2006
2008
  ])
2007
2009
  ])
2008
2010
  ], 2));
2009
2011
  }
2010
- }), Ni = /* @__PURE__ */ te($i, [["__scopeId", "data-v-f81adf4e"]]), Ei = (n) => (ze("data-v-d7e33427"), n = n(), Ge(), n), Ai = { class: "kong-ui-app-page-header" }, Fi = {
2012
+ }), Ni = /* @__PURE__ */ ae($i, [["__scopeId", "data-v-f81adf4e"]]), Ei = (a) => (Ge("data-v-d7e33427"), a = a(), We(), a), Ai = { class: "kong-ui-app-page-header" }, Fi = {
2011
2013
  key: 0,
2012
2014
  class: "page-header-breadcrumbs",
2013
2015
  "data-testid": "page-header-breadcrumbs"
2014
- }, xi = /* @__PURE__ */ Ei(() => /* @__PURE__ */ w("span", { class: "page-header-breadcrumb-divider" }, "/", -1)), Di = { class: "page-header-title-section" }, Ri = { class: "page-header-title-wrapper" }, Bi = {
2016
+ }, xi = /* @__PURE__ */ Ei(() => /* @__PURE__ */ _("span", { class: "page-header-breadcrumb-divider" }, "/", -1)), Di = { class: "page-header-title-section" }, Ri = { class: "page-header-title-wrapper" }, Bi = {
2015
2017
  key: 0,
2016
2018
  class: "page-header-title-before",
2017
2019
  "data-testid": "page-header-title-before"
@@ -2027,7 +2029,7 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
2027
2029
  key: 1,
2028
2030
  class: "page-header-section-below",
2029
2031
  "data-testid": "page-header-section-below"
2030
- }, Ki = /* @__PURE__ */ ee({
2032
+ }, Ki = /* @__PURE__ */ te({
2031
2033
  __name: "AppPageHeader",
2032
2034
  props: {
2033
2035
  title: {
@@ -2039,58 +2041,58 @@ const Xr = /* @__PURE__ */ Wr(qr), Yr = {
2039
2041
  default: () => []
2040
2042
  }
2041
2043
  },
2042
- setup(n) {
2043
- const t = n, a = g(() => {
2044
+ setup(a) {
2045
+ const t = a, r = y(() => {
2044
2046
  var d;
2045
2047
  return !!((d = t.breadcrumbs) != null && d.length);
2046
- }), r = (d, o) => d.key || `breadcrumb-${o}`, l = g(() => t.breadcrumbs.map((d, o) => `icon-${r(d, o)}`) || []);
2048
+ }), n = (d, o) => d.key || `breadcrumb-${o}`, l = y(() => t.breadcrumbs.map((d, o) => `icon-${n(d, o)}`) || []);
2047
2049
  return (d, o) => {
2048
- const v = ce("KBreadcrumbs");
2049
- return h(), m("div", Ai, [
2050
- a.value ? (h(), m("div", Fi, [
2051
- _e(v, { items: n.breadcrumbs }, Pe({
2050
+ const v = le("KBreadcrumbs");
2051
+ return h(), g("div", Ai, [
2052
+ r.value ? (h(), g("div", Fi, [
2053
+ _e(v, { items: a.breadcrumbs }, Ze({
2052
2054
  divider: R(() => [
2053
2055
  xi
2054
2056
  ]),
2055
2057
  _: 2
2056
2058
  }, [
2057
- Ne(l.value, (p) => ({
2059
+ Ee(l.value, (p) => ({
2058
2060
  name: p,
2059
2061
  fn: R(() => [
2060
- O(d.$slots, p, {}, void 0, !0)
2062
+ I(d.$slots, p, {}, void 0, !0)
2061
2063
  ])
2062
2064
  }))
2063
2065
  ]), 1032, ["items"])
2064
- ])) : C("", !0),
2065
- w("div", Di, [
2066
- w("div", Ri, [
2067
- d.$slots["title-before"] ? (h(), m("div", Bi, [
2068
- O(d.$slots, "title-before", {}, void 0, !0)
2069
- ])) : C("", !0),
2070
- w("h1", {
2066
+ ])) : O("", !0),
2067
+ _("div", Di, [
2068
+ _("div", Ri, [
2069
+ d.$slots["title-before"] ? (h(), g("div", Bi, [
2070
+ I(d.$slots, "title-before", {}, void 0, !0)
2071
+ ])) : O("", !0),
2072
+ _("h1", {
2071
2073
  class: "page-header-title",
2072
2074
  "data-testid": "page-header-title",
2073
- title: n.title
2074
- }, J(n.title), 9, Li),
2075
- d.$slots["title-after"] ? (h(), m("div", Mi, [
2076
- O(d.$slots, "title-after", {}, void 0, !0)
2077
- ])) : C("", !0)
2075
+ title: a.title
2076
+ }, Y(a.title), 9, Li),
2077
+ d.$slots["title-after"] ? (h(), g("div", Mi, [
2078
+ I(d.$slots, "title-after", {}, void 0, !0)
2079
+ ])) : O("", !0)
2078
2080
  ]),
2079
- d.$slots.actions ? (h(), m("div", Pi, [
2080
- O(d.$slots, "actions", {}, void 0, !0)
2081
- ])) : C("", !0)
2081
+ d.$slots.actions ? (h(), g("div", Pi, [
2082
+ I(d.$slots, "actions", {}, void 0, !0)
2083
+ ])) : O("", !0)
2082
2084
  ]),
2083
- d.$slots.below ? (h(), m("div", Zi, [
2084
- O(d.$slots, "below", {}, void 0, !0)
2085
- ])) : C("", !0)
2085
+ d.$slots.below ? (h(), g("div", Zi, [
2086
+ I(d.$slots, "below", {}, void 0, !0)
2087
+ ])) : O("", !0)
2086
2088
  ]);
2087
2089
  };
2088
2090
  }
2089
- }), zi = /* @__PURE__ */ te(Ki, [["__scopeId", "data-v-d7e33427"]]), Gi = {
2091
+ }), zi = /* @__PURE__ */ ae(Ki, [["__scopeId", "data-v-d7e33427"]]), Gi = {
2090
2092
  // Customize Vue plugin options as desired
2091
2093
  // Providing a `name` property allows for customizing the registered name of your component (useful if exporting a single component).
2092
- install: (n, t = {}) => {
2093
- n.component(t.name || "AppLayout", Ni);
2094
+ install: (a, t = {}) => {
2095
+ a.component(t.name || "AppLayout", Ni);
2094
2096
  }
2095
2097
  };
2096
2098
  export {