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