@kong-ui-public/entities-consumer-groups 2.0.1-pr.930.362e4ba8.0 → 2.0.1

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.
@@ -208,7 +208,7 @@ const $r = {
208
208
  }, Mr = {
209
209
  message: "Are you sure you want to delete this {entityType}?",
210
210
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
211
- }, Er = {
211
+ }, jr = {
212
212
  actions: {
213
213
  save: "Save",
214
214
  cancel: "Cancel",
@@ -217,7 +217,7 @@ const $r = {
217
217
  errors: {
218
218
  edit: "The entity could not be edited at this time."
219
219
  }
220
- }, jr = {
220
+ }, Er = {
221
221
  emptyState: {
222
222
  noSearchResultsTitle: "No results found",
223
223
  noSearchResultsMessage: "Please adjust the criteria and try again.",
@@ -288,8 +288,8 @@ const $r = {
288
288
  }, Pr = {
289
289
  global: $r,
290
290
  deleteModal: Mr,
291
- baseForm: Er,
292
- baseTable: jr,
291
+ baseForm: jr,
292
+ baseTable: Er,
293
293
  baseConfigCard: Or,
294
294
  filter: Nr,
295
295
  debouncedFilter: Fr,
@@ -305,20 +305,47 @@ function St() {
305
305
  };
306
306
  }
307
307
  function hn() {
308
+ const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
309
+ if (t.length !== r.length)
310
+ return !1;
311
+ const o = /* @__PURE__ */ new Set([...t, ...r]);
312
+ for (const a of o) {
313
+ const i = t.filter((l) => l === a).length, s = r.filter((l) => l === a).length;
314
+ if (i !== s)
315
+ return !1;
316
+ }
317
+ return !0;
318
+ };
308
319
  return {
309
- getPropValue: (e, n) => (n == null ? void 0 : n[e]) ?? void 0,
310
- objectsAreEqual: (e, n) => {
320
+ getPropValue: e,
321
+ objectsAreEqual: (t, r, o) => {
322
+ if (o) {
323
+ if (Object.keys(t).length === Object.keys(r).length)
324
+ for (const a in t)
325
+ if (Array.isArray(t[a]) && Array.isArray(r[a])) {
326
+ if (n(t[a], r[a]))
327
+ continue;
328
+ return !1;
329
+ } else {
330
+ if (t[a] === r[a])
331
+ continue;
332
+ return !1;
333
+ }
334
+ else
335
+ return !1;
336
+ return !0;
337
+ }
311
338
  try {
312
- return JSON.stringify(e) === JSON.stringify(n);
339
+ return JSON.stringify(t) === JSON.stringify(r);
313
340
  } catch {
314
341
  return !1;
315
342
  }
316
343
  },
317
- sortAlpha: (e) => (n, t) => {
318
- let r = n[e] === void 0 || n[e] === null ? "" : n[e], o = t[e] === void 0 || t[e] === null ? "" : t[e];
319
- return Array.isArray(n[e]) && (r = n[e][0]), Array.isArray(t[e]) && (o = t[e][0]), r.localeCompare(o);
344
+ sortAlpha: (t) => (r, o) => {
345
+ let a = r[t] === void 0 || r[t] === null ? "" : r[t], i = o[t] === void 0 || o[t] === null ? "" : o[t];
346
+ return Array.isArray(r[t]) && (a = r[t][0]), Array.isArray(o[t]) && (i = o[t][0]), a.localeCompare(i);
320
347
  },
321
- isValidUuid: (e) => e ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(e) : !1
348
+ isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
322
349
  };
323
350
  }
324
351
  function Lr(e, n, t, r = {
@@ -344,7 +371,7 @@ function Lr(e, n, t, r = {
344
371
  l.value = !1;
345
372
  }
346
373
  }, b = O(""), C = async (A) => {
347
- var ne, pe, H;
374
+ var ne, pe, z;
348
375
  if (b.value !== A)
349
376
  if (b.value = A || "", f.value === void 0)
350
377
  try {
@@ -379,7 +406,7 @@ function Lr(e, n, t, r = {
379
406
  l.value = !1;
380
407
  }
381
408
  else
382
- l.value = !0, d.value = "", A ? (u.value = (H = f.value) == null ? void 0 : H.filter((w) => {
409
+ l.value = !0, d.value = "", A ? (u.value = (z = f.value) == null ? void 0 : z.filter((w) => {
383
410
  var K;
384
411
  let B = !1;
385
412
  for (const k of r.searchKeys) {
@@ -505,8 +532,10 @@ function Rr(e, n, t = "data") {
505
532
  }, fetcherState: i };
506
533
  }
507
534
  function Dr() {
535
+ const e = (t, r = "_") => t ? t.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
508
536
  return {
509
- convertKeyToTitle: (e, n = "_") => e ? e.split(n).map((t) => t.toLowerCase() === "id" ? t.toUpperCase() : t.charAt(0).toUpperCase() + t.substring(1)).join(" ") : ""
537
+ capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
538
+ convertKeyToTitle: e
510
539
  };
511
540
  }
512
541
  const bn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Lt = (e) => {
@@ -519,24 +548,24 @@ const bn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
519
548
  }, qt = (e) => e === "*" || e === "x" || e === "X", Ut = (e) => {
520
549
  const n = parseInt(e, 10);
521
550
  return isNaN(n) ? e : n;
522
- }, Gr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Hr = (e, n) => {
551
+ }, Gr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], zr = (e, n) => {
523
552
  if (qt(e) || qt(n))
524
553
  return 0;
525
554
  const [t, r] = Gr(Ut(e), Ut(n));
526
555
  return t > r ? 1 : t < r ? -1 : 0;
527
556
  }, Vt = (e, n) => {
528
557
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
529
- const r = Hr(e[t] || "0", n[t] || "0");
558
+ const r = zr(e[t] || "0", n[t] || "0");
530
559
  if (r !== 0)
531
560
  return r;
532
561
  }
533
562
  return 0;
534
- }, zr = (e, n) => {
563
+ }, Hr = (e, n) => {
535
564
  const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Vt(t, r);
536
565
  return i !== 0 ? i : o && a ? Vt(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
537
566
  }, Rt = (e, n, t) => {
538
567
  Jr(t);
539
- const r = zr(e, n);
568
+ const r = Hr(e, n);
540
569
  return Cn[t].includes(r);
541
570
  }, Cn = {
542
571
  ">": [1],
@@ -715,7 +744,7 @@ const ue = {
715
744
  _: 1
716
745
  }, 8, ["aria-hidden", "style"]));
717
746
  }
718
- }), co = /* @__PURE__ */ oo(uo, [["__scopeId", "data-v-9971cc79"]]), po = "16px", fo = { class: "kong-ui-copy-uuid" }, mo = ["onClick"], Ht = 15, go = /* @__PURE__ */ re({
747
+ }), co = /* @__PURE__ */ oo(uo, [["__scopeId", "data-v-9971cc79"]]), po = "16px", fo = { class: "kong-ui-copy-uuid" }, mo = ["onClick"], zt = 15, go = /* @__PURE__ */ re({
719
748
  __name: "CopyUuid",
720
749
  props: {
721
750
  uuid: {
@@ -787,7 +816,7 @@ const ue = {
787
816
  }), i.value ? d(r("message.fail")) : n("error", t.uuid);
788
817
  return;
789
818
  }
790
- const v = ((f = t.uuid) == null ? void 0 : f.length) > Ht, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Ht)) + (v ? "..." : "")}"`;
819
+ const v = ((f = t.uuid) == null ? void 0 : f.length) > zt, p = t.format === "hidden" || t.format === "redacted" ? r("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, zt)) + (v ? "..." : "")}"`;
791
820
  typeof o == "function" && o({
792
821
  type: "success",
793
822
  message: `${p}${r("message.success.content")}`
@@ -940,7 +969,7 @@ const ue = {
940
969
  }, 8, ["appearance"]);
941
970
  };
942
971
  }
943
- }), _o = "#0044f4", wo = "#e0e4ea", Io = "#3a3f51", Ao = "1px", So = "20px", xo = { class: "config-card-details-row" }, To = ["data-testid"], $o = ["data-testid"], Mo = ["data-testid"], Eo = ["data-testid"], jo = { key: 1 }, Oo = ["data-testid"], No = ["data-testid"], Fo = ["data-testid"], Ko = ["data-testid"], Bo = {
972
+ }), _o = "#0044f4", wo = "#e0e4ea", Io = "#3a3f51", Ao = "1px", So = "20px", xo = { class: "config-card-details-row" }, To = ["data-testid"], $o = ["data-testid"], Mo = ["data-testid"], jo = ["data-testid"], Eo = { key: 1 }, Oo = ["data-testid"], No = ["data-testid"], Fo = ["data-testid"], Ko = ["data-testid"], Bo = {
944
973
  name: "ConfigCardItem",
945
974
  components: { CopyUuid: kn, JsonCardItem: _n, StatusBadge: ko, InternalLinkItem: Co }
946
975
  }, Po = /* @__PURE__ */ re({
@@ -1134,7 +1163,7 @@ const ue = {
1134
1163
  W(f.$slots, e.item.key, {
1135
1164
  rowValue: e.item.value
1136
1165
  }, () => [
1137
- i.value ? (m(), $("div", jo, [
1166
+ i.value ? (m(), $("div", Eo, [
1138
1167
  (m(), R(Ve(d.value.tag), gr(yr(d.value.attrs)), {
1139
1168
  default: h(() => [
1140
1169
  d.value.additionalComponent === "KBadge" ? (m(), $("div", {
@@ -1211,7 +1240,7 @@ const ue = {
1211
1240
  ])) : (m(), $("div", {
1212
1241
  key: 0,
1213
1242
  "data-testid": `${e.item.key}-no-value`
1214
- }, " – ", 8, Eo))
1243
+ }, " – ", 8, jo))
1215
1244
  ], !0)
1216
1245
  ], 8, Mo)
1217
1246
  ]);
@@ -1244,11 +1273,11 @@ function Vo(e, n) {
1244
1273
  function Ro(e) {
1245
1274
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1246
1275
  }
1247
- var Do = wn, Go = Lo, Ho = qo, zo = Vo, Jo = Ro, Yo = Uo, se = {
1276
+ var Do = wn, Go = Lo, zo = qo, Ho = Vo, Jo = Ro, Yo = Uo, se = {
1248
1277
  isNothing: Do,
1249
1278
  isObject: Go,
1250
- toArray: Ho,
1251
- repeat: zo,
1279
+ toArray: zo,
1280
+ repeat: Ho,
1252
1281
  isNegativeZero: Jo,
1253
1282
  extend: Yo
1254
1283
  };
@@ -1344,7 +1373,7 @@ function ta(e, n) {
1344
1373
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1345
1374
  }
1346
1375
  var de = ta;
1347
- function zt(e, n) {
1376
+ function Ht(e, n) {
1348
1377
  var t = [];
1349
1378
  return e[n].forEach(function(r) {
1350
1379
  var o = t.length;
@@ -1398,7 +1427,7 @@ vt.prototype.extend = function(e) {
1398
1427
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1399
1428
  });
1400
1429
  var r = Object.create(vt.prototype);
1401
- return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = zt(r, "implicit"), r.compiledExplicit = zt(r, "explicit"), r.compiledTypeMap = na(r.compiledImplicit, r.compiledExplicit), r;
1430
+ return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(t), r.compiledImplicit = Ht(r, "implicit"), r.compiledExplicit = Ht(r, "explicit"), r.compiledTypeMap = na(r.compiledImplicit, r.compiledExplicit), r;
1402
1431
  };
1403
1432
  var An = vt, Sn = new de("tag:yaml.org,2002:str", {
1404
1433
  kind: "scalar",
@@ -1470,7 +1499,7 @@ function sa(e) {
1470
1499
  function la(e) {
1471
1500
  return Object.prototype.toString.call(e) === "[object Boolean]";
1472
1501
  }
1473
- var En = new de("tag:yaml.org,2002:bool", {
1502
+ var jn = new de("tag:yaml.org,2002:bool", {
1474
1503
  kind: "scalar",
1475
1504
  resolve: ia,
1476
1505
  construct: sa,
@@ -1561,7 +1590,7 @@ function fa(e) {
1561
1590
  function ma(e) {
1562
1591
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !se.isNegativeZero(e);
1563
1592
  }
1564
- var jn = new de("tag:yaml.org,2002:int", {
1593
+ var En = new de("tag:yaml.org,2002:int", {
1565
1594
  kind: "scalar",
1566
1595
  resolve: pa,
1567
1596
  construct: fa,
@@ -1648,8 +1677,8 @@ var On = new de("tag:yaml.org,2002:float", {
1648
1677
  }), Nn = $n.extend({
1649
1678
  implicit: [
1650
1679
  Mn,
1651
- En,
1652
1680
  jn,
1681
+ En,
1653
1682
  On
1654
1683
  ]
1655
1684
  }), Fn = Nn, Kn = new RegExp(
@@ -1725,7 +1754,7 @@ var qn = new de("tag:yaml.org,2002:binary", {
1725
1754
  predicate: Ta,
1726
1755
  represent: xa
1727
1756
  }), $a = Object.prototype.hasOwnProperty, Ma = Object.prototype.toString;
1728
- function Ea(e) {
1757
+ function ja(e) {
1729
1758
  if (e === null)
1730
1759
  return !0;
1731
1760
  var n = [], t, r, o, a, i, s = e;
@@ -1747,13 +1776,13 @@ function Ea(e) {
1747
1776
  }
1748
1777
  return !0;
1749
1778
  }
1750
- function ja(e) {
1779
+ function Ea(e) {
1751
1780
  return e !== null ? e : [];
1752
1781
  }
1753
1782
  var Un = new de("tag:yaml.org,2002:omap", {
1754
1783
  kind: "sequence",
1755
- resolve: Ea,
1756
- construct: ja
1784
+ resolve: ja,
1785
+ construct: Ea
1757
1786
  }), Oa = Object.prototype.toString;
1758
1787
  function Na(e) {
1759
1788
  if (e === null)
@@ -1806,7 +1835,7 @@ var Rn = new de("tag:yaml.org,2002:set", {
1806
1835
  Vn,
1807
1836
  Rn
1808
1837
  ]
1809
- }), Ee = Object.prototype.hasOwnProperty, ot = 1, Dn = 2, Gn = 3, at = 4, yt = 1, La = 2, Jt = 3, qa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ua = /[\x85\u2028\u2029]/, Va = /[,\[\]\{\}]/, Hn = /^(?:!|!!|![a-z\-]+!)$/i, zn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1838
+ }), je = Object.prototype.hasOwnProperty, ot = 1, Dn = 2, Gn = 3, at = 4, yt = 1, La = 2, Jt = 3, qa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ua = /[\x85\u2028\u2029]/, Va = /[,\[\]\{\}]/, zn = /^(?:!|!!|![a-z\-]+!)$/i, Hn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1810
1839
  function Yt(e) {
1811
1840
  return Object.prototype.toString.call(e);
1812
1841
  }
@@ -1836,7 +1865,7 @@ function Wt(e) {
1836
1865
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1837
1866
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1838
1867
  }
1839
- function Ha(e) {
1868
+ function za(e) {
1840
1869
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
1841
1870
  (e - 65536 >> 10) + 55296,
1842
1871
  (e - 65536 & 1023) + 56320
@@ -1845,7 +1874,7 @@ function Ha(e) {
1845
1874
  var Jn = new Array(256), Yn = new Array(256);
1846
1875
  for (var Pe = 0; Pe < 256; Pe++)
1847
1876
  Jn[Pe] = Wt(Pe) ? 1 : 0, Yn[Pe] = Wt(Pe);
1848
- function za(e, n) {
1877
+ function Ha(e, n) {
1849
1878
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.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 = [];
1850
1879
  }
1851
1880
  function Wn(e, n) {
@@ -1859,7 +1888,7 @@ function Wn(e, n) {
1859
1888
  };
1860
1889
  return t.snippet = Zo(t), new me(n, t);
1861
1890
  }
1862
- function E(e, n) {
1891
+ function j(e, n) {
1863
1892
  throw Wn(e, n);
1864
1893
  }
1865
1894
  function it(e, n) {
@@ -1868,15 +1897,15 @@ function it(e, n) {
1868
1897
  var Zt = {
1869
1898
  YAML: function(e, n, t) {
1870
1899
  var r, o, a;
1871
- e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && E(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && it(e, "unsupported YAML version of the document");
1900
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && j(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && it(e, "unsupported YAML version of the document");
1872
1901
  },
1873
1902
  TAG: function(e, n, t) {
1874
1903
  var r, o;
1875
- t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], Hn.test(r) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ee.call(e.tagMap, r) && E(e, 'there is a previously declared suffix for "' + r + '" tag handle'), zn.test(o) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1904
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], zn.test(r) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && j(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Hn.test(o) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1876
1905
  try {
1877
1906
  o = decodeURIComponent(o);
1878
1907
  } catch {
1879
- E(e, "tag prefix is malformed: " + o);
1908
+ j(e, "tag prefix is malformed: " + o);
1880
1909
  }
1881
1910
  e.tagMap[r] = o;
1882
1911
  }
@@ -1886,22 +1915,22 @@ function Me(e, n, t, r) {
1886
1915
  if (n < t) {
1887
1916
  if (s = e.input.slice(n, t), r)
1888
1917
  for (o = 0, a = s.length; o < a; o += 1)
1889
- i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || E(e, "expected valid JSON character");
1918
+ i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || j(e, "expected valid JSON character");
1890
1919
  else
1891
- qa.test(s) && E(e, "the stream contains non-printable characters");
1920
+ qa.test(s) && j(e, "the stream contains non-printable characters");
1892
1921
  e.result += s;
1893
1922
  }
1894
1923
  }
1895
1924
  function Qt(e, n, t, r) {
1896
1925
  var o, a, i, s;
1897
- for (se.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1898
- a = o[i], Ee.call(n, a) || (n[a] = t[a], r[a] = !0);
1926
+ for (se.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1927
+ a = o[i], je.call(n, a) || (n[a] = t[a], r[a] = !0);
1899
1928
  }
1900
1929
  function Ue(e, n, t, r, o, a, i, s, l) {
1901
1930
  var c, d;
1902
1931
  if (Array.isArray(o))
1903
1932
  for (o = Array.prototype.slice.call(o), c = 0, d = o.length; c < d; c += 1)
1904
- Array.isArray(o[c]) && E(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[c]) === "[object Object]" && (o[c] = "[object Object]");
1933
+ Array.isArray(o[c]) && j(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[c]) === "[object Object]" && (o[c] = "[object Object]");
1905
1934
  if (typeof o == "object" && Yt(o) === "[object Object]" && (o = "[object Object]"), o = String(o), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1906
1935
  if (Array.isArray(a))
1907
1936
  for (c = 0, d = a.length; c < d; c += 1)
@@ -1909,7 +1938,7 @@ function Ue(e, n, t, r, o, a, i, s, l) {
1909
1938
  else
1910
1939
  Qt(e, n, a, t);
1911
1940
  else
1912
- !e.json && !Ee.call(t, o) && Ee.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1941
+ !e.json && !je.call(t, o) && je.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, j(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1913
1942
  configurable: !0,
1914
1943
  enumerable: !0,
1915
1944
  writable: !0,
@@ -1919,7 +1948,7 @@ function Ue(e, n, t, r, o, a, i, s, l) {
1919
1948
  }
1920
1949
  function Mt(e) {
1921
1950
  var n;
1922
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1951
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1923
1952
  }
1924
1953
  function ae(e, n, t) {
1925
1954
  for (var r = 0, o = e.input.charCodeAt(e.position); o !== 0; ) {
@@ -1941,7 +1970,7 @@ function dt(e) {
1941
1970
  var n = e.position, t;
1942
1971
  return t = e.input.charCodeAt(n), !!((t === 45 || t === 46) && t === e.input.charCodeAt(n + 1) && t === e.input.charCodeAt(n + 2) && (n += 3, t = e.input.charCodeAt(n), t === 0 || he(t)));
1943
1972
  }
1944
- function Et(e, n) {
1973
+ function jt(e, n) {
1945
1974
  n === 1 ? e.result += " " : n > 1 && (e.result += se.repeat(`
1946
1975
  `, n - 1));
1947
1976
  }
@@ -1968,7 +1997,7 @@ function Ja(e, n, t) {
1968
1997
  break;
1969
1998
  }
1970
1999
  }
1971
- s && (Me(e, a, i, !1), Et(e, e.line - l), a = i = e.position, s = !1), Ne(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
2000
+ s && (Me(e, a, i, !1), jt(e, e.line - l), a = i = e.position, s = !1), Ne(f) || (i = e.position + 1), f = e.input.charCodeAt(++e.position);
1972
2001
  }
1973
2002
  return Me(e, a, i, !1), e.result ? !0 : (e.kind = u, e.result = g, !1);
1974
2003
  }
@@ -1983,8 +2012,8 @@ function Ya(e, n) {
1983
2012
  else
1984
2013
  return !0;
1985
2014
  else
1986
- we(t) ? (Me(e, r, o, !0), Et(e, ae(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1987
- E(e, "unexpected end of the stream within a single quoted scalar");
2015
+ we(t) ? (Me(e, r, o, !0), jt(e, ae(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
2016
+ j(e, "unexpected end of the stream within a single quoted scalar");
1988
2017
  }
1989
2018
  function Wa(e, n) {
1990
2019
  var t, r, o, a, i, s;
@@ -2000,15 +2029,15 @@ function Wa(e, n) {
2000
2029
  e.result += Yn[s], e.position++;
2001
2030
  else if ((i = Da(s)) > 0) {
2002
2031
  for (o = i, a = 0; o > 0; o--)
2003
- s = e.input.charCodeAt(++e.position), (i = Ra(s)) >= 0 ? a = (a << 4) + i : E(e, "expected hexadecimal character");
2004
- e.result += Ha(a), e.position++;
2032
+ s = e.input.charCodeAt(++e.position), (i = Ra(s)) >= 0 ? a = (a << 4) + i : j(e, "expected hexadecimal character");
2033
+ e.result += za(a), e.position++;
2005
2034
  } else
2006
- E(e, "unknown escape sequence");
2035
+ j(e, "unknown escape sequence");
2007
2036
  t = r = e.position;
2008
2037
  } else
2009
- we(s) ? (Me(e, t, r, !0), Et(e, ae(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
2038
+ we(s) ? (Me(e, t, r, !0), jt(e, ae(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
2010
2039
  }
2011
- E(e, "unexpected end of the stream within a double quoted scalar");
2040
+ j(e, "unexpected end of the stream within a double quoted scalar");
2012
2041
  }
2013
2042
  function Za(e, n) {
2014
2043
  var t = !0, r, o, a, i = e.tag, s, l = e.anchor, c, d, u, g, f, I = /* @__PURE__ */ Object.create(null), v, p, S, b;
@@ -2021,9 +2050,9 @@ function Za(e, n) {
2021
2050
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(++e.position); b !== 0; ) {
2022
2051
  if (ae(e, !0, n), b = e.input.charCodeAt(e.position), b === d)
2023
2052
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2024
- t ? b === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), p = v = S = null, u = g = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = g = !0, e.position++, ae(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, ot, !1, !0), p = e.tag, v = e.result, ae(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), ae(e, !0, n), Re(e, n, ot, !1, !0), S = e.result), f ? Ue(e, s, I, p, v, S, r, o, a) : u ? s.push(Ue(e, null, I, p, v, S, r, o, a)) : s.push(v), ae(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
2053
+ t ? b === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = v = S = null, u = g = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = g = !0, e.position++, ae(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, ot, !1, !0), p = e.tag, v = e.result, ae(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), ae(e, !0, n), Re(e, n, ot, !1, !0), S = e.result), f ? Ue(e, s, I, p, v, S, r, o, a) : u ? s.push(Ue(e, null, I, p, v, S, r, o, a)) : s.push(v), ae(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
2025
2054
  }
2026
- E(e, "unexpected end of the stream within a flow collection");
2055
+ j(e, "unexpected end of the stream within a flow collection");
2027
2056
  }
2028
2057
  function Qa(e, n) {
2029
2058
  var t, r, o = yt, a = !1, i = !1, s = n, l = 0, c = !1, d, u;
@@ -2035,9 +2064,9 @@ function Qa(e, n) {
2035
2064
  return !1;
2036
2065
  for (e.kind = "scalar", e.result = ""; u !== 0; )
2037
2066
  if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
2038
- yt === o ? o = u === 43 ? Jt : La : E(e, "repeat of a chomping mode identifier");
2067
+ yt === o ? o = u === 43 ? Jt : La : j(e, "repeat of a chomping mode identifier");
2039
2068
  else if ((d = Ga(u)) >= 0)
2040
- d === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? E(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2069
+ d === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? j(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
2041
2070
  else
2042
2071
  break;
2043
2072
  if (Ne(u)) {
@@ -2076,13 +2105,13 @@ function Xt(e, n) {
2076
2105
  var t, r = e.tag, o = e.anchor, a = [], i, s = !1, l;
2077
2106
  if (e.firstTabInLine !== -1)
2078
2107
  return !1;
2079
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
2108
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
2080
2109
  if (s = !0, e.position++, ae(e, !0, -1) && e.lineIndent <= n) {
2081
2110
  a.push(null), l = e.input.charCodeAt(e.position);
2082
2111
  continue;
2083
2112
  }
2084
2113
  if (t = e.line, Re(e, n, Gn, !1, !0), a.push(e.result), ae(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
2085
- E(e, "bad indentation of a sequence entry");
2114
+ j(e, "bad indentation of a sequence entry");
2086
2115
  else if (e.lineIndent < n)
2087
2116
  break;
2088
2117
  }
@@ -2093,8 +2122,8 @@ function Xa(e, n, t) {
2093
2122
  if (e.firstTabInLine !== -1)
2094
2123
  return !1;
2095
2124
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
2096
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && he(r))
2097
- b === 63 ? (p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
2125
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && he(r))
2126
+ b === 63 ? (p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
2098
2127
  else {
2099
2128
  if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Dn, !1, !0))
2100
2129
  break;
@@ -2102,18 +2131,18 @@ function Xa(e, n, t) {
2102
2131
  for (b = e.input.charCodeAt(e.position); Ne(b); )
2103
2132
  b = e.input.charCodeAt(++e.position);
2104
2133
  if (b === 58)
2105
- b = e.input.charCodeAt(++e.position), he(b) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !1, o = !1, f = e.tag, I = e.result;
2134
+ b = e.input.charCodeAt(++e.position), he(b) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, u, g, f, I, null, i, s, l), f = I = v = null), S = !0, p = !1, o = !1, f = e.tag, I = e.result;
2106
2135
  else if (S)
2107
- E(e, "can not read an implicit mapping pair; a colon is missed");
2136
+ j(e, "can not read an implicit mapping pair; a colon is missed");
2108
2137
  else
2109
2138
  return e.tag = c, e.anchor = d, !0;
2110
2139
  } else if (S)
2111
- E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2140
+ j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2112
2141
  else
2113
2142
  return e.tag = c, e.anchor = d, !0;
2114
2143
  }
2115
2144
  if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, o) && (p ? I = e.result : v = e.result), p || (Ue(e, u, g, f, I, v, i, s, l), f = I = v = null), ae(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && b !== 0)
2116
- E(e, "bad indentation of a mapping entry");
2145
+ j(e, "bad indentation of a mapping entry");
2117
2146
  else if (e.lineIndent < n)
2118
2147
  break;
2119
2148
  }
@@ -2123,31 +2152,31 @@ function ei(e) {
2123
2152
  var n, t = !1, r = !1, o, a, i;
2124
2153
  if (i = e.input.charCodeAt(e.position), i !== 33)
2125
2154
  return !1;
2126
- if (e.tag !== null && E(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, o = "!!", i = e.input.charCodeAt(++e.position)) : o = "!", n = e.position, t) {
2155
+ if (e.tag !== null && j(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (r = !0, o = "!!", i = e.input.charCodeAt(++e.position)) : o = "!", n = e.position, t) {
2127
2156
  do
2128
2157
  i = e.input.charCodeAt(++e.position);
2129
2158
  while (i !== 0 && i !== 62);
2130
- e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2159
+ e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2131
2160
  } else {
2132
2161
  for (; i !== 0 && !he(i); )
2133
- i === 33 && (r ? E(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), Hn.test(o) || E(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2134
- a = e.input.slice(n, e.position), Va.test(a) && E(e, "tag suffix cannot contain flow indicator characters");
2162
+ i === 33 && (r ? j(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), zn.test(o) || j(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
2163
+ a = e.input.slice(n, e.position), Va.test(a) && j(e, "tag suffix cannot contain flow indicator characters");
2135
2164
  }
2136
- a && !zn.test(a) && E(e, "tag name cannot contain such characters: " + a);
2165
+ a && !Hn.test(a) && j(e, "tag name cannot contain such characters: " + a);
2137
2166
  try {
2138
2167
  a = decodeURIComponent(a);
2139
2168
  } catch {
2140
- E(e, "tag name is malformed: " + a);
2169
+ j(e, "tag name is malformed: " + a);
2141
2170
  }
2142
- return t ? e.tag = a : Ee.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : E(e, 'undeclared tag handle "' + o + '"'), !0;
2171
+ return t ? e.tag = a : je.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : j(e, 'undeclared tag handle "' + o + '"'), !0;
2143
2172
  }
2144
2173
  function ti(e) {
2145
2174
  var n, t;
2146
2175
  if (t = e.input.charCodeAt(e.position), t !== 38)
2147
2176
  return !1;
2148
- for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
2177
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
2149
2178
  t = e.input.charCodeAt(++e.position);
2150
- return e.position === n && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2179
+ return e.position === n && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2151
2180
  }
2152
2181
  function ni(e) {
2153
2182
  var n, t, r;
@@ -2155,23 +2184,23 @@ function ni(e) {
2155
2184
  return !1;
2156
2185
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !he(r) && !qe(r); )
2157
2186
  r = e.input.charCodeAt(++e.position);
2158
- return e.position === n && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Ee.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ae(e, !0, -1), !0;
2187
+ return e.position === n && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ae(e, !0, -1), !0;
2159
2188
  }
2160
2189
  function Re(e, n, t, r, o) {
2161
2190
  var a, i, s, l = 1, c = !1, d = !1, u, g, f, I, v, p;
2162
2191
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = i = s = at === t || Gn === t, r && ae(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2163
2192
  for (; ei(e) || ti(e); )
2164
2193
  ae(e, !0, -1) ? (c = !0, s = a, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2165
- if (s && (s = c || o), (l === 1 || at === t) && (ot === t || Dn === t ? v = n : v = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Xt(e, p) || Xa(e, p, v)) || Za(e, v) ? d = !0 : (i && Qa(e, v) || Ya(e, v) || Wa(e, v) ? d = !0 : ni(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Ja(e, v, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, p))), e.tag === null)
2194
+ if (s && (s = c || o), (l === 1 || at === t) && (ot === t || Dn === t ? v = n : v = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Xt(e, p) || Xa(e, p, v)) || Za(e, v) ? d = !0 : (i && Qa(e, v) || Ya(e, v) || Wa(e, v) ? d = !0 : ni(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Ja(e, v, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Xt(e, p))), e.tag === null)
2166
2195
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2167
2196
  else if (e.tag === "?") {
2168
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
2197
+ for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
2169
2198
  if (I = e.implicitTypes[u], I.resolve(e.result)) {
2170
2199
  e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2171
2200
  break;
2172
2201
  }
2173
2202
  } else if (e.tag !== "!") {
2174
- if (Ee.call(e.typeMap[e.kind || "fallback"], e.tag))
2203
+ if (je.call(e.typeMap[e.kind || "fallback"], e.tag))
2175
2204
  I = e.typeMap[e.kind || "fallback"][e.tag];
2176
2205
  else
2177
2206
  for (I = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, g = f.length; u < g; u += 1)
@@ -2179,7 +2208,7 @@ function Re(e, n, t, r, o) {
2179
2208
  I = f[u];
2180
2209
  break;
2181
2210
  }
2182
- I || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2211
+ I || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && j(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2183
2212
  }
2184
2213
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2185
2214
  }
@@ -2188,7 +2217,7 @@ function ri(e) {
2188
2217
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (ae(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2189
2218
  for (a = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !he(i); )
2190
2219
  i = e.input.charCodeAt(++e.position);
2191
- for (r = e.input.slice(t, e.position), o = [], r.length < 1 && E(e, "directive name must not be less than one character in length"); i !== 0; ) {
2220
+ for (r = e.input.slice(t, e.position), o = [], r.length < 1 && j(e, "directive name must not be less than one character in length"); i !== 0; ) {
2192
2221
  for (; Ne(i); )
2193
2222
  i = e.input.charCodeAt(++e.position);
2194
2223
  if (i === 35) {
@@ -2203,22 +2232,22 @@ function ri(e) {
2203
2232
  i = e.input.charCodeAt(++e.position);
2204
2233
  o.push(e.input.slice(t, e.position));
2205
2234
  }
2206
- i !== 0 && Mt(e), Ee.call(Zt, r) ? Zt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2235
+ i !== 0 && Mt(e), je.call(Zt, r) ? Zt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2207
2236
  }
2208
- if (ae(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ae(e, !0, -1)) : a && E(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ae(e, !0, -1), e.checkLineBreaks && Ua.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2237
+ if (ae(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ae(e, !0, -1)) : a && j(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ae(e, !0, -1), e.checkLineBreaks && Ua.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2209
2238
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ae(e, !0, -1));
2210
2239
  return;
2211
2240
  }
2212
2241
  if (e.position < e.length - 1)
2213
- E(e, "end of the stream or a document separator is expected");
2242
+ j(e, "end of the stream or a document separator is expected");
2214
2243
  else
2215
2244
  return;
2216
2245
  }
2217
2246
  function Zn(e, n) {
2218
2247
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2219
2248
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2220
- var t = new za(e, n), r = e.indexOf("\0");
2221
- for (r !== -1 && (t.position = r, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2249
+ var t = new Ha(e, n), r = e.indexOf("\0");
2250
+ for (r !== -1 && (t.position = r, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2222
2251
  t.lineIndent += 1, t.position += 1;
2223
2252
  for (; t.position < t.length - 1; )
2224
2253
  ri(t);
@@ -2243,7 +2272,7 @@ function ai(e, n) {
2243
2272
  var ii = oi, si = ai, Qn = {
2244
2273
  loadAll: ii,
2245
2274
  load: si
2246
- }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, jt = 65279, li = 9, Ye = 10, ui = 13, ci = 32, di = 33, pi = 34, bt = 35, fi = 37, mi = 38, gi = 39, yi = 42, tr = 44, hi = 45, st = 58, vi = 61, bi = 62, Ci = 63, ki = 64, nr = 91, rr = 93, _i = 96, or = 123, wi = 124, ar = 125, fe = {};
2275
+ }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, Et = 65279, li = 9, Ye = 10, ui = 13, ci = 32, di = 33, pi = 34, bt = 35, fi = 37, mi = 38, gi = 39, yi = 42, tr = 44, hi = 45, st = 58, vi = 61, bi = 62, Ci = 63, ki = 64, nr = 91, rr = 93, _i = 96, or = 123, wi = 124, ar = 125, fe = {};
2247
2276
  fe[0] = "\\0";
2248
2277
  fe[7] = "\\a";
2249
2278
  fe[8] = "\\b";
@@ -2323,10 +2352,10 @@ function lt(e) {
2323
2352
  return e === ci || e === li;
2324
2353
  }
2325
2354
  function Ze(e) {
2326
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== jt || 65536 <= e && e <= 1114111;
2355
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Et || 65536 <= e && e <= 1114111;
2327
2356
  }
2328
2357
  function tn(e) {
2329
- return Ze(e) && e !== jt && e !== ui && e !== Ye;
2358
+ return Ze(e) && e !== Et && e !== ui && e !== Ye;
2330
2359
  }
2331
2360
  function nn(e, n, t) {
2332
2361
  var r = tn(e), o = r && !lt(e);
@@ -2338,13 +2367,13 @@ function nn(e, n, t) {
2338
2367
  ) : r && e !== tr && e !== nr && e !== rr && e !== or && e !== ar) && e !== bt && !(n === st && !o) || tn(n) && !lt(n) && e === bt || n === st && o
2339
2368
  );
2340
2369
  }
2341
- function Ei(e) {
2342
- return Ze(e) && e !== jt && !lt(e) && e !== hi && e !== Ci && e !== st && e !== tr && e !== nr && e !== rr && e !== or && e !== ar && e !== bt && e !== mi && e !== yi && e !== di && e !== wi && e !== vi && e !== bi && e !== gi && e !== pi && e !== fi && e !== ki && e !== _i;
2343
- }
2344
2370
  function ji(e) {
2371
+ return Ze(e) && e !== Et && !lt(e) && e !== hi && e !== Ci && e !== st && e !== tr && e !== nr && e !== rr && e !== or && e !== ar && e !== bt && e !== mi && e !== yi && e !== di && e !== wi && e !== vi && e !== bi && e !== gi && e !== pi && e !== fi && e !== ki && e !== _i;
2372
+ }
2373
+ function Ei(e) {
2345
2374
  return !lt(e) && e !== st;
2346
2375
  }
2347
- function ze(e, n) {
2376
+ function He(e, n) {
2348
2377
  var t = e.charCodeAt(n), r;
2349
2378
  return t >= 55296 && t <= 56319 && n + 1 < e.length && (r = e.charCodeAt(n + 1), r >= 56320 && r <= 57343) ? (t - 55296) * 1024 + r - 56320 + 65536 : t;
2350
2379
  }
@@ -2354,16 +2383,16 @@ function ir(e) {
2354
2383
  }
2355
2384
  var sr = 1, kt = 2, lr = 3, ur = 4, Le = 5;
2356
2385
  function Oi(e, n, t, r, o, a, i, s) {
2357
- var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, v = Ei(ze(e, 0)) && ji(ze(e, e.length - 1));
2386
+ var l, c = 0, d = null, u = !1, g = !1, f = r !== -1, I = -1, v = ji(He(e, 0)) && Ei(He(e, e.length - 1));
2358
2387
  if (n || i)
2359
2388
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2360
- if (c = ze(e, l), !Ze(c))
2389
+ if (c = He(e, l), !Ze(c))
2361
2390
  return Le;
2362
2391
  v = v && nn(c, d, s), d = c;
2363
2392
  }
2364
2393
  else {
2365
2394
  for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
2366
- if (c = ze(e, l), c === Ye)
2395
+ if (c = He(e, l), c === Ye)
2367
2396
  u = !0, f && (g = g || // Foldable line = too long, and not more-indented.
2368
2397
  l - I - 1 > r && e[I + 1] !== " ", I = l);
2369
2398
  else if (!Ze(c))
@@ -2446,7 +2475,7 @@ function an(e, n) {
2446
2475
  }
2447
2476
  function Ki(e) {
2448
2477
  for (var n = "", t = 0, r, o = 0; o < e.length; t >= 65536 ? o += 2 : o++)
2449
- t = ze(e, o), r = fe[t], !r && Ze(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || xi(t);
2478
+ t = He(e, o), r = fe[t], !r && Ze(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || xi(t);
2450
2479
  return n;
2451
2480
  }
2452
2481
  function Bi(e, n, t) {
@@ -2555,7 +2584,7 @@ function Ot(e, n) {
2555
2584
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2556
2585
  };
2557
2586
  }
2558
- var Di = de, Gi = An, Hi = $n, zi = Nn, Ji = Fn, Yi = $t, Wi = Qn.load, Zi = Qn.loadAll, Qi = Ri.dump, Xi = me, es = {
2587
+ var Di = de, Gi = An, zi = $n, Hi = Nn, Ji = Fn, Yi = $t, Wi = Qn.load, Zi = Qn.loadAll, Qi = Ri.dump, Xi = me, es = {
2559
2588
  binary: qn,
2560
2589
  float: On,
2561
2590
  map: Tn,
@@ -2563,8 +2592,8 @@ var Di = de, Gi = An, Hi = $n, zi = Nn, Ji = Fn, Yi = $t, Wi = Qn.load, Zi = Qn.
2563
2592
  pairs: Vn,
2564
2593
  set: Rn,
2565
2594
  timestamp: Pn,
2566
- bool: En,
2567
- int: jn,
2595
+ bool: jn,
2596
+ int: En,
2568
2597
  merge: Ln,
2569
2598
  omap: Un,
2570
2599
  seq: xn,
@@ -2572,8 +2601,8 @@ var Di = de, Gi = An, Hi = $n, zi = Nn, Ji = Fn, Yi = $t, Wi = Qn.load, Zi = Qn.
2572
2601
  }, ts = Ot("safeLoad", "load"), ns = Ot("safeLoadAll", "loadAll"), rs = Ot("safeDump", "dump"), os = {
2573
2602
  Type: Di,
2574
2603
  Schema: Gi,
2575
- FAILSAFE_SCHEMA: Hi,
2576
- JSON_SCHEMA: zi,
2604
+ FAILSAFE_SCHEMA: zi,
2605
+ JSON_SCHEMA: Hi,
2577
2606
  CORE_SCHEMA: Ji,
2578
2607
  DEFAULT_SCHEMA: Yi,
2579
2608
  load: Wi,
@@ -2984,7 +3013,7 @@ const as = {
2984
3013
  var w, K;
2985
3014
  let B = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2986
3015
  return r.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (K = r.config) != null && K.workspace ? `/${r.config.workspace}` : "")), B = B.replace(/{id}/gi, r.config.entityId), B;
2987
- }), H = (w) => {
3016
+ }), z = (w) => {
2988
3017
  p.value && w(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2989
3018
  };
2990
3019
  return xe(f, (w) => {
@@ -3055,7 +3084,7 @@ const as = {
3055
3084
  key: 0,
3056
3085
  appearance: "tertiary",
3057
3086
  "data-testid": "json-copy-button",
3058
- onClick: (ee) => H(X)
3087
+ onClick: (ee) => z(X)
3059
3088
  }, {
3060
3089
  default: h(() => [
3061
3090
  Z(N(y(a)("baseConfigCard.actions.copy")), 1)
@@ -3294,7 +3323,7 @@ const as = {
3294
3323
  });
3295
3324
  };
3296
3325
  }
3297
- }), Es = /* @__PURE__ */ ke(Ms, [["__scopeId", "data-v-81612aef"]]), js = {
3326
+ }), js = /* @__PURE__ */ ke(Ms, [["__scopeId", "data-v-81612aef"]]), Es = {
3298
3327
  key: 0,
3299
3328
  "data-testid": "first-col"
3300
3329
  }, Os = /* @__PURE__ */ re({
@@ -3353,7 +3382,7 @@ const as = {
3353
3382
  ref: l,
3354
3383
  class: "content-wrapper"
3355
3384
  }, [
3356
- o.value ? (m(), $("span", js, [
3385
+ o.value ? (m(), $("span", Es, [
3357
3386
  F(S, {
3358
3387
  label: I.value ? u.value : "",
3359
3388
  "max-width": "300",
@@ -3528,7 +3557,7 @@ const as = {
3528
3557
  t.preferencesStorageKey && v(t.preferencesStorageKey, C);
3529
3558
  };
3530
3559
  return (C, A) => {
3531
- const ne = q("KIcon"), pe = q("KButton"), H = q("KDropdown"), w = q("KTable"), K = q("KCard");
3560
+ const ne = q("KIcon"), pe = q("KButton"), z = q("KDropdown"), w = q("KTable"), K = q("KCard");
3532
3561
  return m(), R(K, {
3533
3562
  class: "kong-ui-entity-base-table",
3534
3563
  title: e.title
@@ -3580,7 +3609,7 @@ const as = {
3580
3609
  class: "actions-container",
3581
3610
  "data-testid": B.name
3582
3611
  }, [
3583
- F(H, {
3612
+ F(z, {
3584
3613
  "kpop-attributes": { placement: "bottomEnd" },
3585
3614
  width: e.dropdownMenuWidth
3586
3615
  }, {
@@ -3753,7 +3782,7 @@ const as = {
3753
3782
  width: "20",
3754
3783
  x: "0",
3755
3784
  y: "0"
3756
- }, Hs = ["fill"], zs = { mask: "url(#mask0_180_20349)" }, Js = ["fill"], cn = /* @__PURE__ */ re({
3785
+ }, zs = ["fill"], Hs = { mask: "url(#mask0_180_20349)" }, Js = ["fill"], cn = /* @__PURE__ */ re({
3757
3786
  __name: "IconFilter",
3758
3787
  props: {
3759
3788
  color: {
@@ -3768,9 +3797,9 @@ const as = {
3768
3797
  fill: e.color,
3769
3798
  height: "20",
3770
3799
  width: "20"
3771
- }, null, 8, Hs)
3800
+ }, null, 8, zs)
3772
3801
  ]),
3773
- V("g", zs, [
3802
+ V("g", Hs, [
3774
3803
  V("path", {
3775
3804
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3776
3805
  fill: e.color
@@ -3877,17 +3906,17 @@ const as = {
3877
3906
  ]),
3878
3907
  et(F(pe, { class: "kong-ui-entity-filter-menu" }, {
3879
3908
  body: h(() => [
3880
- (m(!0), $(ve, null, ye(s.value, (H, w) => (m(), R(ne, {
3881
- key: H.value,
3882
- "data-testid": H.value,
3909
+ (m(!0), $(ve, null, ye(s.value, (z, w) => (m(), R(ne, {
3910
+ key: z.value,
3911
+ "data-testid": z.value,
3883
3912
  expandable: "",
3884
3913
  "last-menu-item": w === s.value.length - 1
3885
3914
  }, {
3886
3915
  itemTitle: h(() => [
3887
3916
  V("span", Ws, [
3888
- Z(N(H.label) + " ", 1),
3917
+ Z(N(z.label) + " ", 1),
3889
3918
  et(V("span", Zs, null, 512), [
3890
- [tt, i.value.includes(H.value)]
3919
+ [tt, i.value.includes(z.value)]
3891
3920
  ])
3892
3921
  ])
3893
3922
  ]),
@@ -3897,24 +3926,24 @@ const as = {
3897
3926
  V("div", Qs, [
3898
3927
  V("label", {
3899
3928
  class: "menu-item-label",
3900
- for: d(H.value)
3929
+ for: d(z.value)
3901
3930
  }, N(y(r)("filter.fieldLabel")), 9, Xs),
3902
- ((B = (K = e.config.schema) == null ? void 0 : K[H.value]) == null ? void 0 : B.type) === "select" ? (m(), R(A, {
3931
+ ((B = (K = e.config.schema) == null ? void 0 : K[z.value]) == null ? void 0 : B.type) === "select" ? (m(), R(A, {
3903
3932
  key: 0,
3904
- id: d(H.value),
3905
- modelValue: a.value[H.value],
3906
- "onUpdate:modelValue": (k) => a.value[H.value] = k,
3933
+ id: d(z.value),
3934
+ modelValue: a.value[z.value],
3935
+ "onUpdate:modelValue": (k) => a.value[z.value] = k,
3907
3936
  appearance: "select",
3908
- items: u(H.value),
3937
+ items: u(z.value),
3909
3938
  placeholder: y(r)("filter.selectPlaceholder")
3910
3939
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), R(b, {
3911
3940
  key: 1,
3912
- id: d(H.value),
3913
- modelValue: a.value[H.value],
3914
- "onUpdate:modelValue": (k) => a.value[H.value] = k,
3941
+ id: d(z.value),
3942
+ modelValue: a.value[z.value],
3943
+ "onUpdate:modelValue": (k) => a.value[z.value] = k,
3915
3944
  autocomplete: "off",
3916
3945
  placeholder: y(r)("filter.inputPlaceholder"),
3917
- type: g(H.value)
3946
+ type: g(z.value)
3918
3947
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3919
3948
  ]),
3920
3949
  V("div", el, [
@@ -3933,7 +3962,7 @@ const as = {
3933
3962
  appearance: "tertiary",
3934
3963
  "data-testid": "clear-filter",
3935
3964
  size: "small",
3936
- onClick: (k) => f(H.value)
3965
+ onClick: (k) => f(z.value)
3937
3966
  }, {
3938
3967
  default: h(() => [
3939
3968
  Z(N(y(r)("filter.clearButtonText")), 1)
@@ -4055,7 +4084,7 @@ const as = {
4055
4084
  ])
4056
4085
  ], 2));
4057
4086
  }
4058
- }), dn = /* @__PURE__ */ ke(ul, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Nt, useDeleteUrlBuilder: cl, useErrors: dl, useExternalLinkCreator: jl, useFetchUrlBuilder: Ol, useFetcher: pl, useDebouncedFilter: cr, useStringHelpers: Nl, useHelpers: Fl, useGatewayFeatureSupported: Kl, useTruncationDetector: Bl } = ue;
4087
+ }), dn = /* @__PURE__ */ ke(ul, [["__scopeId", "data-v-8b6dc312"]]), { useAxios: Nt, useDeleteUrlBuilder: cl, useErrors: dl, useExternalLinkCreator: El, useFetchUrlBuilder: Ol, useFetcher: pl, useDebouncedFilter: cr, useStringHelpers: Nl, useHelpers: Fl, useGatewayFeatureSupported: Kl, useTruncationDetector: Bl } = ue;
4059
4088
  const fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group-cta-text" }, gl = {
4060
4089
  key: 0,
4061
4090
  class: "kong-ui-entity-add-to-groups-error"
@@ -4113,7 +4142,7 @@ const fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group
4113
4142
  }
4114
4143
  C.value = !0, A.value = "", b.value = [], w.value = [];
4115
4144
  try {
4116
- const k = a.value.map((P) => H(P)), x = await Promise.allSettled(k);
4145
+ const k = a.value.map((P) => z(P)), x = await Promise.allSettled(k);
4117
4146
  let M = !0;
4118
4147
  x.forEach((P) => {
4119
4148
  P.status !== "fulfilled" && (M = !1);
@@ -4127,7 +4156,7 @@ const fl = { class: "add-to-group-form-container" }, ml = { class: "add-to-group
4127
4156
  var x, M, P, J;
4128
4157
  let k = `${t.config.apiBaseUrl}${$e.list[t.config.app].forConsumer}`;
4129
4158
  return t.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((x = t.config) == null ? void 0 : x.controlPlaneId) || "").replace(/{consumerId}/gi, ((M = t.config) == null ? void 0 : M.consumerId) || "") : t.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (P = t.config) != null && P.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((J = t.config) == null ? void 0 : J.consumerId) || "")), k;
4130
- }), H = async (k) => {
4159
+ }), z = async (k) => {
4131
4160
  const x = {
4132
4161
  group: k
4133
4162
  };
@@ -4249,23 +4278,23 @@ const Ft = (e, n) => {
4249
4278
  name: { label: o("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4250
4279
  };
4251
4280
  t.config.app === "kongManager" && (d.consumers_count = { label: o("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), d.tags = { label: o("consumer_groups.list.table_headers.tags"), sortable: !1 };
4252
- const u = d, g = (j) => ({
4253
- "data-testid": j.username ?? j.custom_id ?? j.id
4281
+ const u = d, g = (E) => ({
4282
+ "data-testid": E.username ?? E.custom_id ?? E.id
4254
4283
  }), f = T(() => {
4255
- var z, le, Ce, je;
4256
- let j = `${t.config.apiBaseUrl}${$e.list[t.config.app][l.value ? "forConsumer" : "all"]}`;
4257
- return t.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((z = t.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((je = t.config) == null ? void 0 : je.consumerId) || "")), j;
4284
+ var H, le, Ce, Ee;
4285
+ let E = `${t.config.apiBaseUrl}${$e.list[t.config.app][l.value ? "forConsumer" : "all"]}`;
4286
+ return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4258
4287
  }), I = O(""), v = T(() => {
4259
- const j = t.config.app === "konnect" || t.config.isExactMatch;
4260
- return j ? {
4261
- isExactMatch: j,
4288
+ const E = t.config.app === "konnect" || t.config.isExactMatch;
4289
+ return E ? {
4290
+ isExactMatch: E,
4262
4291
  fields: {
4263
4292
  username: d.name,
4264
4293
  id: { label: o("consumer_groups.list.table_headers.id") }
4265
4294
  },
4266
4295
  placeholder: o("consumer_groups.search.placeholder")
4267
4296
  } : {
4268
- isExactMatch: j,
4297
+ isExactMatch: E,
4269
4298
  fields: {
4270
4299
  name: d.name
4271
4300
  },
@@ -4275,55 +4304,55 @@ const Ft = (e, n) => {
4275
4304
  I.value = "";
4276
4305
  }, A = () => {
4277
4306
  s.value++;
4278
- }, ne = O(""), pe = (j, z) => {
4279
- const le = j.id;
4280
- if (!z(le)) {
4307
+ }, ne = O(""), pe = (E, H) => {
4308
+ const le = E.id;
4309
+ if (!H(le)) {
4281
4310
  n("copy:error", {
4282
- entity: j,
4311
+ entity: E,
4283
4312
  field: "id",
4284
4313
  message: o("consumer_groups.errors.copy")
4285
4314
  });
4286
4315
  return;
4287
4316
  }
4288
4317
  n("copy:success", {
4289
- entity: j,
4318
+ entity: E,
4290
4319
  field: "id",
4291
4320
  message: o("consumer_groups.copy.success", { val: le })
4292
4321
  });
4293
- }, H = (j, z) => {
4294
- const le = JSON.stringify(j);
4295
- if (!z(le)) {
4322
+ }, z = (E, H) => {
4323
+ const le = JSON.stringify(E);
4324
+ if (!H(le)) {
4296
4325
  n("copy:error", {
4297
- entity: j,
4326
+ entity: E,
4298
4327
  message: o("consumer_groups.errors.copy")
4299
4328
  });
4300
4329
  return;
4301
4330
  }
4302
4331
  n("copy:success", {
4303
- entity: j,
4332
+ entity: E,
4304
4333
  message: o("consumer_groups.copy.success_brief")
4305
4334
  });
4306
- }, w = async (j) => {
4335
+ }, w = async (E) => {
4307
4336
  var le;
4308
- await ((le = t.canRetrieve) == null ? void 0 : le.call(t, j)) && a.push(t.config.getViewRoute(j.id));
4309
- }, K = (j) => ({
4337
+ await ((le = t.canRetrieve) == null ? void 0 : le.call(t, E)) && a.push(t.config.getViewRoute(E.id));
4338
+ }, K = (E) => ({
4310
4339
  label: o("consumer_groups.actions.view"),
4311
- to: t.config.getViewRoute(j)
4312
- }), B = (j) => ({
4340
+ to: t.config.getViewRoute(E)
4341
+ }), B = (E) => ({
4313
4342
  label: o("consumer_groups.actions.edit"),
4314
- to: t.config.getEditRoute(j)
4315
- }), k = O(void 0), x = O(!1), M = O(!1), P = O(""), J = cl(t.config, f.value), Q = (j) => {
4316
- k.value = j, x.value = !0;
4343
+ to: t.config.getEditRoute(E)
4344
+ }), k = O(void 0), x = O(!1), M = O(!1), P = O(""), J = cl(t.config, f.value), Q = (E) => {
4345
+ k.value = E, x.value = !0;
4317
4346
  }, X = () => {
4318
4347
  x.value = !1;
4319
4348
  }, ee = async () => {
4320
- var j, z, le;
4321
- if ((j = k.value) != null && j.id) {
4349
+ var E, H, le;
4350
+ if ((E = k.value) != null && E.id) {
4322
4351
  M.value = !0;
4323
4352
  try {
4324
4353
  await i.delete(J(k.value.id)), M.value = !1, x.value = !1, s.value++, n("delete:success", k.value);
4325
4354
  } catch (Ce) {
4326
- P.value = ((le = (z = Ce.response) == null ? void 0 : z.data) == null ? void 0 : le.message) || Ce.message || o("consumer_groups.errors.delete"), n("error", Ce);
4355
+ P.value = ((le = (H = Ce.response) == null ? void 0 : H.data) == null ? void 0 : le.message) || Ce.message || o("consumer_groups.errors.delete"), n("error", Ce);
4327
4356
  } finally {
4328
4357
  M.value = !1;
4329
4358
  }
@@ -4332,34 +4361,34 @@ const Ft = (e, n) => {
4332
4361
  ie.value = !0;
4333
4362
  }, _ = () => {
4334
4363
  ie.value = !1;
4335
- }, L = (j, z) => {
4336
- z || _(), s.value++, n("add:success", j);
4364
+ }, L = (E, H) => {
4365
+ H || _(), s.value++, n("add:success", E);
4337
4366
  }, oe = () => {
4338
4367
  l.value && De();
4339
- }, U = O(void 0), D = O(!1), ge = O(""), _e = (j) => {
4340
- U.value = j, D.value = !0;
4368
+ }, U = O(void 0), D = O(!1), ge = O(""), _e = (E) => {
4369
+ U.value = E, D.value = !0;
4341
4370
  }, ce = () => {
4342
4371
  D.value = !1, U.value = void 0;
4343
4372
  }, Ke = T(() => {
4344
- var z, le, Ce, je;
4345
- let j = `${t.config.apiBaseUrl}${$e.list[t.config.app].oneForConsumer}`;
4346
- return t.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((z = t.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((je = t.config) == null ? void 0 : je.consumerId) || "")), j;
4373
+ var H, le, Ce, Ee;
4374
+ let E = `${t.config.apiBaseUrl}${$e.list[t.config.app].oneForConsumer}`;
4375
+ return t.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerId}/gi, ((le = t.config) == null ? void 0 : le.consumerId) || "") : t.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), E;
4347
4376
  }), Ge = O(!1), dr = async () => {
4348
4377
  if (U.value) {
4349
4378
  Ge.value = !0;
4350
4379
  try {
4351
- const j = Ke.value.replace(/{consumerGroupId}/gi, U.value.id);
4352
- await i.delete(j), n("remove:success", U.value), ce(), s.value++;
4353
- } catch (j) {
4354
- ge.value = j.message || o("consumer_groups.errors.delete"), n("error", j);
4380
+ const E = Ke.value.replace(/{consumerGroupId}/gi, U.value.id);
4381
+ await i.delete(E), n("remove:success", U.value), ce(), s.value++;
4382
+ } catch (E) {
4383
+ ge.value = E.message || o("consumer_groups.errors.delete"), n("error", E);
4355
4384
  } finally {
4356
4385
  Ge.value = !1;
4357
4386
  }
4358
4387
  }
4359
4388
  };
4360
- xe(b, (j) => {
4361
- if (j.status === Oe.Error) {
4362
- ne.value = o("consumer_groups.errors.general"), n("error", j.error);
4389
+ xe(b, (E) => {
4390
+ if (E.status === Oe.Error) {
4391
+ ne.value = o("consumer_groups.errors.general"), n("error", E.error);
4363
4392
  return;
4364
4393
  }
4365
4394
  ne.value = "";
@@ -4372,8 +4401,8 @@ const Ft = (e, n) => {
4372
4401
  });
4373
4402
  return Qe(async () => {
4374
4403
  await t.canCreate() && (pt.value.title = l.value ? o("consumer_groups.list.empty_state.title_for_consumer") : o("consumer_groups.list.empty_state.title"), pt.value.ctaText = l.value ? o("consumer_groups.actions.add_to_group") : o("consumer_groups.actions.create"));
4375
- }), (j, z) => {
4376
- const le = q("KButton"), Ce = q("KBadge"), je = q("KTruncate"), He = q("KDropdownItem"), Bt = q("KClipboardProvider"), pr = q("KPrompt");
4404
+ }), (E, H) => {
4405
+ const le = q("KButton"), Ce = q("KBadge"), Ee = q("KTruncate"), ze = q("KDropdownItem"), Bt = q("KClipboardProvider"), pr = q("KPrompt");
4377
4406
  return m(), $("div", bl, [
4378
4407
  F(y(Ls), {
4379
4408
  "cache-identifier": e.cacheIdentifier,
@@ -4391,7 +4420,7 @@ const Ft = (e, n) => {
4391
4420
  "row-attributes": g,
4392
4421
  "table-headers": y(u),
4393
4422
  onClearSearchInput: C,
4394
- "onClick:row": z[3] || (z[3] = (Y) => w(Y)),
4423
+ "onClick:row": H[3] || (H[3] = (Y) => w(Y)),
4395
4424
  onEmptyStateCtaClicked: oe,
4396
4425
  onSort: A
4397
4426
  }, {
@@ -4399,7 +4428,7 @@ const Ft = (e, n) => {
4399
4428
  l.value ? G("", !0) : (m(), R(y(rl), {
4400
4429
  key: 0,
4401
4430
  modelValue: I.value,
4402
- "onUpdate:modelValue": z[0] || (z[0] = (Y) => I.value = Y),
4431
+ "onUpdate:modelValue": H[0] || (H[0] = (Y) => I.value = Y),
4403
4432
  config: v.value
4404
4433
  }, null, 8, ["modelValue", "config"]))
4405
4434
  ]),
@@ -4413,7 +4442,7 @@ const Ft = (e, n) => {
4413
4442
  "data-testid": "toolbar-add-consumer-group",
4414
4443
  icon: "plus",
4415
4444
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4416
- onClick: z[1] || (z[1] = () => e.config.consumerId ? De() : void 0)
4445
+ onClick: H[1] || (H[1] = () => e.config.consumerId ? De() : void 0)
4417
4446
  }, {
4418
4447
  default: h(() => [
4419
4448
  Z(N(e.config.consumerId ? y(o)("consumer_groups.actions.add_to_group") : y(o)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
@@ -4431,11 +4460,11 @@ const Ft = (e, n) => {
4431
4460
  Z(N(Y ?? "-"), 1)
4432
4461
  ]),
4433
4462
  tags: h(({ rowValue: Y }) => [
4434
- (Y == null ? void 0 : Y.length) > 0 ? (m(), R(je, { key: 0 }, {
4463
+ (Y == null ? void 0 : Y.length) > 0 ? (m(), R(Ee, { key: 0 }, {
4435
4464
  default: h(() => [
4436
4465
  (m(!0), $(ve, null, ye(Y, (Be) => (m(), R(Ce, {
4437
4466
  key: Be,
4438
- onClick: z[2] || (z[2] = rt(() => {
4467
+ onClick: H[2] || (H[2] = rt(() => {
4439
4468
  }, ["stop"]))
4440
4469
  }, {
4441
4470
  default: h(() => [
@@ -4450,7 +4479,7 @@ const Ft = (e, n) => {
4450
4479
  actions: h(({ row: Y }) => [
4451
4480
  F(Bt, null, {
4452
4481
  default: h(({ copyToClipboard: Be }) => [
4453
- F(He, {
4482
+ F(ze, {
4454
4483
  "data-testid": "action-entity-copy-id",
4455
4484
  onClick: (fr) => pe(Y, Be)
4456
4485
  }, {
@@ -4464,9 +4493,9 @@ const Ft = (e, n) => {
4464
4493
  }, 1024),
4465
4494
  F(Bt, null, {
4466
4495
  default: h(({ copyToClipboard: Be }) => [
4467
- F(He, {
4496
+ F(ze, {
4468
4497
  "data-testid": "action-entity-copy-json",
4469
- onClick: (fr) => H(Y, Be)
4498
+ onClick: (fr) => z(Y, Be)
4470
4499
  }, {
4471
4500
  default: h(() => [
4472
4501
  Z(N(y(o)("consumer_groups.actions.copy_json")), 1)
@@ -4480,7 +4509,7 @@ const Ft = (e, n) => {
4480
4509
  "auth-function": () => e.canRetrieve(Y)
4481
4510
  }, {
4482
4511
  default: h(() => [
4483
- F(He, {
4512
+ F(ze, {
4484
4513
  "data-testid": "action-entity-view",
4485
4514
  "has-divider": "",
4486
4515
  item: K(Y.id)
@@ -4492,7 +4521,7 @@ const Ft = (e, n) => {
4492
4521
  "auth-function": () => e.canEdit(Y)
4493
4522
  }, {
4494
4523
  default: h(() => [
4495
- F(He, {
4524
+ F(ze, {
4496
4525
  "data-testid": "action-entity-edit",
4497
4526
  item: B(Y.id)
4498
4527
  }, null, 8, ["item"])
@@ -4503,7 +4532,7 @@ const Ft = (e, n) => {
4503
4532
  "auth-function": () => e.canDelete(Y)
4504
4533
  }, {
4505
4534
  default: h(() => [
4506
- F(He, {
4535
+ F(ze, {
4507
4536
  danger: "",
4508
4537
  "data-testid": "action-entity-delete",
4509
4538
  "has-divider": "",
@@ -4537,8 +4566,8 @@ const Ft = (e, n) => {
4537
4566
  config: e.config,
4538
4567
  "data-testid": "add-to-group-modal",
4539
4568
  visible: ie.value,
4540
- "onAdd:partialSuccess": z[4] || (z[4] = (Y) => L(Y, !0)),
4541
- "onAdd:success": z[5] || (z[5] = (Y) => L(Y)),
4569
+ "onAdd:partialSuccess": H[4] || (H[4] = (Y) => L(Y, !0)),
4570
+ "onAdd:success": H[5] || (H[5] = (Y) => L(Y)),
4542
4571
  onCancel: _
4543
4572
  }, null, 8, ["config", "visible"])) : G("", !0),
4544
4573
  e.config.consumerId && U.value ? (m(), R(pr, {
@@ -4642,7 +4671,7 @@ const Pl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-e2fa781a"]]), _l = { cl
4642
4671
  n("error", _);
4643
4672
  }, pe = (_) => {
4644
4673
  n("loading", _);
4645
- }, H = async (_) => {
4674
+ }, z = async (_) => {
4646
4675
  var oe, U, D, ge, _e;
4647
4676
  a.fields.name = ((oe = _ == null ? void 0 : _.item) == null ? void 0 : oe.name) || ((U = _ == null ? void 0 : _.consumer_group) == null ? void 0 : U.name) || (_ == null ? void 0 : _.name) || "";
4648
4677
  const L = ((D = _ == null ? void 0 : _.item) == null ? void 0 : D.tags) || (_ == null ? void 0 : _.consumer_group.tags) || (_ == null ? void 0 : _.tags) || [];
@@ -4727,7 +4756,7 @@ const Pl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-e2fa781a"]]), _l = { cl
4727
4756
  }), (_, L) => {
4728
4757
  const oe = q("KInput"), U = q("KMultiselect");
4729
4758
  return m(), $("div", _l, [
4730
- F(y(Es), {
4759
+ F(y(js), {
4731
4760
  "can-submit": S.value && b.value,
4732
4761
  config: e.config,
4733
4762
  "edit-id": e.consumerGroupId,
@@ -4736,7 +4765,7 @@ const Pl = /* @__PURE__ */ Ft(kl, [["__scopeId", "data-v-e2fa781a"]]), _l = { cl
4736
4765
  "is-readonly": a.readonly,
4737
4766
  onCancel: A,
4738
4767
  "onFetch:error": L[3] || (L[3] = (D) => ne(D)),
4739
- "onFetch:success": H,
4768
+ "onFetch:success": z,
4740
4769
  onLoading: L[4] || (L[4] = (D) => pe(D)),
4741
4770
  onSubmit: X
4742
4771
  }, {