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

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