@kong-ui-public/entities-gateway-services 2.2.4 → 2.2.5-pr.985.f73a9541.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as S, withCtx as y, unref as m, createTextVNode as J, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as la, mergeProps as ut, onMounted as ai, onUnmounted as na, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as li, reactive as $t } from "vue";
1
+ import { defineComponent as ae, ref as N, computed as T, resolveComponent as L, openBlock as h, createBlock as P, Teleport as ii, createVNode as C, withCtx as y, unref as m, createTextVNode as J, toDisplayString as V, createElementVNode as F, watch as be, renderSlot as Z, createCommentVNode as D, useSlots as it, onBeforeMount as vt, createSlots as xe, createElementBlock as M, renderList as ge, Fragment as ye, normalizeClass as $e, withModifiers as Fe, withDirectives as Ue, vShow as Re, useCssVars as ra, resolveDynamicComponent as Ne, normalizeProps as oa, guardReactiveProps as la, mergeProps as ut, onMounted as ai, onUnmounted as na, normalizeStyle as ri, inject as sa, pushScopeId as oi, popScopeId as li, reactive as $t } from "vue";
2
2
  import { useRouter as ht } from "vue-router";
3
3
  import { createI18n as bt, i18nTComponent as ni } from "@kong-ui-public/i18n";
4
4
  import ca from "axios";
