@kong-ui-public/entities-consumer-groups 1.2.9-pr.852.f575e5cc.0 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ie, ref as M, computed as S, watch as Se, renderSlot as Z, createCommentVNode as G, unref as h, useSlots as ut, onBeforeMount as Qe, resolveComponent as L, openBlock as f, createBlock as R, createSlots as Te, withCtx as v, createElementVNode as q, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as T, renderList as ye, Fragment as ve, normalizeClass as Fe, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as lr, resolveDynamicComponent as ze, normalizeProps as ur, guardReactiveProps as cr, mergeProps as ht, onMounted as dr, onUnmounted as pr, normalizeStyle as fr, inject as mr, pushScopeId as gr, popScopeId as yr, reactive as Lt } from "vue";
1
+ import { defineComponent as ie, ref as M, computed as x, watch as xe, renderSlot as Z, createCommentVNode as G, unref as h, useSlots as ut, onBeforeMount as Qe, resolveComponent as L, openBlock as f, createBlock as R, createSlots as Te, withCtx as v, createElementVNode as q, createTextVNode as Q, toDisplayString as O, createVNode as F, createElementBlock as T, renderList as ye, Fragment as ve, normalizeClass as Fe, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as lr, resolveDynamicComponent as ze, normalizeProps as ur, guardReactiveProps as cr, mergeProps as ht, onMounted as dr, onUnmounted as pr, normalizeStyle as fr, inject as mr, pushScopeId as gr, popScopeId as yr, reactive as Lt } from "vue";
2
2
  import { useRouter as wt } from "vue-router";
3
3
  import { createI18n as It, i18nTComponent as cn } from "@kong-ui-public/i18n";
4
4
  import hr from "axios";
@@ -108,7 +108,7 @@ function kr() {
108
108
  }
