@kong-ui-public/entities-consumer-groups 2.1.19 → 2.1.20-pr.759.26f4ea54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as oe, ref as E, computed as A, watch as Ae, renderSlot as X, createCommentVNode as J, unref as m, useSlots as ut, onBeforeMount as ct, resolveComponent as U, openBlock as f, createBlock as V, createSlots as je, withCtx as h, createElementVNode as D, createTextVNode as Q, toDisplayString as B, createVNode as K, createElementBlock as $, renderList as ve, Fragment as Ce, normalizeClass as Oe, withModifiers as rt, withDirectives as We, vShow as Ye, useCssVars as mn, resolveDynamicComponent as Ve, normalizeProps as hr, guardReactiveProps as vr, mergeProps as vt, onMounted as br, onUnmounted as Cr, normalizeStyle as gn, inject as kr, pushScopeId as yn, popScopeId as hn, Teleport as wr, reactive as Ut } from "vue";
1
+ import { defineComponent as oe, ref as E, computed as A, watch as Ae, renderSlot as X, createCommentVNode as J, unref as g, useSlots as ut, onBeforeMount as ct, resolveComponent as U, openBlock as f, createBlock as V, createSlots as je, withCtx as h, createElementVNode as D, createTextVNode as Q, toDisplayString as B, createVNode as N, createElementBlock as $, renderList as ve, Fragment as Ce, normalizeClass as Oe, withModifiers as rt, withDirectives as We, vShow as Ye, useCssVars as mn, resolveDynamicComponent as Ve, normalizeProps as hr, guardReactiveProps as vr, mergeProps as vt, onMounted as br, onUnmounted as Cr, normalizeStyle as gn, inject as kr, pushScopeId as yn, popScopeId as hn, Teleport as wr, reactive as Ut } from "vue";
2
2
  import { useRouter as It } from "vue-router";
3
3
  import { createI18n as St, i18nTComponent as vn } from "@kong-ui-public/i18n";
4
4
  import _r from "axios";
@@ -140,7 +140,7 @@ const dt = {
140
140
  }
141
141
  }
142
142
  };