5
- import { MethodsArray as ua } from "@kong/kongponents";
5
+ import { BadgeMethodAppearances as ua } from "@kong/kongponents";
6
6
  const da = {
7
7
  create: "New Gateway Service",
8
8
  copy_id: "Copy ID",
@@ -368,7 +368,7 @@ const Ca = {
368
368
  }, Ma = {
369
369
  unexpected: "An unexpected error has occurred",
370
370
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
371
- }, Ea = {
371
+ }, ja = {
372
372
  enable: {
373
373
  title: "Enable {entityType}",
374
374
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -379,7 +379,7 @@ const Ca = {
379
379
  message: "Are you sure you want to disable the {entityType} {entityName}?",
380
380
  confirmText: "Yes, disable"
381
381
  }
382
- }, ja = {
382
+ }, Ea = {
383
383
  global: Ca,
384
384
  deleteModal: Sa,
385
385
  baseForm: Ia,
@@ -388,10 +388,10 @@ const Ca = {
388
388
  filter: Ta,
389
389
  debouncedFilter: $a,
390
390
  errors: Ma,
391
- toggleModal: Ea
391
+ toggleModal: ja
392
392
  };
393
393
  function _t() {
394
- const e = bt("en-us", ja);
394
+ const e = bt("en-us", Ea);
395
395
  return {
396
396
  i18n: e,
397
397
  i18nT: ni(e)
@@ -449,43 +449,43 @@ function Oa(e, i, t, a = {
449
449
  t || (t = "100");
450
450
  const { axiosInstance: r } = wt({
451
451
  headers: e.requestHeaders
452
- }), { i18n: { t: o } } = _t(), { debounce: n } = wa(), l = n(async (C) => {
453
- await j(C);
454
- }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), I = m(i);
455
- let k = `${e.apiBaseUrl}${I}`;
452
+ }), { i18n: { t: o } } = _t(), { debounce: n } = wa(), l = n(async (x) => {
453
+ await E(x);
454
+ }, 200), u = N(!1), d = N(""), f = N(""), p = N([]), w = N([]), b = N(void 0), S = m(i);
455
+ let k = `${e.apiBaseUrl}${S}`;
456
456
  e.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
457
457
  const { isValidUuid: v } = ci(), $ = async () => {
458
458
  try {
459
459
  u.value = !0;
460
- const { data: C } = await r.get(`${k}?size=${t}`);
461
- C != null && C.next || (b.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : []), w.value = a.fetchedItemsKey in C ? C[a.fetchedItemsKey] : [], p.value = w.value;
460
+ const { data: x } = await r.get(`${k}?size=${t}`);
461
+ x != null && x.next || (b.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : []), w.value = a.fetchedItemsKey in x ? x[a.fetchedItemsKey] : [], p.value = w.value;
462
462
  } catch {
463
463
  p.value = [], d.value = o("debouncedFilter.errors.fetch");
464
464
  } finally {
465
465
  u.value = !1;
466
466
  }
467
- }, s = N(""), j = async (C) => {
467
+ }, s = N(""), E = async (x) => {
468
468
  var B, re, W;
469
- if (s.value !== C)
470
- if (s.value = C || "", b.value === void 0)
469
+ if (s.value !== x)
470
+ if (s.value = x || "", b.value === void 0)
471
471
  try {
472
472
  if (u.value = !0, d.value = "", f.value = "", e.app === "konnect") {
473
- let x = k + "";
474
- C && (x += `/${C}`);
475
- const { data: q } = await r.get(`${x}?size=${t}`);
473
+ let A = k + "";
474
+ x && (A += `/${x}`);
475
+ const { data: q } = await r.get(`${A}?size=${t}`);
476
476
  a.fetchedItemsKey in q ? p.value = q[a.fetchedItemsKey] : q != null && q.id ? p.value = [q] : p.value = [];
477
- } else if (C) {
478
- const x = [];
479
- v(C) && a.searchKeys.includes("id") ? x.push((async () => {
480
- const { data: K } = await r.get(`${k}/${C}`);
477
+ } else if (x) {
478
+ const A = [];
479
+ v(x) && a.searchKeys.includes("id") ? A.push((async () => {
480
+ const { data: K } = await r.get(`${k}/${x}`);
481
481
  return [K[a.fetchedItemsKey] ?? K];
482
- })()) : x.push(
482
+ })()) : A.push(
483
483
  ...a.searchKeys.filter((K) => K !== "id").map(async (K) => {
484
- const { data: H } = await r.get(`${k}?${K}=${C}`);
484
+ const { data: H } = await r.get(`${k}?${K}=${x}`);
485
485
  return H[a.fetchedItemsKey];
486
486
  })
487
487
  );
488
- const q = await Promise.all(x), U = /* @__PURE__ */ new Set();
488
+ const q = await Promise.all(A), U = /* @__PURE__ */ new Set();
489
489
  p.value = [], (B = q == null ? void 0 : q.forEach) == null || B.call(q, (K) => {
490
490
  var H;
491
491
  (H = K == null ? void 0 : K.forEach) == null || H.call(K, (R) => {
@@ -494,18 +494,18 @@ function Oa(e, i, t, a = {
494
494
  });
495
495
  } else
496
496
  p.value = w.value;
497
- } catch (x) {
498
- ((re = x == null ? void 0 : x.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
497
+ } catch (A) {
498
+ ((re = A == null ? void 0 : A.response) == null ? void 0 : re.status) === 404 ? f.value = o("debouncedFilter.errors.invalid") : (p.value = [], d.value = o("debouncedFilter.errors.fetch"));
499
499
  } finally {
500
500
  u.value = !1;
501
501
  }
502
502
  else
503
- u.value = !0, f.value = "", C ? (p.value = (W = b.value) == null ? void 0 : W.filter((x) => {
503
+ u.value = !0, f.value = "", x ? (p.value = (W = b.value) == null ? void 0 : W.filter((A) => {
504
504
  var q;
505
505
  let U = !1;
506
506
  for (const K of a.searchKeys) {
507
- const H = typeof x[K] == "string" ? (q = x[K]) == null ? void 0 : q.toLowerCase() : x[K];
508
- H != null && H.includes(C.toLowerCase()) && (U = !0);
507
+ const H = typeof A[K] == "string" ? (q = A[K]) == null ? void 0 : q.toLowerCase() : A[K];
508
+ H != null && H.includes(x.toLowerCase()) && (U = !0);
509
509
  }
510
510
  return U;
511
511
  }), (!p.value || !p.value.length) && (f.value = o("debouncedFilter.errors.invalid"))) : p.value = b.value, u.value = !1;
@@ -575,8 +575,8 @@ function ui(e, i) {
575
575
  const { page: l, pageSize: u, offset: d, sortColumnKey: f, sortColumnOrder: p, query: w } = n;
576
576
  try {
577
577
  let b = new URL(o.value.href);
578
- return r.value && w ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${w}`)) : (r.value || new URLSearchParams(w).forEach((I, k) => {
579
- b.searchParams.append(k, I);
578
+ return r.value && w ? (b.search = "", b = new URL(`${b.href}?filter[name][contains]=${w}`)) : (r.value || new URLSearchParams(w).forEach((S, k) => {
579
+ b.searchParams.append(k, S);
580
580
  }), f && b.searchParams.append("sort_by", f), p === "desc" && b.searchParams.append("sort_desc", "1"), b.searchParams.append("size", String(u))), d && l !== 1 && b.searchParams.append("offset", String(d)), b.href;
581
581
  } catch (b) {
582
582
  return console.error("RouteList(fetcher)", b), a.value;
@@ -639,13 +639,13 @@ const di = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
639
639
  if (!i)
640
640
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
641
641
  return i.shift(), i;
642
- }, Et = (e) => e === "*" || e === "x" || e === "X", jt = (e) => {
642
+ }, jt = (e) => e === "*" || e === "x" || e === "X", Et = (e) => {
643
643
  const i = parseInt(e, 10);
644
644
  return isNaN(i) ? e : i;
645
645
  }, qa = (e, i) => typeof e != typeof i ? [String(e), String(i)] : [e, i], Ba = (e, i) => {
646
- if (Et(e) || Et(i))
646
+ if (jt(e) || jt(i))
647
647
  return 0;
648
- const [t, a] = qa(jt(e), jt(i));
648
+ const [t, a] = qa(Et(e), Et(i));
649
649
  return t > a ? 1 : t < a ? -1 : 0;
650
650
  }, Ot = (e, i) => {
651
651
  for (let t = 0; t < Math.max(e.length, i.length); t++) {
@@ -885,7 +885,7 @@ const ne = {
885
885
  l.value = t.tooltip;
886
886
  }, 1800);
887
887
  }, p = (w) => {
888
- var b, I;
888
+ var b, S;
889
889
  if (!w(t.uuid)) {
890
890
  typeof r == "function" && r({
891
891
  type: "error",
@@ -893,14 +893,14 @@ const ne = {
893
893
  }), n.value ? f(a("message.fail")) : i("error", t.uuid);
894
894
  return;
895
895
  }
896
- const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((I = t.uuid) == null ? void 0 : I.substring(0, Kt)) + (k ? "..." : "")}"`;
896
+ const k = ((b = t.uuid) == null ? void 0 : b.length) > Kt, v = t.format === "hidden" || t.format === "redacted" ? a("message.success.prefix") : `"${((S = t.uuid) == null ? void 0 : S.substring(0, Kt)) + (k ? "..." : "")}"`;
897
897
  typeof r == "function" && r({
898
898
  type: "success",
899
899
  message: `${v}${a("message.success.content")}`
900
900
  }), n.value ? f(t.successTooltip) : i("success", t.uuid);
901
901
  };
902
902
  return (w, b) => {
903
- const I = L("KClipboardProvider");
903
+ const S = L("KClipboardProvider");
904
904
  return h(), M("div", rr, [
905
905
  e.format !== "hidden" ? (h(), P(Ne(e.idTooltip ? "KTooltip" : "div"), ut({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
906
906
  default: y(() => [
@@ -916,7 +916,7 @@ const ne = {
916
916
  }, 16)) : D("", !0),
917
917
  (h(), P(Ne(e.tooltip ? "KTooltip" : "div"), ut(u.value, { class: "uuid-icon-wrapper" }), {
918
918
  default: y(() => [
919
- S(I, null, {
919
+ C(S, null, {
920
920
  default: y(({ copyToClipboard: k }) => [
921
921
  F("span", {
922
922
  "data-testid": "copy-to-clipboard",
@@ -924,7 +924,7 @@ const ne = {
924
924
  tabindex: "0",
925
925
  onClick: Fe((v) => p(k), ["stop"])
926
926
  }, [
927
- S(m(ir), {
927
+ C(m(ir), {
928
928
  class: "uuid-icon",
929
929
  color: e.iconColor,
930
930
  decorative: !!e.tooltip,
@@ -1011,7 +1011,7 @@ const ne = {
1011
1011
  return (t, a) => {
1012
1012
  const r = L("KButton");
1013
1013
  return h(), M("div", null, [
1014
- S(r, {
1014
+ C(r, {
1015
1015
  appearance: "tertiary",
1016
1016
  class: "navigation-button",
1017
1017
  onClick: a[0] || (a[0] = (o) => t.$emit("navigation-click", e.item))
@@ -1071,10 +1071,10 @@ const ne = {
1071
1071
  setup(e, { emit: i }) {
1072
1072
  const t = e;
1073
1073
  ra((b) => ({
1074
- "23f3018c": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
- "3815ec6d": u.value && n.value ? "block" : "flex",
1076
- "1957f153": u.value && n.value ? "100%" : t.slim ? "50%" : "25%",
1077
- "195a372e": u.value && n.value ? "100%" : t.slim ? "50%" : "75%"
1074
+ "0fea14db": d.value ? "none" : `solid ${m(yr)} ${m(mr)}`,
1075
+ "1cf0460e": u.value && n.value ? "block" : "flex",
1076
+ "328cca12": u.value && n.value ? "100%" : t.slim ? "50%" : "25%",
1077
+ "328f0fed": u.value && n.value ? "100%" : t.slim ? "50%" : "75%"
1078
1078
  }));
1079
1079
  const a = it(), { i18n: { t: r, formatUnixTimeStamp: o } } = ne.useI18n(), n = T(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), l = T(() => !!(t.item.tooltip || a["label-tooltip"])), u = T(() => t.item.type === ee.Json || t.item.type === ee.JsonArray), d = T(() => t.item.type === ee.JsonArray), f = T(() => {
1080
1080
  switch (t.item.type) {
@@ -1203,15 +1203,15 @@ const ne = {
1203
1203
  };
1204
1204
  }
1205
1205
  }), p = N(), { isTruncated: w } = ne.useTruncationDetector(p);
1206
- return (b, I) => {
1207
- const k = L("KLabel"), v = L("KBadge"), $ = L("KMethodBadge"), s = L("KTooltip");
1206
+ return (b, S) => {
1207
+ const k = L("KLabel"), v = L("KBadge"), $ = L("KTooltip");
1208
1208
  return h(), M("div", hr, [
1209
1209
  F("div", {
1210
1210
  class: "config-card-details-label",
1211
1211
  "data-testid": `${e.item.key}-label`
1212
1212
  }, [
1213
1213
  Z(b.$slots, "label", { item: e.item }, () => [
1214
- S(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1214
+ C(k, { "tooltip-attributes": { maxWidth: "500px" } }, xe({
1215
1215
  default: y(() => [
1216
1216
  J(V(e.item.label) + " ", 1)
1217
1217
  ]),
@@ -1247,58 +1247,57 @@ const ne = {
1247
1247
  key: 0,
1248
1248
  "data-testid": `${e.item.key}-badge-tags`
1249
1249
  }, [
1250
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(v, {
1251
- key: `${e.item.key}-badge-tag-${C}`,
1250
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1251
+ key: `${e.item.key}-badge-tag-${E}`,
1252
1252
  class: "config-badge",
1253
- "data-testid": `${e.item.key}-badge-tag-${C}`,
1254
- "truncation-tooltip": j
1253
+ "data-testid": `${e.item.key}-badge-tag-${E}`,
1254
+ tooltip: s,
1255
+ "truncation-tooltip": ""
1255
1256
  }, {
1256
1257
  default: y(() => [
1257
- J(V(j), 1)
1258
+ J(V(s), 1)
1258
1259
  ]),
1259
1260
  _: 2
1260
- }, 1032, ["data-testid", "truncation-tooltip"]))), 128))
1261
+ }, 1032, ["data-testid", "tooltip"]))), 128))
1261
1262
  ], 8, Sr)) : D("", !0),
1262
1263
  f.value.additionalComponent === "CopyUuid" ? (h(), M("div", {
1263
1264
  key: 1,
1264
1265
  class: "copy-uuid-array",
1265
1266
  "data-testid": `${e.item.key}-copy-uuid-array`
1266
1267
  }, [
1267
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(m(fi), ut(f.value.childAttrs, {
1268
- key: `${e.item.key}-copy-uuid-${C}`,
1269
- "data-testid": `${e.item.key}-copy-uuid-${C}`,
1270
- uuid: j
1268
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(m(fi), ut(f.value.childAttrs, {
1269
+ key: `${e.item.key}-copy-uuid-${E}`,
1270
+ "data-testid": `${e.item.key}-copy-uuid-${E}`,
1271
+ uuid: s
1271
1272
  }), null, 16, ["data-testid", "uuid"]))), 128))
1272
1273
  ], 8, Ir)) : f.value.additionalComponent === "KMethodBadge" ? (h(), M("div", {
1273
1274
  key: 2,
1274
1275
  class: "method-badge-array",
1275
1276
  "data-testid": `${e.item.key}-badge-methods`
1276
1277
  }, [
1277
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P($, {
1278
- key: `${e.item.key}-badge-method-${C}`,
1278
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(v, {
1279
+ key: `${e.item.key}-badge-method-${E}`,
1280
+ appearance: Object.values(m(ua)).includes(s.toLowerCase()) ? s.toLowerCase() : "custom",
1279
1281
  class: "config-badge",
1280
- "data-testid": `${e.item.key}-badge-method-${C}`,
1281
- "is-rounded": "",
1282
- label: j,
1283
- method: m(ua).includes(j.toLowerCase()) ? j.toLowerCase() : "custom"
1282
+ "data-testid": `${e.item.key}-badge-method-${E}`
1284
1283
  }, {
1285
1284
  default: y(() => [
1286
- J(V(j), 1)
1285
+ J(V(s), 1)
1287
1286
  ]),
1288
1287
  _: 2
1289
- }, 1032, ["data-testid", "label", "method"]))), 128))
1288
+ }, 1032, ["appearance", "data-testid"]))), 128))
1290
1289
  ], 8, Ar)) : D("", !0),
1291
1290
  f.value.additionalComponent === "JsonCardItem" ? (h(), M("div", {
1292
1291
  key: 3,
1293
1292
  "data-testid": `${t.item.key}-json-array-content`
1294
1293
  }, [
1295
- (h(!0), M(ye, null, ge(e.item.value, (j, C) => (h(), P(mi, {
1296
- key: `json-array-item-${C}`,
1297
- index: C,
1294
+ (h(!0), M(ye, null, ge(e.item.value, (s, E) => (h(), P(mi, {
1295
+ key: `json-array-item-${E}`,
1296
+ index: E,
1298
1297
  "is-array-item": "",
1299
- item: j
1298
+ item: s
1300
1299
  }, null, 8, ["index", "item"]))), 128))
1301
- ], 8, xr)) : (h(), P(s, {
1300
+ ], 8, xr)) : (h(), P($, {
1302
1301
  key: 4,
1303
1302
  label: m(w) ? e.item.value : ""
1304
1303
  }, {
@@ -1323,7 +1322,7 @@ const ne = {
1323
1322
  ]);
1324
1323
  };
1325
1324
  }
1326
- }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-e851fc7c"]]);
1325
+ }), kt = /* @__PURE__ */ ve($r, [["__scopeId", "data-v-4c7d8cc3"]]);
1327
1326
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1328
1327
  function gi(e) {
1329
1328
  return typeof e > "u" || e === null;
@@ -1331,10 +1330,10 @@ function gi(e) {
1331
1330
  function Mr(e) {
1332
1331
  return typeof e == "object" && e !== null;
1333
1332
  }
1334
- function Er(e) {
1333
+ function jr(e) {
1335
1334
  return Array.isArray(e) ? e : gi(e) ? [] : [e];
1336
1335
  }
1337
- function jr(e, i) {
1336
+ function Er(e, i) {
1338
1337
  var t, a, r, o;
1339
1338
  if (i)
1340
1339
  for (o = Object.keys(i), t = 0, a = o.length; t < a; t += 1)
@@ -1350,7 +1349,7 @@ function Or(e, i) {
1350
1349
  function Vr(e) {
1351
1350
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1352
1351
  }
1353
- var Fr = gi, Nr = Mr, Kr = Er, Lr = Or, qr = Vr, Br = jr, le = {
1352
+ var Fr = gi, Nr = Mr, Kr = jr, Lr = Or, qr = Vr, Br = Er, le = {
1354
1353
  isNothing: Fr,
1355
1354
  isObject: Nr,
1356
1355
  toArray: Kr,
@@ -1792,7 +1791,7 @@ var Mi = new ue("tag:yaml.org,2002:timestamp", {
1792
1791
  function yo(e) {
1793
1792
  return e === "<<" || e === null;
1794
1793
  }
1795
- var Ei = new ue("tag:yaml.org,2002:merge", {
1794
+ var ji = new ue("tag:yaml.org,2002:merge", {
1796
1795
  kind: "scalar",
1797
1796
  resolve: yo
1798
1797
  }), Ct = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1824,7 +1823,7 @@ function bo(e) {
1824
1823
  function wo(e) {
1825
1824
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1826
1825
  }
1827
- var ji = new ue("tag:yaml.org,2002:binary", {
1826
+ var Ei = new ue("tag:yaml.org,2002:binary", {
1828
1827
  kind: "scalar",
1829
1828
  resolve: vo,
1830
1829
  construct: ho,
@@ -1904,15 +1903,15 @@ var Fi = new ue("tag:yaml.org,2002:set", {
1904
1903
  }), St = xi.extend({
1905
1904
  implicit: [
1906
1905
  Mi,
1907
- Ei
1906
+ ji
1908
1907
  ],
1909
1908
  explicit: [
1910
- ji,
1909
+ Ei,
1911
1910
  Oi,
1912
1911
  Vi,
1913
1912
  Fi
1914
1913
  ]
1915
- }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, Eo = 2, qt = 3, jo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1914
+ }), Ce = Object.prototype.hasOwnProperty, Ze = 1, Ni = 2, Ki = 3, Qe = 4, ct = 1, jo = 2, qt = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Oo = /[\x85\u2028\u2029]/, Vo = /[,\[\]\{\}]/, Li = /^(?:!|!!|![a-z\-]+!)$/i, qi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1916
1915
  function Bt(e) {
1917
1916
  return Object.prototype.toString.call(e);
1918
1917
  }
@@ -1949,8 +1948,8 @@ function Lo(e) {
1949
1948
  );
1950
1949
  }
1951
1950
  var Bi = new Array(256), Pi = new Array(256);
1952
- for (var Ee = 0; Ee < 256; Ee++)
1953
- Bi[Ee] = Pt(Ee) ? 1 : 0, Pi[Ee] = Pt(Ee);
1951
+ for (var je = 0; je < 256; je++)
1952
+ Bi[je] = Pt(je) ? 1 : 0, Pi[je] = Pt(je);
1954
1953
  function qo(e, i) {
1955
1954
  this.input = e, this.filename = i.filename || null, this.schema = i.schema || St, this.onWarning = i.onWarning || null, this.legacy = i.legacy || !1, this.json = i.json || !1, this.listener = i.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1956
1955
  }
@@ -1965,7 +1964,7 @@ function Ui(e, i) {
1965
1964
  };
1966
1965
  return t.snippet = Ur(t), new fe(i, t);
1967
1966
  }
1968
- function E(e, i) {
1967
+ function j(e, i) {
1969
1968
  throw Ui(e, i);
1970
1969
  }
1971
1970
  function Xe(e, i) {
@@ -1974,15 +1973,15 @@ function Xe(e, i) {
1974
1973
  var Ut = {
1975
1974
  YAML: function(e, i, t) {
1976
1975
  var a, r, o;
1977
- e.version !== null && E(e, "duplication of %YAML directive"), t.length !== 1 && E(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && E(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && E(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1976
+ e.version !== null && j(e, "duplication of %YAML directive"), t.length !== 1 && j(e, "YAML directive accepts exactly one argument"), a = /^([0-9]+)\.([0-9]+)$/.exec(t[0]), a === null && j(e, "ill-formed argument of the YAML directive"), r = parseInt(a[1], 10), o = parseInt(a[2], 10), r !== 1 && j(e, "unacceptable YAML version of the document"), e.version = t[0], e.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Xe(e, "unsupported YAML version of the document");
1978
1977
  },
1979
1978
  TAG: function(e, i, t) {
1980
1979
  var a, r;
1981
- t.length !== 2 && E(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || E(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && E(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || E(e, "ill-formed tag prefix (second argument) of the TAG directive");
1980
+ t.length !== 2 && j(e, "TAG directive accepts exactly two arguments"), a = t[0], r = t[1], Li.test(a) || j(e, "ill-formed tag handle (first argument) of the TAG directive"), Ce.call(e.tagMap, a) && j(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qi.test(r) || j(e, "ill-formed tag prefix (second argument) of the TAG directive");
1982
1981
  try {
1983
1982
  r = decodeURIComponent(r);
1984
1983
  } catch {
1985
- E(e, "tag prefix is malformed: " + r);
1984
+ j(e, "tag prefix is malformed: " + r);
1986
1985
  }
1987
1986
  e.tagMap[a] = r;
1988
1987
  }
@@ -1992,22 +1991,22 @@ function ke(e, i, t, a) {
1992
1991
  if (i < t) {
1993
1992
  if (l = e.input.slice(i, t), a)
1994
1993
  for (r = 0, o = l.length; r < o; r += 1)
1995
- n = l.charCodeAt(r), n === 9 || 32 <= n && n <= 1114111 || E(e, "expected valid JSON character");
1994
+ n = l.charCodeAt(r), n === 9 || 32 <= n && n <= 1114111 || j(e, "expected valid JSON character");
1996
1995
  else
1997
- jo.test(l) && E(e, "the stream contains non-printable characters");
1996
+ Eo.test(l) && j(e, "the stream contains non-printable characters");
1998
1997
  e.result += l;
1999
1998
  }
2000
1999
  }
2001
2000
  function Rt(e, i, t, a) {
2002
2001
  var r, o, n, l;
2003
- for (le.isObject(t) || E(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), n = 0, l = r.length; n < l; n += 1)
2002
+ for (le.isObject(t) || j(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(t), n = 0, l = r.length; n < l; n += 1)
2004
2003
  o = r[n], Ce.call(i, o) || (i[o] = t[o], a[o] = !0);
2005
2004
  }
2006
2005
  function Ve(e, i, t, a, r, o, n, l, u) {
2007
2006
  var d, f;
2008
2007
  if (Array.isArray(r))
2009
2008
  for (r = Array.prototype.slice.call(r), d = 0, f = r.length; d < f; d += 1)
2010
- Array.isArray(r[d]) && E(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2009
+ Array.isArray(r[d]) && j(e, "nested arrays are not supported inside keys"), typeof r == "object" && Bt(r[d]) === "[object Object]" && (r[d] = "[object Object]");
2011
2010
  if (typeof r == "object" && Bt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), i === null && (i = {}), a === "tag:yaml.org,2002:merge")
2012
2011
  if (Array.isArray(o))
2013
2012
  for (d = 0, f = o.length; d < f; d += 1)
@@ -2015,7 +2014,7 @@ function Ve(e, i, t, a, r, o, n, l, u) {
2015
2014
  else
2016
2015
  Rt(e, i, o, t);
2017
2016
  else
2018
- !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = n || e.line, e.lineStart = l || e.lineStart, e.position = u || e.position, E(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2017
+ !e.json && !Ce.call(t, r) && Ce.call(i, r) && (e.line = n || e.line, e.lineStart = l || e.lineStart, e.position = u || e.position, j(e, "duplicated mapping key")), r === "__proto__" ? Object.defineProperty(i, r, {
2019
2018
  configurable: !0,
2020
2019
  enumerable: !0,
2021
2020
  writable: !0,
@@ -2025,7 +2024,7 @@ function Ve(e, i, t, a, r, o, n, l, u) {
2025
2024
  }
2026
2025
  function It(e) {
2027
2026
  var i;
2028
- i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : E(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2027
+ i = e.input.charCodeAt(e.position), i === 10 ? e.position++ : i === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : j(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
2029
2028
  }
2030
2029
  function oe(e, i, t) {
2031
2030
  for (var a = 0, r = e.input.charCodeAt(e.position); r !== 0; ) {
@@ -2089,8 +2088,8 @@ function Po(e, i) {
2089
2088
  else
2090
2089
  return !0;
2091
2090
  else
2092
- he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2093
- E(e, "unexpected end of the stream within a single quoted scalar");
2091
+ he(t) ? (ke(e, a, r, !0), At(e, oe(e, !1, i)), a = r = e.position) : e.position === e.lineStart && at(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2092
+ j(e, "unexpected end of the stream within a single quoted scalar");
2094
2093
  }
2095
2094
  function Uo(e, i) {
2096
2095
  var t, a, r, o, n, l;
@@ -2106,18 +2105,18 @@ function Uo(e, i) {
2106
2105
  e.result += Pi[l], e.position++;
2107
2106
  else if ((n = No(l)) > 0) {
2108
2107
  for (r = n, o = 0; r > 0; r--)
2109
- l = e.input.charCodeAt(++e.position), (n = Fo(l)) >= 0 ? o = (o << 4) + n : E(e, "expected hexadecimal character");
2108
+ l = e.input.charCodeAt(++e.position), (n = Fo(l)) >= 0 ? o = (o << 4) + n : j(e, "expected hexadecimal character");
2110
2109
  e.result += Lo(o), e.position++;
2111
2110
  } else
2112
- E(e, "unknown escape sequence");
2111
+ j(e, "unknown escape sequence");
2113
2112
  t = a = e.position;
2114
2113
  } else
2115
- he(l) ? (ke(e, t, a, !0), At(e, oe(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2114
+ he(l) ? (ke(e, t, a, !0), At(e, oe(e, !1, i)), t = a = e.position) : e.position === e.lineStart && at(e) ? j(e, "unexpected end of the document within a double quoted scalar") : (e.position++, a = e.position);
2116
2115
  }
2117
- E(e, "unexpected end of the stream within a double quoted scalar");
2116
+ j(e, "unexpected end of the stream within a double quoted scalar");
2118
2117
  }
2119
2118
  function Ro(e, i) {
2120
- var t = !0, a, r, o, n = e.tag, l, u = e.anchor, d, f, p, w, b, I = /* @__PURE__ */ Object.create(null), k, v, $, s;
2119
+ var t = !0, a, r, o, n = e.tag, l, u = e.anchor, d, f, p, w, b, S = /* @__PURE__ */ Object.create(null), k, v, $, s;
2121
2120
  if (s = e.input.charCodeAt(e.position), s === 91)
2122
2121
  f = 93, b = !1, l = [];
2123
2122
  else if (s === 123)
@@ -2127,9 +2126,9 @@ function Ro(e, i) {
2127
2126
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), s = e.input.charCodeAt(++e.position); s !== 0; ) {
2128
2127
  if (oe(e, !0, i), s = e.input.charCodeAt(e.position), s === f)
2129
2128
  return e.position++, e.tag = n, e.anchor = u, e.kind = b ? "mapping" : "sequence", e.result = l, !0;
2130
- t ? s === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), b ? Ve(e, l, I, v, k, $, a, r, o) : p ? l.push(Ve(e, null, I, v, k, $, a, r, o)) : l.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2129
+ t ? s === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), v = k = $ = null, p = w = !1, s === 63 && (d = e.input.charCodeAt(e.position + 1), me(d) && (p = w = !0, e.position++, oe(e, !0, i))), a = e.line, r = e.lineStart, o = e.position, Ke(e, i, Ze, !1, !0), v = e.tag, k = e.result, oe(e, !0, i), s = e.input.charCodeAt(e.position), (w || e.line === a) && s === 58 && (p = !0, s = e.input.charCodeAt(++e.position), oe(e, !0, i), Ke(e, i, Ze, !1, !0), $ = e.result), b ? Ve(e, l, S, v, k, $, a, r, o) : p ? l.push(Ve(e, null, S, v, k, $, a, r, o)) : l.push(k), oe(e, !0, i), s = e.input.charCodeAt(e.position), s === 44 ? (t = !0, s = e.input.charCodeAt(++e.position)) : t = !1;
2131
2130
  }
2132
- E(e, "unexpected end of the stream within a flow collection");
2131
+ j(e, "unexpected end of the stream within a flow collection");
2133
2132
  }
2134
2133
  function Do(e, i) {
2135
2134
  var t, a, r = ct, o = !1, n = !1, l = i, u = 0, d = !1, f, p;
@@ -2141,9 +2140,9 @@ function Do(e, i) {
2141
2140
  return !1;
2142
2141
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2143
2142
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2144
- ct === r ? r = p === 43 ? qt : Eo : E(e, "repeat of a chomping mode identifier");
2143
+ ct === r ? r = p === 43 ? qt : jo : j(e, "repeat of a chomping mode identifier");
2145
2144
  else if ((f = Ko(p)) >= 0)
2146
- f === 0 ? E(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : n ? E(e, "repeat of an indentation width identifier") : (l = i + f - 1, n = !0);
2145
+ f === 0 ? j(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : n ? j(e, "repeat of an indentation width identifier") : (l = i + f - 1, n = !0);
2147
2146
  else
2148
2147
  break;
2149
2148
  if (Te(p)) {
@@ -2182,25 +2181,25 @@ function Dt(e, i) {
2182
2181
  var t, a = e.tag, r = e.anchor, o = [], n, l = !1, u;
2183
2182
  if (e.firstTabInLine !== -1)
2184
2183
  return !1;
2185
- for (e.anchor !== null && (e.anchorMap[e.anchor] = o), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), !(u !== 45 || (n = e.input.charCodeAt(e.position + 1), !me(n)))); ) {
2184
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = o), u = e.input.charCodeAt(e.position); u !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), !(u !== 45 || (n = e.input.charCodeAt(e.position + 1), !me(n)))); ) {
2186
2185
  if (l = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= i) {
2187
2186
  o.push(null), u = e.input.charCodeAt(e.position);
2188
2187
  continue;
2189
2188
  }
2190
2189
  if (t = e.line, Ke(e, i, Ki, !1, !0), o.push(e.result), oe(e, !0, -1), u = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > i) && u !== 0)
2191
- E(e, "bad indentation of a sequence entry");
2190
+ j(e, "bad indentation of a sequence entry");
2192
2191
  else if (e.lineIndent < i)
2193
2192
  break;
2194
2193
  }
2195
2194
  return l ? (e.tag = a, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
2196
2195
  }
2197
2196
  function Ho(e, i, t) {
2198
- var a, r, o, n, l, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), b = null, I = null, k = null, v = !1, $ = !1, s;
2197
+ var a, r, o, n, l, u, d = e.tag, f = e.anchor, p = {}, w = /* @__PURE__ */ Object.create(null), b = null, S = null, k = null, v = !1, $ = !1, s;
2199
2198
  if (e.firstTabInLine !== -1)
2200
2199
  return !1;
2201
2200
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), s = e.input.charCodeAt(e.position); s !== 0; ) {
2202
- if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, E(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2203
- s === 63 ? (v && (Ve(e, p, w, b, I, null, n, l, u), b = I = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2201
+ if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, j(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (s === 63 || s === 58) && me(a))
2202
+ s === 63 ? (v && (Ve(e, p, w, b, S, null, n, l, u), b = S = k = null), $ = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : j(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, s = a;
2204
2203
  else {
2205
2204
  if (n = e.line, l = e.lineStart, u = e.position, !Ke(e, t, Ni, !1, !0))
2206
2205
  break;
@@ -2208,52 +2207,52 @@ function Ho(e, i, t) {
2208
2207
  for (s = e.input.charCodeAt(e.position); Te(s); )
2209
2208
  s = e.input.charCodeAt(++e.position);
2210
2209
  if (s === 58)
2211
- s = e.input.charCodeAt(++e.position), me(s) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, w, b, I, null, n, l, u), b = I = k = null), $ = !0, v = !1, r = !1, b = e.tag, I = e.result;
2210
+ s = e.input.charCodeAt(++e.position), me(s) || j(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ve(e, p, w, b, S, null, n, l, u), b = S = k = null), $ = !0, v = !1, r = !1, b = e.tag, S = e.result;
2212
2211
  else if ($)
2213
- E(e, "can not read an implicit mapping pair; a colon is missed");
2212
+ j(e, "can not read an implicit mapping pair; a colon is missed");
2214
2213
  else
2215
2214
  return e.tag = d, e.anchor = f, !0;
2216
2215
  } else if ($)
2217
- E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2216
+ j(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2218
2217
  else
2219
2218
  return e.tag = d, e.anchor = f, !0;
2220
2219
  }
2221
- if ((e.line === o || e.lineIndent > i) && (v && (n = e.line, l = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? I = e.result : k = e.result), v || (Ve(e, p, w, b, I, k, n, l, u), b = I = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2222
- E(e, "bad indentation of a mapping entry");
2220
+ if ((e.line === o || e.lineIndent > i) && (v && (n = e.line, l = e.lineStart, u = e.position), Ke(e, i, Qe, !0, r) && (v ? S = e.result : k = e.result), v || (Ve(e, p, w, b, S, k, n, l, u), b = S = k = null), oe(e, !0, -1), s = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > i) && s !== 0)
2221
+ j(e, "bad indentation of a mapping entry");
2223
2222
  else if (e.lineIndent < i)
2224
2223
  break;
2225
2224
  }
2226
- return v && Ve(e, p, w, b, I, null, n, l, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2225
+ return v && Ve(e, p, w, b, S, null, n, l, u), $ && (e.tag = d, e.anchor = f, e.kind = "mapping", e.result = p), $;
2227
2226
  }
2228
2227
  function zo(e) {
2229
2228
  var i, t = !1, a = !1, r, o, n;
2230
2229
  if (n = e.input.charCodeAt(e.position), n !== 33)
2231
2230
  return !1;
2232
- if (e.tag !== null && E(e, "duplication of a tag property"), n = e.input.charCodeAt(++e.position), n === 60 ? (t = !0, n = e.input.charCodeAt(++e.position)) : n === 33 ? (a = !0, r = "!!", n = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2231
+ if (e.tag !== null && j(e, "duplication of a tag property"), n = e.input.charCodeAt(++e.position), n === 60 ? (t = !0, n = e.input.charCodeAt(++e.position)) : n === 33 ? (a = !0, r = "!!", n = e.input.charCodeAt(++e.position)) : r = "!", i = e.position, t) {
2233
2232
  do
2234
2233
  n = e.input.charCodeAt(++e.position);
2235
2234
  while (n !== 0 && n !== 62);
2236
- e.position < e.length ? (o = e.input.slice(i, e.position), n = e.input.charCodeAt(++e.position)) : E(e, "unexpected end of the stream within a verbatim tag");
2235
+ e.position < e.length ? (o = e.input.slice(i, e.position), n = e.input.charCodeAt(++e.position)) : j(e, "unexpected end of the stream within a verbatim tag");
2237
2236
  } else {
2238
2237
  for (; n !== 0 && !me(n); )
2239
- n === 33 && (a ? E(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || E(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), n = e.input.charCodeAt(++e.position);
2240
- o = e.input.slice(i, e.position), Vo.test(o) && E(e, "tag suffix cannot contain flow indicator characters");
2238
+ n === 33 && (a ? j(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(i - 1, e.position + 1), Li.test(r) || j(e, "named tag handle cannot contain such characters"), a = !0, i = e.position + 1)), n = e.input.charCodeAt(++e.position);
2239
+ o = e.input.slice(i, e.position), Vo.test(o) && j(e, "tag suffix cannot contain flow indicator characters");
2241
2240
  }
2242
- o && !qi.test(o) && E(e, "tag name cannot contain such characters: " + o);
2241
+ o && !qi.test(o) && j(e, "tag name cannot contain such characters: " + o);
2243
2242
  try {
2244
2243
  o = decodeURIComponent(o);
2245
2244
  } catch {
2246
- E(e, "tag name is malformed: " + o);
2245
+ j(e, "tag name is malformed: " + o);
2247
2246
  }
2248
- return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : E(e, 'undeclared tag handle "' + r + '"'), !0;
2247
+ return t ? e.tag = o : Ce.call(e.tagMap, r) ? e.tag = e.tagMap[r] + o : r === "!" ? e.tag = "!" + o : r === "!!" ? e.tag = "tag:yaml.org,2002:" + o : j(e, 'undeclared tag handle "' + r + '"'), !0;
2249
2248
  }
2250
2249
  function Jo(e) {
2251
2250
  var i, t;
2252
2251
  if (t = e.input.charCodeAt(e.position), t !== 38)
2253
2252
  return !1;
2254
- for (e.anchor !== null && E(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2253
+ for (e.anchor !== null && j(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), i = e.position; t !== 0 && !me(t) && !Oe(t); )
2255
2254
  t = e.input.charCodeAt(++e.position);
2256
- return e.position === i && E(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2255
+ return e.position === i && j(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(i, e.position), !0;
2257
2256
  }
2258
2257
  function Go(e) {
2259
2258
  var i, t, a;
@@ -2261,31 +2260,31 @@ function Go(e) {
2261
2260
  return !1;
2262
2261
  for (a = e.input.charCodeAt(++e.position), i = e.position; a !== 0 && !me(a) && !Oe(a); )
2263
2262
  a = e.input.charCodeAt(++e.position);
2264
- return e.position === i && E(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || E(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2263
+ return e.position === i && j(e, "name of an alias node must contain at least one character"), t = e.input.slice(i, e.position), Ce.call(e.anchorMap, t) || j(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
2265
2264
  }
2266
2265
  function Ke(e, i, t, a, r) {
2267
- var o, n, l, u = 1, d = !1, f = !1, p, w, b, I, k, v;
2266
+ var o, n, l, u = 1, d = !1, f = !1, p, w, b, S, k, v;
2268
2267
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = n = l = Qe === t || Ki === t, a && oe(e, !0, -1) && (d = !0, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)), u === 1)
2269
2268
  for (; zo(e) || Jo(e); )
2270
2269
  oe(e, !0, -1) ? (d = !0, l = o, e.lineIndent > i ? u = 1 : e.lineIndent === i ? u = 0 : e.lineIndent < i && (u = -1)) : l = !1;
2271
- if (l && (l = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? l && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (n && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Go(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && E(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = l && Dt(e, v))), e.tag === null)
2270
+ if (l && (l = d || r), (u === 1 || Qe === t) && (Ze === t || Ni === t ? k = i : k = i + 1, v = e.position - e.lineStart, u === 1 ? l && (Dt(e, v) || Ho(e, v, k)) || Ro(e, k) ? f = !0 : (n && Do(e, k) || Po(e, k) || Uo(e, k) ? f = !0 : Go(e) ? (f = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Bo(e, k, Ze === t) && (f = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : u === 0 && (f = l && Dt(e, v))), e.tag === null)
2272
2271
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2273
2272
  else if (e.tag === "?") {
2274
- for (e.result !== null && e.kind !== "scalar" && E(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
2275
- if (I = e.implicitTypes[p], I.resolve(e.result)) {
2276
- e.result = I.construct(e.result), e.tag = I.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2273
+ for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, w = e.implicitTypes.length; p < w; p += 1)
2274
+ if (S = e.implicitTypes[p], S.resolve(e.result)) {
2275
+ e.result = S.construct(e.result), e.tag = S.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2277
2276
  break;
2278
2277
  }
2279
2278
  } else if (e.tag !== "!") {
2280
2279
  if (Ce.call(e.typeMap[e.kind || "fallback"], e.tag))
2281
- I = e.typeMap[e.kind || "fallback"][e.tag];
2280
+ S = e.typeMap[e.kind || "fallback"][e.tag];
2282
2281
  else
2283
- for (I = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2282
+ for (S = null, b = e.typeMap.multi[e.kind || "fallback"], p = 0, w = b.length; p < w; p += 1)
2284
2283
  if (e.tag.slice(0, b[p].tag.length) === b[p].tag) {
2285
- I = b[p];
2284
+ S = b[p];
2286
2285
  break;
2287
2286
  }
2288
- I || E(e, "unknown tag !<" + e.tag + ">"), e.result !== null && I.kind !== e.kind && E(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + I.kind + '", not "' + e.kind + '"'), I.resolve(e.result, e.tag) ? (e.result = I.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : E(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2287
+ S || j(e, "unknown tag !<" + e.tag + ">"), e.result !== null && S.kind !== e.kind && j(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + S.kind + '", not "' + e.kind + '"'), S.resolve(e.result, e.tag) ? (e.result = S.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : j(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2289
2288
  }
2290
2289
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || f;
2291
2290
  }
@@ -2294,7 +2293,7 @@ function Wo(e) {
2294
2293
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (n = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), n = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || n !== 37)); ) {
2295
2294
  for (o = !0, n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !me(n); )
2296
2295
  n = e.input.charCodeAt(++e.position);
2297
- for (a = e.input.slice(t, e.position), r = [], a.length < 1 && E(e, "directive name must not be less than one character in length"); n !== 0; ) {
2296
+ for (a = e.input.slice(t, e.position), r = [], a.length < 1 && j(e, "directive name must not be less than one character in length"); n !== 0; ) {
2298
2297
  for (; Te(n); )
2299
2298
  n = e.input.charCodeAt(++e.position);
2300
2299
  if (n === 35) {
@@ -2311,12 +2310,12 @@ function Wo(e) {
2311
2310
  }
2312
2311
  n !== 0 && It(e), Ce.call(Ut, a) ? Ut[a](e, a, r) : Xe(e, 'unknown document directive "' + a + '"');
2313
2312
  }
2314
- if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : o && E(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2313
+ if (oe(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, oe(e, !0, -1)) : o && j(e, "directives end mark is expected"), Ke(e, e.lineIndent - 1, Qe, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Oo.test(e.input.slice(i, e.position)) && Xe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2315
2314
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2316
2315
  return;
2317
2316
  }
2318
2317
  if (e.position < e.length - 1)
2319
- E(e, "end of the stream or a document separator is expected");
2318
+ j(e, "end of the stream or a document separator is expected");
2320
2319
  else
2321
2320
  return;
2322
2321
  }
@@ -2324,7 +2323,7 @@ function Ri(e, i) {
2324
2323
  e = String(e), i = i || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2325
2324
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2326
2325
  var t = new qo(e, i), a = e.indexOf("\0");
2327
- for (a !== -1 && (t.position = a, E(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2326
+ for (a !== -1 && (t.position = a, j(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2328
2327
  t.lineIndent += 1, t.position += 1;
2329
2328
  for (; t.position < t.length - 1; )
2330
2329
  Wo(t);
@@ -2458,27 +2457,27 @@ function Qi(e) {
2458
2457
  var i = /^\n* /;
2459
2458
  return i.test(e);
2460
2459
  }
2461
- var Xi = 1, gt = 2, ea = 3, ta = 4, je = 5;
2460
+ var Xi = 1, gt = 2, ea = 3, ta = 4, Ee = 5;
2462
2461
  function Il(e, i, t, a, r, o, n, l) {
2463
- var u, d = 0, f = null, p = !1, w = !1, b = a !== -1, I = -1, k = Cl(Pe(e, 0)) && Sl(Pe(e, e.length - 1));
2462
+ var u, d = 0, f = null, p = !1, w = !1, b = a !== -1, S = -1, k = Cl(Pe(e, 0)) && Sl(Pe(e, e.length - 1));
2464
2463
  if (i || n)
2465
2464
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2466
2465
  if (d = Pe(e, u), !Ge(d))
2467
- return je;
2466
+ return Ee;
2468
2467
  k = k && Jt(d, f, l), f = d;
2469
2468
  }
2470
2469
  else {
2471
2470
  for (u = 0; u < e.length; d >= 65536 ? u += 2 : u++) {
2472
2471
  if (d = Pe(e, u), d === ze)
2473
2472
  p = !0, b && (w = w || // Foldable line = too long, and not more-indented.
2474
- u - I - 1 > a && e[I + 1] !== " ", I = u);
2473
+ u - S - 1 > a && e[S + 1] !== " ", S = u);
2475
2474
  else if (!Ge(d))
2476
- return je;
2475
+ return Ee;
2477
2476
  k = k && Jt(d, f, l), f = d;
2478
2477
  }
2479
- w = w || b && u - I - 1 > a && e[I + 1] !== " ";
2478
+ w = w || b && u - S - 1 > a && e[S + 1] !== " ";
2480
2479
  }
2481
- return !p && !w ? k && !n && !r(e) ? Xi : o === Je ? je : gt : t > 9 && Qi(e) ? je : n ? o === Je ? je : gt : w ? ta : ea;
2480
+ return !p && !w ? k && !n && !r(e) ? Xi : o === Je ? Ee : gt : t > 9 && Qi(e) ? Ee : n ? o === Je ? Ee : gt : w ? ta : ea;
2482
2481
  }
2483
2482
  function Al(e, i, t, a, r) {
2484
2483
  e.dump = function() {
@@ -2508,7 +2507,7 @@ function Al(e, i, t, a, r) {
2508
2507
  return "|" + Gt(i, e.indent) + Wt(Ht(i, o));
2509
2508
  case ta:
2510
2509
  return ">" + Gt(i, e.indent) + Wt(Ht(xl(i, n), o));
2511
- case je:
2510
+ case Ee:
2512
2511
  return '"' + Tl(i) + '"';
2513
2512
  default:
2514
2513
  throw new fe("impossible error: invalid scalar style");
@@ -2573,7 +2572,7 @@ function Ml(e, i, t) {
2573
2572
  f = "", a !== "" && (f += ", "), e.condenseFlow && (f += '"'), u = o[n], d = t[u], e.replacer && (d = e.replacer.call(t, u, d)), _e(e, i, u, !1, !1) && (e.dump.length > 1024 && (f += "? "), f += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), _e(e, i, d, !1, !1) && (f += e.dump, a += f));
2574
2573
  e.tag = r, e.dump = "{" + a + "}";
2575
2574
  }
2576
- function El(e, i, t, a) {
2575
+ function jl(e, i, t, a) {
2577
2576
  var r = "", o = e.tag, n = Object.keys(t), l, u, d, f, p, w;
2578
2577
  if (e.sortKeys === !0)
2579
2578
  n.sort();
@@ -2611,7 +2610,7 @@ function _e(e, i, t, a, r, o, n) {
2611
2610
  e.dump = "*ref_" + p;
2612
2611
  else {
2613
2612
  if (f && w && !e.usedDuplicates[p] && (e.usedDuplicates[p] = !0), l === "[object Object]")
2614
- a && Object.keys(e.dump).length !== 0 ? (El(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (Ml(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2613
+ a && Object.keys(e.dump).length !== 0 ? (jl(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : (Ml(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2615
2614
  else if (l === "[object Array]")
2616
2615
  a && e.dump.length !== 0 ? (e.noArrayIndent && !n && i > 0 ? Zt(e, i - 1, e.dump, r) : Zt(e, i, e.dump, r), w && (e.dump = "&ref_" + p + e.dump)) : ($l(e, i, e.dump), w && (e.dump = "&ref_" + p + " " + e.dump));
2617
2616
  else if (l === "[object String]")
@@ -2627,7 +2626,7 @@ function _e(e, i, t, a, r, o, n) {
2627
2626
  }
2628
2627
  return !0;
2629
2628
  }
2630
- function jl(e, i) {
2629
+ function El(e, i) {
2631
2630
  var t = [], a = [], r, o;
2632
2631
  for (yt(e, t, a), r = 0, o = a.length; r < o; r += 1)
2633
2632
  i.duplicates.push(t[a[r]]);
@@ -2648,7 +2647,7 @@ function yt(e, i, t) {
2648
2647
  function Ol(e, i) {
2649
2648
  i = i || {};
2650
2649
  var t = new _l(i);
2651
- t.noRefs || jl(e, t);
2650
+ t.noRefs || El(e, t);
2652
2651
  var a = e;
2653
2652
  return t.replacer && (a = t.replacer.call({ "": a }, "", a)), _e(t, 0, a, !0, !0) ? t.dump + `
2654
2653
  ` : "";
@@ -2662,7 +2661,7 @@ function Tt(e, i) {
2662
2661
  };
2663
2662
  }
2664
2663
  var Nl = ue, Kl = vi, Ll = _i, ql = Ai, Bl = xi, Pl = St, Ul = Di.load, Rl = Di.loadAll, Dl = Fl.dump, Hl = fe, zl = {
2665
- binary: ji,
2664
+ binary: Ei,
2666
2665
  float: Ii,
2667
2666
  map: wi,
2668
2667
  null: ki,
@@ -2671,7 +2670,7 @@ var Nl = ue, Kl = vi, Ll = _i, ql = Ai, Bl = xi, Pl = St, Ul = Di.load, Rl = Di.
2671
2670
  timestamp: Mi,
2672
2671
  bool: Ci,
2673
2672
  int: Si,
2674
- merge: Ei,
2673
+ merge: ji,
2675
2674
  omap: Oi,
2676
2675
  seq: bi,
2677
2676
  str: hi
@@ -2771,7 +2770,7 @@ const Zl = {
2771
2770
  ], 10, Ql))), 128))
2772
2771
  ])) : D("", !0),
2773
2772
  e.format === "json" ? (h(), M("div", en, [
2774
- S(d, {
2773
+ C(d, {
2775
2774
  id: "config-card-codeblock",
2776
2775
  code: o.value,
2777
2776
  language: "json",
@@ -2779,7 +2778,7 @@ const Zl = {
2779
2778
  }, null, 8, ["code"])
2780
2779
  ])) : D("", !0),
2781
2780
  e.format === "yaml" ? (h(), M("div", tn, [
2782
- S(d, {
2781
+ C(d, {
2783
2782
  id: "config-card-codeblock",
2784
2783
  code: n.value,
2785
2784
  language: "yaml",
@@ -2993,8 +2992,8 @@ const Zl = {
2993
2992
  label: "YAML",
2994
2993
  value: "yaml"
2995
2994
  }
2996
- ], f = N("structured"), p = (x) => {
2997
- f.value = x == null ? void 0 : x.value;
2995
+ ], f = N("structured"), p = (A) => {
2996
+ f.value = A == null ? void 0 : A.value;
2998
2997
  }, w = {
2999
2998
  id: {
3000
2999
  type: ee.ID,
@@ -3029,13 +3028,13 @@ const Zl = {
3029
3028
  // the last property displayed
3030
3029
  section: de.Basic
3031
3030
  }
3032
- }, b = N(!1), I = N(!1), k = N(""), v = N(), $ = T(() => {
3033
- var x, q, U;
3031
+ }, b = N(!1), S = N(!1), k = N(""), v = N(), $ = T(() => {
3032
+ var A, q, U;
3034
3033
  if (!v.value)
3035
3034
  return [];
3036
3035
  const K = [], H = Object.keys(v.value).length;
3037
3036
  for (const R in v.value) {
3038
- const Q = (q = (x = a.configSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = (U = w[R]) == null ? void 0 : U.order;
3037
+ const Q = (q = (A = a.configSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = (U = w[R]) == null ? void 0 : U.order;
3039
3038
  let ie = H;
3040
3039
  (z || z === 0) && (ie = z === -1 ? H + 1 : z), Q && (ie = Q === -1 ? H + 1 : Q), K.push([R, ie]);
3041
3040
  }
@@ -3055,12 +3054,12 @@ const Zl = {
3055
3054
  };
3056
3055
  }).filter((R) => !R.hidden && R.key !== a.pluginConfigKey);
3057
3056
  }), s = T(() => {
3058
- var x, q;
3057
+ var A, q;
3059
3058
  if (!v.value || !a.pluginConfigKey)
3060
3059
  return [];
3061
3060
  const U = v.value[a.pluginConfigKey] || {}, K = Object.keys(U).length, H = [];
3062
3061
  for (const R in U) {
3063
- const Q = (q = (x = a.pluginConfigSchema) == null ? void 0 : x[R]) == null ? void 0 : q.order, z = U[R];
3062
+ const Q = (q = (A = a.pluginConfigSchema) == null ? void 0 : A[R]) == null ? void 0 : q.order, z = U[R];
3064
3063
  let ie = z != null && z !== "" ? K - 1 : K;
3065
3064
  Q && (ie = Q === -1 ? K + 1 : Q), H.push([R, ie]);
3066
3065
  }
@@ -3079,51 +3078,51 @@ const Zl = {
3079
3078
  section: de.Plugin
3080
3079
  };
3081
3080
  }).filter((R) => !R.hidden);
3082
- }), j = T(() => {
3083
- var x, q, U, K;
3081
+ }), E = T(() => {
3082
+ var A, q, U, K;
3084
3083
  return {
3085
- basic: (x = $.value) == null ? void 0 : x.filter((H) => H.section === de.Basic),
3084
+ basic: (A = $.value) == null ? void 0 : A.filter((H) => H.section === de.Basic),
3086
3085
  advanced: (q = $.value) == null ? void 0 : q.filter((H) => H.section === de.Advanced),
3087
3086
  plugin: (K = s.value) == null ? void 0 : K.concat((U = $.value) == null ? void 0 : U.filter((H) => H.section === de.Plugin))
3088
3087
  };
3089
- }), C = T(() => {
3090
- const x = [];
3091
- return j.value.basic.length && x.push("basic"), j.value.advanced.length && x.push("advanced"), j.value.plugin.length && x.push("plugin"), x;
3092
- }), B = (x) => !!(x.tooltip || r[`${x.key}-label-tooltip`]), re = T(() => {
3093
- var x, q;
3088
+ }), x = T(() => {
3089
+ const A = [];
3090
+ return E.value.basic.length && A.push("basic"), E.value.advanced.length && A.push("advanced"), E.value.plugin.length && A.push("plugin"), A;
3091
+ }), B = (A) => !!(A.tooltip || r[`${A.key}-label-tooltip`]), re = T(() => {
3092
+ var A, q;
3094
3093
  let U = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3095
- return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((x = a.config) == null ? void 0 : x.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3096
- }), W = (x) => {
3097
- v.value && x(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3094
+ return a.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((A = a.config) == null ? void 0 : A.controlPlaneId) || "") : a.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (q = a.config) != null && q.workspace ? `/${a.config.workspace}` : "")), U = U.replace(/{id}/gi, a.config.entityId), U;
3095
+ }), W = (A) => {
3096
+ v.value && A(JSON.stringify(v.value)) ? i("copy:success", v.value) : i("copy:error");
3098
3097
  };
3099
- return be(b, (x) => {
3100
- i("loading", x);
3098
+ return be(b, (A) => {
3099
+ i("loading", A);
3101
3100
  }, { immediate: !0 }), vt(async () => {
3102
- I.value = !1, b.value = !0;
3101
+ S.value = !1, b.value = !0;
3103
3102
  try {
3104
- const { data: x } = await u.get(re.value);
3103
+ const { data: A } = await u.get(re.value);
3105
3104
  if (a.dataKey)
3106
- if (typeof x[a.dataKey] < "u")
3107
- v.value = { ...x[a.dataKey] };
3105
+ if (typeof A[a.dataKey] < "u")
3106
+ v.value = { ...A[a.dataKey] };
3108
3107
  else
3109
3108
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3110
3109
  else
3111
- v.value = { ...x };
3110
+ v.value = { ...A };
3112
3111
  Object.keys(a.configSchema).filter((q) => a.configSchema[q].forceShow).forEach((q) => {
3113
3112
  v.value && typeof v.value[q] > "u" && (v.value[q] = null);
3114
- }), i("fetch:success", x);
3115
- } catch (x) {
3116
- const q = n(x);
3117
- k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, I.value = !0, i("fetch:error", x);
3113
+ }), i("fetch:success", A);
3114
+ } catch (A) {
3115
+ const q = n(A);
3116
+ k.value = q.startsWith("code") ? o("baseConfigCard.errors.load") : q, S.value = !0, i("fetch:error", A);
3118
3117
  } finally {
3119
3118
  b.value = !1;
3120
3119
  }
3121
- }), (x, q) => {
3120
+ }), (A, q) => {
3122
3121
  const U = L("KLabel"), K = L("KSelect"), H = L("KButton"), R = L("KClipboardProvider"), Q = L("KSkeleton"), z = L("KEmptyState"), ie = L("KCard");
3123
3122
  return h(), P(ie, { class: "kong-ui-entity-base-config-card" }, xe({
3124
3123
  actions: y(() => [
3125
3124
  F("div", fn, [
3126
- Z(x.$slots, "actions", {}, void 0, !0),
3125
+ Z(A.$slots, "actions", {}, void 0, !0),
3127
3126
  e.config.jsonYamlEnabled ? (h(), P(U, {
3128
3127
  key: 0,
3129
3128
  class: "config-format-select-label",
@@ -3153,14 +3152,14 @@ const Zl = {
3153
3152
  rel: "noopener",
3154
3153
  target: "_blank"
3155
3154
  }, [
3156
- S(m(dn), { size: m(vr) }, null, 8, ["size"])
3155
+ C(m(dn), { size: m(vr) }, null, 8, ["size"])
3157
3156
  ], 8, mn)
3158
3157
  ]),
3159
3158
  _: 1
3160
3159
  })) : D("", !0),
3161
3160
  e.config.jsonYamlEnabled ? D("", !0) : (h(), P(R, { key: 3 }, {
3162
3161
  default: y(({ copyToClipboard: Y }) => [
3163
- !b.value && !I.value ? (h(), P(H, {
3162
+ !b.value && !S.value ? (h(), P(H, {
3164
3163
  key: 0,
3165
3164
  appearance: "tertiary",
3166
3165
  "data-testid": "json-copy-button",
@@ -3182,7 +3181,7 @@ const Zl = {
3182
3181
  "data-testid": "config-card-loader",
3183
3182
  "table-columns": 2,
3184
3183
  type: "table"
3185
- })) : I.value ? (h(), P(z, {
3184
+ })) : S.value ? (h(), P(z, {
3186
3185
  key: 1,
3187
3186
  "data-testid": "config-card-fetch-error",
3188
3187
  "is-error": ""
@@ -3193,16 +3192,16 @@ const Zl = {
3193
3192
  _: 1
3194
3193
  })) : D("", !0),
3195
3194
  e.config.jsonYamlEnabled ? (h(), M("div", gn, [
3196
- S(rn, {
3195
+ C(rn, {
3197
3196
  format: f.value,
3198
- "prop-list-types": C.value,
3199
- "property-collections": j.value,
3197
+ "prop-list-types": x.value,
3198
+ "property-collections": E.value,
3200
3199
  record: v.value
3201
3200
  }, xe({ _: 2 }, [
3202
- ge(Object.keys(x.$slots), (Y) => ({
3201
+ ge(Object.keys(A.$slots), (Y) => ({
3203
3202
  name: Y,
3204
3203
  fn: y(({ row: X, rowValue: ce }) => [
3205
- Z(x.$slots, Y, {
3204
+ Z(A.$slots, Y, {
3206
3205
  row: X,
3207
3206
  rowValue: ce
3208
3207
  }, void 0, !0)
@@ -3210,21 +3209,21 @@ const Zl = {
3210
3209
  }))
3211
3210
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3212
3211
  ])) : (h(), M("div", yn, [
3213
- (h(!0), M(ye, null, ge(C.value, (Y) => (h(), M("div", {
3212
+ (h(!0), M(ye, null, ge(x.value, (Y) => (h(), M("div", {
3214
3213
  key: `config-card-details-${Y}-props`,
3215
3214
  class: $e(`config-card-details-${Y}-props`),
3216
3215
  "data-testid": `config-card-details-${Y}-props`
3217
3216
  }, [
3218
3217
  Y !== "basic" ? (h(), M("div", hn, V(Y === "advanced" ? m(o)("baseConfigCard.sections.advanced") : m(o)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
3219
- (h(!0), M(ye, null, ge(j.value[Y], (X) => (h(), P(kt, {
3218
+ (h(!0), M(ye, null, ge(E.value[Y], (X) => (h(), P(kt, {
3220
3219
  key: X.key,
3221
3220
  item: X
3222
3221
  }, xe({
3223
3222
  label: y(() => [
3224
- Z(x.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3223
+ Z(A.$slots, `${X.key}-label`, { row: X }, void 0, !0)
3225
3224
  ]),
3226
3225
  [X.key]: y(({ rowValue: ce }) => [
3227
- Z(x.$slots, X.key, {
3226
+ Z(A.$slots, X.key, {
3228
3227
  row: X,
3229
3228
  rowValue: ce
3230
3229
  }, void 0, !0)
@@ -3234,7 +3233,7 @@ const Zl = {
3234
3233
  B(X) ? {
3235
3234
  name: "label-tooltip",
3236
3235
  fn: y(() => [
3237
- Z(x.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3236
+ Z(A.$slots, `${X.key}-label-tooltip`, { row: X }, void 0, !0)
3238
3237
  ]),
3239
3238
  key: "0"
3240
3239
  } : void 0
@@ -3248,7 +3247,7 @@ const Zl = {
3248
3247
  name: "title",
3249
3248
  fn: y(() => [
3250
3249
  F("div", pn, [
3251
- Z(x.$slots, "title", {}, () => [
3250
+ Z(A.$slots, "title", {}, () => [
3252
3251
  J(V(m(o)("baseConfigCard.title")), 1)
3253
3252
  ], !0)
3254
3253
  ])
@@ -3320,8 +3319,8 @@ const Zl = {
3320
3319
  let s = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3321
3320
  return a.config.app === "konnect" ? s = s.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (s = s.replace(/\/{workspace}/gi, ($ = a.config) != null && $.workspace ? `/${a.config.workspace}` : "")), s = s.replace(/{id}/gi, a.editId), s;
3322
3321
  }), b = () => {
3323
- a.config.cancelRoute ? r.push(a.config.cancelRoute) : I();
3324
- }, I = () => {
3322
+ a.config.cancelRoute ? r.push(a.config.cancelRoute) : S();
3323
+ }, S = () => {
3325
3324
  i("cancel");
3326
3325
  }, k = () => {
3327
3326
  p.value || i("submit");
@@ -3341,13 +3340,13 @@ const Zl = {
3341
3340
  u.value = !1;
3342
3341
  }
3343
3342
  }), (v, $) => {
3344
- const s = L("KSkeleton"), j = L("KEmptyState"), C = L("KAlert"), B = L("KButton"), re = L("KCard");
3343
+ const s = L("KSkeleton"), E = L("KEmptyState"), x = L("KAlert"), B = L("KButton"), re = L("KCard");
3345
3344
  return h(), P(re, { class: "kong-ui-entity-base-form" }, {
3346
3345
  default: y(() => [
3347
3346
  u.value ? (h(), P(s, {
3348
3347
  key: 0,
3349
3348
  type: "form"
3350
- })) : d.value ? (h(), P(j, {
3349
+ })) : d.value ? (h(), P(E, {
3351
3350
  key: 1,
3352
3351
  "cta-text": m(o)("baseForm.actions.back"),
3353
3352
  "data-testid": "form-fetch-error",
@@ -3361,11 +3360,11 @@ const Zl = {
3361
3360
  }, 8, ["cta-text"])) : (h(), M("form", {
3362
3361
  key: 2,
3363
3362
  "data-testid": "form-content",
3364
- onReset: Fe(I, ["prevent"]),
3363
+ onReset: Fe(S, ["prevent"]),
3365
3364
  onSubmit: Fe(k, ["prevent"])
3366
3365
  }, [
3367
3366
  Z(v.$slots, "default", {}, void 0, !0),
3368
- e.errorMessage ? (h(), P(C, {
3367
+ e.errorMessage ? (h(), P(x, {
3369
3368
  key: 0,
3370
3369
  "alert-message": e.errorMessage,
3371
3370
  appearance: "danger",
@@ -3373,7 +3372,7 @@ const Zl = {
3373
3372
  }, null, 8, ["alert-message"])) : D("", !0),
3374
3373
  F("div", kn, [
3375
3374
  Z(v.$slots, "form-actions", {}, () => [
3376
- S(B, {
3375
+ C(B, {
3377
3376
  appearance: "secondary",
3378
3377
  "data-testid": "form-cancel",
3379
3378
  disabled: e.isReadonly,
@@ -3384,7 +3383,7 @@ const Zl = {
3384
3383
  ]),
3385
3384
  _: 1
3386
3385
  }, 8, ["disabled"]),
3387
- S(B, {
3386
+ C(B, {
3388
3387
  appearance: "primary",
3389
3388
  "data-testid": "form-submit",
3390
3389
  disabled: p.value,
@@ -3450,7 +3449,7 @@ const Zl = {
3450
3449
  }
3451
3450
  },
3452
3451
  { immediate: !0, flush: "post", deep: !0 }
3453
- ), I = T(() => r.value ? d.value > f.value : !1);
3452
+ ), S = T(() => r.value ? d.value > f.value : !1);
3454
3453
  return ai(() => {
3455
3454
  l();
3456
3455
  }), na(() => {
@@ -3463,8 +3462,8 @@ const Zl = {
3463
3462
  class: "content-wrapper"
3464
3463
  }, [
3465
3464
  r.value ? (h(), M("span", In, [
3466
- S($, {
3467
- label: I.value ? p.value : "",
3465
+ C($, {
3466
+ label: S.value ? p.value : "",
3468
3467
  "max-width": "300",
3469
3468
  placement: "bottomStart"
3470
3469
  }, {
@@ -3480,7 +3479,7 @@ const Zl = {
3480
3479
  }), xn = /* @__PURE__ */ ve(An, [["__scopeId", "data-v-e42a20c9"]]), Tn = { class: "toolbar-container" }, $n = {
3481
3480
  key: 0,
3482
3481
  class: "toolbar-button-container"
3483
- }, Mn = ["data-testid"], En = /* @__PURE__ */ ae({
3482
+ }, Mn = ["data-testid"], jn = /* @__PURE__ */ ae({
3484
3483
  __name: "EntityBaseTable",
3485
3484
  props: {
3486
3485
  // table header configuration
@@ -3591,42 +3590,42 @@ const Zl = {
3591
3590
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3592
3591
  setup(e, { emit: i }) {
3593
3592
  const t = e, { i18n: { t: a } } = ne.useI18n(), r = T(() => {
3594
- var C, B;
3593
+ var x, B;
3595
3594
  return typeof t.errorMessage == "string" ? {
3596
3595
  hasError: !!t.errorMessage,
3597
3596
  title: t.errorMessage,
3598
3597
  message: void 0
3599
3598
  } : {
3600
3599
  hasError: !!t.errorMessage,
3601
- title: (C = t.errorMessage) == null ? void 0 : C.title,
3600
+ title: (x = t.errorMessage) == null ? void 0 : x.title,
3602
3601
  message: (B = t.errorMessage) == null ? void 0 : B.message
3603
3602
  };
3604
- }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), n = (C) => C.hasData || !!t.query, l = T(() => {
3605
- const C = [];
3603
+ }), o = T(() => t.cacheIdentifier || t.preferencesStorageKey), n = (x) => x.hasData || !!t.query, l = T(() => {
3604
+ const x = [];
3606
3605
  return Object.keys(t.tableHeaders).forEach((B) => {
3607
3606
  const re = t.tableHeaders[B];
3608
- C.push({
3607
+ x.push({
3609
3608
  label: re.label ?? B,
3610
3609
  key: B,
3611
3610
  sortable: re.sortable ?? !1
3612
3611
  });
3613
- }), t.enableEntityActions && C.push({
3612
+ }), t.enableEntityActions && x.push({
3614
3613
  key: "actions",
3615
3614
  hideLabel: !0
3616
- }), C;
3617
- }), u = (C) => ({
3618
- "data-rowid": C.id,
3619
- "data-testid": C.name,
3620
- ...t.rowAttributes(C)
3621
- }), d = N({}), f = (C) => {
3615
+ }), x;
3616
+ }), u = (x) => ({
3617
+ "data-rowid": x.id,
3618
+ "data-testid": x.name,
3619
+ ...t.rowAttributes(x)
3620
+ }), d = N({}), f = (x) => {
3622
3621
  var B;
3623
- return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${C.id}"]`);
3624
- }, p = (C) => {
3622
+ return (B = d.value) == null ? void 0 : B.$el.querySelector(`[data-rowid="${x.id}"]`);
3623
+ }, p = (x) => {
3625
3624
  const B = {
3626
- "data-testid": C.headerKey,
3627
- ...t.cellAttributes(C)
3625
+ "data-testid": x.headerKey,
3626
+ ...t.cellAttributes(x)
3628
3627
  };
3629
- return C.colIndex === 0 && (B.style = {
3628
+ return x.colIndex === 0 && (B.style = {
3630
3629
  maxWidth: "250px",
3631
3630
  overflowX: "hidden",
3632
3631
  textOverflow: "ellipsis"
@@ -3635,27 +3634,27 @@ const Zl = {
3635
3634
  i("empty-state-cta-clicked"), b();
3636
3635
  }, b = () => {
3637
3636
  i("clear-search-input");
3638
- }, I = T(() => t.disableRowClick ? void 0 : (C, B) => {
3637
+ }, S = T(() => t.disableRowClick ? void 0 : (x, B) => {
3639
3638
  i("click:row", B);
3640
- }), k = (C) => {
3641
- i("sort", C);
3639
+ }), k = (x) => {
3640
+ i("sort", x);
3642
3641
  }, { setTablePreferences: v, getTablePreferences: $ } = ka(), s = T(() => {
3643
- const C = $(t.preferencesStorageKey);
3642
+ const x = $(t.preferencesStorageKey);
3644
3643
  return {
3645
3644
  ...t.initialFetcherParams,
3646
- ...C
3645
+ ...x
3647
3646
  };
3648
- }), j = (C) => {
3649
- t.preferencesStorageKey && v(t.preferencesStorageKey, C);
3647
+ }), E = (x) => {
3648
+ t.preferencesStorageKey && v(t.preferencesStorageKey, x);
3650
3649
  };
3651
- return (C, B) => {
3652
- const re = L("KIcon"), W = L("KButton"), x = L("KDropdown"), q = L("KTable"), U = L("KCard");
3650
+ return (x, B) => {
3651
+ const re = L("KIcon"), W = L("KButton"), A = L("KDropdown"), q = L("KTable"), U = L("KCard");
3653
3652
  return h(), P(U, {
3654
3653
  class: "kong-ui-entity-base-table",
3655
3654
  title: e.title
3656
3655
  }, {
3657
3656
  default: y(() => [
3658
- S(q, {
3657
+ C(q, {
3659
3658
  ref_key: "tableRefs",
3660
3659
  ref: d,
3661
3660
  "cache-identifier": o.value,
@@ -3683,15 +3682,15 @@ const Zl = {
3683
3682
  "row-attrs": u,
3684
3683
  "search-input": e.query,
3685
3684
  onKtableEmptyStateCtaClicked: w,
3686
- "onRow:click": I.value,
3685
+ "onRow:click": S.value,
3687
3686
  onSort: B[0] || (B[0] = (K) => k(K)),
3688
- "onUpdate:tablePreferences": j
3687
+ "onUpdate:tablePreferences": E
3689
3688
  }, xe({
3690
3689
  toolbar: y(({ state: K }) => [
3691
3690
  Ue(F("div", Tn, [
3692
- Z(C.$slots, "toolbar-filter", {}, void 0, !0),
3693
- C.$slots["toolbar-button"] ? (h(), M("div", $n, [
3694
- Z(C.$slots, "toolbar-button", {}, void 0, !0)
3691
+ Z(x.$slots, "toolbar-filter", {}, void 0, !0),
3692
+ x.$slots["toolbar-button"] ? (h(), M("div", $n, [
3693
+ Z(x.$slots, "toolbar-button", {}, void 0, !0)
3695
3694
  ])) : D("", !0)
3696
3695
  ], 512), [
3697
3696
  [Re, n(K)]
@@ -3702,25 +3701,25 @@ const Zl = {
3702
3701
  class: "actions-container",
3703
3702
  "data-testid": K.name
3704
3703
  }, [
3705
- S(x, {
3704
+ C(A, {
3706
3705
  "kpop-attributes": { placement: "bottomEnd" },
3707
3706
  width: e.dropdownMenuWidth
3708
3707
  }, {
3709
3708
  items: y(() => [
3710
- Z(C.$slots, "actions", {
3709
+ Z(x.$slots, "actions", {
3711
3710
  row: K,
3712
3711
  rowKey: H,
3713
3712
  rowValue: R
3714
3713
  }, void 0, !0)
3715
3714
  ]),
3716
3715
  default: y(() => [
3717
- S(W, {
3716
+ C(W, {
3718
3717
  class: "actions-trigger",
3719
3718
  "data-testid": "overflow-actions-button",
3720
3719
  size: "small"
3721
3720
  }, {
3722
3721
  icon: y(() => [
3723
- S(re, {
3722
+ C(re, {
3724
3723
  color: m(gr),
3725
3724
  icon: "more",
3726
3725
  size: "16"
@@ -3738,12 +3737,12 @@ const Zl = {
3738
3737
  ge(e.tableHeaders, (K, H) => ({
3739
3738
  name: H,
3740
3739
  fn: y(({ row: R, rowKey: Q, rowValue: z }) => [
3741
- S(xn, {
3740
+ C(xn, {
3742
3741
  "key-name": String(H),
3743
3742
  "row-el": f(R)
3744
3743
  }, {
3745
3744
  default: y(() => [
3746
- Z(C.$slots, H, {
3745
+ Z(x.$slots, H, {
3747
3746
  row: R,
3748
3747
  rowKey: Q,
3749
3748
  rowValue: z
@@ -3761,7 +3760,7 @@ const Zl = {
3761
3760
  }, 8, ["title"]);
3762
3761
  };
3763
3762
  }
3764
- }), jn = /* @__PURE__ */ ve(En, [["__scopeId", "data-v-57b5a97b"]]), On = {
3763
+ }), En = /* @__PURE__ */ ve(jn, [["__scopeId", "data-v-57b5a97b"]]), On = {
3765
3764
  key: 0,
3766
3765
  class: "kong-ui-entity-delete-error"
3767
3766
  }, Vn = {
@@ -3826,14 +3825,14 @@ const Zl = {
3826
3825
  }, {
3827
3826
  "body-content": y(() => [
3828
3827
  e.error ? (h(), M("div", On, [
3829
- S(d, { appearance: "danger" }, {
3828
+ C(d, { appearance: "danger" }, {
3830
3829
  alertMessage: y(() => [
3831
3830
  J(V(e.error), 1)
3832
3831
  ]),
3833
3832
  _: 1
3834
3833
  })
3835
3834
  ])) : D("", !0),
3836
- S(m(a), {
3835
+ C(m(a), {
3837
3836
  class: "message",
3838
3837
  keypath: t.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3839
3838
  tag: "p"
@@ -3946,9 +3945,9 @@ const Zl = {
3946
3945
  i("update:modelValue", v);
3947
3946
  }, f = (v) => `filter-${v}`, p = (v) => {
3948
3947
  var $, s;
3949
- return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((j) => ({
3950
- value: j,
3951
- label: j
3948
+ return (((s = ($ = t.config.schema) == null ? void 0 : $[v]) == null ? void 0 : s.values) ?? []).map((E) => ({
3949
+ value: E,
3950
+ label: E
3952
3951
  }));
3953
3952
  }, w = (v) => {
3954
3953
  var $, s;
@@ -3958,14 +3957,14 @@ const Zl = {
3958
3957
  ...o.value,
3959
3958
  [v]: ""
3960
3959
  }, k();
3961
- }, I = () => {
3960
+ }, S = () => {
3962
3961
  o.value = {}, k(!0);
3963
3962
  }, k = (v = !1) => {
3964
- const $ = Object.keys(o.value).reduce((s, j) => (o.value[j] && (s[j] = `${o.value[j]}`), s), {});
3963
+ const $ = Object.keys(o.value).reduce((s, E) => (o.value[E] && (s[E] = `${o.value[E]}`), s), {});
3965
3964
  v && (r.value = !1), i("update:modelValue", new URLSearchParams($).toString());
3966
3965
  };
3967
3966
  return (v, $) => {
3968
- const s = L("KInput"), j = L("KButton"), C = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3967
+ const s = L("KInput"), E = L("KButton"), x = L("KSelect"), B = L("KMenuItem"), re = L("KMenu");
3969
3968
  return e.config.isExactMatch ? (h(), P(s, {
3970
3969
  key: 0,
3971
3970
  autocomplete: "off",
@@ -3976,17 +3975,17 @@ const Zl = {
3976
3975
  "onUpdate:modelValue": d
3977
3976
  }, {
3978
3977
  before: y(() => [
3979
- S(ei)
3978
+ C(ei)
3980
3979
  ]),
3981
3980
  _: 1
3982
3981
  }, 8, ["model-value", "placeholder"])) : (h(), M("div", Un, [
3983
- S(j, {
3982
+ C(E, {
3984
3983
  appearance: "tertiary",
3985
3984
  "data-testid": "filter-button",
3986
3985
  onClick: u
3987
3986
  }, {
3988
3987
  default: y(() => [
3989
- S(ei),
3988
+ C(ei),
3990
3989
  J(" " + V(m(a)("filter.filterButtonText")) + " " + V(n.value.length > 0 ? `(${n.value.length})` : ""), 1)
3991
3990
  ]),
3992
3991
  _: 1
@@ -3997,13 +3996,13 @@ const Zl = {
3997
3996
  }, null, 512), [
3998
3997
  [Re, r.value]
3999
3998
  ]),
4000
- Ue(S(re, { class: "kong-ui-entity-filter-menu" }, {
3999
+ Ue(C(re, { class: "kong-ui-entity-filter-menu" }, {
4001
4000
  body: y(() => [
4002
- (h(!0), M(ye, null, ge(l.value, (W, x) => (h(), P(B, {
4001
+ (h(!0), M(ye, null, ge(l.value, (W, A) => (h(), P(B, {
4003
4002
  key: W.value,
4004
4003
  "data-testid": W.value,
4005
4004
  expandable: "",
4006
- "last-menu-item": x === l.value.length - 1
4005
+ "last-menu-item": A === l.value.length - 1
4007
4006
  }, {
4008
4007
  itemTitle: y(() => [
4009
4008
  F("span", Rn, [
@@ -4021,7 +4020,7 @@ const Zl = {
4021
4020
  class: "menu-item-label",
4022
4021
  for: f(W.value)
4023
4022
  }, V(m(a)("filter.fieldLabel")), 9, zn),
4024
- ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(C, {
4023
+ ((U = (q = e.config.schema) == null ? void 0 : q[W.value]) == null ? void 0 : U.type) === "select" ? (h(), P(x, {
4025
4024
  key: 0,
4026
4025
  id: f(W.value),
4027
4026
  modelValue: o.value[W.value],
@@ -4040,7 +4039,7 @@ const Zl = {
4040
4039
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4041
4040
  ]),
4042
4041
  F("div", Jn, [
4043
- S(j, {
4042
+ C(E, {
4044
4043
  appearance: "tertiary",
4045
4044
  "data-testid": "apply-filter",
4046
4045
  size: "small",
@@ -4051,7 +4050,7 @@ const Zl = {
4051
4050
  ]),
4052
4051
  _: 1
4053
4052
  }),
4054
- S(j, {
4053
+ C(E, {
4055
4054
  appearance: "tertiary",
4056
4055
  "data-testid": "clear-filter",
4057
4056
  size: "small",
@@ -4070,10 +4069,10 @@ const Zl = {
4070
4069
  ]),
4071
4070
  actionButton: y(() => [
4072
4071
  F("div", Gn, [
4073
- S(j, {
4072
+ C(E, {
4074
4073
  appearance: "tertiary",
4075
4074
  size: "small",
4076
- onClick: I
4075
+ onClick: S
4077
4076
  }, {
4078
4077
  default: y(() => [
4079
4078
  J(V(m(a)("filter.clearAllButtonText")), 1)
@@ -4140,7 +4139,7 @@ const Zl = {
4140
4139
  return (f, p) => {
4141
4140
  const w = L("KPrompt");
4142
4141
  return h(), P(ii, { to: "body" }, [
4143
- S(w, {
4142
+ C(w, {
4144
4143
  "action-button-text": l.value,
4145
4144
  "action-pending": o.value,
4146
4145
  "data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
@@ -4151,7 +4150,7 @@ const Zl = {
4151
4150
  onProceed: d
4152
4151
  }, {
4153
4152
  "body-content": y(() => [
4154
- S(m(r), {
4153
+ C(m(r), {
4155
4154
  keypath: `toggleModal.${t.action}.message`,
4156
4155
  scope: "global"
4157
4156
  }, {
@@ -4332,16 +4331,16 @@ const Zl = {
4332
4331
  fields: { name: g, enabled: O, protocol: G, host: te, port: se, path: _ },
4333
4332
  schema: t.config.filterSchema
4334
4333
  };
4335
- }), { fetcher: I, fetcherState: k } = ls(t.config, f.value), v = () => {
4334
+ }), { fetcher: S, fetcherState: k } = ls(t.config, f.value), v = () => {
4336
4335
  w.value = "";
4337
4336
  }, $ = () => {
4338
4337
  n.value++;
4339
- }, s = N(null), j = T(() => ({
4338
+ }, s = N(null), E = T(() => ({
4340
4339
  ctaPath: t.config.createRoute,
4341
4340
  ctaText: Ie.value ? a("actions.create") : void 0,
4342
4341
  message: a("gateway_services.list.empty_state.description"),
4343
4342
  title: Ie.value ? a("gateway_services.list.empty_state.title") : ""
4344
- })), C = N(!1), B = N(null), re = T(() => {
4343
+ })), x = N(!1), B = N(null), re = T(() => {
4345
4344
  const c = {
4346
4345
  action: "disable",
4347
4346
  id: "",
@@ -4353,9 +4352,9 @@ const Zl = {
4353
4352
  }
4354
4353
  return c;
4355
4354
  }), W = (c) => {
4356
- C.value = !0, B.value = c;
4357
- }, x = () => {
4358
- C.value = !1, B.value = null;
4355
+ x.value = !0, B.value = c;
4356
+ }, A = () => {
4357
+ x.value = !1, B.value = null;
4359
4358
  }, q = async () => {
4360
4359
  var G, te;
4361
4360
  if (!await ((G = t.canEdit) == null ? void 0 : G.call(t, B.value)) || !B.value)
@@ -4438,14 +4437,14 @@ const Zl = {
4438
4437
  }), (c, g) => {
4439
4438
  const O = L("KButton"), G = L("KInputSwitch"), te = L("KBadge"), se = L("KTruncate"), _ = L("KDropdownItem"), qe = L("KClipboardProvider");
4440
4439
  return h(), M("div", cs, [
4441
- S(m(jn), {
4440
+ C(m(En), {
4442
4441
  "cache-identifier": e.cacheIdentifier,
4443
4442
  "disable-pagination-page-jump": "",
4444
4443
  "disable-sorting": l.value,
4445
- "empty-state-options": j.value,
4444
+ "empty-state-options": E.value,
4446
4445
  "enable-entity-actions": "",
4447
4446
  "error-message": s.value,
4448
- fetcher: m(I),
4447
+ fetcher: m(S),
4449
4448
  "fetcher-cache-key": n.value,
4450
4449
  "pagination-type": "offset",
4451
4450
  "preferences-storage-key": "kong-ui-entities-gateway-services-list",
@@ -4453,13 +4452,13 @@ const Zl = {
4453
4452
  "table-headers": m(d),
4454
4453
  "use-action-outside": e.useActionOutside,
4455
4454
  onClearSearchInput: v,
4456
- "onClick:row": g[3] || (g[3] = (A) => H(A)),
4455
+ "onClick:row": g[3] || (g[3] = (I) => H(I)),
4457
4456
  onSort: $
4458
4457
  }, {
4459
4458
  "toolbar-filter": y(() => [
4460
- S(m(Yn), {
4459
+ C(m(Yn), {
4461
4460
  modelValue: w.value,
4462
- "onUpdate:modelValue": g[0] || (g[0] = (A) => w.value = A),
4461
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => w.value = I),
4463
4462
  config: b.value
4464
4463
  }, null, 8, ["modelValue", "config"])
4465
4464
  ]),
@@ -4468,11 +4467,11 @@ const Zl = {
4468
4467
  disabled: !e.useActionOutside,
4469
4468
  to: "#kong-ui-app-page-header-action-button"
4470
4469
  }, [
4471
- S(m(Be), {
4470
+ C(m(Be), {
4472
4471
  "auth-function": () => e.canCreate()
4473
4472
  }, {
4474
4473
  default: y(() => [
4475
- Ue(S(O, {
4474
+ Ue(C(O, {
4476
4475
  appearance: "primary",
4477
4476
  "data-testid": "toolbar-add-gateway-service",
4478
4477
  icon: "plus",
@@ -4490,12 +4489,12 @@ const Zl = {
4490
4489
  }, 8, ["auth-function"])
4491
4490
  ], 8, ["disabled"]))
4492
4491
  ]),
4493
- name: y(({ rowValue: A }) => [
4494
- F("b", null, V(A ?? "-"), 1)
4492
+ name: y(({ rowValue: I }) => [
4493
+ F("b", null, V(I ?? "-"), 1)
4495
4494
  ]),
4496
- enabled: y(({ row: A }) => [
4497
- S(m(Be), {
4498
- "auth-function": () => e.canEdit(A),
4495
+ enabled: y(({ row: I }) => [
4496
+ C(m(Be), {
4497
+ "auth-function": () => e.canEdit(I),
4499
4498
  "force-show": ""
4500
4499
  }, {
4501
4500
  default: y(({ isAllowed: we }) => [
@@ -4503,23 +4502,23 @@ const Zl = {
4503
4502
  onClick: g[1] || (g[1] = Fe(() => {
4504
4503
  }, ["stop"]))
4505
4504
  }, [
4506
- S(G, {
4507
- modelValue: A.enabled,
4508
- "onUpdate:modelValue": (We) => A.enabled = We,
4509
- "data-testid": `row-${A.id}-toggle-input`,
4505
+ C(G, {
4506
+ modelValue: I.enabled,
4507
+ "onUpdate:modelValue": (We) => I.enabled = We,
4508
+ "data-testid": `row-${I.id}-toggle-input`,
4510
4509
  disabled: !we,
4511
- label: A.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4512
- onClick: Fe((We) => W(A), ["prevent"])
4510
+ label: I.enabled ? m(a)("actions.enable.enabled_label") : m(a)("actions.enable.disabled_label"),
4511
+ onClick: Fe((We) => W(I), ["prevent"])
4513
4512
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "disabled", "label", "onClick"])
4514
4513
  ])
4515
4514
  ]),
4516
4515
  _: 2
4517
4516
  }, 1032, ["auth-function"])
4518
4517
  ]),
4519
- tags: y(({ rowValue: A }) => [
4520
- (A == null ? void 0 : A.length) > 0 ? (h(), P(se, { key: 0 }, {
4518
+ tags: y(({ rowValue: I }) => [
4519
+ (I == null ? void 0 : I.length) > 0 ? (h(), P(se, { key: 0 }, {
4521
4520
  default: y(() => [
4522
- (h(!0), M(ye, null, ge(A, (we) => (h(), P(te, {
4521
+ (h(!0), M(ye, null, ge(I, (we) => (h(), P(te, {
4523
4522
  key: we,
4524
4523
  onClick: g[2] || (g[2] = Fe(() => {
4525
4524
  }, ["stop"]))
@@ -4533,12 +4532,12 @@ const Zl = {
4533
4532
  _: 2
4534
4533
  }, 1024)) : (h(), M("span", us, "-"))
4535
4534
  ]),
4536
- actions: y(({ row: A }) => [
4537
- S(qe, null, {
4535
+ actions: y(({ row: I }) => [
4536
+ C(qe, null, {
4538
4537
  default: y(({ copyToClipboard: we }) => [
4539
- S(_, {
4538
+ C(_, {
4540
4539
  "data-testid": "action-entity-copy-id",
4541
- onClick: (We) => U(A, we)
4540
+ onClick: (We) => U(I, we)
4542
4541
  }, {
4543
4542
  default: y(() => [
4544
4543
  J(V(m(a)("actions.copy_id")), 1)
@@ -4548,11 +4547,11 @@ const Zl = {
4548
4547
  ]),
4549
4548
  _: 2
4550
4549
  }, 1024),
4551
- S(qe, null, {
4550
+ C(qe, null, {
4552
4551
  default: y(({ copyToClipboard: we }) => [
4553
- S(_, {
4552
+ C(_, {
4554
4553
  "data-testid": "action-entity-copy-json",
4555
- onClick: (We) => K(A, we)
4554
+ onClick: (We) => K(I, we)
4556
4555
  }, {
4557
4556
  default: y(() => [
4558
4557
  J(V(m(a)("actions.copy_json")), 1)
@@ -4562,38 +4561,38 @@ const Zl = {
4562
4561
  ]),
4563
4562
  _: 2
4564
4563
  }, 1024),
4565
- S(m(Be), {
4566
- "auth-function": () => e.canRetrieve(A)
4564
+ C(m(Be), {
4565
+ "auth-function": () => e.canRetrieve(I)
4567
4566
  }, {
4568
4567
  default: y(() => [
4569
- S(_, {
4568
+ C(_, {
4570
4569
  "data-testid": "action-entity-view",
4571
4570
  "has-divider": "",
4572
- item: R(A.id)
4571
+ item: R(I.id)
4573
4572
  }, null, 8, ["item"])
4574
4573
  ]),
4575
4574
  _: 2
4576
4575
  }, 1032, ["auth-function"]),
4577
- S(m(Be), {
4578
- "auth-function": () => e.canEdit(A)
4576
+ C(m(Be), {
4577
+ "auth-function": () => e.canEdit(I)
4579
4578
  }, {
4580
4579
  default: y(() => [
4581
- S(_, {
4580
+ C(_, {
4582
4581
  "data-testid": "action-entity-edit",
4583
- item: Q(A.id)
4582
+ item: Q(I.id)
4584
4583
  }, null, 8, ["item"])
4585
4584
  ]),
4586
4585
  _: 2
4587
4586
  }, 1032, ["auth-function"]),
4588
- S(m(Be), {
4589
- "auth-function": () => e.canDelete(A)
4587
+ C(m(Be), {
4588
+ "auth-function": () => e.canDelete(I)
4590
4589
  }, {
4591
4590
  default: y(() => [
4592
- S(_, {
4591
+ C(_, {
4593
4592
  danger: "",
4594
4593
  "data-testid": "action-entity-delete",
4595
4594
  "has-divider": "",
4596
- onClick: (we) => rt(A)
4595
+ onClick: (we) => rt(I)
4597
4596
  }, {
4598
4597
  default: y(() => [
4599
4598
  J(V(m(a)("actions.delete.menu_label")), 1)
@@ -4606,17 +4605,17 @@ const Zl = {
4606
4605
  ]),
4607
4606
  _: 1
4608
4607
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4609
- S(m(Zn), {
4608
+ C(m(Zn), {
4610
4609
  action: re.value.action,
4611
4610
  "entity-id": re.value.id,
4612
4611
  "entity-name": re.value.name,
4613
4612
  "entity-type": m(a)("glossary.gateway_services"),
4614
4613
  "on-confirm": q,
4615
- visible: C.value,
4616
- onCanceled: x,
4617
- onProceed: x
4614
+ visible: x.value,
4615
+ onCanceled: A,
4616
+ onProceed: A
4618
4617
  }, null, 8, ["action", "entity-id", "entity-name", "entity-type", "visible"]),
4619
- S(m(Nn), {
4618
+ C(m(Nn), {
4620
4619
  "action-pending": Y.value,
4621
4620
  description: m(a)("actions.delete.description"),
4622
4621
  "entity-name": z.value && (z.value.name || z.value.id),
@@ -4683,7 +4682,7 @@ const Zl = {
4683
4682
  var Le;
4684
4683
  const a = e, r = N(!0), o = ht(), { i18nT: n, i18n: { t: l } } = Ye.useI18n(), { getMessageFromError: u } = os(), { axiosInstance: d } = ia({
4685
4684
  headers: (Le = a.config) == null ? void 0 : Le.requestHeaders
4686
- }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), b = T(() => !!a.gatewayServiceId), I = N(b.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4685
+ }), f = T(() => De.form[a.config.app].edit), p = T(() => a.gatewayServiceId ? dt.Edit : dt.Create), w = N(!1), b = T(() => !!a.gatewayServiceId), S = N(b.value ? "protocol" : "url"), k = Ye.usePortFromProtocol(), v = N(""), $ = T(() => !!v.value), s = $t({
4687
4686
  fields: {
4688
4687
  name: "",
4689
4688
  protocol: "http",
@@ -4703,7 +4702,7 @@ const Zl = {
4703
4702
  },
4704
4703
  isReadonly: !1,
4705
4704
  errorMessage: ""
4706
- }), j = $t({
4705
+ }), E = $t({
4707
4706
  name: "",
4708
4707
  protocol: "http",
4709
4708
  host: "",
@@ -4719,7 +4718,7 @@ const Zl = {
4719
4718
  tls_verify_enabled: !1,
4720
4719
  tls_verify_value: !1,
4721
4720
  tags: ""
4722
- }), C = a.config.app === "konnect" || ss({
4721
+ }), x = a.config.app === "konnect" || ss({
4723
4722
  gatewayInfo: a.config.gatewayInfo,
4724
4723
  // 'ws' and 'wss' are not valid values for the protocol field in Gateway Community Edition or before Gateway Enterprise Edition 3.0
4725
4724
  supportedRange: {
@@ -4761,7 +4760,7 @@ const Zl = {
4761
4760
  value: "grpcs",
4762
4761
  group: "grpc"
4763
4762
  },
4764
- ...C ? [
4763
+ ...x ? [
4765
4764
  {
4766
4765
  label: l("gateway_services.form.fields.protocol.options.ws"),
4767
4766
  value: "ws",
@@ -4780,10 +4779,10 @@ const Zl = {
4780
4779
  }
4781
4780
  ], re = { url: "url", protocol: "protocol" }, W = (c, g) => {
4782
4781
  g.value;
4783
- }, x = (c) => c ? parseFloat(c) : 0, q = () => {
4784
- r.value = !0, s.errorMessage = "", s.fields.host = j.host, s.fields.path = j.path, s.fields.port = j.port, s.fields.protocol = j.protocol, s.fields.url = j.url, s.fields.retries = j.retries, s.fields.connect_timeout = j.connect_timeout, s.fields.write_timeout = j.write_timeout, s.fields.read_timeout = j.read_timeout, s.fields.client_certificate = j.client_certificate, s.fields.ca_certificates = j.ca_certificates, s.fields.tls_verify_enabled = j.tls_verify_enabled, s.fields.tls_verify_value = j.tls_verify_value;
4782
+ }, A = (c) => c ? parseFloat(c) : 0, q = () => {
4783
+ r.value = !0, s.errorMessage = "", s.fields.host = E.host, s.fields.path = E.path, s.fields.port = E.port, s.fields.protocol = E.protocol, s.fields.url = E.url, s.fields.retries = E.retries, s.fields.connect_timeout = E.connect_timeout, s.fields.write_timeout = E.write_timeout, s.fields.read_timeout = E.read_timeout, s.fields.client_certificate = E.client_certificate, s.fields.ca_certificates = E.ca_certificates, s.fields.tls_verify_enabled = E.tls_verify_enabled, s.fields.tls_verify_value = E.tls_verify_value;
4785
4784
  }, U = () => {
4786
- if (s.fields.url && I.value === "url")
4785
+ if (s.fields.url && S.value === "url")
4787
4786
  try {
4788
4787
  const c = new URL(s.fields.url);
4789
4788
  s.errorMessage = "", s.fields.protocol = c.protocol.slice(0, -1), s.fields.host = c.hostname, s.fields.path = c.pathname;
@@ -4795,25 +4794,25 @@ const Zl = {
4795
4794
  else
4796
4795
  t("url-valid:success"), s.errorMessage = "";
4797
4796
  }, K = T(() => !["tcp", "tls", "tls_passthrough", "grpc", "grpcs", "udp"].includes(s.fields.protocol)), H = T(() => {
4798
- if (I.value === "url")
4797
+ if (S.value === "url")
4799
4798
  return !0;
4800
4799
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4801
- return I.value === "protocol" && c;
4800
+ return S.value === "protocol" && c;
4802
4801
  }), R = T(() => {
4803
- if (I.value === "url")
4802
+ if (S.value === "url")
4804
4803
  return !0;
4805
4804
  const c = ["https", "tls"].includes(s.fields.protocol);
4806
- return I.value === "protocol" && c;
4805
+ return S.value === "protocol" && c;
4807
4806
  }), Q = T(() => {
4808
- if (I.value === "url")
4807
+ if (S.value === "url")
4809
4808
  return !0;
4810
4809
  const c = ["https", "wss", "tls"].includes(s.fields.protocol);
4811
- return I.value === "protocol" && c;
4810
+ return S.value === "protocol" && c;
4812
4811
  }), z = (c) => new RegExp("^[0-9a-zA-Z.\\-_~]*$").test(c) ? "" : l("errors.validationNameError"), ie = (c) => {
4813
4812
  v.value = z(c);
4814
- }, Y = T(() => b.value && JSON.stringify(s.fields) !== JSON.stringify(j) || I.value === "url" && !!s.fields.url || I.value === "protocol" && !!s.fields.host), X = (c) => {
4813
+ }, Y = T(() => b.value && JSON.stringify(s.fields) !== JSON.stringify(E) || S.value === "url" && !!s.fields.url || S.value === "protocol" && !!s.fields.host), X = (c) => {
4815
4814
  var g, O, G;
4816
- s.fields.name = (c == null ? void 0 : c.name) || "", s.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", s.fields.protocol = (c == null ? void 0 : c.protocol) || "http", s.fields.path = (c == null ? void 0 : c.path) || "", s.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, s.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, s.fields.host = (c == null ? void 0 : c.host) || "", s.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, s.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, s.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, s.fields.ca_certificates = ((O = c == null ? void 0 : c.ca_certificates) == null ? void 0 : O.join(",")) || "", s.fields.client_certificate = ((G = c == null ? void 0 : c.client_certificate) == null ? void 0 : G.id) || "", s.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, s.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(j, s.fields);
4815
+ s.fields.name = (c == null ? void 0 : c.name) || "", s.fields.tags = ((g = c == null ? void 0 : c.tags) == null ? void 0 : g.join(",")) || "", s.fields.protocol = (c == null ? void 0 : c.protocol) || "http", s.fields.path = (c == null ? void 0 : c.path) || "", s.fields.read_timeout = c != null && c.read_timeout || (c == null ? void 0 : c.read_timeout) === 0 ? c == null ? void 0 : c.read_timeout : 6e4, s.fields.retries = c != null && c.retries || (c == null ? void 0 : c.retries) === 0 ? c == null ? void 0 : c.retries : 5, s.fields.host = (c == null ? void 0 : c.host) || "", s.fields.connect_timeout = c != null && c.connect_timeout || (c == null ? void 0 : c.connect_timeout) === 0 ? c == null ? void 0 : c.connect_timeout : 6e4, s.fields.tls_verify_enabled = (c == null ? void 0 : c.tls_verify) !== "" && (c == null ? void 0 : c.tls_verify) !== null && (c == null ? void 0 : c.tls_verify) !== void 0, s.fields.tls_verify_value = c != null && c.tls_verify ? c == null ? void 0 : c.tls_verify : !1, s.fields.ca_certificates = ((O = c == null ? void 0 : c.ca_certificates) == null ? void 0 : O.join(",")) || "", s.fields.client_certificate = ((G = c == null ? void 0 : c.client_certificate) == null ? void 0 : G.id) || "", s.fields.write_timeout = c != null && c.write_timeout || (c == null ? void 0 : c.write_timeout) === 0 ? c == null ? void 0 : c.write_timeout : 6e4, s.fields.port = c != null && c.port || (c == null ? void 0 : c.port) === 0 ? c == null ? void 0 : c.port : 80, Object.assign(E, s.fields);
4817
4816
  }, ce = () => {
4818
4817
  o.push(a.config.cancelRoute);
4819
4818
  }, rt = T(() => {
@@ -4846,7 +4845,7 @@ const Zl = {
4846
4845
  port: s.fields.port,
4847
4846
  url: s.fields.url
4848
4847
  };
4849
- return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? I.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4848
+ return s.fields.client_certificate && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.client_certificate = { id: s.fields.client_certificate }), s.fields.tls_verify_enabled && ["https", "wss", "tls"].includes(s.fields.protocol) && (c.tls_verify = s.fields.tls_verify_value), K.value || (c.path = null), p.value === "create" ? S.value === "url" ? (delete c.protocol, delete c.host, delete c.path, a.config.app === "konnect" && delete c.port) : delete c.url : p.value === "edit" && delete c.url, c;
4850
4849
  }, Ie = async () => {
4851
4850
  var c, g, O, G;
4852
4851
  try {
@@ -4855,7 +4854,7 @@ const Zl = {
4855
4854
  let se;
4856
4855
  if (ot(te), await d.post(rt.value, te), p.value === "create" ? se = await d.post(Me.value, te) : p.value === "edit" && (se = ((c = a.config) == null ? void 0 : c.app) === "konnect" ? await d.put(Me.value, te) : await d.patch(Me.value, te)), se) {
4857
4856
  const { data: _ } = se;
4858
- s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (G = _ == null ? void 0 : _.tags) != null && G.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(j, s.fields), t("update", se == null ? void 0 : se.data);
4857
+ s.fields.name = (_ == null ? void 0 : _.name) || "", s.fields.port = _.port || k.getPortFromProtocol(_.protocol), s.fields.protocol = (_ == null ? void 0 : _.protocol) || "http", s.fields.host = (_ == null ? void 0 : _.host) || "", s.fields.path = (_ == null ? void 0 : _.path) || "", s.fields.url = (_ == null ? void 0 : _.url) || "", s.fields.retries = _ != null && _.retries || (_ == null ? void 0 : _.retries) === 0 ? _ == null ? void 0 : _.retries : 5, s.fields.connect_timeout = _ != null && _.connect_timeout || (_ == null ? void 0 : _.connect_timeout) === 0 ? _ == null ? void 0 : _.connect_timeout : 6e4, s.fields.write_timeout = _ != null && _.write_timeout || (_ == null ? void 0 : _.write_timeout) === 0 ? _ == null ? void 0 : _.write_timeout : 6e4, s.fields.read_timeout = _ != null && _.read_timeout || (_ == null ? void 0 : _.read_timeout) === 0 ? _ == null ? void 0 : _.read_timeout : 6e4, s.fields.client_certificate = ((g = _ == null ? void 0 : _.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (O = _ == null ? void 0 : _.ca_certificates) != null && O.length ? _ == null ? void 0 : _.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (_ == null ? void 0 : _.tls_verify) !== "" && (_ == null ? void 0 : _.tls_verify) !== null && (_ == null ? void 0 : _.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (_ == null ? void 0 : _.tls_verify), s.fields.tags = (G = _ == null ? void 0 : _.tags) != null && G.length ? _ == null ? void 0 : _.tags.join(",") : "", Object.assign(E, s.fields), t("update", se == null ? void 0 : se.data);
4859
4858
  }
4860
4859
  return se;
4861
4860
  } catch (te) {
@@ -4865,7 +4864,7 @@ const Zl = {
4865
4864
  }
4866
4865
  };
4867
4866
  return be(() => a.gatewayServiceId, () => {
4868
- Object.assign(s.fields, j);
4867
+ Object.assign(s.fields, E);
4869
4868
  }), be(s.fields, (c) => {
4870
4869
  s.fields.port = k.getPortFromProtocol(c.protocol, String(c.port)), t("model-updated", Se());
4871
4870
  }), ai(() => {
@@ -4878,7 +4877,7 @@ const Zl = {
4878
4877
  }), (c, g) => {
4879
4878
  const O = L("KInput"), G = L("KLabel"), te = L("KRadio"), se = L("KSelect"), _ = L("KCheckbox"), qe = L("KCollapse");
4880
4879
  return h(), M("div", ps, [
4881
- S(m(Sn), {
4880
+ C(m(Sn), {
4882
4881
  "can-submit": Y.value,
4883
4882
  config: e.config,
4884
4883
  "edit-id": e.gatewayServiceId,
@@ -4886,9 +4885,9 @@ const Zl = {
4886
4885
  "fetch-url": f.value,
4887
4886
  "is-readonly": s.isReadonly,
4888
4887
  onCancel: ce,
4889
- "onFetch:error": g[25] || (g[25] = (A) => c.$emit("error", A)),
4888
+ "onFetch:error": g[25] || (g[25] = (I) => c.$emit("error", I)),
4890
4889
  "onFetch:success": X,
4891
- onLoading: g[26] || (g[26] = (A) => c.$emit("loading", A)),
4890
+ onLoading: g[26] || (g[26] = (I) => c.$emit("loading", I)),
4892
4891
  onSubmit: Ie
4893
4892
  }, {
4894
4893
  "form-actions": y(() => [
@@ -4899,15 +4898,15 @@ const Zl = {
4899
4898
  }, void 0, !0)
4900
4899
  ]),
4901
4900
  default: y(() => [
4902
- S(m(ti), {
4901
+ C(m(ti), {
4903
4902
  description: m(l)("gateway_services.form.sections.general.description"),
4904
4903
  "hide-info-header": e.hideSectionsInfo,
4905
4904
  title: m(l)("gateway_services.form.sections.general.title")
4906
4905
  }, {
4907
4906
  default: y(() => [
4908
- S(O, {
4907
+ C(O, {
4909
4908
  modelValue: s.fields.name,
4910
- "onUpdate:modelValue": g[0] || (g[0] = (A) => s.fields.name = A),
4909
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => s.fields.name = I),
4911
4910
  modelModifiers: { trim: !0 },
4912
4911
  autocomplete: "off",
4913
4912
  "data-testid": "gateway-service-name-input",
@@ -4921,9 +4920,9 @@ const Zl = {
4921
4920
  type: "text",
4922
4921
  onInput: ie
4923
4922
  }, null, 8, ["modelValue", "error", "error-message", "label", "label-attributes", "placeholder", "readonly"]),
4924
- S(O, {
4923
+ C(O, {
4925
4924
  modelValue: s.fields.tags,
4926
- "onUpdate:modelValue": g[1] || (g[1] = (A) => s.fields.tags = A),
4925
+ "onUpdate:modelValue": g[1] || (g[1] = (I) => s.fields.tags = I),
4927
4926
  modelModifiers: { trim: !0 },
4928
4927
  autocomplete: "off",
4929
4928
  "data-testid": "gateway-service-tags-input",
@@ -4938,7 +4937,7 @@ const Zl = {
4938
4937
  ]),
4939
4938
  _: 1
4940
4939
  }, 8, ["description", "hide-info-header", "title"]),
4941
- S(m(ti), {
4940
+ C(m(ti), {
4942
4941
  description: m(l)("gateway_services.form.sections.keys.description"),
4943
4942
  "hide-info-header": e.hideSectionsInfo,
4944
4943
  title: m(l)("gateway_services.form.sections.keys.title")
@@ -4946,7 +4945,7 @@ const Zl = {
4946
4945
  default: y(() => [
4947
4946
  b.value ? D("", !0) : (h(), M("div", fs, [
4948
4947
  F("div", ms, [
4949
- S(G, { required: "" }, {
4948
+ C(G, { required: "" }, {
4950
4949
  default: y(() => [
4951
4950
  J(V(m(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
4952
4951
  ]),
@@ -4954,15 +4953,15 @@ const Zl = {
4954
4953
  })
4955
4954
  ]),
4956
4955
  F("div", gs, [
4957
- S(te, {
4958
- modelValue: I.value,
4959
- "onUpdate:modelValue": g[2] || (g[2] = (A) => I.value = A),
4956
+ C(te, {
4957
+ modelValue: S.value,
4958
+ "onUpdate:modelValue": g[2] || (g[2] = (I) => S.value = I),
4960
4959
  "data-testid": "gateway-service-url-radio",
4961
4960
  "selected-value": re.url,
4962
4961
  onChange: q
4963
4962
  }, {
4964
4963
  default: y(() => [
4965
- S(G, { class: "gateway-service-url-radio-label" }, {
4964
+ C(G, { class: "gateway-service-url-radio-label" }, {
4966
4965
  default: y(() => [
4967
4966
  J(V(m(l)("gateway_services.form.sections.keys.urlLabel")), 1)
4968
4967
  ]),
@@ -4972,10 +4971,10 @@ const Zl = {
4972
4971
  _: 1
4973
4972
  }, 8, ["modelValue", "selected-value"])
4974
4973
  ]),
4975
- I.value === "url" ? (h(), M("div", ys, [
4976
- S(O, {
4974
+ S.value === "url" ? (h(), M("div", ys, [
4975
+ C(O, {
4977
4976
  modelValue: s.fields.url,
4978
- "onUpdate:modelValue": g[3] || (g[3] = (A) => s.fields.url = A),
4977
+ "onUpdate:modelValue": g[3] || (g[3] = (I) => s.fields.url = I),
4979
4978
  modelModifiers: { trim: !0 },
4980
4979
  class: "gateway-service-url-input gateway-service-form-margin-bottom",
4981
4980
  "data-testid": "gateway-service-url-input",
@@ -4988,16 +4987,16 @@ const Zl = {
4988
4987
  required: ""
4989
4988
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
4990
4989
  ])) : D("", !0),
4991
- S(te, {
4992
- modelValue: I.value,
4993
- "onUpdate:modelValue": g[4] || (g[4] = (A) => I.value = A),
4990
+ C(te, {
4991
+ modelValue: S.value,
4992
+ "onUpdate:modelValue": g[4] || (g[4] = (I) => S.value = I),
4994
4993
  "checked-group": "protocol",
4995
4994
  "data-testid": "gateway-service-protocol-radio",
4996
4995
  "selected-value": re.protocol,
4997
4996
  onChange: q
4998
4997
  }, {
4999
4998
  default: y(() => [
5000
- S(G, { class: "gateway-service-protocol-radio-label" }, {
4999
+ C(G, { class: "gateway-service-protocol-radio-label" }, {
5001
5000
  default: y(() => [
5002
5001
  J(V(m(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5003
5002
  ]),
@@ -5007,10 +5006,10 @@ const Zl = {
5007
5006
  _: 1
5008
5007
  }, 8, ["modelValue", "selected-value"])
5009
5008
  ])),
5010
- I.value === "protocol" || b.value ? (h(), M("div", vs, [
5011
- S(se, {
5009
+ S.value === "protocol" || b.value ? (h(), M("div", vs, [
5010
+ C(se, {
5012
5011
  modelValue: s.fields.protocol,
5013
- "onUpdate:modelValue": g[5] || (g[5] = (A) => s.fields.protocol = A),
5012
+ "onUpdate:modelValue": g[5] || (g[5] = (I) => s.fields.protocol = I),
5014
5013
  appearance: "select",
5015
5014
  "data-testid": "gateway-service-protocol-select",
5016
5015
  items: B,
@@ -5021,11 +5020,11 @@ const Zl = {
5021
5020
  readonly: s.isReadonly,
5022
5021
  required: "",
5023
5022
  width: "100%",
5024
- onSelected: g[6] || (g[6] = (A) => W(s.fields.protocol, A))
5023
+ onSelected: g[6] || (g[6] = (I) => W(s.fields.protocol, I))
5025
5024
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
5026
- S(O, {
5025
+ C(O, {
5027
5026
  modelValue: s.fields.host,
5028
- "onUpdate:modelValue": g[7] || (g[7] = (A) => s.fields.host = A),
5027
+ "onUpdate:modelValue": g[7] || (g[7] = (I) => s.fields.host = I),
5029
5028
  modelModifiers: { trim: !0 },
5030
5029
  class: "gateway-service-form-margin-top",
5031
5030
  "data-testid": "gateway-service-host-input",
@@ -5038,9 +5037,9 @@ const Zl = {
5038
5037
  required: ""
5039
5038
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"]),
5040
5039
  K.value ? (h(), M("div", hs, [
5041
- S(O, {
5040
+ C(O, {
5042
5041
  modelValue: s.fields.path,
5043
- "onUpdate:modelValue": g[8] || (g[8] = (A) => s.fields.path = A),
5042
+ "onUpdate:modelValue": g[8] || (g[8] = (I) => s.fields.path = I),
5044
5043
  modelModifiers: { trim: !0 },
5045
5044
  class: "gateway-service-form-margin-top",
5046
5045
  "data-testid": "gateway-service-path-input",
@@ -5052,12 +5051,12 @@ const Zl = {
5052
5051
  placeholder: m(l)("gateway_services.form.fields.path.placeholder")
5053
5052
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5054
5053
  ])) : D("", !0),
5055
- S(O, {
5054
+ C(O, {
5056
5055
  modelValue: s.fields.port,
5057
5056
  "onUpdate:modelValue": [
5058
- g[9] || (g[9] = (A) => s.fields.port = A),
5057
+ g[9] || (g[9] = (I) => s.fields.port = I),
5059
5058
  g[10] || (g[10] = () => {
5060
- s.fields.port = x(s.fields.port + "");
5059
+ s.fields.port = A(s.fields.port + "");
5061
5060
  })
5062
5061
  ],
5063
5062
  class: "gateway-service-form-margin-top",
@@ -5070,9 +5069,9 @@ const Zl = {
5070
5069
  type: "number"
5071
5070
  }, null, 8, ["modelValue", "label", "label-attributes"])
5072
5071
  ])) : D("", !0),
5073
- S(qe, {
5072
+ C(qe, {
5074
5073
  modelValue: r.value,
5075
- "onUpdate:modelValue": g[24] || (g[24] = (A) => r.value = A),
5074
+ "onUpdate:modelValue": g[24] || (g[24] = (I) => r.value = I),
5076
5075
  "data-testid": "advanced-fields-collapse",
5077
5076
  "trigger-alignment": "leading",
5078
5077
  "trigger-label": m(l)("gateway_services.form.sections.keys.viewAdvancedFields")
@@ -5080,12 +5079,12 @@ const Zl = {
5080
5079
  default: y(() => [
5081
5080
  F("div", bs, [
5082
5081
  F("div", ws, [
5083
- S(O, {
5082
+ C(O, {
5084
5083
  modelValue: s.fields.retries,
5085
5084
  "onUpdate:modelValue": [
5086
- g[11] || (g[11] = (A) => s.fields.retries = A),
5085
+ g[11] || (g[11] = (I) => s.fields.retries = I),
5087
5086
  g[12] || (g[12] = () => {
5088
- s.fields.retries = x(s.fields.retries + "");
5087
+ s.fields.retries = A(s.fields.retries + "");
5089
5088
  })
5090
5089
  ],
5091
5090
  autocomplete: "off",
@@ -5098,12 +5097,12 @@ const Zl = {
5098
5097
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5099
5098
  ]),
5100
5099
  F("div", _s, [
5101
- S(O, {
5100
+ C(O, {
5102
5101
  modelValue: s.fields.connect_timeout,
5103
5102
  "onUpdate:modelValue": [
5104
- g[13] || (g[13] = (A) => s.fields.connect_timeout = A),
5103
+ g[13] || (g[13] = (I) => s.fields.connect_timeout = I),
5105
5104
  g[14] || (g[14] = () => {
5106
- s.fields.connect_timeout = x(s.fields.connect_timeout + "");
5105
+ s.fields.connect_timeout = A(s.fields.connect_timeout + "");
5107
5106
  })
5108
5107
  ],
5109
5108
  autocomplete: "off",
@@ -5116,12 +5115,12 @@ const Zl = {
5116
5115
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5117
5116
  ]),
5118
5117
  F("div", ks, [
5119
- S(O, {
5118
+ C(O, {
5120
5119
  modelValue: s.fields.write_timeout,
5121
5120
  "onUpdate:modelValue": [
5122
- g[15] || (g[15] = (A) => s.fields.write_timeout = A),
5121
+ g[15] || (g[15] = (I) => s.fields.write_timeout = I),
5123
5122
  g[16] || (g[16] = () => {
5124
- s.fields.write_timeout = x(s.fields.write_timeout + "");
5123
+ s.fields.write_timeout = A(s.fields.write_timeout + "");
5125
5124
  })
5126
5125
  ],
5127
5126
  autocomplete: "off",
@@ -5134,12 +5133,12 @@ const Zl = {
5134
5133
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5135
5134
  ]),
5136
5135
  F("div", Cs, [
5137
- S(O, {
5136
+ C(O, {
5138
5137
  modelValue: s.fields.read_timeout,
5139
5138
  "onUpdate:modelValue": [
5140
- g[17] || (g[17] = (A) => s.fields.read_timeout = A),
5139
+ g[17] || (g[17] = (I) => s.fields.read_timeout = I),
5141
5140
  g[18] || (g[18] = () => {
5142
- s.fields.read_timeout = x(s.fields.read_timeout + "");
5141
+ s.fields.read_timeout = A(s.fields.read_timeout + "");
5143
5142
  })
5144
5143
  ],
5145
5144
  autocomplete: "off",
@@ -5152,9 +5151,9 @@ const Zl = {
5152
5151
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
5153
5152
  ]),
5154
5153
  H.value ? (h(), M("div", Ss, [
5155
- S(O, {
5154
+ C(O, {
5156
5155
  modelValue: s.fields.client_certificate,
5157
- "onUpdate:modelValue": g[19] || (g[19] = (A) => s.fields.client_certificate = A),
5156
+ "onUpdate:modelValue": g[19] || (g[19] = (I) => s.fields.client_certificate = I),
5158
5157
  modelModifiers: { trim: !0 },
5159
5158
  autocomplete: "off",
5160
5159
  "data-testid": "gateway-service-clientCert-input",
@@ -5167,9 +5166,9 @@ const Zl = {
5167
5166
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])
5168
5167
  ])) : D("", !0),
5169
5168
  R.value ? (h(), M("div", Is, [
5170
- S(O, {
5169
+ C(O, {
5171
5170
  modelValue: s.fields.ca_certificates,
5172
- "onUpdate:modelValue": g[20] || (g[20] = (A) => s.fields.ca_certificates = A),
5171
+ "onUpdate:modelValue": g[20] || (g[20] = (I) => s.fields.ca_certificates = I),
5173
5172
  modelModifiers: { trim: !0 },
5174
5173
  autocomplete: "off",
5175
5174
  "data-testid": "gateway-service-ca-certs-input",
@@ -5179,7 +5178,7 @@ const Zl = {
5179
5178
  type: "text"
5180
5179
  }, {
5181
5180
  "label-tooltip": y(() => [
5182
- S(m(n), {
5181
+ C(m(n), {
5183
5182
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5184
5183
  scope: "global"
5185
5184
  }, {
@@ -5196,15 +5195,15 @@ const Zl = {
5196
5195
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5197
5196
  ])) : D("", !0),
5198
5197
  Q.value ? (h(), M("div", As, [
5199
- S(_, {
5198
+ C(_, {
5200
5199
  modelValue: s.fields.tls_verify_enabled,
5201
- "onUpdate:modelValue": g[21] || (g[21] = (A) => s.fields.tls_verify_enabled = A),
5200
+ "onUpdate:modelValue": g[21] || (g[21] = (I) => s.fields.tls_verify_enabled = I),
5202
5201
  "data-testid": "gateway-service-tls-verify-checkbox",
5203
5202
  description: m(l)("gateway_services.form.fields.tls_verify_enabled.help"),
5204
5203
  label: m(l)("gateway_services.form.fields.tls_verify_enabled.label")
5205
5204
  }, {
5206
5205
  tooltip: y(() => [
5207
- S(m(n), {
5206
+ C(m(n), {
5208
5207
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5209
5208
  scope: "global"
5210
5209
  }, {
@@ -5217,18 +5216,18 @@ const Zl = {
5217
5216
  _: 1
5218
5217
  }, 8, ["modelValue", "description", "label"]),
5219
5218
  s.fields.tls_verify_enabled ? (h(), M("div", xs, [
5220
- S(te, {
5219
+ C(te, {
5221
5220
  modelValue: s.fields.tls_verify_value,
5222
- "onUpdate:modelValue": g[22] || (g[22] = (A) => s.fields.tls_verify_value = A),
5221
+ "onUpdate:modelValue": g[22] || (g[22] = (I) => s.fields.tls_verify_value = I),
5223
5222
  "data-testid": "gateway-service-tls-verify-true-option",
5224
5223
  label: m(l)("gateway_services.form.fields.tls_verify_option.true.label"),
5225
5224
  "selected-value": !0
5226
5225
  }, null, 8, ["modelValue", "label"])
5227
5226
  ])) : D("", !0),
5228
5227
  s.fields.tls_verify_enabled ? (h(), M("div", Ts, [
5229
- S(te, {
5228
+ C(te, {
5230
5229
  modelValue: s.fields.tls_verify_value,
5231
- "onUpdate:modelValue": g[23] || (g[23] = (A) => s.fields.tls_verify_value = A),
5230
+ "onUpdate:modelValue": g[23] || (g[23] = (I) => s.fields.tls_verify_value = I),
5232
5231
  "data-testid": "gateway-service-tls-verify-false-option",
5233
5232
  label: m(l)("gateway_services.form.fields.tls_verify_option.false.label"),
5234
5233
  "selected-value": !1
@@ -5336,7 +5335,7 @@ const Zl = {
5336
5335
  }
5337
5336
  });
5338
5337
  return (u, d) => (h(), M("div", Ms, [
5339
- S(m(wn), {
5338
+ C(m(wn), {
5340
5339
  config: e.config,
5341
5340
  "config-card-doc": e.configCardDoc,
5342
5341
  "config-schema": l.value,
@@ -5348,7 +5347,7 @@ const Zl = {
5348
5347
  onLoading: d[3] || (d[3] = (f) => u.$emit("loading", f))
5349
5348
  }, {
5350
5349
  "enabled-label-tooltip": y(() => [
5351
- S(m(a), {
5350
+ C(m(a), {
5352
5351
  keypath: "gateway_services.form.fields.enabled.tooltip",
5353
5352
  scope: "global"
5354
5353
  }, {
@@ -5362,7 +5361,7 @@ const Zl = {
5362
5361
  })
5363
5362
  ]),
5364
5363
  "ca_certificates-label-tooltip": y(() => [
5365
- S(m(a), {
5364
+ C(m(a), {
5366
5365
  keypath: "gateway_services.form.fields.ca_certificates.tooltip",
5367
5366
  scope: "global"
5368
5367
  }, {
@@ -5376,7 +5375,7 @@ const Zl = {
5376
5375
  })
5377
5376
  ]),
5378
5377
  "tls_verify-label-tooltip": y(() => [
5379
- S(m(a), {
5378
+ C(m(a), {
5380
5379
  keypath: "gateway_services.form.fields.tls_verify_enabled.tooltip",
5381
5380
  scope: "global"
5382
5381
  }, {