@kong-ui-public/app-layout 4.3.2-pr.1888.f9ab7b844.0 → 4.3.3

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