@kong-ui-public/entities-consumer-groups 3.2.1 → 3.2.2-pr.1436.e4eeb147.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,14 +1,14 @@
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 F, createCommentVNode as J, pushScopeId as Je, popScopeId as Ze, createElementVNode as L, ref as E, watch as $e, renderSlot as ne, unref as g, onBeforeMount as gt, resolveComponent as V, 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 Sr, onUnmounted as xr, normalizeProps as Ar, guardReactiveProps as Ir, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
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 F, createCommentVNode as J, 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 V, createSlots as Ke, createVNode as N, createTextVNode as Z, renderList as ve, withModifiers as xt, withDirectives as je, vShow as Ne, Fragment as be, normalizeClass as Ee, withKeys as wr, useSlots as Nt, useCssVars as bn, inject as _r, onMounted as Sr, onUnmounted as xr, normalizeProps as Ir, guardReactiveProps as Ar, mergeProps as $r, Teleport as Tr, reactive as zt } from "vue";
2
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
- import { BadgeMethodAppearances as Nr } from "@kong/kongponents";
6
- const Ht = "24px", jr = (e, t) => {
5
+ import { BadgeMethodAppearances as jr } from "@kong/kongponents";
6
+ const Ht = "24px", Nr = (e, t) => {
7
7
  const n = e.__vccOpts || e;
8
8
  for (const [r, a] of t)
9
9
  n[r] = a;
10
10
  return n;
11
- }, Or = (e) => (Je("data-v-1d2a8d30"), e = e(), Ze(), e), Er = ["aria-hidden"], Mr = {
11
+ }, Or = (e) => (Je("data-v-1d2a8d30"), e = e(), We(), e), Mr = ["aria-hidden"], Er = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
14
  }, qr = /* @__PURE__ */ Or(() => /* @__PURE__ */ L("path", {
@@ -100,14 +100,14 @@ 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, F(e.title), 1)) : J("", !0),
103
+ e.title ? (m(), $("title", Er, F(e.title), 1)) : J("", !0),
104
104
  qr
105
- ], 8, Er))
105
+ ], 8, Mr))
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
109
109
  }