143
- var bn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(bn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ke = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ke || {}), re = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(re || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
143
+ var bn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(bn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ne || {}), re = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(re || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
144
144
  function At(e = {}) {
145
145
  return {
146
146
  axiosInstance: _r.create({
@@ -217,13 +217,13 @@ const Mr = {
217
217
  errors: {
218
218
  edit: "The entity could not be edited at this time."
219
219
  }
220
- }, Nr = {
220
+ }, Kr = {
221
221
  emptyState: {
222
222
  noSearchResultsTitle: "No results found",
223
223
  noSearchResultsMessage: "Please adjust the criteria and try again.",
224
224
  noSearchResultsCtaText: "Clear"
225
225
  }
226
- }, Kr = {
226
+ }, Nr = {
227
227
  title: "Configuration",
228
228
  actions: {
229
229
  copy: "Copy JSON"
@@ -292,8 +292,8 @@ const Mr = {
292
292
  global: Mr,
293
293
  deleteModal: Er,
294
294
  baseForm: Or,
295
- baseTable: Nr,
296
- baseConfigCard: Kr,
295
+ baseTable: Kr,
296
+ baseConfigCard: Nr,
297
297
  filter: Br,
298
298
  debouncedFilter: Fr,
299
299
  errors: qr,
@@ -360,21 +360,21 @@ function Pr(e, n, t, r = {
360
360
  headers: e.requestHeaders
361
361
  }), { i18n: { t: i } } = xt(), { debounce: o } = $r(), s = o(async (I) => {
362
362
  await O(I);
363
- }, 200), l = E(!1), u = E(""), p = E(""), c = E([]), g = E([]), d = E(void 0), _ = m(n);
363
+ }, 200), l = E(!1), u = E(""), p = E(""), c = E([]), m = E([]), d = E(void 0), _ = g(n);
364
364
  let v = `${e.apiBaseUrl}${_}`;
365
365
  e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
366
366
  const { isValidUuid: S } = Cn(), y = async () => {
367
367
  try {
368
368
  l.value = !0;
369
369
  const { data: I } = await a.get(`${v}?size=${t}`);
370
- I != null && I.next || (d.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : [], c.value = g.value;
370
+ I != null && I.next || (d.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : []), m.value = r.fetchedItemsKey in I ? I[r.fetchedItemsKey] : [], c.value = m.value;
371
371
  } catch {
372
372
  c.value = [], u.value = i("debouncedFilter.errors.fetch");
373
373
  } finally {
374
374
  l.value = !1;
375
375
  }
376
376
  }, b = E(""), O = async (I) => {
377
- var N, z, ie;
377
+ var K, z, ie;
378
378
  if (b.value !== I)
379
379
  if (b.value = I || "", d.value === void 0)
380
380
  try {
@@ -395,14 +395,14 @@ function Pr(e, n, t, r = {
395
395
  })
396
396
  );
397
397
  const k = await Promise.all(R), G = /* @__PURE__ */ new Set();
398
- c.value = [], (N = k == null ? void 0 : k.forEach) == null || N.call(k, (F) => {
398
+ c.value = [], (K = k == null ? void 0 : k.forEach) == null || K.call(k, (F) => {
399
399
  var w;
400
400
  (w = F == null ? void 0 : F.forEach) == null || w.call(F, (j) => {
401
401
  G.has(j.id) || (G.add(j.id), c.value.push(j));
402
402
  });
403
403
  });
404
404
  } else
405
- c.value = g.value;
405
+ c.value = m.value;
406
406
  } catch (R) {
407
407
  ((z = R == null ? void 0 : R.response) == null ? void 0 : z.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
408
408
  } finally {
@@ -430,7 +430,7 @@ function Pr(e, n, t, r = {
430
430
  };
431
431
  }
432
432
  function Dr(e, n) {
433
- const t = m(n), r = A(
433
+ const t = g(n), r = A(
434
434
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
435
435
  );
436
436
  return r.value.search = "", (a) => `${r.value.href}/${a}`;
@@ -475,16 +475,16 @@ function Rr(e) {
475
475
  }
476
476
  }
477
477
  function kn(e, n) {
478
- const t = E(m(e)), r = E(m(n)), a = A(
478
+ const t = E(g(e)), r = E(g(n)), a = A(
479
479
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
480
480
  ), i = A(
481
481
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
482
482
  );
483
483
  return (o) => {
484
- const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: g } = o;
484
+ const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: m } = o;
485
485
  try {
486
486
  let d = new URL(i.value.href);
487
- return a.value && g ? (d.search = "", d = t.value.app === "konnect" ? new URL(`${d.href}?filter[name][contains]=${g}`) : new URL(`${d.href}/${g}/`)) : (a.value || new URLSearchParams(g).forEach((_, v) => {
487
+ return a.value && m ? (d.search = "", d = t.value.app === "konnect" ? new URL(`${d.href}?filter[name][contains]=${m}`) : new URL(`${d.href}/${m}/`)) : (a.value || new URLSearchParams(m).forEach((_, v) => {
488
488
  d.searchParams.append(v, _);
489
489
  }), p && d.searchParams.append("sort_by", p), c === "desc" && d.searchParams.append("sort_desc", "1"), d.searchParams.append("size", String(l))), u && s !== 1 && d.searchParams.append("offset", String(u)), d.href;
490
490
  } catch (d) {
@@ -493,20 +493,20 @@ function kn(e, n) {
493
493
  };
494
494
  }
495
495
  function Gr(e, n, t = "data") {
496
- const r = m(n), { axiosInstance: a } = At({
496
+ const r = g(n), { axiosInstance: a } = At({
497
497
  headers: e.requestHeaders
498
498
  }), i = kn(e, r), o = E({
499
- status: Ke.Idle
499
+ status: Ne.Idle
500
500
  });
501
501
  return { fetcher: async (s) => {
502
502
  try {
503
- o.value = { status: Ke.Loading };
503
+ o.value = { status: Ne.Loading };
504
504
  let l = i(s);
505
505
  l.includes("filter[name]") && (l = `${l}&page[size]=${s.pageSize}&page[number]=${s.page}`);
506
506
  const { data: u } = await a.get(l), p = t && t.replace(/[^\w-_]/gi, "");
507
507
  let c;
508
508
  u[p] && Array.isArray(u[p]) ? c = u[p] : Array.isArray(u) ? c = u : c = Object.keys(u).length ? [u] : [];
509
- const g = {
509
+ const m = {
510
510
  data: c,
511
511
  total: c.length,
512
512
  ...u.offset ? {
@@ -516,20 +516,20 @@ function Gr(e, n, t = "data") {
516
516
  } : null
517
517
  };
518
518
  return o.value = {
519
- status: Ke.Idle,
520
- response: g
521
- }, g;
519
+ status: Ne.Idle,
520
+ response: m
521
+ }, m;
522
522
  } catch (l) {
523
523
  const u = {
524
524
  data: [],
525
525
  total: 0
526
526
  };
527
527
  return s.query && l.response.status === 404 ? (o.value = {
528
- status: Ke.NoResults,
528
+ status: Ne.NoResults,
529
529
  response: u,
530
530
  error: l
531
531
  }, u) : (o.value = {
532
- status: Ke.Error,
532
+ status: Ne.Error,
533
533
  response: u,
534
534
  error: l
535
535
  }, u);
@@ -795,7 +795,7 @@ const de = {
795
795
  l.value = d, setTimeout(() => {
796
796
  l.value = r.tooltip;
797
797
  }, 1800);
798
- }, g = (d) => {
798
+ }, m = (d) => {
799
799
  var _, v;
800
800
  if (!d(r.uuid)) {
801
801
  typeof i == "function" && i({
@@ -827,20 +827,20 @@ const de = {
827
827
  }, 16)) : J("", !0),
828
828
  (f(), V(Ve(e.tooltip ? "KTooltip" : "div"), vt(u.value, { class: "uuid-icon-wrapper" }), {
829
829
  default: h(() => [
830
- K(v, null, {
830
+ N(v, null, {
831
831
  default: h(({ copyToClipboard: S }) => [
832
832
  D("span", {
833
833
  "data-testid": "copy-to-clipboard",
834
834
  role: "button",
835
835
  tabindex: "0",
836
- onClick: rt((y) => g(S), ["stop"])
836
+ onClick: rt((y) => m(S), ["stop"])
837
837
  }, [
838
- K(m(ca), {
838
+ N(g(ca), {
839
839
  class: "uuid-icon",
840
840
  color: e.iconColor,
841
841
  decorative: !!e.tooltip,
842
- size: m(da),
843
- title: m(t)("iconTitle")
842
+ size: g(da),
843
+ title: g(t)("iconTitle")
844
844
  }, null, 8, ["color", "decorative", "size", "title"])
845
845
  ], 8, fa)
846
846
  ]),
@@ -895,7 +895,7 @@ const de = {
895
895
  key: `${a.value}-property-${c}`,
896
896
  item: {
897
897
  key: p,
898
- label: m(r)(p),
898
+ label: g(r)(p),
899
899
  value: o.value[p]
900
900
  }
901
901
  }, null, 8, ["item"]))), 128))
@@ -922,13 +922,13 @@ const de = {
922
922
  return (t, r) => {
923
923
  const a = U("KButton");
924
924
  return f(), $("div", null, [
925
- K(a, {
925
+ N(a, {
926
926
  appearance: "tertiary",
927
927
  class: "navigation-button",
928
928
  onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
929
929
  }, {
930
930
  default: h(() => [
931
- Q(B(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
931
+ Q(B(e.item.value || g(n)("baseConfigCard.commonFields.link")), 1)
932
932
  ]),
933
933
  _: 1
934
934
  })
@@ -951,13 +951,13 @@ const de = {
951
951
  appearance: e.status ? "success" : "neutral"
952
952
  }, {
953
953
  default: h(() => [
954
- Q(B(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
954
+ Q(B(e.status ? g(n)("baseConfigCard.statusBadge.enabledLabel") : g(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
955
955
  ]),
956
956
  _: 1
957
957
  }, 8, ["appearance"]);
958
958
  };
959
959
  }
960
- }), ka = "#0044f4", wa = "#e0e4ea", _a = "#3a3f51", Ia = "1px", Sa = "20px", Aa = { class: "config-card-details-row" }, xa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], ja = ["data-testid"], Ma = { key: 1 }, Ea = ["data-testid"], Oa = ["data-testid"], Na = ["data-testid"], Ka = ["data-testid"], Ba = {
960
+ }), ka = "#0044f4", wa = "#e0e4ea", _a = "#3a3f51", Ia = "1px", Sa = "20px", Aa = { class: "config-card-details-row" }, xa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], ja = ["data-testid"], Ma = { key: 1 }, Ea = ["data-testid"], Oa = ["data-testid"], Ka = ["data-testid"], Na = ["data-testid"], Ba = {
961
961
  name: "ConfigCardItem",
962
962
  components: { CopyUuid: In, JsonCardItem: Sn, StatusBadge: Ca, InternalLinkItem: ba }
963
963
  }, Fa = /* @__PURE__ */ oe({
@@ -981,7 +981,7 @@ const de = {
981
981
  emits: ["navigation-click"],
982
982
  setup(e, { emit: n }) {
983
983
  mn((_) => ({
984
- "0da74440": p.value ? "none" : `solid ${m(Ia)} ${m(wa)}`,
984
+ "0da74440": p.value ? "none" : `solid ${g(Ia)} ${g(wa)}`,
985
985
  "02a039da": u.value && s.value ? "block" : "flex",
986
986
  "690f3ced": u.value && s.value ? "100%" : t.slim ? "50%" : "25%",
987
987
  "691182c8": u.value && s.value ? "100%" : t.slim ? "50%" : "75%"
@@ -1112,7 +1112,7 @@ const de = {
1112
1112
  text: t.item.value
1113
1113
  };
1114
1114
  }
1115
- }), g = E(), { isTruncated: d } = de.useTruncationDetector(g);
1115
+ }), m = E(), { isTruncated: d } = de.useTruncationDetector(m);
1116
1116
  return (_, v) => {
1117
1117
  const S = U("KLabel"), y = U("KBadge"), b = U("KTooltip");
1118
1118
  return f(), $("div", Aa, [
@@ -1121,7 +1121,7 @@ const de = {
1121
1121
  "data-testid": `${e.item.key}-label`
1122
1122
  }, [
1123
1123
  X(_.$slots, "label", { item: e.item }, () => [
1124
- K(S, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1124
+ N(S, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1125
1125
  default: h(() => [
1126
1126
  Q(B(e.item.label) + " ", 1)
1127
1127
  ]),
@@ -1175,7 +1175,7 @@ const de = {
1175
1175
  class: "copy-uuid-array",
1176
1176
  "data-testid": `${e.item.key}-copy-uuid-array`
1177
1177
  }, [
1178
- (f(!0), $(Ce, null, ve(e.item.value, (O, I) => (f(), V(m(In), vt(c.value.childAttrs, {
1178
+ (f(!0), $(Ce, null, ve(e.item.value, (O, I) => (f(), V(g(In), vt(c.value.childAttrs, {
1179
1179
  key: `${e.item.key}-copy-uuid-${I}`,
1180
1180
  "data-testid": `${e.item.key}-copy-uuid-${I}`,
1181
1181
  uuid: O
@@ -1187,7 +1187,7 @@ const de = {
1187
1187
  }, [
1188
1188
  (f(!0), $(Ce, null, ve(e.item.value, (O, I) => (f(), V(y, {
1189
1189
  key: `${e.item.key}-badge-method-${I}`,
1190
- appearance: Object.values(m(Ir)).includes(O.toLowerCase()) ? O.toLowerCase() : "custom",
1190
+ appearance: Object.values(g(Ir)).includes(O.toLowerCase()) ? O.toLowerCase() : "custom",
1191
1191
  class: "config-badge",
1192
1192
  "data-testid": `${e.item.key}-badge-method-${I}`
1193
1193
  }, {
@@ -1196,7 +1196,7 @@ const de = {
1196
1196
  ]),
1197
1197
  _: 2
1198
1198
  }, 1032, ["appearance", "data-testid"]))), 128))
1199
- ], 8, Na)) : J("", !0),
1199
+ ], 8, Ka)) : J("", !0),
1200
1200
  c.value.additionalComponent === "JsonCardItem" ? (f(), $("div", {
1201
1201
  key: 3,
1202
1202
  "data-testid": `${t.item.key}-json-array-content`
@@ -1207,14 +1207,14 @@ const de = {
1207
1207
  "is-array-item": "",
1208
1208
  item: O
1209
1209
  }, null, 8, ["index", "item"]))), 128))
1210
- ], 8, Ka)) : (f(), V(b, {
1210
+ ], 8, Na)) : (f(), V(b, {
1211
1211
  key: 4,
1212
- label: m(d) ? e.item.value : ""
1212
+ label: g(d) ? e.item.value : ""
1213
1213
  }, {
1214
1214
  default: h(() => [
1215
1215
  D("span", {
1216
1216
  ref_key: "textContent",
1217
- ref: g,
1217
+ ref: m,
1218
1218
  class: Oe(["attrs-data-text", { truncated: e.truncated }])
1219
1219
  }, B(c.value.text), 3)
1220
1220
  ]),
@@ -1485,7 +1485,7 @@ function io(e) {
1485
1485
  function so(e) {
1486
1486
  return Object.prototype.toString.call(e) === "[object Boolean]";
1487
1487
  }
1488
- var Nn = new fe("tag:yaml.org,2002:bool", {
1488
+ var Kn = new fe("tag:yaml.org,2002:bool", {
1489
1489
  kind: "scalar",
1490
1490
  resolve: oo,
1491
1491
  construct: io,
@@ -1576,7 +1576,7 @@ function fo(e) {
1576
1576
  function mo(e) {
1577
1577
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ce.isNegativeZero(e);
1578
1578
  }
1579
- var Kn = new fe("tag:yaml.org,2002:int", {
1579
+ var Nn = new fe("tag:yaml.org,2002:int", {
1580
1580
  kind: "scalar",
1581
1581
  resolve: po,
1582
1582
  construct: fo,
@@ -1663,8 +1663,8 @@ var Bn = new fe("tag:yaml.org,2002:float", {
1663
1663
  }), Fn = En.extend({
1664
1664
  implicit: [
1665
1665
  On,
1666
- Nn,
1667
1666
  Kn,
1667
+ Nn,
1668
1668
  Bn
1669
1669
  ]
1670
1670
  }), qn = Fn, Ln = new RegExp(
@@ -1676,7 +1676,7 @@ function ko(e) {
1676
1676
  return e === null ? !1 : Ln.exec(e) !== null || Un.exec(e) !== null;
1677
1677
  }
1678
1678
  function wo(e) {
1679
- var n, t, r, a, i, o, s, l = 0, u = null, p, c, g;
1679
+ var n, t, r, a, i, o, s, l = 0, u = null, p, c, m;
1680
1680
  if (n = Ln.exec(e), n === null && (n = Un.exec(e)), n === null)
1681
1681
  throw new Error("Date resolve error");
1682
1682
  if (t = +n[1], r = +n[2] - 1, a = +n[3], !n[4])
@@ -1686,7 +1686,7 @@ function wo(e) {
1686
1686
  l += "0";
1687
1687
  l = +l;
1688
1688
  }
1689
- return n[9] && (p = +n[10], c = +(n[11] || 0), u = (p * 60 + c) * 6e4, n[9] === "-" && (u = -u)), g = new Date(Date.UTC(t, r, a, i, o, s, l)), u && g.setTime(g.getTime() - u), g;
1689
+ return n[9] && (p = +n[10], c = +(n[11] || 0), u = (p * 60 + c) * 6e4, n[9] === "-" && (u = -u)), m = new Date(Date.UTC(t, r, a, i, o, s, l)), u && m.setTime(m.getTime() - u), m;
1690
1690
  }
1691
1691
  function _o(e) {
1692
1692
  return e.toISOString();
@@ -1770,7 +1770,7 @@ var Rn = new fe("tag:yaml.org,2002:omap", {
1770
1770
  resolve: Mo,
1771
1771
  construct: Eo
1772
1772
  }), Oo = Object.prototype.toString;
1773
- function No(e) {
1773
+ function Ko(e) {
1774
1774
  if (e === null)
1775
1775
  return !0;
1776
1776
  var n, t, r, a, i, o = e;
@@ -1781,7 +1781,7 @@ function No(e) {
1781
1781
  }
1782
1782
  return !0;
1783
1783
  }
1784
- function Ko(e) {
1784
+ function No(e) {
1785
1785
  if (e === null)
1786
1786
  return [];
1787
1787
  var n, t, r, a, i, o = e;
@@ -1791,8 +1791,8 @@ function Ko(e) {
1791
1791
  }
1792
1792
  var Gn = new fe("tag:yaml.org,2002:pairs", {
1793
1793
  kind: "sequence",
1794
- resolve: No,
1795
- construct: Ko
1794
+ resolve: Ko,
1795
+ construct: No
1796
1796
  }), Bo = Object.prototype.hasOwnProperty;
1797
1797
  function Fo(e) {
1798
1798
  if (e === null)
@@ -1821,7 +1821,7 @@ var zn = new fe("tag:yaml.org,2002:set", {
1821
1821
  Gn,
1822
1822
  zn
1823
1823
  ]
1824
- }), Ne = Object.prototype.hasOwnProperty, at = 1, Hn = 2, Jn = 3, ot = 4, ht = 1, Lo = 2, Yt = 3, Uo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Po = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Wn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1824
+ }), Ke = Object.prototype.hasOwnProperty, at = 1, Hn = 2, Jn = 3, ot = 4, ht = 1, Lo = 2, Yt = 3, Uo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Po = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Wn = /^(?:!|!!|![a-z\-]+!)$/i, Yn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1825
1825
  function Zt(e) {
1826
1826
  return Object.prototype.toString.call(e);
1827
1827
  }
@@ -1887,7 +1887,7 @@ var Xt = {
1887
1887
  },
1888
1888
  TAG: function(e, n, t) {
1889
1889
  var r, a;
1890
- t.length !== 2 && T(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Wn.test(r) || T(e, "ill-formed tag handle (first argument) of the TAG directive"), Ne.call(e.tagMap, r) && T(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Yn.test(a) || T(e, "ill-formed tag prefix (second argument) of the TAG directive");
1890
+ t.length !== 2 && T(e, "TAG directive accepts exactly two arguments"), r = t[0], a = t[1], Wn.test(r) || T(e, "ill-formed tag handle (first argument) of the TAG directive"), Ke.call(e.tagMap, r) && T(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Yn.test(a) || T(e, "ill-formed tag prefix (second argument) of the TAG directive");
1891
1891
  try {
1892
1892
  a = decodeURIComponent(a);
1893
1893
  } catch {
@@ -1910,7 +1910,7 @@ function Ee(e, n, t, r) {
1910
1910
  function en(e, n, t, r) {
1911
1911
  var a, i, o, s;
1912
1912
  for (ce.isObject(t) || T(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), o = 0, s = a.length; o < s; o += 1)
1913
- i = a[o], Ne.call(n, i) || (n[i] = t[i], r[i] = !0);
1913
+ i = a[o], Ke.call(n, i) || (n[i] = t[i], r[i] = !0);
1914
1914
  }
1915
1915
  function De(e, n, t, r, a, i, o, s, l) {
1916
1916
  var u, p;
@@ -1924,7 +1924,7 @@ function De(e, n, t, r, a, i, o, s, l) {
1924
1924
  else
1925
1925
  en(e, n, i, t);
1926
1926
  else
1927
- !e.json && !Ne.call(t, a) && Ne.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, T(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1927
+ !e.json && !Ke.call(t, a) && Ke.call(n, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, T(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(n, a, {
1928
1928
  configurable: !0,
1929
1929
  enumerable: !0,
1930
1930
  writable: !0,
@@ -1961,7 +1961,7 @@ function Et(e, n) {
1961
1961
  `, n - 1));
1962
1962
  }
1963
1963
  function Jo(e, n, t) {
1964
- var r, a, i, o, s, l, u, p, c = e.kind, g = e.result, d;
1964
+ var r, a, i, o, s, l, u, p, c = e.kind, m = e.result, d;
1965
1965
  if (d = e.input.charCodeAt(e.position), be(d) || Pe(d) || d === 35 || d === 38 || d === 42 || d === 33 || d === 124 || d === 62 || d === 39 || d === 34 || d === 37 || d === 64 || d === 96 || (d === 63 || d === 45) && (a = e.input.charCodeAt(e.position + 1), be(a) || t && Pe(a)))
1966
1966
  return !1;
1967
1967
  for (e.kind = "scalar", e.result = "", i = o = e.position, s = !1; d !== 0; ) {
@@ -1985,7 +1985,7 @@ function Jo(e, n, t) {
1985
1985
  }
1986
1986
  s && (Ee(e, i, o, !1), Et(e, e.line - l), i = o = e.position, s = !1), Be(d) || (o = e.position + 1), d = e.input.charCodeAt(++e.position);
1987
1987
  }
1988
- return Ee(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = g, !1);
1988
+ return Ee(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = m, !1);
1989
1989
  }
1990
1990
  function Wo(e, n) {
1991
1991
  var t, r, a;
@@ -2026,7 +2026,7 @@ function Yo(e, n) {
2026
2026
  T(e, "unexpected end of the stream within a double quoted scalar");
2027
2027
  }
2028
2028
  function Zo(e, n) {
2029
- var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, g, d, _ = /* @__PURE__ */ Object.create(null), v, S, y, b;
2029
+ var t = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, m, d, _ = /* @__PURE__ */ Object.create(null), v, S, y, b;
2030
2030
  if (b = e.input.charCodeAt(e.position), b === 91)
2031
2031
  p = 93, d = !1, s = [];
2032
2032
  else if (b === 123)
@@ -2036,7 +2036,7 @@ function Zo(e, n) {
2036
2036
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(++e.position); b !== 0; ) {
2037
2037
  if (le(e, !0, n), b = e.input.charCodeAt(e.position), b === p)
2038
2038
  return e.position++, e.tag = o, e.anchor = l, e.kind = d ? "mapping" : "sequence", e.result = s, !0;
2039
- t ? b === 44 && T(e, "expected the node content, but found ','") : T(e, "missed comma between flow collection entries"), S = v = y = null, c = g = !1, b === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = g = !0, e.position++, le(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, Re(e, n, at, !1, !0), S = e.tag, v = e.result, le(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (c = !0, b = e.input.charCodeAt(++e.position), le(e, !0, n), Re(e, n, at, !1, !0), y = e.result), d ? De(e, s, _, S, v, y, r, a, i) : c ? s.push(De(e, null, _, S, v, y, r, a, i)) : s.push(v), le(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
2039
+ t ? b === 44 && T(e, "expected the node content, but found ','") : T(e, "missed comma between flow collection entries"), S = v = y = null, c = m = !1, b === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = m = !0, e.position++, le(e, !0, n))), r = e.line, a = e.lineStart, i = e.position, Re(e, n, at, !1, !0), S = e.tag, v = e.result, le(e, !0, n), b = e.input.charCodeAt(e.position), (m || e.line === r) && b === 58 && (c = !0, b = e.input.charCodeAt(++e.position), le(e, !0, n), Re(e, n, at, !1, !0), y = e.result), d ? De(e, s, _, S, v, y, r, a, i) : c ? s.push(De(e, null, _, S, v, y, r, a, i)) : s.push(v), le(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
2040
2040
  }
2041
2041
  T(e, "unexpected end of the stream within a flow collection");
2042
2042
  }
@@ -2104,12 +2104,12 @@ function tn(e, n) {
2104
2104
  return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2105
2105
  }
2106
2106
  function Xo(e, n, t) {
2107
- var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, g = /* @__PURE__ */ Object.create(null), d = null, _ = null, v = null, S = !1, y = !1, b;
2107
+ var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, m = /* @__PURE__ */ Object.create(null), d = null, _ = null, v = null, S = !1, y = !1, b;
2108
2108
  if (e.firstTabInLine !== -1)
2109
2109
  return !1;
2110
2110
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), b = e.input.charCodeAt(e.position); b !== 0; ) {
2111
2111
  if (!S && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (b === 63 || b === 58) && be(r))
2112
- b === 63 ? (S && (De(e, c, g, d, _, null, o, s, l), d = _ = v = null), y = !0, S = !0, a = !0) : S ? (S = !1, a = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
2112
+ b === 63 ? (S && (De(e, c, m, d, _, null, o, s, l), d = _ = v = null), y = !0, S = !0, a = !0) : S ? (S = !1, a = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
2113
2113
  else {
2114
2114
  if (o = e.line, s = e.lineStart, l = e.position, !Re(e, t, Hn, !1, !0))
2115
2115
  break;
@@ -2117,7 +2117,7 @@ function Xo(e, n, t) {
2117
2117
  for (b = e.input.charCodeAt(e.position); Be(b); )
2118
2118
  b = e.input.charCodeAt(++e.position);
2119
2119
  if (b === 58)
2120
- b = e.input.charCodeAt(++e.position), be(b) || T(e, "a whitespace character is expected after the key-value separator within a block mapping"), S && (De(e, c, g, d, _, null, o, s, l), d = _ = v = null), y = !0, S = !1, a = !1, d = e.tag, _ = e.result;
2120
+ b = e.input.charCodeAt(++e.position), be(b) || T(e, "a whitespace character is expected after the key-value separator within a block mapping"), S && (De(e, c, m, d, _, null, o, s, l), d = _ = v = null), y = !0, S = !1, a = !1, d = e.tag, _ = e.result;
2121
2121
  else if (y)
2122
2122
  T(e, "can not read an implicit mapping pair; a colon is missed");
2123
2123
  else
@@ -2127,12 +2127,12 @@ function Xo(e, n, t) {
2127
2127
  else
2128
2128
  return e.tag = u, e.anchor = p, !0;
2129
2129
  }
2130
- if ((e.line === i || e.lineIndent > n) && (S && (o = e.line, s = e.lineStart, l = e.position), Re(e, n, ot, !0, a) && (S ? _ = e.result : v = e.result), S || (De(e, c, g, d, _, v, o, s, l), d = _ = v = null), le(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && b !== 0)
2130
+ if ((e.line === i || e.lineIndent > n) && (S && (o = e.line, s = e.lineStart, l = e.position), Re(e, n, ot, !0, a) && (S ? _ = e.result : v = e.result), S || (De(e, c, m, d, _, v, o, s, l), d = _ = v = null), le(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && b !== 0)
2131
2131
  T(e, "bad indentation of a mapping entry");
2132
2132
  else if (e.lineIndent < n)
2133
2133
  break;
2134
2134
  }
2135
- return S && De(e, c, g, d, _, null, o, s, l), y && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), y;
2135
+ return S && De(e, c, m, d, _, null, o, s, l), y && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), y;
2136
2136
  }
2137
2137
  function ei(e) {
2138
2138
  var n, t = !1, r = !1, a, i, o;
@@ -2154,7 +2154,7 @@ function ei(e) {
2154
2154
  } catch {
2155
2155
  T(e, "tag name is malformed: " + i);
2156
2156
  }
2157
- return t ? e.tag = i : Ne.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : T(e, 'undeclared tag handle "' + a + '"'), !0;
2157
+ return t ? e.tag = i : Ke.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : T(e, 'undeclared tag handle "' + a + '"'), !0;
2158
2158
  }
2159
2159
  function ti(e) {
2160
2160
  var n, t;
@@ -2170,26 +2170,26 @@ function ni(e) {
2170
2170
  return !1;
2171
2171
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !be(r) && !Pe(r); )
2172
2172
  r = e.input.charCodeAt(++e.position);
2173
- return e.position === n && T(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ne.call(e.anchorMap, t) || T(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], le(e, !0, -1), !0;
2173
+ return e.position === n && T(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ke.call(e.anchorMap, t) || T(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], le(e, !0, -1), !0;
2174
2174
  }
2175
2175
  function Re(e, n, t, r, a) {
2176
- var i, o, s, l = 1, u = !1, p = !1, c, g, d, _, v, S;
2176
+ var i, o, s, l = 1, u = !1, p = !1, c, m, d, _, v, S;
2177
2177
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = ot === t || Jn === t, r && le(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2178
2178
  for (; ei(e) || ti(e); )
2179
2179
  le(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2180
2180
  if (s && (s = u || a), (l === 1 || ot === t) && (at === t || Hn === t ? v = n : v = n + 1, S = e.position - e.lineStart, l === 1 ? s && (tn(e, S) || Xo(e, S, v)) || Zo(e, v) ? p = !0 : (o && Qo(e, v) || Wo(e, v) || Yo(e, v) ? p = !0 : ni(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : Jo(e, v, at === t) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && tn(e, S))), e.tag === null)
2181
2181
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2182
2182
  else if (e.tag === "?") {
2183
- for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, g = e.implicitTypes.length; c < g; c += 1)
2183
+ for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
2184
2184
  if (_ = e.implicitTypes[c], _.resolve(e.result)) {
2185
2185
  e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2186
2186
  break;
2187
2187
  }
2188
2188
  } else if (e.tag !== "!") {
2189
- if (Ne.call(e.typeMap[e.kind || "fallback"], e.tag))
2189
+ if (Ke.call(e.typeMap[e.kind || "fallback"], e.tag))
2190
2190
  _ = e.typeMap[e.kind || "fallback"][e.tag];
2191
2191
  else
2192
- for (_ = null, d = e.typeMap.multi[e.kind || "fallback"], c = 0, g = d.length; c < g; c += 1)
2192
+ for (_ = null, d = e.typeMap.multi[e.kind || "fallback"], c = 0, m = d.length; c < m; c += 1)
2193
2193
  if (e.tag.slice(0, d[c].tag.length) === d[c].tag) {
2194
2194
  _ = d[c];
2195
2195
  break;
@@ -2218,7 +2218,7 @@ function ri(e) {
2218
2218
  o = e.input.charCodeAt(++e.position);
2219
2219
  a.push(e.input.slice(t, e.position));
2220
2220
  }
2221
- o !== 0 && Mt(e), Ne.call(Xt, r) ? Xt[r](e, r, a) : it(e, 'unknown document directive "' + r + '"');
2221
+ o !== 0 && Mt(e), Ke.call(Xt, r) ? Xt[r](e, r, a) : it(e, 'unknown document directive "' + r + '"');
2222
2222
  }
2223
2223
  if (le(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, le(e, !0, -1)) : i && T(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, ot, !1, !0), le(e, !0, -1), e.checkLineBreaks && Po.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && pt(e)) {
2224
2224
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, le(e, !0, -1));
@@ -2369,7 +2369,7 @@ function ur(e) {
2369
2369
  }
2370
2370
  var cr = 1, wt = 2, dr = 3, pr = 4, Ue = 5;
2371
2371
  function Oi(e, n, t, r, a, i, o, s) {
2372
- var l, u = 0, p = null, c = !1, g = !1, d = r !== -1, _ = -1, v = Mi(Je(e, 0)) && Ei(Je(e, e.length - 1));
2372
+ var l, u = 0, p = null, c = !1, m = !1, d = r !== -1, _ = -1, v = Mi(Je(e, 0)) && Ei(Je(e, e.length - 1));
2373
2373
  if (n || o)
2374
2374
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2375
2375
  if (u = Je(e, l), !et(u))
@@ -2379,17 +2379,17 @@ function Oi(e, n, t, r, a, i, o, s) {
2379
2379
  else {
2380
2380
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2381
2381
  if (u = Je(e, l), u === Qe)
2382
- c = !0, d && (g = g || // Foldable line = too long, and not more-indented.
2382
+ c = !0, d && (m = m || // Foldable line = too long, and not more-indented.
2383
2383
  l - _ - 1 > r && e[_ + 1] !== " ", _ = l);
2384
2384
  else if (!et(u))
2385
2385
  return Ue;
2386
2386
  v = v && an(u, p, s), p = u;
2387
2387
  }
2388
- g = g || d && l - _ - 1 > r && e[_ + 1] !== " ";
2388
+ m = m || d && l - _ - 1 > r && e[_ + 1] !== " ";
2389
2389
  }
2390
- return !c && !g ? v && !o && !a(e) ? cr : i === Xe ? Ue : wt : t > 9 && ur(e) ? Ue : o ? i === Xe ? Ue : wt : g ? pr : dr;
2390
+ return !c && !m ? v && !o && !a(e) ? cr : i === Xe ? Ue : wt : t > 9 && ur(e) ? Ue : o ? i === Xe ? Ue : wt : m ? pr : dr;
2391
2391
  }
2392
- function Ni(e, n, t, r, a) {
2392
+ function Ki(e, n, t, r, a) {
2393
2393
  e.dump = function() {
2394
2394
  if (n.length === 0)
2395
2395
  return e.quotingType === Xe ? '""' : "''";
@@ -2416,7 +2416,7 @@ function Ni(e, n, t, r, a) {
2416
2416
  case dr:
2417
2417
  return "|" + on(n, e.indent) + sn(nn(n, i));
2418
2418
  case pr:
2419
- return ">" + on(n, e.indent) + sn(nn(Ki(n, o), i));
2419
+ return ">" + on(n, e.indent) + sn(nn(Ni(n, o), i));
2420
2420
  case Ue:
2421
2421
  return '"' + Bi(n) + '"';
2422
2422
  default:
@@ -2436,7 +2436,7 @@ function sn(e) {
2436
2436
  return e[e.length - 1] === `
2437
2437
  ` ? e.slice(0, -1) : e;
2438
2438
  }
2439
- function Ki(e, n) {
2439
+ function Ni(e, n) {
2440
2440
  for (var t = /(\n+)([^\n]*)/g, r = function() {
2441
2441
  var u = e.indexOf(`
2442
2442
  `);
@@ -2483,7 +2483,7 @@ function qi(e, n, t) {
2483
2483
  e.tag = a, e.dump = "{" + r + "}";
2484
2484
  }
2485
2485
  function Li(e, n, t, r) {
2486
- var a = "", i = e.tag, o = Object.keys(t), s, l, u, p, c, g;
2486
+ var a = "", i = e.tag, o = Object.keys(t), s, l, u, p, c, m;
2487
2487
  if (e.sortKeys === !0)
2488
2488
  o.sort();
2489
2489
  else if (typeof e.sortKeys == "function")
@@ -2491,7 +2491,7 @@ function Li(e, n, t, r) {
2491
2491
  else if (e.sortKeys)
2492
2492
  throw new ge("sortKeys must be a boolean or a function");
2493
2493
  for (s = 0, l = o.length; s < l; s += 1)
2494
- g = "", (!r || a !== "") && (g += kt(e, n)), u = o[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), Te(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Qe === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, c && (g += kt(e, n)), Te(e, n + 1, p, !0, c) && (e.dump && Qe === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, a += g));
2494
+ m = "", (!r || a !== "") && (m += kt(e, n)), u = o[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), Te(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Qe === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += kt(e, n)), Te(e, n + 1, p, !0, c) && (e.dump && Qe === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, a += m));
2495
2495
  e.tag = i, e.dump = a || "{}";
2496
2496
  }
2497
2497
  function cn(e, n, t) {
@@ -2515,16 +2515,16 @@ function Te(e, n, t, r, a, i, o) {
2515
2515
  e.tag = null, e.dump = t, cn(e, t, !1) || cn(e, t, !0);
2516
2516
  var s = nr.call(e.dump), l = r, u;
2517
2517
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
2518
- var p = s === "[object Object]" || s === "[object Array]", c, g;
2519
- if (p && (c = e.duplicates.indexOf(t), g = c !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && n > 0) && (a = !1), g && e.usedDuplicates[c])
2518
+ var p = s === "[object Object]" || s === "[object Array]", c, m;
2519
+ if (p && (c = e.duplicates.indexOf(t), m = c !== -1), (e.tag !== null && e.tag !== "?" || m || e.indent !== 2 && n > 0) && (a = !1), m && e.usedDuplicates[c])
2520
2520
  e.dump = "*ref_" + c;
2521
2521
  else {
2522
- if (p && g && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2523
- r && Object.keys(e.dump).length !== 0 ? (Li(e, n, e.dump, a), g && (e.dump = "&ref_" + c + e.dump)) : (qi(e, n, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
2522
+ if (p && m && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2523
+ r && Object.keys(e.dump).length !== 0 ? (Li(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (qi(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2524
2524
  else if (s === "[object Array]")
2525
- r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? un(e, n - 1, e.dump, a) : un(e, n, e.dump, a), g && (e.dump = "&ref_" + c + e.dump)) : (Fi(e, n, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
2525
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !o && n > 0 ? un(e, n - 1, e.dump, a) : un(e, n, e.dump, a), m && (e.dump = "&ref_" + c + e.dump)) : (Fi(e, n, e.dump), m && (e.dump = "&ref_" + c + " " + e.dump));
2526
2526
  else if (s === "[object String]")
2527
- e.tag !== "?" && Ni(e, e.dump, n, i, l);
2527
+ e.tag !== "?" && Ki(e, e.dump, n, i, l);
2528
2528
  else {
2529
2529
  if (s === "[object Undefined]" || e.skipInvalid)
2530
2530
  return !1;
@@ -2565,7 +2565,7 @@ function Pi(e, n) {
2565
2565
  var Di = Pi, Vi = {
2566
2566
  dump: Di
2567
2567
  };
2568
- function Nt(e, n) {
2568
+ function Kt(e, n) {
2569
2569
  return function() {
2570
2570
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2571
2571
  };
@@ -2578,13 +2578,13 @@ var Ri = fe, Gi = $n, zi = En, Hi = Fn, Ji = qn, Wi = jt, Yi = tr.load, Zi = tr.
2578
2578
  pairs: Gn,
2579
2579
  set: zn,
2580
2580
  timestamp: Pn,
2581
- bool: Nn,
2582
- int: Kn,
2581
+ bool: Kn,
2582
+ int: Nn,
2583
2583
  merge: Dn,
2584
2584
  omap: Rn,
2585
2585
  seq: jn,
2586
2586
  str: Tn
2587
- }, ts = Nt("safeLoad", "load"), ns = Nt("safeLoadAll", "loadAll"), rs = Nt("safeDump", "dump"), as = {
2587
+ }, ts = Kt("safeLoad", "load"), ns = Kt("safeLoadAll", "loadAll"), rs = Kt("safeDump", "dump"), as = {
2588
2588
  Type: Ri,
2589
2589
  Schema: Gi,
2590
2590
  FAILSAFE_SCHEMA: zi,
@@ -2664,13 +2664,13 @@ const os = {
2664
2664
  const p = U("KBadge"), c = U("KCodeBlock");
2665
2665
  return f(), $(Ce, null, [
2666
2666
  e.format === "structured" ? (f(), $("div", os, [
2667
- (f(!0), $(Ce, null, ve(e.propListTypes, (g) => (f(), $("div", {
2668
- key: `config-card-details-${g}-props`,
2669
- class: Oe(`config-card-details-${g}-props`),
2670
- "data-testid": `config-card-details-${g}-props`
2667
+ (f(!0), $(Ce, null, ve(e.propListTypes, (m) => (f(), $("div", {
2668
+ key: `config-card-details-${m}-props`,
2669
+ class: Oe(`config-card-details-${m}-props`),
2670
+ "data-testid": `config-card-details-${m}-props`
2671
2671
  }, [
2672
- g !== "basic" ? (f(), $("div", ss, B(g === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2673
- (f(!0), $(Ce, null, ve(e.propertyCollections[g], (d) => (f(), V($t, {
2672
+ m !== "basic" ? (f(), $("div", ss, B(m === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2673
+ (f(!0), $(Ce, null, ve(e.propertyCollections[m], (d) => (f(), V($t, {
2674
2674
  key: d.key,
2675
2675
  item: d
2676
2676
  }, je({
@@ -2697,13 +2697,13 @@ const os = {
2697
2697
  ])) : J("", !0),
2698
2698
  e.format === "json" ? (f(), $("div", ls, [
2699
2699
  n.fetcherUrl ? (f(), $("div", us, [
2700
- K(p, { appearance: "get" }, {
2700
+ N(p, { appearance: "get" }, {
2701
2701
  default: h(() => [
2702
- Q(B(m(r)("baseConfigCard.endpoints.get")), 1)
2702
+ Q(B(g(r)("baseConfigCard.endpoints.get")), 1)
2703
2703
  ]),
2704
2704
  _: 1
2705
2705
  }),
2706
- K(c, {
2706
+ N(c, {
2707
2707
  id: "config-card-endpoint-codeblock",
2708
2708
  code: n.fetcherUrl,
2709
2709
  "is-single-line": "",
@@ -2711,7 +2711,7 @@ const os = {
2711
2711
  theme: "dark"
2712
2712
  }, null, 8, ["code"])
2713
2713
  ])) : J("", !0),
2714
- K(c, {
2714
+ N(c, {
2715
2715
  id: "config-card-codeblock",
2716
2716
  class: Oe({ "config-card-display-json-content": n.fetcherUrl }),
2717
2717
  code: i.value,
@@ -2720,7 +2720,7 @@ const os = {
2720
2720
  }, null, 8, ["class", "code"])
2721
2721
  ])) : J("", !0),
2722
2722
  e.format === "yaml" ? (f(), $("div", cs, [
2723
- K(c, {
2723
+ N(c, {
2724
2724
  id: "config-card-codeblock",
2725
2725
  code: o.value,
2726
2726
  language: "yaml",
@@ -2934,7 +2934,7 @@ const os = {
2934
2934
  label: "YAML",
2935
2935
  value: "yaml"
2936
2936
  }
2937
- ], c = E("structured"), g = (k) => {
2937
+ ], c = E("structured"), m = (k) => {
2938
2938
  c.value = k == null ? void 0 : k.value;
2939
2939
  }, d = {
2940
2940
  id: {
@@ -3027,7 +3027,7 @@ const os = {
3027
3027
  advanced: (G = b.value) == null ? void 0 : G.filter((j) => j.section === ke.Advanced),
3028
3028
  plugin: (w = O.value) == null ? void 0 : w.concat((F = b.value) == null ? void 0 : F.filter((j) => j.section === ke.Plugin))
3029
3029
  };
3030
- }), N = A(() => {
3030
+ }), K = A(() => {
3031
3031
  const k = [];
3032
3032
  return I.value.basic.length && k.push("basic"), I.value.advanced.length && k.push("advanced"), I.value.plugin.length && k.push("plugin"), k;
3033
3033
  }), z = (k) => !!(k.tooltip || i[`${k.key}-label-tooltip`]), ie = A(() => {
@@ -3080,7 +3080,7 @@ const os = {
3080
3080
  appearance: "select",
3081
3081
  "data-testid": "select-config-format",
3082
3082
  items: p,
3083
- onChange: g
3083
+ onChange: m
3084
3084
  })) : J("", !0),
3085
3085
  a.config.jsonYamlEnabled && e.configCardDoc ? (f(), V(j, {
3086
3086
  key: 2,
@@ -3094,7 +3094,7 @@ const os = {
3094
3094
  rel: "noopener",
3095
3095
  target: "_blank"
3096
3096
  }, [
3097
- K(m(bs), { size: m(Sa) }, null, 8, ["size"])
3097
+ N(g(bs), { size: g(Sa) }, null, 8, ["size"])
3098
3098
  ], 8, ws)
3099
3099
  ]),
3100
3100
  _: 1
@@ -3108,7 +3108,7 @@ const os = {
3108
3108
  onClick: (ne) => R(te)
3109
3109
  }, {
3110
3110
  default: h(() => [
3111
- Q(B(m(o)("baseConfigCard.actions.copy")), 1)
3111
+ Q(B(g(o)("baseConfigCard.actions.copy")), 1)
3112
3112
  ]),
3113
3113
  _: 2
3114
3114
  }, 1032, ["onClick"])) : J("", !0)
@@ -3134,10 +3134,10 @@ const os = {
3134
3134
  _: 1
3135
3135
  })) : J("", !0),
3136
3136
  e.config.jsonYamlEnabled ? (f(), $("div", _s, [
3137
- K(ps, {
3137
+ N(ps, {
3138
3138
  "fetcher-url": ie.value,
3139
3139
  format: c.value,
3140
- "prop-list-types": N.value,
3140
+ "prop-list-types": K.value,
3141
3141
  "property-collections": I.value,
3142
3142
  record: y.value
3143
3143
  }, je({ _: 2 }, [
@@ -3152,12 +3152,12 @@ const os = {
3152
3152
  }))
3153
3153
  ]), 1032, ["fetcher-url", "format", "prop-list-types", "property-collections", "record"])
3154
3154
  ])) : (f(), $("div", Is, [
3155
- (f(!0), $(Ce, null, ve(N.value, (te) => (f(), $("div", {
3155
+ (f(!0), $(Ce, null, ve(K.value, (te) => (f(), $("div", {
3156
3156
  key: `config-card-details-${te}-props`,
3157
3157
  class: Oe(`config-card-details-${te}-props`),
3158
3158
  "data-testid": `config-card-details-${te}-props`
3159
3159
  }, [
3160
- te !== "basic" ? (f(), $("div", As, B(te === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
3160
+ te !== "basic" ? (f(), $("div", As, B(te === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
3161
3161
  (f(!0), $(Ce, null, ve(I.value[te], (ne) => (f(), V($t, {
3162
3162
  key: ne.key,
3163
3163
  item: ne
@@ -3191,7 +3191,7 @@ const os = {
3191
3191
  fn: h(() => [
3192
3192
  D("div", Cs, [
3193
3193
  X(k.$slots, "title", {}, () => [
3194
- Q(B(m(o)("baseConfigCard.title")), 1)
3194
+ Q(B(g(o)("baseConfigCard.title")), 1)
3195
3195
  ], !0)
3196
3196
  ])
3197
3197
  ]),
@@ -3255,7 +3255,7 @@ const os = {
3255
3255
  var t;
3256
3256
  const r = n, a = e, i = It(), { i18n: { t: o } } = de.useI18n(), { getMessageFromError: s } = de.useErrors(), { axiosInstance: l } = de.useAxios({
3257
3257
  headers: (t = a.config) == null ? void 0 : t.requestHeaders
3258
- }), u = E(!1), p = E(!1), c = E(""), g = A(() => a.canSubmit === !1 || a.isReadonly), d = A(() => {
3258
+ }), u = E(!1), p = E(!1), c = E(""), m = A(() => a.canSubmit === !1 || a.isReadonly), d = A(() => {
3259
3259
  var y, b;
3260
3260
  if (!a.editId)
3261
3261
  return "";
@@ -3266,7 +3266,7 @@ const os = {
3266
3266
  }, v = () => {
3267
3267
  r("cancel");
3268
3268
  }, S = () => {
3269
- g.value || r("submit");
3269
+ m.value || r("submit");
3270
3270
  };
3271
3271
  return Ae(() => u.value, (y) => {
3272
3272
  r("loading", y);
@@ -3283,7 +3283,7 @@ const os = {
3283
3283
  u.value = !1;
3284
3284
  }
3285
3285
  }), (y, b) => {
3286
- const O = U("KSkeleton"), I = U("KEmptyState"), N = U("KAlert"), z = U("KButton"), ie = U("KCard");
3286
+ const O = U("KSkeleton"), I = U("KEmptyState"), K = U("KAlert"), z = U("KButton"), ie = U("KCard");
3287
3287
  return f(), V(ie, { class: "kong-ui-entity-base-form" }, {
3288
3288
  default: h(() => [
3289
3289
  u.value ? (f(), V(O, {
@@ -3291,7 +3291,7 @@ const os = {
3291
3291
  type: "form"
3292
3292
  })) : p.value ? (f(), V(I, {
3293
3293
  key: 1,
3294
- "cta-text": m(o)("baseForm.actions.back"),
3294
+ "cta-text": g(o)("baseForm.actions.back"),
3295
3295
  "data-testid": "form-fetch-error",
3296
3296
  "handle-click": _,
3297
3297
  "is-error": !0
@@ -3307,7 +3307,7 @@ const os = {
3307
3307
  onSubmit: rt(S, ["prevent"])
3308
3308
  }, [
3309
3309
  X(y.$slots, "default", {}, void 0, !0),
3310
- e.errorMessage ? (f(), V(N, {
3310
+ e.errorMessage ? (f(), V(K, {
3311
3311
  key: 0,
3312
3312
  "alert-message": e.errorMessage,
3313
3313
  appearance: "danger",
@@ -3315,25 +3315,25 @@ const os = {
3315
3315
  }, null, 8, ["alert-message"])) : J("", !0),
3316
3316
  D("div", Ts, [
3317
3317
  X(y.$slots, "form-actions", {}, () => [
3318
- K(z, {
3318
+ N(z, {
3319
3319
  appearance: "secondary",
3320
3320
  "data-testid": "form-cancel",
3321
3321
  disabled: e.isReadonly,
3322
3322
  type: "reset"
3323
3323
  }, {
3324
3324
  default: h(() => [
3325
- Q(B(m(o)("baseForm.actions.cancel")), 1)
3325
+ Q(B(g(o)("baseForm.actions.cancel")), 1)
3326
3326
  ]),
3327
3327
  _: 1
3328
3328
  }, 8, ["disabled"]),
3329
- K(z, {
3329
+ N(z, {
3330
3330
  appearance: "primary",
3331
3331
  "data-testid": "form-submit",
3332
- disabled: g.value,
3332
+ disabled: m.value,
3333
3333
  type: "submit"
3334
3334
  }, {
3335
3335
  default: h(() => [
3336
- Q(B(m(o)("baseForm.actions.save")), 1)
3336
+ Q(B(g(o)("baseForm.actions.save")), 1)
3337
3337
  ]),
3338
3338
  _: 1
3339
3339
  }, 8, ["disabled"])
@@ -3378,8 +3378,8 @@ const os = {
3378
3378
  }, s = () => {
3379
3379
  var v, S, y;
3380
3380
  u.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, p.value = ((S = t.value) == null ? void 0 : S.clientWidth) || 0, c.value = ((y = l.value) == null ? void 0 : y.innerText) || "";
3381
- }, l = E({}), u = E(0), p = E(0), c = E(""), g = A(() => [r.value, t.value]), d = Ae(
3382
- g,
3381
+ }, l = E({}), u = E(0), p = E(0), c = E(""), m = A(() => [r.value, t.value]), d = Ae(
3382
+ m,
3383
3383
  (v) => {
3384
3384
  if (a.value && (o(), "ResizeObserver" in window && window)) {
3385
3385
  i = new ResizeObserver((S) => {
@@ -3405,7 +3405,7 @@ const os = {
3405
3405
  class: "content-wrapper"
3406
3406
  }, [
3407
3407
  a.value ? (f(), $("span", Es, [
3408
- K(y, {
3408
+ N(y, {
3409
3409
  label: _.value ? c.value : "",
3410
3410
  "max-width": "300",
3411
3411
  placement: "bottomStart"
@@ -3419,7 +3419,7 @@ const os = {
3419
3419
  ], 512);
3420
3420
  };
3421
3421
  }
3422
- }), Ns = /* @__PURE__ */ we(Os, [["__scopeId", "data-v-e42a20c9"]]), Ks = { class: "toolbar-container" }, Bs = {
3422
+ }), Ks = /* @__PURE__ */ we(Os, [["__scopeId", "data-v-e42a20c9"]]), Ns = { class: "toolbar-container" }, Bs = {
3423
3423
  key: 0,
3424
3424
  class: "toolbar-button-container"
3425
3425
  }, Fs = ["data-testid"], qs = /* @__PURE__ */ oe({
@@ -3533,42 +3533,42 @@ const os = {
3533
3533
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3534
3534
  setup(e, { emit: n }) {
3535
3535
  const t = e, r = n, { i18n: { t: a } } = de.useI18n(), i = A(() => {
3536
- var N, z;
3536
+ var K, z;
3537
3537
  return typeof t.errorMessage == "string" ? {
3538
3538
  hasError: !!t.errorMessage,
3539
3539
  title: t.errorMessage,
3540
3540
  message: void 0
3541
3541
  } : {
3542
3542
  hasError: !!t.errorMessage,
3543
- title: (N = t.errorMessage) == null ? void 0 : N.title,
3543
+ title: (K = t.errorMessage) == null ? void 0 : K.title,
3544
3544
  message: (z = t.errorMessage) == null ? void 0 : z.message
3545
3545
  };
3546
- }), o = A(() => t.cacheIdentifier || t.preferencesStorageKey), s = (N) => N.hasData || !!t.query, l = A(() => {
3547
- const N = [];
3546
+ }), o = A(() => t.cacheIdentifier || t.preferencesStorageKey), s = (K) => K.hasData || !!t.query, l = A(() => {
3547
+ const K = [];
3548
3548
  return Object.keys(t.tableHeaders).forEach((z) => {
3549
3549
  const ie = t.tableHeaders[z];
3550
- N.push({
3550
+ K.push({
3551
3551
  label: ie.label ?? z,
3552
3552
  key: z,
3553
3553
  sortable: ie.sortable ?? !1
3554
3554
  });
3555
- }), t.enableEntityActions && N.push({
3555
+ }), t.enableEntityActions && K.push({
3556
3556
  key: "actions",
3557
3557
  hideLabel: !0
3558
- }), N;
3559
- }), u = (N) => ({
3560
- "data-rowid": N.id,
3561
- "data-testid": N.name,
3562
- ...t.rowAttributes(N)
3563
- }), p = E({}), c = (N) => {
3558
+ }), K;
3559
+ }), u = (K) => ({
3560
+ "data-rowid": K.id,
3561
+ "data-testid": K.name,
3562
+ ...t.rowAttributes(K)
3563
+ }), p = E({}), c = (K) => {
3564
3564
  var z;
3565
- return (z = p.value) == null ? void 0 : z.$el.querySelector(`[data-rowid="${N.id}"]`);
3566
- }, g = (N) => {
3565
+ return (z = p.value) == null ? void 0 : z.$el.querySelector(`[data-rowid="${K.id}"]`);
3566
+ }, m = (K) => {
3567
3567
  const z = {
3568
- "data-testid": N.headerKey,
3569
- ...t.cellAttributes(N)
3568
+ "data-testid": K.headerKey,
3569
+ ...t.cellAttributes(K)
3570
3570
  };
3571
- return N.colIndex === 0 && (z.style = {
3571
+ return K.colIndex === 0 && (z.style = {
3572
3572
  maxWidth: "250px",
3573
3573
  overflowX: "hidden",
3574
3574
  textOverflow: "ellipsis"
@@ -3577,40 +3577,40 @@ const os = {
3577
3577
  r("empty-state-cta-clicked"), _();
3578
3578
  }, _ = () => {
3579
3579
  r("clear-search-input");
3580
- }, v = A(() => t.disableRowClick ? void 0 : (N, z) => {
3580
+ }, v = A(() => t.disableRowClick ? void 0 : (K, z) => {
3581
3581
  r("click:row", z);
3582
- }), S = (N) => {
3583
- r("sort", N);
3582
+ }), S = (K) => {
3583
+ r("sort", K);
3584
3584
  }, { setTablePreferences: y, getTablePreferences: b } = jr(), O = A(() => {
3585
- const N = b(t.preferencesStorageKey);
3585
+ const K = b(t.preferencesStorageKey);
3586
3586
  return {
3587
3587
  ...t.initialFetcherParams,
3588
- ...N
3588
+ ...K
3589
3589
  };
3590
- }), I = (N) => {
3591
- t.preferencesStorageKey && y(t.preferencesStorageKey, N);
3590
+ }), I = (K) => {
3591
+ t.preferencesStorageKey && y(t.preferencesStorageKey, K);
3592
3592
  };
3593
- return (N, z) => {
3593
+ return (K, z) => {
3594
3594
  const ie = U("KIcon"), R = U("KButton"), k = U("KDropdown"), G = U("KTable"), F = U("KCard");
3595
3595
  return f(), V(F, {
3596
3596
  class: "kong-ui-entity-base-table",
3597
3597
  title: e.title
3598
3598
  }, {
3599
3599
  default: h(() => [
3600
- K(G, {
3600
+ N(G, {
3601
3601
  ref_key: "tableRefs",
3602
3602
  ref: p,
3603
3603
  "cache-identifier": o.value,
3604
- "cell-attrs": g,
3604
+ "cell-attrs": m,
3605
3605
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3606
3606
  "disable-sorting": e.disableSorting,
3607
3607
  "empty-state-action-button-icon": e.query ? "" : "plus",
3608
- "empty-state-action-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3608
+ "empty-state-action-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3609
3609
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3610
3610
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3611
3611
  "empty-state-icon-size": "96",
3612
- "empty-state-message": e.query ? m(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3613
- "empty-state-title": e.query ? m(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3612
+ "empty-state-message": e.query ? g(a)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3613
+ "empty-state-title": e.query ? g(a)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3614
3614
  "enable-client-sort": e.enableClientSort,
3615
3615
  "error-state-message": i.value.message,
3616
3616
  "error-state-title": i.value.title,
@@ -3630,10 +3630,10 @@ const os = {
3630
3630
  "onUpdate:tablePreferences": I
3631
3631
  }, je({
3632
3632
  toolbar: h(({ state: w }) => [
3633
- We(D("div", Ks, [
3634
- X(N.$slots, "toolbar-filter", {}, void 0, !0),
3635
- N.$slots["toolbar-button"] ? (f(), $("div", Bs, [
3636
- X(N.$slots, "toolbar-button", {}, void 0, !0)
3633
+ We(D("div", Ns, [
3634
+ X(K.$slots, "toolbar-filter", {}, void 0, !0),
3635
+ K.$slots["toolbar-button"] ? (f(), $("div", Bs, [
3636
+ X(K.$slots, "toolbar-button", {}, void 0, !0)
3637
3637
  ])) : J("", !0)
3638
3638
  ], 512), [
3639
3639
  [Ye, s(w)]
@@ -3644,26 +3644,26 @@ const os = {
3644
3644
  class: "actions-container",
3645
3645
  "data-testid": w.name
3646
3646
  }, [
3647
- K(k, {
3647
+ N(k, {
3648
3648
  "kpop-attributes": { placement: "bottomEnd" },
3649
3649
  width: e.dropdownMenuWidth
3650
3650
  }, {
3651
3651
  items: h(() => [
3652
- X(N.$slots, "actions", {
3652
+ X(K.$slots, "actions", {
3653
3653
  row: w,
3654
3654
  rowKey: j,
3655
3655
  rowValue: M
3656
3656
  }, void 0, !0)
3657
3657
  ]),
3658
3658
  default: h(() => [
3659
- K(R, {
3659
+ N(R, {
3660
3660
  class: "actions-trigger",
3661
3661
  "data-testid": "overflow-actions-button",
3662
3662
  size: "small"
3663
3663
  }, {
3664
3664
  icon: h(() => [
3665
- K(ie, {
3666
- color: m(_a),
3665
+ N(ie, {
3666
+ color: g(_a),
3667
3667
  icon: "more",
3668
3668
  size: "16"
3669
3669
  }, null, 8, ["color"])
@@ -3680,12 +3680,12 @@ const os = {
3680
3680
  ve(e.tableHeaders, (w, j) => ({
3681
3681
  name: j,
3682
3682
  fn: h(({ row: M, rowKey: L, rowValue: Y }) => [
3683
- K(Ns, {
3683
+ N(Ks, {
3684
3684
  "key-name": String(j),
3685
3685
  "row-el": c(M)
3686
3686
  }, {
3687
3687
  default: h(() => [
3688
- X(N.$slots, j, {
3688
+ X(K.$slots, j, {
3689
3689
  row: M,
3690
3690
  rowKey: L,
3691
3691
  rowValue: Y
@@ -3768,14 +3768,14 @@ const os = {
3768
3768
  }, {
3769
3769
  "body-content": h(() => [
3770
3770
  e.error ? (f(), $("div", Us, [
3771
- K(p, { appearance: "danger" }, {
3771
+ N(p, { appearance: "danger" }, {
3772
3772
  alertMessage: h(() => [
3773
3773
  Q(B(e.error), 1)
3774
3774
  ]),
3775
3775
  _: 1
3776
3776
  })
3777
3777
  ])) : J("", !0),
3778
- K(m(t), {
3778
+ N(g(t), {
3779
3779
  class: "message",
3780
3780
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3781
3781
  tag: "p"
@@ -3886,7 +3886,7 @@ const os = {
3886
3886
  i.value = !i.value;
3887
3887
  }, p = (y) => {
3888
3888
  a("update:modelValue", y);
3889
- }, c = (y) => `filter-${y}`, g = (y) => {
3889
+ }, c = (y) => `filter-${y}`, m = (y) => {
3890
3890
  var b, O;
3891
3891
  return (((O = (b = r.config.schema) == null ? void 0 : b[y]) == null ? void 0 : O.values) ?? []).map((I) => ({
3892
3892
  value: I,
@@ -3907,7 +3907,7 @@ const os = {
3907
3907
  y && (i.value = !1), a("update:modelValue", new URLSearchParams(b).toString());
3908
3908
  };
3909
3909
  return (y, b) => {
3910
- const O = U("KInput"), I = U("KButton"), N = U("KSelect"), z = U("KMenuItem"), ie = U("KMenu");
3910
+ const O = U("KInput"), I = U("KButton"), K = U("KSelect"), z = U("KMenuItem"), ie = U("KMenu");
3911
3911
  return e.config.isExactMatch ? (f(), V(O, {
3912
3912
  key: 0,
3913
3913
  autocomplete: "off",
@@ -3918,18 +3918,18 @@ const os = {
3918
3918
  "onUpdate:modelValue": p
3919
3919
  }, {
3920
3920
  before: h(() => [
3921
- K(pn)
3921
+ N(pn)
3922
3922
  ]),
3923
3923
  _: 1
3924
3924
  }, 8, ["model-value", "placeholder"])) : (f(), $("div", Ws, [
3925
- K(I, {
3925
+ N(I, {
3926
3926
  appearance: "tertiary",
3927
3927
  "data-testid": "filter-button",
3928
3928
  onClick: u
3929
3929
  }, {
3930
3930
  default: h(() => [
3931
- K(pn),
3932
- Q(" " + B(m(t)("filter.filterButtonText")) + " " + B(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3931
+ N(pn),
3932
+ Q(" " + B(g(t)("filter.filterButtonText")) + " " + B(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
3933
3933
  ]),
3934
3934
  _: 1
3935
3935
  }),
@@ -3939,7 +3939,7 @@ const os = {
3939
3939
  }, null, 512), [
3940
3940
  [Ye, i.value]
3941
3941
  ]),
3942
- We(K(ie, { class: "kong-ui-entity-filter-menu" }, {
3942
+ We(N(ie, { class: "kong-ui-entity-filter-menu" }, {
3943
3943
  body: h(() => [
3944
3944
  (f(!0), $(Ce, null, ve(l.value, (R, k) => (f(), V(z, {
3945
3945
  key: R.value,
@@ -3962,45 +3962,45 @@ const os = {
3962
3962
  D("label", {
3963
3963
  class: "menu-item-label",
3964
3964
  for: c(R.value)
3965
- }, B(m(t)("filter.fieldLabel")), 9, Xs),
3966
- ((F = (G = e.config.schema) == null ? void 0 : G[R.value]) == null ? void 0 : F.type) === "select" ? (f(), V(N, {
3965
+ }, B(g(t)("filter.fieldLabel")), 9, Xs),
3966
+ ((F = (G = e.config.schema) == null ? void 0 : G[R.value]) == null ? void 0 : F.type) === "select" ? (f(), V(K, {
3967
3967
  key: 0,
3968
3968
  id: c(R.value),
3969
3969
  modelValue: o.value[R.value],
3970
3970
  "onUpdate:modelValue": (w) => o.value[R.value] = w,
3971
3971
  appearance: "select",
3972
- items: g(R.value),
3973
- placeholder: m(t)("filter.selectPlaceholder")
3972
+ items: m(R.value),
3973
+ placeholder: g(t)("filter.selectPlaceholder")
3974
3974
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (f(), V(O, {
3975
3975
  key: 1,
3976
3976
  id: c(R.value),
3977
3977
  modelValue: o.value[R.value],
3978
3978
  "onUpdate:modelValue": (w) => o.value[R.value] = w,
3979
3979
  autocomplete: "off",
3980
- placeholder: m(t)("filter.inputPlaceholder"),
3980
+ placeholder: g(t)("filter.inputPlaceholder"),
3981
3981
  type: d(R.value)
3982
3982
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3983
3983
  ]),
3984
3984
  D("div", el, [
3985
- K(I, {
3985
+ N(I, {
3986
3986
  appearance: "tertiary",
3987
3987
  "data-testid": "apply-filter",
3988
3988
  size: "small",
3989
3989
  onClick: b[0] || (b[0] = (w) => S(!0))
3990
3990
  }, {
3991
3991
  default: h(() => [
3992
- Q(B(m(t)("filter.applyButtonText")), 1)
3992
+ Q(B(g(t)("filter.applyButtonText")), 1)
3993
3993
  ]),
3994
3994
  _: 1
3995
3995
  }),
3996
- K(I, {
3996
+ N(I, {
3997
3997
  appearance: "tertiary",
3998
3998
  "data-testid": "clear-filter",
3999
3999
  size: "small",
4000
4000
  onClick: (w) => _(R.value)
4001
4001
  }, {
4002
4002
  default: h(() => [
4003
- Q(B(m(t)("filter.clearButtonText")), 1)
4003
+ Q(B(g(t)("filter.clearButtonText")), 1)
4004
4004
  ]),
4005
4005
  _: 2
4006
4006
  }, 1032, ["onClick"])
@@ -4012,13 +4012,13 @@ const os = {
4012
4012
  ]),
4013
4013
  actionButton: h(() => [
4014
4014
  D("div", tl, [
4015
- K(I, {
4015
+ N(I, {
4016
4016
  appearance: "tertiary",
4017
4017
  size: "small",
4018
4018
  onClick: v
4019
4019
  }, {
4020
4020
  default: h(() => [
4021
- Q(B(m(t)("filter.clearAllButtonText")), 1)
4021
+ Q(B(g(t)("filter.clearAllButtonText")), 1)
4022
4022
  ]),
4023
4023
  _: 1
4024
4024
  })
@@ -4105,12 +4105,12 @@ const os = {
4105
4105
  class: Oe(["form-section-info", { sticky: e.stickyInfoHeader }])
4106
4106
  }, [
4107
4107
  e.title ? (f(), $("h4", ol, B(e.title), 1)) : J("", !0),
4108
- e.description || m(n).description ? (f(), $("div", il, [
4108
+ e.description || g(n).description ? (f(), $("div", il, [
4109
4109
  X(t.$slots, "description", {}, () => [
4110
4110
  D("p", null, B(e.description), 1)
4111
4111
  ], !0)
4112
4112
  ])) : J("", !0),
4113
- m(n).footer ? (f(), $("div", sl, [
4113
+ g(n).footer ? (f(), $("div", sl, [
4114
4114
  X(t.$slots, "footer", {}, void 0, !0)
4115
4115
  ])) : J("", !0)
4116
4116
  ], 2)),
@@ -4120,7 +4120,7 @@ const os = {
4120
4120
  ])
4121
4121
  ], 2));
4122
4122
  }
4123
- }), fn = /* @__PURE__ */ we(ul, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: cl, useErrors: dl, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: pl, useDebouncedFilter: fr, useStringHelpers: Nl, useHelpers: Kl, useGatewayFeatureSupported: Bl, useTruncationDetector: Fl } = de, fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group-cta-text" }, gl = {
4123
+ }), fn = /* @__PURE__ */ we(ul, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Nt, useDeleteUrlBuilder: cl, useErrors: dl, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: pl, useDebouncedFilter: fr, useStringHelpers: Kl, useHelpers: Nl, useGatewayFeatureSupported: Bl, useTruncationDetector: Fl } = de, fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group-cta-text" }, gl = {
4124
4124
  key: 0,
4125
4125
  class: "kong-ui-entity-add-to-groups-error"
4126
4126
  }, yl = { key: 0 }, hl = /* @__PURE__ */ oe({
@@ -4141,7 +4141,7 @@ const os = {
4141
4141
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4142
4142
  setup(e, { emit: n }) {
4143
4143
  var F;
4144
- const { i18n: { t } } = dt.useI18n(), r = e, a = n, { axiosInstance: i } = Kt({
4144
+ const { i18n: { t } } = dt.useI18n(), r = e, a = n, { axiosInstance: i } = Nt({
4145
4145
  headers: (F = r.config) == null ? void 0 : F.requestHeaders
4146
4146
  }), o = E([]), {
4147
4147
  debouncedQueryChange: s,
@@ -4149,7 +4149,7 @@ const os = {
4149
4149
  allRecords: u,
4150
4150
  error: p,
4151
4151
  loadItems: c,
4152
- results: g
4152
+ results: m
4153
4153
  } = fr(
4154
4154
  r.config,
4155
4155
  Me.list[r.config.app].all,
@@ -4158,7 +4158,7 @@ const os = {
4158
4158
  fetchedItemsKey: "data",
4159
4159
  searchKeys: ["name", "id"]
4160
4160
  }
4161
- ), d = A(() => p.value ? t("consumer_groups.errors.general") : ""), _ = E(0), v = A(() => u.value === void 0), S = A(() => g.value.map((w) => ({
4161
+ ), d = A(() => p.value ? t("consumer_groups.errors.general") : ""), _ = E(0), v = A(() => u.value === void 0), S = A(() => m.value.map((w) => ({
4162
4162
  label: w.name,
4163
4163
  value: w.id,
4164
4164
  selected: o.value.includes(w.id),
@@ -4166,16 +4166,16 @@ const os = {
4166
4166
  // we need this to determine whether or not to show the description text
4167
4167
  }))), y = (w) => {
4168
4168
  var M;
4169
- const j = v.value ? g.value.find((L) => L.id === w) : (M = u.value) == null ? void 0 : M.find((L) => L.id === w);
4169
+ const j = v.value ? m.value.find((L) => L.id === w) : (M = u.value) == null ? void 0 : M.find((L) => L.id === w);
4170
4170
  return j ? j.name : w;
4171
4171
  }, b = () => {
4172
- N.value = "", O.value = [], k.value = [], a("cancel");
4173
- }, O = E([]), I = E(!1), N = E(""), z = async () => {
4172
+ K.value = "", O.value = [], k.value = [], a("cancel");
4173
+ }, O = E([]), I = E(!1), K = E(""), z = async () => {
4174
4174
  if (!o.value.length) {
4175
- N.value = "", k.value = [], a("cancel");
4175
+ K.value = "", k.value = [], a("cancel");
4176
4176
  return;
4177
4177
  }
4178
- I.value = !0, N.value = "", O.value = [], k.value = [];
4178
+ I.value = !0, K.value = "", O.value = [], k.value = [];
4179
4179
  try {
4180
4180
  const w = o.value.map((L) => R(L)), j = await Promise.allSettled(w);
4181
4181
  let M = !0;
@@ -4183,7 +4183,7 @@ const os = {
4183
4183
  L.status !== "fulfilled" && (M = !1);
4184
4184
  }), M ? (O.value = [], k.value = [], a("add:success", o.value), o.value = []) : (O.value.length && a("add:partial-success", O.value), o.value = [], G(j));
4185
4185
  } catch {
4186
- N.value = t("consumer_groups.errors.add"), a("error", N.value);
4186
+ K.value = t("consumer_groups.errors.add"), a("error", K.value);
4187
4187
  } finally {
4188
4188
  I.value = !1;
4189
4189
  }
@@ -4219,36 +4219,36 @@ const os = {
4219
4219
  class: "kong-ui-entities-add-to-groups-modal",
4220
4220
  "data-testid": "add-to-group-modal",
4221
4221
  "is-visible": e.visible,
4222
- title: m(t)("consumer_groups.consumers.add.title"),
4222
+ title: g(t)("consumer_groups.consumers.add.title"),
4223
4223
  onCanceled: b,
4224
4224
  onProceed: z
4225
4225
  }, {
4226
4226
  "body-content": h(() => [
4227
4227
  D("div", fl, [
4228
- D("p", ml, B(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4229
- K(M, {
4228
+ D("p", ml, B(g(t)("consumer_groups.consumers.add.ctaText")), 1),
4229
+ N(M, {
4230
4230
  modelValue: o.value,
4231
4231
  "onUpdate:modelValue": j[0] || (j[0] = (ee) => o.value = ee),
4232
4232
  autosuggest: "",
4233
4233
  "data-testid": "add-to-groups-multiselect",
4234
- "dropdown-footer-text": v.value ? m(t)("consumer_groups.consumers.add.footer") : void 0,
4234
+ "dropdown-footer-text": v.value ? g(t)("consumer_groups.consumers.add.footer") : void 0,
4235
4235
  items: S.value,
4236
- label: m(t)("consumer_groups.consumers.add.consumer_groups_label"),
4237
- loading: m(l),
4238
- placeholder: m(t)("consumer_groups.consumers.add.consumer_group_placeholder"),
4236
+ label: g(t)("consumer_groups.consumers.add.consumer_groups_label"),
4237
+ loading: g(l),
4238
+ placeholder: g(t)("consumer_groups.consumers.add.consumer_group_placeholder"),
4239
4239
  readonly: I.value,
4240
4240
  required: "",
4241
4241
  width: "100%",
4242
- onQueryChange: m(s)
4242
+ onQueryChange: g(s)
4243
4243
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4244
- N.value || d.value || k.value.length ? (f(), $("div", gl, [
4245
- K(L, { appearance: "danger" }, {
4244
+ K.value || d.value || k.value.length ? (f(), $("div", gl, [
4245
+ N(L, { appearance: "danger" }, {
4246
4246
  alertMessage: h(() => [
4247
- D("p", null, B(m(t)("consumer_groups.errors.add")), 1),
4247
+ D("p", null, B(g(t)("consumer_groups.errors.add")), 1),
4248
4248
  k.value.length ? (f(), $("ul", yl, [
4249
4249
  (f(!0), $(Ce, null, ve(k.value, (ee, te) => (f(), $("li", { key: te }, B(ee), 1))), 128))
4250
4250
  ])) : J("", !0),
4251
- D("div", null, B(N.value || d.value), 1)
4251
+ D("div", null, B(K.value || d.value), 1)
4252
4252
  ]),
4253
4253
  _: 1
4254
4254
  })
@@ -4311,37 +4311,39 @@ const os = {
4311
4311
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4312
4312
  setup(e, { emit: n }) {
4313
4313
  var qt;
4314
- const t = n, r = e, { i18nT: a, i18n: { t: i } } = dt.useI18n(), o = It(), { axiosInstance: s } = Kt({
4314
+ const t = n, r = e, { i18nT: a, i18n: { t: i } } = dt.useI18n(), o = It(), { axiosInstance: s } = Nt({
4315
4315
  headers: (qt = r.config) == null ? void 0 : qt.requestHeaders
4316
- }), l = E(1), u = A(() => !!r.config.consumerId), p = A(() => r.config.app !== "kongManager" || !!r.config.disableSorting), c = {
4316
+ }), l = E(1), u = A(() => !!r.config.consumerId), p = A(
4317
+ () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4318
+ ), c = A(() => r.config.app !== "kongManager" || !!r.config.disableSorting), m = {
4317
4319
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4318
4320
  };
4319
- r.config.app === "kongManager" && (c.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), c.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4320
- const g = c, d = (x) => ({
4321
+ r.config.app === "kongManager" && (m.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), m.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4322
+ const d = m, _ = (x) => ({
4321
4323
  "data-testid": x.username ?? x.custom_id ?? x.id
4322
- }), _ = A(() => {
4324
+ }), v = A(() => {
4323
4325
  var W, ae, he, Ie;
4324
4326
  let x = `${r.config.apiBaseUrl}${Me.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4325
4327
  return r.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((W = r.config) == null ? void 0 : W.controlPlaneId) || "").replace(/{consumerId}/gi, ((ae = r.config) == null ? void 0 : ae.consumerId) || "") : r.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), x;
4326
- }), v = E(""), S = A(() => {
4328
+ }), S = E(""), y = A(() => {
4327
4329
  const x = r.config.app === "konnect" || r.config.isExactMatch;
4328
4330
  return x ? {
4329
4331
  isExactMatch: x,
4330
4332
  fields: {
4331
- username: c.name,
4333
+ username: m.name,
4332
4334
  id: { label: i("consumer_groups.list.table_headers.id") }
4333
4335
  },
4334
4336
  placeholder: i("consumer_groups.search.placeholder")
4335
4337
  } : {
4336
4338
  isExactMatch: x,
4337
4339
  fields: {
4338
- name: c.name
4340
+ name: m.name
4339
4341
  },
4340
4342
  schema: r.config.filterSchema
4341
4343
  };
4342
- }), y = A(() => u.value ? "consumer_groups" : void 0), { fetcher: b, fetcherState: O } = pl(r.config, _.value, y.value), I = () => {
4343
- v.value = "";
4344
- }, N = () => {
4344
+ }), { fetcher: b, fetcherState: O } = pl(r.config, v.value), I = () => {
4345
+ S.value = "";
4346
+ }, K = () => {
4345
4347
  l.value++;
4346
4348
  }, z = E(null), ie = (x, W) => {
4347
4349
  const ae = x.id;
@@ -4380,7 +4382,7 @@ const os = {
4380
4382
  }), F = (x) => ({
4381
4383
  label: i("consumer_groups.actions.edit"),
4382
4384
  to: r.config.getEditRoute(x)
4383
- }), w = E(void 0), j = E(!1), M = E(!1), L = E(""), Y = cl(r.config, _.value), ee = (x) => {
4385
+ }), w = E(void 0), j = E(!1), M = E(!1), L = E(""), Y = cl(r.config, v.value), ee = (x) => {
4384
4386
  w.value = x, j.value = !0;
4385
4387
  }, te = () => {
4386
4388
  j.value = !1;
@@ -4427,7 +4429,7 @@ const os = {
4427
4429
  }, Ft = E(!0);
4428
4430
  Ae(O, (x) => {
4429
4431
  var W, ae, he, Ie;
4430
- if (Array.isArray((W = x == null ? void 0 : x.response) == null ? void 0 : W.data) && (Ft.value = x.response.data.length > 0), x.status === Ke.Error) {
4432
+ if (Array.isArray((W = x == null ? void 0 : x.response) == null ? void 0 : W.data) && (Ft.value = x.response.data.length > 0), x.status === Ne.Error) {
4431
4433
  z.value = {
4432
4434
  title: i("consumer_groups.errors.general")
4433
4435
  }, (Ie = (he = (ae = x.error) == null ? void 0 : ae.response) == null ? void 0 : he.data) != null && Ie.message && (z.value.message = x.error.response.data.message), t("error", x.error);
@@ -4446,33 +4448,32 @@ const os = {
4446
4448
  }), (x, W) => {
4447
4449
  const ae = U("KButton"), he = U("KBadge"), Ie = U("KTruncate"), He = U("KDropdownItem"), Lt = U("KClipboardProvider"), gr = U("KPrompt");
4448
4450
  return f(), $("div", bl, [
4449
- K(m(Ls), {
4451
+ N(g(Ls), {
4450
4452
  "cache-identifier": e.cacheIdentifier,
4451
- "disable-pagination": u.value,
4452
4453
  "disable-pagination-page-jump": "",
4453
- "disable-sorting": p.value,
4454
+ "disable-sorting": c.value,
4454
4455
  "empty-state-options": ft.value,
4455
4456
  "enable-entity-actions": "",
4456
4457
  "error-message": z.value,
4457
- fetcher: m(b),
4458
+ fetcher: g(b),
4458
4459
  "fetcher-cache-key": l.value,
4459
4460
  "pagination-type": "offset",
4460
- "preferences-storage-key": "kong-ui-entities-consumer-groups-list",
4461
- query: v.value,
4462
- "row-attributes": d,
4463
- "table-headers": m(g),
4461
+ "preferences-storage-key": p.value,
4462
+ query: S.value,
4463
+ "row-attributes": _,
4464
+ "table-headers": g(d),
4464
4465
  "use-action-outside": e.useActionOutside,
4465
4466
  onClearSearchInput: I,
4466
4467
  "onClick:row": W[3] || (W[3] = (Z) => k(Z)),
4467
4468
  onEmptyStateCtaClicked: se,
4468
- onSort: N
4469
+ onSort: K
4469
4470
  }, {
4470
4471
  "toolbar-filter": h(() => [
4471
- u.value ? J("", !0) : (f(), V(m(rl), {
4472
+ u.value ? J("", !0) : (f(), V(g(rl), {
4472
4473
  key: 0,
4473
- modelValue: v.value,
4474
- "onUpdate:modelValue": W[0] || (W[0] = (Z) => v.value = Z),
4475
- config: S.value
4474
+ modelValue: S.value,
4475
+ "onUpdate:modelValue": W[0] || (W[0] = (Z) => S.value = Z),
4476
+ config: y.value
4476
4477
  }, null, 8, ["modelValue", "config"]))
4477
4478
  ]),
4478
4479
  "toolbar-button": h(() => [
@@ -4480,11 +4481,11 @@ const os = {
4480
4481
  disabled: !e.useActionOutside,
4481
4482
  to: "#kong-ui-app-page-header-action-button"
4482
4483
  }, [
4483
- K(m(tt), {
4484
+ N(g(tt), {
4484
4485
  "auth-function": () => e.canCreate()
4485
4486
  }, {
4486
4487
  default: h(() => [
4487
- We(K(ae, {
4488
+ We(N(ae, {
4488
4489
  appearance: "primary",
4489
4490
  "data-testid": "toolbar-add-consumer-group",
4490
4491
  icon: "plus",
@@ -4492,7 +4493,7 @@ const os = {
4492
4493
  onClick: W[1] || (W[1] = () => e.config.consumerId ? Ge() : void 0)
4493
4494
  }, {
4494
4495
  default: h(() => [
4495
- Q(B(e.config.consumerId ? m(i)("consumer_groups.actions.add_to_group") : m(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4496
+ Q(B(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4496
4497
  ]),
4497
4498
  _: 1
4498
4499
  }, 8, ["to"]), [
@@ -4527,39 +4528,39 @@ const os = {
4527
4528
  }, 1024)) : (f(), $("span", Cl, "-"))
4528
4529
  ]),
4529
4530
  actions: h(({ row: Z }) => [
4530
- K(Lt, null, {
4531
+ N(Lt, null, {
4531
4532
  default: h(({ copyToClipboard: qe }) => [
4532
- K(He, {
4533
+ N(He, {
4533
4534
  "data-testid": "action-entity-copy-id",
4534
4535
  onClick: (yr) => ie(Z, qe)
4535
4536
  }, {
4536
4537
  default: h(() => [
4537
- Q(B(m(i)("consumer_groups.actions.copy_id")), 1)
4538
+ Q(B(g(i)("consumer_groups.actions.copy_id")), 1)
4538
4539
  ]),
4539
4540
  _: 2
4540
4541
  }, 1032, ["onClick"])
4541
4542
  ]),
4542
4543
  _: 2
4543
4544
  }, 1024),
4544
- K(Lt, null, {
4545
+ N(Lt, null, {
4545
4546
  default: h(({ copyToClipboard: qe }) => [
4546
- K(He, {
4547
+ N(He, {
4547
4548
  "data-testid": "action-entity-copy-json",
4548
4549
  onClick: (yr) => R(Z, qe)
4549
4550
  }, {
4550
4551
  default: h(() => [
4551
- Q(B(m(i)("consumer_groups.actions.copy_json")), 1)
4552
+ Q(B(g(i)("consumer_groups.actions.copy_json")), 1)
4552
4553
  ]),
4553
4554
  _: 2
4554
4555
  }, 1032, ["onClick"])
4555
4556
  ]),
4556
4557
  _: 2
4557
4558
  }, 1024),
4558
- K(m(tt), {
4559
+ N(g(tt), {
4559
4560
  "auth-function": () => e.canRetrieve(Z)
4560
4561
  }, {
4561
4562
  default: h(() => [
4562
- K(He, {
4563
+ N(He, {
4563
4564
  "data-testid": "action-entity-view",
4564
4565
  "has-divider": "",
4565
4566
  item: G(Z.id)
@@ -4567,29 +4568,29 @@ const os = {
4567
4568
  ]),
4568
4569
  _: 2
4569
4570
  }, 1032, ["auth-function"]),
4570
- K(m(tt), {
4571
+ N(g(tt), {
4571
4572
  "auth-function": () => e.canEdit(Z)
4572
4573
  }, {
4573
4574
  default: h(() => [
4574
- K(He, {
4575
+ N(He, {
4575
4576
  "data-testid": "action-entity-edit",
4576
4577
  item: F(Z.id)
4577
4578
  }, null, 8, ["item"])
4578
4579
  ]),
4579
4580
  _: 2
4580
4581
  }, 1032, ["auth-function"]),
4581
- K(m(tt), {
4582
+ N(g(tt), {
4582
4583
  "auth-function": () => e.canDelete(Z)
4583
4584
  }, {
4584
4585
  default: h(() => [
4585
- K(He, {
4586
+ N(He, {
4586
4587
  danger: "",
4587
4588
  "data-testid": "action-entity-delete",
4588
4589
  "has-divider": "",
4589
4590
  onClick: () => e.config.consumerId ? _e(Z) : ee(Z)
4590
4591
  }, {
4591
4592
  default: h(() => [
4592
- Q(B(e.config.consumerId ? m(i)("consumer_groups.actions.exit") : m(i)("consumer_groups.actions.delete")), 1)
4593
+ Q(B(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
4593
4594
  ]),
4594
4595
  _: 2
4595
4596
  }, 1032, ["onClick"])
@@ -4598,15 +4599,15 @@ const os = {
4598
4599
  }, 1032, ["auth-function"])
4599
4600
  ]),
4600
4601
  _: 1
4601
- }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4602
- K(m(Vs), {
4602
+ }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4603
+ N(g(Vs), {
4603
4604
  "action-pending": M.value,
4604
4605
  "data-testid": "delete-consumer-group-modal",
4605
- description: m(i)("consumer_groups.delete.description"),
4606
+ description: g(i)("consumer_groups.delete.description"),
4606
4607
  "entity-name": w.value && (w.value.name || w.value.id),
4607
- "entity-type": m(bn).ConsumerGroup,
4608
+ "entity-type": g(bn).ConsumerGroup,
4608
4609
  error: L.value,
4609
- title: m(i)("consumer_groups.delete.title"),
4610
+ title: g(i)("consumer_groups.delete.title"),
4610
4611
  visible: j.value,
4611
4612
  onCancel: te,
4612
4613
  onProceed: ne
@@ -4624,13 +4625,13 @@ const os = {
4624
4625
  key: 1,
4625
4626
  "data-testid": "exit-group-modal",
4626
4627
  "is-visible": H.value,
4627
- title: m(i)("consumer_groups.consumers.exit.title"),
4628
+ title: g(i)("consumer_groups.consumers.exit.title"),
4628
4629
  type: "danger",
4629
4630
  onCanceled: pe,
4630
4631
  onProceed: mr
4631
4632
  }, {
4632
4633
  "body-content": h(() => [
4633
- K(m(a), {
4634
+ N(g(a), {
4634
4635
  class: "exit-modal-message",
4635
4636
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
4636
4637
  tag: "p"
@@ -4648,14 +4649,14 @@ const os = {
4648
4649
  key: "0"
4649
4650
  } : void 0
4650
4651
  ]), 1032, ["keypath"]),
4651
- D("p", null, B(m(i)("consumer_groups.consumers.exit.description")), 1)
4652
+ D("p", null, B(g(i)("consumer_groups.consumers.exit.description")), 1)
4652
4653
  ]),
4653
4654
  _: 1
4654
4655
  }, 8, ["is-visible", "title"])) : J("", !0)
4655
4656
  ]);
4656
4657
  };
4657
4658
  }
4658
- }), ql = /* @__PURE__ */ Bt(kl, [["__scopeId", "data-v-12149d54"]]), wl = { class: "kong-ui-entities-consumer-group-form" }, _l = { class: "select-item-label" }, Il = {
4659
+ }), ql = /* @__PURE__ */ Bt(kl, [["__scopeId", "data-v-36f90f39"]]), wl = { class: "kong-ui-entities-consumer-group-form" }, _l = { class: "select-item-label" }, Il = {
4659
4660
  key: 0,
4660
4661
  class: "select-item-desc"
4661
4662
  }, Sl = /* @__PURE__ */ oe({
@@ -4694,13 +4695,13 @@ const os = {
4694
4695
  loading: u,
4695
4696
  error: p,
4696
4697
  loadItems: c,
4697
- results: g
4698
+ results: m
4698
4699
  } = fr(t.config, (ue = Me.form[(ne = t.config) == null ? void 0 : ne.app]) == null ? void 0 : ue.consumersList, "", {
4699
4700
  fetchedItemsKey: "data",
4700
4701
  searchKeys: ["username", "custom_id", "id"]
4701
- }), { axiosInstance: d } = Kt({
4702
+ }), { axiosInstance: d } = Nt({
4702
4703
  headers: (Ge = t.config) == null ? void 0 : Ge.requestHeaders
4703
- }), { getMessageFromError: _ } = dl(), v = A(() => g.value.map((C) => ({
4704
+ }), { getMessageFromError: _ } = dl(), v = A(() => m.value.map((C) => ({
4704
4705
  label: C.username || C.custom_id,
4705
4706
  value: C.id,
4706
4707
  selected: o.fields.consumers.includes(C.id),
@@ -4713,7 +4714,7 @@ const os = {
4713
4714
  var H, ye, _e, pe, Fe, ze;
4714
4715
  let P = `${(H = t.config) == null ? void 0 : H.apiBaseUrl}${Me.form[(ye = t.config) == null ? void 0 : ye.app][C]}`;
4715
4716
  return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((pe = t.config) == null ? void 0 : pe.controlPlaneId) || "") : ((Fe = t.config) == null ? void 0 : Fe.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (ze = t.config) != null && ze.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, q || t.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, se)), P;
4716
- }, N = () => {
4717
+ }, K = () => {
4717
4718
  var C;
4718
4719
  i.push(((C = t.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-group-list" });
4719
4720
  }, z = (C) => {
@@ -4805,72 +4806,72 @@ const os = {
4805
4806
  }), (C, q) => {
4806
4807
  const se = U("KInput"), P = U("KMultiselect");
4807
4808
  return f(), $("div", wl, [
4808
- K(m(Ms), {
4809
+ N(g(Ms), {
4809
4810
  "can-submit": b.value && O.value,
4810
4811
  config: e.config,
4811
4812
  "edit-id": e.consumerGroupId,
4812
- "error-message": o.errorMessage || m(p) || k.value,
4813
+ "error-message": o.errorMessage || g(p) || k.value,
4813
4814
  "fetch-url": S.value,
4814
4815
  "is-readonly": o.readonly,
4815
- onCancel: N,
4816
+ onCancel: K,
4816
4817
  "onFetch:error": q[3] || (q[3] = (H) => z(H)),
4817
4818
  "onFetch:success": R,
4818
4819
  onLoading: q[4] || (q[4] = (H) => ie(H)),
4819
4820
  onSubmit: te
4820
4821
  }, {
4821
4822
  default: h(() => [
4822
- K(m(fn), {
4823
- description: m(a)("consumer_groups.form.general_info.description"),
4824
- title: m(a)("consumer_groups.form.general_info.title")
4823
+ N(g(fn), {
4824
+ description: g(a)("consumer_groups.form.general_info.description"),
4825
+ title: g(a)("consumer_groups.form.general_info.title")
4825
4826
  }, {
4826
4827
  default: h(() => [
4827
- K(se, {
4828
+ N(se, {
4828
4829
  modelValue: o.fields.name,
4829
4830
  "onUpdate:modelValue": q[0] || (q[0] = (H) => o.fields.name = H),
4830
4831
  modelModifiers: { trim: !0 },
4831
4832
  autocomplete: "off",
4832
4833
  "data-testid": "consumer-group-form-name",
4833
- label: m(a)("consumer_groups.form.fields.name.label"),
4834
- placeholder: m(a)("consumer_groups.form.fields.name.placeholder"),
4834
+ label: g(a)("consumer_groups.form.fields.name.label"),
4835
+ placeholder: g(a)("consumer_groups.form.fields.name.placeholder"),
4835
4836
  required: "",
4836
4837
  type: "text"
4837
4838
  }, null, 8, ["modelValue", "label", "placeholder"]),
4838
- K(se, {
4839
+ N(se, {
4839
4840
  modelValue: o.fields.tags,
4840
4841
  "onUpdate:modelValue": q[1] || (q[1] = (H) => o.fields.tags = H),
4841
4842
  modelModifiers: { trim: !0 },
4842
4843
  autocomplete: "off",
4843
4844
  "data-testid": "consumer-group-form-tags",
4844
- help: m(a)("consumer_groups.form.fields.tags.help"),
4845
- label: m(a)("consumer_groups.form.fields.tags.label"),
4845
+ help: g(a)("consumer_groups.form.fields.tags.help"),
4846
+ label: g(a)("consumer_groups.form.fields.tags.label"),
4846
4847
  "label-attributes": {
4847
- info: m(a)("consumer_groups.form.fields.tags.tooltip"),
4848
+ info: g(a)("consumer_groups.form.fields.tags.tooltip"),
4848
4849
  tooltipAttributes: { maxWidth: "300" }
4849
4850
  },
4850
- placeholder: m(a)("consumer_groups.form.fields.tags.placeholder"),
4851
+ placeholder: g(a)("consumer_groups.form.fields.tags.placeholder"),
4851
4852
  type: "text"
4852
4853
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder"])
4853
4854
  ]),
4854
4855
  _: 1
4855
4856
  }, 8, ["description", "title"]),
4856
- K(m(fn), {
4857
- description: m(a)("consumer_groups.form.consumers.description"),
4857
+ N(g(fn), {
4858
+ description: g(a)("consumer_groups.form.consumers.description"),
4858
4859
  "has-divider": "",
4859
- title: m(a)("consumer_groups.form.consumers.title")
4860
+ title: g(a)("consumer_groups.form.consumers.title")
4860
4861
  }, {
4861
4862
  default: h(() => [
4862
- K(P, {
4863
+ N(P, {
4863
4864
  modelValue: o.fields.consumers,
4864
4865
  "onUpdate:modelValue": q[2] || (q[2] = (H) => o.fields.consumers = H),
4865
4866
  appearance: "select",
4866
4867
  autosuggest: "",
4867
4868
  "expand-selected": "",
4868
4869
  items: v.value,
4869
- label: m(a)("consumer_groups.form.fields.consumers.label"),
4870
- loading: m(u),
4871
- placeholder: m(a)("consumer_groups.form.fields.consumers.placeholder"),
4870
+ label: g(a)("consumer_groups.form.fields.consumers.label"),
4871
+ loading: g(u),
4872
+ placeholder: g(a)("consumer_groups.form.fields.consumers.placeholder"),
4872
4873
  width: "auto",
4873
- onQueryChange: m(l)
4874
+ onQueryChange: g(l)
4874
4875
  }, {
4875
4876
  "item-template": h(({ item: H }) => {
4876
4877
  var ye, _e, pe;
@@ -4927,7 +4928,7 @@ const os = {
4927
4928
  }
4928
4929
  });
4929
4930
  return (i, o) => (f(), $("div", Al, [
4930
- K(m($s), {
4931
+ N(g($s), {
4931
4932
  config: e.config,
4932
4933
  "config-card-doc": e.configCardDoc,
4933
4934
  "config-schema": a.value,