@kong-ui-public/entities-gateway-services 3.5.16 → 3.5.17

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 ee, computed as I, openBlock as v, createBlock as z, resolveDynamicComponent as _e, normalizeStyle as De, withCtx as b, createElementBlock as T, toDisplayString as $, createCommentVNode as G, pushScopeId as ze, popScopeId as He, createElementVNode as M, ref as q, resolveComponent as P, Teleport as ui, createVNode as k, unref as f, createTextVNode as W, watch as Ce, renderSlot as ie, onBeforeMount as At, createSlots as Re, renderList as ye, withModifiers as Be, withDirectives as xe, vShow as Ie, Fragment as he, normalizeClass as Te, withKeys as fr, useSlots as Tt, useCssVars as di, inject as gr, onMounted as pi, onUnmounted as mr, normalizeProps as yr, guardReactiveProps as vr, mergeProps as hr, reactive as Lt } from "vue";
1
+ import { defineComponent as ee, computed as I, openBlock as v, createBlock as z, resolveDynamicComponent as _e, normalizeStyle as De, withCtx as h, createElementBlock as T, toDisplayString as $, createCommentVNode as G, pushScopeId as ze, popScopeId as He, createElementVNode as M, ref as q, resolveComponent as P, Teleport as ui, createVNode as k, unref as f, createTextVNode as W, watch as Ce, renderSlot as ie, onBeforeMount as At, createSlots as Re, renderList as ye, withModifiers as Be, withDirectives as xe, vShow as Ie, Fragment as he, normalizeClass as Te, withKeys as fr, useSlots as Tt, useCssVars as di, inject as gr, onMounted as pi, onUnmounted as mr, normalizeProps as yr, guardReactiveProps as vr, mergeProps as hr, reactive as Lt } from "vue";
2
2
  import { useRouter as $t } from "vue-router";
3
3
  import { createI18n as fi, i18nTComponent as gi } from "@kong-ui-public/i18n";
4
4
  import Et from "axios";