110
- }), Kr = /* @__PURE__ */ jr(Fr, [["__scopeId", "data-v-1d2a8d30"]]), Br = {
110
+ }), Br = /* @__PURE__ */ Nr(Fr, [["__scopeId", "data-v-1d2a8d30"]]), Kr = {
111
111
  list: {
112
112
  table_headers: {
113
113
  name: "Name",
@@ -197,7 +197,7 @@ const Ht = "24px", jr = (e, t) => {
197
197
  }
198
198
  }
199
199
  }, Lr = {
200
- consumer_groups: Br
200
+ consumer_groups: Kr
201
201
  };
202
202
  function Ur() {
203
203
  const e = Cn("en-us", Lr);
@@ -209,40 +209,40 @@ function Ur() {
209
209
  }
210
210
  const yt = {
211
211
  useI18n: Ur
212
- }, Ae = "/v2/control-planes/{controlPlaneId}/core-entities", Ie = "/{workspace}", Oe = {
212
+ }, Ie = "/v2/control-planes/{controlPlaneId}/core-entities", Ae = "/{workspace}", Oe = {
213
213
  list: {
214
214
  konnect: {
215
- all: `${Ae}/consumer_groups`,
216
- forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
217
- oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
218
- },
219
- kongManager: {
220
- all: `${Ie}/consumer_groups?counter=true`,
215
+ all: `${Ie}/consumer_groups`,
221
216
  forConsumer: `${Ie}/consumers/{consumerId}/consumer_groups`,
222
217
  oneForConsumer: `${Ie}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
218
+ },
219
+ kongManager: {
220
+ all: `${Ae}/consumer_groups?counter=true`,
221
+ forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
222
+ oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
223
223
  }
224
224
  },
225
225
  form: {
226
226
  konnect: {
227
- consumersList: `${Ae}/consumers`,
228
- create: `${Ae}/consumer_groups`,
229
- edit: `${Ae}/consumer_groups/{id}`,
230
- addConsumer: `${Ae}/consumer_groups/{id}/consumers`,
231
- removeConsumer: `${Ae}/consumer_groups/{id}/consumers/{consumerId}`,
232
- getConsumers: `${Ae}/consumer_groups/{id}/consumers`
233
- },
234
- kongManager: {
235
227
  consumersList: `${Ie}/consumers`,
236
228
  create: `${Ie}/consumer_groups`,
237
229
  edit: `${Ie}/consumer_groups/{id}`,
238
230
  addConsumer: `${Ie}/consumer_groups/{id}/consumers`,
239
231
  removeConsumer: `${Ie}/consumer_groups/{id}/consumers/{consumerId}`,
240
232
  getConsumers: `${Ie}/consumer_groups/{id}/consumers`
233
+ },
234
+ kongManager: {
235
+ consumersList: `${Ae}/consumers`,
236
+ create: `${Ae}/consumer_groups`,
237
+ edit: `${Ae}/consumer_groups/{id}`,
238
+ addConsumer: `${Ae}/consumer_groups/{id}/consumers`,
239
+ removeConsumer: `${Ae}/consumer_groups/{id}/consumers/{consumerId}`,
240
+ getConsumers: `${Ae}/consumer_groups/{id}/consumers`
241
241
  }
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 || {}), Fe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Fe || {}), 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 Rr() {
246
246
  return {
247
247
  getAxiosInstance: (e = {}) => {
248
248
  try {
@@ -266,7 +266,7 @@ function Pr() {
266
266
  }
267
267
  };
268
268
  }
269
- function Rr() {
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 Et(e = {}) {
320
- const { getAxiosInstance: t } = Pr();
319
+ function Mt(e = {}) {
320
+ const { getAxiosInstance: t } = Rr();
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,75 +487,75 @@ function na(e, t, n, r = {
487
487
  searchKeys: ["id"]
488
488
  }) {
489
489
  n || (n = "1000");
490
- const { axiosInstance: a } = Et(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Rr(), s = o(async (h) => {
491
- await Z(h);
492
- }, 200), l = E(!1), u = E(""), p = E(""), c = E([]), y = E([]), f = E(void 0), S = g(t);
490
+ const { axiosInstance: a } = Mt(e.axiosRequestConfig), { i18n: { t: i } } = ht(), { debounce: o } = Pr(), l = o(async (h) => {
491
+ await W(h);
492
+ }, 200), s = M(!1), u = M(""), p = M(""), c = M([]), y = M([]), f = M(void 0), S = g(t);
493
493
  let T = `${e.apiBaseUrl}${S}`;
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 = E(""), Z = async (h) => {
506
- var _, d, A;
507
- if (N.value !== h)
508
- if (N.value = h || "", f.value === void 0)
505
+ }, j = M(""), W = async (h) => {
506
+ var _, d, I;
507
+ if (j.value !== h)
508
+ if (j.value = h || "", f.value === void 0)
509
509
  try {
510
- if (l.value = !0, u.value = "", p.value = "", e.app === "konnect") {
511
- let B = T + "";
512
- h && (B += `/${h}`);
513
- const { data: x } = await a.get(`${B}?size=${n}`);
510
+ if (s.value = !0, u.value = "", p.value = "", e.app === "konnect") {
511
+ let K = T + "";
512
+ h && (K += `/${h}`);
513
+ const { data: x } = await a.get(`${K}?size=${n}`);
514
514
  r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
515
515
  } else if (h) {
516
- const B = [];
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];
520
- })()) : B.push(
521
- ...r.searchKeys.filter((M) => M !== "id").map(async (M) => {
522
- const { data: b } = await a.get(`${T}?${M}=${h}`);
516
+ const K = [];
517
+ k(h) && r.searchKeys.includes("id") ? K.push((async () => {
518
+ const { data: E } = await a.get(`${T}/${h}`);
519
+ return [E[r.fetchedItemsKey] ?? E];
520
+ })()) : K.push(
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
- const x = await Promise.all(B), G = /* @__PURE__ */ new Set();
527
- c.value = [], (_ = x == null ? void 0 : x.forEach) == null || _.call(x, (M) => {
526
+ const x = await Promise.all(K), G = /* @__PURE__ */ new Set();
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) => {
530
- G.has(K.id) || (G.add(K.id), c.value.push(K));
529
+ (b = E == null ? void 0 : E.forEach) == null || b.call(E, (B) => {
530
+ G.has(B.id) || (G.add(B.id), c.value.push(B));
531
531
  });
532
532
  });
533
533
  } else
534
534
  c.value = y.value;
535
- } catch (B) {
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"));
535
+ } catch (K) {
536
+ ((d = K == null ? void 0 : K.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 = (A = f.value) == null ? void 0 : A.filter((B) => {
541
+ s.value = !0, p.value = "", h ? (c.value = (I = f.value) == null ? void 0 : I.filter((K) => {
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 K[E] == "string" ? (x = K[E]) == null ? void 0 : x.toLowerCase() : K[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;
@@ -606,33 +606,33 @@ function oa(e) {
606
606
  }
607
607
  }
608
608
  function Sn(e, t) {
609
- const n = E(g(e)), r = E(g(t)), a = w(
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((S, T) => {
619
619
  f.searchParams.append(T, S);
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 } = Et(e.axiosRequestConfig), i = Sn(e, r), o = E({
627
+ const r = g(t), { axiosInstance: a } = Mt(e.axiosRequestConfig), i = Sn(e, r), o = M({
628
628
  status: Fe.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: Fe.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: Fe.NoResults,
662
662
  response: p,
663
663
  error: u.response ? u : { response: u }
@@ -669,7 +669,7 @@ 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()) : "",
@@ -683,15 +683,15 @@ const xn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
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,20 +699,20 @@ 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 An[n].includes(r);
708
- }, An = {
707
+ return In[n].includes(r);
708
+ }, In = {
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(An), da = (e) => {
715
+ }, Xt = Object.keys(In), 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)
@@ -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 = E(0), n = E(0), r = E(!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,8 +745,8 @@ 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: Et,
748
+ const le = {
749
+ useAxios: Mt,
750
750
  useDebouncedFilter: na,
751
751
  useDeleteUrlBuilder: ra,
752
752
  useErrors: aa,
@@ -754,7 +754,7 @@ const se = {
754
754
  useFetcher: ia,
755
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,19 +779,19 @@ 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(xe(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, F(s.value), 1)
794
+ L("b", null, F(l.value), 1)
795
795
  ])) : J("", !0),
796
796
  (m(!0), $(be, null, ve(Object.keys(o.value), (p, c) => (m(), D($n, {
797
797
  key: `${a.value}-property-${c}`,
@@ -810,7 +810,7 @@ const se = {
810
810
  for (const [r, a] of t)
811
811
  n[r] = a;
812
812
  return n;
813
- }, In = /* @__PURE__ */ Ce(ha, [["__scopeId", "data-v-68ca83ec"]]), va = /* @__PURE__ */ X({
813
+ }, An = /* @__PURE__ */ Ce(ha, [["__scopeId", "data-v-68ca83ec"]]), va = /* @__PURE__ */ X({
814
814
  __name: "InternalLinkItem",
815
815
  props: {
816
816
  item: {
@@ -820,17 +820,17 @@ 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 = V("KButton");
826
826
  return m(), $("div", null, [
827
- j(a, {
827
+ N(a, {
828
828
  appearance: "tertiary",
829
829
  class: "navigation-button",
830
830
  onClick: r[0] || (r[0] = (i) => n.$emit("navigation-click", e.item))
831
831
  }, {
832
832
  default: v(() => [
833
- Y(F(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
833
+ Z(F(e.item.value || g(t)("baseConfigCard.commonFields.link")), 1)
834
834
  ]),
835
835
  _: 1
836
836
  })
@@ -846,23 +846,23 @@ 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 = V("KBadge");
852
852
  return m(), D(a, {
853
853
  appearance: e.status ? "success" : "neutral"
854
854
  }, {
855
855
  default: v(() => [
856
- Y(F(e.status ? g(t)("baseConfigCard.statusBadge.enabledLabel") : g(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
856
+ Z(F(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", Sa = "1px", xa = "20px", Aa = { class: "config-card-details-row" }, Ia = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], Na = ["data-testid"], ja = { key: 1 }, Oa = ["data-testid"], Ea = ["data-testid"], Ma = ["data-testid"], qa = ["data-testid"], Fa = {
862
+ }), ka = "#0044f4", wa = "#e0e4ea", _a = "#afb7c5", Sa = "1px", xa = "20px", Ia = { class: "config-card-details-row" }, Aa = ["data-testid"], $a = ["data-testid"], Ta = ["data-testid"], ja = ["data-testid"], Na = { key: 1 }, Oa = ["data-testid"], Ma = ["data-testid"], Ea = ["data-testid"], qa = ["data-testid"], Fa = {
863
863
  name: "ConfigCardItem",
864
- components: { JsonCardItem: In, StatusBadge: Ca, InternalLinkItem: ba }
865
- }, Ka = /* @__PURE__ */ X({
864
+ components: { JsonCardItem: An, StatusBadge: Ca, InternalLinkItem: ba }
865
+ }, Ba = /* @__PURE__ */ X({
866
866
  ...Fa,
867
867
  props: {
868
868
  item: {
@@ -884,11 +884,11 @@ const se = {
884
884
  setup(e, { emit: t }) {
885
885
  bn((S) => ({
886
886
  dc1d91a8: p.value ? "none" : `solid ${g(Sa)} ${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%"
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 = Nt(), { 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,29 +998,29 @@ const se = {
998
998
  text: n.item.value
999
999
  };
1000
1000
  }
1001
- }), y = E(), { isTruncated: f } = se.useTruncationDetector(y);
1001
+ }), y = M(), { isTruncated: f } = le.useTruncationDetector(y);
1002
1002
  return (S, T) => {
1003
- const k = V("KLabel"), U = V("KBadge"), N = V("KCopy"), Z = V("KTooltip");
1004
- return m(), $("div", Aa, [
1003
+ const k = V("KLabel"), U = V("KBadge"), j = V("KCopy"), W = V("KTooltip");
1004
+ return m(), $("div", Ia, [
1005
1005
  L("div", {
1006
1006
  class: "config-card-details-label",
1007
1007
  "data-testid": `${e.item.key}-label`
1008
1008
  }, [
1009
1009
  ne(S.$slots, "label", { item: e.item }, () => [
1010
- j(k, { "tooltip-attributes": { maxWidth: "500px" } }, Be({
1010
+ N(k, { "tooltip-attributes": { maxWidth: "500px" } }, Ke({
1011
1011
  default: v(() => [
1012
- Y(F(e.item.label) + " ", 1)
1012
+ Z(F(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(S.$slots, "label-tooltip", {}, () => [
1023
- Y(F(e.item.tooltip), 1)
1023
+ Z(F(e.item.tooltip), 1)
1024
1024
  ], !0)
1025
1025
  ], 8, $a)
1026
1026
  ]),
@@ -1028,7 +1028,7 @@ const se = {
1028
1028
  } : void 0
1029
1029
  ]), 1024)
1030
1030
  ], !0)
1031
- ], 8, Ia),
1031
+ ], 8, Aa),
1032
1032
  L("div", {
1033
1033
  class: "config-card-details-value",
1034
1034
  "data-testid": `${e.item.key}-property-value`
@@ -1036,8 +1036,8 @@ const se = {
1036
1036
  ne(S.$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), Ar(Ir(c.value.attrs)), {
1039
+ l.value ? (m(), $("div", Na, [
1040
+ (m(), D(xe(c.value.tag), Ir(Ar(c.value.attrs)), {
1041
1041
  default: v(() => [
1042
1042
  c.value.additionalComponent === "KBadge" ? (m(), $("div", {
1043
1043
  key: 0,
@@ -1051,7 +1051,7 @@ const se = {
1051
1051
  "truncation-tooltip": ""
1052
1052
  }, {
1053
1053
  default: v(() => [
1054
- Y(F(h), 1)
1054
+ Z(F(h), 1)
1055
1055
  ]),
1056
1056
  _: 2
1057
1057
  }, 1032, ["data-testid", "tooltip"]))), 128))
@@ -1061,39 +1061,39 @@ const se = {
1061
1061
  class: "copy-uuid-array",
1062
1062
  "data-testid": `${e.item.key}-copy-uuid-array`
1063
1063
  }, [
1064
- (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(N, $r({ ref_for: !0 }, c.value.childAttrs, {
1064
+ (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(j, $r({ ref_for: !0 }, c.value.childAttrs, {
1065
1065
  key: `${e.item.key}-copy-uuid-${_}`,
1066
1066
  "data-testid": `${e.item.key}-copy-uuid-${_}`,
1067
1067
  text: h
1068
1068
  }), null, 16, ["data-testid", "text"]))), 128))
1069
- ], 8, Ea)) : 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`
1073
1073
  }, [
1074
1074
  (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(U, {
1075
1075
  key: `${e.item.key}-badge-method-${_}`,
1076
- appearance: Object.values(g(Nr)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
1076
+ appearance: Object.values(g(jr)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
1077
1077
  class: "config-badge",
1078
1078
  "data-testid": `${e.item.key}-badge-method-${_}`
1079
1079
  }, {
1080
1080
  default: v(() => [
1081
- Y(F(h), 1)
1081
+ Z(F(h), 1)
1082
1082
  ]),
1083
1083
  _: 2
1084
1084
  }, 1032, ["appearance", "data-testid"]))), 128))
1085
- ], 8, Ma)) : J("", !0),
1085
+ ], 8, Ea)) : J("", !0),
1086
1086
  c.value.additionalComponent === "JsonCardItem" ? (m(), $("div", {
1087
1087
  key: 3,
1088
1088
  "data-testid": `${n.item.key}-json-array-content`
1089
1089
  }, [
1090
- (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(In, {
1090
+ (m(!0), $(be, null, ve(e.item.value, (h, _) => (m(), D(An, {
1091
1091
  key: `json-array-item-${_}`,
1092
1092
  index: _,
1093
1093
  "is-array-item": "",
1094
1094
  item: h
1095
1095
  }, null, 8, ["index", "item"]))), 128))
1096
- ], 8, qa)) : (m(), D(Z, {
1096
+ ], 8, qa)) : (m(), D(W, {
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
  }, F(c.value.text), 3)
1106
1106
  ]),
1107
1107
  _: 1
@@ -1112,13 +1112,13 @@ const se = {
1112
1112
  ])) : (m(), $("div", {
1113
1113
  key: 0,
1114
1114
  "data-testid": `${e.item.key}-no-value`
1115
- }, " – ", 8, Na))
1115
+ }, " – ", 8, ja))
1116
1116
  ], !0)
1117
1117
  ], 8, Ta)
1118
1118
  ]);
1119
1119
  };
1120
1120
  }
1121
- }), $n = /* @__PURE__ */ Ce(Ka, [["__scopeId", "data-v-d268261c"]]), Ba = { class: "json-config" }, La = {
1121
+ }), $n = /* @__PURE__ */ Ce(Ba, [["__scopeId", "data-v-d268261c"]]), Ka = { class: "json-config" }, La = {
1122
1122
  key: 0,
1123
1123
  class: "json-endpoint"
1124
1124
  }, Tn = /* @__PURE__ */ X({
@@ -1160,18 +1160,18 @@ 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 = V("KBadge"), s = V("KCodeBlock");
1164
- return m(), $("div", Ba, [
1163
+ const o = V("KBadge"), l = V("KCodeBlock");
1164
+ return m(), $("div", Ka, [
1165
1165
  t.fetcherUrl ? (m(), $("div", La, [
1166
- j(o, {
1166
+ N(o, {
1167
1167
  appearance: t.requestMethod
1168
1168
  }, {
1169
1169
  default: v(() => [
1170
- Y(F(t.requestMethod), 1)
1170
+ Z(F(t.requestMethod), 1)
1171
1171
  ]),
1172
1172
  _: 1
1173
1173
  }, 8, ["appearance"]),
1174
- j(s, {
1174
+ N(l, {
1175
1175
  id: "json-endpoint-codeblock",
1176
1176
  code: t.fetcherUrl,
1177
1177
  language: "json",
@@ -1179,10 +1179,10 @@ const se = {
1179
1179
  theme: "dark"
1180
1180
  }, null, 8, ["code"])
1181
1181
  ])) : J("", !0),
1182
- t.jsonRecord ? (m(), D(s, {
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"
@@ -1192,16 +1192,16 @@ const se = {
1192
1192
  }
1193
1193
  });
1194
1194
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1195
- function Nn(e) {
1195
+ function jn(e) {
1196
1196
  return typeof e > "u" || e === null;
1197
1197
  }
1198
1198
  function Ua(e) {
1199
1199
  return typeof e == "object" && e !== null;
1200
1200
  }
1201
- function Pa(e) {
1202
- return Array.isArray(e) ? e : Nn(e) ? [] : [e];
1201
+ function Ra(e) {
1202
+ return Array.isArray(e) ? e : jn(e) ? [] : [e];
1203
1203
  }
1204
- function Ra(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,32 +1217,32 @@ function Va(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 = Va, Za = Da, Wa = Ra, ie = {
1220
+ var za = jn, Ga = Ua, Ha = Ra, Ja = Va, 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
- function jn(e, t) {
1228
+ function Nn(e, t) {
1229
1229
  var n = "", r = e.reason || "(unknown reason)";
1230
1230
  return e.mark ? (e.mark.name && (n += 'in "' + e.mark.name + '" '), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += `
1231
1231
 
1232
1232
  ` + e.mark.snippet), r + " " + n) : r;
1233
1233
  }
1234
1234
  function tt(e, t) {
1235
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = jn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1235
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Nn(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
1236
1236
  }
1237
1237
  tt.prototype = Object.create(Error.prototype);
1238
1238
  tt.prototype.constructor = tt;
1239
1239
  tt.prototype.toString = function(e) {
1240
- return this.name + ": " + jn(this, e);
1240
+ return this.name + ": " + Nn(this, 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 At(e) {
1349
+ function It(e) {
1350
1350
  return this.extend(e);
1351
1351
  }
1352
- At.prototype.extend = function(e) {
1352
+ It.prototype.extend = function(e) {
1353
1353
  var t = [], n = [];
1354
1354
  if (e instanceof ce)
1355
1355
  n.push(e);
@@ -1370,15 +1370,15 @@ At.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(At.prototype);
1373
+ var r = Object.create(It.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 On = At, En = new ce("tag:yaml.org,2002:str", {
1376
+ var On = It, 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 : [];
@@ -1390,8 +1390,8 @@ var On = At, En = new ce("tag:yaml.org,2002:str", {
1390
1390
  }
1391
1391
  }), Fn = new On({
1392
1392
  explicit: [
1393
- En,
1394
1393
  Mn,
1394
+ En,
1395
1395
  qn
1396
1396
  ]
1397
1397
  });
@@ -1407,7 +1407,7 @@ function oo() {
1407
1407
  function io(e) {
1408
1408
  return e === null;
1409
1409
  }
1410
- var Kn = new ce("tag:yaml.org,2002:null", {
1410
+ var Bn = new ce("tag:yaml.org,2002:null", {
1411
1411
  kind: "scalar",
1412
1412
  resolve: ao,
1413
1413
  construct: oo,
@@ -1431,22 +1431,22 @@ 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) {
1444
1444
  return Object.prototype.toString.call(e) === "[object Boolean]";
1445
1445
  }
1446
- var Bn = new ce("tag:yaml.org,2002:bool", {
1446
+ var Kn = 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 = Fn.extend({
1621
+ }), Rn = Fn.extend({
1622
1622
  implicit: [
1623
- Kn,
1624
1623
  Bn,
1624
+ Kn,
1625
1625
  Ln,
1626
1626
  Un
1627
1627
  ]
1628
- }), Rn = Pn, Vn = new RegExp(
1628
+ }), Pn = Rn, Vn = 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]))?))?$"
@@ -1634,17 +1634,17 @@ function _o(e) {
1634
1634
  return e === null ? !1 : Vn.exec(e) !== null || Dn.exec(e) !== null;
1635
1635
  }
1636
1636
  function So(e) {
1637
- var t, n, r, a, i, o, s, l = 0, u = null, p, c, y;
1637
+ var t, n, r, a, i, o, l, s = 0, u = null, p, c, y;
1638
1638
  if (t = Vn.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
1649
  function xo(e) {
1650
1650
  return e.toISOString();
@@ -1656,18 +1656,18 @@ var zn = new ce("tag:yaml.org,2002:timestamp", {
1656
1656
  instanceOf: Date,
1657
1657
  represent: xo
1658
1658
  });
1659
- function Ao(e) {
1659
+ function Io(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: Ao
1665
- }), Mt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1664
+ resolve: Io
1665
+ }), Et = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1666
1666
  \r`;
1667
- function Io(e) {
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,36 +1677,36 @@ function Io(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;
1690
1690
  }
1691
- function No(e) {
1691
+ function jo(e) {
1692
1692
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1693
1693
  }
1694
1694
  var Hn = new ce("tag:yaml.org,2002:binary", {
1695
1695
  kind: "scalar",
1696
- resolve: Io,
1696
+ resolve: Ao,
1697
1697
  construct: $o,
1698
- predicate: No,
1698
+ predicate: jo,
1699
1699
  represent: To
1700
- }), jo = Object.prototype.hasOwnProperty, Oo = Object.prototype.toString;
1701
- function Eo(e) {
1700
+ }), No = 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, Oo.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
- if (jo.call(a, i))
1709
+ if (No.call(a, i))
1710
1710
  if (!o)
1711
1711
  o = !0;
1712
1712
  else
@@ -1720,13 +1720,13 @@ function Eo(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: Eo,
1729
- construct: Mo
1728
+ resolve: Mo,
1729
+ construct: Eo
1730
1730
  }), qo = Object.prototype.toString;
1731
1731
  function Fo(e) {
1732
1732
  if (e === null)
@@ -1739,7 +1739,7 @@ function Fo(e) {
1739
1739
  }
1740
1740
  return !0;
1741
1741
  }
1742
- function Ko(e) {
1742
+ function Bo(e) {
1743
1743
  if (e === null)
1744
1744
  return [];
1745
1745
  var t, n, r, a, i, o = e;
@@ -1747,28 +1747,28 @@ 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: Fo,
1753
- construct: Ko
1754
- }), Bo = Object.prototype.hasOwnProperty;
1753
+ construct: Bo
1754
+ }), Ko = Object.prototype.hasOwnProperty;
1755
1755
  function Lo(e) {
1756
1756
  if (e === null)
1757
1757
  return !0;
1758
1758
  var t, n = e;
1759
1759
  for (t in n)
1760
- if (Bo.call(n, t) && n[t] !== null)
1760
+ if (Ko.call(n, t) && n[t] !== null)
1761
1761
  return !1;
1762
1762
  return !0;
1763
1763
  }
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
- }), qt = Rn.extend({
1771
+ }), qt = Pn.extend({
1772
1772
  implicit: [
1773
1773
  zn,
1774
1774
  Gn
@@ -1776,17 +1776,17 @@ 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
- }), qe = Object.prototype.hasOwnProperty, ct = 1, Yn = 2, Qn = 3, dt = 4, St = 1, Po = 2, tn = 3, Ro = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vo = /[\x85\u2028\u2029]/, Do = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1782
+ }), qe = Object.prototype.hasOwnProperty, ct = 1, Zn = 2, Qn = 3, dt = 4, St = 1, Ro = 2, tn = 3, Po = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vo = /[\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
  }
1786
1786
  function _e(e) {
1787
1787
  return e === 10 || e === 13;
1788
1788
  }
1789
- function Ke(e) {
1789
+ function Be(e) {
1790
1790
  return e === 9 || e === 32;
1791
1791
  }
1792
1792
  function ye(e) {
@@ -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 Re = 0; Re < 256; Re++)
1820
- tr[Re] = rn(Re) ? 1 : 0, nr[Re] = rn(Re);
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 || qt, 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) {
@@ -1854,23 +1854,23 @@ var an = {
1854
1854
  e.tagMap[r] = a;
1855
1855
  }
1856
1856
  };
1857
- function Ee(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 || O(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
- Ro.test(s) && O(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) || O(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], qe.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)
@@ -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 && !qe.call(n, a) && qe.call(t, a) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, O(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
1885
+ !e.json && !qe.call(n, a) && qe.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,
@@ -1896,7 +1896,7 @@ function Ft(e) {
1896
1896
  }
1897
1897
  function oe(e, t, n) {
1898
1898
  for (var r = 0, a = e.input.charCodeAt(e.position); a !== 0; ) {
1899
- for (; Ke(a); )
1899
+ for (; Be(a); )
1900
1900
  a === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), a = e.input.charCodeAt(++e.position);
1901
1901
  if (t && a === 35)
1902
1902
  do
@@ -1914,15 +1914,15 @@ function vt(e) {
1914
1914
  var t = e.position, n;
1915
1915
  return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || ye(n)));
1916
1916
  }
1917
- function Kt(e, t) {
1917
+ function Bt(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 && (Ee(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), Bt(e, e.line - s), i = o = e.position, l = !1), Be(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1945
1945
  }
1946
- return Ee(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 (Ee(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) ? (Ee(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);
1959
+ _e(n) ? (Me(e, r, a, !0), Bt(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
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 Ee(e, n, e.position, !0), e.position++, !0;
1969
- if (s === 92) {
1970
- if (Ee(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 : O(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
1979
  O(e, "unknown escape sequence");
1980
1980
  n = r = e.position;
1981
1981
  } else
1982
- _e(s) ? (Ee(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);
1982
+ _e(l) ? (Me(e, n, r, !0), Bt(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
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, S = /* @__PURE__ */ Object.create(null), T, k, U, N;
1988
- if (N = e.input.charCodeAt(e.position), N === 91)
1989
- p = 93, f = !1, s = [];
1990
- else if (N === 123)
1991
- p = 125, f = !0, s = {};
1987
+ var n = !0, r, a, i, o = e.tag, l, s = e.anchor, u, p, c, y, f, S = /* @__PURE__ */ Object.create(null), T, k, U, j;
1988
+ if (j = e.input.charCodeAt(e.position), j === 91)
1989
+ p = 93, f = !1, l = [];
1990
+ else if (j === 123)
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; ) {
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 && 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, s, S, k, T, U, r, a, i) : c ? s.push(ze(e, null, S, 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;
1994
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), j = e.input.charCodeAt(++e.position); j !== 0; ) {
1995
+ if (oe(e, !0, t), j = e.input.charCodeAt(e.position), j === p)
1996
+ return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1997
+ n ? j === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), k = T = U = null, c = y = !1, j === 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), j = e.input.charCodeAt(e.position), (y || e.line === r) && j === 58 && (c = !0, j = e.input.charCodeAt(++e.position), oe(e, !0, t), Ge(e, t, ct, !1, !0), U = e.result), f ? ze(e, l, S, k, T, U, r, a, i) : c ? l.push(ze(e, null, S, k, T, U, r, a, i)) : l.push(T), oe(e, !0, t), j = e.input.charCodeAt(e.position), j === 44 ? (n = !0, j = e.input.charCodeAt(++e.position)) : n = !1;
1998
1998
  }
1999
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 = St, 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,74 +2008,74 @@ 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
- St === a ? a = c === 43 ? tn : Po : O(e, "repeat of a chomping mode identifier");
2011
+ St === a ? a = c === 43 ? tn : Ro : O(e, "repeat of a chomping mode identifier");
2012
2012
  else if ((p = Ho(c)) >= 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") : (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
- if (Ke(c)) {
2016
+ if (Be(c)) {
2017
2017
  do
2018
2018
  c = e.input.charCodeAt(++e.position);
2019
- while (Ke(c));
2019
+ while (Be(c));
2020
2020
  if (c === 35)
2021
2021
  do
2022
2022
  c = e.input.charCodeAt(++e.position);
2023
2023
  while (!_e(c) && c !== 0);
2024
2024
  }
2025
2025
  for (; c !== 0; ) {
2026
- for (Ft(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && c === 32; )
2026
+ for (Ft(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 === St && i && (e.result += `
2034
+ `, i ? 1 + s : s) : a === St && i && (e.result += `
2035
2035
  `);
2036
2036
  break;
2037
2037
  }
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; )
2038
+ for (r ? Be(c) ? (u = !0, e.result += ie.repeat(`
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
- Ee(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, O(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)
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
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, S = 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, S = null, T = null, k = !1, U = !1, j;
2066
2066
  if (e.firstTabInLine !== -1)
2067
2067
  return !1;
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, 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, S, null, o, s, l), f = S = 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;
2068
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = c), j = e.input.charCodeAt(e.position); j !== 0; ) {
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, (j === 63 || j === 58) && ye(r))
2070
+ j === 63 ? (k && (ze(e, c, y, f, S, null, o, l, s), f = S = 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, j = 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
- for (N = e.input.charCodeAt(e.position); Ke(N); )
2076
- N = e.input.charCodeAt(++e.position);
2077
- if (N === 58)
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, S, null, o, s, l), f = S = T = null), U = !0, k = !1, a = !1, f = e.tag, S = e.result;
2075
+ for (j = e.input.charCodeAt(e.position); Be(j); )
2076
+ j = e.input.charCodeAt(++e.position);
2077
+ if (j === 58)
2078
+ j = e.input.charCodeAt(++e.position), ye(j) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ze(e, c, y, f, S, null, o, l, s), f = S = T = null), U = !0, k = !1, a = !1, f = e.tag, S = e.result;
2079
2079
  else if (U)
2080
2080
  O(e, "can not read an implicit mapping pair; a colon is missed");
2081
2081
  else
@@ -2085,12 +2085,12 @@ function ti(e, t, n) {
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 ? S = e.result : T = e.result), k || (ze(e, c, y, f, S, T, o, s, l), f = S = T = null), oe(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && N !== 0)
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 ? S = e.result : T = e.result), k || (ze(e, c, y, f, S, T, o, l, s), f = S = T = null), oe(e, !0, -1), j = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > t) && j !== 0)
2089
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, S, 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, S, 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;
@@ -2131,11 +2131,11 @@ function ai(e) {
2131
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), qe.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, S, 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, S, 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) && O(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
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)
@@ -2162,7 +2162,7 @@ function oi(e) {
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
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
- for (; Ke(o); )
2165
+ for (; Be(o); )
2166
2166
  o = e.input.charCodeAt(++e.position);
2167
2167
  if (o === 35) {
2168
2168
  do
@@ -2190,7 +2190,7 @@ function oi(e) {
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");
2193
+ var n = new Wo(e, t), r = e.indexOf("\0");
2194
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; )
@@ -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, It = 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, Si = 96, dr = 123, xi = 124, pr = 125, pe = {};
2219
+ }, ir = Object.prototype.toString, lr = Object.prototype.hasOwnProperty, Kt = 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, xi = 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 Ai = [
2235
+ var Ii = [
2236
2236
  "y",
2237
2237
  "Y",
2238
2238
  "yes",
@@ -2249,13 +2249,13 @@ var Ai = [
2249
2249
  "off",
2250
2250
  "Off",
2251
2251
  "OFF"
2252
- ], Ii = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
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) {
@@ -2270,14 +2270,14 @@ function Ti(e) {
2270
2270
  throw new fe("code point within a string may not be greater than 0xFFFFFFFF");
2271
2271
  return "\\" + n + ie.repeat("0", r - t.length) + t;
2272
2272
  }
2273
- var Ni = 1, rt = 2;
2274
- function ji(e) {
2275
- this.schema = e.schema || qt, 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;
2273
+ var ji = 1, rt = 2;
2274
+ function Ni(e) {
2275
+ this.schema = e.schema || qt, 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 : ji, 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
  }
@@ -2296,10 +2296,10 @@ function mt(e) {
2296
2296
  return e === pi || e === ci;
2297
2297
  }
2298
2298
  function at(e) {
2299
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Bt || 65536 <= e && e <= 1114111;
2299
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Kt || 65536 <= e && e <= 1114111;
2300
2300
  }
2301
2301
  function un(e) {
2302
- return at(e) && e !== Bt && e !== di && e !== nt;
2302
+ return at(e) && e !== Kt && e !== di && e !== nt;
2303
2303
  }
2304
2304
  function cn(e, t, n) {
2305
2305
  var r = un(e), a = r && !mt(e);
@@ -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 !== It && !(t === ft && !a) || un(t) && !mt(t) && e === It || 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 Ei(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 !== It && e !== yi && e !== vi && e !== fi && e !== xi && e !== Ci && e !== ki && e !== hi && e !== mi && e !== gi && e !== _i && e !== Si;
2316
- }
2317
2314
  function Mi(e) {
2315
+ return at(e) && e !== Kt && !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 !== xi && 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, Ve = 5;
2329
- function qi(e, t, n, r, a, i, o, s) {
2330
- var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, S = -1, T = Ei(et(e, 0)) && Mi(et(e, e.length - 1));
2329
+ function qi(e, t, n, r, a, i, o, l) {
2330
+ var s, u = 0, p = null, c = !1, y = !1, f = r !== -1, S = -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 Ve;
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 - S - 1 > r && e[S + 1] !== " ", S = l);
2341
+ s - S - 1 > r && e[S + 1] !== " ", S = s);
2342
2342
  else if (!at(u))
2343
2343
  return Ve;
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 - S - 1 > r && e[S + 1] !== " ";
2346
+ y = y || f && s - S - 1 > r && e[S + 1] !== " ";
2347
2347
  }
2348
2348
  return !c && !y ? T && !o && !a(e) ? mr : i === rt ? Ve : Tt : n > 9 && fr(e) ? Ve : o ? i === rt ? Ve : Tt : y ? yr : gr;
2349
2349
  }
@@ -2351,18 +2351,18 @@ function Fi(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 && (Ai.indexOf(t) !== -1 || Ii.test(t)))
2354
+ if (!e.noCompatMode && (Ii.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) {
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
2358
  return Oi(e, u);
2359
2359
  }
2360
2360
  switch (qi(
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,11 +2372,11 @@ function Fi(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(Bi(t, o), i));
2378
2378
  case Ve:
2379
- return '"' + Bi(t) + '"';
2379
+ return '"' + Ki(t) + '"';
2380
2380
  default:
2381
2381
  throw new fe("impossible error: invalid scalar style");
2382
2382
  }
@@ -2394,75 +2394,75 @@ function pn(e) {
2394
2394
  return e[e.length - 1] === `
2395
2395
  ` ? e.slice(0, -1) : e;
2396
2396
  }
2397
- function Ki(e, t) {
2397
+ function Bi(e, t) {
2398
2398
  for (var n = /(\n+)([^\n]*)/g, r = function() {
2399
2399
  var u = e.indexOf(`
2400
2400
  `);
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);
2419
- }
2420
- function Bi(e) {
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
+ }
2420
+ function Ki(e) {
2421
2421
  for (var t = "", n = 0, r, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
2422
2422
  n = et(e, a), r = pe[n], !r && at(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += r || Ti(n);
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 Ri(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 ? (Ri(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 !== "?" && Fi(e, e.dump, t, i, l);
2484
+ else if (l === "[object String]")
2485
+ e.tag !== "?" && Fi(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,28 +2494,28 @@ function Te(e, t, n, r, a, i, o) {
2494
2494
  }
2495
2495
  return !0;
2496
2496
  }
2497
- function Ri(e, t) {
2497
+ function Pi(e, t) {
2498
2498
  var n = [], r = [], a, i;
2499
- for (Nt(e, n, r), a = 0, i = r.length; a < i; a += 1)
2499
+ for (jt(e, n, r), a = 0, i = r.length; a < i; a += 1)
2500
2500
  t.duplicates.push(n[r[a]]);
2501
2501
  t.usedDuplicates = new Array(i);
2502
2502
  }
2503
- function Nt(e, t, n) {
2503
+ function jt(e, t, n) {
2504
2504
  var r, a, i;
2505
2505
  if (e !== null && typeof e == "object")
2506
2506
  if (a = t.indexOf(e), a !== -1)
2507
2507
  n.indexOf(a) === -1 && n.push(a);
2508
2508
  else if (t.push(e), Array.isArray(e))
2509
2509
  for (a = 0, i = e.length; a < i; a += 1)
2510
- Nt(e[a], t, n);
2510
+ jt(e[a], t, n);
2511
2511
  else
2512
2512
  for (r = Object.keys(e), a = 0, i = r.length; a < i; a += 1)
2513
- Nt(e[r[a]], t, n);
2513
+ jt(e[r[a]], t, n);
2514
2514
  }
2515
2515
  function Vi(e, t) {
2516
2516
  t = t || {};
2517
- var n = new ji(t);
2518
- n.noRefs || Ri(e, n);
2517
+ var n = new Ni(t);
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 = On, Ji = Fn, Zi = Pn, Wi = Rn, Yi = qt, Qi = or.load, Xi = or.loadAll, es = zi.dump, ts = fe, ns = {
2531
+ var Gi = ce, Hi = On, Ji = Fn, Wi = Rn, Yi = Pn, Zi = qt, Qi = or.load, Xi = or.loadAll, el = zi.dump, tl = fe, nl = {
2532
2532
  binary: Hn,
2533
2533
  float: Un,
2534
2534
  map: qn,
2535
- null: Kn,
2536
- pairs: Zn,
2537
- set: Wn,
2535
+ null: Bn,
2536
+ pairs: Wn,
2537
+ set: Yn,
2538
2538
  timestamp: zn,
2539
- bool: Bn,
2539
+ bool: Kn,
2540
2540
  int: Ln,
2541
2541
  merge: Gn,
2542
2542
  omap: Jn,
2543
- seq: Mn,
2544
- str: En
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,11 +2570,11 @@ 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 = V("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",
@@ -2585,13 +2585,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
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,24 +2630,24 @@ 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 = Nt(), { 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, F(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, F(s === "advanced" ? g(r)("baseConfigCard.sections.advanced") : g(r)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
2647
+ (m(!0), $(be, null, ve(e.propertyCollections[s], (u) => (m(), D($n, {
2648
2648
  key: u.key,
2649
2649
  item: u
2650
- }, Be({
2650
+ }, Ke({
2651
2651
  label: v(() => [
2652
2652
  ne(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2653
2653
  ]),
@@ -2667,7 +2667,7 @@ 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))
2670
+ ], 10, ul))), 128))
2671
2671
  ])) : J("", !0),
2672
2672
  e.format === "json" && t.record ? (m(), D(Tn, {
2673
2673
  key: 1,
@@ -2682,18 +2682,18 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
2682
2682
  }, null, 8, ["yaml-record"])) : J("", !0)
2683
2683
  ], 64));
2684
2684
  }
2685
- }), ps = /* @__PURE__ */ Ce(ds, [["__scopeId", "data-v-2052238b"]]), Se = "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-1d2a8d30"), e = e(), Ze(), e), ms = ["aria-hidden"], gs = {
2690
+ }, fl = (e) => (Je("data-v-1d2a8d30"), 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 */
@@ -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, F(e.title), 1)) : J("", !0),
2783
- ys
2784
- ], 8, ms))
2782
+ e.title ? (m(), $("title", gl, F(e.title), 1)) : J("", !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-1d2a8d30"]]), bs = (e) => (Je("data-v-929b4762"), e = e(), Ze(), e), Cs = ["aria-hidden"], ks = {
2789
+ }), vl = /* @__PURE__ */ ot(hl, [["__scopeId", "data-v-1d2a8d30"]]), bl = (e) => (Je("data-v-929b4762"), 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 */
@@ -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, F(e.title), 1)) : J("", !0),
2882
- ws
2883
- ], 8, Cs))
2881
+ e.title ? (m(), $("title", kl, F(e.title), 1)) : J("", !0),
2882
+ wl
2883
+ ], 8, Cl))
2884
2884
  ]),
2885
2885
  _: 1
2886
2886
  }, 8, ["aria-hidden", "style"]));
2887
2887
  }
2888
- }), Ss = /* @__PURE__ */ ot(_s, [["__scopeId", "data-v-929b4762"]]), xs = (e) => (Je("data-v-219f8484"), e = e(), Ze(), e), As = ["aria-hidden"], Is = {
2888
+ }), Sl = /* @__PURE__ */ ot(_l, [["__scopeId", "data-v-929b4762"]]), xl = (e) => (Je("data-v-219f8484"), e = e(), We(), e), Il = ["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__ */ xl(() => /* @__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 */
@@ -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", Is, F(e.title), 1)) : J("", !0),
2981
- $s
2982
- ], 8, As))
2980
+ e.title ? (m(), $("title", Al, F(e.title), 1)) : J("", !0),
2981
+ $l
2982
+ ], 8, Il))
2983
2983
  ]),
2984
2984
  _: 1
2985
2985
  }, 8, ["aria-hidden", "style"]));
2986
2986
  }
2987
- }), Ns = /* @__PURE__ */ ot(Ts, [["__scopeId", "data-v-219f8484"]]), js = (e) => (Je("data-v-ed11facd"), e = e(), Ze(), e), Os = ["aria-hidden"], Es = {
2987
+ }), jl = /* @__PURE__ */ ot(Tl, [["__scopeId", "data-v-219f8484"]]), Nl = (e) => (Je("data-v-ed11facd"), 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__ */ Nl(() => /* @__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)), qs = /* @__PURE__ */ X({
2993
+ }, null, -1)), ql = /* @__PURE__ */ X({
2994
2994
  __name: "CloseIcon",
2995
2995
  props: {
2996
2996
  /** The accessibility text provided to screen readers */
@@ -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", Es, F(e.title), 1)) : J("", !0),
3080
- Ms
3081
- ], 8, Os))
3079
+ e.title ? (m(), $("title", Ml, F(e.title), 1)) : J("", !0),
3080
+ El
3081
+ ], 8, Ol))
3082
3082
  ]),
3083
3083
  _: 1
3084
3084
  }, 8, ["aria-hidden", "style"]));
3085
3085
  }
3086
- }), Fs = /* @__PURE__ */ ot(qs, [["__scopeId", "data-v-ed11facd"]]), Ks = (e) => (Je("data-v-cf4e7d0b"), e = e(), Ze(), e), Bs = ["aria-hidden"], Ls = {
3086
+ }), Fl = /* @__PURE__ */ ot(ql, [["__scopeId", "data-v-ed11facd"]]), Bl = (e) => (Je("data-v-cf4e7d0b"), e = e(), We(), e), Kl = ["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__ */ Bl(() => /* @__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)), Rl = /* @__PURE__ */ X({
3093
3093
  __name: "MoreIcon",
3094
3094
  props: {
3095
3095
  /** The accessibility text provided to screen readers */
@@ -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, F(e.title), 1)) : J("", !0),
3179
- Us
3180
- ], 8, Bs))
3178
+ e.title ? (m(), $("title", Ll, F(e.title), 1)) : J("", !0),
3179
+ Ul
3180
+ ], 8, Kl))
3181
3181
  ]),
3182
3182
  _: 1
3183
3183
  }, 8, ["aria-hidden", "style"]));
3184
3184
  }
3185
- }), Rs = /* @__PURE__ */ ot(Ps, [["__scopeId", "data-v-cf4e7d0b"]]), Vs = {
3185
+ }), Pl = /* @__PURE__ */ ot(Rl, [["__scopeId", "data-v-cf4e7d0b"]]), Vl = {
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 = E("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,77 +3314,77 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3314
3314
  // the last property displayed
3315
3315
  section: he.Basic
3316
3316
  }
3317
- }, f = E(!1), S = E(!1), T = E(""), k = E({}), U = w(() => {
3318
- var d, A, B;
3317
+ }, f = M(!1), S = M(!1), T = M(""), k = M({}), U = w(() => {
3318
+ var d, I, K;
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 = (A = (d = a.configSchema) == null ? void 0 : d[M]) == null ? void 0 : A.order, K = (B = y[M]) == null ? void 0 : B.order;
3322
+ for (const E in k.value) {
3323
+ const b = (I = (d = a.configSchema) == null ? void 0 : d[E]) == null ? void 0 : I.order, B = (K = y[E]) == null ? void 0 : K.order;
3324
3324
  let q = G;
3325
- (K || K === 0) && (q = K === -1 ? G + 1 : K), b && (q = b === -1 ? G + 1 : b), x.push([M, q]);
3325
+ (B || B === 0) && (q = B === -1 ? G + 1 : B), b && (q = b === -1 ? G + 1 : b), x.push([E, q]);
3326
3326
  }
3327
- return x.sort(function(M, b) {
3328
- return M[1] - b[1];
3329
- }), x.map((M) => {
3330
- var b, K;
3331
- const q = M[0], H = (b = k.value) == null ? void 0 : b[q], te = ((K = a.configSchema) == null ? void 0 : K[q]) || {}, de = y[q];
3327
+ return x.sort(function(E, b) {
3328
+ return E[1] - b[1];
3329
+ }), x.map((E) => {
3330
+ var b, B;
3331
+ const q = E[0], H = (b = k.value) == null ? void 0 : b[q], te = ((B = a.configSchema) == null ? void 0 : B[q]) || {}, de = y[q];
3332
3332
  return {
3333
3333
  key: q,
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(q)),
3337
+ label: te.label ?? ((de == null ? void 0 : de.label) || l(q)),
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);
3342
- }), N = w(() => {
3343
- var d, A;
3341
+ }).filter((E) => !E.hidden && E.key !== a.pluginConfigKey);
3342
+ }), j = w(() => {
3343
+ var d, I;
3344
3344
  if (!k.value || !a.pluginConfigKey)
3345
3345
  return [];
3346
- const B = k.value[a.pluginConfigKey] || {}, x = Object.keys(B).length, G = [];
3347
- for (const M in B) {
3348
- const b = (A = (d = a.pluginConfigSchema) == null ? void 0 : d[M]) == null ? void 0 : A.order, K = B[M];
3349
- let q = K != null && K !== "" ? x - 1 : x;
3350
- b && (q = b === -1 ? x + 1 : b), G.push([M, q]);
3346
+ const K = k.value[a.pluginConfigKey] || {}, x = Object.keys(K).length, G = [];
3347
+ for (const E in K) {
3348
+ const b = (I = (d = a.pluginConfigSchema) == null ? void 0 : d[E]) == null ? void 0 : I.order, B = K[E];
3349
+ let q = B != null && B !== "" ? x - 1 : x;
3350
+ b && (q = b === -1 ? x + 1 : b), G.push([E, q]);
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], q = B[K], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[K]) || {};
3356
+ const B = E[0], q = K[B], H = ((b = a.pluginConfigSchema) == null ? void 0 : b[B]) || {};
3357
3357
  return {
3358
- key: K,
3358
+ key: B,
3359
3359
  value: q,
3360
3360
  hidden: H.hidden || !1,
3361
3361
  type: H.type ?? ee.Text,
3362
- label: H.label ?? s(K),
3362
+ label: H.label ?? l(B),
3363
3363
  tooltip: H.tooltip ?? void 0,
3364
3364
  section: he.Plugin
3365
3365
  };
3366
- }).filter((M) => !M.hidden);
3367
- }), Z = w(() => {
3368
- var d, A, B, x;
3366
+ }).filter((E) => !E.hidden);
3367
+ }), W = w(() => {
3368
+ var d, I, K, x;
3369
3369
  return {
3370
3370
  basic: (d = U.value) == null ? void 0 : d.filter((G) => G.section === he.Basic),
3371
- advanced: (A = U.value) == null ? void 0 : A.filter((G) => G.section === he.Advanced),
3372
- plugin: (x = N.value) == null ? void 0 : x.concat((B = U.value) == null ? void 0 : B.filter((G) => G.section === he.Plugin))
3371
+ advanced: (I = U.value) == null ? void 0 : I.filter((G) => G.section === he.Advanced),
3372
+ plugin: (x = j.value) == null ? void 0 : x.concat((K = U.value) == null ? void 0 : K.filter((G) => G.section === he.Plugin))
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 W.value.basic.length && d.push("basic"), W.value.advanced.length && d.push("advanced"), W.value.plugin.length && d.push("plugin"), d;
3377
3377
  }), _ = w(() => {
3378
- var d, A;
3379
- let B = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3380
- return a.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((d = a.config) == null ? void 0 : d.controlPlaneId) || "") : a.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (A = a.config) != null && A.workspace ? `/${a.config.workspace}` : "")), B = B.replace(/{id}/gi, a.config.entityId), B;
3378
+ var d, I;
3379
+ let K = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3380
+ return a.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, ((d = a.config) == null ? void 0 : d.controlPlaneId) || "") : a.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, (I = a.config) != null && I.workspace ? `/${a.config.workspace}` : "")), K = K.replace(/{id}/gi, a.config.entityId), K;
3381
3381
  });
3382
3382
  return $e(f, (d) => {
3383
3383
  r("loading", d);
3384
3384
  }, { immediate: !0 }), gt(async () => {
3385
3385
  S.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] };
@@ -3392,34 +3392,34 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3392
3392
  throw new Error(i("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3393
3393
  else
3394
3394
  k.value = { ...d };
3395
- Object.keys(a.configSchema).filter((A) => a.configSchema[A].forceShow).forEach((A) => {
3396
- k.value && typeof k.value[A] > "u" && (k.value[A] = null);
3395
+ Object.keys(a.configSchema).filter((I) => a.configSchema[I].forceShow).forEach((I) => {
3396
+ k.value && typeof k.value[I] > "u" && (k.value[I] = null);
3397
3397
  }), r("fetch:success", d);
3398
3398
  } catch (d) {
3399
- const A = o(d);
3400
- T.value = A.startsWith("code") ? i("baseConfigCard.errors.load") : A, S.value = !0, r("fetch:error", d);
3399
+ const I = o(d);
3400
+ T.value = I.startsWith("code") ? i("baseConfigCard.errors.load") : I, S.value = !0, r("fetch:error", d);
3401
3401
  } finally {
3402
3402
  f.value = !1;
3403
3403
  }
3404
- }), (d, A) => {
3405
- const B = V("KLabel"), x = V("KSelect"), G = V("KButton"), M = V("KSkeleton"), b = V("KEmptyState"), K = V("KCard");
3406
- return m(), D(K, {
3404
+ }), (d, I) => {
3405
+ const K = V("KLabel"), x = V("KSelect"), G = V("KButton"), E = V("KSkeleton"), b = V("KEmptyState"), B = V("KCard");
3406
+ return m(), D(B, {
3407
3407
  class: "kong-ui-entity-base-config-card",
3408
3408
  "title-tag": e.titleTag
3409
- }, Be({
3409
+ }, Ke({
3410
3410
  actions: v(() => [
3411
- L("div", Ds, [
3411
+ L("div", Dl, [
3412
3412
  ne(d.$slots, "actions", {}, void 0, !0),
3413
- j(B, {
3413
+ N(K, {
3414
3414
  class: "config-format-select-label",
3415
3415
  "data-testid": "config-format-select-label"
3416
3416
  }, {
3417
3417
  default: v(() => [
3418
- Y(F(e.label), 1)
3418
+ Z(F(e.label), 1)
3419
3419
  ]),
3420
3420
  _: 1
3421
3421
  }),
3422
- j(x, {
3422
+ N(x, {
3423
3423
  "data-testid": "select-config-format",
3424
3424
  items: u,
3425
3425
  onChange: c
@@ -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(Ss), { size: g(xa) }, null, 8, ["size"])
3440
- ], 8, zs)
3439
+ N(g(Sl), { size: g(xa) }, null, 8, ["size"])
3440
+ ], 8, zl)
3441
3441
  ]),
3442
3442
  _: 1
3443
3443
  })) : J("", !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,
@@ -3459,15 +3459,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3459
3459
  ]),
3460
3460
  _: 1
3461
3461
  })) : J("", !0),
3462
- L("div", Gs, [
3463
- j(ps, {
3462
+ L("div", Gl, [
3463
+ N(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": W.value,
3469
3469
  record: k.value
3470
- }, Be({ _: 2 }, [
3470
+ }, Ke({ _: 2 }, [
3471
3471
  ve(Object.keys(d.$slots), (q) => ({
3472
3472
  name: q,
3473
3473
  fn: v(({ row: H, rowValue: te }) => [
@@ -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", Vs, [
3488
+ L("span", Vl, [
3489
3489
  ne(d.$slots, "title", {}, () => [
3490
- Y(F(g(i)("baseConfigCard.title")), 1)
3490
+ Z(F(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 = Ot(), { i18n: { t: o } } = se.useI18n(), { getMessageFromError: s } = se.useErrors(), { axiosInstance: l } = se.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = E(!1), p = E(!1), c = E(""), y = w(() => a.canSubmit === !1 || a.isReadonly), f = E(!1), S = 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), S = 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);
@@ -3578,9 +3578,9 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3578
3578
  a.config.cancelRoute ? i.push(a.config.cancelRoute) : U();
3579
3579
  }, U = () => {
3580
3580
  r("cancel");
3581
- }, N = () => {
3581
+ }, j = () => {
3582
3582
  y.value || r("submit");
3583
- }, Z = E([
3583
+ }, W = M([
3584
3584
  {
3585
3585
  title: o("baseForm.configuration.yaml"),
3586
3586
  hash: "#yaml"
@@ -3596,22 +3596,22 @@ 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(S.value);
3599
+ const { data: h } = await s.get(S.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 = V("KSkeleton"), A = V("KEmptyState"), B = V("KAlert"), x = V("KButton"), G = V("KTabs"), M = V("KSlideout");
3608
+ const d = V("KSkeleton"), I = V("KEmptyState"), K = V("KAlert"), x = V("KButton"), G = V("KTabs"), E = V("KSlideout");
3609
3609
  return m(), D(xe(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3610
3610
  default: v(() => [
3611
3611
  u.value ? (m(), D(d, {
3612
3612
  key: 0,
3613
3613
  type: "form"
3614
- })) : p.value ? (m(), D(A, {
3614
+ })) : p.value ? (m(), D(I, {
3615
3615
  key: 1,
3616
3616
  "action-button-text": g(o)("baseForm.actions.back"),
3617
3617
  "data-testid": "form-fetch-error",
@@ -3627,53 +3627,53 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3627
3627
  "data-testid": "form-content",
3628
3628
  novalidate: a.noValidate,
3629
3629
  onReset: xt(U, ["prevent"]),
3630
- onSubmit: xt(N, ["prevent"])
3630
+ onSubmit: xt(j, ["prevent"])
3631
3631
  }, [
3632
3632
  ne(h.$slots, "default", {}, void 0, !0),
3633
- e.errorMessage ? (m(), D(B, {
3633
+ e.errorMessage ? (m(), D(K, {
3634
3634
  key: 0,
3635
3635
  appearance: "danger",
3636
3636
  "data-testid": "form-error",
3637
3637
  message: e.errorMessage
3638
3638
  }, null, 8, ["message"])) : J("", !0),
3639
- L("div", Ws, [
3639
+ L("div", Yl, [
3640
3640
  ne(h.$slots, "form-actions", {}, () => [
3641
- j(x, {
3641
+ N(x, {
3642
3642
  appearance: "tertiary",
3643
3643
  "data-testid": "form-view-configuration",
3644
3644
  onClick: _[0] || (_[0] = (b) => T())
3645
3645
  }, {
3646
3646
  default: v(() => [
3647
- Y(F(g(o)("baseForm.actions.viewConfiguration")), 1)
3647
+ Z(F(g(o)("baseForm.actions.viewConfiguration")), 1)
3648
3648
  ]),
3649
3649
  _: 1
3650
3650
  }),
3651
- j(x, {
3651
+ N(x, {
3652
3652
  appearance: "secondary",
3653
3653
  "data-testid": "form-cancel",
3654
3654
  disabled: e.isReadonly,
3655
3655
  type: "reset"
3656
3656
  }, {
3657
3657
  default: v(() => [
3658
- Y(F(g(o)("baseForm.actions.cancel")), 1)
3658
+ Z(F(g(o)("baseForm.actions.cancel")), 1)
3659
3659
  ]),
3660
3660
  _: 1
3661
3661
  }, 8, ["disabled"]),
3662
- j(x, {
3662
+ N(x, {
3663
3663
  appearance: "primary",
3664
3664
  "data-testid": "form-submit",
3665
3665
  disabled: y.value,
3666
3666
  type: "submit"
3667
3667
  }, {
3668
3668
  default: v(() => [
3669
- Y(F(g(o)("baseForm.actions.save")), 1)
3669
+ Z(F(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
+ N(E, {
3677
3677
  "close-on-blur": !1,
3678
3678
  "data-testid": "form-view-configuration-slideout",
3679
3679
  "has-overlay": !1,
@@ -3684,12 +3684,12 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3684
3684
  }, {
3685
3685
  default: v(() => [
3686
3686
  L("div", null, F(g(o)("baseForm.configuration.message")), 1),
3687
- j(G, {
3687
+ N(G, {
3688
3688
  "data-testid": "form-view-configuration-slideout-tabs",
3689
- tabs: Z.value
3689
+ tabs: W.value
3690
3690
  }, {
3691
3691
  json: v(() => [
3692
- j(Tn, {
3692
+ N(Tn, {
3693
3693
  config: e.config,
3694
3694
  "fetcher-url": S.value,
3695
3695
  "json-record": a.formFields,
@@ -3697,7 +3697,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3697
3697
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3698
3698
  ]),
3699
3699
  yaml: v(() => [
3700
- j(hr, {
3700
+ N(hr, {
3701
3701
  "yaml-record": a.formFields
3702
3702
  }, null, 8, ["yaml-record"])
3703
3703
  ]),
@@ -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: {
@@ -3736,27 +3736,27 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3736
3736
  return ((k = n.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3737
3737
  }), a = w(() => {
3738
3738
  var k, U;
3739
- const N = (k = t.rowEl) == null ? void 0 : k.querySelectorAll("td");
3740
- return N ? ((U = N[0]) == null ? void 0 : U.getAttribute("data-testid")) === t.keyName : !1;
3739
+ const j = (k = t.rowEl) == null ? void 0 : k.querySelectorAll("td");
3740
+ return j ? ((U = j[0]) == null ? void 0 : U.getAttribute("data-testid")) === t.keyName : !1;
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 = () => {
3746
- var k, U, N;
3747
- let Z = ((k = n.value) == null ? void 0 : k.clientWidth) || 0;
3745
+ }, s = () => {
3746
+ var k, U, j;
3747
+ let W = ((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
+ W -= (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 = E({}), p = E(0), c = E(0), y = E(""), f = w(() => [r.value, n.value]), S = $e(
3752
+ p.value = ((U = r.value) == null ? void 0 : U.getBoundingClientRect().width) || 0, c.value = W, y.value = ((j = u.value) == null ? void 0 : j.innerText) || "";
3753
+ }, u = M({}), p = M(0), c = M(0), y = M(""), f = w(() => [r.value, n.value]), S = $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)
@@ -3766,11 +3766,11 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3766
3766
  { immediate: !0, flush: "post", deep: !0 }
3767
3767
  ), T = w(() => i.value ? p.value > c.value : !1);
3768
3768
  return Sr(() => {
3769
- l();
3769
+ s();
3770
3770
  }), xr(() => {
3771
3771
  S();
3772
3772
  }), (k, U) => {
3773
- const N = V("KTooltip");
3773
+ const j = V("KTooltip");
3774
3774
  return m(), $("span", {
3775
3775
  ref_key: "contentRef",
3776
3776
  ref: u,
@@ -3780,7 +3780,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3780
3780
  key: 0,
3781
3781
  "data-truncate": i.value || void 0
3782
3782
  }, [
3783
- j(N, {
3783
+ N(j, {
3784
3784
  "max-width": "300",
3785
3785
  placement: "bottomStart",
3786
3786
  text: T.value ? y.value : ""
@@ -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-471ce76e"]]), nl = { class: "toolbar-container" }, rl = {
3797
+ }), ts = /* @__PURE__ */ Ce(es, [["__scopeId", "data-v-471ce76e"]]), 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,8 +3915,8 @@ 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(() => {
3919
- var d, A;
3918
+ const n = e, r = t, { i18n: { t: a } } = le.useI18n(), i = w(() => {
3919
+ var d, I;
3920
3920
  return typeof n.errorMessage == "string" ? {
3921
3921
  hasError: !!n.errorMessage,
3922
3922
  title: n.errorMessage,
@@ -3924,16 +3924,16 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3924
3924
  } : {
3925
3925
  hasError: !!n.errorMessage,
3926
3926
  title: (d = n.errorMessage) == null ? void 0 : d.title,
3927
- message: (A = n.errorMessage) == null ? void 0 : A.message
3927
+ message: (I = n.errorMessage) == null ? void 0 : I.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
- return Object.keys(n.tableHeaders).forEach((A) => {
3932
- const B = n.tableHeaders[A];
3931
+ return Object.keys(n.tableHeaders).forEach((I) => {
3932
+ const K = n.tableHeaders[I];
3933
3933
  d.push({
3934
- label: B.label ?? A,
3935
- key: A,
3936
- sortable: B.sortable ?? !1,
3934
+ label: K.label ?? I,
3935
+ key: I,
3936
+ sortable: K.sortable ?? !1,
3937
3937
  hidable: !0
3938
3938
  });
3939
3939
  }), n.enableEntityActions && d.push({
@@ -3944,45 +3944,45 @@ 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 = E({}), c = (d) => {
3948
- var A;
3949
- return (A = p.value) == null ? void 0 : A.$el.querySelector(`[data-rowid="${d.id}"]`);
3947
+ }), p = M({}), c = (d) => {
3948
+ var I;
3949
+ return (I = p.value) == null ? void 0 : I.$el.querySelector(`[data-rowid="${d.id}"]`);
3950
3950
  }, y = (d) => {
3951
- const A = {
3951
+ const I = {
3952
3952
  "data-testid": d.headerKey,
3953
3953
  ...n.cellAttributes(d)
3954
3954
  };
3955
- return d.colIndex === 0 && (A.style = {
3955
+ return d.colIndex === 0 && (I.style = {
3956
3956
  maxWidth: "250px",
3957
3957
  overflowX: "hidden",
3958
3958
  textOverflow: "ellipsis"
3959
- }), A;
3959
+ }), I;
3960
3960
  }, f = () => {
3961
3961
  r("empty-state-cta-clicked"), S();
3962
3962
  }, S = () => {
3963
3963
  r("clear-search-input");
3964
- }, T = w(() => n.disableRowClick ? void 0 : (d, A) => {
3965
- r("click:row", A);
3964
+ }, T = w(() => n.disableRowClick ? void 0 : (d, I) => {
3965
+ r("click:row", I);
3966
3966
  }), k = (d) => {
3967
3967
  r("sort", d);
3968
- }, { setTablePreferences: U, getTablePreferences: N } = Dr(), Z = E(N(o.value)), h = w(() => {
3969
- const d = N(o.value);
3968
+ }, { setTablePreferences: U, getTablePreferences: j } = Dr(), W = M(j(o.value)), h = w(() => {
3969
+ const d = j(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
+ W.value = d, o.value && U(o.value, d);
3976
3976
  };
3977
- return (d, A) => {
3978
- const B = V("KButton"), x = V("KDropdown"), G = V("KTable"), M = V("KCard");
3979
- return m(), D(M, {
3977
+ return (d, I) => {
3978
+ const K = V("KButton"), x = V("KDropdown"), G = V("KTable"), E = V("KCard");
3979
+ return m(), D(E, {
3980
3980
  class: "kong-ui-entity-base-table",
3981
3981
  title: e.title,
3982
3982
  "title-tag": e.titleTag
3983
3983
  }, {
3984
3984
  default: v(() => [
3985
- j(G, {
3985
+ N(G, {
3986
3986
  ref_key: "tableRefs",
3987
3987
  ref: p,
3988
3988
  "cache-identifier": o.value,
@@ -3999,7 +3999,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
3999
3999
  "error-state-title": i.value.title,
4000
4000
  fetcher: e.fetcher,
4001
4001
  "fetcher-cache-key": String(e.fetcherCacheKey),
4002
- headers: l.value,
4002
+ headers: s.value,
4003
4003
  "hide-pagination-when-optional": "",
4004
4004
  "initial-fetcher-params": h.value,
4005
4005
  loading: e.isLoading,
@@ -4009,40 +4009,40 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4009
4009
  "search-input": e.query,
4010
4010
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
4011
4011
  sortable: !e.disableSorting,
4012
- "table-preferences": Z.value,
4012
+ "table-preferences": W.value,
4013
4013
  onEmptyStateActionClick: f,
4014
4014
  "onRow:click": T.value,
4015
- onSort: A[0] || (A[0] = (b) => k(b)),
4015
+ onSort: I[0] || (I[0] = (b) => k(b)),
4016
4016
  "onUpdate:tablePreferences": _
4017
- }, Be({
4017
+ }, Ke({
4018
4018
  toolbar: v(({ state: b }) => [
4019
- Ne(L("div", nl, [
4019
+ je(L("div", ns, [
4020
4020
  ne(d.$slots, "toolbar-filter", {}, void 0, !0),
4021
- d.$slots["toolbar-button"] ? (m(), $("div", rl, [
4021
+ d.$slots["toolbar-button"] ? (m(), $("div", rs, [
4022
4022
  ne(d.$slots, "toolbar-button", {}, void 0, !0)
4023
4023
  ])) : J("", !0)
4024
4024
  ], 512), [
4025
- [je, s(b)]
4025
+ [Ne, l(b)]
4026
4026
  ])
4027
4027
  ]),
4028
- actions: v(({ row: b, rowKey: K, rowValue: q }) => [
4028
+ actions: v(({ row: b, rowKey: B, rowValue: q }) => [
4029
4029
  L("div", {
4030
4030
  class: "actions-container",
4031
4031
  "data-testid": b.name
4032
4032
  }, [
4033
- j(x, {
4033
+ N(x, {
4034
4034
  "kpop-attributes": { placement: "bottomEnd" },
4035
4035
  width: e.dropdownMenuWidth
4036
4036
  }, {
4037
4037
  items: v(() => [
4038
4038
  ne(d.$slots, "actions", {
4039
4039
  row: b,
4040
- rowKey: K,
4040
+ rowKey: B,
4041
4041
  rowValue: q
4042
4042
  }, void 0, !0)
4043
4043
  ]),
4044
4044
  default: v(() => [
4045
- j(B, {
4045
+ N(K, {
4046
4046
  appearance: "tertiary",
4047
4047
  class: "actions-trigger",
4048
4048
  "data-testid": "overflow-actions-button",
@@ -4050,32 +4050,32 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4050
4050
  size: "small"
4051
4051
  }, {
4052
4052
  default: v(() => [
4053
- j(g(Rs))
4053
+ N(g(Pl))
4054
4054
  ]),
4055
4055
  _: 1
4056
4056
  })
4057
4057
  ]),
4058
4058
  _: 2
4059
4059
  }, 1032, ["width"])
4060
- ], 8, al)
4060
+ ], 8, as)
4061
4061
  ]),
4062
4062
  _: 2
4063
4063
  }, [
4064
- ve(e.tableHeaders, (b, K) => ({
4065
- name: K,
4064
+ ve(e.tableHeaders, (b, B) => ({
4065
+ name: B,
4066
4066
  fn: v(({ row: q, rowKey: H, rowValue: te }) => [
4067
- j(tl, {
4068
- "key-name": String(K),
4067
+ N(ts, {
4068
+ "key-name": String(B),
4069
4069
  "row-el": c(q),
4070
4070
  tooltip: b.tooltip
4071
4071
  }, {
4072
4072
  default: v(() => [
4073
- ne(d.$slots, K, {
4073
+ ne(d.$slots, B, {
4074
4074
  row: q,
4075
4075
  rowKey: H,
4076
4076
  rowValue: te
4077
4077
  }, () => [
4078
- Y(F(te), 1)
4078
+ Z(F(te), 1)
4079
4079
  ], !0)
4080
4080
  ]),
4081
4081
  _: 2
@@ -4085,7 +4085,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4085
4085
  e.query ? void 0 : {
4086
4086
  name: "empty-state-action-icon",
4087
4087
  fn: v(() => [
4088
- j(g(vs))
4088
+ N(g(vl))
4089
4089
  ]),
4090
4090
  key: "0"
4091
4091
  }
@@ -4095,13 +4095,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4095
4095
  }, 8, ["title", "title-tag"]);
4096
4096
  };
4097
4097
  }
4098
- }), il = /* @__PURE__ */ Ce(ol, [["__scopeId", "data-v-67bd29c7"]]), sl = {
4098
+ }), is = /* @__PURE__ */ Ce(os, [["__scopeId", "data-v-67bd29c7"]]), ls = {
4099
4099
  key: 0,
4100
4100
  class: "kong-ui-entity-delete-error"
4101
- }, ll = {
4101
+ }, ss = {
4102
4102
  key: 1,
4103
4103
  class: "description"
4104
- }, ul = /* @__PURE__ */ X({
4104
+ }, us = /* @__PURE__ */ X({
4105
4105
  __name: "EntityDeleteModal",
4106
4106
  props: {
4107
4107
  visible: {
@@ -4140,12 +4140,12 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4140
4140
  },
4141
4141
  emits: ["cancel", "proceed"],
4142
4142
  setup(e, { emit: t }) {
4143
- const { i18nT: n } = se.useI18n(), r = e, a = t, i = w(() => r.needConfirm ? r.entityName : ""), o = () => {
4143
+ const { i18nT: n } = le.useI18n(), r = e, a = t, i = w(() => r.needConfirm ? r.entityName : ""), o = () => {
4144
4144
  a("cancel");
4145
- }, s = () => {
4145
+ }, l = () => {
4146
4146
  a("proceed");
4147
4147
  };
4148
- return (l, u) => {
4148
+ return (s, u) => {
4149
4149
  const p = V("KAlert"), c = V("KPrompt");
4150
4150
  return m(), D(c, {
4151
4151
  "action-button-appearance": "danger",
@@ -4156,24 +4156,24 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4156
4156
  title: e.title,
4157
4157
  visible: e.visible,
4158
4158
  onCancel: o,
4159
- onProceed: s
4159
+ onProceed: l
4160
4160
  }, {
4161
4161
  default: v(() => [
4162
- e.error ? (m(), $("div", sl, [
4163
- j(p, { appearance: "danger" }, {
4162
+ e.error ? (m(), $("div", ls, [
4163
+ N(p, { appearance: "danger" }, {
4164
4164
  default: v(() => [
4165
- Y(F(e.error), 1)
4165
+ Z(F(e.error), 1)
4166
4166
  ]),
4167
4167
  _: 1
4168
4168
  })
4169
4169
  ])) : J("", !0),
4170
- j(g(n), {
4170
+ N(g(n), {
4171
4171
  class: "message",
4172
4172
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4173
4173
  tag: "p"
4174
- }, Be({
4174
+ }, Ke({
4175
4175
  entityType: v(() => [
4176
- Y(F(r.entityType), 1)
4176
+ Z(F(r.entityType), 1)
4177
4177
  ]),
4178
4178
  _: 2
4179
4179
  }, [
@@ -4185,8 +4185,8 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4185
4185
  key: "0"
4186
4186
  } : void 0
4187
4187
  ]), 1032, ["keypath"]),
4188
- r.description || l.$slots.description ? (m(), $("div", ll, [
4189
- ne(l.$slots, "description", {}, () => [
4188
+ r.description || s.$slots.description ? (m(), $("div", ss, [
4189
+ ne(s.$slots, "description", {}, () => [
4190
4190
  L("p", null, F(r.description), 1)
4191
4191
  ], !0)
4192
4192
  ])) : J("", !0)
@@ -4195,13 +4195,13 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4195
4195
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
4196
4196
  };
4197
4197
  }
4198
- }), cl = /* @__PURE__ */ Ce(ul, [["__scopeId", "data-v-4361d622"]]), dl = {
4198
+ }), cs = /* @__PURE__ */ Ce(us, [["__scopeId", "data-v-4361d622"]]), ds = {
4199
4199
  fill: "none",
4200
4200
  height: "20",
4201
4201
  viewBox: "0 0 20 20",
4202
4202
  width: "20",
4203
4203
  xmlns: "http://www.w3.org/2000/svg"
4204
- }, pl = {
4204
+ }, ps = {
4205
4205
  id: "mask0_180_20349",
4206
4206
  height: "20",
4207
4207
  maskUnits: "userSpaceOnUse",
@@ -4209,7 +4209,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4209
4209
  width: "20",
4210
4210
  x: "0",
4211
4211
  y: "0"
4212
- }, fl = ["fill"], ml = { mask: "url(#mask0_180_20349)" }, gl = ["fill"], yn = /* @__PURE__ */ X({
4212
+ }, fs = ["fill"], ms = { mask: "url(#mask0_180_20349)" }, gs = ["fill"], yn = /* @__PURE__ */ X({
4213
4213
  __name: "IconFilter",
4214
4214
  props: {
4215
4215
  color: {
@@ -4218,26 +4218,26 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4218
4218
  }
4219
4219
  },
4220
4220
  setup(e) {
4221
- return (t, n) => (m(), $("svg", dl, [
4222
- L("mask", pl, [
4221
+ return (t, n) => (m(), $("svg", ds, [
4222
+ L("mask", ps, [
4223
4223
  L("rect", {
4224
4224
  fill: e.color,
4225
4225
  height: "20",
4226
4226
  width: "20"
4227
- }, null, 8, fl)
4227
+ }, null, 8, fs)
4228
4228
  ]),
4229
- L("g", ml, [
4229
+ L("g", ms, [
4230
4230
  L("path", {
4231
4231
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
4232
4232
  fill: e.color
4233
- }, null, 8, gl)
4233
+ }, null, 8, gs)
4234
4234
  ])
4235
4235
  ]));
4236
4236
  }
4237
- }), yl = {
4237
+ }), ys = {
4238
4238
  key: 1,
4239
4239
  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" }, Sl = { class: "filter-clear-button-container" }, xl = /* @__PURE__ */ X({
4240
+ }, 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" }, xs = /* @__PURE__ */ X({
4241
4241
  __name: "EntityFilter",
4242
4242
  props: {
4243
4243
  // filter config, either exact match or fuzzy match
@@ -4257,7 +4257,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4257
4257
  },
4258
4258
  emits: ["update:modelValue"],
4259
4259
  setup(e, { emit: t }) {
4260
- const { i18n: { t: n } } = se.useI18n(), r = e, a = t, i = E(!1), o = E({}), s = E(/* @__PURE__ */ new Set()), l = w(() => {
4260
+ const { i18n: { t: n } } = le.useI18n(), r = e, a = t, i = M(!1), o = M({}), l = M(/* @__PURE__ */ new Set()), s = w(() => {
4261
4261
  const h = [];
4262
4262
  return new URLSearchParams(r.modelValue).forEach((_, d) => {
4263
4263
  _ !== "" && h.push(d);
@@ -4281,16 +4281,16 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4281
4281
  const p = () => {
4282
4282
  i.value = !i.value;
4283
4283
  }, c = (h) => {
4284
- s.value.has(h) ? s.value.delete(h) : s.value.add(h);
4284
+ l.value.has(h) ? l.value.delete(h) : l.value.add(h);
4285
4285
  }, y = (h) => {
4286
4286
  a("update:modelValue", h);
4287
4287
  }, f = () => {
4288
4288
  y("");
4289
4289
  }, S = (h) => `filter-${h}`, T = (h) => {
4290
4290
  var _, d;
4291
- return (((d = (_ = r.config.schema) == null ? void 0 : _[h]) == null ? void 0 : d.values) ?? []).map((A) => ({
4292
- value: A,
4293
- label: A
4291
+ return (((d = (_ = r.config.schema) == null ? void 0 : _[h]) == null ? void 0 : d.values) ?? []).map((I) => ({
4292
+ value: I,
4293
+ label: I
4294
4294
  }));
4295
4295
  }, k = (h) => {
4296
4296
  var _, d;
@@ -4299,15 +4299,15 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4299
4299
  o.value = {
4300
4300
  ...o.value,
4301
4301
  [h]: ""
4302
- }, Z();
4303
- }, N = () => {
4304
- o.value = {}, Z(!0);
4305
- }, Z = (h = !1) => {
4306
- const _ = Object.keys(o.value).reduce((d, A) => (o.value[A] && (d[A] = `${o.value[A]}`), d), {});
4302
+ }, W();
4303
+ }, j = () => {
4304
+ o.value = {}, W(!0);
4305
+ }, W = (h = !1) => {
4306
+ const _ = Object.keys(o.value).reduce((d, I) => (o.value[I] && (d[I] = `${o.value[I]}`), d), {});
4307
4307
  h && (i.value = !1), a("update:modelValue", new URLSearchParams(_).toString());
4308
4308
  };
4309
4309
  return (h, _) => {
4310
- const d = V("KInput"), A = V("KButton"), B = V("KSelect");
4310
+ const d = V("KInput"), I = V("KButton"), K = V("KSelect");
4311
4311
  return e.config.isExactMatch ? (m(), D(d, {
4312
4312
  key: 0,
4313
4313
  autocomplete: "off",
@@ -4318,65 +4318,65 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4318
4318
  "onUpdate:modelValue": y
4319
4319
  }, {
4320
4320
  before: v(() => [
4321
- j(yn)
4321
+ N(yn)
4322
4322
  ]),
4323
4323
  after: v(() => [
4324
- Ne(j(g(Fs), {
4324
+ je(N(g(Fl), {
4325
4325
  class: "kong-ui-entity-filter-clear",
4326
4326
  onClick: f
4327
4327
  }, null, 512), [
4328
- [je, e.modelValue !== ""]
4328
+ [Ne, e.modelValue !== ""]
4329
4329
  ])
4330
4330
  ]),
4331
4331
  _: 1
4332
- }, 8, ["model-value", "placeholder"])) : (m(), $("div", yl, [
4333
- j(A, {
4332
+ }, 8, ["model-value", "placeholder"])) : (m(), $("div", ys, [
4333
+ N(I, {
4334
4334
  appearance: "tertiary",
4335
4335
  "data-testid": "filter-button",
4336
4336
  onClick: p
4337
4337
  }, {
4338
4338
  default: v(() => [
4339
- j(yn),
4340
- Y(" " + F(g(n)("filter.filterButtonText")) + " " + F(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4339
+ N(yn),
4340
+ Z(" " + F(g(n)("filter.filterButtonText")) + " " + F(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4341
4341
  ]),
4342
4342
  _: 1
4343
4343
  }),
4344
- Ne(L("div", {
4344
+ je(L("div", {
4345
4345
  class: "kong-ui-entity-filter-backdrop",
4346
4346
  onClick: p
4347
4347
  }, null, 512), [
4348
- [je, i.value]
4348
+ [Ne, i.value]
4349
4349
  ]),
4350
- Ne(L("div", hl, [
4350
+ je(L("div", hs, [
4351
4351
  (m(!0), $(be, null, ve(u.value, (x) => {
4352
- var G, M;
4352
+ var G, E;
4353
4353
  return m(), $("div", {
4354
4354
  key: x.value,
4355
4355
  class: "kong-ui-entity-filter-menu-item",
4356
4356
  "data-testid": x.value
4357
4357
  }, [
4358
4358
  L("span", {
4359
- class: Me(["menu-item-title", { expanded: s.value.has(x.value) }]),
4359
+ class: Ee(["menu-item-title", { expanded: l.value.has(x.value) }]),
4360
4360
  role: "button",
4361
4361
  tabindex: "0",
4362
4362
  onClick: (b) => c(x.value),
4363
4363
  onKeydown: wr((b) => c(x.value), ["enter"])
4364
4364
  }, [
4365
- Y(F(x.label) + " ", 1),
4366
- Ne(L("span", Cl, null, 512), [
4367
- [je, l.value.includes(x.value)]
4365
+ Z(F(x.label) + " ", 1),
4366
+ je(L("span", Cs, null, 512), [
4367
+ [Ne, s.value.includes(x.value)]
4368
4368
  ]),
4369
- j(g(Ns), {
4370
- class: Me(["menu-item-expand-icon", { expanded: s.value.has(x.value) }]),
4369
+ N(g(jl), {
4370
+ class: Ee(["menu-item-expand-icon", { expanded: l.value.has(x.value) }]),
4371
4371
  color: g(_a)
4372
4372
  }, null, 8, ["class", "color"])
4373
- ], 42, bl),
4374
- Ne(L("div", kl, [
4373
+ ], 42, bs),
4374
+ je(L("div", ks, [
4375
4375
  L("label", {
4376
4376
  class: "menu-item-label",
4377
4377
  for: S(x.value)
4378
- }, F(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, {
4378
+ }, F(g(n)("filter.fieldLabel")), 9, ws),
4379
+ ((E = (G = e.config.schema) == null ? void 0 : G[x.value]) == null ? void 0 : E.type) === "select" ? (m(), D(K, {
4380
4380
  key: 0,
4381
4381
  id: S(x.value),
4382
4382
  modelValue: o.value[x.value],
@@ -4393,55 +4393,55 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4393
4393
  type: k(x.value)
4394
4394
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4395
4395
  ], 512), [
4396
- [je, s.value.has(x.value)]
4396
+ [Ne, l.value.has(x.value)]
4397
4397
  ]),
4398
- Ne(L("div", _l, [
4399
- j(A, {
4398
+ je(L("div", _s, [
4399
+ N(I, {
4400
4400
  appearance: "tertiary",
4401
4401
  "data-testid": "apply-filter",
4402
4402
  size: "small",
4403
- onClick: _[0] || (_[0] = (b) => Z(!0))
4403
+ onClick: _[0] || (_[0] = (b) => W(!0))
4404
4404
  }, {
4405
4405
  default: v(() => [
4406
- Y(F(g(n)("filter.applyButtonText")), 1)
4406
+ Z(F(g(n)("filter.applyButtonText")), 1)
4407
4407
  ]),
4408
4408
  _: 1
4409
4409
  }),
4410
- j(A, {
4410
+ N(I, {
4411
4411
  appearance: "tertiary",
4412
4412
  "data-testid": "clear-filter",
4413
4413
  size: "small",
4414
4414
  onClick: (b) => U(x.value)
4415
4415
  }, {
4416
4416
  default: v(() => [
4417
- Y(F(g(n)("filter.clearButtonText")), 1)
4417
+ Z(F(g(n)("filter.clearButtonText")), 1)
4418
4418
  ]),
4419
4419
  _: 2
4420
4420
  }, 1032, ["onClick"])
4421
4421
  ], 512), [
4422
- [je, s.value.has(x.value)]
4422
+ [Ne, l.value.has(x.value)]
4423
4423
  ])
4424
- ], 8, vl);
4424
+ ], 8, vs);
4425
4425
  }), 128)),
4426
- L("div", Sl, [
4427
- j(A, {
4426
+ L("div", Ss, [
4427
+ N(I, {
4428
4428
  appearance: "tertiary",
4429
4429
  size: "small",
4430
- onClick: N
4430
+ onClick: j
4431
4431
  }, {
4432
4432
  default: v(() => [
4433
- Y(F(g(n)("filter.clearAllButtonText")), 1)
4433
+ Z(F(g(n)("filter.clearAllButtonText")), 1)
4434
4434
  ]),
4435
4435
  _: 1
4436
4436
  })
4437
4437
  ])
4438
4438
  ], 512), [
4439
- [je, i.value]
4439
+ [Ne, i.value]
4440
4440
  ])
4441
4441
  ]));
4442
4442
  };
4443
4443
  }
4444
- }), Al = /* @__PURE__ */ Ce(xl, [["__scopeId", "data-v-94990087"]]), st = /* @__PURE__ */ X({
4444
+ }), Is = /* @__PURE__ */ Ce(xs, [["__scopeId", "data-v-94990087"]]), lt = /* @__PURE__ */ X({
4445
4445
  __name: "PermissionsWrapper",
4446
4446
  props: {
4447
4447
  /**
@@ -4463,7 +4463,7 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4463
4463
  }
4464
4464
  },
4465
4465
  setup(e) {
4466
- const t = e, n = E(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4466
+ const t = e, n = M(void 0), r = w(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4467
4467
  return $e(() => t.authFunction, async () => {
4468
4468
  n.value = await t.authFunction();
4469
4469
  }, { immediate: !0 }), (a, i) => r.value ? ne(a.$slots, "default", {
@@ -4472,42 +4472,42 @@ const ss = { class: "yaml-config" }, hr = /* @__PURE__ */ X({
4472
4472
  }) : J("", !0);
4473
4473
  }
4474
4474
  });
4475
- let lt;
4476
- const Il = new Uint8Array(16);
4477
- function $l() {
4478
- if (!lt && (lt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !lt))
4475
+ let st;
4476
+ const As = new Uint8Array(16);
4477
+ function $s() {
4478
+ if (!st && (st = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !st))
4479
4479
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4480
- return lt(Il);
4480
+ return st(As);
4481
4481
  }
4482
4482
  const ue = [];
4483
4483
  for (let e = 0; e < 256; ++e)
4484
4484
  ue.push((e + 256).toString(16).slice(1));
4485
- function Tl(e, t = 0) {
4485
+ function Ts(e, t = 0) {
4486
4486
  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
4487
  }
4488
- const Nl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), hn = {
4489
- randomUUID: Nl
4488
+ const js = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), hn = {
4489
+ randomUUID: js
4490
4490
  };
4491
- function jl(e, t, n) {
4491
+ function Ns(e, t, n) {
4492
4492
  if (hn.randomUUID && !t && !e)
4493
4493
  return hn.randomUUID();
4494
4494
  e = e || {};
4495
- const r = e.random || (e.rng || $l)();
4495
+ const r = e.random || (e.rng || $s)();
4496
4496
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
4497
4497
  n = n || 0;
4498
4498
  for (let a = 0; a < 16; ++a)
4499
4499
  t[n + a] = r[a];
4500
4500
  return t;
4501
4501
  }
4502
- return Tl(r);
4502
+ return Ts(r);
4503
4503
  }
4504
- const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4504
+ const Os = ["aria-labelledby"], Ms = { class: "form-section-wrapper" }, Es = {
4505
4505
  key: 1,
4506
4506
  class: "form-section-description"
4507
- }, ql = {
4507
+ }, qs = {
4508
4508
  key: 2,
4509
4509
  class: "form-section-footer"
4510
- }, Fl = { class: "form-section-content" }, Kl = /* @__PURE__ */ X({
4510
+ }, Fs = { class: "form-section-content" }, Bs = /* @__PURE__ */ X({
4511
4511
  __name: "EntityFormSection",
4512
4512
  props: {
4513
4513
  title: {
@@ -4536,16 +4536,16 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4536
4536
  }
4537
4537
  },
4538
4538
  setup(e) {
4539
- const t = jt(), n = jl();
4539
+ const t = Nt(), n = Ns();
4540
4540
  return (r, a) => (m(), $("div", {
4541
4541
  "aria-labelledby": e.title ? g(n) : void 0,
4542
- class: Me(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4542
+ class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4543
4543
  role: "group"
4544
4544
  }, [
4545
- L("div", El, [
4545
+ L("div", Ms, [
4546
4546
  e.hideInfoHeader ? J("", !0) : (m(), $("div", {
4547
4547
  key: 0,
4548
- class: Me(["form-section-info", { sticky: e.stickyInfoHeader }])
4548
+ class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
4549
4549
  }, [
4550
4550
  e.title ? (m(), D(xe(e.titleTag), {
4551
4551
  key: 0,
@@ -4553,29 +4553,29 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4553
4553
  class: "form-section-title"
4554
4554
  }, {
4555
4555
  default: v(() => [
4556
- Y(F(e.title), 1)
4556
+ Z(F(e.title), 1)
4557
4557
  ]),
4558
4558
  _: 1
4559
4559
  }, 8, ["id"])) : J("", !0),
4560
- e.description || g(t).description ? (m(), $("div", Ml, [
4560
+ e.description || g(t).description ? (m(), $("div", Es, [
4561
4561
  ne(r.$slots, "description", {}, () => [
4562
4562
  L("p", null, F(e.description), 1)
4563
4563
  ], !0)
4564
4564
  ])) : J("", !0),
4565
- g(t).footer ? (m(), $("div", ql, [
4565
+ g(t).footer ? (m(), $("div", qs, [
4566
4566
  ne(r.$slots, "footer", {}, void 0, !0)
4567
4567
  ])) : J("", !0)
4568
4568
  ], 2)),
4569
- L("div", Fl, [
4569
+ L("div", Fs, [
4570
4570
  ne(r.$slots, "default", {}, void 0, !0)
4571
4571
  ])
4572
4572
  ])
4573
- ], 10, Ol));
4573
+ ], 10, Os));
4574
4574
  }
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, Rl = { class: "add-to-group-form-container" }, Vl = { class: "add-to-group-cta-text" }, Dl = {
4575
+ }), vn = /* @__PURE__ */ Ce(Bs, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Ut, useDeleteUrlBuilder: Ks, useErrors: Ls, useExternalLinkCreator: su, useFetchUrlBuilder: uu, useFetcher: Us, useDebouncedFilter: vr, useStringHelpers: cu, useHelpers: du, useGatewayFeatureSupported: pu, useTruncationDetector: fu, useValidators: Rs } = le, Ps = { class: "add-to-group-form-container" }, Vs = { class: "add-to-group-cta-text" }, Ds = {
4576
4576
  key: 0,
4577
4577
  class: "kong-ui-entity-add-to-groups-error"
4578
- }, zl = { key: 0 }, Gl = /* @__PURE__ */ X({
4578
+ }, zs = { key: 0 }, Gs = /* @__PURE__ */ X({
4579
4579
  __name: "AddToGroupModal",
4580
4580
  props: {
4581
4581
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4592,10 +4592,10 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4592
4592
  },
4593
4593
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4594
4594
  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 = E([]), {
4597
- debouncedQueryChange: s,
4598
- loading: l,
4595
+ var E;
4596
+ const { i18n: { t: n } } = yt.useI18n(), r = e, a = t, { axiosInstance: i } = Ut((E = r.config) == null ? void 0 : E.axiosRequestConfig), o = M([]), {
4597
+ debouncedQueryChange: l,
4598
+ loading: s,
4599
4599
  allRecords: u,
4600
4600
  error: p,
4601
4601
  loadItems: c,
@@ -4608,7 +4608,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4608
4608
  fetchedItemsKey: "data",
4609
4609
  searchKeys: ["name", "id"]
4610
4610
  }
4611
- ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), S = E(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4611
+ ), f = w(() => p.value ? n("consumer_groups.errors.general") : ""), S = M(0), T = w(() => u.value === void 0), k = w(() => y.value.map((b) => ({
4612
4612
  label: b.name,
4613
4613
  value: b.id,
4614
4614
  selected: o.value.includes(b.id),
@@ -4616,53 +4616,53 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4616
4616
  // we need this to determine whether or not to show the description text
4617
4617
  }))), U = (b) => {
4618
4618
  var q;
4619
- const K = T.value ? y.value.find((H) => H.id === b) : (q = u.value) == null ? void 0 : q.find((H) => H.id === b);
4620
- return K ? K.name : b;
4621
- }, N = () => {
4622
- _.value = "", Z.value = [], x.value = [], a("cancel");
4623
- }, Z = E([]), h = E(!1), _ = E(""), d = async () => {
4619
+ const B = T.value ? y.value.find((H) => H.id === b) : (q = u.value) == null ? void 0 : q.find((H) => H.id === b);
4620
+ return B ? B.name : b;
4621
+ }, j = () => {
4622
+ _.value = "", W.value = [], x.value = [], a("cancel");
4623
+ }, W = M([]), h = M(!1), _ = M(""), d = async () => {
4624
4624
  if (!o.value.length) {
4625
4625
  _.value = "", x.value = [], a("cancel");
4626
4626
  return;
4627
4627
  }
4628
- h.value = !0, _.value = "", Z.value = [], x.value = [];
4628
+ h.value = !0, _.value = "", W.value = [], x.value = [];
4629
4629
  try {
4630
- const b = o.value.map((H) => B(H)), K = await Promise.allSettled(b);
4630
+ const b = o.value.map((H) => K(H)), B = await Promise.allSettled(b);
4631
4631
  let q = !0;
4632
- K.forEach((H) => {
4632
+ B.forEach((H) => {
4633
4633
  H.status !== "fulfilled" && (q = !1);
4634
- }), q ? (Z.value = [], x.value = [], a("add:success", o.value), o.value = []) : (Z.value.length && a("add:partial-success", Z.value), o.value = [], G(K));
4634
+ }), q ? (W.value = [], x.value = [], a("add:success", o.value), o.value = []) : (W.value.length && a("add:partial-success", W.value), o.value = [], G(B));
4635
4635
  } catch {
4636
4636
  _.value = n("consumer_groups.errors.add"), a("error", _.value);
4637
4637
  } finally {
4638
4638
  h.value = !1;
4639
4639
  }
4640
- }, A = w(() => {
4641
- var K, q, H, te;
4640
+ }, I = w(() => {
4641
+ var B, q, H, te;
4642
4642
  let b = `${r.config.apiBaseUrl}${Oe.list[r.config.app].forConsumer}`;
4643
- return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((K = r.config) == null ? void 0 : K.controlPlaneId) || "").replace(/{consumerId}/gi, ((q = r.config) == null ? void 0 : q.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
- }), B = async (b) => {
4645
- const K = {
4643
+ return r.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((B = r.config) == null ? void 0 : B.controlPlaneId) || "").replace(/{consumerId}/gi, ((q = r.config) == null ? void 0 : q.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
+ }), K = async (b) => {
4645
+ const B = {
4646
4646
  group: b
4647
4647
  };
4648
4648
  try {
4649
- const q = await i.post(A.value, K);
4650
- return Z.value.push(b), q;
4649
+ const q = await i.post(I.value, B);
4650
+ return W.value.push(b), q;
4651
4651
  } catch (q) {
4652
4652
  let H = `${U(b)} - ${q.message}`;
4653
4653
  return q.response.status === 409 && (H = `${U(b)} - ${n("consumer_groups.errors.already_added")}`), Promise.reject(Error(H));
4654
4654
  }
4655
- }, x = E([]), G = (b) => {
4656
- x.value = b.map((K) => {
4655
+ }, x = M([]), G = (b) => {
4656
+ x.value = b.map((B) => {
4657
4657
  var q;
4658
- return (q = K.reason) == null ? void 0 : q.message;
4658
+ return (q = B.reason) == null ? void 0 : q.message;
4659
4659
  }).filter(Boolean);
4660
4660
  };
4661
4661
  return $e(k, () => {
4662
4662
  S.value++;
4663
4663
  }, { immediate: !0, deep: !0 }), $e(() => r.visible, () => {
4664
4664
  r.visible && c();
4665
- }, { immediate: !0 }), (b, K) => {
4665
+ }, { immediate: !0 }), (b, B) => {
4666
4666
  const q = V("KMultiselect"), H = V("KAlert"), te = V("KPrompt");
4667
4667
  return m(), D(te, {
4668
4668
  "action-button-disabled": h.value,
@@ -4670,33 +4670,33 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4670
4670
  "data-testid": "add-to-group-modal",
4671
4671
  title: g(n)("consumer_groups.consumers.add.title"),
4672
4672
  visible: e.visible,
4673
- onCancel: N,
4673
+ onCancel: j,
4674
4674
  onProceed: d
4675
4675
  }, {
4676
4676
  default: v(() => [
4677
- L("div", Rl, [
4678
- L("p", Vl, F(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
- j(q, {
4677
+ L("div", Ps, [
4678
+ L("p", Vs, F(g(n)("consumer_groups.consumers.add.ctaText")), 1),
4679
+ N(q, {
4680
4680
  modelValue: o.value,
4681
- "onUpdate:modelValue": K[0] || (K[0] = (de) => o.value = de),
4681
+ "onUpdate:modelValue": B[0] || (B[0] = (de) => o.value = de),
4682
4682
  autosuggest: "",
4683
4683
  "data-testid": "add-to-groups-multiselect",
4684
4684
  "dropdown-footer-text": T.value ? g(n)("consumer_groups.consumers.add.footer") : void 0,
4685
4685
  items: k.value,
4686
4686
  label: g(n)("consumer_groups.consumers.add.consumer_groups_label"),
4687
- loading: g(l),
4687
+ loading: g(s),
4688
4688
  placeholder: g(n)("consumer_groups.consumers.add.consumer_group_placeholder"),
4689
4689
  readonly: h.value,
4690
4690
  required: "",
4691
4691
  width: "100%",
4692
- onQueryChange: g(s)
4692
+ onQueryChange: g(l)
4693
4693
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4694
- _.value || f.value || x.value.length ? (m(), $("div", Dl, [
4695
- j(H, { appearance: "danger" }, {
4694
+ _.value || f.value || x.value.length ? (m(), $("div", Ds, [
4695
+ N(H, { appearance: "danger" }, {
4696
4696
  default: v(() => [
4697
4697
  L("p", null, F(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 }, F(de), 1))), 128))
4698
+ x.value.length ? (m(), $("ul", zs, [
4699
+ (m(!0), $(be, null, ve(x.value, (de, Ye) => (m(), $("li", { key: Ye }, F(de), 1))), 128))
4700
4700
  ])) : J("", !0),
4701
4701
  L("div", null, F(_.value || f.value), 1)
4702
4702
  ]),
@@ -4709,12 +4709,12 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4709
4709
  }, 8, ["action-button-disabled", "title", "visible"]);
4710
4710
  };
4711
4711
  }
4712
- }), Pt = (e, t) => {
4712
+ }), Rt = (e, t) => {
4713
4713
  const n = e.__vccOpts || e;
4714
4714
  for (const [r, a] of t)
4715
4715
  n[r] = a;
4716
4716
  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({
4717
+ }, Hs = /* @__PURE__ */ Rt(Gs, [["__scopeId", "data-v-bb0a8037"]]), Js = { class: "kong-ui-entities-consumer-groups-list" }, Ws = { key: 1 }, Ys = /* @__PURE__ */ X({
4718
4718
  __name: "ConsumerGroupList",
4719
4719
  props: {
4720
4720
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4761,131 +4761,131 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4761
4761
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4762
4762
  setup(e, { emit: t }) {
4763
4763
  var Vt;
4764
- const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Ot(), { axiosInstance: s } = Ut((Vt = r.config) == null ? void 0 : Vt.axiosRequestConfig), l = E(1), u = w(() => !!r.config.consumerId), p = w(
4764
+ const n = t, r = e, { i18nT: a, i18n: { t: i } } = yt.useI18n(), o = Ot(), { axiosInstance: l } = Ut((Vt = r.config) == null ? void 0 : Vt.axiosRequestConfig), s = M(1), u = w(() => !!r.config.consumerId), p = w(
4765
4765
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
4766
4766
  ), c = w(() => r.config.app !== "kongManager" || !!r.config.disableSorting), y = {
4767
4767
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4768
4768
  };
4769
4769
  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
- const f = y, S = (I) => ({
4771
- "data-testid": I.username ?? I.custom_id ?? I.id
4770
+ const f = y, S = (A) => ({
4771
+ "data-testid": A.username ?? A.custom_id ?? A.id
4772
4772
  }), T = w(() => {
4773
- var W, re, ge, we;
4774
- let I = `${r.config.apiBaseUrl}${Oe.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4775
- return r.config.app === "konnect" ? I = I.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" && (I = I.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), I;
4776
- }), k = E(""), U = w(() => {
4777
- const I = r.config.app === "konnect" || r.config.isExactMatch;
4778
- return I ? {
4779
- isExactMatch: I,
4773
+ var Y, re, ge, we;
4774
+ let A = `${r.config.apiBaseUrl}${Oe.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4775
+ 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;
4776
+ }), k = M(""), U = w(() => {
4777
+ const A = r.config.app === "konnect" || r.config.isExactMatch;
4778
+ return A ? {
4779
+ isExactMatch: A,
4780
4780
  fields: {
4781
4781
  username: y.name,
4782
4782
  id: { label: i("consumer_groups.list.table_headers.id") }
4783
4783
  },
4784
4784
  placeholder: i("consumer_groups.search.placeholder")
4785
4785
  } : {
4786
- isExactMatch: I,
4786
+ isExactMatch: A,
4787
4787
  fields: {
4788
4788
  name: y.name
4789
4789
  },
4790
4790
  schema: r.config.filterSchema
4791
4791
  };
4792
- }), N = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: Z, fetcherState: h } = Ul(r.config, T.value, N.value), _ = () => {
4792
+ }), j = w(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: W, fetcherState: h } = Us(r.config, T.value, j.value), _ = () => {
4793
4793
  k.value = "";
4794
4794
  }, d = () => {
4795
- l.value++;
4796
- }, A = E(null), B = (I, W) => {
4797
- const re = I.id;
4798
- if (!W(re)) {
4795
+ s.value++;
4796
+ }, I = M(null), K = (A, Y) => {
4797
+ const re = A.id;
4798
+ if (!Y(re)) {
4799
4799
  n("copy:error", {
4800
- entity: I,
4800
+ entity: A,
4801
4801
  field: "id",
4802
4802
  message: i("consumer_groups.errors.copy")
4803
4803
  });
4804
4804
  return;
4805
4805
  }
4806
4806
  n("copy:success", {
4807
- entity: I,
4807
+ entity: A,
4808
4808
  field: "id",
4809
4809
  message: i("consumer_groups.copy.success", { val: re })
4810
4810
  });
4811
- }, x = (I, W) => {
4812
- const re = JSON.stringify(I);
4813
- if (!W(re)) {
4811
+ }, x = (A, Y) => {
4812
+ const re = JSON.stringify(A);
4813
+ if (!Y(re)) {
4814
4814
  n("copy:error", {
4815
- entity: I,
4815
+ entity: A,
4816
4816
  message: i("consumer_groups.errors.copy")
4817
4817
  });
4818
4818
  return;
4819
4819
  }
4820
4820
  n("copy:success", {
4821
- entity: I,
4821
+ entity: A,
4822
4822
  message: i("consumer_groups.copy.success_brief")
4823
4823
  });
4824
- }, G = async (I) => {
4824
+ }, G = async (A) => {
4825
4825
  var re;
4826
- await ((re = r.canRetrieve) == null ? void 0 : re.call(r, I)) && o.push(r.config.getViewRoute(I.id));
4827
- }, M = (I) => ({
4826
+ await ((re = r.canRetrieve) == null ? void 0 : re.call(r, A)) && o.push(r.config.getViewRoute(A.id));
4827
+ }, E = (A) => ({
4828
4828
  label: i("consumer_groups.actions.view"),
4829
- to: r.config.getViewRoute(I)
4830
- }), b = (I) => ({
4829
+ to: r.config.getViewRoute(A)
4830
+ }), b = (A) => ({
4831
4831
  label: i("consumer_groups.actions.edit"),
4832
- to: r.config.getEditRoute(I)
4833
- }), K = E(void 0), q = E(!1), H = E(!1), te = E(""), de = Bl(r.config, T.value), We = (I) => {
4834
- K.value = I, q.value = !0;
4832
+ to: r.config.getEditRoute(A)
4833
+ }), B = M(void 0), q = M(!1), H = M(!1), te = M(""), de = Ks(r.config, T.value), Ye = (A) => {
4834
+ B.value = A, q.value = !0;
4835
4835
  }, bt = () => {
4836
4836
  q.value = !1;
4837
4837
  }, it = async () => {
4838
- var I, W, re;
4839
- if ((I = K.value) != null && I.id) {
4838
+ var A, Y, re;
4839
+ if ((A = B.value) != null && A.id) {
4840
4840
  H.value = !0;
4841
4841
  try {
4842
- await s.delete(de(K.value.id)), H.value = !1, q.value = !1, l.value++, n("delete:success", K.value);
4842
+ await l.delete(de(B.value.id)), H.value = !1, q.value = !1, s.value++, n("delete:success", B.value);
4843
4843
  } 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);
4844
+ 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
4845
  } finally {
4846
4846
  H.value = !1;
4847
4847
  }
4848
4848
  }
4849
- }, Le = E(!1), Ye = () => {
4849
+ }, Le = M(!1), Ze = () => {
4850
4850
  Le.value = !0;
4851
4851
  }, C = () => {
4852
4852
  Le.value = !1;
4853
- }, P = (I, W) => {
4854
- W || C(), l.value++, n("add:success", I);
4853
+ }, R = (A, Y) => {
4854
+ Y || C(), s.value++, n("add:success", A);
4855
4855
  }, ae = () => {
4856
- u.value && Ye();
4857
- }, R = E(void 0), z = E(!1), me = E(""), ke = (I) => {
4858
- R.value = I, z.value = !0;
4859
- }, le = () => {
4860
- z.value = !1, R.value = void 0;
4856
+ u.value && Ze();
4857
+ }, P = M(void 0), z = M(!1), me = M(""), ke = (A) => {
4858
+ P.value = A, z.value = !0;
4859
+ }, se = () => {
4860
+ z.value = !1, P.value = void 0;
4861
4861
  }, Ue = w(() => {
4862
- var W, re, ge, we;
4863
- let I = `${r.config.apiBaseUrl}${Oe.list[r.config.app].oneForConsumer}`;
4864
- return r.config.app === "konnect" ? I = I.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" && (I = I.replace(/\/{workspace}/gi, (ge = r.config) != null && ge.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((we = r.config) == null ? void 0 : we.consumerId) || "")), I;
4865
- }), Qe = E(!1), br = async () => {
4866
- if (R.value) {
4862
+ var Y, re, ge, we;
4863
+ let A = `${r.config.apiBaseUrl}${Oe.list[r.config.app].oneForConsumer}`;
4864
+ 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;
4865
+ }), Qe = M(!1), br = async () => {
4866
+ if (P.value) {
4867
4867
  Qe.value = !0;
4868
4868
  try {
4869
- const I = Ue.value.replace(/{consumerGroupId}/gi, R.value.id);
4870
- await s.delete(I), n("remove:success", R.value), le(), l.value++;
4871
- } catch (I) {
4872
- me.value = I.message || i("consumer_groups.errors.delete"), n("error", I);
4869
+ const A = Ue.value.replace(/{consumerGroupId}/gi, P.value.id);
4870
+ await l.delete(A), n("remove:success", P.value), se(), s.value++;
4871
+ } catch (A) {
4872
+ me.value = A.message || i("consumer_groups.errors.delete"), n("error", A);
4873
4873
  } finally {
4874
4874
  Qe.value = !1;
4875
4875
  }
4876
4876
  }
4877
- }, Rt = E(!0);
4878
- $e(h, (I) => {
4879
- var W, re, ge, we;
4880
- if (Array.isArray((W = I == null ? void 0 : I.response) == null ? void 0 : W.data) && (Rt.value = I.response.data.length > 0), I.status === Fe.Error) {
4881
- A.value = {
4877
+ }, Pt = M(!0);
4878
+ $e(h, (A) => {
4879
+ var Y, re, ge, we;
4880
+ if (Array.isArray((Y = A == null ? void 0 : A.response) == null ? void 0 : Y.data) && (Pt.value = A.response.data.length > 0), A.status === Fe.Error) {
4881
+ I.value = {
4882
4882
  title: i("consumer_groups.errors.general")
4883
- }, (we = (ge = (re = I.error) == null ? void 0 : re.response) == null ? void 0 : ge.data) != null && we.message && (A.value.message = I.error.response.data.message), n("error", I.error);
4883
+ }, (we = (ge = (re = A.error) == null ? void 0 : re.response) == null ? void 0 : ge.data) != null && we.message && (I.value.message = A.error.response.data.message), n("error", A.error);
4884
4884
  return;
4885
4885
  }
4886
- A.value = null;
4886
+ I.value = null;
4887
4887
  });
4888
- const Ct = E({
4888
+ const Ct = M({
4889
4889
  ctaPath: u.value ? void 0 : r.config.createRoute,
4890
4890
  ctaText: void 0,
4891
4891
  message: `${i("consumer_groups.list.empty_state.description")}${r.config.additionMessageForEmptyState ? ` ${r.config.additionMessageForEmptyState}` : ""}`,
@@ -4893,19 +4893,19 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4893
4893
  });
4894
4894
  return gt(async () => {
4895
4895
  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
- }), (I, W) => {
4896
+ }), (A, Y) => {
4897
4897
  const re = V("KButton"), ge = V("KBadge"), we = V("KTruncate"), Xe = V("KDropdownItem"), Dt = V("KClipboardProvider"), Cr = V("KPrompt");
4898
- return m(), $("div", Jl, [
4899
- j(g(il), {
4898
+ return m(), $("div", Js, [
4899
+ N(g(is), {
4900
4900
  "cache-identifier": e.cacheIdentifier,
4901
4901
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4902
4902
  "disable-pagination-page-jump": "",
4903
4903
  "disable-sorting": c.value,
4904
4904
  "empty-state-options": Ct.value,
4905
4905
  "enable-entity-actions": "",
4906
- "error-message": A.value,
4907
- fetcher: g(Z),
4908
- "fetcher-cache-key": l.value,
4906
+ "error-message": I.value,
4907
+ fetcher: g(W),
4908
+ "fetcher-cache-key": s.value,
4909
4909
  "pagination-type": "offset",
4910
4910
  "preferences-storage-key": p.value,
4911
4911
  query: k.value,
@@ -4913,15 +4913,15 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4913
4913
  "table-headers": g(f),
4914
4914
  "use-action-outside": e.useActionOutside,
4915
4915
  onClearSearchInput: _,
4916
- "onClick:row": W[3] || (W[3] = (Q) => G(Q)),
4916
+ "onClick:row": Y[3] || (Y[3] = (Q) => G(Q)),
4917
4917
  onEmptyStateCtaClicked: ae,
4918
4918
  onSort: d
4919
4919
  }, {
4920
4920
  "toolbar-filter": v(() => [
4921
- u.value ? J("", !0) : (m(), D(g(Al), {
4921
+ u.value ? J("", !0) : (m(), D(g(Is), {
4922
4922
  key: 0,
4923
4923
  modelValue: k.value,
4924
- "onUpdate:modelValue": W[0] || (W[0] = (Q) => k.value = Q),
4924
+ "onUpdate:modelValue": Y[0] || (Y[0] = (Q) => k.value = Q),
4925
4925
  config: U.value
4926
4926
  }, null, 8, ["modelValue", "config"]))
4927
4927
  ]),
@@ -4930,24 +4930,24 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4930
4930
  disabled: !e.useActionOutside,
4931
4931
  to: "#kong-ui-app-page-header-action-button"
4932
4932
  }, [
4933
- j(g(st), {
4933
+ N(g(lt), {
4934
4934
  "auth-function": () => e.canCreate()
4935
4935
  }, {
4936
4936
  default: v(() => [
4937
- Ne(j(re, {
4937
+ je(N(re, {
4938
4938
  appearance: "primary",
4939
4939
  "data-testid": "toolbar-add-consumer-group",
4940
4940
  size: "large",
4941
4941
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4942
- onClick: W[1] || (W[1] = () => e.config.consumerId ? Ye() : void 0)
4942
+ onClick: Y[1] || (Y[1] = () => e.config.consumerId ? Ze() : void 0)
4943
4943
  }, {
4944
4944
  default: v(() => [
4945
- j(g(Kr)),
4946
- Y(" " + F(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4945
+ N(g(Br)),
4946
+ Z(" " + F(e.config.consumerId ? g(i)("consumer_groups.actions.add_to_group") : g(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4947
4947
  ]),
4948
4948
  _: 1
4949
4949
  }, 8, ["to"]), [
4950
- [je, Rt.value]
4950
+ [Ne, Pt.value]
4951
4951
  ])
4952
4952
  ]),
4953
4953
  _: 1
@@ -4958,89 +4958,89 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
4958
4958
  L("b", null, F(Q ?? "-"), 1)
4959
4959
  ]),
4960
4960
  consumers_count: v(({ rowValue: Q }) => [
4961
- Y(F(Q ?? "-"), 1)
4961
+ Z(F(Q ?? "-"), 1)
4962
4962
  ]),
4963
4963
  tags: v(({ rowValue: Q }) => [
4964
4964
  (Q == null ? void 0 : Q.length) > 0 ? (m(), D(we, { key: 0 }, {
4965
4965
  default: v(() => [
4966
- (m(!0), $(be, null, ve(Q, (Pe) => (m(), D(ge, {
4967
- key: Pe,
4968
- onClick: W[2] || (W[2] = xt(() => {
4966
+ (m(!0), $(be, null, ve(Q, (Re) => (m(), D(ge, {
4967
+ key: Re,
4968
+ onClick: Y[2] || (Y[2] = xt(() => {
4969
4969
  }, ["stop"]))
4970
4970
  }, {
4971
4971
  default: v(() => [
4972
- Y(F(Pe), 1)
4972
+ Z(F(Re), 1)
4973
4973
  ]),
4974
4974
  _: 2
4975
4975
  }, 1024))), 128))
4976
4976
  ]),
4977
4977
  _: 2
4978
- }, 1024)) : (m(), $("span", Zl, "-"))
4978
+ }, 1024)) : (m(), $("span", Ws, "-"))
4979
4979
  ]),
4980
4980
  actions: v(({ row: Q }) => [
4981
- j(Dt, null, {
4982
- default: v(({ copyToClipboard: Pe }) => [
4983
- j(Xe, {
4981
+ N(Dt, null, {
4982
+ default: v(({ copyToClipboard: Re }) => [
4983
+ N(Xe, {
4984
4984
  "data-testid": "action-entity-copy-id",
4985
- onClick: (kr) => B(Q, Pe)
4985
+ onClick: (kr) => K(Q, Re)
4986
4986
  }, {
4987
4987
  default: v(() => [
4988
- Y(F(g(i)("consumer_groups.actions.copy_id")), 1)
4988
+ Z(F(g(i)("consumer_groups.actions.copy_id")), 1)
4989
4989
  ]),
4990
4990
  _: 2
4991
4991
  }, 1032, ["onClick"])
4992
4992
  ]),
4993
4993
  _: 2
4994
4994
  }, 1024),
4995
- j(Dt, null, {
4996
- default: v(({ copyToClipboard: Pe }) => [
4997
- j(Xe, {
4995
+ N(Dt, null, {
4996
+ default: v(({ copyToClipboard: Re }) => [
4997
+ N(Xe, {
4998
4998
  "data-testid": "action-entity-copy-json",
4999
- onClick: (kr) => x(Q, Pe)
4999
+ onClick: (kr) => x(Q, Re)
5000
5000
  }, {
5001
5001
  default: v(() => [
5002
- Y(F(g(i)("consumer_groups.actions.copy_json")), 1)
5002
+ Z(F(g(i)("consumer_groups.actions.copy_json")), 1)
5003
5003
  ]),
5004
5004
  _: 2
5005
5005
  }, 1032, ["onClick"])
5006
5006
  ]),
5007
5007
  _: 2
5008
5008
  }, 1024),
5009
- j(g(st), {
5009
+ N(g(lt), {
5010
5010
  "auth-function": () => e.canRetrieve(Q)
5011
5011
  }, {
5012
5012
  default: v(() => [
5013
- j(Xe, {
5013
+ N(Xe, {
5014
5014
  "data-testid": "action-entity-view",
5015
5015
  "has-divider": "",
5016
- item: M(Q.id)
5016
+ item: E(Q.id)
5017
5017
  }, null, 8, ["item"])
5018
5018
  ]),
5019
5019
  _: 2
5020
5020
  }, 1032, ["auth-function"]),
5021
- j(g(st), {
5021
+ N(g(lt), {
5022
5022
  "auth-function": () => e.canEdit(Q)
5023
5023
  }, {
5024
5024
  default: v(() => [
5025
- j(Xe, {
5025
+ N(Xe, {
5026
5026
  "data-testid": "action-entity-edit",
5027
5027
  item: b(Q.id)
5028
5028
  }, null, 8, ["item"])
5029
5029
  ]),
5030
5030
  _: 2
5031
5031
  }, 1032, ["auth-function"]),
5032
- j(g(st), {
5032
+ N(g(lt), {
5033
5033
  "auth-function": () => e.canDelete(Q)
5034
5034
  }, {
5035
5035
  default: v(() => [
5036
- j(Xe, {
5036
+ N(Xe, {
5037
5037
  danger: "",
5038
5038
  "data-testid": "action-entity-delete",
5039
5039
  "has-divider": "",
5040
- onClick: () => e.config.consumerId ? ke(Q) : We(Q)
5040
+ onClick: () => e.config.consumerId ? ke(Q) : Ye(Q)
5041
5041
  }, {
5042
5042
  default: v(() => [
5043
- Y(F(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5043
+ Z(F(e.config.consumerId ? g(i)("consumer_groups.actions.exit") : g(i)("consumer_groups.actions.delete")), 1)
5044
5044
  ]),
5045
5045
  _: 2
5046
5046
  }, 1032, ["onClick"])
@@ -5050,11 +5050,11 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5050
5050
  ]),
5051
5051
  _: 1
5052
5052
  }, 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), {
5053
+ N(g(cs), {
5054
5054
  "action-pending": H.value,
5055
5055
  "data-testid": "delete-consumer-group-modal",
5056
5056
  description: g(i)("consumer_groups.delete.description"),
5057
- "entity-name": K.value && (K.value.name || K.value.id),
5057
+ "entity-name": B.value && (B.value.name || B.value.id),
5058
5058
  "entity-type": g(wn).ConsumerGroup,
5059
5059
  error: te.value,
5060
5060
  title: g(i)("consumer_groups.delete.title"),
@@ -5062,32 +5062,32 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5062
5062
  onCancel: bt,
5063
5063
  onProceed: it
5064
5064
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
5065
- e.config.consumerId ? (m(), D(Hl, {
5065
+ e.config.consumerId ? (m(), D(Hs, {
5066
5066
  key: 0,
5067
5067
  config: e.config,
5068
5068
  "data-testid": "add-to-group-modal",
5069
5069
  visible: Le.value,
5070
- "onAdd:partialSuccess": W[4] || (W[4] = (Q) => P(Q, !0)),
5071
- "onAdd:success": W[5] || (W[5] = (Q) => P(Q)),
5070
+ "onAdd:partialSuccess": Y[4] || (Y[4] = (Q) => R(Q, !0)),
5071
+ "onAdd:success": Y[5] || (Y[5] = (Q) => R(Q)),
5072
5072
  onCancel: C
5073
5073
  }, null, 8, ["config", "visible"])) : J("", !0),
5074
- e.config.consumerId && R.value ? (m(), D(Cr, {
5074
+ e.config.consumerId && P.value ? (m(), D(Cr, {
5075
5075
  key: 1,
5076
5076
  "action-button-appearance": "danger",
5077
5077
  "data-testid": "exit-group-modal",
5078
5078
  title: g(i)("consumer_groups.consumers.exit.title"),
5079
5079
  visible: z.value,
5080
- onCancel: le,
5080
+ onCancel: se,
5081
5081
  onProceed: br
5082
5082
  }, {
5083
5083
  default: v(() => [
5084
- j(g(a), {
5084
+ N(g(a), {
5085
5085
  class: "exit-modal-message",
5086
5086
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
5087
5087
  tag: "p"
5088
- }, Be({
5088
+ }, Ke({
5089
5089
  consumerGroup: v(() => [
5090
- L("strong", null, F(R.value.name || R.value.id), 1)
5090
+ L("strong", null, F(P.value.name || P.value.id), 1)
5091
5091
  ]),
5092
5092
  _: 2
5093
5093
  }, [
@@ -5106,7 +5106,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5106
5106
  ]);
5107
5107
  };
5108
5108
  }
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 = {
5109
+ }), mu = /* @__PURE__ */ Rt(Ys, [["__scopeId", "data-v-a183d2c6"]]), Zs = { class: "kong-ui-entities-consumer-group-form" }, Qs = { class: "select-item-container" }, Xs = { class: "select-item-label" }, eu = {
5110
5110
  key: 0,
5111
5111
  class: "select-item-description"
5112
5112
  }, tu = /* @__PURE__ */ X({
@@ -5127,7 +5127,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5127
5127
  },
5128
5128
  emits: ["update", "error", "loading"],
5129
5129
  setup(e, { emit: t }) {
5130
- var it, Le, Ye;
5130
+ var it, Le, Ze;
5131
5131
  const n = e, r = t, { i18n: { t: a } } = yt.useI18n(), i = Ot(), o = zt({
5132
5132
  fields: {
5133
5133
  name: "",
@@ -5136,12 +5136,12 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5136
5136
  },
5137
5137
  errorMessage: "",
5138
5138
  readonly: !1
5139
- }), s = zt({
5139
+ }), l = zt({
5140
5140
  name: "",
5141
5141
  tags: "",
5142
5142
  consumers: []
5143
5143
  }), {
5144
- debouncedQueryChange: l,
5144
+ debouncedQueryChange: s,
5145
5145
  loading: u,
5146
5146
  error: p,
5147
5147
  loadItems: c,
@@ -5149,134 +5149,134 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5149
5149
  } = vr(n.config, (Le = Oe.form[(it = n.config) == null ? void 0 : it.app]) == null ? void 0 : Le.consumersList, "", {
5150
5150
  fetchedItemsKey: "data",
5151
5151
  searchKeys: ["username", "custom_id", "id"]
5152
- }), { axiosInstance: f } = Ut((Ye = n.config) == null ? void 0 : Ye.axiosRequestConfig), { getMessageFromError: S } = Ll(), T = Pl(), k = w(() => y.value.map((C) => ({
5152
+ }), { axiosInstance: f } = Ut((Ze = n.config) == null ? void 0 : Ze.axiosRequestConfig), { getMessageFromError: S } = Ls(), T = Rs(), k = w(() => y.value.map((C) => ({
5153
5153
  label: C.username || C.custom_id,
5154
5154
  value: C.id,
5155
5155
  selected: o.fields.consumers.includes(C.id),
5156
5156
  data: C
5157
5157
  // we need this to determine whether or not to show the description text
5158
5158
  }))), U = w(() => {
5159
- var C, P;
5160
- return (P = Oe.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 R = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Oe.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5164
- return ((ke = n.config) == null ? void 0 : ke.app) === "konnect" ? R = R.replace(/{controlPlaneId}/gi, ((le = n.config) == null ? void 0 : le.controlPlaneId) || "") : ((Ue = n.config) == null ? void 0 : Ue.app) === "kongManager" && (R = R.replace(/\/{workspace}/gi, (Qe = n.config) != null && Qe.workspace ? `/${n.config.workspace}` : "")), R = R.replace(/{id}/gi, P || n.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (R = R.replace(/{consumerId}/gi, ae)), R;
5159
+ var C, R;
5160
+ return (R = Oe.form[(C = n.config) == null ? void 0 : C.app]) == null ? void 0 : R.edit;
5161
+ }), j = w(() => n.consumerGroupId ? ut.Edit : ut.Create), W = w(() => !!o.fields.name && !G.value), h = w(() => JSON.stringify(o.fields) !== JSON.stringify(l)), _ = (C, R = "", ae = "") => {
5162
+ var z, me, ke, se, Ue, Qe;
5163
+ let P = `${(z = n.config) == null ? void 0 : z.apiBaseUrl}${Oe.form[(me = n.config) == null ? void 0 : me.app][C]}`;
5164
+ 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, R || n.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, ae)), P;
5165
5165
  }, d = () => {
5166
5166
  var C;
5167
5167
  i.push(((C = n.config) == null ? void 0 : C.cancelRoute) || { name: "consumer-group-list" });
5168
- }, A = (C) => {
5168
+ }, I = (C) => {
5169
5169
  r("error", C);
5170
- }, B = (C) => {
5170
+ }, K = (C) => {
5171
5171
  r("loading", C);
5172
5172
  }, x = async (C) => {
5173
- var ae, R, z, me, ke;
5174
- o.fields.name = ((ae = C == null ? void 0 : C.item) == null ? void 0 : ae.name) || ((R = C == null ? void 0 : C.consumer_group) == null ? void 0 : R.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)) || [];
5173
+ var ae, P, z, me, ke;
5174
+ 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) || "";
5175
+ const R = ((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 = (R == null ? void 0 : R.join(", ")) || "", "consumers" in C)
5177
+ o.fields.consumers = ((me = C == null ? void 0 : C.consumers) == null ? void 0 : me.map((se) => se.id)) || [];
5178
5178
  else
5179
5179
  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
- q(le);
5180
+ const { data: se } = await f.get(_("getConsumers"));
5181
+ o.fields.consumers = "consumers" in se ? (ke = se == null ? void 0 : se.consumers) == null ? void 0 : ke.map((Ue) => Ue.id) : [];
5182
+ } catch (se) {
5183
+ q(se);
5184
5184
  }
5185
- Object.assign(s, o.fields);
5186
- }, G = w(() => T.utf8Name(o.fields.name)), M = w(() => {
5187
- var C, P;
5185
+ Object.assign(l, o.fields);
5186
+ }, G = w(() => T.utf8Name(o.fields.name)), E = w(() => {
5187
+ var C, R;
5188
5188
  return {
5189
5189
  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 !== "")
5190
+ tags: (R = (C = o.fields.tags.split(",")) == null ? void 0 : C.map((ae) => String(ae || "").trim())) == null ? void 0 : R.filter((ae) => ae !== "")
5191
5191
  };
5192
- }), b = async (C, P = "") => await f.post(_("addConsumer", P, C), { consumer: C }), K = async (C, P = "") => await f.delete(_("removeConsumer", P, C)), q = (C) => {
5192
+ }), b = async (C, R = "") => await f.post(_("addConsumer", R, C), { consumer: C }), B = async (C, R = "") => await f.delete(_("removeConsumer", R, C)), q = (C) => {
5193
5193
  o.errorMessage = S(C), r("error", C);
5194
5194
  }, 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 R = C == null ? void 0 : C.find((z) => z.status !== "fulfilled");
5198
- R ? q({
5199
- code: R.status,
5200
- message: P
5195
+ Object.assign(l, o.fields), r("update", { ...o.fields, id: C });
5196
+ }, te = (C, R, ae = n.consumerGroupId) => {
5197
+ const P = C == null ? void 0 : C.find((z) => z.status !== "fulfilled");
5198
+ P ? q({
5199
+ code: P.status,
5200
+ message: R
5201
5201
  }) : H(ae);
5202
5202
  }, de = async () => {
5203
5203
  let C = "";
5204
5204
  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
- q(P);
5205
+ const { data: R } = await f.post(_("create"), E.value);
5206
+ C = "item" in R ? R.item.id : R.id;
5207
+ } catch (R) {
5208
+ q(R);
5209
5209
  }
5210
5210
  if (o.fields.consumers.length > 0 && C)
5211
5211
  try {
5212
- const P = o.fields.consumers.map((R) => b(R, C)), ae = await Promise.allSettled(P);
5212
+ const R = o.fields.consumers.map((P) => b(P, C)), ae = await Promise.allSettled(R);
5213
5213
  te(ae, a("consumer_groups.errors.add_consumer"), C);
5214
- } catch (P) {
5215
- q(P);
5214
+ } catch (R) {
5215
+ q(R);
5216
5216
  }
5217
5217
  else
5218
5218
  o.fields.consumers.length === 0 && C && H(C);
5219
- }, We = async () => {
5219
+ }, Ye = async () => {
5220
5220
  var ae;
5221
5221
  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 (R) {
5224
- q(R);
5222
+ ((ae = n.config) == null ? void 0 : ae.app) === "konnect" ? await f.put(_("edit"), E.value) : await f.patch(_("edit"), E.value);
5223
+ } catch (P) {
5224
+ q(P);
5225
5225
  }
5226
- const C = o.fields.consumers.filter((R) => !s.consumers.includes(R)), P = s.consumers.filter((R) => !o.fields.consumers.includes(R));
5227
- if (P.length === 0 && C.length === 0)
5226
+ const C = o.fields.consumers.filter((P) => !l.consumers.includes(P)), R = l.consumers.filter((P) => !o.fields.consumers.includes(P));
5227
+ if (R.length === 0 && C.length === 0)
5228
5228
  H();
5229
5229
  else {
5230
- if (P.length > 0)
5230
+ if (R.length > 0)
5231
5231
  try {
5232
- const R = P.map((me) => K(me)), z = await Promise.allSettled(R);
5232
+ const P = R.map((me) => B(me)), z = await Promise.allSettled(P);
5233
5233
  te(z, a("consumer_groups.errors.remove_consumer"));
5234
- } catch (R) {
5235
- q(R);
5234
+ } catch (P) {
5235
+ q(P);
5236
5236
  }
5237
5237
  if (C.length > 0)
5238
5238
  try {
5239
- const R = C.map((me) => b(me)), z = await Promise.allSettled(R);
5239
+ const P = C.map((me) => b(me)), z = await Promise.allSettled(P);
5240
5240
  te(z, a("consumer_groups.errors.add_consumer"));
5241
- } catch (R) {
5242
- q(R);
5241
+ } catch (P) {
5242
+ q(P);
5243
5243
  }
5244
5244
  }
5245
5245
  }, bt = async () => {
5246
5246
  try {
5247
- o.readonly = !0, N.value === ut.Create ? await de() : await We();
5247
+ o.readonly = !0, j.value === ut.Create ? await de() : await Ye();
5248
5248
  } finally {
5249
5249
  o.readonly = !1;
5250
5250
  }
5251
5251
  };
5252
5252
  return gt(async () => {
5253
5253
  await c();
5254
- }), (C, P) => {
5255
- const ae = V("KInput"), R = V("KMultiselect");
5256
- return m(), $("div", Yl, [
5257
- j(g(Qs), {
5258
- "can-submit": Z.value && h.value,
5254
+ }), (C, R) => {
5255
+ const ae = V("KInput"), P = V("KMultiselect");
5256
+ return m(), $("div", Zs, [
5257
+ N(g(Ql), {
5258
+ "can-submit": W.value && h.value,
5259
5259
  config: e.config,
5260
5260
  "edit-id": e.consumerGroupId,
5261
5261
  "error-message": o.errorMessage || g(p) || G.value,
5262
5262
  "fetch-url": U.value,
5263
- "form-fields": M.value,
5263
+ "form-fields": E.value,
5264
5264
  "is-readonly": o.readonly,
5265
5265
  onCancel: d,
5266
- "onFetch:error": P[3] || (P[3] = (z) => A(z)),
5266
+ "onFetch:error": R[3] || (R[3] = (z) => I(z)),
5267
5267
  "onFetch:success": x,
5268
- onLoading: P[4] || (P[4] = (z) => B(z)),
5268
+ onLoading: R[4] || (R[4] = (z) => K(z)),
5269
5269
  onSubmit: bt
5270
5270
  }, {
5271
5271
  default: v(() => [
5272
- j(g(vn), {
5272
+ N(g(vn), {
5273
5273
  description: g(a)("consumer_groups.form.general_info.description"),
5274
5274
  title: g(a)("consumer_groups.form.general_info.title")
5275
5275
  }, {
5276
5276
  default: v(() => [
5277
- j(ae, {
5277
+ N(ae, {
5278
5278
  modelValue: o.fields.name,
5279
- "onUpdate:modelValue": P[0] || (P[0] = (z) => o.fields.name = z),
5279
+ "onUpdate:modelValue": R[0] || (R[0] = (z) => o.fields.name = z),
5280
5280
  modelModifiers: { trim: !0 },
5281
5281
  autocomplete: "off",
5282
5282
  "data-testid": "consumer-group-form-name",
@@ -5285,9 +5285,9 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5285
5285
  required: "",
5286
5286
  type: "text"
5287
5287
  }, null, 8, ["modelValue", "label", "placeholder"]),
5288
- j(ae, {
5288
+ N(ae, {
5289
5289
  modelValue: o.fields.tags,
5290
- "onUpdate:modelValue": P[1] || (P[1] = (z) => o.fields.tags = z),
5290
+ "onUpdate:modelValue": R[1] || (R[1] = (z) => o.fields.tags = z),
5291
5291
  modelModifiers: { trim: !0 },
5292
5292
  autocomplete: "off",
5293
5293
  "data-testid": "consumer-group-form-tags",
@@ -5303,15 +5303,15 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5303
5303
  ]),
5304
5304
  _: 1
5305
5305
  }, 8, ["description", "title"]),
5306
- j(g(vn), {
5306
+ N(g(vn), {
5307
5307
  description: g(a)("consumer_groups.form.consumers.description"),
5308
5308
  "has-divider": "",
5309
5309
  title: g(a)("consumer_groups.form.consumers.title")
5310
5310
  }, {
5311
5311
  default: v(() => [
5312
- j(R, {
5312
+ N(P, {
5313
5313
  modelValue: o.fields.consumers,
5314
- "onUpdate:modelValue": P[2] || (P[2] = (z) => o.fields.consumers = z),
5314
+ "onUpdate:modelValue": R[2] || (R[2] = (z) => o.fields.consumers = z),
5315
5315
  appearance: "select",
5316
5316
  autosuggest: "",
5317
5317
  items: k.value,
@@ -5319,14 +5319,14 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5319
5319
  loading: g(u),
5320
5320
  placeholder: g(a)("consumer_groups.form.fields.consumers.placeholder"),
5321
5321
  width: "auto",
5322
- onQueryChange: g(l)
5322
+ onQueryChange: g(s)
5323
5323
  }, {
5324
5324
  "item-template": v(({ item: z }) => {
5325
- var me, ke, le;
5325
+ var me, ke, se;
5326
5326
  return [
5327
- L("div", Ql, [
5328
- L("div", Xl, F(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, F((le = z == null ? void 0 : z.data) == null ? void 0 : le.custom_id), 1)) : J("", !0)
5327
+ L("div", Qs, [
5328
+ L("div", Xs, F(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, F((se = z == null ? void 0 : z.data) == null ? void 0 : se.custom_id), 1)) : J("", !0)
5330
5330
  ])
5331
5331
  ];
5332
5332
  }),
@@ -5341,7 +5341,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5341
5341
  ]);
5342
5342
  };
5343
5343
  }
5344
- }), gu = /* @__PURE__ */ Pt(tu, [["__scopeId", "data-v-9681165d"]]), nu = { class: "kong-ui-consumer-group-entity-config-card" }, yu = /* @__PURE__ */ X({
5344
+ }), gu = /* @__PURE__ */ Rt(tu, [["__scopeId", "data-v-9681165d"]]), nu = { class: "kong-ui-consumer-group-entity-config-card" }, yu = /* @__PURE__ */ X({
5345
5345
  __name: "ConsumerGroupConfigCard",
5346
5346
  props: {
5347
5347
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5368,7 +5368,7 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5368
5368
  },
5369
5369
  emits: ["loading", "fetch:error", "fetch:success"],
5370
5370
  setup(e) {
5371
- const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Oe.form[t.config.app].edit), a = E({
5371
+ const t = e, { i18n: { t: n } } = yt.useI18n(), r = w(() => Oe.form[t.config.app].edit), a = M({
5372
5372
  id: {},
5373
5373
  name: {},
5374
5374
  created_at: {},
@@ -5378,16 +5378,16 @@ const Ol = ["aria-labelledby"], El = { class: "form-section-wrapper" }, Ml = {
5378
5378
  }
5379
5379
  });
5380
5380
  return (i, o) => (m(), $("div", nu, [
5381
- j(g(Js), {
5381
+ N(g(Jl), {
5382
5382
  config: e.config,
5383
5383
  "config-card-doc": e.configCardDoc,
5384
5384
  "config-schema": a.value,
5385
5385
  "data-key": "consumer_group",
5386
5386
  "fetch-url": r.value,
5387
5387
  "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))
5388
+ "onFetch:error": o[0] || (o[0] = (l) => i.$emit("fetch:error", l)),
5389
+ "onFetch:success": o[1] || (o[1] = (l) => i.$emit("fetch:success", l)),
5390
+ onLoading: o[2] || (o[2] = (l) => i.$emit("loading", l))
5391
5391
  }, null, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])
5392
5392
  ]));
5393
5393
  }