@kong-ui-public/entities-consumer-groups 3.2.11 → 3.2.12-pr.1475.99d1e6ea.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,5 +1,5 @@
1
- import { defineComponent as X, computed as w, openBlock as m, createBlock as D, resolveDynamicComponent as xe, normalizeStyle as He, withCtx as v, createElementBlock as $, toDisplayString as q, createCommentVNode as J, pushScopeId as Je, popScopeId as Ze, createElementVNode as L, ref as O, watch as $e, renderSlot as ne, unref as g, onBeforeMount as gt, resolveComponent as R, createSlots as Be, createVNode as j, createTextVNode as Y, renderList as ve, withModifiers as xt, withDirectives as Ne, vShow as je, Fragment as be, normalizeClass as Me, withKeys as wr, useSlots as jt, useCssVars as bn, inject as _r, onMounted as Ir, onUnmounted as xr, normalizeProps as Sr, guardReactiveProps as Ar, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
2
- import { useRouter as Et } from "vue-router";
1
+ import { defineComponent as X, computed as w, openBlock as m, createBlock as D, resolveDynamicComponent as Ie, normalizeStyle as He, withCtx as v, createElementBlock as $, toDisplayString as q, createCommentVNode as W, pushScopeId as Je, popScopeId as We, createElementVNode as L, ref as M, watch as $e, renderSlot as ne, unref as g, onBeforeMount as gt, resolveComponent as R, createSlots as Be, createVNode as j, createTextVNode as Z, renderList as ve, withModifiers as It, withDirectives as Ne, vShow as je, Fragment as be, normalizeClass as Ee, withKeys as wr, useSlots as jt, useCssVars as bn, inject as _r, onMounted as Sr, onUnmounted as Ir, normalizeProps as xr, guardReactiveProps as Ar, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
2
+ import { useRouter as Ot } from "vue-router";
3
3
  import { createI18n as Cn, i18nTComponent as kn } from "@kong-ui-public/i18n";
4
4
  import Gt from "axios";
5
5
  import { BadgeMethodAppearances as Nr } from "@kong/kongponents";
@@ -8,10 +8,10 @@ const Ht = "24px", jr = (e, t) => {
8
8
  for (const [r, a] of t)
9
9
  n[r] = a;
10
10
  return n;
11
- }, Er = (e) => (Je("data-v-f68c7837"), e = e(), Ze(), e), Or = ["aria-hidden"], Mr = {
11
+ }, Or = (e) => (Je("data-v-f68c7837"), e = e(), We(), e), Mr = ["aria-hidden"], Er = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
- }, Fr = /* @__PURE__ */ Er(() => /* @__PURE__ */ L("path", {
14
+ }, Fr = /* @__PURE__ */ Or(() => /* @__PURE__ */ L("path", {
15
15
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
16
16
  fill: "currentColor"
17
17
  }, null, -1)), qr = /* @__PURE__ */ X({
@@ -83,7 +83,7 @@ const Ht = "24px", jr = (e, t) => {
83
83
  lineHeight: "0",
84
84
  width: n.value
85
85
  }));
86
- return (a, i) => (m(), D(xe(e.as), {
86
+ return (a, i) => (m(), D(Ie(e.as), {
87
87
  "aria-hidden": e.decorative ? "true" : void 0,
88
88
  class: "kui-icon add-icon",
89
89
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -100,9 +100,9 @@ const Ht = "24px", jr = (e, t) => {
100
100
  width: "100%",
101
101
  xmlns: "http://www.w3.org/2000/svg"
102
102
  }, [
103
- e.title ? (m(), $("title", Mr, q(e.title), 1)) : J("", !0),
103
+ e.title ? (m(), $("title", Er, q(e.title), 1)) : W("", !0),
104
104
  Fr
105
- ], 8, Or))
105
+ ], 8, Mr))
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
@@ -209,12 +209,12 @@ function Ur() {
209
209
  }
210
210
  const yt = {
211
211
  useI18n: Ur
212
- }, Se = "/v2/control-planes/{controlPlaneId}/core-entities", Ae = "/{workspace}", Ee = {
212
+ }, xe = "/v2/control-planes/{controlPlaneId}/core-entities", Ae = "/{workspace}", Oe = {
213
213
  list: {
214
214
  konnect: {
215
- all: `${Se}/consumer_groups`,
216
- forConsumer: `${Se}/consumers/{consumerId}/consumer_groups`,
217
- oneForConsumer: `${Se}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
215
+ all: `${xe}/consumer_groups`,
216
+ forConsumer: `${xe}/consumers/{consumerId}/consumer_groups`,
217
+ oneForConsumer: `${xe}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
218
218
  },
219
219
  kongManager: {
220
220
  all: `${Ae}/consumer_groups?counter=true`,
@@ -224,12 +224,12 @@ const yt = {
224
224
  },
225
225
  form: {
226
226
  konnect: {
227
- consumersList: `${Se}/consumers`,
228
- create: `${Se}/consumer_groups`,
229
- edit: `${Se}/consumer_groups/{id}`,
230
- addConsumer: `${Se}/consumer_groups/{id}/consumers`,
231
- removeConsumer: `${Se}/consumer_groups/{id}/consumers/{consumerId}`,
232
- getConsumers: `${Se}/consumer_groups/{id}/consumers`
227
+ consumersList: `${xe}/consumers`,
228
+ create: `${xe}/consumer_groups`,
229
+ edit: `${xe}/consumer_groups/{id}`,
230
+ addConsumer: `${xe}/consumer_groups/{id}/consumers`,
231
+ removeConsumer: `${xe}/consumer_groups/{id}/consumers/{consumerId}`,
232
+ getConsumers: `${xe}/consumer_groups/{id}/consumers`
233
233
  },
234
234
  kongManager: {
235
235
  consumersList: `${Ae}/consumers`,
@@ -242,7 +242,7 @@ const yt = {
242
242
  }
243
243
  };
244
244
  var wn = /* @__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))(wn || {}), ut = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ut || {}), qe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(qe || {}), ee = /* @__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))(ee || {}), he = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(he || {});
245
- function Pr() {
245
+ function Vr() {
246
246
  return {
247
247
  getAxiosInstance: (e = {}) => {
248
248
  try {
@@ -266,7 +266,7 @@ function Pr() {
266
266
  }
267
267
  };
268
268
  }
269
- function Vr() {
269
+ function Pr() {
270
270
  return {
271
271
  debounce: (e, t) => {
272
272
  let n;
@@ -316,8 +316,8 @@ function Dr() {
316
316
  }
317
317
  };
318
318
  }
319
- function Ot(e = {}) {
320
- const { getAxiosInstance: t } = Pr();
319
+ function Mt(e = {}) {
320
+ const { getAxiosInstance: t } = Vr();
321
321
  return {
322
322
  axiosInstance: t(e)
323
323
  };
@@ -354,7 +354,7 @@ const zr = {
354
354
  noSearchResultsMessage: "Please adjust the criteria and try again.",
355
355
  noSearchResultsCtaText: "Clear"
356
356
  }
357
- }, Zr = {
357
+ }, Wr = {
358
358
  title: "Configuration",
359
359
  actions: {
360
360
  copy: "Copy JSON"
@@ -389,7 +389,7 @@ const zr = {
389
389
  entryTitle: "Entry {index}",
390
390
  structuredFormat: "Structured"
391
391
  }
392
- }, Wr = {
392
+ }, Yr = {
393
393
  filterButtonText: "Filter",
394
394
  fieldLabel: "Filter by:",
395
395
  inputPlaceholder: "Enter a value",
@@ -397,7 +397,7 @@ const zr = {
397
397
  applyButtonText: "Apply",
398
398
  clearButtonText: "Clear",
399
399
  clearAllButtonText: "Clear all filters"
400
- }, Yr = {
400
+ }, Zr = {
401
401
  errors: {
402
402
  fetch: "Could not fetch available items",
403
403
  invalid: "Please select a valid value"
@@ -423,9 +423,9 @@ const zr = {
423
423
  deleteModal: Gr,
424
424
  baseForm: Hr,
425
425
  baseTable: Jr,
426
- baseConfigCard: Zr,
427
- filter: Wr,
428
- debouncedFilter: Yr,
426
+ baseConfigCard: Wr,
427
+ filter: Yr,
428
+ debouncedFilter: Zr,
429
429
  errors: Qr,
430
430
  validationErrors: Xr,
431
431
  toggleModal: ea
@@ -444,8 +444,8 @@ function _n() {
444
444
  return !1;
445
445
  const a = /* @__PURE__ */ new Set([...n, ...r]);
446
446
  for (const i of a) {
447
- const o = n.filter((l) => l === i).length, s = r.filter((l) => l === i).length;
448
- if (o !== s)
447
+ const o = n.filter((s) => s === i).length, l = r.filter((s) => s === i).length;
448
+ if (o !== l)
449
449
  return !1;
450
450
  }
451
451
  return !0;
@@ -487,27 +487,27 @@ function na(e, t, n, r = {
487
487
  searchKeys: ["id"]
488
488
  }) {
489
489
  n || (n = "1000");
490
- const { axiosInstance: a } = Ot(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Vr(), s = o(async (h) => {
491
- await Z(h);
492
- }, 200), l = O(!1), u = O(""), p = O(""), c = O([]), y = O([]), f = O(void 0), I = g(t);
490
+ const { axiosInstance: a } = Mt(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Pr(), l = o(async (h) => {
491
+ await J(h);
492
+ }, 200), s = M(!1), u = M(""), p = M(""), c = M([]), y = M([]), f = M(void 0), I = g(t);
493
493
  let T = `${e.apiBaseUrl}${I}`;
494
494
  e.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
495
495
  const { isValidUuid: k } = _n(), U = async () => {
496
496
  try {
497
- l.value = !0;
497
+ s.value = !0;
498
498
  const { data: h } = await a.get(`${T}?size=${n}`);
499
499
  h != null && h.next || (f.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : []), y.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : [], c.value = y.value;
500
500
  } catch {
501
501
  c.value = [], u.value = i("debouncedFilter.errors.fetch");
502
502
  } finally {
503
- l.value = !1;
503
+ s.value = !1;
504
504
  }
505
- }, N = O(""), Z = async (h) => {
505
+ }, N = M(""), J = async (h) => {
506
506
  var _, d, S;
507
507
  if (N.value !== h)
508
508
  if (N.value = h || "", f.value === void 0)
509
509
  try {
510
- if (l.value = !0, u.value = "", p.value = "", e.app === "konnect") {
510
+ if (s.value = !0, u.value = "", p.value = "", e.app === "konnect") {
511
511
  let B = T + "";
512
512
  h && (B += `/${h}`);
513
513
  const { data: x } = await a.get(`${B}?size=${n}`);
@@ -515,18 +515,18 @@ function na(e, t, n, r = {
515
515
  } else if (h) {
516
516
  const B = [];
517
517
  k(h) && r.searchKeys.includes("id") ? B.push((async () => {
518
- const { data: M } = await a.get(`${T}/${h}`);
519
- return [M[r.fetchedItemsKey] ?? M];
518
+ const { data: E } = await a.get(`${T}/${h}`);
519
+ return [E[r.fetchedItemsKey] ?? E];
520
520
  })()) : B.push(
521
- ...r.searchKeys.filter((M) => M !== "id").map(async (M) => {
522
- const { data: b } = await a.get(`${T}?${M}=${h}`);
521
+ ...r.searchKeys.filter((E) => E !== "id").map(async (E) => {
522
+ const { data: b } = await a.get(`${T}?${E}=${h}`);
523
523
  return b[r.fetchedItemsKey];
524
524
  })
525
525
  );
526
526
  const x = await Promise.all(B), G = /* @__PURE__ */ new Set();
527
- c.value = [], (_ = x == null ? void 0 : x.forEach) == null || _.call(x, (M) => {
527
+ c.value = [], (_ = x == null ? void 0 : x.forEach) == null || _.call(x, (E) => {
528
528
  var b;
529
- (b = M == null ? void 0 : M.forEach) == null || b.call(M, (K) => {
529
+ (b = E == null ? void 0 : E.forEach) == null || b.call(E, (K) => {
530
530
  G.has(K.id) || (G.add(K.id), c.value.push(K));
531
531
  });
532
532
  });
@@ -535,27 +535,27 @@ function na(e, t, n, r = {
535
535
  } catch (B) {
536
536
  ((d = B == null ? void 0 : B.response) == null ? void 0 : d.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
537
537
  } finally {
538
- l.value = !1;
538
+ s.value = !1;
539
539
  }
540
540
  else
541
- l.value = !0, p.value = "", h ? (c.value = (S = f.value) == null ? void 0 : S.filter((B) => {
541
+ s.value = !0, p.value = "", h ? (c.value = (S = f.value) == null ? void 0 : S.filter((B) => {
542
542
  var x;
543
543
  let G = !1;
544
- for (const M of r.searchKeys) {
545
- const b = typeof B[M] == "string" ? (x = B[M]) == null ? void 0 : x.toLowerCase() : B[M];
544
+ for (const E of r.searchKeys) {
545
+ const b = typeof B[E] == "string" ? (x = B[E]) == null ? void 0 : x.toLowerCase() : B[E];
546
546
  b != null && b.includes(h.toLowerCase()) && (G = !0);
547
547
  }
548
548
  return G;
549
- }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, l.value = !1;
549
+ }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, s.value = !1;
550
550
  };
551
551
  return {
552
- loading: l,
552
+ loading: s,
553
553
  error: u,
554
554
  validationError: p,
555
555
  results: c,
556
556
  allRecords: f,
557
557
  loadItems: U,
558
- debouncedQueryChange: s
558
+ debouncedQueryChange: l
559
559
  };
560
560
  }
561
561
  function ra(e, t) {
@@ -578,8 +578,8 @@ function aa() {
578
578
  return t.response.data.detail;
579
579
  if ((a = t.response.data.details) != null && a.length)
580
580
  return t.response.data.details.map((o) => {
581
- let s = e("errors.unexpected");
582
- return o.messages && typeof o.messages == "object" && o.messages.length && (s = o.messages.join(", ")), o.field ? `${o.field} - ${s}` : s;
581
+ let l = e("errors.unexpected");
582
+ return o.messages && typeof o.messages == "object" && o.messages.length && (l = o.messages.join(", ")), o.field ? `${o.field} - ${l}` : l;
583
583
  }).join("; ");
584
584
  if (t.response.data.message) {
585
585
  const { message: o } = t.response.data;
@@ -605,34 +605,34 @@ function oa(e) {
605
605
  return console.warn("Failed to build valid URL:", r), "";
606
606
  }
607
607
  }
608
- function In(e, t) {
609
- const n = O(g(e)), r = O(g(t)), a = w(
608
+ function Sn(e, t) {
609
+ const n = M(g(e)), r = M(g(t)), a = w(
610
610
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
611
611
  ), i = w(
612
612
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
613
613
  );
614
614
  return (o) => {
615
- const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: y } = o;
615
+ const { page: l, pageSize: s, offset: u, sortColumnKey: p, sortColumnOrder: c, query: y } = o;
616
616
  try {
617
617
  let f = new URL(i.value.href);
618
618
  return a.value && y ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${y}/`) : new URL(`${f.href}?filter[name][contains]=${y}`)) : (a.value || new URLSearchParams(y).forEach((I, T) => {
619
619
  f.searchParams.append(T, I);
620
- }), p && f.searchParams.append("sort_by", p), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), u && s !== 1 && f.searchParams.append("offset", String(u)), f.href;
620
+ }), p && f.searchParams.append("sort_by", p), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), u && l !== 1 && f.searchParams.append("offset", String(u)), f.href;
621
621
  } catch (f) {
622
622
  return console.error("RouteList(fetcher)", f), r.value;
623
623
  }
624
624
  };
625
625
  }
626
626
  function ia(e, t, n = "data") {
627
- const r = g(t), { axiosInstance: a } = Ot(e.axiosRequestConfig), i = In(e, r), o = O({
627
+ const r = g(t), { axiosInstance: a } = Mt(e.axiosRequestConfig), i = Sn(e, r), o = M({
628
628
  status: qe.Idle
629
629
  });
630
- return { fetcher: async (s) => {
631
- var l;
630
+ return { fetcher: async (l) => {
631
+ var s;
632
632
  try {
633
633
  o.value = { status: qe.Loading };
634
- let u = i(s);
635
- u.includes("filter[name]") && (u = `${u}&page[size]=${s.pageSize}&page[number]=${s.page}`);
634
+ let u = i(l);
635
+ u.includes("filter[name]") && (u = `${u}&page[size]=${l.pageSize}&page[number]=${l.page}`);
636
636
  const p = await a.get(u);
637
637
  if (p.status >= 400)
638
638
  throw p;
@@ -657,7 +657,7 @@ function ia(e, t, n = "data") {
657
657
  data: [],
658
658
  total: 0
659
659
  };
660
- return s.query && (((l = u.response) == null ? void 0 : l.status) === 404 || u.status === 404) ? (o.value = {
660
+ return l.query && (((s = u.response) == null ? void 0 : s.status) === 404 || u.status === 404) ? (o.value = {
661
661
  status: qe.NoResults,
662
662
  response: p,
663
663
  error: u.response ? u : { response: u }
@@ -669,29 +669,29 @@ function ia(e, t, n = "data") {
669
669
  }
670
670
  }, fetcherState: o };
671
671
  }
672
- function sa() {
672
+ function la() {
673
673
  const e = (n, r = "_") => n ? n.split(r).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
674
674
  return {
675
675
  capitalize: (n) => n ? n.replace(t, (r) => r.toUpperCase()) : "",
676
676
  convertKeyToTitle: e
677
677
  };
678
678
  }
679
- const xn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Jt = (e) => {
679
+ const In = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Jt = (e) => {
680
680
  if (typeof e != "string")
681
681
  throw new TypeError("Invalid argument expected string");
682
- const t = e.match(xn);
682
+ const t = e.match(In);
683
683
  if (!t)
684
684
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
685
685
  return t.shift(), t;
686
- }, Zt = (e) => e === "*" || e === "x" || e === "X", Wt = (e) => {
686
+ }, Wt = (e) => e === "*" || e === "x" || e === "X", Yt = (e) => {
687
687
  const t = parseInt(e, 10);
688
688
  return isNaN(t) ? e : t;
689
- }, la = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], ua = (e, t) => {
690
- if (Zt(e) || Zt(t))
689
+ }, sa = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], ua = (e, t) => {
690
+ if (Wt(e) || Wt(t))
691
691
  return 0;
692
- const [n, r] = la(Wt(e), Wt(t));
692
+ const [n, r] = sa(Yt(e), Yt(t));
693
693
  return n > r ? 1 : n < r ? -1 : 0;
694
- }, Yt = (e, t) => {
694
+ }, Zt = (e, t) => {
695
695
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
696
696
  const r = ua(e[n] || "0", t[n] || "0");
697
697
  if (r !== 0)
@@ -699,25 +699,25 @@ const xn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
699
699
  }
700
700
  return 0;
701
701
  }, ca = (e, t) => {
702
- const n = Jt(e), r = Jt(t), a = n.pop(), i = r.pop(), o = Yt(n, r);
703
- return o !== 0 ? o : a && i ? Yt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
702
+ const n = Jt(e), r = Jt(t), a = n.pop(), i = r.pop(), o = Zt(n, r);
703
+ return o !== 0 ? o : a && i ? Zt(a.split("."), i.split(".")) : a || i ? a ? -1 : 1 : 0;
704
704
  }, Qt = (e, t, n) => {
705
705
  da(n);
706
706
  const r = ca(e, t);
707
- return Sn[n].includes(r);
708
- }, Sn = {
707
+ return xn[n].includes(r);
708
+ }, xn = {
709
709
  ">": [1],
710
710
  ">=": [0, 1],
711
711
  "=": [0],
712
712
  "<=": [-1, 0],
713
713
  "<": [-1],
714
714
  "!=": [-1, 1]
715
- }, Xt = Object.keys(Sn), da = (e) => {
715
+ }, Xt = Object.keys(xn), da = (e) => {
716
716
  if (typeof e != "string")
717
717
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
718
718
  if (Xt.indexOf(e) === -1)
719
719
  throw new Error(`Invalid operator, expected one of ${Xt.join("|")}`);
720
- }, pa = (e) => typeof e == "string" && /^[v\d]/.test(e) && xn.test(e);
720
+ }, pa = (e) => typeof e == "string" && /^[v\d]/.test(e) && In.test(e);
721
721
  function fa(e) {
722
722
  const { gatewayInfo: t, supportedRange: n } = e;
723
723
  if (!t)
@@ -728,11 +728,11 @@ function fa(e) {
728
728
  const i = n[r];
729
729
  if (!i)
730
730
  return !1;
731
- const [o, s] = i;
732
- return !(o && Qt(a, o, "<") || s && Qt(a, s, ">"));
731
+ const [o, l] = i;
732
+ return !(o && Qt(a, o, "<") || l && Qt(a, l, ">"));
733
733
  }
734
734
  function ma(e) {
735
- const t = O(0), n = O(0), r = O(!1);
735
+ const t = M(0), n = M(0), r = M(!1);
736
736
  return $e(e, (a) => {
737
737
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
738
738
  }), {
@@ -745,16 +745,16 @@ function ga() {
745
745
  utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
746
746
  };
747
747
  }
748
- const se = {
749
- useAxios: Ot,
748
+ const le = {
749
+ useAxios: Mt,
750
750
  useDebouncedFilter: na,
751
751
  useDeleteUrlBuilder: ra,
752
752
  useErrors: aa,
753
753
  useExternalLinkCreator: oa,
754
754
  useFetcher: ia,
755
- useFetchUrlBuilder: In,
755
+ useFetchUrlBuilder: Sn,
756
756
  useHelpers: _n,
757
- useStringHelpers: sa,
757
+ useStringHelpers: la,
758
758
  useI18n: ht,
759
759
  useGatewayFeatureSupported: fa,
760
760
  useTruncationDetector: ma,
@@ -779,20 +779,20 @@ const se = {
779
779
  }
780
780
  },
781
781
  setup(e) {
782
- const t = e, { i18n: { t: n } } = se.useI18n(), { convertKeyToTitle: r } = se.useStringHelpers(), a = w(() => t.item.key ?? "json-array-item"), i = w(() => t.item.value ?? t.item), o = w(() => {
783
- const l = JSON.parse(JSON.stringify(i.value));
784
- return t.isArrayItem && delete l.name, l;
785
- }), s = w(() => {
786
- var l;
787
- return t.isArrayItem ? (l = i.value) != null && l.name ? r(i.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
782
+ const t = e, { i18n: { t: n } } = le.useI18n(), { convertKeyToTitle: r } = le.useStringHelpers(), a = w(() => t.item.key ?? "json-array-item"), i = w(() => t.item.value ?? t.item), o = w(() => {
783
+ const s = JSON.parse(JSON.stringify(i.value));
784
+ return t.isArrayItem && delete s.name, s;
785
+ }), l = w(() => {
786
+ var s;
787
+ return t.isArrayItem ? (s = i.value) != null && s.name ? r(i.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
788
788
  });
789
- return (l, u) => (m(), D(xe(e.isArrayItem ? "fieldset" : "div"), {
790
- class: Me(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
789
+ return (s, u) => (m(), D(Ie(e.isArrayItem ? "fieldset" : "div"), {
790
+ class: Ee(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
791
791
  }, {
792
792
  default: v(() => [
793
793
  e.isArrayItem ? (m(), $("legend", ya, [
794
- L("b", null, q(s.value), 1)
795
- ])) : J("", !0),
794
+ L("b", null, q(l.value), 1)
795
+ ])) : W("", !0),
796
796
  (m(!0), $(be, null, ve(Object.keys(o.value), (p, c) => (m(), D($n, {
797
797
  key: `${a.value}-property-${c}`,
798
798
  item: {
@@ -820,7 +820,7 @@ const se = {
820
820
  },
821
821
  emits: ["navigation-click"],
822
822
  setup(e) {
823
- const { i18n: { t } } = se.useI18n();
823
+ const { i18n: { t } } = le.useI18n();
824
824
  return (n, r) => {
825
825
  const a = R("KButton");
826
826
  return m(), $("div", null, [
@@ -830,7 +830,7 @@ const se = {
830
830
  onClick: r[0] || (r[0] = (i) => n.$emit("navigation-click", e.item))
831
831
  }, {
832
832
  default: v(() => [
833
- Y(q(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
833
+ Z(q(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
834
834
  ]),
835
835
  _: 1
836
836
  })
@@ -846,20 +846,20 @@ const se = {
846
846
  }
847
847
  },
848
848
  setup(e) {
849
- const { i18n: { t } } = se.useI18n();
849
+ const { i18n: { t } } = le.useI18n();
850
850
  return (n, r) => {
851
851
  const a = R("KBadge");
852
852
  return m(), D(a, {
853
853
  appearance: e.status ? "success" : "neutral"
854
854
  }, {
855
855
  default: v(() => [
856
- Y(q(e.status ? g(t)("baseConfigCard.statusBadge.enabledLabel") : g(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
856
+ Z(q(e.status ? g(t)("baseConfigCard.statusBadge.enabledLabel") : g(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
857
857
  ]),
858
858
  _: 1
859
859
  }, 8, ["appearance"]);
860
860
  };
861
861
  }
862
- }), ka = "#0044f4", wa = "#e0e4ea", _a = "#afb7c5", Ia = "1px", xa = "20px", Sa = { class: "config-card-details-row" }, Aa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], Na = ["data-testid"], ja = { key: 1 }, Ea = ["data-testid"], Oa = ["data-testid"], Ma = ["data-testid"], Fa = ["data-testid"], qa = {
862
+ }), ka = "#0044f4", wa = "#e0e4ea", _a = "#afb7c5", Sa = "1px", Ia = "20px", xa = { class: "config-card-details-row" }, Aa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], Na = ["data-testid"], ja = { key: 1 }, Oa = ["data-testid"], Ma = ["data-testid"], Ea = ["data-testid"], Fa = ["data-testid"], qa = {
863
863
  name: "ConfigCardItem",
864
864
  components: { JsonCardItem: An, StatusBadge: Ca, InternalLinkItem: ba }
865
865
  }, Ka = /* @__PURE__ */ X({
@@ -883,12 +883,12 @@ const se = {
883
883
  emits: ["navigation-click"],
884
884
  setup(e, { emit: t }) {
885
885
  bn((I) => ({
886
- dc1d91a8: p.value ? "none" : `solid ${g(Ia)} ${g(wa)}`,
887
- "59ccec5f": u.value && s.value ? "block" : "flex",
888
- "29318fbe": u.value && s.value ? "100%" : n.slim ? "50%" : "25%",
889
- "292d0408": u.value && s.value ? "100%" : n.slim ? "50%" : "75%"
886
+ dc1d91a8: p.value ? "none" : `solid ${g(Sa)} ${g(wa)}`,
887
+ "59ccec5f": u.value && l.value ? "block" : "flex",
888
+ "29318fbe": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
889
+ "292d0408": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
890
890
  }));
891
- const n = e, r = t, a = jt(), { i18n: { t: i, formatUnixTimeStamp: o } } = se.useI18n(), s = w(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), l = w(() => !!(n.item.tooltip || a["label-tooltip"])), u = w(() => n.item.type === ee.Json || n.item.type === ee.JsonArray), p = w(() => n.item.type === ee.JsonArray), c = w(() => {
891
+ const n = e, r = t, a = jt(), { i18n: { t: i, formatUnixTimeStamp: o } } = le.useI18n(), l = w(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = w(() => !!(n.item.tooltip || a["label-tooltip"])), u = w(() => n.item.type === ee.Json || n.item.type === ee.JsonArray), p = w(() => n.item.type === ee.JsonArray), c = w(() => {
892
892
  switch (n.item.type) {
893
893
  case ee.ID:
894
894
  return {
@@ -998,10 +998,10 @@ const se = {
998
998
  text: n.item.value
999
999
  };
1000
1000
  }
1001
- }), y = O(), { isTruncated: f } = se.useTruncationDetector(y);
1001
+ }), y = M(), { isTruncated: f } = le.useTruncationDetector(y);
1002
1002
  return (I, T) => {
1003
- const k = R("KLabel"), U = R("KBadge"), N = R("KCopy"), Z = R("KTooltip");
1004
- return m(), $("div", Sa, [
1003
+ const k = R("KLabel"), U = R("KBadge"), N = R("KCopy"), J = R("KTooltip");
1004
+ return m(), $("div", xa, [
1005
1005
  L("div", {
1006
1006
  class: "config-card-details-label",
1007
1007
  "data-testid": `${e.item.key}-label`
@@ -1009,18 +1009,18 @@ const se = {
1009
1009
  ne(I.$slots, "label", { item: e.item }, () => [
1010
1010
  j(k, { "tooltip-attributes": { maxWidth: "500px" } }, Be({
1011
1011
  default: v(() => [
1012
- Y(q(e.item.label) + " ", 1)
1012
+ Z(q(e.item.label) + " ", 1)
1013
1013
  ]),
1014
1014
  _: 2
1015
1015
  }, [
1016
- l.value ? {
1016
+ s.value ? {
1017
1017
  name: "tooltip",
1018
1018
  fn: v(() => [
1019
1019
  L("div", {
1020
1020
  "data-testid": `${e.item.key}-label-tooltip`
1021
1021
  }, [
1022
1022
  ne(I.$slots, "label-tooltip", {}, () => [
1023
- Y(q(e.item.tooltip), 1)
1023
+ Z(q(e.item.tooltip), 1)
1024
1024
  ], !0)
1025
1025
  ], 8, $a)
1026
1026
  ]),
@@ -1036,8 +1036,8 @@ const se = {
1036
1036
  ne(I.$slots, e.item.key, {
1037
1037
  rowValue: e.item.value
1038
1038
  }, () => [
1039
- s.value ? (m(), $("div", ja, [
1040
- (m(), D(xe(c.value.tag), Sr(Ar(c.value.attrs)), {
1039
+ l.value ? (m(), $("div", ja, [
1040
+ (m(), D(Ie(c.value.tag), xr(Ar(c.value.attrs)), {
1041
1041
  default: v(() => [
1042
1042
  c.value.additionalComponent === "KBadge" ? (m(), $("div", {
1043
1043
  key: 0,
@@ -1051,11 +1051,11 @@ const se = {
1051
1051
  "truncation-tooltip": ""
1052
1052
  }, {
1053
1053
  default: v(() => [
1054
- Y(q(h), 1)
1054
+ Z(q(h), 1)
1055
1055
  ]),
1056
1056
  _: 2
1057
1057
  }, 1032, ["data-testid", "tooltip"]))), 128))
1058
- ], 8, Ea)) : J("", !0),
1058
+ ], 8, Oa)) : W("", !0),
1059
1059
  c.value.additionalComponent === "KCopy" ? (m(), $("div", {
1060
1060
  key: 1,
1061
1061
  class: "copy-uuid-array",
@@ -1066,7 +1066,7 @@ const se = {
1066
1066
  "data-testid": `${e.item.key}-copy-uuid-${_}`,
1067
1067
  text: h
1068
1068
  }), null, 16, ["data-testid", "text"]))), 128))
1069
- ], 8, Oa)) : c.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1069
+ ], 8, Ma)) : c.value.additionalComponent === "KMethodBadge" ? (m(), $("div", {
1070
1070
  key: 2,
1071
1071
  class: "method-badge-array",
1072
1072
  "data-testid": `${e.item.key}-badge-methods`
@@ -1078,11 +1078,11 @@ const se = {
1078
1078
  "data-testid": `${e.item.key}-badge-method-${_}`
1079
1079
  }, {
1080
1080
  default: v(() => [
1081
- Y(q(h), 1)
1081
+ Z(q(h), 1)
1082
1082
  ]),
1083
1083
  _: 2
1084
1084
  }, 1032, ["appearance", "data-testid"]))), 128))
1085
- ], 8, Ma)) : J("", !0),
1085
+ ], 8, Ea)) : W("", !0),
1086
1086
  c.value.additionalComponent === "JsonCardItem" ? (m(), $("div", {
1087
1087
  key: 3,
1088
1088
  "data-testid": `${n.item.key}-json-array-content`
@@ -1093,7 +1093,7 @@ const se = {
1093
1093
  "is-array-item": "",
1094
1094
  item: h
1095
1095
  }, null, 8, ["index", "item"]))), 128))
1096
- ], 8, Fa)) : (m(), D(Z, {
1096
+ ], 8, Fa)) : (m(), D(J, {
1097
1097
  key: 4,
1098
1098
  text: g(f) ? e.item.value : ""
1099
1099
  }, {
@@ -1101,7 +1101,7 @@ const se = {
1101
1101
  L("span", {
1102
1102
  ref_key: "textContent",
1103
1103
  ref: y,
1104
- class: Me(["attrs-data-text", { truncated: e.truncated }])
1104
+ class: Ee(["attrs-data-text", { truncated: e.truncated }])
1105
1105
  }, q(c.value.text), 3)
1106
1106
  ]),
1107
1107
  _: 1
@@ -1160,33 +1160,33 @@ const se = {
1160
1160
  return i.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? i[i.length - 1] : i[i.length - 2]).length;
1161
1161
  });
1162
1162
  return (a, i) => {
1163
- const o = R("KBadge"), s = R("KCodeBlock");
1163
+ const o = R("KBadge"), l = R("KCodeBlock");
1164
1164
  return m(), $("div", Ba, [
1165
1165
  t.fetcherUrl ? (m(), $("div", La, [
1166
1166
  j(o, {
1167
1167
  appearance: t.requestMethod
1168
1168
  }, {
1169
1169
  default: v(() => [
1170
- Y(q(t.requestMethod), 1)
1170
+ Z(q(t.requestMethod), 1)
1171
1171
  ]),
1172
1172
  _: 1
1173
1173
  }, 8, ["appearance"]),
1174
- j(s, {
1174
+ j(l, {
1175
1175
  id: "json-endpoint-codeblock",
1176
1176
  code: t.fetcherUrl,
1177
1177
  language: "json",
1178
1178
  "single-line": "",
1179
1179
  theme: "dark"
1180
1180
  }, null, 8, ["code"])
1181
- ])) : J("", !0),
1182
- t.jsonRecord ? (m(), D(s, {
1181
+ ])) : W("", !0),
1182
+ t.jsonRecord ? (m(), D(l, {
1183
1183
  key: 1,
1184
1184
  id: "json-codeblock",
1185
- class: Me({ "json-content": t.fetcherUrl }),
1185
+ class: Ee({ "json-content": t.fetcherUrl }),
1186
1186
  code: JSON.stringify(n.value, null, 2),
1187
1187
  language: "json",
1188
1188
  theme: "dark"
1189
- }, null, 8, ["class", "code"])) : J("", !0)
1189
+ }, null, 8, ["class", "code"])) : W("", !0)
1190
1190
  ]);
1191
1191
  };
1192
1192
  }
@@ -1198,10 +1198,10 @@ function Nn(e) {
1198
1198
  function Ua(e) {
1199
1199
  return typeof e == "object" && e !== null;
1200
1200
  }
1201
- function Pa(e) {
1201
+ function Va(e) {
1202
1202
  return Array.isArray(e) ? e : Nn(e) ? [] : [e];
1203
1203
  }
1204
- function Va(e, t) {
1204
+ function Pa(e, t) {
1205
1205
  var n, r, a, i;
1206
1206
  if (t)
1207
1207
  for (i = Object.keys(t), n = 0, r = i.length; n < r; n += 1)
@@ -1217,13 +1217,13 @@ function Ra(e, t) {
1217
1217
  function Da(e) {
1218
1218
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1219
1219
  }
1220
- var za = Nn, Ga = Ua, Ha = Pa, Ja = Ra, Za = Da, Wa = Va, ie = {
1220
+ var za = Nn, Ga = Ua, Ha = Va, Ja = Ra, Wa = Da, Ya = Pa, ie = {
1221
1221
  isNothing: za,
1222
1222
  isObject: Ga,
1223
1223
  toArray: Ha,
1224
1224
  repeat: Ja,
1225
- isNegativeZero: Za,
1226
- extend: Wa
1225
+ isNegativeZero: Wa,
1226
+ extend: Ya
1227
1227
  };
1228
1228
  function jn(e, t) {
1229
1229
  var n = "", r = e.reason || "(unknown reason)";
@@ -1241,8 +1241,8 @@ tt.prototype.toString = function(e) {
1241
1241
  };
1242
1242
  var fe = tt;
1243
1243
  function wt(e, t, n, r, a) {
1244
- var i = "", o = "", s = Math.floor(a / 2) - 1;
1245
- return r - t > s && (i = " ... ", t = r - s + i.length), n - r > s && (o = " ...", n = r + s - o.length), {
1244
+ var i = "", o = "", l = Math.floor(a / 2) - 1;
1245
+ return r - t > l && (i = " ... ", t = r - l + i.length), n - r > l && (o = " ...", n = r + l - o.length), {
1246
1246
  str: i + e.slice(t, n).replace(/\t/g, "→") + o,
1247
1247
  pos: r - t + i.length
1248
1248
  // relative position
@@ -1251,37 +1251,37 @@ function wt(e, t, n, r, a) {
1251
1251
  function _t(e, t) {
1252
1252
  return ie.repeat(" ", t - e.length) + e;
1253
1253
  }
1254
- function Ya(e, t) {
1254
+ function Za(e, t) {
1255
1255
  if (t = Object.create(t || null), !e.buffer)
1256
1256
  return null;
1257
1257
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1258
1258
  for (var n = /\r?\n|\r|\0/g, r = [0], a = [], i, o = -1; i = n.exec(e.buffer); )
1259
1259
  a.push(i.index), r.push(i.index + i[0].length), e.position <= i.index && o < 0 && (o = r.length - 2);
1260
1260
  o < 0 && (o = r.length - 1);
1261
- var s = "", l, u, p = Math.min(e.line + t.linesAfter, a.length).toString().length, c = t.maxLength - (t.indent + p + 3);
1262
- for (l = 1; l <= t.linesBefore && !(o - l < 0); l++)
1261
+ var l = "", s, u, p = Math.min(e.line + t.linesAfter, a.length).toString().length, c = t.maxLength - (t.indent + p + 3);
1262
+ for (s = 1; s <= t.linesBefore && !(o - s < 0); s++)
1263
1263
  u = wt(
1264
1264
  e.buffer,
1265
- r[o - l],
1266
- a[o - l],
1267
- e.position - (r[o] - r[o - l]),
1265
+ r[o - s],
1266
+ a[o - s],
1267
+ e.position - (r[o] - r[o - s]),
1268
1268
  c
1269
- ), s = ie.repeat(" ", t.indent) + _t((e.line - l + 1).toString(), p) + " | " + u.str + `
1270
- ` + s;
1271
- for (u = wt(e.buffer, r[o], a[o], e.position, c), s += ie.repeat(" ", t.indent) + _t((e.line + 1).toString(), p) + " | " + u.str + `
1272
- `, s += ie.repeat("-", t.indent + p + 3 + u.pos) + `^
1273
- `, l = 1; l <= t.linesAfter && !(o + l >= a.length); l++)
1269
+ ), l = ie.repeat(" ", t.indent) + _t((e.line - s + 1).toString(), p) + " | " + u.str + `
1270
+ ` + l;
1271
+ for (u = wt(e.buffer, r[o], a[o], e.position, c), l += ie.repeat(" ", t.indent) + _t((e.line + 1).toString(), p) + " | " + u.str + `
1272
+ `, l += ie.repeat("-", t.indent + p + 3 + u.pos) + `^
1273
+ `, s = 1; s <= t.linesAfter && !(o + s >= a.length); s++)
1274
1274
  u = wt(
1275
1275
  e.buffer,
1276
- r[o + l],
1277
- a[o + l],
1278
- e.position - (r[o] - r[o + l]),
1276
+ r[o + s],
1277
+ a[o + s],
1278
+ e.position - (r[o] - r[o + s]),
1279
1279
  c
1280
- ), s += ie.repeat(" ", t.indent) + _t((e.line + l + 1).toString(), p) + " | " + u.str + `
1280
+ ), l += ie.repeat(" ", t.indent) + _t((e.line + s + 1).toString(), p) + " | " + u.str + `
1281
1281
  `;
1282
- return s.replace(/\n$/, "");
1282
+ return l.replace(/\n$/, "");
1283
1283
  }
1284
- var Qa = Ya, Xa = [
1284
+ var Qa = Za, Xa = [
1285
1285
  "kind",
1286
1286
  "multi",
1287
1287
  "resolve",
@@ -1346,10 +1346,10 @@ function ro() {
1346
1346
  arguments[t].forEach(r);
1347
1347
  return e;
1348
1348
  }
1349
- function St(e) {
1349
+ function xt(e) {
1350
1350
  return this.extend(e);
1351
1351
  }
1352
- St.prototype.extend = function(e) {
1352
+ xt.prototype.extend = function(e) {
1353
1353
  var t = [], n = [];
1354
1354
  if (e instanceof ce)
1355
1355
  n.push(e);
@@ -1370,15 +1370,15 @@ St.prototype.extend = function(e) {
1370
1370
  if (!(a instanceof ce))
1371
1371
  throw new fe("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1372
1372
  });
1373
- var r = Object.create(St.prototype);
1373
+ var r = Object.create(xt.prototype);
1374
1374
  return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = en(r, "implicit"), r.compiledExplicit = en(r, "explicit"), r.compiledTypeMap = ro(r.compiledImplicit, r.compiledExplicit), r;
1375
1375
  };
1376
- var En = St, On = new ce("tag:yaml.org,2002:str", {
1376
+ var On = xt, Mn = new ce("tag:yaml.org,2002:str", {
1377
1377
  kind: "scalar",
1378
1378
  construct: function(e) {
1379
1379
  return e !== null ? e : "";
1380
1380
  }
1381
- }), Mn = new ce("tag:yaml.org,2002:seq", {
1381
+ }), En = new ce("tag:yaml.org,2002:seq", {
1382
1382
  kind: "sequence",
1383
1383
  construct: function(e) {
1384
1384
  return e !== null ? e : [];
@@ -1388,10 +1388,10 @@ var En = St, On = new ce("tag:yaml.org,2002:str", {
1388
1388
  construct: function(e) {
1389
1389
  return e !== null ? e : {};
1390
1390
  }
1391
- }), qn = new En({
1391
+ }), qn = new On({
1392
1392
  explicit: [
1393
- On,
1394
1393
  Mn,
1394
+ En,
1395
1395
  Fn
1396
1396
  ]
1397
1397
  });
@@ -1431,13 +1431,13 @@ var Kn = new ce("tag:yaml.org,2002:null", {
1431
1431
  },
1432
1432
  defaultStyle: "lowercase"
1433
1433
  });
1434
- function so(e) {
1434
+ function lo(e) {
1435
1435
  if (e === null)
1436
1436
  return !1;
1437
1437
  var t = e.length;
1438
1438
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1439
1439
  }
1440
- function lo(e) {
1440
+ function so(e) {
1441
1441
  return e === "true" || e === "True" || e === "TRUE";
1442
1442
  }
1443
1443
  function uo(e) {
@@ -1445,8 +1445,8 @@ function uo(e) {
1445
1445
  }
1446
1446
  var Bn = new ce("tag:yaml.org,2002:bool", {
1447
1447
  kind: "scalar",
1448
- resolve: so,
1449
- construct: lo,
1448
+ resolve: lo,
1449
+ construct: so,
1450
1450
  predicate: uo,
1451
1451
  represent: {
1452
1452
  lowercase: function(e) {
@@ -1618,14 +1618,14 @@ var Un = new ce("tag:yaml.org,2002:float", {
1618
1618
  predicate: wo,
1619
1619
  represent: ko,
1620
1620
  defaultStyle: "lowercase"
1621
- }), Pn = qn.extend({
1621
+ }), Vn = qn.extend({
1622
1622
  implicit: [
1623
1623
  Kn,
1624
1624
  Bn,
1625
1625
  Ln,
1626
1626
  Un
1627
1627
  ]
1628
- }), Vn = Pn, Rn = new RegExp(
1628
+ }), Pn = Vn, Rn = new RegExp(
1629
1629
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1630
1630
  ), Dn = new RegExp(
1631
1631
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
@@ -1633,41 +1633,41 @@ var Un = new ce("tag:yaml.org,2002:float", {
1633
1633
  function _o(e) {
1634
1634
  return e === null ? !1 : Rn.exec(e) !== null || Dn.exec(e) !== null;
1635
1635
  }
1636
- function Io(e) {
1637
- var t, n, r, a, i, o, s, l = 0, u = null, p, c, y;
1636
+ function So(e) {
1637
+ var t, n, r, a, i, o, l, s = 0, u = null, p, c, y;
1638
1638
  if (t = Rn.exec(e), t === null && (t = Dn.exec(e)), t === null)
1639
1639
  throw new Error("Date resolve error");
1640
1640
  if (n = +t[1], r = +t[2] - 1, a = +t[3], !t[4])
1641
1641
  return new Date(Date.UTC(n, r, a));
1642
- if (i = +t[4], o = +t[5], s = +t[6], t[7]) {
1643
- for (l = t[7].slice(0, 3); l.length < 3; )
1644
- l += "0";
1645
- l = +l;
1642
+ if (i = +t[4], o = +t[5], l = +t[6], t[7]) {
1643
+ for (s = t[7].slice(0, 3); s.length < 3; )
1644
+ s += "0";
1645
+ s = +s;
1646
1646
  }
1647
- return t[9] && (p = +t[10], c = +(t[11] || 0), u = (p * 60 + c) * 6e4, t[9] === "-" && (u = -u)), y = new Date(Date.UTC(n, r, a, i, o, s, l)), u && y.setTime(y.getTime() - u), y;
1647
+ return t[9] && (p = +t[10], c = +(t[11] || 0), u = (p * 60 + c) * 6e4, t[9] === "-" && (u = -u)), y = new Date(Date.UTC(n, r, a, i, o, l, s)), u && y.setTime(y.getTime() - u), y;
1648
1648
  }
1649
- function xo(e) {
1649
+ function Io(e) {
1650
1650
  return e.toISOString();
1651
1651
  }
1652
1652
  var zn = new ce("tag:yaml.org,2002:timestamp", {
1653
1653
  kind: "scalar",
1654
1654
  resolve: _o,
1655
- construct: Io,
1655
+ construct: So,
1656
1656
  instanceOf: Date,
1657
- represent: xo
1657
+ represent: Io
1658
1658
  });
1659
- function So(e) {
1659
+ function xo(e) {
1660
1660
  return e === "<<" || e === null;
1661
1661
  }
1662
1662
  var Gn = new ce("tag:yaml.org,2002:merge", {
1663
1663
  kind: "scalar",
1664
- resolve: So
1665
- }), Mt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1664
+ resolve: xo
1665
+ }), Et = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1666
1666
  \r`;
1667
1667
  function Ao(e) {
1668
1668
  if (e === null)
1669
1669
  return !1;
1670
- var t, n, r = 0, a = e.length, i = Mt;
1670
+ var t, n, r = 0, a = e.length, i = Et;
1671
1671
  for (n = 0; n < a; n++)
1672
1672
  if (t = i.indexOf(e.charAt(n)), !(t > 64)) {
1673
1673
  if (t < 0)
@@ -1677,13 +1677,13 @@ function Ao(e) {
1677
1677
  return r % 8 === 0;
1678
1678
  }
1679
1679
  function $o(e) {
1680
- var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = Mt, o = 0, s = [];
1680
+ var t, n, r = e.replace(/[\r\n=]/g, ""), a = r.length, i = Et, o = 0, l = [];
1681
1681
  for (t = 0; t < a; t++)
1682
- t % 4 === 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | i.indexOf(r.charAt(t));
1683
- return n = a % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
1682
+ t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | i.indexOf(r.charAt(t));
1683
+ return n = a % 4 * 6, n === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : n === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : n === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
1684
1684
  }
1685
1685
  function To(e) {
1686
- var t = "", n = 0, r, a, i = e.length, o = Mt;
1686
+ var t = "", n = 0, r, a, i = e.length, o = Et;
1687
1687
  for (r = 0; r < i; r++)
1688
1688
  r % 3 === 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
1689
1689
  return a = i % 3, a === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : a === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : a === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
@@ -1697,13 +1697,13 @@ var Hn = new ce("tag:yaml.org,2002:binary", {
1697
1697
  construct: $o,
1698
1698
  predicate: No,
1699
1699
  represent: To
1700
- }), jo = Object.prototype.hasOwnProperty, Eo = Object.prototype.toString;
1701
- function Oo(e) {
1700
+ }), jo = Object.prototype.hasOwnProperty, Oo = Object.prototype.toString;
1701
+ function Mo(e) {
1702
1702
  if (e === null)
1703
1703
  return !0;
1704
- var t = [], n, r, a, i, o, s = e;
1705
- for (n = 0, r = s.length; n < r; n += 1) {
1706
- if (a = s[n], o = !1, Eo.call(a) !== "[object Object]")
1704
+ var t = [], n, r, a, i, o, l = e;
1705
+ for (n = 0, r = l.length; n < r; n += 1) {
1706
+ if (a = l[n], o = !1, Oo.call(a) !== "[object Object]")
1707
1707
  return !1;
1708
1708
  for (i in a)
1709
1709
  if (jo.call(a, i))
@@ -1720,13 +1720,13 @@ function Oo(e) {
1720
1720
  }
1721
1721
  return !0;
1722
1722
  }
1723
- function Mo(e) {
1723
+ function Eo(e) {
1724
1724
  return e !== null ? e : [];
1725
1725
  }
1726
1726
  var Jn = new ce("tag:yaml.org,2002:omap", {
1727
1727
  kind: "sequence",
1728
- resolve: Oo,
1729
- construct: Mo
1728
+ resolve: Mo,
1729
+ construct: Eo
1730
1730
  }), Fo = Object.prototype.toString;
1731
1731
  function qo(e) {
1732
1732
  if (e === null)
@@ -1747,7 +1747,7 @@ function Ko(e) {
1747
1747
  r = o[t], a = Object.keys(r), i[t] = [a[0], r[a[0]]];
1748
1748
  return i;
1749
1749
  }
1750
- var Zn = new ce("tag:yaml.org,2002:pairs", {
1750
+ var Wn = new ce("tag:yaml.org,2002:pairs", {
1751
1751
  kind: "sequence",
1752
1752
  resolve: qo,
1753
1753
  construct: Ko
@@ -1764,11 +1764,11 @@ function Lo(e) {
1764
1764
  function Uo(e) {
1765
1765
  return e !== null ? e : {};
1766
1766
  }
1767
- var Wn = new ce("tag:yaml.org,2002:set", {
1767
+ var Yn = new ce("tag:yaml.org,2002:set", {
1768
1768
  kind: "mapping",
1769
1769
  resolve: Lo,
1770
1770
  construct: Uo
1771
- }), Ft = Vn.extend({
1771
+ }), Ft = Pn.extend({
1772
1772
  implicit: [
1773
1773
  zn,
1774
1774
  Gn
@@ -1776,10 +1776,10 @@ var Wn = new ce("tag:yaml.org,2002:set", {
1776
1776
  explicit: [
1777
1777
  Hn,
1778
1778
  Jn,
1779
- Zn,
1780
- Wn
1779
+ Wn,
1780
+ Yn
1781
1781
  ]
1782
- }), Fe = Object.prototype.hasOwnProperty, ct = 1, Yn = 2, Qn = 3, dt = 4, It = 1, Po = 2, tn = 3, Vo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ro = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1782
+ }), Fe = Object.prototype.hasOwnProperty, ct = 1, Zn = 2, Qn = 3, dt = 4, St = 1, Vo = 2, tn = 3, Po = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ro = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1783
1783
  function nn(e) {
1784
1784
  return Object.prototype.toString.call(e);
1785
1785
  }
@@ -1816,9 +1816,9 @@ function Jo(e) {
1816
1816
  );
1817
1817
  }
1818
1818
  var tr = new Array(256), nr = new Array(256);
1819
- for (var Ve = 0; Ve < 256; Ve++)
1820
- tr[Ve] = rn(Ve) ? 1 : 0, nr[Ve] = rn(Ve);
1821
- function Zo(e, t) {
1819
+ for (var Pe = 0; Pe < 256; Pe++)
1820
+ tr[Pe] = rn(Pe) ? 1 : 0, nr[Pe] = rn(Pe);
1821
+ function Wo(e, t) {
1822
1822
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || Ft, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1823
1823
  }
1824
1824
  function rr(e, t) {
@@ -1832,7 +1832,7 @@ function rr(e, t) {
1832
1832
  };
1833
1833
  return n.snippet = Qa(n), new fe(t, n);
1834
1834
  }
1835
- function E(e, t) {
1835
+ function O(e, t) {
1836
1836
  throw rr(e, t);
1837
1837
  }
1838
1838
  function pt(e, t) {
@@ -1841,40 +1841,40 @@ function pt(e, t) {
1841
1841
  var an = {
1842
1842
  YAML: function(e, t, n) {
1843
1843
  var r, a, i;
1844
- e.version !== null && E(e, "duplication of %YAML directive"), n.length !== 1 && E(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && E(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && E(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && pt(e, "unsupported YAML version of the document");
1844
+ e.version !== null && O(e, "duplication of %YAML directive"), n.length !== 1 && O(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && O(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && O(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && pt(e, "unsupported YAML version of the document");
1845
1845
  },
1846
1846
  TAG: function(e, t, n) {
1847
1847
  var r, a;
1848
- n.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], Xn.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Fe.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), er.test(a) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1848
+ n.length !== 2 && O(e, "TAG directive accepts exactly two arguments"), r = n[0], a = n[1], Xn.test(r) || O(e, "ill-formed tag handle (first argument) of the TAG directive"), Fe.call(e.tagMap, r) && O(e, 'there is a previously declared suffix for "' + r + '" tag handle'), er.test(a) || O(e, "ill-formed tag prefix (second argument) of the TAG directive");
1849
1849
  try {
1850
1850
  a = decodeURIComponent(a);
1851
1851
  } catch {
1852
- E(e, "tag prefix is malformed: " + a);
1852
+ O(e, "tag prefix is malformed: " + a);
1853
1853
  }
1854
1854
  e.tagMap[r] = a;
1855
1855
  }
1856
1856
  };
1857
- function Oe(e, t, n, r) {
1858
- var a, i, o, s;
1857
+ function Me(e, t, n, r) {
1858
+ var a, i, o, l;
1859
1859
  if (t < n) {
1860
- if (s = e.input.slice(t, n), r)
1861
- for (a = 0, i = s.length; a < i; a += 1)
1862
- o = s.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || E(e, "expected valid JSON character");
1860
+ if (l = e.input.slice(t, n), r)
1861
+ for (a = 0, i = l.length; a < i; a += 1)
1862
+ o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || O(e, "expected valid JSON character");
1863
1863
  else
1864
- Vo.test(s) && E(e, "the stream contains non-printable characters");
1865
- e.result += s;
1864
+ Po.test(l) && O(e, "the stream contains non-printable characters");
1865
+ e.result += l;
1866
1866
  }
1867
1867
  }
1868
1868
  function on(e, t, n, r) {
1869
- var a, i, o, s;
1870
- for (ie.isObject(n) || E(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), o = 0, s = a.length; o < s; o += 1)
1869
+ var a, i, o, l;
1870
+ for (ie.isObject(n) || O(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), o = 0, l = a.length; o < l; o += 1)
1871
1871
  i = a[o], Fe.call(t, i) || (t[i] = n[i], r[i] = !0);
1872
1872
  }
1873
- function ze(e, t, n, r, a, i, o, s, l) {
1873
+ function ze(e, t, n, r, a, i, o, l, s) {
1874
1874
  var u, p;
1875
1875
  if (Array.isArray(a))
1876
1876
  for (a = Array.prototype.slice.call(a), u = 0, p = a.length; u < p; u += 1)
1877
- Array.isArray(a[u]) && E(e, "nested arrays are not supported inside keys"), typeof a == "object" && nn(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1877
+ Array.isArray(a[u]) && O(e, "nested arrays are not supported inside keys"), typeof a == "object" && nn(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1878
1878
  if (typeof a == "object" && nn(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1879
1879
  if (Array.isArray(i))
1880
1880
  for (u = 0, p = i.length; u < p; u += 1)
@@ -1882,7 +1882,7 @@ function ze(e, t, n, r, a, i, o, s, l) {
1882
1882
  else
1883
1883
  on(e, t, i, n);
1884
1884
  else
1885
- !e.json && !Fe.call(n, a) && Fe.call(t, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1885
+ !e.json && !Fe.call(n, a) && Fe.call(t, a) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, O(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1886
1886
  configurable: !0,
1887
1887
  enumerable: !0,
1888
1888
  writable: !0,
@@ -1892,7 +1892,7 @@ function ze(e, t, n, r, a, i, o, s, l) {
1892
1892
  }
1893
1893
  function qt(e) {
1894
1894
  var t;
1895
- t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1895
+ t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : O(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1896
1896
  }
1897
1897
  function oe(e, t, n) {
1898
1898
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
@@ -1918,11 +1918,11 @@ function Kt(e, t) {
1918
1918
  t === 1 ? e.result += " " : t > 1 && (e.result += ie.repeat(`
1919
1919
  `, t - 1));
1920
1920
  }
1921
- function Wo(e, t, n) {
1922
- var r, a, i, o, s, l, u, p, c = e.kind, y = e.result, f;
1921
+ function Yo(e, t, n) {
1922
+ var r, a, i, o, l, s, u, p, c = e.kind, y = e.result, f;
1923
1923
  if (f = e.input.charCodeAt(e.position), ye(f) || De(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (a = e.input.charCodeAt(e.position + 1), ye(a) || n && De(a)))
1924
1924
  return !1;
1925
- for (e.kind = "scalar", e.result = "", i = o = e.position, s = !1; f !== 0; ) {
1925
+ for (e.kind = "scalar", e.result = "", i = o = e.position, l = !1; f !== 0; ) {
1926
1926
  if (f === 58) {
1927
1927
  if (a = e.input.charCodeAt(e.position + 1), ye(a) || n && De(a))
1928
1928
  break;
@@ -1933,73 +1933,73 @@ function Wo(e, t, n) {
1933
1933
  if (e.position === e.lineStart && vt(e) || n && De(f))
1934
1934
  break;
1935
1935
  if (_e(f))
1936
- if (l = e.line, u = e.lineStart, p = e.lineIndent, oe(e, !1, -1), e.lineIndent >= t) {
1937
- s = !0, f = e.input.charCodeAt(e.position);
1936
+ if (s = e.line, u = e.lineStart, p = e.lineIndent, oe(e, !1, -1), e.lineIndent >= t) {
1937
+ l = !0, f = e.input.charCodeAt(e.position);
1938
1938
  continue;
1939
1939
  } else {
1940
- e.position = o, e.line = l, e.lineStart = u, e.lineIndent = p;
1940
+ e.position = o, e.line = s, e.lineStart = u, e.lineIndent = p;
1941
1941
  break;
1942
1942
  }
1943
1943
  }
1944
- s && (Oe(e, i, o, !1), Kt(e, e.line - l), i = o = e.position, s = !1), Ke(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1944
+ l && (Me(e, i, o, !1), Kt(e, e.line - s), i = o = e.position, l = !1), Ke(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1945
1945
  }
1946
- return Oe(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
1946
+ return Me(e, i, o, !1), e.result ? !0 : (e.kind = c, e.result = y, !1);
1947
1947
  }
1948
- function Yo(e, t) {
1948
+ function Zo(e, t) {
1949
1949
  var n, r, a;
1950
1950
  if (n = e.input.charCodeAt(e.position), n !== 39)
1951
1951
  return !1;
1952
1952
  for (e.kind = "scalar", e.result = "", e.position++, r = a = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1953
1953
  if (n === 39)
1954
- if (Oe(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1954
+ if (Me(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1955
1955
  r = e.position, e.position++, a = e.position;
1956
1956
  else
1957
1957
  return !0;
1958
1958
  else
1959
- _e(n) ? (Oe(e, r, a, !0), Kt(e, oe(e, !1, t)), r = a = e.position) : e.position === e.lineStart && vt(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
- E(e, "unexpected end of the stream within a single quoted scalar");
1959
+ _e(n) ? (Me(e, r, a, !0), Kt(e, oe(e, !1, t)), r = a = e.position) : e.position === e.lineStart && vt(e) ? O(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
+ O(e, "unexpected end of the stream within a single quoted scalar");
1961
1961
  }
1962
1962
  function Qo(e, t) {
1963
- var n, r, a, i, o, s;
1964
- if (s = e.input.charCodeAt(e.position), s !== 34)
1963
+ var n, r, a, i, o, l;
1964
+ if (l = e.input.charCodeAt(e.position), l !== 34)
1965
1965
  return !1;
1966
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0; ) {
1967
- if (s === 34)
1968
- return Oe(e, n, e.position, !0), e.position++, !0;
1969
- if (s === 92) {
1970
- if (Oe(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), _e(s))
1966
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1967
+ if (l === 34)
1968
+ return Me(e, n, e.position, !0), e.position++, !0;
1969
+ if (l === 92) {
1970
+ if (Me(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), _e(l))
1971
1971
  oe(e, !1, t);
1972
- else if (s < 256 && tr[s])
1973
- e.result += nr[s], e.position++;
1974
- else if ((o = Go(s)) > 0) {
1972
+ else if (l < 256 && tr[l])
1973
+ e.result += nr[l], e.position++;
1974
+ else if ((o = Go(l)) > 0) {
1975
1975
  for (a = o, i = 0; a > 0; a--)
1976
- s = e.input.charCodeAt(++e.position), (o = zo(s)) >= 0 ? i = (i << 4) + o : E(e, "expected hexadecimal character");
1976
+ l = e.input.charCodeAt(++e.position), (o = zo(l)) >= 0 ? i = (i << 4) + o : O(e, "expected hexadecimal character");
1977
1977
  e.result += Jo(i), e.position++;
1978
1978
  } else
1979
- E(e, "unknown escape sequence");
1979
+ O(e, "unknown escape sequence");
1980
1980
  n = r = e.position;
1981
1981
  } else
1982
- _e(s) ? (Oe(e, n, r, !0), Kt(e, oe(e, !1, t)), n = r = e.position) : e.position === e.lineStart && vt(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1982
+ _e(l) ? (Me(e, n, r, !0), Kt(e, oe(e, !1, t)), n = r = e.position) : e.position === e.lineStart && vt(e) ? O(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1983
1983
  }
1984
- E(e, "unexpected end of the stream within a double quoted scalar");
1984
+ O(e, "unexpected end of the stream within a double quoted scalar");
1985
1985
  }
1986
1986
  function Xo(e, t) {
1987
- var n = !0, r, a, i, o = e.tag, s, l = e.anchor, u, p, c, y, f, I = /* @__PURE__ */ Object.create(null), T, k, U, N;
1987
+ var n = !0, r, a, i, o = e.tag, l, s = e.anchor, u, p, c, y, f, I = /* @__PURE__ */ Object.create(null), T, k, U, N;
1988
1988
  if (N = e.input.charCodeAt(e.position), N === 91)
1989
- p = 93, f = !1, s = [];
1989
+ p = 93, f = !1, l = [];
1990
1990
  else if (N === 123)
1991
- p = 125, f = !0, s = {};
1991
+ p = 125, f = !0, l = {};
1992
1992
  else
1993
1993
  return !1;
1994
- for (e.anchor !== null && (e.anchorMap[e.anchor] = s), N = e.input.charCodeAt(++e.position); N !== 0; ) {
1994
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), N = e.input.charCodeAt(++e.position); N !== 0; ) {
1995
1995
  if (oe(e, !0, t), N = e.input.charCodeAt(e.position), N === p)
1996
- return e.position++, e.tag = o, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1997
- n ? N === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), k = T = U = null, c = y = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ye(u) && (c = y = !0, e.position++, oe(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Ge(e, t, ct, !1, !0), k = e.tag, T = e.result, oe(e, !0, t), N = e.input.charCodeAt(e.position), (y || e.line === r) && N === 58 && (c = !0, N = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, ct, !1, !0), U = e.result), f ? ze(e, s, I, k, T, U, r, a, i) : c ? s.push(ze(e, null, I, k, T, U, r, a, i)) : s.push(T), oe(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (n = !0, N = e.input.charCodeAt(++e.position)) : n = !1;
1996
+ return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1997
+ n ? N === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), k = T = U = null, c = y = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ye(u) && (c = y = !0, e.position++, oe(e, !0, t))), r = e.line, a = e.lineStart, i = e.position, Ge(e, t, ct, !1, !0), k = e.tag, T = e.result, oe(e, !0, t), N = e.input.charCodeAt(e.position), (y || e.line === r) && N === 58 && (c = !0, N = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, ct, !1, !0), U = e.result), f ? ze(e, l, I, k, T, U, r, a, i) : c ? l.push(ze(e, null, I, k, T, U, r, a, i)) : l.push(T), oe(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (n = !0, N = e.input.charCodeAt(++e.position)) : n = !1;
1998
1998
  }
1999
- E(e, "unexpected end of the stream within a flow collection");
1999
+ O(e, "unexpected end of the stream within a flow collection");
2000
2000
  }
2001
2001
  function ei(e, t) {
2002
- var n, r, a = It, i = !1, o = !1, s = t, l = 0, u = !1, p, c;
2002
+ var n, r, a = St, i = !1, o = !1, l = t, s = 0, u = !1, p, c;
2003
2003
  if (c = e.input.charCodeAt(e.position), c === 124)
2004
2004
  r = !1;
2005
2005
  else if (c === 62)
@@ -2008,9 +2008,9 @@ function ei(e, t) {
2008
2008
  return !1;
2009
2009
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2010
2010
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2011
- It === a ? a = c === 43 ? tn : Po : E(e, "repeat of a chomping mode identifier");
2011
+ St === a ? a = c === 43 ? tn : Vo : O(e, "repeat of a chomping mode identifier");
2012
2012
  else if ((p = Ho(c)) >= 0)
2013
- p === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? E(e, "repeat of an indentation width identifier") : (s = t + p - 1, o = !0);
2013
+ p === 0 ? O(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? O(e, "repeat of an indentation width identifier") : (l = t + p - 1, o = !0);
2014
2014
  else
2015
2015
  break;
2016
2016
  if (Ke(c)) {
@@ -2023,104 +2023,104 @@ function ei(e, t) {
2023
2023
  while (!_e(c) && c !== 0);
2024
2024
  }
2025
2025
  for (; c !== 0; ) {
2026
- for (qt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
2026
+ for (qt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && c === 32; )
2027
2027
  e.lineIndent++, c = e.input.charCodeAt(++e.position);
2028
- if (!o && e.lineIndent > s && (s = e.lineIndent), _e(c)) {
2029
- l++;
2028
+ if (!o && e.lineIndent > l && (l = e.lineIndent), _e(c)) {
2029
+ s++;
2030
2030
  continue;
2031
2031
  }
2032
- if (e.lineIndent < s) {
2032
+ if (e.lineIndent < l) {
2033
2033
  a === tn ? e.result += ie.repeat(`
2034
- `, i ? 1 + l : l) : a === It && i && (e.result += `
2034
+ `, i ? 1 + s : s) : a === St && i && (e.result += `
2035
2035
  `);
2036
2036
  break;
2037
2037
  }
2038
2038
  for (r ? Ke(c) ? (u = !0, e.result += ie.repeat(`
2039
- `, i ? 1 + l : l)) : u ? (u = !1, e.result += ie.repeat(`
2040
- `, l + 1)) : l === 0 ? i && (e.result += " ") : e.result += ie.repeat(`
2041
- `, l) : e.result += ie.repeat(`
2042
- `, i ? 1 + l : l), i = !0, o = !0, l = 0, n = e.position; !_e(c) && c !== 0; )
2039
+ `, i ? 1 + s : s)) : u ? (u = !1, e.result += ie.repeat(`
2040
+ `, s + 1)) : s === 0 ? i && (e.result += " ") : e.result += ie.repeat(`
2041
+ `, s) : e.result += ie.repeat(`
2042
+ `, i ? 1 + s : s), i = !0, o = !0, s = 0, n = e.position; !_e(c) && c !== 0; )
2043
2043
  c = e.input.charCodeAt(++e.position);
2044
- Oe(e, n, e.position, !1);
2044
+ Me(e, n, e.position, !1);
2045
2045
  }
2046
2046
  return !0;
2047
2047
  }
2048
- function sn(e, t) {
2049
- var n, r = e.tag, a = e.anchor, i = [], o, s = !1, l;
2048
+ function ln(e, t) {
2049
+ var n, r = e.tag, a = e.anchor, i = [], o, l = !1, s;
2050
2050
  if (e.firstTabInLine !== -1)
2051
2051
  return !1;
2052
- for (e.anchor !== null && (e.anchorMap[e.anchor] = i), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(l !== 45 || (o = e.input.charCodeAt(e.position + 1), !ye(o)))); ) {
2053
- if (s = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= t) {
2054
- i.push(null), l = e.input.charCodeAt(e.position);
2052
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = i), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !ye(o)))); ) {
2053
+ if (l = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= t) {
2054
+ i.push(null), s = e.input.charCodeAt(e.position);
2055
2055
  continue;
2056
2056
  }
2057
- if (n = e.line, Ge(e, t, Qn, !1, !0), i.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && l !== 0)
2058
- E(e, "bad indentation of a sequence entry");
2057
+ if (n = e.line, Ge(e, t, Qn, !1, !0), i.push(e.result), oe(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
2058
+ O(e, "bad indentation of a sequence entry");
2059
2059
  else if (e.lineIndent < t)
2060
2060
  break;
2061
2061
  }
2062
- return s ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2062
+ return l ? (e.tag = r, e.anchor = a, e.kind = "sequence", e.result = i, !0) : !1;
2063
2063
  }
2064
2064
  function ti(e, t, n) {
2065
- var r, a, i, o, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, I = null, T = null, k = !1, U = !1, N;
2065
+ var r, a, i, o, l, s, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, I = null, T = null, k = !1, U = !1, N;
2066
2066
  if (e.firstTabInLine !== -1)
2067
2067
  return !1;
2068
2068
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), N = e.input.charCodeAt(e.position); N !== 0; ) {
2069
- if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (N === 63 || N === 58) && ye(r))
2070
- N === 63 ? (k && (ze(e, c, y, f, I, null, o, s, l), f = I = T = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = r;
2069
+ if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (N === 63 || N === 58) && ye(r))
2070
+ N === 63 ? (k && (ze(e, c, y, f, I, null, o, l, s), f = I = T = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : O(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = r;
2071
2071
  else {
2072
- if (o = e.line, s = e.lineStart, l = e.position, !Ge(e, n, Yn, !1, !0))
2072
+ if (o = e.line, l = e.lineStart, s = e.position, !Ge(e, n, Zn, !1, !0))
2073
2073
  break;
2074
2074
  if (e.line === i) {
2075
2075
  for (N = e.input.charCodeAt(e.position); Ke(N); )
2076
2076
  N = e.input.charCodeAt(++e.position);
2077
2077
  if (N === 58)
2078
- N = e.input.charCodeAt(++e.position), ye(N) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ze(e, c, y, f, I, null, o, s, l), f = I = T = null), U = !0, k = !1, a = !1, f = e.tag, I = e.result;
2078
+ N = e.input.charCodeAt(++e.position), ye(N) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ze(e, c, y, f, I, null, o, l, s), f = I = T = null), U = !0, k = !1, a = !1, f = e.tag, I = e.result;
2079
2079
  else if (U)
2080
- E(e, "can not read an implicit mapping pair; a colon is missed");
2080
+ O(e, "can not read an implicit mapping pair; a colon is missed");
2081
2081
  else
2082
2082
  return e.tag = u, e.anchor = p, !0;
2083
2083
  } else if (U)
2084
- E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2084
+ O(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2085
2085
  else
2086
2086
  return e.tag = u, e.anchor = p, !0;
2087
2087
  }
2088
- if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, s = e.lineStart, l = e.position), Ge(e, t, dt, !0, a) && (k ? I = e.result : T = e.result), k || (ze(e, c, y, f, I, T, o, s, l), f = I = T = null), oe(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && N !== 0)
2089
- E(e, "bad indentation of a mapping entry");
2088
+ if ((e.line === i || e.lineIndent > t) && (k && (o = e.line, l = e.lineStart, s = e.position), Ge(e, t, dt, !0, a) && (k ? I = e.result : T = e.result), k || (ze(e, c, y, f, I, T, o, l, s), f = I = T = null), oe(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && N !== 0)
2089
+ O(e, "bad indentation of a mapping entry");
2090
2090
  else if (e.lineIndent < t)
2091
2091
  break;
2092
2092
  }
2093
- return k && ze(e, c, y, f, I, null, o, s, l), U && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), U;
2093
+ return k && ze(e, c, y, f, I, null, o, l, s), U && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), U;
2094
2094
  }
2095
2095
  function ni(e) {
2096
2096
  var t, n = !1, r = !1, a, i, o;
2097
2097
  if (o = e.input.charCodeAt(e.position), o !== 33)
2098
2098
  return !1;
2099
- if (e.tag !== null && E(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2099
+ if (e.tag !== null && O(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2100
2100
  do
2101
2101
  o = e.input.charCodeAt(++e.position);
2102
2102
  while (o !== 0 && o !== 62);
2103
- e.position < e.length ? (i = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2103
+ e.position < e.length ? (i = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : O(e, "unexpected end of the stream within a verbatim tag");
2104
2104
  } else {
2105
2105
  for (; o !== 0 && !ye(o); )
2106
- o === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Xn.test(a) || E(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2107
- i = e.input.slice(t, e.position), Do.test(i) && E(e, "tag suffix cannot contain flow indicator characters");
2106
+ o === 33 && (r ? O(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Xn.test(a) || O(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2107
+ i = e.input.slice(t, e.position), Do.test(i) && O(e, "tag suffix cannot contain flow indicator characters");
2108
2108
  }
2109
- i && !er.test(i) && E(e, "tag name cannot contain such characters: " + i);
2109
+ i && !er.test(i) && O(e, "tag name cannot contain such characters: " + i);
2110
2110
  try {
2111
2111
  i = decodeURIComponent(i);
2112
2112
  } catch {
2113
- E(e, "tag name is malformed: " + i);
2113
+ O(e, "tag name is malformed: " + i);
2114
2114
  }
2115
- return n ? e.tag = i : Fe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : E(e, 'undeclared tag handle "' + a + '"'), !0;
2115
+ return n ? e.tag = i : Fe.call(e.tagMap, a) ? e.tag = e.tagMap[a] + i : a === "!" ? e.tag = "!" + i : a === "!!" ? e.tag = "tag:yaml.org,2002:" + i : O(e, 'undeclared tag handle "' + a + '"'), !0;
2116
2116
  }
2117
2117
  function ri(e) {
2118
2118
  var t, n;
2119
2119
  if (n = e.input.charCodeAt(e.position), n !== 38)
2120
2120
  return !1;
2121
- for (e.anchor !== null && E(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ye(n) && !De(n); )
2121
+ for (e.anchor !== null && O(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ye(n) && !De(n); )
2122
2122
  n = e.input.charCodeAt(++e.position);
2123
- return e.position === t && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2123
+ return e.position === t && O(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2124
2124
  }
2125
2125
  function ai(e) {
2126
2126
  var t, n, r;
@@ -2128,17 +2128,17 @@ function ai(e) {
2128
2128
  return !1;
2129
2129
  for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !ye(r) && !De(r); )
2130
2130
  r = e.input.charCodeAt(++e.position);
2131
- return e.position === t && E(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Fe.call(e.anchorMap, n) || E(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], oe(e, !0, -1), !0;
2131
+ return e.position === t && O(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Fe.call(e.anchorMap, n) || O(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], oe(e, !0, -1), !0;
2132
2132
  }
2133
2133
  function Ge(e, t, n, r, a) {
2134
- var i, o, s, l = 1, u = !1, p = !1, c, y, f, I, T, k;
2135
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = s = dt === n || Qn === n, r && oe(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
2134
+ var i, o, l, s = 1, u = !1, p = !1, c, y, f, I, T, k;
2135
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = o = l = dt === n || Qn === n, r && oe(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2136
2136
  for (; ni(e) || ri(e); )
2137
- oe(e, !0, -1) ? (u = !0, s = i, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = !1;
2138
- if (s && (s = u || a), (l === 1 || dt === n) && (ct === n || Yn === n ? T = t : T = t + 1, k = e.position - e.lineStart, l === 1 ? s && (sn(e, k) || ti(e, k, T)) || Xo(e, T) ? p = !0 : (o && ei(e, T) || Yo(e, T) || Qo(e, T) ? p = !0 : ai(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Wo(e, T, ct === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (p = s && sn(e, k))), e.tag === null)
2137
+ oe(e, !0, -1) ? (u = !0, l = i, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2138
+ if (l && (l = u || a), (s === 1 || dt === n) && (ct === n || Zn === n ? T = t : T = t + 1, k = e.position - e.lineStart, s === 1 ? l && (ln(e, k) || ti(e, k, T)) || Xo(e, T) ? p = !0 : (o && ei(e, T) || Zo(e, T) || Qo(e, T) ? p = !0 : ai(e) ? (p = !0, (e.tag !== null || e.anchor !== null) && O(e, "alias node should not have any properties")) : Yo(e, T, ct === n) && (p = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (p = l && ln(e, k))), e.tag === null)
2139
2139
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2140
2140
  else if (e.tag === "?") {
2141
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2141
+ for (e.result !== null && e.kind !== "scalar" && O(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2142
2142
  if (I = e.implicitTypes[c], I.resolve(e.result)) {
2143
2143
  e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2144
2144
  break;
@@ -2152,7 +2152,7 @@ function Ge(e, t, n, r, a) {
2152
2152
  I = f[c];
2153
2153
  break;
2154
2154
  }
2155
- I || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2155
+ I || O(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && O(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : O(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2156
2156
  }
2157
2157
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || p;
2158
2158
  }
@@ -2161,7 +2161,7 @@ function oi(e) {
2161
2161
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2162
2162
  for (i = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !ye(o); )
2163
2163
  o = e.input.charCodeAt(++e.position);
2164
- for (r = e.input.slice(n, e.position), a = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); o !== 0; ) {
2164
+ for (r = e.input.slice(n, e.position), a = [], r.length < 1 && O(e, "directive name must not be less than one character in length"); o !== 0; ) {
2165
2165
  for (; Ke(o); )
2166
2166
  o = e.input.charCodeAt(++e.position);
2167
2167
  if (o === 35) {
@@ -2178,20 +2178,20 @@ function oi(e) {
2178
2178
  }
2179
2179
  o !== 0 && qt(e), Fe.call(an, r) ? an[r](e, r, a) : pt(e, 'unknown document directive "' + r + '"');
2180
2180
  }
2181
- if (oe(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, oe(e, !0, -1)) : i && E(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, dt, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Ro.test(e.input.slice(t, e.position)) && pt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && vt(e)) {
2181
+ if (oe(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, oe(e, !0, -1)) : i && O(e, "directives end mark is expected"), Ge(e, e.lineIndent - 1, dt, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Ro.test(e.input.slice(t, e.position)) && pt(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && vt(e)) {
2182
2182
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2183
2183
  return;
2184
2184
  }
2185
2185
  if (e.position < e.length - 1)
2186
- E(e, "end of the stream or a document separator is expected");
2186
+ O(e, "end of the stream or a document separator is expected");
2187
2187
  else
2188
2188
  return;
2189
2189
  }
2190
2190
  function ar(e, t) {
2191
2191
  e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2192
2192
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2193
- var n = new Zo(e, t), r = e.indexOf("\0");
2194
- for (r !== -1 && (n.position = r, E(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2193
+ var n = new Wo(e, t), r = e.indexOf("\0");
2194
+ for (r !== -1 && (n.position = r, O(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2195
2195
  n.lineIndent += 1, n.position += 1;
2196
2196
  for (; n.position < n.length - 1; )
2197
2197
  oi(n);
@@ -2205,7 +2205,7 @@ function ii(e, t, n) {
2205
2205
  for (var a = 0, i = r.length; a < i; a += 1)
2206
2206
  t(r[a]);
2207
2207
  }
2208
- function si(e, t) {
2208
+ function li(e, t) {
2209
2209
  var n = ar(e, t);
2210
2210
  if (n.length !== 0) {
2211
2211
  if (n.length === 1)
@@ -2213,10 +2213,10 @@ function si(e, t) {
2213
2213
  throw new fe("expected a single document in the stream, but found more");
2214
2214
  }
2215
2215
  }
2216
- var li = ii, ui = si, or = {
2217
- loadAll: li,
2216
+ var si = ii, ui = li, or = {
2217
+ loadAll: si,
2218
2218
  load: ui
2219
- }, ir = Object.prototype.toString, sr = Object.prototype.hasOwnProperty, Bt = 65279, ci = 9, nt = 10, di = 13, pi = 32, fi = 33, mi = 34, At = 35, gi = 37, yi = 38, hi = 39, vi = 42, lr = 44, bi = 45, ft = 58, Ci = 61, ki = 62, wi = 63, _i = 64, ur = 91, cr = 93, Ii = 96, dr = 123, xi = 124, pr = 125, pe = {};
2219
+ }, ir = Object.prototype.toString, lr = Object.prototype.hasOwnProperty, Bt = 65279, ci = 9, nt = 10, di = 13, pi = 32, fi = 33, mi = 34, At = 35, gi = 37, yi = 38, hi = 39, vi = 42, sr = 44, bi = 45, ft = 58, Ci = 61, ki = 62, wi = 63, _i = 64, ur = 91, cr = 93, Si = 96, dr = 123, Ii = 124, pr = 125, pe = {};
2220
2220
  pe[0] = "\\0";
2221
2221
  pe[7] = "\\a";
2222
2222
  pe[8] = "\\b";
@@ -2232,7 +2232,7 @@ pe[133] = "\\N";
2232
2232
  pe[160] = "\\_";
2233
2233
  pe[8232] = "\\L";
2234
2234
  pe[8233] = "\\P";
2235
- var Si = [
2235
+ var xi = [
2236
2236
  "y",
2237
2237
  "Y",
2238
2238
  "yes",
@@ -2251,11 +2251,11 @@ var Si = [
2251
2251
  "OFF"
2252
2252
  ], Ai = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2253
2253
  function $i(e, t) {
2254
- var n, r, a, i, o, s, l;
2254
+ var n, r, a, i, o, l, s;
2255
2255
  if (t === null)
2256
2256
  return {};
2257
2257
  for (n = {}, r = Object.keys(t), a = 0, i = r.length; a < i; a += 1)
2258
- o = r[a], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), l = e.compiledTypeMap.fallback[o], l && sr.call(l.styleAliases, s) && (s = l.styleAliases[s]), n[o] = s;
2258
+ o = r[a], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && lr.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[o] = l;
2259
2259
  return n;
2260
2260
  }
2261
2261
  function Ti(e) {
@@ -2274,10 +2274,10 @@ var Ni = 1, rt = 2;
2274
2274
  function ji(e) {
2275
2275
  this.schema = e.schema || Ft, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = $i(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? rt : Ni, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2276
2276
  }
2277
- function ln(e, t) {
2278
- for (var n = ie.repeat(" ", t), r = 0, a = -1, i = "", o, s = e.length; r < s; )
2277
+ function sn(e, t) {
2278
+ for (var n = ie.repeat(" ", t), r = 0, a = -1, i = "", o, l = e.length; r < l; )
2279
2279
  a = e.indexOf(`
2280
- `, r), a === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, a + 1), r = a + 1), o.length && o !== `
2280
+ `, r), a === -1 ? (o = e.slice(r), r = l) : (o = e.slice(r, a + 1), r = a + 1), o.length && o !== `
2281
2281
  ` && (i += n), i += o;
2282
2282
  return i;
2283
2283
  }
@@ -2285,7 +2285,7 @@ function $t(e, t) {
2285
2285
  return `
2286
2286
  ` + ie.repeat(" ", e.indent * t);
2287
2287
  }
2288
- function Ei(e, t) {
2288
+ function Oi(e, t) {
2289
2289
  var n, r, a;
2290
2290
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
2291
2291
  if (a = e.implicitTypes[n], a.resolve(t))
@@ -2308,13 +2308,13 @@ function cn(e, t, n) {
2308
2308
  (n ? (
2309
2309
  // c = flow-in
2310
2310
  r
2311
- ) : r && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr) && e !== At && !(t === ft && !a) || un(t) && !mt(t) && e === At || t === ft && a
2311
+ ) : r && e !== sr && e !== ur && e !== cr && e !== dr && e !== pr) && e !== At && !(t === ft && !a) || un(t) && !mt(t) && e === At || t === ft && a
2312
2312
  );
2313
2313
  }
2314
- function Oi(e) {
2315
- return at(e) && e !== Bt && !mt(e) && e !== bi && e !== wi && e !== ft && e !== lr && e !== ur && e !== cr && e !== dr && e !== pr && e !== At && e !== yi && e !== vi && e !== fi && e !== xi && e !== Ci && e !== ki && e !== hi && e !== mi && e !== gi && e !== _i && e !== Ii;
2316
- }
2317
2314
  function Mi(e) {
2315
+ return at(e) && e !== Bt && !mt(e) && e !== bi && e !== wi && e !== ft && e !== sr && e !== ur && e !== cr && e !== dr && e !== pr && e !== At && e !== yi && e !== vi && e !== fi && e !== Ii && e !== Ci && e !== ki && e !== hi && e !== mi && e !== gi && e !== _i && e !== Si;
2316
+ }
2317
+ function Ei(e) {
2318
2318
  return !mt(e) && e !== ft;
2319
2319
  }
2320
2320
  function et(e, t) {
@@ -2326,24 +2326,24 @@ function fr(e) {
2326
2326
  return t.test(e);
2327
2327
  }
2328
2328
  var mr = 1, Tt = 2, gr = 3, yr = 4, Re = 5;
2329
- function Fi(e, t, n, r, a, i, o, s) {
2330
- var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, I = -1, T = Oi(et(e, 0)) && Mi(et(e, e.length - 1));
2329
+ function Fi(e, t, n, r, a, i, o, l) {
2330
+ var s, u = 0, p = null, c = !1, y = !1, f = r !== -1, I = -1, T = Mi(et(e, 0)) && Ei(et(e, e.length - 1));
2331
2331
  if (t || o)
2332
- for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2333
- if (u = et(e, l), !at(u))
2332
+ for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2333
+ if (u = et(e, s), !at(u))
2334
2334
  return Re;
2335
- T = T && cn(u, p, s), p = u;
2335
+ T = T && cn(u, p, l), p = u;
2336
2336
  }
2337
2337
  else {
2338
- for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2339
- if (u = et(e, l), u === nt)
2338
+ for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2339
+ if (u = et(e, s), u === nt)
2340
2340
  c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2341
- l - I - 1 > r && e[I + 1] !== " ", I = l);
2341
+ s - I - 1 > r && e[I + 1] !== " ", I = s);
2342
2342
  else if (!at(u))
2343
2343
  return Re;
2344
- T = T && cn(u, p, s), p = u;
2344
+ T = T && cn(u, p, l), p = u;
2345
2345
  }
2346
- y = y || f && l - I - 1 > r && e[I + 1] !== " ";
2346
+ y = y || f && s - I - 1 > r && e[I + 1] !== " ";
2347
2347
  }
2348
2348
  return !c && !y ? T && !o && !a(e) ? mr : i === rt ? Re : Tt : n > 9 && fr(e) ? Re : o ? i === rt ? Re : Tt : y ? yr : gr;
2349
2349
  }
@@ -2351,18 +2351,18 @@ function qi(e, t, n, r, a) {
2351
2351
  e.dump = function() {
2352
2352
  if (t.length === 0)
2353
2353
  return e.quotingType === rt ? '""' : "''";
2354
- if (!e.noCompatMode && (Si.indexOf(t) !== -1 || Ai.test(t)))
2354
+ if (!e.noCompatMode && (xi.indexOf(t) !== -1 || Ai.test(t)))
2355
2355
  return e.quotingType === rt ? '"' + t + '"' : "'" + t + "'";
2356
- var i = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && n >= e.flowLevel;
2357
- function l(u) {
2358
- return Ei(e, u);
2356
+ var i = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), l = r || e.flowLevel > -1 && n >= e.flowLevel;
2357
+ function s(u) {
2358
+ return Oi(e, u);
2359
2359
  }
2360
2360
  switch (Fi(
2361
2361
  t,
2362
- s,
2362
+ l,
2363
2363
  e.indent,
2364
2364
  o,
2365
- l,
2365
+ s,
2366
2366
  e.quotingType,
2367
2367
  e.forceQuotes && !r,
2368
2368
  a
@@ -2372,9 +2372,9 @@ function qi(e, t, n, r, a) {
2372
2372
  case Tt:
2373
2373
  return "'" + t.replace(/'/g, "''") + "'";
2374
2374
  case gr:
2375
- return "|" + dn(t, e.indent) + pn(ln(t, i));
2375
+ return "|" + dn(t, e.indent) + pn(sn(t, i));
2376
2376
  case yr:
2377
- return ">" + dn(t, e.indent) + pn(ln(Ki(t, o), i));
2377
+ return ">" + dn(t, e.indent) + pn(sn(Ki(t, o), i));
2378
2378
  case Re:
2379
2379
  return '"' + Bi(t) + '"';
2380
2380
  default:
@@ -2401,21 +2401,21 @@ function Ki(e, t) {
2401
2401
  return u = u !== -1 ? u : e.length, n.lastIndex = u, fn(e.slice(0, u), t);
2402
2402
  }(), a = e[0] === `
2403
2403
  ` || e[0] === " ", i, o; o = n.exec(e); ) {
2404
- var s = o[1], l = o[2];
2405
- i = l[0] === " ", r += s + (!a && !i && l !== "" ? `
2406
- ` : "") + fn(l, t), a = i;
2404
+ var l = o[1], s = o[2];
2405
+ i = s[0] === " ", r += l + (!a && !i && s !== "" ? `
2406
+ ` : "") + fn(s, t), a = i;
2407
2407
  }
2408
2408
  return r;
2409
2409
  }
2410
2410
  function fn(e, t) {
2411
2411
  if (e === "" || e[0] === " ")
2412
2412
  return e;
2413
- for (var n = / [^ ]/g, r, a = 0, i, o = 0, s = 0, l = ""; r = n.exec(e); )
2414
- s = r.index, s - a > t && (i = o > a ? o : s, l += `
2415
- ` + e.slice(a, i), a = i + 1), o = s;
2416
- return l += `
2417
- `, e.length - a > t && o > a ? l += e.slice(a, o) + `
2418
- ` + e.slice(o + 1) : l += e.slice(a), l.slice(1);
2413
+ for (var n = / [^ ]/g, r, a = 0, i, o = 0, l = 0, s = ""; r = n.exec(e); )
2414
+ l = r.index, l - a > t && (i = o > a ? o : l, s += `
2415
+ ` + e.slice(a, i), a = i + 1), o = l;
2416
+ return s += `
2417
+ `, e.length - a > t && o > a ? s += e.slice(a, o) + `
2418
+ ` + e.slice(o + 1) : s += e.slice(a), s.slice(1);
2419
2419
  }
2420
2420
  function Bi(e) {
2421
2421
  for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
@@ -2423,46 +2423,46 @@ function Bi(e) {
2423
2423
  return t;
2424
2424
  }
2425
2425
  function Li(e, t, n) {
2426
- var r = "", a = e.tag, i, o, s;
2426
+ var r = "", a = e.tag, i, o, l;
2427
2427
  for (i = 0, o = n.length; i < o; i += 1)
2428
- s = n[i], e.replacer && (s = e.replacer.call(n, String(i), s)), (Te(e, t, s, !1, !1) || typeof s > "u" && Te(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2428
+ l = n[i], e.replacer && (l = e.replacer.call(n, String(i), l)), (Te(e, t, l, !1, !1) || typeof l > "u" && Te(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2429
2429
  e.tag = a, e.dump = "[" + r + "]";
2430
2430
  }
2431
2431
  function mn(e, t, n, r) {
2432
- var a = "", i = e.tag, o, s, l;
2433
- for (o = 0, s = n.length; o < s; o += 1)
2434
- l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (Te(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Te(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += $t(e, t)), e.dump && nt === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2432
+ var a = "", i = e.tag, o, l, s;
2433
+ for (o = 0, l = n.length; o < l; o += 1)
2434
+ s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (Te(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && Te(e, t + 1, null, !0, !0, !1, !0)) && ((!r || a !== "") && (a += $t(e, t)), e.dump && nt === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
2435
2435
  e.tag = i, e.dump = a || "[]";
2436
2436
  }
2437
2437
  function Ui(e, t, n) {
2438
- var r = "", a = e.tag, i = Object.keys(n), o, s, l, u, p;
2439
- for (o = 0, s = i.length; o < s; o += 1)
2440
- p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[o], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), Te(e, t, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Te(e, t, u, !1, !1) && (p += e.dump, r += p));
2438
+ var r = "", a = e.tag, i = Object.keys(n), o, l, s, u, p;
2439
+ for (o = 0, l = i.length; o < l; o += 1)
2440
+ p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), s = i[o], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), Te(e, t, s, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Te(e, t, u, !1, !1) && (p += e.dump, r += p));
2441
2441
  e.tag = a, e.dump = "{" + r + "}";
2442
2442
  }
2443
- function Pi(e, t, n, r) {
2444
- var a = "", i = e.tag, o = Object.keys(n), s, l, u, p, c, y;
2443
+ function Vi(e, t, n, r) {
2444
+ var a = "", i = e.tag, o = Object.keys(n), l, s, u, p, c, y;
2445
2445
  if (e.sortKeys === !0)
2446
2446
  o.sort();
2447
2447
  else if (typeof e.sortKeys == "function")
2448
2448
  o.sort(e.sortKeys);
2449
2449
  else if (e.sortKeys)
2450
2450
  throw new fe("sortKeys must be a boolean or a function");
2451
- for (s = 0, l = o.length; s < l; s += 1)
2452
- y = "", (!r || a !== "") && (y += $t(e, t)), u = o[s], p = n[u], e.replacer && (p = e.replacer.call(n, u, p)), Te(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && nt === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += $t(e, t)), Te(e, t + 1, p, !0, c) && (e.dump && nt === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, a += y));
2451
+ for (l = 0, s = o.length; l < s; l += 1)
2452
+ y = "", (!r || a !== "") && (y += $t(e, t)), u = o[l], p = n[u], e.replacer && (p = e.replacer.call(n, u, p)), Te(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && nt === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += $t(e, t)), Te(e, t + 1, p, !0, c) && (e.dump && nt === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, a += y));
2453
2453
  e.tag = i, e.dump = a || "{}";
2454
2454
  }
2455
2455
  function gn(e, t, n) {
2456
- var r, a, i, o, s, l;
2456
+ var r, a, i, o, l, s;
2457
2457
  for (a = n ? e.explicitTypes : e.implicitTypes, i = 0, o = a.length; i < o; i += 1)
2458
- if (s = a[i], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
2459
- if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
2460
- if (l = e.styleMap[s.tag] || s.defaultStyle, ir.call(s.represent) === "[object Function]")
2461
- r = s.represent(t, l);
2462
- else if (sr.call(s.represent, l))
2463
- r = s.represent[l](t, l);
2458
+ if (l = a[i], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2459
+ if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2460
+ if (s = e.styleMap[l.tag] || l.defaultStyle, ir.call(l.represent) === "[object Function]")
2461
+ r = l.represent(t, s);
2462
+ else if (lr.call(l.represent, s))
2463
+ r = l.represent[s](t, s);
2464
2464
  else
2465
- throw new fe("!<" + s.tag + '> tag resolver accepts not "' + l + '" style');
2465
+ throw new fe("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
2466
2466
  e.dump = r;
2467
2467
  }
2468
2468
  return !0;
@@ -2471,22 +2471,22 @@ function gn(e, t, n) {
2471
2471
  }
2472
2472
  function Te(e, t, n, r, a, i, o) {
2473
2473
  e.tag = null, e.dump = n, gn(e, n, !1) || gn(e, n, !0);
2474
- var s = ir.call(e.dump), l = r, u;
2474
+ var l = ir.call(e.dump), s = r, u;
2475
2475
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
2476
- var p = s === "[object Object]" || s === "[object Array]", c, y;
2476
+ var p = l === "[object Object]" || l === "[object Array]", c, y;
2477
2477
  if (p && (c = e.duplicates.indexOf(n), y = c !== -1), (e.tag !== null && e.tag !== "?" || y || e.indent !== 2 && t > 0) && (a = !1), y && e.usedDuplicates[c])
2478
2478
  e.dump = "*ref_" + c;
2479
2479
  else {
2480
- if (p && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2481
- r && Object.keys(e.dump).length !== 0 ? (Pi(e, t, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Ui(e, t, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2482
- else if (s === "[object Array]")
2480
+ if (p && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
2481
+ r && Object.keys(e.dump).length !== 0 ? (Vi(e, t, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Ui(e, t, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2482
+ else if (l === "[object Array]")
2483
2483
  r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? mn(e, t - 1, e.dump, a) : mn(e, t, e.dump, a), y && (e.dump = "&ref_" + c + e.dump)) : (Li(e, t, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2484
- else if (s === "[object String]")
2485
- e.tag !== "?" && qi(e, e.dump, t, i, l);
2484
+ else if (l === "[object String]")
2485
+ e.tag !== "?" && qi(e, e.dump, t, i, s);
2486
2486
  else {
2487
- if (s === "[object Undefined]" || e.skipInvalid)
2487
+ if (l === "[object Undefined]" || e.skipInvalid)
2488
2488
  return !1;
2489
- throw new fe("unacceptable kind of an object to dump " + s);
2489
+ throw new fe("unacceptable kind of an object to dump " + l);
2490
2490
  }
2491
2491
  e.tag !== null && e.tag !== "?" && (u = encodeURI(
2492
2492
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2494,7 +2494,7 @@ function Te(e, t, n, r, a, i, o) {
2494
2494
  }
2495
2495
  return !0;
2496
2496
  }
2497
- function Vi(e, t) {
2497
+ function Pi(e, t) {
2498
2498
  var n = [], r = [], a, i;
2499
2499
  for (Nt(e, n, r), a = 0, i = r.length; a < i; a += 1)
2500
2500
  t.duplicates.push(n[r[a]]);
@@ -2515,7 +2515,7 @@ function Nt(e, t, n) {
2515
2515
  function Ri(e, t) {
2516
2516
  t = t || {};
2517
2517
  var n = new ji(t);
2518
- n.noRefs || Vi(e, n);
2518
+ n.noRefs || Pi(e, n);
2519
2519
  var r = e;
2520
2520
  return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Te(n, 0, r, !0, !0) ? n.dump + `
2521
2521
  ` : "";
@@ -2528,37 +2528,37 @@ function Lt(e, t) {
2528
2528
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2529
2529
  };
2530
2530
  }
2531
- var Gi = ce, Hi = En, Ji = qn, Zi = Pn, Wi = Vn, Yi = Ft, Qi = or.load, Xi = or.loadAll, es = zi.dump, ts = fe, ns = {
2531
+ var Gi = ce, Hi = On, Ji = qn, Wi = Vn, Yi = Pn, Zi = Ft, Qi = or.load, Xi = or.loadAll, el = zi.dump, tl = fe, nl = {
2532
2532
  binary: Hn,
2533
2533
  float: Un,
2534
2534
  map: Fn,
2535
2535
  null: Kn,
2536
- pairs: Zn,
2537
- set: Wn,
2536
+ pairs: Wn,
2537
+ set: Yn,
2538
2538
  timestamp: zn,
2539
2539
  bool: Bn,
2540
2540
  int: Ln,
2541
2541
  merge: Gn,
2542
2542
  omap: Jn,
2543
- seq: Mn,
2544
- str: On
2545
- }, rs = Lt("safeLoad", "load"), as = Lt("safeLoadAll", "loadAll"), os = Lt("safeDump", "dump"), is = {
2543
+ seq: En,
2544
+ str: Mn
2545
+ }, rl = Lt("safeLoad", "load"), al = Lt("safeLoadAll", "loadAll"), ol = Lt("safeDump", "dump"), il = {
2546
2546
  Type: Gi,
2547
2547
  Schema: Hi,
2548
2548
  FAILSAFE_SCHEMA: Ji,
2549
- JSON_SCHEMA: Zi,
2550
- CORE_SCHEMA: Wi,
2551
- DEFAULT_SCHEMA: Yi,
2549
+ JSON_SCHEMA: Wi,
2550
+ CORE_SCHEMA: Yi,
2551
+ DEFAULT_SCHEMA: Zi,
2552
2552
  load: Qi,
2553
2553
  loadAll: Xi,
2554
- dump: es,
2555
- YAMLException: ts,
2556
- types: ns,
2557
- safeLoad: rs,
2558
- safeLoadAll: as,
2559
- safeDump: os
2554
+ dump: el,
2555
+ YAMLException: tl,
2556
+ types: nl,
2557
+ safeLoad: rl,
2558
+ safeLoadAll: al,
2559
+ safeDump: ol
2560
2560
  };
2561
- const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2561
+ const ll = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2562
2562
  __name: "YamlCodeBlock",
2563
2563
  props: {
2564
2564
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2570,28 +2570,28 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2570
2570
  setup(e) {
2571
2571
  const t = e, n = w(() => {
2572
2572
  const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a !== null && a !== "" && (Array.isArray(a) ? a.length !== 0 : !0)));
2573
- return Object.keys(r).length === 0 && r.constructor === Object ? "" : is.dump(r).trim();
2573
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : il.dump(r).trim();
2574
2574
  });
2575
2575
  return (r, a) => {
2576
2576
  const i = R("KCodeBlock");
2577
- return m(), $("div", ss, [
2577
+ return m(), $("div", ll, [
2578
2578
  t.yamlRecord ? (m(), D(i, {
2579
2579
  key: 0,
2580
2580
  id: "yaml-codeblock",
2581
2581
  code: n.value,
2582
2582
  language: "yaml",
2583
2583
  theme: "dark"
2584
- }, null, 8, ["code"])) : J("", !0)
2584
+ }, null, 8, ["code"])) : W("", !0)
2585
2585
  ]);
2586
2586
  };
2587
2587
  }
2588
- }), ls = {
2588
+ }), sl = {
2589
2589
  key: 0,
2590
2590
  class: "config-card-display-form"
2591
- }, us = ["data-testid"], cs = {
2591
+ }, ul = ["data-testid"], cl = {
2592
2592
  key: 0,
2593
2593
  class: "config-card-prop-section-title"
2594
- }, ds = /* @__PURE__ */ X({
2594
+ }, dl = /* @__PURE__ */ X({
2595
2595
  __name: "ConfigCardDisplay",
2596
2596
  props: {
2597
2597
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2630,21 +2630,21 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2630
2630
  }
2631
2631
  },
2632
2632
  setup(e) {
2633
- const t = e, n = jt(), { i18n: { t: r } } = se.useI18n(), a = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), i = w(() => {
2633
+ const t = e, n = jt(), { i18n: { t: r } } = le.useI18n(), a = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), i = w(() => {
2634
2634
  if (!t.record)
2635
2635
  return t.record;
2636
2636
  const o = JSON.parse(JSON.stringify(t.record));
2637
2637
  return delete o.created_at, delete o.updated_at, o;
2638
2638
  });
2639
- return (o, s) => (m(), $(be, null, [
2640
- e.format === "structured" ? (m(), $("div", ls, [
2641
- (m(!0), $(be, null, ve(e.propListTypes, (l) => (m(), $("div", {
2642
- key: `config-card-details-${l}-props`,
2643
- class: Me(`config-card-details-${l}-props`),
2644
- "data-testid": `config-card-details-${l}-props`
2639
+ return (o, l) => (m(), $(be, null, [
2640
+ e.format === "structured" ? (m(), $("div", sl, [
2641
+ (m(!0), $(be, null, ve(e.propListTypes, (s) => (m(), $("div", {
2642
+ key: `config-card-details-${s}-props`,
2643
+ class: Ee(`config-card-details-${s}-props`),
2644
+ "data-testid": `config-card-details-${s}-props`
2645
2645
  }, [
2646
- l !== "basic" ? (m(), $("div", cs, q(l === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2647
- (m(!0), $(be, null, ve(e.propertyCollections[l], (u) => (m(), D($n, {
2646
+ s !== "basic" ? (m(), $("div", cl, q(s === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : W("", !0),
2647
+ (m(!0), $(be, null, ve(e.propertyCollections[s], (u) => (m(), D($n, {
2648
2648
  key: u.key,
2649
2649
  item: u
2650
2650
  }, Be({
@@ -2667,33 +2667,33 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2667
2667
  key: "0"
2668
2668
  } : void 0
2669
2669
  ]), 1032, ["item"]))), 128))
2670
- ], 10, us))), 128))
2671
- ])) : J("", !0),
2670
+ ], 10, ul))), 128))
2671
+ ])) : W("", !0),
2672
2672
  e.format === "json" && t.record ? (m(), D(Tn, {
2673
2673
  key: 1,
2674
2674
  config: t.config,
2675
2675
  "fetcher-url": t.fetcherUrl,
2676
2676
  "json-record": i.value,
2677
2677
  "request-method": "get"
2678
- }, null, 8, ["config", "fetcher-url", "json-record"])) : J("", !0),
2678
+ }, null, 8, ["config", "fetcher-url", "json-record"])) : W("", !0),
2679
2679
  e.format === "yaml" && t.record ? (m(), D(hr, {
2680
2680
  key: 2,
2681
2681
  "yaml-record": i.value
2682
- }, null, 8, ["yaml-record"])) : J("", !0)
2682
+ }, null, 8, ["yaml-record"])) : W("", !0)
2683
2683
  ], 64));
2684
2684
  }
2685
- }), ps = /* @__PURE__ */ Ce(ds, [["__scopeId", "data-v-2052238b"]]), Ie = "24px", ot = (e, t) => {
2685
+ }), pl = /* @__PURE__ */ Ce(dl, [["__scopeId", "data-v-2052238b"]]), Se = "24px", ot = (e, t) => {
2686
2686
  const n = e.__vccOpts || e;
2687
2687
  for (const [r, a] of t)
2688
2688
  n[r] = a;
2689
2689
  return n;
2690
- }, fs = (e) => (Je("data-v-f68c7837"), e = e(), Ze(), e), ms = ["aria-hidden"], gs = {
2690
+ }, fl = (e) => (Je("data-v-f68c7837"), e = e(), We(), e), ml = ["aria-hidden"], gl = {
2691
2691
  key: 0,
2692
2692
  "data-testid": "kui-icon-svg-title"
2693
- }, ys = /* @__PURE__ */ fs(() => /* @__PURE__ */ L("path", {
2693
+ }, yl = /* @__PURE__ */ fl(() => /* @__PURE__ */ L("path", {
2694
2694
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2695
2695
  fill: "currentColor"
2696
- }, null, -1)), hs = /* @__PURE__ */ X({
2696
+ }, null, -1)), hl = /* @__PURE__ */ X({
2697
2697
  __name: "AddIcon",
2698
2698
  props: {
2699
2699
  /** The accessibility text provided to screen readers */
@@ -2724,7 +2724,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2724
2724
  size: {
2725
2725
  type: [Number, String],
2726
2726
  required: !1,
2727
- default: Ie,
2727
+ default: Se,
2728
2728
  // if setting to the imported const fails, just pass a number of 24 as the default.
2729
2729
  validator: (e) => {
2730
2730
  if (typeof e == "number" && e > 0)
@@ -2753,7 +2753,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2753
2753
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2754
2754
  return `${i}px`;
2755
2755
  }
2756
- return Ie;
2756
+ return Se;
2757
2757
  }), r = w(() => ({
2758
2758
  boxSizing: "border-box",
2759
2759
  color: t.color,
@@ -2762,7 +2762,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2762
2762
  lineHeight: "0",
2763
2763
  width: n.value
2764
2764
  }));
2765
- return (a, i) => (m(), D(xe(e.as), {
2765
+ return (a, i) => (m(), D(Ie(e.as), {
2766
2766
  "aria-hidden": e.decorative ? "true" : void 0,
2767
2767
  class: "kui-icon add-icon",
2768
2768
  "data-testid": "kui-icon-wrapper-add-icon",
@@ -2779,20 +2779,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2779
2779
  width: "100%",
2780
2780
  xmlns: "http://www.w3.org/2000/svg"
2781
2781
  }, [
2782
- e.title ? (m(), $("title", gs, q(e.title), 1)) : J("", !0),
2783
- ys
2784
- ], 8, ms))
2782
+ e.title ? (m(), $("title", gl, q(e.title), 1)) : W("", !0),
2783
+ yl
2784
+ ], 8, ml))
2785
2785
  ]),
2786
2786
  _: 1
2787
2787
  }, 8, ["aria-hidden", "style"]));
2788
2788
  }
2789
- }), vs = /* @__PURE__ */ ot(hs, [["__scopeId", "data-v-f68c7837"]]), bs = (e) => (Je("data-v-9af646cc"), e = e(), Ze(), e), Cs = ["aria-hidden"], ks = {
2789
+ }), vl = /* @__PURE__ */ ot(hl, [["__scopeId", "data-v-f68c7837"]]), bl = (e) => (Je("data-v-9af646cc"), e = e(), We(), e), Cl = ["aria-hidden"], kl = {
2790
2790
  key: 0,
2791
2791
  "data-testid": "kui-icon-svg-title"
2792
- }, ws = /* @__PURE__ */ bs(() => /* @__PURE__ */ L("path", {
2792
+ }, wl = /* @__PURE__ */ bl(() => /* @__PURE__ */ L("path", {
2793
2793
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2794
2794
  fill: "currentColor"
2795
- }, null, -1)), _s = /* @__PURE__ */ X({
2795
+ }, null, -1)), _l = /* @__PURE__ */ X({
2796
2796
  __name: "BookIcon",
2797
2797
  props: {
2798
2798
  /** The accessibility text provided to screen readers */
@@ -2823,7 +2823,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2823
2823
  size: {
2824
2824
  type: [Number, String],
2825
2825
  required: !1,
2826
- default: Ie,
2826
+ default: Se,
2827
2827
  // if setting to the imported const fails, just pass a number of 24 as the default.
2828
2828
  validator: (e) => {
2829
2829
  if (typeof e == "number" && e > 0)
@@ -2852,7 +2852,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2852
2852
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2853
2853
  return `${i}px`;
2854
2854
  }
2855
- return Ie;
2855
+ return Se;
2856
2856
  }), r = w(() => ({
2857
2857
  boxSizing: "border-box",
2858
2858
  color: t.color,
@@ -2861,7 +2861,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2861
2861
  lineHeight: "0",
2862
2862
  width: n.value
2863
2863
  }));
2864
- return (a, i) => (m(), D(xe(e.as), {
2864
+ return (a, i) => (m(), D(Ie(e.as), {
2865
2865
  "aria-hidden": e.decorative ? "true" : void 0,
2866
2866
  class: "kui-icon book-icon",
2867
2867
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2878,20 +2878,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2878
2878
  width: "100%",
2879
2879
  xmlns: "http://www.w3.org/2000/svg"
2880
2880
  }, [
2881
- e.title ? (m(), $("title", ks, q(e.title), 1)) : J("", !0),
2882
- ws
2883
- ], 8, Cs))
2881
+ e.title ? (m(), $("title", kl, q(e.title), 1)) : W("", !0),
2882
+ wl
2883
+ ], 8, Cl))
2884
2884
  ]),
2885
2885
  _: 1
2886
2886
  }, 8, ["aria-hidden", "style"]));
2887
2887
  }
2888
- }), Is = /* @__PURE__ */ ot(_s, [["__scopeId", "data-v-9af646cc"]]), xs = (e) => (Je("data-v-84c4811e"), e = e(), Ze(), e), Ss = ["aria-hidden"], As = {
2888
+ }), Sl = /* @__PURE__ */ ot(_l, [["__scopeId", "data-v-9af646cc"]]), Il = (e) => (Je("data-v-84c4811e"), e = e(), We(), e), xl = ["aria-hidden"], Al = {
2889
2889
  key: 0,
2890
2890
  "data-testid": "kui-icon-svg-title"
2891
- }, $s = /* @__PURE__ */ xs(() => /* @__PURE__ */ L("path", {
2891
+ }, $l = /* @__PURE__ */ Il(() => /* @__PURE__ */ L("path", {
2892
2892
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2893
2893
  fill: "currentColor"
2894
- }, null, -1)), Ts = /* @__PURE__ */ X({
2894
+ }, null, -1)), Tl = /* @__PURE__ */ X({
2895
2895
  __name: "ChevronDownIcon",
2896
2896
  props: {
2897
2897
  /** The accessibility text provided to screen readers */
@@ -2922,7 +2922,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2922
2922
  size: {
2923
2923
  type: [Number, String],
2924
2924
  required: !1,
2925
- default: Ie,
2925
+ default: Se,
2926
2926
  // if setting to the imported const fails, just pass a number of 24 as the default.
2927
2927
  validator: (e) => {
2928
2928
  if (typeof e == "number" && e > 0)
@@ -2951,7 +2951,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2951
2951
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
2952
2952
  return `${i}px`;
2953
2953
  }
2954
- return Ie;
2954
+ return Se;
2955
2955
  }), r = w(() => ({
2956
2956
  boxSizing: "border-box",
2957
2957
  color: t.color,
@@ -2960,7 +2960,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2960
2960
  lineHeight: "0",
2961
2961
  width: n.value
2962
2962
  }));
2963
- return (a, i) => (m(), D(xe(e.as), {
2963
+ return (a, i) => (m(), D(Ie(e.as), {
2964
2964
  "aria-hidden": e.decorative ? "true" : void 0,
2965
2965
  class: "kui-icon chevron-down-icon",
2966
2966
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
@@ -2977,20 +2977,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2977
2977
  width: "100%",
2978
2978
  xmlns: "http://www.w3.org/2000/svg"
2979
2979
  }, [
2980
- e.title ? (m(), $("title", As, q(e.title), 1)) : J("", !0),
2981
- $s
2982
- ], 8, Ss))
2980
+ e.title ? (m(), $("title", Al, q(e.title), 1)) : W("", !0),
2981
+ $l
2982
+ ], 8, xl))
2983
2983
  ]),
2984
2984
  _: 1
2985
2985
  }, 8, ["aria-hidden", "style"]));
2986
2986
  }
2987
- }), Ns = /* @__PURE__ */ ot(Ts, [["__scopeId", "data-v-84c4811e"]]), js = (e) => (Je("data-v-26ad8dc6"), e = e(), Ze(), e), Es = ["aria-hidden"], Os = {
2987
+ }), Nl = /* @__PURE__ */ ot(Tl, [["__scopeId", "data-v-84c4811e"]]), jl = (e) => (Je("data-v-26ad8dc6"), e = e(), We(), e), Ol = ["aria-hidden"], Ml = {
2988
2988
  key: 0,
2989
2989
  "data-testid": "kui-icon-svg-title"
2990
- }, Ms = /* @__PURE__ */ js(() => /* @__PURE__ */ L("path", {
2990
+ }, El = /* @__PURE__ */ jl(() => /* @__PURE__ */ L("path", {
2991
2991
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2992
2992
  fill: "currentColor"
2993
- }, null, -1)), Fs = /* @__PURE__ */ X({
2993
+ }, null, -1)), Fl = /* @__PURE__ */ X({
2994
2994
  __name: "CloseIcon",
2995
2995
  props: {
2996
2996
  /** The accessibility text provided to screen readers */
@@ -3021,7 +3021,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3021
3021
  size: {
3022
3022
  type: [Number, String],
3023
3023
  required: !1,
3024
- default: Ie,
3024
+ default: Se,
3025
3025
  // if setting to the imported const fails, just pass a number of 24 as the default.
3026
3026
  validator: (e) => {
3027
3027
  if (typeof e == "number" && e > 0)
@@ -3050,7 +3050,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3050
3050
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
3051
3051
  return `${i}px`;
3052
3052
  }
3053
- return Ie;
3053
+ return Se;
3054
3054
  }), r = w(() => ({
3055
3055
  boxSizing: "border-box",
3056
3056
  color: t.color,
@@ -3059,7 +3059,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3059
3059
  lineHeight: "0",
3060
3060
  width: n.value
3061
3061
  }));
3062
- return (a, i) => (m(), D(xe(e.as), {
3062
+ return (a, i) => (m(), D(Ie(e.as), {
3063
3063
  "aria-hidden": e.decorative ? "true" : void 0,
3064
3064
  class: "kui-icon close-icon",
3065
3065
  "data-testid": "kui-icon-wrapper-close-icon",
@@ -3076,20 +3076,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3076
3076
  width: "100%",
3077
3077
  xmlns: "http://www.w3.org/2000/svg"
3078
3078
  }, [
3079
- e.title ? (m(), $("title", Os, q(e.title), 1)) : J("", !0),
3080
- Ms
3081
- ], 8, Es))
3079
+ e.title ? (m(), $("title", Ml, q(e.title), 1)) : W("", !0),
3080
+ El
3081
+ ], 8, Ol))
3082
3082
  ]),
3083
3083
  _: 1
3084
3084
  }, 8, ["aria-hidden", "style"]));
3085
3085
  }
3086
- }), qs = /* @__PURE__ */ ot(Fs, [["__scopeId", "data-v-26ad8dc6"]]), Ks = (e) => (Je("data-v-d43c21f8"), e = e(), Ze(), e), Bs = ["aria-hidden"], Ls = {
3086
+ }), ql = /* @__PURE__ */ ot(Fl, [["__scopeId", "data-v-26ad8dc6"]]), Kl = (e) => (Je("data-v-d43c21f8"), e = e(), We(), e), Bl = ["aria-hidden"], Ll = {
3087
3087
  key: 0,
3088
3088
  "data-testid": "kui-icon-svg-title"
3089
- }, Us = /* @__PURE__ */ Ks(() => /* @__PURE__ */ L("path", {
3089
+ }, Ul = /* @__PURE__ */ Kl(() => /* @__PURE__ */ L("path", {
3090
3090
  d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
3091
3091
  fill: "currentColor"
3092
- }, null, -1)), Ps = /* @__PURE__ */ X({
3092
+ }, null, -1)), Vl = /* @__PURE__ */ X({
3093
3093
  __name: "MoreIcon",
3094
3094
  props: {
3095
3095
  /** The accessibility text provided to screen readers */
@@ -3120,7 +3120,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3120
3120
  size: {
3121
3121
  type: [Number, String],
3122
3122
  required: !1,
3123
- default: Ie,
3123
+ default: Se,
3124
3124
  // if setting to the imported const fails, just pass a number of 24 as the default.
3125
3125
  validator: (e) => {
3126
3126
  if (typeof e == "number" && e > 0)
@@ -3149,7 +3149,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3149
3149
  if (i && !isNaN(i) && Number.isInteger(i) && i > 0)
3150
3150
  return `${i}px`;
3151
3151
  }
3152
- return Ie;
3152
+ return Se;
3153
3153
  }), r = w(() => ({
3154
3154
  boxSizing: "border-box",
3155
3155
  color: t.color,
@@ -3158,7 +3158,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3158
3158
  lineHeight: "0",
3159
3159
  width: n.value
3160
3160
  }));
3161
- return (a, i) => (m(), D(xe(e.as), {
3161
+ return (a, i) => (m(), D(Ie(e.as), {
3162
3162
  "aria-hidden": e.decorative ? "true" : void 0,
3163
3163
  class: "kui-icon more-icon",
3164
3164
  "data-testid": "kui-icon-wrapper-more-icon",
@@ -3175,17 +3175,17 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3175
3175
  width: "100%",
3176
3176
  xmlns: "http://www.w3.org/2000/svg"
3177
3177
  }, [
3178
- e.title ? (m(), $("title", Ls, q(e.title), 1)) : J("", !0),
3179
- Us
3180
- ], 8, Bs))
3178
+ e.title ? (m(), $("title", Ll, q(e.title), 1)) : W("", !0),
3179
+ Ul
3180
+ ], 8, Bl))
3181
3181
  ]),
3182
3182
  _: 1
3183
3183
  }, 8, ["aria-hidden", "style"]));
3184
3184
  }
3185
- }), Vs = /* @__PURE__ */ ot(Ps, [["__scopeId", "data-v-d43c21f8"]]), Rs = {
3185
+ }), Pl = /* @__PURE__ */ ot(Vl, [["__scopeId", "data-v-d43c21f8"]]), Rl = {
3186
3186
  class: "config-card-title",
3187
3187
  "data-testid": "config-card-title"
3188
- }, Ds = { class: "config-card-actions" }, zs = ["href"], Gs = { class: "config-card-details-section" }, Hs = /* @__PURE__ */ X({
3188
+ }, Dl = { class: "config-card-actions" }, zl = ["href"], Gl = { class: "config-card-details-section" }, Hl = /* @__PURE__ */ X({
3189
3189
  __name: "EntityBaseConfigCard",
3190
3190
  props: {
3191
3191
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3264,7 +3264,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3264
3264
  emits: ["loading", "fetch:success", "fetch:error"],
3265
3265
  setup(e, { emit: t }) {
3266
3266
  var n;
3267
- const r = t, a = e, { i18n: { t: i } } = se.useI18n(), { getMessageFromError: o } = se.useErrors(), { convertKeyToTitle: s } = se.useStringHelpers(), { axiosInstance: l } = se.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = [
3267
+ const r = t, a = e, { i18n: { t: i } } = le.useI18n(), { getMessageFromError: o } = le.useErrors(), { convertKeyToTitle: l } = le.useStringHelpers(), { axiosInstance: s } = le.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = [
3268
3268
  {
3269
3269
  label: i("baseConfigCard.general.structuredFormat"),
3270
3270
  value: "structured",
@@ -3278,7 +3278,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3278
3278
  label: "YAML",
3279
3279
  value: "yaml"
3280
3280
  }
3281
- ], p = O("structured"), c = (d) => {
3281
+ ], p = M("structured"), c = (d) => {
3282
3282
  p.value = d == null ? void 0 : d.value;
3283
3283
  }, y = {
3284
3284
  id: {
@@ -3314,57 +3314,57 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3314
3314
  // the last property displayed
3315
3315
  section: he.Basic
3316
3316
  }
3317
- }, f = O(!1), I = O(!1), T = O(""), k = O({}), U = w(() => {
3317
+ }, f = M(!1), I = M(!1), T = M(""), k = M({}), U = w(() => {
3318
3318
  var d, S, B;
3319
3319
  if (!k.value)
3320
3320
  return [];
3321
3321
  const x = [], G = Object.keys(k.value).length;
3322
- for (const M in k.value) {
3323
- const b = (S = (d = a.configSchema) == null ? void 0 : d[M]) == null ? void 0 : S.order, K = (B = y[M]) == null ? void 0 : B.order;
3322
+ for (const E in k.value) {
3323
+ const b = (S = (d = a.configSchema) == null ? void 0 : d[E]) == null ? void 0 : S.order, K = (B = y[E]) == null ? void 0 : B.order;
3324
3324
  let F = G;
3325
- (K || K === 0) && (F = K === -1 ? G + 1 : K), b && (F = b === -1 ? G + 1 : b), x.push([M, F]);
3325
+ (K || K === 0) && (F = K === -1 ? G + 1 : K), b && (F = b === -1 ? G + 1 : b), x.push([E, F]);
3326
3326
  }
3327
- return x.sort(function(M, b) {
3328
- return M[1] - b[1];
3329
- }), x.map((M) => {
3327
+ return x.sort(function(E, b) {
3328
+ return E[1] - b[1];
3329
+ }), x.map((E) => {
3330
3330
  var b, K;
3331
- const F = M[0], H = (b = k.value) == null ? void 0 : b[F], te = ((K = a.configSchema) == null ? void 0 : K[F]) || {}, de = y[F];
3331
+ const F = E[0], H = (b = k.value) == null ? void 0 : b[F], te = ((K = a.configSchema) == null ? void 0 : K[F]) || {}, de = y[F];
3332
3332
  return {
3333
3333
  key: F,
3334
3334
  value: H,
3335
3335
  hidden: te.hidden || !1,
3336
3336
  type: te.type ?? ((de == null ? void 0 : de.type) || ee.Text),
3337
- label: te.label ?? ((de == null ? void 0 : de.label) || s(F)),
3337
+ label: te.label ?? ((de == null ? void 0 : de.label) || l(F)),
3338
3338
  tooltip: te.tooltip ?? ((de == null ? void 0 : de.tooltip) || void 0),
3339
3339
  section: te.section ?? ((de == null ? void 0 : de.section) || he.Advanced)
3340
3340
  };
3341
- }).filter((M) => !M.hidden && M.key !== a.pluginConfigKey);
3341
+ }).filter((E) => !E.hidden && E.key !== a.pluginConfigKey);
3342
3342
  }), N = w(() => {
3343
3343
  var d, S;
3344
3344
  if (!k.value || !a.pluginConfigKey)
3345
3345
  return [];
3346
3346
  const B = k.value[a.pluginConfigKey] || {}, x = Object.keys(B).length, G = [];
3347
- for (const M in B) {
3348
- const b = (S = (d = a.pluginConfigSchema) == null ? void 0 : d[M]) == null ? void 0 : S.order, K = B[M];
3347
+ for (const E in B) {
3348
+ const b = (S = (d = a.pluginConfigSchema) == null ? void 0 : d[E]) == null ? void 0 : S.order, K = B[E];
3349
3349
  let F = K != null && K !== "" ? x - 1 : x;
3350
- b && (F = b === -1 ? x + 1 : b), G.push([M, F]);
3350
+ b && (F = b === -1 ? x + 1 : b), G.push([E, F]);
3351
3351
  }
3352
- return G.sort(function(M, b) {
3353
- return M[1] - b[1];
3354
- }), G.map((M) => {
3352
+ return G.sort(function(E, b) {
3353
+ return E[1] - b[1];
3354
+ }), G.map((E) => {
3355
3355
  var b;
3356
- const K = M[0], F = B[K], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[K]) || {};
3356
+ const K = E[0], F = B[K], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[K]) || {};
3357
3357
  return {
3358
3358
  key: K,
3359
3359
  value: F,
3360
3360
  hidden: H.hidden || !1,
3361
3361
  type: H.type ?? ee.Text,
3362
- label: H.label ?? s(K),
3362
+ label: H.label ?? l(K),
3363
3363
  tooltip: H.tooltip ?? void 0,
3364
3364
  section: he.Plugin
3365
3365
  };
3366
- }).filter((M) => !M.hidden);
3367
- }), Z = w(() => {
3366
+ }).filter((E) => !E.hidden);
3367
+ }), J = w(() => {
3368
3368
  var d, S, B, x;
3369
3369
  return {
3370
3370
  basic: (d = U.value) == null ? void 0 : d.filter((G) => G.section === he.Basic),
@@ -3373,7 +3373,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3373
3373
  };
3374
3374
  }), h = w(() => {
3375
3375
  const d = [];
3376
- return Z.value.basic.length && d.push("basic"), Z.value.advanced.length && d.push("advanced"), Z.value.plugin.length && d.push("plugin"), d;
3376
+ return J.value.basic.length && d.push("basic"), J.value.advanced.length && d.push("advanced"), J.value.plugin.length && d.push("plugin"), d;
3377
3377
  }), _ = w(() => {
3378
3378
  var d, S;
3379
3379
  let B = `${a.config.apiBaseUrl}${a.fetchUrl}`;
@@ -3384,7 +3384,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3384
3384
  }, { immediate: !0 }), gt(async () => {
3385
3385
  I.value = !1, f.value = !0;
3386
3386
  try {
3387
- const { data: d } = await l.get(_.value);
3387
+ const { data: d } = await s.get(_.value);
3388
3388
  if (a.dataKey)
3389
3389
  if (typeof d[a.dataKey] < "u")
3390
3390
  k.value = { ...d[a.dataKey] };
@@ -3402,20 +3402,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3402
3402
  f.value = !1;
3403
3403
  }
3404
3404
  }), (d, S) => {
3405
- const B = R("KLabel"), x = R("KSelect"), G = R("KButton"), M = R("KSkeleton"), b = R("KEmptyState"), K = R("KCard");
3405
+ const B = R("KLabel"), x = R("KSelect"), G = R("KButton"), E = R("KSkeleton"), b = R("KEmptyState"), K = R("KCard");
3406
3406
  return m(), D(K, {
3407
3407
  class: "kong-ui-entity-base-config-card",
3408
3408
  "title-tag": e.titleTag
3409
3409
  }, Be({
3410
3410
  actions: v(() => [
3411
- L("div", Ds, [
3411
+ L("div", Dl, [
3412
3412
  ne(d.$slots, "actions", {}, void 0, !0),
3413
3413
  j(B, {
3414
3414
  class: "config-format-select-label",
3415
3415
  "data-testid": "config-format-select-label"
3416
3416
  }, {
3417
3417
  default: v(() => [
3418
- Y(q(e.label), 1)
3418
+ Z(q(e.label), 1)
3419
3419
  ]),
3420
3420
  _: 1
3421
3421
  }),
@@ -3436,15 +3436,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3436
3436
  rel: "noopener",
3437
3437
  target: "_blank"
3438
3438
  }, [
3439
- j(g(Is), { size: g(xa) }, null, 8, ["size"])
3440
- ], 8, zs)
3439
+ j(g(Sl), { size: g(Ia) }, null, 8, ["size"])
3440
+ ], 8, zl)
3441
3441
  ]),
3442
3442
  _: 1
3443
- })) : J("", !0)
3443
+ })) : W("", !0)
3444
3444
  ])
3445
3445
  ]),
3446
3446
  default: v(() => [
3447
- f.value ? (m(), D(M, {
3447
+ f.value ? (m(), D(E, {
3448
3448
  key: 0,
3449
3449
  "data-testid": "config-card-loader",
3450
3450
  "table-columns": 2,
@@ -3458,14 +3458,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3458
3458
  L("h3", null, q(T.value), 1)
3459
3459
  ]),
3460
3460
  _: 1
3461
- })) : J("", !0),
3462
- L("div", Gs, [
3463
- j(ps, {
3461
+ })) : W("", !0),
3462
+ L("div", Gl, [
3463
+ j(pl, {
3464
3464
  config: e.config,
3465
3465
  "fetcher-url": _.value,
3466
3466
  format: p.value,
3467
3467
  "prop-list-types": h.value,
3468
- "property-collections": Z.value,
3468
+ "property-collections": J.value,
3469
3469
  record: k.value
3470
3470
  }, Be({ _: 2 }, [
3471
3471
  ve(Object.keys(d.$slots), (F) => ({
@@ -3485,9 +3485,9 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3485
3485
  e.hideTitle ? void 0 : {
3486
3486
  name: "title",
3487
3487
  fn: v(() => [
3488
- L("span", Rs, [
3488
+ L("span", Rl, [
3489
3489
  ne(d.$slots, "title", {}, () => [
3490
- Y(q(g(i)("baseConfigCard.title")), 1)
3490
+ Z(q(g(i)("baseConfigCard.title")), 1)
3491
3491
  ], !0)
3492
3492
  ])
3493
3493
  ]),
@@ -3496,10 +3496,10 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3496
3496
  ]), 1032, ["title-tag"]);
3497
3497
  };
3498
3498
  }
3499
- }), Js = /* @__PURE__ */ Ce(Hs, [["__scopeId", "data-v-f40a683b"]]), Zs = ["novalidate"], Ws = {
3499
+ }), Jl = /* @__PURE__ */ Ce(Hl, [["__scopeId", "data-v-f40a683b"]]), Wl = ["novalidate"], Yl = {
3500
3500
  class: "form-actions",
3501
3501
  "data-testid": "form-actions"
3502
- }, Ys = /* @__PURE__ */ X({
3502
+ }, Zl = /* @__PURE__ */ X({
3503
3503
  __name: "EntityBaseForm",
3504
3504
  props: {
3505
3505
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3568,7 +3568,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3568
3568
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3569
3569
  setup(e, { emit: t }) {
3570
3570
  var n;
3571
- const r = t, a = e, i = Et(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = O(!1), p = O(!1), c = O(""), y = w(() => a.canSubmit === !1 || a.isReadonly), f = O(!1), I = w(() => {
3571
+ const r = t, a = e, i = Ot(), { i18n: { t: o } } = le.useI18n(), { getMessageFromError: l } = le.useErrors(), { axiosInstance: s } = le.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = M(!1), p = M(!1), c = M(""), y = w(() => a.canSubmit === !1 || a.isReadonly), f = M(!1), I = w(() => {
3572
3572
  var h, _;
3573
3573
  let d = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3574
3574
  return a.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((h = a.config) == null ? void 0 : h.controlPlaneId) || "") : a.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (_ = a.config) != null && _.workspace ? `/${a.config.workspace}` : "")), a.editId ? (d = d.replace(/{id}/gi, a.editId), d) : (d = d.replace(/\/{id}/gi, ""), d);
@@ -3580,7 +3580,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3580
3580
  r("cancel");
3581
3581
  }, N = () => {
3582
3582
  y.value || r("submit");
3583
- }, Z = O([
3583
+ }, J = M([
3584
3584
  {
3585
3585
  title: o("baseForm.configuration.yaml"),
3586
3586
  hash: "#yaml"
@@ -3596,17 +3596,17 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3596
3596
  if (a.editId)
3597
3597
  try {
3598
3598
  p.value = !1, u.value = !0;
3599
- const { data: h } = await l.get(I.value);
3599
+ const { data: h } = await s.get(I.value);
3600
3600
  r("fetch:success", h);
3601
3601
  } catch (h) {
3602
- const _ = s(h);
3602
+ const _ = l(h);
3603
3603
  c.value = _.startsWith("code") ? o("baseForm.errors.edit") : _, p.value = !0, r("fetch:error", h);
3604
3604
  } finally {
3605
3605
  u.value = !1;
3606
3606
  }
3607
3607
  }), (h, _) => {
3608
- const d = R("KSkeleton"), S = R("KEmptyState"), B = R("KAlert"), x = R("KButton"), G = R("KTabs"), M = R("KSlideout");
3609
- return m(), D(xe(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3608
+ const d = R("KSkeleton"), S = R("KEmptyState"), B = R("KAlert"), x = R("KButton"), G = R("KTabs"), E = R("KSlideout");
3609
+ return m(), D(Ie(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3610
3610
  default: v(() => [
3611
3611
  u.value ? (m(), D(d, {
3612
3612
  key: 0,
@@ -3626,8 +3626,8 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3626
3626
  key: 2,
3627
3627
  "data-testid": "form-content",
3628
3628
  novalidate: a.noValidate,
3629
- onReset: xt(U, ["prevent"]),
3630
- onSubmit: xt(N, ["prevent"])
3629
+ onReset: It(U, ["prevent"]),
3630
+ onSubmit: It(N, ["prevent"])
3631
3631
  }, [
3632
3632
  ne(h.$slots, "default", {}, void 0, !0),
3633
3633
  e.errorMessage ? (m(), D(B, {
@@ -3635,8 +3635,8 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3635
3635
  appearance: "danger",
3636
3636
  "data-testid": "form-error",
3637
3637
  message: e.errorMessage
3638
- }, null, 8, ["message"])) : J("", !0),
3639
- L("div", Ws, [
3638
+ }, null, 8, ["message"])) : W("", !0),
3639
+ L("div", Yl, [
3640
3640
  ne(h.$slots, "form-actions", {}, () => [
3641
3641
  j(x, {
3642
3642
  appearance: "tertiary",
@@ -3644,7 +3644,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3644
3644
  onClick: _[0] || (_[0] = (b) => T())
3645
3645
  }, {
3646
3646
  default: v(() => [
3647
- Y(q(g(o)("baseForm.actions.viewConfiguration")), 1)
3647
+ Z(q(g(o)("baseForm.actions.viewConfiguration")), 1)
3648
3648
  ]),
3649
3649
  _: 1
3650
3650
  }),
@@ -3655,7 +3655,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3655
3655
  type: "reset"
3656
3656
  }, {
3657
3657
  default: v(() => [
3658
- Y(q(g(o)("baseForm.actions.cancel")), 1)
3658
+ Z(q(g(o)("baseForm.actions.cancel")), 1)
3659
3659
  ]),
3660
3660
  _: 1
3661
3661
  }, 8, ["disabled"]),
@@ -3666,14 +3666,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3666
3666
  type: "submit"
3667
3667
  }, {
3668
3668
  default: v(() => [
3669
- Y(q(g(o)("baseForm.actions.save")), 1)
3669
+ Z(q(g(o)("baseForm.actions.save")), 1)
3670
3670
  ]),
3671
3671
  _: 1
3672
3672
  }, 8, ["disabled"])
3673
3673
  ], !0)
3674
3674
  ])
3675
- ], 40, Zs)),
3676
- j(M, {
3675
+ ], 40, Wl)),
3676
+ j(E, {
3677
3677
  "close-on-blur": !1,
3678
3678
  "data-testid": "form-view-configuration-slideout",
3679
3679
  "has-overlay": !1,
@@ -3686,7 +3686,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3686
3686
  L("div", null, q(g(o)("baseForm.configuration.message")), 1),
3687
3687
  j(G, {
3688
3688
  "data-testid": "form-view-configuration-slideout-tabs",
3689
- tabs: Z.value
3689
+ tabs: J.value
3690
3690
  }, {
3691
3691
  json: v(() => [
3692
3692
  j(Tn, {
@@ -3711,7 +3711,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3711
3711
  });
3712
3712
  };
3713
3713
  }
3714
- }), Qs = /* @__PURE__ */ Ce(Ys, [["__scopeId", "data-v-fd05df8e"]]), Xs = ["data-truncate"], el = /* @__PURE__ */ X({
3714
+ }), Ql = /* @__PURE__ */ Ce(Zl, [["__scopeId", "data-v-fd05df8e"]]), Xl = ["data-truncate"], es = /* @__PURE__ */ X({
3715
3715
  __name: "EntityBaseTableCell",
3716
3716
  props: {
3717
3717
  keyName: {
@@ -3740,23 +3740,23 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3740
3740
  return N ? ((U = N[0]) == null ? void 0 : U.getAttribute("data-testid")) === t.keyName : !0;
3741
3741
  }), i = w(() => a.value || t.tooltip);
3742
3742
  let o;
3743
- const s = () => {
3743
+ const l = () => {
3744
3744
  o && (o.disconnect(), o = void 0);
3745
- }, l = () => {
3745
+ }, s = () => {
3746
3746
  var k, U, N;
3747
- let Z = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3747
+ let J = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3748
3748
  if (n.value && "getComputedStyle" in window) {
3749
3749
  const h = window.getComputedStyle(n.value);
3750
- Z -= (parseFloat(h.paddingLeft) || 0) + (parseFloat(h.paddingRight) || 0);
3750
+ J -= (parseFloat(h.paddingLeft) || 0) + (parseFloat(h.paddingRight) || 0);
3751
3751
  }
3752
- p.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = Z, y.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3753
- }, u = O({}), p = O(0), c = O(0), y = O(""), f = w(() => [r.value, n.value]), I = $e(
3752
+ p.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = J, y.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3753
+ }, u = M({}), p = M(0), c = M(0), y = M(""), f = w(() => [r.value, n.value]), I = $e(
3754
3754
  f,
3755
3755
  (k) => {
3756
- if (i.value && (s(), "ResizeObserver" in window && window)) {
3756
+ if (i.value && (l(), "ResizeObserver" in window && window)) {
3757
3757
  o = new ResizeObserver((U) => {
3758
3758
  window.requestAnimationFrame(() => {
3759
- !Array.isArray(U) || !U.length || l();
3759
+ !Array.isArray(U) || !U.length || s();
3760
3760
  });
3761
3761
  });
3762
3762
  for (const U of k)
@@ -3765,9 +3765,9 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3765
3765
  },
3766
3766
  { immediate: !0, flush: "post", deep: !0 }
3767
3767
  ), T = w(() => i.value ? p.value > c.value : !1);
3768
- return Ir(() => {
3769
- l();
3770
- }), xr(() => {
3768
+ return Sr(() => {
3769
+ s();
3770
+ }), Ir(() => {
3771
3771
  I();
3772
3772
  }), (k, U) => {
3773
3773
  const N = R("KTooltip");
@@ -3790,14 +3790,14 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3790
3790
  ]),
3791
3791
  _: 3
3792
3792
  }, 8, ["text"])
3793
- ], 8, Xs)) : ne(k.$slots, "default", { key: 1 }, void 0, !0)
3793
+ ], 8, Xl)) : ne(k.$slots, "default", { key: 1 }, void 0, !0)
3794
3794
  ], 512);
3795
3795
  };
3796
3796
  }
3797
- }), tl = /* @__PURE__ */ Ce(el, [["__scopeId", "data-v-b252463e"]]), nl = { class: "toolbar-container" }, rl = {
3797
+ }), ts = /* @__PURE__ */ Ce(es, [["__scopeId", "data-v-b252463e"]]), ns = { class: "toolbar-container" }, rs = {
3798
3798
  key: 0,
3799
3799
  class: "toolbar-button-container"
3800
- }, al = ["data-testid"], ol = /* @__PURE__ */ X({
3800
+ }, as = ["data-testid"], os = /* @__PURE__ */ X({
3801
3801
  __name: "EntityBaseTable",
3802
3802
  props: {
3803
3803
  // table header configuration
@@ -3915,7 +3915,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3915
3915
  },
3916
3916
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3917
3917
  setup(e, { emit: t }) {
3918
- const n = e, r = t, { i18n: { t: a } } = se.useI18n(), i = w(() => {
3918
+ const n = e, r = t, { i18n: { t: a } } = le.useI18n(), i = w(() => {
3919
3919
  var d, S;
3920
3920
  return typeof n.errorMessage == "string" ? {
3921
3921
  hasError: !!n.errorMessage,
@@ -3926,7 +3926,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3926
3926
  title: (d = n.errorMessage) == null ? void 0 : d.title,
3927
3927
  message: (S = n.errorMessage) == null ? void 0 : S.message
3928
3928
  };
3929
- }), o = w(() => n.cacheIdentifier || n.preferencesStorageKey), s = (d) => d.hasData || !!n.query, l = w(() => {
3929
+ }), o = w(() => n.cacheIdentifier || n.preferencesStorageKey), l = (d) => d.hasData || !!n.query, s = w(() => {
3930
3930
  const d = [];
3931
3931
  return Object.keys(n.tableHeaders).forEach((S) => {
3932
3932
  const B = n.tableHeaders[S];
@@ -3934,7 +3934,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3934
3934
  label: B.label ?? S,
3935
3935
  key: S,
3936
3936
  sortable: B.sortable ?? !1,
3937
- hidable: !0
3937
+ hidable: B.hidable ?? !0
3938
3938
  });
3939
3939
  }), n.enableEntityActions && d.push({
3940
3940
  key: "actions",
@@ -3944,7 +3944,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3944
3944
  "data-rowid": d.id,
3945
3945
  "data-testid": d.name,
3946
3946
  ...n.rowAttributes(d)
3947
- }), p = O({}), c = (d) => {
3947
+ }), p = M({}), c = (d) => {
3948
3948
  var S;
3949
3949
  return (S = p.value) == null ? void 0 : S.$el.querySelector(`[data-rowid="${d.id}"]`);
3950
3950
  }, y = (d) => {
@@ -3965,18 +3965,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3965
3965
  r("click:row", S);
3966
3966
  }), k = (d) => {
3967
3967
  r("sort", d);
3968
- }, { setTablePreferences: U, getTablePreferences: N } = Dr(), Z = O(N(o.value)), h = w(() => {
3968
+ }, { setTablePreferences: U, getTablePreferences: N } = Dr(), J = M(N(o.value)), h = w(() => {
3969
3969
  const d = N(o.value);
3970
3970
  return {
3971
3971
  ...n.initialFetcherParams,
3972
3972
  ...d
3973
3973
  };
3974
3974
  }), _ = (d) => {
3975
- Z.value = d, o.value && U(o.value, d);
3975
+ J.value = d, s.value.forEach((S) => {
3976
+ !("hidable" in S) || !J.value.columnVisibility || S.hidable === !1 && (J.value.columnVisibility[S.key] = !0);
3977
+ }), o.value && U(o.value, d);
3976
3978
  };
3977
3979
  return (d, S) => {
3978
- const B = R("KButton"), x = R("KDropdown"), G = R("KTable"), M = R("KCard");
3979
- return m(), D(M, {
3980
+ const B = R("KButton"), x = R("KDropdown"), G = R("KTable"), E = R("KCard");
3981
+ return m(), D(E, {
3980
3982
  class: "kong-ui-entity-base-table",
3981
3983
  title: e.title,
3982
3984
  "title-tag": e.titleTag
@@ -3999,7 +4001,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3999
4001
  "error-state-title": i.value.title,
4000
4002
  fetcher: e.fetcher,
4001
4003
  "fetcher-cache-key": String(e.fetcherCacheKey),
4002
- headers: l.value,
4004
+ headers: s.value,
4003
4005
  "hide-pagination-when-optional": "",
4004
4006
  "initial-fetcher-params": h.value,
4005
4007
  loading: e.isLoading,
@@ -4009,20 +4011,20 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4009
4011
  "search-input": e.query,
4010
4012
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
4011
4013
  sortable: !e.disableSorting,
4012
- "table-preferences": Z.value,
4014
+ "table-preferences": J.value,
4013
4015
  onEmptyStateActionClick: f,
4014
4016
  "onRow:click": T.value,
4015
4017
  onSort: S[0] || (S[0] = (b) => k(b)),
4016
4018
  "onUpdate:tablePreferences": _
4017
4019
  }, Be({
4018
4020
  toolbar: v(({ state: b }) => [
4019
- Ne(L("div", nl, [
4021
+ Ne(L("div", ns, [
4020
4022
  ne(d.$slots, "toolbar-filter", {}, void 0, !0),
4021
- d.$slots["toolbar-button"] ? (m(), $("div", rl, [
4023
+ d.$slots["toolbar-button"] ? (m(), $("div", rs, [
4022
4024
  ne(d.$slots, "toolbar-button", {}, void 0, !0)
4023
- ])) : J("", !0)
4025
+ ])) : W("", !0)
4024
4026
  ], 512), [
4025
- [je, s(b)]
4027
+ [je, l(b)]
4026
4028
  ])
4027
4029
  ]),
4028
4030
  actions: v(({ row: b, rowKey: K, rowValue: F }) => [
@@ -4050,21 +4052,21 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4050
4052
  size: "small"
4051
4053
  }, {
4052
4054
  default: v(() => [
4053
- j(g(Vs))
4055
+ j(g(Pl))
4054
4056
  ]),
4055
4057
  _: 1
4056
4058
  })
4057
4059
  ]),
4058
4060
  _: 2
4059
4061
  }, 1032, ["width"])
4060
- ], 8, al)
4062
+ ], 8, as)
4061
4063
  ]),
4062
4064
  _: 2
4063
4065
  }, [
4064
4066
  ve(e.tableHeaders, (b, K) => ({
4065
4067
  name: K,
4066
4068
  fn: v(({ row: F, rowKey: H, rowValue: te }) => [
4067
- j(tl, {
4069
+ j(ts, {
4068
4070
  "key-name": String(K),
4069
4071
  "row-el": c(F),
4070
4072
  tooltip: b.tooltip
@@ -4075,7 +4077,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4075
4077
  rowKey: H,
4076
4078
  rowValue: te
4077
4079
  }, () => [
4078
- Y(q(te), 1)
4080
+ Z(q(te), 1)
4079
4081
  ], !0)
4080
4082
  ]),
4081
4083
  _: 2
@@ -4085,7 +4087,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4085
4087
  e.query ? void 0 : {
4086
4088
  name: "empty-state-action-icon",
4087
4089
  fn: v(() => [
4088
- j(g(vs))
4090
+ j(g(vl))
4089
4091
  ]),
4090
4092
  key: "0"
4091
4093
  }
@@ -4095,13 +4097,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4095
4097
  }, 8, ["title", "title-tag"]);
4096
4098
  };
4097
4099
  }
4098
- }), il = /* @__PURE__ */ Ce(ol, [["__scopeId", "data-v-940ccab7"]]), sl = {
4100
+ }), is = /* @__PURE__ */ Ce(os, [["__scopeId", "data-v-71b4425a"]]), ls = {
4099
4101
  key: 0,
4100
4102
  class: "kong-ui-entity-delete-error"
4101
- }, ll = {
4103
+ }, ss = {
4102
4104
  key: 1,
4103
4105
  class: "description"
4104
- }, ul = /* @__PURE__ */ X({
4106
+ }, us = /* @__PURE__ */ X({
4105
4107
  __name: "EntityDeleteModal",
4106
4108
  props: {
4107
4109
  visible: {
@@ -4140,12 +4142,12 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4140
4142
  },
4141
4143
  emits: ["cancel", "proceed"],
4142
4144
  setup(e, { emit: t }) {
4143
- const { i18nT: n } = se.useI18n(), r = e, a = t, i = w(() => r.needConfirm ? r.entityName : ""), o = () => {
4145
+ const { i18nT: n } = le.useI18n(), r = e, a = t, i = w(() => r.needConfirm ? r.entityName : ""), o = () => {
4144
4146
  a("cancel");
4145
- }, s = () => {
4147
+ }, l = () => {
4146
4148
  a("proceed");
4147
4149
  };
4148
- return (l, u) => {
4150
+ return (s, u) => {
4149
4151
  const p = R("KAlert"), c = R("KPrompt");
4150
4152
  return m(), D(c, {
4151
4153
  "action-button-appearance": "danger",
@@ -4156,24 +4158,24 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4156
4158
  title: e.title,
4157
4159
  visible: e.visible,
4158
4160
  onCancel: o,
4159
- onProceed: s
4161
+ onProceed: l
4160
4162
  }, {
4161
4163
  default: v(() => [
4162
- e.error ? (m(), $("div", sl, [
4164
+ e.error ? (m(), $("div", ls, [
4163
4165
  j(p, { appearance: "danger" }, {
4164
4166
  default: v(() => [
4165
- Y(q(e.error), 1)
4167
+ Z(q(e.error), 1)
4166
4168
  ]),
4167
4169
  _: 1
4168
4170
  })
4169
- ])) : J("", !0),
4171
+ ])) : W("", !0),
4170
4172
  j(g(n), {
4171
4173
  class: "message",
4172
4174
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4173
4175
  tag: "p"
4174
4176
  }, Be({
4175
4177
  entityType: v(() => [
4176
- Y(q(r.entityType), 1)
4178
+ Z(q(r.entityType), 1)
4177
4179
  ]),
4178
4180
  _: 2
4179
4181
  }, [
@@ -4185,23 +4187,23 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4185
4187
  key: "0"
4186
4188
  } : void 0
4187
4189
  ]), 1032, ["keypath"]),
4188
- r.description || l.$slots.description ? (m(), $("div", ll, [
4189
- ne(l.$slots, "description", {}, () => [
4190
+ r.description || s.$slots.description ? (m(), $("div", ss, [
4191
+ ne(s.$slots, "description", {}, () => [
4190
4192
  L("p", null, q(r.description), 1)
4191
4193
  ], !0)
4192
- ])) : J("", !0)
4194
+ ])) : W("", !0)
4193
4195
  ]),
4194
4196
  _: 3
4195
4197
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4196
4198
  };
4197
4199
  }
4198
- }), cl = /* @__PURE__ */ Ce(ul, [["__scopeId", "data-v-4361d622"]]), dl = {
4200
+ }), cs = /* @__PURE__ */ Ce(us, [["__scopeId", "data-v-4361d622"]]), ds = {
4199
4201
  fill: "none",
4200
4202
  height: "20",
4201
4203
  viewBox: "0 0 20 20",
4202
4204
  width: "20",
4203
4205
  xmlns: "http://www.w3.org/2000/svg"
4204
- }, pl = {
4206
+ }, ps = {
4205
4207
  id: "mask0_180_20349",
4206
4208
  height: "20",
4207
4209
  maskUnits: "userSpaceOnUse",
@@ -4209,7 +4211,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4209
4211
  width: "20",
4210
4212
  x: "0",
4211
4213
  y: "0"
4212
- }, fl = ["fill"], ml = { mask: "url(#mask0_180_20349)" }, gl = ["fill"], yn = /* @__PURE__ */ X({
4214
+ }, fs = ["fill"], ms = { mask: "url(#mask0_180_20349)" }, gs = ["fill"], yn = /* @__PURE__ */ X({
4213
4215
  __name: "IconFilter",
4214
4216
  props: {
4215
4217
  color: {
@@ -4218,26 +4220,26 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4218
4220
  }
4219
4221
  },
4220
4222
  setup(e) {
4221
- return (t, n) => (m(), $("svg", dl, [
4222
- L("mask", pl, [
4223
+ return (t, n) => (m(), $("svg", ds, [
4224
+ L("mask", ps, [
4223
4225
  L("rect", {
4224
4226
  fill: e.color,
4225
4227
  height: "20",
4226
4228
  width: "20"
4227
- }, null, 8, fl)
4229
+ }, null, 8, fs)
4228
4230
  ]),
4229
- L("g", ml, [
4231
+ L("g", ms, [
4230
4232
  L("path", {
4231
4233
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4232
4234
  fill: e.color
4233
- }, null, 8, gl)
4235
+ }, null, 8, gs)
4234
4236
  ])
4235
4237
  ]));
4236
4238
  }
4237
- }), yl = {
4239
+ }), ys = {
4238
4240
  key: 1,
4239
4241
  class: "kong-ui-entity-filter"
4240
- }, hl = { class: "kong-ui-entity-filter-menu" }, vl = ["data-testid"], bl = ["onClick", "onKeydown"], Cl = { class: "menu-item-indicator" }, kl = { class: "menu-item-body" }, wl = ["for"], _l = { class: "menu-item-buttons" }, Il = { class: "filter-clear-button-container" }, xl = /* @__PURE__ */ X({
4242
+ }, hs = { class: "kong-ui-entity-filter-menu" }, vs = ["data-testid"], bs = ["onClick", "onKeydown"], Cs = { class: "menu-item-indicator" }, ks = { class: "menu-item-body" }, ws = ["for"], _s = { class: "menu-item-buttons" }, Ss = { class: "filter-clear-button-container" }, Is = /* @__PURE__ */ X({
4241
4243
  __name: "EntityFilter",
4242
4244
  props: {
4243
4245
  // filter config, either exact match or fuzzy match
@@ -4257,7 +4259,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4257
4259
  },
4258
4260
  emits: ["update:modelValue"],
4259
4261
  setup(e, { emit: t }) {
4260
- const { i18n: { t: n } } = se.useI18n(), r = e, a = t, i = O(!1), o = O({}), s = O(/* @__PURE__ */ new Set()), l = w(() => {
4262
+ const { i18n: { t: n } } = le.useI18n(), r = e, a = t, i = M(!1), o = M({}), l = M(/* @__PURE__ */ new Set()), s = w(() => {
4261
4263
  const h = [];
4262
4264
  return new URLSearchParams(r.modelValue).forEach((_, d) => {
4263
4265
  _ !== "" && h.push(d);
@@ -4281,7 +4283,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4281
4283
  const p = () => {
4282
4284
  i.value = !i.value;
4283
4285
  }, c = (h) => {
4284
- s.value.has(h) ? s.value.delete(h) : s.value.add(h);
4286
+ l.value.has(h) ? l.value.delete(h) : l.value.add(h);
4285
4287
  }, y = (h) => {
4286
4288
  a("update:modelValue", h);
4287
4289
  }, f = () => {
@@ -4299,10 +4301,10 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4299
4301
  o.value = {
4300
4302
  ...o.value,
4301
4303
  [h]: ""
4302
- }, Z();
4304
+ }, J();
4303
4305
  }, N = () => {
4304
- o.value = {}, Z(!0);
4305
- }, Z = (h = !1) => {
4306
+ o.value = {}, J(!0);
4307
+ }, J = (h = !1) => {
4306
4308
  const _ = Object.keys(o.value).reduce((d, S) => (o.value[S] && (d[S] = `${o.value[S]}`), d), {});
4307
4309
  h && (i.value = !1), a("update:modelValue", new URLSearchParams(_).toString());
4308
4310
  };
@@ -4321,7 +4323,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4321
4323
  j(yn)
4322
4324
  ]),
4323
4325
  after: v(() => [
4324
- Ne(j(g(qs), {
4326
+ Ne(j(g(ql), {
4325
4327
  class: "kong-ui-entity-filter-clear",
4326
4328
  onClick: f
4327
4329
  }, null, 512), [
@@ -4329,7 +4331,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4329
4331
  ])
4330
4332
  ]),
4331
4333
  _: 1
4332
- }, 8, ["model-value", "placeholder"])) : (m(), $("div", yl, [
4334
+ }, 8, ["model-value", "placeholder"])) : (m(), $("div", ys, [
4333
4335
  j(S, {
4334
4336
  appearance: "tertiary",
4335
4337
  "data-testid": "filter-button",
@@ -4337,7 +4339,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4337
4339
  }, {
4338
4340
  default: v(() => [
4339
4341
  j(yn),
4340
- Y(" " + q(g(n)("filter.filterButtonText")) + " " + q(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4342
+ Z(" " + q(g(n)("filter.filterButtonText")) + " " + q(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4341
4343
  ]),
4342
4344
  _: 1
4343
4345
  }),
@@ -4347,36 +4349,36 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4347
4349
  }, null, 512), [
4348
4350
  [je, i.value]
4349
4351
  ]),
4350
- Ne(L("div", hl, [
4352
+ Ne(L("div", hs, [
4351
4353
  (m(!0), $(be, null, ve(u.value, (x) => {
4352
- var G, M;
4354
+ var G, E;
4353
4355
  return m(), $("div", {
4354
4356
  key: x.value,
4355
4357
  class: "kong-ui-entity-filter-menu-item",
4356
4358
  "data-testid": x.value
4357
4359
  }, [
4358
4360
  L("span", {
4359
- class: Me(["menu-item-title", { expanded: s.value.has(x.value) }]),
4361
+ class: Ee(["menu-item-title", { expanded: l.value.has(x.value) }]),
4360
4362
  role: "button",
4361
4363
  tabindex: "0",
4362
4364
  onClick: (b) => c(x.value),
4363
4365
  onKeydown: wr((b) => c(x.value), ["enter"])
4364
4366
  }, [
4365
- Y(q(x.label) + " ", 1),
4366
- Ne(L("span", Cl, null, 512), [
4367
- [je, l.value.includes(x.value)]
4367
+ Z(q(x.label) + " ", 1),
4368
+ Ne(L("span", Cs, null, 512), [
4369
+ [je, s.value.includes(x.value)]
4368
4370
  ]),
4369
- j(g(Ns), {
4370
- class: Me(["menu-item-expand-icon", { expanded: s.value.has(x.value) }]),
4371
+ j(g(Nl), {
4372
+ class: Ee(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
4371
4373
  color: g(_a)
4372
4374
  }, null, 8, ["class", "color"])
4373
- ], 42, bl),
4374
- Ne(L("div", kl, [
4375
+ ], 42, bs),
4376
+ Ne(L("div", ks, [
4375
4377
  L("label", {
4376
4378
  class: "menu-item-label",
4377
4379
  for: I(x.value)
4378
- }, q(g(n)("filter.fieldLabel")), 9, wl),
4379
- ((M = (G = e.config.schema) == null ? void 0 : G[x.value]) == null ? void 0 : M.type) === "select" ? (m(), D(B, {
4380
+ }, q(g(n)("filter.fieldLabel")), 9, ws),
4381
+ ((E = (G = e.config.schema) == null ? void 0 : G[x.value]) == null ? void 0 : E.type) === "select" ? (m(), D(B, {
4380
4382
  key: 0,
4381
4383
  id: I(x.value),
4382
4384
  modelValue: o.value[x.value],
@@ -4393,17 +4395,17 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4393
4395
  type: k(x.value)
4394
4396
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4395
4397
  ], 512), [
4396
- [je, s.value.has(x.value)]
4398
+ [je, l.value.has(x.value)]
4397
4399
  ]),
4398
- Ne(L("div", _l, [
4400
+ Ne(L("div", _s, [
4399
4401
  j(S, {
4400
4402
  appearance: "tertiary",
4401
4403
  "data-testid": "apply-filter",
4402
4404
  size: "small",
4403
- onClick: _[0] || (_[0] = (b) => Z(!0))
4405
+ onClick: _[0] || (_[0] = (b) => J(!0))
4404
4406
  }, {
4405
4407
  default: v(() => [
4406
- Y(q(g(n)("filter.applyButtonText")), 1)
4408
+ Z(q(g(n)("filter.applyButtonText")), 1)
4407
4409
  ]),
4408
4410
  _: 1
4409
4411
  }),
@@ -4414,23 +4416,23 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4414
4416
  onClick: (b) => U(x.value)
4415
4417
  }, {
4416
4418
  default: v(() => [
4417
- Y(q(g(n)("filter.clearButtonText")), 1)
4419
+ Z(q(g(n)("filter.clearButtonText")), 1)
4418
4420
  ]),
4419
4421
  _: 2
4420
4422
  }, 1032, ["onClick"])
4421
4423
  ], 512), [
4422
- [je, s.value.has(x.value)]
4424
+ [je, l.value.has(x.value)]
4423
4425
  ])
4424
- ], 8, vl);
4426
+ ], 8, vs);
4425
4427
  }), 128)),
4426
- L("div", Il, [
4428
+ L("div", Ss, [
4427
4429
  j(S, {
4428
4430
  appearance: "tertiary",
4429
4431
  size: "small",
4430
4432
  onClick: N
4431
4433
  }, {
4432
4434
  default: v(() => [
4433
- Y(q(g(n)("filter.clearAllButtonText")), 1)
4435
+ Z(q(g(n)("filter.clearAllButtonText")), 1)
4434
4436
  ]),
4435
4437
  _: 1
4436
4438
  })
@@ -4441,7 +4443,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4441
4443
  ]));
4442
4444
  };
4443
4445
  }
4444
- }), Sl = /* @__PURE__ */ Ce(xl, [["__scopeId", "data-v-94990087"]]), st = /* @__PURE__ */ X({
4446
+ }), xs = /* @__PURE__ */ Ce(Is, [["__scopeId", "data-v-94990087"]]), lt = /* @__PURE__ */ X({
4445
4447
  __name: "PermissionsWrapper",
4446
4448
  props: {
4447
4449
  /**
@@ -4463,51 +4465,51 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4463
4465
  }
4464
4466
  },
4465
4467
  setup(e) {
4466
- const t = e, n = O(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4468
+ const t = e, n = M(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4467
4469
  return $e(() => t.authFunction, async () => {
4468
4470
  n.value = await t.authFunction();
4469
4471
  }, { immediate: !0 }), (a, i) => r.value ? ne(a.$slots, "default", {
4470
4472
  key: 0,
4471
4473
  isAllowed: n.value
4472
- }) : J("", !0);
4474
+ }) : W("", !0);
4473
4475
  }
4474
4476
  });
4475
- let lt;
4476
- const Al = new Uint8Array(16);
4477
- function $l() {
4478
- if (!lt && (lt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !lt))
4477
+ let st;
4478
+ const As = new Uint8Array(16);
4479
+ function $s() {
4480
+ if (!st && (st = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !st))
4479
4481
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4480
- return lt(Al);
4482
+ return st(As);
4481
4483
  }
4482
4484
  const ue = [];
4483
4485
  for (let e = 0; e < 256; ++e)
4484
4486
  ue.push((e + 256).toString(16).slice(1));
4485
- function Tl(e, t = 0) {
4487
+ function Ts(e, t = 0) {
4486
4488
  return ue[e[t + 0]] + ue[e[t + 1]] + ue[e[t + 2]] + ue[e[t + 3]] + "-" + ue[e[t + 4]] + ue[e[t + 5]] + "-" + ue[e[t + 6]] + ue[e[t + 7]] + "-" + ue[e[t + 8]] + ue[e[t + 9]] + "-" + ue[e[t + 10]] + ue[e[t + 11]] + ue[e[t + 12]] + ue[e[t + 13]] + ue[e[t + 14]] + ue[e[t + 15]];
4487
4489
  }
4488
- const Nl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), hn = {
4489
- randomUUID: Nl
4490
+ const Ns = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), hn = {
4491
+ randomUUID: Ns
4490
4492
  };
4491
- function jl(e, t, n) {
4493
+ function js(e, t, n) {
4492
4494
  if (hn.randomUUID && !t && !e)
4493
4495
  return hn.randomUUID();
4494
4496
  e = e || {};
4495
- const r = e.random || (e.rng || $l)();
4497
+ const r = e.random || (e.rng || $s)();
4496
4498
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
4497
4499
  n = n || 0;
4498
4500
  for (let a = 0; a < 16; ++a)
4499
4501
  t[n + a] = r[a];
4500
4502
  return t;
4501
4503
  }
4502
- return Tl(r);
4504
+ return Ts(r);
4503
4505
  }
4504
- const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4506
+ const Os = ["aria-labelledby"], Ms = { class: "form-section-wrapper" }, Es = {
4505
4507
  key: 1,
4506
4508
  class: "form-section-description"
4507
- }, Fl = {
4509
+ }, Fs = {
4508
4510
  key: 2,
4509
4511
  class: "form-section-footer"
4510
- }, ql = { class: "form-section-content" }, Kl = /* @__PURE__ */ X({
4512
+ }, qs = { class: "form-section-content" }, Ks = /* @__PURE__ */ X({
4511
4513
  __name: "EntityFormSection",
4512
4514
  props: {
4513
4515
  title: {
@@ -4536,46 +4538,46 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4536
4538
  }
4537
4539
  },
4538
4540
  setup(e) {
4539
- const t = jt(), n = jl();
4541
+ const t = jt(), n = js();
4540
4542
  return (r, a) => (m(), $("div", {
4541
4543
  "aria-labelledby": e.title ? g(n) : void 0,
4542
- class: Me(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4544
+ class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4543
4545
  role: "group"
4544
4546
  }, [
4545
- L("div", Ol, [
4546
- e.hideInfoHeader ? J("", !0) : (m(), $("div", {
4547
+ L("div", Ms, [
4548
+ e.hideInfoHeader ? W("", !0) : (m(), $("div", {
4547
4549
  key: 0,
4548
- class: Me(["form-section-info", { sticky: e.stickyInfoHeader }])
4550
+ class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
4549
4551
  }, [
4550
- e.title ? (m(), D(xe(e.titleTag), {
4552
+ e.title ? (m(), D(Ie(e.titleTag), {
4551
4553
  key: 0,
4552
4554
  id: g(n),
4553
4555
  class: "form-section-title"
4554
4556
  }, {
4555
4557
  default: v(() => [
4556
- Y(q(e.title), 1)
4558
+ Z(q(e.title), 1)
4557
4559
  ]),
4558
4560
  _: 1
4559
- }, 8, ["id"])) : J("", !0),
4560
- e.description || g(t).description ? (m(), $("div", Ml, [
4561
+ }, 8, ["id"])) : W("", !0),
4562
+ e.description || g(t).description ? (m(), $("div", Es, [
4561
4563
  ne(r.$slots, "description", {}, () => [
4562
4564
  L("p", null, q(e.description), 1)
4563
4565
  ], !0)
4564
- ])) : J("", !0),
4565
- g(t).footer ? (m(), $("div", Fl, [
4566
+ ])) : W("", !0),
4567
+ g(t).footer ? (m(), $("div", Fs, [
4566
4568
  ne(r.$slots, "footer", {}, void 0, !0)
4567
- ])) : J("", !0)
4569
+ ])) : W("", !0)
4568
4570
  ], 2)),
4569
- L("div", ql, [
4571
+ L("div", qs, [
4570
4572
  ne(r.$slots, "default", {}, void 0, !0)
4571
4573
  ])
4572
4574
  ])
4573
- ], 10, El));
4575
+ ], 10, Os));
4574
4576
  }
4575
- }), vn = /* @__PURE__ */ Ce(Kl, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ut, useDeleteUrlBuilder: Bl, useErrors: Ll, useExternalLinkCreator: lu, useFetchUrlBuilder: uu, useFetcher: Ul, useDebouncedFilter: vr, useStringHelpers: cu, useHelpers: du, useGatewayFeatureSupported: pu, useTruncationDetector: fu, useValidators: Pl } = se, Vl = { class: "add-to-group-form-container" }, Rl = { class: "add-to-group-cta-text" }, Dl = {
4577
+ }), vn = /* @__PURE__ */ Ce(Ks, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ut, useDeleteUrlBuilder: Bs, useErrors: Ls, useExternalLinkCreator: su, useFetchUrlBuilder: uu, useFetcher: Us, useDebouncedFilter: vr, useStringHelpers: cu, useHelpers: du, useGatewayFeatureSupported: pu, useTruncationDetector: fu, useValidators: Vs } = le, Ps = { class: "add-to-group-form-container" }, Rs = { class: "add-to-group-cta-text" }, Ds = {
4576
4578
  key: 0,
4577
4579
  class: "kong-ui-entity-add-to-groups-error"
4578
- }, zl = { key: 0 }, Gl = /* @__PURE__ */ X({
4580
+ }, zs = { key: 0 }, Gs = /* @__PURE__ */ X({
4579
4581
  __name: "AddToGroupModal",
4580
4582
  props: {
4581
4583
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4592,23 +4594,23 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4592
4594
  },
4593
4595
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4594
4596
  setup(e, { emit: t }) {
4595
- var M;
4596
- const { i18n: { t: n } } = yt.useI18n(), r = e, a = t, { axiosInstance: i } = Ut((M = r.config) == null ? void 0 : M.axiosRequestConfig), o = O([]), {
4597
- debouncedQueryChange: s,
4598
- loading: l,
4597
+ var E;
4598
+ const { i18n: { t: n } } = yt.useI18n(), r = e, a = t, { axiosInstance: i } = Ut((E = r.config) == null ? void 0 : E.axiosRequestConfig), o = M([]), {
4599
+ debouncedQueryChange: l,
4600
+ loading: s,
4599
4601
  allRecords: u,
4600
4602
  error: p,
4601
4603
  loadItems: c,
4602
4604
  results: y
4603
4605
  } = vr(
4604
4606
  r.config,
4605
- Ee.list[r.config.app].all,
4607
+ Oe.list[r.config.app].all,
4606
4608
  "",
4607
4609
  {
4608
4610
  fetchedItemsKey: "data",
4609
4611
  searchKeys: ["name", "id"]
4610
4612
  }
4611
- ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), I = O(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4613
+ ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), I = M(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4612
4614
  label: b.name,
4613
4615
  value: b.id,
4614
4616
  selected: o.value.includes(b.id),
@@ -4619,19 +4621,19 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4619
4621
  const K = T.value ? y.value.find((H) => H.id === b) : (F = u.value) == null ? void 0 : F.find((H) => H.id === b);
4620
4622
  return K ? K.name : b;
4621
4623
  }, N = () => {
4622
- _.value = "", Z.value = [], x.value = [], a("cancel");
4623
- }, Z = O([]), h = O(!1), _ = O(""), d = async () => {
4624
+ _.value = "", J.value = [], x.value = [], a("cancel");
4625
+ }, J = M([]), h = M(!1), _ = M(""), d = async () => {
4624
4626
  if (!o.value.length) {
4625
4627
  _.value = "", x.value = [], a("cancel");
4626
4628
  return;
4627
4629
  }
4628
- h.value = !0, _.value = "", Z.value = [], x.value = [];
4630
+ h.value = !0, _.value = "", J.value = [], x.value = [];
4629
4631
  try {
4630
4632
  const b = o.value.map((H) => B(H)), K = await Promise.allSettled(b);
4631
4633
  let F = !0;
4632
4634
  K.forEach((H) => {
4633
4635
  H.status !== "fulfilled" && (F = !1);
4634
- }), F ? (Z.value = [], x.value = [], a("add:success", o.value), o.value = []) : (Z.value.length && a("add:partial-success", Z.value), o.value = [], G(K));
4636
+ }), F ? (J.value = [], x.value = [], a("add:success", o.value), o.value = []) : (J.value.length && a("add:partial-success", J.value), o.value = [], G(K));
4635
4637
  } catch {
4636
4638
  _.value = n("consumer_groups.errors.add"), a("error", _.value);
4637
4639
  } finally {
@@ -4639,7 +4641,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4639
4641
  }
4640
4642
  }, S = w(() => {
4641
4643
  var K, F, H, te;
4642
- let b = `${r.config.apiBaseUrl}${Ee.list[r.config.app].forConsumer}`;
4644
+ let b = `${r.config.apiBaseUrl}${Oe.list[r.config.app].forConsumer}`;
4643
4645
  return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((K = r.config) == null ? void 0 : K.controlPlaneId) || "").replace(/{consumerId}/gi, ((F = r.config) == null ? void 0 : F.consumerId) || "") : r.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (H = r.config) != null && H.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((te = r.config) == null ? void 0 : te.consumerId) || "")), b;
4644
4646
  }), B = async (b) => {
4645
4647
  const K = {
@@ -4647,12 +4649,12 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4647
4649
  };
4648
4650
  try {
4649
4651
  const F = await i.post(S.value, K);
4650
- return Z.value.push(b), F;
4652
+ return J.value.push(b), F;
4651
4653
  } catch (F) {
4652
4654
  let H = `${U(b)} - ${F.message}`;
4653
4655
  return F.response.status === 409 && (H = `${U(b)} - ${n("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4654
4656
  }
4655
- }, x = O([]), G = (b) => {
4657
+ }, x = M([]), G = (b) => {
4656
4658
  x.value = b.map((K) => {
4657
4659
  var F;
4658
4660
  return (F = K.reason) == null ? void 0 : F.message;
@@ -4674,8 +4676,8 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4674
4676
  onProceed: d
4675
4677
  }, {
4676
4678
  default: v(() => [
4677
- L("div", Vl, [
4678
- L("p", Rl, q(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
+ L("div", Ps, [
4680
+ L("p", Rs, q(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
4681
  j(F, {
4680
4682
  modelValue: o.value,
4681
4683
  "onUpdate:modelValue": K[0] || (K[0] = (de) => o.value = de),
@@ -4684,37 +4686,37 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4684
4686
  "dropdown-footer-text": T.value ? g(n)("consumer_groups.consumers.add.footer") : void 0,
4685
4687
  items: k.value,
4686
4688
  label: g(n)("consumer_groups.consumers.add.consumer_groups_label"),
4687
- loading: g(l),
4689
+ loading: g(s),
4688
4690
  placeholder: g(n)("consumer_groups.consumers.add.consumer_group_placeholder"),
4689
4691
  readonly: h.value,
4690
4692
  required: "",
4691
4693
  width: "100%",
4692
- onQueryChange: g(s)
4694
+ onQueryChange: g(l)
4693
4695
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4694
- _.value || f.value || x.value.length ? (m(), $("div", Dl, [
4696
+ _.value || f.value || x.value.length ? (m(), $("div", Ds, [
4695
4697
  j(H, { appearance: "danger" }, {
4696
4698
  default: v(() => [
4697
4699
  L("p", null, q(g(n)("consumer_groups.errors.add")), 1),
4698
- x.value.length ? (m(), $("ul", zl, [
4699
- (m(!0), $(be, null, ve(x.value, (de, We) => (m(), $("li", { key: We }, q(de), 1))), 128))
4700
- ])) : J("", !0),
4700
+ x.value.length ? (m(), $("ul", zs, [
4701
+ (m(!0), $(be, null, ve(x.value, (de, Ye) => (m(), $("li", { key: Ye }, q(de), 1))), 128))
4702
+ ])) : W("", !0),
4701
4703
  L("div", null, q(_.value || f.value), 1)
4702
4704
  ]),
4703
4705
  _: 1
4704
4706
  })
4705
- ])) : J("", !0)
4707
+ ])) : W("", !0)
4706
4708
  ])
4707
4709
  ]),
4708
4710
  _: 1
4709
4711
  }, 8, ["action-button-disabled", "title", "visible"]);
4710
4712
  };
4711
4713
  }
4712
- }), Pt = (e, t) => {
4714
+ }), Vt = (e, t) => {
4713
4715
  const n = e.__vccOpts || e;
4714
4716
  for (const [r, a] of t)
4715
4717
  n[r] = a;
4716
4718
  return n;
4717
- }, Hl = /* @__PURE__ */ Pt(Gl, [["__scopeId", "data-v-bb0a8037"]]), Jl = { class: "kong-ui-entities-consumer-groups-list" }, Zl = { key: 1 }, Wl = /* @__PURE__ */ X({
4719
+ }, Hs = /* @__PURE__ */ Vt(Gs, [["__scopeId", "data-v-bb0a8037"]]), Js = { class: "kong-ui-entities-consumer-groups-list" }, Ws = { key: 1 }, Ys = /* @__PURE__ */ X({
4718
4720
  __name: "ConsumerGroupList",
4719
4721
  props: {
4720
4722
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4761,19 +4763,20 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4761
4763
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4762
4764
  setup(e, { emit: t }) {
4763
4765
  var Rt;
4764
- const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Et(), { axiosInstance: s } = Ut((Rt = r.config) == null ? void 0 : Rt.axiosRequestConfig), l = O(1), u = w(() => !!r.config.consumerId), p = w(
4766
+ const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Ot(), { axiosInstance: l } = Ut((Rt = r.config) == null ? void 0 : Rt.axiosRequestConfig), s = M(1), u = w(() => !!r.config.consumerId), p = w(
4765
4767
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4766
4768
  ), c = w(() => r.config.app !== "kongManager" || !!r.config.disableSorting), y = {
4767
- name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4769
+ // the Name column is non-hidable
4770
+ name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 }
4768
4771
  };
4769
4772
  r.config.app === "kongManager" && (y.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), y.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4770
4773
  const f = y, I = (A) => ({
4771
4774
  "data-testid": A.username ?? A.custom_id ?? A.id
4772
4775
  }), T = w(() => {
4773
- var W, re, ge, we;
4774
- let A = `${r.config.apiBaseUrl}${Ee.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4775
- return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((W = r.config) == null ? void 0 : W.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4776
- }), k = O(""), U = w(() => {
4776
+ var Y, re, ge, we;
4777
+ let A = `${r.config.apiBaseUrl}${Oe.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4778
+ return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4779
+ }), k = M(""), U = w(() => {
4777
4780
  const A = r.config.app === "konnect" || r.config.isExactMatch;
4778
4781
  return A ? {
4779
4782
  isExactMatch: A,
@@ -4789,13 +4792,13 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4789
4792
  },
4790
4793
  schema: r.config.filterSchema
4791
4794
  };
4792
- }), N = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: Z, fetcherState: h } = Ul(r.config, T.value, N.value), _ = () => {
4795
+ }), N = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: J, fetcherState: h } = Us(r.config, T.value, N.value), _ = () => {
4793
4796
  k.value = "";
4794
4797
  }, d = () => {
4795
- l.value++;
4796
- }, S = O(null), B = (A, W) => {
4798
+ s.value++;
4799
+ }, S = M(null), B = (A, Y) => {
4797
4800
  const re = A.id;
4798
- if (!W(re)) {
4801
+ if (!Y(re)) {
4799
4802
  n("copy:error", {
4800
4803
  entity: A,
4801
4804
  field: "id",
@@ -4808,9 +4811,9 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4808
4811
  field: "id",
4809
4812
  message: i("consumer_groups.copy.success", { val: re })
4810
4813
  });
4811
- }, x = (A, W) => {
4814
+ }, x = (A, Y) => {
4812
4815
  const re = JSON.stringify(A);
4813
- if (!W(re)) {
4816
+ if (!Y(re)) {
4814
4817
  n("copy:error", {
4815
4818
  entity: A,
4816
4819
  message: i("consumer_groups.errors.copy")
@@ -4824,60 +4827,60 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4824
4827
  }, G = async (A) => {
4825
4828
  var re;
4826
4829
  await ((re = r.canRetrieve) == null ? void 0 : re.call(r, A)) && o.push(r.config.getViewRoute(A.id));
4827
- }, M = (A) => ({
4830
+ }, E = (A) => ({
4828
4831
  label: i("consumer_groups.actions.view"),
4829
4832
  to: r.config.getViewRoute(A)
4830
4833
  }), b = (A) => ({
4831
4834
  label: i("consumer_groups.actions.edit"),
4832
4835
  to: r.config.getEditRoute(A)
4833
- }), K = O(void 0), F = O(!1), H = O(!1), te = O(""), de = Bl(r.config, T.value), We = (A) => {
4836
+ }), K = M(void 0), F = M(!1), H = M(!1), te = M(""), de = Bs(r.config, T.value), Ye = (A) => {
4834
4837
  K.value = A, F.value = !0;
4835
4838
  }, bt = () => {
4836
4839
  F.value = !1;
4837
4840
  }, it = async () => {
4838
- var A, W, re;
4841
+ var A, Y, re;
4839
4842
  if ((A = K.value) != null && A.id) {
4840
4843
  H.value = !0;
4841
4844
  try {
4842
- await s.delete(de(K.value.id)), H.value = !1, F.value = !1, l.value++, n("delete:success", K.value);
4845
+ await l.delete(de(K.value.id)), H.value = !1, F.value = !1, s.value++, n("delete:success", K.value);
4843
4846
  } catch (ge) {
4844
- te.value = ((re = (W = ge.response) == null ? void 0 : W.data) == null ? void 0 : re.message) || ge.message || i("consumer_groups.errors.delete"), n("error", ge);
4847
+ te.value = ((re = (Y = ge.response) == null ? void 0 : Y.data) == null ? void 0 : re.message) || ge.message || i("consumer_groups.errors.delete"), n("error", ge);
4845
4848
  } finally {
4846
4849
  H.value = !1;
4847
4850
  }
4848
4851
  }
4849
- }, Le = O(!1), Ye = () => {
4852
+ }, Le = M(!1), Ze = () => {
4850
4853
  Le.value = !0;
4851
4854
  }, C = () => {
4852
4855
  Le.value = !1;
4853
- }, P = (A, W) => {
4854
- W || C(), l.value++, n("add:success", A);
4856
+ }, V = (A, Y) => {
4857
+ Y || C(), s.value++, n("add:success", A);
4855
4858
  }, ae = () => {
4856
- u.value && Ye();
4857
- }, V = O(void 0), z = O(!1), me = O(""), ke = (A) => {
4858
- V.value = A, z.value = !0;
4859
- }, le = () => {
4860
- z.value = !1, V.value = void 0;
4859
+ u.value && Ze();
4860
+ }, P = M(void 0), z = M(!1), me = M(""), ke = (A) => {
4861
+ P.value = A, z.value = !0;
4862
+ }, se = () => {
4863
+ z.value = !1, P.value = void 0;
4861
4864
  }, Ue = w(() => {
4862
- var W, re, ge, we;
4863
- let A = `${r.config.apiBaseUrl}${Ee.list[r.config.app].oneForConsumer}`;
4864
- return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((W = r.config) == null ? void 0 : W.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4865
- }), Qe = O(!1), br = async () => {
4866
- if (V.value) {
4865
+ var Y, re, ge, we;
4866
+ let A = `${r.config.apiBaseUrl}${Oe.list[r.config.app].oneForConsumer}`;
4867
+ return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((re = r.config) == null ? void 0 : re.consumerId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), A;
4868
+ }), Qe = M(!1), br = async () => {
4869
+ if (P.value) {
4867
4870
  Qe.value = !0;
4868
4871
  try {
4869
- const A = Ue.value.replace(/{consumerGroupId}/gi, V.value.id);
4870
- await s.delete(A), n("remove:success", V.value), le(), l.value++;
4872
+ const A = Ue.value.replace(/{consumerGroupId}/gi, P.value.id);
4873
+ await l.delete(A), n("remove:success", P.value), se(), s.value++;
4871
4874
  } catch (A) {
4872
4875
  me.value = A.message || i("consumer_groups.errors.delete"), n("error", A);
4873
4876
  } finally {
4874
4877
  Qe.value = !1;
4875
4878
  }
4876
4879
  }
4877
- }, Vt = O(!0);
4880
+ }, Pt = M(!0);
4878
4881
  $e(h, (A) => {
4879
- var W, re, ge, we;
4880
- if (Array.isArray((W = A == null ? void 0 : A.response) == null ? void 0 : W.data) && (Vt.value = A.response.data.length > 0), A.status === qe.Error) {
4882
+ var Y, re, ge, we;
4883
+ if (Array.isArray((Y = A == null ? void 0 : A.response) == null ? void 0 : Y.data) && (Pt.value = A.response.data.length > 0), A.status === qe.Error) {
4881
4884
  S.value = {
4882
4885
  title: i("consumer_groups.errors.general")
4883
4886
  }, (we = (ge = (re = A.error) == null ? void 0 : re.response) == null ? void 0 : ge.data) != null && we.message && (S.value.message = A.error.response.data.message), n("error", A.error);
@@ -4885,7 +4888,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4885
4888
  }
4886
4889
  S.value = null;
4887
4890
  });
4888
- const Ct = O({
4891
+ const Ct = M({
4889
4892
  ctaPath: u.value ? void 0 : r.config.createRoute,
4890
4893
  ctaText: void 0,
4891
4894
  message: `${i("consumer_groups.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
@@ -4893,10 +4896,10 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4893
4896
  });
4894
4897
  return gt(async () => {
4895
4898
  await r.canCreate() && (Ct.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), Ct.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4896
- }), (A, W) => {
4899
+ }), (A, Y) => {
4897
4900
  const re = R("KButton"), ge = R("KBadge"), we = R("KTruncate"), Xe = R("KDropdownItem"), Dt = R("KClipboardProvider"), Cr = R("KPrompt");
4898
- return m(), $("div", Jl, [
4899
- j(g(il), {
4901
+ return m(), $("div", Js, [
4902
+ j(g(is), {
4900
4903
  "cache-identifier": e.cacheIdentifier,
4901
4904
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4902
4905
  "disable-pagination-page-jump": "",
@@ -4904,8 +4907,8 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4904
4907
  "empty-state-options": Ct.value,
4905
4908
  "enable-entity-actions": "",
4906
4909
  "error-message": S.value,
4907
- fetcher: g(Z),
4908
- "fetcher-cache-key": l.value,
4910
+ fetcher: g(J),
4911
+ "fetcher-cache-key": s.value,
4909
4912
  "pagination-type": "offset",
4910
4913
  "preferences-storage-key": p.value,
4911
4914
  query: k.value,
@@ -4913,15 +4916,15 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4913
4916
  "table-headers": g(f),
4914
4917
  "use-action-outside": e.useActionOutside,
4915
4918
  onClearSearchInput: _,
4916
- "onClick:row": W[3] || (W[3] = (Q) => G(Q)),
4919
+ "onClick:row": Y[3] || (Y[3] = (Q) => G(Q)),
4917
4920
  onEmptyStateCtaClicked: ae,
4918
4921
  onSort: d
4919
4922
  }, {
4920
4923
  "toolbar-filter": v(() => [
4921
- u.value ? J("", !0) : (m(), D(g(Sl), {
4924
+ u.value ? W("", !0) : (m(), D(g(xs), {
4922
4925
  key: 0,
4923
4926
  modelValue: k.value,
4924
- "onUpdate:modelValue": W[0] || (W[0] = (Q) => k.value = Q),
4927
+ "onUpdate:modelValue": Y[0] || (Y[0] = (Q) => k.value = Q),
4925
4928
  config: U.value
4926
4929
  }, null, 8, ["modelValue", "config"]))
4927
4930
  ]),
@@ -4930,7 +4933,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4930
4933
  disabled: !e.useActionOutside,
4931
4934
  to: "#kong-ui-app-page-header-action-button"
4932
4935
  }, [
4933
- j(g(st), {
4936
+ j(g(lt), {
4934
4937
  "auth-function": () => e.canCreate()
4935
4938
  }, {
4936
4939
  default: v(() => [
@@ -4939,15 +4942,15 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4939
4942
  "data-testid": "toolbar-add-consumer-group",
4940
4943
  size: "large",
4941
4944
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4942
- onClick: W[1] || (W[1] = () => e.config.consumerId ? Ye() : void 0)
4945
+ onClick: Y[1] || (Y[1] = () => e.config.consumerId ? Ze() : void 0)
4943
4946
  }, {
4944
4947
  default: v(() => [
4945
4948
  j(g(Kr)),
4946
- Y(" " + q(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4949
+ Z(" " + q(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4947
4950
  ]),
4948
4951
  _: 1
4949
4952
  }, 8, ["to"]), [
4950
- [je, Vt.value]
4953
+ [je, Pt.value]
4951
4954
  ])
4952
4955
  ]),
4953
4956
  _: 1
@@ -4958,34 +4961,34 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4958
4961
  L("b", null, q(Q ?? "-"), 1)
4959
4962
  ]),
4960
4963
  consumers_count: v(({ rowValue: Q }) => [
4961
- Y(q(Q ?? "-"), 1)
4964
+ Z(q(Q ?? "-"), 1)
4962
4965
  ]),
4963
4966
  tags: v(({ rowValue: Q }) => [
4964
4967
  (Q == null ? void 0 : Q.length) > 0 ? (m(), D(we, { key: 0 }, {
4965
4968
  default: v(() => [
4966
- (m(!0), $(be, null, ve(Q, (Pe) => (m(), D(ge, {
4967
- key: Pe,
4968
- onClick: W[2] || (W[2] = xt(() => {
4969
+ (m(!0), $(be, null, ve(Q, (Ve) => (m(), D(ge, {
4970
+ key: Ve,
4971
+ onClick: Y[2] || (Y[2] = It(() => {
4969
4972
  }, ["stop"]))
4970
4973
  }, {
4971
4974
  default: v(() => [
4972
- Y(q(Pe), 1)
4975
+ Z(q(Ve), 1)
4973
4976
  ]),
4974
4977
  _: 2
4975
4978
  }, 1024))), 128))
4976
4979
  ]),
4977
4980
  _: 2
4978
- }, 1024)) : (m(), $("span", Zl, "-"))
4981
+ }, 1024)) : (m(), $("span", Ws, "-"))
4979
4982
  ]),
4980
4983
  actions: v(({ row: Q }) => [
4981
4984
  j(Dt, null, {
4982
- default: v(({ copyToClipboard: Pe }) => [
4985
+ default: v(({ copyToClipboard: Ve }) => [
4983
4986
  j(Xe, {
4984
4987
  "data-testid": "action-entity-copy-id",
4985
- onClick: (kr) => B(Q, Pe)
4988
+ onClick: (kr) => B(Q, Ve)
4986
4989
  }, {
4987
4990
  default: v(() => [
4988
- Y(q(g(i)("consumer_groups.actions.copy_id")), 1)
4991
+ Z(q(g(i)("consumer_groups.actions.copy_id")), 1)
4989
4992
  ]),
4990
4993
  _: 2
4991
4994
  }, 1032, ["onClick"])
@@ -4993,32 +4996,32 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
4993
4996
  _: 2
4994
4997
  }, 1024),
4995
4998
  j(Dt, null, {
4996
- default: v(({ copyToClipboard: Pe }) => [
4999
+ default: v(({ copyToClipboard: Ve }) => [
4997
5000
  j(Xe, {
4998
5001
  "data-testid": "action-entity-copy-json",
4999
- onClick: (kr) => x(Q, Pe)
5002
+ onClick: (kr) => x(Q, Ve)
5000
5003
  }, {
5001
5004
  default: v(() => [
5002
- Y(q(g(i)("consumer_groups.actions.copy_json")), 1)
5005
+ Z(q(g(i)("consumer_groups.actions.copy_json")), 1)
5003
5006
  ]),
5004
5007
  _: 2
5005
5008
  }, 1032, ["onClick"])
5006
5009
  ]),
5007
5010
  _: 2
5008
5011
  }, 1024),
5009
- j(g(st), {
5012
+ j(g(lt), {
5010
5013
  "auth-function": () => e.canRetrieve(Q)
5011
5014
  }, {
5012
5015
  default: v(() => [
5013
5016
  j(Xe, {
5014
5017
  "data-testid": "action-entity-view",
5015
5018
  "has-divider": "",
5016
- item: M(Q.id)
5019
+ item: E(Q.id)
5017
5020
  }, null, 8, ["item"])
5018
5021
  ]),
5019
5022
  _: 2
5020
5023
  }, 1032, ["auth-function"]),
5021
- j(g(st), {
5024
+ j(g(lt), {
5022
5025
  "auth-function": () => e.canEdit(Q)
5023
5026
  }, {
5024
5027
  default: v(() => [
@@ -5029,7 +5032,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5029
5032
  ]),
5030
5033
  _: 2
5031
5034
  }, 1032, ["auth-function"]),
5032
- j(g(st), {
5035
+ j(g(lt), {
5033
5036
  "auth-function": () => e.canDelete(Q)
5034
5037
  }, {
5035
5038
  default: v(() => [
@@ -5037,10 +5040,10 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5037
5040
  danger: "",
5038
5041
  "data-testid": "action-entity-delete",
5039
5042
  "has-divider": "",
5040
- onClick: () => e.config.consumerId ? ke(Q) : We(Q)
5043
+ onClick: () => e.config.consumerId ? ke(Q) : Ye(Q)
5041
5044
  }, {
5042
5045
  default: v(() => [
5043
- Y(q(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5046
+ Z(q(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5044
5047
  ]),
5045
5048
  _: 2
5046
5049
  }, 1032, ["onClick"])
@@ -5050,7 +5053,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5050
5053
  ]),
5051
5054
  _: 1
5052
5055
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
5053
- j(g(cl), {
5056
+ j(g(cs), {
5054
5057
  "action-pending": H.value,
5055
5058
  "data-testid": "delete-consumer-group-modal",
5056
5059
  description: g(i)("consumer_groups.delete.description"),
@@ -5062,22 +5065,22 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5062
5065
  onCancel: bt,
5063
5066
  onProceed: it
5064
5067
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
5065
- e.config.consumerId ? (m(), D(Hl, {
5068
+ e.config.consumerId ? (m(), D(Hs, {
5066
5069
  key: 0,
5067
5070
  config: e.config,
5068
5071
  "data-testid": "add-to-group-modal",
5069
5072
  visible: Le.value,
5070
- "onAdd:partialSuccess": W[4] || (W[4] = (Q) => P(Q, !0)),
5071
- "onAdd:success": W[5] || (W[5] = (Q) => P(Q)),
5073
+ "onAdd:partialSuccess": Y[4] || (Y[4] = (Q) => V(Q, !0)),
5074
+ "onAdd:success": Y[5] || (Y[5] = (Q) => V(Q)),
5072
5075
  onCancel: C
5073
- }, null, 8, ["config", "visible"])) : J("", !0),
5074
- e.config.consumerId && V.value ? (m(), D(Cr, {
5076
+ }, null, 8, ["config", "visible"])) : W("", !0),
5077
+ e.config.consumerId && P.value ? (m(), D(Cr, {
5075
5078
  key: 1,
5076
5079
  "action-button-appearance": "danger",
5077
5080
  "data-testid": "exit-group-modal",
5078
5081
  title: g(i)("consumer_groups.consumers.exit.title"),
5079
5082
  visible: z.value,
5080
- onCancel: le,
5083
+ onCancel: se,
5081
5084
  onProceed: br
5082
5085
  }, {
5083
5086
  default: v(() => [
@@ -5087,7 +5090,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5087
5090
  tag: "p"
5088
5091
  }, Be({
5089
5092
  consumerGroup: v(() => [
5090
- L("strong", null, q(V.value.name || V.value.id), 1)
5093
+ L("strong", null, q(P.value.name || P.value.id), 1)
5091
5094
  ]),
5092
5095
  _: 2
5093
5096
  }, [
@@ -5102,11 +5105,11 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5102
5105
  L("p", null, q(g(i)("consumer_groups.consumers.exit.description")), 1)
5103
5106
  ]),
5104
5107
  _: 1
5105
- }, 8, ["title", "visible"])) : J("", !0)
5108
+ }, 8, ["title", "visible"])) : W("", !0)
5106
5109
  ]);
5107
5110
  };
5108
5111
  }
5109
- }), mu = /* @__PURE__ */ Pt(Wl, [["__scopeId", "data-v-a183d2c6"]]), Yl = { class: "kong-ui-entities-consumer-group-form" }, Ql = { class: "select-item-container" }, Xl = { class: "select-item-label" }, eu = {
5112
+ }), mu = /* @__PURE__ */ Vt(Ys, [["__scopeId", "data-v-fe2b5370"]]), Zs = { class: "kong-ui-entities-consumer-group-form" }, Qs = { class: "select-item-container" }, Xs = { class: "select-item-label" }, eu = {
5110
5113
  key: 0,
5111
5114
  class: "select-item-description"
5112
5115
  }, tu = /* @__PURE__ */ X({
@@ -5127,8 +5130,8 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5127
5130
  },
5128
5131
  emits: ["update", "error", "loading"],
5129
5132
  setup(e, { emit: t }) {
5130
- var it, Le, Ye;
5131
- const n = e, r = t, { i18n: { t: a } } = yt.useI18n(), i = Et(), o = zt({
5133
+ var it, Le, Ze;
5134
+ const n = e, r = t, { i18n: { t: a } } = yt.useI18n(), i = Ot(), o = zt({
5132
5135
  fields: {
5133
5136
  name: "",
5134
5137
  tags: "",
@@ -5136,32 +5139,32 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5136
5139
  },
5137
5140
  errorMessage: "",
5138
5141
  readonly: !1
5139
- }), s = zt({
5142
+ }), l = zt({
5140
5143
  name: "",
5141
5144
  tags: "",
5142
5145
  consumers: []
5143
5146
  }), {
5144
- debouncedQueryChange: l,
5147
+ debouncedQueryChange: s,
5145
5148
  loading: u,
5146
5149
  error: p,
5147
5150
  loadItems: c,
5148
5151
  results: y
5149
- } = vr(n.config, (Le = Ee.form[(it = n.config) == null ? void 0 : it.app]) == null ? void 0 : Le.consumersList, "", {
5152
+ } = vr(n.config, (Le = Oe.form[(it = n.config) == null ? void 0 : it.app]) == null ? void 0 : Le.consumersList, "", {
5150
5153
  fetchedItemsKey: "data",
5151
5154
  searchKeys: ["username", "custom_id", "id"]
5152
- }), { axiosInstance: f } = Ut((Ye = n.config) == null ? void 0 : Ye.axiosRequestConfig), { getMessageFromError: I } = Ll(), T = Pl(), k = w(() => y.value.map((C) => ({
5155
+ }), { axiosInstance: f } = Ut((Ze = n.config) == null ? void 0 : Ze.axiosRequestConfig), { getMessageFromError: I } = Ls(), T = Vs(), k = w(() => y.value.map((C) => ({
5153
5156
  label: C.username || C.custom_id,
5154
5157
  value: C.id,
5155
5158
  selected: o.fields.consumers.includes(C.id),
5156
5159
  data: C
5157
5160
  // we need this to determine whether or not to show the description text
5158
5161
  }))), U = w(() => {
5159
- var C, P;
5160
- return (P = Ee.form[(C = n.config) == null ? void 0 : C.app]) == null ? void 0 : P.edit;
5161
- }), N = w(() => n.consumerGroupId ? ut.Edit : ut.Create), Z = w(() => !!o.fields.name && !G.value), h = w(() => JSON.stringify(o.fields) !== JSON.stringify(s)), _ = (C, P = "", ae = "") => {
5162
- var z, me, ke, le, Ue, Qe;
5163
- let V = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Ee.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5164
- return ((ke = n.config) == null ? void 0 : ke.app) === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((le = n.config) == null ? void 0 : le.controlPlaneId) || "") : ((Ue = n.config) == null ? void 0 : Ue.app) === "kongManager" && (V = V.replace(/\/{workspace}/gi, (Qe = n.config) != null && Qe.workspace ? `/${n.config.workspace}` : "")), V = V.replace(/{id}/gi, P || n.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (V = V.replace(/{consumerId}/gi, ae)), V;
5162
+ var C, V;
5163
+ return (V = Oe.form[(C = n.config) == null ? void 0 : C.app]) == null ? void 0 : V.edit;
5164
+ }), N = w(() => n.consumerGroupId ? ut.Edit : ut.Create), J = w(() => !!o.fields.name && !G.value), h = w(() => JSON.stringify(o.fields) !== JSON.stringify(l)), _ = (C, V = "", ae = "") => {
5165
+ var z, me, ke, se, Ue, Qe;
5166
+ let P = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Oe.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5167
+ return ((ke = n.config) == null ? void 0 : ke.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((se = n.config) == null ? void 0 : se.controlPlaneId) || "") : ((Ue = n.config) == null ? void 0 : Ue.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (Qe = n.config) != null && Qe.workspace ? `/${n.config.workspace}` : "")), P = P.replace(/{id}/gi, V || n.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, ae)), P;
5165
5168
  }, d = () => {
5166
5169
  var C;
5167
5170
  i.push(((C = n.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-group-list" });
@@ -5170,102 +5173,102 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5170
5173
  }, B = (C) => {
5171
5174
  r("loading", C);
5172
5175
  }, x = async (C) => {
5173
- var ae, V, z, me, ke;
5174
- o.fields.name = ((ae = C == null ? void 0 : C.item) == null ? void 0 : ae.name) || ((V = C == null ? void 0 : C.consumer_group) == null ? void 0 : V.name) || (C == null ? void 0 : C.name) || "";
5175
- const P = ((z = C == null ? void 0 : C.item) == null ? void 0 : z.tags) || (C == null ? void 0 : C.consumer_group.tags) || (C == null ? void 0 : C.tags) || [];
5176
- if (o.fields.tags = (P == null ? void 0 : P.join(", ")) || "", "consumers" in C)
5177
- o.fields.consumers = ((me = C == null ? void 0 : C.consumers) == null ? void 0 : me.map((le) => le.id)) || [];
5176
+ var ae, P, z, me, ke;
5177
+ o.fields.name = ((ae = C == null ? void 0 : C.item) == null ? void 0 : ae.name) || ((P = C == null ? void 0 : C.consumer_group) == null ? void 0 : P.name) || (C == null ? void 0 : C.name) || "";
5178
+ const V = ((z = C == null ? void 0 : C.item) == null ? void 0 : z.tags) || (C == null ? void 0 : C.consumer_group.tags) || (C == null ? void 0 : C.tags) || [];
5179
+ if (o.fields.tags = (V == null ? void 0 : V.join(", ")) || "", "consumers" in C)
5180
+ o.fields.consumers = ((me = C == null ? void 0 : C.consumers) == null ? void 0 : me.map((se) => se.id)) || [];
5178
5181
  else
5179
5182
  try {
5180
- const { data: le } = await f.get(_("getConsumers"));
5181
- o.fields.consumers = "consumers" in le ? (ke = le == null ? void 0 : le.consumers) == null ? void 0 : ke.map((Ue) => Ue.id) : [];
5182
- } catch (le) {
5183
- F(le);
5183
+ const { data: se } = await f.get(_("getConsumers"));
5184
+ o.fields.consumers = "consumers" in se ? (ke = se == null ? void 0 : se.consumers) == null ? void 0 : ke.map((Ue) => Ue.id) : [];
5185
+ } catch (se) {
5186
+ F(se);
5184
5187
  }
5185
- Object.assign(s, o.fields);
5186
- }, G = w(() => T.utf8Name(o.fields.name)), M = w(() => {
5187
- var C, P;
5188
+ Object.assign(l, o.fields);
5189
+ }, G = w(() => T.utf8Name(o.fields.name)), E = w(() => {
5190
+ var C, V;
5188
5191
  return {
5189
5192
  name: o.fields.name,
5190
- tags: (P = (C = o.fields.tags.split(",")) == null ? void 0 : C.map((ae) => String(ae || "").trim())) == null ? void 0 : P.filter((ae) => ae !== "")
5193
+ tags: (V = (C = o.fields.tags.split(",")) == null ? void 0 : C.map((ae) => String(ae || "").trim())) == null ? void 0 : V.filter((ae) => ae !== "")
5191
5194
  };
5192
- }), b = async (C, P = "") => await f.post(_("addConsumer", P, C), { consumer: C }), K = async (C, P = "") => await f.delete(_("removeConsumer", P, C)), F = (C) => {
5195
+ }), b = async (C, V = "") => await f.post(_("addConsumer", V, C), { consumer: C }), K = async (C, V = "") => await f.delete(_("removeConsumer", V, C)), F = (C) => {
5193
5196
  o.errorMessage = I(C), r("error", C);
5194
5197
  }, H = (C = n.consumerGroupId) => {
5195
- Object.assign(s, o.fields), r("update", { ...o.fields, id: C });
5196
- }, te = (C, P, ae = n.consumerGroupId) => {
5197
- const V = C == null ? void 0 : C.find((z) => z.status !== "fulfilled");
5198
- V ? F({
5199
- code: V.status,
5200
- message: P
5198
+ Object.assign(l, o.fields), r("update", { ...o.fields, id: C });
5199
+ }, te = (C, V, ae = n.consumerGroupId) => {
5200
+ const P = C == null ? void 0 : C.find((z) => z.status !== "fulfilled");
5201
+ P ? F({
5202
+ code: P.status,
5203
+ message: V
5201
5204
  }) : H(ae);
5202
5205
  }, de = async () => {
5203
5206
  let C = "";
5204
5207
  try {
5205
- const { data: P } = await f.post(_("create"), M.value);
5206
- C = "item" in P ? P.item.id : P.id;
5207
- } catch (P) {
5208
- F(P);
5208
+ const { data: V } = await f.post(_("create"), E.value);
5209
+ C = "item" in V ? V.item.id : V.id;
5210
+ } catch (V) {
5211
+ F(V);
5209
5212
  }
5210
5213
  if (o.fields.consumers.length > 0 && C)
5211
5214
  try {
5212
- const P = o.fields.consumers.map((V) => b(V, C)), ae = await Promise.allSettled(P);
5215
+ const V = o.fields.consumers.map((P) => b(P, C)), ae = await Promise.allSettled(V);
5213
5216
  te(ae, a("consumer_groups.errors.add_consumer"), C);
5214
- } catch (P) {
5215
- F(P);
5217
+ } catch (V) {
5218
+ F(V);
5216
5219
  }
5217
5220
  else
5218
5221
  o.fields.consumers.length === 0 && C && H(C);
5219
- }, We = async () => {
5222
+ }, Ye = async () => {
5220
5223
  var ae;
5221
5224
  try {
5222
- ((ae = n.config) == null ? void 0 : ae.app) === "konnect" ? await f.put(_("edit"), M.value) : await f.patch(_("edit"), M.value);
5223
- } catch (V) {
5224
- F(V);
5225
+ ((ae = n.config) == null ? void 0 : ae.app) === "konnect" ? await f.put(_("edit"), E.value) : await f.patch(_("edit"), E.value);
5226
+ } catch (P) {
5227
+ F(P);
5225
5228
  }
5226
- const C = o.fields.consumers.filter((V) => !s.consumers.includes(V)), P = s.consumers.filter((V) => !o.fields.consumers.includes(V));
5227
- if (P.length === 0 && C.length === 0)
5229
+ const C = o.fields.consumers.filter((P) => !l.consumers.includes(P)), V = l.consumers.filter((P) => !o.fields.consumers.includes(P));
5230
+ if (V.length === 0 && C.length === 0)
5228
5231
  H();
5229
5232
  else {
5230
- if (P.length > 0)
5233
+ if (V.length > 0)
5231
5234
  try {
5232
- const V = P.map((me) => K(me)), z = await Promise.allSettled(V);
5235
+ const P = V.map((me) => K(me)), z = await Promise.allSettled(P);
5233
5236
  te(z, a("consumer_groups.errors.remove_consumer"));
5234
- } catch (V) {
5235
- F(V);
5237
+ } catch (P) {
5238
+ F(P);
5236
5239
  }
5237
5240
  if (C.length > 0)
5238
5241
  try {
5239
- const V = C.map((me) => b(me)), z = await Promise.allSettled(V);
5242
+ const P = C.map((me) => b(me)), z = await Promise.allSettled(P);
5240
5243
  te(z, a("consumer_groups.errors.add_consumer"));
5241
- } catch (V) {
5242
- F(V);
5244
+ } catch (P) {
5245
+ F(P);
5243
5246
  }
5244
5247
  }
5245
5248
  }, bt = async () => {
5246
5249
  try {
5247
- o.readonly = !0, N.value === ut.Create ? await de() : await We();
5250
+ o.readonly = !0, N.value === ut.Create ? await de() : await Ye();
5248
5251
  } finally {
5249
5252
  o.readonly = !1;
5250
5253
  }
5251
5254
  };
5252
5255
  return gt(async () => {
5253
5256
  await c();
5254
- }), (C, P) => {
5255
- const ae = R("KInput"), V = R("KMultiselect");
5256
- return m(), $("div", Yl, [
5257
- j(g(Qs), {
5258
- "can-submit": Z.value && h.value,
5257
+ }), (C, V) => {
5258
+ const ae = R("KInput"), P = R("KMultiselect");
5259
+ return m(), $("div", Zs, [
5260
+ j(g(Ql), {
5261
+ "can-submit": J.value && h.value,
5259
5262
  config: e.config,
5260
5263
  "edit-id": e.consumerGroupId,
5261
5264
  "error-message": o.errorMessage || g(p) || G.value,
5262
5265
  "fetch-url": U.value,
5263
- "form-fields": M.value,
5266
+ "form-fields": E.value,
5264
5267
  "is-readonly": o.readonly,
5265
5268
  onCancel: d,
5266
- "onFetch:error": P[3] || (P[3] = (z) => S(z)),
5269
+ "onFetch:error": V[3] || (V[3] = (z) => S(z)),
5267
5270
  "onFetch:success": x,
5268
- onLoading: P[4] || (P[4] = (z) => B(z)),
5271
+ onLoading: V[4] || (V[4] = (z) => B(z)),
5269
5272
  onSubmit: bt
5270
5273
  }, {
5271
5274
  default: v(() => [
@@ -5276,7 +5279,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5276
5279
  default: v(() => [
5277
5280
  j(ae, {
5278
5281
  modelValue: o.fields.name,
5279
- "onUpdate:modelValue": P[0] || (P[0] = (z) => o.fields.name = z),
5282
+ "onUpdate:modelValue": V[0] || (V[0] = (z) => o.fields.name = z),
5280
5283
  modelModifiers: { trim: !0 },
5281
5284
  autocomplete: "off",
5282
5285
  "data-testid": "consumer-group-form-name",
@@ -5287,7 +5290,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5287
5290
  }, null, 8, ["modelValue", "label", "placeholder"]),
5288
5291
  j(ae, {
5289
5292
  modelValue: o.fields.tags,
5290
- "onUpdate:modelValue": P[1] || (P[1] = (z) => o.fields.tags = z),
5293
+ "onUpdate:modelValue": V[1] || (V[1] = (z) => o.fields.tags = z),
5291
5294
  modelModifiers: { trim: !0 },
5292
5295
  autocomplete: "off",
5293
5296
  "data-testid": "consumer-group-form-tags",
@@ -5309,9 +5312,9 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5309
5312
  title: g(a)("consumer_groups.form.consumers.title")
5310
5313
  }, {
5311
5314
  default: v(() => [
5312
- j(V, {
5315
+ j(P, {
5313
5316
  modelValue: o.fields.consumers,
5314
- "onUpdate:modelValue": P[2] || (P[2] = (z) => o.fields.consumers = z),
5317
+ "onUpdate:modelValue": V[2] || (V[2] = (z) => o.fields.consumers = z),
5315
5318
  appearance: "select",
5316
5319
  autosuggest: "",
5317
5320
  items: k.value,
@@ -5319,14 +5322,14 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5319
5322
  loading: g(u),
5320
5323
  placeholder: g(a)("consumer_groups.form.fields.consumers.placeholder"),
5321
5324
  width: "auto",
5322
- onQueryChange: g(l)
5325
+ onQueryChange: g(s)
5323
5326
  }, {
5324
5327
  "item-template": v(({ item: z }) => {
5325
- var me, ke, le;
5328
+ var me, ke, se;
5326
5329
  return [
5327
- L("div", Ql, [
5328
- L("div", Xl, q(z.label), 1),
5329
- (me = z == null ? void 0 : z.data) != null && me.username && ((ke = z == null ? void 0 : z.data) != null && ke.custom_id) ? (m(), $("div", eu, q((le = z == null ? void 0 : z.data) == null ? void 0 : le.custom_id), 1)) : J("", !0)
5330
+ L("div", Qs, [
5331
+ L("div", Xs, q(z.label), 1),
5332
+ (me = z == null ? void 0 : z.data) != null && me.username && ((ke = z == null ? void 0 : z.data) != null && ke.custom_id) ? (m(), $("div", eu, q((se = z == null ? void 0 : z.data) == null ? void 0 : se.custom_id), 1)) : W("", !0)
5330
5333
  ])
5331
5334
  ];
5332
5335
  }),
@@ -5341,7 +5344,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5341
5344
  ]);
5342
5345
  };
5343
5346
  }
5344
- }), gu = /* @__PURE__ */ Pt(tu, [["__scopeId", "data-v-9681165d"]]), nu = { class: "kong-ui-consumer-group-entity-config-card" }, yu = /* @__PURE__ */ X({
5347
+ }), gu = /* @__PURE__ */ Vt(tu, [["__scopeId", "data-v-9681165d"]]), nu = { class: "kong-ui-consumer-group-entity-config-card" }, yu = /* @__PURE__ */ X({
5345
5348
  __name: "ConsumerGroupConfigCard",
5346
5349
  props: {
5347
5350
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5368,7 +5371,7 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5368
5371
  },
5369
5372
  emits: ["loading", "fetch:error", "fetch:success"],
5370
5373
  setup(e) {
5371
- const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Ee.form[t.config.app].edit), a = O({
5374
+ const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Oe.form[t.config.app].edit), a = M({
5372
5375
  id: {},
5373
5376
  name: {},
5374
5377
  created_at: {},
@@ -5378,16 +5381,16 @@ const El = ["aria-labelledby"], Ol = { class: "form-section-wrapper" }, Ml = {
5378
5381
  }
5379
5382
  });
5380
5383
  return (i, o) => (m(), $("div", nu, [
5381
- j(g(Js), {
5384
+ j(g(Jl), {
5382
5385
  config: e.config,
5383
5386
  "config-card-doc": e.configCardDoc,
5384
5387
  "config-schema": a.value,
5385
5388
  "data-key": "consumer_group",
5386
5389
  "fetch-url": r.value,
5387
5390
  "hide-title": e.hideTitle,
5388
- "onFetch:error": o[0] || (o[0] = (s) => i.$emit("fetch:error", s)),
5389
- "onFetch:success": o[1] || (o[1] = (s) => i.$emit("fetch:success", s)),
5390
- onLoading: o[2] || (o[2] = (s) => i.$emit("loading", s))
5391
+ "onFetch:error": o[0] || (o[0] = (l) => i.$emit("fetch:error", l)),
5392
+ "onFetch:success": o[1] || (o[1] = (l) => i.$emit("fetch:success", l)),
5393
+ onLoading: o[2] || (o[2] = (l) => i.$emit("loading", l))
5391
5394
  }, null, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])
5392
5395
  ]));
5393
5396
  }