@@ -90,7 +90,7 @@ const Bt = "24px", wr = (e, t) => {
90
90
  "data-testid": "kui-icon-wrapper-add-icon",
91
91
  style: De(a.value)
92
92
  }, {
93
- default: b(() => [
93
+ default: h(() => [
94
94
  (v(), T("svg", {
95
95
  "aria-hidden": e.decorative ? "true" : void 0,
96
96
  "data-testid": "kui-icon-svg-add-icon",
@@ -285,7 +285,7 @@ const Bt = "24px", wr = (e, t) => {
285
285
  copy: jr,
286
286
  glossary: Mr
287
287
  };
288
- function Fr() {
288
+ function Vr() {
289
289
  const e = fi("en-us", Or);
290
290
  return {
291
291
  i18n: e,
@@ -293,7 +293,7 @@ function Fr() {
293
293
  // Translation component <i18n-t>
294
294
  };
295
295
  }
296
- function Vr() {
296
+ function qr() {
297
297
  return {
298
298
  getPortFromProtocol: (t, i) => {
299
299
  const a = [80, 443], r = Number(i);
@@ -316,8 +316,8 @@ function Vr() {
316
316
  };
317
317
  }
318
318
  const st = {
319
- useI18n: Fr,
320
- usePortFromProtocol: Vr
319
+ useI18n: Vr,
320
+ usePortFromProtocol: qr
321
321
  }, ot = "/v2/control-planes/{controlPlaneId}/core-entities", nt = "/{workspace}", Qe = {
322
322
  list: {
323
323
  konnect: {
@@ -341,7 +341,7 @@ const st = {
341
341
  }
342
342
  };
343
343
  var mi = /* @__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.Secret = "secret", e))(mi || {}), _t = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(_t || {}), Me = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Me || {}), te = /* @__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.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(te || {}), ce = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ce || {});
344
- function qr() {
344
+ function Fr() {
345
345
  return {
346
346
  getAxiosInstance: (e = {}) => {
347
347
  try {
@@ -416,7 +416,7 @@ function Br() {
416
416
  };
417
417
  }
418
418
  function Nt(e = {}) {
419
- const { getAxiosInstance: t } = qr();
419
+ const { getAxiosInstance: t } = Fr();
420
420
  return {
421
421
  axiosInstance: t(e)
422
422
  };
@@ -584,44 +584,41 @@ function Zr(e, t, i, a = {
584
584
  searchKeys: ["id"]
585
585
  }) {
586
586
  i || (i = "1000");
587
- const { axiosInstance: r } = Nt(e.axiosRequestConfig), { i18n: { t: n } } = gt(), { debounce: o } = Lr(), s = o(async (F) => {
588
- await N(F);
589
- }, 200), l = q(!1), u = q(""), m = q(""), p = q([]), _ = q([]), h = q(void 0), A = I(() => {
590
- const F = `${e.apiBaseUrl}${f(t)}`;
591
- return e.app === "konnect" ? F.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? F.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : F;
592
- }), { isValidUuid: L } = yi(), C = async () => {
587
+ const { axiosInstance: r } = Nt(e.axiosRequestConfig), { i18n: { t: n } } = gt(), { debounce: o } = Lr(), s = o(async (L) => {
588
+ await N(L);
589
+ }, 200), l = q(!1), u = q(""), m = q(""), p = q([]), _ = q([]), b = q(void 0), A = I(() => {
590
+ const L = `${e.apiBaseUrl}${f(t)}`;
591
+ return e.app === "konnect" ? L.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? L.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : L;
592
+ }), { isValidUuid: F } = yi(), C = async () => {
593
593
  try {
594
594
  l.value = !0;
595
- const { data: F } = await r.get(`${A.value}?size=${i}`);
596
- F != null && F.next || (h.value = a.fetchedItemsKey in F ? F[a.fetchedItemsKey] : []), _.value = a.fetchedItemsKey in F ? F[a.fetchedItemsKey] : [], p.value = _.value;
595
+ const { data: L } = await r.get(`${A.value}?size=${i}`);
596
+ L != null && L.next || (b.value = a.fetchedItemsKey in L ? L[a.fetchedItemsKey] : []), _.value = a.fetchedItemsKey in L ? L[a.fetchedItemsKey] : [], p.value = _.value;
597
597
  } catch {
598
598
  p.value = [], u.value = n("debouncedFilter.errors.fetch");
599
599
  } finally {
600
600
  l.value = !1;
601
601
  }
602
- }, B = q(""), N = async (F) => {
602
+ }, B = q(""), N = async (L) => {
603
603
  var c, x, y;
604
- if (B.value !== F) {
605
- if (F === "") {
604
+ if (B.value !== L) {
605
+ if (B.value = L ?? "", !L) {
606
606
  p.value = _.value;
607
607
  return;
608
- } else
609
- B.value = F || "";
610
- if (h.value === void 0)
608
+ }
609
+ if (b.value === void 0)
611
610
  try {
612
611
  if (l.value = !0, u.value = "", m.value = "", e.app === "konnect") {
613
- let S = A.value + "";
614
- F && (S += `/${F}`);
615
- const { data: E } = await r.get(`${S}?size=${i}`);
612
+ const S = `${A.value}/${L}`, { data: E } = await r.get(`${S}?size=${i}`);
616
613
  a.fetchedItemsKey in E ? p.value = E[a.fetchedItemsKey] : E != null && E[a.exactMatchKey ?? "id"] ? p.value = [E] : p.value = [];
617
- } else if (F) {
614
+ } else {
618
615
  const S = [];
619
- L(F) && a.searchKeys.includes("id") ? S.push((async () => {
620
- const { data: R } = await r.get(`${A.value}/${F}`);
616
+ F(L) && a.searchKeys.includes("id") ? S.push((async () => {
617
+ const { data: R } = await r.get(`${A.value}/${L}`);
621
618
  return [R[a.fetchedItemsKey] ?? R];
622
619
  })()) : S.push(
623
620
  ...a.searchKeys.filter((R) => R !== "id").map(async (R) => {
624
- const { data: D } = await r.get(`${A.value}?${R}=${F}`);
621
+ const { data: D } = await r.get(`${A.value}?${R}=${L}`);
625
622
  return D[a.fetchedItemsKey];
626
623
  })
627
624
  );
@@ -632,23 +629,22 @@ function Zr(e, t, i, a = {
632
629
  V.has(U.id) || (V.add(U.id), p.value.push(U));
633
630
  });
634
631
  });
635
- } else
636
- p.value = _.value;
632
+ }
637
633
  } catch (S) {
638
634
  ((x = S == null ? void 0 : S.response) == null ? void 0 : x.status) === 404 ? m.value = n("debouncedFilter.errors.invalid") : (p.value = [], u.value = n("debouncedFilter.errors.fetch"));
639
635
  } finally {
640
636
  l.value = !1;
641
637
  }
642
638
  else
643
- l.value = !0, m.value = "", F ? (p.value = (y = h.value) == null ? void 0 : y.filter((S) => {
639
+ l.value = !0, m.value = "", p.value = (y = b.value) == null ? void 0 : y.filter((S) => {
644
640
  var E;
645
641
  let V = !1;
646
642
  for (const R of a.searchKeys) {
647
643
  const D = typeof S[R] == "string" ? (E = S[R]) == null ? void 0 : E.toLowerCase() : S[R];
648
- D != null && D.includes(F.toLowerCase()) && (V = !0);
644
+ D != null && D.includes(L.toLowerCase()) && (V = !0);
649
645
  }
650
646
  return V;
651
- }), (!p.value || !p.value.length) && (m.value = n("debouncedFilter.errors.invalid"))) : p.value = h.value, l.value = !1;
647
+ }), (!p.value || !p.value.length) && (m.value = n("debouncedFilter.errors.invalid")), l.value = !1;
652
648
  }
653
649
  };
654
650
  return {
@@ -656,7 +652,7 @@ function Zr(e, t, i, a = {
656
652
  error: u,
657
653
  validationError: m,
658
654
  results: p,
659
- allRecords: h,
655
+ allRecords: b,
660
656
  loadItems: C,
661
657
  debouncedQueryChange: s
662
658
  };
@@ -717,12 +713,12 @@ function vi(e, t) {
717
713
  return (o) => {
718
714
  const { page: s, pageSize: l, offset: u, sortColumnKey: m, sortColumnOrder: p, query: _ } = o;
719
715
  try {
720
- let h = new URL(n.value.href);
721
- return r.value && _ ? (h.search = "", h = i.value.isExactMatch ? new URL(`${h.href}/${_}/`) : new URL(`${h.href}?filter[name][contains]=${_}`)) : (r.value || new URLSearchParams(_).forEach((A, L) => {
722
- h.searchParams.append(L, A);
723
- }), m && h.searchParams.append("sort_by", m), p === "desc" && h.searchParams.append("sort_desc", "1"), h.searchParams.append("size", String(l))), u && s !== 1 && h.searchParams.append("offset", String(u)), h.href;
724
- } catch (h) {
725
- return console.error("RouteList(fetcher)", h), a.value;
716
+ let b = new URL(n.value.href);
717
+ return r.value && _ ? (b.search = "", b = i.value.isExactMatch ? new URL(`${b.href}/${_}/`) : new URL(`${b.href}?filter[name][contains]=${_}`)) : (r.value || new URLSearchParams(_).forEach((A, F) => {
718
+ b.searchParams.append(F, A);
719
+ }), m && b.searchParams.append("sort_by", m), p === "desc" && b.searchParams.append("sort_desc", "1"), b.searchParams.append("size", String(l))), u && s !== 1 && b.searchParams.append("offset", String(u)), b.href;
720
+ } catch (b) {
721
+ return console.error("RouteList(fetcher)", b), a.value;
726
722
  }
727
723
  };
728
724
  }
@@ -740,11 +736,11 @@ function ta(e, t, i = "data") {
740
736
  if (m.status >= 400)
741
737
  throw m;
742
738
  const p = m.data, _ = i && i.replace(/[^\w-_]/gi, "");
743
- let h;
744
- p[_] && Array.isArray(p[_]) ? h = p[_] : Array.isArray(p) ? h = p : h = Object.keys(p).length ? [p] : [];
739
+ let b;
740
+ p[_] && Array.isArray(p[_]) ? b = p[_] : Array.isArray(p) ? b = p : b = Object.keys(p).length ? [p] : [];
745
741
  const A = {
746
- data: h,
747
- total: h.length,
742
+ data: b,
743
+ total: b.length,
748
744
  ...p.offset ? {
749
745
  pagination: {
750
746
  offset: p.offset
@@ -892,7 +888,7 @@ const ne = {
892
888
  return (l, u) => (v(), z(_e(e.isArrayItem ? "fieldset" : "div"), {
893
889
  class: Te(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
894
890
  }, {
895
- default: b(() => [
891
+ default: h(() => [
896
892
  e.isArrayItem ? (v(), T("legend", da, [
897
893
  M("b", null, $(s.value), 1)
898
894
  ])) : G("", !0),
@@ -932,7 +928,7 @@ const ne = {
932
928
  class: "navigation-button",
933
929
  onClick: a[0] || (a[0] = (n) => i.$emit("navigation-click", e.item))
934
930
  }, {
935
- default: b(() => [
931
+ default: h(() => [
936
932
  W($(e.item.value || f(t)("baseConfigCard.commonFields.link")), 1)
937
933
  ]),
938
934
  _: 1
@@ -955,7 +951,7 @@ const ne = {
955
951
  return v(), z(r, {
956
952
  appearance: e.status ? "success" : "neutral"
957
953
  }, {
958
- default: b(() => [
954
+ default: h(() => [
959
955
  W($(e.status ? f(t)("baseConfigCard.statusBadge.enabledLabel") : f(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
960
956
  ]),
961
957
  _: 1
@@ -1112,9 +1108,9 @@ const ne = {
1112
1108
  text: i.item.value
1113
1109
  };
1114
1110
  }
1115
- }), _ = q(), { isTruncated: h } = ne.useTruncationDetector(_);
1116
- return (A, L) => {
1117
- const C = P("KLabel"), B = P("KBadge"), N = P("KCopy"), F = P("KTooltip");
1111
+ }), _ = q(), { isTruncated: b } = ne.useTruncationDetector(_);
1112
+ return (A, F) => {
1113
+ const C = P("KLabel"), B = P("KBadge"), N = P("KCopy"), L = P("KTooltip");
1118
1114
  return v(), T("div", _a, [
1119
1115
  M("div", {
1120
1116
  class: "config-card-details-label",
@@ -1122,14 +1118,14 @@ const ne = {
1122
1118
  }, [
1123
1119
  ie(A.$slots, "label", { item: e.item }, () => [
1124
1120
  k(C, { "tooltip-attributes": { maxWidth: "500px" } }, Re({
1125
- default: b(() => [
1121
+ default: h(() => [
1126
1122
  W($(e.item.label) + " ", 1)
1127
1123
  ]),
1128
1124
  _: 2
1129
1125
  }, [
1130
1126
  l.value ? {
1131
1127
  name: "tooltip",
1132
- fn: b(() => [
1128
+ fn: h(() => [
1133
1129
  M("div", {
1134
1130
  "data-testid": `${e.item.key}-label-tooltip`
1135
1131
  }, [
@@ -1152,7 +1148,7 @@ const ne = {
1152
1148
  }, () => [
1153
1149
  s.value ? (v(), T("div", Ia, [
1154
1150
  (v(), z(_e(p.value.tag), yr(vr(p.value.attrs)), {
1155
- default: b(() => [
1151
+ default: h(() => [
1156
1152
  p.value.additionalComponent === "KBadge" ? (v(), T("div", {
1157
1153
  key: 0,
1158
1154
  "data-testid": `${e.item.key}-badge-tags`
@@ -1164,7 +1160,7 @@ const ne = {
1164
1160
  tooltip: c,
1165
1161
  "truncation-tooltip": ""
1166
1162
  }, {
1167
- default: b(() => [
1163
+ default: h(() => [
1168
1164
  W($(c), 1)
1169
1165
  ]),
1170
1166
  _: 2
@@ -1191,7 +1187,7 @@ const ne = {
1191
1187
  class: "config-badge",
1192
1188
  "data-testid": `${e.item.key}-badge-method-${x}`
1193
1189
  }, {
1194
- default: b(() => [
1190
+ default: h(() => [
1195
1191
  W($(c), 1)
1196
1192
  ]),
1197
1193
  _: 2
@@ -1207,11 +1203,11 @@ const ne = {
1207
1203
  "is-array-item": "",
1208
1204
  item: c
1209
1205
  }, null, 8, ["index", "item"]))), 128))
1210
- ], 8, Na)) : (v(), z(F, {
1206
+ ], 8, Na)) : (v(), z(L, {
1211
1207
  key: 4,
1212
- text: f(h) ? e.item.value : ""
1208
+ text: f(b) ? e.item.value : ""
1213
1209
  }, {
1214
- default: b(() => [
1210
+ default: h(() => [
1215
1211
  M("span", {
1216
1212
  ref_key: "textContent",
1217
1213
  ref: _,
@@ -1232,7 +1228,7 @@ const ne = {
1232
1228
  ]);
1233
1229
  };
1234
1230
  }
1235
- }), _i = /* @__PURE__ */ ve(Ma, [["__scopeId", "data-v-711ebcf2"]]), Oa = { class: "json-config" }, Fa = {
1231
+ }), _i = /* @__PURE__ */ ve(Ma, [["__scopeId", "data-v-711ebcf2"]]), Oa = { class: "json-config" }, Va = {
1236
1232
  key: 0,
1237
1233
  class: "json-endpoint"
1238
1234
  }, ki = /* @__PURE__ */ ee({
@@ -1276,11 +1272,11 @@ const ne = {
1276
1272
  return (r, n) => {
1277
1273
  const o = P("KBadge"), s = P("KCodeBlock");
1278
1274
  return v(), T("div", Oa, [
1279
- t.fetcherUrl ? (v(), T("div", Fa, [
1275
+ t.fetcherUrl ? (v(), T("div", Va, [
1280
1276
  k(o, {
1281
1277
  appearance: t.requestMethod
1282
1278
  }, {
1283
- default: b(() => [
1279
+ default: h(() => [
1284
1280
  W($(t.requestMethod), 1)
1285
1281
  ]),
1286
1282
  _: 1
@@ -1309,10 +1305,10 @@ const ne = {
1309
1305
  function Ci(e) {
1310
1306
  return typeof e > "u" || e === null;
1311
1307
  }
1312
- function Va(e) {
1308
+ function qa(e) {
1313
1309
  return typeof e == "object" && e !== null;
1314
1310
  }
1315
- function qa(e) {
1311
+ function Fa(e) {
1316
1312
  return Array.isArray(e) ? e : Ci(e) ? [] : [e];
1317
1313
  }
1318
1314
  function La(e, t) {
@@ -1331,7 +1327,7 @@ function Ea(e, t) {
1331
1327
  function Ba(e) {
1332
1328
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1333
1329
  }
1334
- var Ua = Ci, Ka = Va, Ra = qa, Pa = Ea, Da = Ba, za = La, oe = {
1330
+ var Ua = Ci, Ka = qa, Ra = Fa, Pa = Ea, Da = Ba, za = La, oe = {
1335
1331
  isNothing: Ua,
1336
1332
  isObject: Ka,
1337
1333
  toArray: Ra,
@@ -1718,24 +1714,24 @@ var Oi = new se("tag:yaml.org,2002:float", {
1718
1714
  predicate: vo,
1719
1715
  represent: yo,
1720
1716
  defaultStyle: "lowercase"
1721
- }), Fi = $i.extend({
1717
+ }), Vi = $i.extend({
1722
1718
  implicit: [
1723
1719
  Ni,
1724
1720
  ji,
1725
1721
  Mi,
1726
1722
  Oi
1727
1723
  ]
1728
- }), Vi = Fi, qi = new RegExp(
1724
+ }), qi = Vi, Fi = new RegExp(
1729
1725
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1730
1726
  ), Li = new RegExp(
1731
1727
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1732
1728
  );
1733
1729
  function ho(e) {
1734
- return e === null ? !1 : qi.exec(e) !== null || Li.exec(e) !== null;
1730
+ return e === null ? !1 : Fi.exec(e) !== null || Li.exec(e) !== null;
1735
1731
  }
1736
1732
  function bo(e) {
1737
1733
  var t, i, a, r, n, o, s, l = 0, u = null, m, p, _;
1738
- if (t = qi.exec(e), t === null && (t = Li.exec(e)), t === null) throw new Error("Date resolve error");
1734
+ if (t = Fi.exec(e), t === null && (t = Li.exec(e)), t === null) throw new Error("Date resolve error");
1739
1735
  if (i = +t[1], a = +t[2] - 1, r = +t[3], !t[4])
1740
1736
  return new Date(Date.UTC(i, a, r));
1741
1737
  if (n = +t[4], o = +t[5], s = +t[6], t[7]) {
@@ -1839,7 +1835,7 @@ var Ri = new se("tag:yaml.org,2002:pairs", {
1839
1835
  resolve: jo,
1840
1836
  construct: Mo
1841
1837
  }), Oo = Object.prototype.hasOwnProperty;
1842
- function Fo(e) {
1838
+ function Vo(e) {
1843
1839
  if (e === null) return !0;
1844
1840
  var t, i = e;
1845
1841
  for (t in i)
@@ -1847,14 +1843,14 @@ function Fo(e) {
1847
1843
  return !1;
1848
1844
  return !0;
1849
1845
  }
1850
- function Vo(e) {
1846
+ function qo(e) {
1851
1847
  return e !== null ? e : {};
1852
1848
  }
1853
1849
  var Pi = new se("tag:yaml.org,2002:set", {
1854
1850
  kind: "mapping",
1855
- resolve: Fo,
1856
- construct: Vo
1857
- }), Mt = Vi.extend({
1851
+ resolve: Vo,
1852
+ construct: qo
1853
+ }), Mt = qi.extend({
1858
1854
  implicit: [
1859
1855
  Ei,
1860
1856
  Bi
@@ -1865,7 +1861,7 @@ var Pi = new se("tag:yaml.org,2002:set", {
1865
1861
  Ri,
1866
1862
  Pi
1867
1863
  ]
1868
- }), $e = Object.prototype.hasOwnProperty, ct = 1, Di = 2, zi = 3, ut = 4, wt = 1, qo = 2, Gt = 3, Lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Eo = /[\x85\u2028\u2029]/, Bo = /[,\[\]\{\}]/, Hi = /^(?:!|!!|![a-z\-]+!)$/i, Gi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1864
+ }), $e = Object.prototype.hasOwnProperty, ct = 1, Di = 2, zi = 3, ut = 4, wt = 1, Fo = 2, Gt = 3, Lo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Eo = /[\x85\u2028\u2029]/, Bo = /[,\[\]\{\}]/, Hi = /^(?:!|!!|![a-z\-]+!)$/i, Gi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1869
1865
  function Jt(e) {
1870
1866
  return Object.prototype.toString.call(e);
1871
1867
  }
@@ -1999,34 +1995,34 @@ function mt(e) {
1999
1995
  var t = e.position, i;
2000
1996
  return i = e.input.charCodeAt(t), !!((i === 45 || i === 46) && i === e.input.charCodeAt(t + 1) && i === e.input.charCodeAt(t + 2) && (t += 3, i = e.input.charCodeAt(t), i === 0 || ge(i)));
2001
1997
  }
2002
- function Ft(e, t) {
1998
+ function Vt(e, t) {
2003
1999
  t === 1 ? e.result += " " : t > 1 && (e.result += oe.repeat(`
2004
2000
  `, t - 1));
2005
2001
  }
2006
2002
  function zo(e, t, i) {
2007
- var a, r, n, o, s, l, u, m, p = e.kind, _ = e.result, h;
2008
- if (h = e.input.charCodeAt(e.position), ge(h) || Ue(h) || h === 35 || h === 38 || h === 42 || h === 33 || h === 124 || h === 62 || h === 39 || h === 34 || h === 37 || h === 64 || h === 96 || (h === 63 || h === 45) && (r = e.input.charCodeAt(e.position + 1), ge(r) || i && Ue(r)))
2003
+ var a, r, n, o, s, l, u, m, p = e.kind, _ = e.result, b;
2004
+ if (b = e.input.charCodeAt(e.position), ge(b) || Ue(b) || b === 35 || b === 38 || b === 42 || b === 33 || b === 124 || b === 62 || b === 39 || b === 34 || b === 37 || b === 64 || b === 96 || (b === 63 || b === 45) && (r = e.input.charCodeAt(e.position + 1), ge(r) || i && Ue(r)))
2009
2005
  return !1;
2010
- for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; h !== 0; ) {
2011
- if (h === 58) {
2006
+ for (e.kind = "scalar", e.result = "", n = o = e.position, s = !1; b !== 0; ) {
2007
+ if (b === 58) {
2012
2008
  if (r = e.input.charCodeAt(e.position + 1), ge(r) || i && Ue(r))
2013
2009
  break;
2014
- } else if (h === 35) {
2010
+ } else if (b === 35) {
2015
2011
  if (a = e.input.charCodeAt(e.position - 1), ge(a))
2016
2012
  break;
2017
2013
  } else {
2018
- if (e.position === e.lineStart && mt(e) || i && Ue(h))
2014
+ if (e.position === e.lineStart && mt(e) || i && Ue(b))
2019
2015
  break;
2020
- if (be(h))
2016
+ if (be(b))
2021
2017
  if (l = e.line, u = e.lineStart, m = e.lineIndent, re(e, !1, -1), e.lineIndent >= t) {
2022
- s = !0, h = e.input.charCodeAt(e.position);
2018
+ s = !0, b = e.input.charCodeAt(e.position);
2023
2019
  continue;
2024
2020
  } else {
2025
2021
  e.position = o, e.line = l, e.lineStart = u, e.lineIndent = m;
2026
2022
  break;
2027
2023
  }
2028
2024
  }
2029
- s && (Ae(e, n, o, !1), Ft(e, e.line - l), n = o = e.position, s = !1), Oe(h) || (o = e.position + 1), h = e.input.charCodeAt(++e.position);
2025
+ s && (Ae(e, n, o, !1), Vt(e, e.line - l), n = o = e.position, s = !1), Oe(b) || (o = e.position + 1), b = e.input.charCodeAt(++e.position);
2030
2026
  }
2031
2027
  return Ae(e, n, o, !1), e.result ? !0 : (e.kind = p, e.result = _, !1);
2032
2028
  }
@@ -2040,7 +2036,7 @@ function Ho(e, t) {
2040
2036
  a = e.position, e.position++, r = e.position;
2041
2037
  else
2042
2038
  return !0;
2043
- else be(i) ? (Ae(e, a, r, !0), Ft(e, re(e, !1, t)), a = r = e.position) : e.position === e.lineStart && mt(e) ? O(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2039
+ else be(i) ? (Ae(e, a, r, !0), Vt(e, re(e, !1, t)), a = r = e.position) : e.position === e.lineStart && mt(e) ? O(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2044
2040
  O(e, "unexpected end of the stream within a single quoted scalar");
2045
2041
  }
2046
2042
  function Go(e, t) {
@@ -2062,22 +2058,22 @@ function Go(e, t) {
2062
2058
  } else
2063
2059
  O(e, "unknown escape sequence");
2064
2060
  i = a = e.position;
2065
- } else be(s) ? (Ae(e, i, a, !0), Ft(e, re(e, !1, t)), i = a = e.position) : e.position === e.lineStart && mt(e) ? O(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2061
+ } else be(s) ? (Ae(e, i, a, !0), Vt(e, re(e, !1, t)), i = a = e.position) : e.position === e.lineStart && mt(e) ? O(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2066
2062
  }
2067
2063
  O(e, "unexpected end of the stream within a double quoted scalar");
2068
2064
  }
2069
2065
  function Jo(e, t) {
2070
- var i = !0, a, r, n, o = e.tag, s, l = e.anchor, u, m, p, _, h, A = /* @__PURE__ */ Object.create(null), L, C, B, N;
2066
+ var i = !0, a, r, n, o = e.tag, s, l = e.anchor, u, m, p, _, b, A = /* @__PURE__ */ Object.create(null), F, C, B, N;
2071
2067
  if (N = e.input.charCodeAt(e.position), N === 91)
2072
- m = 93, h = !1, s = [];
2068
+ m = 93, b = !1, s = [];
2073
2069
  else if (N === 123)
2074
- m = 125, h = !0, s = {};
2070
+ m = 125, b = !0, s = {};
2075
2071
  else
2076
2072
  return !1;
2077
2073
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), N = e.input.charCodeAt(++e.position); N !== 0; ) {
2078
2074
  if (re(e, !0, t), N = e.input.charCodeAt(e.position), N === m)
2079
- return e.position++, e.tag = o, e.anchor = l, e.kind = h ? "mapping" : "sequence", e.result = s, !0;
2080
- i ? N === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), C = L = B = null, p = _ = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (p = _ = !0, e.position++, re(e, !0, t))), a = e.line, r = e.lineStart, n = e.position, Pe(e, t, ct, !1, !0), C = e.tag, L = e.result, re(e, !0, t), N = e.input.charCodeAt(e.position), (_ || e.line === a) && N === 58 && (p = !0, N = e.input.charCodeAt(++e.position), re(e, !0, t), Pe(e, t, ct, !1, !0), B = e.result), h ? Ke(e, s, A, C, L, B, a, r, n) : p ? s.push(Ke(e, null, A, C, L, B, a, r, n)) : s.push(L), re(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (i = !0, N = e.input.charCodeAt(++e.position)) : i = !1;
2075
+ return e.position++, e.tag = o, e.anchor = l, e.kind = b ? "mapping" : "sequence", e.result = s, !0;
2076
+ i ? N === 44 && O(e, "expected the node content, but found ','") : O(e, "missed comma between flow collection entries"), C = F = B = null, p = _ = !1, N === 63 && (u = e.input.charCodeAt(e.position + 1), ge(u) && (p = _ = !0, e.position++, re(e, !0, t))), a = e.line, r = e.lineStart, n = e.position, Pe(e, t, ct, !1, !0), C = e.tag, F = e.result, re(e, !0, t), N = e.input.charCodeAt(e.position), (_ || e.line === a) && N === 58 && (p = !0, N = e.input.charCodeAt(++e.position), re(e, !0, t), Pe(e, t, ct, !1, !0), B = e.result), b ? Ke(e, s, A, C, F, B, a, r, n) : p ? s.push(Ke(e, null, A, C, F, B, a, r, n)) : s.push(F), re(e, !0, t), N = e.input.charCodeAt(e.position), N === 44 ? (i = !0, N = e.input.charCodeAt(++e.position)) : i = !1;
2081
2077
  }
2082
2078
  O(e, "unexpected end of the stream within a flow collection");
2083
2079
  }
@@ -2091,7 +2087,7 @@ function Wo(e, t) {
2091
2087
  return !1;
2092
2088
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2093
2089
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2094
- wt === r ? r = p === 43 ? Gt : qo : O(e, "repeat of a chomping mode identifier");
2090
+ wt === r ? r = p === 43 ? Gt : Fo : O(e, "repeat of a chomping mode identifier");
2095
2091
  else if ((m = Ro(p)) >= 0)
2096
2092
  m === 0 ? O(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? O(e, "repeat of an indentation width identifier") : (s = t + m - 1, o = !0);
2097
2093
  else
@@ -2144,11 +2140,11 @@ function Qt(e, t) {
2144
2140
  return s ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = n, !0) : !1;
2145
2141
  }
2146
2142
  function Yo(e, t, i) {
2147
- var a, r, n, o, s, l, u = e.tag, m = e.anchor, p = {}, _ = /* @__PURE__ */ Object.create(null), h = null, A = null, L = null, C = !1, B = !1, N;
2143
+ var a, r, n, o, s, l, u = e.tag, m = e.anchor, p = {}, _ = /* @__PURE__ */ Object.create(null), b = null, A = null, F = null, C = !1, B = !1, N;
2148
2144
  if (e.firstTabInLine !== -1) return !1;
2149
2145
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), N = e.input.charCodeAt(e.position); N !== 0; ) {
2150
2146
  if (!C && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, O(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), n = e.line, (N === 63 || N === 58) && ge(a))
2151
- N === 63 ? (C && (Ke(e, p, _, h, A, null, o, s, l), h = A = L = null), B = !0, C = !0, r = !0) : C ? (C = !1, r = !0) : O(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = a;
2147
+ N === 63 ? (C && (Ke(e, p, _, b, A, null, o, s, l), b = A = F = null), B = !0, C = !0, r = !0) : C ? (C = !1, r = !0) : O(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, N = a;
2152
2148
  else {
2153
2149
  if (o = e.line, s = e.lineStart, l = e.position, !Pe(e, i, Di, !1, !0))
2154
2150
  break;
@@ -2156,7 +2152,7 @@ function Yo(e, t, i) {
2156
2152
  for (N = e.input.charCodeAt(e.position); Oe(N); )
2157
2153
  N = e.input.charCodeAt(++e.position);
2158
2154
  if (N === 58)
2159
- N = e.input.charCodeAt(++e.position), ge(N) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (Ke(e, p, _, h, A, null, o, s, l), h = A = L = null), B = !0, C = !1, r = !1, h = e.tag, A = e.result;
2155
+ N = e.input.charCodeAt(++e.position), ge(N) || O(e, "a whitespace character is expected after the key-value separator within a block mapping"), C && (Ke(e, p, _, b, A, null, o, s, l), b = A = F = null), B = !0, C = !1, r = !1, b = e.tag, A = e.result;
2160
2156
  else if (B)
2161
2157
  O(e, "can not read an implicit mapping pair; a colon is missed");
2162
2158
  else
@@ -2166,12 +2162,12 @@ function Yo(e, t, i) {
2166
2162
  else
2167
2163
  return e.tag = u, e.anchor = m, !0;
2168
2164
  }
2169
- if ((e.line === n || e.lineIndent > t) && (C && (o = e.line, s = e.lineStart, l = e.position), Pe(e, t, ut, !0, r) && (C ? A = e.result : L = e.result), C || (Ke(e, p, _, h, A, L, o, s, l), h = A = L = null), re(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > t) && N !== 0)
2165
+ if ((e.line === n || e.lineIndent > t) && (C && (o = e.line, s = e.lineStart, l = e.position), Pe(e, t, ut, !0, r) && (C ? A = e.result : F = e.result), C || (Ke(e, p, _, b, A, F, o, s, l), b = A = F = null), re(e, !0, -1), N = e.input.charCodeAt(e.position)), (e.line === n || e.lineIndent > t) && N !== 0)
2170
2166
  O(e, "bad indentation of a mapping entry");
2171
2167
  else if (e.lineIndent < t)
2172
2168
  break;
2173
2169
  }
2174
- return C && Ke(e, p, _, h, A, null, o, s, l), B && (e.tag = u, e.anchor = m, e.kind = "mapping", e.result = p), B;
2170
+ return C && Ke(e, p, _, b, A, null, o, s, l), B && (e.tag = u, e.anchor = m, e.kind = "mapping", e.result = p), B;
2175
2171
  }
2176
2172
  function Zo(e) {
2177
2173
  var t, i = !1, a = !1, r, n, o;
@@ -2209,11 +2205,11 @@ function Xo(e) {
2209
2205
  return e.position === t && O(e, "name of an alias node must contain at least one character"), i = e.input.slice(t, e.position), $e.call(e.anchorMap, i) || O(e, 'unidentified alias "' + i + '"'), e.result = e.anchorMap[i], re(e, !0, -1), !0;
2210
2206
  }
2211
2207
  function Pe(e, t, i, a, r) {
2212
- var n, o, s, l = 1, u = !1, m = !1, p, _, h, A, L, C;
2208
+ var n, o, s, l = 1, u = !1, m = !1, p, _, b, A, F, C;
2213
2209
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = s = ut === i || zi === i, a && re(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
2214
2210
  for (; Zo(e) || Qo(e); )
2215
2211
  re(e, !0, -1) ? (u = !0, s = n, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : s = !1;
2216
- if (s && (s = u || r), (l === 1 || ut === i) && (ct === i || Di === i ? L = t : L = t + 1, C = e.position - e.lineStart, l === 1 ? s && (Qt(e, C) || Yo(e, C, L)) || Jo(e, L) ? m = !0 : (o && Wo(e, L) || Ho(e, L) || Go(e, L) ? m = !0 : Xo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && O(e, "alias node should not have any properties")) : zo(e, L, ct === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && Qt(e, C))), e.tag === null)
2212
+ if (s && (s = u || r), (l === 1 || ut === i) && (ct === i || Di === i ? F = t : F = t + 1, C = e.position - e.lineStart, l === 1 ? s && (Qt(e, C) || Yo(e, C, F)) || Jo(e, F) ? m = !0 : (o && Wo(e, F) || Ho(e, F) || Go(e, F) ? m = !0 : Xo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && O(e, "alias node should not have any properties")) : zo(e, F, ct === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = s && Qt(e, C))), e.tag === null)
2217
2213
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2218
2214
  else if (e.tag === "?") {
2219
2215
  for (e.result !== null && e.kind !== "scalar" && O(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, _ = e.implicitTypes.length; p < _; p += 1)
@@ -2225,9 +2221,9 @@ function Pe(e, t, i, a, r) {
2225
2221
  if ($e.call(e.typeMap[e.kind || "fallback"], e.tag))
2226
2222
  A = e.typeMap[e.kind || "fallback"][e.tag];
2227
2223
  else
2228
- for (A = null, h = e.typeMap.multi[e.kind || "fallback"], p = 0, _ = h.length; p < _; p += 1)
2229
- if (e.tag.slice(0, h[p].tag.length) === h[p].tag) {
2230
- A = h[p];
2224
+ for (A = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, _ = b.length; p < _; p += 1)
2225
+ if (e.tag.slice(0, b[p].tag.length) === b[p].tag) {
2226
+ A = b[p];
2231
2227
  break;
2232
2228
  }
2233
2229
  A || O(e, "unknown tag !<" + e.tag + ">"), e.result !== null && A.kind !== e.kind && O(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + A.kind + '", not "' + e.kind + '"'), A.resolve(e.result, e.tag) ? (e.result = A.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : O(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
@@ -2293,7 +2289,7 @@ function rn(e, t) {
2293
2289
  var an = tn, on = rn, Qi = {
2294
2290
  loadAll: an,
2295
2291
  load: on
2296
- }, Xi = Object.prototype.toString, er = Object.prototype.hasOwnProperty, Vt = 65279, nn = 9, et = 10, ln = 13, sn = 32, cn = 33, un = 34, Ct = 35, dn = 37, pn = 38, fn = 39, gn = 42, tr = 44, mn = 45, pt = 58, yn = 61, vn = 62, hn = 63, bn = 64, ir = 91, rr = 93, wn = 96, ar = 123, _n = 124, or = 125, ue = {};
2292
+ }, Xi = Object.prototype.toString, er = Object.prototype.hasOwnProperty, qt = 65279, nn = 9, et = 10, ln = 13, sn = 32, cn = 33, un = 34, Ct = 35, dn = 37, pn = 38, fn = 39, gn = 42, tr = 44, mn = 45, pt = 58, yn = 61, vn = 62, hn = 63, bn = 64, ir = 91, rr = 93, wn = 96, ar = 123, _n = 124, or = 125, ue = {};
2297
2293
  ue[0] = "\\0";
2298
2294
  ue[7] = "\\a";
2299
2295
  ue[8] = "\\b";
@@ -2372,10 +2368,10 @@ function ft(e) {
2372
2368
  return e === sn || e === nn;
2373
2369
  }
2374
2370
  function it(e) {
2375
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Vt || 65536 <= e && e <= 1114111;
2371
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== qt || 65536 <= e && e <= 1114111;
2376
2372
  }
2377
2373
  function ei(e) {
2378
- return it(e) && e !== Vt && e !== ln && e !== et;
2374
+ return it(e) && e !== qt && e !== ln && e !== et;
2379
2375
  }
2380
2376
  function ti(e, t, i) {
2381
2377
  var a = ei(e), r = a && !ft(e);
@@ -2388,7 +2384,7 @@ function ti(e, t, i) {
2388
2384
  );
2389
2385
  }
2390
2386
  function $n(e) {
2391
- return it(e) && e !== Vt && !ft(e) && e !== mn && e !== hn && e !== pt && e !== tr && e !== ir && e !== rr && e !== ar && e !== or && e !== Ct && e !== pn && e !== gn && e !== cn && e !== _n && e !== yn && e !== vn && e !== fn && e !== un && e !== dn && e !== bn && e !== wn;
2387
+ return it(e) && e !== qt && !ft(e) && e !== mn && e !== hn && e !== pt && e !== tr && e !== ir && e !== rr && e !== ar && e !== or && e !== Ct && e !== pn && e !== gn && e !== cn && e !== _n && e !== yn && e !== vn && e !== fn && e !== un && e !== dn && e !== bn && e !== wn;
2392
2388
  }
2393
2389
  function Nn(e) {
2394
2390
  return !ft(e) && e !== pt;
@@ -2403,25 +2399,25 @@ function nr(e) {
2403
2399
  }
2404
2400
  var lr = 1, xt = 2, sr = 3, cr = 4, Ee = 5;
2405
2401
  function jn(e, t, i, a, r, n, o, s) {
2406
- var l, u = 0, m = null, p = !1, _ = !1, h = a !== -1, A = -1, L = $n(Ze(e, 0)) && Nn(Ze(e, e.length - 1));
2402
+ var l, u = 0, m = null, p = !1, _ = !1, b = a !== -1, A = -1, F = $n(Ze(e, 0)) && Nn(Ze(e, e.length - 1));
2407
2403
  if (t || o)
2408
2404
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2409
2405
  if (u = Ze(e, l), !it(u))
2410
2406
  return Ee;
2411
- L = L && ti(u, m, s), m = u;
2407
+ F = F && ti(u, m, s), m = u;
2412
2408
  }
2413
2409
  else {
2414
2410
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2415
2411
  if (u = Ze(e, l), u === et)
2416
- p = !0, h && (_ = _ || // Foldable line = too long, and not more-indented.
2412
+ p = !0, b && (_ = _ || // Foldable line = too long, and not more-indented.
2417
2413
  l - A - 1 > a && e[A + 1] !== " ", A = l);
2418
2414
  else if (!it(u))
2419
2415
  return Ee;
2420
- L = L && ti(u, m, s), m = u;
2416
+ F = F && ti(u, m, s), m = u;
2421
2417
  }
2422
- _ = _ || h && l - A - 1 > a && e[A + 1] !== " ";
2418
+ _ = _ || b && l - A - 1 > a && e[A + 1] !== " ";
2423
2419
  }
2424
- return !p && !_ ? L && !o && !r(e) ? lr : n === tt ? Ee : xt : i > 9 && nr(e) ? Ee : o ? n === tt ? Ee : xt : _ ? cr : sr;
2420
+ return !p && !_ ? F && !o && !r(e) ? lr : n === tt ? Ee : xt : i > 9 && nr(e) ? Ee : o ? n === tt ? Ee : xt : _ ? cr : sr;
2425
2421
  }
2426
2422
  function Mn(e, t, i, a, r) {
2427
2423
  e.dump = function() {
@@ -2452,7 +2448,7 @@ function Mn(e, t, i, a, r) {
2452
2448
  case cr:
2453
2449
  return ">" + ii(t, e.indent) + ri(Xt(On(t, o), n));
2454
2450
  case Ee:
2455
- return '"' + Fn(t) + '"';
2451
+ return '"' + Vn(t) + '"';
2456
2452
  default:
2457
2453
  throw new de("impossible error: invalid scalar style");
2458
2454
  }
@@ -2492,12 +2488,12 @@ function ai(e, t) {
2492
2488
  `, e.length - r > t && o > r ? l += e.slice(r, o) + `
2493
2489
  ` + e.slice(o + 1) : l += e.slice(r), l.slice(1);
2494
2490
  }
2495
- function Fn(e) {
2491
+ function Vn(e) {
2496
2492
  for (var t = "", i = 0, a, r = 0; r < e.length; i >= 65536 ? r += 2 : r++)
2497
2493
  i = Ze(e, r), a = ue[i], !a && it(i) ? (t += e[r], i >= 65536 && (t += e[r + 1])) : t += a || xn(i);
2498
2494
  return t;
2499
2495
  }
2500
- function Vn(e, t, i) {
2496
+ function qn(e, t, i) {
2501
2497
  var a = "", r = e.tag, n, o, s;
2502
2498
  for (n = 0, o = i.length; n < o; n += 1)
2503
2499
  s = i[n], e.replacer && (s = e.replacer.call(i, String(n), s)), (Se(e, t, s, !1, !1) || typeof s > "u" && Se(e, t, null, !1, !1)) && (a !== "" && (a += "," + (e.condenseFlow ? "" : " ")), a += e.dump);
@@ -2509,7 +2505,7 @@ function oi(e, t, i, a) {
2509
2505
  l = i[o], e.replacer && (l = e.replacer.call(i, String(o), l)), (Se(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Se(e, t + 1, null, !0, !0, !1, !0)) && ((!a || r !== "") && (r += St(e, t)), e.dump && et === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
2510
2506
  e.tag = n, e.dump = r || "[]";
2511
2507
  }
2512
- function qn(e, t, i) {
2508
+ function Fn(e, t, i) {
2513
2509
  var a = "", r = e.tag, n = Object.keys(i), o, s, l, u, m;
2514
2510
  for (o = 0, s = n.length; o < s; o += 1)
2515
2511
  m = "", a !== "" && (m += ", "), e.condenseFlow && (m += '"'), l = n[o], u = i[l], e.replacer && (u = e.replacer.call(i, l, u)), Se(e, t, l, !1, !1) && (e.dump.length > 1024 && (m += "? "), m += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Se(e, t, u, !1, !1) && (m += e.dump, a += m));
@@ -2553,9 +2549,9 @@ function Se(e, t, i, a, r, n, o) {
2553
2549
  e.dump = "*ref_" + p;
2554
2550
  else {
2555
2551
  if (m && _ && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), s === "[object Object]")
2556
- a && Object.keys(e.dump).length !== 0 ? (Ln(e, t, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (qn(e, t, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2552
+ a && Object.keys(e.dump).length !== 0 ? (Ln(e, t, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (Fn(e, t, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2557
2553
  else if (s === "[object Array]")
2558
- a && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? oi(e, t - 1, e.dump, r) : oi(e, t, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (Vn(e, t, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2554
+ a && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? oi(e, t - 1, e.dump, r) : oi(e, t, e.dump, r), _ && (e.dump = "&ref_" + p + e.dump)) : (qn(e, t, e.dump), _ && (e.dump = "&ref_" + p + " " + e.dump));
2559
2555
  else if (s === "[object String]")
2560
2556
  e.tag !== "?" && Mn(e, e.dump, t, n, l);
2561
2557
  else {
@@ -2597,12 +2593,12 @@ function Bn(e, t) {
2597
2593
  var Un = Bn, Kn = {
2598
2594
  dump: Un
2599
2595
  };
2600
- function qt(e, t) {
2596
+ function Ft(e, t) {
2601
2597
  return function() {
2602
2598
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2603
2599
  };
2604
2600
  }
2605
- var Rn = se, Pn = xi, Dn = $i, zn = Fi, Hn = Vi, Gn = Mt, Jn = Qi.load, Wn = Qi.loadAll, Yn = Kn.dump, Zn = de, Qn = {
2601
+ var Rn = se, Pn = xi, Dn = $i, zn = Vi, Hn = qi, Gn = Mt, Jn = Qi.load, Wn = Qi.loadAll, Yn = Kn.dump, Zn = de, Qn = {
2606
2602
  binary: Ui,
2607
2603
  float: Oi,
2608
2604
  map: Ti,
@@ -2616,7 +2612,7 @@ var Rn = se, Pn = xi, Dn = $i, zn = Fi, Hn = Vi, Gn = Mt, Jn = Qi.load, Wn = Qi.
2616
2612
  omap: Ki,
2617
2613
  seq: Ai,
2618
2614
  str: Ii
2619
- }, Xn = qt("safeLoad", "load"), el = qt("safeLoadAll", "loadAll"), tl = qt("safeDump", "dump"), il = {
2615
+ }, Xn = Ft("safeLoad", "load"), el = Ft("safeLoadAll", "loadAll"), tl = Ft("safeDump", "dump"), il = {
2620
2616
  Type: Rn,
2621
2617
  Schema: Pn,
2622
2618
  FAILSAFE_SCHEMA: Dn,
@@ -2722,10 +2718,10 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2722
2718
  key: u.key,
2723
2719
  item: u
2724
2720
  }, Re({
2725
- label: b(() => [
2721
+ label: h(() => [
2726
2722
  ie(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2727
2723
  ]),
2728
- [u.key]: b(({ rowValue: m }) => [
2724
+ [u.key]: h(({ rowValue: m }) => [
2729
2725
  ie(o.$slots, u.key, {
2730
2726
  row: u,
2731
2727
  rowValue: m
@@ -2735,7 +2731,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2735
2731
  }, [
2736
2732
  r(u) ? {
2737
2733
  name: "label-tooltip",
2738
- fn: b(() => [
2734
+ fn: h(() => [
2739
2735
  ie(o.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
2740
2736
  ]),
2741
2737
  key: "0"
@@ -2843,7 +2839,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2843
2839
  "data-testid": "kui-icon-wrapper-add-icon",
2844
2840
  style: De(a.value)
2845
2841
  }, {
2846
- default: b(() => [
2842
+ default: h(() => [
2847
2843
  (v(), T("svg", {
2848
2844
  "aria-hidden": e.decorative ? "true" : void 0,
2849
2845
  "data-testid": "kui-icon-svg-add-icon",
@@ -2943,7 +2939,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2943
2939
  "data-testid": "kui-icon-wrapper-book-icon",
2944
2940
  style: De(a.value)
2945
2941
  }, {
2946
- default: b(() => [
2942
+ default: h(() => [
2947
2943
  (v(), T("svg", {
2948
2944
  "aria-hidden": e.decorative ? "true" : void 0,
2949
2945
  "data-testid": "kui-icon-svg-book-icon",
@@ -3043,7 +3039,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3043
3039
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
3044
3040
  style: De(a.value)
3045
3041
  }, {
3046
- default: b(() => [
3042
+ default: h(() => [
3047
3043
  (v(), T("svg", {
3048
3044
  "aria-hidden": e.decorative ? "true" : void 0,
3049
3045
  "data-testid": "kui-icon-svg-chevron-down-icon",
@@ -3143,7 +3139,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3143
3139
  "data-testid": "kui-icon-wrapper-close-icon",
3144
3140
  style: De(a.value)
3145
3141
  }, {
3146
- default: b(() => [
3142
+ default: h(() => [
3147
3143
  (v(), T("svg", {
3148
3144
  "aria-hidden": e.decorative ? "true" : void 0,
3149
3145
  "data-testid": "kui-icon-svg-close-icon",
@@ -3161,10 +3157,10 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3161
3157
  _: 1
3162
3158
  }, 8, ["aria-hidden", "style"]));
3163
3159
  }
3164
- }), Ml = /* @__PURE__ */ rt(jl, [["__scopeId", "data-v-863d10eb"]]), Ol = (e) => (ze("data-v-d9894a05"), e = e(), He(), e), Fl = ["aria-hidden"], Vl = {
3160
+ }), Ml = /* @__PURE__ */ rt(jl, [["__scopeId", "data-v-863d10eb"]]), Ol = (e) => (ze("data-v-d9894a05"), e = e(), He(), e), Vl = ["aria-hidden"], ql = {
3165
3161
  key: 0,
3166
3162
  "data-testid": "kui-icon-svg-title"
3167
- }, ql = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("path", {
3163
+ }, Fl = /* @__PURE__ */ Ol(() => /* @__PURE__ */ M("path", {
3168
3164
  d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
3169
3165
  fill: "currentColor"
3170
3166
  }, null, -1)), Ll = /* @__PURE__ */ ee({
@@ -3243,7 +3239,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3243
3239
  "data-testid": "kui-icon-wrapper-more-icon",
3244
3240
  style: De(a.value)
3245
3241
  }, {
3246
- default: b(() => [
3242
+ default: h(() => [
3247
3243
  (v(), T("svg", {
3248
3244
  "aria-hidden": e.decorative ? "true" : void 0,
3249
3245
  "data-testid": "kui-icon-svg-more-icon",
@@ -3254,9 +3250,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3254
3250
  width: "100%",
3255
3251
  xmlns: "http://www.w3.org/2000/svg"
3256
3252
  }, [
3257
- e.title ? (v(), T("title", Vl, $(e.title), 1)) : G("", !0),
3258
- ql
3259
- ], 8, Fl))
3253
+ e.title ? (v(), T("title", ql, $(e.title), 1)) : G("", !0),
3254
+ Fl
3255
+ ], 8, Vl))
3260
3256
  ]),
3261
3257
  _: 1
3262
3258
  }, 8, ["aria-hidden", "style"]));
@@ -3393,7 +3389,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3393
3389
  // the last property displayed
3394
3390
  section: ce.Basic
3395
3391
  }
3396
- }, h = q(!1), A = q(!1), L = q(""), C = q({}), B = I(() => {
3392
+ }, b = q(!1), A = q(!1), F = q(""), C = q({}), B = I(() => {
3397
3393
  var y, S, E;
3398
3394
  if (!C.value)
3399
3395
  return [];
@@ -3443,7 +3439,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3443
3439
  section: ce.Plugin
3444
3440
  };
3445
3441
  }).filter((D) => !D.hidden);
3446
- }), F = I(() => {
3442
+ }), L = I(() => {
3447
3443
  var y, S, E, V;
3448
3444
  return {
3449
3445
  basic: (y = B.value) == null ? void 0 : y.filter((R) => R.section === ce.Basic),
@@ -3452,16 +3448,16 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3452
3448
  };
3453
3449
  }), c = I(() => {
3454
3450
  const y = [];
3455
- return F.value.basic.length && y.push("basic"), F.value.advanced.length && y.push("advanced"), F.value.plugin.length && y.push("plugin"), y;
3451
+ return L.value.basic.length && y.push("basic"), L.value.advanced.length && y.push("advanced"), L.value.plugin.length && y.push("plugin"), y;
3456
3452
  }), x = I(() => {
3457
3453
  var y, S;
3458
3454
  let E = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3459
3455
  return r.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((y = r.config) == null ? void 0 : y.controlPlaneId) || "") : r.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (S = r.config) != null && S.workspace ? `/${r.config.workspace}` : "")), E = E.replace(/{id}/gi, r.config.entityId), E;
3460
3456
  });
3461
- return Ce(h, (y) => {
3457
+ return Ce(b, (y) => {
3462
3458
  a("loading", y);
3463
3459
  }, { immediate: !0 }), At(async () => {
3464
- A.value = !1, h.value = !0;
3460
+ A.value = !1, b.value = !0;
3465
3461
  try {
3466
3462
  const { data: y } = await l.get(x.value);
3467
3463
  if (r.dataKey)
@@ -3476,9 +3472,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3476
3472
  }), a("fetch:success", y);
3477
3473
  } catch (y) {
3478
3474
  const S = o(y);
3479
- L.value = S.startsWith("code") ? n("baseConfigCard.errors.load") : S, A.value = !0, a("fetch:error", y);
3475
+ F.value = S.startsWith("code") ? n("baseConfigCard.errors.load") : S, A.value = !0, a("fetch:error", y);
3480
3476
  } finally {
3481
- h.value = !1;
3477
+ b.value = !1;
3482
3478
  }
3483
3479
  }), (y, S) => {
3484
3480
  const E = P("KLabel"), V = P("KSelect"), R = P("KButton"), D = P("KSkeleton"), U = P("KEmptyState"), Z = P("KCard");
@@ -3486,14 +3482,14 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3486
3482
  class: "kong-ui-entity-base-config-card",
3487
3483
  "title-tag": e.titleTag
3488
3484
  }, Re({
3489
- actions: b(() => [
3485
+ actions: h(() => [
3490
3486
  M("div", Ul, [
3491
3487
  ie(y.$slots, "actions", {}, void 0, !0),
3492
3488
  k(E, {
3493
3489
  class: "config-format-select-label",
3494
3490
  "data-testid": "config-format-select-label"
3495
3491
  }, {
3496
- default: b(() => [
3492
+ default: h(() => [
3497
3493
  W($(e.label), 1)
3498
3494
  ]),
3499
3495
  _: 1
@@ -3509,7 +3505,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3509
3505
  class: "book-icon",
3510
3506
  "data-testid": "book-icon"
3511
3507
  }, {
3512
- default: b(() => [
3508
+ default: h(() => [
3513
3509
  M("a", {
3514
3510
  href: e.configCardDoc,
3515
3511
  rel: "noopener",
@@ -3522,8 +3518,8 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3522
3518
  })) : G("", !0)
3523
3519
  ])
3524
3520
  ]),
3525
- default: b(() => [
3526
- h.value ? (v(), z(D, {
3521
+ default: h(() => [
3522
+ b.value ? (v(), z(D, {
3527
3523
  key: 0,
3528
3524
  "data-testid": "config-card-loader",
3529
3525
  "table-columns": 2,
@@ -3533,8 +3529,8 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3533
3529
  "data-testid": "config-card-fetch-error",
3534
3530
  "icon-variant": "error"
3535
3531
  }, {
3536
- default: b(() => [
3537
- M("h3", null, $(L.value), 1)
3532
+ default: h(() => [
3533
+ M("h3", null, $(F.value), 1)
3538
3534
  ]),
3539
3535
  _: 1
3540
3536
  })) : G("", !0),
@@ -3544,12 +3540,12 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3544
3540
  "fetcher-url": x.value,
3545
3541
  format: m.value,
3546
3542
  "prop-list-types": c.value,
3547
- "property-collections": F.value,
3543
+ "property-collections": L.value,
3548
3544
  record: C.value
3549
3545
  }, Re({ _: 2 }, [
3550
3546
  ye(Object.keys(y.$slots), (Q) => ({
3551
3547
  name: Q,
3552
- fn: b(({ row: pe, rowValue: fe }) => [
3548
+ fn: h(({ row: pe, rowValue: fe }) => [
3553
3549
  ie(y.$slots, Q, {
3554
3550
  row: pe,
3555
3551
  rowValue: fe
@@ -3563,7 +3559,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3563
3559
  }, [
3564
3560
  e.hideTitle ? void 0 : {
3565
3561
  name: "title",
3566
- fn: b(() => [
3562
+ fn: h(() => [
3567
3563
  M("span", Bl, [
3568
3564
  ie(y.$slots, "title", {}, () => [
3569
3565
  W($(f(n)("baseConfigCard.title")), 1)
@@ -3647,19 +3643,19 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3647
3643
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3648
3644
  setup(e, { emit: t }) {
3649
3645
  var i;
3650
- const a = t, r = e, n = $t(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: s } = ne.useErrors(), { axiosInstance: l } = ne.useAxios((i = r.config) == null ? void 0 : i.axiosRequestConfig), u = q(!1), m = q(!1), p = q(""), _ = I(() => r.canSubmit === !1 || r.isReadonly), h = q(!1), A = I(() => {
3646
+ const a = t, r = e, n = $t(), { i18n: { t: o } } = ne.useI18n(), { getMessageFromError: s } = ne.useErrors(), { axiosInstance: l } = ne.useAxios((i = r.config) == null ? void 0 : i.axiosRequestConfig), u = q(!1), m = q(!1), p = q(""), _ = I(() => r.canSubmit === !1 || r.isReadonly), b = q(!1), A = I(() => {
3651
3647
  var c, x;
3652
3648
  let y = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3653
3649
  return r.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, ((c = r.config) == null ? void 0 : c.controlPlaneId) || "") : r.config.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, (x = r.config) != null && x.workspace ? `/${r.config.workspace}` : "")), r.editId ? (y = y.replace(/{id}/gi, r.editId), y) : (y = y.replace(/\/{id}/gi, ""), y);
3654
- }), L = () => {
3655
- h.value = !h.value;
3650
+ }), F = () => {
3651
+ b.value = !b.value;
3656
3652
  }, C = () => {
3657
3653
  r.config.cancelRoute ? n.push(r.config.cancelRoute) : B();
3658
3654
  }, B = () => {
3659
3655
  a("cancel");
3660
3656
  }, N = () => {
3661
3657
  _.value || a("submit");
3662
- }, F = q([
3658
+ }, L = q([
3663
3659
  {
3664
3660
  title: o("baseForm.configuration.yaml"),
3665
3661
  hash: "#yaml"
@@ -3686,7 +3682,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3686
3682
  }), (c, x) => {
3687
3683
  const y = P("KSkeleton"), S = P("KEmptyState"), E = P("KAlert"), V = P("KButton"), R = P("KTabs"), D = P("KSlideout");
3688
3684
  return v(), z(_e(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3689
- default: b(() => [
3685
+ default: h(() => [
3690
3686
  u.value ? (v(), z(y, {
3691
3687
  key: 0,
3692
3688
  type: "form"
@@ -3697,7 +3693,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3697
3693
  "icon-variant": "error",
3698
3694
  onClickAction: C
3699
3695
  }, {
3700
- default: b(() => [
3696
+ default: h(() => [
3701
3697
  M("h3", null, $(p.value), 1)
3702
3698
  ]),
3703
3699
  _: 1
@@ -3720,9 +3716,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3720
3716
  k(V, {
3721
3717
  appearance: "tertiary",
3722
3718
  "data-testid": "form-view-configuration",
3723
- onClick: x[0] || (x[0] = (U) => L())
3719
+ onClick: x[0] || (x[0] = (U) => F())
3724
3720
  }, {
3725
- default: b(() => [
3721
+ default: h(() => [
3726
3722
  W($(f(o)("baseForm.actions.viewConfiguration")), 1)
3727
3723
  ]),
3728
3724
  _: 1
@@ -3733,7 +3729,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3733
3729
  disabled: e.isReadonly,
3734
3730
  type: "reset"
3735
3731
  }, {
3736
- default: b(() => [
3732
+ default: h(() => [
3737
3733
  W($(f(o)("baseForm.actions.cancel")), 1)
3738
3734
  ]),
3739
3735
  _: 1
@@ -3744,7 +3740,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3744
3740
  disabled: _.value,
3745
3741
  type: "submit"
3746
3742
  }, {
3747
- default: b(() => [
3743
+ default: h(() => [
3748
3744
  W($(f(o)("baseForm.actions.save")), 1)
3749
3745
  ]),
3750
3746
  _: 1
@@ -3758,16 +3754,16 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3758
3754
  "has-overlay": !1,
3759
3755
  "offset-top": 60,
3760
3756
  title: f(o)("baseForm.configuration.title"),
3761
- visible: h.value,
3762
- onClose: x[1] || (x[1] = (U) => L())
3757
+ visible: b.value,
3758
+ onClose: x[1] || (x[1] = (U) => F())
3763
3759
  }, {
3764
- default: b(() => [
3760
+ default: h(() => [
3765
3761
  M("div", null, $(f(o)("baseForm.configuration.message")), 1),
3766
3762
  k(R, {
3767
3763
  "data-testid": "form-view-configuration-slideout-tabs",
3768
- tabs: F.value
3764
+ tabs: L.value
3769
3765
  }, {
3770
- json: b(() => [
3766
+ json: h(() => [
3771
3767
  k(ki, {
3772
3768
  config: e.config,
3773
3769
  "fetcher-url": A.value,
@@ -3775,7 +3771,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3775
3771
  "request-method": r.editId ? "put" : "post"
3776
3772
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3777
3773
  ]),
3778
- yaml: b(() => [
3774
+ yaml: h(() => [
3779
3775
  k(ur, {
3780
3776
  "yaml-record": r.formFields
3781
3777
  }, null, 8, ["yaml-record"])
@@ -3823,14 +3819,14 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3823
3819
  o && (o.disconnect(), o = void 0);
3824
3820
  }, l = () => {
3825
3821
  var C, B, N;
3826
- let F = ((C = i.value) == null ? void 0 : C.clientWidth) || 0;
3822
+ let L = ((C = i.value) == null ? void 0 : C.clientWidth) || 0;
3827
3823
  if (i.value && "getComputedStyle" in window) {
3828
3824
  const c = window.getComputedStyle(i.value);
3829
- F -= (parseFloat(c.paddingLeft) || 0) + (parseFloat(c.paddingRight) || 0);
3825
+ L -= (parseFloat(c.paddingLeft) || 0) + (parseFloat(c.paddingRight) || 0);
3830
3826
  }
3831
- m.value = ((B = a.value) == null ? void 0 : B.getBoundingClientRect().width) || 0, p.value = F, _.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3832
- }, u = q({}), m = q(0), p = q(0), _ = q(""), h = I(() => [a.value, i.value]), A = Ce(
3833
- h,
3827
+ m.value = ((B = a.value) == null ? void 0 : B.getBoundingClientRect().width) || 0, p.value = L, _.value = ((N = u.value) == null ? void 0 : N.innerText) || "";
3828
+ }, u = q({}), m = q(0), p = q(0), _ = q(""), b = I(() => [a.value, i.value]), A = Ce(
3829
+ b,
3834
3830
  (C) => {
3835
3831
  if (n.value && (s(), "ResizeObserver" in window && window)) {
3836
3832
  o = new ResizeObserver((B) => {
@@ -3843,7 +3839,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3843
3839
  }
3844
3840
  },
3845
3841
  { immediate: !0, flush: "post", deep: !0 }
3846
- ), L = I(() => n.value ? m.value > p.value : !1);
3842
+ ), F = I(() => n.value ? m.value > p.value : !1);
3847
3843
  return pi(() => {
3848
3844
  l();
3849
3845
  }), mr(() => {
@@ -3862,9 +3858,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3862
3858
  k(N, {
3863
3859
  "max-width": "300",
3864
3860
  placement: "bottom-start",
3865
- text: L.value ? _.value : ""
3861
+ text: F.value ? _.value : ""
3866
3862
  }, {
3867
- default: b(() => [
3863
+ default: h(() => [
3868
3864
  ie(C.$slots, "default", {}, void 0, !0)
3869
3865
  ]),
3870
3866
  _: 3
@@ -4036,23 +4032,23 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4036
4032
  overflowX: "hidden",
4037
4033
  textOverflow: "ellipsis"
4038
4034
  }), S;
4039
- }, h = () => {
4035
+ }, b = () => {
4040
4036
  a("empty-state-cta-clicked"), A();
4041
4037
  }, A = () => {
4042
4038
  a("clear-search-input");
4043
- }, L = I(() => i.disableRowClick ? void 0 : (y, S) => {
4039
+ }, F = I(() => i.disableRowClick ? void 0 : (y, S) => {
4044
4040
  a("click:row", S);
4045
4041
  }), C = (y) => {
4046
4042
  a("sort", y);
4047
- }, { setTablePreferences: B, getTablePreferences: N } = Br(), F = q(N(o.value)), c = I(() => {
4043
+ }, { setTablePreferences: B, getTablePreferences: N } = Br(), L = q(N(o.value)), c = I(() => {
4048
4044
  const y = N(o.value);
4049
4045
  return {
4050
4046
  ...i.initialFetcherParams,
4051
4047
  ...y
4052
4048
  };
4053
4049
  }), x = (y) => {
4054
- F.value = y, l.value.forEach((S) => {
4055
- !("hidable" in S) || !F.value.columnVisibility || S.hidable === !1 && (F.value.columnVisibility[S.key] = !0);
4050
+ L.value = y, l.value.forEach((S) => {
4051
+ !("hidable" in S) || !L.value.columnVisibility || S.hidable === !1 && (L.value.columnVisibility[S.key] = !0);
4056
4052
  }), o.value && B(o.value, y);
4057
4053
  };
4058
4054
  return (y, S) => {
@@ -4062,7 +4058,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4062
4058
  title: e.title,
4063
4059
  "title-tag": e.titleTag
4064
4060
  }, {
4065
- default: b(() => [
4061
+ default: h(() => [
4066
4062
  k(R, {
4067
4063
  ref_key: "tableRefs",
4068
4064
  ref: m,
@@ -4090,13 +4086,13 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4090
4086
  "search-input": e.query,
4091
4087
  "sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
4092
4088
  sortable: !e.disableSorting,
4093
- "table-preferences": F.value,
4094
- onEmptyStateActionClick: h,
4095
- "onRow:click": L.value,
4089
+ "table-preferences": L.value,
4090
+ onEmptyStateActionClick: b,
4091
+ "onRow:click": F.value,
4096
4092
  onSort: S[0] || (S[0] = (U) => C(U)),
4097
4093
  "onUpdate:tablePreferences": x
4098
4094
  }, Re({
4099
- toolbar: b(({ state: U }) => [
4095
+ toolbar: h(({ state: U }) => [
4100
4096
  xe(M("div", Ql, [
4101
4097
  ie(y.$slots, "toolbar-filter", {}, void 0, !0),
4102
4098
  y.$slots["toolbar-button"] ? (v(), T("div", Xl, [
@@ -4106,7 +4102,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4106
4102
  [Ie, s(U)]
4107
4103
  ])
4108
4104
  ]),
4109
- actions: b(({ row: U, rowKey: Z, rowValue: Q }) => [
4105
+ actions: h(({ row: U, rowKey: Z, rowValue: Q }) => [
4110
4106
  M("div", {
4111
4107
  class: "actions-container",
4112
4108
  "data-testid": U.name
@@ -4115,14 +4111,14 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4115
4111
  "kpop-attributes": { placement: "bottom-end" },
4116
4112
  width: e.dropdownMenuWidth
4117
4113
  }, {
4118
- items: b(() => [
4114
+ items: h(() => [
4119
4115
  ie(y.$slots, "actions", {
4120
4116
  row: U,
4121
4117
  rowKey: Z,
4122
4118
  rowValue: Q
4123
4119
  }, void 0, !0)
4124
4120
  ]),
4125
- default: b(() => [
4121
+ default: h(() => [
4126
4122
  k(E, {
4127
4123
  appearance: "tertiary",
4128
4124
  class: "actions-trigger",
@@ -4130,7 +4126,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4130
4126
  icon: "",
4131
4127
  size: "small"
4132
4128
  }, {
4133
- default: b(() => [
4129
+ default: h(() => [
4134
4130
  k(f(El))
4135
4131
  ]),
4136
4132
  _: 1
@@ -4144,13 +4140,13 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4144
4140
  }, [
4145
4141
  ye(e.tableHeaders, (U, Z) => ({
4146
4142
  name: Z,
4147
- fn: b(({ row: Q, rowKey: pe, rowValue: fe }) => [
4143
+ fn: h(({ row: Q, rowKey: pe, rowValue: fe }) => [
4148
4144
  k(Zl, {
4149
4145
  "key-name": String(Z),
4150
4146
  "row-el": p(Q),
4151
4147
  tooltip: U.tooltip
4152
4148
  }, {
4153
- default: b(() => [
4149
+ default: h(() => [
4154
4150
  ie(y.$slots, Z, {
4155
4151
  row: Q,
4156
4152
  rowKey: pe,
@@ -4165,7 +4161,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4165
4161
  })),
4166
4162
  e.query ? void 0 : {
4167
4163
  name: "empty-state-action-icon",
4168
- fn: b(() => [
4164
+ fn: h(() => [
4169
4165
  k(f(gl))
4170
4166
  ]),
4171
4167
  key: "0"
@@ -4239,10 +4235,10 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4239
4235
  onCancel: o,
4240
4236
  onProceed: s
4241
4237
  }, {
4242
- default: b(() => [
4238
+ default: h(() => [
4243
4239
  e.error ? (v(), T("div", rs, [
4244
4240
  k(m, { appearance: "danger" }, {
4245
- default: b(() => [
4241
+ default: h(() => [
4246
4242
  W($(e.error), 1)
4247
4243
  ]),
4248
4244
  _: 1
@@ -4253,14 +4249,14 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4253
4249
  keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
4254
4250
  tag: "p"
4255
4251
  }, Re({
4256
- entityType: b(() => [
4252
+ entityType: h(() => [
4257
4253
  W($(a.entityType), 1)
4258
4254
  ]),
4259
4255
  _: 2
4260
4256
  }, [
4261
4257
  a.entityName ? {
4262
4258
  name: "entityName",
4263
- fn: b(() => [
4259
+ fn: h(() => [
4264
4260
  M("strong", null, $(a.entityName), 1)
4265
4261
  ]),
4266
4262
  key: "0"
@@ -4365,9 +4361,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4365
4361
  s.value.has(c) ? s.value.delete(c) : s.value.add(c);
4366
4362
  }, _ = (c) => {
4367
4363
  r("update:modelValue", c);
4368
- }, h = () => {
4364
+ }, b = () => {
4369
4365
  _("");
4370
- }, A = (c) => `filter-${c}`, L = (c) => {
4366
+ }, A = (c) => `filter-${c}`, F = (c) => {
4371
4367
  var x, y;
4372
4368
  return (((y = (x = a.config.schema) == null ? void 0 : x[c]) == null ? void 0 : y.values) ?? []).map((S) => ({
4373
4369
  value: S,
@@ -4380,10 +4376,10 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4380
4376
  o.value = {
4381
4377
  ...o.value,
4382
4378
  [c]: ""
4383
- }, F();
4379
+ }, L();
4384
4380
  }, N = () => {
4385
- o.value = {}, F(!0);
4386
- }, F = (c = !1) => {
4381
+ o.value = {}, L(!0);
4382
+ }, L = (c = !1) => {
4387
4383
  const x = Object.keys(o.value).reduce((y, S) => (o.value[S] && (y[S] = `${o.value[S]}`), y), {});
4388
4384
  c && (n.value = !1), r("update:modelValue", new URLSearchParams(x).toString());
4389
4385
  };
@@ -4398,13 +4394,13 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4398
4394
  placeholder: e.config.placeholder,
4399
4395
  "onUpdate:modelValue": _
4400
4396
  }, {
4401
- before: b(() => [
4397
+ before: h(() => [
4402
4398
  k(li)
4403
4399
  ]),
4404
- after: b(() => [
4400
+ after: h(() => [
4405
4401
  xe(k(f(Ml), {
4406
4402
  class: "kong-ui-entity-filter-clear",
4407
- onClick: h
4403
+ onClick: b
4408
4404
  }, null, 512), [
4409
4405
  [Ie, e.modelValue !== ""]
4410
4406
  ])
@@ -4416,7 +4412,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4416
4412
  "data-testid": "filter-button",
4417
4413
  onClick: m
4418
4414
  }, {
4419
- default: b(() => [
4415
+ default: h(() => [
4420
4416
  k(li),
4421
4417
  W(" " + $(f(i)("filter.filterButtonText")) + " " + $(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4422
4418
  ]),
@@ -4462,7 +4458,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4462
4458
  id: A(V.value),
4463
4459
  modelValue: o.value[V.value],
4464
4460
  "onUpdate:modelValue": (U) => o.value[V.value] = U,
4465
- items: L(V.value),
4461
+ items: F(V.value),
4466
4462
  placeholder: f(i)("filter.selectPlaceholder")
4467
4463
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (v(), z(y, {
4468
4464
  key: 1,
@@ -4481,9 +4477,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4481
4477
  appearance: "tertiary",
4482
4478
  "data-testid": "apply-filter",
4483
4479
  size: "small",
4484
- onClick: x[0] || (x[0] = (U) => F(!0))
4480
+ onClick: x[0] || (x[0] = (U) => L(!0))
4485
4481
  }, {
4486
- default: b(() => [
4482
+ default: h(() => [
4487
4483
  W($(f(i)("filter.applyButtonText")), 1)
4488
4484
  ]),
4489
4485
  _: 1
@@ -4494,7 +4490,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4494
4490
  size: "small",
4495
4491
  onClick: (U) => B(V.value)
4496
4492
  }, {
4497
- default: b(() => [
4493
+ default: h(() => [
4498
4494
  W($(f(i)("filter.clearButtonText")), 1)
4499
4495
  ]),
4500
4496
  _: 2
@@ -4510,7 +4506,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4510
4506
  size: "small",
4511
4507
  onClick: N
4512
4508
  }, {
4513
- default: b(() => [
4509
+ default: h(() => [
4514
4510
  W($(f(i)("filter.clearAllButtonText")), 1)
4515
4511
  ]),
4516
4512
  _: 1
@@ -4571,9 +4567,9 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4571
4567
  }
4572
4568
  };
4573
4569
  return (p, _) => {
4574
- const h = P("KPrompt");
4570
+ const b = P("KPrompt");
4575
4571
  return v(), z(ui, { to: "body" }, [
4576
- k(h, {
4572
+ k(b, {
4577
4573
  "action-button-disabled": o.value,
4578
4574
  "action-button-text": l.value,
4579
4575
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
@@ -4582,15 +4578,15 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4582
4578
  onCancel: u,
4583
4579
  onProceed: m
4584
4580
  }, {
4585
- default: b(() => [
4581
+ default: h(() => [
4586
4582
  k(f(a), {
4587
4583
  keypath: `toggleModal.${r.action}.message`,
4588
4584
  scope: "global"
4589
4585
  }, {
4590
- entityType: b(() => [
4586
+ entityType: h(() => [
4591
4587
  W($(e.entityType), 1)
4592
4588
  ]),
4593
- entityName: b(() => [
4589
+ entityName: h(() => [
4594
4590
  M("strong", null, $(e.entityName), 1)
4595
4591
  ]),
4596
4592
  _: 1
@@ -4667,7 +4663,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4667
4663
  }, Ms = {
4668
4664
  key: 2,
4669
4665
  class: "form-section-footer"
4670
- }, Os = { class: "form-section-content" }, Fs = /* @__PURE__ */ ee({
4666
+ }, Os = { class: "form-section-content" }, Vs = /* @__PURE__ */ ee({
4671
4667
  __name: "EntityFormSection",
4672
4668
  props: {
4673
4669
  title: {
@@ -4712,7 +4708,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4712
4708
  id: f(i),
4713
4709
  class: "form-section-title"
4714
4710
  }, {
4715
- default: b(() => [
4711
+ default: h(() => [
4716
4712
  W($(e.title), 1)
4717
4713
  ]),
4718
4714
  _: 1
@@ -4732,7 +4728,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4732
4728
  ])
4733
4729
  ], 10, $s));
4734
4730
  }
4735
- }), ci = /* @__PURE__ */ ve(Fs, [["__scopeId", "data-v-b1f74200"]]), { useAxios: dr, useDeleteUrlBuilder: Vs, useErrors: qs, useExternalLinkCreator: mc, useFetchUrlBuilder: yc, useFetcher: Ls, useDebouncedFilter: vc, useStringHelpers: hc, useHelpers: Es, useGatewayFeatureSupported: Bs, useTruncationDetector: bc, useValidators: Us } = ne, Ks = { class: "kong-ui-entities-gateway-services-list" }, Rs = { key: 1 }, Ps = { key: 1 }, Ds = /* @__PURE__ */ ee({
4731
+ }), ci = /* @__PURE__ */ ve(Vs, [["__scopeId", "data-v-b1f74200"]]), { useAxios: dr, useDeleteUrlBuilder: qs, useErrors: Fs, useExternalLinkCreator: mc, useFetchUrlBuilder: yc, useFetcher: Ls, useDebouncedFilter: vc, useStringHelpers: hc, useHelpers: Es, useGatewayFeatureSupported: Bs, useTruncationDetector: bc, useValidators: Us } = ne, Ks = { class: "kong-ui-entities-gateway-services-list" }, Rs = { key: 1 }, Ps = { key: 1 }, Ds = /* @__PURE__ */ ee({
4736
4732
  __name: "GatewayServiceList",
4737
4733
  props: {
4738
4734
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4798,7 +4794,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4798
4794
  var j, H;
4799
4795
  let g = `${a.config.apiBaseUrl}${Qe.list[a.config.app].all}`;
4800
4796
  return a.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((j = a.config) == null ? void 0 : j.controlPlaneId) || "") : a.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (H = a.config) != null && H.workspace ? `/${a.config.workspace}` : "")), g;
4801
- }), _ = I(() => a.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${p.value}`) : new URL(p.value)), h = q(""), A = I(() => {
4797
+ }), _ = I(() => a.config.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${p.value}`) : new URL(p.value)), b = q(""), A = I(() => {
4802
4798
  const g = a.config.app === "konnect" || a.config.isExactMatch;
4803
4799
  if (g)
4804
4800
  return {
@@ -4811,15 +4807,15 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4811
4807
  fields: { name: j, enabled: H, protocol: J, host: X, port: w, path: ke },
4812
4808
  schema: a.config.filterSchema
4813
4809
  };
4814
- }), { fetcher: L, fetcherState: C } = Ls(a.config, p.value), B = () => {
4815
- h.value = "";
4810
+ }), { fetcher: F, fetcherState: C } = Ls(a.config, p.value), B = () => {
4811
+ b.value = "";
4816
4812
  }, N = () => {
4817
4813
  s.value++;
4818
- }, F = q(null), c = I(() => ({
4814
+ }, L = q(null), c = I(() => ({
4819
4815
  ctaPath: a.config.createRoute,
4820
- ctaText: qe.value ? a.isServerless ? r("actions.serverless_create") : r("actions.create") : void 0,
4816
+ ctaText: Fe.value ? a.isServerless ? r("actions.serverless_create") : r("actions.create") : void 0,
4821
4817
  message: `${r("gateway_services.list.empty_state.description")}${a.config.additionMessageForEmptyState ? ` ${a.config.additionMessageForEmptyState}` : ""}`,
4822
- title: qe.value ? a.isServerless ? r("gateway_services.list.empty_state.serverless_title") : r("gateway_services.list.empty_state.title") : r("gateway_services.title")
4818
+ title: Fe.value ? a.isServerless ? r("gateway_services.list.empty_state.serverless_title") : r("gateway_services.list.empty_state.title") : r("gateway_services.title")
4823
4819
  })), x = q(!1), y = q(null), S = I(() => {
4824
4820
  const g = {
4825
4821
  action: "disable",
@@ -4886,36 +4882,36 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4886
4882
  }), fe = (g) => ({
4887
4883
  label: r("actions.edit"),
4888
4884
  to: a.config.getEditRoute(g)
4889
- }), ae = q(void 0), Ne = q(!1), Fe = q(!1), Ge = q(""), yt = Vs(a.config, p.value), Je = (g) => {
4885
+ }), ae = q(void 0), Ne = q(!1), Ve = q(!1), Ge = q(""), yt = qs(a.config, p.value), Je = (g) => {
4890
4886
  ae.value = g, Ne.value = !0;
4891
4887
  }, at = () => {
4892
4888
  Ne.value = !1, ae.value = void 0;
4893
4889
  }, je = async () => {
4894
4890
  var g, j, H;
4895
4891
  if ((g = ae.value) != null && g.id) {
4896
- Fe.value = !0;
4892
+ Ve.value = !0;
4897
4893
  try {
4898
4894
  await o.delete(yt(ae.value.id)), i("delete:success", ae.value), at(), s.value++;
4899
4895
  } catch (J) {
4900
4896
  Ge.value = ((H = (j = J.response) == null ? void 0 : j.data) == null ? void 0 : H.message) || J.message || r("errors.delete"), i("error", J);
4901
4897
  } finally {
4902
- Fe.value = !1;
4898
+ Ve.value = !1;
4903
4899
  }
4904
4900
  }
4905
- }, Ve = q(!1);
4901
+ }, qe = q(!1);
4906
4902
  Ce(C, (g) => {
4907
4903
  var j, H, J, X;
4908
- if (Array.isArray((j = g == null ? void 0 : g.response) == null ? void 0 : j.data) && (Ve.value = g.response.data.length > 0), g.status === Me.Error) {
4909
- F.value = {
4904
+ if (Array.isArray((j = g == null ? void 0 : g.response) == null ? void 0 : j.data) && (qe.value = g.response.data.length > 0), g.status === Me.Error) {
4905
+ L.value = {
4910
4906
  title: r("errors.general")
4911
- }, (X = (J = (H = g.error) == null ? void 0 : H.response) == null ? void 0 : J.data) != null && X.message && (F.value.message = g.error.response.data.message), i("error", g.error);
4907
+ }, (X = (J = (H = g.error) == null ? void 0 : H.response) == null ? void 0 : J.data) != null && X.message && (L.value.message = g.error.response.data.message), i("error", g.error);
4912
4908
  return;
4913
4909
  }
4914
- F.value = null;
4910
+ L.value = null;
4915
4911
  });
4916
- const qe = q(!1);
4912
+ const Fe = q(!1);
4917
4913
  return At(async () => {
4918
- qe.value = await a.canCreate();
4914
+ Fe.value = await a.canCreate();
4919
4915
  }), (g, j) => {
4920
4916
  const H = P("KButton"), J = P("KBadge"), X = P("KInputSwitch"), w = P("KTruncate"), ke = P("KDropdownItem"), K = P("KClipboardProvider");
4921
4917
  return v(), T("div", Ks, [
@@ -4925,26 +4921,26 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4925
4921
  "disable-sorting": l.value,
4926
4922
  "empty-state-options": c.value,
4927
4923
  "enable-entity-actions": "",
4928
- "error-message": F.value,
4929
- fetcher: f(L),
4924
+ "error-message": L.value,
4925
+ fetcher: f(F),
4930
4926
  "fetcher-cache-key": s.value,
4931
4927
  "pagination-type": "offset",
4932
4928
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
4933
- query: h.value,
4929
+ query: b.value,
4934
4930
  "table-headers": f(m),
4935
4931
  "use-action-outside": e.useActionOutside,
4936
4932
  onClearSearchInput: B,
4937
4933
  "onClick:row": j[3] || (j[3] = (Y) => Q(Y)),
4938
4934
  onSort: N
4939
4935
  }, {
4940
- "toolbar-filter": b(() => [
4936
+ "toolbar-filter": h(() => [
4941
4937
  k(f(ks), {
4942
- modelValue: h.value,
4943
- "onUpdate:modelValue": j[0] || (j[0] = (Y) => h.value = Y),
4938
+ modelValue: b.value,
4939
+ "onUpdate:modelValue": j[0] || (j[0] = (Y) => b.value = Y),
4944
4940
  config: A.value
4945
4941
  }, null, 8, ["modelValue", "config"])
4946
4942
  ]),
4947
- "toolbar-button": b(() => [
4943
+ "toolbar-button": h(() => [
4948
4944
  (v(), z(ui, {
4949
4945
  disabled: !e.useActionOutside,
4950
4946
  to: "#kong-ui-app-page-header-action-button"
@@ -4952,30 +4948,30 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4952
4948
  k(f(Ye), {
4953
4949
  "auth-function": () => e.canCreate()
4954
4950
  }, {
4955
- default: b(() => [
4951
+ default: h(() => [
4956
4952
  xe(k(H, {
4957
4953
  appearance: "primary",
4958
4954
  "data-testid": "toolbar-add-gateway-service",
4959
4955
  size: "large",
4960
4956
  to: e.config.createRoute
4961
4957
  }, {
4962
- default: b(() => [
4958
+ default: h(() => [
4963
4959
  k(f(Ir)),
4964
4960
  W(" " + $(f(r)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4965
4961
  ]),
4966
4962
  _: 1
4967
4963
  }, 8, ["to"]), [
4968
- [Ie, Ve.value]
4964
+ [Ie, qe.value]
4969
4965
  ])
4970
4966
  ]),
4971
4967
  _: 1
4972
4968
  }, 8, ["auth-function"])
4973
4969
  ], 8, ["disabled"]))
4974
4970
  ]),
4975
- name: b(({ rowValue: Y }) => [
4971
+ name: h(({ rowValue: Y }) => [
4976
4972
  M("b", null, $(Y ?? "-"), 1)
4977
4973
  ]),
4978
- control_plane: b(({ row: Y }) => {
4974
+ control_plane: h(({ row: Y }) => {
4979
4975
  var me;
4980
4976
  return [
4981
4977
  (me = Y.x_meta) != null && me.cluster_id ? (v(), z(J, {
@@ -4984,19 +4980,19 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4984
4980
  "truncation-tooltip": "",
4985
4981
  onClick: Be((We) => D(Y.x_meta.cluster_id), ["stop"])
4986
4982
  }, {
4987
- default: b(() => [
4983
+ default: h(() => [
4988
4984
  W($(Y.x_meta.cluster_id), 1)
4989
4985
  ]),
4990
4986
  _: 2
4991
4987
  }, 1032, ["tooltip", "onClick"])) : (v(), T("b", Rs, "-"))
4992
4988
  ];
4993
4989
  }),
4994
- enabled: b(({ row: Y }) => [
4990
+ enabled: h(({ row: Y }) => [
4995
4991
  k(f(Ye), {
4996
4992
  "auth-function": () => e.canEdit(Y),
4997
4993
  "force-show": ""
4998
4994
  }, {
4999
- default: b(({ isAllowed: me }) => [
4995
+ default: h(({ isAllowed: me }) => [
5000
4996
  M("div", {
5001
4997
  onClick: j[1] || (j[1] = Be(() => {
5002
4998
  }, ["stop"]))
@@ -5013,15 +5009,15 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5013
5009
  _: 2
5014
5010
  }, 1032, ["auth-function"])
5015
5011
  ]),
5016
- tags: b(({ rowValue: Y }) => [
5012
+ tags: h(({ rowValue: Y }) => [
5017
5013
  (Y == null ? void 0 : Y.length) > 0 ? (v(), z(w, { key: 0 }, {
5018
- default: b(() => [
5014
+ default: h(() => [
5019
5015
  (v(!0), T(he, null, ye(Y, (me) => (v(), z(J, {
5020
5016
  key: me,
5021
5017
  onClick: j[2] || (j[2] = Be(() => {
5022
5018
  }, ["stop"]))
5023
5019
  }, {
5024
- default: b(() => [
5020
+ default: h(() => [
5025
5021
  W($(me), 1)
5026
5022
  ]),
5027
5023
  _: 2
@@ -5030,14 +5026,14 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5030
5026
  _: 2
5031
5027
  }, 1024)) : (v(), T("span", Ps, "-"))
5032
5028
  ]),
5033
- actions: b(({ row: Y }) => [
5029
+ actions: h(({ row: Y }) => [
5034
5030
  k(K, null, {
5035
- default: b(({ copyToClipboard: me }) => [
5031
+ default: h(({ copyToClipboard: me }) => [
5036
5032
  k(ke, {
5037
5033
  "data-testid": "action-entity-copy-id",
5038
5034
  onClick: (We) => U(Y, me)
5039
5035
  }, {
5040
- default: b(() => [
5036
+ default: h(() => [
5041
5037
  W($(f(r)("actions.copy_id")), 1)
5042
5038
  ]),
5043
5039
  _: 2
@@ -5046,12 +5042,12 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5046
5042
  _: 2
5047
5043
  }, 1024),
5048
5044
  k(K, null, {
5049
- default: b(({ copyToClipboard: me }) => [
5045
+ default: h(({ copyToClipboard: me }) => [
5050
5046
  k(ke, {
5051
5047
  "data-testid": "action-entity-copy-json",
5052
5048
  onClick: (We) => Z(Y, me)
5053
5049
  }, {
5054
- default: b(() => [
5050
+ default: h(() => [
5055
5051
  W($(f(r)("actions.copy_json")), 1)
5056
5052
  ]),
5057
5053
  _: 2
@@ -5062,7 +5058,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5062
5058
  k(f(Ye), {
5063
5059
  "auth-function": () => e.canRetrieve(Y)
5064
5060
  }, {
5065
- default: b(() => [
5061
+ default: h(() => [
5066
5062
  k(ke, {
5067
5063
  "data-testid": "action-entity-view",
5068
5064
  "has-divider": "",
@@ -5074,7 +5070,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5074
5070
  k(f(Ye), {
5075
5071
  "auth-function": () => e.canEdit(Y)
5076
5072
  }, {
5077
- default: b(() => [
5073
+ default: h(() => [
5078
5074
  k(ke, {
5079
5075
  "data-testid": "action-entity-edit",
5080
5076
  item: fe(Y.id)
@@ -5085,14 +5081,14 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5085
5081
  k(f(Ye), {
5086
5082
  "auth-function": () => e.canDelete(Y)
5087
5083
  }, {
5088
- default: b(() => [
5084
+ default: h(() => [
5089
5085
  k(ke, {
5090
5086
  danger: "",
5091
5087
  "data-testid": "action-entity-delete",
5092
5088
  "has-divider": "",
5093
5089
  onClick: (me) => Je(Y)
5094
5090
  }, {
5095
- default: b(() => [
5091
+ default: h(() => [
5096
5092
  W($(f(r)("actions.delete.menu_label")), 1)
5097
5093
  ]),
5098
5094
  _: 2
@@ -5114,7 +5110,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5114
5110
  onProceed: V
5115
5111
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
5116
5112
  k(f(ns), {
5117
- "action-pending": Fe.value,
5113
+ "action-pending": Ve.value,
5118
5114
  description: f(r)("actions.delete.description"),
5119
5115
  "entity-name": ae.value && (ae.value.name || ae.value.id),
5120
5116
  "entity-type": f(mi).GatewayService,
@@ -5177,8 +5173,8 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5177
5173
  },
5178
5174
  emits: ["update", "error", "url-valid:success", "url-valid:error", "loading", "model-updated"],
5179
5175
  setup(e, { expose: t, emit: i }) {
5180
- var qe;
5181
- const a = i, r = e, n = q(!0), o = $t(), { i18nT: s, i18n: { t: l } } = st.useI18n(), { getMessageFromError: u } = qs(), { axiosInstance: m } = dr((qe = r.config) == null ? void 0 : qe.axiosRequestConfig), p = Us(), _ = I(() => Qe.form[r.config.app].edit), h = I(() => r.gatewayServiceId ? _t.Edit : _t.Create), A = q(!1), L = I(() => !!r.gatewayServiceId), C = q(L.value ? "protocol" : "url"), B = st.usePortFromProtocol(), N = q(""), F = I(() => !!N.value), c = Lt({
5176
+ var Fe;
5177
+ const a = i, r = e, n = q(!0), o = $t(), { i18nT: s, i18n: { t: l } } = st.useI18n(), { getMessageFromError: u } = Fs(), { axiosInstance: m } = dr((Fe = r.config) == null ? void 0 : Fe.axiosRequestConfig), p = Us(), _ = I(() => Qe.form[r.config.app].edit), b = I(() => r.gatewayServiceId ? _t.Edit : _t.Create), A = q(!1), F = I(() => !!r.gatewayServiceId), C = q(F.value ? "protocol" : "url"), B = st.usePortFromProtocol(), N = q(""), L = I(() => !!N.value), c = Lt({
5182
5178
  fields: {
5183
5179
  name: "",
5184
5180
  protocol: "http",
@@ -5306,7 +5302,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5306
5302
  return C.value === "protocol" && d;
5307
5303
  }), ae = (d) => {
5308
5304
  N.value = p.utf8Name(d);
5309
- }, Ne = I(() => L.value && JSON.stringify(c.fields) !== JSON.stringify(x) || C.value === "url" && !!c.fields.url || C.value === "protocol" && !!c.fields.host), Fe = (d) => {
5305
+ }, Ne = I(() => F.value && JSON.stringify(c.fields) !== JSON.stringify(x) || C.value === "url" && !!c.fields.url || C.value === "protocol" && !!c.fields.host), Ve = (d) => {
5310
5306
  var g, j, H;
5311
5307
  c.fields.name = (d == null ? void 0 : d.name) || "", c.fields.tags = ((g = d == null ? void 0 : d.tags) == null ? void 0 : g.join(", ")) || "", c.fields.protocol = (d == null ? void 0 : d.protocol) || "http", c.fields.path = (d == null ? void 0 : d.path) || "", c.fields.read_timeout = d != null && d.read_timeout || (d == null ? void 0 : d.read_timeout) === 0 ? d == null ? void 0 : d.read_timeout : 6e4, c.fields.retries = d != null && d.retries || (d == null ? void 0 : d.retries) === 0 ? d == null ? void 0 : d.retries : 5, c.fields.host = (d == null ? void 0 : d.host) || "", c.fields.connect_timeout = d != null && d.connect_timeout || (d == null ? void 0 : d.connect_timeout) === 0 ? d == null ? void 0 : d.connect_timeout : 6e4, c.fields.tls_verify_enabled = (d == null ? void 0 : d.tls_verify) !== "" && (d == null ? void 0 : d.tls_verify) !== null && (d == null ? void 0 : d.tls_verify) !== void 0, c.fields.tls_verify_value = d != null && d.tls_verify ? d == null ? void 0 : d.tls_verify : !1, c.fields.ca_certificates = ((j = d == null ? void 0 : d.ca_certificates) == null ? void 0 : j.join(",")) || "", c.fields.client_certificate = ((H = d == null ? void 0 : d.client_certificate) == null ? void 0 : H.id) || "", c.fields.write_timeout = d != null && d.write_timeout || (d == null ? void 0 : d.write_timeout) === 0 ? d == null ? void 0 : d.write_timeout : 6e4, c.fields.port = d != null && d.port || (d == null ? void 0 : d.port) === 0 ? d == null ? void 0 : d.port : 80, Object.assign(x, c.fields);
5312
5308
  }, Ge = () => {
@@ -5317,7 +5313,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5317
5313
  return r.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (j = r.config) != null && j.workspace ? `/${r.config.workspace}` : "")), d = d.replace(/{id}/gi, r.gatewayServiceId), d;
5318
5314
  }), Je = I(() => {
5319
5315
  var g, j;
5320
- let d = `${r.config.apiBaseUrl}${Qe.form[r.config.app][h.value]}`;
5316
+ let d = `${r.config.apiBaseUrl}${Qe.form[r.config.app][b.value]}`;
5321
5317
  return r.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (j = r.config) != null && j.workspace ? `/${r.config.workspace}` : "")), d = d.replace(/{id}/gi, r.gatewayServiceId), d;
5322
5318
  }), at = (d) => {
5323
5319
  let g = "";
@@ -5341,15 +5337,15 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5341
5337
  port: c.fields.port,
5342
5338
  url: c.fields.url
5343
5339
  };
5344
- return c.fields.client_certificate && ["https", "wss", "tls"].includes(c.fields.protocol) && (d.client_certificate = { id: c.fields.client_certificate }), c.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(c.fields.protocol) && (d.tls_verify = c.fields.tls_verify_value), Z.value || (d.path = null), h.value === "create" ? C.value === "url" ? (delete d.protocol, delete d.host, delete d.path, r.config.app === "konnect" && delete d.port) : delete d.url : h.value === "edit" && delete d.url, d;
5345
- }), Ve = async () => {
5340
+ return c.fields.client_certificate && ["https", "wss", "tls"].includes(c.fields.protocol) && (d.client_certificate = { id: c.fields.client_certificate }), c.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(c.fields.protocol) && (d.tls_verify = c.fields.tls_verify_value), Z.value || (d.path = null), b.value === "create" ? C.value === "url" ? (delete d.protocol, delete d.host, delete d.path, r.config.app === "konnect" && delete d.port) : delete d.url : b.value === "edit" && delete d.url, d;
5341
+ }), qe = async () => {
5346
5342
  var d, g, j, H;
5347
5343
  try {
5348
5344
  c.isReadonly = !0, U();
5349
5345
  const J = je.value;
5350
5346
  at(J);
5351
5347
  let X;
5352
- if (await m.post(yt.value, J), h.value === "create" ? X = await m.post(Je.value, J) : h.value === "edit" && (X = ((d = r.config) == null ? void 0 : d.app) === "konnect" ? await m.put(Je.value, J) : await m.patch(Je.value, J)), X) {
5348
+ if (await m.post(yt.value, J), b.value === "create" ? X = await m.post(Je.value, J) : b.value === "edit" && (X = ((d = r.config) == null ? void 0 : d.app) === "konnect" ? await m.put(Je.value, J) : await m.patch(Je.value, J)), X) {
5353
5349
  const { data: w } = X;
5354
5350
  c.fields.name = (w == null ? void 0 : w.name) || "", c.fields.port = w.port || B.getPortFromProtocol(w.protocol), c.fields.protocol = (w == null ? void 0 : w.protocol) || "http", c.fields.host = (w == null ? void 0 : w.host) || "", c.fields.path = (w == null ? void 0 : w.path) || "", c.fields.url = (w == null ? void 0 : w.url) || "", c.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, c.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, c.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, c.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, c.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", c.fields.ca_certificates = (j = w == null ? void 0 : w.ca_certificates) != null && j.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", c.fields.tls_verify_enabled = (w == null ? void 0 : w.tls_verify) !== "" && (w == null ? void 0 : w.tls_verify) !== null && (w == null ? void 0 : w.tls_verify) !== void 0, c.fields.tls_verify_value = c.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), c.fields.tags = (H = w == null ? void 0 : w.tags) != null && H.length ? w.tags.join(", ") : "", Object.assign(x, c.fields), a("update", X == null ? void 0 : X.data);
5355
5351
  }
@@ -5369,9 +5365,9 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5369
5365
  }), t({
5370
5366
  validateUrl: U,
5371
5367
  getPayload: je,
5372
- saveFormData: Ve,
5368
+ saveFormData: qe,
5373
5369
  canSubmit: Ne,
5374
- initForm: Fe
5370
+ initForm: Ve
5375
5371
  }), (d, g) => {
5376
5372
  const j = P("KInput"), H = P("KLabel"), J = P("KRadio"), X = P("KSelect"), w = P("KCheckbox"), ke = P("KCollapse");
5377
5373
  return v(), T("div", zs, [
@@ -5385,31 +5381,31 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5385
5381
  "is-readonly": c.isReadonly,
5386
5382
  onCancel: Ge,
5387
5383
  "onFetch:error": g[25] || (g[25] = (K) => d.$emit("error", K)),
5388
- "onFetch:success": Fe,
5384
+ "onFetch:success": Ve,
5389
5385
  onLoading: g[26] || (g[26] = (K) => d.$emit("loading", K)),
5390
- onSubmit: Ve
5386
+ onSubmit: qe
5391
5387
  }, {
5392
- "form-actions": b(() => [
5388
+ "form-actions": h(() => [
5393
5389
  ie(d.$slots, "form-actions", {
5394
5390
  canSubmit: Ne.value,
5395
5391
  cancel: Ge,
5396
- submit: Ve
5392
+ submit: qe
5397
5393
  }, void 0, !0)
5398
5394
  ]),
5399
- default: b(() => [
5395
+ default: h(() => [
5400
5396
  k(f(ci), {
5401
5397
  description: f(l)("gateway_services.form.sections.general.description"),
5402
5398
  "hide-info-header": e.hideSectionsInfo,
5403
5399
  title: f(l)("gateway_services.form.sections.general.title")
5404
5400
  }, {
5405
- default: b(() => [
5401
+ default: h(() => [
5406
5402
  k(j, {
5407
5403
  modelValue: c.fields.name,
5408
5404
  "onUpdate:modelValue": g[0] || (g[0] = (K) => c.fields.name = K),
5409
5405
  modelModifiers: { trim: !0 },
5410
5406
  autocomplete: "off",
5411
5407
  "data-testid": "gateway-service-name-input",
5412
- error: F.value,
5408
+ error: L.value,
5413
5409
  "error-message": N.value,
5414
5410
  label: f(l)("gateway_services.form.fields.name.label"),
5415
5411
  "label-attributes": { info: f(l)("gateway_services.form.fields.name.tooltip") },
@@ -5441,11 +5437,11 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5441
5437
  "hide-info-header": e.hideSectionsInfo,
5442
5438
  title: f(l)("gateway_services.form.sections.keys.title")
5443
5439
  }, {
5444
- default: b(() => [
5445
- L.value ? G("", !0) : (v(), T("div", Hs, [
5440
+ default: h(() => [
5441
+ F.value ? G("", !0) : (v(), T("div", Hs, [
5446
5442
  M("div", Gs, [
5447
5443
  k(H, { required: "" }, {
5448
- default: b(() => [
5444
+ default: h(() => [
5449
5445
  W($(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
5450
5446
  ]),
5451
5447
  _: 1
@@ -5459,7 +5455,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5459
5455
  "selected-value": E.url,
5460
5456
  onChange: D
5461
5457
  }, {
5462
- default: b(() => [
5458
+ default: h(() => [
5463
5459
  W($(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5464
5460
  ]),
5465
5461
  _: 1
@@ -5489,13 +5485,13 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5489
5485
  "selected-value": E.protocol,
5490
5486
  onChange: D
5491
5487
  }, {
5492
- default: b(() => [
5488
+ default: h(() => [
5493
5489
  W($(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5494
5490
  ]),
5495
5491
  _: 1
5496
5492
  }, 8, ["modelValue", "selected-value"])
5497
5493
  ])),
5498
- C.value === "protocol" || L.value ? (v(), T("div", Ys, [
5494
+ C.value === "protocol" || F.value ? (v(), T("div", Ys, [
5499
5495
  k(X, {
5500
5496
  modelValue: c.fields.protocol,
5501
5497
  "onUpdate:modelValue": g[5] || (g[5] = (K) => c.fields.protocol = K),
@@ -5564,7 +5560,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5564
5560
  "trigger-alignment": "leading",
5565
5561
  "trigger-label": f(l)("gateway_services.form.sections.keys.viewAdvancedFields")
5566
5562
  }, {
5567
- default: b(() => [
5563
+ default: h(() => [
5568
5564
  M("div", Qs, [
5569
5565
  M("div", Xs, [
5570
5566
  k(j, {
@@ -5665,15 +5661,15 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5665
5661
  readonly: c.isReadonly,
5666
5662
  type: "text"
5667
5663
  }, {
5668
- "label-tooltip": b(() => [
5664
+ "label-tooltip": h(() => [
5669
5665
  k(f(s), {
5670
5666
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5671
5667
  scope: "global"
5672
5668
  }, {
5673
- code1: b(() => [
5669
+ code1: h(() => [
5674
5670
  M("code", null, $(f(l)("gateway_services.form.fields.ca_certificates.code1")), 1)
5675
5671
  ]),
5676
- code2: b(() => [
5672
+ code2: h(() => [
5677
5673
  M("code", null, $(f(l)("gateway_services.form.fields.ca_certificates.code2")), 1)
5678
5674
  ]),
5679
5675
  _: 1
@@ -5690,12 +5686,12 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5690
5686
  description: f(l)("gateway_services.form.fields.tls_verify_enabled.help"),
5691
5687
  label: f(l)("gateway_services.form.fields.tls_verify_enabled.label")
5692
5688
  }, {
5693
- tooltip: b(() => [
5689
+ tooltip: h(() => [
5694
5690
  k(f(s), {
5695
5691
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5696
5692
  scope: "global"
5697
5693
  }, {
5698
- code1: b(() => [
5694
+ code1: h(() => [
5699
5695
  M("code", null, $(f(l)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5700
5696
  ]),
5701
5697
  _: 1
@@ -5833,49 +5829,49 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5833
5829
  "onFetch:success": u[1] || (u[1] = (m) => l.$emit("fetch:success", m)),
5834
5830
  onLoading: u[2] || (u[2] = (m) => l.$emit("loading", m))
5835
5831
  }, {
5836
- "enabled-label-tooltip": b(() => [
5832
+ "enabled-label-tooltip": h(() => [
5837
5833
  k(f(a), {
5838
5834
  keypath: "gateway_services.form.fields.enabled.tooltip",
5839
5835
  scope: "global"
5840
5836
  }, {
5841
- false: b(() => [
5837
+ false: h(() => [
5842
5838
  M("code", null, $(f(i)("gateway_services.form.fields.enabled.false")), 1)
5843
5839
  ]),
5844
- true: b(() => [
5840
+ true: h(() => [
5845
5841
  M("code", null, $(f(i)("gateway_services.form.fields.enabled.true")), 1)
5846
5842
  ]),
5847
5843
  _: 1
5848
5844
  })
5849
5845
  ]),
5850
- "ca_certificates-label-tooltip": b(() => [
5846
+ "ca_certificates-label-tooltip": h(() => [
5851
5847
  k(f(a), {
5852
5848
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5853
5849
  scope: "global"
5854
5850
  }, {
5855
- code1: b(() => [
5851
+ code1: h(() => [
5856
5852
  M("code", null, $(f(i)("gateway_services.form.fields.ca_certificates.code1")), 1)
5857
5853
  ]),
5858
- code2: b(() => [
5854
+ code2: h(() => [
5859
5855
  M("code", null, $(f(i)("gateway_services.form.fields.ca_certificates.code2")), 1)
5860
5856
  ]),
5861
5857
  _: 1
5862
5858
  })
5863
5859
  ]),
5864
- "tls_verify-label-tooltip": b(() => [
5860
+ "tls_verify-label-tooltip": h(() => [
5865
5861
  k(f(a), {
5866
5862
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5867
5863
  scope: "global"
5868
5864
  }, {
5869
- code1: b(() => [
5865
+ code1: h(() => [
5870
5866
  M("code", null, $(f(i)("gateway_services.form.fields.tls_verify_enabled.code1")), 1)
5871
5867
  ]),
5872
5868
  _: 1
5873
5869
  })
5874
5870
  ]),
5875
- tls_verify: b((m) => [
5871
+ tls_verify: h((m) => [
5876
5872
  W($(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(i)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5877
5873
  ]),
5878
- client_certificate: b((m) => [
5874
+ client_certificate: h((m) => [
5879
5875
  W($(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5880
5876
  ]),
5881
5877
  _: 1