109
109
  const ct = {
110
110
  useI18n: kr
111
- }, Ie = "/api/runtime_groups/{controlPlaneId}", xe = "/{workspace}", $e = {
111
+ }, Ie = "/api/runtime_groups/{controlPlaneId}", Ae = "/{workspace}", $e = {
112
112
  list: {
113
113
  konnect: {
114
114
  all: `${Ie}/consumer_groups`,
@@ -116,9 +116,9 @@ const ct = {
116
116
  oneForConsumer: `${Ie}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
117
117
  },
118
118
  kongManager: {
119
- all: `${xe}/consumer_groups?counter=true`,
120
- forConsumer: `${xe}/consumers/{consumerId}/consumer_groups`,
121
- oneForConsumer: `${xe}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
119
+ all: `${Ae}/consumer_groups?counter=true`,
120
+ forConsumer: `${Ae}/consumers/{consumerId}/consumer_groups`,
121
+ oneForConsumer: `${Ae}/consumers/{consumerId}/consumer_groups/{consumerGroupId}`
122
122
  }
123
123
  },
124
124
  form: {
@@ -131,17 +131,17 @@ const ct = {
131
131
  getConsumers: `${Ie}/consumer_groups/{id}/consumers`
132
132
  },
133
133
  kongManager: {
134
- consumersList: `${xe}/consumers`,
135
- create: `${xe}/consumer_groups`,
136
- edit: `${xe}/consumer_groups/{id}`,
137
- addConsumer: `${xe}/consumer_groups/{id}/consumers`,
138
- removeConsumer: `${xe}/consumer_groups/{id}/consumers/{consumerId}`,
139
- getConsumers: `${xe}/consumer_groups/{id}/consumers`
134
+ consumersList: `${Ae}/consumers`,
135
+ create: `${Ae}/consumer_groups`,
136
+ edit: `${Ae}/consumer_groups/{id}`,
137
+ addConsumer: `${Ae}/consumer_groups/{id}/consumers`,
138
+ removeConsumer: `${Ae}/consumer_groups/{id}/consumers/{consumerId}`,
139
+ getConsumers: `${Ae}/consumer_groups/{id}/consumers`
140
140
  }
141
141
  }
142
142
  };
143
143
  var dn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(dn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Oe || {}), ne = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(ne || {}), be = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(be || {});
144
- function xt(e = {}) {
144
+ function At(e = {}) {
145
145
  return {
146
146
  axiosInstance: hr.create({
147
147
  withCredentials: !0,
@@ -198,10 +198,10 @@ function Ir() {
198
198
  }
199
199
  };
200
200
  }
201
- const xr = {
201
+ const Ar = {
202
202
  message: "Are you sure you want to delete this {entityType}?",
203
203
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
204
- }, Ar = {
204
+ }, Sr = {
205
205
  actions: {
206
206
  save: "Save",
207
207
  cancel: "Cancel",
@@ -210,7 +210,7 @@ const xr = {
210
210
  errors: {
211
211
  edit: "The entity could not be edited at this time."
212
212
  }
213
- }, Sr = {
213
+ }, xr = {
214
214
  emptyState: {
215
215
  noSearchResultsTitle: "No results found",
216
216
  noSearchResultsMessage: "Please adjust the criteria and try again.",
@@ -279,16 +279,16 @@ const xr = {
279
279
  confirmText: "Yes, disable"
280
280
  }
281
281
  }, Or = {
282
- deleteModal: xr,
283
- baseForm: Ar,
284
- baseTable: Sr,
282
+ deleteModal: Ar,
283
+ baseForm: Sr,
284
+ baseTable: xr,
285
285
  baseConfigCard: Tr,
286
286
  filter: $r,
287
287
  debouncedFilter: jr,
288
288
  errors: Mr,
289
289
  toggleModal: Er
290
290
  };
291
- function At() {
291
+ function St() {
292
292
  const e = It("en-us", Or);
293
293
  return {
294
294
  i18n: e,
@@ -301,9 +301,9 @@ function Br(e, n, t, r = {
301
301
  searchKeys: ["id"]
302
302
  }) {
303
303
  t || (t = "100");
304
- const { axiosInstance: o } = xt({
304
+ const { axiosInstance: o } = At({
305
305
  headers: e.requestHeaders
306
- }), { i18n: { t: a } } = At(), { debounce: i } = _r(), s = i(async (y) => {
306
+ }), { i18n: { t: a } } = St(), { debounce: i } = _r(), s = i(async (y) => {
307
307
  await w(y);
308
308
  }, 200), l = M(!1), u = M(""), d = M(""), c = M([]), m = M(void 0), g = h(n);
309
309
  let k = `${e.apiBaseUrl}${g}`;
@@ -355,13 +355,13 @@ function Br(e, n, t, r = {
355
355
  };
356
356
  }
357
357
  function Fr(e, n) {
358
- const t = h(n), r = S(
358
+ const t = h(n), r = x(
359
359
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
360
360
  );
361
361
  return r.value.search = "", (o) => `${r.value.href}/${o}`;
362
362
  }
363
363
  function Kr() {
364
- const { i18n: { t: e } } = At();
364
+ const { i18n: { t: e } } = St();
365
365
  return {
366
366
  getMessageFromError: (n) => {
367
367
  var t, r, o;
@@ -389,9 +389,9 @@ function Kr() {
389
389
  };
390
390
  }
391
391
  function pn(e, n) {
392
- const t = M(h(e)), r = M(h(n)), o = S(
392
+ const t = M(h(e)), r = M(h(n)), o = x(
393
393
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
394
- ), a = S(
394
+ ), a = x(
395
395
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
396
396
  );
397
397
  return (i) => {
@@ -407,7 +407,7 @@ function pn(e, n) {
407
407
  };
408
408
  }
409
409
  function Nr(e, n, t = "data") {
410
- const r = h(n), { axiosInstance: o } = xt({
410
+ const r = h(n), { axiosInstance: o } = At({
411
411
  headers: e.requestHeaders
412
412
  }), a = pn(e, r), i = M({
413
413
  status: Oe.Idle
@@ -515,14 +515,14 @@ function Gr(e) {
515
515
  }
516
516
  function Hr(e) {
517
517
  const n = M(0), t = M(0), r = M(!1);
518
- return Se(e, () => {
519
- e.value && !r.value && (n.value = e.value.offsetWidth, t.value = e.value.scrollWidth, r.value = !0);
518
+ return xe(e, (o) => {
519
+ o && !r.value && (n.value = o.offsetWidth, t.value = o.scrollWidth, r.value = !0);
520
520
  }), {
521
- isTruncated: S(() => n.value < t.value)
521
+ isTruncated: x(() => n.value < t.value)
522
522
  };
523
523
  }
524
524
  const ce = {
525
- useAxios: xt,
525
+ useAxios: At,
526
526
  useDebouncedFilter: Br,
527
527
  useDeleteUrlBuilder: Fr,
528
528
  useErrors: Kr,
@@ -530,7 +530,7 @@ const ce = {
530
530
  useFetchUrlBuilder: pn,
531
531
  useHelpers: Lr,
532
532
  useStringHelpers: Pr,
533
- useI18n: At,
533
+ useI18n: St,
534
534
  useGatewayFeatureSupported: Gr,
535
535
  useTruncationDetector: Hr
536
536
  }, zr = {
@@ -587,18 +587,18 @@ const ce = {
587
587
  emits: ["success", "error"],
588
588
  setup(e, { emit: n }) {
589
589
  const t = e, { t: r } = It("en-us", Jr), o = t.notify || mr(Wr, () => {
590
- }), a = S(() => t.idTooltip ? {
590
+ }), a = x(() => t.idTooltip ? {
591
591
  label: t.idTooltip,
592
592
  positionFixed: !0,
593
593
  placement: "bottomStart"
594
594
  } : {
595
595
  title: t.uuid
596
- }), i = S(() => !!(t.tooltip && t.successTooltip)), s = M(t.tooltip), l = S(() => t.tooltip ? {
596
+ }), i = x(() => !!(t.tooltip && t.successTooltip)), s = M(t.tooltip), l = x(() => t.tooltip ? {
597
597
  label: s.value,
598
598
  positionFixed: !0,
599
599
  maxWidth: "500px",
600
600
  placement: "bottomStart"
601
- } : {}), u = S(() => t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${t.uuid.substring(0, 5)}` : t.uuid), d = (m) => {
601
+ } : {}), u = x(() => t.format === "redacted" ? "*****" : t.format === "deleted" ? `*${t.uuid.substring(0, 5)}` : t.uuid), d = (m) => {
602
602
  s.value = m, setTimeout(() => {
603
603
  s.value = t.tooltip;
604
604
  }, 1800);
@@ -684,10 +684,10 @@ const ce = {
684
684
  }
685
685
  },
686
686
  setup(e) {
687
- const n = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: r } = ce.useStringHelpers(), o = S(() => n.item.key ?? "json-array-item"), a = S(() => n.item.value ?? n.item), i = S(() => {
687
+ const n = e, { i18n: { t } } = ce.useI18n(), { convertKeyToTitle: r } = ce.useStringHelpers(), o = x(() => n.item.key ?? "json-array-item"), a = x(() => n.item.value ?? n.item), i = x(() => {
688
688
  const l = JSON.parse(JSON.stringify(a.value));
689
689
  return n.isArrayItem && delete l.name, l;
690
- }), s = S(() => {
690
+ }), s = x(() => {
691
691
  var l;
692
692
  return n.isArrayItem ? (l = a.value) != null && l.name ? r(a.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
693
693
  });
@@ -698,7 +698,7 @@ const ce = {
698
698
  e.isArrayItem ? (f(), T("legend", to, [
699
699
  q("b", null, O(s.value), 1)
700
700
  ])) : G("", !0),
701
- (f(!0), T(ve, null, ye(Object.keys(i.value), (d, c) => (f(), R(St, {
701
+ (f(!0), T(ve, null, ye(Object.keys(i.value), (d, c) => (f(), R(xt, {
702
702
  key: `${o.value}-property-${c}`,
703
703
  item: {
704
704
  key: d,
@@ -794,7 +794,7 @@ const ce = {
794
794
  "66118e4e": l.value && i.value ? "100%" : t.slim ? "50%" : "25%",
795
795
  "660d0298": l.value && i.value ? "100%" : t.slim ? "50%" : "75%"
796
796
  }));
797
- const r = ut(), { i18n: { t: o, formatUnixTimeStamp: a } } = ce.useI18n(), i = S(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = S(() => !!(t.item.tooltip || r["label-tooltip"])), l = S(() => t.item.type === ne.Json || t.item.type === ne.JsonArray), u = S(() => t.item.type === ne.JsonArray), d = S(() => {
797
+ const r = ut(), { i18n: { t: o, formatUnixTimeStamp: a } } = ce.useI18n(), i = x(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), s = x(() => !!(t.item.tooltip || r["label-tooltip"])), l = x(() => t.item.type === ne.Json || t.item.type === ne.JsonArray), u = x(() => t.item.type === ne.JsonArray), d = x(() => {
798
798
  switch (t.item.type) {
799
799
  case ne.ID:
800
800
  return {
@@ -1041,7 +1041,7 @@ const ce = {
1041
1041
  ]);
1042
1042
  };
1043
1043
  }
1044
- }), St = /* @__PURE__ */ ke(wo, [["__scopeId", "data-v-f68d4fa1"]]);
1044
+ }), xt = /* @__PURE__ */ ke(wo, [["__scopeId", "data-v-f68d4fa1"]]);
1045
1045
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1046
1046
  function hn(e) {
1047
1047
  return typeof e > "u" || e === null;
@@ -1049,17 +1049,17 @@ function hn(e) {
1049
1049
  function Io(e) {
1050
1050
  return typeof e == "object" && e !== null;
1051
1051
  }
1052
- function xo(e) {
1052
+ function Ao(e) {
1053
1053
  return Array.isArray(e) ? e : hn(e) ? [] : [e];
1054
1054
  }
1055
- function Ao(e, n) {
1055
+ function So(e, n) {
1056
1056
  var t, r, o, a;
1057
1057
  if (n)
1058
1058
  for (a = Object.keys(n), t = 0, r = a.length; t < r; t += 1)
1059
1059
  o = a[t], e[o] = n[o];
1060
1060
  return e;
1061
1061
  }
1062
- function So(e, n) {
1062
+ function xo(e, n) {
1063
1063
  var t = "", r;
1064
1064
  for (r = 0; r < n; r += 1)
1065
1065
  t += e;
@@ -1068,7 +1068,7 @@ function So(e, n) {
1068
1068
  function To(e) {
1069
1069
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1070
1070
  }
1071
- var $o = hn, jo = Io, Mo = xo, Eo = So, Oo = To, Bo = Ao, le = {
1071
+ var $o = hn, jo = Io, Mo = Ao, Eo = xo, Oo = To, Bo = So, le = {
1072
1072
  isNothing: $o,
1073
1073
  isObject: jo,
1074
1074
  toArray: Mo,
@@ -1294,7 +1294,7 @@ function Ho(e) {
1294
1294
  function zo(e) {
1295
1295
  return Object.prototype.toString.call(e) === "[object Boolean]";
1296
1296
  }
1297
- var xn = new pe("tag:yaml.org,2002:bool", {
1297
+ var An = new pe("tag:yaml.org,2002:bool", {
1298
1298
  kind: "scalar",
1299
1299
  resolve: Go,
1300
1300
  construct: Ho,
@@ -1385,7 +1385,7 @@ function Qo(e) {
1385
1385
  function Xo(e) {
1386
1386
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !le.isNegativeZero(e);
1387
1387
  }
1388
- var An = new pe("tag:yaml.org,2002:int", {
1388
+ var Sn = new pe("tag:yaml.org,2002:int", {
1389
1389
  kind: "scalar",
1390
1390
  resolve: Zo,
1391
1391
  construct: Qo,
@@ -1462,7 +1462,7 @@ function oa(e, n) {
1462
1462
  function aa(e) {
1463
1463
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || le.isNegativeZero(e));
1464
1464
  }
1465
- var Sn = new pe("tag:yaml.org,2002:float", {
1465
+ var xn = new pe("tag:yaml.org,2002:float", {
1466
1466
  kind: "scalar",
1467
1467
  resolve: ta,
1468
1468
  construct: na,
@@ -1472,9 +1472,9 @@ var Sn = new pe("tag:yaml.org,2002:float", {
1472
1472
  }), Tn = wn.extend({
1473
1473
  implicit: [
1474
1474
  In,
1475
- xn,
1476
1475
  An,
1477
- Sn
1476
+ Sn,
1477
+ xn
1478
1478
  ]
1479
1479
  }), $n = Tn, jn = new RegExp(
1480
1480
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
@@ -1630,7 +1630,7 @@ var Nn = new pe("tag:yaml.org,2002:set", {
1630
1630
  Kn,
1631
1631
  Nn
1632
1632
  ]
1633
- }), Me = Object.prototype.hasOwnProperty, ot = 1, Ln = 2, Pn = 3, at = 4, yt = 1, Ia = 2, zt = 3, xa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Aa = /[\x85\u2028\u2029]/, Sa = /[,\[\]\{\}]/, qn = /^(?:!|!!|![a-z\-]+!)$/i, Un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1633
+ }), Me = Object.prototype.hasOwnProperty, ot = 1, Ln = 2, Pn = 3, at = 4, yt = 1, Ia = 2, zt = 3, Aa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Sa = /[\x85\u2028\u2029]/, xa = /[,\[\]\{\}]/, qn = /^(?:!|!!|![a-z\-]+!)$/i, Un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1634
1634
  function Yt(e) {
1635
1635
  return Object.prototype.toString.call(e);
1636
1636
  }
@@ -1683,7 +1683,7 @@ function Dn(e, n) {
1683
1683
  };
1684
1684
  return t.snippet = Ko(t), new me(n, t);
1685
1685
  }
1686
- function A(e, n) {
1686
+ function S(e, n) {
1687
1687
  throw Dn(e, n);
1688
1688
  }
1689
1689
  function it(e, n) {
@@ -1692,15 +1692,15 @@ function it(e, n) {
1692
1692
  var Wt = {
1693
1693
  YAML: function(e, n, t) {
1694
1694
  var r, o, a;
1695
- e.version !== null && A(e, "duplication of %YAML directive"), t.length !== 1 && A(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && A(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && A(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");
1695
+ e.version !== null && S(e, "duplication of %YAML directive"), t.length !== 1 && S(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), r === null && S(e, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && S(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");
1696
1696
  },
1697
1697
  TAG: function(e, n, t) {
1698
1698
  var r, o;
1699
- t.length !== 2 && A(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], qn.test(r) || A(e, "ill-formed tag handle (first argument) of the TAG directive"), Me.call(e.tagMap, r) && A(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Un.test(o) || A(e, "ill-formed tag prefix (second argument) of the TAG directive");
1699
+ t.length !== 2 && S(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], qn.test(r) || S(e, "ill-formed tag handle (first argument) of the TAG directive"), Me.call(e.tagMap, r) && S(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Un.test(o) || S(e, "ill-formed tag prefix (second argument) of the TAG directive");
1700
1700
  try {
1701
1701
  o = decodeURIComponent(o);
1702
1702
  } catch {
1703
- A(e, "tag prefix is malformed: " + o);
1703
+ S(e, "tag prefix is malformed: " + o);
1704
1704
  }
1705
1705
  e.tagMap[r] = o;
1706
1706
  }
@@ -1710,22 +1710,22 @@ function je(e, n, t, r) {
1710
1710
  if (n < t) {
1711
1711
  if (s = e.input.slice(n, t), r)
1712
1712
  for (o = 0, a = s.length; o < a; o += 1)
1713
- i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || A(e, "expected valid JSON character");
1713
+ i = s.charCodeAt(o), i === 9 || 32 <= i && i <= 1114111 || S(e, "expected valid JSON character");
1714
1714
  else
1715
- xa.test(s) && A(e, "the stream contains non-printable characters");
1715
+ Aa.test(s) && S(e, "the stream contains non-printable characters");
1716
1716
  e.result += s;
1717
1717
  }
1718
1718
  }
1719
1719
  function Zt(e, n, t, r) {
1720
1720
  var o, a, i, s;
1721
- for (le.isObject(t) || A(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1721
+ for (le.isObject(t) || S(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), i = 0, s = o.length; i < s; i += 1)
1722
1722
  a = o[i], Me.call(n, a) || (n[a] = t[a], r[a] = !0);
1723
1723
  }
1724
1724
  function Ue(e, n, t, r, o, a, i, s, l) {
1725
1725
  var u, d;
1726
1726
  if (Array.isArray(o))
1727
1727
  for (o = Array.prototype.slice.call(o), u = 0, d = o.length; u < d; u += 1)
1728
- Array.isArray(o[u]) && A(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[u]) === "[object Object]" && (o[u] = "[object Object]");
1728
+ Array.isArray(o[u]) && S(e, "nested arrays are not supported inside keys"), typeof o == "object" && Yt(o[u]) === "[object Object]" && (o[u] = "[object Object]");
1729
1729
  if (typeof o == "object" && Yt(o) === "[object Object]" && (o = "[object Object]"), o = String(o), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1730
1730
  if (Array.isArray(a))
1731
1731
  for (u = 0, d = a.length; u < d; u += 1)
@@ -1733,7 +1733,7 @@ function Ue(e, n, t, r, o, a, i, s, l) {
1733
1733
  else
1734
1734
  Zt(e, n, a, t);
1735
1735
  else
1736
- !e.json && !Me.call(t, o) && Me.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, A(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1736
+ !e.json && !Me.call(t, o) && Me.call(n, o) && (e.line = i || e.line, e.lineStart = s || e.lineStart, e.position = l || e.position, S(e, "duplicated mapping key")), o === "__proto__" ? Object.defineProperty(n, o, {
1737
1737
  configurable: !0,
1738
1738
  enumerable: !0,
1739
1739
  writable: !0,
@@ -1743,7 +1743,7 @@ function Ue(e, n, t, r, o, a, i, s, l) {
1743
1743
  }
1744
1744
  function jt(e) {
1745
1745
  var n;
1746
- n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : A(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1746
+ n = e.input.charCodeAt(e.position), n === 10 ? e.position++ : n === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : S(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
1747
1747
  }
1748
1748
  function ae(e, n, t) {
1749
1749
  for (var r = 0, o = e.input.charCodeAt(e.position); o !== 0; ) {
@@ -1807,8 +1807,8 @@ function Ba(e, n) {
1807
1807
  else
1808
1808
  return !0;
1809
1809
  else
1810
- we(t) ? (je(e, r, o, !0), Mt(e, ae(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? A(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1811
- A(e, "unexpected end of the stream within a single quoted scalar");
1810
+ we(t) ? (je(e, r, o, !0), Mt(e, ae(e, !1, n)), r = o = e.position) : e.position === e.lineStart && dt(e) ? S(e, "unexpected end of the document within a single quoted scalar") : (e.position++, o = e.position);
1811
+ S(e, "unexpected end of the stream within a single quoted scalar");
1812
1812
  }
1813
1813
  function Fa(e, n) {
1814
1814
  var t, r, o, a, i, s;
@@ -1824,15 +1824,15 @@ function Fa(e, n) {
1824
1824
  e.result += Vn[s], e.position++;
1825
1825
  else if ((i = $a(s)) > 0) {
1826
1826
  for (o = i, a = 0; o > 0; o--)
1827
- s = e.input.charCodeAt(++e.position), (i = Ta(s)) >= 0 ? a = (a << 4) + i : A(e, "expected hexadecimal character");
1827
+ s = e.input.charCodeAt(++e.position), (i = Ta(s)) >= 0 ? a = (a << 4) + i : S(e, "expected hexadecimal character");
1828
1828
  e.result += Ma(a), e.position++;
1829
1829
  } else
1830
- A(e, "unknown escape sequence");
1830
+ S(e, "unknown escape sequence");
1831
1831
  t = r = e.position;
1832
1832
  } else
1833
- we(s) ? (je(e, t, r, !0), Mt(e, ae(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? A(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1833
+ we(s) ? (je(e, t, r, !0), Mt(e, ae(e, !1, n)), t = r = e.position) : e.position === e.lineStart && dt(e) ? S(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1834
1834
  }
1835
- A(e, "unexpected end of the stream within a double quoted scalar");
1835
+ S(e, "unexpected end of the stream within a double quoted scalar");
1836
1836
  }
1837
1837
  function Ka(e, n) {
1838
1838
  var t = !0, r, o, a, i = e.tag, s, l = e.anchor, u, d, c, m, g, k = /* @__PURE__ */ Object.create(null), _, p, w, y;
@@ -1845,9 +1845,9 @@ function Ka(e, n) {
1845
1845
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), y = e.input.charCodeAt(++e.position); y !== 0; ) {
1846
1846
  if (ae(e, !0, n), y = e.input.charCodeAt(e.position), y === d)
1847
1847
  return e.position++, e.tag = i, e.anchor = l, e.kind = g ? "mapping" : "sequence", e.result = s, !0;
1848
- t ? y === 44 && A(e, "expected the node content, but found ','") : A(e, "missed comma between flow collection entries"), p = _ = w = null, c = m = !1, y === 63 && (u = e.input.charCodeAt(e.position + 1), he(u) && (c = m = !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, _ = e.result, ae(e, !0, n), y = e.input.charCodeAt(e.position), (m || e.line === r) && y === 58 && (c = !0, y = e.input.charCodeAt(++e.position), ae(e, !0, n), Re(e, n, ot, !1, !0), w = e.result), g ? Ue(e, s, k, p, _, w, r, o, a) : c ? s.push(Ue(e, null, k, p, _, w, r, o, a)) : s.push(_), ae(e, !0, n), y = e.input.charCodeAt(e.position), y === 44 ? (t = !0, y = e.input.charCodeAt(++e.position)) : t = !1;
1848
+ t ? y === 44 && S(e, "expected the node content, but found ','") : S(e, "missed comma between flow collection entries"), p = _ = w = null, c = m = !1, y === 63 && (u = e.input.charCodeAt(e.position + 1), he(u) && (c = m = !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, _ = e.result, ae(e, !0, n), y = e.input.charCodeAt(e.position), (m || e.line === r) && y === 58 && (c = !0, y = e.input.charCodeAt(++e.position), ae(e, !0, n), Re(e, n, ot, !1, !0), w = e.result), g ? Ue(e, s, k, p, _, w, r, o, a) : c ? s.push(Ue(e, null, k, p, _, w, r, o, a)) : s.push(_), ae(e, !0, n), y = e.input.charCodeAt(e.position), y === 44 ? (t = !0, y = e.input.charCodeAt(++e.position)) : t = !1;
1849
1849
  }
1850
- A(e, "unexpected end of the stream within a flow collection");
1850
+ S(e, "unexpected end of the stream within a flow collection");
1851
1851
  }
1852
1852
  function Na(e, n) {
1853
1853
  var t, r, o = yt, a = !1, i = !1, s = n, l = 0, u = !1, d, c;
@@ -1859,9 +1859,9 @@ function Na(e, n) {
1859
1859
  return !1;
1860
1860
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1861
1861
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1862
- yt === o ? o = c === 43 ? zt : Ia : A(e, "repeat of a chomping mode identifier");
1862
+ yt === o ? o = c === 43 ? zt : Ia : S(e, "repeat of a chomping mode identifier");
1863
1863
  else if ((d = ja(c)) >= 0)
1864
- d === 0 ? A(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? A(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
1864
+ d === 0 ? S(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : i ? S(e, "repeat of an indentation width identifier") : (s = n + d - 1, i = !0);
1865
1865
  else
1866
1866
  break;
1867
1867
  if (Be(c)) {
@@ -1900,13 +1900,13 @@ function Qt(e, n) {
1900
1900
  var t, r = e.tag, o = e.anchor, a = [], i, s = !1, l;
1901
1901
  if (e.firstTabInLine !== -1)
1902
1902
  return !1;
1903
- for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
1903
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), !(l !== 45 || (i = e.input.charCodeAt(e.position + 1), !he(i)))); ) {
1904
1904
  if (s = !0, e.position++, ae(e, !0, -1) && e.lineIndent <= n) {
1905
1905
  a.push(null), l = e.input.charCodeAt(e.position);
1906
1906
  continue;
1907
1907
  }
1908
1908
  if (t = e.line, Re(e, n, Pn, !1, !0), a.push(e.result), ae(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1909
- A(e, "bad indentation of a sequence entry");
1909
+ S(e, "bad indentation of a sequence entry");
1910
1910
  else if (e.lineIndent < n)
1911
1911
  break;
1912
1912
  }
@@ -1917,8 +1917,8 @@ function La(e, n, t) {
1917
1917
  if (e.firstTabInLine !== -1)
1918
1918
  return !1;
1919
1919
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), y = e.input.charCodeAt(e.position); y !== 0; ) {
1920
- if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, A(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (y === 63 || y === 58) && he(r))
1921
- y === 63 ? (p && (Ue(e, c, m, g, k, null, i, s, l), g = k = _ = null), w = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : A(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = r;
1920
+ if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, S(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (y === 63 || y === 58) && he(r))
1921
+ y === 63 ? (p && (Ue(e, c, m, g, k, null, i, s, l), g = k = _ = null), w = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : S(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = r;
1922
1922
  else {
1923
1923
  if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Ln, !1, !0))
1924
1924
  break;
@@ -1926,18 +1926,18 @@ function La(e, n, t) {
1926
1926
  for (y = e.input.charCodeAt(e.position); Be(y); )
1927
1927
  y = e.input.charCodeAt(++e.position);
1928
1928
  if (y === 58)
1929
- y = e.input.charCodeAt(++e.position), he(y) || A(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, c, m, g, k, null, i, s, l), g = k = _ = null), w = !0, p = !1, o = !1, g = e.tag, k = e.result;
1929
+ y = e.input.charCodeAt(++e.position), he(y) || S(e, "a whitespace character is expected after the key-value separator within a block mapping"), p && (Ue(e, c, m, g, k, null, i, s, l), g = k = _ = null), w = !0, p = !1, o = !1, g = e.tag, k = e.result;
1930
1930
  else if (w)
1931
- A(e, "can not read an implicit mapping pair; a colon is missed");
1931
+ S(e, "can not read an implicit mapping pair; a colon is missed");
1932
1932
  else
1933
1933
  return e.tag = u, e.anchor = d, !0;
1934
1934
  } else if (w)
1935
- A(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1935
+ S(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1936
1936
  else
1937
1937
  return e.tag = u, e.anchor = d, !0;
1938
1938
  }
1939
1939
  if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, o) && (p ? k = e.result : _ = e.result), p || (Ue(e, c, m, g, k, _, i, s, l), g = k = _ = null), ae(e, !0, -1), y = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && y !== 0)
1940
- A(e, "bad indentation of a mapping entry");
1940
+ S(e, "bad indentation of a mapping entry");
1941
1941
  else if (e.lineIndent < n)
1942
1942
  break;
1943
1943
  }
@@ -1947,31 +1947,31 @@ function Pa(e) {
1947
1947
  var n, t = !1, r = !1, o, a, i;
1948
1948
  if (i = e.input.charCodeAt(e.position), i !== 33)
1949
1949
  return !1;
1950
- if (e.tag !== null && A(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) {
1950
+ if (e.tag !== null && S(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) {
1951
1951
  do
1952
1952
  i = e.input.charCodeAt(++e.position);
1953
1953
  while (i !== 0 && i !== 62);
1954
- e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : A(e, "unexpected end of the stream within a verbatim tag");
1954
+ e.position < e.length ? (a = e.input.slice(n, e.position), i = e.input.charCodeAt(++e.position)) : S(e, "unexpected end of the stream within a verbatim tag");
1955
1955
  } else {
1956
1956
  for (; i !== 0 && !he(i); )
1957
- i === 33 && (r ? A(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), qn.test(o) || A(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
1958
- a = e.input.slice(n, e.position), Sa.test(a) && A(e, "tag suffix cannot contain flow indicator characters");
1957
+ i === 33 && (r ? S(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), qn.test(o) || S(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
1958
+ a = e.input.slice(n, e.position), xa.test(a) && S(e, "tag suffix cannot contain flow indicator characters");
1959
1959
  }
1960
- a && !Un.test(a) && A(e, "tag name cannot contain such characters: " + a);
1960
+ a && !Un.test(a) && S(e, "tag name cannot contain such characters: " + a);
1961
1961
  try {
1962
1962
  a = decodeURIComponent(a);
1963
1963
  } catch {
1964
- A(e, "tag name is malformed: " + a);
1964
+ S(e, "tag name is malformed: " + a);
1965
1965
  }
1966
- return t ? e.tag = a : Me.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : A(e, 'undeclared tag handle "' + o + '"'), !0;
1966
+ return t ? e.tag = a : Me.call(e.tagMap, o) ? e.tag = e.tagMap[o] + a : o === "!" ? e.tag = "!" + a : o === "!!" ? e.tag = "tag:yaml.org,2002:" + a : S(e, 'undeclared tag handle "' + o + '"'), !0;
1967
1967
  }
1968
1968
  function qa(e) {
1969
1969
  var n, t;
1970
1970
  if (t = e.input.charCodeAt(e.position), t !== 38)
1971
1971
  return !1;
1972
- for (e.anchor !== null && A(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
1972
+ for (e.anchor !== null && S(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !he(t) && !qe(t); )
1973
1973
  t = e.input.charCodeAt(++e.position);
1974
- return e.position === n && A(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
1974
+ return e.position === n && S(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
1975
1975
  }
1976
1976
  function Ua(e) {
1977
1977
  var n, t, r;
@@ -1979,17 +1979,17 @@ function Ua(e) {
1979
1979
  return !1;
1980
1980
  for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !he(r) && !qe(r); )
1981
1981
  r = e.input.charCodeAt(++e.position);
1982
- return e.position === n && A(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Me.call(e.anchorMap, t) || A(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ae(e, !0, -1), !0;
1982
+ return e.position === n && S(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Me.call(e.anchorMap, t) || S(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], ae(e, !0, -1), !0;
1983
1983
  }
1984
1984
  function Re(e, n, t, r, o) {
1985
1985
  var a, i, s, l = 1, u = !1, d = !1, c, m, g, k, _, p;
1986
1986
  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 || Pn === t, r && ae(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
1987
1987
  for (; Pa(e) || qa(e); )
1988
1988
  ae(e, !0, -1) ? (u = !0, s = a, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
1989
- if (s && (s = u || o), (l === 1 || at === t) && (ot === t || Ln === t ? _ = n : _ = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Qt(e, p) || La(e, p, _)) || Ka(e, _) ? d = !0 : (i && Na(e, _) || Ba(e, _) || Fa(e, _) ? d = !0 : Ua(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && A(e, "alias node should not have any properties")) : Oa(e, _, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Qt(e, p))), e.tag === null)
1989
+ if (s && (s = u || o), (l === 1 || at === t) && (ot === t || Ln === t ? _ = n : _ = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Qt(e, p) || La(e, p, _)) || Ka(e, _) ? d = !0 : (i && Na(e, _) || Ba(e, _) || Fa(e, _) ? d = !0 : Ua(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && S(e, "alias node should not have any properties")) : Oa(e, _, ot === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Qt(e, p))), e.tag === null)
1990
1990
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1991
1991
  else if (e.tag === "?") {
1992
- for (e.result !== null && e.kind !== "scalar" && A(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
1992
+ for (e.result !== null && e.kind !== "scalar" && S(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, m = e.implicitTypes.length; c < m; c += 1)
1993
1993
  if (k = e.implicitTypes[c], k.resolve(e.result)) {
1994
1994
  e.result = k.construct(e.result), e.tag = k.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1995
1995
  break;
@@ -2003,7 +2003,7 @@ function Re(e, n, t, r, o) {
2003
2003
  k = g[c];
2004
2004
  break;
2005
2005
  }
2006
- k || A(e, "unknown tag !<" + e.tag + ">"), e.result !== null && k.kind !== e.kind && A(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + k.kind + '", not "' + e.kind + '"'), k.resolve(e.result, e.tag) ? (e.result = k.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : A(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2006
+ k || S(e, "unknown tag !<" + e.tag + ">"), e.result !== null && k.kind !== e.kind && S(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + k.kind + '", not "' + e.kind + '"'), k.resolve(e.result, e.tag) ? (e.result = k.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : S(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2007
2007
  }
2008
2008
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2009
2009
  }
@@ -2012,7 +2012,7 @@ function Ra(e) {
2012
2012
  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)); ) {
2013
2013
  for (a = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !he(i); )
2014
2014
  i = e.input.charCodeAt(++e.position);
2015
- for (r = e.input.slice(t, e.position), o = [], r.length < 1 && A(e, "directive name must not be less than one character in length"); i !== 0; ) {
2015
+ for (r = e.input.slice(t, e.position), o = [], r.length < 1 && S(e, "directive name must not be less than one character in length"); i !== 0; ) {
2016
2016
  for (; Be(i); )
2017
2017
  i = e.input.charCodeAt(++e.position);
2018
2018
  if (i === 35) {
@@ -2029,12 +2029,12 @@ function Ra(e) {
2029
2029
  }
2030
2030
  i !== 0 && jt(e), Me.call(Wt, r) ? Wt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2031
2031
  }
2032
- 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 && A(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ae(e, !0, -1), e.checkLineBreaks && Aa.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)) {
2032
+ 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 && S(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), ae(e, !0, -1), e.checkLineBreaks && Sa.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)) {
2033
2033
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ae(e, !0, -1));
2034
2034
  return;
2035
2035
  }
2036
2036
  if (e.position < e.length - 1)
2037
- A(e, "end of the stream or a document separator is expected");
2037
+ S(e, "end of the stream or a document separator is expected");
2038
2038
  else
2039
2039
  return;
2040
2040
  }
@@ -2042,7 +2042,7 @@ function Gn(e, n) {
2042
2042
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2043
2043
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2044
2044
  var t = new Ea(e, n), r = e.indexOf("\0");
2045
- for (r !== -1 && (t.position = r, A(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2045
+ for (r !== -1 && (t.position = r, S(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2046
2046
  t.lineIndent += 1, t.position += 1;
2047
2047
  for (; t.position < t.length - 1; )
2048
2048
  Ra(t);
@@ -2276,19 +2276,19 @@ function ki(e) {
2276
2276
  function _i(e, n, t) {
2277
2277
  var r = "", o = e.tag, a, i, s;
2278
2278
  for (a = 0, i = t.length; a < i; a += 1)
2279
- s = t[a], e.replacer && (s = e.replacer.call(t, String(a), s)), (Ae(e, n, s, !1, !1) || typeof s > "u" && Ae(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2279
+ s = t[a], e.replacer && (s = e.replacer.call(t, String(a), s)), (Se(e, n, s, !1, !1) || typeof s > "u" && Se(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2280
2280
  e.tag = o, e.dump = "[" + r + "]";
2281
2281
  }
2282
2282
  function an(e, n, t, r) {
2283
2283
  var o = "", a = e.tag, i, s, l;
2284
2284
  for (i = 0, s = t.length; i < s; i += 1)
2285
- l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Ae(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Ae(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += Ct(e, n)), e.dump && Je === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2285
+ l = t[i], e.replacer && (l = e.replacer.call(t, String(i), l)), (Se(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += Ct(e, n)), e.dump && Je === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2286
2286
  e.tag = a, e.dump = o || "[]";
2287
2287
  }
2288
2288
  function wi(e, n, t) {
2289
2289
  var r = "", o = e.tag, a = Object.keys(t), i, s, l, u, d;
2290
2290
  for (i = 0, s = a.length; i < s; i += 1)
2291
- d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = a[i], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), Ae(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ae(e, n, u, !1, !1) && (d += e.dump, r += d));
2291
+ d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), l = a[i], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), Se(e, n, l, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, n, u, !1, !1) && (d += e.dump, r += d));
2292
2292
  e.tag = o, e.dump = "{" + r + "}";
2293
2293
  }
2294
2294
  function Ii(e, n, t, r) {
@@ -2300,7 +2300,7 @@ function Ii(e, n, t, r) {
2300
2300
  else if (e.sortKeys)
2301
2301
  throw new me("sortKeys must be a boolean or a function");
2302
2302
  for (s = 0, l = i.length; s < l; s += 1)
2303
- m = "", (!r || o !== "") && (m += Ct(e, n)), u = i[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), Ae(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Je === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += Ct(e, n)), Ae(e, n + 1, d, !0, c) && (e.dump && Je === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, o += m));
2303
+ m = "", (!r || o !== "") && (m += Ct(e, n)), u = i[s], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), Se(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Je === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, c && (m += Ct(e, n)), Se(e, n + 1, d, !0, c) && (e.dump && Je === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, o += m));
2304
2304
  e.tag = a, e.dump = o || "{}";
2305
2305
  }
2306
2306
  function sn(e, n, t) {
@@ -2320,7 +2320,7 @@ function sn(e, n, t) {
2320
2320
  }
2321
2321
  return !1;
2322
2322
  }
2323
- function Ae(e, n, t, r, o, a, i) {
2323
+ function Se(e, n, t, r, o, a, i) {
2324
2324
  e.tag = null, e.dump = t, sn(e, t, !1) || sn(e, t, !0);
2325
2325
  var s = zn.call(e.dump), l = r, u;
2326
2326
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
@@ -2345,7 +2345,7 @@ function Ae(e, n, t, r, o, a, i) {
2345
2345
  }
2346
2346
  return !0;
2347
2347
  }
2348
- function xi(e, n) {
2348
+ function Ai(e, n) {
2349
2349
  var t = [], r = [], o, a;
2350
2350
  for (_t(e, t, r), o = 0, a = r.length; o < a; o += 1)
2351
2351
  n.duplicates.push(t[r[o]]);
@@ -2363,16 +2363,16 @@ function _t(e, n, t) {
2363
2363
  for (r = Object.keys(e), o = 0, a = r.length; o < a; o += 1)
2364
2364
  _t(e[r[o]], n, t);
2365
2365
  }
2366
- function Ai(e, n) {
2366
+ function Si(e, n) {
2367
2367
  n = n || {};
2368
2368
  var t = new mi(n);
2369
- t.noRefs || xi(e, t);
2369
+ t.noRefs || Ai(e, t);
2370
2370
  var r = e;
2371
- return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Ae(t, 0, r, !0, !0) ? t.dump + `
2371
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), Se(t, 0, r, !0, !0) ? t.dump + `
2372
2372
  ` : "";
2373
2373
  }
2374
- var Si = Ai, Ti = {
2375
- dump: Si
2374
+ var xi = Si, Ti = {
2375
+ dump: xi
2376
2376
  };
2377
2377
  function Ot(e, n) {
2378
2378
  return function() {
@@ -2381,14 +2381,14 @@ function Ot(e, n) {
2381
2381
  }
2382
2382
  var $i = pe, ji = bn, Mi = wn, Ei = Tn, Oi = $n, Bi = $t, Fi = Hn.load, Ki = Hn.loadAll, Ni = Ti.dump, Li = me, Pi = {
2383
2383
  binary: Bn,
2384
- float: Sn,
2384
+ float: xn,
2385
2385
  map: _n,
2386
2386
  null: In,
2387
2387
  pairs: Kn,
2388
2388
  set: Nn,
2389
2389
  timestamp: En,
2390
- bool: xn,
2391
- int: An,
2390
+ bool: An,
2391
+ int: Sn,
2392
2392
  merge: On,
2393
2393
  omap: Fn,
2394
2394
  seq: kn,
@@ -2448,7 +2448,7 @@ const Di = {
2448
2448
  },
2449
2449
  setup(e) {
2450
2450
  const n = e, t = ut(), { i18n: { t: r } } = ce.useI18n(), o = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), a = M(""), i = M("");
2451
- return Se(() => n.format, (s) => {
2451
+ return xe(() => n.format, (s) => {
2452
2452
  s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = Vi.dump(n.record));
2453
2453
  }, { immediate: !0 }), (s, l) => {
2454
2454
  const u = L("KCodeBlock");
@@ -2460,7 +2460,7 @@ const Di = {
2460
2460
  "data-testid": `config-card-details-${d}-props`
2461
2461
  }, [
2462
2462
  d !== "basic" ? (f(), T("div", Hi, O(d === "advanced" ? h(r)("baseConfigCard.sections.advanced") : h(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2463
- (f(!0), T(ve, null, ye(e.propertyCollections[d], (c) => (f(), R(St, {
2463
+ (f(!0), T(ve, null, ye(e.propertyCollections[d], (c) => (f(), R(xt, {
2464
2464
  key: c.key,
2465
2465
  item: c
2466
2466
  }, Te({
@@ -2567,7 +2567,7 @@ const Di = {
2567
2567
  }
2568
2568
  },
2569
2569
  setup(e) {
2570
- const n = e, t = S(() => {
2570
+ const n = e, t = x(() => {
2571
2571
  if (typeof n.size == "number" && n.size > 0)
2572
2572
  return `${n.size}px`;
2573
2573
  if (typeof n.size == "string") {
@@ -2576,7 +2576,7 @@ const Di = {
2576
2576
  return `${a}px`;
2577
2577
  }
2578
2578
  return ln;
2579
- }), r = S(() => ({
2579
+ }), r = x(() => ({
2580
2580
  boxSizing: "border-box",
2581
2581
  color: n.color,
2582
2582
  display: n.display,
@@ -2744,19 +2744,19 @@ const Di = {
2744
2744
  // the last property displayed
2745
2745
  section: be.Basic
2746
2746
  }
2747
- }, g = M(!1), k = M(!1), _ = M(""), p = M(), w = S(() => {
2747
+ }, g = M(!1), k = M(!1), _ = M(""), p = M(), w = x(() => {
2748
2748
  var I, V, U;
2749
2749
  if (!p.value)
2750
2750
  return [];
2751
- const x = [], E = Object.keys(p.value).length;
2751
+ const A = [], E = Object.keys(p.value).length;
2752
2752
  for (const j in p.value) {
2753
2753
  const K = (V = (I = r.configSchema) == null ? void 0 : I[j]) == null ? void 0 : V.order, J = (U = m[j]) == null ? void 0 : U.order;
2754
2754
  let X = E;
2755
- (J || J === 0) && (X = J === -1 ? E + 1 : J), K && (X = K === -1 ? E + 1 : K), x.push([j, X]);
2755
+ (J || J === 0) && (X = J === -1 ? E + 1 : J), K && (X = K === -1 ? E + 1 : K), A.push([j, X]);
2756
2756
  }
2757
- return x.sort(function(j, K) {
2757
+ return A.sort(function(j, K) {
2758
2758
  return j[1] - K[1];
2759
- }), x.map((j) => {
2759
+ }), A.map((j) => {
2760
2760
  var K, J;
2761
2761
  const X = j[0], ee = (K = p.value) == null ? void 0 : K[X], te = ((J = r.configSchema) == null ? void 0 : J[X]) || {}, se = m[X];
2762
2762
  return {
@@ -2769,15 +2769,15 @@ const Di = {
2769
2769
  section: te.section ?? ((se == null ? void 0 : se.section) || be.Advanced)
2770
2770
  };
2771
2771
  }).filter((j) => !j.hidden && j.key !== r.pluginConfigKey);
2772
- }), y = S(() => {
2772
+ }), y = x(() => {
2773
2773
  var I, V;
2774
2774
  if (!p.value || !r.pluginConfigKey)
2775
2775
  return [];
2776
- const U = p.value[r.pluginConfigKey] || {}, x = Object.keys(U).length, E = [];
2776
+ const U = p.value[r.pluginConfigKey] || {}, A = Object.keys(U).length, E = [];
2777
2777
  for (const j in U) {
2778
2778
  const K = (V = (I = r.pluginConfigSchema) == null ? void 0 : I[j]) == null ? void 0 : V.order, J = U[j];
2779
- let X = J != null && J !== "" ? x - 1 : x;
2780
- K && (X = K === -1 ? x + 1 : K), E.push([j, X]);
2779
+ let X = J != null && J !== "" ? A - 1 : A;
2780
+ K && (X = K === -1 ? A + 1 : K), E.push([j, X]);
2781
2781
  }
2782
2782
  return E.sort(function(j, K) {
2783
2783
  return j[1] - K[1];
@@ -2794,24 +2794,24 @@ const Di = {
2794
2794
  section: be.Plugin
2795
2795
  };
2796
2796
  }).filter((j) => !j.hidden);
2797
- }), b = S(() => {
2798
- var I, V, U, x;
2797
+ }), b = x(() => {
2798
+ var I, V, U, A;
2799
2799
  return {
2800
2800
  basic: (I = w.value) == null ? void 0 : I.filter((E) => E.section === be.Basic),
2801
2801
  advanced: (V = w.value) == null ? void 0 : V.filter((E) => E.section === be.Advanced),
2802
- plugin: (x = y.value) == null ? void 0 : x.concat((U = w.value) == null ? void 0 : U.filter((E) => E.section === be.Plugin))
2802
+ plugin: (A = y.value) == null ? void 0 : A.concat((U = w.value) == null ? void 0 : U.filter((E) => E.section === be.Plugin))
2803
2803
  };
2804
- }), B = S(() => {
2804
+ }), B = x(() => {
2805
2805
  const I = [];
2806
2806
  return b.value.basic.length && I.push("basic"), b.value.advanced.length && I.push("advanced"), b.value.plugin.length && I.push("plugin"), I;
2807
- }), H = (I) => !!(I.tooltip || o[`${I.key}-label-tooltip`]), re = S(() => {
2807
+ }), H = (I) => !!(I.tooltip || o[`${I.key}-label-tooltip`]), re = x(() => {
2808
2808
  var I, V;
2809
2809
  let U = `${r.config.apiBaseUrl}${r.fetchUrl}`;
2810
2810
  return r.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((I = r.config) == null ? void 0 : I.controlPlaneId) || "") : r.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (V = r.config) != null && V.workspace ? `/${r.config.workspace}` : "")), U = U.replace(/{id}/gi, r.config.entityId), U;
2811
2811
  }), z = (I) => {
2812
2812
  p.value && I(JSON.stringify(p.value)) ? n("copy:success", p.value) : n("copy:error");
2813
2813
  };
2814
- return Se(g, (I) => {
2814
+ return xe(g, (I) => {
2815
2815
  n("loading", I);
2816
2816
  }, { immediate: !0 }), Qe(async () => {
2817
2817
  k.value = !1, g.value = !0;
@@ -2834,7 +2834,7 @@ const Di = {
2834
2834
  g.value = !1;
2835
2835
  }
2836
2836
  }), (I, V) => {
2837
- const U = L("KLabel"), x = L("KSelect"), E = L("KButton"), j = L("KClipboardProvider"), K = L("KSkeleton"), J = L("KEmptyState"), X = L("KCard");
2837
+ const U = L("KLabel"), A = L("KSelect"), E = L("KButton"), j = L("KClipboardProvider"), K = L("KSkeleton"), J = L("KEmptyState"), X = L("KCard");
2838
2838
  return f(), R(X, { class: "kong-ui-entity-base-config-card" }, Te({
2839
2839
  actions: v(() => [
2840
2840
  q("div", as, [
@@ -2849,7 +2849,7 @@ const Di = {
2849
2849
  ]),
2850
2850
  _: 1
2851
2851
  })) : G("", !0),
2852
- e.config.jsonYamlEnabled ? (f(), R(x, {
2852
+ e.config.jsonYamlEnabled ? (f(), R(A, {
2853
2853
  key: 1,
2854
2854
  appearance: "select",
2855
2855
  "data-testid": "select-config-format",
@@ -2931,7 +2931,7 @@ const Di = {
2931
2931
  "data-testid": `config-card-details-${ee}-props`
2932
2932
  }, [
2933
2933
  ee !== "basic" ? (f(), T("div", cs, O(ee === "advanced" ? h(a)("baseConfigCard.sections.advanced") : h(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2934
- (f(!0), T(ve, null, ye(b.value[ee], (te) => (f(), R(St, {
2934
+ (f(!0), T(ve, null, ye(b.value[ee], (te) => (f(), R(xt, {
2935
2935
  key: te.key,
2936
2936
  item: te
2937
2937
  }, Te({
@@ -3028,7 +3028,7 @@ const Di = {
3028
3028
  var t;
3029
3029
  const r = e, o = wt(), { i18n: { t: a } } = ce.useI18n(), { getMessageFromError: i } = ce.useErrors(), { axiosInstance: s } = ce.useAxios({
3030
3030
  headers: (t = r.config) == null ? void 0 : t.requestHeaders
3031
- }), l = M(!1), u = M(!1), d = M(""), c = S(() => r.canSubmit === !1 || r.isReadonly), m = S(() => {
3031
+ }), l = M(!1), u = M(!1), d = M(""), c = x(() => r.canSubmit === !1 || r.isReadonly), m = x(() => {
3032
3032
  var p, w;
3033
3033
  if (!r.editId)
3034
3034
  return "";
@@ -3041,7 +3041,7 @@ const Di = {
3041
3041
  }, _ = () => {
3042
3042
  c.value || n("submit");
3043
3043
  };
3044
- return Se(() => l.value, (p) => {
3044
+ return xe(() => l.value, (p) => {
3045
3045
  n("loading", p);
3046
3046
  }, { immediate: !0 }), Qe(async () => {
3047
3047
  if (r.editId)
@@ -3131,13 +3131,13 @@ const Di = {
3131
3131
  }
3132
3132
  },
3133
3133
  setup(e) {
3134
- const n = e, t = S(() => {
3134
+ const n = e, t = x(() => {
3135
3135
  var _;
3136
3136
  return ((_ = n.rowEl) == null ? void 0 : _.querySelector(`[data-testid="${n.keyName}"]`)) || null;
3137
- }), r = S(() => {
3137
+ }), r = x(() => {
3138
3138
  var _;
3139
3139
  return ((_ = t.value) == null ? void 0 : _.querySelector('[role="button"]')) || null;
3140
- }), o = S(() => {
3140
+ }), o = x(() => {
3141
3141
  var _, p;
3142
3142
  const w = (_ = n.rowEl) == null ? void 0 : _.querySelectorAll("td");
3143
3143
  return w ? ((p = w[0]) == null ? void 0 : p.getAttribute("data-testid")) === n.keyName : !1;
@@ -3148,7 +3148,7 @@ const Di = {
3148
3148
  }, s = () => {
3149
3149
  var _, p, w;
3150
3150
  u.value = ((_ = r.value) == null ? void 0 : _.getBoundingClientRect().width) || 0, d.value = ((p = t.value) == null ? void 0 : p.clientWidth) || 0, c.value = ((w = l.value) == null ? void 0 : w.innerText) || "";
3151
- }, l = M({}), u = M(0), d = M(0), c = M(""), m = S(() => [r.value, t.value]), g = Se(
3151
+ }, l = M({}), u = M(0), d = M(0), c = M(""), m = x(() => [r.value, t.value]), g = xe(
3152
3152
  m,
3153
3153
  (_) => {
3154
3154
  if (o.value && (i(), "ResizeObserver" in window && window)) {
@@ -3162,7 +3162,7 @@ const Di = {
3162
3162
  }
3163
3163
  },
3164
3164
  { immediate: !0, flush: "post", deep: !0 }
3165
- ), k = S(() => o.value ? u.value > d.value : !1);
3165
+ ), k = x(() => o.value ? u.value > d.value : !1);
3166
3166
  return dr(() => {
3167
3167
  s();
3168
3168
  }), pr(() => {
@@ -3302,7 +3302,7 @@ const Di = {
3302
3302
  },
3303
3303
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3304
3304
  setup(e, { emit: n }) {
3305
- const t = e, { i18n: { t: r } } = ce.useI18n(), o = S(() => t.cacheIdentifier || t.preferencesStorageKey), a = (b) => b.hasData || !!t.query, i = S(() => {
3305
+ const t = e, { i18n: { t: r } } = ce.useI18n(), o = x(() => t.cacheIdentifier || t.preferencesStorageKey), a = (b) => b.hasData || !!t.query, i = x(() => {
3306
3306
  const b = [];
3307
3307
  return Object.keys(t.tableHeaders).forEach((B) => {
3308
3308
  const H = t.tableHeaders[B];
@@ -3336,11 +3336,11 @@ const Di = {
3336
3336
  n("empty-state-cta-clicked"), m();
3337
3337
  }, m = () => {
3338
3338
  n("clear-search-input");
3339
- }, g = S(() => t.disableRowClick ? void 0 : (b, B) => {
3339
+ }, g = x(() => t.disableRowClick ? void 0 : (b, B) => {
3340
3340
  n("click:row", B);
3341
3341
  }), k = (b) => {
3342
3342
  n("sort", b);
3343
- }, { setTablePreferences: _, getTablePreferences: p } = Ir(), w = S(() => {
3343
+ }, { setTablePreferences: _, getTablePreferences: p } = Ir(), w = x(() => {
3344
3344
  const b = p(t.preferencesStorageKey);
3345
3345
  return {
3346
3346
  ...t.initialFetcherParams,
@@ -3397,7 +3397,7 @@ const Di = {
3397
3397
  [tt, a(U)]
3398
3398
  ])
3399
3399
  ]),
3400
- actions: v(({ row: U, rowKey: x, rowValue: E }) => [
3400
+ actions: v(({ row: U, rowKey: A, rowValue: E }) => [
3401
3401
  q("div", {
3402
3402
  class: "actions-container",
3403
3403
  "data-testid": U.name
@@ -3409,7 +3409,7 @@ const Di = {
3409
3409
  items: v(() => [
3410
3410
  Z(b.$slots, "actions", {
3411
3411
  row: U,
3412
- rowKey: x,
3412
+ rowKey: A,
3413
3413
  rowValue: E
3414
3414
  }, void 0, !0)
3415
3415
  ]),
@@ -3435,15 +3435,15 @@ const Di = {
3435
3435
  ]),
3436
3436
  _: 2
3437
3437
  }, [
3438
- ye(e.tableHeaders, (U, x) => ({
3439
- name: x,
3438
+ ye(e.tableHeaders, (U, A) => ({
3439
+ name: A,
3440
3440
  fn: v(({ row: E, rowKey: j, rowValue: K }) => [
3441
3441
  F(bs, {
3442
- "key-name": String(x),
3442
+ "key-name": String(A),
3443
3443
  "row-el": u(E)
3444
3444
  }, {
3445
3445
  default: v(() => [
3446
- Z(b.$slots, x, {
3446
+ Z(b.$slots, A, {
3447
3447
  row: E,
3448
3448
  rowKey: j,
3449
3449
  rowValue: K
@@ -3461,13 +3461,13 @@ const Di = {
3461
3461
  }, 8, ["title"]);
3462
3462
  };
3463
3463
  }
3464
- }), Is = /* @__PURE__ */ ke(ws, [["__scopeId", "data-v-6bf92df6"]]), xs = {
3464
+ }), Is = /* @__PURE__ */ ke(ws, [["__scopeId", "data-v-6bf92df6"]]), As = {
3465
3465
  key: 0,
3466
3466
  class: "kong-ui-entity-delete-error"
3467
- }, As = {
3467
+ }, Ss = {
3468
3468
  key: 1,
3469
3469
  class: "description"
3470
- }, Ss = /* @__PURE__ */ ie({
3470
+ }, xs = /* @__PURE__ */ ie({
3471
3471
  __name: "EntityDeleteModal",
3472
3472
  props: {
3473
3473
  visible: {
@@ -3506,7 +3506,7 @@ const Di = {
3506
3506
  },
3507
3507
  emits: ["cancel", "proceed"],
3508
3508
  setup(e, { emit: n }) {
3509
- const t = e, { i18nT: r } = ce.useI18n(), o = S(() => t.needConfirm ? t.entityName : ""), a = () => {
3509
+ const t = e, { i18nT: r } = ce.useI18n(), o = x(() => t.needConfirm ? t.entityName : ""), a = () => {
3510
3510
  n("cancel");
3511
3511
  }, i = () => {
3512
3512
  n("proceed");
@@ -3525,7 +3525,7 @@ const Di = {
3525
3525
  onProceed: i
3526
3526
  }, {
3527
3527
  "body-content": v(() => [
3528
- e.error ? (f(), T("div", xs, [
3528
+ e.error ? (f(), T("div", As, [
3529
3529
  F(u, { appearance: "danger" }, {
3530
3530
  alertMessage: v(() => [
3531
3531
  Q(O(e.error), 1)
@@ -3551,7 +3551,7 @@ const Di = {
3551
3551
  key: "0"
3552
3552
  } : void 0
3553
3553
  ]), 1032, ["keypath"]),
3554
- t.description || s.$slots.description ? (f(), T("div", As, [
3554
+ t.description || s.$slots.description ? (f(), T("div", Ss, [
3555
3555
  Z(s.$slots, "description", {}, () => [
3556
3556
  q("p", null, O(t.description), 1)
3557
3557
  ], !0)
@@ -3561,7 +3561,7 @@ const Di = {
3561
3561
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3562
3562
  };
3563
3563
  }
3564
- }), Ts = /* @__PURE__ */ ke(Ss, [["__scopeId", "data-v-1c9a2a07"]]), $s = {
3564
+ }), Ts = /* @__PURE__ */ ke(xs, [["__scopeId", "data-v-1c9a2a07"]]), $s = {
3565
3565
  fill: "none",
3566
3566
  height: "20",
3567
3567
  viewBox: "0 0 20 20",
@@ -3623,19 +3623,19 @@ const Di = {
3623
3623
  },
3624
3624
  emits: ["update:modelValue"],
3625
3625
  setup(e, { emit: n }) {
3626
- const t = e, { i18n: { t: r } } = ce.useI18n(), o = M(!1), a = M({}), i = S(() => {
3626
+ const t = e, { i18n: { t: r } } = ce.useI18n(), o = M(!1), a = M({}), i = x(() => {
3627
3627
  const p = [];
3628
3628
  return new URLSearchParams(t.modelValue).forEach((w, y) => {
3629
3629
  w !== "" && p.push(y);
3630
3630
  }), p;
3631
- }), s = S(() => {
3631
+ }), s = x(() => {
3632
3632
  const p = t.config.fields;
3633
3633
  return Object.keys(p).filter((w) => p[w].searchable).map((w) => ({
3634
3634
  label: p[w].label || w,
3635
3635
  value: w
3636
3636
  }));
3637
3637
  });
3638
- Se(() => t.modelValue, (p) => {
3638
+ xe(() => t.modelValue, (p) => {
3639
3639
  a.value = {}, new URLSearchParams(p).forEach((w, y) => {
3640
3640
  a.value[y] = w;
3641
3641
  });
@@ -3725,7 +3725,7 @@ const Di = {
3725
3725
  key: 0,
3726
3726
  id: d(z.value),
3727
3727
  modelValue: a.value[z.value],
3728
- "onUpdate:modelValue": (x) => a.value[z.value] = x,
3728
+ "onUpdate:modelValue": (A) => a.value[z.value] = A,
3729
3729
  appearance: "select",
3730
3730
  items: c(z.value),
3731
3731
  placeholder: h(r)("filter.selectPlaceholder")
@@ -3733,7 +3733,7 @@ const Di = {
3733
3733
  key: 1,
3734
3734
  id: d(z.value),
3735
3735
  modelValue: a.value[z.value],
3736
- "onUpdate:modelValue": (x) => a.value[z.value] = x,
3736
+ "onUpdate:modelValue": (A) => a.value[z.value] = A,
3737
3737
  autocomplete: "off",
3738
3738
  placeholder: h(r)("filter.inputPlaceholder"),
3739
3739
  size: "small",
@@ -3745,7 +3745,7 @@ const Di = {
3745
3745
  appearance: "btn-link",
3746
3746
  "data-testid": "apply-filter",
3747
3747
  size: "small",
3748
- onClick: w[0] || (w[0] = (x) => _(!0))
3748
+ onClick: w[0] || (w[0] = (A) => _(!0))
3749
3749
  }, {
3750
3750
  default: v(() => [
3751
3751
  Q(O(h(r)("filter.applyButtonText")), 1)
@@ -3756,7 +3756,7 @@ const Di = {
3756
3756
  appearance: "btn-link",
3757
3757
  "data-testid": "clear-filter",
3758
3758
  size: "small",
3759
- onClick: (x) => g(z.value)
3759
+ onClick: (A) => g(z.value)
3760
3760
  }, {
3761
3761
  default: v(() => [
3762
3762
  Q(O(h(r)("filter.clearButtonText")), 1)
@@ -3806,8 +3806,8 @@ const Di = {
3806
3806
  }
3807
3807
  },
3808
3808
  setup(e) {
3809
- const n = e, t = M(void 0), r = S(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3810
- return Se(() => n.authFunction, async () => {
3809
+ const n = e, t = M(void 0), r = x(() => t.value === !0 || t.value !== void 0 && n.forceShow === !0);
3810
+ return xe(() => n.authFunction, async () => {
3811
3811
  t.value = await n.authFunction();
3812
3812
  }, { immediate: !0 }), (o, a) => r.value ? Z(o.$slots, "default", {
3813
3813
  key: 0,
@@ -3912,16 +3912,16 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
3912
3912
  fetchedItemsKey: "data",
3913
3913
  searchKeys: ["name", "id"]
3914
3914
  }
3915
- ), m = S(() => u.value ? r("consumer_groups.errors.general") : ""), g = M(0), k = S(() => l.value === void 0), _ = S(() => c.value.map((x) => ({
3916
- label: x.name,
3917
- value: x.id,
3918
- selected: a.value.includes(x.id),
3919
- data: x
3915
+ ), m = x(() => u.value ? r("consumer_groups.errors.general") : ""), g = M(0), k = x(() => l.value === void 0), _ = x(() => c.value.map((A) => ({
3916
+ label: A.name,
3917
+ value: A.id,
3918
+ selected: a.value.includes(A.id),
3919
+ data: A
3920
3920
  // we need this to determine whether or not to show the description text
3921
- }))), p = (x) => {
3921
+ }))), p = (A) => {
3922
3922
  var j;
3923
- const E = k.value ? c.value.find((K) => K.id === x) : (j = l.value) == null ? void 0 : j.find((K) => K.id === x);
3924
- return E ? E.name : x;
3923
+ const E = k.value ? c.value.find((K) => K.id === A) : (j = l.value) == null ? void 0 : j.find((K) => K.id === A);
3924
+ return E ? E.name : A;
3925
3925
  }, w = () => {
3926
3926
  B.value = "", y.value = [], I.value = [], n("cancel");
3927
3927
  }, y = M([]), b = M(!1), B = M(""), H = async () => {
@@ -3931,7 +3931,7 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
3931
3931
  }
3932
3932
  b.value = !0, B.value = "", y.value = [], I.value = [];
3933
3933
  try {
3934
- const x = a.value.map((K) => z(K)), E = await Promise.allSettled(x);
3934
+ const A = a.value.map((K) => z(K)), E = await Promise.allSettled(A);
3935
3935
  let j = !0;
3936
3936
  E.forEach((K) => {
3937
3937
  K.status !== "fulfilled" && (j = !1);
@@ -3941,32 +3941,32 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
3941
3941
  } finally {
3942
3942
  b.value = !1;
3943
3943
  }
3944
- }, re = S(() => {
3944
+ }, re = x(() => {
3945
3945
  var E, j, K, J;
3946
- let x = `${t.config.apiBaseUrl}${$e.list[t.config.app].forConsumer}`;
3947
- return t.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((E = t.config) == null ? void 0 : E.controlPlaneId) || "").replace(/{consumerId}/gi, ((j = t.config) == null ? void 0 : j.consumerId) || "") : t.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (K = t.config) != null && K.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((J = t.config) == null ? void 0 : J.consumerId) || "")), x;
3948
- }), z = async (x) => {
3946
+ let A = `${t.config.apiBaseUrl}${$e.list[t.config.app].forConsumer}`;
3947
+ return t.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((E = t.config) == null ? void 0 : E.controlPlaneId) || "").replace(/{consumerId}/gi, ((j = t.config) == null ? void 0 : j.consumerId) || "") : t.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (K = t.config) != null && K.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((J = t.config) == null ? void 0 : J.consumerId) || "")), A;
3948
+ }), z = async (A) => {
3949
3949
  const E = {
3950
- group: x
3950
+ group: A
3951
3951
  };
3952
3952
  try {
3953
3953
  const j = await o.post(re.value, E);
3954
- return y.value.push(x), j;
3954
+ return y.value.push(A), j;
3955
3955
  } catch (j) {
3956
- let K = `${p(x)} - ${j.message}`;
3957
- return j.response.status === 409 && (K = `${p(x)} - ${r("consumer_groups.errors.already_added")}`), Promise.reject(Error(K));
3956
+ let K = `${p(A)} - ${j.message}`;
3957
+ return j.response.status === 409 && (K = `${p(A)} - ${r("consumer_groups.errors.already_added")}`), Promise.reject(Error(K));
3958
3958
  }
3959
- }, I = M([]), V = (x) => {
3960
- I.value = x.map((E) => {
3959
+ }, I = M([]), V = (A) => {
3960
+ I.value = A.map((E) => {
3961
3961
  var j;
3962
3962
  return (j = E.reason) == null ? void 0 : j.message;
3963
3963
  }).filter(Boolean);
3964
3964
  };
3965
- return Se(_, () => {
3965
+ return xe(_, () => {
3966
3966
  g.value++;
3967
3967
  }, { immediate: !0, deep: !0 }), Qe(async () => {
3968
3968
  await d();
3969
- }), (x, E) => {
3969
+ }), (A, E) => {
3970
3970
  const j = L("KMultiselect"), K = L("KAlert"), J = L("KPrompt");
3971
3971
  return f(), R(J, {
3972
3972
  "action-pending": b.value,
@@ -4063,17 +4063,17 @@ const Ft = (e, n) => {
4063
4063
  var Kt;
4064
4064
  const t = e, { i18nT: r, i18n: { t: o } } = ct.useI18n(), a = wt(), { axiosInstance: i } = Bt({
4065
4065
  headers: (Kt = t.config) == null ? void 0 : Kt.requestHeaders
4066
- }), s = M(1), l = S(() => !!t.config.consumerId), u = S(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4066
+ }), s = M(1), l = x(() => !!t.config.consumerId), u = x(() => t.config.app !== "kongManager" || !!t.config.disableSorting), d = {
4067
4067
  name: { label: o("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4068
4068
  };
4069
4069
  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 };
4070
4070
  const c = d, m = ($) => ({
4071
4071
  "data-testid": $.username ?? $.custom_id ?? $.id
4072
- }), g = S(() => {
4072
+ }), g = x(() => {
4073
4073
  var Y, ue, Ce, Ee;
4074
4074
  let $ = `${t.config.apiBaseUrl}${$e.list[t.config.app][l.value ? "forConsumer" : "all"]}`;
4075
4075
  return t.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((ue = t.config) == null ? void 0 : ue.consumerId) || "") : t.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), $;
4076
- }), k = M(""), _ = S(() => {
4076
+ }), k = M(""), _ = x(() => {
4077
4077
  const $ = t.config.app === "konnect" || t.config.isExactMatch;
4078
4078
  return $ ? {
4079
4079
  isExactMatch: $,
@@ -4089,7 +4089,7 @@ const Ft = (e, n) => {
4089
4089
  },
4090
4090
  schema: t.config.filterSchema
4091
4091
  };
4092
- }), p = S(() => l.value ? "consumer_groups" : void 0), { fetcher: w, fetcherState: y } = Zs(t.config, g.value, p.value), b = () => {
4092
+ }), p = x(() => l.value ? "consumer_groups" : void 0), { fetcher: w, fetcherState: y } = Zs(t.config, g.value, p.value), b = () => {
4093
4093
  k.value = "";
4094
4094
  }, B = () => {
4095
4095
  s.value++;
@@ -4130,16 +4130,16 @@ const Ft = (e, n) => {
4130
4130
  }), U = ($) => ({
4131
4131
  label: o("consumer_groups.actions.edit"),
4132
4132
  to: t.config.getEditRoute($)
4133
- }), x = M(void 0), E = M(!1), j = M(!1), K = M(""), J = Js(t.config, g.value), X = ($) => {
4134
- x.value = $, E.value = !0;
4133
+ }), A = M(void 0), E = M(!1), j = M(!1), K = M(""), J = Js(t.config, g.value), X = ($) => {
4134
+ A.value = $, E.value = !0;
4135
4135
  }, ee = () => {
4136
4136
  E.value = !1;
4137
4137
  }, te = async () => {
4138
4138
  var $, Y, ue;
4139
- if (($ = x.value) != null && $.id) {
4139
+ if (($ = A.value) != null && $.id) {
4140
4140
  j.value = !0;
4141
4141
  try {
4142
- await i.delete(J(x.value.id)), j.value = !1, E.value = !1, s.value++, n("delete:success", x.value);
4142
+ await i.delete(J(A.value.id)), j.value = !1, E.value = !1, s.value++, n("delete:success", A.value);
4143
4143
  } catch (Ce) {
4144
4144
  K.value = ((ue = (Y = Ce.response) == null ? void 0 : Y.data) == null ? void 0 : ue.message) || Ce.message || o("consumer_groups.errors.delete"), n("error", Ce);
4145
4145
  } finally {
@@ -4158,7 +4158,7 @@ const Ft = (e, n) => {
4158
4158
  P.value = $, D.value = !0;
4159
4159
  }, de = () => {
4160
4160
  D.value = !1, P.value = void 0;
4161
- }, Ke = S(() => {
4161
+ }, Ke = x(() => {
4162
4162
  var Y, ue, Ce, Ee;
4163
4163
  let $ = `${t.config.apiBaseUrl}${$e.list[t.config.app].oneForConsumer}`;
4164
4164
  return t.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = t.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((ue = t.config) == null ? void 0 : ue.consumerId) || "") : t.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (Ce = t.config) != null && Ce.workspace ? `/${t.config.workspace}` : "").replace(/{consumerId}/gi, ((Ee = t.config) == null ? void 0 : Ee.consumerId) || "")), $;
@@ -4175,7 +4175,7 @@ const Ft = (e, n) => {
4175
4175
  }
4176
4176
  }
4177
4177
  };
4178
- Se(y, ($) => {
4178
+ xe(y, ($) => {
4179
4179
  if ($.status === Oe.Error) {
4180
4180
  H.value = o("consumer_groups.errors.general"), n("error", $.error);
4181
4181
  return;
@@ -4342,7 +4342,7 @@ const Ft = (e, n) => {
4342
4342
  "action-pending": j.value,
4343
4343
  "data-testid": "delete-consumer-group-modal",
4344
4344
  description: h(o)("consumer_groups.delete.description"),
4345
- "entity-name": x.value && (x.value.name || x.value.id),
4345
+ "entity-name": A.value && (A.value.name || A.value.id),
4346
4346
  "entity-type": h(dn).ConsumerGroup,
4347
4347
  error: K.value,
4348
4348
  title: h(o)("consumer_groups.delete.title"),
@@ -4440,16 +4440,16 @@ const _l = /* @__PURE__ */ Ft(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4440
4440
  searchKeys: ["username", "custom_id"]
4441
4441
  }), { axiosInstance: m } = Bt({
4442
4442
  headers: (Ve = t.config) == null ? void 0 : Ve.requestHeaders
4443
- }), { getMessageFromError: g } = Ws(), k = S(() => c.value.map((C) => ({
4443
+ }), { getMessageFromError: g } = Ws(), k = x(() => c.value.map((C) => ({
4444
4444
  label: C.username || C.custom_id,
4445
4445
  value: C.id,
4446
4446
  selected: a.fields.consumers.includes(C.id),
4447
4447
  data: C
4448
4448
  // we need this to determine whether or not to show the description text
4449
- }))), _ = S(() => {
4449
+ }))), _ = x(() => {
4450
4450
  var C, N;
4451
4451
  return (N = $e.form[(C = t.config) == null ? void 0 : C.app]) == null ? void 0 : N.edit;
4452
- }), p = S(() => t.consumerGroupId ? nt.Edit : nt.Create), w = S(() => !!a.fields.name && !I.value), y = S(() => JSON.stringify(a.fields) !== JSON.stringify(i)), b = (C, N = "", oe = "") => {
4452
+ }), p = x(() => t.consumerGroupId ? nt.Edit : nt.Create), w = x(() => !!a.fields.name && !I.value), y = x(() => JSON.stringify(a.fields) !== JSON.stringify(i)), b = (C, N = "", oe = "") => {
4453
4453
  var D, ge, _e, de, Ke, De;
4454
4454
  let P = `${(D = t.config) == null ? void 0 : D.apiBaseUrl}${$e.form[(ge = t.config) == null ? void 0 : ge.app][C]}`;
4455
4455
  return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? P = P.replace(/{controlPlaneId}/gi, ((de = t.config) == null ? void 0 : de.controlPlaneId) || "") : ((Ke = t.config) == null ? void 0 : Ke.app) === "kongManager" && (P = P.replace(/\/{workspace}/gi, (De = t.config) != null && De.workspace ? `/${t.config.workspace}` : "")), P = P.replace(/{id}/gi, N || t.consumerGroupId), (C === "addConsumer" || C === "removeConsumer") && (P = P.replace(/{consumerId}/gi, oe)), P;
@@ -4474,13 +4474,13 @@ const _l = /* @__PURE__ */ Ft(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4474
4474
  E(de);
4475
4475
  }
4476
4476
  Object.assign(i, a.fields);
4477
- }, I = S(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), V = () => {
4477
+ }, I = x(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : r("consumer_groups.form.validation_errors.name")), V = () => {
4478
4478
  var C, N;
4479
4479
  return {
4480
4480
  name: a.fields.name,
4481
4481
  tags: (N = (C = a.fields.tags.split(",")) == null ? void 0 : C.map((oe) => String(oe || "").trim())) == null ? void 0 : N.filter((oe) => oe !== "")
4482
4482
  };
4483
- }, U = async (C, N = "") => await m.post(b("addConsumer", N, C), { consumer: C }), x = async (C, N = "") => await m.delete(b("removeConsumer", N, C)), E = (C) => {
4483
+ }, U = async (C, N = "") => await m.post(b("addConsumer", N, C), { consumer: C }), A = async (C, N = "") => await m.delete(b("removeConsumer", N, C)), E = (C) => {
4484
4484
  a.errorMessage = g(C), n("error", C);
4485
4485
  }, j = (C = t.consumerGroupId) => {
4486
4486
  Object.assign(i, a.fields), n("update", { ...a.fields, id: C });
@@ -4520,7 +4520,7 @@ const _l = /* @__PURE__ */ Ft(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4520
4520
  else {
4521
4521
  if (N.length > 0)
4522
4522
  try {
4523
- const P = N.map((ge) => x(ge)), D = await Promise.allSettled(P);
4523
+ const P = N.map((ge) => A(ge)), D = await Promise.allSettled(P);
4524
4524
  K(D, r("consumer_groups.errors.remove_consumer"));
4525
4525
  } catch (P) {
4526
4526
  E(P);
@@ -4658,7 +4658,7 @@ const wl = /* @__PURE__ */ Ft(cl, [["__scopeId", "data-v-2da12897"]]), dl = { cl
4658
4658
  },
4659
4659
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4660
4660
  setup(e) {
4661
- const n = e, { i18n: { t } } = ct.useI18n(), r = S(() => $e.form[n.config.app].edit), o = M({
4661
+ const n = e, { i18n: { t } } = ct.useI18n(), r = x(() => $e.form[n.config.app].edit), o = M({
4662
4662
  id: {},
4663
4663
  name: {},
4664
4664
  created_at: {},